Changeset 141255 in webkit
- Timestamp:
- Jan 30, 2013 4:27:34 AM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 3 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r141219 r141255 1 2013-01-30 Simon Hausmann <simon.hausmann@digia.com> 2 3 [Qt] Remove QT4_UNICODE related code paths 4 https://bugs.webkit.org/show_bug.cgi?id=108316 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Get rid of QT4_UNICODE and any related code paths. The Qt port 9 requires Qt5 and ICU these days. 10 11 * WTF.gypi: 12 * WTF.pro: 13 * wtf/unicode/Unicode.h: 14 * wtf/unicode/qt4/UnicodeQt4.h: Removed. 15 1 16 2013-01-29 Mark Lam <mark.lam@apple.com> 2 17 -
trunk/Source/WTF/WTF.gypi
r139780 r141255 257 257 'wtf/unicode/glib/UnicodeGLib.h', 258 258 'wtf/unicode/icu/CollatorICU.cpp', 259 'wtf/unicode/qt4/UnicodeQt4.h',260 259 'wtf/unicode/wchar/UnicodeWchar.cpp', 261 260 'wtf/unicode/wchar/UnicodeWchar.h', -
trunk/Source/WTF/WTF.pro
r139780 r141255 179 179 unicode/Collator.h \ 180 180 unicode/icu/UnicodeIcu.h \ 181 unicode/qt4/UnicodeQt4.h \182 181 unicode/ScriptCodesFromICU.h \ 183 182 unicode/Unicode.h \ -
trunk/Source/WTF/wtf/unicode/Unicode.h
r124010 r141255 29 29 typedef unsigned char LChar; 30 30 31 #if USE(QT4_UNICODE) 32 #include "qt4/UnicodeQt4.h" 33 #elif USE(ICU_UNICODE) 31 #if USE(ICU_UNICODE) 34 32 #include <wtf/unicode/icu/UnicodeIcu.h> 35 33 #elif USE(GLIB_UNICODE) -
trunk/Source/WebCore/ChangeLog
r141254 r141255 1 2013-01-30 Simon Hausmann <simon.hausmann@digia.com> 2 3 [Qt] Remove QT4_UNICODE related code paths 4 https://bugs.webkit.org/show_bug.cgi?id=108316 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Get rid of QT4_UNICODE and any related code paths. The Qt port 9 requires Qt5 and ICU these days. This also allows for the removal 10 of TextCodecQt. 11 12 * Target.pri: 13 * platform/KURL.cpp: 14 (WebCore::appendEncodedHostname): 15 * platform/graphics/SurrogatePairAwareTextIterator.cpp: 16 (WebCore::SurrogatePairAwareTextIterator::normalizeVoicingMarks): 17 * platform/text/TextEncoding.cpp: 18 (WebCore::TextEncoding::encode): 19 * platform/text/TextEncodingRegistry.cpp: 20 (WebCore::extendTextCodecMaps): 21 * platform/text/qt/TextCodecQt.cpp: Removed. 22 * platform/text/qt/TextCodecQt.h: Removed. 23 1 24 2013-01-30 David Kilzer <ddkilzer@apple.com> 2 25 -
trunk/Source/WebCore/Target.pri
r141219 r141255 2358 2358 platform/text/Hyphenation.h \ 2359 2359 platform/text/QuotedPrintable.h \ 2360 platform/text/qt/TextCodecQt.h \2361 2360 platform/text/RegularExpression.h \ 2362 2361 platform/text/SegmentedString.h \ … … 2928 2927 platform/text/qt/TextBoundariesQt.cpp \ 2929 2928 platform/text/qt/TextBreakIteratorInternalICUQt.cpp \ 2930 platform/text/qt/TextCodecQt.cpp \2931 2929 platform/qt/WidgetQt.cpp 2932 2930 -
trunk/Source/WebCore/platform/KURL.cpp
r137573 r141255 45 45 #if USE(ICU_UNICODE) 46 46 #include <unicode/uidna.h> 47 #elif USE(QT4_UNICODE)48 #include <QUrl>49 47 #elif USE(GLIB_UNICODE) 50 48 #include <glib.h> … … 1488 1486 if (error == U_ZERO_ERROR) 1489 1487 buffer.append(hostnameBuffer, numCharactersConverted); 1490 #elif USE(QT4_UNICODE)1491 QByteArray result = QUrl::toAce(String(str, strLen));1492 buffer.append(result.constData(), result.length());1493 1488 #elif USE(GLIB_UNICODE) 1494 1489 GOwnPtr<gchar> utf8Hostname; -
trunk/Source/WebCore/platform/graphics/SurrogatePairAwareTextIterator.cpp
r128504 r141255 91 91 if (resultLength == 1 && !uStatus) 92 92 return normalizedCharacters[0]; 93 #elif USE(QT4_UNICODE)94 QString tmp(reinterpret_cast<const QChar*>(m_characters), 2);95 QString res = tmp.normalized(QString::NormalizationForm_C, QChar::Unicode_3_2);96 if (res.length() == 1)97 return res.at(0).unicode();98 93 #endif 99 94 } -
trunk/Source/WebCore/platform/text/TextEncoding.cpp
r127757 r141255 38 38 #if USE(ICU_UNICODE) 39 39 #include <unicode/unorm.h> 40 #elif USE(QT4_UNICODE)41 #include <QString>42 40 #elif USE(GLIB_UNICODE) 43 41 #include <glib.h> … … 107 105 } 108 106 return newTextCodec(*this)->encode(source, sourceLength, handling); 109 #elif USE(QT4_UNICODE)110 QString str(reinterpret_cast<const QChar*>(characters), length);111 str = str.normalized(QString::NormalizationForm_C);112 return newTextCodec(*this)->encode(reinterpret_cast<const UChar *>(str.utf16()), str.length(), handling);113 107 #elif USE(GLIB_UNICODE) 114 108 GOwnPtr<char> UTF8Source; -
trunk/Source/WebCore/platform/text/TextEncodingRegistry.cpp
r130612 r141255 46 46 #include "TextCodecMac.h" 47 47 #endif 48 #if USE(QT4_UNICODE)49 #include "qt/TextCodecQt.h"50 #endif51 48 #if USE(GLIB_UNICODE) 52 49 #include "gtk/TextCodecGtk.h" … … 297 294 #endif 298 295 299 #if USE(QT4_UNICODE)300 TextCodecQt::registerEncodingNames(addToTextEncodingNameMap);301 TextCodecQt::registerCodecs(addToTextCodecMap);302 #endif303 304 296 #if PLATFORM(MAC) 305 297 TextCodecMac::registerEncodingNames(addToTextEncodingNameMap); -
trunk/Source/WebKit/blackberry/ChangeLog
r141202 r141255 1 2013-01-30 Simon Hausmann <simon.hausmann@digia.com> 2 3 [Qt] Remove QT4_UNICODE related code paths 4 https://bugs.webkit.org/show_bug.cgi?id=108316 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 * WebCoreSupport/AboutDataUseFeatures.in: The feature macro has been removed. 9 1 10 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com> 2 11 -
trunk/Source/WebKit/blackberry/WebCoreSupport/AboutDataUseFeatures.in
r133410 r141255 77 77 PTHREAD_GETSPECIFIC_DIRECT 78 78 PTHREADS 79 QT4_UNICODE80 79 QTKIT 81 80 QT_MOBILE_THEME
Note: See TracChangeset
for help on using the changeset viewer.