gfx/cairo/disable-server-gradients.patch

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 commit 31579379422b75c3fe01b75d363e03f9b1e85604
michael@0 2 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
michael@0 3 Date: Fri Mar 12 16:07:59 2010 -0500
michael@0 4
michael@0 5 xlib bugs
michael@0 6
michael@0 7 diff --git a/src/cairo-xlib-display.c b/src/cairo-xlib-display.c
michael@0 8 index a7a40b8..566d9fb 100644
michael@0 9 --- a/src/cairo-xlib-display.c
michael@0 10 +++ b/src/cairo-xlib-display.c
michael@0 11 @@ -407,6 +407,10 @@ _cairo_xlib_display_get (Display *dpy,
michael@0 12 display->buggy_pad_reflect = TRUE;
michael@0 13 }
michael@0 14
michael@0 15 + /* gradients don't seem to work */
michael@0 16 + display->buggy_gradients = TRUE;
michael@0 17 +
michael@0 18 +
michael@0 19 /* XXX workaround; see https://bugzilla.mozilla.org/show_bug.cgi?id=413583 */
michael@0 20 /* If buggy_repeat_force == -1, then initialize.
michael@0 21 * - set to -2, meaning "nothing was specified", and we trust the above detection.

mercurial