Commit Graph

3138 Commits

Author SHA1 Message Date
ZaneYork 2860215391 Merge branch 'develop' of https://github.com/Pathoschild/SMAPI into android
 Conflicts:
	src/SMAPI/Metadata/InstructionMetadata.cs
2020-08-27 13:21:57 +08:00
ZaneYork 46f4058da9 Remove method rewrite not needed anymore 2020-08-27 11:37:33 +08:00
Jesse Plamondon-Willard e57fc0eb15
fix old comment 2020-08-26 23:27:32 -04:00
Jesse Plamondon-Willard 0bf692addc
add heuristic rewrite for field => const changes 2020-08-26 23:11:41 -04:00
ZaneYork d001d3b9a8 Minor fix 2020-08-27 11:06:07 +08:00
ZaneYork ac2eff81a5 Remove method rewrite(implemented by HeuristicMethodRewriter) 2020-08-27 10:53:51 +08:00
Jesse Plamondon-Willard 54e7fb7a0b
fix some broken field references not detected 2020-08-26 22:32:59 -04:00
ZaneYork 93135d61aa Merge branch 'develop' of https://github.com/Pathoschild/SMAPI into android 2020-08-27 10:26:37 +08:00
ZaneYork a2cb256360 Add conditional compilation symbols to switch code between desktop and mobile platform 2020-08-27 10:24:24 +08: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
ZaneYork 28ba6314a5 Merge branch 'develop' of https://github.com/Pathoschild/SMAPI into android
 Conflicts:
	src/SMAPI/Constants.cs
	src/SMAPI/Framework/Monitor.cs
	src/SMAPI/Framework/SCore.cs
	src/SMAPI/Framework/SGame.cs
	src/SMAPI/Program.cs
	src/SMAPI/Properties/AssemblyInfo.cs
	src/SMAPI/SMAPI.csproj
2020-08-26 15:40:42 +08:00
ZaneYork 6e2ace4fb7 Fix for MobileSpriteSheet patch support 2020-08-26 14:18:34 +08: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
ZaneYork 87b4f2fea8 update dependencies 2020-08-07 17:56:41 +08:00
ZaneYork 9f75690085 Merge branch 'stable' of https://github.com/Pathoschild/SMAPI into android
 Conflicts:
	src/SMAPI.Toolkit/SMAPI.Toolkit.csproj
	src/SMAPI/Framework/SCore.cs
	src/SMAPI/SMAPI.csproj
2020-08-05 10:02:01 +08: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