Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-28 | Merge pull request #44586 from madmiraal/rename-stepify | Rémi Verschelde | |
Rename Math::stepify to snapped | |||
2020-12-28 | Merge pull request #44149 from madmiraal/rename-tangent-orthogonal | Rémi Verschelde | |
Rename Vector2.tangent() to Vector2.orthogonal() | |||
2020-12-28 | Rename Math::stepify to snapped | Marcel Admiraal | |
2020-12-28 | Rename Rect2 and Rect2i grow_margin() to grow_side() | Marcel Admiraal | |
2020-12-28 | Rename empty() to is_empty() | Marcel Admiraal | |
2020-12-27 | Add helper count function to Variant | George Marques | |
To get counts of items before getting the list, which is useful for GDNative so users can pre-allocate the buffer with the correct size without having to get the list twice. | |||
2020-12-23 | Rename Control margin to offset | Marcel Admiraal | |
2020-12-21 | Merge pull request #44472 from winterpixelgames/PR-duplicate-packedarrays | Rémi Verschelde | |
Add support for duplicate() for Packed*Array, and they are pass by ref in godot 4.0 | |||
2020-12-19 | Rename Rect2 and Rect2i clip() to intersection() | Marcel Admiraal | |
2020-12-17 | packed*arrays are pass by ref now. support duplicate and update documentation | Jordan Schidlowsky | |
2020-12-17 | Fix crash parsing a serialized Reference | Pedro J. Estébanez | |
2020-12-15 | Merge pull request #44406 from vnen/variant-ptr-construct | Rémi Verschelde | |
Add PtrConstruct template to use in Variant constructors | |||
2020-12-15 | Change template order in method_ptrcall.h | George Marques | |
To be consistent with the enum in Variant so missing types can be more easily spotted. | |||
2020-12-15 | Add PtrConstruct template to use in Variant constructors | George Marques | |
Since the PtrToArg::encode requires the value to be constructed previously. With PtrConstruct this is not required. | |||
2020-12-10 | Fix object check on Variant key checker | George Marques | |
2020-12-10 | Use pointer parameters in Variant function pointers | George Marques | |
Instead of references. This is needed because those function pointers are used in GDNative which needs to work with plain C, which doesn't support passing parameters by reference. | |||
2020-12-07 | Improve argument names for core types | Aaron Franke | |
2020-12-06 | Rename Vector2.tangent() to Vector2.orthogonal() | Marcel Admiraal | |
2020-12-03 | Fix subtracting colors and quats | Tomasz Chabora | |
2020-11-30 | Fix VariantInternal initialization and setting of object | George Marques | |
- Initialize Object pointer to nullptr so it's not used by mistake. - When setting an Object check if it's a reference so refcounting works as intended. | |||
2020-11-26 | [Complex Text Layouts] Implement TextServer interface. Implement Fallback ↵ | bruvzg | |
TextServer. | |||
2020-11-25 | Merge pull request #43864 from vnen/fix-print-utilities | Rémi Verschelde | |
Fix prints and printt functions printing as errors | |||
2020-11-25 | Fix prints and printt functions printing as errors | George Marques | |
2020-11-25 | Core: Always enable ptrcall, remove PTRCALL_ENABLED define | Rémi Verschelde | |
ptrcall is now also used to optimize calls in GDScript, on top of the existing use by the GDNative and Mono modules. It no longer makes sense to make it optional. | |||
2020-11-23 | Initialize class/struct variables with default values in core/ and drivers/ | Rafał Mikrut | |
2020-11-23 | Merge pull request #43725 from vnen/gdscript-typed-vm-2 | Rémi Verschelde | |
GDScript: Typed VM Take 2 | |||
2020-11-21 | Add extra functions to VariantInternal | George Marques | |
- Allow getting an opaque pointer, no matter the type (for ptrcall). - Allow setting object pointer and id directly. - Allow initializing the data given a type, to allow properly setting return types on ptrcalls. | |||
2020-11-20 | Variant: Merge get() and validated_get() | George Marques | |
Since they do pretty much the same thing. The validated_get() was renamed to get() since that is more performant. | |||
2020-11-20 | Fix variant getters not setting return type | George Marques | |
The validated getters were only setting the value without changing the type, leading to wrong results. This uses the same path used for methods to the same purpose. | |||
2020-11-18 | Fix return type on builtin validated calls | George Marques | |
Before it was being set to the base type instead of the actual return type. | |||
2020-11-17 | doc: Sync classref with Variant utility methods | Ré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-16 | Remove empty lines around braces with the formatting script | Aaron Franke | |
2020-11-11 | Refactor 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-10 | Create 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-10 | Merge 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-09 | Variant: Sync docs with new constructors, fixups after #43403 | Rémi Verschelde | |
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors. | |||
2020-11-09 | Change how no-arg constructor is handled internally in Variant. | reduz | |
2020-11-09 | Merge pull request #43419 from reduz/document-operators | Rémi Verschelde | |
Make sure operators appear in the docs too | |||
2020-11-09 | Merge pull request #43415 from bruvzg/var_ctr_af32 | Rémi Verschelde | |
Fix duplicate variant constructor typo. | |||
2020-11-09 | Make sure operators appear in the docs too | reduz | |
Add "operator" and "constructor" qualifiers to make it easier to see in the docs. | |||
2020-11-09 | Fix duplicate variant constructor typo. | bruvzg | |
2020-11-09 | Variant: Rename Type::_RID to Type::RID | Ré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-09 | Refactored variant constructor logic | reduz | |
2020-11-08 | Add append_array() method to Array class | Tomasz Chabora | |
2020-11-07 | Reorganized core/ directory, it was too fatty already | reduz | |
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code |