summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2023-01-23Cleanup and unify keyboard input.bruvzg
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes. - Unify IME behaviour, add inline composition string display on Windows and X11. - Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events. - Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS. - Add support for media key handling on macOS. Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-23Merge pull request #71784 from PrecisionRender/fix-xbox-inputRémi Verschelde
Fix Xbox Series controller detected as 2 devices
2023-01-21Merge pull request #71730 from reduz/fix-altgr-stuckRémi Verschelde
Fix AltGR getting stuck on Windows right Alt-Tab
2023-01-21Merge pull request #71220 from reduz/prevent-opening-windows-console-filesRémi Verschelde
Prevent opening Windows console files
2023-01-20Fix Xbox Series controller duplicate inputPrecisionRender
2023-01-20Fix AltGR getting stuck on Windows right alt-tabJuan Linietsky
Fixes #28511.
2023-01-19[Windows] Fix sub-window initial transparency and always-on-top state.bruvzg
2023-01-18Merge pull request #71514 from akien-mga/os-unset_environmentRémi Verschelde
OS: Add `unset_environment`, better validate input
2023-01-17Improve DisplayServer message for video card drivers failureRémi Verschelde
And remove leftover duplicated message on Android.
2023-01-16OS: Add `unset_environment`, better validate inputRémi Verschelde
Instead of returning an undocumented boolean error code, we do the validation checks that should ensure a successful result. Based on: - https://linux.die.net/man/3/setenv - https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable
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-11Prevent opening Windows console filesJuan Linietsky
Fixes #20110.
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.