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

763 Commits

Author SHA1 Message Date
c5276b706e
[github actions] Use .NET 7 2022-11-29 15:55:26 +00:00
271305b056
Add .NET 7 target 2022-11-29 15:51:22 +00:00
907852316f
Update Microsoft.Extensions.Hosting.Abstractions 7.0.0 2022-11-29 15:51:00 +00:00
43e777928e
Update DSharpPlus 4.3.0-nightly-01189 2022-11-29 15:50:37 +00:00
53e8b2ff64
Repurpose Span<T>.Split to accept generic 2022-11-29 12:39:34 +00:00
ed8651172b
Add [ReadOnly]Span<char>.Split
This commit also migrates CountSubstring from StringExtensions to CharSpanExtensions
2022-11-28 02:59:46 +00:00
4af5a712f4
[ci skip] Remove blank line 2022-11-26 09:36:48 +00:00
9cce13727d
Add CountSubstring 2022-11-26 09:31:36 +00:00
3847d53120
Add more LINQ-esque methods
* IEnumerable<T>.CountWhereNot(Func<T, bool>)
* IEnumerable<T>.FirstWhereNot(Func<T, bool>)
* IEnumerable<T>.FirstWhereNotOrDefault(Func<T, bool>)
* IEnumerable<T>.LastWhereNot(Func<T, bool>)
* IEnumerable<T>.LastWhereNotOrDefault(Func<T, bool>)
* IEnumerable<T>.WhereNot(Func<T, bool>)
2022-07-30 23:53:35 +01:00
580f044511
Display discriminator in author label 2022-07-23 15:35:29 +01:00
86849b9c0e
Set avatar as icon url, not author url 2022-07-23 15:34:34 +01:00
178cfca1d8
Add generic DiscordEmbedBuilder.AddField<T> 2022-07-21 11:43:05 +01:00
0163c82197
Return DiscordUser, not DiscordGuild, for NormalizeClientAsync 2022-07-21 11:36:34 +01:00
4e5f185862
Add MentionUtility 2022-07-21 11:28:37 +01:00
e41c4a6c96
CLSCompliant(true) 2022-07-21 11:27:45 +01:00
87042d89ba
Add X10D.Hosting & X10D.DSharpPlus 2022-07-20 17:50:47 +01:00
7e2650bd41
[ci skip] Update project to 2021.3.5f1 2022-07-14 12:10:22 +01:00
dcbe591d66
[X10D.Unity] Add various yield instructions 2022-07-14 12:00:55 +01:00
02765b8b19
Add IList<T>.Swap (#62) 2022-07-14 10:22:37 +01:00
3a5b017a72
Add Color.Deconstruct 2022-07-13 14:35:56 +01:00
c0395feba3
Add GetClosestConsoleColor (#66) 2022-07-13 14:18:12 +01:00
46bfa17b93
Add vector and point component rounding (#65) 2022-07-13 12:09:37 +01:00
efa5145836
Fix ulong.PopCount for .NET < Core 3.1 fallback
Previous implementation copied the uint version
2022-07-08 13:24:07 +01:00
b1eadf61f4
Add PopCount for built-in integer types 2022-07-08 13:09:34 +01:00
7231c41466
[ci skip] Fix source validation errors 2022-07-08 13:08:24 +01:00
2fb3eb77dd
Add DateTime(Offset).GetIso8601WeekOfYear 2022-07-05 21:26:45 +01:00
02cc897426
Add Point.IsOnLine (#64) 2022-06-29 17:55:04 +01:00
2e8626a32b
Add DirectoryInfo.Clear (#63) 2022-06-21 13:57:20 +01:00
519673d7ce
Rename sides parameter to segments 2022-06-03 12:11:34 +01:00
a4b6033b94
Fix langword cref in xmldoc 2022-06-03 12:10:43 +01:00
3d896ea5d1
Add IList<T>.RemoveRange(Range) 2022-06-03 11:53:40 +01:00
5be42fea5a
Remove DebugEx partials into subfolder 2022-06-03 10:37:03 +01:00
de7a621545
[ci skip] Rename DrawBox to DrawWireCube 2022-06-02 12:24:26 +01:00
e9e081b220
Add Bounds overload to DebugEx.DrawWireCube 2022-06-02 12:18:03 +01:00
a8d3ac96ca
Fix wording in xmldoc for DebugEx.DrawWireCube 2022-06-02 12:17:47 +01:00
75b79589e8
Remove Box2D struct, use built in Rect(angle/F) 2022-06-02 12:15:04 +01:00
96170eac6f
Remove Box struct, use custom Cuboid, rename Box to WireCube 2022-06-02 12:14:16 +01:00
e501f3b75b
[ci skip] Call AddVertex, not AddPoint 2022-06-01 19:49:09 +01:00
793fa47524
Add DebugEx integration tests 2022-06-01 19:44:15 +01:00
3b78235957
Add tests for 3D shapes 2022-06-01 19:43:52 +01:00
f02de2ad14
Refer to points as vertices in unit tests 2022-06-01 19:43:24 +01:00
08d84ed6a2
Add Circumference and Diameter properties to Sphere 2022-06-01 19:43:06 +01:00
221ee70f0c
Add Sphere/Cube.Volume property 2022-06-01 19:42:51 +01:00
76eb59f6c5
Add ctor overloads for Cuboid 2022-06-01 19:42:30 +01:00
165cdf16d0
Add predefined Cuboid and Sphere values 2022-06-01 19:42:11 +01:00
88dcbdc3c6
[ci skip] Refer to points as vertices 2022-06-01 19:41:43 +01:00
d91a3d2a8c
Add PointF.ToVector2 for .NET < 6 2022-06-01 19:41:13 +01:00
66a85d4f80
Fix incorrect wording in xmldoc 2022-06-01 19:40:06 +01:00
2c1da816ee
Add relational members to Sphere 2022-06-01 19:39:58 +01:00
0e62f233f0
Use auto-property for Polygon and Polyhedron
This ensures a new instance is created
2022-06-01 19:11:52 +01:00