Commit Graph

660 Commits

Author SHA1 Message Date
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman
15e3a448a6 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Neil Deakin
3028324937 Bug 510388, check descendant documents for focus when closing popups, r=bz,sr=smaug 2009-08-27 08:51:41 -07:00
Robert O'Callahan
75dc1beb9c Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg
18c763f2c5 Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron

--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Neil Deakin
f02e8c39c1 Bug 511673, hidden panels have an empty state, but should be 'closed', r=roc 2009-08-26 09:19:38 -07:00
Jesse Ruderman
ee4d3728c4 Bug 420424 - remove bogus assertion. r=bz 2009-08-25 18:45:07 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Timothy Nikkel
f110653868 Bug 508927. In list box body frame don't return a frame for an item that is not in its child list, and don't destory a frame if it is not in the childlist. r=bzbarsky 2009-08-25 08:37:07 -04:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Ryo Kawaguchi
54bb0a0d80 Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron 2009-08-21 13:39:25 -07:00
peterv@propagandism.org
2fa6b71daf Bug 461640 - Box objects should participate in cycle collection, r=smaug
--HG--
extra : rebase_source : 337d82f08d17641dd4306c55743a076f53a4a22f
2009-08-21 15:51:08 +03:00
Olli Pettay
066604efe9 Bug 461640 - Box objects should participate in cycle collection, r=peterv
--HG--
extra : rebase_source : 274ffed884d7b8ed753796a67f4682df141e821e
2009-08-21 15:50:15 +03:00
Zack Weinberg
2cd31f70f9 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
tnikkel@gmail.com
93bcc968f6 Bug 509602, r=smaug, sr=neil 2009-08-19 14:34:06 +03:00
Robert O'Callahan
9f2ae1a715 Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron 2009-08-13 19:09:51 -07:00
Markus Stange
04d8aa170a Bug 510149 - Changes to nsLayoutUtils::GetFrameTransparency. r=roc
--HG--
extra : rebase_source : 024d18340b423827524eb725d961d0907b90338d
2009-08-14 10:08:13 +12:00
Felipe Gomes
972bf3dc41 Bug 503541 - Fine grained control of gesture registration on widgets (Win7). r=smaug+roc, sr=smaug 2009-08-13 13:54:09 -07:00
Timothy Nikkel
42e3d17d27 Bug 508927. Assuming that the binding parent of the listboxbody content is the listbox content (and hence parent of listitems) is just wrong. Use ChildIterator instead to access the XBL nodes of the listboxbody content and get the frame constructor to pass the listboxbody frame the right container. r=bzbarsky, a=beltzner for CLOSED TREE 2009-08-13 11:38:22 -04:00
Jesse Ruderman
6125a23696 Add crashtest for bug 460900 2009-08-08 16:00:33 -07:00
L. David Baron
1233c40b2d Call InvalidateColumns more often. (Bug 506871) r=roc 2009-08-07 14:17:02 -07:00
Boris Zbarsky
f7cd534013 Bug 415394. Don't let the listbox row-munging kill our block wrapper, if we have one. r=dbaron 2009-08-07 15:51:25 -04:00
Robert O'Callahan
cba39f15c7 Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Boris Zbarsky
6c6823ba49 Bug 508057. Make sure to drop the ref to the observer when clearing our cached tree images. r=joedrew 2009-08-03 23:06:34 -04:00
Robert O'Callahan
a4fec52cd4 Bug 506615. XUL decks should not have wididgets. r=dbaron 2009-07-30 14:54:42 +12:00
Michael Ventnor
8ae6cd75f4 Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
David Zbarsky
92589bee61 Bug 499655: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 1. r=dbaron 2009-08-01 08:53:40 -07:00
L. David Baron
36c7b60c0c Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:39:53 -07:00
David Zbarsky
eab4105f16 Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron 2009-07-30 13:28:42 -04:00
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