Jeroen van Rijn
5bf180d8f9
Merge pull request #5311 from Kelimion/big-tests
...
Turn `core:math/bìg` tests into regular `core:testing` tests.
2025-06-11 00:56:21 +02:00
Jeroen van Rijn
0f90a610a2
Delete duplicate test vectors.
2025-06-11 00:49:51 +02:00
Jeroen van Rijn
9dafd77bc0
Turn core:math/bìg tests into regular core:testing tests.
...
`core:math/big` has been verified against Python's big integer implementation long enough.
Turn it into a regular regression test using the `core:testing` framework, testing against
a generated corpus of test vectors.
2025-06-11 00:40:52 +02:00
gingerBill
2a292b588a
Merge pull request #5305 from Feoramund/fix-4362
...
Guard against invalid proc types in parameter list
2025-06-10 17:15:13 +01:00
Jeroen van Rijn
ca65444007
Merge pull request #5310 from Kelimion/big-rat-tests
...
Add initial tests for big rationals
2025-06-10 17:16:19 +02:00
Jeroen van Rijn
4e50b9d331
Fix path
2025-06-10 16:55:03 +02:00
Jeroen van Rijn
4f4839ecc5
Add initial tests for big rationals
2025-06-10 16:46:12 +02:00
Jeroen van Rijn
14d2541529
Merge pull request #5309 from Feoramund/fix-4660
...
Let `-no-entry-point` work for Windows DLLs
2025-06-10 15:22:45 +02:00
Feoramund
1fc390146f
Let -no-entry-point work for Windows DLLs
...
Fixes #4660
2025-06-10 08:54:28 -04:00
Jeroen van Rijn
611390ba27
Merge pull request #5308 from Feoramund/fix-4565
...
Move negation in `internal_rat_to_float` to end of procedure
2025-06-10 14:43:41 +02:00
Feoramund
4236b043e2
Move negation in internal_rat_to_float to end of procedure
...
This should cause a compiler error, due to the assignment to a named
return value in a deferred block.
Fixes #4565
2025-06-10 08:34:07 -04:00
Jeroen van Rijn
d1fc731a3a
Merge pull request #5306 from Kelimion/fix-3449
...
Define empty `gb_no_asan` if VS < 2022
2025-06-10 13:27:00 +02:00
Jeroen van Rijn
6cb2408d70
Define empty gb_no_asan if VS < 2022
2025-06-10 13:20:01 +02:00
Feoramund
5ed2735658
Guard against invalid proc types in parameter list
...
Fixes #4362
2025-06-10 06:13:14 -04:00
Jeroen van Rijn
d08e14fc3c
Merge pull request #5304 from Feoramund/clarify-flags-variadic
...
Clarify `core:flags` variadic behaviors
2025-06-09 19:08:53 +02:00
Feoramund
6dee422700
flags: Rename varg to overflow, let it be renamed with config
2025-06-09 13:02:05 -04:00
gingerBill
002b50360c
Merge branch 'master' of https://github.com/odin-lang/Odin
2025-06-09 17:19:58 +01:00
gingerBill
2ffd6be20a
Fix minor typo from ^[^] to [^]^
2025-06-09 17:19:29 +01:00
Feoramund
2e199c669f
flags: Forbid combination of pos and manifold
2025-06-09 11:39:10 -04:00
Feoramund
cae43b801f
Add more core:flags tests to codify behavior
2025-06-09 11:39:10 -04:00
Feoramund
7c5700996f
flags: Mention varg in the documentation
2025-06-09 11:39:10 -04:00
Feoramund
e20db8df89
flags: Rename variadic to manifold (breaking change)
2025-06-09 11:27:27 -04:00
Jeroen van Rijn
4a675395c5
Merge pull request #5303 from Kelimion/fix-4705
...
Fix #4705
2025-06-09 15:16:46 +02:00
Jeroen van Rijn
179e5b8835
Fix #4705
...
Allocate `doc.tokenizer`, and free it in `destroy`.
2025-06-09 15:09:04 +02:00
gingerBill
87247b8bb7
Merge pull request #5286 from Feoramund/no-san-mem
...
Add `@(no_sanitize_memory)` with additions to `base:sanitizer`
2025-06-09 12:46:22 +01:00
Jeroen van Rijn
b8ac777649
Merge pull request #5301 from colrdavidson/more_tzone_bugs
...
Fix GMT+/- timezone handling
2025-06-09 02:11:21 +02:00
Colin Davidson
3407bd7cf9
better handle offset-0 case
2025-06-08 17:03:43 -07:00
Colin Davidson
04481e0fd2
Merge branch 'master' into macharena
2025-06-08 16:17:32 -07:00
Colin Davidson
b1ed22d84f
fix frequency grab
2025-06-08 16:16:34 -07:00
Jeroen van Rijn
7813e9fb37
Merge pull request #5300 from Feoramund/fix-5299
...
Guard against untyped `nil` in type cycle and type info sections
2025-06-09 00:00:24 +02:00
Feoramund
0747032e4a
Use idiomatic rawptr(nil)
2025-06-08 17:48:06 -04:00
Feoramund
54f018ffc7
Guard against untyped nil in type cycle and type info sections
...
Fixes #5299
2025-06-08 17:48:01 -04:00
Jeroen van Rijn
d2d187eaaa
Work around untyped nil
2025-06-08 22:53:52 +02:00
Jeroen van Rijn
0be7fe4b82
Merge pull request #5298 from slowhei/master
...
Added missing parameter to `gettimeofday`
2025-06-08 22:37:07 +02:00
Tohei Ichikawa
7662e7d843
Removed obsolete tz param from gettimeofday
2025-06-08 16:07:11 -04:00
Tohei Ichikawa
876f1c02b7
Added missing parameter to gettimeofday
2025-06-08 12:47:50 -04:00
Jeroen van Rijn
77f4199af6
Simplify _xdg_user_dirs_lookup
2025-06-08 14:56:41 +02:00
Jeroen van Rijn
00b67831d1
Merge pull request #5297 from karl-zylinski/dxc-binding-fixes
...
DXC: Fixed broken bindings of ICompiler and ICompiler2
2025-06-08 00:18:11 +02:00
Karl Zylinski
4a6c6cd398
Fixed broken bindings of ICompiler and ICompiler2. See https://learn.microsoft.com/en-us/windows/win32/api/dxcapi/ns-dxcapi-idxccompiler and https://learn.microsoft.com/en-us/windows/win32/api/dxcapi/ns-dxcapi-idxccompiler2 for correct signatures.
2025-06-08 00:11:31 +02:00
Jeroen van Rijn
6d7f5baaf8
Merge pull request #5295 from elyalon/dirs
...
Fix user dirs, add docs
2025-06-07 11:13:40 +02:00
Ely Alon
deeb9e2d12
remove fmt import
2025-06-07 01:40:43 +03:00
Ely Alon
17746db555
Fix user dirs, add docs
2025-06-07 01:22:30 +03:00
Jeroen van Rijn
23315195c4
Merge pull request #5294 from iarkn/type-is-bit-field
...
Add `intrinsics.type_is_bit_field` proc
2025-06-06 16:14:25 +02:00
iarkn
3152be01b9
Add intrinsics.type_is_bit_field proc
2025-06-06 16:01:13 +02:00
Jeroen van Rijn
e7ae193c12
Merge pull request #5293 from Feoramund/nulpo-check-5215
...
Add `nullptr` check in `add_type_info_type_internal`
2025-06-06 15:58:03 +02:00
Feoramund
1cd1f9fec4
Add nullptr check in add_type_info_type_internal
...
Fixes #5215
2025-06-06 09:23:06 -04:00
Jeroen van Rijn
f1ce9f98d8
Re-add htonl and htons for those porting from C.
2025-06-06 13:13:34 +02:00
Jeroen van Rijn
8389dfd050
Merge pull request #5291 from Kelimion/deprecate
...
Deprecate old @(deprecated) things.
2025-06-06 10:50:59 +02:00
Jeroen van Rijn
4b36306674
Deprecate old @(deprecated) things.
2025-06-06 10:42:34 +02:00
Jeroen van Rijn
e870369c97
Merge pull request #5288 from Feoramund/strconv-append-to-write
...
Clarify `strconv.append_*` to `strconv.write_*`
2025-06-05 23:45:37 +02:00