Commit Graph

  • 3a90454d50 Added some small map tests Jesse Beder 2011-09-11 16:02:31 -05:00
  • 73a47d1c1c Added some small map tests beder 2011-09-11 16:02:31 -05:00
  • 2d81e46655 Added dependency management (to cause nodes to become defined if their children do) Jesse Beder 2011-09-11 15:59:53 -05:00
  • bb1a816a3a Added dependency management (to cause nodes to become defined if their children do) beder 2011-09-11 15:59:53 -05:00
  • b4963ab0fa Added a few simple node tests, and the sequence one doesn't pass (let's work now) Jesse Beder 2011-09-10 23:31:12 -05:00
  • a9914342e0 Added a few simple node tests, and the sequence one doesn't pass (let's work now) beder 2011-09-10 23:31:12 -05:00
  • 432268917b Started Node tests (for the new API Node) Jesse Beder 2011-09-10 23:22:30 -05:00
  • 10d712d060 Started Node tests (for the new API Node) beder 2011-09-10 23:22:30 -05:00
  • 2d06df474b Fixed up the old API stuff, and removed the util/value (since it's no longer needed) Jesse Beder 2011-09-10 23:11:28 -05:00
  • 4bbe984bdc Fixed up the old API stuff, and removed the util/value (since it's no longer needed) beder 2011-09-10 23:11:28 -05:00
  • 03fc837236 Set up util/parse for the new API Jesse Beder 2011-09-10 23:03:02 -05:00
  • fb538c9490 Set up util/parse for the new API beder 2011-09-10 23:03:02 -05:00
  • 80cf3c98db Fixed minor things that used the old API, compiles/links/runs\! Jesse Beder 2011-09-10 22:59:27 -05:00
  • 2851f5f8c9 Fixed minor things that used the old API, compiles/links/runs\! beder 2011-09-10 22:59:27 -05:00
  • f7b2247217 Added stubs for spec and parser tests with the new API Jesse Beder 2011-09-10 18:05:35 -05:00
  • 24c55b434a Added stubs for spec and parser tests with the new API beder 2011-09-10 18:05:35 -05:00
  • 36c63980b9 Moved old api tests to subfolder Jesse Beder 2011-09-10 18:02:07 -05:00
  • 7cdf684ae6 Moved old api tests to subfolder beder 2011-09-10 18:02:07 -05:00
  • 0d1b5224c8 Major switch from Value -> Node. The library compiles with the new API, but tests are still oldies, and don't compile Jesse Beder 2011-09-10 17:57:23 -05:00
  • e905b74232 Major switch from Value -> Node. The library compiles with the new API, but tests are still oldies, and don't compile beder 2011-09-10 17:57:23 -05:00
  • ac81d7c883 Start of moving Value -> Node and Node -> old API Node (with a #define toggle) Jesse Beder 2011-09-10 17:18:15 -05:00
  • 8fd372b0db Start of moving Value -> Node and Node -> old API Node (with a #define toggle) beder 2011-09-10 17:18:15 -05:00
  • 78b7a1b8a9 Added helper emitter functions, but we have a problem: YAML::Value is already a manipulator Jesse Beder 2011-09-10 16:50:44 -05:00
  • 33a71151ca Added helper emitter functions, but we have a problem: YAML::Value is already a manipulator beder 2011-09-10 16:50:44 -05:00
  • 12364895cb Implemented value events emitter Jesse Beder 2011-09-10 16:23:18 -05:00
  • 59ce694ca3 Implemented value events emitter beder 2011-09-10 16:23:18 -05:00
  • 5012063143 Fixed node iterator Jesse Beder 2011-09-10 14:36:10 -05:00
  • b3086ac260 Fixed node iterator beder 2011-09-10 14:36:10 -05:00
  • c3b0ba9d61 New iterators work\! Jesse Beder 2011-09-10 14:16:50 -05:00
  • c12a03473e New iterators work\! beder 2011-09-10 14:16:50 -05:00
  • 4fdbb748ec Updated the node/value classes with the new iterators, they compile until we try to instantiate anything Jesse Beder 2011-09-10 14:11:42 -05:00
  • 89f87d855d Updated the node/value classes with the new iterators, they compile until we try to instantiate anything beder 2011-09-10 14:11:42 -05:00
  • b1730ea3da Finished the main iterator stuff, now have to hook it to the nodes/values Jesse Beder 2011-09-10 14:06:49 -05:00
  • 81243c87d4 Finished the main iterator stuff, now have to hook it to the nodes/values beder 2011-09-10 14:06:49 -05:00
  • 3865d37bc7 Halfway towards factoring out a node_iterator, and then building iterator on top of it Jesse Beder 2011-09-10 13:20:22 -05:00
  • f809206baa Halfway towards factoring out a node_iterator, and then building iterator on top of it beder 2011-09-10 13:20:22 -05:00
  • f5a9d4c8e3 Started emitting events for Values Jesse Beder 2011-09-10 12:42:42 -05:00
  • dcf9309ea8 Started emitting events for Values beder 2011-09-10 12:42:42 -05:00
  • 09beb5c47a Implemented sugar Parse() functions Jesse Beder 2011-09-09 23:40:19 -05:00
  • b8e9b52af7 Implemented sugar Parse() functions beder 2011-09-09 23:40:19 -05:00
  • 6e03bebeb0 Implemented (untested) the value builder Jesse Beder 2011-09-09 23:28:21 -05:00
  • 8185fa48f1 Implemented (untested) the value builder beder 2011-09-09 23:28:21 -05:00
  • a7bdf08c7e Map iterator works\! Jesse Beder 2011-09-09 19:25:11 -05:00
  • 91a3f020ff Map iterator works\! beder 2011-09-09 19:25:11 -05:00
  • cf198080d0 Sequence iterator works\! Jesse Beder 2011-09-09 19:22:17 -05:00
  • f0ae0254d4 Sequence iterator works\! beder 2011-09-09 19:22:17 -05:00
  • 190a556756 Switched iterators to typedef's, with a bit of finagling so we can forward-declare them Jesse Beder 2011-09-09 19:07:37 -05:00
  • b35a332fdd Switched iterators to typedef's, with a bit of finagling so we can forward-declare them beder 2011-09-09 19:07:37 -05:00
  • 9aa3eb56f2 Base iterator stuff compiles :) Jesse Beder 2011-09-09 18:46:37 -05:00
  • f60fb95ab6 Base iterator stuff compiles :) beder 2011-09-09 18:46:37 -05:00
  • ff1a8fc59a Started writing new iterators Jesse Beder 2011-09-09 16:17:59 -05:00
  • 9de9ac7e7e Started writing new iterators beder 2011-09-09 16:17:59 -05:00
  • 7bbf712c36 Made the 'data' member optional in node_ref - it's only created on-demand, so we don't waste extra memory every time we do Value tmp = v; Jesse Beder 2011-09-09 14:26:55 -05:00
  • 603c726811 Made the 'data' member optional in node_ref - it's only created on-demand, so we don't waste extra memory every time we do Value tmp = v; beder 2011-09-09 14:26:55 -05:00
  • 9b985c5ce2 Switched value = otherValue to assign the actual nodes after setting the reference (so that tmp = foo['bar']; tmp = other; is the same as foo['bar'] = other;) Jesse Beder 2011-09-09 14:02:18 -05:00
  • 8e52497d96 Switched value = otherValue to assign the actual nodes after setting the reference (so that tmp = foo['bar']; tmp = other; is the same as foo['bar'] = other;) beder 2011-09-09 14:02:18 -05:00
  • d3bbd08273 Added append() Jesse Beder 2011-09-09 02:51:35 -05:00
  • 7a1e47e03f Added append() beder 2011-09-09 02:51:35 -05:00
  • 4f8680b540 Switched operator[] access to node reference equality, not node equality Jesse Beder 2011-09-09 02:39:36 -05:00
  • 255a392eb9 Switched operator[] access to node reference equality, not node equality beder 2011-09-09 02:39:36 -05:00
  • ec95e61c04 Switched memory to using shared nodes, and node_data to keep only naked node pointers, not shared nodes (to break the cycle, and we don't need weak pointers because their memory is guaranteed to exist, via 'memory') Jesse Beder 2011-09-09 02:29:17 -05:00
  • e32b3cd93f Switched memory to using shared nodes, and node_data to keep only naked node pointers, not shared nodes (to break the cycle, and we don't need weak pointers because their memory is guaranteed to exist, via 'memory') beder 2011-09-09 02:29:17 -05:00
  • 6ffc9ac788 Added half of the std::map conversion (we don't have reading from Values yet) Jesse Beder 2011-09-08 02:10:04 -05:00
  • 37cd3bd53c Added half of the std::map conversion (we don't have reading from Values yet) beder 2011-09-08 02:10:04 -05:00
  • 0e197b8723 Added back the streamable conversions Jesse Beder 2011-09-08 02:05:03 -05:00
  • c080478444 Added back the streamable conversions beder 2011-09-08 02:05:03 -05:00
  • 3d84f57008 Switched convert to a templated struct that can be specialized (so we can partially specialize it) Jesse Beder 2011-09-08 02:02:15 -05:00
  • bb2eafc387 Switched convert to a templated struct that can be specialized (so we can partially specialize it) beder 2011-09-08 02:02:15 -05:00
  • a7ebb3615a Added streamable conversions Jesse Beder 2011-09-08 00:48:40 -05:00
  • 21fbb461c0 Added streamable conversions beder 2011-09-08 00:48:40 -05:00
  • a95baeafd6 Implemented conversion for std::string, including a bypass-accessor to the scalar value Jesse Beder 2011-09-07 15:49:01 -05:00
  • 3b0cc619b2 Implemented conversion for std::string, including a bypass-accessor to the scalar value beder 2011-09-07 15:49:01 -05:00
  • 1ab16bac62 Set the 'memory' to only store node_refs, not nodes Jesse Beder 2011-09-07 14:56:04 -05:00
  • a9c7f8cc5a Set the 'memory' to only store node_refs, not nodes beder 2011-09-07 14:56:04 -05:00
  • 4aa61944fe Implemented is() Jesse Beder 2011-09-07 14:46:25 -05:00
  • 82fa4e71db Implemented is() beder 2011-09-07 14:46:25 -05:00
  • e225509210 Added (another) layer - now 'node_ref' is between node and node_data, and it decrees whether nodes are identical Jesse Beder 2011-09-07 14:44:18 -05:00
  • 980fb59d4b Added (another) layer - now 'node_ref' is between node and node_data, and it decrees whether nodes are identical beder 2011-09-07 14:44:18 -05:00
  • d1eca90216 Implemented map get(), and it would work (I think) if we implemented convert() for strings Jesse Beder 2011-09-07 03:36:50 -05:00
  • 75f3a36547 Implemented map get(), and it would work (I think) if we implemented convert() for strings beder 2011-09-07 03:36:50 -05:00
  • 020cd97915 Set up map searching by templated key Jesse Beder 2011-09-07 03:21:24 -05:00
  • 2d75a631e2 Set up map searching by templated key beder 2011-09-07 03:21:24 -05:00
  • f0174ca08b Reorganized so that we don't have cyclic include problems Jesse Beder 2011-09-07 02:59:58 -05:00
  • 7a3f425720 Reorganized so that we don't have cyclic include problems beder 2011-09-07 02:59:58 -05:00
  • fed95c5da4 Implemented map access by already-existing node Jesse Beder 2011-09-07 02:39:59 -05:00
  • 6fa53f9714 Implemented map access by already-existing node beder 2011-09-07 02:39:59 -05:00
  • a530630f1c Started implementing node_data Jesse Beder 2011-09-07 00:45:28 -05:00
  • a07642f156 Started implementing node_data beder 2011-09-07 00:45:28 -05:00
  • 00e4a56d15 Compiles/links assignment to string Jesse Beder 2011-09-07 00:20:23 -05:00
  • 555cfae28d Compiles/links assignment to string beder 2011-09-07 00:20:23 -05:00
  • 1e6877043e Value stuff compiles/links with lots of placeholder functions Jesse Beder 2011-09-07 00:12:24 -05:00
  • 74ffe6a61b Value stuff compiles/links with lots of placeholder functions beder 2011-09-07 00:12:24 -05:00
  • 248b18a2d0 Sketched more of the implementation Jesse Beder 2011-09-06 23:11:38 -05:00
  • 57617cc5cc Sketched more of the implementation beder 2011-09-06 23:11:38 -05:00
  • 7e79edc058 Moved the value header to its own subfolder Jesse Beder 2011-09-06 16:06:46 -05:00
  • 40605b78c7 Moved the value header to its own subfolder beder 2011-09-06 16:06:46 -05:00
  • 8b97dfe77e Sketched out interface for YAML::Value Jesse Beder 2011-09-06 01:43:15 -05:00
  • 1d7e6a6589 Sketched out interface for YAML::Value beder 2011-09-06 01:43:15 -05:00
  • 3eeb270ef5 Merged from trunk Jesse Beder 2011-09-06 01:10:27 -05:00
  • d6811c42a8 Merged from trunk beder 2011-09-06 01:10:27 -05:00