b627d21b59
[ci skip] docs: update changelog to reflect #84
2024-06-12 13:44:11 +01:00
68197ef5c7
fix: fix order of bytes in decimal write bytes methods
2024-06-12 11:57:27 +01:00
d2924d7ac0
refactor!: remove extensions for Progress<T>
2024-06-12 04:00:25 +01:00
195e25e0e3
feat: add range-based foreach
2024-06-12 03:40:34 +01:00
e2327b5235
refactor!: remove Span<T>.Replace for .NET 8 ( #88 )
2023-11-14 16:55:12 +00:00
85685c15a0
docs: mention target loss in changelog
2023-09-13 00:47:56 +01:00
b84d9c734a
refactor!: remove X10D.Unity + associated projects/workflows ( #86 )
2023-09-13 00:25:04 +01:00
ff6b8d5465
feat: add Span overloads to complement char.Repeat/string.Repeat
2023-08-27 13:58:15 +01:00
5d936b5385
feat: add markdown formatting methods
2023-08-27 03:37:01 +01:00
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
129cbfb51f
refactor: revert 50d9cad2f3
2023-08-24 02:29:59 +01:00
50d9cad2f3
perf: optimise subsequent GetHash and TryWriteHash calls
2023-08-23 17:06:44 +01:00
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
5c21c86a52
refactor!: replace Endianness enum with explicit Big/Little methods
2023-08-23 14:15:52 +01:00
15107ea90f
docs: fix xmldoc for Line3D
2023-08-22 23:53:13 +01:00
1e71029f38
refactor: remove X10D.DSharpPlus
2023-08-22 17:52:49 +01:00
a14fe4ca64
Merge branch 'main' into release/4.0.0
2023-08-21 17:41:05 +01:00
42cb9acb48
fix: fix AddHostedSingleton not accepting interface as service type
2023-08-21 17:39:35 +01:00
4c6ea59e2f
Merge branch 'main' into release/4.0.0
2023-08-21 17:28:32 +01:00
22532e8cef
feat: add service/impl register for AddHostedSingleton
2023-08-21 17:25:41 +01:00
9b995524dd
feat: add service/impl register for AddHostedSingleton
2023-08-21 17:21:58 +01:00
b977b7a4ec
Merge branch 'main' into release/4.0.0
2023-08-09 15:24:33 +01:00
103e037dc8
docs: update changelog
2023-06-05 21:47:04 +01:00
d8be858359
refactor: remove IEnumerable.ConcatOne
2023-05-14 16:27:42 +01:00
6f3a667e37
feat: add string.ConcatIf
2023-04-14 13:55:52 +01:00
0ae377250c
feat: add IEnumerable<T>.Except(T)
...
LINQ-provided Except method filters by array, but there's no way to filter a single value. This method introduces single-value filtering.
2023-04-13 20:55:24 +01:00
3f08f5270f
feat: add DebugUtility.DrawFunction
2023-04-13 01:48:58 +01:00
ac499537ed
feat: add RaycastHit.GetComponent and RaycastHit.TryGetComponent
2023-04-11 16:58:16 +01:00
b2e4092ca7
[ci skip] docs: remove addition of component copy/move
2023-04-10 13:50:44 +01:00
f6847315a1
feat: add Progress<T>.OnProgressChanged
...
Provides a mechanism to wrap the ProgressChanged event of a Progress<T> as an IObservable<T>.
2023-04-10 12:44:53 +01:00
420ec2433a
feat: add Component move/copy
...
As usual, experimental API - subject to change.
2023-04-07 01:21:56 +01:00
9d26f3da60
feat: add TextWriter.WriteNoAlloc/WriteLineNoAlloc
...
Allows writing of integer types without allocating a string.
2023-04-06 19:11:54 +01:00
9791fd23bb
feat: add CountDigit for integer types
2023-04-06 14:40:27 +01:00
0621c246a0
feat: add Span<T>.Replace
2023-04-06 02:31:22 +01:00
dc1b9d6c04
feat: add math extensions for BigInteger
2023-04-05 11:05:53 +01:00
b8c3a5121a
feat: add DateOnly extensions
2023-04-04 10:10:55 +01:00
a717976229
style!: rename parameter for DateTime.Age and DateTimeOffset.Age
...
BREAKING CHANGE: "asOf" has been renamed to "referenceDate". Consumers using named parameters beware.
2023-04-03 18:20:21 +01:00
713c55a5b4
docs: update version in CHANGELOG
2023-04-03 18:17:40 +01:00
0e64819b7d
[ci skip] docs: add Pulse to CHANGELOG
2023-04-03 17:29:45 +01:00
1939bbe4ba
feat: add MathUtility.Sawtooth ( #60 )
2023-04-03 17:15:11 +01:00
c7370c39fd
feat: add MathUtility.Sigmoid ( #60 )
2023-04-03 16:38:58 +01:00
654d5b5b08
feat: Add MathUtility.ExponentialDecay ( #60 )
2023-04-03 16:21:43 +01:00
d27f4caef7
feat: add MathUtility.SmoothStep ( #60 )
2023-04-03 15:47:18 +01:00
f131c281cf
feat: add MathUtility.Bias ( #60 )
2023-04-03 14:41:32 +01:00
bc3dedfa7d
fix: rename DebugEx to DebugUtility
...
Prevents .NET analysers from throwing errors.
2023-04-02 03:10:36 +01:00
e52e9096e0
feat: expose ComplexSqrt to all frameworks
2023-04-01 18:54:04 +01:00
2815c505c3
fix: fix incorrect float/double being written for netstandard2.1
...
The call to _To_Bits yields the result containing the same bytes, but not the same value. This value was then stored as-is into the parameter, which causes a conversion on how the value is stored, ultimately causing the wrong value to be written to the stream.
2023-04-01 17:11:05 +01:00
677259b91c
fix: fixed Stream.ReadSingle returning wrong type
...
ReadSingle previously returned a double, and this never failed unit tests since float -> double is a widening conversion, with values being comparable.
2023-04-01 17:08:34 +01:00
14e638e6d9
feat: add IEnumerable<T>.ConcatOne
2023-03-31 14:53:02 +01:00
3ce8d281b7
feat: add TextReader.EnumerateLines/Async
2023-03-30 17:55:41 +01:00