Commit Graph

3200 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 54e7fb7a0b
fix some broken field references not detected 2020-08-26 22:32:59 -04:00
Jesse Plamondon-Willard d3c5fe0764
rename new heuristic rewriters for clarity 2020-08-26 22:14:25 -04:00
Jesse Plamondon-Willard 16161a214f
remove now-unused instruction replace callback 2020-08-26 21:55:08 -04:00
Jesse Plamondon-Willard fd6835555c
fix InvalidProgramException when replacing CIL instructions in some cases 2020-08-26 21:55:04 -04:00
Jesse Plamondon-Willard a4938fc465
tweak locale init so it doesn't depend on the game's internal load order 2020-08-25 23:13:55 -04:00
Jesse Plamondon-Willard ec4b81819a
use inheritdoc in rewriters 2020-08-25 22:59:08 -04:00
Jesse Plamondon-Willard abfe40bf69
fix some method references only partially rewritten
Thanks to Bepis on Discord for helping find the issue!
2020-08-25 22:49:00 -04:00
Jesse Plamondon-Willard b9a9fe36bb
fix missing-parameter rewriter not loading default values onto stack 2020-08-25 22:05:27 -04:00
Jesse Plamondon-Willard 915e6d22f1
minor tweaks 2020-08-24 22:23:02 -04:00
Jesse Plamondon-Willard 3a89040876
add rewriter for method references with missing optional parameters 2020-08-24 22:16:48 -04:00
Jesse Plamondon-Willard 1bd67baae1
support mapping fields to a different type in FieldReplaceRewriter 2020-08-24 21:39:50 -04:00
Jesse Plamondon-Willard 94b8262692
add heuristic field-to-property rewriter 2020-08-24 20:11:56 -04:00
Jesse Plamondon-Willard 046deb2d56
simplify console interception flow
The console interceptor now uses a marker in the string (instead of a state field) to track whether the message should intercepted. This makes each write more atomic, so it's less affected by multithreading in some cases.
2020-08-24 19:25:57 -04:00
Jesse Plamondon-Willard 46d63e11cc
switch to ILSpy for decompiled code 2020-08-24 18:35:51 -04:00
Jesse Plamondon-Willard 7f35e74ca1
fix object-disposed error 2020-08-23 22:11:11 -04:00
Jesse Plamondon-Willard c37280222d
minor cleanup 2020-08-23 20:53:09 -04:00
Jesse Plamondon-Willard 1ff4a0774e
remove unneeded access modifier 2020-08-23 19:00:46 -04:00
Jesse Plamondon-Willard 76c926c396
add EarlyConstants for constants needed before external DLLs are loaded 2020-08-23 18:51:01 -04:00
Jesse Plamondon-Willard 625c41c0ea
move file for upcoming change 2020-08-23 18:45:54 -04:00
Jesse Plamondon-Willard fd3bc77d81
centralise core SMAPI logic, decouple from Game1 where possible 2020-08-23 17:24:08 -04:00
Jesse Plamondon-Willard ad1b9a870b
move some console/logging logic out of SCore into a new LogManager 2020-08-23 14:22:27 -04:00
Jesse Plamondon-Willard cb37644291
move assembly attributes to match convention 2020-08-22 21:47:37 -04:00
Jesse Plamondon-Willard 58fd6c71a2
update release notes 2020-08-17 20:36:03 -04:00
Jesse Plamondon-Willard 92eff2519c
Merge pull request #729 from spacechase0/harmony-attribute-fix
Fix harmony attributes not working cross-platform
2020-08-17 20:34:14 -04:00
spacechase0 f012dae872 Fix harmony attributes not workign cross-platform 2020-08-17 20:28:51 -04:00
Jesse Plamondon-Willard 6afb80676b
fix CP validation for new 'Update' field 2020-08-16 23:01:19 -04:00
Jesse Plamondon-Willard d6dc1364be
update schema for Content Patcher 1.17 2020-08-16 11:28:13 -04:00
Jesse Plamondon-Willard 497192fab2
tweak update alert rules 2020-08-15 13:17:42 -04:00
Jesse Plamondon-Willard d6a830f7e8
fix broken URL in update alerts for unofficial versions 2020-08-15 13:05:32 -04:00
Jesse Plamondon-Willard 544919ad13
remove experimental RewriteInParallel option 2020-08-13 20:01:22 -04:00
Jesse Plamondon-Willard 48eb5e6be0
add support for read/writing SDate to JSON 2020-08-09 19:10:54 -04:00
Jesse Plamondon-Willard 066f1857a1
fix error when mods add/remove events asynchronously 2020-08-09 11:56:40 -04:00
Jesse Plamondon-Willard c03430ec7e
tweak release docs 2020-08-09 11:18:39 -04:00
Jesse Plamondon-Willard e54a5d0569
update Content Patcher schema for 1.16 2020-08-03 22:35:51 -04:00
Jesse Plamondon-Willard 8da88b8fe5
Merge branch 'develop' into stable 2020-08-02 16:38:51 -04:00
Jesse Plamondon-Willard b96bcb2189
prepare for release 2020-08-02 16:38:02 -04:00
Jesse Plamondon-Willard 1cd55c34f0
fix compile error on Linux/Mac 2020-08-02 16:28:53 -04:00
Jesse Plamondon-Willard 849c6da9ca
update dependencies 2020-08-02 16:18:11 -04:00
Jesse Plamondon-Willard e96f4fb797
format new code, update release notes 2020-07-29 22:42:47 -04:00
Jesse Plamondon-Willard 778bcdfbe5
Merge pull request #728 from Spatterjaaay/terminals
avoid expanding arguments into quoted strings
2020-07-29 22:12:23 -04:00
Alena Messmer 1994eac81a avoid expanding arguments into quoted strings 2020-07-28 21:41:06 -07:00
Jesse Plamondon-Willard 7900a84bd6
use ordinal comparison/sorting instead of invariant 2020-07-26 02:50:20 -04:00
Jesse Plamondon-Willard ee4c88f601
log GPU info to simplify troubleshooting 2020-07-25 15:50:36 -04:00
Jesse Plamondon-Willard 6f9a1f1525
fix error when a mod adds/remove an event handler while handling the event 2020-07-21 13:57:28 -04:00
Jesse Plamondon-Willard 4b07e10520
ignore more content file types when detecting mods 2020-07-21 13:51:11 -04:00
Jesse Plamondon-Willard 4590b75bc3
add item repository fixes from CJB Cheats Menu code 2020-07-17 12:09:07 -04:00
Jesse Plamondon-Willard 16a37fc89f
fix other missing quotes 2020-07-05 19:38:51 -04:00
Jesse Plamondon-Willard f1e8e1eb8c
Merge pull request #727 from Jonqora/develop
Update smapi.targets so 0Harmony, MonoGame refs appear when intended
2020-07-05 19:34:39 -04:00
Ellen 02a9084301
Update smapi.targets so 0Harmony, MonoGame refs appear only when intended. 2020-07-05 03:15:14 -04:00
Jesse Plamondon-Willard 623684a3ad
update Content Patcher format version in schema 2020-07-04 12:59:03 -04:00