aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8217 from bojidar-bg/gdscript-fix-keyword-callRémi Verschelde2017-07-253-141/+263
|\ | | | | Make GDScript allow some keywords as identifiers
| * Make GDScript allow some keywords as identifiersBojidar Marinov2017-07-233-141/+263
| | | | | | | | | | Fixes #8085 Added some comments around the use of is_token_literal, as discussed.
* | Clang-formatting *.cpp and *.h (some files excluded)Poommetee Ketson2017-07-222-2/+2
|/
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-192-14/+14
| | | | -Added system for feature overrides, it's pretty cool :)
* Add object type hint for docsPoommetee Ketson2017-07-191-2/+2
|
* -Reorganized all properties of project settings (Sorry, Again).Juan Linietsky2017-07-171-1/+1
| | | | | (Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
* Merge pull request #8573 from neikeq/gdfs-completedRémi Verschelde2017-07-111-0/+34
|\ | | | | Adds "completed" signal to GDFunctionState
| * Adds completed signal to GDFunctionStateIgnacio Etcheverry2017-06-231-0/+34
| |
* | Better user expirence with external text editors.geequlim2017-06-271-0/+1
| | | | | | | | | | 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.
* | Merge pull request #8783 from bojidar-bg/fix-range-loop-typeRémi Verschelde2017-06-241-2/+2
|\ \ | | | | | | Fix for..in range() resulting in floats instead of ints
| * | Reimplement for..in range() so that it always results in intsBojidar Marinov2017-06-221-2/+2
| |/ | | | | | | Fixes #8278, fixup of bfef8de1bc4f7a7b9617a7b181881129033a0b0e
* | Remove methods from code completion which are already exposed by properties, ↵Juan Linietsky2017-06-231-2/+2
| | | | | | | | makes completion cleaner and more close to the documentation.
* | GdScript: Add signal autocompletion to emit_signal functionMariano Suligoy2017-06-231-1/+1
|/
* Add ability to use custom script templates.Andreas Haas2017-06-133-0/+20
| | | | | | | | | | 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
* GDScript: Use "is" keyword for type checking.Andreas Haas2017-05-277-8/+12
| | | | | | | | | | | | | | | 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") ```
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-202-66/+4
| | | | this might cause bugs I haven't found yet..
* Merge pull request #8798 from RandomShaper/gdfs-ext-checkRémi Verschelde2017-05-182-4/+16
|\ | | | | Add extended check option to GDFunctionState::is_valid()
| * Add extended check option to GDFunctionState::is_valid()Pedro J. Estébanez2017-05-172-4/+16
| |
* | Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-172-2/+1
|/
* Fix #8674, and rename a few things for clarityBojidar Marinov2017-05-083-10/+16
|
* Changed indent type settingsPaulb232017-04-261-1/+1
|
* Honoring the Indent setting for gdscriptRamesh Ravone2017-04-251-10/+13
|
* fixed a bug where saving a GDScript file crashed the editorKarroffel2017-04-241-2/+5
| | | | I changed the loop in #8502, turns out it fixed the error I was facing but introduced a new one. This fixes both
* Merge pull request #8444 from magyar123/pr-complete-pathsRémi Verschelde2017-04-243-0/+32
|\ | | | | Script editor now automatically completes file paths in GDScript
| * Added autocomplete for file paths in the script editormbalint122017-04-183-0/+32
| |
* | Merge pull request #8420 from magyar123/pr-script-files-as-baseRémi Verschelde2017-04-241-0/+1
|\ \ | | | | | | Added the ability to select files as base when creating scripts
| * | Added the ability to select files as base when creating scriptsmbalint122017-04-151-0/+1
| |/
* | re-added MultiScriptKarroffel2017-04-241-2/+2
| | | | | | | | | | | | | | | | 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.
* | Added support for space indentationPaulb232017-04-182-2/+24
|/
* Fixup #8123, seems like I forgot a few thingsBojidar Marinov2017-04-081-3/+3
| | | | | Should close #8315 Please test, I'm still unsure I did it correctly...
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0815-0/+15
|
* Fix typo in Parser Error messagecurtisxk382017-04-051-1/+1
|
* Add '$' to token namesSaggi Mizrahi2017-04-011-0/+1
| | | | | | | It was missing from this array and would cause godot to crash or report bad errors. Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
* Merge pull request #8123 from bojidar-bg/gdscript-inline-block-indentRémi Verschelde2017-03-241-1/+9
|\ | | | | Make inline blocks in GDScript more (or less) pythonic
| * Make inline blocks in GDScript more pythonicBojidar Marinov2017-03-231-1/+9
| | | | | | | | Fixes #8001
* | Fix typos in source code using codespellRémi Verschelde2017-03-244-9/+9
|/ | | | From https://github.com/lucasdemarchi/codespell
* Merge pull request #8095 from RandomShaper/fix-yield-crashRémi Verschelde2017-03-211-1/+1
|\ | | | | Fix random crashes when using yield()
| * Fix random crashes when using yield()Pedro J. Estébanez2017-03-211-1/+1
| |
* | Fixed typo in gdscript autocompletion.mbalint122017-03-171-1/+1
|/ | | | There was a missing '!' sign, but autocompletion shows parent script members too.
* Skip asserts on non-debug builds at compiler levelPedro J. Estébanez2017-03-131-0/+2
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0514-5850/+5208
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-052-0/+57
|
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-3/+3
| | | | | | 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.
* Merge pull request #7878 from RebelliousX/elseRémi Verschelde2017-02-281-1/+1
|\ | | | | Bunch of missing `else` statements and general logic
| * Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | | | | | | | | - 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
* | Inf and NaN support added to GDScript.Saracen2017-02-285-0/+36
|/
* Merge pull request #7851 from shlomif/fix-some-compilation-warningsRémi Verschelde2017-02-261-0/+1
|\ | | | | Get rid of some compilation warnings.
| * Fix some compilation warnings.Shlomi Fish2017-02-211-0/+1
| | | | | | | | | | | | Redone the commit based on the input in https://github.com/godotengine/godot/pull/7851 . Not all warnings were fixed but it's a start.
* | Merge pull request #7809 from hpvb/fix-6798Rémi Verschelde2017-02-261-4/+25
|\ \ | | | | | | Allow preload to accept a const string.
| * | Allow preload to accept a const string.Hein-Pieter van Braam2017-02-161-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In preload() parsing this code will lookup the identifier in the local constant database. If the identifier corresponds to a string constant it is used as the path for preload(). Currently this does not work for global constants, only constants declared in the same class as the preload is happening. We can implement a full fix too. Maybe we can use this PR to discuss the possibilities. This (partially) fixes #6798