Isaac Andrade
|
186565b0c1
|
Simplify the implementation of POSIX langinfo for Linux:
No need for the enum runtime checks. Constant values were set manually
and comments were added to help locate their origin.
|
2024-08-30 20:34:12 -06:00 |
|
Isaac Andrade
|
575aedc3bf
|
Implement POSIX support for Linux for the following facilities:
- fnmatch
- grp
- langinfo
- locale
|
2024-08-30 19:45:56 -06:00 |
|
Laytan Laats
|
e0a2e52601
|
c/libc: fix time link name
|
2024-08-31 02:49:53 +02:00 |
|
Laytan Laats
|
bfedcd7035
|
encoding/csv: fix examples
|
2024-08-30 23:31:31 +02:00 |
|
Laytan Laats
|
6ef49d4f24
|
core/odin: support #type_assert and #no_type_assert
|
2024-08-30 23:21:35 +02:00 |
|
Jeroen van Rijn
|
8ad4427a25
|
Add a few more reflect.bit_field_* helpers.
|
2024-08-30 22:40:14 +02:00 |
|
Jeroen van Rijn
|
db3bcd2cea
|
Add reflect.bit_fields_zipped
|
2024-08-30 22:04:10 +02:00 |
|
gingerBill
|
773703bc83
|
Merge pull request #4009 from thetarnav/file-tag-parser
Add a file tag parser to core:odin/parser
|
2024-08-30 11:58:18 +01:00 |
|
gingerBill
|
b020b91df2
|
Merge pull request #4112 from Feoramund/fix-test-io-issues
Add `core:io` test suite
|
2024-08-30 09:57:02 +01:00 |
|
Isaac Andrade
|
3557955f53
|
Align the dirent struct for linux
|
2024-08-29 20:17:39 -06:00 |
|
Colin Davidson
|
2119062a5a
|
add more dyld support
|
2024-08-29 17:00:02 -07:00 |
|
Damian Tarnawski
|
a28d574272
|
Add and test match_build_tags
|
2024-08-29 23:02:49 +02:00 |
|
Colin Davidson
|
06bc3b2a36
|
oops, duplicate const
|
2024-08-29 13:41:53 -07:00 |
|
Damian Tarnawski
|
f93779d425
|
Parse build_project_name as [][]string
|
2024-08-29 22:08:01 +02:00 |
|
Damian Tarnawski
|
a10f988020
|
Move some types to runtime, use reflection instead of lut
|
2024-08-29 21:12:33 +02:00 |
|
Colin Davidson
|
cc6e1bdcd6
|
add more dyld info collect
|
2024-08-29 12:02:54 -07:00 |
|
Damian Tarnawski
|
39bdf4d710
|
Add missing require_results attr
|
2024-08-29 20:52:27 +02:00 |
|
Damian Tarnawski
|
7862460374
|
Remove useless code
|
2024-08-29 20:52:27 +02:00 |
|
Damian Tarnawski
|
92821300e4
|
Add a file tag parser to core:odin/parser
|
2024-08-29 20:52:27 +02:00 |
|
Colin Davidson
|
d026ac2df2
|
add thread-info and memmap-info
|
2024-08-29 11:41:36 -07:00 |
|
Laytan Laats
|
5a22d49b72
|
mem/virtual: make sure the given size is used for subsequent blocks
|
2024-08-29 14:48:36 +02:00 |
|
Laytan
|
942017b958
|
Merge pull request #4163 from laytan/sysconf-pagesize
mem/virtual: use `sysconf` for retrieving page size and actually use these init procs
|
2024-08-29 14:44:54 +02:00 |
|
Laytan Laats
|
fd2ad20cd4
|
mem/virtual: use sysconf for retrieving page size and actually use these init procs
|
2024-08-29 14:36:32 +02:00 |
|
Colin Davidson
|
0e344ae2d6
|
add ARM thread state
|
2024-08-29 01:54:09 -07:00 |
|
Colin Davidson
|
c520f029bb
|
initial posix/spawn
|
2024-08-29 00:54:45 -07:00 |
|
Colin Davidson
|
3209b319e8
|
more useful pieces
|
2024-08-28 23:50:17 -07:00 |
|
Isaac Andrade
|
4577d541ec
|
Add contants RTLD contants on os_linux and posix (dlfcn).
|
2024-08-28 22:15:11 -06:00 |
|
Isaac Andrade
|
f0e631cfa3
|
Use native types on linux POSIX structs.
|
2024-08-28 19:08:48 -06:00 |
|
Laytan Laats
|
0f2ad95014
|
Fix EOF detection is os2 window read
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
f453054aff
|
Return 0, nil in all io cases where an empty slice is provided
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
ef99373c31
|
Fix pread and pwrite on os2 Windows
The previous code was jumping ahead by the specified offset, instead of
getting the current offset.
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
56f232e5fc
|
Report invalid whence & offset on os2 Windows
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
de1432b315
|
Fix Windows infinite recursion with os2._flush
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
e7d6e2d163
|
Add documentation to os2.close
Make it explicit that using a stream after closing is like a
use-after-free bug.
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
6798d15ecb
|
Check int(abs) instead to avoid overflows
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
6aedb2695a
|
Report Invalid_Whence on some os platforms
- Move `Seek`-related checks into OS-specific files for granularity.
Platforms:
- Darwin
- FreeBSD
- Haiku
- Linux
- NetBSD
- OpenBSD
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
0243647e15
|
Add missing flush functionality to os platforms
Platforms:
- FreeBSD
- Haiku
- Linux
- NetBSD
- OpenBSD
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
3ec4db212b
|
Report Invalid_Whence in os2 Linux seek
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
7683c1f4bb
|
Report Invalid_Whence in os2 POSIX seek
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
ef2cd9d97f
|
Copy missing errors in os2._get_platform_error from posix to linux
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
741ccd7ff5
|
Zero n on error in _file_stream_proc
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
eb92a2df71
|
Fix indentation
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
d60f404bb4
|
Fix OpenBSD implementations of read_at and write_at
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
6c4806835c
|
Fix indentation
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
e1555e04ad
|
Fix Haiku implementations of read_at and write_at
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
7061032db6
|
Fix NetBSD implementations of read_at and write_at
These procedures must not modify the underlying file pointer.
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
861d892ffe
|
Make Windows pread and pwrite conform to POSIX
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
5c8c63ae04
|
Fix FreeBSD implementations of read_at and write_at
These procedures must not modify the underlying file pointer.
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
1ced76cdd1
|
Fix broken cases of Seek usage in _file_stream_proc
Handles `EINVAL`, among other fixes.
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
e83b982afe
|
Measure bytes.Buffer size by length instead of capacity
|
2024-08-28 19:53:20 +02:00 |
|