Commit Graph

3068 Commits

Author SHA1 Message Date
Akash Yadav cc0a6391f6 fix: add tests for MainFragment and refactor testing modules 2023-10-07 23:37:34 +05:30
Akash Yadav 3816ec5866 feat: add action to launch installed application (fixes #1336) 2023-10-06 00:15:41 +05:30
Akash Yadav 57c89a3f18 tests(projects): update failing test 2023-10-05 22:06:49 +05:30
Akash Yadav 6017b79a5a tests(tooling-api): update test to check for sync issues instead of build output 2023-10-05 21:45:51 +05:30
Akash Yadav fc2afcf093 tests(lsp/java): run Java LSP tests with Robolectric 2023-10-05 21:16:48 +05:30
Akash Yadav 18ad0fb0e5 tests(tooling-api): do add unresolved dependency when config cache is enabled 2023-10-05 20:22:31 +05:30
Akash Yadav 5562dc2069 feat(tooling-api): fetch project sync issues from the Android Gradle Plugin 2023-10-05 20:05:16 +05:30
Akash Yadav 69e5671fb9 fix(tooling-api): NPE due to TaskOperationDescriptor.getOriginPlugin() being null (fixes #1358) 2023-10-04 20:20:47 +05:30
Akash Yadav 7317e49c37 refactor: move CodeEditorView to package 'com.itsaky.androidide.ui' 2023-10-04 19:45:13 +05:30
Akash Yadav 9db0b802cd fix(editor): use coroutines for reading/writing files in CodeEditorView 2023-10-04 18:49:51 +05:30
Akash Yadav 1a79c0bbf2 refactor: reformat code 2023-10-04 18:08:34 +05:30
Rafael de Moura Dev 019abd04ff fix: wrong icon in flash message when build fails (#1363) 2023-10-03 23:57:52 +05:30
Akash Yadav 6899e1f8fc fix(build-service,tooling-api): Gradle Daemon and ToolingAPI server is not stopped properly
The Tooling API server (which is executed in a separate process) was not being stopped properly after IToolingApiServer.shutdown() was called. As a result, the Gradle daemon started by the tooling API was not stopped as well.

This commit fixes this issue by properly implementing the shutdown() call in Tooling API. Now, when the user closes a project and the GradleBuildService is destroyed, the Tooling API server stops the Gradle daemon(s) and then shutdowns itself.
2023-10-03 22:36:20 +05:30
Akash Yadav 023bbab9e4 fix(editor): modified status is not updated after save (fixes #1359) 2023-10-03 17:59:25 +05:30
Akash Yadav d73a9c88f7 fix(lsp/java): UninitializedPropertyAccessException when accessing analyze result 2023-10-02 18:59:22 +05:30
Akash Yadav 66aa9099b4 fix(projects): parallelize project indexing with coroutines 2023-10-02 15:05:21 +05:30
Akash Yadav 1d54a3ff4d tests: fix compilation issues 2023-10-02 12:27:56 +05:30
Akash Yadav 7a01b2f449 fix(deps): migrate to jgit v6 2023-10-02 12:27:55 +05:30
renovate[bot] 8fcd978d93 fix(deps): update dependency com.android.tools.build:aapt2-proto to v8.1.2-10154469 (#1343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 11:51:52 +05:30
renovate[bot] 2205d0fea1 fix(deps): update dependency com.android.tools:common to v31.1.2 (#1345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 11:51:30 +05:30
Akash Yadav 07b114f4a9 fix(gradle-plugin): add composite build in sample project to check for issues in resolving 'kotlin-dsl' plugin 2023-10-02 11:48:14 +05:30
Akash Yadav b8ddb19727 fix(gradle-plugin): mark logsender dependency as non-changing to avoid unnecessary network operations 2023-10-02 11:47:04 +05:30
Akash Yadav d8d9d93677 fix(templates): NoSuchMethodError (String.indent) due to compile SDK upgradation (fixes #1354) 2023-10-02 08:56:45 +05:30
Akash Yadav 42dec0b16f fix(tooling-api): do not log cancellation exception 2023-10-02 08:49:12 +05:30
Akash Yadav b05710c524 fix(editor): modified status is not changed after content modification 2023-10-01 23:31:53 +05:30
Akash Yadav 75e722391e fix: migrate build service to use coroutines 2023-10-01 22:04:32 +05:30
Akash Yadav 9aeaa2c6b5 fix: migrate log receiver handlers to coroutines 2023-10-01 22:04:13 +05:30
Akash Yadav 53a445e53e fix: migrate FilterableRecyclerView to coroutines 2023-09-30 22:18:17 +05:30
Akash Yadav 1874b911e7 fix(tooling-api): avoid recreating ProjectConnection multiple times
Also, the TaskExecutionMessage now only accepts the tasks to run, not the project path and the Gradle distribution params
2023-09-30 22:02:58 +05:30
Akash Yadav 4c95232854 fix(tooling-api): reuse GradleConnector whenever possible 2023-09-30 21:35:25 +05:30
Akash Yadav 2e3946279b fix: duplicate tasks are shown in 'Run tasks' dialog (fixes #1352) 2023-09-30 21:12:07 +05:30
Akash Yadav 5fe2a795e1 fix(tooling-api): remove usage of hardcoded root project path 2023-09-30 21:08:14 +05:30
Akash Yadav 1f35c4ecf0 fix: migrate IDELogcatReader to coroutines 2023-09-30 19:19:29 +05:30
Akash Yadav 35793e7e17 fix(editor/treesitter): rerun analyze manager only after color scheme is loaded 2023-09-30 15:12:42 +05:30
Akash Yadav 230ccfa536 fix(editor): rewrite IDEEditor in Kotlin with Coroutines 2023-09-30 15:08:28 +05:30
Akash Yadav 47491af765 chore(deps): add Kotlin Coroutines 2023-09-30 09:49:41 +05:30
Akash Yadav c6edc5b53c fix: show message when the build fails or succeeds 2023-09-30 09:47:23 +05:30
Akash Yadav 764ff58294 feat: add preference to automatically launch app after install (#1336) 2023-09-29 20:10:43 +05:30
Akash Yadav d05ee6287d fix(uidesigner): handle XML generation errors (fixes #1280) 2023-09-29 00:24:18 +05:30
Akash Yadav 2dcf45e906 fix(uidesigner): disallow multiple child views in root workspace view 2023-09-29 00:06:19 +05:30
Akash Yadav 713a81ad24 chore: update issue templates to include latest version 2023-09-28 23:54:21 +05:30
Akash Yadav 191883c887 fix(editor): reference result is not shown for single reference in the same file
This is caused due to setSeletion(Range) being called on a background thread (fixes #1248).
2023-09-28 23:49:44 +05:30
Akash Yadav 1eb99c5854 fix(editor/treesitter): rerun analyze manager after setting language scheme 2023-09-28 21:44:21 +05:30
Akash Yadav eade36e73f fix: update editor & add support for multiple spans in a capture 2023-09-28 17:07:14 +05:30
Akash Yadav ce4295b63e fix(editor): support static span colors for hex colors 2023-09-25 23:33:49 +05:30
Akash Yadav 30a03cb13a chore(deps): update editor to latest snapshot 2023-09-25 18:44:42 +05:30
Akash Yadav 73be7f5259 fix: use custom CompletionPublisher to avoid recreating completion list in IDELanguage 2023-09-24 20:13:42 +05:30
Akash Yadav dcc625f75b fix: completion window is not shown for the second time (#1329, fixes #1281) 2023-09-24 20:10:41 +05:30
Akash Yadav ef0418326e fix: last opened project reset unnecessarily (fixes #1225) 2023-09-23 22:58:53 +05:30
Akash Yadav 280277f77e fix: update bootstrap packages 2023-09-23 21:46:51 +05:30