Robert O'Callahan
b358ce2f34
Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
...
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Zack Weinberg
e65a77e1b7
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Robert O'Callahan
7c11e5f3c9
Bug 508134. Stop managing the visibility of views from SyncFrameViewProperties, except for nsSubdocumentFrames. r=dbaron
...
--HG--
extra : rebase_source : 8cda020494dfaec55076a4bf865e848ffb59656b
2009-08-25 00:44:42 -07:00
Robert O'Callahan
598587160e
Bug 339548. Part 10.5: Eagerly fix up Mac plugin clip rect to be consistent with other platforms.
2009-07-22 12:45:02 +12:00
Robert O'Callahan
5876cbb693
Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly.
2009-07-22 12:45:00 +12:00
Jeremy Lea
1b7e1f21f0
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
c0b8dd79be
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
507daffc50
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
b0f322f21c
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Bernd
1d697f9f37
bug 258377, make border collapsed tables to listen for dynamic border style changes r/sr=bzbarsky
2008-10-26 11:11:34 +01:00
L. David Baron
1983da5c49
Make sure DidSetStyleContext methods call the base class DidSetStyleContext, and change the signature to return void. (Bug 459649) r+sr=bzbarsky
2008-10-13 18:03:28 -04:00
Karl Tomlinson
97d7e0a66f
Bug 430450 – vertical stripes in windowless plugins.
...
Snap to pixels and round dirty rect out. r+sr=roc
2008-07-07 14:49:38 +12:00
jst@mozilla.org
381e2f7285
Fixing bug 430802 (and bug 405357). Prevent plugin instantiation code re-entrancy. r=jwatt@jwatt.org, sr=bzbarsky@mit.edu, a=beltzner
2008-05-06 13:49:30 -07:00
jst@mozilla.org
2b364940c8
Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com
2008-02-28 18:06:00 -08:00
bzbarsky@mit.edu
a18fce5218
Fix bug 402937 -- don't allow recursion into Instantiate(). r=biesi, sr=jst, a=dsicore.
2007-12-03 14:09:00 -08:00
bzbarsky@mit.edu
84fe7227b4
Don't show the plug-in view when it should actually be hidden. Bug 398213, r+sr=roc
2007-10-18 20:41:07 -07:00
cbiesinger@gmx.at
8bd8d73440
391261 call SetWindow a second time after instantiating the plugin, like we used to do (fixes WMP 10) r+sr=bz
2007-08-20 10:40:08 -07:00
sharparrow1@yahoo.com
7f3077afff
Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc
2007-08-13 13:47:04 -07:00
cbiesinger@gmx.at
aa20fe26bc
382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly r+sr=bz
2007-08-02 14:15:05 -07:00
mconnor@steelgryphon.com
424ea449be
backing out bug 347743 due to major crasher in 386332
2007-06-29 10:21:55 -07:00
jst@mozilla.org
4fb982e2e3
Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org
2007-06-27 17:15:11 -07:00
benjamin@smedbergs.us
0ab7558e7b
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
2007-04-23 07:21:53 -07:00
roc+@cs.cmu.edu
0054412272
Bug 374866. Reftests for text-transform. r=dbaron
2007-03-22 16:01:14 -07:00
jst%mozilla.org
4541a78fc5
Fixing bug 430802 (and bug 405357). Prevent plugin instantiation code re-entrancy. r=jwatt@jwatt.org, sr=bzbarsky@mit.edu, a=beltzner
2008-05-06 20:49:30 +00:00
jst%mozilla.org
3ed71b1148
Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com
2008-02-29 02:06:00 +00:00
bzbarsky%mit.edu
48c626b9b6
Fix bug 402937 -- don't allow recursion into Instantiate(). r=biesi, sr=jst,
...
a=dsicore.
2007-12-03 22:09:00 +00:00
bzbarsky%mit.edu
764dedac5e
Don't show the plug-in view when it should actually be hidden. Bug 398213, r+sr=roc
2007-10-19 03:41:07 +00:00
cbiesinger%gmx.at
bb102a1571
391261 call SetWindow a second time after instantiating the plugin, like we used to do (fixes WMP 10)
...
r+sr=bz
2007-08-20 17:40:08 +00:00
sharparrow1%yahoo.com
4d2ba6a8dd
Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc
2007-08-13 20:49:35 +00:00
cbiesinger%gmx.at
3ee02b0d2d
382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly
...
r+sr=bz
2007-08-02 21:15:05 +00:00
mconnor%steelgryphon.com
fde07e07ff
backing out bug 347743 due to major crasher in 386332
2007-06-29 17:25:41 +00:00
jst%mozilla.org
d514bd490c
Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org
2007-06-28 00:15:12 +00:00
benjamin%smedbergs.us
3fb4912f5d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
2007-04-23 14:22:04 +00:00
dbaron%dbaron.org
b985c7a438
Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
2007-02-24 18:33:33 +00:00
dbaron%dbaron.org
116da6be23
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
darin%meer.net
7d3e7d7acd
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
roc+%cs.cmu.edu
64bd04b75c
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
42db31dfcc
Single line comments to describe files (helpful in LXR)
2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu
dba51376ea
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
f33ad65b06
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
f4d2e578db
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
d0abdc1385
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +00:00
cbiesinger%web.de
4ea76fc603
bug 322414
...
- clean up nsObjectFrame and remove unnecessary includes
- make the instanceowner hold an owning reference to the content node
- use GetOwnerDoc rather than GetCurrentDoc
r+sr=bz
2006-02-02 19:29:10 +00:00
roc+%cs.cmu.edu
5451e97878
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
2006-01-26 02:29:17 +00:00
cbiesinger%web.de
c5f73e4f62
bug 322052 remove now-unused mFullURL r+sr=bz
2006-01-02 18:57:14 +00:00
dbaron%dbaron.org
fa942bfd9e
Make nsObjectFrame not be a container anymore. b=309532 r=biesi sr=bzbarsky
2005-12-31 00:25:36 +00:00
cbiesinger%web.de
78347c9170
Bug 309521
...
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
content state for the former)
- make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
- Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor
2005-12-29 14:15:33 +00:00
cbiesinger%web.de
b657967736
bug 314679 remove some unused code from nsObjectFrame
...
r+sr=bz
2005-11-02 16:34:32 +00:00
cbiesinger%web.de
536ccd0080
bug 309706
...
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
- Make use of that in PrepareInstanceOwner, so that loading a new plugin in
the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
only eType_Plugin if mURI and mContentType are valid
r+sr=bz
2005-10-31 18:28:56 +00:00
cbiesinger%web.de
ea140b1ba1
Bug 309529
...
Move logic from nsObjectFrame::Instantiate(const char*, nsIURI*) into
nsObjectLoadingContent.
Also, fixes ext-to-type mapping if the URI does not implement nsIURL.
r+sr=bz
2005-10-29 12:56:44 +00:00