Commit Graph

3138 Commits

Author SHA1 Message Date
ZaneYork 2c9c4fbc65 Bug fix: Provide seed to Aggregate op(for Sequence contains no elements exception, all type was filtered by Where(type => type.BaseType != null) op) 2020-06-04 18:29:27 +08:00
ZaneYork 409e2f7c47 Merge branch 'develop' into harmony2 2020-06-04 13:18:47 +08:00
Jesse Plamondon-Willard 43a9ee42aa
don't prevent mods from accessing game methods/properties extended by SMAPI 2020-06-03 19:02:24 -04:00
Jesse Plamondon-Willard 80f882baf3
stop rewriting module at first error 2020-06-03 18:58:04 -04:00
Jesse Plamondon-Willard 8c4edc2765
tweak new code, add release note (#718) 2020-06-03 18:52:16 -04:00
Jesse Plamondon-Willard cfc7233a06
Merge pull request #718 from ZaneYork/develop
Parallel exception aggregate fix
2020-06-03 18:48:32 -04:00
ZaneYork 03b711a465 Merge branch 'develop' into harmony2 2020-06-03 11:46:27 +08:00
ZaneYork 9b41397a01 Remove take while op(does not return first none matched item) 2020-06-03 11:43:13 +08:00
ZaneYork b2464dfb01 Merge branch 'develop' into harmony2 2020-06-03 10:59:59 +08:00
ZaneYork 6b4e52febb Parallel exception aggregate fix 2020-06-03 10:56:31 +08:00
Jesse Plamondon-Willard 73e3735dcd
undo parallel loop (#716)
This caused errors during rewriting to be obfuscated with null reference exceptions.
2020-06-02 22:05:00 -04:00
Jesse Plamondon-Willard 6f4063cd86
add release note (#716) 2020-06-02 17:52:54 -04:00
Jesse Plamondon-Willard 23c6ef01c1
Merge pull request #716 from ZaneYork/develop
Rewrite code with multithreading support
2020-06-02 17:49:00 -04:00
ZaneYork 91415cbb5b Merge branch 'develop' into harmony2
# Conflicts:
#	src/SMAPI/SMAPI.csproj
2020-06-02 18:54:27 +08:00
ZaneYork 4fad1f8c0c 1.Multithread rewrite 2020-06-02 18:53:09 +08:00
ZaneYork 2353093611 1.Remove TypeFieldToAnotherTypeFieldRewriter(cannot work around with some of complex situation) 2020-06-02 18:50:33 +08:00
ZaneYork 4a29cceca7 Make patch logic more clearly 2020-06-01 18:22:47 +08:00
Jesse Plamondon-Willard 10367a3eae
update TMXTile to fix void map issue on Android 2020-05-31 17:41:17 -04:00
ZaneYork aac5f74f40 Merge branch 'develop' of https://github.com/Pathoschild/SMAPI into harmony2 2020-05-31 20:13:42 +08:00
ZaneYork 5ee6d5b685 Remove MonoMod dependency 2020-05-31 20:09:57 +08:00
Jesse Plamondon-Willard 7bbbef7687
simplify harmony_search output, tweak SMAPI's Harmony ID 2020-05-30 22:45:43 -04:00
Jesse Plamondon-Willard 5be3f14bf1
Merge pull request #715 from ZaneYork/develop
Bug fix: make it possible for multi patch
2020-05-29 21:27:00 -04:00
ZaneYork bd9c1dfcfe Migrate patches to Harmony2.0 2020-05-29 15:28:54 +08:00
ZaneYork 14e6521e7c Migrate patches to Harmony2.0 2020-05-29 14:48:33 +08:00
ZaneYork f817039a3a Bug fix: make it possible for multi patch(When one patch replace an instruction, another patch didn't aware it due to the variable capture) 2020-05-29 14:25:01 +08:00
ZaneYork c67506cd69 Migrate to Harmony2 2020-05-29 14:12:08 +08:00
ZaneYork 797a8e5485 Merge branch 'develop' of https://github.com/Pathoschild/SMAPI into harmony2
 Conflicts:
	src/SMAPI.Toolkit/SMAPI.Toolkit.csproj
	src/SMAPI.sln
	src/SMAPI/Framework/ModLoading/AssemblyLoader.cs
	src/SMAPI/Framework/ModLoading/Finders/TypeFinder.cs
	src/SMAPI/Framework/ModLoading/Framework/RewriteHelper.cs
	src/SMAPI/Framework/Patching/GamePatcher.cs
	src/SMAPI/Framework/SGame.cs
	src/SMAPI/SMAPI.csproj
2020-05-28 18:32:28 +08:00
ZaneYork 0a71d140d5 3.5.0.1 2020-05-28 09:32:56 +08:00
ZaneYork a85acf797f Fix dialog issue 2020-05-27 17:15:15 +08:00
Jesse Plamondon-Willard 01b6e4ac32
fix BadImageFormatException error handling
Thanks to mouse for pointing it out!
2020-05-27 00:44:26 -04:00
Jesse Plamondon-Willard d9c2d242b9
add update key overrides 2020-05-24 16:39:56 -04:00
Jesse Plamondon-Willard ea96fdf541
update ModDrop URLs 2020-05-24 14:35:16 -04:00
Jesse Plamondon-Willard bb9cde8f2e
ignore MacOS files starting with ._ 2020-05-24 00:31:15 -04:00
Jesse Plamondon-Willard d97b11060c
add update subkeys 2020-05-24 00:21:51 -04:00
Jesse Plamondon-Willard 786077340f
refactor update check API
This simplifies the logic for individual clients, centralises common logic, and prepares for upcoming features.
2020-05-23 21:55:11 -04:00
Jesse Plamondon-Willard d7add89441
drop MongoDB code
MongoDB support unnecessarily complicated the code and there's no need to run distributed servers in the foreseeable future. This keeps the abstract storage interface so we can wrap a distributed cache in the future.
2020-05-23 19:25:34 -04:00
Jesse Plamondon-Willard 9aba50451b
keep verb when redirecting api.smapi.io 2020-05-22 23:40:22 -04:00
Jesse Plamondon-Willard b074eb279a
add harmony_summary command 2020-05-22 20:00:33 -04:00
Jesse Plamondon-Willard 163eebd92e
move internal commands out of SCore 2020-05-22 19:57:22 -04:00
Jesse Plamondon-Willard 33da29b3e5
rewrite Harmony.Patch method to allow non-implemented virtual methods (#711) 2020-05-21 23:50:34 -04:00
Jesse Plamondon-Willard db0a46cb68
rewrite HarmonyMethod to allow null (#711) 2020-05-21 23:29:23 -04:00
Jesse Plamondon-Willard f52370f6fa
rename facade classes 2020-05-21 22:29:42 -04:00
Jesse Plamondon-Willard 4468f39098
improve facade annotations 2020-05-21 22:25:09 -04:00
Jesse Plamondon-Willard 7fdc3a2ab2
fix AccessTools facade constructor logic (#711) 2020-05-21 22:21:24 -04:00
Jesse Plamondon-Willard f8e0600672
load .pdb file when mod is loaded from bytes (#711) 2020-05-21 21:59:45 -04:00
Jesse Plamondon-Willard 1beee07a35
rewrite method overrides (#711) 2020-05-21 20:32:02 -04:00
Jesse Plamondon-Willard 310eb1fe9a
Merge branch 'mod/harmony-2.0' into develop
# Conflicts:
#	docs/release-notes.md
#	src/SMAPI/Framework/ModLoading/AssemblyLoader.cs
2020-05-20 19:38:08 -04:00
Jesse Plamondon-Willard c5c30189e4
fix error-handling when patch is called with a null target method (#711) 2020-05-20 02:14:30 -04:00
Jesse Plamondon-Willard 518bf7e3f1
rewrite renamed 'prioritiy' field (#711) 2020-05-20 02:00:16 -04:00
Jesse Plamondon-Willard b38b7af054
rewrite base types & interfaces (#711) 2020-05-20 00:56:28 -04:00