Commit Graph

7621 Commits

Author SHA1 Message Date
Thaddeus Crews 5d0a321575 Merge pull request #102987 from ArchercatNEO/wayland-hdr
[LinuxBSD] Add support for HDR output (Wayland)
2026-03-16 11:32:54 -05:00
Rémi Verschelde 9f2688c204 Merge pull request #117461 from ColinSORourke/MacHeaderConflict
macOS: Work around AppKit include defining `MAX`/`MIN` macros
2026-03-16 12:08:33 +01:00
Rémi Verschelde ad21e3fbb5 Merge pull request #117454 from DSOE1024/patch-1
Add UTF-8 encoding to svg file open in `platform_builders.py`
2026-03-16 12:08:29 +01:00
Colin O'Rourke 252f93ef3d Catch Header Conflict for Macs
Compiling Godot on a MacOS could produce a header conflict where MacOS runtime MAX macro was used instead Core/Typedefs MAX macro

Example: Defining a FixedVector in a header file would fail, due to MacOS MAX not being a ConstEXPR
2026-03-15 16:11:55 -07:00
DSOE1024 a61e6ffade Add UTF-8 encoding to svg file open in platform_builders.py
Specify UTF-8 encoding when opening the source file.
2026-03-16 03:50:23 +08:00
Rémi Verschelde 005e054245 Remove unused includes in editor with clangd-tidy
Also includes the few changes flagged in `main`.
2026-03-15 20:47:05 +01:00
Rémi Verschelde 0d7bd115da Remove unused includes in drivers with clangd-tidy 2026-03-14 22:38:02 +01:00
Rémi Verschelde d9b81615e5 Remove unused includes in platform with clangd-tidy
Handled Linux, Windows, Android, and (partially) Web.
2026-03-14 22:37:05 +01:00
Rémi Verschelde bd8b832893 Merge pull request #117385 from deralmas/wl/mapping-improvements
Wayland: Improve mapping robustness and synchronization
2026-03-14 12:16:37 +01:00
Rémi Verschelde b15bc2894f Merge pull request #117371 from bruvzg/mac_vm_angle
[macOS] Force ANGLE (GL over Metal) when running in VM.
2026-03-14 12:16:30 +01:00
uno1982 e2e1c89723 Android: Add haptic feedback on long-press right-click in the editor
Trigger haptic feedback when a long-press gesture fires a right-click
(context menu) in the Android editor. Uses Android's native
`HapticFeedbackConstants.LONG_PRESS` on the render view surface.

An editor setting `interface/touchscreen/haptic_on_long_press` is added
under the existing touchscreen section to allow users to disable this
behavior. The setting defaults to enabled on native touchscreen devices.
2026-03-14 11:32:07 +01:00
Thaddeus Crews f9a8302c83 Merge pull request #117335 from Arthurmtro/fix/steam-tracking-macos
Fix macOS Steam time tracking lost when opening a project
2026-03-13 12:14:06 -05:00
ArchercatNEO eee3384e20 HDR output for linuxbsd (wayland) 2026-03-13 16:48:58 +00:00
Dery Almas eb680bc8c3 Wayland: Improve mapping robustness and synchronization
We assumed that a window will be ready after a single roundtrip but
that's actually not guaranteed by the XDG shell protocol.

This patch waits for an arbitrary timeout (10s) before erroring out and
forcefully closing the window. Since this exercised quite some code
paths, it also reworks some window handling logic and fixes a bunch of
synchronization issues.
2026-03-13 08:25:04 +01:00
Pāvels Nadtočajevs 3d62c026f6 [macOS] Force ANGLE (GL over Metal) when running in VM. 2026-03-12 15:20:13 +02:00
Thaddeus Crews e295eba0eb Merge pull request #117250 from bruvzg/angle_no_sys
Only attempt to load ANGLE DLLs from executable folder.
2026-03-11 15:42:05 -05:00
Thaddeus Crews 7c2a2b06a9 Merge pull request #117253 from bruvzg/set_drv_no_angle
[Windows] Set current driver when ANGLE init fails.
2026-03-11 15:41:58 -05:00
Thaddeus Crews 075d6f27f1 Merge pull request #117313 from bruvzg/no_dyn
Remove AccessKit dynamic wrappers, add download script and build warning if libs are missing.
2026-03-11 15:41:31 -05:00
arthurmtro 2df02c8463 [macOS] Pass parent environment to spawned app instances 2026-03-11 21:04:08 +01:00
Pāvels Nadtočajevs dd0387fcb0 Remove AccessKit dynamic wrappers, add download script and build warning if libs are missing. 2026-03-11 14:52:38 +02:00
scgm0 cfe79907af Fix unable to compile linux template_release 2026-03-11 18:59:38 +08:00
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
Thaddeus Crews 2288a8a898 Merge pull request #114505 from m4gr3d/add_pip_project_setting
Add support for picture-in-picture
2026-03-10 14:11:04 -05:00
Yyf2333 282e4544b0 Split VariantCaster from binder_common.h 2026-03-10 17:59:33 +08:00
Pāvels Nadtočajevs b092ce32f3 Only attempt to load ANGLE DLLs from executable folder. 2026-03-09 16:51:58 +02:00
Pāvels Nadtočajevs b9554859f6 [Windows] Set current driver when ANGLE init fails. 2026-03-09 16:51:21 +02:00
Fredia Huya-Kouadio ef0163ba9f Add support for PiP mode 2026-03-06 23:29:16 -08:00
Rémi Verschelde 19726167ce Merge pull request #117131 from syntaxerror247/fixing-my-blunder
Android: Fix FileAccess crash when using treeUri in Gradle-built apps
2026-03-06 12:44:43 +01:00
Rémi Verschelde a772f16387 Merge pull request #117109 from syntaxerror247/script-editor-portrait
Android editor: Enable orientation change in Script Editor
2026-03-06 12:44:31 +01:00
Pāvels Nadtočajevs f7faabb95e [macOS] Enable wake for events if Magnet is running. 2026-03-06 13:18:30 +02:00
Anish Kumar 25a203aa34 Android editor: Enable orientation change in Script Editor 2026-03-06 06:24:42 +05:30
Anish Kumar ed8853b8d1 Android: Fix FileAccess crash when using treeUri in Gradle-built apps 2026-03-06 05:48:42 +05:30
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
A Thousand Ships 68cec996d3 [Linux] Fix addr2line call 2026-03-04 18:53:01 +01:00
Thaddeus Crews 0f0c3f3a18 Merge pull request #115566 from bruvzg/add2line_
[Linux/BSD] Prefer `gimli-rs/addr2line` or `llvm-addr2line` over binutils.
2026-03-04 11:20:47 -06:00
Thaddeus Crews 1cbe90a1e9 Merge pull request #117058 from bruvzg/mac_pre_26
[macOS] Fix building with Xcode versions older than 26.
2026-03-04 11:20:46 -06:00
Thaddeus Crews 371282b28e Merge pull request #92984 from adamscott/reveal-me
Customize the file manager label for each platform
2026-03-04 11:20:31 -06:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 727b06a79f Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Pāvels Nadtočajevs ee1a64a4ad [Linux/BSD] Prefer gimli-rs/addr2line or llvm-addr2line over binutils. 2026-03-04 14:17:48 +02:00
Pāvels Nadtočajevs 41c6075002 [macOS] Fix building with Xcode versions older than 26. 2026-03-04 13:13:40 +02:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Adam Scott f441172719 Customize the file manager for each platform 2026-03-02 09:42:13 -05:00
Pāvels Nadtočajevs 1306221592 Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton. 2026-03-02 13:48:29 +02:00
Rémi Verschelde d3e5ba0d6b Merge pull request #116724 from mihe/embedded-editor-crash-fix
macOS: Add `nullptr` checks of `script_debugger` in `LayerHost::gui_input`
2026-03-02 12:35:42 +01:00
Rémi Verschelde f1ce0e6510 Merge pull request #106814 from stuartcarnie/rendering/hdr-output
Apple: Support output to EDR (HDR) displays
2026-03-02 12:35:22 +01:00