[EFL] Use eina_stringshare_add instead of strdup.
https://bugs.webkit.org/show_bug.cgi?id=92072

Reviewed by Kentaro Hara.

Eina of EFL libraries supports a string functionality that replaces strdup. So, EFL port needs
to replace strdup with eina_stringshare_add function.

Source/WebKit/efl:

In addition, some API descriptions need to be modified according to ewk APIs's parameter and
return type change.

* WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::runJavaScriptPrompt):
* ewk/ewk_cookies.cpp:
(ewk_cookies_get_all):
(ewk_cookies_cookie_free):
* ewk/ewk_cookies.h:
* ewk/ewk_frame.cpp:
(ewk_frame_script_execute):
(ewk_frame_selection_get):
(ewk_frame_resources_location_get):
(ewk_frame_plain_text_get):
* ewk/ewk_frame.h:
* ewk/ewk_intent.cpp:
(ewk_intent_suggestions_get):
(ewk_intent_extra_get):
(ewk_intent_extra_names_get):
* ewk/ewk_intent.h:
* ewk/ewk_js.cpp:
(ewk_js_variant_to_npvariant):
(ewk_js_object_new):
* ewk/ewk_view.cpp:
(_ewk_view_smart_run_javascript_prompt):
(ewk_view_selection_get):
(ewk_view_run_javascript_prompt):
(ewk_view_run_open_panel):
* ewk/ewk_view.h:
* ewk/ewk_view_private.h:

Source/WebKit2:

* UIProcess/API/efl/ewk_intent.cpp:
(ewk_intent_suggestions_get):
(ewk_intent_extra_get):
* UIProcess/API/efl/ewk_intent.h:

Tools:

DumpRenderTree also needs to be modified according to ewk APIs's parameter change.

* DumpRenderTree/efl/DumpRenderTree.cpp:
(dumpFramesAsText):
* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::onFrameIntentNew):
* DumpRenderTree/efl/DumpRenderTreeView.cpp:
(onJavaScriptPrompt):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix arithmetic composite filter for auto-vectorization
https://bugs.webkit.org/show_bug.cgi?id=92123

Reviewed by Nikolas Zimmermann.

Since only clamping of the result prevents GCC from auto-vectorizing the inner loop, this patch
adds a faster version of the inner loop to handle cases where clamping is unnecessary,

* platform/graphics/filters/FEComposite.cpp:
(WebCore::computeArithmeticPixelsUnclamped):
(WebCore::arithmeticSoftware):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Implement ColorSuggestionPicker page popup
https://bugs.webkit.org/show_bug.cgi?id=92109

Reviewed by Kent Tamura.

.:

* ManualTests/forms/color-suggestion-picker.html: Added. Tests colorSuggestionPicker.{js,css}

Source/WebCore:

Implements ColorSuggestionPicker page popup. This will be used in
certain ports as the datalist UI for <input type=color>.

No new tests because there is no way to open the popup yet.

* Resources/colorSuggestionPicker.css: Added.
(body):
(#main):
(.color-swatch):
(.color-swatch:hover):
(.color-swatch-container):
(.other-color):
* Resources/colorSuggestionPicker.js: Added.
(getScrollbarWidth):When there are more than 20 colors we need to
increase the window width to accommodate the scroll bar.
(createElement):
(handleMessage):
(initialize):
(handleArgumentsTimeout):
(validateArguments):
(submitValue): Calls setValueAndClosePopup with a numValue of 0.
(handleCancel): Calls setValueAndClosePopup with a numValue of -1.
(chooseOtherColor): Calls setValueAndClosePopup with a numValue of -2.
(ColorPicker):
(ColorPicker.prototype._layout): Lays out the color swatches in a 5x4
grid.
(ColorPicker.prototype._handleSwatchClick):
* WebCore.gyp/WebCore.gyp:


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

* platform/qt-4.8/Skipped: Unskip now passing tests. (bug85203)
* platform/qt/Skipped: Skip new tests without expected files.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] svg/hixie rebaseline after new test fonts.
https://bugs.webkit.org/show_bug.cgi?id=92242

Unreviewed gardening.

These tests have been skipped because monospace fonts weren't properly used by
layout tests. After r121971, the test results are normal again.

* platform/qt-5.0/Skipped:
* platform/qt/svg/hixie/dynamic/002-expected.txt:
* platform/qt/svg/hixie/error/002-expected.txt:
* platform/qt/svg/hixie/error/003-expected.png:
* platform/qt/svg/hixie/error/003-expected.txt:
* platform/qt/svg/hixie/error/010-expected.png:
* platform/qt/svg/hixie/error/010-expected.txt:
* platform/qt/svg/hixie/error/011-expected.png:
* platform/qt/svg/hixie/error/011-expected.txt:
* platform/qt/svg/hixie/error/013-expected.png:
* platform/qt/svg/hixie/error/013-expected.txt:
* platform/qt/svg/hixie/error/017-expected.png:
* platform/qt/svg/hixie/error/017-expected.txt:
* platform/qt/svg/hixie/intrinsic/001-expected.png:
* platform/qt/svg/hixie/intrinsic/001-expected.txt:
* platform/qt/svg/hixie/intrinsic/002-expected.png:
* platform/qt/svg/hixie/intrinsic/002-expected.txt:
* platform/qt/svg/hixie/intrinsic/003-expected.png:
* platform/qt/svg/hixie/intrinsic/003-expected.txt:
* platform/qt/svg/hixie/links/002-expected.png:
* platform/qt/svg/hixie/links/002-expected.txt:
* platform/qt/svg/hixie/mixed/003-expected.png:
* platform/qt/svg/hixie/mixed/003-expected.txt:
* platform/qt/svg/hixie/mixed/004-expected.txt: Added.
* platform/qt/svg/hixie/mixed/005-expected.txt: Added.
* platform/qt/svg/hixie/mixed/006-expected.png:
* platform/qt/svg/hixie/mixed/006-expected.txt:
* platform/qt/svg/hixie/mixed/007-expected.txt:
* platform/qt/svg/hixie/mixed/008-expected.png:
* platform/qt/svg/hixie/mixed/008-expected.txt:
* platform/qt/svg/hixie/mixed/009-expected.png:
* platform/qt/svg/hixie/mixed/009-expected.txt:
* platform/qt/svg/hixie/mixed/010-expected.png:
* platform/qt/svg/hixie/mixed/010-expected.txt:
* platform/qt/svg/hixie/mixed/011-expected.png:
* platform/qt/svg/hixie/mixed/011-expected.txt:
* platform/qt/svg/hixie/perf/001-expected.txt:
* platform/qt/svg/hixie/perf/002-expected.txt:
* platform/qt/svg/hixie/perf/003-expected.png:
* platform/qt/svg/hixie/perf/003-expected.txt:
* platform/qt/svg/hixie/perf/004-expected.png:
* platform/qt/svg/hixie/perf/004-expected.txt:
* platform/qt/svg/hixie/perf/005-expected.png:
* platform/qt/svg/hixie/perf/005-expected.txt:
* platform/qt/svg/hixie/perf/006-expected.png:
* platform/qt/svg/hixie/perf/006-expected.txt:
* platform/qt/svg/hixie/perf/007-expected.png:
* platform/qt/svg/hixie/perf/007-expected.txt:
* platform/qt/svg/hixie/processing-model/003-expected.png:
* platform/qt/svg/hixie/processing-model/003-expected.txt:
* platform/qt/svg/hixie/processing-model/004-expected.png:
* platform/qt/svg/hixie/processing-model/004-expected.txt:
* platform/qt/svg/hixie/rendering-model/003-expected.png:
* platform/qt/svg/hixie/rendering-model/003-expected.txt:
* platform/qt/svg/hixie/rendering-model/004-expected.png:
* platform/qt/svg/hixie/rendering-model/004-expected.txt:
* platform/qt/svg/hixie/text/002-expected.png:
* platform/qt/svg/hixie/text/002-expected.txt:
* platform/qt/svg/hixie/text/003-expected.png:
* platform/qt/svg/hixie/text/003-expected.txt:
* platform/qt/svg/hixie/text/003a-expected.png:
* platform/qt/svg/hixie/text/003a-expected.txt:
* platform/qt/svg/hixie/text/003b-expected.png:
* platform/qt/svg/hixie/text/003b-expected.txt:
* platform/qt/svg/hixie/viewbox/002-expected.txt:
* platform/qt/svg/hixie/viewbox/003-expected.txt:
* platform/qt/svg/hixie/viewbox/preserveAspectRatio/001-expected.png:
* platform/qt/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt:
* platform/qt/svg/hixie/viewbox/preserveAspectRatio/002-expected.png:
* platform/qt/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt:

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