summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
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-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
2019-04-25Support for binary literals in GDScript. Added an error that shows if a ↵jude-lafitteIII
point is written in a hex literal. Added highlighting for binary literals in GDScript
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-19doc: Drop unused <demos> tagRémi Verschelde
2019-04-17Don't allow class_name in built-in scriptslupoDharkael
2019-04-16Fix code completion not working with class_namelupoDharkael
2019-04-16Prevent using multiple class_name in a classlupoDharkael
2019-04-15GDScript: add variable shadowing warninglupoDharkael
2019-04-12Merge pull request #27863 from bojidar-bg/27460-constant-class-clashRémi Verschelde
Check subclasses too when checking for name clashes
2019-04-11Merge pull request #27867 from bojidar-bg/27489-as-self-failRémi Verschelde
Fix as operator generating opcode 38 errors
2019-04-10GDScript: Don't allow built-in scripts to use class_nameGeorge Marques
2019-04-10Merge pull request #27170 from ↵Rémi Verschelde
timoschwarzer/allow-whitespaces-in-warning-ignore-comments Allow whitespaces in warning-ignore comments
2019-04-10Check for subclasses when checking for name clashesBojidar Marinov
Fixes #27460
2019-04-10Fix `as` operator generating opcode 38 errorsBojidar Marinov
Closes #27489 Fixup of 466a76ac2c7c6634ed1d78fde4ac011e2e70b710 Additionally, update `GDScriptCompiler` test to use Ref and to include `as` expressions.
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-08Merge pull request #27711 from neikeq/ifdef-clang-tidyRémi Verschelde
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-08Merge pull request #27710 from Calinou/script-templates-typed-gdscriptRémi Verschelde
Add support for type hints in non-default script editor templates
2019-04-08Merge pull request #27231 from Chaosus/smoothstepRémi Verschelde
Added smoothstep built-in function
2019-04-07Added smoothstep built-in functionChaosus