Commit Graph

12 Commits

Author SHA1 Message Date
Akash Yadav e0e6d50e8f feat: add level-hash implementations for persistent index storage 2024-07-26 23:41:47 +05:30
Akash Yadav f837b9369e fix: remove Realm DB 2024-07-20 20:16:47 +05:30
Akash Yadav 1165f12ccb fix(projects): introduce workspace API and remove 'Project' model 2024-07-20 19:04:35 +05:30
Akash Yadav dab784af40 fix: update group IDs for sub-modules; fixes gradle plugin test failures 2024-07-20 19:04:33 +05:30
Akash Yadav 1ed5f77dae refactor(projects): reorganize project APIs in different packages 2024-07-20 19:04:33 +05:30
Akash Yadav 52a6117451 fix: cut down memory usage in ApiVersionsRegistry
This commit adds the following improvements to the ApiVersionsRegistry implementation :

- Use Java StAX parser for memory-efficient XML processing
- Reduce object allocations for representing API version info by reusing ApiVersion instances which represent the same API versions.
- Trim method return types in method signature strings to reduce memory usage by a small amount
- A single model class is now used to represent the API information. Earlier, we had different classes to represent API info for classes, fields and metnods.
2024-07-20 19:04:32 +05:30
Akash Yadav c3e13305d7 fix: finalize indexing API; remove api versions index 2024-07-20 19:04:31 +05:30
Akash Yadav acc1163924 fix(indexing): split indexing logic into 'api' and 'core' modules 2024-07-20 19:04:27 +05:30
Akash Yadav 6f85257513 fix(lsp/java): update to fw-stubs/android.jar for tests 2024-07-20 19:04:26 +05:30
Akash Yadav 9789b7ca7c fix(lsp/java): android.jar file could not be found in tests 2024-07-20 19:04:25 +05:30
Akash Yadav 0e8bf40e53 fix(lsp): invalid inferred file extensions in FileProvider 2024-07-20 19:04:22 +05:30
Akash Yadav 1efd6a04d5 build: reorganize and reconfigure modules to resolve dependency resolution errors
Gradle, for some reason, does not the path of modules to identify them uniquely. Instead, the 'build id' is used to do so, which consists of the maven group and artifact ID. So, even if two modules are located in separate directories, but have the name group and artifact ID, including both of them in other modules may result in dependency resolution errors.
2024-07-20 19:04:21 +05:30