WebCore
authorkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 May 2009 18:06:51 +0000 (18:06 +0000)
committerkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 May 2009 18:06:51 +0000 (18:06 +0000)
commit420c08db5a780a2538f1426b6467457c596b6062
tree193782a08e4f1655405d9a00d978821ebe0409bd
parent762504533c73a116c0a4d8ce06956bab40e94c7d
WebCore

2009-05-22  Dominik Röttsches  <dominik.roettsches@access-company.com>

        Reviewed by Gustavo Noronha.

        https://bugs.webkit.org/show_bug.cgi?id=15914
        [GTK] Implement Unicode functionality using GLib

        Minor changes that allow building a hybrid version of WebKit
        that has WTF Unicode backend based on GLib functions while
        text codecs and TextBreakIterator remain based on ICU.

        Fixed some includes that were assuming a WTF ICU backend and
        introduced temporary usage of WTF_USE_GLIB_ICU_UNICODE_HYBRID
        macro.

        * platform/ThreadGlobalData.cpp:
        (WebCore::ThreadGlobalData::ThreadGlobalData):
        (WebCore::ThreadGlobalData::~ThreadGlobalData):
        * platform/ThreadGlobalData.h:
        * platform/text/TextBoundariesICU.cpp:
        * platform/text/TextCodecICU.h:
        * platform/text/TextEncoding.cpp:
        (WebCore::TextEncoding::encode):
        * platform/text/TextEncodingRegistry.cpp:
        (WebCore::buildBaseTextCodecMaps):
        (WebCore::extendTextCodecMaps):

JavaScriptCore

2009-05-22  Dominik Röttsches  <dominik.roettsches@access-company.com>

        Reviewed by Gustavo Noronha.

        https://bugs.webkit.org/show_bug.cgi?id=15914
        [GTK] Implement Unicode functionality using GLib

        Original patch by Jürg Billeter and Naiem Shaik.
        Implementing WTF Unicode functionality based on GLib.

        * GNUmakefile.am:
        * wtf/unicode/Unicode.h:
        * wtf/unicode/glib: Added.
        * wtf/unicode/glib/UnicodeGLib.cpp: Added.
        (WTF::Unicode::foldCase):
        (WTF::Unicode::toLower):
        (WTF::Unicode::toUpper):
        (WTF::Unicode::direction):
        (WTF::Unicode::umemcasecmp):
        * wtf/unicode/glib/UnicodeGLib.h: Added.
        (WTF::Unicode::):
        (WTF::Unicode::toLower):
        (WTF::Unicode::toUpper):
        (WTF::Unicode::toTitleCase):
        (WTF::Unicode::isArabicChar):
        (WTF::Unicode::isFormatChar):
        (WTF::Unicode::isSeparatorSpace):
        (WTF::Unicode::isPrintableChar):
        (WTF::Unicode::isDigit):
        (WTF::Unicode::isPunct):
        (WTF::Unicode::mirroredChar):
        (WTF::Unicode::category):
        (WTF::Unicode::isLower):
        (WTF::Unicode::digitValue):
        (WTF::Unicode::combiningClass):
        (WTF::Unicode::decompositionType):
        * wtf/unicode/glib/UnicodeMacrosFromICU.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@44050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
17 files changed:
ChangeLog
GNUmakefile.am
JavaScriptCore/ChangeLog
JavaScriptCore/GNUmakefile.am
JavaScriptCore/wtf/unicode/Unicode.h
JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp [new file with mode: 0644]
JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h [new file with mode: 0644]
JavaScriptCore/wtf/unicode/glib/UnicodeMacrosFromICU.h [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/ThreadGlobalData.cpp
WebCore/platform/ThreadGlobalData.h
WebCore/platform/text/TextBoundariesICU.cpp
WebCore/platform/text/TextCodecICU.h
WebCore/platform/text/TextEncoding.cpp
WebCore/platform/text/TextEncodingRegistry.cpp
autotools/webkit.m4
configure.ac