paulc
18e10bfd69
Changed license terms in each source file to reference an external file.
...
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc
27501cbced
Allow MIME lines to build only the content part of the line without header.
...
git-svn-id: http://voip.null.ro/svn/yate@5531 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-07 15:15:31 +00:00
paulc
7c8b2d4c38
Added a shared static list of Atom strings and an YATOM macro.
...
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.
git-svn-id: http://voip.null.ro/svn/yate@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
marian
7ffede66e6
Fixed bugs. Allow a multipart body to start with dash-boundary (no CR/LF before). Don't process a body part if a boundary is not found after it.
...
git-svn-id: http://voip.null.ro/svn/yate@4793 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-04 15:53:45 +00:00
paulc
07132042d0
Added class for pseudo random number generation.
...
Replace library ::random() and ::rand() calls with shared Random method.
git-svn-id: http://voip.null.ro/svn/yate@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
paulc
471dd0d96d
New YSTRING macro that creates an ad-hoc static const String to speed up comparations and conversions from literal strings.
...
On unsupported compilers the literal string is returned unchanged.
git-svn-id: http://voip.null.ro/svn/yate@4423 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 12:26:53 +00:00
paulc
7d6644c96e
Decode MIME type message/sipfrag as lines of text.
...
Allow generic processing of SIP INFO messages that are not used for DTMFs.
Properly add lines of text bodies to generic SIP messages.
git-svn-id: http://voip.null.ro/svn/yate@4273 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-07 12:16:12 +00:00
paulc
42b83b1596
Only unfold non-empty MIME header lines, an empty one indicates end of headers.
...
git-svn-id: http://voip.null.ro/svn/yate@3802 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-10 10:34:45 +00:00
paulc
c97d06c643
Allow MimeMultipartBody::getObject to descend into parts looking for the type.
...
Create a MimeStringBody for XML based types.
git-svn-id: http://voip.null.ro/svn/yate@2889 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 13:35:05 +00:00
paulc
c3c71f0a60
Added a method to retrieve a desired body type from a possibly multipart MIME body.
...
Fixed spelling of "retrieve" in several places.
git-svn-id: http://voip.null.ro/svn/yate@2801 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-23 19:48:17 +00:00
paulc
1667ac1db7
Do not report a warning if there are 16 NULs or less at the end of a MIME body, assume it's some sort of padding.
...
git-svn-id: http://voip.null.ro/svn/yate@2710 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-14 21:19:00 +00:00
paulc
d9cdd4b910
Better handling of quoted strings, added parameter to force quoting.
...
Added convenience method to retrieve an unquoted string.
git-svn-id: http://voip.null.ro/svn/yate@2361 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-24 13:42:06 +00:00
marian
ae55071b89
Trim all blanks from boundary before using it.
...
git-svn-id: http://voip.null.ro/svn/yate@1627 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 12:12:11 +00:00
marian
2b47e672ee
Added flag to know when a multipart last boundary was found.
...
git-svn-id: http://voip.null.ro/svn/yate@1622 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 10:00:39 +00:00
marian
2dedf1e725
Fixed bugs in build and parse multipart bodies.
...
git-svn-id: http://voip.null.ro/svn/yate@1621 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 09:50:19 +00:00
marian
7931834b73
Added mime multipart class. Removed useless mime isup class.
...
git-svn-id: http://voip.null.ro/svn/yate@1618 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 14:22:03 +00:00
marian
3350f4a56c
Added methods to find additional headers and set/get header parameters.
...
git-svn-id: http://voip.null.ro/svn/yate@1610 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-09 13:17:59 +00:00
marian
03335a7dcb
Added MIME for application/isup class.
...
git-svn-id: http://voip.null.ro/svn/yate@1609 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-09 12:40:22 +00:00
marian
afded714aa
Added MIME body constructors from a header line. Adjusted SIP message parser to handle this.
...
git-svn-id: http://voip.null.ro/svn/yate@1607 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-09 11:32:35 +00:00
marian
648b9c82b1
Moved header classes and some utilities from SIP to MIME. Updated SIP module and library to reflect the changes.
...
git-svn-id: http://voip.null.ro/svn/yate@1599 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 12:29:12 +00:00
paulc
9594fb6fee
Added MIME related classes in engine.
...
git-svn-id: http://voip.null.ro/svn/yate@1410 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-26 23:45:33 +00:00