3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
7227fdd805
Core: Add UNIX domain socket support
...
> [!NOTE]
>
> Later versions of Windows has support for `AF_UNIX`, so it could be
> added.
2025-09-26 05:46:19 +10:00
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
f11aff3841
Editor: Restructure editor code
...
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
907fdc6222
Adding tests for Animation Blend Tree
...
Co-Authored-By: kj-art-dev <56623499+kj-art-dev@users.noreply.github.com >
Co-Authored-By: Nick <148664926+nick-njh@users.noreply.github.com >
2025-06-10 13:53:01 +02:00
61639d9574
Merge pull request #106996 from Ivorforce/no-oa-hashmap
...
Core: Remove `OAHashMap`, in favour of `AHashMap`
2025-06-05 13:12:34 +02:00
9f98e922da
Merge pull request #106574 from MisakaRinOwO/New-Tests-for-Sprite2d
...
Add unit tests for Sprite2D
2025-06-05 13:11:52 +02:00
6b2674fe18
Reuse and optimize sorting logic for List, SelfList, and HashMap
...
Added SortList class, and updated List, SelfList, and HashMap sort methods to use it. Sorting is done with merge sort, with an initial check to optimize for already sorted lists, and sorted lists that were appended to.
2025-06-04 10:18:22 -04:00
3ce59a5114
Added new unit tests for Sprite2D.
...
Added a new test file and test cases for Sprite2D. Updated test_main.cpp to include the new test file.
2025-06-02 20:47:18 -07:00
5935356962
Merge pull request #100984 from TokageItLab/bone-constraint
...
Implement `BoneConstraint3D` with `CopyTransform`/`ConvertTransform`/`Aim` Modifiers
2025-06-02 18:51:57 -05:00
4a2a95678b
Implement BoneConstraint3D with Copy/ConvertTransfrom & TrackBone mods
2025-06-02 03:42:45 +09:00
963c20565b
Remove OAHashMap, in favour of AHashMap.
...
The two types had (mostly) the same decisions, but `AHashMap` is a faster implementation, and is more consistent with `HashMap`.
2025-05-31 15:50:10 +02:00
e7d31635dd
Don't hard-code test path when deleting test data
2025-05-23 15:29:10 +02:00
56cc2bb68a
Merge pull request #105848 from leandro-benedet-garcia/delete_cache
...
Delete test cache before running it
2025-05-15 10:22:21 -05:00
3bf400ffae
Move bisect to Span and deduplicate code.
...
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com >
2025-05-14 18:19:09 +08:00
ed35b9e181
Delete test cache before running it
2025-05-02 14:08:32 -03:00
1b1ab76a14
Add FixedVector template.
...
This is a high performance `Vector`-like object that can be used if the maximum number of objects is small and known, and the objects are needed only temporarily.
2025-04-30 19:14:08 +02:00
f2197a1013
Expose TriangleMesh api functions wrapped for scripting
...
Adds script wrapped TriangleMesh api functions to create and query the triangle BVH tree.
2025-04-02 09:52:35 +02:00
556933306a
Allow to compile templates without navigation features
2025-04-01 11:53:35 -03:00
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
5ad414d046
Allow to compile templates without physics servers
2025-03-28 11:00:44 -03:00
e2bef7041e
Fix StreamPeerGZIP::finish() internal buffer size usage
...
Fixes #97201
Instead of using and arbitrary fixed size for the internal buffer,
the remaining available bytes of the internal `RingBuffer` is used.
Also add unit tests for `StreamPeerGZIP`.
2025-03-19 09:56:32 +01:00
b064fcf547
[Navigation] Rename classes in preparation for future restructure
2025-03-12 13:26:34 +01:00
605b62cd29
Add Span struct (replacing StrRange). Spans represent read-only access to a contiguous array, resembling std::span.
2025-03-09 18:19:51 +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
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
4cf02312f6
Merge pull request #101136 from JulianHeuser/master
...
Add test for GLTFDocument
2025-01-07 00:45:14 +01:00
5727eda0e1
GLTFDocument test case
2025-01-06 15:53:33 -05: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
9d2a4c03be
Embedding game process in editor
2024-12-18 17:52:42 -05:00
63a90b3dd8
Add tests for SplitContainer
2024-12-17 18:16:52 -05:00
0ce9e3e941
Merge pull request #98504 from timothyqiu/test-keyevent-rtr
...
Fix `InputEventKey` test failure under certain system languages
2024-12-17 16:18:46 +01:00
35bb827d10
Destroy EditorFilesystem/EditorSettings on test shutdown
...
Otherwise asan complains if a test tries to use these.
Split off from https://github.com/godotengine/godot/pull/98909
2024-12-02 19:34:39 +01:00
0c03db09f8
Add unit tests for TCPServer
...
This PR aims to help "fix" #43440
2024-11-29 12:55:49 +01:00
2c9de1d9d2
Add unit tests for UDPServer
...
This PR aims to help "fix" #43440
2024-11-22 23:08:05 -03:00
23fc8e22a3
Merge pull request #95303 from EIREXE/inverted_composer
...
Fix `Projection::invert` for orthographic projection
2024-11-20 17:03:03 +01:00
32b4f40cc8
Merge pull request #99131 from MarcusAahl/my-testing-branch
...
Add basic tests for Fontfile
2024-11-19 15:20:17 -06:00
c636c86f65
Basic Fontfile tests
2024-11-19 11:56:26 +01:00
02b2efc668
Fix Projection::invert on orthogonal projections and others.
...
Fixes #68878 , specially when using orthographic projection.
Also adds some tests.
2024-11-18 16:13:04 +01:00
d692b7bdde
Improve set_radial_initial_angle by removing loops
...
Replace two while loops with fposmodp.
Document radial_initial_angle wrapping.
Add testcases for set_radial_initial_angle()
2024-11-14 20:20:20 +03:00
3ac043c508
Add fuzzy string matching to quick open search
...
Co-authored-by: sam <samsface@gmail.com >
2024-10-28 11:24:36 -07:00
dc3de73d18
Fix InputEventKey test failure under certain system languages
2024-10-28 19:39:33 +08:00
76208f7155
Implement array based hash map
2024-10-24 21:34:12 +03:00
2d8bfab47c
Merge pull request #97255 from kitbdev/test-tabs
...
Fix TabBar initialization issue and add tests
2024-10-04 11:21:33 +02:00
b2e38f3c4b
Add unit tests for PhysicsMaterial
2024-10-04 10:09:03 +02:00
9c716408ef
Merge pull request #97512 from matthewestopinal/mestopinal-sky-tests
...
Add Unit Test cases for `Sky`
2024-10-01 17:31:07 +02:00
a7d0464e9e
Merge pull request #95931 from pafuent/adding_packet_peer_tests
...
Add unit tests for `PacketPeer`
2024-10-01 17:30:36 +02:00
ff10dee946
Add unit tests for StreamPeer and StreamPeerBuffer
...
Partially fixes #43440
2024-10-01 12:25:11 -03:00
0a41a715da
Add unit tests for PacketPeer
...
Partially fixes #43440
2024-10-01 12:19:41 -03:00
136e4d5636
Add Unit Test cases for Sky
2024-10-01 15:54:53 +02:00