head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.10 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.8 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.6 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.4 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.2 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q2:1.8.0.22 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.20 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.18 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.16 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.14 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.12 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.10 pkgsrc-2008Q1:1.8.0.8 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.6 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.4 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.2 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.7.0.12 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.10 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.8 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.6 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.4 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3; locks; strict; comment @# @; 1.9 date 2009.08.05.01.27.32; author tnn; state dead; branches; next 1.8; 1.8 date 2007.05.12.13.53.09; author ghen; state Exp; branches; next 1.7; 1.7 date 2005.12.10.13.47.22; author taya; state Exp; branches; next 1.6; 1.6 date 2005.10.12.16.39.25; author joerg; state Exp; branches; next 1.5; 1.5 date 2005.09.22.14.14.04; author jlam; state Exp; branches; next 1.4; 1.4 date 2005.06.22.22.05.34; author martin; state Exp; branches; next 1.3; 1.3 date 2005.06.20.06.51.34; author kristerw; state dead; branches; next 1.2; 1.2 date 2005.06.16.21.39.06; author martin; state Exp; branches; next 1.1; 1.1 date 2005.06.02.12.37.33; author martin; state Exp; branches; next ; desc @@ 1.9 log @Remove firefox 2.x. Firefox 3.5 branch will be imported in this location. (I opted for removing and re-importing instead of a plain update due to extensive patch rototil) We may encounter minor turbulence as dependent packages are sorted out. Thank you for flying pkgsrc-current. @ text @$NetBSD: patch-cg,v 1.8 2007/05/12 13:53:09 ghen Exp $ diff -ruN ../Orig/mozilla/extensions/transformiix/source/base/Double.cpp ./extensions/transformiix/source/base/Double.cpp --- ../Orig/mozilla/extensions/transformiix/source/base/Double.cpp 2004-06-17 09:12:42.000000000 +0900 +++ ./extensions/transformiix/source/base/Double.cpp 2005-12-04 19:39:05.000000000 +0900 @@@@ -49,8 +49,40 @@@@ * Utility class for doubles */ +#if defined(INFINITY) && defined(NAN) +double Double::NaN() +{ + return NAN; +} + +double Double::PositiveInfinity() +{ + return INFINITY; +} + +double Double::NegativeInfinity() +{ + return -INFINITY; +} + +MBool Double::isInfinite(double aDbl) +{ + return isinf(aDbl); +} + +MBool Double::isNaN(double aDbl) +{ + return isnan(aDbl); +} + +MBool Double::isNeg(double aDbl) +{ + return aDbl<0.0; +} +#else /* pre INFINITY C environment */ + //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) #include #ifdef __alpha__ fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP; @@@@ -128,9 +160,20 @@@@ const PRUint32 negInfMask[2] = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT}; #endif -const double Double::NaN = *((double*)nanMask); -const double Double::POSITIVE_INFINITY = *((double*)infMask); -const double Double::NEGATIVE_INFINITY = *((double*)negInfMask); +double Double::NaN() +{ + return *((double*)nanMask); +} + +double Double::PositiveInfinity() +{ + return *((double*)infMask); +} + +double Double::NegativeInfinity() +{ + return *((double*)negInfMask); +} /* * Determines whether the given double represents positive or negative @@@@ -158,6 +201,7 @@@@ { return (TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_SIGNBIT) != 0; } +#endif /* C environment has INFINITY and NAN */ /* * Converts the given String to a double, if the String value does not @@@@ -245,7 +289,7 @@@@ { if (mState == eIllegal || mBuffer.IsEmpty() || (mBuffer.Length() == 1 && mBuffer[0] == '.')) { - return Double::NaN; + return Double::NaN(); } return mSign*PR_strtod(mBuffer.get(), 0); } @ 1.8 log @Update to Firefox 2.0.0.3 (nb1), from www/firefox2* (see there for history and change notes). Firefox 1.5.0.x will be maintained in www/firefox15*, as discussed on tech-pkg. @ text @d1 1 a1 1 $NetBSD: patch-cg,v 1.1.1.1 2006/10/24 22:20:11 ghen Exp $ @ 1.7 log @ Update firefox & firefox-gtk1 to 1.5 Including fix for long title & history file problem. http://www.mozilla.org/security/history-title.html https://bugzilla.mozilla.org/show_bug.cgi?id=319004 What's New in Firefox 1.5 Firefox 1.5 is the next version of our award-winning Web browser. Here's what's new in Firefox 1.5: * Automated update to streamline product upgrades. Notification of an update is more prominent, and updates to Firefox may now be half a megabyte or smaller. Updating extensions has also improved. * Faster browser navigation with improvements to back and forward button performance. * Drag and drop reordering for browser tabs. * Improvements to popup blocking. * Clear Private Data feature provides an easy way to quickly remove personal data through a menu item or keyboard shortcut. * Answers.com is added to the search engine list. * Improvements to product usability including descriptive error pages, redesigned options menu, RSS discovery, and "Safe Mode" experience. * Better accessibility including support for DHTML accessibility and assistive technologies such as the Window-Eyes 5.5 beta screen reader for Microsoft Windows. Screen readers read aloud all available information in applications and documents or show the information on a Braille display, enabling blind and visually impaired users to use equivalent software functionality as their sighted peers. * Report a broken Web site wizard to report Web sites that are not working in Firefox. * Better support for Mac OS X (10.2 and greater) including profile migration from Safari and Mac Internet Explorer. * New support for Web Standards including SVG, CSS 2 and CSS 3, and JavaScript 1.6. * Many security enhancements. The Burning Edge has more detailed lists of new features and notable bug fixes. http://www.squarefree.com/burningedge/releases/1.5-comprehensive.html @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Add DragonFly support for Firefox 1.0.7. @ text @d1 1 a1 1 $NetBSD: patch-cg,v 1.5 2005/09/22 14:14:04 jlam Exp $ d3 4 a6 3 --- extensions/transformiix/source/base/Double.cpp.orig 2004-01-15 21:23:18.000000000 +0000 +++ extensions/transformiix/source/base/Double.cpp @@@@ -48,8 +48,40 @@@@ d48 1 a48 1 @@@@ -127,9 +159,20 @@@@ const PRUint32 infMask[2] = {0, TX_DO d72 1 a72 1 @@@@ -157,6 +200,7 @@@@ MBool Double::isNeg(double aDbl) d80 1 a80 1 @@@@ -244,7 +288,7 @@@@ public: @ 1.5 log @Update www/firefox and www/firefox-gtk1 to version 1.0.7. Changes from version 1.0.6 include: * Fix for a potential buffer overflow vulnerability when loading a hostname with all soft-hyphens * Fix to prevent URLs passed from external programs from being parsed by the shell (Linux only) * Fix to prevent a crash when loading a Proxy Auto-Config (PAC) script that uses an "eval" statement * Fix to restore InstallTrigger.getVersion() for Extension authors * Other stability and security fixes Approved by taya. @ text @d1 1 a1 1 $NetBSD: patch-cg,v 1.4 2005/06/22 22:05:34 martin Exp $ d5 1 a5 1 @@@@ -48,6 +48,38 @@@@ d42 2 a43 1 #ifdef __FreeBSD__ d45 2 @ 1.4 log @Re-instantiate the NAN/INFINITY fixes, this time in a way that works on older C environments as well. @ text @d1 1 a1 1 $NetBSD: patch-cg,v 1.1 2005/06/16 21:38:09 martin Exp $ d3 2 a4 2 --- extensions/transformiix/source/base/Double.cpp.orig 2004-01-15 22:23:18.000000000 +0100 +++ extensions/transformiix/source/base/Double.cpp 2005-06-20 11:26:26.000000000 +0200 d44 1 a44 1 @@@@ -127,9 +159,20 @@@@ d68 1 a68 1 @@@@ -157,6 +200,7 @@@@ d76 1 a76 1 @@@@ -244,7 +288,7 @@@@ a84 1 @ 1.3 log @Back out the two last changes to the floating point code, since it broke the package for NetBSD 1.6. @ text @d1 1 a1 1 $NetBSD: patch-cg,v 1.2 2005/06/16 21:39:06 martin Exp $ d4 2 a5 2 +++ extensions/transformiix/source/base/Double.cpp 2005-06-16 09:47:09.000000000 +0200 @@@@ -48,114 +48,34 @@@@ d9 1 a9 47 -//A trick to handle IEEE floating point exceptions on FreeBSD - E.D. -#ifdef __FreeBSD__ -#include -#ifdef __alpha__ -fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP; -#else -fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML; -#endif -fp_except_t oldmask = fpsetmask(~allmask); -#endif - -/** - * Macros to workaround math-bugs bugs in various platforms - */ - -/** - * Stefan Hanske reports: - * ARM is a little endian architecture but 64 bit double words are stored - * differently: the 32 bit words are in little endian byte order, the two words - * are stored in big endian`s way. - */ - -#if defined(__arm) || defined(__arm32__) || defined(_arm26__) || defined(__arm__) -#define CPU_IS_ARM -#endif - -#if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2 -/** - * This version of the macros is safe for the alias optimizations - * that gcc does, but uses gcc-specific extensions. - */ - -typedef union txdpun { - PRFloat64 d; - struct { -#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM) - PRUint32 lo, hi; -#else - PRUint32 hi, lo; -#endif - } s; -} txdpun; - -#define TX_DOUBLE_HI32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.hi; })) -#define TX_DOUBLE_LO32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.lo; })) - -#else // __GNUC__ d14 1 a14 4 -/* We don't know of any non-gcc compilers that perform alias optimization, - * so this code should work. - */ d19 28 a47 27 -#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM) -#define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[1]) -#define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[0]) -#else -#define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[0]) -#define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[1]) -#endif - -#endif // __GNUC__ - -#define TX_DOUBLE_HI32_SIGNBIT 0x80000000 -#define TX_DOUBLE_HI32_EXPMASK 0x7ff00000 -#define TX_DOUBLE_HI32_MANTMASK 0x000fffff - -//-- Initialize Double related constants -#ifdef IS_BIG_ENDIAN -const PRUint32 nanMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK, - 0xffffffff}; -const PRUint32 infMask[2] = {TX_DOUBLE_HI32_EXPMASK, 0}; -const PRUint32 negInfMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0}; -#else -const PRUint32 nanMask[2] = {0xffffffff, - TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK}; -const PRUint32 infMask[2] = {0, TX_DOUBLE_HI32_EXPMASK}; -const PRUint32 negInfMask[2] = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT}; -#endif - d51 10 d63 1 a63 1 + return -INFINITY; d66 3 a68 25 -/* - * Determines whether the given double represents positive or negative - * inifinity - */ MBool Double::isInfinite(double aDbl) { - return ((TX_DOUBLE_HI32(aDbl) & ~TX_DOUBLE_HI32_SIGNBIT) == TX_DOUBLE_HI32_EXPMASK && - !TX_DOUBLE_LO32(aDbl)); + return isinf(aDbl); } -/* - * Determines whether the given double is NaN - */ MBool Double::isNaN(double aDbl) { - return ((TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_EXPMASK) == TX_DOUBLE_HI32_EXPMASK && - (TX_DOUBLE_LO32(aDbl) || (TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_MANTMASK))); + return isnan(aDbl); } -/* - * Determines whether the given double is negative - */ MBool Double::isNeg(double aDbl) d70 1 a70 2 - return (TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_SIGNBIT) != 0; + return aDbl<0.0; d72 1 d75 2 a76 1 @@@@ -244,7 +164,7 @@@@ d85 1 @ 1.2 log @Redo the previous "double alignemnet" fix more completely. The previous state was completely broken. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Replace the homegrown floating point binary access patterns in class Double by macros from math.h to avoid alignement problems described in PR pkg/30106. (Same as ../mozilla/patches/patch-cd) @ text @d1 1 a1 1 $NetBSD: patch-cd,v 1.1 2005/05/31 09:21:51 martin Exp $ d4 2 a5 2 +++ extensions/transformiix/source/base/Double.cpp 2005-05-30 15:51:38.000000000 +0200 @@@@ -48,6 +48,24 @@@@ d9 48 a56 3 +/* this should be some other predicate - like "has working math support" */ +#if defined(__NetBSD__) || (defined(__sun__) && defined(_LP64)) +MBool Double::isInfinite(double aDbl) d58 1 a58 1 + return isinf(aDbl); d60 5 a64 2 + +MBool Double::isNaN(double aDbl) d66 1 a66 1 + return isnan(aDbl); d68 32 a99 2 + +MBool Double::isNeg(double aDbl) d101 1 a101 1 + return aDbl<0.0; d103 6 a108 6 +#else + //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. #ifdef __FreeBSD__ #include @@@@ -157,6 +175,7 @@@@ d110 22 a131 1 return (TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_SIGNBIT) != 0; a132 1 +#endif d135 9 a143 1 * Converts the given String to a double, if the String value does not @