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.
|
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.
|