Commit Graph

975 Commits

Author SHA1 Message Date
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
d6425e8bd1 Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics. 2011-04-07 18:05:25 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
d8db59d068 Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1 Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Neil Deakin
2e418cd5d2 Bug 126189, pass modifiers on to command events in menus when enter was pressed, r=neil 2011-04-13 13:53:24 -04:00
Neil Deakin
bc2478419a Bug 590665, panels jump around when dragged across screens, so don't do flipping when moving one, r=roc 2011-04-13 13:53:24 -04:00
Simon Montagu
8ade1e195e Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Timothy Nikkel
c3f0866bff Bug 645203. Make sure we skip non-XUL nodes inside trees; r=neil 2011-04-06 10:52:07 -07:00
Ehsan Akhgari
41f6aee99f Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Masayuki Nakano
f137ac24c5 Bug 645662 Should not consume mouse down event at the sub menu of splitmenu or toolbarbutton rolled up r=enndeakin 2011-03-31 21:28:19 +09:00
Matheus Kerschbaum
2c52314c47 Bug 616746 - remove HTML option/optgroup stuff from nsTreeContentView. r=tn 2011-03-31 10:12:35 +02:00
Ms2ger
3aac8958f3 Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Boris Zbarsky
e7675b4602 Bug 633271 part 2. Simplify nsEventStateManager::SetContentState. r=dbaron 2011-03-28 23:32:11 -04:00
Boris Zbarsky
0a7e20bbec Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
Masayuki Nakano
ea752bfc4b Bug 59109 Part 3: Implement text-decoration-color and text-decoration-style rendering r=dbaron 2011-03-31 21:27:03 +09:00
Masayuki Nakano
a08a3877b3 Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron 2011-03-31 21:26:49 +09:00
Masayuki Nakano
218ee7f163 Bug 627272 - Cannot start dragging titlebar when Firefox button opens its menu; r=enndeakin 2011-01-19 18:17:00 -05:00
Neil Deakin
1541d0e3db Bug 630830 - "key" attribute changes to menuitems are not handled; r=joshmoz 2011-02-13 07:28:00 -05:00
Benjamin Smedberg
fa3fb2d543 Bug 617539 - Merge nsIMenuBoxObject_MOZILLA_2_0_BRANCH, r=enn 2011-03-25 11:03:35 -04:00
Boris Zbarsky
c0e236bebd Bug 602341 part 2. Switch tree pseudoelements to using an nsAtomList (mClassList, to be exact), not an nsPseudoClassList (mPseudoClassList), for their list of atoms. r=dbaron 2011-03-23 09:52:25 -04:00
Craig Topper
72d7c1f754 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Olli Pettay
56d4d954cb Bug 630919, add collect and invalidate phases for tree ranges, r=enn+neil, a=jst
--HG--
extra : rebase_source : 0a714e7f3829f9641340e47a83f386ab7a0d0905
2011-03-01 14:23:26 +02:00
Vivien Nicolas
edaa05f5dd Add start/end attributes support to StackFrame [r=enndeakin,a=blocking-fennec] 2011-02-28 19:06:29 +01:00
Timothy Nikkel
43c33da1e3 Bug 594596. Check the return value when creating a menu popup widget. r=roc a=roc 2011-02-21 13:00:48 -06:00
Jonathan Kew
6ac3bd15ff bug 622507 - snap popup menu's view position to device pixels. r+a=roc 2011-02-21 08:52:42 +00:00
Jonathan Kew
227dcbc692 Backed out changeset 26c7b580d5a2 (bug 622507) due to orange. a=backout 2011-02-18 09:46:27 +00:00
Jonathan Kew
9e3a051ec8 bug 622507 - snap popup position to device pixels, to avoid Bookmark menu size getting stuck. r+a=roc 2011-02-18 09:12:08 +00:00
timeless@mozdev.org
987ebea9dd Bug 620416 - hopefully useless null check of aCol in nsTreeBodyFrame::GetCellAt
r=enn a=dbaron
2011-02-16 14:14:20 +01:00
Felipe Gomes
ed4c4bb19e Bug 597723. Mouse scrolling shouldn't dismiss panel notifications. r=enndeakin a=blocking-final 2011-01-19 19:21:38 -08:00
Neil Deakin
6b11f9fd6c Bug 607224, followup to use separate interface, r=neil,a=blocking 2011-01-17 09:36:33 -05:00
Neil Deakin
fee5806e2b Bug 489303, show resizer when statusbar is hidden, r=roc,gavin a=blocking 2011-01-17 09:35:32 -05:00
Robert O'Callahan
ce2d40adbe Bug 613696. Always use the presshell's reference rendering context to create textruns when we draw text via nsIThebesFontMetrics::DrawString, to be consistent with the textruns we measure during reflow. r=dbaron,a=blocking 2011-01-17 09:23:33 +13:00
Mounir Lamouri
4c878405c1 Bug 619223 - Arrow panel should use the direction of the anchor. r=enndeakin f=smontagu a=blocking-final 2011-01-13 15:02:20 +01:00
Neil Deakin
9745c2afd5 Bug 607224, add property that specifies if a menu was opened via the keyboard, r=neil,a=blocking 2011-01-04 12:24:51 -05:00
Robert O'Callahan
d886269e1d Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
face759151 Bug 602757. Part 2: Detect display items over the transparent part of a window, and disable usage of component alpha (i.e., subpixel antialiasing) for those items. r=tnikkel,a=blocking 2011-01-03 14:48:09 +13:00
Gavin Sharp
82f380c4da Back out 0ab0603bea99 (bug 489303) due to suspected Txul regression, a=backout 2010-12-25 14:55:35 -05:00
Neil Deakin
49b5659acf Bug 489303 - No resizer since the statusbar is gone, r=gavin+roc, a=b 2010-12-21 13:19:00 -08:00
timeless@mozdev.org
5f4030f326 Bug 620253 nsResizerFrame::AdjustDimensions fall through comment is misplaced, r+a=dbaron 2010-12-19 19:39:00 -08:00
Phil Ringnalda
c58c31de0d Bug 616710 - Annotate the 0-4 assertions about "Doing nscoord addition with values > nscoord_MAX" on Windows in crashtests/380217-1.xul, a=orange 2010-12-15 09:33:29 -08:00
Masayuki Nakano
fa4f748442 Bug 616797 Menubar doesn't appear by Alt key after using accelerator to open a popup menu and closing it by click r=enn, a=final+ 2010-12-08 19:49:09 +09:00
Neil Deakin
bfc477c78a Bug 606343, part 1, add centering position types for panels, r=neil, a=blocking 2010-12-05 17:09:36 -05:00
Masayuki Nakano
6aaa0b5d0d Bug 261715 Alt key auto-repeat shouldn't cause to show/focus menubar if mouse button is down during first Alt keydown and Alt keyup r=enn, a=jst 2010-12-04 10:55:15 +09:00
Oleg Romashin
3228336658 Bug 615536 - nsIFrame::GetMouseThrough need to be optimized r=roc a=approval2.0 2010-11-30 16:59:46 +02:00
Neil Deakin
4c6bbc0457 Bug 561243 - Name field in edit bookmarks panel ignores mouse events while focused. r=roc, a=blocking 2010-12-01 09:39:10 -08:00
Johnny Stenback
ca3f5c8904 Fixing bug 594547, crash downstream from nsTreeContentView::InsertRow(). r=bzbarsky@mit.edu, tnikkel@gmail.com, a=jst@mozilla.org 2010-11-17 14:30:14 -08:00
Ehsan Akhgari
2bd53975b3 Bug 611182 - Part 5: Adjust the assertion annotation for an assertion which now gets triggered more because we're doing things correctly; r=bzbarsky a=blocking-beta8+ 2010-11-11 19:10:37 -05:00
Jesse Ruderman
b813926f1a Bug 583957 - add crashtest 2010-11-06 13:30:32 -07:00
Masayuki Nakano
d16a1c374e Bug 591890 focus() method should be able to steal focus when it's called from mousedown event handler r=enndeakin, a=betaN+ 2010-11-06 14:04:11 +09:00
Joel Maher
d98970d175 Bug 590248 test_resizer.xul not valid for fennec testing, disable test for fennec r=mfinkle a=NPOTB 2010-11-04 17:01:13 -07:00
Mihai Sucan
a8cd49d408 Bug 601352 - Console does not scroll expression result into view, r+a=roc 2010-10-28 13:01:37 -03:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Mounir Lamouri
02ab19880a Bug 604056 - nsIDocumentObserver methods should be declared with a macro. r+a=bz 2010-10-20 09:41:05 +02:00
Alexander Surkov
8b53f409de Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking 2010-10-16 00:34:35 +09:00
Neil Deakin
71674132a2 Bug 554937 - Implement arrow panels and use them for some notifications, r=gavin, a=betaN+ 2010-10-13 15:41:37 -04:00
Daniel Holbert
246bdc65d2 Bug 598798 patch 4: Remove hard-coded GraphicsFilter from nsLayoutUtils::DrawSingleUnscaledImage, and make its dirty-rect argument optional. r=roc a=blocking-betaN 2010-10-11 13:08:07 -07:00
Matt Woodrow
47554e7736 Bug 594983. Look inside display sublists to determine whether there is text for the layer. r=roc,a=blocking 2010-10-11 13:58:20 +13:00
Jesse Ruderman
d0a2a35c8c Crash test for bug 601427. a=TEST 2010-10-11 00:07:00 +02:00
Phil Ringnalda
56bba9aa07 Bug 385845 followup, stop expecting an assertion in layout/xul/base/src/crashtests/321056-1.xhtml, a=bustage 2010-10-09 18:21:59 -07:00
Timothy Nikkel
ede56de270 Bug 587960. Don't run tree view code when the document is a zombie. r=bzbarsky a=roc 2010-10-09 14:09:22 -05:00
Timothy Nikkel
25ef24ef0d Bug 564705. Add crashtest. a=tests-only 2010-10-08 13:58:45 -05:00
Neil Rashbrook
f01cf84dbe Bug 595570 Fix mouse coordinates for tooltip popupshowing events r=Enn a=roc 2010-10-07 21:38:13 +01:00
L. David Baron
a56a24a514 Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron
40d60928c6 Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron
dfd177a552 Make overflow from text frames be visual overflow only, and not scrollable. (Bug 542595, patch 8) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
Jesse Ruderman
7256634017 Bug 557174 - add crashtest. a=NPOTB 2010-09-24 11:30:54 -07:00
Alexander Surkov
a9d4da54f8 Bug 597311, remove NS_ACCESSIBLE_EVENT case from nsMenuFrame.cpp, r=roc 2010-09-23 12:35:26 +09:00
Neil Deakin
ea5241da09 Bug 554937, part 1, add anchorNode property for popups, r=neil,a=blocker 2010-09-21 13:53:01 -04:00
Masatoshi Kimura
2df4090123 Bug 593577 - Get rid of nsContentType. r=roc a=a 2010-09-20 15:40:13 +02:00
Neil Deakin
43da4cf629 Bug 566154 - text missing from preferences font size pulldown.; f=neil r=neil a=blocking-betaN+ 2010-09-15 11:25:08 -04:00
Neil Rashbrook
deb54a6c9c Bug 586408 document.popup node doesn't work with nested popups (regression from bug 383930) r=Enn a=beltzner 2010-09-10 21:24:25 +01:00
Neil Rashbrook
81f51c150b Bug 588070 Tooltips shouldn't use cached mouse events r=Enn a=beltzner 2010-09-10 21:22:17 +01:00
L. David Baron
27b2504e3c Make nsIFrame::DisplaySelectionOverlay take an nsDisplayList* instead of nsDisplayListSet&. (Bug 485501) r=roc a2.0=blocking:beta6 2010-09-09 08:21:46 -07:00
Alon Zakai
4606f548ac Bug 359608 - Animated GIFs are animated even when user navigates to another page.r=bholley,bz;sr=bz;a=blocker 2010-09-07 17:33:02 -07:00
Neil Deakin
b753ff6479 Bug 558072. Allow getting of popup position and size from popupshowing event. r=roc,a=blocking
--HG--
extra : rebase_source : 0589fbc0410548f8f7ee748d59e70721c5fcc29b
2010-09-06 15:30:17 +12:00
Robert O'Callahan
243921c92a Bug 584703. Compute XUL listbox contents overlow area correctly. r=enndeakin
--HG--
extra : rebase_source : a5c20c7ad240643a734a3e0f27c5357adc13c9ae
2010-09-06 15:23:44 +12:00
Robert O'Callahan
ded033638a Bug 579323. Part 2: Actually fix the bug by calling InvalidateThebesLayersInSubtree from nsIFrame::Redraw. r=dbaron,a=blocking 2010-08-31 12:49:13 +12:00
Robert O'Callahan
f6aa05c375 Bug 579323. Part 1.4: Switch nsIFrameFrame users to use nsSubDocumentFrame.h. r=tnikkel
--HG--
extra : rebase_source : de526602586c70b994a061bbb8a7ca2731c72bbd
2010-08-31 12:49:07 +12:00
Robert O'Callahan
f566520efb Bug 579323. Part 1: Add FrameLayerBuilder::InvalidateThebesLayersInSubtree, and call it from InvalidateOverflowRect. r=tnikkel,sr=dbaron
--HG--
extra : rebase_source : c1dbc5b625e23d55ba030709f5cd429122977685
2010-08-31 12:46:26 +12:00
Robert O'Callahan
1986ba6f20 Bug 590468. Part 1: Add support for XUL 'layer' attribute. r=tnikkel sr=vlad 2010-08-27 18:15:08 -05:00
L. David Baron
b99a005c4c Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
091d6b7837 Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Bobby Holley
1761fccdca Bug 589815 - Images loaded from XUL should never be discarded.r=joe,enndeakin;a=blocker 2010-08-23 15:43:06 -07:00
Robert O'Callahan
79b8d06302 Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
--HG--
extra : rebase_source : e644ae08007e52c524c3237d336441f1413f846b
2010-08-23 21:30:07 +12:00
Robert O'Callahan
812e6204ae Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Chris Jones
6616076b0a Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-20 14:29:02 -05:00
Chris Jones
26435d9035 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-20 14:29:02 -05:00
Robert O'Callahan
06241c1e45 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-20 14:29:01 -05:00
Chris Jones
921ef38edc Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Robert O'Callahan
210184cb84 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-19 13:49:35 -05:00
Daniel Holbert
5b754a5516 Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Olli Pettay
58fd6133b2 Bug 585815, create treerange list straight to the mFirstRange, r=neil
--HG--
extra : rebase_source : f71a56d90b51e26d3d5d8aedc969ca51c09f0fd3
2010-08-12 15:05:43 +03:00
Olli Pettay
67ad9ee7ed Bug 583957, lazy menuframe update, r=enndeakin, sr=neil, a=dbaron
--HG--
extra : rebase_source : f036ff3e7ee39225f17d1d4aba0d4e7c71960d58
2010-08-12 14:59:03 +03:00