1. 02 Oct, 2009 13 commits
    • vestbo@webkit.org's avatar
      Fix the Qt on Mac OS X build. · f1641618
      vestbo@webkit.org authored
      Rubber-stamped by Simon Hausmann.
      
      * wtf/FastMalloc.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1641618
    • eric@webkit.org's avatar
      2009-10-02 Philippe Normand <pnormand@igalia.com> · d75ca30d
      eric@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              [GTK] missing support for anamorphic PAR video size
              https://bugs.webkit.org/show_bug.cgi?id=29717
      
              cleanup of caps handling in the video sink
      
              * platform/graphics/gtk/VideoSinkGStreamer.cpp:
              (webkit_video_sink_set_caps):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d75ca30d
    • hausmann@webkit.org's avatar
      .: Disable a few more harmless MSVC warnings. · d422fa0e
      hausmann@webkit.org authored
      Patch by Prasanth Ullattil <prasanth.ullattil@nokia.com> on 2009-10-02
      Reviewed by Simon Hausmann.
      
      * WebKit.pri:
      
      WebCore: Fix compiler warnings about unused function arguments.
      
      Patch by Prasanth Ullattil <prasanth.ullattil@nokia.com> on 2009-10-02
      Reviewed by Simon Hausmann.
      
      * bridge/qt/qt_class.h:
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::QtRuntimeMetaMethod::call):
      (JSC::Bindings::QtRuntimeConnectionMethod::call):
      * dom/XMLTokenizerQt.cpp:
      (WebCore::XMLTokenizer::initializeParserContext):
      * platform/graphics/qt/FontCacheQt.cpp:
      (WebCore::FontCache::getTraitsInFamily):
      (WebCore::FontCache::getCachedFontPlatformData):
      * platform/graphics/qt/FontFallbackListQt.cpp:
      (WebCore::FontFallbackList::setPlatformFont):
      * platform/graphics/qt/FontQt.cpp:
      (WebCore::Font::offsetForPositionForComplexText):
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore::GraphicsContext::drawLineForText):
      (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
      (WebCore::GraphicsContext::setPlatformShadow):
      (WebCore::GraphicsContext::setURLForRect):
      * platform/graphics/qt/IconQt.cpp:
      (WebCore::Icon::createIconForFiles):
      * platform/graphics/qt/ImageBufferQt.cpp:
      (WebCore::ImageBuffer::ImageBuffer):
      * platform/graphics/qt/ImageDecoderQt.cpp:
      (WebCore::ImageDecoderQt::frameBufferAtIndex):
      * platform/graphics/qt/MediaPlayerPrivatePhonon.cpp:
      (WebCore::MediaPlayerPrivate::supportsType):
      (WebCore::MediaPlayerPrivate::setEndTime):
      * platform/graphics/qt/SimpleFontDataQt.cpp:
      (WebCore::SimpleFontData::containsCharacters):
      * platform/graphics/qt/StillImageQt.h:
      (WebCore::StillImage::destroyDecodedData):
      * platform/network/qt/DnsPrefetchHelper.h:
      (WebCore::DnsPrefetchHelper::lookedUp):
      * platform/qt/ContextMenuQt.cpp:
      (WebCore::ContextMenu::setPlatformDescription):
      * platform/qt/DragDataQt.cpp:
      (WebCore::DragData::asURL):
      * platform/qt/PopupMenuQt.cpp:
      (WebCore::PopupMenu::populate):
      * platform/qt/RenderThemeQt.cpp:
      (WebCore::RenderThemeQt::supportsFocusRing):
      (WebCore::RenderThemeQt::systemFont):
      (WebCore::RenderThemeQt::adjustButtonStyle):
      (WebCore::RenderThemeQt::adjustMenuListButtonStyle):
      (WebCore::RenderThemeQt::paintMediaSeekBackButton):
      (WebCore::RenderThemeQt::paintMediaSeekForwardButton):
      * platform/qt/ScrollViewQt.cpp:
      (WebCore::ScrollView::platformAddChild):
      * platform/qt/SearchPopupMenuQt.cpp:
      (WebCore::SearchPopupMenu::saveRecentSearches):
      (WebCore::SearchPopupMenu::loadRecentSearches):
      * platform/qt/TemporaryLinkStubs.cpp:
      (WebCore::signedPublicKeyAndChallengeString):
      * platform/qt/WidgetQt.cpp:
      (WebCore::Widget::paint):
      * xml/XSLStyleSheetQt.cpp:
      (WebCore::XSLStyleSheet::loadChildSheet):
      (WebCore::XSLStyleSheet::setParentStyleSheet):
      * xml/XSLTProcessorQt.cpp:
      (WebCore::XSLTMessageHandler::handleMessage):
      (WebCore::XSLTProcessor::transformToString):
      
      WebKit/qt: Fix compiler warnings about unused function arguments.
      
      Patch by Prasanth Ullattil <prasanth.ullattil@nokia.com> on 2009-10-02
      Reviewed by Simon Hausmann.
      
      * Api/qwebframe.cpp:
      (QWebFrame::scrollBarMinimum):
      * Api/qwebpage.cpp:
      (QWebPagePrivate::focusInEvent):
      (QWebPagePrivate::focusOutEvent):
      (QWebPagePrivate::leaveEvent):
      (QWebPage::javaScriptAlert):
      (QWebPage::javaScriptConfirm):
      (QWebPage::javaScriptPrompt):
      (QWebPage::triggerAction):
      (QWebPage::acceptNavigationRequest):
      (QWebPage::chooseFile):
      * WebCoreSupport/ChromeClientQt.cpp:
      (WebCore::ChromeClientQt::repaint):
      (WebCore::ChromeClientQt::mouseDidMoveOverElement):
      (WebCore::ChromeClientQt::reachedMaxAppCacheSize):
      * WebCoreSupport/ContextMenuClientQt.cpp:
      (WebCore::ContextMenuClientQt::downloadURL):
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
      (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
      (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
      (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
      (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
      (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError):
      (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
      (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
      (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
      * WebCoreSupport/InspectorClientQt.cpp:
      (WebCore::InspectorClientQt::setAttachedWindowHeight):
      (WebCore::InspectorClientQt::highlight):
      (WebCore::InspectorClientQt::removeSetting):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d422fa0e
    • eric@webkit.org's avatar
      2009-10-02 Ben Murdoch <benm@google.com> · 3e10f165
      eric@webkit.org authored
              Reviewed by David Kilzer.
      
              Stale database version persists through browser refresh (changeVersion doesn't work)
              https://bugs.webkit.org/show_bug.cgi?id=27836
      
              Scale the cairo surface of the video sink depending on the
              pixel-aspect-ratio of the video buffer to paint. Also
              destruct/re-create the surface when setSize() is called with a new
              size.
      
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::MediaPlayerPrivate::naturalSize):
              (WebCore::MediaPlayerPrivate::setSize):
              (WebCore::MediaPlayerPrivate::paint):
              * platform/graphics/gtk/VideoSinkGStreamer.cpp:
              (webkit_video_sink_idle_func):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e10f165
    • benm@google.com's avatar
      Stale database version persists through browser refresh (changeVersion doesn't work) · f7e0cd81
      benm@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=27836
      
      WebCore: 
      
      Reviewed by David Kilzer.
      
      Tests: storage/change-version-handle-reuse.html
             storage/change-version.html
      
      * bindings/v8/custom/V8DatabaseCustom.cpp:
      (WebCore::CALLBACK_FUNC_DECL): Implement the V8 binding for database.changeVersion().
      (WebCore::createTransaction): Fix a bug that was checking the wrong argument index to save the success callback.
      * storage/Database.cpp:
      (WebCore::updateGuidVersionMap): Safely update the Guid/version hash map.
      (WebCore::Database::~Database): Remove code that removes the database from the guid->database and guid->version maps.
      (WebCore::Database::setVersionInDatabase): Add a comment to explain some behaviour.
      (WebCore::Database::close): Move the code that updates the maps from the destructor to here.
      (WebCore::Database::performOpenAndVerify): Call updateGuidVersionMap instead of setting the hash map directly.
      (WebCore::Database::setExpectedVersion): Update the in memory guid->version map when we want to update the database version.
      
      LayoutTests: 
      
      Reviewed by  David Kilzer.
      
      * storage/change-version-expected.txt: Added.
      * storage/change-version-handle-reuse-expected.txt: Added.
      * storage/change-version-handle-reuse.html: Added.
      * storage/change-version.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7e0cd81
    • hausmann@webkit.org's avatar
      Partial WINSCW build fix. · 30f9bf08
      hausmann@webkit.org authored
      Patch by Janne Koskinen <janne.p.koskinen@digia.com> on 2009-10-02
      Reviewed by Simon Hausmann.
      
      Add parentheses around the function pointer declaration, similar to the
      second hunk in r48825.
      
      * loader/CachedResourceHandle.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30f9bf08
    • hausmann@webkit.org's avatar
      Roll out accidential r49015 commit · dc1ac6e1
      hausmann@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc1ac6e1
    • hausmann@webkit.org's avatar
      use wtf/unicode/qt4/unicodeQt4.h for RVCT and WINSCW · a1ab25dd
      hausmann@webkit.org authored
      Relative includes don't work properly with WINSCW
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1ab25dd
    • abarth@webkit.org's avatar
      2009-10-02 Adam Barth <abarth@webkit.org> · 0dbf978b
      abarth@webkit.org authored
              Unreviewed attempted build fix by Xcode magic.
      
              * WebCore.xcodeproj/project.pbxproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0dbf978b
    • abarth@webkit.org's avatar
      2009-10-02 Adam Barth <abarth@webkit.org> · 450089ab
      abarth@webkit.org authored
              Unreviewed build fix.  Actually add the new files.
      
              * loader/RedirectScheduler.cpp: Added.
              (WebCore::ScheduledRedirection::):
              (WebCore::ScheduledRedirection::ScheduledRedirection):
              (WebCore::RedirectScheduler::RedirectScheduler):
              (WebCore::RedirectScheduler::~RedirectScheduler):
              (WebCore::RedirectScheduler::redirectScheduledDuringLoad):
              (WebCore::RedirectScheduler::clear):
              (WebCore::RedirectScheduler::scheduleRedirect):
              (WebCore::RedirectScheduler::mustLockBackForwardList):
              (WebCore::RedirectScheduler::scheduleLocationChange):
              (WebCore::RedirectScheduler::scheduleFormSubmission):
              (WebCore::RedirectScheduler::scheduleRefresh):
              (WebCore::RedirectScheduler::locationChangePending):
              (WebCore::RedirectScheduler::scheduleHistoryNavigation):
              (WebCore::RedirectScheduler::timerFired):
              (WebCore::RedirectScheduler::schedule):
              (WebCore::RedirectScheduler::startTimer):
              (WebCore::RedirectScheduler::cancel):
              * loader/RedirectScheduler.h: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      450089ab
    • abarth@webkit.org's avatar
      2009-10-01 Adam Barth <abarth@webkit.org> · 6ff51a17
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              Move RedirectScheduler to its own file
              https://bugs.webkit.org/show_bug.cgi?id=29952
      
              This change is purely code motion.
      
              No behavior change.
      
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * loader/FrameLoader.cpp:
              * loader/FrameLoader.h:
              * loader/RedirectScheduler.cpp: Added.
              (WebCore::ScheduledRedirection::):
              (WebCore::ScheduledRedirection::ScheduledRedirection):
              (WebCore::RedirectScheduler::RedirectScheduler):
              (WebCore::RedirectScheduler::~RedirectScheduler):
              (WebCore::RedirectScheduler::redirectScheduledDuringLoad):
              (WebCore::RedirectScheduler::clear):
              (WebCore::RedirectScheduler::scheduleRedirect):
              (WebCore::RedirectScheduler::mustLockBackForwardList):
              (WebCore::RedirectScheduler::scheduleLocationChange):
              (WebCore::RedirectScheduler::scheduleFormSubmission):
              (WebCore::RedirectScheduler::scheduleRefresh):
              (WebCore::RedirectScheduler::locationChangePending):
              (WebCore::RedirectScheduler::scheduleHistoryNavigation):
              (WebCore::RedirectScheduler::timerFired):
              (WebCore::RedirectScheduler::schedule):
              (WebCore::RedirectScheduler::startTimer):
              (WebCore::RedirectScheduler::cancel):
              * loader/RedirectScheduler.h: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ff51a17
    • eric@webkit.org's avatar
      2009-10-02 Dave MacLachlan <dmaclach@gmail.com> · 28e2b6e1
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Clean up warnings in WebCore/bindings/v8/npruntime.cpp
              https://bugs.webkit.org/show_bug.cgi?id=29971
      
              Gets rid of warnings on gcc about using anonymous namespaces
                warning: 'StringKeyHashTraits' has a base
                'WTF::GenericHashTraits<<unnamed>::StringKey>'
                whose type uses the anonymous namespace
              and
                warning: 'WTF::PairHashTraits<StringKeyHashTraits,
                WTF::HashTraits<PrivateIdentifier*> >' has a base
                'WTF::GenericHashTraits<std::pair<<unnamed>::StringKey,
                PrivateIdentifier*> >' whose type uses the anonymous namespace
      
              No tests required.
      
              * bindings/v8/npruntime.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28e2b6e1
    • hausmann@webkit.org's avatar
      Allow enabling and disabling of the JIT through a qmake variable. · e71435ec
      hausmann@webkit.org authored
      Patch by Jørgen Lind <jorgen.lind@nokia.com> on 2009-10-02
      Reviewed by Simon Hausmann.
      
      Qt's configure may set this variable through .qmake.cache if a
      commandline option is given and/or the compile test for hwcap.h
      failed/succeeded.
      
      * JavaScriptCore.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e71435ec
  2. 01 Oct, 2009 27 commits