Releases: blaine-dodson/lib-util
Major Version 3 Release Candidate
There have only been a couple compatibility breaking changes in version three. Namely:
- I have changed the declaration signature for the call-back function used in sorted structures. It now requires a function that returns a larger value.
- header files are now all contained in the util directory. As more things were added it became apparent that I needed to avoid name collisions.
Even though there have not been significant changes, I don't want to make a full release yet until some of my todo list gets finished, just in case there are more API changes.
Version 2.1.1: Bugfix
Fixed a bug. Updated documentation
Version 2.1.0 : Added Common Type Definitions
This release adds types.h to the utility library. types.h contains common type definitions like bool, size_t, etc.
Version 2.0.2: Bugfix
Changes
- Include stddef.h for size_t definition
- all builds now include -g to allow full backtraces
Version 2.0.1: Documentation Bugfixes
Just some changes to documentation
Major Version 2 Release
There have been only bug fixes since v2.0.0-rc
Changes Since Major Version 1
- More warnings in the build script
- Improved documentation
- Some data structures have been reorganized to avoid unnecessary padding
- DS_new() has been replaced with a set of DS_new_XXX() commands. This simplifies the creation of new data structures and will make it possible to add new types of data structures without breaking the previous API.
- The comparator functions required by DS_bst are not the same as those required by DS_new_bst()
- when using a queue DS_first() now returns the next-out member of the queue e.g. the first in line. Likewise DS_last() returns that last in line.
- The three "insert" functions now return a pointer to the stored data on success or NULL on failure. Previously, these functions returned a 0 on success and a 1 on failure.
- DS_sort() has been eliminated and its functionality has been included in DS_insert()
- DS_set_data() has been removed as it duplicated functionality with the various visitor functions.
- some framework for new data types has been added, however hash tables and general trees are not currently implemented.
Major Version 2 Release Candidate
Changes
- bug fix in DS_next() and DS_previous when used with lists.
Major Version 2 Release Candidate
Version 2 of lib-util has changed definitions in data.h to allow for future additions of new data structures such as hash tables and general trees. There have also been changes in input.h to produce more consistent behavior.
Changes
- Insert functions now return a pointer to the newly inserted data instead of a
bool. This should be a little more convenient for the caller. DS_nq()andDS_dq()have been redefined so that the first out item of the queue can be viewed withDS_first.DS_new()has be replaced by several functions:DS_new_list(),DS_new_circular, andDS_new_bst.- grabline(), and grabword() now consistently eat all leading whitespace and control characters.
Version 1.0.2
Added Documentation.
Version 1.0.1
Add Documentation with doxygen, and created a project web page.