Commit Graph

32191 Commits

Author SHA1 Message Date
Ricardo Buring a68344681b Fixup BVH debugging statements
(cherry picked from commit 90725964a4)
2022-08-01 10:53:42 +02:00
bruvzg 3151ebbd68 [macOS, Mono] Fix "Wdeprecated-declarations" build error.
(cherry picked from commit 5d54c015b2)
2022-08-01 10:53:18 +02:00
Rémi Verschelde 7d98a5e069 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
Rindbee, Vitika9

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit ce959dc753)
2022-07-25 16:43:11 +02:00
Rémi Verschelde 909a9b77c7 SCons: Prevent using `vsproj` option outside Windows
Fixes #63305.

(cherry picked from commit 4e56f96396)
2022-07-25 16:42:18 +02:00
Pedro J. Estébanez 4f98488d82 Use the right memory ordering in SafeNumeric operations
(cherry picked from commit 02a584d8e6)
2022-07-25 16:42:07 +02:00
Pedro J. Estébanez 5f89f1a9ff Flush buffered input events on UWP
(cherry picked from commit b53d032fb8)
2022-07-25 16:41:50 +02:00
Pedro J. Estébanez 86d8bd77f4 Flush accumulated input events on iOS
(cherry picked from commit 0348fa2640)
2022-07-25 16:41:33 +02:00
Markus 375d9905b5 Apply S3TC Android/iOS fix to GLES3
(cherry picked from commit 4abe07c811)
2022-07-19 12:31:40 +02:00
Fabio Alessandrelli a4ca649d52 Bump mbedtls to 2.18.1 (headers).
(cherry picked from commit baa261cdc8)
2022-07-18 18:55:37 +02:00
Rémi Verschelde 623a5499da Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@880abd09c9

(cherry picked from commit b70e4fc0f3)
2022-07-18 16:06:16 +02:00
Fabio Alessandrelli 07c3e3e41b Bump mbedtls to version 2.18.1, update LICENSE.
Keep applying windows entropy patch.

Update thirdparty/README with correct version information.

(cherry picked from commit 9403a68853)
2022-07-18 15:40:40 +02:00
Fabio Alessandrelli 956ab70733 Bump mbedTLS version to 2.28.0 (new LTS).
Keep applying the windows entropy patch (UWP support).
Remove no longer needed padlock patch.
Update thirdparty README to reflect changes, and new source inclusion
criteria.

(cherry picked from commit e375cbd094)
2022-07-18 15:39:43 +02:00
janglee e0fe0c3d82 GDScript: Fix autocompletetion showing class names with an underscore
Fixes #35469.

(cherry picked from commit 00c6cdd793)
2022-07-07 14:16:17 +02:00
Rémi Verschelde 373ec9a8a2 Input: Document that accumulated input is disabled by default
This was actually disabled by mistake in 3.4 causing a regression, but since
this issue survived the whole 3.4.x series and it's now very close to 3.5,
it's too late to change it again.

We might consider it for 3.6 after some beta testing.

Fixes #55037.

(cherry picked from commit 7de45b6203)
2022-07-07 14:15:50 +02:00
César Izurieta aad1c39098 Fix gltf texture filename decoding
(cherry picked from commit f66200ed3c)
2022-07-07 14:13:09 +02:00
Rémi Verschelde 8d066d25dd SCons: Properly track codegen script dependency for generated GLES headers
(cherry picked from commit 772d071863)
2022-07-07 14:12:55 +02:00
Wilson E. Alvarez 720b3a40ce Properly check for fullscreen toggle made through the Window Manager
(cherry picked from commit cf38b6f187)
2022-07-07 14:12:34 +02:00
salamandars 5fcdbfb2be Clarify that MeshInstance surface methods only apply to override materials
(cherry picked from commit 22881a6923)
2022-07-07 14:11:35 +02:00
kleonc 4df1a2f7e3 Fix `CPUParticles2D.emission_shape` enum hint
(cherry picked from commit e55ba60da1)
2022-07-07 14:11:17 +02:00
Paweł Fertyk d8f8ae0ce1 Fix `set_window_size` crash when using NaN
Fixes #60466.

(cherry picked from commit b3f822eaae)
2022-07-07 14:11:01 +02:00
Danny Chung fd799e459f Increase AnimationPlayer position SpinBox to fit more decimals
Fixed UI bug where it appeared that pushing the up or down incrementing
arrows did not increment the SpinBox value appropriately. Just needed
to increase the size of the box horizontally, to display four decimal
points consistently.

(cherry picked from commit 09658f7e3b)
2022-07-07 14:10:46 +02:00
Haoyu Qiu 81fa4a4268 Fix scene tree dock focus after using "Add Child Node" button
(cherry picked from commit 512b70858c)
2022-07-07 14:10:21 +02:00
Haoyu Qiu d52681085e Fix String.http_escape on Windows
(cherry picked from commit 1a7e3b3ab6)
2022-07-07 14:10:10 +02:00
Haoyu Qiu 4a83c2944c Fix LineEdit clear button for asymmetric stylebox
(cherry picked from commit 1e6747d185)
2022-07-07 14:09:50 +02:00
lawnjelly 6cb32b696e Portals - force full check on adding moving object
Moving objects being added during instance_moving_create() were incorrectly not forcing a full check to find which room they were within. This could result in moving objects being re-added not correctly identifying their current room, and thus culling incorrectly. This PR forces a full check on calling instance_moving_create.

(cherry picked from commit e7a73579e3)
2022-07-07 14:09:39 +02:00
31 8cb4593eed C#: Fix debugger options missing from Project Settings
(cherry picked from commit 826415ad2f)
2022-07-07 14:09:21 +02:00
ElCosmoXD a215d29857 Fixed the missing DLL's issue
(cherry picked from commit 432e752028)
2022-07-07 14:08:49 +02:00
kleonc 5fa879bd62 EditorPropertyArray Fix crash when drag-reordering elements in the inspector
(cherry picked from commit 33b2970492)
2022-07-07 14:08:34 +02:00
bruvzg d23e6b8f00 Fix incorrect encoding used in _error_handler functions
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
(cherry picked from commit b5d5515a2b)
2022-07-07 14:07:31 +02:00
clayjohn 4a00561556 Unbind vertex buffer before calculating blend shapes
(cherry picked from commit b0b1e44bc1)
2022-07-07 14:07:05 +02:00
clayjohn 29fc16d4b6 Unpack blend shape arrays when necessary
Blend shapes need to be unpacked if the vertex array is being unpacked

(cherry picked from commit 33d825c50b)
2022-07-07 14:07:05 +02:00
Rémi Verschelde afa669dbd3 certs: Sync with Mozilla bundle as of Mar 31, 2022
39c6ac0550
(cherry picked from commit be6db612a1)
2022-07-07 14:07:05 +02:00
dzil123 b0822d4054 fix gridmap cursor showing the wrong mesh
(cherry picked from commit 726614ff4b)
2022-07-07 14:07:05 +02:00
Haoyu Qiu d506718736 Fix crash when editing pinned StyleBox
(cherry picked from commit 4b013a9c96)
2022-07-07 14:07:05 +02:00
Haoyu Qiu 45e55d51de Fix invalid memory usage when using Image.convert
(cherry picked from commit 34c1a2beaa)
2022-07-07 14:07:05 +02:00
kleonc d700434b7d AnimationTrackEditor Fix signal connection on root exiting the tree
(cherry picked from commit 2ede2bac0b)
2022-07-07 14:07:05 +02:00
Rémi Verschelde 59ae873e50
Merge pull request #62609 from akien-mga/3.4-android-preset-target-sdk-warning 2022-07-03 18:47:54 +02:00
Yuri Sizov 7a87fd232b Fix return type for the exposed EditorResourcePicker method
(cherry picked from commit d9bf3e5e35)
2022-07-03 18:30:41 +02:00
Rémi Verschelde 431558d419 Android: Only warn when Target SDK is non default
The validation logic for Min Sdk and Target Sdk was flawed as it triggers
errors for users not using Custom Build even if they never modified the
values themselves.

The default values for those settings get saved in `export_presets.cfg` and
thus the error gets triggered when moving from 3.4.4 or earlier to 3.4.5, as
the target SDK changed from 30 to 31.

So instead we just show a warning to make users aware of this non-default
Min Sdk or mostly Target Sdk that might be in their preset.

We also warn when they do use Custom Build as the target SDK 30 would likely
still be an upgrade issue and not an intentional choice, especially given
that Google Play will now require SDK 31.

The export info dialog is now exclusive so that when it doesn't auto-close,
i.e. when it errors, you don't close it by mistake by clicking outside.

The valid range for both options is no longer limited to Godot's own default
target SDK, but can accept higher values (they are not guaranteed to work,
but they might).

To be able to display warning, the relevant code is backported from 30ee208bd.

Fixes #62465 without breaking compatibility for 3.4.5.
2022-07-03 17:44:34 +02:00
Rémi Verschelde 0328664bb5 Mono: Update Newtonsoft.Json to 13.0.1
See https://github.com/advisories/GHSA-5crp-9r3c-p9vr

(cherry picked from commit 870c02143b)
2022-06-24 11:19:38 +02:00
Gustavo Maciel ef701d6c27 Update android:targetSdkVersion from 30 to 31
Starting in August 2022, new apps will need to target API level 31 (Android 12) or higher and adjust for behavioral changes.

Read more here: https://developer.android.com/google/play/requirements/target-sdk

(cherry picked from commit ec6d5d6cba)
2022-06-23 16:00:07 +02:00
Hugo Locurcio 716e4e0c2e Handle CLI arguments without a value in `OS.get_cmdline_args()` example
Command lines such as `--host --address 127.0.0.1` are now parsed as
`{"host": "", "address": "127.0.0.1"}`.

(cherry picked from commit 99d9228a2e)
2022-06-19 14:14:43 +02:00
Hugo Locurcio 49fc84da4a Improve CurveTexture documentation
(cherry picked from commit 87f22083af)
2022-06-19 14:14:01 +02:00
Haoyu Qiu 8f59e837a8 Remove extra codeblock tag from ProximityGroup classref
(cherry picked from commit c197e11363)
2022-06-19 14:13:06 +02:00
Nikola Whallon 5446443504 added info on microphone sample format
(cherry picked from commit eb5a42d0bc)
2022-06-19 14:12:53 +02:00
Sergey Pershenkov 230a047d5f draw_circle() draws a filled circle
(cherry picked from commit adccb9fd60)
2022-06-19 14:12:36 +02:00
skyace65 da0ade279b Fix rigid body damp description (3.x)
(cherry picked from commit c0ecbeaf6f)
2022-06-19 14:12:07 +02:00
Hugo Locurcio bccc403823 Change instances of "returns an empty Variant" to "returns null" in docs
While "returns an empty Variant" technically valid (it's constructed
as `Variant()` in C++), "returns null" is more intuitive to users.

(cherry picked from commit 109f968171)
2022-06-19 14:11:56 +02:00
dtesniere 05a48a189a Fix class name : change "string" to "String"
Change case of "s" letter : "string" does not compile but "String" does (for gdScript)

(cherry picked from commit 55b63eceaa)
2022-06-19 14:11:39 +02:00
Haoyu Qiu dda6066c33 Improve documentation of `rand_range`
(cherry picked from commit 84cc0c9c47)
2022-06-19 14:11:10 +02:00