Граф коммитов

401 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 104ade3438 Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron 2010-08-02 15:07:04 +12:00
Robert O'Callahan bc67da304a Bug 579250. Revamp unified-titlebar interface so that we can tell nsNativeThemeCocoa about toolbars even if they're not actually painted. r=mstange 2010-07-24 21:35:29 +12:00
Timothy Nikkel 09b7683b38 Bug 563878. Part 13. Implement zoom display list item to handle document hierarchies where zoom is not constant. r=mats sr=roc 2010-07-18 21:23:48 -05:00
Timothy Nikkel 70d241a01e Bug 563878. Part 7. Change frame, point, rect, region APIs. r=mats sr=roc 2010-07-18 21:23:47 -05:00
Robert O'Callahan 286ba76cc0 Bug 564991. Part 44: Move IsFixedAndCoveringViewport implementation to nsDisplayBackground so it can work on any frame, not just the canvas background. r=tnikkel 2010-07-16 09:08:12 +12:00
Robert O'Callahan 09ce1c5031 Bug 564991. Part 31: Don't cull display items in nsDisplayList::ComputeVisibility. r=mats 2010-07-16 09:08:09 +12:00
Robert O'Callahan de827321f1 Bug 564991. Part 26: Put background-attachment:fixed backgrounds that propagated to the canvas in their own layer. r=mats,sr=dbaron 2010-07-16 09:08:06 +12:00
Robert O'Callahan 1b38f406bd Bug 564991. Part 23: Introduce the concept of 'inactive' layers. r=mats,sr=dbaron 2010-07-16 09:08:05 +12:00
Robert O'Callahan b496b17fb3 Bug 564991. Part 16: Improve performance by putting each scrollbar in its own layer. Also note that Mac scrollbars are opaque. r=mats,sr=dbaron 2010-07-16 09:08:03 +12:00
Robert O'Callahan 3b653c5345 Bug 564991. Part 14: Scroll using the layer system. r=mats,sr=dbaron 2010-07-16 09:08:02 +12:00
Robert O'Callahan 4b1b78c893 Bug 564991. Part 12: Refactor RenderDocument to use nsLayoutUtils::PaintFrame. r=mats 2010-07-16 09:07:52 +12:00
Robert O'Callahan 6824d17ea0 Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats 2010-07-16 09:07:51 +12:00
Robert O'Callahan 495351d3e2 Bug 564991. Part 5: Make GetClipRect return a const reference. r=tnikkel 2010-07-16 09:07:50 +12:00
Robert O'Callahan da29165e1d Bug 564991. Part 4: Create GetFrameKey API. r=tnikkel,sr=mats 2010-07-16 09:07:49 +12:00
Michael Ventnor 56ba116210 Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel 2010-07-16 09:07:49 +12:00
Mats Palmgren 9d9f784d8d Bug 556432 - Dragging a content selection shows non-selectable text in the drag feedback. r=roc 2010-07-12 22:24:33 +02:00
Jesse Ruderman 4182c5bc1b Bug 573209 - stop pretending that nsDisplayListBuilder is only allocated on the stack. r=roc 2010-06-21 09:21:41 -07:00
Rob Arnold ext:(%20%26%20Robert%20O%27Callahan%20%3Crobert%40ocallahan.org%3E) 951a8a32a4 b=555133 Attempt to infer whether or not theme parts are transparent r=roc,rob sr=vlad 2010-06-11 10:53:57 +12:00
Karl Tomlinson cc75c71979 backout ce0bec337cdd due to bad message 2010-06-11 10:53:01 +12:00
Rob Arnold ext:(%20%26%20Robert%20O%27Callahan%20%3Crobert%40ocallahan.org%3E) 0ff5253328 Attempt to infer whether or not theme parts are transparent r=roc,rob sr=vlad
--HG--
rename : layout/mathml/mathfontSTIXSize1.properties => layout/mathml/mathfontSTIXSizeOneSym.properties
extra : rebase_source : 0500c9e1f6cabd42bd56e5e69b1af3c30c7045cd
2010-06-11 10:25:15 +12:00
Timothy Nikkel a0bea31596 Bug 563878. Part 1c. Misc layout cleanup. r=mats
(transplanted from 2c4a36b7e9ea2125b9daaab242202be4c34e46a5)

--HG--
extra : transplant_source : %2CJ6%B7%E9%EA%21%25%B9%DA%AA%B2B%20%2B%E4%C3NF%A5
2010-06-05 15:29:49 -05:00
Robert O'Callahan b32027fed6 Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan 01e9dabdad Backed out changeset b37bdb032fe7 2010-05-24 10:53:05 +12:00
Robert O'Callahan 0417d4868e Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan 20c2e464f7 Backed out changeset efa8719a93d2 2010-05-21 16:34:23 +12:00
Robert O'Callahan 6391e1262a Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan 87f96430ac Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron 2010-05-13 12:56:11 +12:00
Robert O'Callahan 33e50f0c3e Backed out changeset 054698c2cb8f
--HG--
extra : rebase_source : 82b51116ca334c0853ace7f73b6f019831624d89
2010-05-13 14:21:53 +12:00
Robert O'Callahan 5df825d88b Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron 2010-05-13 12:56:11 +12:00
Robert O'Callahan aaea1f51b1 Bug 564993. Part 3: Split nsDisplayList::Paint into PaintForFrame and PaintRoot. Set the visible rect on the root layer from PaintRoot, let the visible rects of other layers be set when they're placed in their containers. r=mats 2010-03-11 09:55:05 +13:00
Robert O'Callahan 8874172bf5 bug 563864. Add mozPaintCount API. r=smaug,sr=vlad 2010-05-13 12:56:08 +12:00
Felipe Gomes e4fb76d330 Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc] 2010-04-07 20:31:26 -04:00
Ehren Metcalfe a791e19cc4 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
Jim Mathies e8db46f043 Backout bug 555133 to fix bug 555950. 2010-03-31 12:55:41 -05:00
Rob Arnold 0feeddc29f Bug 555133 - Attempt to infer whether or not theme parts are transparent r=roc sr=vlad 2010-03-29 15:24:40 -04:00
Robert O'Callahan 0fd1837981 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Masayuki Nakano 71ab14e537 Bug 553975 Caret is painted under textframe in input/textarea element r=roc 2010-03-27 13:33:17 +09:00
Robert O'Callahan ff44c3c9e3 Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Robert O'Callahan f9507c5457 Bug 534425. Part 4: Implement nsDisplayList::Paint using layers. r=mats,sr=dbaron 2010-03-01 20:56:19 +13:00
Robert O'Callahan 23df0d492f Bug 530686. Don't redraw box-shadows over the bounding rect of the dirty region; just redraw them over a (somewhat simplified) dirty region. r=dbaron 2009-11-30 18:14:04 -05:00
Robert O'Callahan 021671bf33 Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron 2009-10-07 17:28:41 +13:00
Robert O'Callahan c2f7a1e950 Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Bobby Holley 0b8080d9b5 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Bobby Holley 86dd317584 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Zack Weinberg 430c5ceb95 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Robert O'Callahan b8e126f83c 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
Boris Zbarsky 5488eaf4ad Bug 504221 part 4. Switch MarkFramesForDisplayList to nsFrameList. r+sr=roc 2009-07-28 08:51:09 -04:00
Robert O'Callahan 0ed9805957 Bug 339548. Part 14: hide windowed plugins in CSS transforms and SVG foreignObject contexts; we can't display them properly, so let's not display them at all. r=dbaron 2009-07-22 12:45:14 +12:00
Robert O'Callahan dce2b0d98a Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Robert O'Callahan 12c9748167 Bug 339548. Part 6: Uninline IsMovingFrame so nsDisplayList.h doesn't have to include nsLayoutUtils.h. r=dbaron 2009-07-22 12:44:57 +12:00
Robert O'Callahan f18d65c6a2 Bug 339548. Part 5: Support an accurate mode for display lists computing visible regions. r=dbaron 2009-07-22 12:44:56 +12:00
Robert O'Callahan a26d44577d Bug 505186. Don't add useless nsDisplayReflowCount items to display lists in debug builds. r=bzbarsky 2009-07-22 12:44:52 +12:00
Timothy Nikkel 8f1f1d1fd5 Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc 2009-07-04 21:30:59 +12:00
Robert O'Callahan 5843f756df 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
tn 2598ca8cc5 Bug 490376 - Crash [@ nsDisplayList::GetBottom]; r=roc 2009-04-30 12:07:18 +02:00
tn 7b6a485f6f Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc
--HG--
extra : rebase_source : fd455bec928d342c184089dfba6c75191c4ea28d
2009-04-25 20:19:23 +12:00
Dão Gottwald b3521097f8 Backout bug 485275 (changeset 996c11579453) because of test failures 2009-04-18 10:53:27 +02:00
tn d746f2250f Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc 2009-04-18 09:11:29 +02:00
tn 9d5b04437e Bug 486644. Improve display list debug dumps for nsDisplayTransform. r=roc 2009-04-06 12:37:04 +12:00
Michael Ventnor 1afd316abf Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron 2009-02-10 21:45:13 +13:00
Michael Ventnor 726d154026 Bug 475877. Avoid unnecessary box-shadow repaints by implementing nsDisplayBoxShadow::OptimizeVisibility. r+sr=roc
--HG--
extra : rebase_source : 2e9c673a62ec7866d1f52324f3fc95397cd5abc6
2009-01-30 20:03:46 +13:00
Keith Schwarz 48a87265ac Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
Robert O'Callahan b52d3794d5 Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats 2008-09-11 12:24:16 +12:00
Arpad Borsos 709fd651fe Bug 443058 - Remove MOZ_DECL_CTOR_COUNTER; <mozilla-central> part; r=benjamin 2008-09-07 00:04:10 +02:00
Martijn Wargers b093ac751d Bug 449653. Make drawWindow work even inside an onload handler (so before we've unsuppressed painting), r+sr=roc 2008-08-18 15:09:17 -04:00
John Daniels b006229ae6 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Michael Ventnor 77451fb4e4 Bug 212633 - "Add support for CSS3 box-shadow" (rendering support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc] 2008-07-07 19:57:47 -05:00
Benjamin Smedberg 556cf36dc9 Bug 442729 - Annotate stack-only classes in layout, r+sr=roc 2008-07-01 15:16:45 -04:00
roc+@cs.cmu.edu a091e3d5c6 Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron 2008-04-18 02:21:21 -07:00
roc+@cs.cmu.edu fe6c3d833b Bug 428156 backout 2008-04-17 04:52:32 -07:00
roc+@cs.cmu.edu ae2ff1b3c0 Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner 2008-04-17 01:15:14 -07:00
roc+@cs.cmu.edu f44811bdc7 Bug 424915. Improve display list analysis so that sites with content covered by the scrolling element, such as GMail, can use bitblit scrolling. r+sr=dbaron,a=beltzner 2008-04-10 20:46:37 -07:00
roc+@cs.cmu.edu d5a1dc86da Bug 411585. Traverse all pages after the current page when painting a page, to locate placeholders that we need to traverse in order to paint out-of-flows on the current page. r+sr=dbaron 2008-04-08 06:06:12 -07:00
roc+@cs.cmu.edu c29f127699 Bug 416735. When a table frame paints the backgrounds for all its parts, make sure those parts notify the table frame display item when they are background-attachment:fixed. r+sr=dbaron 2008-04-06 04:34:14 -07:00
roc+@cs.cmu.edu 73197c8a63 Bug 417967. Align subframe drawing so that drawing at (0,0) relative to the root view's origin is aligned to a pixel boundary. r+sr=bzbarsky 2008-02-24 17:39:34 -08:00
roc+@cs.cmu.edu f8b25558e4 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
roc+@cs.cmu.edu 95e3dcb532 Bug 407889. Reduce dynamic memory allocations by putting nsDisplayListBuilder's per-presshell state in an nsAutoTArray. r+sr=mats 2008-01-03 17:53:01 -08:00
reed@reedloden.com 990cfd1d5b Bug 399532 - "nsDisplayBackground::GetBounds() should take nsITheme overflow into account" [p=frnchfrgg-mozbugs@altern.org (_FrnchFrgg_) r+sr=roc a1.9=beltzner] 2007-12-17 21:26:38 -08:00
pavlov@pavlov.net 12549d2ffd bug 403287. use an nsAutoTArray instead of an nsVoidArray to avoid heap allocations. r/sr=roc a=schrep 2007-11-11 12:31:39 -08:00
dholbert@cs.stanford.edu f90fee0b0b Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's. r=bzbarsky, r+a=roc 2007-10-19 10:41:29 -07:00
gerv@gerv.net 6dd53e09ca Bug 398009 - fix mangled license headers. a=stuart. 2007-10-06 05:08:39 -07:00
jwalden@mit.edu 4c25808b29 Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst 2007-08-29 13:38:44 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
bzbarsky@mit.edu eeaa1a101b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
roc+%cs.cmu.edu 4659d810e7 Bug 178513. Add nsDisplayList API that Neil's going to need --- a way to force all frames to be painted regardless of the setup of dirty rects. r+sr=dbaron 2007-03-19 03:25:05 +00:00
roc+%cs.cmu.edu 8339688ad2 Bug 350148. Fix scrolling in IFRAMEs with borders or outlines, by having OptimizeVisibility take account of the fact that borders or outlines whose inner rectangle entirely encloses the visible area are not, in fact, visible. r+sr=dbaron 2006-09-19 21:58:52 +00:00
bzbarsky%mit.edu feea3a45cc Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc 2006-09-19 04:26:20 +00:00
roc+%cs.cmu.edu d9cf8d8bf8 Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap 2006-04-27 02:45:03 +00:00
roc+%cs.cmu.edu 8956f1d8a1 Bug 334942. ExplodeAnonymousChildLists before sorting table parts. r=bernd 2006-04-27 02:25:23 +00:00
mrbkap%gmail.com b2b67bf3e0 Fixing bustage from bug 287813. 2006-04-18 00:17:42 +00:00
mrbkap%gmail.com e27b36efcc Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc 2006-04-17 23:16:46 +00:00
roc+%cs.cmu.edu ee089f28b9 Bug 333481. Sort table-part event-handling display items to ensure that the table comes before all row-groups, which come before all rows, which come before all cells. r=bernd 2006-04-17 22:16:24 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
gerv%gerv.net d6b60a5248 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-03-31 06:28:40 +00:00
dbaron%dbaron.org 5dcd0b1309 One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
roc+%cs.cmu.edu 6fd863f2dd Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc 2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu 1481564ee4 Bug 324896. Always paint some kind of background when we're asked to paint, for non-translucent windows. r+sr=dbaron 2006-02-06 20:38:47 +00:00
bzbarsky%mit.edu f96a096c2c Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
bzbarsky%mit.edu c91507ade8 Fixing more build bustage and warnings. Bug 317375 2006-01-26 05:14:30 +00:00
roc+%cs.cmu.edu 2ea2cb9c88 Fixing my bustage. 2006-01-26 03:33:38 +00:00
roc+%cs.cmu.edu 77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00