Commit graph

34205 commits

Author SHA1 Message Date
Raul Santos
c084dbbf05
Various fixes to C# documentation generator
- Fix references to global constants and members of `@GlobalScope`
- Log errors for missing members or methods
- Finds referenced members that are derived (they were not found before since it was only looking in the current type)
- Hardcodes special case for `_init` method, in C# replaced with a reference to the constructor
- Ignores properties with slashes (since they are not declared in C# and can't be referenced)
- Refactor `bbcode_to_xml` method
2022-08-06 21:35:31 +02:00
Raul Santos
c9734b6ceb
Document C# RPC attributes 2022-08-06 20:55:14 +02:00
Rémi Verschelde
7637b5d925
Merge pull request #47232 from zmanuel/eliminate-draw-pending-3.x
[3.x] Remove redundant thread sync counter draw_pending
2022-08-06 15:37:43 +02:00
Manuel Moos
9fbdace917 Remove redundant thread sync counter draw_pending
The functions that used it already use a threadsafe FIFO queue
to communicate between threads and a sync to have the main thread
wait for the render thread.

Fixes #35718
2022-08-06 14:09:25 +02:00
Rémi Verschelde
3b17447d43
Merge pull request #63989 from timothyqiu/vs2017 2022-08-06 12:13:06 +02:00
Rémi Verschelde
072da085bb
Merge pull request #63991 from bruvzg/dis_libs3 2022-08-06 12:12:18 +02:00
bruvzg
8147f04db6
[Linux] Disable speech-dispatcher, pulseaudio and udev wrapper builds, when library is not found. 2022-08-06 11:54:20 +03:00
Haoyu Qiu
eb176b135a Make theme tests compile in Visual Studio 2017 2022-08-06 16:06:38 +08:00
Rémi Verschelde
9be7c49a5d
doc: Fix version number after PR merge 2022-08-06 09:20:18 +02:00
Rémi Verschelde
ab7e2564f3
Merge pull request #63659 from PrecisionRender/add-shape-cast-3d
[3.x] Add `ShapeCast` and `ShapeCast2D` nodes
2022-08-06 00:33:29 +02:00
Rémi Verschelde
0bed7ea63f
Merge pull request #61316 from bruvzg/tts_3x
[3.x] Backport text-to-speech support.
2022-08-05 23:45:51 +02:00
Rémi Verschelde
0dccbcd7ce
Merge pull request #61878 from bruvzg/backport_locale_select
[3.x] Backport locale selection improvements.
2022-08-05 23:45:17 +02:00
Rémi Verschelde
14c9325b5d
Merge pull request #62408 from Razoric480/raz/fix-no-cache
[3.x] Fix nested resources being cached if no-cache argument used
2022-08-05 23:43:54 +02:00
Rémi Verschelde
d9d3861f76
Merge pull request #55764 from tinmanjuggernaut/validate_rid
[3.x] Validate RIDs before freeing
2022-08-05 22:38:49 +02:00
Rémi Verschelde
daa5b542b4
Merge pull request #56765 from madmiraal/fix-45592-2-3.x
[3.x] Fix mouse speed not changing fast enough
2022-08-05 22:37:44 +02:00
Rémi Verschelde
91a6e08c12
Merge pull request #48157 from madmiraal/fix-46438-3.x
[3.x] Fix mouse_over not dropped when mouse leaves window
2022-08-05 22:37:17 +02:00
Rémi Verschelde
5197dc6c9e
Merge pull request #61993 from kdiduk/gdscript-fix-inner-class-on-single-line
Fix inner class parsing when statement after colon is on the same line
2022-08-05 22:36:21 +02:00
Rémi Verschelde
61b5e35de5
Merge pull request #61559 from kleonc/triangle_mesh_from_triangle_strip_or_fan_3x
[3.x] Make `Mesh::generate_triangle_mesh()` handle `PRIMITIVE_TRIANGLE_STRIP` and `PRIMITIVE_TRIANGLE_FAN`
2022-08-05 22:35:52 +02:00
Rémi Verschelde
906a693934
Merge pull request #53852 from Calinou/particles-allow-negative-scale
Allow negative scale in Particles and CPUParticles
2022-08-05 22:34:43 +02:00
Rémi Verschelde
144f3ec94e
Merge pull request #51676 from Calinou/shader-add-hint-transparent-texture-3.x
Add `hint_transparent` to use a transparent black placeholder texture (3.x)
2022-08-05 22:34:05 +02:00
Rémi Verschelde
5d3b6eb073
Merge pull request #48372 from Calinou/gradienttexture-add-hdr-property-3.x
Add an `use_hdr` property to GradientTexture to allow storing HDR colors (3.x)
2022-08-05 22:33:44 +02:00
Patrick Exner
be3d331f26 Backport spatial shader built-ins
Backport of this PR: https://github.com/godotengine/godot/pull/63597
This adds these as new Built-Ins to Spatial Shaders
* Object's Position in World Space
* Camera Position in World Space
* Camera Direction in World Space
* Object's Position in View Space
2022-08-05 21:19:15 +02:00
Rémi Verschelde
ef7502e1d4
Merge pull request #50540 from Calinou/material-hide-triplanar-subproperties-when-disabled-3.x 2022-08-05 19:39:19 +02:00
Rémi Verschelde
74de571827
Merge pull request #55626 from Calinou/3d-editor-drag-and-drop-auto-root-node-3.x 2022-08-05 19:38:45 +02:00
Rémi Verschelde
0e93600fe0
Merge pull request #62644 from Piralein/remove_redundant_checkbox_check 2022-08-05 19:37:47 +02:00
Rémi Verschelde
1b7037807f
Merge pull request #59328 from raulsntos/csharp-flag-enums-3.x 2022-08-05 19:37:29 +02:00
Rémi Verschelde
26762a71b6
Merge pull request #58537 from winterpixelgames/feature/virtual-keyboard-types-3.x 2022-08-05 19:37:13 +02:00
Rémi Verschelde
173a803c8a
Merge pull request #49495 from kleonc/sprite_frames_editor-updating-fixes-3x 2022-08-05 19:35:30 +02:00
Rémi Verschelde
ccbe083949
Merge pull request #63071 from lawnjelly/skinning2d_bounds 2022-08-05 19:34:48 +02:00
Rémi Verschelde
a6e70f1f1c
Merge pull request #63250 from YuriSizov/toolbars-go-with-the-flow-3.x 2022-08-05 19:34:21 +02:00
Rémi Verschelde
d2d77c93bc
Merge pull request #61588 from YuriSizov/control-fix-theme-owner-toplevel-3.x 2022-08-05 19:34:05 +02:00
Rémi Verschelde
25c87e99cf
Merge pull request #61578 from YuriSizov/core-fix-events-for-moved-nodes-3.x 2022-08-05 19:33:25 +02:00
Rémi Verschelde
0a8d5d7098 Bump version to 3.6-beta 2022-08-05 18:51:38 +02:00
smix8
e7c5468192 [3.x] Add NavigationMesh baking for HeightMapShape
Adds HeightMapShape for StaticColliders and GridMap to the NavigationMeshGenerator for baking NavigationMesh.
2022-08-05 08:56:02 +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
Hugo Locurcio
ab9a95f266
Add hint_transparent to use a transparent black placeholder texture 2022-08-02 23:32:07 +02:00