Commit Graph

8470 Commits

Author SHA1 Message Date
Markus Sauermann 5b15c89c38 Made window focus notification docs more precise 2023-06-18 16:03:50 +02:00
smix8 ae9dd47d0c Add agent pause mode to NavigationServer
Adds agent pause mode to NavigationServer.
2023-06-18 12:37:03 +02:00
L4Vo5 2747dd35e7 clarify the meaning of "deferred" 2023-06-18 00:46:58 -03:00
Rémi Verschelde 494b29cfb7
Merge pull request #78274 from adamscott/add-callable-native-method-note
Add note in `Callable` documentation about methods of native types
2023-06-16 10:19:56 +02:00
Rémi Verschelde 014b395ef3
Merge pull request #78262 from bruvzg/ds_window_focus
[DisplayServer] Add method to check if native window is focused.
2023-06-16 10:19:33 +02:00
Rémi Verschelde 908610174d
Merge pull request #77536 from clayjohn/GLES3-render-info
Add RENDERING_INFO parameters to GL Compatibility renderer
2023-06-16 10:19:09 +02:00
Rémi Verschelde d101244d1b
Merge pull request #74641 from dalexeev/fix-bitfield-enum-warnings
Display `BitField[Enum]` in docs to distinguish from `Enum`
2023-06-16 10:18:46 +02:00
bruvzg 28db3c7158 [DisplayServer] Add method to check if native window is focused. 2023-06-16 10:27:52 +03:00
clayjohn 36a005fafc
Add RENDERING_INFO parameters to GL Compatibility renderer
This also fixes RENDERING_INFO_TOTAL_PRIMITIVES_IN_FRAME for the RD renderers as it was incorrectly reporting vertex/index count at times

This also adds memory tracking to textures and buffers to catch memory leaks.

This also cleans up some memory leaks that the new system caught.
2023-06-16 09:10:00 +02:00
Rémi Verschelde 6fb391bc23
Fix various typos with codespell
And ignore some false positives introduced by recent versions of codespell.
2023-06-16 08:45:35 +02:00
Adam Scott 810806e6b5
Add note in `Callable` documentation about methods of native types
- Adds a workaround/code example too.
- Fixes #58912 (the issue itself is not a bug, but the solution was to add a documentation entry about the "issue")
2023-06-15 10:45:46 -04:00
Danil Alexeev eb391d3302
Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
Rémi Verschelde 491693e640
Merge pull request #77941 from br1trs/patch-1
doc: Update Tween cheatsheet URL
2023-06-15 16:08:35 +02:00
Rémi Verschelde 99068d48d4
Merge pull request #77920 from biswas08433/master
doc: Clarify description of `SceneTree.create_timer()`
2023-06-15 16:08:30 +02:00
Rémi Verschelde 95a9089fdd
Merge pull request #74813 from bruvzg/text_edit_autowrap
[TextEdit] Expose all auto-wrap modes.
2023-06-15 16:08:21 +02:00
biswas08433 bad7edd5a4
doc: Clarify description of `SceneTree.create_timer()`
Added the 'emit' and the 'signal' word to the 'create_timer()' method description, regarding timer behavior.
2023-06-15 15:17:31 +02:00
Rémi Verschelde 0da20d019e
Merge pull request #77412 from smix8/fix_threaded_navmesh_baking_4.x
Fix for threaded NavigationMesh baking under new thread guards
2023-06-15 10:49:58 +02:00
Hugo Locurcio 84a3fd9daa
Document initializing PackedVectorArray/PackedColorArray correctly 2023-06-15 07:50:54 +02:00
kleonc 77b8e0fcb7 Allow setting negative WorldBoundaryShape2D.distance through the editor 2023-06-14 14:54:00 +02:00
Rémi Verschelde 72ee877b22
Merge pull request #78203 from felaugmar/patch-1
Fixed `RichTextLabel::clear` documentation
2023-06-14 11:13:44 +02:00
Rémi Verschelde a2575cba48
Merge pull request #78212 from timothyqiu/move-towards
Clarify `move_towards` does not go past final value
2023-06-14 09:27:57 +02:00
Rémi Verschelde 754a52a4ab
Merge pull request #78201 from smix8/navmesh_cell_height_4.x
Fix `cell_height` for navigation meshes
2023-06-14 09:27:33 +02:00
Rémi Verschelde 41776634b6
Merge pull request #78161 from BastiaanOlij/expose_texture_native_handle
Expose `RD::texture_get_native_handle`
2023-06-14 09:25:59 +02:00
Rémi Verschelde 50b3b176cb
Merge pull request #76688 from ajreckof/backward_undo
Add `backward_undo_ops` as option for action
2023-06-14 09:23:56 +02:00
Hugo Locurcio 061397835d
Document known bugs with the Multi-Threaded thread model project setting
- Add a warning on project startup when using the Multi-Threaded option.
- Improve command line validation for the `--render-thread` CLI argument.
2023-06-14 08:37:04 +02:00
Haoyu Qiu 09767d5749 Clarify move_towards does not go past final value 2023-06-14 11:36:20 +08:00
Bastiaan Olij 6dd47e232b Expose RD::texture_native_handle 2023-06-14 09:58:08 +10:00
smix8 ee14b010ac Fix for threaded NavigationMesh baking under new thread guards
Fixes threaded NavigationMesh baking under new SceneTree thread guards that blocked the process.
2023-06-14 01:53:37 +02:00
Felipe Augusto Marques 630b75be31
Fixed `RichTextLabel::clear` documentation 2023-06-13 18:42:33 -03:00
smix8 180a5cded1 Fix `cell_height` for navigation meshes
Fixes `cell_height` for navigation meshes.
2023-06-13 23:24:32 +02:00
ajreckof 81aa5ad999 add backward_undo_ops as property for action 2023-06-13 15:32:05 +02:00
Rémi Verschelde ad935c4d93
Merge pull request #78172 from smix8/navpoly_cell_size_4.x
Add NavigationPolygon `cell_size` property
2023-06-13 13:53:06 +02:00
Rémi Verschelde ad85ecef8d
Merge pull request #77750 from RandomShaper/tidy_shader_data_items
Let editor workaround a case of inconsistency in compound scenes
2023-06-13 13:52:51 +02:00
Álex Román Núñez 938a837056 Disable NVIDIA's threaded optimization on Windows 2023-06-13 11:47:40 +02:00
Pedro J. Estébanez 96c469a138 Let editor workaround a case of inconsistency in compound scenes 2023-06-13 11:05:57 +02:00
smix8 9c8626bfd8 Add NavigationPolygon cell_size property
Adds NavigationPolygon cell_size property.
2023-06-13 10:53:07 +02:00
bruvzg 75e6ec8874
[TextEdit] Expose all auto-wrap modes. 2023-06-13 10:28:27 +03:00
Aaron Franke 1e6f30e6bd
Set both texture format overrides to false by default 2023-06-12 11:52:02 -05:00
Rémi Verschelde 7b1387ff21
Merge pull request #78139 from winston-yallow/document-audio-bus-index-from-name
Document behaviour of AudioServer.get_bus_index() if name doesn't exist
2023-06-12 17:10:52 +02:00
Rémi Verschelde e208cdb170
Merge pull request #78081 from smix8/obstacle_api_update_4.x
Update NavigationObstacle API
2023-06-12 17:10:28 +02:00
Rémi Verschelde c3e5e4ed4b
Merge pull request #68599 from Rindbee/update-edited_scene_root-in-time
Update the edit scene root in time after it is replaced
2023-06-12 17:08:50 +02:00
Winston 32be4b407d
Document behaviour of AudioServer.get_bus_index() if name doesn't exist 2023-06-12 16:56:31 +02:00
Rindbee eb74079dfb Update the edit scene root in time after it is replaced
When changing the type of the edited scene root node, it may be necessary
to update edited scene root in time for the child nodes to work properly.
2023-06-12 21:49:30 +08:00
Rémi Verschelde 2d6b880987
i18n: Sync translations with Weblate (now tracking 4.1 strings) 2023-06-12 14:57:08 +02:00
smix8 c1fc331b88 Update navigation obstacle API
Updates navigation obstacle API.
2023-06-12 14:26:45 +02:00
Rémi Verschelde b2335c0df7
Merge pull request #78132 from bruvzg/ios_rt_orient
[iOS] Fix orientation change in runtime.
2023-06-12 14:16:18 +02:00
bruvzg 974a7a89c6
[iOS] Fix orientation change in runtime. 2023-06-12 14:13:53 +03:00
lawnjelly a3ef092f18 Input - fix just pressed and released with short presses
Previously if an action was both pressed and released on the same tick or frame, `is_action_just_pressed()` would return false, resulting in missed input.

This PR separately the timestamp for pressing and releasing so each can be tested independently.
2023-06-12 11:14:58 +01:00
Rémi Verschelde 37d1dfef9d
Merge pull request #78000 from RandomShaper/let_users_mess_up
Let user scripts disable thread safety checks
2023-06-10 12:12:13 +02:00
Aaron Franke 944fbce347
Enable S3TC_BPTC but not ETC2_ASTC by default 2023-06-09 11:38:29 -05:00
Pedro J. Estébanez 2b001db76e Let user scripts disable thread safety checks 2023-06-09 18:24:01 +02:00
bruvzg b23f259e67
[Label] Add support for tab stops. 2023-06-09 12:59:37 +03:00
Rémi Verschelde 8328781a58
Merge pull request #77882 from Calinou/doc-renderingdevice-initialaction
Document the InitialAction enum in RenderingDevice
2023-06-08 19:41:46 +02:00
Rémi Verschelde 577ab3c565
Merge pull request #75746 from ajreckof/order_autocomplete
Sort code autocompletion with rules
2023-06-08 18:14:31 +02:00
Rémi Verschelde 176217c9d5
Merge pull request #77980 from YeldhamDev/not_so_disposable
Remove inaccuracy about re-using `Thread`s in its doc
2023-06-08 16:55:55 +02:00
Bruno f53589b277
doc: Update Tween cheatsheet URL 2023-06-08 16:14:29 +02:00
Rémi Verschelde e67de69573
Merge pull request #77963 from dsnopek/remove-gdextension-legacy-struct
Remove GDExtension compatibility code for Godot 4.0
2023-06-08 09:10:41 +02:00
Hugo Locurcio 0f82a0f569
Document the InitialAction enum in RenderingDevice
This also improves the documentation for the FinalAction enum,
and fixes an incorrect comment in the RenderingDevice header.
2023-06-08 03:54:38 +02:00
Fredia Huya-Kouadio b2cd6a8a95 Add setting to control the window used to run the project for the Android editor
The follow options were added to the (new) `run/window_placement/android_window` editor setting:

- `Same as Editor`: run the project in the same window as the editor
- `Side-by-side with Editor`: run the project in an adjacent window to the editor
- `Auto`: choose how to run the project based on the device screen size
2023-06-07 18:32:52 -07:00
Michael Alexsander c1e5001cf6
Remove inaccuracy about re-using `Thread`s in its doc 2023-06-07 16:39:53 -03:00
David Snopek ef9cb793d3 Remove GDExtension compatibility code for Godot 4.0 2023-06-07 13:01:42 -05:00
Rémi Verschelde 27b402bf73
Merge pull request #77902 from dalexeev/doc-unify-deprecations
Documentation: Unify deprecations
2023-06-07 16:06:50 +02:00
Danil Alexeev b433020aa6
Documentation: Unify deprecations 2023-06-07 16:34:03 +03:00
Ninni Pipping 6146c60cf8 Clarify use of size flags in `Control` 2023-06-07 11:35:20 +02:00
Rémi Verschelde c75d7e6d75
Merge pull request #77924 from Eranot/fix-tls-options-server-documentation
Fixing parameter order in the documentation of TLSOptions.server()
2023-06-07 11:02:09 +02:00
Rémi Verschelde bd62d8ee10
Merge pull request #77802 from dalexeev/tree-add-autowrap-mode
Tree: Add ability to configure text autowrap mode for individual cells
2023-06-07 11:02:02 +02:00
Rémi Verschelde a9350d4088
Merge pull request #77761 from JustinDodemaide/typo-fixes
NavigationAgent2D, NavigationAgent3D typo fixes
2023-06-07 11:01:46 +02:00
Eranot 4965125fce Fixing parameter order in the documentation of TLSOptions.server() 2023-06-06 20:33:38 +00:00
JustinDodemaide 29a228595c NavigationAgent2D, NavigationAgent3D typo fixes
Fixed minor spelling errors in the NavigationAgent2D and NavigationAgent3D classes.
fixes godotengine/godot-docs#7445
2023-06-06 11:38:33 -07:00
RedworkDE 7da1310952 Mark deprecated methods of MultiMesh in the docs 2023-06-05 21:17:40 +02:00
Rémi Verschelde d0dfc01035
Merge pull request #77821 from YeldhamDev/fallback!_fallback!_fallback!
Enhance icon fallback and their docs for exporters
2023-06-05 13:43:07 +02:00
Rémi Verschelde 9d3d2ead69
Merge pull request #77814 from RedworkDE/doc-node-queuefree
Clarify the docs on Node.queue_free
2023-06-05 13:43:03 +02:00
Michael Alexsander 71d8882a02
Enhance icon fallback and their docs for exporters 2023-06-03 19:28:50 -03:00
RedworkDE 1d0bd2f212 Clarify the docs on Node.queue_free 2023-06-03 22:28:20 +02:00
Danil Alexeev 010829f962
Tree: Add ability to configure text autowrap mode for individual cells 2023-06-03 15:17:35 +03:00
Aaron Franke 8b42297d7c
Make `Viewport::gui_get_focus_owner` const 2023-06-02 12:36:10 -05:00
Rémi Verschelde 5c2bb20f3d
Merge pull request #74688 from Calinou/doc-camera3d-visualinstance3d-layers-gi
Document GI techniques ignoring VisualInstance3D and Camera3D layers
2023-06-02 17:26:09 +02:00
Rémi Verschelde 86df3312b5
Merge pull request #67835 from Calinou/doc-arrayoccluder3d
Document the ArrayOccluder3D class
2023-06-02 17:26:02 +02:00
Hugo Locurcio 40bf95ca8e Document GI techniques ignoring VisualInstance3D and Camera3D layers
This also improves documentation for a few other properties in those classes.
2023-06-02 15:36:57 +02:00
Hugo Locurcio 922d2b7034 Document the database for `Input.get_joy_name()` and `Input.get_joy_guid()` 2023-06-02 13:13:06 +02:00
Yuri Sizov eab4075f1e
Merge pull request #77727 from AThousandShips/layer_doc
Clarify that `CanvasLayer`s are restricted to one `Viewport`
2023-06-02 12:53:45 +02:00
Yuri Sizov 2a50f8c107
Merge pull request #74595 from AurumKitsune/patch-1
Update C# code example to fix an error
2023-06-02 12:31:53 +02:00
Violet Johnson cb7fdad3b4 Update C# code example to fix an error
Update doc/classes/AnimationNodeStateMachinePlayback.xml

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-06-02 11:34:23 +02:00
Raul Santos 6723b4e8c3
C#: Fix dictionary key lookup documentation
The method to check if a key exists in the dictionary is called `ContainsKey`.
2023-06-02 11:13:03 +02:00
Danil Alexeev d5ad7bf23c
Update `PROPERTY_HINT_TYPE_STRING` docs 2023-06-02 09:08:04 +03:00
Ninni Pipping f5b6661c3e Clarify that `CanvasLayer`s are restricted to one `Viewport` 2023-06-01 13:22:13 +02:00
Rémi Verschelde 5c2295ff53
Merge pull request #77698 from enxas/fix-outdated-csharp
Fix outdated C# code example for class AnimationNodeOneShot
2023-06-01 00:40:53 +02:00
Rémi Verschelde d998323ab4
Merge pull request #77452 from Sauermann/fix-deprecate-push-unhandled-input
Deprecate push_unhandled_input
2023-06-01 00:40:44 +02:00
Rémi Verschelde 3dd0307f3f
Merge pull request #76348 from warriormaster12/pipeline-cache
Implement Vulkan pipeline caching
2023-06-01 00:40:33 +02:00
Rémi Verschelde bb58eb6a94
Merge pull request #74894 from rainlizard/patch-1
Document how to use the global animation library in GDScript
2023-06-01 00:40:25 +02:00
warriormaster12 dded713dc0 Implement Vulkan pipeline caching 2023-05-31 22:24:18 +03:00
Markus Sauermann 6d490ce8de Deprecate push_unhandled_input
The functionality of `push_unhandled_input` has changed so that it no
longer propagates input events to SubViewports.
This makes it less predictable and it should be deprecated in favor of
`push_input` which provides the same functionality and more.

Also this deprecation simplifies the Viewport-API by reducing the methods
for pushing input events, so that users don't need to worry about when
to use which function in order to insert input events.
2023-05-31 19:07:04 +02:00
unknown 5142b5d23c Fix outdated C# code example for class AnimationNodeOneShot 2023-05-31 19:25:32 +03:00
Yuri Sizov 95c8216923
Merge pull request #77694 from mhilbrunner/docs-close-access
Docs: Add FileAccess.close, remove duplicate example
2023-05-31 16:56:23 +02:00
Yuri Sizov 282f5ebda1
Merge pull request #47628 from Calinou/2d-editor-remove-contrained-view
Remove constrained view in the 2D editor
2023-05-31 16:35:54 +02:00
Max Hilbrunner aaf43a260e Docs: Add FileAccess.close, remove dupl. example 2023-05-31 16:28:21 +02:00
Yuri Sizov 83d5cbf519
Merge pull request #65269 from MJacred/docs/animationrootnode
Document AnimationRootNode
2023-05-31 13:30:13 +02:00
Yuri Sizov aefc468fe1
Merge pull request #77668 from winston-yallow/expose-marking-project-settings-internal
Expose method to set a project setting as internal
2023-05-31 13:05:06 +02:00
Yuri Sizov 5598fec7c0
Merge pull request #77446 from YuriSizov/gui-treeitem-add-child
Implement `TreeItem.add_child`
2023-05-31 13:02:19 +02:00
MJacred 986447c497 Add examples to AnimationRootNode Description 2023-05-31 11:45:58 +02:00