Commit Graph

34202 Commits

Author SHA1 Message Date
Josh Jones 61e28c28cd Fix typo when setting NavigationRegion travel_cost
(cherry picked from commit 8c324132d0)
2022-08-08 13:18:43 +02:00
Fabio Alessandrelli b2ba3bab52 [File] Fix FileAccessCompressed::get_buffer return value.
It used to return the write index instead of the written bytes (i.e.
index + 1) when reading until last block.

(cherry picked from commit e8f7b79bb0)
2022-08-08 13:18:05 +02:00
kleonc 1a023e6b1b `FileSystemDock` Fix crash when renaming a file in split mode
(cherry picked from commit 25ce459fc5)
2022-08-08 13:17:34 +02:00
Hugo Locurcio aa26828f76 Fix broken rST reference in HTTPClient documentation
References in reStructuredText cannot be located within bold/italic
text. This caused the online class reference to have the `:ref:`
text written as-is.

(cherry picked from commit 9709205112)
2022-08-08 13:17:03 +02:00
Tom 3b3721262c updated the String class with info about the 'allow_empty' optional argument
(cherry picked from commit 39233c299c)
2022-08-08 13:16:27 +02:00
Hugo Locurcio 2ed3818277 Improve `range_lerp()` and related methods documentation
(cherry picked from commit bd19c9a95c)
2022-08-08 13:16:09 +02:00
smix8 a6b75da78c Fix TileMap error msg when optional navigation node is not set
Fixes TileMap error msg spam when bake_navigation=true but the optional and depr navigation node is not set.

(cherry picked from commit 30d4555c65)
2022-08-06 22:23:01 +02:00
Haoyu Qiu fe075cf6d5 Make theme tests compile in Visual Studio 2017
(cherry picked from commit eb176b135a)
2022-08-06 13:53:07 +02:00
Rémi Verschelde 79d05e11d5 CI: Change BASE_BRANCH to 3.5 2022-08-05 18:41:52 +02:00
Rémi Verschelde 07b3784533 Bump version to 3.5.1-rc 2022-08-05 18:41:48 +02:00
Rémi Verschelde 991bb6ac74 Bump version to 3.5-stable \o/
What a ride!

Developing 3.5 in parallel with the rapidly growing 4.0 alpha has
proved challenging, but here we are with a great feature update for the
3.x branch.

4.0 is getting close to beta, and now most contributors have switched
their focus towards that major update, and rightly so. Still, the work
that went into 3.5 is amazing and makes it a very strong and stable
solution for your games *today* -- while 4.0 takes the time it needs to
stabilize and mature.

A big thankyou to all contributors who worked on this release!
2022-08-05 03:40:16 +02:00
Rémi Verschelde 7c8cc5c37b
Merge pull request #63933 from akien-mga/3.5-changelog
Add changelog for Godot 3.5
2022-08-05 03:29:38 +02:00
Rémi Verschelde 53610adf82 Add changelog for Godot 3.5 2022-08-05 03:27:34 +02:00
Rémi Verschelde b671ea88fb i18n: Sync classref translations with Weblate 2022-08-05 03:12:25 +02:00
Rémi Verschelde 4e64c1f1b6 i18n: Sync editor translations with Weblate 2022-08-05 03:09:55 +02:00
Rémi Verschelde 6a675563cf certs: Sync with Mozilla bundle as of Jul 19, 2022
7f33e7eb84
(cherry picked from commit d8c8ecb148)
2022-08-05 03:03:56 +02:00
Rémi Verschelde 5ed5bb2a5e Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@4896d2de6b

(cherry picked from commit 86647c9e42)
2022-08-05 03:03:48 +02:00
Fabio Alessandrelli 4e33610fb0 [Core] Use std type traits to check operations triviality.
(cherry picked from commit 6f02183f8c)
2022-08-04 15:20:28 +02:00
Fabio Alessandrelli fbc7fc44ae Fix some array size function definition mismatch.
(cherry picked from commit 55845bac26)
2022-08-04 15:18:43 +02:00
Rémi Verschelde ecac887aa7 Style: Workaround clang-format 14 bug with `Inline` oneliner functions
We use 'All' which is the default in the base LLVM style.

That's not the style we want but it works around the upstream
regression until clang-format 15.0 is released and widely used:
https://github.com/llvm/llvm-project/issues/54901

(cherry picked from commit 11ec70959c)
2022-08-03 15:04:47 +02:00
Alfred R. Baudisch c574f718b1 Display sub-plugins when Stay in Script Editor is On
Currently, with stay_in_script_editor_on_node_selected as On, inspector_only is forcibly set, and no editors from the node selected are displayed.

With this change, if the selected Node has a Main Editor, it's still not shown (the intended behaviour of the feature), but the sub-editors are shown, this correctly opens the AnimationPlayerEditor plugin and other sub-plugins.

Fixes and closes #63621.

(cherry picked from commit eaaedb24a3)
2022-08-03 15:02:57 +02:00
Matt eba8ce7d8c adds null case to weakref docs
(cherry picked from commit dc4e72a3fc)
2022-08-03 15:01:30 +02:00
Raul Santos 3ec6644096 C#: Remove unused `Transform2D.ScaleBasis` method
(cherry picked from commit a4ad1dfa51)
2022-08-03 15:01:02 +02:00
Rémi Verschelde a1c0be731d
Merge pull request #63858 from Calinou/doc-camera3d-frustum-offset-projection-3.x
Document Camera's frustum offset property requiring Frustum projection (3.x)
2022-08-03 07:57:24 +02:00
Hugo Locurcio 8543c5599c
Document Camera's frustum offset property requiring Frustum projection 2022-08-03 02:45:05 +02:00
Rémi Verschelde 17e8fa8632
Merge pull request #63783 from timothyqiu/atp-bounds 2022-08-01 22:06:11 +02:00
Haoyu Qiu 9d923764c9 Fix crash when executing `AnimationTreePlayer.are_nodes_connected` 2022-08-01 23:36:12 +08:00
Raul Santos ef9e2c8ca8 Rename math 'phi' arguments to 'angle' in C#
(cherry picked from commit d0e586fc7e)
2022-08-01 10:38:58 +02:00
bruvzg e0101e511c Improve some export error messages.
(cherry picked from commit ea00cf7270)
2022-08-01 10:37:04 +02:00
Rémi Verschelde cc4c959268 SCons: Fix creating VS solution with SCons 4.4.0
Fixes #63709.

Co-authored-by: 19PHOBOSS98 <37253663+19PHOBOSS98@users.noreply.github.com>
(cherry picked from commit 89847dc6e3)
2022-08-01 10:31:56 +02:00
bruvzg 12e10457e1 [macOS, Mono] Fix "Wdeprecated-declarations" build error.
(cherry picked from commit 5d54c015b2)
2022-08-01 10:30:43 +02:00
Rémi Verschelde 9d0d9ff424
Merge pull request #63745 from akien-mga/3.x-file-get_as_text-skip-CR
[3.x] File: Re-add support to skip CR (`\r`) in `File::get_as_text`
2022-08-01 07:54:32 +02:00
Rémi Verschelde 751b16a285 File: Re-add support to skip CR (`\r`) in `File::get_as_text`
This was removed in #63481, and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.

For performance this is done directly in `String::parse_utf8`.

Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.

Supersedes #63717.

(cherry picked from commit 1418f97c70)
2022-08-01 00:40:55 +02:00
Rémi Verschelde f9db8fa70a
Merge pull request #63721 from akien-mga/scons-fix-x11-use_lld-fallback 2022-07-31 22:31:12 +02:00
Rémi Verschelde 10e8a25ce7 SCons: Fix X11 `use_lld` fallback not being applied 2022-07-31 13:49:12 +02:00
Rémi Verschelde 82ed8a66df
Merge pull request #63685 from aaronfranke/3.x-translated
[3.x] Fix Translated method in C# affecting the original transform
2022-07-30 20:18:05 +02:00
Aaron Franke 4d6c609e50
[3.x] Fix Translated method in C# affecting the original transform 2022-07-30 11:54:19 -05:00
Rémi Verschelde 284dbef733
Merge pull request #63639 from twobitadder/scenetree_docs_how_do_i_rebase
updated SceneTree docs to include information on passing in null
2022-07-30 11:22:40 +02:00
Rémi Verschelde 4a8d3bf129
Merge pull request #63649 from snailrhymer/meshinstance-fix
Fix typo in MeshInstance.xml
2022-07-30 09:21:51 +02:00
SnailRhymer eb7ce02239 Fix typo in MeshInstance.xml 2022-07-29 22:21:22 +01:00
Rémi Verschelde 5ea00ad3f0
Merge pull request #63637 from dsnopek/multiplayer-custom-more-docs-3.x
[3.x] Add error messages and docs to explain restrictions when calling NetworkedMultiplayerCustom.initialize()
2022-07-29 22:38:19 +02:00
twobit 359205f7d7 updated scenetree docs to include information on passing in null 2022-07-29 15:47:53 -04:00
David Snopek 5eaf83f2d7 Add error messages and docs to explain restrictions when calling NetworkedMultiplayerCustom.initialize() 2022-07-29 13:51:44 -05:00
Fabio Alessandrelli 97d7c7c295
Merge pull request #63628 from dsnopek/multiplayer-custom-docs-3.x
[3.x] Add error messages and docs to explain allowed transitions in NetworkedMultiplayerCustom.set_connection_status()
2022-07-29 17:25:43 +02:00
David Snopek 738e76b710 Add error messages and docs to explain allowed transitions in NetworkedMultiplayerCustom.set_connection_status() 2022-07-29 09:02:53 -05:00
Rémi Verschelde 38601ba824
Merge pull request #63616 from smix8/navigation_std_to_localvector_3.5 2022-07-29 13:43:06 +02:00
smix8 d0a78d05eb [3.5] Replace Navigation std::vector use with LocalVector
Replace Navigation std::vector use with LocalVector.
2022-07-29 11:13:20 +02:00
Rémi Verschelde ca49a14914
Merge pull request #63581 from madmiraal/fix-63330-3.x 2022-07-28 18:52:53 +02:00
Marcel Admiraal d000a5fa30 Ensure changes to Camera2D's limits don't affect smoothed_camera_pos 2022-07-28 15:30:34 +01:00
Marcel Admiraal a124d89f01 When Camera2D enters tree, ensure first update is not lost 2022-07-28 15:30:06 +01:00