]> git.mikk.net Git - liburl/log
liburl
15 years agoConvert multipart splitting to use stream regexps. Fix some
chris mikkelson [Tue, 9 Mar 2010 18:25:21 +0000 (12:25 -0600)]
Convert multipart splitting to use stream regexps.  Fix some
stream regexp logic bugs found in the process.

15 years agoAdded 'tags' target
chris mikkelson [Tue, 9 Mar 2010 22:01:47 +0000 (16:01 -0600)]
Added 'tags' target

15 years agoMake multipart module's next module type a module parameter.
chris mikkelson [Tue, 9 Mar 2010 01:01:36 +0000 (19:01 -0600)]
Make multipart module's next module type a module parameter.

15 years agoAdd multipart.o to library target.
chris mikkelson [Tue, 9 Mar 2010 00:51:59 +0000 (18:51 -0600)]
Add multipart.o to library target.

15 years agoAdded MSGPROC_TEST module type for testing purposes. Each test case
chris mikkelson [Tue, 9 Mar 2010 00:50:22 +0000 (18:50 -0600)]
Added MSGPROC_TEST module type for testing purposes.  Each test case
will need to define their own test module.

15 years agoCorrect recursion in msgproc_finish, and add recursion to msgproc_start.
chris mikkelson [Sun, 28 Feb 2010 15:48:14 +0000 (09:48 -0600)]
Correct recursion in msgproc_finish, and add recursion to msgproc_start.

15 years agoCheck that module methods are supplied before attempting to call them.
chris mikkelson [Sun, 28 Feb 2010 05:22:58 +0000 (23:22 -0600)]
Check that module methods are supplied before attempting to call them.

15 years agoAdded Makefile.
chris mikkelson [Sun, 28 Feb 2010 00:55:47 +0000 (18:55 -0600)]
Added Makefile.

15 years agogitignore file added.
chris mikkelson [Sun, 28 Feb 2010 00:55:29 +0000 (18:55 -0600)]
gitignore file added.

15 years agoFixed type mismatches, missing includes, etc.
chris mikkelson [Sun, 28 Feb 2010 00:45:03 +0000 (18:45 -0600)]
Fixed type mismatches, missing includes, etc.

16 years agoUse correct element names for linkage. Should just use sys/queue.h
chris mikkelson [Thu, 5 Feb 2009 19:17:13 +0000 (13:17 -0600)]
Use correct element names for linkage.  Should just use sys/queue.h
and be done with it...

16 years agoAdded code to split multipart media into parts. At a boundary, data
chris mikkelson [Thu, 29 Jan 2009 03:53:02 +0000 (21:53 -0600)]
Added code to split multipart media into parts.  At a boundary, data
is flushed downstream, the downstream processors are terminated, and
if more parts are expected, a new downstream processor is started.

Downstream processor is the "part" type, which looks for headers
to decide content type / encoding.

16 years agoRecursively call msgproc_finish on downstream msgprocs. The
chris mikkelson [Thu, 29 Jan 2009 03:23:14 +0000 (21:23 -0600)]
Recursively call msgproc_finish on downstream msgprocs.  The
finish routine of the module is responsible for freeing the module
with msgproc_free.

16 years agoImplemented new module (msgproc_module) and module instance (msgproc)
chris mikkelson [Tue, 27 Jan 2009 04:49:54 +0000 (22:49 -0600)]
Implemented new module (msgproc_module) and module instance (msgproc)
interface.  This allows each processing module to consume/advertise only
one global symbol, as opposed to 4-5 previously.

The HTML, text, and base64 modules have been moved from the old interface
to the new.  Base64 has furthermore become self-contained.

When the quoted-printable code is module-ified, the decoders.h file
can go away.

parser.h and parser.c were removed as they were specific to the old interface,
used to collect the growing number of public symbols for each module.

16 years agoCorrected return codes of regexp result functions.
chris mikkelson [Mon, 26 Jan 2009 05:46:47 +0000 (23:46 -0600)]
Corrected return codes of regexp result functions.

16 years agocallback needs arguments...
chris mikkelson [Mon, 26 Jan 2009 05:45:42 +0000 (23:45 -0600)]
callback needs arguments...

16 years agoMoved html and text parsers into separate files, and fleshed
chris mikkelson [Mon, 26 Jan 2009 05:44:14 +0000 (23:44 -0600)]
Moved html and text parsers into separate files, and fleshed
out their implementation in the process.  Other parsers will also
be in their own files, eventually.

16 years agoBeginnings of a URL extraction library for e-mail messages.
chris mikkelson [Mon, 26 Jan 2009 04:39:11 +0000 (22:39 -0600)]
Beginnings of a URL extraction library for e-mail messages.

General plumbing is complete, as are the stream-based regexp
matcher, base64, and quoted-printable decoder.

Next steps are basic header parsing (regexp-based?), MIME
boundary extraction and matching.