summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/gui/GuiController.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split GUI code to separate module (#242)Gravatar Runemoro2020-06-031-729/+0
| | | | | | | * Split into modules * Post merge compile fixes Co-authored-by: modmuss50 <modmuss50@gmail.com>
* Multiplayer support (#221)Gravatar Joseph Burton2020-05-031-13/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First pass on multiplayer * Apply review suggestions * Dedicated Enigma server * Don't jump to references when other users do stuff * Better UI + translations * french translation * Apply review suggestions * Document the protocol * Fix most issues with scrolling. * Apply review suggestions * Fix zip hash issues + add a bit more logging * Optimize zip hash * Fix a couple of login bugs * Add message log and user list * Make Message an abstract class * Make status bar work, add chat box * Hide message log/users list when not connected * Fix status bar not resetting entirely * Run stop server task on server thread to prevent multithreading race conditions * Add c2s message to packet id list * Fix message scroll bar not scrolling to the end * Formatting * User list size -> ushort * Combine contains and remove check * Check removal before sending packet * Add password to login packet * Fix the GUI closing the rename text field when someone else renames something * Update fr_fr.json * oups * Make connection/server create dialogs not useless if it fails once * Refactor UI state updating * Fix imports * Fix Collab menu * Fix NPE when rename not allowed * Make the log file a configurable option * Don't use modified UTF * Update fr_fr.json * Bump version to 0.15.4 * Apparently I can't spell neither words nor semantic versions Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: 2xsaiko <git@dblsaiko.net>
* QOL fixes (#222)Gravatar Yanis482020-04-181-1/+0
| | | | | | | * qol fixes * ctrl_mask -> ctrl_down_mask * reverted deobfuscation change
* Support java 9+ and gradle 6+ (#206)Gravatar liach2020-04-021-1/+1
| | | | | | | | | | | | | | | * Support java 9+ and gradle 6+ * Update asm Signed-off-by: liach <liach@users.noreply.github.com> * Use asm 8 and move that to a constant * Bump version * fix version format Co-authored-by: liach <liach@users.noreply.github.com>
* Fix documenting constructors (#201)Gravatar Juuxel2020-03-171-1/+1
| | | | | EntryReference.getNameableEntry() specifically excludes constructors, so I switched it to always use the entry.
* CFR support (#192)Gravatar Runemoro2020-03-091-33/+54
| | | | | * Add decompiler API * Add CFR support
* Made Enigma gui translatable (#193)Gravatar modmuss502020-03-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * made enigma gui translatable * key renamings * missed strings * string.format() & another missed string * cached content (thanks @liach) * added a dialog when changing language * better sentence * more %s * liach's requests * empty map * the last (?) missed strings * IT WORKS * French translation * Update fr_fr.json
* Allow attaching class, method, field, and parameter javadocs (#185)Gravatar Fudge2019-12-021-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * bring liach pr to modern enigma * bump version * fuck off vscode * switch to COMMENT and write comments before * it was already after, what do you want * oops * put inner classes at the end * remove indents and use all caps * add refreshmappings command * Update src/main/java/cuchaz/enigma/translation/mapping/serde/EnigmaMappingsWriter.java * Delete RefreshEnigmaMappingsCommand.java * Update CommandMain.java * ok
* Add stats generation (#177)Gravatar Runemoro2019-11-081-2/+27
| | | | | | | | * Add stats generation * Parameters and inner classes too * Fixes
* Allow multiple services for enigma (#168)Gravatar liach2019-11-081-3/+3
| | | | | | | | | | * Allow multiple services for enigma Signed-off-by: liach <liach@users.noreply.github.com> * Delete bad dummy Signed-off-by: liach <liach@users.noreply.github.com>
* Profile option for mappings to be saved by-obf instead of by-deobfGravatar gegy10002019-06-281-3/+6
|
* Only open mappings once jar is loadedGravatar gegy10002019-06-191-21/+20
|
* Parse profile json from cli argsGravatar gegy10002019-06-181-7/+5
|
* Drop invalid mappings menuGravatar gegy10002019-06-181-0/+6
|
* Plugin rework along with API rework: Enigma split from EnigmaProject; ↵Gravatar gegy10002019-06-161-132/+211
| | | | plugins now provide services configurable via a profile
* Rename in place functionality (#131)Gravatar Gegy2019-05-121-8/+11
| | | | | | | | * Rename in place functionality * Don't allow rename if renaming is not allowed for the token * Remove redundant 'R' hotkey
* Add forward and backward reference history with mouse navigation (#132)Gravatar Erlend Åmdal2019-05-121-12/+57
| | | | | | | | | | | | * Add History * Add forward and backward reference history * Update PopupMenuBar text for history * Fix indentation * Fix more indentation
* Don't remap specialized methods to their bridge partner in bytecodeGravatar gegy10002019-05-101-4/+10
|
* Catch all decompilation Throwables instead of just ExceptionsGravatar gegy10002019-05-061-2/+2
|
* Fix #110 and remap indices with matched bridge method namesGravatar gegy10002019-02-231-8/+15
|
* Drop final modifiers from displayed source ast for easier readabilityGravatar gegy10002019-02-231-0/+1
|
* Track loaded mapping path when opening mappings and not just when savingGravatar gegy10002019-02-191-0/+1
|
* Write stacktrace to editor when decompilation throws an exceptionGravatar gegy10002019-02-191-13/+22
|
* Match token navigation reference resolution to match source indexGravatar gegy10002019-02-181-2/+2
|
* Remap sources (#106)Gravatar Gegy2019-01-301-178/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Source remapping beginnings * Fix navigation to remapped classes * Translate identifier info reference * Remap local variables with default names in source * Caching translator * Fix lack of highlighting for first opened class * Fix unicode variable names * Unicode checker shouldn't be checking just alphanumeric * Fix package tree being built from obf names * Don't index `this` as method call for method::reference * Apply proposed names * Fix source export issues * Replace unicode var names at bytecode level uniquely * Drop imports from editor source * Class selector fixes * Delta keep track of base mappings to enable lookup of old names * Optimize source remapping by remapping source with a StringBuffer instead of copying * Bump version
* Fix navigation to inner classes not decompiling outer classGravatar gegy10002019-01-241-1/+1
|
* [WIP] Mapping rework (#91)Gravatar Gegy2019-01-241-102/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move packages * Mapping & entry refactor: first pass * Fix deobf -> obf tree remapping * Resolve various issues * Give all entries the potential for parents and treat inner classes as children * Deobf UI tree elements * Tests pass * Sort mapping output * Fix delta tracking * Index separation and first pass for #97 * Keep track of remapped jar index * Fix child entries not being remapped * Drop non-root entries * Track dropped mappings * Fix enigma mapping ordering * EntryTreeNode interface * Small tweaks * Naive full index remap on rename * Entries can resolve to more than one root entry * Support alternative resolution strategies * Bridge method resolution * Tests pass * Fix mappings being used where there are none * Fix methods with different descriptors being considered unique. closes #89
* add option to view calls to a method in general, not just the specific ↵Gravatar Adrian Siekierka2018-12-091-2/+2
| | | | instance of the method
* fix SourceIndex remap bugsGravatar asie2018-12-091-4/+4
|
* add barebones plugin framework, cleanupGravatar asie2018-12-081-18/+63
|
* add line number coloring, bugfixesGravatar asie2018-11-281-0/+3
|
* update Guava, show proper constructor tree node, fix AccessFlags.toStringGravatar asie2018-11-071-0/+7
|
* Resolve all failed testsGravatar gegy10002018-06-221-1/+1
|
* Package updatesGravatar gegy10002018-05-191-0/+4
|
* Initial port to ASMGravatar gegy10002018-05-191-9/+9
|
* Avoid crash using rebuild method names + make sure that the mapping is dirty ↵Gravatar Thog2017-04-051-0/+1
| | | | if rebuildMethodNames is called (Fix #56)
* Implement experimental Tiny mappings loaderGravatar Thog2017-03-241-0/+8
| | | | ~ This will need some tests and more security checks
* Follow Fabric guidelinesGravatar Thog2017-03-081-322/+318
|
* Drop unix case style and implement hashCode when equals is overridedGravatar Thog2017-03-071-33/+31
| | | | Also update Guava to version 21
* BREAKING CHANGE: Implement modifier transformerGravatar Thog2016-10-301-0/+16
| | | | | | | Known Bugs: - Inner class modifier isn't saved to mapping - Inner class modifier isn't applied to bytecode
* Fix order of packages, hanging of Enigma and classes nodes not renamed when ↵Gravatar Thog2016-10-281-3/+3
| | | | package is renamed (#25)
* Fix #48Gravatar Thog2016-10-181-2/+2
|
* fix method/argument renaming edge cases, add method/argument name rebuilder, ↵Gravatar asiekierka2016-09-121-0/+4
| | | | add Package to Access enum
* Only use moveClassTree for ClassEntry (Fix #10)Gravatar Thog2016-08-241-3/+5
|
* Add mapping converter to command line systemGravatar Thog2016-08-241-2/+2
|
* Readd a missing line from the last commitGravatar Thog2016-08-241-0/+1
|
* Rewrite rename update for packages render, now package will never be closed ↵Gravatar Thog2016-08-241-12/+16
| | | | during renaming (Fix #6)
* Add F5 hotkey to reload class + use a ugly hack to avoid rename issues with ↵Gravatar Thog2016-08-141-2/+2
| | | | generics...
* Remoe JSON directory format support and clean up others thingsGravatar Thog2016-08-121-16/+0
|
* Implement Enigma directory format (#1)Gravatar Thomas Guillemard2016-08-121-11/+24
| | | | | | Others changes: ~ Rework File menu ~ Force UTF-8 for all I/O operations ~ Enigma now detect the original file format and use the correct one when you save a mapping