Commit Graph
100 Commits
Author SHA1 Message Date
Jeroen van Rijn fcfc1cb97f Nightly ZIP level 9 2024-06-05 22:26:03 +02:00
Jeroen van RijnandGitHub cdd90a9a0b Merge pull request #3688 from Kelimion/nightly
Rewrite upload_b2 nightly action against B2 SDK
2024-06-05 21:11:25 +02:00
Jeroen van Rijn 460ffe1aee Rewrite upload_b2 nightly action against B2 SDK 2024-06-05 21:04:35 +02:00
Jeroen van RijnandGitHub c406bbb6e3 Merge pull request #3679 from Feoramund/fix-typos
Fix some typos
2024-06-05 09:30:10 +02:00
Jeroen van RijnandGitHub f0a6fb4057 Merge pull request #3678 from Feoramund/fix-p-f64-p-doc
Strike incorrect note from `parse_f64_prefix` doc
2024-06-05 00:02:34 +02:00
Jeroen van RijnandGitHub 448c0d8dd3 Merge pull request #3677 from Feoramund/parse-compquat
Add `parse_complex/quaternion*` to `core:strconv`
2024-06-04 23:58:43 +02:00
Jeroen van Rijn 9d234998c0 Update create_nightly_json 2024-06-04 22:44:49 +02:00
Jeroen van Rijn c2ddf4266f Update delete_old_binaries.py 2024-06-04 22:26:51 +02:00
Jeroen van RijnandGitHub 78a67ef31e Merge pull request #3667 from Feoramund/fix-fmt-compquat-sign
Fix printing of duplicate signs in complex and quaternion types
2024-06-04 13:32:13 +02:00
Jeroen van RijnandGitHub f9d59ef6d4 Merge branch 'master' into fix-fmt-compquat-sign 2024-06-04 13:25:57 +02:00
Jeroen van RijnandGitHub c3b94b9e1d Merge pull request #3646 from Feoramund/multi-test
Refactor the test runner
2024-06-04 13:23:52 +02:00
Jeroen van Rijn 02f11dfded Merge branch 'master' of github.com:odin-lang/Odin 2024-06-04 11:27:01 +02:00
Jeroen van Rijn 303d86ab7e Complete nightly scripts update to new b2 cli version 2024-06-04 11:26:57 +02:00
Jeroen van RijnandGitHub 50374d9396 Merge pull request #3640 from harold-b/fix-darwin-libc-open
Fix open() foreign libc signature on Darwin
2024-06-04 10:54:08 +02:00
Jeroen van RijnandGitHub dfffc57536 Merge pull request #3668 from colrdavidson/x11-tweaks
add a few more x11 funcs, fix egl bug
2024-06-04 10:53:57 +02:00
Jeroen van RijnandGitHub 36627d7d29 Merge pull request #3666 from Feoramund/add-missing-compquat
Add missing `Raw_*` complex and quaternion types
2024-06-04 01:28:18 +02:00
Jeroen van Rijn f745a1c470 b2 uri 2024-06-04 00:22:49 +02:00
Jeroen van RijnandGitHub 2cb3028086 Merge pull request #3664 from reduf/fix-signatures-of-some-functions
Fix signatures of two Win32 functions
2024-06-03 22:06:07 +02:00
Jeroen van RijnandGitHub 10d354aea8 Merge pull request #3662 from Feoramund/fix-3660
Fix #3660 and #3661
2024-06-02 23:22:16 +02:00
Jeroen van Rijn 60d0c03134 Strip old test runner back out of internal, issues and vendor 2024-06-02 21:15:25 +02:00
Jeroen van Rijn 9d8d864400 Plug leak in AES tests. 2024-06-02 21:12:24 +02:00
Jeroen van Rijn 21a1ddfbae Disable NetBSD tests until 'undefined reference to stdout' is solved. 2024-06-02 21:03:22 +02:00
Jeroen van RijnandFeoramund 6050bc3bf6 Add missing benchmarks build.bat. 2024-06-02 14:54:31 -04:00
Jeroen van RijnandFeoramund 306169699c Update ci.yml 2024-06-02 14:54:31 -04:00
Jeroen van RijnandFeoramund 3354212f8e Update ci.yml
Disable benchmark on Windows for a moment.
2024-06-02 14:54:31 -04:00
Jeroen van RijnandFeoramund 54dae06ad1 Update CI 2024-06-02 14:54:31 -04:00
Jeroen van RijnandFeoramund 8d93379e29 Factor benchmarks out into tests\benchmark\<pkg> 2024-06-02 14:54:29 -04:00
Jeroen van RijnandFeoramund 62b7d8de97 Port tests\core\net 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund dacb0f7786 Port tests\core\thread 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund 5b1ffba915 Port testing\core\time 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund a406ff7063 Port tests\core\strings 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund 9ba02e888d Port tests\core\slice 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund ed0384c102 Port tests\core\runtime 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund 80b115748f Port tests\core\reflect 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund 9829a02571 Port tests\core\odin 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund 8383a45b62 Port tests\core\text\match 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund b0faab29e0 Port tests\core\math, math\linalg\glsl and math\noise 2024-06-02 14:47:09 -04:00
Jeroen van RijnandFeoramund d7bfbe0552 Port testing\core\text\i18n 2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund 39fd73fe17 Port testing\core\hash 2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund 6f7c5a7577 Port tests\core\fmt 2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund d334b8c72a Port tests\core\path\filepath 2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund 9d0f4833bf Port tests\core\encoding\xml
Made them run in parallel as well.
2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund 6641a6f6c9 Port tests\core\encoding\varint 2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund 601df0e8f7 Port tests\core\encoding\json 2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund 1b32e27aa4 Port tests\core\encoding\hxa
And fix a few leaks in `core:encoding/hxa` while at it.
2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund 3404dea8ac Port tests\encoding\hex 2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund 40b20fb473 Port tests\core\c\libc 2024-06-02 14:47:08 -04:00
Jeroen van RijnandFeoramund a27b167218 Update tests\core\encoding\cbor to use new test runner.
It was leaky and required a substantial number of `loc := #caller_location` additions to parts of the core library to make it easier to track down how and where it leaked.

The tests now run fine multi-threaded.
2024-06-02 14:47:07 -04:00
Jeroen van RijnandFeoramund 6a1649d8aa Update using new defaults for memory + reporting width 2024-06-02 14:47:07 -04:00
Jeroen van RijnandFeoramund c531427ee5 Update -define for crypto 2024-06-02 14:47:07 -04:00
Jeroen van RijnandFeoramund a0b2ea6d6e Update tests\core\crypto 2024-06-02 14:46:59 -04:00
Jeroen van RijnandFeoramund a463e282db Update core:container tests 2024-06-02 14:34:31 -04:00
Jeroen van RijnandFeoramund e3181c13c6 Update core:compress tests 2024-06-02 14:34:31 -04:00
Jeroen van RijnandFeoramund 22c092f846 Delete duplicated flag. 2024-06-02 14:34:31 -04:00
Jeroen van RijnandFeoramund eb3d6d7d75 Update core:image tests to use new runner. 2024-06-02 14:34:31 -04:00
Jeroen van RijnandGitHub c07a46abc9 Merge pull request #3635 from Yawning/feature/aes
core/crypto: Add AES
2024-06-01 21:42:59 +02:00
Jeroen van RijnandGitHub e12ff63b16 Merge pull request #3657 from laytan/fix-wasm64p32-procs
wasm: fix target wasm64p32 runtime procs
2024-05-31 17:03:52 +02:00
Jeroen van RijnandGitHub 23852c16be Merge pull request #3647 from Feoramund/fix-core-data-comments
Make `ODIN_OS`, `ODIN_BUILD_MODE` comments congruent to underlying data
2024-05-28 09:14:44 +02:00
Jeroen van RijnandGitHub 4c6b824658 Merge pull request #3648 from Feoramund/rem-unused-prime-code
Remove unused code in `internal_random_prime`
2024-05-28 08:55:04 +02:00
Jeroen van RijnandGitHub 75f1215ed2 Merge pull request #3639 from yay/destroy-file-logger-no-pointer
Make destroy_file_logger take logger instead of logger pointer.
2024-05-27 17:25:59 +02:00
Jeroen van RijnandGitHub cfadca04f9 Merge pull request #3628 from IllusionMan1212/bitset-json-marshalling-fix
fix(core/encoding/json): remove Unsupported_Type return when marshalling bit_set
2024-05-25 08:34:59 +02:00
Jeroen van RijnandGitHub fb22c59d1b Merge pull request #3625 from Kelimion/iso8061
Add dedicated ISO 8601 parser.
2024-05-24 23:56:20 +02:00
Jeroen van Rijn b945e3e708 Limit to max of 9 fraction second digits, part deux. 2024-05-24 23:48:18 +02:00
Jeroen van Rijn 1473374bba Limit to max of 9 fraction second digits. 2024-05-24 23:45:46 +02:00
Jeroen van Rijn 3526042f1e Add dedicated ISO 8601 parser. 2024-05-24 23:40:14 +02:00
Jeroen van Rijn e1c4b9b06a Allow lowercase z TZ indicator. 2024-05-24 19:16:24 +02:00
Jeroen van RijnandGitHub ff34970d79 Merge pull request #3623 from yay/allow-space-in-rfc-3339
Allow space (in addition to T and t) as RFC 3339 date/time separator.
2024-05-24 19:10:04 +02:00
Jeroen van RijnandGitHub d698d4cdae Merge pull request #3621 from laytan/enable-default-temp-allocator-wasm
wasm: enable default temp allocator
2024-05-24 15:42:51 +02:00
Jeroen van RijnandGitHub d99e1616cf Merge pull request #3620 from Kelimion/deprecate_odin_printer
Deprecate `core:odin/printer` in favor of OLS.
2024-05-24 15:02:59 +02:00
Jeroen van Rijn b7cecc5762 Keep -vet happy. 2024-05-24 14:57:48 +02:00
Jeroen van Rijn 5c06480ce0 Add core:container/rbtree to examples/all 2024-05-24 14:55:21 +02:00
Jeroen van Rijn dc744411c5 Deprecate core:odin/printer + format in favor of OLS. 2024-05-24 14:49:11 +02:00
Jeroen van RijnandGitHub e2af3652c5 Merge pull request #3619 from Kelimion/csv_iterator
Add iterator_next(&r) to CSV.
2024-05-24 14:06:42 +02:00
Jeroen van RijnandGitHub 479d301e92 Merge pull request #3614 from Kelimion/rbtree
Add `core:container/rbtree`
2024-05-24 14:04:56 +02:00
Jeroen van Rijn 11e57fd3fd Address concerns. 2024-05-24 13:58:30 +02:00
Jeroen van Rijn 2a4ddbb7be Remove core:mem import in example. 2024-05-24 13:35:32 +02:00
Jeroen van Rijn 3b739dc5cc Add iterator_next(&r) to CSV. 2024-05-24 13:26:12 +02:00
Jeroen van Rijn c43d189a33 Fix package line. 2024-05-24 01:43:17 +02:00
Jeroen van Rijn 410876b36a Add core:container/rbtree
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.
2024-05-23 23:00:00 +02:00
Jeroen van Rijn e0d3d68ce5 Fix the way '%32b' and other prefixed numbers are written. 2024-05-20 14:42:13 +02:00
Jeroen van RijnandGitHub c091b0d060 Merge pull request #3602 from Kelimion/qoifix
Apply fix to QOI decoder as well.
2024-05-18 19:48:37 +02:00
Jeroen van Rijn 58a1bb32e5 Apply fix to QOI decoder as well. 2024-05-18 19:41:07 +02:00
Jeroen van RijnandGitHub 5b92425e93 Merge pull request #3601 from Kelimion/qoifix
Fix qoi encoding bug.
2024-05-18 14:06:25 +02:00
Jeroen van Rijn 7955f4ddf1 Fix qoi encode bug. 2024-05-18 13:59:50 +02:00
Jeroen van RijnandGitHub cf10c6d993 Merge pull request #3598 from Kelimion/i18n-fix
i18n: Add section merge + duplicate key detection to gettext.
2024-05-17 15:57:17 +02:00
Jeroen van Rijn f8c4ee3d3c i18n: Add section merge + duplicate key detection to gettext. 2024-05-17 15:50:37 +02:00
Jeroen van RijnandGitHub 419641ad8f Merge pull request #3596 from Kelimion/i18n-fix
Fix .mo contexts
2024-05-17 14:26:57 +02:00
Jeroen van Rijn 6139da3d41 Fix .mo contexts
Fixes #3590

- `get("key")`
- `get("context", "key")`
2024-05-17 14:15:56 +02:00
Jeroen van RijnandGitHub b51eb53d04 Merge pull request #3595 from Kelimion/i18n-fix
Fix .mo parser: Number of plurals
2024-05-17 12:15:40 +02:00
Jeroen van Rijn 5a76b3c7c5 Fix .mo parser: Number of plurals
Fixes #3591

Added plur.mo to tests
2024-05-17 12:00:20 +02:00
Jeroen van RijnandGitHub 1183f4794b Merge pull request #3579 from Kelimion/test_string_compare
Test string compare
2024-05-12 23:52:39 +02:00
Jeroen van Rijn 23545c3f37 Enable in Makefile 2024-05-12 23:47:42 +02:00
Jeroen van Rijn 41b8f06f51 Add 1 more each for < and > 2024-05-12 23:43:05 +02:00
Jeroen van Rijn 55d21f4c2f Test string compare
To avoid regression of the bug fixed in f8581537e4.
2024-05-12 23:38:17 +02:00
Jeroen van Rijn 3a3ae6d0df Fix and re-enable .doc tests. 2024-05-11 19:25:35 +02:00
Jeroen van Rijn 2250eb3e78 Enable core:fmt tests. 2024-05-10 17:05:18 +02:00
Jeroen van RijnandGitHub 41bd8cf714 Merge pull request #3563 from laytan/fix-duplicate-suggestions
fix duplicate suggestions and add missing newline
2024-05-09 20:20:18 +02:00
Jeroen van RijnandGitHub 1604f37cb8 Merge pull request #3564 from laytan/fix-some-vet-style-failures
fix a couple of `-vet-style` failures
2024-05-09 20:19:46 +02:00
Jeroen van RijnandGitHub 8a1e7bb6fb Merge pull request #3562 from Kelimion/bitset_to_enum_slice
Bitset to enum slice
2024-05-09 18:03:42 +02:00
Jeroen van Rijn 8f706a14f8 Add allocator param. 2024-05-09 17:58:48 +02:00