summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2022-12-17add missing comma in file filterSelene29
2022-12-12Windows: Validate that the font family name exists before trying to get the ↵oOjor-elOo
font family I didn't have the first emoji font installed, which led an an exception when calling font_collection->GetFontFamily() no the new rows.
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Only support XDG directory path configuration on LinuxHugo Locurcio
XDG support breaks when running Windows builds via WINE. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-07Merge pull request #69712 from bruvzg/real_sizeRémi Verschelde
Rename `window_get_real_size`, add position counterpart.
2022-12-07Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵bruvzg
`window_get_position_with_decorations`.
2022-12-06[Windows] Window management fixes.bruvzg
Fix popup menus having incorrect scale when main window is in full-screen mode and multiple monitors with different DPI are used. Prevent mouse move code from accessing deleted window data (and creating zombie records in the windows map).
2022-12-05Windows: Make MSVC debug CRT opt-in (`debug_crt=yes`)Rémi Verschelde
Follow-up to #69294 which enabled it automatically for `dev_build=yes`, but this seems to cause some issues. Those issues should likely be debugged but until then this can stay opt-in.
2022-12-05Merge pull request #69294 from akien-mga/windows-msvc-link-debug-runtimeRémi Verschelde
Windows: Link MSVC dynamic debug CRT for debug builds
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-11-30Fix incorrect mouse event position while hovering different windowMarkus Sauermann
2022-11-29Merge pull request #69332 from bruvzg/exact_symbolsRémi Verschelde
[MSVC] Use symbols from .pdb only, to avoid incorrect names in the backtrace when symbols are missing.
2022-11-29Merge pull request #69110 from bruvzg/con_icon2Rémi Verschelde
[Windows] Optimize editor icon, use different icon for console executable.
2022-11-29[MSVC] Use symbols from .pdb only, to avoid incorrect names in the backtrace ↵bruvzg
when symbols are missing.
2022-11-29[Windows] Optimize editor icon, use different icon for console executable.bruvzg
2022-11-28Windows: Link MSVC dynamic debug CRT for debug buildsRémi Verschelde
Fixes #31608.
2022-11-28[Windows] Fix joypad crashPatrick Dawson
2022-11-21[Export] Use image loader directly to avoid "resource as image file" errors.bruvzg
2022-11-18Windows icon export improvements.bruvzg
Regenerate Windows icon on export to ensure correct icon size order. Add support for using PNG/WebP/SVG files as an icon for Windows exports. Allow using WebP/SVG files as icon for macOS exports. Add option to select generated icons interpolation, and set default interpolation to Lanczos.
2022-11-17[Windows] Use case-sensitive file names for the system fonts to avoid warnings.bruvzg
2022-11-16Merge pull request #68700 from clayjohn/GLES3-vsyncRémi Verschelde
Set vsync on window creation when using GLES3
2022-11-15Set vsync on window creation when using GLES3.clayjohn
Add vsync to Windows platform
2022-11-15[Windows] Add icon to the console wrapper, add option to set icon for the ↵bruvzg
console wrapper on export.
2022-11-14Regenerate GL loader code with GLAD 2Riteo
GLAD 1 creates unusable loaders for EGL, while the newly released GLAD 2 does not, so for consistency I thought that it would be a good idea to uniform things beforehand. While it had some API changes some renames were all that was needed and everything works like before, at least on the Wayland branch. I've kept the structure identical, although this new generator has quite a few hefty features, such as a single header mode. I've also added GLAD to `thirdparty/README.md`, but I haven't specified that in the commit title because it's a very small "fix".
2022-11-14Fix misc formatting issuesRémi Verschelde
Somehow I missed the failing CI report from trailing whitespace. Fixed a couple typos found by codespell while at it, and misc trailing semicolons in one of the files.
2022-11-14Fix ICONDIR buffer overflowPatrick Dawson
2022-11-13Added missing null checks for gl_manager in MacOS and Windows display serversDavid Snopek
2022-11-08Add support for OpenGL to OpenXRDavid Snopek
2022-11-04Merge pull request #67434 from bruvzg/win_wrapperRémi Verschelde
Add console wrapper app to handle console i/o redirection on Windows.
2022-11-03Merge pull request #68133 from Sauermann/fix-mouse-droppingRémi Verschelde
Fix mouseleave event after drag and drop in different windows
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-01Fix mouseleave event after drag and drop in different WindowsMarkus Sauermann
When dropping in a different window, it is necessary to start tracking the WM_MOUSELEAVE event again.
2022-11-01Load and use system emoji font in the editor.bruvzg
2022-11-01Fix mouse offset for unfocused popupsMarkus Sauermann
On Windows, the mouse was offset, when unfocused popups were used, like the Editor menu.
2022-10-31Merge pull request #67879 from bruvzg/fix_no_vlkRémi Verschelde
Fix build with Vulkan disabled and no Vulkan headers installed.
2022-10-31Add console wrapper app to handle console i/o redirection on Windows.bruvzg
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-28Merge pull request #67790 from kdada/fix-flash-windowClay John
Make creating window do not flicker when specify custom position
2022-10-28Merge pull request #67903 from Sauermann/fix-startup-windows-mouse-exit-eventClay John
Fix differences between Windows and linuxbsd Display Server
2022-10-28Fix differences between Windows and linuxbsd Display ServerMarkus Sauermann
Fix that Windows receive WINDOW_EVENT_MOUSE_EXIT on startup. When moving the mouse cursor from one window to a different one, make sure that the first window receives the WINDOW_EVENT_MOUSE_EXIT event before the second window receives the WINDOW_EVENT_MOUSE_ENTER event. Send Mouse-Move events also for Windows, that are currently not focused. For determining the currently hovered window, consider not just the currently focused window, but also other windows. Send mouse move events to focused window instead of hovered window.
2022-10-27Fix OS.get_video_adapter_driver_info crashzCubed3
2022-10-26Fix build with Vulkan disabled and no Vulkan headers installed.bruvzg
2022-10-24Make window creation with custom position do not flashWei Guo
2022-10-21Merge pull request #67546 from clayjohn/DS-msgClay John
Update the DisplayServer video driver error message to be more accurate and friendly
2022-10-18Update the DisplayServer video driver error messageclayjohn
to be more accurate and friendly
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-17Check if Vulkan context for the window exists before resizing it to avoid ↵bruvzg
unnecessary error messages.
2022-10-12[Windows] Fix GCC MinGW warnings.bruvzg
2022-10-11Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfoRémi Verschelde
Fetch video adapter driver name and version from OS