| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add `#assert(intrinsics.type_is_superset_of(File_Stream_Mode, io.Stream_Mode))` | gingerBill | 2025-11-17 | 1 | -1/+3 |
| | | |||||
| * | Merge branch 'master' into bill/os2-file-stream | gingerBill | 2025-11-17 | 3 | -6/+6 |
| |\ | |||||
| | * | Use `_get_platform_error()` where more appropriate | gingerBill | 2025-11-14 | 3 | -6/+6 |
| | | | |||||
| * | | Added some comments | gingerBill | 2025-11-14 | 1 | -3/+2 |
| | | | |||||
| * | | Add `File_Stream` to replace `io.Stream`+`Fstat_Callback` within `os2` | gingerBill | 2025-11-14 | 6 | -81/+161 |
| |/ | |||||
| * | `Empty` -> `Unsupported`bill/io-error-changes | gingerBill | 2025-11-14 | 5 | -6/+6 |
| | | |||||
| * | Move some of the os&os2 errors into `io.Error`; Rename Empty to Unsupported | gingerBill | 2025-11-14 | 2 | -26/+10 |
| | | |||||
| * | Document the rest of `os2`. | gingerBill | 2025-10-31 | 3 | -5/+45 |
| | | |||||
| * | Update documentation for `os2` once more! | gingerBill | 2025-10-31 | 5 | -18/+143 |
| | | |||||
| * | Improve documentation for the file based operations in os2 | gingerBill | 2025-10-31 | 1 | -5/+145 |
| | | |||||
| * | Change to `Permissions` bit_set from relying on octal numbering for os2 | gingerBill | 2025-10-31 | 14 | -44/+88 |
| | | |||||
| * | use `runtime.exit` for `os2.exit` | gingerBill | 2025-10-31 | 5 | -20/+2 |
| | | |||||
| * | Remove `core:encoding/ini` dependency in `user_posix.odin` | gingerBill | 2025-10-28 | 1 | -12/+12 |
| | | |||||
| * | Add `#caller_location` to `os2.read_entire_file` | gingerBill | 2025-10-28 | 1 | -10/+7 |
| | | |||||
| * | [core:os/os2] zeroed `n` value on failed file operations | A1029384756 | 2025-10-27 | 2 | -12/+19 |
| | | |||||
| * | Fix Linux executable path | Kamron Bhavnagri | 2025-10-18 | 1 | -1/+2 |
| | | | | | | | | | Fixes a bug caused by an executable named identically to the directory it is in, where then the parent of that directory is both on the path and marked as executable Avoid this via stat, as we can check we are working with a file which is executable | ||||
| * | Further overhaul of package line comments. | Jeroen van Rijn | 2025-10-09 | 1 | -1/+1 |
| | | |||||
| * | More package lines. | Jeroen van Rijn | 2025-10-09 | 1 | -0/+1 |
| | | |||||
| * | fix: another itoa() used in path_linux.odin had to be replaced with write_int() | samwega | 2025-10-03 | 1 | -1/+1 |
| | | |||||
| * | fix: cars i64 instead of int | samwega | 2025-10-03 | 1 | -1/+1 |
| | | |||||
| * | os_linux.odin was using itoa, changed to use write_int() | samwega | 2025-10-03 | 1 | -1/+1 |
| | | |||||
| * | fix for temp_file name prefix being deallocated before being used | Alex Riedl | 2025-09-11 | 1 | -7/+5 |
| | | |||||
| * | Handle optional allocator error when appending read bytes in ↵ | Damian Tarnawski | 2025-09-02 | 1 | -1/+1 |
| | | | | | read_entire_file_from_file | ||||
| * | More contextless fixes | gingerBill | 2025-08-08 | 2 | -7/+8 |
| | | |||||
| * | Add contextless to another proc | gingerBill | 2025-08-08 | 1 | -2/+2 |
| | | |||||
| * | Make `get_args` contextless | gingerBill | 2025-08-08 | 1 | -1/+8 |
| | | |||||
| * | Require `@(init)` and `@(fini)` to be `proc "contextless" ()` | gingerBill | 2025-08-08 | 13 | -29/+45 |
| | | |||||
| * | Merge branch 'master' into bill/utf16-strings | gingerBill | 2025-08-05 | 1 | -3/+3 |
| |\ | |||||
| | * | Fixed delete-after-free in file_windows.odin | Jared Cone | 2025-08-04 | 1 | -3/+3 |
| | | | |||||
| * | | Remove unneeded uses of `intrinsics.constant_utf16_cstring` | gingerBill | 2025-08-02 | 1 | -1/+1 |
| | | | |||||
| * | | os2 internals -> (c)string16 | gingerBill | 2025-08-02 | 8 | -47/+74 |
| | | | |||||
| * | | `for in string16`; Support `string16` across core | gingerBill | 2025-08-02 | 3 | -4/+4 |
| |/ | |||||
| * | Fixed the build check: ('arg' declared but not used) against the ↵ | WisonYe | 2025-07-19 | 4 | -4/+4 |
| | | | | | '-default-to-nil-allocator' fix for FreeBSD/OpenBSD/NetBSD/Linux. | ||||
| * | Fixed Index 0 is out of range 0..<0' when using '-default-to-nil-allocator' ↵ | WisonYe | 2025-07-19 | 3 | -5/+5 |
| | | | | | for Linux/OpenBSD/NetBSD. | ||||
| * | Fixed 'Odin/core/os/os_linux.odin(1104:7) Index 0 is out of range 0..<0' ↵ | WisonYe | 2025-07-19 | 1 | -2/+2 |
| | | | | | when using '-default-to-nil-allocator'. | ||||
| * | Fixed 'Odin/core/os/os_freebsd.odin(971:7) Index 0 is out of range 0..<0' ↵ | WisonYe | 2025-07-19 | 1 | -2/+2 |
| | | | | | when using '-default-to-nil-allocator'. | ||||
| * | Replace system:System.framework imports with system:System | Harold Brenes | 2025-07-13 | 2 | -3/+3 |
| | | | | | This makes the linker work for both macOS and iOS targets | ||||
| * | Merge branch 'master' into args-leak | Jeroen van Rijn | 2025-06-27 | 69 | -1457/+4264 |
| |\ | |||||
| | * | OpenBSD | Jeroen van Rijn | 2025-06-16 | 1 | -2/+31 |
| | | | |||||
| | * | Fix macOS | Jeroen van Rijn | 2025-06-16 | 1 | -1/+1 |
| | | | |||||
| | * | Add buffered get_env variants to os2 | Jeroen van Rijn | 2025-06-16 | 7 | -13/+140 |
| | | | |||||
| | * | Factor out buffered utf helper. | Jeroen van Rijn | 2025-06-16 | 1 | -30/+7 |
| | | | |||||
| | * | Add bring-your-own-buffer versions of `os.lookup_env` and `os.get_env` | Jeroen van Rijn | 2025-06-16 | 9 | -24/+261 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And make `core:terminal` use it so that `core:log` can be imported with `-default-to-nil-allocator`, in which the actual allocator is set up in `main()`. Windows was tricky because of the utf-8 <> utf-16 conversion, so we use some temporary stack buffers for that purpose, limiting the non-allocating version there to 512 utf-16 characters each for the key and environment value. In general the value is (obviously) limited to the size of the supplied buffer, and a `.Buffer_Full` error is returned if that buffer is insufficient. If the key is not found, the procedure returns `.Env_Var_Not_Found`. TODO: - Factor out buffer-backed utf8 + utf16 conversion to `core:sys/util` to more easily apply this pattern. - Add similar `lookup_env` and `get_env` procedures to `core:os/os2`. Fixes #5336 | ||||
| | * | WASI | Jeroen van Rijn | 2025-06-13 | 1 | -0/+9 |
| | | | |||||
| | * | stub out get_env for js | Jeroen van Rijn | 2025-06-13 | 1 | -0/+5 |
| | | | |||||
| | * | Replace core:posix usage in core:os/os2 | Jeroen van Rijn | 2025-06-13 | 3 | -9/+106 |
| | | | |||||
| | * | Merge pull request #5286 from Feoramund/no-san-mem | gingerBill | 2025-06-09 | 6 | -16/+17 |
| | |\ | | | | | | | Add `@(no_sanitize_memory)` with additions to `base:sanitizer` | ||||
| | | * | Mark some uninitialized memory as safe | Feoramund | 2025-06-05 | 6 | -16/+17 |
| | | | | | | | | | | | | | | | | Syscalls (but not C functions) are opaque to MemorySanitizer, thus some memory addresses need to be manually marked as safe to access. | ||||
| | * | | Simplify `_xdg_user_dirs_lookup` | Jeroen van Rijn | 2025-06-08 | 2 | -61/+41 |
| | | | | |||||
| | * | | Merge pull request #5295 from elyalon/dirs | Jeroen van Rijn | 2025-06-07 | 4 | -57/+222 |
| | |\ \ | | | | | | | | | Fix user dirs, add docs | ||||