Commit Graph

36371 Commits

Author SHA1 Message Date
Hugo Locurcio 9c34db6cb4
Print a warning when the engine is started as `root`/superuser
This is a security risk (especially when hosting a game server)
and can make audio non-functional on Linux.
2021-07-31 16:23:26 +02:00
Haoyu Qiu 284c6c81eb Make action names translatable 2021-07-31 22:19:51 +08:00
Rafał Mikrut e8877806ec Fix 'Attempted to remove invalid ID' errors 2021-07-31 15:30:31 +02:00
Hugo Locurcio 5920bc32c3
Print the Vulkan device name in release builds too
This is important information to include in bug reports for exported
projects, and is consistent with the behavior found in the GLES3 and
GLES2 renderers in `3.x`.
2021-07-31 14:31:31 +02:00
Rémi Verschelde 20d46c5b9e
Merge pull request #46270 from RandomShaper/fix_can_reset
Rationalize property reversion
2021-07-31 14:13:24 +02:00
Rémi Verschelde d7b61838b1
Merge pull request #51084 from aaronfranke/no-dectime
Remove obsolete `dectime` method
2021-07-31 10:20:29 +02:00
Pedro J. Estébanez 7ca8051645 Fix thread start with no user data when target has no default argument 2021-07-31 10:04:48 +02:00
Rémi Verschelde f2efa6f4f3
Merge pull request #51083 from akien-mga/variantparser-fix-crash-42115
VariantParser: Fix uninitialized ResourceParser funcs
2021-07-31 00:02:23 +02:00
Aaron Franke 2733b9abd8
Remove obsolete "dectime" method
Replaced by "move_toward"
2021-07-30 16:41:28 -05:00
Rémi Verschelde 63be3c1f00
Merge pull request #50935 from Vitika9/50807 2021-07-30 23:37:07 +02:00
Rémi Verschelde a35b4bf3ea
Merge pull request #51057 from V-Sekai/bake-reset-anim
Bake RESET animation.
2021-07-30 23:35:27 +02:00
Rémi Verschelde bda2f915a8
Merge pull request #51081 from SirQuartz/patch-38
Make "Find in Files" ignore directories with `.gdignore` in them
2021-07-30 23:27:22 +02:00
Rémi Verschelde f3aaa713d9
VariantParser: Fix uninitialized ResourceParser funcs
They could cause a segfault when parsing values with ID "Resource"
as apparently we never set a valid `func` for it.

Fixes crash part of #42115.
2021-07-30 23:23:31 +02:00
Pedro J. Estébanez db9e3f257f Rationalize property reversion 2021-07-30 22:36:55 +02:00
Rémi Verschelde 5a30ba7a66
Merge pull request #51080 from timothyqiu/csgbox-nan
Do nothing when dragging CSGBox handle perpendicular to the camera
2021-07-30 21:16:58 +02:00
Nicholas Huelin 658b152bd8
Make "Find in Files" searches ignore directories with `.gdignore` files in them
This pull request fixes an issue where searches using the "Find in Files" function would include folders with `.gdignore` files in them. The editor is supposed to ignore directories with these files in them altogether.
2021-07-30 15:10:05 -04:00
Rémi Verschelde fd0775398b
Merge pull request #51078 from nekomatata/code-editor-theme-change-optimization
Optimize theme change in code editor
2021-07-30 20:47:31 +02:00
Rémi Verschelde bc8a85b3e0
Merge pull request #50984 from Calinou/project-manager-vulkan-clustered-mobile
Expose Vulkan's clustered and mobile backends in the project manager
2021-07-30 20:32:22 +02:00
Haoyu Qiu 0f1e107ede Do nothing when dragging CSGBox handle perpendicular to the camera 2021-07-31 02:25:05 +08:00
PouleyKetchoupp 7a0c210f9b Refactor layer property editor grid
- Now able to display up to 32 layers in physics (still 20 for render)
- Adjustable grid size to fit available space in dock
- Expansion icon to display more layers vertically
- Layer numbers in cells to help with selection
2021-07-30 11:19:50 -07:00
PouleyKetchoupp edc858ad82 Optimize theme change in code editor
Postpone applying the whole theme when a setting changes, to avoid
updating everything many times when the whole editor theme is changed.
2021-07-30 10:40:59 -07:00
Hugo Locurcio d2b65c69e9
Expose Vulkan's clustered and mobile backends in the project manager
Since OpenGL will not be available in Godot 4.0, this exposes a
choice between Vulkan clustered and Vulkan mobile in the project manager.

Despite the name, Vulkan mobile has many benefits on desktop platforms.
It provides better performance on simple scenes, and ensures that you
won't accidentally use unsupported features while testing your project
on desktop platforms.

The Vulkan backend setting was made into a "basic" setting so that
it can be changed without having to enable the Advanced Settings toggle.

This also improves list formatting to use bullet points and tweaks
the property hint to be more descriptive.
2021-07-30 19:36:17 +02:00
Rémi Verschelde 1f6a81ceea
Merge pull request #51073 from YeldhamDev/oops
Fix "Custom *" theme sections being inside "Auto Translate"
2021-07-30 19:21:28 +02:00
Michael Alexsander b70b9c4ede Fix "Custom *" theme sections being inside "Auto Translate" 2021-07-30 13:55:07 -03:00
Rémi Verschelde c27ef1565f
Merge pull request #51068 from Faless/net/4.x_marshalls_recurse
[Net] Fix Marshalls infinite recursion crash.
2021-07-30 17:15:13 +02:00
Rémi Verschelde 23bf04ae9a
Merge pull request #51052 from V-Sekai/gltf-fallbacks
glTF2 fallback load PNG and JPG
2021-07-30 17:04:29 +02:00
Rémi Verschelde 83ccf39adc
Merge pull request #51067 from akien-mga/doc-return-argument-self-closing-tags
doc: Use self-closing tags for `return` and `argument`
2021-07-30 16:42:52 +02:00
K. S. Ernest (iFire) Lee ddff1c10c3 glTF2 fallback load PNG and JPG 2021-07-30 07:30:50 -07:00
Fabio Alessandrelli 324636473a [Net] Fix Marshalls infinite recursion crash.
Variants like dictionaries and arrays can have cyclic references, which
caused `encode_variant` to run an infinite recursion.
Instead of keeping a stack and looking for cyclic references which would
make serialization slower, this commit adds a `MAX_RECURSION_DEPTH`
constant to Variant, and have `encode_variant` keep track of the current
recursion depth, bailing when it's too high since this likely means a
cyclic reference has been encountered.
2021-07-30 16:13:43 +02:00
Rémi Verschelde a7363f3dfd
Merge pull request #51066 from Faless/enet/4.x_channels_fix
[Net] Fix ENet 'connect_to_host' creating only one channel.
2021-07-30 15:45:59 +02:00
Rémi Verschelde 92c5c46da7
Merge pull request #51041 from foxydevloper/new-resources-snake-case
Name new resource files with `snake_case`
2021-07-30 15:44:29 +02:00
Rémi Verschelde 7adf4cc9b5
doc: Use self-closing tags for `return` and `argument`
For the time being we don't support writing a description for those, preferring
having all details in the method's description.

Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
2021-07-30 15:29:52 +02:00
Rémi Verschelde a1c19b9a1e
Merge pull request #51064 from raulsntos/doc-input-exact_match
Add Input documentation for `exact_match`
2021-07-30 15:27:33 +02:00
Fabio Alessandrelli b4fc69e0e2 [Net] Fix ENet 'connect_to_host' creating only one channel.
Passing `0` to `enet_host_create` will allow the maximum amount of
channel supported by ENet. For some reasons, `connect_to_host` will
instead only create 1 channel when passed `0`.
This commit normalize the behaviour to always allocate the maximum
allowed channels when passing `0`.
2021-07-30 15:25:37 +02:00
Raul Santos 55206ecb76 Add Input documentation for `exact_match` 2021-07-30 15:21:35 +02:00
Rémi Verschelde e95e33f251
Merge pull request #35891 from Calinou/editor-viewport-highlight-context-menus
Highlight context menu items at the top of the 2D/3D viewports
2021-07-30 15:18:48 +02:00
Rémi Verschelde ba274a6fc6
Merge pull request #48567 from Calinou/editor-theme-less-opaque-viewport-focus
Make the focus outline translucent for editor viewports
2021-07-30 15:18:28 +02:00
Hugo Locurcio e92297cc3d
Make the focus outline translucent for editor viewports
This makes the focus outline less distracting on the
2D and 3D editor viewports.
2021-07-30 14:20:54 +02:00
Rémi Verschelde 6d5c1086c3
Merge pull request #50982 from Calinou/editor-use-bullet-points
Use bullet points in the editor instead of dashes where relevant
2021-07-30 13:42:20 +02:00
Rémi Verschelde 714fa370b7
Merge pull request #49149 from YeldhamDev/auto_translate_toggle
Add `auto_translate` toggle for automatic translation
2021-07-30 13:23:20 +02:00
K. S. Ernest (iFire) Lee b742076e17 Bake RESET animation.
Co-authored-by: MMMaellon <mmmaellon@gmail.com>
Co-authored-by: Eron <rufsketch1@gmail.com>
2021-07-30 02:00:21 -07:00
Rémi Verschelde 7ab3e8aa20
Merge pull request #51051 from V-Sekai/gltf-less-logs
In glTF2 animations, log spam less when running.
2021-07-30 09:34:30 +02:00
Rémi Verschelde 74aa7e26e9
Merge pull request #51011 from foxydevloper/drag-drop-root-default 2021-07-30 09:02:09 +02:00
Rémi Verschelde 57cd7878bc
Merge pull request #51038 from YeldhamDev/mime_yet_again
Properly tag project files as a subclass of plain text in the MIME info
2021-07-30 08:56:55 +02:00
K. S. Ernest (iFire) Lee 882f7d9bdf In glTF2 animations, log spam less when running. 2021-07-29 22:56:19 -07:00
nikitalita 6640ab406b skip uid field length in binary resource if not used 2021-07-29 22:25:18 -07:00
nikitalita bc58bf5477 Use constant for reserved field count 2021-07-29 22:24:29 -07:00
nikitalita 160601cc78 Fix binary resource loading and saving 2021-07-29 18:17:49 -07:00
foxydevloper ae7a74625d Name new resource files with `snake_case` 2021-07-29 20:53:33 -04:00
Michael Alexsander a47e48987d Properly tag project files as a subclass of plain text in the MIME info 2021-07-29 19:18:24 -03:00