Commit Graph

879 Commits

Author SHA1 Message Date
Boris Zbarsky
f2936464e5 Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron 2009-07-30 13:23:32 -04:00
Boris Zbarsky
2a109b5e0a Bug 504975. Go back to overriding HandleMultiplePress on various XUL frames. r=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
5fefb45a48 Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
db6ff446ab Bug 504221 part 5. Switch from GetFirstChild to GetChildList (returning an nsFrameList). For now, keep a GetFirstChild shim so callers don't have to be updated. r=fantasai, r+sr=roc 2009-07-28 08:51:09 -04:00
Michael Kohler
404670f1f3 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Olli Pettay
1352242ce7 Bug 375928, r=roc, sr=neil 2009-07-26 15:15:11 +03:00
timeless@mozdev.org
3229418722 Bug 504172 useless null check of first in nsXULPopupManager::Rollup
r=roc
2009-07-22 17:31:02 -05:00
Robert O'Callahan
5fa812e479 Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies 2009-07-22 12:45:13 +12:00
Robert O'Callahan
c9fb8410a3 Bug 352093. Part 7: nsXULPopupManager should store coordinates relative to GetRootWidget to avoid confusion. r=enndeakin 2009-07-22 12:45:06 +12:00
Olli Pettay
20976634f6 bug 503699, r+sr=roc 2009-07-21 14:58:30 +03:00
Joe Drew
6c441f55f7 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Ehsan Akhgari
51f18a5be7 Bug 176244 - Fix column resize and reorder issues when direction is rtl; r=roc,enndeakin sr=roc 2009-07-15 11:52:42 +04:30
Simon Montagu
650af63626 Check alt text for right-to-left characters and enable bidi processing if they are found. Bug 503269, r+sr=roc 2009-07-12 06:32:48 -07:00
Masayuki Nakano
92c201750d Bug 502799 add new nsISound method for the event sounds r=roc+neil, sr=roc 2009-07-09 10:55:46 +09:00
Robert O'Callahan
8985dba9a7 Bug 500912. Remove realTimeDrag flag, it's always true. r=bzbarsky 2009-07-04 21:47:59 +12:00
Olli Pettay
9b040244e9 Bug 490196, r+sr=roc 2009-07-02 17:47:00 +03:00
Olli Pettay
6041f8abed Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking 2009-06-30 10:56:40 +03:00
Robert O'Callahan
8e2c443f4f Bug 500629. Remove NS_SCROLL_PROPERTY_ALWAYS_BLIT, only XUL listboxes use it, and for no good reason. r+sr=bzbarsky
--HG--
extra : rebase_source : 262ff065fd9bbc7687a5aa1f9c330626878cdf25
2009-06-29 10:48:59 +12:00
timeless@mozdev.org
aeb6b97ad8 Bug 494689 nsTreeBodyFrame::HandleEvent warning: unused variable ‘lastScrollLines’
r+sr=neil
2009-06-27 18:42:51 -07:00
Timothy Nikkel
123b9246d1 Bug 498228 - "Profile item doesn't look selected anymore in the profile manager." r+sr=bzbarsky 2009-06-26 15:31:16 -04:00
Neil Deakin
463ebf9287 Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Timothy Nikkel
cf4b6c605c Bug 488210. Stop returning non-listitems' frames from GetNextItemBox. r+sr=bzbarsky 2009-06-23 21:35:01 -04:00
Karl Tomlinson
25e68aba92 b=497033 shutdown crash @nsMenuBarFrame::SetStayActive r=enndeakin,sr=bz 2009-06-20 13:36:33 +12:00
Daniel Brooks
deacc87633 Bug 495002 - nsPresContext ought to have CSSPixelsToDevPixels and DevPixelsToCSSPixels methods
r=bz, sr=roc
2009-06-18 03:35:11 -05:00
L. David Baron
0d06184f97 Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Jesse Ruderman
398d049cfc Fix order of crashtests 2009-06-12 19:22:15 -07:00
Boris Zbarsky
57cd0d56c8 Adding test 2009-06-12 22:03:11 -04:00
Neil Deakin
f07c61b0cb Bug 404766, right click on a bookmark menuitem closes it instead of opening another context menu, r+sr=roc 2009-06-12 14:23:16 -04:00
Timothy Nikkel
5b29e448a0 Bug 495728 - "###!!! ASSERTION: destroy called on frame while scripts not blocked: '!nsContentUtils::IsSafeToRunScript()', file /Users/bzbarsky/mozilla/vanilla/mozilla/layout/generic/nsFrame.cpp, line 446." r+sr=bzbarsky 2009-06-11 13:09:33 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Jesse Ruderman
967c283ff8 Add crashtest for bug 464149 2009-06-07 11:33:10 -07:00
Gavin Sharp
cda659cb28 Bug 496103: don't cancel mousedown events for menus (prevents dragging bookmark folders on the bookmark toolbar), r+sr=Neil. Test by Marco Bonardo <mak77@bonardo.net>, r=dietrich 2009-06-03 22:43:03 -04:00
Robert O'Callahan
8c7da0cfb7 Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner 2009-05-28 17:01:42 +12:00
Justin Dolske
cf8fb28253 Bug 493508 - video <scale> thumb can jump around while it's being dragged. r=roc, r/sr=mconnor, a192=beltzner 2009-05-20 22:27:01 -07: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
Arpad Borsos
319919e714 Bug 492520 - Optimize some Frame classes for memory usage; r+sr=roc 2009-05-12 12:13:09 +02:00
Ryo Onodera
5e72993bff Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Neil Deakin
9c28b4c2b5 Bug 393186, better handle popups when multiple screens are used, r+sr=roc 2009-05-06 14:29:56 -04:00
Neil Deakin
43a07bed47 Bug 374288, don't open tooltips on items in a menu when the listener is outside of it, r+sr=neil 2009-05-04 10:55:47 -04:00
Neil Deakin
6e32668a4e Bug 488084, set mCurPos when slider frame is initialized, so that it is set properly, r+sr=neil 2009-05-04 10:55:41 -04:00
Neil Rashbrook
0b494fd2d1 Bug 488752 Incorrect menulist behaviour on Mac OS X r=enn sr=roc 2009-05-01 13:24:49 +01:00
Boris Zbarsky
dcc22a1654 Bug 481024. Text control frame screws up max-width and max-height. r+sr=dbaron 2009-04-27 14:18:37 -07: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
Bob Clary
0ffcd2982b bug 430394 - crash test by Martijn Wargers. 2009-04-24 10:08:23 -07:00
Bob Clary
170da80c73 bug 391974 - crash test by Martijn Wargers. 2009-04-24 10:08:21 -07:00
Bob Clary
3d9014c8a5 bug 387033 - crash test by Olli Pettay. 2009-04-24 10:08:20 -07:00
Bob Clary
a2ceec7779 bug 384871 - crash test by Martijn Wargers. 2009-04-24 10:08:20 -07:00
Bob Clary
6cd0106547 bug 384105 - crash test by Martijn Wargers. 2009-04-24 10:08:19 -07:00
Bob Clary
c85ca80f23 bug 382444 - crash test by Martijn Wargers. 2009-04-24 10:08:19 -07:00
Bob Clary
dc9efa8b3b bug 381167 - mochikit test by Martijn Wargers. 2009-04-24 10:08:18 -07:00
Bob Clary
e24d843cc0 bug 374102 - crash test by Martijn Wargers. 2009-04-24 10:08:17 -07:00
Bob Clary
1d7e1f7990 bug 326834 - crash test by Martijn Wargers. 2009-04-24 10:08:11 -07:00
Bob Clary
41913294c9 bug 313173 - crash test by Martijn Wargers. 2009-04-24 10:08:09 -07:00
Bob Clary
520c569820 bug 312784 - crash test by Boris Zbarsky. 2009-04-24 10:08:08 -07:00
Bob Clary
ebe4ad943e bug 311710 - crash test by Martijn Wargers. 2009-04-24 10:08:08 -07:00
L. David Baron
bb58803c1f Remove some unused AddRef/Release methods on frame classes. (Bug 488774) r+sr=roc 2009-04-22 10:13:48 -07:00
John Morkel
72edb1d098 Bug 488696 - Only one tooltip shown for trees. r=enn, sr=neil 2009-04-20 15:01:56 +02:00
John Morkel
e7f3f59938 Bug 395668 - tooltips remain for only 5 seconds, should hide on mousemove instead. ui-r=faaborg, r=enn, sr=neil 2009-04-12 20:06:22 +02:00
Zack Weinberg
01403e2fa3 Bug 487831: Remove nsBox::(Get|Set)WasCollapsed, which are totally unused. r+sr=dbaron 2009-04-10 13:29:50 -07:00
Boris Zbarsky
8e0680af4e Bug 486848. Don't clobber |result| until we're done using it. r+sr=roc 2009-04-05 23:53:40 -04:00
Karl Tomlinson
215b0b8818 b=483565 baseline of stack elements depends on bottom margins of children r=dbaron
--HG--
extra : rebase_source : 50099d02312e4d380f75271ebc7e35b8f6aba606
2009-04-06 13:50:51 +12:00
Jonathan Kew
bdab93a7ca Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc 2009-04-06 12:31:50 +12:00
Robert Longson
7506754d85 Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc 2009-04-05 10:52:14 +01:00
Boris Zbarsky
39f9286555 Bug 432068. Fix stupid assumption in listbox code. r+sr=roc 2009-04-03 15:44:33 -04:00
Masayuki Nakano
88c1e2ba58 Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc 2009-04-03 16:26:28 +09:00
L. David Baron
e54823d44e Backed out changeset 5263468b1d60 (bug 395668) due to unit test timeouts in test_tooltip.xul and test_tooltip_noautohide.xul 2009-04-02 11:05:29 -07:00
John Morkel
4b24c5d9eb Bug 395668 - tooltips remain for only 5 seconds, should hide on mousemove instead. ui-r=faaborg, r=enn, sr=neil 2009-04-02 16:59:55 +02:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Neil Deakin
5d99cbc1d8 Bug 475286, support a movetoclick mode for scales. Use this by default for mac and video position widget, r+sr=neil 2009-03-31 14:11:35 -04:00
Arpad Borsos
460de5285f Bug 399753 - Remove nsISupportsArray in the layout directory; r+sr=roc 2009-03-30 20:08:06 +02:00
Robert O'Callahan
d0c58fb22f Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Olli Pettay
2fc3a9fa5e Bug 484320, r=dveditz, sr=mrbkap, a=blocking1.9.1 2009-03-24 17:43:15 +02:00
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
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
Taras Glek
390adbe464 bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr 2008-09-25 15:46:52 -07:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Zack Weinberg
a64209d05b Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc 2008-09-25 17:53:27 +02:00
Zack Weinberg
7687ccc76b Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc 2008-09-24 06:07:22 +02:00
Olli Pettay
022e3032e0 backout Bug 456147 2008-09-20 23:01:34 +03:00
Zack Weinberg
8a68981404 Bug 456147 - nsTextBoxFrame (XUL <label>, <description>, <text>) uses underline color for line-through; r=enndeakin 2008-09-20 20:09:15 +02:00
Arpad Borsos
d0e70a51bf Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc 2008-09-20 15:42:03 +02:00
Arpad Borsos
4b13300a8d Bug 452797 - Clean up unused variables in layout/; "crashtest" part; r=roc 2008-09-20 15:18:50 +02:00
Robert O'Callahan
f79290bb0e Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Oleg Romashin
dca780321d Bug 455665 - nsSplitterFrameInner crashes in some special case. r+sr=bzbarsky. 2008-09-17 17:38:33 +03:00
Arpad Borsos
f428038a86 Bug 454475 - Fix "unhandled enumeration value" warnings in layout/; r+sr=roc 2008-09-16 13:25:35 +02:00
Arpad Borsos
eef0edf9d5 Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie) 2008-09-15 17:40:25 +02:00
Rob Arnold
4809438cca Allow Aero Glass on popups r=vlad 2008-09-13 17:52:17 -04:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Zack Weinberg
0f68a207ca Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron 2008-09-12 08:35:53 -07:00
Neil Deakin
5194966cd0 Bug 435848, don't allow xul popups in minimized windows, fix window.windowState property and window.restore() on Mac, r=josh,sr=roc 2008-09-10 12:57:57 -04:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Taras Glek
9405df90da bug 454292:prbool fixes for layout r+sr=dbaron 2008-09-09 10:07:26 -07:00
Olli Pettay
2602e9632c Bug 430394, r+sr=roc 2008-09-09 12:00:02 +03:00
Ben Turner
db0c18578b Bug 435848 - Backed out changeset 9b9968a7c755 due to failing unit tests. 2008-09-08 13:50:45 -07:00
Neil Deakin
90fdd3385a Bug 435848, don't allow xul popups in minimized windows, fix window.windowState property and window.restore() on Mac, r=josh,sr=roc 2008-09-08 12:09:35 -04:00
timeless@mozdev.org
5819f54b4e merging backout part two of two
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:01:00 +02:00
timeless@mozdev.org
b0c349250f Backed out changeset 54215f2cbc66
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
Masayuki Nakano
fff8c31ca3 Bug 451015 <panel> element should not be topmost window r=deakin+gavin, sr=neil 2008-09-08 21:58:07 +09:00
Arpad Borsos
1f62482141 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
Robert O'Callahan
be904c4d3d Bug 376662. Convert nsIFrame::GetOffsetTo to not use views. We need to ensure that for popups and scrollframes, views and frames are kept in sync at *all* times. Also fixes bugs in tests for NS_FRAME_NO_MOVE_FRAME. r+sr=bzbarsky 2008-09-06 20:52:56 +12:00
Robert O'Callahan
ca15953a6e Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661 2008-09-05 15:40:06 +12:00
Robert O'Callahan
1eeada5faa Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky 2008-09-04 09:35:52 +12:00
Karsten Düsterloh
1879945e28 Bug 434080: GTK treelines are drawn in random colour when no specific rule is given; r/sr=roc 2008-09-01 22:52:38 +02:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Phil Ringnalda
e862ab11ba Bug 451518 - in an assertion ComputedWidth() checked twice for being >= 0 (and ComputedHeight() not checked at all), r+sr=bz 2008-08-25 13:21:29 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Robert Kaiser
cc5775ddaa bug 380786 - clean up xpfe/ after suite moving to toolkit, r=ted sr=Neil 2008-08-24 19:51:03 +02:00
Olli Pettay
357c052323 Bug 433429, r+sr=bz 2008-08-24 18:14:09 +03:00
Dão Gottwald
dd20e30794 Backed out changeset 7f3879f42151 2008-08-20 10:18:18 +02:00
Rob Arnold
97e522e2b7 Bug 451300 - "Add Aero Glass to Ctrl-Tab" [r+ui-r=mconnor r=vlad] 2008-08-20 00:41:37 -05:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Neil Deakin
f07e0ab2a2 add missing file, crashtest for bug 434458 2008-08-18 15:44:48 -04:00
Neil Deakin
eae7ccf5e5 Bug 434458, add null checks to popup box object methods, r=smaug,sr=dbaron 2008-08-18 13:58:13 -04:00
Rob Arnold
f6bda8fda0 Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
L. David Baron
732bbf6e26 Merge backout of changeset 85a9eb44b240 (bug 366791) due to bug 449221. 2008-08-06 13:56:53 -07:00
L. David Baron
30990a94e1 Backed out changeset 85a9eb44b240 (bug 366791) due to bug 449221. 2008-08-06 13:56:42 -07:00
Zack Weinberg
c9153c98a8 Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad 2008-08-06 12:33:18 +02:00
L. David Baron
2068e418da Make scrollbars not be reflow roots anymore, since they don't obey all the invariants needed. (Bug 366791) r+sr=bzbarsky 2008-08-04 15:15:11 -07:00
Boris Zbarsky
36ff184856 Bug 430356. Don't return negative pref and min intrinsic widths for XUL boxes/ r+sr=dbaron 2008-07-28 23:07:28 -07:00
Zack Weinberg
3197060cbd Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron 2008-07-17 16:37:12 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
John Daniels
ef0fee1d70 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Zack Weinberg
58cf580d4a Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-07-15 14:31:36 -07:00
Robert O'Callahan
7e15def36c Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout 2008-07-14 10:41:18 +12:00
arno.
9474e74a6e Bug 423802 - "xulrunner.exe crashes when a specially crafted grid control is used" (crashtest) [r=dbaron] 2008-07-12 05:12:56 -05:00
L. David Baron
81a5bb06eb Back out 0b57ada5d4b2 due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:00:02 -07:00
Zack Weinberg
bd759bbd40 Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-07-01 20:24:36 -07:00
Benjamin Smedberg
34d11c2d91 Bug 442729 - Annotate stack-only classes in layout, r+sr=roc 2008-07-01 15:16:45 -04:00
Mats Palmgren
4ab230a0c3 Crash test for bug 431738 by Jesse Ruderman<jruderman@gmail.com>. 2008-06-20 06:09:51 +02:00
Mats Palmgren
1d73573468 Protect against div-by-zero when mRowHeight is zero. b=431738 r+sr=roc 2008-06-20 06:07:37 +02:00
L. David Baron
a8f5c9c1f9 Backed out changeset 68362ba98c23 2008-06-17 16:10:17 -07:00
Zack Weinberg
c548035ff3 Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-06-17 14:37:56 -07:00
Simon Montagu
dfcf9f51e9 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
roc@meekness
502a6b64d3 Automated merge with ssh://hg.mozilla.org/mozilla-central 2008-06-16 13:37:36 +12:00
Arpad Borsos
fe073d2835 Bug 407616. Clean up nsResizerFrame and add tests. r+sr=roc 2008-06-16 13:36:28 +12:00
Kai Liu
ad9edcfa7d Bug 422607: avoid unneeded pixel/twip conversions to fix bookmarks menu aligment issues, r=enndeakin, sr=roc 2008-06-15 21:26:41 -04:00
Arpad Borsos
5fb8e731dc Bug 416509. Don't cache 'repeat' attribute in nsAutoRepeatBoxFrame, simplifies code. r+sr=roc. 2008-06-13 10:09:28 +12:00
Vladimir Vukicevic
0b3d9b76cc b=346189, children should optionally not affect size of XUL stack; r+sr=roc 2008-06-04 23:46:24 -07:00
L. David Baron
53f51289fe Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
Jeff Walden
6773debbac Bug 421576 - Unpaired surrogate handled wrongly (Acid3 #68). acid3++ r=dbaron 2008-06-02 21:29:00 -04:00
nick.kreeger@park.edu
0dabf3baae Fixing bug 431606, content drop-down menus should appear with the parent menu. r=enndeakin, sr=roc, approval1.9=beltzner 2008-05-02 12:30:03 -07:00
roc+@cs.cmu.edu
471e1a5027 Bug 409427. Don't slide popups up if they're offscreen, flip them up above the anchor point instead. r=enndeakin,sr=neil,a=damon 2008-04-29 18:41:56 -07:00
gavin@gavinsharp.com
807c0a104b Bug 429020: Scrollbars jump when being clicked and held to scroll down page, patch by Markus Stange <mstange@themasta.com>, r+sr=roc, a=beltzner 2008-04-24 17:25:15 -07:00
roc+@cs.cmu.edu
ac52ed39ff Bug 312225. When we flip a menu vertically to keep it off the bottom of the screen, we need to reverse the 2px vertical offset from the mouse cursor that we introduce for context menus. 2008-04-23 14:25:34 -07:00
jruderman@hmc.edu
23d7da0b78 Add crashtest 2008-04-22 21:35:50 -07:00
roc+@cs.cmu.edu
87aabef714 Bug 393791. Don't allow menus to open before we've generated their child frames. r=enn,sr=neil,a=beltzner 2008-04-22 20:05:54 -07:00
roc+@cs.cmu.edu
f4153c53dc Backing out 393791 2008-04-21 17:09:55 -07:00
roc+@cs.cmu.edu
80e17975ed Bug 393791. Don't show a popup menu if we haven't generated its children yet. r=enn,sr=neil,a=beltzner 2008-04-21 15:02:17 -07:00
enndeakin@sympatico.ca
4550317acc Backout bug 398928 2008-04-21 09:53:30 -07:00
gavin@gavinsharp.com
f6c61f6dfe Bug 428226: Fix and reenable test for bug 393970 on Linux, patch by Wladimir Palant <trev.moz@adblockplus.org>, r+sr=roc 2008-04-16 13:27:24 -07:00
enndeakin@sympatico.ca
d6732d2103 Bug 398928, allow dragging window on Mac by the toolbar, r=neil,sr=roc,a=beltzner 2008-04-16 08:29:54 -07:00
masayuki@d-toybox.com
5252d63ce1 Bug 359638 accesskeys are incorrectly shifted again (i.e. accesskey=. is broken) and also for b=398264, b=401086, b=414130, b=427797, b=427932, b=427995 r=karlt+ere+josh, sr=roc, a1.9=mconnor 2008-04-14 21:16:24 -07: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
marco.zehe@googlemail.com
b8b85c46b1 bug 424161 - Tree invalidation screwed up badly, getting 6 failures on Mochitest for bug 368835. p=Alexander Surkov (surkov.alexander@gmail.com) r=me, r=Olli.Pettay sr=jonas a1.9=beltzner 2008-04-10 08:11:15 -07:00
roc+@cs.cmu.edu
1bfe348601 Bug 425253. Propagate reflow-depth tracking through XUL box layout. r+sr=dbaron,a=damon 2008-04-09 21:39:41 -07:00
gavin@gavinsharp.com
2901a0c5fe Disable test from bug 393970 on linux (bug 428226) 2008-04-09 20:29:17 -07:00
gavin@gavinsharp.com
3cec8fc374 Disable test from bug 393970 on linux (bug 428226) 2008-04-09 20:00:37 -07:00
gavin@gavinsharp.com
464e9490e5 Bug 393970: grid columns don't line up if one <rows> block is scrollable, patch by Wladimir Palant <trev.moz@adblockplus.org>, r+sr=roc, a=beltzner 2008-04-09 15:15:59 -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
smontagu@smontagu.org
974b8dbc2f Correct the coordinates for selection decoration in right-to-left text. Bug 421042, r+sr=roc, a=beltzner 2008-04-06 01:12:09 -07:00
philringnalda@gmail.com
e6402b8148 Bug 426392 - Crash in nsXULPopupManager::ShowPopupCallback when customizing toolbar on OS X, patch by Chris Pearce (chris@pearce.org.nz), r+sr=roc, a=blocker 2008-04-03 20:29:17 -07:00
reed@reedloden.com
c0dd86e5fd Bug 420499 - "Caret browsing mode wrongly engaged" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+] 2008-04-01 01:35:11 -07:00
roc+@cs.cmu.edu
14c8d05caf Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad 2008-03-31 02:40:53 -07:00
reed@reedloden.com
601e529c06 Back out Robert O'Callahan's patch from bug 421885 due to reftest failure. 2008-03-28 02:32:03 -07:00
reed@reedloden.com
ddba94bd6d Bug 421885 - "Google reader search results have strange red line and broken border around them" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=vlad a=blocking1.9+] 2008-03-28 01:54:27 -07:00
jruderman@hmc.edu
c8d7a3eaca Add crashtest 2008-03-26 14:31:37 -07:00
dbaron@dbaron.org
ba6523bcb0 Add a code comment from work on 413027. 2008-03-21 21:50:58 -07:00
dbaron@dbaron.org
59589b592c Some more grid reftests from work on 413027. 2008-03-21 21:49:51 -07:00
dbaron@dbaron.org
9c075744cf Add some basic reftests for XUL grid. 2008-03-19 15:29:31 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -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
cb78ef1dde Bug 415257 - "Editable trees: input sized wrongly and rows jumping with flexible and non-flexible treecols" [p=paul.rouget@gmail.com (Paul Rouget) r+sr=Neil a1.9=beltzner] 2008-03-18 12:41:34 -07:00
roc+@cs.cmu.edu
a5d01c093e Backing out 413027 again. 2008-03-13 02:14:16 -07:00
roc+@cs.cmu.edu
69064e9603 Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with additional XUL box layout fix to increase the frame size to the minimum size required by children even if they don't change size during layout, and a fix to scrollframes so they don't depend on being able to set a size for scrollbars less than their minimum size. r+sr=dbaron 2008-03-13 01:40:43 -07:00
dholbert@cs.stanford.edu
ee909b17b6 Bug 422484: Add parens around macro if conditions. Patch by David Mandelin <dmandelin@mozilla.com> r=benjamin a1.9=dsicore 2008-03-12 14:47:11 -07:00
smontagu@smontagu.org
479ae9823b Enable bidi processing if there are right-to-left characters in print headers or footers. Bug 421690, r+sr=roc, blocking1.9=damon 2008-03-12 00:56:38 -07:00
reed@reedloden.com
76242a95fb Bug 412954 - "menus should have Menu, PopupMenu or DropdownMenu window type" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=beltzner] 2008-03-08 03:32:25 -08:00
dbaron@dbaron.org
7003061847 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner 2008-03-05 16:05:26 -08:00
bent.mozilla@gmail.com
fb447201e2 Bug 420803 - Fix for bug 413268 keeps a DOM window alive until shutdown. r=enn, sr=jst, a=blocking1.9+. 2008-03-04 15:27:02 -08:00
roc+@cs.cmu.edu
0689f4c34f Bug 417255. Rework getClientRects/getBoundingClientRect/offset* code to use a generic rectangle iterator API which drills down through anonymous blocks, fixing IE compat. r+sr=dbaron 2008-02-27 01:26:15 -08:00
dougt@meer.net
47947ce309 use of max(a,b) is confusing windows mobile compiler. b=419653, r=dbaron, a=beltzner 2008-02-26 17:51:57 -08:00
Olli.Pettay@helsinki.fi
67622f2077 Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
enndeakin@sympatico.ca
ed29c50040 Bug 405719, don't set open attribute too early, followup patch which fixes test 2008-02-22 10:34:07 -08:00
enndeakin@sympatico.ca
ba89e0c063 Bug 405719, temporary change to fix orange, will investigate 2008-02-21 12:26:49 -08:00
enndeakin@sympatico.ca
235c3d9f78 Bug 405719, regression where menus cannot be generated with templates without extra tags, also improve construction by not setting the open attribute too early and instead call the builder directly before opening a menu, r=smaug,sr=neil,a=beltzner 2008-02-21 09:40:12 -08:00
enndeakin@sympatico.ca
ceceac9537 Bug 413268, clientX/clientY properties not working for tooltip popupshowing event, r=smaug,sr=neil 2008-02-20 12:16:55 -08:00
bent.mozilla@gmail.com
b3510107b1 Bug 417534 - "XUL Tooltips keep windows alive until shutdown". r=enn, sr=peterv, a=blocking1.9+. 2008-02-20 11:00:10 -08:00
fantasai.cvs@inkedblade.net
d4dc37580f switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc 2008-02-19 23:08:55 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
masayuki@d-toybox.com
cb5c20d581 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
roc+@cs.cmu.edu
590a19c3f0 Bug 415684. nsAutoRepeatBoxFrame should not pretend to be refcounted. Clean up nsRepeatService so it doesn't refcount its callbacks. r+sr=mats 2008-02-14 18:04:34 -08:00
joshmoz@gmail.com
0679b98a00 Opt-click in scroll well should toggle Next Page/Jump to Here behavior, not Shift-Click. Patch by Stan Shebs. b=410112 r=josh sr=roc 2008-02-14 13:45:47 -08:00
reed@reedloden.com
533a8db305 Bug 416510 - "nsSliderFrame should use nsCOMPtr for its mMediator" [p=kayjay@poczta.fm (kayjay) r+sr=roc a1.9=schrep] 2008-02-13 02:41:23 -08:00
surkov.alexander@gmail.com
b9758b6c53 Bug 308564 - No accessibility events when data in a tree row changes, stage 2, r=smaug, sr=jonas, a=mtschrep 2008-02-12 19:47:58 -08:00
dolske@mozilla.com
3061c98928 Reland 406686, tests went green apparently before picking up the backout. 2008-02-08 12:23:05 -08:00
dolske@mozilla.com
96d90967a4 Backout bug 406686 to determine cause of mochitest failures. 2008-02-08 11:07:21 -08:00
enndeakin@sympatico.ca
75d35b42fd Bug 406686, close popups on blur, this time with nullcheck, r=roc,sr=dveditz 2008-02-08 05:53:33 -08:00
surkov.alexander@gmail.com
4e09bf1306 Bug 308564 - No accessibility events when data in a tree row changes, r=evan.yan, olli.pettay, sr=jonas, a=mtschrep 2008-02-08 04:55:57 -08:00
reed@reedloden.com
d773919d98 Bug 385058 - "Grey marks (turds, remnants, ghosts) appear on scrollbars" (Redraw whole scrollbar when position changes) [p=mstange@themasta.com (Markus Stange) r+sr=roc a1.9=schrep] 2008-02-07 00:56:38 -08:00
reed@reedloden.com
e794c5f457 Bug 415523 - "Scrollbar thumb jumps on drag start" [p=mstange@themasta.com (Markus Stange) r+sr+a1.9=roc] 2008-02-06 21:28:15 -08:00
mozilla.mano@sent.com
8e142677f0 Backing out 406686 again 2008-02-06 18:19:12 -08:00
mozilla.mano@sent.com
260b79c683 Relanding bug 406686 2008-02-06 16:55:55 -08:00
mozilla.mano@sent.com
9343a644bf Attempt to fix orange by backing out 406686 2008-02-06 15:45:59 -08:00
enndeakin@sympatico.ca
0a624e2179 Bug 406686, close popups on blur, r=roc,sr=dveditz 2008-02-06 13:12:00 -08:00
jruderman@hmc.edu
ca102351f8 Add a crashtest. 2008-02-03 21:45:44 -08:00
reed@reedloden.com
d58ed0b2de Bug 411048 - "Menu remains highlighted after being dismissed by middle-click" (clear active state when destroying menu frame) [p=enndeakin@sympatico.ca (Neil Deakin) r=Smaug sr=Neil a1.9=damons] 2008-01-29 23:18:07 -08:00
bzbarsky@mit.edu
ab51d31ee9 Relanding bug 412679. r+sr=dbaron 2008-01-27 12:24:06 -08:00
jag@tty.nl
419b39f375 Bug 414148: Avoid copy of some nsDependentC?Strings. sr=dbaron, a=mtschrep 2008-01-26 15:00:19 -08:00
reed@reedloden.com
59377ce2fe Bug 366531 - "deCOMtaminate nsBox.h [BoundsCheck()]" (additional fixes) [p=ldx@users.sourceforge.net (Lorenzo Dieryckx) r+sr+a1.9=roc] 2008-01-20 21:44:05 -08:00
aaronleventhal@moonset.net
eefbf80904 Bug 412889. Crashes in XUL tree accessible. r+sr=neil, a=schrep 2008-01-18 11:55:37 -08:00
reed@reedloden.com
a65b292027 Bug 405512 - "deCOMtaminate nsIMenuRollup" [p=karunasagark@gmail.com (karuna [kay]) r+sr=roc a1.9=schrep] 2008-01-16 23:00:31 -08:00
reed@reedloden.com
2628c5157a Bug 405512 - "deCOMtaminate nsIMenuRollup" [p=karunasagark@gmail.com (karuna [kay]) r+sr=roc a1.9=schrep] 2008-01-16 22:57:13 -08:00
reed@reedloden.com
77a4d612a8 Bug 340510 - "nsIDOMNSDocument.getBoxObjectFor (standard way to use Mozilla) does not work with --disable-xul" [p=romaxa@gmail.com (romaxa) r+sr=roc a1.9=schrep] 2008-01-15 17:27:53 -08:00
roc+@cs.cmu.edu
f2b680b77b Bug 404192. Sync up nsBoxFrame::CreateViewForFrame with nsContainerFrame::CreateViewForFrame, in particular to use GetParentViewForChildFrame to set up scrollframe children correctly. r+sr=mats 2008-01-09 14:45:10 -08:00
reed@reedloden.com
a34d649e54 Actually fix bustage. 2008-01-08 23:51:17 -08:00
reed@reedloden.com
61bc7ec1a1 Attempt to fix bustage. 2008-01-08 23:48:58 -08:00
reed@reedloden.com
fa12771c1b Bug 366534 - "deCOMtaminate nsIBoxLayout" [p=skumar@sta.samsung.com (Sudheer) r+sr=roc a1.9=schrep] 2008-01-08 23:28:39 -08:00
jruderman@hmc.edu
9d3d52706a Adding a crashtest. 2008-01-06 15:58:28 -08: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
jruderman@hmc.edu
337162be38 Add crashtest 2008-01-04 21:07:49 -08:00
jruderman@hmc.edu
79d8ce5085 Add crashtest 2008-01-04 20:39:04 -08:00
jruderman@hmc.edu
c0bb28ae67 Add crashtest 2008-01-04 20:36:54 -08:00
jruderman@hmc.edu
d3513345b9 Add crashtest for leak bug 2008-01-04 20:33:57 -08:00
jruderman@hmc.edu
820612b11b Adding crashtest 2008-01-04 20:30:50 -08:00
mozilla.mano@sent.com
c68b8f41c1 Bug 407449 - After an unsuccessful drag&drop action multiple folders/bookmarks can be highlighted in Places Organizer. r=enn, sr=roc. 2008-01-04 16:21:25 -08:00
roc+@cs.cmu.edu
fb28ffc853 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
jruderman@hmc.edu
6e7f1c51d1 Add crashtest 2008-01-02 21:56:25 -08:00
Olli.Pettay@helsinki.fi
9f26cba0e6 Bug 409807, r+sr=roc, a=beltzner 2008-01-02 16:01:30 -08:00
ginn.chen@sun.com
67cd80d3cf Bug 398362 First menuitem is not selected when opening a menu for the first time r=enndeakin sr=bzbarsky 2008-01-01 21:33:30 -08:00
reed@reedloden.com
1d602b3c42 Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
dwitte@stanford.edu
206f4c4d13 Bug 410358 - use nsTArray in nsTreeBodyFrame. r+sr=neil, a=stuart 2007-12-31 17:31:16 -08:00
jruderman@hmc.edu
5775a5419b Add crashtest 2007-12-23 18:19:16 -08:00
neil@parkwaycc.co.uk
d9274d904a Bug 408904 Fix crash regression from bug 384874 r=Enn sr=bz a=beltzner 2007-12-21 09:59:35 -08:00
jruderman@hmc.edu
922e60b202 Over the past week, I checked in 377 crashtests, mostly for bugs I reported. Now it's your turn. 2007-12-19 16:35:23 -08:00
jruderman@hmc.edu
bf6aacee4b Do not look into crashtest with remaining eye. 2007-12-19 16:04:17 -08:00
jruderman@hmc.edu
7fabb8edaf Use this crashtest only with proper ventilation. 2007-12-19 16:01:30 -08:00