summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/pluginscript
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde2019-09-251-3/+1
|\ | | | | Added some obvious errors explanations
| * Added some obvious errors explanationsqarmin2019-09-251-3/+1
| |
* | Fix misc. source comment typosluz.paz2019-09-191-2/+2
|/ | | Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
* Make VarArg methods return types show up as Variant in API jsontoasteater2019-08-261-1/+1
| | | | | | | | | | | | VarArg methods have the return type Object in the API json for GDNative. This can cause undefined behavior in some language bindings due to lack of documentation on VarArg methods' behavior. This changes the MethodInfo of: - CSharpScript::_new - GDScript::_new - PluginScript::_new
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner2019-08-091-15/+10
| | | | "modules/gdnative", "modules/gdscript" directories.
* Remove added pluginscript resource format loaders and savers on cleanupIvan Hilaire2019-07-191-0/+2
| | | | | Properly release added resource loader and save references. Otherwise PluginScript API may cause "ObjectDB Instances still exist!" warnings and segmentation faults on exit.
* Parse more informations for code completionGeequlim2019-07-042-3/+4
|
* Remove bogus nulls from generated default valuesBojidar Marinov2019-06-291-4/+12
| | | | Also, fix crash in PluginScript destructor.
* Fixed cases of unsupported pointers being used to construct variantsAndrettin2019-06-292-2/+2
|
* Unexpose subclasses of ResourceFormatLoader and -SaverRémi Verschelde2019-06-181-4/+0
| | | | | | | | | | | | | | ResourceFormatLoader and ResourceFormatSaver are meant to be overridden to add support for different formats in ResourceLoader and ResourceSaver. Those should be exposed as they can be overridden in plugins. On the other hand, all predefined subclasses of those two base classes are only meant to register support for new file and resource types, but should not and cannot be used directly from script, so they should not be exposed. Also unexposed ResourceImporterOGGVorbis (and thus its base class ResourceImporter) which are editor-only.
* Fix error macro calls not ending with semicolonRémi Verschelde2019-06-111-6/+6
| | | | | | | It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
* Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde2019-06-032-3/+3
|\ | | | | Fix code completion not working with class_name
| * Fix code completion not working with class_namelupoDharkael2019-04-162-3/+3
| |
* | Fix typos with codespellRémi Verschelde2019-05-191-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* Replace a few #if/#elif with #ifdef and "#elif defined"Ignacio Etcheverry2019-04-051-1/+1
|
* Make direct casting among Error and godot_error enums (#23015).marxin2019-02-181-2/+1
|
* Update copyright statements to 2019Rémi Verschelde2019-01-0110-20/+20
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #23615 from buresu/pluginscript-newRémi Verschelde2018-12-182-13/+78
|\ | | | | PluginScript: Add support for the new() method
| * PluginScript: Add support for the new() methodNaoto Kondo2018-11-102-13/+78
| |
* | Added basic support for custom resource savers and loadersMarc Gilleron2018-12-153-8/+12
| |
* | Allow signal connecting even if script is invalid (only when compiled with ↵Juan Linietsky2018-11-271-0/+1
|/ | | | tools), fixes #17070
* SCons: Build thirdparty code in own env, disable warningsRémi Verschelde2018-09-281-5/+2
| | | | | Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-123-7/+7
| | | | | | 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.
* Added system for GDScript warningsGeorge Marques2018-08-102-2/+2
| | | | | | | - 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.
* Add editor highlight for type-safe linesGeorge Marques2018-07-202-2/+2
| | | | | The line number is hightlighted to indicate that the line contains only type-safe code.
* [Pluginscript] Fix not working exports in editorEmmanuel Leblond2018-06-151-19/+4
|
* Refactor RPCMode enum and checksFabio Alessandrelli2018-05-294-20/+20
|
* Revert "RPCMode refactor, more sync modes"Max Hilbrunner2018-05-294-20/+20
|
* Refactor RPCMode enum and checksFabio Alessandrelli2018-05-264-20/+20
|
* Correct profiling_frame naming in pluginscriptEmmanuel Leblond2018-04-071-1/+1
|
* Fix Pluginscript add_global_constant mandatory value checkEmmanuel Leblond2018-04-061-1/+1
|
* Fix inconsistencies and typos in argument namesPaolo Perkovic2018-02-011-1/+1
|
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-1/+1
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* Improve inheritance system in gdnative pluginscriptEmmanuel Leblond2018-01-164-28/+29
|
* Fix warning when editor resource preview try to read pluginscript resourceEmmanuel Leblond2018-01-091-1/+5
|
* Fix crash in pluginscript complete_codeEmmanuel Leblond2018-01-091-1/+1
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-0510-10/+12
| | | | | | 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-0110-20/+20
| | | | Happy new year to the wonderful Godot community!
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-072-4/+7
|
* Removes Script::get_node_type()Jerome670002017-10-252-7/+0
| | | | used before GDScript, with squirrel apparently
* Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry2017-10-242-0/+5
| | | | | - 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.
* [GDnative] remove useless (and illegal !) STL includeEmmanuel Leblond2017-10-202-2/+0
|
* [GDnative] add pluginscript \o/Emmanuel Leblond2017-10-1711-0/+1751