summaryrefslogtreecommitdiffstats
path: root/src/core/Variant.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace bindgins to work with extensionsGeorge Marques2021-09-271-381/+0
|
* Fixup style after #563Rémi Verschelde2021-09-271-1/+0
|
* Merge pull request #563 from LinwoodCloud/masterRémi Verschelde2021-09-271-1/+0
|\
| * Stop including iostream in Variant.hpp (to produce smaller binaries)kb10002021-05-231-1/+0
| |
* | Add license headers to all source and header filesHugo Locurcio2021-08-021-0/+30
|/ | | | | | This is consistent with the core Godot source code, and ensures the license isn't detached from its original code when individual files are distributed.
* Fix container and string leaksMarc Gilleron2021-01-071-31/+22
| | | | | | | Some functions return a new instance of such containers, but instead we made a copy of them, without taking ownership of the original created by the function. Now we use a specific constructor taking ownership on the godot_* struct.
* Add C conversion constructors to fix leak of default-constructed empty arrayssheepandshepherd2020-01-311-4/+2
|
* Fix leaks caused by implicitly called copy constructorssheepandshepherd2019-12-041-22/+33
|
* Implementing clang-format and applying it to all classesBastiaan Olij2018-11-241-218/+131
|
* Fix NULL pointer dereferencing on uninstantiated Ref<T>() conversion to Variantbruvzg2018-11-221-1/+4
|
* Nativescript 1.1karroffel2018-11-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implemented instance binding data usage This commit changes the way C++ wrapper classes work. Previously, wrapper classes were merely wrapper *interfaces*. They used the `this` pointer to store the actual foreign Godot Object. With the NativeScript 1.1 extension it is now possible to have low-overhead language binding data attached to Objects. The C++ bindings use that feature to implement *proper* wrappers and enable regular C++ inheritance usage that way. Some things might still be buggy and untested, but the C++ SimpleDemo works with those changes. new and free change, custom free will crash engine, be wary fix exporting of non-object types fix free() crash with custom resources added type tags and safe object casting fix global type registration order fix cast_to changed build system to be more self contained updated .gitignore use typeid() for type tags now fix indentation in bindings generator remove accidentally added files fix gitignore Fixed up registering tool and updated godot_headers Fix crash when calling String::split/split_floats Was casting to the wrong object type. Also adds parse_ints function to String with the same logic Better warning/error macros Change gitignore so we get our gen folders New documentation based on nativescript 1.1 Fixed GODOT_SUBCLASS macro Preventing crash when function returned null ptr Adds needed include <typeinfo> Solves this issue #168 due to not having the include of typeinfo Fix compile error of 'WARN_PRINT' and 'ERR_PRINT'. cannot pass non-trivial object of type 'godot::String' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs] update vector3::distance_to Remove godot_api.json as its now in the godot_headers submodule (api.json)
* Update bindings to use new Api extensions and rename Rect3->AABBBastiaanOlij2017-11-231-5/+5
|
* Implemented using api structBastiaan Olij2017-10-231-79/+79
|
* updated bindingsRamesh Ravone2017-10-031-6/+4
|
* updated to use the new NativeScript and GDNative interfaceKarroffel2017-07-241-1/+1
|
* updated core to new GDNative interfaceKarroffel2017-06-181-2/+2
|
* removed InputEvent and ImageKarroffel2017-05-231-20/+0
|
* made script "inheritance" less OOPKarroffel2017-05-131-1/+1
|
* rewrote binding generator in pythonKarroffel2017-05-121-0/+459