Fri, 08 Mar 2024 15:26:24 +0200 |
Matti Hamalainen |
Bump copyright.
default tip
|
Thu, 29 Feb 2024 21:46:58 +0200 |
Matti Hamalainen |
Fix verbose build echos.
|
Fri, 29 Dec 2023 12:39:39 +0200 |
Matti Hamalainen |
Cosmetic.
|
Wed, 20 Dec 2023 08:04:04 +0200 |
Matti Hamalainen |
Fix a test.
|
Wed, 20 Dec 2023 07:57:25 +0200 |
Matti Hamalainen |
Plug another memory leak in tests.
|
Wed, 20 Dec 2023 07:51:04 +0200 |
Matti Hamalainen |
Fix memory leaks in tests.
|
Wed, 20 Dec 2023 07:27:35 +0200 |
Matti Hamalainen |
Add missing void to mark empty function argument lists.
|
Thu, 03 Aug 2023 09:04:43 +0300 |
Matti Hamalainen |
Rename Makefile.gen to Makefile.common
|
Tue, 04 Jul 2023 01:24:38 +0300 |
Matti Hamalainen |
Rename th_cfg_find() to th_cfg_item_find().
|
Tue, 04 Jul 2023 01:22:50 +0300 |
Matti Hamalainen |
Indent cosmetic.
|
Tue, 04 Jul 2023 01:19:13 +0300 |
Matti Hamalainen |
Cleanups.
|
Sun, 02 Jul 2023 14:41:50 +0300 |
Matti Hamalainen |
Bump standard to C11.
|
Sun, 02 Jul 2023 03:19:57 +0300 |
Matti Hamalainen |
Rename th_cfg_add_hexvalue() to th_cfg_add_hex_triplet().
|
Sun, 02 Jul 2023 00:43:59 +0300 |
Matti Hamalainen |
Rename a number of config parser variables etc.
|
Sat, 01 Jul 2023 22:48:03 +0300 |
Matti Hamalainen |
s/SET_MAX_BUF/SET_CFG_MAX_PARSE_BUF/g
|
Sat, 01 Jul 2023 22:12:51 +0300 |
Matti Hamalainen |
s/ITEM_/CFG_ITEM_/g'
|
Sat, 01 Jul 2023 20:33:45 +0300 |
Matti Hamalainen |
Whoops. s/ITEM_bool/ITEM_BOOL/g; s/PM_bool/PM_BOOL/g.
|
Mon, 20 Feb 2023 23:36:33 +0200 |
Matti Hamalainen |
Fix th_ioctx_t_ops -> th_ioctx_ops_t
|
Mon, 20 Feb 2023 23:33:45 +0200 |
Matti Hamalainen |
Rename th_ioctx struct to th_ioctx_t, for consistency. Breaks API.
|
Sun, 12 Feb 2023 14:08:09 +0200 |
Matti Hamalainen |
Fix Doxygen.
|
Sun, 12 Feb 2023 09:04:33 +0200 |
Matti Hamalainen |
Rename some th_ioctx members.
|
Fri, 10 Feb 2023 02:46:57 +0200 |
Matti Hamalainen |
Add handle_escapes parameter to th_str{case}match() functions to
|
Fri, 10 Feb 2023 02:45:34 +0200 |
Matti Hamalainen |
Un-macroify th_vprintf_buf_*() function prototypes.
|
Fri, 10 Feb 2023 02:10:49 +0200 |
Matti Hamalainen |
Cosmetics.
|
Fri, 10 Feb 2023 01:03:22 +0200 |
Matti Hamalainen |
Invert some preprocessor conditions for clarity.
|
Thu, 09 Feb 2023 23:59:00 +0200 |
Matti Hamalainen |
Clean up the tests a bit, rename macros, cosmetics.
|
Thu, 09 Feb 2023 23:55:04 +0200 |
Matti Hamalainen |
#define TH_FS_CASE_INSENSITIVE for Windows and DOS.
|
Sun, 05 Feb 2023 19:41:05 +0200 |
Matti Hamalainen |
Reorder.
|
Sun, 05 Feb 2023 19:40:14 +0200 |
Matti Hamalainen |
Cleanup.
|
Sun, 05 Feb 2023 04:00:50 +0200 |
Matti Hamalainen |
Add some simple tests for linked lists.
|
Sun, 05 Feb 2023 02:16:22 +0200 |
Matti Hamalainen |
Add th_llist_mergesort() for sorting linked lists.
|
Wed, 01 Feb 2023 16:43:36 +0200 |
Matti Hamalainen |
Fix constness.
|
Wed, 01 Feb 2023 14:09:25 +0200 |
Matti Hamalainen |
Add th_llist_length_slow().
|
Wed, 01 Feb 2023 14:09:12 +0200 |
Matti Hamalainen |
Fix list length when reversing.
|
Wed, 01 Feb 2023 13:17:26 +0200 |
Matti Hamalainen |
Urgh. Fix previous commit.
|
Wed, 01 Feb 2023 13:02:35 +0200 |
Matti Hamalainen |
Add th_llist_reverse() for reversing a linked list.
|
Thu, 26 Jan 2023 07:23:12 +0200 |
Matti Hamalainen |
Rename function th_llist_find() to th_llist_find_data().
|
Wed, 11 Jan 2023 12:00:52 +0200 |
Matti Hamalainen |
Add some NULL pointer checks.
|
Mon, 09 Jan 2023 09:49:13 +0200 |
Matti Hamalainen |
Rename function argument.
|
Fri, 30 Dec 2022 09:12:47 +0200 |
Matti Hamalainen |
Adjust short option cosmetics in help.
|
Wed, 21 Dec 2022 17:23:10 +0200 |
Matti Hamalainen |
Oops, typofix, missing comma separator between string elements :O
|
Wed, 21 Dec 2022 13:20:56 +0200 |
Matti Hamalainen |
Add #ifdef to avoid unused variable warning.
|
Wed, 21 Dec 2022 13:20:06 +0200 |
Matti Hamalainen |
No need to check for both __MINGW32__ and __MINGW64__, the former is enough.
|
Wed, 21 Dec 2022 13:19:02 +0200 |
Matti Hamalainen |
Move TH_ATTR_PRINTF_FMT macro definition to th_types.h and improve the
|
Wed, 21 Dec 2022 13:17:20 +0200 |
Matti Hamalainen |
Only do certain th_file tests if we are compiled for *NIX (Win/DOS specific
|
Wed, 14 Dec 2022 22:58:12 +0200 |
Matti Hamalainen |
Change th_pstr_printf()/th_pstr_vprintf() to return pointer to the newly
|
Wed, 14 Dec 2022 01:38:31 +0200 |
Matti Hamalainen |
Add few simplistic tests of th_file module functions.
|
Wed, 14 Dec 2022 01:38:08 +0200 |
Matti Hamalainen |
Always clear stat structure in th_stat_path().
|
Wed, 14 Dec 2022 01:32:40 +0200 |
Matti Hamalainen |
Change th_mkdir_path() API, instead if returning boolean, return a th-lib error code.
|
Wed, 14 Dec 2022 01:31:51 +0200 |
Matti Hamalainen |
Change th_get_config_dir() API.
|
Wed, 14 Dec 2022 01:31:25 +0200 |
Matti Hamalainen |
Add missing void to function arguments.
|
Sun, 11 Dec 2022 00:00:23 +0200 |
Matti Hamalainen |
Clean cruft from Mingw cross-build Makefile.
|
Wed, 07 Dec 2022 15:03:36 +0200 |
Matti Hamalainen |
Return actual errno status in case of fopen() failure.
|
Wed, 07 Dec 2022 15:03:09 +0200 |
Matti Hamalainen |
Add simple growing pointerlist data stucture implementation.
|
Wed, 07 Dec 2022 12:14:39 +0200 |
Matti Hamalainen |
Renaming BOOL->bool and TRUE/FALSE to true/false, and using stdbool.h if available.
|
Wed, 07 Dec 2022 11:58:54 +0200 |
Matti Hamalainen |
Improve documentation.
|
Wed, 07 Dec 2022 11:57:43 +0200 |
Matti Hamalainen |
Rename "allocated" field to "is_allocated" in some structures.
|
Wed, 07 Dec 2022 00:17:57 +0200 |
Matti Hamalainen |
Fix free.
|
Wed, 07 Dec 2022 00:15:38 +0200 |
Matti Hamalainen |
Change th_ringbuf_new() API.
|
Wed, 07 Dec 2022 00:06:45 +0200 |
Matti Hamalainen |
Use specified deallocator for ringbuffers when rotating.
|
Fri, 25 Feb 2022 15:25:16 +0200 |
Matti Hamalainen |
More build system improvements.
|
Fri, 25 Feb 2022 15:18:19 +0200 |
Matti Hamalainen |
Improve build system.
|
Thu, 06 Jan 2022 13:12:16 +0200 |
Matti Hamalainen |
Add set_bit/test_bit helpers.
|
Sat, 01 Jan 2022 16:17:31 +0200 |
Matti Hamalainen |
Bump copyrights.
|
Mon, 18 Oct 2021 01:56:55 +0300 |
Matti Hamalainen |
On 64bit 'l' printf specifier is 64bit, on 32bit 'll' is 64bit.
|
Mon, 18 Oct 2021 01:56:09 +0300 |
Matti Hamalainen |
Add some tests for PRI* printf specifiers to test 64bit.
|
Mon, 18 Oct 2021 01:04:46 +0300 |
Matti Hamalainen |
Perhaps improve type definitions for MinGW v8+
|
Sat, 02 Jan 2021 11:35:54 +0200 |
Matti Hamalainen |
Bump copyright years.
|
Sun, 13 Dec 2020 13:53:06 +0200 |
Matti Hamalainen |
Initialize regex parsing context before checking pointers.
|
Wed, 11 Nov 2020 15:08:03 +0200 |
Matti Hamalainen |
Add th_ioctx::memData NULL check in th_mem_realloc() as well.
|
Wed, 11 Nov 2020 13:35:03 +0200 |
Matti Hamalainen |
Set th_ioctx::memAlloc to zero in th_mem_fclose() if memory is freed. This fixes the issue if file is reopened and th_mem_realloc() fails to notice that we have no allocated memory.
|
Wed, 11 Nov 2020 13:23:24 +0200 |
Matti Hamalainen |
Check for length > 0.
|
Mon, 26 Oct 2020 12:48:37 +0200 |
Matti Hamalainen |
Add some error status setting in memio.
|
Mon, 26 Oct 2020 12:33:02 +0200 |
Matti Hamalainen |
Improve few comments.
|
Tue, 28 Apr 2020 18:38:23 +0300 |
Matti Hamalainen |
Fix th_strncasecmp() edge case.
|
Mon, 27 Apr 2020 03:33:48 +0300 |
Matti Hamalainen |
Do not use th_strlen() in th_strndup(), as the string might not have a
|
Mon, 27 Apr 2020 01:35:39 +0300 |
Matti Hamalainen |
Fix a memory leak in regex tests.
|
Mon, 27 Apr 2020 01:31:53 +0300 |
Matti Hamalainen |
Fix various memory leaks in th_regex. Not that it is usable anyway yet.
|
Mon, 27 Apr 2020 01:28:14 +0300 |
Matti Hamalainen |
Cleanup.
|
Mon, 27 Apr 2020 01:21:50 +0300 |
Matti Hamalainen |
Fix a silly memory leak in tests.
|
Mon, 27 Apr 2020 00:44:34 +0300 |
Matti Hamalainen |
Use the th_cfg_free() deallocator.
|
Mon, 27 Apr 2020 00:44:15 +0300 |
Matti Hamalainen |
Add support for deallocator function in th_cfg_free() for freeing the values.
|
Mon, 27 Apr 2020 00:43:20 +0300 |
Matti Hamalainen |
Return the correct return value from th_join_string_elems().
|
Mon, 27 Apr 2020 00:16:40 +0300 |
Matti Hamalainen |
Oops, forgot to free elemlens in th_join_string_elems() in no-error case. Ugh.
|
Mon, 27 Apr 2020 00:11:28 +0300 |
Matti Hamalainen |
Plug a memory leak.
|
Sun, 26 Apr 2020 23:34:21 +0300 |
Matti Hamalainen |
Check that the buffer length is >= 1 before trying to access buf[len - 1]
|
Sun, 26 Apr 2020 23:30:17 +0300 |
Matti Hamalainen |
Plug a minor memory leak in tests.
|
Tue, 10 Mar 2020 23:37:22 +0200 |
Matti Hamalainen |
Fix th_strpbrk().
|
Tue, 10 Mar 2020 21:06:09 +0200 |
Matti Hamalainen |
Add th_strpbrk().
|
Tue, 10 Mar 2020 17:01:10 +0200 |
Matti Hamalainen |
Adjust th_ioctx API. Breakage.
|
Tue, 10 Mar 2020 16:51:55 +0200 |
Matti Hamalainen |
Fix to the previous commit. strdup the mode string since the argument is const.
|
Tue, 10 Mar 2020 16:47:57 +0200 |
Matti Hamalainen |
Do not reallocate th_ioctx::mode string if it has not been allocated in the first place.
|
Mon, 09 Mar 2020 22:26:19 +0200 |
Matti Hamalainen |
Add some error checking.
|
Mon, 09 Mar 2020 19:13:52 +0200 |
Matti Hamalainen |
Allow src and dst to "overlap" for th_pstr_cpy().
|
Mon, 09 Mar 2020 19:05:58 +0200 |
Matti Hamalainen |
Add helper function th_io_reopen().
|
Mon, 09 Mar 2020 18:55:54 +0200 |
Matti Hamalainen |
Implement fclose() in mem ioctx, with an context flag for freeing the memory
|
Mon, 09 Mar 2020 18:54:37 +0200 |
Matti Hamalainen |
Implement fopen() in mem ioctx, and simplistic read-only/write flag support.
|
Mon, 09 Mar 2020 17:59:06 +0200 |
Matti Hamalainen |
Comments and cleanup.
|
Mon, 09 Mar 2020 16:22:01 +0200 |
Matti Hamalainen |
Cleanups.
|
Mon, 09 Mar 2020 15:46:01 +0200 |
Matti Hamalainen |
Fix th_strcasecmp() and th_strncasecmp() for certain .. cases.
|
Mon, 09 Mar 2020 15:20:49 +0200 |
Matti Hamalainen |
Remove th_llist_delete() and th_llist_delete_node() and rename
|
Fri, 06 Mar 2020 20:55:43 +0200 |
Matti Hamalainen |
th_mkdir_path() mode parameter is unused when compiling for Windows.
|
Fri, 06 Mar 2020 14:26:45 +0200 |
Matti Hamalainen |
Add th_strchr().
|
Fri, 06 Mar 2020 00:16:30 +0200 |
Matti Hamalainen |
Add functions thfopen(ctx) and thfclose(ctx) to th_ioctx.
|
Thu, 05 Mar 2020 00:12:16 +0200 |
Matti Hamalainen |
Oops, fix previous commit.
|
Wed, 04 Mar 2020 23:39:11 +0200 |
Matti Hamalainen |
Constify.
|
Wed, 04 Mar 2020 21:31:14 +0200 |
Matti Hamalainen |
Nullify the strelems when freed.
|
Wed, 04 Mar 2020 20:17:39 +0200 |
Matti Hamalainen |
Typofix :S
|
Wed, 04 Mar 2020 19:47:21 +0200 |
Matti Hamalainen |
Cosmetic.
|
Wed, 04 Mar 2020 19:47:11 +0200 |
Matti Hamalainen |
Add new th_strelems_t structure for and join/split functions using them to
|
Wed, 04 Mar 2020 19:45:26 +0200 |
Matti Hamalainen |
Add in th_strlen() which is a custom function if TH_CHAR_TYPE is defined.
|
Sat, 29 Feb 2020 12:19:02 +0200 |
Matti Hamalainen |
Split stdio and memio stuff to separate files from th_stdio.c
|
Sat, 29 Feb 2020 12:14:41 +0200 |
Matti Hamalainen |
Oops, fix the return type of thfread_str() and thfwrite_str().
|
Tue, 25 Feb 2020 07:42:50 +0200 |
Matti Hamalainen |
Adjust errno handling.
|
Tue, 25 Feb 2020 06:15:08 +0200 |
Matti Hamalainen |
Add MemIO ioctx functionality.
|
Tue, 25 Feb 2020 05:16:42 +0200 |
Matti Hamalainen |
Add new functions th_split_string() and th_join_string().
|
Mon, 24 Feb 2020 16:11:38 +0200 |
Matti Hamalainen |
Do not show 'Invalid argument' message, assume the caller does it.
|
Mon, 24 Feb 2020 07:42:34 +0200 |
Matti Hamalainen |
Mess with PRI* types again.
|
Mon, 24 Feb 2020 07:42:16 +0200 |
Matti Hamalainen |
Support both UNIX and DOS/Windows path separators in th_mkdir_path().
|
Tue, 28 Jan 2020 21:28:02 +0200 |
Matti Hamalainen |
Use THERR_OK instead of 0.
|
Tue, 28 Jan 2020 20:10:16 +0200 |
Matti Hamalainen |
Add some regex flags, features to be implemented "some day".
|
Mon, 27 Jan 2020 19:23:06 +0200 |
Matti Hamalainen |
Some work on the regex tests.
|
Mon, 27 Jan 2020 17:07:06 +0200 |
Matti Hamalainen |
Work on regex matcher.
|
Mon, 27 Jan 2020 12:43:39 +0200 |
Matti Hamalainen |
More work on regex stuff.
|
Mon, 27 Jan 2020 07:51:07 +0200 |
Matti Hamalainen |
Oops, missed one case of * sizeof(th_char_t).
|
Mon, 27 Jan 2020 07:48:27 +0200 |
Matti Hamalainen |
s/th_regex_char_t/th_char_t/g
|
Mon, 27 Jan 2020 07:47:26 +0200 |
Matti Hamalainen |
Add th_char_t type.
|
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
|