Commit Graph
61 Commits
Author SHA1 Message Date
Mumfrey 1e1aa7fb52 Resolve anonymous inner classes in AP via classpath + ASM where possible
Fixes #518
2021-11-04 20:33:03 +00:00
Mumfrey 812bfcc811 Enhanced AP messaging, detect IDEA, support configurable message levels 2021-10-16 13:24:30 +01:00
Mumfrey 8a5c69134d Add 'quiet' option to AP to silence informational messages 2021-04-15 18:05:10 +01:00
Mumfrey b5299bfebc Aggressively resolve soft targets containing '$' and other minor fixes
Fixes #390
2020-05-02 12:34:55 +01: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 dd89e23215 Check mixingradle version in AP so we can notify if mixin ver is ahead 2019-11-02 15:03:45 +00: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 41e53c4942 Add support for Overwrite annotation on non-obfuscated methods 2017-07-05 09:15:03 +01:00
Mumfrey faf581b977 Make AP emit similar warnings to transformer for up/downgraded methods 2017-06-29 15:47:10 +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 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 90c5c6a8c1 Add support for "Slices", a partial support for declarative composition 2017-01-13 16:04:14 +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 8d87440faf Refactor AP to support different mapping environments, closes #141 2016-10-01 23:40:16 +01:00
Mumfrey cce1039dc7 Import targets from upstream jars, supported by MixinGradle 2016-02-09 17:00:05 +00:00
Mumfrey 9cd453cd63 Add all missing class javadoc 2016-02-05 13:06:00 +00:00
Mumfrey 2c9e3d1d39 ExtraSRGs support in Annotation Processor. Closes #94 2016-01-25 16:00:49 +00:00
Mumfrey a8a3251cf2 Refactor and tidy up Mixin AP, split god classes up into modular parts 2016-01-21 15:56:08 +00:00
Mumfrey ebdaf69e29 Write soft targets to the refmap and remap them at runtime 2016-01-21 12:38:35 +00:00
Mumfrey 09d9d0534b Genericise recursive member resolver 2016-01-17 01:32:13 +00:00
Mumfrey a99012eabc Resolve methods references recursively as well as fields, fixes #93 2016-01-17 01:07:41 +00:00
Mumfrey 3b2783c214 Housekeeping 2016-01-13 01:18:56 +00:00
Mumfrey 30e2530d34 Add support for validating overwrite annotation javadoc decoration 2016-01-07 14:16:57 +00:00
Mumfrey e2275d15e2 Resolve field obfuscations in superclass mappings 2015-12-16 17:33:54 +00:00
Mumfrey 068f64be00 Fix AP remapper to emit correct notch mappings in refmaps 2015-12-16 14:09:42 +00:00
Mumfrey b56a535005 Store multiple obf types in a refmap 2015-12-04 13:25:58 +00:00
Mumfrey 03744c86a0 AP support for gradle plugin, version bump to 0.4.8 2015-12-04 01:45:43 +00:00
Mumfrey 9bad1f5c97 Don't raise no-obf error for @Inject if remappable ats exist, fixes #80 2015-11-26 17:08:04 +00:00
Mumfrey 5814ea1957 Store target info between compiles to support cross-project supermixins 2015-11-25 15:07:26 +00:00
Mumfrey ce9b186e44 Add option to disable target validation in AP, closes #48 for now 2015-06-04 16:07:42 +01:00
Mumfrey ed5cd6f318 Update annotation processor to check declared constraints as well 2015-05-29 00:27:00 +01:00
Mumfrey e4c445b8a4 Unify source header format with Sponge projects 2015-05-22 16:53:44 +01:00
Mumfrey 6fc0894e81 Annotation Processor minor tweaks and clean up 2015-04-27 14:43:06 +01:00
Mumfrey 04ac3aac18 Output warnings for unresolved targets during AP run, closes #40 2015-04-23 01:06:27 +01:00
Mumfrey 49fd7e3da7 Fix annotation processor issue with anonymous classes in JDT 2015-04-13 03:14:48 +01:00
Mumfrey fae89c3eb7 Search for method mappings in superclasses during AP run, closes #33 2015-03-30 23:21:12 +01:00
Mumfrey 82f819c72e Merge branch 'feature/supermixin', closes #20 2015-03-02 15:55:12 +00:00
AbrarSyed 25570a0ada Only error if annotations are actually found 2015-02-25 22:49:48 -06:00
Mumfrey ce4ac1b800 Implement new hierarchy validation logic for supermixins in the AP 2015-02-22 21:35:21 +00:00
Mumfrey 79b55797fd Replace mirror fake classes with TypeElement wrapper, closes #13 2015-02-14 00:07:19 +00:00
Mumfrey dcd44b91d2 Attempt to handle references to anonymous inner classes 2015-01-24 00:39:00 +00:00
Mumfrey e87402bf70 Add checkstyle rule for javadoc and update all javadocs to 80 cols 2015-01-20 13:49:14 +00:00