Commit Graph

3701 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 26a629f41b
fix prerelease update alerts shown for non-prerelease players 2021-08-25 18:20:15 -04:00
Jesse Plamondon-Willard 596a4616b3
no longer abort input thread when exiting
`thread.Abort` is unimplemented in .NET 5, but it's not needed anyway since all threads will be aborted when the game exits.
2021-08-25 18:19:24 -04:00
Jesse Plamondon-Willard 68e629f17c
fix data helper's WriteJsonFile not deleting file if data is null (#799) 2021-08-25 18:18:37 -04:00
Jesse Plamondon-Willard c20fcec169
expand data helper docs (#799) 2021-08-25 18:17:45 -04:00
Jesse Plamondon-Willard 6cf7c49f34
add GetInAllLocales to translation API 2021-08-25 18:17:09 -04:00
Jesse Plamondon-Willard a4c6c61684
enable parallel analyzer execution 2021-08-08 00:32:19 -04:00
Jesse Plamondon-Willard 976c66537c
fix edge case where Netcode references aren't rewritten correctly 2021-08-08 00:24:20 -04:00
Jesse Plamondon-Willard 885808fb66
move assembly resolver setup into Constants to centralize hardcoded logic 2021-08-08 00:21:28 -04:00
Jesse Plamondon-Willard 5e16ed0eea
prevent weird null reference exception in error-handling 2021-08-05 14:28:29 -04:00
Jesse Plamondon-Willard 94d41cd67a
correct release date 2021-08-05 12:21:18 -04:00
Jesse Plamondon-Willard 80d3dd1f78
Merge branch 'develop' into stable 2021-08-05 11:56:10 -04:00
Jesse Plamondon-Willard b6e058c322
prepare for release 2021-08-04 18:34:29 -04:00
Jesse Plamondon-Willard b6f3ecc143
fix error when error-handling invalid ReflectionTypeLoadException errors 2021-08-04 18:05:05 -04:00
Jesse Plamondon-Willard 807dcfec77
undo Constants.Save* changes in 3.12.1 2021-08-04 18:02:15 -04:00
Jesse Plamondon-Willard 2e442bf2ee
Merge branch 'develop' into stable 2021-08-03 19:11:39 -04:00
Jesse Plamondon-Willard 1bb51b2c41
prepare for release 2021-08-03 19:11:26 -04:00
Jesse Plamondon-Willard e73f5a10c7
add PlatoTK to compatibility list 2021-08-03 19:04:15 -04:00
Jesse Plamondon-Willard 6b0d13be7c
fix Mono.Cecil failing to resolve references to SMAPI in some edge cases 2021-08-03 19:03:51 -04:00
Jesse Plamondon-Willard ef1eff669d
update compatibility list 2021-08-03 13:05:48 -04:00
Jesse Plamondon-Willard cf261ff36e
increase software conflict message to warning level to simplify troubleshooting 2021-08-03 12:00:15 -04:00
Jesse Plamondon-Willard 848460a34e
update compatibility list 2021-08-02 21:30:59 -04:00
Jesse Plamondon-Willard 5256b738b4
use more reliable method to get save folder name
SMAPI now tracks the actual folder name being loaded to avoid edge cases where the folder name doesn't match the save ID.
2021-08-02 21:14:22 -04:00
Jesse Plamondon-Willard 5b31be76dd
Merge branch 'develop' into stable 2021-08-01 13:11:51 -04:00
Jesse Plamondon-Willard d688cdf8c3
prepare for release 2021-08-01 13:11:27 -04:00
Jesse Plamondon-Willard edfb3c9929
Merge pull request #794 from bladeoflight16/monoandprojectfixes
Fix Mono build error and duplicate targets import
2021-08-01 13:10:36 -04:00
Jesse Plamondon-Willard c15d43049a
fix map reload not correctly reloading interior doors 2021-07-31 19:22:14 -04:00
bladeoflight16 db06291fdb Removing duplicate import of common.targets, eliminates several warnings 2021-07-31 15:30:27 -04:00
bladeoflight16 f7f49aa8df Target typed constructors are not yet supported by Mono. Adding explicit class name to resolve build error. 2021-07-31 15:28:22 -04:00
Jesse Plamondon-Willard 80d5672cdb
fix crash when farm name contains invalid-in-file-path characters (#791) 2021-07-31 01:50:31 -04:00
Jesse Plamondon-Willard dc78d944e8
recover save when mods leave null objects in the world 2021-07-30 01:48:22 -04:00
Jesse Plamondon-Willard 940bf92241
refactor save game patcher to minimize repeated iterations 2021-07-30 01:40:43 -04:00
Jesse Plamondon-Willard 10b7758bd2
fix build error on Linux 2021-07-30 00:56:37 -04:00
Jesse Plamondon-Willard 948c800a98
migrate to the new Harmony patch pattern used in my mods
That improves validation and error-handling.
2021-07-30 00:54:15 -04:00
Jesse Plamondon-Willard 4074f697d7
rename patch classes for consistency 2021-07-30 00:40:12 -04:00
Jesse Plamondon-Willard aa65b2e2f6
split patch classes which target multiple types 2021-07-30 00:34:53 -04:00
Jesse Plamondon-Willard 737a434ad6
reduce ErrorHandler's direct references to internal SMAPI code
That will allow removing the InternalsVisibleTo attribute to avoid namespace conflicts in an upcoming commit.
2021-07-29 22:50:50 -04:00
Jesse Plamondon-Willard 880cd7b8ba
fix handling of Unicode characters in console 2021-07-28 21:20:44 -04:00
Jesse Plamondon-Willard e8ad5d0a24
fix Data\Movies error regression when patching dictionary (#711) 2021-07-28 18:03:49 -04:00
Jesse Plamondon-Willard b4f307e1ba
fix rewritten Harmony 1.x code not raising 'detected game patch' flag (#711) 2021-07-28 00:51:45 -04:00
Jesse Plamondon-Willard 6a6c484b98
add accessed key to dictionary KeyNotFoundException message 2021-07-28 00:49:54 -04:00
Jesse Plamondon-Willard b2a1a51dea
Merge pull request #793 from bladeoflight16/clearremoveable
Add an option to world_clear that leaves permanent objects alone
2021-07-28 00:38:26 -04:00
Jesse Plamondon-Willard e3010f7c41
refactor new code a bit 2021-07-28 00:36:34 -04:00
Jesse Plamondon-Willard 507154bf34
Merge pull request #792 from bladeoflight16/monofix
Fix build error in MonoDevelop
2021-07-28 00:28:23 -04:00
bladeoflight16 428f0c5880 world_clear: Adding 'removeable' option that includes everything except permanent bushes 2021-07-27 17:23:54 -04:00
bladeoflight16 ec7af3e2ee world_clear: Lining up parameter descriptions 2021-07-27 17:23:54 -04:00
bladeoflight16 97710d6f47 Fixing mono incompatibility (case exception type statement without variable) 2021-07-27 17:17:56 -04:00
Jesse Plamondon-Willard bdae52c9ae
fix rewriting for Harmony ExceptionBlock type (#711) 2021-07-26 22:28:32 -04:00
Jesse Plamondon-Willard 175eaad683
remove now-unneeded Mono.Cecil aliases (#711) 2021-07-23 20:37:26 -04:00
Jesse Plamondon-Willard 167d5831d1
use unmerged Harmony assembly (#711)
Harmony merges Mono.Cecil and MonoMod.Common into its DLL, and keeps some (but not all) of the merged types public. That causes type conflicts in SMAPI's code since it uses both Harmony and Mono.Cecil, and extern aliases break on Linux due to IDE/compiler limitations. This commit uses a custom build of Harmony without the assembly merging, so SMAPI can use and manage Mono.Cecil itself.
2021-07-23 20:29:44 -04:00
Jesse Plamondon-Willard 88be0cee94
fix new validation checks 2021-07-21 23:28:18 -04:00