summaryrefslogtreecommitdiffstats
path: root/core/variant_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #7002 from RandomShaper/vcs-friendlinessJuan Linietsky2017-01-251-5/+5
|\ | | | | Greater VCS friendliness
| * Improve .tscn VCSPedro J. Estébanez2017-01-161-5/+5
| | | | | | | | | | | | | | | | | | | | | | Serialize dictionaries adding newlines between key-value pairs Serialize group lists also with newlines in between Serialize string properties escaping only " and \ (needed for a good diff experience with built-in scripts and shaders) Bonus: Make AnimationPlayer serialize its blend times always sorted so their order is predictable in the .tscn file. This PR is back-compat; won't break the load of existing files.
* | Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-8/+8
| |
* | Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-1/+1
| | | | | | | | | | | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* | Style: Fix whole-line commented codeRémi Verschelde2017-01-141-2/+4
| | | | | | | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* | Type renames:Juan Linietsky2017-01-111-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* | renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-6/+6
| |
* | Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-32/+32
| | | | | | | | renamed to PoolVector
* | Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-56/+24
|\ \ | | | | | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * | Begining of GLES3 renderer:Juan Linietsky2016-10-031-56/+24
| | | | | | | | | | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-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!
* | Use int instead of int32_t for VectorsThomas Edvalson2016-10-061-4/+4
|/
* Properly encode InputEvent of type NONE. Fix #5987Fabio Alessandrelli2016-10-031-1/+15
| | | | | | | | In the editor settings you can disable default editor shortcuts. When a default shortcut is disabled an InputEvent of type NONE must be stored in the config file to allow the editor to remember that setting. variant_parser.cpp was not properly encoding InputEvent of type NONE causing the "corruption" of the editor settings file.
* Fix reading of empty StringArray-s in .tscnBojidar Marinov2016-07-271-1/+3
| | | | Closes #5912
* Add quotes to .tscn keys, solves #4366Juan Linietsky2016-06-201-1/+14
|
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-181-0/+28
| | | Also removes a couple wrong Godot headers from third-party source files.
* Changed reload logic to auto-hard-reload scripts on save. It's simpler to ↵Juan Linietsky2016-06-131-1/+2
| | | | use and also fixes #4756
* -Avoid negative zero from being saved to config files o resource files, ↵Juan Linietsky2016-06-131-16/+23
| | | | fixes #4758
* -customizable shortcuts in editorJuan Linietsky2016-06-041-1/+38
| | | | | -editor settings now save to .tres instead of .xml -buttons can now hold a shortcut
* remove trailing whitespaceHubert Jarosz2016-03-091-3/+3
|
* -Propertly detect mantissa floats in variantparser, fixes #3257Juan Linietsky2016-02-011-0/+3
|
* Make sure variant parser recognizes "nil" for compatibility with old ↵Juan Linietsky2016-02-011-1/+1
| | | | engine.cfg style cofig. Closes #3531
* Parse ColorArrays correctly (tscn)., fixes #3530Biliogadafr2016-02-011-1/+1
|
* properly handle typed array constructors in VariantParser, closes #3054Juan Linietsky2016-01-101-2/+5
|
* Make sure variant parser actually writes floats when float property is ↵Juan Linietsky2016-01-101-1/+4
| | | | requested, closes #3301
* fix issues related to StringArray parsingJuan Linietsky2016-01-081-3/+5
|
* -Use simpler methods for parsing simple tags, fixes #3274Juan Linietsky2016-01-081-5/+28
|
* added ':' support to VariantParser, given it' s used by export.cfgJuan Linietsky2016-01-071-0/+3
|
* -fix bugs related to parsing config files with new variantparser, closes ↵Juan Linietsky2016-01-071-1/+40
| | | | #3248 closes #3207
* Fix config file parser bug that cause showing project name as "Unnamed Project"mrezai2016-01-061-0/+1
|
* proper joy axis support as actions, can be configured and inquired, fixes #2317Juan Linietsky2016-01-021-2/+20
|
* suport old-style engine.cfg colors in VariantParser, fixes #3176Juan Linietsky2015-12-311-0/+28
|
* -Fix parsing of comments in VariantParser, fixes #3175Juan Linietsky2015-12-311-0/+26
|
* -Changed var2str and str2var in GDScript to use VariantWriter and VariantParserJuan Linietsky2015-12-311-0/+14
| | | | -It is now finally possible to parse back a variant from text!
* -Ensure .tscn and .tres always save in a deterministic way, fixes #2495Juan Linietsky2015-12-311-0/+543
| | | | | | | -Scene edit state is saved outside the scene now, to avoid changes .tscn files when nothing really changed -Created a VariantWriter helper to unify all variant to text writing -Moved SceneFormatText writing to VariantWriter -Moved ConfigFile to use VariantWriter and VariantParser, added compatibility mode for old .cfg files that use engine.cfg format
* no more time error, fixes #2892Juan Linietsky2015-12-121-1/+1
|
* variant parser was not parsing rect2 properly, fixes #2948Juan Linietsky2015-12-121-0/+13
|
* -Fixed bug with scene inheritance, should work againJuan Linietsky2015-11-281-73/+170
| | | | -Proper .tscn and .tres parsing, should work, please test well!
* -work in progress resourceparser and .tscn parser. Still non-functionalJuan Linietsky2015-11-241-0/+1398
-fixed theora so it can compile theoralib but not theora -fixed generation of windows icon in .rc, which didn't previously work in 32 bits