Commit Graph

1224 Commits

Author SHA1 Message Date
Christopher Dunn
9f8abcb258 Indentation is not perfect, but pretty good. Not sure how to perfect, given the difficulty of testing the last char written. 2007-06-13 17:02:01 +00:00
Christopher Dunn
605cd7e902 Added StyledStreamWriter, which has no reason to derive from Writer, since its write() method does cannot return a string and must take a stream. 2007-06-13 15:55:50 +00:00
Christopher Dunn
8985cee674 Added prop svn:eol-style native. Stripped carriage-returns on unix. Hopefully, this will work for Windows too now. 2007-06-13 15:52:48 +00:00
Christopher Dunn
6d135cb5e3 Added prop svn:eol-style native. Stripped carriage-returns on unix. Hopefully, this will work for Windows too now. 2007-06-13 15:51:04 +00:00
Christopher Dunn
b2f720456e Added prop svn:eol-style native. Stripped carriage-returns on unix. Hopefully, this will work for Windows too now. 2007-06-13 15:48:30 +00:00
Christopher Dunn
a44cffb342 Fixed compilation warnings. Added -Wall to linux-gcc compilation. JSON_ASSERT_MESSAGE now throws exception (but JSON_ASSERT does not). 2007-05-09 19:35:15 +00:00
Christopher Dunn
842d64e8d7 Added virtual destructor to StyledWriter to avoid -Wall warning from g++ 2007-04-19 22:20:46 +00:00
Christopher Dunn
f153eaaed0 Fixed 2.95.3 header probs 2007-03-23 10:19:49 +00:00
Christopher Dunn
56a1d6cbf5 Added istream/ostream funcs/operators 2007-03-23 09:57:01 +00:00
Christopher Dunn
2370789d67 Renamed buildLibary to buildLibrary and added SharedLibrary rule. 2007-03-23 08:57:57 +00:00
Christopher Dunn
208a781e47 Added empty() operator-bang and isNull() 2007-03-23 08:55:25 +00:00
Christopher Dunn
1aa20f9e58 Added removeMember() and altered a few comments. 2007-03-23 08:30:20 +00:00
Christopher Dunn
02ff716d2f Added/clarified comments. Move extra verbiage out of brief sections. 2007-03-23 07:28:19 +00:00
Christopher Dunn
0c498695a7 fixed compiler warning 2007-03-23 07:16:59 +00:00
Christopher Dunn
ca21256395 setComment() will assert if comment does not start with / (or if it were NULL, which would have seg-faulted before). 2007-03-23 07:05:19 +00:00
Christopher Dunn
8386d3efe1 Added comments, pre- and post-condition for resize(), clear(), Value(ValueType). 2007-03-23 06:38:29 +00:00
Christopher Dunn
5674738668 [1611376]by reserving the max string-size when escaped chars exist, we should save some runtime. 2007-03-23 06:12:28 +00:00
Christopher Dunn
ce1f32981b [1611376]writer now escapes special characters. When no special chars are present, old behavior is retained. New method might have a performance penalty b/c of operator new inside std::string. (This would not exist if the whole thing operated on ostream instead, I think.) 2007-03-23 05:56:39 +00:00
Christopher Dunn
fe536c0631 [1587188]Fixed parsing of comment at tail of object. 2007-03-23 05:04:38 +00:00
Christopher Dunn
3ffbf208a0 Fixed gcc 2.95.3 problem. Bug: 1570919 2007-03-23 04:55:07 +00:00
Christopher Dunn
baca6c23c2 Added newline b/c of gcc--warning: no newline at end of file 2007-03-23 03:31:35 +00:00
Baptiste Lepilleur
2d4dd281f1 - Made FastWriter output more compact.
- fixed bug in runjsontests.py script.
2007-03-17 22:14:59 +00:00
Baptiste Lepilleur
4cd8bae331 - reorganized repository to match standard layout 2007-03-15 22:11:38 +00:00
Baptiste Lepilleur
d3a114c906 - reorganizing repository to match standard layout 2007-03-15 22:04:34 +00:00