summaryrefslogtreecommitdiff
path: root/core/script_language.h
AgeCommit message (Collapse)Author
2018-03-15Mono: Avoid invalid class names.Andreas Haas
Disallow reserved keywords as class names and prefix base class with the Godot namespace if it's the same as the class name. Fixes #12483
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-09Mono: Implement stack info for errors and exceptionsIgnacio Etcheverry
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-11-17Abstract some method for script systemgeequlim
2017-10-25Removes Script::get_node_type()Jerome67000
used before GDScript, with squirrel apparently
2017-10-24Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it. - ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
2017-09-30Renamed fixed_process to physics_processAndreaCatania
2017-09-03Fixes language overridden external editorsIgnacio Etcheverry
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-24-Code completion for enumerationsJuan Linietsky
-Disabled GDNative and GDNativeScript so build compiles again
2017-07-22Script languges are uninitialized properly now.Juan Linietsky
2017-07-16Added a simpler/faster way to bind script languages instance wrappers to GodotJuan Linietsky
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-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-17External editor improvements and fixesIgnacio Etcheverry
Notable changes: - Now ScriptLanguages have the option to override the global external editor setting. If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used. - Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`. - `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from. Fixes: - Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor. - Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit. - `Script::get_member_line()` now returns -1 ("found nothing") by default.
2017-04-15Added the ability to select files as base when creating scriptsmbalint12
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-03increased maximum number of scripting languagesKarroffel
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-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
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()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-09-12Do ctrl-click on any code identifier to go to definiton or help page.Juan Linietsky
2016-08-25More visual script workJuan Linietsky
-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
2016-08-23Proper function/property selection in visual script editing for property.Juan Linietsky
This one has an ordered list, built-in description, search, etc.
2016-08-19Brand new networked multiplayerJuan Linietsky
2016-08-08Added a simpler way to do sub-functions in both visual and gdscript with the ↵Juan Linietsky
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.
2016-08-05VisualScript can now execute visual scripts, but there is no debugger or ↵Juan Linietsky
profiler yet.
2016-08-02WIP visual scripting, not working yet but you can check out stuffJuan Linietsky
2016-06-27Make most resources (save for packedscenes and scripts) reload if they ↵Juan Linietsky
change on disk. Closes #4059.
2016-06-26-Fix crashes with thread_exit()Juan Linietsky
-Added draft of C script API (still disabled and unused)
2016-06-25Added function to notify ScriptLanguage when a thread is created/freed, ↵Juan Linietsky
allows scripts to allocate a stack there via TLS
2016-06-21Fixed error using the same atlas rect for all images, closes #4139Juan Linietsky
2016-06-21Better support in ScriptLanguage for GC based scriptsJuan Linietsky
2016-06-13Changed reload logic to auto-hard-reload scripts on save. It's simpler to ↵Juan Linietsky
use and also fixes #4756
2016-06-08-Ability to reload (and soft reload) tool scripts. Please test!Juan Linietsky
2016-06-01Ability to reload scripts on running gameJuan Linietsky
2016-05-21First version of ProfilerJuan Linietsky
It is now possible to profile GDScript as well as some parts of Godot internals.
2016-03-09remove trailing whitespaceHubert Jarosz
2016-01-23-Some changes to how scenes and scripts are overriden in scene instance and ↵Juan Linietsky
inheritance -Fixes #3127 and also properly fixes #2958
2016-01-02-Ability to roll-back script-exported properties to their default value on ↵Juan Linietsky
the script, closes #2128
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-28Ability to set autoloads as singleton global variablesreduz
2015-12-05-Display on animation editor which keys are invalid and which tracks are ↵Juan Linietsky
unresolved -Added a tool to clean up unresolved tracks and unused keys
2015-08-04error debuggerJuan Linietsky
shows the list of errors that happened during running the game, traces can be analyzed
2015-08-02live debug fixesJuan Linietsky
removing node in live debugging fixed
2015-08-02Live edit WORK IN PROGRESSJuan Linietsky
1) press the heart while the game is running 2) select a scene to live edit from the opened scenes 3) edit/add/remove nodes or resources, change their properties, etc. 4) watch changes reflected in running game, in all places this scene is edited 5) It's not perfect obviously, but the aim of it is to try to reflect your changes as best as possible in the running game.
2015-06-26improved get_node(), connect(), etc code completion.Juan Linietsky
-properly completes text arguments -includes the "/root" autoloads