Commit Graph

1175 Commits

Author SHA1 Message Date
Oliver Booth d09ea69e13
[ci skip] docs: update upm stable in README 2023-04-04 21:25:56 +01:00
Oliver Booth 5e4af9a9e1
style: move MethodImplOptions to resource file
Prevents repetition through #if directives in every file
2023-04-04 10:34:16 +01:00
Oliver Booth b8c3a5121a
feat: add DateOnly extensions 2023-04-04 10:10:55 +01:00
Oliver Booth c2bb08a9f3
ci: run dotnet workflow for develop 2023-04-03 18:21:21 +01:00
Oliver Booth 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
Oliver Booth 713c55a5b4
docs: update version in CHANGELOG 2023-04-03 18:17:40 +01:00
Oliver Booth 86f72b9d43
build: bump to 4.0.0 2023-04-03 18:14:03 +01:00
Oliver Booth 3fede7e107
[ci skip] merge branch 'develop' into main 2023-04-03 18:12:40 +01:00
Oliver Booth d1e4243227
[ci skip] ci: only publish nightly on push to main 2023-04-03 18:11:26 +01:00
Oliver Booth 7ff391a52e
Merge pull request #68 from oliverbooth/develop
3.2.0 update
2023-04-03 17:51:01 +01:00
Oliver Booth e964e4e53e
docs: bump version in README to 3.2.0 2023-04-03 17:30:06 +01:00
Oliver Booth 0e64819b7d
[ci skip] docs: add Pulse to CHANGELOG 2023-04-03 17:29:45 +01:00
Oliver Booth 514e5b12b0
feat: add MathUtility.Pulse (resolves #60) 2023-04-03 17:26:03 +01:00
Oliver Booth 1939bbe4ba
feat: add MathUtility.Sawtooth (#60) 2023-04-03 17:15:11 +01:00
Oliver Booth c7370c39fd
feat: add MathUtility.Sigmoid (#60) 2023-04-03 16:38:58 +01:00
Oliver Booth 654d5b5b08
feat: Add MathUtility.ExponentialDecay (#60) 2023-04-03 16:21:43 +01:00
Oliver Booth 9cf003481c
refactor: move exception messages to resource file (#27) 2023-04-03 15:57:31 +01:00
Oliver Booth 3c85ae6f64
refactor: move old exception messages from Resources.resx (#27) 2023-04-03 15:50:35 +01:00
Oliver Booth d27f4caef7
feat: add MathUtility.SmoothStep (#60) 2023-04-03 15:47:18 +01:00
Oliver Booth 105ff81713
test: add tests for MathUtility.Lerp 2023-04-03 15:02:03 +01:00
Oliver Booth 3f147c98b2
feat: add double overload for Bias (#60) 2023-04-03 15:00:13 +01:00
Oliver Booth f131c281cf
feat: add MathUtility.Bias (#60) 2023-04-03 14:41:32 +01:00
Oliver Booth a748010a38
refactor: remove TODOs (resolves #71) 2023-04-03 14:19:47 +01:00
Oliver Booth b68c804b46
test: exclude uncoverable Age overload from coverage 2023-04-03 14:18:02 +01:00
Oliver Booth 15d0f93f8b
refactor: remove Polyhedron.IsConvex 2023-04-03 14:16:31 +01:00
Oliver Booth 9417ee6be1
test: bring coverage to 100% for Drawing 2023-04-03 14:13:32 +01:00
Oliver Booth 8b4fd45e05
fix(test): assert vertex count against Polygon.Empty 2023-04-03 13:54:23 +01:00
Oliver Booth 262f191799
fix(test): assert ArgumentNullException only for .NET < 6 2023-04-03 13:47:59 +01:00
Oliver Booth 9985652c40
test: 100% coverage on RandomExtensions 2023-04-03 13:43:07 +01:00
Oliver Booth b806e50ec1
[ci skip] style: remove unused using directives 2023-04-03 13:42:53 +01:00
Oliver Booth 6ef48fc3b9
test: 100% coverage on IntrinsicUtility (#73) 2023-04-03 13:41:41 +01:00
Oliver Booth 783c4b0f8e
test: add tests for integer Pack (#73) 2023-04-03 01:28:01 +01:00
Oliver Booth cbbfa6d947
fix: fix SSE2 implementation of PackInt32
Credit due to @RealityProgrammer, thank you.
2023-04-03 00:42:29 +01:00
Oliver Booth 92855ddbab
fix(test): remove invalid namespace imports 2023-04-02 23:15:22 +01:00
Oliver Booth 22d5f07215
test: add tests for ReadOnlySpan.Pack (#73)
1 failing test: PackInt32Internal_Sse2_ShouldReturnCorrectInt32_GivenReadOnlySpan

This will fail the dotnet workflow.
2023-04-02 23:14:38 +01:00
Oliver Booth 78cebbce8b
test: add unit tests for Span.Contains(Enum) (#73) 2023-04-02 22:11:45 +01:00
Oliver Booth 4fc0d01670
test: cover null input for IsIPv4 and IsIPv6 2023-04-02 21:59:35 +01:00
Oliver Booth 3523ca5468
ci: add CI version info in dotnet build 2023-04-02 21:03:40 +01:00
Oliver Booth 312ce725c2
ci: suppress uncoverable lines in StreamExtensions 2023-04-02 21:03:15 +01:00
Oliver Booth d68d893abd
test: 100% coverage on Reflection extensions 2023-04-02 20:48:15 +01:00
Oliver Booth 303617a888
[ci skip] ci: cd upm for each successive step 2023-04-02 19:59:17 +01:00
Oliver Booth cb48dd2551
build: conditionally reference dotCover (fixes #75)
For CI runs, this package must not be referenced, or symbol validation will fail.
2023-04-02 19:54:09 +01:00
Oliver Booth da220c2242
build: partial revert 58c333a173 (#75)
Removes the reference to JetBrains.dotCover.MSBuild.
2023-04-02 19:40:25 +01:00
Oliver Booth 2439b3a3cd
[ci skip] style(ci): remove redundant empty line 2023-04-02 17:44:16 +01:00
Oliver Booth fb20e4d1e9
[ci skip] ci: copy artifacts before git diff
Also removes redundant shell specifier on git diff step. GitHub uses bash by default.
2023-04-02 17:42:59 +01:00
Oliver Booth ebc8734410
build: partial revert 58c333a173 (#75)) 2023-04-02 17:34:24 +01:00
Oliver Booth a093e91502
[ci skip] ci: cd upm before git diff 2023-04-02 17:28:58 +01:00
Oliver Booth 6fd7f8d84c
ci: only commit if working tree contains changes 2023-04-02 17:25:56 +01:00
Oliver Booth 2bfe0b24d0
[ci skip] ci: add trace logging for upm package.json generator 2023-04-02 17:16:18 +01:00
Oliver Booth e2a608f11d
build: output debug symbols for all projects (#75) 2023-04-02 17:06:18 +01:00