Re: library thoughts
[email protected] Mon, 16 Dec 2002 10:00:53 -0600
| Newsgroups | gmane.mail.eps |
|---|---|
| Organization | Inter7 Internet Technologies, Inc. |
| Message-ID | <[email protected]> |
Thanks a bunch for your input and patch. I struggled with the idea of
the CRLF checking, because EPS is meant to support all forms of input.
I decided that I'd add some bitfields to 1.4 which allow the caller to
decide if it should do CRLF checking or not. As for the blank line
stuff,
I havent come across that bug myself, but I'll definately look into it.
The C++ changes will definately be added.
Thanks!
F J Franklin wrote:
>
> What a great little library!
>
> I discovered it yesterday while looking for a MIME library because I'd
> like to import Multipart HTML into AbiWord, and libeps makes that very
> possible.
>
> At first I thought it didn't work, but really the only problem is that
> eps-1.2 doesn't handle \r\n correctly so blank lines don't register as
> such. I've attached a 3 loc 'fix' (whether it's a good fix I don't know,
> but it solves the bug).
>
> My only other gripe, though it's a minor one, is the header files. Could
> you add
>
> #ifdef __cplusplus
> extern "C" {
> #endif
>
> at the top of eps.h and, at the end,
>
> #ifdef __cplusplus
> }
> #endif
>
> so that C++ programs can link correctly? It's not a major problem since I
> can just do
>
> extern "C" {
> #include "eps.h"
> }
>
> but I shouldn't have to.
>
> Also attaching files for an auto* build system which may be useful.
>
> Regards & Thanks,
> Frank
>
> Francis James Franklin
> [email protected]
>
> `Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
> Radium, Sapphire, Silver and Steel.
> `Sapphire and Steel have been assigned...'
>
> ------------------------------------------------------------------------
> Name: eps_auto.tgz
> eps_auto.tgz Type: unspecified type (APPLICATION/octet-stream)
> Encoding: BASE64
> Description: eps_auto.tgz
>
> Name: eps_carret.patch
> eps_carret.patch Type: Plain Text (TEXT/PLAIN)
> Encoding: BASE64
> Description: eps_carret.patch
--
mailto:[email protected]
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices