Commit Graph
64 Commits
Author SHA1 Message Date
Mumfrey 6f09fade5c Add failure handling for local capture, enable local capture in @Inject 2015-03-05 19:02:06 +00:00
Mumfrey ecb23a9cc0 Add Intrinsic method support, should fix issue with re-entrant accessors 2015-03-03 18:05:47 +00:00
Mumfrey e1635e5650 Refactoring CallbackInjector, wrap injector state in a struct 2015-03-03 14:32:24 +00:00
Mumfrey 1f06361863 Re-add import which was accidentally removed, fix JDK8 javadoc warnings 2015-03-02 12:12:52 +00:00
Mumfrey c4a9fd4823 Add short-circuit check for TypeInsn remapping, actually closes #21 2015-03-01 21:31:55 +00:00
Mumfrey 02aa220a36 Improve handling of TypeInsns and INVOKEVIRTUAL in mixins, closes #21 2015-03-01 20:25:36 +00:00
Mumfrey 8748534d18 Add concept of "required" mixin configs and make their failure critical 2015-02-28 20:28:09 +00:00
Mumfrey 1eab9929bb Add concept of version to mixin config, for forward compatibility checks 2015-02-27 17:58:19 +00:00
Mumfrey 9afaa6ba0f Remove order-sensitivity in MixinConfig 2015-02-22 21:35:22 +00:00
Mumfrey 67e33532c2 Add basic "imaginary super" support 2015-02-22 21:35:22 +00:00
Mumfrey 09448540a6 Print opcode name in initialiser error message 2015-02-22 21:35:22 +00:00
Mumfrey 9d9c2238e8 Fixed (probably) the ctor/initialiser overlap issue with JDK8 classes 2015-02-22 21:35:22 +00:00
Mumfrey 7850fb3ee1 Add a few debugging methods to ASMHelper 2015-02-22 21:35:22 +00:00
Mumfrey 0ec4505748 Fix some JDK8 javadoc errors 2015-02-22 21:35:22 +00:00
Mumfrey f679568c7c Fix some stack size calculation issues 2015-02-22 21:35:22 +00:00
Mumfrey 76a37fc412 Add debugging option for running CheckClassAdapter 2015-02-22 21:35:22 +00:00
Mumfrey e88f5b72ee Disable verbose logging by default 2015-02-22 21:35:22 +00:00
Mumfrey 55653f325d Handle remapping of field/method/cast/whatever insns in inherited mixins 2015-02-22 21:35:22 +00:00
Mumfrey f4c80263e9 Fix some JDK8 javadoc warnings 2015-02-22 21:35:21 +00:00
Mumfrey 80e6639761 Pull up invokeHandler into Injector to remove duplication 2015-02-22 21:35:21 +00:00
Mumfrey be783986fc Supermixin support (WIP) 2015-02-22 21:35:21 +00:00
Mumfrey cd5f40a0b9 Invoke injected callbacks virtually if visible from subclasses 2015-02-22 21:35:21 +00:00
Mumfrey 5dba9e5848 Wiring in ClassInfo for hierarchy traversal 2015-02-22 21:35:21 +00:00
Mumfrey 58f17c613b Add javadoc note that shadow prefixes are not allowed on shadow fields 2015-02-22 21:35:21 +00:00
Mumfrey dd31dd2313 Skip transformation of null classes to avoid re-entrance check 2015-02-22 21:32:09 +00:00
Mumfrey b7cc517d4d Handle transformer delegation exclusions by name, closes #16 2015-02-22 14:02:45 +00:00
Mumfrey 5bc3b41d9d Look for CoreModManager in both old and new namespaces, closes #17 2015-02-22 13:13:48 +00:00
Mumfrey e82c269128 Fix derp in range check and add missing javadoc 2015-02-15 00:56:04 +00:00
Mumfrey 9defcd6245 Allow Redirect injectors to capture method args as well as invoke args 2015-01-24 01:16:29 +00:00
Mumfrey dcd44b91d2 Attempt to handle references to anonymous inner classes 2015-01-24 00:39:00 +00:00
Mumfrey 5048a431bc Fix all java 8 javadoc warnings 2015-01-20 17:57:43 +00:00
Mumfrey e87402bf70 Add checkstyle rule for javadoc and update all javadocs to 80 cols 2015-01-20 13:49:14 +00:00
Mumfrey 116ecb0458 Some internal wiring changes to support pending features 2015-01-19 16:03:30 +00:00
Mumfrey e54843a247 Add remap property to At annotation 2015-01-19 03:24:00 +00:00
simon816 db3fc70cce Fix <clinit> not being appended if target class does not have it 2015-01-18 16:22:32 +00:00
Mumfrey 0f27299597 Support private mixin targets, AP improvements & minor fixes, closes #7 2015-01-18 00:05:51 +00:00
Mumfrey 5ee69a22a2 Fix up all build errors and warnings up to JDK7 2015-01-15 14:15:45 +00:00
Mumfrey c73ba14656 Extra callback for cfg plugins, sort configs & overwrites, references #8 2015-01-14 16:22:15 +00:00
Mumfrey 3f3950d7f4 Allow mixin configs to specify a companion plugin class, closes #8 2015-01-13 13:21:55 +00:00
Mumfrey a39046c243 Add 1.7.10 EventSubscriptionTransformer to transformer exclusion list 2015-01-13 11:18:18 +00:00
Mumfrey adc7135268 First stab at injecting field initialisers, here be dragons 2015-01-13 00:10:27 +00:00
Mumfrey 24365c46db Update side detection logic to work in 1.7.10 as well 2015-01-12 22:30:32 +00:00
Mumfrey 552181ad04 Skip FML's event transformer when processing the transformer chain 2015-01-12 21:59:07 +00:00
Mumfrey e28affdc5b Implement sided sets for mixin configurations 2015-01-12 14:06:59 +00:00
Mumfrey 412914bf08 Read refmapper configs using the main classloader 2015-01-12 03:05:38 +00:00
Mumfrey adfeb07297 Adding @ModifyArg and @Redirect annotations, example code to follow 2015-01-11 22:44:45 +00:00
Mumfrey 5e283e8039 Resolve mixin configs in the main ClassLoader instead of AppClassLoader 2015-01-10 22:24:07 +00:00
Mumfrey 1abb47f6f6 Add support (hopefully) for handling the jar as a regular mod as well 2015-01-10 18:14:17 +00:00
Mumfrey f556be1adc Fix bug in ReferenceMapper, return original mapping if no remap defined 2015-01-10 14:02:29 +00:00
Mumfrey 3fd6c5fc02 Class loading fixes for production, references SpongePowered/Sponge#133 2015-01-10 13:01:36 +00:00