Commit Graph

813 Commits

Author SHA1 Message Date
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
Pāvels Nadtočajevs 07851f8271 [macOS] Add null check to get_framework_executable. 2026-02-16 16:16:53 +02:00
Pāvels Nadtočajevs d1698255bc [macOS] Fix confined mouse movement getting out of sync. 2026-02-13 10:56:46 +02:00
Pāvels Nadtočajevs 032232a522 [macOS] Add build name to bundle ID of custom builds. 2026-02-11 11:45:49 +02:00
SheepYhangCN 851faa08d8 Add taskbar progress and state support for Windows & macOS
Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-02-09 19:48:53 +08:00
Stuart Carnie b815c88dec Metal: Refactor for future Metal 4, switch to C++; fix dynamic uniforms 2026-02-06 07:07:10 +11:00
Thaddeus Crews 79eb6694a1 Merge pull request #112381 from Ivorforce/no-right-align
Don't right-align escaped newlines (e.g. for `#define`)
2026-02-05 09:18:36 -06:00
Lukas Tenbrink c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
Pāvels Nadtočajevs 96071cfb44 [macOS] Set "main" visibility to default. 2026-02-04 16:51:04 +02:00
brandonhare 155b0f4dca Fixed 'Show In File Manager' launching apps 2026-02-01 18:55:18 +11:00
Lukas Tenbrink 7072a9a874 Change List copy constructor from implicit to explicit. 2026-01-30 18:58:42 +01:00
Pāvels Nadtočajevs 6b67059d94 [macOS] Hide input accessory popups when no text control selected. 2026-01-30 08:45:08 +02:00
Thaddeus Crews 5853d99984 Merge pull request #114930 from KoBeWi/if_it's_runnable_can_it_run_doom
Move runnable out of export preset
2026-01-28 17:58:25 -06:00