Skip to content

Releases: blaine-dodson/lib-util

Major Version 3 Release Candidate

22 Apr 21:33

Choose a tag to compare

Pre-release

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

16 Jan 22:15

Choose a tag to compare

Fixed a bug. Updated documentation

Version 2.1.0 : Added Common Type Definitions

16 Jan 22:07

Choose a tag to compare

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

16 Dec 18:20

Choose a tag to compare

Changes

  • Include stddef.h for size_t definition
  • all builds now include -g to allow full backtraces

Version 2.0.1: Documentation Bugfixes

10 Dec 17:30

Choose a tag to compare

Just some changes to documentation

Major Version 2 Release

10 Dec 17:00

Choose a tag to compare

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

30 Nov 23:04

Choose a tag to compare

Pre-release

Changes

  • bug fix in DS_next() and DS_previous when used with lists.

Major Version 2 Release Candidate

29 Nov 15:59

Choose a tag to compare

Pre-release

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() and DS_dq() have been redefined so that the first out item of the queue can be viewed with DS_first.
  • DS_new() has be replaced by several functions: DS_new_list(), DS_new_circular, and DS_new_bst.
  • grabline(), and grabword() now consistently eat all leading whitespace and control characters.

Version 1.0.2

23 Nov 20:42

Choose a tag to compare

Added Documentation.

Version 1.0.1

15 Nov 22:13

Choose a tag to compare

Add Documentation with doxygen, and created a project web page.