fur%netscape.com
e3d83679ec
In support of #8305 (implement cache).
...
Add Truncate() method to nsIFileSpec and implement in nsFileSpecImpl
[Mac Implementation: sdagley, r: sfraser]
[Win implementation: fur, r:rogerl]
[Unix implementation: yixiong.zue@intel.com , r: fur]
git-svn-id: svn://10.0.0.236/trunk@53948 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 01:42:46 +00:00
sspitzer%netscape.com
457995c98d
fix for #17954
...
before, if "mail.directory" was set, we'd assume the mail wasn't in the standard
default place, so we'd migrate Mail -> Mail5
now, we check if "mail.directory" == the default place. if so, we migrate
it like we would if it wasn't set.
Mail -> Users50/<profile>/Mail
to help do this, I added Equals() to the nsIFileSpec interface, to compare
two nsIFileSpec's, it does this by comparing the nsFileSpecs.
git-svn-id: svn://10.0.0.236/trunk@53396 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 02:02:22 +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
dougt%netscape.com
4b0f769454
changing GetDiskSpaceAvailable to return a signed 64 bit value
...
git-svn-id: svn://10.0.0.236/trunk@46835 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 20:03:56 +00:00
dougt%netscape.com
82ffcaa48a
missed this file.
...
git-svn-id: svn://10.0.0.236/trunk@46604 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:43:26 +00:00
shaver%netscape.com
aff923d924
add IsChildOf, and dougt's relative-path-handling diff
...
git-svn-id: svn://10.0.0.236/trunk@45975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:44:59 +00:00
brendan%mozilla.org
d87f3f7b04
Massive spankage to capitalize C++ method and attribute name bindings, per
...
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
git-svn-id: svn://10.0.0.236/trunk@44456 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 05:26:25 +00:00
dougt%netscape.com
e4563ddee0
Changing nonscriptable to noscript.
...
git-svn-id: svn://10.0.0.236/trunk@41722 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:37:29 +00:00
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
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
alecf%netscape.com
ab334c4e29
add [ptr] version of nsFileSpec
...
git-svn-id: svn://10.0.0.236/trunk@37044 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 20:27:28 +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
da5a1f912c
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@35365 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:17:59 +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
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
warren%netscape.com
d2b1868514
Added nscore.h to nsrootidl.idl for PRUnichar.
...
git-svn-id: svn://10.0.0.236/trunk@34360 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:19:10 +00:00
mcmullen%netscape.com
be6f95027b
Use NS_COM (not NS_BASE)
...
git-svn-id: svn://10.0.0.236/trunk@33210 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:29:28 +00:00
dp%netscape.com
24134a98b3
Adding progid and classname
...
git-svn-id: svn://10.0.0.236/trunk@33026 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:47:27 +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