Neil Deakin
db3620bb88
Bug 472090, fix variable name
2009-01-14 13:56:07 -05:00
Neil Deakin
dd6cf51b95
Bug 472090, change scale to use a listener instead of mutation events, r=smaug,sr=neil
2009-01-14 13:21:58 -05:00
Nick Kreeger
77cbc0d00a
Fixing Bug 454632 - Resizing tree widget always re-scrolls to current index. r=enndeakin,sr=bz. Patch by Stephen Lau <steve@grommit.com>.
2009-01-13 10:50:26 -08:00
Ehsan Akhgari
e66feae7d5
Bug 140759 - tree cell content is not aligned to the right when tree direction is right to left; r=roc,gavin sr=roc
2009-01-13 21:30:06 +03:30
Benjamin Smedberg
3498a5f86e
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
73a6fab34b
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
802d1a10c7
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
Robert O'Callahan
6f170c091a
Bug 467481. Don't reorder the children of listboxbody frames using their ordinals. r+sr=bzbarsky
2009-01-09 13:11:30 +13:00
Boris Zbarsky
c21dedd075
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
Neil Rashbrook
e3c223e4a9
Bug 249141 Incorrect ellipsis width calculation when all text cropped from right r=Enn sr=roc
2009-01-06 21:35:18 +00:00
Neil Deakin
5b64c76a07
Bug 342619, don't resize context menus when they would fit on the screen, r+sr=roc
2009-01-06 14:21:23 -05:00
L. David Baron
f6824a9fa5
Replace space manager with a more limited float manager. (Bug 191448) r+sr=roc
...
--HG--
rename : layout/generic/nsSpaceManager.cpp => layout/generic/nsFloatManager.cpp
rename : layout/generic/nsSpaceManager.h => layout/generic/nsFloatManager.h
2009-01-04 19:39:54 -05:00
Jesse Ruderman
e7ff093116
Add 19 crashtests
2009-01-01 14:18:58 -08:00
Olli Pettay
e9a866b929
Bug 471543, r=enndeakin, sr=roc,
2008-12-31 11:29:22 +02:00
Neil Deakin
a686e28c9e
Bug 393582, Improve naNavigationDirection code, patch=karunasagark@gmail.com,r=enn,sr=bz
2008-12-30 08:30:51 -05:00
L. David Baron
fddc57968b
Fix trivial compiler warning introduced by bug 471356.
2008-12-29 18:33:46 -05:00
Brad Lassey
3b2a619ccc
bug 469412 - remove native widgets from xul decks, mobile only r+sr=roc
2008-12-29 12:00:12 -05:00
L. David Baron
4690547534
Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
...
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
6cd1175364
Remove bogus assertion. (Bug 470063) r+sr=roc
2008-12-23 09:06:56 -05:00
Mark Banner
1b4ce5b24a
Additional crashtest fix follow up from bug 399227 - catch errors thrown by functions that now fail, so that the test completes properly
2008-12-22 19:05:25 +00:00
Mark Banner
ab95407e2c
Crashtest fix follow up from bug 399227 - Add missing removeAttribute to let the crashtests finish
2008-12-22 17:05:18 +00:00
Mark Banner
6212ba3693
Bug 399227 Crash @ nsTreeSelection::GetSingle, null mTree. r=enndeakin,sr=Neil
2008-12-22 15:32:19 +00:00
Joe Drew
b6eec2ca8e
Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad
2008-12-19 17:35:50 -05:00
Neil Deakin
0d716981d6
Bug 279539, rework SetPopupPosition to be simpler, r+sr=roc
2008-12-10 07:19:16 -08:00
Neil Deakin
c3720738b1
Bug 404314, create widget when setting menugenerated attribute, prevents assertion and issues with menu selection, r+sr=roc
2008-12-19 08:43:24 -05:00
L. David Baron
dbc2fcff87
Move wrapping of blocks inside XUL into ProcessChildren to catch more callers. (Bug 421203) r+sr=roc a=blocking1.9.1+
...
--HG--
rename : layout/reftests/bugs/321402-3.xul => layout/reftests/bugs/421203-3.xul
rename : layout/reftests/bugs/321402-4.xul => layout/reftests/bugs/421203-4.xul
rename : layout/reftests/bugs/321402-5.xul => layout/reftests/bugs/421203-5.xul
rename : layout/reftests/bugs/321402-6.xul => layout/reftests/bugs/421203-6.xul
2008-12-16 16:30:31 -08:00
Graeme McCutcheon
5a486a7210
Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc
2008-12-12 14:25:22 -05:00
Robert Sayre
665787ada2
Backout JOEDREW! patches for bug 89419 and bug 393936. Looks like they make mochitest leak.
2008-12-11 01:27:58 -08:00
Joe Drew
75a9cd7d92
Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad
2008-12-10 16:25:34 -08:00
Masayuki Nakano
d0f1d2ee30
Bug 83056 Add support for windows sounds to Menus r=enndeakin, sr=roc, ui=jboriss
2008-12-11 02:23:20 +09:00
Markus Stange
a54fb0ee69
Bug 312852 - Tooltip should not appear during a drag, r=smaug sr=roc
2008-12-08 15:59:29 +01:00
Markus Stange
b159f50abb
Convert nsXULTooltipListener.cpp to use static_casts.
2008-12-08 15:27:21 +01:00
Mats Palmgren
c30beea957
Inherit -moz-box-ordinal-group to special frames and use a stable sorting algorithm (mergesort). b=431705 r+sr=roc
2008-12-07 19:11:30 +01:00
Neil Deakin
6c57a644eb
Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
...
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
Neil Deakin
0f19bdcbc1
Bug 396699, rename popup list variables to be clearer, r=bz
2008-12-05 11:37:30 -05:00
Olli Pettay
bf95afc67c
Bug 430214, patch2, r+sr=roc
2008-12-03 13:11:34 +02:00
Olli Pettay
ec915633cc
Bug 466326 - #!!! ASSERTION: killing mutation events: 'nsContentUtils::IsSafeToRunScript(), r=enn,sr=sicking
2008-12-03 12:56:58 +02:00
Michael Ventnor
1976d96d55
Bug 458031. Take dirty rect into account to limit box-shadow computation. r+sr=roc
2008-12-03 10:16:22 +13:00
Robert O'Callahan
9859e49779
Bug 463292. Make text-shadows in XUL nsTextBoxFrames get the correct overflow area and actually paint when only the overflow area is intersected. r+sr=dbaron
2008-11-26 11:59:06 +13:00
Brad Lassey
f756be8f77
backing out changesets 026147c91538, fb2326fcfc36, ebf0c7cf17be, 57e6a1e9041e, 1f5d2c249f86 and d7a7824d6990 due to crash on linux talos machines durring tp.
2008-11-26 12:20:26 -05:00
Robert O'Callahan
e1b15170d8
Bug 463292. Make text-shadows in XUL nsTextBoxFrames get the correct overflow area and actually paint when only the overflow area is intersected. r+sr=dbaron
2008-11-26 11:59:06 +13:00
Robert O'Callahan
f27247750a
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -08:00
Markus Stange
fd756f249f
Bug 457864 - ScrollTo doesn't know NS_SCROLL_PROPERTY_ALWAYS_BLIT, so remove it. r+sr=roc (relanding)
2008-11-01 15:08:54 +01:00
Peter Van der Beken
bdb12bc1ac
Fix for bug 461560 (Make nsNamedArraySH::NamedItem not AddRef/Release). r/sr=bz.
2008-10-31 14:40:35 -07:00
Peter Van der Beken
49403fde2d
Backed out changeset 5d65342d7287 to fix orange
2008-10-31 11:08:24 -07:00
Peter Van der Beken
1b45b6af24
Backed out changeset 5d65342d7287 to fix orange
2008-10-31 11:07:26 -07:00
Benjamin Smedberg
5eb7ef79cd
Bug 462381 - Build layout directories in parallel r=ted sr=roc
2008-10-31 09:07:15 -07:00
Peter Van der Beken
bdbf96f3cd
Fix for bug 461560 (Make nsNamedArraySH::NamedItem not AddRef/Release). r/sr=bz.
2008-10-31 08:55:59 -07:00
Mook (sb)
a3c8811bc4
Bug 442419 - allow custom max for progressmeter; r=enndeakin, sr=roc
2008-10-30 13:04:23 +03:30
Benjamin Smedberg
75a0f8c504
Windows-only build bustage from bug 461576 - use nsresult instead of NS_IMETHODIMP
2008-10-28 01:50:19 -04:00