summaryrefslogtreecommitdiff
path: root/enigma/src/main/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix threading issues in ClassHandleProvider that are likely to come up if a ↵Gravatar Joe2025-09-131-9/+49
| | | | plugin frequently invalidates class handles
* Add a way for plugins to invalidate data (mappings, javadocs, decompile), ↵Gravatar Joe2025-09-135-0/+105
| | | | and add a way for them to listen for this.
* Add GuiService for plugins to make additions to the GUI. Also add enough ↵Gravatar Joe2025-09-1322-43/+200
| | | | context to do something useful.
* Add I18n serviceGravatar Joe2025-09-135-16/+59
|
* Fix guava again (#562)Gravatar Joseph Burton2025-09-121-2/+5
|
* Fix crash from multimap conversion (#558)Gravatar Joseph Burton2025-09-031-1/+1
|
* Always specify locale in toUpperCase and toLowerCase (#556)Gravatar Juuz2025-09-032-3/+5
| | | | Not all of these changes are strictly needed to avoid the Turkish i issue specifically, but it's good to be consistent.
* Get rid of Guava (#555)Gravatar J. Fronny2025-08-2177-301/+332
| | | | | | | | | | | | | * Get rid of Guava * Fix NPE * Apply suggestions from review * Checkstyle * Add braces to precondition checks * Forbid space
* Services rework (#554)Gravatar Joseph Burton2025-08-209-272/+357
| | | | | | | * Refactor services * Split out built-in name proposal into a separate plugin so that it can be disabled separately * Fix checkstyle
* Support multiple input jars (#553)Gravatar Juuz2025-08-203-11/+37
| | | | | | | | | * Support multiple input jars This is needed for FabricMC/fabric-loom#1354. * Remove unnecessary null check in GuiController.reloadAll * Remove outdated TODO
* 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