cathleen%netscape.com
184587ade7
eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:11:33 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
timeless%mac.com
7b921259da
Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
...
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
naving%netscape.com
7fd837278b
99473 r/sr=mscott. fix a specific pop3 message downloading problems on linux.
...
git-svn-id: svn://10.0.0.236/trunk@103018 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 21:50:26 +00:00
naving%netscape.com
5eeff8faef
98650 r/sr=mscott. Look for only '\n' as endOfLine char. This will fix
...
the problem of not getting mail from one specific account. At the same time
it should increase performance where ever reading buffer is involved in
mailnews because PL_strstr is changed to PL_strchr.
git-svn-id: svn://10.0.0.236/trunk@102990 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 23:55:32 +00:00
dbaron%fas.harvard.edu
9359000a40
Header include dependency cleanup. b=64023 r=jag rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
naving%netscape.com
e490ff88e1
69360 r=suresh sr=mscott a=blizzard; strip nulls from the message as specified in rfc 2822
...
git-svn-id: svn://10.0.0.236/trunk@97756 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 05:11:33 +00:00
bienvenu%netscape.com
7c05f72e69
add support for ability to copy/move multiple local msgs r=naving, sr=sspitzer 73833
...
git-svn-id: svn://10.0.0.236/trunk@93434 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-29 22:43:57 +00:00
timeless%mac.com
75929d9555
fix Bugzilla Bug 75853 CR and LF are naked ifdefs
...
r=dveditz, sr=scc
git-svn-id: svn://10.0.0.236/trunk@92666 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 05:59:43 +00:00
dbaron%fas.harvard.edu
63bf4cc356
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@85655 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:31:15 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
bienvenu%netscape.com
c630e11823
fix line buffer to grow past 4k r=mscott 33715
...
git-svn-id: svn://10.0.0.236/trunk@65776 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:53:56 +00:00
bienvenu%netscape.com
8cd65220ed
add nsIMsgWindow to a bunch of apis so we can stop urls, r=putterman
...
git-svn-id: svn://10.0.0.236/trunk@58988 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:22:33 +00:00
jefft%netscape.com
6d0a1b30c9
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
...
git-svn-id: svn://10.0.0.236/trunk@56230 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 14:58:05 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
mscott%netscape.com
899ebce13b
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
git-svn-id: svn://10.0.0.236/trunk@51292 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 21:01:58 +00:00
putterman%netscape.com
9dbd192f71
Use ctor/dtor counter macros on non xpcom classes. reviewed by mscott. no bug.
...
git-svn-id: svn://10.0.0.236/trunk@50330 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:32:54 +00:00
warren%netscape.com
de60d2685c
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.
...
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
alecf%netscape.com
4aa767d9b0
switch to nsCRT routines and PR_TRUE/PR_FALSE to reduce include dependancy
...
git-svn-id: svn://10.0.0.236/trunk@46281 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:08:27 +00:00
sspitzer%netscape.com
de502ae869
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.
...
git-svn-id: svn://10.0.0.236/trunk@40982 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 18:15:19 +00:00
mscott%netscape.com
6f4da8e339
Use MSG_LINEBREAK instead of LINEBREAK.
...
git-svn-id: svn://10.0.0.236/trunk@29363 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 03:06:34 +00:00
mscott%netscape.com
f3bdda604d
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...
git-svn-id: svn://10.0.0.236/trunk@29126 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:51:08 +00:00
mscott%netscape.com
56bebb25c7
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.
git-svn-id: svn://10.0.0.236/trunk@28604 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:53:19 +00:00
mscott%netscape.com
851f1890b8
for nsMsgLineStreamBuffer, let caller choose if they want CRLFs at the end of the new lines or not.
...
git-svn-id: svn://10.0.0.236/trunk@28372 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:44:34 +00:00
mscott%netscape.com
ff42292739
add new class nsMsgLineStreamBuffer which is used to efficiently read out lines from an input stream by buffering unprocessed content in a buffer.
...
git-svn-id: svn://10.0.0.236/trunk@27928 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:05:33 +00:00
alecf%netscape.com
3f6df41daf
move files over from src into linkable library
...
git-svn-id: svn://10.0.0.236/trunk@24486 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 22:55:08 +00:00