Commit Graph

56498 Commits

Author SHA1 Message Date
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
Jan Arne Petersen
63f71f3156 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. 2010-11-05 10:38:33 -04: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
Brad Lassey
e0084486e4 bug 606539 - Report Android specific info in crash reports r=mwu a=stuart 2010-10-27 18:36:01 -04:00
Gervase Markham
66c58255d7 relic master copy is now defined as the one in Hg rather than CVS. Copy
ing over all the changes from CVS since Hg branched off. a=NPOTB.
2010-10-28 12:51:06 +01:00
Jason Duell
2cf0fe0695 Bug 559714 - bustage fix. a=fennec-2.0b2 2010-10-28 03:44:48 -07:00
Marco Bonardo
eb3a117599 Bug 578589 - Intermittent failure in toolkit/content/tests/widgets/test_toolbar.xul.
r=enn ab7=beltzner
2010-10-28 12:14:00 +02:00
Alexander Surkov
76b8c7bc0a Bug 607882 - shutdown document accessible may stay in cache, r=ginn.chen, a=blocking 2010-10-28 18:34:26 +09:00
Benjamin Smedberg
f720cf82c8 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 2010-10-27 16:56:48 -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
473e3cb7ae Build bustage from bug 596451 part I - always return a value from PluginInstanceChild::ReadbackDifferenceRect. 2010-10-27 15:27:33 -04:00
Benjamin Smedberg
64a132d0b8 Bug 607002 - Classes forward-declared as structs in IPDL-generated code cause MSVC warnings. Forward-declare them as classes. r=cjones 2010-10-27 09:17:33 -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
280184d562 Bug 596451 part G - Fix a condition where FixupWindow is called too early and doesn't know that we are a windowless plugin yet. Call FixupWindow from nsPluginInstanceOwner::CreateWidget, r=roc 2010-10-27 09:10:50 -04:00
Benjamin Smedberg
38659c6622 Bug 596451 part F - fix mouse/window positioning and remove the Silverlight quirk by changing the logical->device offset before painting, r=jimm 2010-10-27 09:09:37 -04:00
Benjamin Smedberg
433d19c29d Bug 596451 part I - Read back from the current Windows surface, instead of repainting the entire client area every time, r-pending=jmathies 2010-10-27 09:09:15 -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
Siarhei Siamashka
3fe8a5bf00 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec 2010-10-27 08:15:08 +03:00
Andreas Gal
5517b072ad Bug 606875 - Object.prototype.toString no longer works for arrays created in sandboxes or windows from a different principal. r=mrbkap, a=blocker 2010-10-27 17:30:59 -07:00
Justin Dolske
be81f8d6f5 Bug 575485 - Refactor commonDialog code into a sharable JSM (Part 4, test fixes). r=gavin, a=beltzner 2010-10-27 14:16:17 -07:00
Justin Dolske
a6bc82164a Bug 575485 - Refactor commonDialog code into a sharable JSM (Part 3, JSM). r=gavin, a=beltzner 2010-10-27 14:16:17 -07:00
Justin Dolske
7c7936c1a3 Bug 575485 - Refactor commonDialog code into a sharable JSM (Part 2, refactor). r=gavin, a=beltzner 2010-10-27 14:16:17 -07:00
Justin Dolske
23c918cff9 Bug 575485 - Refactor commonDialog code into a sharable JSM (Part 1, cleanup). r=gavin, a=beltzner 2010-10-27 14:16:17 -07:00
Doug Turner
bf564e2ea4 Merge to tip. a=wtf-hg 2010-10-27 13:37:16 -07:00
Doug Turner
69d9465cd2 Backed out changeset dd50da0646a4 2010-10-27 13:36:15 -07:00
Shawn Wilsher
c6b0570139 Bug 607469 - IPC-only Crash [@ mozilla::places::History::NotifyVisited]
r=dougt
a=blocking

--HG--
extra : rebase_source : 74fbebfccb8544ef56adb0f66e778372148b0506
2010-10-27 13:14:16 -07:00
Doug Turner
228873dd95 Bug 607287 - Crash when trying to disable or uninstall an add-on [@ nsWindow::UserActivity]. r=mwu
--HG--
extra : rebase_source : 0b0c8654fbf4c52471947c929fae23df5f13a585
2010-10-27 13:10:15 -07:00
Siarhei Siamashka
12a18918a8 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec
--HG--
extra : rebase_source : a9d44cf330e338abf041c6755dbdeba54cfd9b6e
2010-10-27 08:15:08 +03:00
Patrick Walton
a8494cc71c Bug 601667 - Web Console toolbar styling - part 0 strings r=l10n a=beta7+ 2010-10-27 14:20:26 -05:00
Brad Lassey
8ae1373c7b bug 601268 - Add canary-in-the-mine instrumentation to detect when the browser process spends too long outside its main-thread event loop(s) r=cjones a=beltzner 2010-10-27 11:16:03 -04:00
Honza Bambas
55c96a408d merge, a=merge 2010-10-27 20:45:39 +02:00
Honza Bambas
0d62041bc5 Backout bug 527667, a=orange-fix 2010-10-27 20:41:23 +02:00
Jim Mathies
df2b7ba807 No bug, remove left over printf debug statement from PluginInstanceChild. r=me, a=nobug. 2010-10-27 13:32:45 -05:00
Oleg Romashin
04ff8b2cce Bug 606910 - RENDER_DIRECT mode for Qt widget (xshmPutImage). r=dougt a=blocking-fennec
--HG--
extra : rebase_source : 6ea776ea7e0b282d6b61d5e5fa570460e84f90be
2010-10-27 07:56:31 +03:00
Benjamin Smedberg
980b674f06 More build bustage from Bug 596451 part D. Explicitly initialize the const structures for GCC. 2010-10-25 16:25:01 -04:00
Benjamin Smedberg
d80dc9a81e Non-Windows build bustage fix from bug 596451 part D - base::SharedMemoryHandle is not available to IPDL on non-Windows, so use typedefs. 2010-10-25 15:12:25 -04:00
Honza Bambas
3bc58a18b1 Bug 527667 - DOM Storage (localStorage, sessionStorage) data is not cleared when 'Clear Recent History' is used with Time range not 'Everything', r+sr=jst, a=blocking2.0:betaN 2010-10-25 20:40:55 +02:00
Chris Jones
2366aa408c Bug 607512: Destroy document-viewer widgetry to avoid keeping native widgets and layers alive longer than necessary. r=roc a=blocking-fennec 2010-10-27 11:57:21 -05:00
Mats Palmgren
a49bc9b30b Null-check the root pres context before using it. b=599341 r=roc a=dbaron 2010-10-27 16:19:01 +02:00
Jim Mathies
d5795f9acb Bug 545892 - Always pass WM_NCPAINT events to the default event procedure. r=bent, a=beta7 2010-10-27 08:48:09 -05:00
Bas Schouten
511f160332 Bug 606938: Toss out cached bitmaps when created with an old device. r=jrmuizel a=blocking-beta7 2010-10-27 06:52:41 +02:00
David Mandelin
63fab7fb8e Bug 604756 diagnostic: serialize flatten to test if concurrent calls cause the bug, r=dvander, a=beta 7 blocker 2010-10-26 19:02:01 -07:00
Michael Wu
5e86d3928c bug 607367 - custom lib loader doesn't work on Galaxy S w/2.2 r=vlad a=blocking-fennec 2010-10-26 21:57:54 -04:00
Brad Lassey
5afc1bb7db bug 607387 - android restarter spins for ever waiting for fennec to die r=mwu a=blocking-fennec 2010-10-26 21:57:29 -04:00
Boris Zbarsky
97a46aa911 Bug 607222. Start our update batches a little earlier. Patches by smaug and sicking, r=smaug on sicking's code, r=sicking on smaug's code, r=me on the whole thing, a=clegnitto 2010-10-26 21:55:06 -04:00
David Mandelin
61c89f1888 Backout merge, a=backing out changeset tried for b7 blocker 2010-10-26 18:20:20 -07:00