aboutsummaryrefslogtreecommitdiff
path: root/platform/windows
Commit message (Collapse)AuthorAgeFilesLines
* Drop unusued LEGACYGL_ENABLED checkRémi Verschelde2017-10-132-2/+2
| | | | [ci skip]
* OS::execute can now read from stderr too when executing with a pipeMarcelo Fernandez2017-10-032-2/+2
|
* Merge pull request #11568 from endragor/loggersAndreas Haas2017-10-025-136/+216
|\ | | | | Extract logging logic
| * Extract logging logicRuslan Mustakov2017-09-255-136/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #11575 from marcelofg55/move_path_to_trashPoommetee Ketson2017-10-022-0/+29
|\ \ | | | | | | FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
| * | FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trashMarcelo Fernandez2017-09-252-0/+29
| |/
* | Reduce gcc lto build time by telling the linker toFelix M. Cobos2017-09-261-1/+4
| | | | | | | | use the number of jobs indicated by -j
* | Use BoolVariable in platform-specific options.Elliott Sales de Andrade2017-09-251-3/+3
| |
* | Use BoolVariable in target/component/advanced options.Elliott Sales de Andrade2017-09-251-1/+1
| |
* | Use EnumVariable for choice-based build options.Elliott Sales de Andrade2017-09-251-1/+2
|/
* Fix gcc ltoHein-Pieter van Braam2017-09-231-2/+7
| | | | | 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.
* Merge pull request #11243 from hpvb/add-debug-info-on-releaseRémi Verschelde2017-09-212-2/+21
|\ | | | | Create separate debug info files by default
| * Create separate debug info files by defaultHein-Pieter van Braam2017-09-162-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Rename pos to position in user facing methods and variablesletheed2017-09-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Prevent running the crash_handler when a debugger is present on windowsMarcelo Fernandez2017-09-182-19/+23
| |
* | Merge pull request #11252 from marcelofg55/fix_noaudio_crashRémi Verschelde2017-09-171-6/+1
|\ \ | |/ |/| Fix crash when no audio driver is available
| * Fix crash when no audio driver is availableMarcelo Fernandez2017-09-131-6/+1
| |
* | Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog2017-09-154-14/+14
|\ \ | | | | | | Fix enums bindings
| * | Fix enums bindingsMaxim Sheronov2017-09-134-14/+14
| | | | | | | | | | | | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* | | Buildsystem: Windows cross-compilation on Linux defaults to 64-bitRémi Verschelde2017-09-131-3/+6
| |/ |/|
* | Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez2017-09-137-15/+307
| |
* | Style: Apply clang-format to @reduz's changesRémi Verschelde2017-09-131-8/+6
| | | | | | | | [ci skip]
* | HiDPI support on Windows.. yes this is all it took.Juan Linietsky2017-09-121-0/+22
|/
* Remove assignment and declarations in if statementsHein-Pieter van Braam2017-09-083-8/+23
| | | | | | 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.
* Fix files headerPoommetee Ketson2017-09-012-2/+2
|
* Added new WASAPI driver for WindowsMarcelo Fernandez2017-08-273-1/+10
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2723-23/+23
|
* Free memory when Main::setup returns an errorWilson E. Alvarez2017-08-251-1/+6
|
* Merge pull request #10487 from marcelofg55/curscr_as_defaultRémi Verschelde2017-08-222-6/+6
|\ | | | | p_screen param from get_screen_* funcs now default to the current screen
| * p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez2017-08-212-6/+6
| |
* | Removed unnecessary assignmentsWilson E. Alvarez2017-08-211-2/+1
|/
* Windows: Drop support for obsolete MinGWRémi Verschelde2017-08-181-34/+19
| | | | | | | | 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.
* Workaround missing WM_TOUCH on mingw-w64 < 4.0Rémi Verschelde2017-08-181-4/+3
| | | | Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/
* Windows: Drop support for Vista (0x0600)Rémi Verschelde2017-08-181-2/+4
| | | | | | | | | | | 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.
* Removed unused variableWilson E. Alvarez2017-08-171-1/+0
|
* Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-161-4/+4
| | | | Fixes #10244.
* Merge pull request #10264 from Rubonnek/use-const-referenceRémi Verschelde2017-08-164-4/+4
|\ | | | | Use const reference where favorable
| * Use const reference where favorableWilson E. Alvarez2017-08-144-4/+4
| |
* | Fix get_screen_* funcs returning old values after resolution changes on WindowsMarcelo Fernandez2017-08-142-48/+96
|/
* Merge pull request #10141 from ISylvox/lower_case_godot_apiRémi Verschelde2017-08-072-2/+2
|\ | | | | Makes all Godot API's Methods lower_case
| * Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-072-2/+2
| |
* | Merge pull request #10045 from marcelofg55/audioserver_finishRémi Verschelde2017-08-071-4/+0
|\ \ | |/ |/| Fix double finalisation of audio drivers
| * Fix double finalisation of audio driversMarcelo Fernandez2017-08-021-4/+0
| |
* | Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov2017-08-062-2/+2
|/ | | | Closes #7695
* Merge pull request #9886 from bruvzg/3.0-win-num-enter-fixRémi Verschelde2017-07-311-1/+6
|\ | | | | Fix Numpad Enter key on Windows (3.0)
| * Fix Numpad Enter key on Windowsbruvzg2017-07-261-1/+6
| |
* | added an optional parameter to OS symbol lookupKarroffel2017-07-272-4/+8
|/ | | | | | | | 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.
* Make MinGW test less verbose on non-Bash shellsRémi Verschelde2017-07-251-9/+2
| | | | | The &> construct seems to be Bash-specific. Supersedes #9755.
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-193-6/+7
| | | | -Added system for feature overrides, it's pretty cool :)
* -Reorganized all properties of project settings (Sorry, Again).Juan Linietsky2017-07-171-1/+1
| | | | | (Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)