Commit Graph

4828 Commits

Author SHA1 Message Date
dd76858c2c Add buffer size check to Image.load_tga_from_buffer(). Fixes #67985
(cherry picked from commit 5cb07486db)
2022-11-30 15:34:27 +01:00
d7cb3d9366 Merge pull request #69320 from aaronfranke/3.x-gltf-def-ext-usage
[3.x] GLTF: Move shared defines into a file and only list used extensions
2022-11-30 11:31:34 +01:00
f1febed469 [3.x] GLTF: Move shared defines into a separate gltf_defines.h file 2022-11-29 00:04:57 -06:00
8979208713 [3.x] GLTF: Only list used extensions when they're actually used 2022-11-28 17:54:30 -06:00
7106905a5b C#: Deprecate string extensions that will be removed in 4.x
- Deprecated `Length` in favor of the `string.Length` property.
- Deprecated `Insert` in favor of the existing instance method with the same signature.
- Deprecated `Erase` in favor of `StringBuilder.Remove`.
- Deprecated `ToLower` and `ToUpper` in favor of the instance methods with the same signature.
- Deprecated `BeginsWith` in favor of `string.StartsWith`.
- Deprecated `EndsWith` in favor of the instance method with the same signature.
- Deprecated `Empty` in favor of `string.IsNullOrEmpty`.
- Deprecated `OrdAt` in favor of the `string[int]` indexer.
- Deprecated `LStrip` and `RStrip` in favor of `string.TrimStart` and `string.TrimEnd`.
2022-11-28 18:23:00 +01:00
37ccdb201a Backport navigation crash fixes
Co-Authored-By: Sean <sean@geekotron.net>
2022-11-22 12:46:43 +08:00
bdcb1ff228 [3.x] Fix c# Array.Shuffle incorrect mono bindings 2022-11-04 06:22:47 -07:00
fef0a82183 Clarify offset parameter behavior in RegEx methods 2022-11-01 09:51:40 +08:00
987723b386 [iOS] Fix build with warnings=extra. 2022-10-31 11:59:31 +02:00
71f5bb3916 Merge pull request #67386 from akien-mga/3.x-webm-armv7-fixup
WebM: Fix Android armv7 build after #64839
2022-10-14 16:34:25 +02:00
567d5e2f78 Merge pull request #67141 from smix8/gridmap_fix_meshlib_replace_3.x
Fix Editor crash when MeshLibrary gets replaced while used in an open Scene
2022-10-14 16:33:29 +02:00
15062a22d4 WebM: Fix Android armv7 build after #64839 2022-10-14 10:33:17 +02:00
d6805e8c33 Fix Editor crash when MeshLibrary gets replaced while used in an open GridMap scene 2022-10-09 17:19:26 +02:00
9c6810e04f Merge pull request #66889 from LunaticInAHat/gltf_texture_filter_fix_3
GLTF import external images correctly
2022-10-05 17:08:06 +02:00
08c801738e GLTF import external images correctly 2022-10-04 12:01:24 -04:00
fdfe663326 Merge pull request #66868 from smix8/copy_and_paste_blyat_3.x
Fix GDScript export hint for Navigation2D layer names
2022-10-04 16:58:02 +02:00
9bf589d55a Merge pull request #66856 from LunaticInAHat/gltf_texture_filter_fix_3
GLTF imports & exports material texture filters
2022-10-04 16:57:55 +02:00
d955d4a1c1 Fix GDScript export hint for Navigation2D layer names 2022-10-04 10:32:57 +02:00
bb34c55b3c GLTF imports & exports material texture filters 2022-10-03 21:19:48 -04:00
7f560a2833 Merge pull request #66255 from and3rson/3.x
[3.x] GDNative: Fix `script_data` error when updating placeholder scripts for GDNative libraries
2022-10-03 15:04:08 +02:00
ecaf2b0322 Merge pull request #66806 from smix8/navigation_avoidance_nothread_3.x
Fix avoidance calculation on NO_THREADS build
2022-10-03 13:58:35 +02:00
f15cb16b14 Fix avoidance calculation on NO_THREADS build 2022-10-03 13:39:48 +02:00
fdce2a1dfc [3.x] C#: Add Basis Euler angle code to match 4.x core 2022-09-30 17:20:36 -05:00
1af4ba04cd Fix "!script_data is true" when updating placeholder scripts for GDNative libraries
Co-authored-by: geekrelief <geekrelief@gmail.com>
2022-09-22 15:10:53 +03:00
f9b91d8d24 Style: Ensure consistent formatting with clang-format 15 2022-09-21 13:23:17 +02:00
ce310c1e39 Exclude disabled CollisionShapes from Navigationmesh baking
Excludes disabled CollisionShapes from the geometry parsing for the NavigationMesh baking.

(cherry picked from commit 534ff93b05)
2022-09-20 10:26:17 +02:00
1e4f47ffe0 Fix variables highlighting as types 2022-09-17 01:24:19 -07:00
6e95397180 Update UPnP documentation
Adds more details, especially about caveats, failure modes and pitfalls

(cherry picked from commit be41c09769)
2022-08-29 15:56:43 +02:00
4f3c12c23d UPNP: Don't delete mappings when adding mappings
Don't delete previous mappings when adding a new mapping.
This was a old workaround that seems to cause issues.

(cherry picked from commit 2685cc7bb6)
2022-08-29 15:56:04 +02:00
d073d10739 Merge pull request #51146 from Haskaris/fix-output-port-mismatch 2022-08-25 21:45:15 +02:00
ed380cc0fa Add a [kbd] tag for highlighting keyboard shortcuts in the editor help
This allows backporting documentation from the `master` branch more easily,
as it already features the `[kbd]` tag.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-08-25 19:53:49 +02:00
dcacecaed0 Fix output port type mismatch for some VisualScript nodes 2022-08-25 17:53:41 +02:00
8388ea1d6b Merge pull request #64839 from akien-mga/3.x-zstd-1.5.2
zstd: Update to upstream version 1.5.2
2022-08-25 00:51:28 +02:00
c4885c8be8 Use clang as assembler to ensure preprocessing is done, and add assembler "target" flag.
(cherry picked from commit e873778561)
2022-08-24 18:26:29 +02:00
7dd322f83e libwebp: Sync with upstream 1.2.4
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.4/NEWS
(cherry picked from commit e5e34f21fc)
2022-08-24 17:24:23 +02:00
b808923b54 Fix error when switching to another GridMap with an item with higher index selected
(cherry picked from commit fe16aecbac)
2022-08-24 17:12:44 +02:00
ecc32f8b3e Merge pull request #64772 from akien-mga/3.x-fix-vs-delete-crash
Fix VisualScript editor crash when deleting selected nodes
2022-08-24 09:52:46 +02:00
13d1ee6058 Fix VisualScript editor crash when deleting selected nodes
Fixes #64662.
Regression from #61145.
2022-08-23 10:59:37 +02:00
67cc142002 Merge pull request #64460 from raulsntos/mono_assembly_name-3.x 2022-08-22 22:38:25 +02:00
31d09a807e C#: Use custom project setting for C# project files name
The setting is initially assigned the name of the Godot project,
but it's kept freezed to prevent issues when renaming the Godot
project.

The user can always rename the C# project and solution manually and
change the setting to the new name.

Co-authored-by: Ignacio Roldán Etcheverry <ignalfonsore@gmail.com>
2022-08-15 19:30:06 +02:00
d7ba3b73a9 Clarify invalid RID errors in Server free() functions. 2022-08-12 23:02:09 +08:00
5834c27e85 Merge pull request #63935 from smix8/navigation_heightmapshape_baking_3.x 2022-08-08 15:47:24 +02:00
8d71eadeca Merge pull request #64018 from raulsntos/csharp-rpc-docs 2022-08-08 15:40:08 +02:00
519841bc0f Merge pull request #64019 from raulsntos/csharp-docgen-3.x 2022-08-08 15:39:39 +02:00
5e1936edf8 Merge pull request #64079 from Nosliwnayr/3.x 2022-08-08 15:38:56 +02:00
8f426262c8 Avoid paths with invalid characters in IsRider
(cherry picked from commit 34c3966510)
2022-08-08 10:52:14 +02:00
e1dfcbad16 [Websocket] Remove dummy JS server implemenation.
It does nothing but printing errors (only websocket client is available
in browsers), so we might as well return null when you instantiate it.

(cherry picked from commit 202320e1ed)
2022-08-08 09:50:19 +02:00
3ec8296ffc Make "Godot source files" comment consistent in modules
(cherry picked from commit ce0080768c)
2022-08-08 09:47:24 +02:00
60031ea275 Improve range_lerp() and related methods documentation
(cherry picked from commit bd19c9a95c)
2022-08-08 09:44:37 +02:00
4f5c268a60 Add area monitor callback error checking 2022-08-07 13:57:06 -07:00