29 Commits

Author SHA1 Message Date
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