Commit Graph

59538 Commits

Author SHA1 Message Date
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
Adam Scott
bf98ff67c6
Fix emscripten 3.1.51 breaking change about *glGetProcAddress()
(cherry picked from commit 5922ac0fb1)
2024-03-11 17:28:55 +01:00
Adam Scott
80a0b4e0b6
Add workaround for emscripten >= 3.1.47 LTO build
(cherry picked from commit 656bc22e28)
2024-03-11 17:28:55 +01:00
Mikael Hermansson
afa50c4d2b
Fix SoftBody3D for double-precision builds
(cherry picked from commit 701ecd3a0d)
2024-03-11 17:28:54 +01:00
A Thousand Ships
cc95f87b2b
[TileSet] Fix crash when deleting dragged polygon point
(cherry picked from commit 0ba7463803)
2024-03-11 17:28:54 +01:00
Pedro J. Estébanez
583b48c43f
Fix leak of scene used for customization during export
(cherry picked from commit d103b5570f)
2024-03-11 17:28:54 +01:00
Ivan Shakhov
b1b5cb9d6f
Bump Rider.PathLocator nuget version, which provides a fix for detecting Rider installations
(cherry picked from commit 703c34a788)
2024-03-11 17:28:54 +01:00
Ivan Shakhov
76055c4268
bump the PackageReference "JetBrains.Rider.PathLocator" to 1.0.8
(cherry picked from commit 7f63f4a6bf)
2024-03-11 17:28:54 +01:00
A Thousand Ships
1894129713
[Editor] Add missing ellipses to menu options that open dialogs
(cherry picked from commit dde5368dee)
2024-03-11 17:28:54 +01:00
A Thousand Ships
ac4051f8a8
[Editor] Improve clarity and style of ResourcePicker menu
* Adds ellipses to options opening a new menu
* Adds a descriptive tooltip to `Quick Load`

(cherry picked from commit e5b751b6eb)
2024-03-11 17:28:54 +01:00
Danil Alexeev
5b25a115c8
Editor: Fix skipping normal category followed by custom one
(cherry picked from commit b2f62658a2)
2024-03-11 16:42:34 +01:00
Robert Yevdokimov
3098b02e56
Show modifier key functionality on all the editor tools
(cherry picked from commit 433c22fb6f)
2024-03-11 16:41:06 +01:00
Per Melin
a5e857019c
Fix frame number underflow in visual profiler
Unsigned subtraction underflow caused the frame counter to be locked at
2^64 in the visual profiler until debugger/profiler_frame_history_size
number of frames had passed.

(cherry picked from commit 27dc9fa4c0)
2024-03-11 16:39:46 +01:00
Nông Văn Tình
ae6079dbdf
Fix incorrect condition for error filtering
Fixes: #87643

The original condition stopped immediately after checking for 'searchText' in the 'Message' field, resulting in premature termination of subsequent checks. This fix ensures that all relevant conditions are appropriately evaluated before determining the filtering outcome.

Additionally, accompanying changes include improved code readability for better comprehension. This adjustment enhances the maintainability of the error filtering mechanism, contributing to a more robust codebase overall.

(cherry picked from commit d81c9c32c5)
2024-03-11 16:39:27 +01:00
baptr
82d2375382
Fix editor profiler script function sort order
The engine internally limits the number of functions reported back (to
16 by default). To this point, it's been sort the profiling info in
*ascending* order of time spent, then trimming the list. This meant
we may only see the best (fastest) functions, instead of the worst
that you probably want when profiling.

Now the servers_debugger sort more closely matches the local_debugger
one, which worked fine.

(cherry picked from commit 90a5f23e79)
2024-03-11 16:39:14 +01:00
Robert Yevdokimov
93fdca17d0
Make viewport message dependent on framerate not physics step
(cherry picked from commit 17e9fd06ce)
2024-03-11 16:36:47 +01:00
jsjtxietian
7c162351c9
Check is the ref shader valid in visual shader's update_option_menu
(cherry picked from commit ff089f8cea)
2024-03-11 16:36:30 +01:00
Alessandro Famà
fddd0a5098
Fix playback position label update in Audio Stream Importer
The current playback position label doesn't get updated if the playhead is not visible. The label is updated in `_draw_indicator()` at the end of the function, but we return early if the calculated offset falls outside the valid range. This fix moves the label updating above this check, ensuring that the label always gets updated regardless of the visibility of the playhead.

Fixes #86550.

(cherry picked from commit 155bebfdf2)
2024-03-11 16:29:58 +01:00
风青山
3ebb5ea482
Display functions that were previously forgotten in Profiler
The array data in `add()` contains these data, but some data may
have been forgotten to be converted into `ServerFunctionInfo`.

This results in some information not being displayed in the Profiler.

(cherry picked from commit 3d3c4e87c7)
2024-03-11 16:29:44 +01:00
Michael Alexsander
b1d67c4fde
Stop escaping ' on POT generation
(cherry picked from commit e5022531bf)
2024-03-11 16:29:29 +01:00
Robert Yevdokimov
7e7bf59f68
Prevent escape key from closing Editor Settings window when filtering for shorcuts
(cherry picked from commit eb565780e7)
2024-03-11 16:29:04 +01:00
jsjtxietian
4e615b162d
Fix infinite loop when calculating zoom level if tile_size * max_zoom < default
(cherry picked from commit 42c672afd6)
2024-03-11 16:24:17 +01:00
Danil Alexeev
8f0966982d
GDScript: Fix POT generator skips some nodes (part 2)
(cherry picked from commit e07ec89bdf)
2024-03-11 16:23:38 +01:00
bruvzg
9fa98ebb17
[iOS one-click] Add support for Xcode 15 devicectl.
(cherry picked from commit 33ce138b9b)
2024-03-11 16:15:08 +01:00
kobewi
01c51db41c
Copy track update mode when adding reset key
(cherry picked from commit d96fca371b)
2024-03-11 16:14:31 +01:00
Mika Viskari
2eda411cca
Do not call _validate_script if editor is not enabled
(cherry picked from commit 0fbc857e3f)
2024-03-11 16:11:13 +01:00
Ricardo Subtil
e5add91a46
Prevent race condition on initial breakpoints from DAP
(cherry picked from commit 485342408b)
2024-03-11 16:10:56 +01:00
jsjtxietian
cc38139799
Fix visual shader's screen_uv input preview uses position of node
rather than a sample area like uv

(cherry picked from commit d920bdeda5)
2024-03-11 16:10:14 +01:00
aXu-AP
a05e15944e
Fix opening docs writing extra navigation history
Fix #82292
Removes extraneous call to change the tab if the page wasn't yet open when opening class member description.

(cherry picked from commit 0506d6f192)
2024-03-11 16:08:20 +01:00
A Thousand Ships
fc42a18ffe
[Doc] Clarify bsearch(_custom) behavior
* Added an example for the effect of `before`
* Clarified the arguments to the custom callable can be either order

(cherry picked from commit 06df4abcd3)
2024-03-11 15:23:45 +01:00
A Thousand Ships
b739939459
[Docs][C#] Use PropertyName constants in more places
(cherry picked from commit 2f1f8ee39b)
2024-03-11 15:23:27 +01:00
Micky
867df40f13
Address a few issues in Transform3D documentation
(cherry picked from commit abf4894677)
2024-03-11 15:22:59 +01:00
A Thousand Ships
63c13e77e4
[C#] Fix typo in Color documentation
(cherry picked from commit 5aadb8660b)
2024-03-11 15:22:02 +01:00
A Thousand Ships
ba722ea067
[Doc] Clarify some details about deferred calls
(cherry picked from commit 1cc5b0aa0d)
2024-03-11 15:21:28 +01:00
Rémi Verschelde
94c9e96056
RTL: Clarify that line, paragraph, and character numbers are zero-indexed
Closes #82885.

(cherry picked from commit 4a1397b58c)
2024-03-11 15:20:28 +01:00
A Thousand Ships
50a240916a
[Doc] Fix some incorrect uses of "children"
(cherry picked from commit 9b5cd8e240)
2024-03-11 15:18:58 +01:00
Zi Ye
7159bd3bc3
Add necessary elaboration to documentation for Node3D::get_parent_node_3d
(cherry picked from commit 4c8015bec3)
2024-03-11 15:18:39 +01:00
Markus Sauermann
637960597f
Document that parse_input_event doesn't influence the OS
(cherry picked from commit 8121446385)
2024-03-11 15:18:21 +01:00
A Thousand Ships
da4aaaa007
[Doc] Fix GDScript casing of String.num_scientific
(cherry picked from commit b384beccc5)
2024-03-11 15:17:57 +01:00