Commit graph

33925 commits

Author SHA1 Message Date
Rémi Verschelde
270f5a3bd1
Merge pull request #63384 from lawnjelly/portals_room_hint_invalid
Portals - Fix invalid room hint when reconverting room graph
2022-07-24 20:10:25 +02:00
Rémi Verschelde
be0f41d17e
Merge pull request #63387 from lawnjelly/portals_hide_convert_message
Portals - Allow more logging to be disabled
2022-07-24 20:07:48 +02:00
lawnjelly
d4dc7c4b32 Portals - Allow more logging to be disabled
Some logging messages were still being issued when portals/debug/logging was false. This could be annoying in games that stream in parts of levels and repeatedly call `rooms_convert()`.

This PR allows all but essential logging to be disabled.
2022-07-24 13:44:59 +01:00
lawnjelly
88b7d928c5 Portals - Fix invalid room hint when reconverting room graph
In situations where rooms are converted multiple times, the previous room hint ID can reference a room number that is out of range of the new number of rooms. This fixes the bug by checking the room hint ID is within range.
2022-07-24 11:46:38 +01:00
Rémi Verschelde
68b8dcdf50
Merge pull request #63336 from Calinou/visualserver-expose-viewport-32-bpc-depth 2022-07-23 10:07:58 +02:00
Hugo Locurcio
ed4976d1d5
Expose VisualServer.viewport_set_use_32_bpc_depth() to the scripting API
Previously, only the Viewport methods/properties were exposed to the
scripting API.
2022-07-23 03:52:38 +02:00
Rémi Verschelde
537c0705f7
Merge pull request #63320 from dallonf/redundant-gdscript-errors-3.x 2022-07-22 23:02:48 +02:00
Dallon Feldner
a99cc8bc29 Don't print redundant errors when parsing GDScript 2022-07-22 11:02:29 -05:00
Rémi Verschelde
364071c2c4
Merge pull request #63283 from akien-mga/3.x-scons-linux-refactor-linker 2022-07-22 11:40:29 +02:00
Rémi Verschelde
38b95cc2fd
Merge pull request #63304 from hansemro/x11-eraser-case-insensitive-3.x
[3.x, X11] Do case-insensitive search for pen inversion detection
2022-07-22 09:17:37 +02:00
Hansem Ro
a36902f2c1 [3.x, X11] Do case-insensitive search for pen inversion detection 2022-07-21 19:25:39 -07:00
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
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