Age | Commit message (Collapse) | Author |
|
(cherry picked from commit 83dc545ea2599458fab4f4aaf46ab61d8ca98fbd)
|
|
(cherry picked from commit 942f8b9858d428f9db35fec547ae868278fe2bbe)
|
|
(cherry picked from commit e6067a39b523d4c153f78e76f506ee12f2bf046f)
|
|
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)
|
|
(cherry picked from commit ba995c6ea1aa7f7eaff4e5d6673c7d6a096011dc)
|
|
|
|
Fixes #66605.
|
|
|
|
DisplayServerWindows: Update `last_focused_window` when the focused subwindow is deleted
|
|
Fortunately the location in the codebase was easy to find because there
was a FIXME comment.
|
|
subwindow is deleted
|
|
Extend special popup window handling to any non-popup child of a popup.
|
|
Fix confined mouse mode not updating on resize
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
- 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>
|
|
Fixes #28511.
|
|
|
|
And remove leftover duplicated message on Android.
|
|
`window_set_mouse_passthrough` to `Window`.
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
screen detection.
|
|
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".
|
|
Improve `window_set_current_screen` and fix secondary window initial mode and positions.
|
|
and positions.
|
|
|
|
Rename `window_get_real_size`, add position counterpart.
|
|
`window_get_position_with_decorations`.
|
|
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).
|
|
|
|
|
|
Add vsync to Windows platform
|
|
|
|
|
|
|
|
When dropping in a different window, it is necessary to start tracking
the WM_MOUSELEAVE event again.
|
|
On Windows, the mouse was offset, when unfocused popups were used,
like the Editor menu.
|
|
Make creating window do not flicker when specify custom position
|
|
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.
|
|
|
|
Update the DisplayServer video driver error message to be more accurate and friendly
|
|
to be more accurate and friendly
|
|
unnecessary error messages.
|