Commit Graph

15439 Commits

Author SHA1 Message Date
gingerBill
9abc3f67b5 Fix constant procedure parameters when passing literals 2025-09-09 10:36:22 +01: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
690291d4cd Merge pull request #4695 from IllusionMan1212/jpeg
core/image: Add jpeg support
2025-09-08 18:42:48 +02:00
Jeroen van Rijn
fa36c6a5f5 Add JPG test assets to .gitignore 2025-09-08 18:19:21 +02:00
Jeroen van Rijn
2de4918fb3 Add basic test for JPG using Odin emblem 2025-09-08 18:18:08 +02:00
Jeroen van Rijn
2f59e0175e Address some naming issues 2025-09-08 17:44:58 +02:00
Jeroen van Rijn
5b60067131 Fix examples/all 2025-09-08 17:25:55 +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
Jeroen van Rijn
21ce0c7ce9 Merge pull request #5660 from leecommamichael/master
[core:image/png] use .Image_Dimensions_Too_Large
2025-09-08 16:23:50 +02:00
Michael Lee
cfde843778 [core:image/png] use .Image_Dimensions_Too_Large 2025-09-08 09:08:07 -05:00
Laytan
42c2cb89b5 Merge pull request #5658 from FourteenBrush/patch-3
Add build tags to `posix/spawn.odin`
dev-2025-09
2025-09-07 22:35:36 +02:00
FourteenBrush
fe531c1888 Add build tags to posix/spawn.odin 2025-09-07 20:39:27 +02:00
gingerBill
0711806c21 Merge pull request #5653 from smoke-y/emptyParen
Fix compiler segfault when trying to use () as type
2025-09-06 12:23:48 +01:00
gingerBill
a870dd3d69 Merge pull request #5654 from smoke-y/procType
Fix compiler segfault when trying to use proc at type level
2025-09-06 12:23:35 +01:00
gingerBill
38f308b348 Merge pull request #5656 from ekliot/vendor-box2d-bindings
`vendor:box2d` fix CreateMotorJoint proc signature
2025-09-06 12:23:21 +01:00
ekliot
a6cd6dc265 fix CreateMotorJoint param type 2025-09-05 18:45:49 +01:00
smoke-y
5f60e7cdc0 formatting 2025-09-05 21:28:49 +05:30
smoke-y
906eddd1d4 formatting 2025-09-05 21:28:00 +05:30
smoke-y
5161731ce0 proc at type lvl seg fault 2025-09-05 11:27:28 +05:30
smoke-y
c01ba41955 fix empty parentheses seg fault 2025-09-05 11:02:01 +05:30
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
gingerBill
42cb1add91 Merge pull request #5645 from thetarnav/allocator-proc-require-results
Add require_results attr to procs returning an allocator
2025-09-02 15:47:27 +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
Jeroen van Rijn
7e3e15aee6 Merge pull request #5644 from AmedeoAlf/master
Specify %m and %M as verbs for integer formatting
2025-09-01 23:05:43 +02:00
AmedeoAlf
8bb597b9de Specify %m and %M as verbs for integer formatting 2025-09-01 22:44:24 +02:00
gingerBill
ac93021ec9 Merge pull request #5643 from FourteenBrush/patch-2
Add `LPFN_GETACCEPTEXSOCKADDRS` to ws2_32.odin
2025-09-01 11:36:40 +01:00
FourteenBrush
10b7bba25d Add LPFN_GETACCEPTEXSOCKADDRS to ws2_32.odin 2025-08-31 23:52:00 +02:00
gingerBill
3ff58e00e4 Merge pull request #5634 from puugz/patch-1
Fix broken wglUseFontBitmaps binding
2025-08-31 11:56:08 +01:00
puugz
ba279ec4ea Fix broken wglUseFontBitmaps binding 2025-08-30 18:31:46 +02:00
gingerBill
b7a9113ac4 Merge pull request #5633 from kalsprite/fix_win_ole_api
fix typo in CLSIDFromProgIDEx signature
2025-08-30 14:47:31 +01:00
Jon Lipstate
94e1f30ebb fix typo in CLSIDFromProgIDEx signature 2025-08-29 14:35:34 -07:00
gingerBill
f926c1861f Merge pull request #5627 from A1029384756/master
skip errors on polymorphic procs when in a proc group with other options
2025-08-29 13:53:55 +01:00
A1029384756
3074146784 skip errors on polymorphic procs when in a proc group with other options 2025-08-28 11:30:47 -04:00
gingerBill
f7936419cd Merge pull request #5625 from StanislavNikolov/master
Fixed and added obj-c methods for NSWindow
2025-08-28 13:51:54 +01: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
gingerBill
ac71a0aed1 Merge pull request #5617 from thetarnav/soa-resize-zero-memory
Zero existing memory when using resize_soa (fixes #5614)
2025-08-26 13:28:05 +01:00
Damian Tarnawski
ce0cf7076c Add missing test attr and don't zero memory when reserve already did 2025-08-26 13:03:26 +02:00
gingerBill
83a78d5d28 Merge branch 'master' into soa-resize-zero-memory 2025-08-26 11:26:15 +01:00
gingerBill
0a02f5f076 Merge pull request #5616 from thetarnav/soa-allocator-resize
Support using allocator resize in `_reserve_soa` (fixes #5615)
2025-08-26 11:24:32 +01:00
Damian Tarnawski
95cfad67b7 Cleanup soa resize logic—reduce nesting 2025-08-24 15:17:13 +02:00
Damian Tarnawski
8a894c6ce6 More soa tests 2025-08-24 15:09:08 +02:00