summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/gui/Gui.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split GUI code to separate module (#242)Gravatar Runemoro2020-06-031-1058/+0
| | | | | | | * Split into modules * Post merge compile fixes Co-authored-by: modmuss50 <modmuss50@gmail.com>
* QOL fixes - Volume 2 (#239)Gravatar Yanis482020-05-191-3/+3
|
* Multiplayer support (#221)Gravatar Joseph Burton2020-05-031-29/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Rewrite search dialog (#233)Gravatar 2xsaiko2020-04-291-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix searching * Make buttons use localization * Fix rename field opening when pressing shift+space * Tweak search algorithm * Add a bit of documentation * Remove duplicate example line * Use max() when building the inner map instead of overwriting the old value * Keep search dialog state * Formatting * Fix cursor key selection not scrolling to selected item * Don't set font size * Rename close0 to exit * Fix wrong scrolling when selecting search dialog entry
* Add a configurable scale factor (#230)Gravatar 2xsaiko2020-04-241-22/+26
| | | | | | | | | | | | | | | * Add swing-dpi dependency * Implement scale factor * Improve custom scale dialog, fix crash * Remove use of $ in identifiers * Use custom functional interface for scale listeners * Bump version Co-authored-by: modmuss50 <modmuss50@gmail.com>
* QOL fixes (#222)Gravatar Yanis482020-04-181-2/+1
| | | | | | | * qol fixes * ctrl_mask -> ctrl_down_mask * reverted deobfuscation change
* Made Enigma gui translatable (#193)Gravatar modmuss502020-03-051-24/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Allow multiple services for enigma (#168)Gravatar liach2019-11-081-0/+2
| | | | | | | | | | * 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>
* Cleanup the mappings menu items to use the mappings format enum, will be ↵Gravatar modmuss502019-09-081-10/+5
| | | | useful for when adding more formats
* Parse profile json from cli argsGravatar gegy10002019-06-181-2/+3
|
* Mostly resolve test failuresGravatar gegy10002019-06-181-4/+4
|\
| * fix unwanted declaration navigation during Quick FindGravatar asie2019-06-151-3/+4
| |
* | Plugin rework along with API rework: Enigma split from EnigmaProject; ↵Gravatar gegy10002019-06-161-20/+25
|/ | | | plugins now provide services configurable via a profile
* Resolve root when navigating to declarationGravatar gegy10002019-05-121-1/+8
|
* Rename in place functionality (#131)Gravatar Gegy2019-05-121-17/+21
| | | | | | | | * 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-59/+41
| | | | | | | | | | | | * Add History * Add forward and backward reference history * Update PopupMenuBar text for history * Fix indentation * Fix more indentation
* Support navigation to declaration on ctrl+clickGravatar gegy10002019-05-111-5/+16
|
* Few minor render tweaks (#127)Gravatar liach2019-05-031-1/+1
| | | | | | Now inheritance tree bleak color no longer affects other trees Also add a github link Signed-off-by: liach <liach@users.noreply.github.com>
* Adds a red highlight for overridden methods in method inheritance tree gui ↵Gravatar liach2019-02-241-7/+7
| | | | | | | | | | | | | | | | | (#112) * Make implemented method nodes in inheritance ui more obvious Signed-off-by: liach <liach@users.noreply.github.com> * Make the text green and italic instead Signed-off-by: liach <liach@users.noreply.github.com> * Update again for the new tree gen Also tweaked new tree gen to show only useful branch nodes Signed-off-by: liach <liach@users.noreply.github.com>
* Added Basic Search (#102)Gravatar Modmuss502019-02-191-0/+4
| | | | | | | | | | * 3am code for a basic search box, needs some cleanup * Cleanup the code a bit * Add missing header * Fix indentation, + unneeded check
* Add System and None (JVM Default) themes. (#107)Gravatar Bartosz Skrzypczak2019-02-071-2/+2
| | | | | | The current 2 editor color schemes are used depending on whether a LAF is detected to be dark ot light. This is done by drawing an empty JPanel into a dummy image and getting the grayscale pixel brightness. Move setting theme a bit earlier so it doesn't throw exceptions in some cases when using system theme. Change the order of setting swing LAF and applying theme so that apply() can get the right colors.
* Remap sources (#106)Gravatar Gegy2019-01-301-53/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [WIP] Mapping rework (#91)Gravatar Gegy2019-01-241-39/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+3
| | | | instance of the method
* add barebones plugin framework, cleanupGravatar asie2018-12-081-25/+16
|
* add line number coloring, bugfixesGravatar asie2018-11-281-22/+21
|
* refactors and bugfixesGravatar asie2018-11-281-0/+19
|
* Move to awt FileDialogGravatar modmuss502018-11-281-7/+6
|
* fix #68Gravatar asie2018-11-281-0/+7
|
* update Guava, show proper constructor tree node, fix AccessFlags.toStringGravatar asie2018-11-071-3/+1
|
* Package updatesGravatar gegy10002018-05-191-0/+1
|
* Initial port to ASMGravatar gegy10002018-05-191-43/+23
|
* Added theme switcher + dark theme (#60)Gravatar Modmuss502017-06-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | * Initial work on the color config * Save and read config from file.+ * Allow changing the editor colors * Remove the right margin * Move config to the user's home dir * Use Guava instead of Apache commons * Add runtime theme switching, includes example "dark" theme. * Rename dark theme as requested * Small clean up * Include suggestions from @Thog
* Add support for custom themes (#59)Gravatar Modmuss502017-06-041-4/+5
|
* Implement experimental Tiny mappings loaderGravatar Thog2017-03-241-0/+4
| | | | ~ This will need some tests and more security checks
* Follow Fabric guidelinesGravatar Thog2017-03-081-807/+787
|
* Drop unix case style and implement hashCode when equals is overridedGravatar Thog2017-03-071-159/+159
| | | | Also update Guava to version 21
* BREAKING CHANGE: Implement modifier transformerGravatar Thog2016-10-301-0/+24
| | | | | | | 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-2/+12
| | | | package is renamed (#25)
* Starting implementing local variables (#33)Gravatar Thog2016-10-191-0/+10
| | | | | | | | TODO: - Store format (need to be defined) - Implement some translate operations This commit also fix some cases where argument tokens are not selected
* Fixes execution order for line number ruler (Close #39)Gravatar Glassmaker2016-10-181-0/+3
|
* remove none/ prefixGravatar asiekierka2016-10-181-5/+3
|
* Rename for types select only the name part for deob ClassEntry (Fix #24)Gravatar Thog2016-09-131-1/+8
|
* A little bit of clean upGravatar Thog2016-09-061-20/+15
|
* Fix #14Gravatar Thog2016-08-301-4/+5
|
* Fix mapping not beeing saving in the right directory in some caseGravatar Thog2016-08-251-1/+1
|
* Use "." instead of "/" in package render and add ability to use "." in a ↵Gravatar Thog2016-08-251-2/+4
| | | | class renaming scenario (Fix #11)
* Rewrite rename update for packages render, now package will never be closed ↵Gravatar Thog2016-08-241-3/+45
| | | | during renaming (Fix #6)
* Add the ability to rename package and classes in panelsGravatar Thog2016-08-231-0/+19
|