7685 Commits

Author SHA1 Message Date
Thaddeus Crews
223c9417bd Merge pull request #115632 from akien-mga/gles3-split-platform-egl
GLES3: Split EGL includes in `platform_egl.h`
2026-04-07 06:44:49 -05:00
Thaddeus Crews
f3dfd4bf33 Merge pull request #118244 from bruvzg/winrt_fixes
[Windows] WinRT build improvements.
2026-04-07 06:44:47 -05:00
Thaddeus Crews
cd32d9949f Merge pull request #118083 from allenwp/hdr-macos-vulkan
Add HDR output support to Vulkan on macOS.
2026-04-07 06:44:43 -05:00
Rémi Verschelde
7567211e8b GLES3: Split EGL includes in platform_egl.h
EGL brings in platform-specific headers such as the dreaded `windows.h`,
and `platform_gl.h` is used throughout `drivers/gles3` for basic OpenGL
types such as `GLuint`. We don't want `windows.h` pollution there.

Note for Android: EGL seems used explicitly only via `rasterizer_gles3.cpp`
to enable GL debug printing, and some custom stuff in `config.cpp`.
2026-04-07 12:07:22 +02:00
Pāvels Nadtočajevs
f867029abf [Windows] WinRT build improvements.
Adds warning and link to the script when winrt headers are missing.
Adds CXXFLAG to fix build with old (Windows 10) SDKs.
Moves WinRT from `github.com/bruvzg/winrt_mingw` to `github.com/godotengine/winrt_mingw`.
2026-04-07 12:01:03 +03:00
Allen Pestaluky
0810756a9f Add HDR output support to Vulkan on macOS.
Co-authored-by: Josh Jones <kilauea.jones@gmail.com>
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2026-04-06 11:11:18 -04:00
Dery Almas
ac913816d4 Wayland: Initialize libdecor earlier
It has its own bookkeeping which would not immediately initialize in
certain setups, leading to crashes.
2026-04-04 23:09:22 +02:00
Thaddeus Crews
e37b5c4035 Merge pull request #118076 from allenwp/output-max-linear-value-events
[Apple, Wayland] HDR Output: Emit window events when HDR state changes
2026-04-03 11:52:22 -05:00
Thaddeus Crews
a70b7ad1e6 Merge pull request #115666 from DarkKilauea/rendering/hdr-output-changed
[Windows] HDR Output: Emit window events when HDR state changes
2026-04-03 11:52:20 -05:00
ArchercatNEO
1d14370d55 Wayland: Fix building with libdecor=no 2026-04-03 10:08:11 +01:00
Allen Pestaluky
f9145cbc72 Add HDR events for Wayland and Apple display servers
Co-authored-by: ArchercatNEO <tururu.pompella@gmail.com>
2026-04-02 12:50:38 -04:00
Thaddeus Crews
a490c267a2 Merge pull request #115498 from m4gr3d/add_javaclasswrapper_proxy_interfaces
Android: Allow implementing java interfaces from GDScript
2026-04-01 12:55:15 -05:00
Thaddeus Crews
0dabee78c7 Merge pull request #116349 from bruvzg/onecore_opt
[Windows] Implement OneCore TTS support using C++/WinRT (no deps).
2026-03-31 10:46:51 -05:00
Fredia Huya-Kouadio
70c684a063 Allow implementing java interfaces from GDScript 2026-03-30 11:49:43 -07:00
Thaddeus Crews
0f51ed6099 Merge pull request #113543 from bruvzg/win_icons
[DisplayServer] Add per window icon support.
2026-03-30 13:35:47 -05:00
Thaddeus Crews
3672cd2ebf Merge pull request #115502 from bruvzg/ios_int_mod
[iOS] Reintegrate camera module to the main repo.
2026-03-30 13:35:41 -05:00
Thaddeus Crews
521e442754 Merge pull request #115896 from bruvzg/trace_x
[CrashHandler] Always print frame PCs and main module load address for retrace.
2026-03-30 13:35:29 -05:00
Thaddeus Crews
5ee90d8e82 Merge pull request #117873 from deralmas/wl/send-reinforcements
Wayland: Unify clipboard sending code
2026-03-30 13:35:26 -05:00
Thaddeus Crews
a644e7ff38 Merge pull request #114861 from dalexeev/improve-editor-only-class-checking
Improve editor-only class checking
2026-03-30 13:35:14 -05:00
Pāvels Nadtočajevs
e2bc0f565c [Windows] Fix Windows version detection. 2026-03-28 00:19:18 +02:00
Pāvels Nadtočajevs
4d8234d50e [iOS] Reintegrate camera module to the main repo. 2026-03-27 13:52:18 +02:00
Pāvels Nadtočajevs
dc53136043 [Windows] Implement OneCore TTS support using C++/WinRT. 2026-03-27 13:43:22 +02:00
Pāvels Nadtočajevs
c20e4dd010 [CrashHandler] Always print frame PCs and main module load address for retrace. 2026-03-27 11:34:36 +02:00
Dery Almas
b1c216d916 Wayland: Unify clipboard sending code
The primary and selection parts would constantly get out of sync.

Also fixes a wrong return value in `primary_get_mime`.
2026-03-27 04:33:52 +01:00
Rémi Verschelde
ab9175302e Merge pull request #117830 from bruvzg/ac_scroll
[Accessibility] Do not focus on ScrollContainer scroll bars.
2026-03-26 16:02:10 +01:00
Rémi Verschelde
40b218a679 Merge pull request #117643 from m4gr3d/android_editor_bug_fixes
[Android] Follow up fixes to enabling orientation change in the script editor
2026-03-26 16:01:30 +01:00
Rémi Verschelde
e030230a99 Merge pull request #117445 from bruvzg/angle_no_dyn
[macOS/Windows] Remove dynamically linked ANGLE support, add flag to enable/disable ANGLE.
2026-03-26 16:01:25 +01:00
Rémi Verschelde
c19a2705af Merge pull request #116692 from deralmas/wl/i-love-multithreading
Wayland: Fix race with buffer scaling
2026-03-26 16:01:14 +01:00
Rémi Verschelde
915f8dcba7 Merge pull request #116648 from gongpha/wayland-clipboard-fix
Fix clipboard history not updating on subsequent copies in Wayland
2026-03-26 16:01:08 +01:00
Pāvels Nadtočajevs
4a44702b29 [Accessibility] Do not focus on ScrollContainer scroll bars. 2026-03-25 17:08:28 +02:00
Danil Alexeev
32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
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
5fc9f6b3d9 [macOS/Windows] Remove dynamically linked ANGLE support, add flag to enable/disable ANGLE.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2026-03-23 13:01:25 +02:00
Pāvels Nadtočajevs
d47b8d7a64 [DisplayServer] Add per window icon support. 2026-03-23 11:27:09 +02: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
Josh Jones
3512a169b2 Emit events when HDR output state changes externally 2026-03-21 14:42:56 -07: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
Fredia Huya-Kouadio
c214ef348a [Android] Follow up fixes to enabling orientation change in the script editor
- Fix project manager crash when rotating the device
- Fix title bar disappearing when rotating large screen devices (tablet and foldables)
2026-03-20 12:06:47 -07: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
Dery Almas
2d74e56caf Wayland: Fix race with buffer scaling
We now pass the buffer scale along the window size to the display server
and set everything from there.

This should avoid races where the buffer scale changes while we handle
window rect changes.
2026-03-20 14:24:38 +01: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