jdunn%netscape.com
12eddcb686
Fix the AIX xptcall work
...
a= chofmann
# 18692
git-svn-id: svn://10.0.0.236/trunk@56046 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 19:01:53 +00:00
sspitzer%netscape.com
d1968e1600
purify related fixes. first, prevent a crash that was prevent me
...
from running purify in nsGenericFactory.cpp. Second, add support
for "mozilla -pure". Only works if you've build mozilla.bin.pure, of course.
git-svn-id: svn://10.0.0.236/trunk@56038 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 06:23:50 +00:00
dougt%netscape.com
3c92ff6d8a
Speeds up the product by removing calls to PR_Sleep() in favor of PR_WaitForEvent().
...
This really rocks. r=valeski, a=jar.
git-svn-id: svn://10.0.0.236/trunk@56034 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 04:49:55 +00:00
valeski%netscape.com
62482783f2
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
...
git-svn-id: svn://10.0.0.236/trunk@55989 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:08:40 +00:00
valeski%netscape.com
77f1824c47
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.
...
git-svn-id: svn://10.0.0.236/trunk@55988 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:06:17 +00:00
briano%netscape.com
80de098422
Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done.
...
git-svn-id: svn://10.0.0.236/trunk@55956 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:56:50 +00:00
dougt%netscape.com
8efe8bcc68
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.
git-svn-id: svn://10.0.0.236/trunk@55941 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 23:05:31 +00:00
mccabe%netscape.com
2db3a56287
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.
git-svn-id: svn://10.0.0.236/trunk@55912 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 05:41:29 +00:00
bienvenu%netscape.com
a6d5ab0a18
fix file truncation on windows, was breaking pop filters, r=dougt, a=chofmann 20634
...
git-svn-id: svn://10.0.0.236/trunk@55871 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 23:33:30 +00:00
warren%netscape.com
e9f618e116
Fix for leak/bloat stats going negative. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@55840 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 04:27:52 +00:00
kin%netscape.com
c5faa05ac6
Fix for bug #21317 : UMR: nsCAutoString::=(nsCAutoString const&)
...
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55821 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:53:52 +00:00
shaver%netscape.com
44195d4a3a
fix leaf of registryName ( #21068 , r=beard, a=leaf)
...
git-svn-id: svn://10.0.0.236/trunk@55777 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 00:01:46 +00:00
sdagley%netscape.com
fafc5636c1
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@55748 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:56:17 +00:00
fur%netscape.com
d500130ed8
Need to reset pointers within segment after realloc, since segment base
...
may have changed.
git-svn-id: svn://10.0.0.236/trunk@55738 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:28:44 +00:00
rginda%netscape.com
1af24d307c
Fix for unix bustage, r=scc@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55737 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:14:33 +00:00
scc%netscape.com
32ad1437d2
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
...
git-svn-id: svn://10.0.0.236/trunk@55732 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:24:14 +00:00
dougt%netscape.com
b80e941838
turning on nsIFile for windows. 13320
...
git-svn-id: svn://10.0.0.236/trunk@55731 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:14:54 +00:00
norris%netscape.com
d630910cd9
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.
git-svn-id: svn://10.0.0.236/trunk@55693 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:53:37 +00:00
dougt%netscape.com
0419f0e310
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.
git-svn-id: svn://10.0.0.236/trunk@55684 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:07:38 +00:00
dp%netscape.com
c1ad24f646
Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55680 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:03:25 +00:00
dp%netscape.com
76ba2b6544
Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55679 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:00:30 +00:00
dp%netscape.com
af2c8ed503
Removing usage of nsComponentManager.h r=selmer
...
git-svn-id: svn://10.0.0.236/trunk@55678 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:59:32 +00:00
dp%netscape.com
542244281b
Removing nsComponentManager.h from export
...
git-svn-id: svn://10.0.0.236/trunk@55677 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:58:30 +00:00
scc%netscape.com
ae0737cdba
Fix specialized |CallQueryInterface| as per review by travis ... r=travis.
...
git-svn-id: svn://10.0.0.236/trunk@55669 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:44:06 +00:00
scc%netscape.com
948cb30176
|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.
...
git-svn-id: svn://10.0.0.236/trunk@55668 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:41:28 +00:00
beard%netscape.com
07d6c2844b
took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906
...
git-svn-id: svn://10.0.0.236/trunk@55661 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:13:13 +00:00
dougt%netscape.com
83e21d3a65
13320 more tweaking to nsIFile windows impl.
...
not part of build yet.
git-svn-id: svn://10.0.0.236/trunk@55643 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:31:25 +00:00
sdagley%netscape.com
27cbf1994b
Part of #17949 . nsLocalFileMac work. Not part of build yet.
...
git-svn-id: svn://10.0.0.236/trunk@55624 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:26:51 +00:00
alecf%netscape.com
5cfe68fe2e
behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
...
review & discussed with brendan, shaver
git-svn-id: svn://10.0.0.236/trunk@55610 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:10:31 +00:00
scc%netscape.com
dba31d43b3
and there's another instance of the build-busting old cast still in the file
...
git-svn-id: svn://10.0.0.236/trunk@55585 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 15:51:21 +00:00
scc%netscape.com
d35ae0e781
Mis-spelled one of two instances of |NS_REINTERPRET_CAST|, in the same line yet. Damn :-(
...
git-svn-id: svn://10.0.0.236/trunk@55583 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 15:26:41 +00:00
scc%netscape.com
5344c3abe4
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).
...
git-svn-id: svn://10.0.0.236/trunk@55582 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:46:35 +00:00
scc%netscape.com
d82bf53dc0
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
...
git-svn-id: svn://10.0.0.236/trunk@55581 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:09:29 +00:00
scc%netscape.com
fd67f20a6a
Make observers support weak references. Bug #18682 ; r=dp.
...
git-svn-id: svn://10.0.0.236/trunk@55580 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:06:36 +00:00
rickg%netscape.com
9568c0a1e2
fixed bug in nsStr::Compare(); r=dveditz (who also found the bug)
...
git-svn-id: svn://10.0.0.236/trunk@55577 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 09:52:43 +00:00
jband%netscape.com
4727d6ae47
fixing the last modified date - not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@55567 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:23:01 +00:00
jband%netscape.com
43f3345a6b
updating xptcall status - not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@55566 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:21:31 +00:00
sfraser%netscape.com
21799bdf04
Make sure that all warnings just printf on Mac, and don't dump you into MacsBug. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@55560 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:21:30 +00:00
jband%netscape.com
1d0d491d3d
adding member initializer to quiet Purify. r=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@55558 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:17:44 +00:00
sdagley%netscape.com
4713b64ef5
nsStorageStream.h is needed by nkcache. Doesn't affect builds
...
git-svn-id: svn://10.0.0.236/trunk@55537 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:04:13 +00:00
waterson%netscape.com
4f7ac1c445
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!)
...
git-svn-id: svn://10.0.0.236/trunk@55508 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:05:54 +00:00
mscott%netscape.com
fd5f7b2e1a
Fix build breakage for Travis.
...
git-svn-id: svn://10.0.0.236/trunk@55487 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 00:15:42 +00:00
fur%netscape.com
997f01f69a
Export nsStorageStream.h
...
git-svn-id: svn://10.0.0.236/trunk@55486 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 00:05:37 +00:00
tbogard%aol.net
489f5b804a
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.
...
git-svn-id: svn://10.0.0.236/trunk@55479 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:34:48 +00:00
waterson%netscape.com
509d1e72ed
Patches from Franz.Sirl-kernel@lauterbach.com. Get xptcall limping along on PPC/Linux.
...
git-svn-id: svn://10.0.0.236/trunk@55394 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 04:48:02 +00:00
erik%netscape.com
61709561e8
Grabbing the next ID. Does not affect build.
...
git-svn-id: svn://10.0.0.236/trunk@55326 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 02:14:46 +00:00
valeski%netscape.com
0d8a2640a3
r=mcafee. 20677 assistance. we now have a scriptable input stream for js
...
git-svn-id: svn://10.0.0.236/trunk@55311 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 20:31:38 +00:00
valeski%netscape.com
48af9701f2
added files: mozilla/xpcom/io/nsIScriptableInputStream.idl
...
git-svn-id: svn://10.0.0.236/trunk@55310 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 20:31:09 +00:00
valeski%netscape.com
968ecae850
added files: mozilla/xpcom/io/nsScriptableInputStream.cpp
...
git-svn-id: svn://10.0.0.236/trunk@55309 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 20:30:13 +00:00
valeski%netscape.com
e875c61670
r=mcafee. 20677 assistance. We now have a scriptable input stream implementation and interface for js. Hurray!
...
git-svn-id: svn://10.0.0.236/trunk@55308 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 20:29:42 +00:00