-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor reading/writing into plugins #197
Conversation
enigma-swing/src/main/java/org/quiltmc/enigma/gui/util/ExtensionFileFilter.java
Show resolved
Hide resolved
enigma/src/main/java/org/quiltmc/enigma/impl/translation/FileType.java
Outdated
Show resolved
Hide resolved
enigma/src/main/java/org/quiltmc/enigma/api/translation/mapping/serde/MappingFormat.java
Outdated
Show resolved
Hide resolved
not going to merge this until I have input from @IotaBread on whether |
I'm thinking this could be api, and maybe we could replace MappingFormat by an interface + service (just something to hook a plugin), so more can be added by external plugins or applications, instead of having an enum with the hardcoded set of formats |
I actually really like that suggestion -- it would allow us to do MIO support via plugin |
enigma-swing/src/main/java/org/quiltmc/enigma/gui/util/ExtensionFileFilter.java
Outdated
Show resolved
Hide resolved
enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceType.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great so far! Most comments are nitpicks, the other 3 are more important
enigma-cli/src/main/java/org/quiltmc/enigma/command/ComposeMappingsCommand.java
Outdated
Show resolved
Hide resolved
enigma-cli/src/main/java/org/quiltmc/enigma/command/ConvertMappingsCommand.java
Outdated
Show resolved
Hide resolved
enigma-cli/src/main/java/org/quiltmc/enigma/command/FillClassMappingsCommand.java
Outdated
Show resolved
Hide resolved
enigma-cli/src/main/java/org/quiltmc/enigma/command/InvertMappingsCommand.java
Outdated
Show resolved
Hide resolved
enigma-cli/src/main/java/org/quiltmc/enigma/command/MapSpecializedMethodsCommand.java
Outdated
Show resolved
Hide resolved
enigma/src/main/java/org/quiltmc/enigma/api/service/NameProposalService.java
Outdated
Show resolved
Hide resolved
...ma/src/main/java/org/quiltmc/enigma/api/translation/mapping/serde/MappingFileNameFormat.java
Outdated
Show resolved
Hide resolved
enigma/src/main/java/org/quiltmc/enigma/api/translation/mapping/serde/tinyv2/TinyV2Writer.java
Outdated
Show resolved
Hide resolved
enigma/src/main/java/org/quiltmc/enigma/api/translation/mapping/serde/tinyv2/TinyV2Writer.java
Outdated
Show resolved
Hide resolved
enigma/src/test/java/org/quiltmc/enigma/MappingFormatDetectionTest.java
Outdated
Show resolved
Hide resolved
…alService.java Co-authored-by: Iota <[email protected]>
…ingsCommand.java Co-authored-by: Iota <[email protected]>
…appingsCommandTest.java Co-authored-by: Iota <[email protected]>
…xel-file-extensions
…izedMethodsCommandTest.java Co-authored-by: Iota <[email protected]>
…xel-file-extensions
enigma-swing/src/main/java/org/quiltmc/enigma/gui/util/ExtensionFileFilter.java
Show resolved
Hide resolved
enigma-cli/src/test/java/org/quiltmc/enigma/command/FillClassMappingsCommandTest.java
Show resolved
Hide resolved
I believe everything is addressed! |
@IotaBread do you have time to review this anytime soon? I'd like to release the update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Considering everything from my previous reviews has already been solved, it's good to merge
🎉 |
ports over FabricMC/Enigma#532 by @Juuxel, making a few changes.
OTHER CHANGES: