1
0
Fork 0
Commit Graph

68696 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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 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
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
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 c3e2e46855 [Debugger] Add configuration to the GameView debugger plugin 2024-11-07 15:03:17 +01:00
Fabio Alessandrelli 7cd850b909 [Debugger] Move quit shortcut configuration to the SceneDebugger 2024-11-07 15:03:17 +01:00
kobewi 4cbf15608c Fix wrong checked menu item in 3D editor 2024-11-07 00:15:38 +01:00
Matias N. Goldberg e69a0c7d60 Force RID::id to be always uint64_t
On Vulkan, some handles are meant to always be u64, even on 32-bit
architectures such as arm32.

Fixes #98654
2024-11-06 20:03:56 -03:00
Azeez Abass ddf5c03f4b fix: add vulkan error checks in command_queue_execute_and_present
fix: add debug helper functoin and update messaging vulkan result
2024-11-06 22:13:20 +00:00
MaidOpi 07b7af0c81 replace computed height with cached item minimum size 2024-11-07 03:28:08 +08:00
Hugo Locurcio 44b2c4e00d
Clarify `ResourceLoader.load_threaded_get_status()` completion ratio description 2024-11-06 16:53:18 +01:00
girdenis-p 413490c270 Fix analyzer pushing SHADOWED_VARIABLE warning for members shadowed in subclasses
This fixes a bug in the analyzer where it did not push the SHADOWED_VARIABLE_BASE_CLASS
warning for members shadowed by variable in subclass. It does this by comparing the class
which contains the shadowed member with the class containing the variable, and pushing
SHADOWED_VARIABLE only if the classes are the same. Additionally, SHADOWED_VARIABLE_BASE_CLASS
can take an extra symbol which helps to specify the line for non native base class.
2024-11-06 15:04:14 +00:00
Hugo Locurcio 8379cc85aa
Warn on unknown command line arguments
This eases troubleshooting when working with command line arguments.

Warnings are only printed if the argument does not exist as a file
or directory path (relative or absolute). This allows positional arguments
to keep working as they are now, without printing warnings when a project
reads positional arguments to perform operations on files (e.g. when
drag-and-dropping a file onto a project executable).

This now prints a warning:

    godot --non-existent-argument

This still doesn't print a warning, as it's an user argument:

    godot -- --non-existent-argument

This doesn't print a warning if the file/folder path exists:

    godot /path/to/file.txt

A warning is still printed if the file/folder doesn't exist. Drag-and-drop
associations always refer to existing files/folders, so that scenario was
unlikely to be encountered.
2024-11-06 15:01:40 +01:00
Yevhen Babiichuk (DustDFG) 32e2b45430 Replace _find_scu_section_name function with SCons builtins
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-06 11:29:08 +02:00
bruvzg fdde7713a8 Fix IME deactivation events not send on focus loss. Do not unset AltGr modifiers in non-IME input. 2024-11-06 09:47:26 +02:00
Aaron Franke 924732772b
GLTF: Preserve node visibility on import 2024-11-05 19:06:08 -08:00
Thaddeus Crews 87318a2fb7
Merge pull request #98842 from Calinou/scons-vs-detect-remove-pre-2017
Remove pre-Visual Studio 2017 detection code in the buildsystem
2024-11-05 18:36:18 -06:00
Thaddeus Crews de48d9f794
Merge pull request #98841 from bruvzg/ts_el_load
[TextServer] Only load ellipsis glyph when it's used.
2024-11-05 18:36:17 -06:00
Thaddeus Crews 3d2f77df25
Merge pull request #98837 from Repiteo/ci/clang-format-tidy-update
CI: Update clang format/tidy pre-commit versions
2024-11-05 18:36:16 -06:00
Thaddeus Crews 4dc69c827b
Merge pull request #98131 from KeyboardDanni/remove_playback_fadein
Remove playback fade-in and add comments to `AudioServer`
2024-11-05 18:36:15 -06:00
Thaddeus Crews 88a48d52f0
Merge pull request #98801 from zeux/my-final-form
Rewrite index optimization code for maximum efficiency
2024-11-05 18:36:13 -06:00
Thaddeus Crews 1559645112
Merge pull request #98831 from dsnopek/openxr-gdextension-pre-post-draw-viewport
OpenXR: Allow GDExtensions to implement `_on_pre_draw_viewport()` and `_on_post_draw_viewport()`
2024-11-05 18:36:12 -06:00
Thaddeus Crews 0976c6a1a6
Merge pull request #98828 from tetrapod00/docs-springarm-link
Docs: Add link to SpringArm3D tutorial
2024-11-05 18:36:11 -06:00