Changeset 96455 in webkit


Ignore:
Timestamp:
Oct 1, 2011 12:22:29 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r96421.
http://trac.webkit.org/changeset/96421
https://bugs.webkit.org/show_bug.cgi?id=69206

It broke Qt-WK2 build (Requested by ossy on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-10-01

Source/JavaScriptCore:

Source/WebCore:

  • WebCore.pro:

Source/WebKit/qt:

  • Api/qwebpage.cpp:

(QWebPage::javaScriptAlert):
(QWebPage::javaScriptConfirm):
(QWebPage::javaScriptPrompt):

  • WebCoreSupport/ChromeClientQt.cpp:

(WebCore::ChromeClientQt::setToolTip):

Location:
trunk/Source
Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r96453 r96455  
     12011-10-01  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r96421.
     4        http://trac.webkit.org/changeset/96421
     5        https://bugs.webkit.org/show_bug.cgi?id=69206
     6
     7        It broke Qt-WK2 build (Requested by ossy on #webkit).
     8
     9        * JavaScriptCore.pri:
     10        * wtf/qt/UtilsQt.h: Removed.
     11        * wtf/wtf.pri:
     12
    1132011-09-30  Daniel Bates  <dbates@webkit.org>
    214
  • trunk/Source/JavaScriptCore/JavaScriptCore.pri

    r96421 r96455  
    3434    $$PWD/wtf \
    3535    $$PWD/wtf/gobject \
    36     $$PWD/wtf/qt \
    3736    $$PWD/wtf/symbian \
    3837    $$PWD/wtf/unicode \
  • trunk/Source/JavaScriptCore/wtf/wtf.pri

    r96421 r96455  
    8585    wtf/Platform.h \
    8686    wtf/PossiblyNull.h \
    87     wtf/qt/UtilsQt.h \
    8887    wtf/RandomNumber.h \
    8988    wtf/RandomNumberSeed.h \
  • trunk/Source/WebCore/ChangeLog

    r96454 r96455  
     12011-10-01  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r96421.
     4        http://trac.webkit.org/changeset/96421
     5        https://bugs.webkit.org/show_bug.cgi?id=69206
     6
     7        It broke Qt-WK2 build (Requested by ossy on #webkit).
     8
     9        * WebCore.pro:
     10
    1112011-09-30  Adrienne Walker  <enne@google.com>
    212
  • trunk/Source/WebCore/WebCore.pro

    r96421 r96455  
    5858    include($$PWD/../JavaScriptCore/yarr/yarr.pri)
    5959    include($$PWD/../JavaScriptCore/wtf/wtf.pri)
    60 
    61     INCLUDEPATH = $$PWD/../JavaScriptCore/wtf/qt $$INCLUDEPATH
    6260
    6361    SOURCES += \
  • trunk/Source/WebKit/qt/Api/qwebpage.cpp

    r96421 r96455  
    109109#endif // Q_OS_WIN32
    110110#include "TextIterator.h"
    111 #include "UtilsQt.h"
    112111#include "WebPlatformStrategies.h"
    113112#if USE(QTKIT)
     
    141140#include <QSysInfo>
    142141#include <QTextCharFormat>
     142#include <QTextDocument>
    143143#include <QTouchEvent>
    144144#include <QNetworkAccessManager>
     
    21112111#ifndef QT_NO_MESSAGEBOX
    21122112    QWidget* parent = (d->client) ? d->client->ownerWidget() : 0;
    2113     QMessageBox::information(parent, tr("JavaScript Alert - %1").arg(mainFrame()->url().host()), escapeHtml(msg), QMessageBox::Ok);
     2113    QMessageBox::information(parent, tr("JavaScript Alert - %1").arg(mainFrame()->url().host()), Qt::escape(msg), QMessageBox::Ok);
    21142114#endif
    21152115}
     
    21282128#else
    21292129    QWidget* parent = (d->client) ? d->client->ownerWidget() : 0;
    2130     return QMessageBox::Yes == QMessageBox::information(parent, tr("JavaScript Confirm - %1").arg(mainFrame()->url().host()), escapeHtml(msg), QMessageBox::Yes, QMessageBox::No);
     2130    return QMessageBox::Yes == QMessageBox::information(parent, tr("JavaScript Confirm - %1").arg(mainFrame()->url().host()), Qt::escape(msg), QMessageBox::Yes, QMessageBox::No);
    21312131#endif
    21322132}
     
    21482148#ifndef QT_NO_INPUTDIALOG
    21492149    QWidget* parent = (d->client) ? d->client->ownerWidget() : 0;
    2150     QString x = QInputDialog::getText(parent, tr("JavaScript Prompt - %1").arg(mainFrame()->url().host()), escapeHtml(msg), QLineEdit::Normal, defaultValue, &ok);
     2150    QString x = QInputDialog::getText(parent, tr("JavaScript Prompt - %1").arg(mainFrame()->url().host()), Qt::escape(msg), QLineEdit::Normal, defaultValue, &ok);
    21512151    if (ok && result)
    21522152        *result = x;
  • trunk/Source/WebKit/qt/ChangeLog

    r96421 r96455  
     12011-10-01  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r96421.
     4        http://trac.webkit.org/changeset/96421
     5        https://bugs.webkit.org/show_bug.cgi?id=69206
     6
     7        It broke Qt-WK2 build (Requested by ossy on #webkit).
     8
     9        * Api/qwebpage.cpp:
     10        (QWebPage::javaScriptAlert):
     11        (QWebPage::javaScriptConfirm):
     12        (QWebPage::javaScriptPrompt):
     13        * WebCoreSupport/ChromeClientQt.cpp:
     14        (WebCore::ChromeClientQt::setToolTip):
     15
    1162011-09-30  Pierre Rossi  <pierre.rossi@gmail.com>
    217
  • trunk/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp

    r96421 r96455  
    7575#include <qdebug.h>
    7676#include <qeventloop.h>
     77#include <qtextdocument.h>
    7778#include <qtooltip.h>
    7879#include <wtf/OwnPtr.h>
    79 #include <wtf/qt/UtilsQt.h>
    8080
    8181#if ENABLE(VIDEO) && (USE(GSTREAMER) || USE(QT_MULTIMEDIA) || USE(QTKIT))
     
    517517        QToolTip::hideText();
    518518    } else {
    519         QString dtip = QLatin1String("<p>") + escapeHtml(tip) + QLatin1String("</p>");
     519        QString dtip = QLatin1String("<p>") + Qt::escape(tip) + QLatin1String("</p>");
    520520        view->setToolTip(dtip);
    521521    }
Note: See TracChangeset for help on using the changeset viewer.