Commit Graph

3652 Commits

Author SHA1 Message Date
Akash Yadav e7ac00cfde fix: update group IDs for sub-modules; fixes gradle plugin test failures 2024-07-01 15:06:35 +05:30
Akash Yadav a91e7efc7c refactor(projects): reorganize project APIs in different packages 2024-06-28 13:11:24 +05:30
Akash Yadav 15f7f62ccd fix: make ApiVersionsRegistry thread-safe 2024-06-28 07:20:09 +05:30
Akash Yadav 4391cf8ceb 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-06-24 12:49:06 +05:30
Akash Yadav b9389cec2b fix: finalize indexing API; remove api versions index 2024-06-23 08:27:30 +05:30
Akash Yadav 8e3b9efa30 fix: compilation errors due to incomplete changes in previous commits 2024-06-21 08:10:49 +05:30
Akash Yadav 864f0f52c9 Revert "fix: configure Dagger Hilt for DI"
This reverts commit 874d32bc4c.
2024-06-19 09:10:29 +05:30
Akash Yadav aa36dfd57d fix: make ProjectManagerImpl internal to app module 2024-06-19 09:05:22 +05:30
Akash Yadav a1ec918bb2 build(conf): core app config is not applied to :core:app module 2024-06-19 09:01:14 +05:30
Akash Yadav 874d32bc4c fix: configure Dagger Hilt for DI 2024-06-14 19:44:31 +05:30
Akash Yadav d98aaa9c03 fix(indexing): split indexing logic into 'api' and 'core' modules 2024-06-13 17:39:44 +05:30
Akash Yadav ea46d6a1c2 fix(lsp/java): update to fw-stubs/android.jar for tests 2024-06-03 22:13:04 +05:30
Akash Yadav dce2ee4a5a build: downgrade AGP to v8.3.2 2024-06-03 22:06:41 +05:30
Akash Yadav 20ef084fbc fix(lsp/java): android.jar file could not be found in tests 2024-06-03 21:20:52 +05:30
Akash Yadav c3dd9dae16 chore(workflow): enable --info & --stacktrace for connected checks 2024-06-02 23:01:43 +05:30
Akash Yadav d8d89841ef refactor(deps/jdk.compiler): reorganize imports in AnnotationProxyMaker 2024-06-02 22:56:08 +05:30
Akash Yadav 8409174bb1 chore(workflow): use Adopt OpenJDK instead of Temurin 2024-06-02 22:55:23 +05:30
Akash Yadav c521e4b88f chore(workflow): always upload proguard mappings for release builds 2024-06-02 13:36:04 +05:30
Akash Yadav 58c636922e tests: fix path related test failures 2024-05-29 22:42:02 +05:30
Akash Yadav c698d9a756 fix(lsp): invalid inferred file extensions in FileProvider 2024-05-29 21:36:52 +05:30
Akash Yadav e15454e448 build: download signing key before build 2024-05-29 21:36:12 +05:30
Akash Yadav 4a19a360a8 chore(workflow): update task names according to new project structure 2024-05-29 13:19:50 +05:30
Akash Yadav bfbd49dc3b 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-05-29 13:11:44 +05:30
Akash Yadav 4ada1c3c65 build: reorganize modules to fix dependency resolution issues 2024-05-28 22:54:49 +05:30
Akash Yadav eab373ab0f fix(lsp/java): add parser for parsing api-versions.xml 2024-05-28 00:02:54 +05:30
Akash Yadav 74d4c1357c refactor(lsp/java): reorganize classes 2024-05-27 22:27:50 +05:30
Akash Yadav 25cb1da5b8 build: allow the build to proceed if the directory is not a git repo 2024-05-27 17:39:33 +05:30
Akash Yadav 142467e1d2 build: enable -Xstring-concat=inline for kotlin compilation 2024-05-27 16:47:26 +05:30
Akash Yadav 883f22c9ce chore(workflow): use ubuntu-latest and KVM for connected checks 2024-05-27 15:03:10 +05:30
Akash Yadav 51048d1711 fix(lsp/java): invalid kind for JavaType.BOOLEAN 2024-05-27 15:02:30 +05:30
Akash Yadav d81375ebd8 fix(lsp/java): impl optimizations in JavaJarModelBuilder
- avoid allocating temporary lists
- avoid multiple string operations

Apart from this, the commit fixes some compilation errors.
2024-05-27 14:22:19 +05:30
Akash Yadav 77ed352d58 fix(lsp/java): add benchmarking module and more unit tests for JavaJarModelBuilder 2024-05-26 22:19:52 +05:30
Akash Yadav b069f0b968 fix(db): specify RealmModule when creating master db 2024-05-26 02:46:13 +05:30
Akash Yadav ed6a3b5eb7 chore: enable connected checks & CI for indexing branch 2024-05-26 02:18:28 +05:30
Akash Yadav 318ac1aea5 fix(lsp/java): use realm db provider to create indexes in Java indexer tests 2024-05-26 02:15:08 +05:30
Akash Yadav 83d6ca4960 fix(common): do not hardcode package name in Environment class
This is required so that we can use the Env class in androidTest (which have a different package name).
2024-05-26 02:04:49 +05:30
Akash Yadav 8bb622e316 fix(logger): use logback-core from logback-android
This change is required because the bytecode transformations performed by AndroidIDE's Desugar Plugin does not work on androidTest classes for some reason. As a result, we use a patched version of logback-core and replace the dependency of logback-classic to use our own.
2024-05-26 01:41:02 +05:30
Akash Yadav fe9405b79e fix(annotations-processors/ksp): use AutoService to register SymbolProcessorProvider 2024-05-26 01:33:58 +05:30
Akash Yadav 841913fcf8 fix: add base files for the indexing API 2024-05-25 01:27:07 +05:30
Akash Yadav a79cb2505d fix(aaptcompiler): add unit tests from upstream 2024-05-23 23:21:01 +05:30
Akash Yadav 590ebc8d5b fix(aaptcompiler): merge aaptcompiler from AOSP upstream 2024-05-23 23:21:00 +05:30
Akash Yadav 3b43ef4b35 fix: do not use KeyboardUtils to listen for ime state 2024-05-19 19:02:08 +05:30
Akash Yadav cfc0aed74e fix: manually resize editor content when ime state changes 2024-05-19 18:58:26 +05:30
Akash Yadav 5f14d2a050 fix: reset drag handle for SwipeRevealLayout to toolbar in editor activity 2024-05-19 18:57:31 +05:30
Akash Yadav 660b98ac2b fix(editor): remove stroke from contentCard 2024-05-18 17:01:05 +05:30
Akash Yadav 41980ea4b5 fix: translate contentCard when opening drawer in editor activity 2024-05-18 16:19:58 +05:30
Akash Yadav 971a5dc12b fix: close memory usage view on back press 2024-05-18 01:57:26 +05:30
Akash Yadav 8c878a0d02 fix: use MaterialCardView to clip children onSwipeRevealProgress 2024-05-18 01:35:18 +05:30
Akash Yadav 6fc4423e21 fix: remove drawer open alpha animation in editor activity 2024-05-18 00:20:27 +05:30
Akash Yadav b28e1a6a31 fix: better swipe gesture support for swipe reveal layout 2024-05-17 23:47:05 +05:30