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

2893 Коммитов

Автор SHA1 Сообщение Дата
valeski%netscape.com 7eda757e29 21723. a=chofmann, r=warren. earlier this week segment size and max size parameters were exposed to higher level consumers of necko apis. this change warns a user if they try to create a pipe w/ zero len segs and max sizes. pipes are useless without sizes 1999-12-14 22:08:40 +00:00
valeski%netscape.com 2f303433fa 21723. a=chofmann, r=rpotts. Laying ground work for FTP checkin. This fixes an oppressive event queue api method. We weren't returning the event to be processed. subsequently the event was being lost. There are currently *no* users of this method in the tree. 1999-12-14 22:06:17 +00:00
briano%netscape.com 9587f6dc46 Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done. 1999-12-14 00:56:50 +00:00
dougt%netscape.com 0a71a2d506 Added an assert and return so that eventQs only get
processed on the owning thread.  This fixes at least
18005 and 17065.  r=damn@netscape.com, a=chofmann.
1999-12-13 23:05:31 +00:00
mccabe%netscape.com 0666068a75 Fix to 21512.
Added big note saying 'please disable security before trying to run
this' so nobody gets frustrated.

Updated sample component progid reference to actually match the .cpp.
Now the page actually works!  (John Morrison
<3jrgm@qlink.queensu.ca> caught this in mozilla.xpcom)

Thanks to Rick Bradley <roundeye@bellsouth.net> for pointing me to the
problem, and for encouraging me to add a note.

r=mccabe.  Not part of the build.
1999-12-12 05:41:29 +00:00
bienvenu%netscape.com 5b31932b02 fix file truncation on windows, was breaking pop filters, r=dougt, a=chofmann 20634 1999-12-10 23:33:30 +00:00
warren%netscape.com 7d4fa072a5 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
kin%netscape.com 3308275ef6 Fix for bug #21317: UMR: nsCAutoString::=(nsCAutoString const&)
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
1999-12-09 22:53:52 +00:00
shaver%netscape.com a4cd86a287 fix leaf of registryName (#21068, r=beard, a=leaf) 1999-12-09 00:01:46 +00:00
sdagley%netscape.com d17bcebfe3 First Checked In. 1999-12-08 07:56:17 +00:00
fur%netscape.com edbc3a53e1 Need to reset pointers within segment after realloc, since segment base
may have changed.
1999-12-08 06:28:44 +00:00
rginda%netscape.com f5f06fba37 Fix for unix bustage, r=scc@netscape.com 1999-12-08 06:14:33 +00:00
scc%netscape.com 2645d4a68f Changes to make observer lists hold only weak references. This code is disabled by default; enabled by the symbol |NS_WEAK_OBSERVERS|. The code will remain disabled until two underlying ownership bugs are fixed: hanging the wallet service from something permanent, and finding the observer someone is registering through XPConnect that does not support weak references. bug#=18682; r=dp 1999-12-08 05:24:14 +00:00
dougt%netscape.com ac4e013485 turning on nsIFile for windows. 13320 1999-12-08 05:14:54 +00:00
norris%netscape.com af18497222 I ran Purify and found this:
>
> [E] ABR: Array bounds read in
> nsFileSpecHelpers::UnixToNative(nsSimpleCharString&) {48 occurrences}
>     Reading 1 byte from 0x03f00b2c (1 byte at 0x03f00b2c illegal)
>     Address 0x03f00b2c is 1 byte past the end of a 268 byte block at
> 0x03f00a20
>     Address 0x03f00b2c points to a malloc'd block in heap 0x03c30000
>     Thread ID: 0x9c
>     Error location
>         nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:111]
>                     src = (char*)ioPath;
>
>                     // Convert '/' to '\'.
>              =>     while (*++src)
>                     {
>                         if (*src == '/')
>                             *src = '\\';
>         nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
>         nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
>         nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
>         nsChromeRegistry::ConvertChromeURL(nsIURI *)
> [nsChromeRegistry.cpp:527]
>         nsChromeProtocolHandler::NewChannel(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsChromeProtocolHandler.cpp:371]
>         nsIOService::NewChannelFromURI(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsIOService.cpp:250]
>         nsDocumentOpenInfo::Open(nsIURI *,int,char const*,nsISupports *,nsIURI
> *,nsIInputStream *,nsISupports *,nsISupports * *) [nsURILoader.cpp:168]
>         nsURILoader::OpenURIWithPostDataVia(nsIURI *,int,char
> const*,nsISupports *,nsIURI *,nsIInputStream *,nsISupports *,nsISupports *
> *,UINT) [nsURILoader.cpp:418]
>     Allocation location
>         malloc         [dbgheap.c:129]
>         PR_Malloc      [prmem.c:38]
>         nsSimpleCharString::ReallocData(UINT) [nsFileSpec.cpp:248]
>         nsSimpleCharString::CopyFrom(char const*,UINT) [nsFileSpec.cpp:167]
>         nsSimpleCharString::nsSimpleCharString(char const*)
> [nsFileSpec.cpp:60]
>         nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:104]
>         nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
>         nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
>         nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
>
> which is fixed by this patch.
1999-12-08 02:53:37 +00:00
dougt%netscape.com 8b94c587f9 removing MoveToFollowingLinks(). It was discussed that was not needed due
to links being broken. r=shaver

more tweeks to get symlinks working correct on windows.

not part of the build yet.
1999-12-08 02:07:38 +00:00
dp%netscape.com 924289af27 Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com 1999-12-08 02:03:25 +00:00
dp%netscape.com 5e69c59d46 Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com 1999-12-08 02:00:30 +00:00
dp%netscape.com e2bc0e3623 Removing usage of nsComponentManager.h r=selmer 1999-12-08 01:59:32 +00:00
dp%netscape.com 3ec8ca8250 Removing nsComponentManager.h from export 1999-12-08 01:58:30 +00:00
scc%netscape.com 964ca8227e Fix specialized |CallQueryInterface| as per review by travis ... r=travis. 1999-12-08 01:44:06 +00:00
scc%netscape.com 9c8ee3253d |NS_REINTERPRET_CAST| might try to adjust pointers on machines where it turns into an old-style cast. Fix that by first casting to |void*|. r=alecf. 1999-12-08 01:41:28 +00:00
beard%netscape.com ddd1c99054 took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906 1999-12-08 00:13:13 +00:00
dougt%netscape.com e966a61f6c 13320 more tweaking to nsIFile windows impl.
not part of build yet.
1999-12-07 23:31:25 +00:00
sdagley%netscape.com 548e71bc93 Part of #17949. nsLocalFileMac work. Not part of build yet. 1999-12-07 22:26:51 +00:00
alecf%netscape.com 99960a45d7 behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
review & discussed with brendan, shaver
1999-12-07 22:10:31 +00:00
scc%netscape.com 5418875579 and there's another instance of the build-busting old cast still in the file 1999-12-07 15:51:21 +00:00
scc%netscape.com 6241344e4a Mis-spelled one of two instances of |NS_REINTERPRET_CAST|, in the same line yet. Damn :-( 1999-12-07 15:26:41 +00:00
scc%netscape.com a97b180b50 Attempting to fix build bustage. Looks like a compiler bug (since |TestObserver| isn't a base class of |nsISupports| in any way, at least the error message has got to be wrong). 1999-12-07 14:46:35 +00:00
scc%netscape.com 8c4ec2ebea Adding an alternate version of |CallQueryInterface| as an experiment on behalf of travis. This function is not yet called, and should not effect the build or the runtime. r=hyatt 1999-12-07 14:09:29 +00:00
scc%netscape.com db5cd594e2 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
rickg%netscape.com a3187e2ff2 fixed bug in nsStr::Compare(); r=dveditz (who also found the bug) 1999-12-07 09:52:43 +00:00
jband%netscape.com 1194158582 fixing the last modified date - not part of the build 1999-12-07 08:23:01 +00:00
jband%netscape.com 381a2e39c4 updating xptcall status - not part of the build 1999-12-07 08:21:31 +00:00
sfraser%netscape.com ef6b5d0398 Make sure that all warnings just printf on Mac, and don't dump you into MacsBug. r=pinkerton 1999-12-07 07:21:30 +00:00
jband%netscape.com 2eaaa4083b adding member initializer to quiet Purify. r=waterson. 1999-12-07 07:17:44 +00:00
sdagley%netscape.com 7441795597 nsStorageStream.h is needed by nkcache. Doesn't affect builds 1999-12-07 06:04:13 +00:00
waterson%netscape.com 4a77047af4 Pretty up Franz Sirl's code; fix STUB_ENTRY() macro to use r12 as the register in which the method index is passed; r4 is used for passing the first parameter! r=beard@netscape.com (actually, most of the work was beard!) 1999-12-07 02:05:54 +00:00
mscott%netscape.com 2266405677 Fix build breakage for Travis. 1999-12-07 00:15:42 +00:00
fur%netscape.com 8913af32b1 Export nsStorageStream.h 1999-12-07 00:05:37 +00:00
tbogard%aol.net 2bc8f99632 Changed the way Assertion works. Get ready to remove all the old assertions methods. NS_ASSERTION now works the same way it used with the exception that on Windows it will put up and abort, retry, ignore box if you aren't in the debugger. r=warren. 1999-12-06 23:34:48 +00:00
waterson%netscape.com 6c4c4c53a4 Patches from Franz.Sirl-kernel@lauterbach.com. Get xptcall limping along on PPC/Linux. 1999-12-06 04:48:02 +00:00
erik%netscape.com b1ccfbf911 Grabbing the next ID. Does not affect build. 1999-12-05 02:14:46 +00:00
valeski%netscape.com 8b33681727 r=mcafee. 20677 assistance. we now have a scriptable input stream for js 1999-12-04 20:31:38 +00:00
valeski%netscape.com 71d2a8ae7d added files: mozilla/xpcom/io/nsIScriptableInputStream.idl 1999-12-04 20:31:09 +00:00
valeski%netscape.com 430c1d6979 added files: mozilla/xpcom/io/nsScriptableInputStream.cpp 1999-12-04 20:30:13 +00:00
valeski%netscape.com 8895af0d3c r=mcafee. 20677 assistance. We now have a scriptable input stream implementation and interface for js. Hurray! 1999-12-04 20:29:42 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
vidur%netscape.com e840dded03 Added nsIJSEventListener and nsICSSLoaderObserver 1999-12-04 01:30:27 +00:00
dougt%netscape.com 0594eec67d adding some error codes which I will need. 1999-12-04 01:18:48 +00:00