Commit Graph

958 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 8f1379e273 fix rare crash when window loses focus for some players 2017-05-23 16:51:03 -04:00
Jesse Plamondon-Willard 5fa13459d3 show friendly error when running install.exe from within zip file 2017-05-22 18:55:09 -04:00
Jesse Plamondon-Willard 51d56f1eec add Context.IsInDrawLoop for specialised mods 2017-05-22 16:41:50 -04:00
Jesse Plamondon-Willard ec19c85d66 reimplement event deprecation warnings to fix "unknown mod" warnings 2017-05-21 18:22:21 -04:00
Jesse Plamondon-Willard bf3ed26a8b fix smapi-crash.txt being copied from default log even if --log-path is specified 2017-05-21 17:58:17 -04:00
Jesse Plamondon-Willard 9e7c77f1f4 enable mod dependencies (#285) 2017-05-21 17:29:40 -04:00
Jesse Plamondon-Willard c4eb21bd31 update installer readme 2017-05-20 15:11:51 -04:00
Jesse Plamondon-Willard d47e55d040 show friendly errors when the game is missing or pre-1.2 2017-05-20 15:11:36 -04:00
Jesse Plamondon-Willard 933e889c24 Merge branch 'develop' into stable 2017-05-20 00:58:03 -04:00
Jesse Plamondon-Willard ca44c3f329 bump version for release 2017-05-20 00:29:13 -04:00
Jesse Plamondon-Willard 9ef4876c5e add metadata to internal mod registry & use mod display name everywhere 2017-05-20 00:29:04 -04:00
Jesse Plamondon-Willard 2781c27786 fix error when loading a mod with no version 2017-05-19 23:49:59 -04:00
Jesse Plamondon-Willard 16281fb589 Merge branch 'develop' into stable 2017-05-19 18:04:57 -04:00
Jesse Plamondon-Willard cbb1777ba0 bump version for release 2017-05-19 17:31:00 -04:00
Jesse Plamondon-Willard def73fceaf improve game install path detection 2017-05-18 17:02:34 -04:00
Jesse Plamondon-Willard 1b1f37d082 fix build error with Mono 5.0 on Linux/Mac 2017-05-18 16:56:28 -04:00
Jesse Plamondon-Willard 37a2e34507 also raise location-list-changed on load 2017-05-17 21:25:18 -04:00
Jesse Plamondon-Willard bc1e17bc8c fix mod-loading code not accounting for metadata failure 2017-05-17 15:44:18 -04:00
Jesse Plamondon-Willard 228f84eea6 raise location/player changed events on load 2017-05-17 14:30:57 -04:00
Jesse Plamondon-Willard 0b853ca18d clarify release note 2017-05-17 13:12:31 -04:00
Jesse Plamondon-Willard f9c708d863 drop support for multiple player indexes (not relevant for Stardew Valley) 2017-05-17 12:16:25 -04:00
Jesse Plamondon-Willard 6ce07be2fa fix crash in unreleased code when loading a save that hasn't visited the mines yet 2017-05-17 11:52:21 -04:00
Jesse Plamondon-Willard d5ea812d7c adjust return-to-title code 2017-05-17 11:51:49 -04:00
Jesse Plamondon-Willard 8439594b10 fix errors during overridden update loop immediately crashing the game with no log entry 2017-05-17 11:45:17 -04:00
Jesse Plamondon-Willard b977a8e48f add internal refactoring to release notes 2017-05-16 23:44:33 -04:00
Jesse Plamondon-Willard 741796a4f8 document compile flags in readme 2017-05-16 23:29:56 -04:00
Jesse Plamondon-Willard 2d5d9c7c53 make content event available in experimental mode 2017-05-16 23:09:37 -04:00
Jesse Plamondon-Willard 89d7a3f846 add compile flag for experimental mod dependencies features 2017-05-16 23:04:38 -04:00
Jesse Plamondon-Willard bf02c54f8b Merge branch 'feature/285-mod-dependencies' into develop
# Conflicts:
#	src/StardewModdingAPI/Framework/ModRegistry.cs
#	src/StardewModdingAPI/Program.cs
2017-05-16 22:57:52 -04:00
Jesse Plamondon-Willard a0e9fa9f3e tweak release notes 2017-05-16 19:22:09 -04:00
Jesse Plamondon-Willard 11569dac31 fix maps not recognising custom tilesheets added through the SMAPI content API 2017-05-16 19:15:28 -04:00
Jesse Plamondon-Willard f4a2d8100f add warning for mods that don't have a name or version 2017-05-16 01:15:02 -04:00
Jesse Plamondon-Willard bca78cd682 add Context.IsWorldReady flag 2017-05-15 22:51:49 -04:00
Jesse Plamondon-Willard aafb3315cb update compatibility blacklist for SDV 1.2 2017-05-15 22:41:44 -04:00
Jesse Plamondon-Willard 419ca82427 tweak .editorconfig JSON indentation rules 2017-05-15 20:44:34 -04:00
Jesse Plamondon-Willard fec67fe6fd fix world/player events being raised when the player loads a save due to values being initialised 2017-05-14 22:04:32 -04:00
Jesse Plamondon-Willard 2d9aefebb0 rewrite dependency logic to resolve dependency loops by disabling the affected mods (#285) 2017-05-14 21:19:27 -04:00
Jesse Plamondon-Willard 07aadf3612 replace mod indexes with references in dependency-sorting logic (#285) 2017-05-14 18:17:34 -04:00
Jesse Plamondon-Willard f3ff871eb7 add unit tests for basic dependency reordering cases (#285) 2017-05-13 22:47:50 -04:00
Jesse Plamondon-Willard 317349f3e2 add a few more unit tests for metadata loading & validation (#285) 2017-05-13 21:58:13 -04:00
Jesse Plamondon-Willard 725b1f1419 add unit tests for metadata loading & validation (#285) 2017-05-13 21:42:36 -04:00
Jesse Plamondon-Willard c1fbbf9418 add unit test project (#285) 2017-05-13 21:40:53 -04:00
Jesse Plamondon-Willard f03b300b3f pass SMAPI version into metadata validation to simplify unit tests (#285) 2017-05-13 21:38:04 -04:00
Jesse Plamondon-Willard 53547a8ca3 pass API version into mod metadata validation to simplify unit testing (#285) 2017-05-13 21:36:50 -04:00
Jesse Plamondon-Willard 7f368aa889 enforce metadata.SetStatus() instead of setting properties directly (#285) 2017-05-13 20:41:00 -04:00
Jesse Plamondon-Willard 9b6c0d1021 decouple reading manifest files from validating metadata (#285) 2017-05-13 18:58:19 -04:00
Jesse Plamondon-Willard 63edebaef1 decouple mod metadata resolution from main SMAPI logic (#285)
This makes the logic more self-contained for eventual unit testing, and makes failed mods available during dependency resolution so we can make errors more relevant.
2017-05-13 18:20:09 -04:00
Jesse Plamondon-Willard 66d2b5746a move mod metadata resolution into its own class (#285) 2017-05-13 17:24:41 -04:00
Jesse Plamondon-Willard c932c53137 fix error when processing mods that have no dependencies (#285) 2017-05-13 17:03:26 -04:00
Jesse Plamondon-Willard a3729c36f5 refactor mod dependency logic a bit (#285) 2017-05-13 16:58:17 -04:00