51 Commits

Author SHA1 Message Date
bienvenu%netscape.com
dc7966f26f fix disk thrashing when sending mail attachments by making internal nsIFileStream flushes not sync r=dougt, sr=sspitzer 180153
git-svn-id: svn://10.0.0.236/trunk@134194 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 15:18:04 +00:00
bienvenu%netscape.com
1f41cbc610 turn on fix for flush on unix as well, r=dmose, sr=sspitzer 142196
git-svn-id: svn://10.0.0.236/trunk@133619 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 02:55:08 +00:00
bienvenu%netscape.com
6f196c1018 fix problem with summary files on network drives getting out of date, r=cavin, sr=sspitzer, 142196 (make nsIOFileStream::flush really flush)
git-svn-id: svn://10.0.0.236/trunk@133605 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 00:59:10 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
alecf%netscape.com
eb193c5571 fix bug 149102 - stop exporting some old unused methods from XPCOM, and get rid of nsOutputConsoleStream and consumers
also removing FilesTest from the build because its outdated, doesn't test anything useful anymore, and is the last consumer of nsOutputConsoleStream
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@123713 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 20:35:37 +00:00
darin%netscape.com
3872488d18 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa


git-svn-id: svn://10.0.0.236/trunk@116359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 00:59:06 +00:00
darin%netscape.com
0d5c69b3dc fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@108033 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 07:38:05 +00:00
darin%netscape.com
424a7bd5f9 patch for bug 107789 "deprecate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@108026 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 06:45:27 +00:00
blizzard%redhat.com
9b6794d44c back out darin's fix for bug #107789 since it caused blocker #108637.
git-svn-id: svn://10.0.0.236/trunk@107466 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 16:32:52 +00:00
darin%netscape.com
0d51dc65ff fixes mac bustage
git-svn-id: svn://10.0.0.236/trunk@107426 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 03:56:00 +00:00
darin%netscape.com
902546fa1d fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@107421 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 02:50:42 +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
dougt%netscape.com
82cb3363c6 Renaming xpcom file streams. b=73169, r=sfraser@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90449 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:35:06 +00:00
ccarlen%netscape.com
6460e7e4a9 Bug 55891
r=brade, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@82610 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 15:58:54 +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
warren%netscape.com
f29b00bbe4 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
dougt%netscape.com
ab256053d1 r,a=brendan@mozilla.org 24052
git-svn-id: svn://10.0.0.236/trunk@75223 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 03:46:22 +00:00
beard%netscape.com
225060e4fa bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
jefft%netscape.com
7c081c6699 fix bug 30784 - save messages / attachment with bogus path name failed sliently; this is bad if user think save was successful then followed by a delete and compact; we will have a data loss here
git-svn-id: svn://10.0.0.236/trunk@62931 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 13:54:42 +00:00
dp%netscape.com
9b0cfefb70 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54812 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:36:32 +00:00
dougt%netscape.com
f5f94a1ba7 making sure that we do not empty our segmented buffer if we did not create it
bug fix 19290.  submitted by bienvenu, r=dougt.


git-svn-id: svn://10.0.0.236/trunk@53958 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 03:01:33 +00:00
dougt%netscape.com
5156796d61 fix for 18949. make seek do a flush to avoid corruption.
git-svn-id: svn://10.0.0.236/trunk@53828 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 05:16:42 +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
sfraser%netscape.com
8023b08ebc Fix for bugs 15795 and 16090 -- fix startup crash which was due to an uninitialized nsFileSpec trashing the stack. Also no longer set mError on CreateDirectory if the dir already exists, prevent += "foo" when mError is set, and add assertions XP to catch calls with NULL strings.
reviewed by dougt and (in part) sspitzer. a=leaf.


git-svn-id: svn://10.0.0.236/trunk@50360 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:19:06 +00:00
dougt%netscape.com
f97c6eb22e bug 13396. It looks like the returned byte count was off on certain size
files.


git-svn-id: svn://10.0.0.236/trunk@47603 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 18:24:01 +00:00
rpotts%netscape.com
e472a65ea6 I've commented out this assert since I was hitting it *alot* after a clean build :-(
git-svn-id: svn://10.0.0.236/trunk@47049 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 09:00:34 +00:00
warren%netscape.com
65d4baad6d Added assertion for Open failing.
git-svn-id: svn://10.0.0.236/trunk@46993 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 23:48:07 +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
dougt%netscape.com
8d1ff9ee8b Adding buffered output to nsIFileStream.
Renaming nsIFile to nsIOpenFile.
commenting out a testcase in FilesTest.cpp which fails.  evil, i know.


git-svn-id: svn://10.0.0.236/trunk@46395 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:12:35 +00:00
scc%netscape.com
56d5ad0b43 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
alecf%netscape.com
ec7111b0bd fix constructor warning
git-svn-id: svn://10.0.0.236/trunk@42662 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 20:06:38 +00:00
sfraser%netscape.com
4bf673a95e Change ResolveAlias to ResolveSymlink. dougt should have done this.
git-svn-id: svn://10.0.0.236/trunk@41342 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:05:53 +00:00
dougt%netscape.com
0e3652a9a5 fix for bug: 10260
removed warning in nsIFileStream.cpp


git-svn-id: svn://10.0.0.236/trunk@40445 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 17:56:01 +00:00
rods%netscape.com
69921c6437 Fixed extra ref count problem for blocker bug 10138
git-svn-id: svn://10.0.0.236/trunk@40285 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 14:29:43 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
rods%netscape.com
a080025e3e Added QueryInterface because NS_NewIOFileStream does a cast from (void *) to
(nsISupports *) thus causing a vtable problem on Windows, where we really
didn't have the proper pointer


git-svn-id: svn://10.0.0.236/trunk@39682 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 12:59:20 +00:00
scc%netscape.com
a2d0be4d64 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
warren%netscape.com
d9b1c6a72f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams.
git-svn-id: svn://10.0.0.236/trunk@34249 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:57:32 +00:00
warren%netscape.com
bee72685ed IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom).
git-svn-id: svn://10.0.0.236/trunk@33600 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:50:47 +00:00
ducarroz%netscape.com
8d44318d91 fix for bug 7329. MAC ONLY: if a file doesn't exist while doing an open and the flag PR_CREATE_FILE is set shouldn't abort.
git-svn-id: svn://10.0.0.236/trunk@33251 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:27:18 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
warren%netscape.com
0f93e5d59a Added Write(nsIInputStream) and Flush to nsIOutputStream.
git-svn-id: svn://10.0.0.236/trunk@28684 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:31:03 +00:00
warren%netscape.com
71095c62ca Fixed EOF condition.
git-svn-id: svn://10.0.0.236/trunk@27337 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:15:41 +00:00
warren%netscape.com
9a3677db41 Added copyright.
git-svn-id: svn://10.0.0.236/trunk@26321 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:01:33 +00:00
mcmullen%netscape.com
de8fc99c4f Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable)
git-svn-id: svn://10.0.0.236/trunk@24058 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 06:38:57 +00:00
mcmullen%netscape.com
5b8c2045d8 Removed the offset parameter from the base stream interfaces. Implemented string streams.
git-svn-id: svn://10.0.0.236/trunk@22964 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:53:56 +00:00
mcafee%netscape.com
2a7cf46dd3 Uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@22836 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:20:54 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
mcmullen%netscape.com
9e4dad31a3 Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge.
git-svn-id: svn://10.0.0.236/trunk@22383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:36:48 +00:00