Commit Graph

510 Commits

Author SHA1 Message Date
Ehsan Akhgari
308d8a9f2f Bug 404149 - Underline width doesn't correspond to character width in Arabic/Persian script; r=roc,smontagu sr=roc 2009-03-21 12:08:14 +03:30
Daniel Holbert
ecaa205b6b Adding crashtests for bug 391178 2009-03-11 17:22:03 -07:00
Olli Pettay
68a0322fcd Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Boris Zbarsky
2423744439 Bug 481688. Stop firing our DOMLink* events to content. r+sr=smaug 2009-03-06 13:12:20 -05: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
Ehsan Akhgari
6166e0dd40 Bug 477754 - [RTL] Customize toolbar sheet is placed mostly outside of the browser; r=enndeakin sr=roc 2009-02-27 11:53:03 +03:30
Robert O'Callahan
19082bf736 Bug 406646. Make sure to only search *visible* popups for mouse event targets. r=enndeakin
--HG--
extra : rebase_source : bd0825d6a6469a10dcdd9e4ae9e9c91dcbafbe99
2009-02-24 21:25:25 +13:00
Neil Deakin
5f445d97f3 Bug 477326, initialize mCachedMousePoint, r+sr=roc 2009-02-23 14:45:01 -08:00
Nickolay Ponomarev
94d48fa440 bug 475133 - Crash [@ nsStyleContext::GetRuleNode] with <xul:progressmeter>, DOMAttrModified event
r=enn, sr=roc
Don't forget to block scripts when manually calling nsProgressMeterFrame::AttributeChanged in progressmeter initialization to prevent evil mutation event listeners from crashing us.
2009-02-23 17:15:31 +03:00
L. David Baron
fa9a21c33d 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 21:29:21 -08:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
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