[EFL][WK2] Move deviceScaleFactor to our view as it's view related
https://bugs.webkit.org/show_bug.cgi?id=105412

Reviewed by Laszlo Gombos.

* UIProcess/API/efl/EwkViewImpl.cpp:
(EwkViewImpl::setDeviceScaleFactor):
(EwkViewImpl::transformFromScene):
* UIProcess/API/efl/EwkViewImpl.h:
(EwkViewImpl):
* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_device_pixel_ratio_set):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] [WK2] Trailing semicolon in an #include line
https://bugs.webkit.org/show_bug.cgi?id=105418

Patch by Alberto Garcia <agarcia@igalia.com> on 2012-12-19
Reviewed by Xan Lopez.

* UIProcess/gtk/WebContextGtk.cpp:
Remove trailing semicolon in #include line.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
INPUT_MULTIPLE_FIELDS_UI: Make year field readonly if min and max have the same year
https://bugs.webkit.org/show_bug.cgi?id=105383

Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2012-12-19
Reviewed by Kent Tamura.

Source/WebCore:

Make year field readonly if min and max have the same year, and it does not have
value with different year.

Test: fast/forms/date-multiple-fields/date-multiple-fields-readonly-subfield.html

* css/html.css: Add CSS rule for the year field.
* html/shadow/DateTimeEditElement.cpp:
(DateTimeEditBuilder):
(WebCore::DateTimeEditBuilder::visitField): Make year-field readonly when appropriate.
(WebCore::DateTimeEditBuilder::shouldYearFieldReadOnly): Added.

LayoutTests:

* fast/forms/date-multiple-fields/date-multiple-fields-readonly-subfield-expected.txt: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-readonly-subfield.html: Added.
* fast/forms/date-multiple-fields/resources/preserve-value-after-history-back-frame.html: Tweak so year field is focusable.
* fast/forms/datetimelocal-multiple-fields/resources/preserve-value-after-history-back-frame.html: Ditto.
* fast/forms/month-multiple-fields/resources/preserve-value-after-history-back-frame.html: Ditto.
* fast/forms/week-multiple-fields/resources/preserve-value-after-history-back-frame.html: Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][Qt][WK2] Going back to 47-amazing-css3-animation-demos shows nothing or wrong position
https://bugs.webkit.org/show_bug.cgi?id=104414

Reviewed by Simon Hausmann.

When contents size changes, make sure to apply any pending position
change if possible.

* UIProcess/PageViewportController.cpp:
(WebKit::PageViewportController::didChangeContentsSize):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: scripts to evaluate on load are not removed from inspector state when Page agent is disabled
https://bugs.webkit.org/show_bug.cgi?id=105422

Reviewed by Alexander Pavlov.

- reset scripts to evaluate on load when InspectorPageAgent is disabled.
- added InspectorState::remove();

* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::disable):
* inspector/InspectorState.cpp:
(WebCore::InspectorState::remove):
(WebCore):
* inspector/InspectorState.h:
(InspectorState):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Support removing several tabs from TabbedEditorContainer/TabbedPane at once.
https://bugs.webkit.org/show_bug.cgi?id=104881

Reviewed by Alexander Pavlov.

* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._uiSourceCodeRemoved):
* inspector/front-end/TabbedEditorContainer.js:
(WebInspector.TabbedEditorContainer.prototype.removeUISourceCode):
* inspector/front-end/TabbedPane.js:
(WebInspector.TabbedPane.prototype.closeTab):
(WebInspector.TabbedPane.prototype.closeTabs):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2][AC] Avoid creating an empty surface.
https://bugs.webkit.org/show_bug.cgi?id=105410

Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2012-12-19
Reviewed by Kenneth Rohde Christiansen.

Ensure that the view has valid size before creating the surface.

* UIProcess/API/efl/EvasGLSurface.h:
(WebKit::EvasGLSurface::create):
* UIProcess/API/efl/EwkViewImpl.cpp:
(EwkViewImpl::displayTimerFired):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening, update pixel results.

* platform/qt-5.0-wk2/fast/backgrounds/transformed-body-background-expected.png: Removed.
* platform/qt-5.0-wk2/fast/backgrounds/transformed-body-html-background-expected.png: Removed.
* platform/qt-5.0-wk2/fast/backgrounds/transformed-html-body-background-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/datalist/input-appearance-range-with-transform-expected.png: Removed.
* platform/qt-5.0-wk2/fast/layers/scroll-with-transform-composited-layer-expected.png: Removed.
* platform/qt-5.0-wk2/svg/dom/SVGLengthList-getItem-expected.png: Removed.
* platform/qt-5.0-wk2/svg/dom/SVGLengthList-initialize-expected.png: Removed.
* platform/qt-5.0-wk2/svg/dom/SVGLengthList-replaceItem-expected.png: Removed.
* platform/qt/compositing/masks/masked-ancestor-expected.png:
* platform/qt/compositing/reflections/reflection-in-composited-expected.png:
* platform/qt/compositing/shadows/shadow-drawing-expected.png:
* platform/qt/css1/box_properties/border_style-expected.png:
* platform/qt/css2.1/t0805-c5517-brdr-s-00-c-expected.png:
* platform/qt/css2.1/t0805-c5519-brdr-r-01-e-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-04-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-14-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-24-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-34-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-44-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-54-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-64-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-74-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-84-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-94-d-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-007-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-009-expected.png:
* platform/qt/editing/selection/extend-by-character-002-expected.png:
* platform/qt/editing/selection/extend-by-character-004-expected.png:
* platform/qt/editing/selection/move-by-character-002-expected.png:
* platform/qt/editing/selection/move-by-character-004-expected.png:
* platform/qt/fast/backgrounds/animated-svg-as-mask-expected.png:
* platform/qt/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
* platform/qt/fast/backgrounds/transformed-body-background-expected.png: Added.
* platform/qt/fast/backgrounds/transformed-body-html-background-expected.png: Added.
* platform/qt/fast/backgrounds/transformed-html-body-background-expected.png: Added.
* platform/qt/fast/css/outline-auto-empty-rects-expected.png:
* platform/qt/fast/css/outline-auto-location-expected.png:
* platform/qt/fast/css/resize-corner-tracking-transformed-expected.png:
* platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.png:
* platform/qt/fast/forms/datalist/input-appearance-range-with-datalist-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/fast/forms/datalist/input-appearance-range-with-datalist-expected.png.
* platform/qt/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png.
* platform/qt/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png.
* platform/qt/fast/forms/datalist/input-appearance-range-with-transform-expected.png: Added.
* platform/qt/fast/forms/number/number-appearance-rtl-expected.png:
* platform/qt/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.png:
* platform/qt/fast/forms/select-baseline-expected.png:
* platform/qt/fast/inline/continuation-outlines-expected.png:
* platform/qt/fast/layers/scroll-with-transform-composited-layer-expected.png: Added.
* platform/qt/fast/layers/scroll-with-transform-layer-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/fast/layers/scroll-with-transform-layer-expected.png.
* platform/qt/fast/multicol/vertical-lr/float-avoidance-expected.png:
* platform/qt/fast/multicol/vertical-rl/float-avoidance-expected.png:
* platform/qt/fast/overflow/overflow-with-local-background-attachment-expected.png:
* platform/qt/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.png:
* platform/qt/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-rl-expected.png:
* platform/qt/fast/repaint/line-flow-with-floats-in-regions-expected.png:
* platform/qt/fast/repaint/reflection-repaint-test-expected.png:
* platform/qt/fast/repaint/region-painting-invalidation-expected.png:
* platform/qt/fast/repaint/region-painting-via-layout-expected.png:
* platform/qt/fast/repaint/transform-repaint-descendants-expected.png:
* platform/qt/fast/replaced/selection-rect-transform-expected.png:
* platform/qt/fast/table/035-vertical-expected.png:
* platform/qt/fast/table/border-collapsing/001-expected.png:
* platform/qt/fast/table/border-collapsing/001-vertical-expected.png:
* platform/qt/fast/table/border-collapsing/004-vertical-expected.png:
* platform/qt/fast/transforms/transform-table-row-expected.png:
* platform/qt/fast/transforms/transformed-caret-expected.png:
* platform/qt/fast/writing-mode/box-shadow-vertical-lr-expected.png:
* platform/qt/fast/writing-mode/box-shadow-vertical-rl-expected.png:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-11-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-84-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/masking-path-03-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/paths-data-04-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/paths-data-06-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/paths-data-08-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-align-02-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-path-01-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png:
* platform/qt/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-01-t-expected.png:
* platform/qt/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.png:
* platform/qt/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.png:
* platform/qt/svg/as-background-image/svg-as-background-5-expected.png:
* platform/qt/svg/batik/paints/patternPreserveAspectRatioA-expected.png:
* platform/qt/svg/batik/text/smallFonts-expected.png:
* platform/qt/svg/batik/text/textAnchor-expected.png:
* platform/qt/svg/batik/text/textGlyphOrientationHorizontal-expected.png:
* platform/qt/svg/batik/text/textOnPath-expected.png:
* platform/qt/svg/batik/text/textOnPath2-expected.png:
* platform/qt/svg/batik/text/textOnPathSpaces-expected.png:
* platform/qt/svg/batik/text/verticalText-expected.png:
* platform/qt/svg/batik/text/verticalTextOnPath-expected.png:
* platform/qt/svg/batik/text/xmlSpace-expected.png:
* platform/qt/svg/carto.net/button-expected.png:
* platform/qt/svg/carto.net/colourpicker-expected.png:
* platform/qt/svg/carto.net/slider-expected.png:
* platform/qt/svg/carto.net/textbox-expected.png:
* platform/qt/svg/carto.net/window-expected.png:
* platform/qt/svg/css/text-shadow-multiple-expected.png:
* platform/qt/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/qt/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/qt/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/qt/svg/custom/feComponentTransfer-Table-expected.png:
* platform/qt/svg/custom/focus-ring-expected.png:
* platform/qt/svg/custom/font-face-simple-expected.png:
* platform/qt/svg/custom/foreign-object-skew-expected.png:
* platform/qt/svg/custom/invalid-css-expected.png:
* platform/qt/svg/custom/marker-default-width-height-expected.png:
* platform/qt/svg/custom/no-inherited-dashed-stroke-expected.png:
* platform/qt/svg/custom/preserve-aspect-ratio-syntax-expected.png:
* platform/qt/svg/custom/shapes-supporting-markers-expected.png:
* platform/qt/svg/custom/stroked-pattern-expected.png:
* platform/qt/svg/custom/text-rotated-gradient-expected.png:
* platform/qt/svg/custom/text-tref-03-b-change-href-dom-expected.png:
* platform/qt/svg/custom/text-tref-03-b-change-href-expected.png:
* platform/qt/svg/custom/text-tref-03-b-referenced-element-removal-expected.png:
* platform/qt/svg/custom/text-tref-03-b-tref-removal-expected.png:
* platform/qt/svg/custom/tref-own-content-removal-expected.png:
* platform/qt/svg/custom/use-detach-expected.png:
* platform/qt/svg/custom/viewbox-syntax-expected.png:
* platform/qt/svg/dom/SVGLengthList-appendItem-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGLengthList-appendItem-expected.png.
* platform/qt/svg/dom/SVGLengthList-basics-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGLengthList-basics-expected.png.
* platform/qt/svg/dom/SVGLengthList-getItem-expected.png: Added.
* platform/qt/svg/dom/SVGLengthList-initialize-expected.png: Added.
* platform/qt/svg/dom/SVGLengthList-insertItemBefore-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGLengthList-insertItemBefore-expected.png.
* platform/qt/svg/dom/SVGLengthList-removeItem-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGLengthList-removeItem-expected.png.
* platform/qt/svg/dom/SVGLengthList-replaceItem-expected.png: Added.
* platform/qt/svg/dom/SVGLengthList-xml-dom-modifications-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGLengthList-xml-dom-modifications-expected.png.
* platform/qt/svg/dom/SVGLocatable-getCTM-svg-root-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGLocatable-getCTM-svg-root-expected.png.
* platform/qt/svg/dom/SVGNumberList-basics-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGNumberList-basics-expected.png.
* platform/qt/svg/dom/SVGPathSegList-appendItem-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGPathSegList-appendItem-expected.png.
* platform/qt/svg/dom/SVGPathSegList-clear-and-initialize-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGPathSegList-clear-and-initialize-expected.png.
* platform/qt/svg/dom/SVGPathSegList-insertItemBefore-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGPathSegList-insertItemBefore-expected.png.
* platform/qt/svg/dom/SVGPathSegList-removeItem-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGPathSegList-removeItem-expected.png.
* platform/qt/svg/dom/SVGPathSegList-replaceItem-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGPathSegList-replaceItem-expected.png.
* platform/qt/svg/dom/SVGPathSegList-xml-dom-synchronization-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGPathSegList-xml-dom-synchronization-expected.png.
* platform/qt/svg/dom/SVGPointList-basics-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGPointList-basics-expected.png.
* platform/qt/svg/dom/SVGStringList-basics-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGStringList-basics-expected.png.
* platform/qt/svg/dom/SVGTransformList-basics-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/svg/dom/SVGTransformList-basics-expected.png.
* platform/qt/svg/dynamic-updates/SVGUseElement-svgdom-href1-prop-expected.png:
* platform/qt/svg/hixie/perf/003-expected.png:
* platform/qt/svg/text/select-textLength-spacing-squeeze-3-expected.png:
* platform/qt/svg/text/select-textLength-spacing-stretch-1-expected.png:
* platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png:
* platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png:
* platform/qt/svg/text/select-x-list-1-expected.png:
* platform/qt/svg/text/select-x-list-with-tspans-1-expected.png:
* platform/qt/svg/text/small-fonts-2-expected.png:
* platform/qt/svg/text/small-fonts-3-expected.png:
* platform/qt/svg/text/text-align-01-b-expected.png:
* platform/qt/svg/text/text-align-02-b-expected.png:
* platform/qt/svg/text/text-align-03-b-expected.png:
* platform/qt/svg/text/text-align-06-b-expected.png:
* platform/qt/svg/text/text-fonts-02-t-expected.png:
* platform/qt/svg/text/text-path-01-b-expected.png:
* platform/qt/svg/text/text-text-03-b-expected.png:
* platform/qt/svg/text/text-text-05-t-expected.png:
* platform/qt/svg/text/text-tref-01-b-expected.png:
* platform/qt/svg/text/text-tselect-01-b-expected.png:
* platform/qt/svg/text/text-tspan-01-b-expected.png:
* platform/qt/svg/transforms/animated-path-inside-transformed-html-expected.png:
* platform/qt/svg/transforms/svg-css-transforms-expected.png:
* platform/qt/svg/transforms/text-with-mask-with-svg-transform-expected.png:
* platform/qt/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/qt/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/qt/svg/zoom/text/zoom-coords-viewattr-01-b-expected.png:
* platform/qt/svg/zoom/text/zoom-foreignObject-expected.png:
* platform/qt/tables/mozilla/bugs/bug6674-expected.png:
* platform/qt/tables/mozilla/marvin/backgr_position-table-expected.png:
* platform/qt/tables/mozilla/marvin/backgr_simple-table-cell-expected.png:
* platform/qt/tables/mozilla/marvin/backgr_simple-table-expected.png:
* platform/qt/tables/mozilla/marvin/backgr_simple-table-row-group-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_border-table-cell-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_border-table-column-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_border-table-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_border-table-quirks-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_border-table-row-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_border-table-row-group-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_position-table-cell-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_position-table-column-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_position-table-column-group-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_position-table-row-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/backgr_position-table-row-group-expected.png:
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.png:
* platform/qt/transforms/svg-vs-css-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Texmap] Instead of having multiple shaders sources with lots of duplication, we should have one shader source with MACRO variants
https://bugs.webkit.org/show_bug.cgi?id=104815

Patch by No'am Rosenthal <noam@webkit.org> on 2012-12-19
Reviewed by Kenneth Rohde Christiansen.

Created templates for the vertex and fragment shaders, and added some MACROs in
TextureMapperShaderManager to allow GLSL precompiler-based configuration.

The template follows a pattern where the main function in the shader calls
applyFooBarIfNeeded(), while applyFooBar() is implemented. The Macros prepended to the template define whether applyIfNeeded resolves to the real function or to a noop.

In addition, made some small changes to the filter shaders so that they can use the same code as the normal shaders.

Covered by existing pixel/ref tests when run on Qt/EFL/GTK.

* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::drawTexture):
(WebCore::TextureMapperGL::drawSolidColor):
(WebCore::TextureMapperGL::drawTextureWithAntialiasing):
(WebCore::optionsForFilterType):
(WebCore):
(WebCore::getPassesRequiredForFilter):
(WebCore::prepareFilterProgram):
(WebCore::TextureMapperGL::drawFiltered):
(WebCore::BitmapTextureGL::applyFilters):
    Always draw using the drawQuad function, and use the new TextureMapperShaderManager::Options mask instead of the old ShaderKey.

* platform/graphics/texmap/TextureMapperShaderManager.cpp:
(WebCore):
(WebCore::getShaderSpec):
(WebCore::TextureMapperShaderManager::getShaderProgram):
* platform/graphics/texmap/TextureMapperShaderManager.h:
(TextureMapperShaderProgram):
(TextureMapperShaderManager):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Move ImageDiff to the Tools directory root
https://bugs.webkit.org/show_bug.cgi?id=105305

Reviewed by Laszlo Gombos.

We previously moved this directory from the DRT directory to
efl/ImageDiff. The major reason for doing so was because ImageDiff does
not depend on DumpRenderTree but for legacy reasons was living inside the
DRT folder, even though it is needed when running pixel tests for WK2.

Now we are moving to Tool directory root as other ports agreed to do the same.

* CMakeLists.txt:
* ImageDiff/CMakeLists.txt: Added.
* ImageDiff/PlatformEfl.cmake: Added.
* ImageDiff/efl/ImageDiff.cpp: Renamed from Tools/efl/ImageDiff/ImageDiff.cpp.
* efl/ImageDiff/CMakeLists.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Refactor CSS[Keyword]Completions to augment property metadata
https://bugs.webkit.org/show_bug.cgi?id=105020

Reviewed by Pavel Feldman.

- CSSCompletions and CSSKeywordCompletions of WebInspector have been merged into CSSMetadata.
- Valid value keyword lists have been added or augmented for some properties.
- Some properties have been made inherited or color-aware.

* English.lproj/localizedStrings.js:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/compile-front-end.py:
* inspector/front-end/CSSCompletions.js: Removed.
* inspector/front-end/CSSKeywordCompletions.js: Removed.
* inspector/front-end/CSSMetadata.js: Added.
(WebInspector.CSSMetadata):
(WebInspector.CSSMetadata.isColorAwareProperty):
(WebInspector.CSSMetadata.colors):
(WebInspector.CSSMetadata.valuesForProperty):
(WebInspector.CSSMetadata.descriptor):
(WebInspector.CSSMetadata.requestCSSShorthandData):
(WebInspector.CSSMetadata.cssPropertiesMetainfoKeySet):
(WebInspector.CSSMetadata.prototype.startsWith):
(WebInspector.CSSMetadata.prototype.mostUsedOf):
(WebInspector.CSSMetadata.prototype._firstIndexOfPrefix):
(WebInspector.CSSMetadata.prototype.keySet):
(WebInspector.CSSMetadata.prototype.next):
(WebInspector.CSSMetadata.prototype.previous):
(WebInspector.CSSMetadata.prototype._closest):
(WebInspector.CSSMetadata.prototype.longhands):
(WebInspector.CSSMetadata.prototype.shorthands):
* inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleDeclaration.prototype.longhandProperties):
* inspector/front-end/SourceCSSTokenizer.js:
(WebInspector.SourceCSSTokenizer):
* inspector/front-end/SourceCSSTokenizer.re2js:
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylesSidebarPane.createExclamationMark):
(WebInspector.StylesSidebarPane.prototype._markUsedProperties):
(WebInspector.StylesSidebarPane.prototype._containsInherited):
(WebInspector.StylePropertiesSection.prototype.isPropertyInherited):
(WebInspector.StylePropertiesSection.prototype.isPropertyOverloaded):
(WebInspector.StylePropertiesSection.prototype.onpopulate):
(WebInspector.ComputedStylePropertiesSection.prototype.rebuildComputedTrace):
(WebInspector.StylePropertyTreeElement.prototype):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:
* inspector/front-end/inspector.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Rename workspace path to uri.
https://bugs.webkit.org/show_bug.cgi?id=105433

Reviewed by Pavel Feldman.

URI should later become file unique id / address in workspace.

* inspector/front-end/NetworkWorkspaceProvider.js:
(WebInspector.NetworkWorkspaceProvider.prototype.requestFileContent):
(WebInspector.NetworkWorkspaceProvider.prototype.setFileContent):
(WebInspector.NetworkWorkspaceProvider.prototype.searchInFileContent):
(WebInspector.NetworkWorkspaceProvider.prototype.addFile):
(WebInspector.NetworkWorkspaceProvider.prototype.removeFile):
* inspector/front-end/Workspace.js:
(WebInspector.FileDescriptor):
(WebInspector.WorkspaceProvider.prototype.requestFileContent):
(WebInspector.WorkspaceProvider.prototype.searchInFileContent):
(WebInspector.Project.prototype._fileAdded):
(WebInspector.Project.prototype._fileRemoved):
(WebInspector.Project.prototype.requestFileContent):
(WebInspector.Project.prototype.searchInFileContent):
(WebInspector.Workspace.prototype.addTemporaryUISourceCode):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Add Workspace.setFileContent() method
https://bugs.webkit.org/show_bug.cgi?id=105434

Reviewed by Pavel Feldman.

Added method that will be usedto save file system-based uiSourceCodes to the disk.

* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype._commitContent):
* inspector/front-end/Workspace.js:
(WebInspector.WorkspaceProvider.prototype.setFileContent):
(WebInspector.Project.prototype.setFileContent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Text Autosizing: Work out what to do about form controls
https://bugs.webkit.org/show_bug.cgi?id=102560

Patch by Tim Volodine <timvolodine@chromium.org> on 2012-12-19
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Disallow autosizing of form input controls like buttons, text input fields, selection controls, radio buttons
and check boxes. This is a short term solution to avoid inconsistent autosizing of form controls (which is
worse than not autosizing at all).

Tests: fast/text-autosizing/form-controls-autosizing-button-input-elements.html
       fast/text-autosizing/form-controls-autosizing-checkbox-input-element.html
       fast/text-autosizing/form-controls-autosizing-radio-input-element.html
       fast/text-autosizing/form-controls-autosizing-select-element.html
       fast/text-autosizing/form-controls-autosizing-textfield-input-elements.html

* rendering/TextAutosizer.cpp:
(WebCore):
(WebCore::formInputTags):
(WebCore::TextAutosizer::isAutosizingContainer):
(WebCore::TextAutosizer::contentHeightIsConstrained):
(WebCore::TextAutosizer::containerShouldBeAutosized):
(WebCore::TextAutosizer::containerContainsOneOfTags):
* rendering/TextAutosizer.h:

LayoutTests:

Tests for form input elements autosizing. Added tests to check that various kinds of form elements
don't get autosized, i.e. buttons, textareas, check boxes, radio button and selection menus.

* fast/text-autosizing/form-controls-autosizing-button-input-elements-expected.html: Added.
* fast/text-autosizing/form-controls-autosizing-button-input-elements.html: Added.
* fast/text-autosizing/form-controls-autosizing-checkbox-input-element-expected.html: Added.
* fast/text-autosizing/form-controls-autosizing-checkbox-input-element.html: Added.
* fast/text-autosizing/form-controls-autosizing-radio-input-element-expected.html: Added.
* fast/text-autosizing/form-controls-autosizing-radio-input-element.html: Added.
* fast/text-autosizing/form-controls-autosizing-select-element-expected.html: Added.
* fast/text-autosizing/form-controls-autosizing-select-element.html: Added.
* fast/text-autosizing/form-controls-autosizing-textfield-input-elements-expected.html: Added.
* fast/text-autosizing/form-controls-autosizing-textfield-input-elements.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Use Document* as argument in WebSocket Instrumentation.
https://bugs.webkit.org/show_bug.cgi?id=105279.

Patch by Pan Deng <pan.deng@intel.com> on 2012-12-19
Reviewed by Pavel Feldman.

Some WebSocket instrumentation fuctions adopted ScriptExecutionContext* as argument, it is not clear that
their clients and implementations are all using Document*. This patch adopt Document* as argument, and
Document* could supply more information in future.

No functionality changed, no new tests.

* inspector/InspectorInstrumentation.h:
(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::didCreateWebSocket):
(WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest):
(WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponse):
(WebCore::InspectorInstrumentation::didCloseWebSocket):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: refactor DefaultTextEditor's |expanded| setters
https://bugs.webkit.org/show_bug.cgi?id=105415

Patch by Andrey Lushnikov <lushnikov@chromium.com> on 2012-12-19
Reviewed by Pavel Feldman.

Refactor |expanded| setters and getters into |collapse()|, |expand()|
and |expanded()| methods

* inspector/front-end/DefaultTextEditor.js:
(WebInspector.TextEditorChunkedPanel.prototype._splitChunkOnALine):
(WebInspector.TextEditorChunkedPanel.prototype._expandChunks):
(WebInspector.TextEditorGutterPanel.prototype.textChanged):
(WebInspector.TextEditorGutterChunk.prototype.expanded): Added.
(WebInspector.TextEditorGutterChunk.prototype.collapse): Added.
(WebInspector.TextEditorGutterChunk.prototype.expand): Added.
(WebInspector.TextEditorMainPanel.prototype.markAndRevealRange):
(WebInspector.TextEditorMainPanel.prototype._updateHighlightsForRange):
(WebInspector.TextEditorMainChunk.prototype.expanded): Added.
(WebInspector.TextEditorMainChunk.prototype.collapse): Added.
(WebInspector.TextEditorMainChunk.prototype.expand): Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Expose WebKitShadowRoot constructor to DOMWindow.
https://bugs.webkit.org/show_bug.cgi?id=105385

Reviewed by Dimitri Glazkov.

Source/WebCore:

This is a follow-up patch for r137870.  WebKitShadowRoot
constructor should be in DOMWindow, just like all of the other
not-callable-constructors like HTMLDivElement, etc.  We need it
for instanceof tests and so on.

Test: fast/dom/shadow/shadow-root-js-api.html
      fast/js/global-constructors-expected.html

* page/DOMWindow.idl:

LayoutTests:

* fast/dom/shadow/shadow-root-js-api-expected.txt:
* fast/dom/shadow/shadow-root-js-api.html:
* fast/js/global-constructors-expected.txt:
* platform/efl/fast/js/global-constructors-expected.txt:
* platform/gtk/fast/js/global-constructors-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: default font on mac is Monaco (should do be Menlo)
https://bugs.webkit.org/show_bug.cgi?id=105435

Reviewed by Alexander Pavlov.

Regressed when I introduced mountain lion modifier in the inspector.css.

* inspector/front-end/inspector.css:
(body.platform-mac .monospace, body.platform-mac .source-code):
(body.platform-mac.platform-mac-tiger .source-code):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Enable Navigation Timing by default
https://bugs.webkit.org/show_bug.cgi?id=105322

Reviewed by Martin Robinson.

The Navigation Timing specification (of which implementation is guarder
by the ENABLE_WEB_TIMING feature define) has been promoted to the W3C Recommendation
status. Because of this we should enable it by default in the release builds of
the GTK port.

No new tests - they already exist and are in majority passing.

* GNUmakefile.am:
* bindings/gobject/GNUmakefile.am: Move the DOM bindings for interfaces related to this
feature out of the unstable features define guard and into the general list.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r138157.
http://trac.webkit.org/changeset/138157
https://bugs.webkit.org/show_bug.cgi?id=105439

Crashes with assertion failures in EFL debug build. (Requested
by drott on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-12-19

* platform/graphics/texmap/TextureMapperGL.cpp:
(SharedGLData):
(WebCore::TextureMapperGL::drawTexture):
(WebCore::TextureMapperGL::drawTextureWithAntialiasing):
(WebCore::keyForFilterType):
(WebCore::prepareFilterProgram):
(WebCore::TextureMapperGL::drawFiltered):
(WebCore::TextureMapperGL::beginClip):
* platform/graphics/texmap/TextureMapperShaderManager.cpp:
(WebCore):
(ShaderSpec):
(WebCore::ShaderSpec::ShaderSpec):
(WebCore::getShaderSpec):
(WebCore::TextureMapperShaderManager::getShaderProgram):
* platform/graphics/texmap/TextureMapperShaderManager.h:
(TextureMapperShaderProgram):
(TextureMapperShaderManager):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138168 268f45cc-cd09-0410-ab3c-d52691b4dbfc