Commit Graph

59515 Commits

Author SHA1 Message Date
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
A Thousand Ships
9d5755d20c
Clarify behavior of opening a new file in FileAccess
The containing directory must exist for this to succeed.

(cherry picked from commit a775d8bf5a)
2024-03-11 15:17:40 +01:00
SaNeOr
2c22a0a590
Additional docs: c# mainloop needs to be registered in the global class
(cherry picked from commit 3122b368c0)
2024-03-11 15:17:18 +01:00
Cariad Eccleston
6400a1fd62
Fix "dimensionnal" typo
(cherry picked from commit 9472ccbcdd)
2024-03-11 15:16:57 +01:00
A Thousand Ships
ccc8472c57
Fix some leftover references to hint_albedo in docs
(cherry picked from commit e5266f71b9)
2024-03-11 15:16:37 +01:00
Dalton
aca96eb406
Fix function description for Font.get_char_size()
Removed description implying you can pass a second char in order to account for kerning

(cherry picked from commit c9bc54637b)
2024-03-11 15:14:42 +01:00
Hugo Locurcio
48f0e5f12b
Document using RichTextLabel's meta_clicked to handle clickable URLs
(cherry picked from commit ea03154a27)
2024-03-11 15:14:10 +01:00
Hugo Locurcio
fb55840d92
Document initial position project settings not affecting run from editor
(cherry picked from commit d3df15f823)
2024-03-11 15:13:42 +01:00
Hugo Locurcio
aaf1928940
Improve documentation on Android package unique name
- Document `$genname` behavior.
- Update to match actual validation and Google Play guidelines.

(cherry picked from commit 111908c4ed)
2024-03-11 15:13:16 +01:00
Allen Pestaluky
002028ea40
Fix docs for Color class regarding bits per component.
This fixes godot-docs#8906 ( https://github.com/godotengine/godot-docs/issues/8906 )

(cherry picked from commit 0e977e087c)
2024-03-11 15:12:55 +01:00
Hugo Locurcio
5a0f95edd2
Document OS.execute() limitations on Android
(cherry picked from commit d94ee14123)
2024-03-11 15:12:22 +01:00
Florian Grabmeier
5b63622726
Remove duplicate reference of CUSTOM_ARRAY_RBGA8_URNOM in docs
(cherry picked from commit 02faccd14f)
2024-03-11 15:11:17 +01:00
A Thousand Ships
c3d9191f33
Fix inverted link in docs
Title and url were swapped

(cherry picked from commit 17000bf8c3)
2024-03-11 15:10:39 +01:00
Emmanouil Papadeas
263616aab0
Minor fix in DisplayServer.xml to include Linux & Windows in FEATURE_NATIVE_DIALOG
(cherry picked from commit 2ba6066d5d)
2024-03-11 15:10:11 +01:00
Micky
84b8c3275d
Mention and deprecate InputEventJoypadButton's pressure
(cherry picked from commit 25c0c95960)
2024-03-11 15:09:01 +01:00
Micky
2bbd4aabdb
Tweak XROrigin3D documentation
(cherry picked from commit 552403d581)
2024-03-11 15:07:42 +01:00
Micky
968f592984
Overhaul Transform3D documentation
(cherry picked from commit 64ba22a9a7)
2024-03-11 15:06:22 +01:00
Micky
acea2c5424
Add documentation to EditorExportPlatformWeb
(cherry picked from commit 7ffacb5d49)
2024-03-11 15:05:09 +01:00
Micky
f2abdd143e
Add missing documentation for AudioStream & AudioStreamPlayback
(cherry picked from commit 8f4598bad4)
2024-03-11 15:04:48 +01:00
Micky
316d3d8a0d
Add a few notes to Sprite3D's documentation
(cherry picked from commit 8ca47c981d)
2024-03-11 15:04:25 +01:00
Micky
90871bc800
Overhaul documentation about MIDI support
(cherry picked from commit 8723d116c4)
2024-03-11 15:03:28 +01:00
20kdc
0f38f50e97
Fix the documentation of Bone2D::apply_rest (squashed)
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
(cherry picked from commit f16f8bf39b)
2024-03-11 15:03:07 +01:00
Hugo Locurcio
755620e364
Document Bounce = 1.0 not being sufficient for infinite energy conservation
(cherry picked from commit 7ff1704b1b)
2024-03-11 15:02:49 +01:00
Lucas Clemente Vella
41648610cc
Improve docs on how ParallaxLayer mirroring works.
I wrote everything I wish was written when I tried to make an
infinite scrolling background, addressing every point of every
mistake I made.

(cherry picked from commit 40813b68f0)
2024-03-11 15:02:16 +01:00