Michael Ventnor
12a1a65607
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
decee2af06
Bug 564368. Clear lazy frame construction bits when constructing framesets. r=bzbarsky
2010-05-11 19:30:42 -05:00
Timothy Nikkel
1d92002f2d
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
b9877a560f
Bug 564368. Clear lazy frame construction bits when constructing framesets. r=bzbarsky
2010-05-11 19:30:42 -05:00
Boris Zbarsky
604dc99bd4
Bug 562688 part 11. Eliminate eELEMENT usage in layout/generic. r=dbaron
2010-04-30 09:12:06 -04:00
Felipe Gomes
5ff6f33f77
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
81deb6e11f
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
Robert O'Callahan
f82492d133
Bug 526394. Part 15: Convert various random chunks of layout code. r=mats
2009-09-03 16:26:00 +12:00
Boris Zbarsky
644c5ccda9
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
db9b2aaefe
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
d5f8e4cdf6
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
db14a0dddb
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
2a81b03ca3
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
b97812d658
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
86cb90087a
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
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
David Zbarsky
51cc52c705
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Neil Deakin
e48a6214b5
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
b97e6400ed
Bug 233463, patch 0 - Use nsFrameList methods instead of nsIFrame::SetNextSibling. r=bzbarsky
2009-09-18 13:09:35 +02:00
Neil Deakin
1407ec3768
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
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
Neil Deakin
00be9d327e
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
6d0ee32302
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
79edda8c98
Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
...
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
ac5c73f4b2
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Neil Deakin
f346087031
Bug 230081, use proper cursors for frameset border resizing, r=dbaron
2009-08-12 10:03:35 -04:00
Boris Zbarsky
d69901f7d3
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
David Bolter
f1798f3a4f
Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking
2009-06-29 14:36:25 -04:00
Arpad Borsos
746f18df96
Bug 492520 - Optimize some Frame classes for memory usage; r+sr=roc
2009-05-12 12:13:09 +02:00
Daniel Holbert
70e1c3c3f2
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
75904cb6f2
Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron
2009-03-11 17:43:08 +02:00
Boris Zbarsky
a71a7fc3a2
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
42028dd8b5
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
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
Zack Weinberg
149eb713eb
Bug 416907 - Crash [@ nsHTMLFramesetFrame::Reflow] with frameset in mroot; r+sr=roc
2008-10-30 18:10:19 +01:00
bent.mozilla@gmail.com
375f81757e
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
jonas@sicking.cc
75616dfab3
Backing out due to test failures
2008-04-08 20:20:39 -07:00
jonas@sicking.cc
6006e7c4cc
Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
2008-04-08 19:06:27 -07:00
roc+@cs.cmu.edu
7baa9db579
Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats
2008-01-03 18:08:29 -08:00
bzbarsky@mit.edu
3f4c992470
Make attribute changes that also cause a state change properly reresolve style
...
when a selector uses both the state and the attribute. Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu
12e960c504
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
mats.palmgren@bredband.net
0711c3f514
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
sharparrow1@yahoo.com
f9454ae18a
Bug 385862: View usage cleanups. r+sr=roc
2007-06-27 09:37:50 -07:00
Olli.Pettay@helsinki.fi
1288e8f209
Additional patch for bug 369150, r+sr=bz
2007-04-10 12:08:21 -07:00
bzbarsky@mit.edu
bf5ea77d39
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
Olli.Pettay@helsinki.fi
000009aabe
Bug 369168, r+sr=roc
2007-03-26 22:30:14 -07:00
Olli.Pettay@helsinki.fi
2fa9428129
backout Bug 369168
2007-03-23 03:03:25 -07:00