summaryrefslogtreecommitdiff
path: root/drivers/windows
AgeCommit message (Collapse)Author
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.
2016-06-30Fix some bugs in diraccess, closes #5288Juan Linietsky
2016-06-25try to fix windows buildJuan Linietsky
2016-06-25Added function to notify ScriptLanguage when a thread is created/freed, ↵Juan Linietsky
allows scripts to allocate a stack there via TLS
2016-06-18Fix make_dir for long paths on WindowsGeorge Marques
2016-06-18-made get_space_left() return values more homogenous, also for script, ↵Juan Linietsky
converted to mb, closes #4617
2016-06-18Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872Juan Linietsky
2016-06-13-Add visible IO errors when closing a file fails due to it being locked ↵Juan Linietsky
(most likely on windows), closes #4760
2016-06-06Somewhat fixed Directory::get_space_left() return values.J08nY
2016-03-01Added relative paths for DirAccess::remove()Zher Huei Lee
Follows similar behaviour to DirAccess::rename()
2016-01-10-Added a new mode, WRITE_READ to File, to recover compatibility with old ↵Juan Linietsky
projects but also achieve desired functionality. Closes #3272
2016-01-02Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes ↵Juan Linietsky
#2278
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-11-01Cosmetic fixes to SCons buildsystemRémi Verschelde
- Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
2015-05-09-Corrected DirAccessWindows functions, fixes #1872, properly fixes #791.Juan Linietsky
2015-05-04Merge remote-tracking branch 'origin/master'Juan Linietsky
Conflicts: drivers/windows/dir_access_windows.cpp
2015-05-04small unicode fixesJuan Linietsky