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
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
David Snopek
8cc78cfea9
Update `free_property_list` callback to take count
2024-04-30 08:48:53 -05:00
David Snopek
2cd3d39108
Merge pull request #1405 from dsnopek/fix-null-object-arguments
...
Correctly handle `Object *` arguments that were encoded as `nullptr`
2024-04-29 16:46:46 -05:00
David Snopek
1d829f2e4a
Merge pull request #1448 from dsnopek/require-bind-methods
...
Give compile-time error if registering a class without its own `_bind_methods()` function
2024-04-26 14:51:37 -05:00
David Snopek
ca46ef4d25
Give compile-time error if registering a class without its own `_bind_methods()` function
2024-04-24 14:49:26 -05:00
David Snopek
e23b117ac3
Merge pull request #1431 from pupil1337/fix-create-instance-func
...
Fix create instance func
2024-04-24 14:44:29 -05:00
David Snopek
d304f12dcd
Merge pull request #1443 from Naros/property-method-dict-helpers
...
Implement to/from dict helpers for PropertyInfo/MethodInfo
2024-04-24 14:43:53 -05:00
David Snopek
61450b3e1b
Merge pull request #1436 from AThousandShips/math_update
...
[Math] Add `is_finite` methods
2024-04-24 14:43:36 -05:00
David Snopek
e1b3b32db5
Allow forwarding from `ClassDB` to `ClassDBSingleton` to support enumerations
2024-04-23 13:47:36 -05:00
Chris Cranford
2a041b5240
Implement to/from dict helpers for PropertyInfo/MethodInfo
2024-04-20 18:50:34 -04:00
David Snopek
ad307e4b9c
Merge pull request #1440 from Naros/propertyinfo-wrong-usage-init-value
...
Fix PropertyInfo to use hint/usage default constants
2024-04-17 10:46:35 -05:00
David Snopek
6873658d26
Merge pull request #1438 from thimenesup/patch-1
...
Fix Projection create_orthogonal being incorrect
2024-04-17 10:44:17 -05:00
David Snopek
9ff49b7b1b
Merge pull request #1364 from Repiteo/non-verbose
...
Implement `verbose` toggle from godot repo
2024-04-17 10:42:40 -05:00
David Snopek
048f49af39
Merge pull request #1371 from godotengine/dependabot/github_actions/mymindstorm/setup-emsdk-14
...
Bump mymindstorm/setup-emsdk from 13 to 14
2024-04-17 10:42:11 -05:00
Chris Cranford
e160966163
Fix PropertyInfo to use hint/usage default constants
2024-04-16 07:24:48 -04:00
thimenesup
e4ae69f607
Fix Projection create_orthogonal being incorrect
...
Title
2024-04-14 20:27:53 +02:00
David Snopek
4b7661a60a
Merge pull request #1435 from Repiteo/example-use-defines
...
Use `GDREGISTER` defines in example
2024-04-11 13:38:29 -05:00
A Thousand Ships
d389171905
[Math] Add `is_finite` methods
2024-04-11 13:30:28 +02:00
A Thousand Ships
b65970860e
Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
...
Also added `snapped` to the integer vectors for completeness
2024-04-11 10:42:29 +02:00
pupil1337
1fa7a9cb19
Add static_assert() for register_class
2024-04-11 10:48:13 +08:00
Thaddeus Crews
a537b4af4d
Use `GDREGISTER` defines in example
2024-04-10 14:15:28 -05:00
Thaddeus Crews
b05c21bb1d
Implement `verbose` toggle from godot repo
2024-04-09 21:13:02 -05:00
David Snopek
37542dc2ec
Correctly handle `Object *` arguments that were encoded as `nullptr`
2024-04-08 11:12:40 -05:00
David Snopek
b02124595f
Merge pull request #1422 from AThousandShips/utility_fix
...
Fix incorrect utility call signature
2024-04-03 08:56:20 -05:00
A Thousand Ships
d055b575fb
Fix incorrect utility call signature
2024-04-02 21:44:40 +02:00
David Snopek
7d4a24caab
Merge pull request #1417 from ytnuf/cmake-fix
...
Change cmake required to v3.13
2024-04-02 14:30:26 -05:00
David Snopek
3715bfe253
Merge pull request #1413 from AThousandShips/the_angry_count_extended_cpp
...
Add extension support for argument count to `ScriptInstance`
2024-04-02 14:30:13 -05:00
David Snopek
44d78ec881
Merge pull request #1409 from Repiteo/class-to-typename
...
Enforce template syntax `typename` over `class`
2024-04-02 14:30:01 -05:00
ytnuf
5c12bd2287
Change cmake_minimum_required to match actual requirements
...
This is because target_link_options was added in v3.13
So this wouldn't build with cmake v3.12
Likewise in CMAKE_CXX_STANDARD only supports value of 17 starting with
cmake v3.9
So the test wouldn't build properly with cmake v3.6
2024-03-22 13:55:34 +00:00
A Thousand Ships
87ecf17242
Add extension support for argument count to `ScriptInstance`
2024-03-14 17:45:56 +01:00
David Snopek
a62f633ceb
Merge pull request #1379 from dsnopek/uninitialized-value-mk2
...
Avoid creating most objects that Godot is going to use placement new to initialize
2024-03-14 11:06:59 -05:00
David Snopek
ec166295ba
Merge pull request #1397 from dsnopek/script-free-lists
...
Load new `script_instance_create3` GDExtension interface function
2024-03-14 10:02:21 -05:00
David Snopek
916b4ff2d5
Merge pull request #1375 from AThousandShips/the_angry_count_cpp
...
Add support for getting argument count from `Callable`s
2024-03-14 09:13:12 -05:00