log th_string.c @ 431:d41cb5983772

age author description
Mon, 07 Nov 2016 02:57:23 +0200 Matti Hamalainen #ifdef out WIP floating point support from printf() implementation.
Wed, 09 Mar 2016 13:03:39 +0200 Matti Hamalainen Split th_str{case}match() into another file to reduce code duplication.
Wed, 09 Mar 2016 12:10:41 +0200 Matti Hamalainen Add some XXX TODO FIXME in here :P
Wed, 09 Mar 2016 12:07:10 +0200 Matti Hamalainen Improve printf implementation debugging.
Wed, 09 Mar 2016 12:06:45 +0200 Matti Hamalainen Improve altfmt modifier handling for printf implementation. Not
Wed, 09 Mar 2016 12:05:16 +0200 Matti Hamalainen Improve printf implementation somewhat. The logic is not very pretty and not
Thu, 03 Mar 2016 14:44:43 +0200 Matti Hamalainen Update comment to reflect the status of supported printf length modifiers.
Thu, 03 Mar 2016 13:49:45 +0200 Matti Hamalainen If f_width is not specified, initialize it to -1.
Thu, 03 Mar 2016 13:45:11 +0200 Matti Hamalainen 10L.
Thu, 03 Mar 2016 13:44:25 +0200 Matti Hamalainen Prepare to handle variable width and precision given as arguments.
Thu, 03 Mar 2016 13:17:40 +0200 Matti Hamalainen Comments.
Thu, 03 Mar 2016 13:16:45 +0200 Matti Hamalainen Remove debug variable.
Thu, 03 Mar 2016 13:07:02 +0200 Matti Hamalainen Cosmetic linebreaks.
Thu, 03 Mar 2016 11:51:02 +0200 Matti Hamalainen Add missing debug variable.
Thu, 03 Mar 2016 11:45:48 +0200 Matti Hamalainen Add debug prints when TH_PRINTF_DEBUG is defined.
Mon, 29 Feb 2016 16:50:54 +0200 Matti Hamalainen Rename s/th_printf_vbuf_int/th_vprintf_buf_int/g.
Mon, 29 Feb 2016 16:49:34 +0200 Matti Hamalainen Pass also numeric buffer and return value from th_printf_vbuf_int*() to altfmt helper functions.
Mon, 29 Feb 2016 16:35:05 +0200 Matti Hamalainen Initial th_vprintf_put_float() stub.
Mon, 29 Feb 2016 16:12:10 +0200 Matti Hamalainen Rename s/th_printf_ctx/th_vprintf_cts/g.
Mon, 29 Feb 2016 15:49:07 +0200 Matti Hamalainen Rename functions s/th_printf_vput/th_vprintf_put/g.
Mon, 29 Feb 2016 13:49:12 +0200 Matti Hamalainen Check %p for ll and L modifiers and error out on them.
Mon, 29 Feb 2016 13:46:01 +0200 Matti Hamalainen Some work on pointer formatter %p.
Mon, 29 Feb 2016 13:17:37 +0200 Matti Hamalainen Rename some internal functions.
Mon, 29 Feb 2016 13:16:49 +0200 Matti Hamalainen Some cleanup work on th_printf_vput_int(). Passes more tests, but it's not perfect.
Mon, 29 Feb 2016 12:00:23 +0200 Matti Hamalainen Zero padding is done differently, so do not hand TH_PF_ZERO here.
Thu, 25 Feb 2016 11:53:08 +0200 Matti Hamalainen Simplify th_printf_vbuf*() helpers.
Thu, 25 Feb 2016 11:51:52 +0200 Matti Hamalainen We should OR to the flags instead of forcing them for %p. :S
Thu, 25 Feb 2016 10:58:48 +0200 Matti Hamalainen More work.
Thu, 25 Feb 2016 09:49:53 +0200 Matti Hamalainen Use th_printf_vput_repch() where appropriate.
Thu, 25 Feb 2016 09:26:31 +0200 Matti Hamalainen Delete commented out code.
Thu, 25 Feb 2016 09:24:08 +0200 Matti Hamalainen Change where we bail out from th_printf_vput_int() when th_printf_vbuf_int*() fail.
Thu, 25 Feb 2016 09:17:54 +0200 Matti Hamalainen Modularize some of the padding code better.
Thu, 25 Feb 2016 09:06:13 +0200 Matti Hamalainen Rename internal helper functions th_printf_altfmt_{x,o} to th_printf_altfmt_{hex,oct}
Wed, 24 Feb 2016 01:33:33 +0200 Matti Hamalainen Remove th_strlen() again. I suppose UTF8 aware functions would make sense at
Wed, 24 Feb 2016 00:01:07 +0200 Matti Hamalainen No need to force inline this.
Tue, 23 Feb 2016 21:59:45 +0200 Matti Hamalainen Cosmetics.
Tue, 23 Feb 2016 16:09:30 +0200 Matti Hamalainen Oops, 10L.
Tue, 23 Feb 2016 15:26:29 +0200 Matti Hamalainen Refactor things to be simpler.
Tue, 23 Feb 2016 14:59:07 +0200 Matti Hamalainen Mostly cosmetics.
Tue, 23 Feb 2016 12:55:09 +0200 Matti Hamalainen Add initial support for ll and L printf modifiers.
Tue, 23 Feb 2016 12:54:26 +0200 Matti Hamalainen Remove redundant check.
Tue, 23 Feb 2016 12:15:51 +0200 Matti Hamalainen Fix th_printf_vput_intstr() so that most tests pass. Not certain how
Tue, 23 Feb 2016 11:23:32 +0200 Matti Hamalainen Rename a variable.
Tue, 23 Feb 2016 10:36:24 +0200 Matti Hamalainen Rename a variable.
Tue, 23 Feb 2016 01:42:52 +0200 Matti Hamalainen Comment out th_printf_vput_size_t() for now.
Tue, 23 Feb 2016 01:42:34 +0200 Matti Hamalainen Some work on sign handling.
Mon, 22 Feb 2016 23:43:50 +0200 Matti Hamalainen Fix float tests (type was int) :D
Mon, 22 Feb 2016 22:52:45 +0200 Matti Hamalainen Add f_prec arguments to helpers and call points.
Mon, 22 Feb 2016 22:51:24 +0200 Matti Hamalainen Constify.
Mon, 22 Feb 2016 21:56:23 +0200 Matti Hamalainen Split some things to a template file th_printf1.c
Mon, 22 Feb 2016 18:31:11 +0200 Matti Hamalainen Refactor how various printf modifier flags etc. are handled. Still needs
Mon, 22 Feb 2016 18:29:53 +0200 Matti Hamalainen Cosmetics.
Mon, 22 Feb 2016 16:41:58 +0200 Matti Hamalainen Reverse order of checks.
Mon, 22 Feb 2016 13:51:14 +0200 Matti Hamalainen Add check for (currently unsupported) length modifiers.
Mon, 22 Feb 2016 13:50:44 +0200 Matti Hamalainen Cosmetic.
Mon, 22 Feb 2016 13:45:07 +0200 Matti Hamalainen Rename some function arguments and variables.
Mon, 22 Feb 2016 13:43:28 +0200 Matti Hamalainen Cosmetics.
Mon, 22 Feb 2016 13:15:57 +0200 Matti Hamalainen Cosmetics.
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.