diff options
author | marcus <marcus@FreeBSD.org> | 2004-10-12 08:04:40 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-10-12 08:04:40 +0800 |
commit | 7c81ff7690a321f7aa8aeac4b623b0c0a48220c2 (patch) | |
tree | 3db1b6a9d263d2090826d362bfa305c70e30fe56 /www/firefox15/files | |
parent | fdee56390ba8f3aecace6dfc6237958697809a61 (diff) | |
download | freebsd-ports-gnome-7c81ff7690a321f7aa8aeac4b623b0c0a48220c2.tar.gz freebsd-ports-gnome-7c81ff7690a321f7aa8aeac4b623b0c0a48220c2.tar.zst freebsd-ports-gnome-7c81ff7690a321f7aa8aeac4b623b0c0a48220c2.zip |
* Update to 1.0.1.p (aka 0.10.1, aka 1.0PR)
* Add support for installing the new Firefox brand icon by defining
WITH_NEW_ICON [1]
For all that's new, check out http://www.mozilla.org/products/firefox/releases/
PR: 71781 [1]
Submitted by: Radek Kozlowski <radek@raadradd.com> [1]
Diffstat (limited to 'www/firefox15/files')
-rw-r--r-- | www/firefox15/files/Extensions.rdf | 37 | ||||
-rw-r--r-- | www/firefox15/files/firefox.rb | 2 | ||||
-rw-r--r-- | www/firefox15/files/mozconfig.in | 5 | ||||
-rw-r--r-- | www/firefox15/files/patch-250862 | 22 | ||||
-rw-r--r-- | www/firefox15/files/patch-255067 | 60 | ||||
-rw-r--r-- | www/firefox15/files/patch-256316 | 18 |
6 files changed, 5 insertions, 139 deletions
diff --git a/www/firefox15/files/Extensions.rdf b/www/firefox15/files/Extensions.rdf deleted file mode 100644 index 93e1e38a5e02..000000000000 --- a/www/firefox15/files/Extensions.rdf +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0"?> -<RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#" - xmlns:NC="http://home.netscape.com/NC-rdf#" - xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> - <RDF:Description RDF:about="urn:mozilla:extension:{641d8d09-7dda-4850-8228-ac0ab65e2ac9}" - em:version="1.0" - em:name="DOM Inspector" - em:description="A powerful tool for viewing and manipulating documents." - em:creator="Joe Hewitt" - em:locked="true"> - <em:targetApplication RDF:resource="rdf:#$BfYhZ3"/> - </RDF:Description> - <RDF:Description RDF:about="rdf:#$BfYhZ3" - em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" - em:minVersion="0.9" - em:maxVersion="0.9" /> - <RDF:Description RDF:about="rdf:#$pfYhZ3" - em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" - em:minVersion="0.9" - em:maxVersion="0.9" /> - <RDF:Description RDF:about="urn:mozilla:theme:{972ce4c6-7e08-4474-a285-3208198ce6fd}" - em:version="2.0" - em:name="Firefox (default)" - em:description="The default theme" - em:creator="Gerich and Horlander" - em:internalName="classic/1.0" - em:locked="true" - em:contributor="Mozilla Contributors"> - <em:targetApplication RDF:resource="rdf:#$pfYhZ3"/> - </RDF:Description> - <RDF:Seq RDF:about="urn:mozilla:theme:root"> - <RDF:li RDF:resource="urn:mozilla:theme:{972ce4c6-7e08-4474-a285-3208198ce6fd}"/> - </RDF:Seq> - <RDF:Seq RDF:about="urn:mozilla:extension:root"> - <RDF:li RDF:resource="urn:mozilla:extension:{641d8d09-7dda-4850-8228-ac0ab65e2ac9}"/> - </RDF:Seq> -</RDF:RDF> diff --git a/www/firefox15/files/firefox.rb b/www/firefox15/files/firefox.rb index 082607af8783..7b6e6bc42d46 100644 --- a/www/firefox15/files/firefox.rb +++ b/www/firefox15/files/firefox.rb @@ -33,7 +33,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - $Id: firebird.rb,v 1.2 2003/05/31 17:24:19 marcus Exp $ + $Id: firefox.rb,v 1.1 2004/09/30 06:27:21 marcus Exp $ 2002-12-16 Alan Eldridge <alane@geeksrus.net> diff --git a/www/firefox15/files/mozconfig.in b/www/firefox15/files/mozconfig.in index 2f4aa77dd545..d77584ed4edc 100644 --- a/www/firefox15/files/mozconfig.in +++ b/www/firefox15/files/mozconfig.in @@ -28,6 +28,7 @@ ac_add_options --with-system-jpeg=@LOCALBASE@ ac_add_options --with-system-zlib ac_add_options --with-system-png=@LOCALBASE@ ac_add_options --with-system-mng=@LOCALBASE@ +ac_add_options --without-system-nspr ###################################################################### # set compile/link features ac_add_options --with-pthreads @@ -41,8 +42,10 @@ ac_add_options --disable-ldap ac_add_options --disable-pedantic ac_add_options --disable-profilesharing ac_add_options --disable-installer +ac_add_options --enable-single-profile +ac_add_options --disable-profilesharing ac_add_options --enable-image-decoders=png,gif,jpeg,bmp -ac_add_options --enable-extensions=cookie,xml-rpc,xmlextras,p3p,pref,transformiix,universalchardet,typeaheadfind,webservices,inspector,venkman,gnomevfs +ac_add_options --enable-extensions="cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,p3p,gnomevfs" ###################################################################### # conditional from port Makefile #if test -n "$WITH_REORDER"; then diff --git a/www/firefox15/files/patch-250862 b/www/firefox15/files/patch-250862 deleted file mode 100644 index 05423dc84195..000000000000 --- a/www/firefox15/files/patch-250862 +++ /dev/null @@ -1,22 +0,0 @@ -Index: mozilla/xpfe/communicator/resources/content/contentAreaDD.js -=================================================================== -RCS file: /cvsroot/mozilla/xpfe/communicator/resources/content/contentAreaDD.js,v -retrieving revision 1.32 -retrieving revision 1.32.88.1 -diff -u -r1.32 -r1.32.88.1 ---- xpfe/communicator/resources/content/contentAreaDD.js 10 Jul 2002 01:23:50 -0000 1.32 -+++ xpfe/communicator/resources/content/contentAreaDD.js 27 Aug 2004 01:13:39 -0000 1.32.88.1 -@@ -53,8 +53,11 @@ - { - var url = transferUtils.retrieveURLFromData(aXferData.data, aXferData.flavour.contentType); - -- // valid urls don't contain spaces ' '; if we have a space it isn't a valid url so bail out -- if (!url || !url.length || url.indexOf(" ", 0) != -1) -+ // valid urls don't contain spaces ' '; if we have a space it -+ // isn't a valid url, or if it's a javascript: or data: url, -+ // bail out -+ if (!url || !url.length || url.indexOf(" ", 0) != -1 || -+ /^\s*(javascript|data):/.test(url)) - return; - - switch (document.firstChild.getAttribute('windowtype')) { diff --git a/www/firefox15/files/patch-255067 b/www/firefox15/files/patch-255067 deleted file mode 100644 index cddf17ca8328..000000000000 --- a/www/firefox15/files/patch-255067 +++ /dev/null @@ -1,60 +0,0 @@ -Index: mozilla/gfx/src/shared/gfxImageFrame.cpp -=================================================================== -RCS file: /cvsroot/mozilla/gfx/src/shared/gfxImageFrame.cpp,v -retrieving revision 1.26 -retrieving revision 1.26.12.1 -diff -u -r1.26 -r1.26.12.1 ---- gfx/src/shared/gfxImageFrame.cpp 16 Jan 2004 23:28:48 -0000 1.26 -+++ gfx/src/shared/gfxImageFrame.cpp 27 Aug 2004 11:02:58 -0000 1.26.12.1 -@@ -72,6 +72,13 @@ - return NS_ERROR_FAILURE; - } - -+ /* reject over-wide or over-tall images */ -+ const PRInt32 k64KLimit = 0x0000FFFF; -+ if ( aWidth > k64KLimit || aHeight > k64KLimit ){ -+ NS_ERROR("image too big"); -+ return NS_ERROR_FAILURE; -+ } -+ - nsresult rv; - - mOffset.MoveTo(aX, aY); -Index: mozilla/gfx/src/windows/nsImageWin.cpp -=================================================================== -RCS file: /cvsroot/mozilla/gfx/src/windows/nsImageWin.cpp,v -retrieving revision 3.130.2.1 -retrieving revision 3.130.2.1.6.1 -diff -u -r3.130.2.1 -r3.130.2.1.6.1 ---- gfx/src/windows/nsImageWin.cpp 11 May 2004 21:53:49 -0000 3.130.2.1 -+++ gfx/src/windows/nsImageWin.cpp 27 Aug 2004 11:02:58 -0000 3.130.2.1.6.1 -@@ -131,6 +131,10 @@ - return NS_ERROR_UNEXPECTED; - } - -+ // limit images to 64k pixels on a side (~55 feet on a 100dpi monitor) -+ const PRInt32 k64KLimit = 0x0000FFFF; -+ if (aWidth > k64KLimit || aHeight > k64KLimit) -+ return NS_ERROR_FAILURE; - - if (mNumPaletteColors >= 0){ - // If we have a palette -Index: mozilla/modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp -=================================================================== -RCS file: /cvsroot/mozilla/modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp,v -retrieving revision 1.24.2.1 -retrieving revision 1.24.2.1.6.1 -diff -u -r1.24.2.1 -r1.24.2.1.6.1 ---- modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp 13 May 2004 22:27:35 -0000 1.24.2.1 -+++ modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp 27 Aug 2004 11:02:58 -0000 1.24.2.1.6.1 -@@ -274,7 +274,9 @@ - CalcBitShift(); - } - // BMPs with negative width are invalid -- if (mBIH.width < 0) -+ // Reject extremely wide images to keep the math sane -+ const PRInt32 k64KWidth = 0x0000FFFF; -+ if (mBIH.width < 0 || mBIH.width > k64KWidth) - return NS_ERROR_FAILURE; - - PRUint32 real_height = (mBIH.height > 0) ? mBIH.height : -mBIH.height; diff --git a/www/firefox15/files/patch-256316 b/www/firefox15/files/patch-256316 deleted file mode 100644 index 147d15e5303d..000000000000 --- a/www/firefox15/files/patch-256316 +++ /dev/null @@ -1,18 +0,0 @@ -Index: mozilla/netwerk/dns/src/nsIDNService.cpp -=================================================================== -RCS file: /cvsroot/mozilla/netwerk/dns/src/nsIDNService.cpp,v -retrieving revision 1.18 -retrieving revision 1.18.10.1 -diff -u -r1.18 -r1.18.10.1 ---- netwerk/dns/src/nsIDNService.cpp 3 Apr 2004 07:32:18 -0000 1.18 -+++ netwerk/dns/src/nsIDNService.cpp 27 Aug 2004 11:23:21 -0000 1.18.10.1 -@@ -242,6 +242,9 @@ - - NS_IMETHODIMP nsIDNService::Normalize(const nsACString & input, nsACString & output) - { -+ // protect against bogus input -+ NS_ENSURE_TRUE(IsUTF8(input), NS_ERROR_UNEXPECTED); -+ - nsAutoString outUTF16; - nsresult rv = stringPrep(NS_ConvertUTF8toUTF16(input), outUTF16); - if (NS_SUCCEEDED(rv)) |