summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2022-04-05Fix a possible race condition on popup close, that might cause multiple ↵bruvzg
deletions of the same list item.
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-29Keep editor at normal priority on windows.Lyuma
The multithreaded importer often causes system-wide hangs when importing more than 20 files at a time. Running the editor at normal priority allows other applications on the system to be responsive during long imports.
2022-03-27Rename warp mouse functions to warp_mouseMarkus Sauermann
2022-03-22Generate export template file names instead of having a fixed setAaron Franke
2022-03-21Move extension logic to EditorExportPlatformLinuxBSDAaron Franke
2022-03-20Move fixup_embedded_pck to EditorExportPlatform classesAaron Franke
2022-03-18Merge pull request #59287 from Vitika9/59181Rémi Verschelde
Right-clicking will not close popup in windows
2022-03-18Right-clicking will not close popupVitika9
2022-03-18Merge pull request #58455 from bruvzg/export_scriptRémi Verschelde
2022-03-18Merge pull request #57850 from pkowal1982/iconRémi Verschelde
Change godot.ico to uncompressed/fixed size
2022-03-17Fix DST Error on Windowsztco224
2022-03-16Windows: Properly set `mouse_monitor` instead of shadowing itRémi Verschelde
GCC was raising a warning about unused variable, but it's actually meant to be used in the destructor for deinit.
2022-03-14[Export] Add "export console script" option for Linux, macOS, and Windows ↵bruvzg
exports.
2022-03-13Reenable window_set_vsync_mode on WindowsHendrik Brucker
2022-03-08[X11] Do not try to focus unmapped window.bruvzg
2022-02-25Improve popup window handling.bruvzg
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-22[Windows] Fix borderless window flag toggle and restoring minimized ↵bruvzg
borderless window.
2022-02-17[Windows] Fix Vulkan driver crash on sub-window minimization.bruvzg
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-15Add an `OS.get_processor_name()` methodHugo Locurcio
This method can be used to get the CPU model name. It can be used in conjunction with `RenderingServer.get_video_adapter_name()` and `RenderingServer.get_video_adapter_vendor()` for annotating benchmarks and automatic graphics quality configuration.
2022-02-14[OS/Crypto] Add get_entropy to OS.Fabio Alessandrelli
Implemented via `BCryptGenRandom` on Windows. Implemented via `getentropy` syscall when available. Implemented via `/dev/urandom` device as a fallback. The `/dev/urandom` fallback can be disabled via the `NO_URANDOM` build flag. Note: The HTML5 version relies on emscripten file system urandom device which itself uses the Crypto API when available or the plain old not crypto-safe `Math.random()` otherwise. Restore get_entropy.
2022-02-12Merge pull request #56953 from bruvzg/ex_wndRémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-12Add exclusive window handling to DisplayServer (on macOS and Windows).bruvzg
2022-02-11[Windows] Fix drag-and-drop.bruvzg
2022-02-09Change godot.ico to uncompressed/fixed sizepkowal
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