log

age author description
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.