Commit Graph
45 Commits
Author SHA1 Message Date
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
Mumfrey 111cfcb077 Allow mixins to extend any class in the target's hierarchy, closes #10 2015-01-07 16:57:19 +00:00
Mumfrey 1894f0b084 Overhaul javadoc on @Overwrite to clarify its purpose 2015-01-05 16:31:16 +00:00
Mumfrey fb64777a41 Added "remap" arg to let reobf processing be skipped per-member basis 2015-01-05 16:11:17 +00:00
Mumfrey 3b3a16db75 Fix javadoc errors under JDK8, closes #6 2015-01-05 01:36:55 +00:00
Mumfrey 589edf787a Remove debugging message 2015-01-04 18:48:50 +00:00
Mumfrey 9bdcf084ca Initial impl of Annotation Processor, references #4 2015-01-04 18:20:57 +00:00
Mumfrey e3211bbfee Get enum annotation value without reflection 2014-12-29 19:33:27 +00:00
Mumfrey ef30698318 Checkstyle tweaks and fix remaining checkstyle warnings 2014-12-29 16:10:09 +00:00
Aaron Hill 2c93c43ddf Properly handle enum reference for At.shift() 2014-12-29 15:54:21 +00:00
Mumfrey fc1742a54e Fixing code style from LiteLoader, fix checkstyle, complete javadoc 2014-12-25 01:32:50 +00:00
Mumfrey 6c9cab6559 Initial injection support, lots directly copy/pasted from LiteLoader 2014-12-25 01:32:50 +00:00
Kobata 2124f4f1a0 Allow mixins to extend Object as well as target super
Anything extending Object won't be able to meaningully use "super.",
so a mismatch is not a big deal. However, given that we cannot alter
source access levels in Sponge of things that are not MC (notably
Forge and FML), there are mixins that cannot extend the appropriate
class as that class has only private constructors.
2014-12-17 06:33:29 -05:00
Progwml6 d8b62e03be add gradle wrapper, and gitattributes, update gitignore to be consistent w/ other sponge projects
re-run license format
2014-12-14 16:47:37 -05:00
Mumfrey dacac515d9 Migrating mixin functionality from Sponge to new project 2014-12-14 16:45:00 +00:00