Skip to content
  • weinig@apple.com's avatar
    Split ICU UText providers out into their own files · 5bc85201
    weinig@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=126834
    
    Reviewed by Anders Carlsson.
    
    Moves the implementation of our custom UText providers out into
    their own files.
    - UTextProviderLatin1.h/cpp contains the Latin-1 provider.
    - UTextProviderUTF16.h/cpp contains the UTF-16 provider.
    - UTextProvider.h/cpp contains code common to all the providers.
    
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * PlatformGTK.cmake:
    * WebCore.vcxproj/WebCoreCommon.props:
    * WebCore.vcxproj/copyForwardingHeaders.cmd:
    * WebCore.xcodeproj/project.pbxproj:
    * platform/text/TextAllInOne.cpp:
    * platform/text/TextBreakIteratorICU.cpp:
    (WebCore::setUpIterator):
    (WebCore::wordBreakIterator):
    (WebCore::acquireLineBreakIterator):
    (WebCore::sentenceBreakIterator):
    (WebCore::setUpIteratorWithRules):
    * platform/text/icu: Added.
    * platform/text/icu/UTextProvider.cpp: Added.
    (WebCore::fixPointer):
    (WebCore::uTextCloneImpl):
    * platform/text/icu/UTextProvider.h: Added.
    (WebCore::uTextProviderContext):
    (WebCor...
    5bc85201