aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript
Commit message (Collapse)AuthorAgeFilesLines
* SCons: Pass env to modules can_build methodRémi Verschelde2018-05-301-1/+1
| | | | | | This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
* New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli2018-05-294-2/+48
|
* Refactor RPCMode enum and checksFabio Alessandrelli2018-05-296-30/+22
|
* Revert "RPCMode refactor, more sync modes"Max Hilbrunner2018-05-298-70/+32
|
* Merge pull request #19021 from Faless/rpc_sync_fixMax Hilbrunner2018-05-298-32/+70
|\ | | | | RPCMode refactor, more sync modes
| * New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli2018-05-264-2/+48
| |
| * Refactor RPCMode enum and checksFabio Alessandrelli2018-05-266-30/+22
| |
* | Enable singletons to be recognized as constant expressionsGeorge Marques2018-05-281-0/+8
|/ | | | Fix #14681
* Merge pull request #19131 from YeldhamDev/connection_comment_capitalizeMax Hilbrunner2018-05-241-1/+1
|\ | | | | Capitalized comments of methods created by the Connect Signal dialog
| * Capitalized comments of methods created by the Connect Signal dialog.Michael Alexsander Silva Dias2018-05-231-1/+1
| |
* | Fix positive operator in GDScript compilerGeorge Marques2018-05-231-0/+3
|/
* Merge pull request #18405 from flashyincceo/gdscript-constants-helpRémi Verschelde2018-05-171-0/+7
|\ | | | | Fix Ctrl+click on @GDScript constants
| * Fix Ctrl+click on @GDScript constantsPeter Folkins2018-04-241-0/+7
| |
* | Merge pull request #18545 from vnen/editor-autoloadJuan Linietsky2018-05-146-2/+65
|\ \ | | | | | | Enable autoload in editor
| * | Enable autoload in editorGeorge Marques2018-05-016-2/+65
| |/ | | | | | | | | | | - Tool scripts will be executed and can be accessed by plugins. - Other script languages can implement add/remove_named_global_constant to make use of this functionality.
* | Merge pull request #18183 from Paulb23/gdscript_highlighter_inital_changesRémi Verschelde2018-05-104-8/+84
|\ \ | | | | | | GDScript function definition and get_node shortcut syntax highlighting
| * | Added GDScript NodePath highlightingPaulb232018-04-202-1/+14
| | |
| * | Added GDScript function definition highlightingPaulb232018-04-202-1/+11
| | |
| * | GDScript highlighter now remembers previous statePaulb232018-04-202-6/+56
| | |
| * | Exclude GDScriptSyntaxHighlighter from non-tool buildsPaulb232018-04-204-1/+4
| | |
* | | Merge pull request #16106 from poke1024/gdscript-lerpJuan Linietsky2018-05-071-4/+18
|\ \ \ | | | | | | | | GDScript: generalize lerp
| * | | GDScript: generalize lerpBernhard Liebl2018-01-271-4/+18
| | | |
* | | | Add is_instance_valid() method to GDScript, ending more than a decade of pain.Juan Linietsky2018-05-072-1/+18
| | | |
* | | | 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)