Граф коммитов

7964 Коммитов

Автор SHA1 Сообщение Дата
Werner Lemberg 5c02919e95 Fix Savannah bug #31310. r=stuart a=blocking-fennec
From 59eb9f8cfe7d1df379a2318316d1f04f80fba54a Mon Sep 17 00:00:00 2001
Date: Tue, 12 Oct 2010 05:49:17 +0000
* src/truetype/ttgxvar.c (ft_var_readpackedpoints): Protect against
invalid `runcnt' values.
---
2010-11-18 16:36:23 -05:00
Werner Lemberg 69d701e60a [truetype] Improve error handling of `SHZ' bytecode instruction. r=stuart a=blocking-fennec
From 0edf0986f3be570f5bf90ff245a85c1675f5c9a4 Mon Sep 17 00:00:00 2001
Date: Wed, 06 Oct 2010 09:52:27 +0000
Problem reported by Chris Evans <scarybeasts@gmail.com>.

* src/truetype/ttinterp.c (Ins_SHZ): Check `last_point'.
---
2010-11-18 16:36:22 -05:00
Benjamin Smedberg 7a087d3082 Bug 602891 part A - refactor the code which notes intentional crashes for leak logging, so that it can be shared between testplugin and the jetpack. r=ted
--HG--
extra : rebase_source : c1f50eb1525883cfec34a7d0fec81d8227c5b8f6
2010-11-17 15:55:25 -05:00
Daniel Holbert b34bc7fce4 Bug 611797 part 2: Shift shared code from VectorImage/RasterImage to Image superclass, and add impl for VectorImage::ShouldAnimate. r+a=joe 2010-11-17 12:39:23 -08:00
Daniel Holbert 270fe09e87 Bug 611797 part 1: Expand NS_DECL_IMGICONTAINER in RasterImage & VectorImage. r+a=joe 2010-11-17 12:37:08 -08:00
Josh Aas 3ce1c68853 Bug 573873: Fix bug in HTTP handling for plugins. r=jst a=blocking2.0 2010-11-17 14:25:48 -05:00
Daniel Holbert 81cf8876e1 Bug 610796 followup: Fix non-libxul build issue from main patch, by using a virtual function call to a helper method. (Revert this changeset once we drop support for non-libxul builds). r=roc a=blocking-final+ 2010-11-16 15:19:21 -08:00
Daniel Holbert a2c43c8b3e Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert 061141f4a4 Backed out changeset 5a5ead36d721 (bug 610796) due to non-libxul-build bustage 2010-11-16 11:24:04 -08:00
Daniel Holbert a8277ced14 Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert 0f8a89b3b5 Bug 610491: Preemptively stop SVG animations in SVG-as-an-image in OnStartRequest. r=roc a=roc 2010-11-16 10:35:59 -08:00
Ryan VanderMeulen 5de9ca5fd4 Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Mounir Lamouri e8e286244a Bug 595062 - Trying to fix intermittent mochitest-ipcplugins failureas in test_cocoa_focus.html. r=jst a=tests 2010-11-15 23:56:55 +01:00
Scott Greenlay e77d3901bf Bug 611197 - Force pluginreg.dat refresh to propagate fix for Quicktime pdf display bug, r=josh, a=beta8+ 2010-11-15 14:21:50 -08:00
Scott Greenlay 419ff2d1cd Bug 611136 - Support WebPluginTypeEnabled key in com.apple.quicktime.plugin.preferences.plist, r=josh, a=betaN+ 2010-11-15 14:21:18 -08:00
Steven Michaud f6c175b300 Bug 601182 - Mochitest for this bug. r=josh a=test 2010-11-15 15:23:51 -06:00
Benjamin Smedberg 059d0f7ab2 Disable test_positioning.html from bug 611206 because even though it passes locally, something about the test setup is different on tinderbox: perhaps the outer mochitest window is moving, causing the coordinates to be incorrect. a=bustage 2010-11-15 13:06:11 -05:00
Benjamin Smedberg 91d075c8dc Bustage fix from typo in merge fixup from bug 611652, revision fc492fc14c67 a=bustage 2010-11-15 09:56:38 -05:00
Benjamin Smedberg 1af0711964 Bug 611652 - NPN_Construct doesn't work on JS functions, only on plugin-provided objects. Fix this by using JS_New to set up the construction class and prototype correctly, r=jst 2010-11-15 09:41:19 -05:00
Benjamin Smedberg 252c343281 Bug 611206 - Send the plugin information about mouse position changes when we scroll, even when we don't need to repaint the plugin, r=karlt 2010-11-15 09:41:18 -05:00
Karl Tomlinson a8fd94a4b7 Bug 610646 - Fix typo that caused 100% CPU hang running crashtest 598862.html in non-OOPP builds. a=test 2010-11-14 19:26:36 +01:00
Simon Montagu 5ee7fc30e6 Make the 'More Encodings' submenus non-localizable. Bug 610638, r=emk, a=bsmedberg 2010-11-14 16:41:43 +02:00
Brad Lassey 96c0116dd7 bug 608896 - update in-tree freetype from 2.4.1 to 2.4.3 r=stuart a=blocking-fennec 2010-11-11 17:30:52 -05:00
Brad Lassey 0fea0b5a66 bug 609114 - use freetype's configure script configure its build rather than hard coding the makefile r=ted a=blocking-fennec 2010-11-03 08:50:53 -04:00
Ehsan Akhgari 6c2e6b0a79 Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Matt Woodrow ced3693cdf Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Taras Glek 23936101cc Bug 595924: API change to go with Bug 598416 to fix crash r=mwu a=blocking2.0-betaN 2010-11-11 12:13:57 -08:00
Taras Glek 82ac2d11bf Bug 598416: add try/catch in places in nsZipReader.cpp that access mmaped memory directly r=bsmedberg a=blocking2.0-betaN 2010-11-11 12:13:48 -08:00
Phil Ringnalda b78fd053ad Bug 608657 - Remove misplaced and unused "network.hosts.(pop|smtp)_server" prefs, r=bienvenu, a=bsmedberg 2010-10-31 17:56:16 -07:00
Benjamin Smedberg abe5e4d05f Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg d55dd1e25b Fix test_xulbrowser_plugin_visibility to be more robust and use fewer magic timeouts, review note from bug 583109 comment 52. 2010-11-10 08:35:46 -05:00
Benjamin Smedberg 404d17afff Address review comments for the test in bug 583109 by polling for visibility changes in the plugins. 2010-11-09 11:41:59 -05:00
Benjamin Smedberg 214fdc2150 Bug 607958 - Opacity rounding of 0.5 is different when using a layer and painting directly. Use a value of 0.8 which divides evenly into 255 to avoid rounding differences. Bug 602200 did not fix this rounding difference. r=roc 2010-11-08 14:40:11 -05:00
Benjamin Smedberg b4c1905756 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg 3c717e39c6 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Jory A. Pratt dfa15fbaa9 Bug 591145 - Remove configure checks for encoders. r=khuey a=bsmedberg 2010-11-05 18:23:05 +01:00
Jory A. Pratt 62693166cc Bug 591145 - Remove option to not clobber when changing encoder. r=khuey a=bsmedberg 2010-11-05 18:22:56 +01:00
Benjamin Smedberg 2adb16d327 With async plugin painting, crashtest 522512 is no longer valid (and the condition which caused it is entirely gone). Remove it. 2010-11-05 10:52:41 -04:00
Benjamin Smedberg 3aab32a483 Test for bug 583109 - Add an .isVisible() method to the testplugin. test_visibility.html checks whether a visibility: hidden plugin suspends and resumes painting properly. test_xulbrowser_plugin_visibility.xul tests whether switching tabs properly suspends and resumes plugin painting. r-pending=karlt 2010-11-05 10:43:14 -04:00
Benjamin Smedberg 3c4bb23cb4 Bug 606285 and Bug 583109 - Send the "visible" notification when painting with async layers, so that when a plugin goes from invisible to visible it starts sending asynchronous paints. Suspend sending surface updates for asynchronous plugins when they are invisible, and set the empty clipRect so that the plugin knows that drawing is suspended per the new API. Assume that plugins are visible again when a Paint or BuildLayer call is received. r-pending=karlt 2010-11-05 10:40:55 -04:00
Jim Mathies 69ebe4e6e9 Bug 570249 - Plugin container shutdown via hang detector results in a disabled browser window when modal plugin dialogs are active. r=bsmedberg, a=final. 2010-11-05 10:18:07 -05:00
Benjamin Smedberg 5e8f1fc730 Followup to bug 596451 part E (cset 37188e297b07) - double-pass painting is still used for in-process plugins, so fix the test expectations accordingly. 2010-10-28 12:57:33 -04:00
Benjamin Smedberg c71c0f761f Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Benjamin Smedberg e7735d0f81 Fix testplugin painting issues from bug 596451 part J - when doing non-solid painting, paint to x/y, not 0/0. 2010-10-28 09:17:35 -04:00
Benjamin Smedberg 7c81fd0233 Bug 596451 part J - Fix our test plugin to paint without using GDI functions which overwrite the opacity incorrectly, r=jmathies 2010-10-27 16:56:34 -04:00
Benjamin Smedberg d7c2cff52f Bug 596451 part H - Make our quirk of silverlight transparent by default active in the plugin process, to match the logic in nsNPAPIPluginInstance. This makes the Microsoft Surface website paint correctly. r=jimm 2010-10-27 09:13:53 -04:00
Benjamin Smedberg d8be33b109 Bug 596451 part E - Implement transparency using DIBs with builtin transparency. Flash at least does this correctly, and since nobody else really uses windowless transparency, this is going to be the Way It Is. r-pending=jimm/karlt 2010-10-27 09:03:09 -04:00
Robert Sayre 41e10487ac Merge tracemonkey to mozilla-central. 2010-10-26 20:49:22 -04:00
Robert Sayre ab1de59e65 Merge mozilla-central to tracemonkey. 2010-10-26 14:16:43 -04:00
Benjamin Smedberg 4a85b8746d Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies 2010-10-25 13:57:13 -04:00