summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2017-10-14Fixed wrong Virtual-KeyCode(0x12) pair on Windows platform (#12073)Indah Sylvia
2017-10-13Drop unusued LEGACYGL_ENABLED checkRémi Verschelde
[ci skip]
2017-10-03OS::execute can now read from stderr too when executing with a pipeMarcelo Fernandez
2017-10-02Merge pull request #11568 from endragor/loggersAndreas Haas
Extract logging logic
2017-10-02Merge pull request #11575 from marcelofg55/move_path_to_trashPoommetee Ketson
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
2017-09-26Reduce gcc lto build time by telling the linker toFelix M. Cobos
use the number of jobs indicated by -j
2017-09-25FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trashMarcelo Fernandez
2017-09-25Use BoolVariable in platform-specific options.Elliott Sales de Andrade
2017-09-25Use BoolVariable in target/component/advanced options.Elliott Sales de Andrade
2017-09-25Use EnumVariable for choice-based build options.Elliott Sales de Andrade
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-23Fix gcc ltoHein-Pieter van Braam
This repairs LTO on X11 and adds it to MingW targets. The difference in linktime is substantial, but runtime performance is quite a bit better.
2017-09-21Merge pull request #11243 from hpvb/add-debug-info-on-releaseRémi Verschelde
Create separate debug info files by default
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-18Prevent running the crash_handler when a debugger is present on windowsMarcelo Fernandez
2017-09-17Merge pull request #11252 from marcelofg55/fix_noaudio_crashRémi Verschelde
Fix crash when no audio driver is available
2017-09-16Create separate debug info files by defaultHein-Pieter van Braam
Now that we have a built-in stacktrace on a segfault it would be useful to have debug information on debug_release builds so that bugreports can include this information. Without this debug info we will still get function names in the backtrace but not file location. This commit will by default build all targets with minimal debug info and then strip the information into separate files. On MacOS this is a .dSYM file, on Linux/MingW this is a .debug file. MacOSX will automatically load a dSYM file if it exists in its debugger. On Linux/MingW we create a 'gnu debuglink' meaning that gdb and friends will automatically find the debug symbols if they exist. Existing workflow for developers does not change at all, except that we now create two instead of one build artifact by default. This commit also adds a 'debug_symbols' option to X11, MacOS, and MingW targets. The default is 'yes' which corresponds to -g1. The alternatives are 'no' (don't generate debug infos at all) or 'full' which runs with -g2. A target=debug build will now build with -g3.
2017-09-15Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog
Fix enums bindings
2017-09-13Fix crash when no audio driver is availableMarcelo Fernandez
2017-09-13Buildsystem: Windows cross-compilation on Linux defaults to 64-bitRémi Verschelde
2017-09-13Fix enums bindingsMaxim Sheronov
Add missed bindings for enums Move some enums to class to have correct output of api.json
2017-09-13Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez
2017-09-13Style: Apply clang-format to @reduz's changesRémi Verschelde
[ci skip]
2017-09-12HiDPI support on Windows.. yes this is all it took.Juan Linietsky
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-09-01Fix files headerPoommetee Ketson
2017-08-27Added new WASAPI driver for WindowsMarcelo Fernandez
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-25Free memory when Main::setup returns an errorWilson E. Alvarez
2017-08-22Merge pull request #10487 from marcelofg55/curscr_as_defaultRémi Verschelde
p_screen param from get_screen_* funcs now default to the current screen
2017-08-21p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-18Windows: Drop support for obsolete MinGWRémi Verschelde
The version we support is MinGW-w64: https://sourceforge.net/p/mingw-w64 The old original MinGW from which it was forked (https://sourceforge.net/projects/mingw), is no longer maintained and useless for us. Fixes #10396.
2017-08-18Workaround missing WM_TOUCH on mingw-w64 < 4.0Rémi Verschelde
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/
2017-08-18Windows: Drop support for Vista (0x0600)Rémi Verschelde
We need the efficient SRWLock methods which are not supported on Vista, and loading them dynamically while providing fallbacks is not worth the effort. Closes #10243. Sorry Vista users... As you are running a supported which is no longer supported by Microsoft (https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet), we can only encourage you to upgrade to a more recent version if you can, or switch to Linux, which should give your old hardware a new youth.
2017-08-17Removed unused variableWilson E. Alvarez
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-16Merge pull request #10264 from Rubonnek/use-const-referenceRémi Verschelde
Use const reference where favorable
2017-08-14Fix get_screen_* funcs returning old values after resolution changes on WindowsMarcelo Fernandez
2017-08-14Use const reference where favorableWilson E. Alvarez
2017-08-07Merge pull request #10141 from ISylvox/lower_case_godot_apiRémi Verschelde
Makes all Godot API's Methods lower_case
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-08-07Merge pull request #10045 from marcelofg55/audioserver_finishRémi Verschelde
Fix double finalisation of audio drivers
2017-08-06Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov
Closes #7695
2017-08-02Fix double finalisation of audio driversMarcelo Fernandez
2017-07-31Merge pull request #9886 from bruvzg/3.0-win-num-enter-fixRémi Verschelde
Fix Numpad Enter key on Windows (3.0)
2017-07-27added an optional parameter to OS symbol lookupKarroffel
When looking up a symbol from a library, previously an error was shown when the symbol did not exist. That caused confusion when the lookup was completely optional. This adds a new parameter to that method so that those errors can be handled manually if needed.
2017-07-26Fix Numpad Enter key on Windowsbruvzg
2017-07-25Make MinGW test less verbose on non-Bash shellsRémi Verschelde
The &> construct seems to be Bash-specific. Supersedes #9755.
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)