Commit Graph

19 Commits

Author SHA1 Message Date
Jesse Beder
10d873ced4 Add EmitterStyle, which will allow sequence or map style (i.e., flow or block) to be preserved between parsing and emitting 2015-01-24 12:19:20 -06:00
beder
6b3c2249d7 Fix UTF16 parsing for multi-byte characters 2014-03-23 20:24:36 -05:00
beder
a11c70679e clang-format 2014-03-23 20:08:54 -05:00
beder
08a5d4c673 Run IWYU 2014-03-22 22:46:04 -05:00
beder
1069bce879 Run clang-format 2014-03-22 12:49:16 -05:00
beder
92d7a27538 Patched signed -> unsigned warning (issue 98) 2012-02-14 10:11:44 -06:00
beder
21de6ba56c 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
jbeder
189e7e1a93 Removed crt stuff (we can do memory leak checking in Linux easier) 2009-10-27 14:55:01 +00:00
jbeder
f69bd13b0f Collected pos, line, and column into a Mark struct 2009-07-27 02:56:18 +00:00
jbeder
876f11e990 Merged utf branch changes r178:187 into the trunk 2009-07-10 03:10:03 +00:00
jbeder
705d04c50d Patch for gcc -Wall (order of initialization) 2009-05-29 22:36:52 +00:00
jbeder
070ee1dc99 Merged aliases branch into trunk, changes r100:150 2009-05-22 21:48:05 +00:00
jbeder
cd7a9fc098 Fixed several bugs from the new file i/o setup.
In particular:
1. Windows CR/LF weren't read properly (issue #11)
2. Scanning wasn't reading EOF properly
3. Documents may be empty (this was old, I think)
Also fixed some VS2008 warnings on /W4.
2009-02-07 07:57:13 +00:00
jbeder
c7e762ee89 Switched to reading the entire file into a buffer at the start.\nThis speeds it up a TON (like 100x). 2009-02-01 20:48:43 +00:00
jbeder
0c384260a4 Set the eol style to native for all files. 2008-09-03 22:20:39 +00:00
jbeder
d4cc7a07f8 Unified line endings. 2008-09-03 22:17:17 +00:00
jbeder
113193209e Added CMake scripts for other platforms\nFixed some bugs that gcc complained about\nFixed CR/LF vs LF bug 2008-08-07 03:30:56 +00:00
beder
7e47a0b754 Replaced the queue of Token pointers with values.
We were getting memory leaks (as told by the CRT detectors, which I also added), and there's really no reason (as long as we're careful) to use pointers there.
2008-07-20 05:02:01 +00:00
beder
68793e425e Moved all code to src/ and include/ directories. 2008-07-14 04:33:30 +00:00