aboutsummaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed white screen on editor/game startup by moving window displaying to a ↵Dmitry Koteroff2017-11-291-6/+6
| | | | bit later phase
* Allow customizing user:// path (folder in OS::get_data_path())Rémi Verschelde2017-11-261-6/+9
| | | | | | | | This allows to specify any valid folder name (including with subfolders) to use as user:// on all platforms. The folder is constrained to the platform-specific OS::get_data_path() (typically what `XDG_DATA_HOME` resolves to). Fixes #13236.
* Completed bc2e8d99e5ae0dbd69e712cc71da3033f5f30139 so that windows can be builtIndah Sylvia2017-11-251-1/+1
|
* Return and repair file loggingRuslan Mustakov2017-11-211-10/+3
| | | | And make it configurable, too.
* Pass engine name and version parts as proper stringsRémi Verschelde2017-11-201-1/+1
| | | | | | Removes the need for _MKSTR all over the place which has the drawback of converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing a compilation error.
* Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde2017-11-201-10/+47
|\ | | | | Add support for XDG Base Directory spec
| * Add initial support for the XDG Base Directory specRémi Verschelde2017-11-191-9/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html (latest as of this commit). Three virtual methods are added to OS for the various XDG paths we will use: - OS::get_data_path gives XDG_DATA_HOME, or if missing: ~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_config_path gives XDG_CONFIG_HOME, or if missing: ~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_cache_path gives XDG_CACHE_HOME, or if missing: ~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows So for Windows there are no changes, for Linux we follow the full split spec and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot. Support for system-wide installation of templates on Unix was removed for now, as it's a bit hackish and I don't think anyone uses it. user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by default, but when using the application/config/use_shared_user_dir option it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame. For now everything still goes in EditorSettings::get_settings_dir(), but this will be changed in a later commit to make use of the new splitting where relevant. Part of #3513.
| * Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde2017-11-171-2/+2
| | | | | | | | | | Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
* | Cleanup old references to GLES2 rendererRémi Verschelde2017-11-191-1/+1
|/ | | | | | | | | There are still some left in the Android Java code, even stuff to swap between GLES1 and GLES2 support from early Godot days... would be good to see some cleanup there too one day. The "graphics/api" option for Android exports is removed, as only GLES 3.0 is supported. It can be readded when GLES 2.0 support comes back. Fixes #13004.
* Make video mode initialization more intuitive, fixes #12022Juan Linietsky2017-11-091-5/+0
|
* Merge pull request #12262 from AndreaCatania/pplugJuan Linietsky2017-11-031-13/+0
|\ | | | | Physics server plug
| * Implemented physics plugAndreaCatania2017-11-041-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved init_physics Implemented physics 2D plug Fix clang Fix clang Fix static check Fix clang Fix static check Moved physics server initialization Moved physics server settings initialization
* | Disable logging until the logs location is sorted outRémi Verschelde2017-10-291-1/+3
|/ | | | Temporary workaround for #12277.
* OS::execute can now read from stderr too when executing with a pipeMarcelo Fernandez2017-10-031-1/+1
|
* Merge pull request #11568 from endragor/loggersAndreas Haas2017-10-021-133/+10
|\ | | | | Extract logging logic
| * Extract logging logicRuslan Mustakov2017-09-251-133/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trashMarcelo Fernandez2017-09-251-0/+27
|/
* Rename pos to position in user facing methods and variablesletheed2017-09-201-1/+1
| | | | | | | | | | | 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.
* 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-151-1/+1
|\ \ | |/ |/| Fix enums bindings
| * Fix enums bindingsMaxim Sheronov2017-09-131-1/+1
| | | | | | | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* | Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez2017-09-131-0/+10
| |
* | 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-081-1/+10
| | | | | | 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.
* Added new WASAPI driver for WindowsMarcelo Fernandez2017-08-271-0/+3
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Merge pull request #10487 from marcelofg55/curscr_as_defaultRémi Verschelde2017-08-221-3/+3
|\ | | | | 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-211-3/+3
| |
* | Removed unnecessary assignmentsWilson E. Alvarez2017-08-211-2/+1
|/
* 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/
* Removed unused variableWilson E. Alvarez2017-08-171-1/+0
|
* Fix get_screen_* funcs returning old values after resolution changes on WindowsMarcelo Fernandez2017-08-141-38/+96
|
* Merge pull request #10141 from ISylvox/lower_case_godot_apiRémi Verschelde2017-08-071-1/+1
|\ | | | | Makes all Godot API's Methods lower_case
| * Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-1/+1
| |
* | 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-061-1/+1
|/ | | | 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-271-3/+7
|/ | | | | | | | 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.
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-5/+5
| | | | -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)
* Fixed issues with borderless windows on WindowsMarcelo Fernandez2017-07-091-72/+42
|
* Fix MouseWheel position on WindowsGeorge Marques2017-06-151-2/+2
|
* Restired multithread support in OSX and Windows, should stop the crashes.Juan Linietsky2017-06-101-8/+6
|
* renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-3/+3
|
* InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-17/+17
| | | | Make the naming consistent with other classes.
* Fix a few issues compiling windows and using VS2015 and earlierBastiaanOlij2017-05-231-1/+1
|