1
0
Fork 0
Commit Graph

27687 Commits

Author SHA1 Message Date
Rémi Verschelde f85956e45e
Merge pull request #98956 from akien-mga/3.2-ci-sync-with-3.x
[3.2] CI: Partially sync workflows and actions with 3.x branch
2024-11-08 14:44:08 +01:00
Rémi Verschelde 742eae5a2e
CI: Partially sync workflows and actions with 3.x branch
Stick to `ubuntu:20.04` runners for now, as porting to newer ones implies
fixing a number of compilation warnings which may not be worth the trouble
for an EOL branch.
2024-11-08 14:00:20 +01:00
Rémi Verschelde a03019716e
Merge pull request #98900 from akien-mga/3.2-ci-build-warnings-fixes
[3.2] Misc. build and warning fixes to pass CI and compile with recent SCons and GCC/Clang
2024-11-07 12:46:41 +01:00
Rémi Verschelde b35c7eeebb
certs: Sync with Mozilla bundle as of Oct 19, 2024
4d3fe6683f

Document matching mozilla-release changeset.

(cherry picked from commit eb41ff0fee)
2024-11-07 12:20:00 +01:00
Marcel Admiraal e71926c78e
Ensure flags are applied to CVTT options
(cherry picked from commit 709aa8ae2c)
2024-11-07 12:20:00 +01:00
Rémi Verschelde 5d023b5993
SCons: Disable Clang -Wordered-compare-function-pointers warning
It's raised for us on many comparators implemented to be able to store a struct
in `Set` or `Map` (who rely on `operator<` internally). In the cases I reviewed
we don't actually care about the ordering and we use the struct's function
pointers as that's the only distinctive data available.

(cherry picked from commit 802810c371)
(cherry picked from commit 4c79dcc3e7)
2024-11-07 12:20:00 +01:00
Rémi Verschelde 172dd99fb2
Fix various Clang -Wunused-but-set-variable warnings
(cherry picked from commit 74d569b99e)
2024-11-07 12:20:00 +01:00
Rémi Verschelde 87be97b4aa
Fix Xcode deprecation warning about sprintf usage
(cherry picked from commit b778c5caa3)
2024-11-07 12:20:00 +01:00
Rémi Verschelde ea1dbdc6ff
Fix GCC 14 -Wtemplate-id-cdtor warnings
Fixes #91206.

(cherry picked from commit a8ff47b6d6)
2024-11-07 12:20:00 +01:00
Rémi Verschelde f9c0cd6a36
Add missing stdint.h includes for GCC 13+
Fixes #77927.

(cherry picked from commit 10676e78e3)
2024-11-07 12:20:00 +01:00
Martin Liska 74b4fb6034
Fix building VHACD with GCC 13.
Fixes the following error:
thirdparty/vhacd/inc/vhacdICHull.h:46:31: error: 'uint32_t' does not name a type
   46 |     ICHullError Process(const uint32_t nPointsCH, const double minVolume = 0.0);
      |                               ^~~~~~~~

Note the upstream version of the third party library is not affected.

(cherry picked from commit a648d831a9)
2024-11-07 12:20:00 +01:00
Rémi Verschelde 9418bc4e79
Fix some Clang -Wunused-but-set-variable warnings
(cherry picked from commit e771804e78)
2024-11-07 12:20:00 +01:00
Rémi Verschelde e6cab51ad5
Fix warnings found by Emscripten 3.1.10
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and
`-Wliteral-range` warnings.

(cherry picked from commit d8935b27a9)
2024-11-07 12:20:00 +01:00
Rémi Verschelde fd669b907c
macOS: Fix sprintf deprecation warning
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
(cherry picked from commit a297a69ac8)
2024-11-07 12:20:00 +01:00
Fabio Alessandrelli 9a87271aa8
[Core] Use std type traits to check operations triviality.
(cherry picked from commit 6f02183f8c)
2024-11-07 12:19:59 +01:00
Fabio Alessandrelli d70e80ee78
Fix some array size function definition mismatch.
(cherry picked from commit 55845bac26)
2024-11-07 12:19:59 +01:00
Rémi Verschelde 6c3befc70b
iOS: Remove (seemingly?) unneded `extern C` blocks that break build 2024-11-07 12:19:59 +01:00
Rémi Verschelde 4da42804b4
Android: Replace deprecated distutils LooseVersion usage
(cherry picked from commit 9e9ea714ad)
2024-11-07 12:19:59 +01:00
Rémi Verschelde c558ce1495
Mono: Replace distutils function with shutil equivalent
Fixes #91154.

(cherry picked from commit ee61ad46e7)
2024-11-07 12:19:59 +01:00
Rémi Verschelde c5d5ba96fe
Windows: Fix build with SCons 4.2.0
(cherry picked from commit c191cfbddf)
2024-11-07 12:19:59 +01:00
Rémi Verschelde a2e598b47e
SCons: Fix Python 3.12 SyntaxError with regex escape sequences
(cherry picked from commit b362976504)
2024-11-07 12:19:59 +01:00
Rémi Verschelde 2973ccef0e
CI: Update all GitHub actions to their latest version 2024-11-07 12:19:56 +01:00
Rémi Verschelde 6bf2e636a2
CI: Fix Android SDK and NDK setup 2024-11-07 12:19:26 +01:00
Fabio Alessandrelli 0948ca9f83
[HTML5] Scons now expects "emcc" to be in PATH.
No longer parse emscripten/emsdk config to detect emcc/node paths.
Use WhereIs to find "emcc" and "node", look for "node_modules" in "emcc"
path.

(cherry picked from commit 7998745237)
(cherry picked from commit 2d5f9c53b0)
2024-11-06 23:19:37 +01:00
Rémi Verschelde 2407df9870
The 3.2 branch is now unmaintained, superseded by 3.3 and 3.x 2021-04-19 15:03:05 +02:00
Rémi Verschelde 67b2f3ed25
CI: Backport GitHub Actions from 3.x branch
Ensures that we have a configuration that is currently usable.

Some changes for the `3.2` branch as it's unmaintained:
- No cache
- No artifacts upload
- Uses clang-format 10
- No JavaScript linting
2021-04-19 15:02:58 +02:00
Rémi Verschelde 31d0f8ad8d
Bump version to 3.2.3-stable
A fairly big new release fixing many issues all around the engine,
as well as bringing many improvements for C# users.

Thanks to all contributors! <3
2020-09-16 17:12:35 +02:00
Rémi Verschelde f5d6424648
Add changelogs for 3.2.x releases 2020-09-16 17:11:34 +02:00
Hugo Locurcio 97251c70ec
Mention compatibility-breaking Camera2D offset change in the changelog
See https://github.com/godotengine/godot/issues/42088.

(cherry picked from commit dc1e79589a)
2020-09-16 16:23:22 +02:00
Hugo Locurcio 939de03db7
Cross-reference AABB getter methods in the documentation
This also clarifies that `get_aabb()` returns the AABB in local space.

See https://github.com/godotengine/godot/issues/42095.

(cherry picked from commit 9712f8fd2d)
2020-09-16 16:22:39 +02:00
Rémi Verschelde ee5971a185
Donors: Add Gamblify, remove Interblock from splash screen
(cherry picked from commit 92d1964d1a)
2020-09-16 16:14:31 +02:00
Rémi Verschelde 2179c852da
Merge pull request #42113 from Calinou/deprecate-interpolatedcamera
Mark InterpolatedCamera as deprecated
2020-09-16 16:13:28 +02:00
Hugo Locurcio 369e5a7f35
Mark InterpolatedCamera as deprecated
InterpolatedCamera has already been removed from the `master` branch.
This adds a deprecation notice to inform people about the upcoming removal
in Godot 4.0.

Its functionality could be replicated in a GDScript add-on with relative
ease.
2020-09-16 15:36:40 +02:00
Rémi Verschelde 16eb7b95be
Merge pull request #42102 from Calinou/doc-animationtreeplayer-deprecation
Mention the AnimationTreePlayer deprecation in the class reference
2020-09-16 08:13:27 +02:00
Hugo Locurcio 868776949b
Mention the AnimationTreePlayer deprecation in the class reference
There's a node configuration warning already, but you can only
see it after adding the node to your scene.
2020-09-16 00:19:32 +02:00
Fabio Alessandrelli f1b2a7d1b4
Fix certificate generation with mbedtls 2.16.8 .
When generating certificates with
`Crypto.generate_self_signed_certificate` we generate the PEM in a
buffer via `mbedtls_x509write_crt_pem`.

Since version 2.16.8, mbedtls adds spurious data at the end of the
buffer due to internal optimizations, this breaks our logic when we try
to immediately parse it and return a proper `X509Certificate` object.

This commit updates the code to find the actual PEM length to parse
using `strlen`, takes extra caution always adding the terminator to the
buffer, and slightly improve error messages.

(cherry picked from commit 60687ce778)
2020-09-15 19:27:48 +02:00
Rémi Verschelde 3170ebc0e2
makerst: Add missing newline at EOF
(cherry picked from commit d435537f7e)
2020-09-15 19:26:44 +02:00
Hugo Locurcio 34a0af8343
Clarify that 2D cell sizes are defined in pixels
See https://github.com/godotengine/godot/issues/40577#issuecomment-662329021.

(cherry picked from commit f83249f224)
2020-09-15 19:26:43 +02:00
Danil Alexeev 06f3cd8bd8
Several documentation improvements
(cherry picked from commit a4c5790350)
2020-09-15 19:26:40 +02:00
Rémi Verschelde 576bd0565c
Merge pull request #42091 from clayjohn/Sprite3d-bug
Fix axis bug regression in Sprite3D
2020-09-15 17:15:26 +02:00
clayjohn a4f2fea2ae Fix axis bug regression in Sprite3D 2020-09-15 08:02:19 -07:00
Rémi Verschelde e1856aaa92
Merge pull request #42062 from madmiraal/fix-41743-3.2
[3.2] Fix Bullet prioritised list of Areas a RigidBody is a member of element shift.
2020-09-15 10:19:15 +02:00
Marcel Admiraal edc4820430 Fix RigidBodyBullet areasWhereIam element shift. 2020-09-14 18:26:19 +01:00
Hugo Locurcio 738f6ea221
Document how to remove metadata from an Object
This closes https://github.com/godotengine/godot-docs/issues/4010.

(cherry picked from commit cba4d73b71)
2020-09-14 14:24:14 +02:00
Tom Daffin 46b4e82f92
Add mono log message to error for fatal errors
(cherry picked from commit c15fb42d45)
2020-09-14 12:07:12 +02:00
Ebrahim Ebrahim 508dde662a
Clarify get_data Image method
(cherry picked from commit b9764b6109)
2020-09-14 11:00:50 +02:00
skyace65 de9a5b6229
Improve AudioEffectDistortion and AudioEffectFilter documentation
(cherry picked from commit 959f2287f6)
2020-09-14 11:00:49 +02:00
hoontee b626f16212
Fix "Create Trimesh Collision Sibling" transform
(cherry picked from commit 3cbd626328)
2020-09-14 11:00:47 +02:00
Rémi Verschelde df2a907ba6
Merge pull request #42045 from awkwardpolygons/fix-3.2-texarr-importer-options
Fix #42043, mismatched compress options in ResourceImporterLayeredTex…
2020-09-14 10:33:11 +02:00
Adrien e90467ef66 Fix #42043, mismatched compress options in ResourceImporterLayeredTexture 2020-09-14 15:36:46 +08:00