[email protected]
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
[email protected]
3fc578391d
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
[email protected]
0a42f98343
fix for #32245 . r=bienvenu.
2000-03-17 21:53:49 +00:00
[email protected]
1903ba45a9
add Delete() to the nsIFileSpec interface.
2000-03-15 07:07:56 +00:00
[email protected]
90e6ffd47b
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
[email protected]
d48ec37751
Landing nsIFile.
2000-01-24 21:28:28 +00:00
[email protected]
6fb4a9e682
NS_GET_IID(). Thanks to patch from [email protected] [email protected]
1999-11-30 23:36:32 +00:00
[email protected]
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: [email protected] , r: fur]
1999-11-19 01:42:46 +00:00
[email protected]
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
[email protected]
20621227af
updated xPL license boilerplate to v1.1, [email protected] ,[email protected]
1999-11-06 03:43:54 +00:00
[email protected]
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
[email protected]
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 ([email protected] ) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth ([email protected] ) and Mike Shaver ([email protected] ) 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
[email protected]
34b2b3fc5f
changing GetDiskSpaceAvailable to return a signed 64 bit value
1999-09-10 20:03:56 +00:00
[email protected]
9adbcd8446
nsFileSpec::GetDiskSpace now returns a PRUint64. (12479)
...
thanks to Chet Murphy <[email protected] > for the windows code!
1999-09-09 19:20:35 +00:00
[email protected]
aada0d9fec
add IsChildOf, and dougt's relative-path-handling diff
1999-09-03 23:44:59 +00:00
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
2676ba3bb6
Fix for bug 10177 and 10041.
1999-07-26 22:09:42 +00:00
[email protected]
1860049c71
fix for bug: 10260
...
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
[email protected]
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
[email protected]
4e47d9a011
add the touch interface to the nsIFileSpec iterface and the appropriate implementations
1999-07-13 19:10:43 +00:00
[email protected]
091a29f520
bulletproofing changes. check return value and return it if error.
1999-07-02 06:31:31 +00:00
[email protected]
2fb6cc96e5
readLine was returning (in its truncation parameter) the exact opposite of the promised boolean. Thanks to [email protected] for pointing this out.
1999-06-22 23:21:00 +00:00
[email protected]
fa37d8cbc4
Changed to reference parameters (to avoid copying of objects onto the stack)
1999-06-22 05:03:30 +00:00
[email protected]
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
[email protected]
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
[email protected]
baf8df3eb6
Fix casting problem
1999-06-14 22:55:24 +00:00
[email protected]
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
[email protected]
744ee644cf
Remove warning introduced by an unused variabled into NS_NewFileSpecWithSpec.
1999-06-09 21:09:55 +00:00
[email protected]
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
[email protected]
dd0f8a2f9f
Cleaning up silliness.
1999-06-09 19:17:50 +00:00
[email protected]
9352a8db31
Return value
1999-05-29 01:51:02 +00:00
[email protected]
210ceb5a56
Moved widgetry out.
1999-05-29 01:28:25 +00:00
[email protected]
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
[email protected]
0c22a29149
Added aggregation. Implemented Create() so that the GenericFactory can create IFileSpec
...
Objects if registered.
1999-05-28 00:50:42 +00:00
[email protected]
6dc8a899c6
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00