fixes build on FreeBSD and macOS

fixes string replace function in case replmax is 0

adds more sstrreplace tests

adds CHANGELOG

fixes another leak in string replace function

fix: index buffer in string replace was not freed

adds string replace functions

adds install target for cmake builds

fixes logging of absolute paths in ucx_logger_logf()

adds proper cmake build targets

adds set operations for UcxMap

adds missing documentation for custom multiplication function

adds very simple cmake wrapper

adds set operations to UcxList

updates the web doc for array

removes some bugs by redesigning the array API

removes c11 default again and leave the choice to the user

fix: configure.ac

adds testcase to uncover a bug in ucx_array_append()

fix: missing documentation for first param in ucx_array_init_a()

adds case independent versions of sstrprefix() and sstrsuffix()

fixes hard to use documentation in string.h

adds automatic c11 detection to configure.ac

adds missing include for strncasecmp() to avoid an implicit declaration

merges the UcxArray implementation

adjusts the UcxArray documentation to the recent changes feature/array

tells libtool to prefer the static library to avoid accidental testing against a previously installed version of ucx feature/array

fixes two bugs: clone to uninitialized array and missing return in ucx_array_ensurecap() feature/array

changes UcxArray from value to pointer semantics feature/array

adds array utility functions for user defined arrays feature/array

improves array append/prepend/set interface feature/array

renames ucx_array_free() to ucx_array_destroy() feature/array

merges master changes feature/array

fixes dist_int() function in AVL tests broken on 32 bit platforms

fixes array_equals test (broken on 32 bit platforms) feature/array

adds a broader set of compare and distance functions feature/array

use qsort_s on solaris feature/array

fixes build on FreeBSD feature/array

fixes #ifdefs to be sure no redefine can ever happen feature/array

ucx_array_sort() uses qsort_r(), if available feature/array

reverts deletion of tests for ucx_array_at() feature/array

adjusts the documentation for ucx_array_sort() to the current plans feature/array

removes cumbersome array accessor macros feature/array

resets revision number feature/array

adds documentation feature/array

fixes doxygen doc feature/array

adjusts library version feature/array

adds ucx_array_set() feature/array

implements ucx_array_sort() feature/array

fixes inappropriate size datatype in list merge sort feature/array

adds array interface and tests feature/array

fixes an url typo which survived surprisingly long

Added tag v2.0 for changeset 3b985a4eb05b

fixes ucx_szmul definition for gcc < 5 v2.0

adds some additional avl tree tests

adds Eclipse hidden files to .hgignore

makes g++ happy again

UcxMap now separates internal non-const keys from public const keys

being more precise on the different required behavior of a destructor function for pooled and non-pooled memory

changes sstr shortcut macros s.t. they distinguish sstr_t and scstr_t + add macros which can completely disable the shortcuts

fixes logging messages starting with '- ' when no additional information is selected

removes deprecated ucx_list_append_once() and ucx_list_prepend_once()

Tags finalization of the scstr_t integration.

adds scstr_t to modules.md + fixes parenthesis bug in sstrsplit_a macro scstr_t-final

use 'convert' as more precise term than 'cast' for the conversion from sstr_t to scstr_t

unifies naming of sstr_t related and scstr_t related functions

adds remaining documentation for the scstr functions

overflow of sstrnlen should return SIZE_MAX instead of zero

adjusts documentation of UCX string types, converters, and constructors

finally removes the underscore of ugliness from ucx_str_cmp() and ucx_str_casecmp()

renames int and longint distance and compare functions according to the new scheme

renames ucx_doublecmp() and ucx_floatcmp() to ucx_cmp_double() and ucx_cmp_float()

renames ucx_ptrcmp() to ucx_cmp_ptr()

renames ucx_memcmp() to ucx_cmp_mem()

renames ucx_sstrcmp() to ucx_cmp_sstr()

renames ucx_strncmp() to ucx_cmp_strn()

renames ucx_strcmp() to ucx_cmp_str()

closes constsstr branch constsstr

merges constsstr branch

Version 1.1 (library version 2:0:1).

fixes typo in modules.md v1.1

adds documentation for ucx_szmul and 32 bit support

comprehensive code example for the memory pool

documentation for the UcxStack

completes conversion to scstr constsstr

adjusts code sample for UcxMap

adds a code sample for UcxMap

documentation for the testing framework

fixes logger test case

documents (and fixes!) the UcxLogger

example code for the usage of a UcxList

adds deprecation notice for *_append/prepend_once()

adds ucx_sstrcmp() compare function to utils.h

adds ucx_list_prepend_once() and ucx_list_prepend_once_a()

adds new shift operations for UcxBuffer (including tests and a usage example in modules.md)

adds ucx_buffer_to_sstr() macro

makes sstrcat and sstrnlen scstr_t compatible constsstr

adds ucx_avl_free_content() function and documentation in modules.md

adds distance functions for integers as utils

adds ucx_longintcmp() compare function

introduces macro for library version, s.t. both version numbers can be changed in configure.ac

adds more convenience macros for sstr

minor formatting fix in modules.md

doc: adds ucx_sprintf() and ucx_bprintf() samples + fixes leftmenu

removes artificial anchors from modules.md

doc: MWE for ucx_stream_copy()

tell the user how allocation of property values works

makes destructor functions for *_free_content() optional + more documentation for UcxProperties

adapts sstrtrim, sstrsplit, sstrcmp and sstrstr to new const string API constsstr

adds scstr_t struct for const strings and adapts some string functions constsstr

Tag as version 1.0.1

fixes return value for multiplication with zero in ucx_szmul v1.0.1

adds integer overflow checks to sstrlen and sstrcat

makes default_allocator static

adds integer overflow checks

ucx_buffere_getc should return an unsigned char (0-255) or EOF (-1)

removes man dir from clean target of doc makefile

restructures documentation + adds some examples for sstr_t

toc for examples

fixes bad header specification in root Makefile.am

web doc has now proper titles

fixes sourceforge link in doxygen doc

fixes sourceforge link in doxygen doc

UCX release

rename LICENSE to COPYING to be distributed by autoconf v1.0

modules documentation

removes "integration" from documentation

TOC for modules documentation

documentation will now be generated using pandoc

adds support for older automake versions + comments in configure.ac

fixes include path and non-cpp build for test program

removes unnecessary macros from ucx.h + removes the usage of restrict and _Bool completely, instead of defining macros

removes custom make files and adds autoconf support

changes source directory structure in preperation for autotools rollout

updates license

removes unusedFunction check for now (we may add it later to get a further indicator for test coverage)

explicit cast from (void*) for (ucx_memchunk*) to silence a warning

fixes wrong format specifier in test result output

adds cppcheck make target

adds AVL predecessor and successor functions

adds const qualifiers to compare, distance and copy function signatures

adds distance function and ucx_avl_find_node()

safe one multiplication in overflow check for mempool_chcap()

removes unused ucx_mempool_clamp() and changes storage behavior of mempool to increase the capacity by a factor of two

ucx_mempool_free() aborts execution instead of just exiting on failure

fixes integer overflow in ucx_buffer_extract

fixes major bug in construction of KMP prefix table for strstr()

further performance tweaks to sstrstr() function

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

fixed name of ucx_list_free_content()

added ucx_list_free_contents()

added sstrlower / sstrupper variants

moved ucx_destructor type to ucx.h and added destructor argument to ucx_map_free_content

added convenience function ucx_map_free_contents()

optimized ucx_map_clear (noop for count == 0)

added ucx_map_clean()

improved avl function names

better and better and better AVL API

added 1 assert in ucx_avl_remove tests and fixed source code formatting

fixed bug in ucx_avl_remove

extended ucx_avl_remove tests

added ucx_avl_remove tests

added ucx_avl_count

added test for ucx_avl_put

fuck -Wparentheses

added free() to AVL tree implementation + use UcxAllocator

added AVL tree implementation - TODO: free memory + test cases

finalized AVL tree interface + added implementation skeleton + fixed ucx_ptrcmp()

defined AVL tree functional interface

updated copyright notice + added files for upcoming AVL tree implementation

fuck_

added ucx_sprintf macro

sstrtrim now uses isspace()

fixed doc

fixed stack tests to work with 4-byte-alignment + fixed logging tests

fixed logging tests for mingw

added stack implementation + added g++ config and added some fixes for C++

added some string tests

added sstrcat documentation

merged sstrcat function

fixed stream copy bug + fixed doc issues in mempool

added new sstrcat

removed old sstrncat

fixed doc for __FUNCTION__ macro

go ahead, nothing to see here

fixed way too optimistic version number

adjusted README

fixed missing malloc return value validation in ucx_vasprintf

fixed some sstring issues + added allocator macros

refactoring of list tests + some bug fixes

logger: removed unnecessary boundary checks and limited string parts so they always respect buffer lengths

improved logger tests

fixed issues revealed by buffer tests

completed buffer tests

ucx_buffer_extract tests

improved more buffer tests + some doc fixes

hotfix for ucx_buffer_seek documentation

added allocator tests + started refactoring UcxBuffer tests (HINT: don't fix issues yet, complete tests first)

minor lexical and documentation fixes

added more tests for ucx_list_remove

fixed ucx_list_remove crashing when removing the last element of a list

fixed documentation error in sstr_split

added license to readme + added underlines to chapter titles

Added allocator to mempool struct + fixed suncc.mk

added new mingw config

removed unnecessary configurations + added build command for shared lib

further improved build system (debug is now a target instead of a configuration)

fixed makefiles

windows specifics

minor code fixes + added clang support + improved build system

added README file - TODO: make install

fixes for ultra fail not C99 supporting VC wannebe compiler

added sstrcasecmp

added sstrrchr

added printf for UcxBuffer + fixed memory leaks

fixed documentation for netbeans parser + added sstrprefix() and sstrsuffix()

fixed utils tests

fixed printf functions

fail again

added printf functions

added mempool clamp + some minor fixes

completed documentation + changed API for buffer/stream generic copy functions

8-) f**k

documented map.h + changed return value of ucx_map_iter_next()

changed parameter order of ucx_map_new_a

started documentation of map.h + renamed allocator version of ucx_map_new

documented mempool + some fixes

documented test.h and removed duplicated implement/declare macros for UCX_TEST

finished documentation of UcxProperties

fixed ssize_t fix for MinGW

fixed some warnings when compiling with the sun C++ Compiler

started documentation of UcxProperties + some fixes

documentation for UcxLogger

finished documentation of UcxList

added ssize_t typedef for windows

changed includes in list.h to satisfy Mac OS X users

changed suffix for allocator aware functions + added allocator aware functions for UcxList

more documentation for UcxList

changed signature of sstrncat + some documentation for UcxList + new features for UcxList

removal of single linked list implemenation - step 2: renamed UcxDlist to UcxList (new single implementation)

removal of single linked list implemenation - step 1: removal

some fixes

completed documentation on sstr_t + sstrsplit overhaul + allocator version of sstrsplit

documented allocator + some further documentation for sstr_t

fixed properties parser

some fixes and some documentation

added man page output

added doxyfile and documentation for ucx.h

added mempool allocator

removed map load/store

new map foreach macro

renamed properties functions

added properties load/store functions

new properties parser

map uses an allocator

fixed makefiles for ms c++ compiler

fixed logging test

fixed sstrtrim and some warnings

added license and copyright notice to all files

added headers that are missing under visual studio

regained support for microsoft c++ compiler

happy 100th commit + removed deprecated sstrcat + fixed sstrncat

fixed suncc makefiles

fixed sstrtrim for empty strings

fixed execution order of tests + added test for sstrtrim

added sstrtrim

added gnu++11 support

renamed comparator to utils module and added copy functions

removed brain-afk code

added floating point comparators

added memcmp to the comparator module

added tests for ucx_(d)list_contains

comparator module

variadic test subroutines

some fixes + ucx_(d)list_contains

added generic ncopy

fixed comments + added ucx_buffer_clear

added optimizing for debug build

modified code to compile with -pedantic

logger can now log timestamps

changed logger to behave more like printf + added possibility to specify write function

Fixed map tests + added some formatting options to logger

fixed macros and ucx_map_store_enc

some fixes

used more library friendly optimization level

fixed buffer

fixed some compiler warnings

made the code work with g++ and without warnings

lists now sort on heap to prevent stack overflows

Merge with 6721482eaf8e8d35b1cd46f0a21285bfaa520d5a

made the code work with g++ without errors (but warnings)

fixed memory leak in ucx_map_rehash

made the code work with VC++ compiler (use make CONF=windows)

removed const from string.*

added some qualifiers + removed pointer alias in mergesort

added separated debug makefiles and some optimization options

added _Bool macro for cplusplus

added autoextend feature to buffer

discarded fascism from buffer

added extract function

added flag field to buffer

renamed UcxMemstream to UcxBuffer

added semicolons to UCX_TEST_DECLARE calls

discarded memprintf / memscanf

some fixes

added memstream to ucx - still little work to do

fixed map tests + used tmpfiles in tests

added logging API

added ucx_map_remove

added ucx_map_copy and fixed ucx_map_rehash

added rehashing to maps by using clone function

moved allocator to seperate file

Merge with 22fb97e9f58a0a8b18db7f81b7392dae0cd64571

map can now load values from file into pooled memory

sstrncat uses memcpy

implemented encoder/decoder for map store/load

map counts elements

added map clone

fixed crash fails by completing the implementation of the tested function....

(broken-commit) - added load and store functions, tests failing

simplified UCX_MAP_FOREACH

added semicolons to assert makros

added sstrsplit function

added missing stddef includes

replaced qsort with natural merge sort

changed API of sort algorithms (no further hint for the algorithms used in preparation for the upcomming change from qsort to natural merge sort)

added mkdir for build directory to makefile + added qsort for list and dlist

completed map tests

major refactoring of test framework

consequently used intptr_t in mpool tests

added map iterator

some fixes

fixed map with the help of new tests

new mempool tests

removed old foreach + refactored list tests

added test framework and foreach macro

changed hgignore filter

changed make clean + added dlist_clone with copy test + added va_end statements to string.c

added ucx_list_remove

added ucx_dlist_remove and tests + fixed makefile error

merge

added some map functions

Removed linked list from tests (assume that they are correct if the dlist tests are correct)

added clone and equals to lists

fix for ultra fail fix

fixed ultra fail + renamed files from mpool to mempool

fixed mpool compiler warnings

Fixed realloc

Added mempool

Added list tests2

Added list tests

added list implementation

Added dlist tests

completed dlist

added dlist to makefile, implemented first functions, discarded some fails

Fixed fatal super bug

added list specification

added dlist specification

added hgignore

Added some source files

Moved object files to build/

(0) +384 tip

mercurial