Commit graph

1223 commits

Author SHA1 Message Date
A Thousand Ships
b963cf15ef
[Navigation 2D] Fix sign of cross product
Regression from splitting the servers. Also replaces the method for
getting the triangle area.

(cherry picked from commit f8d72ba783)
2025-09-30 11:36:23 -05:00
kit
addae393a4 Fix TextEdit line wrap indent when disabled 2025-07-22 22:29:05 -04:00
Aaron Franke
b626695f70
Fix internal JSON stringify not preserving p_full_precision 2025-07-21 08:36:29 -07:00
Logan Detrick
88280a6b2a Fix TabBar minimum size with clip_tabs on 2025-07-13 16:40:22 -07:00
Thaddeus Crews
4d1f26e1fd
Merge pull request #108255 from thygrrr/tab-container-deselect-enable-fix
Fix: TabBar/TabContainer can't start with all tabs deselected
2025-07-07 10:08:04 -05:00
Tiger Jove
c6c7b508b6 TabBar current tab now stays -1 when adding first tab on deselect_enable 2025-07-07 10:18:49 +02:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Haoyu Qiu
296aba7dc5 Fix CSV translation not updating after reimport 2025-06-17 17:22:49 +08:00
kit
477a37a594 Fix Resource Duplication test errors 2025-06-15 12:48:03 -04: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
Rémi Verschelde
e90fd0b3af
Merge pull request #107444 from Ivorforce/smoke-test-span
Add a smoke test for non-empty `nullptr` `Span`
2025-06-12 22:49:12 +02:00
Lukas Tenbrink
2d0ff9774d Add a smoke test to Span in debug builds to recover from non-empty nullptr Span. 2025-06-12 12:19:21 +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
Rémi Verschelde
74f5b863bc
Merge pull request #106670 from smix8/ref_iterations
Change navigation region and link updates to an async process
2025-06-10 16:22:53 +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
Nick-njh
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
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
Rémi Verschelde
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
Rémi Verschelde
9f98e922da
Merge pull request #106574 from MisakaRinOwO/New-Tests-for-Sprite2d
Add unit tests for Sprite2D
2025-06-05 13:11:52 +02:00
aaronp64
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
kj-art-dev
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
Thaddeus Crews
5935356962
Merge pull request #100984 from TokageItLab/bone-constraint
Implement `BoneConstraint3D` with `CopyTransform`/`ConvertTransform`/`Aim` Modifiers
2025-06-02 18:51:57 -05:00
Aaron Franke
f6f1df7d73
Add 64-bit versions of core power of 2 functions 2025-06-01 23:11:12 -07:00
Silc Lizard (Tokage) Renew
4a2a95678b Implement BoneConstraint3D with Copy/ConvertTransfrom & TrackBone mods 2025-06-02 03:42:45 +09:00
Lukas Tenbrink
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
kit
48624a0778 Allow TabBar drag and drop to be overridden
Add tab mouse tests
2025-05-27 11:56:37 -04:00
Thaddeus Crews
0f67c3e992
Merge pull request #104522 from Ivorforce/localvector-force-trivial-resize
Core: Add `resize_initialized` and `resize_uninitialized` to `Vector` and `LocalVector`
2025-05-27 09:39:27 -05:00
Thaddeus Crews
63dff62948
Merge pull request #100673 from RandomShaper/res_duplicate
Overhaul resource duplication
2025-05-27 09:39:25 -05:00
kit
f7c182371e Remove build_array and build_dictionary from tests 2025-05-26 13:02:01 -04:00
Lukas Tenbrink
4cb8a0c77e Add resize_initialized and resize_uninitialized to Vector. These functions serve as replacements for resize, to make sure the caller understands whether elements need to be initialized 'by hand' after the call. 2025-05-26 18:35:41 +02:00
Thaddeus Crews
5df01a8c5a
Merge pull request #96925 from SaNeOr/fix-#96908
Fix spaces converted to tabs in triple quote strings
2025-05-26 11:24:30 -05:00
Pedro J. Estébanez
6841b45552 Add tests for resource duplication 2025-05-26 17:05:04 +02:00
kobewi
e7d31635dd Don't hard-code test path when deleting test data 2025-05-23 15:29:10 +02:00
Aaron Franke
15de1d6c35
Use Grisu2 algorithm in String::num_scientific to fix serializing 2025-05-22 09:13:16 -07:00
Thaddeus Crews
2bf7ac76cf
Merge pull request #106456 from Repiteo/style/remove-DEBUG_METHODS_ENABLED
Style: Remove redundant `DEBUG_METHODS_ENABLED` macro
2025-05-19 08:01:35 -05:00
Pāvels Nadtočajevs
25ae5c8ab4
Revert "Fix #100536: Control set_position resizes offsets/anchors"
This reverts commit ca57fe1db4.
2025-05-16 14:21:18 +03:00
Thaddeus Crews
da9fb81e1f
Merge pull request #89556 from smntic/single-char
Fix words not being selected by endpoints
2025-05-15 14:53:24 -05:00
Thaddeus Crews
d237e31a89
Style: Remove redundant DEBUG_METHODS_ENABLED
• Replaced with functionally identical and far more ubiquitous `DEBUG_ENABLED`
2025-05-15 13:09:41 -05:00
Thaddeus Crews
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
Yufeng Ying
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
kobewi
258062e312 Fix wrong children range when duplicating node 2025-05-12 20:21:40 +02:00
Thaddeus Crews
0ce3d75c20
Merge pull request #93783 from aaronp64/json_stringify_performance
Improve `JSON::stringify` performance
2025-05-07 12:48:28 -05:00
aaronp64
f13b4b760a Improve JSON::stringify performance
- Changed stringify to call static function _stringify directly, instead of creating JSON object
- Changed colon and end_statement from String to const char * to avoid extra allocations in each _stringify call
- Pass result String reference to each _stringify call to append to instead of allocating new String in each call

These changes make JSON::stringify around 2-3x faster in most cases
2025-05-06 18:27:32 -04:00
kit
6d56d2d05e Fix tests that fail when alone 2025-05-06 13:48:16 -04:00
Leandro (Cerberus1746) Benedet Garcia
ed35b9e181
Delete test cache before running it 2025-05-02 14:08:32 -03:00
Thaddeus Crews
f45e6d7462
Merge pull request #88925 from Aziroshin/linear-curve-zero-vector-bug
[Curve3D] Fix middle point forward vector when control1=end and…
2025-05-02 09:25:28 -05:00
Thaddeus Crews
acf38b2292
Merge pull request #76560 from aaronfranke/node-set-string-name
Change Node `set_name` to use StringName, slightly improves performance
2025-05-02 09:25:25 -05:00
Daniel Kinsman
a0cc41b5ed
Use libjpeg-turbo for improved jpg compatibility and speed
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-05-02 11:47:56 +02:00
Aaron Franke
a404b668a1
Change Node set_name to use StringName 2025-05-01 15:15:19 -07:00