Commit Graph

80742 Commits

Author SHA1 Message Date
Michael Alexsander bbe9994bb1 Hide scrollbar in the audio stream importer dialog when unneeded 2025-05-14 20:08:36 -03:00
Riteo a3913b045d Wayland: Fix stuck pointer buttons on window leave
This issue came from the frame-based refactoring done in the multiwin
PR.

It looks like some (all?) compositors group certain events alongside
`wl_pointer::leave`, which I absolutely did not expect. The docs don't
seem to mention it either from what I can tell.

We now fall-back on the old pointed window if and only if the current
window is invalid and the old one isn't. Each state fetch is guarded
with an `ERR_FAIL_NULL` so this should still catch any potentially
corrupted window with missing data but a valid ID.

I also added the usual big comment so that this "quirk" does not get
lost to time.
2025-05-14 23:30:16 +02:00
kobewi 076608c979 Improve default OK text in AcceptDialog 2025-05-14 23:08:22 +02:00
Dario ad22f65489 Rework semaphores for presentation to be created per swap chain image to fix validation error. 2025-05-14 15:27:51 -03:00
Danil Alexeev decf5bf865 GUI: Copy all text in RichTextLabel if nothing is selected 2025-05-14 19:31:57 +03:00
Raphaël Daubelcour 9511e1137d Check if import_script is subtype of EditorScenePostImport 2025-05-14 12:07:17 -04:00
Pedro J. Estébanez 7759296594 Direct3D 12: Let platforms report support for direct composition 2025-05-14 17:48:19 +02:00
Thaddeus Crews 428a762e98 Merge pull request #106367 from stuartcarnie/sgc_fix_embedded_crash
macOS: Fix a crash if no input event is set for a specific window
2025-05-14 09:44:17 -05:00
Thaddeus Crews 8b4dd7a34e Merge pull request #105724 from dugramen/recovery/split-commit
Add inline color pickers to script editor
2025-05-14 09:44:16 -05:00
Thaddeus Crews 3d645bdd13 Merge pull request #106392 from bruvzg/wine_sh_secure
[Wine] Use `_SH_DENY*` flags instead of unsupported `_SH_SECURE`.
2025-05-14 09:44:15 -05:00
Thaddeus Crews 43010e8839 Merge pull request #106357 from YYF233333/remove_search_array
Move bisect functionality to `Span` and deduplicate code
2025-05-14 09:44:14 -05:00
Thaddeus Crews 926cadb093 Merge pull request #106257 from lodetrick/tab-control-fixes
Fix TabBar Hidden Tabs Handling
2025-05-14 09:44:13 -05:00
Thaddeus Crews d043be6031 Merge pull request #105585 from marcosc90/fix-web-update-size
[Web] Prevent unnecessary canvas resizes by flooring scaled dimensions
2025-05-14 09:44:13 -05:00
Thaddeus Crews ae68a216b9 Merge pull request #106383 from bruvzg/macos_isdef
Fix macOS build with `dev_build=yes` and `target=template_debug`
2025-05-14 09:44:12 -05:00
Thaddeus Crews 006b986fbb Merge pull request #106121 from KoBeWi/you_can_undo_but_you_can't_save
Allow undoredo actions to not make history unsaved
2025-05-14 09:44:11 -05:00
Thaddeus Crews 0a5a6e907b Merge pull request #106381 from bruvzg/br_font
Skip default font loading if Brotli is disabled.
2025-05-14 09:44:10 -05:00
Thaddeus Crews 35ac3c0146 Merge pull request #101834 from BlueCube3310/dds-failsafe
DDS: Prevent crashing when unable to load image
2025-05-14 09:44:10 -05:00
Thaddeus Crews 67b3db8053 Merge pull request #104010 from aaronfranke/main-screen-auto-switch
Improve editor 2D/3D main screen auto-switching logic
2025-05-14 09:44:09 -05:00
Thaddeus Crews fb39aa4fd3 Merge pull request #105833 from marcosc90/perf-web-shader-source
[Web] Optimize `GL.getSource` for known-length shader sources
2025-05-14 09:44:08 -05:00
Thaddeus Crews ffb7358232 Merge pull request #105673 from bruvzg/macos_close_fs
[macOS] Fix close button hidden and title bar transparent in fullscreen mode.
2025-05-14 09:44:07 -05:00
Thaddeus Crews 4a05246d29 Merge pull request #106342 from Ivorforce/fix-text-edit-search
Refactor `TextEdit::search` to be more robust to failure.
2025-05-14 09:44:07 -05:00
Thaddeus Crews d0693d6867 Merge pull request #89988 from LunaCapra/specular-occlusion
Add support for bent normal maps for specular occlusion and indirect lighting
2025-05-14 09:44:06 -05:00
Thaddeus Crews b28d5a31dc Merge pull request #106241 from lander-vr/fix-reflection-probe-box-projection-stretching
Fix reflection probe box projection stretching
2025-05-14 09:44:05 -05:00
Thaddeus Crews e3ad8129f7 Merge pull request #105601 from marcosc90/perf-web-gamepad
[Web] Avoid unnecessary gamepad polling when no gamepads are connected
2025-05-14 09:44:04 -05:00
Rémi Verschelde fe1322c014 D3D12: Silence -Wmaybe-uninitialized warning in D3D12MemAlloc
This was lost in #104893 when removing the warning ignores no longer relevant
when including the D3D12MemAlloc _header_ as external.
But we still compile the .cpp directly and it has this warning.

Clarified why have a wrapper for this file.
2025-05-14 16:20:53 +02:00
chocola-mint 101dc9868f Implement the count parameter in RenderingServer.canvas_item_add_triangle_array() 2025-05-14 22:52:30 +09:00
mara d213e72866 wayland: Unbreak build with libdecor=no
In #101774, some libdecor-specific code was added, but without adding the guards. This broke the build with
`libdecor=no`.

Add `#ifdef` guard as necessary.
2025-05-14 13:36:45 +00:00
BlueCube3310 44bdadbe3a DDS: Prevent crashing when unable to load image 2025-05-14 13:04:58 +02:00
Pāvels Nadtočajevs 50c055600a Skip default font loading if Brotli is disabled. 2025-05-14 13:52:10 +03:00
Pāvels Nadtočajevs 563136f859 [Wine] Use _SH_DENY* flags instead of unsupported _SH_SECURE. 2025-05-14 13:50:28 +03:00
Yufeng Ying 3bf400ffae Move bisect to Span and deduplicate code.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-05-14 18:19:09 +08:00
Rémi Verschelde 1de9789806 Linux: Drop ppc32 (32-bit PowerPC) architecture support
This was added together with `ppc64le` in #54490, but seemingly only for the
purpose of getting it to compile on a Linux distro that aims at maximizing
support for all CPU architectures.

I don't think anyone has ever _run_ Godot on a `ppc32` system (do those even
support OpenGL ES 3.0?) and so I don't think we should aim to support it.

Debian dropped support for its PowerPC (`ppc32`) arch in Debian 9, released
in 2017.
2025-05-14 10:22:12 +02:00
Lukas Tenbrink 581e899785 Refactor TextEdit::search to be more robust to failure. 2025-05-14 10:16:42 +02:00
Pāvels Nadtočajevs dfb2bc5f7e Fix macOS build with dev_build=yes and target=template_debug 2025-05-14 09:47:51 +03:00
Lalit Shankar Chowdhury 18eaa97f85 AudioStreamImport: Make play and stop buttons accessible through keyboard 2025-05-14 12:05:50 +05:30
Logan Detrick 5fbc8a61fc Fix TabBar hidden tabs handling 2025-05-13 18:11:00 -07:00
Silc Lizard (Tokage) Renew 37aca09b23 Fix Quaternion arc constructor tolerance 2025-05-14 07:15:12 +09:00
dugramen b9f59ae6ca Add color pickers to script editor 2025-05-13 18:03:21 -04:00
landervr be01c7f5a4 fix reflection probe box projection stretching 2025-05-14 00:02:06 +02:00
Thaddeus Crews 09fcbb8645 Merge pull request #92542 from aganm/solarized_revert
Revert Solarized Dark theme to Godot 3
2025-05-13 16:22:32 -05:00
Thaddeus Crews 3d20e906b9 Merge pull request #99318 from HolonProduction/editor-script-palette
Editor: Add named `EditorScript`s to the command palette
2025-05-13 16:22:31 -05:00
Thaddeus Crews aad8f57f95 Merge pull request #106355 from bruvzg/mac_emb_trans
[macOS] Fix transparent window state detection for embedded process.
2025-05-13 16:22:30 -05:00
Thaddeus Crews 22a0e81a69 Merge pull request #103922 from Jesusemora/Jesusemora-patch-1
Show `theme_type_variation`s in the inspector on `Control`s that inherit a theme
2025-05-13 16:22:29 -05:00
Thaddeus Crews 0717136785 Merge pull request #106353 from YYF233333/hashmap_zst
Optimize `HashMap` size for zero-sized Allocators
2025-05-13 16:22:28 -05:00
Thaddeus Crews 4cd27d7fd4 Merge pull request #106094 from shiena/feature/support-android-camera
Add CameraFeed support for Android
2025-05-13 16:22:27 -05:00
Thaddeus Crews f70420a8b1 Merge pull request #106346 from mihe/jolt/scu-support
Fix SCU build issues related to Jolt Physics
2025-05-13 16:22:26 -05:00
Thaddeus Crews 2053f8d6bf Merge pull request #106343 from timothyqiu/scene-tree-unused
Remove unused `SceneTree::make_group_changed`
2025-05-13 16:22:26 -05:00
Thaddeus Crews 1c4b660312 Merge pull request #96611 from Dynamic-Pistol/master
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
Thaddeus Crews d9c8376fe0 Merge pull request #105825 from Alex-Onceanu/playground
Fix `Camera2D` right and bottom limit to depend on bottom right corner
2025-05-13 16:22:24 -05:00
Thaddeus Crews f648eea7f4 Merge pull request #106209 from YYF233333/opt_get_actions
Optimize `InputMap::get_actions`
2025-05-13 16:22:23 -05:00