Jeroen van Rijn
d9e08bc5d8
Merge pull request #5374 from Feoramund/fix-regex-docs
...
Fix RegEx docs
2025-06-20 16:50:07 +02:00
Feoramund
b82753227d
sys/posix: Correct reference to core:text/regex
2025-06-20 10:46:40 -04:00
Feoramund
09690691b6
text/regex: Remove old docmentation and unneeded flag
...
`Unsupported_Flag` was used back when the iterator did not handle
`.Multiline`.
2025-06-20 10:45:48 -04:00
Jeroen van Rijn
208ace0b03
Merge pull request #5372 from Feoramund/forbid-ba-invalid-pointer-print
...
More `Buddy_Allocator` safeguards
2025-06-20 13:09:06 +02:00
Jeroen van Rijn
6563230bd0
Add kb to vendor/README.md
2025-06-20 13:05:17 +02:00
gingerBill
565c612f4a
Fix typo
2025-06-20 11:52:18 +01:00
Feoramund
4d4356e806
mem: Guard against Buddy_Allocator overwriting metadata
2025-06-20 06:44:44 -04:00
Feoramund
bfa0e1110a
mem: Don't print Buddy_Allocator.tail
...
This is always a pointer past the end of the buffer given to
`buddy_allocator_init`, which could be an invalid address. Printing may
result in a segmentation violation.
2025-06-20 06:41:42 -04:00
gingerBill
293267c7b2
Move #assert to types file
2025-06-20 10:48:30 +01:00
gingerBill
62db888ac1
Change c.int to b32
2025-06-20 10:47:26 +01:00
gingerBill
676727114f
Add to ShapeDynamic to kb_text_shape_procs.odin
2025-06-20 10:30:16 +01:00
gingerBill
d25cd01b42
Merge pull request #5371 from odin-lang/bill/vendor/kb-text-shape
...
`vendor/kb_text_shape`
2025-06-20 10:17:02 +01:00
gingerBill
4b99498e17
Merge pull request #5370 from Valakor/master
...
Update vendor:sdl3 from 3.2.10 to 3.2.16, and vendor:sdl3/image from 3.2.0 to 3.2.4
2025-06-20 10:12:18 +01:00
gingerBill
0a7cf8cfe1
Even more minor changes
2025-06-20 10:07:17 +01:00
gingerBill
e5a4f3bcae
More type corrections/improvements
2025-06-20 09:59:25 +01:00
gingerBill
41e3bda2a9
Fix enum size
2025-06-20 09:51:04 +01:00
gingerBill
37fffe78d6
Use bit_fields to describe internal break_state
2025-06-20 09:48:45 +01:00
gingerBill
f055d8e714
Slight change to un definition
2025-06-20 09:42:05 +01:00
gingerBill
9d15170928
Change types where possible to the correct ones
2025-06-20 09:29:41 +01:00
gingerBill
a449ad8ed8
Keep -vet happy
2025-06-20 09:20:50 +01:00
gingerBill
9a328e1c97
Use multiple return values where possible
2025-06-20 09:17:02 +01:00
gingerBill
c3e9b16d5a
Update types
2025-06-20 09:09:04 +01:00
gingerBill
448702875e
Add vendor:kb_text_shape to examples/all/all_vendor.odin
2025-06-20 09:05:50 +01:00
gingerBill
8f115c5bc8
Remove need for CRT with kb_text_shape and implement the allocating calls manually
2025-06-20 09:03:56 +01:00
gingerBill
c056fb7512
Update procs
2025-06-20 08:38:53 +01:00
gingerBill
61edcdbfc5
Add lib and build script (Windows Only)
2025-06-20 08:38:20 +01:00
gingerBill
63f1c5139a
Add types and procs for kb_text_shape
2025-06-20 08:32:25 +01:00
gingerBill
365d9b0a63
Add kb_text_shape.h
2025-06-20 07:48:05 +01:00
Matthew Pohlmann
6377afbab7
- Update SDL3 from 3.2.10 to 3.2.16
...
- Update SDL3_image from 3.2.0 to 3.2.4
2025-06-19 20:15:09 -07:00
Jeroen van Rijn
6ff5971e72
Merge pull request #5369 from Feoramund/fix-3435
...
Fix #3435
2025-06-20 02:26:24 +02:00
Feoramund
d307e44948
Add *.a to .gitignore
2025-06-19 20:03:45 -04:00
Feoramund
2c40a198fe
Make check_all.sh executable, fix two typos
2025-06-19 20:03:37 -04:00
Feoramund
7022ad8378
Add test for issue #3435
2025-06-19 19:54:12 -04:00
Feoramund
c2f3d074e3
mem: Forbid construction of Buddy_Allocator with insufficient space
...
This takes into account eventual alignment.
2025-06-19 19:41:39 -04:00
Feoramund
57e2d8f1dd
mem: Fix Buddy_Allocator size calculation to truly include alignment
...
This didn't take into account the size of the header plus the size of
the allocation itself by virtue of `align_forward_uint`; this could
result in no change if `size` was equal to `b.alignment` because the
number is aligned, and if `actual_size` and `size` ended up being equal,
no additional space would be requested.
This meant that a block would end up being allocated on top of its
buddy's head.
Fixes #3435
2025-06-19 19:41:38 -04:00
Feoramund
4e9f15965a
mem: Fix inverted condition in buddy_allocator_alloc_bytes_non_zeroed
...
This was causing the procedure to find a block, then find one again,
or to not find a block and not try again.
2025-06-19 19:33:51 -04:00
Jeroen van Rijn
7d670cff0d
Merge pull request #5367 from Kelimion/fix-5366
...
Fix #5366
2025-06-19 22:54:48 +02:00
Jeroen van Rijn
9c810e8340
Fix #5366
2025-06-19 22:46:51 +02:00
Jeroen van Rijn
69c0fe8305
Merge pull request #5344 from Feoramund/fix-2694
...
Review `core/mem/allocators.odin`
2025-06-19 18:35:17 +02:00
David Holland
0a45d4de0c
Fix WAVEFORMATEX struct size ( #5356 )
...
* fix WAVEFORMATEX struct size
* fix size test for WAVEFORMATEX
* pack WAVEFORMATEXTENSIBLE
2025-06-18 12:25:09 +02:00
Jeroen van Rijn
12bd926f18
Merge pull request #5354 from Kelimion/init_net
...
Allow `core:net` to be imported with `-default-to-panic-allocator`.
2025-06-17 15:45:22 +02:00
Jeroen van Rijn
a65ece4426
Allow core:net to be imported with -default-to-panic-allocator.
2025-06-17 15:36:17 +02:00
Jeroen van Rijn
f3a52a632c
Merge pull request #5351 from peperronii/master
...
Added GetThreadDescription kernel32.odin
2025-06-17 11:03:08 +02:00
PePerRoNii
a0e2931dc2
Added GetThreadDescription kernal32.odin
2025-06-17 15:36:48 +07:00
Jeroen van Rijn
91b5cec8e8
Merge pull request #5349 from Kelimion/check_all
...
Check all
2025-06-16 23:52:39 +02:00
Jeroen van Rijn
6d01aa9069
Appease -vet for haiku
2025-06-16 23:30:22 +02:00
Jeroen van Rijn
246deda2c5
Remove unneeded ; for essence
2025-06-16 23:03:07 +02:00
Jeroen van Rijn
29d9a12491
Add check_all scripts
2025-06-16 22:26:24 +02:00
Jeroen van Rijn
c4fb5ebf9b
Merge pull request #5348 from Kelimion/get_env_buffer
...
Get env buffer
2025-06-16 20:51:06 +02:00
Jeroen van Rijn
b9809e7aa4
OpenBSD
2025-06-16 20:39:19 +02:00