Commit Graph

3721 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 512c2b9fb7
Merge pull request #830 from Shockah/api-proxy-tryproxy-object
API proxy improvements
2022-02-25 23:21:45 -05:00
Shockah 5e3237d000 update Pintail 2022-02-24 12:58:16 +01:00
Jesse Plamondon-Willard 6fc3be52bc
avoid SetData when premultiplying texture with no semi-transparency 2022-02-22 17:38:59 -05:00
Shockah 28f78d1a29 update Pintail 2022-02-20 00:38:42 +01:00
Shockah e9321ba6f9 change proxy prepare behavior 2022-02-19 22:08:05 +01:00
Shockah e24c0db7b1 update Pintail 2022-02-19 21:27:13 +01:00
Jesse Plamondon-Willard 3c29ae6a1e
add Constants.ContentPath 2022-02-19 11:26:24 -05:00
Jesse Plamondon-Willard 2d52681b10
add Constants.GamePath & deprecate Constants.ExecutionPath 2022-02-19 11:07:26 -05:00
Jesse Plamondon-Willard a2190df08c
add AssetName to encapsulate asset name handling (#766) 2022-02-18 15:39:49 -05:00
Jesse Plamondon-Willard 065859408f
Fix support for custom locale codes in asset names (#766) 2022-02-18 12:31:14 -05:00
Jesse Plamondon-Willard 28d7372880
tweak types in content coordinator 2022-02-18 12:13:53 -05:00
Shockah 5706d91dd9 update Pintail 2022-02-18 12:16:02 +01:00
Shockah e41dbd49ca update Pintail 2022-02-17 19:59:36 +01:00
Shockah 8ecca56816 update Pintail 2022-02-16 21:10:23 +01:00
Shockah ba42bb97d1 move proxying to a separate NuGet library 2022-02-16 19:08:40 +01:00
Jesse Plamondon-Willard 315926de25
flip slashes in asset propagator to match MonoGame
The game now uses MonoGame on all platforms.
2022-02-13 00:43:35 -05:00
Jesse Plamondon-Willard f53ace6235
simplify and standardize key comparison in asset propagator 2022-02-13 00:41:44 -05:00
Jesse Plamondon-Willard b0cc403098
add data-* attributes to log parser for external tools 2022-02-12 12:07:13 -05:00
Jesse Plamondon-Willard 4a1174cd50
fix thumbstick input overrides 2022-02-11 20:56:25 -05:00
Jesse Plamondon-Willard 4da9e954df
use Array.Empty to avoid unneeded array allocations 2022-02-11 00:49:49 -05:00
Jesse Plamondon-Willard 233a7d57e6
Merge pull request #829 from SpriteMaster-Ext/perf-patchimage
Simplify and optimize PatchImage
2022-02-11 00:43:52 -05:00
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