Commit Graph

32169 Commits

Author SHA1 Message Date
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
SnailRhymer 49282b59d6 Document Shape2D's collide_and_get_contacts() and collide_with_motion_and_get_contacts()
Expand on the format of the output array for collide_and_get_contacts and collide_with_motion_and_get_contacts, and describe how the contact point pairs can be used to calculate collision normals and depths.

(cherry picked from commit bdf086c781)
2022-06-19 14:10:29 +02:00
Hugo Locurcio cde4ed1d21 Improve documentation for `Camera3D.project_ray_{normal,origin}`
This mentions that internally, the inverse camera projection is used
to perform projections.

(cherry picked from commit fbec10179a)
2022-06-19 14:09:45 +02:00
Rémi Verschelde afe8492241 Fix typos with codespell
Using codespell 2.2-dev from current git.

Fix a couple incorrect uses of gendered pronouns.
2022-06-19 14:06:55 +02:00
Rémi Verschelde 8d287957f9 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
ConteZero, fire-forge, IgorKordiukiewicz, iwek7, klowner,
pfertyk, smix8

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit f8d3388d9b)
2022-06-16 20:56:24 +02:00
Rémi Verschelde c02325ffda
Merge pull request #60793 from akien-mga/3.4-cherrypicks 2022-05-05 16:56:06 +02:00
kleonc 3993510fc6 Tree::get_edited Fix in docs example code
(cherry picked from commit b0bcbcc094)
2022-05-05 15:47:02 +02:00
Rémi Verschelde 4c5d2159f5 Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@b7d126eb71

(cherry picked from commit 30fbb8964d)
2022-05-05 15:47:02 +02:00
Fabio Alessandrelli d519a97104 [JS] Add flag to disable weak symbols in ZSTD.
Weak symbols are currently broken in upstream emscripten.

(cherry picked from commit 070bd87aaa)
2022-05-05 15:47:02 +02:00
Fabio Alessandrelli 80d46acf5d Added missing signature.
(cherry picked from commit a4c3e915be)
2022-05-05 15:47:01 +02:00
kobewi 33bcf1c5d1 Clarify InputMap.action_get_events() in the editor
(cherry picked from commit 5235584066)
2022-05-05 15:47:01 +02:00
Paulo Feodrippe 38c23419d9 Fix simulatenous touches for different touch types
(cherry picked from commit a6f06d57dc)
2022-05-05 15:47:01 +02:00
PureAsbestos 62c48a0cf9 Change 'throws an error' to 'prints an error' in classref
(cherry picked from commit a89b3f872d)
2022-05-05 15:47:01 +02:00
Marcel Admiraal 54808aa460 Check for null when retrieving clip data item text on Android
(cherry picked from commit 5924e2b90e)
2022-05-05 15:47:01 +02:00
ScottVMariotte 0b60e924d9 Replaced loops_current with end_loop
(cherry picked from commit c526ee6683)
2022-05-05 15:47:01 +02:00
kobewi 01ba2e5e81 Expose tile_texture property
(cherry picked from commit 0b5289cadf)
2022-05-05 15:47:01 +02:00
Rémi Verschelde 40c9d01cb5 Relax version warning in clang-format precommit hook
Closes #60778.

(cherry picked from commit 9e66a947e4)
2022-05-05 15:39:59 +02:00
Rémi Verschelde e55e56b5fc SCons: Don't enable any `-Werror=return-type` outside `werror=yes`
We shouldn't presume that future compilers will not have false positives or
find new occurrences of this warning, which would break compiling old versions
of the engine without passing custom `CXXFLAGS`.

Follow-up to #60652.

(cherry picked from commit e55d30768a)
2022-05-05 15:18:56 +02:00
Rémi Verschelde 916f3d7c3c SCons: Disable `-Werror=return-type` for GCC 12+ due to regression
Works around and thus closes #58747.
Supersedes #60613.

(cherry picked from commit 01f8f17b67)
2022-05-05 15:18:49 +02:00
Ricardo Buring f7930560c3 SpaceBullet::recover_from_penetration: skip compound shapes without child shapes
Before, this case would incorrectly get caught as an error, causing an
early return, in particular skipping other possibly relevant shapes.

(cherry picked from commit 887a5cd4f9)
2022-05-05 15:18:30 +02:00
Hugo Locurcio dba3a8d2aa Document workarounds for 2D line and polygon antialiasing
(cherry picked from commit 1bdcba2d76)
2022-05-05 15:18:18 +02:00
Fredy Huya-Kouadio 290e10fdf9 Update Meta hand tracking version
https://developer.oculus.com/blog/presence-platforms-hand-tracking-api-gets-an-upgrade/
(cherry picked from commit 32ace78a3e)
2022-05-05 15:18:03 +02:00
Haoyu Qiu a3f91b9fdc Fix left aligned integer sign in string formatting
(cherry picked from commit 767134fd8d)
2022-05-05 15:17:52 +02:00