Commit Graph
117 Commits
Author SHA1 Message Date
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 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 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 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 a15897221b Minor tweaks to AP internals 2019-09-19 21:21:15 +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 ba0c777116 0.7.9 - Allow certain injectors to target mixin methods, closes #251 2018-04-20 14:39:26 +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 a05e7347a5 0.7.3 - Refactoring some packages and unify transformer extensions 2017-08-30 17:50:57 +01:00
Mumfrey 5a1a51a2f0 Generate mixin class internal name properly for inner class mixins 2017-08-24 17:13:52 +01:00
Mumfrey c9a0ef719f Fix resolution of accessor targets for imaginary target classes 2017-08-23 14:35:29 +01:00
Mumfrey 4ebb6372f8 Fix superclass lookups for shadow methods in obf-derived targets 2017-08-22 23:01:15 +01:00
Mumfrey 2f63e40255 Fix handling of multi-dimensional array elements in the AP 2017-08-10 17:23:59 +01:00
Mumfrey d8c4f6f0a7 AP resolves method mappings in superclasses when direct mapping fails 2017-08-09 18:08:22 +01:00
Mumfrey 217bf321ba Allow injectors to specify multiple explicit target methods 2017-07-18 16:56:55 +01:00
Mumfrey ada26ef95b Detect and compare compatible synthetic bridges, raise error on conflict 2017-07-12 18:17:04 +01:00
Mumfrey 381b945951 Fix compiled artefact to include required classes from asm commons 2017-07-11 14:22:26 +01:00
Mumfrey 41e53c4942 Add support for Overwrite annotation on non-obfuscated methods 2017-07-05 09:15:03 +01:00
Mumfrey c6ce27efb0 Update AP to allow (but warn) coerced multi-target reference conflicts 2017-07-03 14:43:24 +01:00
Mumfrey faf581b977 Make AP emit similar warnings to transformer for up/downgraded methods 2017-06-29 15:47:10 +01:00
Mumfrey 48c8ab7c5a Add ModifyArgs injector for modifying multiple args, closes #162 2017-06-27 13:23:15 +01:00
Mumfrey 3329a3d084 Respect remap on Mixin for At, allow annot to override mixin, fixes #177 2017-05-15 14:16:21 +01:00
Mumfrey 4b7b5a05f4 Resolve obf mappings in interfaces as well as superclasses, fixes #171 2017-03-20 13:05:29 +00:00
Mumfrey 1752418584 Support remap annotation for accessors & respect remap setting of mixin 2017-02-14 15:47:42 +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 983833bb92 Fix bug with AP not notifying an injector when an At is remapped 2017-01-25 16:46:09 +00:00
Mumfrey 90c5c6a8c1 Add support for "Slices", a partial support for declarative composition 2017-01-13 16:04:14 +00:00
Mumfrey 952769c990 Generate correct refmap entry for unqualified class names in NEW targets
Fixes SpongePowered/SpongeCommon#1123
2017-01-09 01:40:45 +00:00
Mumfrey 53df42cae5 Support explicit descriptors for ctor redirect, closes #157 2017-01-02 00:16:00 +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 bc810b25da Respect remap setting on the Mixin class when processing soft implements 2016-11-23 19:09:48 +00:00
Mumfrey 4bfaf3ce8b Refactor some packages in the AP 2016-11-23 18:00:44 +00:00
Mumfrey c007eabc31 Refactor annotation handling in the AP 2016-11-23 17:53:43 +00:00
Mumfrey 4934071ee7 Add handling in the AP for soft implements annotations, closes #151 2016-11-23 16:20:31 +00:00
Mumfrey f83d7757d7 Port accessor functionality from liteloader, update for mixin style 2016-10-07 18:24:55 +01:00
Mumfrey ea44243240 Further AP refactor, support injectors and shadows in multitarget mixins 2016-10-04 21:34:22 +01:00
Mumfrey 8d87440faf Refactor AP to support different mapping environments, closes #141 2016-10-01 23:40:16 +01:00
Mumfrey 053bc174de Add Unique, relax target checks, closes #130, fixes #134, bump to 0.5.7 2016-06-14 23:11:30 +01:00
Mumfrey ad64bc1d6d Deprecate/merge stuff to prepare for 0.6, version bump to 0.5.6 2016-05-24 17:17:58 +01:00
Mumfrey 62d8443270 Remap field descriptors when adding to refmap, fixes #125 2016-05-12 12:07:11 +01:00
Mumfrey f0dbff5076 Add toString to ObfuscationData for debugging purposes 2016-05-12 12:06:24 +01:00