Commit Graph

34393 Commits

Author SHA1 Message Date
Rémi Verschelde 42bf1ef3fe
Merge pull request #80370 from broquaint/fix-tween-cheatsheet-url
[3.5] Fix Tween cheatsheet URL
2023-08-21 08:09:29 +02:00
Rémi Verschelde ffd1181cef
Merge pull request #80773 from akien-mga/3.5-cherrypicks
Cherry-picks for the 3.5 branch (future 3.5.3) - 1st batch
2023-08-19 10:47:41 +02:00
lawnjelly 6e52037876
Fix AnimatedSprite normal map loading
Normal map names are now correctly set up during loading.

(cherry picked from commit d02b319ec4)
2023-08-19 00:53:36 +02:00
Simon Barkehanai bf2d62382f
Fix infinite loop on EOF in the command line debugger
When using the command line debugger (godot -d) on Unix systems, when
entering an EOF (ctrl+D), the debugger enters an infinite loop.

Adding a check for EOF in the debugger loop exits the debugger when EOF
is entered.

Fixes #50170.

(cherry picked from commit 4ecad8dea3)
(cherry picked from commit d1dcea79d4)
2023-08-19 00:53:17 +02:00
Rémi Verschelde e0ad1e8358
[JS] Update npm packages
Redo of #80093 for 3.5.
2023-08-19 00:46:57 +02:00
Haoyu Qiu 57ad3e9670
Fix OccluderPolyShape handles disappear after release click
(cherry picked from commits dd3bda9156
and 98803d4edd)
2023-08-19 00:39:54 +02:00
Fabio Alessandrelli 56ce1d809d
[ENet] Update to upstream master.
(cherry picked from commit 6aedce488b)
2023-08-19 00:38:33 +02:00
Fabio Alessandrelli f701e73572
[Net] Explicitly handle buffer errors in send/recv
(cherry picked from commit c783dd4a52)
2023-08-19 00:38:30 +02:00
Ninni Pipping 528221fb63
[3.x] Add example for `NodePath` to grandparent
(cherry picked from commit b3ebc80feb)
2023-08-19 00:38:18 +02:00
Ninni Pipping 1cc210d1e9
[3.x] Clarify `String.get_slice` behavior
Clarify that the function returns the whole string if there is no
instances of the delimiter in the string.

(cherry picked from commit dec7cb5548)
2023-08-19 00:37:52 +02:00
bruvzg d8f6c3aac6
[X11] Use current keyboard layout in OS_X11::keyboard_get_scancode_from_physical.
(cherry picked from commit 9461923eff)
2023-08-19 00:37:41 +02:00
Rémi Verschelde 4044b19100
regex: Add nullptr check in `_regex_free`, needed with PCRE2 10.42
Fixes #76174.

(cherry picked from commit 290db4a0b6)
2023-08-19 00:36:42 +02:00
Ninni Pipping 8c1a8d4396
[3.x] Fix trim when importing WAV
(cherry picked from commit 5cd47a1984)
2023-08-19 00:36:26 +02:00
Ninni Pipping 86fbd1514e
[3.x] Bounds fixes in `TextureAtlas` import
(cherry picked from commit e34619a605)
2023-08-19 00:36:14 +02:00
MJacred e12f95b80d
[3.x] Warn against using non-uniform scale for 3D physics (in class reference only)
partial backport of #67847
fixes #56824

(cherry picked from commit 1c63c54ab3)
2023-08-19 00:36:14 +02:00
Ninni Pipping eff9feb4a6
[3.x] Clarify range of various ID values are 32 bit
(cherry picked from commit 96ad972dc5)
2023-08-19 00:36:14 +02:00
Rémi Verschelde 03b2b23ef8
Linux: Don't use udev for joypad hotloading when running in a sandbox
udev doesn't work in sandboxes, notably the new Steam container runtime
as found notably on the Steam Deck, and in Flatpak/Snap packages.

Like SDL does, when we detect such a containerized environment, we fall
back to parsing `/dev/input` directly.
See smcv's comments in #76879 for details.

Fixes #76879.

(cherry picked from commit 788cb74cc6)
(cherry picked from commit 8a23fa41a8)
2023-08-19 00:36:14 +02:00
Hugo Locurcio f5525d9e1e
Document 3D particle color properties requiring vertex color as albedo
(cherry picked from commit c65967c17f)
2023-08-19 00:36:14 +02:00
kleonc 50c83b1581
Fix GridContainer max row/column calculations not skipping hidden children
(cherry picked from commit 0ce6ef7215)
2023-08-19 00:36:13 +02:00
Aaron Franke bdc8049651
[3.x] Fix small mistake in docs, "antecedents" -> "ancestors"
(cherry picked from commit 92f0c9272f)
2023-08-19 00:36:13 +02:00
Ninni Pipping a9c451af33
Fix size error in `BitMap.opaque_to_polygons`
Previous estimate of upper limit on size was incorrect

(cherry picked from commit 48347499c2)
2023-08-19 00:36:13 +02:00
Haoyu Qiu 05ce396e8b
Fix inconsistent file dialog settings usage
(cherry picked from commit 392f65fe09)
2023-08-19 00:36:13 +02:00
HolonProduction ac0a4eb168
Suggest class_name in 3.x autocompletion.
(cherry picked from commit 8dae3d71b2)
2023-08-19 00:36:13 +02:00
Hugo Locurcio 85b6cc1af7
Improve documentation related to ubershaders in ProjectSettings
(cherry picked from commit d20305a718)
2023-08-19 00:36:13 +02:00
Ninni Pipping 59547227ab
[3.x] Don't apply scale to autohide theme property
(cherry picked from commit 1c66257568)
2023-08-19 00:36:13 +02:00
Jason Knight 42f9208593
Fix null in android text entry system.
(cherry picked from commit cec8e09948)
2023-08-19 00:36:13 +02:00
Ninni Pipping 1297045a8c
[3.x] Fix `NodePath` subname index range documentation
(cherry picked from commit ff61feaf4e)
2023-08-19 00:36:13 +02:00
Unai Martinez-Corral 698fe9c791
[ci/web] update mymindstorm/setup-emsdk to v12
(cherry picked from commit dcb974700b)
2023-08-19 00:36:12 +02:00
Ninni Pipping 33b377edb5
[3.x] Document lack of iOS support for WebM
(cherry picked from commit 7d48dd7782)
2023-08-19 00:36:12 +02:00
Fredia Huya-Kouadio 75d8d332f2
Bump the target SDK version to 33 (Android 13)
Keep the android gradle plugin to version 7.2.1.

Version 7.3.0 changes the build layout which causes updates to the generated shared libraries to not be picked up.

(cherry picked from commits 2803c471e8
and 837db0b051)
2023-08-19 00:36:12 +02:00
Fredia Huya-Kouadio c8e800f457
Fix directory access when the running app has the `All files access` permission
(cherry picked from commit e2c7d3e6c0)
2023-08-19 00:36:12 +02:00
smix8 d89af40a7a
[3.5+] Fix GridMap free navigation RID error spam
Fixes GridMap free navigation RID error spam.

(cherry picked from commit befdafdbf6)
2023-08-19 00:36:12 +02:00
lawnjelly 2e8e7b8b79
GDScriptParser - don't use index operator on linked list
Index operators are super slow with linked lists. This came up in profiling the parsing, iterating sequentially using iterator is much faster.

(cherry picked from commit ef914dac31)
2023-08-19 00:36:12 +02:00
lawnjelly 891b17d5db
Fix TextEdit color_region_cache bug
Due to a single error, _is_line_in_region was previously iterating over the color highlighting for the entire document repeatedly for each line in the script.

This is now fixed, which should make the editor much faster with large scripts.

(cherry picked from commit 57306bf0e3)
2023-08-19 00:36:12 +02:00
Ansraer acb8899821
fix shadows pass viewport calculation
(cherry picked from commit 0227fcc4cc)
2023-08-19 00:36:12 +02:00
DashCell 8d60beea1b
TileSet: Fix resizing collision shape when vertex is outside the tilesheet
Fixes #34970.

(cherry picked from commit 424bda217c)
2023-08-19 00:36:12 +02:00
Fredia Huya-Kouadio 5aca56bcd4
Implement file provider capabilities
The previously used file sharing api was restricted after Android N causing the engine to crash whenever used on devices running Android N or higher.

(cherry picked from commit b04c9a71f4)
2023-08-19 00:36:11 +02:00
fabriceci 964ebb1028
Test, refactor and fix a bug in Basis.get_axis_angle
Backport of #63428.

Co-authored-by: juanFdS <juan9794@gmail.com>

(cherry picked from commits 8245fd3275
and d1c8c5dd30)
2023-08-19 00:35:55 +02:00
Markus Sauermann c6e0ed298c
Include the follow-viewport-transform into CanvasLayer transform calculations
The follow-viewport-transform was missing from several calculations

3.x version of #59682

(cherry picked from commit 608cbd8296)
2023-08-18 21:20:42 +02:00
Dan Brook 5bfecf1921 Correct URL pointing to tween cheatsheet
The cheatsheet doesn't exist in the same place on `master` so the URL
has been changed to point to the same file in the `3.5` branch of the
`godot-docs` repo.
2023-08-07 18:25:49 +07:00
Rémi Verschelde 338114d471
Bump version to 3.5.3-rc 2023-03-07 09:32:31 +01:00
Rémi Verschelde 170ba337a5
Bump version to 3.5.2-stable 2023-03-06 15:13:41 +01:00
Rémi Verschelde a849e3a3e1
Merge pull request #74491 from akien-mga/3.5-cherrypicks
Cherry-picks for the 3.5 branch (future 3.5.2) - 5th batch
2023-03-06 15:08:43 +01:00
Rémi Verschelde 0240586e91
Update changelog for 3.5.2 2023-03-06 13:32:03 +01:00
smix8 d8a64adf24
Fix NavigationServer free error print
Fixes error print for NavigationServer free when a RID can not be found.

(cherry picked from commit 73dc680fc1)
2023-03-06 13:32:03 +01:00
Chris Weber dfb898094a
increased max touches to 32 for ios
(cherry picked from commit 54bd204377)
2023-03-06 13:32:03 +01:00
Hugo Locurcio 88e39bf5a7
Document using `String.percent_encode()` with `OS.shell_open()`
(cherry picked from commit 1a6343729b)
2023-03-06 13:32:03 +01:00
BZ1234567890 e266ac4e3e
iOS: Implement missing gamepad.buttonOptions, buttonMenu, and buttonHome joy buttons
(cherry picked from commit 0a85e4db71)
2023-03-06 13:32:03 +01:00
lawnjelly c2e9cc4542
BVH - fix lockguards for multithread mode
Due to a lack of variable name, the BVH lock guards lifetimes previously did not cover the whole function call.

(cherry picked from commit 5639be5f4f)
2023-03-06 13:32:02 +01:00
Julien Reichardt dbf82ea121
Fix Standard Gamepad Mapping triggers
(cherry picked from commit 0cec4fcc65)
2023-03-06 13:32:02 +01:00