aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #18406 from YeldhamDev/script_templates_periodMax Hilbrunner2018-05-041-1/+1
|\ | | | | Changed periods in the script templates
| * Changed periods in the script templates.Michael Alexsander Silva Dias2018-05-021-1/+1
| |
* | Merge pull request #16418 from bojidar-bg/15961-gdscript-array-exportRémi Verschelde2018-05-031-30/+28
|\ \ | | | | | | Allow exporting arrays of resources in GDScript
| * | Allow exporting arrays of resources in GDScriptBojidar Marinov2018-02-051-30/+28
| | | | | | | | | | | | Fixes #15961
* | | Merge pull request #18553 from ↵Rémi Verschelde2018-05-021-1/+1
|\ \ \ | | | | | | | | | | | | | | | | bzztbomb/fix/stack_underflow_when_debuggin_in_release Fix a crash when trying to run Godot debugger on a release build.
| * | | Fix a crash when trying to run Godot debugger on a release build.Brian Richardson2018-05-011-1/+1
| | | | | | | | | | | | | | | | The GDScriptLanguage::enter_function is wrapped in #ifdef DEBUG but the exit_function is not, resulting in a stack underflow error.
* | | | Merge pull request #18452 from flashyincceo/enum-no-classRémi Verschelde2018-05-021-0/+12
|\ \ \ \ | | | | | | | | | | Fix enums without class name not opening docs page
| * | | | Fix enums without class name not opening docs pagePeter Folkins2018-05-011-0/+12
| | |_|/ | |/| |
* | | | Merge pull request #18531 from KidRigger/issue5972Rémi Verschelde2018-05-021-0/+7
|\ \ \ \ | |_|/ / |/| | | Adds keywords to autocomplete predictions.
| * | | Adds keywords to autocomplete predictions.Anish2018-05-011-0/+7
| |/ / | | | | | | | | | | | | | | | | | | Adds keywords to the autocomplete prediction in GDScript so they are not replaced by irrelevant predictions. Fixes: #5972
* | | Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde2018-05-011-2/+3
|\ \ \ | |/ / |/| | Fix Coverity reports of uninitialized scalar variable
| * | Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-191-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-222-7/+7
|/ /
* | Merge pull request #18040 from Paulb23/color_region_cacheRémi Verschelde2018-04-091-17/+1
|\ \ | | | | | | Fixed colour regions and added local colour region cache
| * | Fixed color regions and added local color region cachePaulb232018-04-071-17/+1
| | |
* | | Merge pull request #16556 from aragar/masterJuan Linietsky2018-04-081-3/+13
|\ \ \ | |/ / |/| | For-in loop variable added to autocompletion
| * | For-in loop variable added to autocompletionRado'sPC\aRaGaR2018-02-111-3/+13
| |/ | | | | | | Fix for #16494
* | Renamed GDSyntaxHighlighter to GDScriptSyntaxHighlighterPaulb232018-04-043-8/+8
| |
* | Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighterRémi Verschelde2018-04-043-0/+336
|\ \ | | | | | | Abstracted the syntax highlighter from text edit.
| * | Abstracted the syntax highlighter from text editPaulb232018-04-023-0/+336
| | |
* | | Ctrl+Clicking a enum now scrolls down to it in the docs.Felix Yang2018-04-031-1/+26
|/ /
* | Merge pull request #17291 from Warlaan/masterHein-Pieter van Braam2018-03-152-4/+17
|\ \ | | | | | | completed-signal for coroutines with more than one yield
| * | completed-signal is emitted by all GDScriptFunctionStates of a coroutine ↵Lars Kokemohr2018-03-142-4/+17
| | | | | | | | | | | | now, allowing to yield for completion of a function with more than one yield inside.
* | | Fix script template on `_ready` behaviorPoommetee Ketson2018-03-151-1/+1
| | |
* | | fix enum from preloaded script in exportx12122018-03-041-4/+7
|/ / | | | | | | without triggering unnecessary reloads and parsing.
* | doc: Remove status from hardcoded version stringRémi Verschelde2018-02-273-3/+3
| | | | | | | | It has no practical use case and just generates noise for each alpha, beta, etc.
* | Removed whitespaces around arguments of functions.anakimluke2018-02-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | 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)
* | Fix typos with codespellluz.paz2018-02-212-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* | Merge pull request #15852 from poke1024/color_hsvRémi Verschelde2018-02-191-7/+36
|\ \ | | | | | | Add Color.from_hsv()
| * | Add Color.from_hsv()Bernhard Liebl2018-01-181-7/+36
| | |
* | | Merge pull request #15933 from x1212/fix_preload_in_exportsRémi Verschelde2018-02-191-25/+4
|\ \ \ | | | | | | | | fix spurious error messages during autocomplete and validate
| * | | fix spurious error messages during autocomplete and validatex12122018-02-141-25/+4
| | | | | | | | | | | | | | | | | | | | _parse() caused resets on members like validating and for_completion by calling clear().
* | | | Merge pull request #16173 from vnen/gdscript-argumentsRémi Verschelde2018-02-192-2/+12
|\ \ \ \ | | | | | | | | | | Add argument count check for some GDScript functions
| * | | | Add argument count check for some GDScript functionsGeorge Marques2018-01-302-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | - Print functions have no check. - Also remove extra apostrophe from the error report.
* | | | | doc: Update version string in headerRémi Verschelde2018-02-193-3/+3
| | | | |
* | | | | Merge pull request #16176 from vnen/gdscript-default-argsRémi Verschelde2018-02-142-2/+4
|\ \ \ \ \ | |_|_|_|/ |/| | | | Show default values in docs for GDScript built-in functions
| * | | | Show default values in docs for GDScript built-in functionsGeorge Marques2018-01-302-2/+4
| |/ / /
* / / / GDScriptParser: Remove debug prints.Andreas Haas2018-02-021-2/+0
|/ / /
* | | doc: Fix references to online tutorials after godotengine/godot-docs#1015Rémi Verschelde2018-01-251-1/+1
| | |
* | | doc: Sync with current sourceRémi Verschelde2018-01-253-3/+3
|/ / | | | | | | | | | | 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).
* | GDScript: always call ResourceLoader::load() in non-completion modeBernhard Liebl2018-01-211-1/+1
| |
* | Allow shadowing class members with local variables in GDScript, closes #15896Juan Linietsky2018-01-201-14/+24
| |
* | Merge pull request #15849 from poke1024/preload-completionRémi Verschelde2018-01-181-1/+3
|\ \ | | | | | | GDScript: fix autocompletion for preload() (issue 15766)
| * | GDScript: fix autocompletion for preload() (issue 15766)Bernhard Liebl2018-01-181-1/+3
| |/
* | Suppress errors on autocompletion for preload()Bernhard Liebl2018-01-181-1/+1
| |
* | Fix typos in code and docs with codespellRémi Verschelde2018-01-182-8/+8
|/ | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* doc: Replace some more "val" with "value" + syncRémi Verschelde2018-01-171-1/+1
|
* Fixes for parameter names of builtin functions in visual scripts/coreChaosus2018-01-161-3/+3
|
* Filled tutorial field in most relevent classes.Juan Linietsky2018-01-151-0/+1
| | | | Added tutorial display in doc.
* doc: Update version string in XMLRémi Verschelde2018-01-133-3/+3
|