Commit Graph

2073 Commits

Author SHA1 Message Date
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
Skylot 09a5e0893b fix: handle classes 'super' loop (#1942) 2023-07-24 21:59:27 +01:00
Jan S de8c315a7a fix(gui): display Quark stderr output in Jadx log (#1955)(PR #1957)
* Quark: also display error stream in Jadx log

* use info log level, open log viewer to track progress

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-07-24 18:03:37 +01:00
JustFor 3abdd40498 fix(gui): update Messages_zh_CN.properties (PR #1951) 2023-07-17 18:45:47 +01:00
Skylot 5b7ebec7e3 feat(gui): add option to set cache location, view/delete exists caches (#1941) 2023-07-17 00:49:40 +03:00
Yoav Sternberg de603ef909 fix(gui): support inline node for jump to code (#1905)(PR #1950) 2023-07-15 18:58:16 +01:00
JustFor a0a6779097 fix(gui): update Messages_zh_CN.properties (PR #1949)
1. Fill in the missing information
2. Sync new texts.
2023-07-12 16:36:43 +01:00
nitram84 ce9645864d fix(res): support formatted=false for strings (PR #1947) 2023-07-09 20:05:29 +01:00
Skylot d076c4e73d build: migrate to kotlin dsl in gradle scripts, update gradle and deps 2023-07-08 20:13:37 +01:00
Skylot 3e4c6a9c51 refactor(gui): don't use map for store open tabs order (#1940) 2023-07-06 17:14:31 +01:00
Skylot 74a2d7d5e7 doc: update contributing guide 2023-07-05 23:21:02 +01:00
bytemarx 219f9ebede feat(gui): close all tabs to the right (#1939)(PR #1940)
* feat(gui): close all tabs to the right (#1939)

* remove usage of LinkedHashMap as variable type

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-07-05 22:54:19 +01:00
Skylot ba0e918fef chore: update dependencies 2023-07-05 20:20:01 +01:00