20 Commits

Author SHA1 Message Date
sspitzer%netscape.com
695d359ba6 change the nsIDirectoryIterator::Init interface to match the nsDirectoryIterator ctor: two paramenters, a file spec and a bool for resolveSymlinks. pass in PR_TRUE in the pref and component manager code. this fixes the problem where prefs wouldn't get loaded on the mac!
git-svn-id: svn://10.0.0.236/trunk@41358 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:33:54 +00:00
dougt%netscape.com
d219f1385e Fix for bug 10177 and 10041.
git-svn-id: svn://10.0.0.236/trunk@41167 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 22:09:42 +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
4ed1205371 Commented out a check to that makes it return when mOutputStream null
instead it creates  an output stream when it is null


git-svn-id: svn://10.0.0.236/trunk@39681 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 12:57:45 +00:00
sspitzer%netscape.com
19011d007c add the touch interface to the nsIFileSpec iterface and the appropriate implementations
git-svn-id: svn://10.0.0.236/trunk@39149 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 19:10:43 +00:00
sspitzer%netscape.com
0a1cd32ae8 bulletproofing changes. check return value and return it if error.
git-svn-id: svn://10.0.0.236/trunk@38015 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 06:31:31 +00:00
mcmullen%netscape.com
d6a17f446b readLine was returning (in its truncation parameter) the exact opposite of the promised boolean. Thanks to kin@netscape.com for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@36392 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 23:21:00 +00:00
mcmullen%netscape.com
31d50e2f64 Changed to reference parameters (to avoid copying of objects onto the stack)
git-svn-id: svn://10.0.0.236/trunk@36249 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 05:03:30 +00:00
mcmullen%netscape.com
7811bed44a 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.
git-svn-id: svn://10.0.0.236/trunk@36223 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 03:53:43 +00:00
dp%netscape.com
c8118dee3e Removing nsIComponentManager.h from nsIFileSpec.h to prevent circular
header dependencies in preparation for component manager using nsIFileSpec.


git-svn-id: svn://10.0.0.236/trunk@35569 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:26:02 +00:00
mcmullen%netscape.com
eace9f2cd3 Fix casting problem
git-svn-id: svn://10.0.0.236/trunk@35263 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:55:24 +00:00
mcmullen%netscape.com
547167bb7c Made write and read do an implicit open. Added a FileContents attribute to allow simple conversion between an entire file and a string.
git-svn-id: svn://10.0.0.236/trunk@35207 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:05:41 +00:00
mscott%netscape.com
088a2c2da9 Remove warning introduced by an unused variabled into NS_NewFileSpecWithSpec.
git-svn-id: svn://10.0.0.236/trunk@34500 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:09:55 +00:00
mscott%netscape.com
a516c9660b Adding NS_NewFileSpecWithSpec for C++ code which allows you to create a nsIFileSpec given a nsFileSpec.
git-svn-id: svn://10.0.0.236/trunk@34489 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:49:39 +00:00
dp%netscape.com
a334563929 Cleaning up silliness.
git-svn-id: svn://10.0.0.236/trunk@34443 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:17:50 +00:00
mcmullen%netscape.com
8a800cd243 Return value
git-svn-id: svn://10.0.0.236/trunk@33217 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:51:02 +00:00
mcmullen%netscape.com
95205de0f7 Moved widgetry out.
git-svn-id: svn://10.0.0.236/trunk@33208 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:28:25 +00:00
dp%netscape.com
3a5dab8bf1 Fixed crasher bug# 7311 by removing aggregation. Both constructors need to take an additional parameter that will initialize the outer need to happen. Doing the bigger change of introducing aggregation later
git-svn-id: svn://10.0.0.236/trunk@33164 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:09:32 +00:00
dp%netscape.com
4b8edfa961 Added aggregation. Implemented Create() so that the GenericFactory can create IFileSpec
Objects if registered.


git-svn-id: svn://10.0.0.236/trunk@33068 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:50:42 +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