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
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
Colin Davidson
06bc3b2a36
oops, duplicate const
2024-08-29 13:41:53 -07:00
Colin Davidson
cc6e1bdcd6
add more dyld info collect
2024-08-29 12:02:54 -07:00
Colin Davidson
d026ac2df2
add thread-info and memmap-info
2024-08-29 11:41:36 -07: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
Feoramund
0243647e15
Add missing flush functionality to os platforms
...
Platforms:
- FreeBSD
- Haiku
- Linux
- NetBSD
- OpenBSD
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
Jeroen van Rijn
17d10b72d5
Merge pull request #4158 from sqrt-negativeone/master
...
Win32 clipboard procedures
2024-08-28 19:02:18 +02:00
Jeroen van Rijn
831e26cb6f
Remove unused import.
2024-08-28 18:42:54 +02:00
Fakhri Mouad
16503c3b91
Add Win32 procs needed to handle clipboard
2024-08-28 16:36:06 +01:00
Laytan Laats
1e6419b5b7
fix zombie thread leak in thread self cleanup
2024-08-28 16:22:38 +02:00
Laytan Laats
ef66f96cf2
fix windows bindings where BOOL is not actually a boolean
...
Fixes #4157
2024-08-28 15:45:41 +02:00
Isaac Andrade
45322023e3
Merge branch 'master' of github.com:odin-lang/Odin into posix-linux
2024-08-27 18:51:58 -06:00
gingerBill
8694fa5f78
Minor cleanup of CFString.odin
2024-08-27 11:22:28 +01:00
Isaac Andrade
7d94810d01
Fix ino_t and ino_t32 types for POSIX linux.
2024-08-26 22:12:05 -06:00
VladPavliuk
cc2ed2b302
Fix win32 dwmapi enum.
2024-08-25 14:34:24 +03:00
Colin Davidson
b396280df7
add stuff needed for process control
2024-08-25 03:57:59 -07:00
gingerBill
eb799393d5
Fix -vet-tabs issues
2024-08-24 13:56:41 +01:00
Isaac Andrade
e0b78476c5
Fix else when clause.
2024-08-23 20:18:26 -06:00
Isaac Andrade
2794eb31d9
On Linux POSIX, ENOTSUP and EOPNOTSUPP have the same value.
2024-08-23 20:08:59 -06:00
Isaac Andrade
d8e4a1b93f
Fix comment typo on POSIX ENOTSUP constant.
...
Co-authored-by: Feoramund <161657516+Feoramund@users.noreply.github.com >
2024-08-23 20:02:44 -06:00
Isaac Andrade
9c06898303
Add comma to last dirent struct member.
2024-08-23 20:01:15 -06:00
Isaac Andrade
90aa7dff04
Add POSIX dirent struct for Linux.
2024-08-23 19:56:45 -06:00
Isaac Andrade
1adea2f4d6
Merge branch 'master' of github.com:odin-lang/Odin into posix-linux
2024-08-23 18:40:35 -06:00
Laytan Laats
caef37bc18
orca: implement core:time and core:log
2024-08-23 18:25:10 +02:00
gingerBill
574dc5efe6
Merge pull request #4120 from laytan/posix-process
...
os2: process API for Darwin and most of it for BSDs
2024-08-22 22:51:48 +01:00
Laytan Laats
a66520ba57
os2: process API for Darwin and most of it for BSDs
2024-08-22 23:07:24 +02:00
gingerBill
70932dc478
Merge pull request #4089 from laytan/riscv64
...
add support for linux_riscv64 and freestanding_riscv64
2024-08-22 11:20:03 +01:00
Laytan
c0125f3192
correct the riscv64 stat structs
2024-08-21 14:41:23 +02:00
gingerBill
e7b8e61c68
Merge pull request #4106 from yeongjukang/master
...
core:sys/linux - implement clock_settime, clock_getres and clock_nanosleep
2024-08-21 09:41:14 +01:00
Isaac Andrade
ef06cd93cc
Initial implementation of linux-specifig dirent struct.
2024-08-20 20:35:56 -06:00
Isaac Andrade
c0521c6d99
Add linux support for errno.
2024-08-20 20:35:28 -06:00
Yeongju Kang
bbe4c32e32
changed signature of clock_getres
2024-08-21 08:25:14 +09:00
Vitalii Kravchenko
14169ae5b4
A couple of foundation binding. Vet tabs.
2024-08-21 00:09:09 +01:00
Laytan
ca6ef95b03
add support for linux_riscv64 and freestanding_riscv64
2024-08-20 14:06:40 +02:00
Isaac Andrade
6df51b42a8
Fix termios NCCS size on linux.
2024-08-19 15:32:55 -06:00
Isaac Andrade
3228178d87
Add support for Linux on os/sys/posix termios.
2024-08-19 14:56:37 -06:00
Yeongju Kang
f96991364a
implement clock_settime, clock_getres and clock_nanosleep
2024-08-19 08:53:07 +09:00
Laytan Laats
f7d7d65bc0
fix open bindings
...
`open` specifies the `mode` argument as vararg (presumably to make it
optional). varargs actually have rules about casting, in this case the
rule that any integer arg of size <= 4 has to be casted to `i32` before
passing it.
Not doing that implicit cast makes the permissions wrong or not apply at
all.
2024-08-16 22:54:53 +02:00
gingerBill
31bb3dc4f0
Merge pull request #3971 from jasonKercher/os2-process-linux
...
os2 process linux implementation
2024-08-16 12:38:27 +01:00
gingerBill
65ce7687d7
Merge pull request #4004 from Skytrias/orca-odin-bindings
...
Add autogenerated orca bindings and macros from laytan
2024-08-16 12:37:36 +01:00
Laytan
6fc39c1b5d
Merge pull request #4075 from yay/more-foundation-bindings
...
More Foundation bindings.
2024-08-16 13:08:15 +02:00