summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2020-02-27Merge pull request #36232 from Calinou/add-soft-line-length-guidelineRémi Verschelde
Add a soft line length guideline to the script editor
2020-02-27Merge pull request #36050 from eswartz/line-edit-move-cursor-on-unselectRémi Verschelde
Use left/right arrow to move cursor when unselecting in LineEdit
2020-02-25Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky
- Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
2020-02-23Merge pull request #36089 from dreamsComeTrue/fix-autocomplete-quotesRémi Verschelde
Fix: auto brace complete for quoted strings
2020-02-23Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde
This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-21Fix: auto brace complete for quoted stringsDominik 'dreamsComeTrue' Jasiński
Fixes #36002
2020-02-21Added StringName as a variant type.Juan Linietsky
Also changed all relevant properties defined manually to StringName.
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-17Merge pull request #36229 from dreamsComeTrue/rich-text-label-key-eventsRémi Verschelde
RichTextLabel: proper handling of internal key events
2020-02-15Use left/right arrow to move cursor when unselecting in LineEditEd Swartz
-- useful for rename dialog (the filename portion is selected by default, and usually, want to change the end of the name, not the beginning)
2020-02-15Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.Juan Linietsky
2020-02-15Fix hiding ColorPicker's presets not fully hiding its controlsMichael Alexsander
2020-02-15Add a soft line length guideline to the script editorHugo Locurcio
The default value is 80. The hard line length guideline's default column has been moved to 100 to account for the new soft line length guideline. It can be disabled by setting its value to the same column as the hard line length guideline. This closes https://github.com/godotengine/godot-proposals/issues/347.
2020-02-14RichTextLabel: proper handling of internal key eventsDominik 'dreamsComeTrue' Jasiński
Fixes #36211
2020-02-12ObjectID converted to a structure, fixes many bugs where used incorrectly as ↵Juan Linietsky
32 bits.
2020-02-11Bugfixes and ability to better specify filter and repeat modes everywhere.Juan Linietsky
Removes antialiased flag for draw_* methods.
2020-02-11basic 2D engine is more or less working with Vulkan, including editor.Juan Linietsky
Still a lot to do
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-10Merge pull request #34288 from bojidar-bg/33425-always-suggest-subsequenceRémi Verschelde
Always display subsequence autocompletion matches
2020-02-09Merge pull request #35768 from Eoin-ONeill-Yokai/hiddenRichTextRémi Verschelde
Fix to RichTextEffect `visibility` - Label Now Accounts for Skipped Characters.
2020-02-09Merge pull request #35840 from timothyqiu/groups-matchRémi Verschelde
Fixes add group in Group Editor dialog
2020-02-09Merge pull request #35814 from timothyqiu/line-edit-shortcutRémi Verschelde
Adds CTRL-A CTRL-E support to LineEdit on macOS
2020-02-09Merge pull request #36039 from YeldhamDev/tree_text_clip_fixRémi Verschelde
Fix text clipping in Tree items not working with negative values
2020-02-08Fix text clipping in Tree items not working with negative valuesMichael Alexsander
2020-02-08Merge pull request #35714 from sumit0190/lineEditWidthRémi Verschelde
Update cached_width of the line_edit element (#35699)
2020-02-08Update cached_width of the line_edit element when setting it to be secretsumit0190
2020-02-08Uses split cursor for SplitContainerHaoyu Qiu
2020-02-07Use modules_enabled.gen.h to improve inter dependency checksRémi Verschelde
- Fix build with gdscript module disabled. Fixes #31011. - Remove unused `gdscript` compile option. - Fix build with regex module disabled. - Fix ImageLoaderSVG to forward declare thirdparty structs.
2020-02-07GraphEdit: Fix regression with GraphNode mouse filterRémi Verschelde
PR #35068 made Container (which GraphNode inherits) default to MOUSE_FILTER_PASS, so I removed the manual override, but it turns out that GraphNode's constructor still overrides it to MOUSE_FILTER_STOP. Another fix could be to remove the STOP in the constructor, but I don't know if it's there for a specific reason (e.g. to have GraphNodes STOP by default, but PASS in a specific case). Fixes #35978.
2020-02-06Merge pull request #35068 from akien-mga/containers-mouse-filter-passRémi Verschelde
Use MOUSE_FILTER_PASS for all containers
2020-02-05Merge pull request #32959 from georgwacker/control-node-anim-fixRémi Verschelde
Fix control node transform animation jitter with pivot offset
2020-02-05Remove duplicate WARN_PRINT macro.Marcel Admiraal
2020-02-02Fixes add group in Group Editor dialogHaoyu Qiu
Before this fix, new group can't be created if any existing group starts with the new name.
2020-02-01Adds CTRL-A CTRL-E support to LineEdit on macOSHaoyu Qiu
2020-01-31Merge pull request #35612 from timothyqiu/option-button-arrowRémi Verschelde
Fixes OptionButton minimum size
2020-01-30Fix RichTextEffect `visibility` to Account for Skipped Characters.Eoin O'Neill
A picture is easier to describe this issue than words. Basically, rich text effects allowed for character visibility changes. While doing so would work properly, the rich text label would render the next `word` in an offset accounting for the hidden characters (leaving a huge space.) This patch fixes this issue by keeping track of the amount of `backtrack` necessary per line.
2020-01-30Fix tab container too large when tabs are hiddennathanwfranke
2020-01-28Revert "make Label consider spaces for visible_characters"Rémi Verschelde
This reverts commit 695980a0f21adbe66eb12e1015fdc8c51fb62bf9. Fixes #35668.
2020-01-27Fixes OptionButton min sizeHaoyu Qiu
2020-01-26Updates minimum size on VideoPlayer::set_streamHaoyu Qiu
2020-01-23Merge pull request #35438 from MadEqua/virtual-keyboard-line-editRémi Verschelde
Android virtual keyboard respecting LineEdit max length.
2020-01-23Android virtual keyboard respecting LineEdit max length.Bruno Lourenço
2020-01-19Fix Control::_window_find_focus_neighborRicardo Buring
Due to a typo, the size of a candidate neighbor was confused with the size of the control itself. Fixes #34936.
2020-01-16Merge pull request #35183 from YeldhamDev/scrollbar_regressionRémi Verschelde
Fix scrollbar regression on large scales
2020-01-16Fix scrollbar regression on large scalesMichael Alexsander
2020-01-16Updates ScrollContainer min size when toggle scrollbarsHaoyu Qiu
2020-01-15Updates LineEdit's min size when necessaryHaoyu Qiu
These properties will affect the minimum size of LineEdit: * The right icon (`set_right_icon`) * The clear button (`set_editable` and `set_clear_button_enabled`) * The text, when "expand to text length" is enabled (`set_text`)
2020-01-14Fix regression on scrollbar raising in ScrollContainerMichael Alexsander
2020-01-14Cleanup unnecessary code from before the scrollbar overlapping fixesMichael Alexsander