Jesse Beder
|
4ca9269e24
|
Patched signed -> unsigned warning (issue 98)
|
2012-02-14 10:11:44 -06:00 |
|
Jesse Beder
|
01eb370300
|
Added operator >> overload for Binary
|
2012-01-21 02:01:37 -06:00 |
|
Jesse Beder
|
d760d037ca
|
Renamed the base64 methods, and switched the EncodeBase64 one to return a string (to make it easy to use elsewhere)
|
2012-01-21 01:33:49 -06:00 |
|
Jesse Beder
|
6105d4cfeb
|
Refactored the base64 binary to its own space with a unified class that (will) be used for parsing (in addition to emitting)
|
2012-01-21 01:18:37 -06:00 |
|
Jesse Beder
|
b688c93050
|
Put all the old-api stuff back in the main folder, for simplicity
|
2012-01-20 23:55:39 -06:00 |
|
Jesse Beder
|
1723523c43
|
Removed the new API from the default branch
|
2012-01-20 23:50:39 -06:00 |
|
Jesse Beder
|
d772361f15
|
Fixed hex and oct emitting (it now adds the 0x or 0 prefix)
|
2012-01-13 00:00:11 -06:00 |
|
Jesse Beder
|
ddc578dbd7
|
Added LoadFile and LoadAllFromFile (new API)
|
2012-01-11 21:31:01 -06:00 |
|
Jesse Beder
|
8906ae9a0d
|
Fixed bug in parsing escaped newline (it was being clipped like a regular newline)
|
2012-01-11 17:55:27 -06:00 |
|
Jesse Beder
|
7ace0e93d2
|
Fixed signed/unsigned mismatch with the new precision code
|
2012-01-11 16:50:06 -06:00 |
|
Jesse Beder
|
97fa02a484
|
Disallowed a plain scalar with just a dash
|
2012-01-11 16:39:24 -06:00 |
|
Jesse Beder
|
5024caa69c
|
Added float/double precision setters
|
2012-01-11 14:34:04 -06:00 |
|
Jesse Beder
|
5b32d89222
|
Fixed compiler error in iterator_base friend forward declaration in node on clang (and I hope MSVC), plus warnings on clang
|
2012-01-07 01:42:21 -06:00 |
|
Jesse Beder
|
3099d51ba4
|
Added single character emitting
|
2011-11-14 16:23:14 -06:00 |
|
Jesse Beder
|
62634f53ec
|
Fixed emitter bug with colon at the end of a scalar in a flow collection
|
2011-10-31 19:16:17 -05:00 |
|
Jesse Beder
|
860365b263
|
Switched the utf bom checking to putback in the stream (instead of keeping a secondary buffer), which fixes a bug when there's only one ascii character
|
2011-10-20 22:29:41 -05:00 |
|
Jesse Beder
|
c953ce0b07
|
Fixed broken includes when using the old api
|
2011-10-18 15:13:10 -05:00 |
|
Jesse Beder
|
70e1eb3f9c
|
Fixed the #ifdefs for the api stuff
|
2011-10-18 14:47:35 -05:00 |
|
Jesse Beder
|
f3b230693a
|
Moved conversion.cpp to the old api, where it belongs
|
2011-09-14 01:49:06 -05:00 |
|
Jesse Beder
|
f64f619c29
|
Added bool conversions
|
2011-09-14 01:48:36 -05:00 |
|
Jesse Beder
|
e5d0366797
|
Added Dump()
|
2011-09-13 14:49:00 -05:00 |
|
Jesse Beder
|
c3798d9bd4
|
Added tags to Node emitter output
|
2011-09-13 14:47:33 -05:00 |
|
Jesse Beder
|
e3d5ec189d
|
Switched YAML::Parse to YAML::Load, and added LoadAll
|
2011-09-13 14:24:47 -05:00 |
|
Jesse Beder
|
69af9b420a
|
Copied 2.x tests with tags
|
2011-09-13 14:07:22 -05:00 |
|
Jesse Beder
|
0987b234c3
|
Added tags to Node
|
2011-09-13 14:00:47 -05:00 |
|
Jesse Beder
|
fddc991b60
|
Fixed NodeBuilder bug when an alias was in a map - we weren't pushing that guy as a key
|
2011-09-12 14:24:27 -05:00 |
|
Jesse Beder
|
3337df7ca2
|
Fixed new API node key/value insertion in NodeBuilder (it was using the wrong condition on when it had added a key already)
|
2011-09-12 13:25:41 -05:00 |
|
Jesse Beder
|
4568dd0b19
|
Started specialization for operator[] for integers
|
2011-09-11 21:32:47 -05:00 |
|
Jesse Beder
|
a308b73e8a
|
Set the map iterator to filter over undefined items
|
2011-09-11 19:44:27 -05:00 |
|
Jesse Beder
|
a03af5dd73
|
Implemented the map size computation
|
2011-09-11 17:16:26 -05:00 |
|
Jesse Beder
|
b50264e74d
|
Switched the implementation of maps from list<pair> to map (but just pointer comparison)
|
2011-09-11 16:56:38 -05:00 |
|
Jesse Beder
|
ecdd9cc66d
|
Added computing and caching the sequence size
|
2011-09-11 16:21:36 -05:00 |
|
Jesse Beder
|
2d81e46655
|
Added dependency management (to cause nodes to become defined if their children do)
|
2011-09-11 15:59:53 -05:00 |
|
Jesse Beder
|
b4963ab0fa
|
Added a few simple node tests, and the sequence one doesn't pass (let's work now)
|
2011-09-10 23:31:12 -05:00 |
|
Jesse Beder
|
2d06df474b
|
Fixed up the old API stuff, and removed the util/value (since it's no longer needed)
|
2011-09-10 23:11:28 -05:00 |
|
Jesse Beder
|
80cf3c98db
|
Fixed minor things that used the old API, compiles/links/runs\!
|
2011-09-10 22:59:27 -05:00 |
|
Jesse Beder
|
0d1b5224c8
|
Major switch from Value -> Node. The library compiles with the new API, but tests are still oldies, and don't compile
|
2011-09-10 17:57:23 -05:00 |
|
Jesse Beder
|
ac81d7c883
|
Start of moving Value -> Node and Node -> old API Node (with a #define toggle)
|
2011-09-10 17:18:15 -05:00 |
|
Jesse Beder
|
78b7a1b8a9
|
Added helper emitter functions, but we have a problem: YAML::Value is already a manipulator
|
2011-09-10 16:50:44 -05:00 |
|
Jesse Beder
|
12364895cb
|
Implemented value events emitter
|
2011-09-10 16:23:18 -05:00 |
|
Jesse Beder
|
5012063143
|
Fixed node iterator
|
2011-09-10 14:36:10 -05:00 |
|
Jesse Beder
|
4fdbb748ec
|
Updated the node/value classes with the new iterators, they compile until we try to instantiate anything
|
2011-09-10 14:11:42 -05:00 |
|
Jesse Beder
|
f5a9d4c8e3
|
Started emitting events for Values
|
2011-09-10 12:42:42 -05:00 |
|
Jesse Beder
|
09beb5c47a
|
Implemented sugar Parse() functions
|
2011-09-09 23:40:19 -05:00 |
|
Jesse Beder
|
6e03bebeb0
|
Implemented (untested) the value builder
|
2011-09-09 23:28:21 -05:00 |
|
Jesse Beder
|
ff1a8fc59a
|
Started writing new iterators
|
2011-09-09 16:17:59 -05:00 |
|
Jesse Beder
|
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;
|
2011-09-09 14:26:55 -05:00 |
|
Jesse Beder
|
d3bbd08273
|
Added append()
|
2011-09-09 02:51:35 -05:00 |
|
Jesse Beder
|
4f8680b540
|
Switched operator[] access to node reference equality, not node equality
|
2011-09-09 02:39:36 -05:00 |
|
Jesse Beder
|
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')
|
2011-09-09 02:29:17 -05:00 |
|