dougt@netscape.com
d48ec37751
Landing nsIFile.
2000-01-24 21:28:28 +00:00
dp@netscape.com
6fb4a9e682
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-11-30 23:36:32 +00:00
fur@netscape.com
40efdbc477
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]
1999-11-19 01:42:46 +00:00
sspitzer@netscape.com
98310a65f6
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.
1999-11-13 02:02:22 +00:00
dmose@mozilla.org
20621227af
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
dveditz@netscape.com
8ab781588f
Changing nsFileSpec Copy and Move function names to match their
...
functionality, and also to free up the namespace for a *real* Copy
and Move that allow renaming the leaf name rather than just copying
into different directories (i.e. to make backup files). r=ssu
1999-10-21 00:40:39 +00:00
mccabe@netscape.com
bf4d6b0d16
Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
...
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage. Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes. (This could mean blackwood; sorry, guys!)
Many thanks to Alec Flett (alecf@netscape.com ) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu ) and Mike Shaver (shaver@mozilla.org ) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.
Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
dougt@netscape.com
34b2b3fc5f
changing GetDiskSpaceAvailable to return a signed 64 bit value
1999-09-10 20:03:56 +00:00
dougt@netscape.com
9adbcd8446
nsFileSpec::GetDiskSpace now returns a PRUint64. (12479)
...
thanks to Chet Murphy <cmurphy@modelworks.com > for the windows code!
1999-09-09 19:20:35 +00:00
shaver@netscape.com
aada0d9fec
add IsChildOf, and dougt's relative-path-handling diff
1999-09-03 23:44:59 +00:00
brendan@mozilla.org
b3c1a9c6ea
Massive spankage to capitalize C++ method and attribute name bindings, per
...
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
scc@netscape.com
6f62a47cac
got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
1999-08-23 10:14:16 +00:00
sspitzer@netscape.com
9cd79a08f4
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!
1999-07-27 23:33:54 +00:00
dougt@netscape.com
2676ba3bb6
Fix for bug 10177 and 10041.
1999-07-26 22:09:42 +00:00
dougt@netscape.com
1860049c71
fix for bug: 10260
...
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
rods@netscape.com
8ba8b28e44
Commented out a check to that makes it return when mOutputStream null
...
instead it creates an output stream when it is null
1999-07-16 12:57:45 +00:00
sspitzer@netscape.com
4e47d9a011
add the touch interface to the nsIFileSpec iterface and the appropriate implementations
1999-07-13 19:10:43 +00:00
sspitzer@netscape.com
091a29f520
bulletproofing changes. check return value and return it if error.
1999-07-02 06:31:31 +00:00
mcmullen@netscape.com
2fb6cc96e5
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
fa37d8cbc4
Changed to reference parameters (to avoid copying of objects onto the stack)
1999-06-22 05:03:30 +00:00
mcmullen@netscape.com
52b9e529db
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
dp@netscape.com
c4de7ae7b4
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
baf8df3eb6
Fix casting problem
1999-06-14 22:55:24 +00:00
mcmullen@netscape.com
f4d6f099d0
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
mscott@netscape.com
744ee644cf
Remove warning introduced by an unused variabled into NS_NewFileSpecWithSpec.
1999-06-09 21:09:55 +00:00
mscott@netscape.com
a24b5d2be3
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
dd0f8a2f9f
Cleaning up silliness.
1999-06-09 19:17:50 +00:00
mcmullen@netscape.com
9352a8db31
Return value
1999-05-29 01:51:02 +00:00
mcmullen@netscape.com
210ceb5a56
Moved widgetry out.
1999-05-29 01:28:25 +00:00
dp@netscape.com
62f4e881e8
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
1999-05-28 22:09:32 +00:00
dp@netscape.com
0c22a29149
Added aggregation. Implemented Create() so that the GenericFactory can create IFileSpec
...
Objects if registered.
1999-05-28 00:50:42 +00:00
dp@netscape.com
6dc8a899c6
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00