summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Program.cs
AgeCommit message (Collapse)Author
2017-05-17fix mod-loading code not accounting for metadata failureJesse Plamondon-Willard
2017-05-16add compile flag for experimental mod dependencies featuresJesse Plamondon-Willard
2017-05-16Merge branch 'feature/285-mod-dependencies' into developJesse Plamondon-Willard
# Conflicts: # src/StardewModdingAPI/Framework/ModRegistry.cs # src/StardewModdingAPI/Program.cs
2017-05-16add warning for mods that don't have a name or versionJesse Plamondon-Willard
2017-05-15update compatibility blacklist for SDV 1.2Jesse Plamondon-Willard
2017-05-13pass SMAPI version into metadata validation to simplify unit tests (#285)Jesse Plamondon-Willard
2017-05-13pass API version into mod metadata validation to simplify unit testing (#285)Jesse Plamondon-Willard
2017-05-13enforce metadata.SetStatus() instead of setting properties directly (#285)Jesse Plamondon-Willard
2017-05-13decouple reading manifest files from validating metadata (#285)Jesse Plamondon-Willard
2017-05-13decouple mod metadata resolution from main SMAPI logic (#285)Jesse Plamondon-Willard
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-13move mod metadata resolution into its own class (#285)Jesse Plamondon-Willard
2017-05-13fix error when processing mods that have no dependencies (#285)Jesse Plamondon-Willard
2017-05-13refactor mod dependency logic a bit (#285)Jesse Plamondon-Willard
2017-05-13Added basic topological sort for mod dependencies (#285)Luke Wale
2017-05-12fix SMAPI raising a deprecation warning for its own use of an eventJesse Plamondon-Willard
2017-05-11organise a few framework classesJesse Plamondon-Willard
2017-05-11decouple mod metadata vs assembly loading to enable upcoming mod ↵Jesse Plamondon-Willard
dependencies (#285)
2017-05-09add warning for mods that don't set the UniqueID manifest fieldJesse Plamondon-Willard
2017-05-09let mods dispose unmanaged resources when SMAPI is disposing (#282)Jesse Plamondon-Willard
2017-05-09when a fatal crash happens, keep a copy of the log and notify the player on ↵Jesse Plamondon-Willard
relaunch
2017-05-09use shared reflection helperJesse Plamondon-Willard
2017-05-08add optional verbose context loggingJesse Plamondon-Willard
2017-04-29add initial content API (#257)Jesse Plamondon-Willard
2017-04-29make mod helpers disposable (#257)Jesse Plamondon-Willard
2017-04-28detect broken ObjectInformation.xnb dataJesse Plamondon-Willard
2017-04-26revamp 'exit immediately' to abort ongoing SMAPI tasksJesse Plamondon-Willard
2017-04-26detect exceptions logged directly to the console and log them as errorsJesse Plamondon-Willard
2017-04-26No longer suppress console output from the log fileJesse Plamondon-Willard
Console messages appear in the console (in developer mode only), but weren't saved to the log file based on the argument that they weren't relevant. However, that also suppresses the game's load-game errors in Stardew Valley 1.2, which makes troubleshooting save issues more complicated. To avoid any such issues in the future, they're now always logged to the file. If you need to log a message that isn't shown to the user, use System.Diagnostics.Debug instead.
2017-04-26optimise console interception for the way Stardew Valley logs messagesJesse Plamondon-Willard
2017-04-24remove new manifest field for minimum game version (#264)Jesse Plamondon-Willard
This was added to support parallel releases for SDV 1.11 + 1.2-beta, but SDV 1.2 is now out of beta. Mods should specify the minimum SMAPI version instead if needed.
2017-04-24update for SDV 1.2 non-beta releaseJesse Plamondon-Willard
2017-04-23dispose resources on Windows Form exit (#268)Jesse Plamondon-Willard
2017-04-23ensure SMAPI resources are disposed on exit (#268)Jesse Plamondon-Willard
2017-04-23revamp startup process (#265)Jesse Plamondon-Willard
This revamps SMAPI's startup process to simplify mod development by ensuring that core components are ready by the time mods are loaded (which is also needed for the upcoming content API), and eliminate or reduce SEHExceptions some players experience.
2017-04-23let mods specify a minimum game version in their manifest.json (#264)Jesse Plamondon-Willard
2017-04-23unify SMAPI versions for SDV 1.11 and 1.2 using compile switches where ↵Jesse Plamondon-Willard
needed (#264)
2017-04-23Merge branch for Stardew Valley 1.2 beta into developJesse Plamondon-Willard
# Conflicts: # src/StardewModdingAPI/Framework/SGame.cs
2017-04-23remove Initialize/LoadContent overrides & deprecate related events (#265)Jesse Plamondon-Willard
2017-04-05unbackport for SDV 1.2 branch (#258)Jesse Plamondon-Willard
2017-04-01add --log-path argument to specify SMAPI log path during testingJesse Plamondon-Willard
2017-03-30always show friendly game versionJesse Plamondon-Willard
2017-03-30add upper version check (#258)Jesse Plamondon-Willard
2017-03-30backport SMAPI 1.9 to Stardew Valley 1.11 (#258)Jesse Plamondon-Willard
2017-03-26fix SMAPI not recognising Mod instances that don't subclass Mod directly (#252)Jesse Plamondon-Willard
2017-03-26merge CIL finders & rewriters into one interface (#254)Jesse Plamondon-Willard
2017-03-14let players override SMAPI incompatible-code detection if neededJesse Plamondon-Willard
2017-03-14revert all projects except installer to .NET Framework 4.5Jesse Plamondon-Willard
This caused obscure invalid-IL crashes when compiled through MonoDevelop on Linux.
2017-03-14downgrade to .NET Framework 4.0 for better compatibility on Windows 7–8.1Jesse Plamondon-Willard
2017-03-12remove unused IConfigFile (#238)Jesse Plamondon-Willard
2017-03-12simplify access to game's Program classJesse Plamondon-Willard
Stardew Valley 1.2.15 made the class public, so we no longer need reflection to access it.