summaryrefslogtreecommitdiff
path: root/enigma/src/main/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Cleanup with Java 16 (#394)Gravatar YanisBft2021-05-2329-132/+82
| | | | | * Cleanup using Java 16 * use Stream.toList()
* This does nothingGravatar Marco Rebhan2021-05-151-3/+0
|
* Don't skip hidden files since they are explicitly listed in the parametersGravatar Marco Rebhan2021-05-151-3/+0
|
* Add EnigmaMappingsReader.readFiles (#381)Gravatar Juuxel2021-05-151-12/+43
|
* Simplify toString() implementationsGravatar Yanis482021-04-074-9/+5
|
* Reorganize entry namesGravatar Yanis482021-04-073-10/+95
|
* Merge pull request #361 from modmuss50/recordsGravatar 2xsaiko2021-03-255-4/+138
|\ | | | | Record support
| * WIP full record supportGravatar modmuss502021-03-196-4/+142
| |
* | Merge pull request #363 from Juuxel/svg-iconsGravatar 2xsaiko2021-03-211-0/+4
|\ \ | | | | | | Switch to SVG icons
| * | Switch to SVG icons instead of PNGs and add icon for recordsGravatar Juuxel2021-03-201-0/+4
| |/ | | | | | | | | | | | | | | The PNG icons scaled horribly on FlatLaf but these ones look smooth on any scaling level. Note: even though the icons are FlatSVGIcons from FlatLaf, they work properly on all LaFs if the FlatLaf UI scale property is set to the correct value (which LookAndFeel.setGlobalLAF does).
* / Less strict JRE check (#362)Gravatar Geolykt2021-03-201-1/+1
|/ | | | | Resolves #353 The issue here lies in that this changes the behaviour of the code by quite a bit, so alternatively the irrelevant javax check could be dropped, which would optimize the code only slightly
* Icons everywhereGravatar Yanis482021-03-174-1/+14
|
* Merge pull request #336 from liachmodded/cfr-impGravatar 2xsaiko2021-01-259-309/+249
|\ | | | | Make cfr much easier to use
| * Make cfr much easier to useGravatar liach2021-01-239-309/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now it can display javadoc, remove imports, highlight local variables Depends on FabricMC/cfr#2 Signed-off-by: liach <liach@users.noreply.github.com> More cfr cleanup. Cfr looks good now Remove outdated note Allows requesting javadoc on initial source creation. Currently both cfr and procyon would be more efficient this way. Signed-off-by: liach <liach@users.noreply.github.com> Now renders inner classes properly (and with updated cfr now renders lambda params) Signed-off-by: liach <liach@users.noreply.github.com> Tweaks to handle purely generic fields and cfr problem classes like ClientEntityManager.Listener Signed-off-by: liach <liach@users.noreply.github.com>
* | Merge pull request #338 from liachmodded/fix/def-browseGravatar 2xsaiko2021-01-242-25/+35
|\ \ | | | | | | Fixes open declaration not opening declaration
| * | Fixes open declaration not opening declarationGravatar liach2021-01-232-25/+35
| |/ | | | | | | Signed-off-by: liach <liach@users.noreply.github.com>
* | Merge pull request #340 from Juuxel/better-iconsGravatar 2xsaiko2021-01-242-0/+41
|\ \ | | | | | | Add interface/enum/annotation icons and modifier displays
| * | Exclude abstract modifier from enum classesGravatar Juuxel2021-01-231-2/+2
| | |
| * | Add interface/enum/annotation icons and modifier displaysGravatar Juuxel2021-01-232-0/+41
| |/ | | | | | | | | | | | | - Adds icons in the sidebar and structure panel for interfaces, enums and annotations. - Adds some modifiers (final, default, abstract, static) to the structure panel.
* / Fixed Javadoc not updating in certain cases (close/open mappings)Gravatar 2xsaiko2021-01-231-0/+10
|/ | | | Closes #210.
* Merge pull request #331 from YanisBft/structure-panelGravatar 2xsaiko2020-12-206-15/+198
|\ | | | | Structure panel
| * use ListMultimap when indexing jarGravatar Yanis482020-12-191-12/+7
| |
| * avoid duplicate logicGravatar Yanis482020-12-152-29/+31
| |
| * Fix automapped againGravatar Yanis482020-12-151-9/+12
| |
| * Fix automapped entriesGravatar Yanis482020-12-151-12/+51
| | | | | | | | Automatically deobfuscated names (like in enums) were displayed with their obfuscated name, and were not considered as deobf when selecting "hide deobf members"
| * Structure panel!Gravatar Yanis482020-12-145-13/+157
| |
* | Add true, false and null to invalid identifiersGravatar 2xsaiko2020-12-201-1/+1
|/
* my fix didn't work for an inner class in another inner classGravatar Yanis482020-12-051-3/+2
| | | | and this is also a way better fix
* Fix inner classes' javadocs not invalidated properlyGravatar Yanis482020-12-051-0/+5
|
* Release using github actions + update ASMGravatar modmuss502020-11-301-1/+1
|