head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.2 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.4.0.2 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.3.0.2 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.2.0.2 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.1.1.1.0.24 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.22 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.20 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.18 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.16 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.14 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.12 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.10 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.8 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.6 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.4 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.2 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2013.05.23.12.55.27; author ryoon; state dead; branches; next 1.4; commitid hOYA93csj3ibSKQw; 1.4 date 2013.01.10.15.01.31; author ryoon; state Exp; branches; next 1.3; 1.3 date 2012.11.21.15.26.50; author ryoon; state Exp; branches; next 1.2; 1.2 date 2012.08.28.23.27.10; author ryoon; state Exp; branches; next 1.1; 1.1 date 2009.08.05.02.59.49; author tnn; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.08.05.02.59.49; author tnn; state Exp; branches; next ; desc @@ 1.5 log @Remove xulrunner. This does not work, and there is no consumer. @ text @$NetBSD: patch-xj,v 1.4 2013/01/10 15:01:31 ryoon Exp $ NetBSD ppc xptcall support code. Originally from pkgsrc/www/mozilla. --- xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp.orig 2013-01-04 23:44:47.000000000 +0000 +++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp @@@@ -6,6 +6,7 @@@@ // Implement shared vtbl methods. #include "xptcprivate.h" +#include "xptiprivate.h" // The Linux/PPC ABI (aka PPC/SYSV ABI) passes the first 8 integral // parameters and the first 8 floating point parameters in registers @@@@ -36,7 +37,6 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, { nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT]; nsXPTCMiniVariant* dispatchParams = NULL; - nsIInterfaceInfo* iface_info = NULL; const nsXPTMethodInfo* info; uint32_t paramCount; uint32_t i; @@@@ -44,11 +44,7 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, NS_ASSERTION(self,"no self"); - self->GetInterfaceInfo(&iface_info); - NS_ASSERTION(iface_info,"no interface info"); - if (! iface_info) - return NS_ERROR_UNEXPECTED; - + self->mEntry->GetMethodInfo(PRUint16(methodIndex), &info); iface_info->GetMethodInfo(uint16_t(methodIndex), &info); NS_ASSERTION(info,"no method info"); if (! info) @@@@ -84,8 +80,10 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, if ((uint32_t) ap & 4) ap++; // doubles are 8-byte aligned on stack dp->val.d = *(double*) ap; ap += 2; +#if __GXX_ABI_VERSION < 100 if (gpr < GPR_COUNT) gpr += 2; +#endif } continue; } @@@@ -95,8 +93,10 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, else { dp->val.f = *(float*) ap; ap += 1; +#if __GXX_ABI_VERSION < 100 if (gpr < GPR_COUNT) gpr += 1; +#endif } continue; } @@@@ -144,9 +144,9 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, } } - result = self->CallMethod((uint16_t) methodIndex, info, dispatchParams); - - NS_RELEASE(iface_info); + result = self->mOuter->CallMethod((PRUint16) methodIndex, + info, + dispatchParams); if (dispatchParams != paramBuffer) delete [] dispatchParams; @@@@ -160,7 +160,9 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, // however, it's quick, dirty, and'll break when the ABI changes on // us, which is what we want ;-). -#define STUB_ENTRY(n) \ +#if __GXX_ABI_VERSION < 100 +// gcc-2 version +# define STUB_ENTRY(n) \ __asm__ ( \ ".section \".text\" \n\t" \ ".align 2 \n\t" \ @@@@ -171,6 +173,46 @@@@ __asm__ ( "li 11,"#n" \n\t" \ "b SharedStub@@local \n" \ ); +#else +// gcc-3 version +// +// As G++3 ABI contains the length of the functionname in the mangled +// name, it is difficult to get a generic assembler mechanism like +// in the G++ 2.95 case. +// Create names would be like: +// _ZN14nsXPTCStubBase5Stub1Ev +// _ZN14nsXPTCStubBase6Stub12Ev +// _ZN14nsXPTCStubBase7Stub123Ev +// _ZN14nsXPTCStubBase8Stub1234Ev +// etc. +// Use assembler directives to get the names right... + +# define STUB_ENTRY(n) \ +__asm__ ( \ + ".align 2 \n\t" \ + ".if "#n" < 10 \n\t" \ + ".globl _ZN14nsXPTCStubBase5Stub"#n"Ev \n\t" \ + ".type _ZN14nsXPTCStubBase5Stub"#n"Ev,@@function \n\n" \ +"_ZN14nsXPTCStubBase5Stub"#n"Ev: \n\t" \ + \ + ".elseif "#n" < 100 \n\t" \ + ".globl _ZN14nsXPTCStubBase6Stub"#n"Ev \n\t" \ + ".type _ZN14nsXPTCStubBase6Stub"#n"Ev,@@function \n\n" \ +"_ZN14nsXPTCStubBase6Stub"#n"Ev: \n\t" \ + \ + ".elseif "#n" < 1000 \n\t" \ + ".globl _ZN14nsXPTCStubBase7Stub"#n"Ev \n\t" \ + ".type _ZN14nsXPTCStubBase7Stub"#n"Ev,@@function \n\n" \ +"_ZN14nsXPTCStubBase7Stub"#n"Ev: \n\t" \ + \ + ".else \n\t" \ + ".err \"stub number "#n" >= 1000 not yet supported\"\n" \ + ".endif \n\t" \ + \ + "li 11,"#n" \n\t" \ + "b SharedStub@@local \n" \ +); +#endif #define SENTINEL_ENTRY(n) \ nsresult nsXPTCStubBase::Sentinel##n() \ @ 1.4 log @Update to 18.0 * Many patches are included into upstream distribution. I have tested on NetBSD/amd64 6.99.16, I will test on other platforms later. Changelog: from http://www.mozilla.org/en-US/firefox/18.0/releasenotes/ NEW Faster JavaScript performance via IonMonkey compiler NEW Support for Retina Display on OS X 10.7 and up NEW Preliminary support for WebRTC CHANGED Experience better image quality with our new HTML scaling algorithm CHANGED Performance improvements around tab switching DEVELOPER Support for new DOM property window.devicePixelRatio DEVELOPER Improvement in startup time through smart handling of signed extension certificates HTML5 Support for W3C touch events implemented, taking the place of MozTouch events FIXED Disable insecure content loading on HTTPS pages (62178) FIXED Improved responsiveness for users on proxies (769764) @ text @d1 1 a1 1 $NetBSD: patch-xj,v 1.3 2012/11/21 15:26:50 ryoon Exp $ @ 1.3 log @Update to 17.0 * Add --enable-pulseaudio configure option (functionality is not tested) Changelog: NEW First revision of the Social API and support for Facebook Messenger NEW Click-to-play blocklisting implemented to prevent vulnerable plugin versions from running without the user's permission (see blog post) CHANGED Updated Awesome Bar experience with larger icons CHANGED Mac OS X 10.5 is no longer supported DEVELOPER JavaScript Maps and Sets are now iterable DEVELOPER SVG FillPaint and StrokePaint implemented DEVELOPER Improvements that make the Web Console, Debugger and Developer Toolbar faster and easier to use DEVELOPER New Markup panel in the Page Inspector allows easy editing of the DOM HTML5 Sandbox attribute for iframes implemented, enabling increased security FIXED Over twenty performance improvements, including fixes around the New Tab page FIXED Pointer lock doesn't work in web apps (769150) FIXED Page scrolling on sites with fixed headers (780345) @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp.orig 2012-11-19 17:35:17.000000000 +0000 @ 1.2 log @Bump PKGREVISION * Switch to newer patches, trillian.chruetertee.ch/freebsd-gecko/browser/branches/experimental/www/firefox/files/patch-bug753046 * Regen patches @ text @d1 1 a1 1 $NetBSD: patch-xj,v 1.1.1.1 2009/08/05 02:59:49 tnn Exp $ d5 1 a5 1 --- xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp.orig 2012-08-24 22:56:10.000000000 +0000 d21 3 a23 3 PRUint32 paramCount; PRUint32 i; @@@@ -44,12 +44,7 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, a31 1 - iface_info->GetMethodInfo(PRUint16(methodIndex), &info); d33 1 d36 2 a37 3 return NS_ERROR_UNEXPECTED; @@@@ -84,8 +79,10 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, if ((PRUint32) ap & 4) ap++; // doubles are 8-byte aligned on stack d47 1 a47 1 @@@@ -95,8 +92,10 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, d58 1 a58 1 @@@@ -144,9 +143,9 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, d62 1 a62 1 - result = self->CallMethod((PRUint16) methodIndex, info, dispatchParams); d66 2 a67 2 + info, + dispatchParams); d71 1 a71 1 @@@@ -160,7 +159,9 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, d82 1 a82 1 @@@@ -171,6 +172,46 @@@@ __asm__ ( @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp.orig 2009-06-29 18:15:33.000000000 +0200 d7 1 a7 1 @@@@ -41,6 +41,7 @@@@ d15 1 a15 1 @@@@ -71,7 +72,6 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, d23 1 a23 1 @@@@ -79,12 +79,7 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, d37 1 a37 1 @@@@ -119,8 +114,10 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, d48 1 a48 1 @@@@ -130,8 +127,10 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, d59 1 a59 1 @@@@ -179,9 +178,9 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, d72 1 a72 1 @@@@ -195,7 +194,9 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, d83 1 a83 1 @@@@ -206,6 +207,46 @@@@ __asm__ ( @ 1.1.1.1 log @Import xulrunner-1.9.1 as devel/xulrunner. XULRunner is a runtime environment for applications using the XML User Interface Language, XUL. It is the successor of the "Gecko" runtime environment. @ text @@