Commit Graph

477 Commits

Author SHA1 Message Date
dougt%netscape.com
58f84fa5ea more changes as suggested by warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@44363 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:51:32 +00:00
dougt%netscape.com
24ff470d00 renaming nsIDirectoryIterator.idl to nsIDirectoryEnumerator.idl
git-svn-id: svn://10.0.0.236/trunk@44333 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 20:22:21 +00:00
pavlov%netscape.com
30ec336bcb isHidden was returning backwards results
git-svn-id: svn://10.0.0.236/trunk@44309 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:32:06 +00:00
warren%netscape.com
466d3cb0e7 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.
git-svn-id: svn://10.0.0.236/trunk@44272 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 08:45:17 +00:00
warren%netscape.com
7a7fd24d13 Added -- supercedes nsIBuffer.h
git-svn-id: svn://10.0.0.236/trunk@44247 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 04:54:56 +00:00
dougt%netscape.com
85d906f782 a real iid.
git-svn-id: svn://10.0.0.236/trunk@44231 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 03:59:07 +00:00
dougt%netscape.com
fe70c4bdd6 First cut of an IDL for a replace of the nsDirectoryIterator class.
git-svn-id: svn://10.0.0.236/trunk@44201 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:47:41 +00:00
dougt%netscape.com
f96c91fe01 Adding Append() and ResolveSymlink()
git-svn-id: svn://10.0.0.236/trunk@44200 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:47:02 +00:00
scc%netscape.com
56d5ad0b43 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
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
scc%netscape.com
7c0b0cb314 Added |GetIID|
git-svn-id: svn://10.0.0.236/trunk@44086 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 20:54:08 +00:00
mccabe%netscape.com
f54a574f03 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO.
git-svn-id: svn://10.0.0.236/trunk@44056 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 11:25:50 +00:00
dougt%netscape.com
a2743e2a69 first cut of a new file class.
git-svn-id: svn://10.0.0.236/trunk@43978 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 07:38:26 +00:00
dougt%netscape.com
9ce9c8b2b7 Adding fix for 6181. It is currently ifdef'ed out. Looking for a mac person to
verify.


git-svn-id: svn://10.0.0.236/trunk@43448 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 02:17:21 +00:00
warren%netscape.com
7a040bf33f 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.
git-svn-id: svn://10.0.0.236/trunk@43271 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 00:46:16 +00:00
dougt%netscape.com
2cfd1b381f Fix for bug 9007 submitted by david.gardiner@unisa.edu.au.
git-svn-id: svn://10.0.0.236/trunk@43066 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:00:53 +00:00
warren%netscape.com
0d36a9523c Removed crtdbg.h
git-svn-id: svn://10.0.0.236/trunk@43014 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 20:30:45 +00:00
mcafee%netscape.com
e062496972 Fixing linux bustage, I can't find crtdbg.h in the tree.
git-svn-id: svn://10.0.0.236/trunk@43012 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 20:11:25 +00:00
warren%netscape.com
1500b9cd8d Added nsSegmentedBuffer.cpp and nsPipe2.cpp to build.
git-svn-id: svn://10.0.0.236/trunk@43001 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:21:17 +00:00
warren%netscape.com
63a73eb8df Added new pipe implementation -- simpler and faster.
git-svn-id: svn://10.0.0.236/trunk@42999 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:18:39 +00:00
warren%netscape.com
72aec95888 Made Read return as soon as it's got something, rather than waiting until the buffer is full.
git-svn-id: svn://10.0.0.236/trunk@42997 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:48 +00:00
mccabe%netscape.com
1999447bdb 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.


git-svn-id: svn://10.0.0.236/trunk@42960 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 12:18:01 +00:00
alecf%netscape.com
ec7111b0bd fix constructor warning
git-svn-id: svn://10.0.0.236/trunk@42662 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 20:06:38 +00:00
pinkerton%netscape.com
086f5f9900 remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete.
git-svn-id: svn://10.0.0.236/trunk@41942 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 04:51:45 +00:00
briano%netscape.com
c3620d71f5 Fix for SCO OpenServer.
git-svn-id: svn://10.0.0.236/trunk@41731 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 19:33:36 +00:00
dougt%netscape.com
e4563ddee0 Changing nonscriptable to noscript.
git-svn-id: svn://10.0.0.236/trunk@41722 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:37:29 +00:00
duncan%be.com
ded6da2abc Fix ResolveSymlink for BeOS (BeOS doesn't have realpath).
BEOS ONLY FIX NEEDED TO UNBREAK THE BUILD!


git-svn-id: svn://10.0.0.236/trunk@41591 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 12:03:25 +00:00
sspitzer%netscape.com
7442fe6354 make mPath canonical after resolving the symlink. a=mcafee.
git-svn-id: svn://10.0.0.236/trunk@41555 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 20:14:42 +00:00
dougt%netscape.com
24830fc232 This fixes a nsDirectoryIterator bug that bliz, seth and I were working on last night.
Approved by cyeh.


git-svn-id: svn://10.0.0.236/trunk@41552 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 14:24:47 +00:00
sspitzer%netscape.com
851457b19f 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.
git-svn-id: svn://10.0.0.236/trunk@41541 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 04:31:04 +00:00
sspitzer%netscape.com
695d359ba6 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!
git-svn-id: svn://10.0.0.236/trunk@41358 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:33:54 +00:00
sfraser%netscape.com
4bf673a95e Change ResolveAlias to ResolveSymlink. dougt should have done this.
git-svn-id: svn://10.0.0.236/trunk@41342 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:05:53 +00:00
dveditz%netscape.com
23d69cafba fixes VC5 link bustage, but I feel dirty
git-svn-id: svn://10.0.0.236/trunk@41189 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:57:50 +00:00
dougt%netscape.com
d219f1385e Fix for bug 10177 and 10041.
git-svn-id: svn://10.0.0.236/trunk@41167 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 22:09:42 +00:00
waterson%netscape.com
438ffe509a CID not IID!
git-svn-id: svn://10.0.0.236/trunk@40635 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 07:33:24 +00:00
scc%netscape.com
b498e2909d explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs
git-svn-id: svn://10.0.0.236/trunk@40614 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 05:25:17 +00:00
briano%netscape.com
1a2743b4e1 Fix for NTO, which uses statvfs.
git-svn-id: svn://10.0.0.236/trunk@40575 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 01:31:43 +00:00
briano%netscape.com
d7fd76ef30 QNX-specific hack to deal with their funky statfs() and struct statfs, and to define realpath.
git-svn-id: svn://10.0.0.236/trunk@40538 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 23:15:15 +00:00
dougt%netscape.com
b83a028e86 duh.
git-svn-id: svn://10.0.0.236/trunk@40449 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 18:18:09 +00:00
dougt%netscape.com
0e3652a9a5 fix for bug: 10260
removed warning in nsIFileStream.cpp


git-svn-id: svn://10.0.0.236/trunk@40445 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 17:56:01 +00:00
rods%netscape.com
69921c6437 Fixed extra ref count problem for blocker bug 10138
git-svn-id: svn://10.0.0.236/trunk@40285 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 14:29:43 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
beard%netscape.com
29879dc3db explicitly include <limits.h> for ULONG_MAX
git-svn-id: svn://10.0.0.236/trunk@39820 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 02:04:20 +00:00
slamm%netscape.com
51b8765ad5 Fix build warnings.
git-svn-id: svn://10.0.0.236/trunk@39760 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 21:47:03 +00:00
kipp%netscape.com
5703a15016 Removed a compiler warning
git-svn-id: svn://10.0.0.236/trunk@39709 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:40:39 +00:00
rods%netscape.com
a080025e3e 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


git-svn-id: svn://10.0.0.236/trunk@39682 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 12:59:20 +00:00
rods%netscape.com
4ed1205371 Commented out a check to that makes it return when mOutputStream null
instead it creates  an output stream when it is null


git-svn-id: svn://10.0.0.236/trunk@39681 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 12:57:45 +00:00
sspitzer%netscape.com
19011d007c add the touch interface to the nsIFileSpec iterface and the appropriate implementations
git-svn-id: svn://10.0.0.236/trunk@39149 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 19:10:43 +00:00
briano%netscape.com
dbf34afb61 Define MAXPATHLEN to be 1024 if it hasn't already been defined. Fix for SCO. a=cyeh.
git-svn-id: svn://10.0.0.236/trunk@39019 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-12 22:36:24 +00:00
warren%netscape.com
6bde234940 Removed obsolete Fill methods. Added NonBlocking attribute.
git-svn-id: svn://10.0.0.236/trunk@38965 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 11:27:11 +00:00
dp%netscape.com
762dbcae6c Fixed
- Mismatched alloc/free
- Guarded against null pointer and crash bug#8830


git-svn-id: svn://10.0.0.236/trunk@38872 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 03:41:27 +00:00