Commit Graph
72 Commits
Author SHA1 Message Date
Mumfrey e7c243a5e9 Fix javadoc issue which causes build to break under jdk8 2015-03-30 10:53:39 +01:00
Dan Roque 45e2670e71 Check all injector targets before failing. Fixes matchAll with ctors. 2015-03-29 17:19:38 -04:00
Mumfrey 0cf2f2f1fa Mark all mixin methods as "injected" from the start, closes #25 2015-03-25 13:53:59 +00:00
Mumfrey cf80bc956d Remove redundant check from applyTransformers 2015-03-23 22:37:08 +00:00
Mumfrey 14f110c06e Enumerate interface members using cached metadata, references #24 2015-03-23 22:18:31 +00:00
simon816 34c6e62c8f Make ClassInfo.Traversal actually use the provided traverse parameter 2015-03-23 19:21:52 +00:00
Mumfrey ffb78cdea8 Fix some minor checkstyle and javadoc issues 2015-03-06 14:02:55 +00:00
Mumfrey cf194a2b8a Remove ctor which is not available in JDK6 2015-03-06 13:52:36 +00:00
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