summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_parser.cpp
AgeCommit message (Collapse)Author
2016-03-09remove trailing whitespaceHubert Jarosz
2016-03-01Revert "Merge pull request #3814 from est31/iterators_for_for"Rémi Verschelde
This reverts commit adf50568890cefb5fc354dbc1b21c4140bb410f9, reversing changes made to ee2bc87c0ef3cc1a432655ff935e60f32977904d.
2016-02-28Use xrange for common "for i in range(...)" use caseest31
Make the parser eliminate a wasteful allocation and initialisation of a possibly large array.
2016-02-24Fix typo in errorest31
2016-01-24can preload constantshondres
2016-01-23-remove unnecesary error report, fixes #3361Juan Linietsky
2016-01-02PI is now a built-in constant, fixes #2134Juan Linietsky
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-30added missing onready allocation for subclassesZher Huei Lee
Fixes #3158
2015-12-29-add breakpoint statement to ease with debugging, closes #3165reduz
2015-12-29-fixed bug with some indent blocks not properly checked, fixes #2570reduz
-added ability to do one-line blocks, such as: if something: print("hello") , to be more python-like
2015-12-28-renamed function get_relative_transform() to ↵reduz
get_relative_transform_to_parent(), makes more sense -fixed newly introduced bug in onready keyword, fixes #3155
2015-12-28- added 'onready' keyword to gdscript. Defers initialization of member ↵reduz
variables until _ready() is run.
2015-12-14Add GDScript export hint for named bit flagseska
Syntax: `export( int, FLAGS, "A Flag", "Another Flag" ) var flags`
2015-12-11Add GDScript export hints for global filesystem and exponential rangeseska
- File in global filesystem: `String, FILE, GLOBAL, "*.png"`, tool scripts only - Directory in global filesystem: `String, DIR, GLOBAL`, tool scripts only - Exponential range: `float, EXP, 50, 150, 2`
2015-11-29GDScript: fixed highlighting of the next line when colon is missingkoalefant
2015-11-12Allow extending from Object in GDScripteska
2015-10-16Add GDScript export hint for real numbers with easing `export(float, EASE)`eska
2015-10-16Add multiline string GDScript export hint `export(String, MULTILINE)`eska
2015-10-16Revert "add flag and multiline hits in GDScript"eska
This reverts commit 7843ec6633625455e689e711aa62e9d8337689fa.
2015-09-02Fixes editor freezecrr0004
2015-08-30detect node and variable assignments in _ready, _init, etc for further code ↵Juan Linietsky
completion
2015-08-25Ability to edit all kinds of arrays from the property editor.Juan Linietsky
Yes, I'm trying to convince you to test the alpha release by adding all these now :)
2015-08-08Merge pull request #2282 from Ovnuniarchos/masterJuan Linietsky
Bitmask editor and some CanvasItem documentation.
2015-08-01add flag and multiline hits in GDScriptGen
`export (flag) var test` for PROPERTY_HINT_ALL_FLAGS `export (multiline) var test` for PROPERTY_HINT_MULTILINE_TEXT
2015-07-20Added FLAGS to int hint to make an int a bitmask on the editor.Ovnuniarchos
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-26made parser accept EOF after "pass", fixes #1488Juan Linietsky
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-04-07-Concatenating arrays keeps the shared property if any of the arrays is ↵Juan Linietsky
shared. Fixes #1646
2015-01-03-added new code completion guess locations, closes #1032Juan Linietsky
-moved commandline fix to mingw-only, should fix #1064
2014-12-16-fixed crash reported by n-pigeonJuan Linietsky
2014-12-16-fix compilation issueJuan Linietsky
-fix missing built-ins in completion -fix parse error
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-12-07Batch of BugfixesJuan Linietsky
-=-=-=-=-=-=-=-=- -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!
2014-11-05SceneMainLoop -> SceneTreeJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
2014-11-02Bug FixesJuan Linietsky
-=-=-=-=- -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)
2014-10-27-Much improvement to baked light bakerJuan Linietsky
-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
2014-10-27- Fix issue #391: GDScript now reduce constant expressions to constant and ↵Guy Rabiller
forbids constant assignment after being defined.
2014-09-21Fixed too many little issues, check the issues closed today.Juan Linietsky
2014-09-19Fixing Issues...Juan Linietsky
- #672 (default user:// in $HOME/.godot/app_userdata (linux/osx) and $APPDATA/Godot/app_userdata (Windows) - #676 (draw both tiles and octants in order from top to bottom, left to right ) - #686 (unicode escape sequences work now) - #702 (was not a bug, but a test was added to see if bodies went too far away)
2014-09-153D Physics Rework, Other StuffJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=- 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.
2014-06-27Misc FixesJuan Linietsky
========== -NOTIFICATION_WM_QUIT fixed on android (seems tha way this is reported changed in newer sdk) -WIP implementation of APK Expansion APIs for publishing games larger than 50mb in Play Store -Feaures in the new tutorials are all present in the sourcecode -This (hopefully) should get rid of the animation list order getting corrupted -Improved 3D Scene Importer (Skeletons, Animations and other stuff were not being merged). Anything missing? -In code editor, the automatic syntax checker will only use file_exists() to check preload() else it might freeze the editor too much while typing if the preload is a big resource -Fixed bugs in PolygonPathFinder, stil pending to do a node and a demo
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-04-05-HttpClient: ’Content-Length’ is added to httprequest if not provided in ↵Juan Linietsky
the headers and a body exists -expressions in GDScript can take multiple lines if inside parenthesis (python-like) -Added \ to force linebreaks to GDscript (python-like) -added exclude objects from raycast -fixed crashes
2014-03-11fix gdscript path parse errorsanikoyes
2014-02-25-scripts are converted to bytecode on exportJuan Linietsky
-fix bug in doc where touchscreen events were not documented
2014-02-24-moved script to modulesJuan Linietsky