summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2022-02-09Core: Move generated `VERSION_HASH` to a `.cpp` fileRémi Verschelde
This lets us have its definition in `core/version.h` and avoid rebuilding a handful of files every time the commit hash changes.
2022-02-08[Windows] Fix fullscreen mode detection on window move/resize.bruvzg
2022-02-07Fix icons for sub windowsTechnicalSoup
Modify the create_sub_window method to set an icon for all sub windows, setting the icon to the same icon as the main window. Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2022-02-04Merge pull request #57341 from bruvzg/win_multiwin_fsRémi Verschelde
2022-02-04Merge pull request #57335 from jordigcs/display-refresh-rateRémi Verschelde
2022-02-04Merge pull request #54645 from rxlecky/editor-window-offset-bug-45740Rémi Verschelde
2022-02-04[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to ↵bruvzg
allow multi-window interface in full-screen. [Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-03Add screen_get_refresh_rate to DisplayServerjordi
2022-02-03Merge pull request #57350 from NeilKleistGao/masterRémi Verschelde
2022-02-03Add warning for Windows export when rcedit is not configuredNeilKleistGao
2022-02-01Merge pull request #57497 from Geometror/fix-mouse-modeRémi Verschelde
2022-02-01Windows: Fix GCC -fpermissive error with 'pck' section workaroundRémi Verschelde
Follow-up to #57450.
2022-02-01Fix captured mouse modeHendrik Brucker
2022-01-31Simplify DisplayServerWindows pos/size message handlingSeleckyErik
Replace WM_MOVE and WM_SIZE message handling with WM_POSCHANGED instead. This is for multiple reasons: 1) Microsoft suggest using WM_POSCHANGED is more efficient 2) RectChanged callback is only called once for most window operations 3) Simplifies message handling code
2022-01-30Prevent LTCG (MSVC LTO) from removing "pck" sectionBartłomiej T. Listwon
2022-01-28Merge pull request #57336 from bruvzg/win_con_redirRémi Verschelde
2022-01-28Fix MOUSE_MODE_CONFINED not updating area when full-screen is toggled or ↵bruvzg
current screen is changed.
2022-01-28[Windows] Disable console I/O redirection, if it's already redirected to the ↵bruvzg
pipe or file.
2022-01-27Merge pull request #56785 from bruvzg/nat_handles_4Rémi Verschelde
2022-01-27Minor typo fixups to Windows console changesMax Hilbrunner
2022-01-24Merge pull request #56754 from madmiraal/fix-45592Rémi Verschelde
2022-01-22[Export] Instead of removing unsupported options, hide it.bruvzg
2022-01-18Window management improvements.bruvzg
[macOS] Fix transient windows not working in the full-screen mode. [macOS] Fix moving transient windows to the other screen than parent window. [macOS] Fix popup menu switch on hover. [macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events). [macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected. [macOS/Windows] Fix moving fullscreen windows between the screens. Add auto refocusing of the parent window, when the focused transient window is closed. Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
2022-01-17Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde
2022-01-14Merge pull request #56238 from madmiraal/fix-44178Rémi Verschelde
Fix Actions mapped to triggers not using the full range
2022-01-14Fix Actions mapped to triggers not using the full rangeMarcel Admiraal
2022-01-14Flush input events before destroying the windowYuri Roubinsky
2022-01-14Add support for getting native display, window, and view handles.bruvzg
2022-01-13Use mouse event relative motion to calculate mouse velocityMarcel Admiraal
2022-01-11Merge pull request #56322 from madmiraal/fix-42450Rémi Verschelde
2022-01-08Merge pull request #56497 from Pineapple/qpc-tweaksRémi Verschelde
Windows: Simplify QueryPerformanceCounter usage
2022-01-05Windows input: Fix wrong OEM key, add missing keysMax Hilbrunner
2022-01-05Windows: Simplify QueryPerformanceCounter usageBartłomiej T. Listwon
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-29Rename speed to velocity when it's a directional VectorMarcel Admiraal
2021-12-28Fix cursor stucking in resize shapeYuri Roubinsky
2021-12-18[Windows] Improve console handling and execute/create_process.bruvzg
Always build with the GUI subsystem. Redirect stdout and stderr output to the parent process console. Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`). Add `open_console` argument to the `execute` and `create_process` to open a new console window. Remove `interface/editor/hide_console_window` editor setting. Remove `Toggle System Console` menu option. Remove `set_console_visible` and `is_console_visible` functions.
2021-12-18Fix initialising of gl_manager and checking gl_manager and context_vulkan ↵Bastiaan Olij
preventing crash issues.
2021-12-16Merge pull request #55966 from bruvzg/wt💩4Rémi Verschelde
2021-12-16Fixed detecting the Valve Streaming GamepadSam Lantinga
Fixed the GUID, and compare the contents of the GUID, not just the pointers
2021-12-15[Windows] Detect new Windows Terminal and disable unsupported ↵bruvzg
set_console_visible code.
2021-12-14[Windows] Open a new console window for the editor instances.bruvzg
2021-12-10Misc build system fixesAaron Franke
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-11-26Fix console colors on WindowsYuri Roubinsky
2021-11-25Restore console window output for editor app on WindowsYuri Roubinsky
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-18Merge pull request #55072 from KoBeWi/untitled_goose_projectRémi Verschelde
2021-11-18Fix data directory of unnamed projectskobewi
2021-11-18Windows: Use `/bigobj` only for debug builds, breaks GCC LTORémi Verschelde
Building `target=release` and `target=release_debug` builds with MinGW-GCC errors when linking with LTO. Since it's only needed for `target=debug` builds anyway (bigger objects), which we don't build with LTO, this works around the issue.