Commit Graph
38 Commits
Author SHA1 Message Date
Finn Radesandjoe 41a0eadd18 Use actual parameter names instead of generic 'argN' names (#191)
* Fix: Use actual parameter names instead of generic 'argN' names

* Address review https://github.com/FabricMC/Mixin/pull/191#pullrequestreview-3552070215

* De-dupe code

* Implement review

* Address review

* Address review

---------

Co-authored-by: joe <[email protected]>
2025-12-22 14:50:46 +00:00
modmuss 2cd49e6314 Enable checkstyle (#149) 2024-07-01 09:09:16 +01:00
LlamaLad7 35c079a988 Fix: Resolve occasional NPE in Locals calculations. 2024-06-02 19:43:20 +01:00
Player 7ce573df03 Emulate 0.9.2 behavior as needed for compatibility 2021-08-22 22:06:29 +00: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 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 6e807085d8 Fix for the original fix for #480, which actually fixes #480 2021-04-26 13:04:21 +01:00
Mumfrey 6f5dce173b Fix for the fix for computing frames which now fixes #481 and fixes #482 2021-04-14 19:31:06 +01:00
Mumfrey 9109a19d5e Fixes for regressions related to selectors, fixes #479, fixes #480 2021-04-13 21:22:35 +01:00
Mumfrey e9f7d752f2 Refactoring so that service impls don't need to camp on transformer pkg 2021-02-24 22:18:08 +00:00
Mumfrey 6110084d0b Fix for calculating Locals when target contains no stack map frames 2021-01-28 12:27:46 +00:00
Mumfrey 0177c2d394 Fixes for several locals-related issues, fix #398, fix #402, fix #405 2020-10-17 22:10:10 +01:00
Mumfrey 66bdb7b3b0 Fix staticness check and functionality of ModifyVariable in constructors 2019-12-06 16:43:12 +00:00
Mumfrey 002e5288e8 Add an ASM detector and support backwards compatibility with ASM 5.x 2019-10-11 19:26:04 +01:00
Mumfrey 22ae7dd1f9 Fix LVT resolution with compressed frames and two related minor bugs 2019-10-11 17:59:53 +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 164e471dcd Make ModifyVariable print option work more intuitively, closes #209 2017-09-20 03:03:31 +01:00
Mumfrey a05e7347a5 0.7.3 - Refactoring some packages and unify transformer extensions 2017-08-30 17:50:57 +01:00
Mumfrey 16cd2998db Use original frame size as arbiter for frame size, hopefully fixes #154 2017-07-11 16:15:02 +01:00
Mumfrey 791aba7087 Increase checkstyle checks. Javadoc all the things. 2017-01-31 19:15:31 +00: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 19272e1170 Housekeeping 2016-02-02 13:21:02 +00:00
Mumfrey c1d494d41c Fall back to generated LVT for synthetic locals, fixes #88 2016-01-18 12:45:00 +00:00
Mumfrey 3b2783c214 Housekeeping 2016-01-13 01:18:56 +00:00
Mumfrey 6322cffe8b Fix off-by-n error in Locals 2015-11-24 12:30:19 +00:00
Mumfrey f32d67a23c Handle gaps in local variable table when failing over to surrogates 2015-11-21 02:20:16 +00:00
Mumfrey e4c445b8a4 Unify source header format with Sponge projects 2015-05-22 16:53:44 +01:00
Mumfrey c9e31fad0f Allow truncation of local capture injectors 2015-05-21 17:46:40 +01:00
Mumfrey 10040e9f3d Fixes and improvements for local capture, avoid cryptic error on bad LVT 2015-05-21 15:38:14 +01:00
Mumfrey 741bc03b8d Rename all references to ASM in source to use remapped packages 2015-05-19 00:46:41 +01:00
Mumfrey c9f6d04f84 Clean up debugging code in Locals ready for merge 2015-05-08 02:06:35 +01:00
Mumfrey 2955e1a359 Use information about original frames to improve LVT generation, ref #42 2015-05-07 16:36:14 +01:00
Mumfrey dea3a3b6ef Troubleshooting for LVT generation, emit lots of debug info during gen 2015-05-06 13:30:53 +01:00
Mumfrey 110882d719 Fix functionality of LVT generator in production 2015-04-29 01:13:52 +01:00
Mumfrey 6f09fade5c Add failure handling for local capture, enable local capture in @Inject 2015-03-05 19:02:06 +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 fc1742a54e Fixing code style from LiteLoader, fix checkstyle, complete javadoc 2014-12-25 01:32:50 +00:00