99 Commits
Author SHA1 Message Date
ManlyMarco 28950af313 Add ability to disable generating setting descriptions in ConfigFile 2021-01-09 04:24:34 +01:00
ManlyMarco 63cc280456 Added setting for overriding Harmony backend 2020-06-30 18:51:34 +02:00
ManlyMarco c70ab5ae97 Clean up load skip messages 2020-06-03 03:21:14 +02:00
ManlyMarco c096209581 Remove no longer necessary harmony fix 2020-06-03 03:20:50 +02:00
ManlyMarco c367fb6d23 Merge branch 'master' of https://github.com/BepInEx/BepInEx 2019-12-23 14:58:12 +01:00
ManlyMarco de6c2ccd4e Fix default values in config not being escaped 2019-12-23 14:58:09 +01:00
ManlyMarco 181f0c2caa Tweak version check 2019-12-12 01:27:19 +01:00
ManlyMarco 7659e3a8c4 Fixed version compare logic 2019-11-30 19:14:50 +01:00
ManlyMarco fe5a83e9ad Added warning if a plugin was built against a newer version of bepinex 2019-11-30 19:05:53 +01:00
ManlyMarco e0edca64db Fixed patching chainloader breaking console title version; Fixed console title potentially not being set when using hard patcher 2019-11-30 06:04:49 +01:00
ManlyMarco 8a65fc9c62 Added Traverse.SetValue warning hook 2019-11-30 03:24:14 +01:00
ManlyMarco 92dd69e431 Added RunParallel extension method for enumerables 2019-11-28 21:37:57 +01:00
ManlyMarco 16dbd1e3e5 Added Traverse.GetValue warning hook 2019-11-28 20:58:21 +01:00
ManlyMarco 3d0a31551c Better exception handling implementation 2019-11-26 22:33:57 +01:00
ManlyMarco 6cd69ea5a3 Fixed stack trace being lost in EndInvoke and potentially throwing on valid outputs 2019-11-26 22:19:18 +01:00
ManlyMarco 5c7e1a2478 Fixed typo in summary 2019-11-26 00:58:22 +01:00
ManlyMarco 629f952850 Don't block hotkeys when mouse buttons are held, unless explicitly checked for 2019-11-25 13:32:42 +01:00
ManlyMarco 9ba694a257 Merge branch 'master' of https://github.com/BepInEx/BepInEx 2019-10-27 00:32:47 +02:00
ManlyMarco 7aa1fe32de Add better error message for missing BepInPlugin attribute instead of a nullref 2019-10-27 00:32:40 +02:00
ManlyMarco 7649fd0fee Don't use an exception for control flow 2019-10-27 00:32:04 +02:00
ManlyMarco db8c49936c Prevent Chainloader.Plugins from containing nulls and mark it obsolete 2019-10-22 02:04:39 +02:00
ManlyMarco f2e88d46cb Merge branch 'master' of https://github.com/BepInEx/BepInEx 2019-10-21 22:40:52 +02:00
ManlyMarco eb65de062d Fixed possible cyclic dependency with incompatible plugins 2019-10-21 22:40:06 +02:00
ManlyMarco 1d0bc5295a Always load the newest plugin version if multiple are present 2019-10-21 20:44:22 +02:00
ManlyMarco 5837bf8431 Show a warning when trying to patch already loaded assemblies 2019-09-28 11:36:22 +02:00
ManlyMarco 3866f678c8 Remove DefaultExecutionOrder for compat with unity 5.3 2019-09-26 02:20:21 +02:00
ManlyMarco bb7000ae1a Fixed failing to load a plugin if any type inherits a type from a missing assembly 2019-09-26 00:43:45 +02:00
ManlyMarco 5d9b1b5344 Added [ and ] to config section char blacklist 2019-09-26 00:00:22 +02:00
ManlyMarco 6a9f106442 Fix backwards compatibility of section/key format checks with wrap 2019-09-25 23:57:36 +02:00
ManlyMarco a76d227ac2 Fix chainloader error message formatting 2019-09-19 12:59:37 +02:00
ManlyMarco 9c6046d9fb Added config section and key parameter checks 2019-09-18 19:15:42 +02:00
ManlyMarco a34d0c6528 Fix UnescapedPathString test 2019-09-18 18:04:18 +02:00
ManlyMarco 8098324fec Change AddSetting calls to new shorter overload 2019-09-18 18:00:05 +02:00
ManlyMarco 13358f7237 Fix tests for latest builds 2019-09-18 17:59:34 +02:00
ManlyMarco 4c20c05b73 Added simpler AddSetting overload 2019-09-18 17:59:12 +02:00
ManlyMarco d2bab3824e Made BaseUnityPlugin.Config public to make access by other plugins easier 2019-09-16 18:55:32 +02:00
ManlyMarco 80453026bb Roll back VS varsion in sln 2019-09-16 18:45:04 +02:00
ManlyMarco 50ea73bfbc Remove my mistakes 2019-09-16 18:42:19 +02:00
ManlyMarco 503e39675f Make ThreadingHelper run before other scripts 2019-09-16 18:40:59 +02:00
ManlyMarco f9eee41b33 Split GetSetting and AddSetting; Roll back to separate ConfigWrapper and ConfigEntry for better compatibility and naming 2019-09-16 18:25:16 +02:00
ManlyMarco 47a248e623 Less aggressive string unescaping 2019-08-31 12:49:30 +02:00
ManlyMarco 72fc21fc1c Remove MissingDependencyException 2019-08-30 20:09:08 +02:00
ManlyMarco 1523ad3eaa Match Toml spec 2019-08-30 20:08:21 +02:00
ManlyMarco d0b529166d Fixed possible race condition 2019-08-30 20:01:44 +02:00
ManlyMarco 04be8b17de Simplify the config class structure 2019-08-30 20:01:20 +02:00
ManlyMarco 930c6afd8f Make ValueRange classes inheritable 2019-08-30 01:30:21 +02:00
ManlyMarco 3e33169d51 Use the first ConfigDescription in case multiple are provided 2019-08-29 19:42:16 +02:00
ManlyMarco 23878e9df8 Make defaultValue parameter mandatory 2019-08-29 19:36:33 +02:00
ManlyMarco 9848e64ea3 Merge with master 2019-08-29 18:40:00 +02:00
ManlyMarco 6c14ef01d4 Inline Version.IsZero 2019-08-29 17:53:25 +02:00
ManlyMarco 39140fa836 Make dependency errors more concise 2019-08-28 13:49:01 +02:00
ManlyMarco 51723bf0a2 Fix access modifier 2019-08-28 13:38:59 +02:00
ManlyMarco da14816b84 Added BepInIncompatibility attribute 2019-08-28 13:33:24 +02:00
ManlyMarco d41c90eb13 Make BepInDependency implement ICacheable and hide ICacheable implementations 2019-08-28 13:05:21 +02:00
ManlyMarco 28e02654c4 Merge remote-tracking branch 'origin/master' into pluginVersions 2019-08-28 12:51:00 +02:00
ManlyMarco f63da4a8ae Merge branch 'master' of https://github.com/BepInEx/BepInEx 2019-08-27 16:11:14 +02:00
ManlyMarco 0a9825f278 Added lazy-loaded converters for UnityEngine types 2019-08-27 14:11:03 +02:00
ManlyMarco bc1c51c137 Don't crash AddConverter on duplicates 2019-08-27 04:05:42 +02:00
ManlyMarco ee782a00c4 Roll back Color converter 2019-08-27 04:03:19 +02:00
ManlyMarco 138c5037fd Added converter for Color, tweaks to config comment generation 2019-08-27 03:34:12 +02:00
ManlyMarco 5f0e229e52 Hash tweak 2019-08-27 02:04:40 +02:00
ManlyMarco 6abda092cb Expose AcceptableValueList.AcceptableValues 2019-08-25 23:10:38 +02:00
ManlyMarco b60442ed5e Fixed hashcode for empty hotkeys 2019-08-25 22:39:53 +02:00
ManlyMarco 091b2fa788 Convert KeyboardShortcut into a struct 2019-08-25 21:12:27 +02:00
ManlyMarco 0378ba54e3 Rename Wrap to GetSetting and add some missing Obsolete overloads 2019-08-25 20:25:56 +02:00
ManlyMarco fedb6557e6 Expose dependency errors for displaying on screen in MessageCenter 2019-08-25 14:44:55 +02:00
ManlyMarco d6491da60a Add MinimumVersion support to BepInDependency 2019-08-25 14:38:52 +02:00
ManlyMarco e01dd44786 Added support for newlines and special chars in string settings 2019-08-25 13:03:44 +02:00
ManlyMarco 1c66732b41 Split the constructor for backwards compatibility 2019-08-24 23:40:02 +02:00
ManlyMarco 5d76d36037 Added missing docs 2019-08-24 23:06:38 +02:00
ManlyMarco 87edfafce0 Fixed null sections acting weird 2019-08-24 22:50:26 +02:00
ManlyMarco a0d0d363db Fixed ConfigFile breaking preloader patcher 2019-08-24 22:42:58 +02:00
ManlyMarco b730c16443 Fixed homeless entries not getting saved 2019-08-24 21:56:27 +02:00
ManlyMarco 76e423aa78 Merge with master 2019-08-24 20:50:02 +02:00
ManlyMarco c85cfabee1 Split into separate classes 2019-08-24 20:32:34 +02:00
ManlyMarco 5aa47a1ba1 Refactor ConfigEntry to be generic; Remove file watching 2019-08-24 20:31:59 +02:00
ManlyMarco 5391af10e2 Added ThreadingHelper 2019-08-24 20:24:58 +02:00
ManlyMarco 0cc23c76a0 Use IsValid 2019-08-24 16:50:50 +02:00
ManlyMarco cf73569a0a Restore unnecessary changes 2019-08-18 01:29:15 +02:00
ManlyMarco 2d81483670 Tweaks to cfg comment formatting 2019-08-17 01:43:58 +02:00
ManlyMarco 095bdbece1 Fixed newly added settings not getting written until they are changed 2019-08-17 01:38:28 +02:00
ManlyMarco 4711b1e5fa Change BepInEx settings to use new wrap overloads 2019-08-17 01:17:03 +02:00
ManlyMarco e7028d2fee Move PluginInfo to correct namespace 2019-08-17 01:02:16 +02:00
ManlyMarco 49c9749d38 Merge with cecil branch 2019-08-17 00:41:16 +02:00
ManlyMarco 841cdd5b77 Added KeyboardShortcut 2019-08-12 23:48:18 +02:00
ManlyMarco d9bf3ba225 Added AcceptableValue stuff 2019-08-12 22:36:58 +02:00
ManlyMarco ea42a9932a Clean up parameter names 2019-08-12 18:58:16 +02:00
ManlyMarco e6e8041bf8 Added information of owner plugin to config files 2019-08-12 18:41:43 +02:00
ManlyMarco ab3509ed7b Added BaseUnityPlugin.Metadata and some xmldocs 2019-08-12 18:37:00 +02:00
ManlyMarco 970438883c Added documentation, misc accessibility changes 2019-08-12 18:24:54 +02:00
ManlyMarco 1357478c3d Initialize Paths in unit tests to avoid having to do hack arounds 2019-08-12 17:11:02 +02:00
ManlyMarco 0e4b053165 Fixed solution configurations 2019-08-12 16:52:04 +02:00
ManlyMarco 65177c419e Large config file upgrade - backend rewrite; config file change monitoring; setting changed events propagate from ConfigFile; added unit tests and Test configuration 2019-08-11 23:22:46 +02:00
ManlyMarco ad1c9bd7e1 Split ConfigDefinition and ConfigDescription 2019-08-11 14:08:56 +02:00
ManlyMarco 795ab74fe0 Added support for enums to settings 2019-08-11 14:08:07 +02:00
ManlyMarco 9f153338da Add FileLoadException handling to TypeLoadExceptionToString 2018-11-26 13:52:53 +01:00
ManlyMarco 5179507da0 Add more error information to TypeLoader 2018-11-25 23:05:07 +01:00
ManlyMarco 2c183343d3 Mark unity Log messages as Info instead of Message 2018-11-11 18:25:55 +01:00
MarC0 306c0dccd1 Added SettingChanged event to ConfigWrapper 2018-05-29 19:17:19 +02:00