summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2022-09-06Rename raise() to move_to_front()kobewi
2022-09-03Merge pull request #65285 from YuriSizov/window-theme-change-is-imminentRémi Verschelde
Un-defer the initial theme changed notification in `Window`
2022-09-03Un-defer the initial theme changed notification in WindowYuri Sizov
2022-09-03Some improvements to the SceneTreeTimerXwdit
2022-09-02Merge pull request #65250 from YuriSizov/theme-owner-risesRémi Verschelde
2022-09-02Un-defer the initial theme changed notificationYuri Sizov
Co-authored-by: Rindbee <idleman@yeah.net>
2022-09-02Add ThemeOwner type for managing theme propagation and lookupYuri Sizov
2022-09-02Rename `or_lesser` range property hint to `or_less`Hugo Locurcio
"less" should be used for quantity, rather than "lesser". Existing scripts that use `or_lesser` in `_get_property_list()` will need to be updated to account for this change.
2022-09-02Merge pull request #64735 from KoBeWi/viewportshifterRémi Verschelde
2022-09-02Merge pull request #64952 from Chaosus/vs_rename_uniform_to_paramRémi Verschelde
2022-09-02Fix getting an error message when repeatedly entering and exiting the treeRindbee
2022-09-01Simplify network GDExtension bindings using EXBIND macros.Fabio Alessandrelli
Simplify StreamPeer, PacketPeer, MultiplayerPeer extension. Simplify and update WebRTC*Extension with newly supported types.
2022-09-01Add dumb and manual theme caching systems to WindowYuri Sizov
2022-09-01Rename `uniform` to `parameter` across the engineYuri Rubinsky
2022-09-01Merge pull request #65108 from MinusKube/subwindow-focused-bugRémi Verschelde
Prevent subwindow_focused from pointing to a window that is not a subwindow
2022-08-31Implement Physical Light Units as an optional setting.clayjohn
This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value. In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
2022-08-30Prevent subwindow_focused from pointing to a window that is not a subwindowMinusKube
2022-08-30Merge pull request #47744 from KoBeWi/press_F_to_play_exitRémi Verschelde
2022-08-30Change _redraw_callback to callable_mpkobewi
2022-08-30Merge pull request #63003 from Geometror/msaa-2dRémi Verschelde
2022-08-30Merge pull request #64377 from Mickeon/rename-canvas-redrawRémi Verschelde
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30Allow to change the Stop shortcut used at runtimekobewi
2022-08-30Merge pull request #63902 from dalexeev/string-casesRémi Verschelde
2022-08-30Merge pull request #64410 from MewPurPur/rename-notification-instancedRémi Verschelde
2022-08-30Add `String.to_{camel,pascal,snake}_case` methodsDanil Alexeev
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-29Revert "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-27Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record
2022-08-26Merge pull request #64928 from YuriSizov/editor-tooltip-or-not-tooltipRémi Verschelde
Remove Inspector tooltip hack that never actually worked
2022-08-26Merge pull request #64777 from bruvzg/extend_to_titleRémi Verschelde
[macOS] Extend editor contents to the window title bar for better space usage.
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-26Remove Inspector tooltip hack that never actually workedYuri Sizov
2022-08-26[macOS] Extend editor contents to the window titlebar for better space usage.bruvzg
2022-08-26Merge pull request #64574 from Begah/fix_transient_window_wrap_mouseRémi Verschelde
2022-08-26Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0Rémi Verschelde
2022-08-26Merge pull request #62845 from AaronRecord/dont_update_theme_outside_of_treeRémi Verschelde
Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED`
2022-08-26Merge pull request #64570 from KoBeWi/node🧳ingRémi Verschelde
Unify node casing adjustment
2022-08-25Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED`Aaron Record
2022-08-25Merge pull request #53299 from Calinou/viewport-tweak-configuration-warningRémi Verschelde
2022-08-25Merge pull request #64355 from Mickeon/rename-follow-viewportRémi Verschelde
2022-08-25Fix warp_mouse for transient windows, smoother mouse positioning when ↵MathieuRoux
releasing mouse for spinbox
2022-08-25Merge pull request #64843 from Faless/mp/4.x_encode_fixRémi Verschelde
[MP] Fix variant serialization after variant size change.
2022-08-24[MP] Fix variant serialization after variant size change.Fabio Alessandrelli
The bit mask used for the type when compressing variants in the Multiplayer API became too small to represent all variant types. This commit expand the mask, which means we no longer have an extra bit in the "meta" byte we use to store encoding information. The extra bit was only used in case of booleans to store the value and since booleans do not require extra encoding information we use those 2 bits to store the value instead.
2022-08-24Merge pull request #64759 from skyace65/AnisotropicRémi Verschelde
Spell out "anisotropic" fully in filter options
2022-08-24Merge pull request #64009 from KoBeWi/arrayy_lmaoRémi Verschelde
Replace Array return types with TypedArray (part 2)
2022-08-23Spell out "anisotropic" fully in filter optionsskyace65
2022-08-23Replace Array return types with TypedArray 2kobewi
2022-08-23Avoid warnings about cursor shape change not supportedPedro J. Estébanez