Commit graph

14892 commits

Author SHA1 Message Date
Rémi Verschelde
a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
Rémi Verschelde
1d101329c9
Merge pull request #91611 from AThousandShips/string_containsn
[Core] Add case-insensitive `String::containsn`
2024-05-08 14:35:41 +02:00
kobewi
eb570463a2 Revert as_sortable_control() change in SplitContainer 2024-05-08 13:36:49 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive String::containsn 2024-05-08 12:48:01 +02:00
A Thousand Ships
a0dbdcc3ab
Replace find with contains/has where applicable
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Rémi Verschelde
281fe39929
Merge pull request #91699 from KoBeWi/buff_tree_folding
Fold TreeItems when clicking to the left of fold icon
2024-05-08 12:31:39 +02:00
kobewi
5c28814b39 Add as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +02:00
kobewi
9bc5a85b2b Fold TreeItems when clicking to the left of fold icon 2024-05-08 11:30:26 +02:00
Rémi Verschelde
17a81260cb
Merge pull request #91684 from Chubercik/embree4_aftermath
Fix `builtin_embree=no` build linking the wrong version of Embree
2024-05-08 09:54:24 +02:00
Jakub Marcowski
7699d678c4
Fix builtin_embree=no build linking the wrong version of Embree 2024-05-08 00:40:45 +02:00
kobewi
5c0f7968e3 Fix crash when adding a child while duplicating a node 2024-05-07 21:56:38 +02:00
Rémi Verschelde
316c4d50d5
Merge pull request #91112 from RandomShaper/fix_double_confirm
Avoid double handling of rename in the file system dock
2024-05-07 16:49:34 +02:00
Rémi Verschelde
594498e718
Merge pull request #90966 from Calinou/debug-draw-use-runtime-colors
Use same colors for editor and running project for collision/path debug
2024-05-07 16:49:31 +02:00
Rémi Verschelde
29607924bd
Merge pull request #88741 from adamscott/fix-shared-variables-of-inherited-scenes-redux
Fix shared exported variables of inherited scenes
2024-05-07 16:49:20 +02:00
kobewi
82b6f9d7a7 Fetch argument options from ThemeDB 2024-05-07 15:02:50 +02:00
Pedro J. Estébanez
eb2bd41fb8 Make handling of rename line-edit popups more robust 2024-05-07 14:29:35 +02:00
Rémi Verschelde
4db9103c2b
Merge pull request #91650 from akien-mga/codespell
Fix various typos with codespell
2024-05-07 13:49:03 +02:00
Rémi Verschelde
472273f07a
Merge pull request #91326 from aaronp64/line_edit_min_size
Update `LineEdit` to include `read_only` StyleBox in `get_minimum_size()`
2024-05-07 13:48:44 +02:00
Rémi Verschelde
4b070e8031
Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde
107fd30ae7
Merge pull request #91647 from jsjtxietian/fix-uint-hightlight
Make native shader source visualizer highlight uint suffix
2024-05-07 09:04:55 +02:00
Rémi Verschelde
e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
Rémi Verschelde
965bae735e
Merge pull request #72323 from Koyper/flow_container_center_wrap_options
Add FlowContainer wrap options for center alignment.
2024-05-07 09:04:34 +02:00
jsjtxietian
cff1111359 Make native shader source visualizer can highlight uint suffix 2024-05-07 14:18:48 +08:00
A Thousand Ships
86de59d60a
[Core] Add LocalVector::has for convenience 2024-05-06 18:03:37 +02:00
Rémi Verschelde
94b8a1d808
Merge pull request #91495 from TokageItLab/fix-control-saving
Avoid incorrect computing anchor of Control node when reset on save with `saving` flag
2024-05-06 15:15:04 +02:00
Rémi Verschelde
16eb8dbdc0
Merge pull request #89595 from apples/89559-cpuparticles3d-angle-rotate_y-fix
Fix `CPUParticles3D` using angle incorrectly when `ROTATE_Y` is set.
2024-05-06 15:14:53 +02:00
Silc Lizard (Tokage) Renew
57cd00aee9 Avoid incorrect computing anchor of Control node when reset on save 2024-05-05 08:33:37 +09:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to List
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Rémi Verschelde
84013a31ea
Merge pull request #91122 from TokageItLab/simulator-memdel
Modify allocation process of the PhysicalBoneSimulator in Skeleton3D
2024-05-04 11:52:22 +02:00
Rémi Verschelde
a5d4ddc18a
Merge pull request #90517 from TokageItLab/cache-bones-mod
Static allocation bones copy for SkeletonModifier
2024-05-04 11:52:19 +02:00
Rémi Verschelde
a2fc5e2d78
Merge pull request #89894 from BastiaanOlij/improve_foveated_rendering
Improvements to VRS/Foveated rendering
2024-05-04 11:52:15 +02:00
Rémi Verschelde
471ddf4327
Merge pull request #87231 from Calinou/geometryinstance3d-transparency-warn-mobile-compatibility
Show warning for GeometryInstance3D transparency in Mobile/Compatibility
2024-05-04 11:52:06 +02:00
Silc Lizard (Tokage) Renew
a22923daf7 Static allocation bones copy for SkeletonModifier
Co-authored-by: SlugFiller <5435495+SlugFiller@users.noreply.github.com>
2024-05-04 11:16:26 +09:00
jsjtxietian
b851514b10 Fix uint's suffix is not highlighted in text shader editor 2024-05-03 21:45:53 +08:00
Rémi Verschelde
03e6fbb010
Merge pull request #85474 from fire/packedvector4array
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +02:00
Bastiaan Olij
9042ddf19f Improvements to VRS/Foveated rendering 2024-05-03 17:20:30 +10:00
K. S. Ernest (iFire) Lee
f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
Silc Lizard (Tokage) Renew
6fd8b25d38 Add argument options to AnimationPlayer for auto capture 2024-05-03 07:06:37 +09:00
Silc Lizard (Tokage) Renew
4900dddb88 Modify allocation process of the PhysicalBoneSimulator in Skeleton3D 2024-05-03 06:00:10 +09:00
Rémi Verschelde
4e9543d849
Merge pull request #91457 from kitbdev/fix-multicaret-disabled
Fix TextEdit crash with multiple carets disabled and paste
2024-05-02 17:31:47 +02:00
Rémi Verschelde
e249df4f5e
Merge pull request #89275 from bruvzg/status_rect
[StatusIndicator] Add method to get indicator icon screen rect.
2024-05-02 17:31:18 +02:00
kit
0162683da4 Fix TextEdit crash with multiple carets disabled 2024-05-02 09:26:08 -04:00
Rémi Verschelde
06d105e268
Merge pull request #91437 from TokageItLab/auto-capture
Add `auto_capture` option to AnimationPlayer
2024-05-02 14:01:25 +02:00
bruvzg
e5205e589f
[StatusIndicator] Add method to get indicator icon screen rect. 2024-05-02 14:39:33 +03:00
bruvzg
360d365b33
[RTL] Adds extra argument to remove_paragraph to skip cache invalidation and a method for manual cache invalidation. 2024-05-02 14:03:21 +03:00
Silc Lizard (Tokage) Renew
36abb55dd2 Add auto_capture option to AnimationPlayer 2024-05-02 19:57:36 +09:00
Rémi Verschelde
b2af040423
Merge pull request #91425 from Sauermann/fix-force-drag-focus-crash
Make `mouse_focus` and `mouse_focus_mask` consistent for force_drag
2024-05-02 12:46:45 +02:00
Rémi Verschelde
098a4e945e
Merge pull request #91188 from YeldhamDev/love_fixing_other_peoples_regressions
Fix `TabContainer` regressions related to switching tabs in certain cases
2024-05-02 12:46:39 +02:00
Rémi Verschelde
9cb3a16a8e
Merge pull request #91014 from DeeJayLSP/qoa-wav-playback
Add QOA (Quite OK Audio) as a WAV compression mode
2024-05-02 12:46:32 +02:00
Rémi Verschelde
0b6c29f2d2
Merge pull request #89114 from AThousandShips/vec_elem_scalar
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-02 12:46:22 +02:00