aboutsummaryrefslogtreecommitdiff
path: root/tests/core
Commit message (Collapse)AuthorAgeFilesLines
* core/crypto/aes: Add AES implementationYawning Angel2024-06-013-0/+523
|
* Add dedicated ISO 8601 parser.Jeroen van Rijn2024-05-241-4/+67
|
* Allow lowercase z TZ indicator.Jeroen van Rijn2024-05-241-0/+2
|
* Allow space (in addition to T and t) as RFC 3339 date/time separator.Vitalii Kravchenko2024-05-241-0/+2
|
* Keep -vet happy.Jeroen van Rijn2024-05-241-1/+0
|
* Deprecate `core:odin/printer` + `format` in favor of OLS.Jeroen van Rijn2024-05-241-11/+0
|
* Address concerns.Jeroen van Rijn2024-05-241-1/+1
|
* Add `core:container/rbtree`Jeroen van Rijn2024-05-234-50/+292
| | | | | | | | Add a red-black tree with configurable $Key and $Value. Also includes tests that verify it maintains RB invariants, doesn't leak. Originally based on the CC0 implementation from literateprograms.org. But reworked to the same API used by @Yawning's excellent `core:container/avl` for ease of use.
* i18n: Add section merge + duplicate key detection to gettext.Jeroen van Rijn2024-05-171-3/+12
|
* Fix .mo contextsJeroen van Rijn2024-05-174-0/+49
| | | | | | | Fixes #3590 - `get("key")` - `get("context", "key")`
* Fix .mo parser: Number of pluralsJeroen van Rijn2024-05-172-25/+59
| | | | | | Fixes #3591 Added plur.mo to tests
* Updated makefiles to exclude some tests on BSDsAndreas T Jonsson2024-05-131-25/+27
|
* Enable core:fmt tests.dev-2024-05Jeroen van Rijn2024-05-102-3/+9
|
* Extend test suite for `fmt`Feoramund2024-05-091-6/+130
|
* core/crypto: Add a `HAS_RAND_BYTES` constantYawning Angel2024-04-231-1/+1
|
* Merge pull request #3045 from laytan/cborgingerBill2024-04-155-1/+972
|\ | | | | encoding/cbor
| * encoding/cbor: fix conflictLaytan Laats2024-03-041-1/+0
| |
| * encoding/cbor: rename `diagnose` to `to_diagnostic_format` to be clearerLaytan Laats2024-03-041-7/+7
| |
| * encoding/cbor: make temp allocations more explicitLaytan2024-03-041-1/+1
| |
| * encoding/cbor: core -> baseLaytan2024-03-042-2/+4
| |
| * encoding/cbor: adhere to new quaternion rules of masterLaytan Laats2024-03-041-1/+1
| |
| * encoding/cbor: deterministically store bit sets as big endianLaytan Laats2024-03-041-1/+1
| |
| * encoding/cbor: ignore struct fields with `cbor:"-"`Laytan Laats2024-03-041-0/+3
| |
| * encoding/cbor: fix unused importLaytan Laats2024-03-041-1/+0
| |
| * encoding/cbor: cleanLaytan Laats2024-03-041-16/+7
| |
| * encoding/cbor: add decoder flags and protect from malicious untrusted inputLaytan Laats2024-03-041-3/+14
| |
| * encoding/cbor: fully support marshal/unmarshal of unionsLaytan Laats2024-03-041-40/+220
| |
| * encoding/base64: add decode_into, add testsLaytan Laats2024-03-043-0/+65
| |
| * encoding/cbor: initial package implementationLaytan Laats2024-03-043-0/+721
| |
* | Fix CI's parserblob18072024-04-131-8/+8
| |
* | Move rounded testsblob18072024-04-131-17/+17
| |
* | Added support for URL fragmentsblob18072024-04-131-21/+65
| | | | | | | | Added support for a URL's fragment/anchor to `split_url` & `join_url` in `core:net` plus 4 new tests to cover it.
* | Merge pull request #3288 from Yawning/feature/even-moar-cryptoJeroen van Rijn2024-04-107-72/+843
|\ \ | | | | | | core/crypto: Even more improvments
| * | tests/core/crypto: Start adding comprehensive curve25519 testsYawning Angel2024-04-097-71/+842
| | |
| * | core/crypto: Add `has_rand_bytes`Yawning Angel2024-04-091-1/+1
| | | | | | | | | | | | | | | This allows runtime detection as to if `rand_bytes` is supported or not, and lets us enable the test-case on all of the supported targets.
* | | add bit_field parsing to `core:odin/parser`Laytan Laats2024-04-101-3/+47
|/ / | | | | | | Also adds it to the core type thingy like it is in the compiler.
* | Merge pull request #3366 from laytan/fix-vet-scope-buggingerBill2024-04-031-2/+2
|\ \ | | | | | | fix vet scope bug skipping some scopes
| * | correct newly found vetsLaytan Laats2024-04-031-2/+2
| | |
* | | Make it a HMAC.Jeroen van Rijn2024-04-011-201/+205
| | |
* | | Add SHA3-512 digests verification to test assets.Jeroen van Rijn2024-04-011-41/+202
|/ /
* | Ensmallen Date struct.Jeroen van Rijn2024-03-201-2/+2
| |
* | Ensmallen Time struct.Jeroen van Rijn2024-03-201-2/+2
| |
* | Change Ordinal from int to i64Jeroen van Rijn2024-03-201-3/+4
| |
* | Fix test label.Jeroen van Rijn2024-03-181-1/+1
| |
* | Add WiP datetime package and tests.Jeroen van Rijn2024-03-183-1/+187
| | | | | | | | | | | | | | | | | | | | | | | | A new package `core:time/datetime` has been added which can represent moments much further in the past and future than `core:time`. It is based on *the* reference work on the subject, Calendrical Calculations Ultimate Edition, Reingold & Dershowitz. More procedures will be added to it in the future, to for example calculate the 3rd Thursday in March to figure out holidays. The package has been tested for more than a year and can handle dates 25 quadrillion years into the past and future with 64-bit day ordinals, or 5 million with 32-bit ones. This also fixes a longstanding bug where converting between YYYY-MM:DD hh:mm:ss and `time.Time` and back could result in a mismatch. RFC 3339 timestamps can now also be parsed using the `core:time` package.
* | tests/core/crypto: Use the `tests/common` boilerplateYawning Angel2024-03-048-107/+87
| |
* | core/crypto/kmac: Initial importYawning Angel2024-03-041-0/+98
| |
* | core/crypto/tuplehash: Initial importYawning Angel2024-03-042-131/+342
| |
* | core/crypto/shake: Support cSHAKEYawning Angel2024-03-041-6/+60
| |
* | core/crypto/hkdf: Initial importYawning Angel2024-03-041-0/+67
| |