Commit Graph

2814 Commits

Author SHA1 Message Date
Akash Yadav 7d025e0534 build: require project description for modules that are published to maven central 2023-07-15 11:57:43 +05:30
Akash Yadav 248470cdd7 fix: close tree sitter language instance when editor language is destroyed 2023-07-15 11:50:18 +05:30
Akash Yadav 49fb757ce9 build: fix project description missing in modules that are published 2023-07-14 19:50:45 +05:30
Akash Yadav b7903b2dbf chore: fix apk file path in Nyx config v2.5.0-beta 2023-07-14 18:35:02 +05:30
Akash Yadav 72d6569a96 chore(workflow): run 'publish_snapshots' job on branches other than 'main' 2023-07-14 18:33:23 +05:30
Akash Yadav 00515fee47 chore(workflow): maven central credentials not provided to 'publish' job 2023-07-14 18:31:15 +05:30
Akash Yadav 79958f9d9f fix: parse OpenedFilesCache manually to avoid ClassCastException in release builds (fixes #1102) 2023-07-14 17:37:33 +05:30
Akash Yadav 353fd287ba chore(workflow): fix invalid condition for uploading release APKs 2023-07-13 20:27:51 +05:30
Akash Yadav 84beac21c4 tests: try to fix XML inflater tests in CI 2023-07-12 20:51:12 +05:30
github-actions[bot] 87057d560d chore: update crowdin contributors table (#1080)
Co-authored-by: itsaky <itsaky@users.noreply.github.com>
2023-07-12 15:25:52 +05:30
Akash Yadav 6c355a4041 feat: update translations (#1076) 2023-07-12 15:25:37 +05:30
Akash Yadav d2d9595bcb chore: add generated APK directories to gitignore 2023-07-12 15:21:27 +05:30
Akash Yadav 376672fc70 fix: missing class error in R8 2023-07-12 15:21:27 +05:30
Akash Yadav 0332eb187d chore: update proguard rules for ide statistics 2023-07-12 15:21:26 +05:30
Akash Yadav fa592a8722 fix: ignore 'Instanstiatable' lint error 2023-07-12 15:21:26 +05:30
Akash Yadav d05323fa4e docs: fix grammatical errors in changelog for v2.5.0-beta 2023-07-12 15:21:25 +05:30
renovate[bot] 58dba1d8a4 fix(deps): update tree.sitter to v3.2.0 (#1091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 15:45:04 +05:30
Akash Yadav 3e9fd2ec9f docs: add changelog for v2.5.0-beta 2023-07-10 23:15:17 +05:30
Akash Yadav 7b2052b3b9 tests(aaptcompiler): fix NoClassDefFoundError error 2023-07-10 21:41:14 +05:30
Akash Yadav 80d1aab147 feat: update translations (#879) 2023-07-09 22:26:32 +05:30
github-actions[bot] e7d7881a23 chore: update crowdin contributors table (#880)
Co-authored-by: itsaky <itsaky@users.noreply.github.com>
2023-07-09 19:24:11 +05:30
renovate[bot] ef4a4342fd fix(deps): update dependency com.google.truth:truth to v1.1.5 (#1009)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-09 19:23:56 +05:30
renovate[bot] aa4800c037 chore(deps): update plugin com.mooltiverse.oss.nyx to v2.4.5 (#1069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-09 19:23:37 +05:30
renovate[bot] 990b121c3f chore(deps): update plugin maven-publish to v0.25.3 (#1070)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-09 19:23:23 +05:30
Akash Yadav b84d3eced9 chore(workflow): remove job to independently test tooling-api implementation 2023-07-09 17:56:14 +05:30
Akash Yadav 6d7ad88468 fix(deps): migrate to newer builder model dependencies 2023-07-09 17:54:41 +05:30
Akash Yadav 314475ee23 fix(tests/tooling-api): update max AGP and Gradle version 2023-07-09 17:14:45 +05:30
Akash Yadav 601722dba7 fix(tests/lsp/java): fix compilation error 2023-07-09 16:49:45 +05:30
Akash Yadav 067243b12b fix(tests/tooling-api): use JAVA_HOME from env if available 2023-07-09 16:26:07 +05:30
Akash Yadav 53b933ee01 fix(flashbar): flashbar is not dismissed if dismissal is requested before is it fully shown 2023-07-09 13:12:09 +05:30
Akash Yadav 764a6fa8c2 fix(lsp): progress dialog for 'find references' action is shown indefinitely
This happens because the 'ReferenceProvider' in the Java LSP tries to start another compilation process while working with the current compilation task.
This results in a deadlock where the current task waits for the new compilation request to return and the new compilation request waits for the current task to finish. This commit fixes this issue.

Apart from fixing this issue, this commit also makes the 'Go to definition' and 'Find references' actions cancelable. Also, it eliminates the usage of the deprecated 'ProgressDialog' class for these two actions.
2023-07-09 12:56:28 +05:30
Akash Yadav 907c6b89a3 refactor(editor): reformat IDEEditor 2023-07-08 23:51:08 +05:30
Akash Yadav 8f4fdc3210 fix(uidesigner): invalid result is returned from UI Designer even if the layout inflation fails (fixes #1060) 2023-07-08 23:29:27 +05:30
Akash Yadav 430c15836d fix(tooling-api): misleading log message while initializing project
This commit fixes a misleading log message that shows 'Project XXXX is not an Android project' message for root projects
2023-07-08 23:15:29 +05:30
Akash Yadav 8116cee4a7 docs: remove docs as they have been moved to https://androidide.com/docs/ 2023-07-08 22:56:54 +05:30
Akash Yadav 863fb12729 fix: do not add 'runTestsInCI' task to non-existent projects 2023-06-30 19:07:23 +05:30
Akash Yadav 74c5bebdbf fix: update documentation URL 2023-06-30 19:06:54 +05:30
Akash Yadav cfbbbc4440 fix: editor activity can be accessed even if the tools are not installed 2023-06-28 17:10:33 +05:30
Akash Yadav 2549757454 fix(logview): slight lag while trimming log lines 2023-06-28 16:49:18 +05:30
Akash Yadav 61d24c2727 fix(logview): lag and freeze when the number of log lines reach MAX_LINE_COUNT
This commit fixes a major bug which caused the IDE to lag and freeze when the number of lines in the log view reached 5000 lines.
When this threshold id is reached, the IDE starts to trim lines at the start. However, it trims one line at a time which causes the lag when the frequency of log lines is high.

With this commit, the IDE will trim the lines as usual but a large number of lines will be trimmed at once (300 lines as of this commit). This will delay the next trim cycle and would not block the UI thread.
2023-06-28 14:16:58 +05:30
Akash Yadav 7b52e70231 feat: add option to dump AndroidIDE logs to file 2023-06-26 20:01:32 +05:30
Akash Yadav 9e9f2787de fix: readers not closed in ToolsManager and IDEColorSchemeProvider 2023-06-25 10:27:28 +05:30
Akash Yadav 001dee0525 fix(lsp/java): add null checks for usage of FindHelper.findMethod(..) 2023-06-24 23:54:31 +05:30
Akash Yadav bffb2cbea5 fix(lsp/java): add null check for method in 'AddException' rewrite (#1050) 2023-06-24 23:54:31 +05:30
Akash Yadav 7356b146dc refactor: remove unused legacy template zips from assets 2023-06-24 23:46:07 +05:30
Akash Yadav b4215bdb58 feat(templates): add 'No AndroidX Activity' template 2023-06-24 23:02:56 +05:30
Akash Yadav 85b8350c8f fix: add 'runTestsInCI' task to projects for running tests in CI 2023-06-21 23:00:31 +05:30
Akash Yadav b2cb1a2a0e fix: use BuildInfo.VERSION_NAME_SIMPLE for changelog URL 2023-06-21 16:41:37 +05:30
Akash Yadav 048db4a14f fix: back button/gesture doesn't work on main screen in main activity 2023-06-21 16:41:37 +05:30
Akash Yadav af6f45ea85 feat: anonymous stat collection (2/2) 2023-06-21 16:41:36 +05:30