Changeset 69723 in webkit


Ignore:
Timestamp:
Oct 13, 2010 6:01:52 PM (14 years ago)
Author:
kseo@webkit.org
Message:

[BREWMP] Port unicode
https://bugs.webkit.org/show_bug.cgi?id=45716

Reviewed by Kent Tamura.

Brew MP port uses only the subset of ICU library to reduce the binary size.
Follow the WinCE's implementation.

  • wtf/Platform.h:
  • wtf/unicode/Unicode.h:
  • wtf/unicode/brew/UnicodeBrew.cpp: Added.

(WTF::Unicode::toLower):
(WTF::Unicode::toUpper):
(WTF::Unicode::foldCase):
(WTF::Unicode::isPrintableChar):
(WTF::Unicode::isUpper):
(WTF::Unicode::isLower):
(WTF::Unicode::isDigit):
(WTF::Unicode::isPunct):
(WTF::Unicode::isAlphanumeric):
(WTF::Unicode::toTitleCase):
(WTF::Unicode::direction):
(WTF::Unicode::category):
(WTF::Unicode::decompositionType):
(WTF::Unicode::combiningClass):
(WTF::Unicode::mirroredChar):
(WTF::Unicode::digitValue):
(WTF::Unicode::isSpace):
(WTF::Unicode::isLetter):

  • wtf/unicode/brew/UnicodeBrew.h: Added.

(WTF::Unicode::isArabicChar):
(WTF::Unicode::isSeparatorSpace):
(WTF::Unicode::hasLineBreakingPropertyComplexContext):
(WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
(WTF::Unicode::umemcasecmp):

Location:
trunk/JavaScriptCore
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r69690 r69723  
     12010-10-13  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Kent Tamura.
     4
     5        [BREWMP] Port unicode
     6        https://bugs.webkit.org/show_bug.cgi?id=45716
     7
     8        Brew MP port uses only the subset of ICU library to reduce the binary size.
     9        Follow the WinCE's implementation.
     10
     11        * wtf/Platform.h:
     12        * wtf/unicode/Unicode.h:
     13        * wtf/unicode/brew/UnicodeBrew.cpp: Added.
     14        (WTF::Unicode::toLower):
     15        (WTF::Unicode::toUpper):
     16        (WTF::Unicode::foldCase):
     17        (WTF::Unicode::isPrintableChar):
     18        (WTF::Unicode::isUpper):
     19        (WTF::Unicode::isLower):
     20        (WTF::Unicode::isDigit):
     21        (WTF::Unicode::isPunct):
     22        (WTF::Unicode::isAlphanumeric):
     23        (WTF::Unicode::toTitleCase):
     24        (WTF::Unicode::direction):
     25        (WTF::Unicode::category):
     26        (WTF::Unicode::decompositionType):
     27        (WTF::Unicode::combiningClass):
     28        (WTF::Unicode::mirroredChar):
     29        (WTF::Unicode::digitValue):
     30        (WTF::Unicode::isSpace):
     31        (WTF::Unicode::isLetter):
     32        * wtf/unicode/brew/UnicodeBrew.h: Added.
     33        (WTF::Unicode::isArabicChar):
     34        (WTF::Unicode::isSeparatorSpace):
     35        (WTF::Unicode::hasLineBreakingPropertyComplexContext):
     36        (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
     37        (WTF::Unicode::umemcasecmp):
     38
    1392010-10-13  Gavin Barraclough  <barraclough@apple.com>
    240
  • trunk/JavaScriptCore/wtf/Platform.h

    r68644 r69723  
    575575#elif OS(WINCE)
    576576#define WTF_USE_WINCE_UNICODE 1
     577#elif PLATFORM(BREWMP)
     578#define WTF_USE_BREWMP_UNICODE 1
    577579#elif PLATFORM(GTK)
    578580/* The GTK+ Unicode backend is configurable */
  • trunk/JavaScriptCore/wtf/unicode/Unicode.h

    r67788 r69723  
    3434#elif USE(WINCE_UNICODE)
    3535#include <wtf/unicode/wince/UnicodeWinCE.h>
     36#elif USE(BREWMP_UNICODE)
     37#include <wtf/unicode/brew/UnicodeBrew.h>
    3638#else
    3739#error "Unknown Unicode implementation"
Note: See TracChangeset for help on using the changeset viewer.