Fredia Huya-Kouadio
d17811c814
Re-architect how Android plugins are packaged and handled at export time
...
The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file.
This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins.
The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality:
- `_supports_platform`: returns true if the plugin supports the given platform
- `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin
- `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies
- `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin
- `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest
- `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest
- `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
2023-07-18 19:14:53 +02:00
Yuri Sizov
e8aa8c17d2
Merge pull request #79574 from bruvzg/win_nat_d
...
[Windows] Implement native file selection dialog support.
2023-07-18 19:04:40 +02:00
bruvzg
d3ca91ad6a
[Windows] Implement native file selection dialog support.
2023-07-18 17:23:58 +03:00
kobewi
b883f32188
Check for unsaved changes when closing a scene
2023-07-18 14:27:56 +02:00
kobewi
6dc5dc3479
Add `_get_unsaved_status()` method to EditorPlugin
2023-07-18 14:18:36 +02:00
Yuri Sizov
d70488892c
Merge pull request #79483 from smix8/nav2d_pj_props_4.x
...
Change 2D navigation ProjectSettings from integers to floats
2023-07-18 13:15:23 +02:00
Vincent D
c13e3a9fb0
add clipboard get image methods for windows and macos
...
Co-Authored-By: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-07-17 23:47:27 +02:00
Markus Sauermann
e6386bc843
Make `SubViewportContainer` event propagation aware of focused Control
...
Propagate `InputEvents` without position either
- during the Input-stage, when it has focus or
- during the Unhandled-Input-stage, otherwise
This makes sure that Gui-Input happens in the correct order.
Move "Unhandled key Input" handling before "Unhandled Input" handling,
so that Unicode input with Alt / Ctrl modifiers are sent to the nodes
in the correct order.
Change the default focus mode of `SubViewportContainer` from
`FOCUS_NONE` to `FOCUS_CLICK`, to automatically remove focus from
other `Control`-nodes, when clicking inside a `SubViewport`.
2023-07-17 22:38:35 +02:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
Yuri Sizov
3d04a22d7c
Merge pull request #79103 from AThousandShips/array_slice_range
...
Fix range error for `Array.slice`
2023-07-17 16:48:48 +02:00
Hugo Locurcio
a39190a18f
Allow using floating-point bone sizes and outline widths in the 2D editor
...
This is useful when animating pixel art sprites in the 2D editor,
as a value of `1` is often too large when zoomed in.
2023-07-17 12:44:09 +02:00
Hugo Locurcio
5e117ee7bf
Skip keyframe creation dialog when holding Shift in the animation editor
...
The editor setting to always bypass the confirmation dialog was removed,
since the new shortcut effectively supersedes it in a more granular way.
2023-07-17 12:09:32 +02:00
Hugo Locurcio
823ac214d1
Clarify the purpose of RichTextLabel text highlight padding
2023-07-17 08:53:38 +02:00
Yuri Roubinski
5f56aa88f8
Add the fill region methods to the `AStarGrid2D`
2023-07-15 16:52:29 +03:00
Bastiaan Olij
a22f495a3c
Split raster barrier into vertex and fragment barrier
2023-07-15 12:30:32 +10:00
smix8
2852fb43f7
Change 2D navigation ProjectSettings from integers to floats
...
Changes 2D navigation ProjectSettings from integers to floats.
2023-07-14 22:36:06 +02:00
Yuri Sizov
5f23b8b916
Merge pull request #78451 from alula/integer-zoom
...
Add option to swap default Alt+scroll zooming behavior in 2D editor
2023-07-14 21:27:54 +02:00
Yuri Sizov
0f7625ab46
Merge pull request #76859 from HolonProduction/emission-finished-gpu
...
Add `finished` signal to GPUParticles
2023-07-14 18:50:56 +02:00
Yuri Sizov
a91f0e6bca
Merge pull request #76853 from HolonProduction/emission_finished
...
Add `finished` signal to CPUParticles
2023-07-14 18:50:51 +02:00
Yuri Sizov
d087eb7faa
Merge pull request #79406 from Calinou/docstatus-fix-version
...
Fix `doc_status.py` trying to get removed `version` tag from XML
2023-07-14 18:50:04 +02:00
Yuri Sizov
d8c0d63f07
Merge pull request #79393 from Sauermann/fix-window-focux-indicator
...
Add a default theme for unfocused Windows
2023-07-14 18:50:01 +02:00
Yuri Sizov
892bc5f966
Merge pull request #79330 from mihe/ray-cast-back-faces
...
Add `hit_back_faces` property to `RayCast3D`
2023-07-14 18:49:49 +02:00
Yuri Sizov
0231611ee0
Merge pull request #79206 from raulsntos/doc-mention-csharp-differences
...
Add a warning about C# differences in classref doc
2023-07-14 18:49:36 +02:00
Yuri Sizov
5c56206e6c
Merge pull request #79011 from bruvzg/pop_all
...
[RTL] Add `pop_all`, `push_context` and `pop_context` methods, and use it for `print_rich` to avoid unclosed tags.
2023-07-14 18:49:21 +02:00
Hugo Locurcio
c16db0935f
Fix `doc_status.py` trying to get removed `version` tag from XML
...
This also runs `doc_status.py` on CI to catch potential future regressions.
2023-07-13 16:25:54 +02:00
Markus Sauermann
576980f960
Add a default theme for unfocused Windows
...
At the moment it is impossible to distinguish between focused and
unfocused embedded Windows.
Add a new `theme_item` that is used for coloring the border of
unfocused Windows.
2023-07-12 22:35:03 +02:00
bruvzg
4790da7900
[macOS] Implement optional native file selection dialog support for sandboxed apps.
2023-07-12 22:36:24 +03:00
Yuri Sizov
ff689003a5
Merge pull request #77993 from bruvzg/key_lbl_from_p
...
Implement DisplayServer.keyboard_get_label_from_physical method.
2023-07-12 21:02:37 +02:00
Yuri Sizov
a927b22f65
Merge pull request #77257 from rakkarage/tile_animation_sync
...
Add `TileSetAtlasSource::TileAnimationMode` options and allow to shuffle tile animations
2023-07-12 21:02:31 +02:00
Yuri Sizov
0fa808ba5e
Merge pull request #77085 from BastiaanOlij/visualise_direction_shadowmap_frustum
...
Draw frustum splices ontop of direction shadow atlas for debug purposes
2023-07-12 21:02:25 +02:00
S.V.I. Vilcrow
56e2fad319
Fixed the jumping to function definition using 'Ctrl+LMB' and the 'Lookup Symbol' button.
2023-07-12 21:30:35 +03:00
Yuri Sizov
287f3aa4e9
Fix documentation validation after 8352122e70
2023-07-12 17:30:34 +02:00
Yuri Sizov
55b74c7cdf
Merge pull request #76045 from Eoin-ONeill-Yokai/steaminput-fix
...
Prevent double input events on gamepad when running through steam input
2023-07-12 17:16:36 +02:00
Yuri Sizov
d13369eee1
Merge pull request #68140 from quinnyo/auto-complete-option
...
Add editor setting to toggle automatic code completion
2023-07-12 17:15:51 +02:00
Yuri Sizov
f25233cbc9
Merge pull request #49524 from Calinou/document-editor-import-options
...
Document editor import options in the class reference
2023-07-12 17:15:19 +02:00
Yuri Sizov
4e66c4cdd9
Merge pull request #77191 from smix8/navigationregion_map_change_4.x
...
Add NavigationRegion function to change navigation map
2023-07-12 17:15:13 +02:00
Yuri Sizov
1978b7c717
Merge pull request #77858 from kinami-imai/expose_videostreamplayer_video_length
...
Expose VideoStreamPlayer video length
2023-07-12 17:14:44 +02:00
Yuri Sizov
216aa450a6
Merge pull request #77857 from kinami-imai/add_loop_property_to_videostreamplayer
...
Add `loop` property to VideoStreamPlayer
2023-07-12 17:14:38 +02:00
Yuri Sizov
d676246647
Merge pull request #79137 from smix8/region_bake_depr_4.x
...
Mark NavigationServer3D.region_bake_navigation_mesh() as deprecated
2023-07-12 15:09:50 +02:00
Yuri Sizov
5167bed9f0
Merge pull request #79053 from Daylily-Zeleen/daylily-zeleen/rich_text_label_missing_default_method_value
...
Bind missing default value for `RichTextLabel` methods.
2023-07-12 15:09:41 +02:00
Yuri Sizov
b54d6cf466
Merge pull request #78393 from AThousandShips/tree_tooltip
...
Add ability to set the tooltip text of a `TreeItem` button
2023-07-12 15:09:09 +02:00
Yuri Sizov
6960a1d0e8
Merge pull request #78248 from felaugmar/load-svg-adjustable-scale
...
Added `Image::load_svg_from_(buffer|string)`
2023-07-12 15:09:03 +02:00
Yuri Sizov
b4a11294e6
Merge pull request #75460 from joao-pedro-braz/add_new_item_stylebox_to_the_tree_control
...
Add a new "inner_item_margin" Theme constant to the Tree control
2023-07-12 15:08:36 +02:00
HolonProduction
a1c0d206e8
Add `finished` signal to CPUParticles
2023-07-12 13:45:02 +02:00
HolonProduction
5322e255ad
Add `finished` signal to GPUParticles
2023-07-12 13:29:47 +02:00
Yuri Sizov
aa353df8cb
Merge pull request #79306 from KoBeWi/broken_as_intended
...
Clarify return value of `get_dependencies()`
2023-07-12 13:03:07 +02:00
Septian
377cbaba43
Fix documentation for consistency
2023-07-12 05:33:49 +07:00
kobewi
f567af413a
Clarify return value of get_dependencies()
2023-07-11 13:28:34 +02:00
Mikael Hermansson
273f7e1c57
Add `hit_back_faces` property to `RayCast3D`
2023-07-11 13:02:13 +02:00
Rémi Verschelde
f438fdb752
Merge pull request #79310 from timothyqiu/remap
...
Clarify `EditorExportPlugin::add_file` only remaps in `_export_file`
2023-07-11 11:31:08 +02:00
Rémi Verschelde
6cb1162aa0
Merge pull request #79000 from AThousandShips/owner_error
...
Improve error message for `Node.set_owner`
2023-07-11 11:29:30 +02:00
Daylily-Zeleen
4029a05fae
Add missing default value for RichTextLabel method
2023-07-11 11:17:45 +08:00
Haoyu Qiu
df1d354d36
Clarify EditorExportPlugin::add_file only remaps in _export_file
2023-07-11 09:27:21 +08:00
Hendrik Brucker
662d8c76b3
Remove GraphNode's comment property and related functionality
...
(this functionality will be reintroduced in a new and more flexible way)
2023-07-11 02:05:25 +02:00
Eoin O'Neill
8de98dbf21
Prevent double input events on gamepad when running through steam input
...
During GDC and general testing on Steam Deck units, we found that single
gamepads would often register inputs twice under certain circumstances.
This was caused by SteamInput creating a new virtual device, which Godot
registers as a second gamepad. This resulted in two gamepad devices
reporting the same button presses, often leading to buggy input response
on games with no multi-device logic and other-wise could cause intended
Steam rebindings to not work as intended (for example, swapping o and x
on a playstation pad if that feature isn't supported by the game.)
SDL gets around this by taking in a list of devices that are to be
ignored. When valve sees a controller that wants to be rebound via
SteamInput, they push a new VID/PID entry onto the environment
variable `SDL_GAMECONTROLLER_IGNORE_DEVICES` for the original gamepad
so that all game inputs can be read from the virtual gamepad instead.
This leverages the same logic as we are already using SDL gamepad
related HID mappings.
2023-07-10 15:26:33 -07:00
Rémi Verschelde
74f14884cd
Merge pull request #79250 from cbscribe/rb_doc_fix
...
Fix rigid body `contact_monitor` property description
2023-07-10 10:37:20 +02:00
smix8
976f5338c5
Add performance note for parsing source geometry
...
Adds performance note for parsing source geometry.
2023-07-09 21:19:22 +02:00
Chris Bradfield
6d85481670
Fix rigid body property description
2023-07-09 11:21:24 -07:00
bruvzg
5216a08617
[RTL] Add `pop_all`, `push_context` and `pop_context` methods, and use it for `print_rich` to avoid unclosed tags.
2023-07-09 19:53:15 +03:00
Raul Santos
a164e3e7b3
Add a note about C# differences in classref doc
2023-07-09 01:44:48 +02:00
Septian
486609eccf
Fix various typos in documentation
2023-07-09 04:41:18 +07:00
Rémi Verschelde
8eeb7c9061
Merge pull request #79174 from aaronfranke/eng-get-arch-doc
...
Fix incorrect documentation for `Engine.get_architecture_name()`
2023-07-08 18:23:29 +02:00
Rémi Verschelde
ce32fe974e
Merge pull request #79048 from sepTN/its-platform-not-plafrom
...
Fix a typo in the TLSOptions documentation
2023-07-08 18:21:28 +02:00
Septian
b88b6b4f48
fix typo on TLSOptions.xml and library_godot_display.js
2023-07-08 13:34:50 +07:00
Ninni Pipping
7752a0d8d1
Fix range error for `Array.slice`
2023-07-07 23:19:42 +02:00
Aaron Franke
ebc6ec1692
Fix incorrect documentation for `Engine.get_architecture_name()`
2023-07-07 14:51:51 -05:00
smix8
d253cd7864
Add clear() function to NavigationMesh / NavigationPolygon
...
Adds clear() function to NavigationMesh / NavigationPolygon.
2023-07-07 16:27:39 +02:00
Rémi Verschelde
e00dc3c719
Merge pull request #75806 from bcmpinc/issue-61174
...
Fix Camera3D `project_*` methods not accounting for frustum offset
2023-07-07 16:01:47 +02:00
Rémi Verschelde
69dbbcc313
Merge pull request #79092 from akien-mga/doctool-remove-version-attribute
...
Doctool: Remove version attribute from XML header
2023-07-07 08:34:55 +02:00
Rémi Verschelde
8a84a3914e
Merge pull request #79087 from Daylily-Zeleen/daylily-zeleen/fix_shell_show_in_file_manager
...
Fix the fallback logic of `OS::shell_show_in_file_manager`.
2023-07-07 08:34:31 +02:00
smix8
f7ebce2626
Mark NavigationServer3D.region_bake_navigation_mesh() as deprecated
...
Marks NavigationServer3D.region_bake_navigation_mesh() as deprecated.
2023-07-07 02:30:14 +02:00
Amir-Rasteg
9744657bb8
Fix a typo in the `String.to_float` description
2023-07-06 17:27:58 +02:00
Rémi Verschelde
81064cc239
Doctool: Remove version attribute from XML header
...
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
Daylily-Zeleen
9dd9818c88
Fixed the fallback logic of OS::shell_show_in_file_manager
2023-07-06 13:16:04 +08:00
Rémi Verschelde
346f1ab86b
Bump version to 4.2-dev
...
Keep on waitin'
2023-07-05 22:07:03 +02:00
MewPurPur
3d128f67a4
Rename button_pressed bindings to avoid shadowing
2023-07-05 18:38:18 +02:00
Rémi Verschelde
d28f9afdc6
i18n: Sync translations with Weblate
2023-07-05 16:04:29 +02:00
Yuri Sizov
c16afc1c2d
Merge pull request #79050 from capnm/fix_teststr_what
...
Fix import hints that are followed by dot.number
2023-07-05 15:59:44 +02:00
Martin Capitanio
470083caed
Fix import hints that are followed by dot.number.
...
Fixes #78881 .
2023-07-05 14:49:53 +02:00
Pedro J. Estébanez
4354cd8d41
Reimplement scene change
2023-07-04 13:29:50 +02:00
Ninni Pipping
0183340012
Improve error message for `Node.set_owner`
2023-07-04 08:51:12 +02:00
Ninni Pipping
9a9a164e7d
Clarify that `Gradient.colors/offsets` are returned by-copy
2023-07-03 14:00:51 +02:00
Rémi Verschelde
16dd4e5725
i18n: Sync translations with Weblate
2023-06-29 13:33:56 +02:00
Hannah Crawford
444e1a8e2c
Add layer, shadow and visibility range options to Scene Importer.
2023-06-28 17:09:23 +01:00
Rémi Verschelde
9e903e462c
Merge pull request #78784 from timothyqiu/editor-import-plugin-example
...
Fix function signature in `EditorImportPlugin` example
2023-06-28 14:33:48 +02:00
Curry
2357837c43
Correct description of ParticleProcessMaterial.lifetime_randomness
2023-06-28 18:24:38 +10:00
Haoyu Qiu
cea00ebf58
Fix function signature in EditorImportPlugin example
2023-06-28 15:27:38 +08:00
Rémi Verschelde
5e2f03fc99
Merge pull request #78711 from groud/explain_rpc
...
Explain a bit more RPCs options
2023-06-27 23:01:24 +02:00
Gilles Roudière
538c4b62b7
Explain a bit more RPCs options
2023-06-27 11:25:15 +02:00
Rémi Verschelde
9d089fe6e5
i18n: Sync translations with Weblate
2023-06-26 19:40:50 +02:00
Rémi Verschelde
afc5fa14ad
Merge pull request #78700 from AThousandShips/mutex_doc
...
Fix documentation for `Mutex.try_lock`
2023-06-26 10:13:53 +02:00
Rémi Verschelde
320711bc8b
Merge pull request #78677 from smix8/navserver_default_values_4.x
...
Add missing default Callables for new NavigationServer geometry parse and bake functions
2023-06-26 10:13:29 +02:00
Rémi Verschelde
33726f97b5
Merge pull request #78676 from smix8/doc_globalscope_navserver3d_4.x
...
Fix GlobalScope doc link for NavigationServer3D
2023-06-26 10:13:06 +02:00
Rémi Verschelde
a93c671b7d
Merge pull request #78660 from AThousandShips/doc_node_path
...
Add example for `NodePath` to grandparent
2023-06-26 10:11:56 +02:00
Rémi Verschelde
a791103069
Merge pull request #78626 from Sauermann/fix-centered-doc
...
Fix documentation of `popup_centered_ratio`
2023-06-26 10:11:04 +02:00
Ninni Pipping
40e2168ac6
Fix documentation for `Mutex.try_lock`
...
Documentation was not updated when return type was changed from `Error`
to `bool`
2023-06-26 08:48:47 +02:00
smix8
8bd14e5ca3
Add missing default Callables for new NavigationServer geometry parse and bake functions
...
Adds missing default Callables for new NavigationServer geometry parse and bake functions.
2023-06-25 19:08:50 +02:00
smix8
8e31d986c3
Fix GlobalScope doc link for NavigationServer3D
...
Fixes GlobalScope doc link for NavigationServer3D.
2023-06-25 19:04:56 +02:00
Ninni Pipping
e9c9285213
Clarify restrictions on nested `MultiplayerAPI` in `SceneTree`
2023-06-25 11:29:05 +02:00
Ninni Pipping
3147d84647
Add example for `NodePath` to grandparent
2023-06-25 10:25:22 +02:00
Markus Sauermann
a1f517b77d
Fix documentation of `popup_centered_ratio`
2023-06-23 22:35:25 +02:00
Rémi Verschelde
dbcbba5575
Merge pull request #78575 from brno32/bind-light-param-intensity
...
Binding LIGHT_PARAM_INTENSITY in RenderingServer
2023-06-23 08:48:20 +02:00
Felipe Augusto Marques
26eb3db234
Added Image's `load_svg_from_(buffer|string)`
...
No core dependency to the svg module.
2023-06-23 00:43:43 -03:00
Alex Drozd
d9cc22af8f
Binding LIGHT_PARAM_INTENSITY in RenderingServer
2023-06-22 23:29:47 +02:00
Rémi Verschelde
522a2ea3f4
Merge pull request #78562 from MewPurPur/document-shader-include
...
Document ShaderInclude
2023-06-22 18:42:16 +02:00
Rémi Verschelde
af16013905
Merge pull request #78571 from MewPurPur/include-extension-info
...
Document file extensions of GDScript, CSharpScript, and Shader
2023-06-22 18:32:25 +02:00
MewPurPur
8848c395b6
Add information about file extension to GDScript, CSharpScript, and Shader
2023-06-22 18:56:08 +02:00
Rémi Verschelde
de3d4e3cec
Merge pull request #78517 from AThousandShips/callable_serialize
...
Ensure `RID`, `Callable`, and `Signal` are stored as strings
2023-06-22 18:30:51 +02:00
MewPurPur
da84efc96d
Document ShaderInclude
2023-06-22 18:25:21 +02:00
Ninni Pipping
77491d0a62
Clarify the return value of `Curve2D.sample_baked_with_rotation`
...
The return value is a broken `Transform2D`, this clarifies how to use
it.
2023-06-22 18:06:15 +02:00
Ninni Pipping
9159208ed1
Ensure `RID`, `Callable`, and `Signal` are stored as strings
...
Prevents parser errors in `.tscn` and `.tres` files where the assignment
would otherwise be empty.
2023-06-22 17:01:08 +02:00
Yuri Sizov
57e61db115
Merge pull request #75533 from RedworkDE/net-no-reload-noncollectible
...
C#: Fix editor integration breaking and causing error spam when reloading assemblies fails
2023-06-22 12:45:02 +02:00
Rémi Verschelde
95f561dc30
Merge pull request #78541 from BWPanda/patch-1
...
Fix example in JSON class.
2023-06-22 10:30:11 +02:00
Rémi Verschelde
d40c45ed99
Merge pull request #77688 from L4Vo5/clarify-deferred
...
Clear up misconceptions about when deferred things run in the docs
2023-06-22 10:29:56 +02:00
Peter Anderson
0f64c6a952
Fix example in JSON class.
2023-06-21 22:41:14 +00:00
Yuri Roubinski
230385b587
Add `String.reverse` method
2023-06-21 20:40:48 +03:00
Alula
9676905aee
Add option to swap Alt+scroll zooming behavior in 2D editor
...
Update doc/classes/EditorSettings.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-06-21 18:56:58 +02:00
RedworkDE
e0f644a48d
C#: Fix editor integration breaking and causing error spam when reloading assemblies fails
...
- Do not reload scripts from non-collectible assemblies
- Do not load GodotTools as collectible
- Do not attempt to reload the same project assembly forever
2023-06-21 12:47:52 +02:00
Rémi Verschelde
3e5c50bc2f
Merge pull request #78250 from Ryan-000/master
...
Clarify that authority is not automatically replicated
2023-06-21 10:19:00 +02:00
Rémi Verschelde
9e56f28d0e
Merge pull request #75345 from Rindbee/fix-wrong-description-in-EditorSettings
...
Fix wrong descriptions in EditorSettings
2023-06-21 10:18:09 +02:00
Rindbee
19d77ea90d
Fix wrong descriptions in EditorSettings
...
Fix wrong descriptions about `editors/3d/grid_division_level_max`
and `editors/3d/grid_division_level_min`.
2023-06-21 07:16:30 +08:00
Ryan Memarpour
9dc850a2ea
Clarify that authority is not automatically replicated.
2023-06-20 21:49:02 +02:00
Yuri Sizov
58fae90ff3
Merge pull request #78477 from groud/fix_tileset_set_as_local_to_scene
...
Fixes TileSet set as local to scene
2023-06-20 20:49:16 +02:00
Bauke Conijn
47e63bc55f
Fix Camera3D project_* methods not accounting for frustum offset
...
This does not fix Camera3D::project_ray_normal().
Adds Camera3D::get_camera_projection() and exposes it to GDScript
2023-06-20 20:45:50 +02:00
quinnyo
68c24f9993
Add code_complete_enabled code editor setting
2023-06-21 02:51:05 +10:00
L4Vo5
01f887ee4f
Clarify when things with _IDLE and _PHYSICS enums will run
2023-06-20 13:25:26 -03:00
Gilles Roudière
c54d407fa5
Fixes TileSet set as local to scene
2023-06-20 17:48:56 +02:00
Ninni Pipping
edff9ebd18
Clarify `String.get_slice` behavior
...
Clarify that the function returns the whole string if there is no
instances of the delimiter in the string.
2023-06-20 10:33:56 +02:00
Rémi Verschelde
217a20a8a0
Merge pull request #78448 from akien-mga/black-23.3.0
...
CI: Update static checks to black 23.3.0
2023-06-20 00:05:39 +02:00
Rémi Verschelde
7fd625d2d5
Merge pull request #78420 from ana-rchy/"TranferMode"-typo
...
doc: Fix "TranferMode" typo in `Node.rpc_config` description
2023-06-20 00:05:16 +02:00
Rémi Verschelde
6aa7fd7d8b
Merge pull request #77800 from BWPanda/patch-1
...
Update Array's `remove_at()` description to cover removing the last element.
2023-06-20 00:04:24 +02:00
Rémi Verschelde
b06b00eb44
Merge pull request #77734 from dalexeev/doc-property-hint-type-string
...
Update `PROPERTY_HINT_TYPE_STRING` docs
2023-06-20 00:03:37 +02:00
ana-rchy
e74c932ee3
doc: Fix "TranferMode" typo in `Node.rpc_config` description
2023-06-19 23:35:37 +02:00
Rémi Verschelde
c9c941e339
CI: Update static checks to black 23.3.0
...
And apply it to the codebase, removing empty lines at the start of blocks.
2023-06-19 23:33:02 +02:00
Peter Anderson
bdffb74f06
Update Array's `remove_at()` description to cover removing the last element
2023-06-19 23:14:46 +02:00
Rémi Verschelde
080d471e98
Merge pull request #75200 from Calinou/debugger-editor-settings-add-property-hints
...
Add property hints for debugger/profiler editor settings
2023-06-19 21:39:10 +02:00
Rémi Verschelde
4a0bb80b18
Merge pull request #78396 from Sauermann/fix-focus-doc
...
Made window focus notification docs more precise
2023-06-18 16:33:51 +02:00
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
Ninni Pipping
75b355ee99
Add ability to set the tooltip text of a `TreeItem` button
2023-06-18 11:14:32 +02:00
L4Vo5
2747dd35e7
clarify the meaning of "deferred"
2023-06-18 00:46:58 -03:00
smix8
c4f544f802
Add ProjectSettings navigation map default up
...
Adds ProjectSettings navigation map default up.
2023-06-17 11:29:17 +02: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
smix8
84647ab09e
Add NavigationRegion function to change navigation map
...
Adds NavigationRegion function to change navigation map.
2023-06-15 12:04:57 +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
8352122e70
Document editor import options in the class reference
...
Tooltips are displayed when hovering import options, both in the Import
dock and in the import defaults editor (which is in the Project Settings).
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-06-15 08:30:48 +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
Bastiaan Olij
d9eb9665da
Draw frustum splices ontop of direction shadow atlas for debug purposes
2023-06-11 11:48:11 +10: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
bruvzg
08e8ff371d
Implement keyboard_get_label_from_physical method.
2023-06-08 10:13:31 +03: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
Rakka Rage
6dbae30000
Add tile_animation_mode option:
...
- to tile animation properties
- when "Default" each animation starts at time 0.
- when "Random Start Times" each animation starts at random time.
2023-06-06 09:31:18 -04:00
今井きなみ
15719e278b
Add loop property to VideoStreamPlayer
2023-06-05 21:37:11 +02:00
今井きなみ
e3da9176a0
Expose VideoStreamPlayer video length
2023-06-05 21:30:38 +02: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
João Pedro Braz
670b7bec9a
Add the "inner_item_margin" Theme constant to the Tree control
...
This PR adds the "inner_item_margin" Theme constant to the Tree Control.
It behaves like a horizontal padding (in CSS), but only in the active
writing direction (So on LTR it'll apply a left padding and on RTL right
padding).
The Editor Theme has been updated to make use of this and a result items
in Trees and ItemLists no longer "hugs" their border, expressing a proper
spacing instead.
2023-06-02 11:32:40 +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
Yuri Sizov
3ed7bdc26f
Implement `TreeItem.add_child`
2023-05-31 11:36:23 +02:00
kobewi
5baebf75f2
Small rework of tooltip plugins
2023-05-30 23:13:50 +02:00
Winston
50d8ee8eee
Expose ProjectSettings.set_as_internal()
2023-05-30 21:16:29 +02:00
Yuri Sizov
abba4e951a
Merge pull request #75614 from AThousandShips/vector_doc
...
Add more info on the nature of NAN
2023-05-30 16:21:38 +02:00
Yuri Sizov
2e1e78f3fc
Merge pull request #77650 from mhilbrunner/Doc-Patch-1
...
Update HTTPRequest Class Documentation
2023-05-30 16:20:17 +02:00
Yuri Sizov
379f28d7dc
Merge pull request #77226 from aaronfranke/clamp
...
Document that clamp works with any type that supports greater/less than
2023-05-30 16:12:01 +02:00
Yuri Sizov
f00641af9d
Merge pull request #77657 from vmedea/color-hex-doc
...
Clarify doc for Color.hex
2023-05-30 15:59:39 +02:00
Yuri Sizov
c697cac667
Merge pull request #76272 from BWPanda/patch-2
...
Add Stretch Mode description to ProjectSettings.xml
2023-05-30 15:58:52 +02:00
Yuri Sizov
6dd5ccdedd
Merge pull request #66625 from Sauermann/fix-move-child-update
...
Create a virtual mouse move event after moving child nodes in tree
2023-05-30 15:57:21 +02:00
TechnicalSoup
d185220b32
Update HTTPRequest Class Documentation
...
Reword the timeout member definition to indicate that example timeout values are suggestions.
Add definition for timeout constant.
Apply suggestions from code review
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-05-30 15:51:07 +02:00
Yuri Sizov
f067e27e0b
Merge pull request #77017 from Calinou/doc-noisetexture-seamless-small
...
Document seamless caveats on small textures in NoiseTexture2D and NoiseTexture3D
2023-05-30 15:43:22 +02:00
Ninni Pipping
5e3c625e24
Add more info on the nature of NAN
2023-05-30 15:38:10 +02:00
mara
779ac20bb9
Clarify doc for Color.hex and C# Color()
...
The "alpha channel first" seems misleading to me. It doesn't match with
the examples, so remove it. Add a more detailed specification of the
expected number format in hex.
2023-05-30 15:15:04 +02:00
Yuri Sizov
dad480e7be
Merge pull request #75483 from PoolloverNathan/patch-1
...
Update outdated syntax in `JavaScriptBridge` doc
2023-05-30 13:59:03 +02:00
Yuri Sizov
ff47051869
Merge pull request #75455 from archsolar/patch-1
...
Docs: Fix SurfaceTool example caps typo
2023-05-30 13:57:11 +02:00
Yuri Sizov
7b6a06575d
Merge pull request #77227 from you-win/docs/cannot-use-not-operator-for-strings
...
Mention that the not operator cannot be used with Strings and StringNames
2023-05-30 13:56:24 +02:00
Peter Anderson
77a61084aa
Add Stretch Mode description to ProjectSettings.xml
...
Update doc/classes/ProjectSettings.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-05-30 13:01:13 +02:00
PoolloverNathan
04480f196a
Update outdated syntax in `JavaScriptBridge` doc
...
According to `JavaScriptBridge`, thus takes a Callable, not an object/string pair.
2023-05-30 12:27:38 +02:00
archsolar
6719fea8dc
Docs: Fix SurfaceTool example caps typo
2023-05-30 11:44:07 +02:00
Tim Yuen
18fa7cf967
Mention that the not operator cannot be used with Strings and StringNames
2023-05-30 11:33:17 +02:00
TLAliceDev
dde46d75c4
Updated texture_button documentation
...
Old description implied that the normal texture would not be displayed while the button is on focus. That is not the case.
2023-05-30 11:12:23 +02:00
Markus Sauermann
ce10ca6979
Create a virtual mouse move event after moving child nodes
...
This updates mouse cursor and mouse-over-states without the need
for additional mouse movements.
2023-05-29 22:46:19 +02:00
Yuri Sizov
b4ac381f30
Merge pull request #77609 from RedworkDE/class-ref-code-fixes
...
Fix more issues with code tags in class reference
2023-05-29 17:37:16 +02:00
Yuri Sizov
989dedddf9
Merge pull request #77577 from YeldhamDev/improve_window_docs
...
Improve `Window` documentation
2023-05-29 17:34:24 +02:00
Yuri Sizov
c5e989209c
Merge pull request #76151 from MewPurPur/square-gradient2d
...
Add a square fill mode to GradientTexture2D
2023-05-29 17:17:16 +02:00
Yuri Sizov
b986d30ec0
Merge pull request #76600 from MewPurPur/improve-docs-top-sections-PHYS
...
Overhaul the top sections of the class reference (Physics classes)
2023-05-29 17:14:38 +02:00
Yuri Sizov
7505fbd939
Merge pull request #76702 from MewPurPur/improve-docs-top-sections-GUI
...
Overhaul the top sections of the class reference (GUI classes)
2023-05-29 17:13:38 +02:00
Yuri Sizov
490a76edc8
Merge pull request #76526 from MewPurPur/improve-docs-top-sections-CORE
...
Overhaul the top sections of the class reference (Core classes)
2023-05-29 17:08:40 +02:00
Yuri Sizov
5edcf4f3c7
Merge pull request #77614 from mhilbrunner/class_ref_documentation_object_set_meta
...
Docs: Update Object's class reference regarding meta data
2023-05-29 17:06:32 +02:00
Michael Alexsander
f7fced5e00
Improve `Window` documentation
2023-05-29 11:18:31 -03:00
Devin
cdc2e6d872
Updated Object's class reference documentation for set_meta to indicate metadata's name must be a valid identifier
2023-05-29 16:09:16 +02:00
RedworkDE
42ca35cfd7
Fix more issues with code tags in class reference
2023-05-29 15:46:34 +02:00
Rémi Verschelde
1ae0bb0e8f
Merge pull request #77606 from timothyqiu/balance
...
Fix code tag typo in class reference
2023-05-29 10:30:12 +02:00
Rémi Verschelde
8d79a7452b
Merge pull request #77581 from AThousandShips/doc_fixes
...
Minor grammar fixes to documentation
2023-05-29 10:30:04 +02:00
Rémi Verschelde
aa739bae4f
Merge pull request #76616 from TokageItLab/implement-anim-node-sub2
...
Implement `AnimationNodeSub2` to `AnimationTree` and allow less or greater value in mathematical `AnimationNode`
2023-05-29 10:29:02 +02:00
Rémi Verschelde
c97201babc
Merge pull request #76545 from JoNax97/gradient_color_spaces
...
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-29 10:28:58 +02:00
Rémi Verschelde
6dcd490d03
Merge pull request #66763 from MewPurPur/remove-bookmark-hiding
...
Remove editor setting for hiding bookmarks
2023-05-29 10:28:37 +02:00
Haoyu Qiu
85f137912d
Fix code tag typo in class reference
2023-05-29 15:47:04 +08:00
Ninni Pipping
17fb77223c
Minor grammar fixes to documentation
2023-05-28 18:27:56 +02:00
VolTer
151a4ba6a5
Overhaul the top sections of the class reference (GUI classes)
2023-05-28 14:24:54 +02:00
Silc Lizard (Tokage) Renew
26cc4bbd82
Remove out-dated lines from class reference of Skeleton3D
2023-05-27 21:08:36 +09:00
Silc Lizard (Tokage) Renew
c9c8205644
Implement NodeSub2 to AnimationTree & improve mathematical Nodes
2023-05-27 13:19:54 +09:00
JoNax97
c07b2fcf4d
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-26 16:18:01 -03:00
Allen Pestaluky
4e19f34856
Changed Subtract blend mode of Forward+ and Mobile renderers to match behaviour of the Godot 3 and Compatibility renderers
...
The OpenGL implementation has used GL_FUNC_REVERSE_SUBTRACT for a long time, but the new RenderingDevice abstraction used by the Vulkan renderers had been mistakenly set to BLEND_OP_SUBTRACT instead of BLEND_OP_REVERSE_SUBTRACT.
Fixes #77448
2023-05-26 10:50:35 -04:00
Dipal Zambare
41ac5a406e
Fix typo in CS notification example of the Object class
2023-05-25 10:09:12 +02:00
Rémi Verschelde
4c4bf58ffb
Merge pull request #77417 from winston-yallow/support-project-settings-usage-flags
...
Expose ProjectSettings.set_as_basic() to scripting
2023-05-25 09:25:19 +02:00
Winston
263aedc1ad
Expose ProjectSettings.set_as_basic() to GDScript
2023-05-24 13:28:08 +02:00
Silc Renew
42aa5398d9
Fix Pathfollow direction
...
Co-authored-by: aaronfranke <arnfranke@yahoo.com>
2023-05-24 17:37:00 +09:00
Rémi Verschelde
5562100d33
Merge pull request #77411 from saki7/control-get_drag_data-const
...
Expose `Control::_get_drag_data()` as non-const function
2023-05-24 08:49:57 +02:00
Rémi Verschelde
6f34a23439
Merge pull request #76082 from reduz/ability-to-look-at-in-model-space
...
Add the ability to look-at in model-space.
2023-05-24 08:46:53 +02:00
Juan Linietsky
5fdc1232ef
Add the ability to look-at in model-space.
...
This is a much simpler attempt to solve the same problem as #76060 , but without breaking any compatibility.
* Adds a description of what model space is in the Vector3 enums (MODEL_* constants). This has the proper axes laid out for imported 3D assets.
* Adds the option to `look_at` using model_space, which uses Vector3.MODEL_FRONT as forward vector.
The attempt of this PR is to still break the assumption that there is a single direction of forward (which is not the case in Godot)
and make it easier to understand where 3D models are facing, as well as orienting them via look_at.
2023-05-24 10:10:24 +09:00
Nana Sakisaka
3dbd47ecb6
Expose Control::_get_drag_data() as non-const function
2023-05-24 06:09:45 +09:00
Rémi Verschelde
012541763d
Merge pull request #77288 from puchik/expose_get_window_id
...
Expose get_window_id() from Window class
2023-05-23 19:14:24 +02:00
ajreckof
006e899bb3
sort code completions with rules
...
Fixups
Add levenshtein distance for comparisons, remove kind sort order, try to improve as many different use cases as possible
Trying again to improve code completion
Sort code autocompletion options by similarity based on input
To make it really brief, uses a combination `String.similiary`, the category system introduced in a previous PR, and some filtering to yield more predictable results, instead of scattering every completion option at seemingly random.
It also gives much higher priority to strings that contain the base in full, closer to the beginning or are perfect matches.
Also moves CodeCompletionOptionCompare to code_edit.cpp
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
Co-Authored-By: Eric M <41730826+EricEzaM@users.noreply.github.com>
2023-05-23 05:12:34 +02:00
bruvzg
aaddec7cb8
[TextServer] Add support for retrieving OpenType name strings.
2023-05-22 18:08:34 +03:00
Rémi Verschelde
58eef826a2
Merge pull request #77321 from skyace65/Polygon2D
...
Fix incorrect Polygon2D description
2023-05-22 14:12:31 +02:00
Rémi Verschelde
0bdea72092
Merge pull request #77323 from RedworkDE/gdextension-openlibrary-default-value
...
Bind forgotten default value for `GDExtension::open_library` argument
2023-05-22 13:49:26 +02:00
Rémi Verschelde
a54c011285
Merge pull request #77231 from AThousandShips/id_doc
...
Clarify range of various ID values are 32 bit
2023-05-22 13:49:02 +02:00
Rémi Verschelde
7a176459b1
Merge pull request #76899 from rakkarage/spring-tween
...
Add TRANS_SPRING to Tween
2023-05-22 13:48:47 +02:00
RedworkDE
402b3d146a
Bind forgotten default value for `GDExtension::open_library` argument
2023-05-22 00:14:55 +02:00
skyace65
7d9a0f1fe7
Fix incorrect Polygon2D description
2023-05-21 17:47:21 -04:00
Arman Elgudzhyan
49890a99c1
Expose get_window_id() from Window class
...
Window classes often need a Window ID for operations. This will help with performing operations on cached Windows.
2023-05-20 14:48:24 -07:00
bruvzg
fb78889904
[RichTextLabel] Add support for tab stops.
2023-05-20 22:58:51 +03:00
VolTer
e3d0da404f
Overhaul the top sections of the class reference (Physics classes)
2023-05-20 03:25:26 +02:00
Hugo Locurcio
86314e1e53
Remove constrained view in the 2D editor
...
We initially added an option to disable constraining the 2D editor view.
This setting was still enabled by default to avoid confusing users
who end up scrolling too far away from their current scene
(which is a problem if you don't know about the F key to focus
on the selection).
However, it's probably a better choice to unconstrain the 2D editor view
by default because:
- Lots of people don't know about this setting and wonder how they
can scroll far away from the scene. This feels really limiting for them,
and it can even lead to some people thinking Godot intentionally limits
scene sizes.
- The 3D editor doesn't have such a contrain mechanism.
This makes the 2D editor more consistent with the 3D editor.
2023-05-20 03:01:12 +02:00
Yuri Sizov
809a982162
Merge pull request #77247 from Piralein/nohashforyou
...
Fix C# code examples in `String` and `StringName`
2023-05-19 19:48:06 +02:00
Hana - Piralein
85e1fc2681
fix c# code example
2023-05-19 17:53:54 +02:00
Ninni Pipping
8cf98dda23
Clarify range of various ID values are 32 bit
2023-05-19 17:22:05 +02:00
Rémi Verschelde
aaa77d0d8f
Merge pull request #77132 from bruvzg/tts_disable
...
Add `audio/general/text_to_speech` project setting to enable/disable TTS.
2023-05-19 10:10:38 +02:00
Rémi Verschelde
7951252e42
i18n: Sync translations with Weblate
...
(cherry picked from commit acc82a1d05
)
2023-05-19 08:57:37 +02:00
Rémi Verschelde
57c49a4447
i18n: Sync translations with Weblate
...
(cherry picked from commit 9cd9a07c27
)
2023-05-19 08:57:25 +02:00
VolTer
04562662d3
Overhaul the top sections of the class reference (Core classes)
2023-05-19 07:04:48 +02:00
Aaron Franke
d209857ea7
Document that clamp works with any type that supports greater/less than
2023-05-18 20:18:08 -05:00
Yuri Sizov
2dc3294ad4
Merge pull request #77083 from Jess3Jane/stringname-docs
...
Accurately document StringName comparisons
2023-05-18 20:53:46 +02:00
bruvzg
5b9984b5a2
Add `audio/general/text_to_speech` project setting to enable/disable TTS.
2023-05-18 20:16:03 +03:00
Yuri Sizov
e9ba45e12e
Merge pull request #77174 from FranckRJ/improve-parallaxlayer-mirroring-doc
...
Replace "mirror" by "repeat" in doc of `ParallaxLayer::motion_mirroring`
2023-05-18 19:01:43 +02:00
jess3jane
2f9121dea6
Accurately document StringName comparisons
2023-05-18 18:44:28 +02:00
Max Hilbrunner
a521b85976
Small docs syntax fixes
2023-05-18 14:20:53 +02:00
FranckRJ
4e06f611b8
Replaced "mirror" by "repeat" in doc of ParallaxLayer::motion_mirroring
...
Also added a warning explaining that despite its name the texture isn't mirrored.
2023-05-18 00:09:46 +02:00
Rakka Rage
780e21bcac
Add TRANS_SPRING to Tween
2023-05-17 17:54:37 -04:00
voidshine
06d02928b7
Document MIDI zero velocity quirk
2023-05-17 12:19:25 -07:00
Rémi Verschelde
05cc281e4d
Merge pull request #77154 from RPicster/raffa/particles-noise-improvement
...
Reworked Particle Turbulence
2023-05-17 18:36:08 +02:00
Rémi Verschelde
26f96aec9d
Merge pull request #77143 from RandomShaper/fix_wtp_deadlocks
...
Avoid multiple possibilites of deadlock in resource loading
2023-05-17 15:59:18 +02:00
KdotJPG
91bdd4073b
Reworked Particle Turbulence - Rebased.
2023-05-17 14:25:21 +02:00
Rémi Verschelde
b0f49266f9
Merge pull request #76719 from m4gr3d/add_input_event_cancelled_state_main
...
Augment the `InputEvent` class with a `CANCELED` state
2023-05-17 11:25:21 +02:00
Rémi Verschelde
411b6a95a0
Merge pull request #52314 from lawnjelly/four_delta_smooth
...
Add frame delta smoothing option (4.x)
2023-05-17 11:25:03 +02:00
Pedro J. Estébanez
a6e43f71b6
Avoid multiple possibilites of deadlock in resource loading
2023-05-17 01:52:39 +02:00
David Snopek
9b9482d4bb
Rework GDExtension interface from a struct to loading function pointers
2023-05-16 10:27:46 -05:00
lawnjelly
7925670f81
Add frame delta smoothing option (4.x)
...
Frame deltas are currently measured by querying the OS timer each frame. This is subject to random error. Frame delta smoothing instead filters the delta read from the OS by replacing it with the refresh rate delta wherever possible.
This PR also contains code to estimate the refresh rate based on the input deltas, without reading the refresh rate from the host OS.
The delta_smooth_enabled setting can also be modified at runtime through OS::, and there is also now a command line setting to override the project setting.
2023-05-16 13:57:25 +01:00
Rémi Verschelde
d61827af05
Merge pull request #76605 from Rindbee/fix_get_visible_line_count
...
Fix calculation bug with `TextEdit::get_line_height()`
2023-05-16 10:59:52 +02:00
Rémi Verschelde
508a5bf16e
Merge pull request #76025 from YuriSizov/editor-reparentable-windows
...
Expose dialog parent-and-popup logic to the API
2023-05-16 10:49:09 +02:00
Rémi Verschelde
59c19a7172
Merge pull request #75250 from bruvzg/lbl_rtl_jst_flags
...
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
2023-05-16 10:48:45 +02:00
Rémi Verschelde
265c70a369
Merge pull request #75142 from bruvzg/scr
...
[DisplayServer] Implement screen_get_image method for LinuxBSD/X11, macOS and Windows.
2023-05-16 10:48:16 +02:00
Fredia Huya-Kouadio
250749fa79
Augment the `InputEvent` class with a `CANCELED` state
...
The `InputEvent` class currently supports the `pressed` and `released` states, which given the binary nature, is represented by a `bool` field.
This commit introduced the `CANCELED` state, which signals that an ongoing input event has been canceled.
To represent all the states, the `InputEventState` enum is added and the `InputEvent` logic is refactored accordingly.
2023-05-15 11:48:25 -07:00
Yuri Sizov
17f492fb82
Expose dialog parent-and-popup logic to the API
2023-05-15 19:49:28 +02:00
bruvzg
9163d8c336
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
2023-05-15 19:23:54 +03:00
Rémi Verschelde
7349789a48
Merge pull request #77061 from AThousandShips/placeholder_doc
...
Document limitations of placeholder textures
2023-05-15 13:45:43 +02:00
Rémi Verschelde
f57fcc95f0
Merge pull request #77056 from kleonc/property_usage_description_fix_network_is_gone
...
Fix property usage docs referring to removed network flag
2023-05-15 13:45:20 +02:00
Rémi Verschelde
591115dcde
Merge pull request #76989 from dalexeev/fix-draw-multiline-colors-usage
...
Fix `draw_multiline_colors` usage
2023-05-15 13:44:09 +02:00
Rémi Verschelde
88f5b8d687
Merge pull request #74190 from TokageItLab/respect-fade-abort-oneshot
...
Fix NodeOneShot doesn't respect fade-out when aborting and improvement
2023-05-15 13:43:20 +02:00
Rémi Verschelde
1d83a4c5a5
Merge pull request #72249 from RandomShaper/robust_sync
...
Robustify multi-threading primitives
2023-05-15 13:42:52 +02:00
Silc Lizard (Tokage) Renew
238bc9fe1f
Fix NodeOneShot doesn't respect fade-out when aborting and improvement
2023-05-15 18:51:45 +09:00
Rémi Verschelde
51a1bd7c08
Merge pull request #75869 from aaronfranke/anim-play-end-doc
...
Elaborate on the from_end option in AnimationPlayer.play() documentation
2023-05-15 09:32:33 +02:00
Danil Alexeev
cc44d75cd8
Fix `draw_multiline_colors` usage
2023-05-15 09:56:13 +03:00
Rindbee
391bce44b7
Fix calculation bug with `TextEdit::get_line_height()`
...
When `get_line_height()` is less than `1`, there is no visible text.
So limit the return value of `get_line_height()` to **not less** than
`1` for calculation.
2023-05-15 07:16:00 +08:00
Ninni Pipping
bd2e377007
Document limitations of placeholder textures
2023-05-14 15:07:58 +02:00
kleonc
fc92ee6bf4
Fix property usage docs referring to removed network flag
2023-05-14 12:18:26 +02:00
Hugo Locurcio
9e21647578
Document seamless caveats on small textures in NoiseTexture2D and NoiseTexture3D
...
This also harmonizes "normal map" spelling across the class reference.
2023-05-13 01:06:33 +02:00
Rémi Verschelde
405aa3f2d6
Merge pull request #77005 from paddy-exe/mention-spatial-node3d-ename
...
Mention "Spatial" rename to "Node3D" in Godot 4
2023-05-12 23:26:20 +02:00
Rémi Verschelde
964a5353db
Merge pull request #76525 from MewPurPur/worker-thread-pool-docs
...
Add WorkerThreadPool documentation
2023-05-12 20:13:19 +02:00
Patrick
c60e05694d
Mention "Spatial" rename to "Node3D" in Godot 4
2023-05-12 20:06:25 +02:00
kobewi
27dccf1b5e
Enhance filesystem dock tooltips
2023-05-12 19:28:34 +02:00
Pedro J. Estébanez
6189ab5291
Robustify multi-threading primitives
2023-05-12 19:04:57 +02:00
Rémi Verschelde
8f17f26233
Merge pull request #76978 from raulsntos/property-hint-compat
...
Reorder `PropertyHint` enum to avoid breaking compat
2023-05-12 10:06:32 +02:00
Rémi Verschelde
863bcd3e2b
Merge pull request #76936 from clayjohn/revert-hsl
...
Revert "Add API for HSL conversion"
2023-05-12 10:03:21 +02:00
Rémi Verschelde
07764a4a11
Merge pull request #76852 from AThousandShips/item_list_rect
...
Add `get_item_rect` function to `ItemList`
2023-05-12 10:02:10 +02:00
Raul Santos
a34207b812
Reorder PropertyHint enum to avoid breaking compat
...
Also syncs the Core enum with the C# enum for the source generators.
2023-05-12 01:48:07 +02:00
Ninni Pipping
e5fdce7ca3
Add `get_item_rect` function to `ItemList`
2023-05-11 19:01:54 +02:00
smix8
f986b52b3c
Make navigation mesh edge connections optional
...
Makes navigation mesh edge connections optional.
2023-05-11 18:46:34 +02:00
Rémi Verschelde
fd4a06c515
Merge pull request #76906 from lawnjelly/safe_acos4_2
...
Make acos and asin safe
2023-05-11 13:33:37 +02:00
Rémi Verschelde
4020cc8acb
Merge pull request #76794 from Wiwip/inline-edit
...
Inline editor for the file system dock
2023-05-11 11:46:45 +02:00
Rémi Verschelde
f7070a64e0
Merge pull request #72277 from Geometror/improve-editor-state-preservation
...
Improve editor state persistence
2023-05-11 11:45:52 +02:00
lawnjelly
50c5ed4876
Make acos and asin safe
...
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.
The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.
2023-05-11 08:34:34 +01:00
Hendrik Brucker
dc46163b12
Improve editor state persistence
2023-05-11 04:17:03 +02:00
Wiwip
b08a6084af
Modifies the file system dock to use the inline editor instead of a dialog.
...
*Bugsquad edit:* Closes https://github.com/godotengine/godot-proposals/issues/4933
2023-05-10 18:49:35 -04:00
clayjohn
f83a90192f
Revert "Add API for HSL conversion"
...
This reverts commit 0b7fd664c1
.
2023-05-10 17:45:56 -03:00
kobewi
04317e9ced
Add metadata to resource previews
2023-05-10 14:03:10 +02:00
Rémi Verschelde
74e5ad5c60
Merge pull request #76165 from and-rad/safe-credentials
...
Store sensitive export options in dedicated credentials file
2023-05-10 12:47:07 +02:00
Rémi Verschelde
5271186f2f
Merge pull request #75901 from reduz/refactor-node-processing
...
Refactor Node Processing to allow Scene Multithreading
2023-05-10 12:46:44 +02:00
Rémi Verschelde
31fc7a8525
Merge pull request #62378 from trollodel/gsoc_2022_multiwindow
...
Add multi window code and shader editors (GSOC'22 Project)
2023-05-10 12:46:19 +02:00
Andreas Raddau
fab160ce70
Store sensitive export options in dedicated credentials file
2023-05-10 11:40:17 +02:00
Rémi Verschelde
3b8c828159
Merge pull request #69988 from smix8/navigation_rvo_rework_4.x
...
Rework Navigation Avoidance
2023-05-10 10:19:12 +02:00
Rémi Verschelde
8e608e9467
Merge pull request #64388 from Rindbee/improve-ViewportTexture
...
Improve the UX of ViewportTexture in the editor
2023-05-10 10:18:43 +02:00
trollodel
b4d6b47c17
Add multi window code and shader editors
2023-05-10 09:14:21 +02:00
Rémi Verschelde
769d8a7bbe
Merge pull request #76088 from rburing/contact_points_global_3d
...
PhysicsDirectBodyState3D: report contact points using global coordinates
2023-05-10 09:09:17 +02:00
Fabio Alessandrelli
081808be49
Merge pull request #75721 from ScorpionInc/Expose_String_functions_for_X509Certificate
...
Exposes String functions for X509Certificates
2023-05-10 05:26:55 +02:00
smix8
a6ac305f96
Rework Navigation Avoidance
...
Rework Navigation Avoidance.
2023-05-10 05:01:58 +02:00
Rindbee
af58f1e854
Improve the UX of ViewportTexture in the editor
...
The associated `ViewportTexture`s will update the `viewport_path`
in time when the `Viewport`'s nodepath is changed (caused by renaming
the node names or moving in the SceneTree dock).
If the target `Viewport` is changed by resetting the `viewport_path`,
the `ViewportTexture`s will be re-setup and emit `changed` signal in
time.
2023-05-10 09:13:43 +08:00
ScorpionInc
a5b867391e
Exposes String functions for X509Certificates
...
Exposes String functions for X509Certificates via two function calls: save_to_string() and load_from_string(str).
2023-05-09 19:02:33 -04:00
Ninni Pipping
f24ef75de7
Add missing shader debug documentation
2023-05-09 21:25:08 +02:00
Rémi Verschelde
1d87b36760
Merge pull request #76824 from Calinou/doc-export-pck-binary-resource-conversion
...
Document caveats related to exported project binary resource conversion
2023-05-09 19:28:46 +02:00
Rémi Verschelde
ccf8029910
Merge pull request #76730 from AThousandShips/doc_order
...
Make documentation sorting use natural order
2023-05-09 19:28:38 +02:00
Rémi Verschelde
0f444f101a
Merge pull request #76661 from bonjorno7/hsl
...
Add API for HSL conversion
2023-05-09 19:28:35 +02:00
Rémi Verschelde
564d1b34e0
Merge pull request #74711 from BastiaanOlij/add_texture_native_handle
...
Provide access to internal graphics handles for textures
2023-05-09 19:28:26 +02:00
Juan Linietsky
98c655ec8d
Refactor Node Processing
...
* Node processing works on the concept of process groups.
* A node group can be inherited, run on main thread, or a sub-thread.
* Groups can be ordered.
* Process priority is now present for physics.
This is the first steps towards implementing https://github.com/godotengine/godot-proposals/issues/6424 .
No threading or thread guards exist yet in most of the scene code other than Node. That will have to be added later.
2023-05-09 19:17:51 +02:00
Ninni Pipping
6bccdec7a1
Make documentation sorting use natural order
2023-05-09 17:47:52 +02:00
Rémi Verschelde
b0b23082c4
Merge pull request #76874 from AThousandShips/input_doc
...
Clarify that event handling does not affect `Input`
2023-05-09 17:44:56 +02:00
Rémi Verschelde
5ade250c7d
Merge pull request #76735 from AThousandShips/natural_cmp
...
Add `naturalcasecmp_to` function to `String`
2023-05-09 17:44:37 +02:00
bonjorno7
0b7fd664c1
Add API for HSL conversion
...
Math ported pretty much 1:1 from https://en.wikipedia.org/wiki/HSL_and_HSV
Style doesn't match the existing HSV code exactly, but should be close enough.
2023-05-09 17:43:10 +02:00
Ninni Pipping
732ad382a6
Clarify that event handling does not affect `Input`
2023-05-09 13:19:02 +02:00
Rémi Verschelde
02db5738a7
Merge pull request #70564 from stmSi/cant-set-srollcontainer-scrollvalue-in-ready
...
Fix: Can't set ScrollContainer `scroll_*` value in _ready()
2023-05-09 10:44:43 +02:00
Rémi Verschelde
e0df3be64f
Merge pull request #70286 from the-sink/popupmenu_icon_modulate
...
Add icon_modulate set/get functionality to PopupMenu
2023-05-09 10:44:19 +02:00
Rémi Verschelde
72323a57d0
Merge pull request #57894 from Sauermann/fix-subviewport-1
...
Fix unrestricted mouse-event propagation to SubViewports for Physics-Picking
2023-05-09 10:43:49 +02:00
Bastiaan Olij
c328676d96
For GDExternal use, provides access to internal graphics handles for textures
2023-05-09 13:47:22 +10:00
the-sink
a85eef4367
Add icon_modulate functionality to PopupMenu
2023-05-08 15:25:00 -07:00
Rémi Verschelde
15f9ac9458
Merge pull request #75751 from KoBeWi/eradicate_ViewportTexture_errors_entirely_and_surely
...
Prevent errors when using ViewportTexture
2023-05-08 16:40:10 +02:00
Rémi Verschelde
bbe05b60c8
Merge pull request #57179 from spacechase0/notify-world2d-changed-master
...
Propagate previously unused NOTIFICATION_WORLD_2D_CHANGED, make CanvasItem/CollisionObject2D use it
2023-05-08 16:40:00 +02:00
kobewi
1b9802fa8c
Prevent errors when using ViewportTexture
2023-05-08 15:56:16 +02:00
Rémi Verschelde
491a437df5
Merge pull request #76540 from reduz/redo-remote-filesystem
...
Redo how the remote filesystem works
2023-05-08 13:52:51 +02:00
Rémi Verschelde
3e6a731904
Merge pull request #76418 from reduz/method-bind-validated-call
...
Add ValidatedCall to MethodBind
2023-05-08 13:52:42 +02:00
Rémi Verschelde
704560cc3c
Merge pull request #70868 from Maran23/4-x-scrollcontainer-custom-step-editor
...
Expose horizontal/vertical `custom_step` as editor property for the `ScrollContainer`
2023-05-08 13:52:18 +02:00
Rémi Verschelde
21b687446d
Merge pull request #76828 from akien-mga/ci-codespell-blocking
...
CI: Make codespell checks blocking, but only check changed files
2023-05-08 12:21:11 +02:00
Rémi Verschelde
4b51569164
Merge pull request #76822 from YeldhamDev/os_docs
...
Improve some descriptions in the OS docs
2023-05-08 12:21:08 +02:00
Rémi Verschelde
eb6d6ab29f
Merge pull request #76658 from Paulb23/convert-indent-code-edit
...
Move convert_indent into CodeEdit
2023-05-08 12:20:37 +02:00
Rémi Verschelde
e85f6871ba
Merge pull request #76561 from KoBeWi/most_obscure_class_that_has_ever_existed
...
Improve and document PackedDataContainer
2023-05-08 12:20:33 +02:00
Rémi Verschelde
7e6f22b13d
Merge pull request #76549 from MewPurPur/improve-docs-top-sections-ANIM
...
Overhaul the top sections of the class reference (Animation classes)
2023-05-08 12:20:29 +02:00
Rémi Verschelde
eebb1d8eff
Merge pull request #74369 from Dragoncraft89/master
...
Implement vertical icon alignment for buttons
2023-05-08 12:20:11 +02:00
Juan Linietsky
273a6eeb66
Redo how the remote filesystem works
...
Instead of reading files over the network, the new version uses a local file cache and only updates files when it changes.
The original remote filesystem was created 14 years ago, when ethernet was faster than hard drives or even flash. Also, mobile devices have a very small amount of storage.
Nowadays, this is no longer the case so the approach is changed to using a persistent cache in the target device.
Co-authored-by: m4gr3d
2023-05-08 11:57:54 +02:00
Rémi Verschelde
b226f7e587
CI: Make codespell checks blocking, but only check changed files
2023-05-08 11:50:55 +02:00
Hugo Locurcio
febc674f48
Document caveats related to exported project binary resource conversion
2023-05-08 07:02:00 +02:00
Michael Alexsander
6db12c5e50
Improve some descriptions in the OS docs
2023-05-07 23:28:56 -03:00
Fredia Huya-Kouadio
bd1bc68ba0
Merge pull request #75718 from m4gr3d/add_scale_editor_icons_main
...
Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
2023-05-07 17:05:12 -07:00
Fredia Huya-Kouadio
30824e9818
Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
...
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.
2023-05-07 15:55:28 -07:00
Paulb23
0b3fba45c6
Move convert_indent into CodeEdit
2023-05-07 13:08:37 +01:00
Ninni Pipping
46a7018e3c
Add `naturalcasecmp_to` function to `String`
...
Functions as a complement to `naturalnocasecmp_to`
2023-05-07 10:17:53 +02:00
VolTer
bd257092da
Add WorkerThreadPool documentation
2023-05-07 04:38:55 +02:00
Hugo Locurcio
5056c427d3
Improve RenderingServer, RenderingDevice, ShaderGlobalsOverride documentation
...
This brings the overall class reference completion percentage from 87% to 92%.
2023-05-06 22:40:32 +02:00
Max Hilbrunner
64eeb04d2c
Merge pull request #76373 from MewPurPur/add-AudioStreamGenerator-example
2023-05-06 15:44:04 +02:00
Max Hilbrunner
921d231ad6
Merge pull request #76664 from Xenoparrot/simple-typos
2023-05-06 15:41:55 +02:00
Max Hilbrunner
76599bed51
Merge pull request #76699 from MewPurPur/document-text-server-dummy
2023-05-06 15:39:50 +02:00
Max Hilbrunner
9d4e5eefb2
Merge pull request #76720 from aaronfranke/ancestortecedent
2023-05-06 15:31:57 +02:00
Clay John
7a13cf9aeb
Merge pull request #75510 from SilicDev/string_erase
...
Reimplement `String.erase()` as immutable method
2023-05-05 10:03:49 -07:00
VolTer
4af3fc7e26
Overhaul the top sections of the class reference (Animation classes)
2023-05-05 17:17:22 +02:00
Max Hilbrunner
d481fca986
Merge pull request #75517 from BastiaanOlij/expose_render_target
2023-05-05 14:28:01 +02:00
Max Hilbrunner
fa451ead91
Merge pull request #74883 from dalexeev/fix-thin-multiline-colors
2023-05-05 14:26:37 +02:00
Max Hilbrunner
d6161b948c
Merge pull request #76604 from MewPurPur/sylveon-moment-UwU
2023-05-05 14:21:07 +02:00
Aaron Franke
740b0713a2
Fix small mistake in docs, "antecedents" -> "ancestors"
2023-05-03 21:23:28 -05:00
SilicDev
6fa4f71ca6
Reimplement String.erase
2023-05-04 00:52:35 +02:00
VolTer
c8e06fe838
Document TextServerDummy
2023-05-03 21:23:03 +02:00
Max Hilbrunner
8c729f0f34
Merge pull request #76646 from KoBeWi/acoording_to_screen
...
Some clarifications on screen-space coordinates
2023-05-03 20:45:40 +02:00
kobewi
33b9be27d3
Some clarifications on screen-space coordinates
2023-05-03 20:15:49 +02:00
VolTer
9c7673b2ab
Add documentation for TubeTrailMesh and RibbonTrailMesh
2023-05-03 06:21:20 +02:00
UltraBIF
8106d33d0f
Fixed various typos across the docs
2023-05-02 18:24:32 -04:00
Chase Warrington
46e06ee1e6
Propogate previously unused NOTIFICATION_WORLD_2D_CHANGED, make CanvasItem/CollisionObject2D use it
2023-05-01 18:26:55 -04:00
Florian Kothmeier
68b9fa71a0
Implement vertical icon alignment for buttons
2023-05-01 19:51:47 +02:00
VolTer
fb5cb735a2
Fixed edge cases of nearest_po2 function
2023-05-01 02:32:46 +02:00
VolTer
9d77caaf95
Add an example for how to use AudioStreamGenerator
2023-04-30 20:18:49 +02:00
Juan Linietsky
1c93606e47
Add ValidatedCall to MethodBind
...
* This should optimize GDScript function calling _enormously_.
* It also should simplify the GDScript VM considerably.
NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
2023-04-30 20:01:26 +02:00
Hugo Locurcio
f10759489d
Document high performance cost of turbulence in ParticleProcessMaterial
...
- Mention that GPUParticlesAttractorVectorField3D can be used as an
alternative to turbulence in 3D.
2023-04-30 00:38:26 +02:00
Marius Hanl
29358daa4d
Expose horizontal/vertical custom_step as editor property for the ScrollContainer
2023-04-29 23:56:59 +02:00
stmSi
83626ab90d
Added note to used set_deferred while setting scroll values in _ready function.
2023-04-29 23:16:38 +06:30
kobewi
c08e96ef0d
Improve and document PackedDataContainer
2023-04-29 00:29:40 +02:00
Rémi Verschelde
c4a9d32126
Merge pull request #76264 from vnen/gdscript-static-variales
...
Add support for static variables in GDScript
2023-04-27 16:56:08 +02:00
Rémi Verschelde
f43b39a7c0
Merge pull request #50671 from winston-yallow/improve-editor-spin-slider
...
Add editor setting for spin slider sensibility
2023-04-27 16:55:16 +02:00
George Marques
0ba6048ad3
Add support for static variables in GDScript
...
Which allows editable data associated with a particular class instead of
the instance. Scripts with static variables are kept in memory
indefinitely unless the `@static_unload` annotation is used or the
`static_unload()` method is called on the GDScript.
If the custom function `_static_init()` exists it will be called when
the class is loaded, after the static variables are set.
2023-04-27 09:51:44 -03:00
Winston Yallow
277e261acf
Add editor setting for spin slider sensibility
2023-04-27 13:45:24 +02:00
Rémi Verschelde
35f6a1387c
Merge pull request #76488 from YuriSizov/docs-validate-code-params
...
Validate code tags in documentation for potential params
2023-04-27 08:20:42 +02:00
Rémi Verschelde
31179d7322
Merge pull request #76482 from damdalf/class_ref_documentation_MeshDataTool_code_examples
...
Corrected the GDScript and C# examples for the MeshDataTool class reference documentation
2023-04-27 08:20:18 +02:00
Rémi Verschelde
359b494cbe
Merge pull request #76437 from RandomShaper/fix_vol_fog_voxel_gi
...
Fix voxel GI issues
2023-04-27 08:19:06 +02:00
Rémi Verschelde
cedd3378f5
Merge pull request #69053 from KoBeWi/grabbercentrism
...
Add center_grabber theme property to Slider
2023-04-27 08:18:37 +02:00
Yuri Sizov
391eccca76
Validate code tags in documentation for potential params
...
Adds a check to make_rst to look for matches
between the text inside of the [code][/code] tag
and known param identifiers.
Fixes most of what was revealed.
2023-04-26 21:36:04 +02:00
Pedro J. Estébanez
09aa1bbdb3
Fix unsupported sampler filter used for voxel GI
2023-04-26 20:54:06 +02:00
Devin
3b615ed789
Updated GDScript example to use clear_surfaces() and C Sharp example to use ClearSurfaces() instead of non-existent surface_remove() and SurfaceRemove()
2023-04-26 09:01:31 -05:00
Rémi Verschelde
6bf94cfd7a
Merge pull request #76470 from MewPurPur/add-immediate-mesh-example
...
Provide an example on how to use ImmediateMesh
2023-04-26 13:58:17 +02:00
Rémi Verschelde
e1075e9c7c
Fix various typos with codespell
...
Also includes the grammar fix from #76206 .
Co-authored-by: Peter Anderson <BWPanda@users.noreply.github.com>
2023-04-26 13:57:09 +02:00
VolTer
4eabad6c26
Provide an example on how to use ImmediateMesh
2023-04-26 12:36:02 +02:00
Rémi Verschelde
8f7b09916d
Merge pull request #76026 from YuriSizov/editor-running-up-that-gui
...
Extract editor run toolbar into its own component
2023-04-26 12:15:29 +02:00
Rémi Verschelde
0e94757548
Merge pull request #76455 from winston-yallow/document-automatic-center-of-mass
...
Document that the automatic center of mass mode uses the individuals shape origins
2023-04-26 11:36:03 +02:00
Rémi Verschelde
f6190fb538
Merge pull request #76359 from AThousandShips/timer_doc
...
Add information about how `Engine.time_scale` affects Timers
2023-04-26 11:35:59 +02:00
Rémi Verschelde
cc0edf810f
Merge pull request #74106 from dalexeev/astar-grid-2d-negative-coords
...
Allow negative coordinates in `AStarGrid2D`
2023-04-26 11:35:55 +02:00
Danil Alexeev
76ee3d4f31
Allow negative coordinates in `AStarGrid2D`
2023-04-26 09:29:33 +03:00
Winston
7b30d7da51
Document automatic center mode using shape origins
2023-04-26 03:19:23 +02:00
Danil Alexeev
005937b576
Add support for multiline strings to `Tree`
2023-04-25 18:43:26 +03:00
Rémi Verschelde
efb42c3101
Merge pull request #75447 from bruvzg/brotli_packedarray
...
Expose brotli decompression to the scripting API.
2023-04-25 16:16:56 +02:00
Rémi Verschelde
0093660351
Merge pull request #76246 from Proggle/tilemap-rid-layer-report
...
TileMap: Add method to fetch the layer for a given body
2023-04-25 14:44:10 +02:00
Rémi Verschelde
ae7872fd02
Merge pull request #76199 from needleful/incremental_search_property
...
Add allow_search property to ItemList and Tree to control incremental search
2023-04-25 14:44:06 +02:00
Rémi Verschelde
c89b3710cb
Merge pull request #76168 from MewPurPur/justify-gradient-reverse-not-reversing
...
Document why Gradient.reverse() doesn't reverse constant gradients
2023-04-25 14:44:02 +02:00
Proggle
093cb90077
TileMap: Add method to fetch the layer for a given body
2023-04-25 12:49:50 +02:00
Yuri Sizov
0562decf34
Unexpose AnimationTrackEditPlugin as not implemented
2023-04-25 11:38:17 +02:00
Rémi Verschelde
fa40b0fdba
Merge pull request #76410 from YuriSizov/docs-highligh-editor-only
...
Create an "Editor-only" section in the online class reference
2023-04-25 10:00:42 +02:00
Rémi Verschelde
be00dcd724
Merge pull request #73656 from TokageItLab/expose-3d-tracks
...
Expose interpolation methods for 3D track in `Animation` class
2023-04-25 09:57:52 +02:00
Rémi Verschelde
76d33d187f
Merge pull request #69698 from Daylily-Zeleen/daylily-zeleen/show_in_explorer
...
Implement and expose OS::shell_show_in_file_manager()
2023-04-25 09:57:27 +02:00
Daylily-Zeleen
b12ced0a26
Implement and expose OS::shell_show_in_file_manager()
2023-04-25 11:29:32 +08:00
Yuri Sizov
3ae282b452
Create an "Editor-only" section in the online class reference
...
This helps to find such classes without digging
through the rest of the class reference.
Editor-only classes can still be found under
your normal "Node" and "Resource" types.
This also fixes a typo and a missed case from the recent platform docs PR.
2023-04-24 21:06:55 +02:00
Silc Renew
fac8a918f9
Expose interpolation methods for 3D track in Animation class
2023-04-25 01:45:14 +09:00
Rémi Verschelde
b5ddafcab2
Merge pull request #76374 from OverloadedOrama/more-tab-container-signals
...
Add missing `TabBar` signals to `TabContainer`
2023-04-24 16:48:01 +02:00
Rémi Verschelde
f64544a960
Merge pull request #76311 from aaronfranke/t2d-basis-det
...
Expose `determinant` in Transform2D, rename internal method
2023-04-24 16:46:24 +02:00
Rémi Verschelde
1f76ad0286
Merge pull request #76279 from TheSecondReal0/buttongroup-unpress
...
Add an option for ButtonGroups to be unpressed
2023-04-24 16:46:00 +02:00
Rémi Verschelde
13544fb508
Merge pull request #75759 from TokageItLab/reimplement-grouped-statemachine
...
Rework for nested `AnimationNodeStateMachine`
2023-04-24 16:44:21 +02:00
Rémi Verschelde
4970c52a7a
Merge pull request #75640 from bruvzg/mem_info
...
[OS] Implement and expose to scripting APIs `get_memory_info` method instead of old `get_free_static_memory`.
2023-04-24 16:43:55 +02:00
Rémi Verschelde
dfee04ae2a
Merge pull request #74632 from davthedev/tabs-hover
...
Add theming support for hovered tabs
2023-04-24 16:42:38 +02:00
bruvzg
628f3b2f79
[OS] Implement and expose to scripting APIs `get_memory_info` method instead of old `get_free_static_memory`.
2023-04-24 14:08:55 +03:00
Emmanouil Papadeas
0a6a4969dc
Add more signals to `TabContainer` that `TabBar` already has
2023-04-23 18:50:35 +03:00
Ninni Pipping
16a1465380
Add information about how `Engine.time_scale` affects Timers
2023-04-23 10:21:18 +02:00
Aaron Franke
290b09b36c
Expose `determinant` in Transform2D, rename internal method
2023-04-22 13:44:14 -05:00
kobewi
14cb9b5b26
Add center_grabber property to Slider
2023-04-22 17:53:17 +02:00
Rémi Verschelde
898873b91e
Merge pull request #76309 from Calinou/custom-mouse-cursor-error-compressed
...
Add support for VRAM-compressed custom mouse cursor images
2023-04-22 13:19:34 +02:00
Rémi Verschelde
66d9a6acde
Merge pull request #75960 from ShadyChibinko/tab_metadata
...
Add tab Metadata to TabBar & TabContainer
2023-04-22 13:19:04 +02:00
Hugo Locurcio
303bf247de
Add support for VRAM-compressed custom mouse cursor images
...
No memory is actually saved when using this, so lossless modes are
still recommended as they look better and load faster.
2023-04-21 18:01:47 +02:00
Hugo Locurcio
92730fb07d
Document custom mouse cursors larger than 128×128 potentially having issues
2023-04-21 02:05:22 +02:00
TheSecondReal0
d829b43ab5
Add option for ButtonGroups to be unpressed
...
Add an option for ButtonGroups to be unpressed
Apply suggestions from code review
Co-Authored-By: Tomek <kobewi4e@gmail.com>
Co-Authored-By: Yuri Rubinsky <chaosus89@gmail.com>
Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
2023-04-20 17:09:39 -06:00
VolTer
0a4a1bc4b8
Add a square fill mode to GradientTexture2D
2023-04-20 16:32:42 +02:00
Rémi Verschelde
db13026370
i18n: Sync translations with Weblate
...
(cherry picked from commit 90b4ca2e50
)
2023-04-20 13:27:43 +02:00
Rémi Verschelde
2b20a707cb
Merge pull request #76251 from bruvzg/docs_platf
...
[Export docs] Move docs to platform folders.
2023-04-20 12:42:54 +02:00
Rémi Verschelde
42d3ed2103
Merge pull request #74739 from davthedev/itemlist-hover
...
Add theming support for hovered ItemList items
2023-04-20 12:41:41 +02:00
bruvzg
a5128e71bb
[Export docs] Move docs to platform folders.
2023-04-20 11:02:12 +03:00
Yuri Sizov
8a74d8438f
Extract editor run toolbar into its own component
...
- Simplify and update its logic.
- Simplify EditorScript.
- Improve EditorNode and other relevant includes.
- Fix scene-based path in the movie writer when
reloading a scene.
2023-04-19 17:12:28 +02:00
Rémi Verschelde
989fa49e71
Merge pull request #75219 from bruvzg/get_focus_screen
...
Add project manager / editor initial screen settings, implement `get_keyboard_focus_screen` method.
2023-04-19 10:13:44 +02:00
bruvzg
520a8d8ed2
Add project manager / editor initial screen settings, implement DisplayServer.get_keyboard_focus_screen method.
2023-04-19 08:54:53 +03:00
bruvzg
0088981c40
[Export] Add readable descriptions and validation warnings to the export options.
2023-04-19 08:35:59 +03:00
David Giardi
9f1e18e64c
Add theming support for hovered tabs
...
Tabs can now be styled differently when hovered by the mouse pointer.
2023-04-19 01:38:09 +02:00
Rémi Verschelde
5bb46d6064
Merge pull request #76176 from YuriSizov/editor-extracted-interface-commencing
...
Decouple `EditorInterface` from `EditorPlugin`
2023-04-18 23:41:20 +02:00
David Giardi
142990d60a
Add hovered item style to ItemList
2023-04-18 22:52:39 +02:00
needleful
9a968088db
Add allow_search property to ItemList and Tree
2023-04-18 09:21:18 -07:00
Hugo Locurcio
68117d2fc7
Document using AnimatableBody when needed in StaticBody description
2023-04-18 16:31:22 +02:00
Yuri Sizov
b65d3591b2
Merge pull request #76208 from timothyqiu/doc-fixes
...
Fix various typos in the classref
2023-04-18 15:45:01 +02:00
Yuri Sizov
8f113c6532
Merge pull request #72749 from aaronfranke/area-priority
...
Make Area physics priority consistently int and allow negative numbers
2023-04-18 14:21:06 +02:00
Haoyu Qiu
766807506c
Fix various typos in the classref
2023-04-18 19:53:47 +08:00
Aaron Franke
87bd8d2dcf
Make Area physics priority consistently int and allow negative numbers
2023-04-18 13:50:20 +02:00
Yuri Sizov
7b6c0a8b43
Merge pull request #76186 from pkowal1982/double_the
...
Remove double thes from class documentation
2023-04-18 13:06:02 +02:00
Silc Renew
991e6e90ba
Rework StateMachine and nested StateMachine process
...
Breaking compatibility: If a StateMachineTransition is connected to a nested StateMachine prior to this, it is removed. Also, there was a feature to connect another StateMachine as the End of a StateMachine, which is also removed to avoid reference confusion. It was like a GoTo Statement, also further passing the same reference to the blending process, causing the blending calculation to break or causing some StateMachines to not work.
2023-04-18 19:06:51 +09:00
Yuri Sizov
3db40355a0
Merge pull request #76132 from davthedev/stylebox-flat-antialiasing-fix
...
Fix blurry borders on antialiased StyleBoxFlat
2023-04-17 22:20:04 +02:00
Yuri Sizov
49d7041d34
Decouple EditorInterface from EditorPlugin
...
- Simplify some includes in the process.
- Also exposes EditorInterface.movie_maker_enabled as a property.
2023-04-17 21:59:09 +02:00
Paweł
4431cdd154
Remove double thes from documentation
2023-04-17 21:45:30 +02:00
David Giardi
2ef20045b1
Fix blurry borders on antialiased FlatStyleBox
...
This is a fix of the antialiasing logic of FlatStyleBox.
It is now possible to have smooth rounded corners while keeping
the edges sharp on the pixels.
The antialiasing gradient positioning is ajusted so that the "hard"
border corresponds to the middle of that gradient instead of one end.
Checked against rendering of rounded rectangles in a vector graphics
software.
2023-04-17 20:23:03 +02:00
Rémi Verschelde
5625399680
Merge pull request #76158 from AThousandShips/unbind_doc
...
Improve description of `Callable.bind/unbind`
2023-04-17 20:14:04 +02:00
Rémi Verschelde
96580689b0
Merge pull request #76051 from rburing/contact_local_velocity_2d
...
PhysicsDirectBodyState2D: add `get_contact_local_velocity_at_position`
2023-04-17 20:14:00 +02:00
Rémi Verschelde
96cc100246
Merge pull request #72895 from RedworkDE/editor-export-plugin-settings
...
Allow EditorExportPlugins to provide export options
2023-04-17 20:13:53 +02:00
Yuri Sizov
de416c5cbd
Merge pull request #74623 from MewPurPur/edit-text-with-style
...
Code style improvements to text_edit and related
2023-04-17 19:08:08 +02:00
VolTer
f21d13600e
Document why Gradient.reverse() doesn't reverse constant gradients
2023-04-17 15:15:16 +02:00
Yuri Sizov
8541dd6bec
Merge pull request #76134 from Calinou/doc-print-rich
...
Improve `print_rich()` documentation
2023-04-17 14:21:22 +02:00
Yuri Sizov
4cf8789fcd
Merge pull request #76137 from ju5tevg3niy/patch-2
...
Fixed typo in DisplayServer.ScreenOrientation docs
2023-04-17 14:09:27 +02:00
Yuri Sizov
2538c6f471
Merge pull request #76091 from MewPurPur/fix-quaternion-description
...
Fix Quaternion's brief description
2023-04-17 14:07:56 +02:00
Yuri Sizov
0f24f015c6
Merge pull request #76049 from timothyqiu/equality
...
Unify descriptions of vector methods
2023-04-17 14:05:59 +02:00
Yuri Sizov
23b24fea62
Merge pull request #75776 from Rattle22/patch-1
...
Fix Typo in NavigationServer2D
2023-04-17 14:04:34 +02:00
Ninni Pipping
0332fd5e8f
Improve description of `Callable.bind/unbind`
2023-04-17 14:04:11 +02:00
Evgeniy Vasilyev
5ba98e59f0
Fixed typo in DisplayServer.ScreenOrientation docs
2023-04-16 19:37:39 +03:00
Hugo Locurcio
ec277d804e
Improve `print_rich()` documentation
...
- List all supported colors.
- Mention URL tag support limitations.
- Fix and tweak code example to do what it says.
- Remove outdated notice about lack of Windows support (but mention
that only Windows 10 and later support ANSI code conversion).
2023-04-16 16:34:28 +02:00
Tae Hong Ahn
5a775ac08c
update set_smooth_group description
...
fixes https://github.com/godotengine/godot/issues/74452
2023-04-15 18:25:10 -04:00
VolTer
5c0e3b26a6
Fix Quaternion's brief description
2023-04-15 16:01:19 +02:00
Ricardo Buring
15b8cb9d9c
PhysicsDirectBodyState3D: report contact points using global coordinates
...
Also update the documentation to reflect this in both 2D and 3D.
2023-04-15 14:31:17 +02:00
Haoyu Qiu
6cd8e706fa
Unify descriptions of vector methods
...
* is_equal_approx
* normalize
* length_squared
* posmod
* posmodv
2023-04-14 23:31:33 +08:00
Ricardo Buring
aacb20437a
PhysicsDirectBodyState2D: add get_contact_local_velocity_at_position
2023-04-14 11:40:06 +02:00
Ninni Pipping
6312fe2fae
Fix `Image.compress` description
...
Description mentioned `mode` instead of `source`
2023-04-13 10:05:23 +02:00
Rémi Verschelde
68b8156fe3
Merge pull request #76014 from AThousandShips/image_astc
...
Expose more compression formats in Image and fix compress check
2023-04-13 09:57:53 +02:00
Rémi Verschelde
8bce5a88e1
Merge pull request #76009 from Calinou/particles-attractor-strength-fix-typo
...
Fix `setrngth` typo in `particles_collision_set_attractor_strength()`
2023-04-13 09:57:05 +02:00
Rémi Verschelde
f850bfa92d
Merge pull request #58880 from tgift/DirectBodyState
...
Contacts and PhysicsDirectBodyState3D
2023-04-13 09:51:43 +02:00
Ninni Pipping
cf64e2fa47
Expose more compression formats in Image and fix compress check
...
Check for compressing ASTC checked if the function for BPTC was present
2023-04-13 09:39:03 +02:00
Hugo Locurcio
e7852552d4
Fix `setrngth` typo in `particles_collision_set_attractor_strength()`
2023-04-13 03:09:26 +02:00
Tim Gift
fffc6aba58
Resolved issues with script PhysicsDirectBodyState3d contacts
...
Resolved a problem with PhysicsDirectBodyState3D sometimes returning incorrect contact positions and added a new get_contact_local_velocity_at_position method to compliment the existing one for the collider.
2023-04-12 11:40:34 -07:00
Rémi Verschelde
11798fa420
Merge pull request #75940 from reduz/redone-message-queue
...
Redo of Message Queue
2023-04-12 17:01:21 +02:00
Juan Linietsky
6055e4424a
Redo of Message Queue
...
* Functionality moved to a base class CallQueue, which will be used for inter-thread communication within the scene.
* MessageQueue now uses growing pages, starts from a single 4k page.
* Limit still exists, but because its not allocated by default, it can be much higher.
2023-04-12 16:31:23 +02:00
Rémi Verschelde
15316416ab
Merge pull request #75974 from bruvzg/ts_emb_caret
...
[TextServer] Use dedicated flag for object replacement characters.
2023-04-12 13:28:09 +02:00
bruvzg
d904516e55
[TextServer] Use dedicated flag for object replacement characters.
2023-04-12 10:08:51 +03:00
Rémi Verschelde
1b14e1a293
Merge pull request #75908 from Calinou/compute-pipeline-fix-typo
...
Fix `compute_pieline` typo in `RenderingDevice.compute_pipeline_is_valid()`
2023-04-12 09:07:43 +02:00
Rémi Verschelde
6d7413be74
Merge pull request #75941 from Mallardbro/patch-1
...
Correct the side mentioned with focus_neighbor_right and focus_neighbor_top.
2023-04-11 19:41:11 +02:00
ShadyChibinko
9d2aecade0
Add Tab Metadata
2023-04-11 12:52:03 -04:00
Mallardbro
c25d015d06
Correct the side mentioned with focus_neighbor_right and focus_neighbor_top.
...
A small typo with the definitions of `focus_neighbor_right` and `focus_neighbor_top`. Both use "bottom" rather than the correct side for each.
2023-04-11 17:38:10 +01:00
bruvzg
a5009f4d3c
[Web] Detect host OS and use macOS keys on mac hosts.
2023-04-11 10:58:54 +03:00
Hugo Locurcio
8eb0d0e665
Fix `compute_pieline` typo in `RenderingDevice.compute_pipeline_is_valid()`
2023-04-10 22:32:04 +02:00
Yuri Sizov
c3ed7af123
Merge pull request #74885 from vmedea/toutf8-docfix
...
Change to_utf8 to to_utf8_buffer in remaining docs
2023-04-10 21:57:04 +02:00
mara
57dca93718
Change to_utf8 to to_utf8_buffer and to_ascii to to_ascii_buffer in remaining docs
...
The method `to_utf8` doesn't exist in Godot 4, but is still mentioned in
the documentation in some places. Replace it with the new name
`to_utf8_buffer`. Same for ascii. Same for C#.
2023-04-10 21:07:02 +02:00
Yuri Sizov
aed655ff80
Merge pull request #75889 from DimitriPilot3/patch-2
...
docs/FileDialog: Use clickable references
2023-04-10 20:12:19 +02:00
Yuri Sizov
b5e7842989
Merge pull request #75625 from AThousandShips/min_max_example
...
Document how to make custom min/max for Array
2023-04-10 20:09:52 +02:00
Ninni Pipping
96ab31a711
Document how to make custom min/max for Array
2023-04-10 16:41:11 +02:00
Dimitri A
a5778da55b
docs/FileDialog: Use clickable references
...
This replaces two [code][/code] blocks with clickable refs to [enum Access] and [member file_mode] respectively.
2023-04-10 15:13:20 +02:00
Yuri Sizov
78e2479ef9
Merge pull request #75737 from MewPurPur/ 🐁 da 🐁
...
Fix mistakes in documentation and GDScript errors
2023-04-10 14:10:43 +02:00
Yuri Sizov
5243f5cece
Merge pull request #72152 from smix8/mcd_settings_4.x
...
Add Mesh ConvexDecompositionSettings wrapper
2023-04-10 12:52:23 +02:00
Yuri Sizov
8784f95e1f
Merge pull request #75777 from 3deathtoll/patch-1
...
Make `SyntaxHighlighter::get_text_edit` a const function
2023-04-10 12:49:04 +02:00
VolTer
f832eb92e4
Fix mistakes in documentation and GDScript errors
2023-04-10 10:00:09 +02:00
Aaron Franke
27ccb52909
Elaborate on the from_end option in AnimationPlayer.play()
2023-04-09 12:31:20 -05:00
VolTer
f587a21899
Code style improvements to text_edit and related
2023-04-08 19:33:56 +02:00
jeffVenancius
97c2133548
Add an option to show a TextEdit caret when editable is disabled
...
Update doc/classes/TextEdit.xml
2023-04-07 22:27:01 -03:00
smix8
1549aeaef8
Add Mesh ConvexDecompositionSettings wrapper
...
Adds wrapper MeshConvexDecompositionSettings to control parameters for Mesh ConvexDecomposition operations.
2023-04-07 22:39:25 +02:00
3deathtoll
3841c4a4b4
Make SyntaxHighlighter::get_text_edit a const function
2023-04-07 23:46:50 +05:30
RedworkDE
6963e84b58
Allow EditorExportPlugins to provide export options
2023-04-07 19:18:00 +02:00
Yuri Sizov
a13635cdf8
Merge pull request #70901 from timothyqiu/tree-scroll-offset
...
Add scrollbar offset theme constants to Tree
2023-04-07 13:24:01 +02:00
Yuri Sizov
3abe4781b6
Merge pull request #75241 from Calinou/doc-compressedtexturelayered
...
Fix CompressedTextureLayered description in the class reference
2023-04-07 13:08:48 +02:00
Rattle22
5c387cbdb3
Fix Typo in NavigationServer2D
2023-04-07 12:24:31 +02:00
Rémi Verschelde
92b7a9603a
Merge pull request #75701 from reduz/notification-moved-in-parent
...
Remove NOTIFICATION_MOVED_IN_PARENT
2023-04-06 14:35:04 +02:00
Juan Linietsky
104392ef4e
Remove NOTIFICATION_MOVED_IN_PARENT
...
* This notification makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILDREN_CHANGED (and children_changed signal).
* Changed Canvas code (and similar) to use the above signal, to perform more efficiently.
This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
It is required for the changes in #75627 to be entirely effective.
2023-04-06 13:57:13 +02:00
Haoyu Qiu
498d538578
Add scrollbar offset theme constants to Tree
2023-04-06 15:04:28 +08:00
bendn
ca0feabbb0
add `hex_decode()` to `String`
2023-04-05 19:44:00 +07:00
Rémi Verschelde
c3184c614b
Merge pull request #67466 from KoBeWi/proceed
...
Scene tab closing refactor
2023-04-05 12:03:00 +02:00
Rémi Verschelde
ef025711a6
i18n: Sync translations with Weblate
...
(cherry picked from commit 9099ac39cf
)
2023-04-04 00:34:07 +02:00
kobewi
ddc8567022
Scene tab closing refactor
2023-04-03 22:19:07 +02:00
Rémi Verschelde
72a6fee3f7
Merge pull request #75464 from KoBeWi/undoreditor
...
Update UndoRedo description
2023-04-03 17:09:33 +02:00
Rémi Verschelde
d3c93a63c4
Merge pull request #74119 from KoBeWi/more_documentation_rng
...
Fill random docs
2023-04-03 17:08:19 +02:00
Rémi Verschelde
57e3651763
Merge pull request #72028 from kilojool/option_button_reselection
...
OptionButton: allow reselection of selected item
2023-04-03 17:06:36 +02:00
Rémi Verschelde
a9855a3a4c
Merge pull request #75494 from MewPurPur/line-edit-get-selected-text
...
Implement LineEdit.get_selected_text()
2023-04-03 16:03:58 +02:00
Rémi Verschelde
9c492204ca
Merge pull request #75340 from Barugon/tree_colunm_title_alignment
...
Implement column title alignment for `Tree`
2023-04-03 16:03:10 +02:00
kobewi
eac65fd0a8
Fill random docs
2023-04-03 16:02:29 +02:00
Rémi Verschelde
b237df8cea
Merge pull request #75326 from smix8/navigationagent_expose_parameters_4.x
...
Expose NavigationAgent path postprocessing and pathfinding algorithm options
2023-04-03 16:02:21 +02:00
kobewi
3a06e6af76
Update UndoRedo description
2023-04-03 15:54:43 +02:00
Yuri Sizov
49c17bb262
Merge pull request #75606 from skyace65/OSClipboard
...
Remove reference to clipboard in OS class doc
2023-04-03 15:08:30 +02:00
Yuri Sizov
76444699cb
Merge pull request #75565 from kleonc/canvasitem-improve-self-modulate-docs
...
Improve `CanvasItem.self_modulate` docs
2023-04-03 15:03:39 +02:00
kleonc
4fb9aa2294
Improve CanvasItem.self_modulate docs
2023-04-03 12:56:06 +02:00
skyace65
a65d99b541
Remove reference to clipboard in OS class doc
2023-04-02 19:45:55 -04:00
kobewi
c4e08a4e1a
Add _get_configuration_warnings() example
2023-04-02 13:42:29 +02:00
Yuri Sizov
1522762dc9
Make icons of scripted and custom classes fit the editor UI
...
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.
Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
2023-03-31 21:39:02 +02:00
kleonc
f53d3382af
C# Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversion
2023-03-31 10:59:11 +02:00
Bastiaan Olij
ab60d3b65c
Expose viewports render targer RID
2023-03-31 11:34:09 +11:00
VolTer
1856ceeb76
Implement LineEdit.get_selected_text()
2023-03-30 22:58:12 +02:00
bruvzg
0e4bd964cc
Expose brotli decompression to the scripting API.
2023-03-29 22:43:36 +03:00
Barugon
c56ff437ae
Implement column title alignment for `Tree`
2023-03-27 09:23:46 -07:00
Yuri Sizov
2a275b985e
Merge pull request #75389 from timothyqiu/typo-fixes
...
Fix typos and inconsistencies in classref
2023-03-27 16:53:31 +02:00
Yuri Sizov
868fcfd3eb
Merge pull request #70046 from MewPurPur/improve-number-docs
...
Improve documentation of int
2023-03-27 16:39:09 +02:00
Haoyu Qiu
ff97c481d3
Fix typos and inconsistencies in classref
...
* Typo fixes.
* Navigation agent's `velocity_computed` signal is not emitted by
`set_velocity`, but at the end of that frame if `set_velocity` is
called.
* Simplify link in navigation agent's `avoidance_enabled` description.
* Unify `navigation_layers` description across `NavigationAgent{2,3}D`.
* Unify `is_normalized()` description across `Vector2`, `Vector3`, and
`Vector4`
2023-03-27 22:26:56 +08:00
VolTer
0f3197501e
Improve documentation of int
2023-03-27 16:09:30 +02:00
Yuri Sizov
61e4f91ea1
Merge pull request #75384 from timothyqiu/cultural-heritage
...
Auto translate popup menus of MenuButton and OptionButton
2023-03-27 15:54:21 +02:00
Yuri Sizov
1589f0b161
Merge pull request #75350 from AThousandShips/nodepath_doc_fix
...
Fix `NodePath` subname index range documentation
2023-03-27 12:29:38 +02:00
Haoyu Qiu
150f89352b
Auto translate popup menus of MenuButton and OptionButton
...
Currently, `auto_translate` property of a `MenuButton` or `OptionButton`
won't affect its popup menu. It's okay if you want to auto translate,
but requires extra setup if you don't.
2023-03-27 18:09:24 +08:00
Yuri Sizov
9b0bee860f
Merge pull request #75300 from Calinou/doc-log-log10
...
Document how to use logarithm of base 10 with `log()`
2023-03-26 23:58:59 +02:00
Hugo Locurcio
3c4f0ca9c6
Document how to use logarithm of base 10 with `log()`
2023-03-26 22:23:13 +02:00
Ninni Pipping
c75870f798
Fix `NodePath` subname index range documentation
2023-03-26 09:54:37 +02:00
smix8
6e324bb341
Expose NavigationAgent path postprocessing and pathfinding algorithm options
...
Exposes the path postprocessing and pathfinding algorithm options of the NavigationAgent internal NavigationPathQueryParameters object.
2023-03-25 21:37:18 +01:00
Yuri Sizov
18f70195e6
Merge pull request #75251 from AThousandShips/area_doc
...
Improve documentation for Area monitor callbacks in `PhysicsServer3D`
2023-03-25 15:43:51 +01:00
Yuri Sizov
d20c520d96
Merge pull request #74848 from BastiaanOlij/add_xr_system_info
...
Add a get_system_info method to XRInterface
2023-03-25 15:07:51 +01:00
Yuri Sizov
e4e63f976a
Merge pull request #73225 from bruvzg/wchar_to_from
...
Add GDScript `to_wchar_buffer` and `get_string_from_wchar` functions.
2023-03-25 15:05:59 +01:00
Yuri Sizov
82814f42b9
Merge pull request #74454 from Pennycook/get_loops_left
...
Add get_loops_left() function to Tween
2023-03-25 15:04:26 +01:00
Ninni Pipping
4124271241
Improve documentation for Area monitor callbacks in `PhysicsServer3D`
2023-03-25 14:27:47 +01:00
Yuri Sizov
8f2c41b4dd
Merge pull request #73818 from kilojool/virtual_get_tooltip
...
Add missing virtual bind for control::get_tooltip
2023-03-25 14:14:10 +01:00
Yuri Sizov
4640b553a2
Merge pull request #75260 from rburing/fix_collide_shape_return
...
Fix `collide_shape` return type
2023-03-25 13:54:05 +01:00
Ricardo Buring
61429a5f49
Fix collide_shape return type
...
Fix PhysicsDirectSpaceState3D::_collide_shape return type.
Also PhysicsDirectSpaceState2D::_collide_shape.
2023-03-23 16:16:23 +01:00
Hugo Locurcio
0d24016db0
Fix CompressedTextureLayered description in the class reference
...
This also updates the list of compression modes available for textures.
2023-03-22 22:06:55 +01:00
Hugo Locurcio
f575ca09ae
Add property hints for debugger/profiler editor settings
...
This also adds descriptions for those settings.
2023-03-22 01:07:31 +01:00
kilojool
a95cd3872a
Add missing virtual bind for control::get_tooltip
2023-03-21 17:39:51 +01:00
bruvzg
d72b563250
Add GDScript `to_wchar_buffer` and `get_string_from_wchar` functions.
2023-03-21 15:39:54 +02:00
Yuri Sizov
2a05522283
Merge pull request #75174 from Rindbee/fix-wrong-descriptions
...
Fix some wrong descriptions in the docs
2023-03-21 14:36:27 +01:00
Yuri Sizov
ed13a52f94
Merge pull request #75134 from Rindbee/configured-as-a-radio-button
...
Add instructions for configuring CheckBox as a radio button
2023-03-21 12:15:54 +01:00
Rindbee
f29a7c0404
Fix some wrong descriptions in the docs
2023-03-21 19:10:48 +08:00
John Pennycook
4cb2085543
Add get_loops_left() function to Tween
...
Implements godotengine/godot-proposals#5141 .
Adds a new get_loops_left() function to Tween, allowing developers to
reason about how many times a tweening sequence will repeat and whether
to expect finished or loop_finished as the next signal.
Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-03-20 20:49:31 -07:00
Rindbee
3dc487b450
Add instructions for configuring CheckBox as a radio button
2023-03-21 06:55:51 +08:00
Yuri Sizov
05d373c64b
Merge pull request #75017 from bruvzg/rlt_list_bullet
...
[RTL] Add option to customize list bullet, use U+2022 by default.
2023-03-20 19:08:31 +01:00
Yuri Sizov
b6d033b0e6
Merge pull request #75080 from adamscott/set-vehiculewheel3d-reasonable-value
...
Set `VehiculeWheel3D` `suspension_travel` default value to a reasonable one
2023-03-20 19:04:44 +01:00
Yuri Sizov
b1c18f807b
Merge pull request #75116 from dsnopek/multiplayer-peer-extension-missing-docs
...
Add missing documentation for MultiplayerPeerExtension
2023-03-20 16:39:40 +01:00
Yuri Sizov
7ca4ad8647
Merge pull request #75079 from mihe/shape-margin
...
Update property/documentation of shape margins
2023-03-20 16:30:10 +01:00
Yuri Sizov
27038ca74f
Merge pull request #74442 from rburing/thicc_polygons
...
Fix concave/convex polygon shape documentation
2023-03-20 16:13:59 +01:00
David Snopek
4d13be3c5e
Add missing documentation for MultiplayerPeerExtension
2023-03-20 08:08:59 -07:00
bruvzg
ab94024ce1
[DisplayServer] Implement screen_get_image method for LinuxBSD/X11, macOS and Windows.
2023-03-20 14:58:21 +02:00
Dipal Zambare
8901986d56
Fix typo in the type-safe examples
...
Fix type in the type-safe examples of snapped, lerp and sign function.
2023-03-19 18:23:13 +01:00
Adam Scott
fd1dfdb960
Set VehiculeWheel3D `suspension_travel` default value to a resonable one
2023-03-18 16:33:33 -04:00
Mikael Hermansson
33a6c80abb
Change documentation of `Shape3D.margin` to reflect current situation
2023-03-18 20:35:42 +01:00
Markus Sauermann
8836f2160a
Move call of `push_unhandled_input` from `Window` to `Viewport`
...
This solves the problem, that mouse events get sent to SubViewports
even if they are outside of the visible area of the SubViewport.
This changes makes SubViewportContainer::unhandled_input redundand.
Shortcut Events now need to be distributed via push_input, in order for
them to be able to reach SubViewports.
2023-03-17 19:22:24 +01:00
bruvzg
4793b6eee9
[RTL] Add option to customize list bullet, use U+2022 by default.
2023-03-17 09:34:28 +02:00
Yuri Sizov
98d95f3a0e
Merge pull request #74149 from bruvzg/get_char
...
[Font] Implement `get_char_from_glyph_index` function.
2023-03-16 13:07:11 +01:00
lawnjelly
cca01afd82
Improve Vector2 / 3 / 4 normalized() classref.
...
Mention that the results will be unreliable with initial vector near zero.
2023-03-16 11:20:30 +00:00
Yuri Sizov
7d2080f81a
Merge pull request #74800 from smix8/navagent2d_thin_line_4.x
...
Allow negative NavigationAgent2D path debug line_width for thin lines
2023-03-16 11:44:34 +01:00
smix8
f6a10c0565
Allow negative NavigationAgent2D path debug line_width for thin lines
...
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering.
2023-03-16 09:04:53 +01:00
Haoyu Qiu
57d4272984
Fix typos and inconsistencies in classref
2023-03-16 14:10:20 +08:00
Yuri Sizov
3596443de1
Merge pull request #74727 from AThousandShips/project_settings
...
Exposing more project settings for documentation
2023-03-15 15:59:10 +01:00
Yuri Sizov
d67c1a5903
Merge pull request #74838 from dsnopek/quaternion-constructor-3
...
Documents the "arc-based" Quaternion constructor
2023-03-15 14:51:38 +01:00
Ninni Pipping
bd30847e59
Exposing more project settings for documentation
2023-03-15 14:25:40 +01:00
Yuri Sizov
c981a305a5
Merge pull request #73144 from chutchinson/bug/openxr-init-alert-dialog
...
Replaced OpenXR operating system alert dialog with a warning log message
2023-03-15 14:07:05 +01:00
Yuri Sizov
d9bd6a359a
Merge pull request #74731 from brettchalupa/patch-1
...
Fix CharacterBody2D get_slide_collision docs
2023-03-15 13:37:51 +01:00
Bastiaan Olij
e31c2e4277
Add a get_system_info method to XRInterface
2023-03-15 13:11:48 +11:00
Rémi Verschelde
e5cc494fbf
i18n: Sync translations with Weblate
...
(cherry picked from commit d23922ffeb
)
2023-03-15 02:31:09 +01:00
Danil Alexeev
ba985ecf3f
Fix `draw_multiline_colors()` for `width < 0`
2023-03-14 09:43:56 +03:00
rainlizard
bf7adc8670
Specify how to use the global animation library in gdscript
2023-03-14 14:25:21 +11:00
Clay John
79454bfd3b
Merge pull request #74847 from pcamp/patch-2
...
Fix typo in Window class.
2023-03-13 11:19:25 -07:00
pcamp
112977be26
Fix typo in Window class.
...
"event as" -> "events will be"
2023-03-12 19:53:12 -05:00
David Snopek
2d6deb10b0
Documents the "arc-based" Quaternion constructor
2023-03-12 15:53:41 -05:00
John Veness
4505049ba6
Corrected capitalisation of macOS
...
In documentation and comments, ignoring thirdparty code
2023-03-12 16:48:52 +00:00
Brett Chalupa
2b6e1550ff
Fix CharacterBody2D get_slide_collision docs
...
The indentation was off and the code usage was incorrect for Godot 4.0 GDScript.
2023-03-10 18:25:54 -05:00
Rémi Verschelde
0c59e0c35b
Merge pull request #74707 from mihe/recovery-as-collision
...
Add `recovery_as_collision` to extension binding of `_body_test_motion`
2023-03-10 14:06:38 +01:00
Rémi Verschelde
82c8f57763
Merge pull request #74675 from AThousandShips/scene_name_casing
...
Document `editor/naming/scene_name_casing` setting
2023-03-10 14:05:27 +01:00
Rémi Verschelde
1528aefc1f
Merge pull request #74627 from titus125/master
...
Fixed typos in Transform2D and Transform3D class reference
2023-03-10 14:03:30 +01:00
Rémi Verschelde
4779389d3a
Merge pull request #74242 from mihe/pick-ray
...
Add `pick_ray` parameter to extension binding of `intersect_ray`
2023-03-10 14:02:43 +01:00
Mikael Hermansson
1bad2e30ee
Add `recovery_as_collision` to extension binding of `_body_test_motion`
2023-03-10 09:37:21 +01:00
titus125
36270d39d2
Fixed typos in the Transform2D and Transform3D class reference
2023-03-09 17:05:25 -08:00
Ninni Pipping
3de5332fcb
Document `editor/naming/scene_name_casing` setting
...
Moved definitions of editor related project settings to `editor/register_editor_types.cpp` to make documentation work.
2023-03-09 21:17:49 +01:00
Rémi Verschelde
b201db0cc1
Merge pull request #74638 from timothyqiu/typora
...
Fix various typos in the classref
2023-03-09 12:21:09 +01:00
Rémi Verschelde
e7b05327df
Merge pull request #74610 from vnen/array-dict-readonly-doc
...
Remove outdated note about const in Dictionary and Array docs
2023-03-09 12:18:32 +01:00
Haoyu Qiu
03fcac3aa5
Fix various typos in the classref
2023-03-09 14:56:23 +08:00
George Marques
d2b1d6e69b
Remove outdated note about const in Dictionary and Array docs
2023-03-08 12:13:17 -03:00
BrunoSXS
df0de07494
Fix for AABB methods with wrong description
2023-03-08 10:17:14 -03:00
Rémi Verschelde
b8126b18dc
Merge pull request #73429 from bruvzg/macos_no_sc
...
[macOS] Re-add support for the _sc_ inside app bundle.
2023-03-07 08:36:51 +01:00
Rémi Verschelde
5f2137a050
Merge pull request #74087 from bruvzg/get_screen_px
...
[DisplayServer] Implement screen_get_pixel method for LinuxBSD/X11, macOS and Windows.
2023-03-06 21:58:58 +01:00
Isaac Clerencia
2a4f38d54f
Clarify Thread documentation
...
The current documentation uses the term "running" for two different things.
In the description of get_id() it claims "it will return empty string if the thread is not running", but it actually will return the thread id until wait_to_finish is called.
In the description of is_alive() it claims "it will return true if the thread is running", but in this case it means "the provided function hasn't finished running yet".
Updated the functions documentation slighly to make this clear.
2023-03-06 09:01:25 -05:00
Rémi Verschelde
0b98b470cc
Merge pull request #73716 from bruvzg/improve_locale_selection
...
Improve layout direction/locale automatic selection.
2023-03-06 10:57:56 +01:00
Rémi Verschelde
2a5fc1fe6c
Merge pull request #74306 from dalexeev/gds-var-colon-style
...
Fix GDScript code style regarding colon
2023-03-06 10:49:11 +01:00
Ricardo Buring
e61a127042
Fix concave/convex polygon shape documentation
...
Removes some outdated/incorrect/duplicated info, adds correct info.
Also removes no longer applicable "editor-only helper" statements.
2023-03-05 17:19:50 +01:00
Danil Alexeev
ea5fd3d732
Fix GDScript code style regarding colon
2023-03-05 17:03:20 +03:00
Rémi Verschelde
3f522f1b50
Merge pull request #74283 from Calinou/doc-shell-open-uri-encode
...
Document using `String.uri_encode()` with `OS.shell_open()`
2023-03-05 13:27:09 +01:00
Rémi Verschelde
24d4719ac1
Merge pull request #74258 from KoBeWi/do_not_fricking_reuse_tweens
...
Discourage reusing Tweens
2023-03-05 13:25:57 +01:00
kobewi
9785b23a0a
Discourage reusing Tweens
2023-03-04 19:51:52 +01:00
Rémi Verschelde
2daf664c90
Merge pull request #74235 from and-rad/turbulence-mixup
...
Fixed minor typo in turbulence documentation
2023-03-03 11:08:39 +01:00
Rémi Verschelde
c329acafed
Merge pull request #74226 from timothyqiu/privacy-please
...
Hide internal settings from the classref
2023-03-03 11:08:16 +01:00
Hugo Locurcio
81ac3c3e71
Document using `String.uri_encode()` with `OS.shell_open()`
2023-03-03 11:07:34 +01:00
Rémi Verschelde
b9301a89b7
Merge pull request #74157 from themancalledjakob/DocumentationFontVariation
...
Documentation font variation
2023-03-03 11:05:45 +01:00
Rémi Verschelde
7bb68278bb
Merge pull request #74151 from BastiaanOlij/add_world_origin_prop
...
Add XRServer.world_origin property
2023-03-03 11:05:21 +01:00
Rémi Verschelde
9ab74fee3b
Merge pull request #74042 from KoBeWi/rm_-rf_System32
...
Safeguard Makefile commands
2023-03-03 11:04:32 +01:00
Rémi Verschelde
a2ecbb7c37
Merge pull request #73749 from fabriceci/expose-apply-floor-snap
...
Exposes the apply_floor_snap function to allow manual snap
2023-03-03 11:03:42 +01:00
Andreas Raddau
c618f9fce2
Fixed minor typo in turbulence documentation
2023-03-03 10:41:41 +01:00
Mikael Hermansson
fb3454a3ec
Add `pick_ray` parameter to extension binding of `intersect_ray`
2023-03-02 18:00:03 +01:00
themancalledjakob
fb5c2d9f75
improve documentation for Font and FontVariation
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-03-02 14:34:19 +01:00
Rémi Verschelde
f339f8e3d2
Merge pull request #73713 from SirQuartz/graph-node-close-button
...
Fix Graph Node close rect default position
2023-03-02 11:26:28 +01:00
Rémi Verschelde
cdddb726b1
Merge pull request #74130 from iamjustkoi/patch-1
...
Fix small mistake in Window.xml
2023-03-02 11:20:56 +01:00
Haoyu Qiu
1e0b8d6240
Hide internal settings from the classref
...
Default actions are no longer internal since we want to document them.
They are still hidden from the Project Setting dialog because we hid the
whole `input/` group manually.
2023-03-02 17:52:37 +08:00
Bastiaan Olij
fd8f26f26e
Add XRServer.world_origin property
2023-03-01 22:18:47 +11:00
bruvzg
e7647b5ee5
[DisplayServer] Implement screen_get_pixel method for LinuxBSD/X11, macOS and Windows.
2023-03-01 09:32:23 +02:00
bruvzg
8459aeaab0
[Font] Implement `get_char_from_glyph_index` function.
2023-03-01 09:29:11 +02:00
Rémi Verschelde
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00