Changeset 26831 in webkit


Ignore:
Timestamp:
Oct 20, 2007, 3:10:04 PM (18 years ago)
Author:
alp
Message:

2007-10-20 Alp Toker <alp@atoker.com>

Reviewed by Eric.

Support text boundary detection.
Move TextBoundariesWin.cpp to platform/ since it's portable and useful.
Split out and implement some TemporaryLinkStubs.

  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • platform/TextBoundariesICU.cpp: Copied from WebCore/platform/win/TextBoundariesWin.cpp.
  • platform/gtk/Language.cpp: Added. (WebCore::defaultLanguage):
  • platform/gtk/TemporaryLinkStubs.cpp:
  • platform/gtk/TextBreakIteratorInternalICUGtk.cpp: Added. (WebCore::currentTextBreakLocaleID):
  • platform/win/TextBoundariesWin.cpp: Removed.
Location:
trunk/WebCore
Files:
2 added
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r26830 r26831  
     12007-10-20  Alp Toker  <alp@atoker.com>
     2
     3        Reviewed by Eric.
     4
     5        Support text boundary detection.
     6        Move TextBoundariesWin.cpp to platform/ since it's portable and useful.
     7        Split out and implement some TemporaryLinkStubs.
     8
     9        * WebCore.pro:
     10        * WebCore.vcproj/WebCore.vcproj:
     11        * platform/TextBoundariesICU.cpp: Copied from WebCore/platform/win/TextBoundariesWin.cpp.
     12        * platform/gtk/Language.cpp: Added.
     13        (WebCore::defaultLanguage):
     14        * platform/gtk/TemporaryLinkStubs.cpp:
     15        * platform/gtk/TextBreakIteratorInternalICUGtk.cpp: Added.
     16        (WebCore::currentTextBreakLocaleID):
     17        * platform/win/TextBoundariesWin.cpp: Removed.
     18
    1192007-10-20  Mark Rowe  <mrowe@apple.com>
    220
  • trunk/WebCore/WebCore.pro

    r26824 r26831  
    912912        platform/gtk/GlyphPageTreeNodeGtk.cpp \
    913913        platform/gtk/KeyEventGtk.cpp \
     914        platform/gtk/Language.cpp \
    914915        platform/gtk/LocalizedStringsGtk.cpp \
    915916        platform/gtk/LoggingGtk.cpp \
     
    927928        platform/gtk/SystemTimeLinux.cpp \
    928929        platform/gtk/TemporaryLinkStubs.cpp \
     930        platform/TextBoundariesICU.cpp \
     931        platform/gtk/TextBreakIteratorInternalICUGtk.cpp \
    929932        platform/gtk/ThreadingGtk.cpp \
    930933        platform/gtk/WheelEventGtk.cpp \
  • trunk/WebCore/WebCore.vcproj/WebCore.vcproj

    r26801 r26831  
    33563356                        </File>
    33573357                        <File
     3358                                RelativePath="..\platform\TextBoundariesICU.cpp"
     3359                                >
     3360                        </File>
     3361                        <File
    33583362                                RelativePath="..\platform\TextBreakIterator.h"
    33593363                                >
     
    36883692                                <File
    36893693                                        RelativePath="..\platform\win\TemporaryLinkStubs.cpp"
    3690                                         >
    3691                                 </File>
    3692                                 <File
    3693                                         RelativePath="..\platform\win\TextBoundariesWin.cpp"
    36943694                                        >
    36953695                                </File>
  • trunk/WebCore/platform/gtk/TemporaryLinkStubs.cpp

    r26823 r26831  
    3535#include "FTPDirectoryDocument.h"
    3636#include "GlobalHistory.h"
    37 #include "Language.h"
    3837#include "NotImplemented.h"
    3938#include "PlugInInfoStore.h"
    40 #include "TextBoundaries.h"
    41 #include "TextBreakIteratorInternalICU.h"
    4239
    4340using namespace WebCore;
     
    5653}
    5754
    58 namespace WebCore {
    59     class Page;
    60 }
    61 
    6255void FrameView::updateBorder() { notImplemented(); }
    63 
    64 int WebCore::findNextWordFromIndex(UChar const*, int, int, bool) { notImplemented(); return 0; }
    65 void WebCore::findWordBoundary(UChar const* str, int len, int position, int* start, int* end) {*start = position; *end = position; }
    66 const char* WebCore::currentTextBreakLocaleID() { notImplemented(); return "en_us"; }
    6756
    6857
     
    7362
    7463bool WebCore::historyContains(DeprecatedString const&) { return false; }
    75 
    76 String WebCore::defaultLanguage() { return "en"; }
    7764
    7865PluginInfo* PlugInInfoStore::createPluginInfoForPluginAtIndex(unsigned) { notImplemented(); return 0;}
Note: See TracChangeset for help on using the changeset viewer.