summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-20Merge pull request #61182 from danielkariv/fix_misclick_selectionRémi Verschelde
2022-05-19Use suffixes for units in nodes and resourcesAaron Franke
2022-05-19Merge pull request #61142 from bruvzg/rtl_threadedRémi Verschelde
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-19add check for selection when try to push a meta.Daniel Kariv
Add a check for when we select a text but end on a link. Before it would act as if we just click an link, but now it changes it so if we click-drag over a link, we could select it (and not move to other page).
2022-05-19[RTL] Add support for shaping in background thread.bruvzg
2022-05-18Merge pull request #60955 from ↵Rémi Verschelde
pfertyk/issue-60668-fix-get-breakpointed-lines-crash Fix `get_breakpointed_lines` crashing Godot
2022-05-18Define some Theme data structures with using for readabilityYuri Sizov
2022-05-17Merge pull request #61088 from groud/keep_unhandled_events_on_passRémi Verschelde
2022-05-17Merge pull request #60867 from KoBeWi/μtextRémi Verschelde
Remove font height restriction from Button
2022-05-17Keep input event as unhandled if they go through a control set to ↵Gilles Roudière
MOUSE_FILTER_PASS
2022-05-17Merge pull request #61112 from Chaosus/graph_edit_delete_nodes_paramRémi Verschelde
2022-05-17Merge pull request #61001 from derammo/derammo_popup_conditional_hideRémi Verschelde
2022-05-17Add node list param to `GraphEdit::delete_nodes_request` signalYuri Rubinsky
2022-05-16Fix get_breakpointed_lines crashing GodotPaweł Fertyk
Fixes #60668.
2022-05-16Merge pull request #59231 from Sauermann/fix-top-level-identificationRémi Verschelde
2022-05-16Merge pull request #59799 from Sauermann/fix-gridcontainer-remaining-pixelRémi Verschelde
2022-05-16Merge pull request #60463 from Geometror/improve-vs-1Rémi Verschelde
2022-05-16Merge pull request #60986 from fire-forge/capitalismRémi Verschelde
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-13popup deferred hide suppressed if reopenedderammo
popup no longer tries to close itself a second time popup no longer closes after having been reopened fixed bug in RenameDialog not calling base (by inspection) fixes #59181 fixes #60921 reverts #59287
2022-05-13Add ALT NUM+ {hex code} character input support for LineEdit, TextEdit and ↵bruvzg
CodeEdit.
2022-05-12Capitalize/fix some property enum hintsFireForge
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-05-10Merge pull request #60932 from Geometror/button-fix-expand-iconRémi Verschelde
2022-05-10Fix button icon expansion calculation with empty textHendrik Brucker
2022-05-10Add fill_mode to ProgressBarfloppyhammer
2022-05-09Simplify anchor metadatakobewi
2022-05-09Merge pull request #60890 from pfertyk/issue-60866-fix-backspace-selection-leftRémi Verschelde
2022-05-09Fix backspace when selection reaches left edgePaweł Fertyk
Fixes #60866.
2022-05-09Fix tree button icon not centered verticallyHaoyu Qiu
2022-05-08Remove font height restriction from Buttonkobewi
2022-05-06Changed signals of ItemListVitika9
2022-05-06Cleanup metadata usagekobewi
2022-05-05Merge pull request #59185 from NeilKleistGao/masterHugo Locurcio
2022-05-03Merge pull request #60571 from Sauermann/fix-control-screen-positionRémi Verschelde
Inlcude CanvasLayer transform into calculation of Control screen position
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-04-30Improve the VisualShader/VisualScript editor UIHendrik Brucker
2022-04-28fix lines ending in comments causing auto indentNathan Franke
2022-04-28Merge pull request #52624 from e8newallm/52577Rémi Verschelde
Corrected ordering of Left/Top/Right/Bottom properties
2022-04-28Inlcude CanvasLayer transform into calculation of Control screen positionMarkus Sauermann
2022-04-25Merge pull request #60438 from Paulb23/text-edit-testsRémi Verschelde
Add TextEdit unit tests and multiple fixes.
2022-04-25Fix font_size not working in TabContainerRindbee
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-25Merge pull request #60123 from KoBeWi/borrowedRémi Verschelde
ItemList selection bug && navigation bug fixed
2022-04-24ItemList selection bug && navigation bug fixedThakee Nathees
Co-authored-by: kobewi <kobewi4e@gmail.com>
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
2022-04-22Multiple small TextEdit Bug FixesPaulb23
Fixed line_drawing_cache not containing anything Fixed is_move_caret_on_right_click_enabled requiring the context menu to be enabled Fixed when selecting_enabled is false not disabling shift + click Fixed when selecting_enabled is false not being able to drag the caret Fixed _delete emitting signals when nothing had changed. Fixed insert_line_at up causing a visual update Fixed get_pos_at_line_column returning a valid position when it was invalid Fixed set_caret_column unnecessary emitting "caret_changed" when the column is greater then the line Fixed select_word_under_caret not accepting the edges of words Fixed select_word_under_caret moving the caret to the start of the line when no word was found Fixed get_selection_line and get_selection_column not checking if the selection was enabled Fixed set_line_as_center_visible throwing errors if it would show line 0 Fixed set_line_as_center_visible being off by one Fixed set_line_as_last_visible not being able to show the first line Fixed pressing UP and the end of a wrapped line sending the caret to col 0 rather then then persevering the position.