aboutsummaryrefslogtreecommitdiff
path: root/core/os/os2/file_windows.odin
Commit message (Collapse)AuthorAgeFilesLines
* core:os -> core:os/old && core:os/os2 -> core:osJeroen van Rijn6 days1-995/+0
|
* In the middle of porting core:testingJeroen van Rijn7 days1-0/+5
|
* os\os2 windows: fix truncate-clamp op order when determining to_read sizeOleksandr Kovalenko2026-01-311-1/+1
|
* os: add non blocking open flagLaytan Laats2026-01-111-1/+9
|
* os/os2: use ReadFile for Console reads too, at least for nowlaytan2025-12-201-1/+4
|
* os/os2: better fix for the stale errorslaytan2025-12-201-19/+15
|
* os/os2: fix stale errors on windows when reading from consolelaytan2025-12-201-0/+1
|
* Add `File_Stream` to replace `io.Stream`+`Fstat_Callback` within `os2`gingerBill2025-11-141-20/+12
|
* `Empty` -> `Unsupported`bill/io-error-changesgingerBill2025-11-141-1/+1
|
* Change to `Permissions` bit_set from relying on octal numbering for os2gingerBill2025-10-311-8/+7
|
* Require `@(init)` and `@(fini)` to be `proc "contextless" ()`gingerBill2025-08-081-4/+4
|
* Merge branch 'master' into bill/utf16-stringsgingerBill2025-08-051-3/+3
|\
| * Fixed delete-after-free in file_windows.odinJared Cone2025-08-041-3/+3
| |
* | Remove unneeded uses of `intrinsics.constant_utf16_cstring`gingerBill2025-08-021-1/+1
| |
* | os2 internals -> (c)string16gingerBill2025-08-021-16/+52
| |
* | `for in string16`; Support `string16` across coregingerBill2025-08-021-1/+1
|/
* Revert "os2: Don't try to translate Windows file attributes to Unix mode flags"Jeroen van Rijn2025-05-121-27/+14
| | | | | This reverts commit 95923c2059758bac282f2b78a004d8daa3824994. It'll be updated later.
* Remove TEMP_ALLOCATOR_GUARD wrapperLucas Perlind2025-05-081-8/+8
|
* os2: Resolve temp allocator collisionsLucas Perlind2025-05-081-18/+18
|
* Fix change_times on Windows and simplify time handling in statJeroen van Rijn2025-05-041-12/+4
|
* os2: Don't try to translate Windows file attributes to Unix mode flagsJeroen van Rijn2025-05-041-14/+27
| | | | Also, fix `chmod`. It passed the wrong struct size to `SetFileInformationByHandle`.
* updated `file_windows.odin` to follow coding conventionsRohan Jadav2025-05-011-4/+5
|
* fix: Pipe size on windows.Rohan Jadav2025-04-271-2/+7
|
* os/os2: recursive directory walker, expose errors in read_directory, file cloneLaytan Laats2025-02-241-0/+23
| | | | | | 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
* Use static global memory for std handles instead of allocating.gingerBill2025-01-051-16/+37
|
* Fix #4406 `os2` to not close the std file handles but rather just free the ↵gingerBill2024-11-041-3/+3
| | | | memory for the `^File` data.
* Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-141-1/+1
| | | | file tag syntax.
* Fix EOF detection is os2 window readLaytan Laats2024-08-281-0/+4
|
* Return `0, nil` in all `io` cases where an empty slice is providedFeoramund2024-08-281-1/+5
|
* Fix `pread` and `pwrite` on `os2` WindowsFeoramund2024-08-281-2/+2
| | | | | The previous code was jumping ahead by the specified offset, instead of getting the current offset.
* Report invalid whence & offset on `os2` WindowsFeoramund2024-08-281-0/+2
|
* Fix Windows infinite recursion with `os2._flush`Feoramund2024-08-281-2/+2
|
* Add missing `io.Stream_Mode` responsesFeoramund2024-08-281-1/+1
|
* Comment out `open_buffered`gingerBill2024-08-041-49/+20
|
* Mock out `open_buffered`gingerBill2024-08-041-0/+69
|
* General clean up of `os2.read_directory` for WindowsgingerBill2024-07-241-10/+18
|
* Add missing attributegingerBill2024-07-241-1/+1
|
* Better handling of allocatorsgingerBill2024-07-241-7/+11
|
* Implement `init_long_path_support`gingerBill2024-07-231-1/+1
|
* Use `SHFileOperationW` for `remove_all` on WindowsgingerBill2024-07-231-1/+2
|
* Begin work on os2/dir.odingingerBill2024-07-231-17/+99
|
* Begin mocking out the linux stuff on os2gingerBill2024-07-231-19/+0
|
* Merge pull request #3940 from flysand7/os2-handle-inheritancegingerBill2024-07-191-1/+1
|\ | | | | [os2] Make all handles non-inheritable by default
| * Make all handles non-inheritable by defaultflysand72024-07-181-1/+1
| | | | | | | | | | The sockets are left as non-inheritable because they never should be inherited.
* | [os2]: Split file type from mode bitsflysand72024-07-181-7/+4
|/
* Clean up `os2.File.impl` usagegingerBill2024-07-141-66/+66
|
* Make `os2.File` a more generic interfacegingerBill2024-07-141-30/+41
|
* Use `fstat` on `os2.File` directlygingerBill2024-07-141-0/+1
|
* [os2/file]: Fixes related to handle inheritanceflysand72024-07-141-8/+6
| | | | | | | | All file handles created on Windows used to be made non-inheritable, by forcing the .Close_On_Exec flag in _open() function. In addition, there was an issue with security descriptor being freed before use, which has been fixed.
* Remove all uses of `context` stuff in os2gingerBill2024-05-141-2/+1
|