Commit graph

29933 commits

Author SHA1 Message Date
Francois Belair 2e1e8eb2e1
Translate file path to URI on LSP symbol requests
(cherry picked from commit a56c2e459b)
2021-06-29 13:49:12 +02:00
Gromph c652cb62db
UWP: Keep upstream names for capabilities preset settings to avoid mismatch
The previous code used `camelcase_to_underscore` to prettify the names for
display in the export preset, but it leads to inconsistencies if we don't make
sure to do the reverse operation when writing to the `AppxManifest.xml`.

It's simpler to keep the same names as in the manifest, which is also what
users will see referenced in MS documentation.

Fixes #47900.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit c87e49d7bc)
2021-06-29 13:48:55 +02:00
PouleyKetchoupp 0938958111
Expose collider RID in 2D/3D kinematic collision
Can be useful to access the colliding body information for bodies
created with the physics server directly.

(cherry picked from commit a146e79758)
2021-06-29 13:48:37 +02:00
amor cefef7db05
Fixed inspector not updating anchor
(cherry picked from commit dacc726faf)
2021-06-29 13:48:14 +02:00
Umang Kalra f12df328f0
Fixes missing descriptions in search window of visualscript
(cherry picked from commit 5e8d31ef0e)
2021-06-29 13:47:35 +02:00
K. S. Ernest (iFire) Lee 64cfd5cbaa
ERR_FAIL_NULL check file access
Null in ResourceImporterTexture::_save_stex

(cherry picked from commit b74bc42a43)
2021-06-17 13:25:29 +02:00
Haoyu Qiu c1b2bd6fb6
Save binary ProjectSettings key length properly
(cherry picked from commit 06c0a5f9f2)
2021-06-17 13:25:11 +02:00
Paweł Fertyk f36a3c67e3
Remove trailing slash from recent dir if needed
(cherry picked from commit 709e71ae9c)
2021-06-17 13:24:59 +02:00
Fabio Alessandrelli 87883f8b0d
[HTML5] Update eslint and jsdoc dependencies.
(cherry picked from commit a1cbb6daa6)
2021-06-17 13:24:44 +02:00
Fabio Alessandrelli 336a381486
[HTML5] Fix some JS library signature.
(cherry picked from commit 9b7b0a28b9)
2021-06-17 13:23:40 +02:00
Pedro J. Estébanez dc203b0d13
Fix slow load/save of scenes with many instances of the same script
(cherry picked from commit 2ca6b9c610)
2021-06-17 13:22:41 +02:00
Haoyu Qiu 461e79bd18
Validate parameters when adding plugins
(cherry picked from commit 1a9e3edd30)
2021-06-17 13:21:42 +02:00
Hugo Locurcio a40b59d270
Fix game camera override tooltips being swapped
Previously, the wrong tooltip was shown.

This also tweaks the tooltips' texts to be clearer and remove
references to "game" (since Godot is used for more than just games).

(cherry picked from commit d1c5dd5b68)
2021-06-17 13:21:28 +02:00
Hugo Locurcio 5dcbe95758
Fix duplicate paragraph in ArrayMesh.add_surface_from_arrays() description
(cherry picked from commit 033985f9c2)
2021-06-17 13:21:12 +02:00
kleonc e8759f218d
TextureButton Update min size on any texture change
(cherry picked from commit 6c3c269f24)
2021-06-17 13:20:54 +02:00
Philip Whitfield e583888573
fix url parsing with port numbers
String.get_slice_count is always at least 1 or 2 for bases with a port number.
Before this change the following URL would return ERR_INVALID_PARAMETER ```ws://127.0.0.1:8000/test```

(cherry picked from commit 3d9f29910c)
2021-06-17 13:20:43 +02:00
Hugo Locurcio 0cb19bc69c
Allow higher and lower maximum zoom values in GraphEdit
Low zoom values result in unreadable text, but it can still be
useful for previewing purposes.

Eventually, characters could be replaced by rectangles at very low
zoom levels to improve the visual appearance.

(cherry picked from commit 74c584472c)
2021-06-17 13:20:23 +02:00
Hugo Locurcio fbe8226213
Tweak the physics FPS property hint to only allow reasonable values
Physics FPS above 1000 cause the whole project to slow down
and are not very practical in the first place (since no CPU currently
available can keep up).

(cherry picked from commit 8f4ac7bc4a)
2021-06-17 13:20:04 +02:00
Andrii Doroshenko (Xrayez) 6f63b0c9ae
Separate version hash from version number in editor and project manager
When copy-pasting the version from About dialog to bug reports at GitHub,
this makes the version hash linkable to commits at GitHub.

(cherry picked from commit 293550f56a)
2021-06-17 13:19:41 +02:00
Hugo Locurcio 915865b279
Fix editor constantly redrawing when freelook is active with still camera
The editor only needs to redraw when the camera is moving.

This helps preserver battery life on laptops when using freelook,
especially with the toggle mode (Shift + F).

(cherry picked from commit 21807f8d88)
2021-06-17 13:19:05 +02:00
Marcel Admiraal 286ab2aa5c
Remove FIXME comment from fixed issue in Android Export
(cherry picked from commit 68b1a80a5d)
2021-06-17 13:18:50 +02:00
bruvzg 984fa91a0f
Fix loading RLE compressed TGA files.
Fix memory reads outside of input buffer when loading invalid TGA files.

(cherry picked from commit d86ccf8309)
2021-06-17 13:18:18 +02:00
Hugo Locurcio 2760de8710
Document applying VRAM compression setting changes retroactively
(cherry picked from commit d0d717809e)
2021-06-17 13:17:28 +02:00
Haoyu Qiu 65e14eb8de
Fix RichTextLabel auto-wrapping on CJK
(cherry picked from commit 3a591aaeeb)
2021-06-17 13:16:59 +02:00
Rémi Verschelde 0b594bf3c8
Style fix in DONORS.md (trailing space)
(cherry picked from commit 2b5b33706e)
2021-06-16 13:50:16 +02:00
Rémi Verschelde a812779cc5
i18n: Sync translations with Weblate 2021-06-16 13:47:49 +02:00
Rémi Verschelde 6bf3a162cd
Update AUTHORS and DONORS list
Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit c5d6fb599c)
2021-06-16 13:44:16 +02:00
Rémi Verschelde fbba61998a
Merge pull request #49607 from azagaya/3.3
[3.3] Fix vertical slider grabber_area height calculation
2021-06-15 00:12:44 +02:00
azagaya 1114c248b1 Fix vertical slider grabber_area height calculation 2021-06-14 15:51:12 -03:00
Hugo Locurcio 018ca6b1c4
Make it possible to copy the Godot version identifier by clicking it
This closes #24317.

(cherry picked from commit 1ceb603de8)
2021-06-08 10:48:29 +02:00
Arthur Bikmullin ca465ef54d
Fixed missed IDHandler dependency in GodotFetch
(cherry picked from commit ee2bea7a86)
2021-06-08 10:21:08 +02:00
Hugo Locurcio 5738d6ee6e
Allow clang-format 12 in the pre-commit hook
clang-format 12's formatting is identical to clang-format 11's.

(cherry picked from commit d74413ebd0)
2021-06-07 22:56:01 +02:00
PouleyKetchoupp fab9c19d2e
Fix uninitialized members in physics query results
(cherry picked from commit c6bd0fd0f7)
2021-06-07 22:56:01 +02:00
Rémi Verschelde 089fde5c59
FileAccess: Don't err in store_buffer with buffer of size 0
The error check was added for `FileAccessUnix` but it's not an error when both
`p_src` and `p_length` are zero.

Added correct error checks to all implementations to prevent the actual
erroneous case: `p_src` is nullptr but `p_length > 0` (risk of null pointer
indexing).

Fixes #33564.

(cherry picked from commit 01d5c463be)
2021-06-07 22:56:01 +02:00
Marcel Admiraal 6a98050afa
Don't install Android NDK in CI
(cherry picked from commit a81449be6d)
2021-06-07 22:52:35 +02:00
Marcel Admiraal b45fb53896
Update Gradle archiveName and destinationDir properties
(cherry picked from commit 78e791045c)
2021-06-07 22:52:02 +02:00
Nick Huelin aa4afee320
Edit "quit()" method description in SceneTree
Updated the `SceneTree.quit()` method to include a note that on iOS this method won't work as apps are expected to be closed via the Home button, not programmatically.

(cherry picked from commit c63af17a31)
2021-06-07 22:50:12 +02:00
kobewi e5dc7a06a9
Improve sort_custom() description
(cherry picked from commit 48f0368ddc)
2021-06-07 22:49:37 +02:00
Marcel Admiraal 3c55a9c210
Fix game controllers ignoring the last listed button
(cherry picked from commit 18825ad4ff)
2021-06-07 22:40:42 +02:00
Hugo Locurcio f7e9467441
Document Navigation.get_simple_path() often returning non-optimal results
(cherry picked from commit 8e4afdc71d)
2021-06-07 22:38:55 +02:00
RoniPerson f1ca7c5e98
Added documentation to some add_*_plugin methods
Added documentation to some `add_*_plugin` methods and the corresponding `remove_*_plugin` methods.
Added an example of how to register a plugin to `add_inspector_plugin` and linked to it in the other methods.

(cherry picked from commit e849157e07)

Proofread add_*_plugin/remove_*_plugin descriptions in EditorPlugin

(cherry picked from commit 21f0961610)
2021-06-07 22:38:05 +02:00
bruvzg 05b72c2e9b
[3.x] Fix visibility issue with zoom label
(cherry picked from commit 36ca3fea96)
2021-06-03 12:42:45 +02:00
Hugo Locurcio c45ce8b6bb
Uncap the range for gravity and change the slider hints
There's not really a reason to cap the gravity amount, and we can also
give better hints for the range (for 3D, ±32 is much more sensible
than ±1024).

(cherry picked from commit e0facdaf61)
2021-06-03 12:42:30 +02:00
Jonas Bernemann 5b3f94e807
Fix overflow in export template manager
Fixes the possible overflow of buttons after downloading the
current export template with using custom fonts or custom font size.

Fix #48826

(cherry picked from commit 4659b2ad4a)
2021-06-03 12:42:08 +02:00
Pedro J. Estébanez 843e6bbd6b
Fix crash when using ALSA MIDI with PulseAudio
(cherry picked from commit 958d79828b)
2021-06-03 12:41:29 +02:00
kleonc 7674015231
TextureRegionEditor Fix not updating on editing region with autoslice cached
(cherry picked from commit 019c99e538)
2021-06-03 12:41:10 +02:00
Nathaniel Morihara a34c0a9248
Exporting: Android Debug Keystore Warnings
(cherry picked from commit 2cf19293ba)
2021-06-03 12:40:28 +02:00
Rémi Verschelde 0446cf487f
i18n: Sync translations with Weblate 2021-06-02 11:09:24 +02:00
Lyuma b9e8fa4504
gltf: Fix mesh nodes which are also bones for 3.x
Fix issue when two skeletons end up directly parented.
Prevent animating TRS for skinned Mesh node.
Fix animating weights on meshes with targets but no weights.

(cherry picked from commit a330b6829f)
2021-06-01 12:57:43 +02:00
Haoyu Qiu 41206078dd
Check cache_parent_physical_bone when rebuilding parent cache
(cherry picked from commit 96fe795bdb)
2021-06-01 12:56:25 +02:00