Commit graph

34033 commits

Author SHA1 Message Date
Rémi Verschelde
5bb3063eec SCons: Refactor Linux linker options with linker=<bfd|gold|lld|mold>
The new option is `linker` and lets the user specify the argument to
the`-fuse_ld=` linker flag directly. The supported options are:

- `default`: No change, typically uses GNU ld (bfd) unless the user or
  distro picked a different default `/usr/bin/ld`.
- `bfd`: GNU ld from binutils
- `gold`: GNU gold from binutils
- `lld`: lld from LLVM
- `mold`: mold, an extremely fast modern linker, not (yet) intended for
  use in production but great for development speed. Provided by distro
  `mold` package or needs to be compiled from source and installed to
  `/usr` otherwise.

Deprecates the `use_lld=yes` option, and make lld actually usable with
GCC too.

Not all the above are compatible or recommend for LTO, we recommend
using GNU ld with GCC LTO, or lld with LLVM ThinLTO.

(cherry picked from commit 534f85add1daec0669a1f18edd2cc456f9a296ef)
2022-07-22 01:03:31 +02:00
kobewi
e71cf7c560 Fix node dragging not working when dock is moved
(cherry picked from commit b42bbca266)
2022-07-22 01:02:16 +02:00
Rémi Verschelde
3cca39b20e
Merge pull request #63294 from winterpixelgames/allow-scroll-container-scroll-to-be-set-instantly 2022-07-22 00:51:50 +02:00
Rémi Verschelde
c8099e9524
Merge pull request #63223 from m4gr3d/fix_slow_copy_3x
[3.x] Address slow copy performance when using the `FileAccessFilesystemJAndroid` implementation
2022-07-22 00:21:59 +02:00
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
Yuri Sizov
842c3a644f Use FlowContainer to handle toolbar overflow more gracefully 2022-07-20 17:22:36 +03: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
lawnjelly
18bb668a2e Fix skeleton 2D stale bounding rect
Adds special logic for handling skeleton bounding rect updates. Previously these were never being updated because the canvas item is never set to "rect_dirty".
2022-07-18 19:47:23 +01: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