log th_util.c @ 789:d61d3eb29053 default tip

age author description
Wed, 20 Dec 2023 07:27:35 +0200 Matti Hamalainen Add missing void to mark empty function argument lists.
Wed, 07 Dec 2022 12:14:39 +0200 Matti Hamalainen Renaming BOOL->bool and TRUE/FALSE to true/false, and using stdbool.h if available.
Sat, 01 Jan 2022 16:17:31 +0200 Matti Hamalainen Bump copyrights.
Sat, 02 Jan 2021 11:35:54 +0200 Matti Hamalainen Bump copyright years.
Tue, 25 Feb 2020 07:42:50 +0200 Matti Hamalainen Adjust errno handling.
Fri, 24 Jan 2020 15:10:19 +0200 Matti Hamalainen Add some missing error messages.
Sun, 12 Jan 2020 20:17:39 +0200 Matti Hamalainen Use TIOCGWINSZ ioctl on *NIX to get terminal dimensions.
Fri, 03 Jan 2020 10:53:55 +0200 Matti Hamalainen Bump copyright years.
Mon, 23 Sep 2019 19:47:11 +0300 Matti Hamalainen Add th_print_version().
Mon, 04 Jun 2018 03:07:46 +0300 Matti Hamalainen Allow TH_PROG_AUTHOR and TH_PROG_LICENSE to be defined to override
Mon, 04 Jun 2018 02:54:31 +0300 Matti Hamalainen Remove newline from start of the banner.
Mon, 04 Jun 2018 02:41:27 +0300 Matti Hamalainen Rename the global variable th_verbosityLevel to th_verbosity.
Mon, 04 Jun 2018 02:39:54 +0300 Matti Hamalainen Do not set default author/copyright anymore.
Mon, 04 Jun 2018 02:39:40 +0300 Matti Hamalainen Oops. We've been trying to get number of terminal lines from environment
Thu, 10 May 2018 15:49:16 +0300 Matti Hamalainen Cleanups.
Tue, 02 Jan 2018 23:09:29 +0200 Matti Hamalainen Actually, revert the boolean changes .. meh.
Tue, 02 Jan 2018 22:56:03 +0200 Matti Hamalainen Break backwards compatibility by renaming BOOL, TRUE and FALSE to lowercase.
Thu, 12 Oct 2017 17:12:50 +0300 Matti Hamalainen Get rid of trailing whitespace.
Wed, 17 Feb 2016 14:20:36 +0200 Matti Hamalainen Split data structures (linked lists, growbufs, ringbufs, etc.) code into th_datastruct.[ch] module.
Thu, 11 Feb 2016 20:26:47 +0200 Matti Hamalainen Rename th_free_r() to th_free_r_real() and #define a macro wrapper for
Thu, 11 Feb 2016 16:42:43 +0200 Matti Hamalainen 100L.
Thu, 11 Feb 2016 16:42:00 +0200 Matti Hamalainen Define some argument identifiers in function prototypes and rename some arguments.
Thu, 11 Feb 2016 16:10:31 +0200 Matti Hamalainen Add new function th_free_r(void **ptr) that calls th_free(*ptr) and sets *ptr to NULL.
Mon, 02 Mar 2015 01:46:31 +0200 Matti Hamalainen Adjust program banner printing.
Mon, 09 Feb 2015 18:52:56 +0200 Matti Hamalainen Actually, move th_print_wrap() to th_string module.
Mon, 09 Feb 2015 18:41:00 +0200 Matti Hamalainen Make th_print_wrap() function public and move the code to th_util.
Sat, 07 Feb 2015 01:39:20 +0200 Matti Hamalainen Merged.
Sat, 07 Feb 2015 01:37:58 +0200 Matti Hamalainen Rename qringbuf_t to th_ringbuf_t.
Sat, 07 Feb 2015 01:37:11 +0200 Matti Hamalainen Add new utility function for linked lists, th_llist_free_func_node().
Sat, 07 Feb 2015 00:33:16 +0200 Matti Hamalainen Cosmetic.
Fri, 06 Feb 2015 23:04:08 +0200 Matti Hamalainen Rename qlist_t doubly linked list structure to th_llist_t.
Thu, 01 Jan 2015 09:22:27 +0200 Matti Hamalainen Merge.
Thu, 01 Jan 2015 09:22:08 +0200 Matti Hamalainen Update copyrights.
Sun, 07 Dec 2014 20:49:10 +0200 Matti Hamalainen Implement terminal width.
Sun, 22 Jun 2014 07:23:54 +0300 Matti Hamalainen Cosmetics.
Sun, 22 Jun 2014 03:34:00 +0300 Matti Hamalainen Use th_malloc0() where appropriate.
Sun, 22 Jun 2014 01:25:35 +0300 Matti Hamalainen Use void* instead of uint8_t* in th_growbuf_put_str()
Sat, 21 Jun 2014 23:11:36 +0300 Matti Hamalainen More work on growbuf stuff.
Sat, 21 Jun 2014 22:44:56 +0300 Matti Hamalainen More functions for growbuf.
Sat, 21 Jun 2014 20:42:06 +0300 Matti Hamalainen Remove th_growbuf, move to th_util.
Tue, 27 May 2014 07:28:59 +0300 Matti Hamalainen Rename th_get_errno() to th_get_error(), it's more appropriate since it does
Sun, 25 May 2014 01:01:31 +0300 Matti Hamalainen Add th_errno_to_error().
Sun, 25 May 2014 01:01:13 +0300 Matti Hamalainen Remove th_memset().
Thu, 22 May 2014 03:29:08 +0300 Matti Hamalainen Add error handling stuff.
Wed, 21 May 2014 21:40:40 +0300 Matti Hamalainen Make th_llist_delete_node_fast() public.
Thu, 15 Nov 2012 19:22:06 +0200 Matti Hamalainen Added a new memory allocator function, th_malloc0(size), which is the same as calloc(1, size).
Mon, 12 Nov 2012 20:54:03 +0200 Matti Hamalainen Update copyrights.
Fri, 02 Nov 2012 22:16:31 +0200 Matti Hamalainen Cleanups.
Wed, 19 Sep 2012 23:56:06 +0300 Matti Hamalainen Merged.
Wed, 19 Sep 2012 23:55:44 +0300 Matti Hamalainen Change some internals.
Wed, 15 Aug 2012 14:15:51 +0300 Matti Hamalainen Sync.
Wed, 06 Jun 2012 16:52:37 +0300 Matti Hamalainen Add braces, mostly cosmetic.
Sat, 26 May 2012 03:47:07 +0300 Matti Hamalainen Adjust the foreach linked list functions a bit.
Sat, 26 May 2012 02:25:27 +0300 Matti Hamalainen Add new linked list handling functions: th_llist_foreach() and th_llist_foreach_cond()
Sat, 26 May 2012 01:04:12 +0300 Matti Hamalainen Add th_llist_append_node() and th_llist_prepend_node() to public header.
Mon, 03 Oct 2011 15:40:54 +0300 Matti Hamalainen Change how "config.h" is included, etc.
Mon, 03 Oct 2011 15:39:42 +0300 Matti Hamalainen Cosmetics.
Mon, 03 Oct 2011 15:37:53 +0300 Matti Hamalainen Separate program "banner" printing from th_args_help() to th_print_banner().
Sun, 02 Oct 2011 23:58:42 +0300 Matti Hamalainen Cosmetic cleanups.
Sat, 11 Jun 2011 12:52:57 +0300 Matti Hamalainen Sync.