Commit Graph

15491 Commits

Author SHA1 Message Date
IllusionMan1212
e4ccfd6e58 vendor/xlib: a few more IM-related procedures and constants 2025-10-12 23:49:33 +02:00
gingerBill
5b0510a6bd Merge pull request #5690 from Creativty/master
Fix #5682 segfault involving string_to_string16 on linux
2025-09-17 17:28:24 +01:00
xenobas
3e7395eba6 fix: fix segfault on string_to_string16 2025-09-16 21:40:57 +01:00
gingerBill
11be0cb4ab Use permanent_allocator() instead of temporary_allocator() temporarily to fix a bug 2025-09-14 17:37:17 +01:00
gingerBill
7db57e2d9c Temporarily disable TEMPORARY_ALLOCATOR_GUARD 2025-09-14 17:24:22 +01:00
gingerBill
22261f9e71 Fix temporary_allocator 2025-09-14 17:21:33 +01:00
Jeroen van Rijn
e0a97a628d Merge pull request #5683 from thetarnav/soa-get-safe-contextless
Add "contextless" to small_array get_safe and get_ptr_safe
2025-09-14 13:01:52 +02: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
cf4262d22c Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 21:41:58 +01:00
gingerBill
5ea2e1fe60 Minimize mutex usage when in single threaded mode. 2025-09-10 21:41:52 +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
gingerBill
992cad101c Minor mutex rearrangement 2025-09-10 21:16:56 +01:00
gingerBill
549edcc0f9 Use a RwMutex instead of BlockingMutex 2025-09-10 21:00:43 +01:00
gingerBill
34e3d30780 More thread contention removal 2025-09-10 20:51:52 +01:00
gingerBill
0476d33a6c Remove global PtrMap<Type *, GenTypesData *> and store on the TypeNamed directly 2025-09-10 20:45:26 +01:00
gingerBill
d3602ca634 Removal of some old checks 2025-09-10 20:37:39 +01:00
gingerBill
76c0f89535 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 20:11:42 +01:00
gingerBill
bc36ea4170 Use macro instead of a C++ iterator - for speed
C++ iterators are bad.
2025-09-10 20:11:36 +01:00
Jeroen van Rijn
641ccf89a2 Merge pull request #5676 from Kelimion/big-asan
Change the way math/big constants are initialized
2025-09-10 21:09:16 +02:00
gingerBill
228ddd6903 Inline some ptr set iterators 2025-09-10 20:02:39 +01:00
Jeroen van Rijn
3c9538c708 Change the way math/big constants are initialized 2025-09-10 21:02:24 +02: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
Damian Tarnawski
413b44d05c Add missing caller location param to append in strings builder 2025-09-10 13:23:56 +02: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
FourteenBrush
eb7218eff0 Merge branch 'odin-lang:master' into patch-2 2025-09-09 14:41:28 +02:00
Jeroen van Rijn
737c87a726 Optionally save BMP 2025-09-09 14:12:48 +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