Commit Graph

1390 Commits (ee9acbcf109486eec3827d84ff033387762bccb7)

Author SHA1 Message Date
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
A Thousand Ships fb79d5ff98
Add support for getting argument count from `Callable`s 2024-03-14 10:27:39 +01:00
David Snopek e6b6df5893
Merge pull request #1399 from bruvzg/init_list
[Packed*Array] Add support for initializer lists.
2024-03-12 14:30:38 -05:00
David Snopek d78fe9853f
Merge pull request #1412 from dsnopek/gdextension-register-virtual-method-namespace
Use explicit `::godot` namespace in gdvirtual.gen.inc
2024-03-12 14:27:56 -05:00
David Snopek 12ebe4b180 Use explicit `::godot` namespace in gdvirtual.gen.inc 2024-03-12 13:06:57 -05:00
David Snopek efb46f7f82
Merge pull request #1407 from AThousandShips/flag_fix
Fix invalid `void` return in `BitField`
2024-03-11 12:43:12 -05:00
David Snopek 7cff8ca896
Merge pull request #1408 from Zylann/fix_explicit_namespace_in_macros
Fix explicit namespaces in macros
2024-03-11 12:43:00 -05:00
Thaddeus Crews 87f5fb0691
Enforce template syntax `typename` over `class` 2024-03-10 16:02:43 -05:00
Marc Gilleron e607790647 Fix explicit namespaces in macros 2024-03-08 19:42:07 +00:00
A Thousand Ships 7ed8ef7221
Fix invalid `void` return in `BitField` 2024-03-08 13:32:28 +01:00
David Snopek cc1217a43c
Merge pull request #1381 from dsnopek/notification-hierarchy
Fix `_notification()` with parent and child classes
2024-03-05 11:50:13 -06:00
David Snopek f444616553
Merge pull request #1404 from AThousandShips/virt_fix
Fix crash on virtual method calls
2024-03-05 11:50:02 -06:00
A Thousand Ships fc986c2d12
Fix crash on virtual method calls 2024-03-05 15:30:59 +01:00
bruvzg 8c98a90f32
[Packed*Array] Add support for initializer lists. 2024-03-03 12:50:53 +02:00
David Snopek 8b92368165 Load new `script_instance_create3` GDExtension interface function 2024-03-01 10:50:02 -06:00
David Snopek e55b792fea
Merge pull request #1383 from bruvzg/memalign
[Core] Improve `CowData` and `Memory` metadata alignment.
2024-02-26 12:54:17 -06:00
David Snopek c4fde852e6 Avoid creating most objects that Godot is going to use placement new to initialize 2024-02-26 10:36:16 -06:00
David Snopek 23c010900c Fix _notification with parent and child classes 2024-02-22 14:39:50 -06:00
David Snopek f90085917b
Merge pull request #1256 from dsnopek/placeholders
Allow registering "runtime classes"
2024-02-21 07:51:52 -06:00
David Snopek a6d9393341
Merge pull request #1392 from Faless/build/targets_no_more
[SCons] Split `targets.py`, apply flags from tools
2024-02-16 17:13:48 -06:00
Fabio Alessandrelli 16df4bff30 [SCons] Split `targets.py`, apply flags from tools
Split `targets` tool logic, moving all the compiler-specific flags to a
new `common_compiler_flags.py` file, and everything else (CPPDEFINES,
optimize option logic, dev build logic, etc) to the `godotcpp` tool.

The default tools now apply the common compiler flags by importing the
file and explicitly calling `configure`.
2024-02-16 23:08:06 +01:00
David Snopek 620104e700
Merge pull request #1367 from AThousandShips/issue_version
Use latest doc version in issue template
2024-02-16 09:06:30 -06:00
David Snopek 349b081b18
Merge pull request #1391 from Faless/build/custom_tools
[SCons] Add support for custom build tools and platforms
2024-02-15 09:37:06 -06:00
Fabio Alessandrelli baaad7ada2 [SCons] Add support for custom build tools and platforms
Use with:

`scons platform=os2 custom_tools=/path/to/tools`

(assuming you have an `os2.py` inside `/path/to/tools/`)
2024-02-14 21:20:38 +01:00
David Snopek fb884573ea Allow registering "runtime classes" 2024-02-13 08:55:25 -06:00
David Snopek 5fcc43e54d
Merge pull request #1377 from dsnopek/gdextension-register-virtual-method
Allow GDExtensions to register virtual methods and call them on scripts (godot-cpp support)
2024-02-12 18:43:12 -06:00