Commit Graph

34110 Commits

Author SHA1 Message Date
Jason Knight b73d2980b7 Call update_scrollbars() in sort_children() so the max is set properly so you can set scroll_container.scroll_vertical instantly after adding children to a scroll container. 2022-07-21 12:25:50 -06:00
Fredia Huya-Kouadio aab26ad7d2 Address slow copy performance when using the `FileAccessFilesystemJAndroid` implementation.
Read/write ops for this implementation are done through the java layer via jni, and so for good performance, it's key to avoid numerous repeated small read/write ops due the jni overhead.

The alternative is to allocate a (conversatively-sized) large buffer to reduce the number of read/write ops over the jni boundary.
2022-07-21 08:21:12 -07:00
Rémi Verschelde b33d3d6974
Merge pull request #63284 from bruvzg/macos_ios_alias 2022-07-21 15:21:19 +02:00
bruvzg 6efae6f05b
Add `ios` and `macos` platform name aliases. 2022-07-21 15:32:58 +03:00
Rémi Verschelde 4ef99b409d
Merge pull request #63163 from dsnopek/multiplayer-peer-custom-3.x 2022-07-20 22:41:15 +02:00
Rémi Verschelde 8c9485b6a8
Merge pull request #63243 from timothyqiu/print-debug-doc
[3.x] Fix documentation for `print_debug`
2022-07-20 22:30:11 +02:00
Rémi Verschelde f0fabec358
Merge pull request #63234 from kleonc/canvas-item-remove-from-canvas-group-3x
[3.x] Fix `CanvasItem` not exiting its canvas group on canvas exit
2022-07-20 21:04:22 +02:00
Haoyu Qiu a3b282c6cc Fix doc for print_debug 2022-07-20 21:17:56 +08:00
kleonc 558b96f1b1 Fix `CanvasItem` not exiting its canvas group on canvas exit 2022-07-20 12:49:38 +02:00
Rémi Verschelde e830d9d7cc
Merge pull request #63204 from akien-mga/3.x-bullet-unused-inverse-dynamics 2022-07-19 18:32:42 +02:00
Rémi Verschelde 8dc32619f2 Bullet: Don't include unused BulletInverseDynamics
Follow-up to #63143.
2022-07-19 17:57:28 +02:00
fabriceci 43e9816fb1 Fix the calculation of the angular velocity when the rotation speed is not high.
(cherry picked from commit db7c91e0ad)
2022-07-19 17:16:21 +02:00
Pedro J. Estébanez 4e1f30390d Use the right memory ordering in SafeNumeric operations
(cherry picked from commit 02a584d8e6)
2022-07-19 17:10:26 +02:00
David Snopek 8ad5889c1a Add NetworkedMultiplayerCustom so high-level multiplayer backends can be added from GDScript 2022-07-19 09:16:41 -05:00
Rémi Verschelde 59629fdf20
Merge pull request #49255 from kleonc/sprite_frames_editor-anim-search-box 2022-07-19 12:40:05 +02:00
Rémi Verschelde da72a2e837
Merge pull request #63192 from bruvzg/fix_fs_set_screen 2022-07-19 12:34:02 +02:00
Rémi Verschelde d4e261b2d1
Merge pull request #63167 from kleonc/tilemap-interrupted-erasing-crash-fix 2022-07-19 12:09:48 +02:00
bruvzg 108dcf3bf0
Improve OS.set_current_screen
Fix moving fullscreen windows on macOS and Windows
Fix window position on Linux/X11
2022-07-19 12:23:52 +03:00
Rémi Verschelde bef1e01187
Merge pull request #63165 from Calinou/omnilight-cubemap-shadows-support
Document support limitations for OmniLight cubemap shadows in GLES2
2022-07-18 22:38:07 +02:00
kleonc 66551a94be `TileMapEditor` Fix interrupted erasing not being properly finished 2022-07-18 22:29:50 +02:00
Hugo Locurcio b03ceaba2f
Document support limitations for OmniLight cubemap shadows in GLES2 2022-07-18 22:18:56 +02:00
Rémi Verschelde 51e2c1990a
Merge pull request #63135 from aaronfranke/3.x-packing-pools 2022-07-18 21:33:12 +02:00
Aaron Franke f60cc50667
[3.x] Add forwards-compatible aliases for pool/packed arrays 2022-07-18 12:37:15 -05:00
Fabio Alessandrelli c55e8dd516 Bump mbedtls to 2.18.1 (headers).
(cherry picked from commit baa261cdc8)
2022-07-18 18:55:12 +02:00
Rémi Verschelde 1f79b9dad5 Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@880abd09c9

(cherry picked from commit b70e4fc0f3)
2022-07-18 16:05:43 +02:00
kleonc 728a725b7b SpriteFramesEditor Add animation searchbox 2022-07-18 15:47:32 +02:00
Fabio Alessandrelli df94010dec 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:38:40 +02:00
Rémi Verschelde 3f6dd33526
Merge pull request #63143 from akien-mga/3.x-bullet-remove-bullet3-clew 2022-07-18 14:06:16 +02:00
Rémi Verschelde fe1e84ec6c Bullet: Remove unused Bullet3 and clew libraries 2022-07-18 13:15:21 +02:00
Rémi Verschelde e1e22be3bc SCons: Default `num_jobs` to max CPUs minus 1 if not specified
This doesn't change the behavior when `--jobs`/`-j` is specified as a
command-line argument or in `SCONSFLAGS`.

The SCons hack used to know if `num_jobs` was set by the user is derived
from the MongoDB setup.

We use `os.cpu_count()` for portability (available since Python 3.4).

With 4 CPUs or less, we use the max. With more than 4 we use max - 1 to
preserve some bandwidth for the user's other programs.

(cherry picked from commit ea21122575)
2022-07-18 10:25:42 +02:00
Rémi Verschelde 7379f2c76a i18n: Sync classref translations with Weblate 2022-07-18 10:21:37 +02:00
Rémi Verschelde 556e090bcc i18n: Sync editor translations with Weblate 2022-07-18 10:14:53 +02:00
Rémi Verschelde 7e9f55c30d
Merge pull request #63136 from akien-mga/3.x-gdnative-string-num-uint64 2022-07-18 10:10:32 +02:00
Rémi Verschelde 4455b6c4a8 GDNative: Expose `String::num_uint64`, and use bool in `capitalized` versions
Exposed in Core API 1.3 added in 3.5.
2022-07-18 09:47:30 +02:00
Rémi Verschelde 33b5709d53
Merge pull request #61601 from Haydoggo/path-follow-fix-3.x 2022-07-18 09:36:22 +02:00
Rémi Verschelde 5aa22a21be
Merge pull request #63058 from AaronRecord/backport-global-position-rotation 2022-07-18 09:33:23 +02:00
Rémi Verschelde 090d9f6d25
Merge pull request #63084 from madmiraal/fix-56336-3.x 2022-07-18 09:31:58 +02:00
Rémi Verschelde c7d143dad2
Merge pull request #62909 from minosvasilias/gles3-s3tc 2022-07-18 09:21:49 +02:00
Rémi Verschelde e4ab5fdb6a
Merge pull request #62862 from ChronicallySerious/fix-broken-commit-list-refresh 2022-07-18 09:20:26 +02:00
Rémi Verschelde 1995e1fb8d
Merge pull request #62850 from Calinou/doc-httprequest-timeout-3.x 2022-07-18 09:19:38 +02:00
Rémi Verschelde a3f65ef928
Merge pull request #63105 from Chaosus/vs_fix_uniformref_3.x 2022-07-18 09:15:21 +02:00
Rémi Verschelde 99a923ce9e
Merge pull request #63116 from kdiduk/gdnative-dictionary-merge
[GDNative] Expose `Dictionary::merge()` over to GDNative CORE API v1.3
2022-07-17 19:37:34 +02:00
Kirill Diduk b5483a6aad [GDNative] Expose `Dictionary::merge()` over to GDNative CORE API v1.3 2022-07-17 19:12:51 +02:00
Rémi Verschelde 06a12c03a4
Merge pull request #63104 from Bromeon/3.x 2022-07-17 17:19:34 +02:00
Yuri Rubinsky 229bfc8f2d Fix invalid code generation when using `VisualShaderNodeUniformRef` 2022-07-17 12:41:24 +03:00
Jan Haller e69a0394d4 GDNative: fix StringName equal and less operators 2022-07-17 11:17:35 +02:00
Marcel Admiraal 162cb5748a Update camera position when updating camera limit 2022-07-17 09:02:34 +01:00
Marcel Admiraal fb4e1d2d02 Set initial SceneTree processes times to 0.0 2022-07-17 09:02:20 +01:00
Rémi Verschelde e8e040a099
Merge pull request #63073 from kdiduk/gdnative-string-join
[3.x][GDNative] Expose `String::join()` over to GDNative Core API v1.3
2022-07-16 17:19:51 +02:00
Kirill Diduk 910c67b268 [GDNative] Expose `String::join()` to GDNative Core API v1.3 2022-07-16 16:31:32 +02:00