99 Commits

Author SHA1 Message Date
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 bd0bfe827f refactor: remove unused ':subprojects:classfile' module 2023-07-31 22:47:10 +05:30
Akash Yadav 456deeb336 fix(logsender): log sender clients are not properly handled
This commit commit fixes a bug which caused the log sender client not being released when the client application crashes or is killed by the system. This resulted in resources being unnecessarily held by the IDE causing lags
and sometimes, battery drain (#1107).
2023-07-30 12:13:34 +05:30
Akash Yadav 38935039f3 chore: fix invalid APK path in workflow 2023-06-11 09:55:33 +05:30
Akash Yadav 4cb6fdfef5 chore: configure product flavors and split APKs to reduce APK size 2023-06-11 00:20:30 +05:30
Akash Yadav f35dcd2e5a chore: add generated lexer files to gitignore 2023-06-11 00:20:02 +05:30
Akash Yadav d31f57b07c fix(deps): migrate to android-tree-sitter v3.0.0 2023-06-11 00:20:02 +05:30
Akash Yadav b3e3bfec70 build(deps): add tree-sitter-log dependency 2023-06-11 00:20:01 +05:30
Akash Yadav e78b9068f4 feat: use tree-sitter for log highlighting 2023-06-11 00:20:00 +05:30
Smooth E 1ee2f34c12 feat: various design improvements (#1023)
* refactor: A bunch of (mostly XML) styling

* fix(Main Activity): Make use of a dedicated Splash Activity to enable Dynamic coloring in MainActivity

* feat(edge-to-edge): Ground work to support edge-to-edge experiences throughout the IDE

* fix(edge-to-edge): Manually set bottom padding for fragment containment

* feat(edge-to-edge): Allow full activity rebuild on configuration changes for MainActivity. This allows to ship more specific layout changes and is a ground work to support split screen mode.

* Bug introduced: templates are not shown in the TemplateListFragment after full activity rebuild

* fix: Finish the Splash Activity after launching the Main one

* fix(templates): The list of templates no longer disappears after an activity rebuild or a configuration change

* fix(templates): Keep OnGlobalLayoutListener attached while the View is alive. This ensures that the last item in template list is always aligned to the start.

* feat(design): Custom layout for MainActivity's main fragment in landscape mode

* feat(edge-to-edge): Implement edge-to-edge for PreferencesActivity, move InsetUtils outside of the LimitlessIDEActivity.

* refactor(IDEPreferencesFragment.kt): Comply with the line-length rule, fix a one-line if statement to follow the general codestyle

* refactor(edge-to-edge): Remove PaddingUtils.kt
The reasoning behind this is that after `view.setPadding(left, top, right, bottom)` is executed, `view.getPaddingBottom()` (or for any other side) still returns the old value of padding before the view is measured again. Therefore the implementation of PaddingUtils.kt produces an unwanted and unexpected behaviour.

* feat(edge-to-edge): Create a BottomInsetHeightDistributor view

* fix(templates/design): Use OutlinedButton style for the *Exit* button inside the *New project* wizard's footer

* refactor: Comply with AndroidIDE's code style

* refactor: Make use of helper methods. Optimize XML

* fix(edge-to-edge): Wrong system bar coloring in Dark Mode
2023-06-09 23:09:41 +05:30
Akash Yadav cd9aaf7045 fix: chevron icon visible for files in file tree (closes #1015) 2023-06-04 22:58:29 +05:30
Akash Yadav 7be1df4177 feat: never show disabled actions in toolbar 2023-06-04 20:29:44 +05:30
Akash Yadav defc76a187 fix: avoid using ServiceLoader in test environment 2023-05-01 20:07:53 +05:30
Akash Yadav b950c34fb0 refactor(lookup): use ServiceLoader to load DefaultLookup 2023-04-30 23:26:09 +05:30
Akash Yadav 18f9e3d450 fix(logreceiver): socket closed error when reading logs (fixes #956) 2023-04-30 12:41:02 +05:30
Akash Yadav 3c23ea718e chore(workflow): publish snapshot packages even if tests fail 2023-04-29 20:19:35 +05:30
Akash Yadav 69a4a122a1 build(deps): update editor to latest snapshot 2023-04-22 19:54:42 +05:30
Akash Yadav 852955959c fix: tab text is not updated when an opened file is renamed 2023-03-13 15:41:31 +05:30
Akash Yadav 41f9b241e4 fix(editor): improve editor window colors 2023-03-11 20:54:26 +05:30
Akash Yadav 97d8f66f2d feat: replace Toaster with Flashbar 2023-01-19 00:32:37 +05:30
Akash Yadav d35cb84a99 Read module resources in parallel 2022-08-20 17:40:44 +05:30
Akash Yadav 42c5ebb26c Added jaxp implementation 2022-08-19 17:05:55 +05:30
Akash Yadav 237a8c1d1c Implemented contains(String) and clear() in ClassTrie 2022-07-08 00:05:18 +05:30
Akash Yadav edb0bd058a Fixed: Invalid text position of buttons in MainActivity 2022-06-23 16:43:13 +05:30
Akash Yadav 672bfb3d62 Merged branch 'incremental-analysis' into 'main' 2022-06-21 17:02:22 +05:30
Akash Yadav 6beea8f961 Fixed various lint and test errors/warnings 2022-06-21 13:36:11 +05:30
Akash Yadav ed49240c32 Changed log priority implementation 2022-06-20 18:50:38 +05:30
Akash Yadav dc55c7c609 Use RecyclerView to show application and IDE logs 2022-06-20 14:53:59 +05:30
Akash Yadav 245ee21937 Implemented incremental analysis for Java sources (incomplete) 2022-06-19 22:40:58 +05:30
Андрей Кожев 41a49fadf7 Improved translation into Russian (#220)
Updated Russian translation
2022-06-19 19:41:48 +05:30
Akash Yadav 222fa49ee1 Added option to specify custom Gradle installation directory for builds (closes #49) 2022-06-17 15:27:47 +05:30
Akash Yadav 48338d82d5 Removed DownloadActivity; Updated README 2022-06-17 00:03:41 +05:30
Akash Yadav 1252fad343 Merged remote branch into 'main' 2022-06-14 14:35:32 +05:30
Akash Yadav f115f30c08 Added option to manually sync project 2022-05-22 17:51:58 +05:30
Akash Yadav 29097cdc66 Initialize project in EditorActivity using Tooling API 2022-04-29 20:07:06 +05:30
Akash Yadav 77c787073f Created different classes for different types of projects and modules with their default implementations. 2022-04-25 22:11:19 +05:30
Akash Yadav 2d9990d588 Retrieve IdeProject instance from Gradle plugin 2022-04-24 17:45:37 +05:30
Akash Yadav d1ee17525b Moved javac to a separate module; Fixed test failures 2022-04-21 18:13:17 +05:30
Akash Yadav 95a719cb56 Implemented custom searcher for IDEEditor (related: #158) 2022-04-18 19:45:25 +05:30
Akash Yadav 928b00cac6 Implemented actions menu with editor's APIs 2022-04-14 17:59:53 +05:30
Akash Yadav abc847c8df Dynamically add toolbar actions using ActionsRegistry 2022-04-08 20:41:21 +05:30
Akash Yadav 4b438982bc Compute code actions synchronously 2022-04-02 23:08:09 +05:30
Akash Yadav 3e9fd6b5fb Wrote tests for JavaSelectionProvider; Formatted code 2022-03-30 19:27:06 +05:30
Akash Yadav 654f455cb6 Show 'Quickfix' action in editor's text action window 2022-03-27 19:36:00 +05:30
Akash Yadav 71d7769d82 Removed vertical text action window and updated the UI of the text actions 2022-03-26 20:23:04 +05:30
Marvin Stelter 482b353820 Edited templates to work with API 31, edited translations, deleted translations 2022-03-24 20:35:38 +01:00
Akash Yadav 9841b59f9f Fix #132: Added a preference to disable visible password input flag 2022-03-20 17:46:24 +05:30
Akash Yadav 7575d12c95 Show quickfixes for diagnostic items 2022-03-16 20:44:29 +05:30