96fdaa616b
Style: Integrate #pragma once in builders/checks
2025-03-07 17:32:33 -06:00
47761b1bbe
Merge pull request #81503 from matorin57/font-tests
...
Add getter tests for dynamic fonts
2025-03-07 15:12:27 -06:00
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
9e7fbdf52b
Merge pull request #103663 from pafuent/fixing_errors_warnings_output_on_tests
...
Fix `SCRIPT ERROR/ERROR/WARNING` on test output
2025-03-07 15:12:11 -06:00
3d816853e5
Merge pull request #100209 from Flarkk/simplify_fix_projection
...
Simplify and fix `Projection`'s getter functions
2025-03-06 16:36:19 -06:00
1d416fc2ba
Simplify and fix Projection's getter functions
2025-03-06 16:48:01 +01:00
5775d29ad8
Fix SCRIPT ERROR/ERROR/WARNING on test output
...
Also "fixing" some GDScript completion tests which
where named wrongly.
2025-03-06 13:44:48 +01:00
a1e2dd15af
Merge pull request #101077 from Rindbee/fix-ui-navigation-break
...
Fix ui navigation break
2025-03-05 12:07:56 -06:00
030cc9945e
Merge pull request #102854 from bruvzg/brk_trim3
...
[TextServer] Fix space trimming on line break.
2025-02-14 08:25:33 -06:00
c03aa4b563
[TextServer] Fix space trimming on line break.
2025-02-14 14:40:37 +02:00
577ee919d4
Add tests for control to test anchoring and minimum size
2025-02-13 16:08:39 +00:00
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
2bfca8e9c2
Added getter tests for dynamic fonts
2025-02-12 18:45:44 -06:00
0d4d70d5a6
Merge pull request #102587 from bruvzg/s_pa_tst
...
[Tests] Add `Packed*Array` `to_byte_array` variant call tests.
2025-02-11 10:54:14 +01:00
d1338528f9
Fix file loggin log rotation
...
Fixes #97066
`RBSet` were used on `RotatedFileLogger` because it guarantees that
iterating it is done via `operator<`. This is important because
`RotatedFileLogger` depends on this behavior to delete the oldest log file.
On #61194 `HashSet` was added and all `RBSet` uses were replaced by
`HashSet`.
When that happened, the iteration in order is guaranteed to be the insertion
order, wich made that `RotatedFileLogger` delete the newest log file.
As a bonus, I added unit test for `RotatedFileLogger` and `CompositeLogger`.
2025-02-10 21:57:07 +01:00
7f7f12dad3
[Tests] Add Packed*Array to_byte_array variant call tests.
2025-02-08 17:40:50 +02:00
e34f1f504c
Use std::size instead of sizeof(a) / sizeof(a[0]) pattern throughout the codebase.
2025-02-07 14:57:48 +01:00
f0f5319b0b
Merge pull request #100107 from Faless/fix/net_tests
...
[Net] Fix TCP/UDP server network tests
2025-02-05 18:50:44 -06:00
b50d9742c2
Fix is_valid_float, Variant parser, Expression parser, script highlighter, and TextServer not handing capital E in scientific notation.
2025-02-05 18:39:40 +02:00
3be46a69c4
Fix uppercase B and X parsing in the integer literals.
2025-02-05 16:02:06 +02:00
d56cbd374b
Fix Basis::get_euler incorrectly simplifying rotations in some cases.
2025-01-29 16:13:29 -06:00
343b37dfc1
Add unit tests for control focus navigation
...
Users can navigate focus between controls using `ui_focus_next` or
`ui_focus_prev actions`. Add unit tests for these behaviors.
2025-01-29 20:51:02 +08:00
c032ce4050
Merge pull request #101613 from kitbdev/fix-te-hover-mouse-exit
...
Fix TextEdit breakpoint hover not hiding on mouse exit
2025-01-22 16:32:24 -06:00
27e23280c5
Fix Quaternion arc constructor to check dot & Add test for same vec3s
2025-01-20 18:16:53 +09:00
8274e64402
Fix TextEdit breakpoint hover not hiding
2025-01-16 10:42:54 -05:00
43bc44e3b0
[TextServer] Fix text buffer not processing strings added after shape.
2025-01-16 08:57:27 +02:00
35080c6df3
Merge pull request #100970 from anknetau/ank/godot-add-test-cases-for-uid-strings
...
Add some tests for `uid://` encoding and decoding
2025-01-10 23:05:59 +01:00
ad74e337b9
Merge pull request #100954 from Bromeon/bugfix/nodepath-slice
...
Fix `NodePath::slice()` incorrect behavior for subname indexing
2025-01-10 23:05:56 +01:00
2b5dd99d72
Add some tests for uid:// encoding and decoding
2025-01-10 23:41:12 +11:00
8bfb5d74b3
Use LocalVector for Curve and Gradient
2025-01-09 14:25:21 +02:00
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
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
4cf02312f6
Merge pull request #101136 from JulianHeuser/master
...
Add test for GLTFDocument
2025-01-07 00:45:14 +01:00
653f5a9613
Merge pull request #100976 from AThousandShips/uid_fixes
...
[Core] Fix UID encoding
2025-01-06 22:48:13 +01:00
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
5727eda0e1
GLTFDocument test case
2025-01-06 15:53:33 -05:00
1aaf20b1f1
Merge pull request #98488 from RandomShaper/lockless_rid_fetch_pro
...
Fix `RID_Owner` synchronization
2025-01-06 08:38:14 +01:00
de7e4efef8
Fix RID_Owner synchronization
2025-01-03 17:05:36 +01:00
d47fef15b8
Merge pull request #100991 from TokageItLab/180deg-arc
...
Fix looking at with 180 degree arc
2025-01-03 00:49:59 +01:00
dd7d36e803
Merge pull request #100770 from hpvb/command-queue-mt
...
Core: Refactor CommandQueueMT to use vararg templates for performance and maintainability
2025-01-03 00:49:02 +01:00
cccd2432c3
Refactor CommandQueueMT to use vararg templates
...
In order to make CommandQueueMT more maintainable this PR changes the
previous macro hell with variadic templates instead. This makes the
class far more explicit and will allow us to more easily change the way
the class functions in the future.
Furthermore this refactoring has allowed for some optimizations. In
particular by using std::forward to delay the decision of decaying the
type to as late as possible we are able to move the data from the
callsite into our Command buffer and later move it to the call.
In practice what this means is that compared to the old version instead
of copying values 3 times, we can now get away with 1 copy, and 1 move
for lvalues, and just 2 moves for rvalues. This saves quite a few
operations in a hot codepath.
We also now test to make sure that the amount of copies and moves are
what we expect. This way we can spot performance regressions in this
code easily.
Somewhat unscientifically, running TPS-demo by pressing enter and not
touching the controls average mspf, repeatable across many runs:
before: 6.467
after : 6.202
2025-01-02 15:35:08 +01:00
d0c421976c
Fix looking at with 180 degree arc
...
Co-authored-by: Fruitsalad <949631+fruitsalad@users.noreply.github.com >
2025-01-02 15:47:01 +09:00
25ecf5ec83
[Core] Fix UID encoding
...
Fixes edge case where `0` encoded as `uid://` instead of `uid://a`, and
fixes the size of the temporary buffer storing encoded UID strings.
2024-12-31 15:20:09 +01:00
df66ea74d7
Fix NodePath::slice() incorrect behavior for subname indexing
...
Adjust slice boundaries in `NodePath` logic to correctly handle subnames.
Update test cases to reflect these changes.
2024-12-30 21:22:26 +01:00
a9b6b3d932
Merge pull request #100776 from AThousandShips/improve_null_checks
...
Improve use of `Ref.is_null/valid`
2024-12-29 09:35:04 -06:00
16233db6bf
Ensure that directory exists in create_test.py
2024-12-28 01:39:09 +01:00
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
08d4dd7fd8
Merge pull request #100694 from Ivorforce/cowdata-destruct-graciously
...
Destruct `CowData` more graciously by avoiding accidentally exposing a half-destructed buffer.
2024-12-23 11:15:18 -06:00
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
25cd923ea1
Destruct CowData more graciously by avoiding accidentally exposing a half-destructed buffer. This can avoid problems if any of the destructed objects tries to access the data while it's being destructed.
2024-12-21 20:01:03 +01:00