Commit Graph

2085 Commits

Author SHA1 Message Date
Skylot
15d464d620
fix(gui): improve code and method search (#2033) 2023-10-18 21:53:40 +01:00
Skylot
1bd4526e4c
fix: improve restructure of nested try/catch/finally blocks (#2033) 2023-10-15 20:06:35 +01:00
Skylot
816308e3ca
chore: update dependencies 2023-10-15 20:06:35 +01:00
rawer886
cfd851a980
fix: use correct imports for classes from default package (PR #2031)
* fix: use fully qualified package names for classes of defpackage

* fix: use correct imports for classes from default package (#2027)
---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-10-11 20:04:03 +01:00
Julian Burner
d129be7e86
fix: update to Mapping-IO 0.5 (PR #2029)
* Update to Mapping-IO 0.5

* Fix Spotless error

* Fix Spotless error (2)

* Sort mappings by name when exporting
2023-10-09 18:46:51 +01:00
Skylot
6433fcef72
chore: update gradle and dependencies 2023-10-07 18:08:44 +01:00
Jan S
d120556772
fix(res): add resource entry offset check (PR #2024) 2023-10-06 17:25:36 +00:00
Skylot
19f40b8549
feat(cli): add option to show available plugins list 2023-09-27 19:44:58 +01:00
Skylot
89acf73010
feat(plugins): cache available plugin list 2023-09-27 19:44:53 +01:00
Goooler
b70276d896
fix(gui): update zh_CN translation (PR #2022) 2023-09-27 16:19:11 +01:00
5idereal
76b370e249
update zh_TW translation (#2021) 2023-09-26 17:15:09 +01:00
Skylot
b73f2ef0b9
fix(res): place xml attributes on new line (#2012) 2023-09-24 20:40:33 +01:00
Skylot
762c2d70bd
chore: fix typos 2023-09-24 18:53:39 +01:00
Skylot
4e81bdd76f
chore: update dependencies 2023-09-22 20:32:40 +01:00
Skylot
4d87b447a6
chore: remove unused code in ClsSet class (#2020) 2023-09-22 20:31:56 +01:00
Roni Ragil Iman Khoirul
8f0d0e4f4d
feat: add Indonesian translation (PR #2018)
* Add Indonesian translation

* fix load i18n resources with deprecated language codes

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-09-20 19:26:59 +01:00
Skylot
c39a696977
feat(script): add methods for apply renames and reload tabs (#2008) 2023-09-15 21:50:47 +01:00
Cesaryuan
b78a0257b4
fix(gui): improve highlight in UsageDialog (#2006)(PR #2007) 2023-09-15 16:19:13 +01:00
xnumad
cdede7eca4
docs: update Arch Linux version badge (PR #2005) 2023-09-14 18:33:31 +01:00
Skylot
72180164d8
chore(script): add example for rename method param from annotation (#2004) 2023-09-12 20:22:14 +01:00
Skylot
2dc0db230c
chore(script): adjust scripts format 2023-09-12 20:21:02 +01:00
Skylot
24657f6b3c
fix(plugins): add a better way to init plugins options 2023-09-11 21:50:48 +01:00
Skylot
e358476c71
fix: attempt to improve package rename checks (#1997) 2023-09-09 20:16:57 +01:00
Skylot
45a637f33b
feat: allow to disable zip security checks (#1579, #980) 2023-09-09 16:10:59 +01:00
Skylot
76cf9596e2
build: fix win bundle script 2023-09-07 20:06:40 +01:00
Skylot
95c07a4e76
fix: synchronize attributes map writes (#2001) 2023-09-07 16:59:20 +01:00
Skylot
2d1d5a419c
chore: update dependencies, resolve gradle warnings 2023-09-07 16:15:05 +01:00
dependabot[bot]
f45547e2c1
build(deps): bump actions/checkout from 3 to 4 (PR #2000)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2023-09-04 18:57:40 +01:00
Jan S
1f463c7152
fix: exclude ZIP entries of less than 25MB uncompressed size from ZIP bomb check (#1570)(PR #1998) 2023-09-02 17:58:09 +01:00
Skylot
2c92c6b0a6
chore(script): add example deobf from toString script (#1996) 2023-09-01 21:18:58 +01:00
Skylot
f83ee45ac8
chore: update gradle and dependencies 2023-08-31 21:31:56 +01:00
Jan S
f695fafe74
chore(debugger): improve code and add details to error messages (PR #1982)
* chore: created list entry getter getRegListEntry for problematic code;
use specific containers/fields instead of SimpleEntry;
* chore: include details on the used ArtAdapter in error message
* add device info to registers exception

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-08-30 22:58:59 +01:00
Skylot
f6ab105ef7
chore: use github issue forms for templates 2023-08-11 20:28:35 +01:00
Skylot
f81a2c4ebb
chore: update dependencies 2023-08-11 17:36:14 +01:00
Skylot
c602b3d967
feat: add support for 'package-info' (#1967) 2023-08-07 18:46:49 +01:00
Skylot
f213082da5
feat(gui): load available plugins from jadx-plugins-list 2023-08-05 22:41:51 +01:00
Skylot
8d26fa2a89
build: don't publish to maven rename-mappings plugin 2023-08-05 19:27:15 +01:00
Skylot
a06231d007
fix(plugins): do not parse kotlin metadata if all options disabled 2023-08-05 19:26:28 +01:00
Mino
68b84ea786
feat(gui): allow user to set custom shortcuts (#1479)(PR #1980)
* feat(gui): allow user to customize shortcuts

* internal: fixed other constructor for jadx action

* make code area actions customizable

* show warning dialog when mouse button is commonly used

* applied code formatting

* code formatting and and moved string to resources

* moved action related classes to their own package

* added fix for actions with modifiers in macos

* ignore left click in shortcut edit

* applied code formatting

* warn user when a duplicate shortcut is entered

* save shortcut when key is pressed (instead of typed)

* fix node under mouse being ignored

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

* add missing import

* applied code formatting

* added custom shortcuts support to script content panel

* save shortcut when key is released (instead of pressed)

* enable custom shortcut in script autocomplete

* fix duplicate shortcut warning when the shortcut is set again at the same action

* fixed mouse buttons shortcut not working for code area

* fix exception with mouse button shortcuts

* fix action getting fired twice

* added variants for forward and back nav actions

* fix exception when shortcut is not saved

* fix mouse button shortcut for auto complete action

* consume mouse event if bound to an action

* workaround not being able to extend HashMap

* fix exception in script code area when using mouse button shortcut

* minor pref serialiazation improvement

* fix action buttons not working (like run action)

* fix exception with plugin actinos

* fixed nullptr when adding an action with null actionmodel to jadxmenu

* fix plugin action name not showing

---------

Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
2023-08-03 20:05:25 +01:00
Skylot
868e99e0b5
build: add windows host for build tests 2023-08-01 18:44:53 +01:00
Mino
95db98e574
fix: resolve exception when androidmanifest.xml is not found (PR #1978) 2023-07-31 22:27:52 +01:00
Mino
63fc7e05b6
refactor: reuse the same parser in main activity action and gradle export feature (PR #1971)
* internal: reuse the same parser in Main Activity action and export gradle project

* removed unnecessary logs

* fixed code formatting issues

* removed no longer used methods

* optimize imports

* fix exception when app name isn't found

* use EnumSet instead of int for parse flags

* moved ApplicationParams class under android utils package

* moved attributes parsing to a seperate method

* fallback to any strings.xml if default one is not found
2023-07-31 18:50:47 +01:00
Jan S
2c2bb64c09
fix(tests): ResXmlGenTest fails on Windows (PR #1972)
* fix(core): fix ResXmlGenTest fails on Windows
* code style
2023-07-31 17:51:59 +01:00
Mino
0f5d07c6b1
feat(gui): hex-viewer for binary asset files (#198)(PR #1969)
* implemented hex-viewer feature

* added support for opening lib (.so) files

* removed unused class

* fix formatting

* fixed error when opening an empty file

* fixed a slight inaccuracy in synchronizing highlights

* defaulted little endian to false

* synchronize hex editor with theme and use smali font

* fixed wrong displayed values

* applied code formatting

* fixed selection color in preview panel

* Changed Smali Editor font entry in settings less confusing
2023-07-31 00:02:39 +01:00
Ohad Shai
fbb6aa580e
chore: upgrade to kotlin-logging 5 (PR #1966)
* upgrade to kotlin-logging 5
* apply code autoformatting
* resolve deprecation warnings

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-07-30 19:02:56 +01:00
Mino
d9692a4f5f
feat(gui): add 'go to main activity' action (#1423)(PR #1965)
* implemented feature: 'go to main activity'
* fix code formatting (added braces to if statements)
* search main activity by original class name, handle exceptions

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-07-29 21:03:25 +01:00
Mino
ef0c09ca5b
feat(gui): show number of search results in search bar (#1819)(PR #1964)
* gui: show number of search results in search bar, closes #1819
* optimized imports
* use string from resources
* applied code formatting
2023-07-28 22:17:04 +01:00
Skylot
752c61ae71
fix: disable zip file checks for new JVM versions (#1962) 2023-07-28 20:09:54 +01:00
Skylot
8f635076ea
fix(gui): allow html for empty package name (#1961) 2023-07-26 21:03:55 +01:00
Skylot
8d5130a329
chore: update gradle and dependencies 2023-07-26 21:03:54 +01:00