Commit Graph

2739 Commits

Author SHA1 Message Date
Akash Yadav 28c7585bbc fix(editor/logs): invalid capture name in default dark scheme for log texts 2023-06-11 00:20:03 +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 5b5d969474 refactor: simplify LanguageSpecProvider.readScheme 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
Akash Yadav f89b832b77 build(deps): update editor to latest snapshot 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
Pranav a9a24242af fix: update donate URL (#1025)
donate.php endpoint no longer exists and is replaces with /donate instead, found out that its not yet updated in the IDE
2023-06-06 14:00:29 +05:30
Akash Yadav e6c7d1a2e1 fix(templates): do not notify observers when resetting value to default 2023-06-05 20:51:35 +05:30
Akash Yadav 3f0c85ef69 fix(templates): reset parameters to default value before creating views for widgets (closes #1022) 2023-06-05 20:50:46 +05:30
Akash Yadav db23184304 fix(templates): invalid language selected for compose template 2023-06-05 20:16:31 +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 ba69e2d4b4 fix(templates): use View.OnClickListener for icon click listeners in text field parameter 2023-06-04 21:18:09 +05:30
Akash Yadav c489e71525 fix: invalidate options menu on file save 2023-06-04 20:31:18 +05:30
Akash Yadav 7be1df4177 feat: never show disabled actions in toolbar 2023-06-04 20:29:44 +05:30
Akash Yadav b511afc6ec chore: do not publish snapshots for PRs 2023-06-04 20:15:45 +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
Smooth E 04ae82f910 Fix summary for the *Visible password flag* editor preference (#1020) 2023-06-04 16:12:48 +05:30
renovate[bot] e525089d1e chore(deps): update plugin com.mooltiverse.oss.nyx to v2.4.3 (#1017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-04 11:55:15 +05:30
renovate[bot] ef06cd6ba1 fix(deps): update dependency org.mockito.kotlin:mockito-kotlin to v5 (#1018)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-04 11:55:01 +05:30
Akash Yadav 2d36504d35 fix(logsender): LogSender is not unbound from service 2023-06-03 10:01:47 +05:30
Akash Yadav 386a218538 fix(logsender): do not start logsender in AndroidIDE 2023-06-03 09:39:47 +05:30
Akash Yadav 799d6f7e90 fix(templates): .gitignore files are not generated in templates (closes #1014) 2023-06-01 22:54:50 +05:30
Akash Yadav 273893e2ef build(deps): update editor to latest SNAPSHOT 2023-05-28 19:53:12 +05:30
Akash Yadav dbb2e6fd26 build(deps): update robolectric to 4.10.3 2023-05-28 19:53:12 +05:30
renovate[bot] d38f8043e0 chore(deps): update dependency gradle to v8.1.1 (#940)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 18:36:13 +05:30
renovate[bot] 9694bbe271 fix(deps): update dependency com.google.googlejavaformat:google-java-format to v1.17.0 (#998)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 18:35:10 +05:30
renovate[bot] 3b96687bc3 fix(deps): update antlr4 to v4.13.0 (#995)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 12:02:53 +05:30
renovate[bot] b5854d0b3f fix(deps): update com.google.auto.service to v1.1.0 (#996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 12:02:23 +05:30
renovate[bot] 335de0bbfa fix(deps): update dependency com.google.protobuf:protobuf-java to v3.23.2 (#999)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 12:00:42 +05:30
renovate[bot] e485a976b9 fix(deps): update dependency commons-io:commons-io to v2.12.0 (#1001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 12:00:24 +05:30
renovate[bot] 74daaeea1f fix(deps): update dependency com.google.android.material:material to v1.9.0 (#997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 11:59:36 +05:30
renovate[bot] f6c9f69c67 fix(deps): update dependency com.squareup.leakcanary:leakcanary-android to v2.11 (#1000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 11:59:17 +05:30
renovate[bot] df08176304 fix(deps): update dependency androidx.core:core-ktx to v1.10.1 (#992)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 11:23:06 +05:30
renovate[bot] 395b293e51 fix(deps): update dependency com.github.javaparser:javaparser-symbol-solver-core to v3.25.3 (#993)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 11:22:55 +05:30
renovate[bot] 2e5bdcc1f8 chore(deps): update agp to v8.0.2 (#964)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 09:36:25 +05:30
renovate[bot] 78a83b1d9c fix(deps): update dependency org.gradle:gradle-tooling-api to v8.1.1 (#941)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 09:35:57 +05:30
renovate[bot] c8268f148a fix(deps): update dependency com.google.android.gms:play-services-oss-licenses to v17.0.1 (#967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 09:35:38 +05:30
renovate[bot] f2a343d0c0 fix(deps): update dependency org.jsoup:jsoup to v1.16.1 (#970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 09:35:01 +05:30
renovate[bot] cd1f1708dc chore(deps): update plugin com.mooltiverse.oss.nyx to v2.4.1 (#976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 09:34:48 +05:30
Akash Yadav d16a28eb4d fix(templates): invalid application ID for projects without KTS 2023-05-28 09:34:03 +05:30
Akash Yadav 30b394628a fix: do not perform code action if the activity is being destroyed (fixes #950) 2023-05-27 23:33:11 +05:30
Akash Yadav 96340f8582 fix(xml-inflater): limit GridLayout to 'rowCount * columnCount' children (fixes #982) 2023-05-27 20:55:37 +05:30
Akash Yadav ad96309145 fix(xml-inflater): add default implementation for IViewGroup.findNearestChild 2023-05-27 20:50:11 +05:30
Akash Yadav 2cd7bb9c9c feat(layout-inflater): provide optional child view to IViewGroup.canAcceptChild 2023-05-27 19:52:04 +05:30
Akash Yadav 79cbcda75a docs: update JavaDoc for IViewGroupAdapter.computeChildIndex 2023-05-27 19:43:30 +05:30
Akash Yadav 823dea8929 feat(layout-inflater,uidesigner): move child view index computation logic to viewgroup adapters 2023-05-27 19:40:35 +05:30
Akash Yadav 4ccb9b3554 refactor(uidesigner): remove unnecessary qualified names 2023-05-27 19:14:01 +05:30
Akash Yadav d79caba532 fix: synchronize client operations in MultiLogSenderHandler 2023-05-27 18:48:48 +05:30