Chocohead
ef14a841ac
Avoid creating CallbackInfos where they are unused ( #52 )
...
* Skip passing CallbackInfos to handlers which don't use them
Allegedly can cause measurable differences in hot code
* Fix simple injectors
When only taking a CallbackInfo(Returnable) the slot is unrelated to the target
2021-06-28 17:54:30 +01:00
Chocohead
38825f7bd9
Allow interface Mixins ( #51 )
...
* Allow mixining interfaces
Reapplies #13
Fixes #34
Includes (a form of) SpongePowered/Mixin#413 and SpongePowered/Mixin#415
* Fix mods using static vagueness
Whilst SpongePowered/Mixin#415 is generating things more correctly, there are mods (such as Better End) which rely on the current behaviour
* Fix lambdas in interface Mixins
Fixes #43
2021-06-28 17:54:19 +01:00
modmuss50
cf6c9a2e5a
Revert part of 11ec11c5f1
...
We can fix the spam this causes in loader.
2021-06-12 19:49:25 +01:00
modmuss50
11ec11c5f1
Tweak some log levels
2021-05-28 12:50:46 +01:00
modmuss50
2049942353
Java 17 support/ASM 9.1
2021-02-12 18:33:10 +00:00
modmuss50
1e9b0b9a9e
Fix log messages still being logged, update shadow plugin.
2021-02-07 20:34:05 +00:00
modmuss50
e79be6c4bb
Fix local build detection
2021-02-05 18:19:39 +00:00
modmuss50
109d53f2c5
Fix publish...
2021-02-05 18:11:12 +00:00
modmuss50
62f053c0c0
Version bump
2021-02-05 18:06:04 +00:00
modmuss50
b7de0f63ae
Java 15/16 support ( #44 )
2021-02-05 18:04:39 +00:00
modmuss50
f124d71f38
Shutup the AP when building, all this is stuff is usually useless log output. ( #45 )
2021-02-05 18:04:22 +00:00
modmuss50
6008d6f3cf
Build script updates ( #46 )
...
Build using GHA
Drop Java 6 and 7 support
Bump to ASM 9
Update gradle
New versioning
2021-02-05 18:04:04 +00:00
536170a946
Allowing injecting in constructor's ( #30 #40 )
...
* Allowing injecting in constructor
It is bad to assume that everyone does business logic outside of constructor. We don't want redirect conflict hell
* This should work
Signed-off-by: liach <[email protected] >
* Add notes for easy portin in the future
Signed-off-by: liach <[email protected] >
* Restore build number
* Adopt new versioning scheme
Signed-off-by: liach <[email protected] >
Co-authored-by: liach <[email protected] >
Co-authored-by: liach <[email protected] >
2020-10-26 20:07:59 +00:00
modmuss50
279f1e6957
Merge remote-tracking branch 'remotes/sponge/master' into fabric-0.8
...
# Conflicts:
# gradle.properties
2020-10-05 18:59:57 +01:00
Chocohead
01618ecfd0
Fix static shadows for good ( #39 )
...
* Experimental fix for SpongePowered/Mixin#431
2020-10-05 18:53:28 +01:00
Mumfrey
4585277f9f
Mixin 0.8.2 RELEASE
2020-10-04 21:33:37 +01:00
Mumfrey
bc7442d306
Hotfix for obfuscation lookup fix which fixes lookups in superclasses
...
Fixes bug introduced in 54681f0b766cf117de254441db69fa9695c25081 which
prevents lookups in indirect superclasses from resolving correctly
2020-10-04 21:31:59 +01:00
Mumfrey
5c38527533
Mixin 0.8.1 RELEASE
2020-09-17 21:17:25 +01:00
Mumfrey
9f5191d100
Update to ModLauncher 7.0 - Fixes #439
2020-09-17 11:36:23 +01:00
Mumfrey
943894557e
Properly recurse into superinterfaces when resolving member obf mappings
...
#Fixes 438
2020-09-16 19:52:32 +01:00
modmuss50
48833b3c32
Partly revert https://github.com/FabricMC/Mixin/commit/ec491e3b5d131b657bd095652f0d5195cd33a7cf to fix #28 ( #33 )
2020-08-06 19:33:51 +01:00
modmuss50
5e8e99249d
Set correct build version
2020-07-17 00:23:44 +01:00
modmuss50
e3dedef625
Merge remote-tracking branch 'remotes/SpongePowered/master' into fabric-0.8
...
# Conflicts:
# gradle.properties
2020-07-16 23:34:59 +01:00
Mumfrey
2817c670e8
Publish AP jar to maven, derp
2020-04-15 20:08:47 +01:00
Mumfrey
1252714215
Properly transform (ignore) method descriptors for primitive array types
...
Fixes #383
2020-01-24 18:39:23 +00:00
Mumfrey
f5536fb5ee
Improve logging implicit match failures for ModifyVariable, fixes #382
...
Also add some scaffolding for adding the same capability to other
injectors
2020-01-23 22:38:36 +00:00
modmuss50
5442b78e67
Merge remote-tracking branch 'remotes/sponge/master' into fabric-0.8
...
# Conflicts:
# build.gradle
# gradle.properties
2020-01-13 17:20:03 +00:00
Mumfrey
e32a38e60e
Update version to 0.8.1-SNAPSHOT for development
2020-01-10 20:57:26 +00:00
Mumfrey
6f6cee9674
Mixin 0.8 RELEASE
2020-01-10 20:56:46 +00:00
Mumfrey
c338f0c7a4
Update build with POM exclusions for older builds and maven repo switch
2020-01-10 18:08:17 +00:00
Mumfrey
bd4076714d
Provide more useful info when mixin classload is prohibited, closes #376
2020-01-08 21:20:04 +00:00
Mumfrey
8cdc32d1fa
Support for Mutable on setter accessors for final fields, closes #378
2020-01-04 16:44:00 +00:00
Jordin
cf5a44020a
Strip the FINAL flag from all targets
2020-01-03 22:49:36 -04:00
Gabriel Harris-Rouquette
b43aaeb356
In retrospect, we can all agree that 1 in fact does not equal 3.
...
After a lot of scientific consideration, and general consensus, our math
was being managed by the 19th department of the 84th district of
Orwell's General Assertion Testing Authority of Consulate of
Administration. We can in fact clear up the mess after the previous
issues with 2 + 2 being in fact 4, and not 5.
Signed-off-by: Gabriel Harris-Rouquette <[email protected] >
2020-01-02 17:20:46 -08:00
modmuss50
6dd2d90285
Merge pull request #27 from zeroeightysix/fabric-0.8
...
Merge upstream into master
2019-12-18 10:23:46 +00:00
Ridan Vandenbergh
910d479864
Merge remote-tracking branch 'remotes/upstream/master' into fabric-0.8
...
# Conflicts:
# src/main/java/org/spongepowered/asm/util/asm/ASM.java
2019-12-17 00:02:06 +01:00
Mumfrey
e72808fd95
Always conform synthetic methods, even if no immediate conflict detected
2019-12-13 17:25:51 +00:00
Mumfrey
a5d9b4e512
Allow Debug(export = true) to work even when verbose logging disabled
2019-12-13 14:22:14 +00:00
Mumfrey
27ea2a9555
Copy INVOKEDYNAMIC args array to avoid leaking handle remaps, fixes #373
2019-12-13 14:21:39 +00:00
Mumfrey
8b9621a13b
Add missing javadoc
2019-12-10 19:07:40 +00:00
Mumfrey
d45be25395
Improve detection and suppressibility of target warnings, fixes #372
2019-12-10 19:00:27 +00:00
Mumfrey
ee74e82012
Fix comparison of types for AP invoker handler, fixes #375
2019-12-09 23:55:04 +00:00
Mumfrey
a1ab1520d2
Adding javadoc is only worthwhile if the brain is enabled, derp
2019-12-06 16:46:52 +00:00
Mumfrey
66bdb7b3b0
Fix staticness check and functionality of ModifyVariable in constructors
2019-12-06 16:43:12 +00:00
Mumfrey
ce622cdfa6
Move classload tracking to AFTER so PREPARE doesn't fail for first class
...
This bug would trigger when the *first* class to be classloaded had a
mixin applied to it, since the class tracker would log the classload
before the prepare phase happened.
2019-11-24 14:38:19 +00:00
Mumfrey
9916ce37c8
Remove legacy fml agent from modlauncher service
...
This was only added to get the service to deliberately break to test the
previous commit and wasn't meant to push to the live branch
2019-11-22 02:13:31 +00:00
Mumfrey
c986828aff
Remove agent from further handling if hard fail when accepting container
2019-11-21 18:07:07 +00:00
Mumfrey
be3f944af1
Improve detection and reporting of ASM version, fixes reporting of ASM7+
2019-11-21 17:40:14 +00:00
modmuss50
e3b161a6d1
Merge remote-tracking branch 'remotes/upstream/master' into fabric-0.8
...
# Conflicts:
# build.gradle
# src/main/java/org/spongepowered/asm/mixin/transformer/MixinPreProcessorStandard.java
2019-11-15 16:26:15 +00:00
Mumfrey
6d9fcfe635
Better wiring for injector annotations, fixes issue w/missed annotations
...
ModifyVariable and ModifyConstant were previously missing from declared
annotation types. Now delegate to the same registration logic as runtime
2019-11-15 12:58:06 +00:00