log

age author description
Sat, 02 Jan 2021 11:35:54 +0200 Matti Hamalainen Bump copyright years. default tip
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.