improves sstrstr function by using KMP string search algorithm

reduces amount of realloc calls in sstrsplit

adds an optimization for one-byte delimiters to sstrsplit (will take effect after planned reimplementation of sstrstr)

reimplementation of sstrsplit

adds new test case for sstrsplit: string ends with delimiter but empty string exceeds list bound

improves handling of special cases delimiter size >= string size in sstrsplit

adds missing stdint.h include for int32_t + fixes possible implicit const cast overflow + adds support for DESTDIR variable in Makefile

removes ucx_list_prepend_once() - this was a big mistake....

adds ucx_list_append_once() and ucx_list_prepend_once()

fixes memory leak in test_ucx_buffer_eof

adds web documentation to project

updates documenting comments

documents UCX_STREAM_COPY_BUFSIZE

fixes ucx_sprintf macro and adds tests for sprintf and bprintf

changes ucx_stream_Xcopy API

removes superfluous UCX_VERSION macro

fixes UCX_FOREACH documentation

fixed misaligned memory access in test_ucx_buffer_write

fixed further usages of SIZE_MAX

removed dependency to stdint.h in stack header

added casts for mallocs in AVL implementation (to satisfy c++ compiler)

removed some implementation details from documentation + fixed ucx_buffer_write doc

added sstrstr() function + improved sstrsplit variants by using sstrprefix()

added important test case to sstrsplit and fixed bug with consecutively occurring delimiters + fixed build system not linking test binary with newest library build

(0) -100 -50 -24 +24 +50 +100 +300 tip

mercurial