summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gd_script.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* - added 'onready' keyword to gdscript. Defers initialization of member ↵reduz2015-12-281-0/+1
| | | | variables until _ready() is run.
* Ability to set autoloads as singleton global variablesreduz2015-12-281-0/+6
|
* replaced :var by :Variant in documentation, fixes #2897Juan Linietsky2015-12-141-1/+1
|
* -Display on animation editor which keys are invalid and which tracks are ↵Juan Linietsky2015-12-051-0/+20
| | | | | | unresolved -Added a tool to clean up unresolved tracks and unused keys
* Break into GDScript debugger when new() failsadmix2015-11-291-7/+7
|
* **WARNING BEFORE PULLING**Juan Linietsky2015-08-231-1/+6
| | | | | | | | | | | This push changes the binary and XML formats and bumps the major version to 2.0. As such, files saved in this version WILL NO LONGER WORK IN PREVIOUS VERSIONS. This compatibility breakage with older versions was required in order to properly provide project refactoring tools. If I were you, unless you are brave, I would wait a week or two before pulling, in case of bugs :) Summary of Changes -New Filesystem dock, with filesystem & tree view modes. -New refactoring tools, to change or fix dependencies. -Quick search dialog, to quickly search any file
* -some changes by okamJuan Linietsky2015-06-301-0/+8
|
* Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky2015-06-291-2/+2
| | | | | | | | and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
* added ability to define signals in scriptJuan Linietsky2015-06-241-0/+48
| | | | closes #2175
* Fixed variables being set before calling the setter methodJaguar2015-06-131-1/+2
|
* -Rename unexisting by nonexistant, closes #1940Juan Linietsky2015-05-181-1/+1
| | | | -Added function to retrieve list of actions fron InputMap
* properly save external resources, fixes #1924Juan Linietsky2015-05-171-0/+4
| | | | added API to get scancode names to OS
* -bit slower execution in debug, but proper error reporting for get index and ↵Juan Linietsky2015-05-161-3/+28
| | | | operators, fixes #1911
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* (Fix) script will not be able to extend itselfmostafahassan2015-03-311-1/+1
|
* Merge pull request #1396 from Spooner/fix_sprintf_errorsJuan Linietsky2015-03-221-1/+2
|\ | | | | Fix sprintf errors
| * Added info about operator after bespoke error message.Bil Bas (Spooner)2015-02-191-0/+1
| |
| * Correctly halt on error in sprintf parsing (fixes #1393)Bil Bas (Spooner)2015-02-191-1/+1
| |
* | support for 2D shadow castersJuan Linietsky2015-03-021-1/+4
|/ | | | | | | | | | Added support for 2D shadow casters. *DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a CanvasItem and pull this, you will lose them. Shaders now work through a 2D material system similar to 3D. If you don't want to lose the 2D shader code, save the shader as a .shd, then create a material in CanvasItem and re-assign the shader.
* -Resolved bug that made yield() not work in some situations, fixes #884Juan Linietsky2015-01-061-1/+1
|
* FixesJuan Linietsky2014-12-201-0/+1
| | | | | | | | -=-=-= -Added missing quaternion constructor -code completion fixes -winrt fixes
* Fix crash when gd-script _init failsanikoyes2014-12-181-1/+1
|
* more bugfixesJuan Linietsky2014-12-071-0/+2
|
* Batch of BugfixesJuan Linietsky2014-12-071-35/+129
| | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=- -Fixed Export UV XForm (should work now). #923 -Fixed enforcement of limits in property editor. #919 -Fixed long-standing bug of export editings in script inheritance. #914, #859, #756 -Fixed horrible error reporting in shader language. #912 -Added kinematic collision with plane (please test well). #911 -Fixed double animation track insert when using 2D rigs. #904 -VKey updates offset parameter in sprite edition. #901 -Do not allow anymore a script to preload itself. (does not fix #899, but narrows it down) -Avoid connection editor from overriding selected text. #897 -Fixed timer autostart. #876 -Fixed collision layers in 3D physics. #872 -Improved operators in shader #857 -Fixed ambient lighting bug #834 -Avoid editor from processing gamepad input #813 -Added not keyword #752 Please test!
* missing navmesh demo and small fixesJuan Linietsky2014-11-191-0/+2
|
* Bug FixesJuan Linietsky2014-11-021-0/+1
| | | | | | | | | | | | | | | | -=-=-=-=- -Fixed problem with scaling shapes (#827), related to not taking scale in consideration for calculating the moment of inertia -Added support for multiline strings (or comments) using """ -Save subscene bug, properties not being saved in root node (#806) -Fix Crash in CollisionPolygon2DEditor (#814) -Restored Ability to compile without 3D (#795) -Fix InterpolatedCamera (#803) -Fix UV Import for OBJ Meshes (#771) -Fixed issue with modifier gizmos (#794) -Fixed CapsuleShape gizmo handle (#50) -Fixed Import Button (not properly working in 3D) (#733) -Many misc fixes (though no new features)
* -Much improvement to baked light bakerJuan Linietsky2014-10-271-9/+24
| | | | | | | -Fixed many bugs in stretch mode -Fixes to camera project and unproject as consequence of the above -added setget to script (documented in script doc) -more fixes to collada exporter for blender
* Little BitsJuan Linietsky2014-10-121-2/+25
| | | | | | | | | | | | | | | | | | | -=-=-=-=-=- -fix duplicate function bug when creating script callback in editor -fix bug where hiding lights does not work -fix 2D audio listener bug (romulox_x reported) -fix exported properties with inheritance bug -fix timer autostart (make it not work on editor) -reactivate first camara found if viewport runs out of active camera -option to hide gizmos in viewport -changed skeleton gizmo because it sucks -Make convex shapes using CollisionShape visible (use quickhull class) -fix up menu when editing a mesh, to export collision, navmesh, convex, etc. from it. -make a menu option to show SRGB in 3D editor views by default -make option to edit default light direction in viewport settings -make option to edit default ambient light in viewport settings -make software conversion of linear->RGB if hardware support not found
* Build System ChangesJuan Linietsky2014-10-071-1/+0
| | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-= Build System: -Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions). -Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test. Engine: -Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time). -Added ability to open scenes even if a node type was removed (will try to guess the closest type). -Removed deprecated node types.
* -variables with export in script are now IMMEDIATELY AND ALWAYS visible in ↵Juan Linietsky2014-09-221-1/+46
| | | | | | | | | | | 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
* - more fixes on #672 on windowsJuan Linietsky2014-09-191-1/+5
| | | | | | - added #660, but need help on osx, help please I don't have a mac! - fixed #667 and #668 (eol detection in comments) - added #670 (hint when using method without () )
* 3D Physics Rework, Other StuffJuan Linietsky2014-09-151-47/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- 3D Physics: -Fixed "Bounce" parameter in 3D -Fixed bug affecting Area (sometims it would not detect properly) -Vehicle Body has seen heavy work -Added Query API for doing space queries in 3D. Needs some docs though. -Added JOINTS! Adapted Bullet Joints: and created easy gizmos for setting them up: -PinJoint -HingeJoint (with motor) -SliderJoint -ConeTwistJoint -Generic6DOFJoint -Added OBJECT PICKING! based on the new query API. Any physics object now (Area or Body) has the following signals and virtual functions: -input_event (mouse or multitouch input over the body) -mouse_enter (mouse entered the body area) -mouse_exit (mouse exited body area) For Area it needs to be activated manually, as it isn't by default (ray goes thru). Other: -Begun working on Windows 8 (RT) port. Compiles but does not work yet. -Added TheoraPlayer library for improved to-texture and portable video support. -Fixed a few bugs in the renderer, collada importer, collada exporter, etc.
* More 3D WorkJuan Linietsky2014-06-161-0/+2
| | | | | | | | -=-=-=-=-=- -ESM Shadow Mapping for softer and less glitchy shadows -HDR Pipeline (convert to Linear on texture import, convert to SRGB at the end) -Fix to xml parse bug
* Light Baker!Juan Linietsky2014-06-111-3/+26
| | | | | | -=-=-=-=-=-= -Support for lightmap baker, have fun figuring out how it works before tutorial is published.