Commit Graph

8490 Commits

Author SHA1 Message Date
Fabio Alessandrelli 5eabd5e04a [Web] Always return -1 as body length in HTTPClientWeb.
Body length cannot be reliably retrieved from the web.
Reading the "content-length" value will return a meaningless value when
the response is compressed, as reading will return uncompressed chunks
in any case, resulting in a mismatch between the detected body size and
the actual size returned by repeatedly calling read_response_body_chunk.

Additionally, while "content-length" is considered a safe CORS header,
"content-encoding" is not, so using the "content-encoding" to decide if
"content-length" is meaningful is not an option either.

We simply must accept the fact that browsers are awful when it comes to
networking APIs.

(cherry picked from commit f4713d235a)
2023-09-20 18:40:36 +02:00
Rémi Verschelde f2c8eea60e
i18n: Sync translations with Weblate 2023-09-08 12:10:22 +02:00
A Thousand Ships 8e9852fa43 Future proof links in docs 2023-09-02 10:51:58 +02:00
Septian 5360058d1c Fix documentation for consistency
(cherry picked from commit 377cbaba43)
2023-08-31 20:19:31 +02:00
Ninni Pipping a31b866793 Fix range error for `Array.slice`
(cherry picked from commit 7752a0d8d1)
2023-08-31 19:48:16 +02:00
Rémi Verschelde 7a86ffc034
i18n: Sync translations with Weblate 2023-08-17 13:23:50 +02:00
kobewi 0a4067bdbf Clarify return value of get_dependencies()
(cherry picked from commit f567af413a)
2023-07-17 12:05:42 +02:00
Ninni Pipping 1e2bfdc9bb Improve error message for `Node.set_owner`
(cherry picked from commit 0183340012)
2023-07-11 12:21:27 +02:00
Haoyu Qiu 167b02d942 Clarify EditorExportPlugin::add_file only remaps in _export_file
(cherry picked from commit df1d354d36)
2023-07-11 12:21:27 +02:00
Chris Bradfield 55ae2a3297 Fix rigid body property description
(cherry picked from commit 6d85481670)
2023-07-10 18:09:57 +02:00
smix8 bbfdfab748 Add performance note for parsing source geometry
Adds performance note for parsing source geometry.

(cherry picked from commit 976f5338c5)
2023-07-10 18:09:57 +02:00
Septian 5576f5ab81 Fix various typos in documentation
(cherry picked from commit 486609eccf)
2023-07-10 17:46:09 +02:00
Septian add7c218d1 fix typo on TLSOptions.xml and library_godot_display.js
(cherry picked from commit b88b6b4f48)
2023-07-10 17:46:09 +02:00
Aaron Franke c8b50871fe Fix incorrect documentation for `Engine.get_architecture_name()`
(cherry picked from commit ebc6ec1692)
2023-07-10 17:46:09 +02:00
Bauke Conijn 3fd5fecfc1 Fix Camera3D project_* methods not accounting for frustum offset
This does not fix Camera3D::project_ray_normal().
Adds Camera3D::get_camera_projection() and exposes it to GDScript

(cherry picked from commit 47e63bc55f)
2023-07-10 17:26:15 +02:00
Amir-Rasteg 7a8ac69862 Fix a typo in the `String.to_float` description
(cherry picked from commit 9744657bb8)
2023-07-10 17:11:22 +02:00
Daylily-Zeleen 71d5827228 Fixed the fallback logic of OS::shell_show_in_file_manager
(cherry picked from commit 9dd9818c88)
2023-07-10 17:11:21 +02:00
Rémi Verschelde d28f9afdc6
i18n: Sync translations with Weblate 2023-07-05 16:04:29 +02:00
Yuri Sizov c16afc1c2d
Merge pull request #79050 from capnm/fix_teststr_what
Fix import hints that are followed by dot.number
2023-07-05 15:59:44 +02:00
Martin Capitanio 470083caed Fix import hints that are followed by dot.number.
Fixes #78881.
2023-07-05 14:49:53 +02:00
Ninni Pipping 9a9a164e7d Clarify that `Gradient.colors/offsets` are returned by-copy 2023-07-03 14:00:51 +02:00
Rémi Verschelde 16dd4e5725
i18n: Sync translations with Weblate 2023-06-29 13:33:56 +02:00
Rémi Verschelde 9e903e462c
Merge pull request #78784 from timothyqiu/editor-import-plugin-example
Fix function signature in `EditorImportPlugin` example
2023-06-28 14:33:48 +02:00
Curry 2357837c43 Correct description of ParticleProcessMaterial.lifetime_randomness 2023-06-28 18:24:38 +10:00
Haoyu Qiu cea00ebf58 Fix function signature in EditorImportPlugin example 2023-06-28 15:27:38 +08:00
Rémi Verschelde 5e2f03fc99
Merge pull request #78711 from groud/explain_rpc
Explain a bit more RPCs options
2023-06-27 23:01:24 +02:00
Gilles Roudière 538c4b62b7 Explain a bit more RPCs options 2023-06-27 11:25:15 +02:00
Rémi Verschelde 9d089fe6e5
i18n: Sync translations with Weblate 2023-06-26 19:40:50 +02:00
Rémi Verschelde afc5fa14ad
Merge pull request #78700 from AThousandShips/mutex_doc
Fix documentation for `Mutex.try_lock`
2023-06-26 10:13:53 +02:00
Rémi Verschelde 320711bc8b
Merge pull request #78677 from smix8/navserver_default_values_4.x
Add missing default Callables for new NavigationServer geometry parse and bake functions
2023-06-26 10:13:29 +02:00
Rémi Verschelde 33726f97b5
Merge pull request #78676 from smix8/doc_globalscope_navserver3d_4.x
Fix GlobalScope doc link for NavigationServer3D
2023-06-26 10:13:06 +02:00
Rémi Verschelde a93c671b7d
Merge pull request #78660 from AThousandShips/doc_node_path
Add example for `NodePath` to grandparent
2023-06-26 10:11:56 +02:00
Rémi Verschelde a791103069
Merge pull request #78626 from Sauermann/fix-centered-doc
Fix documentation of `popup_centered_ratio`
2023-06-26 10:11:04 +02:00
Ninni Pipping 40e2168ac6 Fix documentation for `Mutex.try_lock`
Documentation was not updated when return type was changed from `Error`
to `bool`
2023-06-26 08:48:47 +02:00
smix8 8bd14e5ca3 Add missing default Callables for new NavigationServer geometry parse and bake functions
Adds missing default Callables for new NavigationServer geometry parse and bake functions.
2023-06-25 19:08:50 +02:00
smix8 8e31d986c3 Fix GlobalScope doc link for NavigationServer3D
Fixes GlobalScope doc link for NavigationServer3D.
2023-06-25 19:04:56 +02:00
Ninni Pipping e9c9285213 Clarify restrictions on nested `MultiplayerAPI` in `SceneTree` 2023-06-25 11:29:05 +02:00
Ninni Pipping 3147d84647 Add example for `NodePath` to grandparent 2023-06-25 10:25:22 +02:00
Markus Sauermann a1f517b77d Fix documentation of `popup_centered_ratio` 2023-06-23 22:35:25 +02:00
Rémi Verschelde dbcbba5575
Merge pull request #78575 from brno32/bind-light-param-intensity
Binding LIGHT_PARAM_INTENSITY in RenderingServer
2023-06-23 08:48:20 +02:00
Alex Drozd d9cc22af8f Binding LIGHT_PARAM_INTENSITY in RenderingServer 2023-06-22 23:29:47 +02:00
Rémi Verschelde 522a2ea3f4
Merge pull request #78562 from MewPurPur/document-shader-include
Document ShaderInclude
2023-06-22 18:42:16 +02:00
Rémi Verschelde af16013905
Merge pull request #78571 from MewPurPur/include-extension-info
Document file extensions of GDScript, CSharpScript, and Shader
2023-06-22 18:32:25 +02:00
MewPurPur 8848c395b6 Add information about file extension to GDScript, CSharpScript, and Shader 2023-06-22 18:56:08 +02:00
Rémi Verschelde de3d4e3cec
Merge pull request #78517 from AThousandShips/callable_serialize
Ensure `RID`, `Callable`, and `Signal` are stored as strings
2023-06-22 18:30:51 +02:00
MewPurPur da84efc96d Document ShaderInclude 2023-06-22 18:25:21 +02:00
Ninni Pipping 77491d0a62 Clarify the return value of `Curve2D.sample_baked_with_rotation`
The return value is a broken `Transform2D`, this clarifies how to use
it.
2023-06-22 18:06:15 +02:00
Ninni Pipping 9159208ed1 Ensure `RID`, `Callable`, and `Signal` are stored as strings
Prevents parser errors in `.tscn` and `.tres` files where the assignment
would otherwise be empty.
2023-06-22 17:01:08 +02:00
Yuri Sizov 57e61db115
Merge pull request #75533 from RedworkDE/net-no-reload-noncollectible
C#: Fix editor integration breaking and causing error spam when reloading assemblies fails
2023-06-22 12:45:02 +02:00
Rémi Verschelde 95f561dc30
Merge pull request #78541 from BWPanda/patch-1
Fix example in JSON class.
2023-06-22 10:30:11 +02:00