Commit Graph

645 Commits

Author SHA1 Message Date
cskwrd
83b6ffbba9
fix(gui): fix spelling (PR #1897) 2023-06-07 16:47:39 +01:00
Skylot
50c5f0874f
feat(gui): manage plugins in preferences window 2023-06-06 22:29:31 +01:00
Skylot
a72e6aeafe
feat(plugins): allow to set custom settings page in jadx-gui 2023-06-06 21:58:30 +01:00
Skylot
683cd76cc5
feat: add events support (#1832) 2023-06-06 21:58:29 +01:00
Skylot
2e3579a8fd
fix(gui): disable rename action in tree popup if not allowed (#1890) 2023-06-03 14:38:33 +01:00
Skylot
99c8ceae9a
fix(gui): don't reset package alias on class rename (#1732) 2023-06-03 16:20:44 +03:00
Skylot
3bf101d7ac
feat(gui): split settings into pages 2023-05-27 15:40:38 +01:00
myzhan
c28320e1b2
feat(gui): add an action to prettify json file in resources (PR #1880)
* feat(gui): add an action to prettify json file in resources

* fix build

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-05-25 21:56:06 +01:00
Skylot
8a67c39279
feat(cli): install and manage plugins from command line 2023-05-23 17:53:48 +01:00
Skylot
67054bda3d
fix: add rename reason for method merged with bridge (#1876) 2023-05-20 14:06:31 +01:00
Skylot
ae1b1ce99e
fix(build): use Kotlin with explicit project dependency 2023-05-17 21:26:55 +01:00
Skylot
5d3c96ead2
chore: update dependencies 2023-05-17 15:12:51 +01:00
Krzysztof Iwaniuk
63ad7fb128
feat: add option for hexadecimal integer format globally (PR #1869)
* option for hexadecimal integer format globally

* fix i18n strings, update readme

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-05-15 13:58:13 +01:00
Krzysztof Iwaniuk
ccdbb1d62c
feat: parse and use Kotlin metadata for renames (#1861)(PR #1860)
* initial setup for data class and metadata parsing
* bug fix & comments
* better version using plugin system
* added tests
* ignore getters test fix
* logs & imports
* reverted accidental changes
* moved util classes to plugin, spotless apply
* move test and some other minor fixes

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-05-14 21:34:40 +01:00
Skylot
f52d2814df
fix(gui): queue UI settings update (#1859) 2023-05-08 17:01:26 +01:00
Skylot
f825901849
chore: update dependencies 2023-05-07 20:17:46 +01:00
Skylot
f53dbbfebf
feat: option to disable inner classes move to parent (#1817) 2023-05-06 20:39:50 +03:00
JustFor
ecbcbbe8d4
fix(gui): update CN translation (PR #1852)
Fixed the problem of indistinguishable after English translation.
2023-04-28 22:25:15 +01:00
Skylot
37b1bff8f2
fix(gui): adjust node by offset search in code area (#1845) 2023-04-25 21:28:27 +01:00
JustFor
7f713e5592
fix(gui): update Messages_zh_CN.properties (PR #1831) 2023-04-21 14:42:02 +01:00
Skylot
ee2556ecb6
fix(gui): update mappings node instead full reload on 'save as' (#1732) 2023-04-20 22:00:06 +01:00
Skylot
e57787393e
chore(build): fix gradle tasks dependencies 2023-04-20 19:46:59 +01:00
Skylot
b7634024d6
chore: update gradle and dependencies 2023-04-20 17:22:16 +01:00
Skylot
2e652b4219
fix(plugins): use loaded mapping tree on export (#1732) 2023-04-20 17:22:16 +01:00
Skylot
75fbdd3ac4
chore(build): set required Java version to 11, update dependencies 2023-04-20 17:22:16 +01:00
Skylot
13e317d927
fix(gui): resolve active tab restore issue 2023-04-20 17:22:15 +01:00
Skylot
7a309ca367
fix: improve plugins data handling 2023-04-20 17:22:15 +01:00
Skylot
ee3a653c1b
fix(gui): show options from all plugins 2023-04-20 17:22:15 +01:00
Skylot
e8e7028792
perf: improve usage data apply 2023-04-20 17:22:15 +01:00
Skylot
2403d32ae4
feat(gui): use plain json config instead java preferences 2023-04-20 17:22:15 +01:00
Skylot
1c89c7290c
fix(gui): discard old settings migrations 2023-04-20 17:22:15 +01:00
Skylot
9f7432134c
feat(gui): show loaded mapping file in input nodes 2023-04-20 17:22:14 +01:00
Skylot
7d69e5aaab
feat(gui): add script log open button 2023-04-20 17:22:14 +01:00
Skylot
780b1a0d53
fix(gui): resolve ktlint deprecation warnings 2023-04-20 17:22:14 +01:00
Skylot
cedcc29e01
chore(gui): add missing keys for new i18n file 2023-04-20 17:22:13 +01:00
Skylot
d5219e7f0c
feat: allow to move class to another package 2023-04-20 17:22:13 +01:00
Skylot
9a6dec0dbd
fix: scripts runtime code and docs clean up 2023-04-20 17:22:13 +01:00
Skylot
17574ee554
chore: update dependencies 2023-04-20 17:22:13 +01:00
Skylot
926f4e497a
feat(gui): allow to dock log viewer, new filter modes 2023-04-20 17:22:13 +01:00
Skylot
acbe94df27
feat(script): add code area popup menu action 2023-04-20 17:22:13 +01:00
Skylot
a2f018a00b
feat(gui): add run, check and format script actions 2023-04-20 17:22:12 +01:00
Skylot
745f46f81f
build: configure spotless for kotlin, apply code style fixes 2023-04-20 19:01:41 +03:00
Skylot
6912ed40b4
feat(gui): save usage data into disk cache 2023-04-20 19:01:41 +03:00
Skylot
a89dbc1152
refactor: make input plugin api similar to pass plugins 2023-04-20 19:01:40 +03:00
Skylot
eae9bac938
refactor: move mappings feature to separate plugin module 2023-04-20 19:01:39 +03:00
Julian Burner
cb91c8c41c
feat: mapping-io import support (#1531)(PR #1532)
* Add new CLI args for mapping files and deprecate args regarding jobf files (will be moved to the cache dir in the future)

* Add support for importing method arg mappings

Also change `mapping-file` to `mappings-path`, since folders are supported, too

* Add GUI for importing mappings

* Also show save file dialog when exporting mappings

* Fix crash on startup when `--mappings-path` parameter is set

* Include imported renames when exporting mappings

* Add "close mappings" menu entry

* Don't instantiate MappingTree unless actually needed

* Terminology: `import` → `open`; `export` → `save`

* Save location of open mapping file into project data

* Correctly reset cache when loading new mappings

* Remove unused import

* Save opened mappings' last modified date to reset cache when changed

* Fix if statement

* Correctly handle absence of mappings path in project data

* Show overwrite warning for folders only if not empty

* Prevent crash when imported mappings don't have any namespaces

* Handle wrong mappings namespace count error

* Replace unneeded public with private

* Add option for saving open mappings directly to disk

* Correctly propagate and throw exceptions during decompiler init

* Respect opened mappings' existing namespaces; fix related crash

* Deduplicate code, add `DalvikToJavaBytecodeUtils` class

* Small cleanup; move more functionality to utility class

* Support for importing class, field and method mappings

* Handle mappings in RenameDialog

* Fix checkstyle

* Fix wrong naming order

* Use modified mapping-io JAR from 18070eb7a6

That commit got rid of redundant embedded libraries

* Add null checks

* Check if mapping tree is null before running MappingsVisitor

* Use working mapping-io build

* Handle cache invalidation directly in DiskCodeCache class

* Don't reset UserRenamesMappingsMode if project is just reloaded

* Fix checkstyle

Co-authored-by: Skylot <skylot@gmail.com>
2023-04-20 19:01:38 +03:00
Skylot
cb1f3e9843
refactor: use package nodes in api and ui 2023-04-20 19:01:38 +03:00
Skylot
d4927db52b
refactor: split and simplify deobfuscator 2023-04-20 19:01:37 +03:00
Skylot
278d7fa3f9
feat(script): add options support 2023-04-20 19:01:35 +03:00
Skylot
d9af91bc4d
feat(gui): add auto complete for jadx scripts 2023-04-20 19:01:35 +03:00