Commit Graph

59576 Commits

Author SHA1 Message Date
MJacred 05abecb701
Fix AudioServer::start_playback_stream does not iterate through given p_bus_volumes
(cherry picked from commit e81887f996)
2024-03-11 23:20:53 +01:00
Mateus Reis e4181c6d48
Fix double text_changed signal when overwriting selection in LineEdit
The part of gui_input that handles unicode wasn't checking
text_changed_dirty before emitting the signal, unlike the rest of the text editing functions.

Fixes #86451

(cherry picked from commit cab48493d8)
2024-03-11 23:20:48 +01:00
Emmanouil Papadeas d216ac7a2c
Fix `MenuBar` hover position scaling properly with the scale factor multiplier
(cherry picked from commit e864b26e54)
2024-03-11 23:20:32 +01:00
Fabio Alessandrelli 966e1a3d71
[MP] Fix auth not waiting for confirmation in some cases
The auth implementation was treating any received packet as a remote
confirmation after the peer was confirmed locally.

It now correctly awaits for the remote confirmation packet before
admitting new peers.

(cherry picked from commit 754036f82f)
2024-03-11 23:08:35 +01:00
Sofox f14e43b68f
Fixed duplicating nodes at different depths in SceneTreeDock
(cherry picked from commit ed648799ae)
2024-03-11 23:08:21 +01:00
kleonc 903dfb91a7
Fix animated tile random start time not scaled to animation duration
(cherry picked from commit 7dfd0c45e9)
2024-03-11 23:07:35 +01:00
Thaddeus Crews 93fcd9ce41
Replace `GDVIRTUAL_CALL` with `GDVIRTUAL_REQUIRED_CALL` where applicable
(cherry picked from commit 83ef789745)
2024-03-11 23:07:04 +01:00
nikitalita 360543361b
fix `next_ogg_packet` never returning false
(cherry picked from commit 86a914575f)
2024-03-11 23:06:28 +01:00
Jovan Gerodetti 9f4eac82a2
GDScriptAnalyzer is unaware of properties from other Languages
Co-authored-by: K. S. Ernest (iFire) Lee <fire@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
(cherry picked from commit 030aa41a99)
2024-03-11 23:06:00 +01:00
Ricardo Subtil 7fd058a7fa
Ensure slider grabs focus only when it can
(cherry picked from commit fde51aeb28)
2024-03-11 22:50:07 +01:00
风青山 261129496c
Fix duplicating sub-scene may get two copies of internal node
Previously, internal node might be mistaken for `hidden_root` and be duplicated again.
Exclude those internal nodes to avoid this case, unless the owner is set intentionally.

(cherry picked from commit f19c419126)
2024-03-11 22:34:53 +01:00
BlueCube3310 3553d33708
Fix Scene Importer crashing when mesh or animation save paths are invalid
(cherry picked from commit cd87916d98)
2024-03-11 22:31:59 +01:00
Nikolai Davydov 18d497d744
Fix virtual calls for GDExtension in `CollisionObject2D` for _mouse_enter, _mouse_exit, _mouse_shape_enter, _mouse_shape_exit
(cherry picked from commit 0517000e6f)
2024-03-11 18:10:06 +01:00
David Snopek 17b1fd94af
Fix overriding `CollisionObject3D::_mouse_enter()` and `_mouse_exit()` from GDExtension
(cherry picked from commit bfdcd8559b)
2024-03-11 18:10:01 +01:00
Mika Viskari 02e6c0ab95
Fix String::begins_with when both strings are empty
(cherry picked from commit 3026b566b0)
2024-03-11 18:08:11 +01:00
jsjtxietian 4e3cd10173
Support immediately update ui after resizing placeholder* texture
(cherry picked from commit e896fbb638)
2024-03-11 18:07:44 +01:00
Matthew Edwards 5cc432e7a1
Push p_original_path into load_paths_stack and sub_tasks instead of p_path.
(cherry picked from commit 7565d1f3ab)
2024-03-11 18:03:24 +01:00
ACB f4106e5fb3
Fix FileAccessMemory off by one error in eof_reached
(cherry picked from commit 2561f6fc52)
2024-03-11 18:02:59 +01:00
nfrmtk c00caa766e
add check for negative buffer_size inside start_(de)compression method.
(cherry picked from commit da886006a0)
2024-03-11 18:02:44 +01:00
scgm0 2042283d32
Explicitly initialize all of `FileAccess::create_func[ACCESS_MAX]`
(cherry picked from commit 2dae53c316)
2024-03-11 18:02:27 +01:00
Pedro J. Estébanez 16f3652d10
Fix inaccuracies in the report of leaked objects
(cherry picked from commit a04a67ead6)
2024-03-11 18:01:54 +01:00
jsjtxietian 8d069c3f5c
Fix wrong fail contion in compressed texture and some clean up
(cherry picked from commit 6a3b63eb36)
2024-03-11 18:01:31 +01:00
Pedro J. Estébanez a5aa6910bc
Avoid regressing in progress reporting in resource load
(cherry picked from commit f5ca58d32f)
2024-03-11 17:59:25 +01:00
bruvzg e35e97f027
[Pseudolocalization] Prevent out of bounds reads.
(cherry picked from commit e7bdb60e56)
2024-03-11 17:58:58 +01:00
rune-scape 7691c5fccd
Initialize pointers in a_star.cpp
(cherry picked from commit b6a53e62bc)
2024-03-11 17:58:44 +01:00
LimestaX 1a8649fc3e
Ensure special characters are escaped in tscn connections and editable hint
(cherry picked from commit 0a32c160ac)
2024-03-11 17:58:20 +01:00
Stuart Carnie 486998bee5
fix: data race in PagedArray
(cherry picked from commit 70bfd5d065)
2024-03-11 17:58:04 +01:00
Jovan Gerodetti 04c312fbc9
Include name field in MethodInfo operator ==
(cherry picked from commit 179c92eb0b)
2024-03-11 17:57:25 +01:00
Sofox b3b961247f
Fix for RegEx.sub truncating string when 'end' is used
(cherry picked from commit 46b420f7ee)
2024-03-11 17:57:00 +01:00
David Snopek 3971cbcff0
Fix `gdextension_compat_hashes.cpp` for double precision builds
(cherry picked from commit 445e3018f5)
2024-03-11 17:48:39 +01:00
Paul Joannon 630b0a00e2
Hint fallback property as node when it is a node
(cherry picked from commit e7c90e0884)
2024-03-11 17:40:28 +01:00
Thaddeus Crews d0a36f8111
C#: Match Core implementation of `BinToInt` & `HexToInt`
(cherry picked from commit 48428bd087)
2024-03-11 17:39:20 +01:00
Paul Joannon f546d40367
Delay fs update when populating path bimap
(cherry picked from commit 999180d5b5)
2024-03-11 17:37:14 +01:00
Michael Wörner 167b4c071c
Fixed ~CSharpScript() holding on to a mutex longer than necessary, creating potential for a deadlock.
(cherry picked from commit 9d50a486bf)
2024-03-11 17:36:44 +01:00
Zae 587d689c5f
C#: Fix not assigning `runtime_initialized` when initializing with AOT.
(cherry picked from commit e868a9f577)
2024-03-11 17:36:20 +01:00
Mikael Klasson bbc90d8c8a
fix: use correct number in GD0103 link
(cherry picked from commit a2b183067c)
2024-03-11 17:35:25 +01:00
BZ1234567890 89a614c380
[Android 14] Fix GodotEditText white box showing during editor load
(cherry picked from commit 04798d6352)
2024-03-11 17:28:56 +01:00
bruvzg c1d946e3fe
[macOS] Fix color picker on HDR screens.
(cherry picked from commit d9b7075ba6)
2024-03-11 17:28:56 +01:00
Faycal ElOuariachi 1f0cf81f57
Fix the fetching of images in CF_DIB format in DisplayServerWindows::clipboard_get_image
Fix the fetching of images from windows clipboard, if they're in CF_DIB format (e. g. by taking screenshots).

Image::create_from_data was used with an instance of Image, but it's a static function, returning a new instance.
(cherry picked from commit c1ec0360e9)
2024-03-11 17:28:55 +01:00
bruvzg 1e55de9b8b
[Windows] Fix windows is_path_invalid, and apply it to directory creation.
(cherry picked from commit be8f60a78d)
2024-03-11 17:28:55 +01:00
bruvzg dea652d9a2
[macOS] Allow `open_shell` to handle filenames without `file://`.
(cherry picked from commit cc313a1c1c)
2024-03-11 17:28:55 +01:00
bruvzg 4e12b70a90
[macOS] Enabled secure restorable state.
(cherry picked from commit 84380a94f7)
2024-03-11 17:28:55 +01:00
Emanvidmaker c13fc678ff
Added dark mode support for Windows 10, versions 1909(18363) and above
(cherry picked from commit a16ca4b96c)
2024-03-11 17:28:55 +01:00
bruvzg 31bdc32b4d
[macOS] Update window visible state on deminiaturize.
(cherry picked from commit 7e5bce7090)
2024-03-11 17:28:55 +01:00
Sassan Haradji 592fda3a8d
set provisioning style for both "iPhone Developer" and "iPhone Distribution" to automatic
(cherry picked from commit 4782cf92ad)
2024-03-11 17:28:55 +01:00
David Snopek 3d6b0ef6f0
[X11] Don't re-set input focus if the given window already has it
(cherry picked from commit 64a52e08fe)
2024-03-11 17:28:55 +01:00
Alexander Hartmann 3dee66d28f
Fix virtual keyboard for decimal values on Android
(cherry picked from commit 6f91c00056)
2024-03-11 17:28:55 +01:00
Septian 970089337e
Fix `OS.get_system_font_path` and `OS.get_system_font_path_for_text` to return correct value
(cherry picked from commit 475c2fa1e7)
2024-03-11 17:28:55 +01:00
Fredia Huya-Kouadio b169bfc851
Specify the path to the Java SDK used for the Android gradle build
Introduce an editor setting to allow users the ability to specify the path to the Java SDK used for the Android gradle build.

(cherry picked from commit 85e98ef009)
2024-03-11 17:28:55 +01:00
Chia-Hsiang Cheng 02c26e075b
Ensure the active window gains the keyboard focus
(cherry picked from commit 669ce39f95)
2024-03-11 17:28:55 +01:00