Jon Lipstate
231ce2da59
windows i386 support
2025-08-29 12:41:38 -07:00
Stanislav Ch. Nikolov
ed389c188c
Fixed and added obj-c methods for NSWindow
2025-08-28 12:39:15 +03:00
gingerBill
2f0b018db2
Merge pull request #5612 from Bazzas-Forks/master
...
Add `add/remove_document_event_listener()` to `core:sys/wasm/js`
2025-08-26 13:28:41 +01:00
Mohit Sethi
27b59ab7c3
Propogate #caller_location to core:container/queue procs
2025-08-22 16:45:50 +01:00
Bailey Gibbons
26d066d369
Add add/remove_document_event_listener() to core:sys/wasm/js
2025-08-22 15:34:50 +10:00
Brad Lewis
8bab146b2d
Check for EOF when scanning file tags
2025-08-19 07:20:31 -04:00
alessio98888
c6db3cc670
Fix buddy allocator assert
...
The last address of "data" is not "cast(uintptr)raw_data(data)+cast(uintptr)size" but
"cast(uintptr)raw_data(data)+cast(uintptr)(size-1)".
The original assert would fail when for example the allocation size requested and the buddy allocator allignment were both 64.
2025-08-16 19:50:06 +02:00
gingerBill
d1ce7f8fe6
Merge pull request #5516 from cardboardguru76/darwin-foundation-support-for-handmade-hero-port
...
Additional obj-c methods for darwin Foundation
2025-08-15 12:13:27 +01:00
gingerBill
977e971c8b
Merge pull request #5581 from Xotchkass/rand-cleanup
...
Cleanup in `math/rand` and `runtime/random_generator`
2025-08-15 12:12:17 +01:00
diniamo
88dba1194a
Fix ITimer_Flags_Bits enum value
2025-08-14 15:01:42 +02:00
Xotchkass
2d5652dbd4
remove private _random_u64 and move it's functionality into public uint64
2025-08-14 13:39:18 +03:00
Xotchkass
df849891c1
use runtime.random_generator_read_bytes in read procedure instead of filling it manually.
2025-08-14 13:35:25 +03:00
Wrath
b6a0606c98
Added getaddrinfo flags
2025-08-12 19:59:38 -04:00
gingerBill
a0ff05e633
Merge pull request #5558 from odin-lang/bill/init-fini-changes
...
`@(init)` & `@(finit)` Changes.
2025-08-10 12:47:15 +01:00
Alex Riedl
277c6cac71
Fix some webgl bindings
2025-08-09 10:47:07 -05:00
gingerBill
14ca1c8c89
Add another contextless
2025-08-08 15:41:44 +01:00
gingerBill
7c93a5ae80
Add missing contextless
2025-08-08 13:16:20 +01:00
gingerBill
8ff15eaf69
More contextless fixes
2025-08-08 13:02:37 +01:00
gingerBill
aa747a1c10
Add more "contextless"
2025-08-08 12:55:23 +01:00
gingerBill
78290ceef3
Add contextless to another proc
2025-08-08 12:38:20 +01:00
gingerBill
d381d0ece4
Fix more procedure to be contextless
2025-08-08 12:33:34 +01:00
gingerBill
d3f649d244
Make get_args contextless
2025-08-08 12:25:58 +01:00
gingerBill
8b860da2eb
Remove unused import
2025-08-08 12:12:08 +01:00
gingerBill
7642e0a0e0
Require @(init) and @(fini) to be proc "contextless" ()
2025-08-08 12:10:01 +01:00
gingerBill
af3184adc9
Change is_utf16 field to encoding and use an enum
2025-08-05 15:12:54 +01:00
gingerBill
eae43f1225
Merge branch 'master' into bill/utf16-strings
2025-08-05 15:07:06 +01:00
Laytan
b022c020f3
Merge pull request #5540 from jared-cone/fix-windows-delete-after-free
...
Fixed delete-after-free in file_windows.odin
2025-08-05 07:10:23 +02:00
Jared Cone
b1cda52fd6
Fixed delete-after-free in file_windows.odin
2025-08-04 19:42:23 -07:00
Jack Punter
45e4ce5d44
Adds @(no_instrumentation) to spall buffer and SCOPED operations
...
Currently without this scoped event names are not displaying correctly when auto-tracing is enabled.
The buffer_destroy event, obviously, fails to be completed (as theres no buffer to write the end event to, and context_destroy should happen after all the buffers are destroyed so there's, again, no buffers to write to.
2025-08-04 23:15:16 +01:00
Laytan Laats
25389ed086
thread: set stack size to rlimit
2025-08-02 15:22:23 +02:00
gingerBill
e049dde582
Fix tests for UTF-16 strings
2025-08-02 13:01:58 +01:00
gingerBill
5aec40e3e0
Remove unneeded uses of intrinsics.constant_utf16_cstring
2025-08-02 12:55:05 +01:00
gingerBill
c631a8eff5
os2 internals -> (c)string16
2025-08-02 12:47:03 +01:00
gingerBill
bb4bc316a4
for in string16; Support string16 across core
2025-08-02 12:20:35 +01:00
gingerBill
ae02d3d02d
Begin supporting string16 across the core library
2025-08-02 11:55:16 +01:00
gingerBill
2561427dd3
Add string16 and cstring16 (UTF-16 based strings)
2025-08-02 11:00:15 +01:00
Steve Waddicor
9dfce3da86
Convert leading spaces to tabs
2025-08-01 23:06:04 +01:00
Barinzaya
4ef7ed1cbd
Skip bounds checking on the inner accumulate loop.
...
This helps performance with SSE (somewhat) and AVX-512 (quite a bit),
but not AVX2 for some reason.
2025-07-31 16:51:42 -04:00
Barinzaya
f61dc7d071
Remove favor_size attributes inhibiting SIMD optimizations.
...
This makes a tremendous (2x with SSE2, 3x with AVX2) difference on big
datasets on my system, but this may be hardware-dependent (e.g.
instruction cache sizes).
Naturally, this also results in somewhat larger code for the large-data
case (~75% larger).
2025-07-31 13:05:10 -04:00
Barinzaya
2f8b390c19
Various minor changes in XXH3.
...
This includes various minor things that didn't seem right or could be
improved, including:
- XXH3_state is documented to have a strict alignment requirement of 64
bytes, and thus came with a disclaimer not to use `new` because it
wouldn't be aligned correctly. It now has an `#align(64)` so that it
will.
- An _internal proc being marked #force_no_inline (every other one is
#force_inline)
- Unnecessarily casting the product of two u32s through u128 (and
ultimately truncating to u64 anyway)
2025-07-31 13:05:10 -04:00
Barinzaya
9d40f371be
Add static SIMD support to XXH3 in core:hash/xxhash.
...
This uses compile-time features to decide how large of a SIMD vector to
use. It currently has checks for amd64/i386 to size its vectors for
SSE2/AVX2/AVX512 as necessary.
The generalized SIMD functions could also be useful for multiversioning
of the hash procs, to allow for run-time dispatch based on available CPU
features.
2025-07-31 13:05:08 -04:00
gingerBill
077ba0b6cb
Merge pull request #5513 from colrdavidson/spall_v3
...
update to spall format v3
2025-07-31 12:37:09 +01:00
gingerBill
9b8223dd69
Remove use of .no_copy
2025-07-30 23:19:14 +01:00
gingerBill
6a10cfdc30
Fix typo
2025-07-30 23:15:14 +01:00
gingerBill
a2e7a62a26
Add virtual.new_clone
2025-07-30 23:14:53 +01:00
gingerBill
aa6a749804
Improve atomic logic for sync.Wait_Group
2025-07-30 23:11:18 +01:00
Colin Davidson
3e10684630
adjust scale with new format, fix segfault for auto-trace
2025-07-30 14:09:50 -07:00
Colin Davidson
7720a32120
Merge remote-tracking branch 'live/master' into spall_v3
2025-07-30 12:51:56 -07:00
cardboardguru76
44f039a92f
Merge branch 'odin-lang:master' into darwin-foundation-support-for-handmade-hero-port
2025-07-30 00:28:31 +01:00
Colin Davidson
b5a8a3cf94
require to reduce files for a one line function
2025-07-29 13:58:30 -07:00