Commit Graph

2341 Commits

Author SHA1 Message Date
Skylot
b80f32a36f
fix(smali-input): compile one smali file at a time to avoid 64k limit (#2158) 2024-04-23 22:14:59 +01:00
Skylot
ce527ed753
fix(build): add missing files in bundle 2024-04-20 21:04:17 +01:00
Skylot
f2ea6415c9
fix(cli): don't print stacktrace for incorrect options (#2140) 2024-04-20 18:06:30 +01:00
Skylot
bc70f8eabb
fix: use correct new line string for simple code writer 2024-04-20 17:37:45 +01:00
Skylot
be25cbf8c2
fix: use common parser for manifest, verify app package 2024-04-20 17:37:45 +01:00
Skylot
f9c0cad146
chore: update dependencies 2024-04-19 20:14:25 +01:00
Skylot
b356ff76e1
fix: improve StringBuilder elimination (#2148) 2024-04-19 20:14:25 +01:00
Skylot
ec9244a635
fix(gui): use common code for manifest parsing in debugger 2024-04-19 20:14:25 +01:00
omerfarukkykc
a5bd64461d
fix(gui): remember selected device in debugger (PR #2153)
* ADBDialog->launchApp() if multiple devices presented should let user select the one they desire.

* compare objects directly instead parsing

---------

Co-authored-by: Ömer Faruk KAYIKCI <omer.kayikci@tubitak.gov.tr>
Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
2024-04-19 19:02:12 +01:00
dependabot[bot]
54bf79ccc5
build(deps): bump gradle/wrapper-validation-action from 2 to 3 (#2149) 2024-04-15 18:17:48 +00:00
Skylot
6182332eef
fix: avoid self-loop for exception handlers (#2147) 2024-04-11 23:07:45 +03:00
Skylot
37b57096ec
fix: allow use FieldInfo as switch key (#2147) 2024-04-11 23:07:44 +03:00
Skylot
6aab8fabc9
chore: update dependencies 2024-04-11 23:07:41 +03:00
JustFor
665c1e57d2
fix(gui): update Messages_zh_CN.properties (PR #2146)
Sync new Jadx text.
2024-04-09 22:11:24 +01:00
Skylot
6e8affcbdc
feat: add options to JadxArgs to change code new line and indent (#1945, #1948) 2024-04-08 21:51:24 +01:00
Skylot
41d6b0018e
fix: add missing " * " on new line for block comments, flip addCodeComment args (#2145) 2024-04-08 21:34:34 +01:00
Skylot
dbadbb01fc
refactor: rename method collectArgsWithoutLoading into collectArgNodes in MethodNode (#2142) 2024-04-07 23:09:02 +01:00
Skylot
0f52077c5c
feat: allow to set style for code comments (#2145) 2024-04-07 23:06:32 +01:00
Skylot
ea861829c7
fix: support end block entry for mutli-entry loops (#889) 2024-04-06 22:49:32 +01:00
Skylot
c1de235289
fix: in anonymous class checks ignore instance fields not used outside 2024-04-06 22:45:30 +01:00
Skylot
8f969d4e89
chore: update gradle and dependencies 2024-04-03 21:03:48 +01:00
Skylot
0c1f830f94
fix: lambda decoding and code generation (#2139) 2024-04-03 21:03:48 +01:00
Skylot
43c082e4da
feat: replace Android resource ids with android.R fields (#2119) 2024-03-31 20:37:33 +01:00
Skylot
ecdc4e6757
refactor: move constant collection into separate pass (#2119) 2024-03-30 21:51:02 +00:00
Skylot
b865c9c687
refactor: allow store unresolved fields in ConstStorage (#2119) 2024-03-30 20:52:31 +00:00
xnumad
6b4976c593
fix(gui): handle paths where file name is null (#2136)(PR #2137)
* fix: Ignore invalid files

Avoid NullPointerException when using "Open files" or drag-n-drop

* refactor: Replace Stream API chain with loop

IntelliJ

* fix: Ignore invalid files

Avoid NullPointerException when using "Add files"

* fix: Fall back to complete path string

Instead of empty project name

* fix: Render tree

Project tree (sidebar) didn’t load
Toggling "View > Show flatten packages" threw a NPE here

* fix code formatting

---------

Co-authored-by: Skylot <skylot@gmail.com>
2024-03-29 22:30:01 +00:00
Skylot
2807dc5090
fix(script): add example script for resources rename (#2126) 2024-03-20 18:46:44 +00:00
Skylot
463d2b90fa
fix: don't apply node positions and prevent eager loading for custom decompile modes (#2116) 2024-03-19 20:23:04 +00:00
Skylot
bff00d101f
fix(script): add option flags, fix missing script options in help 2024-03-19 20:22:50 +00:00
Skylot
1290ef63a2
fix(build): enable publish to maven for rename-mappings plugin 2024-03-16 21:58:03 +03:00
Skylot
49d2b34d84
chore: update dependencies 2024-03-16 21:58:00 +03:00
CKCat
eecdfae73f
fix(res): resolve some manifest decode errors (PR #2122)
* The elementSize may be larger than the actual size of the element chunk.

* end namespace chunk size can be any value.

* keep at least a warning.
2024-03-16 18:57:10 +00:00
JustFor
8760b4ddde
fix(gui): copy strings without quotes (PR #2121)
* Update AbstractCodeArea.java

In general, we need data, not text in code. But now every time you copy the highlighted text, you copy the highlighted quotes as well. This often results in an extra need to delete the quotation marks around the sides, which is confusing.
Now when copying selected highlighted text, quotes are not copied in.

* Update AbstractCodeArea.java

fix code format

* additional checks, move to common method

---------

Co-authored-by: Skylot <skylot@gmail.com>
2024-03-16 18:55:57 +00:00
Andrei Kudryavtsev
3599b248a4
feat(gui): dragging tab appearance settings (#2120)(PR #2118) 2024-03-08 23:11:58 +03:00
bagipro
2fdd496518
fix(res): add indents for namespace declarations (PR #2114)
Co-authored-by: bagipro <bugi@bugi>
2024-03-01 16:32:47 +00:00
bagipro
278e3c2d47
fix(res): avoid duplicated XML attributes (PR #2112)
Co-authored-by: bagipro <bugi@bugi>
2024-02-27 18:49:09 +00:00
bagipro
881a716b8e
fix(res): fixed XML proto parsing for removed debug data (PR #2111)
* Fixed XML proto parsing for removed debug data

* Fixed codestyle check

---------

Co-authored-by: bagipro <bugi@bugi>
2024-02-27 17:34:37 +00:00
Skylot
a73c9e90fc
fix(dex-input): improve error report message for invalid dex checksum 2024-02-26 19:36:28 +00:00
Skylot
56749b2afb
chore: update dependencies 2024-02-25 22:38:00 +03:00
Andrei Kudryavtsev
d7ec35791b
feat(gui): tabs drag and drop reorder support (#1212) (PR #2109) 2024-02-25 19:36:46 +00:00
Skylot
d51362ed50
fix: don't remove exception handlers (#2104) 2024-02-19 20:18:44 +00:00
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