Commit Graph

32 Commits

Author SHA1 Message Date
Robert O'Callahan
8985dba9a7 Bug 500912. Remove realTimeDrag flag, it's always true. r=bzbarsky 2009-07-04 21:47:59 +12:00
Robert O'Callahan
7632d4205f Bug 491323. Allow splitters to collapse siblings that aren't XUL elements. Also fix the logic for finding the right sibling. r+sr=bzbarsky
--HG--
extra : rebase_source : 2b9728903dc6c8516ad3590398c5459a999e5a91
2009-05-21 14:50:17 +12:00
Robert O'Callahan
0cc4169245 Bug 384037. Eliminate nsFrameNavigator and switch XUL splitters to using nsFrameList instead. Also add a check so that we don't crash when a splitter's parent is not a XUL box. r+sr=dbaron
--HG--
extra : rebase_source : 2438d96782b0d3c976fe7adf4f8e167811d76e64
2009-04-25 20:33:32 +12:00
Arpad Borsos
460de5285f Bug 399753 - Remove nsISupportsArray in the layout directory; r+sr=roc 2009-03-30 20:08:06 +02:00
Neil Rashbrook
a151570f08 Bug 311053 XUL frames should respect preventDefault() [e.g. when menus are open] r=Enn sr=jst 2009-02-27 10:48:25 +00:00
Benjamin Smedberg
24e7cb1f78 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
50621e4f9f 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
d0b948876f 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
Boris Zbarsky
709cd54c51 Bug 284320. Remove the contentParentFrame hack in subdocument frames, along with the no-longer-used arg it used to be used for. r+sr=roc 2009-01-06 17:29:50 -05:00
Oleg Romashin
dca780321d Bug 455665 - nsSplitterFrameInner crashes in some special case. r+sr=bzbarsky. 2008-09-17 17:38:33 +03:00
jonas@sicking.cc
e639cf9471 Bug 423355: Make sure that we never remove removable blockers more than once. Also make sure to never fire mutation events when it's not safe to run script. r/sr=bz/roc a=beltzner 2008-04-14 16:59:21 -07:00
timeless@mozdev.org
d7e775a7be Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
timeless@mozdev.org
90f2f08b18 reverting 2008-03-19 14:44:51 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
reed@reedloden.com
693a20ed32 Bug 366531 - "deCOMtaminate nsBox.h [BoundsCheck()]" [p=ldx@users.sourceforge.net (Lorenzo Dieryckx) r+sr=roc a1.9=damons] 2008-01-04 21:49:44 -08:00
jonas@sicking.cc
1a15d13e25 relanding bug 400327 since it doesn't look to be the source of the regression 2007-11-14 19:38:16 -08:00
jonas@sicking.cc
271bb97cf4 Backing out bug 400327 too see if that helps Ts 2007-11-14 11:11:59 -08:00
enndeakin@sympatico.ca
e9884990d0 Bug 400327, use a different mechanism for the spliiter, insert it when the url and search fields are adjacent, r=mano,neil,sr=neil,a=schrep 2007-11-13 10:53:56 -08:00
reed@reedloden.com
7e8456e8f3 Completely backout patch from Jonathan Steele in bug 399753 due to bustage. 2007-10-14 20:42:27 -07:00
reed@reedloden.com
2d9ccdb82c Bug 399753 - "Remove "nsISupportsArray" in the layout directory" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr+a1.9=dbaron] 2007-10-14 20:09:59 -07:00
bzbarsky@mit.edu
2e2b88acf4 Make sure we always resolve style contexts with the right parent. Bug 390689, r+sr+a=dbaron 2007-10-03 19:58:48 -07:00
neil@parkwaycc.co.uk
b606318829 Bug 393459 Can't use <splitter resizeafter="grow"> without a next subling r=Enn sr=bz a=dbaron 2007-08-24 03:39:08 -07:00
jwalden@mit.edu
e3c4baccae 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
Olli.Pettay@helsinki.fi
3abcfaa5a3 Bug 378961, r+sr=roc 2007-05-21 00:33:32 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
mats.palmgren@bredband.net
587e9762aa Don't create a widget if the view already has one and check error return code from CreateViewForFrame(). b=374102 r+sr=roc 2007-05-13 17:42:38 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
3cb4bc9240 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
mats.palmgren@bredband.net
731778235e Create a rendering context before calling GetPrefSize and friends and assert in those methods that we have one. b=379090 r+sr=dbaron 2007-04-29 15:24:59 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00