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

18 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu c55ef35a27 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:31:15 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
bienvenu%netscape.com 38e9277f99 fix line buffer to grow past 4k r=mscott 33715 2000-04-13 05:53:56 +00:00
bienvenu%netscape.com c13a9dce89 add nsIMsgWindow to a bunch of apis so we can stop urls, r=putterman 2000-01-28 01:22:33 +00:00
jefft%netscape.com 64eb040946 fixed bug 21417 - [Performance] nsMsgLineStreamBuffer use PL_strlen to determine how many bytes left in the buffer; eliminate using PL_strlen() to speed up the performance; r=mscott, bienvenu; a=chofmann 1999-12-20 14:58:05 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
mscott%netscape.com 860d40cd8b Bug #16814 --> i found a problem which may be causing us to block in the imap protocol when downloading larger
attachments or images. Basically, the nsMsgLineStreamBuffer class had a fence post bug when determining
if it had enough room to read in more bytes. If the # of free bytes in the stream buffer was 1 byte and we
had just one byte of data left to read in from the incoming stream, we would fail to read in that one byte.
r=sspitzer
1999-10-20 21:01:58 +00:00
putterman%netscape.com 6a6fa70abd Use ctor/dtor counter macros on non xpcom classes. reviewed by mscott. no bug. 1999-10-10 22:32:54 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
alecf%netscape.com 8c203fba2a switch to nsCRT routines and PR_TRUE/PR_FALSE to reduce include dependancy 1999-09-08 03:08:27 +00:00
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