summaryrefslogtreecommitdiff
path: root/enigma-swing/src/main/java/cuchaz (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Use JFileChooser for all open/save opertations (#401)Gravatar modmuss502021-06-192-20/+35
|
* Structure panel options (#400)Gravatar YanisBft2021-06-154-17/+73
| | | | | | | | | | | | | | | * 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
* Disable Show Calls actions on unrenamable entries (e.g. Java methods)Gravatar Marco Rebhan2021-06-031-2/+2
| | | | Closes #396.
* Cleanup with Java 16 (#394)Gravatar YanisBft2021-05-2312-97/+57
| | | | | * Cleanup using Java 16 * use Stream.toList()
* Update to Java 16 (#390)Gravatar modmuss502021-05-222-2/+2
| | | | | | | | | | | | | | | * Java 16 * Cleanup * Set CFR as the default decompiler, it seems to handle j16 stuff better * Update build.gradle Co-authored-by: YanisBft <doublecraft.official@gmail.com> * Update proguard, disable broken tests Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Fix scroll speed being dependent on the line count in the file.Gravatar Marco Rebhan2021-04-291-0/+4
| | | | Closes #383.
* Update translationsGravatar Yanis482021-04-071-1/+0
|
* New ways to searchGravatar Yanis482021-04-072-31/+93
|
* Allow only one selected entry in treesGravatar Yanis482021-04-073-4/+17
| | | | Didn't cause any issue, but who knows