Oliver Booth
bd823ba818
perf: stackalloc single char span, instead of using ToString, for .NET 7
...
This removes the allocations caused by ToString(). Unfortunately, the ReadOnlySpan<char> overload is only available from .NET 7, and so this is a conditional performance gain. Shame.
2023-08-27 01:26:37 +01:00
Oliver Booth
cfe70a7923
refactor: discard GetBits return
2023-08-26 18:50:49 +01:00
Oliver Booth
799e635577
style: mark WriteBits conditional
2023-08-26 18:50:37 +01:00
Oliver Booth
b843d155f6
[ci skip] style: cap line length at 130
2023-08-26 18:40:23 +01:00
Oliver Booth
68968c1b0b
style: remove UTF8 BOM
2023-08-26 18:15:04 +01:00
Oliver Booth
9caa0acb7b
style: remove UTF8 BOM
2023-08-26 18:11:29 +01:00
Oliver Booth
129cbfb51f
refactor: revert 50d9cad2f3
2023-08-24 02:29:59 +01:00
Oliver Booth
f238d420f4
Merge branch 'main' into release/4.0.0
2023-08-24 01:54:42 +01:00
Oliver Booth
5ff7b68b37
[ci skip] ci: add workflow_dispatch trigger to docfx workflow
2023-08-24 01:54:25 +01:00
Oliver Booth
9aed06b533
[ci skip] docs: add X10D.Hosting to docfx project
2023-08-24 01:53:50 +01:00
Oliver Booth
71b0bec85c
style(test): format span tests
2023-08-24 01:53:24 +01:00
Oliver Booth
50d9cad2f3
perf: optimise subsequent GetHash and TryWriteHash calls
2023-08-23 17:06:44 +01:00
Oliver Booth
1157e36eff
refactor: separate stream Read/Write methods to partials
2023-08-23 17:00:55 +01:00
Oliver Booth
30b7a465a7
fix: fix marshal of decimal for netstandard 2.1
2023-08-23 16:54:20 +01:00
Oliver Booth
caa0070458
fix: fix incorrect endian swap
2023-08-23 16:43:33 +01:00
Oliver Booth
ed46bcd0d8
Merge branch 'main' into release/4.0.0
2023-08-23 16:15:21 +01:00
Oliver Booth
3e338eb2f5
fix(ci): build on subdir branch push
2023-08-23 16:15:10 +01:00
Oliver Booth
d90e949212
fix(ci): build on subdir branch push
2023-08-23 16:14:56 +01:00
Oliver Booth
28d7bee262
fix(tests): add support for trace logging during tests
2023-08-23 14:18:04 +01:00
Oliver Booth
0bf89bb82a
refactor!: change exception thrown by GetHash and TryWriteHash
...
The methods no longer throw TypeInitializationException, and instead now throw ArgumentException.
2023-08-23 14:17:42 +01:00
Oliver Booth
5c21c86a52
refactor!: replace Endianness enum with explicit Big/Little methods
2023-08-23 14:15:52 +01:00
Oliver Booth
15107ea90f
docs: fix xmldoc for Line3D
2023-08-22 23:53:13 +01:00
Oliver Booth
fa375e7758
refactor: conditionally import System.Runtime.Intrinsics.X86
2023-08-22 23:38:18 +01:00
Oliver Booth
b4ae55caaa
Merge branch 'main' into release/4.0.0
2023-08-22 23:27:35 +01:00
Oliver Booth
f57318a381
[ci skip] fix(docs): fix incorrect stable commit ref
2023-08-22 23:27:26 +01:00
Oliver Booth
c5f5ba9bb6
Merge branch 'main' into release/4.0.0
2023-08-22 23:25:33 +01:00
Oliver Booth
bf0930ee17
[ci skip] docs: update latest stable ref in X10D.Unity readme
2023-08-22 23:25:10 +01:00
Oliver Booth
457fbbb83c
[ci skip] docs: fix README branding header in X10D.Unity
2023-08-22 22:42:23 +01:00
Oliver Booth
0868b698c5
[ci skip] docs: fix README branding header in X10D.Unity
2023-08-22 22:42:07 +01:00
Oliver Booth
9c5ed12cad
chore: enable NRT for tools
2023-08-22 22:40:59 +01:00
Oliver Booth
5b2c83e2eb
chore: define TargetFrameworks in shared props
2023-08-22 22:40:49 +01:00
Oliver Booth
1e71029f38
refactor: remove X10D.DSharpPlus
2023-08-22 17:52:49 +01:00
Oliver Booth
27e0ec54be
chore: extract shared build props
2023-08-22 17:46:44 +01:00
Oliver Booth
1b71d94084
chore: remove redundant shared props
2023-08-22 17:44:29 +01:00
Oliver Booth
4593a21065
fix(tools): clear Package property groups
2023-08-22 17:43:16 +01:00
Oliver Booth
d17d94a8c1
chore: suppress NU1701 ( #77 )
2023-08-22 17:39:45 +01:00
Oliver Booth
24a7de7e8c
refactor: define test fixtures as internal
2023-08-22 17:32:47 +01:00
Oliver Booth
e8a331ff96
chore: use shared Build.props for all projects
2023-08-22 17:11:20 +01:00
Oliver Booth
a9cde347bd
[ci skip] docs: bump to 3.3.1
2023-08-21 17:42:59 +01:00
Oliver Booth
a14fe4ca64
Merge branch 'main' into release/4.0.0
2023-08-21 17:41:05 +01:00
Oliver Booth
71a9c787e2
Merge branch 'hotfix/3.3.1' into main
2023-08-21 17:39:56 +01:00
Oliver Booth
42cb9acb48
fix: fix AddHostedSingleton not accepting interface as service type
2023-08-21 17:39:35 +01:00
Oliver Booth
0afe45f4d6
chore: bump to 3.3.1
2023-08-21 17:39:28 +01:00
Oliver Booth
4c6ea59e2f
Merge branch 'main' into release/4.0.0
2023-08-21 17:28:32 +01:00
Oliver Booth
70cb1b7230
Merge branch 'release/3.3.0' into main
2023-08-21 17:26:01 +01:00
Oliver Booth
22532e8cef
feat: add service/impl register for AddHostedSingleton
2023-08-21 17:25:41 +01:00
Oliver Booth
a715384e98
chore: bump to 3.3.0
2023-08-21 17:23:27 +01:00
Oliver Booth
9b995524dd
feat: add service/impl register for AddHostedSingleton
2023-08-21 17:21:58 +01:00
Oliver Booth
b977b7a4ec
Merge branch 'main' into release/4.0.0
2023-08-09 15:24:33 +01:00
Oliver Booth
a0b07edc82
fix: replace Moq with a library that DOESN'T steal your pii
...
Moq has recently introduced a payload named SponsorLink which takes PII (your email address) to send to a third party server for remote verification.
This kind of suspicious data harvesting is simply unacceptable, and the developers have now destroyed all credibility and trust with their user base. This change replaces Moq with NSubstitute.
For further information, see:
https://github.com/moq/moq/issues/1372
2023-08-09 15:18:01 +01:00