Commit Graph

1219 Commits

Author SHA1 Message Date
Oliver Booth 41ba8b5aad
fix: include WriteBits to !NET5_0_OR_GREATER 2023-08-27 03:39:53 +01:00
Oliver Booth 5d936b5385
feat: add markdown formatting methods 2023-08-27 03:37:01 +01:00
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 bb2f67e9b6
style: remove UTF8 BOM 2023-08-26 18:08:14 +01:00
Oliver Booth 2da8c7db7a
refactor: rename TNumber as TInteger 2023-08-25 02:53:06 +01:00
Oliver Booth b8f85e4270
refactor: CountDigits is Pure. also honour methodimpl 2023-08-25 02:50:15 +01:00
Oliver Booth 39dfea7622
[ci skip] fix: define CountDigits in the correct file
I'm an idiot.
2023-08-25 02:42:51 +01:00
Oliver Booth 423fb90cc4
feat: add IBinaryInteger<T>.CountDigits 2023-08-25 02:34:55 +01:00
Oliver Booth 8bc7372ba4
Merge branch 'release/4.0.0' into feature/generic_math 2023-08-25 02:27:08 +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