Commit Graph
110 Commits
Author SHA1 Message Date
Mumfrey eb4e693cde Allow Overwrite methods to be aliased 2015-04-09 16:58:38 +01:00
Mumfrey 441c3a7e93 Fix up environments support for production 2015-04-09 16:07:36 +01:00
Mumfrey a129617ae7 Only rebuild transformer list when environment changes 2015-04-09 14:28:37 +01:00
Mumfrey e92f99fba4 Add debug message to ClassInfo 2015-04-09 14:27:34 +01:00
Mumfrey 06bedd15ee Remove completely inconsequential whitespace to stop @phroa for moaning 2015-04-09 03:07:14 +01:00
Mumfrey 0728c80c2a Fix javadoc errors under JDK8 2015-04-09 03:02:25 +01:00
Mumfrey 5a6dc56db9 Initial implementation of environments, version bump to 0.3 2015-04-09 02:21:07 +01:00
Mumfrey dfb1a24c05 Refactor mixin application logic into new class MixinApplicator 2015-04-08 16:57:54 +01:00
Mumfrey 71d01181ef Rename helper methods for clarity 2015-04-08 14:43:48 +01:00
Mumfrey 8a75b842d2 Better re-entrance support, detect re-entrant transformers automatically 2015-04-08 13:11:50 +01:00
Mumfrey 6bfc065d69 Pass untransformed name into transformer chain when loading metadata 2015-04-08 11:58:44 +01:00
Mumfrey 2135c723b4 Output implementation reports to debug output folder 2015-04-08 04:07:20 +01:00
Mumfrey 85330a8649 Add option to dump the target class bytecode if mixin application fails 2015-04-08 04:01:12 +01:00
Mumfrey 7dbc932597 Move internal meta annotations to new package 2015-04-08 03:45:16 +01:00
Mumfrey e5deb1cf91 Add transformer modules and create interface checker module 2015-04-08 03:41:49 +01:00
Mumfrey fdfd93c12f Contribute soft implementations to mixin ClassInfo instances 2015-04-08 03:29:39 +01:00
Mumfrey aef67b768c Add method to ClassInfo to fetch all interface methods recursively 2015-04-08 00:15:47 +01:00
Mumfrey 31ac58030c Write some debugging info to the console if verbose logging is enabled 2015-04-07 17:16:42 +01:00
Mumfrey b88bbba2fe Refactor mixin options 2015-04-07 16:55:18 +01:00
Mumfrey 872d922a57 Merge branch 'feature/alias'
Conflicts:
	src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java
2015-04-04 18:32:13 +01:00
Mumfrey 5310ec2615 Deal with inner's outerClass reference being null sometimes, closes #34 2015-04-04 18:14:24 +01:00
Mumfrey c1a7636293 Refactoring to support aliases 2015-04-02 18:14:39 +01:00
Mumfrey ec6d42eb60 Elevate field metadata to the same as method and generalise search code 2015-04-01 13:13:42 +01:00
Mumfrey fae89c3eb7 Search for method mappings in superclasses during AP run, closes #33 2015-03-30 23:21:12 +01:00
Mumfrey a012596e98 Discover and pass through synthetic inner classes in mixins, updates #31 2015-03-30 14:39:21 +01:00
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 82f819c72e Merge branch 'feature/supermixin', closes #20 2015-03-02 15:55:12 +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
AbrarSyed 25570a0ada Only error if annotations are actually found 2015-02-25 22:49:48 -06: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