diff options
| author | 2020-05-03 21:06:38 +0100 | |
|---|---|---|
| committer | 2020-05-03 21:06:38 +0100 | |
| commit | 854f4d49407e45d67dd5754afd21a7e59970ca5b (patch) | |
| tree | 582e3245786f9723b5895b0c8d41087b0e6bb416 /src/main/java/cuchaz/enigma/Enigma.java | |
| parent | Rewrite search dialog (#233) (diff) | |
| download | enigma-fork-854f4d49407e45d67dd5754afd21a7e59970ca5b.tar.gz enigma-fork-854f4d49407e45d67dd5754afd21a7e59970ca5b.tar.xz enigma-fork-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/main/java/cuchaz/enigma/Enigma.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/Enigma.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/Enigma.java b/src/main/java/cuchaz/enigma/Enigma.java index b8887c2..f5f0649 100644 --- a/src/main/java/cuchaz/enigma/Enigma.java +++ b/src/main/java/cuchaz/enigma/Enigma.java | |||
| @@ -21,6 +21,7 @@ import cuchaz.enigma.api.service.EnigmaService; | |||
| 21 | import cuchaz.enigma.api.service.EnigmaServiceFactory; | 21 | import cuchaz.enigma.api.service.EnigmaServiceFactory; |
| 22 | import cuchaz.enigma.api.service.EnigmaServiceType; | 22 | import cuchaz.enigma.api.service.EnigmaServiceType; |
| 23 | import cuchaz.enigma.api.service.JarIndexerService; | 23 | import cuchaz.enigma.api.service.JarIndexerService; |
| 24 | import cuchaz.enigma.utils.Utils; | ||
| 24 | 25 | ||
| 25 | import java.io.IOException; | 26 | import java.io.IOException; |
| 26 | import java.nio.file.Path; | 27 | import java.nio.file.Path; |
| @@ -50,7 +51,7 @@ public class Enigma { | |||
| 50 | 51 | ||
| 51 | services.get(JarIndexerService.TYPE).forEach(indexer -> indexer.acceptJar(classCache, jarIndex)); | 52 | services.get(JarIndexerService.TYPE).forEach(indexer -> indexer.acceptJar(classCache, jarIndex)); |
| 52 | 53 | ||
| 53 | return new EnigmaProject(this, classCache, jarIndex); | 54 | return new EnigmaProject(this, classCache, jarIndex, Utils.zipSha1(path)); |
| 54 | } | 55 | } |
| 55 | 56 | ||
| 56 | public EnigmaProfile getProfile() { | 57 | public EnigmaProfile getProfile() { |