Commit graph

77709 commits

Author SHA1 Message Date
Dery Almas
ab205a78ce Wayland: defer event thread initialization to late initialization
This race condition made me pull my hair. `wl_display_roundtrip` has its
own little event loop, which apparently conflicts hard with the
always-running event loop thread.

I kinda assumed that it would be thread-safe thanks to its internal
`wl_display_prepare_read` call that the docs talk about but that's
clearly not enough.

Luckily this method is called very few times and the only dangerous
instances are in the initialization routine, which first starts the
thread and then does various roundtrips. Libdecor has also some internal
roundtrips of its own which would often fail. Starting the thread after
all initialization fixes the issue.

Tested this by spamming *lots* of `wl_display_roundtrip` in
`WaylandThread::init()` with and without this fix.
2025-10-10 23:25:00 +02:00
Thaddeus Crews
16a11ac88b
Merge pull request #111358 from Ivorforce/no-variant-hasher
Remove `VariantHasher` and `VariantComparator` in favour of specialising `HashMapHasherDefault` and `HashMapComparatorDefault`.
2025-10-10 10:26:12 -05:00
Thaddeus Crews
3e1af9a12a
Merge pull request #109021 from KoBeWi/visual_code
Don't save code property of VisualShader
2025-10-10 10:26:11 -05:00
Thaddeus Crews
e33f89fe27
Merge pull request #111323 from HolonProduction/rm-script
Remove `Object::script`
2025-10-10 10:26:09 -05:00
Thaddeus Crews
d10eca9c59
Merge pull request #111448 from Giganzo/sprite-frames-editor-shortcut-name
Use Title Case for shortcut names in SpriteFramesEditorPlugin
2025-10-10 10:26:08 -05:00
Thaddeus Crews
edcbdc5706
Merge pull request #107573 from lodetrick/tilemap-hide-overlay
Fade TileMap editor overlay when zoomed out
2025-10-10 10:26:07 -05:00
Thaddeus Crews
89ce203427
Merge pull request #106997 from Ivorforce/fixed-move-semantics
Fix `FixedVector` move and copy semantics.
2025-10-10 10:26:06 -05:00
Thaddeus Crews
99ab454a64
Merge pull request #111473 from KoBeWi/easing-i18n-redux
Fix some easing presets not translated
2025-10-10 10:26:04 -05:00
Thaddeus Crews
c417769226
Merge pull request #111470 from Ivorforce/debug-circular-include
Remove circular unneeded `debug_adapter_protocol.h` include from `debug_adapter_parser.h`
2025-10-10 10:26:03 -05:00
Thaddeus Crews
4ea49aecaf
Merge pull request #110990 from timothyqiu/x11-min-max
X11: Fix minimization of maximized windows
2025-10-10 10:26:02 -05:00
Thaddeus Crews
d4a87d9bb3
Merge pull request #106636 from Ivorforce/dictionary-mutating-fix
Fix `Dictionary::operator[]` from C++ accidentally modifying `const` dictionaries.
2025-10-10 10:26:01 -05:00
Thaddeus Crews
8150cb9200
Merge pull request #111403 from AeioMuch/fix_double_precision_wrong_indexes
Fix wrong indices used for transform & UBO matrix for double precision build
2025-10-10 10:25:59 -05:00
Thaddeus Crews
d598753c1a
Merge pull request #111466 from BastiaanOlij/fix_gles3_lightmap_uv2_attrib
Ensure uv2_attrib(_input) is available when rendering lightmap.
2025-10-10 10:25:58 -05:00
Thaddeus Crews
dd3b17de88
Merge pull request #105449 from raulsntos/MissingNode/recording_signals
Add `recording_signals` to MissingNode, and rename `MTVIRTUAL` to `DEBUG_VIRTUAL`
2025-10-10 10:25:57 -05:00
Thaddeus Crews
cf9e2ea6da
Merge pull request #111432 from zorbathut/pr/libgodot_linux_fix
Fix LibGodot build errors on Linux.
2025-10-10 10:25:56 -05:00
Thaddeus Crews
21e5b41642
Merge pull request #108837 from aaronfranke/json-handle-nan-inf
Handle NaN and Infinity in JSON stringify function
2025-10-10 10:25:55 -05:00
Thaddeus Crews
fb01d80e88
Merge pull request #111393 from xuhuisheng/dev/auto_expand_selected
Should expand root when `auto_expand` is on
2025-10-10 10:25:53 -05:00
kobewi
b9f7f2d767 Fix some easing presets not translated
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2025-10-10 13:21:56 +02:00
Ben Rog-Wilhelm
0a584250ae Fix: Libgodot build on Linux. 2025-10-10 04:31:14 -05:00
Lukas Tenbrink
56abd0ece3 Remove circular unneeded debug_adapter_protocol.h include from debug_adapter_parser.h. 2025-10-10 10:40:47 +02:00
Bastiaan Olij
3a003b2d96 Ensure uv2_attrib(_input) is available when rendering lightmap. 2025-10-10 14:17:34 +11:00
Raul Santos
09ad9e535b
Rename MTVIRTUAL to DEBUG_VIRTUAL 2025-10-09 22:11:18 +02:00
Raul Santos
fdecca2f18
Add recording_signals to MissingNode
Allows connecting unknown signals to MissingNode so they aren't lost when the Node type is missing.
2025-10-09 22:08:59 +02:00
AeioMuch
dae2122388 Fix wrong indexes for double precision 2025-10-09 22:01:41 +02:00
Thaddeus Crews
295e465fe4
Merge pull request #111454 from KoBeWi/buy_default
Enable script templates by default
2025-10-09 11:46:59 -05:00
Thaddeus Crews
91a1798474
Merge pull request #109084 from allenwp/add-spatial-shader-debanding
Add material debanding for use in Mobile rendering method.
2025-10-09 11:46:58 -05:00
Thaddeus Crews
aa88eb2a75
Merge pull request #73688 from Calinou/advanced-import-settings-tweak-property-hints
Tweak physics property hints in the 3D Advanced Import Settings dialog
2025-10-09 11:46:56 -05:00
Thaddeus Crews
3f3a8562fb
Merge pull request #89367 from KoBeWi/locale_shift
Allow rearranging translation list via drag and drop
2025-10-09 11:46:55 -05:00
Thaddeus Crews
db3407370c
Merge pull request #111445 from akien-mga/basisu-git-2025-10-09
basis_universal: Sync with latest Git to solve more warnings
2025-10-09 11:46:54 -05:00
Thaddeus Crews
09ea0cf899
Merge pull request #111444 from lawnjelly/fti_fix_scene_tree_depth_limit4
FTI - Fix `SceneTreeFTI` depth limit behaviour
2025-10-09 11:46:53 -05:00
Thaddeus Crews
092b7c6427
Merge pull request #110799 from AR-DEV-1/master
Update Godot's .NET version from 6.0 to 8.0
2025-10-09 11:46:51 -05:00
Thaddeus Crews
c41e47034e
Merge pull request #111342 from Ivorforce/dict-assert-no-string
Assert that `dictionary.h` does not include `String`, and that neither of the fundamental containers include `Object`
2025-10-09 11:46:50 -05:00
Thaddeus Crews
4ab22026b6
Merge pull request #111405 from Ivorforce/node-no-mesh
Remove transitive rendering includes from `node.h`
2025-10-09 11:46:49 -05:00
Thaddeus Crews
894d6ba13f
Merge pull request #76267 from Calinou/editor-theme-extra-borders-tooltip
Add a border to tooltips when using the Draw Extra Borders editor setting
2025-10-09 11:46:48 -05:00
Thaddeus Crews
5913469309
Merge pull request #111431 from Ivorforce/registration-order-3
Reorder registration of types, to register supertypes before subtypes.
2025-10-09 11:46:47 -05:00
Thaddeus Crews
755934f5f0
Merge pull request #111012 from KoBeWi/activate_never
Delete "Activate now?" button
2025-10-09 11:46:45 -05:00
Thaddeus Crews
538fd69243
Merge pull request #111425 from stuartcarnie/macos_crash_handler
MacOS: Improve crash handler performance
2025-10-09 11:46:44 -05:00
Thaddeus Crews
7efb51c9d3
Merge pull request #111361 from Ivorforce/cleanup-hashfuncs
Clean up `hashfuncs.h`
2025-10-09 11:46:43 -05:00
kobewi
a299004622 Enable script templates by default 2025-10-09 16:33:07 +02:00
Rémi Verschelde
845f9f73cd
basis_universal: Sync with latest Git to solve more warnings 2025-10-09 12:41:57 +02:00
Giganzo
3a3894e22c Use Title Case for shortcut names in SpriteFramesEditorPlugin 2025-10-09 12:04:03 +02:00
lawnjelly
cee37f0234 FTI - Fix SceneTreeFTI depth limit behaviour
Fixes off by one bug, and increases the limit slightly.
2025-10-09 10:56:01 +01:00
Lukas Tenbrink
9843a016f5 Reorder registration of types, to register supertypes before subtypes. 2025-10-09 11:50:32 +02:00
Allen Pestaluky
bd9d1bf070 Add material debanding for use in Mobile rendering method.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-10-08 16:22:41 -04:00
Stuart Carnie
33cc3c125d MacOS: Improve crash handler performance
The most significant change is the version calls `atos` with a batch of
addresses, rather than one at a time. Reduces large stack traces down
to about a second or less (after OS caching).
2025-10-09 06:19:21 +11:00
Thaddeus Crews
9a5d6d1049
Merge pull request #111389 from nikitalita/gltf-fix-export-prop
Fix segfault in GLTFDocument::export_object_model_property
2025-10-08 13:56:42 -05:00
Thaddeus Crews
4ad9114c54
Merge pull request #111386 from YeldhamDev/scrcon_focus_fix
Fix incorrect margins in `ScrollContainer` with focus border enabled
2025-10-08 13:56:41 -05:00
Thaddeus Crews
1cf0bc2c6c
Merge pull request #111321 from blueskythlikesclouds/d3d12-region-fix
Fix D3D12 not checking for fullscreen clear region correctly.
2025-10-08 13:56:40 -05:00
Thaddeus Crews
52d32cee8d
Merge pull request #111383 from Ivorforce/core-types-update-2
Register core singleton types before instantiating them.
2025-10-08 13:56:39 -05:00
Thaddeus Crews
8f4d8dfd2d
Merge pull request #111411 from akien-mga/scons-disable-fast_unsafe-on-dev_build
SCons: Don't activate `fast_unsafe` automatically on `dev_build`
2025-10-08 13:56:37 -05:00