41 Commits

Author SHA1 Message Date
alecf%netscape.com
057eaef9e2 remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:57:47 +00:00
alecf%netscape.com
a3f49498a1 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@113007 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 22:02:00 +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
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
naving%netscape.com
e53729a27c 67799, 55814. sr=bienvenu. Propogate the error values for streams.
git-svn-id: svn://10.0.0.236/trunk@90839 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:24:34 +00:00
pollmann%netscape.com
8897fa1077 Bug 71834: Fix form post smoketest blocker - backout fix for bug 69862
git-svn-id: svn://10.0.0.236/trunk@89634 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:36:13 +00:00
naving%netscape.com
ace36dc643 #69862, r=bienvenu sr=scc. Close the stream in the destructor.
git-svn-id: svn://10.0.0.236/trunk@89382 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:46:41 +00:00
timeless%mac.com
aa31f8d959 fix smoketest blocker bug 70312
Bookmarks deleted on exit
patch by hwaara, r=timeless, a=leaf, built by hwaara


git-svn-id: svn://10.0.0.236/trunk@88094 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 18:09:17 +00:00
naving%netscape.com
8eaf0734de 69862. r=bienvenu sr=scc@mozilla.org. Check and close the file stream in the destructor
git-svn-id: svn://10.0.0.236/trunk@88000 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 18:50:25 +00:00
mkaply%us.ibm.com
0b0abb10e4 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly


git-svn-id: svn://10.0.0.236/trunk@82990 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:27:38 +00:00
jst%netscape.com
f23a896b90 (Checking in for jefft@netscape.com). Fixing rtm++ bug 56129. The file input stream wasn't always setting the EOF state correctly, this caused problems with saving mail messages to the sent folder and also problems with 'Save As Draft'. r=ducarroz, r=sspitzer, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@81130 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 11:15:36 +00:00
dougt%netscape.com
7777ffc960 r,a=brendan@mozilla.org 24052
git-svn-id: svn://10.0.0.236/trunk@74606 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:16:18 +00:00
colin%theblakes.com
f814a9456d Only a read of 0 means EOF. r=dougt
git-svn-id: svn://10.0.0.236/trunk@60343 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:50:58 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +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
scc%netscape.com
3872148e22 removed incorrect use of private class name in favor of |do_QueryInterface|, part of the fix for bug #17364, r=valeski (additional builds done by dmose, and syd)
git-svn-id: svn://10.0.0.236/trunk@52345 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 00:32:15 +00:00
sfraser%netscape.com
2306c86ff9 Use CR for line termination on Macintosh, and don't call flush() for an endl. r dougt.
git-svn-id: svn://10.0.0.236/trunk@49788 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 03:00:13 +00:00
mcmullen%netscape.com
54664adf4e Added a null test
git-svn-id: svn://10.0.0.236/trunk@35423 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 09:31:49 +00:00
mcmullen%netscape.com
7d58679f65 Added constructors from new nsIFileSpec
git-svn-id: svn://10.0.0.236/trunk@35202 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:04:27 +00:00
mcmullen%netscape.com
7b74874945 Don't try to call strlen() on a null string.
git-svn-id: svn://10.0.0.236/trunk@34543 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:24:21 +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
mcmullen%netscape.com
3d5f7a85f8 Use CRLF on windows for nsEndl()
git-svn-id: svn://10.0.0.236/trunk@29512 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:26:15 +00:00
mcmullen%netscape.com
49fc082db3 Bug #4619. When at eof, get() was returning undefined character. Now returning 0.
git-svn-id: svn://10.0.0.236/trunk@26814 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 17:31:00 +00:00
alecf%netscape.com
f32a1c706d fix newline and end of file problem
git-svn-id: svn://10.0.0.236/trunk@24567 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:34:54 +00:00
mcmullen%netscape.com
19c53c8fda Added output streamers for int and unsigned int.
git-svn-id: svn://10.0.0.236/trunk@23563 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:56:38 +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
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
dougt%netscape.com
451b4db4af Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See dougt@netscape.com or
John McMullen for futher information.


git-svn-id: svn://10.0.0.236/trunk@21977 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:49:47 +00:00
mcmullen%netscape.com
cfb2941367 Backing out previous change from the trunk, because it was supposed to have gone in on a branch.
git-svn-id: svn://10.0.0.236/trunk@21069 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:45:07 +00:00
mcmullen%netscape.com
8d5ad2e84a Updated to match the header changes I've been making. Also, added the declaration of the persistent filespec class.
git-svn-id: svn://10.0.0.236/trunk@21064 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:35:41 +00:00
waterson%netscape.com
c3e5920240 Got Win32-specific stuff up and running. This caused a bit of code-juggling in the Unix and Mac implementations. a=mcmullen.
git-svn-id: svn://10.0.0.236/trunk@18654 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:49:33 +00:00
mcmullen%netscape.com
4bbbe1f26f Simplify the console case, so that Windows does not think it has to compile with exception handling.
git-svn-id: svn://10.0.0.236/trunk@16914 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 00:24:32 +00:00
law%netscape.com
d7dd1472e3 Add nsFile* to Windows build
git-svn-id: svn://10.0.0.236/trunk@16816 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 20:01:41 +00:00
mcmullen%netscape.com
a4ac66b40a Rewrote the stream stuff to be simple, since Unix build environment cannot even handle ostream and istream. This builds and runs correctly on Linux and Macintosh now.
git-svn-id: svn://10.0.0.236/trunk@16688 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:06:54 +00:00
mcmullen%netscape.com
ab3213f20d Made all this build on Unix, using Macros up the wazoo
git-svn-id: svn://10.0.0.236/trunk@16466 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:45:09 +00:00
mcmullen%netscape.com
ddd96eff8f And again.
git-svn-id: svn://10.0.0.236/trunk@16263 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:17:22 +00:00
mcmullen%netscape.com
f057f1160a Some more tweaks to suit various compilers and platforms.
git-svn-id: svn://10.0.0.236/trunk@16198 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:42:04 +00:00
mcmullen%netscape.com
0588941742 Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh.
git-svn-id: svn://10.0.0.236/trunk@16031 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:09:28 +00:00
law%netscape.com
f434dd9914 Added Windoze support
git-svn-id: svn://10.0.0.236/trunk@16013 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:04:53 +00:00
mcmullen%netscape.com
963a718dd7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15999 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:43:57 +00:00