| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* Update language files
Co-authored-by: 2xsaiko <me@dblsaiko.net>
|
| | |
|
| |
|
|
| |
This fixes source export, tested with 1.18.2-pre1
|
| |
|
|
|
| |
* Add a check for space indentation
* Use MappingParseException
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
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>
|
| |
|
|
| |
MEMBER_REFERENCE data for invokedynamic, print decompilation exceptions
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| | |
|
| |
|
|
|
| |
* Cleanup using Java 16
* use Stream.toList()
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Record support
|
| | | |
|
| |\ \
| | |
| | | |
Switch to SVG icons
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |/
|
|
|
| |
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
|
| | |
|
| |\
| |
| | |
Make cfr much easier to use
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \
| | |
| | | |
Fixes open declaration not opening declaration
|
| | |/
| |
| |
| | |
Signed-off-by: liach <liach@users.noreply.github.com>
|
| |\ \
| | |
| | | |
Add interface/enum/annotation icons and modifier displays
|
| | | | |
|
| | |/
| |
| |
| |
| |
| |
| | |
- Adds icons in the sidebar and structure panel for interfaces, enums
and annotations.
- Adds some modifiers (final, default, abstract, static) to the
structure panel.
|
| |/
|
|
| |
Closes #210.
|
| |\
| |
| | |
Structure panel
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Automatically deobfuscated names (like in enums) were displayed with their obfuscated name, and were not considered as deobf when selecting "hide deobf members"
|
| | | |
|
| |/ |
|
| |
|
|
| |
and this is also a way better fix
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As explained in PR #289, the decompilers may fail decompiling some
vanilla Minecraft classes. Although it is my opinion that these errors
should be fixed in the decompilers themselves, currently they render the
decompile CLI command useless, as no output is produced whatsoever.
The PR that was mentioned previously addressed this situation for the
GUI part of Enigma, but not for the CLI commands, which were left
untouched.
These changes modify the decompiler error strategy used by the
aforementioned CLI command to trace the errors, but continue decompiling
classes, so at least a partial output is generated. This way users will
be happy that the Enigma decompile command works, and developers will
still be motivated to fix the underlying issues.
Signed-off-by: AlexTMjugador <AlexTMjugador@users.noreply.github.com>
|
| |
|
|
|
| |
This reverts commit 112a49dccb1fe7792366112bc829352462cd298c, reversing
changes made to b8f06abafc47065f980a94c4ddf7be70cee83411.
|
| | |
|