[EFL] Hyphenation is not supported
authorryuan.choi@navercorp.com <ryuan.choi@navercorp.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jun 2015 05:23:57 +0000 (05:23 +0000)
committerryuan.choi@navercorp.com <ryuan.choi@navercorp.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jun 2015 05:23:57 +0000 (05:23 +0000)
commit09fe4dd35b456cd354518785bc6112b9c5b76e10
tree809653293556ba308729039833f3c2b9de7c77fb
parent3f0fbf06e35f69aadc01727450b1676f1843dd11
[EFL] Hyphenation is not supported
https://bugs.webkit.org/show_bug.cgi?id=89830

Reviewed by Gyuyoung Kim.

.:

* Source/cmake/OptionsEfl.cmake: Added an option for LibHyphen.

Source/WebCore:

Share libHyphen backend of GTK port.

Rebased fast/text/hyphenate-*.html

* PlatformEfl.cmake:
* PlatformGTK.cmake:
* platform/efl/FileSystemEfl.cpp:
(WebCore::listDirectory): Deleted because of lack of functionality.
eina_file_ls returns full directory path so fnmatch fails to check dict file.
This patch reuse Posix implementation instead of EFL port specific function.
* platform/posix/FileSystemPOSIX.cpp: Ditto.
* platform/text/gtk/HyphenationLibHyphen.cpp: Moved to platform/text/hyphen
* platform/text/hyphen/HyphenationLibHyphen.cpp:
Renamed from Source/WebCore/platform/text/gtk/HyphenationLibHyphen.cpp.
(WebCore::scanTestDictionariesDirectoryIfNecessary):
Added PLATFORM guard and EFL implementation for the test directory

Tools:

* efl/jhbuild.modules: Added webkitgtk-test-dicts for layout test.

LayoutTests:

Rebaseline expected results which is related to hyphenation.

* platform/efl/TestExpectations: Unskip hyphenate-locale.html
* platform/efl/fast/text/hyphenate-character-expected.png:
* platform/efl/fast/text/hyphenate-character-expected.txt:
* platform/efl/fast/text/hyphenate-first-word-expected.png:
* platform/efl/fast/text/hyphenate-first-word-expected.txt:
* platform/efl/fast/text/hyphenate-limit-before-after-expected.png:
* platform/efl/fast/text/hyphenate-limit-before-after-expected.txt:
* platform/efl/fast/text/hyphenate-limit-lines-expected.png:
* platform/efl/fast/text/hyphenate-limit-lines-expected.txt:
* platform/efl/fast/text/hyphenate-locale-expected.png: Added.
* platform/efl/fast/text/hyphenate-locale-expected.txt: Added.
* platform/efl/fast/text/hyphens-expected.png:
* platform/efl/fast/text/hyphens-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
24 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/efl/fast/text/hyphenate-character-expected.png
LayoutTests/platform/efl/fast/text/hyphenate-character-expected.txt
LayoutTests/platform/efl/fast/text/hyphenate-first-word-expected.png
LayoutTests/platform/efl/fast/text/hyphenate-first-word-expected.txt
LayoutTests/platform/efl/fast/text/hyphenate-limit-before-after-expected.png
LayoutTests/platform/efl/fast/text/hyphenate-limit-before-after-expected.txt
LayoutTests/platform/efl/fast/text/hyphenate-limit-lines-expected.png
LayoutTests/platform/efl/fast/text/hyphenate-limit-lines-expected.txt
LayoutTests/platform/efl/fast/text/hyphenate-locale-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/text/hyphenate-locale-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/text/hyphens-expected.png
LayoutTests/platform/efl/fast/text/hyphens-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/PlatformEfl.cmake
Source/WebCore/PlatformGTK.cmake
Source/WebCore/platform/efl/FileSystemEfl.cpp
Source/WebCore/platform/posix/FileSystemPOSIX.cpp
Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp [moved from Source/WebCore/platform/text/gtk/HyphenationLibHyphen.cpp with 98% similarity]
Source/cmake/OptionsEfl.cmake
Tools/ChangeLog
Tools/efl/jhbuild.modules