Commit Graph

59701 Commits

Author SHA1 Message Date
clayjohn
b5660604e4 Avoid switch statement in glsl files to workaround shader compiler crash on macOS devices 2024-05-01 20:56:53 -07:00
Rémi Verschelde
b9f01dcf87 Merge pull request #91350 from bruvzg/42_ios_privacy
[4.2, iOS export] Add support for privacy manifest configuration.
2024-04-30 16:40:12 +02:00
bruvzg
e9b86b4910 [4.2, iOS export] Add support for privacy manifest configuration. 2024-04-30 10:27:11 +03:00
Rémi Verschelde
d9bcd1bfa1 Merge pull request #91250 from timothyqiu/4.2-format-compat
[4.2] Add support for reading text resource format 4
2024-04-30 08:27:44 +02:00
Haoyu Qiu
4ade4ab92a Add support for reading text resource format 4
Co-Authored-By: Gilles Roudiere <gilles.roudiere@gmail.com>
2024-04-30 09:02:19 +08:00
Rémi Verschelde
190cbcfd7f Merge pull request #91156 from akien-mga/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.3) - 1st batch
2024-04-29 11:25:05 +02:00
Markus Sauermann
79727d4833 Prohibit execution of delayed input events by different means
In some cases it can happen, that the order of input events and
window events is not followed, when input buffering or input accumulation
is active.

The display server order `InputEvent` => window-event gets changed to
window-event => `InputEvent` which becomes problematic in certain
situations.

This PR makes sure, that the order is adhered to by flushing input events
before a window event is sent.
Previously this problem was mitigated by discarding these delayed events.
But this solution was problematic in the setting of android input events.

(cherry picked from commit 945babc619)
2024-04-29 10:23:25 +02:00
Rémi Verschelde
de06aece82 Fix GCC 14 -Wtemplate-id-cdtor warnings
Fixes #91206.

(cherry picked from commit a8ff47b6d6)
2024-04-26 11:44:18 +02:00
A Thousand Ships
e343a110fb [CI] [macOS] Build for both arm64 and x86_64
Creates a universal build, to catch discrepancies on different
architectures

(cherry picked from commit 24ad73b13f)
2024-04-25 14:42:28 +02:00
Ricardo Buring
32262931ca Fix move_and_slide wall slide acceleration (3D)
When travel is high enough, keep the global position resulting from the
move_and_collide call, and set the motion to the remainder from the
move_and_collide call. This ensures travel is taken into account once,
rather than twice.

(cherry picked from commit 80c600d86b)
2024-04-25 13:18:10 +02:00
Rémi Verschelde
8638b5ff32 Sync controller mappings DB with SDL 2 community repo
Synced with mdqinc/SDL_GameControllerDB@5b4efa3a20

(cherry picked from commit 1da02fa7be)
2024-04-25 13:04:50 +02:00
Rémi Verschelde
a4fcc9cbbb miniupnpc: Update to 2.2.7
No change for the files we include.

(cherry picked from commit afe64bb517)
2024-04-25 12:54:40 +02:00
Rémi Verschelde
2d93cb544c Merge pull request #90449 from dsnopek/gdextension-hot-reload-not-classdb-instantiate-4.2
[4.2] Fix GDExtension hot reload for classes not created via `ClassDB::instantiate()`
2024-04-19 16:18:15 +02:00
Rémi Verschelde
c8356fb9d4 Bump version to 4.2.3-rc 2024-04-17 16:05:28 +02:00
Rémi Verschelde
15073afe38 Bump version to 4.2.2-stable godot-4.2.2-stable 2024-04-16 13:48:19 +02:00
Rémi Verschelde
7fbfe1dbe7 Update AUTHORS and DONORS list
(cherry picked from commit 020bd219ed)
2024-04-16 13:47:57 +02:00
Rémi Verschelde
f23a48e663 Update AUTHORS and DONORS list
(cherry picked from commit 9272f7b53d)
2024-04-16 13:47:55 +02:00
Yorick de Wid
e5ea748dcf FIX: Return if TCP is in STATUS_CONNECTED
If the `StreamPeerTCP` is polled and the TCP connection is `STATUS_CONNECTED` it should return after polling netsocket. Without `return` poll keeps calling `_sock->connect_to_host` and `connect()`.

(cherry picked from commit 61a2f5c534)
2024-04-16 13:47:32 +02:00
Rémi Verschelde
895f1877fb Merge pull request #90738 from akien-mga/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.2) - 5th batch
2024-04-16 10:17:51 +02:00
Rémi Verschelde
e57244edc6 Update changelog for 4.2.2 2024-04-16 09:29:17 +02:00
Mikael Hermansson
219517f6b8 Add --import command-line flag
(cherry picked from commit 9d01793dff)
2024-04-16 09:29:16 +02:00
A Thousand Ships
0f6403f719 Fix missing instance type in dummy renderer
(cherry picked from commit 406d7e6d37)
2024-04-16 09:08:55 +02:00
A Thousand Ships
a7099ce880 Free dummy renderer objects
These leaked during tests etc.

(cherry picked from commit 666daf47c3)
2024-04-16 09:08:39 +02:00
clayjohn
a7c4d3bc08 Add basic multimesh data needed for headless export to the Dummy rendering server
(cherry picked from commit ed2b3d358d)
2024-04-16 09:07:56 +02:00
jsjtxietian
7eb90a35d4 Fail early if shader mode is invalid in dummy renderer
(cherry picked from commit a382e9539b)
2024-04-16 09:03:04 +02:00
jsjtxietian
79b7dc7f94 Change shader compiler default setting to avoid doctool error
(cherry picked from commit 0ed341cd1e)
2024-04-16 08:57:14 +02:00
Jakub Marcowski
c1547d1337 Fully initialize all members of structs IdentifierActions, GeneratedCode and DefaultIdentifierActions
(cherry picked from commit b38ac30fe0)
2024-04-16 08:57:05 +02:00
clayjohn
4cffca7fbc Clear RIDs of weight buffers when freeing to avoid double free
(cherry picked from commit bafbde9f4b)
2024-04-14 18:05:31 +02:00
David Snopek
be64b0dc37 Fix GDExtension hot reload for classes not created via ClassDB::instantiate() 2024-04-09 13:54:08 -05:00
Rémi Verschelde
16a8334b8d Update changelog for 4.2.2 2024-04-09 13:14:44 +02:00
iltenahmet
a4b2915f02 Clarify description for get_unix_time_from_system on UTC
(cherry picked from commit 8bfc257e63)
2024-04-09 13:12:54 +02:00
Riteo
f9eabb81cb SCU: disable verbose output
It's meant to be used as a debug tool but it has been forgotten on.

(cherry picked from commit 1debb6fe3e)
2024-04-09 13:07:18 +02:00
Zae
0b734a6371 C#: Fix return type hint for methods.
(cherry picked from commit 51c54b03d1)
2024-04-09 13:07:18 +02:00
Rémi Verschelde
63f45cd75d Revert "Push p_original_path into load_paths_stack and sub_tasks instead of p_path."
This reverts commit 5cc432e7a1.
2024-04-09 13:07:15 +02:00
Rémi Verschelde
e423ace94e Merge pull request #90385 from akien-mga/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.2) - 4th batch
2024-04-08 23:50:54 +02:00
Rémi Verschelde
60eb94bae4 Update changelog for 4.2.2
Full dump from interactive changelog, just merged related entries for thirdparty.
Not sure why so much was missing in the previous sync.
2024-04-08 23:08:50 +02:00
Rémi Verschelde
cf725c4b91 Sync controller mappings DB with SDL 2 community repo
Synced with mdqinc/SDL_GameControllerDB@4c9b8dace8

(cherry picked from commit 6772047e50)
2024-04-08 23:07:16 +02:00
aaronp64
6710381d9a Fix ZIPReader.get_files() error on empty zip files
Added check for empty zip file before trying to look at first file

Fixes #90388

(cherry picked from commit 2dad2fbce2)
2024-04-08 23:07:16 +02:00
kleonc
3c1be8d067 Fix RenderingServer.instance_set_transform docs saying it's not global
(cherry picked from commit 01b029f0a5)
2024-04-08 22:02:28 +02:00
melquiadess
0eca87df51 Add POST_NOTIFICATIONS permission to the list of permissions available in the Export dialog
(cherry picked from commit 739190ca2b)
2024-04-08 22:00:02 +02:00
Rémi Verschelde
55a363dd19 thorvg: Update to 0.12.10
(cherry picked from commit 8de1cf566d)
2024-04-08 15:48:31 +02:00
Jakub Marcowski
97e429a9ea thorvg: Update to 0.12.9
(cherry picked from commit 6afea9c30d)
2024-04-08 15:48:31 +02:00
Rémi Verschelde
1c915dabb6 mbedtls: Update to upstream version 2.28.8
(cherry picked from commit 915ca4dd45)
2024-04-08 15:48:31 +02:00
Rémi Verschelde
ed95ec0f82 enet: Sync with upstream commit c44b7d0
c44b7d0f7f
(cherry picked from commit 360a1a4568)
2024-04-08 15:48:31 +02:00
bruvzg
fea0f98220 [iOS Export] Fix adding static libs to the Xcode project.
(cherry picked from commit 30babfc789)
2024-04-08 15:48:31 +02:00
sambler
767649757c Make sysctl calls on FreeBSD
The OS module get_unique_id and get_processor_name rely
on linux files which don't exist on a standard FreeBSD install,
make sysctl calls to get the required data.

(cherry picked from commit 97e95e1750)
2024-04-08 15:48:31 +02:00
Fabio Alessandrelli
5958c8fa22 [MP] Fix dead code doing unnecessary allocation
Probably a leftover from some old refactor.

(cherry picked from commit e64aa4d25f)
2024-04-08 15:48:31 +02:00
Haoyu Qiu
7d1c5125a0 Fix node config warning not updating for Multiplayer{Spawner,Synchronizer}
(cherry picked from commit 6feb43200b)
2024-04-08 15:48:31 +02:00
Danil Alexeev
1c5984c304 Update typed arrays documentation
(cherry picked from commit b33c3fa092)
2024-04-08 15:48:31 +02:00
Micky
d5340e1abd Add documentation to PhysicsServer2DExtension
(cherry picked from commit b7eee9de65)
2024-04-08 15:48:31 +02:00