Juuz
4fb75cf336
Include source mapping hash in decompiler cache key ( #1414 )
...
* Include source mapping hash in decompiler cache key
Fixes #1410 .
* Mark source mappings hash property as optional, improve name
2025-10-31 21:38:25 +00:00
modmuss
0e2fc99eb1
Add back getModSourceSets(), as its used by mc dev to do nothing. ( #1415 )
2025-10-31 21:34:31 +00:00
Juuz
f8a465377c
Fix using Enigma mappings with mod-provided javadoc ( #1411 )
...
- Fixes using formats with inherently multiple namespaces
by actually only checking for the presence of dst names
instead of dst namespaces.
- Fixes using formats without namespace ids by replacing
the fallback namespaces with intermediary and named.
2025-10-31 11:52:23 +00:00
feenko
04995cbcf9
Fix FMJ generator not resolving dependencies correctly with exactly one version range ( #1408 )
2025-10-30 15:54:17 +00:00
modmuss
e076ac7bcf
Direct port to class tweaker ( #1398 )
...
* Direct port to class tweaker
* Debugging help
* Checkstyle
* Update CT
2025-10-24 18:06:26 +01:00
modmuss
c08bfbe5be
Warn when the project is stored in OneDrive ( #1402 )
...
* Warn when the project is stored in OneDrive
This is a large source of random errors we see in the support channels.
* Dont event check if it exists
2025-10-23 22:19:33 +01:00
modmuss
36cf73997f
Make the intergration tests easier to debug ( #1401 )
...
* Make the intergration tests easier to debug
* Spotless
2025-10-23 19:25:17 +01:00
modmuss
692ab93693
Support depending on type safe projects. ( #1399 )
2025-10-23 08:54:46 +01:00
modmuss50
e67de3f9af
Export runtime jars from companion projects.
2025-10-22 23:20:14 +01:00
modmuss
2a47c835d1
Fix exporting the dev jar path in a projects classpath. ( #1397 )
2025-10-22 21:28:57 +01:00
modmuss
09a4831f25
Support classpath groups when using configure on demand. ( #1392 )
...
* Support classpath groups when using configure on demand.
* Cleanup
* Work around Gradle 8.14 issue
* Another fix
* Rename plugin
* Fix plugin versioning
* Add some docs
* More fixes
* Ensure backwards compatible.
2025-10-20 22:46:36 +01:00
Joseph Burton
b2c933d2c0
Add annotations apply integration test ( #1396 )
2025-10-17 11:30:39 +01:00
Joseph Burton
3783f41ef3
Fix annotations not being applied in a project outside Enigma ( #1395 )
2025-10-15 21:52:49 +01:00
Joseph Burton
5656d41792
Apply record component annotations to getter methods and canonical constructor parameters ( #1394 )
2025-10-15 17:10:16 +01:00
Joseph Burton
501070a47a
Make annotations data a bit nicer to use ( #1391 )
...
* Make annotations data a bit nicer to use
* Add copy constructors
2025-10-08 12:01:23 +01:00
Juuz
5250e9fb85
Fix invisible log levels being enabled in the log4j config ( #1388 )
...
The previous level made loggers report that e.g. the trace
level is always enabled which is clearly wrong.
2025-10-06 22:00:03 +01:00
modmuss
fd2f807647
Only warn when attempting to configure the disabled mixin AP ( #1387 )
2025-10-05 19:18:57 +01:00
modmuss50
3d2a080242
Invalid remapped sources when using refresh dependencies.
...
Closes #1142
2025-10-05 18:07:27 +01:00
modmuss
ccb923d533
Fix remapping Kotlin classes containing $. ( #1385 )
...
* Fix remapping Kotlin classes containing $.
Closes #1363
* spotless
2025-10-05 17:58:10 +01:00
modmuss
53a99f8603
Fix progress logger ( #1386 )
2025-10-05 17:57:56 +01:00
modmuss
4eac2e7845
Fix CRF decompile failing on c0.30 ( #1384 )
...
- ClassLineNumbers.readMappings throws a nicer error when the input data is empty.
- GenerateSourcesTask include linemap filename when failed to read.
- CRF decompiler wont write empty linemap data.
- Add test
2025-10-05 17:15:49 +01:00
modmuss
d611d7f1b3
Replace TCA with forked fabric-log4j-util ( #1375 )
...
* fabric-log4j-util
* Update
2025-10-05 16:28:12 +01:00
modmuss
e2639f9e27
Improve loom.mixin error message now that the AP is disabled by default. ( #1383 )
2025-10-05 16:26:37 +01:00
modmuss
c97f9e4454
Update to ASM 9.9 ( #1382 )
2025-10-05 10:18:30 +01:00
modmuss
2dd467bdb7
Remove isRootProject from extension as it can hide Project.getRootProject when in the loom extension block. ( #1381 )
2025-10-05 09:53:49 +01:00
Joseph Burton
dd90d7bd29
Add AnnotationsDataValidator ( #1379 )
...
* Add AnnotationsDataValidator
* Use Constants.ASM_VERSION
2025-10-03 18:08:09 +01:00
KikuGie
7f95c3c60f
Make fabric.mod.json path configurable at configuration stage. ( #1364 )
...
* Add `fabric.mod.json` path property.
* Add path provider integration tests.
* Separate fabric.mod.json reading methods and move selection to the helper method.
* Separate FMJ getter methods and add configuration to datagen and testmod settings.
* Remove the `fabricModJsonPath` property from Fabric API source sets
* Address review requests by fixing formatting and removing redundant changes
* Fix build
* Move tests to existing file, and remove var usage.
* Fix build :)
---------
Co-authored-by: modmuss50 <modmuss50@gmail.com >
2025-10-03 10:16:17 +01:00
modmuss
103db759f6
Fix SpecContext always resolving mod dependencies with the runtime attribute. ( #1378 )
...
Likely fixes #1334
2025-10-01 14:23:05 +01:00
modmuss
5f513b0efc
Add basic unit tests for SpecContext ( #1377 )
2025-10-01 11:27:14 +01:00
Joseph Burton
7484a7fd95
Call visitAnnotableParameterCount ( #1376 )
2025-09-30 13:38:13 +01:00
Joseph Burton
312dcc7ca6
Fix annotation visitor in AnnotationsData.remap ( #1374 )
...
* Fix annotation visitor in AnnotationsData.remap
* Use real TinyRemapper
2025-09-29 22:25:18 +01:00
modmuss
8cbe10cb55
Add system property to renderdoc tasks. ( #1373 )
...
* Add system property to renderdoc tasks.
* Better comment
2025-09-29 09:53:35 +01:00
modmuss
cf42acf09f
Remove Guava and Commons IO Dependencies ( #1372 )
2025-09-27 09:06:29 +01:00
modmuss
b5f79ef8f6
Update Gradle test versions ( #1370 )
...
* Update Gradle test versions
* 9.3 nightly's
* Don't ask.
* Fix another test
2025-09-25 19:47:25 +01:00
Joseph Burton
1f84eaf087
Fix NPE in AnnotationsApplyVisitor ( #1371 )
...
* Fix NPE in AnnotationsApplyVisitor
* Fix test
2025-09-25 15:08:29 +01:00
Juuz
a8c0b52128
Add task for launching Enigma against the intermediary jar in dev envs ( #1354 )
...
* Add task for launching Enigma against the intermediary jar in dev envs
The task can be used for writing mod-provided javadoc.
* Use multi-jar Enigma to support split source sets
* Update to Enigma 3.0.1
* Add docs to ModEnigmaTask
* Fix Enigma file extension
* ModEnigmaTask: Fail if mapping file is missing
2025-09-23 12:47:14 +01:00
Joseph Burton
213bbfcd18
Add ability to remap annotations data ( #1366 )
...
* Add ability to remap annotations data
* Fix unpick remap test
2025-09-20 13:17:37 +01:00
modmuss
2e24e358ea
Merge differing method/field access permission flags ( #1341 )
...
* Report differing method/field access flags when merging Minecraft classes
* Merge access
* Fix merging private final methods
* Include intermediary name in mappings hash
* Revert "Include intermediary name in mappings hash"
This reverts commit 20ea642cb78d84a153e4a16864f832e14dce3b0c.
* Workaround issue
2025-09-03 16:46:55 +01:00
Juuz
8d9d4df65f
Fix split official namespaces existing on versions where they don't make sense ( #1361 )
...
* Don't use clientOfficial and serverOfficial namespaces on versions with only one jar
Fixes #1360 .
Renames an experimental API in IntermediateMappingsProvider:
getIsLegacyMinecraft -> getUseSplitOfficialNamespaces
* Add test for 0.30 with deobf mappings + no intermediate mappings
* Change split official ns check to Beta 1.0..<1.3 range check
* Fix javadoc
* Clarify comment in MinecraftVersionMeta
2025-09-03 11:49:22 +01:00
modmuss50
928c091d2c
Merge remote-tracking branch 'origin/dev/1.11' into exp/1.12
2025-09-03 09:27:00 +01:00
Pasqual Koschmieder
d6ff760ca5
remove use of Task.getProject at exec time in ValidateAccessWidenerTask ( #1357 )
2025-09-03 09:26:19 +01:00
modmuss
0b5a242762
Bump gradle test versions ( #1359 )
2025-09-02 10:12:40 +01:00
modmuss
4a34c4bde5
fabric.mod.json generation task ( #1345 )
...
* fabric.mod.json DSL.
* A start on generating FMJs
* More work
* The rest
* Task works
* Javadoc and cleanup
* Fixes
2025-09-02 09:27:55 +01:00
modmuss
2617ed1f49
"Fix" another project isolation issue. ( #1353 )
...
* "Fix" another project isolation issue.
Closes #1352
* Fix
2025-08-13 08:53:00 +01:00
modmuss50
b85b3e695a
Merge remote-tracking branch 'origin/dev/1.11' into exp/1.12
2025-08-12 08:56:04 +01:00
modmuss
fd8cc10120
Fix unpick remapping classpath ( #1350 )
2025-08-12 08:55:36 +01:00
modmuss50
cc411d4c6a
Merge remote-tracking branch 'origin/dev/1.11' into exp/1.12
2025-08-11 11:12:51 +01:00
Joseph Burton
543d47a0f8
Unpick v3 fixes ( #1347 )
2025-08-11 11:06:40 +01:00
modmuss50
45644ca4f9
Merge branch 'dev/1.11' into exp/1.12
2025-08-06 09:56:49 +01:00
modmuss50
573bc119ec
Fix not being able to skip jar verification.
2025-08-06 09:56:28 +01:00