summaryrefslogtreecommitdiff
path: root/enigma/src/main/java/cuchaz (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
|
* Do not abort decompile command on decompiler errorsGravatar AlexTMjugador2020-10-241-4/+0
| | | | | | | | | | | | | | | | | | | 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>
* Revert "Merge pull request #299 from thiakil/validation-changes"Gravatar 2xsaiko2020-10-022-111/+26
| | | | | This reverts commit 112a49dccb1fe7792366112bc829352462cd298c, reversing changes made to b8f06abafc47065f980a94c4ddf7be70cee83411.
* Only conflict when both methods are not syntheticGravatar 2xsaiko2020-10-021-1/+1
|
* Merge pull request #299 from thiakil/validation-changesGravatar 2xsaiko2020-10-022-26/+111
|\ | | | | Validation improvements
| * allow name clashes to pass where javac would accept themGravatar Thiakil2020-07-192-26/+111
| |
* | Don't save duplicate messages in validation contextGravatar 2xsaiko2020-10-012-10/+15
| |
* | Fix #303 (#308)Gravatar Runemoro2020-08-191-3/+4
| |
* | Set config path to Application Support on macGravatar idwtd2020-08-151-1/+1
| |
* | Configuration stuff (#301)Gravatar 2xsaiko2020-08-046-0/+667
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Begin writing new config system * Make config work * Save window size and position * Add editor font chooser * Use *.ini for windows and mac instead of *rc * Allow for changing language without having to restart the program * Save selected directory in file dialogs * Make dialog visible after moving it to the correct position * Don't change theme on the fly since it's broken * Remove unused gui parameter * Use xdg-open to open URLs on Linux since Desktop.browse doesn't work, at least not on my PC * Fix default proposed highlight color * Multi font selection dialog thingy * Remember network options * Make font selection dialog actually work * Collapse general actions ("OK", "Cancel", ..) into one translation * Localize font dialog * Use enum name when saving colors for consistency with currently selected theme * Save size of split panes * Import old config * Add test & fix some parts of the config serializer * TranslationChangeListener/TranslationUtil -> LanguageChangeListener/LanguageUtil
* | Fix losing current cursor position when renaming entries (#297)Gravatar 2xsaiko2020-07-214-24/+102
|/ | | | | | | * Fix losing current cursor position when renaming entries * Set nextReference to null after applying it * Extract token map into wrapper type
* Fix name not being passedGravatar 2xsaiko2020-07-181-1/+1
|
* Mapping format fixes (#294)Gravatar Xander2020-07-132-10/+21
| | | | | | | | | * add test to ensure mapping formats can read/write properly * fix not baking last entries in TinyV2 reader * fix broken filter in Enigma File writer * Fix Enigma Zip writer ZipFS exception on non-matching filesystems
* Fix array classes not being translated correctly (#293)Gravatar Runemoro2020-07-111-0/+8
|
* Add menu entry to reload jar & mappings from disk (#263)Gravatar 2xsaiko2020-07-062-27/+35
| | | | | | | | | | * Add button to reload jar & mappings from disk * Disable menu entry when currently loading * Add menu entry that reloads mappings only * Remove duplicate user query code
* Fix crash on remapping [T (#261)Gravatar 2xsaiko2020-07-061-1/+1
|
* Add missing PrintWriter and StringWriter imports (#291)Gravatar Hunter Kvalevog2020-07-061-0/+2
|
* Handle source export failures (#289)Gravatar Gegy2020-07-061-15/+47
| | | | | | | * handle decompile failures * allow decompiling as stream * Use TRACE_AS_SOURCE in gui source export
* Make class loading more flexible (#277)Gravatar Runemoro2020-07-0623-483/+365
|
* Fix "Mark as Deobfuscated" menu entry not working... this time without ↵Gravatar 2xsaiko2020-07-0624-118/+311
| | | | | | | | | breaking all the things hopefully (#284) * Fix "Mark as Deobfuscated" menu entry not working... this time hopefully without breaking all the things * Use ungrouped() for MappingDelta * Fix *DefEntry overriding the wrong translate() version
* Fix inner class name validationGravatar 2xsaiko2020-06-242-2/+9
|
* Fix "Mark as Deobfuscated" menu entry not working (#265)Gravatar 2xsaiko2020-06-121-5/+1
|
* Fix crash on remapping >1 level of nested class (#262)Gravatar 2xsaiko2020-06-081-3/+5
|
* Add remap crash handlerGravatar 2xsaiko2020-06-072-4/+14
|
* Move ServerAddress to enigma-serverGravatar 2xsaiko2020-06-041-78/+0
|
* Extend validation systemGravatar 2xsaiko2020-06-031-0/+1
|
* Improve connect dialogGravatar 2xsaiko2020-06-031-0/+78
|
* Editor tabs (#238)Gravatar 2xsaiko2020-06-0324-152/+1345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split into modules * Add validation utils from patch-1 branch * Tabs, iteration 1 * Delete RefreshMode * Load initial code asynchronously * Formatting * Don't do anything when close() gets called multiple times * Add scroll pane to editor * Fix getActiveEditor() * Rename components to more descriptive editorScrollPanes * Move ClassHandle and related types out of gui package * Fix tab title bar and other files not updating when changing mappings * Fix compilation errors * Start adding renaming functionality to new panel * Scale validation error marker * Make most user input validation use ValidationContext * Fix line numbers not displaying * Move CodeReader.navigateToToken into PanelEditor * Add close button on tabs * Remove TODO, it's fast enough * Remove JS script action for 2 seconds faster startup * Add comment on why the action is removed * ClassHandle/ClassHandleProvider documentation * Fix language file formatting * Bulk tab closing operations * Fix crash when renaming class and not connected to server * Fix caret jumping to the end of the file when opening * Increase identifier panel size * Make popup menu text translatable * Fix formatting * Fix compilation issues * CovertTextField -> ConvertingTextField * Retain formatting using spaces * Add de_de.json * Better decompilation error handling * Fix some caret related NPEs * Localization * Close editor on classhandle delete & fix onInvalidate not running on the Swing thread * Fix crash when trying to close a tab from onDeleted class handle listener Co-authored-by: Runemoro <runemoro1@gmail.com>
* Split GUI code to separate module (#242)Gravatar Runemoro2020-06-03145-0/+12319
* Split into modules * Post merge compile fixes Co-authored-by: modmuss50 <modmuss50@gmail.com>