summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2023-01-25Merge pull request #71142 from aaronfranke/never-duplicate-scriptRémi Verschelde
Add `PROPERTY_USAGE_NEVER_DUPLICATE` flag and use for script
2023-01-25Merge pull request #71330 from Geometror/richtextlabel-fit-contentRémi Verschelde
[RichTextLabel] Match minimum size calculation of Label (proper content fitting)
2023-01-24PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke
2023-01-24Improve clarity of Tree's activated/double-clicked signalsAaron Franke
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-01-23Cleanup and unify keyboard input.bruvzg
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes. - Unify IME behaviour, add inline composition string display on Windows and X11. - Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events. - Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS. - Add support for media key handling on macOS. Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-22Merge pull request #71686 from YuriSizov/stylebox-min-size-but-betterRémi Verschelde
Clean-up, harmonize, and improve StyleBox API
2023-01-22Merge pull request #71609 from lufog/menubar-auto-translationRémi Verschelde
MenuBar add auto-translation of Menu names
2023-01-21Merge pull request #70773 from KoBeWi/lectorRémi Verschelde
Add range iterator to LocalVector
2023-01-21Merge pull request #67253 from KoBeWi/PICKER_USAGE_NO_EDITORRémi Verschelde
Remove editor dependencies from ColorPicker
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-21Fix constant editor redraw after shortcutJuan Linietsky
Introduced by me by mistake on #71328. Fixes #71652.
2023-01-20MenuBar add auto-translation of Menu namesАлексей Смирнов
2023-01-19Merge pull request #71598 from bruvzg/gdscript_bidi_overrideRémi Verschelde
Implement BiDi override mode for GDScript source.
2023-01-19Clean-up, harmonize, and improve StyleBox APIYuri Sizov
- Make all margin properties follow the same naming convention (their getter and setter too). - Remove a virtual counterpart of `get_style_margin` from API. - Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
2023-01-19Cleanup unused engine code v2kobewi
2023-01-18Merge pull request #60904 from KoBeWi/👻👻👻Rémi Verschelde
Allow unindent without selection
2023-01-18Implement BiDi override mode for GDScript source.bruvzg
2023-01-18Merge pull request #71379 from KoBeWi/destruction_of_compatibility_functionRémi Verschelde
Remove set_drag_forwarding_compat()
2023-01-18Allow unindent without selectionkobewi
2023-01-17Prevent infinite cascade of re-layout after label text reshapingPedro J. Estébanez
2023-01-16Merge pull request #70685 from stmSi/fix-nan-graphedit-infinite-loopRémi Verschelde
Fix: NaN value making infinite loop inside GraphEdit's `NOTIFICATION_DRAW`
2023-01-16Merge pull request #70433 from Sauermann/fix-treeitem-idRémi Verschelde
Fix confusion about TreeItem.add_button ambiguity between id and index
2023-01-14Fixed adding extra quote when completing stringsPaulb23
2023-01-14Remove set_drag_forwarding_compat()kobewi
2023-01-14Merge pull request #71328 from reduz/button-shortcuts-no-longer-pressYuri Sizov
Button shortcuts no longer "press" the Button.
2023-01-13Add expand mode compat to TextureRectkobewi
2023-01-13Button shortcuts no longer "press" the Button.Juan Linietsky
* Button shortcuts were treated as generic input events on buttons. This means that to activate a button shortcut you had to press and release. * This logic is removed and now shortcuts always activate on press. * This makes the editor feel more responsive and solves problems related to this behavior. Fixes #45033 and possibly others.
2023-01-13[RichTextLabel] Match minimum size calculation of LabelHendrik Brucker
(optional via fit_content property)
2023-01-13Fix NaN value making infinite loop inside GraphEdit's NOTIFICATION_DRAWstmSi
2023-01-12Merge pull request #58517 from KoBeWi/size_mattersRémi Verschelde
Add expand modes to TextureRect
2023-01-12Add expand modes to TextureRectkobewi
2023-01-12Merge pull request #70566 from cg9999/richtextlabel_fixRémi Verschelde
Fix crash in RichTextLabel table parsing
2023-01-12Fix crash in RichTextLabel table parsingHenri Valta
Fixed with help of feedback from bruvzg. Prevents invalid items getting to stack.
2023-01-12Rename (de)selected signals to node_(de)selected in GraphNodeHendrik Brucker
2023-01-11Merge pull request #71219 from ↵Rémi Verschelde
EricEzaM/68176-codeedit_update_code_completion_options_crash Fix crash in CodeEdit when caret column exceeds line length.
2023-01-11Fix crash in CodeEdit when caret column exceeds line length.Eric M
2023-01-11Merge pull request #71183 from YuriSizov/control-refresh-layouts-by-parentsRémi Verschelde
Ensure that the cached layout mode is in sync
2023-01-11Merge pull request #71127 from reduz/drag-forward-to-callablesRémi Verschelde
Change set_drag_forwarding() to use callables.
2023-01-11Merge pull request #71042 from ↵Rémi Verschelde
marzecdawid/only-cursor-multiselect-tree-text-search Fix text search in Tree with multiselect
2023-01-10Ensure that the cached layout mode is in syncYuri Sizov
2023-01-10Change set_drag_forwarding() to use callables.Juan Linietsky
* This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
2023-01-10Merge pull request #71056 from marzecdawid/add-tree-deselect-all-to-gdscriptRémi Verschelde
Expose Tree::deselect_all to GDScript
2023-01-09Removed unused property hints and `Object::get_translatable_strings()`Juan Linietsky
* Remove unused `EditorPropertyMember` and related hints, previouly used by VisualScript. Such logic should be implemented in the VS module itself. * As the above broke compatibility with the VS module, clean up the other hacks that were still in core in support of VisualScript. * `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's `get_translatable_strings()`, which is a legacy function not used anywhere. So both are removed. * Reordered some usage flags after the above removal to minimize the diff. * General clean up. Fixes #30203. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-09Fix inconsistent state of Controls when editing and running scenesYuri Sizov
2023-01-09Fix unpressable buttonsDanil Alexeev
2023-01-09Merge pull request #71045 from reduz/use-bitfield-in-core-typesRémi Verschelde
Use BitField<> in core type masks
2023-01-08Merge pull request #71037 from reduz/array-format-bitfieldRémi Verschelde
Use BitField<> hint for Mesh.ArrayFormat and Control.SizeFlags
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-08Use BitField<> hint for ArrayFormatJuan Linietsky
This was missing in the conversion of bitflags to BitField<>.