Commit graph

254 commits

Author SHA1 Message Date
Pāvels Nadtočajevs
3f757c41fc
Update access-kit to 0.17.0 2025-07-29 08:37:01 +03:00
Anish Mishra
d8d3c86d71 Fix Immersive mode and keyboard height issues on Android 2025-07-16 23:31:47 +05:30
Fredia Huya-Kouadio
3ade4b4b63 Address remaining feedback on https://github.com/godotengine/godot/pull/106709
Address https://github.com/godotengine/godot/pull/106709#discussion_r2114489487
2025-07-07 12:11:21 -07:00
Anish Mishra
c82f7feb53 Document that native file dialog is only available on Android 10+ devices. 2025-06-27 17:07:50 +05:30
A Thousand Ships
2db7ecd410
[Docs] Various grammar and spelling fixes 2025-06-23 20:54:08 +02:00
Rémi Verschelde
b6e09b7242
Merge pull request #107474 from bruvzg/ds_docs_cap
[Docs] Add few notes about screen capture.
2025-06-16 01:52:24 +02:00
Haoyu Qiu
0e5b06c26d Fix various errors in the class reference 2025-06-13 21:14:55 +08:00
Pāvels Nadtočajevs
f54b314ae3
[Docs] Add few notes about screen capture. 2025-06-13 10:51:01 +03:00
Rémi Verschelde
ae33da972b
Merge pull request #106709 from m4gr3d/fix_transparency_flags
Fix transparency background issue on Android
2025-06-12 23:32:44 +02:00
kobewi
13f642d959
Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
Haoyu Qiu
1e82bafa3a Remove redundant info on the enum types used 2025-06-04 08:21:47 +08:00
Pāvels Nadtočajevs
6565c8e83f
[AccessKit] Update API to 0.16.0. 2025-06-03 10:49:04 +03:00
Fredia Huya-Kouadio
547450befd Fix transparency background issue on Android
Fixes https://github.com/godotengine/godot/issues/106703
2025-06-02 22:45:16 -07:00
Thaddeus Crews
a6be6d1cd1
Merge pull request #106959 from bruvzg/w10_cleanup
[Windows] Drop support for Windows 7/8/8.1.
2025-06-02 18:51:46 -05:00
Pāvels Nadtočajevs
2d93e004b9
Cleanup and unify DisplayServer screen methods and documentation. 2025-06-02 08:03:48 +03:00
Pāvels Nadtočajevs
617e12a6b4
[Windows] Drop support for Windows 7/8/8.1. 2025-05-30 17:30:23 +03:00
Thaddeus Crews
e6a61b1ecc
Merge pull request #76829 from bruvzg/ac_kit_direct
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Thaddeus Crews
95dc68c8c6
Merge pull request #105107 from bruvzg/min-max-flag
Add separate `minimize_disabled` and `maximize_disabled` window flags.
2025-04-08 12:32:44 -05:00
Thaddeus Crews
d98c3f5ffe
Merge pull request #104333 from Mickeon/documentation-even-more-miscellaneous-oddities
Fix *even* more miscellaneous oddities around the class reference
2025-04-08 12:32:41 -05:00
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API. 2025-04-08 20:14:28 +03:00
Pāvels Nadtočajevs
f37fb49739
Add separate minimize_disabled and maximize_disabled window flags. 2025-04-07 18:58:11 +03:00
Micky
7603945d14 Fix *even* more miscellaneous oddities around the class reference 2025-04-07 17:37:08 +02:00
Thaddeus Crews
742d91bc1c
Merge pull request #105055 from Mickeon/documentation-typo-Windows-exclude-from-capture
Fix typo in Window's `exclude_from_capture`
2025-04-07 08:43:30 -05:00
Thaddeus Crews
1b9f269700
Merge pull request #105015 from syntaxerror247/improve-touchActionsPanel
Android Editor: Add an editor setting to enable/disable `TouchActionsPanel`
2025-04-07 08:43:24 -05:00
Micky
f60c98f4e4 Fix typo in Window's exclude_from_capture 2025-04-05 14:22:36 +02:00
Anish Mishra
b462db5adb Android: Hardware keyboard connection status callback
Adds a DisplayServer method to register hardware keyboard connection change callback.
2025-04-05 08:14:29 +05:30
Riteo
84d3adcf2f Wayland: Implement native sub-windows
The backend is now mature enough to not explode with multiple windows
but the `DisplayServer` API still cannot meet some guarantees required
by the various Wayland protocols we use. To meet those guarantees this
patch adds three new elements to the DisplayServer API, with relative
handling logic for `Window` and `Popup` nodes:

 - `WINDOW_EVENT_FORCE_CLOSE`, which tells a window to *forcefully*
close itself and ensure a proper cleanup of its references, as Wayland
enforces this behavior;

 - `WINDOW_FLAG_POPUP_WM_HINT`, which explicitly declares a window as a
"popup", as Wayland enforces this distinction and heuristics are not
reliable enough;

 - `FEATURE_SELF_FITTING_WINDOWS`, which signals that the compositor can
fit windows to the screen automatically and that nodes should not do
that themselves.

Given the size of this feature, this patch also includes various
`WaylandThread` reworks and fixes including:

 - Improvements to frame wait logic, with fixes to various stalls and a
configurable (through a `#define`) timeout amount;

 - A proper implementation of `window_can_draw`;

 - Complete overhaul of pointer and tablet handling. Now everything is
always accumulated and handled only on each respective `frame` event.
This makes their logic simpler and more robust.

 - Better handling of pointer leaving and pointer enter/exit event
sending;

 - Keyboard focus tracking;

 - More solid window references using IDs instead of raw pointers as
windows can be deleted at any time;

 - More aggressive messaging to window nodes to enforce rects imposed by
the compositor.
2025-04-04 20:23:25 +02:00
Thaddeus Crews
b9b3c3fe14
Merge pull request #104889 from MJacred/patch-1
Clarify that `Window.dpi_changed` signal is supported on Linux (Wayland)
2025-04-01 19:53:36 -05:00
MJacred
179ce63dbf Update class docs: dpi_changed signal is supported on Linux (Wayland) 2025-04-01 19:40:36 +02:00
Pāvels Nadtočajevs
4638ade13f
Enable TTS on demand, instead of fully disabling it when project setting is not set. 2025-04-01 15:24:46 +03:00
Thaddeus Crews
49fcd4ce46
Merge pull request #101546 from bruvzg/portal_color_picker
[Linux] Implement native color picker.
2025-03-17 10:52:29 -05:00
Pāvels Nadtočajevs
18f6c33d72
[DisplayServer] Implement get_accent_color on Linux. 2025-03-14 09:05:03 +02:00
bruvzg
db7c94bd65
[Windows] Remove visible WINDOW_MODE_FULLSCREEN border by setting window region. 2025-03-11 20:50:55 +02:00
bruvzg
3e4e6e6c0c Improve native file dialog parent window selection. 2025-03-06 17:15:39 +02:00
Pāvels Nadtočajevs
05ca80632d [Linux] Implement native color picker. 2025-02-03 16:30:44 +02:00
Adam Scott
47f553ae0b
Delegate to the DisplayServer the task of handling mouse_mode
- Add `MOUSE_MODE_MAX` and various index checks
2025-01-28 11:22:27 -05:00
Mateus Elias
11e111bca4 Add a note to DisplayServer.get_display_safe_area() method documentation
Add a note to clarify that the DisplayServer.get_display_safe_area() method is currently only implemented on Android and iOS, and that it returns screen_get_usable_rect(SCREEN_OF_MAIN_WINDOW) as a fallback on other platforms.
2025-01-14 22:29:54 -03:00
Rémi Verschelde
f8724e41a0 Merge pull request #101538 from bruvzg/wdrag_ftr
[DisplayServer] Add missing `FEATURE_WINDOW_DRAG` flag to Windows, X11 and Wayland display servers.
2025-01-14 18:29:47 +01:00
Rémi Verschelde
4d1cfc1784 Merge pull request #101061 from syntaxerror247/first-pr-2025
Android: Implement support for `native dialog`
2025-01-14 15:05:59 +01:00
Pāvels Nadtočajevs
2e99d84e87 [DisplayServer] Add missing FEATURE_WINDOW_DRAG flag to Windows, X11 and Wayland display servers. 2025-01-14 15:26:32 +02:00
Anish Mishra
cb9ee099ac Android: Implement support for native dialog
This adds support for DisplayServer::dialog_show() on Android, aligning it with the functionality already available on macOS and Windows.
2025-01-14 15:03:14 +05:30
Pāvels Nadtočajevs
b252867145 [macOS/Windows] Add Emoji & Symbols context menu item to LineEdit/TextEdit to show system character picker. 2025-01-10 09:25:34 +02:00
Pāvels Nadtočajevs
7f0b4e58b0 Implement DisplayServer.window_start_resize. 2025-01-07 07:58:02 +02:00
Rémi Verschelde
44f871ff72
Merge pull request #100898 from Summersay415/wayland-issue
Fix exclusive fullscreen on Wayland
2025-01-06 22:47:53 +01:00
Pāvels Nadtočajevs
e1f129cb52 Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
Summersay415
8c1742c957 Fix exclusive fullscreen on Wayland 2025-01-02 21:49:49 +07:00
Thaddeus Crews
7b42fb969e
Merge pull request #100685 from raulsntos/dotnet/collection-expressions
[.NET] Use collection expressions in docs
2024-12-23 11:15:15 -06:00
Raul Santos
072ff85f82
[.NET] Use collection expressions in docs
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 02:28:59 +01:00
Hilderin
9d2a4c03be Embedding game process in editor 2024-12-18 17:52:42 -05:00
Rémi Verschelde
4e46e8beb7
Merge pull request #100464 from bruvzg/start_drag_port
Implement `window_start_drag` on Windows and Linux.
2024-12-18 00:39:56 +01:00