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