Jesse Beder
9b4db068bb
Run clang-format
2014-03-22 12:49:16 -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
3e94c0a037
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
Jesse Beder
f34d60ca65
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
Jesse Beder
d1cb1aa74f
Included cstddef to stream.h
2011-02-05 22:28:08 +00:00
Jesse Beder
5b8ca9ce01
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
Jesse Beder
72919adf55
Added header file inclusion guards
2009-07-29 22:27:20 +00:00
Jesse Beder
b1ce042535
Collected pos, line, and column into a Mark struct
2009-07-27 02:56:18 +00:00
Jesse Beder
b113c37819
Clarified some copy/assignment issues with the stream/streamcharsource.
2009-07-10 03:20:16 +00:00
Jesse Beder
b929eb94a0
Merged utf branch changes r178:187 into the trunk
2009-07-10 03:10:03 +00:00
Jesse Beder
9245f9253a
Merged emitter branch into trunk, changes r105:r151
2009-05-22 21:52:31 +00:00
Jesse Beder
9d0e0c6a48
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
Jesse Beder
f9c0725684
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
Jesse Beder
45322566c7
Set the eol style to native for all files.
2008-09-03 22:20:39 +00:00
Jesse Beder
ec2ecad197
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
Jesse Beder
cadc04ce47
Moved all code to src/ and include/ directories.
2008-07-14 04:33:30 +00:00