Rémi Verschelde
7a16bb2ee4
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
(cherry picked from commit 1bdb82c64e
)
2022-02-11 09:50:59 +01:00
Haoyu Qiu
1747becfc7
Fix GridMap memory leak
...
(cherry picked from commit 5d4a141c97
)
2022-02-11 09:50:59 +01:00
Jordan Schidlowsky
14a1303f2d
[Net] Non-blocking WebSocket hostname resolution.
...
Hostname is now resolved during poll in WebSocketClient (wslay) to avoid
blocking during connect.
An attempt is still made to find the hostname in the resolver cache.
(cherry picked from commit 1ec96bc206
)
2022-02-11 09:50:58 +01:00
Densorius
ca432727d9
Fixed opening new instances of VS 2022 while a instance is already open
...
(cherry picked from commit 93e2d0446f
)
2022-02-11 09:50:58 +01:00
Densorius
1afefea330
Add Visual Studio 2022 support with fallback to 2019
...
(cherry picked from commit 9ea0508d35
)
2022-02-11 09:50:57 +01:00
Hugo Locurcio
e7934661da
Tweak the Bullet RigidBody kinematic trimesh warning message
...
This makes it clearer that primitive or convex shapes must be
used instead.
2022-02-10 22:28:32 +01:00
Rémi Verschelde
f50c7f7415
Core: Move generated `VERSION_HASH` to a `.cpp` file
...
This lets us have its definition in `core/version.h` and avoid
rebuilding a handful of files every time the commit hash changes.
(cherry picked from commit 90162851a7
)
2022-02-10 13:06:56 +01:00
Rémi Verschelde
6ea58db2d8
Merge pull request #57851 from vnen/gdscript-infer-type-on-release
2022-02-09 14:05:22 +01:00
George Marques
a3fe028809
GDScript: Infer variable types on release
...
Otherwise this creates an inconsistency between debug and release
builds, potentially leading to crashes.
2022-02-09 09:07:18 -03:00
Hugo Locurcio
1b505ef8ca
Document performance limitations with CSG nodes, link to tutorial
2022-02-07 14:01:56 +01:00
Raul Santos
eddb99b9be
Attach mono thread before getting nativeName field
...
In order to access the `nativeName` constant field from a C# class, the
mono scope thread must be attached or the mono domain will be null.
2022-02-07 03:51:40 +01:00
Pawel Lampe
6c6e50bf0c
Fix navigation merge errors, fixes #56786
...
- improved `detail/sample_max_error` default value
- improved floating point precision handling in cell key calculations
- improved `merge error` error message
- exposed `cell_height` of `nav_map` to the `Navigation`
- fixed cell key `y` calculation
2022-02-02 23:52:29 +01:00
Marcel Admiraal
c25365d5ff
Be more verbose about why msbuild tools could not be found
...
(cherry picked from commit 51834a4589
)
2022-01-31 22:54:25 +01:00
Rémi Verschelde
0032fa7953
Merge pull request #57440 from Scony/fix-navigation-transforms-3.x
2022-01-31 21:46:56 +01:00
Rémi Verschelde
0c6391a425
Merge pull request #57420 from neikeq/issue-55638
2022-01-31 18:23:08 +01:00
Rémi Verschelde
a0438ff8f2
Merge pull request #57449 from dsnopek/webxr-ar-touch-render-target
...
[3.x] Make WebXR touch events proportional to render target size, not viewport
2022-01-31 09:57:31 +01:00
Pawel Lampe
4d8e6fdd2d
Fix transforms involved into navmesh baking
...
fixes #57231 , fixes #57421
Within the context of parsing navigation geometry, this commit:
- added missing transform of `MultiMeshInstance`
- changed all transforms to global ones so that they don't need to be
calculated by hand
2022-01-30 12:23:53 +01:00
Ignacio Roldán Etcheverry
c7f716e2ea
Mono/C#: Fix Android AAB export failing to load native libs
...
By default, when installing from Android App Bundles the native
libraries are not extracted. They are loaded directly from the APK.
See: https://stackoverflow.com/a/56551499
Passing only the file name to dlopen, without the location, makes it
search the native library in all locations, including inside the apk.
2022-01-29 21:58:57 +01:00
Rémi Verschelde
9c417f5118
Merge pull request #56903 from akien-mga/3.x-ogg-clearer-errors
2022-01-27 12:43:04 +01:00
David Snopek
584efcd1ab
Make WebXR touch events proportional to render target size, not viewport
2022-01-25 16:48:34 -06:00
Yuri Sizov
797bb1d97e
Ensure that NavMesh baking updates the inspector
2022-01-26 01:16:50 +03:00
rafallus
75fcb31cee
[3.x] Consider gridmap collisions in navigation bake
2022-01-24 19:10:33 -06:00
Max Hilbrunner
6cecb2210e
Fix GDNative docs links
2022-01-24 11:29:20 +01:00
Hugo Locurcio
1e1fb145b3
Improve CSGPolygon3D documentation
...
- Describe why polygon triangulation usually fails in the error message.
2022-01-21 19:59:56 +01:00
lawnjelly
adf14bfdde
Add nodiscard to core math classes to catch c++ errors.
...
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-20 17:28:31 +00:00
Dardan Bujupaj
752fbc7f4e
Fix indexing of polygon points when building path.
2022-01-19 23:39:43 +01:00
Raul Santos
d4790455ba
Fix marshaling values of generic Godot Dictionary
...
(cherry picked from commit e4c40efeab
)
2022-01-19 14:04:22 +01:00
Rémi Verschelde
4f1e33b556
freetype: Update to upstream version 2.11.1
...
(cherry picked from commit f615926d3c
)
2022-01-19 14:03:38 +01:00
Fabio Alessandrelli
d76a26e086
Bump mbedTLS version to 2.28.0 (new LTS).
...
Keep applying the windows entropy patch (UWP support).
Remove no longer needed padlock patch.
Update thirdparty README to reflect changes, and new source inclusion
criteria.
(cherry picked from commit e375cbd094
)
2022-01-19 14:03:03 +01:00
Rémi Verschelde
ede7e68ab6
Merge pull request #56620 from timothyqiu/left-right-palette-3.x
2022-01-18 16:38:26 +01:00
Rémi Verschelde
c938104a88
Merge pull request #56630 from Pineapple/replace-find-last
2022-01-18 16:36:52 +01:00
Rémi Verschelde
8109902492
stb_vorbis: Add clearer error messages when failing to import OGG file
...
Fixes #56895 .
2022-01-18 14:53:56 +01:00
Rémi Verschelde
64ef373fa8
Merge pull request #56819 from dsnopek/webxr-ar-touch-events-squashed
2022-01-17 16:40:06 +01:00
Rémi Verschelde
1ee44b2366
ImageLoader: Remove references to unsupported svgz extension
...
I don't see any reference to gzip/svgz supported in the nanosvg library,
and the handful of test gzip compressed svgz files I tried failed loading.
Also cleaning a couple missing includes in platform export code.
2022-01-17 10:52:32 +01:00
Ignacio Roldán Etcheverry
3b085e2665
C#: Allow configuring Mono debugger agent with cmdline args
...
The command line option is the same you would pass to Mono, but it
begins with `--mono-debugger-agent=` instead of `--debugger-agent=`.
This is useful for platforms where it's difficult for the user to
configure it via environment variables, like Android.
2022-01-16 12:36:36 +01:00
David Snopek
e39f62876d
Fix touch events when using smartphone AR with WebXR
2022-01-15 14:54:45 -06:00
Rémi Verschelde
6fac314b5d
Merge pull request #56763 from GlyphTheWolf/regex-memory-leak-fix
...
Fix for RegEx.search() memory leak on Windows
2022-01-14 20:11:00 +01:00
Rémi Verschelde
75cc95c8c0
Merge pull request #56791 from timothyqiu/object-check
...
[3.x] Fix crash when `is` keyword is tested against a String variable
2022-01-14 20:00:56 +01:00
Haoyu Qiu
8a42ab7a85
Fix crash when `is` keyword is tested against a String variable
2022-01-14 23:37:04 +08:00
Marcel Admiraal
949ea2b326
Simplify InputDefault::joy_axis code by using float instead of struct JoyAxis
2022-01-14 15:36:35 +00:00
GlyphTheWolf
6556442d46
Fix for RegEx.search() memory leak on Windows
2022-01-13 20:41:10 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Arnav Vijaywargiya
a51f3f2a58
Fixed incorrect property types
...
(cherry picked from commit 0c46f73b5e
)
2022-01-12 17:28:07 +01:00
Haoyu Qiu
e1f96d5ee8
Fix crash on importing FBX file
...
(cherry picked from commit af67e4c291
)
2022-01-12 17:28:07 +01:00
K. S. Ernest (iFire) Lee
44d436add6
Skip Draco-compressed glTF 3d format files.
...
(cherry picked from commit b468104842
)
2022-01-12 17:28:07 +01:00
Rémi Verschelde
79aa64efff
Merge pull request #56296 from timothyqiu/pending-func-states
2022-01-12 16:47:56 +01:00
K. S. Ernest (iFire) Lee
08b89a95d2
Fix wrong RGBA channel mapping when saving OpenEXR.
2022-01-12 01:50:56 -08:00
Haoyu Qiu
e1557dc4c8
i18n: Make VisualScript node caption & text translatable
2022-01-11 21:16:33 +08:00
Rémi Verschelde
cb44064048
Merge pull request #56604 from V-Sekai/csg_selection_3_x
2022-01-10 12:32:28 +01:00
Bartłomiej T. Listwon
22750b1c03
Replace String::find_last with rfind where possible (backward compatible with old API)
2022-01-08 22:40:44 +01:00