summaryrefslogtreecommitdiffstats
path: root/drivers/windows
Commit message (Collapse)AuthorAgeFilesLines
* Rebrand preambles to RedotDubhghlas McLaughlin2024-10-116-0/+12
| | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Merge pull request #95678 from Hilderin/fix-slow-load-on-large-project-v2Rémi Verschelde2024-09-261-1/+0
|\ | | | | | | Fix slow editor load on large projects (v2)
| * Fix slow editor load on large projects (v2)Hilderin2024-09-251-1/+0
| |
* | SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
|/
* Merge pull request #96840 from bruvzg/open_wstatRémi Verschelde2024-09-111-5/+6
|\ | | | | | | [Windows] Remove `_wstat` use in `FileAccessWindows::open_internal`
| * [Windows] Remove _wstat use in FileAccessWindows::open_internalbruvzg2024-09-111-5/+6
| |
* | Merge pull request #74830 from AThousandShips/win_time_fixRémi Verschelde2024-09-111-7/+32
|\ \ | |/ |/| | | [Windows] Use `GetFileTime` for `FileAccess`
| * [Windows] Use `GetFileTime` for `FileAccess`A Thousand Ships2024-09-061-7/+32
| | | | | | | | Prevents DST from rearranging file times.
* | Add support for non-blocking IO mode to `OS.execute_with_pipe`.bruvzg2024-09-062-4/+10
|/
* Merge pull request #92167 from ↵Rémi Verschelde2024-09-024-189/+5
|\ | | | | | | | | | | BlueCube3310/file-access-the-final-season-part3-ep2 Reduce code duplication in FileAccess
| * Reduce code duplication in FileAccessBlueCube33102024-09-014-189/+5
| |
* | Fix Windows importer issue with new file detectionYahkub-R2024-09-011-3/+2
|/
* [Windows] Fix handling X: paths.bruvzg2024-08-291-1/+3
|
* Fix Win32 rename function.Saracen2024-08-291-1/+1
|
* [Windows] Always use absolute UNC paths and long path aware APIs, add "long ↵bruvzg2024-08-282-132/+130
| | | | path aware" flag to the application manifest.
* Merge pull request #91100 from bruvzg/x_finksRémi Verschelde2024-04-292-3/+63
|\ | | | | | | Add symlink API support for Windows, expose symlink methods.
| * Add symlink API support for Windows, expose symlink methods.bruvzg2024-04-282-3/+63
| |
* | [Windows] Improve warning for path casing.A Thousand Ships2024-04-271-10/+55
|/
* [FileAccess] Implement `resize` method.bruvzg2024-04-123-0/+21
|
* Implement `OS.execute_with_pipe` method to run process with redirected stdio.bruvzg2024-03-272-0/+254
| | | | Implement `pipe://*` path handling for creation of named pipes.
* Pre-commit: Update to clang-format 17.0.6 and black 24.2.0Rémi Verschelde2024-02-281-1/+1
|
* Add const lvalue ref to core/* container parametersMuller-Castro2024-02-142-2/+2
|
* Fix invalid file path handling in Windows when there is dot in the file nameGNSS-Stylist2024-02-131-1/+6
| | | | This basically re-adds dot-removal removed by the previous commit.
* [Windows] Fix windows is_path_invalid, and apply it to directory creation.bruvzg2024-02-093-7/+11
|
* Use platform-specific methods for FileAccess reading and writingBlueCube33102023-10-292-0/+129
|
* Add method to check if filesystem is case sensitive.bruvzg2023-10-092-0/+49
|
* Windows: Remove `MSVC` define redundant with `_MSC_VER`Rémi Verschelde2023-09-261-0/+1
| | | | Cleanup unused MSVC code in FileAccessUnix.
* [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-121-9/+9
|
* UWP: Remove platform port, needs to be redone from scratch for 4.xRémi Verschelde2023-09-071-23/+3
| | | | | | | | | | | The UWP platform port was never ported to the Godot 4.0+ API, and it's now accumulating bitrot as it doesn't compile, and thus we no longer propagate platform changes in it. So we finally remove to acknowledge this state. There's still some interest in reviving the UWP port eventually, especially as support for Direct3D 12 will soon be merged, but when that happens it will be easiest to redo it from scratch.
* Make Windows' safe save more resilientPedro J. Estébanez2023-08-251-22/+17
|
* [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on ↵bruvzg2023-08-082-4/+57
| | | | macOS/BSD and Windows.
* Support long path in file access on windowsSamuele Panzeri2023-05-054-6/+21
| | | | Changed windows file access file to check for path length and use the \\?\ long format when needed
* Merge pull request #73156 from gw2cc/safe_saveYuri Sizov2023-03-161-4/+10
|\ | | | | Create a safe temporary file with is_backup_save_enabled
| * Create a safe temporary file with is_backup_save_enabledACB2023-03-151-4/+10
| |
* | Restore FileAccess.close method.bruvzg2023-02-162-0/+7
|/
* Prevent opening Windows console filesJuan Linietsky2023-01-112-1/+50
| | | | Fixes #20110.
* One Copyright Update to rule them allRémi Verschelde2023-01-054-116/+116
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-072-6/+6
| | | | change warnings=all to use /W4.
* Unix: Remove now unnecessary I/O defines, cleanupRémi Verschelde2022-10-031-27/+1
| | | | | | | | | | | | | | | | - `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_. - `NO_NETWORK` is also never defined. It probably isn't enough anyway to disable network APIs in the current codebase. - `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some other platforms, clarify that. - `NO_STATVFS` can be removed as Android supports it since API level 19, which is our current min SDK level. It's also only used for `DirAccessUnix::get_space_left()` which is anyway overridden by `DirAccessJAndroid::get_space_left()` so it shouldn't make a difference. * Fixed documentation for `DirAccess.get_space_left()`. - `NO_FCNTL` is likely also a remnant of early Android days, in current NDK r23 it seems to be available. Also cleaned up unused `fcntl.h` includes. - `NO_ALLOCA` is never defined, and we use alloca in many places now.
* Fix DirAccessWindows::make_dir() choking on ".."nikitalita2022-09-261-1/+1
| | | | | | `CreateDirectoryW()` chokes on absolute paths that contain `..` example: "C:\\workspace\\..\\games\\assets" Simplifying the path before creating the dir fixes this.
* Replace File/Directory with FileAccess/DirAccesskobewi2022-09-192-2/+2
|
* Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-6/+6
|
* Fix Windows list dir handle leakbitsawer2022-08-151-0/+2
|
* Add override keywords to DirAccess derived classesMarcel Admiraal2022-08-021-19/+19
|
* Add override keywords to FileAccess derived classesMarcel Admiraal2022-08-021-19/+19
|
* Remove or make private `FileAccess` `close()` methods.bruvzg2022-04-122-6/+6
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-112-2/+2
|
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-161-3/+4
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* [Windows] Add support for handling network share paths.bruvzg2022-01-241-2/+9
|
* Style: Remove inconsistently used `@author` docstringsRémi Verschelde2022-01-041-6/+2
| | | | | | | | | | Each file in Godot has had multiple contributors who co-authored it over the years, and the information of who was the original person to create that file is not very relevant, especially when used so inconsistently. `git blame` is a much better way to know who initially authored or later modified a given chunk of code, and most IDEs now have good integration to show this information.