Paul Novotny and Jesse Beder
6e79997bb2
Use CodeDocs.xyz for Doxygen documentation ( #375 )
...
Add the .codedocs config file and badge to the README.md file.
2016-05-12 08:55:45 -05:00
SirLoxley and Jesse Beder
f35f4a19fa
Fix for broken build on cygwin using gcc - "error '[fileno, strdup, fdopen]' are not in scope" ( #374 )
2016-05-11 23:00:34 -05:00
Jesse Beder
7d2873ce9f
Fix scalar parsing when a line starts with a comment.
2016-04-02 16:02:26 -05:00
Jesse Beder
091ddfa52d
Turn travis email notifications back on.
...
Apparently the default is
on_success: change
on_failure: always
which seems reasonable.
2016-04-01 20:27:26 -05:00
Jesse Beder
883a1e8540
Revert "Add missing include."
...
Reason: broken build.
This reverts commit 0d810ad6d5 .
2016-04-01 20:18:11 -05:00
Tatsuyuki Ishi and Jesse Beder
0d810ad6d5
Add missing include.
2016-04-01 20:11:01 -05:00
Jesse Beder
51b59d11ba
Update .clang-format to use C++ 11 style.
2016-04-01 20:06:28 -05:00
Jesse Beder
bfb5703ce9
Add test to verify that ~ is loaded as null.
2016-04-01 20:01:01 -05:00
Jesse Beder
cc229e87b3
Turn off travis email notifications.
2016-04-01 18:26:52 -05:00
Jesse Beder
ca34a379c7
Add build status to README
2016-04-01 18:26:12 -05:00
Jesse Beder
2a02cee1c8
Fix typos in travis config.
...
Hooray for testing travis configs via pushing to master.
2016-04-01 18:17:58 -05:00
Jesse Beder
2176fd994e
Add osx to travis config.
2016-04-01 18:11:37 -05:00
Jesse Beder
0535811c18
Fix gcc version typo in travis config.
2016-04-01 17:58:36 -05:00
Jesse Beder
c5f6482325
Use gcc 4.7 with travis.
...
gcc 4.6 (the default) does have some C++11 support, but its flag is -std=c++0x. Since 4.7 was released in 2012, I think it's reasonable to require it.
2016-04-01 17:53:46 -05:00
Jesse Beder
d155b0d0d2
Add .travis.yml for running test/run-tests.
2016-04-01 17:32:11 -05:00
TripleWhy and Jesse Beder
52bcefa1f1
Make null handling YAML 1.2 compliant.
2016-04-01 17:14:59 -05:00
Jesse Beder
34bd1a7083
Update CONTRIBUTING.md
2016-03-28 23:47:21 -05:00
Paul Novotny
500db60f89
Include cmake files in install
...
This adds yaml-cpp-config.cmake, yaml-cpp-config-version.cmake, and
yaml-cpp-targets.cmake to the cmake install. As a result, cmake's
find_package can easily find yaml-cpp for software that depends on
yaml-cpp.
Add code to install cmake files to $CMAKE_INSTALL_PREFIX/CMake on
Windows, which is the de-facto standard.
Closes jbeder/yaml-cpp#336 jbeder/yaml-cpp#127
2016-03-27 20:39:41 -04:00
Jesse Beder
178c8d1f27
Add test for parser exceptions for incomplete JSON.
2016-03-26 16:01:00 -04:00
Scott Wolchok and Jesse Beder
0a1352525a
add some tests for RegEx
2016-03-26 14:52:11 -04:00
Craig M. Brandenburg
f327b565ba
Fix line-wrapping in comment in dll.h
2016-03-16 10:41:12 -07:00
Rodrigo Hernandez and Jesse Beder
57805dfd6a
Removed quoted variables to avoid CMP0054 policy warnings on CMake 3.3.0.
2016-01-31 11:44:04 -06:00
Scott Wolchok and Jesse Beder
005a6a19ee
Avoid copying cached RegExes for scalars
...
This improves performance on the test.yaml attached to #158 by about
25% on my machine as compared to the previous commit (0.25s -> 0.20s),
as measured by `time build/util/parse < test.yaml > /dev/null`.
2016-01-30 18:32:00 -06:00
Scott Wolchok and Jesse Beder
8c35a8ffab
Cache scalar regexes
...
This improves performance on the test.yaml attached to #158 by about
35% on my machine (0.39s -> 0.25s), as measured by
`time build/util/parse < test.yaml > /dev/null`.
2016-01-30 18:31:55 -06:00
Jesse Beder
9e37409b4b
Add features to read binary:
...
Flag -n N repeats parsing N times.
Flag -c (--cache) caches the input in a string and uses that to parse.
2016-01-30 18:28:27 -06:00