aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
AgeCommit message (Collapse)Author
2021-11-23Fix gradle module metadatas not including api deps in runtimeElements (#540)Juuxel
2021-11-20Add an option (enabled by default) to map synthetic field and method names ↵modmuss50
from the official mojang mappings. (#538)
2021-11-18Merge remote-tracking branch 'FabricMC/dev/0.10' into dev/0.10.0shedaniel
# Conflicts: # src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftMappedProvider.java
2021-11-17Fix access widener file hashcode calculation breaking caching.modmuss50
When using transitive access wideners the mc jar would always be re-processed.
2021-11-15Add getBaseMappedJar to make it easier to get the pre-transformed game jar.modmuss50
2021-11-14Revert "Fix unobfuscated names not having params or docs. (#532)"shedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-11-13Merge remote-tracking branch 'FabricMC/dev/0.10' into dev/0.10.0shedaniel
# Conflicts: # src/main/java/net/fabricmc/loom/configuration/providers/mappings/MappingsProviderImpl.java # src/test/groovy/net/fabricmc/loom/test/integration/FabricAPITest.groovy
2021-11-12Fix `namedElements` not extending from api (#533)modmuss50
* Fix `namedElements` not extending from api Fix artifact not waiting for remapAllJars with shared caches * Use apiElements * Add a better test for this. * Also add remapped api mods to namedElements
2021-11-11Fix for 1.18-pre1 server bundler.modmuss50
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.
2021-11-10Reduce log level of "Using project based jar storage".modmuss50
This will be used on a lot more projects now as transitive access wideners becomes more widely used.
2021-11-10Ensure that the encoding is set to UTF-8modmuss50
2021-11-09Fix unobfuscated names not having params or docs. (#532)modmuss50
2021-11-06Merge remote-tracking branch 'FabricMC/dev/0.10' into dev/0.10.0shedaniel
# Conflicts: # src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java # src/main/java/net/fabricmc/loom/extension/MinecraftGradleExtension.java
2021-11-01Fix missing blank line between javadoc and paramsmodmuss50
2021-11-01Allow to set custom intermediary url again (#528)Cat Core
* allow to set custom intermediary url again * apply suggestions * add some javadoc
2021-11-01Make CFR the default decompiler (#527)modmuss50
* Make CFR the default decompiler Expose decompiler options * Remove convention, default value is an empty map. * Checkstyle..
2021-10-30Merge remote-tracking branch 'FabricMC/dev/0.10' into dev/0.10.0shedaniel
2021-10-29Add localRuntime and modLocalRuntime configurations (#526)Juuxel
Closes #481. Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-10-29Add dev config with default jar task on it, to aid with depending on … (#525)modmuss50
* Add dev config with default jar task on it, to aid with depending on sub projects. * Rename to `namedElements` * Update src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-10-28Fix misleading error message when decompiling fails.modmuss50
2021-10-28Fix Gradle 8 deprecationshedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-10-27Forgot to commit fix merge conflictsshedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-10-26Merge remote-tracking branch 'FabricMC/dev/0.10' into dev/0.10.0shedaniel
# 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
2021-10-26Use NIO instead of ZipUtil (#513)shedaniel
* 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>
2021-10-25Ensure path exists when loading transitive access wideners.modmuss50
2021-10-25Alter TransitiveAccessWidenerJarProcessor to use the same logic used in ↵modmuss50
ModCompileRemapper for resolving mod jars.
2021-10-24Improve run config argument handling, should work with spaces a bit better. ↵modmuss50
(#524)
2021-10-24Enable META-INF fixer when remapping mods.modmuss50
2021-10-23Add AccessWidenerValidator (#518)modmuss50
* Add AccessWidenerValidator * Move to task * Review feedback
2021-10-20Forward stdin in AbstractRunTask. Fixes begin unable to run server commands.modmuss50
2021-10-16Fix mappings not begin on test runtime classpath.modmuss50
2021-10-15Ensure decompiler worker deamons are stopped after failure.modmuss50
2021-10-14Fix null related issues in CFRObfuscationMappingmodmuss50
2021-10-14Update tiny-remapper and enable "inferNameFromSameLvIndex" to fix issues ↵modmuss50
with decompiling some locals.
2021-10-13Fix -dev-dev in maven publicationsshedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-10-13Fix #57shedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-10-13Merge remote-tracking branch 'FabricMC/dev/0.10' into dev/0.10.0shedaniel
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
2021-10-12Don't allow none reproducible dependencies in layered mappings as it breaks ↵modmuss50
the caching guarantee.
2021-10-12Fix mod* configurations not being on the test compile/runtime configuration. ↵modmuss50
Closes #488
2021-10-11Fix regression in TinyJavadocProvider (#516)Juuxel
This was param.getName using tiny-mappings-parser before #495. It was writing the method name as the parameter name, which doesn't seem too correct...
2021-10-11Rewrite GenSources including full support for CFR. (#511)modmuss50
* 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
2021-10-09Turn the tinyMappingsJar dependency into a module dependencyshedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-10-04Use conventions in RemapConfiguration to avoid need for afterEvaluate. (#514)NinjaPhenix
2021-10-04Fix java.lang.IllegalArgumentException in ThreadingUtilsshedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-09-30Make Run Config run dir relative to the project and not the root project. ↵modmuss50
Move eclipse launch config files out of the root project. Closes #509
2021-09-29Fix crash in JarProcessorManager when the input jar does not have a manifest.modmuss50
2021-09-29Support 21w39amodmuss50
2021-09-29Fix checkstylesshedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-09-29Merge remote-tracking branch 'FabricMC/dev/0.10' into dev/0.10.0shedaniel
# Conflicts: # src/main/java/net/fabricmc/loom/configuration/providers/mappings/LayeredMappingsDependency.java
2021-09-29Fix merge conflictsshedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>