Commit Graph

12541 Commits

Author SHA1 Message Date
Isaac Andrade
f072136c04 Implement POSIX linux support for poll and netinet_tcp. Incomplete support for netinet/in. 2024-09-02 21:59:03 -06:00
Isaac Andrade
35f961d80f Add POSIX Linux support for net_if and netdb. 2024-09-02 14:25:32 -06:00
Isaac Andrade
a248d49f34 Add Linux support for POSIX limits. 2024-09-02 14:04:05 -06:00
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
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
Isaac Andrade
45322023e3 Merge branch 'master' of github.com:odin-lang/Odin into posix-linux 2024-08-27 18:51:58 -06:00
Laytan Laats
9684ade23e fix -vet-tabs 2024-08-27 19:13:46 +02: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
gingerBill
fb248056c9 Merge pull request #4146 from Feoramund/fix-i128-transmute-align
Fix inline transmutation of `[16]i8` to `i128`
2024-08-26 22:38:24 +01:00
gingerBill
ade4e312fe Merge pull request #4154 from avanspector/master
Delay lexical checking for foreign blocks that are in file scope
2024-08-26 22:38:13 +01:00
gingerBill
12bd07d2df Merge pull request #4150 from laytan/update-wgpu-to-22-1-0
wgpu: update to v22.1.0.1
2024-08-26 22:37:31 +01:00
gingerBill
91f8c626bb Merge pull request #4148 from Feoramund/tls-cleaner
Add API for freeing `thread_local` state
2024-08-26 22:37:08 +01:00
Laytan
c1684d6335 Merge pull request #4136 from flysand7/process-info-fix
[os2/process]: Don't free process info fields in partial success scenarios
2024-08-26 23:25:21 +02:00
flysand7
1a4faff9c9 [os2/process]: Fix typo on doc comments 2024-08-27 08:06:11 +11:00
Laytan
6c17642b91 Merge pull request #4155 from Feoramund/fix-test-vet-style
Fix `-vet` and `-strict-style` failures in tests
2024-08-26 23:01:21 +02:00
Laytan
ef254ec055 Merge pull request #4153 from Feoramund/fix-4151
Fix #4151
2024-08-26 22:59:48 +02:00
Feoramund
1f04f541cf Fix -vet and -strict-style failures in tests 2024-08-26 16:20:08 -04:00
avanspector
dd86a8f013 Merge branch 'odin-lang:master' into master 2024-08-26 21:00:25 +02:00
avanspector
43ec2b9253 checker: delay foreign block checking
if file scope, otherwise as before
2024-08-26 20:59:16 +02:00
Laytan Laats
60cd0da2ed wgpu: cont. fix sdl2glue on Linux 2024-08-26 20:24:26 +02:00
avanspector
c21bbae427 Merge branch 'master' of https://github.com/avanspector/Odin 2024-08-26 19:59:20 +02:00
avanspector
d7e977069a Update checker.cpp 2024-08-26 19:59:15 +02:00
Jeroen van Rijn
ef98aa1fe1 Merge pull request #4152 from edyu/master
Fix error for uuid to require 36 bytes instead 32 (4 bytes for dashes)
2024-08-26 19:35:04 +02:00
Ed Yu
4e2bce0c83 Fix error for uuid to require 36 bytes instead 32 (4 bytes for dashes) 2024-08-26 10:25:10 -07:00
Feoramund
d43c6e39f6 Fix #4151
The `core:mem` procs were calling the wrong `runtime` procs for their
number of arguments.
2024-08-26 13:23:04 -04:00
Laytan
f56b895c05 wgpu: fix sdl2glue not using GetWindowWMInfo properly
Fixes #4127
2024-08-26 16:08:14 +02:00
Laytan Laats
54a420f3eb wgpu: update to v22.1.0.1 2024-08-26 15:49:12 +02:00
Jeroen van Rijn
3e0f6bda91 Merge pull request #4149 from Feoramund/fix-thread-pool-use-after-free
Fix use-after-free in `thread.Pool`
2024-08-26 13:05:23 +02:00
Feoramund
9fac03b84c Fix use-after-free in thread.Pool 2024-08-26 06:39:05 -04:00
Laytan
0a8f85e879 Merge pull request #4147 from Feoramund/cleanup-test-runtime-arenas
Free the arenas allocated in `test_core_runtime`
2024-08-26 12:09:34 +02:00
Feoramund
49606ec3ea Use thread_local_cleaner API in os2 2024-08-26 06:01:59 -04:00
Feoramund
d338642dc4 Add API for freeing thread_local state 2024-08-26 06:01:59 -04:00
Feoramund
95d1c29c2a Free the arenas allocated in test_core_runtime
Found by using `-sanitize:address`.
2024-08-26 05:45:24 -04:00
Feoramund
c424c94030 Fix inline transmutation of [16]i8 to i128
Forbids LLVM from generating SSE aligned loads on unaligned data.
2024-08-26 04:48:31 -04:00
gingerBill
8de1e88c4f Merge pull request #4144 from laytan/riscv-error-on-atomics-without-extension
riscv: add an error when atomics are used without the atomics extension
2024-08-25 22:49:42 +01:00
flysand7
3119e0489f [os2/process]: Fix vet errors 2024-08-26 07:23:59 +11:00
flysand7
db94e646e0 [os2/process]: Adjust documentation for process info 2024-08-26 07:21:54 +11:00
flysand7
4737485f09 [os2/process]: Force return on allocation errors and process not existing 2024-08-26 07:19:39 +11:00
Laytan
d299d4e1cd riscv: add an error when atomics are used without the atomics extension 2024-08-25 21:17:00 +02:00
Laytan
9aeb0d0fb6 Merge pull request #4142 from laytan/os2-propogate-errors-from-execv
os2: propagate errors from execv
2024-08-25 21:09:54 +02:00
Laytan
0ea6809b49 os2: remove return on file_size error from read_entire_file
file_size can't return .No_Size because it uses io.size and only returns
an io.Error, removing this so it works when file_size fails (linux pipes
for instance)
2024-08-25 18:43:23 +02:00
Laytan Laats
a0fe6da10b os2: propogate errors from execv functions to parent 2024-08-25 18:01:33 +02:00
gingerBill
8c952878fb Allow empty strings in link_prefix and link_suffix 2024-08-25 14:03:14 +01:00
gingerBill
eda58357b6 Merge pull request #4141 from VladPavliuk/fix-dwmapi-enum
Fix win32 dwmapi DWMWINDOWATTRIBUTE enum.
2024-08-25 12:46:51 +01:00
gingerBill
7b14c267fb Merge pull request #4138 from z64/z64/fix-cmark
Fix binding to cmark_node_get_fence_info
2024-08-25 12:43:07 +01:00
VladPavliuk
cc2ed2b302 Fix win32 dwmapi enum. 2024-08-25 14:34:24 +03:00