1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-30 16:26:50 +00:00
Commit Graph

69615 Commits

Author SHA1 Message Date
Micky
1ffe8bb191 Trim a few no-break and zero-width spaces from codebase 2024-11-10 19:04:32 +01:00
Malcolm Anderson
ae9f2bd9df Add note to CanvasItem.clip_children about nesting
Add CanvasGroup information to clipping note
2024-11-10 09:51:57 -08:00
Emanuil Chizhov
5516088c51 Add examples to PacketPeerUDP class documentation.
Add examples for sending packets and listening for packets.

Fix documentation indentation.

Change tabs to spaced for codeblocks.

Fix typos

Remove typing in documentation code

Add a blank line to comply with style guidelines

Fix blank line to contain tabs

Remove tabs from empty code lines

Commit suggested changes by Mickeon

Use correct syntax for >
2024-11-10 18:34:29 +02:00
Silc Lizard (Tokage) Renew
761a20f7a7 Add hint for oneshot & warning when it will be updated continuously 2024-11-11 01:12:45 +09:00
Rie
44ef3d35eb Make use of NavigationObstacle3D's transform
Co-authored-by: a0kami <dev.aokami@netc.fr>
2024-11-10 17:08:12 +01:00
Fabio Alessandrelli
0c620b29cd [Net] Split Unix/Windows NetSocket implementation 2024-11-10 16:13:50 +01:00
Micky
39534e1a28 Fix interactive music docs saying it's "not implemented" 2024-11-10 11:35:08 +01:00
Micky
5c5460b026 Fix many untagged true/false/null in the documentation 2024-11-10 11:26:39 +01:00
Fabio Alessandrelli
35c223680a [mbedTLS] Keep reading/writing partial until "would block"
Them mbedTLS read and write functions will never read or write more than
the negotiated fragment length at every iteration (which usually depends
on MBEDTLS_SSL_IN_CONTENT_LEN and MBEDTLS_SSL_OUT_CONTENT_LEN).

For this reason, when reading or writing partial data, we must always
keep retrying until we receive a "would block" (no bytes read or wrote),
or we have fulfilled the read or write.
2024-11-09 17:20:10 +01:00
Nodragem
7378bb6db7 Move GridMapEditor to bottom panel 2024-11-09 16:02:26 +00:00
A Thousand Ships
9923268d74 [Web] Don't cache emsdk
Due to how caches are accessed this cache is almost useless, it only
matters if it is from the same branch or a base branch, and is identical
between branches, so caching it just clutters the build cache
2024-11-09 16:16:15 +01:00
Jason Morgado
d5176757c0 Add type filters to AnimationPlayer's "Add Track"
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-11-09 10:14:06 -05:00
Dr_helicopter
b04369e4e3 Fix engine_type_colors's description
in editor>editor settings>Text Editor>Theme, if you hover hover over "Engine Type Color", it has "Vector2", "Vector3"and "Color" as example but these are not Engine types. and their color is controlled by the "Base Type Color" setting. I discovered this while trying to customize my editor a bit more.
2024-11-09 12:40:18 +00:00
A Thousand Ships
2d8eb290f1 [Editor] Fix order of editor features
Order was broken after adding `Game View`
2024-11-09 10:51:55 +01:00
Felix Yuan
f491d2fe24 Don't try to move selection if there are no visible elements 2024-11-09 01:29:44 -08:00
nikitalita
78895c709c Prevent stack-use-after-scope in rendering_device_driver_metal.mm 2024-11-09 00:07:33 -06:00
shahriarlabib000
afeecad92e Fix Spinbox display does not round properly when using decimal custom arrow steps 2024-11-09 08:36:42 +06:00
Hein-Pieter van Braam
333452d499 Regenerate X11 wrappers
Version 0.6 of https://github.com/hpvb/dynload-wrapper/ now supports all
of the features we need to generate the wrappers without editing them.

This replaces the hand-patched wrappers with "clean" generated ones.
2024-11-09 02:52:49 +01:00
Logharaa
b40e04d94f Remove unnecessary condition 2024-11-09 10:42:22 +09:00
Valentin Cocaud
c09731c413 Warn on filesystem case mismatch
When a file is opened with a wrong case, it can work on the developer system but break on a user system with a case-sensitive filesystem.

This will display a warning when it happens.

CAVEATS: It will also display the warning if a symlink is in the path.

Adapt warning if the file is a symlink. Avoid warning on symlinks.

Fix memory leak and avoid `lstat` usage.

Avoid exposing real_path when not in TOOLS_ENABLED mode.
2024-11-08 14:23:41 -08:00
clayjohn
05576a2324 Move D3D12 fence SetEventOnCompletion call to fence_wait to avoid stalling on some platforms 2024-11-08 13:20:05 -08:00
Yevhen Babiichuk (DustDFG)
0c4575b4e5 Delete old function for parsing CG shaders
This lonely dinosaur was overlooked by a meteor. Its family was
killed but it managed to survive until today. People noticed him
but they didn't understood he should be dead... So our dino even
got medicine on a level of all other animals of our zoo. Good bye!

All the CG and HLSL functions (except this) were removed years ago
when GLSL2 shaders support was added:

Look at: eac4c984df

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-08 21:47:03 +02:00
Anish Mishra
b2cb858572 Android: Add app_category "Undefined" 2024-11-08 23:37:27 +05:30
Pedro J. Estébanez
56bdef9f6f Fix deadlocks related to ClassDB queries about global classes
`ClassDB::can_instantiate()` and other reflection methods deadlock if the type is an script global class, when such script indirectly uses a not-yet-registered class. The reason is the `ClassDB` read lock is still held when invoking the `ResourceLoader` to load the class script, which may in turn need to lock for writing (for the class registration).

In particular, this happens with some types related to animation tree, that aren't registered at engine startup, but can happen with others, especially ones from the user. Registration statements are also added for the animation-related types that were lacking them.
2024-11-08 18:15:58 +01:00
Anish Mishra
6fd8d7b634 Android: Update exported app and editor theme 2024-11-08 22:37:52 +05:30
HP van Braam
e65a23762b Merge pull request #98968 from akien-mga/windows-fix-double-extension-mingw
Windows: Fix duplicate .exe extension with mingw on Linux/macOS
2024-11-08 16:49:25 +01:00
Rémi Verschelde
6d326547da Windows: Fix duplicate .exe extension with mingw on Linux/macOS
This old hack is no longer needed and now wrong after #98105.

Fixes #98967.
2024-11-08 16:46:35 +01:00
A Thousand Ships
26938086eb Fix a few more super calls in get_configuration_warnings methods
A few missed last pass and one incorrect from that pass
2024-11-08 14:58:37 +01:00
Mikael Hermansson
9b7c14718b Add Ref and HashSet to godot.natvis 2024-11-08 14:37:43 +01:00
Hugo Locurcio
328d2af2bf Make SCons SCU build banner less intrusive
A message is still printed every build when `scu_build` is enabled,
which is sufficient.
2024-11-08 13:46:26 +01:00
BlueCube3310
ca7ad58236 bcdec: Fix decompresssing mipmaps not divisible by 4 2024-11-08 11:17:13 +01:00
rune-scape
dd1372b78e various gui nodes now listen for the changed signal on textures 2024-11-08 00:29:15 -08:00
rune-scape
a47daa0a44 Avoid const_cast in List::erase by requiring mutable elements 2024-11-08 00:10:08 -08:00
Pedro J. Estébanez
360ed2b00d Enhance SpinLock 2024-11-08 08:06:07 +01:00
Pedro J. Estébanez
95c6a24795 Add a utility cache line size constant 2024-11-08 08:06:01 +01:00
Haoyu Qiu
5f8df2ca63 Remove unnecessary _3D_DISABLED checks in Performance 2024-11-08 11:49:47 +08:00
Adam Scott
784558f327 [Web] Remove warnings when setting vsync mode and screen keep on 2024-11-07 14:06:34 -05:00
Thaddeus Crews
36e6207bb4 Merge pull request #98911 from KoBeWi/😵‍💫
Fix wrong checked menu item in 3D editor
2024-11-07 12:36:36 -06:00
Thaddeus Crews
3a7efc9edf Merge pull request #98874 from aaronfranke/gltf-preserve-visibility
GLTF: Preserve node visibility on import
2024-11-07 12:36:35 -06:00
Thaddeus Crews
9b23b202ae Merge pull request #98873 from girdenis-p/shadowed-variable-warning
Fix analyzer pushing `SHADOWED_VARIABLE` warning for members shadowed in subclass
2024-11-07 12:36:33 -06:00
Thaddeus Crews
fa65b70494 Merge pull request #98105 from Repiteo/scons/mingw-shenanigans
SCons: Extend `MinGW` support & checks
2024-11-07 12:36:32 -06:00
Thaddeus Crews
8d03a463b3 Merge pull request #98899 from Calinou/doc-resourceloader-load-threaded-get-status
Clarify `ResourceLoader.load_threaded_get_status()` completion ratio description
2024-11-07 12:36:30 -06:00
Thaddeus Crews
551ce65fce Merge pull request #98317 from YYF233333/vformat
Optimize `TileSetAtlasSource::_get_property_list`
2024-11-07 12:36:26 -06:00
Thaddeus Crews
ca81cd3f99 Merge pull request #98888 from dustdfg/scu_rely_on_scons
SCons: Replace `_find_scu_section_name` function with SCons builtins
2024-11-07 12:36:24 -06:00
Thaddeus Crews
f74b7e2009 Merge pull request #98887 from bruvzg/ime_altgr
Fix IME deactivation events not send on focus loss. Do not unset AltGr modifiers in non-IME input.
2024-11-07 12:36:22 -06:00
Thaddeus Crews
671d6e3230 Merge pull request #98150 from hunterloftis/fix-default-import-threaded
Fix freeze on non-thread-safe custom importers
2024-11-07 12:36:20 -06:00
Adam Scott
75bf6df49a Make IME code early return instead 2024-11-07 13:27:29 -05:00
Yevhen Babiichuk (DustDFG)
b607997bfc Delete unused files of thirparty libs (zlib, mbedtls)
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-07 18:54:57 +02:00
Clay John
77d6283d22 Merge pull request #98852 from darksylinc/fix-swapchain-resize-extents
Vulkan: Account for the case `surface_capabilities.currentExtent` is unset
2024-11-07 07:48:16 -08:00
Fabio Alessandrelli
e2d62f8618 [WebSocket] Add optional heartbeat via "ping" control frames.
Has no effect in Web exports since the browsers do not expose a way to
send ping control frames.
2024-11-07 15:18:46 +01:00