diff options
author | taya <taya@pkgsrc.org> | 2002-02-09 03:54:47 +0000 |
---|---|---|
committer | taya <taya@pkgsrc.org> | 2002-02-09 03:54:47 +0000 |
commit | 37f7e0ea8ab1fe86b6763eef5b37c7c8c8a74f1b (patch) | |
tree | debbeb3d0c173249dde74e59516f5e2d515da479 /www/mozilla/patches | |
parent | a0b3198d5eb2aacea4860f4633d2342b9e0636ef (diff) | |
download | pkgsrc-37f7e0ea8ab1fe86b6763eef5b37c7c8c8a74f1b.tar.gz |
Update mozilla to 0.9.8
See the release notes for detail.
http://www.mozilla.org/releases/mozilla0.9.8/
Diffstat (limited to 'www/mozilla/patches')
-rw-r--r-- | www/mozilla/patches/patch-aw | 4 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ax | 343 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ay | 64 | ||||
-rw-r--r-- | www/mozilla/patches/patch-az | 4 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ba | 4 | ||||
-rw-r--r-- | www/mozilla/patches/patch-bb | 4 | ||||
-rw-r--r-- | www/mozilla/patches/patch-bc | 6 | ||||
-rw-r--r-- | www/mozilla/patches/patch-be | 8 | ||||
-rw-r--r-- | www/mozilla/patches/patch-bf | 7 | ||||
-rw-r--r-- | www/mozilla/patches/patch-bg | 23 |
10 files changed, 333 insertions, 134 deletions
diff --git a/www/mozilla/patches/patch-aw b/www/mozilla/patches/patch-aw index a41172872db..6fc44f5d772 100644 --- a/www/mozilla/patches/patch-aw +++ b/www/mozilla/patches/patch-aw @@ -1,8 +1,8 @@ -$NetBSD: patch-aw,v 1.7 2001/12/27 15:02:40 taya Exp $ +$NetBSD: patch-aw,v 1.8 2002/02/09 03:54:48 taya Exp $ diff -ru ../Orig/mozilla/widget/src/gtksuperwin/Makefile.in ./widget/src/gtksuperwin/Makefile.in --- ../Orig/mozilla/widget/src/gtksuperwin/Makefile.in Sat Oct 27 14:49:19 2001 -+++ ./widget/src/gtksuperwin/Makefile.in Sat Dec 22 13:02:34 2001 ++++ ./widget/src/gtksuperwin/Makefile.in Thu Feb 7 00:40:45 2002 @@ -25,6 +25,7 @@ MODULE = widget LIBRARY_NAME = gtksuperwin diff --git a/www/mozilla/patches/patch-ax b/www/mozilla/patches/patch-ax index 5bf0d63e092..4a52a9dbf34 100644 --- a/www/mozilla/patches/patch-ax +++ b/www/mozilla/patches/patch-ax @@ -1,33 +1,101 @@ -$NetBSD: patch-ax,v 1.6 2001/12/27 15:02:41 taya Exp $ +$NetBSD: patch-ax,v 1.7 2002/02/09 03:54:48 taya Exp $ diff -ru ../Orig/mozilla/netwerk/base/src/nsSocketTransport.cpp ./netwerk/base/src/nsSocketTransport.cpp ---- ../Orig/mozilla/netwerk/base/src/nsSocketTransport.cpp Tue Dec 4 11:47:19 2001 -+++ ./netwerk/base/src/nsSocketTransport.cpp Sat Dec 22 13:02:36 2001 -@@ -186,8 +186,7 @@ - // - // Set up Internet defaults... +--- ../Orig/mozilla/netwerk/base/src/nsSocketTransport.cpp Tue Jan 22 11:20:13 2002 ++++ ./netwerk/base/src/nsSocketTransport.cpp Sat Feb 9 09:22:49 2002 +@@ -143,6 +143,7 @@ + mHostName(nsnull), + mPort(-1), + mMonitor(nsnull), ++ mNetAddress(nsnull), + mOperation(eSocketOperation_None), + mProxyPort(-1), + mProxyHost(nsnull), +@@ -183,12 +184,6 @@ + SetWriteType(eSocketWrite_None); + // +- // Set up Internet defaults... +- // - memset(&mNetAddress, 0, sizeof(mNetAddress)); - PR_SetNetAddr(PR_IpAddrAny, PR_AF_INET6, 0, &mNetAddress); -+ mNetAddressList = nsnull; - - // +- +- // // Initialize the global connect timeout value if necessary... -@@ -236,6 +235,13 @@ - nsAutoMonitor::DestroyMonitor(mMonitor); - mMonitor = nsnull; - } + // + if (PR_INTERVAL_NO_WAIT == gConnectTimeout) +@@ -415,6 +410,14 @@ + + while (!done) { + // ++ // Check for failure on any socket requests ++ // ++ if (mReadRequest && mReadRequest->HasFailed()) ++ mReadRequest->GetStatus(&mStatus); ++ else if (mWriteRequest && mWriteRequest->HasFailed()) ++ mWriteRequest->GetStatus(&mStatus); + -+ nsNetAddrList *p, *next; -+ for (p = mNetAddressList; p; ){ -+ next = p->next; -+ delete p; -+ p = next; -+ } - } ++ // + // If an error has occurred then move into the error state... + // + if (NS_FAILED(mStatus) && (NS_BASE_STREAM_WOULD_BLOCK != mStatus)) +@@ -495,17 +498,40 @@ + // Send status message + // only send a status if doResolveHost is going to do some + // resolution +- if (mStatus != NS_OK) ++ if (mStatus == NS_BASE_STREAM_WOULD_BLOCK) + OnStatus_Locked(NS_NET_STATUS_RESOLVING_HOST); + break; + + case eSocketState_WaitConnect: + LOG(("nsSocketTransport: Transport [host=%s:%d this=%x] is in WaitConnect state.\n", + mHostName, mPort, this)); +- mStatus = doConnection(aSelectFlags); + + // Send status message + OnStatus_Locked(NS_NET_STATUS_CONNECTING_TO); ++ ++ mStatus = doConnection(aSelectFlags); ++ ++ // on connection failure, reuse next address if one exists ++ if (mStatus == NS_ERROR_CONNECTION_REFUSED) { ++ mNetAddress = mNetAddrList.GetNext(mNetAddress); ++ if (mNetAddress) { ++#if defined(PR_LOGGING) ++ char buf[50]; ++ PR_NetAddrToString(mNetAddress, buf, sizeof(buf)); ++ LOG(("connection failed... trying %s\n", buf)); ++#endif ++ PR_Close(mSocketFD); ++ mSocketFD = nsnull; ++ ++ // mask error status so we'll return to this state ++ mStatus = NS_OK; ++ ++ // need to re-enter Process() asynchronously ++ mService->AddToWorkQ(this); ++ done = PR_TRUE; ++ continue; ++ } ++ } + break; + case eSocketState_WaitReadWrite: +@@ -633,21 +659,19 @@ -@@ -640,15 +646,7 @@ + NS_ASSERTION(eSocketState_WaitDNS == mCurrentState, "Wrong state."); + +- LOG(("nsSocketTransport: Entering doResolveHost() [host=%s:%d this=%x].\n", ++ LOG(("nsSocketTransport: Entering doResolveHost() [host=%s:%d %x].\n", + mHostName, mPort, this)); + ++ // ++ // The hostname is being resolved... ++ // ++ if (mDNSRequest) ++ return NS_BASE_STREAM_WOULD_BLOCK; ++ // // The hostname has not been resolved yet... // @@ -40,116 +108,146 @@ diff -ru ../Orig/mozilla/netwerk/base/src/nsSocketTransport.cpp ./netwerk/base/s - // - mNetAddress.ipv6.port = PR_htons(((mProxyPort != -1 && !mProxyTransparent) ? mProxyPort : mPort)); - -+ if (mNetAddressList == nsnull) { ++ if (mNetAddress == nsnull) { PR_ExitMonitor(mMonitor); nsIDNSService* pDNSService = mService->GetCachedDNSService(); -@@ -673,7 +671,7 @@ +@@ -659,9 +683,7 @@ + // Give up the SocketTransport lock. This allows the DNS thread to call the + // nsIDNSListener notifications without blocking... + // +- rv = pDNSService->Lookup((mProxyHost && !mProxyTransparent) ? mProxyHost : mHostName, +- this, +- nsnull, ++ rv = pDNSService->Lookup(GetSocketHost(), this, nsnull, + getter_AddRefs(mDNSRequest)); + // + // Aquire the SocketTransport lock again... +@@ -672,7 +694,7 @@ // // The DNS lookup has finished... It has either failed or succeeded. // - if (NS_FAILED(mStatus) || !PR_IsNetAddrType(&mNetAddress, PR_IpAddrAny)) { -+ if (NS_FAILED(mStatus) || mNetAddressList) { ++ if (NS_FAILED(mStatus) || mNetAddress) { mDNSRequest = 0; rv = mStatus; } -@@ -833,7 +831,8 @@ +@@ -687,10 +709,8 @@ + } + } + +- LOG(("nsSocketTransport: Leaving doResolveHost() [%s:%d %x].\t" +- "rv = %x.\n\n", ++ LOG(("nsSocketTransport: Leaving doResolveHost() [%s:%d %x] rv = %x\n", + mHostName, mPort, this, rv)); +- + return rv; + } + +@@ -832,7 +852,7 @@ // This is only done the first time doConnection(...) is called. // if (NS_SUCCEEDED(rv)) { - status = PR_Connect(mSocketFD, &mNetAddress, gConnectTimeout); -+try_again: -+ status = PR_Connect(mSocketFD, &(mNetAddressList->addr), gConnectTimeout); ++ status = PR_Connect(mSocketFD, mNetAddress, gConnectTimeout); if (PR_SUCCESS != status) { PRErrorCode code = PR_GetError(); // -@@ -858,6 +857,12 @@ - // - else { - // Connection refused... -+ nsNetAddrList *p = mNetAddressList; -+ mNetAddressList = mNetAddressList->next; -+ delete p; -+ if (mNetAddressList){ -+ goto try_again; -+ } - LOG(("nsSocketTransport: Connection Refused [%s:%d %x]. PRErrorCode = %x\n", - mHostName, mPort, this, code)); - rv = NS_ERROR_CONNECTION_REFUSED; -@@ -871,11 +876,23 @@ - // - else if (aSelectFlags) { - if (PR_POLL_EXCEPT & aSelectFlags) { -+ nsNetAddrList *p = mNetAddressList; -+ mNetAddressList = mNetAddressList->next; -+ delete p; -+ if (mNetAddressList){ -+ goto try_again; -+ } - LOG(("nsSocketTransport: Connection Refused via PR_POLL_EXCEPT. [%s:%d %x].\n", - mHostName, mPort, this)); - rv = NS_ERROR_CONNECTION_REFUSED; - } - else if (PR_POLL_HUP & aSelectFlags) { -+ nsNetAddrList *p = mNetAddressList; -+ mNetAddressList = mNetAddressList->next; -+ delete p; -+ if (mNetAddressList){ -+ goto try_again; -+ } - LOG(("nsSocketTransport: Connection Refused via PR_POLL_HUP. [%s:%d %x].\n", - mHostName, mPort, this)); - rv = NS_ERROR_CONNECTION_REFUSED; -@@ -918,7 +935,7 @@ +@@ -932,14 +952,17 @@ // // The hostname has not been resolved yet... // - if (PR_IsNetAddrType(&mNetAddress, PR_IpAddrAny)) { -+ if (mNetAddressList == nsnull) { ++ if (mNetAddress == nsnull) { nsIDNSService* pDNSService = mService->GetCachedDNSService(); if (!pDNSService) { return NS_ERROR_UNEXPECTED; -@@ -939,16 +956,18 @@ + } + + nsXPIDLCString result; +- const char *host = (mProxyHost && !mProxyTransparent) ? mProxyHost : mHostName; ++ const char *host = GetSocketHost(); ++ ++ // XXX DNS service does not provide a synchronous resolver that returns ++ // the entire nsHostEnt struct. + rv = pDNSService->Resolve(host, getter_Copies(result)); + if (NS_FAILED(rv)) return rv; + +@@ -953,16 +976,18 @@ return NS_ERROR_FAILURE; } -+ mNetAddressList = new nsNetAddrList; -+ mNetAddressList->next = nsnull; ++ mNetAddrList.Init(1); ++ mNetAddress = mNetAddrList.GetNext(nsnull); ++ ++ PR_SetNetAddr(PR_IpAddrAny, PR_AF_INET6, GetSocketPort(), mNetAddress); ++ if (addr.raw.family == PR_AF_INET) - PR_ConvertIPv4AddrToIPv6(addr.inet.ip, &mNetAddress.ipv6.ip); -+ PR_ConvertIPv4AddrToIPv6(addr.inet.ip, &(mNetAddressList->addr.ipv6.ip)); ++ PR_ConvertIPv4AddrToIPv6(addr.inet.ip, &mNetAddress->ipv6.ip); else - memcpy(&mNetAddress.ipv6.ip, &addr.ipv6.ip, sizeof(mNetAddress.ipv6.ip)); -+ memcpy(&(mNetAddressList->addr.ipv6.ip), &addr.ipv6.ip, sizeof(mNetAddressList->addr.ipv6.ip)); - +- - mNetAddress.ipv6.port -+ mNetAddressList->addr.ipv6.port - = PR_htons(((mProxyPort != -1 && !mProxyTransparent) ? mProxyPort : mPort)); +- = PR_htons(((mProxyPort != -1 && !mProxyTransparent) ? mProxyPort : mPort)); ++ memcpy(&mNetAddress->ipv6.ip, &addr.ipv6.ip, sizeof(mNetAddress->ipv6.ip)); LOG(("address { family=%hu, port=%hu }\n", - mNetAddress.ipv6.family, PR_ntohs(mNetAddress.ipv6.port))); -+ mNetAddressList->addr.ipv6.family, PR_ntohs(mNetAddressList->addr.ipv6.port))); ++ mNetAddress->ipv6.family, PR_ntohs(mNetAddress->ipv6.port))); } // -@@ -1470,21 +1489,27 @@ - // Enter the socket transport lock... +@@ -1036,7 +1061,6 @@ + if (mReadRequest) { + if (mReadRequest->IsCanceled() || (mBytesExpected == 0)) { + LOG(("nsSocketTransport: [this=%x] completing read request due to cancelation\n", this)); +- mSelectFlags &= ~PR_POLL_READ; + mReadRequest->GetStatus(&readStatus); + CompleteAsyncRead(); + if (NS_FAILED(readStatus)) +@@ -1078,7 +1102,6 @@ + if (mWriteRequest) { + if (mWriteRequest->IsCanceled()) { + LOG(("nsSocketTransport: [this=%x] completing write request due to cancelation\n", this)); +- mSelectFlags &= ~PR_POLL_WRITE; + mWriteRequest->GetStatus(&writeStatus); + CompleteAsyncWrite(); + if (NS_FAILED(writeStatus)) +@@ -1485,23 +1508,44 @@ nsAutoMonitor mon(mMonitor); nsresult rv = NS_OK; -+ char **p; -+ nsNetAddrList **addrp = &mNetAddressList; - if (aHostEnt->hostEnt.h_addr_list && aHostEnt->hostEnt.h_addr_list[0]) { +- if (aHostEnt->hostEnt.h_addr_list && aHostEnt->hostEnt.h_addr_list[0]) { - if (aHostEnt->hostEnt.h_addrtype == PR_AF_INET6) - memcpy(&mNetAddress.ipv6.ip, aHostEnt->hostEnt.h_addr_list[0], sizeof(mNetAddress.ipv6.ip)); - else - PR_ConvertIPv4AddrToIPv6(*(PRUint32*)aHostEnt->hostEnt.h_addr_list[0], &mNetAddress.ipv6.ip); -+ for (p = aHostEnt->hostEnt.h_addr_list; *p; p++){ -+ *addrp = new nsNetAddrList; -+ (*addrp)->next = nsnull; -+ (*addrp)->addr.ipv6.port = PR_htons(((mProxyPort != -1 && !mProxyTransparent) ? mProxyPort : mPort)); -+ (*addrp)->addr.raw.family = PR_AF_INET6; -+ memcpy(&((*addrp)->addr.ipv6.ip), *p, sizeof((*addrp)->addr.ipv6.ip)); ++ char **addrList = aHostEnt->hostEnt.h_addr_list; ++ ++ if (addrList && addrList[0]) { ++ PRUint32 len = 0; ++ ++ LOG(("nsSocketTransport::OnFound [%s:%d %x] lookup succeeded [FQDN=%s]\n", ++ mHostName, mPort, this, aHostEnt->hostEnt.h_name)); ++ ++ // determine the number of address in the list ++ for (; *addrList; ++addrList) ++ ++len; ++ addrList -= len; ++ ++ // allocate space for the addresses ++ mNetAddrList.Init(len); ++ ++ // populate the address list ++ PRNetAddr *addr = nsnull; ++ while ((addr = mNetAddrList.GetNext(addr)) != nsnull) { ++ PR_SetNetAddr(PR_IpAddrAny, PR_AF_INET6, GetSocketPort(), addr); ++ if (aHostEnt->hostEnt.h_addrtype == PR_AF_INET6) ++ memcpy(&addr->ipv6.ip, *addrList, sizeof(addr->ipv6.ip)); ++ else ++ PR_ConvertIPv4AddrToIPv6(*(PRUint32 *)(*addrList), &addr->ipv6.ip); ++ ++addrList; #if defined(PR_LOGGING) - char addrbuf[50]; - PR_NetAddrToString(&mNetAddress, addrbuf, sizeof(addrbuf)); @@ -158,34 +256,77 @@ diff -ru ../Orig/mozilla/netwerk/base/src/nsSocketTransport.cpp ./netwerk/base/s - mHostName, mPort, this, - aHostEnt->hostEnt.h_name, - addrbuf)); -+ char addrbuf[50]; -+ PR_NetAddrToString(&((*addrp)->addr), addrbuf, sizeof(addrbuf)); -+ LOG(("nsSocketTransport: OnFound(...) [%s:%d %x]." -+ " DNS lookup succeeded => %s (%s)\n", -+ mHostName, mPort, this, -+ aHostEnt->hostEnt.h_name, -+ addrbuf)); ++ char buf[50]; ++ PR_NetAddrToString(addr, buf, sizeof(buf)); ++ LOG((" => %s\n", buf)); #endif -+ addrp = &((*addrp)->next); +- } else { +- // XXX: What should happen here? The GetHostByName(...) succeeded but +- // there are *no* A records... + } - } else { - // XXX: What should happen here? The GetHostByName(...) succeeded but - // there are *no* A records... -@@ -1517,7 +1542,7 @@ ++ ++ // start with first address in list ++ mNetAddress = mNetAddrList.GetNext(nsnull); ++ } ++ else { ++ // XXX: What should happen here? The DNS lookup succeeded, but there ++ // are no address records... + rv = NS_ERROR_FAILURE; + + LOG(("nsSocketTransport: OnFound(...) [%s:%d %x]." +@@ -1531,7 +1575,7 @@ // If the lookup failed, set the status... if (NS_FAILED(aStatus)) mStatus = aStatus; - else if (PR_IsNetAddrType(&mNetAddress, PR_IpAddrAny)) -+ else if (mNetAddressList == nsnull) ++ else if (mNetAddress == nsnull) mStatus = NS_ERROR_ABORT; // Start processing the transport again - if necessary... -@@ -1838,7 +1863,7 @@ +@@ -1852,7 +1896,7 @@ *_retval = (char*)nsMemory::Alloc(aLen); if (!*_retval) return NS_ERROR_FAILURE; - PRStatus status = PR_NetAddrToString(&mNetAddress, *_retval, aLen); -+ PRStatus status = PR_NetAddrToString(&mNetAddressList->addr, *_retval, aLen); ++ PRStatus status = PR_NetAddrToString(mNetAddress, *_retval, aLen); if (PR_FAILURE == status) { nsMemory::Free(*_retval); +@@ -1968,6 +2012,37 @@ + + if (--mSocketRef == 0) + CloseConnection(); ++} ++ ++// ++//---------------------------------------------------------------------------- ++// nsSocketTransport::nsNetAddrList ++//---------------------------------------------------------------------------- ++// ++ ++nsresult nsSocketTransport:: ++nsNetAddrList::Init(PRUint32 len) ++{ ++ NS_ASSERTION(!mList, "already initialized"); ++ mList = new PRNetAddr[len]; ++ if (!mList) ++ return NS_ERROR_OUT_OF_MEMORY; ++ mLen = len; ++ return NS_OK; ++} ++ ++PRNetAddr *nsSocketTransport:: ++nsNetAddrList::GetNext(PRNetAddr *addr) ++{ ++ if (!addr) ++ return mList; ++ ++ PRUint32 offset = addr - mList; ++ NS_ASSERTION(offset < mLen, "invalid address"); ++ if (offset + 1 < mLen) ++ return addr + 1; ++ ++ return nsnull; + } + + // diff --git a/www/mozilla/patches/patch-ay b/www/mozilla/patches/patch-ay index fb8fa2fb93a..e872d38acce 100644 --- a/www/mozilla/patches/patch-ay +++ b/www/mozilla/patches/patch-ay @@ -1,26 +1,60 @@ -$NetBSD: patch-ay,v 1.6 2001/12/27 15:02:41 taya Exp $ +$NetBSD: patch-ay,v 1.7 2002/02/09 03:54:48 taya Exp $ diff -ru ../Orig/mozilla/netwerk/base/src/nsSocketTransport.h ./netwerk/base/src/nsSocketTransport.h --- ../Orig/mozilla/netwerk/base/src/nsSocketTransport.h Wed Nov 28 09:42:57 2001 -+++ ./netwerk/base/src/nsSocketTransport.h Sat Dec 22 13:02:38 2001 -@@ -123,6 +123,11 @@ - eSocketDNS_Wait = 0x2020 - }; - -+struct nsNetAddrList { -+ PRNetAddr addr; -+ struct nsNetAddrList *next; -+}; ++++ ./netwerk/base/src/nsSocketTransport.h Sat Feb 9 09:22:49 2002 +@@ -176,7 +176,7 @@ + PRFileDesc* GetSocket(void) { return mSocketFD; } + PRInt16 GetSelectFlags(void) { return mSelectFlags; } + PRCList* GetListNode(void) { return &mListLink; } +- ++ + static nsSocketTransport* GetInstance(PRCList* qp) { return (nsSocketTransport*)((char*)qp - offsetof(nsSocketTransport, mListLink)); } + + PRBool CanBeReused() { return +@@ -237,8 +237,27 @@ + inline void ClearFlag(nsSocketReadWriteInfo aFlag) { + mReadWriteState &= ~aFlag; + } ++ ++ PRInt32 GetSocketPort(void) { return (mProxyPort != -1 && !mProxyTransparent) ? mProxyPort : mPort; } ++ const char *GetSocketHost(void) { return (mProxyHost && !mProxyTransparent) ? mProxyHost : mHostName; } + + protected: ++ class nsNetAddrList { ++ public: ++ nsNetAddrList() : mList(nsnull), mLen(0) {} ++ ~nsNetAddrList() { delete[] mList; } + - // - // This is the default timeout value (in milliseconds) for sockets which have - // no activity... -@@ -249,7 +254,7 @@ ++ // allocate space for the address list ++ nsresult Init(PRUint32 len); ++ ++ // given a net addr in the list, return the next addr. ++ // if given NULL, then return the first addr in the list. ++ // returns NULL if given addr is the last addr. ++ PRNetAddr *GetNext(PRNetAddr *currentAddr); ++ private: ++ PRNetAddr *mList; ++ PRUint32 mLen; ++ }; + + nsSocketState mCurrentState; + nsCOMPtr<nsIRequest> mDNSRequest; +@@ -249,7 +268,8 @@ PRIntervalTime mLastActiveTime; PRCList mListLink; PRMonitor* mMonitor; - PRNetAddr mNetAddress; -+ nsNetAddrList *mNetAddressList; ++ nsNetAddrList mNetAddrList; ++ PRNetAddr *mNetAddress; nsSocketOperation mOperation; nsCOMPtr<nsISupports> mSecurityInfo; +@@ -415,6 +435,7 @@ + PRBool IsInitialized() { return mStartFired; } + PRBool IsSuspended() { return mSuspendCount > 0; } + PRBool IsCanceled() { return mCanceled; } ++ PRBool HasFailed() { return NS_FAILED(mStatus); } + + void SetTransport(nsSocketTransport *); + void SetObserver(nsIRequestObserver *obs) { mObserver = obs; } diff --git a/www/mozilla/patches/patch-az b/www/mozilla/patches/patch-az index 2c7794d3afa..06312ec6668 100644 --- a/www/mozilla/patches/patch-az +++ b/www/mozilla/patches/patch-az @@ -1,8 +1,8 @@ -$NetBSD: patch-az,v 1.5 2001/12/27 15:02:41 taya Exp $ +$NetBSD: patch-az,v 1.6 2002/02/09 03:54:48 taya Exp $ diff -ru ../Orig/mozilla/directory/c-sdk/ldap/include/portable.h ./directory/c-sdk/ldap/include/portable.h --- ../Orig/mozilla/directory/c-sdk/ldap/include/portable.h Sat Oct 27 05:47:18 2001 -+++ ./directory/c-sdk/ldap/include/portable.h Sat Dec 22 13:02:39 2001 ++++ ./directory/c-sdk/ldap/include/portable.h Thu Feb 7 00:40:48 2002 @@ -98,7 +98,7 @@ * some systems don't have the BSD re_comp and re_exec routines */ diff --git a/www/mozilla/patches/patch-ba b/www/mozilla/patches/patch-ba index b859652acbb..af4951991e9 100644 --- a/www/mozilla/patches/patch-ba +++ b/www/mozilla/patches/patch-ba @@ -1,8 +1,8 @@ -$NetBSD: patch-ba,v 1.4 2001/12/27 15:02:42 taya Exp $ +$NetBSD: patch-ba,v 1.5 2002/02/09 03:54:48 taya Exp $ diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.cfg ./nsprpub/pr/include/md/_netbsd.cfg --- ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.cfg Sat Dec 2 06:29:17 2000 -+++ ./nsprpub/pr/include/md/_netbsd.cfg Sat Dec 22 13:02:41 2001 ++++ ./nsprpub/pr/include/md/_netbsd.cfg Thu Feb 7 00:40:50 2002 @@ -91,6 +91,52 @@ #define PR_ALIGN_OF_DOUBLE 4 #define PR_ALIGN_OF_POINTER 4 diff --git a/www/mozilla/patches/patch-bb b/www/mozilla/patches/patch-bb index 4c60c0cd49c..f8a7e68eed4 100644 --- a/www/mozilla/patches/patch-bb +++ b/www/mozilla/patches/patch-bb @@ -1,8 +1,8 @@ -$NetBSD: patch-bb,v 1.4 2001/12/27 15:02:42 taya Exp $ +$NetBSD: patch-bb,v 1.5 2002/02/09 03:54:48 taya Exp $ diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h ./nsprpub/pr/include/md/_netbsd.h --- ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h Fri Dec 29 02:04:04 2000 -+++ ./nsprpub/pr/include/md/_netbsd.h Sat Dec 22 13:02:42 2001 ++++ ./nsprpub/pr/include/md/_netbsd.h Thu Feb 7 00:40:55 2002 @@ -48,6 +48,8 @@ #define _PR_SI_ARCHITECTURE "m68k" #elif defined(__powerpc__) diff --git a/www/mozilla/patches/patch-bc b/www/mozilla/patches/patch-bc index 664fd51dbaf..9bdce5de1bb 100644 --- a/www/mozilla/patches/patch-bc +++ b/www/mozilla/patches/patch-bc @@ -1,8 +1,8 @@ -$NetBSD: patch-bc,v 1.4 2001/12/27 15:02:43 taya Exp $ +$NetBSD: patch-bc,v 1.5 2002/02/09 03:54:48 taya Exp $ diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in ./xpcom/reflect/xptcall/src/md/unix/Makefile.in ---- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in Thu Dec 6 19:51:45 2001 -+++ ./xpcom/reflect/xptcall/src/md/unix/Makefile.in Sat Dec 22 13:02:44 2001 +--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in Tue Jan 8 14:46:51 2002 ++++ ./xpcom/reflect/xptcall/src/md/unix/Makefile.in Thu Feb 7 00:40:56 2002 @@ -249,6 +249,13 @@ CPPSRCS := xptcinvoke_sparc_netbsd.cpp xptcstubs_sparc_netbsd.cpp ASFILES := xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s diff --git a/www/mozilla/patches/patch-be b/www/mozilla/patches/patch-be index 5db7f72549b..a7f045e0cb2 100644 --- a/www/mozilla/patches/patch-be +++ b/www/mozilla/patches/patch-be @@ -1,9 +1,9 @@ -$NetBSD: patch-be,v 1.3 2001/12/27 15:02:43 taya Exp $ +$NetBSD: patch-be,v 1.4 2002/02/09 03:54:48 taya Exp $ diff -ru ../Orig/mozilla/nsprpub/pr/src/io/prsocket.c ./nsprpub/pr/src/io/prsocket.c ---- ../Orig/mozilla/nsprpub/pr/src/io/prsocket.c Sat Jun 9 04:54:54 2001 -+++ ./nsprpub/pr/src/io/prsocket.c Sat Dec 22 13:02:46 2001 -@@ -1300,6 +1300,15 @@ +--- ../Orig/mozilla/nsprpub/pr/src/io/prsocket.c Tue Jan 29 06:36:09 2002 ++++ ./nsprpub/pr/src/io/prsocket.c Thu Feb 7 00:40:59 2002 +@@ -1299,6 +1299,15 @@ if (osfd == -1) { return 0; } diff --git a/www/mozilla/patches/patch-bf b/www/mozilla/patches/patch-bf index f0ba6478d9c..814914260d8 100644 --- a/www/mozilla/patches/patch-bf +++ b/www/mozilla/patches/patch-bf @@ -1,7 +1,8 @@ -$NetBSD: patch-bf,v 1.1 2001/12/22 06:08:54 lukem Exp $ +$NetBSD: patch-bf,v 1.2 2002/02/09 03:54:48 taya Exp $ ---- ../Orig/mozilla/xpfe/browser/resources/locale/en-US/navigator.dtd Fri Dec 21 13:32:16 2001 -+++ xpfe/browser/resources/locale/en-US/navigator.dtd Fri Dec 21 13:32:37 2001 +diff -ru ../Orig/mozilla/xpfe/browser/resources/locale/en-US/navigator.dtd ./xpfe/browser/resources/locale/en-US/navigator.dtd +--- ../Orig/mozilla/xpfe/browser/resources/locale/en-US/navigator.dtd Wed Jan 9 09:01:17 2002 ++++ ./xpfe/browser/resources/locale/en-US/navigator.dtd Thu Feb 7 00:41:06 2002 @@ -4,9 +4,9 @@ <!-- LOCALIZATION NOTE : FILE Do not translate accesskey and commandkey --> diff --git a/www/mozilla/patches/patch-bg b/www/mozilla/patches/patch-bg new file mode 100644 index 00000000000..ddc5a307c53 --- /dev/null +++ b/www/mozilla/patches/patch-bg @@ -0,0 +1,23 @@ +$NetBSD: patch-bg,v 1.1 2002/02/09 03:54:48 taya Exp $ + +diff -ru ../Orig/mozilla/xpcom/threads/TimerThread.cpp ./xpcom/threads/TimerThread.cpp +--- ../Orig/mozilla/xpcom/threads/TimerThread.cpp Tue Jan 15 10:20:45 2002 ++++ ./xpcom/threads/TimerThread.cpp Thu Feb 7 00:43:28 2002 +@@ -54,7 +54,7 @@ + TimerThread::TimerThread() : + mCondVar(nsnull), + mLock(nsnull), +- mProcessing(PR_FALSE), ++ mProcessing(PR_TRUE), + mWaiting(PR_FALSE) + { + NS_INIT_REFCNT(); +@@ -127,8 +127,6 @@ + /* void Run(); */ + NS_IMETHODIMP TimerThread::Run() + { +- mProcessing = PR_TRUE; +- + while (mProcessing) { + nsTimerImpl *theTimer = nsnull; + |