Commit Graph

231 Commits

Author SHA1 Message Date
Akash Yadav 1d68499189 fix(xml): extract API classes from aaptcompiler to :xml:resources-api 2024-07-20 19:04:36 +05:30
Akash Yadav 1ed5f77dae refactor(projects): reorganize project APIs in different packages 2024-07-20 19:04:33 +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 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 d605cb21be fix(lsp/java): add benchmarking module and more unit tests for JavaJarModelBuilder 2024-07-20 19:04:16 +05:30
Akash Yadav dc0b00c7f5 fix(aaptcompiler): merge aaptcompiler from AOSP upstream 2024-07-20 19:04:12 +05:30
Akash Yadav 660b98ac2b fix(editor): remove stroke from contentCard 2024-05-18 17:01:05 +05:30
Akash Yadav 8c878a0d02 fix: use MaterialCardView to clip children onSwipeRevealProgress 2024-05-18 01:35:18 +05:30
Akash Yadav b28e1a6a31 fix: better swipe gesture support for swipe reveal layout 2024-05-17 23:47:05 +05:30
Akash Yadav 908162b5d1 feat: add memory usage watcher to show memory usage of the IDE (#1409) 2024-05-16 19:37:08 +05:30
Akash Yadav c316ac9852 fix: implement edge-to-edge layout for editor activity 2024-05-13 00:56:40 +05:30
Akash Yadav ab101fb59d fix: migrate to SLF4J and Logback logging implementations 2024-03-17 00:04:43 +05:30
Akash Yadav 7705c06dcc build: move composite build to separate directory and add desugar Gradle plugin 2024-03-02 12:55:59 +05:30
Akash Yadav 0008cd55ff build: move external dependency sources to composite builds 2024-02-27 16:50:16 +05:30
Akash Yadav a9195f0f53 build(build-logic): modularize :build-logic composite build 2024-02-19 11:45:48 +05:30
Smooth E 865e38b270 fix: replace *Swipe right for files* with *Open the left drawer for files* (#1712)
* fix(strings): Replace `msg_swipe_for_files` to account for cases when when it is impossible to swipe for opening a side drawer

* fix(strings): Change `err_cannot_determine_package` to say "application" and not "app"

* fix(strings): Shorten `ru-rRU/msg_drawer_for_files` to make it look better
2024-02-08 12:06:49 +05:30
Akash Yadav adee0d678b fix(tooling-api): fetch variant-specific application IDs in application projects (#1387) 2024-01-21 20:10:56 +05:30
Akash Yadav d0f3c54627 build: remove debug logs in SetupAapt2Task 2024-01-15 19:54:36 +05:30
Akash Yadav 6f3866e3b2 tests: update onboarding permissions behavior tests 2024-01-13 22:51:07 +05:30
Akash Yadav 9e16f89113 tests: remove onboarding activity permissions behavior tests 2024-01-13 18:48:14 +05:30
Akash Yadav a4daca4fd4 tests: add test for onboarding permissions behavior for Android < R 2024-01-12 19:17:52 +05:30
Akash Yadav 00766f3e86 tests: fix tests 2024-01-10 17:32:57 +05:30
Akash Yadav c30dabe50a tests: add UI tests for onboarding activity 2024-01-07 13:42:26 +05:30
Akash Yadav 3c2da85091 chore: update XML formatter options 2023-12-27 16:18:46 +05:30
Akash Yadav b7b9d695e9 fix(flashbar): use material components in FlashbarView 2023-12-27 16:11:22 +05:30
Akash Yadav 1e14419a58 feat: rewrite about activity and add contributors table 2023-12-27 08:31:20 +05:30
Akash Yadav 26fbb79929 feat: add support for x86_64 devices/emulators 2023-12-16 00:01:44 +05:30
Akash Yadav be10fe7e1e feat: integrate full Termux application 2023-12-15 20:22:33 +05:30
Akash Yadav 328ff93b1a fix(lsp/java): avoid crash during Java source code analysis
This issue was reported in #1279 (https://github.com/AndroidIDEOfficial/AndroidIDE/issues/1279\#issuecomment-1826706454).
2023-12-14 19:14:50 +05:30
Akash Yadav e1382f13a7 fix(editor): file modification status is not updated while closing files (fixes #1485) 2023-11-25 23:32:16 +05:30
Akash Yadav b2ff61043b chore(deps): update ATS to latest snapshot 2023-11-25 19:13:26 +05:30
Akash Yadav 3f97f24b4c fix: TSTree instances are sometimes not closed, causing memory leak 2023-11-21 17:39:52 +05:30
Akash Yadav 525fa5ee34 fix(editor): do not automatically select first completion item for soft input (fixes #1201) 2023-11-14 23:17:07 +05:30
Akash Yadav f1207d24e4 fix: convert 'google-java-format' to an Android module 2023-10-22 09:27:03 +05:30
Akash Yadav c98fbbdcd5 fix: add base patches for Android 2023-10-22 09:27:02 +05:30
Akash Yadav 3ecf4d7259 fix: TsBracketPairs uses recycled TSNode instances 2023-10-15 23:54:53 +05:30
Akash Yadav 088bdce6c6 fix: properly implement TSTree edition and query execution 2023-10-15 23:47:20 +05:30
Akash Yadav f2cfd865e8 fix: opened files are not highlighted with tree sitter
This happens because the tree-sitter nodes and trees are inaccessible when the files are opened
2023-10-15 18:38:43 +05:30
Akash Yadav d5910c6fc0 fix(editor): various improvements related to tree sitter code analysis
- Integrate the 'language-treesitter' module from sora-editor into the IDE itself for better control and customization of the tree sitter analysis.

- Invalidate line span generator when tree is edited - This is required because TSTree instances are not thread-safe and the spans generator tries to query the tree after it is edited.
 This results in SEGV_MAPERR errors in native code because the TSNodes are invalidatd after TSTree.edit() calls and the cursor tries to query those invalidated nodes.

- Recycle and reuse TS* instances - When analyzing the source code using Tree Sitter, a huge number of objects are created and deleted. This results in an increased of times the garbage
 collector is invoked.
2023-10-15 17:55:11 +05:30
Akash Yadav 971fc605ff fix: include language-treesitter from sora-editor locally 2023-10-13 23:03:57 +05:30
Akash Yadav 1e0dc747e0 fix: make LogLine recyclable 2023-10-09 18:24:00 +05:30
Akash Yadav 8b7b374a68 chore: try to setup CI instrumentation tests 2023-10-08 15:22:54 +05:30
Akash Yadav cc0a6391f6 fix: add tests for MainFragment and refactor testing modules 2023-10-07 23:37:34 +05:30
Akash Yadav 047956b8ae fix: add file name checks when creating new files (fixes #1322) 2023-09-19 20:09:56 +05:30
Akash Yadav 7a03b76d25 chore(renovate): add package rules for AndroidX Navigation dependencies 2023-09-13 08:54:44 +05:30
Akash Yadav 42ac697856 fix(gradle-plugin): do not add logsender dependency if it is disabled (#1274) 2023-09-09 13:09:23 +05:30
Akash Yadav de5e55c86e feat(tooling-api): new tooling API model implementation 2023-09-05 17:36:28 +05:30
Akash Yadav 3511fb26c2 fix(templates): template instances are unnecessarily released in MainActivity
This releases the observers from the template parameters and as a result, the package name is not updated when the app name is changed.
2023-08-27 09:42:18 +05:30