Rémi Verschelde
9b28cbebfa
Tests: Disable NavigationServer3D async bake test with race condition
2024-04-17 17:30:54 +02:00
A Thousand Ships
abe7ec1543
Fix some build errors with disable_3d=yes
2024-04-16 14:25:36 +02:00
smix8
cbf881432c
Update NavigationRegion test rid function
...
Updates NavigationRegion test rid function from deprecated get_region_rid() to use newer get_rid().
2024-04-16 11:49:23 +02:00
Rémi Verschelde
c951421c99
Merge pull request #90268 from RandomShaper/wtp_servers
...
Use WorkerThreadPool for Server threads (enhanced)
2024-04-15 10:12:00 +02:00
A Thousand Ships
80cb914e06
[Core] Fix incorrect comparison for Array
const iterator
2024-04-13 17:32:33 +02:00
Rémi Verschelde
66cf38ec7c
Tests: Remove NavigationRegion3D race condition that fails on CI
...
As the comment pointed it out, it's a race condition, and evidently no,
"it's [not] fine" ;)
2024-04-13 10:22:44 +02:00
Alex Billedeaux
f421d20280
Add closest_points_between_segments()
basis path tests for Geometry2D
2024-04-10 23:49:23 +02:00
Rémi Verschelde
83b916bb00
Fix a doc and a test issue not caught by CI
2024-04-10 18:49:02 +02:00
Pedro J. Estébanez
1b104ffcd8
WorkerThreadPool: Support daemon-like tasks (via yield semantics)
2024-04-10 18:47:42 +02:00
Rémi Verschelde
5bd2af6c38
Merge pull request #90313 from Nazarwadim/unit_tests_oa_hash_map
...
Add unit tests for `OAHashMap`
2024-04-10 17:49:29 +02:00
A Thousand Ships
64146cb7f3
[Core] Add iteration support to Array
2024-04-10 14:49:34 +02:00
Rémi Verschelde
4b813386d2
Merge pull request #88614 from ramadm/test-camera-2d
...
Add unit tests for Camera2D
2024-04-10 14:21:43 +02:00
RevoluPowered
65d076b78d
Add unit test for resolve_hostname
2024-04-10 14:19:04 +02:00
nazarii
0c8e1c69f8
Add unit tests for OAHashMap
2024-04-10 07:51:06 +03:00
nazarii
b8caf9b224
Add unit test for Vector2 plane_project
2024-04-05 21:57:01 +03:00
Rémi Verschelde
c5ac5d2308
Merge pull request #90063 from aaronfranke/really-floaty
...
Fix some uses of `float` and `real_t` in `core/math`
2024-04-04 14:36:57 +02:00
Rémi Verschelde
4abe9183e3
Merge pull request #89926 from Sauermann/fix-button-mask-special-case
...
Fix a special case for button masks
2024-04-04 14:35:24 +02:00
Rémi Verschelde
ec5cae37d6
Merge pull request #78219 from dalexeev/core-typed-arrays-bin-serialization
...
Core: Add typed array support for binary serialization
2024-04-04 14:30:22 +02:00
Aaron Franke
158fcf107c
Fix some uses of float and real_t in core/math
2024-03-29 16:44:12 -07:00
Markus Sauermann
48ea019322
Fix a special case for button masks
...
In certain situations it is possible that in a `Viewport` the same
mouse button is pressed twice in series without releasing it in
between.
In this case, focus stealing should happen to ensure, that the
mouse button is not sent unintentionally to the previously focused
Control node.
2024-03-28 20:22:49 +01:00
Rémi Verschelde
f371b7fb70
Merge pull request #87883 from TontonSancho/text-skip-occurence
...
Add 'Skip to next (text) occurrence' feature to text editor
2024-03-25 13:15:56 +01:00
Rémi Verschelde
89c70da7bd
Merge pull request #89858 from AThousandShips/utf_fix
...
[Buildsystem] Fix encoding when reading files
2024-03-25 11:18:54 +01:00
Christophe Andral
c988bec4b3
Add 'Skip to next (text) occurrence' feature to text editor
...
Adds `ui_text_skip_selection_for_next_occurrence` action and related implementation to text editor.
This action is bound `Ctrl+Alt+D` shorcut.
Used in conjonction with `ui_add_skip_selection_for_next_occurrence`, it gives the user the ability to select many occurrences of a selection
and avoid some of them.
Used without a previous selection, the action jumps to the next occurrence of the current word under the caret.
2024-03-25 11:12:28 +01:00
A Thousand Ships
4933fa8bf5
[Buildsystem] Fix encoding when reading files
2024-03-24 18:02:56 +01:00
A Thousand Ships
bb6305d1c4
[Core] Fix incorrect file sort method
2024-03-24 17:54:57 +01:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
...
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
Danil Alexeev
c30bec7fca
Core: Add typed array support for binary serialization
2024-03-20 11:37:41 +03:00
Rémi Verschelde
a1c476f9d7
Merge pull request #87680 from AThousandShips/the_angry_count
...
Add methods to get argument count of methods
2024-03-13 22:16:43 +01:00
Rémi Verschelde
1bbdbbaada
Merge pull request #89242 from RafaelRain18/master
...
Fix region section not ignoring #region and #endregion when in a string
2024-03-11 14:02:30 +01:00
Rémi Verschelde
b0d07b1bc2
Merge pull request #86936 from akx/env-utf-8
...
Attempt parsing environment variables as UTF-8
2024-03-11 14:02:22 +01:00
Rafael Chuva
8c36282feb
Fix region section not ignoring #region and #endregion when in a string
...
When using the script editor, if the keywords #region and #endregion where
in a string and ate the start of the line, the editor would not ignore them
and count them as the actual keywords, which when folded, would only fold
until the first #endregion in a string, for example.
By checking if these keywords were in a string, this commit now ensures the
editor ignores strings and fold the section correctly.
Fixes #89115 .
2024-03-11 00:04:39 +00:00
A Thousand Ships
59bcc2888c
Add methods to get argument count of methods
...
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
2024-03-10 11:02:43 +01:00
Thaddeus Crews
d9fa40f2df
Enforce \n
eol for Python writes
...
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
Pawel Lampe
ab242769b7
Extend NavigationMeshSourceGeometryData[23]D
to allow data merging
2024-03-07 19:57:43 +01:00
Rémi Verschelde
d082ce908f
Merge pull request #85390 from TheSofox/merge-all-commit-fix
...
UndoRedo: Fix `MERGE_ALL` commit from repeating actions
2024-03-06 09:50:13 +01:00
Sofox
f249667dc8
Fixed MERGE_ALL commit from repeating actions
2024-03-05 23:40:26 +00:00
Mika Viskari
3026b566b0
Fix String::begins_with when both strings are empty
2024-03-05 20:46:10 +02:00
Edward Moulsdale
e461496ecb
Add unit tests for CryptoKey
2024-03-01 07:17:59 +00:00
Rémi Verschelde
7434f8b4e3
Merge pull request #88959 from akien-mga/pre-commit-clang-17.0.6-black-24.2.0
...
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0
2024-02-29 13:54:38 +01:00
Rémi Verschelde
1cc9190c70
Merge pull request #81822 from nlupugla/nodepath-slice
...
Add `NodePath::slice` method
2024-02-29 13:53:34 +01:00
Rémi Verschelde
3a08c646ee
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0
2024-02-28 14:25:35 +01:00
smix8
35dafc9fa8
Split monolithic physics class files
...
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
Aaron Franke
1cb531ddb6
Move 2D-only resources to their own folder
2024-02-26 05:22:45 -06:00
A Thousand Ships
3a707b1f54
Fix some additional errors with 3D disabled
...
* Disabled 2D navigation tests as they do not work
* Disabled tests for primitive meshes
* Unbound some `Mesh` methods that rely on 3D resources
* Unexposed `World3D` as it depends on physics (and isn't useful)
* Unexposed some `Viewport` vrs related properties that had unexposed
methods
2024-02-23 20:58:56 +01:00
A Thousand Ships
d7a72d72e6
Fix running tests in template builds
2024-02-22 18:05:42 +01:00
A Thousand Ships
f06222e487
[Physics] Fix export with 3D disabled
2024-02-22 16:23:48 +01:00
Danil Alexeev
c0aa88ae4f
Add Unicode support to String.to_*_case()
methods
2024-02-22 13:58:46 +03:00
Rama Del Maestro
4f06ddfeae
Add unit tests for Camera2D
2024-02-21 16:55:16 -08:00
b
6dbbc24bdf
Added ImageTexture unit tests
2024-02-19 11:15:04 -06:00