summaryrefslogtreecommitdiff
path: root/core/variant
AgeCommit message (Collapse)Author
2022-11-02Merge pull request #68118 from aaronfranke/quat-from-eulerRémi Verschelde
Replace Quaternion Euler constructor with `from_euler` method
2022-11-02Merge pull request #64830 from dalexeev/color-hide-internalsRémi Verschelde
Remove internal functions of named colors from the public API
2022-11-02Merge pull request #66361 from dalexeev/remove-int-plus-stringRémi Verschelde
Unexpose confusing `String + int` and `int + String` operations
2022-11-01Support for checking that Projection is(not) nullRafał Mikrut
2022-11-01Replace Quaternion Euler constructor with `from_euler` methodAaron Franke
2022-10-27Merge pull request #66383 from aaronfranke/basis-from-eulerClay John
Clean up Basis from Euler code
2022-10-23Merge pull request #67655 from MewPurPur/remove-dupe-registrationsYuri Rubinsky
2022-10-21Clean up Basis from Euler codeAaron Franke
2022-10-21Merge pull request #67444 from nonunknown/array_pick_randomMax Hilbrunner
Add ability to pick random value from array
2022-10-21Remove internal functions of named colors from the public APIDanil Alexeev
2022-10-20add ability to pick random value from arrayNonunknown
2022-10-20Remove duplicate operator registrationsVolTer
2022-10-17Merge pull request #67118 from Mickeon/⬛Rémi Verschelde
Fix Typed Array of Objects not accepting `null`.
2022-10-11Merge pull request #67224 from Mickeon/jasonRémi Verschelde
Use `JSON::stringify` where possible
2022-10-11Merge pull request #67126 from Mickeon/i-was-very-boredRémi Verschelde
Strip unnecessary break on switches returning early in Variant
2022-10-11Merge pull request #64268 from timothyqiu/is-finiteRémi Verschelde
Add `is_finite` method for checking built-in types
2022-10-11Use `JSON::stringify` where possibleMicky
2022-10-10Strip unnecessary break on switches returning early in VariantMicky
Tweaks comments around the touched-up parts. Also tweaks spacing Also adds some spacing in all cases of Variant::`reference()`. This is a special for consistency, because it ends up making the cases more readable.
2022-10-10Merge pull request #64692 from ↵Rémi Verschelde
touilleMan/no-variant-destructor-for-struct-builtins Remove Transform2/3D,AABB,Basis from Variant destructors given they are POD structs
2022-10-10Merge pull request #66584 from rune-scape/rune-validated-call-obj-bugRémi Verschelde
Fix unset `ObjectID` with validated `get_object()` call
2022-10-09Fix Array.`slice()` and `filter()` forgetting Typed ArrayMicky
2022-10-09Fix Typed Array of Objects not accepting `null`.Micky
2022-10-08Add `is_finite` method for checking built-in typesHaoyu Qiu
2022-10-07Fix more MSVC C4702 (unreachable code) warningsRémi Verschelde
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-05Merge pull request #66898 from aaronfranke/proj-mat-columnsRémi Verschelde
Rename Projection `matrix` to `columns`
2022-10-04Improve dictionary printing to avoid confusion with arraysHugo Locurcio
- Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries.
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke
2022-09-29Merge pull request #66583 from bruvzg/constexprRémi Verschelde
Use `constexpr` in the conditions with template parameters and `sizeof`s to suppress C4127 warnings.
2022-09-29Use `constexpr` in the conditions with template parameters and `sizeof`s to ↵bruvzg
suppress C4127 warnings.
2022-09-28Fix unset `ObjectID` with validated `get_object()` callrune-scape
Fixes unset `ObjectID` in variant when calling a validated builtin method returning an `Object *`.
2022-09-28Change BitField to use 64-bit int.bruvzg
2022-09-28Use 64bit integers in utility methodskobewi
2022-09-27Fix wrong floori() behaviorkobewi
2022-09-24Remove confusing `String + int` and `int + String` operationsDanil Alexeev
2022-09-23Merge pull request #65817 from bruvzg/typed_arrayRémi Verschelde
2022-09-22[GDExtension] Implement support for typed arrays.bruvzg
2022-09-21Callable: add callv methodRicardo Buring
This method can be called from GDExtension.
2022-09-17Remove Transfor2/3D,AABB,Basis,RID from Variant destructors given ↵Emmanuel Leblond
Variant::clear() considers they don't need to be destroyed
2022-09-16Merge pull request #65325 from TokageItLab/refactor-variant-for-animRémi Verschelde
Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
2022-09-14Use variadic template in `vformat()`Micky
Allows `vformat()` to take more than 5 arguments. as well as being a general optimisation that avoids redundant empty Variant checks.
2022-09-15Move some methods to Animation from Variant for refactoringSilc Renew
2022-09-06Merge pull request #64417 from aaronfranke/has-spaceRémi Verschelde
Replace AABB/Rect2/Rect2i has_no_* methods with has_* methods
2022-09-06Rename `range_lerp` to `remap`Micky
2022-09-04Replace Rect2(i) has_no_area with has_areaAaron Franke
2022-09-04Replace AABB has_no_volume with has_volumeAaron Franke
Also replace has_no_surface with has_surface
2022-09-04Fix crash when encoding freed object in ConfigFileHaoyu Qiu
2022-09-02Add `is_zero_approx` methods to `Vector2`, `3`, and `4`Jonathan Nicholl
2022-09-01Merge pull request #63968 from KoBeWi/finding_stuff_in_a_dictionaryRémi Verschelde
2022-08-31Merge pull request #63411 from Calinou/improve-null-object-dictionary-printRémi Verschelde
Improve null and object printing to avoid confusion with arrays