Commit Graph

1479 Commits (23c9d41d2a56095efaa9169f9619d4dd6ade30e1)

Author SHA1 Message Date
David Snopek 628606b28b
Merge pull request #1519 from AThousandShips/cache_improve
[CI] Upload build cache before running tests
2024-07-24 09:05:48 -05:00
Rémi Verschelde 958776dfc3
SCons: Remove old Python 2 compat code 2024-07-18 10:37:47 +02:00
A Thousand Ships f131efb791
Make generated code mostly style compliant 2024-07-17 17:29:31 +02:00
David Snopek 0a1e31fa45
Merge pull request #1513 from dsnopek/unexpose-is-instance-valid
Unexpose `UtilityFunctions::is_instance_valid()`
2024-07-15 12:16:21 -05:00
David Snopek 8012716ee3
Merge pull request #1510 from dsnopek/memnew-better-crash-message
Remind developers about `memnew()` in crash message when missing binding callbacks
2024-07-15 12:15:53 -05:00
A Thousand Ships 76b38de01a
[CI] Upload build cache before running tests 2024-07-13 16:25:12 +02:00
David Snopek 6d939e6878
Merge pull request #1509 from YuriSizov/method-bind-is-off-by-one
Fix argument metadata when binding methods
2024-07-06 11:42:45 -05:00
David Snopek 56cd3fd99e Unexpose `UtilityFunctions::is_instance_valid()` 2024-07-01 12:29:28 -05:00
David Snopek 99926d8e20
Merge pull request #1483 from AThousandShips/arr_typed_fix
Fix sharing of typed arrays from constructor
2024-06-28 07:26:44 -05:00
David Snopek e65ec904b8 Remind developers about `memnew()` in crash message when missing binding callbacks 2024-06-27 13:09:24 -05:00
Yuri Sizov 2b34bd0d8b Fix argument metadata when binding methods
While there doesn't seem to be any runtime issues,
this triggers the address sanitizer in a few ways,
depending on what kind of method you're
binding.
2024-06-27 18:40:29 +02:00
David Snopek 53b546e1df
Merge pull request #1507 from Repiteo/silence-msvc
SCons: Add `silence_msvc` option for Windows
2024-06-25 17:45:33 -05:00
David Snopek 7abe4ca9e4
Merge pull request #1506 from Repiteo/editorconfig
Add `.editorconfig`, consolidate `.gitattributes`
2024-06-25 09:43:36 -05:00
David Snopek 316dde80ba
Merge pull request #1505 from Repiteo/include-formatting
Fix `#include` formatting
2024-06-25 09:43:17 -05:00
David Snopek 7d7799b56e
Merge pull request #1504 from Repiteo/pre-commit-hooks
Replace legacy hooks with `pre-commit` Python tool
2024-06-25 09:42:55 -05:00
David Snopek 90c6ea2a12
Merge pull request #1497 from Naros/fix-variant-hpp-packed-vector4-array
Add missing enum & ctor for PackedVector4Array implementation
2024-06-25 09:42:41 -05:00
Thaddeus Crews 1989b1bf57
SCons: Add `silence_msvc` option 2024-06-25 09:38:00 -05:00
Thaddeus Crews 7a96d0314e
Add `.editorconfig`, consolidate `.gitattributes` 2024-06-25 08:46:06 -05:00
Thaddeus Crews 999018e7d1
Fix `#include` formatting 2024-06-25 08:28:04 -05:00
Thaddeus Crews e0d363aad8
Integrate `.pre-commit-config.yaml` 2024-06-24 15:43:55 -05:00
David Snopek c414c2b37d gdextension: Sync with upstream commit b75f0485ba15951b87f1d9a2d8dd0fcd55e178e4 (4.3-beta2) 2024-06-20 08:55:38 -05:00
Chris Cranford 78b63203d4 Add missing enum & ctor for PackedVector4Array implementation 2024-06-19 11:21:11 -04:00
David Snopek 0efc6cddbc
Merge pull request #1423 from AThousandShips/style_fix
Fix some style details in generation
2024-06-18 11:24:11 -05:00
A Thousand Ships e7a13e3bf4
Fix some style details in generation 2024-06-18 17:46:54 +02:00
David Snopek ed1e963a31
Merge pull request #1490 from AThousandShips/arg_name_fix
Enforce `p_` prefixes for arguments in binds
2024-06-18 10:43:27 -05:00
David Snopek 068e930c6a
Merge pull request #1496 from Faless/ci/fix-macos
[CI] Update macOS workers to macos-latest
2024-06-18 10:13:21 -05:00
Fabio Alessandrelli 2dd8917508 [CI] Update macOS workers to macos-latest
GitHub actions no longer allow `macos-11` runners
2024-06-18 16:52:42 +02:00
David Snopek 89831ff333
Merge pull request #1489 from Faless/web/longjmp
[Web] Force emcc to use "wasm" longjmp mode
2024-06-17 11:53:05 -05:00
David Snopek f2ac49aea5
Merge pull request #1167 from Faless/build/build_profile
Add support for build profiles.
2024-06-17 11:52:20 -05:00
Fabio Alessandrelli 1186c488bd Add support for build profiles.
Allow enabling or disabling specific classes (which will not be built).
2024-06-15 16:19:41 +02:00
David Snopek 8cdd56e149
Merge pull request #1493 from dsnopek/ci-godot-test-version
Allow selecting Godot version to run the tests with
2024-06-14 12:43:48 -05:00
David Snopek f1b7ba3e06 Allow selecting Godot version to run the tests with 2024-06-14 11:20:50 -05:00
David Snopek 5d8f80bc55
Merge pull request #1446 from Daylily-Zeleen/daylily-zeleen/set_instance_and_instance_biding_in_Wrapped_constructor
Set instance and instance binding in `Wrapped` constructor.
2024-06-14 09:39:46 -05:00
A Thousand Ships 9e2771f918
Enforce `p_` prefixes for arguments in binds 2024-06-14 16:05:03 +02:00
David Snopek ee9acbcf10
Merge pull request #1488 from AThousandShips/default_node_path
Add default argument processing for `NodePath`
2024-06-14 08:15:04 -05:00
David Snopek 64f1bc847a
Merge pull request #1485 from dsnopek/classdb-call-static-method
Fix vararg methods forwarded to the `ClassDB` singleton
2024-06-14 08:14:42 -05:00
Fabio Alessandrelli 1bb543b6f4 [Web] Force emcc to use "wasm" longjmp mode
SUPPORT_LONGJMP have changed since emscripten 3.1.32 to default to
"wasm" mode when exceptions are enabled, and "emscripten" mode when
disabled.

While we generally doesn't use exception in core, linked libraries may
need them, and emscripten don't plan to support WASM EH + Emscripten
SjLj in the long term.
2024-06-14 01:46:04 +02:00
A Thousand Ships 37e7a6da05
Add default argument processing for `NodePath` 2024-06-13 20:53:01 +02:00
David Snopek 6c4064125b
Merge pull request #1487 from AThousandShips/arg_default_fix
Fix generating default values for `StringName`
2024-06-13 13:49:54 -05:00
David Snopek 9f6fe36633
Merge pull request #1479 from bruvzg/ts_gde_sync_cpp
[TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API.
2024-06-13 13:49:25 -05:00
bruvzg 2360f84513
[TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API. 2024-06-13 18:57:24 +03:00
A Thousand Ships 6cd6c8923a
Fix generating default values for `StringName`
Cases other than `&""` were not processed correctly
2024-06-13 16:57:23 +02:00
David Snopek e04a26b2bc Fix vararg methods forwarded to the `ClassDB` singleton 2024-06-12 10:32:38 -05:00
David Snopek c5986e666f
Merge pull request #1486 from dsnopek/fix-to-string-test
Fix tests after upstream change to `Node::to_string()`
2024-06-12 10:31:38 -05:00
David Snopek 7d4758eace
Merge pull request #1478 from richardhozak/fix-warnings
Fix warnings emitted with -Wall
2024-06-12 10:01:59 -05:00
David Snopek 4f7439d4cf Fix tests after upstream change to `Node::to_string()` 2024-06-12 09:22:14 -05:00
David Snopek fe0647202b
Merge pull request #1484 from dsnopek/virtual-node-pointer
Fix undefined symbol error on Linux with virtual methods that take `Node *` arguments
2024-06-11 09:38:08 -05:00
David Snopek 7f74fe7bb2 Fix undefined symbol error on Linux with virtual methods that take `Node *` arguments 2024-06-10 10:55:24 -05:00
A Thousand Ships 41aa71f8c3
Fix sharing of typed arrays from constructor 2024-06-06 16:40:10 +02:00
Richard Hozák 8c6cc1ec15 Fix warnings emitted with -Wall 2024-06-02 21:48:50 +02:00