summaryrefslogtreecommitdiff
path: root/enigma-swing/src/main/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add I18n serviceGravatar Joe2025-09-134-10/+10
|
* Always specify locale in toUpperCase and toLowerCase (#556)Gravatar Juuz2025-09-034-4/+8
| | | | 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-2117-41/+48
| | | | | | | | | | | | | * Get rid of Guava * Fix NPE * Apply suggestions from review * Checkstyle * Add braces to precondition checks * Forbid space
* Support multiple input jars (#553)Gravatar Juuz2025-08-204-18/+26
| | | | | | | | | * 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-062-3/+3
| | | | | | | | | | | | | * 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.6 (#547)Gravatar NebelNidas2024-08-271-10/+20
| | | | | | | * Update to Mapping-IO 0.6 * Make `legacy` suffix translatable * Only respect `use_mappingio=false` when Enigma has an alternative reader/writer
* Add file extensions to open and save dialogs (#532)Gravatar Juuz2024-04-064-22/+147
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-063-2/+3
| | | | | | | | | * Add Vineflower integration * Fix some confusing names * Rename method to reflect visitor pattern naming schemes * Remove dead null check
* Clear undo history when updating editor text. (#540)Gravatar modmuss2024-03-281-0/+6
| | | We don't care about the undo/redo history of the syntax pane, any change history would be stored separately
* Fix editor scaling (#536)Gravatar Julian Burner2023-12-245-26/+49
|
* Don't only write diffs when MIO writer was last usedGravatar NebelNidas2023-11-161-0/+3
|
* Fix importing mappings without field source descriptorsGravatar NebelNidas2023-11-161-1/+1
|
* Use System Property for Mapping-IOGravatar NebelNidas2023-10-092-68/+22
|
* Use `VisitableMappingTree` where possibleGravatar NebelNidas2023-10-091-2/+3
|
* Make Mapping-IO the defaultGravatar NebelNidas2023-10-092-19/+19
|
* Update to latest Mapping IO commitGravatar NebelNidas2023-10-092-2/+7
|
* Add progress listener to Mapping-IO conversion; deduplicate lang filesGravatar NebelNidas2023-10-091-2/+14
|
* Add Mapping-IO import support; small cleanupGravatar NebelNidas2023-10-092-93/+87
|
* Add initial Mapping-IO export supportGravatar NebelNidas2023-10-092-0/+68
|
* Search dialog improvements (#529)Gravatar YanisBft2023-09-253-9/+46
| | | | | | | | | * Improve search dialogs * fix checkstyle * change search class keystroke * better dialog title & don't calculate score if not needed
* Fix documenting constructors (again) (#530)Gravatar Juuz2023-09-251-3/+7
| | | | | | | | | | * Fix not being able to save javadoc on constructors * Fix existing javadoc not showing in the edit dialog on constructors The new logic was modelled after EnigmaDumper, which uses EntryMapping to access the comments. * Add comments about the fix
* Add `Original name` field to identifier panel (#472)Gravatar Julian Burner2023-09-251-1/+24
| | | | | | | | | * Add `original name` field to identifier panel * Fix identifier panel entry order for methods --------- Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
* Fix renaming classes via their constructor (#520)Gravatar Julian Burner2023-08-303-8/+20
| | | | | | | | | | | * Fix `Reset to obfuscated` on constructors * Fix renaming classes via their constructor * Fix `Reset to obfuscated` not getting updated on constructors * Fix checkstyle * Remove unnecessary cast
* Fix collapse all in deobf panel (#527)Gravatar YanisBft2023-08-301-1/+6
|
* Save if fullscreen in config (#528)Gravatar YanisBft2023-08-302-0/+10
|
* Update GuiController.java (#523)Gravatar nardpw2023-07-121-1/+2
| | | | * Fix StatsGenerator encoding issue
* Allow using ctrl-shift-4 to close all open tabs (#518)Gravatar Matei M2023-06-261-0/+1
|
* Fix double clicking an entry in the "implementations" window not navigating ↵Gravatar mudkip2023-06-241-6/+11
| | | | | | | to the respective class/method (#516) * fix double clicking an entry in the implementations window not navigating to the class/method * fix styling
* Fix ghost entries caused by packages becoming empty (#517)Gravatar Julian Burner2023-06-201-2/+2
| | | | | * Fix ghost entries caused packages becoming empty * Fix checkstyle
* fix npe in mapping stats when package name is null (#504)Gravatar mudkip2023-05-141-2/+4
|
* Fix crash in mappings stats. Closes #503Gravatar modmuss502023-05-101-1/+3
|
* Clear Javadoc when text is empty (#473)Gravatar Julian Burner2022-12-071-2/+6
| | | | | | | | | | * Clear Javadoc when text is empty * Address PR feedback Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com> Co-authored-by: ByMartrixx <bymartrixx@gmail.com> Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
* Make all identifier panel entries copyable (#476)Gravatar Julian Burner2022-12-071-6/+6
|
* Add `@value` Javadoc tag (#477)Gravatar Julian Burner2022-12-071-1/+2
| | | Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
* Allow pasting directly on renamable tokens (#478)Gravatar Julian Burner2022-12-072-0/+21
| | | Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
* Allow filtering of packages in Mapping Stats window (#481)Gravatar Julian Burner2022-12-072-9/+57
| | | Co-authored-by: Eli Orona <eliorona@live.com>
* Provide fallback anti-aliasing for DEs the JRE doesn't recognize (#466)Gravatar Julian Burner2022-12-071-1/+17
|
* Add checkstyle (#460)Gravatar modmuss502022-09-1478-1375/+1742
|
* Nested packages in Swing UI (#458)Gravatar ramidzkh2022-09-125-352/+209
| | | | | | | | | | | | | * 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
* Show the crash dialog when an off thread job fails.Gravatar modmuss502022-04-131-0/+1
| | | | Before the exception would be lost to time in most cases.
* Add readonly bytecode view. (#443)Gravatar modmuss502022-03-301-1/+2
|
* Update gradle and skip unnecessary swing updates (#431)Gravatar liach2021-09-201-1/+26
| | | | | | | update proguard to support java 17 Signed-off-by: liach <liach@users.noreply.github.com> Co-authored-by: liach <liach@users.noreply.github.com>
* Improve record class detection (#428)Gravatar modmuss502021-09-161-2/+4
| | | | | 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.
* Refactor and clean up Gui classGravatar Marco Rebhan2021-09-0519-609/+962
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry-picked from feature/customizable-ui branch) Clean up Gui constructor Separate out code from Gui class Separate out inheritance tree Separate out implementations tree Move click listener to separate method Make StructurePanel not extend JPanel Handle DeobfPanelPopupMenu in DeobfPanel Fix the deobf panel popup menu init failing Common code for implementations & inheritance tree Move call tree code to separate class Move methods from MouseListenerUtil to GuiUtil Move editor tab code to separate class Replace WindowAdapter with GuiUtil.onWindowClose Move showStructure to StructurePanel
* Entry Changes (#364)Gravatar 2xsaiko2021-07-087-107/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add --single-class-tree argument that puts all classes into deobf panel & ↵Gravatar Daniel Chýlek2021-07-084-7/+31
| | | | | | | | | | | hides obf panel (#406) * Add --single-class-tree argument that puts all classes into deobf panel & hides obf panel Parchment uses a jar with already remapped classes, but Enigma puts them into panel with obf classes which sorts classes by length. This option puts all classes into the deobf panel, and completely hides the obf panel. * Address comments * Comment begone
* Makes sure save mappings is completed before next action (#409)Gravatar liach2021-07-033-6/+18
| | | | | | | | | | | | | * Makes sure save mappings is completed before next action Fixes #407 Signed-off-by: liach <liach@users.noreply.github.com> * Fix the freeze Signed-off-by: liach <liach@users.noreply.github.com> Co-authored-by: liach <liach@users.noreply.github.com>
* Expand All & Collapse All in deobf panel (#412)Gravatar YanisBft2021-06-295-14/+27
| | | | | * Expand All & Collapse All in deobf panel * fixed smth that was bothering me
* Highlight tokens as 'proposed' when they're not editableGravatar Marco Rebhan2021-06-223-32/+61
|
* Allow disabling editing part of the mappingsGravatar Marco Rebhan2021-06-216-47/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, this is done over CLI options, it cannot be changed through the GUI. The new CLI options are: -C, --no-edit-classes Disable editing class names -D, --no-edit-javadocs Disable editing Javadocs -E, --no-edit-all Disable editing everything -F, --no-edit-fields Disable editing field names -M, --no-edit-methods Disable editing method names -P, --no-edit-parameters Disable editing parameter names -c, --edit-classes Enable editing class names -d, --edit-javadocs Enable editing Javadocs -e, --edit-all Enable editing everything --edit-locals Enable editing local variable names -f, --edit-fields Enable editing field names -m, --edit-methods Enable editing method names --no-edit-locals Disable editing local variable names -p, --edit-parameters Enable editing parameter names They can be combined together and are applied in order of appearance in the argument list from left to right, and everything is editable by default, as before. For example, --no-edit-all --edit-javadocs --edit-parameters (or -Edp for short) will allow you to edit only Javadocs and parameter names. --(no-)edit-locals is only provided for completeness and has no effect right now because Enigma does not allow for editing locals other than parameters.