Commit Graph

208 Commits

Author SHA1 Message Date
Oliver Booth cfc73cfb62
Order members alphabetically 2022-11-30 18:14:33 +00:00
Oliver Booth 02b4907c95
Give explicit precedence with parentheses 2022-11-30 18:09:41 +00:00
Oliver Booth b4deeaf92c
Use statement bodies 2022-11-30 18:06:23 +00:00
Oliver Booth 99c08f33ed
Use IReadOnlyList<T> instead of T[] for public API 2022-11-30 18:03:00 +00:00
Oliver Booth 86458129b5
Explicit Ordinal string comparison 2022-11-30 18:01:45 +00:00
Oliver Booth 79129f44d2
Suppress CA1308, lowercase is intended here 2022-11-30 17:57:17 +00:00
Oliver Booth 73d0bc8561
Implement IDisposable 2022-11-30 17:56:51 +00:00
Oliver Booth 656a0b287d
Specify CultureInfo when converting types 2022-11-30 17:56:02 +00:00
Oliver Booth 3abd7b1379
Resolve CA2225, offer methods to complement operators 2022-11-30 17:51:20 +00:00
Oliver Booth 9336511059
Treat analysis warnings as errors 2022-11-30 12:09:19 +00:00
Oliver Booth a6fcad1f7a
Format csproj 2022-11-30 12:01:02 +00:00
Oliver Booth 0549184c60
Suppress CA1812 for value converters 2022-11-30 02:27:19 +00:00
Oliver Booth bb39b2eb62
Seal Connection class 2022-11-30 00:52:40 +00:00
Oliver Booth 0e82236944
Use nint over IntPtr 2022-11-30 00:52:15 +00:00
Oliver Booth af0dbf5259
Use nullable state parameter 2022-11-30 00:48:47 +00:00
Oliver Booth f4c7bdad41
Mark GetStringLength static 2022-11-30 00:46:31 +00:00
Oliver Booth 2d8dc52c3e
Reduce allocations in MarshalManagedToNative 2022-11-30 00:46:18 +00:00
Oliver Booth 0d0ce72cb2
Rename Object properties to more specific names
This avoids problems with the type name Object, which is a keyword in VB and other languages
2022-11-29 23:59:26 +00:00
Oliver Booth 32bb9d92bb
Inherit exceptions from VirtualParadiseException 2022-11-29 22:50:53 +00:00
Oliver Booth c432437da7
Add blank lines to end of files 2022-11-29 22:22:57 +00:00
Oliver Booth 17fa114a98
Add package metadata 2022-11-29 19:06:47 +00:00
Oliver Booth cbaa5edd2e
Add default constructor for exceptions 2022-11-29 19:06:31 +00:00
Oliver Booth 20481a1bdd
Don't return arrays in public properties 2022-11-29 19:06:15 +00:00
Oliver Booth 66fe507b8d
Call ConfigureAwait(false) for all awaited tasks 2022-11-29 19:02:13 +00:00
Oliver Booth 7fe303c4eb
Call ConfigureAwait(false) 2022-11-29 18:55:00 +00:00
Oliver Booth e656436519
Add xmldoc to operators in Coordinates 2022-11-29 18:46:56 +00:00
Oliver Booth ff088a9870
Implement IEquatable<T> in Coordinates 2022-11-29 18:46:42 +00:00
Oliver Booth c6ca753381
Add xmldoc to methods 2022-11-29 18:43:35 +00:00
Oliver Booth 36c0845fbe
Use built-in nint keyword over IntPtr CLR type 2022-11-29 18:40:26 +00:00
Oliver Booth a91ac7d7fa
Discard return value from native calls 2022-11-29 18:38:24 +00:00
Oliver Booth bb1fda7f9f
Validate not-null argument 2022-11-29 18:38:00 +00:00
Oliver Booth 002d53f003
Call ConfigureAwait for awaited methods 2022-11-29 18:37:42 +00:00
Oliver Booth 5ed2f4ca31
Return Task, not ValueTask 2022-11-29 18:36:50 +00:00
Oliver Booth 1991cc1b6f
Add package metadata 2022-11-29 18:33:42 +00:00
Oliver Booth 4790d5b33f
Add icon and license to package 2022-11-29 18:33:27 +00:00
Oliver Booth 88b8b58a95
Add CHANGELOG 2022-11-29 18:33:04 +00:00
Oliver Booth ba0df75a25
[ci skip] [github actions] Run dotnet job on develop branch 2022-11-29 18:24:07 +00:00
Oliver Booth 9f22d466af
[github actions] Use .NET 7 SDK 2022-11-29 18:23:02 +00:00
Oliver Booth d2887b6ab1
Update branding
Light blue instead of purple
2022-11-29 18:19:21 +00:00
Oliver Booth 4fb50c9e93
Multi-target .NET 6 and .NET 7 2022-11-29 15:46:13 +00:00
Oliver Booth 3e25e3cd11
Expose client extensions 2022-11-29 15:15:15 +00:00
Oliver Booth 55512d6c8d
throw on null client 2022-11-29 15:15:02 +00:00
Oliver Booth 027ce96ed3
Add Coordinates struct 2022-11-29 15:12:57 +00:00
Oliver Booth a064328418
Add X10D 3.2.0-nightly.136 2022-11-29 15:03:44 +00:00
Oliver Booth 535f9fb9e8
Add Commands extension 2022-11-27 20:47:54 +00:00
Oliver Booth e0666d54e4
Add support for client extensions
This is currently preliminary, and the only event mapped so far is chat messaging
2022-11-27 20:42:55 +00:00
Oliver Booth 99fc7120c7
Add bindings for vp_say and vp_console_message 2022-11-27 20:10:33 +00:00
Oliver Booth 693e90bff1
[ci skip] Add braces around single-statement bodies 2022-11-27 17:51:18 +00:00
Oliver Booth 1bf050eca0
Add proprietary FontStyle enum
Removes dependency on Windows-only API from System.Drawing
2022-11-27 17:17:32 +00:00
Oliver Booth f1abc4374a
Add integration tests 2022-11-27 15:36:56 +00:00