| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Alias heap calls from `base:runtime` is `core:os` | gingerBill | 2024-01-28 | 1 | -21/+0 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 1 | -2/+2 |
| | | |||||
| * | clean up field names | Laytan Laats | 2023-12-08 | 1 | -8/+5 |
| | | |||||
| * | fix struct stat layout linux arm64 | Laytan Laats | 2023-12-06 | 1 | -20/+45 |
| | | |||||
| * | Implement new sys/unix package | flysand7 | 2023-10-27 | 1 | -1/+12 |
| | | |||||
| * | Fix wrong type | gingerBill | 2023-09-12 | 1 | -2/+2 |
| | | |||||
| * | fix(set_env): use `clone_to_cstring` instead of `unsafe_to_cstring` | Rickard Andersson | 2023-06-27 | 1 | -2/+2 |
| | | |||||
| * | style: use tabs | Rickard Andersson | 2023-06-27 | 1 | -3/+3 |
| | | | | | :[ | ||||
| * | cleanup: remove leftover line | Rickard Andersson | 2023-06-27 | 1 | -1/+0 |
| | | |||||
| * | fix(os): use `setenv` instead of `putenv` | Rickard Andersson | 2023-06-27 | 1 | -1/+5 |
| | | | | | | | `setenv` doesn't copy the value that is put, which means that the previous code had a bug where we free'd the temporary memory and the environment was accidentally cleared right after the function finished. | ||||
| * | fix(poll): make interface more odinary | Rickard Andersson | 2023-06-15 | 1 | -9/+7 |
| | | | | | | We take `fds` as a normal slice and get the length from it instead of bothering with a second parameter. | ||||
| * | cleanup: more tabs | Rickard Andersson | 2023-06-14 | 1 | -10/+10 |
| | | |||||
| * | fix(os_linux): call `ppoll` instead on `arm64` | Rickard Andersson | 2023-06-14 | 1 | -3/+1 |
| | | |||||
| * | cleanup(os_linux): remove `select` | Rickard Andersson | 2023-06-14 | 1 | -8/+0 |
| | | |||||
| * | feat(unix): add `poll` | Rickard Andersson | 2023-06-14 | 1 | -0/+36 |
| | | |||||
| * | Fix Timeval for darwin and linux | James Duran | 2023-06-07 | 1 | -2/+2 |
| | | |||||
| * | harmonize to use null for c-string endings | Jon Lipstate | 2023-03-28 | 1 | -1/+1 |
| | | |||||
| * | rename nul to null, allocation clarifications | Jon Lipstate | 2023-03-28 | 1 | -1/+1 |
| | | |||||
| * | Add `set_blocking` for network sockets | Sokus | 2023-03-08 | 1 | -0/+13 |
| | | |||||
| * | more manual type carryover | Colin Davidson | 2023-03-01 | 1 | -0/+8 |
| | | |||||
| * | manually start merging core_net | Colin Davidson | 2023-03-01 | 1 | -0/+243 |
| | | |||||
| * | Add temp allocator guard; clean up indentation | gingerBill | 2023-02-28 | 1 | -9/+10 |
| | | |||||
| * | Merge branch 'master' into new-temp-allocator | gingerBill | 2023-02-28 | 1 | -157/+70 |
| |\ | |||||
| | * | cleanup of os/linux | Colin Davidson | 2023-02-28 | 1 | -157/+41 |
| | | | |||||
| | * | make file access a little more normal across platforms | Colin Davidson | 2023-02-14 | 1 | -3/+31 |
| | | | |||||
| * | | Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriate | gingerBill | 2023-02-10 | 1 | -0/+17 |
| |/ | |||||
| * | Fix memory leak in `os.get_current_directory` on failure on *nix systems | gingerBill | 2023-01-16 | 1 | -0/+1 |
| | | |||||
| * | shuffle to private/public wrapper | Colin Davidson | 2023-01-06 | 1 | -3/+3 |
| | | |||||
| * | add get core count | Colin Davidson | 2023-01-05 | 1 | -0/+5 |
| | | |||||
| * | Make `os.get_last_error` contextless | gingerBill | 2022-12-08 | 1 | -1/+1 |
| | | |||||
| * | Add `Allocator_Mode.Alloc_Non_Zerored` | gingerBill | 2022-09-22 | 1 | -3/+9 |
| | | |||||
| * | Correct syscalls for `linux_i386` | gingerBill | 2022-08-24 | 1 | -1/+1 |
| | | |||||
| * | [os] Linux: os.unset_env() | Tetralux | 2022-05-18 | 1 | -0/+9 |
| | | |||||
| * | [os] Linux: Add os.exists(), os.get_env(), os.lookup_env(), os.set_env() | Tetralux | 2022-05-14 | 1 | -3/+24 |
| | | | | | | | exists() does the access() syscall. Renames getenv() to get_env() to match Windows. | ||||
| * | Minor improvements to io and os | gingerBill | 2022-05-05 | 1 | -3/+0 |
| | | |||||
| * | fix linux_arm64 | Sébastien Marie | 2022-03-12 | 1 | -11/+15 |
| | | | | | | - SYS_fork doesn't exist, uses SYS_clone - properly cast AT_FDCWD to uintptr | ||||
| * | Fix #1606 (Call `runtime._cleanup_runtime_contextless()` for `os.exit`) | gingerBill | 2022-03-09 | 1 | -0/+1 |
| | | |||||
| * | use `context.temp_allocator` instead of general allocation + delete() | Sébastien Marie | 2022-02-24 | 1 | -18/+9 |
| | | | | | where clone_to_cstring is used with foreign code, it is prefered to use `context.temp_allocator` instead of using the general allocator and manually delete the memory after use. | ||||
| * | Use the _unix_fstat pointer to avoid 144B copies on fileIO | Colin Davidson | 2022-02-18 | 1 | -5/+7 |
| | | |||||
| * | avoid memset on stats | Colin Davidson | 2022-02-16 | 1 | -3/+6 |
| | | |||||
| * | Merge pull request #1488 from colrdavidson/master | Jeroen van Rijn | 2022-02-15 | 1 | -0/+28 |
| |\ | | | | | Add fork and personality | ||||
| | * | Add fork and personality | Colin Davidson | 2022-02-11 | 1 | -0/+28 |
| | | | |||||
| * | | Merge branch 'master' into odin-global-constants-as-enums | gingerBill | 2022-02-15 | 1 | -0/+2 |
| |\| | |||||
| | * | Merge pull request #1376 from jasonKercher/master | gingerBill | 2022-02-05 | 1 | -0/+2 |
| | |\ | | | | | | | Added zeroing to new memory regions from _unix_realloc | ||||
| | | * | added notes about _unix_alloc | CiD- | 2021-12-17 | 1 | -0/+2 |
| | | | | |||||
| * | | | Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use strings | gingerBill | 2022-01-20 | 1 | -13/+13 |
| |/ / | |||||
| * | | check correct errno in _readlink | CiD- | 2022-01-12 | 1 | -2/+2 |
| | | | |||||
| * | | os_linux additions + libc to syscalls | CiD- | 2022-01-12 | 1 | -46/+231 |
| |/ | |||||
| * | core/sys/unix: Add syscalls_linux.odin | Yawning Angel | 2021-11-17 | 1 | -3/+2 |
| | | | | | | | | Linux is in the unfortunate situation where the system call number is architecture specific. This consolidates the system call number definitions in a single location, adds some wrappers, and hopefully fixes the existing non-portable invocations of the syscall intrinsic. | ||||
| * | Strip semicolons in core which were missing | gingerBill | 2021-09-08 | 1 | -372/+372 |
| | | |||||