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

28 Коммитов

Автор SHA1 Сообщение Дата
dmose%mozilla.org 142ac52eaf 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 ab0d6dd3aa 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 4f7990cd94 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 00725ef8f7 changing GetDiskSpaceAvailable to return a signed 64 bit value 1999-09-10 20:03:56 +00:00
dougt%netscape.com 41a7fa078c 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 90e6e9f4e7 add IsChildOf, and dougt's relative-path-handling diff 1999-09-03 23:44:59 +00:00
brendan%mozilla.org defeffaabd 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 68340a37ef 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 17a4c1fb71 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 5adb63dcaf Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
dougt%netscape.com 1a1d8aed32 fix for bug: 10260
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
rods%netscape.com 59b497a52e 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 026c5516bc add the touch interface to the nsIFileSpec iterface and the appropriate implementations 1999-07-13 19:10:43 +00:00
sspitzer%netscape.com 1e09f57346 bulletproofing changes. check return value and return it if error. 1999-07-02 06:31:31 +00:00
mcmullen%netscape.com 0a212c8078 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 b080114c02 Changed to reference parameters (to avoid copying of objects onto the stack) 1999-06-22 05:03:30 +00:00
mcmullen%netscape.com 105f232c9a 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 68f9d31d22 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 41bafe8c4e Fix casting problem 1999-06-14 22:55:24 +00:00
mcmullen%netscape.com 1c381a5f09 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 c6dc4056a4 Remove warning introduced by an unused variabled into NS_NewFileSpecWithSpec. 1999-06-09 21:09:55 +00:00
mscott%netscape.com dd0e6fd5c5 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 18bd0d6a6f Cleaning up silliness. 1999-06-09 19:17:50 +00:00
mcmullen%netscape.com c15d25fd24 Return value 1999-05-29 01:51:02 +00:00
mcmullen%netscape.com 4d64e4b62d Moved widgetry out. 1999-05-29 01:28:25 +00:00
dp%netscape.com a3511369fa 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 ce1b8d07bd 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 94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00