Commit Graph

15401 Commits

Author SHA1 Message Date
gingerBill
38faec757d Correct consume comment groups in both parsers 2025-07-11 18:41:40 +01:00
FourteenBrush
64bb0d1c7d Allocate temp array instead of sorting in place 2025-07-11 19:38:01 +02:00
FourteenBrush
cb05271157 Add note on sparse vs contiguous 2025-07-11 17:17:30 +02:00
FourteenBrush
56c221e211 Rephrasing for constants 2025-07-11 17:06:08 +02:00
FourteenBrush
8cbf75c928 Add type_enum_is_contiguous intrinsic 2025-07-11 17:03:49 +02:00
FourteenBrush
5ce8d1ede8 Add clangd stuff to gitignore 2025-07-11 16:58:47 +02:00
Jeroen van Rijn
e647f560db Try fix NetBSD CI 2025-07-11 15:47:55 +02:00
Jeroen van Rijn
3b05198908 Merge pull request #5453 from Kelimion/utf-conv
Fix #5452
2025-07-11 15:35:51 +02:00
Jeroen van Rijn
e89abd006f Fix #5452 2025-07-11 15:29:27 +02:00
Jeroen van Rijn
d42c46dad9 Merge pull request #5448 from goldenbergdaniel/kb-text-shape
Add unix build script for kb_text_shape
2025-07-10 00:49:58 +02:00
Jeroen van Rijn
e735e036b4 Fix #5447
Thanks to @FourteenBrush
2025-07-09 23:55:57 +02:00
Daniel Goldenberg
78126c5684 Add linux build script for kb_text_shape 2025-07-09 14:30:22 -04:00
Colin Davidson
2dae1d8a41 fix tabbing 2025-07-07 14:36:31 -07:00
Colin Davidson
389439ccb9 Merge branch 'master' into macharena 2025-07-07 14:34:05 -07:00
Jeroen van Rijn
090cac62f9 lb_const_string -> lb_const_value dev-2025-07 2025-07-07 20:47:49 +02:00
Jon Lipstate
fc78f6e83b x86 sse 2025-07-05 16:26:07 -07:00
Jon Lipstate
33c6a979e9 fix explicit cast 2025-07-05 14:11:29 -07:00
Jon Lipstate
019084a17f table lookup intrinsic 2025-07-05 13:55:14 -07:00
Laytan
86d576f7cc Merge pull request #5432 from FourteenBrush/master
Add `slice.suffix_length`
2025-07-04 19:02:28 +02:00
Laytan
9da667b95f Merge pull request #5433 from BradLewis/fix/bit-field-docs
Add documentation to Bit_Field_Field when parsing
2025-07-04 19:02:16 +02:00
Brad Lewis
bfb70baa39 Add documentation to Bit_Field_Field when parsing 2025-07-03 21:14:34 -04:00
FourteenBrush
5811525592 Add slice.suffix_length 2025-07-03 16:51:38 +02:00
Jeroen van Rijn
1a4139b25c Remove old flag from help 2025-07-01 21:13:19 +02:00
gingerBill
d2e02f0434 Merge pull request #5424 from jdennis9/master
Fix incorrect type for FONTENUMPROCW in Windows API
2025-07-01 08:34:46 +01:00
Jamie Dennis
ee9b4f767b Fix incorrect type for FONTENUMPROCW 2025-07-01 15:31:22 +12:00
Jeroen van Rijn
0f79bafed2 Merge pull request #4680 from haesbaert/args-leak
Make sure we don't leak os.args. Fixes #1633.
2025-06-27 01:27:28 +02:00
Jeroen van Rijn
2e83e22141 Merge branch 'master' into args-leak 2025-06-27 01:20:37 +02:00
Hayden Gray
f72b2b1530 [source-code-locations] - added options to show, obfuscate, and hide source code locations (#5412) 2025-06-26 22:43:44 +02:00
Laytan
22a48d4d9c Merge pull request #5413 from Feoramund/make-test-state-feature
testing: Make test state changes its own feature
2025-06-26 19:11:05 +02:00
Feoramund
c87655525d testing: Make test state changes its own feature
This patch takes the former debug message output of a test changing its
state and makes it its own feature, toggleable with the
`ODIN_TEST_LOG_STATE_CHANGES` configurable. The output will be at the
info level and is disabled by default.
2025-06-26 12:46:03 -04:00
Laytan Laats
edf071903d sdl3/ttf: remove #by_ptr usage with opaque Font
Fixes #5278
2025-06-26 17:51:57 +02:00
Laytan
5822b00c39 Merge pull request #5411 from laytan/fix-load-type-panic
fix load type panic because front-end allows a deref of a type
2025-06-26 17:32:07 +02:00
Laytan Laats
2c308bdcfa fix load type panic because front-end allows a deref of a type
Fixes #5357
2025-06-26 17:07:06 +02:00
Jeroen van Rijn
88c208d1fb Merge pull request #5408 from slowhei/master
Fix bug where compiler treats uint enums as ints
2025-06-26 14:54:20 +02:00
Jeroen van Rijn
1fbc5641c0 Add to tests/internal
Turn repro code into a proper test, and delete superfluous files from Odin root.
2025-06-26 14:47:38 +02:00
Tohei Ichikawa
8410871cb8 Fix bug where compiler treats uint enums as ints 2025-06-24 22:58:00 -04:00
Jeroen van Rijn
62e797b9d1 Merge pull request #5406 from Airtz/addendum-5402
Fix an oversight in PR #5402
2025-06-24 17:02:20 +02:00
Jeroen van Rijn
ebdf2e17f3 Remove altogether. 2025-06-24 16:37:30 +02:00
Airtz
fb3bccdd3e Fix an oversight for operators with more than 2 chars 2025-06-24 16:09:42 +02:00
Jeroen van Rijn
8da5eaf4a2 Merge pull request #5405 from Kelimion/self_cleanup
Expand `self_cleanup` documentation.
2025-06-24 14:40:44 +02:00
Jeroen van Rijn
4b6e375f95 Expand self_cleanup documentation. 2025-06-24 14:34:28 +02:00
Jeroen van Rijn
36ea05fba9 Merge pull request #5404 from Kelimion/posix_stat
Disable two tests under core/sys/posix.
2025-06-24 14:16:12 +02:00
Jeroen van Rijn
da3ab6a609 Disable two tests under core/sys/posix. 2025-06-24 14:04:18 +02:00
Jeroen van Rijn
19d5d377df Merge pull request #5403 from flysand7/shmget-interface
sys/linux: Unify IPC_Flags and IPC_Mode bitsets
2025-06-24 11:39:36 +02:00
Sunagatov Denis
e21cde0cf7 sys/linux: Unify IPC_Flags and IPC_Mode bitsets
In #5399 it was noticed, that IPC_Mode isn't being used within SystemV
IPC procedures, even though it was designed this way, which lead to a
weird API where in order to call SystemV IPC procedures multiple
transmutes and a bitwise-OR are needed.

This unifies IPC_Mode and IPC_Flags bitsets, making it possible to call
the SystemV IPC procedures without extra casts, and rearranges the flags
in a way that hopefully makes it easier to see when they are not
colliding and should not be mixed. The explanation, explaining this
arrangement of the enum was added.

The IPC_Perm structure is modified, so that the flags can be re-used
between the calls. It's probably not as good as keeping them separate,
but should work... hopefully.

Kept the "old" style of documentation for consistency.

Signed-off-by: Sunagatov Denis <thebumboni@gmail.com>
2025-06-24 20:30:50 +11:00
Jeroen van Rijn
8d89b1a448 Merge pull request #5402 from Airtz/fix-5361
Fix #5361
2025-06-24 03:21:14 +02:00
Airtz
2259db9a53 Better error messages 2025-06-24 02:54:14 +02:00
Jeroen van Rijn
8707989e57 Merge pull request #5389 from Airtz/fix-4445
Fix #4445
2025-06-23 19:14:00 +02:00
Jeroen van Rijn
8846372053 Merge pull request #5396 from Feoramund/fix-3774
Forbid nested declaration of instrumentation procedures
2025-06-23 18:33:04 +02:00
Airtz
d65b1d5e94 Better proc groups inference 2025-06-23 18:10:40 +02:00