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