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

554 Коммитов

Автор SHA1 Сообщение Дата
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
dougt%netscape.com a494e44ce6 Adding buffered output to nsIFileStream.
Renaming nsIFile to nsIOpenFile.
commenting out a testcase in FilesTest.cpp which fails.  evil, i know.
1999-09-08 20:12:35 +00:00
brendan%mozilla.org b540021495 Use deadlock detecting nsAutoMonitors, etc., correctly. 1999-09-06 19:57:40 +00:00
driehuis%playbeing.org f1accaf47c Unbreak the BSD/OS build. sys/mount.h drags in net/radix.h, which happens
to define a symbol called Free. Sigh. Clean up after net/radix.h.
1999-09-05 00:49:01 +00:00
bruce%cybersight.com ea1d7d167a Use nsCRT::free() on result of nsEscape() instead of delete[]. 1999-09-04 17:10:10 +00:00
bruce%cybersight.com ab0cb7d279 MacFileHelpers::EncodeMacPath() returns the result of an nsEscape() call, so all callers must nsCRT::free() the result instead of using delete[]. 1999-09-04 17:09:06 +00:00
bruce%cybersight.com 80a5285b38 Use nsAllocator. Some comments tweaked. 1999-09-04 16:33:12 +00:00
shaver%netscape.com 36331ac52e add IsChildOf, and dougt's relative-path-handling diff 1999-09-03 23:44:59 +00:00
duncan%be.com f96a5f0ec0 A bunch of things to get the BeOS build to work. Mostly
BeOS specific fixes, except for the change to nsinstall.c
that ignores trailing "/." in the function mkdirs (as
creating a "." dir fails under BeOS).
1999-09-03 12:54:05 +00:00
dougt%netscape.com 452841d4e5 more changes from conversations with brendan@mozilla.org 1999-09-01 23:51:11 +00:00
cata%netscape.com 8197c9839b Fixing build warnings. Step 2: switch to use new method from the interface. 1999-09-01 22:50:50 +00:00
mscott%netscape.com fe861fd9d3 Bug #9836 --> Unix only fix. When returning the temp directory, don't return /tmp/. Try to return the temp dir
specified by the unix environment variable: TMPDIR. If that variable isn't set, then use /tmp/.
a=sdagley
1999-09-01 02:37:55 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
warren%netscape.com c5f6d7673b Made NS_BASE_STREAM_WOULD_BLOCK a failure code (for JS). Reduced socket transport buffer size. Fixed ABBA deadlock when calling OnEmpty in pipe code (bug#12870). 1999-08-31 21:47:30 +00:00
rjc%netscape.com 51cd65edef For Unix, don't return "." ".." or any file/directory that begins with a "."! Perhaps we should really end up having a preference that determines whether to return these "hidden" items or not. 1999-08-30 11:40:29 +00:00
bruce%cybersight.com c151f3ec16 Fix build bustage. Thanks waterson! Sorry about that. 1999-08-30 01:06:54 +00:00
bruce%cybersight.com bfa29c4eb6 Fix warning from my last checkin. 1999-08-30 00:51:56 +00:00
bruce%cybersight.com e68d0f0437 Change deallocation for nsAutoCString to use nsAllocator. This removes several thousand FMM errors in Purify. 1999-08-30 00:32:27 +00:00
shaver%netscape.com 3c6983141e make sure that /path/to/dir and /path/to/dir/ are treated as equal 1999-08-29 22:05:11 +00:00
mscott%netscape.com 707396a2a8 Bug #12638 --> Fix nsPipe2::GetLength to return the number of unread bytes in the pipe. r=warren, a=cyeh 1999-08-27 19:14:57 +00:00
warren%netscape.com 856e96363f Fixed bug that OnEmpty wasn't called. Fixed bug in Search (it would terminate prematurely on eof). 1999-08-27 10:32:45 +00:00
beard%netscape.com 9fe2e5a81b plugged a memory leak in GetCString(). 1999-08-27 03:47:43 +00:00
warren%netscape.com 2e5cd86a3c Reset cursors on Empty. 1999-08-26 00:25:43 +00:00
warren%netscape.com c726d36b08 Fixed QI bug that could cause the input stream to be closed too early. 1999-08-26 00:25:20 +00:00
dougt%netscape.com a1ca34cde8 more changes based on feedback. 1999-08-25 06:11:14 +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
dougt%netscape.com a9aa90f850 more changes as suggested by warren@netscape.com 1999-08-24 21:51:32 +00:00
dougt%netscape.com 617f2450b0 renaming nsIDirectoryIterator.idl to nsIDirectoryEnumerator.idl 1999-08-24 20:22:21 +00:00
pavlov%netscape.com 2c0db25826 isHidden was returning backwards results 1999-08-24 18:32:06 +00:00
warren%netscape.com 4324494f97 Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more. 1999-08-24 08:45:17 +00:00
warren%netscape.com 07ee016605 Added -- supercedes nsIBuffer.h 1999-08-24 04:54:56 +00:00
dougt%netscape.com b4ded63005 a real iid. 1999-08-24 03:59:07 +00:00
dougt%netscape.com ae238f6cb6 First cut of an IDL for a replace of the nsDirectoryIterator class. 1999-08-24 00:47:41 +00:00
dougt%netscape.com 7c880326fe Adding Append() and ResolveSymlink() 1999-08-24 00:47:02 +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
scc%netscape.com 83feff8821 Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com b95a2bdd54 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
dougt%netscape.com 6fdb4496ff first cut of a new file class. 1999-08-21 07:38:26 +00:00
dougt%netscape.com 7aa075083f 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 0357d0e958 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 1f154a72f4 Fix for bug 9007 submitted by david.gardiner@unisa.edu.au. 1999-08-10 23:00:53 +00:00
warren%netscape.com bc45ad76c9 Removed crtdbg.h 1999-08-10 20:30:45 +00:00
mcafee%netscape.com 2dde613bf0 Fixing linux bustage, I can't find crtdbg.h in the tree. 1999-08-10 20:11:25 +00:00
warren%netscape.com 6dd8807c5f Added nsSegmentedBuffer.cpp and nsPipe2.cpp to build. 1999-08-10 19:21:17 +00:00
warren%netscape.com 7e2cecfcc6 Added new pipe implementation -- simpler and faster. 1999-08-10 19:18:39 +00:00
warren%netscape.com 2fb04397c8 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 d6e7410f31 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 0cce3d24a3 fix constructor warning 1999-08-07 20:06:38 +00:00
pinkerton%netscape.com a595b44378 remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete. 1999-08-03 04:51:45 +00:00
briano%netscape.com ff69b9b5fa Fix for SCO OpenServer. 1999-07-31 19:33:36 +00:00
dougt%netscape.com a731c6e7b4 Changing nonscriptable to noscript. 1999-07-31 17:37:29 +00:00
duncan%be.com ff731855d1 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 859fd92e85 make mPath canonical after resolving the symlink. a=mcafee. 1999-07-29 20:14:42 +00:00
dougt%netscape.com ae85056ed9 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 47eb34bb8d 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 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
sfraser%netscape.com 5e4da3ca9e Change ResolveAlias to ResolveSymlink. dougt should have done this. 1999-07-27 23:05:53 +00:00
dveditz%netscape.com 5c1ff9d297 fixes VC5 link bustage, but I feel dirty 1999-07-27 00:57:50 +00:00
dougt%netscape.com 69178099d5 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
waterson%netscape.com 8fc0c7ba73 CID not IID! 1999-07-22 07:33:24 +00:00
scc%netscape.com 12c243677f 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 44e858a3d6 Fix for NTO, which uses statvfs. 1999-07-22 01:31:43 +00:00
briano%netscape.com 58a714eb9b 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 dd656478bb duh. 1999-07-21 18:18:09 +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 058ae95f8a Fixed extra ref count problem for blocker bug 10138 1999-07-20 14:29:43 +00:00
warren%netscape.com 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
beard%netscape.com a4240fcd41 explicitly include <limits.h> for ULONG_MAX 1999-07-17 02:04:20 +00:00
slamm%netscape.com 5f3384449d Fix build warnings. 1999-07-16 21:47:03 +00:00
kipp%netscape.com f9e23515cd Removed a compiler warning 1999-07-16 17:40:39 +00:00
rods%netscape.com 079dbe461f 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 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
briano%netscape.com daecd83558 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 68adac575c Removed obsolete Fill methods. Added NonBlocking attribute. 1999-07-10 11:27:11 +00:00
dp%netscape.com c9261cc1b2 Fixed
- Mismatched alloc/free
- Guarded against null pointer and crash bug#8830
1999-07-09 03:41:27 +00:00
rpotts%netscape.com ef421fc66f 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 9bc4f969a1 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 d3cd369285 Another makefile that clobbers DEFINES. 1999-07-07 21:22:55 +00:00
gayatrib%netscape.com 31d5a62283 Added Recursive Copy routine 1999-07-07 01:02:16 +00:00
racham%netscape.com aba8748b4b Removing check for mpath in Recursive copy routine 1999-07-06 22:41:42 +00:00
racham%netscape.com 06f1388283 Adding RecursiveCopy interface 1999-07-05 01:39:42 +00:00
warren%netscape.com a9ae165740 Fixed bug in string stream length. 1999-07-03 06:49:28 +00:00
sspitzer%netscape.com 18588c57f5 bulletproofing changes. check return value and return it if error. 1999-07-02 06:31:31 +00:00
scc%netscape.com 54c96baa72 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
mcafee%netscape.com 4aca8a8246 BeOS changes 1999-06-29 10:27:58 +00:00
mcafee%netscape.com 0569313c71 Changes for OS/2. 1999-06-28 22:41:48 +00:00
alecf%netscape.com 39f1a100e1 add [ptr] version of nsFileSpec 1999-06-26 20:27:28 +00:00
mcafee%netscape.com 28609227a2 BeOS landing; thanks to Duncan Wilcox (duncan@be.com) for these changes. 1999-06-25 10:56:50 +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
warren%netscape.com 9484348e12 Fixed problems with GetReadSegment after eof. 1999-06-21 21:05:07 +00:00
warren%netscape.com a3adc6bd4c Making buffers work better. Now out-of-memory is handled properly. 1999-06-19 22:23:18 +00:00
warren%netscape.com 58680447a0 Fixed bug causing Flush to block forever. Changed nsAutoMonitor to nsAutoCMonitor (cached monitors). 1999-06-16 04:15:15 +00:00
dp%netscape.com 55b0233159 Registry location and filename added. 1999-06-16 00:26: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 7da73546db Added a null test 1999-06-15 09:31:49 +00:00
mcmullen%netscape.com 9073e2e35e 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 8882c50da2 Added PR_LOG stuff. 1999-06-15 04:57:07 +00:00
ducarroz%netscape.com ff3613b424 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 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
mcmullen%netscape.com 26d15e37ff Added constructors from new nsIFileSpec 1999-06-14 22:04:27 +00:00
dp%netscape.com 5a716e67c5 Removing obsolete files from xpcom. 1999-06-12 15:54:46 +00:00
rpotts%netscape.com 537d7974c6 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 05dd9dcd86 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 a91081460c Added bulletproofing for null buffer parameters 1999-06-10 19:51:36 +00:00
mcmullen%netscape.com 8794a22bd5 Don't try to call strlen() on a null string. 1999-06-10 02:24:21 +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
ramiro%netscape.com b0e2dd7a5e Port to KCC. 1999-06-09 10:20:12 +00:00
warren%netscape.com 108ee892cd Cleaned up the nsIBuffer interface, added comments, etc. 1999-06-09 06:41:32 +00:00
warren%netscape.com 45df5306ae Added nscore.h to nsrootidl.idl for PRUnichar. 1999-06-09 03:19:10 +00:00
warren%netscape.com aaf94a8b04 Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
warren%netscape.com 7b74d79bf3 Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer. 1999-06-05 01:15:00 +00:00
warren%netscape.com fa9af113bf Added 1999-06-04 23:58:05 +00:00
warren%netscape.com 8e1cc82187 Removed stream files from manifest. 1999-06-03 23:52:13 +00:00
warren%netscape.com 7208426540 Removed obsolete files for mac. 1999-06-03 23:35:18 +00:00
warren%netscape.com 03c1be25bc Added nsIBufferInputStream.idl 1999-06-03 23:10:11 +00:00
pinkerton%netscape.com 114282864b adding new stream idl files. 1999-06-03 23:03:53 +00:00
warren%netscape.com 19437e332d 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 447b069ddb IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
waterson%netscape.com e30c1ff4f6 Fix XPIDL_MODULE typos. 1999-06-03 20:06:49 +00:00
mcmullen%netscape.com 3db78cc9b8 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 f90907e656 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 145b24f47c Add ability to find "Internet Search Sites" folder on Mac. 1999-06-02 00:12:10 +00:00
ducarroz%netscape.com 5a6663db89 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 9c27fc9dec 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 0639a2acde Return value 1999-05-29 01:51:02 +00:00
mcmullen%netscape.com 53d551dd62 Use NS_COM (not NS_BASE) 1999-05-29 01:29:28 +00:00
mcmullen%netscape.com c27322b635 Moved widgetry out. 1999-05-29 01:28:25 +00:00
mcmullen%netscape.com e0431b2caf Moved widgetry out of xpcom 1999-05-29 01:26:53 +00:00
mcmullen%netscape.com e40a3e299b Moving widgetry out of xpcom 1999-05-29 01:08:22 +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 afdcdd4a15 Adding progid and classname 1999-05-27 22:47:27 +00:00
dougt%netscape.com 8c55d325a2 removing an evil and unneeded delete []. 1999-05-27 22:02:17 +00:00
mcmullen%netscape.com 43893ffab7 First Checked In. 1999-05-27 17:59:00 +00:00
sspitzer%netscape.com dc6a12ab7d cvs ignorage for xpcom2 landing 1999-05-26 17:51:05 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com 08b563e33a Added 1999-05-18 21:43:13 +00:00
dp%netscape.com f329e74754 Initial version 1999-05-18 09:11:01 +00:00
sspitzer%netscape.com 94edddef2a make the destructor virtual 1999-05-13 00:48:42 +00:00
mcmullen%netscape.com ed503205ca Fix badness when nsFilePath is initialized with a nil or empty string. 1999-05-12 22:56:24 +00:00
mcmullen%netscape.com a44f5696b5 Assert when nsFileSpec gets a unix path 1999-05-12 00:17:53 +00:00
mcafee%netscape.com 1e9ab980a4 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 2ef9974fe9 Fix for AIX, Solaris, OSF/1, and probably others. 1999-05-08 06:24:27 +00:00
mcmullen%netscape.com f1f7a55308 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 7e9ebaa434 These staged checkins can be tricky. 1999-05-08 00:57:57 +00:00
mcmullen%netscape.com 8ffb91bdf1 Updated a comment. 1999-05-08 00:21:46 +00:00
mcmullen%netscape.com 92574668b3 First Checked In. 1999-05-07 22:03:31 +00:00
alecf%netscape.com 4d5d87bb3c fix possible uninitialized variable 1999-05-04 20:49:20 +00:00
mcmullen%netscape.com 0c5ad1f6f3 So much for that last touchup between building and committing... 1999-05-04 19:39:15 +00:00
mcmullen%netscape.com 5da90cc4d1 Fix double-escaping problem (#4184) 1999-05-04 19:11:31 +00:00
mcmullen%netscape.com b71b1961d8 Fix an error in the previous checkin. 1999-05-03 23:14:28 +00:00
mcmullen%netscape.com 36d20039a0 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 9c928248b7 Added page manager, buffer, buffer streams and pipes stuff. 1999-04-30 22:55:12 +00:00
mcmullen%netscape.com b7e2a9919d Use CRLF on windows for nsEndl() 1999-04-27 21:26:15 +00:00
mcmullen%netscape.com 31082baedf Fixed two small problems in Macintosh-only parts of the code. 1999-04-27 02:12:22 +00:00
mcmullen%netscape.com 42c26e2cf9 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 98d439d706 Patch from Michael Lowe (part of #5473) replace true by PR_TRUE 1999-04-26 19:34:39 +00:00
mcmullen%netscape.com e5e977358e 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 6b1cb6c501 Fix for a comment. 1999-04-25 13:31:05 +00:00
bruce%cybersight.com e128505d6e Old patches for non-virtual vs virtual destructors (approved by Troy) 1999-04-25 04:57:38 +00:00
scc%netscape.com c77df52aa7 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 bf4cf0d5dd Bug #4184. Before unescaping a path, call ReAllocData. 1999-04-23 21:32:57 +00:00
mcmullen%netscape.com ed7685944c Corrected spelling in some comments. 1999-04-23 20:27:38 +00:00
mcmullen%netscape.com 2b9b0a6cd3 Made GetCatInfo method public (XP_MAC only) 1999-04-23 17:18:24 +00:00
dougt%netscape.com a23ed84234 Fixes Bug 5300 http://bugzilla.mozilla.org/show_bug.cgi?id=5300 1999-04-23 06:32:40 +00:00
warren%netscape.com 329d00e493 Added Write(nsIInputStream) and Flush to nsIOutputStream. 1999-04-22 07:31:03 +00:00
sfraser%netscape.com a046a5b92a Look for types.h in the system headers. 1999-04-22 04:34:59 +00:00
mcmullen%netscape.com 4efbbee451 Oops. 1999-04-20 19:31:11 +00:00
mcmullen%netscape.com 34af4633c2 Correct a problem my last change to GetParent() introduced. 1999-04-20 19:09:22 +00:00
mcmullen%netscape.com bd7584529a 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 9726731289 Added unix home directory 1999-04-15 22:45:41 +00:00
dougt%netscape.com 10c079470d Now using PL_* functions in nsprPath()
ifdef'ing the deallocation of nsprPath()
1999-04-15 19:39:23 +00:00
mcmullen%netscape.com ef4a73c482 An "oops" correction in the previous checkin. 1999-04-15 02:17:41 +00:00
mcmullen%netscape.com 8a002d9b23 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 82df0f6471 Fixed compiler warning. 1999-04-15 01:07:20 +00:00
mcmullen%netscape.com bc106712df Support unix paths .. and . in the path conversion routine. 1999-04-15 01:06:55 +00:00
mcmullen%netscape.com d579b733aa Fix backwards failure logic 1999-04-15 01:06:03 +00:00
warren%netscape.com 47d97f7869 Fixed comment. 1999-04-13 18:26:53 +00:00
warren%netscape.com 14d3585596 Added NS_NewPipe and cleaned up ByteBufferInputStreams. 1999-04-13 18:17:29 +00:00
warren%netscape.com 2115a4aa4b Added header. 1999-04-13 18:15:49 +00:00
warren%netscape.com 4cc597dc40 Fixed EOF condition. 1999-04-13 18:15:41 +00:00
bruce%cybersight.com f8a99e7dff Adding blank lines for native compilers. 1999-04-13 06:35:42 +00:00
rhp%netscape.com 25c7fb4db1 Added nsEscapeHTML() function 1999-04-12 20:23:21 +00:00
briano%netscape.com cf50f70912 Cleaned up the statfs mess at the beginning to make use of configure's power. 1999-04-10 01:13:02 +00:00
dougt%netscape.com 9592b5ed44 Make the windows specific code use nsprPath. 1999-04-10 00:30:23 +00:00
dougt%netscape.com c97b3ee440 Adding nsprPath class.
Removing existing check when creating subdirectories.
1999-04-10 00:29:20 +00:00
dougt%netscape.com e68895186c Adding nsprPath class.
Changing comments to reflect the real world.
1999-04-10 00:27:09 +00:00
mcmullen%netscape.com 70a8808ba2 Bug #4619. When at eof, get() was returning undefined character. Now returning 0. 1999-04-08 17:31:00 +00:00
mcmullen%netscape.com 75e878b3a9 memset a buffer to 0, to avoid Solaris UMR diagnostics. 1999-04-06 20:10:50 +00:00
warren%netscape.com 8b3e95cfa2 Added nsIByteBufferInputStream. 1999-04-06 01:43:52 +00:00
warren%netscape.com 1c1d04115b Added copyright. 1999-04-05 21:01:33 +00:00
rickg%netscape.com aeffd0c992 API cleanup for nsString 1999-04-05 08:06:54 +00:00
dp%netscape.com 169bb17915 Added Current Working Directory 1999-04-03 17:17:49 +00:00
mcmullen%netscape.com 83c6db8e89 Just added a divider comment. 1999-04-01 20:07:52 +00:00
mcmullen%netscape.com dc51caba2e Fixed an illegal preprocessor directive. 1999-04-01 20:06:46 +00:00
mcafee%netscape.com 2d625f9600 Simplifying SCO case. 1999-04-01 05:16:32 +00:00
mcafee%netscape.com 15d6df3109 Adding support for NTO. 1999-04-01 05:06:34 +00:00
mcafee%netscape.com e07a8b47d6 Simplifying ifdef logic in preparation for jump to hyperspace (autoconf) 1999-04-01 05:02:32 +00:00
dougt%netscape.com ee22d153f3 Fixes off by one error. 1999-03-31 05:04:28 +00:00
sspitzer%netscape.com a7c4e2da6c removed aErrorCode from the comment.
aErrorCode is no longer a parameter to Read()
1999-03-25 03:00:04 +00:00
bienvenu%netscape.com b7d7665c16 fix problem with SetLeafName r+a=mcmullen 1999-03-22 19:15:30 +00:00
pavlov%pavlov.net 07d3f0be51 add a cast to fix build problems on the ports tinderboxes. 1999-03-21 15:42:44 +00:00
dougt%netscape.com 899ccc36a3 Fixing unix breakage. 1999-03-21 06:57:56 +00:00
dougt%netscape.com e4949d344c Now adjusting the nsFileSpec after a Move().
Also fixing a bug with Rename().  Now it should successfully take
partial pathnames on Unix and Windows.
1999-03-21 06:22:45 +00:00
alecf%netscape.com c59cbb3e36 oops, back out my old patch - caused more harm than good 1999-03-20 02:41:27 +00:00
alecf%netscape.com 53f20b6e1a fix newline and end of file problem 1999-03-20 02:34:54 +00:00
alecf%netscape.com 804aa05e63 there is no header file on unix that actually includes this path. wierd. 1999-03-20 02:34:31 +00:00
mcmullen%netscape.com 19dc840095 FIxing another unix problem. 1999-03-20 01:13:35 +00:00
mcmullen%netscape.com 5a20fa4872 Fix unix bustage. 1999-03-20 00:13:08 +00:00
mcmullen%netscape.com 6cf27d2a67 Bugs #3997, 3934 1999-03-19 23:09:39 +00:00
mcafee%netscape.com 0ab3fe8ca1 Solaris needs prototype for PR_GetEnv(). 1999-03-18 22:41:24 +00:00
mcafee%netscape.com 94137691ac Switch to PR_GetEnv(), warn once if MOZILLA_FIVE_HOME is not set. 1999-03-18 22:38:25 +00:00
mcmullen%netscape.com 296a662cd4 Fixes for bugs #3779,#2784. Member initialization of nsFileURL for windows compiler, escaping of url when made from path or spec, add file:// on macintosh when making a url from a spec. [bugs introduced when, for dp, I changed nsFilePath not to escape]. a=chofmann. 1999-03-16 19:12:51 +00:00
mcmullen%netscape.com a06c02057b Fix a parameter type. 1999-03-13 07:07:33 +00:00
mcmullen%netscape.com 3bb07d2871 Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable) 1999-03-13 06:38:57 +00:00
mcmullen%netscape.com 088a3ba59a Fixed crashing bug on solaris. Added support for mac documents directory. 1999-03-12 22:15:02 +00:00
mcmullen%netscape.com f9e9f1030d Added mac documents directory. 1999-03-12 22:14:08 +00:00
dp%netscape.com aba76740b8 Unix: Adding MOZILLA_FIVE_HOME 1999-03-11 21:31:16 +00:00
mcmullen%netscape.com c83b5e5810 Fixed bustage with typo. 1999-03-10 21:41:43 +00:00
mcmullen%netscape.com eb40f15d6f Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null. 1999-03-10 21:02:58 +00:00
mcmullen%netscape.com 4dbdbee851 Added output streamers for int and unsigned int. 1999-03-10 20:56:38 +00:00
dougt%netscape.com b68b584c5b No longer shifting windows nsFileSpec's mPath to uppercase.
Now comparing without regard to case instead on windows.
Windows nsSpecialSystemDirectory will have all uppercase mPaths.
1999-03-10 20:07:10 +00:00
mcafee%netscape.com 000b5164e8 Solaris needs newline at EOF. 1999-03-10 10:57:05 +00:00
waterson%netscape.com 652441cf06 Change PATH_MAX to MAXPATHLEN to compile on Solaris. 1999-03-10 07:21:09 +00:00
waterson%netscape.com 928cc7249f Added OS_CurrentProcessDirectory implementation. Thanks to RJC for Mac. Unix is still bogus: uses getcwd(). 1999-03-10 06:07:21 +00:00
mcmullen%netscape.com eab093f4d5 Change assignment operator not to create dirs. 1999-03-10 02:50:16 +00:00
mcmullen%netscape.com 615dbada53 Turning on dougt's special system directory stuff, and adding it to the Macintosh build. Fixed spurious leading slash on getting leaf name (win and unix). Adding dougt's equality test operator, too. Adding dougt's test code for all the above. 1999-03-09 22:33:36 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
brendan%netscape.com 28d612e522 Must use defined XP_UNIX, not XP_UNIX, as #elif condition. 1999-03-09 02:46:23 +00:00
mcmullen%netscape.com 2eb1452b5e Fix a unix warning 1999-03-05 23:00:57 +00:00
mcmullen%netscape.com 0b721e55f8 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
ramiro%netscape.com 82e5371671 Filename was misspelled. Broke unix. Blessed by cyeh. 1999-03-05 21:29:26 +00:00
mcmullen%netscape.com 5af9b0231b First Checked In. 1999-03-05 20:55:10 +00:00
dougt%netscape.com 604230303c adding nsSpecialSystemDirectory.cpp to windows makefile.
Fixed MakeAllDirectory bug in nsFileSpec.cpp
1999-03-05 20:20:22 +00:00
dougt%netscape.com bfa7cd297a Initial Checkin 1999-03-05 20:17:47 +00:00
mcafee%netscape.com 327257fb03 Uninitialized variables 1999-03-05 04:20:54 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
alecf%netscape.com 23dfed1e50 fix HPUX bustage - confused by too many similar constructors 1999-03-02 19:23:06 +00:00
alecf%netscape.com dedc56a341 fix linux -pedantic build - compiler confused by too much casting 1999-03-02 01:41:45 +00:00
mcmullen%netscape.com 9d8798db7a Fix Windows build errors 1999-02-28 02:51:53 +00:00
mcmullen%netscape.com 0ab1a3175d Fix unix build errors 1999-02-28 02:17:55 +00:00
mcmullen%netscape.com 5c6b652c90 Fix const problem. 1999-02-28 01:55:23 +00:00
mcmullen%netscape.com 22a00633c9 Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge. 1999-02-28 01:36:48 +00:00
mcafee%netscape.com cf6f44ef32 Switching false/true over to PR_FALSE/PR_TRUE 1999-02-26 19:47:48 +00:00
mcafee%netscape.com f88f9526bc Switching one last bool to PRBool. a=mcmullen 1999-02-26 19:22:43 +00:00
alecf%netscape.com 66c86207fd fix -pedantic bustage - Delete isn't const, so re-cast "this" 1999-02-26 17:56:44 +00:00
dougt%netscape.com 8530487aeb Remove #ifdef DEBUG 1999-02-26 00:14:57 +00:00
dougt%netscape.com 43984d07a9 Another fix to the build bustage. 1999-02-25 22:17:25 +00:00
dougt%netscape.com 3e99c7e102 This should make the tree go green. It, however, makes nsPersistentFileDescriptor broken if you pass an fsspec. 1999-02-25 22:04:50 +00:00
dougt%netscape.com ccbad16cde Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See dougt@netscape.com or
John McMullen for futher information.
1999-02-25 20:49:47 +00:00
mscott%netscape.com 75ce123dcc Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen... 1999-02-23 03:10:29 +00:00
brade%netscape.com b3b4f0d2c0 add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
mcmullen%netscape.com 08350f58b5 Backing out previous change from the trunk, because it was supposed to have gone in on a branch. 1999-02-18 00:45:07 +00:00
mcmullen%netscape.com eda401b85b Updated to match the header changes I've been making. Also, added the declaration of the persistent filespec class. 1999-02-18 00:35:39 +00:00
warren%netscape.com a4e60f2de6 Added missing definition of nsFilePath::nsFilePath(const nsFilePath&) 1999-02-17 18:20:27 +00:00
beard%netscape.com 280377b201 Fixed += operator, which would only work if you had a file or folder called "G'day" in the input directory. 1999-02-12 00:48:35 +00:00
mcmullen%netscape.com 066da0cfa8 Improved the readline() comment, as it was not quite clear. 1999-02-04 19:25:59 +00:00
cata%netscape.com eccefa0fdb Hacky Unicode converters implementation replaced with the real xpcom thing. 1999-02-03 18:55:10 +00:00
mscott%netscape.com e13b3aa23d Use NS_BASE when defining the nsEscape functions. 1999-01-28 00:32:34 +00:00
mscott%netscape.com 8ef93e0927 use NS_BASE when declaring the nsEscape functions so they get exported. 1999-01-28 00:30:57 +00:00
waterson%netscape.com febb896a80 Got Win32-specific stuff up and running. This caused a bit of code-juggling in the Unix and Mac implementations. a=mcmullen. 1999-01-26 23:49:33 +00:00
ftang%netscape.com 8ca2c39a5b change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
donm%netscape.com 8fcc9e490f fixing includes for solaris. -donm 1999-01-07 21:03:42 +00:00
mcmullen%netscape.com 6d8e4aa0d8 Fix unused parameter warning. 1999-01-07 02:11:24 +00:00
kipp%netscape.com b4f21e84f4 Make it compile on windows 1999-01-07 01:46:22 +00:00
mcmullen%netscape.com 6ebe2daa2c Added a directory iterator class. Added canonification and recursive directory creation, and some other handy methods. Eventual goal: replace xp_file.h entirely. 1999-01-06 23:38:21 +00:00
mcmullen%netscape.com d943dfc62a Simplify the console case, so that Windows does not think it has to compile with exception handling. 1998-12-29 00:24:32 +00:00
mcmullen%netscape.com defd60a0ab Allow partial paths. 1998-12-24 00:01:32 +00:00
law%netscape.com 47cba1c029 Add nsFile* to Windows build 1998-12-22 20:01:41 +00:00
mcmullen%netscape.com b9aa25e827 Added an NS_BASE for windows. 1998-12-18 23:30:44 +00:00
mcmullen%netscape.com 9cdd955cd4 Rewrote the stream stuff to be simple, since Unix build environment cannot even handle ostream and istream. This builds and runs correctly on Linux and Macintosh now. 1998-12-18 23:06:54 +00:00
mcmullen%netscape.com 64d8d93b7d First Checked In. 1998-12-18 22:38:28 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
mcmullen%netscape.com bc3cd3e280 Made all this build on Unix, using Macros up the wazoo 1998-12-15 22:45:09 +00:00
mcmullen%netscape.com 70ec590900 Deal with the case of a null string. 1998-12-12 02:07:11 +00:00
law%netscape.com 8f41797878 Minor fix in operator= 1998-12-12 01:28:28 +00:00
law%netscape.com ef069eb5f5 Add NS_BASE to cause export from dll on Windows 1998-12-12 01:25:32 +00:00
mcmullen%netscape.com e1c92781a8 More windows stuff. 1998-12-11 23:52:31 +00:00
mcmullen%netscape.com 120fb992fa More windows tweaks 1998-12-11 23:05:24 +00:00
mcmullen%netscape.com dd79f3130c And again. 1998-12-11 18:17:22 +00:00
mcmullen%netscape.com f41691e8b4 More tweaks. 1998-12-11 03:17:47 +00:00
mcmullen%netscape.com 12ac82aeff Some more tweaks to suit various compilers and platforms. 1998-12-11 01:42:04 +00:00
mcmullen%netscape.com f2af6b7ae7 Trying to make this build on unix gcc compilers, I have removed all references to std::string, using char* instead. This almost made me cry (not just because of all the work I had to do over again). 1998-12-09 08:47:30 +00:00
mcmullen%netscape.com b6aba71e21 Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh. 1998-12-09 05:09:28 +00:00
pinkerton%netscape.com b4f7944d24 fix for new universal headers. Don't use PLstringfuncs and add an inline helper to the helper namespace which does the same things. 1998-12-09 01:56:36 +00:00
law%netscape.com c3e6a55dd2 Added Windoze support 1998-12-09 01:04:53 +00:00
mcmullen%netscape.com ffc07f1806 Polished the interfaces, added long comments in the headers. The next step is checking by Bill Law and Steve Lamm for Win and Unix. Then it's open season. 1998-12-08 22:45:42 +00:00
mcmullen%netscape.com 2d03507d69 First Checked In. 1998-12-08 22:43:57 +00:00
mcmullen%netscape.com 97663c5afa First Checked In. 1998-12-08 02:22:54 +00:00
mcmullen%netscape.com 46efadfc6c First Checked In. 1998-12-08 02:15:50 +00:00
michaelp%netscape.com 8fd323a89b added APIs to viewmanager to enable and disable all rendering.
made Refresh() APIs of viewmanager implementation private.
1998-07-24 21:05:50 +00:00
michaelp%netscape.com 3f1cee6416 modified streaming APIs to be what the OJI guys want. 1998-07-23 20:34:01 +00:00
kipp 45478ad93a Init refcnt properly 1998-05-28 18:38:32 +00:00
thom 394804e4df Mac checkin 1998-05-18 22:47:24 +00:00