summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2022-03-12popup_request signal emits mouse click positionFazil Babu
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
2022-03-08Merge pull request #58887 from cesarizu/bbcode_align_leftRémi Verschelde
2022-03-08Merge pull request #58879 from Calinou/basebutton-shortcut-context-fix-typoRémi Verschelde
2022-03-08Add support to align to left to bbcodeCésar Izurieta
2022-03-08Fix crash with all_tabs_in_frontPaweł Fertyk
Fixes #58790.
2022-03-07Fix typo in BaseButton shortcut context methodsHugo Locurcio
2022-03-06Fix regressions with nameless and icon-only tabsMichael Alexsander
2022-03-06Remove duplicate editor settings definitionskobewi
2022-03-06Merge pull request #58805 from KoBeWi/meh_customRémi Verschelde
Remove custom_* prefixes compatibility
2022-03-06Remove set_as_minsize()kobewi
2022-03-05Remove custom_* prefixes compatibilitykobewi
2022-03-05Change tabs_rearrange_group to propertykobewi
2022-03-04Fix renaming `TabContainer` children not updating tab names when outside the ↵Michael Alexsander
tree
2022-03-04Merge pull request #58691 from miremrie/absolute-file-path-in-file-browserRémi Verschelde
2022-03-04Merge pull request #58687 from YeldhamDev/the_beast_has_been_slainRémi Verschelde
2022-03-04Merge pull request #58739 from Calinou/control-add-constructorsRémi Verschelde
Add optional constructor arguments to more Control nodes
2022-03-04Add optional constructor arguments to more Control nodesHugo Locurcio
This can be used to make editor code more compact. However, as of writing, these constructor arguments cannot be used from the scripting API. This was already provided for Label and CheckBox, but it was missing for other Control nodes where it made sense to provide a default value.
2022-03-04Remove extra separator when TextEdit is read only and unselectableHaoyu Qiu
2022-03-03Make `TabContainer` use `TabBar` internallyMichael Alexsander
2022-03-03Fix LineEdit and TextEdit carets disappearing at theme scales below 1.0Hugo Locurcio
This fixes carets disappearing in the editor when the Editor Scale setting is set below 100%.
2022-03-02Allow absolute file paths in file dialogsmiremrie
2022-03-01Merge pull request #58559 from fazil47/scene-tree-icon-focusRémi Verschelde
Double clicking scene tree icon focuses that node
2022-03-01Merge pull request #58477 from AlbertFay/text-under-scrollbarRémi Verschelde
2022-02-28Fixed caret change signal emissionPaulb23
2022-02-27Double clicking scene tree icon focuses that nodeFazil Babu
2022-02-25Fixed bug with text going under scrollbaralbertfay1121
added classes reference update
2022-02-25Improve popup window handling.bruvzg
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-19Merge pull request #58042 from Sauermann/fix-viewport-border-notificationsRémi Verschelde
Fix Viewport mouse enter+exit notifications
2022-02-16Merge pull request #58182 from akien-mga/style-cleanup-if-semicolons-deadcodeRémi Verschelde
2022-02-16Merge pull request #58055 from markdibarry/add_get_line_offsetRémi Verschelde
2022-02-16Merge pull request #58154 from markdibarry/fix_scroll_to_lineRémi Verschelde
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-15Connect notifications from Container to ViewportMarkus Sauermann
mouse enter+exit
2022-02-15Fix scroll_to_line ignoring line separationmarkdibarry
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-15Merge pull request #57877 from bruvzg/subpixel_gl_posRémi Verschelde
2022-02-14Merge pull request #57988 from markdibarry/add_get_last_visible_character_lineRémi Verschelde
2022-02-14Merge pull request #58089 from YeldhamDev/crashy_tabsRémi Verschelde