Skip to content

Conversation

@Yarwin
Copy link
Owner

@Yarwin Yarwin commented Oct 21, 2025

No description provided.

mivort and others added 18 commits October 3, 2025 23:08
This patch adds output of `ConvertError`'s `Display` to debug-only
check's panic message which provides additional context when type
mismatch happens.

Panic message would include the intended type name and what was given
instead of it.

The output would look roughly like this:
```
copied array should have same type as original array:
expected array of type Builtin(DICTIONARY), got Untyped: []
```
Adds support for sys types (defined in `gdextension_interface.h`) to codegen.
…odegen

Codegen: Support sys types in outgoing Ptrcalls.
Add main loop callbacks to `ExtensionLibrary`
…ray runtime type.

-----

Methods such as `duplicate_...` were initializing and caching typed `VariantArray` as a return value for outgoing calls. We fix it by initializing proper `Array<T>` in the first place.
…set. Remove `ExBuilderConstructor` – it was doing nothing, and in practice it was supposed to do the same thing as `ExBuilderConstructorLifetimed`.
…ray-type

Bugfix – initialize&cache proper return value for generic, typed array.
…context

Provide error context for typed array clone check
- Bugfix: Handle docs in `#[godot_api(secondary)]`
- Code tweaks: Separate docs modules to not pollute rest of the code with `#[cfg(all(feature = "register-docs", since_api = "4.3"))]`. Simplify registration logic.
- Create separate PluginRegistry for Docs and Docs only.
…secondary

Class Docs – register docs in `#[godot_api(secondary)]`, simplify docs registration logic
Attempts to provide type information that's coming from the GDExtension API,
rather than from the user (through the macro). This should help in the future
with more detailed error messages, by using the API signatures as source of truth.
Improve spans; use tuple type for virtual signatures
@Yarwin Yarwin force-pushed the add-rustfmt-to-clippy-action branch from 7ca8667 to ee2b1fa Compare October 21, 2025 09:50
@Yarwin Yarwin closed this Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants