1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-15 08:25:41 +00:00
Commit Graph

1128 Commits

Author SHA1 Message Date
7a6dbef4f9
[ci skip] Fix null-check precondition for WhereNot<T> 2023-02-27 21:11:07 +00:00
3ef6cf2cde
Fix xmldoc for decimal.Sqrt 2023-02-27 17:19:12 +00:00
db2def1eab
Add Wrap for built-in numeric types (#60) 2023-02-27 17:18:44 +00:00
d1959f4ba6
[ci skip] Add unit tests for IsOnLine 2023-02-27 17:05:59 +00:00
f5b88e5309
[github actions] Use .NET 7 2023-02-27 16:59:35 +00:00
3607034818
[X10D.Unity] Add tests for Color(32).Deconstruct 2023-02-27 13:55:06 +00:00
55a2e99b82
Update project to 2021.3.19f1 2023-02-27 13:54:26 +00:00
3fc2e7259e
Add Random.NextFrom([ReadOnly]Span<T>) 2023-02-27 13:15:20 +00:00
d1454a1170
[ci skip] Add unit tests for ScaleRange
Add Aggressive implementations, and annotate as Pure
2023-02-26 13:33:01 +00:00
81f1a7c1e0
Inline Lerp/InverseLerp expression in ScaleRange 2023-02-26 13:26:08 +00:00
795d696eca
Add GammaToLinear and LinearToGamma (#60) 2023-02-26 13:10:59 +00:00
f0bce2983a
Fix CS1574 in ListExtensions
Count property is defined for IReadOnlyCollection<T> not IReadOnlyList<T>

Oops
2023-02-26 12:27:12 +00:00
ca1b1ccbf2
Add GreatestCommonFactor for built-in integer types 2023-02-26 12:25:50 +00:00
622141443c
[ci skip] Use .NET 7 SDK for solution 2023-02-26 12:09:34 +00:00
2aab9e8d6a
Use .NET 7 SDK for solution 2023-02-26 00:49:31 +00:00
d461c464df
Rewrite TimeSpanParserTests
The tests previously worked on the assumption that TryParse would throw an exception on null argument. This was changed with 94a841b2fc but the tests were not updated to reflect that
2023-02-26 00:46:01 +00:00
ba7329febd
[ci skip] Remove trailing whitespace on line 10 2023-02-26 00:38:56 +00:00
d9cf9c8db5
Add Nullable<T>.TryGetValue (resolves #61) 2023-02-26 00:35:22 +00:00
c6849a0745
[ci skip] style=flat-square for shields.io badges 2023-02-23 17:55:25 +00:00
17ad19546a
[ci skip] Fix workflow link in shield 2023-02-23 17:54:37 +00:00
a076a61ae4
Add DiscordGuild.GetMemberOrNullAsync
D#+ throws an undocumented NotFoundException when a member does not exist. This method returns null instead
2023-02-19 15:27:51 +00:00
6cd7d8d5ce
Add DiscordClient.GetUserOrNullAsync
D#+ throws an undocumented NotFoundException when a user does not exist. This method returns null instead
2023-02-19 15:27:25 +00:00
eadb66f470
Add MathUtility.ScaleRange 2023-02-05 14:28:42 +00:00
384ec3f61c
[ci skip] Set ContinuousIntegrationBuild to true for CI builds 2023-02-05 13:51:58 +00:00
ea51adc632
Cache Singleton<T> instance on Awake 2022-12-31 14:49:32 +00:00
35591b05e2
Add ReadOnlySpan<char> overload for TimeSpanParser
Also tidies up the code here to reduce complexity
2022-12-22 20:19:52 +00:00
8ff3447b85
[ci skip] *Actually* fix badge link
I did not read https://github.com/badges/shields/issues/8671 well enough
2022-12-22 12:31:38 +00:00
ce255a86b3
[ci skip] Fix workflow badge link
https://github.com/badges/shields/issues/8671
2022-12-22 12:30:48 +00:00
94a841b2fc
Allow null input in TimeSpanParser.TryParse 2022-12-22 12:28:35 +00:00
fdc9e64cbe
Remove trailing whitespace in QuaternionExtensions 2022-12-22 12:28:18 +00:00
d14ecdec51
revert DebugType:None 2022-12-21 20:09:45 +00:00
b6d651a5c8
DebugType: None 2022-12-21 20:01:27 +00:00
9349ead3ff
Update DSharpPlus 4.3.0 stable 2022-12-21 19:58:28 +00:00
a53cb12d5d
Use n&1 rather than n%2 for integer IsEven check 2022-12-06 01:22:48 +00:00
941f3acc56
[ci skip] Condense switch statement for IsPrime 2022-12-06 01:22:08 +00:00
9d6dbaaa23
Add Quaternion.ToAxisAngle and Quaternion.ToVector3 2022-12-06 01:08:35 +00:00
b60fdc495b
Add IReadOnlyList<T>.Slice 2022-12-01 13:51:30 +00:00
e02fd3b1b4
Add IReadOnlyList<T>.IndexOf 2022-12-01 12:28:33 +00:00
9c2f77b203
Remove invalid DirectoryInfo.Clear test 2022-12-01 12:28:05 +00:00
0ba7781462
Fix StackOverflow in FromCircle 2022-12-01 12:05:53 +00:00
c8d2a5cbec
Call .ConfigureAwait(false)
Yes I wrote true, this was a mistake.

https://media.tenor.com/YQv2NMgnGmoAAAAC/tom-hanks-forrest-gump.gif
2022-11-29 18:53:58 +00:00
da5c350117
Add edge case for WaitForTimeSpan unit test
Read comment for more details
2022-11-29 18:09:41 +00:00
af622a8ef7
Allow for minor differentiation in equality test 2022-11-29 17:45:27 +00:00
b09b2287d2
Update project to 2021.3.14f1 2022-11-29 17:39:50 +00:00
048926011b
[ci skip] [github actions] Update unity-test-runner 2.1.0 2022-11-29 17:35:20 +00:00
fe0b3647e4
[ci skip] Target .NET 7 for source validator 2022-11-29 17:30:07 +00:00
7776138909
Remove calls to no-longer-existing Clear(bool) 2022-11-29 17:27:33 +00:00
aeef084dba
Mark X10D.DSharpPlus as not CLS-compliant
D#+ makes heavy use of ulong for snowflake IDs, which is not a CLS-compliant type
2022-11-29 17:27:18 +00:00
8dfe6d5082
Fix CS8600 and CS8602 2022-11-29 17:26:03 +00:00
f3b40d30b3
Remove in modifier from SpanSplitEnumerator ctor 2022-11-29 17:23:14 +00:00