Commit Graph
120 Commits
Author SHA1 Message Date
Mumfrey 0177c2d394 Fixes for several locals-related issues, fix #398, fix #402, fix #405 2020-10-17 22:10:10 +01: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
Mumfrey 27ea2a9555 Copy INVOKEDYNAMIC args array to avoid leaking handle remaps, fixes #373 2019-12-13 14:21:39 +00:00
Mumfrey 66bdb7b3b0 Fix staticness check and functionality of ModifyVariable in constructors 2019-12-06 16:43:12 +00:00
Mumfrey be3f944af1 Improve detection and reporting of ASM version, fixes reporting of ASM7+ 2019-11-21 17:40:14 +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
Mumfrey 6f65e9f043 Add more detail to activity tracking and some better exception messages 2019-11-15 12:45:31 +00:00
Mumfrey f9e19c32f4 More injector refactoring, allow capture target args in ModifyVariable 2019-11-02 15:29:44 +00: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 7567dec1d8 Continue applying mixins if an optional mixin is invalid, fixes #313 2019-10-15 15:20:22 +01:00
Mumfrey ac01029add Improve stack and local extension logic for injectors, fixes #368 2019-10-12 16:46:19 +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 57d5655f73 Update for ModLauncher 4.0, remove ugly hax, connectors now via manifest 2019-09-29 21:34:42 +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
Mumfrey 45e152690c 0.7.12 - Better handling of ctor injectors and redirect, fixes #270 2018-07-26 21:22:59 +01:00
Mumfrey 164e471dcd Make ModifyVariable print option work more intuitively, closes #209 2017-09-20 03:03:31 +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 a05e7347a5 0.7.3 - Refactoring some packages and unify transformer extensions 2017-08-30 17:50:57 +01:00
Mumfrey 82b6c5cfe6 Only throw profiler stack exceptions when the profiler is active 2017-08-23 13:07:32 +01:00
Mumfrey ca179bc73f Fix another minor derp with disabled profiler, improve section hierarchy 2017-08-21 15:44:31 +01:00
Mumfrey 6b663dca57 Fix minor derp when profiler is disabled, use default summary view 2017-08-18 19:10:16 +01:00
Mumfrey a29029e7cd Add profiler for reviewing Mixin performance 2017-08-17 18:40:14 +01:00
Mumfrey 2f63e40255 Fix handling of multi-dimensional array elements in the AP 2017-08-10 17:23:59 +01:00
Mumfrey f08fc3bb2a Add property to injectors to specify max allowed injections, closes #195 2017-07-19 18:31:37 +01:00
Mumfrey ada26ef95b Detect and compare compatible synthetic bridges, raise error on conflict 2017-07-12 18:17:04 +01:00
Mumfrey d84212a1b6 Update bundled ASM to 5.2 2017-07-11 19:05:21 +01:00
Mumfrey 16cd2998db Use original frame size as arbiter for frame size, hopefully fixes #154 2017-07-11 16:15:02 +01:00
Mumfrey 50660894fc Support requiring Overwrite at the config level, fix intrinsic accessors 2017-07-05 10:26:30 +01:00
Mumfrey c117ae8724 0.7 Add support for inner classes in Mixins. Updates #187. 2017-07-04 16:34:50 +01:00
Mumfrey 2a64bc35b4 0.6.14 Support covariant types in callback injector handlers with Coerce
updates #192
2017-07-03 12:57:23 +01:00
Mumfrey 366473c1af Remove vestigial debug statements 2017-06-28 16:10:08 +01:00
Mumfrey a79c5a0108 0.6.13 Potential resolution for #189, conform visibility of methods 2017-06-28 16:07:55 +01:00
Mumfrey 48c8ab7c5a Add ModifyArgs injector for modifying multiple args, closes #162 2017-06-27 13:23:15 +01:00
Mumfrey 8a169bb7c0 Require pre-super redirector handlers to be static, closes #174, v0.6.10 2017-05-25 12:47:22 +01:00
Mumfrey 433ab64dfd Detect static mismatch and visibility reduction of overwrite and shadows
fixes #167
2017-02-20 15:20:35 +00:00
Mumfrey 8917cccf28 Refactoring - ASMHelper -> Bytecode 2017-02-01 17:52:36 +00:00
Mumfrey c30a17e872 Refactoring - extract annotation utilities from ASM helper 2017-02-01 17:51:51 +00:00
Mumfrey 20d0468b44 Bump ver to 0.6.8. Add implicit-zero modification support. Closes #165 2017-02-01 17:31:54 +00:00
Mumfrey 791aba7087 Increase checkstyle checks. Javadoc all the things. 2017-01-31 19:15:31 +00:00
Mumfrey 3057bd9ca1 Abstract out injection point and slice context to interface 2017-01-30 14:39:17 +00:00
Mumfrey d2fe040cb7 Generate signatures for mixed classes, fixes nearly all decomp issues 2017-01-17 21:07:46 +00:00
Mumfrey 90c5c6a8c1 Add support for "Slices", a partial support for declarative composition 2017-01-13 16:04:14 +00:00
Mumfrey 6971fa83d7 SourceDebugExtension support for #156 2016-12-29 17:59:54 +00:00
Mumfrey 946520c0ed Add support for pseudo mixins, closes #152. Version bump to 0.6.2. 2016-12-29 16:07:15 +00:00
Mumfrey dc18582c86 Remove a lot of redundant cruft from ASMHelper 2016-11-23 16:18:32 +00:00
simon816 4b30c9c04f Pretty print the cause of a throwable 2016-11-14 21:22:55 +00:00
Mumfrey f0d25bd299 Clean this up, correct version 2016-06-21 15:22:11 +01:00
Mumfrey adf1c040a6 Quick and dirty merge of platform refactor for remapper, closes #91 2016-06-21 15:20:18 +01:00