Commit Graph

694 Commits

Author SHA1 Message Date
Jiaxin Peng
7e0fafbaf1
fix(gui): fix broken FileDialog by using legacy sort (#1628)(PR #1630)
#1628 #1606 #1213 #1574 #1552
2022-08-11 13:59:46 +01:00
zhongqingsong
57b9c1dd7a
fix(gui): update Messages_zh_CN.properties (PR #1627) 2022-08-11 13:29:15 +01:00
Areizen
cd32151083
fix(gui): correct Frida snippet for constructor (PR #1605)
When hooking a constructor with Frida, call `$new` instead of `$init`. `$init` cannot be used to instantiate an object and is reserved for hooking.

Co-authored-by: Your Name <you@example.com>
2022-08-06 20:16:37 +01:00
Skylot
75b52d672e
feat(gui): save project search history 2022-08-05 20:43:05 +01:00
Skylot
11d04508f7
feat(gui): add manual search, stop and sort actions to search dialog (#1600) 2022-08-05 20:09:33 +01:00
Skylot
e641b773b5
fix(gui): improve search dialog performance 2022-08-05 14:53:48 +01:00
Skylot
c66ffaa7f9
feat(gui): show start page on jadx open 2022-08-03 16:44:55 +01:00
Skylot
5193c6a5d8
chore: add tool for automatically insert new i18n lines 2022-08-03 16:44:40 +01:00
FixTheBug
3ca1357af4
fix(gui): sort resources by deobfuscated name (#1595)(PR #1598)
Co-authored-by: /paul-nguyen-goldenowl <paul.nguyen.goldenowl@gmail.com>
2022-08-01 14:54:22 +01:00
Guilherme
90e95213e4
feat(gui): add Brazilian Portuguese translation (PR #1596)
* feat(translation): add pt-br
* fix: `adb_dialog` prefix deleted
2022-08-01 12:15:35 +01:00
Jan S
ae2d4da585
fix(res): XML "@null" decoding (#1583)(PR #1594)
minor improvements
2022-07-31 13:50:32 +01:00
Skylot
58a46c6417
fix(gui): add constructors usage into class usage (#1591) 2022-07-30 17:22:32 +01:00
Skylot
d3f6160e62
feat: add option to disable finally block extraction (#1592) 2022-07-30 14:07:43 +01:00
Hen_Ry
6802f6028e
fix(gui): update german translation (PR #1554)
* german update
* Fix
* applied the latest changes as discussed

Co-authored-by: Jan Peter Stotz <jpstotz@users.noreply.github.com>
2022-07-27 17:45:36 +01:00
SiderealArt
5ca61cfe18
fix(gui): update zh-tw translation (PR #1589) 2022-07-27 11:16:11 +01:00
Julian Burner
32d55b48f2
fix(gui): replace mixed-up quotation marks with period (PR #1588) 2022-07-26 10:16:34 +01:00
Skylot
ab4b6f9e54
feat: select better resource name (#1581) 2022-07-25 19:53:03 +01:00
Jan S
9100ad1220
fix(debugger): resolve NPE in adb device viewer (#1585) (PR #1586) 2022-07-25 17:44:55 +01:00
Skylot
e4c2d6cf6e
fix(gui): use editor font for usage label 2022-07-20 14:36:51 +01:00
Skylot
fb0bdb5112
fix(gui): allow to use empty name to reset rename 2022-07-20 14:35:53 +01:00
Skylot
f4b3645435
fix: ignore anonymous classes in enclosing node search (#1580) 2022-07-19 19:25:17 +01:00
Skylot
c27f2badf7
fix(gui): resolve payload offset for switch insns in debug smali code (#1575) 2022-07-18 18:50:48 +01:00
Skylot
5ada9331b6
chore: update dependencies 2022-07-14 14:33:04 +01:00
Skylot
a0f4ccb7a4
fix: update deps and fix proto resource loading (AAB) (#1129) 2022-07-14 14:33:04 +01:00
Jan S
3cc464c9c9
fix: IndexOutOfBoundsException in JumpManager (#1576) (PR #1577) 2022-07-13 17:24:20 +01:00
Skylot
77732c83c9
fix(gui): ignore/limit waiting of canceled search task (#1568) 2022-07-01 17:57:59 +01:00
Skylot
2f2fbea558
fix(gui): check user renames (#1557) 2022-06-29 16:21:49 +01:00
Skylot
e7a86a2960
fix(gui): forbid rename method args in fallback mode (#1558) 2022-06-29 15:25:23 +01:00
Skylot
b282d97ffe
fix(gui): set current dir directly in file chooser constructor (#1553) 2022-06-28 16:57:57 +01:00
Skylot
d972d9ec74
fix(gui): ignore errors on code area dispose (#1545) 2022-06-28 16:20:31 +01:00
Jan S
0721a6b050
fix(gui): QuarkReport data validation added and other minor improvements (PR #1556)
* QuarkReport: data validation added and other minor improvements
* checkStyle
2022-06-25 22:24:53 +03:00
zhongqingsong
762ee6550e
fix(gui):complete Chinese translation (PR #1549)
1、Complete Chinese translation
2、Previous word polish
2022-06-25 22:15:22 +03:00
Skylot
18070eb7a6
fix(gui): allow to select file on mapping export 2022-06-20 14:19:59 +01:00
Skylot
8486891728
fix(gui): resolve various minor issues 2022-06-20 13:17:50 +01:00
Skylot
4679172d4f
fix(gui): correct set highlighted text in search (#1507) 2022-06-20 13:16:42 +01:00
Skylot
92a6c333d8
fix(gui): force jadx new version check by default 2022-06-20 12:55:15 +01:00
Skylot
358adbdd65
feat(gui): allow to disable jump on double click (#1540) 2022-06-19 17:19:08 +01:00
Skylot
65f7c80222
feat(gui): add reload and live reload actions (#1537) 2022-06-18 20:20:11 +01:00
Julian Burner
a2cd8e1ead
feat(gui): support export to deobfuscation mapping file formats (#1491)(PR #1505)
* Add option to export mappings as Tiny v2 file

* Comply with JADX's import order conventions

* Only use Java 8 features

* Only use Java 8 features (2)

* Export comments to mappings file

* Method args test (doesn't work)

* Make method arg mapping exports work now

* Use `getTopParentClass()` instead of `getParentClass()`

See https://github.com/skylot/jadx/pull/1505#issuecomment-1145064865

* Remove unneeded method load call

* Small code cleanup; initial (broken) support for method vars

* Fixes regarding inner classes

* Add option to export mappings as Enigma directory

* Add option to export mappings as Enigma file/directory

Temporarily move to my mapping-io fork until this PR gets merged: https://github.com/FabricMC/mapping-io/pull/19

* Fix method vars' lv-indices

* Use correct offset value for method var mappings

* Also supply lvt-index for method var mappings

* Clarify why we're using local mapping-io fork; comment out Fabric Maven for now

* Remove unnecessary `public` modifier

* Make an `if` condition less complicated

* Move mapping export code into jadx-gui (for now)

* Make mapping export async; make export menu only clickable when everything is loaded

* Fix export mappings menu field declaration position
2022-06-11 20:19:08 +01:00
Skylot
702b88228c
fix(gui): resolve popup menu action run (#1514, #1529) 2022-06-11 15:08:28 +01:00
Skylot
14fd88b2f8
fix(gui): add volatile and update sync for decompiler field in wrapper (#1518) 2022-06-08 21:06:57 +01:00
Skylot
39331d9120
fix: remove deprecated --deobf-rewrite-cfg (#1513) 2022-06-06 19:53:47 +01:00
Skylot
81231206f3
fix(gui): reset disk cache on new jadx version 2022-06-04 23:26:25 +01:00
CmP-lt
0809993b37
fix(gui): improve restoration of windows saved state (PR #1511)
* Fix restoration of windows saved state
* Don't skip restoration of window saved bounds when they intersect with screen bounds.
* Restore saved bounds of main window regardless of it's saved extended state (fixes divider location of main split pane being restored incorrectly when saved state of main window is maximized).
* Add handling for out-of-screen(s) window bounds
2022-06-04 17:41:00 +01:00
Skylot
0c3afcc24c
fix(gui): try to prevent jadx node leaks in UI objects 2022-06-03 16:15:14 +01:00
Skylot
dcf4a7c4e3
fix(gui): try to resolve some causes of memory leak 2022-06-01 19:48:51 +01:00
Skylot
9ba07b986b
fix(gui): reduce usage of nullable decompiler field in jadx wrapper (#1506) 2022-06-01 16:36:30 +01:00
Skylot
fcd58ae76f
fix: remap class names for store in disk cache (#1503) 2022-05-30 18:16:05 +01:00
Skylot
df380dea27
chore: update dependencies 2022-05-30 20:06:23 +03:00
Skylot
4fbc56cdb0
build: add unstable win-with-jre bundle 2022-05-28 17:46:48 +01:00
Skylot
98c0416b20
fix(gui): correct close and reopen for decompiler and cache 2022-05-28 16:41:37 +03:00
ZachQin
fa41874e30
feat(gui): add parameters logging in Frida code snippet (#1497)(PR #1498) 2022-05-28 14:39:02 +01:00
Skylot
cb741db623
fix: improve usage search, refactor java nodes creation (#1489) 2022-05-27 17:56:08 +01:00
Skylot
1df217c4a0
fix: save cache dir for reuse on project save/reopen 2022-05-27 16:50:13 +01:00
zhongqingsong
34a31aa7df
fix(gui): complete Chinese Translation (PR #1492)
1. Complete translation of Chinese
2. Polish up part of the translation
3. Restore all text for subsequent translation
2022-05-24 19:09:11 +01:00
Skylot
f364b39b29
fix(gui): save full type info in metadata (#1487) 2022-05-22 16:18:38 +01:00
Skylot
4cd4746f9a
fix(gui): save variable name to show in tooltip (#1487) 2022-05-22 15:34:09 +01:00
Skylot
6448f0e32b
fix: use variable length encoding instead short for offsets (can overflow) (#1489) 2022-05-22 14:23:15 +01:00
Skylot
e07332d49a
fix(gui): resolve cast exception for variable reference (#1489) 2022-05-21 21:33:58 +01:00
Skylot
bd8a44c4c9
fix(gui): correct handle of selected file in save dialog 2022-05-21 21:31:47 +01:00
Skylot
21e94d8d5c
fix(gui): use alias for types in tooltips (#1487) 2022-05-20 22:09:39 +01:00
Skylot
e4b19ab560
fix(gui): add missing Use debug info option 2022-05-20 22:09:39 +01:00
skylot
0606c90f22
feat(gui): disk code cache and search rewrite (PR #1483)
* feat: implement disk code cache
* feat: rewrite code metadata handling, remove code index
* feat: rewrite search
* fix: code cleanup and fixes for previous commits
* feat: run code search in parallel
* fix: reset code strings cache on low memory, code cleanup
* fix: include input files timestamp into code hash
2022-05-18 15:19:31 +01:00
Jan S
65ade379a6
fix(gui): escape class- method and field names in frida code snippet (PR #1480) 2022-05-10 19:43:15 +01:00
Skylot
a06df187c9
fix(gui): ask for project file path on exit (#1474) 2022-05-08 14:55:25 +03:00
Jan S
e784c7f7df
fix(gui): editor theme loading and error/fallback handling improved (#1476)(PR #1478)
* fix(gui): editor theme loading and error/fallback handling improved
* Update jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java

Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
2022-05-08 12:53:48 +01:00
Skylot
3366bf3dec
chore: update dependencies 2022-04-26 20:48:18 +03:00
Jan S
a505534197
fix(gui): fix IndexOutOfBoundsException when switching between tabs via mouse wheel (#1456)(PR #1469) 2022-04-26 17:27:39 +01:00
Skylot
e02434d135
fix(gui): confirm directory loading on file open (#1462) 2022-04-25 14:32:00 +03:00
Jan S
4586015fc0
fix(gui): resolve NPE on project save (#1463)(PR #1464)
* fix(gui): NullPointerException on project save

* chore(gui): ensure MainWindow.project is never null
* ensure `files` in `ProjectData` in not null

Co-authored-by: Skylot <skylot@gmail.com>
2022-04-24 10:32:25 +01:00
SiderealArt
1ec127c3cb
fix(gui): update Traditional Chinese translation (PR #1452) 2022-04-19 14:05:55 +01:00
Skylot
abcaafa89a
chore: update gradle and dependencies 2022-04-17 19:28:18 +01:00
Skylot
83decc2473
fix(gui): rename class while rename constructor (#1441) 2022-04-08 13:45:27 +01:00
Skylot
f0a8ef81d3
fix: replace fixed memory limit with -XX:MaxRAMPercentage=70.0 (#1437) 2022-04-05 20:08:39 +01:00
Skylot
994973ac01
fix(gui): check free memory after GC attempt 2022-04-05 19:46:10 +01:00
Skylot
e4f4c1b84a
fix(gui): don't highlight whitespaces and special symbols (#1429) 2022-03-28 19:21:05 +01:00
Skylot
e9b8060889
refactor(gui): improve node action in code area 2022-03-26 15:31:29 +00:00
Skylot
1c2b2c072c
fix(gui): restore open tabs on project load (regression fix) 2022-03-25 13:40:00 +00:00
Skylot
3d451912ee
fix: handle inlined classes while collecting override related methods (#1422) 2022-03-25 12:56:18 +00:00
Skylot
fe91d774fa
feat(gui): add split view for different decompilation modes 2022-03-23 18:16:57 +03:00
Skylot
d8306cb1c0
feat: add 'simple' decompilation mode 2022-03-23 18:16:54 +03:00
Jan S
909cf0a576
fix: various minor improvements (PR #1418)
* chore: better variable naming for getInstance calls
* chore: rebalance preferences window and fix empty plugins section directly after jadx-gui start
* chore: do not ask for project save if nothing had been changed
* use parallel mode for gradle
* minor improvements for app debugging
* apply CodeQL suggestion to prevent log injection
* handle IntelliJ Idea warnings
* replace not-ASCII chars in LogUtils.escape

Co-authored-by: Skylot <skylot@gmail.com>
2022-03-23 15:13:53 +00:00
Jan S
8fe1ee11e4
fix(debugger): resolve IO read problems, proper socket closing (PR #1414)
* fix(debugger): several IO read problems fixed
* merged latest changes
* fixed read loop
* Update jadx-gui/src/main/java/jadx/gui/device/protocol/ADB.java

Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
2022-03-20 17:01:01 +00:00
Skylot
d2bef108f5
chore: update dependencies 2022-03-19 18:52:44 +00:00
Skylot
ba8ba504b1
fix(debugger): small improve for jdwp handshake (#1412) 2022-03-19 18:43:34 +00:00
Skylot
481b5abf85
fix(debugger): handle stream end and partial reads (#1412) 2022-03-18 14:19:08 +00:00
Skylot
c4e1d9445a
fix(gui): reduce threads count on low memory, other tweaks (#1410) 2022-03-17 17:50:28 +00:00
Skylot
9a67b19973
feat(gui): add zoom in/out actions (#1403) 2022-03-11 13:59:00 +00:00
Skylot
95c75bed1e
chore: update gradle and dependencies 2022-03-11 11:34:51 +00:00
Skylot
c54dd77f35
fix(gui): resolve NPE and fix code style in BreakpointManager 2022-03-02 12:10:14 +00:00
Jan S
17fbc99f29
feat(gui): dialog for showing exception details and creating an GitHub issue (PR #1399)
* chore(gui): Dialog for showing exception details and creating an GitHub issue
* directly throw test exception
* checkstyle
* minor
* log exception before the dialog is shown
2022-03-01 15:00:22 +00:00
Skylot
21dd17290b
fix(gui): download only latest version info for jadx update (#1397) 2022-02-28 18:51:13 +00:00
Skylot
dc73fc92be
fix(gui): don't use hardcoded color for link component (#1398) 2022-02-28 18:39:51 +00:00
Skylot
592215db66
fix(gui): handle package version in update check (#1397) 2022-02-28 18:39:51 +00:00
Skylot
fb318e3bd9
fix(gui): revert contextual keywords to identifiers (#1394) 2022-02-27 15:22:41 +00:00
Jan S
fad9e7b827
fix(gui): initialize project name with loaded files (shown in Jadx title) (#1386)(PR #1393) 2022-02-26 09:20:58 +00:00
Jan S
e7151ad7b2
fix(gui): IllegalArgumentException when saving project to a different directory than the APK file (#1387)(PR #1388) 2022-02-23 09:27:04 +00:00
Skylot
779f75cd52
fix(gui): prevent NPE on open preferences without loaded files (#1385) 2022-02-22 18:05:51 +00:00
Skylot
54683e3198
feat: plugin options, add verify checksum option for dex input (#1385) 2022-02-21 19:44:00 +00:00
Skylot
a9bbadd602
feat: add option for deobfuscation map file handle mode (#1351) 2022-02-19 21:20:11 +03:00
Skylot
25166970cc
feat(gui): ctrl+c copy node string in search window (#293) 2022-02-18 19:10:56 +00:00
Skylot
d3a0a56b8b
feat(gui): ctrl+c copy highlighted word in code view (#1292) 2022-02-18 19:10:34 +00:00
YenKoc
3c2c198a0e
feat(gui): add Xposed snippet copy action (PR #1383)
* add xposedscript
* fix code style and minor issues
* some code style changes for Xposed snippets
* some code style changes for Frida snippets + a fix for multidimensional arrays in overload params
* hide frida and xposed when right-clicking on a null node
* small style fix
* fixed formatting violations
* fix minor issues

Co-authored-by: Skylot <skylot@gmail.com>
Co-authored-by: Orip <oriori1703@gmail.com>
2022-02-18 12:54:41 +00:00
Skylot
01f74ff706
chore: update gradle and dependencies 2022-02-13 19:08:49 +00:00
Jan S
8d5554f1b5
fix(gui): frida context menu entry does nothing (#1365)(PR #1372) 2022-02-08 12:47:49 +00:00
Ori Perry
873aabb471
fix: use raw class names in Frida action (#1365)(PR #1366)
* Use raw_name instead of full_name for the names of class in generated frida snippet.
Also cleaned the code a bit

* Fixed getting method parameters from inlined methods

* fixed generating code for constructor overloads, more cleaning

* Fixed getting method parameters from inlined methods for real this time

* made the option for a frida snippet only appear if clicked on a relevant node

* added support for generating a frida snippet for fields

* apply spotless

* Update jadx-gui/src/main/java/jadx/gui/ui/codearea/FridaAction.java

Co-authored-by: skylot <118523+skylot@users.noreply.github.com>

* moved the overload check from NodeMethod to FridaAction

* added semicolons in the end of lines of the generated frida snippet

* fix code formatting
2022-02-07 21:50:01 +00:00
cyqw
4bed9dc358
fix(gui): results in usage search should be sorted by name (PR #1363) 2022-02-07 15:39:57 +00:00
Skylot
a27ba3ff4b
fix(res): skip '.9.png' decode if patch data not found (#1112) 2022-02-05 17:45:08 +00:00
Skylot
dd1be3039b
fix(gui): split decompile and index tasks for correct time counting (#1361) 2022-02-05 17:45:07 +00:00
Skylot
8b30b770cd
fix(gui): missing icons and html decorations in usage dialog 2022-02-05 13:36:26 +00:00
Skylot
8ff18e63ee
chore: update dependencies 2022-01-25 18:51:43 +00:00
Ahmet Bilal Can
ae5c00397a
feat(gui): add frida action to copy methods/classes as frida snippets (#1355)(PR #1356)
* add frida action to copy methods/classes as frida snippets
* bug: call toString before comparing
2022-01-24 21:37:12 +00:00
cyqw
be7e1479a1
fix(gui): find usage for overridden methods (#1349)(PR #1352) 2022-01-23 16:06:13 +00:00
Skylot
86582de521
feat: use kotlin intrinsic methods for variables rename (#1207) 2022-01-19 17:30:04 +00:00
Skylot
6a065c46f4
chore: update dependencies 2022-01-13 12:12:15 +00:00
Skylot
092d0d7e67
fix(gui): reduce tree focus switching 2022-01-12 19:57:38 +03:00
Skylot
5ca7285558
fix(gui): correct handling for tree row click (#1324) 2022-01-12 16:57:25 +00:00
Jan S
72542fa6f9
fix(gui): processing threads spinner initialization (#1331)(PR #1332)
* fix: processing threads spinner initialization (#1331)
* fix: processing threads spinner initialization (#1331)
2022-01-12 14:23:07 +00:00
demonlol
a250d0461b
fix(dbg): support multiple main <action> and <activity-alias> tags (#1322)(PR #1323)
* fix(dgb): support multiple main <action> and <activity-alias> tags in manifest
* Update jadx-gui/src/main/java/jadx/gui/device/debugger/DbgUtils.java
2022-01-02 20:09:24 +03:00
Skylot
c7795bfc48
fix: improve anonymous class inline (#523) 2021-12-26 13:06:49 +00:00
Skylot
5de46b7e40
chore: update gradle and dependencies 2021-12-24 12:53:30 +00:00
Skylot
659bbbf4fb
fix: correct usage of Path.getParent() 2021-12-20 16:48:50 +00:00
Jan S
427e2dddc4
fix: use relative file paths in .jadx project file (#1312) (PR #1313)
* chore: use relative file paths in .jadx project file (#1312)
* code beautified
* requested changes
2021-12-20 13:52:51 +00:00
Skylot
01f47282ed
fix: forbid 'printStackTrace()' usage 2021-12-18 19:24:36 +00:00
Skylot
addaffcd1d
chore: update dependencies 2021-12-15 11:56:01 +00:00
SiderealArt
9c446ebbd6
feat(gui): add Traditional Chinese translation (PR #1306) 2021-12-12 16:05:10 +00:00
Skylot
2d6f819c86
chore: update gradle and dependencies 2021-12-11 16:22:27 +00:00
Surendrajat
46eeb0bc22
fix(gui): forward navigation shortcut on macOS (#1297)(PR #1301)
* fix: forward navigation shortcut on macOS
* apply suggestion
2021-12-06 16:45:29 +03:00
Skylot
6e8baef9b2
feat(gui): allow to minimize/maximize search windows (#1298) 2021-12-04 11:04:17 +00:00
Skylot
947b621733
feat: add option to use dx/d8 for convert java bytecode (#1299) 2021-12-03 15:05:28 +00:00
Moredistant
59ef569a63
fix(gui): update chinese translation (PR #1296) 2021-11-30 11:57:16 +03:00
Choiman1559
abae225915
Update Korean translation (#1294)
* Update Messages_ko_KR.properties

* Update Messages_ko_KR.properties

Add missing translations
2021-11-29 19:56:01 +03:00
Haeter
0a8192168a
fix(gui): update Quark report parsing (#1289) (PR #1291) 2021-11-28 19:31:28 +03:00
Hen Ry
88fd5a517e
fix(gui): update German translation (PR #1290)
* Updated German translation
2021-11-28 19:15:07 +03:00
zhongqingsong
74c5b616a4
fix(gui): update Chinese translation (PR #1287)
1. According to the English version of the document, complete the left texts.
2. Fix some inaccurate word, such as field, old CN is variable(变量),  inadequacy. signer, old CN is somebody(人), now it's something(者)。
3. Fix improper use of symbols, Lack of symbols in some place, some EN symbol translate to CN symbol.
4. Other change
2021-11-26 18:40:01 +03:00
Jan Peter Stotz
b22812b43a fix: APK signature description for unprotected entries only applies to v1 signatures 2021-11-24 16:46:38 +03:00
Moredistant
9aa30f77b7
fix(gui): update chinese translation (PR #1284) 2021-11-23 15:54:53 +03:00
Martin Kay
2dbef83fa6
feat(gui): smali code highlighting (PR #1283)
* smali code highlighting is basically perfect
* Optimize smali highlight color matching, and provide original jflex generation

* reformat code
* disable checkstyle
* update shell to be more environment independent

Co-authored-by: Skylot <skylot@gmail.com>
2021-11-23 15:53:37 +03:00
Skylot
46b07863c1
build: fix bundle build 2021-11-20 20:49:57 +00:00
Skylot
9daf386d66
build: bundle JRE with jadx-gui 2021-11-20 14:17:05 +00:00
Skylot
49b4079cd8
chore: update dependencies 2021-11-20 16:35:23 +03:00
Jan Peter Stotz
0ffa1838a2 chore: Updated German translation 2021-11-20 16:02:39 +03:00
Jan S
0efca29e95
fix: configured resource indexing size limit is now correctly considered (PR #1278) 2021-11-18 18:58:20 +03:00
Skylot
570e7528a7
fix(gui): use correct definition position on jump after code reload (#1273) 2021-11-14 13:05:22 +00:00
Skylot
918585968d
perf(gui): on rename unload dependent classes instead recompile 2021-11-13 14:53:51 +00:00
Skylot
cf918a897f
fix(gui): collect FlatLaf themes without reflection 2021-11-12 18:01:52 +00:00
Skylot
5fc27c1136
perf(gui): improve decompilation speed (#1269)
- use index only in one thread to reduce synchronization locks
- collect usage info on request, remove global collection
- adjust decompilation order to reduce locks, improve memory usage
- prefill cache of super types in clsp graph to remove locks
2021-11-12 13:54:56 +00:00
Skylot
6bcc48c462
chore: update gradle and dependencies 2021-11-11 11:12:21 +00:00
Skylot
ea167cbefc
fix(gui): resolve NPE in resource index for single dex, other minor issues 2021-11-08 15:18:30 +00:00
Skylot
4479a3fbd5
fix(gui): restore resource tabs on project open 2021-10-29 15:23:22 +01:00
Skylot
f5216b77f8
fix(gui): resolve some minor rename issues
- correct variable definition in method arguments
- refresh current class if rename interface method
2021-10-28 18:38:53 +01:00
Skylot
39dc288978
feat(gui): save open tabs in project file 2021-10-27 21:28:18 +01:00
Skylot
f37005958f
fix(gui): sort results in usage dialog (#1104) 2021-10-27 15:22:33 +01:00
Skylot
dfdc14ea86
feat: rename without deobfuscation, save renames in project (#1076 #1022) 2021-10-26 20:23:21 +01:00
Skylot
82712776cc
feat(gui): add issues panel and summary report (#986) 2021-10-23 16:03:06 +01:00
Skylot
439446816c
fix: update Quark report format parsing 2021-10-22 17:07:45 +01:00
Jan S
940108661c
fix(gui): "Always Select Opened File/Class" was not syncing upon activation (PR #1261) 2021-10-22 15:17:27 +03:00
Skylot
94b00b4e7a
feat(gui): add option to change line numbers mode (#1223) 2021-10-20 18:42:15 +01:00
Skylot
48252c3c3d
feat: add option for code comments levels (#998) 2021-10-19 16:47:20 +01:00
Skylot
37adce2efb
chore: update dependencies 2021-10-17 19:53:01 +01:00
Skylot
f30c14b277
feat(gui): don't run full decompilation for usage search
New approach will run partial decompilation for classes
from usage info collected on file load (pre-decompilation stage).
2021-09-30 16:23:09 +01:00
MrIkso
8e89a2ef1b feat(gui): added option to always select opened file/class 2021-09-03 19:12:29 +03:00
MrIkso
316c2fdd4d fix(gui): updated SearchBar in code viewer 2021-09-03 19:12:29 +03:00
Nico Mexis
f681c8963d
fix: use maven-publish for JitPack and other fixes (PR #1242)
* Update dependencies
* Fix spaces in file paths
* Update Gradle for LGTM
* Update spotless
* Fix Jitpack

Co-authored-by: Skylot <skylot@gmail.com>
2021-08-27 19:05:52 +03:00
Skylot
5af60b2ff4
fix(gui): improve constructors and classes usage list 2021-08-23 17:10:43 +01:00
Skylot
c8d7fce938
fix(gui): use correct type formatter in class tree 2021-08-22 18:53:12 +01:00
Skylot
90fbc790d9
fix(gui): exclude declaration from usage list (#1110) 2021-08-22 18:03:15 +01:00
Skylot
1ce3fc972a
fix: improve disassemble view for java-input 2021-08-22 16:53:54 +01:00
Skylot
868fa90097
feat: allow to load directories 2021-08-15 14:44:55 +01:00
Skylot
7c0671c81b
feat: rewrite try-catch processing 2021-08-13 23:07:33 +03:00
Skylot
1efdcd7b10
feat: input plugin for java bytecode 2021-08-13 23:07:29 +03:00
Hen Ry
2d9bcdb87a
fix(gui): update Messages_de_DE.properties (PR #1230)
* fix(gui): update Messages_de_DE.properties

* #-fix(gui): update Messages_de_DE.properties
2021-08-12 18:25:36 +03:00
Hen Ry
ac9cace8f6
fix(gui): update Messages_de_DE.properties (PR #1228)
* Update Messages_de_DE.properties
* Update Messages_de_DE.properties

Fix
* uncomment translated lines

Co-authored-by: Skylot <skylot@gmail.com>
2021-08-12 17:12:31 +03:00
Skylot
667cae2e62 chore: use SVG icon for Quark (thanks @MrIkso) 2021-08-04 19:18:03 +01:00
Skylot
e8e0491cb5 chore: fix code formatting and resolve PR issues 2021-08-04 20:41:17 +03:00
Yaroslav
ee12f0bd18
feat(gui): use SVG icons, xml resources impovements (PR #1221)
* fix(xml): add more file based resources type to skip
* fix(res): fix #1060, styles might contain dots in name
* fix(res): use lowercase name on deobfuscated\renamed resources names and id in hex format
* feat(gui): update gui under FlatLaf
* fix(gui): use FlatSVGIcon to fix icons brightness difference
* fix(gui): use source lines only decompiled java code
Co-authored-by: MrIkso <mrkso821@gmail.com>
2021-08-04 20:40:49 +03:00
Skylot
5f24193c49 chore: update dependencies 2021-08-02 18:44:21 +03:00
Skylot
dd29d37154 feat(gui): use FlatLaf for themes support 2021-08-02 18:32:35 +03:00
Jan S
b63e3aca00
feat: add origin file info (code comment for classes, tooltip in tree) (PR #1219)
* chore: make escapeHtml also replace close angle brackets
* chore: if multiple files are loaded, show their path as tooltip
* feat: add comment on classes that contains the dex file name it has been loaded from
* fix: expected line numbers in unit test fixed
* fix: delete comments from generated code as it may contain a colon
* chore: comment removing wasn't able to handle Linux paths with slash
2021-08-01 18:15:05 +03:00
Skylot
b5720bd14e fix(gui): improve Quark tasks scheduling and report viewer (#1119) 2021-07-02 21:32:57 +01:00
Shaun Dang
cc99409a7e
feat(gui): improvements of Quark integration (#1119) (PR #1199)
* Add quark installation
* add error/warning dialog
* change Quark task to background task
* fix missing the last line of input stream
2021-06-30 18:04:50 +03:00
Skylot
1c08d854fb fix(gui): add memory limit checks to export and load tasks (#1181) 2021-05-29 17:11:42 +01:00
Skylot
9c252fb226 fix(gui): add memory and time limits for decompile task (#1181) 2021-05-28 17:52:52 +01:00
Skylot
21da3c8602 fix: reword rename flags in cli and gui (#1178) 2021-05-25 10:10:16 +01:00
Skylot
7ec43776ae chore: update gradle and dependencies 2021-05-21 19:06:30 +01:00
Skylot
8785c33d06 feat: add option to disable methods inline (#1170) 2021-05-18 10:39:30 +01:00
Skylot
4732fa36a6 fix(gui): improve code area performance and line numbers repaint (#1167) 2021-05-07 17:36:06 +01:00
LBJ-the-GOAT
8dad158ae6
fix: resolve LGTM alerts (PR #1162)
* fix LGTM alerts
* Update jadx-gui/src/main/java/jadx/gui/device/debugger/BreakpointManager.java
* Update Smali.java

Co-authored-by: tobias <tobias.hotmail.com>
Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
2021-04-25 23:55:47 +03:00
LBJ-the-GOAT
bfc343d1ee
fix(gui): correct port retry in smali debugger (#1136) (PR #1160)
Co-authored-by: tobias <tobias.hotmail.com>
2021-04-25 20:26:46 +03:00
Jan S
f26032ed7d
fix(gui): small search dialog optimizations (PR #1143)
* avoid extra vertical space below search options when dialog is wide
* make sure the search dialog has the correct size and the options are aligned properly
* regex search: make searchField background red in case of invalid regex entered
2021-04-23 12:33:52 +03:00
Skylot
012f7665aa chore: update gradle to 7.0, update dependencies, fix some build warnings 2021-04-22 19:42:01 +01:00
LBJ-the-GOAT
6bf358fc66
feat(gui): improve exclude package feature (#1151) (PR #1152)
* include & exclude multiple packages at the same time
* use to tree instead of list to display packages.

Co-authored-by: tobias <tobias.hotmail.com>
2021-04-16 13:37:11 +03:00
Skylot
766e7193b9 fix(gui): use correct offset for code line (#1141) 2021-04-01 21:15:17 +03:00
Choiman1559
6fe762aa7b
fix(gui): update Korean translation (PR #1140)
* Update Messages_ko_KR.properties
* remove empty line insertion

Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
2021-03-31 18:00:04 +03:00
Skylot
c95d64909a feat(cli): add decompilation progress 2021-03-29 14:56:40 +03:00
LBJ-the-GOAT
4705194a1d
feat(gui): add a smali debugger (#1136) (PR #1137)
* add a smali debugger
* debugger: support android 11, support 9(may be) & 10 if debug_info available, add rerun.
* debugger: support get/set fields of this, change icons, fix bugs.
* debugger: add timeout to attach

Co-authored-by: tobias <tobias.hotmail.com>
2021-03-28 13:23:07 +03:00
Skylot
a1247f4d96 chore: update dependencies 2021-03-17 13:51:30 +00:00
Skylot
52412dfe31 fix(gui): resolve potential command injection, fix other code style issues (#1119) 2021-03-12 14:54:15 +00:00
Shaun Dang
ab02e6e7c3
feat(gui): add Quark-Engine integration (#1119) (PR #1135) 2021-03-12 16:44:42 +03:00
bagipro
9ef99a2b92
feat: implement Android App Bundle support (#1129) (PR #1131)
* Implement proto parse
* fix code formatting
* fix tests with empty input
* revert not needed code style changes
* Implement parse of resources.pb for AAB

Co-authored-by: bagipro <bugi@MacBook-Pro-2.local>
Co-authored-by: Skylot <skylot@gmail.com>
2021-03-08 21:34:52 +03:00