summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
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
2022-08-23Add font LCD sub-pixel anti-aliasing support.bruvzg
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-18Unify node casing adjustmentkobewi
2022-08-16Rename NOTIFICATION_INSTANCED to NOTIFICATION_SCENE_INSTANTIATEDVolTer
2022-08-13Rename CanvasItem.`follow_viewport_enable` to end with "d"Micky
For consistency with the rest of the exposed booleans in Godot
2022-08-13Implement MSAA for 2D [Vulkan only]Hendrik Brucker
2022-08-08Add tests for empty/unnamed arguments to ClassDB, Variant, GDScriptYuri Sizov
2022-08-05Fix some bugs with `Window`sMichael Alexsander
2022-08-02move rpc and rpc_id implementations back to headerNathan Franke
StackOverflow on why this is needed: https://stackoverflow.com/questions/495021/why-can-templates-only-be-implemented-in-the-header-file Minor mistake in commit ca7d572908c58c587214b8f65bdd4078d0185ab2
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-28Merge pull request #63049 from Faless/mp/4.x_as_moduleRémi Verschelde
2022-07-28Merge pull request #59840 from Calinou/renderingserver-global-uniform-renameRémi Verschelde
2022-07-28Rename RenderingServer global shader uniform methods to be more explicitHugo Locurcio
The `global_shader_uniform` name is longer, but it makes it much easier to find the methods when searching in the class reference.
2022-07-28Allow changing mipmap LOD bias when FSR 1.0 scaling is not usedHugo Locurcio
Mipmap LOD bias can be useful to improve the appearance of distant textures without increasing anisotropic filtering (or in situations where anisotropic filtering is not effective). `fsr_mipmap_bias` was renamed to `texture_mipmap_bias` accordingly. The property hint now allows for greater precision as well.
2022-07-28Merge pull request #57698 from ↵Rémi Verschelde
bluenote10/feature/rename_translated_to_translated_local
2022-07-28Remove `first_draw` and reset visibility when entering treeRindbee
2022-07-27Merge pull request #63355 from YeldhamDev/directional_tooltipRémi Verschelde