Age | Commit message (Collapse) | Author |
|
Upgrading asm 9.3 because apparently there's Java 19 classes in the MC jar now.
Removing the `module` wrapper around dependencies because frankly I don't know
why it's a thing in the first place (works fine without on all versions of
UniversalCraft) and it prevents you from having two modules differing only in
the classifier, which is what MC 1.19 does.
Removing the throw when there are no natives, because those come bundled in jars
now (this doesn't allow running in a dev env, but it's enough to compile a jar).
|
|
|
|
|
|
|
|
So jars (and in particular legacy forge ones) get regenerated (required because
of c9c2765).
|
|
|
|
We've assumed that Forge adds its annotation everywhere via its patches but it
actually only adds them if a given file needs to have a patch applied for
reasons other than just the SideOnly annotation.
This would leave some classes/fields/methods without annotation which resulted
in an exception when deserializing horses on 1.12.2 (because it references a
class which in turn has methods referencing the dedicated server class which is
server-only).
Instead, we now convert all Fabric annotations (added during merging) to the
Forge ones and remove duplicates (where patches also added them).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Usages are more related to the modern Forge than to ModLauncher specifically.
|
|
|
|
Cause modern versions of Forge do not need them.
|
|
We never use the v1 file, so there isn't really any reason to keep it around.
|
|
|
|
A fallback SrgProvider is instantiated and initialized here but never added to
the provider list, resulting in a NPE right below in `getRawSrgFile`.
|
|
This jar used to always be included in the cache file list even though it is
only used/generated with official mappings. Therefore it would always be missing
from the cache when not using official mappings, unnecessarily re-running the
patching code.
|
|
Way easier to read than the previous array-copy implementation and trivial to
extend when more file are optional (see next commit).
|
|
Should allow yarn versions to be used across mc versions when needed.
|
|
|
|
|
|
|
|
|
|
* Add architectury decompiler
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Perhaps let's not include javaexec helpers
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Fix checkstyle and resolve reviews
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
# Conflicts:
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/LayeredMappingSpecBuilderImpl.java
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/mojmap/MojangMappingLayer.java
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/mojmap/MojangMappingsSpec.java
# src/test/groovy/net/fabricmc/loom/test/unit/layeredmappings/LayeredMappingSpecBuilderTest.groovy
|
|
Unpick will now get the same version of asm that loom is running with on its classpath.
|
|
from the official mojang mappings. (#538)
|
|
# Conflicts:
# src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftMappedProvider.java
|
|
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
# Conflicts:
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/MappingsProviderImpl.java
# src/test/groovy/net/fabricmc/loom/test/integration/FabricAPITest.groovy
|
|
In the bundler its called 1.18 Pre-release 1 not 1.18-pre1, so we just assume there is only ever going to be 1 version per jar.
|
|
This will be used on a lot more projects now as transitive access wideners becomes more widely used.
|
|
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
# Conflicts:
# build.gradle
# src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java
# src/main/java/net/fabricmc/loom/configuration/mods/ModProcessor.java
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/MappingsProviderImpl.java
# src/main/java/net/fabricmc/loom/task/RemapJarTask.java
# src/main/java/net/fabricmc/loom/util/FileSystemUtil.java
# src/main/java/net/fabricmc/loom/util/TinyRemapperHelper.java
|
|
* Use nio for zip utils
* Make tests work
* Please work
* Fix some issues with tests
* Fix more issues with tests
* NIOZipUtils -> ZipUtils
* Resolve Juuxel's reviews
* Use our own FS utils
* Improve error handling, add loom Pair
* Add Unit tests + fixes
Co-authored-by: modmuss50 <modmuss50@gmail.com>
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
# Conflicts:
# .github/workflows/test.yml
# src/main/java/net/fabricmc/loom/configuration/RemapConfiguration.java
# src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java
# src/main/java/net/fabricmc/loom/configuration/providers/MinecraftProviderImpl.java
# src/main/java/net/fabricmc/loom/configuration/providers/minecraft/assets/MinecraftAssetsProvider.java
# src/main/java/net/fabricmc/loom/decompilers/fernflower/AbstractFernFlowerDecompiler.java
# src/main/java/net/fabricmc/loom/decompilers/fernflower/ForkingJavaExec.java
# src/main/java/net/fabricmc/loom/task/GenVsCodeProjectTask.java
# src/main/java/net/fabricmc/loom/task/GenerateSourcesTask.java
# src/main/java/net/fabricmc/loom/util/SourceRemapper.java
# src/test/resources/projects/parchment/build.gradle
|
|
the caching guarantee.
|
|
* Rewrite CFR decompiler interface. Support javadoc
* CFR line numbers and fixes.
* Cleanup and fix
* Use WorkerExecutor to fork, massively cleans up the fernflower code, but does remove the fancy multithreaded logging.
* Use IPC to get logging back from the decompilers.
* Cleanup UnpickJarTask, fix leak in IPCServer
* Used published CFR build
* Handle older windows versions that do not support AF_UNIX.
* Fixes and basic unit test
* Improve memory handling of genSources
* Stop decompile worker JVM
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|