L. David Baron
d9ac02ed8c
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 12:33:09 -08:00
Boris Zbarsky
19ab2da798
Bug 479178. Remove some unnecessary refcounting in XUL trees. r+sr=roc
2009-02-19 11:55:07 -05:00
L. David Baron
a91aa25ab0
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
8b207bcc51
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
366992262c
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-18 17:13:25 -08:00
Neil Deakin
c3cb40f239
Bug 474149, use SetPopupPosition for popup moveTo handling, should fix jumpiness when moving a popup, r+sr=roc
2009-02-17 10:51:11 -05:00
Peter Van der Beken
691b82b80e
Fix for bug 391448 (Force layout/dom/content code to use classinfo macros that don't use the service manager.). r/sr=jst.
2009-02-17 15:08:08 +01:00
Ehsan Akhgari
1de3732803
Bug 478377 - Support specifying direction for :-moz-tree-cell pseudo class through CSS; r+sr=roc
2009-02-15 10:51:40 +03:30
Jesse Ruderman
f154077a31
Add crashtests
2009-02-13 14:54:17 -08:00
Jesse Ruderman
68344d4b52
Add a bunch of crashtests
2009-02-10 22:18:05 -08:00
Jesse Ruderman
c9eb6349ac
Add some crashtests
2009-02-10 16:36:04 -08:00
Ehsan Akhgari
9d397bfc47
Bug 476346 - RTL Tree lines are rendered incorrectly; r,sr=roc
2009-02-06 11:44:47 +03:30
Boris Zbarsky
90b7f6132f
Address review comment from bug 299837. r+sr=dbaron
2009-02-05 22:52:47 -05:00
Boris Zbarsky
6f9a0da875
Bug 299837. Implement text-align:end. r+sr=dbaron
2009-02-05 22:48:30 -05:00
mak77@bonardo.net
10a1ba597c
Bug 475273 - Double Clicking a Folder in Right Pane causes Left Pane Tree items to expand and collapse (r=mano)
2009-02-04 09:49:44 -08:00
Arpad Borsos
829f9f024a
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
Neil Deakin
cbee03cb58
Bug 473847, progressmeters with large max don't work properly, caused by multiplication overflow, r+sr=dbaron
2009-01-23 10:02:31 -05:00
Neil Deakin
bf030ccabd
Bug 467360, support buttons with child panels, r+sr=neil
2009-01-20 12:46:55 -05:00
Neil Deakin
ad4f866114
Bug 474336, updating max on progressmeter doesn't update display, r+sr=neil
2009-01-20 12:46:52 -05:00
Boris Zbarsky
b868afeb9d
Bug 473390 part 14. Eliminate the mRootBox member of the frame constructor state, and move its only consumer into the relevant frame Init method. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
0ae5192503
Bug 473390 part 11. Make some of the nsIBoxLayout constructors have nicer signatures. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
f3a2fedf99
Bug 473390 part 10. Move various XUL nsIBoxLayout stuff out of the frame constructor into frame creation functions, and make the XUL frame creation functions have the right signature to fit into the new world. r+sr=roc
2009-01-19 13:31:33 -05:00
Nickolay Ponomarev
dc72b9cc31
Bug 472189. Delay attribute changes for progressmeter updates via script-runnables. r=enn,sr=roc
2009-01-19 22:29:48 +13:00
Kai Liu
4b0b5e5530
Bug 240536 - resizer direction is to the right, when interface is RTL; r=roc,mano sr=roc
2009-01-18 13:58:19 +03:30
Olli Pettay
beca38650c
Bug 472502, r+sr=bz
2009-01-17 19:47:57 +02:00
Jeremy Lea
1800930122
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
Neil Deakin
564a1b1853
Bug 472090, fix variable name
2009-01-14 13:56:07 -05:00
Neil Deakin
a7f74b19f7
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
6373ae3766
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
4d6f0e54b7
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
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
Robert O'Callahan
28a011aa13
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
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
Neil Rashbrook
5c47786c30
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
7dd8ac103b
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
eee42cfdd7
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
cf4b91bb09
Add 19 crashtests
2009-01-01 14:18:58 -08:00
Olli Pettay
4b02c1ec1d
Bug 471543, r=enndeakin, sr=roc,
2008-12-31 11:29:22 +02:00
Neil Deakin
afa8cec7f5
Bug 393582, Improve naNavigationDirection code, patch=karunasagark@gmail.com,r=enn,sr=bz
2008-12-30 08:30:51 -05:00
L. David Baron
17691f4b06
Fix trivial compiler warning introduced by bug 471356.
2008-12-29 18:33:46 -05:00
Brad Lassey
147efe7cb0
bug 469412 - remove native widgets from xul decks, mobile only r+sr=roc
2008-12-29 12:00:12 -05:00
L. David Baron
23d4f4d4b2
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
6ec0884f32
Remove bogus assertion. (Bug 470063) r+sr=roc
2008-12-23 09:06:56 -05:00
Mark Banner
e3b3b94e98
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
3209d46da1
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
5e20bae7bc
Bug 399227 Crash @ nsTreeSelection::GetSingle, null mTree. r=enndeakin,sr=Neil
2008-12-22 15:32:19 +00:00
Joe Drew
a29562512b
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
685b30c311
Bug 279539, rework SetPopupPosition to be simpler, r+sr=roc
2008-12-10 07:19:16 -08:00
Neil Deakin
d842887270
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
3e5f6435ab
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
4d0acd8eae
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
58f4455a2a
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
294499eab5
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
02efc97525
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
e3f1d1a2f5
Bug 312852 - Tooltip should not appear during a drag, r=smaug sr=roc
2008-12-08 15:59:29 +01:00
Markus Stange
84dc324275
Convert nsXULTooltipListener.cpp to use static_casts.
2008-12-08 15:27:21 +01:00
Mats Palmgren
c3e7f32e2e
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
368d82a815
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
6b5999344e
Bug 396699, rename popup list variables to be clearer, r=bz
2008-12-05 11:37:30 -05:00
Olli Pettay
b6effe14d5
Bug 430214, patch2, r+sr=roc
2008-12-03 13:11:34 +02:00
Olli Pettay
ebe1836060
Bug 466326 - #!!! ASSERTION: killing mutation events: 'nsContentUtils::IsSafeToRunScript(), r=enn,sr=sicking
2008-12-03 12:56:58 +02:00
Michael Ventnor
e02630a781
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
6220f97555
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
ea8dd114d1
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
f6f4295a88
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
0d380f02a0
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -08:00
Markus Stange
b74f016d99
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
9a338d486e
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
9157896344
Backed out changeset 5d65342d7287 to fix orange
2008-10-31 11:08:24 -07:00
Peter Van der Beken
71167e05be
Backed out changeset 5d65342d7287 to fix orange
2008-10-31 11:07:26 -07:00
Benjamin Smedberg
b1918bb2c3
Bug 462381 - Build layout directories in parallel r=ted sr=roc
2008-10-31 09:07:15 -07:00
Peter Van der Beken
155edafd57
Fix for bug 461560 (Make nsNamedArraySH::NamedItem not AddRef/Release). r/sr=bz.
2008-10-31 08:55:59 -07:00
Mook (sb)
aa3725523f
Bug 442419 - allow custom max for progressmeter; r=enndeakin, sr=roc
2008-10-30 13:04:23 +03:30
Benjamin Smedberg
66c4db9362
Windows-only build bustage from bug 461576 - use nsresult instead of NS_IMETHODIMP
2008-10-28 01:50:19 -04:00
Benjamin Smedberg
30eacd2625
Bug 461576 - nsListBoxBodyFrame shouldn't need to implement nsIListBoxObject - r=enn sr=roc
2008-10-28 00:47:19 -04:00
Benjamin Smedberg
09975e25e4
Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc
2008-10-28 00:47:19 -04:00
Markus Stange
a4d7ed2f89
Backout of bug 457864, more tests need to be fixed first
2008-10-27 22:34:56 +01:00
Markus Stange
3b03443ff5
Bug 457864 - ScrollTo doesn't know NS_SCROLL_PROPERTY_ALWAYS_BLIT, so remove it. r+sr=roc
2008-10-27 20:27:08 +01:00
Bernd
6777c42861
bug 258377, make border collapsed tables to listen for dynamic border style changes r/sr=bzbarsky
2008-10-26 11:11:34 +01:00
Peter Van der Beken
f3f2a880fb
Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz.
2008-10-22 16:31:14 +02:00
Robert O'Callahan
1d6e5b528c
Bug 459086. Use XUL GetBorderAndPadding method to avoid assertion. r+sr=dbaron
2008-10-21 20:43:58 +13:00
Markus Stange
80fb0fdde4
Bug 460587 - Fixing bad merge: changeset fbb71be15c4d (bug 450944) accidentally reverted a part of changeset 1df65cbf518a (bug 451300)
2008-10-20 10:42:22 +02:00
Markus Stange
2c38adaec7
Bug 450944 - Implement -moz-window-shadow functionality on Mac OS X, r=hwaara sr=roc.
...
This patch turns on window shadows for transparent windows by default, so the identity popup and the "edit bookmarks" popup will get a shadow, too. ui-r=faaborg
2008-10-14 17:33:40 +02:00
L. David Baron
9d7714304c
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
Arpad Borsos
8b11d938d2
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Taras Glek
2c733370d0
Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst
2008-10-09 16:23:07 -07:00
Neil Rashbrook
33d68116bb
Followup to bug 438517 to avoid a debug assertion by including the element in its overflow r+sr=roc
2008-10-08 13:20:14 +01:00
Zack Weinberg
62dec54d8c
Bug 456147 - Fix color and layering of text-decoration:line-through in XUL textboxes [r=enndeakin sr=dbaron]
2008-10-01 00:46:18 -05:00
Rob Arnold
4fc0ecadda
Fixed rgba(0,0,0,0) problem for text-shadow - bug 438517 r+sr=roc
2008-09-30 22:30:32 -04:00
Rob Arnold
d1621dec9e
Bug 438517 - Add text-shadow support to nsTextBoxFrame r+sr=roc
2008-09-30 20:57:51 -04:00
Boris Zbarsky
d674c8ca02
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1
Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions
2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04:00
Robert O'Callahan
279af36fc7
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00
Justin Wood
6a3624f6f3
Bug 457353, Remove nsIListBoxObject::listboxBody
...
r+sr=bzbarsky
2008-09-27 11:38:18 -04:00
Robert O'Callahan
6a45b282aa
Backing out bug 448830
2008-09-26 13:10:26 +12:00