summaryrefslogtreecommitdiff
path: root/core/script_language.h
AgeCommit message (Collapse)Author
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
2015-06-24added ability to define signals in scriptJuan Linietsky
closes #2175
2015-04-18Updated copyright year in all headersJuan Linietsky
2014-12-16New Code CompletionJuan Linietsky
-=-=-=-=-=-=-=-=-=- -Massive improvement to code completion -Argument hinting for functions If you manage to out-smart the code-completion in a situation where completion should be possible to guess, let me know. Please enter the commit message for your changes. Lines starting
2014-11-13UDP FixesJuan Linietsky
-=-=-=-=- Curse the day I decided to port UDP code, as it ended up being two nights of work. At least It's done now (I hope). -Fixed UDP Support, API seems stable -Added UDP Chat demo (chat that can lose your packets, heh) -Added helpers to areas and bodies to get list of collided bodies and contained bodies. -Sped up screen/viewport capture code. -Added code to save an image as PNG -Small fix so scripts register their singletons after modules did.
2014-09-22-variables with export in script are now IMMEDIATELY AND ALWAYS visible in ↵Juan Linietsky
properties (#718) -WorldEnvironment cleanup issues fixed (#563) -Text Editor improvement to shift-mouse selection (#648) -(Hopefully) fixed rare (but horrible) indexing bug in GDScript compiler (#652) -Some changes to PhysicsBody API, renamed property "active" to "sleeping", which makes more sense -Added add_collision_exception() API in PhysicsBody (more accessible) -ability to select and copy in the output messages panel
2014-07-15Fixed failed to connect to remote debugger with -rdebug will crash enginemarynate
2014-06-11Light Baker!Juan Linietsky
-=-=-=-=-=-= -Support for lightmap baker, have fun figuring out how it works before tutorial is published.
2014-05-24Making Godot Easier to Use..Juan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=-= -Auto indenter in code editor, this makes it much easier to paste external code. -Zoom in 2D viewport now uses the mouse pointer as reference. -Obscure hack to see where code/line of GDScript in C++ backtrace. -Fixed a bug where keys would get stuck on X11 if pressed simultaneously -Added Api on IP singleton to request local IPs. -Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
2014-02-22-added kinematic bodyJuan Linietsky
-added kinematic body demos
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky