Commit Graph

30021 Commits

Author SHA1 Message Date
merumelu ea0bdb6860
makerst: use link titles for external tutorials
(cherry picked from commit b8752d91dc)
2021-08-03 10:32:32 +02:00
Rémi Verschelde 16fd1c421e
doc: Use self-closing tags for `return` and `argument`
For the time being we don't support writing a description for those, preferring
having all details in the method's description.

Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.

(cherry picked from commit 7adf4cc9b5)
2021-08-03 10:32:31 +02:00
Rémi Verschelde c5589c76ce
Allow overriding `VERSION_STATUS` with `GODOT_VERSION_STATUS` in env
`VERSION_STATUS` is part of what constitutes the reference version for a given
Godot build, and is part of the version check for compatible export templates.

For dev snapshots (alpha, beta, RCs), we usually set the `VERSION_STATUS` to
a specific build number (e.g. `beta2`), but this change doesn't end up
committed to the Git repository as we don't want to keep changing `version.py`
for testing builds.

So this new environment override will be what can be used in official builds
and by users making custom builds for specific snapshots.

(cherry picked from commit 948dcb63ca)
2021-08-03 09:29:23 +02:00
Rémi Verschelde edef9a9c86
Add script to make source tarball with `.git/HEAD`
This allows to generate the `VERSION_HASH` constant with the Git commit hash
even when building from a source tarball which is not a Git repository (and
without dependency on Git itself).

(cherry picked from commit 9a71038e34)
2021-08-03 09:29:10 +02:00
Kevin Sanders 620579eaf8
Grammar fix.
(cherry picked from commit 6db57b9da2)
2021-08-03 09:28:47 +02:00
Yuri Roubinsky 73f40a1efc
Prevent warning spam to console when dragging a CanvasItem in container
(cherry picked from commit bb5729fd35)
2021-08-03 09:28:31 +02:00
Hugo Locurcio 5e3ed7e014
Link to the Random number generation tutorial in RandomNumberGenerator
This was done in `master` already, but not in `3.x`.

(cherry picked from commit 93f4f9e076)
2021-08-03 09:28:00 +02:00
Haoyu Qiu 321a4bfcd8
Make action names translatable
(cherry picked from commit a3b221e99f)
2021-08-03 09:27:12 +02:00
Rémi Verschelde 7be11742b5
VariantParser: Fix uninitialized ResourceParser funcs
They could cause a segfault when parsing values with ID "Resource"
as apparently we never set a valid `func` for it.

Fixes crash part of #42115.

(cherry picked from commit f3aaa713d9)
2021-08-03 09:25:48 +02:00
Nicholas Huelin f84de49718
Make "Find in Files" searches ignore directories with `.gdignore` files in them
This pull request fixes an issue where searches using the "Find in Files" function would include folders with `.gdignore` files in them. The editor is supposed to ignore directories with these files in them altogether.

(cherry picked from commit 658b152bd8)
2021-08-03 09:25:10 +02:00
Haoyu Qiu 121af4a37d
Do nothing when dragging CSGBox handle perpendicular to the camera
(cherry picked from commit 0f1e107ede)
2021-08-03 09:24:54 +02:00
Jordan Schidlowsky 6878fe6d88
Websocket peer outbound buffer fixes. Expose outbound buffered amount.
(cherry picked from commit 023548c0a5)
2021-08-03 09:23:57 +02:00
Raul Santos 6a0155393a
Use `allowEmpty` parameter in Split
(cherry picked from commit b7a66a820b)
2021-08-03 09:22:33 +02:00
Rémi Verschelde c717c97819
Windows: Fix build with SCons 4.2.0
(cherry picked from commit c191cfbddf)
2021-08-01 11:06:12 +02:00
Fredia Huya-Kouadio 947c87d717
Fix custom build export
(cherry picked from commit df1ebbb0aa)
2021-07-28 15:40:17 +02:00
Francois Belair 03a6fe6489
Fix LSP SymbolKind reporting wrong types
Classes were properties, functions interfaces, etc.

(cherry picked from commit 02bc1bf355)
2021-07-28 15:39:57 +02:00
Hugo Locurcio dd7bb8f965
Document `Image.save_exr()` only being available in editor builds
(cherry picked from commit a1784c64b4)
2021-07-28 15:39:44 +02:00
Haoyu Qiu 4641e6b170
Add check to internal methods to prevent crash
(cherry picked from commit 448295cd51)
2021-07-27 12:05:59 +02:00
Raul Santos 10d07e02f2
Ignore paths with invalid chars in PathWhich
(cherry picked from commit d636ebbfe9)
2021-07-27 12:05:24 +02:00
Rémi Verschelde c406c8512f
i18n: Sync translations with Weblate 2021-07-26 16:23:02 +02:00
Haoyu Qiu 385b88fced
Fix selection of spaced atlas tile when using priority
(cherry picked from commit 2131b3c61c)
2021-07-26 15:39:14 +02:00
Hugo Locurcio bd63402ed6
Document caveats with Control's `mouse_entered`/`mouse_exited` signals
(cherry picked from commit 37c1cbdcb2)
2021-07-26 14:40:01 +02:00
Cory Petkovsek 4204c02fd1
Calculate instance depth after shadow calculation in VisualServer
(cherry picked from commit 096417905b)
2021-07-26 14:39:44 +02:00
QbieShay f862edd47c
visual server now sorts based on aabb position
this was causing issues with scenes where the origin of the objects
was set for all objects to the center of the scene, making transparent
objects sort improperly

This work was kindly sponsored by IMVU

Co-authored-by: RevoluPowered <gordon@gordonite.tech>
(cherry picked from commit b239c6706e)
2021-07-26 14:39:31 +02:00
kleonc c476459f2b
VisualScriptEditor Fix in graph position calculation (do not skip zoom)
(cherry picked from commit 3336453dff)
2021-07-26 14:38:26 +02:00
Aaron Franke 8c640b8204
[3.x] Fix C# bindings generator for default value types
(cherry picked from commit b3ac1669c0)
2021-07-26 14:36:28 +02:00
Nicholas Huelin 6cea423cc6
Fix doc typos
This pull request fixes an assortment of typos and improves conciseness in `Animation`, `Area2D`,  `Array`, `ArrayMesh`, `Control`, `Directory`, `EditorPlugin`, `Engine`, and `OS`.

(cherry picked from commit 9a72b0d3d0)
2021-07-24 01:12:59 +02:00
Hugo Locurcio 9f68eb2e4c
Clarify the purpose of the default asset library URLs in the editor
`localhost` was removed as it won't work out of the box. It can be added
by the user if they're working on the asset library itself.

This won't affect existing installations due to how the editor settings
are stored, but existing installations will keep working fine.

(cherry picked from commit eac8ba6ce8)
2021-07-24 01:12:52 +02:00
Nicholas Huelin f240d77e29
Fix miscellaneous doc typos and inconsistencies
This pull request fixes an assortment of typos, improves conciseness, and enhances clarity.

(cherry picked from commit 9787e631aa)
2021-07-24 01:12:42 +02:00
Distrikt64 ce71a883c7
Fix msec documentation description typo
(cherry picked from commit 44eb041d60)
2021-07-24 01:12:30 +02:00
Hugo Locurcio 0647f46a67
Improve documentation for GDScript constants
(cherry picked from commit 8ff8c1e5f8)
2021-07-24 01:12:19 +02:00
Joseph Davies 22a449c420
Fix grammar in MultiMesh documentation.
(cherry picked from commit 136567ebcf)
2021-07-24 01:12:10 +02:00
Hugo Locurcio 1f649e9825
Backport RootMotionView icon from the `master` branch
This makes RootMotionView display with a proper icon in the editor.

(cherry picked from commit a528931c5e)
2021-07-24 01:11:44 +02:00
Hugo Locurcio e652218b1f
Document the RootMotionView class
(cherry picked from commit 6880829a9a)
2021-07-24 01:11:21 +02:00
foxydevloper 57189c114e
Fix hidden seperators when horizontal frames is 1
(cherry picked from commit 429382b7e5)
2021-07-24 01:10:40 +02:00
ne0fhyk 037a1d4f69
Disable resource optimizations for release builds as it breaks the legacy build system.
(cherry picked from commit d1fdb60ee2)
2021-07-24 01:09:35 +02:00
Rémi Verschelde d110182cfe
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@241fed0a44.

(cherry picked from commit a98677181b)
2021-07-20 13:37:57 +02:00
Rémi Verschelde 21c176165a
mbedtls: Update to upstream version 2.16.11
(cherry picked from commit cd7b25588b)
2021-07-20 13:05:55 +02:00
Atlinx ff943359dc
Add scaling to the curve editor's handles
This fixes issue #50617

(cherry picked from commit ac5f3a6733)
2021-07-20 12:01:44 +02:00
David Snopek 6234f460b4
Fix "IDHandler.get_prop is not a function" error when calling some methods on WebRTCDataChannel
(cherry picked from commit 756ed308ee)
2021-07-20 12:01:16 +02:00
Fabio Alessandrelli 92cdebe1ac
[HTML5] Add 2 controllers to the godot database.
Sony PlayStation DualShock 4 (054c:05c4 first gen).
Unofficial Switch controller.

(cherry picked from commit 5717118bcc)
2021-07-20 12:01:05 +02:00
Haoyu Qiu a9e0a4bd12
Fix missing locale names
(cherry picked from commit 7eec8334d4)
2021-07-20 12:00:53 +02:00
Aaron Franke 752c1451db
[3.x] Allow reading shaders from .gdshader files
(cherry picked from commit 7dc2edc430)
2021-07-20 12:00:16 +02:00
Nathan Franke 1856be7a0e
Do not update scene tree dock when node edited outside of it
(cherry picked from commit 022a061571)
2021-07-20 11:58:28 +02:00
Dipal M Zambare 4d48e33345
Fixes 50428, added missing checks for image lock
(cherry picked from commit b626c57bc7)
2021-07-15 11:56:53 +02:00
Sergey Minakov 1e14bd655e
[iOS] Fix plugin configuration loading
Clear ConfigFile parameter before loading new file.
Ignore duplicate input plist keys

(cherry picked from commit aa321f0a24)
2021-07-15 11:54:59 +02:00
Питанов Валера 051c5a7ed9
fix lightmap cpu crashes
(cherry picked from commit 47b9afa3e9)
2021-07-15 11:52:53 +02:00
Fabio Alessandrelli 1594678ed5
[HTML5] Raise default initial memory to 32 MiB.
The memory was resized in any case during start.

Mitigate Chromium issue:
https://bugs.chromium.org/p/v8/issues/detail?id=11863

Also fix a warning about SAFE_HEAP being a linker only flag.

(cherry picked from commit 897c906ebf)
2021-07-13 17:04:42 +02:00
Rémi Verschelde ad95bb52d6
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@LightningAA, @thebestnom

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 9e0e74e58e)
2021-07-13 13:17:08 +02:00
Rémi Verschelde 1c840a31a5
i18n: Sync translations with Weblate 2021-07-13 12:32:44 +02:00