Commit Graph

8415 Commits

Author SHA1 Message Date
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