Commit Graph

2863 Commits

Author SHA1 Message Date
Akash Yadav 18e04a564e docs: add changelog for v2.5.2-beta v2.5.2-beta 2023-08-05 14:59:30 +05:30
Akash Yadav 6911d9bdfc fix: update translations (#1125) 2023-08-05 09:41:57 +05:30
github-actions[bot] fa0aef12d2 chore: update crowdin contributors table (#1124)
Co-authored-by: itsaky <itsaky@users.noreply.github.com>
2023-08-04 19:56:11 +05:30
Akash Yadav 86fbed8f0c fix(uidesigner): do not keep a reference to ViewInfoSheet instance 2023-08-03 19:33:16 +05:30
Akash Yadav 11333478e2 fix(uidesigner): do not keep a reference to LayoutInflater instance 2023-08-03 19:20:50 +05:30
Akash Yadav ece82578ac fix(uidesigner): dismiss view info sheet before it is shown (fixes #1169) 2023-08-03 19:06:52 +05:30
Akash Yadav 800600e556 fix: make empty state view non-clickable and non-focusable (closes #1171) 2023-08-03 18:11:03 +05:30
Akash Yadav 6cdb6bd374 fix(lsp/java): add null checks before performing code actions (closes #1156) 2023-08-01 10:01:12 +05:30
Akash Yadav 94bbd0a4f4 fix: show empty state hints for bottom sheet fragments (closes #1157, closes #1158) 2023-07-31 22:47:11 +05:30
Akash Yadav bd0bfe827f refactor: remove unused ':subprojects:classfile' module 2023-07-31 22:47:10 +05:30
renovate[bot] 27c6ea8722 chore(deps): update plugin com.mooltiverse.oss.nyx to v2.4.7 (#1161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 15:54:13 +05:30
renovate[bot] 8cf66243f3 fix(deps): update dependency org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc to v0.21.0 (#1002)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 15:53:44 +05:30
renovate[bot] 238f4aaaa7 fix(deps): update dependency com.android.tools:desugar_jdk_libs to v2 (#971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 14:16:20 +05:30
renovate[bot] 66e1f981d4 fix(deps): update com.google.auto.value to v1.10.2 (#1071)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 14:14:08 +05:30
renovate[bot] a072e06dd9 chore(deps): update dependency gradle to v8.2.1 (#1084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 14:13:50 +05:30
renovate[bot] d896f89fb3 fix(deps): update dependency com.squareup.leakcanary:leakcanary-android to v2.12 (#1087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 14:13:12 +05:30
renovate[bot] da5060ca3e fix(deps): update dependency androidx.navigation:navigation-safe-args-gradle-plugin to v2.6.0 (#1086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 14:12:39 +05:30
renovate[bot] 00dfda5bf4 chore(deps): update andrii-bodnar/action-crowdin-contributors action to v1 (#1092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 14:12:13 +05:30
renovate[bot] 4d72052db0 fix(deps): update dependency commons-io:commons-io to v2.13.0 (#1088)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 14:10:09 +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
Rafael de Moura Dev c6bf1f5afd fix(resources): string "No AndroidX" without space between the two words (#1141)
This error causes suggestions for this string in Crowdin to be erroneous, which can lead to it being approved incorrectly, as happened with Portuguese. This simple commit fixes that
2023-07-26 14:27:39 +05:30
Akash Yadav 192d3ed18d fix(logsender): prevent crash in client application if it cannot bind to log receiver in AndroidIDE 2023-07-24 23:57:45 +05:30
Akash Yadav 167af9c143 fix(templates): AndroidX dependencies are added to 'No AndroidX' template 2023-07-24 22:48:39 +05:30
Akash Yadav 96c68ff320 fix(lsp/xml): namespace is inserted even if attrAtCursor already has a namespace (closes #1122) 2023-07-23 12:16:58 +05:30
Akash Yadav 817402b1aa fix: opened files are incorrectly restored on app resume (closes #1134) 2023-07-23 11:39:27 +05:30
Akash Yadav 1e07da7a98 fix(javac): add Java compiler flag to override -XDkeepComments flag
When the 'keepComments' flag is set, the compiler uses JavadocTokenizer for tokenizing the source code. While creating the LineMap instance, the JavadocTokenizer sets the 'expandTabs' flag to true which expands '\t' characters to spaces. This is needed while generating HTML pages for the Javadoc. However, if the tabs are expanded to spaces, then getPosition(...) and getColumnNumber(...) methods in the LineMap class return indices which cannot be directly used to insert text in the source code. This results in StringIndexOutOfBoundsException when trying to insert text in the editor (#1127, and probably #916 as well).

This commit adds the 'keepCommentsOverride' option to the compiler which is used by NBParserFactory to override the 'keepComments' flag. The CompileBatch class sets this option to 'ignore' which ignores the 'keepComments' flag so that JavadocTokenizer is not used for tokenization.
2023-07-21 18:46:44 +05:30
Akash Yadav 52d401d992 refactor(lsp/java): format OverrideSuperclassMethods action class 2023-07-21 16:01:08 +05:30
Akash Yadav ee18012204 fix(filetree): automatically expand first level of file tree (project root) (closes #1073) 2023-07-20 23:28:14 +05:30
Akash Yadav 304cb44d93 fix: opened files cache is always empty when user manually closes the project (#1116) 2023-07-20 21:33:44 +05:30
Akash Yadav 7eaa95d2b7 fix(logs): logsender client additions are not synchronous (#1132) 2023-07-20 21:01:04 +05:30
Akash Yadav 9bc06cfacb fix(xml-inflater): use custom TextureView when inflating XML layout (#1129) 2023-07-20 14:04:16 +05:30
Akash Yadav ddeb6c0c70 fix(xml-inflater): use a custom TextureView to avoid UnsupportedOperationException in UI Designer (fixes #1129) 2023-07-20 13:20:06 +05:30
Akash Yadav 49da2c122c fix(xml-inflater): do not set background and foreground to TextureView 2023-07-20 13:06:41 +05:30
Akash Yadav e50b02eafb fix(xml-inflater): allow removing/replacing attribute handlers in view adapters 2023-07-20 10:09:11 +05:30
Akash Yadav b3bab23205 fix(templates): templates cannot be created on first install
This happens because the projects directory does not exists and the save location parameter in templates requires an existing directory.
2023-07-20 09:44:05 +05:30
github-actions[bot] d70da16e05 chore: update crowdin contributors table (#1098)
Co-authored-by: itsaky <itsaky@users.noreply.github.com>
v2.5.1-beta
2023-07-18 16:38:17 +05:30
Akash Yadav 9c01547ef0 fix: update translations (#1097) 2023-07-18 16:38:17 +05:30
Akash Yadav e9c93b6eab chore: add changelog for v2.5.1-beta 2023-07-18 16:36:52 +05:30
Akash Yadav ec15dc7dba fix(resources): typo in string 'title_android_veresion' 2023-07-18 15:38:54 +05:30
Akash Yadav 4b8b5af79d fix(resources): some string are untranslatable (closes #1117) 2023-07-18 13:22:23 +05:30
Akash Yadav 440358a814 fix: use iterator to iterate clients in MultiLogSenderHandler 2023-07-16 15:18:18 +05:30
Akash Yadav 6a9acbfada fix(editor): close tree sitter language only if it is externally loaded 2023-07-16 15:15:01 +05:30
Akash Yadav 263ce48d35 fix(editor): fall back to default color scheme if custom scheme doesn't support a file type 2023-07-16 14:02:17 +05:30
Akash Yadav 23f4f52c50 fix(editor): invalid syntax highlights for annotations in Java 2023-07-16 12:53:33 +05:30
Akash Yadav 3c8c4f7222 fix: simplify logic for determining forward/backward transition in main activity 2023-07-16 12:30:46 +05:30
Akash Yadav acf69737d4 chore: update version numbers in issue templates 2023-07-16 12:06:32 +05:30
Akash Yadav b9d84e4314 fix(editor): update syntax highlights for Java and Kotlin (fixes #1051) 2023-07-16 12:04:43 +05:30
Akash Yadav afcc1782d3 docs: update README 2023-07-15 12:04:58 +05:30
Akash Yadav bdf1f9ed03 docs: update links in README 2023-07-15 12:02:59 +05:30
Akash Yadav 7d025e0534 build: require project description for modules that are published to maven central 2023-07-15 11:57:43 +05:30