Commit graph

9873 commits

Author SHA1 Message Date
kobewi
83789426cc Improve some notification and translation docs 2024-03-24 15:14:02 +01:00
Rémi Verschelde
6cb319a962
Merge pull request #89710 from AThousandShips/dotnet_names
[Doc] Fix casing of some C# names
2024-03-24 01:22:24 +01:00
Rémi Verschelde
c3370023b6
Merge pull request #89692 from Scony/baking-crash-prevention
Add navigation baking crash prevention mechanism
2024-03-24 01:21:56 +01:00
Rémi Verschelde
8e6d011013
Merge pull request #89629 from lyuma/import_rest_as_reset
Add option to import skeleton rest as RESET animation
2024-03-24 01:19:49 +01:00
Rémi Verschelde
55d051ee0d
Merge pull request #89590 from markdibarry/parallax2D_so_close_yet
[Doc] Fix Parallax2D use of closer/further
2024-03-24 01:18:36 +01:00
Rémi Verschelde
5940fd5d07
Merge pull request #89526 from Calinou/inputevent-add-emulation-internal-constants
Expose `DEVICE_ID_EMULATION` constant in InputEvent
2024-03-24 01:16:34 +01:00
Rémi Verschelde
e92806c7e7
Merge pull request #88424 from rburing/fti_2d
Physics interpolation (2D)
2024-03-24 01:13:53 +01:00
Rémi Verschelde
f0544ebba6
Merge pull request #87874 from AThousandShips/sort_fix
Fix sorting of files/dirs in dialogs
2024-03-24 01:13:12 +01:00
Rémi Verschelde
f8bae10be6
Merge pull request #87171 from TokageItLab/retrieve-time-info-from-anim-tree
Rework AnimationNode process for retrieving the semantic time info
2024-03-24 01:12:42 +01:00
Pawel Lampe
64fc9e2156 Add navigation baking crash prevention mechanism 2024-03-23 22:20:00 +01:00
Ricardo Buring
b6f07a007a Fix concave CollisionPolygon2D debug drawing and docs 2024-03-23 18:51:39 +01:00
A Thousand Ships
8a88e5ea07
Add missing RenderInfoType enum to Viewport 2024-03-23 14:03:08 +01:00
Ricardo Buring
2ed2ccc2d8 Fixed Timestep Interpolation (2D)
Adds fixed timestep interpolation to the rendering server (2D only).
Switchable on and off with a project setting (default is off).

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-03-23 12:28:36 +01:00
Silc Lizard (Tokage) Renew
6dd410854c Rework AnimationNode process for retrieving the semantic time info 2024-03-20 22:52:26 +09:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
A Thousand Ships
366cc648bf
[Doc] Fix casing of some C# names 2024-03-20 13:39:00 +01:00
VolTer
de8b6f7a3c Add editor settings for autocompletion with NodePath and StringName 2024-03-19 17:23:54 +02:00
Lyuma
34f284bcc2 Add option to import skeleton rest as RESET animation
Also creates an AnimationPlayer if one does not exist.
Designed to be used in conjunction with loading rest pose in another importer.
2024-03-19 02:27:34 -07:00
Enhex
14ba478023
Fix documentation for receiving light from light probes 2024-03-18 01:52:20 +02:00
markdibarry
22c26100df [Doc] Fix Parallax2D use of closer/further 2024-03-16 19:37:33 -04:00
Hugo Locurcio
6818e50adc Expose DEVICE_ID_EMULATION constant in InputEvent
This also improves the documentation related to emulated InputEvents.
2024-03-16 19:16:40 +01:00
bruvzg
ebb19c4198 [NativeMenu] Fix changes lost due to incorrect rebase (menu goes under task bar, dark mode, item text get, docs) and check to ensure help menu is not using native menu on Windows. 2024-03-15 22:46:47 +02:00
Rémi Verschelde
856efe4e19
Merge pull request #89509 from timothyqiu/touch-event-position
Fix description of touch input position
2024-03-15 10:40:23 +01:00
Haoyu Qiu
0ff396c981 Fix description of touch input position 2024-03-15 16:51:51 +08:00
smix8
5d5e85fe07 Add NavigationObstacle options to affect and carve navigation mesh
Adds NavigationObstacle options to affect and carve navigation mesh.
2024-03-15 01:45:44 +01:00
Rémi Verschelde
79d2ac37bf
Merge pull request #89454 from iltenahmet/master
[Doc] Clarify description for `get_unix_time_from_system` on UTC
2024-03-14 22:35:00 +01:00
Rémi Verschelde
4ca6cd054f
Merge pull request #89273 from bruvzg/win_native_menu
[NativeMenu] Implement native popup menu support on Windows.
2024-03-14 22:34:42 +01:00
Rémi Verschelde
f7ebb00ea0
Merge pull request #89050 from AThousandShips/the_angry_count_extended
Add extension support for argument count to `ScriptInstance`
2024-03-14 22:34:29 +01:00
Rémi Verschelde
cfe7bd09af
Merge pull request #87414 from rburing/doc_warning_check_ray_collides
RayCast2D and RayCast3D: warn to check `is_colliding` before `get_collision_point` and `get_collision_normal`
2024-03-14 22:34:25 +01:00
Ricardo Buring
8effd6b513 RayCast2D and RayCast3D documentation: warn to check is_colliding 2024-03-14 11:34:44 +01:00
iltenahmet
8bfc257e63 Update docs clarifying description for get_unix_time_from_system on UTC
fix url tag in doc/classes/Time.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

fix url tag in doc/classes/Time.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

update get_unix_time_from_system description

Update doc/classes/Time.xml

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-03-13 19:28:51 -04:00
A Thousand Ships
0c19d0f5a0
Add extension support for argument count to ScriptInstance 2024-03-13 22:40:09 +01:00
Rémi Verschelde
da945ce626
Merge pull request #89444 from AThousandShips/article_fix
[Doc] Fix some incorrect uses of `a/an`
2024-03-13 22:16:50 +01:00
Rémi Verschelde
a1c476f9d7
Merge pull request #87680 from AThousandShips/the_angry_count
Add methods to get argument count of methods
2024-03-13 22:16:43 +01:00
A Thousand Ships
24c9d442e9
[Doc] Fix some incorrect uses of a/an 2024-03-13 21:20:28 +01:00
Rémi Verschelde
6c482fad89
Merge pull request #89207 from bruvzg/_ts_req
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs.
2024-03-13 18:41:28 +01:00
bruvzg
3bb5047db3
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs. 2024-03-13 12:57:39 +02:00
bruvzg
ac7583e449
[NativeMenu] Implement native popup menu support on Windows. 2024-03-13 10:51:38 +02:00
Danil Alexeev
ef1909fca3
GDScript: Fix @warning_ignore annotation issues 2024-03-12 19:00:06 +03:00
Rémi Verschelde
20373d026d
Merge pull request #89419 from KoBeWi/losing_control
Fix some AcceptDialog argument types
2024-03-12 16:28:10 +01:00
kobewi
a7b6bcb988 Fix some AcceptDialog argument types 2024-03-12 14:33:43 +01:00
Rémi Verschelde
061e0c758d
Merge pull request #89395 from bruvzg/rtl_ts_img_range
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 14:23:03 +01:00
passivestar
3199c294f9 Allow connecting signals to existing methods without opening the script editor 2024-03-12 15:50:54 +04:00
bruvzg
433de7f1a8
[RTL] Use "visible characters" property for inline object visibility 2024-03-12 11:28:45 +02:00
Rémi Verschelde
d5856f864f
Merge pull request #89383 from bruvzg/font_no_bitmaps
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 23:48:17 +01:00
bruvzg
911fa38d3a
[Font] Add option to disable embedded bitmaps loading. 2024-03-11 16:31:10 +02:00
Danil Alexeev
ca486985d5
Documentation: Fix RST generation for [codeblock lang=text] 2024-03-11 10:24:09 +03:00
Rémi Verschelde
53701a0234
Merge pull request #89361 from Repiteo/scons/with-statement
SCons: Ensure `with` statement where applicable
2024-03-10 21:13:18 +01:00
Rémi Verschelde
7515549c35
Merge pull request #87610 from Mickeon/documentation-MultiplayerAPI-peer-id
Mention Multiplayer.`get_remote_sender_id`'s 0 after await
2024-03-10 21:12:48 +01:00
Thaddeus Crews
fb299d0fb1
SCons: Ensure with statement where applicable 2024-03-10 12:57:57 -05:00
A Thousand Ships
59bcc2888c
Add methods to get argument count of methods
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
2024-03-10 11:02:43 +01:00
Rémi Verschelde
0ace0a1292
Merge pull request #89333 from Repiteo/enforce-eol-python
Enforce `\n` eol for Python writes
2024-03-09 22:20:23 +01:00
Rémi Verschelde
b2b7ea21ff
Merge pull request #89318 from Calinou/doc-test-move-keywords
Add keywords to `PhysicsBody{2D,3D}.test_move()` for easier discoverability
2024-03-09 22:20:02 +01:00
Rémi Verschelde
ecc4649ea8
Merge pull request #89280 from AThousandShips/arr_order_doc
[Doc] Clarify `bsearch(_custom)` behavior
2024-03-09 22:19:42 +01:00
Thaddeus Crews
d9fa40f2df
Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
Hugo Locurcio
f8dd9844e5
Add keywords to PhysicsBody{2D,3D}.test_move() for easier discoverability
`sweep` is the term used in Unity for collision checks without
moving anything.
2024-03-09 17:33:04 +01:00
A Thousand Ships
06df4abcd3
[Doc] Clarify bsearch(_custom) behavior
* Added an example for the effect of `before`
* Clarified the arguments to the custom callable can be either order
2024-03-09 13:09:29 +01:00
Rémi Verschelde
d6a9a70101
Merge pull request #89282 from Rindbee/reduce-indent-in-XRInterface-example-code
Reduce indentation in `XRInterface` class document example code
2024-03-09 00:52:23 +01:00
Rémi Verschelde
eccdf1a1e8
Merge pull request #89263 from dalexeev/editor-help-codeblock-syntax-highlighting
Editor Help: Add syntax highlighting for code blocks
2024-03-09 00:52:16 +01:00
Rémi Verschelde
8af66a72b5
Merge pull request #56420 from nathanfranke/project-creation
Automatically create folder in project manager create and import
2024-03-09 00:51:51 +01:00
Danil Alexeev
87718d2a6e
Editor Help: Add syntax highlighting for code blocks 2024-03-09 00:02:31 +03:00
Nathan Franke
2130f1121a
Automatically create folder in project manager create/import/install 2024-03-08 12:27:50 -06:00
风青山
2a7257aedf
Reduce indentation in XRInterface class document example code 2024-03-08 20:37:37 +08:00
Rémi Verschelde
6f51f73339
Merge pull request #88221 from Scony/extend-parse_source_geometry_data
Extend `NavigationMeshSourceGeometryData[23]D` to allow data merging
2024-03-08 13:09:17 +01:00
Rémi Verschelde
476be3ab64
Merge pull request #88111 from Ryan-000/master
Expose scene unique id functionality in Resource
2024-03-08 13:09:13 +01:00
Pawel Lampe
ab242769b7 Extend NavigationMeshSourceGeometryData[23]D to allow data merging 2024-03-07 19:57:43 +01:00
Ryan
42ce14043e
Expose scene unique id functionality in Resource 2024-03-07 14:53:58 +01:00
A Thousand Ships
2f1f8ee39b
[Docs][C#] Use PropertyName constants in more places 2024-03-07 13:03:03 +01:00
Rémi Verschelde
bfdac951e3
Merge pull request #89224 from bruvzg/nmenu_warn
[NativeMenu] Add checks to avoid unnecessary warnings.
2024-03-07 00:24:06 +01:00
Rémi Verschelde
6c9a166308
Merge pull request #89219 from devloglogan/xr-profile-changed
Expose `profile_changed` signal to XRController3D
2024-03-07 00:24:03 +01:00
Rémi Verschelde
fcb0adf132
Merge pull request #89130 from Malcolmnixon/xr-hand-scaling
Fix XRHandModifier3D scaling
2024-03-07 00:23:56 +01:00
bruvzg
da02ca7e75
[NativeMenu] Add checks to avoid unnecessary warnings.
Added by Rémi: Add dummy NativeMenu to DisplayServerHeadless,
fixing crashes when using `--headless`.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-03-07 00:23:26 +01:00
Logan Lang
1383401c71 Expose profile_changed signal to XRController3D 2024-03-06 16:48:25 -06:00
kobewi
eb0a624902 Allow returning Dictionary after merging 2024-03-06 14:49:35 +01:00
Rémi Verschelde
362a088088
Merge pull request #89170 from jsjtxietian/expose-request-update
Expose PrimitiveMesh's `request_update` method
2024-03-06 13:17:05 +01:00
Rémi Verschelde
13954fc33e
Merge pull request #87452 from bruvzg/native_menu
Move `global_menu_*` methods to a separate `NativeMenu` class.
2024-03-06 13:16:52 +01:00
jsjtxietian
1716f12451 Expose PrimitiveMesh's request_update` method 2024-03-06 19:18:01 +08:00
Rémi Verschelde
ee3c01068c
Merge pull request #89103 from Malcolmnixon/xr-body-hips-height
Fix XR Body crouching and climbing
2024-03-06 09:50:18 +01:00
Rémi Verschelde
0acc4276b6
Merge pull request #82952 from AbelToy/gds-export-array
Allow `@export`ed Arrays to set property hints for their elements
2024-03-06 09:49:53 +01:00
Abel Toy
882441a0ad
Support Array and PackedArray in @export_* 2024-03-06 16:17:54 +09:00
Malcolm Nixon
2fdabd97f9 Modify the XRHandModifier3D to scale appropriately with Skeleton3D.motion_scale and XRServer.world_scale 2024-03-05 19:26:15 -05:00
Malcolm Nixon
d2db147805 Allow the hips joint to be positioned even if the bone update mode is set to "Rotation Only". Apply appropriate world and skeleton scaling. 2024-03-05 19:25:02 -05:00
Rémi Verschelde
43dce97a64
Merge pull request #88758 from AThousandShips/file_doc
Clarify behavior of opening a new file in `FileAccess`
2024-03-05 23:44:36 +01:00
Rémi Verschelde
c84d3385f7
Merge pull request #88300 from FaycalElOuariachi/add-TreeItem-is_visible_in_tree
Add `is_visible_in_tree` in `TreeItem`
2024-03-05 23:44:29 +01:00
Rémi Verschelde
4bb219321e
Merge pull request #88081 from Calinou/editor-add-bottom-panel-shortcuts
Add editor shortcuts to toggle bottom panel visibility
2024-03-05 23:44:21 +01:00
A Thousand Ships
a775d8bf5a
Clarify behavior of opening a new file in FileAccess
The containing directory must exist for this to succeed.
2024-03-05 19:34:19 +01:00
Hugo Locurcio
8221e7546b
Add editor shortcuts to toggle bottom panel visibility
Default shortcuts use the first or second letter of each word.

This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +01:00
Rémi Verschelde
e63de52bdb
Check if DisplayServer supports icons before attempting setting it 2024-03-05 14:39:11 +01:00
Rémi Verschelde
7d80635fce
Merge pull request #89172 from bruvzg/force_native_windows
[Window] Allow to override viewport and project settings and force use of native window.
2024-03-05 09:56:26 +01:00
Rémi Verschelde
2862cb19a8
Merge pull request #88957 from 398utubzyt/windows/native-dialogs
Windows: Implement `dialog_show` and `dialog_input_text` for `DisplayServer`
2024-03-05 09:56:00 +01:00
Rémi Verschelde
2d408f48e7
Merge pull request #88546 from bruvzg/indent_wrap
[TextEdit] Add support for optional wrapped line indentation.
2024-03-05 09:55:51 +01:00
RedMser
2bd714e34e
Allow configuring the script filename casing rule
Defaults to "Auto", which detects the casing based on the
preference of the currently selected language (C# for example
prefers PascalCase whereas GDScript prefers snake_case).
2024-03-05 09:43:29 +01:00
Faycal ElOuariachi
50cf7e1778 Add is_visible_in_tree in TreeItem 2024-03-05 03:38:33 +01:00
bruvzg
c65a667924
Move global_menu_* methods to a separate NativeMenu class. 2024-03-04 23:41:41 +02:00
bruvzg
cfdb968848
[Window] Allow to override viewport and project settings and force use of native window. 2024-03-04 23:06:27 +02:00
398utubzyt
99500611b2 Windows: Implement DisplayServer::dialog_show and DisplayServer::dialog_input_text 2024-03-04 12:53:22 -08:00
Rémi Verschelde
e7039cd6d0
Merge pull request #89150 from RedMser/file_dialog_show_docs
Update file dialog filter documentation
2024-03-04 20:44:07 +01:00
Rémi Verschelde
89611f4ddb
Merge pull request #89147 from Mickeon/doc-peeves-trans-rights-2
Address a few issues in Transform3D documentation
2024-03-04 20:44:04 +01:00
Rémi Verschelde
4ac4132b5b
Merge pull request #89146 from BlueberryGecko/master
Class reference: Improve TileMap `get_cell_atlas_coords` documentation
2024-03-04 20:44:01 +01:00
Rémi Verschelde
b6382a573f
Merge pull request #89141 from timothyqiu/xml-node-name
Fix documentation of `XMLParser::get_node_name()`
2024-03-04 20:43:52 +01:00