log th_string.c @ 281:0c70dcfb6796

age author description
Mon, 22 Feb 2016 12:01:29 +0200 Matti Hamalainen Remember to initialize th_printf_ctx.ipos to 0!
Mon, 22 Feb 2016 11:53:47 +0200 Matti Hamalainen Implement th_printf_vput_pad() helper and use it where needed.
Mon, 22 Feb 2016 11:49:05 +0200 Matti Hamalainen Add th_printf_ctx.ipos and use it for return values. It's a hack. :S
Mon, 22 Feb 2016 11:48:23 +0200 Matti Hamalainen Comment out case '%', it's superfluous here.
Mon, 22 Feb 2016 11:47:54 +0200 Matti Hamalainen Rename internal functions and add a typedef for function pointer used for vputch().
Wed, 17 Feb 2016 14:13:22 +0200 Matti Hamalainen Add th_strlen().
Wed, 17 Feb 2016 13:27:23 +0200 Matti Hamalainen Found some nasty bugs hiding in th_str{n}casecmp() functions via unit tests. Fixed.
Wed, 17 Feb 2016 12:59:51 +0200 Matti Hamalainen Check for NULL fmt.
Tue, 16 Feb 2016 22:27:00 +0200 Matti Hamalainen Fix '%c' support.
Tue, 16 Feb 2016 21:27:19 +0200 Matti Hamalainen Fix handling of negative values.
Tue, 16 Feb 2016 20:53:10 +0200 Matti Hamalainen More work on printing.
Tue, 16 Feb 2016 20:32:02 +0200 Matti Hamalainen More work on printing functions.
Tue, 16 Feb 2016 19:05:00 +0200 Matti Hamalainen Hmm .. fix %c handling.
Tue, 16 Feb 2016 18:39:31 +0200 Matti Hamalainen Implement %c.
Tue, 16 Feb 2016 18:21:54 +0200 Matti Hamalainen Add check for NULL strings.
Tue, 16 Feb 2016 18:19:37 +0200 Matti Hamalainen Use special error codes for syntax errors in format string.
Tue, 16 Feb 2016 18:17:33 +0200 Matti Hamalainen Rename internal function th_vput_itoa() to th_vput_int()
Tue, 16 Feb 2016 16:40:31 +0200 Matti Hamalainen Some more preparation work for precision support.
Tue, 16 Feb 2016 16:30:51 +0200 Matti Hamalainen Initialize and check precision.
Tue, 16 Feb 2016 16:30:26 +0200 Matti Hamalainen Cosmetics.
Tue, 16 Feb 2016 16:29:52 +0200 Matti Hamalainen Fix return values of some helper functions.
Tue, 16 Feb 2016 16:29:25 +0200 Matti Hamalainen Add some comments.
Tue, 16 Feb 2016 16:10:41 +0200 Matti Hamalainen Some preparation for %f support .. if it ever happens.
Tue, 16 Feb 2016 16:01:32 +0200 Matti Hamalainen Silence unused function warning when not using internal implementations.
Tue, 16 Feb 2016 16:01:15 +0200 Matti Hamalainen Initialize return value variable.
Tue, 16 Feb 2016 16:01:02 +0200 Matti Hamalainen Oops, s/vsnpintf/vsnprintf/.
Tue, 16 Feb 2016 16:00:44 +0200 Matti Hamalainen Function argument list split & indentation cosmetic.
Tue, 16 Feb 2016 15:59:43 +0200 Matti Hamalainen Reverse order of certain checks (micro-optimize).
Tue, 16 Feb 2016 15:59:24 +0200 Matti Hamalainen Add blocks to clarify some code.
Tue, 16 Feb 2016 15:58:50 +0200 Matti Hamalainen Add some error checking to th_vprintf_do().
Tue, 16 Feb 2016 15:54:37 +0200 Matti Hamalainen Update copyright.
Tue, 16 Feb 2016 14:08:35 +0200 Matti Hamalainen Stray nbsp.
Tue, 16 Feb 2016 14:03:51 +0200 Matti Hamalainen Add some comments.
Tue, 16 Feb 2016 13:59:51 +0200 Matti Hamalainen Initial work on printf() style function family implementation.
Mon, 15 Feb 2016 12:01:12 +0200 Matti Hamalainen Fix th_str(n)dup_trim() functions. :S
Mon, 15 Feb 2016 10:46:45 +0200 Matti Hamalainen Improve documentation.
Mon, 15 Feb 2016 10:45:05 +0200 Matti Hamalainen Fix th_str{n}dup_trim() functions.
Mon, 15 Feb 2016 10:13:08 +0200 Matti Hamalainen Oops, broken function. Fixed.
Mon, 15 Feb 2016 10:11:10 +0200 Matti Hamalainen Implement th_strndup_trim() and factorize implementation of th_strdup_trim().
Wed, 10 Feb 2016 16:34:44 +0200 Matti Hamalainen Clean up the code, add argument identifiers to function prototypes and
Sun, 01 Mar 2015 05:35:15 +0200 Matti Hamalainen Rename some variables.
Sun, 01 Mar 2015 05:34:48 +0200 Matti Hamalainen Comments, cosmetics.
Wed, 18 Feb 2015 21:44:28 +0200 Matti Hamalainen Add on/off to valid boolean values.
Wed, 18 Feb 2015 21:13:44 +0200 Matti Hamalainen Add th_get_boolean() function.
Mon, 09 Feb 2015 18:52:56 +0200 Matti Hamalainen Actually, move th_print_wrap() to th_string module.
Thu, 01 Jan 2015 09:22:08 +0200 Matti Hamalainen Update copyrights.
Fri, 11 Jul 2014 18:22:52 +0300 Matti Hamalainen Fix reallocation.
Sun, 22 Jun 2014 07:23:54 +0300 Matti Hamalainen Cosmetics.
Sat, 21 Jun 2014 20:01:36 +0300 Matti Hamalainen Remove old string growbuf code.
Tue, 20 May 2014 04:27:30 +0300 Matti Hamalainen Add new function th_strdup_trim().
Sat, 17 May 2014 22:39:37 +0300 Matti Hamalainen Add new function th_strrcasecmp().
Sat, 17 May 2014 22:39:27 +0300 Matti Hamalainen Slight adjustments.
Sat, 17 May 2014 22:39:06 +0300 Matti Hamalainen Bump copyrights.
Sat, 04 May 2013 03:39:41 +0300 Matti Hamalainen Oops, th_alloc() -> th_malloc().
Sat, 04 May 2013 03:38:55 +0300 Matti Hamalainen Add th_strndup().
Sat, 04 May 2013 03:38:41 +0300 Matti Hamalainen Cosmetics.
Sat, 04 May 2013 03:37:21 +0300 Matti Hamalainen Remove th_strncpy().
Mon, 12 Nov 2012 20:54:03 +0200 Matti Hamalainen Update copyrights.
Sat, 26 May 2012 08:56:01 +0300 Matti Hamalainen Fix a memory leak in th_strdup_vprintf()
Mon, 03 Oct 2011 15:40:54 +0300 Matti Hamalainen Change how "config.h" is included, etc.