Commit Graph

2792 Commits

Author SHA1 Message Date
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
Akash Yadav e45dfc146b feat: anonymous stat collection (1/2) 2023-06-21 16:41:36 +05:30
Akash Yadav 5a035da056 refactor: remove unused legacy project creator 2023-06-21 16:41:35 +05:30
renovate[bot] f61fc8e97d fix(deps): update com.google.auto.service to v1.1.1 (#1044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 20:40:26 +05:30
Akash Yadav 3491612ebe fix(deps): migrate to android-tree-sitter v3.1.0 2023-06-19 00:15:38 +05:30
Akash Yadav faf2c3b916 fix: task names are trimmed from build output before build is executed (closes #1045) 2023-06-18 23:53:45 +05:30
Akash Yadav 22d1ac8b08 fix(logger): update LogLine.toString to be compatible with 'logcat' output 2023-06-16 17:39:55 +05:30
Akash Yadav 066eaa88d4 refactor: remove unused LogLinesAdapter class 2023-06-16 17:38:11 +05:30
Akash Yadav 876903c0e0 fix(editor): invalid locals.scm query for kotlin results in crash 2023-06-16 14:56:42 +05:30
renovate[bot] 5fa64889bf chore(deps): update plugin com.mooltiverse.oss.nyx to v2.4.4 (#1031)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 23:07:20 +05:30
Akash Yadav a5cb7c165f fix: avoid unnecessary loading of tree sitter grammars 2023-06-13 22:56:53 +05:30
Akash Yadav 29c092764c fix(editor): incorrect highlights query structure for logs 2023-06-13 22:56:52 +05:30
Akash Yadav cfbb670eb9 build(deps): update android-tree-sitter t0 v3.0.1 2023-06-13 22:56:52 +05:30
Akash Yadav e467b7b3ce fix(logs): invalid toString() implementation in LogLine
This violates the syntax that tree-sitter-log expects
2023-06-13 22:56:51 +05:30
Akash Yadav ed012ac97a fix(logsender): BackgroundServiceStartNotAllowedException in LogSenderInstaller for Android 12+
The system throws BackgroundServiceStartNotAllowedException on Android 12+ devices when trying to bind to the LogReceiver service in AndroidIDE. This bug occurs only if the client application targets Android 12 or later.
2023-06-13 22:56:51 +05:30
Akash Yadav 1ccfc40860 fix: configure product flavors for app module only 2023-06-13 22:56:51 +05:30
Pranav c8412960d5 fix: dont run crowdin scheduled workflow on forks (#1033) 2023-06-13 09:55:46 +05:30
Akash Yadav e8bc312125 tests: remove unnecessary test for LogLineTokenizer 2023-06-11 11:48:55 +05:30
Smooth E ea15a3687d fix(edge-to-edge): crash on startup due to leftover callback assignment (#1030) 2023-06-11 11:20:52 +05:30
Akash Yadav b6f3c8941b chore: update test task name in workflow 2023-06-11 10:20:10 +05:30
Akash Yadav 38935039f3 chore: fix invalid APK path in workflow 2023-06-11 09:55:33 +05:30
Akash Yadav dec9967462 chore: update workflow and nyx-config for product flavors 2023-06-11 00:20:34 +05:30
Akash Yadav e564895b9a feat: use BuildConfig to determine ABI at runtime 2023-06-11 00:20:33 +05:30