Sync libucl with upstream
added external/libucl/ChangeLog.md
@@ -0,0 +1,6 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified external/libucl/configure.ac
@@ -1,7 +1,7 @@
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/libucl/doc/api.md
@@ -52,15 +52,15 @@ Used to parse `ucl` files and provide interface to extract `ucl` object. Current
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -148,7 +148,7 @@ bool ucl_parser_add_file (struct ucl_parser *parser,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -225,7 +225,7 @@ ucl_parser_add_chunk (parser, inbuf, r);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -251,7 +251,7 @@ Libucl can transform UCL objects to a number of tectual formats:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -298,12 +298,12 @@ This function is similar to the previous with the exception that it accepts the
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -311,14 +311,14 @@ Here is a list of all conversion functions:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -350,8 +350,8 @@ Libucl provides the functions similar to inverse conversion functions called wit
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -361,7 +361,7 @@ ucl_object_t * ucl_object_fromstring_common (const char *str,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -385,7 +385,7 @@ const ucl_object_t* ucl_iterate_object (const ucl_object_t *obj,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -412,13 +412,13 @@ bool ucl_object_validate (const ucl_object_t *schema,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -436,4 +436,4 @@ enum ucl_schema_error_code {
|
|
|
|
|
|
| - | |
|
|
| + | |
modified external/libucl/doc/libucl.3
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
@@ -32,10 +32,10 @@ In future, this limitation can be removed.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -46,7 +46,7 @@ These functions are used to convert \f[C]ucl_object_t\f[] to C primitive
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -175,7 +175,7 @@ bool\ ucl_parser_add_file\ (struct\ ucl_parser\ *parser,\
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -290,7 +290,7 @@ ucl_parser_add_chunk\ (parser,\ inbuf,\ r);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -323,7 +323,7 @@ newlines and spaces
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -390,7 +390,7 @@ emitters (including C++ ones, for example).
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -403,8 +403,8 @@ strings and 0 for numbers)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -418,7 +418,8 @@ Here is a list of all conversion functions:
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -429,7 +430,7 @@ A caller should not free this memory.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -467,10 +468,10 @@ converts \f[C]int64_t\f[] to UCL object \-
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -485,7 +486,7 @@ ucl_object_t\ *\ ucl_object_fromstring_common\ (const\ char\ *str,\
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -538,7 +539,7 @@ const\ ucl_object_t*\ ucl_iterate_object\ (const\ ucl_object_t\ *obj,\
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -551,12 +552,12 @@ The object \f[C]obj\f[] should not be changed during the iteration
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -599,8 +600,8 @@ If this function returns \f[C]true\f[] then validation procedure has
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -608,7 +609,7 @@ Error is the structure defined as following:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -629,8 +630,8 @@ enum\ ucl_schema_error_code\ {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/libucl/doc/pandoc.template
@@ -1,6 +1,6 @@
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified external/libucl/src/ucl_parser.c
@@ -1661,6 +1661,11 @@ ucl_state_machine (struct ucl_parser *parser)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/libucl/tests/Makefile.am
@@ -3,7 +3,8 @@ EXTRA_DIST = $(TESTS) basic schema generate.res rcl_test.json.xz
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -30,4 +31,8 @@ test_schema_SOURCES = test_schema.c
|
|
|
|
|
|
| - | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
added external/libucl/tests/basic/11.in
@@ -0,0 +1,3 @@
| + | |
| + | |
| + | |
added external/libucl/tests/basic/11.res
@@ -0,0 +1,2 @@
| + | |
| + | |
added external/libucl/tests/streamline.res
@@ -0,0 +1,8 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
added external/libucl/tests/streamline.test
@@ -0,0 +1,12 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
modified external/libucl/tests/test_basic.c
@@ -33,15 +33,21 @@ main (int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -104,7 +110,15 @@ main (int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -125,7 +139,15 @@ main (int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
added external/libucl/tests/test_streamline.c
@@ -0,0 +1,92 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |