log

age author description
Fri, 17 Jan 2020 04:16:32 +0200 Matti Hamalainen Some more slight Doxygenisation.
Fri, 17 Jan 2020 03:47:19 +0200 Matti Hamalainen #include th_types.h instead of th_util.h
Fri, 17 Jan 2020 03:46:38 +0200 Matti Hamalainen Remove useless #includes.
Fri, 17 Jan 2020 03:41:54 +0200 Matti Hamalainen Remove useless #include.
Fri, 17 Jan 2020 03:41:46 +0200 Matti Hamalainen Fix a Doxygen comment.
Fri, 17 Jan 2020 03:21:05 +0200 Matti Hamalainen Add some extra () protection in the th_is* macro wrapper arguments.
Fri, 17 Jan 2020 03:18:40 +0200 Matti Hamalainen Slight improvements to the almost non-existing Doxygen documentation.
Fri, 17 Jan 2020 00:01:55 +0200 Matti Hamalainen Cleanup.
Thu, 16 Jan 2020 18:45:41 +0200 Matti Hamalainen Disable regex stuff from normal builds.
Thu, 16 Jan 2020 16:01:27 +0200 Matti Hamalainen More work on regexes.
Thu, 16 Jan 2020 12:50:28 +0200 Matti Hamalainen Add some comments and debug messages.
Thu, 16 Jan 2020 12:50:09 +0200 Matti Hamalainen Combine code from th_regex_compile() to th_regex_compile_do().
Thu, 16 Jan 2020 03:33:11 +0200 Matti Hamalainen A bit more work on the regex stuff.
Thu, 16 Jan 2020 01:46:19 +0200 Matti Hamalainen Quiet some warnings.
Thu, 16 Jan 2020 01:09:25 +0200 Matti Hamalainen Merge.
Wed, 15 Jan 2020 12:24:43 +0200 Matti Hamalainen Merge.
Tue, 14 Jan 2020 12:53:23 +0200 Matti Hamalainen Rename th_strmatch.c to th_strglob.c
Thu, 16 Jan 2020 01:09:00 +0200 Matti Hamalainen Initial commit of the highly experimental and unfinished regular expression
Thu, 16 Jan 2020 00:49:42 +0200 Matti Hamalainen Comment cosmetics.
Thu, 16 Jan 2020 00:49:26 +0200 Matti Hamalainen Add TEST_ASSERT() and test sizes of some types before doing anything else.
Thu, 16 Jan 2020 00:48:51 +0200 Matti Hamalainen Cosmetic fix in help.
Wed, 15 Jan 2020 11:37:30 +0200 Matti Hamalainen Fix building of 'tests'.
Tue, 14 Jan 2020 03:28:53 +0200 Matti Hamalainen Check for empty target directory in DO_MKDIR Makefile macro.
Tue, 14 Jan 2020 02:57:54 +0200 Matti Hamalainen Improve few Makefile comments.
Tue, 14 Jan 2020 02:43:40 +0200 Matti Hamalainen Oops, a output suppressor was missing from COMPILE_CXX_OBJ macro in the build system.
Tue, 14 Jan 2020 02:05:03 +0200 Matti Hamalainen Improve build system, clean up the functions and improve V=1 verbosity.
Mon, 13 Jan 2020 17:13:13 +0200 Matti Hamalainen Improve string printf() tests.
Mon, 13 Jan 2020 17:12:54 +0200 Matti Hamalainen Fix internal printf() for case of NULL string pointer, but with format
Mon, 13 Jan 2020 11:41:27 +0200 Matti Hamalainen Reorganize th_string.h header slightly.
Mon, 13 Jan 2020 11:41:06 +0200 Matti Hamalainen Rename some internal preprocessor macros.
Mon, 13 Jan 2020 11:40:42 +0200 Matti Hamalainen Fix tests.c after the addition of the width argument to th_args_help().
Sun, 12 Jan 2020 20:51:26 +0200 Matti Hamalainen Document th_args_help() width parameter.
Sun, 12 Jan 2020 20:25:23 +0200 Matti Hamalainen Add new argument to th_args_help() to specify the desired print width.
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.
Sat, 28 Dec 2019 09:55:37 +0200 Matti Hamalainen Improve printf debugging in tests.
Sat, 28 Dec 2019 09:54:57 +0200 Matti Hamalainen Move printf altfmt functions to more logical place.
Fri, 27 Dec 2019 09:51:22 +0200 Matti Hamalainen Increase the printf debug messages verbosity threshold from 2 to 3.
Fri, 27 Dec 2019 09:33:59 +0200 Matti Hamalainen More printf() format specifier tests.
Fri, 27 Dec 2019 09:26:53 +0200 Matti Hamalainen Add (compile-time enabled via TH_PRINTF_DEBUG define) global variable for
Fri, 27 Dec 2019 09:16:21 +0200 Matti Hamalainen Add few tests for th_get_hex_triplet().
Fri, 27 Dec 2019 09:16:00 +0200 Matti Hamalainen Cosmetics.
Thu, 26 Dec 2019 22:26:19 +0200 Matti Hamalainen Simplify th_strdup().
Thu, 26 Dec 2019 13:34:19 +0200 Matti Hamalainen Fix parsing and writing of strings with simple escape sequences in config files.
Thu, 26 Dec 2019 13:17:32 +0200 Matti Hamalainen Fix item key search .. managed to break that previously.
Thu, 26 Dec 2019 13:07:09 +0200 Matti Hamalainen Change return value of th_io_error() and th_io_error_v() to int, and return the error code.
Thu, 26 Dec 2019 13:05:40 +0200 Matti Hamalainen Cleanups.
Thu, 26 Dec 2019 13:03:03 +0200 Matti Hamalainen Be more informative about which config file we are trying to read while testing.
Thu, 26 Dec 2019 13:02:41 +0200 Matti Hamalainen Fix ioctx handlers setup.
Thu, 26 Dec 2019 13:02:25 +0200 Matti Hamalainen Close written test config file before trying to read it.
Thu, 26 Dec 2019 09:45:41 +0200 Matti Hamalainen Return proper THERR_* error codes from th_config functions, at least for some parts.
Thu, 26 Dec 2019 09:10:07 +0200 Matti Hamalainen Add another test for configuration parsing.
Thu, 26 Dec 2019 09:01:32 +0200 Matti Hamalainen Improve config file handling tests.
Thu, 26 Dec 2019 08:26:10 +0200 Matti Hamalainen Bump copyrights.
Thu, 26 Dec 2019 08:13:42 +0200 Matti Hamalainen Oops, accidentally committed some debug code.
Thu, 26 Dec 2019 08:10:54 +0200 Matti Hamalainen Some cleanup work and refactoring on the configuration file parser and writer.
Thu, 26 Dec 2019 08:06:38 +0200 Matti Hamalainen Improvements to config tests.
Thu, 26 Dec 2019 08:05:37 +0200 Matti Hamalainen Fix th_get_hex_triplet() some more ..
Thu, 26 Dec 2019 06:37:21 +0200 Matti Hamalainen De-constify and remove unused variable.
Thu, 26 Dec 2019 06:35:06 +0200 Matti Hamalainen Add simple tests for th_config.
Thu, 26 Dec 2019 06:34:48 +0200 Matti Hamalainen Fix the functionality of th_cfg_find().
Thu, 26 Dec 2019 06:33:35 +0200 Matti Hamalainen Fix a stupid bug in th_get_hex_triplet().