Commit Graph

2846 Commits

Author SHA1 Message Date
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
Akash Yadav 248470cdd7 fix: close tree sitter language instance when editor language is destroyed 2023-07-15 11:50:18 +05:30
Akash Yadav 49fb757ce9 build: fix project description missing in modules that are published 2023-07-14 19:50:45 +05:30
Akash Yadav b7903b2dbf chore: fix apk file path in Nyx config v2.5.0-beta 2023-07-14 18:35:02 +05:30
Akash Yadav 72d6569a96 chore(workflow): run 'publish_snapshots' job on branches other than 'main' 2023-07-14 18:33:23 +05:30
Akash Yadav 00515fee47 chore(workflow): maven central credentials not provided to 'publish' job 2023-07-14 18:31:15 +05:30
Akash Yadav 79958f9d9f fix: parse OpenedFilesCache manually to avoid ClassCastException in release builds (fixes #1102) 2023-07-14 17:37:33 +05:30
Akash Yadav 353fd287ba chore(workflow): fix invalid condition for uploading release APKs 2023-07-13 20:27:51 +05:30
Akash Yadav 84beac21c4 tests: try to fix XML inflater tests in CI 2023-07-12 20:51:12 +05:30
github-actions[bot] 87057d560d chore: update crowdin contributors table (#1080)
Co-authored-by: itsaky <itsaky@users.noreply.github.com>
2023-07-12 15:25:52 +05:30
Akash Yadav 6c355a4041 feat: update translations (#1076) 2023-07-12 15:25:37 +05:30
Akash Yadav d2d9595bcb chore: add generated APK directories to gitignore 2023-07-12 15:21:27 +05:30
Akash Yadav 376672fc70 fix: missing class error in R8 2023-07-12 15:21:27 +05:30
Akash Yadav 0332eb187d chore: update proguard rules for ide statistics 2023-07-12 15:21:26 +05:30
Akash Yadav fa592a8722 fix: ignore 'Instanstiatable' lint error 2023-07-12 15:21:26 +05:30
Akash Yadav d05323fa4e docs: fix grammatical errors in changelog for v2.5.0-beta 2023-07-12 15:21:25 +05:30
renovate[bot] 58dba1d8a4 fix(deps): update tree.sitter to v3.2.0 (#1091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 15:45:04 +05:30
Akash Yadav 3e9fd2ec9f docs: add changelog for v2.5.0-beta 2023-07-10 23:15:17 +05:30