Commit Graph

2266 Commits

Author SHA1 Message Date
Skylot
5c83c22501
feat(java-input): support StackMapTable to get stack info for unvisited jumps (#2271)
Some checks failed
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
CodeQL / Analyze (java) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
2024-09-14 22:45:31 +01:00
Skylot
7bb5c0a859
fix: protect class deps from loading in different decompilation mode
Some checks failed
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
CodeQL / Analyze (java) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
2024-09-13 21:25:11 +01:00
Skylot
603863403f
fix: do not add custom passes for fallback and simple modes (#2276) 2024-09-13 21:01:19 +01:00
Skylot
889a945cf1
fix: additional checks for class signature (#2272)
Some checks failed
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
CodeQL / Analyze (java) (push) Failing after 1s
2024-09-12 20:29:05 +01:00
Skylot
fd80e03809
fix: check if debug info offset is invalid (#1653)
Some checks failed
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
CodeQL / Analyze (java) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
2024-09-11 19:54:49 +01:00
Skylot
b5807082d9
chore: update gradle and dependencies 2024-09-11 19:54:49 +01:00
Skylot
5d1f0b8cae
feat(res): support grammar inflection flag in res config (#2270) 2024-09-08 21:49:13 +01:00
Skylot
3f9aa34057
fix(gui): resolve old objects reference leak in TabsController 2024-09-07 01:21:46 +03:00
Skylot
e2c860f260
refactor(res): use list instead map to store entries offsets 2024-09-07 01:21:46 +03:00
Skylot
0938351d97
feat(res): support compact resource entries (#2268) 2024-09-07 01:21:42 +03:00
pubiqq
937dd20794
feat(res): support 16-bit entry offsets (PR #2269) 2024-09-06 23:21:21 +01:00
pubiqq
ea5e87560a
feat(res): improve error message for unsupported ResTable flags (PR #2266) 2024-09-05 19:13:26 +01:00
Skylot
5fbbf2150e
fix(res): prevent duplication of ARSC entries (#2263) 2024-09-04 21:31:37 +01:00
Skylot
0e11bffe82
chore: update dependencies 2024-09-04 20:02:56 +01:00
Skylot
ba9af5c288
fix(gui): minor fixes for code jumps 2024-09-04 19:59:57 +01:00
Skylot
cca706c94f
fix: improve 'continue' insertion for switch in loop (#2249) 2024-09-01 23:02:22 +01:00
Skylot
2df69bbfb4
fix(gui): prevent UI stuck on class load (#2259) 2024-08-31 22:30:18 +01:00
Skylot
f5307636ef
fix(gui): merge full class name tokens for constructors (#2261) 2024-08-30 22:39:43 +03:00
Mino
9a39b70a46
fix(gui): Quick Tabs Optimization (PR #2242)
* optimize tabs reorder

* restructure based on quick tabs architecture

* code formatting

* log all exceptions from background executor

* various improvements

---------

Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
2024-08-30 20:33:05 +01:00
pubiqq
e63808bc4b
fix: improve checking of access modifiers (PR #2255) 2024-08-20 16:45:28 +03:00
Skylot
847225a6a9
fix: improve try/catch temp edges injection (#2247) 2024-08-17 21:09:31 +01:00
Skylot
eee354a3ab
chore: update gradle and dependencies 2024-08-17 21:01:27 +01:00
Skylot
1cc00a54f3
fix(gui): use correct translation in rename dialog (#2254) 2024-08-17 21:58:39 +03:00
pubiqq
ffdad1b652
fix: improve checking of access modifiers for methods (PR #2252) 2024-08-15 23:20:07 +01:00
pubiqq
9a8ec76989
fix: improve checking of access modifiers for classes (PR #2251) 2024-08-15 19:59:44 +01:00
Skylot
0be5b2cea9
refactor(tests): add debug checks switch to jadx args 2024-08-13 22:39:48 +01:00
Skylot
c94201be4a
fix: improve switch out search in loop (#2246) 2024-08-12 22:06:03 +01:00
Skylot
1051dacb1e
refactor(tests): migrate from Hamcrest to AssertJ 2024-08-11 21:55:56 +01:00
Skylot
a2bfe9bbe8
chore: add openrewrite gradle plugin to improve code quality 2024-08-11 21:10:01 +01:00
Skylot
8c6ec3bccc
fix(gui): trim also leading spaces in paths from file dialog (#2244) 2024-08-10 19:24:05 +01:00
Skylot
015876b790
fix(gui): trim trailing spaces in input files (#2244) 2024-08-10 00:31:25 +01:00
Skylot
280f3870a9
fix: handle quick return on branched constructor (#2240) 2024-08-09 22:54:13 +01:00
Skylot
e9d770ae9e
fix: use correct approach to get prev block on path (#2239) 2024-08-09 22:51:37 +01:00
Skylot
5f1bd1d9ba
chore: migrate gradle shadow plugin 2024-08-08 20:44:34 +01:00
pubiqq
60fb458024
fix: improve inlining synthetic accessors (PR #2243)
* fix: fix inlining synthetic accessors

* add test, undo changes in InsnNode

---------

Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
2024-08-08 20:27:08 +01:00
Skylot
1b08779536
chore: update dependencies 2024-08-07 19:06:58 +01:00
Skylot
c37e39a819
chore: code improvements by cleanthat 2024-08-07 00:34:22 +01:00
Skylot
2d58fbd4b1
chore: forbid use ArrayList as a variable type 2024-08-07 00:28:39 +01:00
Mino
ffbf800404
feat(gui): Quick Tabs Overhaul (PR #2241)
* restructure quick tabs code

* code formatting

* display open tabs

* added bookmark tabs feature

* fix tabs pin and bookmark not saved

* fix NPE treeModel not initialized

* Fix hardcoded strings

* remove unused statement

* fix NPE again

* added bookmark overlay

* preserve tabs order

* fix context menu actions

* remove unnecessary public modifier

* save tabs in tabbedpane order

* remove unreferenced tabs

* Update jadx-gui/src/main/java/jadx/gui/ui/tab/TabComponent.java

---------

Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
2024-08-06 23:47:25 +01:00
dependabot[bot]
500aa8a68d
build(deps): bump gradle/actions from 3 to 4 (PR #2238)
Bumps [gradle/actions](https://github.com/gradle/actions) from 3 to 4.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/v3...v4)

---
updated-dependencies:
- dependency-name: gradle/actions
  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-08-05 18:35:39 +01:00
Skylot
58e8268126
fix: workaround to make method inline deterministic (#1089) 2024-08-04 22:46:46 +01:00
Skylot
f9da6e00ed
fix(gui): add VM flags to fix UI ghosting (#2225) 2024-08-04 19:40:14 +01:00
Skylot
821cc668c7
fix: don't rerun SSA transform in ConstructorVisitor (#2236) 2024-08-02 21:26:25 +01:00
Skylot
287ba49008
fix(gui): show folding actions in code popup menu (#2234) 2024-08-02 17:13:16 +01:00
pubiqq
115e563a2b
fix: improve checking if methods are inline for FixAccessModifiers (PR #2235) 2024-08-01 21:45:52 +01:00
Mino
1669200e62
feat(gui): smali code folding (PR #2233)
* added smali code folding

* remove unnecessary public modifiers

* improve code

* undo method extract

---------

Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
2024-08-01 19:33:37 +01:00
Mino
6ab224ea0d
feat(gui): pin tabs (PR #2230)
* add ability to pin tabs

* save pinned tabs with Save Project action

* further prevent closing pinned tabs

* add translation entries

* prevent pinning start page

* add pinned tabs tree view

* properly dispose of quickTabsTree

* restructure code

* more unpin context menu items
2024-08-01 18:06:45 +01:00
pubiqq
61855a7ea1
fix: make detailed var info deterministic (PR #2231) 2024-07-31 22:16:07 +01:00
Mino
bda3119e86
fix(gui): horizontal scrolling in Linux (PR #2229)
* fix horizontal scrolling in linux

* improve code

---------

Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
2024-07-31 17:02:00 +01:00
Mino
b26abed686
feat(gui): export resource/class/package (PR #2228)
* feat: export resource

* feat: export class

* restructure code: introduce enum for exporting classes

* feat: export package

* feat: export resource folder

* check directory exists before creation

* apply code formatting

* fix code formatting

* Apply suggestions from code review

---------

Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
2024-07-31 17:00:54 +01:00