aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_tokenizer.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Re-apply clang-format to all filesRémi Verschelde2017-08-271-3/+3
| | | | Some badly formatted code has managed to pass through our CI...
* Correct hash behavior for floating point numbersHein-Pieter van Braam2017-08-201-3/+3
| | | | | | | | | | | | | | | | | | | | | This backports the work in #7815 and the subsequent fixes in #8393 The following program now works as expected in this branch in both release_debug and debug mode: ```gdscript print(sqrt(-1)) print(sqrt(-1)) var simple1=asin(10.0) var simple2=acos(10.0) print(simple1) print(simple2) ``` And successfully prints -nan 4 times This fixes #9580 and fixes #8925
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Adds enums to GDScriptBojidar Marinov2017-04-061-0/+2
| | | | | | Fixes #2966 (cherry picked from commit 4ee82a2c38c57fb980df1ed4727d47959ba9e983)
* Bring that Whole New World to the Old Continent tooRémi Verschelde2017-03-191-585/+548
| | | | | Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261.
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-121-1/+1
| | | | | | | | | | 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! (cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
* Adapt overlooked instances of zero-based column numbersPedro J. Estébanez2016-10-171-5/+5
| | | | (cherry picked from commit 1b3dcac28145bfc6cc1bf2327852209155f59082)
* Make text column numbers one-basedPedro J. Estébanez2016-10-171-1/+1
| | | | | | | | | | Make one-based the column number on the code editor Make one-based the column number for GDScript error messages Make one-based the column number for shader code error messages (cherry picked from commit 2f80965845dd40c4a7981b0d3f011f26c185d63f)
* Removed unused variables (first pass)Rémi Verschelde2016-07-071-1/+0
| | | | Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
* correctly parse floats in scientific notationDennis Brakhane2016-06-181-1/+1
| | | | | | | | | | GDScript incorrectly parsed float values in scientific notation when no decimal point was given. "1e-5" was parsed as "15". Fix this by not requiring a decimal point when we found an exponent for the number to be considered a float. Fixes #5267
* gdscript tokenizer will dislike use of case, closes #4991Juan Linietsky2016-06-111-2/+3
|
* remove trailing whitespaceHubert Jarosz2016-03-091-9/+9
|
* Removed GDScript "function" keywordFranklin Sobrinho2016-01-131-1/+0
|
* Added missing onready token nameIgnacio Etcheverry2016-01-071-0/+1
|
* Added var2bytes and bytes2var to convet any variable to bytes and back. ↵Juan Linietsky2016-01-021-1/+1
| | | | Closes #2075
* PI is now a built-in constant, fixes #2134Juan Linietsky2016-01-021-1/+3
|
* -properly handle newline in \ (line continuation) in gdscript, fixes #2112Juan Linietsky2016-01-021-0/+1
| | | | -also fix a small crash in export detection with scripts that include themselves
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* small fixes to color8Juan Linietsky2015-12-311-1/+1
|
* -add breakpoint statement to ease with debugging, closes #3165reduz2015-12-291-1/+3
|
* - added 'onready' keyword to gdscript. Defers initialization of member ↵reduz2015-12-281-1/+2
| | | | variables until _ready() is run.
* Remove unexpected GDScript built-in type aliaseseska2015-11-231-6/+0
|
* Add missing token name for signal. closes #2201neikeq2015-08-071-0/+1
|
* more debugger fixesJuan Linietsky2015-08-041-0/+5
| | | | | -setting/clearing breakpoints during run-time now works -multi-line strings resulted in wrong line numbers in bytecode, fixed
* more code completion improvementsJuan Linietsky2015-06-271-1/+1
| | | | | | -calltip dissapears with more types of keypresses or when pressing ')' -properly looks into autoloaded scripts or nodes with another script for script functions/variables/etc.
* improved get_node(), connect(), etc code completion.Juan Linietsky2015-06-261-15/+18
| | | | | -properly completes text arguments -includes the "/root" autoloads
* added ability to define signals in scriptJuan Linietsky2015-06-241-0/+1
| | | | closes #2175
* -Added prints() function, fixes #1132, #1859Juan Linietsky2015-05-091-1/+1
| | | | -Tabs work inside built-in log window, fixes #1867
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* restored @ for nodepaths/stringnamesJuan Linietsky2015-02-191-2/+5
|
* New Code CompletionJuan Linietsky2014-12-161-1/+5
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=- -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
* Bug FixesJuan Linietsky2014-11-021-9/+21
| | | | | | | | | | | | | | | | -=-=-=-=- -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-1/+3
| | | | | | | -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 #821: GDScript now accepts single quoted as well as double quoted ↵Guy Rabiller2014-10-261-3/+11
| | | | strings.
* - more fixes on #672 on windowsJuan Linietsky2014-09-191-1/+2
| | | | | | - 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 () )
* Fixing Issues...Juan Linietsky2014-09-191-12/+10
| | | | | | | - #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-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- 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.
* Light Baker!Juan Linietsky2014-06-111-0/+1
| | | | | | -=-=-=-=-=-= -Support for lightmap baker, have fun figuring out how it works before tutorial is published.
* -HttpClient: ’Content-Length’ is added to httprequest if not provided in ↵Juan Linietsky2014-04-051-0/+18
| | | | | | | | | 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
* -scripts are converted to bytecode on exportJuan Linietsky2014-02-251-19/+390
| | | | -fix bug in doc where touchscreen events were not documented
* -moved script to modulesJuan Linietsky2014-02-241-0/+973