Jesse Beder and GitHub
8a9a7b74ef
Update CONTRIBUTING.md
...
Add some details about testing.
2024-12-22 16:16:07 -06:00
Jesse Beder and GitHub
d45c4fba3e
Update README.md
2024-12-18 11:43:01 -06:00
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
IMaloney and Jesse Beder
1da813f56a
ensuring local tags are retained after loading a node + test
2024-12-17 09:20:46 -06:00
Phil Miller and Jesse Beder
f878043f12
Don't install embedded copy of GTest
...
Goole Test itself documents the `INSTALL_GTEST` option as something that projects embedding it should set to `OFF`. Leaving it on means that projects downstream from libraries that embed it are likely to encounter conflicting copies. This is particularly annoying because GTest does not maintain anything like a stable API, and so causes builds to fail if include paths pick up an inappropriately installed copy ahead of the one that the code wanted.
Fixes #488
2024-12-17 09:12:49 -06:00
Simon Gene Gottlieb and Jesse Beder
9ce5a25188
fix: spell fix
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
ebfbf27115
patch: added more defensive programming techniques
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
06ffaf3104
remove reduntant license information
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
0b945415fd
fix: add missing include
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
82f3c04081
fix: add YAML_CPP_API for windows-shared library builds
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
d8de96524c
patch: move dragonbox.h from 'include' folder to 'src' folder
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
5d9e4b6251
patch: split fp_to_string.h into fptostring.h and fptostring.cpp
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
28c0a1bc25
doc: add a little more information to dragonbox file
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
72865f7d32
fix: remove trailing return types
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
f4bca79dc4
fix: fp_to_string uses now 2 spaces
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
d4e00bd473
fix: rename fp_to_string to FpToString to match coding style
2024-11-07 15:14:36 -06:00
Simon Gene Gottlieb and Jesse Beder
bd070a7b76
fix: prettier floating point numbers
...
Add dragonbox to compute the required precision to print floating point
numbers. This avoids uglification of floating point numbers that
happen by default via std::stringstream.
Numbers like 34.34 used to be converted to '34.340000000000003' as strings.
With this version they will be converted to the string '34.34'.
This fixes issue https://github.com/jbeder/yaml-cpp/issues/1289
2024-11-07 15:14:36 -06:00
Reini Urban and Jesse Beder
3d2888cc8a
missing keys should throw InvalidNode, not BadConversion
...
Fixes GH #1274
2024-11-01 10:25:39 -05:00
Federico Di Pierro and Jesse Beder
c2bec4c755
chore(test): moved infiniteloop test to load_node_test suite.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2024-10-29 22:21:05 -05:00
Federico Di Pierro and Jesse Beder
29c59c01d4
new(test): added a test to avoid future issues with LoadAll().
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2024-10-29 22:21:05 -05:00
Federico Di Pierro and Jesse Beder
bc67157109
fix(src): avoid possible infinite loop in LoadAll().
...
Leave at first empty root.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2024-10-29 22:21:05 -05:00
Federico Di Pierro and Jesse Beder
da82fd982c
chore(test/integration): refactor some test cases to their own test.
...
Plus, check that the content is what we actually expect.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2024-09-13 10:18:41 +02:00
Federico Di Pierro and Jesse Beder
1f2b841949
fix(src,include,test): fixed multiple cases where a bad yaml was accepted.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2024-09-13 10:18:41 +02:00
Orgad Shaneh and Jesse Beder
47cd2725d6
Remove build debug messages
...
They were commented out before 0733aeb45 , but when that commit
was reverted in 2b65c65e1 they were recovered uncommented.
2024-08-27 12:23:42 -05:00