Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-29 | Merge pull request #64119 from YuriSizov/theme-init-database | Rémi Verschelde | |
2022-08-29 | Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵ | Rémi Verschelde | |
NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`). | |||
2022-08-29 | Merge pull request #64964 from MewPurPur/reorganize-label-properties | Rémi Verschelde | |
Reorganize Label and RichTextLabel properties | |||
2022-08-29 | Merge pull request #64960 from YeldhamDev/more_hl_stuff | Rémi Verschelde | |
2022-08-29 | Merge pull request #64967 from YeldhamDev/pm_up_fix | Rémi Verschelde | |
2022-08-29 | Merge pull request #64972 from YeldhamDev/you_too_menubar | Rémi Verschelde | |
2022-08-28 | Merge pull request #64885 from Mickeon/rename-tooltip-hint | Rémi Verschelde | |
Rename `hint_tooltip` to `tooltip_text` & setter getter | |||
2022-08-28 | Reorganized Label and RichTextLabel properties | VolTer | |
2022-08-28 | Add item auto-highlighting to `MenuBar` | Michael Alexsander | |
2022-08-28 | Fix some corner cases in the `Menu/OptionButton` item auto-highlight | Michael Alexsander | |
2022-08-27 | Fix crash when pressing up on an empty `PopupMenu` | Michael Alexsander | |
2022-08-27 | Merge pull request #62846 from ↵ | Rémi Verschelde | |
AaronRecord/remove_redundant_theme_updates_in_enter_tree Remove `NOTIFICATION_ENTER_TREE` when paired with `NOTIFICATION_THEME_CHANGED` | |||
2022-08-27 | Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGED | Aaron Record | |
2022-08-27 | Merge pull request #63249 from V-Sekai/animation_tree_editor_read_only | Rémi Verschelde | |
Add read-only mode to AnimationTreeEditor plugins | |||
2022-08-27 | Rename `hint_tooltip` to `tooltip_text` & setget | Micky | |
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too. | |||
2022-08-26 | Merge pull request #64367 from Mickeon/rename-var-to-str | Rémi Verschelde | |
Rename `str2var` to `str_to_var` and similar | |||
2022-08-26 | Merge pull request #64777 from bruvzg/extend_to_title | Rémi Verschelde | |
[macOS] Extend editor contents to the window title bar for better space usage. | |||
2022-08-26 | Add ThemeDB, expose previously static Theme methods | Yuri Sizov | |
2022-08-26 | Revert SplitContainer minimum size splitting changes (#64676 and #64800) | Rémi Verschelde | |
This reverts commits 185b1a5bd333c5e75da5219e66cb759b5e6c3684 and 19ad31b89fc293cbd3c826b4dab6140b65895121. The original PR and its fixup still had regressions, so we're going back to the drawing board to reattempt fixing #43749. Fixes #64785. Fixes #64851. Fixes #64866. | |||
2022-08-26 | Rename `str2var` to `str_to_var` and similar | Micky | |
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict` | |||
2022-08-26 | Merge pull request #64665 from Mickeon/rename-label-visible | Rémi Verschelde | |
2022-08-26 | [macOS] Extend editor contents to the window titlebar for better space usage. | bruvzg | |
2022-08-26 | Merge pull request #64574 from Begah/fix_transient_window_wrap_mouse | Rémi Verschelde | |
2022-08-26 | Merge pull request #64529 from KoBeWi/suffix_begone | Rémi Verschelde | |
2022-08-26 | Rename Label & RichTextLabel.`percent_visible` to `visible_ratio` | Micky | |
Also updates the documentation of both `visible_characters` and `visible_ratio` to, better describe what they do and improve consistency between the two Classes. | |||
2022-08-26 | Merge pull request #64768 from bruvzg/popups_hide_if_visible | Rémi Verschelde | |
2022-08-26 | Merge pull request #62771 from bruvzg/line_edit_trim | Rémi Verschelde | |
2022-08-25 | Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED` | Aaron Record | |
2022-08-25 | Add read-only mode to AnimationTreeEditor plugins | SaracenOne | |
2022-08-25 | Fix warp_mouse for transient windows, smoother mouse positioning when ↵ | MathieuRoux | |
releasing mouse for spinbox | |||
2022-08-25 | Merge pull request #64536 from Mickeon/editor-tree-icon-size | Rémi Verschelde | |
Account for TreeItem's Cell icon and center the text Popup vertically | |||
2022-08-25 | Merge pull request #64806 from Zylann/graph_node_protected_validate_property | Rémi Verschelde | |
Make GraphNode::_validate_property protected so GraphNode can be inherited | |||
2022-08-25 | Merge pull request #64837 from ↵ | Rémi Verschelde | |
YuriSizov/control-disconnect-from-everything-and-free-yourself Disconnect Control from theme resources to avoid issues on destruction | |||
2022-08-24 | Make GraphNode::_validate_property protected so GraphNode can be inherited. | Marc Gilleron | |
It's not about overriding or accessing `_validate_property`, but since `_validate_property` became a multilevel method, the GDCLASS macro now tries to access the one from the parent class, which causes a compiling error if the parent class declares `_validate_property` as private. | |||
2022-08-24 | Merge pull request #64635 from YeldhamDev/menu_buttons_popup_fix | Rémi Verschelde | |
Make `Menu/OptionButton` item auto-highlight behave better | |||
2022-08-24 | Disconnect Control from theme resources to avoid issues on destruction | Yuri Sizov | |
2022-08-24 | Merge pull request #64082 from KoBeWi/array3k | Rémi Verschelde | |
2022-08-24 | Merge pull request #59226 from Rindbee/better-setters-in-gui-controls | Yuri Sizov | |
Improve the setters in gui, return directly if the value does not change. | |||
2022-08-24 | Merge pull request #64369 from derammo/derammo_tree_right_click_title | Yuri Sizov | |
Replace Tree control left click on title signal with new signal for either left or right click | |||
2022-08-24 | implemented right click on Tree control header | derammo | |
2022-08-24 | Replace Array return types with TypedArray 3 | kobewi | |
2022-08-24 | Merge pull request #64800 from KoBeWi/split_hax | Rémi Verschelde | |
Handle child control size changes in SplitContainer | |||
2022-08-24 | Merge pull request #64783 from bruvzg/fix_rtl_min_size | Rémi Verschelde | |
Fix RTL min. size not triggering text cache update. | |||
2022-08-24 | Merge pull request #64009 from KoBeWi/arrayy_lmao | Rémi Verschelde | |
Replace Array return types with TypedArray (part 2) | |||
2022-08-23 | Replace Array return types with TypedArray 2 | kobewi | |
2022-08-23 | Handle child control size changes in SplitContainer | kobewi | |
2022-08-23 | Merge pull request #64767 from bruvzg/meta_click | Rémi Verschelde | |
2022-08-23 | Add some codes, returnes directly if the value is not changed. | 风青山 | |
Avoid executing the following value-changed logics if the value does not really change. | |||
2022-08-23 | Fix RTL min. size not triggering text cache update. | bruvzg | |
2022-08-23 | Merge pull request #64676 from KoBeWi/split_and_conquer | Rémi Verschelde | |