Raul Santos
8f426262c8
Avoid paths with invalid characters in `IsRider`
...
(cherry picked from commit 34c3966510
)
2022-08-08 10:52:14 +02:00
Fabio Alessandrelli
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
Aaron Franke
3ec8296ffc
Make "Godot source files" comment consistent in modules
...
(cherry picked from commit ce0080768c
)
2022-08-08 09:47:24 +02:00
Hugo Locurcio
60031ea275
Improve `range_lerp()` and related methods documentation
...
(cherry picked from commit bd19c9a95c
)
2022-08-08 09:44:37 +02:00
Rémi Verschelde
0dccbcd7ce
Merge pull request #61878 from bruvzg/backport_locale_select
...
[3.x] Backport locale selection improvements.
2022-08-05 23:45:17 +02:00
Rémi Verschelde
14c9325b5d
Merge pull request #62408 from Razoric480/raz/fix-no-cache
...
[3.x] Fix nested resources being cached if no-cache argument used
2022-08-05 23:43:54 +02:00
Rémi Verschelde
d9d3861f76
Merge pull request #55764 from tinmanjuggernaut/validate_rid
...
[3.x] Validate RIDs before freeing
2022-08-05 22:38:49 +02:00
Rémi Verschelde
5197dc6c9e
Merge pull request #61993 from kdiduk/gdscript-fix-inner-class-on-single-line
...
Fix inner class parsing when statement after colon is on the same line
2022-08-05 22:36:21 +02:00
Rémi Verschelde
1b7037807f
Merge pull request #59328 from raulsntos/csharp-flag-enums-3.x
2022-08-05 19:37:29 +02:00
Rémi Verschelde
0a8d5d7098
Bump version to 3.6-beta
2022-08-05 18:51:38 +02:00
Fabio Alessandrelli
fbc7fc44ae
Fix some array size function definition mismatch.
...
(cherry picked from commit 55845bac26
)
2022-08-04 15:18:43 +02:00
Raul Santos
3ec6644096
C#: Remove unused `Transform2D.ScaleBasis` method
...
(cherry picked from commit a4ad1dfa51
)
2022-08-03 15:01:02 +02:00
Raul Santos
ef9e2c8ca8
Rename math 'phi' arguments to 'angle' in C#
...
(cherry picked from commit d0e586fc7e
)
2022-08-01 10:38:58 +02:00
bruvzg
12e10457e1
[macOS, Mono] Fix "Wdeprecated-declarations" build error.
...
(cherry picked from commit 5d54c015b2
)
2022-08-01 10:30:43 +02:00
Aaron Franke
4d6c609e50
[3.x] Fix Translated method in C# affecting the original transform
2022-07-30 11:54:19 -05:00
smix8
d0a78d05eb
[3.5] Replace Navigation std::vector use with LocalVector
...
Replace Navigation std::vector use with LocalVector.
2022-07-29 11:13:20 +02:00
Rémi Verschelde
818f1eed31
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Dallon Feldner
a99cc8bc29
Don't print redundant errors when parsing GDScript
2022-07-22 11:02:29 -05:00
Rémi Verschelde
4ef99b409d
Merge pull request #63163 from dsnopek/multiplayer-peer-custom-3.x
2022-07-20 22:41:15 +02:00
Haoyu Qiu
a3b282c6cc
Fix doc for print_debug
2022-07-20 21:17:56 +08:00
Rémi Verschelde
8dc32619f2
Bullet: Don't include unused BulletInverseDynamics
...
Follow-up to #63143 .
2022-07-19 17:57:28 +02:00
David Snopek
8ad5889c1a
Add NetworkedMultiplayerCustom so high-level multiplayer backends can be added from GDScript
2022-07-19 09:16:41 -05:00
Rémi Verschelde
fe1e84ec6c
Bullet: Remove unused Bullet3 and clew libraries
2022-07-18 13:15:21 +02:00
Rémi Verschelde
4455b6c4a8
GDNative: Expose `String::num_uint64`, and use bool in `capitalized` versions
...
Exposed in Core API 1.3 added in 3.5.
2022-07-18 09:47:30 +02:00
Rémi Verschelde
99a923ce9e
Merge pull request #63116 from kdiduk/gdnative-dictionary-merge
...
[GDNative] Expose `Dictionary::merge()` over to GDNative CORE API v1.3
2022-07-17 19:37:34 +02:00
Kirill Diduk
b5483a6aad
[GDNative] Expose `Dictionary::merge()` over to GDNative CORE API v1.3
2022-07-17 19:12:51 +02:00
Jan Haller
e69a0394d4
GDNative: fix StringName equal and less operators
2022-07-17 11:17:35 +02:00
Kirill Diduk
910c67b268
[GDNative] Expose `String::join()` to GDNative Core API v1.3
2022-07-16 16:31:32 +02:00
Kirill Diduk
2cd87ef226
[GDNative] Refactoring: add `const` to `has` and `join` methods of pooled arrays
2022-07-16 14:08:42 +02:00
Francois Belair
2ceb93bbef
Fix custom res caching sub-res even if no-cache
...
Fixes #59686 , fixes #59752
2022-07-13 11:18:26 -04:00
Rémi Verschelde
f05cecdc43
Merge pull request #55650 from kdiduk/pooled-arrays
2022-07-08 00:15:44 +02:00
Rémi Verschelde
600c1c4dc4
Merge pull request #62708 from madmiraal/fix-40508-3.x
2022-07-07 23:54:45 +02:00
Kirill Diduk
7b8b91f505
[GDScript][GDNative] Add 'sort' and 'has' methods to pooled arrays
...
This is a backport from 4.0 to 3.x that adds 'sort' and 'has' methods
to the following types:
- PoolByteArray
- PoolIntArray
- PoolRealArray
- PoolStringArray
- PoolVector2Array
- PoolVector3Array
- PoolColorArray
For all the types above, the methods 'sort' and 'has' have been
exposed to the GDNative API (v. 1.3)
Since the method 'has' was already implemented in GDScript before,
in this commit it has been only exposed to GDNative API.
The classes documentation is updated.
The method 'sort' uses the exisging class "Sorter".
Pooled arrays in 4.0 are rewritten, that's why this backport is not
completely indentical to the original PR made for 4.0 (see #32144 ).
2022-07-07 23:24:31 +02:00
PZerua
7a35bf683a
Fix light intensity and attenuation import from GLTF
...
(cherry picked from commit aa7ab96e71
)
2022-07-06 11:44:30 +02:00
janglee
00c6cdd793
GDScript: Fix autocompletetion showing class names with an underscore
...
Fixes #35469 .
2022-07-05 12:29:23 +02:00
Marcel Admiraal
25bedade3b
Do not set gravity and damping when Custom Integrator is enabled.
2022-07-04 15:37:27 +01:00
bruvzg
a8eb779ac3
Backport locale selection improvements.
2022-07-04 11:49:20 +03:00
mj.Jernigan
022cbeb192
Register missing WebRTCDataChannelJS type
...
(cherry picked from commit a413656e07
)
2022-07-03 03:35:02 +02:00
César Izurieta
f66200ed3c
Fix gltf texture filename decoding
2022-07-03 03:03:24 +02:00
Rémi Verschelde
ef29a227bf
Merge pull request #55826 from kdiduk/gdnative-poolstringarray-join
2022-07-03 01:05:03 +02:00
Rémi Verschelde
06f4a28306
Update docs links still pointing to 3.4
2022-06-29 12:03:04 +02:00
Rémi Verschelde
f0cfe3a83b
Merge pull request #62173 from Faless/gdnative/3.x_mingw_dllexport_plus
2022-06-27 14:10:54 +02:00
smix8
721c99a530
Add NavigationServer map_force_update() function
...
Adds map_force_update() function to NavigationServer. This function immediately flushes the Navigationserver command queue and recalculates all navigationmeshes and region connections for a specific map.
(cherry picked from commit fdea269805
)
2022-06-24 10:19:00 +02:00
smix8
f0069cc1e9
Add NavigationServer.region_owns_point() helper function
...
Adds a helper function to check if a world space position is currently owned by a navigation region.
(cherry picked from commit e57360d8df
)
2022-06-24 10:19:00 +02:00
Rémi Verschelde
83fae1dfa9
Mono: Update Newtonsoft.Json to 13.0.1
...
See https://github.com/advisories/GHSA-5crp-9r3c-p9vr
(cherry picked from commit 870c02143b
)
2022-06-24 10:12:13 +02:00
smix8
38ee593b76
Add Navigation function to get all navigation maps
...
Added new function that returns all created navigation map RIDs from the NavigationServer. The function returns both 2D and 3D created navigation maps as technically there is no distinction between them.
(cherry picked from commit c0fed1d4e8
)
2022-06-23 16:29:11 +02:00
smix8
7bcb9fddc9
Disable thread-unsafe EditorProgress for navmesh baking
...
Disables navmesh baking EditorProgress for now until fixed as EditorProgress is not thread-safe and uses hacks and Main::iteration() for steps which can result in random crashes when baking navmesh.
(cherry picked from commit 24bb0af4a9
)
2022-06-23 16:29:11 +02:00
smix8
fcff804844
Implement NavigationMesh bake area
...
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
(cherry picked from commit 0c4d99f4fd
)
2022-06-23 16:17:43 +02:00
Kirill Diduk
5bcc3d476c
Fix parsing inner class declaration when "pass" keyword is on the same line
...
Implement a special case for allowing "pass" keyword in one-liner class
declaration, to be consistent with Python style.
```
class TestClass: pass
```
This commit fixes #56703
2022-06-21 10:04:26 +02:00
iamjsk10
1b648ddc2b
Mono: Fix typo to `foreach` C# keyword
...
(cherry picked from commit d3a839f4b1
)
2022-06-20 14:55:34 +02:00