3 years agoFix `make-mime-{buffer,file}-writer' and `parse-mime'
clinton@unknownlamer.org [Wed, 22 Jun 2011 11:30:25]
Fix `make-mime-{buffer,file}-writer' and `parse-mime'

Ignore-this: 1d6710d4e9e83e7878f524579daae247
* Reported by Hraban Luyat
* Finalization function returned from these was requiring one argument
instead of none leading to `parse-mime' not having worked for quite
some time... oops.
* Update `read-mime' docstring example to reflect proper protocol

3 years agoRestore definition of `mime-part-p'
clinton@unknownlamer.org [Fri, 04 Mar 2011 22:30:28]
Restore definition of `mime-part-p'

Ignore-this: f36a4606e4e9ef436bd1122915ed7a9f
* Was (hopefully unintentionally) removed during the 'refactor'

3 years agofix: make parse-header-value work on simple-base-strings also
attila.lendvai@gmail.com [Sun, 06 Feb 2011 04:23:30]
fix: make parse-header-value work on simple-base-strings also

Ignore-this: cc3f6454fb00b144183a9bd12e02f68f

4 years agoadded rfc2231.txt
attila.lendvai@gmail.com [Tue, 09 Mar 2010 01:57:53]
added rfc2231.txt

Ignore-this: fb1c6da49e265a0ff721d7f499bb9e4d

3 years agomake it buildable using xcvb
attila.lendvai@gmail.com [Thu, 04 Nov 2010 02:54:02]
make it buildable using xcvb

Ignore-this: a43d76456481c09c72ffe7d4f05a72fe

3 years agoupdate .boring for xcvb stuff
attila.lendvai@gmail.com [Thu, 04 Nov 2010 02:53:05]
update .boring for xcvb stuff

Ignore-this: 368037a0d74ca9b0050e30213b276003

4 years ago.asd: no need for a package...
attila.lendvai@gmail.com [Tue, 09 Mar 2010 02:46:55]
.asd: no need for a package...

Ignore-this: 5d8a9da534ca40e211605df5c9bdd3a9

4 years agocut out api.lisp
attila.lendvai@gmail.com [Tue, 09 Mar 2010 01:46:11]
cut out api.lisp

Ignore-this: 728da1bdc8bdcfe2884635bb4c3c11f4
get rid of tbnl temp filename hack
delete tmp file when unwinding

4 years agosome renames for more clarity
attila.lendvai@gmail.com [Tue, 09 Mar 2010 01:06:54]
some renames for more clarity

Ignore-this: 7f2d391fe32f4c40889a077ef33dbc0a

4 years agosplit out utils.lisp, enable some inlining
attila.lendvai@gmail.com [Tue, 09 Mar 2010 01:04:30]
split out utils.lisp, enable some inlining

Ignore-this: f4ea2d2636d734e2c31fae562935ce99

4 years agohelp sbcl optimize -- get rid of some compiler notes
attila.lendvai@gmail.com [Tue, 09 Mar 2010 00:44:48]
help sbcl optimize -- get rid of some compiler notes

Ignore-this: 8cfa6e66dc28e70d5885c34d6aa98e36

4 years agoturn print-mime-part into a defun -- one less warning
attila.lendvai@gmail.com [Tue, 09 Mar 2010 00:18:04]
turn print-mime-part into a defun -- one less warning

Ignore-this: 4547e2c268f8e1554af70f35f7fb67fb

7 years agofix bug in read-until-next-boundary when encountering something that looks like the start of a boundary but isn't
marijnh@gmail.com [Mon, 04 Dec 2006 06:01:32]
fix bug in read-until-next-boundary when encountering something that looks like the start of a boundary but isn't

Ignore-this: 96340fdb520f7f642dd469d8da4f6b69

7 years agoadd failing test when an almost-boundary marker is encountered
marijnh@gmail.com [Mon, 04 Dec 2006 06:01:31]
add failing test when an almost-boundary marker is encountered

Ignore-this: a2e9a3db24f62886a0410cb6a77e50b9

7 years agoRemove incorrect backslash-escaping behaviour in attribute parsing.
marijnh@gmail.com [Tue, 28 Nov 2006 05:32:35]
Remove incorrect backslash-escaping behaviour in attribute parsing.

4 years agodrop funny aref in constant string and use CODE-CHAR which supposed to do just the right thing for bytes in the ascii range
attila.lendvai@gmail.com [Fri, 02 Oct 2009 03:18:48]
drop funny aref in constant string and use CODE-CHAR which supposed to do just the right thing for bytes in the ascii range

Ignore-this: 6abf873240cbee1aa055512ea0a14433

4 years agoadded a FIXME note
attila.lendvai@gmail.com [Fri, 02 Oct 2009 03:16:43]
added a FIXME note

Ignore-this: f2542baa90a7bd4b56e031ab8278f571

4 years agonicer print-mime-part
attila.lendvai@gmail.com [Fri, 02 Oct 2009 03:04:45]
nicer print-mime-part

Ignore-this: de840f9cd5f1fc03832b0a5c1dc79b5d

6 years agoAdded optional abort callback which is called from a failed unwind-protect. WARNING: incompatible change!
attila.lendvai@gmail.com [Fri, 05 Oct 2007 07:12:55]
Added optional abort callback which is called from a failed unwind-protect. WARNING: incompatible change!


The termnation callback is not passed the mime-part anymore (it's a lambda that captures it anyway).
The new abort callback can be used to delete temporary files and the like.

6 years agoadded optimize speed
attila.lendvai@gmail.com [Thu, 04 Oct 2007 09:20:23]
added optimize speed

6 years agoRenamed missed static-file entry in .asd when renamed to rfc2388-binary
attila.lendvai@gmail.com [Sun, 09 Sep 2007 03:53:43]
Renamed missed static-file entry in .asd when renamed to rfc2388-binary

6 years agoFix test suite
clinton@unknownlamer.org [Wed, 29 Aug 2007 09:47:30]
Fix test suite

Test suite was referencing the old rfc2388, and used names that would
conflict with normal rfc2388 if someone decided to use both in the
same image

7 years agoMake sure the termination-callback is called in an unwind-protect
attila.lendvai@gmail.com [Tue, 10 Jul 2007 16:19:23]
Make sure the termination-callback is called in an unwind-protect

7 years agoRenamed to rfc2388-binary to live peacefully in the same image with its incompatible predecessor
attila.lendvai@gmail.com [Sat, 16 Jun 2007 05:25:52]
Renamed to rfc2388-binary to live peacefully in the same image with its incompatible predecessor

7 years agopatch for non-ascii chars in filename. now rfc2388 do not die yet, replaces unknown chars with #\X until rfc2231 is implemented.
evrim@core.gen.tr [Fri, 06 Oct 2006 06:58:13]
patch for non-ascii chars in filename. now rfc2388 do not die yet, replaces unknown chars with #\X until rfc2231 is implemented.

7 years agoallegro stops complaining when safety is zero
Henrik Hjelte [Fri, 14 Jul 2006 06:09:02]
allegro stops complaining when safety is zero

8 years agoFix handling of escape characters in header-values
Marco Baringer [Fri, 17 Mar 2006 04:33:35]
Fix handling of escape characters in header-values

8 years agoChange the random tester to create characters which have a much higher probability of causing parser errors
Marco Baringer [Tue, 14 Mar 2006 10:30:37]
Change the random tester to create characters which have a much higher probability of causing parser errors

8 years agoFix bug in handling of CR chars (we were ignoring them when we shouldn't have been)
Marco Baringer [Tue, 14 Mar 2006 10:30:01]
Fix bug in handling of CR chars (we were ignoring them when we shouldn't have been)

8 years agoadded mime-part-p
Marco Baringer [Tue, 14 Mar 2006 08:25:21]
added mime-part-p

8 years agoAdded a test which throws random data at the parser and expects to get the same data back.
Marco Baringer [Mon, 13 Mar 2006 14:05:00]
Added a test which throws random data at the parser and expects to get the same data back.


You'd never guess, but occasionally the data we get back is different
than the data we sent in :(

8 years agoFix stupid (but fatal) bug with handling of CR-LF sequences embedded in the mime body.
Marco Baringer [Mon, 13 Mar 2006 14:01:03]
Fix stupid (but fatal) bug with handling of CR-LF sequences embedded in the mime body.


I have no idea how this ever could have worked before (odds are it
never did and nobody ever noticed).

8 years agoUse (asdf:component-pathname (asdf:find-system :rfc2388.test)) instead of *compile-file-pathname* for locating the test data directory
Marco Baringer [Mon, 13 Mar 2006 13:57:48]
Use (asdf:component-pathname (asdf:find-system :rfc2388.test)) instead of *compile-file-pathname* for locating the test data directory

8 years agoNew test: binary data (bytes from 0 to 255 and from 255 downto 0).
Maciek Pasternacki [Sun, 05 Feb 2006 14:46:00]
New test: binary data (bytes from 0 to 255 and from 255 downto 0).

8 years agoCorrectly handle CR inside data part.
Maciek Pasternacki [Sun, 05 Feb 2006 14:45:16]
Correctly handle CR inside data part.

8 years agoMake tests *DEFAULT-PATHNAME-DEFAULTS*-independent.
Maciek Pasternacki [Sun, 05 Feb 2006 14:44:29]
Make tests *DEFAULT-PATHNAME-DEFAULTS*-independent.

8 years agoCosmetics.
Maciek Pasternacki [Sun, 05 Feb 2006 14:43:53]
Cosmetics.

8 years agoAdd helper function STRING-TO-VECTOR to improve readability.
Maciek Pasternacki [Sun, 05 Feb 2006 13:58:48]
Add helper function STRING-TO-VECTOR to improve readability.

8 years agominor docstring fixup
Marco Baringer [Thu, 12 Jan 2006 12:21:35]
minor docstring fixup

8 years agoAdded in test mime7
Marco Baringer [Thu, 12 Jan 2006 12:21:06]
Added in test mime7

8 years agoAdded debugging function print-mime-part
Marco Baringer [Wed, 11 Jan 2006 10:48:14]
Added debugging function print-mime-part

8 years agoFix handling of #\- characters in boundaries
Marco Baringer [Tue, 10 Jan 2006 09:48:43]
Fix handling of #\- characters in boundaries

8 years agoAdded test case where boundary includes #\- characters.
Marco Baringer [Mon, 19 Dec 2005 18:34:24]
Added test case where boundary includes #\- characters.

8 years agoExport the HEADERS symbol
Marco Baringer [Sun, 18 Dec 2005 10:36:43]
Export the HEADERS symbol

8 years agoascii-string-to-boundry-array is now called ascii-string-to-boundAry-array
Marco Baringer [Sun, 18 Dec 2005 10:36:34]
ascii-string-to-boundry-array is now called ascii-string-to-boundAry-array

8 years agofix comments
Marco Baringer [Sat, 17 Dec 2005 10:18:46]
fix comments

8 years agoExport parse-header-value
Marco Baringer [Fri, 16 Dec 2005 06:24:54]
Export parse-header-value

8 years agoAdded support for multipart/mixed structures; make mime headers CLOS objects
Marco Baringer [Fri, 16 Dec 2005 06:01:17]
Added support for multipart/mixed structures; make mime headers CLOS objects

8 years agoFix misspelling of boundary
Marco Baringer [Fri, 16 Dec 2005 05:16:09]
Fix misspelling of boundary

8 years agoRefactored to have an API compatible with the official rfc2388
Marco Baringer [Fri, 16 Dec 2005 05:06:02]
Refactored to have an API compatible with the official rfc2388


PARSE-MIME now has the same api as the original PARSE-MIME (including
support for :write-to-file), READ-MIME now does what PARSe-MIME used
to do (and has the same source+boundray+callback API).

Next ->