Commit Graph

2221 Commits

Author SHA1 Message Date
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
Skylot
c179beee95
chore: update dependencies 2024-07-28 20:57:37 +01:00
Skylot
04a454094b
fix: improve exception handlers checks (#2086) 2024-07-27 22:09:14 +01:00
Skylot
33bcbfec41
chore(docs): minor fixes 2024-07-27 22:09:13 +01:00
Skylot
ec645d80b1
fix(mappings): try to prevent mapping file reset on export exception, refactor and fix code to avoid NPE (#2220)(#2226) 2024-07-25 17:44:23 +01:00
Jan S.
a8d889de3d
fix(launch4j): do not overwrite Java heap configuration from applicationDefaultJvmArgs (PR #2218) 2024-07-20 20:46:45 +01:00
Skylot
ec0bf701c8
fix(build): fix hiding console in Windows (#2196)
Regression after migration to shadow jar in #1868,
instead CreateStartScripts task from 'application' plugin
'startShadowScripts' task should be modified.
2024-07-19 00:19:47 +03:00
Skylot
ad4dd116be
chore: update gradle and dependencies 2024-07-19 00:19:47 +03:00
Skylot
ef79f266c8
fix(build): fix gitlab build 2024-07-19 00:19:43 +03:00
Jan S
366225f9be
fix(quark): fix automated installation and check exit code of executed external commands (#2119)(PR #2216) 2024-07-12 18:39:17 +01:00
Skylot
730db0d24f
fix(build): do not wrap jar in launch4j (#2186) 2024-07-08 22:17:06 +01:00
Iscle
05fb77e9bd
feat(gui): add button to go to Application class (#2208)(PR #2213)
* feat: Add button to go to Application class

Icons from: https://intellij-icons.jetbrains.design/

* fix: Rename "goto" to "go_to" to keep things consistent
2024-07-08 18:36:45 +01:00
Iscle
bbabfa0354
fix(gui): fix Xposed args code generation (PR #2212)
* Rename .java to .kt

* fix: Fix wrong function arguments when generating kotlin xposed code
2024-07-08 18:34:28 +01:00
Jan S
96bd9f0f17
fix(xml): AXML/Manifest parsing improvements (PR #2211)
* log and ignore decodeValue errors

* skip extra data in package header

* ResourceTypes.h
2024-07-06 19:27:47 +03:00
qfalconer
fd5b397b40
fix(xml): allow for non-standard attributes sizes and avoid index exceptions when decoding some strings (PR #2210)
More lenient AXML parsing: allow for non-standard attributes sizes and avoid index exceptions when decoding some strings

* The attributes size of an XML element is now accounted for. This size must be at least 20 (0x14) bytes but can be greater. Extra bytes are just skipped. When decoding a string, if such decoding is impossible a placeholder string is returned instead of throwing an exception. This is necessary because some malware purposely add android:tag attributes with invalid string index to throw parsers off. They also employ non-standard attribute sizes.

* Minor code restyling

---------

Co-authored-by: qfalconer <knm241@gmail.com>
2024-07-03 18:50:15 +01:00
Artem Zhiganov
f5e3a261b4
fix(gui): update russian translation (PR #2209)
Co-authored-by: SVolf <dev@thunderdog.ru>
2024-06-28 18:39:23 +01:00
JustFor
52a884608a
fix(gui): update Messages_zh_CN.properties (PR #2203)
sync new texts.
2024-06-14 18:52:31 +01:00
Iscle
74ddfde950
feat(gui): allow to check for unstable releases (PR #2200)
* feat: gui: convert JadxUpdate to Kotlin

* feat: gui: allow updater to check for latest unstable artifacts

* fix: remove nullable operator from onUpdate() interface
2024-06-11 22:49:44 +01:00
Skylot
9aacb4f312
fix: config dir was used instead cache dir 2024-06-11 20:55:49 +01:00
Jiaxin Peng
82e2104f3c
fix(gui): support filtering files with multiple extensions in file dialog (PR #2185)
* fix(gui): support filtering files with multiple extensions in file dialog

* lint
2024-05-19 17:47:35 +01:00
Skylot
09fa35f144
feat: allow to change config and cache dirs with env vars (#2159) 2024-04-27 21:48:42 +01:00
Skylot
f2a6a1e942
build: update JDK to 21 for windows artifacts 2024-04-27 17:40:06 +01:00
Andrei Kudryavtsev
b85900aa3d
feat: move AAB support to separate plugin (PR #2165)
* wip: finished with factories

* wip: bundleconfig.pb

* wip: jadx-aab-input, separate BundleConfig parser

* wip: removed test apks

* wip: proto xml pretty print

* wip: fixed getNamedValues NPE

* minor fixes

* spotless

* enabled zip64 for gui shadow jar

* spotless

* spotless

* reverted manifest identification since signature parsing not working at the moment

* replace static methods with new API methods

---------

Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
2024-04-26 21:54:54 +01:00
Jan S
37a42d1418
fix(gui): show correct content of binary resources in hex view (#2160) (PR #2166) 2024-04-24 19:29:52 +01:00
Jan S
07dde05337
fix(build): configure launch4j to not change current directory (#2162) (PR #2163) 2024-04-24 18:52:08 +01:00
Nick
8618214c7f
docs: improve installation section (PR #2161)
* Update README.md

* Update README.md
2024-04-24 18:43:05 +01:00
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