30b383d73524f23ce5ea32b176c580077e21c0e9: Fix test_xulbrowser_plugin_visibility to be more robust and use fewer magic timeouts, review note from bug 583109 comment 52.
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 10 Nov 2010 08:35:46 -0500 - rev 57235
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Fix test_xulbrowser_plugin_visibility to be more robust and use fewer magic timeouts, review note from bug 583109 comment 52.
cff6e330a3deab267508bc44d73b81681131c7d4: Additional review fix for bug 583109 comment 49 (karlt).
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 10 Nov 2010 08:19:53 -0500 - rev 57234
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Additional review fix for bug 583109 comment 49 (karlt).
949de4d79ea9dd68d17535aea975be5d64479b23: Address review comments for the test in bug 583109 by polling for visibility changes in the plugins.
Benjamin Smedberg <benjamin@smedbergs.us> - Tue, 09 Nov 2010 11:41:59 -0500 - rev 57233
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Address review comments for the test in bug 583109 by polling for visibility changes in the plugins.
d12c46b9e27fe367434b588954805578f5faac5c: Fix review comments from bug 583109 (changeset 6ff3fcbb7845), comment 46.
Benjamin Smedberg <benjamin@smedbergs.us> - Tue, 09 Nov 2010 09:36:33 -0500 - rev 57232
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Fix review comments from bug 583109 (changeset 6ff3fcbb7845), comment 46.
be57c513c2ace26a60194acdca019e5ad7684345: 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
Benjamin Smedberg <benjamin@smedbergs.us> - Mon, 08 Nov 2010 14:40:11 -0500 - rev 57231
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
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
40cc37bb536ed7026b0f69215504c0ed69cabdbe: 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.
Benjamin Smedberg <benjamin@smedbergs.us> - Mon, 08 Nov 2010 09:50:11 -0500 - rev 57230
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
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.
4ab9ea27785d333afa1fd8f22c8222ee015b8807: Fix nsObjectFrame.cpp back to unix-style line endings. DOS endings crept in during the last merge for reasons I don't understand.
Benjamin Smedberg <benjamin@smedbergs.us> - Mon, 08 Nov 2010 09:48:02 -0500 - rev 57229
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Fix nsObjectFrame.cpp back to unix-style line endings. DOS endings crept in during the last merge for reasons I don't understand.
0aaabea2708e4ff27340b91a5337bc788231b1ae: Merge mozilla-central into the branch for asynchronous plugin painting on Windows.
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 05 Nov 2010 15:56:28 -0400 - rev 57228
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Merge mozilla-central into the branch for asynchronous plugin painting on Windows.
671bd739dbff035d5b1df3ce1e53e2974efdc3a2: With async plugin painting, crashtest 522512 is no longer valid (and the condition which caused it is entirely gone). Remove it.
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 05 Nov 2010 10:52:41 -0400 - rev 57227
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
With async plugin painting, crashtest 522512 is no longer valid (and the condition which caused it is entirely gone). Remove it.
df0cf7e8e9e6611f0a723c3239625bd5b1e94339: 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
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 05 Nov 2010 10:43:14 -0400 - rev 57226
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
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
6ff3fcbb784501e3dc241e511aeea04ff759a468: 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
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 05 Nov 2010 10:40:55 -0400 - rev 57225
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
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
24a2e0ac428f81256fc54025a8a9437dafde37b8: Bug 583109 - Add visibility notification for plugins by setting the NPWindow.clipRect to [0, 0, 0, 0] when the plugin is not visible, either in a background tab, or visibility: hidden. r=karlt Patch rebased against trunk by Benjamin Smedberg.
Jan Arne Petersen <jap@gnome.org> - Fri, 05 Nov 2010 10:38:33 -0400 - rev 57224
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Bug 583109 - Add visibility notification for plugins by setting the NPWindow.clipRect to [0, 0, 0, 0] when the plugin is not visible, either in a background tab, or visibility: hidden. r=karlt Patch rebased against trunk by Benjamin Smedberg.
167349934e8dbc73de2dcf7eef7174574d6b8bd0: Followup to bug 596451 part E (cset 37188e297b07) - double-pass painting is still used for in-process plugins, so fix the test expectations accordingly.
Benjamin Smedberg <benjamin@smedbergs.us> - Thu, 28 Oct 2010 12:57:33 -0400 - rev 57223
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Followup to bug 596451 part E (cset 37188e297b07) - double-pass painting is still used for in-process plugins, so fix the test expectations accordingly.
3db23492203ff76d97ade9e85436b99a165d5040: Merge mozilla-central to the branch for bug 596451.
Benjamin Smedberg <benjamin@smedbergs.us> - Thu, 28 Oct 2010 10:05:20 -0400 - rev 57222
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Merge mozilla-central to the branch for bug 596451.
9adc8f43d987fdf4ff0bd5945fbe9753f9c08bed: Fix testplugin painting issues from bug 596451 part J - when doing non-solid painting, paint to x/y, not 0/0.
Benjamin Smedberg <benjamin@smedbergs.us> - Thu, 28 Oct 2010 09:17:35 -0400 - rev 57221
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Fix testplugin painting issues from bug 596451 part J - when doing non-solid painting, paint to x/y, not 0/0.
005779cf3e419a4613459e764c90700bec6ad421: Bug 596451 part K - Make sure we set up the same plugin quirks for async plugin rendering that we do in AnswerNPP_SetWindow (fixes Flash/Silverlight context menus and mouse pointers), r=jmathies
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 16:56:48 -0400 - rev 57220
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Bug 596451 part K - Make sure we set up the same plugin quirks for async plugin rendering that we do in AnswerNPP_SetWindow (fixes Flash/Silverlight context menus and mouse pointers), r=jmathies
ac385c4d7b3704c533e14fc1d4fb552e8959ed37: Bug 596451 part J - Fix our test plugin to paint without using GDI functions which overwrite the opacity incorrectly, r=jmathies
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 16:56:34 -0400 - rev 57219
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Bug 596451 part J - Fix our test plugin to paint without using GDI functions which overwrite the opacity incorrectly, r=jmathies
5d416c488505e30c1d1c2446e4e9cadca4b0e444: Build bustage from bug 596451 part I - always return a value from PluginInstanceChild::ReadbackDifferenceRect.
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 15:27:33 -0400 - rev 57218
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Build bustage from bug 596451 part I - always return a value from PluginInstanceChild::ReadbackDifferenceRect.
9f1f861a9ff742ace1c25ec97c273eeaa5e326ab: Bug 607002 - Classes forward-declared as structs in IPDL-generated code cause MSVC warnings. Forward-declare them as classes. r=cjones
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 09:17:33 -0400 - rev 57217
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
Bug 607002 - Classes forward-declared as structs in IPDL-generated code cause MSVC warnings. Forward-declare them as classes. r=cjones
c6a351a89dde8ee22010da6be19da3f9177bdb01: 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
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 09:13:53 -0400 - rev 57216
Push 1 by root at Tue, 26 Apr 2011 22:38:44 +0000
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
(0) -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip