summaryrefslogtreecommitdiff
path: root/modules/gdnative/nativescript/nativescript.cpp
AgeCommit message (Collapse)Author
2018-07-27Fixed nativescript getter and setter logicBastiaan Olij
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-25Fix possible crash at NativeScript::get_base_scriptMarcelo Fernandez
2018-07-20Add editor highlight for type-safe linesGeorge Marques
The line number is hightlighted to indicate that the line contains only type-safe code.
2018-07-02Add a new notification to detect crashes on native scriptsMarcelo Fernandez
2018-05-29New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-05-29Refactor RPCMode enum and checksFabio Alessandrelli
2018-05-29Revert "RPCMode refactor, more sync modes"Max Hilbrunner
2018-05-26New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-05-26Refactor RPCMode enum and checksFabio Alessandrelli
2018-04-11Fix NativeScript property listsheepandshepherd
2018-04-05[NativeScript] added global type tag systemkarroffel
2018-03-31[GDNative] fixed issue with library unloading orderkarroffel
2018-03-02NativeScript: Fix initialization in wrong scopeRémi Verschelde
Regression from d702d7b335c0c9305e75131770c0ea739b70d813 which broke javascript build.
2018-02-28Fix various valgrind reported uninitialized variable usesHein-Pieter van Braam
2018-02-09add initial NativeScript 1.1 extensionkarroffel
This commit adds new functionality to NativeScript, namely: - ability to set and get documentation for classes, methods, signals and properties - ability to set names and type information to method arguments - ability to set and get type tags for nativescripts - ability to register instance binding data management functions - ability to use instance binding data
2018-01-18[GDNative] fix NativeScript false negative errorkarroffel
2018-01-18[GDNative] fix #15723karroffel
2018-01-14[GDNative] fix two crashes with NativeScriptkarroffel
2018-01-14[GDNative] fix editor crash with NativeScriptkarroffel
2018-01-06[GDNative] fix reloading of non-reloadable librarieskarroffel
2018-01-06[GDNative] added reload propertykarroffel
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-11-03[GDNative] removed anchorsKarroffel
2017-11-03[GDNative] use feature tags, added load once optionKarroffel
2017-10-25Removes Script::get_node_type()Jerome67000
used before GDScript, with squirrel apparently
2017-10-24Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it. - ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
2017-10-17Merge pull request #11953 from touilleMan/pluginscriptThomas Herzog
[GDnative] add pluginscript \o/
2017-10-17[GDnative] add pluginscript \o/Emmanuel Leblond
2017-10-16[Nativescript] fix crash when loading a library with missing ↵Emmanuel Leblond
godot_nativescript_init
2017-10-15remove error message for optional NativeScript symbolsKarroffel
2017-10-14update ARVRInterfaceGDNative to use API structKarroffel
2017-10-14[GDNative] removed native_raw_callKarroffel
2017-09-05Provide NativeScript properties in definition orderRuslan Mustakov
2017-09-03merged gdnative and nativescript moduleKarroffel