* Add new CLI args for mapping files and deprecate args regarding jobf files (will be moved to the cache dir in the future)
* Add support for importing method arg mappings
Also change `mapping-file` to `mappings-path`, since folders are supported, too
* Add GUI for importing mappings
* Also show save file dialog when exporting mappings
* Fix crash on startup when `--mappings-path` parameter is set
* Include imported renames when exporting mappings
* Add "close mappings" menu entry
* Don't instantiate MappingTree unless actually needed
* Terminology: `import` → `open`; `export` → `save`
* Save location of open mapping file into project data
* Correctly reset cache when loading new mappings
* Remove unused import
* Save opened mappings' last modified date to reset cache when changed
* Fix if statement
* Correctly handle absence of mappings path in project data
* Show overwrite warning for folders only if not empty
* Prevent crash when imported mappings don't have any namespaces
* Handle wrong mappings namespace count error
* Replace unneeded public with private
* Add option for saving open mappings directly to disk
* Correctly propagate and throw exceptions during decompiler init
* Respect opened mappings' existing namespaces; fix related crash
* Deduplicate code, add `DalvikToJavaBytecodeUtils` class
* Small cleanup; move more functionality to utility class
* Support for importing class, field and method mappings
* Handle mappings in RenameDialog
* Fix checkstyle
* Fix wrong naming order
* Use modified mapping-io JAR from https://github.com/skylot/jadx/commit/18070eb7a649db0b0daef38d456316d5b4650072
That commit got rid of redundant embedded libraries
* Add null checks
* Check if mapping tree is null before running MappingsVisitor
* Use working mapping-io build
* Handle cache invalidation directly in DiskCodeCache class
* Don't reset UserRenamesMappingsMode if project is just reloaded
* Fix checkstyle
Co-authored-by: Skylot <skylot@gmail.com>
* Adding logcatController class and writing adb / debugger panel information to the controller.
* Finished parsing logcat binary output and writing an arraylist containing all events.
* added highlighting of logcat output based on type. Added timestamp parsing.
* Updated code to only get new log messages.
* Added additional code for select all
* Completed Check and uncheckall options.
* Changed log highlighting to log color. Changed from JTextArea to JTextPane. Logcat pane will now autoscroll only if it is already scrolled to the bottom. Debugger exit will now stop logcat as well.
* Moved labels into NLS rather than using hardcoded strings.
* Implemented the ability to autoselect attached process. Changed the formatting of logcat messages.
* Moved labels into NLS rather than using hardcoded strings.
* updating to use info getter methods rather than directly accessing variable
* Added Logcat Pause Button
* Added Clear button
* Updated clear icon
* Cleaning warnings
* cleaning
* Changed behavior to only show logcat for debugged process to start with.
* cleaning
* cleaning
* cleaning
* applying spotless
* Fixing bug with switch
* fixed formatting issue
* add missing localization strings
Co-authored-by: green9317 <38409554+green9317@users.noreply.github.com>
Co-authored-by: TheCobraChicken <jeffmlitfi@gmail.com>
Co-authored-by: Skylot <skylot@gmail.com>
* 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
* 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>
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