Commit Graph
97 Commits
Author SHA1 Message Date
Mumfrey 4c7beea14c Separate Profiler instances for things which can operate concurrently 2021-08-25 18:32:27 +01:00
Mumfrey 72d0812084 Delegate all logging to service, removing core dependency on log4j2 2021-08-18 18:51:58 +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 4827207f64 Make compat warnings less spammy but more verbose. Add MAX_SUPPORTED. 2021-06-30 19:12:12 +01:00
Mumfrey 0dc21a78ee Fix some version checks to properly respect *major* class version 2021-06-25 18:01:27 +01:00
Mumfrey 4517718cc6 Smarter handling of required compatibility level via heuristic, fix #496 2021-06-22 23:50:49 +01:00
Mumfrey 088e8bcf61 Fix some deprecations 2021-03-01 23:40:24 +00:00
Mumfrey e72808fd95 Always conform synthetic methods, even if no immediate conflict detected 2019-12-13 17:25:51 +00:00
Mumfrey 7b37a681ee Overhaul RedirectInjector for more consistent coerce behaviour
Also improve some javadoc. Closes #350
2019-10-23 18:43:23 +01:00
Mumfrey 03e8ad59f0 Refactor some elements of mixin service into new smaller components
The main goal here is to reduce the amount of boilerplate required when
providing out simple implementations of the mixin service. Some mixin
end users are using extremely simple environments and this reduces the
boilerplate code in those implementations.
2019-10-16 17:17:43 +01:00
Mumfrey 002e5288e8 Add an ASM detector and support backwards compatibility with ASM 5.x 2019-10-11 19:26:04 +01:00
Mumfrey b8638b2340 Add min compat and max compat to service, warn when exceeding max compat 2019-10-11 17:58:17 +01:00
Mumfrey fd2f2c79c5 Version 0.8-preview
Add initial modlauncher support
Bump ASM version and remove renamed ASM for modlauncher interop
Conform static accessor target when transforming accessor, Fixes #342
Detect staticness mismatch on accessors, Fixes #341
Allow Invoker to invoke constructors, Closes #339
Remove commons-io and replace with guava, Fixes #327
Fix refmap generation for non-obfuscated derived classes, Fixes #326
Specify locale for case conversions, Fixes #315
Handle accessor overlap more intelligently, Fixes #307
Add SuppressWarnings support to Annotation Processor, Closes #306
Allow mixins applied to a class to be retrieved easily, Closes #302
Conform refmap entries as they are added to the mapper, fixes #296
Fold in misc lvt generation fixes from fabricmc, closes #295
Fail fast when final method is accidentally hidden by mixin, fixes #293
Fix bug handling 2-slot args in cb injector and args gen, fixes #287
Handle accessor mixin types correctly in mixins, Fixes #305, Fixes #288
2019-09-16 16:05:40 +01:00
Mumfrey 2c72246fe0 Disable signature merging unless decompiler is active, closes #254 2018-07-03 13:08:56 +01:00
Mumfrey 09b2a04ab2 Improve BeforeInvoke permissive search mode, verbosity++, closes #266 2018-06-27 12:16:54 +01:00
Mumfrey 46763a31e5 Wrap up another dumb cast inside the log watcher, actually closes #238 2018-03-26 13:25:18 +01:00
Mumfrey aece829c4e 0.7.7 - Check logger type before casting - fixes #238 2018-03-20 13:38:52 +00:00
Mumfrey 2f28f2e001 Merge fix for issues detecting FMLRelaunchLog message for INIT phase 2018-01-09 12:05:14 +00:00
Mumfrey 69f9ec82b7 Fix unqualified field accesses 2018-01-09 12:03:41 +00:00
Aaron Hill 899fc9f19a Use getFormattedMessage instead of getFormat
Under certain circumstances, getFormat may return the empty string.
Using getFormattedMessage ensures that 'Validating minecraft' will
always be detected.
2017-11-11 18:46:44 -05:00
Aaron Hill 5a9add8144 Set FMLRelaunchLog log level to DEBUG before adding MixinAppender
Under certain launchers, such as Mojang's new in-beta launcher, the
log level for FMLRelaunchLog may end up being below DEBUG. To ensure
that Mixin is always able to detect the 'Validating minecraft' log
message, FMLRelaunchLog's level is set to DEBUG after MixinAppender is
added, and restored to its original value once the message is detected.
2017-11-11 18:46:32 -05:00
Mumfrey d3ecc198d3 0.7.6 - Fix inheritance for string properties, fixes #219 2017-11-09 20:33:41 +00:00
Mumfrey 0d4300980d More internal service refactoring 2017-10-09 16:36:48 +01:00
Mumfrey c218a4a76e More internal service refactoring, remove temp launchwrapper dependency 2017-10-09 16:06:38 +01:00
Mumfrey 3961a7cbf8 Fix a bunch of small issues detected by using an intellij inspection 2017-09-08 18:36:57 +01:00
Mumfrey d31ccf1220 Refactor launchwrapper support into separate service
This represents the first stage of adding support for cpw's new
modlauncher in preparation for supporting java 9
2017-08-31 18:21:53 +01:00
Mumfrey b08f87e202 Add compatibility enum for Java 9 even though we don't support it yet 2017-08-30 18:20:17 +01:00
Mumfrey a05e7347a5 0.7.3 - Refactoring some packages and unify transformer extensions 2017-08-30 17:50:57 +01:00
Mumfrey a29029e7cd Add profiler for reviewing Mixin performance 2017-08-17 18:40:14 +01:00
Mumfrey f1f60c3ee8 Add runtime support for remapping refmaps to current mappings on-the-fly 2017-08-08 14:19:03 +01:00
Mumfrey a290e810ca Detect and warn on egregious uses of At.Shift.BY, will error in future 2017-07-19 13:13:01 +01:00
modmuss50 3fcf405aa3 Use Boolean in place of Booleans from log4j 2017-05-12 14:12:45 +01:00
Mumfrey 80ece0138a Refactor option inheritance, add property to globally ignore "required" 2017-02-22 13:27:42 +00:00
Mumfrey 791aba7087 Increase checkstyle checks. Javadoc all the things. 2017-01-31 19:15:31 +00:00
Mumfrey 70e36777a4 Add "non-strict" mode flag to interface checker module, closes #150 2016-11-22 16:09:09 +00:00
Mumfrey 451f24a6da Merge mapper fixes and async decompiler 2016-09-16 13:53:48 +01:00
Mumfrey 6ed36dff60 Null-check strategy setting to prevent log spam when not explicitly set 2016-09-09 01:51:32 +01:00
Mumfrey c5e97a08d6 Alternative strategy for injecting mixin field initialisers, closes #138 2016-09-08 17:45:40 +01:00
Mumfrey adf1c040a6 Quick and dirty merge of platform refactor for remapper, closes #91 2016-06-21 15:20:18 +01:00
Mumfrey 0541ed4d3c Only emit this warning if calling externally 2016-06-16 16:43:03 +01:00
Mumfrey 053bc174de Add Unique, relax target checks, closes #130, fixes #134, bump to 0.5.7 2016-06-14 23:11:30 +01:00
Mumfrey ad64bc1d6d Deprecate/merge stuff to prepare for 0.6, version bump to 0.5.6 2016-05-24 17:17:58 +01:00
Mumfrey 8e891daa92 Quality of life improvements for PrettyPrinter 2016-02-17 18:44:52 +00:00
Mumfrey 083eb425d7 Give injector handlers unique names to resolve potential conflicts 2016-02-17 17:45:47 +00:00
Mumfrey 9cd453cd63 Add all missing class javadoc 2016-02-05 13:06:00 +00:00
Mumfrey 19272e1170 Housekeeping 2016-02-02 13:21:02 +00:00
Mumfrey 6ad5bc8f76 Allow initial compatibility level to be defined via system property 2016-01-28 16:07:56 +00:00
Mumfrey 46e20b1f4e Interface mixins dev 2016-01-20 17:22:16 +00:00
Mumfrey ec42236133 Abstract blackboard access and update/abstract FML reflection, fixes #92 2016-01-15 15:16:05 +00:00