Commit Graph

2199 Commits

Author SHA1 Message Date
Brad Lassey
e3016420db 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
6ba1c57f92 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
eda812475f 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
0a67be7b51 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
94cfa6f633 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
d614df95fd 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
4b5b8b75af 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
c1f3d96e91 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
bf439a6ea1 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
316a7c0dee 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
a028dfd6da 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
2aaeb2d246 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
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Jory A. Pratt
ee9165f0b2 Bug 591145 - Remove configure checks for encoders. r=khuey a=bsmedberg 2010-11-05 18:23:05 +01:00
Jory A. Pratt
221b49a484 Bug 591145 - Remove option to not clobber when changing encoder. r=khuey a=bsmedberg 2010-11-05 18:22:56 +01:00
Benjamin Smedberg
d19fb0dfce 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
cfe4308ade 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
b5c8de3824 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
c0b0832655 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
b5700735c7 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
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Benjamin Smedberg
f8d5bcfbda 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
175c51b9e9 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
151a8aa808 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
c26e61f8d5 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
31161f8735 Merge tracemonkey to mozilla-central. 2010-10-26 20:49:22 -04:00
Robert Sayre
7ce5faeded Merge mozilla-central to tracemonkey. 2010-10-26 14:16:43 -04:00
Benjamin Smedberg
ae4a853966 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
Andreas Gal
de49671a75 Merge from mozilla-central. 2010-10-22 19:46:37 -07:00
Benjamin Smedberg
135698e22c Merge mozilla-central with the asynchronous plugins painting branch. 2010-10-13 10:45:01 -04:00
Bill McCloskey
58582215b9 Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin) 2010-10-21 09:36:39 -07:00
Igor Bukanov
8cd1bfa94d bug 604831 - fixing GC trigger factor setup. r=anygregor 2010-10-19 12:11:09 +02:00
Bill McCloskey
507ea140a2 Backed out changeset 55597c32701d 2010-10-19 17:40:53 -07:00
Bill McCloskey
7583dc9166 Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin) 2010-10-19 16:23:05 -07:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Johnny Stenback
ab55d2919b Bug 580128 - Make nsJSNPRuntime compartment safe (r=gal). 2010-10-10 15:50:08 -07:00
Ben Turner
d21a4b0755 Bug 580128. Fix plugin stream test to work with the new wrappers. r=jst@mozilla.org 2010-10-10 15:39:14 -07:00
Benjamin Smedberg
c03b5d13c1 Merge mozilla-central into asynchronous plugins branch. 2010-10-01 13:54:43 -04:00
Neil Rashbrook
91b12103bb Bug 608958 Omnijar doesn't load preference files in reverse alphabetical order r=dwitte a=bsmedberg 2010-11-10 08:20:52 +00:00
Daniel Holbert
e507b06630 Bug 610748: Stop SVGDocumentWrapper from trying to unregister as a shutdown observer (and spamming a failure warning) *during* shutdown. r=roc a=roc 2010-11-09 21:50:29 -08:00
Josh Aas
3e01275064 Bug 610238: Sync to npapi-headers rev 31. r=bsmedberg a=blocking2.0betaN+ 2010-11-09 10:26:44 -05:00
Walter Meinl
48d1e8997b Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Taras Glek
da127e365a Bug 610040 - OOM abort under nsBufferedStream::Init. r=dtownsend
--HG--
extra : rebase_source : 52ef8d0c9333d75e5e67e2ca042131159102b15f
2010-11-09 11:12:46 +01:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Chris Jones
fb1d02f4d7 Test for bug 598862. r=karlt a=blocking 2010-11-08 20:48:59 -06:00
Ehsan Akhgari
ffa07f5b9a Bug 603679 - Fix a regression causing the Shockwave plugin to fail to load; r=bsmedberg a=blocking-beta8+ 2010-11-04 14:45:51 -04:00
Daniel Holbert
24d6b4c874 Bug 609814: Unregister SVGDocumentWrapper as XPCOM shutdown observer when we're done with it. r=roc a=blocking-final 2010-11-08 09:45:18 -08:00
Scott Greenlay
bfc806a99a Bug 478823: Fix memory leak that can result from reloading the plugin list. r=josh r=jst a=blocking2.0b8+ 2010-10-13 11:50:35 -04:00
Blake Kaplan
d8815d1675 Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too). 2010-09-22 17:34:20 -07:00