Commit Graph

370 Commits

Author SHA1 Message Date
Felix Krause e30739fb36 final final fixes for event rendering 2017-02-18 10:40:39 +01:00
Felix Krause d6ace28775 (hopefully) final event output fix 2017-02-14 22:30:48 +01:00
Felix Krause b15f3dbae9 Even more fixes to event output 2017-02-14 22:22:56 +01:00
Felix Krause 8abe91cb32 Further event output improvements 2017-02-14 22:08:38 +01:00
Felix Krause 2bb32139c4 Added `+DOC ---` event output. Fixed parserTests 2017-02-14 22:06:48 +01:00
Felix Krause 9eee22bbc5 Improved event output conformity 2017-02-14 21:53:15 +01:00
Felix Krause 8b4f781d41 Added anchor name to display() 2017-02-14 19:43:02 +01:00
Felix Krause c581f1acc2 Added YamlParser.display()
* renders events with proper tag and anchor names
2017-02-14 19:40:40 +01:00
Felix Krause 58ef5da17b Made token output conform to yaml test suite
* Added -d:yamlScalarRepInd switch
 * Modified `$` on stream items to use yaml test suite format
2017-02-14 19:06:41 +01:00
Felix Krause 5ebde01ca5 Made tjson and tserialization compile for JS 2017-02-13 17:10:56 +01:00
Felix Krause acf9e32fab Finally fixed travis build
* Insulting comment on Travis and the universe in general here.
2017-02-06 21:41:43 +01:00
Felix Krause 0ef9cbf535 Moved private sources to yaml/private 2017-02-06 20:39:04 +01:00
Felix Krause d8f6ea5e2d Fixed an error in flow map parsing
* { ? foo: bar } emitted an additional, second, empty
   key-value pair
2017-02-06 20:35:17 +01:00
Felix Krause e46ef33a23 Allow stream end after block scalar indicators 2017-01-13 16:25:46 +01:00
Felix Krause b99fa8df7a Fixes #35 2017-01-13 16:19:04 +01:00
Felix Krause 538a2d2deb Recognize empty string as !!null 2017-01-12 11:19:46 +01:00
Felix Krause 608d9ef090 Fixed path due to staticExec changes in Nim 0.16.0 2017-01-12 11:19:02 +01:00
Felix Krause f78c2c5961 Correctly handle `{1}`. Fixes #34 2017-01-10 12:00:15 +01:00
Felix Krause 936df70daa Correctly present empty collections in block-only.
* Fixes #33
2017-01-10 11:45:55 +01:00
Felix Krause 737d326e7a Improved test code 2017-01-10 11:35:19 +01:00
Felix Krause 356dc5c8bd Added testSuiteEvents tool 2017-01-09 19:09:07 +01:00
Felix Krause 55f423b00a Merge branch 'devel' 2016-12-15 18:25:08 +01:00
Felix Krause 861fe63188 Version 0.9.0 2016-12-15 18:24:50 +01:00
Felix Krause 8ddbc02096 Fix for previous fix 2016-12-13 21:40:46 +01:00
Felix Krause 87bfcd1490 Fixed bugs
* lexer did not handle indentation indicator for block scalars properly
 * transform() did not work properly for string output
2016-12-13 21:22:36 +01:00
Felix Krause c2041b44d1 Updated tests to use yaml-test-suite repo url 2016-12-12 19:29:39 +01:00
Felix Krause 9b5d0e60c6 Updated yaml-dev-kit test data parser 2016-12-05 19:22:51 +01:00
Felix Krause 4b529c1fd6 Fixed and improved presenter.transform
* Added option to resolve non-specific tags
 * Actually resolve non-specific tags
 * Made it compile again after hints enhancement
2016-12-05 18:27:32 +01:00
Felix Krause 36bdf5ba79 Reverted unnecessarily commited file 2016-11-30 22:02:09 +01:00
Felix Krause 44ca31b1e2 Empty documents always contain an empty scalar 2016-11-30 21:58:46 +01:00
Felix Krause 294fc875bd Testing Ground uses HTTPS now 2016-11-30 20:31:36 +01:00
Felix Krause 40e303049f Documented serialization macros 2016-11-30 18:31:09 +01:00
Felix Krause 927de32d8d Reverted accidentally commited changes 2016-11-30 18:05:47 +01:00
Felix Krause 5e00d714eb Do not assume RecLists everywhere. Fixes #31 2016-11-30 18:01:03 +01:00
Felix Krause 84d4127caf Improved DOM API
* yMapping is now a Table
 * changed names to match those of the json module
 * implemented procs to easier get and set values
2016-11-28 20:17:04 +01:00
Felix Krause a51befe30d Improved float parsing
* Fixed #30
 * Accept underscores in float literals
 * Added test
2016-11-10 10:12:32 +01:00
Felix Krause 52298298e5 Merge branch 'devel' 2016-11-08 21:30:33 +01:00
Felix Krause 2ba08370eb Version 0.8.0 2016-11-08 21:29:59 +01:00
Felix Krause 86845f9bd5 Documented !!timestamp 2016-11-08 21:15:14 +01:00
Felix Krause 64f68ae1af Implemented !!timestamp 2016-11-08 21:13:01 +01:00
Felix Krause 05c4aa733c Documentation update
* Added schema documentation
 * Documented setDefaultValue
 * Updated some tag URIs
2016-11-01 12:40:53 +01:00
Felix Krause 6a3d876f7e Generate testing.html with rst
* use same html template as other pages
 * Also improved .gitignore
2016-10-27 18:57:32 +02:00
Felix Krause dcfa8fd27c Implemented ignoreInputKey 2016-10-27 17:58:14 +02:00
Felix Krause 6402433d2a Implemented setDefaultValue. 2016-10-26 18:32:54 +02:00
Felix Krause fd05f828ad Updated serialization doc 2016-10-20 18:12:35 +02:00
Felix Krause 9290ca0d91 Load objects with transient fields 2016-10-19 22:04:46 +02:00
Felix Krause ab8bfe4192 Removed garbage code 2016-10-15 18:30:52 +02:00
Felix Krause 3ab3dc7ad0 Dump variant objects with transient fields
* tuples not working yet
 * loading not woring yet
 * added tests
2016-10-15 17:58:29 +02:00
Felix Krause b3d83025f7 Started transient implementation
* represent of simple object works
 * TODO: variant objects
 * TODO: construct
2016-10-12 22:39:59 +02:00
Felix Krause 29352fa4fe Use global tag handle for NimYAML
* NimYAML now uses the tag prefix tag:nimyaml.org,2016:
 * That tag handle is shortened to !n! when presenting
 * Also fixed some minor bugs dealing with tag handles
2016-10-10 20:16:54 +02:00