summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2023-04-07Added guide button to controller db, changed to use secret XInput function.Andrés Botero
(cherry picked from commit f249a9ce19e4d1bea28a5742e5c4e49f19e67c0d)
2023-04-07Fix clipboard relying on focused windowRedMser
(cherry picked from commit 942f8b9858d428f9db35fec547ae868278fe2bbe)
2023-03-27[Windows] Remove meta_mem update on keyup/keydown.bruvzg
(cherry picked from commit e6067a39b523d4c153f78e76f506ee12f2bf046f)
2023-03-14Tweak command syntax in Vulkan renderer failure messageHugo Locurcio
This quotes the executable name so that copying it always works (even if the path contains spaces). The command is also indented from the rest of the text and is no longer single-quoted, as that can prevent the command from running if the line is copied in its entirety (with the quotes). (cherry picked from commit ddc9cc3e492861dff43617cecb24ae919e122455)
2023-03-14[Linux/X11] Add some missing keycodes/scancodes.bruvzg
(cherry picked from commit 5d35c600d5e4d6fc553246407e766d600f5b774e)
2023-03-13Windows: Workaround missing DWRITE_FONT_WEIGHT value in old MinGWRémi Verschelde
Fixes #74339. (cherry picked from commit b7ecb9584a1fc141d70140f6b0e573d870fa0dcb)
2023-03-13[Windows] Update modifier key status during IME input.bruvzg
(cherry picked from commit ba995c6ea1aa7f7eaff4e5d6673c7d6a096011dc)
2023-03-13Fix Windows to Windows SSH remote deploy. Fix Windows `execute` exit code.bruvzg
(cherry picked from commit 94355249c360be694bdb692f357dc017d742aee7)
2023-02-28Minor typo and docs URL fixesRémi Verschelde
2023-02-22Merge pull request #73750 from bruvzg/braceRémi Verschelde
[Input] Use BRACKET_ instead of BRACE_ for physical keys.
2023-02-22Merge pull request #73744 from bruvzg/mainw_init_flagsRémi Verschelde
[Windows] Take initial flags into account when creating main window.
2023-02-22[Input] Use BRACKET_ instead of BRACE_ for physical keys.bruvzg
2023-02-22[Windows] Take initial flags into account when creating main window.bruvzg
2023-02-22[Windows Export] Pass password only when using PKCS12 file, fix executable ↵bruvzg
name in the error message.
2023-02-17Fix crash with bogus shape index to DisplayServer.cursor_set_custom_image()Rémi Verschelde
Fixes #66605.
2023-02-14[InputEventKey] Avoid setting both key and modifier to the same value.bruvzg
2023-02-03Merge pull request #72624 from pkdawson/fix-last-focusRémi Verschelde
DisplayServerWindows: Update `last_focused_window` when the focused subwindow is deleted
2023-02-02Fix windowsize for fullscreen windows on windowcreation on WindowsMarkus Sauermann
Fortunately the location in the codebase was easy to find because there was a FIXME comment.
2023-02-02DisplayServerWindows: Update `last_focused_window` when the focused ↵Patrick Dawson
subwindow is deleted
2023-02-01Merge pull request #72104 from bruvzg/popup-non-popupsRémi Verschelde
Extend special popup window handling to any non-popup child of a popup.
2023-01-31Merge pull request #71174 from RedMser/fix-confined-mouse-mode-updateRémi Verschelde
Fix confined mouse mode not updating on resize
2023-01-31Merge pull request #72426 from fire/4-warningsRémi Verschelde
Fixed a few godot engine 4 warnings on clang with Opengl and Windows …
2023-01-30Fixed a few godot engine 4 warnings on clang with Opengl and Windows apis.K. S. Ernest (iFire) Lee
2023-01-30Refactor high quality texture importJuan Linietsky
* Only two texture import modes for low/high quality now: * S3TC/BPTC * ETC2/ASTC * Makes sense given this is the general preferred and most compatible combination in most platforms. * Removed lossy_quality from VRAM texture compression options. It was unused everywhere. * Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA). * Changed MacOS export settings so required texture formats depend on the architecture selected. This solves the following problems: * Makes it simpler to import textures as high quality, without having to worry about the specific format used. * As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
2023-01-27Fix split allow empty string in SSH export plugindaviirodrig
2023-01-26Extend special popup window handling to any non-popup child of a popup.bruvzg
2023-01-26[Windows] Fix committing IME text without IME deactivation.bruvzg
2023-01-25[Windows] Fix candidate window position with some third party IME engines.bruvzg
2023-01-25[Windows] Fix ToUnicodeEx resetting some dead key states.bruvzg
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-10Fix confined mouse mode not updating on resizeRedMser
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.