Speculative build fix for ENABLE(TELEPHONE_NUMBER_DETECTION) after r165724.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::linkifyPhoneNumbers):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] MiniBrowser fails to load injected bundle lib
https://bugs.webkit.org/show_bug.cgi?id=130332

Reviewed by Anders Carlsson.

This is because WEBKIT_INJECTED_BUNDLE_PATH env var is set too late.

* MiniBrowser/gtk/main.c:
(main): Make sure WEBKIT_INJECTED_BUNDLE_PATH is set before a web
process is spawn.

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

Addressing reviewing comments by Darin in bug #130310 that I forgot
to address before landing the changes in r165732.
https://bugs.webkit.org/show_bug.cgi?id=130310

* rendering/InlineTextBox.cpp:
* rendering/RenderLayer.cpp:
* rendering/RenderObject.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK][CMake] Ensure that HAVE_GTK_UNIX_PRINTING is defined when appropriate
https://bugs.webkit.org/show_bug.cgi?id=130155

Reviewed by Philippe Normand.

.:

* Source/cmake/FindGTKUnixPrint.cmake: Added.
* Source/cmake/OptionsGTK.cmake: Look for gtk+-unix-print and use it to turn on HAVE_GTK_UNIX_PRINTING.
* Source/cmakeconfig.h.cmake: Add the HAVE_GTK_UNIX_PRINTING define.

Source/WebKit2:

* PlatformGTK.cmake: Add GTK_UNIX_PRINT flags to the build.

Tools:

* TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Add GTK_UNIX_PRINT flags to the build.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK][CMake] Credential storage is not enabled
https://bugs.webkit.org/show_bug.cgi?id=130149

Reviewed by Philippe Normand.

.:

* Source/cmake/OptionsGTK.cmake: Add an ENABLE_CREDENTIAL_STORAGE option to the configuration
and look libsecret when it's enabled.
* Source/cmakeconfig.h.cmake: Expose the ENABLE_CREDENTIAL_STORAGE option to the build.

Source/WebCore:

* PlatformGTK.cmake: Add the libsecret include directories and link line to the build.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix handling of <annotation> in MathMLTextElement.
https://bugs.webkit.org/show_bug.cgi?id=124128.

Reviewed by Darin Adler.

No new tests.

* mathml/MathMLTextElement.cpp:
(WebCore::MathMLTextElement::createElementRenderer): do not create the special RenderMathMLToken for the <annotation> tag.
(WebCore::MathMLTextElement::childShouldCreateRenderer): only allow text inside <annotation>.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Safari should not render a cell if the <td> is empty
https://bugs.webkit.org/show_bug.cgi?id=15273

Patch by Gurpreet Kaur <k.gurpreet@samsung.com> on 2014-03-17
Reviewed by Darin Adler.

Source/WebCore:

When table cell has no children and the doctype is not present or not
correct the border for that cell should not be drawn. Firefox also
follows the same behaviour hence making the changes to make it similiar
to Firefox behaviour.

Tests: fast/table/table-cell-border-doctype.html
       fast/table/table-cell-border-no-doctype.html

* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paintBoxDecorations):
Added condition for not drawing the border when table cell has no child
and doctype.

LayoutTests:

* fast/table/table-cell-border-doctype-expected.html: Added.
* fast/table/table-cell-border-doctype.html: Added.
* fast/table/table-cell-border-no-doctype-expected.html: Added.
* fast/table/table-cell-border-no-doctype.html: Added.
Added new test cases to check the behaviour of table cell border when
table has doctype/no doctype and table cell has child/nochild.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the !ENABLE(PROMISES) build
https://bugs.webkit.org/show_bug.cgi?id=130328

Patch by Zsolt Borbely <borbezs@inf.u-szeged.hu> on 2014-03-17
Reviewed by Darin Adler.

Add missing ENABLE(PROMISES) guards.

Source/JavaScriptCore:

* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::reset):
(JSC::JSGlobalObject::visitChildren):
* runtime/JSGlobalObject.h:
* runtime/JSPromiseDeferred.cpp:
* runtime/JSPromiseDeferred.h:
* runtime/JSPromiseReaction.cpp:
* runtime/JSPromiseReaction.h:
* runtime/VM.cpp:
(JSC::VM::VM):
* runtime/VM.h:

Source/WebCore:

* bindings/js/JSDOMPromise.cpp:
* bindings/js/JSDOMPromise.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Grid Layout] getComputedStyle() not using author's order when showing named grid lines
https://bugs.webkit.org/show_bug.cgi?id=127837

Reviewed by David Hyatt.

Source/WebCore:

Added a couple of new Vectors to store the names of the grid lines
respecting their order. They will be used to get the right outcome
for getComputedStyle().

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::addValuesForNamedGridLinesAtIndex):
(WebCore::valueForGridTrackList):
* css/StyleResolver.cpp:
(WebCore::createGridTrackList):
(WebCore::StyleResolver::applyProperty):
* rendering/style/RenderStyle.h:
* rendering/style/StyleGridData.cpp:
(WebCore::StyleGridData::StyleGridData):
* rendering/style/StyleGridData.h:
(WebCore::StyleGridData::operator==):

LayoutTests:

Grid line names are now shown using the exact same order as the one used in the CSS.

* fast/css-grid-layout/named-grid-line-get-set-expected.txt:
* fast/css-grid-layout/named-grid-line-get-set.html:
* fast/css-grid-layout/non-named-grid-line-get-set-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Update Korean translations - Jan 15, 2014
https://bugs.webkit.org/show_bug.cgi?id=127001

Reviewed by Gustavo Noronha Silva.

* ko.po: Updated korean translations.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
sort-export-file --help doesn't work (missing 'use')
https://bugs.webkit.org/show_bug.cgi?id=130338

Reviewed by Anders Carlsson.

* Scripts/sort-export-file:
Add a missing 'use', and fix a typo in an error message.


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