Sun, 12 Jan 2020 20:17:39 +0200 |
Matti Hamalainen |
Use TIOCGWINSZ ioctl on *NIX to get terminal dimensions.
|
Sun, 12 Jan 2020 19:30:05 +0200 |
Matti Hamalainen |
Change th_print_wrap() API and move the string argument last.
|
Sun, 12 Jan 2020 18:03:47 +0200 |
Matti Hamalainen |
Add new compile-time optional th_optarg struct field o_arg for specifying the option argument description/name. TH_USE_OPT_ARG must be defined at compile time.
|
Sun, 12 Jan 2020 18:01:47 +0200 |
Matti Hamalainen |
Refactor th_args_help() to be more flexible how it works and prints out the option list.
|
Sun, 12 Jan 2020 16:32:02 +0200 |
Matti Hamalainen |
Doxygen th_print_wrap().
|
Sun, 12 Jan 2020 14:27:09 +0200 |
Matti Hamalainen |
Move th_print_wrap() and th_print_pad() to th_args from th_string.
|
Sun, 12 Jan 2020 13:00:58 +0200 |
Matti Hamalainen |
Improve few comments.
|
Sun, 12 Jan 2020 00:01:41 +0200 |
Matti Hamalainen |
Check for !defined(HAVE_STDINT_H) && !defined(HAVE_SYS_TYPES_H) before
|
Sat, 11 Jan 2020 20:35:40 +0200 |
Matti Hamalainen |
Change 'ch' argument of th_strbuf_putch from char to uint8_t.
|
Thu, 09 Jan 2020 21:15:54 +0200 |
Matti Hamalainen |
Typofix a comment.
|
Thu, 09 Jan 2020 21:11:39 +0200 |
Matti Hamalainen |
Clean up the th_types.h header #ifdef mess slightly.
|
Thu, 09 Jan 2020 18:29:10 +0200 |
Matti Hamalainen |
Define PRI*_SIZE_T from PRIu32/64 based on platform, this is cleaner and
|
Thu, 09 Jan 2020 18:27:48 +0200 |
Matti Hamalainen |
Define a helper macro for __attribute__ ((__format__ (__printf__, 2, 3)))
|
Thu, 09 Jan 2020 18:17:48 +0200 |
Matti Hamalainen |
Remove useless HAVE_* defines.
|
Thu, 09 Jan 2020 18:17:29 +0200 |
Matti Hamalainen |
Fixes to the type definitions.
|
Thu, 09 Jan 2020 17:59:30 +0200 |
Matti Hamalainen |
MinGW should have these headers.
|
Thu, 09 Jan 2020 16:53:16 +0200 |
Matti Hamalainen |
Improve system bit-ness handling and target platform.
|
Thu, 09 Jan 2020 13:48:58 +0200 |
Matti Hamalainen |
Remove linefeeds from the th_network message strings.
|
Thu, 09 Jan 2020 13:48:17 +0200 |
Matti Hamalainen |
Fix some format string and argument.
|
Thu, 09 Jan 2020 13:36:41 +0200 |
Matti Hamalainen |
Add __attribute__(__format__ ..) specifiers for functions that use printf() style format specifiers.
|
Wed, 08 Jan 2020 02:36:42 +0200 |
Matti Hamalainen |
Add outlen parameter to th_vprintf_altfmt_funcs.
|
Wed, 08 Jan 2020 02:25:04 +0200 |
Matti Hamalainen |
Actually, partially revert the previous commit and unbreak the API. Leave
|
Wed, 08 Jan 2020 02:17:37 +0200 |
Matti Hamalainen |
Massage th_vprintf_do() a bit, and factor out the format specifier handling
|
Tue, 07 Jan 2020 20:09:23 +0200 |
Matti Hamalainen |
Adjust indentation output of commandline help printing.
|
Tue, 07 Jan 2020 20:06:20 +0200 |
Matti Hamalainen |
Remove unused #ifdef.
|
Mon, 06 Jan 2020 21:31:13 +0200 |
Matti Hamalainen |
Typecast to void* to silence a silly clang-9 warning.
|
Mon, 06 Jan 2020 21:28:47 +0200 |
Matti Hamalainen |
Fix integer overflow in the test values of 32bit ints.
|
Mon, 06 Jan 2020 12:39:44 +0200 |
Matti Hamalainen |
Rename EXEEXT to BINEXT in the build system.
|
Sun, 05 Jan 2020 23:56:22 +0200 |
Matti Hamalainen |
Be consistent about not using \n at end of th_io_error() messages.
|
Sun, 05 Jan 2020 20:47:21 +0200 |
Matti Hamalainen |
Rename th_llist_free_func() to th_llist_free_func_data() to make it a bit more clear what this function does.
|
Sun, 05 Jan 2020 20:17:59 +0200 |
Matti Hamalainen |
Return proper THERR_ error codes from th_pstr_*()
|
Sun, 05 Jan 2020 10:47:04 +0200 |
Matti Hamalainen |
Use \ directory separator for DOS as well.
|
Sun, 05 Jan 2020 10:45:33 +0200 |
Matti Hamalainen |
Rename TH_DIR_SEPARATOR define to TH_DIR_SEPARATOR_CHR and add new
|
Sun, 05 Jan 2020 10:44:58 +0200 |
Matti Hamalainen |
Initialize th_ioctx::line value to 1.
|
Sat, 04 Jan 2020 16:49:25 +0200 |
Matti Hamalainen |
Clean up the parser a bit. Also return valid error value when an error
|
Fri, 03 Jan 2020 10:54:39 +0200 |
Matti Hamalainen |
Bump copyright in license as well.
|
Fri, 03 Jan 2020 10:53:55 +0200 |
Matti Hamalainen |
Bump copyright years.
|
Fri, 03 Jan 2020 08:23:55 +0200 |
Matti Hamalainen |
Cleanups.
|
Fri, 03 Jan 2020 08:15:10 +0200 |
Matti Hamalainen |
Add few comments.
|
Tue, 31 Dec 2019 06:28:28 +0200 |
Matti Hamalainen |
Add "cfg.temp" to hgignores.
|
Tue, 31 Dec 2019 05:51:33 +0200 |
Matti Hamalainen |
Implement optional use of internal printf() implementation for use in th_strdup_vprintf().
|
Tue, 31 Dec 2019 05:24:15 +0200 |
Matti Hamalainen |
A somewhat kludgy fix for the octal format issues, now all current
|
Tue, 31 Dec 2019 05:22:15 +0200 |
Matti Hamalainen |
Add int *prec and change int flags to int *flags in th_vprintf_altfmt_func
|
Tue, 31 Dec 2019 05:19:11 +0200 |
Matti Hamalainen |
Add function typedef th_vprintf_altfmt_func and #define
|
Tue, 31 Dec 2019 05:16:58 +0200 |
Matti Hamalainen |
Add few comments.
|
Tue, 31 Dec 2019 05:13:13 +0200 |
Matti Hamalainen |
Add more printf() format tests.
|
Mon, 30 Dec 2019 18:33:27 +0200 |
Matti Hamalainen |
Oops, un-staticize.
|
Mon, 30 Dec 2019 18:18:40 +0200 |
Matti Hamalainen |
Cleanups.
|
Mon, 30 Dec 2019 16:00:32 +0200 |
Matti Hamalainen |
Remove useless debug print.
|
Mon, 30 Dec 2019 15:18:55 +0200 |
Matti Hamalainen |
Add comment about minimum buffer size requirement.
|
Mon, 30 Dec 2019 15:16:04 +0200 |
Matti Hamalainen |
The buffer used for th_vprintf_put_int() was about twice as large as required. Make it smaller.
|
Mon, 30 Dec 2019 15:04:24 +0200 |
Matti Hamalainen |
Add more explanation for the reasoning behind the special casing of 0.
|
Mon, 30 Dec 2019 15:03:55 +0200 |
Matti Hamalainen |
Make private function static.
|
Mon, 30 Dec 2019 12:27:32 +0200 |
Matti Hamalainen |
Cosmetics.
|
Mon, 30 Dec 2019 12:26:11 +0200 |
Matti Hamalainen |
Change few variable names to be more descriptive.
|
Sat, 28 Dec 2019 13:32:56 +0200 |
Matti Hamalainen |
Remove unused variable.
|
Sat, 28 Dec 2019 13:31:19 +0200 |
Matti Hamalainen |
Disable floating point printf implementation tests as the support is not
|
Sat, 28 Dec 2019 13:29:59 +0200 |
Matti Hamalainen |
Adjust printf int formatting test values and format specifiers.
|
Sat, 28 Dec 2019 11:09:29 +0200 |
Matti Hamalainen |
Move bulk of the printf() implementation into a separate file th_printf.c from th_string.c
|
Sat, 28 Dec 2019 10:00:41 +0200 |
Matti Hamalainen |
Clarify printf test output slightly.
|