summaryrefslogtreecommitdiffstats
path: root/core/variant/variant_call.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a sort method to Dictionary and HashMapAaron Franke2024-10-021-0/+1
|
* Bind Array get and set functionsAaron Franke2024-09-261-0/+31
|
* [Core] Add way to check if a signal has any connectionsA Thousand Ships2024-09-201-0/+1
| | | | Added to `Object` and `Signal`
* Merge pull request #95449 from SlashScreen/array_functionsRémi Verschelde2024-09-201-0/+2
|\ | | | | | | Add callable support for `find` and `rfind` `Array` methods
| * Add callable support for `find` and `rfind` `Array` methodsSlashscreen2024-09-131-0/+2
| |
* | Implement typed dictionariesThaddeus Crews2024-09-041-0/+13
| |
* | Add `String.is_valid_unicode_identifier()`Haoyu Qiu2024-08-271-0/+2
| | | | | | | | | | | | | | - Adds `is_valid_unicode_identifier()` - Adds `is_valid_ascii_identifier()` - Deprecates `is_valid_identifier()` - Renames `validate_identifier()` to `validate_ascii_identifier()`
* | Simplify and fix Rect2/AABB get_support functionAaron Franke2024-08-191-1/+2
|/
* [TextServer, GDExtension] Fix building text servers as GDExtension, expose ↵bruvzg2024-06-121-0/+1
| | | | new/changed low-level methods to GDExtension API.
* [Windows] Fix 32-bit MinGW LTO build.bruvzg2024-06-041-2/+14
|
* Use Core/Scene stringnames consistentlykobewi2024-05-131-1/+0
|
* [Core] Add case-insensitive `String::containsn`A Thousand Ships2024-05-081-0/+1
|
* Add const char * overloads to String classWilson E. Alvarez2024-05-071-13/+13
| | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* Add PackedVector4Array Variant typeK. S. Ernest (iFire) Lee2024-05-031-0/+24
| | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Expose `Vector*` component-wise and scalar `min/max` to scriptingA Thousand Ships2024-05-021-0/+24
|
* [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`A Thousand Ships2024-05-021-0/+12
| | | | Convenience for a number of cases operating on single values
* Update the description and parameter name for Vector3 reflect to correct how ↵clayjohn2024-04-301-1/+1
| | | | the plane is constructed
* Clarify bounce and reflect docs and update param namesclayjohn2024-04-101-2/+2
|
* Fix sorting of files/dirs in dialogsA Thousand Ships2024-03-201-0/+2
| | | | Sorts leading `_` before other characters except `.`.
* Merge pull request #89270 from Repiteo/enforce-typename-in-templatesRémi Verschelde2024-03-141-69/+69
|\ | | | | | | Enforce template syntax `typename` over `class`
| * Enforce template syntax `typename` over `class`Thaddeus Crews2024-03-071-69/+69
| |
* | Add methods to get argument count of methodsA Thousand Ships2024-03-101-0/+5
|/ | | | | | | | Added to: * `Callable`s * `Object`s * `ClassDB` * `Script(Instance)`s
* Allow returning Dictionary after mergingkobewi2024-03-061-0/+1
|
* Merge pull request #88948 from dalexeev/core-add-callable-createRémi Verschelde2024-02-291-0/+1
|\ | | | | | | Core: Add `Callable.create` static method for `Variant` callables
| * Core: Add `Callable.create` static method for `Variant` callablesDanil Alexeev2024-02-291-0/+1
| |
* | Merge pull request #81822 from nlupugla/nodepath-sliceRémi Verschelde2024-02-291-0/+1
|\ \ | |/ |/| | | Add `NodePath::slice` method
| * Added NodePath::slice method.nlupugla2023-12-131-0/+1
| |
* | Replace error checks against `size` with `is_empty`A Thousand Ships2024-02-091-4/+4
| |
* | Promote CowData to 64 bitsJuan Linietsky2024-01-191-1/+1
| | | | | | | | Fixes a lot of bugs, please help me fill the list.
* | Add const lvalue ref to container parametersMuller-Castro2024-01-051-5/+5
| |
* | Merge pull request #83163 from Chubercik/vectorXi_dist_methodsRémi Verschelde2024-01-031-0/+6
|\ \ | | | | | | | | | Implement `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`
| * | Implement `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`Jakub Marcowski2023-10-121-0/+6
| |/
* | Merge pull request #82264 from dalexeev/core-builtin-methods-as-callablesRémi Verschelde2024-01-021-37/+48
|\ \ | | | | | | | | | Core: Allow methods of built-in `Variant` types to be used as Callables
| * | Core: Allow methods of built-in `Variant` types to be used as CallablesDanil Alexeev2023-10-251-37/+48
| |/
* / Add a `get_or_add` method to DictionaryAaron Franke2023-12-061-0/+1
|/
* Fix expected argument count for `Callable` call errorsDanil Alexeev2023-09-291-2/+0
|
* Merge pull request #79523 from aaronfranke/is-conformalRémi Verschelde2023-09-261-0/+2
|\ | | | | | | Add `is_conformal` method to Basis and Transform2D
| * Add `is_conformal` method to Basis and Transform2DAaron Franke2023-09-131-0/+2
| |
* | Add Vector2/3/4i.MAX and MINkobewi2023-09-161-0/+6
|/
* [Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-111-12/+12
|
* Set builtin varrarg ptrcalls, called without arg.Daylily-Zeleen2023-09-021-9/+5
|
* Add `String.reverse` methodYuri Roubinski2023-06-211-0/+1
|
* Add the ability to look-at in model-space.Juan Linietsky2023-05-241-2/+9
| | | | | | | | | | This is a much simpler attempt to solve the same problem as #76060, but without breaking any compatibility. * Adds a description of what model space is in the Vector3 enums (MODEL_* constants). This has the proper axes laid out for imported 3D assets. * Adds the option to `look_at` using model_space, which uses Vector3.MODEL_FRONT as forward vector. The attempt of this PR is to still break the assumption that there is a single direction of forward (which is not the case in Godot) and make it easier to understand where 3D models are facing, as well as orienting them via look_at.
* Revert "Add API for HSL conversion"clayjohn2023-05-101-1/+0
| | | | This reverts commit 0b7fd664c1ba372a77f78764b4ff9acfeb1f8052.
* Merge pull request #76661 from bonjorno7/hslRémi Verschelde2023-05-091-0/+1
|\ | | | | | | Add API for HSL conversion
| * Add API for HSL conversionbonjorno72023-05-091-0/+1
| | | | | | | | | | Math ported pretty much 1:1 from https://en.wikipedia.org/wiki/HSL_and_HSV Style doesn't match the existing HSV code exactly, but should be close enough.
* | Merge pull request #76735 from AThousandShips/natural_cmpRémi Verschelde2023-05-091-0/+1
|\ \ | | | | | | | | | Add `naturalcasecmp_to` function to `String`
| * | Add `naturalcasecmp_to` function to `String`Ninni Pipping2023-05-071-0/+1
| |/ | | | | | | Functions as a complement to `naturalnocasecmp_to`
* | Merge pull request #75510 from SilicDev/string_eraseClay John2023-05-051-0/+1
|\ \ | |/ |/| Reimplement `String.erase()` as immutable method
| * Reimplement String.eraseSilicDev2023-05-041-0/+1
| |