diff options
| author | 2020-05-03 21:06:38 +0100 | |
|---|---|---|
| committer | 2020-05-03 21:06:38 +0100 | |
| commit | 854f4d49407e45d67dd5754afd21a7e59970ca5b (patch) | |
| tree | 582e3245786f9723b5895b0c8d41087b0e6bb416 /src/test | |
| parent | Rewrite search dialog (#233) (diff) | |
| download | enigma-854f4d49407e45d67dd5754afd21a7e59970ca5b.tar.gz enigma-854f4d49407e45d67dd5754afd21a7e59970ca5b.tar.xz enigma-854f4d49407e45d67dd5754afd21a7e59970ca5b.zip | |
Multiplayer support (#221)
* 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>
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/java/cuchaz/enigma/TestDeobfed.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/cuchaz/enigma/TestDeobfed.java b/src/test/java/cuchaz/enigma/TestDeobfed.java index c88b0eb6..d64a745b 100644 --- a/src/test/java/cuchaz/enigma/TestDeobfed.java +++ b/src/test/java/cuchaz/enigma/TestDeobfed.java | |||
| @@ -13,6 +13,7 @@ package cuchaz.enigma; | |||
| 13 | 13 | ||
| 14 | import cuchaz.enigma.analysis.ClassCache; | 14 | import cuchaz.enigma.analysis.ClassCache; |
| 15 | import cuchaz.enigma.analysis.index.JarIndex; | 15 | import cuchaz.enigma.analysis.index.JarIndex; |
| 16 | import cuchaz.enigma.network.EnigmaServer; | ||
| 16 | import cuchaz.enigma.source.Decompiler; | 17 | import cuchaz.enigma.source.Decompiler; |
| 17 | import cuchaz.enigma.source.Decompilers; | 18 | import cuchaz.enigma.source.Decompilers; |
| 18 | import cuchaz.enigma.source.SourceSettings; | 19 | import cuchaz.enigma.source.SourceSettings; |
| @@ -70,7 +71,7 @@ public class TestDeobfed { | |||
| 70 | 71 | ||
| 71 | @Test | 72 | @Test |
| 72 | public void decompile() { | 73 | public void decompile() { |
| 73 | EnigmaProject project = new EnigmaProject(enigma, classCache, index); | 74 | EnigmaProject project = new EnigmaProject(enigma, classCache, index, new byte[EnigmaServer.CHECKSUM_SIZE]); |
| 74 | Decompiler decompiler = Decompilers.PROCYON.create(project.getClassCache(), new SourceSettings(false, false)); | 75 | Decompiler decompiler = Decompilers.PROCYON.create(project.getClassCache(), new SourceSettings(false, false)); |
| 75 | 76 | ||
| 76 | decompiler.getSource("a"); | 77 | decompiler.getSource("a"); |