aboutsummaryrefslogtreecommitdiff
path: root/drivers/windows
Commit message (Collapse)AuthorAgeFilesLines
* 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-321/+227
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-052-2/+58
|
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* DirAccessWindows: Fix list_dir_begin return typeRémi Verschelde2017-01-141-1/+1
| | | | Fixes bug introduced in da4170540cbe3dcec4855ddbb59edf1abd7cf9b4.
* Fixed dir access return value, changed it to Error like all other funcsJuan Linietsky2017-01-141-2/+2
|
* Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde2017-01-081-2/+0
| | | | | | | | Passed as a compiler define to be sure it is always define before windows.h is loaded. This means that Godot officially requires Vista API or later, it will not work on Windows XP or earlier. Also fix a bogus check for Windows 7 API.
* Added missing readers writers lock to windows, should compile and run again..Juan Linietsky2017-01-082-0/+109
|
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-0112-12/+12
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Fix issue #7331REBELLIOUSX\Rebel_X2016-12-221-1/+1
| | | | A Drive with "Z" letter assigned to it on Windows will be shown.
* Rename remaining WinRT references to UWPGeorge Marques2016-11-031-1/+1
|
* Rename WINRT_ENABLED to UWP_ENABLEDGeorge Marques2016-11-036-6/+6
|
* SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
| | | | Also switch existing shebangs to "better" /usr/bin/env python.
* drivers: Refactor SCsub and drop redundant env_drivers cloneRémi Verschelde2016-10-151-1/+1
| | | | | | | | | The reordering of the SConscript includes allows to ensure that stuff like the builtin zlib headers will be available for libpng. Also moved glew back into global env, otherwise windows seems not to find it... Kind of shooting in the dark with this multi-env setup.
* Fix drivers coding for WinRTGeorge Marques2016-09-033-27/+10
| | | | | | | - Add a proper function to retrieve IP addresses. - Solve issues with Windows FileAccess and DirAccess to use the same code for WinRT. - Add patches to the GLES2 rasterizer to workaround ANGLE issues.
* Fix some bugs in diraccess, closes #5288Juan Linietsky2016-06-301-10/+10
|
* try to fix windows buildJuan Linietsky2016-06-252-1/+2
|
* Added function to notify ScriptLanguage when a thread is created/freed, ↵Juan Linietsky2016-06-251-1/+8
| | | | allows scripts to allocate a stack there via TLS
* Fix make_dir for long paths on WindowsGeorge Marques2016-06-181-1/+1
|
* -made get_space_left() return values more homogenous, also for script, ↵Juan Linietsky2016-06-181-1/+2
| | | | converted to mb, closes #4617
* Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872Juan Linietsky2016-06-181-8/+7
|
* -Add visible IO errors when closing a file fails due to it being locked ↵Juan Linietsky2016-06-131-0/+4
| | | | (most likely on windows), closes #4760
* Somewhat fixed Directory::get_space_left() return values.J08nY2016-06-061-6/+10
|