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().
|
Thu, 26 Dec 2019 05:49:49 +0200 |
Matti Hamalainen |
Remove some unused functionality for simplification.
|
Thu, 26 Dec 2019 05:38:48 +0200 |
Matti Hamalainen |
Adjust two test names.
|
Thu, 26 Dec 2019 04:17:00 +0200 |
Matti Hamalainen |
Add a comment about struct aliasing.
|
Wed, 25 Dec 2019 11:42:43 +0200 |
Matti Hamalainen |
Cleanup.
|
Wed, 25 Dec 2019 11:05:15 +0200 |
Matti Hamalainen |
Change hexvalue type to unsigned.
|
Wed, 25 Dec 2019 11:00:51 +0200 |
Matti Hamalainen |
Change int th_get_hex_triplet(const char *str) API to
|
Wed, 25 Dec 2019 08:38:11 +0200 |
Matti Hamalainen |
Add argument names to some function prototypes.
|
Mon, 16 Dec 2019 00:30:20 +0200 |
Matti Hamalainen |
Cleanups.
|
Mon, 09 Dec 2019 13:19:42 +0200 |
Matti Hamalainen |
Cleanup.
|
Thu, 05 Dec 2019 02:50:57 +0200 |
Matti Hamalainen |
Remove some useless things.
|
Thu, 05 Dec 2019 02:49:11 +0200 |
Matti Hamalainen |
Add some tests for PRI* types.
|
Thu, 05 Dec 2019 02:33:48 +0200 |
Matti Hamalainen |
Build fixes.
|
Thu, 05 Dec 2019 02:24:44 +0200 |
Matti Hamalainen |
Improve build system.
|
Mon, 23 Sep 2019 19:47:11 +0300 |
Matti Hamalainen |
Add th_print_version().
|
Thu, 19 Sep 2019 06:20:17 +0300 |
Matti Hamalainen |
Oops. Forgot to declare a variable.
|
Thu, 19 Sep 2019 06:18:50 +0300 |
Matti Hamalainen |
Add new string helper functions th_strndup_no0() and th_strndup_no0_trim()
|
Thu, 19 Sep 2019 06:18:18 +0300 |
Matti Hamalainen |
Add function argument name to prototypes.
|
Sat, 04 May 2019 03:00:23 +0300 |
Matti Hamalainen |
Return empty directory paths under Windows if we can't retrieve AppData
|
Tue, 19 Feb 2019 09:49:41 +0200 |
Matti Hamalainen |
Rename cross-mingw Makefile properly.
|
Tue, 19 Feb 2019 06:12:18 +0200 |
Matti Hamalainen |
Add simplistic support for DJGPP/DOS.
|
Tue, 19 Feb 2019 05:40:14 +0200 |
Matti Hamalainen |
Add verbose build option.
|
Thu, 10 Jan 2019 20:01:38 +0200 |
Matti Hamalainen |
Bump copyright years.
|
Fri, 21 Dec 2018 14:19:59 +0200 |
Matti Hamalainen |
Fix th_stat_path() for *NIX.
|
Tue, 27 Nov 2018 07:48:58 +0200 |
Matti Hamalainen |
Add th_get_int() helper function.
|
Mon, 09 Jul 2018 09:25:51 +0300 |
Matti Hamalainen |
Improve th_stat_path() some more and fix Windows issues.
|
Mon, 09 Jul 2018 08:06:45 +0300 |
Matti Hamalainen |
Improve ioctx API. This breaks backwards compatibility of th_io_fopen().
|
Mon, 09 Jul 2018 07:29:33 +0300 |
Matti Hamalainen |
Build th_file module.
|
Mon, 09 Jul 2018 07:28:13 +0300 |
Matti Hamalainen |
Improve th_stat_path() by changing flags into a struct and adding more information.
|
Mon, 02 Jul 2018 00:01:50 +0300 |
Matti Hamalainen |
Improve build system.
|
Sat, 09 Jun 2018 16:44:37 +0300 |
Matti Hamalainen |
Cleanup.
|
Mon, 04 Jun 2018 03:14:14 +0300 |
Matti Hamalainen |
Add some depencies.
|
Mon, 04 Jun 2018 03:07:46 +0300 |
Matti Hamalainen |
Allow TH_PROG_AUTHOR and TH_PROG_LICENSE to be defined to override
|
Mon, 04 Jun 2018 02:54:31 +0300 |
Matti Hamalainen |
Remove newline from start of the banner.
|
Mon, 04 Jun 2018 02:41:27 +0300 |
Matti Hamalainen |
Rename the global variable th_verbosityLevel to th_verbosity.
|
Mon, 04 Jun 2018 02:39:54 +0300 |
Matti Hamalainen |
Do not set default author/copyright anymore.
|
Mon, 04 Jun 2018 02:39:40 +0300 |
Matti Hamalainen |
Oops. We've been trying to get number of terminal lines from environment
|
Mon, 04 Jun 2018 02:35:18 +0300 |
Matti Hamalainen |
Preprocessor stuff indentation.
|
Sat, 02 Jun 2018 03:54:14 +0300 |
Matti Hamalainen |
Improve tests slightly.
|
Thu, 10 May 2018 17:15:36 +0300 |
Matti Hamalainen |
Cleanups.
|
Thu, 10 May 2018 16:04:15 +0300 |
Matti Hamalainen |
Added signature for changeset a90fe2c4c636
|
Thu, 10 May 2018 15:49:16 +0300 |
Matti Hamalainen |
Cleanups.
|
Sat, 17 Feb 2018 23:42:49 +0200 |
Matti Hamalainen |
Actually, use a inline function for ioctx atime updates.
|
Sat, 17 Feb 2018 23:41:11 +0200 |
Matti Hamalainen |
Use a macro for updating atime.
|
Sat, 17 Feb 2018 23:35:20 +0200 |
Matti Hamalainen |
Oops, fix C++ guards in headers.
|
Fri, 16 Feb 2018 22:21:01 +0200 |
Matti Hamalainen |
Fix th_strrcasecmp(), it had a rather stupid bug.
|
Tue, 02 Jan 2018 23:09:29 +0200 |
Matti Hamalainen |
Actually, revert the boolean changes .. meh.
|
Tue, 02 Jan 2018 22:57:47 +0200 |
Matti Hamalainen |
Merged.
|
Mon, 11 Dec 2017 12:28:13 +0200 |
Matti Hamalainen |
Remove char_t.
|
Tue, 02 Jan 2018 22:57:02 +0200 |
Matti Hamalainen |
Bump copyright years.
|
Tue, 02 Jan 2018 22:56:03 +0200 |
Matti Hamalainen |
Break backwards compatibility by renaming BOOL, TRUE and FALSE to lowercase.
|
Wed, 25 Oct 2017 22:32:07 +0300 |
Matti Hamalainen |
Oops, forgot to rename th_printf_altfmt_* from the header file.
|
Wed, 25 Oct 2017 22:20:21 +0300 |
Matti Hamalainen |
Expose some of the internal vprintf() implementation helper functions.
|