aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_script.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-595/+474
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Inf and NaN support added to GDScript.Saracen2017-02-281-0/+4
|
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-2/+2
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* Merge pull request #6845 from karroffel/masterJuan Linietsky2017-01-141-0/+1
|\ | | | | Adds pattern matching to GDScript
| * pattern matcher: Implemented backendKarroffel2017-01-111-0/+1
| | | | | | | | changed comments
* | Style: Fix whole-line commented codeRémi Verschelde2017-01-141-4/+6
| | | | | | | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* | rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky2017-01-141-1/+1
| | | | | | | | String.get_basename()
* | Implicit inheritance now defaults to Resource, will error for node scripts ↵Juan Linietsky2017-01-121-0/+2
| | | | | | | | if extends not used.
* | uses the global thread to protect the instacnes map in GDScript, closes #4615Juan Linietsky2017-01-101-3/+43
| |
* | Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-2/+2
| | | | | | | | renamed to PoolVector
* | -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-4/+4
| | | | | | | | | | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* | ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-9/+9
| | | | | | | | | | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Renamed the bind_native functions to bind_vararg, should make it show the ↵Juan Linietsky2016-09-071-1/+1
| | | | documentation more clearly and also make it easier to bind to C#
* More visual script workJuan Linietsky2016-08-251-0/+9
| | | | | | | | | -Block switches to 2d/3d editor if editing visual script -Added cast node in flow control -Added ability to do RPC in visual script -Comment nodes -Fix bug with inverted cable in connecting backwards -Copy and paste nodes, including from different scripts
* Proper function/property selection in visual script editing for property.Juan Linietsky2016-08-231-0/+35
| | | | This one has an ordered list, built-in description, search, etc.
* Brand new networked multiplayerJuan Linietsky2016-08-191-1/+45
|
* Merge pull request #6055 from eska014/native-bind-rettypeRémi Verschelde2016-08-081-1/+1
|\ | | | | Allow documenting unexposed return types in bind_native_method
| * Allow documenting unexposed return types in bind_native_methodeska2016-08-061-1/+1
| | | | | | | | Document return type of `Object.call` and `GDScript.new`
* | Added a simpler way to do sub-functions in both visual and gdscript with the ↵Juan Linietsky2016-08-081-1/+30
| | | | | | | | | | | | | | subcall node. With this, visual script is almost done (missing registering custom nodes from addon). All this is probably pretty broken, too and needs a lot of testing.
* | WIP visual scripting, not working yet but you can check out stuffJuan Linietsky2016-08-021-0/+17
|/
* Fixed reloading of tool scripts within editor, they should work much better ↵Juan Linietsky2016-07-201-2/+16
| | | | now, closes #3194
* Fix bug in inner class reference, closes #1411Juan Linietsky2016-06-281-4/+9
|
* Fix extends issue, closes #4026Juan Linietsky2016-06-281-0/+4
|
* Add "bool" to GDScript reserverd keywordsAndreas Haas2016-06-241-0/+1
| | | | Noticed that "bool" wasn't highlighted when used like `export(bool) var is_xy = false`
* Changed reload logic to auto-hard-reload scripts on save. It's simpler to ↵Juan Linietsky2016-06-131-0/+5
| | | | use and also fixes #4756
* -Ability to reload (and soft reload) tool scripts. Please test!Juan Linietsky2016-06-081-0/+107
|
* Revert "Fix implicit GDScript Reference inheritance"punto-2016-06-061-2/+5
|
* Fix implicit GDScript Reference inheritanceeska2016-06-051-5/+2
|
* Ability to reload scripts on running gameJuan Linietsky2016-06-011-4/+121
|
* Some cleanup to GDScriptJuan Linietsky2016-05-311-1426/+0
| | | | separated GDFunction (VM) from GDScript in two different files
* Fix #4748: proper call to base class functionIgnacio Armenteros2016-05-231-1/+1
|
* First version of ProfilerJuan Linietsky2016-05-211-102/+334
| | | | | It is now possible to profile GDScript as well as some parts of Godot internals.
* remove trailing whitespaceHubert Jarosz2016-03-091-2/+2
|
* Completed the support for plugins! It is not possible to add plugins.Juan Linietsky2016-02-271-0/+5
| | | | | | Not all APIs are provided yet, please request whathever you are missing. Some example plugins are provided in demos/plugins. Just copy them to a folder in your project named addons/ and then enable them from the project settings. Have fun!
* Merge pull request #3587 from akien-mga/pr-reserved-keyordsRémi Verschelde2016-02-041-1/+1
|\ | | | | Fix missing comma
| * Fix missing commaRémi Verschelde2016-02-041-1/+1
| |
* | Merge pull request #3582 from akien-mga/pr-reserved-keyordsGeorge Marques2016-02-041-28/+35
|\| | | | | Add preload and PI to GDScript reserved keywords
| * Add preload and PI to GDScript reserved keywordsRémi Verschelde2016-02-041-0/+2
| | | | | | I've noticed that gd_tokenizer also has keywords for `switch' and `do', but they seem not to be supported actually (only used in commented code for the shader language), so I don't add them.
| * Reorder reserved words by categoriesRémi Verschelde2016-02-041-28/+33
| | | | | | They were previously kind of sorted with a mix between alphabetical and logical ordering, which made it hard to spot duplicates or missing words.
* | -Added method flags to global constants for scriptJuan Linietsky2016-01-311-0/+1
|/ | | | -Added a new flag METHOD_FLAG_FROM_SCRIPT to get_method_list() flag property. Closes #3489
* -remove unnecesary error report, fixes #3361Juan Linietsky2016-01-231-7/+15
|
* -Make Akien happy, fixes #3068Juan Linietsky2016-01-101-1/+1
| | | | (seems I wrote all the code, then forgot to use the enum...)
* Fixed bug with default arguments in gdscript, closes #2024Juan Linietsky2016-01-031-0/+1
|
* -Ability to roll-back script-exported properties to their default value on ↵Juan Linietsky2016-01-021-0/+22
| | | | the script, closes #2128
* -properly handle newline in \ (line continuation) in gdscript, fixes #2112Juan Linietsky2016-01-021-17/+11
| | | | -also fix a small crash in export detection with scripts that include themselves
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* -add breakpoint statement to ease with debugging, closes #3165reduz2015-12-291-0/+9
|