Commit Graph

46338 Commits

Author SHA1 Message Date
Pedro J. Estébanez 8e2d0e1bb1 Add ability to extend the set of Git pre-commit hooks 2022-08-30 13:34:10 +02:00
Rémi Verschelde 432b25d364
Merge pull request #65066 from aaronfranke/str-path-join 2022-08-30 10:01:11 +02:00
Rémi Verschelde 0b5d7281b9
Merge pull request #64969 from MatthewZelriche/X11Fullscreen 2022-08-30 09:29:17 +02:00
Rémi Verschelde 183438e13b
Merge pull request #65060 from Atlinx/feat/65059_fix-doc-error 2022-08-30 09:26:11 +02:00
Rémi Verschelde 992104bc12
Merge pull request #64396 from qarmin/add_line_length_options 2022-08-30 09:20:32 +02:00
Rémi Verschelde 2a4c1bd7c1
Merge pull request #65052 from MewPurPur/fix-number-highlighting-followup 2022-08-30 09:17:41 +02:00
Rémi Verschelde 21b218c9ea
Merge pull request #65053 from YuriSizov/editor-bones-but-no-meat
Properly handle theme changes in the Skeleton3DEditor
2022-08-30 08:45:07 +02:00
Rémi Verschelde 523bac1ff4
Merge pull request #64977 from aaronfranke/gltf
Move GLTF camera and light conversion code into GLTFCamera and GLTFLight
2022-08-30 08:44:26 +02:00
Rémi Verschelde ff7d439551
Merge pull request #64494 from kleonc/scene-dock-change-many-node-unique-names
`SceneTreeDock` Allow/fix toggling unique name in owner for all selected nodes
2022-08-30 08:42:33 +02:00
Rémi Verschelde 80831fc21f
Merge pull request #61883 from Calinou/material-tweak-default-alpha-scissor-threshold
Improve documentation for BaseMaterial3D's alpha scissor threshold
2022-08-30 08:41:21 +02:00
Rémi Verschelde a2994be0b2
Merge pull request #65040 from Calinou/doc-3d-particles-color
Document 3D particle color properties requiring vertex color as albedo
2022-08-30 08:40:32 +02:00
Rémi Verschelde 4d7628be85
Merge pull request #45764 from gongpha/update-animation-tree-editor-when-selected
Update all AnimationTree's editors when editing
2022-08-30 08:37:11 +02:00
Rémi Verschelde f925572976
Merge pull request #65044 from YuriSizov/editor-fix-theme-n-stuff
Fix some editor theme regressions
2022-08-30 07:30:55 +02:00
Rémi Verschelde 43dfc12e72
Merge pull request #64883 from RandomShaper/vk_swapchain_sizing
Let platforms override the sizing of Vulkan swapchain and window
2022-08-30 07:28:21 +02:00
MatthewZelriche 37f3b9f1ef Fix fullscreen on X11.
Attempts to set a Godot window to fullscreen prior to the window being
mapped would silently fail. This commit uses
_window_fullscreen_check to test if a window had been set to fullscreen
while unmapped, and if so, resets it to fullscreen once the window has
been successfully mapped.

Fixes #54065
2022-08-29 19:11:20 -06:00
Aaron Franke 10a56981dc
Rename String `plus_file` to `path_join` 2022-08-29 19:38:13 -05:00
Atlinx 0e3097c023 Add missing parameters for signal in docs 2022-08-29 20:13:01 -04:00
Rafał Mikrut 3b1259a98a Speedup conversion and add option to set maximum line length to prevent freezes 2022-08-29 21:26:36 +02:00
VolTer 1342b8ccd6 Follow-up fixes to number highlighting 2022-08-29 20:54:56 +02:00
Yuri Sizov 1839ec96a7 Properly handle theme changes in the Skeleton3DEditor 2022-08-29 21:39:56 +03:00
Kongfa Waroros 0f17fe642c Update all AnimationTree's editors when editing 2022-08-30 01:04:34 +07:00
kleonc 5d7ff1bf44 `SceneTreeDock` Toggling unique name in owner for all selected nodes 2022-08-29 19:18:52 +02:00
Ignacio Roldán Etcheverry 051f24b067
Merge pull request #65049 from paulloz/dotnet/win10-export
C#: Fix .NET export template compilation on Windows
2022-08-29 18:34:02 +02:00
Ignacio Roldán Etcheverry a5218989a2
Merge pull request #65046 from neikeq/dotnet-fix-exported-game-uninitialized-callbacks
C#: Fix exported game crash because of uninitialized callbacks
2022-08-29 18:14:04 +02:00
Ignacio Roldán Etcheverry 70c0774e70
Merge pull request #64987 from raulsntos/dotnet/linux-export
Fix .NET exporting in Linux
2022-08-29 18:13:20 +02:00
Paul Joannon ab5807d722
Fix .NET export template compilation on Windows 10 2022-08-29 17:49:37 +02:00
Ignacio Roldán Etcheverry 8d9ff955b7 C#: Fix exported game crash because of uninitialized callbacks
This was a regression from 2c180f62d9,
where I forgot to update the source generator.
2022-08-29 17:37:56 +02:00
Yuri Sizov 88ab58821d Fix some editor theme regressions 2022-08-29 18:01:41 +03:00
Hugo Locurcio 5e351a8bfd
Document 3D particle color properties requiring vertex color as albedo 2022-08-29 16:20:26 +02:00
Rémi Verschelde 4c0f5f751e
Merge pull request #65036 from KoBeWi/import_on_diet 2022-08-29 15:58:38 +02:00
Rémi Verschelde c3332018fb
Merge pull request #65003 from MewPurPur/fix-number-coloring 2022-08-29 15:20:32 +02:00
Rémi Verschelde ecb89bfbd5
Merge pull request #57234 from rafallus/doc/collision_obj_mouse_functions 2022-08-29 15:15:43 +02:00
Rémi Verschelde c7e4c802ff
Merge pull request #65031 from akien-mga/os-drop-obsolete-resource-debugging 2022-08-29 15:04:17 +02:00
Hugo Locurcio 64717d64cd
Improve documentation for BaseMaterial3D's alpha scissor threshold 2022-08-29 14:54:06 +02:00
kobewi ef19e7bae0 Fix Import dock being too wide 2022-08-29 14:28:01 +02:00
rafallus 7f2740f7bd Expose input interaction virtual functions in CollisionObject 2022-08-29 14:04:52 +02:00
Rémi Verschelde e60086f98b
Merge pull request #64119 from YuriSizov/theme-init-database 2022-08-29 14:02:21 +02:00
Yuri Sizov 0024ba8dad
Merge pull request #63938 from FlashViper/patch-2
Modified descriptions of 'command' and 'meta'
2022-08-29 14:52:42 +03:00
Rémi Verschelde 322c812231
Merge pull request #65023 from Faless/js/4.x_is_web 2022-08-29 13:00:32 +02:00
Rémi Verschelde eb56d1d1eb Drop obsolete resource usage debug methods from OS class
These methods exist since the dawn of (open source) Godot and have hardly
been updated over time, so they barely work and I'm fairly sure nobody is
using them. (See #46505 for details.)

While some of the functionality they aimed to provide might be useful for
optimization work and introspection, this should likely be redesigned from
scratch with a cleaner and more modern interface (e.g. exposed via the
Performance singleton, or ResourceLoader, and a better API overall).
2022-08-29 12:57:37 +02:00
FlashViper c60853e01f InputEventWithModifiers: Improve docs of 'command' and 'meta'
Ported forward from 3.x
2022-08-29 12:42:19 +02:00
Rémi Verschelde 583c0c4897
Merge pull request #64980 from TokageItLab/fix-animedit-draw-and-find-key 2022-08-29 12:29:24 +02:00
Rémi Verschelde 0b8a63e471
Merge pull request #65025 from akien-mga/revert-62846 2022-08-29 11:57:54 +02:00
Fabio Alessandrelli d20b32186f [Web] Rename JavaScript platform to Web.
Also rename export name from "HTML5" to "Web".
2022-08-29 11:52:00 +02:00
VolTer a33ed6c046 Fix number highlighting 2022-08-29 11:35:46 +02:00
Rémi Verschelde fd6453c45e Revert "Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGED"
This reverts commit 4b817a565c.

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 11:11:29 +02:00
Rémi Verschelde 223e083d36
Merge pull request #64964 from MewPurPur/reorganize-label-properties
Reorganize Label and RichTextLabel properties
2022-08-29 09:52:04 +02:00
Rémi Verschelde 8c0deb2c6e
Merge pull request #65019 from timothyqiu/anim-docs-null
Improve documentation for `get_animation()`
2022-08-29 09:49:49 +02:00
Haoyu Qiu 385a5b44aa Improve documentation for `get_animation()` 2022-08-29 14:54:57 +08:00
Rémi Verschelde c08e84af0d
Merge pull request #64943 from MatthewZelriche/FixUnMappedAncestor 2022-08-29 08:19:50 +02:00