Commit Graph

63148 Commits

Author SHA1 Message Date
George Marques f9048fcd7d
GDScript: Warn when enum variable has no default
The default will always be set to `0`, so if it's not a valid value in
the enum, the warning is shown.
2024-04-16 11:46:59 -03:00
Gilles Roudière 96b6199de9 Fix TileMap enabling Y-sort on child nodes 2024-04-16 16:02:55 +02:00
Danil Alexeev 27b94eb44c
Core: Fix binary serialization of objects in typed arrays
* Allow typed arrays to be encoded even if `p_full_objects` is `false`.
* Use `Array[EncodedObjectAsID]` instead of the encoded element type
  when decoding an array if `p_allow_objects` is `false`.
2024-04-16 16:19:10 +03:00
kleonc 983cdb2f54 Fix transform of Y-sorted branch-root 2024-04-16 14:26:47 +02:00
A Thousand Ships abe7ec1543
Fix some build errors with `disable_3d=yes` 2024-04-16 14:25:36 +02:00
Rémi Verschelde 658e97c93a
Merge pull request #90744 from smix8/test_region_rid
Update NavigationRegion tests RID function
2024-04-16 13:31:05 +02:00
Rémi Verschelde 0ae1dcc3d2
Merge pull request #90741 from yorickdewid/patch-1
Fix missing return in `StreamPeerTCP::poll` when connection is `STATUS_CONNECTED`
2024-04-16 13:31:03 +02:00
Rémi Verschelde dc8e82b00a
Merge pull request #90730 from timothyqiu/root-auto-translate
Add project setting for root node auto translate mode
2024-04-16 13:31:00 +02:00
Rémi Verschelde 09825bcc1a
Merge pull request #90729 from aaronfranke/move-nav-msgd
Move NavigationMeshSourceGeometryData(2D/3D) to the 2D/3D subfolders
2024-04-16 13:30:57 +02:00
Rémi Verschelde b9620bef17
Merge pull request #90722 from Calinou/import-scene-remove-unused-make-streamable
Remove unused Make Streamable option from scene import dialog
2024-04-16 13:30:54 +02:00
Rémi Verschelde 79173d1fd8
Merge pull request #90698 from Faless/fix/web/serve_py_dual_stack_windows
[Web] Fix serve.py utility on Windows
2024-04-16 13:30:51 +02:00
Rémi Verschelde 8901e8776a
Merge pull request #90587 from clayjohn/reversez-shader-warn
Warn users when assigning `VERTEX` directly to `POSITION` due to compatibility breakage from Reverse Z changes
2024-04-16 13:30:47 +02:00
Rémi Verschelde ac25b3dd6a
Merge pull request #90438 from TokageItLab/vl-vs-bz
Separate value/bezier track caching process in AnimationMixer
2024-04-16 13:30:44 +02:00
Rémi Verschelde 7210d6cb43
Merge pull request #90358 from KoBeWi/finding_errors_in_other_apps
Add `OS.get_process_exit_code()` method
2024-04-16 13:30:41 +02:00
Rémi Verschelde c2d2ff6137
Merge pull request #76991 from Calinou/editor-add-import-unfocused-setting
Add an editor setting to import resources while unfocused
2024-04-16 13:30:34 +02:00
Rémi Verschelde 020bd219ed
Update AUTHORS and DONORS list 2024-04-16 13:20:25 +02:00
kobewi dce4a3e4c2 Add get_process_exit_code() method 2024-04-16 12:46:15 +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
Yorick de Wid 61a2f5c534
FIX: Return if TCP is in STATUS_CONNECTED
If the `StreamPeerTCP` is polled and the TCP connection is `STATUS_CONNECTED` it should return after polling netsocket. Without `return` poll keeps calling `_sock->connect_to_host` and `connect()`.
2024-04-16 10:32:11 +02:00
Haoyu Qiu 8d1cb7e74c Add project setting for root node auto translate mode 2024-04-16 11:02:04 +08:00
Aaron Franke 77e35cf781
Move NavigationMeshSourceGeometryData(2D/3D) to the 2D/3D subfolders 2024-04-15 18:40:43 -07:00
Hugo Locurcio 611d2591d6
Remove unused Make Streamable option from scene import dialog 2024-04-16 00:07:32 +02:00
Hugo Locurcio ed540964ee
Add an editor setting to import resources while unfocused
This can be used to speed up iteration by starting the import process
earlier when saving files in the project folder. This also allows getting
visual feedback on changes without having to click the editor window,
which is useful with multi-monitor setups.

The downside is that this increases idle CPU usage and may steal CPU
time from other applications when importing resources, so this is
disabled by default.
2024-04-15 19:40:04 +02:00
Fabio Alessandrelli 67a51c9316 [Web] Fix serve.py utility on Windows
IPv6 dual stack is disabled by default, and Windows resolves wildcard
addresses to an IPv6 by default, so connecting through the local IPv4
address would not work.

This enables IPv6 dual stacking for the HTTP server by default like done
in upstream python when launching the module from CLI.
2024-04-15 19:16:50 +02:00
kleonc 2dfc4f4487 Fix TileSet editor create/remove tiles selection rect drawing 2024-04-15 19:03:19 +02:00
Rémi Verschelde 4728ff30c0
Merge pull request #90691 from Faless/fix/mbedtls_core_config_mingw
mbedTLS: Fix build without the module on MinGW
2024-04-15 18:14:48 +02:00
Rémi Verschelde 8a3195ef56
Merge pull request #90678 from raulsntos/dotnet/StringExtensions.Match
C#: Fix ExprMatch for case sensitive matching
2024-04-15 18:14:45 +02:00
Rémi Verschelde ce2a09f40e
Merge pull request #89739 from jsjtxietian/group-step
Add progress bar when updating scene groups
2024-04-15 18:14:42 +02:00
Rémi Verschelde 684e7aa37a
Merge pull request #89472 from dalexeev/gds-fix-bin-tokenizer-continuation-lines
GDScript: Fix continuation lines in `GDScriptTokenizerBuffer`
2024-04-15 18:14:38 +02:00
Rémi Verschelde 49dd453ca7
Merge pull request #75916 from KoBeWi/hot_new_version_in_your_area
Add automatic checking for engine updates
2024-04-15 18:14:35 +02:00
Fabio Alessandrelli 060097bbf8 mbedTLS: Fix build without the module on MinGW
The `include/mbedtls/check_config.h` header file has a generic check
which requires `MBEDTLS_PLATFORM_C` to be defined on Windows when
building with MinGW and ancient MSVC versions.

The few mbedTLS files we include in builds without the module don't
really require anything from the mbedTLS platform file beside the
`mbedtls_platform_zeroize` function which we already override with a
custom one by defining `MBEDTLS_PLATFORM_ZEROIZE_ALT`.

So we simply add the same check and force the define in such case.
2024-04-15 16:05:54 +02:00
kobewi 49e69fabba Add automatic checking for engine updates 2024-04-15 15:08:27 +02:00
Rémi Verschelde b8fa48be04
Merge pull request #90693 from dalexeev/core-marshalls-fix-refc-handling
Core: Fix `RefCounted` handling in `marshalls.cpp`
2024-04-15 13:41:20 +02:00
Rémi Verschelde 0ec66a1097
Merge pull request #90692 from akien-mga/scons-debug_paths_relative-opt-in
SCons: Make new `debug_paths_relative` option opt-in
2024-04-15 13:41:17 +02:00
Rémi Verschelde e1dd1f49c0
Merge pull request #90571 from KoBeWi/you're_too_old,_upgrade_to_newer_format
Improve error when scene/resource is saved with newer format
2024-04-15 13:41:15 +02:00
Rémi Verschelde 05b76a9d80
Merge pull request #90405 from bruvzg/rtl_uni
[RTL] Add support for character code BBCode tag `[char=...]`.
2024-04-15 13:41:11 +02:00
Rémi Verschelde 5b681dbe7f
Merge pull request #84932 from timothyqiu/search-and-replace
Improve search/replace bar behavior
2024-04-15 13:41:05 +02:00
Danil Alexeev 3c62f5fe5c
Core: Fix `RefCounted` handling in `marshalls.cpp` 2024-04-15 13:53:40 +03:00
Rémi Verschelde e5c689d028
SCons: Make new debug_paths_relative option opt-in
As pointed out in https://github.com/godotengine/godot/pull/78232#issuecomment-2056467297,
it actually makes it harder to run Godot locally while keeping the relationship with the
header files it was compiled from.
2024-04-15 12:19:36 +02:00
kobewi 445302a4b2 Improve error when scene/resource is saved with newer format 2024-04-15 12:08:35 +02:00
bruvzg 524a20f460
[RTL] Add support for character code bb tag. 2024-04-15 11:25:50 +03: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
Rémi Verschelde a44b0b6dc1
Merge pull request #90685 from timothyqiu/auto-translate-legacy
Don't store deprecated `auto_translate` property
2024-04-15 10:00:38 +02:00
Rémi Verschelde de97ab4b55
Merge pull request #90676 from adamscott/change-qa-to-forum
Rename Q&A to Forum in the Help top bar
2024-04-15 10:00:35 +02:00
Rémi Verschelde 4e1ed6bc23
Merge pull request #90668 from timothyqiu/owner-id
Store `ObjectID` instead of pointer for KinematicCollision owner
2024-04-15 10:00:32 +02:00
Rémi Verschelde 88033ea8c6
Merge pull request #90637 from aaronp64/force_native_crash
Fix `Window.hide()` crash when `force_native` changes
2024-04-15 10:00:29 +02:00
Rémi Verschelde 673e770a8d
Merge pull request #90575 from TokageItLab/boneattachment-performance
Remove `bone_pose_updated` signal and replace it with the `skeleton_updated` signal
2024-04-15 10:00:26 +02:00
Rémi Verschelde 50fd380359
Merge pull request #90562 from bruvzg/fix_links
[Unix / DirAccess] Fix removing directory symlinks with `remove`, ensure `erase_contents_recursive` is not following directory symlinks.
2024-04-15 10:00:22 +02:00
Rémi Verschelde fac55137a1
Merge pull request #89627 from markdibarry/parallax2d_scroll_scale
Account for scale in scroll logic for `Parallax2D`
2024-04-15 10:00:15 +02:00
Haoyu Qiu 48f1e5b561 Don't store deprecated auto-translate property 2024-04-15 14:23:24 +08:00