1780 Commits

Author SHA1 Message Date
Juuz
3af6943dd4 Deprecate 1.6 2024-12-07 16:37:19 +02:00
Jab125
ae09d1258d Fix error when querying useLegacyMixinAp on a Forge project. 2024-07-18 22:07:15 +10:00
Jab125
b7e5e80281 Remap NeoForge's mixins (#224) 2024-07-09 13:11:43 +03:00
Juuz
74232d86b4 Patch ModDirTransformerDiscoverer to not crash with UnionFS paths 2024-07-03 16:30:34 +03:00
Juuz
af79dc6c1e Remove MappingOption.forPlatform
This fixes dep AT remapping on Forge 1.20.6+ - the filter
was choosing the wrong mapping option as it's only designed
for one extra namespace.

The optimisation isn't strictly needed. If it's added back
in the future, we need to make sure that ModProcessor gets
the full mapping tree.
2024-07-03 14:18:52 +03:00
Jab125
49ef4fc17c Fix Forge 50 (1.20.6) (#219)
Co-authored-by: shedaniel <daniel@shedaniel.me>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2024-07-01 21:11:15 +03:00
Juuz
69d9ec068d 1.6 is definitely not a beta 2024-07-01 20:09:44 +03:00
Juuz
8da7cc0f87 Fix launching 1.20.6 NeoForge with Yarn (#213)
Fixes #212.
2024-05-11 16:00:14 +03:00
shedaniel
52b59feecb Refactor field migration into a more generalized migrator + add metho… (#209)
* Refactor field migration into a more generalized migrator + add method inheritance migrator

* Fix typo and clean up the method

* I can't spell
2024-05-07 14:07:33 +00:00
shedaniel
ff3546e108 Merge remote-tracking branch 'FabricMC/dev/1.6' into dev/1.6 2024-04-28 20:22:49 +09:00
modmuss
bd009515cb Update loom native, with better error handling. (#1102) 2024-04-20 22:49:21 +01:00
modmuss
e142cb8d0c Print file locks in more cases during decompile (#1099) 2024-04-17 20:41:29 +01:00
modmuss
7010ad633b Fix sources publishing (#1098)
* Fix sources publishing

* Revert "Fix sources publishing"

This reverts commit a3fec653dc5255b9bc939dd3305e5df8529da729.

* A better fix
2024-04-15 15:12:10 +01:00
modmuss
1b1168d7e2 Fix and test line number remapper (#1097) 2024-04-15 15:11:57 +01:00
modmuss
02af089e57 Lock disowning +write linemap txt file for debugging (#1094)
* Write line map file (#1090)

* Lock disowning (#1093)

* Lock disowning

* Comment fix

* Typo

* Use a much lower lock timeout on CI
2024-04-14 15:14:44 +01:00
shedaniel
6508030d45 Add the updated neoforge AT for J21 & update ASM 2024-04-09 02:03:03 +09:00
shedaniel
f669cb3c2b Fix deleteParameterNames on null parameter names (Yes apparently that is in spec) 2024-04-09 02:02:36 +09:00
shedaniel
06111ac2fd Finalize silentMojangMappingsLicense on read, close #203 2024-04-06 02:43:49 +09:00
shedaniel
6497070b19 Publish and mark Loom 1.6 as beta 2024-04-05 00:18:09 +09:00
shedaniel
3cd4740780 Fix unit tests 2024-04-05 00:17:31 +09:00
shedaniel
deaee2ad65 Workaround inner classes decompilation on Forge 2024-04-04 23:19:37 +09:00
shedaniel
377c0e933a Detect neoforge.mods.toml on NeoForge 2024-04-04 22:29:45 +09:00
shedaniel
72269221ef Fix checkstyle violations 2024-04-04 22:27:45 +09:00
shedaniel
63f00eecf4 Merge remote-tracking branch 'origin/dev/1.5' into dev/1.6 2024-04-04 22:19:13 +09:00
shedaniel
cd1267c4c0 Mark Loom 1.5 as stable 2024-04-04 22:18:49 +09:00
shedaniel
e6c2c6eda9 Merge remote-tracking branch 'origin/dev/1.4' into dev/1.5
# Conflicts:
#	src/main/java/net/fabricmc/loom/util/Constants.java
2024-04-04 22:18:36 +09:00
shedaniel
6062d38509 Mark Loom 1.4 as deprecated 2024-04-04 22:18:10 +09:00
shedaniel
46d4b56fa1 Merge remote-tracking branch 'FabricMC/dev/1.6' into dev/1.6 2024-04-04 22:15:32 +09:00
shedaniel
2838faf41d Fix compile errors 2024-04-04 18:21:21 +09:00
modmuss
e96c0e2fbd Fix remapped sources publishing (#1084) 2024-04-01 21:13:50 +01:00
modmuss50
ba8124e2d6 Set artifact urls for the Mojang maven repo in the correct place. 2024-04-01 15:00:03 +01:00
shedaniel
479331d9cd Merge remote-tracking branch 'FabricMC/exp/1.6' into exp/1.6
# Conflicts:
#	gradle/libs.versions.toml
#	src/main/java/net/fabricmc/loom/LoomGradleExtension.java
#	src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java
#	src/main/java/net/fabricmc/loom/build/nesting/IncludedJarFactory.java
#	src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MergedMinecraftProvider.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftJarConfiguration.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftProvider.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/SingleJarMinecraftProvider.java
#	src/main/java/net/fabricmc/loom/extension/LoomFiles.java
#	src/main/java/net/fabricmc/loom/extension/LoomFilesBaseImpl.java
#	src/main/java/net/fabricmc/loom/extension/LoomGradleExtensionApiImpl.java
#	src/main/java/net/fabricmc/loom/extension/LoomGradleExtensionImpl.java
#	src/main/java/net/fabricmc/loom/task/GenerateSourcesTask.java
#	src/main/java/net/fabricmc/loom/task/RemapJarTask.java
#	src/main/java/net/fabricmc/loom/util/fmj/FabricModJsonFactory.java
2024-03-23 01:06:56 +09:00
modmuss50
4b5f62e6b1 Fix custom decompiler test 2024-03-21 19:24:42 +00:00
modmuss50
658ca0c709 Replace hard link with move.
Fixes https://github.com/orgs/FabricMC/discussions/3659
2024-03-20 23:03:25 +00:00
modmuss50
713e1ff268 Enable decompile cache by default 2024-03-20 10:34:19 +00:00
modmuss50
c3dd16d9bf Fix idea sync task group 2024-03-20 10:26:00 +00:00
modmuss50
d0feecfbcb Don't fail setup if a project FMJ is invalid. 2024-03-19 23:03:49 +00:00
modmuss50
ae9db3fbbd Fix datagen run config having incorrect name. Closes #1000 2024-03-19 22:15:33 +00:00
modmuss50
4084fa3eb9 Add classname to stracktrace when Kotlin remapping fails. Closes #1045 2024-03-19 22:03:01 +00:00
chris
c1d51b1149 Introduce SemVer version parsing to included mods/libraries (#1075)
* Introduce SemVer version parsing & ".Final" suffix stripping to included mods/libraries

* Address review about `CONSTANT_CASE` variables, add unit test

* thanks spotless :/
2024-03-19 20:23:29 +00:00
modmuss
455b9d6aed Only set startFirstThread on versions using LWJGL 3 (#1076)
* Only set startFirstThread on versions using LWJGL 3

* Lazily evaluate RunConfig
2024-03-19 20:08:35 +00:00
Space Walker
3670ccb959 Support merging pre 1.3 Minecraft versions. (#1026)
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-03-19 17:25:57 +00:00
modmuss50
30ef45e878 Fix async zip processor executor.
Virtual threads are much slower, lets not worry about them for now.
2024-03-18 16:24:07 +00:00
modmuss
c2a9c2f18d Async line number remapping (#1074) 2024-03-18 15:42:57 +00:00
modmuss
7bb1224642 Experimental Decompiler cache (#1043) 2024-03-17 22:28:47 +00:00
modmuss
dbebbdb944 Add RemapJarTask.getOptimizeFabricModJson() (#1068)
* Optimise fabric.mod.json files

* Fixes

* Make opt-in

* Revert

* Fix
2024-03-12 19:11:26 +00:00
modmuss
5caac7ba8e Fix possible race condition in PrepareJarRemapTask (#1065)
* Fix possible race condition in PrepareJarRemapTask
2024-03-12 13:26:14 +00:00
modmuss
c60b456f7e Print info about locked files during configuration or genSources (#1066)
* Print info about locked files during configuration or genSources

* Use release version

* Output adjustments

* Fix build

* Add user back
2024-03-11 21:16:46 +00:00
modmuss
994a97e3de Refactor MinecraftMetadataProvider to create it earlier (#1072) 2024-03-11 12:57:52 +00:00
modmuss
f0ca06f912 Cleanup MinecraftJarConfiguration (#1070)
* Cleanup MinecraftJarConfiguration

* Fixes

* Fixes
2024-03-11 11:36:52 +00:00