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

371 Коммитов

Автор SHA1 Сообщение Дата
briano%netscape.com 04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
waterson%netscape.com fa6c2fad91 Make nsFileSpecMac tough enough to deal with a Unix-style path with two or more forward slashes that are right next to each other; e.g., foo//bar/baz.html. Previously, it would convert this to foo::bar:baz.html, which is the Unix equivalent of foo/../bar/baz.html. Oops. Anyway, this keeps Mac from crashing on startup. 1999-09-17 07:03:09 +00:00
dp%netscape.com 8c52c7502f Adding Set() to configure component directory and registry 1999-09-16 19:08:31 +00:00
dougt%netscape.com 351689f243 bug 13396. It looks like the returned byte count was off on certain size
files.
1999-09-15 18:24:01 +00:00
cls%seawood.org 0a10e0a466 Reverting changes accidentally checked in 1999-09-15 05:28:31 +00:00
warren%netscape.com a41c2f2e9f Fixed uninitialized return value. 1999-09-14 09:33:53 +00:00
cls%seawood.org 9403bee785 Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h> 1999-09-13 05:09:53 +00:00
cls%seawood.org adf94e4618 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
rpotts%netscape.com 024ce49205 I've commented out this assert since I was hitting it *alot* after a clean build :-( 1999-09-12 09:00:34 +00:00
warren%netscape.com 399d6fa403 Added assertion for Open failing. 1999-09-11 23:48:07 +00:00
warren%netscape.com 09e4b5658c Disabled the page manager until we have more time to make it work properly. 1999-09-10 23:34:12 +00:00
dveditz%netscape.com 6f9b4b14a2 hoping this fixes dougt's bustage 1999-09-10 20:58:46 +00:00
dougt%netscape.com 00725ef8f7 changing GetDiskSpaceAvailable to return a signed 64 bit value 1999-09-10 20:03:56 +00:00
duncan%be.com 019ad9bd97 Fix int64 support in GetDiskSpaceAvailable, BeOS only fix. 1999-09-10 12:39:08 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
dougt%netscape.com a29ca16fcf missed this file. 1999-09-09 19:43:26 +00:00
dougt%netscape.com 01cce158c5 fixing var name 1999-09-09 19:37:29 +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
dougt%netscape.com d674f8af60 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 7de384224d Use deadlock detecting nsAutoMonitors, etc., correctly. 1999-09-06 19:57:40 +00:00
driehuis%playbeing.org 1a157b514d 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 2627b068df Use nsCRT::free() on result of nsEscape() instead of delete[]. 1999-09-04 17:10:10 +00:00
bruce%cybersight.com 36d8b82698 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 497a6f2b74 Use nsAllocator. Some comments tweaked. 1999-09-04 16:33:12 +00:00
shaver%netscape.com 90e6e9f4e7 add IsChildOf, and dougt's relative-path-handling diff 1999-09-03 23:44:59 +00:00
duncan%be.com 01abb3a4a1 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 48971bb399 more changes from conversations with brendan@mozilla.org 1999-09-01 23:51:11 +00:00
cata%netscape.com 0f0d23b266 Fixing build warnings. Step 2: switch to use new method from the interface. 1999-09-01 22:50:50 +00:00
mscott%netscape.com 4f0839f8cc 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 9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
warren%netscape.com efb0c1cd5d 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 d982990ad0 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 14736d27f9 Fix build bustage. Thanks waterson! Sorry about that. 1999-08-30 01:06:54 +00:00
bruce%cybersight.com b1400e0dad Fix warning from my last checkin. 1999-08-30 00:51:56 +00:00
bruce%cybersight.com dc30d7bfda 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 073e97ad3b 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 07a5b957af 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 5db8e5c734 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 01f1e066fb plugged a memory leak in GetCString(). 1999-08-27 03:47:43 +00:00
warren%netscape.com 14a7d6b930 Reset cursors on Empty. 1999-08-26 00:25:43 +00:00
warren%netscape.com dc3ba6ab81 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 ce7a03de0f more changes based on feedback. 1999-08-25 06:11:14 +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
dougt%netscape.com f12b07d23a more changes as suggested by warren@netscape.com 1999-08-24 21:51:32 +00:00
dougt%netscape.com af3251ade3 renaming nsIDirectoryIterator.idl to nsIDirectoryEnumerator.idl 1999-08-24 20:22:21 +00:00
pavlov%netscape.com 4e458bc8f5 isHidden was returning backwards results 1999-08-24 18:32:06 +00:00
warren%netscape.com 8e8c466e58 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 ecd21a0336 Added -- supercedes nsIBuffer.h 1999-08-24 04:54:56 +00:00
dougt%netscape.com 325e6127c6 a real iid. 1999-08-24 03:59:07 +00:00
dougt%netscape.com 7df36efe6f First cut of an IDL for a replace of the nsDirectoryIterator class. 1999-08-24 00:47:41 +00:00
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