Commit Graph

7959 Commits

Author SHA1 Message Date
Laytan
7640a0511f Merge pull request #6015 from salfel/linux-syscalls
core:sys/linux Add timerfd syscall wrappers
2025-12-20 21:25:19 +01:00
laytan
67177db0a8 os/os2: use ReadFile for Console reads too, at least for now 2025-12-20 20:09:19 +01:00
laytan
45a3cfa245 os/os2: better fix for the stale errors 2025-12-20 19:45:45 +01:00
laytan
ca1bb09e97 os/os2: fix stale errors on windows when reading from console 2025-12-20 18:31:48 +01:00
Jeroen van Rijn
2260f461ba Merge pull request #6035 from janga-perlind/darwin-bindings
More bindings for darwin
2025-12-19 06:45:48 +00:00
Lucas Perlind
b97e1fff9e More bindings for darwin 2025-12-19 13:34:45 +11:00
Xotchkass
c06fc7da98 [core:io/utils] fix buffer size in write_* procs 2025-12-18 20:14:31 +02:00
gingerBill
a0bcc73663 Only call get_args() if args is actually used by using an indirect value 2025-12-16 15:09:21 +00:00
gingerBill
548e4f3373 Add translate_by_grapheme: bool field 2025-12-16 14:42:40 +00:00
Laytan
77606168b9 Merge pull request #6012 from A1029384756/master
[tz_unix] added additional search paths to match musl
2025-12-15 19:06:16 +01:00
A1029384756
916ec44ad1 [tz_unix] add lookup for TZDIR environment variable 2025-12-15 12:36:54 -05:00
gingerBill
750d99019c Add strings.builder_replace and strings.builder_replace_all 2025-12-15 11:21:54 +00:00
gingerBill
7d46684030 Correct UAF bugs caused by doing defer shrink 2025-12-15 09:52:54 +00:00
Felix Salcher
a325ab469f add timerfd_* syscall wrappers 2025-12-13 17:27:32 +01:00
gingerBill
a66b84372a Improve docs and add Iterator 2025-12-12 14:41:01 +00:00
A1029384756
7b635c031f [tz_unix] added additional search paths to match musl 2025-12-11 23:13:38 -05:00
gingerBill
d43b00bb10 Add basic docs 2025-12-12 01:44:31 +00:00
gingerBill
23ddb8dd3f Add push_back_elem_and_get_ptr 2025-12-12 01:00:11 +00:00
gingerBill
a2d361f17d Add basic docs 2025-12-12 00:40:03 +00:00
gingerBill
9bd2186c8a core:container/xar 2025-12-12 00:35:40 +00:00
gingerBill
ab9a05ed2d Remove contextless from slice.swap_with_slice 2025-12-11 14:54:03 +00:00
gingerBill
23c6d5dccb Add "contextless" where possible in core:slice 2025-12-11 14:49:55 +00:00
Jeroen van Rijn
3fc0320449 Merge pull request #5741 from FourteenBrush/patch-4
Make `linux.IO_Vec.base` a multipointer
2025-12-10 18:09:01 +00:00
Jeroen van Rijn
83fb7ba952 Make custom JSON (un)marshalers more like core:fmt's 2025-12-10 17:54:12 +01:00
Jeroen van Rijn
503269b9bf Merge branch 'master' into pr/5882 2025-12-10 16:12:54 +01:00
gingerBill
8610acb48f Fix typo 2025-12-10 12:56:34 +00:00
gingerBill
b18b0fdcb3 Remove fallthrough to prefer a single case 2025-12-10 12:54:17 +00:00
gingerBill
a72bdbb43d Use a single case rather than fallthrough 2025-12-10 12:05:53 +00:00
Reshen
973d368c4c Fixing code example, trace_ctx variable was renamed
`trace_ctx` should actually be `global_trace_ctx`, as declared on line 10
2025-12-09 11:43:55 -08:00
WisonYe
45b4fb1565 Freebsd: Fixed 'write' syscall to cause 'ESPIPE' on the pipe fd. (#5575) 2025-12-09 19:19:13 +01:00
gingerBill
e6827393cf Add raw_union_tag struct tag fields to many types in vendor 2025-12-08 14:35:22 +00:00
gingerBill
3a3239294c raw_union_tag allow for comma separation for multiple mappings 2025-12-08 14:03:13 +00:00
gingerBill
f9f4dcd207 Add raw_union_tag for struct #raw_union fields to improve fmt printing 2025-12-08 13:58:28 +00:00
gingerBill
36152bb134 Merge pull request #5998 from slowhei/master
Added more NSApplication and NSWindow bindings
2025-12-07 16:37:52 +00:00
gingerBill
3f354a4717 Modify IMPORTANT NOTE from os2 2025-12-06 16:08:46 +00:00
Tohei Ichikawa
67cc04b1da Added more NSApplication and NSWindow bindings 2025-12-05 17:20:15 -05:00
James Liljenquist
f58ef12d59 Removed redundant build tags 2025-12-05 09:15:05 -07:00
James Liljenquist
6ac4bc43e2 Adding missing build flags to avoid load proc collision 2025-12-04 13:00:50 -07:00
jason
c16909ab4a os2 env changes
Use core:sys/posix for Linux when linking libc
fix copy paste error in posix_env
2025-12-03 09:48:30 -05:00
jason
de97e9f344 use libc for linux env when not no-crt 2025-12-02 23:52:18 -05:00
Hisham Aburaqibah
72d65603eb encoding/json: error handling for custom (un)marshallers 2025-12-02 22:46:35 +02:00
IllusionMan1212
4b9e15786d encoding/json: custom json (un)marshalling 2025-12-02 22:46:31 +02:00
Colin Davidson
a76c902b79 fix thread_act_t size 2025-12-01 16:38:10 -08:00
gingerBill
4e06134618 Add reflect.has_no_indirections 2025-12-01 12:34:22 +00:00
gingerBill
6922ab15fb Merge pull request #5864 from Skyress-s/master
fix: linalg.quaternion_from_forward_and_up()
2025-12-01 12:31:55 +00:00
Andreas Stenmark
ad11d3bea0 Fix #5978: choice_bit_set respects bit_set domain 2025-11-30 21:46:26 +01:00
Jeroen van Rijn
5db9afd73b Merge pull request #5963 from Yawning/feature/chacha8rand
runtime: Use chacha8rand as the default RNG (BREAKING)
2025-11-29 14:38:22 +00:00
Jeroen van Rijn
31817be087 Fix #5975
Fix `err` shadowing in test runner. Fixes #5975.
2025-11-29 11:57:34 +01:00
Yawning Angel
ea1f1e275d base/runtime: Add chacha8rand as the default RNG 2025-11-29 16:16:52 +09:00
Yawning Angel
e1ba69ea51 base/runtime: Add rand_bytes and HAS_RAND_BYTES
Having the OS/runtime provide a cryptographic entropy source is the
right thing to do, and we need it to initialize the default random
number generator.
2025-11-29 10:45:53 +09:00