summaryrefslogtreecommitdiff
path: root/drivers/windows
AgeCommit message (Collapse)Author
2018-09-12ENet wrapper properly detect disconnect on pollFabio Alessandrelli
Now PacketPeerUDP.get_available_packet_count() return -1 if the socket is in error state.
2018-09-12Properly reset socket blocking state on closeFabio Alessandrelli
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
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.
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-10Revert "added get_creation_time function for gdscript"Juan Linietsky
2018-08-10Merge pull request #18914 from notwarp/masterJuan Linietsky
added get_creation_time function for gdscript
2018-07-18Style: Format code with clang-format 6.0.1Rémi Verschelde
2018-05-26Merge pull request #18279 from RandomShaper/allow-naive-httpMax Hilbrunner
Allow body-up-to-EOF HTTP responses
2018-05-22Allow body-up-to-EOF HTTP responsesPedro J. Estébanez
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.
2018-05-16added get_creation_time function for gdscriptDaniele Giuliani
2018-05-03Fix delay in rename_error windows save loop, should be 100msec, not 1secRobin Hübner
2018-05-01Merge pull request #18334 from Faless/coverity_netRémi Verschelde
Various coverity scan fixes, WS FreeBSD fixes
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-21Various coverity scan fixes for networkingFabio Alessandrelli
Fix FreeBSD websocket compilation error
2018-04-18Fix case mismatch check on WindowsRémi Verschelde
@reduz pushed the old 44989bc95754b40f4c00f10db43ed91f64a3e475 commit today which he had forgotten in his local clone, and apparently it does not compile. Also fixed style.
2018-04-18Test and warn of case mismatch on WindowsJuan Linietsky
Will throw a warning when a file is opened with a different case than what is stored on the Windows filesystem.
2018-04-03Trigger IO error only after exhausting attemptsTom Dobbelaere
2018-03-13Added File.get_path and File.get_path_absolute functionsMarcelo Fernandez
2018-02-24Fix Windows file case changingHein-Pieter van Braam
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)
2018-02-04fix buffer write performance on Windows and UnixMarcin Zawiejski
2018-02-02Add a proper error when safe save fails.Juan Linietsky
2018-01-30Display set_nodelay to GDScriptMarlon Henry Schweigert
Pass enabled arg Rename set_nodelay to set_no_delay Add description to the method Change description
2018-01-12Attempt renaming multiple times on safe file save, and make the behavior ↵Juan Linietsky
optional. Fixes #14339.
2018-01-05Fixed problem with missing uninitialized last byte on waveform trip, closes ↵Juan Linietsky
#15316
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-15Move windows networking class to drivers/windows/Fabio Alessandrelli
Also rename stream_peer_winsock.* to stream_peer_tcp_winsock.* and StreamPeerWinsock to StreamPeerTCPWinsock.
2017-10-13Fixed issue #12019, which prevented the creation of new folders on Windows ↵Falk Moser
platform
2017-09-25Extract logging logicRuslan Mustakov
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.
2017-09-20Rename pos to position in user facing methods and variablesletheed
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.
2017-09-08Remove assignment and declarations in if statementsHein-Pieter van Braam
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.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-14DirAccessWindows: Fix list_dir_begin return typeRémi Verschelde
Fixes bug introduced in da4170540cbe3dcec4855ddbb59edf1abd7cf9b4.
2017-01-14Fixed dir access return value, changed it to Error like all other funcsJuan Linietsky
2017-01-08Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde
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.
2017-01-08Added missing readers writers lock to windows, should compile and run again..Juan Linietsky
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-12-22Fix issue #7331REBELLIOUSX\Rebel_X
A Drive with "Z" letter assigned to it on Windows will be shown.
2016-11-03Rename remaining WinRT references to UWPGeorge Marques
2016-11-03Rename WINRT_ENABLED to UWP_ENABLEDGeorge Marques
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-15drivers: Refactor SCsub and drop redundant env_drivers cloneRémi Verschelde
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.
2016-09-03Fix drivers coding for WinRTGeorge Marques
- 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.