summaryrefslogtreecommitdiffstats
path: root/drivers/windows
Commit message (Collapse)AuthorAgeFilesLines
* Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'Rémi Verschelde2019-08-171-2/+3
| | | | | | | | | | The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is (conditionally defines the error message). There are a few ERR_EXPLAINC calls for C-strings where String is not included which can stay as is to avoid adding additional _MSGC macros just for that. Part of #31244.
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily2019-08-171-4/+1
| | | | | | | | | Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
* Remove redundant author doc commentsIAmActuallyCthulhu2019-08-124-16/+0
|
* Fix compilation warnings in JS and Windows buildsRémi Verschelde2019-06-151-2/+2
| | | | | | | | | | Warnings raised by Emscripten 1.38.0 and MinGW64 5.0.4 / GCC 8.3.0. JS can now build with `werror=yes warnings=extra`. MinGW64 still has a few warnings to resolve with `warnings=extra`, and only one with `warnings=all`. Part of #29033 and #29801.
* Fix errors when attempting to set UNIX permissions when unavailableHugo Locurcio2019-06-031-3/+1
| | | | | | This makes exporting from Windows to Linux work again. This closes #29416.
* Add FileAccess::set_unix_permissions for Unix platformsJuan Linietsky2019-04-072-0/+12
|
* Style: Apply new changes from clang-format 8.0Rémi Verschelde2019-04-091-1/+2
| | | | | | It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
* Merge pull request #27589 from Chaosus/fix_fileRémi Verschelde2019-04-082-0/+34
|\ | | | | Fix File switching between reading and writing, opened with READ_WRITE on Windows
| * Fix File opened with READ_WRITE on WindowsChaosus2019-04-052-0/+34
| | | | | | To allows use read and write anytime and in any order
* | Capitalise drive lettersTwarit2019-03-101-1/+1
|/ | | | Matches how other application like to display the drive letters
* Fix style issues from recent commitsRémi Verschelde2019-03-031-1/+0
|
* Remove some windows printsJuan Linietsky2019-03-021-2/+2
|
* Core: Ensure classes match their header filenameRémi Verschelde2019-02-122-119/+0
| | | | | | | | | | | | | | | Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
* Fix code style issuesRémi Verschelde2019-01-262-18/+17
|
* Fix compilation on UWPHein-Pieter van Braam2019-01-261-3/+3
| | | | | | It appears that MSVC and Mingw disagree about what conversions are legal here. We just use the 'wide' version of the call and use our native CharType instead of TCHAR.
* Add function to obtain filesystem type from DirAccess.Juan Linietsky2019-01-212-0/+32
| | | | Change EditorFileSystem to not use directory modification times on FAT32, fixes #20946
* Replace CreateThread with QueueUserWorkItemMarcin Zawiejski2019-01-191-7/+4
| | | Fixes #24869 stuttering on Windows by reusing long running threadpool threads instead of creating a new thread on each call to Thread::start.
* Update copyright statements to 2019Rémi Verschelde2019-01-0114-28/+28
| | | | Happy new year to the wonderful Godot community!
* Moved member variables to initializer listWilson E. Alvarez2018-12-112-8/+6
|
* Fixing warnings generated by MSVCDualtagh Murray2018-10-191-2/+2
| | | | Fixes #22684.
* SCons: Build thirdparty code in own env, disable warningsRémi Verschelde2018-09-281-2/+0
| | | | | Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
* Unify StreamPeerTCP/TCP_Server with NetSocket APIFabio Alessandrelli2018-09-124-717/+0
|
* Unify PacketPeerUDP using NetSocketFabio Alessandrelli2018-09-122-389/+0
|
* ENet wrapper properly detect disconnect on pollFabio Alessandrelli2018-09-121-1/+1
| | | | | Now PacketPeerUDP.get_available_packet_count() return -1 if the socket is in error state.
* Properly reset socket blocking state on closeFabio Alessandrelli2018-09-121-0/+1
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-1215-23/+37
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Make some debug prints verbose-only, remove othersRémi Verschelde2018-08-241-12/+8
|
* Revert "added get_creation_time function for gdscript"Juan Linietsky2018-08-102-21/+0
|
* Merge pull request #18914 from notwarp/masterJuan Linietsky2018-08-102-0/+21
|\ | | | | added get_creation_time function for gdscript
| * added get_creation_time function for gdscriptDaniele Giuliani2018-05-162-0/+21
| |
* | Style: Format code with clang-format 6.0.1Rémi Verschelde2018-07-181-3/+3
| |
* | Merge pull request #18279 from RandomShaper/allow-naive-httpMax Hilbrunner2018-05-261-0/+1
|\ \ | |/ |/| Allow body-up-to-EOF HTTP responses
| * Allow body-up-to-EOF HTTP responsesPedro J. Estébanez2018-05-221-0/+1
| | | | | | | | | | | | Implements the same heuristic as Curl (and web browsers): if no `Content-Length`, no `Connection: keep-alive` and no chunked transfer encoding, assume th rest of the data until EOF is the body, gracefully setting the HTTP client back to the disconnected state. Theoretically, this is not compliant with HTTP 1.1, by which `keep-alive` is the default, but in practice, an explicit header is sent by servers.
* | Fix delay in rename_error windows save loop, should be 100msec, not 1secRobin Hübner2018-05-031-1/+1
| |
* | Merge pull request #18334 from Faless/coverity_netRémi Verschelde2018-05-012-1/+4
|\ \ | |/ |/| Various coverity scan fixes, WS FreeBSD fixes
| * Various coverity scan fixes for networkingFabio Alessandrelli2018-04-212-1/+4
| | | | | | | | Fix FreeBSD websocket compilation error
* | Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-221-1/+1
|/
* Fix case mismatch check on WindowsRémi Verschelde2018-04-181-9/+12
| | | | | | @reduz pushed the old 44989bc95754b40f4c00f10db43ed91f64a3e475 commit today which he had forgotten in his local clone, and apparently it does not compile. Also fixed style.
* Test and warn of case mismatch on WindowsJuan Linietsky2018-04-181-0/+18
| | | | Will throw a warning when a file is opened with a different case than what is stored on the Windows filesystem.
* Trigger IO error only after exhausting attemptsTom Dobbelaere2018-04-031-4/+7
|
* Added File.get_path and File.get_path_absolute functionsMarcelo Fernandez2018-03-132-5/+22
|
* Fix Windows file case changingHein-Pieter van Braam2018-02-241-5/+22
| | | | | | | | | | Windows APIs don't really provide a way to change a filename case. This implements a little juggling to make this work. We first create a guaranteed unique temporary file, we then replace the original file with the temporary file and we finally rename it to the desired filename case. (cherry picked from commit d69d58deeaa523c6c38958b3956423ae8f814909)
* fix buffer write performance on Windows and UnixMarcin Zawiejski2018-02-042-0/+6
|
* Add a proper error when safe save fails.Juan Linietsky2018-02-021-0/+3
|
* Display set_nodelay to GDScriptMarlon Henry Schweigert2018-01-302-2/+2
| | | | | | | | | | | Pass enabled arg Rename set_nodelay to set_no_delay Add description to the method Change description
* Attempt renaming multiple times on safe file save, and make the behavior ↵Juan Linietsky2018-01-121-14/+25
| | | | optional. Fixes #14339.
* Fixed problem with missing uninitialized last byte on waveform trip, closes ↵Juan Linietsky2018-01-051-0/+1
| | | | #15316
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-0520-1/+21
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-0120-40/+40
| | | | Happy new year to the wonderful Godot community!
* Move windows networking class to drivers/windows/Fabio Alessandrelli2017-12-156-0/+1094
| | | | | Also rename stream_peer_winsock.* to stream_peer_tcp_winsock.* and StreamPeerWinsock to StreamPeerTCPWinsock.