Jeroen van Rijn
1a37f4eb0c
Only count bits in touched array members.
2026-02-09 19:13:32 +01:00
Jeroen van Rijn
454ad1f4b8
Unwrap cpu affinity syscalls.
2026-02-09 19:01:43 +01:00
Jeroen van Rijn
fa44c64c42
!= nil
2026-02-09 18:29:31 +01:00
Jeroen van Rijn
ec05bb57dc
Implement get_processor_core_count without libc for Linux.
2026-02-09 18:16:16 +01:00
Jeroen van Rijn
7a7127aa13
Fix package line
2026-02-09 16:34:24 +01:00
Jeroen van Rijn
8366e7094a
Fix up ABI name for core:os and core:os/old
2026-02-09 16:27:53 +01:00
Jeroen van Rijn
e7dbabf668
core:os -> core:os/old && core:os/os2 -> core:os
2026-02-09 15:50:21 +01:00
Jeroen van Rijn
5bf30b2d56
Fix os2 file_wasi
2026-02-08 14:13:20 +01:00
Jeroen van Rijn
6270b02b2c
Remove os2 mockup warning
2026-02-08 13:07:41 +01:00
Jeroen van Rijn
2e970db51d
Link some more of filepath to os2
2026-02-08 12:56:05 +01:00
Jeroen van Rijn
0c341123cb
More conflicts during rebase
2026-02-08 12:56:00 +01:00
Jeroen van Rijn
5924fb448e
Add tests for glob + match
2026-02-08 12:54:25 +01:00
Jeroen van Rijn
1c9e36b05e
Fix js_wasm
2026-02-08 12:54:23 +01:00
Jeroen van Rijn
691dc44719
Add glob + match to os2
2026-02-08 12:51:29 +01:00
Jeroen van Rijn
cc50be1a6c
Add more filepath to os2
2026-02-08 12:51:29 +01:00
Jeroen van Rijn
ab0f1aa0c4
BSDs
2026-02-08 12:44:10 +01:00
Jeroen van Rijn
14021f6444
core:testing Darwin
2026-02-08 12:44:09 +01:00
Jeroen van Rijn
47786deddc
In the middle of porting core:testing
2026-02-08 12:44:08 +01:00
Jeroen van Rijn
e094de5874
Add loc := #caller_location to read_entire_file
2026-02-08 12:44:05 +01:00
Jeroen van Rijn
a86ec95944
Address wasi errors
2026-02-08 12:42:29 +01:00
Jeroen van Rijn
304f22c8af
core:os -> core:os/os for CSV, INI, and XML
...
Also had to vendor `core:encoding/ini` into `core:os/os2` for the user directories on *nix,
as it used that package to read `~/.config/user-dirs.dirs`, causing an import cycle.
2026-02-08 12:42:24 +01:00
Jeroen van Rijn
3303d3c98f
Stub out core:os/os2 for js_wasm
2026-02-08 12:42:23 +01:00
Oleksandr Kovalenko
8d8aaf65aa
os\os2 windows: fix truncate-clamp op order when determining to_read size
2026-01-31 15:01:56 +02:00
David Bader
fb9377df17
core/os: fix lookup_env_buf only working with empty buffer
2026-01-30 14:44:38 +01:00
gingerBill
16881e256d
Fix absolute and volume name checks on Windows
2026-01-28 15:24:21 +00:00
Laytan Laats
bc70402093
os: add non blocking open flag
2026-01-11 20:21:25 +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
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
3f354a4717
Modify IMPORTANT NOTE from os2
2025-12-06 16:08:46 +00: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
gingerBill
e53bc165ae
Add #assert(intrinsics.type_is_superset_of(File_Stream_Mode, io.Stream_Mode))
2025-11-17 10:03:25 +00:00
gingerBill
bbf0c0dc00
Merge branch 'master' into bill/os2-file-stream
2025-11-17 09:41:46 +00:00
gingerBill
93fa00c191
Use _get_platform_error() where more appropriate
2025-11-14 21:08:32 +00:00
gingerBill
8558ab59ed
Added some comments
2025-11-14 16:10:11 +00:00
gingerBill
63780110f4
Add File_Stream to replace io.Stream+Fstat_Callback within os2
2025-11-14 15:57:41 +00:00
gingerBill
e4fcebe4bf
Empty -> Unsupported
2025-11-14 11:17:38 +00:00
gingerBill
51536fecf4
Move some of the os&os2 errors into io.Error; Rename Empty to Unsupported
2025-11-14 11:08:24 +00:00
gingerBill
fc5ef57a97
Document the rest of os2.
2025-10-31 16:00:44 +00:00
gingerBill
d2e274f0fe
Update documentation for os2 once more!
2025-10-31 15:51:36 +00:00
gingerBill
1329630bbc
Improve documentation for the file based operations in os2
2025-10-31 15:17:54 +00:00
gingerBill
b9df67f8c5
Change to Permissions bit_set from relying on octal numbering for os2
2025-10-31 14:45:53 +00:00
gingerBill
686ddbb548
use runtime.exit for os2.exit
2025-10-31 10:24:21 +00:00
gingerBill
5e528f8e97
Remove core:encoding/ini dependency in user_posix.odin
2025-10-28 13:21:35 +00:00
gingerBill
4c8f99cd36
Add #caller_location to os2.read_entire_file
2025-10-28 10:57:53 +00:00
A1029384756
7afbe23a34
[core:os/os2] zeroed n value on failed file operations
2025-10-27 12:23:47 -04:00
Kamron Bhavnagri
2995536882
Fix Linux executable path
...
Fixes a bug caused by an executable named identically to the directory
it is in, where then the parent of that directory is both on the path
and marked as executable
Avoid this via stat, as we can check we are working with a file which is
executable
2025-10-18 14:33:35 +11:00
Jeroen van Rijn
7a9ea3ee6d
Further overhaul of package line comments.
2025-10-09 23:05:29 +02:00