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