Commit Graph
487 Commits
Author SHA1 Message Date
ed fd7af9a078 Merge tag 'dev-2024-07' 2024-07-01 13:32:04 -04:00
Laytan Laats 604551eb2d wasi: make the demo run on wasi and run it in CI 2024-06-29 23:15:31 +02:00
gingerBill e296d6fb90 Fix loads of indentation issues with mixing spaces and tabs 2024-06-29 19:50:51 +01:00
gingerBill 103eccf104 More style improvements 2024-06-29 19:23:58 +01:00
gingerBill b9861a0cf6 cast to transmute 2024-06-29 12:14:21 +01:00
gingerBill c18c0a3364 Adhere to -vet-cast 2024-06-29 12:07:21 +01:00
gingerBill 4b71c47fd5 Check for unneeded transmute with -vet-cast 2024-06-29 12:02:31 +01:00
Feoramund b3caae6db4 Keep -vet happy 2024-06-28 23:14:03 -04:00
jason 6a894195cb revert os2/process 2024-06-28 09:45:22 -04:00
jason dc954307d7 fix assumption about std handles in os2/file.odin 2024-06-28 07:55:33 -04:00
jason a15cbc474d change error strings to an enumerated array in rodata; print_error takes a file argument 2024-06-28 07:45:24 -04:00
jason f24f72c280 convert all to use sys/linux over sys/unix; new implementations for pipe, process and env 2024-06-27 17:14:48 -04:00
ed 4a072b8f4e Merge remote-tracking branch 'offical/master' 2024-06-26 23:24:48 -04:00
gingerBillandGitHub 28e33d86de Merge pull request #3776 from IllusionMan1212/os2-read-fix
fix(os2): check for 0 bytes read and return EOF
2024-06-20 15:37:41 +01:00
IllusionMan1212 c987b964c8 fix(os2): check for 0 bytes read and return EOF 2024-06-18 17:03:54 +02:00
ed 3f0169d9ff Merge remote-tracking branch 'offical/master' 2024-06-11 19:23:35 -04:00
Feoramund fc88de12c2 Implement absolute_path_from_handle for FreeBSD 2024-06-11 04:16:42 -04:00
Feoramund a3da796d54 Fix file_size on FreeBSD
It was using the generic UNIX `fstat` implemented in Odin, which is more
than what is needed here.

This also avoids the issue of needing a proper
`absolute_path_from_handle` implementation for it to work without error.
2024-06-11 03:55:41 -04:00
Feoramund 40e99ebb10 Fix file open O_* flags on FreeBSD 2024-06-11 03:55:41 -04:00
ed db610c4639 Merge remote-tracking branch 'offical/master' 2024-06-09 22:25:45 -04:00
Jeroen van Rijn de7d3e2487 Update dir_windows.odin 2024-06-08 17:00:38 +02:00
John LeidegrenandGitHub 35e57fdef8 Fixed error handling in read_dir on Windows 2024-06-08 15:58:34 +02:00
ed 8bfc2a0af0 Merge remote-tracking branch 'offical/master' 2024-06-06 10:31:33 -04:00
gingerBill 3a9b86628a Add @(rodata) and @(static, rodata) where appropriate 2024-06-06 15:23:52 +01:00
Andreas T Jonsson 929437c7bc Fixed broken import 2024-06-05 11:17:13 +02:00
Andreas T Jonsson ed6667ebf2 Propper thread identification on NetBSD 2024-06-05 11:06:14 +02:00
ed fba6f5ddc0 Merge remote-tracking branch 'offical/master' 2024-05-30 13:20:34 -04:00
Harold Brenes 2ecf909be0 Fix open() foreign libc signature on Darwin 2024-05-27 11:55:58 -04:00
Harold Brenes cfd4fc835b Fix a few darwin libc signatures with incorrect parameters. 2024-05-26 19:40:08 -04:00
ed 67ae530d22 Merge remote-tracking branch 'offical/master' 2024-05-16 09:42:57 -04:00
gingerBillandGitHub f9fd8f0c25 Merge pull request #3439 from andreas-jonsson/netbsd
NetBSD support
2024-05-15 10:33:52 +01:00
gingerBill 59c33dd9fc Add Fstat_Callback for File.user_fstat 2024-05-14 18:57:03 +01:00
gingerBill 6f9dcb4e02 Add missing @(require_results) 2024-05-14 18:46:45 +01:00
gingerBill 2b43535961 Fix typo 2024-05-14 18:45:47 +01:00
gingerBill 9a487ccb6f Delete dead code 2024-05-14 18:35:24 +01:00
gingerBill 453fc5182b Remove all uses of context stuff in os2 2024-05-14 18:34:05 +01:00
gingerBill 450b9ceaec Add @(require_results) everywhere in os2 2024-05-14 18:25:15 +01:00
gingerBill 48c1822709 Move utility stuff to internal_util.odin 2024-05-14 18:14:44 +01:00
gingerBill 91b7cdaad2 Mock out temp_file.odin stuff 2024-05-14 18:11:50 +01:00
gingerBill 361be301fa Use internal temp_allocator() 2024-05-14 17:24:37 +01:00
gingerBill ecd7846ec3 Clean up allocator stuff into allocators.odin 2024-05-14 17:10:53 +01:00
Andreas T Jonsson f428e30211 Minor code cleanup 2024-05-10 17:49:56 +02:00
Andreas T Jonsson b72c2edabb Merge branch 'master' into netbsd 2024-05-10 09:04:52 +02:00
ed 3641306ef2 Merge remote-tracking branch 'offical/master'
# Conflicts:
#	.gitignore
2024-05-05 20:00:13 -04:00
Feoramund 1165d65c94 Minimally support compiling Odin on FreeBSD arm64
This is enough to get Odin itself compiling and the demo running.
2024-05-05 07:26:45 -04:00
Andreas T Jonsson 7feff1c113 Merged with master 2024-05-02 09:27:46 +02:00
ed b62e3a98c6 Merge remote-tracking branch 'offical/master' 2024-04-30 15:28:31 -04:00
Damian TarnawskiandGitHub ae322739b5 Remove instrinsics and utf16 imports from os/os_js 2024-04-29 16:59:52 +02:00
Laytan Laats cc5faecced wasm: add the fprint procedures to fmt
This makes the `log` package work on wasm
2024-04-28 16:10:04 +02:00
Andreas T Jonsson 9a008d10f3 Merge branch 'master' into netbsd 2024-04-25 22:04:40 +02:00