summaryrefslogtreecommitdiff
path: root/core/variant
AgeCommit message (Collapse)Author
2022-11-28Don't break parsing on missing resourceskobewi
2022-11-25Remove `Array.find_last()`Micky
2022-11-24Merge pull request #68386 from MewPurPur/snappedi-snappedfRémi Verschelde
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
2022-11-24Refactor Curve3D::_bake() methodYaohua Xiong
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. Other changes are: 1. Add an bezier_derivative() method for Vector3, Vector2, and Math; 2. Add an tesselate_even_length() method to Curve3D, which tesselate bezier curve to even length segments adaptively; 3. Cache the tangent vectors in baked_tangent_vector_cache;
2022-11-23Merge pull request #67726 from HenryClones/integer-lerping-errorsRémi Verschelde
Add case for Variant::INT in lerp variant switch
2022-11-22Add case for Variant::INT in lerp variant switchXpertice
2022-11-19Implement snappedi, snappedf, and Vector[2/3/4]i.snappedVolTer
2022-11-15Merge pull request #62814 from KoBeWi/strintRémi Verschelde
Restore numeric from String constructors
2022-11-14Merge pull request #68657 from Sauermann/fix-redundant-initializationRémi Verschelde
Remove redundant non-trivial Variant types initializations
2022-11-14Fix periods in editor strings and messagesHugo Locurcio
- Ensure all strings with ellipsis end with 3 periods instead of 2. - Fix extraneous period in "Error calling from signal '...' to callable" messages.
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-06Merge pull request #67730 from KoBeWi/late_to_the_callRémi Verschelde
Add call_deferred() method to Callable
2022-11-04Add call_deferred() method to Callablekobewi
2022-11-04Add support for empty delimiter in String.splitkobewi
2022-11-03Merge pull request #68192 from aaronfranke/unify-node3d-eulerRémi Verschelde
Unify Node3D RotationOrder with global EulerOrder
2022-11-02Allow getting Quaternion rotation in different Euler ordersAaron Franke
2022-11-02Unify Node3D RotationOrder with global EulerOrderAaron Franke
2022-11-02Move EulerOrder enum to math_defs.h and global scopeAaron Franke
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