Update libucl to latest version
modified external/libucl/include/ucl.h
@@ -375,9 +375,9 @@ ucl_object_t* ucl_object_insert_key_merged (ucl_object_t *top, ucl_object_t *elt
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -392,24 +392,165 @@ ucl_array_append (ucl_object_t *top, ucl_object_t *elt)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -707,7 +848,7 @@ ucl_object_ref (ucl_object_t *obj) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/libucl/src/ucl_emitter.c
@@ -754,7 +754,8 @@ ucl_object_emit (ucl_object_t *obj, enum ucl_emitter emit_type)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -773,3 +774,56 @@ bool ucl_object_emit_full (ucl_object_t *obj, enum ucl_emitter emit_type,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified external/libucl/src/ucl_internal.h
@@ -159,6 +159,8 @@ size_t ucl_unescape_json_string (char *str, size_t len);
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -280,5 +282,11 @@ ucl_hash_insert_object (ucl_hash_t *hashlin, ucl_object_t *obj)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
modified external/libucl/src/ucl_parser.c
@@ -86,13 +86,18 @@ ucl_chunk_restore_state (struct ucl_chunk *chunk, struct ucl_parser_saved_state
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -150,7 +155,7 @@ start:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -553,18 +558,30 @@ ucl_maybe_parse_number (ucl_object_t *obj,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -627,7 +644,12 @@ ucl_maybe_parse_number (ucl_object_t *obj,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -758,11 +780,11 @@ ucl_maybe_parse_number (ucl_object_t *obj,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -848,10 +870,6 @@ ucl_lex_json_string (struct ucl_parser *parser,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -883,7 +901,7 @@ static bool
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1059,10 +1077,12 @@ ucl_parse_key (struct ucl_parser *parser, struct ucl_chunk *chunk, bool *next_ke
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1074,6 +1094,7 @@ ucl_parse_key (struct ucl_parser *parser, struct ucl_chunk *chunk, bool *next_ke
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1097,7 +1118,7 @@ ucl_parse_key (struct ucl_parser *parser, struct ucl_chunk *chunk, bool *next_ke
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1117,7 +1138,7 @@ ucl_parse_string_value (struct ucl_parser *parser,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1129,7 +1150,7 @@ ucl_parse_string_value (struct ucl_parser *parser,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1138,6 +1159,14 @@ ucl_parse_string_value (struct ucl_parser *parser,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1230,6 +1259,7 @@ ucl_parse_value (struct ucl_parser *parser, struct ucl_chunk *chunk)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1328,7 +1358,7 @@ ucl_parse_value (struct ucl_parser *parser, struct ucl_chunk *chunk)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1349,7 +1379,8 @@ ucl_parse_value (struct ucl_parser *parser, struct ucl_chunk *chunk)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1377,7 +1408,6 @@ ucl_parse_after_value (struct ucl_parser *parser, struct ucl_chunk *chunk)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1406,14 +1436,15 @@ ucl_parse_after_value (struct ucl_parser *parser, struct ucl_chunk *chunk)
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -1596,6 +1627,14 @@ ucl_state_machine (struct ucl_parser *parser)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1657,9 +1696,11 @@ ucl_state_machine (struct ucl_parser *parser)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1706,7 +1747,7 @@ ucl_state_machine (struct ucl_parser *parser)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1724,6 +1765,7 @@ ucl_parser_new (int flags)
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/libucl/src/ucl_util.c
@@ -161,7 +161,7 @@ ucl_unescape_json_string (char *str, size_t len)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -208,8 +208,7 @@ ucl_copy_value_trash (ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -220,7 +219,7 @@ ucl_copy_value_trash (ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -340,7 +339,8 @@ ucl_curl_write_callback (void* contents, size_t size, size_t nmemb, void* ud)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -355,8 +355,10 @@ ucl_fetch_url (const unsigned char *url, unsigned char **buf, size_t *buflen, UT
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -403,8 +405,10 @@ ucl_fetch_url (const unsigned char *url, unsigned char **buf, size_t *buflen, UT
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -430,14 +434,17 @@ ucl_fetch_url (const unsigned char *url, unsigned char **buf, size_t *buflen, UT
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -523,7 +530,7 @@ ucl_sig_check (const unsigned char *data, size_t datalen,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -535,8 +542,8 @@ ucl_include_url (const unsigned char *data, size_t len,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -545,7 +552,7 @@ ucl_include_url (const unsigned char *data, size_t len,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -592,7 +599,7 @@ ucl_include_url (const unsigned char *data, size_t len,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -603,14 +610,17 @@ ucl_include_file (const unsigned char *data, size_t len,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -619,7 +629,7 @@ ucl_include_file (const unsigned char *data, size_t len,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -676,10 +686,10 @@ ucl_include_handler (const unsigned char *data, size_t len, void* ud)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -697,10 +707,24 @@ ucl_includes_handler (const unsigned char *data, size_t len, void* ud)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -748,7 +772,7 @@ ucl_parser_add_file (struct ucl_parser *parser, const char *filename)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|