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.4 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.2 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.1.0.2 pkgsrc-2012Q2-base: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.30; author ryoon; state Exp; branches; next 1.3; 1.3 date 2012.08.28.23.27.10; author ryoon; state Exp; branches; next 1.2; 1.2 date 2012.08.28.12.42.01; author ryoon; state Exp; branches; next 1.1; 1.1 date 2012.04.26.13.30.29; author ryoon; state Exp; branches; next ; desc @@ 1.5 log @Remove xulrunner. This does not work, and there is no consumer. @ text @$NetBSD: patch-gfx_thebes_gfxPlatform.cpp,v 1.4 2013/01/10 15:01:30 ryoon Exp $ --- gfx/thebes/gfxPlatform.cpp.orig 2013-01-04 23:44:33.000000000 +0000 +++ gfx/thebes/gfxPlatform.cpp @@@@ -507,11 +507,9 @@@@ void SourceBufferDestroy(void *srcSurfUD delete static_cast(srcSurfUD); } -void SourceSnapshotDetached(cairo_surface_t *nullSurf) +void SourceSnapshotDetached(void *nullSurf) { - gfxImageSurface* origSurf = - static_cast(cairo_surface_get_user_data(nullSurf, &kSourceSurface)); - + gfxImageSurface *origSurf = static_cast(nullSurf); origSurf->SetData(&kSourceSurface, NULL, NULL); } @@@@ -626,14 +624,9 @@@@ gfxPlatform::GetSourceSurfaceForSurface( } - cairo_surface_t *nullSurf = - cairo_null_surface_create(CAIRO_CONTENT_COLOR_ALPHA); - cairo_surface_set_user_data(nullSurf, - &kSourceSurface, - imgSurface, - NULL); - cairo_surface_attach_snapshot(imgSurface->CairoSurface(), nullSurf, SourceSnapshotDetached); - cairo_surface_destroy(nullSurf); + cairo_surface_set_mime_data(imgSurface->CairoSurface(), "mozilla/magic", + (const unsigned char *) "data", 4, + SourceSnapshotDetached, imgSurface.get()); } SourceSurfaceUserData *srcSurfUD = new SourceSurfaceUserData; @ 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-gfx_thebes_gfxPlatform.cpp,v 1.3 2012/08/28 23:27:10 ryoon Exp $ @ 1.3 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-gfx_thebes_gfxPlatform.cpp,v 1.2 2012/08/28 12:42:01 ryoon Exp $ d3 1 a3 1 --- gfx/thebes/gfxPlatform.cpp.orig 2012-08-24 22:55:35.000000000 +0000 d5 2 a6 2 @@@@ -443,6 +443,7 @@@@ void SourceBufferDestroy(void *srcBuffer static_cast(srcBuffer)->Release(); d9 2 a10 2 +#ifdef MOZ_TREE_CAIRO void SourceSnapshotDetached(cairo_surface_t *nullSurf) d12 4 a15 3 gfxImageSurface* origSurf = @@@@ -450,6 +451,7 @@@@ void SourceSnapshotDetached(cairo_surfac a17 1 +#endif d19 1 a19 3 RefPtr gfxPlatform::GetSourceSurfaceForSurface(DrawTarget *aTarget, gfxASurface *aSurface) @@@@ -544,6 +546,7 @@@@ gfxPlatform::GetSourceSurfaceForSurface( d23 11 a33 9 + #ifdef MOZ_TREE_CAIRO cairo_surface_t *nullSurf = cairo_null_surface_create(CAIRO_CONTENT_COLOR_ALPHA); cairo_surface_set_user_data(nullSurf, @@@@ -552,6 +555,7 @@@@ gfxPlatform::GetSourceSurfaceForSurface( NULL); cairo_surface_attach_snapshot(imgSurface->CairoSurface(), nullSurf, SourceSnapshotDetached); cairo_surface_destroy(nullSurf); + #endif d36 1 a36 1 srcBuffer->AddRef(); @ 1.2 log @Update to 15.0 * Use patches from https://bugzilla.mozilla.org/show_bug.cgi?id=753046 * Fix firefox.sh Changelog: NEW Preliminary native PDF support (Aurora/Beta only) NEW Support for SPDY networking protocol v3 NEW WebGL enhancements, including compressed textures for better performance CHANGED Optimized memory usage for add-ons DEVELOPER JavaScript debugger integrated into developer tools DEVELOPER New layout view added to Inspector DEVELOPER The CSS word-break property has been implemented. DEVELOPER High precision event timer implemented DEVELOPER New responsive design tool allows web developers to switch between desktop and mobile views of sites HTML5 Native support for the Opus audio codec added HTML5 The element now supports the media attribute HTML5 The