Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com b7169a4501 fix for #9896. make nsMsgLineBuffer work for buffers that use CR, LF, and CRLF. (before, only CRLF and LF worked.) the mac uses CR, and we'd lose the last line of the newsrc file. 1999-07-24 18:15:19 +00:00
mscott%netscape.com c8c1a023c3 Use MSG_LINEBREAK instead of LINEBREAK. 1999-04-27 03:06:34 +00:00
mscott%netscape.com 419605d033 nsMsgLineStreamBuffer::ReadNextline now returns # bytes read.
nsMsgLineStreamBuffer now lets you pass in the delimeter string to be used for determing the end of a line. This allows the function to be platform friendly with line endings...
1999-04-25 19:51:08 +00:00
mscott%netscape.com 907c03e019 Fix fence post case in nsMsgLineBufferStream::ReadNextLine when we read n bytes and n == the size of the buffer...we were over-writing the n+1th byte with a null terminator.
Add (unimplemented) feature to nsMsgLineBufferStream to give caller the choice of allocating new memory for new lines or not.
1999-04-22 01:53:19 +00:00
mscott%netscape.com 9c2d889626 for nsMsgLineStreamBuffer, let caller choose if they want CRLFs at the end of the new lines or not. 1999-04-20 23:44:34 +00:00
mscott%netscape.com f25eb09a76 add new class nsMsgLineStreamBuffer which is used to efficiently read out lines from an input stream by buffering unprocessed content in a buffer. 1999-04-16 22:05:33 +00:00
alecf%netscape.com e449d3cfb2 move files over from src into linkable library 1999-03-19 22:55:08 +00:00