Commit Graph

3016 Commits

Author SHA1 Message Date
ZaneYork 5ee6d5b685 Remove MonoMod dependency 2020-05-31 20:09:57 +08: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 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
Jesse Plamondon-Willard 136a548fbb
rewrite methods without a body (#711) 2020-05-20 00:54:28 -04:00
Jesse Plamondon-Willard 71a11337d6
ignore special types (#711) 2020-05-20 00:53:46 -04:00
Jesse Plamondon-Willard b54d892abf
fix rewriting declaring type for a generic method (#711) 2020-05-19 22:50:33 -04:00
Jesse Plamondon-Willard 1838842bbc
rewrite assembly rewriting, merge Harmony rewriters (#711)
This reduces duplication, decouples it from the assembly loader, and makes it more flexible to handle Harmony rewriting.
2020-05-19 20:57:50 -04:00
Jesse Plamondon-Willard f96dde00f9
fix some type references not being rewritten (#711) 2020-05-18 23:11:17 -04:00
Jesse Plamondon-Willard d1bf3d5235
move facade namespace (#711) 2020-05-18 22:44:06 -04:00
Jesse Plamondon-Willard 21303a4e98
remove workaround no longer needed with Harmony 2.0.2 (#711) 2020-05-18 17:26:47 -04:00
Jesse Plamondon-Willard b34d7470e2
simplify patch facade (#711)
Thanks to 0x0ade for the suggestion!
2020-05-18 17:24:16 -04:00
Jesse Plamondon-Willard aa5cc2c9be
fix GitHub license images not using HTTPS 2020-05-16 20:03:08 -04:00
Jesse Plamondon-Willard 9d86f20ca7
migrate subdomain redirects to Azure 2020-05-16 20:01:52 -04:00
Jesse Plamondon-Willard 5e6f1640dc
simplify single-instance deployment and make MongoDB server optional 2020-05-16 14:30:07 -04:00
Jesse Plamondon-Willard a2cfb71d89
minor cleanup 2020-05-16 11:34:00 -04:00
Jesse Plamondon-Willard c776f6053b
update deprecated code 2020-05-16 11:33:17 -04:00
Jesse Plamondon-Willard a090b6c21c
use newer C# features 2020-05-16 11:29:40 -04:00
Jesse Plamondon-Willard 896f531f4f
fix broken action links after update to .NET Core 3.0 2020-05-14 19:25:51 -04:00
Jesse Plamondon-Willard e626e5817e
tweak Harmony patch error (#711) 2020-05-13 20:52:09 -04:00
Jesse Plamondon-Willard 2b9703f98f
fix Harmony issue when assembly is loaded from memory (#711) 2020-05-11 01:40:46 -04:00
Jesse Plamondon-Willard 10531e537f
rewrite AccessTools methods which changed in Harmony 2.0 (#711) 2020-05-10 11:50:35 -04:00
Jesse Plamondon-Willard b2334fda16
update compatibility list for SMAPI 3.6 & Harmony 2.0 tracking (#711) 2020-05-09 21:42:52 -04:00
Jesse Plamondon-Willard 0b5fa6bf86
add new 'unknown' compatibility status (#711) 2020-05-09 21:30:28 -04:00
Jesse Plamondon-Willard 1ff0968590
fixed generic types in method references not rewritten (#711) 2020-05-09 20:45:45 -04:00
Jesse Plamondon-Willard df84df5ff1
add GitHub licenses to mod compatibility list, update release notes 2020-05-09 14:06:10 -04:00