Skylot
5c0c1daa71
fix(gui): use new RSTA line number formatter API to show source lines
2024-02-16 18:38:56 +00:00
Skylot
603ea3989a
chore: update dependencies
2024-02-16 17:41:37 +00:00
Emiel Matthys
018ff98df7
feat(gui): remember save preference decision (PR #2103 )
...
* First version
* Use dropdown
* Spotless
* Language strings and tests
* Comment out translated versions
* Remove more translations
---------
Co-authored-by: Emiel Matthys <emiel.matthys@guardsquare.com >
2024-02-15 18:00:37 +00:00
nitram84
5fbabdefca
fix: NPE in unused EcxHandler block removal code ( #2086 ) (PR #2104 )
2024-02-15 17:57:30 +00:00
nitram84
13607fc8b6
fix(res): add missing namespace declarations (PR #2102 )
...
* fix(res): add missing namespace declarations
* remove `writer.getIndent() == 0`
---------
Co-authored-by: skylot <118523+skylot@users.noreply.github.com >
2024-02-15 17:56:39 +00:00
DanielFi
0c33d723c8
fix: optimize switch fallthrough (PR #2054 )
...
* cache post dom map between switch cases
* cache post dom map of whole methods
* calculate full post dom tree, fix switch out block detection
---------
Co-authored-by: Skylot <skylot@gmail.com >
2024-02-14 18:31:38 +00:00
Skylot
0143423dc9
fix: use empty line before field in correct place ( #2101 )
2024-02-12 15:39:41 +00:00
Skylot
21b1452485
chore: update gradle and dependencies
2024-02-12 15:39:40 +00:00
Skylot
ecb8abb98e
fix: correct rollback if type update failed ( #2090 )
2024-02-10 16:08:51 +00:00
Skylot
a3a4fabd5a
fix: store classes access flags in class set
2024-02-07 22:10:31 +03:00
Skylot
edf6ce273c
fix: clear node flags for custom decompilation mode
2024-02-06 21:54:41 +03:00
dependabot[bot]
1bb956a8b0
build(deps): bump gradle/wrapper-validation-action from 1 to 2 (PR #2099 )
...
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action ) from 1 to 2.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases )
- [Commits](https://github.com/gradle/wrapper-validation-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-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>
2024-02-05 18:38:02 +00:00
Away
276ee537e1
fix: remove unused ExcHandlers blocks (PR #2086 )
...
* Removing unused ExcHandlers blocks
* Improving removing unused ExcHandlers blocks
* Removing gradlew of the commit
* Adding test 2 for UnreachableCatch
* Update jadx-core/src/test/java/jadx/tests/integration/trycatch/TestUnreachableCatch2.java
---------
Co-authored-by: Away-pp <vladimir@DESKTOP-KESF23K>
Co-authored-by: skylot <118523+skylot@users.noreply.github.com >
2024-02-04 18:02:34 +00:00
Andrei Kudryavtsev
7e628ad1a1
fix(gui): detecting tab click with mousePressed instead of mouseClicked (PR #2097 )
2024-02-04 17:36:02 +00:00
Sebastian Gallese
0a40b53412
docs: update Build Status shield in README (PR #2095 )
2024-02-01 17:20:02 +00:00
dependabot[bot]
682f90de2f
build(deps): bump gradle/gradle-build-action from 2 to 3 (PR #2094 )
...
* build(deps): bump gradle/gradle-build-action from 2 to 3
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ) from 2 to 3.
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* migrate to gradle/actions/setup-gradle@v3
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: skylot <118523+skylot@users.noreply.github.com >
2024-01-29 20:00:31 +00:00
Skylot
1a07ab8ab1
chore: update dependencies
2024-01-25 20:10:39 +00:00
Skylot
d86449a8ea
fix(res): ignore resource table entries with '../' in name
2024-01-25 20:09:21 +00:00
Skylot
75d2e540aa
refactor: add new task executor, remove task barrier ( #1879 )
2024-01-25 19:45:23 +00:00
bagipro
e73612b4d2
feat(res): disable XML pretty print (PR #2087 )
...
Co-authored-by: bagipro <bugi@bugi>
2024-01-22 15:01:38 +00:00
Away
a19aec9d9f
fix: use correct order in removeUnreachableBlocks (PR #2085 )
...
* Fixing wrong order in removeUnreachableBlocks
* Removing dead code in TestTernary4 test
* Do not clear instructions in detach blocks method
2024-01-21 16:05:02 +00:00
Skylot
61be1d8b0a
fix(gui): allow to reset variable name, fix renames for inner classes
2024-01-18 20:36:51 +00:00
Skylot
4483533417
fix(gui): highlight word even if cursor at the end of that word ( #2083 )
2024-01-18 19:40:53 +00:00
Skylot
fb703cd856
fix(gui): scroll to first error on jadx script check/run
2024-01-18 18:17:53 +00:00
Skylot
c0ff7572ac
fix(gui): round file size to block size for cache usage calculation
2024-01-17 18:25:35 +00:00
Skylot
8e7ffc8ddb
fix: support switch over enum by ordinal
2024-01-16 20:40:51 +00:00
Skylot
f994abee21
build: add Java 21 to Gitlab CI
2024-01-15 19:34:29 +00:00
Skylot
6f1dfb6848
chore: update dependencies
2024-01-15 22:18:45 +03:00
Skylot
306bc7abc3
feat(java-input): support jsr/ret opcodes ( #2039 )
2024-01-15 22:18:44 +03:00
Skylot
8ed48183c7
feat(plugins): add API for search/use other plugins
2024-01-15 22:18:44 +03:00
Skylot
fdc3fe1a8d
fix(java-input): use correct registers for dup2_x* opcodes
2024-01-15 22:18:44 +03:00
Away
2805770510
fix: removeUnreachable not searching in all blocks (PR #2082 )
...
Co-authored-by: Away-pp <vladimir@DESKTOP-KESF23K>
2024-01-14 17:07:39 +00:00
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