Commit Graph
117 Commits
Author SHA1 Message Date
ghorsington 556cb5fba4 ConsoleEncoding: fix buffer size computation
Instead of approximating with GetMaxByteCount and GetMaxCharCount, compute actual buffer size which is needed for variable-length characters (e.g. utf-8)
2021-10-31 19:53:59 +02:00
ghorsington a16d0fecfc WindowsConsoleDriver: check that Console.WindowWidth and WindowHeight exist 2021-10-31 19:52:37 +02:00
ghorsington ad0e751b4d Bump packages 2021-10-24 17:26:34 +03:00
js6pak a6b2c1fc92 Fix WindowsConsoleDriver 2021-10-24 12:35:05 +02:00
js6pak c44ff9e7b4 Move the check into WindowsConsoleDriver 2021-10-24 12:11:35 +02:00
ghorsington 3d1effa48d Fix console window delegate resolving 2021-10-03 18:16:33 +03:00
ghorsington 72e1e2c2f6 ConsoleWindow: always resolve user32 from system folder
Some games (e.g. Outer Wilds) include their own user32.dll which is missing some methods. With this fix we always pull the menu functions from correct user32.dll
2021-10-03 16:25:35 +03:00
ghorsington e613bbec32 Include netstandard2.0 to BepInEx.Unity for NuGet package 2021-09-26 00:19:41 +03:00
ghorsington 9cdee65bca Fix missing type spec 2021-09-25 19:54:10 +03:00
ghorsington 639dbb475c Bump NuGet packages 2021-09-25 19:22:12 +03:00
ghorsington 18e5b15133 Adjust package descriptions 2021-08-25 22:21:45 +03:00
ghorsington 02952f5ab1 Use Microsoft.NETFramework.ReferenceAssemblies 2021-08-25 20:51:07 +03:00
ghorsington bc1572a17f Generate NuGet packages on release build for certain libs 2021-08-25 20:48:14 +03:00
Bepis 9cc0211a78 Revamp AssemblyPatcher and patcher plugins 2021-07-29 10:38:36 +10:00
Geoffrey Horsington 36e24d6593 Merge pull request #284 from js6pak/fix-stacktraces
Make stacktraces Error instead of Debug
2021-07-28 09:46:26 +03:00
js6pak 0461ab4f39 Make stacktraces Error instead of Debug 2021-07-27 16:33:31 +02:00
ghorsington 3e71319505 Add PatcherPluginPath to TypeLoader resolver 2021-07-16 17:37:09 +03:00
Bepis 64a75b8513 Fix .NET launcher console not working 2021-05-31 23:21:36 +10:00
ghorsington cd4c90e7f2 Fix #240 2021-05-02 10:54:51 +03:00
ghorsington 086d2f877d Update HarmonyX and MonoMod.RuntimeDetour 2021-04-25 21:08:16 +03:00
ghorsington f9a55e5b3d Fix #238: Don't add nonexistent folders to cecil platform assemblies 2021-04-25 20:19:07 +03:00
ghorsington 78e0538755 Run module constructor before plugin is loaded; closes #228 2021-04-25 20:15:07 +03:00
ghorsington e90a5524da Bump HarmonyX and MonoMod versions 2021-04-11 18:46:23 +03:00
ghorsington 94d2845501 Document new utility methods 2021-04-11 15:21:12 +03:00
ghorsington 1816981b72 Cache hashes of plugins instead of edit dates
This should solve issues for platforms where no precise edit date is saved. MD5 is quick enough for most modern PC setups.
2021-04-11 15:19:27 +03:00
ghorsington c874d4f6b3 Apply style 2021-04-11 14:10:00 +03:00
ghorsington 5959c03522 Remove unneeded StdOutLogListener
Not needed anymore as the fix is handled by Doorstop
2021-04-11 14:07:46 +03:00
ghorsington d3240c3361 Port important fixes from v5-lts
Only fixes are ported, no main feature changes
2021-04-11 13:25:14 +03:00
Ash 117a553820 Update WindowsConsoleDriver to reuse Utility.UTF8NoBom 2021-04-07 17:16:09 -05:00
Ash 9d59aaae79 Remove BOM from log and config files 2021-04-07 17:15:33 -05:00
ghorsington 79039fb332 Update NuGet packages 2021-03-27 22:22:34 +02:00
Marius Ungureanu c493236e45 Simplify logger source clear and remove
Avoids allocations as a side effect
2021-03-03 21:03:34 +02:00
Marius Ungureanu f4f03b72bf Avoid LINQ call by using the expected type in the foreach loop
Preserves exception compatibility and behaves better, including
having improved codegen as a result.
2021-02-20 03:14:13 +02:00
Marius Ungureanu 5fbdf25084 Deduplicate StdOutLogListener implementation 2021-02-15 20:29:39 +02:00
ghorsington 09ac1867ac Move cecil platforma assembly setter to Utilities 2021-02-03 20:27:58 +02:00
ghorsington ff4e1b7c7f Reformat code after last commits 2021-01-26 20:47:02 +02:00
Bepis a28aefb51f Fix Logger static constructor issue 2021-01-25 02:45:50 +11:00
Bepis cdc8ec560b Fix strange build issue 2021-01-25 02:43:09 +11:00
Bepis f60f6cbb62 Fix a significant amount of assembly resolution issues 2021-01-25 02:34:00 +11:00
Bepis a50fa27e49 Ignore dispose exceptions from DiskLogListener on shutdown 2021-01-25 02:19:55 +11:00
ghorsington ecb61f60d8 Apply code style 2021-01-23 22:04:11 +02:00
js6pak ffbb14fd0d Fix BepInDependency cache 2021-01-14 18:01:02 +01:00
ManlyMarco 28950af313 Add ability to disable generating setting descriptions in ConfigFile 2021-01-09 04:24:34 +01:00
ghorsington 96e04e2816 Fix racing condition in some builds; clean up output 2021-01-05 22:55:35 +02:00
ghorsington 88e3dfb7e7 Update some code to use C#9 features 2021-01-05 22:54:45 +02:00
ghorsington 965d9ae1c8 Use net35 reference assemblies; use C# 9 2021-01-05 22:54:45 +02:00
ghorsington 5020ed88f8 Port Paths.ManagedPath from BepInEx 5 2021-01-01 19:49:06 +02:00
ghorsington 54aa943247 Add .NET Standard 2.1 target to core libraries 2020-12-29 22:03:56 +02:00
ghorsington 51c33538b4 Update HarmonyX to 2.3.1 2020-12-28 22:44:22 +02:00
Bepis d2a0d3886e Fix .NET launcher, and some debugging issues 2020-12-15 00:24:51 +11:00