Commit Graph

1450 Commits (e298f430b55bdbd9cf3eae9e041354c26d2e9c79)

Author SHA1 Message Date
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
David Snopek 21d526e5e5
Merge pull request #1477 from dsnopek/macros-godot-namespace
Explicitly refer to `godot` namespace in `GDREGISTER_*_CLASS()` macros
2024-06-01 13:29:25 -05:00
David Snopek 246a803954 Explicitly refer to `godot` namespace in `GDREGISTER_*_CLASS()` macros 2024-06-01 08:46:26 -05:00
David Snopek 45be6d0bd4 gdextension: Sync with upstream commit a4f2ea91a1bd18f70a43ff4c1377db49b56bc3f0 (4.3-beta1) 2024-05-31 09:36:08 -05:00
David Snopek 21b86b6770
Merge pull request #1473 from dsnopek/gdextension-interface-catch-up
Catch up with minor changes to `gdextension_interface.h`
2024-05-29 08:09:55 -05:00
Daylily-Zeleen 76cbc66785 Set instance and instance binding in Wrapped constructor. 2024-05-28 22:59:37 +08:00
David Snopek 3e9afccae8 Catch up with minor changes to `gdextension_interface.h` 2024-05-28 09:26:13 -05:00
David Snopek b697ba8896
Merge pull request #1447 from dsnopek/avoid-double-postinitialize
Fix NOTIFICATION_POSTINITIALIZE sent twice to native parent classes
2024-05-17 11:56:09 -05:00
David Snopek e4a4d76cb3
Merge pull request #1463 from Daylily-Zeleen/daylily-zeleen/const_get_class_static
Mark return value of `get_class_static` and `get_parent_class_static` as const.
2024-05-17 11:55:45 -05:00
Daylily-Zeleen 3db8549e19 mark return value of `get_class_static` and `get_parent_class_static` as const 2024-05-17 02:06:59 +08:00
David Snopek 340dde31a2
Merge pull request #1451 from Faless/build/to_threads_or_not_to_threads
[SCons] Add option to build without threads
2024-05-16 10:39:57 -05:00
David Snopek 6b39ed0732
Merge pull request #1457 from AThousandShips/foreach_list
[Core] Reduce and prevent unnecessary random-access to `List`
2024-05-16 08:46:39 -05:00
David Snopek 16cad7ba24
Merge pull request #1462 from aarjaneiro/toc-examples-and-templates
Fix README Examples and Templates TOC Entry
2024-05-13 08:43:35 -05:00
David Snopek 798fbab653
Merge pull request #1458 from dsnopek/free-callback-crash
Clean up instance bindings for engine singletons to prevent crash
2024-05-12 08:04:57 -05:00
David Snopek 88df025aa0 Clean up instance bindings for engine singletons to prevent crash 2024-05-10 19:51:31 -05:00
David Snopek 85172dad1b
Merge pull request #1461 from dsnopek/fix-ci-2
Attempt to fix recent CI failures on `master` branch
2024-05-10 17:59:35 -05:00
Aaron Janeiro Stone 996d229b26
Fix README table of contents 2024-05-09 17:40:44 -04:00
David Snopek 5bad5d6958 Attempt to fix recent CI failures on `master` branch 2024-05-09 11:21:45 -05:00
David Snopek e3f3cb58b7
Merge pull request #1450 from dsnopek/free-property-list-count
Update `free_property_list` callback to take count
2024-05-08 04:40:52 -05:00
Rémi Verschelde 17a82e7f94
Merge pull request #1374 from dsnopek/gdext-docs
Allow submitting documentation to the Godot editor
2024-05-08 00:48:02 +02:00
David Snopek f5c2b38724
Merge pull request #1456 from dsnopek/packedvector4array
Add support for `PackedVector4Array`
2024-05-07 12:56:11 -05:00
David Snopek 3d0d9cd0e2
Merge pull request #1455 from AThousandShips/localvector_has
[Core] Add `LocalVector::has` for convenience
2024-05-07 12:55:59 -05:00
David Snopek 43be24f34c
Merge pull request #1437 from AThousandShips/vec_elem_scalar
Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-07 12:55:23 -05:00
David Snopek a434850069 Allow submitting documentation to the Godot editor 2024-05-07 11:08:18 -05:00
A Thousand Ships d0bdd6096c
Optionaly add compatibility operators 2024-05-07 11:01:37 +02:00
A Thousand Ships 12a1283663
[Core] Reduce and prevent unnecessary random-access to `List`
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
2024-05-07 11:00:56 +02:00
David Snopek 23178e81ff Add support for `PackedVector4Array` 2024-05-06 14:30:04 -05:00
A Thousand Ships 505076c9a9
[Core] Add `LocalVector::has` for convenience 2024-05-06 17:47:21 +02:00
Fabio Alessandrelli b0296bb562 [SCons] Add option to build without threads
This is relevant for the Web platform, where builds with and without
threads are incompatible.
2024-04-30 19:19:36 +02:00
David Snopek 54fe2f9891
Merge pull request #1445 from dsnopek/classdb-enum-issue
Allow forwarding from `ClassDB` to `ClassDBSingleton` to support enumerations
2024-04-30 09:30:01 -05:00