summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2020-05-06PopupMenu.get_current_index() bound to ClassDBnobuyuki_nyuu
2020-05-06Merge pull request #38495 from DarkMessiah/tree-bind-suffixRémi Verschelde
Bind set_suffix and get_suffix in Tree
2020-05-06Merge pull request #38488 from ↵Rémi Verschelde
EricEzaM/adjust-stretch-ratio-value-range-and-documentation Updated editor spin slider to have better behaviour and adjusted control's size_flags_stretch_ratio value range
2020-05-06Bind set_suffix/get_suffix in TreeStanislav Labzyuk
2020-05-06Updated editor spin slider to have better behaviour and adjusted control's ↵Eric M
size_flags_stretch_ratio value range
2020-05-05Merge pull request #37293 from Janglee123/ctrl-click-improvementsRémi Verschelde
Improved go-to definition (Ctrl + Click)
2020-05-05Improved go-to definition (Ctrl + Click)janglee
Co-Authored-By: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2020-04-30Fixed bbcode parsing for built-in RichTextEffects in RichTextLabelDarenn
RichTextEffect can now have a bbcode string starting like one of the built-in. It was impossible before as the built-in would take precedence over the custom effect that has the same bbcode start. Example : [fade] would take precedence over [fade_in]
2020-04-29Merge pull request #37846 from CaptainProton42/text-edit-undo-stack-sizeRémi Verschelde
Add "undo_max_stack_size" property to TextEdit
2020-04-29Limit undo stack sizeJohn Wigg
The stack size of the undo history of a TextEdit was not limited leading to potential memory leaks when doing lots of operations on a TextEdit. This commit adds the option gui/common/text_edit_undo_stack_max_size to the project settings. The first element of the undo stack is popped if the stack's size exceeds this value ensuring limited memory usage. The default stack size setting is 1024. Fixes #37838.
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-29Remove unneccessary increment in TextEditTomasz Chabora
2020-04-28Rename InputFilter back to InputRémi Verschelde
It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
2020-04-16Merge pull request #37047 from YeldhamDev/tabcontainer_doc_control_fixRémi Verschelde
Fix incorrect TabContainer documentation for 'get_tab_control()'
2020-04-15Add "node_unselected" signal for GraphEditasheraryam
2020-04-13Fixed 0 width issue of rich text labeljanglee
Fixes #37746
2020-04-10Fix OptionButton docs godotengine#36803Zak Grumbles
* item_selected and item_focused docs incorrectly had 'id' as the parameter. Changed to 'index'. * Fix parameter name in ADD_SIGNAL callin code.
2020-04-10Merge pull request #37517 from nekomatata/slider-grab-area-highlightRémi Verschelde
Add style for highlighted Slider grab area
2020-04-08Remove unused ofs variabletheludovyc
2020-04-08erase : if ( i < offset ) { continue;} in for loopstheludovyc
2020-04-07Fixed underlines and striketrough not respecting visible characterjanglee
2020-04-07Merge pull request #37591 from Anutrix/remove_reduntant_classRémi Verschelde
Removed redundant class LineEditFileChooser from file_dialog
2020-04-07Merge pull request #37642 from dreamsComeTrue/rich-text-strike-fixRémi Verschelde
Calculate strike-through y-position correctly (RichTexteLabel)
2020-04-07Merge pull request #37615 from guilhermefelipecgs/fix_37526Rémi Verschelde
Fix TextureRect::flip_* when used with atlas texture
2020-04-06Calculate strike-through position correctlyDominik 'dreamsComeTrue' Jasiński
Fixes: #37637
2020-04-06Merge pull request #37639 from qarmin/no_more_leaksRémi Verschelde
Fixes leaks when running editor
2020-04-06Fixes leaks when running editorqarmin
2020-04-06Fix TextureRect::flip_* when used with atlas textureGuilherme Felipe
Fix #37526
2020-04-06Merge pull request #37556 from KoBeWi/kill_get_indexRémi Verschelde
Remove Node.get_position_in_parent()
2020-04-06Remove Node.get_position_in_parent()Tomasz Chabora
2020-04-05Merge pull request #37397 from Eoin-ONeill-Yokai/Bug37081Rémi Verschelde
Correction to RichTextLabel Tabulation (Bug 37081)
2020-04-05Removed reduntant class LineEditFileChooser.unknown
2020-04-04Fix file dialog not showing iconsunknown
2020-04-04Remove redundant vbx variable in FileDialogunknown
2020-04-03Merge pull request #37505 from YeldhamDev/viewcont_renameRémi Verschelde
Rename ViewportContainer to SubViewportContainer
2020-04-02Add style for highlighted Slider grab areaPouleyKetchoupp
2020-04-02Replace more occurrences of NULL with nullptrRémi Verschelde
2020-04-02Replace NULL with nullptrlupoDharkael
2020-04-02Merge pull request #37504 from qarmin/out_of_bound_cursorRémi Verschelde
Fix array out of bounds access caused by uninitialised variables
2020-04-01Rename ViewportContainer to SubViewportContainerMichael Alexsander
2020-04-01Fix out of bound array access caused by unassigned variableRafał Mikrut
2020-04-01Merge pull request #37443 from Leleat/masterRémi Verschelde
Fix PopupMenu's letter jumping on any InputEventKey (instead of just a press)
2020-03-31doc: Sync classref with DisplayServer/Window changesRémi Verschelde
2020-03-30fixed PopupMenus letterjumping on any InputEventLeleat
2020-03-30SCons: Format buildsystem files with psf/blackRémi Verschelde
Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
2020-03-29Correction to RichTextLabel TabulationEoin O'Neill
Correct backtrack assignment to prevent excessive tabulation. Worth noting that tabulation is treated differently in RichTextLabel because of custom user-asignable tab variable which creates problems with dynamic fonts specifically.
2020-03-27Renaming of servers for coherency.Juan Linietsky
VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
2020-03-27Rename more 2D and 3D nodes to follow conventionRémi Verschelde
Rename editor plugins to match the new node names.
2020-03-26Add macOS DisplayServer implementation.bruvzg
Change global menu to use Callable, add support for check items and submenus.
2020-03-26Fixes to X11, still pretty brokenJuan Linietsky