Jesse Beder and Jesse Beder
61db89741d
Exclude ubuntu/C++ 11/googletest system from the test matrix since it doesn't compile.
2024-12-17 15:59:47 -06:00
Jesse Beder and Jesse Beder
7def2046ff
Fix bazel build, and commit module lock file.
...
Including:
- Remove WORKSPACE and upgrade to MODULE.bazel.
- The integration tests were not included since the directory was misspelled.
- Their header files were not accessible.
2024-12-17 14:49:17 -06:00
Jesse Beder
04dddd6999
Revert "Fix compile warning with -Wshadow"
...
This reverts commit 1f5e971f77 .
See #1306 ; the previous commit caused an error with -Wpedantic:
yaml-cpp/include/yaml-cpp/emitterstyle.h:13:2: error: extra ‘;’ [-Wpedantic]
Since the original commit was to resolve warnings, reverting and the OP can produce a new one that fixes this issue.
2024-08-05 15:50:36 -05:00
Jesse Beder
f732014112
Bump version to 0.8.0.
2023-08-10 14:27:56 -05:00
Jesse Beder and GitHub
974349d015
Fix typo in README about building shared libraries.
2021-12-10 08:54:35 -06:00
Jesse Beder and GitHub
5057a53293
Fix github actions badge.
2021-11-22 22:44:31 -06:00
Jesse Beder and GitHub
634578e477
Add github actions badge to README
...
This replaces the old Travis CI badge that didn't mean anything.
2021-11-22 22:42:51 -06:00
Jesse Beder and GitHub
0d9dbcfe8c
Revert "Hide most of non-public symbols by default ( #984 )" ( #1038 )
...
This reverts commit da1c8d360e . and fixes #1036 .
2021-09-28 08:41:55 -05:00
Jesse Beder
0579ae3d97
Update version to 0.7.0.
2021-07-10 10:53:22 -05:00
Jesse Beder and GitHub
9b8f35093e
Update travis config to use updated versions of OS and compilers. ( #845 )
...
This fixes the linux/gcc error building Google Test with gcc 4.7:
https://travis-ci.org/github/jbeder/yaml-cpp/jobs/668233706
2020-04-07 22:46:47 -05:00
Jesse Beder
c9460110e0
Fix reading empty token stack with a node with properties but no scalar.
...
E.g. `!2`.
2020-01-20 18:16:08 -06:00
Jesse Beder and GitHub
9a3624205e
Update version to 0.6.3.
2019-09-25 09:56:00 -07:00
Jesse Beder
bd7f8c60c8
Disallow moving for the Parser.
...
It wouldn't have compiled anyways, since the Scanner and Directive objects inside it are incomplete types at the time of the move definitions.
2019-03-24 17:01:14 -05:00
Jesse Beder
f5d5604a2c
Update README.
2018-01-28 10:36:23 -06:00
Jesse Beder
aac4df342b
Bump version to 0.6.0.
2018-01-28 10:23:36 -06:00
Jesse Beder
3d9ad75af7
Add <cstdlib> for std::atoi.
2016-11-21 20:22:26 -06:00
Jesse Beder
b5b03bb9ad
Run clang-format.
2016-10-12 00:00:39 -05:00
Jesse Beder
086fec5c35
Fix formatting when writing \ as a character.
2016-10-11 23:58:03 -05:00
Jesse Beder
728e26e426
Update doc, formatting for emit.h.
2016-05-12 23:23:05 -05:00
Jesse Beder
3392ab980e
Update doc, formatting for parse.h.
2016-05-12 23:20:03 -05:00
Jesse Beder
6c569e58b0
Update docs, formatting for Parser.
2016-05-12 23:13:55 -05:00
Jesse Beder
148da47114
Update documentation for Scanner and AnchorDict, and fix formatting.
2016-05-12 23:05:28 -05:00
Jesse Beder
a45a61742b
Remove ptr_stack<T>, in favor of vector<unique_ptr<T>>.
...
(Not stack<unique_ptr<T>> because it wasn't quite a stack; we needed to get the second-to-last element sometimes.)
2016-05-12 22:44:59 -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
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
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
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
Jesse Beder
dfbb388409
Remove unnecessary forward declaration.
2016-01-30 17:36:47 -06:00
Jesse Beder
b57efe94e7
Bump version to 0.5.3.
2016-01-10 12:11:40 -06:00
Jesse Beder
36fd93a8d5
Fix formatting when writing " as a character.
2016-01-10 12:08:42 -06:00
Jesse Beder
97d56c3f36
Remove 'const' modifier on return of Node::as.
...
This enables the return value to be moved, rather than copied.
2015-11-22 11:27:55 -06:00
Jesse Beder
4d44602a5d
Remove mercurial files
2015-03-30 20:33:45 -05:00
Jesse Beder
897cfd5b2e
Rename license file and update copyright date.
2015-03-30 20:32:46 -05:00
Jesse Beder
1a6cb7376a
Add README.
2015-03-30 20:31:59 -05:00