Thu, 25 Feb 2016 12:19:10 +0200 |
Matti Hamalainen |
Improve tests output.
|
Thu, 25 Feb 2016 11:59:06 +0200 |
Matti Hamalainen |
Sanitize test_snprintf().
|
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 11:50:43 +0200 |
Matti Hamalainen |
Improve tests.
|
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:49:28 +0200 |
Matti Hamalainen |
Add tests for printing pointers (%p formatters).
|
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:17:23 +0200 |
Matti Hamalainen |
Add few more tests.
|
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}
|
Thu, 25 Feb 2016 08:54:40 +0200 |
Matti Hamalainen |
Add few comments.
|
Thu, 25 Feb 2016 08:54:31 +0200 |
Matti Hamalainen |
th_llist_get_nth() returned last value of list if N > number of elements.
|
Thu, 25 Feb 2016 08:53:41 +0200 |
Matti Hamalainen |
Cosmetics.
|
Wed, 24 Feb 2016 11:35:29 +0200 |
Matti Hamalainen |
Adjust tests.
|
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 01:29:18 +0200 |
Matti Hamalainen |
Adjust tests.
|
Wed, 24 Feb 2016 00:01:07 +0200 |
Matti Hamalainen |
No need to force inline this.
|
Tue, 23 Feb 2016 23:10:57 +0200 |
Matti Hamalainen |
Add more tests.
|
Tue, 23 Feb 2016 22:58:01 +0200 |
Matti Hamalainen |
Fix memory leaks in test suite.
|
Tue, 23 Feb 2016 21:59:45 +0200 |
Matti Hamalainen |
Cosmetics.
|
Tue, 23 Feb 2016 17:39:14 +0200 |
Matti Hamalainen |
Fix 64bit int tests.
|
Tue, 23 Feb 2016 17:38:59 +0200 |
Matti Hamalainen |
Fix snprintf() test running.
|
Tue, 23 Feb 2016 17:30:07 +0200 |
Matti Hamalainen |
Fix format string.
|
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 13:52:12 +0200 |
Matti Hamalainen |
Add more tests (some of which will fail for now due to unimplemented features).
|
Tue, 23 Feb 2016 13:00:20 +0200 |
Matti Hamalainen |
Simplify tests.
|
Tue, 23 Feb 2016 12:59:28 +0200 |
Matti Hamalainen |
Use NCOUNT().
|
Tue, 23 Feb 2016 12:55:45 +0200 |
Matti Hamalainen |
Add tests for 64bit int prints.
|
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:43:53 +0200 |
Matti Hamalainen |
Simplify char printf tests.
|
Tue, 23 Feb 2016 12:43:38 +0200 |
Matti Hamalainen |
Implement NCOUNT() macro for getting array element counts (sizeof(arr) / sizeof(arr[0]))
|
Tue, 23 Feb 2016 12:25:05 +0200 |
Matti Hamalainen |
Simplify and improve integer sprintf() tests.
|
Tue, 23 Feb 2016 12:16:12 +0200 |
Matti Hamalainen |
Add special case handling for f_prec == 0 && val == 0. Fixes several test cases.
|
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.
|
Tue, 23 Feb 2016 01:39:49 +0200 |
Matti Hamalainen |
Improve testing.
|
Tue, 23 Feb 2016 00:14:13 +0200 |
Matti Hamalainen |
No need for unsig argument when TH_PFUNC_SIGNED is not defined.
|
Mon, 22 Feb 2016 23:43:50 +0200 |
Matti Hamalainen |
Fix float tests (type was int) :D
|
Mon, 22 Feb 2016 23:42:29 +0200 |
Matti Hamalainen |
Don't run 'check' target through 'all'.
|
Mon, 22 Feb 2016 23:01:27 +0200 |
Matti Hamalainen |
More tests.
|
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 22:10:52 +0200 |
Matti Hamalainen |
Improve tests.
|
Mon, 22 Feb 2016 22:00:43 +0200 |
Matti Hamalainen |
Fix test printing function :S
|
Mon, 22 Feb 2016 21:56:23 +0200 |
Matti Hamalainen |
Split some things to a template file th_printf1.c
|
Mon, 22 Feb 2016 21:53:36 +0200 |
Matti Hamalainen |
Fix the function prototype to match declaration.
|
Mon, 22 Feb 2016 21:51:56 +0200 |
Matti Hamalainen |
Define TH_PTRSIZE and UINTPTR_MAX if not defined already.
|
Mon, 22 Feb 2016 21:51:29 +0200 |
Matti Hamalainen |
Cosmetics.
|
Mon, 22 Feb 2016 20:19:35 +0200 |
Matti Hamalainen |
Add a test.
|
Mon, 22 Feb 2016 20:19:26 +0200 |
Matti Hamalainen |
Have a return value for test result functions.
|
Mon, 22 Feb 2016 19:52:18 +0200 |
Matti Hamalainen |
Fix some tests and use stdout for output.
|
Mon, 22 Feb 2016 19:39:14 +0200 |
Matti Hamalainen |
Implement test contexts.
|
Mon, 22 Feb 2016 18:43:46 +0200 |
Matti Hamalainen |
Fix build.
|
Mon, 22 Feb 2016 18:34:26 +0200 |
Matti Hamalainen |
More tests.
|
Mon, 22 Feb 2016 18:31:37 +0200 |
Matti Hamalainen |
Fix -t option handling, had a off-by one in value handling.
|
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 16:06:13 +0200 |
Matti Hamalainen |
Add floating point tests (which will fail for now).
|
Mon, 22 Feb 2016 16:05:53 +0200 |
Matti Hamalainen |
Rename test sets.
|
Mon, 22 Feb 2016 16:04:14 +0200 |
Matti Hamalainen |
Fix 'make check'. :S
|
Mon, 22 Feb 2016 16:02:25 +0200 |
Matti Hamalainen |
Merged.
|
Mon, 22 Feb 2016 16:01:04 +0200 |
Matti Hamalainen |
Add 'make check' target.
|
Mon, 22 Feb 2016 16:00:55 +0200 |
Matti Hamalainen |
Cosmetics.
|
Mon, 22 Feb 2016 14:45:20 +0200 |
Matti Hamalainen |
More tests.
|
Mon, 22 Feb 2016 14:31:29 +0200 |
Matti Hamalainen |
Add more subtests.
|
Mon, 22 Feb 2016 14:28:31 +0200 |
Matti Hamalainen |
Add some tests.
|
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 13:14:48 +0200 |
Matti Hamalainen |
Implement selectable tests.
|
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 17:24:02 +0200 |
Matti Hamalainen |
Improve tests output per verbosity level.
|
Wed, 17 Feb 2016 17:17:00 +0200 |
Matti Hamalainen |
Merge.
|
Wed, 17 Feb 2016 16:56:21 +0200 |
Matti Hamalainen |
Implement commandline options for test driver.
|
Wed, 17 Feb 2016 15:38:33 +0200 |
Matti Hamalainen |
Build all modules.
|
Wed, 17 Feb 2016 14:49:39 +0200 |
Matti Hamalainen |
Tests output changes.
|
Wed, 17 Feb 2016 14:27:47 +0200 |
Matti Hamalainen |
Oops, forgot to move th_strbuf_* functions into datastruct module.
|
Wed, 17 Feb 2016 14:22:33 +0200 |
Matti Hamalainen |
Remember to include th_datastruct.h where needed.
|
Wed, 17 Feb 2016 14:20:36 +0200 |
Matti Hamalainen |
Split data structures (linked lists, growbufs, ringbufs, etc.) code into th_datastruct.[ch] module.
|
Wed, 17 Feb 2016 14:13:22 +0200 |
Matti Hamalainen |
Add th_strlen().
|
Wed, 17 Feb 2016 13:44:57 +0200 |
Matti Hamalainen |
More tests.
|
Wed, 17 Feb 2016 13:42:02 +0200 |
Matti Hamalainen |
More tests.
|
Wed, 17 Feb 2016 13:36:36 +0200 |
Matti Hamalainen |
More work on tests.
|
Wed, 17 Feb 2016 13:30:50 +0200 |
Matti Hamalainen |
Add test header printing function.
|
Wed, 17 Feb 2016 13:28:01 +0200 |
Matti Hamalainen |
Add more tests.
|
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:55 +0200 |
Matti Hamalainen |
Improve tests.
|
Wed, 17 Feb 2016 12:59:51 +0200 |
Matti Hamalainen |
Check for NULL fmt.
|
Wed, 17 Feb 2016 12:36:06 +0200 |
Matti Hamalainen |
Work on tests.
|
Tue, 16 Feb 2016 23:11:38 +0200 |
Matti Hamalainen |
Add endian checking utility for building the tests.
|
Tue, 16 Feb 2016 22:27:26 +0200 |
Matti Hamalainen |
Add test for '%c'.
|
Tue, 16 Feb 2016 22:27:00 +0200 |
Matti Hamalainen |
Fix '%c' support.
|
Tue, 16 Feb 2016 22:00:54 +0200 |
Matti Hamalainen |
Work on tests.
|
Tue, 16 Feb 2016 21:28:00 +0200 |
Matti Hamalainen |
Start of a very simplistic unit test suite. Initially handling just printf()
|
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.
|