Commit Graph

2052 Commits

Author SHA1 Message Date
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
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
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
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
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
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 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
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
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
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05: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
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
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Rémi Verschelde f5a290ac46 Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Thaddeus Crews 2146b49a49 Windows: Add windows.h drop-in wrapper header
• Defines `WIN32_LEAN_AND_MEAN` and `NOMINMAX`, and various undefs
2026-02-23 17:56:05 -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 2f06af10e6 Merge pull request #106560 from SheepYhangCN/taskbar-progress-state
Add taskbar progress and state support for Windows & macOS
2026-02-16 10:19:21 -06:00
Thaddeus Crews 2d5b30c476 Merge pull request #115963 from blueskythlikesclouds/reduce-includes-to-rd
Reduce includes to rendering device.
2026-02-12 08:19:16 -06:00
Josh Jones b8389cc76b Support output to HDR monitors
Co-authored-by: Alvin Wong <alvinhochun@gmail.com>
Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
2026-02-11 22:13:26 -07:00
Skyth 8fbf2f1e14 Reduce includes to rendering device.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2026-02-10 16:58:50 +03: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
Thaddeus Crews 435e6c3830 CI: Enable Ruff preview options; bump version
• 1.14.7 → 1.15.0
2026-02-05 12:20:10 -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
AR 92fe77d26a Logic for expansion of Tilde symbol
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2026-01-29 06:46:50 +05: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
Thaddeus Crews cdddc73745 Merge pull request #115379 from kitbdev/popupmenu-set-index
Add PopupMenu method `set_item_index`
2026-01-28 17:58:01 -06:00
Thaddeus Crews beda8dd027 Core: Restructure sanitizers 2026-01-28 09:13:16 -06:00
Nintorch eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
Thaddeus Crews ed0ae97d98 Merge pull request #114922 from DarioSamo/android-platform-gl3-fallback-fix
Fix fallback to OpenGL3 from Vulkan initialization on Android.
2026-01-27 09:04:14 -06:00
bruvzg 9c753ebe84 [Windows] Disable MSVC control flow check on IAT hooks. 2026-01-27 10:30:19 +02:00
Thaddeus Crews d40dd57a9e Merge pull request #115373 from kitbdev/fix-windows-submenu-remove-crash
Fix crash on removing Windows PopupMenu submenu
2026-01-26 15:01:46 -06:00
kit 01839942fc Add PopupMenu method set_item_index 2026-01-26 12:17:56 -05:00
kit f3dacf24b0 Fix crash on removing Windows PopupMenu submenu 2026-01-25 14:48:45 -05:00
Pāvels Nadtočajevs b0320ef4ff [Windows] Use executable icon as default for the window. 2026-01-23 10:41:23 +02:00