Commit Graph

3724 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard f39da383a1
enable nullable annotations in SMAPI where no logic changes are needed (#837) 2022-04-13 20:24:14 -04:00
Jesse Plamondon-Willard 6e9e8aef1e
enable nullable annotations in SMAPI where no changes are needed (#837) 2022-04-13 19:00:24 -04:00
Jesse Plamondon-Willard 40aebb74c6
enable nullable annotations in installer (#837) 2022-04-12 21:01:13 -04:00
Jesse Plamondon-Willard 5f7a92a745
enable nullable annotations in unit tests (#837) 2022-04-12 20:52:01 -04:00
Jesse Plamondon-Willard c3851ae2e6
enable nullable annotations in shared projects (#837) 2022-04-12 19:56:52 -04:00
Jesse Plamondon-Willard 4e0e928c94
remove `#nullable disable` in mod build package (#837)
Since it targets .NET Standard 2.0, they're not available anyway.
2022-04-12 19:19:37 -04:00
Jesse Plamondon-Willard 0b48c1748b
enable nullable annotations in the web project & related code (#837) 2022-04-12 19:15:39 -04:00
Khloe Leclair 4f54f517ce Use an optional section for rendering quick navigation links on the mod viewer, containing them within the #sidebar element. 2022-04-12 13:50:51 -04:00
Khloe Leclair 0b92275649 Make horizontal scrolling with the quick navigation links less bad. Probably need to move them into the actual sidebar element though for proper sorting. 2022-04-12 02:18:51 -04:00
Khloe Leclair a21d24f4b7 Replace bitfields for state and just use comma-separated strings. Add a note that numbers may be inaccurate if filtering is used when sections are collapsed. Add quick navigation links. 2022-04-12 02:07:21 -04:00
Jesse Plamondon-Willard 9fbed0fa1f
Merge pull request #839 from nuztalgia/develop
Ignore dot-prefixed files when scanning for mods
2022-04-11 23:20:20 -04:00
Jesse Plamondon-Willard 1e61309d3d
add IAssetDataForMap.ExtendMap 2022-04-11 22:56:14 -04:00
Khloe Leclair 94b8507a47 Add more documentation strings. Use shallow equality checking to decide whether to include a filter in the URL or not to avoid unnecessarily large URLs. 2022-04-11 15:01:59 -04:00
Khloe Leclair 0babc3e446 Cleanup log filtering a bit, with a clearer string for the number of total messages. Additionally, save and restore filter state from the URL for better linking. 2022-04-11 14:29:33 -04:00
Nuz / Lovegood 25e0b4b8ad Make IsRelevant return false for any files starting with "." 2022-04-10 23:34:50 -07:00
Nuz / Lovegood 2a05e28782 Revert "Make ModScanner ignore .gitignore files."
This reverts commit c92efc65ce.
2022-04-10 23:33:32 -07:00
Jesse Plamondon-Willard 761f2d952b
enable nullable annotations in mod data models (#837) 2022-04-10 21:34:18 -04:00
Nuz / Lovegood c92efc65ce Make ModScanner ignore .gitignore files.
This is helpful for cases like this: https://cdn.discordapp.com/attachments/156109690059751424/962879339739885578/unknown.png
2022-04-10 18:20:11 -07:00
Jesse Plamondon-Willard 0336fb2524
add temporary cachebusting queries for log parser 2022-04-09 17:04:39 -04:00
Jesse Plamondon-Willard 376dadd341
fix misplaced attribute (#837) 2022-04-09 16:58:52 -04:00
Jesse Plamondon-Willard 85c769d2a2
update release notes 2022-04-09 16:57:41 -04:00
Jesse Plamondon-Willard 0971a10ea4
Merge pull request #838 from KhloeLeclair/clientlog
Improve log parser
2022-04-09 16:52:57 -04:00
Jesse Plamondon-Willard ae7567674d
restore data element unloading 2022-04-09 16:05:34 -04:00
Jesse Plamondon-Willard 07d07c79e0
load raw data from JSON per discussion
This avoids loading the data synchronously as a JavaScript snippet, which improves performance when opening the page.
2022-04-09 16:01:32 -04:00
Jesse Plamondon-Willard 26d29a1070
minor refactoring 2022-04-09 15:44:17 -04:00
Jesse Plamondon-Willard 650af7ef1a
enable nullable annotations in log parser (#837) 2022-04-09 13:59:56 -04:00
Jesse Plamondon-Willard ad4d065fe7
simplify code with generic Enum.GetValues 2022-04-09 13:10:54 -04:00
Jesse Plamondon-Willard ccf760452d
pass data directly to script instead of serializing & deserializing it 2022-04-09 13:08:38 -04:00
Jesse Plamondon-Willard 260dbbf205
standardize quote style 2022-04-09 13:02:25 -04:00
Jesse Plamondon-Willard b3519f3cc1
rename 'data' to 'state' for upcoming changes 2022-04-09 12:59:21 -04:00
Jesse Plamondon-Willard 288ef5dc07
add environment variable form of new CLI args, update docs 2022-04-09 12:03:30 -04:00
Jesse Plamondon-Willard 283e7d1132
Merge pull request #836 from Tondorian/feature/CommandLineArgs
Add command-line arguments to toggle developer mode

# Conflicts:
#	src/SMAPI/Program.cs
2022-04-09 11:56:48 -04:00
Jesse Plamondon-Willard 6161cc9129
fix config.user.json overriding new CLI arguments 2022-04-09 11:54:23 -04:00
Jesse Plamondon-Willard 092f0aa4ea
simplify format for new CLI arguments 2022-04-09 11:52:20 -04:00
Jesse Plamondon-Willard 5ae87fbc01
fix deprecation warning when a mod uses LoadFromModFile 2022-04-09 11:42:49 -04:00
Khloe Leclair 631d0375c3 Simplify visible section checking by abusing Vue behavior, since the proper way is being buggy. 2022-04-08 15:26:35 -04:00
Khloe Leclair 0beff189d1 Implement client-side log rendering, better filtering, and pagination to improve performance and enhance the user experience with using the log parser. 2022-04-08 14:59:52 -04:00
Jesse Plamondon-Willard 238045ba9c
reverse mod build package migration to .NET 5 (#837)
The migrated package didn't work consistently in VIsual Studio, so this suppresses nullable annotations in .NET Standard instead.
2022-04-07 22:19:48 -04:00
Jesse Plamondon-Willard df955c0d3e
enable asset caching for GameContentHelper 2022-04-07 18:46:29 -04:00
Jesse Plamondon-Willard d706a25053
enable nullable annotations for most of the SMAPI toolkit (#837) 2022-04-07 02:33:23 -04:00
Jesse Plamondon-Willard 6b05296e71
migrate mod build package to .NET 5 to allow full nullable annotations (#837) 2022-04-07 01:51:50 -04:00
Jesse Plamondon-Willard e58e8a2283
enable nullable annotations for manifests (#837) 2022-04-07 01:38:02 -04:00
Jesse Plamondon-Willard ab6cf45b03
enable nullable annotations for semantic versions (#837) 2022-04-07 00:56:00 -04:00
Jesse Plamondon-Willard 3f9b412bed
expand & reorganize 3.14.0 release notes 2022-04-07 00:26:28 -04:00
Jesse Plamondon-Willard d1a7194bf6
allow null values in ISemanticVersion compare methods (#837) 2022-04-06 23:47:12 -04:00
Jesse Plamondon-Willard b4e979cc99
fix all warnings to simplify migration to nullable annotations (#837) 2022-04-06 22:46:19 -04:00
Jesse Plamondon-Willard 2e7c233f6c
enable nullable annotations by default (#837)
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2022-04-06 21:48:55 -04:00
Jesse Plamondon-Willard 215a863945
drop update checks for Stardew64Installer 2022-04-06 18:34:58 -04:00
Jesse Plamondon-Willard 077d8e4f40
remove some unused/redundant code 2022-04-06 18:25:00 -04:00
Jesse Plamondon-Willard 0539bb8f37
simplify with newer pattern features 2022-04-06 18:25:00 -04:00