head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.32 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.30 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.28 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.26 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.24 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.22 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.20 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.18 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.16 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.14 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.12 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.10 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.8 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.6 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.4 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.2 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.2.0.16 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.14 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.12 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.10 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.8 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.6 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.4 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.2 pkgsrc-2004Q3-base:1.2; locks; strict; comment @# @; 1.3 date 2006.09.24.16.46.29; author salo; state dead; branches; next 1.2; 1.2 date 2004.07.07.09.08.31; author aymeric; state Exp; branches; next 1.1; 1.1 date 2004.06.21.14.14.01; author taya; state Exp; branches; next ; desc @@ 1.3 log @Remove Mozilla Suite and friends. No longer maintained upstream, replaced by SeaMonkey. @ text @$NetBSD: patch-bx,v 1.2 2004/07/07 09:08:31 aymeric Exp $ --- xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp.orig 2001-09-28 22:12:53.000000000 +0200 +++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp @@@@ -119,8 +119,10 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, if ((PRUint32) 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; } @@@@ -130,8 +132,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; } @@@@ -195,7 +199,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" \ @@@@ -206,6 +212,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.2 log @. on PowerPC, update files so that Mozilla works properly when compiled with gcc version 3+. . generally reduce diffs to Linux version . retain compatibility with older ABI (AIX-like) thanks to useful comments from Charles Hannum Thanks to Matthew Green for the fruitful discussion. This should address PR#23240 as far as mozilla is concerned. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @ Update mozilla to 1.7 New features and fixes Browser * A new option to prevent sites from using JavaScript to block the browser's context menu. * Password Manager has a "show passwords" mode which will display saved passwords. You will need to enter your master password if you are using one. * The "Set As Wallpaper" feature now has a confirmation dialog. * Linux GTK2 builds have improved support for OS themes. * Cookie dialogs have been reworked to make them more usable. * Date handling, especially on OS X, has been improved. * It is now possible to fine-tune Mozilla's pop-up blocking using two preferences (dom.popup_maximum and dom.popup_allowed_events) but there's no UI for that yet. Even without a UI, users should notice a greater variety of pop-ups blocked (primarily mouseover pop-ups) and a limit of 20 or so open at one time - regardless of whether pop-up blocking is active. This will provide some protection from sites that open hundreds of windows in a loop. * Downloaded files are now moved to the target directory as soon as the user selects the desired location. This was the frequently reported bug 55690. * There is now user interface to activate Smooth Scrolling (Preferences -> Appearance). * Mozilla now supports basic FTP upload. Mail * Many improvements to Palm Sync. * IMAP IDLE support has been added. * Support for "MSN Authentication" and Secure Password * Authentication using SSPI NTLM auth for SMTP and POP3. * A new preference to "always use the default character encoding for replies" rather than using the encoding of the message being replied to. * Improvements to performance of downloading, viewing, and saving mail messages. * Support for multiple identities on the same mail account. See the Multiple Identity Support documentation for more details. * Support for relative paths for mail folders in prefs.js. This makes it easier to copy profiles around without having to fix up prefs.js afterwards. * You can now edit address lists containing "Last, First" style names. * When composing mail, you can now use the up and down arrow keys to scroll through the To/Cc/Bcc list. * All Mozilla LDAP queries now default to using LDAPv3 (previously, they used LDAPv2). Mozilla should gracefully fall back to v2 if v3 isn't found. Chatzilla * Chatzilla now supports zooming of fonts with keyboard shortcuts (Ctrl + and Ctrl -), as well as with the View menu. * Improved date handling; using the date/time format for the locale. * Support for the /ignore command. * The ability to change the font family and size. * Working custom sounds on Windows and Linux. * Improvements to the preferences panel and the user interface for half-op mode. Under the Hood * Size and performance have improved dramatically with this release. When compared to Mozilla 1.6, Mozilla 1.7 is 7% faster at startup, is 8% faster to open a window, has 9% faster page loading, and is 5% smaller in binary size. * A long-standing bug with CSS backgrounds on table elements has been fixed (standards mode only). * Support for Kerberos HTTP authentication using GSSAPI (benefits Unix-like platforms including Linux and OS X). * Support for smb:// URLs using the gnome-vfs library (only enabled in GTK2+XFT Linux builds). * Support for server push of XML documents using multipart/x-mixed-replace and XMLHttpRequest. * Liveconnect now works when a Java applet's codebase is in a different domain. * Support for the CSS3 opacity property. * Mozilla adds support for the onbeforeunload event. This lets web application developers add code that alerts the user about potential data-loss when closing a web application, or when leaving a HTML page with potentially sensitive information. * This release has a new SVG backend. The feature is not yet enabled in the mozilla.org releases but developers may wish to compile with this feature enabled. * Mozilla handles dynamic style changes much better (see bug 15608 for details.) * Mozilla has upgraded the NSS libraries to version 3.9. NSS 3.9 passes all the NISCC SSL/TLS and S/MIME tests (1.6 million test cases of invalid input data) without crashes or memory leaks. @ text @d3 25 a27 4 diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp --- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp 2001-09-29 05:12:53.000000000 +0900 +++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp 2004-06-10 23:12:38.000000000 +0900 @@@@ -195,6 +195,47 @@@@ d31 12 a42 1 +#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */ a57 1 + ".section \".text\" \n\t" \ a80 8 +#else #define STUB_ENTRY(n) \ __asm__ ( \ ".section \".text\" \n\t" \ @@@@ -206,6 +247,7 @@@@ "li 11,"#n" \n\t" \ "b SharedStub@@local \n" \ ); @