fe12fd092248edf4f7b5c6d7588a8b5c40df1a02
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2011-06-03  Hans Wennborg  <hans@chromium.org>
2
3         Reviewed by Tony Gentilcore.
4
5         IndexedDB: Clean-up function prototypes in IDBLevelDBBackingStore.cpp
6         https://bugs.webkit.org/show_bug.cgi?id=62013
7
8         Clean up the prototypes for cursor open functions by introducing the
9         CursorOptions struct.
10
11         Just clean-up, no new functionality so no new tests.
12
13         * storage/IDBLevelDBBackingStore.cpp:
14         (WebCore::CursorOptions::CursorImplCommon::CursorImplCommon):
15         (WebCore::CursorOptions::CursorImplCommon::firstSeek):
16         (WebCore::CursorOptions::CursorImplCommon::continueFunction):
17         (WebCore::CursorOptions::ObjectStoreCursorImpl::create):
18         (WebCore::CursorOptions::ObjectStoreCursorImpl::ObjectStoreCursorImpl):
19         (WebCore::CursorOptions::IndexKeyCursorImpl::create):
20         (WebCore::CursorOptions::IndexKeyCursorImpl::IndexKeyCursorImpl):
21         (WebCore::CursorOptions::IndexCursorImpl::create):
22         (WebCore::CursorOptions::IndexCursorImpl::IndexCursorImpl):
23         (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
24         (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
25         (WebCore::IDBLevelDBBackingStore::openIndexCursor):
26
27 2011-06-06  Mustafizur Rahaman  <mustaf.here@gmail.com>
28
29         Reviewed by Darin Adler.
30
31         Fix LayoutTests/canvas/philip/tests/2d.composite.operation.highlight.html
32         https://bugs.webkit.org/show_bug.cgi?id=48290
33         
34         "highlight" is not a valid globalComposite operation
35         as per http://www.w3.org/TR/2011/WD-2dcontext-20110525/#compositing
36         Therefore, removed the option from the source code.
37         
38         Tests: No new tests required.
39         LayoutTests\canvas\philip\tests\2d.composite.operation.highlight.html can be used for testing.
40
41         * css/CSSPrimitiveValueMappings.h:
42         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
43         (WebCore::CSSPrimitiveValue::operator CompositeOperator):
44         * platform/graphics/GraphicsTypes.cpp:
45         * platform/graphics/GraphicsTypes.h:
46         * platform/graphics/cairo/CairoUtilities.cpp:
47         (WebCore::toCairoOperator):
48         * platform/graphics/cg/GraphicsContextCG.cpp:
49         (WebCore::GraphicsContext::setPlatformCompositeOperation):
50         * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
51         (WebCore::SharedGraphicsContext3D::applyCompositeOperator):
52         * platform/graphics/openvg/PainterOpenVG.cpp:
53         (WebCore::PlatformPainterState::applyBlending):
54         * platform/graphics/qt/GraphicsContextQt.cpp:
55         (WebCore::toQtCompositionMode):
56         * platform/graphics/skia/SkiaUtils.cpp:
57
58 2011-06-04  Abhishek Arya  <inferno@chromium.org>
59
60         Reviewed by Kent Tamura.
61
62         Add some asserts for array boundary checks in TextRun. Fix
63         an integer issue in linux text controller code.
64         https://bugs.webkit.org/show_bug.cgi?id=62085
65
66         Testing ComplexTextControllerLinux change requires a testcase
67         > 32 kb which is not feasible. All other changes are tested by
68         existing layouttests.
69
70         * platform/graphics/TextRun.h:
71         (WebCore::TextRun::operator[]): add assert.
72         (WebCore::TextRun::data): add assert.
73         * platform/graphics/WidthIterator.cpp:
74         (WebCore::WidthIterator::advance): bail early and prevent access
75         to one byte across the text run boundary.
76         * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
77         (WebCore::ComplexTextController::getNormalizedTextRun): wrong
78         int16 vs int comparison.
79         * rendering/svg/SVGTextRunRenderingContext.cpp:
80         (WebCore::SVGTextRunWalker::walk): bail early when from and to
81         is outside the text run boundary. this hit easily after adding
82         the assert when from = to = end and read in run.data(from). 
83
84 2011-06-05  Kent Tamura  <tkent@chromium.org>
85
86         Reviewed by Dimitri Glazkov.
87
88         Rolling out r84528.
89         http://trac.webkit.org/changeset/84528
90         https://bugs.webkit.org/show_bug.cgi?id=62100
91
92         It made several problems on elements with new shadow DOM.
93
94         * dom/Element.cpp:
95         (WebCore::Element::copyNonAttributeProperties):
96
97 2011-06-05  Igor Oliveira  <igor.oliveira@openbossa.org>
98
99         Reviewed by Kenneth Rohde Christiansen.
100
101         fast/viewport/viewport-45.html fails in GTK+/Qt
102         https://bugs.webkit.org/show_bug.cgi?id=47481
103
104         computeViewportAttributes does many math operations with float point arithmetic
105         and in some cases there is loss of precision making tests have incorrect values.
106
107         * dom/ViewportArguments.cpp:
108         (WebCore::computeViewportAttributes):
109
110 == Rolled over to ChangeLog-2011-06-04 ==