summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2017-07-26Fix $a/b being parsed as divisionBojidar Marinov
2017-07-25Merge pull request #9731 from Xrayez/gdscript-completionRémi Verschelde
Update GDScript completion names for Pool*Arrays
2017-07-25fix a regression (GDScript) from e00630bKarroffel
This removes `not` from the variable safe list of keywords. Before that this was a valid expression: self.!(some_arg) The other fix is just a forgotten boolean negation.
2017-07-25Update GDScript completion names for Pool*ArraysAndrii Doroshenko (Xrayez)
Notice: GDScript tokenizer used the old PoolFloatArray name. Renamed PoolFloatArray to PoolRealArray. Moved "project_settings.h" down one line to comply with the clang-format rules. Fixes #9638 Closed pull request #9714 because I messed up with commits, sorry!
2017-07-25Merge pull request #8217 from bojidar-bg/gdscript-fix-keyword-callRémi Verschelde
Make GDScript allow some keywords as identifiers
2017-07-23Make GDScript allow some keywords as identifiersBojidar Marinov
Fixes #8085 Added some comments around the use of is_token_literal, as discussed.
2017-07-22Clang-formatting *.cpp and *.h (some files excluded)Poommetee Ketson
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)
2017-07-19Add object type hint for docsPoommetee Ketson
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-11Merge pull request #8573 from neikeq/gdfs-completedRémi Verschelde
Adds "completed" signal to GDFunctionState
2017-06-27Better user expirence with external text editors.geequlim
Implements open_in_external_editor for subclasses of ScriptLanguage. Add option 'Debug with external editor' to debug menu to control the behavoir of script opened by editor.
2017-06-24Merge pull request #8783 from bojidar-bg/fix-range-loop-typeRémi Verschelde
Fix for..in range() resulting in floats instead of ints
2017-06-23Remove methods from code completion which are already exposed by properties, ↵Juan Linietsky
makes completion cleaner and more close to the documentation.
2017-06-23GdScript: Add signal autocompletion to emit_signal functionMariano Suligoy
2017-06-23Adds completed signal to GDFunctionStateIgnacio Etcheverry
2017-06-22Reimplement for..in range() so that it always results in intsBojidar Marinov
Fixes #8278, fixup of bfef8de1bc4f7a7b9617a7b181881129033a0b0e
2017-06-13Add ability to use custom script templates.Andreas Haas
Templates will be loaded from .godot/script_templates For now they're disabled for GDNative. Ideas for further improvements: - Add a "Save as Template" option to the script editor, as it can normally only save to res:// - Support more placeholders / custom placeholders
2017-05-27GDScript: Use "is" keyword for type checking.Andreas Haas
Replaces the `extends` keyword with `is` in the context of testing for type compatibility. `extends` is still used for declaring class inheritance. Example: ```gdscript extends Node2D func _input(ev): if ev is InputEventKey: print("yay, key event") ```
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-18Merge pull request #8798 from RandomShaper/gdfs-ext-checkRémi Verschelde
Add extended check option to GDFunctionState::is_valid()
2017-05-17Add extended check option to GDFunctionState::is_valid()Pedro J. Estébanez
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-05-08Fix #8674, and rename a few things for clarityBojidar Marinov
2017-04-26Changed indent type settingsPaulb23
2017-04-25Honoring the Indent setting for gdscriptRamesh Ravone
2017-04-24fixed a bug where saving a GDScript file crashed the editorKarroffel
I changed the loop in #8502, turns out it fixed the error I was facing but introduced a new one. This fixes both
2017-04-24Merge pull request #8444 from magyar123/pr-complete-pathsRémi Verschelde
Script editor now automatically completes file paths in GDScript
2017-04-24Merge pull request #8420 from magyar123/pr-script-files-as-baseRémi Verschelde
Added the ability to select files as base when creating scripts
2017-04-24re-added MultiScriptKarroffel
The very first Godot version (when it was open sourced) had "MultiScript" which lets you use multiple scripts on one object. With the addition of mulitple new scripting languages (VisualScript, soon C# and GDNative) it can be of use to combine scripts rather than delegating (with huge maintainance cost) or creating child nodes which could impact performance. I used the code from 0b806ee as the base and made it work with the current master.
2017-04-18Added autocomplete for file paths in the script editormbalint12
2017-04-18Added support for space indentationPaulb23
2017-04-15Added the ability to select files as base when creating scriptsmbalint12
2017-04-08Fixup #8123, seems like I forgot a few thingsBojidar Marinov
Should close #8315 Please test, I'm still unsure I did it correctly...
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-05Fix typo in Parser Error messagecurtisxk38
2017-04-01Add '$' to token namesSaggi Mizrahi
It was missing from this array and would cause godot to crash or report bad errors. Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
2017-03-24Merge pull request #8123 from bojidar-bg/gdscript-inline-block-indentRémi Verschelde
Make inline blocks in GDScript more (or less) pythonic
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-23Make inline blocks in GDScript more pythonicBojidar Marinov
Fixes #8001
2017-03-21Merge pull request #8095 from RandomShaper/fix-yield-crashRémi Verschelde
Fix random crashes when using yield()
2017-03-21Fix random crashes when using yield()Pedro J. Estébanez
2017-03-17Fixed typo in gdscript autocompletion.mbalint12
There was a missing '!' sign, but autocompletion shows parent script members too.
2017-03-13Skip asserts on non-debug builds at compiler levelPedro J. Estébanez
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
2017-02-28Merge pull request #7878 from RebelliousX/elseRémi Verschelde
Bunch of missing `else` statements and general logic
2017-02-28Inf and NaN support added to GDScript.Saracen
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements