Commit Graph

36505 Commits

Author SHA1 Message Date
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
Fabio Alessandrelli 2cf39b97ae [Net] Implement RPC channels in MultiplayerAPI. 2021-07-30 17:29:50 +02: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
Ellen Poe 57ccfab5fb Revert "Implement a new resampling algorithm in AudioStreamPlaybackResampled"
This reverts commit b2264cb48b.
2021-07-30 08:07:48 -07: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
Michael Alexsander 94a64d557e Add `auto_translate` toggle for automatic translation 2021-07-29 18:30:34 -03:00
Rémi Verschelde bdcc8741e4
Merge pull request #51009 from raulsntos/fix-csharp-split
Use `allowEmpty` parameter in Split
2021-07-29 23:04:39 +02:00
Rémi Verschelde 44012fa61d
Merge pull request #51022 from raulsntos/csharp-interpolated-strings
Use C# interpolated strings
2021-07-29 22:12:45 +02:00
merumelu b8752d91dc makerst: use link titles for external tutorials 2021-07-29 21:55:39 +02:00
foxydevloper f641327dcf Make drag and drop into viewport add to root node by default
When dragging and dropping a texture, mesh, or scene from the FileSystem into the
2D or 3D viewport, it will be added as a child of the current scene's root node.
2021-07-29 15:47:42 -04:00
Rémi Verschelde 140905df8d
Merge pull request #51024 from Chaosus/clear_processes_ids
Clear debug process identifiers array at `stop()` to prevent invalid checking of them
2021-07-29 18:39:49 +02:00
Rémi Verschelde 8ee7adac1e
Merge pull request #51019 from YeldhamDev/mime_tweaks
Make some small tweaks to the MIME info
2021-07-29 18:21:13 +02:00
Rémi Verschelde a202947003
Merge pull request #51018 from timothyqiu/colon-in-column
Remove colon from column titles
2021-07-29 18:18:01 +02:00
Yuri Roubinsky a03af773e8 Clear debug process id at `stop()` to prevent invalid checking of them 2021-07-29 19:08:15 +03:00
Raul Santos 37d8f8c92b Use C# interpolated strings
Uses interpolated strings wherever possible.
String concatenations are still left where used for breaking long lines.
2021-07-29 17:20:44 +02:00
Michael Alexsander 0218616747 Make some small tweaks to the MIME info 2021-07-29 12:06:35 -03:00
Haoyu Qiu f9aad98d36 Remove colon from column titles 2021-07-29 22:01:07 +08:00
Rémi Verschelde 0543b71e5a
Merge pull request #51015 from pycbouh/core-texture-webp-crash
Fix a crash when trying to load a WebP `StreamTexture2D`
2021-07-29 15:51:46 +02:00
Yuri Sizov 0ab661de63 Fix a crash when trying to load a WebP StreamTexture2D 2021-07-29 16:05:03 +03:00
Rémi Verschelde 4a3430bd27
Merge pull request #51002 from akien-mga/version-status-env-override
Allow overriding `VERSION_STATUS` with `GODOT_VERSION_STATUS` in env
2021-07-29 14:45:26 +02:00
Rémi Verschelde 5b92f7aac1
Merge pull request #51001 from akien-mga/make_tarball-git-HEAD
Add script to make source tarball with `.git/HEAD`
2021-07-29 14:45:04 +02:00
Raul Santos b7a66a820b Use `allowEmpty` parameter in Split 2021-07-29 12:57:35 +02:00
Rémi Verschelde 1c68be9c8f
Merge pull request #50710 from Faless/enet/4.x_refactor 2021-07-29 12:40:04 +02:00
Rémi Verschelde 9a71038e34
Add script to make source tarball with `.git/HEAD`
This allows to generate the `VERSION_HASH` constant with the Git commit hash
even when building from a source tarball which is not a Git repository (and
without dependency on Git itself).
2021-07-29 11:52:43 +02:00
Rémi Verschelde 948dcb63ca
Allow overriding `VERSION_STATUS` with `GODOT_VERSION_STATUS` in env
`VERSION_STATUS` is part of what constitutes the reference version for a given
Godot build, and is part of the version check for compatible export templates.

For dev snapshots (alpha, beta, RCs), we usually set the `VERSION_STATUS` to
a specific build number (e.g. `beta2`), but this change doesn't end up
committed to the Git repository as we don't want to keep changing `version.py`
for testing builds.

So this new environment override will be what can be used in official builds
and by users making custom builds for specific snapshots.
2021-07-29 11:47:53 +02:00