Commit Graph

1197 Commits (edce0b71782d9b27fed0a42cdc94a40b6f9bb35e)

Author SHA1 Message Date
Rémi Verschelde 95a2303e37 headers: Sync with upstream commit 917fd65 (4.0-alpha8) 2022-05-12 12:28:02 +02:00
Rémi Verschelde 6f8e2308d5
Merge pull request #752 from bruvzg/bind_imp 2022-05-06 14:55:39 +02:00
bruvzg 031a83b0ea
[Method Bind] Add support for default argument values and static method binding. Sync headers. 2022-05-06 10:17:51 +03:00
Fabio Alessandrelli 24e4aeb2c6
Merge pull request #746 from NicholasShatokhin/master
Build javascript target on windows host
2022-05-04 15:59:36 +02:00
Rémi Verschelde d00e46966d
Merge pull request #728 from bruvzg/double_pr_build 2022-05-04 15:57:59 +02:00
bruvzg e06d5cd414
Add double precision build support. 2022-05-04 15:56:35 +03:00
Rémi Verschelde f262ae9a6f
Merge pull request #750 from bruvzg/init_levels
Change registered initializers / terminators to the single function with level argument.
2022-05-04 11:00:42 +02:00
bruvzg 8bf5a532de
Change registered initializers / terminators to the single function with level argument. 2022-05-04 11:14:51 +03:00
Rémi Verschelde 20a17eb71d
Merge pull request #748 from Faless/build/4.x_deps 2022-05-03 11:56:30 +02:00
Fabio Alessandrelli fa698ddd12 [Scons] Use builder to track bindings regeneration.
Using a scons Builder we now regenerate the bindings automatically
when the Godot API json or header has changed.

The option to force bindings regeneration (generate_bindings=yes) is
retained.
2022-05-03 10:48:23 +02:00
Rémi Verschelde 1ad24f1d5d
Merge pull request #749 from Faless/ci/4.x_black 2022-05-03 09:19:42 +02:00
Fabio Alessandrelli b47dfb6a5c [CI] Add python file format to static checks.
Uses the same version of `black` as godot.
2022-05-02 21:13:56 +02:00
Mykola Shatokhin b2331e1f6d Build javascript target on windows host 2022-05-01 00:35:42 +03:00
Rémi Verschelde 0b050442da headers: Sync with upstream commit 3e9ead0 (4.0-alpha7) 2022-04-29 19:57:26 +02:00
Fabio Alessandrelli 2cf7cf1304
Merge pull request #743 from Faless/build/4.x_no_duplicates
[CI] Remove duplicate builds.
2022-04-27 17:49:00 +02:00
Fabio Alessandrelli 69aefe5c79 [CI] Remove duplicate builds.
Leftovers from the CI matrix PR.
2022-04-27 07:32:27 +02:00
Rémi Verschelde 6123a61a49
Merge pull request #738 from akien-mga/color-clarify-srgb-linear-conversions 2022-04-13 14:41:29 +02:00
Rémi Verschelde 24f5cd2d48 Color: Rename to_srgb/to_linear to include base color space
Counterpart to https://github.com/godotengine/godot/pull/60199.
Also syncs the extension API with that PR.
2022-04-13 12:50:21 +02:00
Rémi Verschelde 60037decc3
Merge pull request #737 from godotengine/dependabot/github_actions/actions/upload-artifact-3 2022-04-09 17:06:14 +02:00
dependabot[bot] 4963e6f3fc
Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 19:14:25 +00:00
Rémi Verschelde fad357bbe6
Merge pull request #734 from bruvzg/var_ret 2022-03-30 15:38:03 +02:00
bruvzg 057a771fda
Add support for variadic method binds with the typed return. Sync headers. 2022-03-30 15:11:28 +03:00
Pxl b7ade95edc
Update CMakeLists.txt
fix compile fail when windows with llvm+ninja
2022-03-26 13:09:25 +08:00
Rémi Verschelde 5eb1c54116
Merge pull request #730 from bruvzg/static_no_return 2022-03-25 13:35:23 +01:00
bruvzg d9d68550d9
Fix generating static methods without return value. 2022-03-25 14:13:45 +02:00
Rémi Verschelde 3d4d004fb6
Merge pull request #729 from bruvzg/static_methods
Add support for static method bindings.
2022-03-24 18:35:23 +01:00
bruvzg 28027394f5
Add support for static method bindings. 2022-03-22 16:06:13 +02:00
Rémi Verschelde c6109fb08e
Merge pull request #726 from bruvzg/fix_build_after_59140
Sync godot-headers and fix build after "Create GDExtension clases for PhysicsServer3D".
2022-03-16 19:48:34 +01:00
bruvzg 93de1b2b0b
Sync godot-headers and fix build after "Create GDExtension clases for PhysicsServer3D". 2022-03-16 20:33:06 +02:00
Rémi Verschelde 7bcf579a37
Merge pull request #724 from bruvzg/fix-after-expose-more-gdextension 2022-03-16 10:39:40 +01:00
bruvzg 817efdd484
Fix build after "Discern between VIRTUAL and ABSTRACT class bindings". 2022-03-15 13:43:12 +02:00
Rémi Verschelde 13603e4050
Merge pull request #725 from akien-mga/remove-headers-submodule 2022-03-15 12:33:14 +01:00
Rémi Verschelde c4f12ccc3c Remove godot-headers submodule, copy files directly
With the new GDExtension API, the headers are just two files, one of
which is generated and needs to always be kept in sync with the Godot
engine version.

So there's little practical use for using godot-headers as a submodule
anymore, and it only makes godot-cpp updates more cumbersome.

Custom headers (i.e. a custom API JSON) can still be used by passing
the `headers_dir` SCons option.
2022-03-15 10:19:07 +01:00
Rémi Verschelde 82bc102581 Sync `misc/` scripts and hooks with upstream Godot 2022-03-15 10:18:33 +01:00
Rémi Verschelde 1632322ce0 Update copyright year 2022-03-15 10:17:53 +01:00
Rémi Verschelde b869ef660f
Merge pull request #717 from godotengine/dependabot/github_actions/actions/checkout-3 2022-03-09 17:51:39 +01:00
Rémi Verschelde 5f1030d119
Merge pull request #720 from bruvzg/get_instance 2022-03-09 17:51:32 +01:00
Rémi Verschelde f4d2bfd77b
Merge pull request #721 from bruvzg/fix_return_type_encoding 2022-03-09 17:51:02 +01:00
bruvzg b8b9a2fad9
Fix return type encoding for ptrcall. 2022-03-09 17:18:21 +02:00
Rémi Verschelde 024f09e1ea
Merge pull request #723 from akien-mga/ci-install-mingw-via-actions 2022-03-09 16:16:38 +01:00
Rémi Verschelde 3846201fbb CI: Install MinGW via `egor-tensin/setup-mingw`
Scoop install is being problematic since their 0.1.0 release.
2022-03-09 13:36:33 +01:00
Rémi Verschelde b6c18d489d headers: Sync with upstream commit f470979 (4.0-alpha4) 2022-03-08 16:15:07 +01:00
bruvzg b1385953fe
Add `ObjectDB::get_instance` method to get wrapped `Object *` from `ObjectID`. 2022-03-08 10:17:33 +02:00
Rémi Verschelde 2f3ead0281
Merge pull request #719 from codecat/fix-method-bind-crash 2022-03-04 13:52:44 +01:00
Melissa Geels d97dc518d3 Fixed crash on release builds due to missing argument type information 2022-03-02 14:44:23 +01:00
dependabot[bot] 73ef81a8de Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 19:09:09 +00:00
Rémi Verschelde 4368f14e9d
Merge pull request #716 from godotengine/dependabot/github_actions/actions/setup-python-3 2022-03-01 01:53:52 +01:00
Rémi Verschelde 3b5ea2f423
Merge pull request #715 from groud/reorder_native_initialization 2022-03-01 01:53:25 +01:00
dependabot[bot] 0987fd6b0e
Bump actions/setup-python from 2 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 19:07:08 +00:00
Gilles Roudière a94148ca4c Reorder native extension initialization steps 2022-02-28 15:44:54 +01:00