Lukas Tenbrink
|
ec32dae1da
|
Rename _strlen_clipped to strnlen (and use the system equivalent for char * inputs).
Add `strnlen` for `char16_t *` and `wchar_t *`.
|
2025-05-06 15:17:07 +02:00 |
|
Thaddeus Crews
|
01fc9aee6c
|
Core: Modernize C headers with C++ equivalents
|
2025-05-02 08:23:01 -05:00 |
|
kobewi
|
5af4bef46f
|
Inline static variables (part 1)
|
2025-04-29 18:10:44 +02:00 |
|
Thaddeus Crews
|
f8a8d6cf04
|
Merge pull request #105700 from dementive/config-file-get-improvement
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
|
2025-04-27 19:21:31 -05:00 |
|
Lukas Tenbrink
|
f2bab45202
|
Fix GDExtensionLoader using the wrong super type in GDSOFTCLASS.
|
2025-04-27 10:28:08 +02:00 |
|
dementive
|
b8e44a0000
|
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
|
2025-04-24 20:10:31 -04:00 |
|
Thaddeus Crews
|
0fbb22c095
|
Merge pull request #104432 from YYF233333/dict_iter2
Do not iterate `Dictionary` with `Dictionary::keys()`
|
2025-04-07 08:43:33 -05:00 |
|
Thaddeus Crews
|
5edb235018
|
CI: Bump various pre-commit hooks
|
2025-04-07 08:23:35 -05:00 |
|
Yufeng Ying
|
8ae16699c5
|
Do not use Dictionary::keys() for Dictionary iteration.
|
2025-04-05 18:42:13 +08:00 |
|
Thaddeus Crews
|
abd565eb19
|
Merge pull request #104844 from Ivorforce/gdsoftclass
Add and require `GDSOFTCLASS` for `Object` subclasses that want to cast but do not use `GDCLASS`.
|
2025-03-31 19:02:03 -05:00 |
|
Lukas Tenbrink
|
fa0a3c9c6e
|
Add and require GDSOFTCLASS for Object subclasses that want to cast but do not use GDCLASS.
|
2025-03-31 20:49:50 +02:00 |
|
Kiro
|
23129a66ed
|
Replace append_utfx with direct String::utfx
|
2025-03-30 19:56:38 +02:00 |
|
Thaddeus Crews
|
780cf03051
|
Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
Use `append_` instead of `parse_` for `String` methods.
|
2025-03-29 10:16:33 -05:00 |
|
Yyf2333
|
22b5ec17fb
|
Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
|
2025-03-28 13:29:15 +08:00 |
|
Lukas Tenbrink
|
ffa6ef220b
|
Use append_ instead of parse_ for String methods.
|
2025-03-27 17:51:02 +01:00 |
|
Thaddeus Crews
|
1b631edf67
|
Merge pull request #104129 from dsnopek/gdextension-get-used-classes
GDExtension: Add mechanism to get which classes an extension is using
|
2025-03-17 16:03:27 -05:00 |
|
David Snopek
|
2dff9fef37
|
GDExtension: Add mechanism to get which classes an extension is using
|
2025-03-17 15:27:14 -05:00 |
|
Thaddeus Crews
|
b377562b52
|
Merge pull request #91660 from AThousandShips/methodinfo_vec
[Core] Use `Vector` for `MethodInfo::arguments`
|
2025-03-14 10:06:13 -05:00 |
|
Thaddeus Crews
|
c1b7865ae9
|
Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
|
2025-03-13 08:57:42 -05:00 |
|
Aaron Franke
|
97ee05e9b7
|
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
|
2025-03-12 11:11:38 -07:00 |
|
Yufeng Ying
|
bebe037abf
|
Add ConstIterator to Dictionary.
|
2025-03-13 01:28:46 +08:00 |
|
Thaddeus Crews
|
be429eb404
|
SCons: Make builders prettier, utilize constexpr
|
2025-03-11 18:31:20 -05:00 |
|
Thaddeus Crews
|
69529ff0aa
|
Merge pull request #102373 from dsnopek/gdextension-set-script-instance
GDExtension: Add interface functions for `Object::set_script_instance()`
|
2025-03-11 16:53:57 -05:00 |
|
Lukas Tenbrink
|
1818453faa
|
Make use of latin1 encoding explicit in gdextension_interface.cpp.
|
2025-03-10 19:33:56 +01:00 |
|
A Thousand Ships
|
d9721954e6
|
[Core] Use Vector for MethodInfo::arguments
|
2025-03-10 13:57:53 +01:00 |
|
A Thousand Ships
|
331a43a9d8
|
Add String::remove_char(s) methods for performance and convenience
|
2025-03-10 13:19:28 +01:00 |
|
Thaddeus Crews
|
324512e11c
|
Style: Replace header guards with #pragma once
|
2025-03-07 17:33:47 -06:00 |
|
Thaddeus Crews
|
96fdaa616b
|
Style: Integrate #pragma once in builders/checks
|
2025-03-07 17:32:33 -06:00 |
|
Thaddeus Crews
|
a5dbf3bd49
|
Merge pull request #103199 from raulsntos/gdextension/version+status
GDExtension: Add `status` to `get_godot_version`
|
2025-03-07 15:12:53 -06:00 |
|
Thaddeus Crews
|
f8ca861e25
|
Merge pull request #103137 from dsnopek/extension-api-precision
GDExtension: Include precision in `extension_api.json`
|
2025-03-07 15:12:47 -06:00 |
|
A Thousand Ships
|
5113022dfe
|
Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
|
2025-03-07 14:50:38 +01:00 |
|
Raul Santos
|
05ffa218f3
|
GDExtension: Add all Engine.get_version_info fields to get_godot_version
Added in a new `get_godot_version2` function with a new
`GDExtensionGodotVersion2` to avoid breaking compatibility.
|
2025-02-24 17:37:27 +01:00 |
|
David Snopek
|
bd962dd2c4
|
GDExtension: Include precision in extension_api.json
|
2025-02-21 13:55:45 -06:00 |
|
David Snopek
|
7095431aa7
|
GDExtension: Add interface functions for Object::set_script_instance()
|
2025-02-04 14:47:06 -06:00 |
|
Pāvels Nadtočajevs
|
b983b9d9f4
|
[RTL] Add cell option to control if cell is shrinked to its contents width.
|
2025-01-13 21:44:06 +02:00 |
|
David Snopek
|
696285f23a
|
Use MethodInfo::get_compatibility_hash() to generate the hash for MethodBind::get_hash() and other GDExtension hash clean up
|
2025-01-11 15:57:42 -06:00 |
|
Rémi Verschelde
|
6a8ca81789
|
Merge pull request #100674 from dsnopek/gdextension-virtual-method-compat
GDExtension: Add compatibility system for virtual methods
|
2025-01-11 22:29:38 +01:00 |
|
David Snopek
|
39f16e70f8
|
GDExtension: Add compatibility system for virtual methods
|
2025-01-10 16:00:05 -06:00 |
|
Ricardo Subtil
|
b77aa473a1
|
Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization
|
2025-01-03 10:50:15 +00:00 |
|
Rémi Verschelde
|
c9e99291c1
|
Merge pull request #100622 from dsnopek/gdextension-compat-hashes
Rename `GDExtensionCompatHashes` to make it clear it's only for exceptional situations
|
2024-12-20 23:57:02 +01:00 |
|
Rémi Verschelde
|
119c99a8d0
|
Merge pull request #100193 from raulsntos/gdextension/set_class_icon
GDExtension: Add method to set the class icon
|
2024-12-20 23:56:48 +01:00 |
|
David Snopek
|
506600a560
|
Rename GDExtensionCompatHashes to make it clear it's only for exceptional situations
|
2024-12-19 18:08:42 -06:00 |
|
Raul Santos
|
69f1cc10b6
|
GDExtension: Add icon path to class creation info
Allows GDExtensions to set the icon of a class programmatically, which is useful for extensions that don't use a `.gdextension` file.
|
2024-12-17 08:43:12 +01:00 |
|
Lukas Tenbrink
|
b5c31ebb41
|
Add contains_char() for single-character 'contains' calls.
|
2024-12-06 20:23:35 +01:00 |
|
Rémi Verschelde
|
88e81ee730
|
Fix various typos and code style issues
|
2024-11-28 17:40:42 +01:00 |
|
Thaddeus Crews
|
7f3242a7e8
|
Merge pull request #99201 from Ivorforce/variant-get-contents-ptr
Add GDExtension `variant_get_ptr_internal_getter`, facilitating `VariantGetInternalPtr`-like behavior in GDExtension
|
2024-11-26 13:04:40 -06:00 |
|
Lukas Tenbrink
|
ffd4de67d0
|
Add variant_get_ptr_internal_getter to gdextension_interface.h. The function 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.
|
2024-11-26 02:19:03 +01:00 |
|
David Snopek
|
2599df3b8a
|
GDExtension: Fix method binds not saying if they are varargs
|
2024-11-18 13:19:22 -06:00 |
|
Thaddeus Crews
|
363c0b5fec
|
Merge pull request #47502 from KoBeWi/add_0
Always add decimal when converting float to string
|
2024-10-31 20:14:39 -05:00 |
|
A Thousand Ships
|
38f9769bc6
|
[Core] Improve error messages with vformat
|
2024-10-30 15:55:51 +01:00 |
|