Jan Küchler
8774547613
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
2011-04-07 18:04:40 -07:00
Jan Küchler
ed48629385
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
2011-04-07 18:04:39 -07:00
Ms2ger
cc1d294433
Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz
2011-03-29 22:24:54 -04:00
Boris Zbarsky
157311511c
Bug 621841. Clear restyle flags in frameset kids when we process them. r=dbaron
2011-03-04 10:27:02 -05:00
Ehsan Akhgari
1fcd12338e
Bug 579767 - Frame borders are sometimes not redrawn correctly after dragging them or resizing the window; r,a=roc
2011-01-26 00:41:52 -05:00
Chris Double
b4c3ee2ad8
Bug 623998 - Reduce frameset size limit - r=roc a=blocking2.0:final
2011-01-25 14:38:07 +13:00
L. David Baron
913a31cc5c
Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:46 -07:00
Ms2ger
517ebe645a
Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron
2010-08-24 09:06:20 +02:00
Ms2ger
96d1354051
Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron
2010-08-24 09:06:07 +02:00
Robert O'Callahan
b2f6635dcb
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
2010-08-13 22:01:58 +12:00
Robert O'Callahan
6994544c46
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
2010-08-13 22:01:13 +12:00
Michael Ventnor
c40f8edbb0
Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel
2010-07-16 09:07:49 +12:00
Timothy Nikkel
6d5bb7c8de
Bug 564368. Clear lazy frame construction bits when constructing framesets. r=bzbarsky
2010-05-11 19:30:42 -05:00
Timothy Nikkel
ce1608e8c4
back out e40cbab6a972 (Bug 564705) 590da60fd253 (Bug 507628 and bug 507991) b166415b8c3f (Bug 564368) 0dac5d3eeb97 (Bug 564063) 116e56d84770 (Bug 563407) c51c93f5240f (Bug 536495) for some orange
2010-05-11 22:01:08 -05:00
Timothy Nikkel
9e34354b60
Bug 564368. Clear lazy frame construction bits when constructing framesets. r=bzbarsky
2010-05-11 19:30:42 -05:00
Boris Zbarsky
e708accf00
Bug 562688 part 11. Eliminate eELEMENT usage in layout/generic. r=dbaron
2010-04-30 09:12:06 -04:00
Felipe Gomes
6f9c5ea1d9
Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc]
2010-04-07 20:31:26 -04:00
Ehren Metcalfe
97778d4898
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
Robert O'Callahan
f3b7e90c94
Bug 526394. Part 15: Convert various random chunks of layout code. r=mats
2009-09-03 16:26:00 +12:00
Boris Zbarsky
5724a5fa2e
Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc
2009-12-24 16:20:05 -05:00
Boris Zbarsky
753175c110
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
e06b127edc
Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
e28191d463
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
03f70fa558
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-10 14:36:05 -08:00
Boris Zbarsky
c15825906b
Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron
2009-12-10 14:36:04 -08:00
Boris Zbarsky
37b18a8aa8
Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron
2009-12-10 14:36:04 -08:00
Robert O'Callahan
9d5b5ae49a
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
2009-09-07 12:35:14 +12:00
David Zbarsky
aadd6cf119
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Neil Deakin
b89b975d2d
Bug 516615, when capturing, check if the target frame's content is a descendant of the capturing content, rather than using the frame tree, r=roc,sr=smaug
2009-09-28 10:17:01 -04:00
Mats Palmgren
6247c7c4c6
Bug 233463, patch 0 - Use nsFrameList methods instead of nsIFrame::SetNextSibling. r=bzbarsky
2009-09-18 13:09:35 +02:00
Neil Deakin
072598c8a3
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-13 09:13:16 -04:00
Zack Weinberg
b6fe8205dd
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
Neil Deakin
38553ecb4a
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
12bece4d53
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-10 08:51:36 -04:00
Boris Zbarsky
c95cebf89b
Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
2009-08-24 20:51:57 -04:00
David Zbarsky
630c8fc41e
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Neil Deakin
91f15043a4
Bug 230081, use proper cursors for frameset border resizing, r=dbaron
2009-08-12 10:03:35 -04:00
Boris Zbarsky
a8b4b2dc7e
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
David Bolter
9ec4d5a451
Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking
2009-06-29 14:36:25 -04:00
Arpad Borsos
495906e0a3
Bug 492520 - Optimize some Frame classes for memory usage; r+sr=roc
2009-05-12 12:13:09 +02:00
Daniel Holbert
9e76962785
Bug 490909: Remove old layout debugging code, patch #2 : remove 'VerifyTree' & related code. r+sr=dbaron
2009-05-12 12:03:09 -07:00
Olli Pettay
0b3823aa3b
Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron
2009-03-11 17:43:08 +02:00
Boris Zbarsky
a0100d4965
Bug 473390 part 3. Move some HTML frame construction assertions out of the frame constructor and into the relevant frame creation methods. r+sr=roc
2009-01-19 13:31:31 -05:00
Boris Zbarsky
46fe973cde
Bug 473390 part 2. Call SetInitialChildList on HTML frames even if the child list is empty, to bring HTML in line with everything else. r+sr=roc
2009-01-19 13:31:31 -05:00
Jeremy Lea
3e1e90f73a
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
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
0f95227641
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.
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
7a084ac404
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
991a16d8bc
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
Zack Weinberg
851825146e
Bug 416907 - Crash [@ nsHTMLFramesetFrame::Reflow] with frameset in mroot; r+sr=roc
2008-10-30 18:10:19 +01:00
87036333c7
Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
2008-04-11 10:29:06 -07:00