implement string to integer conversions

avoid copying the filled data in the json parser when possible - fixes #530

add references between both variants of the properties fill function

downgrades the severity of the advice in cxPropertiesFilln() from attention to remark

add tests for JSON create functions and fix a bug in cxJsonCreateCxString()

add documentation for json value creation API

fix cxJsonObjPut() for existing keys

add implementation for creating new json values

fix missing definition of SSIZE_MAX in windows

add temporary implementations for string to number and first test cases

fix another missing free() in json tests

make cx_strcast() also support cxstring

fix cx_hash_key_cxstr() being a macro

implement all string to number conversions that are just wrappers

don't trust that size_t always has word width

fix datatype in long long variants

add attributes to string to number conversion functions

add documentation for string to number conversion functions

add function prototypes and macros for string conversion function

add missing libc string.h include

fix missing errno.h include

add some more overflow treatment and make sure to set errno properly

upgrade Doxyfile

fix outdated documentation in properties.h

generify cxJsonObjGet() - fixes #525

add missing documentation for struct cx_properties_config_s

add missing documentation in iterator.h

add missing documentation of CX_WORDSIZE

add cxJsonArrIter() - fixes #524

fix memory leaks in json tests

rework of properties parser - fixes #529 and resolves #458

add cxBufferAppend() - fixes #534

add advice to set the size of a buffer initialized with existing data

add copy-on-extend feature to UCX buffer - fixes #533

add CHANGELOG entry for issue #431

merge remote changes

add CHANGELOG entry for issue #531

add copy-on-write feature to UCX buffer - fixes #531

fix out of range access in test on platforms which are actually shrinking the buffer

add shortcut to binary search when array size is one

add szmul.c to msvc project

fix wrong "variant" of zero/NULL/false

add explicit casts to silence warnings

fix compilation for compilers which don't set __WORDSIZE

add check for C23 compatibility

add sys/types.h to the common includes to fix a problem with ssize_t

increase test coverage

fix number parser not detecting integers out of range

add cxJsonReset() and cxPropertiesReset()

add documentation - resolves #431

and changelog entry for issue #523

add fake doc to mute doxygen complaints

minor cleanup

json: enable multiple subsequent fills - relates to #431

fix that cxBufferSeek() cannot move pos past the end - fixes #523

fix stupid initialization of target buffer in tests where no flush target is used

add cxBufferTerminate()

make cxBufferEof() return a bool

add test case to cover new branches inside cx_strcat_ma()

add status codes to json parser - relates to #431

change cx_strcat variants to allow handling of ENOMEM

simplify how the json parser works

add cx_array_reserve() and several more array convenience functions

make cx_array_copy() support different types for size/capacity - fixes #492

fix missing cxMempoolFree in json allocator test

add support for allocators to the json parser

fix cx_array_advanced_realloc to handle reallocation of NULL arrays, consistent with standard realloc behavior

remove map detach function - fixes #487

make names of destroy and free functions consistent - fixes #484

missing comma in map iterator docs

cxBufferFree() now calls cxBufferDestroy()

automatically disable szmul builtin when testing with coverage

improve consistency for allocator arguments - fixes #485

make ucx C++ compatible again (and add tests for it) - fixes #486

add configure option for szmul

simplify cx_array_copy() - fixes #474

major refactoring of attributes

let cxMapDestroy() ignore NULL as any free()-like function should do

instruct Doxygen to expand all macros

add -c flag to ARFLAGS to suppress diagnostic message on stderr

add script to invoke make check with different configurations

remove obsolete reference to previously removed cxPropertiesInput()

fix broken docs target after uwproj update

fix memory leaks in json tests

add test for reading multiple json values

fix missing value_ready reset when returning a CxJsonValue

adds test case for numbers - currently fails due to issue #482

fix copy-pasted parameter name

add UCX string support to cxJsonFill()

add support for UCX strings in cxPropertiesFill()

rename utils.h to streams.h

move szmul to common.h

simplify parsing of numbers

add assertion that triggers when cx_array_copy() stops working for NULL arrays

simplify parsing of array and object elements

treat integers and doubles both as JSON numbers

remove single-member structs

fix test function names not in line with naming convention

add reallocarray() like functions - resolves #468

remove cx_for_n() macro - fixes #467

increase list test coverage - fixes #454

test coverage does not really work with clang

add common.h include to test.h - fixes #464

update build dependencies for json.c

fix map.h C++ inline functions not ported to new collection base class

fix comparing size_t with int

remove cx_swap_ptr()

use cx_array_add() instead of reimplementing the magic

add function to create array reallocator that can move arrays from stack to heap

add msvc support

remove dynamic arrays which are not supported by msvc

fix missing pointer initializations

(0) -1000 -112 tip

mercurial