CHANGELOG

changeset 1507
f4010cda9a2a
parent 1500
d20037235c9c
equal deleted inserted replaced
1506:2a4339475bcf 1507:f4010cda9a2a
36 * changes insert_element member function of CxList to accept NULL source and return a pointer to the inserted element 36 * changes insert_element member function of CxList to accept NULL source and return a pointer to the inserted element
37 * changes the compare function wrapper for pointer lists so that it no longer invokes the actual compare function for NULL pointers 37 * changes the compare function wrapper for pointer lists so that it no longer invokes the actual compare function for NULL pointers
38 * changes struct cx_array_reallocator_s by replacing the four generic data members with two specifically named members 38 * changes struct cx_array_reallocator_s by replacing the four generic data members with two specifically named members
39 * changes cx_array_reserve() so that it reserves exactly the requested capacity (i.e., without overallocation) 39 * changes cx_array_reserve() so that it reserves exactly the requested capacity (i.e., without overallocation)
40 * changes all other array functions to perform smart overallocation to avoid too many subsequent allocations 40 * changes all other array functions to perform smart overallocation to avoid too many subsequent allocations
41 * changes that binary search and infimum always report the largest index, and supremum always reports the smallest index
42 when the found element appears more than once in the array
41 * fixes critical memory overflow in the stack-based array reallocator (this unfortunately breaks the function signature) 43 * fixes critical memory overflow in the stack-based array reallocator (this unfortunately breaks the function signature)
42 * fixes critical bug in cx_array_insert_sorted() that caused an infinite loop when inserting duplicates 44 * fixes critical bug in cx_array_insert_sorted() that caused an infinite loop when inserting duplicates
43 * fixes mempool implementation not supporting NULL as argument for realloc 45 * fixes mempool implementation not supporting NULL as argument for realloc
44 * fixes mempool implementation not supporting zero as size for realloc 46 * fixes mempool implementation not supporting zero as size for realloc
45 * fixes that the elem_count member of an iterator was not updated after removing an element flagged by cxIteratorFlagRemoval() 47 * fixes that the elem_count member of an iterator was not updated after removing an element flagged by cxIteratorFlagRemoval()

mercurial