summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/nativescript/nativescript.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allow signal connecting even if script is invalid (only when compiled with ↵Juan Linietsky2018-11-271-0/+4
| | | | tools), fixes #17070
* -Moved EditorDefaultValue to ClassDB, made it coreJuan Linietsky2018-11-081-4/+4
| | | | -Removed one and zero hints for properties, replaced by default value
* Fixes crash when loading *.escn resources with gdnative #20141Maarten Heremans2018-10-221-2/+1
| | | | | | | | | The issue is that ResourceFormatLoaderText is a singleton. It was created in a faulty way in ResourceFormatLoaderNativeScript::load It was created on the stack, which caused the static singleton pointer to be overwritten. This causes then segmentation faults if the singleton is used later on. IMO singleton creation needs to made safer to avoid other similar issues in the future.
* Fix warnings about non-static data member initializers in nativescriptRémi Verschelde2018-10-041-0/+10
| | | | | | | | | | | | | Fixes the following GCC/Clang warnings: ``` modules/gdnative/nativescript/nativescript.h:280:37: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:281:37: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:283:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:285:38: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:287:38: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:290:45: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:291:44: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 ```
* Clearly deprecate sync too in favor of remotesync.Fabio Alessandrelli2018-09-151-4/+6
| | | | | NOTE: This changes the RPC_MODE_* enum values. Games should be re-exported. GDNative rebuilt.
* Rename slave keyword to puppetFabio Alessandrelli2018-09-151-6/+6
| | | | | The slave keyword will still be available as deprecated in 3.1 but will be dropped from future releases.
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-4/+4
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Fix invalid deref in NativeScript script classesWill Nations2018-09-041-4/+8
|
* [NativeScript] implement refcount instance binding funcsThomas Herzog2018-08-301-0/+48
|
* Implemented profiling functions for NativeScriptMarcelo Fernandez2018-08-221-0/+110
|
* Add NativeScript support for script classes.willnationsdev2018-08-151-0/+40
|
* Added system for GDScript warningsGeorge Marques2018-08-101-1/+1
| | | | | | | - Count and panel per script. - Ability to disable warnings per script using special comments. - Ability to disable warnings globally using Project Settings. - Option to treat enabled warnings as errors.
* Fixed nativescript getter and setter logicBastiaan Olij2018-07-271-5/+9
|
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-6/+6
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix possible crash at NativeScript::get_base_scriptMarcelo Fernandez2018-07-251-1/+4
|
* Add editor highlight for type-safe linesGeorge Marques2018-07-201-1/+1
| | | | | The line number is hightlighted to indicate that the line contains only type-safe code.
* Add a new notification to detect crashes on native scriptsMarcelo Fernandez2018-07-021-0/+19
|
* New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli2018-05-291-0/+6
|
* Refactor RPCMode enum and checksFabio Alessandrelli2018-05-291-16/+16
|
* Revert "RPCMode refactor, more sync modes"Max Hilbrunner2018-05-291-22/+16
|
* New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli2018-05-261-0/+6
|
* Refactor RPCMode enum and checksFabio Alessandrelli2018-05-261-16/+16
|
* Fix NativeScript property listsheepandshepherd2018-04-111-4/+3
|
* [NativeScript] added global type tag systemkarroffel2018-04-051-19/+25
|
* [GDNative] fixed issue with library unloading orderkarroffel2018-03-311-13/+25
|
* NativeScript: Fix initialization in wrong scopeRémi Verschelde2018-03-021-1/+1
| | | | Regression from d702d7b335c0c9305e75131770c0ea739b70d813 which broke javascript build.
* Fix various valgrind reported uninitialized variable usesHein-Pieter van Braam2018-02-281-0/+1
|
* add initial NativeScript 1.1 extensionkarroffel2018-02-091-1/+215
| | | | | | | | | | | | | | | 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
* [GDNative] fix NativeScript false negative errorkarroffel2018-01-181-1/+1
|
* [GDNative] fix #15723karroffel2018-01-181-3/+38
|
* [GDNative] fix two crashes with NativeScriptkarroffel2018-01-141-1/+6
|
* [GDNative] fix editor crash with NativeScriptkarroffel2018-01-141-4/+6
|
* [GDNative] fix reloading of non-reloadable librarieskarroffel2018-01-061-2/+7
|
* [GDNative] added reload propertykarroffel2018-01-061-7/+15
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-5/+5
|
* [GDNative] removed anchorsKarroffel2017-11-031-17/+19
|
* [GDNative] use feature tags, added load once optionKarroffel2017-11-031-6/+6
|
* Removes Script::get_node_type()Jerome670002017-10-251-4/+0
| | | | used before GDScript, with squirrel apparently
* Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry2017-10-241-0/+3
| | | | | - 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.
* Merge pull request #11953 from touilleMan/pluginscriptThomas Herzog2017-10-171-2/+2
|\ | | | | [GDnative] add pluginscript \o/
| * [GDnative] add pluginscript \o/Emmanuel Leblond2017-10-171-2/+2
| |
* | [Nativescript] fix crash when loading a library with missing ↵Emmanuel Leblond2017-10-161-6/+12
|/ | | | godot_nativescript_init
* remove error message for optional NativeScript symbolsKarroffel2017-10-151-4/+1
|
* update ARVRInterfaceGDNative to use API structKarroffel2017-10-141-1/+1
|
* [GDNative] removed native_raw_callKarroffel2017-10-141-24/+20
|
* Provide NativeScript properties in definition orderRuslan Mustakov2017-09-051-30/+27
|
* merged gdnative and nativescript moduleKarroffel2017-09-031-0/+1215