Граф коммитов

37 Коммитов

Автор SHA1 Сообщение Дата
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dougt%netscape.com cf392312f9 checked in warren's patch to remove circular memory leak in directory service
removed strcmp'er in favor of atom compares.
added comments to nsFileSpec indicating that it is no longer supported.
2000-04-25 01:48:02 +00:00
sspitzer%netscape.com 07122ecd90 fix for #32245. r=bienvenu. 2000-03-17 21:53:49 +00:00
sspitzer%netscape.com 9084c85e5c add Delete() to the nsIFileSpec interface. 2000-03-15 07:07:56 +00:00
warren%netscape.com 7e37f4f478 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
dougt%netscape.com fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +00:00
dp%netscape.com 187770cd22 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 9b088cf1a4 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 d610244e7a 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 8535dda53e 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 4b0ca9d0cd 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 39e5fe6519 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 82c52d63e8 changing GetDiskSpaceAvailable to return a signed 64 bit value 1999-09-10 20:03:56 +00:00
dougt%netscape.com d8fcfee5c9 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 36331ac52e add IsChildOf, and dougt's relative-path-handling diff 1999-09-03 23:44:59 +00:00
brendan%mozilla.org bbe959f4d1 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 0454213f91 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 e2dd59c128 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 69178099d5 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
dougt%netscape.com 944676615b fix for bug: 10260
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
rods%netscape.com 0b80393b7c 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 22ce1f44e2 add the touch interface to the nsIFileSpec iterface and the appropriate implementations 1999-07-13 19:10:43 +00:00
sspitzer%netscape.com 18588c57f5 bulletproofing changes. check return value and return it if error. 1999-07-02 06:31:31 +00:00
mcmullen%netscape.com fe6b4941d5 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 edfdbc6470 Changed to reference parameters (to avoid copying of objects onto the stack) 1999-06-22 05:03:30 +00:00
mcmullen%netscape.com 62f7b85e62 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 24790557d2 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 3e3388c17e Fix casting problem 1999-06-14 22:55:24 +00:00
mcmullen%netscape.com 6bcccc0f3a 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 4091a09b40 Remove warning introduced by an unused variabled into NS_NewFileSpecWithSpec. 1999-06-09 21:09:55 +00:00
mscott%netscape.com ef7256980a 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 40e23b733c Cleaning up silliness. 1999-06-09 19:17:50 +00:00
mcmullen%netscape.com 0639a2acde Return value 1999-05-29 01:51:02 +00:00
mcmullen%netscape.com c27322b635 Moved widgetry out. 1999-05-29 01:28:25 +00:00
dp%netscape.com 1fe0f8ea19 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 d55ee36d75 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 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00