aboutsummaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "8145 - Mouse Position is unknown until first mouse event on X11 & Win"Rémi Verschelde2017-04-081-3/+0
| | | | | This reverts commit e5d63aaece5310aee39ba1da9a595fc7a8410a50. Same reasoning as #8291.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* 8145 - Mouse Position is unknown until first mouse event on X11 & WinSergey Pusnei2017-04-051-0/+3
| | | | | | | - X11 update input->pos on EnterNotify - X11 & Win call first-time events processing before main initialization (cherry picked from commit c79e998d1f12b281530b15d3015e7128418c8a60)
* Bring that Whole New World to the Old Continent tooRémi Verschelde2017-03-191-787/+658
| | | | | Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261.
* Replace misuse of list iterationIgnacio Etcheverry2017-03-181-3/+3
| | | | (cherry picked from commit 0cd309c5c7b75c9414902aa1fe057c894d6d3f42)
* Fix glitches when sampling relative cursor data in CAPTURED mouse mode on ↵Saracen2017-03-181-2/+3
| | | | | | Windows. (cherry picked from commit 523b69771b16cddc4635aa4a5c2d56cefec1d394)
* Fix gibberish output for windows/mingw.Fabio Alessandrelli2017-03-181-10/+2
| | | | | | | | | %ls should be used instead of %s or %S to speficy narrow/wide charstring in wprintf fwprintf Fixes #6252 (cherry picked from commit 3df934acadeadaf7b2f2920411016dcb3bde7d99)
* Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde2017-01-121-1/+1
| | | | | | | | | | 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. (cherry picked from commit 6323779596dea0db7f58afef7d3d3d5588ef20cb)
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-121-1/+1
| | | | | | | | | | 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! (cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
* Fix console output for MinGW compilersRémi Verschelde2017-01-121-2/+10
| | | | | Reworked patch from @jay3d (#7116). (cherry picked from commit f28ff8a20888f49cc744d0cc3b8455cfb1cf6874)
* vsnc --> vsyncISylvox2016-11-151-1/+1
| | | | (cherry picked from commit b5c383fd61d554fa02c3e231dd1f92145d90e04e)
* Fix the hiding of mouse cursor before interactionGeorge Marques2016-10-301-2/+5
| | | | | | Fix part of #6633 (cherry picked from commit 414d58e6c0ab8d3a75206127fac8e2b80cc67f29)
* Drop nedmalloc which is apparently not used anymoreRémi Verschelde2016-10-301-1/+0
| | | | (cherry picked from commit f63bf12193deaf9cae5b1d6c7289afc17a7de946)
* Improve debug focus behaviorPedro J. Estébanez2016-10-091-1/+6
| | | | | | | Fix focusing debugged game on Windows Add re-focusing editor on continue (cherry picked from commit 66dac878ac9fc278044281b7f67fbed668e4523d)
* Windows: prevent huge prints from crashing the engineMarc Gilleron2016-10-091-2/+5
| | | | (cherry picked from commit 0c09de3ef175b52937ffa2bba89a328cb282ad65)
* Hide the mouse cursor when MOUSE_MODE_CAPTURED is activated.Mario Schlack2016-09-011-0/+2
| | | | (cherry picked from commit f0b6a242cc1934fb15c53e3e1724451c397bcb8b)
* Windows: Make alert message box use MB_TASKMODALRémi Verschelde2016-07-261-1/+1
| | | | | | | This flag pauses the current running thread, allowing for the user to see the alert and acknowledge it before the thread continues (and e.g. crashes :)). Thanks to @SuperUserNameMan for finding it. Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx
* Avoid changing position when the window is fullscreenGeorge Marques2016-07-241-0/+1
|
* Merge pull request #5841 from vnen/fix-windows-wheelRémi Verschelde2016-07-211-4/+7
|\ | | | | Fix mouse wheel event position on Windows
| * Fix mouse wheel event position on WindowsGeorge Marques2016-07-211-4/+7
| |
* | Merge pull request #5560 from vnen/os-request-attentionRémi Verschelde2016-07-211-0/+11
|\ \ | |/ |/| Add OS.request_attention() for Windows
| * Add OS.request_attention() for WindowsGeorge Marques2016-07-051-0/+11
| |
* | Merge pull request #5525 from SuperUserNameMan/window_get_latin_kb_variantJuan Linietsky2016-07-101-0/+62
|\ \ | |/ |/| windows get_latin_keyboard_variant() implementation and gdscript binding, #5503
| * windows get_latin_keyboard_variant() implementation and gdscript bindingSuperUserNameMan2016-07-031-0/+62
| |
* | Windows: prevent freeze while moving or resizing the game window.Andreas Haas2016-07-011-1/+15
|/ | | | | | | When moving or resizing the window, Windows spins up a seperate event-loop, effectively blocking the normal one. To work around this, we're starting a timer that will continue sending WM_TIMER messages which we can use to keep the mainloop running. fixes #4695
* Fix visual server error when minimizing the windowGeorge Marques2016-06-261-2/+6
|
* property output unix seconds since epoch in windows get_system_time_secs, ↵Juan Linietsky2016-06-111-1/+7
| | | | fixes #5155
* Windows: Hide mouse on MOUSE_MODE_CAPTUREDJ08nY2016-06-071-1/+1
| | | | Fixes #5051
* vsync supportJuan Linietsky2016-06-051-0/+15
| | | | | | -works on windows -may not work on X11, if so please fix -OSX does not seem to support disabling vsync
* -customizable shortcuts in editorJuan Linietsky2016-06-041-1/+1
| | | | | -editor settings now save to .tres instead of .xml -buttons can now hold a shortcut
* change invalid characters when get user data dir on Windows & Unixvolzhs2016-06-031-1/+1
| | | | | | | Can't create user data folder when project name has ``\ / : * ? " < > |`` characters on OS_Windows & OS_Unix. So, change it to ``-`` to be able to make folder. fixes #4928 and it's altanative to #4986.
* removed dependency on shcore.dll to get DPIJuan Linietsky2016-06-011-14/+74
| | | | fixes #4973
* DPI Detection supportJuan Linietsky2016-05-291-1/+22
| | | | | Windows only for now. Many builds may break (older visual studio, mingw32)
* Changed import workflowJuan Linietsky2016-05-271-0/+28
| | | | | | | | | | | | | | | | -Rearrange favorites in fs dock with drag and drop -Removed import -> sub-scene, moved to scenetree contextual menu -Removed import -> re-import , moved and integrated to FS dock -Added ability in FS dock to re-import more than one resource simultaneously -Added ability to drag from native filesystem explorer to Godot, only works on Windows though -Removed scene reimport merge options, never worked well. Eventually merging materials should be re-added -Added ability to set custom root node type when importing scenes -Re-Import is now automatic, can be configured back to manual in editor settings -Added resource previews in property list for many resource types
* Working even when re-entering window.Mattias Cibien2016-05-091-0/+2
|
* Cursor hides only in client areaMattias Cibien2016-05-091-1/+17
| | | At the moment is however restored when going out and then in again.
* Fixed behavior of OS.set_window_resizableMattias Cibien2016-05-031-1/+1
| | | | Should fix #4428. * Minimize button is not hidden anymore
* Implement OS.get_process_ID for WindowsGeorge Marques2016-04-291-0/+5
| | | | | Based on code by @ratsdiov. Closes #1733
* Borderless window support for the Win32 build. Default window position is ↵Saracen2016-03-121-2/+11
| | | | now also centred.
* remove trailing whitespaceHubert Jarosz2016-03-091-32/+32
|
* Added constant to retrieve Windows' Documents pathFranco Eusébio Garcia2016-02-071-1/+1
| | | | | | | | | | | | | | According to MSDN's documentation (https://msdn.microsoft.com/en-us/library/windows/desktop/bb762181(v=vs.85).aspx), CSIDL_PERSONAL represents the default path to Windows Document's folder: "Previous to Version 6.0. The file system directory used to physically store a user's common repository of documents. A typical path is C:\Documents and Settings\username\My Documents. This should be distinguished from the virtual My Documents folder in the namespace. To access that virtual folder, use SHGetFolderLocation, which returns the ITEMIDLIST for the virtual location, or refer to the technique described in Managing the File System."
* support horizontal mouse wheel, use in text editorhondres2016-02-041-2/+19
|
* remove pc_joystick_map.hhondres2016-02-011-1/+0
|
* Change default window size for desktopGeorge Marques2016-01-241-1/+1
| | | | Fix #3149
* Merge pull request #3272 from Hinsbart/joy-bindingpunto-2016-01-121-0/+7
|\ | | | | Add some joystick functions to input. Enables manipulation of mapping…
| * Add some joystick functions to input. Enables manipulation of mappings at ↵hondres2016-01-081-0/+7
| | | | | | | | runtime
* | Merge pull request #3230 from touilleMan/issue-55Rémi Verschelde2016-01-111-2/+1
|\ \ | | | | | | Remove unnecessary null pointer checks
| * | Remove unnecessary null pointer checksEmmanuel Leblond2016-01-041-2/+1
| |/
* / -Removed OS.get_system_time_msec(), this is undoable on Windows and also ↵Juan Linietsky2016-01-101-2/+8
|/ | | | | | unusable from GDscript due to precision. -Added, instead an OS.get_system_time_secs(), which is 32 bits friendly, fixes #3143
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|