Commit graph

1357 commits

Author SHA1 Message Date
Rémi Verschelde
18edfa5245
Explicitly include scene_tree.h where used
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01:00
StarryWorm
3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05: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
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
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
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
Thaddeus Crews
abdde1b69d
Core: Remove class_db.h include from ref_counted.h 2026-02-26 18:14:23 -06:00
Rémi Verschelde
cb9b4cff90
Decouple MeshStorage from RenderingServer
By moving RS::SurfaceData and RS::MeshInfo to RenderingServerTypes.

This notably allows removing RS dependency from `mesh.h`.
2026-02-25 20:17:28 +01: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
kit
e5c50f4b7b Fix SplitContainer accessibility errors 2026-02-21 16:16:25 -05:00
Thaddeus Crews
9a19d32fdb
Merge pull request #116541 from Ivorforce/a-variant-shaped-pool
Move variant pools to their own compile unit.
2026-02-21 12:17:01 -06:00
Lukas Tenbrink
e9465cd380 Move variant pools to their own compile unit. 2026-02-21 13:24:17 +01:00
Pāvels Nadtočajevs
f69edf810e
[String] Allow using Java style %[arg$] prefix in sprintf. 2026-02-20 15:07:58 +02:00
Thaddeus Crews
a7b74be08c
Tests: Tidy up compiled tests 2026-02-19 19:31:09 -06:00
Thaddeus Crews
dde6e84bc3
Tests: Compiled test conversion follow-up 2026-02-19 10:19:03 -06:00
Thaddeus Crews
5482b9e89e
Tests: Convert test headers to compilation files
• Excludes module tests, as they'd be a more involved process
2026-02-19 07:36:26 -06:00
K. S. Ernest (iFire) Lee
481865ba34 Run linter on run_compatibility_test.py. 2026-02-18 14:27:21 -08: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
fa56f71ddd
Merge pull request #107452 from Ivorforce/bit-math-header
Move binary math functions to `Math` namespace in `math_funcs_binary.h`
2026-02-17 09:28:31 -06:00
Lukas Tenbrink
0ea5ece984 Move binary math functions to Math namespace in math_funcs_binary header. 2026-02-17 12:24:35 +01:00
Lukas Tenbrink
c9249346c4 Change HashSet copy constructor from implicit to explicit. 2026-02-16 23:10:33 +01:00
HolonProduction
47bc8f002f LSP: Fix singleton registration 2026-02-16 21:40:19 +01:00
Thaddeus Crews
cf406533c8
Merge pull request #114283 from KoBeWi/adding_physical_buttons
Change TabContainer's popup button into real Button
2026-02-16 10:19:22 -06:00
Thaddeus Crews
833889aec0
Merge pull request #115710 from syntaxerror247/fix-seek
Fix `FileAccess.seek_end` behavior on Android
2026-02-09 15:07:07 -06:00
Thaddeus Crews
e067a686b3
Merge pull request #115933 from m4gr3d/fix_test_color_breaking_on_android
Fix `TestColor` build failure on Windows
2026-02-09 15:07:06 -06:00
kobewi
44f9d7fa2e Change TabContainer's popup button into real Button 2026-02-08 18:13:45 +01:00
Anish Kumar
0c89904687 Fix FileAccess.seek_end behavior on Android 2026-02-08 00:16:34 +05:30
Thaddeus Crews
ff7d5cb3d0
Merge pull request #113743 from Yarwin/feature/improve-automated-checks-for-gdextension-compatibility
Improve automated checks for GDExtension compatibility
2026-02-06 08:17:48 -06:00
Fredia Huya-Kouadio
deabc704d6 Fix TestColor build failure on Android
```
ERROR: In file included from tests\test_main.cpp:72:
./tests/core/math/test_color.h:64:27: error: ignoring temporary of type 'Color' declared with 'nodiscard' attribute [-Werror,-Wunused-value]
   64 |         const Color green_hsva = Color(0, 0, 0).from_hsv(120 / 360.0, 1, 1, 0.25);
      |                                  ^~~~~~~~~~~~~~
1 error generated.
```
2026-02-05 17:10:36 -08: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
Rémi Verschelde
429750f60b
Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
Thaddeus Crews
29afd19ed6
Merge pull request #115228 from DeeJayLSP/fonts-jan-2026
Update fallback fonts to latest releases
2026-01-28 12:26:58 -06:00
Thaddeus Crews
beda8dd027
Core: Restructure sanitizers 2026-01-28 09:13:16 -06:00
Thaddeus Crews
105ec00722
Merge pull request #108830 from bruvzg/pck_buf
[PCKPacker] Add method to add files from buffer.
2026-01-26 15:01:43 -06:00
DeeJayLSP
cecdc7fb85 Update fallback fonts to latest releases 2026-01-21 19:33:24 -03:00
Lukas Tenbrink
1825e89787 Change copy constructors of HashMap and AHashMap from implicit to explicit. 2026-01-21 13:01:23 +01:00
Rémi Verschelde
a4a26762f1
Merge pull request #114328 from kleonc/node_duplicating_signal_source_node_fix
`CONNECT_APPEND_SOURCE_OBJECT` on signal emission
2026-01-20 00:22:32 +01:00
kleonc
edd06075e3 CONNECT_APPEND_SOURCE_OBJECT on signal emission 2026-01-14 14:59:57 +01:00
Fabio Alessandrelli
65ce1360b4 network: Normalize IP parsing, fix IPv6, tests 2026-01-13 18:55:55 +01:00
kit
9813c834fa Fix TextEdit Shift+Click selection start position 2026-01-09 10:46:45 -05:00
Yarvin
e51750968e Improve automated checks for GDExtension compatibility
====

 - Create minimal GDExtension which tries to load methods specified in a
   gdextension_api.json.

 - Run said GDExtension in the CI.
2026-01-06 08:31:10 +01:00
Rémi Verschelde
37ac9d5636
Merge pull request #113988 from kleonc/astar_path_from_disabled_point_is_empty
Fix `AStar`s to return empty path for disabled from point
2026-01-01 16:46:26 +01:00
Rémi Verschelde
e43485a9ee
Merge pull request #113648 from kitbdev/fix-multisplit-incorrect-shrinking
Fix SplitContainer incorrect child shrink logic
2025-12-18 14:24:15 +01:00
Rémi Verschelde
8e68058505
Merge pull request #111839 from bruvzg/no_empty_brk_lines
[TextServer] Do not add empty lines if space trimming flag is set.
2025-12-16 12:49:31 +01:00
Thaddeus Crews
aeef4fff6d
CI: Fix executable perms for various files 2025-12-15 11:23:03 -06:00
Thaddeus Crews
ef0dd99a37
CI: Bump clang-format and clang-tidy versions
• clang-format: 20.1.0 → 21.1.7
• clang-tidy: 20.1.0 → 21.1.6
• `.clang-format`: 17.0.6 → 18.1.8 (keep 3 versions behind latest for compatibility)
2025-12-13 09:55:14 -06:00
kleonc
4c3cf9c1c4 Fix AStars to return empty path for disabled from point 2025-12-13 15:28:30 +01:00