summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-12Fix _unnamed_arg so that arguments defined by GDExtension show up in docs.Quentin Quaadgras
The Godot API (gdnative_interface.h) allows methods to be registered on extension classes with `classdb_register_extension_class_method` a `GDNativeExtensionClassMethodInfo` can be provided to this function along with a `get_argument_info_func` which according to the comment indicates that argument names should be definable here. Unfortunately, setting the name field in the `GDNativePropertyInfo` struct has no effect on the editor documentation, which continues to display "_unnamed_arg" for each argument. I discovered that `get_argument_info` is responsible for this as it always overrides the `info.name`. I've added an if condition that will only override the name when it is empty. I've tested this with my GDExtension module and I can confirm that with this commit, the argument name shows up in the builtin docs. eg. in Lookup Symbol.
2022-10-11Merge pull request #67227 from BastiaanOlij/vkCreateRenderPass2KHR_fallbackClay John
Added fallback to vkCreateRenderPass
2022-10-12Merge pull request #66594 from Faless/ws/4.x_unify_peerFabio Alessandrelli
[WebSocket] Refactor websocket module.
2022-10-12Added fallback to vkCreateRenderPass if ↵Bastiaan Olij
VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME isn't supported
2022-10-11Merge pull request #67215 from Nidjo123/project-dialog-resizeRémi Verschelde
Resize project dialog only when necessary
2022-10-11Merge pull request #67271 from Paulb23/textedit_select_word_under_caretRémi Verschelde
Fix select word under caret using caret col instead of line
2022-10-11Fix select word under caret using caret col instead of linePaulb23
2022-10-11Merge pull request #67110 from Chaosus/fix_incorrect_vec3_ubo_fillClay John
Fix incorrect offset for vec3 datatypes in `_fill_std140_ubo_empty`
2022-10-11Merge pull request #67270 from RandomShaper/slim_usage_msaa_attachmentRémi Verschelde
Restrict MSAA attachment usage to the strictly needed set
2022-10-11Merge pull request #67244 from RandomShaper/split_render_further_2Rémi Verschelde
Polish rendering driver refactor further (take 2)
2022-10-11Restrict MSAA attachment usage to the strictly needed setPedro J. Estébanez
2022-10-11Polish rendering driver refactor further (take 2)Pedro J. Estébanez
2022-10-11Set window size after setting new limitsNikola Bunjevac
Otherwise this can fail as the size may not fit into current limits. This is problematic at least on X11.
2022-10-11Resize project dialog only when necessaryNikola Bunjevac
2022-10-11Merge pull request #40274 from Juankz/clips_importing_improvementRémi Verschelde
Add animation slices for individual animations
2022-10-11Merge pull request #63271 from Chaosus/fix_texture_errorRémi Verschelde
Fix error emitting when opening some textures in the inspector
2022-10-11Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-esRémi Verschelde
Rename remaining "*_enable" to "*_enabled"
2022-10-11Merge pull request #62659 from Chaosus/editor_group_rename_optionRémi Verschelde
Add ability to rename groups in the GroupsEditor
2022-10-11Merge pull request #67018 from Mickeon/try-connections-dialog-self-connectionRémi Verschelde
Add Editor Setting for default name when connecting signal to self
2022-10-11Merge pull request #66310 from ↵Rémi Verschelde
TokageItLab/Change-bonemapper-background-silhouette Change bone mapper background model silhouette
2022-10-11[WebSocket] Refactor websocket module.Fabio Alessandrelli
This commit is a huge refactor of the websocket module. The module is really old, and some design choices had to be re-evaluated. The WebSocketClient and WebSocketServer classes are now gone, and WebSocketPeer can act as either client or server. The WebSocketMultiplayerPeer class is no longer abstract, and implements the Multiplayer API on top of the lower level WebSocketPeer. WebSocketPeer is now a "raw" peer, like StreamPeerTCP and StreamPeerTLS, so it emits no signal, and just needs polling to update its internal state. To use it as a client, simply call WebSocketPeer.coonect_to_url, then frequently poll the peer until STATE_OPEN is reached and then you can write or read from it, or STATE_CLOSED and then you can check the disconnect code and reason). To implement a server instead, a TCPServer must be created, and the accepted connections needs to be provided to WebSocketPeer.accept_stream (which will perform the HTTP handshake). A full example of a WebSocketServer using TLS will be provided in the demo repository.
2022-10-11Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfoRémi Verschelde
Fetch video adapter driver name and version from OS
2022-10-11Merge pull request #61776 from Rindbee/fix-code-editor-searchRémi Verschelde
Fix some bugs about search in code editor
2022-10-11Merge pull request #67201 from progsource/richtextlabel-icon-spritesheetRémi Verschelde
Add Spritesheet support to RichTextLabel BBCode
2022-10-11Merge pull request #67241 from ↵Rémi Verschelde
groud/expose_resource_format_loader_recognize_path Exposes ResourceFormatLoader.recognize_path to scripting
2022-10-11Add Spritesheet support to RichTextLabel BBCodePetra Baranski
BBCode: [img region=0,0,16,16]res://icon.svg[/img]
2022-10-11Fetch video adapter driver name and version from OS on Linux/*BSD and WindowsMJacred
2022-10-11Exposes ResourceFormatLoader.recognize_path to scriptingGilles Roudière
2022-10-11Merge pull request #67242 from akien-mga/cleanup-unused-definesRémi Verschelde
Cleanup unused defines in platform code
2022-10-11Merge pull request #59382 from akien-mga/editor-acceptdialog-swap-cancel-okRémi Verschelde
Add editor setting for AcceptDialog OK/Cancel buttons positioning
2022-10-11Fix some bugs about search in code editorRindbee
1. Fix #61713; 2. Fix the bug when there are consecutive matches, forward searching will skip the adjacent item; 3. Fix the bug that enable the selection-only option will affect the operations in search mode.
2022-10-11Merge pull request #67236 from RandomShaper/fix_win_consRémi Verschelde
Fix newlines not honored in Windows console
2022-10-11Cleanup unused defines in platform codeRémi Verschelde
2022-10-11Fix newlines not honored in Windows consolePedro J. Estébanez
This is relevant when building with `windows_subsystem=console`.
2022-10-11Merge pull request #67104 from Calinou/add-viewport-transparent-project-settingRémi Verschelde
Add a project setting to make the root viewport transparent
2022-10-11Merge pull request #67217 from ↵Rémi Verschelde
touilleMan/gdextension-implement-get_documentation Implement ScriptExtension::get_documentation
2022-10-11Merge pull request #67224 from Mickeon/jasonRémi Verschelde
Use `JSON::stringify` where possible
2022-10-11Merge pull request #67176 from cooperra/negative-scale-culling-fixRémi Verschelde
Vulkan Clustered: Fix culling of negatively-scaled objects
2022-10-11Merge pull request #67219 from KoBeWi/adJUSt_NAMe_cAsIng_PRopERLYRémi Verschelde
Fix node name casing issues
2022-10-11Merge pull request #67126 from Mickeon/i-was-very-boredRémi Verschelde
Strip unnecessary break on switches returning early in Variant
2022-10-11Merge pull request #67192 from RedMser/light-scale-warningRémi Verschelde
Show warning when scaling Light3D nodes
2022-10-11Merge pull request #67194 from RedMser/dirlight2d-height-suffixRémi Verschelde
Remove incorrect `px` suffixes
2022-10-11Merge pull request #64268 from timothyqiu/is-finiteRémi Verschelde
Add `is_finite` method for checking built-in types
2022-10-11Merge pull request #67000 from RandomShaper/split_render_furtherRémi Verschelde
Polish rendering driver refactor further
2022-10-11Implement ScriptExtension::get_documentationEmmanuel Leblond
2022-10-10Add animation slices for individual animationsJuan Velandia
This improves the workflow for animations in a single timeline. The users are no longer forced to slice one animation named "default". Instead users can choose which animation(s) to break and how. Changes: - Remove slicing options from the animation player import menu - Add such options to the animation import menu - Rename clips to slices wherever was left
2022-10-10Connect signal animation_removed to its proper methodJuan Velandia
2022-10-11Use `JSON::stringify` where possibleMicky
2022-10-10Fix node name casing issueskobewi
Co-authored-by: ryburnj <jordanryburn@gmail.com>
2022-10-10Strip unnecessary break on switches returning early in VariantMicky
Tweaks comments around the touched-up parts. Also tweaks spacing Also adds some spacing in all cases of Variant::`reference()`. This is a special for consistency, because it ends up making the cases more readable.