Commit Graph

4000 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 3064b58719
add basic unit tests for API interface proxying 2022-02-10 22:03:09 -05:00
Shockah a54d58d064 add TryProxy for any objects 2022-02-10 16:26:43 +01:00
Shockah 467375a7a3 add reverse API proxying (and unproxying) 2022-02-10 14:15:06 +01:00
Shockah 0725945217 add proxy instance caching 2022-02-10 11:43:35 +01:00
Shockah 61415e41eb use Call/Callvirt depending on target 2022-02-10 11:21:41 +01:00
Shockah 9557908425 fix code style warning 2022-02-10 10:18:31 +01:00
Shockah 55723f91d2 implement `out` parameter proxying 2022-02-10 10:08:14 +01:00
Ameisen 51b7b9fe06 Cleanup and performance/allocation improvement for AssetDataForImage.PatchImage 2022-02-09 18:00:15 -06:00
Shockah f920ed59d6 add WIP proxying of methods with `out` parameters 2022-02-09 23:26:26 +01:00
Shockah d9599a3a0a simplifies proxy method IL a bit 2022-02-09 21:10:20 +01:00
Shockah 354527bb81 stop proxying nulls 2022-02-09 21:02:41 +01:00
Shockah 688fccc024 add missing documentation 2022-02-09 20:40:54 +01:00
Shockah ee78ab3c37 fix stack overflow for proxied types referencing each other 2022-02-09 20:38:14 +01:00
Shockah 43ad219b75 support proxying return values in API proxies 2022-02-09 20:07:01 +01:00
Shockah 5a92b0cd35 uses `proxy.Name` instead of `target.Name` (which makes more sense in this context) 2022-02-08 22:36:34 +01:00
Shockah 5b5304403b oops old code 2022-02-08 22:19:16 +01:00
Shockah 3135925982 allow generic methods and any assignable types in API proxies 2022-02-08 21:54:53 +01:00
Shockah 0ff82c38e7 allow default interface method implementations in API proxies 2022-02-08 20:02:13 +01:00
Jesse Plamondon-Willard 25a9f54ecf
fix manifest JSON schema's update key pattern 2022-01-29 20:43:45 -05:00
Jesse Plamondon-Willard 3431f486a2
normalize season names in SDate constructor 2022-01-29 18:15:42 -05:00
Jesse Plamondon-Willard 6dd4a8a12b
fix item repo's handling of Journal Scraps and Secret Notes 2022-01-29 17:46:45 -05:00
Jesse Plamondon-Willard 6b9c9be2b6
move item repo secret note + flavored object logic into methods 2022-01-29 17:33:12 -05:00
Jesse Plamondon-Willard bca9e599cc
remove unneeded dictionary patch
The dictionary errors were improved in .NET 5, so they include the key automatically.
2022-01-29 17:27:42 -05:00
Jesse Plamondon-Willard 53ed5f4faa
update release notes 2022-01-24 21:55:30 -05:00
Jesse Plamondon-Willard e2f5861e31
Merge pull request #826 from ChulkyBow/patch-1
Update Ukrainian translations
2022-01-24 21:54:05 -05:00
ChulkyBow d8bbf3c441
Update Ukrainian translation for SMAPI 2022-01-18 16:25:36 +02:00
Jesse Plamondon-Willard 451b70953f
Merge branch 'develop' into stable 2022-01-16 23:43:01 -05:00
Jesse Plamondon-Willard dbed0289d7
prepare for release 2022-01-16 22:57:40 -05:00
Jesse Plamondon-Willard 95f4513727
rewrite fallback assembly resolution
* SMAPI now also searches the root game folder for unresolved assemblies. This fixes an issue resolving the game DLL when the player's DLL version doesn't match the one used to compile SMAPI.
* The DLL search folders are now scanned once and cached to avoid repeated iterations on startup.
2022-01-16 22:56:48 -05:00
Jesse Plamondon-Willard 85f8631bee
fix typo 2022-01-16 18:54:00 -05:00
Jesse Plamondon-Willard 1b9ff9cd10
Merge branch 'develop' into stable 2022-01-16 18:01:19 -05:00
Jesse Plamondon-Willard ad0e6b315d
prepare for release 2022-01-16 17:13:28 -05:00
Jesse Plamondon-Willard 230f119205
merge field rewriters to reduce rewrite iterations 2022-01-16 17:08:08 -05:00
Jesse Plamondon-Willard 1ea8d75235
improve console interception logic 2022-01-16 14:05:02 -05:00
Jesse Plamondon-Willard 00bd9d19a1
bump min game version to 1.5.6
That avoids error reports on mods when pirated players have an older 1.5.5 build that break mods, and ensures that the new build number shown in the SMAPI log is available.
2022-01-16 00:15:03 -05:00
Jesse Plamondon-Willard 7e8d11ca3a
add Xbox app log instructions, redesign UI to fit 2022-01-15 23:41:01 -05:00
Jesse Plamondon-Willard 6f05580191
add detection for Xbox app game folders 2022-01-15 20:39:32 -05:00
Jesse Plamondon-Willard d029dd652f
fix JSON validator not recognizing manifest update subkeys 2022-01-15 18:04:33 -05:00
Jesse Plamondon-Willard 4cffd6c2c0
add save recovery for missing custom farm type 2022-01-15 17:21:11 -05:00
Jesse Plamondon-Willard 8ebb9ce8d4
fix backspaces ignored on Linux/macOS in SDV 1.5.5+ 2022-01-15 13:27:23 -05:00
Jesse Plamondon-Willard a8985e122e
fix suppressed console output not suppressing newlines 2022-01-15 12:21:22 -05:00
Jesse Plamondon-Willard e30e427628
add download option to log view 2022-01-02 19:59:38 -05:00
Jesse Plamondon-Willard 1fab386ab1
add Ukrainian translations (#823) 2022-01-02 13:57:14 -05:00
Jesse Plamondon-Willard 92f35837ad
fix syntax, update release notes 2022-01-02 13:48:53 -05:00
Jesse Plamondon-Willard adb3926609
Merge pull request #820 from bruce2409/update-launcher-sh
Added shell shebang to MacOS Launcher code
2022-01-02 13:45:38 -05:00
Jesse Plamondon-Willard aad77242f0
fix uninstaller not removing StardewModdingAPI.deps.json file 2021-12-23 23:08:49 -05:00
Jesse Plamondon-Willard 02831503dd
remove content pack from compatibility blacklist
It's no longer broken with the auto-fixes in the upcoming SMAPI update.
2021-12-23 18:59:14 -05:00
bruce2409 5712116879 Added shell shebang to MacOS Launcher code 2021-12-22 17:41:11 +00:00
Jesse Plamondon-Willard 52f4df3f30
add new game build number to the SMAPI log 2021-12-21 20:33:08 -05:00
Jesse Plamondon-Willard 0d7d447600
auto-fix maps broken due to missing vanilla tilesheet 2021-12-20 22:18:09 -05:00