summaryrefslogtreecommitdiff
path: root/core/variant
AgeCommit message (Collapse)Author
2020-11-18Fix return type on builtin validated callsGeorge Marques
Before it was being set to the base type instead of the actual return type.
2020-11-17doc: Sync classref with Variant utility methodsRémi Verschelde
Copied relevant documentation from the original `@GDScript` built-ins, which will likely be removed in a future commit. Various fixups to `variant_utility.cpp` while working on this.
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-11Refactor variant built-in methods yet again.reduz
* Using C-style function pointers now, InternalMethod is gone. * This ensures much better performance in typed code. * Renamed builtin_funcs to utility_funcs, to avoid naming confusion
2020-11-10Create Variant built-in functions.reduz
-Moved Expression to use this, removed its own. -Eventually GDScript/VisualScript/GDNative need to be moved to this. -Given the JSON functions were hacked-in, removed them and created a new JSONParser class -Made sure these functions appear properly in documentation, since they will be removed from GDScript
2020-11-10Merge pull request #43398 from ↵Rémi Verschelde
KoBeWi/add_an_array_to_another_array_but_with_a_method Add append_array() method to Array class
2020-11-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-09Change how no-arg constructor is handled internally in Variant.reduz
2020-11-09Merge pull request #43419 from reduz/document-operatorsRémi Verschelde
Make sure operators appear in the docs too
2020-11-09Merge pull request #43415 from bruvzg/var_ctr_af32Rémi Verschelde
Fix duplicate variant constructor typo.
2020-11-09Make sure operators appear in the docs tooreduz
Add "operator" and "constructor" qualifiers to make it easier to see in the docs.
2020-11-09Fix duplicate variant constructor typo.bruvzg
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
2020-11-09Refactored variant constructor logicreduz
2020-11-08Add append_array() method to Array classTomasz Chabora
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code