summaryrefslogtreecommitdiff
path: root/enigma/src/main/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Optimize JAR indexing (#552)Gravatar Joseph Burton2025-08-0618-502/+501
| | | | | | | | | | | | | * Multithread JAR indexing * Replace `Analyzer` with custom `AnalyzerAdapter` implementation * Compute frames on class files from Java 1.5 or older * Delete InterpreterPair * Don't analyze non-enum initializers in EnumFieldNameFindingVisitor * Classes may not have frames in java 6
* Update to Mapping-IO 0.7 (#550)Gravatar Julian Burner2025-01-131-1/+3
|
* Update to Mapping-IO 0.6 (#547)Gravatar NebelNidas2024-08-271-32/+24
| | | | | | | * Update to Mapping-IO 0.6 * Make `legacy` suffix translatable * Only respect `use_mappingio=false` when Enigma has an alternative reader/writer
* Fix Enigma dir writer behaving incorrectly after the first write (#546)Gravatar NebelNidas2024-08-191-6/+6
| | | | | | | * Fix Enigma dir writer behaving incorrectly after first write when using MIO * Fix checkstyle * Fix misleading field name
* Add temporary bodge to MIO Enigma dir writer to support deltas (#543)Gravatar NebelNidas2024-04-102-10/+55
|
* Invert Mapping-IO Proguard mappings to mirror legacy behavior (#542)Gravatar NebelNidas2024-04-081-1/+22
| | | | | * Invert Proguard data read from / written by Mapping-IO to mirror legacy behavior * Fix code style
* fix NoSuchFileException when exporting sources (not jar) (#494)Gravatar Taewon Kim2024-04-071-0/+2
| | | | | | | | | | | | | | | | * fix writer doesnt create file * Update enigma/src/main/java/cuchaz/enigma/EnigmaProject.java Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com> * doesnt need to create file manually Co-authored-by: modmuss <modmuss50@gmail.com> --------- Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com> Co-authored-by: modmuss <modmuss50@gmail.com>
* Add file extensions to open and save dialogs (#532)Gravatar Juuz2024-04-061-13/+49
| | | | | | | | | | | | | | | | | | | | | | | | | * Add file extensions to Save As dialog * Include leading dots in file extensions for simplicity * Add file extensions to open mappings dialogs * Remove unused tinyMappingsFileChooser * Use the same file chooser for all mapping IO * Fix NPE by using Enigma directories as the default mapping format Fixes #533. * Fix code style * Allow .mappings extension for single Enigma files * gradlew.bat --------- Co-authored-by: NebelNidas <nebelnidas@gmail.com>
* Add Vineflower decompiler (#541)Gravatar NebelNidas2024-04-0616-17/+624
| | | | | | | | | * Add Vineflower integration * Fix some confusing names * Rename method to reflect visitor pattern naming schemes * Remove dead null check
* Fix possible NPE in MappingIoConverterGravatar modmuss502024-02-151-1/+4
|
* Mark MIO-related methods as internalGravatar NebelNidas2023-11-161-0/+4
|
* Don't only write diffs when MIO writer was last usedGravatar NebelNidas2023-11-161-1/+4
|
* Fix importing mappings without field source descriptorsGravatar NebelNidas2023-11-162-8/+50
|
* Allow XSRG and CSRG to be importedGravatar NebelNidas2023-11-161-1/+3
|
* Use System Property for Mapping-IOGravatar NebelNidas2023-10-092-20/+97
|
* Use `VisitableMappingTree` where possibleGravatar NebelNidas2023-10-091-20/+27
|
* Add support for method vars and arg/var commentsGravatar NebelNidas2023-10-091-20/+56
|
* Update to latest Mapping IO commitGravatar NebelNidas2023-10-091-8/+8
|
* Add progress listener to Mapping-IO conversion; deduplicate lang filesGravatar NebelNidas2023-10-096-18/+28
|
* Add Mapping-IO import support; small cleanupGravatar NebelNidas2023-10-092-0/+60
|
* Add initial Mapping-IO export supportGravatar NebelNidas2023-10-092-9/+142
|
* Index more class references (#531)Gravatar YanisBft2023-09-255-1/+45
| | | | | | | * Index more class references * fix checkstyle * index checkcast as well
* Fix mapping uniqueness validator always erroring in certain scenarios (#521)Gravatar Julian Burner2023-08-301-0/+1
|
* Fix double clicking an entry in the "implementations" window not navigating ↵Gravatar mudkip2023-06-246-67/+75
| | | | | | | to the respective class/method (#516) * fix double clicking an entry in the implementations window not navigating to the class/method * fix styling
* Update Procyon and CFR (#515)Gravatar Julian Burner2023-06-182-6/+5
| | | | | * Update Procyon to 0.6.0 * Update CFR to 0.2.1
* Fix `canConflictWith` check for fields (#511)Gravatar Julian Burner2023-06-151-1/+1
|
* Fix NullPointerException when checking if a class is a record due to super ↵Gravatar mudkip2023-06-141-2/+2
| | | | | | | class being null (#510) * fix npe when checking if a class is a record * mark superClass as nullable
* Update CfrDecompiler.java (#498)Gravatar nardpw2023-05-141-1/+1
|
* Allow shadowing fields (#475)Gravatar Julian Burner2023-04-287-3/+70
| | | | | | | | | | | * Fix Enigma not allowing to shadow static fields * Fix mapping uniqueness verification * Allow shadowing any field * Fix a message Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
* Make enum methods `values` and `valueOf` unmappable (#470)Gravatar Julian Burner2022-12-071-0/+11
| | | | | | | | | | | | | * Make enum methods `values` and `valueOf` unmappable * Fix constructor references being remapped * Fix checkstyle * Revert "Fix constructor references being remapped" This reverts commit c65d59c0bcfbecaa31494aa3bd0d493f43bbc099. Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
* Fix constructor references being remapped (#480)Gravatar Julian Burner2022-12-071-1/+2
| | | Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
* Improve error handling in some places (#464)Gravatar Julian Burner2022-12-076-19/+29
| | | | | | | | | | | | | | | * Improve error handling in some places * Address PR feedback * Address PR feedback (2) Co-authored-by: modmuss50 <modmuss50@gmail.com> * Address PR feedback (3) * Fix checkstyle Co-authored-by: modmuss50 <modmuss50@gmail.com>
* Don't save empty classes (#474)Gravatar Julian Burner2022-12-071-0/+14
| | | Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
* Fix Recaf mappings writer registration (#467)Gravatar Julian Burner2022-09-241-1/+2
|
* Add checkstyle (#460)Gravatar modmuss502022-09-14160-3541/+4153
|
* Nested packages in Swing UI (#458)Gravatar ramidzkh2022-09-121-8/+21
| | | | | | | | | | | | | * WIP nested packages * Fix deobfuscated panel package having obfuscated packages * Remove stream * Mass toggle classes obfuscation status from selector * Fix deobfuscated classes with the same name being hidden from class selectors * Open classes by pressing enter
* Add Recaf format support (#451)Gravatar Toshimichi09152022-06-123-1/+149
| | | | | | | * Add Recaf format support * Update language files Co-authored-by: 2xsaiko <me@dblsaiko.net>
* Fix memory leak with CFR (#448)Gravatar modmuss502022-04-152-73/+69
|
* Fix remapping of field Handle'sGravatar modmuss502022-04-131-0/+14
| | | | This fixes source export, tested with 1.18.2-pre1
* Add a check for space indentation (#433)Gravatar enbrain2022-04-081-3/+7
| | | | | * Add a check for space indentation * Use MappingParseException
* Add readonly bytecode view. (#443)Gravatar modmuss502022-03-305-0/+94
|
* Don't drop none root method mappings that have args/local mappings. (#434)Gravatar modmuss502021-11-171-1/+22
|
* Fix resolveEquivalentMethods sometimes running into infinite recursionGravatar Marco Rebhan2021-09-231-9/+14
|
* Improve record class detection (#428)Gravatar modmuss502021-09-164-9/+10
| | | | | Also generate a method mapping for the record entry, does not support the case of the method having a diffrent name from the field. If there is a component this is remapped via the field mapping.
* Fix reading non-deobfuscated fields that have javadoc attached as obfuscatedGravatar Marco Rebhan2021-07-091-1/+0
|
* Entry Changes (#364)Gravatar 2xsaiko2021-07-0829-256/+486
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial refactor: Allow EntryMapping to have null targetName, add EntryChange in favor of entry changing methods in GuiController * Fix resetting name not actually removing it, and renaming a class causing name collisions with itself Closes #246. * Use name proposer for setting default deobf name Closes #314 * Make network protocol use EntryChange directly * Handle writing other data correctly when the deobf name is null * b * Add some new abstraction stuff * Use pattern matching instanceof * Move classes out of newabstraction package * Make EntryChange final * Regenerate equals and hashCode * Convert EntryMapping to record * Make TristateChange final * Safety guard null accessModifier initialization
* Update cfr and fixes a few related issues (#414)Gravatar liach2021-07-033-29/+50
| | | | | | | | | | | | | | | | | | * Update cfr and fixes a few related issues fixes #368 context for token references, missing some field and method references * Prevent crash when cfr fails to decompile a lambda and creates a fallback Signed-off-by: liach <liach@users.noreply.github.com> * Fix issue with parameters incorrectly spilling into other methods Signed-off-by: liach <liach@users.noreply.github.com> * try improve performance of cfr source Co-authored-by: liach <liach@users.noreply.github.com>
* Work around SourceIndexMethodVisitor tripping over missingGravatar Player2021-06-221-17/+19
| | | | MEMBER_REFERENCE data for invokedynamic, print decompilation exceptions
* Structure panel options (#400)Gravatar YanisBft2021-06-152-15/+98
| | | | | | | | | | | | | | | * Structure panel options * changes * always show inner classes in the tree * workaround for toString() and similar * show constructor methods depending on the class obfuscation * use ListCellRenderer instead of toString * list cell renderer
* Fix some exceptions getting silently discarded (e.g. see #398)Gravatar Marco Rebhan2021-06-081-19/+9
|