summaryrefslogtreecommitdiffstats
path: root/drivers/windows/file_access_windows.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Moved member variables to initializer listWilson E. Alvarez2018-12-111-5/+4
|
* Fixing warnings generated by MSVCDualtagh Murray2018-10-191-2/+2
| | | | Fixes #22684.
* 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-101-20/+0
|
* Merge pull request #18914 from notwarp/masterJuan Linietsky2018-08-101-0/+20
|\ | | | | added get_creation_time function for gdscript
| * added get_creation_time function for gdscriptDaniele Giuliani2018-05-161-0/+20
| |
* | Style: Format code with clang-format 6.0.1Rémi Verschelde2018-07-181-3/+3
|/
* Fix delay in rename_error windows save loop, should be 100msec, not 1secRobin Hübner2018-05-031-1/+1
|
* 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-131-5/+17
|
* fix buffer write performance on Windows and UnixMarcin Zawiejski2018-02-041-0/+5
|
* Add a proper error when safe save fails.Juan Linietsky2018-02-021-0/+3
|
* 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-051-0/+1
| | | | | | 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-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Extract logging logicRuslan Mustakov2017-09-251-0/+6
| | | | | | | | | | | | | | | | | | | 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-201-3/+3
| | | | | | | | | | | 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-271-1/+1
|
* Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-161-2/+2
| | | | Fixes #10244.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-75/+57
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* 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.
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | 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!
* Rename remaining WinRT references to UWPGeorge Marques2016-11-031-1/+1
|
* Rename WINRT_ENABLED to UWP_ENABLEDGeorge Marques2016-11-031-1/+1
|
* Fix drivers coding for WinRTGeorge Marques2016-09-031-1/+9
| | | | | | | - 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.
* -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
* -Added a new mode, WRITE_READ to File, to recover compatibility with old ↵Juan Linietsky2016-01-101-0/+2
| | | | projects but also achieve desired functionality. Closes #3272
* Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes ↵Juan Linietsky2016-01-021-1/+1
| | | | #2278
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* Merge pull request #1438 from Spooner/fix_isometric_demoJuan Linietsky2015-03-221-1/+1
|\ | | | | Fix isometric demo
| * Corrected behaviour of File.READ_WRITE mode (fixes #378)Bil Bas (Spooner)2015-02-161-1/+1
| |
* | Update file_access_windows.cpp for mingw cross-compileMatthew Hughes2015-03-151-2/+4
| | | | | | Cross compiling on linux failed on this file. Changing case of the windows.h and shlwapi.h allows mingw to find these headers but setting WINVER 0x0500 is needed for the compiler to find ReplaceFileW
* | support for 2D shadow castersJuan Linietsky2015-03-021-3/+17
|/ | | | | | | | | | Added support for 2D shadow casters. *DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a CanvasItem and pull this, you will lose them. Shaders now work through a 2D material system similar to 3D. If you don't want to lose the 2D shader code, save the shader as a .shd, then create a material in CanvasItem and re-assign the shader.
* Small batch of fixesJuan Linietsky2014-12-151-1/+0
| | | | | | | -=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+251