Commit Graph

  • ae937a31d2 Fixed little bug in parser commit jbeder 2009-10-19 22:42:30 +00:00
  • ed570b9f7c Added default constructor to Parser, and cleaned it up a bit Jesse Beder 2009-10-19 22:40:46 +00:00
  • afc7c1088d Added default constructor to Parser, and cleaned it up a bit jbeder 2009-10-19 22:40:46 +00:00
  • 59b0e986bf Update CMakeLists.txt to append, not overwrite CMAKE_CXX_FLAGS Jesse Beder 2009-10-19 22:32:26 +00:00
  • dd29c8181a Update CMakeLists.txt to append, not overwrite CMAKE_CXX_FLAGS jbeder 2009-10-19 22:32:26 +00:00
  • cffb98d15b Patched for optional building of tests and tools Jesse Beder 2009-10-12 05:21:00 +00:00
  • 06b8d4bacf Patched for optional building of tests and tools jbeder 2009-10-12 05:21:00 +00:00
  • 3e1ba0f3b4 Refactored the UTF-8 emitting Jesse Beder 2009-10-08 21:05:56 +00:00
  • 41a776b397 Refactored the UTF-8 emitting jbeder 2009-10-08 21:05:56 +00:00
  • d0b5bf4b7b Fixed the emitter unicode output Jesse Beder 2009-10-07 06:46:05 +00:00
  • 15d5b2b533 Fixed the emitter unicode output jbeder 2009-10-07 06:46:05 +00:00
  • 7db39e66b8 Updated signature of Parser::GetNextDocument (issue 45) Jesse Beder 2009-09-29 18:25:11 +00:00
  • fb443b3056 Updated signature of Parser::GetNextDocument (issue 45) jbeder 2009-09-29 18:25:11 +00:00
  • 94eb7f1dbd Modified old gcc version patch so it still uses the new Node::Read in Visual Studio. Also broke up the \uNNNN characters in the spec tests into \xNN-type strings. Jesse Beder 2009-09-16 05:31:28 +00:00
  • 60fce621e8 Modified old gcc version patch so it still uses the new Node::Read in Visual Studio. Also broke up the \uNNNN characters in the spec tests into \xNN-type strings. jbeder 2009-09-16 05:31:28 +00:00
  • 5733b77b84 Patched for gcc version <= 3.3 (just fall back to original version of Node::Read) Jesse Beder 2009-09-16 04:01:40 +00:00
  • a20141bca7 Patched for gcc version <= 3.3 (just fall back to original version of Node::Read) jbeder 2009-09-16 04:01:40 +00:00
  • 98bebfb628 Tagged version 0.2.2 Jesse Beder 2009-09-09 01:37:23 +00:00
  • d957634c25 Tagged version 0.2.2 jbeder 2009-09-09 01:37:23 +00:00
  • 7c4cc9bf5f Cleaned up the read template overloads (per litb's update); it seems the old version didn't compile in VS2008. Also updated the VS project files. release-0.2.2 Jesse Beder 2009-09-08 20:57:18 +00:00
  • 7b889b9f35 Cleaned up the read template overloads (per litb's update); it seems the old version didn't compile in VS2008. Also updated the VS project files. jbeder 2009-09-08 20:57:18 +00:00
  • fa885d1813 More tests, found bug in implicit keys in flow sequence Jesse Beder 2009-09-08 05:35:39 +00:00
  • 246d8993d2 More tests, found bug in implicit keys in flow sequence jbeder 2009-09-08 05:35:39 +00:00
  • da4614eb8b Fixed flow folding, and made the separation slightly cleaner (but the whole scanscalar thing could use a major refactoring) Jesse Beder 2009-09-08 05:24:06 +00:00
  • e4540f2c2a Fixed flow folding, and made the separation slightly cleaner (but the whole scanscalar thing could use a major refactoring) jbeder 2009-09-08 05:24:06 +00:00
  • 4dcd222d1f Tests through 6.29, skipping directives and tags Jesse Beder 2009-09-08 04:16:45 +00:00
  • 1d52e03750 Tests through 6.29, skipping directives and tags jbeder 2009-09-08 04:16:45 +00:00
  • 7bdd31b34b (Actually) fixed the folding newline bug, but it's a bit messy, and we don't accurately make the distinction between block folding and flow folding Jesse Beder 2009-09-07 23:29:04 +00:00
  • d38c4e6026 (Actually) fixed the folding newline bug, but it's a bit messy, and we don't accurately make the distinction between block folding and flow folding jbeder 2009-09-07 23:29:04 +00:00
  • a4b8521efe Fixed newlines in folded scalars bug Jesse Beder 2009-09-07 22:48:32 +00:00
  • afe01a86bd Fixed newlines in folded scalars bug jbeder 2009-09-07 22:48:32 +00:00
  • 7037562998 Simplified testing output Jesse Beder 2009-09-07 22:17:02 +00:00
  • 994e6af8e0 Simplified testing output jbeder 2009-09-07 22:17:02 +00:00
  • f3ff6ffc55 Fixed bugs with tab as non-content whitespace Jesse Beder 2009-09-07 17:12:45 +00:00
  • d15ce26b58 Fixed bugs with tab as non-content whitespace jbeder 2009-09-07 17:12:45 +00:00
  • e3ff87ecde Fixed bugs in escape characters (both parsing and emitting) Jesse Beder 2009-09-07 16:31:23 +00:00
  • a725d4b190 Fixed bugs in escape characters (both parsing and emitting) jbeder 2009-09-07 16:31:23 +00:00
  • 45ac700fff Fixed error in test Jesse Beder 2009-09-07 06:56:05 +00:00
  • 315205298a Fixed error in test jbeder 2009-09-07 06:56:05 +00:00
  • 2aab5acab4 Fixed last newline of folded scalar bug Jesse Beder 2009-09-07 06:54:38 +00:00
  • e1a112a761 Fixed last newline of folded scalar bug jbeder 2009-09-07 06:54:38 +00:00
  • e9d760eea9 Fixed bug in trailing newlines of plain scalars Jesse Beder 2009-09-07 06:42:03 +00:00
  • 21232e3bef Fixed bug in trailing newlines of plain scalars jbeder 2009-09-07 06:42:03 +00:00
  • d485d0a834 Added spec tests (minus tags, directives, and BOM) up through example 5.12 - this exposed an error in line folding Jesse Beder 2009-09-07 06:35:37 +00:00
  • 90be7e75c2 Added spec tests (minus tags, directives, and BOM) up through example 5.12 - this exposed an error in line folding jbeder 2009-09-07 06:35:37 +00:00
  • 973ac4b3bd Added spec tests through example 2.13 Jesse Beder 2009-09-06 22:17:53 +00:00
  • bdf6008dea Added spec tests through example 2.13 jbeder 2009-09-06 22:17:53 +00:00
  • e91a152e06 Tagged release 0.2.1 for patch with complex keys Jesse Beder 2009-09-06 22:02:59 +00:00
  • 21c87d4961 Tagged release 0.2.1 for patch with complex keys jbeder 2009-09-06 22:02:59 +00:00
  • 5217149ed4 Fixed bug with complex keys (and simplified the parsing for flow maps) release-0.2.1 Jesse Beder 2009-09-06 21:52:56 +00:00
  • e67e6e19f9 Fixed bug with complex keys (and simplified the parsing for flow maps) jbeder 2009-09-06 21:52:56 +00:00
  • e7ac6b3bf1 Refactored the operator >> and Node::Read default functions, as well as the conversion functions, to more easily read new types as keys (this uncovered an error, in example 2.11 of the spec) Jesse Beder 2009-09-06 20:52:45 +00:00
  • fe47783b5f Refactored the operator >> and Node::Read default functions, as well as the conversion functions, to more easily read new types as keys (this uncovered an error, in example 2.11 of the spec) jbeder 2009-09-06 20:52:45 +00:00
  • 9a1f4f9a0d Added spec tests through 2.10 Jesse Beder 2009-09-06 17:02:24 +00:00
  • dbcf401cbd Added spec tests through 2.10 jbeder 2009-09-06 17:02:24 +00:00
  • 07443495c8 Added templated casting to nodes, as well as operator == and != (for quick checks, especially to help in testing). Implemented size() on a map node to return the number of key/value pairs (as in std::map) Jesse Beder 2009-09-06 15:54:11 +00:00
  • 2fe7e8d525 Added templated casting to nodes, as well as operator == and != (for quick checks, especially to help in testing). Implemented size() on a map node to return the number of key/value pairs (as in std::map) jbeder 2009-09-06 15:54:11 +00:00
  • 729fb4d30b Updated the CMake file for 0.2.0 release, and added install.txt release-0.2.0 Jesse Beder 2009-09-05 23:05:39 +00:00
  • 44750974e7 Updated the CMake file for 0.2.0 release, and added install.txt jbeder 2009-09-05 23:05:39 +00:00
  • 91163d2296 Allowed solo entries in a flow map to be read as keys with null value Jesse Beder 2009-09-05 22:42:01 +00:00
  • f21456972c Allowed solo entries in a flow map to be read as keys with null value jbeder 2009-09-05 22:42:01 +00:00
  • 75477ade65 Finished refactoring of simple keys so that they can refer to multiple tokens at a single level Jesse Beder 2009-09-05 03:49:38 +00:00
  • ba472cc9a3 Finished refactoring of simple keys so that they can refer to multiple tokens at a single level jbeder 2009-09-05 03:49:38 +00:00
  • 0e1638d7b5 Refactored simple keys so that validating doesn't require popping indents, and so popping indents (and adding the end map) is independent of when we validate the simple key Jesse Beder 2009-09-05 02:51:09 +00:00
  • a2f2ab8426 Refactored simple keys so that validating doesn't require popping indents, and so popping indents (and adding the end map) is independent of when we validate the simple key jbeder 2009-09-05 02:51:09 +00:00
  • 19673ff01a Moved token enums into Token scope Jesse Beder 2009-09-05 02:28:11 +00:00
  • 6594941d24 Moved token enums into Token scope jbeder 2009-09-05 02:28:11 +00:00
  • 1db573dd30 Started implementing spec tests Jesse Beder 2009-09-03 14:27:03 +00:00
  • a926fefe0d Started implementing spec tests jbeder 2009-09-03 14:27:03 +00:00
  • 873ad336f8 Fixed bug with omitted keys/values in a flow map Jesse Beder 2009-09-02 21:39:57 +00:00
  • f7a47e9f9f Fixed bug with omitted keys/values in a flow map jbeder 2009-09-02 21:39:57 +00:00
  • 0d41a7de7c Added more explicit doc indicator tests Jesse Beder 2009-08-26 16:23:58 +00:00
  • 2e859413e7 Added more explicit doc indicator tests jbeder 2009-08-26 16:23:58 +00:00
  • 1b240d3576 Fixed bug with explicit doc start introduced in last commit Jesse Beder 2009-08-26 16:15:27 +00:00
  • aadc5052bc Fixed bug with explicit doc start introduced in last commit jbeder 2009-08-26 16:15:27 +00:00
  • 4b6a0b382c Added CMake option to build for the iphone Jesse Beder 2009-08-24 23:43:53 +00:00
  • 3c35ab1e42 Added CMake option to build for the iphone jbeder 2009-08-24 23:43:53 +00:00
  • b789a1c5f9 Removed the implicit sequence code (since it's not used any more) Jesse Beder 2009-08-24 22:58:47 +00:00
  • 4457b7dd5b Removed the implicit sequence code (since it's not used any more) jbeder 2009-08-24 22:58:47 +00:00
  • a1460169e6 Fixed bug in anchors with no content. This involved refactoring the 'implicit sequence' concept (where a map and a sequence start on the same indent, but we read the sequence as more indented since the '-' is visually an indent). Jesse Beder 2009-08-24 22:56:54 +00:00
  • c7ed85a4ac Fixed bug in anchors with no content. This involved refactoring the 'implicit sequence' concept (where a map and a sequence start on the same indent, but we read the sequence as more indented since the '-' is visually an indent). jbeder 2009-08-24 22:56:54 +00:00
  • abe0af76c5 Added Node::Clone function Jesse Beder 2009-08-24 20:10:42 +00:00
  • fc22d55b53 Added Node::Clone function jbeder 2009-08-24 20:10:42 +00:00
  • 8e636436f8 Cleaned up Jesse Beder 2009-08-24 18:23:20 +00:00
  • 8fcd09f30b Cleaned up jbeder 2009-08-24 18:23:20 +00:00
  • 8c33523b15 Removed the std::wstring conversion Jesse Beder 2009-08-22 00:25:37 +00:00
  • 2c4a7cf58c Removed the std::wstring conversion jbeder 2009-08-22 00:25:37 +00:00
  • 81c2e6b6ca Converted indexing to std::size_t, and fixed the Node templated overloads to properly index any index type (determining what is an index type is a bit of a hack - it should be is_convertible<T, std::size_t> (I think), but I just explicitly wrote down a list) Jesse Beder 2009-08-19 20:58:07 +00:00
  • 770d6de545 Converted indexing to std::size_t, and fixed the Node templated overloads to properly index any index type (determining what is an index type is a bit of a hack - it should be is_convertible<T, std::size_t> (I think), but I just explicitly wrote down a list) jbeder 2009-08-19 20:58:07 +00:00
  • ba11f5ae15 Added 'yaml-cpp: ' to the exception messages Jesse Beder 2009-08-19 05:09:12 +00:00
  • c45372e2f3 Added 'yaml-cpp: ' to the exception messages jbeder 2009-08-19 05:09:12 +00:00
  • d92ca21bcc Added templated Read() function that creates the output variable itself (so you don't need to have a temp variable) Jesse Beder 2009-08-19 03:37:19 +00:00
  • d1c888f57a Added templated Read() function that creates the output variable itself (so you don't need to have a temp variable) jbeder 2009-08-19 03:37:19 +00:00
  • 487f381ae9 Fixed out-of-bounds memory access Jesse Beder 2009-07-31 18:26:42 +00:00
  • c456eab7cd Fixed out-of-bounds memory access jbeder 2009-07-31 18:26:42 +00:00
  • d506dae914 Added IsNull function Jesse Beder 2009-07-31 05:07:21 +00:00
  • 952f72233e Added IsNull function jbeder 2009-07-31 05:07:21 +00:00
  • 7a89920441 Fixed null key/value bug, added tests Jesse Beder 2009-07-30 06:49:09 +00:00
  • cb2b5783fa Fixed null key/value bug, added tests jbeder 2009-07-30 06:49:09 +00:00
  • 382f1ba3c7 Fixed empty scalar in sequence bug Jesse Beder 2009-07-30 05:54:40 +00:00