summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2018-05-02Merge pull request #18553 from ↵Rémi Verschelde
bzztbomb/fix/stack_underflow_when_debuggin_in_release Fix a crash when trying to run Godot debugger on a release build.
2018-05-02Merge pull request #18452 from flashyincceo/enum-no-classRémi Verschelde
Fix enums without class name not opening docs page
2018-05-02Merge pull request #18531 from KidRigger/issue5972Rémi Verschelde
Adds keywords to autocomplete predictions.
2018-05-01Fix a crash when trying to run Godot debugger on a release build.Brian Richardson
The GDScriptLanguage::enter_function is wrapped in #ifdef DEBUG but the exit_function is not, resulting in a stack underflow error.
2018-05-01Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde
Fix Coverity reports of uninitialized scalar variable
2018-05-01Fix enums without class name not opening docs pagePeter Folkins
2018-05-01Adds keywords to autocomplete predictions.Anish
Adds keywords to the autocomplete prediction in GDScript so they are not replaced by irrelevant predictions. Fixes: #5972
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-19Fix Coverity reports of uninitialized scalar variableRémi Verschelde
Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-09Merge pull request #18040 from Paulb23/color_region_cacheRémi Verschelde
Fixed colour regions and added local colour region cache
2018-04-08Merge pull request #16556 from aragar/masterJuan Linietsky
For-in loop variable added to autocompletion
2018-04-07Fixed color regions and added local color region cachePaulb23
2018-04-04Renamed GDSyntaxHighlighter to GDScriptSyntaxHighlighterPaulb23
2018-04-04Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighterRémi Verschelde
Abstracted the syntax highlighter from text edit.
2018-04-03Ctrl+Clicking a enum now scrolls down to it in the docs.Felix Yang
2018-04-02Abstracted the syntax highlighter from text editPaulb23
2018-03-15Merge pull request #17291 from Warlaan/masterHein-Pieter van Braam
completed-signal for coroutines with more than one yield
2018-03-15Fix script template on `_ready` behaviorPoommetee Ketson
2018-03-14completed-signal is emitted by all GDScriptFunctionStates of a coroutine ↵Lars Kokemohr
now, allowing to yield for completion of a function with more than one yield inside.
2018-03-04fix enum from preloaded script in exportx1212
without triggering unnecessary reloads and parsing.
2018-02-27doc: Remove status from hardcoded version stringRémi Verschelde
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-24Removed whitespaces around arguments of functions.anakimluke
Functions automatically generated by conneting signals via GUI put whitespaces around the arguments of the generated function. This is inconsistent with the style guide. This commit fixes that. (cherry picked from commit 370f84f41cf3ce493c2de687455880d9e1e04be6)
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-19Merge pull request #15852 from poke1024/color_hsvRémi Verschelde
Add Color.from_hsv()
2018-02-19Merge pull request #15933 from x1212/fix_preload_in_exportsRémi Verschelde
fix spurious error messages during autocomplete and validate
2018-02-19Merge pull request #16173 from vnen/gdscript-argumentsRémi Verschelde
Add argument count check for some GDScript functions
2018-02-19doc: Update version string in headerRémi Verschelde
2018-02-14fix spurious error messages during autocomplete and validatex1212
_parse() caused resets on members like validating and for_completion by calling clear().
2018-02-14Merge pull request #16176 from vnen/gdscript-default-argsRémi Verschelde
Show default values in docs for GDScript built-in functions
2018-02-11For-in loop variable added to autocompletionRado'sPC\aRaGaR
Fix for #16494
2018-02-02GDScriptParser: Remove debug prints.Andreas Haas
2018-01-30Show default values in docs for GDScript built-in functionsGeorge Marques
2018-01-30Add argument count check for some GDScript functionsGeorge Marques
- Print functions have no check. - Also remove extra apostrophe from the error report.
2018-01-25doc: Fix references to online tutorials after godotengine/godot-docs#1015Rémi Verschelde
2018-01-25doc: Sync with current sourceRémi Verschelde
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
2018-01-21GDScript: always call ResourceLoader::load() in non-completion modeBernhard Liebl
2018-01-20Allow shadowing class members with local variables in GDScript, closes #15896Juan Linietsky
2018-01-18Merge pull request #15849 from poke1024/preload-completionRémi Verschelde
GDScript: fix autocompletion for preload() (issue 15766)
2018-01-18Suppress errors on autocompletion for preload()Bernhard Liebl
2018-01-18Add Color.from_hsv()Bernhard Liebl
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18GDScript: fix autocompletion for preload() (issue 15766)Bernhard Liebl
2018-01-17doc: Replace some more "val" with "value" + syncRémi Verschelde
2018-01-16Fixes for parameter names of builtin functions in visual scripts/coreChaosus
2018-01-15Filled tutorial field in most relevent classes.Juan Linietsky
Added tutorial display in doc.
2018-01-13doc: Update version string in XMLRémi Verschelde
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-09Mono: Implement stack info for errors and exceptionsIgnacio Etcheverry
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-03Merge pull request #15089 from poke1024/funcref-warnRémi Verschelde
Warn about funcref creation