gingerBill
4d2854f561
Merge pull request #5632 from kalsprite/x386
...
windows i386 support
2025-09-18 22:01:14 +01:00
Damian Tarnawski
3e62c2c79a
Add "contextless" to small_array get_safe and get_ptr_safe
2025-09-14 10:39:33 +02:00
gingerBill
935d9657a3
Merge pull request #5677 from slowhei/master
...
Fix Drawin addObserver methods and add support for new Objc_Block
2025-09-12 08:44:45 +01:00
Tohei Ichikawa
a454633774
Fix addObserver methods and add support for new Objc_Block
2025-09-11 09:50:31 -04:00
gingerBill
72f8bafe6c
Merge pull request #5672 from thetarnav/strings-builder-caller-location
...
Add missing caller location param to append in strings builder
2025-09-11 11:02:35 +01:00
gingerBill
8175c3eaa1
Merge pull request #5651 from FourteenBrush/patch-2
...
Win32: add `CancelIoEx` to kernel32.odin, among other overlapped IO functions.
2025-09-10 21:36:37 +01:00
Jeroen van Rijn
3c9538c708
Change the way math/big constants are initialized
2025-09-10 21:02:24 +02:00
Jacob Friedman
9492dccb4a
Fix incorrect json encoding for control characters < 32
2025-09-10 16:50:12 +02:00
Brad Lewis
75449283c2
Allow missing trailing comma with proc groups with odin parser
2025-09-10 08:44:06 -04:00
Damian Tarnawski
413b44d05c
Add missing caller location param to append in strings builder
2025-09-10 13:23:56 +02:00
Jeroen van Rijn
cd3069b16b
Small updates to JPEG loader
...
- Remove some unnecessary nesting
- Add frame type (SOF0, et al) to metadata if `.return_metadata` is used
2025-09-09 18:34:19 +02:00
Jeroen van Rijn
572b26a846
Expand grayscale JPEGs to RGB(A)
...
And handle grayscale jpeg example file in test suite.
2025-09-09 17:13:21 +02:00
Jeroen van Rijn
7b3ca701e0
Implement .alpha_add_if_missing for JPEG
2025-09-09 14:51:16 +02:00
FourteenBrush
eb7218eff0
Merge branch 'odin-lang:master' into patch-2
2025-09-09 14:41:28 +02:00
FourteenBrush
fb1dd3052d
Add RtlNtStatusToDosError ERROR_MR_MID_NOT_FOUND error
2025-09-09 14:11:38 +02:00
FourteenBrush
64e9652776
Add RtlNtStatusToDosError
...
Maps kernel NTSTATUS to win32 system error
2025-09-09 14:04:36 +02:00
Jeroen van Rijn
dd9fceaae1
Make progressive JPEGs return a proper error
...
Add progressive JPEG file to test suite and test that loading it returns the expected `Unsupported_Frame_Type` error.
This JPEG variant will hopefully be supported in the future, but we should at least return an error rather than use `unsupported()`.
2025-09-09 13:53:43 +02:00
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
FourteenBrush
9aabe75262
Add ERROR_NOT_FOUND
...
Returned by `CancelIoEx` when cancelled number or io completions was 0.
Was for some reason defined in `core:os`, but not in win32 pkg.
Ref: https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--1000-1299-
2025-09-05 00:34:44 +02:00
Jon Lipstate
57bc45ae30
revert to working build
2025-09-03 22:51:28 -07:00
Jon Lipstate
e0c4c53362
add tls when we have crt
2025-09-03 22:32:33 -07:00
FourteenBrush
f6bf88d184
Add CancelIoEx to kernel32.odin
2025-09-04 00:38:51 +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
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