Skip to content

Releases: barrust/c-utils

Version 0.2.5

09 Sep 16:14
8c33522
Compare
Choose a tag to compare

Updates:

c-utils

  • Add check and set function to return value of bit prior to setting

fileutils

  • Add fs_is_symlink() function to check if a file or directory is actually a symlink

strlib

  • Better memory check for s_append_alt()

graph

  • Cleaned-up a re-used variable name to ensure no confusion for the user

Version 0.2.4

31 Dec 02:50
Compare
Choose a tag to compare

New Libraries:

  • permutations

Updates:

All Libraries

  • cpp guards
  • Ensure cast of malloc, calloc, and realloc calls
  • Added Defensive freeing of memory

strlib

  • Fix trim of string that only contains spaces
  • str_append_alt - handle if s2 is not NULL while s1 is NULL

fileutils

  • Combined filepath handles NULL input
  • Simplify input checks

minunit.h

  • Fix output for between checks on failed assertion

Version 0.2.3

04 Apr 19:47
Compare
Choose a tag to compare

strlib

  • Add input sanitation checks

bitarray

  • remove unused math.h library header
  • minor optimizations for resetting the bitarray and calculating number of bits set

minunit

  • Additional assert types
  • Test suite using minunit to ensure minunit works as desired

Version 0.2.2

24 Mar 03:29
0f153bb
Compare
Choose a tag to compare

New Libraries:

  • queue
  • stack
  • minunit.h

Other Changes

  • Micro optimizations

Version 0.2.1

18 Feb 01:09
b31a374
Compare
Choose a tag to compare

Graph:

  • Traversal of the graph from a particular vertex
    • Breadth First
    • Depth First
  • OpenMP support

StringLib:

  • Micro optimizations for s_trim and s_standardize_whitespace

Version 0.2.0

20 Jan 21:25
fbf47a4
Compare
Choose a tag to compare
  • Added the following libraries:
    • Graph
    • Linked List
    • Doubly Linked List
  • Updates:
    • added dir_t and supporting functionality to fileutils

Version 0.1.0

17 Dec 01:42
Compare
Choose a tag to compare

Initial Release:

  • stringlib
  • fileutils
    • filesystem functions
    • file_t functions
  • timing
  • bitarray