Mumfrey
d4fa032d7d
Add audit trail support for ModLauncher 4.2, update checkstyle
2019-11-09 18:38:45 +00:00
Mumfrey
5ada553610
Adding extra mappings back to FG3 service, also fix build on travis
2019-11-04 20:49:38 +00:00
Mumfrey
f9e19c32f4
More injector refactoring, allow capture target args in ModifyVariable
2019-11-02 15:29:44 +00:00
Mumfrey
dd89e23215
Check mixingradle version in AP so we can notify if mixin ver is ahead
2019-11-02 15:03:45 +00:00
Mumfrey
4570a8213e
Support for INSTANCEOF opcode in Redirect and ModifyConstant injectors
...
Fixes #336
2019-10-31 19:33:08 +00:00
Mumfrey
dbe3a7e94d
Suppress AP warnings for known-unmappable packages such as java. & sun.
2019-10-28 17:13:37 +00:00
Mumfrey
6efc4a563f
Fix incorrect format string in tsrg mapping writer
2019-10-28 01:31:49 +00:00
Mumfrey
10af60bb26
Allow warning about targets in the default package to be suppressed
...
Fixes #338
2019-10-24 18:34:42 +01:00
Mumfrey
887354154c
Put SuppressWarnings tokens into an enum for documentation/consistency
2019-10-24 18:21:32 +01:00
Mumfrey
9b51cc7923
Use expect/require values for targets, allowing injectors to be optional
...
Fixes #297
2019-10-24 17:54:29 +01:00
Mumfrey
da74418eca
Update hotswapper agent for 0.8
2019-10-24 16:28:34 +01:00
Mumfrey
7b37a681ee
Overhaul RedirectInjector for more consistent coerce behaviour
...
Also improve some javadoc. Closes #350
2019-10-23 18:43:23 +01:00
Mumfrey
03e8ad59f0
Refactor some elements of mixin service into new smaller components
...
The main goal here is to reduce the amount of boilerplate required when
providing out simple implementations of the mixin service. Some mixin
end users are using extremely simple environments and this reduces the
boilerplate code in those implementations.
2019-10-16 17:17:43 +01:00
Mumfrey
22909dcfa2
Detect & report transformer reentrance during config prepare, fixes #333
2019-10-16 16:31:10 +01:00
Mumfrey
7567dec1d8
Continue applying mixins if an optional mixin is invalid, fixes #313
2019-10-15 15:20:22 +01:00
Mumfrey
4120c80a8a
Allow Coerce annotation to coerce args to interfaces too. Update README
2019-10-14 17:45:40 +01:00
Mumfrey
5c995b21de
Clean CallbackInfo from locals and fix CallbackInjector local args logic
...
Fixes #337
2019-10-14 17:44:35 +01:00
Mumfrey
08980b28a4
Remove missed debugging statements from previous commit
2019-10-12 18:40:46 +01:00
Mumfrey
ac01029add
Improve stack and local extension logic for injectors, fixes #368
2019-10-12 16:46:19 +01:00
Mumfrey
fa94ab4b31
Detect out-of-date custom injection points and report a useful error
2019-10-11 23:00:23 +01:00
Mumfrey
35778141b9
Merge remote-tracking branch 'origin/pr/328' into 0.8
2019-10-11 22:16:15 +01:00
Mumfrey
002e5288e8
Add an ASM detector and support backwards compatibility with ASM 5.x
2019-10-11 19:26:04 +01:00
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
Cameron Weaver (Clutch)
f703afb9c3
Fix Java9+ legacylauncher classloading
...
Fix gradle building
2019-10-02 10:54:40 -04:00
Mumfrey
7f06b7ae2d
Remove vestigial compilation units for removed classes
2019-09-29 23:00:04 +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
d28607b86a
Remove unused compilation unit
2019-09-17 13:50:55 +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
Mumfrey
9965dd48a0
Merge remote-tracking branch 'origin/pr/299' into 0.8
2019-09-16 18:17:20 +01:00
asie
53cd1b8951
fix minor bug in BeforeInvoke.find logic
2019-09-16 19:07:19 +02:00
Mumfrey
8965b0a3f2
Remove "lib" from gitignore and commit missing compatibility shims
2019-09-16 18:05:12 +01: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
Runemoro
23bc38b6fc
Improve MixinTargetAlreadyLoadedException exception message
2019-06-18 16:44:57 -04: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