Commit graph

35579 commits

Author SHA1 Message Date
Rémi Verschelde
33bd19e123
Sync controller mappings DB with SDL 2 community repo
Synced with mdqinc/SDL_GameControllerDB@4c9b8dace8

(cherry picked from commit 6772047e50)
2024-04-25 16:24:13 +02:00
Rémi Verschelde
48f9059f12
enet: Sync with upstream commit c44b7d0
c44b7d0f7f
(cherry picked from commit 360a1a4568)
2024-04-25 16:24:13 +02:00
Rémi Verschelde
9a2e88aa01
certs: Sync with Mozilla bundle as of Mar 11, 2024
c5a419971b
(cherry picked from commit fd61a42e04)
2024-04-25 16:24:13 +02:00
Rémi Verschelde
c1615e766d
mbedtls: Update to upstream version 2.28.8
(cherry picked from commit 915ca4dd45)
2024-04-25 16:24:13 +02:00
Jakub Marcowski
c37bbbfbdc
libpng: Update to 1.6.43
(cherry picked from commit 41268d7faa)
2024-04-25 16:24:13 +02:00
Jakub Mateusz Marcowski
c0a9a34a2d
tinyexr: Update to 1.0.8
(cherry picked from commit ab14dec952)
2024-04-25 16:24:13 +02:00
Rémi Verschelde
f59c244a4a
miniupnpc: Update to 2.2.7
No change for the files we include.

(cherry picked from commit afe64bb517)
2024-04-25 16:24:13 +02:00
Jakub Marcowski
873d7ab52f
miniupnpc: Update to version 2.2.6
(cherry picked from commit 72b80b3cdf)
2024-04-25 16:24:13 +02:00
Rémi Verschelde
06ddcbbe4b
Merge pull request #91159 from akien-mga/3.x-mono-replace-distutils-shutils
[3.x] Mono: Replace distutils function with shutil equivalent
2024-04-25 16:23:33 +02:00
Rémi Verschelde
ee61ad46e7
Mono: Replace distutils function with shutil equivalent
Fixes #91154.
2024-04-25 16:04:42 +02:00
Rémi Verschelde
49e533a765
Merge pull request #88871 from lawnjelly/fix_tilemap_undo2
[3.x] Tilemap editor - prevent changing tool when mouse buttons pressed
2024-04-25 13:28:27 +02:00
Rémi Verschelde
8304a7d4cb
Merge pull request #91003 from NicolasPetton/3.x
[3.x] Allow LSP to process multiple messages per poll
2024-04-25 12:51:09 +02:00
Rémi Verschelde
eda5b021fa
Merge pull request #88886 from Ovnuniarchos/LocaleFallbackFixup
[3.x] Fix locale fallback selector not appearing in project options.
2024-04-25 12:50:24 +02:00
Rémi Verschelde
d7e2a6f525
Merge pull request #88186 from Cammymoop/backport-shape-index-docfix
[3.x] Backport code snippet correct usage of shape index in class docs
2024-04-25 12:50:21 +02:00
Ovnuniarchos
0f638507a6
FIXED: Locale fallback selector doesn't appear in project options. 2024-04-25 12:21:59 +02:00
Mikael Hermansson
38b646ca4a
Allow LSP to process multiple messages per poll
(cherry-picked from commit e2485044a1)
2024-04-25 11:47:51 +02:00
Rémi Verschelde
3f1caf6640
Merge pull request #91001 from lawnjelly/fix_editor_view_enum
[3.x] Fix `spatial_editor_plugin` enum
2024-04-22 11:35:01 +02:00
lawnjelly
6d036c5a3a Fix spatial_editor_plugin enum
* The `view_mesh_stats` feature introduced a new enum value `VIEW_SLECTED_INFO` within the unnamed `VIEW` enum.
* This turns out to be saved somehow, which means the view settings can get out of sync when reloading the project in an older version of the editor.
* The solution is simply to move the new value to the end of the enum so there are no conflicts.
2024-04-22 07:08:55 +01:00
lawnjelly
561a8eaf6e
Merge pull request #88207 from lawnjelly/view_mesh_stats
[3.x] Editor 3D view mesh stats
2024-04-21 19:31:57 +01:00
lawnjelly
36474d6142
Merge pull request #90928 from timothyqiu/toggle-tab-icon-3.x
[3.x] Fix TabContainer not updating content rect after toggling tab icon
2024-04-21 19:29:38 +01:00
lawnjelly
bdf0f78e07 Editor 3D view mesh stats
Similar to information window, add a small optional window to display face count and other stats.
2024-04-21 08:20:18 +01:00
lawnjelly
a73715cf55
Merge pull request #58577 from pfertyk/issue_58543_audio_not_paused
[3.x] Fix AudioStreamPlayer not paused on pause mode change
2024-04-20 09:18:46 +01:00
Haoyu Qiu
30dead8a5e Fix TabContainer not updating content rect after toggling tab icon 2024-04-20 16:12:45 +08:00
lawnjelly
9401e18568
Merge pull request #90330 from timothyqiu/gizmo-toggle-3.x
[3.x] Add option to toggle visibility of position gizmos in 2D editor
2024-04-20 08:52:51 +01:00
lawnjelly
fae70792a0
Merge pull request #82248 from lawnjelly/child_order_changed
[3.x] Deprecate `NOTIFICATION_MOVED_IN_PARENT`
2024-04-20 08:15:40 +01:00
lawnjelly
d56d1ff4d2 Deprecate NOTIFICATION_MOVED_IN_PARENT
* NOTIFICATION_MOVED_IN_PARENT makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILD_ORDER_CHANGED (and children_changed signal).
* Most of the previous tasks carried out by NOTIFICATION_MOVED_IN_PARENT are now done not more than a single time per frame.

This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
2024-04-20 07:52:05 +01:00
Rémi Verschelde
1869243644
Merge pull request #88807 from lawnjelly/portals_fix_enter_tree_order
[3.x] Portals - defer setting active in `VisualServer` until enter tree
2024-04-19 10:24:37 +02:00
lawnjelly
c4296edcc5
Merge pull request #53489 from aaronfranke/3.x-ci-minimal
[3.x] Add option `modules_enabled_by_default` and minimal CI build
2024-04-19 09:19:07 +01:00
totlmstr
cae1844c5c
[3.x] Add option modules_enabled_by_default and minimal CI build
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: aaronfranke <arnfranke@yahoo.com>
2024-04-18 15:54:54 -07:00
lawnjelly
ea68c2bfab
Merge pull request #88946 from lawnjelly/fix_physics_on_floor_body
[3.x] Fix physics `on_floor_body` crash
2024-04-16 15:02:00 +01:00
lawnjelly
db3fe5e5c3
Merge pull request #90669 from timothyqiu/owner-id-3.x
[3.x] Store `ObjectID` instead of pointer for KinematicCollision owner
2024-04-16 13:49:58 +01:00
lawnjelly
5f7e65ef05
Merge pull request #90670 from timothyqiu/scene-tree-return
[3.x] Fix SceneTree not respecting virtual process methods
2024-04-16 13:22:43 +01:00
lawnjelly
d63c33fa78
Merge pull request #90068 from timothyqiu/ok-i-know-3.x
[3.x] Don't error multiple times when trying to load missing default bus layout
2024-04-16 13:12:21 +01:00
Haoyu Qiu
4551bd9386 Add option to toggle visibility of position gizmos in 2D editor
Co-authored-by: J. N. Witch <127793256+J-N-Witch@users.noreply.github.com>
2024-04-16 20:10:41 +08:00
Haoyu Qiu
33043c63d5 Fix SceneTree not respecting virtual process methods
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-04-16 18:49:02 +08:00
Haoyu Qiu
43862fbf44 Store ObjectID instead of pointer for KinematicCollision owner 2024-04-15 12:32:17 +08:00
lawnjelly
a885e8322d
Merge pull request #90484 from timothyqiu/zero-approx
[3.x] Add `is_zero_approx` methods to `Vector{2,3}`
2024-04-11 08:10:17 +01:00
Haoyu Qiu
ed952f82bd Add is_zero_approx methods to Vector{2,3} 2024-04-10 19:02:42 +08:00
lawnjelly
2b97d143a2
Merge pull request #62574 from kdiduk/50971-duplicate-keys-in-dictionary-literal
[3.x] Check duplicate keys in dictionary literals: enums and const variables
2024-04-09 08:34:08 +01:00
lawnjelly
2dcd4141b8
Merge pull request #90417 from lawnjelly/tighter_light_cull_colinear_fix3
[3.x] Tighter shadow culling - fix light colinear to frustum edge
2024-04-09 08:22:30 +01:00
lawnjelly
46a04d160e Tighter shadow culling - fix light colinear to frustum edge
In rare situations if a light is placed near colinear to a frustum edge, the extra culling plane derived can have an inaccurate normal due to floating point error.
This PR detects colinear triangles, and prevents adding a culling plane in this situation.
2024-04-09 07:25:35 +01:00
lawnjelly
f7e9369665
Merge pull request #90381 from timothyqiu/node-ready-3.x
[3.x] Add `Node.is_node_ready()`
2024-04-08 15:39:27 +01:00
Rémi Verschelde
ab2bdd8752
Merge pull request #90252 from akien-mga/3.x-nanosvg-2023-12
[3.x] nanosvg: Sync with upstream 93ce879
2024-04-08 15:01:08 +02:00
Haoyu Qiu
fe65682937 Add Node.is_node_ready 2024-04-08 17:44:23 +08:00
Paweł Fertyk
90cf873979 Fix AudioStreamPlayer not paused on pause mode change
Fixes #58543.
2024-04-05 14:20:44 +02:00
Rémi Verschelde
abee48d063
nanosvg: Sync with upstream 93ce879
93ce879dc4
2024-04-05 11:19:09 +02:00
lawnjelly
1a9b5b7c99
Merge pull request #88345 from SysError99/3.x-get_or_add
[3.x] Add a `get_or_add` method to Dictionary
2024-04-04 13:04:16 +01:00
lawnjelly
75cadbabcb
Merge pull request #81089 from SysError99/3.x-dont-warm-about-return-value-discarded
[3.x] GDScript: Don't warn about `RETURN_VALUE_DISCARDED` by default
2024-04-04 13:02:22 +01:00
Haoyu Qiu
fbd9d389f0 Don't error multiple times when trying to load missing default bus layout 2024-03-31 17:34:13 +08:00
Kirill Diduk
52507443d3 Check duplicate keys in dictionary literals: enums and const variables
Check identifiers (const variables and unnamed enums) and named
enums when parsing dictionary literals whether the keys are not
duplicated.

In case of duplicate key is encountered, highlight the line with it
and print error message:
`Duplicate key "foo" found in Dictionary literal`

This commit is a logical continuation of the commit dab73c7 which
implemented such checks only for literal keys (which fixed #7034).

Apart from that, this commit also fixes the issue with the error
message itself, which was shown one line below the duplicated key
in case it was the last one in the dictionary literal and there
was no hanging comma.

Also, the format of the error message has been changed so that now
the error message also contains the value of the key which is duplicated.
Instead of `Duplicate key found in Dictionary literal`, it now prints
`Duplicate key "<value>" found in Dictionary literal`

Fixes #50971
2024-03-25 00:07:51 +01:00