Commit Graph

222 Commits

Author SHA1 Message Date
warren%netscape.com
edf100b695 Fixed bug in string stream length. 1999-07-03 06:49:28 +00:00
sspitzer%netscape.com
1e09f57346 bulletproofing changes. check return value and return it if error. 1999-07-02 06:31:31 +00:00
scc%netscape.com
f79508bc68 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
mcafee%netscape.com
7f42e390e5 BeOS changes 1999-06-29 10:27:58 +00:00
mcafee%netscape.com
e78449776b Changes for OS/2. 1999-06-28 22:41:48 +00:00
alecf%netscape.com
3530f56bdb add [ptr] version of nsFileSpec 1999-06-26 20:27:28 +00:00
mcafee%netscape.com
0ac72153ad BeOS landing; thanks to Duncan Wilcox (duncan@be.com) for these changes. 1999-06-25 10:56:50 +00:00
mcmullen%netscape.com
0a212c8078 readLine was returning (in its truncation parameter) the exact opposite of the promised boolean. Thanks to kin@netscape.com for pointing this out. 1999-06-22 23:21:00 +00:00
mcmullen%netscape.com
b080114c02 Changed to reference parameters (to avoid copying of objects onto the stack) 1999-06-22 05:03:30 +00:00
mcmullen%netscape.com
105f232c9a Removed two evil exported functions which I added. Well actually, I added them as inlines, but they somehow changed. So since I don't want them as exports, dust to dust, and ashes to ashes. 1999-06-22 03:53:43 +00:00
warren%netscape.com
97f562cfc2 Fixed problems with GetReadSegment after eof. 1999-06-21 21:05:07 +00:00
warren%netscape.com
f6e890721b Making buffers work better. Now out-of-memory is handled properly. 1999-06-19 22:23:18 +00:00
warren%netscape.com
158480b852 Fixed bug causing Flush to block forever. Changed nsAutoMonitor to nsAutoCMonitor (cached monitors). 1999-06-16 04:15:15 +00:00
dp%netscape.com
dac3ef10b8 Registry location and filename added. 1999-06-16 00:26:43 +00:00
dp%netscape.com
68f9d31d22 Removing nsIComponentManager.h from nsIFileSpec.h to prevent circular
header dependencies in preparation for component manager using nsIFileSpec.
1999-06-16 00:26:02 +00:00
mcmullen%netscape.com
835181d19d Added a null test 1999-06-15 09:31:49 +00:00
mcmullen%netscape.com
1305107e9a Made write and read do an implicit open. Added a FileContents attribute to allow simple conversion between an entire file and a string. 1999-06-15 05:17:59 +00:00
warren%netscape.com
d1a7f6e578 Added PR_LOG stuff. 1999-06-15 04:57:07 +00:00
ducarroz%netscape.com
c2d00a4de9 fix for bug 8029. ResolveAlias should not set the nsFileSpe's internal error mError if the file doesn't exist which is a legal state during the creation of an nsFileSpec object. 1999-06-15 02:19:23 +00:00
mcmullen%netscape.com
41bafe8c4e Fix casting problem 1999-06-14 22:55:24 +00:00
mcmullen%netscape.com
1c381a5f09 Made write and read do an implicit open. Added a FileContents attribute to allow simple conversion between an entire file and a string. 1999-06-14 22:05:41 +00:00
mcmullen%netscape.com
a7567e39b2 Added constructors from new nsIFileSpec 1999-06-14 22:04:27 +00:00
dp%netscape.com
d9f0f1c296 Removing obsolete files from xpcom. 1999-06-12 15:54:46 +00:00
rpotts%netscape.com
6b42522ecc Added a new stream return code - NS_BASE_STREAM_FULL. This is returned when a stream is full and must be read before more data can be added... 1999-06-12 08:50:24 +00:00
rpotts%netscape.com
40e0f4af98 if no more data is available when reading a non-blocking input stream then return either WOULD_BLOCK or NS_OK... But exit the loop to prevent spinning! 1999-06-11 08:25:57 +00:00
mcmullen%netscape.com
3569a7afa5 Added bulletproofing for null buffer parameters 1999-06-10 19:51:36 +00:00
mcmullen%netscape.com
2a3a60880a Don't try to call strlen() on a null string. 1999-06-10 02:24:21 +00:00
mscott%netscape.com
c6dc4056a4 Remove warning introduced by an unused variabled into NS_NewFileSpecWithSpec. 1999-06-09 21:09:55 +00:00
mscott%netscape.com
dd0e6fd5c5 Adding NS_NewFileSpecWithSpec for C++ code which allows you to create a nsIFileSpec given a nsFileSpec. 1999-06-09 20:49:39 +00:00
dp%netscape.com
18bd0d6a6f Cleaning up silliness. 1999-06-09 19:17:50 +00:00
ramiro%netscape.com
f7a6ed8848 Port to KCC. 1999-06-09 10:20:12 +00:00
warren%netscape.com
0b2245488a Cleaned up the nsIBuffer interface, added comments, etc. 1999-06-09 06:41:32 +00:00
warren%netscape.com
47becf5b56 Added nscore.h to nsrootidl.idl for PRUnichar. 1999-06-09 03:19:10 +00:00
warren%netscape.com
b113f2332f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
warren%netscape.com
c427020eb4 Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer. 1999-06-05 01:15:00 +00:00
warren%netscape.com
12e737f1f8 Added 1999-06-04 23:58:05 +00:00
warren%netscape.com
7eb0f39a0f Removed stream files from manifest. 1999-06-03 23:52:13 +00:00
warren%netscape.com
5270a7ae47 Removed obsolete files for mac. 1999-06-03 23:35:18 +00:00
warren%netscape.com
e0e31bb3e6 Added nsIBufferInputStream.idl 1999-06-03 23:10:11 +00:00
pinkerton%netscape.com
c82bb88906 adding new stream idl files. 1999-06-03 23:03:53 +00:00
warren%netscape.com
00a8591812 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). Added nsIBufferInputStream for peek capability. 1999-06-03 21:51:09 +00:00
warren%netscape.com
cbbfa208f8 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
waterson%netscape.com
bd60dc35e4 Fix XPIDL_MODULE typos. 1999-06-03 20:06:49 +00:00
mcmullen%netscape.com
11577f187c Fix to #6398 using patch provided by jim_nance@yahoo.com (who does, apparently, yahoo). 1999-06-03 01:40:47 +00:00
mcmullen%netscape.com
a0a9c730ae Alias resolution now happens almost any time a spec is created from a non-spec. Needed to make things work properly. 1999-06-03 01:28:52 +00:00
rjc%netscape.com
4331961643 Add ability to find "Internet Search Sites" folder on Mac. 1999-06-02 00:12:10 +00:00
ducarroz%netscape.com
785984e4b5 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. 1999-05-29 21:27:18 +00:00
ducarroz%netscape.com
211b73619b fix for bug 7329. Deleteting a file that doesn't exist should not invalidate the nsFileSpec. 1999-05-29 21:27:16 +00:00
mcmullen%netscape.com
c15d25fd24 Return value 1999-05-29 01:51:02 +00:00
mcmullen%netscape.com
3548811759 Use NS_COM (not NS_BASE) 1999-05-29 01:29:28 +00:00