summaryrefslogtreecommitdiffstats
path: root/drivers/windows
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fixed issue #12019, which prevented the creation of new folders on Windows ↵Falk Moser2017-10-131-1/+1
| | | | platform
* Extract logging logicRuslan Mustakov2017-09-253-1/+8
| | | | | | | | | | | | | | | | | | | Previously logging logic was scattered over OS class implementations with plenty of duplication. Major changes in this commit: - Extracted logging logic into a separate Logger hierarchy. It allows easy configuration of logging mechanism depending on compile-time or run-time configuration. - Implemented RotatedFileLogger which is usually used with StdLogger, providing persistency of logs. It is often important to be able to obtain logs of the game even in production to be able to understand what happened prior to some problem. On mobile there previously was no way to obtain the logs aside from having the device connected to your machine. - flush() is not performed in release mode for every logged line. It is only performed for errors.
* Rename pos to position in user facing methods and variablesletheed2017-09-202-4/+4
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Remove assignment and declarations in if statementsHein-Pieter van Braam2017-09-081-1/+2
| | | | | | After discussing with @reduz and @akien-mga it was decided that we do not allow assignments or declarations in if statements. This PR removes the instances of this I could find by automated means.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2714-14/+14
|
* Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-162-4/+4
| | | | Fixes #10244.
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-072-5/+5
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0814-0/+14
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0514-322/+228
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code