Compare commits

...

8 Commits

Author SHA1 Message Date
martinl%netscape.com
075d0ab2f2 Bugzilla 151594
Search ".so" and ".sl" file names for plugin libraries.
NETSCAPE_6_2_2_BRANCH checkin only.  Original bug fix 106806 is in 1.0 and trunk.
r: jdunn


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_6_2_2_BRANCH@125095 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 18:23:49 +00:00
jdunn%netscape.com
5b44c9999f merging in the 6.2.3 changes into our 622 tree for IPF
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_6_2_2_BRANCH@122069 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 11:12:25 +00:00
jdunn%netscape.com
d8fe11b5a4 updates for IPF.
-only export certain symbols from Components
-use local CopyLowBits routine and not nspr function
# 136163


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_6_2_2_BRANCH@118629 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 17:30:13 +00:00
jdunn%netscape.com
c013520119 adding security coreconf file for ipf (hpux 11.20)
# 136163


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_6_2_2_BRANCH@118501 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:24:00 +00:00
jdunn%netscape.com
2bcc79014c checking nspr files to support ipf on hpux 11.20 for mozilla 622.
These change are already checked into the trunk nspr, I am just
matching the branch with the trunk (note: one diff to add +Olit=all)
# 136163
r=martinl@netscape.com


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_6_2_2_BRANCH@118493 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:45:32 +00:00
jdunn%netscape.com
d2fecb7ea9 remove erroneous printfs that I accidentally checked in
# 136163


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_6_2_2_BRANCH@118491 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:39:17 +00:00
jdunn%netscape.com
08b9ea85cf Checking in changes to get 622 working on IPF
# 136163
r=martinl@netscape.com
a=jdunn@netscape.com


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_6_2_2_BRANCH@118474 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 15:42:13 +00:00
jdunn%netscape.com
e1d2c460d6 Adding ipf xptcall code for HP-UX 11.20 to the 622 Branch
# 126293
a=jdunn\@netscape.com
r=martinl\@netscape.com


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_6_2_2_BRANCH@118472 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 14:13:48 +00:00
37 changed files with 1026 additions and 132 deletions

View File

@@ -183,6 +183,13 @@ interface nsIScriptSecurityManager : nsIXPCSecurityManager
*/
[noscript] nsIPrincipal getObjectPrincipal(in JSContextPtr cx,
in JSObjectPtr obj);
/**
* Returns OK if aJSContext and target have the same "origin"
* (scheme, host, and port).
*/
[noscript] void checkSameOrigin(in JSContextPtr aJSContext,
in nsIURI aTargetURI);
};
%{C++

View File

@@ -126,8 +126,9 @@ private:
const char* aProperty, void** aPolicy);
nsresult
CheckSameOrigin(JSContext* aCx, nsIPrincipal* aSubject,
nsIPrincipal* aObject, PRUint32 aAction);
CheckSameOriginInternal(nsIPrincipal* aSubject,
nsIPrincipal* aObject, PRUint32 aAction,
PRBool checkForPrivileges);
PRInt32
GetSecurityLevel(nsIPrincipal *principal,

View File

@@ -204,6 +204,46 @@ nsScriptSecurityManager::CheckConnect(JSContext* aJSContext,
nsnull, nsnull, aClassName, aPropertyName, nsnull);
}
NS_IMETHODIMP
nsScriptSecurityManager::CheckSameOrigin(JSContext* cx,
nsIURI* aTargetURI)
{
nsresult rv;
// Get a context if necessary
if (!cx)
{
cx = GetCurrentContextQuick();
if (!cx)
return NS_OK; // No JS context, so allow access
}
// Get a principal from the context
nsCOMPtr<nsIPrincipal> sourcePrincipal;
rv = GetSubjectPrincipal(cx, getter_AddRefs(sourcePrincipal));
if (NS_FAILED(rv))
return rv;
PRBool equals;
if (!sourcePrincipal ||
NS_SUCCEEDED(sourcePrincipal->Equals(mSystemPrincipal, &equals))
&& equals)
// We have native code or the system principal, so allow access
return NS_OK;
// Create a principal from the target URI
// XXX factor out the Equals function so this isn't necessary
nsCOMPtr<nsIPrincipal> targetPrincipal;
rv = GetCodebasePrincipal(aTargetURI, getter_AddRefs(targetPrincipal));
if (NS_FAILED(rv))
return rv;
// Compare origins
return CheckSameOriginInternal(sourcePrincipal, targetPrincipal,
0, PR_FALSE /* do not check for privileges */);
}
nsresult
nsScriptSecurityManager::CheckPropertyAccessImpl(PRUint32 aAction,
nsIXPCNativeCallContext* aCallContext,
@@ -316,8 +356,8 @@ nsScriptSecurityManager::CheckPropertyAccessImpl(PRUint32 aAction,
rv = NS_ERROR_DOM_SECURITY_ERR;
break;
}
rv = CheckSameOrigin(aJSContext, subjectPrincipal, objectPrincipal,
aAction == nsIXPCSecurityManager::ACCESS_SET_PROPERTY);
rv = CheckSameOriginInternal(subjectPrincipal, objectPrincipal,
aAction, PR_TRUE /* check for privileges */);
break;
}
@@ -449,8 +489,10 @@ nsScriptSecurityManager::CheckPropertyAccessImpl(PRUint32 aAction,
}
nsresult
nsScriptSecurityManager::CheckSameOrigin(JSContext *aCx, nsIPrincipal* aSubject,
nsIPrincipal* aObject, PRUint32 aAction)
nsScriptSecurityManager::CheckSameOriginInternal(nsIPrincipal* aSubject,
nsIPrincipal* aObject,
PRUint32 aAction,
PRBool checkForPrivileges)
{
/*
** Get origin of subject and object and compare.
@@ -476,19 +518,21 @@ nsScriptSecurityManager::CheckSameOrigin(JSContext *aCx, nsIPrincipal* aSubject,
return NS_OK;
}
/*
** If we failed the origin tests it still might be the case that we
** are a signed script and have permissions to do this operation.
** Check for that here
*/
PRBool capabilityEnabled = PR_FALSE;
const char* cap = aAction == nsIXPCSecurityManager::ACCESS_SET_PROPERTY ?
"UniversalBrowserWrite" : "UniversalBrowserRead";
if (NS_FAILED(IsCapabilityEnabled(cap, &capabilityEnabled)))
return NS_ERROR_FAILURE;
if (capabilityEnabled)
return NS_OK;
if (checkForPrivileges)
{
/*
** If we failed the origin tests it still might be the case that we
** are a signed script and have permissions to do this operation.
** Check for that here
*/
PRBool capabilityEnabled = PR_FALSE;
const char* cap = aAction == nsIXPCSecurityManager::ACCESS_SET_PROPERTY ?
"UniversalBrowserWrite" : "UniversalBrowserRead";
if (NS_FAILED(IsCapabilityEnabled(cap, &capabilityEnabled)))
return NS_ERROR_FAILURE;
if (capabilityEnabled)
return NS_OK;
}
/*
** Access tests failed, so now report error.
*/

View File

@@ -427,6 +427,15 @@ ifeq ($(OS_ARCH),HP-UX)
ifdef IS_COMPONENT
ifeq ($(GNU_CC)$(GNU_CXX),)
EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
ifneq ($(HAS_EXTRAEXPORTS),1)
ifeq ($(OS_TEST),ia64)
MKSHLIB += -Wl,+eNSGetModule -Wl,+eerrno
MKCSHLIB += -Wl,+eNSGetModule -Wl,+eerrno
else
MKSHLIB += -Wl,+eNSGetModule -Wl,+eerrno -Wl,+e_shlInit
MKCSHLIB += -Wl,+eNSGetModule -Wl,+eerrno -Wl,+e_shlInit
endif # ia64
endif # !HAS_EXTRAEXPORTS
endif # non-gnu compilers
endif # IS_COMPONENT
endif # HP-UX

View File

@@ -28,7 +28,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = layout
LIBRARY_NAME = gkconxmldoc_s
REQUIRES = xpcom string js dom widget caps htmlparser necko view docshell webshell uriloader pref xpconnect uconv chardet lwbrk exthandler mimetype
REQUIRES = xpcom string js dom widget caps htmlparser necko view docshell webshell uriloader pref xpconnect uconv chardet lwbrk exthandler mimetype windowwatcher
CPPSRCS = \
nsXMLContentSink.cpp \

View File

@@ -75,6 +75,8 @@
#include "nsContentCID.h"
#include "nsDOMAttribute.h"
#include "nsGUIEvent.h"
#include "nsIWindowWatcher.h"
#include "nsIAuthPrompt.h"
#include "nsCExternalHandlerService.h"
#include "nsIMIMEService.h"
@@ -183,7 +185,7 @@ NS_NewXMLDocument(nsIDocument** aInstancePtrResult)
nsXMLDocument::nsXMLDocument()
: mAttrStyleSheet(nsnull), mInlineStyleSheet(nsnull),
mParser(nsnull)
mParser(nsnull), mCrossSiteAccessEnabled(PR_FALSE)
{
}
@@ -256,35 +258,72 @@ nsXMLDocument::GetContentType(nsAWritableString& aContentType) const
NS_IMETHODIMP
nsXMLDocument::GetInterface(const nsIID& aIID, void** aSink)
{
// Since we implement all the interfaces that you can get with
// GetInterface() we can simply call QueryInterface() here and let
// it do all the work.
if (aIID.Equals(NS_GET_IID(nsIAuthPrompt))) {
NS_ENSURE_ARG_POINTER(aSink);
*aSink = nsnull;
nsresult rv;
nsCOMPtr<nsIWindowWatcher> ww(do_GetService("@mozilla.org/embedcomp/window-watcher;1", &rv));
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsIAuthPrompt> prompt;
rv = ww->GetNewAuthPrompter(nsnull, getter_AddRefs(prompt));
if (NS_FAILED(rv))
return rv;
nsIAuthPrompt *p = prompt.get();
NS_ADDREF(p);
*aSink = p;
return NS_OK;
}
return QueryInterface(aIID, aSink);
}
// nsIHttpEventSink
NS_IMETHODIMP
nsXMLDocument::OnRedirect(nsIHttpChannel *aHttpChannel, nsIChannel *aNewChannel)
{
NS_ENSURE_ARG_POINTER(aNewChannel);
nsresult rv;
nsCOMPtr<nsIScriptSecurityManager> securityManager =
nsCOMPtr<nsIScriptSecurityManager> secMan =
do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID, &rv);
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
nsCOMPtr<nsIURI> newLocation;
nsCOMPtr<nsIURI> newLocation; // The redirected URI
rv = aNewChannel->GetURI(getter_AddRefs(newLocation));
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
if (mScriptContext && !mCrossSiteAccessEnabled) {
nsCOMPtr<nsIJSContextStack> stack(do_GetService("@mozilla.org/js/xpc/ContextStack;1", & rv));
if (NS_FAILED(rv))
return rv;
JSContext *cx = (JSContext *)mScriptContext->GetNativeContext();
if (!cx)
return NS_ERROR_UNEXPECTED;
stack->Push(cx);
rv = secMan->CheckSameOrigin(nsnull, newLocation);
stack->Pop(&cx);
if (NS_FAILED(rv))
return rv;
}
nsCOMPtr<nsIPrincipal> newCodebase;
rv = securityManager->GetCodebasePrincipal(newLocation,
getter_AddRefs(newCodebase));
rv = secMan->GetCodebasePrincipal(newLocation,
getter_AddRefs(newCodebase));
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
@@ -322,6 +361,25 @@ nsXMLDocument::Load(const nsAReadableString& aUrl)
SetBaseURL(uri);
mBaseTarget.Truncate();
// Store script context, if any, in case we encounter redirect (because we need it there)
nsCOMPtr<nsIJSContextStack> stack =
do_GetService("@mozilla.org/js/xpc/ContextStack;1");
if (stack) {
JSContext *cx;
if (NS_SUCCEEDED(stack->Peek(&cx)) && cx) {
nsISupports *priv = (nsISupports *)::JS_GetContextPrivate(cx);
if (priv) {
priv->QueryInterface(NS_GET_IID(nsIScriptContext), getter_AddRefs(mScriptContext));
}
}
}
// Find out if UniversalBrowserRead privileges are enabled - we will need this
// in case of a redirect
rv = secMan->IsCapabilityEnabled("UniversalBrowserRead", &mCrossSiteAccessEnabled);
if (NS_FAILED(rv)) return rv;
// Create a channel
rv = NS_OpenURI(getter_AddRefs(channel), uri, nsnull, nsnull, this);
if (NS_FAILED(rv)) return rv;

View File

@@ -28,6 +28,7 @@
#include "nsIHTMLContentContainer.h"
#include "nsIInterfaceRequestor.h"
#include "nsIHttpEventSink.h"
#include "nsIScriptContext.h"
class nsIParser;
class nsIDOMNode;
@@ -114,6 +115,9 @@ protected:
nsString mBaseTarget;
nsIParser *mParser;
nsCOMPtr<nsIScriptContext> mScriptContext;
PRBool mCrossSiteAccessEnabled;
};

View File

@@ -2078,8 +2078,14 @@ initializeEncoding(XML_Parser parser)
#else
s = protocolEncodingName;
#endif
if ((ns ? XmlInitEncodingNS : XmlInitEncoding)(&initEncoding, &encoding, s))
return XML_ERROR_NONE;
//if ((ns ? XmlInitEncodingNS : XmlInitEncoding)(&initEncoding, &encoding, s))
if (ns) {
if (XmlInitEncodingNS(&initEncoding, &encoding, s))
return XML_ERROR_NONE;
} else {
if (XmlInitEncoding(&initEncoding, &encoding, s))
return XML_ERROR_NONE;
}
return handleUnknownEncoding(parser, protocolEncodingName);
}
@@ -2091,18 +2097,13 @@ processXmlDecl(XML_Parser parser, int isGeneralTextEntity,
const ENCODING *newEncoding = 0;
const char *version;
int standalone = -1;
if (!(ns
? XmlParseXmlDeclNS
: XmlParseXmlDecl)(isGeneralTextEntity,
encoding,
s,
next,
&eventPtr,
&version,
&encodingName,
&newEncoding,
&standalone))
return XML_ERROR_SYNTAX;
if (ns) {
if (!XmlParseXmlDeclNS(isGeneralTextEntity, encoding, s, next, &eventPtr, &version, &encodingName, &newEncoding, &standalone))
return XML_ERROR_SYNTAX;
} else {
if (!XmlParseXmlDecl(isGeneralTextEntity, encoding, s, next, &eventPtr, &version, &encodingName, &newEncoding, &standalone))
return XML_ERROR_SYNTAX;
}
if (!isGeneralTextEntity && standalone == 1) {
dtd.standalone = 1;
#ifdef XML_DTD
@@ -2158,12 +2159,10 @@ handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName)
info.release(info.data);
return XML_ERROR_NO_MEMORY;
}
enc = (ns
? XmlInitUnknownEncodingNS
: XmlInitUnknownEncoding)(unknownEncodingMem,
info.map,
info.convert,
info.data);
if (ns)
enc = XmlInitUnknownEncodingNS(unknownEncodingMem, info.map, info.convert, info.data);
else
enc = XmlInitUnknownEncoding(unknownEncodingMem, info.map, info.convert, info.data);
if (enc) {
unknownEncodingData = info.data;
unknownEncodingRelease = info.release;

View File

@@ -28,7 +28,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = xmlextras
LIBRARY_NAME = xmlextrasbase_s
REQUIRES = xpcom string dom js layout widget caps uconv necko docshell xpconnect webbrwsr
REQUIRES = xpcom string dom js layout widget caps uconv necko docshell xpconnect webbrwsr windowwatcher
CPPSRCS = \
nsDOMSerializer.cpp \

View File

@@ -60,6 +60,8 @@
#include "nsIDOMElement.h"
#include "nsIParser.h"
#include "nsLoadListenerProxy.h"
#include "nsIWindowWatcher.h"
#include "nsIAuthPrompt.h"
static const char* kLoadAsData = "loadAsData";
#define LOADSTR NS_LITERAL_STRING("load")
@@ -117,6 +119,7 @@ nsXMLHttpRequest::nsXMLHttpRequest()
NS_INIT_ISUPPORTS();
ChangeState(XML_HTTP_REQUEST_UNINITIALIZED,PR_FALSE);
mAsync = PR_TRUE;
mCrossSiteAccessEnabled = PR_FALSE;
}
nsXMLHttpRequest::~nsXMLHttpRequest()
@@ -141,6 +144,8 @@ NS_INTERFACE_MAP_BEGIN(nsXMLHttpRequest)
NS_INTERFACE_MAP_ENTRY(nsIDOMEventTarget)
NS_INTERFACE_MAP_ENTRY(nsIRequestObserver)
NS_INTERFACE_MAP_ENTRY(nsIStreamListener)
NS_INTERFACE_MAP_ENTRY(nsIHttpEventSink)
NS_INTERFACE_MAP_ENTRY(nsIInterfaceRequestor)
NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
NS_INTERFACE_MAP_ENTRY_DOM_CLASSINFO(XMLHttpRequest)
NS_INTERFACE_MAP_END
@@ -641,6 +646,12 @@ nsXMLHttpRequest::Open(const char *method, const char *url)
return NS_OK;
}
// Find out if UniversalBrowserRead privileges are enabled
// we will need this in case of a redirect
rv = secMan->IsCapabilityEnabled("UniversalBrowserRead",
&mCrossSiteAccessEnabled);
if (NS_FAILED(rv)) return rv;
if (argc > 2) {
JSBool asyncBool;
JS_ValueToBoolean(cx, argv[2], &asyncBool);
@@ -1113,6 +1124,11 @@ nsXMLHttpRequest::Send(nsISupports *body)
}
#endif
if (!mScriptContext) {
// We need a context to check if redirect (if any) is allowed
GetCurrentContext(getter_AddRefs(mScriptContext));
}
rv = document->StartDocumentLoad(kLoadAsData, mChannel,
nsnull, nsnull,
getter_AddRefs(listener),
@@ -1129,6 +1145,9 @@ nsXMLHttpRequest::Send(nsISupports *body)
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
#endif
// Hook us up to listen to redirects and the like
mChannel->SetNotificationCallbacks(this);
// Start reading from the channel
ChangeState(XML_HTTP_REQUEST_SENT);
mXMLParserStreamListener = listener;
@@ -1332,6 +1351,79 @@ nsXMLHttpRequest::ChangeState(nsXMLHttpRequestState aState, PRBool aBroadcast)
return rv;
}
/////////////////////////////////////////////////////
// nsIHttpEventSink methods:
//
NS_IMETHODIMP
nsXMLHttpRequest::OnRedirect(nsIHttpChannel *aHttpChannel, nsIChannel *aNewChannel)
{
NS_ENSURE_ARG_POINTER(aNewChannel);
if (mScriptContext && !mCrossSiteAccessEnabled) {
nsresult rv = NS_ERROR_FAILURE;
nsCOMPtr<nsIJSContextStack> stack(do_GetService("@mozilla.org/js/xpc/ContextStack;1", & rv));
if (NS_FAILED(rv))
return rv;
JSContext *cx = (JSContext *)mScriptContext->GetNativeContext();
if (!cx)
return NS_ERROR_UNEXPECTED;
nsCOMPtr<nsIScriptSecurityManager> secMan =
do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID, &rv);
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsIURI> newURI;
rv = aNewChannel->GetURI(getter_AddRefs(newURI)); // The redirected URI
if (NS_FAILED(rv))
return rv;
stack->Push(cx);
rv = secMan->CheckSameOrigin(cx, newURI);
stack->Pop(&cx);
if (NS_FAILED(rv))
return rv;
}
mChannel = aNewChannel;
return NS_OK;
}
/////////////////////////////////////////////////////
// nsIInterfaceRequestor methods:
//
NS_IMETHODIMP
nsXMLHttpRequest::GetInterface(const nsIID & aIID, void **aResult)
{
if (aIID.Equals(NS_GET_IID(nsIAuthPrompt))) {
NS_ENSURE_ARG_POINTER(aResult);
*aResult = nsnull;
nsresult rv;
nsCOMPtr<nsIWindowWatcher> ww(do_GetService("@mozilla.org/embedcomp/window-watcher;1", &rv));
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsIAuthPrompt> prompt;
rv = ww->GetNewAuthPrompter(nsnull, getter_AddRefs(prompt));
if (NS_FAILED(rv))
return rv;
nsIAuthPrompt *p = prompt.get();
NS_ADDREF(p);
*aResult = p;
return NS_OK;
}
return QueryInterface(aIID, aResult);
}
NS_IMPL_ISUPPORTS1(nsXMLHttpRequest::nsHeaderVisitor, nsIHttpHeaderVisitor)
NS_IMETHODIMP nsXMLHttpRequest::

View File

@@ -43,6 +43,8 @@
#include "nsISupportsArray.h"
#include "jsapi.h"
#include "nsIScriptContext.h"
#include "nsIHttpEventSink.h"
#include "nsIInterfaceRequestor.h"
enum nsXMLHttpRequestState {
@@ -60,6 +62,8 @@ class nsXMLHttpRequest : public nsIXMLHttpRequest,
public nsIDOMLoadListener,
public nsIDOMEventTarget,
public nsIStreamListener,
public nsIHttpEventSink,
public nsIInterfaceRequestor,
public nsSupportsWeakReference
{
public:
@@ -92,6 +96,12 @@ public:
// nsIRequestObserver
NS_DECL_NSIREQUESTOBSERVER
// nsIHttpEventSink
NS_DECL_NSIHTTPEVENTSINK
// nsIInterfaceRequestor
NS_DECL_NSIINTERFACEREQUESTOR
protected:
nsresult GetStreamForWString(const PRUnichar* aStr,
PRInt32 aLength,
@@ -145,6 +155,7 @@ protected:
PRInt32 mStatus;
PRBool mAsync;
PRBool mCrossSiteAccessEnabled;
};
#endif

View File

@@ -51,7 +51,7 @@ EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
# Reserved name __STDC__ cannot be defined as a macro name on AIX or OpenVMS.
# QNX simply objects to the way it's being redefined.
ifeq (,$(filter AIX OpenVMS QNX,$(OS_ARCH)))
ifeq (,$(filter AIX HP-UX OpenVMS QNX,$(OS_ARCH)))
CFLAGS += -D__STDC__
endif

View File

@@ -103,7 +103,7 @@ CFLAGS += -DUSE_NSREG
# Reserved name __STDC__ cannot be defined as a macro name on AIX or OpenVMS.
# QNX simply objects to the way it's being redefined.
ifeq (,$(filter AIX OpenVMS QNX,$(OS_ARCH)))
ifeq (,$(filter AIX HP-UX OpenVMS QNX,$(OS_ARCH)))
CFLAGS += -D__STDC__
endif

View File

@@ -117,6 +117,7 @@ static void SetMIMETypeSeparator(char *minfo)
#define DEFAULT_X11_PATH "/usr/lib/X11R6/"
#undef LOCAL_PLUGIN_DLL_SUFFIX
#define LOCAL_PLUGIN_DLL_SUFFIX ".sl"
#define LOCAL_PLUGIN_DLL_ALT_SUFFIX ".so"
#elif defined(SOLARIS)
#define DEFAULT_X11_PATH "/usr/openwin/lib/"
#elif defined(LINUX)
@@ -329,6 +330,15 @@ PRBool nsPluginsDir::IsPluginFile(const nsFileSpec& fileSpec)
if (n > 0 && !PL_strcmp(&pathname[n], LOCAL_PLUGIN_DLL_SUFFIX)) {
ret = PR_TRUE; // *.so or *.sl file
}
#ifdef LOCAL_PLUGIN_DLL_ALT_SUFFIX
if (PR_TRUE != ret) {
n = PL_strlen(pathname) - (sizeof(LOCAL_PLUGIN_DLL_ALT_SUFFIX) - 1);
if (n > 0 && !PL_strcmp(&pathname[n], LOCAL_PLUGIN_DLL_ALT_SUFFIX)) {
ret = PR_TRUE;
}
}
#endif
#ifdef NS_DEBUG
printf("IsPluginFile(%s) == %s\n", pathname, ret?"TRUE":"FALSE");
#endif

View File

@@ -28,7 +28,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = necko
LIBRARY_NAME = nkhttp_s
REQUIRES = xpcom string pref nkcache mimetype intl
REQUIRES = xpcom string pref nkcache mimetype intl xpconnect js
CPPSRCS = \
nsHttp.cpp \

View File

@@ -33,6 +33,7 @@
#include "nsIStringBundle.h"
#include "nsISupportsPrimitives.h"
#include "nsIFileStream.h"
#include "nsIScriptSecurityManager.h"
#include "nsMimeTypes.h"
#include "nsNetUtil.h"
#include "nsString2.h"
@@ -1063,6 +1064,15 @@ nsHttpChannel::ProcessRedirection(PRUint32 redirectType)
rv = ioService->NewURI(location, mURI, getter_AddRefs(newURI));
if (NS_FAILED(rv)) return rv;
// verify that this is a legal redirect
nsCOMPtr<nsIScriptSecurityManager> securityManager =
do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID);
if (securityManager) {
rv = securityManager->CheckLoadURI(mURI, newURI,
nsIScriptSecurityManager::DISALLOW_FROM_MAIL);
if (NS_FAILED(rv)) return rv;
}
// move the reference of the old location to the new one if the new
// one has none.
nsCOMPtr<nsIURL> newURL = do_QueryInterface(newURI, &rv);

View File

@@ -3179,7 +3179,9 @@ EOF
DLL_SUFFIX=sl
DSO_LDOPTS='-b +h $(notdir $@)'
PR_MD_CSRCS=hpux.c
PR_MD_ASFILES=os_HPUX.s
if test "$OS_TEST" != "ia64"; then
PR_MD_ASFILES=os_HPUX.s
fi
if test -n "$USE_64"; then
MDCPUCFG_H=_hpux64.cfg
else
@@ -3188,8 +3190,13 @@ EOF
if test -z "$GNU_CC"; then
CC="$CC -Ae"
CXX="$CXX -ext"
CFLAGS="$CFLAGS +ESlit"
CXXFLAGS="$CXXFLAGS +ESlit"
if test "$OS_TEST" != "ia64"; then
CFLAGS="$CFLAGS +ESlit"
CXXFLAGS="$CXXFLAGS +ESlit"
else
CFLAGS="$CFLAGS +Olit=all"
CXXFLAGS="$CXXFLAGS +Olit=all"
fi
DSO_CFLAGS=+Z
else
DSO_CFLAGS=-fPIC
@@ -3233,7 +3240,7 @@ EOF
fi
if echo "$OS_RELEASE" | egrep '^(B.10.30|B.11.00)' >/dev/null; then
if echo "$OS_RELEASE" | egrep '^(B.10.30|B.11.00|B.11.11|B.11.20)' >/dev/null; then
cat >> confdefs.h <<\EOF
#define HAVE_POINTER_LOCALTIME_R 1
EOF
@@ -3292,7 +3299,7 @@ EOF
DEFAULT_IMPL_STRATEGY=_PTH
fi
if test "$OS_RELEASE" = "B.11.00"; then
if echo "$OS_RELEASE" | egrep '^(B.11.00|B.11.11|B.11.20)' >/dev/null; then
cat >> confdefs.h <<\EOF
#define HPUX10 1
EOF
@@ -3315,11 +3322,21 @@ EOF
if test -z "$GNU_CC"; then
if test -z "$USE_64"; then
CFLAGS="$CFLAGS +DAportable +DS2.0"
CXXFLAGS="$CXXFLAGS +DAportable +DS2.0"
else
CFLAGS="$CFLAGS +DA2.0W +DS2.0"
CXXFLAGS="$CXXFLAGS +DA2.0W +DS2.0"
if test "$OS_TEST" = "ia64"; then
CFLAGS="$CFLAGS +DD32"
CXXFLAGS="$CXXFLAGS +DD32"
else
CFLAGS="$CFLAGS +DAportable +DS2.0"
CXXFLAGS="$CXXFLAGS +DAportable +DS2.0"
fi
else
if test "$OS_TEST" = "ia64"; then
CFLAGS="$CFLAGS +DD64"
CXXFLAGS="$CXXFLAGS +DD64"
else
CFLAGS="$CFLAGS +DA2.0W +DS2.0"
CXXFLAGS="$CXXFLAGS +DA2.0W +DS2.0"
fi
fi
fi
DEFAULT_IMPL_STRATEGY=_PTH
@@ -4010,17 +4027,17 @@ EOF
ac_safe=`echo "machine/builtins.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for machine/builtins.h""... $ac_c" 1>&6
echo "configure:4014: checking for machine/builtins.h" >&5
echo "configure:4031: checking for machine/builtins.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 4019 "configure"
#line 4036 "configure"
#include "confdefs.h"
#include <machine/builtins.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:4041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -4567,12 +4584,12 @@ esac
if test -z "$SKIP_LIBRARY_CHECKS"; then
echo $ac_n "checking for dlopen""... $ac_c" 1>&6
echo "configure:4571: checking for dlopen" >&5
echo "configure:4588: checking for dlopen" >&5
if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 4576 "configure"
#line 4593 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dlopen(); below. */
@@ -4595,7 +4612,7 @@ dlopen();
; return 0; }
EOF
if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_dlopen=yes"
else
@@ -4614,7 +4631,7 @@ else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
echo "configure:4618: checking for dlopen in -ldl" >&5
echo "configure:4635: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -4622,7 +4639,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4626 "configure"
#line 4643 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -4633,7 +4650,7 @@ int main() {
dlopen()
; return 0; }
EOF
if { (eval echo configure:4637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -4661,13 +4678,13 @@ fi
if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:4665: checking whether ${CC-cc} needs -traditional" >&5
echo "configure:4682: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_pattern="Autoconf.*'x'"
cat > conftest.$ac_ext <<EOF
#line 4671 "configure"
#line 4688 "configure"
#include "confdefs.h"
#include <sgtty.h>
Autoconf TIOCGETP
@@ -4685,7 +4702,7 @@ rm -f conftest*
if test $ac_cv_prog_gcc_traditional = no; then
cat > conftest.$ac_ext <<EOF
#line 4689 "configure"
#line 4706 "configure"
#include "confdefs.h"
#include <termio.h>
Autoconf TCGETA
@@ -4709,12 +4726,12 @@ fi
for ac_func in lchown strerror
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4713: checking for $ac_func" >&5
echo "configure:4730: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 4718 "configure"
#line 4735 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -4737,7 +4754,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -4775,7 +4792,7 @@ fi
echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
echo "configure:4779: checking for pthread_create in -lpthreads" >&5
echo "configure:4796: checking for pthread_create in -lpthreads" >&5
echo "
#include <pthread.h>
void *foo(void *v) { int a = 1; }
@@ -4797,7 +4814,7 @@ echo "
echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
echo "configure:4801: checking for pthread_create in -lpthread" >&5
echo "configure:4818: checking for pthread_create in -lpthread" >&5
echo "
#include <pthread.h>
void *foo(void *v) { int a = 1; }
@@ -4819,7 +4836,7 @@ echo "
echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
echo "configure:4823: checking for pthread_create in -lc_r" >&5
echo "configure:4840: checking for pthread_create in -lc_r" >&5
echo "
#include <pthread.h>
void *foo(void *v) { int a = 1; }
@@ -4841,7 +4858,7 @@ echo "
echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
echo "configure:4845: checking for pthread_create in -lc" >&5
echo "configure:4862: checking for pthread_create in -lc" >&5
echo "
#include <pthread.h>
void *foo(void *v) { int a = 1; }
@@ -4991,7 +5008,7 @@ if test -n "$USE_PTHREADS"; then
rm -f conftest*
ac_cv_have_dash_pthread=no
echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
echo "configure:4995: checking whether ${CC-cc} accepts -pthread" >&5
echo "configure:5012: checking whether ${CC-cc} accepts -pthread" >&5
echo 'int main() { return 0; }' | cat > conftest.c
${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
if test $? -eq 0; then
@@ -5007,7 +5024,7 @@ echo "configure:4995: checking whether ${CC-cc} accepts -pthread" >&5
ac_cv_have_dash_pthreads=no
if test "$ac_cv_have_dash_pthread" = "no"; then
echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
echo "configure:5011: checking whether ${CC-cc} accepts -pthreads" >&5
echo "configure:5028: checking whether ${CC-cc} accepts -pthreads" >&5
echo 'int main() { return 0; }' | cat > conftest.c
${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
if test $? -eq 0; then

View File

@@ -821,7 +821,9 @@ case "$target" in
DLL_SUFFIX=sl
DSO_LDOPTS='-b +h $(notdir $@)'
PR_MD_CSRCS=hpux.c
PR_MD_ASFILES=os_HPUX.s
if test "$OS_TEST" != "ia64"; then
PR_MD_ASFILES=os_HPUX.s
fi
if test -n "$USE_64"; then
MDCPUCFG_H=_hpux64.cfg
else
@@ -830,8 +832,13 @@ case "$target" in
if test -z "$GNU_CC"; then
CC="$CC -Ae"
CXX="$CXX -ext"
CFLAGS="$CFLAGS +ESlit"
CXXFLAGS="$CXXFLAGS +ESlit"
if test "$OS_TEST" != "ia64"; then
CFLAGS="$CFLAGS +ESlit"
CXXFLAGS="$CXXFLAGS +ESlit"
else
CFLAGS="$CFLAGS +Olit=all"
CXXFLAGS="$CXXFLAGS +Olit=all"
fi
DSO_CFLAGS=+Z
else
DSO_CFLAGS=-fPIC
@@ -860,7 +867,7 @@ case "$target" in
AC_DEFINE(HAVE_INT_LOCALTIME_R)
fi
if echo "$OS_RELEASE" | egrep '^(B.10.30|B.11.00)' >/dev/null; then
if echo "$OS_RELEASE" | egrep '^(B.10.30|B.11.00|B.11.11|B.11.20)' >/dev/null; then
AC_DEFINE(HAVE_POINTER_LOCALTIME_R)
fi
@@ -895,7 +902,7 @@ case "$target" in
DEFAULT_IMPL_STRATEGY=_PTH
fi
if test "$OS_RELEASE" = "B.11.00"; then
if echo "$OS_RELEASE" | egrep '^(B.11.00|B.11.11|B.11.20)' >/dev/null; then
AC_DEFINE(HPUX10)
AC_DEFINE(HPUX11)
AC_DEFINE(_LARGEFILE64_SOURCE)
@@ -903,11 +910,21 @@ case "$target" in
AC_DEFINE(HAVE_FCNTL_FILE_LOCKING)
if test -z "$GNU_CC"; then
if test -z "$USE_64"; then
CFLAGS="$CFLAGS +DAportable +DS2.0"
CXXFLAGS="$CXXFLAGS +DAportable +DS2.0"
else
CFLAGS="$CFLAGS +DA2.0W +DS2.0"
CXXFLAGS="$CXXFLAGS +DA2.0W +DS2.0"
if test "$OS_TEST" = "ia64"; then
CFLAGS="$CFLAGS +DD32"
CXXFLAGS="$CXXFLAGS +DD32"
else
CFLAGS="$CFLAGS +DAportable +DS2.0"
CXXFLAGS="$CXXFLAGS +DAportable +DS2.0"
fi
else
if test "$OS_TEST" = "ia64"; then
CFLAGS="$CFLAGS +DD64"
CXXFLAGS="$CXXFLAGS +DD64"
else
CFLAGS="$CFLAGS +DA2.0W +DS2.0"
CXXFLAGS="$CXXFLAGS +DA2.0W +DS2.0"
fi
fi
fi
DEFAULT_IMPL_STRATEGY=_PTH

View File

@@ -55,7 +55,11 @@
#undef HAVE_WEAK_IO_SYMBOLS
#undef HAVE_WEAK_MALLOC_SYMBOLS
#define HAVE_DLL
#ifdef IS_64
#define USE_DLFCN
#else
#define USE_HPSHL
#endif
#ifndef HAVE_STRERROR
#define HAVE_STRERROR
#endif

View File

@@ -82,8 +82,8 @@
#define PR_ALIGN_OF_SHORT 2
#define PR_ALIGN_OF_INT 4
#define PR_ALIGN_OF_LONG 4
#define PR_ALIGN_OF_INT64 4
#define PR_ALIGN_OF_LONG 8
#define PR_ALIGN_OF_INT64 8
#define PR_ALIGN_OF_FLOAT 4
#define PR_ALIGN_OF_DOUBLE 8
#define PR_ALIGN_OF_POINTER 8

View File

@@ -64,6 +64,18 @@ GetHighResClock(void *buf, size_t maxbytes)
#elif defined(HPUX)
#ifdef __ia64
#include <ia64/sys/inline.h>
static size_t
GetHighResClock(void *buf, size_t maxbytes)
{
PRUint64 t;
t = _Asm_mov_from_ar(_AREG44);
return _pr_CopyLowBits(buf, maxbytes, &t, sizeof(t));
}
#else
static size_t
GetHighResClock(void *buf, size_t maxbytes)
{
@@ -73,6 +85,7 @@ GetHighResClock(void *buf, size_t maxbytes)
cr16val = ret_cr16();
return(_pr_CopyLowBits(buf, maxbytes, &cr16val, sizeof(cr16val)));
}
#endif
#elif defined(OSF1)
@@ -210,7 +223,7 @@ static size_t GetHighResClock(void *buf, size_t maxbuf)
}
iotimer_addr = (unsigned *)
mmap(0, pgoffmask, PROT_READ, MAP_PRIVATE, mfd, (int)raddr);
if (iotimer_addr == (void*)-1) {
if (iotimer_addr == (unsigned*)-1) {
close(mfd);
iotimer_addr = NULL;
return 0;
@@ -278,7 +291,7 @@ GetHighResClock(void *buf, size_t maxbytes)
return 0;
}
#elif defined(SCO) || defined(UNIXWARE) || defined(BSDI) || defined(NTO) \
|| defined(QNX) || defined(RHAPSODY)
|| defined(QNX) || defined(DARWIN)
#include <sys/times.h>
static size_t

View File

@@ -58,7 +58,7 @@
#endif
#if defined(HPUX)
#include <sys/mp.h>
#include <sys/mpctl.h>
#endif
#if defined(XP_UNIX)

View File

@@ -296,7 +296,9 @@ endif
ifeq ($(OS_ARCH), HP-UX)
LDOPTS += -z -Wl,+s,+b,$(ABSOLUTE_LIB_DIR)
ifeq ($(USE_64),1)
LDOPTS += +DA2.0W
LDOPTS += +DD64
endif
ifeq ($(USE_PTHREADS),1)
EXTRA_LIBS = -lpthread
endif
endif

View File

@@ -2078,8 +2078,14 @@ initializeEncoding(XML_Parser parser)
#else
s = protocolEncodingName;
#endif
if ((ns ? XmlInitEncodingNS : XmlInitEncoding)(&initEncoding, &encoding, s))
return XML_ERROR_NONE;
//if ((ns ? XmlInitEncodingNS : XmlInitEncoding)(&initEncoding, &encoding, s))
if (ns) {
if (XmlInitEncodingNS(&initEncoding, &encoding, s))
return XML_ERROR_NONE;
} else {
if (XmlInitEncoding(&initEncoding, &encoding, s))
return XML_ERROR_NONE;
}
return handleUnknownEncoding(parser, protocolEncodingName);
}
@@ -2091,18 +2097,13 @@ processXmlDecl(XML_Parser parser, int isGeneralTextEntity,
const ENCODING *newEncoding = 0;
const char *version;
int standalone = -1;
if (!(ns
? XmlParseXmlDeclNS
: XmlParseXmlDecl)(isGeneralTextEntity,
encoding,
s,
next,
&eventPtr,
&version,
&encodingName,
&newEncoding,
&standalone))
return XML_ERROR_SYNTAX;
if (ns) {
if (!XmlParseXmlDeclNS(isGeneralTextEntity, encoding, s, next, &eventPtr, &version, &encodingName, &newEncoding, &standalone))
return XML_ERROR_SYNTAX;
} else {
if (!XmlParseXmlDecl(isGeneralTextEntity, encoding, s, next, &eventPtr, &version, &encodingName, &newEncoding, &standalone))
return XML_ERROR_SYNTAX;
}
if (!isGeneralTextEntity && standalone == 1) {
dtd.standalone = 1;
#ifdef XML_DTD
@@ -2158,12 +2159,10 @@ handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName)
info.release(info.data);
return XML_ERROR_NO_MEMORY;
}
enc = (ns
? XmlInitUnknownEncodingNS
: XmlInitUnknownEncoding)(unknownEncodingMem,
info.map,
info.convert,
info.data);
if (ns)
enc = XmlInitUnknownEncodingNS(unknownEncodingMem, info.map, info.convert, info.data);
else
enc = XmlInitUnknownEncoding(unknownEncodingMem, info.map, info.convert, info.data);
if (enc) {
unknownEncodingData = info.data;
unknownEncodingRelease = info.release;

View File

@@ -0,0 +1,55 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is the Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2002 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On HP-UX 11.20 the default implementation strategy is
# pthreads. Classic nspr and pthreads-user are also available.
#
ifeq ($(OS_RELEASE),B.11.20)
OS_CFLAGS += -DHPUX10
DEFAULT_IMPL_STRATEGY = _PTH
endif
#
# To use the true pthread (kernel thread) library on 11.20,
# we should define _POSIX_C_SOURCE to be 199506L.
# The _REENTRANT macro is deprecated.
#
ifdef USE_PTHREADS
OS_CFLAGS += -D_POSIX_C_SOURCE=199506L
endif
#
# Config stuff for HP-UXB.11.20.
#
include $(CORE_DEPTH)/coreconf/HP-UXB.11.mk

View File

@@ -40,15 +40,19 @@ endif
ifndef NS_USE_GCC
CCC = /opt/aCC/bin/aCC -ext
ifeq ($(USE_64), 1)
OS_CFLAGS += -Aa +e +DA2.0W +DS2.0 +DChpux
# Next line replaced by generic name handling in arch.mk
# COMPILER_TAG = _64
ifeq ($(OS_TEST), ia64)
OS_CFLAGS += -Aa +e +p +DD32
else
ifdef USE_HYBRID
OS_CFLAGS += -Aa +e +DA2.0 +DS2.0
ifeq ($(USE_64), 1)
OS_CFLAGS += -Aa +e +DA2.0W +DS2.0 +DChpux
# Next line replaced by generic name handling in arch.mk
# COMPILER_TAG = _64
else
OS_CFLAGS += +DAportable +DS2.0
ifdef USE_HYBRID
OS_CFLAGS += -Aa +e +DA2.0 +DS2.0
else
OS_CFLAGS += +DAportable +DS2.0
endif
endif
endif
else

View File

@@ -80,9 +80,11 @@ ifneq (,$(filter SunOS HP-UX,$(OS_ARCH)))
ifneq ($(OS_TEST),i86pc)
ifndef HAVE_64BIT_OS
$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_PURE32_MODULE) $(DIST)/bin
ifneq ($(OS_TEST),ia64)
$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_HYBRID_MODULE) $(DIST)/bin
endif
endif
endif
endif
$(MAKE) -C ssl $@
$(MAKE) -C pki $@

View File

@@ -297,8 +297,10 @@ $(PURE32DIR):
$(LINKEDFILES) : $(PURE32DIR)/% : %
ln -s $(CDDIR)/$* $(PURE32DIR)
ifneq ($(OS_TEST),ia64)
libs::
$(MAKE) FREEBL_RECURSIVE_BUILD=1 USE_HYBRID=1 libs
endif
libs:: $(PURE32DIR) $(LINKEDFILES)
cd $(PURE32DIR) && $(MAKE) FREEBL_RECURSIVE_BUILD=1 USE_PURE_32=1 FREEBL_PARENT=$(CDDIR) CORE_DEPTH=$(CDDIR)/$(CORE_DEPTH) libs

View File

@@ -45,8 +45,10 @@ include manifest.mn
include $(CORE_DEPTH)/coreconf/arch.mk
ifeq ($(OS_ARCH),HP-UX)
ifneq ($(OS_RELEASE),B.11.20)
ASFILES += ret_cr16.s
endif
endif
include $(CORE_DEPTH)/coreconf/config.mk

View File

@@ -181,6 +181,18 @@ GiveSystemInfo(void)
#define getdtablesize() sysconf(_SC_OPEN_MAX)
#if defined(__ia64)
#include <ia64/sys/inline.h>
static size_t
GetHighResClock(void *buf, size_t maxbytes)
{
PRUint64 t;
t = _Asm_mov_from_ar(_AREG44);
return CopyLowBits(buf, maxbytes, &t, sizeof(t));
}
#else
static size_t
GetHighResClock(void *buf, size_t maxbytes)
{
@@ -190,6 +202,7 @@ GetHighResClock(void *buf, size_t maxbytes)
cr16val = ret_cr16();
return CopyLowBits(buf, maxbytes, &cr16val, sizeof(cr16val));
}
#endif
static void
GiveSystemInfo(void)

View File

@@ -1253,6 +1253,7 @@ NS_IMETHODIMP nsDocLoaderImpl::OnRedirect(nsIHttpChannel *aOldChannel, nsIChanne
rv = aNewChannel->GetURI(getter_AddRefs(newURI));
if (NS_FAILED(rv)) return rv;
#ifdef HTTP_DOESNT_CALL_CHECKLOADURI
// verify that this is a legal redirect
nsCOMPtr<nsIScriptSecurityManager> securityManager =
do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID, &rv);
@@ -1260,6 +1261,7 @@ NS_IMETHODIMP nsDocLoaderImpl::OnRedirect(nsIHttpChannel *aOldChannel, nsIChanne
rv = securityManager->CheckLoadURI(oldURI, newURI,
nsIScriptSecurityManager::DISALLOW_FROM_MAIL);
if (NS_FAILED(rv)) return rv;
#endif
nsLoadFlags loadFlags = 0;
PRInt32 stateFlags = nsIWebProgressListener::STATE_REDIRECTING |

View File

@@ -2262,7 +2262,14 @@ NS_IMETHODIMP nsWindow::SetTitle(const nsString& aTitle)
}
// fallback to use bad conversion
#ifndef HPUX
gtk_window_set_title(GTK_WINDOW(mShell), nsAutoCString(aTitle));
#else
//nsAutoCString force conversion from unicode to platform charset might not
//generate legal string in platform charset. Passing such illegal string will
//hang OS. HP_UX in ja_JP.SJIS locale is one instance. (108765)
gtk_window_set_title(GTK_WINDOW(mShell), "");
#endif
return NS_OK;
}

View File

@@ -62,7 +62,7 @@ static const char* GetLinebreakString(nsLinebreakConverter::ELinebreakType aBrea
Wee inline method to append a line break. Modifies ioDest.
----------------------------------------------------------------------------*/
template<class T>
static void AppendLinebreak(T*& ioDest, const char* lineBreakStr)
void AppendLinebreak(T*& ioDest, const char* lineBreakStr)
{
*ioDest++ = *lineBreakStr;
@@ -76,7 +76,7 @@ static void AppendLinebreak(T*& ioDest, const char* lineBreakStr)
Counts occurrences of breakStr in aSrc
----------------------------------------------------------------------------*/
template<class T>
static PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakStr)
PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakStr)
{
const T* src = aSrc;
const T* srcEnd = aSrc + inLen;
@@ -108,7 +108,7 @@ static PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakSt
ioLen *includes* a terminating null, if any
----------------------------------------------------------------------------*/
template<class T>
static T* ConvertBreaks(const T* inSrc, PRInt32& ioLen, const char* srcBreak, const char* destBreak)
T* ConvertBreaks(const T* inSrc, PRInt32& ioLen, const char* srcBreak, const char* destBreak)
{
NS_ASSERTION(inSrc && srcBreak && destBreak, "Got a null string");
@@ -202,7 +202,7 @@ static T* ConvertBreaks(const T* inSrc, PRInt32& ioLen, const char* srcBreak, co
does not change.
----------------------------------------------------------------------------*/
template<class T>
static void ConvertBreaksInSitu(T* inSrc, PRInt32 inLen, char srcBreak, char destBreak)
void ConvertBreaksInSitu(T* inSrc, PRInt32 inLen, char srcBreak, char destBreak)
{
T* src = inSrc;
T* srcEnd = inSrc + inLen;
@@ -225,7 +225,7 @@ static void ConvertBreaksInSitu(T* inSrc, PRInt32 inLen, char srcBreak, char des
This will convert CRLF pairs to one break, and single CR or LF to a break.
----------------------------------------------------------------------------*/
template<class T>
static T* ConvertUnknownBreaks(const T* inSrc, PRInt32& ioLen, const char* destBreak)
T* ConvertUnknownBreaks(const T* inSrc, PRInt32& ioLen, const char* destBreak)
{
const T* src = inSrc;
const T* srcEnd = inSrc + ioLen; // includes null, if any

View File

@@ -38,9 +38,17 @@ print OUTFILE "* 0 is QueryInterface\n";
print OUTFILE "* 1 is AddRef\n";
print OUTFILE "* 2 is Release\n";
print OUTFILE "*/\n";
print OUTFILE "#ifndef __ia64\n";
for($i = 0; $i < $entry_count; $i++) {
print OUTFILE "XPTC_EXPORT NS_IMETHOD Stub",$i+3,"();\n";
}
print OUTFILE "#else\n";
for($i = 0; $i < $entry_count; $i++) {
print OUTFILE "XPTC_EXPORT NS_IMETHOD Stub",$i+3,"(PRUint64,\n";
print OUTFILE " PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);\n";
}
print OUTFILE "#endif\n";
print OUTFILE "\n/* declarations of sentinel stubs */\n";

View File

@@ -8,6 +8,7 @@
* 1 is AddRef
* 2 is Release
*/
#ifndef __ia64
XPTC_EXPORT NS_IMETHOD Stub3();
XPTC_EXPORT NS_IMETHOD Stub4();
XPTC_EXPORT NS_IMETHOD Stub5();
@@ -255,6 +256,502 @@ XPTC_EXPORT NS_IMETHOD Stub246();
XPTC_EXPORT NS_IMETHOD Stub247();
XPTC_EXPORT NS_IMETHOD Stub248();
XPTC_EXPORT NS_IMETHOD Stub249();
#else
XPTC_EXPORT NS_IMETHOD Stub3(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub4(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub5(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub6(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub7(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub8(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub9(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub10(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub11(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub12(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub13(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub14(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub15(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub16(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub17(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub18(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub19(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub20(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub21(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub22(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub23(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub24(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub25(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub26(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub27(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub28(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub29(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub30(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub31(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub32(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub33(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub34(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub35(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub36(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub37(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub38(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub39(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub40(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub41(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub42(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub43(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub44(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub45(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub46(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub47(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub48(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub49(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub50(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub51(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub52(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub53(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub54(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub55(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub56(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub57(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub58(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub59(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub60(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub61(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub62(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub63(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub64(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub65(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub66(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub67(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub68(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub69(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub70(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub71(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub72(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub73(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub74(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub75(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub76(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub77(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub78(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub79(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub80(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub81(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub82(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub83(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub84(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub85(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub86(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub87(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub88(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub89(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub90(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub91(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub92(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub93(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub94(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub95(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub96(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub97(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub98(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub99(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub100(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub101(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub102(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub103(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub104(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub105(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub106(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub107(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub108(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub109(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub110(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub111(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub112(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub113(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub114(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub115(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub116(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub117(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub118(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub119(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub120(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub121(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub122(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub123(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub124(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub125(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub126(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub127(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub128(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub129(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub130(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub131(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub132(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub133(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub134(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub135(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub136(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub137(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub138(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub139(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub140(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub141(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub142(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub143(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub144(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub145(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub146(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub147(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub148(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub149(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub150(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub151(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub152(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub153(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub154(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub155(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub156(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub157(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub158(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub159(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub160(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub161(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub162(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub163(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub164(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub165(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub166(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub167(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub168(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub169(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub170(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub171(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub172(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub173(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub174(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub175(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub176(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub177(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub178(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub179(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub180(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub181(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub182(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub183(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub184(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub185(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub186(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub187(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub188(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub189(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub190(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub191(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub192(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub193(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub194(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub195(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub196(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub197(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub198(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub199(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub200(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub201(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub202(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub203(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub204(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub205(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub206(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub207(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub208(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub209(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub210(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub211(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub212(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub213(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub214(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub215(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub216(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub217(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub218(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub219(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub220(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub221(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub222(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub223(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub224(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub225(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub226(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub227(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub228(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub229(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub230(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub231(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub232(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub233(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub234(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub235(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub236(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub237(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub238(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub239(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub240(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub241(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub242(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub243(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub244(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub245(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub246(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub247(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub248(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
XPTC_EXPORT NS_IMETHOD Stub249(PRUint64,
PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
#endif
/* declarations of sentinel stubs */
XPTC_EXPORT NS_IMETHOD Sentinel0();

View File

@@ -133,8 +133,13 @@ endif
# for gas and gcc, check comment in xptcinvoke_asm_pa32.s
ifeq ($(OS_ARCH),HP-UX)
ifneq ($(CC),gcc)
ifneq ($(OS_TEST),ia64)
CPPSRCS := xptcinvoke_pa32.cpp xptcstubs_pa32.cpp
ASFILES := xptcstubs_asm_pa32.s xptcinvoke_asm_pa32.s
else
CPPSRCS := xptcinvoke_ipf32.cpp xptcstubs_ipf32.cpp
ASFILES := xptcstubs_asm_ipf32.s xptcinvoke_asm_ipf32.s
endif
# #18875 Building the CPP's (CXX) optimized causes a crash
OS_CXXFLAGS := $(filter-out -O, $(OS_CXXFLAGS))