Laytan Laats
cacb9f9f54
os2: better copy_directory, and add native copy_file and copy_directory variants on MacOS
2025-05-08 19:32:30 +02:00
Lucas Perlind
9f2d008a8a
Remove TEMP_ALLOCATOR_GUARD wrapper
2025-05-08 17:41:03 +10:00
Lucas Perlind
b9db1dd3e0
os2: Resolve temp allocator collisions
2025-05-08 17:41:01 +10:00
Laytan Laats
0e4140a602
os/os2: recursive directory walker, expose errors in read_directory, file clone
...
Adds a directory walker, a method of exposing and retrieving errors from
the existing read directory iterator, allows reusing of the existing
read directory iterator, and adds a file clone procedure
2025-02-24 20:40:44 +01:00
gingerBill
1bf33fe373
Use static global memory for std handles instead of allocating.
2025-01-05 12:53:20 +00: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
Laytan Laats
b07d0b38b1
os2: improve absolute/full path handling for posix
2024-08-14 01:45:23 +02:00
gingerBill
60bc7f53d2
Comment out open_buffered
2024-08-04 17:41:48 +01:00
gingerBill
046f72befd
Mock out open_buffered
2024-08-04 17:31:39 +01:00
gingerBill
2ddaae45f3
Better handling of allocators
2024-07-24 13:47:22 +01:00
gingerBill
24f9e2bbeb
Begin mocking out the linux stuff on os2
2024-07-23 16:06:14 +01:00
gingerBill
2f8399fe20
Merge pull request #3940 from flysand7/os2-handle-inheritance
...
[os2] Make all handles non-inheritable by default
2024-07-19 11:38:03 +01:00
flysand7
7b501b22bb
[os2]: Split file type from mode bits
2024-07-18 23:09:27 +11:00
flysand7
4dcb75af6d
Make all handles non-inheritable by default
...
The sockets are left as non-inheritable because they
never should be inherited.
2024-07-18 22:50:47 +11:00
gingerBill
4f73b35da5
Make os2.File a more generic interface
2024-07-14 15:09:33 +01:00
gingerBill
3d38f14202
Use fstat on os2.File directly
2024-07-14 14:51:22 +01:00
jason
dc954307d7
fix assumption about std handles in os2/file.odin
2024-06-28 07:55:33 -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
gingerBill
59c33dd9fc
Add Fstat_Callback for File.user_fstat
2024-05-14 18:57:03 +01:00
gingerBill
450b9ceaec
Add @(require_results) everywhere in os2
2024-05-14 18:25:15 +01:00
gingerBill
ecd7846ec3
Clean up allocator stuff into allocators.odin
2024-05-14 17:10:53 +01:00
gingerBill
271f84ab5b
Expect stream as a field directly on os2.File
2024-03-13 16:30:22 +00:00
gingerBill
a626adac8e
Use long-form names and alias with short-form UNIX-like names
2024-01-29 13:33:39 +00:00
gingerBill
3e7e779abf
Replace core:* to base:* where appropriate
2024-01-28 22:18:51 +00:00
gingerBill
a78d6fe0b3
Use i64 instead of int for internal procedures
2023-06-14 12:31:57 +01:00
gingerBill
2a212a7556
Put stream into the impl
2023-06-08 17:00:38 +01:00
gingerBill
145a7a24e8
Use io.Stream as the internal interface for os2.File
2023-06-08 16:55:01 +01:00
gingerBill
33895b6d92
Convert all uses of *_from_slice to *_from_bytes where appropriate
2022-05-16 01:43:43 +01:00
gingerBill
eef44b11f3
Make the utf16 conversion procedures in core:sys/windows safer by checking for memory leaks
2022-05-12 13:17:58 +01:00
gingerBill
8b4b81fdeb
Fill in most of os2/file_windows.odin
2022-05-12 11:33:01 +01:00
gingerBill
96ab17ecfc
Begin mocking os2 for windows out more
2022-05-05 18:01:44 +01:00
gingerBill
18bde22b26
Go to a File based approach over Handle based
2022-05-05 16:15:03 +01:00
gingerBill
ee876ad66b
Strip semicolons
2021-09-19 11:59:44 +01:00
gingerBill
ebbc33fdb5
Mockup of the new package os interface (incomplete and non-functioning)
2021-04-14 19:39:12 +01:00