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