summaryrefslogtreecommitdiffstats
path: root/core/extension
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Replace `find` with `contains/has` where applicableA Thousand Ships2024-05-081-1/+1
| | | | | | | | | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
* | Fix various typos with codespellRémi Verschelde2024-05-071-2/+2
| | | | | | | | | | | | | | | | | | Using 2.2.7.dev217+g10c2abcf. Had to add `colour` to the ignore list as we used it as an alias/keyword for the documentation of color-related APIs. Also ignore recommendations to change `thirdparty` to either `third-party` or `third party`, which are correct but we use the former fairly consistently.
* | Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-042-18/+28
| | | | | | | | | | | | | | | | | | 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` * Remade existing operations into other solutions when applicable
* | Add PackedVector4Array Variant typeK. S. Ernest (iFire) Lee2024-05-033-26/+77
| | | | | | | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* | GDExtension: provide `free_property_list_func` with length of arrayJan Haller2024-04-273-6/+14
|/
* Fix ptrcalls to static GDExtension methodsDavid Snopek2024-04-251-2/+2
|
* Merge pull request #90961 from Lateasusual/gdextension-hot-reloading-borkedRémi Verschelde2024-04-221-0/+2
|\ | | | | | | GDExtension: Fix missing library path breaking hot reloading
| * GDExtension: Fix missing library path breaking hot reloadingChris Clyne2024-04-201-0/+2
| |
* | Collapse the gdextension arguments into the `GDExtensionData` structFredia Huya-Kouadio2024-04-191-1/+7
| | | | | | | | This is used to reduce the number of arguments to `OS::open_dynamic_library(...)`.
* | Fix loading GDExtension dependencies on AndroidFredia Huya-Kouadio2024-04-192-4/+50
|/
* Merge pull request #87117 from DmitriySalnikov/rename_pdbRémi Verschelde2024-04-112-62/+6
|\ | | | | | | Add renaming of PDB files to avoid blocking them
| * Add renaming of PDB files to avoid blocking themDmitriySalnikov2024-04-052-62/+6
| |
* | [Core] Add iteration support to `Array`A Thousand Ships2024-04-101-14/+10
|/
* Print correct path when unable to find GDExtension librarySamuel Nicholas2024-03-261-2/+2
|
* Add 'override' mark to ResourceFormat classppphp2024-03-251-4/+4
|
* Add extension support for argument count to `ScriptInstance`A Thousand Ships2024-03-132-0/+6
|
* Merge pull request #87680 from AThousandShips/the_angry_countRémi Verschelde2024-03-132-1/+106
|\ | | | | | | Add methods to get argument count of methods
| * Add methods to get argument count of methodsA Thousand Ships2024-03-102-1/+106
| | | | | | | | | | | | | | | | Added to: * `Callable`s * `Object`s * `ClassDB` * `Script(Instance)`s
* | SCons: Remove `run_in_subprocess` dependencyThaddeus Crews2024-03-112-15/+3
| |
* | Merge pull request #89365 from Repiteo/scons/run_in_subprocess-to-env.RunRémi Verschelde2024-03-101-3/+2
|\ \ | | | | | | | | | SCons: Convert remaining `run_in_subprocess` to `env.Run`
| * | SCons: Convert remaining `run_in_subprocess` to `env.Run`Thaddeus Crews2024-03-101-3/+2
| |/
* / SCons: Ensure `with` statement where applicableThaddeus Crews2024-03-101-22/+18
|/
* Enforce `\n` eol for Python writesThaddeus Crews2024-03-092-2/+2
| | | | • Ensure utf-8 encoding if previously unspecified
* Merge pull request #89055 from dsnopek/gdextension-script-free-listsRémi Verschelde2024-03-042-35/+134
|\ | | | | | | GDExtension: Pass count when freeing method and property lists for script instances
| * GDExtension: Pass count when freeing method and property lists for script ↵David Snopek2024-03-022-35/+134
| | | | | | | | instances
* | Pre-commit: Update to clang-format 17.0.6 and black 24.2.0Rémi Verschelde2024-02-281-1/+1
|/
* Remove word duplicates in comments and strings, and fix casing and punctuationRobert Yevdokimov2024-02-231-1/+1
|
* Merge pull request #82554 from dsnopek/gdextension-placeholdersRémi Verschelde2024-02-204-19/+128
|\ | | | | | | Allow registering "runtime classes" from GDExtension
| * Allow registering "runtime classes"David Snopek2024-02-204-19/+128
| |
* | GDExtension: Fix `-Wtype-limits` warning in `compatibility_maximum` patch checkRémi Verschelde2024-02-191-1/+5
| | | | | | | | And cleanup some dead code in `version.h`, we now always define `VERSION_PATCH`.
* | Merge pull request #88417 from dsnopek/gdextension-compatibility-maximumRémi Verschelde2024-02-191-0/+29
|\ \ | | | | | | | | | Allow GDExtensions to set a `compatibility_maximum`
| * | Allow GDExtensions to set a compatibility_maximumDavid Snopek2024-02-161-0/+29
| | |
* | | Unbind GDExtension methods that can't reasonably be usedDavid Snopek2024-02-161-4/+0
|/ /
* / Add const lvalue ref to core/* container parametersMuller-Castro2024-02-141-1/+1
|/
* Merge pull request #88188 from ↵Rémi Verschelde2024-02-121-9/+125
|\ | | | | | | | | | | dsnopek/gdextension-api-double-compatibility-hashes Fix `gdextension_compat_hashes.cpp` for double precision builds
| * Fix `gdextension_compat_hashes.cpp` for double precision buildsDavid Snopek2024-02-101-9/+125
| |
* | Merge pull request #87758 from dsnopek/gdextension-register-virtual-methodRémi Verschelde2024-02-124-1/+97
|\ \ | |/ |/| | | Allow GDExtensions to register virtual methods and call them on scripts
| * Allow GDExtensions to register virtual methods and call them on scriptsDavid Snopek2024-02-124-1/+97
| |
* | Add null check for gdextension deinitializationMikhail Tishin2024-02-041-0/+3
|/
* GDExtension: add an interface for loading extra documentationRiteo2024-01-264-0/+77
| | | | | | | | | | | Adds two new GDExtension interface methods: - `editor_help_load_xml_from_utf8_chars` - `editor_help_load_xml_from_utf8_chars_and_len` Both of these methods parse the XML passed into an extra documentation container which, when needed, is merged into the main doc container. Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
* Add const lvalue ref to container parametersMuller-Castro2024-01-052-4/+4
|
* Distinguishs between dynamic library not found and can't be opened.Daylily-Zeleen2024-01-011-4/+2
|