summaryrefslogtreecommitdiff
path: root/drivers/windows
AgeCommit message (Collapse)Author
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
2015-04-18-fix local and global usage for DirAccess, fixes #791Juan Linietsky
please test anyway..
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-03-22fixes to new window management APIJuan Linietsky
-needs testing on Linux -needs testing on Windows -NEED SOMEONE TO IMPLEMENT IT ON OSX!! PLEASE HELP!
2015-03-22Merge pull request #1438 from Spooner/fix_isometric_demoJuan Linietsky
Fix isometric demo
2015-03-22Merge pull request #1512 from the-mech/masterJuan Linietsky
[Fix] make_dir_recursive on Windows
2015-03-21New option to show/hide hidden filesrollenrolm
2015-03-15Update file_access_windows.cpp for mingw cross-compileMatthew Hughes
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
2015-03-14[Fix] make_dir_recursive on WindowsRoman Nekrassow
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: .
2015-03-02support for 2D shadow castersJuan Linietsky
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.
2015-02-16Corrected behaviour of File.READ_WRITE mode (fixes #378)Bil Bas (Spooner)
2014-12-15Small batch of fixesJuan Linietsky
-=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light
2014-10-14FixesJuan Linietsky
-=-=- -Fixed normalmap depth parameter -Fixes to DirAccess on Windows -Double click on resource dock will open them -Fixes to doc generator (should make github wiki on class list more up to date)