Commit Graph

2526 Commits

Author SHA1 Message Date
Robert O'Callahan
5919a4c04a Bug 611164. Fire MozPaintWait event if async plugin rendering hasn't caught up with our desired plugin size. r=romaxa a=roc 2010-12-05 15:04:22 +00:00
Boris Zbarsky
42a467ee70 Bug 616394. Make sure to set mPostedReflowCallback to false even if we have no frameloader when the callback happens. r=roc, a=blocker 2010-12-03 22:44:00 -05:00
Oleg Romashin
3228336658 Bug 615536 - nsIFrame::GetMouseThrough need to be optimized r=roc a=approval2.0 2010-11-30 16:59:46 +02:00
Jesse Ruderman
e2b5cef33a Bug 615959 - adjust assertion counts because bug 570436's assertion apparently doesn't happen on Win7. a=NPOTB DONTBUILD 2010-12-03 13:43:04 -08:00
Dave Townsend
81e7ea6996 Backing out changeset 2719d97b6766 from bug 609227 due to unexpected reftest failures. a=backout 2010-12-02 10:57:26 -08:00
Boris Zbarsky
3cc13d8253 Bug 609227. Always place a line at y<=0 in the block; there's no point in pushing such a line to the next block. r=roc, a=blocker 2010-12-02 12:32:41 -05:00
Benjamin Smedberg
e69da252f3 Bug 616127 - Prevent nsIFrame.h from being used from non-internal code. r+a=bz 2010-12-01 14:42:27 -05:00
Benjamin Smedberg
470e76d1a8 Bug 613744 - Crash when switching layer managers during rendering: compare the cached ImageContainer layer manager with the new manager while building the new layer, and recreate it if a new manager is being used. r=roc a=blocker
--HG--
extra : rebase_source : 9b4e550d6a4afd57bcec50d8a563fce03c267f54
2010-11-30 09:39:47 -05:00
Boris Zbarsky
b0c658578e Bug 609272. Make sure to not apply clipping of overflow when printing to the root element, because it doesn't really make use of its overflow style itself. r=dbaron 2010-11-30 13:19:57 -05:00
Ehsan Akhgari
2d5bbf542f Bug 616085 - Disable a crashtest which accesses a network resource which is unavailable, and causes the crashtest suite to not exit cleanly; r=me a=tree-opener landed on a CLOSED TREE 2010-12-02 02:13:19 -05:00
Dave Townsend
7a0e0a5cd9 Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Boris Zbarsky
f5eba2ae67 Bug 609272. Make sure to not apply clipping of overflow when printing to the root element, because it doesn't really make use of its overflow style itself. r=dbaron 2010-11-30 13:19:57 -05:00
Dão Gottwald
32c2bcb795 Backed out changeset d5da40425a61 a=b 2010-11-26 08:54:14 +01:00
Ehren Metcalfe
def9b32356 Bug 613420 - nsFirstLetterFrame is a query frame target that does not declare |nsQueryFrame::FrameIID kFrameIID| r=roc a=benjamin 2010-11-26 08:05:36 +01:00
Jonathan Kew
9b5bc91574 bug 607160 - check text length computations. r=roc a=blocking2.0 2010-11-25 15:36:53 +00:00
Timothy Nikkel
5c1b10cee6 Bug 559993. Scroll the whole selection into view, not just the focus point when finding on a page. r=roc a=blocking-final+ 2010-11-24 19:35:02 -06:00
Steven Michaud
9ccfffc401 Bug 613376 - r=josh a=blocking2.0Beta8+ 2010-11-23 10:20:36 -06:00
Oleg Romashin
aa8870e48b Bug 612256 - On plugin invalidate only plugin layer (and not thebes layer) should be updated. r=roc a=blocking2.0 2010-11-23 01:46:11 +02:00
L. David Baron
22c836286a Don't propagate text-decoration in quirks-mode across inline-block, inline-table, and HTML table elements. Also, prepare quirks-mode text-decoration propagation code for use in standards mode (for bug 403524). (Bug 572713) r=roc a2.0=blocking 2010-11-21 15:50:28 -08:00
Daniel Holbert
6f00bf9e8b Bug 612662 patch 4: Prevent reentrant calls to VectorImage::Draw, and prevent scrollbars (even unpainted ones) in SVG-as-an-image helper documents. r=roc a=blocking-final+ 2010-11-19 08:56:06 -08:00
Doug Turner
cff1891508 Fixing build bustage on QT caused by JS using QT defined |slot|. r=blassey, a=npodb
--HG--
extra : rebase_source : 95a43e2d76bcfde38b9daac03729db8f2601f66e
2010-11-18 20:28:59 -08:00
Steven Michaud
df47b58fde Bug 601182 - Spurious focus events sent to NPAPI plugins on OS X in Cocoa event mode. Patch partly by enndeakin. r=josh,smaug a=blocking2.0BetaN+ 2010-11-15 15:12:50 -06:00
Benjamin Smedberg
0aa2cd1075 Bug 611033 - Don't retain the plugin surface beyond the lifetime of the PluginInstanceParent: we only guarantee that the plugin X socket will kept alive until PluginModuleParent::ActorDestroy, r=karlt 2010-11-11 08:43:54 -05:00
Benjamin Smedberg
a95396d2ef 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
Ben Turner
7b428214f3 Bug 586216 - Don't use one timer per animated widget. r=roc a=b 2010-11-13 09:19:38 +01:00
Chris Double
c8b0bb098e Bug 577843 - Scale videos at YCbCr conversion time - r=roc a=blocking2.0
--HG--
extra : rebase_source : ae011843fdd812dbeab7e5de0bf3b6029cccb3e5
2010-10-26 16:11:13 +13: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
bcb4f74440 Additional review fix for bug 583109 comment 49 (karlt). 2010-11-10 08:19:53 -05:00
Benjamin Smedberg
1417fd7f05 Fix review comments from bug 583109 (changeset 6ff3fcbb7845), comment 46. 2010-11-09 09:36:33 -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
9df15ba4d0 Fix nsObjectFrame.cpp back to unix-style line endings. DOS endings crept in during the last merge for reasons I don't understand. 2010-11-08 09:48:02 -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
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
Ms2ger
d1816016c2 Bug 604078 - Two comparisons between signed and unsigned integers in nsTextFrame::PeekOffsetCharacter; r=ehsan a=bsmedberg 2010-11-04 16:43:01 -04:00
Ehsan Akhgari
5febe4410c Bug 424627 - Ctrl+clicking on a text control border followed by an editing operattion (e.g. paste) removes the table cell from a non-editable document; r=roc a=blocking-final+ 2010-11-01 19:04:12 -04:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -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
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
Mats Palmgren
59244db4d6 "ASSERTION: We should have padding here" with abs pos, overflow:scroll. r=roc a=blocking2.0:final 2010-11-09 22:14:05 +01: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
Ehsan Akhgari
bc3929193c Bug 605138 follow-up: fix Thunderbird bustage. r=me a=bustage 2010-10-25 14:24:40 -04:00
Ehsan Akhgari
b3ebab6edb Bug 605138 - Part 2: Refactor nsTypedSelection::ScrollIntoView to use flags instead of parameters; r=roc a=blocking-final+ 2010-10-22 18:41:55 -04:00
Ehsan Akhgari
c5d807f1c7 Bug 605138 - Scripts from topix.net apparently causing page to scroll down when opening; r=roc a=blocking-final+ 2010-10-21 16:56:20 -04:00
Robert O'Callahan
d6707f1b58 Bug 593839. Part 1: Use nsDisplayListBuilder::IsPaintingToWindow instead of gfxContext::DESTINED_FOR_SCREEN. r=tnikkel 2010-10-25 16:38:09 +02:00
Neil Deakin
902842e19b Bug 578667, text not highlighting when selectiondrag is outside frame, r=mats,a=blocking 2010-10-25 10:06:30 -04:00
Boris Zbarsky
ebd7c067e3 Bug 484992 and bug 604420. Don't start a new network request when instantiating the plug-in for <object>s. r=josh, a=blocker 2010-10-22 21:16:29 -04:00
Ehsan Akhgari
90e76bbb1f Bug 389321 - Part 3: Use a centralized algorithm for caret positioning; r=roc a=blocking-betaN+ 2010-08-31 14:54:44 -04:00
Mats Palmgren
11ce93ed15 Backout bug 571995. a=backout 2010-10-12 18:40:44 +02:00
L. David Baron
7fe205cc61 Add an additional value to nsOverflowType so that compilers (in particular, gcc 4.5.*) know that one past the end is a value they'll need to deal with. (Bug 602826) r=roc a2.0=blocking 2010-10-11 19:20:57 -07:00