summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2022-03-31Small fixes for `TabContainer`Michael Alexsander
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-31Merge pull request #59702 from ↵Rémi Verschelde
Sauermann/fix-subviewport-container-event-transform Fix event transform in SubViewportContainer
2022-03-30Fix Control::warp_mouse to respect canvas transformMarkus Sauermann
2022-03-30Fix event transform in SubViewportContainerMarkus Sauermann
The transform does not take the canvas transform into account.
2022-03-30Make vararg method bind no return and returnPierre-Thomas Meisels
Type emit_signal exposed method return type set UndoRedo add_do_method and add_undo_method exposed return void Set TreeItem::_call_recursive_bind returns void Set _rpc_bind and _rpc_id_bind returns void in Node Set _call_group and _call_group_flags method returns void in SceneTree Set godot-cpp-test CI flag to false
2022-03-28Merge pull request #59525 from fire-forge/fix-group-namesRémi Verschelde
2022-03-28Fix inspector group name capitalizationFireForge
2022-03-28String: Remove TTR and DTR defines in non-tools buildRémi Verschelde
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
2022-03-28Merge pull request #59548 from akien-mga/obj-remove-unused-categoriesRémi Verschelde
2022-03-28Merge pull request #59553 from reduz/script-extension-supportRémi Verschelde
2022-03-27Add GDExtension support to Scriptreduz
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-27Rename warp mouse functions to warp_mouseMarkus Sauermann
2022-03-26Merge pull request #59336 from YeldhamDev/where_we_dropping_boysRémi Verschelde
2022-03-26Add configuration warning for SubViewportContainerMarkus Sauermann
2022-03-26Object: Remove unused category boilerplateRémi Verschelde
We might want to re-add something like this if/when we find a good use case for it and do the effort to categorize all objects in the API properly. Until then, it's better to remove that boilerplate since it's not needed. Closes #18711.
2022-03-24Refactor Object metadatareduz
* API kept the same (Although functions could be renamed to set_metadata/get_metadata in a later PR), so not much should change. * Metadata now exposed as individual properties. * Properties are editable in inspector (unless metadata name begins with _) under the metadata/ namespace. * Added the ability to Add/Remove metadata properties to the inspector. This is a functionality that was requested very often, that makes metadata work a bit more similar to custom properties in Blender.
2022-03-22Merge pull request #59403 from fire-forge/textureprogressbar-groupRémi Verschelde
Fix "Stretch Margin" group in TextureProgressBar
2022-03-21Add visual marker when dragging and dropping tabsMichael Alexsander
2022-03-21Remove unnecessary "Percent" group in ProgressBarFireForge
2022-03-21Fix "Stretch Margin" group in TextureProgressBarFireForge
2022-03-19Merge pull request #59322 from YeldhamDev/groups_arent_boolsRémi Verschelde
2022-03-19Fix `tabs_rearrange_group` property being exposed as a `bool` instead of a `int`Michael Alexsander
2022-03-19Hide text and icon properties in OptionButtonkobewi
2022-03-18Merge pull request #58394 from bruvzg/rtl_hintRémi Verschelde
2022-03-18Merge pull request #58233 from bruvzg/gde_tsRémi Verschelde
2022-03-17Make `TabBar/Container` default their alignments to the left instead of centerMichael Alexsander
2022-03-17Unify TextServer built-in module and GDExtension code.bruvzg
2022-03-17Add item tooltip access to OptionButtonHaoyu Qiu
2022-03-16Fix children visibility checktaigi100
2022-03-15Fix text buf does not clear when calling the method set_item_text in PopupMenu风青山
2022-03-13Merge pull request #59108 from KoBeWi/somewhere_on_the_screenRémi Verschelde
2022-03-13Fix text clipping on the right side.bruvzg
2022-03-13Expose methods for screen-space transformskobewi
2022-03-13Fix RichTextLabel shadow color when text has transparencyHaoyu Qiu
2022-03-12Merge pull request #54399 from ↵Rémi Verschelde
Calinou/filedialog-current-properties-hint-no-editor Don't store and show current file/directory/path FileDialog properties
2022-03-12Merge pull request #59061 from fazil47/graph_edit_offset_fixRémi Verschelde
2022-03-12popup_request signal emits mouse click positionFazil Babu
2022-03-12Allow negative indexes in ItemList and PopupMenukobewi
2022-03-11Merge pull request #59007 from novaplusplus/code_edit_from_to_error_fixRémi Verschelde
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-11Fix "p_from_line > p_to_line" errors in text editnova++
Done via making the function more robust to different inputs
2022-03-10Discern between virtual and abstract class bindingsreduz
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
2022-03-10Revert "Update mouse cursor shape after changes"Markus Sauermann
This reverts commit 0fce98b4b5f568298477b175c70510924793f6b0.
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09Merge pull request #58913 from Sauermann/fix-mouse-cursor-changeRémi Verschelde
2022-03-09Update mouse cursor shape after changesMarkus Sauermann
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
2022-03-09Replace `TabBar`'s `min_width` with `max_tab_width` and expose itMichael Alexsander
2022-03-08Rename Control's Rect properties to exclude rect_ partMarcel Admiraal
2022-03-08Merge pull request #58850 from YeldhamDev/more_tab_regressionsRémi Verschelde