Commit Graph

4805 Commits

Author SHA1 Message Date
Rémi Verschelde e7b750b0f9
Fix various GCC 13 warnings
Fixes occurrences of `-Wtype-limits`, `-Wmaybe-uninitialized`,
`-Wduplicated-branches`.

(cherry picked from commit 02e4e208ef)
2024-01-30 15:03:19 +01:00
Rémi Verschelde 28bb7ef140
GDNative: Fix Linux arm64 warning about ignored `sysv_abi` attribute
Fixes #41160.

(cherry picked from commit 52b32ed533)
2024-01-30 15:03:18 +01:00
Rarysson Guilherme 7c32a2ef51
Add missing include header to FBXCommon.h
(cherry picked from commit db29b32cd6)
2024-01-30 15:03:18 +01:00
DeeJayLSP 6a9c714326
libwebp: Sync with upstream 1.3.0
(cherry picked from commit d8e8517d11)
2023-08-28 17:16:02 +02:00
Hugo Locurcio 38cb389349
Document how to use logarithm of base 10 with `log()`
(cherry picked from commit 3c4f0ca9c6)
2023-08-28 16:40:30 +02:00
Rémi Verschelde 4044b19100
regex: Add nullptr check in `_regex_free`, needed with PCRE2 10.42
Fixes #76174.

(cherry picked from commit 290db4a0b6)
2023-08-19 00:36:42 +02:00
HolonProduction ac0a4eb168
Suggest class_name in 3.x autocompletion.
(cherry picked from commit 8dae3d71b2)
2023-08-19 00:36:13 +02:00
Ninni Pipping 33b377edb5
[3.x] Document lack of iOS support for WebM
(cherry picked from commit 7d48dd7782)
2023-08-19 00:36:12 +02:00
smix8 d89af40a7a
[3.5+] Fix GridMap free navigation RID error spam
Fixes GridMap free navigation RID error spam.

(cherry picked from commit befdafdbf6)
2023-08-19 00:36:12 +02:00
lawnjelly 2e8e7b8b79
GDScriptParser - don't use index operator on linked list
Index operators are super slow with linked lists. This came up in profiling the parsing, iterating sequentially using iterator is much faster.

(cherry picked from commit ef914dac31)
2023-08-19 00:36:12 +02:00
smix8 d8a64adf24
Fix NavigationServer free error print
Fixes error print for NavigationServer free when a RID can not be found.

(cherry picked from commit 73dc680fc1)
2023-03-06 13:32:03 +01:00
Hugo Locurcio 4f1641e569
Mark C# editor settings to require a restart to be effective
(cherry picked from commit a93d651293)
2023-01-20 12:18:52 +01:00
SaracenOne 3a8367ba5e
Fix local variables not showing when breaking on final line
(cherry picked from commit 657b9b6596)
2023-01-11 16:02:57 +01:00
Rémi Verschelde 16f6a5b139
One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".

Backported from #70885.
2023-01-10 15:32:59 +01:00
Rémi Verschelde c4a9b42297
Fix typos with codespell 2022-12-15 12:27:58 +01:00
Lamia c34715a4fe
LSP: Improve handling of file URI scheme
Fixes #63205.

(cherry picked from commits 3fa943fe23,
42a16ef76e and
2ff69d6181)

(cherry picked from commit a412922c2b)
2022-12-13 14:18:32 +01:00
Rémi Verschelde 078228e0e4
miniupnpc: Update to version 2.2.3
Library code and public headers are now properly separated, we can fix include paths
to remove the redundant subfolder.

(cherry picked from commit 432ac521ef)
2022-12-12 14:45:08 +01:00
ray90514 f1231a7c7e
Fix Script editor completion doesn't suggest members of a script for type hints
(cherry picked from commit 7afbd5904e)
2022-12-12 14:43:37 +01:00
Hugo Locurcio 87947110b8 Document `print_stack()` and `get_stack()` requiring a debugger connection
(cherry picked from commit 530e31d4a3)
2022-12-12 14:56:39 +08:00
Rémi Verschelde 421e10375e SCons: Fix MSVC warning LNK4042 about dupe objects in regex
(cherry picked from commit 3fd9452a8c)
2022-12-12 14:15:36 +08:00
Marcel Admiraal 2b9efd768c Store Bullet total gravity, linear damp and angular damp calculations
so they can be retrieved from PhysicsDirectBodyState

(cherry picked from commit 7669f6e660)
2022-12-12 13:38:29 +08:00
Rémi Verschelde b129ae2127 libwebp: Sync with upstream 1.2.4
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.4/NEWS
(cherry picked from commit e5e34f21fc)
2022-12-12 13:26:32 +08:00
Mark Riedesel c9adfec386 Add buffer size check to Image.load_tga_from_buffer(). Fixes #67985
(cherry picked from commit 5cb07486db)
2022-12-05 10:04:45 +08:00
Andrew Dunai e8a4e766ef Fix "!script_data is true" when updating placeholder scripts for GDNative libraries
Co-authored-by: geekrelief <geekrelief@gmail.com>
(cherry picked from commit 1af4ba04cd)
2022-12-05 09:56:03 +08:00
Haoyu Qiu bb3cd4af45 Backport navigation crash fixes
Co-Authored-By: Sean <sean@geekotron.net>
(cherry picked from commit 37ccdb201a)
2022-12-05 09:37:27 +08:00
dzil123 0ac86df6d4 [3.x] Fix c# Array.Shuffle incorrect mono bindings
(cherry picked from commit bdcb1ff228)
2022-12-05 09:35:27 +08:00
Haoyu Qiu 989e492a42 Clarify offset parameter behavior in RegEx methods
(cherry picked from commit fef0a82183)
2022-12-05 09:33:38 +08:00
smix8 5476554d5e Fix Editor crash when MeshLibrary gets replaced while used in an open GridMap scene
(cherry picked from commit d6805e8c33)
2022-12-05 09:23:37 +08:00
smix8 3869ea3c21 Fix GDScript export hint for Navigation2D layer names
(cherry picked from commit d955d4a1c1)
2022-12-05 09:20:45 +08:00
smix8 945991e020 Fix avoidance calculation on NO_THREADS build
(cherry picked from commit f15cb16b14)
2022-12-05 09:19:56 +08:00
bruvzg d368b55a53
[iOS] Fix build with warnings=extra.
(cherry picked from commit 987723b386)
2022-11-03 18:33:21 +01:00
Rémi Verschelde b193713612 Style: Ensure consistent formatting with clang-format 15
(cherry picked from commit f9b91d8d24)
2022-09-21 13:35:34 +02:00
smix8 729d7b2b42 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:28:11 +02:00
dzil123 aff93994d8 Fix variables highlighting as types
(cherry picked from commit 1e4f47ffe0)
2022-09-20 10:25:27 +02:00
Perrier Mathis b5e4a3c3e0 Fix output port type mismatch for some VisualScript nodes
(cherry picked from commit dcacecaed0)
2022-08-30 11:19:50 +02:00
Max Hilbrunner 555840914b Update UPnP documentation
Adds more details, especially about caveats, failure modes and pitfalls

(cherry picked from commit be41c09769)
2022-08-30 11:08:27 +02:00
Michael Alexsander 62c6fe77b6 Fix error when switching to another `GridMap` with an item with higher index selected
(cherry picked from commit fe16aecbac)
2022-08-29 17:13:24 +02:00
Raul Santos 465a6569e4 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>
(cherry picked from commit 31d09a807e)
2022-08-29 17:10:14 +02:00
Rémi Verschelde 82175a6c2e Fix VisualScript editor crash when deleting selected nodes
Fixes #64662.
Regression from #61145.

(cherry picked from commit 13d1ee6058)
2022-08-24 11:30:28 +02:00
Raul Santos bc8293a125 Avoid paths with invalid characters in `IsRider`
(cherry picked from commit 34c3966510)
2022-08-08 13:18:48 +02:00
Hugo Locurcio 2ed3818277 Improve `range_lerp()` and related methods documentation
(cherry picked from commit bd19c9a95c)
2022-08-08 13:16:09 +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