Commit Graph

2168 Commits

Author SHA1 Message Date
Skylot 03052baabe chore: update dependencies 2024-01-11 19:10:44 +00:00
Iscle 23e643c686 fix(gui): attempt to resolve field rename issues with shortcut (#1440)(PR#2075)
This is an attempt to fix the issues that sometimes arise when renaming functions or variables using the "n" shortcut as stated in issue #1440.

The reasoning behind the change: The instance creation of the RenameDialog was somehow affecting the UI thread and not allowing for the key release event to be dispatched. By running everything inside the invokeLater block, this might get fixed as it will execute after all previous tasks are finished.
We now also only show the dialog after EVERYTHING is set up, not before.
2024-01-05 21:42:06 +03:00
Iscle faeae086d1 feat(gui): improve search bar behavior when using key bindings (PR #2074)
Before, the search bar would toggle, which was quite annoying. Now, it replicates IntelliJ's search bar behaviour.

1.1. If the user has selected text, use that as the search text
1.2. Otherwise, use the previous search text (or empty if none)
2. Select all text in the search bar and give it focus
2024-01-05 21:31:34 +03:00
Iscle 38e64fafbd feat: add an option to generate kotlin code for xposed (PR #2070)
* feat: add an option to generate kotlin code for xposed

A new setting was added, bumping the settings version to 19.

* refactor: applied spotless

* refactor: fixed formatting

* refactor: fixed formatting once again
2024-01-05 21:24:08 +03:00
Skylot e723c245ee fix: use correct type printer in json output mode (#2053) 2023-12-23 18:46:39 +00:00
Skylot 3e57dacfd3 chore: update dependencies 2023-12-21 19:00:33 +00:00
Iscle f5accc8464 feat: add support for xapk files (#1597)(PR #2064)
* feat: annotate JadxPlugin with NotNull

Allows for better Kotlin support

* feat: add support for custom resources loader

* feat: add support for xapk resources loading

* fix: rename "decode" to "load"

* refactor: annotate JadxCodeInput with NotNull

* feat: add support for xapk code loading

* feat: add xapk support to file filter

* fix code formatting

* revert NotNull annotation

* several improvements

* refactor: fix typo

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-12-21 18:46:40 +00:00
Skylot 238fe17df0 fix(gui): add hint for class renaming (#1590) 2023-12-18 18:14:56 +00:00
Skylot 295befbaaa fix: check class alias for Kotlin Intrinsics search (#1590) 2023-12-18 18:14:56 +00:00
dependabot[bot] 5f20033f18 build(deps): bump actions/upload-artifact from 3 to 4 (#2060)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 17:59:11 +00:00
dependabot[bot] 5f376c6e21 build(deps): bump github/codeql-action from 2 to 3 (#2061)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 17:57:37 +00:00
Skylot 68a99c5410 chore: update dependencies 2023-12-16 19:20:45 +03:00
Skylot 8db70ee7a5 fix(gui): resolve reset and commit issues for disk code cache 2023-12-16 19:20:43 +03:00
LanBaiCode b6155afd32 fix(gui): use correct type for generic params in Xposed snippet (PR #2057)
* Fix: Resolved an issue with incorrectly generated xposedMethodSnippet when the parameter type is generic.
Add: Introduced xposedGenerateFieldSnippet.

* fix code format

* Fixed: Resolved the issue where Xposed code generation was incorrect when dealing with generic parameters and alias fields.

---------

Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
2023-12-11 17:14:10 +00:00
Away-pp d5bf9f20a6 fix: IndexOutOfBoundsException with negative register index (PR #2056)
Co-authored-by: Away-pp <awaytesting1@gmail.com>
2023-12-10 18:51:25 +00:00
Skylot 2d5c0fda4a fix: prefer early return for 'if-else-if' block (#2052) 2023-12-05 21:08:22 +00:00
Skylot 5d56001826 build(deps): migrate to Google fork of Smali 2023-12-04 20:42:09 +00:00
Skylot 2de91f9a3a chore: update gradle and dependencies 2023-12-04 23:18:51 +03:00
dependabot[bot] e06e6bd483 build(deps): bump actions/setup-java from 3 to 4 (#2051)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 19:55:32 +00:00
nitram84 1e57e85382 fix: gradle export for APKs without strings.xml (PR #2050) 2023-12-03 17:38:46 +00:00
LanBaiCode ca03406a3d fix: correct type for generic params in Xposed snippet, add fields support (PR #2047)
* Fix: Resolved an issue with incorrectly generated xposedMethodSnippet when the parameter type is generic.
Add: Introduced xposedGenerateFieldSnippet.

* fix code format

---------

Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
2023-11-25 17:55:53 +00:00
Skylot 2d28da9b0e feat: allow to set zip max entries count using env var (#1751) 2023-11-16 20:48:08 +03:00
Skylot edb1717969 fix: support variables reuse for enum restore (#2042) 2023-11-16 20:48:07 +03:00
Skylot 1b51234edc chore: update dependencies 2023-11-16 20:48:07 +03:00
nitram84 e6d896d91e fix(plugin): check for valid identifiers from Kotlin metadata (PR #2041) 2023-11-10 22:29:54 +00:00
Skylot a989fa7e64 refactor(deobf): split deobfuscation conditions (#2040) 2023-11-05 20:22:15 +00:00
nitram84 f7002c7fad feat(deobf): implement a whitelist for deobfuscation (PR #2040) 2023-11-05 20:21:41 +00:00
Skylot 41d986bdca feat(script): use cache for compiled scripts 2023-10-27 23:35:03 +03:00
Skylot 192a8116f1 chore: update FlatLaf 2023-10-27 23:35:01 +03:00
Markslin 173d85bf84 fix(res): resolve resourceIds reuse issue (PR #2037)
Co-authored-by: mingyinsun <mingyinsun@tencent.com>
2023-10-24 18:47:17 +01:00
Skylot b310e92d7a fix: inline CMP instructions to help conditions merge (#2033) 2023-10-21 23:08:00 +01:00
Skylot 4a92ee07cc fix(gui): hide not needed popup action for not editable code 2023-10-21 23:08:00 +01:00
Skylot fdffe20c46 fix(gui): another try to fix code search 2023-10-21 23:08:00 +01:00
Skylot 15d464d620 fix(gui): improve code and method search (#2033) 2023-10-18 21:53:40 +01:00
Skylot 1bd4526e4c fix: improve restructure of nested try/catch/finally blocks (#2033) 2023-10-15 20:06:35 +01:00
Skylot 816308e3ca chore: update dependencies 2023-10-15 20:06:35 +01:00
rawer886 cfd851a980 fix: use correct imports for classes from default package (PR #2031)
* fix: use fully qualified package names for classes of defpackage

* fix: use correct imports for classes from default package (#2027)
---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-10-11 20:04:03 +01:00
Julian Burner d129be7e86 fix: update to Mapping-IO 0.5 (PR #2029)
* Update to Mapping-IO 0.5

* Fix Spotless error

* Fix Spotless error (2)

* Sort mappings by name when exporting
2023-10-09 18:46:51 +01:00
Skylot 6433fcef72 chore: update gradle and dependencies 2023-10-07 18:08:44 +01:00
Jan S d120556772 fix(res): add resource entry offset check (PR #2024) 2023-10-06 17:25:36 +00:00
Skylot 19f40b8549 feat(cli): add option to show available plugins list 2023-09-27 19:44:58 +01:00
Skylot 89acf73010 feat(plugins): cache available plugin list 2023-09-27 19:44:53 +01:00
Goooler b70276d896 fix(gui): update zh_CN translation (PR #2022) 2023-09-27 16:19:11 +01:00
5idereal 76b370e249 update zh_TW translation (#2021) 2023-09-26 17:15:09 +01:00
Skylot b73f2ef0b9 fix(res): place xml attributes on new line (#2012) 2023-09-24 20:40:33 +01:00
Skylot 762c2d70bd chore: fix typos 2023-09-24 18:53:39 +01:00
Skylot 4e81bdd76f chore: update dependencies 2023-09-22 20:32:40 +01:00
Skylot 4d87b447a6 chore: remove unused code in ClsSet class (#2020) 2023-09-22 20:31:56 +01:00
Roni Ragil Iman Khoirul 8f0d0e4f4d feat: add Indonesian translation (PR #2018)
* Add Indonesian translation

* fix load i18n resources with deprecated language codes

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-09-20 19:26:59 +01:00
Skylot c39a696977 feat(script): add methods for apply renames and reload tabs (#2008) 2023-09-15 21:50:47 +01:00