summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2019-05-29Merge pull request #28416 from JellyWX/binary-literalsRémi Verschelde
Support for binary literals in GDScript
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-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
2019-04-05Replace a few #if/#elif with #ifdef and "#elif defined"Ignacio Etcheverry
2019-04-05Add support for type hints in non-default script editor templatesHugo Locurcio
This also refactors template processing to avoid repetition. This closes #27074.
2019-04-05Fix -Wimplicit-fallthrough warnings from GCC 8Rémi Verschelde
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135.
2019-04-04Small fixes to static analyzer bugsqarmin
2019-04-01Merge pull request #27485 from Faless/io/encode_decode_safety_prRémi Verschelde
Safer encode/decode variant.
2019-04-01Add object encoding param to serialization methodsFabio Alessandrelli
Network peers get_var/put_var File get_var/store_var GDScript/Mono/VisualScript bytes2var/var2bytes Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding. Break ABI compatibaility (API compatibility for GDNative).
2019-04-01doc: Bump version to 3.2Rémi Verschelde
2019-04-01Merge pull request #26097 from ↵Rémi Verschelde
danielspaniol/25955-wrong-unreachable-warning-after-returning-from-matchs-wildcard-pattern Fix: Wrong unreachable warning after returning from match's wildcard pattern #25955
2019-03-27Merge pull request #27128 from bojidar-bg/27111-gdscript-confounding-classRémi Verschelde
Fix GDScriptCompiler bugging out with identically-named inner class
2019-03-17Allow whitespaces in warning-ignore commentsTimo Schwarzer
2019-03-16Fix GDScriptCompiler bugging out with identically-named inner classBojidar Marinov
Fixes #27111
2019-03-14Fix duplicated lines in GDScript bytecodeBojidar Marinov
Fixes #26789
2019-03-08Fix typo in GDScript narrowing conversion warning messageHugo Locurcio
This closes #26790.
2019-03-05Fix enums coming from other classes without preloadBojidar Marinov
Fix #19704, fix #26001
2019-03-04Close file handles after use of new get_as_utf8_strings, fixes #26578Juan Linietsky
2019-03-04Revert "Forbid implicit type conversion in GDScript"Rémi Verschelde
2019-03-04Merge pull request #26562 from vnen/gdscript-no-implicit-castRémi Verschelde
Forbid implicit type conversion in GDScript