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.
|