Commit Graph

7648 Commits

Author SHA1 Message Date
Rémi Verschelde 0f53286459 Merge pull request #117682 from syntaxerror247/sigal-registration-issue
Fix plugin signal registration error on Android
2026-03-23 22:35:50 +01:00
Pāvels Nadtočajevs 022195257b [Windows] Fix invalid transient window getting stuck in infinite loop.
Do not add always-on-top windows to transient list on creation.
Unconditionally clean transient children list when window is closed.
2026-03-23 10:25:00 +02:00
ArchercatNEO 8be7b9f18c Wayland: Fix use-after-free of Ref<ColorManagementProfile>
Fixes #117676
PR #111964 made a Ref<ColorManagementProfile> which we intentionally
leaked across a client-server barrier owned, which caused a use-after-free.
Manually adding reference/unreference calls keeps the ptr valid without memory leaks.
2026-03-21 09:28:43 +00:00
Anish Kumar 2e208489e7 Fix plugin signal registration error on Android 2026-03-21 00:07:37 +05:30
Thaddeus Crews 0e8bd28a10 CI: Implement clangd-tidy as GitHub Action 2026-03-20 09:16:38 -05:00
Thaddeus Crews 2995751152 Merge pull request #114327 from LanzaSchneider/fix-non-deterministic-framework-macos
[MacOS] Fix non-deterministic framework linking order on macOS for incremental builds
2026-03-19 15:39:17 -05:00
Thaddeus Crews fb4a304dee Merge pull request #111965 from Ivorforce/memnew-typed
Make `memnew(RefCounted)` return `Ref`, to improve ownership safety
2026-03-19 15:39:15 -05:00
Thaddeus Crews 013fc6f92a Merge pull request #114102 from AR-DEV-1/13823-imp
Add tilde symbol (~) to the FileDialog
2026-03-19 10:20:04 -05:00
Thaddeus Crews e3173f4ec4 Merge pull request #117355 from m4gr3d/bump_vulkan_requirements
Android: Bump the minimum api version and hardware version for Vulkan support
2026-03-19 10:20:01 -05:00
Thaddeus Crews fa4d24cbb5 Merge pull request #116513 from deralmas/wl/dedup-global-remove
Wayland: Deduplicate cleanup logic
2026-03-19 10:19:52 -05:00
Fredia Huya-Kouadio 46984cf152 Bump the minimum api version and hardware version for Vulkan support
Follows the recommendations from https://developer.android.com/games/develop/vulkan/native-engine-support#recommendations
2026-03-18 20:47:48 -07:00
Lukas Tenbrink 05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
Thaddeus Crews 179ee951b6 Merge pull request #117530 from ArchercatNEO/wp-color-management-warning
Wayland: Only report HDR request failed warning if HDR was actually requested
2026-03-18 11:43:28 -05:00
Rémi Verschelde 4336184ea4 Style: Tweak ordering of thirdparty includes with angle brackets 2026-03-18 10:41:59 +01:00
Rémi Verschelde 98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
ArchercatNEO 5b66760492 Wayland: only emit HDR request failed warning if HDR was actually requested
Fixes #117527
2026-03-17 18:52:38 +00:00
Thaddeus Crews be33d1ceb0 Merge pull request #114941 from syntaxerror247/fix-HashMap-crash
Android: Fix java.util.HashMap handling
2026-03-17 13:44:11 -05:00
Anish Kumar 5387f0d596 Android: Fix crash when emitting signal with java.util.HashMap 2026-03-17 22:55:18 +05:30
DSOE1024 980639ff6e Fix preprocessor directive for X11 and GLES3 2026-03-17 17:26:24 +08:00
Dery Almas 29e1bc5a23 Wayland: Deduplicate cleanup logic
We now reuse the `global_remove` event handler. This removes a
considerable amount of duplication, minimizes human error (such as
cleaning up a global in one place but not the other), and helps test the
dynamic global removal logic.
2026-03-16 23:51:08 +01:00
Rémi Verschelde c40d3b9b0d Merge pull request #117480 from akien-mga/clangd-misc-fixes
Misc includes or modernize fixes found via clangd-tidy
2026-03-16 23:41:23 +01:00
Rémi Verschelde aa25369052 Merge pull request #116955 from van800/van800/natvis/string-name-fix
Update `godot.natvis` to fix presenting `godot::StringName` correctly and remove non-working options of 'StringName'
2026-03-16 23:41:17 +01:00
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +01:00
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
Ivan Šachov af5207bd17 Update godot.natvis to fix presenting godot::StringName correctly and remove non-working options of 'StringName' 2026-03-14 11:21:50 +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