Commit Graph

2361 Commits

Author SHA1 Message Date
modmuss
d66c476c11 Fix AsyncZipProcessor not waiting for for all futures to complete on failure. (#1315)
* Fix AsyncZipProcessor not waiting for for all futures to complete on failure.
2025-05-30 16:48:34 +01:00
modmuss
0a10482c66 Unpick V3 (#1310)
* Unpick V3

* Update unpick

* Dont use impl class

* Apply classresolver changes from Earthcomputer

* Unpick beta 3

* beta 4

* Unpick logging improvements
2025-05-30 16:44:32 +01:00
gniftygnome
97a64410d2 Avoid Mapping-IO limitations on modifying a mapping tree with active visitor. (#278)
- Use Mapping-IO API when modifying its tree
- Close mapping visitor before modifying mapping tree
- Seems to avoid #276
2025-05-17 22:43:10 +02:00
modmuss
c365ad0743 Fix being unable to depend on specific snapshot versions of mods. (#1312)
* Fix being unable to depend on specific snapshot versions of mods.

* Update comment

* Better fix.
2025-05-17 14:53:42 +01:00
modmuss
5aa7a3efef Test RemapSourcesJarTask with custom mappings (#1311)
* Test RemapSourcesJarTask with custom mappings

* Check remapped output
2025-05-17 13:32:12 +01:00
modmuss
3a5b207cdc Fix RemapSourcesJarTask not using the custom mappings (#1308)
* Fix RemapSourcesJarTask not using the custom mappings

* Remove old todo
2025-05-14 20:34:33 +01:00
modmuss
0a35910c63 Rewrite Checksum util class (#1304)
* Rewrite Checksum util class as the old one was annoying me.

* Small cleanup in UnpickService

* Test fixes & cleanup

* Fix build

* Fix OfflineModeTest
2025-05-07 12:13:35 +01:00
modmuss
eff00a1c30 Replace a bunch of Guava stuff with Java APIs (#1305) 2025-05-06 15:06:52 +01:00
modmuss
9948092cdb Create UnpickService to move unpick related code out of gen sources.
* Unpick code cleanup 1

* Dont create unpick service when not using unpick
2025-05-06 14:15:07 +01:00
modmuss
0e26ac3816 Target Loom to Java 21 (#1299) 2025-05-05 20:46:16 +01:00
modmuss
8389baf27b Run unpick in process. Fixes issues with long command lines. (#1298)
* Run unpick in process. Fixes issues with long command lines.

* Undo test change

* Cleanup
2025-05-01 21:08:38 +01:00
modmuss
88dba47e5d Add custom mappings support to abstract remap jar task. (#1297)
* Add custom mappings support to abstract remap jar task.

Closes #1296

* Fix build
2025-04-28 22:09:45 +01:00
modmuss
8014d2c18b RenderDoc tasks (#1291)
* First pass on renderdoc support

* Fixes and improvements

* Fix debugging/cleaner code.

* Download from fabric maven

* Fix build

* Revert changes to AbstractRunTask
2025-04-26 15:37:46 +01:00
modmuss
b09c037007 Rewrite KotlinClassMetadataRemappingAnnotationVisitorTest in groovy. (#1295) 2025-04-25 19:39:43 +01:00
modmuss
e62b8692d3 Fix DebugLineNumbersTest and run it on extended test runs. (#1294) 2025-04-25 19:14:38 +01:00
modmuss
cc31f1c849 Update to Gradle 8.14 (#1292)
* Update to Gradle 8.14

* Fix build
2025-04-25 18:31:19 +01:00
modmuss
6bd1b12b51 Introduce concept of extended tests (#1293) 2025-04-25 18:04:58 +01:00
modmuss
e34325f7bc Add option to drop non root methods when using Mojang mappings. (#1258)
* Attempt to fix #1209

* More layered mappings tests

* Fix build

* Make opt in

* Rename
2025-04-16 22:08:49 +01:00
modmuss
47e001e929 Refmap inlining (#1273)
* Refmap inlining

* More work :)

* Disable by default

* Unit test fixes
2025-04-16 21:05:27 +01:00
modmuss
86587df8fd Don't apply interface injection to the common jar when a mod dep is client only. (#1288)
* Don't apply interface injection to the common jar when a mod dep is client only.

* Fixes
2025-04-16 09:18:14 +01:00
modmuss
beb19dbfc0 Test with 9.0 nightly (#1287) 2025-04-08 09:30:23 +01:00
modmuss
4165168558 Resolve libraries for all platforms when generating verification metadata. (#1286)
* Resolve libraries for all platforms when generating verification metadata.

* Fix build
2025-04-07 21:01:45 +01:00
modmuss50
0012682ec7 Merge remote-tracking branch 'origin/dev/1.10' into exp/1.11 2025-04-07 13:19:55 +01:00
Jonathan Coates
d463501e9b Support putting run configs in folders (#1276)
* Remove unused RunConfig.genRuns

* Support putting run configs in folders

* Fix checkstyle complaints

Given how many of my projects use checkstyle, you'd have thought I'd
remember to check it before submitting a PR.

* Fix IdeaClasspathModificationsTest

"I won't run the tests, I've tested manually, and nothing will break".
Words spoken before disaster (or at least making a fool of myself in
CI).
2025-04-07 11:55:15 +01:00
dicedpixels
24fdf5af5c filter out new realms error message (#1278) 2025-04-07 11:54:26 +01:00
modmuss
2af4b7e591 Handle fabric.mod.json file being empty (#1280)
* Throw a nicer error when the fabric.mod.json file is empty

* Don't fail just log.
2025-04-07 11:54:08 +01:00
modmuss
186b774a2e Verify the minecraft jar signature (#1282)
* Verify the minecraft jar cert

* Don't verify old server jars.

* Checkstyle

* Unit test fixes

* Add a list of known version hashes for versions that we cannot verify the jar signature.

Either the versions arent signed, or are signed with a SHA-1.

* Only verify minecraft jars when they were actually downloaded again.

* Add property to disable verification

* Fix import

* Fix bundled jars
2025-04-07 11:53:55 +01:00
modmuss
dbe1408a72 Use a hash for remapped dependency caching. (#1277)
* Use a hash from ModDependencyOptions for remapped dependency caching.

* Use a different group to allow exclusiveContent to work.

* Fix unit tests
2025-03-28 12:27:22 +00:00
shedaniel
6dae9c9fa4 Fix crash on setup for clean environments 2025-03-26 22:50:08 +08:00
shedaniel
c9283f7eaa Publish 1.10 2025-03-26 20:49:17 +08:00
shedaniel
9bcad2c4dd Fix 1.21.5 NeoForge method inheritance issues 2025-03-26 20:45:49 +08:00
shedaniel
dbe3449236 Merge remote-tracking branch 'FabricMC/dev/1.10' into dev/1.10 2025-03-26 14:08:12 +08:00
modmuss50
b37c4d3474 Update tiny remapper 2025-03-23 16:34:38 +00:00
modmuss50
3de1339138 Merge remote-tracking branch 'origin/dev/1.10' into exp/1.11 2025-03-16 10:33:22 +00:00
modmuss50
ebc638f286 Use fork of 3rd party action, specify github token permissions
[no ci]
2025-03-16 10:33:07 +00:00
Juuz
df1cfb2dce Fix MethodInheritanceMappingsMigrator on MIO 0.7 2025-03-13 21:59:14 +02:00
Juuz
b9bf259dee MCPReader: Replace Lorenz with MIO 2025-03-13 15:03:18 +02:00
Juuz
1904ef5a19 MCPReader: Replace Stitch with MIO 2025-03-13 14:57:23 +02:00
Juuz
6d51a2bd33 Replace SrgNamedWriter with MIO 2025-03-13 14:27:14 +02:00
Juuz
7e4b68491d Replace custom TSRG2 writing code with MIO 2025-03-13 14:20:32 +02:00
Juuz
f31c37a900 SrgProvider: Use visitor to drop args and remove unused file
Clearing the arg list no longer works in MIO 0.7. Additionally,
the non-trimmed merged SRG file wasn't used so it was removed.
2025-03-13 14:09:28 +02:00
modmuss
925dcafa5c Vineflower 1.11.1 (#1274) 2025-03-06 11:21:18 +00:00
Juuz
a477a718ed RemapJarTask: Delete output if it exists to prevent ghost files (#1271)
* RemapJarTask: Delete output if it exists to prevent ghost files

Fixes #1270. This changed isn't necessary for RemapSourcesJarTask
as SourceRemapperService already deletes the output.

* Add a test for #1270

* Move DeletedResourceTest inside SimpleProjectTest
2025-03-04 22:07:52 +00:00
modmuss
a0cdb4ea6b Merge pull request #1272 from Juuxel/groovy-import-editorconfig
Add Groovy import order to .editorconfig
2025-03-04 21:45:13 +00:00
Juuz
df448d7e4a Add Groovy import order to .editorconfig 2025-03-04 21:45:13 +02:00
Juuz
f15b339f6e build.gradle: Fix deprecated property syntax 2025-03-04 19:55:23 +02:00
Juuz
0029952343 Fix checkstyle 2025-03-04 19:35:19 +02:00
Juuz
8b126c23ef Merge 1.10 2025-03-04 18:37:30 +02:00
Juuz
7204a7d4f3 Fix DLI not applying to multiword NeoForge envs like dataClient
Fixes #268. All the environments are now lowercase which should
be fine.

Additionally, reverts commits 127345ea and 07f91bfd
since the workaround is no longer needed and causes a crash.
2025-03-04 18:27:24 +02:00
modmuss
8b0e718573 Fix client test resources dir (#1269) 2025-02-28 09:50:11 +00:00