summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2019-07-01Merge pull request #28884 from vnen/yield-resume-stackRémi Verschelde
Keep GDScript functions in stack while yielding
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde
Remove unnecessary code and add some error explanations
2019-07-01fix some crashesFurkan Türkal
2019-07-01Remove unnecessary code and add some error explanationsqarmin
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-29Merge pull request #30177 from hbina/use_FALLTHROUGH_macroRémi Verschelde
Applied some of FALLTHROUGH macro usage from #30122
2019-06-29Many fallthrough switch cases now have the FALLTHROUGH macro to tell the ↵hbina085
compiler that this is intended.
2019-06-28Add support for creating editor icons per moduleAndrii Doroshenko (Xrayez)
The functionality is similar to how `doc_classes` are retrieved per module. The build system will search for custom icons path defined per module via `get_icons_path()` method in `config.py` or default icons path. If such paths don't exist, only the editor's own icons will be built. Most module icons were moved from editor/icons to respective modules.
2019-06-28Merge pull request #30134 from Calinou/doc-proofreadRémi Verschelde
Proofread and improve the whole class reference
2019-06-28Fixed regression bug caused in #30095 and actually fix the issue it was ↵unknown
supposed to fix(#26850)
2019-06-27Proofread and improve the whole class referenceHugo Locurcio
- Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Fixed parser treating compound assignment the same as assignment which gave ↵unknown
wrong argument usage count
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-25Extends wrapi/wrapf docsChaosus
2019-06-23Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG
2019-06-19Merge pull request #29866 from ↵Rémi Verschelde
akien-mga/nothing-that-surrounds-us-is-object-all-is-subject GDScript: Improve error on Object to Object invalid argument calls
2019-06-18doc: Improve docs for Resource* classesRémi Verschelde
Also move module-specific classes to their own module's `doc_classes` folder.
2019-06-18Unexpose subclasses of ResourceFormatLoader and -SaverRémi Verschelde
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.
2019-06-18GDScript: Improve error on Object to Object invalid argument callsRémi Verschelde
Fixes #27804.
2019-06-12Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-11Merge pull request #29678 from akien-mga/err-macros-semicolonRémi Verschelde
Fix error macro calls not ending with semicolon
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
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.
2019-06-07Added export hint to 2D and 3D physics and render layers.MrCdK
2019-06-03Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin
2019-06-03Merge pull request #29433 from bojidar-bg/29406-dictionary-constantRémi Verschelde
Properly catch certain errors in Dictionary and Array declarations
2019-06-03Properly catch certain errors in Dictionary declarationsBojidar Marinov
Fixes #29406
2019-06-03Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde
Fix code completion not working with class_name
2019-06-02Fix GDSCript inner classes be freed after compilegeequlim
2019-06-01Merge pull request #27789 from Giacom/move_towardsRémi Verschelde
Added move_toward functions for float, Vector2 and Vector3
2019-05-29Merge pull request #28416 from JellyWX/binary-literalsRémi Verschelde
Support for binary literals in GDScript
2019-05-28Added move_toward functions for float, Vector2 and Vector3Giacom
2019-05-28Merge pull request #27987 from lupoDharkael/classname-duplicateRémi Verschelde
Prevent using multiple class_name in a class
2019-05-26autocomplete for enum valueshilfazer
2019-05-24Fix parse error when extends from subclass of named classesGeequlim
2019-05-21Merge pull request #29041 from hbina/add_constRémi Verschelde
add const to methods that return literals
2019-05-21added a const keyword for a methods that return constant literal...hbina085
2019-05-20Merge pull request #27886 from LeonardMeagher2/obj_to_stringRémi Verschelde
Allow overriding how scripted objects are converted to strings
2019-05-19Fix typos with codespellRémi Verschelde
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 ```
2019-05-14Show function name in debugger stack traceGeorge Marques
Also show script and line when the instance is gone when resuming from yield.
2019-05-14Keep GDScript functions in stack while yieldingGeorge Marques
This prevents GDScript functions from leaving the stack too soon when they are resuming from yield, allowing the ones expecting it to finish to know the caller. Helps debugging cases when you use: `yield(function_which_yields(), "completed")` since now it shows the call that resumed that function.
2019-05-03Allow overriding how scripted objects are converted to stringsLeonard Meagher
solves #26796 - ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts - ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings - IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance - ADD Documentation about `Object.to_string` and `Object._to_string` - Changed `Variant::operator String` to use `obj->to_string()`
2019-05-03Merge pull request #28603 from bojidar-bg/24134-typed-array-shareRémi Verschelde
Fix typed arrays and dictionaries getting their values shared
2019-05-02Fix slight issues with autocompletion and member lists in GDScriptBojidar Marinov
Fixes #27152 Fixes #28591
2019-05-02Fix typed arrays and dictionaries getting their values sharedBojidar Marinov
2019-05-01Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde
Small fixes to static analyzer bugs
2019-04-30Make "decimal" functions more consistentAaron Franke
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
2019-04-30Merge pull request #24437 from mateusfccp/single_quotes_optionRémi Verschelde
Add settings for single-quotes on completion
2019-04-25[Core] Expose approximate equality methods to GDScriptAaron Franke