Commit Graph

54040 Commits

Author SHA1 Message Date
Fabio Alessandrelli
eeac6f8c7f [TLS] Fix crashes trying to use TLS when not available.
If no StreamPeerTLS implementation is available, HTTPClient and
WebSocketPeer will now correctly refuse to connect using TLS returning
ERR_UNAVAILABLE.

Similarly, ENetConnection will refuse to setup DTLS when PacketPeerDTLS
is not available.
2023-05-12 20:08:10 +02:00
Rémi Verschelde
20ed51a912
Merge pull request #72704 from myaaaaaaaaa/single-main-thread
Partial fixes for `threading/worker_pool/max_threads` = 0
2023-05-12 15:09:50 +02:00
Rémi Verschelde
8dd48a98e2
Merge pull request #76999 from RandomShaper/fix_wtp_exit
`WorkerThreadPool`: Handle exit signal in the tentative scheduling done during waits
2023-05-12 14:10:03 +02:00
Rémi Verschelde
e0bbb83e7c
Merge pull request #76961 from akien-mga/linux-joypad-skip-udev-if-sandboxed
Linux: Don't use udev for joypad hotloading when running in a sandbox
2023-05-12 14:09:39 +02:00
Rémi Verschelde
373f2a8f8b
Merge pull request #76541 from KoBeWi/WAZZUP
Add mono audio support to WASAPI
2023-05-12 14:09:10 +02:00
Rémi Verschelde
64816ff838
SCons: Fixup enabling MSVC warning C4458 on /W3
Follow-up to #76946.
2023-05-12 13:55:34 +02:00
Pedro J. Estébanez
123ba9d464 WorkerThreadPool: Handle exit signal in the tentative scheduling done during waits 2023-05-12 13:31:04 +02:00
myaaaaaaaaa
fcd8ce52e9 Partial fixes for threading/worker_pool/max_threads = 0 2023-05-12 07:27:35 -04:00
Rémi Verschelde
65778525bf
Merge pull request #76967 from martinboue/export-mode-subheading
Fix include text when excluding resources to export
2023-05-12 12:46:50 +02:00
Rémi Verschelde
c90654b565
Merge pull request #76530 from nongvantinh/fix-75982
Fixes Node arrays appear as Object arrays in the inspector
2023-05-12 12:46:23 +02:00
Rémi Verschelde
a1a102299a
Merge pull request #76952 from akien-mga/certs-2023-03
certs: Sync with Mozilla bundle as of Mar 23, 2023
2023-05-12 11:41:32 +02:00
Rémi Verschelde
bf86b7b2ec
Merge pull request #76951 from akien-mga/basisu-1.16.4
basis_universal: Update to 1.16.4
2023-05-12 11:41:08 +02:00
Rémi Verschelde
ce4f9ddf9c
Merge pull request #76949 from akien-mga/astcenc-4.4.0
astcenc: Update to 4.4.0
2023-05-12 11:40:45 +02:00
Rémi Verschelde
e1bd14b4c7
Merge pull request #76948 from akien-mga/doctest-2.4.11
doctest: Update to 2.4.11
2023-05-12 11:40:22 +02:00
Rémi Verschelde
788cb74cc6
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.
2023-05-12 11:30:16 +02:00
Rémi Verschelde
f7374e2db7
Merge pull request #76897 from aaronfranke/debug-stack
Rename the Debugger's stack debug section
2023-05-12 11:17:55 +02:00
Rémi Verschelde
258fabdbb3
Merge pull request #76836 from Faless/tls/system_certs
[TLS] Add support for platform-specific CA bundles.
2023-05-12 11:17:31 +02:00
Rémi Verschelde
e8bc100c81
Merge pull request #74054 from Rindbee/clean_up_owner
Avoid crash when adjusting a node tree that is not in the tree
2023-05-12 11:17:03 +02:00
Rémi Verschelde
ae4d469ca2
Merge pull request #76980 from m4gr3d/fix_input_anr_main
Fix input ANR in the Godot Android editor
2023-05-12 10:07:19 +02:00
Rémi Verschelde
645fd5ed0c
Merge pull request #76979 from MewPurPur/unify-audio-bus-textures
Remove AudioBusEmpty.svg, use ProgressBar tint instead
2023-05-12 10:06:55 +02:00
Rémi Verschelde
8f17f26233
Merge pull request #76978 from raulsntos/property-hint-compat
Reorder `PropertyHint` enum to avoid breaking compat
2023-05-12 10:06:32 +02:00
Rémi Verschelde
1c07717d3e
Merge pull request #76974 from dsnopek/linuxbsd-feature-tags
Fix 'linux' and specific BSD feature tags
2023-05-12 10:06:08 +02:00
Rémi Verschelde
e4f81fb79e
Merge pull request #76964 from aaronfranke/addon-sort
Sort the list of addons before saving them
2023-05-12 10:05:44 +02:00
Rémi Verschelde
5ac6ac4e89
Merge pull request #76960 from capnm/update_thorvg_0.9.0
Update ThorVG to v0.9.0
2023-05-12 10:05:21 +02:00
Rémi Verschelde
d0305e5c62
Merge pull request #76959 from stolk/initlight
Initialize light intensity parameter before use.
2023-05-12 10:04:57 +02:00
Rémi Verschelde
03053eaf19
Merge pull request #76957 from Riteo/dbus-check
Check DBus loading status before attempting to detect its version
2023-05-12 10:04:33 +02:00
Rémi Verschelde
cc48827e4a
Merge pull request #76946 from AThousandShips/shadow_warning
Enable shadow warnings and fix raised errors
2023-05-12 10:04:09 +02:00
Rémi Verschelde
186aa649d2
Merge pull request #76945 from RandomShaper/fix_wtp
Fix multiple issues in `WorkerThreadPool`
2023-05-12 10:03:45 +02:00
Rémi Verschelde
863bcd3e2b
Merge pull request #76936 from clayjohn/revert-hsl
Revert "Add API for HSL conversion"
2023-05-12 10:03:21 +02:00
Rémi Verschelde
08d9394494
Merge pull request #76927 from stolk/fixnodeeditor
Add missing initializations for Node3DEditor.
2023-05-12 10:02:58 +02:00
Rémi Verschelde
e9f336767e
Merge pull request #76923 from warriormaster12/query-timestamp
Vulkan: fixed a query pool validation error
2023-05-12 10:02:34 +02:00
Rémi Verschelde
07764a4a11
Merge pull request #76852 from AThousandShips/item_list_rect
Add `get_item_rect` function to `ItemList`
2023-05-12 10:02:10 +02:00
Rémi Verschelde
942cb47eee
Merge pull request #75601 from smix8/edge_connections_optional_4.x
Make navigation mesh edge connections optional
2023-05-12 10:01:46 +02:00
Fabio Alessandrelli
6fd9982358 [TLS] Add support for platform-specific CA bundles.
Adds a new OS::get_system_ca_certs method which can be implemented by
platforms to retrieve the list of trusted CA certificates using OS
specific APIs.

The function should return the certificates in PEM format, and is
currently implemented for Windows/macOS/LinuxBSD(*)/Android.

mbedTLS will fall back to bundled certificates when the OS returns no
certificates.

(*) LinuxBSD does not have a standardized certificates store location.
    The current implementation will test for common locations and may
    return an empty string on some distributions (falling back to the
    bundled certificates).
2023-05-12 09:58:23 +02:00
Aaron Franke
74361b3d50
Rename the Debugger's stack debug section to Stack Trace 2023-05-11 21:22:24 -05:00
Fredia Huya-Kouadio
367061cf9c Follow up to https://github.com/godotengine/godot/pull/76399 to fix input ANR in the Godot Android editor 2023-05-11 19:06:03 -07:00
VolTer
7ee5cd26ef Remove AudioBusEmpty.svg, use ProgressBar tint instead 2023-05-12 01:55:52 +02:00
Raul Santos
a34207b812
Reorder PropertyHint enum to avoid breaking compat
Also syncs the Core enum with the C# enum for the source generators.
2023-05-12 01:48:07 +02:00
Martin Capitanio
5db751832d Update ThorVG to v0.9.0
https://github.com/thorvg/thorvg/releases/tag/v0.9.0
Fixes #72478
2023-05-12 00:34:40 +02:00
David Snopek
87fcee2d7f Fix 'linux' and specific BSD feature tags 2023-05-11 16:58:52 -05:00
Martin Boué
886e73683d Fix include text when excluding resources to export 2023-05-11 21:29:08 +02:00
Aaron Franke
b4129680fb
Sort the list of addons before saving them 2023-05-11 13:39:26 -05:00
Riteo
a7542070ae Check DBus loading status before attempting to detect its version
Fixes two related segfaults caused by running the DBus version check
unconditionally and potentially calling null function pointers.

This was clearly an oversight as all the other wrappers have proper
loading status checks.
2023-05-11 19:29:10 +02:00
Ninni Pipping
e5fdce7ca3 Add get_item_rect function to ItemList 2023-05-11 19:01:54 +02:00
Bram Stolk
14494e08d1 Initialize light intensity parameter before use.
Unlike renderer_rd, the gles3 light storage fails to initialize
the intensity of the light.
To avoid using garbage memory, possibly NaN, we use the same
default value that renderer_rd uses.
Fixes #76956
2023-05-11 09:46:46 -07:00
smix8
f986b52b3c Make navigation mesh edge connections optional
Makes navigation mesh edge connections optional.
2023-05-11 18:46:34 +02:00
Bram Stolk
4bc513edbc Add missing initializations for Node3DEditor.
Do not try to format fields with garbage values in _snap_update()
Initialize grid_enable[] before use.
Initialize previewing_camera before use.
These are all cases found live, with valgrind.
Fixes #76925
2023-05-11 08:16:04 -07:00
warriormaster12
10797d58dd fixed a query pool validation error 2023-05-11 17:17:23 +03:00
Pedro J. Estébanez
9077bb9232 Fix multiple issues in WorkerThreadPool
- Fix project settings being ignored.
- Made usages of `native_thread_allocator` thread-safe.
- Remove redundant thread-safety from `low_priority_threads_used`, `exit_threads`.
- Fix deadlock due to unintended extra lock of `task_mutex`.
2023-05-11 16:10:09 +02:00
Ninni Pipping
71ee65dc57 Enable shadow warnings and fix raised errors 2023-05-11 16:00:59 +02:00