fix memory leak in test data

make cxListMemoryMgmt a linkable symbol

improve testing allocator + add tests for it

migrate list tests to gtest

fix required cast if compiled with C++

migrate tree tests to gtest

test uncovered branch in cxReallocate()

do not use macro for suite name

compile only one single binary for tests

migrate allocator tests to gtest

add googletest framework

#129 - remove test code duplication

#168 - add attributes and const

remove test code duplication for cxListAdd

add setup and teardown functions to test_list.c

fix typo in documentation

add convenience function to configure list memory management

add new destructor API and apply it to CxList

change Doxyfile to ignore __attribute__ and include static inline functions

add allocator support to CxBuffer

do not hide pointers behind typedefs

add cxListInsertAfter() and cxListInsertBefore()

reorder the list test functions

pointer type must be explicit in cx_foreach macro

add cx_foreach macro

add the feature to remove items during iteration

add iterator interface + linked list iterator

hide __attribute__ from compilers that may not support it

simplifies some linked list tests

fix missing cleanup in test_hl_linked_list_from_array

add cxListReverse()

add some const qualifiers

add cxLinkedListFromArray() and cxListCompare()

use c99 bool + add test for low level find

add cx_linked_list_compare() and simplifies some tests

use same doxygen style in all files

add common.h include to all other header files

add ported UCX buffer implementation

add tests for the new low level functions

add several new linked list functions

add cx_linked_list_find()

add linked list tests for cxListAt()

add more nonnull attributes

add more explicit documentation to cx_linked_list_remove()

change contract of cx_linked_list_remove()

add cx_linked_list_first() + cx_linked_list_prepend()

remove cxListLast (can be realized via cxListAt and index=size-1)

add cx_linked_list_{prev, remove, reverse}

move dereference operation into macro

add new ucx_list_sort test support/2.x

add tree.h to list of headers

add high level list sort and inlines method invocation functions

add cx_linked_list_sort()

remove unused cxLinkedListRecalculateSize()

add special linked list implementation for storing pointers

remove redundant documentation for function pointers

add documentation for list.h

change src dir of Doxygen to only include header files

remove obsolete config from Doxyfile

put attributes on separate lines

remove convenience macros

add tests for high level functions

add convenience macros for pointer casts

fix bad start index in cx_ll_node_at()

change cx_linked_list_last() and add a test for it

change test names

remove unused cx_tree_last()

add some documentation and changes some signatures

add __alloc_size__ attribute

make cx_linked_list_class static

improves usage of attributes

minor code changes

implement cx_ll_insert()

implement cx_ll_remove()

remove unnecessary fields from linked list node and simplifies cx_ll_add()

Automated merge

rename test_cx_linked_list_add

remove error handling from tests

add test for cx_linked_list_add

change cxLinkedListCreate() setting all fields instead of calling cxListRecalculateSize()

fix mixed up cases in cx_ll_at()

add high-level function cxListAt()

add function cx_linked_list_at()

implement linked list find

add node destruction in cxLinkedListDestroy()

change inheritance model for lists

add attributes to allocator functions

add option to enable more warnings

Automated merge

implement cx_tree_add_child_node using cx_linked_list_add

add cx_tree_add_child_node tests

add documentation to allocator.h

fix special cases for linked_list_add

Automated merge

implement cx_tree_add_node()

add cx_tree_add_node test

add some low level tree function declarations

implement at least freeing the linked list container

add utility to verify allocations

fix reallocate_null test not used and wrong

change detection of Doxygen

remove public visibility of default allocator class

merge with remote default

add missing quotation marks

remove unnecessary check

fix missing extern "C"

adds cxReallocate()

perform array and list tests in the same test binary (use the same assertions, later)

removes stupid high level wrapper for linked lists + adds test for cxLinkedListCreate

add first test suite to test_linked_list.c

add test config and let the test binary return nonzero on test failures

adds cxLinkedListDestroy prototype

fixes cx_linked_list_add not recalculating end

simplifies linked list descriptor

adds cxLinkedListWrap and cxLinkedListRecalculateSize

removes unnecessary typedefs

adds cxListLast

use C99 flexible array to mark the node's payload

use named fields to access node memory

copy list items when they are added to the list

(0) -120 +120 tip

mercurial