2010-12-06 Philippe Normand <pnormand@igalia.com>
[WebKit-https.git] / WebCore / ChangeLog
1 2010-12-06  Philippe Normand  <pnormand@igalia.com>
2
3         Reviewed by Martin Robinson.
4
5         [GStreamer] use ResourceHandle::setDefersLoading in WebKitWebSourceGStreamer
6         https://bugs.webkit.org/show_bug.cgi?id=44157
7
8         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
9         (webKitWebSrcNeedDataMainCb):
10         (webKitWebSrcEnoughDataMainCb): Replaced platform-specific code
11         with cross-platform ResourceHandle::setDefersLoading calls.
12
13 2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>
14
15         Unreviewed Leopard build fix for r73388.
16
17         * accessibility/AccessibilitySlider.cpp:
18         (WebCore::AccessibilitySlider::maxValueForRange):
19         (WebCore::AccessibilitySlider::minValueForRange):
20
21 2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>
22
23         Unreviewed build fix for Leopard after r73379.
24
25         * platform/graphics/cg/GraphicsContextCG.cpp:
26         (WebCore::GraphicsContext::setAllowsFontSmoothing):
27
28 2010-12-06  Nate Chapin  <japhet@chromium.org>
29
30         Reviewed by Adam Barth.
31
32         Make DocumentWriter a member of DocumentLoader
33         instead of FrameLoader.
34         https://bugs.webkit.org/show_bug.cgi?id=50489
35
36         Refactor, no new tests.
37
38         * bindings/ScriptControllerBase.cpp:
39         (WebCore::ScriptController::executeIfJavaScriptURL):
40         * dom/Document.cpp:
41         (WebCore::Document::Document):
42         (WebCore::Document::close):
43         (WebCore::Document::lastModified):
44         (WebCore::Document::finishedParsing):
45         (WebCore::Document::initSecurityContext):
46         (WebCore::Document::updateURLForPushOrReplaceState):
47         * dom/Document.h:
48         (WebCore::Document::setDocumentLoader):
49         (WebCore::Document::loader):
50         * dom/ProcessingInstruction.cpp:
51         (WebCore::ProcessingInstruction::checkStyleSheet):
52         * dom/ScriptElement.cpp:
53         (WebCore::ScriptElement::scriptCharset):
54         * html/HTMLLinkElement.cpp:
55         (WebCore::HTMLLinkElement::process):
56         * html/MediaDocument.cpp:
57         (WebCore::MediaDocument::replaceMediaElementTimerFired):
58         * html/PluginDocument.cpp:
59         (WebCore::PluginDocumentParser::createDocumentStructure):
60         * loader/DocumentLoader.cpp:
61         (WebCore::DocumentLoader::DocumentLoader):
62         (WebCore::DocumentLoader::finishedLoading):
63         (WebCore::DocumentLoader::commitData):
64         (WebCore::DocumentLoader::setupForReplaceByMIMEType):
65         (WebCore::DocumentLoader::setFrame):
66         * loader/DocumentLoader.h:
67         (WebCore::DocumentLoader::writer):
68         * loader/DocumentWriter.h:
69         (WebCore::DocumentWriter::setFrame):
70         * loader/FrameLoader.cpp:
71         (WebCore::FrameLoader::FrameLoader):
72         (WebCore::FrameLoader::init):
73         (WebCore::FrameLoader::clear):
74         (WebCore::FrameLoader::receivedFirstData):
75         (WebCore::FrameLoader::transitionToCommitted):
76         (WebCore::FrameLoader::open):
77         (WebCore::FrameLoader::finishedLoadingDocument):
78         (WebCore::FrameLoader::addExtraFieldsToRequest):
79         * loader/FrameLoader.h:
80         (WebCore::FrameLoader::notifier):
81         * loader/cache/CachedResourceLoader.cpp:
82         (WebCore::CachedResourceLoader::requestPreload):
83         * platform/network/FormDataBuilder.cpp:
84         (WebCore::FormDataBuilder::encodingFromAcceptCharset):
85         * svg/graphics/SVGImage.cpp:
86         (WebCore::SVGImage::dataChanged):
87
88 2010-12-06  Mark Rowe  <mrowe@apple.com>
89
90         Build fix.
91
92         * WebCore.xcodeproj/project.pbxproj: Don't force WebCore to build against the 10.5 SDK.
93         That's just plain wrong.
94
95 2010-12-06  Chris Fleizach  <cfleizach@apple.com>
96
97         Reviewed by Darin Adler.
98
99         HTML5 Slider does not work correctly with VoiceOver
100         https://bugs.webkit.org/show_bug.cgi?id=50505
101
102         Address a few problems with the Mac implementation for the accessibility slider.
103             1) The value indicator is not hit testable.
104             2) The value indicator does not return an AXValue.
105             3) In the slider, the min/max values are not correct when min/max attributes are not present.
106             4) When you change the value with the keyboard, it doesn't send out the right notification.
107             5) Sliders were returning AXValue and AXTopLevelUIElement attributes twice in their list of attributes.
108  
109         Test: platform/mac/accessibility/html-slider-indicator.html
110
111         * accessibility/AccessibilityObject.cpp:
112         (WebCore::AccessibilityObject::getAttribute):
113             Use fastGetAttribute on Element, instead of getAttribute.
114         * accessibility/AccessibilityObject.h:
115         (WebCore::AccessibilityObject::isInputSlider):
116         * accessibility/AccessibilityRenderObject.cpp:
117         (WebCore::AccessibilityRenderObject::doAccessibilityHitTest):
118         * accessibility/AccessibilitySlider.cpp:
119         (WebCore::AccessibilitySlider::doAccessibilityHitTest):
120         (WebCore::AccessibilitySlider::maxValueForRange):
121         (WebCore::AccessibilitySlider::minValueForRange):
122         * accessibility/AccessibilitySlider.h:
123         (WebCore::AccessibilitySlider::isInputSlider):
124         * accessibility/mac/AccessibilityObjectWrapper.mm:
125         (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
126         (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
127         * html/HTMLInputElement.cpp:
128         (WebCore::HTMLInputElement::applyStep):
129
130 2010-12-06  David Hyatt  <hyatt@apple.com>
131
132         Reviewed by Simon Fraser.
133
134         Fix for https://bugs.webkit.org/show_bug.cgi?id=49220 <<rdar://problem/8644849>, REGRESSION: transforms now
135         O(n^3) from pathological behavior in lowestPosition, rightmostPosition, leftmostPosition and topmostPosition.
136
137         This patch throws out the lowest/rightmost/leftmost/topmostPosition functions and re-architects layout overflow
138         in the engine to cache all the information required to properly handle scrolling.
139
140         In the old code, there were two types of overflow: layout overflow and visual overflow.  The former could
141         affect scrolling and the latter could not.  The distinction was largely meaningless, since layout overflow
142         wasn't actually used to determine scroll width or scroll height.  It didn't propagate across self-painting layer
143         boundaries either.  In the old code, the term visible overflow meant the union of the layout overflow and
144         visual overflow rects.
145
146         In the new code, the two types of overflow remain, but the distinction between the two is now clear.  Visual overflow
147         is used purely for painting and hit testing checks and layout overflow is used specifically for scrolling.  It has
148         been expanded to propagate across self-painting layers, to factor in relative positioning and transforms, and to
149         work with writing modes.
150
151         In order to minimize layout test changes, layers no longer incorporate right/bottom overflow into their width/height members.
152         Doing so uncovered two bugs where left/top overflow was ignored (proof that even having layer dimensions is harmful).
153         A render tree dump hack has been put into the code to keep this overflow dumping for the RenderView's layer, since otherwise
154         a huge number of tests would change.
155
156         Added fast/overflow/overflow-rtl-vertical.html to test vertical writing-mode overflow.  Existing tests cover the rest.
157
158         * page/FrameView.cpp:
159         (WebCore::FrameView::adjustViewSize):
160         (WebCore::FrameView::forceLayoutForPagination):
161         Changed to use RenderView's docTop/Left/Width/Height accessors, which simply grab the overflow and properly flip it
162         to account for writing modes.
163
164         * platform/graphics/IntRect.h:
165         (WebCore::IntRect::shiftLeftEdgeTo):
166         (WebCore::IntRect::shiftRightEdgeTo):
167         (WebCore::IntRect::shiftTopEdgeTo):
168         (WebCore::IntRect::shiftBottomEdgeTo):
169         New helper functions for sliding the edge of a rectangle without moving any of the other three edges.
170
171         * rendering/InlineBox.h:
172         (WebCore::InlineBox::frameRect):
173         frameRect is a helper for obtaining the x, y, width, height of an InlineBox as an IntRect.
174
175         * rendering/InlineFlowBox.cpp:
176         (WebCore::InlineFlowBox::placeBoxesInInlineDirection):
177         All of the overflow setting in the inline direction has been removed from this function.  All line overflow is computed
178         at once now in a single function: computeOverflow.
179
180         (WebCore::InlineFlowBox::addBoxShadowVisualOverflow):
181         (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
182         (WebCore::InlineFlowBox::addReplacedChildOverflow):
183         Helper for propagating overflow from specific types of children that occur on a line into the InlineFlowBox's overflow.
184
185         (WebCore::InlineFlowBox::computeOverflow):
186         The new function that computes both horizontal and vertical overflow for a line box.
187
188         (WebCore::InlineFlowBox::setLayoutOverflow):
189         (WebCore::InlineFlowBox::setVisualOverflow):
190         (WebCore::InlineFlowBox::setOverflowFromLogicalRects):
191         New functions that set the overflow computed by computeOverflow.  These replace setBlockDirectionOverflowPositions
192         and setInlineDirectionOverflowPositions.  They essentially do the same thing, but they operate on rectangles.
193
194         (WebCore::InlineFlowBox::nodeAtPoint):
195         (WebCore::InlineFlowBox::paint):
196         Changed to use visual overflow instead of visible overflow.  (Visible overflow as a union of layout and visual
197         overflow is no longer necessary, since visual overflow is now equivalent to the old visible overflow concept.)
198
199         * rendering/InlineFlowBox.h:
200         (WebCore::InlineFlowBox::logicalLayoutOverflowRect):
201         (WebCore::InlineFlowBox::logicalVisualOverflowRect):
202         Helpers for obtaining logical overflow rectangles, since lines compute their overflow in logical terms before
203         converting to block coordinates at the end.
204
205         * rendering/RenderBlock.cpp:
206         (WebCore::RenderBlock::layoutBlock):
207         (WebCore::RenderBlock::addOverflowFromChildren):
208         (WebCore::RenderBlock::computeOverflow):
209         (WebCore::RenderBlock::addOverflowFromFloats):
210         (WebCore::RenderBlock::addOverflowFromPositionedObjects):
211         Blocks now have a computeOverflow function called at the end of layout that adds in all the types of overflow.  The addOverflowFromChildren
212         method is virtual so that RenderListItem and RenderTable can subclass it.  RenderListItem has to position its list marker and
213         propagate marker overflow up, and RenderTable adds in overflow from its sections.
214
215         (WebCore::RenderBlock::layoutOnlyPositionedObjects):
216         (WebCore::RenderBlock::layoutPositionedObjects):
217         When only positioned objects lay out, overflow must still be recomputed.  The refactoring of overflow computation into a single
218         callable method: computeOverflow, makes it possible for this to be done easily.
219
220         (WebCore::RenderBlock::paint):
221         visible -> visual.
222
223         (WebCore::RenderBlock::addOverhangingFloats):
224         The propagation of float overflow has changed substantially.  The basic rules are:
225             (1) The float must be in our floating objects list to contribute to overflow.
226             (2) The float must be a descendant to contribute to overflow.
227             (3) The block must have the outermost list that contains the float, or it has a self-painting layer and
228                 so the float needs to be included in its overflow.
229
230         (WebCore::RenderBlock::nodeAtPoint):
231         visible -> visual.
232
233         (WebCore::RenderBlock::layoutColumns):
234         Remove column overflow computation from layoutColumns and move it to computeOverflow.
235
236         (WebCore::RenderBlock::adjustLinePositionForPagination):
237         visible -> visual.
238
239         * rendering/RenderBlock.h:
240         (WebCore::RenderBlock::scrollbarsChanged):
241         Added a new virtual method used by table cells when scrollbars in an overflow:auto/scroll table cell come and go.
242
243         * rendering/RenderBlockLineLayout.cpp:
244         (WebCore::RenderBlock::layoutInlineChildren):
245         (WebCore::RenderBlock::determineStartPosition):
246         (WebCore::RenderBlock::matchedEndLine):
247         (WebCore::RenderBlock::addOverflowFromInlineChildren):
248         (WebCore::RenderBlock::beforeSideVisualOverflowForLine):
249         (WebCore::RenderBlock::afterSideVisualOverflowForLine):
250         visible -> visual.
251
252         * rendering/RenderBox.cpp:
253         (WebCore::RenderBox::scrollWidth):
254         (WebCore::RenderBox::scrollHeight):
255         Patched to use layoutOverflow functions instead of the old rightmost/leftmostPosition functions.
256
257         (WebCore::RenderBox::paintRootBoxDecorations):
258         Use docLeft and docTop here, so that writing modes are handled.
259
260         (WebCore::RenderBox::clippedOverflowRectForRepaint):
261         visible -> visual.
262
263         (WebCore::RenderBox::addOverflowFromChild):
264         (WebCore::RenderBox::addLayoutOverflow):
265         (WebCore::RenderBox::addVisualOverflow):
266         (WebCore::RenderBox::logicalVisualOverflowRectForPropagation):
267         (WebCore::RenderBox::visualOverflowRectForPropagation):
268         (WebCore::RenderBox::logicalLayoutOverflowRectForPropagation):
269         (WebCore::RenderBox::layoutOverflowRectForPropagation):
270         * rendering/RenderBox.h:
271         The new overflow system for boxes.  Layout overflow now crosses self-painting layer boundaries and adjusts child boxes
272         for transforms, relative positioning and writing mode differences.
273
274         (WebCore::RenderBox::layoutOverflowRect):
275         (WebCore::RenderBox::topLayoutOverflow):
276         (WebCore::RenderBox::bottomLayoutOverflow):
277         (WebCore::RenderBox::leftLayoutOverflow):
278         (WebCore::RenderBox::rightLayoutOverflow):
279         Changed the default rectangle for layout overflow to be the client box to match the scrollable areas of overflow regions.
280
281         (WebCore::RenderBox::clientLogicalBottom):
282         New helper for obtaining the logical bottom of the client box.
283
284         (WebCore::RenderBox::clientBoxRect):
285         New helper for obtaining the clientLeft/Top/Width/Height box.
286
287         * rendering/RenderBoxModelObject.h:
288         (WebCore::RenderBoxModelObject::relativePositionLogicalOffset):
289         Helper for obtaining the relative position offset transposed for vertical writing modes.  Used by line overflow.
290
291         * rendering/RenderFlexibleBox.cpp:
292         (WebCore::RenderFlexibleBox::layoutBlock):
293         Changed flexible boxes to just call the base class computeOverflow method.
294
295         * rendering/RenderInline.cpp:
296         (WebCore::RenderInline::linesVisualOverflowBoundingBox):
297         (WebCore::RenderInline::clippedOverflowRectForRepaint):
298         visible -> visual.
299
300         * rendering/RenderInline.h:
301         * rendering/RenderLayer.cpp:
302         (WebCore::RenderLayer::updateLayerPosition):
303         Changed layers to no longer incorporate right/bottom overflow into width/height.  This is the reason many layout
304         tests change.  (Not doing this makes the layout test changes far worse, since overflow propagates across self-painting
305         layers now.)
306
307         (WebCore::RenderLayer::overflowTop):
308         (WebCore::RenderLayer::overflowBottom):
309         (WebCore::RenderLayer::overflowLeft):
310         (WebCore::RenderLayer::overflowRight):
311         overflowTop/Bottom/Left/Right return overflow that accounts for writing modes, i.e., purely physical overflow that can be used
312         to set up the scroll area.
313
314         (WebCore::RenderLayer::computeScrollDimensions):
315         Drastically simplified this method now that overflowTop/Bottom/Left/Right just do the right thing regarding unreachable overflow.
316
317         (WebCore::RenderLayer::updateScrollInfoAfterLayout):
318         Make sure to explicitly set the vertical scrollbar's position just as we did with horizontal scrollbars, so that clamping to the
319         bottom works.
320
321         (WebCore::performOverlapTests):
322         (WebCore::RenderLayer::paintLayer):
323         Fix a bug in performOverlapTests.  It incorrectly used the layer's bounds, and so it didn't account for left/top overflow out
324         of the layer (see why I hate layers even having dimensions?).  Changed it to use the bounding box of the layer instead.
325
326         (WebCore::RenderLayer::hitTest):
327         Fix a bug in hit testing.  It incorrectly used the root layer's bounds as the limit of the hit test, and so it didn't account
328         for left/top overflow in a ScrollView (hate hate hate layers having dimensions).  I changed it to use the hit test rect instead,
329         so that the damage rect never stops the point from being tested (unless the hit test request says not to ignore clipping).
330
331         (WebCore::RenderLayer::localBoundingBox):
332         visible -> visual.
333
334         * rendering/RenderLayer.h:
335         Added the new overflowTop/Left/Right/Bottom accessors.
336
337         * rendering/RenderLineBoxList.cpp:
338         (WebCore::RenderLineBoxList::anyLineIntersectsRect):
339         (WebCore::RenderLineBoxList::lineIntersectsDirtyRect):
340         (WebCore::RenderLineBoxList::paint):
341         (WebCore::RenderLineBoxList::hitTest):
342         visible -> visual.
343
344         * rendering/RenderListItem.cpp:
345         (WebCore::RenderListItem::addOverflowFromChildren):
346         (WebCore::RenderListItem::positionListMarker):
347         * rendering/RenderListItem.h:
348         RenderListItem now positions the list marker when computing its overflow, since the marker propagates overflow back up to the list item.
349
350         * rendering/RenderListMarker.cpp:
351         (WebCore::RenderListMarker::paint):
352         visible -> visual.
353
354         * rendering/RenderMarquee.cpp:
355         (WebCore::RenderMarquee::computePosition):
356         Changed to use overflow functions instead of rightmost/lowestPosition.
357
358         * rendering/RenderMedia.cpp:
359         * rendering/RenderMedia.h:
360         Removed the lowest/topmost/rightmost/leftmostPosition functions, since control overflow is handled properly already.
361
362         * rendering/RenderOverflow.h:
363         (WebCore::RenderOverflow::RenderOverflow):
364         (WebCore::RenderOverflow::setLayoutOverflow):
365         (WebCore::RenderOverflow::setVisualOverflow):
366         Add new setters for layout and visual overflow as rects.
367
368         * rendering/RenderReplaced.cpp:
369         (WebCore::RenderReplaced::shouldPaint):
370         (WebCore::RenderReplaced::clippedOverflowRectForRepaint):
371         visible -> visual.
372
373         * rendering/RenderRubyRun.cpp:
374         (WebCore::RenderRubyRun::layout):
375         Call computeOverflow to recompute our overflow information after we adjust the ruby.
376
377         * rendering/RenderTable.cpp:
378         (WebCore::RenderTable::layout):
379         (WebCore::RenderTable::addOverflowFromChildren):
380         (WebCore::RenderTable::paint):
381         * rendering/RenderTable.h:
382         Move section overflow propagation into addOverflowFromChildren, and change RenderTable to just call computeOverflow.
383
384         * rendering/RenderTableCell.cpp:
385         (WebCore::RenderTableCell::clippedOverflowRectForRepaint):
386         visible -> visual.
387
388         (WebCore::RenderTableCell::scrollbarsChanged):
389         Adding unreachable overflow support (something that in the old code only existed for positioned objects in the root view) exposed
390         a bug in table layout.  If scrollbars are added during the layout that occurs after intrinsic padding was incorporated into the
391         cell, then the cell won't lay out properly the second time (after the scrollbars have been added).  We have to adjust the intrinsic
392         padding accounting for the presence of the new scrollbar so the second layout will get the right dimensions.
393
394         * rendering/RenderTableCell.h:
395         (WebCore::RenderTableCell::hasVisualOverflow):
396         visible -> visual.
397
398         * rendering/RenderTableSection.cpp:
399         (WebCore::RenderTableSection::layoutRows):
400         * rendering/RenderTableSection.h:
401         visible -> visual.  Removed the leftmost/rightmost/topmost/bottommostPosition functions.
402
403         * rendering/RenderTreeAsText.cpp:
404         (WebCore::writeLayers):
405         Added a hack to render tree dumping to include right/bottom overflow for the root layer only.  This keeps a zillion layout tests
406         from failing.
407
408         * rendering/RenderView.cpp:
409         (WebCore::RenderView::layout):
410         (WebCore::RenderView::docTop):
411         (WebCore::RenderView::docBottom):
412         (WebCore::RenderView::docLeft):
413         (WebCore::RenderView::docRight):
414         * rendering/RenderView.h:
415         (WebCore::RenderView::docHeight):
416         (WebCore::RenderView::docWidth):
417         RenderView now uses docLeft/Top/Height/Width functions, which are just overflow queries that account for writing modes.  These methods
418         are now the preferred way to query for the physical dimensions of a document.
419
420         * rendering/RootInlineBox.cpp:
421         (WebCore::RootInlineBox::addHighlightOverflow):
422         Changed to call setOverflowFromLogicalRects instead of the block/inline position functions.
423
424         (WebCore::RootInlineBox::alignBoxesInBlockDirection):
425         Remove the computation of block direction overflow, since it now all happens at once after the line is built.
426
427         (WebCore::RootInlineBox::paddedLayoutOverflowRect):
428         * rendering/RootInlineBox.h:
429         Added a new helper function for incorporating the end padding into a line.  This end padding also includes the single pixel for a caret
430         in LTR if needed.
431
432 2010-12-06  Chris Marrin  <cmarrin@apple.com>
433
434         Reviewed by Simon Fraser.
435
436         Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
437         https://bugs.webkit.org/show_bug.cgi?id=49388
438
439         Replaced GraphicsLayerMac with GraphicsLayerCA. GraphicsLayerCA is essentially 
440         identical to GraphicsLayerMac, but replaces all the CoreAnimation specific calls 
441         with calls to PlatformCALayer and PlatformCAAnimation. This makes GraphicsLayerCA 
442         platform neutral as long as implementations of those two classes are available. 
443         Added implementations in PlatformCALayerMac and PlatformCAAnimationMac. Also got 
444         rid of GraphicsLayer::nativeLayer() and replaced it with GraphicsLayer::platformLayer() 
445         to avoid confusion since both names were used to refer to the same thing. 
446
447         This patch is only for Mac. Windows implementation has not changed.
448
449         * WebCore.xcodeproj/project.pbxproj:
450         * platform/graphics/GraphicsLayer.h:
451         * platform/graphics/ca/GraphicsLayerCA.cpp: Copied from WebCore/platform/graphics/ca/GraphicsLayerCA.cpp.
452         * platform/graphics/ca/GraphicsLayerCA.h: Copied from WebCore/platform/graphics/ca/GraphicsLayerCA.h.
453         * platform/graphics/ca/PlatformCAAnimation.h: Copied from WebCore/platform/graphics/ca/PlatformCAAnimation.h.
454         * platform/graphics/ca/PlatformCALayer.h: Copied from WebCore/platform/graphics/ca/PlatformCALayer.h.
455         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm: Copied from WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm.
456         (toCAMediaTimingFunction):
457         * platform/graphics/ca/mac/PlatformCALayerMac.mm: Copied from WebCore/platform/graphics/ca/mac/PlatformCALayerMac.mm.
458         (PlatformCALayer::PlatformCALayer):
459         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
460         * platform/graphics/chromium/GraphicsLayerChromium.h:
461         * platform/graphics/mac/GraphicsLayerMac.h: Removed.
462         * platform/graphics/mac/GraphicsLayerMac.mm: Removed.
463         * platform/graphics/mac/WebLayer.h:
464         * platform/graphics/mac/WebLayer.mm:
465         (-[WebLayer setNeedsDisplay]):
466         (-[WebLayer setNeedsDisplayInRect:]):
467         (-[WebLayer display]):
468         (-[WebLayer drawInContext:]):
469         * platform/graphics/mac/WebTiledLayer.h:
470         * platform/graphics/mac/WebTiledLayer.mm:
471         (-[WebTiledLayer setNeedsDisplay]):
472         (-[WebTiledLayer setNeedsDisplayInRect:]):
473         (-[WebTiledLayer display]):
474         (-[WebTiledLayer drawInContext:]):
475         * platform/graphics/qt/GraphicsLayerQt.cpp:
476         (WebCore::GraphicsLayerQtImpl::flushChanges):
477         * platform/graphics/qt/GraphicsLayerQt.h:
478         * platform/graphics/win/GraphicsLayerCACF.cpp:
479         * platform/graphics/win/GraphicsLayerCACF.h:
480
481 2010-12-06  Simon Fraser  <simon.fraser@apple.com>
482
483         Reviewed by Dan Bernstein.
484
485         Font antialiasing (smoothing) changes when elements are rendered into compositing layers
486         https://bugs.webkit.org/show_bug.cgi?id=23364
487
488         Text rendered by Core Graphics over a transparent background looks bad because of 
489         font smoothing, so turn off smoothing when rendering text into compositing layers.
490
491         * platform/graphics/GraphicsContext.h:
492         * platform/graphics/cg/GraphicsContextCG.cpp:
493         (WebCore::GraphicsContext::setAllowsFontSmoothing):
494         * platform/graphics/mac/WebLayer.mm:
495         (drawLayerContents):
496
497 2010-12-06  Patrick Gansterer  <paroga@webkit.org>
498
499         Reviewed by Andreas Kling.
500
501         [WINCE] Add build system
502         https://bugs.webkit.org/show_bug.cgi?id=50522
503
504         * CMakeListsWinCE.txt: Added.
505
506 2010-12-06  Chris Fleizach  <cfleizach@apple.com>
507
508         Reviewed by Oliver Hunt.
509
510         AX does not support HTML5 "required"
511         https://bugs.webkit.org/show_bug.cgi?id=50507
512
513         Test: platform/mac/accessibility/html5-required-attribute.html
514
515         * accessibility/AccessibilityRenderObject.cpp:
516         (WebCore::AccessibilityRenderObject::isRequired):
517
518 2010-12-06  Alejandro G. Castro  <alex@igalia.com>
519
520         Reviewed by Martin Robinson.
521
522         [GTK] using shadows leaks memory
523         https://bugs.webkit.org/show_bug.cgi?id=50541
524
525         Fixed leaks in the shadow code.
526         * platform/graphics/cairo/CairoUtilities.cpp:
527         (WebCore::drawPatternToCairoContext): adoptRef instead of just
528         getting a new reference.
529         * platform/graphics/cairo/GraphicsContextCairo.cpp:
530         (WebCore::drawPathShadow): handle cairo_path_t with smart
531         pointers.
532
533 2010-12-06  Yury Semikhatsky  <yurys@chromium.org>
534
535         Reviewed by Pavel Feldman.
536
537         [v8] Web Inspector: remove duplicate code for capturing stack trace
538         https://bugs.webkit.org/show_bug.cgi?id=50461
539
540         No new tests. Covered with existing inspector tests.
541
542         * bindings/js/ScriptCallStackFactory.cpp:
543         (WebCore::createScriptCallStack):
544         * bindings/js/ScriptCallStackFactory.h:
545         * bindings/v8/ScriptCallStackFactory.cpp:
546         (WebCore::toScriptCallFrame):
547         (WebCore::toScriptCallFramesVector):
548         (WebCore::createScriptCallStack):
549         * bindings/v8/ScriptCallStackFactory.h:
550         * bindings/v8/V8ConsoleMessage.cpp:
551         (WebCore::V8ConsoleMessage::handler):
552         * inspector/ScriptCallFrame.cpp:
553         (WebCore::ScriptCallFrame::ScriptCallFrame):
554         (WebCore::ScriptCallFrame::isEqual):
555         (WebCore::ScriptCallFrame::buildInspectorObject):
556         * inspector/ScriptCallFrame.h:
557         (WebCore::ScriptCallFrame::sourceURL):
558         * inspector/ScriptCallStack.h:
559         * inspector/TimelineRecordFactory.cpp:
560         (WebCore::TimelineRecordFactory::createGenericRecord):
561         * inspector/front-end/ConsoleView.js:
562         (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
563
564 == Rolled over to ChangeLog-2010-12-06 ==