Commit Graph

57 Commits

Author SHA1 Message Date
Akash Yadav a9195f0f53 build(build-logic): modularize :build-logic composite build 2024-02-19 11:45:48 +05:30
Akash Yadav be10fe7e1e feat: integrate full Termux application 2023-12-15 20:22:33 +05:30
Vivek Kumar Sahani 1f3800697c fix: crash when selecting/closing file (fixes #1498) (#1507) 2023-12-01 19:01:25 +05:30
Rafael de Moura Dev b13e3d0419 fix(actions): hide action menu if all of its children as invisible (#1442)
Co-authored-by: Akash Yadav <itsaky01@gmail.com>
2023-11-10 13:15:46 +05:30
Akash Yadav 7e64533302 fix(actions): make ActionItem visible and enabled by default 2023-11-07 23:46:37 +05:30
Akash Yadav 2d30c40825 refactor: consistent ActionItem IDs 2023-11-07 19:54:38 +05:30
Akash Yadav a11c4607b4 fix: improve options menu inflation and invalidation in editor activity
This commits improves the options menu inflation and invalidation logic in the EditorActivity. The options menu is now properly invalidated in onPrepareOptionsMenu and inflated only
 when required. Also, the options menu is now lazily invalidated, cancelling all the previous invalidation calls in order to prevent re-inflating the options menu frequently.
2023-10-27 22:10:09 +05:30
Akash Yadav e193723529 fix(javac-services): do not flood logs by unnecessarily logging 'keepComments' override 2023-10-27 22:10:09 +05:30
Akash Yadav 29ca7bc64f fix(actions): id of ActionItem is not logged correctly after execution 2023-10-18 12:22:32 +05:30
Akash Yadav 52844b201e fix: migrate Actions API to Kotlin Coroutines 2023-10-09 00:25:57 +05:30
Akash Yadav fddefdfc8f fix: merge 'Quick run' and 'Cancel build' action into one
This also adds color to those actions and closes #1264
2023-09-11 23:43:57 +05:30
Akash Yadav 08d376f370 feat: merge file tree to left drawer using navigation rail 2023-09-05 17:36:32 +05:30
Akash Yadav 7be1df4177 feat: never show disabled actions in toolbar 2023-06-04 20:29:44 +05:30
Smooth E fe169fc0e8 Always show the File Tree button in the toolbar (#1019)
* Implement a preference to always show the File Tree action in the toolbar

* Create the ExtendedMenuToolbar which tries to keep as many actions as possible outside of the overflow menu

* Repurpose the show-file-tree-button preference into hide-file-tree-button. Reason: the button is always technically shown, especially if we consider users with large screens.

* Move ExtendedMenuToolbar.kt into com.itsaky.androidide.ui in :common. Fix resource compilation error by escaping the apostrophe.

* Check whether the gesture navigation is enabled for setting the default value of idepref_editor_hide_file_tree_button

* Remove an unnecessary onAttachedToWindow() override
2023-06-04 17:42:28 +05:30
Akash Yadav defc76a187 fix: avoid using ServiceLoader in test environment 2023-05-01 20:07:53 +05:30
Akash Yadav 360bbb7f0d refactor(actions): use ServiceLoader to load DefaultActionsRegistry 2023-04-30 23:26:09 +05:30
Akash Yadav fa8680e873 refactor: replace hardcoded package names in build scripts with BuildConfig property 2023-04-13 22:56:17 +05:30
Akash Yadav 273e61daa8 feat(lsp/java): add 'Fix imports' actions
The 'Fix imports' action analyzes the file contents, walks through the diagnostic items looking for 'compiler.err.cant.resolve.location' errors, then performs an edit to
import all those classes at once. If multiple classes are found for a class name, the user is asked to choose the class that should be imported.
2023-03-29 01:42:24 +05:30
Akash Yadav daf39bc0a7 fix: EditorActionsMenu is not destroyed properly, resulting in memory leak 2023-03-10 16:32:13 +05:30
Akash Yadav 0876524273 feat: register file tree actions with the Actions API 2023-03-05 21:17:09 +05:30
Akash Yadav 715ef2e630 feat(actions): add API to destroy ActionItem instances 2023-01-20 20:15:02 +05:30
Akash Yadav 42a3e71114 chore: migrate to Kotlin DSL and Version Catalog 2022-12-30 23:24:38 +05:30
Akash Yadav aea356f26c feat: maintain insertion and inflation order of ActionItems 2022-12-23 12:19:59 +05:30
Akash Yadav 9235885c68 feat: add basic support for handling configuration changes 2022-12-21 14:56:52 +05:30
Akash Yadav eab7ca9d95 feat: update location ids for ActionItem
Action ID for UI_DESIGNER_TOOLBAR and EDITOR_TOOLBAR was same which resulted in invalid actions being shown in both activities.
2022-12-11 09:43:06 +05:30
Akash Yadav 64b6f4680e refactor: changed signature of ActionData helper functions 2022-12-07 10:13:12 +05:30
Akash Yadav c4cb67fc18 feat: add ability to remove attributes from views 2022-12-06 22:04:37 +05:30
Akash Yadav f3bba1186d feat: replaced quick action menu with popup menu 2022-12-05 10:15:53 +05:30
Akash Yadav 7c467ddc3f feat: dynamic colors support 2022-12-05 10:15:52 +05:30
Akash Yadav f25cfb2a18 Fixed #393: Do not dismiss text actions window for certain actions 2022-10-29 18:15:33 +05:30
Akash Yadav 579386ae17 Moved all IDE resources to :resources module 2022-10-24 18:36:52 +05:30
Akash Yadav 7b15d3e1ca Refactored the actions API 2022-10-17 17:17:03 +05:30
Akash Yadav 3f02c7fed8 Replaced ActionMode searcher with bottom bar 2022-10-08 22:05:04 +05:30
Akash Yadav 96229f4dcd Use SearchView as an ActionItem in 'Find in file' action 2022-10-07 23:17:47 +05:30
Akash Yadav 1048d888a7 Updated dependencies 2022-10-05 16:29:26 +05:30
Akash Yadav bf4f313be8 Define namespaces in build.gradle instead of packages in AndroidManifest 2022-08-09 09:22:09 +05:30
codefactor-io 4e003c8184 [CodeFactor] Apply fixes 2022-07-13 09:07:38 +00:00
Akash Yadav 41fb116a78 Fix #277: Disable action menu if all of its children are disabled 2022-07-12 12:48:10 +05:30
Akash Yadav 051e2e4b02 Reformat all source file 2022-06-26 09:37:57 +05:30
Akash Yadav 6beea8f961 Fixed various lint and test errors/warnings 2022-06-21 13:36:11 +05:30
Akash Yadav 1252fad343 Merged remote branch into 'main' 2022-06-14 14:35:32 +05:30
Akash Yadav 4bab018d2c Resolved merge conflicts 2022-06-05 08:23:44 +05:30
Akash Yadav eb25022cbc Fixed .gitignore files 2022-05-22 18:05:50 +05:30
Akash Yadav 24f94f3914 Revert "Upgraded Android Gradle Plugin to version 7.0.2 for AndroidIDE project"
This reverts commit 3e6bbb6f1c.
2022-05-21 20:08:54 +05:30
Akash Yadav 3e6bbb6f1c Upgraded Android Gradle Plugin to version 7.0.2 for AndroidIDE project 2022-05-21 18:14:00 +05:30
Akash Yadav 76e4ecac0b [Gradle] Format java source code 2022-05-18 18:30:57 +05:30
Akash Yadav 5cd3a0a63d Fixed: Find in project dialog is not updated after project initialization 2022-05-02 20:25:37 +05:30
Akash Yadav 033f7e878b Replaced 'Stop Gradle daemons' actions with 'Cancel build' action 2022-05-01 19:40:11 +05:30
Akash Yadav 0922028b9c Renamed Logger to ILogger 2022-04-23 12:58:58 +05:30
Akash Yadav 95a719cb56 Implemented custom searcher for IDEEditor (related: #158) 2022-04-18 19:45:25 +05:30