Commit Graph

6836 Commits

Author SHA1 Message Date
gingerBill
1a90b06fac Improve documentation for core:reflect 2025-10-07 11:49:56 +01:00
gingerBill
66401b2e73 Minor formatting changes 2025-10-07 10:16:13 +01:00
gingerBill
787c3a7298 Remove @(require_results) on find_aux 2025-10-07 09:50:05 +01:00
gingerBill
fb93713f24 Add @(rodata) and @(require_results) to core:text/match 2025-10-07 09:45:54 +01:00
gingerBill
5a12ccef44 Add unicode.simple_fold; Finish (strings|bytes).equal_fold 2025-10-07 09:40:54 +01:00
gingerBill
1708cb556a Improve docs for core:bufio; Rename scanner_scan -> scan (keep alias of old name) 2025-10-07 09:10:55 +01:00
gingerBill
408f318541 Merge pull request #5744 from FrancisTheCat/master
Fix srgb <-> linear rgb conversion functions in `core:math/linalg`
2025-10-06 13:26:39 +01:00
Courtney Strachan
69ad94d8a8 Followup fix to #4895 2025-10-05 19:22:04 -07:00
Courtney Strachan
6de2d6e8ca Merge branch 'odin-lang:master' into master 2025-10-06 02:41:44 +01:00
xenobas
3edf964b55 Fix #5225 wasm odin.js undefined this.mem 2025-10-05 20:18:41 +01:00
Jeroen van Rijn
138cc7da1f Merge pull request #5749 from samwega/deprecate_c_procs
Deprecate c procs
2025-10-05 13:32:04 +02:00
connnnal
c6300de0d1 Remove inaccurate tprint concern 2025-10-04 14:58:28 +01:00
samwega
9da10dece2 fix: another itoa() used in path_linux.odin had to be replaced with write_int() 2025-10-03 22:26:24 +03:00
samwega
9e9d41ddfd fix: cars i64 instead of int 2025-10-03 22:17:25 +03:00
samwega
83d36451a3 os_linux.odin was using itoa, changed to use write_int() 2025-10-03 22:13:03 +03:00
samwega
bbf297f265 fix: copy/paste error 2025-10-03 21:18:38 +03:00
samwega
2af3f280bf Tetralux asked for int_tostring() to also be deprecated, use write_int() instead. 2025-10-03 21:14:54 +03:00
samwega
01bbd981ad short C names deprecated (itoa, ftoa), C reimplementations of atoi and atof deprecated as parse_int() and parse_f64() are preferable 2025-10-03 20:54:18 +03:00
samwega
54805c600e After discord debate: replaced rtoi and utoi with just digit_to_int and simple comment 2025-10-02 20:45:00 +03:00
Franz Hoeltermann
a39697d84c Fix srgb <-> linear rgb conversion functions in core:math/linalg and add implementations for vector3 2025-10-02 17:31:59 +02:00
samwega
84e8b8d1ad fix: copy/paste replaced tabs with spaces 2025-10-02 15:45:21 +03:00
samwega
7eb26d8eac feat: added rtoi & utoi procs for converting a rune and a u8 character respectively to int 2025-10-02 15:21:44 +03:00
Harold Brenes
24daa4427c Fix various foreign signatures 2025-09-29 19:58:14 -04:00
gingerBill
d3b8770318 Add #+test to base32_test.odin 2025-09-28 20:48:13 +01:00
gingerBill
a7af6055b0 Move memory mutex guard around for resize in virtual.Arena allocator 2025-09-27 10:27:08 +01:00
gingerBill
0eaf3ee7cd Merge pull request #5678 from alexriedl/wrong-allocator-guard
fix for temp_file name prefix being deallocated before being used
2025-09-26 15:24:11 +01:00
gingerBill
1222d40d39 Merge pull request #5691 from rationalcoder/master
Fix out-of-band allocations in dynamic arenas
2025-09-26 14:21:52 +01:00
gingerBill
51f79724ed Merge pull request #5686 from thetarnav/zero-small-array-resize
Zero small array resize
2025-09-26 14:16:54 +01:00
Yuriy Grynevych
36098cec0f [core:sys/info] doc: Remove duplicated line 2025-09-25 15:14:42 +03:00
Wrath
443b6e1641 Unify filepath.join behavior on between unix/windows 2025-09-23 23:03:20 -04:00
gingerBill
4d2854f561 Merge pull request #5632 from kalsprite/x386
windows i386 support
2025-09-18 22:01:14 +01:00
rationalcoder
710533975e Fix out-of-band allocations in dynamic arenas 2025-09-16 16:31:10 -05:00
Damian Tarnawski
e163c20a02 Correct set_example in small_array 2025-09-15 15:29:17 +02:00
Damian Tarnawski
40c8f45a81 Correct small_array resize examples 2025-09-15 15:15:44 +02:00
Damian Tarnawski
b986c534a3 Replace mem.zero_slice with intrinsics.mem_zero in small_array.resize 2025-09-15 15:01:20 +02:00
Damian Tarnawski
7adc33d5a4 Add @require to core:mem import in small_array 2025-09-15 14:56:46 +02:00
Damian Tarnawski
3d66625de0 Zero memory in small_array.resize and add non_zero_resize 2025-09-15 14:40:58 +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
Alex Riedl
b9a09cebee fix for temp_file name prefix being deallocated before being used 2025-09-11 10:55:29 -05: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