summaryrefslogtreecommitdiffstats
path: root/core/extension
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@f128f383e892865379cb8b14e7bcc9858efe2973Spartan3222024-11-272-0/+104
|\
| * Merge pull request #99201 from Ivorforce/variant-get-contents-ptrThaddeus Crews2024-11-262-0/+104
| |\ | | | | | | | | | Add GDExtension `variant_get_ptr_internal_getter`, facilitating `VariantGetInternalPtr`-like behavior in GDExtension
| | * Add variant_get_ptr_internal_getter to gdextension_interface.h. The function ↵Lukas Tenbrink2024-11-262-0/+104
| | | | | | | | | | | | returns functions to retrieve a pointer to a Variant's internal value. This enables GDExtensions to implement functionality similar to VariantGetInternalPtr, to access Variant internal values directly.
* | | Merge commit godotengine/godot@9e6098432aac35bae42c9089a29ba2a80320d823Spartan3222024-11-201-1/+1
|\| |
| * | GDExtension: Fix method binds not saying if they are varargsDavid Snopek2024-11-181-1/+1
| |/
* | Merge commit godotengine/godot@c6c464cf9ae56e8b68620af65125dd980d0e8122Spartan3222024-11-025-24/+30
|\|
| * Merge pull request #47502 from KoBeWi/add_0Thaddeus Crews2024-10-311-0/+6
| |\ | | | | | | | | | Always add decimal when converting float to string
| | * Always add decimal when printing floatkobewi2024-10-231-0/+6
| | |
| * | [Core] Improve error messages with `vformat`A Thousand Ships2024-10-305-24/+24
| |/
* | Merge pull request #818 from Spartan322/fixup/copyright-headersGeorge L. Albany2024-10-2714-28/+28
|\ \ | | | | | | Fix copyright headers referring to Godot
| * | Fix copyright headers referring to GodotSpartan3222024-10-2714-28/+28
| | |
* | | Fix `GDExtensionAPIDump` lacking status_version headerSpartan3222024-10-261-0/+1
|/ /
* | Merge commit godotengine/godot@b3bcb2dc14691f7729984128dca26a844f662fa1Spartan3222024-10-221-0/+1
|\|
| * Don't include `core/io/image.h` in `core/os/os.h`Yevhen Babiichuk (DustDFG)2024-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `core/os/os.h` doesn't use `core/io/image.h`. It just brings transitive dependencies. Lots of dependencies because `core/os/os.h` is transitively included in almost every file of godot Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h` were used to prevent obscure errors involving `Ref<Image>` ^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by corresponding .h file with the same name Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com> Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-1114-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* | Rebrand Godot to RedotRandolph W. Aarseth II2024-10-112-7/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Linux Editor tests workflow matrix Add Windows Editor w/ Mono workflow matrix Add Generate Glue Code job to Windows workflow Add Build GodotSharp job to Windows workflow Add godot compatibility version references Add Godot author info Add Godot version compatibility info Add Godot donor info Add Godot authors and donors to editor_about.cpp Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Merge pull request #97119 from dsnopek/gdextension-object-instance-idRémi Verschelde2024-10-042-0/+24
|\ | | | | | | GDExtension: Allow directly getting `ObjectID` from `Variant`
| * GDExtension: Allow directly getting `ObjectID` from `Variant`David Snopek2024-09-172-0/+24
| |
* | GDExtension: Use loader to check if the library exists.Gergely Kis2024-09-294-1/+8
| |
* | Merge pull request #93311 from dsnopek/gdextension-required-virtualsRémi Verschelde2024-09-272-2/+3
|\ \ | | | | | | | | | GDExtension: Mark virtual function as `is_required` in `extension_api.json`
| * | GDExtension: Mark virtual function as `is_required` in `extension_api.json`David Snopek2024-09-112-2/+3
| | | | | | | | | | | | Co-authored-by: Jovan Gerodetti <jovan.gerodetti@titannano.de>
* | | SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
| |/ |/|
* | Merge pull request #95840 from raulsntos/char_metadataRémi Verschelde2024-09-122-2/+4
|\ \ | |/ |/| | | Add metadata for `char16_t` and `char32_t`
| * Add metadata for `char16_t` and `char32_t`Raul Santos2024-09-122-2/+4
| | | | | | | | | | | | | | | | We don't seem to expose any API that uses `char16_t` yet, but I added it anyway since we make the type info for it. I didn't add anything for `wchar_t` because we are not making a type info so maybe we don't have a need for it yet, it could be added in the future. To prevent breaking compatibility with the C# bindings, we ignore the `char32_t` metadata and still use `System.Int64`.
* | Merge pull request #96787 from raulsntos/gdextension/remove-get-rid-funcRémi Verschelde2024-09-113-5/+5
|\ \ | | | | | | | | | Remove `get_rid_func` from `GDExtensionClassCreationInfo4`
| * | Remove `get_rid_func` from `GDExtensionClassCreationInfo4`Raul Santos2024-09-103-5/+5
| |/
* | Merge pull request #96586 from rune-scape/fix-empty-stringname-hashRémi Verschelde2024-09-111-12/+61
|\ \ | | | | | | | | | StringName: Fix empty hash
| * | StringName: Fix empty hashrune-scape2024-09-091-12/+61
| |/ | | | | | | +Fixed compat hashes
* / Allow class names to be unicodescgm02024-09-071-1/+1
|/
* Implement typed dictionariesThaddeus Crews2024-09-043-0/+29
|
* Merge pull request #96292 from AThousandShips/null_check_ref_fixRémi Verschelde2024-09-031-1/+1
|\ | | | | | | Cleanup of raw `nullptr` checks with `Ref`
| * Cleanup of raw `nullptr` checks with `Ref`A Thousand Ships2024-08-311-1/+1
| | | | | | | | Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
* | Fix `bool` type appearing in GDExtension headerJan Haller2024-08-311-1/+1
|/
* Core: Сheck `r_error` after calling `callp()`Danil Alexeev2024-08-301-1/+1
|
* Merge pull request #93972 from ↵Rémi Verschelde2024-08-302-7/+89
|\ | | | | | | | | | | Hilderin/fix-editor-needs-restart-after-adding-gdextensions Fix editor needs restart after adding GDExtensions
| * Fix editor needs restart after adding GDExtensionsHilderin2024-08-292-7/+89
| |
* | Fix loading GDExtensions in exported gamesDavid Snopek2024-08-291-5/+3
|/
* Add `String.is_valid_unicode_identifier()`Haoyu Qiu2024-08-271-1/+1
| | | | | | | - Adds `is_valid_unicode_identifier()` - Adds `is_valid_ascii_identifier()` - Deprecates `is_valid_identifier()` - Renames `validate_identifier()` to `validate_ascii_identifier()`
* Merge pull request #91166 from raulsntos/gdextension/loaderRémi Verschelde2024-08-267-344/+577
|\ | | | | | | GDExtension: Implement `GDExtensionLoader` concept
| * GDExtension: Implement `GDExtensionLoader` conceptRaul Santos2024-08-227-344/+577
| | | | | | | | | | | | | | - Implements the concept of GDExtension loaders that can be used to customize how GDExtensions are loaded and initialized. - Moves the parsing of `.gdextension` config files to the new `GDExtensionLibraryLoader`. - `GDExtensionManager` is now meant to be the main way to load/unload extensions and can optionally take a `GDExtensionLoader`. - `EditorFileSystem` avoids unloading extensions if the file still exists, this should prevent unloading extensions that are outside the user project.
* | Allow ClassDB to create a Object without postinitialization for GDExtension.Daylily-Zeleen2024-08-204-17/+137
|/
* Fix reload of GDExtension libraries in framework package on macosJoel Croteau2024-08-081-10/+1
| | | | | | | | | | | | | | | | | | | | | `GDExtension::open_library` has a check in it to see if the library was loaded from a temp file, and if it was to restore the original name as that is the one we actually care about. This check is breaking extension reloading on Mac when the library path is to a framework folder, as the file inside the framework will not generally be the same name as the folder. This check also shouldn't be necessary even on Windows, which is the only platform that uses `generate_temp_files`, since disposal of the created temp file is handled within `OS_Windows::open_dynamic_library`, and `GDExtension::open_library` (which is the only function to call `open_dynamic_library` with a `p_data` argument) only cares about the original library file path and has to do extra work to remove the name of the temp file. Instead, I have removed that check and set `OS_Windows::open_dynamic_library` to return the name of the original file and not the name of the copy. This fixes GDExtension reloading on macOS. I do not have a Windows machine available to test that it still works properly on Windows, so someone should check that before merging this.
* Merge pull request #94373 from maiself/fix-library-path-as-absRémi Verschelde2024-07-171-1/+1
|\ | | | | | | Fix to restore `library_path` as absolute path
| * Fix to restore `library_path` as absolute pathMai Lavelle2024-07-141-1/+1
| |
* | GDExtension docs: advise bindings to use uint64_t for bitfieldsJan Haller2024-07-151-1/+5
|/
* [TextServer, GDExtension] Fix building text servers as GDExtension, expose ↵bruvzg2024-06-122-0/+87
| | | | new/changed low-level methods to GDExtension API.
* Merge pull request #91502 from lyuma/gdextension_open_library_compatRémi Verschelde2024-05-303-0/+60
|\ | | | | | | Bind compatibility GDExtension methods removed in #88418
| * Bind compatibility GDExtension methods removed in 88418Lyuma2024-05-073-0/+60
| | | | | | | | These functions were likely not used, but we must ensure they are still bound to ensure API stability.
* | Update pre-commit hooks configuration to use `ruff` instead of `black`Jakub Marcowski2024-05-212-3/+1
| |
* | GDExtension: Prevent crash during shutdown as singletons are deletedDavid Snopek2024-05-101-0/+3
| |