Commit Graph

825 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
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
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
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
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 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 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 c20e4dd010 [CrashHandler] Always print frame PCs and main module load address for retrace. 2026-03-27 11:34:36 +02: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
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
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
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
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
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +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
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 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 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
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
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 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
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
Yyf2333 282e4544b0 Split VariantCaster from binder_common.h 2026-03-10 17:59:33 +08:00
Pāvels Nadtočajevs f7faabb95e [macOS] Enable wake for events if Magnet is running. 2026-03-06 13:18:30 +02:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01: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 41c6075002 [macOS] Fix building with Xcode versions older than 26. 2026-03-04 13:13:40 +02: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
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews e3837c24fd Merge pull request #116242 from bruvzg/cgevents
[macOS] Fix confined mouse movement getting out of sync.
2026-02-26 16:18:36 -06:00
Stuart Carnie d5504ffc69 feat: Add EDR support to Metal and all Apple platforms 2026-02-27 05:23:56 +11:00
Mikael Hermansson 622efbe23b Add nullptr checks of script_debugger in LayerHost::gui_input 2026-02-24 17:21:23 +01:00
Thaddeus Crews 8ab854a7ca Merge pull request #116092 from bruvzg/bundle_id
[macOS] Add build name to bundle ID.
2026-02-20 11:36:06 -06:00
Thaddeus Crews 15558cb886 Merge pull request #108111 from Repiteo/core/sanitizer-restructure
Core: Restructure sanitizers
2026-02-18 12:04:30 -06:00
Rémi Verschelde ad4b910a10 Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Thaddeus Crews 1e12317895 Merge pull request #115646 from Ivorforce/list-explicit-copy
Change `List` copy constructor from implicit to explicit.
2026-02-16 15:02:34 -06:00
Thaddeus Crews 43c9a32b3d Merge pull request #116354 from bruvzg/macos_url_null
[macOS] Add null check to `get_framework_executable`.
2026-02-16 10:19:36 -06:00