Commit Graph
485 Commits
Author SHA1 Message Date
Mumfrey 22ae7dd1f9 Fix LVT resolution with compressed frames and two related minor bugs 2019-10-11 17:59:53 +01:00
Mumfrey b8638b2340 Add min compat and max compat to service, warn when exceeding max compat 2019-10-11 17:58:17 +01:00
Mumfrey b00992e411 Minor tweaks and fixes 2019-10-11 17:57:08 +01:00
Mumfrey 9d684bacd4 Propagate injection info exceptions correctly 2019-10-11 17:54:40 +01:00
Mumfrey 57d5655f73 Update for ModLauncher 4.0, remove ugly hax, connectors now via manifest 2019-09-29 21:34:42 +01:00
Mumfrey a15897221b Minor tweaks to AP internals 2019-09-19 21:21:15 +01:00
Mumfrey 5ea23f8bb0 Accept needs to be called before init. Propagate exception message.
Closes #360
2019-09-18 19:15:36 +01:00
Mumfrey d460bd58e6 Don't visit a synthetic inner class with itself, fixes #359 2019-09-17 13:49:53 +01:00
Mumfrey f18d8f8adf Ensure CHECKCAST is added for arrays as well as objects, fixes #358 2019-09-17 13:48:44 +01:00
Mumfrey 1dc0522559 Fix refactoring failure in method proxy generator 2019-09-16 18:24:08 +01:00
asie 53cd1b8951 fix minor bug in BeforeInvoke.find logic 2019-09-16 19:07:19 +02:00
Mumfrey fd2f2c79c5 Version 0.8-preview
Add initial modlauncher support
Bump ASM version and remove renamed ASM for modlauncher interop
Conform static accessor target when transforming accessor, Fixes #342
Detect staticness mismatch on accessors, Fixes #341
Allow Invoker to invoke constructors, Closes #339
Remove commons-io and replace with guava, Fixes #327
Fix refmap generation for non-obfuscated derived classes, Fixes #326
Specify locale for case conversions, Fixes #315
Handle accessor overlap more intelligently, Fixes #307
Add SuppressWarnings support to Annotation Processor, Closes #306
Allow mixins applied to a class to be retrieved easily, Closes #302
Conform refmap entries as they are added to the mapper, fixes #296
Fold in misc lvt generation fixes from fabricmc, closes #295
Fail fast when final method is accidentally hidden by mixin, fixes #293
Fix bug handling 2-slot args in cb injector and args gen, fixes #287
Handle accessor mixin types correctly in mixins, Fixes #305, Fixes #288
2019-09-16 16:05:40 +01:00
Mumfrey ab935e061f Add support for mixin config option inheritance, closes #273 2018-07-28 19:12:56 +01:00
Mumfrey 45e152690c 0.7.12 - Better handling of ctor injectors and redirect, fixes #270 2018-07-26 21:22:59 +01:00
Mumfrey 2c72246fe0 Disable signature merging unless decompiler is active, closes #254 2018-07-03 13:08:56 +01:00
Mumfrey 09b2a04ab2 Improve BeforeInvoke permissive search mode, verbosity++, closes #266 2018-06-27 12:16:54 +01:00
Mumfrey c08fb6bf31 0.7.11 - Fix handling of maxShiftBy and set hard limit to 5, fixes #265 2018-06-20 09:29:27 +01:00
Mumfrey 2d410a79df 0.7.10 - Log error when mixin class is subject to classload restrictions 2018-06-11 15:33:27 +01:00
Mumfrey ba0c777116 0.7.9 - Allow certain injectors to target mixin methods, closes #251 2018-04-20 14:39:26 +01:00
Mumfrey 1f936baea1 0.7.8 - Fix 2 issues with ArgsClassGenerator, closes #249
1) Class generator was not sanitising incoming descriptors and would not
handle non-void candidates
2) Class generator was not correctly walking the argument list when
2-slot args (long, double) were present
2018-04-18 12:32:31 +01:00
Mumfrey 4f8967ee3c Decorate non-wild ctor redirect nodes with metadata, fixes #247 2018-03-29 17:30:00 +01:00
Mumfrey 46763a31e5 Wrap up another dumb cast inside the log watcher, actually closes #238 2018-03-26 13:25:18 +01:00
Mumfrey 086a706ec8 Fix derp-check in MemberInfo which was using nonsense logic - fixes #242 2018-03-20 13:40:16 +00:00
Mumfrey aece829c4e 0.7.7 - Check logger type before casting - fixes #238 2018-03-20 13:38:52 +00:00
Mumfrey 9a089172be Raise exception when ModifyVariable handler args incorrect, closes #232 2018-01-18 12:50:47 +00:00
Mumfrey 2f28f2e001 Merge fix for issues detecting FMLRelaunchLog message for INIT phase 2018-01-09 12:05:14 +00:00
Mumfrey 69f9ec82b7 Fix unqualified field accesses 2018-01-09 12:03:41 +00:00
Mumfrey d7d1d37ffe Warn on invalid slice points and return an empty slice, closes #230 2018-01-08 15:35:07 +00:00
Mumfrey 2220503eb9 Warn on narrowing conversion resulting from ModifyConstant, fixes #229 2018-01-03 18:18:57 +00:00
Aaron Hill 899fc9f19a Use getFormattedMessage instead of getFormat
Under certain circumstances, getFormat may return the empty string.
Using getFormattedMessage ensures that 'Validating minecraft' will
always be detected.
2017-11-11 18:46:44 -05:00
Aaron Hill 5a9add8144 Set FMLRelaunchLog log level to DEBUG before adding MixinAppender
Under certain launchers, such as Mojang's new in-beta launcher, the
log level for FMLRelaunchLog may end up being below DEBUG. To ensure
that Mixin is always able to detect the 'Validating minecraft' log
message, FMLRelaunchLog's level is set to DEBUG after MixinAppender is
added, and restored to its original value once the message is detected.
2017-11-11 18:46:32 -05:00
Mumfrey d3ecc198d3 0.7.6 - Fix inheritance for string properties, fixes #219 2017-11-09 20:33:41 +00:00
Mumfrey 404f5da0b6 0.7.5 - Add support for Coerce annotation on redirect handler args 2017-10-18 13:14:46 +01:00
Mumfrey ec0c7a1d3a Reduce bootstrap spoopiness 2017-10-10 13:04:41 +01:00
Mumfrey 039d1f6d0b Yet more internal service refactoring 2017-10-09 16:51:04 +01:00
Mumfrey 0d4300980d More internal service refactoring 2017-10-09 16:36:48 +01:00
Mumfrey 02ba7b73e1 Move some launchwrapper-specific keys into service 2017-10-09 16:13:40 +01:00
Mumfrey c218a4a76e More internal service refactoring, remove temp launchwrapper dependency 2017-10-09 16:06:38 +01:00
Mumfrey 25ba0f0996 Log exception to tracelog when error occurs loading class, updates #213 2017-10-01 14:43:50 +01:00
Mumfrey ac2ba513d0 Temporary fix for classloader exclusion of service, closes #210 2017-09-27 16:25:56 +01:00
Mumfrey 03d1ad54f8 Fix canonical service fetcher method, updates #210 2017-09-26 15:40:11 +01:00
Mumfrey 164e471dcd Make ModifyVariable print option work more intuitively, closes #209 2017-09-20 03:03:31 +01:00
Mumfrey ce2ea22416 Add mixin member to Dynamic, verbosify error messages accordingly 2017-09-15 13:39:25 +01:00
Mumfrey 3172fbc6c2 0.7.4 - Dynamic annotation for decorating members with runtime targets
Updates minecraft-dev/MinecraftDev#298
2017-09-11 16:57:20 +01:00
Mumfrey 3961a7cbf8 Fix a bunch of small issues detected by using an intellij inspection 2017-09-08 18:36:57 +01:00
Mumfrey d31ccf1220 Refactor launchwrapper support into separate service
This represents the first stage of adding support for cpw's new
modlauncher in preparation for supporting java 9
2017-08-31 18:21:53 +01:00
Mumfrey b08f87e202 Add compatibility enum for Java 9 even though we don't support it yet 2017-08-30 18:20:17 +01:00
Mumfrey a05e7347a5 0.7.3 - Refactoring some packages and unify transformer extensions 2017-08-30 17:50:57 +01:00
Mumfrey 3ce85c8e24 More intelligent coinitialisation strategy in fml agent, updates #206 2017-08-24 17:13:18 +01:00
Mumfrey 1688080a58 This message should only be DEBUG level 2017-08-24 01:58:11 +01:00