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.
|
Tue, 31 Mar 2015 11:26:26 +0300 |
Matti Hamalainen |
Add checks for WIN64.
|
Tue, 03 Mar 2015 00:49:43 +0200 |
Matti Hamalainen |
Use TH_PRIx_SIZE_T here.
|
Mon, 02 Mar 2015 22:43:23 +0200 |
Matti Hamalainen |
Cosmetic.
|
Mon, 02 Mar 2015 22:43:15 +0200 |
Matti Hamalainen |
Remove defines that were meant to cause errors when ancient versions of
|
Mon, 02 Mar 2015 22:42:38 +0200 |
Matti Hamalainen |
Remove TH_HAVE_64BIT checks. Just assume we do have it.
|
Mon, 02 Mar 2015 01:46:31 +0200 |
Matti Hamalainen |
Adjust program banner printing.
|
Sun, 01 Mar 2015 15:59:36 +0200 |
Matti Hamalainen |
Cleanup.
|
Sun, 01 Mar 2015 05:35:15 +0200 |
Matti Hamalainen |
Rename some variables.
|
Sun, 01 Mar 2015 05:34:48 +0200 |
Matti Hamalainen |
Comments, cosmetics.
|
Mon, 23 Feb 2015 15:45:12 +0200 |
Matti Hamalainen |
Fix handling of option arguments.
|
Thu, 19 Feb 2015 17:03:00 +0200 |
Matti Hamalainen |
Adding floating point configuration item support.
|
Thu, 19 Feb 2015 15:59:42 +0200 |
Matti Hamalainen |
Merged.
|
Thu, 19 Feb 2015 15:57:38 +0200 |
Matti Hamalainen |
Cleanups.
|
Wed, 18 Feb 2015 21:44:28 +0200 |
Matti Hamalainen |
Add on/off to valid boolean values.
|
Wed, 18 Feb 2015 21:13:52 +0200 |
Matti Hamalainen |
Use th_get_boolean() in configuration parser.
|
Wed, 18 Feb 2015 21:13:44 +0200 |
Matti Hamalainen |
Add th_get_boolean() function.
|
Wed, 18 Feb 2015 13:28:29 +0200 |
Matti Hamalainen |
Use TH_PRIu_SIZE_T for size_t printing.
|
Wed, 18 Feb 2015 13:28:18 +0200 |
Matti Hamalainen |
Initialize line number field in ioctx to 1.
|