Mon, 27 Jan 2020 07:44:44 +0200 |
Matti Hamalainen |
Improve th_string.o depency chain checking.
|
Mon, 27 Jan 2020 06:09:57 +0200 |
Matti Hamalainen |
Rename TH_PFUNC_* macros to TH_VPRINTF_INTFMT_*
|
Mon, 27 Jan 2020 06:02:22 +0200 |
Matti Hamalainen |
Delete th_strip_ctrlchars().
|
Mon, 27 Jan 2020 06:01:57 +0200 |
Matti Hamalainen |
Cleanups.
|
Mon, 27 Jan 2020 00:38:46 +0200 |
Matti Hamalainen |
Remove useless #includes.
|
Mon, 27 Jan 2020 00:38:40 +0200 |
Matti Hamalainen |
Doxygen fixes.
|
Mon, 27 Jan 2020 00:38:14 +0200 |
Matti Hamalainen |
Ignore config.h in Doxygen.
|
Sat, 25 Jan 2020 14:06:01 +0200 |
Matti Hamalainen |
Doxygenization.
|
Sat, 25 Jan 2020 13:37:01 +0200 |
Matti Hamalainen |
Doxygen fix.
|
Sat, 25 Jan 2020 13:36:15 +0200 |
Matti Hamalainen |
Doxygen fixes.
|
Sat, 25 Jan 2020 13:18:38 +0200 |
Matti Hamalainen |
Always compile the regex code, but do not run tests on it unless enabled.
|
Sat, 25 Jan 2020 13:13:37 +0200 |
Matti Hamalainen |
Moar re-work.
|
Sat, 25 Jan 2020 13:05:11 +0200 |
Matti Hamalainen |
Remove th_io_free(), merge the functionality to th_io_close(). Add flags
|
Sat, 25 Jan 2020 11:35:59 +0200 |
Matti Hamalainen |
Tweedle.
|
Sat, 25 Jan 2020 08:01:17 +0200 |
Matti Hamalainen |
Twiddle.
|
Sat, 25 Jan 2020 06:47:41 +0200 |
Matti Hamalainen |
And some more work.
|
Sat, 25 Jan 2020 05:46:40 +0200 |
Matti Hamalainen |
Add some ignores.
|
Sat, 25 Jan 2020 05:11:40 +0200 |
Matti Hamalainen |
More fiddling and twiddling. Add parsing to string nodes instead of separate character nodes.
|
Fri, 24 Jan 2020 15:10:19 +0200 |
Matti Hamalainen |
Add some missing error messages.
|
Fri, 24 Jan 2020 12:06:43 +0200 |
Matti Hamalainen |
Cleanups.
|
Fri, 24 Jan 2020 09:39:09 +0200 |
Matti Hamalainen |
Cleanup.
|
Fri, 24 Jan 2020 09:36:43 +0200 |
Matti Hamalainen |
Fix parsing of +? and *?.
|
Fri, 24 Jan 2020 09:13:24 +0200 |
Matti Hamalainen |
Aaand some more work. Still just a broken concept.
|
Thu, 23 Jan 2020 11:38:28 +0200 |
Matti Hamalainen |
Some more work on regex stuff.
|
Tue, 21 Jan 2020 12:23:59 +0200 |
Matti Hamalainen |
Cleanups.
|
Tue, 21 Jan 2020 08:07:52 +0200 |
Matti Hamalainen |
Cosmetic Windows/MINGW Makefile flags reorder.
|
Tue, 21 Jan 2020 07:54:42 +0200 |
Matti Hamalainen |
Fix the check for --long option argument.
|
Tue, 21 Jan 2020 07:16:18 +0200 |
Matti Hamalainen |
Improve the experimental regex matching debugging macros.
|
Tue, 21 Jan 2020 05:00:53 +0200 |
Matti Hamalainen |
Rename some variables.
|
Mon, 20 Jan 2020 17:02:06 +0200 |
Matti Hamalainen |
Adjust options help width check, it was off-by-one.
|
Fri, 17 Jan 2020 20:08:55 +0200 |
Matti Hamalainen |
Return a THERR_* error value from th_ringbuf_grow() instead of BOOL. This
|
Fri, 17 Jan 2020 20:07:25 +0200 |
Matti Hamalainen |
Add new function th_ringbuf_init() and add "allocated" field to th_ringbuf_t
|
Fri, 17 Jan 2020 19:32:28 +0200 |
Matti Hamalainen |
Doxygen improvements.
|
Fri, 17 Jan 2020 19:32:13 +0200 |
Matti Hamalainen |
Change ringbuffer data type from (char *) to (void *).
|
Fri, 17 Jan 2020 19:22:04 +0200 |
Matti Hamalainen |
Add some error checking in th_ringbuf_new().
|
Fri, 17 Jan 2020 19:14:36 +0200 |
Matti Hamalainen |
Indentation cosmetics.
|
Fri, 17 Jan 2020 19:13:57 +0200 |
Matti Hamalainen |
Fix ringbuf size and n types.
|
Fri, 17 Jan 2020 04:20:16 +0200 |
Matti Hamalainen |
Cleanup.
|
Fri, 17 Jan 2020 04:20:03 +0200 |
Matti Hamalainen |
Add one function argument name to the prototype.
|
Fri, 17 Jan 2020 04:16:48 +0200 |
Matti Hamalainen |
Get rid of some useless includes.
|
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().
|
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.
|
Wed, 25 Oct 2017 22:13:09 +0300 |
Matti Hamalainen |
Split th_vprintf_put_int() partially into th_vprintf_put_int_format(), to
|
Wed, 25 Oct 2017 22:10:32 +0300 |
Matti Hamalainen |
Rename th_printf_altfmt_*() functions to th_vprintf_altfmt_*().
|
Wed, 25 Oct 2017 21:47:30 +0300 |
Matti Hamalainen |
Typofix.
|
Wed, 25 Oct 2017 18:25:21 +0300 |
Matti Hamalainen |
Add build message for ranlib.
|
Wed, 25 Oct 2017 18:23:19 +0300 |
Matti Hamalainen |
Possibly fix external build things and llvm static analyzer runs.
|
Thu, 19 Oct 2017 17:37:04 +0300 |
Matti Hamalainen |
Add new function th_strbuf_putsn().
|
Thu, 19 Oct 2017 17:18:29 +0300 |
Matti Hamalainen |
Fix th_pstrcpy() call to th_pstr_cpy()
|
Thu, 19 Oct 2017 17:17:09 +0300 |
Matti Hamalainen |
Rename functions th_pstrcat() and th_pstrcpy() to th_pstr_cat() and th_pstr_cpy()
|
Thu, 12 Oct 2017 17:13:47 +0300 |
Matti Hamalainen |
Rename header #ifdef guards.
|
Thu, 12 Oct 2017 17:12:50 +0300 |
Matti Hamalainen |
Get rid of trailing whitespace.
|
Fri, 15 Sep 2017 04:49:57 +0300 |
Matti Hamalainen |
Silence a GCC 7+ warning about switch case fallthrough.
|
Sun, 14 May 2017 13:15:59 +0300 |
Matti Hamalainen |
Adjust wording.
|
Sun, 14 May 2017 13:13:30 +0300 |
Matti Hamalainen |
More Doxygenization.
|
Wed, 10 May 2017 21:01:27 +0300 |
Matti Hamalainen |
Add Doxyfile.
|
Wed, 10 May 2017 21:00:37 +0300 |
Matti Hamalainen |
Begin adding Doxygen documentation for some things. Very rudimentary, and
|
Fri, 07 Apr 2017 02:49:08 +0300 |
Matti Hamalainen |
Merged.
|
Fri, 07 Apr 2017 02:48:54 +0300 |
Matti Hamalainen |
Add Mingw/win32 cross-build Makefile.
|
Fri, 07 Apr 2017 02:48:31 +0300 |
Matti Hamalainen |
Improve the build system.
|
Sun, 01 Jan 2017 01:59:49 +0200 |
Matti Hamalainen |
Bump copyrights.
|
Mon, 07 Nov 2016 02:57:23 +0200 |
Matti Hamalainen |
#ifdef out WIP floating point support from printf() implementation.
|
Tue, 27 Sep 2016 00:45:23 +0300 |
Matti Hamalainen |
Merged.
|
Thu, 28 Jul 2016 14:15:49 +0300 |
Matti Hamalainen |
Typo fix.
|
Wed, 13 Jul 2016 12:50:08 +0300 |
Matti Hamalainen |
Add e-mail.
|
Tue, 27 Sep 2016 00:44:34 +0300 |
Matti Hamalainen |
Update description.
|
Tue, 31 May 2016 16:16:04 +0300 |
Matti Hamalainen |
Fix build for older GCC versions.
|
Thu, 10 Mar 2016 01:55:22 +0200 |
Matti Hamalainen |
Fix build.
|
Wed, 09 Mar 2016 22:42:30 +0200 |
Matti Hamalainen |
Fix endianchk build when Makefile.inc is being included from parent project
|
Wed, 09 Mar 2016 21:23:42 +0200 |
Matti Hamalainen |
Prettify build.
|
Wed, 09 Mar 2016 16:14:47 +0200 |
Matti Hamalainen |
Cleanup Makefile.
|
Wed, 09 Mar 2016 15:11:06 +0200 |
Matti Hamalainen |
Fix build.
|
Wed, 09 Mar 2016 15:10:16 +0200 |
Matti Hamalainen |
Improve build system.
|
Wed, 09 Mar 2016 14:03:10 +0200 |
Matti Hamalainen |
Split some build stuff into Makefile.inc
|
Wed, 09 Mar 2016 13:55:48 +0200 |
Matti Hamalainen |
Make build process less noisy.
|
Wed, 09 Mar 2016 13:42:24 +0200 |
Matti Hamalainen |
Fix build process for parallel make.
|
Wed, 09 Mar 2016 13:23:24 +0200 |
Matti Hamalainen |
Improve build rule for th_string.c depencies.
|
Wed, 09 Mar 2016 13:06:37 +0200 |
Matti Hamalainen |
Update file description.
|
Wed, 09 Mar 2016 13:03:39 +0200 |
Matti Hamalainen |
Split th_str{case}match() into another file to reduce code duplication.
|
Wed, 09 Mar 2016 13:03:05 +0200 |
Matti Hamalainen |
Improve build process.
|
Wed, 09 Mar 2016 13:02:56 +0200 |
Matti Hamalainen |
Two more test cases.
|
Wed, 09 Mar 2016 12:10:41 +0200 |
Matti Hamalainen |
Add some XXX TODO FIXME in here :P
|
Wed, 09 Mar 2016 12:07:10 +0200 |
Matti Hamalainen |
Improve printf implementation debugging.
|
Wed, 09 Mar 2016 12:06:45 +0200 |
Matti Hamalainen |
Improve altfmt modifier handling for printf implementation. Not
|
Wed, 09 Mar 2016 12:05:16 +0200 |
Matti Hamalainen |
Improve printf implementation somewhat. The logic is not very pretty and not
|
Wed, 09 Mar 2016 11:58:44 +0200 |
Matti Hamalainen |
Add some more tests.
|
Wed, 09 Mar 2016 10:53:45 +0200 |
Matti Hamalainen |
Adjust build flags.
|
Tue, 08 Mar 2016 10:04:26 +0200 |
Matti Hamalainen |
Update comment.
|
Mon, 07 Mar 2016 10:13:29 +0200 |
Matti Hamalainen |
Adjust tests.
|
Mon, 07 Mar 2016 10:06:46 +0200 |
Matti Hamalainen |
More tests.
|
Mon, 07 Mar 2016 09:29:53 +0200 |
Matti Hamalainen |
Fix some tests.
|
Thu, 03 Mar 2016 14:44:43 +0200 |
Matti Hamalainen |
Update comment to reflect the status of supported printf length modifiers.
|
Thu, 03 Mar 2016 14:36:14 +0200 |
Matti Hamalainen |
Add some missing types and macros when we do not have inttypes.h or stdint.h
|
Thu, 03 Mar 2016 14:35:27 +0200 |
Matti Hamalainen |
Build system cleanup.
|
Thu, 03 Mar 2016 14:21:22 +0200 |
Matti Hamalainen |
Comments.
|
Thu, 03 Mar 2016 14:17:02 +0200 |
Matti Hamalainen |
Add PRIo{32,64} macros.
|
Thu, 03 Mar 2016 14:15:26 +0200 |
Matti Hamalainen |
Add PRIi{32,64} macros.
|
Thu, 03 Mar 2016 14:13:31 +0200 |
Matti Hamalainen |
Rename TH_PRI{u,d,x}* macros to match with standard ISO C99 inttypes.h PRI*.
|
Thu, 03 Mar 2016 14:11:57 +0200 |
Matti Hamalainen |
Handle HAVE_STDINT_H vs HAVE_SYS_TYPES_H somewhat more sanely.
|
Thu, 03 Mar 2016 14:11:27 +0200 |
Matti Hamalainen |
Bump copyright.
|
Thu, 03 Mar 2016 14:11:17 +0200 |
Matti Hamalainen |
s/_TH_TYPES_H/TH_TYPES_H/g
|
Thu, 03 Mar 2016 14:08:38 +0200 |
Matti Hamalainen |
Buildsystem improvements.
|
Thu, 03 Mar 2016 13:49:45 +0200 |
Matti Hamalainen |
If f_width is not specified, initialize it to -1.
|
Thu, 03 Mar 2016 13:45:11 +0200 |
Matti Hamalainen |
10L.
|
Thu, 03 Mar 2016 13:44:25 +0200 |
Matti Hamalainen |
Prepare to handle variable width and precision given as arguments.
|
Thu, 03 Mar 2016 13:17:40 +0200 |
Matti Hamalainen |
Comments.
|
Thu, 03 Mar 2016 13:16:45 +0200 |
Matti Hamalainen |
Remove debug variable.
|
Thu, 03 Mar 2016 13:07:02 +0200 |
Matti Hamalainen |
Cosmetic linebreaks.
|
Thu, 03 Mar 2016 11:51:02 +0200 |
Matti Hamalainen |
Add missing debug variable.
|
Thu, 03 Mar 2016 11:45:48 +0200 |
Matti Hamalainen |
Add debug prints when TH_PRINTF_DEBUG is defined.
|
Thu, 03 Mar 2016 11:45:23 +0200 |
Matti Hamalainen |
Move the debug/test defines to main Makefile.gen
|
Tue, 01 Mar 2016 17:22:33 +0200 |
Matti Hamalainen |
Fix a nasty typo.
|
Tue, 01 Mar 2016 17:21:22 +0200 |
Matti Hamalainen |
Rename th_optarg_t to t_optarg. API break.
|
Tue, 01 Mar 2016 17:18:58 +0200 |
Matti Hamalainen |
Rename some function arguments and option argument structure members.
|
Tue, 01 Mar 2016 00:17:53 +0200 |
Matti Hamalainen |
Add empty line.
|
Mon, 29 Feb 2016 16:50:54 +0200 |
Matti Hamalainen |
Rename s/th_printf_vbuf_int/th_vprintf_buf_int/g.
|
Mon, 29 Feb 2016 16:49:34 +0200 |
Matti Hamalainen |
Pass also numeric buffer and return value from th_printf_vbuf_int*() to altfmt helper functions.
|
Mon, 29 Feb 2016 16:35:05 +0200 |
Matti Hamalainen |
Initial th_vprintf_put_float() stub.
|
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 15:26:55 +0200 |
Matti Hamalainen |
Indentation cosmetics.
|
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.
|
Mon, 29 Feb 2016 11:58:43 +0200 |
Matti Hamalainen |
Actually parse the -t option argument.
|
Thu, 25 Feb 2016 14:58:36 +0200 |
Matti Hamalainen |
Refactor testing a bit.
|
Thu, 25 Feb 2016 14:48:25 +0200 |
Matti Hamalainen |
Cosmetics.
|
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.
|
Tue, 16 Feb 2016 16:30:26 +0200 |
Matti Hamalainen |
Cosmetics.
|
Tue, 16 Feb 2016 16:29:52 +0200 |
Matti Hamalainen |
Fix return values of some helper functions.
|
Tue, 16 Feb 2016 16:29:25 +0200 |
Matti Hamalainen |
Add some comments.
|
Tue, 16 Feb 2016 16:10:41 +0200 |
Matti Hamalainen |
Some preparation for %f support .. if it ever happens.
|
Tue, 16 Feb 2016 16:01:32 +0200 |
Matti Hamalainen |
Silence unused function warning when not using internal implementations.
|
Tue, 16 Feb 2016 16:01:15 +0200 |
Matti Hamalainen |
Initialize return value variable.
|
Tue, 16 Feb 2016 16:01:02 +0200 |
Matti Hamalainen |
Oops, s/vsnpintf/vsnprintf/.
|
Tue, 16 Feb 2016 16:00:44 +0200 |
Matti Hamalainen |
Function argument list split & indentation cosmetic.
|
Tue, 16 Feb 2016 15:59:43 +0200 |
Matti Hamalainen |
Reverse order of certain checks (micro-optimize).
|
Tue, 16 Feb 2016 15:59:24 +0200 |
Matti Hamalainen |
Add blocks to clarify some code.
|
Tue, 16 Feb 2016 15:58:50 +0200 |
Matti Hamalainen |
Add some error checking to th_vprintf_do().
|
Tue, 16 Feb 2016 15:55:33 +0200 |
Matti Hamalainen |
Cosmetic.
|
Tue, 16 Feb 2016 15:54:37 +0200 |
Matti Hamalainen |
Update copyright.
|
Tue, 16 Feb 2016 14:08:35 +0200 |
Matti Hamalainen |
Stray nbsp.
|
Tue, 16 Feb 2016 14:03:51 +0200 |
Matti Hamalainen |
Add some comments.
|
Tue, 16 Feb 2016 13:59:51 +0200 |
Matti Hamalainen |
Initial work on printf() style function family implementation.
|
Tue, 16 Feb 2016 12:02:17 +0200 |
Matti Hamalainen |
Cosmetics.
|
Tue, 16 Feb 2016 12:00:18 +0200 |
Matti Hamalainen |
Bump copyright year.
|
Tue, 16 Feb 2016 11:59:44 +0200 |
Matti Hamalainen |
UTF-8.
|
Mon, 15 Feb 2016 12:01:12 +0200 |
Matti Hamalainen |
Fix th_str(n)dup_trim() functions. :S
|
Mon, 15 Feb 2016 10:46:45 +0200 |
Matti Hamalainen |
Improve documentation.
|
Mon, 15 Feb 2016 10:45:05 +0200 |
Matti Hamalainen |
Fix th_str{n}dup_trim() functions.
|
Mon, 15 Feb 2016 10:13:08 +0200 |
Matti Hamalainen |
Oops, broken function. Fixed.
|
Mon, 15 Feb 2016 10:11:10 +0200 |
Matti Hamalainen |
Implement th_strndup_trim() and factorize implementation of th_strdup_trim().
|
Mon, 15 Feb 2016 06:05:42 +0200 |
Matti Hamalainen |
Oops, using "errno" as io_ctx struct member causes problems on some
|
Sun, 14 Feb 2016 07:53:18 +0200 |
Matti Hamalainen |
Rename some functions for consistency.
|
Sun, 14 Feb 2016 05:12:44 +0200 |
Matti Hamalainen |
Don't use macro expansion in the th_ctx.h header file for generating the
|
Fri, 12 Feb 2016 18:19:01 +0200 |
Matti Hamalainen |
Meh, rename he/HE to ne/NE. Native vs Host.
|
Fri, 12 Feb 2016 18:17:44 +0200 |
Matti Hamalainen |
Add endian converting th_md5_append_{he,le,be}{16,32,64}() functions.
|
Fri, 12 Feb 2016 18:17:11 +0200 |
Matti Hamalainen |
Bump copyright.
|
Fri, 12 Feb 2016 18:16:38 +0200 |
Matti Hamalainen |
Add native to / from he* "conversion" macros, which do nothing.
|
Fri, 12 Feb 2016 18:13:22 +0200 |
Matti Hamalainen |
Get rid of TH_HAVE_64BIT.
|
Fri, 12 Feb 2016 06:08:04 +0200 |
Matti Hamalainen |
Update header comment.
|
Fri, 12 Feb 2016 05:51:27 +0200 |
Matti Hamalainen |
Cosmetics.
|
Fri, 12 Feb 2016 03:00:19 +0200 |
Matti Hamalainen |
Change io context API. Again.
|
Fri, 12 Feb 2016 02:49:21 +0200 |
Matti Hamalainen |
More work on th_ioctx stuff and wrappers.
|
Fri, 12 Feb 2016 02:47:11 +0200 |
Matti Hamalainen |
Actually make th_get_config_dir() work.
|
Fri, 12 Feb 2016 00:16:49 +0200 |
Matti Hamalainen |
Fix thfgets().
|
Thu, 11 Feb 2016 23:41:26 +0200 |
Matti Hamalainen |
Improve error handling in th_config.
|
Thu, 11 Feb 2016 23:14:54 +0200 |
Matti Hamalainen |
Add th_io_fopen() helper function.
|
Thu, 11 Feb 2016 22:59:30 +0200 |
Matti Hamalainen |
Fix th_config for new th_ioctx API.
|
Thu, 11 Feb 2016 22:27:56 +0200 |
Matti Hamalainen |
Refactor I/O contexts. Breaks API and all that.
|
Thu, 11 Feb 2016 21:38:52 +0200 |
Matti Hamalainen |
Remove file helper functions, they will be reintroduced in another form in new I/O contexts.
|
Thu, 11 Feb 2016 21:24:05 +0200 |
Matti Hamalainen |
Cosmetic.
|
Thu, 11 Feb 2016 21:23:47 +0200 |
Matti Hamalainen |
Include stdio.h here, we need it for th_md5_print().
|
Thu, 11 Feb 2016 20:27:28 +0200 |
Matti Hamalainen |
Cosmetics.
|
Thu, 11 Feb 2016 20:26:47 +0200 |
Matti Hamalainen |
Rename th_free_r() to th_free_r_real() and #define a macro wrapper for
|
Thu, 11 Feb 2016 17:52:35 +0200 |
Matti Hamalainen |
Move th_{fread,fwrite}_{str,byte}() functions to th_file module.
|
Thu, 11 Feb 2016 16:42:43 +0200 |
Matti Hamalainen |
100L.
|
Thu, 11 Feb 2016 16:42:00 +0200 |
Matti Hamalainen |
Define some argument identifiers in function prototypes and rename some arguments.
|
Thu, 11 Feb 2016 16:22:52 +0200 |
Matti Hamalainen |
Bump copyright.
|
Thu, 11 Feb 2016 16:10:31 +0200 |
Matti Hamalainen |
Add new function th_free_r(void **ptr) that calls th_free(*ptr) and sets *ptr to NULL.
|
Thu, 11 Feb 2016 16:09:12 +0200 |
Matti Hamalainen |
Use TH_PLAT_WINDOWS define for #ifdef logic.
|
Thu, 11 Feb 2016 16:08:12 +0200 |
Matti Hamalainen |
Bump copyright.
|
Thu, 11 Feb 2016 16:07:33 +0200 |
Matti Hamalainen |
Cosmetics.
|
Wed, 10 Feb 2016 16:35:15 +0200 |
Matti Hamalainen |
Added signature for changeset acee96f864f8
|
Wed, 10 Feb 2016 16:34:58 +0200 |
Matti Hamalainen |
Merged.
|
Wed, 10 Feb 2016 16:34:44 +0200 |
Matti Hamalainen |
Clean up the code, add argument identifiers to function prototypes and
|
Wed, 10 Feb 2016 16:24:31 +0200 |
Matti Hamalainen |
Added signature for changeset b256db93cf25
|
Wed, 20 Jan 2016 16:40:05 +0200 |
Matti Hamalainen |
Initial import of th_file module.
|
Wed, 20 Jan 2016 16:25:23 +0200 |
Matti Hamalainen |
Define TH_PLAT_{WINDOWS,UNIX} depending on the platform we are on.
|