summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gd_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove unnecesary found bug? print, closes #5028Juan Linietsky2016-06-111-1/+1
|
* -All variables from script are visible through get_property_list(), not just ↵Juan Linietsky2016-06-111-0/+4
| | | | | | | those with export() -Added PROPERTY_USAGE_SCRIPT_VARIABLE to identify what comes from script -closes #5146
* Finalized DynamicFont implementationJuan Linietsky2016-05-291-1/+1
| | | | | | -DynamicFont uses Freetype by default -Editor fonts are now scalable thanks to this -Cleaned up documentation browser and added fonts for this
* remove trailing whitespaceHubert Jarosz2016-03-091-1/+1
|
* Revert "Merge pull request #3814 from est31/iterators_for_for"Rémi Verschelde2016-03-011-14/+0
| | | | | This reverts commit adf50568890cefb5fc354dbc1b21c4140bb410f9, reversing changes made to ee2bc87c0ef3cc1a432655ff935e60f32977904d.
* Use xrange for common "for i in range(...)" use caseest312016-02-281-0/+14
| | | | | Make the parser eliminate a wasteful allocation and initialisation of a possibly large array.
* Fix typo in errorest312016-02-241-1/+1
|
* can preload constantshondres2016-01-241-7/+15
|
* -remove unnecesary error report, fixes #3361Juan Linietsky2016-01-231-0/+5
|
* PI is now a built-in constant, fixes #2134Juan Linietsky2016-01-021-0/+7
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* added missing onready allocation for subclassesZher Huei Lee2015-12-301-0/+2
| | | | Fixes #3158
* -add breakpoint statement to ease with debugging, closes #3165reduz2015-12-291-0/+11
|
* -fixed bug with some indent blocks not properly checked, fixes #2570reduz2015-12-291-4/+16
| | | | -added ability to do one-line blocks, such as: if something: print("hello") , to be more python-like
* -renamed function get_relative_transform() to ↵reduz2015-12-281-6/+2
| | | | | | get_relative_transform_to_parent(), makes more sense -fixed newly introduced bug in onready keyword, fixes #3155
* - added 'onready' keyword to gdscript. Defers initialization of member ↵reduz2015-12-281-2/+43
| | | | variables until _ready() is run.
* Add GDScript export hint for named bit flagseska2015-12-141-2/+40
| | | | Syntax: `export( int, FLAGS, "A Flag", "Another Flag" ) var flags`
* Add GDScript export hints for global filesystem and exponential rangeseska2015-12-111-6/+66
| | | | | | - 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`
* GDScript: fixed highlighting of the next line when colon is missingkoalefant2015-11-291-2/+4
|
* Allow extending from Object in GDScripteska2015-11-121-1/+7
|
* Add GDScript export hint for real numbers with easing `export(float, EASE)`eska2015-10-161-0/+10
|
* Add multiline string GDScript export hint `export(String, MULTILINE)`eska2015-10-161-0/+11
|
* Revert "add flag and multiline hits in GDScript"eska2015-10-161-16/+9
| | | | This reverts commit 7843ec6633625455e689e711aa62e9d8337689fa.
* Fixes editor freezecrr00042015-09-021-1/+5
|
* detect node and variable assignments in _ready, _init, etc for further code ↵Juan Linietsky2015-08-301-10/+72
| | | | completion
* Ability to edit all kinds of arrays from the property editor.Juan Linietsky2015-08-251-3/+3
| | | | Yes, I'm trying to convince you to test the alpha release by adding all these now :)
* Merge pull request #2282 from Ovnuniarchos/masterJuan Linietsky2015-08-081-0/+11
|\ | | | | Bitmask editor and some CanvasItem documentation.
| * Added FLAGS to int hint to make an int a bitmask on the editor.Ovnuniarchos2015-07-201-0/+11
| |
* | add flag and multiline hits in GDScriptGen2015-08-011-9/+16
|/ | | | `export (flag) var test` for PROPERTY_HINT_ALL_FLAGS `export (multiline) var test` for PROPERTY_HINT_MULTILINE_TEXT
* improved get_node(), connect(), etc code completion.Juan Linietsky2015-06-261-2/+19
| | | | | -properly completes text arguments -includes the "/root" autoloads
* added ability to define signals in scriptJuan Linietsky2015-06-241-8/+63
| | | | closes #2175
* made parser accept EOF after "pass", fixes #1488Juan Linietsky2015-04-261-1/+1
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* -Concatenating arrays keeps the shared property if any of the arrays is ↵Juan Linietsky2015-04-071-0/+1
| | | | shared. Fixes #1646
* -added new code completion guess locations, closes #1032Juan Linietsky2015-01-031-4/+10
| | | | -moved commandline fix to mingw-only, should fix #1064
* -fixed crash reported by n-pigeonJuan Linietsky2014-12-161-0/+11
|
* -fix compilation issueJuan Linietsky2014-12-161-1/+1
| | | | | -fix missing built-ins in completion -fix parse error
* New Code CompletionJuan Linietsky2014-12-161-52/+243
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=- -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
* Batch of BugfixesJuan Linietsky2014-12-071-4/+12
| | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=- -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!
* SceneMainLoop -> SceneTreeJuan Linietsky2014-11-051-1/+22
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- *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
* Bug FixesJuan Linietsky2014-11-021-1/+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-48/+81
| | | | | | | -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
* - Fix issue #391: GDScript now reduce constant expressions to constant and ↵Guy Rabiller2014-10-271-5/+21
| | | | forbids constant assignment after being defined.
* Fixed too many little issues, check the issues closed today.Juan Linietsky2014-09-211-4/+21
|
* Fixing Issues...Juan Linietsky2014-09-191-0/+8
| | | | | | | - #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)
* 3D Physics Rework, Other StuffJuan Linietsky2014-09-151-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- 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.
* Misc FixesJuan Linietsky2014-06-271-6/+20
| | | | | | | | | | | | ========== -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
* Making Godot Easier to Use..Juan Linietsky2014-05-241-4/+19
| | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=-= -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.
* -HttpClient: ’Content-Length’ is added to httprequest if not provided in ↵Juan Linietsky2014-04-051-0/+16
| | | | | | | | | 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
* fix gdscript path parse errorsanikoyes2014-03-111-0/+1
|