beder
ced351dec8
Switched the 'pragma once' to only happen on MSVC, or gcc >= 3.4 (it was causing trouble on the sun compiler)
2011-09-06 00:16:03 -05:00
jbeder
b5eaeac0b0
Removed ATOMIC_TYPE, an old enum that wasn't used any more
2011-08-22 21:37:51 +00:00
jbeder
7f9aa35edb
Fixed negative infinity parsing
2011-07-10 18:29:44 +00:00
jbeder
9ec2b96b19
Added parsing .inf and .nan (and friend)
2011-07-10 16:27:40 +00:00
jbeder
ee446d00ea
Added emitting std::set (and refactored the stl emitters a bit)
2011-05-18 21:07:25 +00:00
jbeder
e1f27488d1
Fixed mixed line endings
2011-03-17 02:04:34 +00:00
jbeder
509ba0d640
Marked Parser, Emitter, Node, Iterator, Mark, and Null for exporting to a DLL. It appears to work properly, although VS gives me lots of warning C4251 since I didn't export all data members of each of the above classes.
...
It seems that it's not necessary to export those members (as long as you can't access them), and most of them are STL instances, which apparently cause lots of problems for DLLs. (For example, you simply can't export instances of std::map; see http://support.microsoft.com/kb/168958 .)
2011-03-16 02:31:30 +00:00
jbeder
9d83747162
Removed comparison/implicit conversion operators for Node, and renamed Node::Read<T>() to Node::to<T>()
2011-03-15 05:49:56 +00:00
jbeder
5b1ca74376
Added explicit doc start/end tokens for the emitter, and set it so that if you try to write after you've already written a full doc, it writes a doc start and continues
2011-03-03 09:26:12 +00:00
jbeder
9419d411f8
Set the precision of emitting float/double to 15
2011-03-03 02:38:35 +00:00
jbeder
6f7995d27e
Merged r444:449 from the node refactoring branch to the trunk
2011-03-03 00:19:26 +00:00
jbeder
396e3309de
Refactored bool emitting to make it 1) correct for the short bool form and 2) not barf on early versions of VS
2011-03-02 20:55:05 +00:00
jbeder
c6e085524a
Included 'mark.h' in the graphbuilder so that its method for removing the unused param warning (casting to void) compiles on VS
2011-03-02 20:30:54 +00:00
jbeder
142a4bca9b
Flipped the include guard and the pragma, and don't use the pragma for early versions of gcc (< 3.4)
2011-03-02 06:11:41 +00:00
jbeder
357cd1e122
Fixed 'long long' error in VS 2002, issue 90
2011-03-02 05:15:36 +00:00
jbeder
7b6e87277d
Merged contrib folders from the graphbuilder-api branch, including the recursive search in CMakeLists.txt
2011-03-02 04:48:04 +00:00
jbeder
3192d29e66
Switched exception constants to const char * const (from const std::string) so we don't have to construct them all in every translation unit, and switched the exception class to derive from std::runtime_error (so it handles what() for us)
2011-03-02 04:12:57 +00:00
jbeder
6f6e096316
Added long long types to the emitter
2010-11-15 01:46:33 +00:00
jbeder
8c913c8ce4
Refactored tags so we can emit secondary tags (and named local tags)
2010-10-28 23:06:16 +00:00
jbeder
24dc58b68d
Implemented binary emitting without the binary tag
2010-10-28 21:53:54 +00:00
jbeder
cb8eee46f0
Added more tests for the newline, and disallowed newlines after implicit block keys
2010-10-22 03:53:33 +00:00
jbeder
59745a4cff
Added YAML::Newline manipulator for the emitter
2010-10-21 22:02:29 +00:00
jbeder
973ce78fe1
Merged the other-tags branch into the trunk (this wasn't an rX:Y merge, since the branch wasn't branched directly from the head of the trunk)
2010-10-19 06:46:55 +00:00
jbeder
2d3722db85
Made emitter noncopyable, which should fix any auto_ptr warnings
2010-10-18 07:24:42 +00:00
jbeder
91944e4538
Fixed the rest of the includes to explicitly state yaml-cpp/
2010-10-18 07:22:53 +00:00
jbeder
2a256f2870
Moved all the includes to a subfolder yaml-cpp so they don't interfere with other libraries' includes
2010-10-18 07:05:53 +00:00