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

371 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com 58c8f1c12b Adding Append() and ResolveSymlink() 1999-08-24 00:47:02 +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
scc%netscape.com 7981dba18d Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
dougt%netscape.com 0fb6e99473 first cut of a new file class. 1999-08-21 07:38:26 +00:00
dougt%netscape.com 792e1f744a Adding fix for 6181. It is currently ifdef'ed out. Looking for a mac person to
verify.
1999-08-18 02:17:21 +00:00
warren%netscape.com 1b0d4c2a85 Fix for bug 10797: Messenger hang. 2 problems: mac shouldn't be using page manager -- doesn't do vm, and trying to flush when the buffer is empty ends up spinning. 1999-08-13 00:46:16 +00:00
dougt%netscape.com a85217672a Fix for bug 9007 submitted by david.gardiner@unisa.edu.au. 1999-08-10 23:00:53 +00:00
warren%netscape.com 563d8e59a5 Removed crtdbg.h 1999-08-10 20:30:45 +00:00
mcafee%netscape.com 9af30238a1 Fixing linux bustage, I can't find crtdbg.h in the tree. 1999-08-10 20:11:25 +00:00
warren%netscape.com d843a8f952 Added nsSegmentedBuffer.cpp and nsPipe2.cpp to build. 1999-08-10 19:21:17 +00:00
warren%netscape.com a56c79fa7d Added new pipe implementation -- simpler and faster. 1999-08-10 19:18:39 +00:00
warren%netscape.com 8f99a6da43 Made Read return as soon as it's got something, rather than waiting until the buffer is full. 1999-08-10 19:13:48 +00:00
mccabe%netscape.com 2a403483de Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
alecf%netscape.com 27b6432552 fix constructor warning 1999-08-07 20:06:38 +00:00
pinkerton%netscape.com 7a45f9e75f remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete. 1999-08-03 04:51:45 +00:00
briano%netscape.com 9ce9036be3 Fix for SCO OpenServer. 1999-07-31 19:33:36 +00:00
dougt%netscape.com c7f4c61668 Changing nonscriptable to noscript. 1999-07-31 17:37:29 +00:00
duncan%be.com 6b45701716 Fix ResolveSymlink for BeOS (BeOS doesn't have realpath).
BEOS ONLY FIX NEEDED TO UNBREAK THE BUILD!
1999-07-30 12:03:25 +00:00
sspitzer%netscape.com b1cecd9cfd make mPath canonical after resolving the symlink. a=mcafee. 1999-07-29 20:14:42 +00:00
dougt%netscape.com d1f9df9cb9 This fixes a nsDirectoryIterator bug that bliz, seth and I were working on last night.
Approved by cyeh.
1999-07-29 14:24:47 +00:00
sspitzer%netscape.com 131a753df2 fix for #10697. ResolveSymlink() messes with mCurrent, so we need to restore it. Also, make ResolveSymlink() return an absolute file, instead of a relative one. 1999-07-29 04:31:04 +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
sfraser%netscape.com e45ae9e281 Change ResolveAlias to ResolveSymlink. dougt should have done this. 1999-07-27 23:05:53 +00:00
dveditz%netscape.com 0a3b32f604 fixes VC5 link bustage, but I feel dirty 1999-07-27 00:57:50 +00:00
dougt%netscape.com 5adb63dcaf Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
waterson%netscape.com 967b12bf6f CID not IID! 1999-07-22 07:33:24 +00:00
scc%netscape.com 16e2ba6a23 explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
briano%netscape.com 564cbd2dcf Fix for NTO, which uses statvfs. 1999-07-22 01:31:43 +00:00
briano%netscape.com f31e122fa0 QNX-specific hack to deal with their funky statfs() and struct statfs, and to define realpath. 1999-07-21 23:15:15 +00:00
dougt%netscape.com 42645abb4e duh. 1999-07-21 18:18:09 +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 b34b269d43 Fixed extra ref count problem for blocker bug 10138 1999-07-20 14:29:43 +00:00
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
beard%netscape.com a59b3b2577 explicitly include <limits.h> for ULONG_MAX 1999-07-17 02:04:20 +00:00
slamm%netscape.com e0e88a7374 Fix build warnings. 1999-07-16 21:47:03 +00:00
kipp%netscape.com dd6cf0e923 Removed a compiler warning 1999-07-16 17:40:39 +00:00
rods%netscape.com 806aa0f5c0 Added QueryInterface because NS_NewIOFileStream does a cast from (void *) to
(nsISupports *) thus causing a vtable problem on Windows, where we really
didn't have the proper pointer
1999-07-16 12:59:20 +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
briano%netscape.com 999cc9155b Define MAXPATHLEN to be 1024 if it hasn't already been defined. Fix for SCO. a=cyeh. 1999-07-12 22:36:24 +00:00
warren%netscape.com 0117937f12 Removed obsolete Fill methods. Added NonBlocking attribute. 1999-07-10 11:27:11 +00:00
dp%netscape.com e52a749a8e Fixed
- Mismatched alloc/free
- Guarded against null pointer and crash bug#8830
1999-07-09 03:41:27 +00:00
rpotts%netscape.com 9fa065c901 Added code to initialize amt (in case it is not zeroed out in the failure case) 1999-07-08 23:34:25 +00:00
rpotts%netscape.com 605efa0d0d Changed the blocking input and output streams to always call Fill/Flush when a nsIBuffer::Read/Write fails... 1999-07-08 23:26:52 +00:00
ramiro%netscape.com 311c81e3b5 Another makefile that clobbers DEFINES. 1999-07-07 21:22:55 +00:00
gayatrib%netscape.com 397cc25c70 Added Recursive Copy routine 1999-07-07 01:02:16 +00:00
racham%netscape.com f8b608df1f Removing check for mpath in Recursive copy routine 1999-07-06 22:41:42 +00:00
racham%netscape.com 4268c36ec5 Adding RecursiveCopy interface 1999-07-05 01:39:42 +00:00
warren%netscape.com edf100b695 Fixed bug in string stream length. 1999-07-03 06:49:28 +00:00
sspitzer%netscape.com 1e09f57346 bulletproofing changes. check return value and return it if error. 1999-07-02 06:31:31 +00:00
scc%netscape.com f79508bc68 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
mcafee%netscape.com 7f42e390e5 BeOS changes 1999-06-29 10:27:58 +00:00
mcafee%netscape.com e78449776b Changes for OS/2. 1999-06-28 22:41:48 +00:00
alecf%netscape.com 3530f56bdb add [ptr] version of nsFileSpec 1999-06-26 20:27:28 +00:00
mcafee%netscape.com 0ac72153ad BeOS landing; thanks to Duncan Wilcox (duncan@be.com) for these changes. 1999-06-25 10:56:50 +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
warren%netscape.com 97f562cfc2 Fixed problems with GetReadSegment after eof. 1999-06-21 21:05:07 +00:00
warren%netscape.com f6e890721b Making buffers work better. Now out-of-memory is handled properly. 1999-06-19 22:23:18 +00:00
warren%netscape.com 158480b852 Fixed bug causing Flush to block forever. Changed nsAutoMonitor to nsAutoCMonitor (cached monitors). 1999-06-16 04:15:15 +00:00
dp%netscape.com dac3ef10b8 Registry location and filename added. 1999-06-16 00:26: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 835181d19d Added a null test 1999-06-15 09:31:49 +00:00
mcmullen%netscape.com 1305107e9a 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-15 05:17:59 +00:00
warren%netscape.com d1a7f6e578 Added PR_LOG stuff. 1999-06-15 04:57:07 +00:00
ducarroz%netscape.com c2d00a4de9 fix for bug 8029. ResolveAlias should not set the nsFileSpe's internal error mError if the file doesn't exist which is a legal state during the creation of an nsFileSpec object. 1999-06-15 02:19:23 +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
mcmullen%netscape.com a7567e39b2 Added constructors from new nsIFileSpec 1999-06-14 22:04:27 +00:00
dp%netscape.com d9f0f1c296 Removing obsolete files from xpcom. 1999-06-12 15:54:46 +00:00
rpotts%netscape.com 6b42522ecc Added a new stream return code - NS_BASE_STREAM_FULL. This is returned when a stream is full and must be read before more data can be added... 1999-06-12 08:50:24 +00:00
rpotts%netscape.com 40e0f4af98 if no more data is available when reading a non-blocking input stream then return either WOULD_BLOCK or NS_OK... But exit the loop to prevent spinning! 1999-06-11 08:25:57 +00:00
mcmullen%netscape.com 3569a7afa5 Added bulletproofing for null buffer parameters 1999-06-10 19:51:36 +00:00
mcmullen%netscape.com 2a3a60880a Don't try to call strlen() on a null string. 1999-06-10 02:24:21 +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
ramiro%netscape.com f7a6ed8848 Port to KCC. 1999-06-09 10:20:12 +00:00
warren%netscape.com 0b2245488a Cleaned up the nsIBuffer interface, added comments, etc. 1999-06-09 06:41:32 +00:00
warren%netscape.com 47becf5b56 Added nscore.h to nsrootidl.idl for PRUnichar. 1999-06-09 03:19:10 +00:00
warren%netscape.com b113f2332f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
warren%netscape.com c427020eb4 Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer. 1999-06-05 01:15:00 +00:00
warren%netscape.com 12e737f1f8 Added 1999-06-04 23:58:05 +00:00
warren%netscape.com 7eb0f39a0f Removed stream files from manifest. 1999-06-03 23:52:13 +00:00
warren%netscape.com 5270a7ae47 Removed obsolete files for mac. 1999-06-03 23:35:18 +00:00
warren%netscape.com e0e31bb3e6 Added nsIBufferInputStream.idl 1999-06-03 23:10:11 +00:00
pinkerton%netscape.com c82bb88906 adding new stream idl files. 1999-06-03 23:03:53 +00:00
warren%netscape.com 00a8591812 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). Added nsIBufferInputStream for peek capability. 1999-06-03 21:51:09 +00:00
warren%netscape.com cbbfa208f8 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
waterson%netscape.com bd60dc35e4 Fix XPIDL_MODULE typos. 1999-06-03 20:06:49 +00:00
mcmullen%netscape.com 11577f187c Fix to #6398 using patch provided by jim_nance@yahoo.com (who does, apparently, yahoo). 1999-06-03 01:40:47 +00:00
mcmullen%netscape.com a0a9c730ae Alias resolution now happens almost any time a spec is created from a non-spec. Needed to make things work properly. 1999-06-03 01:28:52 +00:00
rjc%netscape.com 4331961643 Add ability to find "Internet Search Sites" folder on Mac. 1999-06-02 00:12:10 +00:00
ducarroz%netscape.com 785984e4b5 fix for bug 7329. MAC ONLY: if a file doesn't exist while doing an open and the flag PR_CREATE_FILE is set shouldn't abort. 1999-05-29 21:27:18 +00:00
ducarroz%netscape.com 211b73619b fix for bug 7329. Deleteting a file that doesn't exist should not invalidate the nsFileSpec. 1999-05-29 21:27:16 +00:00
mcmullen%netscape.com c15d25fd24 Return value 1999-05-29 01:51:02 +00:00
mcmullen%netscape.com 3548811759 Use NS_COM (not NS_BASE) 1999-05-29 01:29:28 +00:00
mcmullen%netscape.com 4d64e4b62d Moved widgetry out. 1999-05-29 01:28:25 +00:00
mcmullen%netscape.com 5a9665a03c Moved widgetry out of xpcom 1999-05-29 01:26:53 +00:00
mcmullen%netscape.com 1db81de2ad Moving widgetry out of xpcom 1999-05-29 01:08:22 +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 87abaa38bd Adding progid and classname 1999-05-27 22:47:27 +00:00
dougt%netscape.com 76fecde661 removing an evil and unneeded delete []. 1999-05-27 22:02:17 +00:00
mcmullen%netscape.com 49b21daf26 First Checked In. 1999-05-27 17:59:00 +00:00
sspitzer%netscape.com c6e0e5e2df cvs ignorage for xpcom2 landing 1999-05-26 17:51:05 +00:00
dp%netscape.com 94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com 0142cb7a14 Added 1999-05-18 21:43:13 +00:00
dp%netscape.com 34b30431ba Initial version 1999-05-18 09:11:01 +00:00
sspitzer%netscape.com ed6326405e make the destructor virtual 1999-05-13 00:48:42 +00:00
mcmullen%netscape.com bb815af574 Fix badness when nsFilePath is initialized with a nil or empty string. 1999-05-12 22:56:24 +00:00
mcmullen%netscape.com 6da6f2e50d Assert when nsFileSpec gets a unix path 1999-05-12 00:17:53 +00:00
mcafee%netscape.com de36a26dbc Class nsprPath has been renamed to nsNSPRPath; straggler references were being converted with a typedef, this was confusing Solaris, so I'm converting all nsprPath references to the new name, hope that's Ok. 1999-05-10 05:34:26 +00:00
briano%netscape.com 227c87aa79 Fix for AIX, Solaris, OSF/1, and probably others. 1999-05-08 06:24:27 +00:00
mcmullen%netscape.com ff58eed078 Fix nsFileSpec to take native paths in constructors and assignment operators. Fix += to work with relative paths on Macintosh. Remove dependency of nsFileSpec on streams (so that dp can move nsFileSpec). 1999-05-08 01:18:23 +00:00
mcmullen%netscape.com 9ece6fc6eb These staged checkins can be tricky. 1999-05-08 00:57:57 +00:00
mcmullen%netscape.com fc15f532fe Updated a comment. 1999-05-08 00:21:46 +00:00
mcmullen%netscape.com 137bc375dd First Checked In. 1999-05-07 22:03:31 +00:00
alecf%netscape.com 0b0bb227b9 fix possible uninitialized variable 1999-05-04 20:49:20 +00:00
mcmullen%netscape.com f84f3b56d8 So much for that last touchup between building and committing... 1999-05-04 19:39:15 +00:00
mcmullen%netscape.com 6513d12e94 Fix double-escaping problem (#4184) 1999-05-04 19:11:31 +00:00
mcmullen%netscape.com b81996e890 Fix an error in the previous checkin. 1999-05-03 23:14:28 +00:00
mcmullen%netscape.com 9caf9d55f4 Check for a null path before calling stat() and friends (bug #5576). a=chofmann. 1999-05-03 20:29:01 +00:00
warren%netscape.com 88d6a3a41a Added page manager, buffer, buffer streams and pipes stuff. 1999-04-30 22:55:12 +00:00
mcmullen%netscape.com 22000d46f3 Use CRLF on windows for nsEndl() 1999-04-27 21:26:15 +00:00
mcmullen%netscape.com f973c46a0f Fixed two small problems in Macintosh-only parts of the code. 1999-04-27 02:12:22 +00:00
mcmullen%netscape.com 6d0c689cd2 Checkin based on patches submitted by Michael Lowe - #5473. Adds support for a large number of special windows directories. 1999-04-26 22:20:23 +00:00
mcmullen%netscape.com 6145ac6cde Patch from Michael Lowe (part of #5473) replace true by PR_TRUE 1999-04-26 19:34:39 +00:00
mcmullen%netscape.com 64f5c7dbe1 Leakage and mismatch of allocate/free methods (patches submitted by Bruce Mitchener). Bug #5140. 1999-04-26 19:05:00 +00:00
bruce%cybersight.com 0026fb64c2 Fix for a comment. 1999-04-25 13:31:05 +00:00
bruce%cybersight.com 0d9976da76 Old patches for non-virtual vs virtual destructors (approved by Troy) 1999-04-25 04:57:38 +00:00
scc%netscape.com b7e35a36a2 removed the non-|const| version of |nsAutoCString::operator const char*| since the const version serves in both |const| and non-|const| situations, and will be ambiguous to many compilers. 1999-04-24 18:40:36 +00:00
mcmullen%netscape.com 560d9107f8 Bug #4184. Before unescaping a path, call ReAllocData. 1999-04-23 21:32:57 +00:00
mcmullen%netscape.com 5cb578f764 Corrected spelling in some comments. 1999-04-23 20:27:38 +00:00
mcmullen%netscape.com 5dfc810099 Made GetCatInfo method public (XP_MAC only) 1999-04-23 17:18:24 +00:00
dougt%netscape.com 0fc496898a Fixes Bug 5300 http://bugzilla.mozilla.org/show_bug.cgi?id=5300 1999-04-23 06:32:40 +00:00
warren%netscape.com c289c670cd Added Write(nsIInputStream) and Flush to nsIOutputStream. 1999-04-22 07:31:03 +00:00
sfraser%netscape.com 385eb491ab Look for types.h in the system headers. 1999-04-22 04:34:59 +00:00
mcmullen%netscape.com 0c1a07d566 Oops. 1999-04-20 19:31:11 +00:00
mcmullen%netscape.com 71ef3f328e Correct a problem my last change to GetParent() introduced. 1999-04-20 19:09:22 +00:00
mcmullen%netscape.com 7910e844e2 Fixed GetParent() on windows and unix (was incorrect for directories whose paths end in a separator). 1999-04-19 22:07:42 +00:00
mcmullen%netscape.com 9cf74711ef Added unix home directory 1999-04-15 22:45:41 +00:00
dougt%netscape.com 8ae3e61271 Now using PL_* functions in nsprPath()
ifdef'ing the deallocation of nsprPath()
1999-04-15 19:39:23 +00:00
mcmullen%netscape.com 485041bf40 An "oops" correction in the previous checkin. 1999-04-15 02:17:41 +00:00
mcmullen%netscape.com fff6074880 Fixed two warnings and added a method with a shorter name because of bug in VC++ compiler 1999-04-15 01:11:42 +00:00
mcmullen%netscape.com 913495ef87 Fixed compiler warning. 1999-04-15 01:07:20 +00:00
mcmullen%netscape.com 9d7f18bdf8 Support unix paths .. and . in the path conversion routine. 1999-04-15 01:06:55 +00:00
mcmullen%netscape.com 17fe680b62 Fix backwards failure logic 1999-04-15 01:06:03 +00:00