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
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
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
a7b74be08c
Tests: Tidy up compiled tests
2026-02-19 19:31:09 -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
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
DeeJayLSP
6cf4daafbb
Use Inter as the default editor font, features enabled
2025-10-21 16:04:45 -03:00
Pāvels Nadtočajevs
3f1d973651
[TextServer] Do not add empty lines if space trimming flag is set.
2025-10-20 11:37:43 +03:00
Thaddeus Crews
d1d28c0bcf
Merge pull request #111223 from Ivorforce/remove-iterator-include
...
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Lukas Tenbrink
1db0a60dc0
Replace std::size usage with std_size to avoid <iterator> include.
2025-10-05 00:26:11 +02:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
Aaron Franke
9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API
2025-09-30 16:52:25 -07:00
A Thousand Ships
f8d72ba783
[Navigation 2D] Fix sign of cross product
...
Regression from splitting the servers. Also replaces the method for
getting the triangle area.
2025-09-23 14:55:17 +02:00
Rémi Verschelde
ce3ebacb3e
Merge pull request #107381 from smix8/ref_iterations_2d
...
Change 2D navigation region and link updates to an async process
2025-06-12 23:32:48 +02:00
Lukas Tenbrink
b13a0e1834
Rename String::resize to resize_uninitialized, to better communicate to callers that new characters must be initialized.
2025-06-11 18:13:02 +02:00
smix8
2458370de4
Change 2D navigation region and link updates to an async process
...
Changes 2D navigation region and link updates to an async process.
2025-06-11 00:51:02 +02:00
smix8
877da269d8
Change navigation region and link updates to an async process
...
Changes navigation region and link updates to an async process.
2025-06-10 14:18:47 +02:00
smix8
0ce53ffc69
Change 2D avoidance callbacks from Vector3 to Vector2
...
Changes 2D avoidance callbacks from Vector3 to Vector2.
2025-06-07 14:21:28 +02:00
kit
f7c182371e
Remove build_array and build_dictionary from tests
2025-05-26 13:02:01 -04:00
Thaddeus Crews
0d267e7b1e
Core: Add dedicated BitField template
2025-04-11 11:53:26 -05:00
smix8
16fd7b6ae1
Prepare NavigationServer for process() and physics_process() split
...
Prepares the NavigationServer API for a split of its functionality between frame process() and stepped physics_process().
2025-04-02 11:01:08 +02:00
A Thousand Ships
5cc0539961
[Navigation] Create a dedicated 2D navigation server
...
* Add a dedicated 2D server
* Create dedicated tests
* Split performance metrics between 2D and 3D
* Rename the 3D only server module
2025-03-29 12:10:50 +01:00
kobewi
75881f8322
Use initializer list in Arrays
2025-03-26 18:38:15 +01:00
Pāvels Nadtočajevs
2bbf0f2317
Add properties to configure space trimming on line break.
2025-03-16 16:15:37 +02:00
A Thousand Ships
b064fcf547
[Navigation] Rename classes in preparation for future restructure
2025-03-12 13:26:34 +01:00
Thaddeus Crews
e30d3af34e
Merge pull request #102766 from smix8/region_filters
...
Add path query region filters
2025-03-11 16:54:05 -05:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
Thaddeus Crews
c937b6d180
Merge pull request #102419 from Ivorforce/std-size
...
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 -06:00
Pāvels Nadtočajevs
c03aa4b563
[TextServer] Fix space trimming on line break.
2025-02-14 14:40:37 +02:00
smix8
9dfeabc92a
Add path query region filters
...
Adds filter lists to exclude or include specific regions in path queries.
2025-02-13 15:05:34 +01:00
Lukas Tenbrink
e34f1f504c
Use std::size instead of sizeof(a) / sizeof(a[0]) pattern throughout the codebase.
2025-02-07 14:57:48 +01:00
Pāvels Nadtočajevs
43bc44e3b0
[TextServer] Fix text buffer not processing strings added after shape.
2025-01-16 08:57:27 +02:00
Aarni Koskela
f134769506
Fix various typos
...
* Add TODO notes for typos that should be fixed for 5.0
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-01-08 14:47:42 +02:00
Yufeng Ying
34d8255947
Force build editor with regex module, remove checking code.
...
Fix include.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-01-07 19:43:23 +08:00
Rémi Verschelde
af01694779
Merge pull request #100492 from bruvzg/txt_mbrk_trim
...
[TextServer] Fix space trimming around mandatory line breaks.
2025-01-06 22:47:38 +01:00
smix8
d51615b334
Change navigation map synchronization to an async process
...
Changes the navigation map synchronization to an async process to avoid stalling the main thread.
2024-12-22 02:03:59 +01:00
Pāvels Nadtočajevs
7c182a1544
[TextServer] Fix space trimming around mandatory line breaks.
2024-12-16 23:37:26 +02:00
Pāvels Nadtočajevs
06cae04b87
Change default Arabic font to Vazirmatn.
2024-12-05 16:26:52 +02:00
Rémi Verschelde
5836a24a1c
Merge pull request #99488 from bruvzg/te_brk_cases
...
[TextServer] Fix some line breaking edge cases.
2024-12-02 17:20:15 +01:00
smix8
b2e40829a8
Add test for NavigationServer path simplification
...
Adds test for NavigationServer3D.simplify_path() function.
2024-11-26 23:36:25 +01:00
Pāvels Nadtočajevs
0708048530
[TextServer] Fix some line breaking edge cases.
2024-11-25 10:31:07 +02:00
Thaddeus Crews
89a311205f
Style: Apply clang-tidy fixes
...
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
Ershn
c3ee32f106
Use a heap to store traversable polygons for pathfinding
2024-09-01 11:24:14 +09:00
Per Melin
9b191f669c
Fix NavigationServer3D.get_closest_point_to_segment() with use_collision
2024-06-07 14:24:39 +02:00
Rémi Verschelde
25fe3d4b46
Merge pull request #81639 from MJacred/is_letter
...
Add `is_valid_letter()` to `TextServer`
2024-05-03 01:21:34 +02:00
MJacred
717513a62d
Add is_valid_letter() to TextServer
2024-05-02 21:32:20 +02:00
Rémi Verschelde
9b28cbebfa
Tests: Disable NavigationServer3D async bake test with race condition
2024-04-17 17:30:54 +02:00
Pawel Lampe
ab242769b7
Extend NavigationMeshSourceGeometryData[23]D to allow data merging
2024-03-07 19:57:43 +01:00