Commit Graph

15463 Commits

Author SHA1 Message Date
gingerBill
bc36ea4170 Use macro instead of a C++ iterator - for speed
C++ iterators are bad.
2025-09-10 20:11:36 +01:00
gingerBill
228ddd6903 Inline some ptr set iterators 2025-09-10 20:02:39 +01:00
gingerBill
1c648126c7 Move more from heap_allocator() to temporary_allocator() 2025-09-10 19:47:29 +01:00
gingerBill
01258d4817 Multithread "check all scope usages" 2025-09-10 19:38:30 +01:00
gingerBill
a36a8722dc Minimize more thread contention 2025-09-10 19:30:32 +01:00
gingerBill
21b1173076 Minor clean up of permanent/temporary arena usage 2025-09-10 18:20:20 +01:00
gingerBill
af37ba76c1 Use arena in calculate_global_init_order 2025-09-10 18:02:02 +01:00
gingerBill
54df0e1a41 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 17:29:17 +01:00
gingerBill
1e0902677f Multithread min dep set by removing the set itself 2025-09-10 17:29:11 +01:00
gingerBill
fef00dda24 Merge pull request #5675 from jfcode4/master
Fix incorrect json encoding for control characters < 32
2025-09-10 16:09:52 +01:00
Jacob Friedman
9492dccb4a Fix incorrect json encoding for control characters < 32 2025-09-10 16:50:12 +02:00
gingerBill
475791476b Merge pull request #5673 from BradLewis/fix/parser-proc-group-trailing-comma
Allow missing trailing comma with proc groups with odin parser
2025-09-10 13:48:13 +01:00
Brad Lewis
75449283c2 Allow missing trailing comma with proc groups with odin parser 2025-09-10 08:44:06 -04:00
gingerBill
60684ff028 Multithread some of the min dep system 2025-09-10 13:39:06 +01:00
gingerBill
70d396c8ad Split type and inline cycles into separate loops 2025-09-10 13:26:07 +01:00
gingerBill
629777b988 Multithread check_update_dependency_tree_for_procedures 2025-09-10 12:42:36 +01:00
Jeroen van Rijn
1d561247f5 Add nullptr checks to more type helpers. 2025-09-09 20:45:32 +02:00
Jeroen van Rijn
edc58c020c Merge pull request #5670 from Kelimion/jpeg-updates
Small updates to JPEG loader
2025-09-09 18:52:30 +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
6b18f8df63 Merge pull request #5668 from Kelimion/jpeg-updates
`core:image/jpeg` updates
2025-09-09 17:20:53 +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
Jeroen van Rijn
737c87a726 Optionally save BMP 2025-09-09 14:12:48 +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
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