Commit Graph

1601 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 9cebd83cb9 show update-key warnings before checking mod status, enable in non-dev mode 2018-04-23 18:15:58 -04:00
Jesse Plamondon-Willard fd6c7c73cc change 'Console.Out' logger to 'game' for clarity
Although any mod can write to the console directly, this is rare enough that using 'game' as the logger name is less confusing.
2018-04-22 21:17:16 -04:00
Jesse Plamondon-Willard 2b2ad7a486 fix save/load event precedence (#453) 2018-04-22 21:15:19 -04:00
Jesse Plamondon-Willard b2c4218e0d update console log suppress patterns for SDV 1.3 (#453) 2018-04-22 20:20:43 -04:00
Jesse Plamondon-Willard 5e7eaf9f75 rewrite input suppression (#453)
This lets SMAPI intercept all input using the new Game1.hooks in SDV 1.3.0.32. However, intercepting mouse clicks needs a few more changes in the game code.
2018-04-22 19:59:03 -04:00
Jesse Plamondon-Willard 902814d308 don't send chatbox input to mods (#453) 2018-04-22 15:05:08 -04:00
Jesse Plamondon-Willard 8e9b374173 fix crash when closing game window in multiplayer mode (#453) 2018-04-22 13:40:24 -04:00
Jesse Plamondon-Willard 6113482bef fix is-asset-cached check not accounting for different behavior in English (#453) 2018-04-21 21:00:43 -04:00
Jesse Plamondon-Willard 4fe7442905 add more state tracking logs in verbose mode (#453) 2018-04-21 20:38:32 -04:00
Jesse Plamondon-Willard eead352af2 rewrite world/player state tracking (#453) 2018-04-21 20:37:17 -04:00
Jesse Plamondon-Willard b346d28d38 fix GetApi interface validation errors not naming interface 2018-04-19 20:35:16 -04:00
Jesse Plamondon-Willard 1b527f0b25 detect broken references to methods which changed generic return type (#453)
Previously generic types couldn't be compared correctly, since we'd end up with false differences like "Dictionary`1 != Dictionary<string, string>". That seems to be fixed now, possibly due to the PDB file being included.
2018-04-19 19:11:50 -04:00
Jesse Plamondon-Willard d06e7d147a fix SMAPI build intermittently failing due to undeclared dependency on analyzers project 2018-04-19 19:03:49 -04:00
Jesse Plamondon-Willard 1827e94fa2 update compatibility list (#453) 2018-04-19 18:59:37 -04:00
Jesse Plamondon-Willard a269141e9a update for Stardew Valley 1.3.0.33 release build (#453) 2018-04-19 18:59:27 -04:00
Jesse Plamondon-Willard 8faf409ea1 update compatibility list for first test pass (#453) 2018-04-18 21:06:56 -04:00
Jesse Plamondon-Willard e80e6564b3 detect broken references to fields which changed generic type (#453)
Previously generic types couldn't be compared correctly, since we'd end up with false differences like "Dictionary`1 != Dictionary<string, string>". That seems to be fixed now, possibly due to the PDB file being included.
2018-04-18 20:58:25 -04:00
Jesse Plamondon-Willard c79601ad76 update for Stardew Valley 1.3.0.32 (#453) 2018-04-18 20:22:50 -04:00
Jesse Plamondon-Willard 4af998024c add warning in developer mode for mods with no update keys 2018-04-17 21:12:03 -04:00
Jesse Plamondon-Willard bb2c523860 tweak trace logs for readability when loading mods 2018-04-15 01:14:28 -04:00
Jesse Plamondon-Willard 97120c6df2 update references to old warning IDs (#471) 2018-04-14 20:33:43 -04:00
Jesse Plamondon-Willard 1848abe7d5 don't warn for NetCollection conversion to implemented interface (#471) 2018-04-14 20:14:31 -04:00
Jesse Plamondon-Willard 6d8cf614a2 don't warn for NetList conversion to implemented interface (#471) 2018-04-14 19:51:50 -04:00
Jesse Plamondon-Willard c2cb76b799 rewrite analyzers to match more cases, use readable warning IDs (#471) 2018-04-14 17:53:58 -04:00
Jesse Plamondon-Willard 052ef9683a fix typo in code docs (#473) 2018-04-14 02:40:55 -04:00
Jesse Plamondon-Willard 6616c87c18 fix world_settime command sometimes breaking NPC schedules 2018-04-14 00:24:24 -04:00
Jesse Plamondon-Willard 6d269621b2 make crossplatform handling more consistent 2018-04-14 00:18:19 -04:00
Jesse Plamondon-Willard 0d5278a270 use light-background color scheme on Mac by default 2018-04-13 23:54:44 -04:00
Jesse Plamondon-Willard 45f4f85b7e add MacOS detection 2018-04-13 23:47:24 -04:00
Jesse Plamondon-Willard 504733dec7 fix console color scheme for PowerShell, and make it configurable 2018-04-13 23:00:49 -04:00
Jesse Plamondon-Willard a3ade7a512 split mod DB into a separate file
The mod metadata has grown over time, and there's no need to keep it in memory after mod loading. This lets us load the config earlier (since it has a smaller impact on memory usage which affects the game's audio code), and lets us discard the mod metadata when we're done with it.
2018-04-13 22:41:34 -04:00
Jesse Plamondon-Willard 5997857064 fix various net field conversions in SMAPI code (#453) 2018-04-12 00:18:32 -04:00
Jesse Plamondon-Willard 9c1617c9ee drop support for Stardew Valley 1.2 (#453) 2018-04-11 21:15:16 -04:00
Jesse Plamondon-Willard b9bc1a6d17 Merge branch 'develop' into stable 2018-04-11 20:32:00 -04:00
Jesse Plamondon-Willard 2d47e479a5 fix draft releases being detected as update candidates 2018-04-11 19:55:01 -04:00
Jesse Plamondon-Willard 15a80ab244 update for 2.5.5 release 2018-04-11 18:47:32 -04:00
Jesse Plamondon-Willard 34f5854666 update unit test packages 2018-04-11 18:46:07 -04:00
Jesse Plamondon-Willard 4fa46fd741 fix error in Stardew Valley 1.2 build mode (#453) 2018-04-11 18:36:58 -04:00
Jesse Plamondon-Willard e4222ad1fd fix error when two content packs use different capitalisation for the same required mod ID (#469) 2018-04-11 16:17:23 -04:00
Jesse Plamondon-Willard e0488fa5b2 fix error when a remote mod version is invalid (#462) 2018-04-11 16:08:58 -04:00
Jesse Plamondon-Willard b425bff1e9 update for Stardew Valley 1.3.0.26 (#453) 2018-04-11 15:43:11 -04:00
Jesse Plamondon-Willard fa335f80be fix crash when player has duplicate item references 2018-04-11 15:41:32 -04:00
Jesse Plamondon-Willard 83969b5789 update mod build config package version (#453) 2018-04-10 19:26:50 -04:00
Jesse Plamondon-Willard 77b4d1e9a2 Merge branch 'feature/mod-code-analysis' into develop 2018-04-10 18:27:09 -04:00
Jesse Plamondon-Willard b74b530a8a add code analyzers to release notes 2018-04-10 18:25:57 -04:00
Jesse Plamondon-Willard 13f31e8b72 warn for fields which no longer work (#471) 2018-04-10 18:23:57 -04:00
Jesse Plamondon-Willard c6c2302baf tweak analyzer code & documentation (#471) 2018-04-10 18:23:39 -04:00
Jesse Plamondon-Willard 1fb625dc42 fix some net field comparisons to null not flagged (#471) 2018-04-10 18:23:08 -04:00
Jesse Plamondon-Willard 35c2e59685 expand analyzer unit tests (#471) 2018-04-10 18:22:34 -04:00
Jesse Plamondon-Willard 9e5c3912b6 move mock classes out of sample code (#471) 2018-04-10 18:22:16 -04:00