Commit Graph
766 Commits
Author SHA1 Message Date
Mumfrey a60200dcbb Restore compat with ASM 5.0.3 by dynamically creating ClassRemapper 2021-12-04 13:49:36 +00:00
Mumfrey 45856b4028 Replace guava deleteRecursively with internal version for guava compat 2021-12-04 13:02:06 +00:00
Mumfrey ad1d110a63 Bump version to 0.8.6-SNAPSHOT 2021-12-01 20:50:05 +00:00
Mumfrey 155314e6e9 Mixin 0.8.5 RELEASE 2021-12-01 20:33:17 +00:00
Mumfrey a396db8cd1 Update checkstyle 2021-12-01 20:25:07 +00:00
Mumfrey a40e4bc59a Move potemkin generator to buildSrc and switch to groovy 2021-12-01 19:30:51 +00:00
Mumfrey b47627fd01 Merge remote-tracking branch 'origin/pr/538' into 0.8.5 2021-12-01 18:23:59 +00:00
zml 8cd66d8241 build: Synthesize modules to link with multiple versions of libraries
Gson and Guava are both used in pre- and post-modular versions in
environments where Mixin is used on the module path, so we have to be
able to link against both in the compile-time module descriptor.
2021-12-01 08:15:18 -08:00
Mumfrey 1a328c339d Fix handling of UNC paths when converting from URI to File, fixes #534 2021-11-17 21:22:04 +00:00
Mumfrey 1e1aa7fb52 Resolve anonymous inner classes in AP via classpath + ASM where possible
Fixes #518
2021-11-04 20:33:03 +00:00
Mumfrey a9581dd7d9 Remove switch on string 2021-11-01 22:24:02 +00:00
Mumfrey 812bfcc811 Enhanced AP messaging, detect IDEA, support configurable message levels 2021-10-16 13:24:30 +01:00
Mumfrey 8dbd876225 Bump version to 0.8.5-SNAPSHOT 2021-09-08 17:13:08 +01:00
Mumfrey 2accda5000 Mixin 0.8.4 RELEASE 2021-09-07 18:49:11 +01:00
Mumfrey c9586f548e Use static module requires because JPMS is just awful 2021-09-06 18:27:28 +01:00
Mumfrey e10ac704e1 Numbers are hard, typing version numbers doubly so... apparently. 2021-09-06 18:27:02 +01:00
Mumfrey 9b3b4819cd Merge remote-tracking branch 'origin/pr/520' 2021-09-01 16:11:06 +01:00
zml 87b36f6707 Adjust modularity build configuration to avoid duplicate sources
This allows the shadow task to apply its own merging logic for
resources that are validly duplicated, in this case service files

The checkstyle exclusion for module-info is moved from the
buildscript to checkstyle.xml, for application within IDEs, not just
Gradle.

A small fix to PrettyPrinter is included as well, based on a line
incorrectly converted from log4j2.
2021-08-30 22:53:08 -07:00
Mumfrey 4c7beea14c Separate Profiler instances for things which can operate concurrently 2021-08-25 18:32:27 +01:00
Mumfrey b79b42a460 Make logger adapters more better, do the thing with the vararg throwable 2021-08-19 18:57:30 +01:00
Mumfrey 212d5d1b35 This isn't even used, appears to be vestigial. Closes #512 2021-08-18 20:45:46 +01:00
Mumfrey d7fc059059 Add missing javadoc to ILogger and clean up javadoc comments from log4j2 2021-08-18 19:17:18 +01:00
Mumfrey 72d0812084 Delegate all logging to service, removing core dependency on log4j2 2021-08-18 18:51:58 +01:00
Mumfrey 9b64432787 Fix javadoc by using Java 8 as default and specifying 16 where needed 2021-08-14 14:41:46 +01:00
Mumfrey e4d3adf235 Include module-info in final artefact, remove thin jar for now 2021-08-14 14:17:20 +01:00
Mumfrey bc06e8bca6 Fix for some locals regressions from 0.8.3 and formalise locals strategy 2021-08-13 19:23:57 +01:00
Mumfrey 89ecec1b48 Updates for newer ASM, support for nesting 2021-08-11 20:47:09 +01:00
Mumfrey 0ad070ad02 Update to gradle 7, ASM 9.2, ModLauncher 9.0.7 add JPMS 2021-08-12 12:46:01 +01:00
Mumfrey 581c381672 This is not a useful behaviour, ignore missing names in SignaturePrinter 2021-07-13 19:33:34 +01:00
Mumfrey b0cd24bd63 Use more accurate coordinates for ModifyVariable context decorations
Fixes #511
2021-07-13 19:28:04 +01:00
Mumfrey fb0da4dba1 Bump version to 0.8.4-SNAPSHOT 2021-07-13 19:27:57 +01:00
Mumfrey 2046b44ad2 Mixin 0.8.3 RELEASE 2021-07-01 18:15:14 +01:00
Mumfrey 9d4fcbb678 Update checkstyle 2021-06-30 19:13:06 +01:00
Mumfrey dfa5a70fc3 Support current fernflower and forgeflower with this one simple trick 2021-06-30 19:12:12 +01:00
Mumfrey 828f9943f5 Use service ClassProvider instead of Class.forName for refmap wrappers 2021-06-30 19:12:12 +01:00
Mumfrey dcc124d487 Don't crash when config package is null, for empty common parent configs 2021-06-30 19:12:12 +01:00
Mumfrey 4827207f64 Make compat warnings less spammy but more verbose. Add MAX_SUPPORTED. 2021-06-30 19:12:12 +01:00
Mumfrey 07d2c8caea Merge remote-tracking branch 'origin/pr/502' 2021-06-25 18:02:48 +01:00
Mumfrey 40229848d6 Merge remote-tracking branch 'origin/pr/489' 2021-06-25 18:02:27 +01:00
Mumfrey 0dc21a78ee Fix some version checks to properly respect *major* class version 2021-06-25 18:01:27 +01:00
Mumfrey 33c1d2ee0d Fix valid signatures being reported as invalid when using ASM 5 2021-06-25 13:10:01 +01:00
Mumfrey 65b4f9d55a Pass the correct (mutable) targets set to plugins, fixes #485 2021-06-24 20:22:28 +01:00
Mumfrey 4517718cc6 Smarter handling of required compatibility level via heuristic, fix #496 2021-06-22 23:50:49 +01:00
SizableShrimp dd1f1ceff6 Fix TSRGv2 parsing 2021-06-16 18:46:52 -05:00
Mumfrey b947316d46 Correctly match NULL in BeforeConstant 2021-06-05 16:08:19 +01:00
Mumfrey 99a51998c0 Avoid cross-contaminating injector-added locals by when capturing locals
Fixes #493

Adds a preinject pass to local-capturing injectors so they see only
valid locals. Also decorate mixin-added locals to safeguard against
accidental leakage.
2021-06-05 15:55:17 +01:00
Mumfrey 6994e81622 Use correct class key for lookup into refmap 2021-04-27 13:28:12 +01:00
Mumfrey 6e807085d8 Fix for the original fix for #480, which actually fixes #480 2021-04-26 13:04:21 +01:00
Mumfrey 5f51f16bb5 Do not strip checkcasts for local 0 in static methods, fixes #471 2021-04-20 19:15:36 +01:00
Mumfrey 09b23eae8c Better descriptor validation and trap unexpected desc errors, fixes #461 2021-04-21 13:32:05 +01:00