fix wrong return value documentation for cxMapEmplace()

add json array clone tests

add more json array compare tests

fix unexpected token error when parsing an empty json array

add json clone tests, obj tests still dysfunctional - relates to #785

add cxJsonClone - resolves #785 except for the tests

fix incorrect definition of cx_clone_func fptr

optimize cxJsonCompare in case both value pointers are identical

fix misplaced includes

changelog fixes and make dependency fixes

add json array compare tests

extend json compare test

fix critical UAF because kv-list stored pointers to the wrong key data

add json compare tests

fix that cxJsonCompare() is not symmetric when comparing integer with double

fix that cxJsonCompare() could not compare integers with numbers

add cxJsonCompare()

removes the CX_STR() macro and instead makes the cx_str() inlinable

fix previous removal of clean target from makefile.mk breaking check-cxx target

fix misplaced parenthesis

add cxMapCompare() - resolves #784

add break_on_failure debugging macro to ucxtest.c

simplify cxBufferAppend() because it does not need to care about flushing anymore

improves cxBufferPutString() and adds cxBufferAppendString() - resolves #779

improves cxBufferTerminate()

fix missing error handling when terminating the string

add cxJsonToString() and cxJsonToPrettyString() - resolves #778

adds new CX_BUFFER_DO_NOT_FREE buffer flag

removes buffer flush and adds maximum capacity instead - resolves #185

add test for multiple consecutive line continuations

adjusts documentation regarding line continuation support - relates to #457

add CHANGELOG entry for the bug found by test issue #777

fix cxJsonFromString() ignoring unexpected trailing data + fix wrong handling of trailing whitespaces in general

fix that the docu does not explain that you must reset a parser that ran into an error

fix that cxJsonFromString() stores NULL instead of a "nothing" value in case of a fill error

fix that token_destroy() did not set token->allocated to false

fix memory leak in the json parser and add more tests for cxJsonFromString - relates to #777

add support for line continuation in the properties parser - resolves #457

add more tests for cxPropertiesLoad()

add note that cxPropertiesLoad() does not roll back the changes to the map on error

fix that cxPropertiesLoad() is not falling back to the default allocator when the allocator is NULL

fix return value of cxPropertiesLoad() for non-empty files that do not contain keys

add allocator support to cxPropertiesLoad() - resolves #776

add cxJsonFromString() - resolves #771

properties.h: removes the source/sink API and adds a new cxPropertiesLoad()

changes cxFreeDefault() from a macro to a function so that it can be used as a simple destructor

fix the note about AnyStr and add it to the files where it was missing

fix order of bugfixes and removed features in changelog

improve member names of CxJsonArray

fix the example in json.h.md after removing the sort_members flag

changes CxTree structure so that it now inherits CX_COLLECTION_BASE - resolves #629

fixes cxJsonWrite() incorrectly returning non-zero when strings needed to be escaped

replace JSON object member array with kv-list - resolves #762

fixes that overwriting elements with cxMapPut() in a kv-list did not work

fixes critical memory leak when using cxMapFree() on a kv-list that is using destructors

add .clang-tidy file to mute warnings about using NULL instead of nullptr

use an anonymous union for the CxJsonValue

change cxBufferReserve() to allow reducing the capacity

fix that certain reallocate functions did not properly support size zero

fix name of cx_system_page_size() in allocator.c

add cx_system_page_size() to allocator.h

make clean and distclean are now independent from config.mk

add documentation for cx_linked_list_extra_data()

start development of UCX 4

(0) -1000 -300 -100 -64 tip

mercurial