Commit Graph

32189 Commits

Author SHA1 Message Date
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
Hugo Locurcio 698dc5cae8 Document the ProximityGroup class
Co-authored-by: MJacred <loesch.benny92@gmx.de>
(cherry picked from commit fb345a924d)
2022-05-05 15:17:42 +02:00
Hugo Locurcio 9fec145ebe Improve documentation for tonemapping operators
(cherry picked from commit 035cb7fcb0)
2022-05-05 15:17:29 +02:00
bruvzg 62b3855ce7 Fixed implementation of RTL remove_line()
Co-authored-by: Eric M <itsjusteza@gmail.com>
(cherry picked from commit ff381f6e84)
2022-05-05 15:16:27 +02:00
twi 06ac7dc21f Update link to vector2_angle_to_point.png
(cherry picked from commit 718533552c)
2022-05-05 15:16:08 +02:00
FireForge a3d032eea3 Fix UndoRedo in Gradient editor
(cherry picked from commit a384031326)
2022-05-05 15:15:36 +02:00
Rémi Verschelde 694aef9ae5 Linux: Use pkg-config for alsa, libudev and GL too
It's not needed on most distros as those are found in standard lib
and include paths, but on NixOS they're all in non-standard prefixes,
so we need to rely on information provided by pkg-config.

Fixes #59913.

Co-authored-by: David Lewis <davidalewis00@gmail.com>
(cherry picked from commit 07ad066420)
2022-05-05 15:15:10 +02:00
Haoyu Qiu 5ca5e7d0c0 Fix custom class icon when it inherits from a script
(cherry picked from commit 42448d7587)
2022-05-05 15:14:42 +02:00
Hugo Locurcio bfe54e4d44 Document that glTF classes are only usable in editor builds
Run-time glTF saving/loading is only available in Godot 4.0,
not Godot 3.x.

(cherry picked from commit 3a8104289d)
2022-05-05 15:13:11 +02:00
tdetoy 72498a3ced mesh_surface_get_format_offset and mesh_surface_get_format_stride will now provide an error with an invalid array index
(cherry picked from commit 8e57aae57d)
2022-05-05 15:13:00 +02:00
David Cambré 467c2c5d4b Fixes the copy paste issue in the visual script editor.
Moves copy and paste in their own functions so copy_nodes_request and paste_nodes_request are able to work.
Applies paste offset to the last mouse clicked position.

(cherry picked from commit fb7c23f30b)
2022-05-05 15:12:44 +02:00
FireForge d9ad611639 Fix EditorProperty text and icon overlap bugs
(cherry picked from commit dbc380af59)
2022-05-05 15:12:24 +02:00
DESKTOP-893BK8A\howar db5bfa398a Fixed #59985 leading spaces autowrap boundary problem
Bug problem:
No condition for when the first character of the label is a space character

Fix:
Added an IF condition for when the first character is a space character
The autowrap boundary treat this space character as another dummy word in the WordCache linked list and proceed to function normally, by detecting when line width is 0

(cherry picked from commit c0513268bd)
2022-05-05 15:11:49 +02:00
Haoyu Qiu 355c73de32 Fix undo history for function name autocompletion
(cherry picked from commit 19a0145742)
2022-05-05 15:11:26 +02:00
Rémi Verschelde 5816a26c04
Merge pull request #60205 from akien-mga/3.4-cherrypicks 2022-04-13 15:51:01 +02:00
Haoyu Qiu 1a95a0e999 Fix popup dialog UI in AnimationTreePlayer editor
(cherry picked from commit 65aac2cfae)
2022-04-13 12:18:45 +02:00
Markus Sauermann 60184f08f4 Add a note about collisions in different canvases.
(cherry picked from commit b9c91d620e)
2022-04-13 12:18:45 +02:00
Nicholas Huelin 12ca7fbfe3 Fix Visual Script's jump to function relative to zoom
When double-clicking on a function name the graph will now correctly jump to the function relative to the zoom ratio.

(cherry picked from commit e8a326a08f)
2022-04-13 12:18:45 +02:00
kobewi f0b0a244b0 Fix GraphEdit's valid connections being reversed
(cherry picked from commit b29aff8dac)
2022-04-13 12:18:45 +02:00
Eric McGuirk 3d4af8117d Fix toggling GraphEdit's minimap with `minimap_enabled`
Fixes #53831.

(cherry picked from commit b1441bbcfc)
2022-04-13 12:18:45 +02:00
Ryan Roden-Corrent 5b098bf41b Clarify Array.erase for nonexistant element.
The docs specify that Array.remove does nothing if the index does not
exist. Array.erase does not have a similar phrase, so it's unclear if
erase will print an error, or silently do nothing.

(cherry picked from commit f84e2db35e)
2022-04-13 12:18:45 +02:00
kobewi 52f6ec2ea7 Fix TouchScreenButton error spam
(cherry picked from commit db19cc60fb)
2022-04-13 12:18:45 +02:00
nova++ 6a788fe7a3 Fixing some of my own typos...
(and a little improvement to wording that was bugging me)

(cherry picked from commit 05718796db)
2022-04-13 12:18:45 +02:00
Haoyu Qiu 6432d53f10 Fix capitalization of boolean output in classref
(cherry picked from commit 94a5f9edb0)
2022-04-13 12:18:45 +02:00
Rémi Verschelde fcd8ff1ad4 zlib/minizip: Update to version 1.2.12
Security update, fixes CVE-2018-25032 in zlib.

Preliminary assessment doesn't show Godot as affected since we don't
seem to call `deflate` with the problematic parameters, but the extent
of the vulnerability is not fully clear upstream yet.

(cherry picked from commit 420d0d50bc)
2022-04-13 12:18:45 +02:00
Rémi Verschelde 4ac1a79514 Cleanup and reorder .gitignore
Group things better in categories, and remove a ton of VS junk.
Some of it might still be needed and could need to be re-added.

(cherry picked from commits 1f1edaa1b5
and b0df742cbe)
2022-04-13 12:18:45 +02:00
Haoyu Qiu 4640071104 Clip animation track keyframe rects
(cherry picked from commit c7e06e2202)
2022-04-13 12:18:45 +02:00
Ricardo Buring 3850d6db76 BulletPhysicsServer::area_get_space: null check
This is now the same as e.g. body_get_space.

(cherry picked from commit 79317f9cb1)
2022-04-13 12:18:45 +02:00
keptsecret b95221fb0a fix unable to change directory in user access mode
(cherry picked from commit c69689ab5a)
2022-04-13 12:18:45 +02:00
Pedro J. Estébanez 3680cfde86 Fix crash when passing null to AudioStreamPlayer::set_stream()
(cherry picked from commit 9e2d5120c1)
2022-04-13 12:18:45 +02:00
Bartłomiej T. Listwon 661da8f9dd Fix crash in AudioServer when switching audio devices with different audio channels count (connecting PS5 controller, bluetooth 5.1 headphones etc.)
(cherry picked from commit df39e0f472)
2022-04-13 12:18:45 +02:00