Akash Yadav
ad4dda59f8
fix(level-hash/persistent): new_tail.next points to invalid addres when current tail is removed
2024-08-03 09:44:28 +05:30
Akash Yadav
20ed3ba775
fix(level-hash/persistent): use bi-directional linked list like structure for storing value entries
2024-08-03 01:20:54 +05:30
Akash Yadav
b18628f270
fix(level-hash): allow configuring load factor threshold for auto expand
2024-08-01 18:12:34 +05:30
Akash Yadav
77bc0e2fdd
fix(level-hash/persistent): implement expansion logic for persistent level hash
2024-08-01 14:21:20 +05:30
Akash Yadav
dfb4f78b2f
fix(level-hash/persistent): auto-expand values file in case of overflow
2024-07-31 21:32:23 +05:30
Akash Yadav
c300fc87e6
fix(level-hash/persistent): restructure keymap file for minimal disk usage
...
A keymap file of ~3.75MB can store 491520 value addresses (slots). The previous keymap
layout resulted in internal fragmentation where a block (4KB in this case) was allocated
for a single value address, resulting in wasted disk space.
The new restructured layout also makes it possible to resize the level hash easily.
2024-07-31 10:42:45 +05:30
Akash Yadav
3270f0e014
tests(common): use JUnit Assume to check for current platform
2024-07-30 17:06:54 +05:30
Akash Yadav
437934a20e
fix(level-hash/persistent): implement persistent meta storage and retrieval
2024-07-30 17:02:58 +05:30
Akash Yadav
770a263e91
fix(level-hash/persistent): delete operation reads invalid key size
2024-07-30 11:19:23 +05:30
Akash Yadav
aebffd4ea6
fix: add entry update logic with better mmap handling
2024-07-28 16:35:45 +05:30
Akash Yadav
23203c76cf
refactor(level-hash): move keymap IO logic to separate classes
2024-07-27 09:44:30 +05:30
Akash Yadav
e0e6d50e8f
feat: add level-hash implementations for persistent index storage
2024-07-26 23:41:47 +05:30
Akash Yadav
fac8ac61e1
fix: test compilation errors
2024-07-20 20:43:19 +05:30
Akash Yadav
f837b9369e
fix: remove Realm DB
2024-07-20 20:16:47 +05:30
Akash Yadav
1d68499189
fix(xml): extract API classes from aaptcompiler to :xml:resources-api
2024-07-20 19:04:36 +05:30
Akash Yadav
6fcb177f98
fix: add missing proguard rules
2024-07-20 19:04:35 +05:30
Akash Yadav
87e963afec
tests(tooling/plugin): use download version for logsender artifacts in tests
2024-07-20 19:04:35 +05:30
Akash Yadav
1165f12ccb
fix(projects): introduce workspace API and remove 'Project' model
2024-07-20 19:04:35 +05:30
Akash Yadav
dba601b71e
fix(tooling/impl): update model builder params to fix TAPI tests
2024-07-20 19:04:34 +05:30
Akash Yadav
308bcb5b0c
fix: update AGP/tooling version to fix plugin tests
2024-07-20 19:04:34 +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
11858d7dce
fix: make ApiVersionsRegistry thread-safe
2024-07-20 19:04:32 +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
f3e460c93e
fix: compilation errors due to incomplete changes in previous commits
2024-07-20 19:04:30 +05:30
Akash Yadav
788ae2dfaf
Revert "fix: configure Dagger Hilt for DI"
...
This reverts commit 874d32bc4c .
2024-07-20 19:04:29 +05:30
Akash Yadav
c806ece666
fix: make ProjectManagerImpl internal to app module
2024-07-20 19:04:29 +05:30
Akash Yadav
2cf9012c0e
build(conf): core app config is not applied to :core:app module
2024-07-20 19:04:28 +05:30
Akash Yadav
5d6c8339da
fix: configure Dagger Hilt for DI
2024-07-20 19:04:27 +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
6793ba4058
build: downgrade AGP to v8.3.2
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
bc35b9657a
chore(workflow): enable --info & --stacktrace for connected checks
2024-07-20 19:04:25 +05:30
Akash Yadav
c7c26814ca
refactor(deps/jdk.compiler): reorganize imports in AnnotationProxyMaker
2024-07-20 19:04:24 +05:30
Akash Yadav
da60a636ae
chore(workflow): use Adopt OpenJDK instead of Temurin
2024-07-20 19:04:24 +05:30
Akash Yadav
13b8581336
chore(workflow): always upload proguard mappings for release builds
2024-07-20 19:04:23 +05:30
Akash Yadav
f325f822ff
tests: fix path related test failures
2024-07-20 19:04:23 +05:30
Akash Yadav
0e8bf40e53
fix(lsp): invalid inferred file extensions in FileProvider
2024-07-20 19:04:22 +05:30
Akash Yadav
a9f7c354f5
build: download signing key before build
2024-07-20 19:04:22 +05:30
Akash Yadav
8275eb1bd6
chore(workflow): update task names according to new project structure
2024-07-20 19:04:21 +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
Akash Yadav
c0c185cfb7
build: reorganize modules to fix dependency resolution issues
2024-07-20 19:04:20 +05:30
Akash Yadav
255d8e9c27
fix(lsp/java): add parser for parsing api-versions.xml
2024-07-20 19:04:20 +05:30
Akash Yadav
8a1437791d
refactor(lsp/java): reorganize classes
2024-07-20 19:04:19 +05:30
Akash Yadav
1fd27e8029
build: allow the build to proceed if the directory is not a git repo
2024-07-20 19:04:19 +05:30
Akash Yadav
4097d4181f
build: enable -Xstring-concat=inline for kotlin compilation
2024-07-20 19:04:18 +05:30
Akash Yadav
7c234c52cd
chore(workflow): use ubuntu-latest and KVM for connected checks
2024-07-20 19:04:18 +05:30
Akash Yadav
44f6543aeb
fix(lsp/java): invalid kind for JavaType.BOOLEAN
2024-07-20 19:04:17 +05:30