Commit Graph

2024 Commits

Author SHA1 Message Date
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
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
Rémi Verschelde dac17215ad Windows: Add missing extern "C" for hidsdi.h on MinGW < 12.0.0
Follow-up to #113013.
2026-01-15 23:49:13 +01:00
Dario 542f8ddf22 Fix fallback to OpenGL3 from Vulkan initialization on Android. 2026-01-14 23:55:21 -03:00
kobewi 91cc70f280 Move runnable out of export preset 2026-01-13 19:32:33 +01:00
Pāvels Nadtočajevs a45074e692 [Windows] Fix icon leak. 2026-01-02 19:37:03 +02:00
Rémi Verschelde b72679bcc5 Merge pull request #112116 from bruvzg/sep_res_templ
[Windows] Use separate resource files for export templates.
2025-12-18 14:23:21 +01:00
bruvzg 9ebe07e280 [Windows] Expand full screen border in the direction with no adjacent display, or display with min refresh rate difference. 2025-12-18 08:59:28 +02:00
Rémi Verschelde a5452ce8c5 sdl: Update to 3.2.28 2025-12-13 00:04:56 +01:00
Pāvels Nadtočajevs 61940e40ea Check for unprefixed compilers when building on Windows. 2025-12-09 22:26:27 +02:00
Rémi Verschelde 342ba8063e Merge pull request #112361 from Calinou/export-dedicated-server-no-shader-baker
Disable shader baker when exporting as dedicated server
2025-12-09 19:54:22 +01:00
Thaddeus Crews 7d517902e3 Merge pull request #113744 from blueskythlikesclouds/d3d12-editor-fullscreen-fix
Fix D3D12 looking blurry in the editor at fullscreen.
2025-12-08 11:54:04 -06:00
Skyth ab0a7f2da2 Fix D3D12 looking blurry in the editor at fullscreen. 2025-12-08 14:15:15 +03:00
Skyth 7205e21915 Fix Vulkan failing to initialize when compiling without D3D12. 2025-12-08 11:11:15 +03:00
Adam Scott 10c7cb878a Add new monospace related hint strings
- Add hint string `monospace` for `PROPERTY_HINT_{NONE,PASSWORD,PLACEHOLDER_TEXT}` to set the `LineEdit` font monospaced.
- Add hint string `monospace` for `PROPERTY_HINT_MULTILINE_TEXT` to set the `TextEdit` font monospaced.
- Add hint string `no_wrap` for `PROPERTY_HINT_MULTILINE_TEXT` to make the `TextEdit` not wrap lines automatically.

Also:
- Fix issue with `EditorPropertyMultilineText` not updating font properly.
- Add `EditorPropertyMultilineText` tweak flags.
- Add support with GDScript `@export_multiline`.
2025-12-03 12:57:40 -05:00
Rémi Verschelde 71d4ded745 Merge pull request #113279 from Ivorforce/tracy-gdscript-codeloc
Add support for profiling GDScript with tracy.
2025-12-02 14:16:56 +01:00
Lukas Tenbrink acefbbbbcd Add support for profiling GDScript with tracy.
This adds macro `GodotProfileZoneGroupedFirstScript`, and uses interning for speedy lookups.

Co-authored-by: Samuel Nicholas <nicholas.samuel@gmail.com>
2025-11-28 16:36:36 +01:00
Rémi Verschelde b87fcf7e79 Windows: Make Direct3D 12 the default RD driver for new projects
For compatibility reasons, `vulkan` is kept as the technical default for the
setting, but projects created in Godot 4.6 and later will set `d3d12` as the
driver automatically.

Users upgrading to 4.6 are recommended to adopt `d3d12` as a default if it
fits their needs.

Enable `d3d12=yes` by default in SCons so that custom Windows builds include
Direct3D 12 support.
2025-11-27 10:26:25 +01:00
Thaddeus Crews 0892983225 Merge pull request #113013 from bruvzg/hid_hook
Fix EnumDevices stall using IAT hooks.
2025-11-24 10:21:44 -06:00
Pāvels Nadtočajevs 985dfa7cda Fix EnumDevices stall using IAT hooks.
Co-authored-by: Davi <davicr38@gmail.com>
2025-11-21 11:21:46 +02:00
Pāvels Nadtočajevs a7358ddd12 Add error message when trying to load project from CWD. 2025-11-20 23:19:09 +02:00
Hilderin f3233372f1 Fix pressed keys resetted when hiding a window on Windows 2025-11-18 10:23:56 -06:00
Thaddeus Crews e46c2ea3fa Merge pull request #112379 from bruvzg/tts64id
Make `utterance_id` 64-bit.
2025-11-14 14:23:17 -06:00
Skyth 69401d6eb1 Fix crash when using ANGLE OpenGL on Windows. 2025-11-13 12:24:11 +03:00
Thaddeus Crews 04bc282ae7 Merge pull request #104851 from Ivorforce/tracy
Add `profiler` option to `SCons` builds, with support for `tracy` and `perfetto`.
2025-11-12 11:24:15 -06:00
Jono Kemball 3497a5dbf5 Windows: Fix window_get_size_with_decorations returning an invalid size when minimizing by storing previous value 2025-11-11 09:22:29 +13:00
Lukas Tenbrink c3747884da Add some important profiling hooks. 2025-11-08 00:08:48 +01:00
Lukas Tenbrink e80194e31f Add profiler option to SCons builds.
Add `tracy` option to `profiler`. If set, a tracy profiling client will be injected into the Godot binary.

# Conflicts:
#	platform/linuxbsd/godot_linuxbsd.cpp
2025-11-08 00:08:45 +01:00
Pāvels Nadtočajevs 281c74550a Make utterance_id 64-bit. 2025-11-07 10:21:20 +02:00
Pāvels Nadtočajevs c231c8c41d Fix "Unexpected NUL character" errors on Wine. 2025-11-07 08:08:12 +02:00