summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2023-01-16Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips. Expose ↵bruvzg
`window_set_mouse_passthrough` to `Window`.
2023-01-16[Windows] Fix incorrect full-screen mode applied on start.bruvzg
2023-01-14Update all outdated online documentation linksYuri Sizov
2023-01-13Merge pull request #63312 from bruvzg/one_clickRémi Verschelde
[Export] Add one-click deploy over SSH for the desktop exports.
2023-01-12Implement color flash avoidance for WindowsPedro J. Estébanez
2023-01-12[Windows] Allow OS::kill method to terminate non-child processes.bruvzg
2023-01-12Merge pull request #70714 from Calinou/doc-os-stdinRémi Verschelde
Improve documentation for `OS.read_string_from_stdin()`
2023-01-11Improve documentation for `OS.read_string_from_stdin()`Hugo Locurcio
This makes it clearer that calls to this method are blocking. The unused method parameter was also removed.
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-07[Windows] Fix primary screen detection.bruvzg
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Merge pull request #70624 from bruvzg/cur_scRémi Verschelde
Improve `window_set_current_screen` and fix secondary window initial mode and positions.
2023-01-03Merge pull request #70612 from floppyhammer/fix-dark-title-barRémi Verschelde
Fix dark title bar on Windows 11
2022-12-29Improve `window_set_current_screen` and fix secondary window initial mode ↵bruvzg
and positions.
2022-12-29[Export] Add one-click deploy over SSH for the desktop exports.bruvzg
Add one-click deploy over SSH for the desktop exports. Add ZIP export option for Linux and Windows. Change export plugin icons to SVG format.
2022-12-27Fix dark title barfloppyhammer
2022-12-21SCons: Fix `separate_debug_symbols` option for Windows/MinGWRémi Verschelde
2022-12-21Fix reading Unicode from stdio.bruvzg
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