1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 17:18:48 +00:00
Commit Graph

141 Commits

Author SHA1 Message Date
cb7e1308e2
refactor: replace T.Wrap for numeric types with generic math 2024-11-14 16:33:09 +00:00
72dbaa72ba
refactor!: remove redundant Sign overloads 2024-11-14 16:29:15 +00:00
44d3aec9a6
fix: revert c7e78f5d19 2024-11-14 16:15:37 +00:00
0be10d819f
refactor!: replace GCF and LCM with generic math 2024-11-14 16:14:50 +00:00
c7e78f5d19
refactor: fix logic for IBinaryInteger<T>.Factorial
The algorithm now starts at IBinaryInteger<T>.MultiplicativeIdentity rather than IBinaryInteger<T>.One
2024-11-14 16:06:52 +00:00
b1c644dc47
refactor!: replace Product and RangeTo on int types with generic math 2024-11-14 16:01:11 +00:00
0b978f5cdf
refactor!: remove Span<T>.Split 2024-11-13 18:22:36 +00:00
62cb9a36fe
feat: add EnqueueAll/DequeueAll, PushAll/PopAll for Queue and Stack 2024-06-12 14:06:54 +01:00
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