aboutsummaryrefslogtreecommitdiff
path: root/drivers/windows (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Added relative paths for DirAccess::remove()Zher Huei Lee2016-03-011-2/+5
| | | | Follows similar behaviour to DirAccess::rename()
* -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-0112-12/+12
|
* Cosmetic fixes to SCons buildsystemRémi Verschelde2015-11-011-2/+0
| | | | | | - Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
* -Corrected DirAccessWindows functions, fixes #1872, properly fixes #791.Juan Linietsky2015-05-091-17/+19
|
* Merge remote-tracking branch 'origin/master'Juan Linietsky2015-05-0412-172/+77
|\ | | | | | | | | Conflicts: drivers/windows/dir_access_windows.cpp
| * -fix local and global usage for DirAccess, fixes #791Juan Linietsky2015-04-182-161/+65
| | | | | | | | please test anyway..
| * Updated copyright year in all headersJuan Linietsky2015-04-1812-12/+12
| |
* | small unicode fixesJuan Linietsky2015-05-041-2/+2
|/
* fixes to new window management APIJuan Linietsky2015-03-221-0/+1
| | | | | | -needs testing on Linux -needs testing on Windows -NEED SOMEONE TO IMPLEMENT IT ON OSX!! PLEASE HELP!
* 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
| |
* | Merge pull request #1512 from the-mech/masterJuan Linietsky2015-03-221-1/+1
|\ \ | | | | | | [Fix] make_dir_recursive on Windows
| * | [Fix] make_dir_recursive on WindowsRoman Nekrassow2015-03-141-1/+1
| | | | | | | | | function normally tries to create c: which isn't possible, because the access is denied, handling ERROR_ACCESS_DENIED as ERR_ALREADY_EXISTS lets the function skip the creation of c: .
* | | New option to show/hide hidden filesrollenrolm2015-03-212-0/+10
| | |
* | | 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-152-3/+5
| | | | | | | -=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light