Commit Graph

6776 Commits

Author SHA1 Message Date
gingerBill
e2c1f86946 Merge pull request #5663 from greenya/master
[core:time] time_js: tick_now(): Use f64 (was f32) as a return type of odin_env.tick_now()
2025-09-08 18:25:08 +01:00
Jeroen van Rijn
2f59e0175e Address some naming issues 2025-09-08 17:44:58 +02:00
Jeroen van Rijn
14bf730a2c Make _register contextless 2025-09-08 17:17:14 +02:00
IllusionMan1212
cb820eea4d jpeg: extract Exif data 2025-09-08 17:13:03 +02:00
IllusionMan1212
57a92b14cc jpeg: support images that encode zero-based component ids 2025-09-08 17:13:03 +02:00
Hisham Aburaqibah
694593c5f2 image/jpeg: more bounds checking and skip malformed APP0
Also increase the maximum huffman symbols to 176
2025-09-08 17:13:03 +02:00
Hisham Aburaqibah
8644f3beba image/jpeg: better pack APP0 structs 2025-09-08 17:13:03 +02:00
Hisham Aburaqibah
a6f18c3367 image/jpeg: implement jpeg decoding for baseline and extended sequential jpegs 2025-09-08 17:12:58 +02:00
Hisham Aburaqibah
d704c45c24 core/image: some jpegs have APP13 or COM markers after SOI 2025-09-08 17:12:04 +02:00
Yuriy Grynevych
2bbd0a45c0 [core:time] time_js: tick_now(): Use f64 (was f32) as a return type of odin_env.tick_now(). 2025-09-08 17:57:28 +03:00
Michael Lee
cfde843778 [core:image/png] use .Image_Dimensions_Too_Large 2025-09-08 09:08:07 -05:00
FourteenBrush
fe531c1888 Add build tags to posix/spawn.odin 2025-09-07 20:39:27 +02:00
gingerBill
3bbf3641a1 Merge pull request #5648 from thetarnav/handle-allocator-error-in-read-entire-file
Handle allocator error when appending in read_entire_file_from_file
2025-09-02 15:49:42 +01:00
Damian Tarnawski
cdca345d74 Handle optional allocator error when appending read bytes in read_entire_file_from_file 2025-09-02 13:42:25 +02:00
Damian Tarnawski
21fd7c200e Add require_results attr to procs returning an allocator 2025-09-02 13:03:15 +02:00
AmedeoAlf
8bb597b9de Specify %m and %M as verbs for integer formatting 2025-09-01 22:44:24 +02:00
FourteenBrush
10b7bba25d Add LPFN_GETACCEPTEXSOCKADDRS to ws2_32.odin 2025-08-31 23:52:00 +02:00
puugz
ba279ec4ea Fix broken wglUseFontBitmaps binding 2025-08-30 18:31:46 +02:00
Jon Lipstate
94e1f30ebb fix typo in CLSIDFromProgIDEx signature 2025-08-29 14:35:34 -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