1. 26 Oct, 2012 40 commits
    • commit-queue@webkit.org's avatar
      [BlackBerry] Extending existing ThreadUnsafe singletons in webkit to · 9f60cf84
      commit-queue@webkit.org authored
      Generic ThreadUnsafe Singleton
      https://bugs.webkit.org/show_bug.cgi?id=100529
      
      Patch by Parth Patel <parpatel@rim.com> on 2012-10-26
      Reviewed by Yong Li.
      
      No new tests added as there was no behavioural change.
      
      * platform/network/blackberry/NetworkManager.cpp:
      (WebCore):
      * platform/network/blackberry/NetworkManager.h:
      (NetworkManager):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f60cf84
    • mkwst@chromium.org's avatar
      Web Inspector: Fix log-type icon alignment. · f460f5f6
      mkwst@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100520
      
      Reviewed by Yury Semikhatsky.
      
      The icons are just a pixel or two off, and it's driving me nuts.
      
      * inspector/front-end/inspector.css:
      (.console-message::before, .console-user-command::before, #console-prompt::before, .console-group-title::before):
      (.console-warning-level::before):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f460f5f6
    • arv@chromium.org's avatar
      Replaceable attributes should also have readonly · 76c30c12
      arv@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91768
      
      Reviewed by Adam Barth.
      
      This updates the code generators for JSC and V8 to handle this case correctly.
      
      * Modules/intents/DOMWindowIntents.idl:
      * bindings/scripts/CodeGeneratorJS.pm:
      * bindings/scripts/CodeGeneratorV8.pm:
      * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
      * bindings/scripts/test/ObjC/DOMTestObj.h:
      * bindings/scripts/test/ObjC/DOMTestObj.mm:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/V8/V8TestObj.cpp:
      * page/DOMWindow.idl:
      * workers/WorkerContext.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76c30c12
    • thakis@chromium.org's avatar
      Clear m_orientation in FrameData::clear() for skia · f1facb87
      thakis@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100456
      
      Reviewed by Stephen White.
      
      clear() is only called by the FrameData destructor and for multi-image
      images in BitmapImage::destroyDecodedData(). Multi-frame images don't
      have exif data, so this patch should have no effect in practice. It
      makes the skia code match the CG code in BitmapImageCG.cpp though.
      
      * platform/graphics/skia/ImageSkia.cpp:
      (WebCore::FrameData::clear):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1facb87
    • fmalita@chromium.org's avatar
      Crash on loading SVG filter resource on HTML element · e0054331
      fmalita@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100491
      
      Reviewed by Dirk Schulze.
      
      Source/WebCore:
      
      Skip non-filter elements referenced via -webkit-filter.
      
      Test: svg/filters/filter-reference-crash.html
      
      * rendering/RenderLayerFilterInfo.cpp:
      (WebCore::RenderLayerFilterInfo::updateReferenceFilterClients):
      
      LayoutTests:
      
      * svg/filters/filter-reference-crash-expected.txt: Added.
      * svg/filters/filter-reference-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0054331
    • antti@apple.com's avatar
      Lots of time spent under DNSResolveQueue::platformProxyIsEnabledInSystemPreferences · 267491b4
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100514
      
      Reviewed by Anders Carlsson.
      
      DNSResolveQueue::platformProxyIsEnabledInSystemPreferences gets called for every link in
      the document. The function is relatively slow.
              
      This patch caches the result of the last check for 5 seconds. Based on code comments
      prefetching is disabled with proxies due to regressing performance with some configurations.
      Proxy status changes rarely and a slight reaction delay shoudn't cause practical problems.
      
      * platform/network/DNSResolveQueue.cpp:
      (WebCore::DNSResolveQueue::DNSResolveQueue):
              
          Add constructor. Also fixes a bug, m_requestsInFlight was not initialized.
                  
      (WebCore):
      (WebCore::DNSResolveQueue::isUsingProxy):
      (WebCore::DNSResolveQueue::add):
      (WebCore::DNSResolveQueue::fired):
      * platform/network/DNSResolveQueue.h:
      (DNSResolveQueue):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      267491b4
    • loislo@chromium.org's avatar
      Unreviewed, rolling out r132662. · b0df7c55
      loislo@chromium.org authored
      http://trac.webkit.org/changeset/132662
      https://bugs.webkit.org/show_bug.cgi?id=100528
      
      It is not necessary any more. (Requested by loislo on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-26
      
      * platform/qt/MemoryUsageSupportQt.cpp:
      (WebCore::MemoryUsageSupport::memoryUsageByComponents):
      (WebCore):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0df7c55
    • loislo@chromium.org's avatar
      Unreviewed build fix for Qt builders. · c2f5632f
      loislo@chromium.org authored
      * platform/qt/MemoryUsageSupportQt.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2f5632f
    • ossy@webkit.org's avatar
      Unreviewed, rolling out r132658. · 4c127166
      ossy@webkit.org authored
      http://trac.webkit.org/changeset/132658
      https://bugs.webkit.org/show_bug.cgi?id=100515
      
      It broke the Qt build
      
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore::addPlatformComponentsInfo):
      (WebCore):
      (WebCore::InspectorMemoryAgent::getProcessMemoryDistribution):
      * platform/MemoryUsageSupport.cpp:
      (WebCore::MemoryUsageSupport::memoryUsageByComponents):
      * platform/MemoryUsageSupport.h:
      (ComponentInfo):
      (WebCore::MemoryUsageSupport::ComponentInfo::ComponentInfo):
      (MemoryUsageSupport):
      * platform/PlatformMemoryInstrumentation.cpp:
      (WebCore):
      * platform/PlatformMemoryInstrumentation.h:
      (PlatformMemoryTypes):
      * platform/chromium/MemoryUsageSupportChromium.cpp:
      (WebCore::MemoryUsageSupport::memoryUsageByComponents):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c127166
    • ossy@webkit.org's avatar
      Unreviewed. Remove empty buggy directories. · 7f8b2d2a
      ossy@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f8b2d2a
    • vsevik@chromium.org's avatar
      Web Inspector: Some context menu items are duplicated on Resources and Sources panels. · 14123777
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100522
      
      Reviewed by Pavel Feldman.
      
      Method appendApplicableItems now receives event as a parameter.
      HandlerRegistry now makes sure that it is not called more than once for certain context menu event.
      
      * inspector/front-end/BreakpointsSidebarPane.js:
      (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._emptyElementContextMenu):
      (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._breakpointContextMenu):
      (WebInspector.XHRBreakpointsSidebarPane.prototype._emptyElementContextMenu):
      (WebInspector.XHRBreakpointsSidebarPane.prototype._contextMenu):
      * inspector/front-end/CallStackSidebarPane.js:
      (WebInspector.CallStackSidebarPane.Placard.prototype._placardContextMenu):
      * inspector/front-end/ConsoleView.js:
      * inspector/front-end/ContextMenu.js:
      (WebInspector.ContextMenu):
      (WebInspector.ContextMenu.prototype.show):
      (WebInspector.ContextMenu.prototype.appendApplicableItems):
      (WebInspector.ContextMenu.Provider.prototype.appendApplicableItems):
      * inspector/front-end/CookieItemsView.js:
      (WebInspector.CookieItemsView.prototype._contextMenu):
      * inspector/front-end/DOMBreakpointsSidebarPane.js:
      (WebInspector.DOMBreakpointsSidebarPane.prototype._contextMenu):
      * inspector/front-end/DataGrid.js:
      (WebInspector.DataGrid.prototype._contextMenuInDataTable):
      * inspector/front-end/DefaultTextEditor.js:
      (WebInspector.DefaultTextEditor.prototype._contextMenu):
      * inspector/front-end/ElementsPanel.js:
      (WebInspector.ElementsPanel.prototype._contextMenuEventFired.set get var):
      * inspector/front-end/ElementsPanelDescriptor.js:
      (WebInspector.ElementsPanelDescriptor.prototype.appendApplicableItems):
      * inspector/front-end/ElementsTreeOutline.js:
      (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired):
      * inspector/front-end/HandlerRegistry.js:
      (WebInspector.HandlerRegistry.prototype.appendApplicableItems):
      * inspector/front-end/ImageView.js:
      (WebInspector.ImageView.prototype._contextMenu):
      * inspector/front-end/NavigatorView.js:
      (WebInspector.NavigatorView.prototype.handleContextMenu):
      * inspector/front-end/NetworkPanel.js:
      (WebInspector.NetworkLogView.prototype._contextMenu):
      * inspector/front-end/NetworkPanelDescriptor.js:
      (WebInspector.NetworkPanelDescriptor.prototype.appendApplicableItems):
      * inspector/front-end/ObjectPropertiesSection.js:
      (WebInspector.ObjectPropertiesSection.prototype._contextMenuEventFired):
      (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuFired):
      * inspector/front-end/ProfilesPanel.js:
      (WebInspector.ProfilesPanel.prototype._handleContextMenuEvent):
      (WebInspector.ProfileSidebarTreeElement.prototype.handleContextMenuEvent):
      * inspector/front-end/ResourcesPanel.js:
      (WebInspector.FrameResourceTreeElement.prototype._handleContextMenuEvent):
      (WebInspector.IndexedDBTreeElement.prototype._handleContextMenuEvent):
      (WebInspector.FileSystemListTreeElement.prototype._handleContextMenuEvent):
      (WebInspector.IDBDatabaseTreeElement.prototype._handleContextMenuEvent):
      * inspector/front-end/ScriptsNavigator.js:
      (WebInspector.SnippetsNavigatorView.prototype.handleContextMenu):
      * inspector/front-end/ScriptsPanel.js:
      (WebInspector.ScriptsPanel.prototype.appendApplicableItems):
      * inspector/front-end/ScriptsPanelDescriptor.js:
      (WebInspector.ScriptsPanelDescriptor.prototype.appendApplicableItems):
      * inspector/front-end/StylesSidebarPane.js:
      (WebInspector.StylesSidebarPane.prototype._contextMenuEventFired):
      * inspector/front-end/TabbedPane.js:
      (WebInspector.TabbedPaneTab.prototype._tabContextMenu):
      * inspector/front-end/TimelinePanel.js:
      (WebInspector.TimelinePanel.prototype._contextMenu):
      * inspector/front-end/WatchExpressionsSidebarPane.js:
      (WebInspector.WatchExpressionsSection.prototype._emptyElementContextMenu):
      (WebInspector.WatchExpressionTreeElement.prototype._contextMenu):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14123777
    • loislo@chromium.org's avatar
      Web Inspector: instrument chromium GlyphCache. It keeps ~2mb data on gmail. · 0ae03392
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100515
      
      Reviewed by Yury Semikhatsky.
      
      I replaced old version with an abstract number with new one which precisely reports allocated SkGlyphCache objects and their sizes.
      
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore::InspectorMemoryAgent::getProcessMemoryDistribution):
      * platform/MemoryUsageSupport.cpp:
      (WebCore::MemoryUsageSupport::reportMemoryUsage):
      * platform/MemoryUsageSupport.h:
      (MemoryUsageSupport):
      * platform/PlatformMemoryInstrumentation.cpp:
      (WebCore):
      * platform/PlatformMemoryInstrumentation.h:
      (PlatformMemoryTypes):
      * platform/chromium/MemoryUsageSupportChromium.cpp:
      (reportMemoryUsage):
      (WebCore::reportGlyphCache):
      (WebCore):
      (WebCore::MemoryUsageSupport::reportMemoryUsage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ae03392
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Get rid of C'ism in text checker API · 91462d54
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100513
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-26
      Reviewed by Kenneth Rohde Christiansen.
      
      Make Ewk_Text_Checker a C++ class and move the
      WebKitTextChecker code to this new class. This
      gets rid of the C'ism in the text checker code
      and make it consistent with other Ewk classes.
      
      * PlatformEfl.cmake:
      * UIProcess/API/efl/ewk_context.cpp:
      (Ewk_Context::Ewk_Context):
      * UIProcess/API/efl/ewk_settings.cpp:
      (spellCheckingLanguagesSetUpdate):
      (ewk_settings_continuous_spell_checking_enabled_set):
      (ewk_settings_spell_checking_available_languages_get):
      (ewk_settings_spell_checking_languages_get):
      * UIProcess/API/efl/ewk_text_checker.cpp:
      (ClientCallbacks):
      (textCheckerEnchant):
      (clientCallbacks):
      (isContinuousSpellCheckingEnabled):
      (setContinuousSpellCheckingEnabled):
      (uniqueSpellDocumentTag):
      (closeSpellDocumentWithTag):
      (checkSpellingOfString):
      (guessesForWord):
      (learnWord):
      (ignoreWord):
      (Ewk_Text_Checker):
      (Ewk_Text_Checker::availableSpellCheckingLanguages):
      (Ewk_Text_Checker::updateSpellCheckingLanguages):
      (Ewk_Text_Checker::loadedSpellCheckingLanguages):
      (Ewk_Text_Checker::initialize):
      * UIProcess/API/efl/ewk_text_checker_private.h:
      (Ewk_Text_Checker):
      * UIProcess/efl/WebKitTextChecker.cpp: Removed.
      * UIProcess/efl/WebKitTextChecker.h: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91462d54
    • tkent@chromium.org's avatar
      [Chromium] Build fix for r132650. · 626f61fd
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100482
      
      * platform/text/LocaleWin.cpp:
      (WebCore::LocaleWin::timeFormat):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      626f61fd
    • yurys@chromium.org's avatar
      [v8] Memory instrumentation: don't count memory of WrapperTypeInfo · c27eaa3b
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100517
      
      Reviewed by Alexander Pavlov.
      
      * bindings/v8/V8PerIsolateData.cpp: when estimating bindings memory size skip
      pointers to WrapperTypeInfo objects as they are static fields and belong to
      the data segment.
      (WTF):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c27eaa3b
    • commit-queue@webkit.org's avatar
      [WK2] should enable two postredirect tests · 351ba2f9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100508
      
      Unreviewed gardening.
      
      The EFL results for these tests seem to have been wrong from the beginning.
      Update expected results, enable tests for WK2 (based on comment in
      TestExpectations these were skipped because efl failed).
      
      Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-10-26
      
      * platform/efl/http/tests/navigation/postredirect-basic-expected.png:
      * platform/efl/http/tests/navigation/postredirect-basic-expected.txt:
      * platform/efl/http/tests/navigation/postredirect-goback1-expected.png:
      * platform/efl/http/tests/navigation/postredirect-goback1-expected.txt:
      * platform/wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      351ba2f9
    • commit-queue@webkit.org's avatar
      [BlackBerry] ASSERT currentThreadIsHoldingLock() failed in MarkedAllocator::allocateSlowCase() · 786e98f6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100504
      
      Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2012-10-26
      Reviewed by Yong Li.
      
      PR #232038 The similar PR # 200724.
      Reviewed internally by Petter Wang.
      
      This issue is same as bug 95492, and this patch is same as its patch.
      Hold the JSLock for the current thread before we call toRef to avoid
      the ASSERT failure.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::executeJavaScriptInIsolatedWorld):
      (BlackBerry::WebKit::WebPage::executeJavaScriptFunction):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      786e98f6
    • tkent@chromium.org's avatar
      Refactor Localizer-related classes. · 5a23f9bb
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100482
      
      Reviewed by Kentaro Hara.
      
      - Localizer has unused code
       Localizer should have function implementations only if they are used in
       multiple subclasses.
      - Some Localizer subclasses hide Localizer data members
      - Should use String::isNull to check initialization-or-not
      
      No new tests. This should not change any behavior.
      
      * platform/text/Localizer.h:
      (Localizer):
      - timeFormat, shortTimeFormat, and timeAMPMLabels should be pure virtual.
      - Remove m_localizedDateFormatText, m_localizedShortTimeFormatText, and
        m_timeAMPMLabels
      * platform/text/Localizer.cpp:
      Remove implementations of timeFormat, shortTimeFormat, and timeAMPMLabels.
      
      * platform/text/LocaleICU.h:
      (LocaleICU): Introduce m_timeFormatWithSeconds and m_timeFormatWithoutSeconds.
      * platform/text/LocaleICU.cpp:
      (WebCore::LocaleICU::initializeDateTimeFormat):
      Use new data members instead of Localizer data members.
      (WebCore::LocaleICU::dateFormat): Use isNull.
      
      * platform/text/LocaleNone.cpp:
      (LocaleNone): Add timeFormat, shortTimeFormat, timeAMPMLabels
      implementations, and m_timeAMPMLabels.
      (WebCore::LocaleNone::timeFormat): Returns the HTML time format.
      (WebCore::LocaleNone::shortTimeFormat): Returns the HTML time format.
      (WebCore::LocaleNone::timeAMPMLabels): Returns "AM" and "PM".
      
      * platform/text/LocaleWin.h:
      (LocaleWin): Add m_timeFormatWithSeconds.
      * platform/text/LocaleWin.cpp:
      (WebCore::LocaleWin::dateFormat): Use isNull.
      (WebCore::LocaleWin::timeFormat): Use m_timeFormatWithSeconds.
      
      * platform/text/mac/LocaleMac.h:
      (LocaleMac): Rename m_localized*TimeFormatText to m_timeFormatWith*Seconds.
      * platform/text/mac/LocaleMac.mm:
      (WebCore::LocaleMac::timeFormat): Follow the renaming.
      (WebCore::LocaleMac::shortTimeFormat): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a23f9bb
    • rakuco@webkit.org's avatar
      [EFL] Skip a few tests which produce wrong pixel expectations. · 8f760031
      rakuco@webkit.org authored
      * platform/efl/TestExpectations:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f760031
    • tkent@chromium.org's avatar
      Crash in PagePopupController by events after WebPagePopupImpl::closePopup · 596c9f51
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100454
      
      Reviewed by Hajime Morita.
      
      No new tests. The bug is timing-dependent.
      
      * page/DOMWindowPagePopup.cpp:
      (WebCore::DOMWindowPagePopup::~DOMWindowPagePopup):
      Calls clearPagePopupClient for the associalated PagePopupController object.
      * page/PagePopupController.cpp:
      (WebCore::PagePopupController::setValueAndClosePopup):
      Do nothing if m_popupClient is 0.
      (WebCore::PagePopupController::localizeNumberString): Ditto.
      (WebCore::PagePopupController::clearPagePopupClient): Added.
      * page/PagePopupController.h:
      (PagePopupController): Declare clearPagePopupClient.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      596c9f51
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Clean up construction/destruction code in Ewk_view · 4ae0370b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100232
      
      Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-10-26
      Reviewed by Kenneth Rohde Christiansen.
      
      Simplified a lot of initialization and destruction code of Ewk_view and EwkViewImpl
      put all the impl stuff to its constructor and destructor, also made EwkViewImpl member
      variables private.
      
      * UIProcess/API/efl/EwkViewImpl.cpp:
      (pageViewMap):
      (EwkViewImpl::addToPageViewMap):
      (EwkViewImpl::removeFromPageViewMap):
      (EwkViewImpl::viewFromPageViewMap):
      (EwkViewImpl::EwkViewImpl):
      (EwkViewImpl::~EwkViewImpl):
      (EwkViewImpl::wkPage):
      (EwkViewImpl::title):
      (EwkViewImpl::setThemePath):
      (EwkViewImpl::customTextEncodingName):
      (EwkViewImpl::setCustomTextEncodingName):
      (EwkViewImpl::informIconChange):
      (EwkViewImpl::informWebProcessCrashed):
      (EwkViewImpl::updateTextInputState):
      (EwkViewImpl::informURLChange):
      (EwkViewImpl::onFaviconChanged):
      * UIProcess/API/efl/EwkViewImpl.h:
      (WebKit):
      (EwkViewImpl):
      (EwkViewImpl::view):
      (EwkViewImpl::page):
      (EwkViewImpl::ewkContext):
      (EwkViewImpl::backForwardList):
      * UIProcess/API/efl/ewk_settings.cpp:
      (Ewk_Settings::preferences):
      * UIProcess/API/efl/ewk_view.cpp:
      (_ewk_view_smart_focus_in):
      (_ewk_view_smart_focus_out):
      (_ewk_view_smart_mouse_wheel):
      (_ewk_view_smart_mouse_down):
      (_ewk_view_smart_mouse_up):
      (_ewk_view_smart_mouse_move):
      (_ewk_view_smart_key_down):
      (_ewk_view_smart_key_up):
      (_ewk_view_on_show):
      (_ewk_view_on_hide):
      (_ewk_view_smart_add):
      (_ewk_view_smart_del):
      (_ewk_view_smart_calculate):
      (_ewk_view_smart_color_set):
      (createEwkViewSmartClass):
      (createEwkView):
      (ewk_view_base_add):
      (ewk_view_smart_add):
      (ewk_view_add_with_context):
      (ewk_view_url_set):
      (ewk_view_reload):
      (ewk_view_reload_bypass_cache):
      (ewk_view_stop):
      (ewk_view_load_progress_get):
      (ewk_view_scale_set):
      (ewk_view_scale_get):
      (ewk_view_device_pixel_ratio_set):
      (ewk_view_device_pixel_ratio_get):
      (ewk_view_back):
      (ewk_view_forward):
      (ewk_view_intent_deliver):
      (ewk_view_back_possible):
      (ewk_view_forward_possible):
      (ewk_view_back_forward_list_get):
      (ewk_view_html_string_load):
      (ewk_view_text_find):
      (ewk_view_text_find_highlight_clear):
      (ewk_view_text_matches_count):
      (ewk_view_feed_touch_event):
      (ewk_view_inspector_show):
      (ewk_view_inspector_close):
      (ewk_view_pagination_mode_set):
      (ewk_view_pagination_mode_get):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ae0370b
    • rakuco@webkit.org's avatar
      [EFL] Add custom expectation for test added in r131557. · 920b78e8
      rakuco@webkit.org authored
      * platform/efl/fast/replaced/border-radius-clip-content-edge-expected.png: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      920b78e8
    • apavlov@chromium.org's avatar
      Web Inspector: Bring device geolocation and orientation emulation from behind the experiment · 909f7f1d
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100220
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/front-end/Settings.js:
      (WebInspector.ExperimentsSettings):
      * inspector/front-end/SettingsScreen.js:
      (WebInspector.UserAgentSettingsTab):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      909f7f1d
    • yurys@chromium.org's avatar
      Memory instrumentation: report memory occupied by ResourceRequest instead of... · 315d2c71
      yurys@chromium.org authored
      Memory instrumentation: report memory occupied by ResourceRequest instead of its base ResourceRequestBase
      https://bugs.webkit.org/show_bug.cgi?id=100497
      
      Reviewed by Alexander Pavlov.
      
      Added memory reporting method to Chromium implementation of ResourceRequest.
      
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::reportMemoryUsageBase): Renamed reportMemoryUsage
      on ResourceRequestBase to reportMemoryUsageBase and made it protected. I'd
      rather make ResourceRequestBase::reportMemoryUsage virtual and override it
      in the descendant but ResourceRequestBase doesn't have any virtual methods
      and shouldn't be used directly (ResourceRequest should be used instead).
      * platform/network/ResourceRequestBase.h:
      (ResourceRequestBase):
      * platform/network/chromium/ResourceRequest.cpp:
      (WebCore::ResourceRequest::reportMemoryUsage):
      (WebCore):
      * platform/network/chromium/ResourceRequest.h:
      (ResourceRequest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      315d2c71
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Initialize Ewk_Context class members in initialization list · b6bce7f1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100503
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-26
      Reviewed by Kenneth Rohde Christiansen.
      
      Move Ewk_Context class members initialization from the
      constructor body to the initialization list for
      efficiency.
      
      * UIProcess/API/efl/ewk_context.cpp:
      (Ewk_Context::Ewk_Context):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6bce7f1
    • apavlov@chromium.org's avatar
      Web Inspector: Remove the on-hover highlighting of console messages · f21f64d9
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100511
      
      Reviewed by Pavel Feldman.
      
      This clashes with the hovered element highlight in console messages.
      
      * inspector/front-end/inspector.css:
      (ol.watch-expressions > li.hovered):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f21f64d9
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r132612. · 29935073
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/132612
      https://bugs.webkit.org/show_bug.cgi?id=100512
      
      Crashes fast/events/tabindex-focus-blur-all.html in debug mode
      (Requested by pfeldman on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-26
      
      Source/WebCore:
      
      * rendering/AutoTableLayout.cpp:
      (WebCore::AutoTableLayout::recalcColumn):
      * rendering/FixedTableLayout.cpp:
      (WebCore::FixedTableLayout::calcWidthArray):
      * rendering/RenderTable.cpp:
      (WebCore::RenderTable::layout):
      * rendering/RenderTableCol.cpp:
      (WebCore::RenderTableCol::styleDidChange):
      (WebCore::RenderTableCol::updateFromElement):
      (WebCore::RenderTableCol::computePreferredLogicalWidths):
      * rendering/RenderTableCol.h:
      (RenderTableCol):
      
      LayoutTests:
      
      * fast/table/col-span-change-relayout-expected.txt: Removed.
      * fast/table/col-span-change-relayout.html: Removed.
      * fast/table/simplified-layout-table-expected.html: Removed.
      * fast/table/simplified-layout-table.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29935073
    • jocelyn.turcotte@digia.com's avatar
      LayerTreeCoordinator: Make sure that dependent layers are deleted before their... · d2ada78c
      jocelyn.turcotte@digia.com authored
      LayerTreeCoordinator: Make sure that dependent layers are deleted before their directly composited image
      https://bugs.webkit.org/show_bug.cgi?id=100495
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Since r128980 layers removals are delayed until we flush the layer tree.
      This causes a crash if such a layer had a directly composited image since
      the image is now deleted while the layer is still active in the UI process
      and tries to access a deleted backing store.
      
      Fix it by delaying the directly composited image removal as well.
      
      Fixes a crash in tst_QQuickWebView::basicRenderingSanity since showWebView is
      called first and loads direct-image-compositing.html.
      
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
      (LayerTreeRenderer): Remove unused variable.
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::flushPendingLayerChanges):
      (WebKit::LayerTreeCoordinator::releaseImageBackingStore):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:
      (LayerTreeCoordinator):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2ada78c
    • pfeldman@chromium.org's avatar
      Web Inspector: fast return upon setting the same dock side. · 9e92399f
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100510
      
      Reviewed by Vsevolod Vlasov.
      
      Added fast return.
      
      * inspector/front-end/DockController.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e92399f
    • dominik.rottsches@intel.com's avatar
      Unreviewed Apple Win gardening. · c7021f12
      dominik.rottsches@intel.com authored
      * platform/win/TestExpectations: Skipping XHR timeout tests.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7021f12
    • kov@webkit.org's avatar
      German de.po translation needs update · a1908e26
      kov@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91349
      
      Patch by Christian Kirbach <Christian.Kirbach@gmail.com> on 2012-10-26
      Rubber-stamped by Gustavo Noronha.
      
      * de.po: updated with proof-read version.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1908e26
    • commit-queue@webkit.org's avatar
      [Qt] Fix the LLInt build on Windows · c1c784b5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97648
      
      Patch by Simon Hausmann <simon.hausmann@digia.com> on 2012-10-26
      Reviewed by Tor Arne Vestbø.
      
      Source/JavaScriptCore:
      
      The main change for the port on Windows is changing the way offsets are extracted
      and the LLIntAssembly.h is generated to accomodate release and debug configurations.
      
      Firstly the LLIntOffsetsExtractor binary is now built as-is (no DESTDIR set) and
      placed into debug\LLIntOffsetsExtractor.exe and release\LLIntOffsetsExtractor.exe
      on Windows debug_and_release builds. On other patforms it remainds in the regular
      out directory.
      
      Secondly the LLIntAssembly.h files must be different for different build types,
      so the LLIntAssembly.h generator in DerivedSources.pri operates no on the extractor
      binary files as input. Using a simple exists() check we verify the presence of either
      a regular, a debug\LLIntOffsetsExtractor and a release\LLIntOffsetsExtractor binary
      and process all of them. The resulting assembly files consequently end up in
      generated\debug\LLIntAssembly.h and generated\release\LLIntAssembly.h.
      
      In Target.pri we have to also make sure that those directories are in the include
      path according to the release or debug configuration.
      
      Lastly a small tweak - swapping WTF.pri and JSC.pri inclusions - in the
      LLIntOffsetsExtractor build was needed to make sure that we include
      JavaScriptCore/config.h instead of WTF/config.h, required to fix the
      build issues originally pasted in bug #97648.
      
      * DerivedSources.pri:
      * JavaScriptCore.pro:
      * LLIntOffsetsExtractor.pro:
      * Target.pri:
      
      Tools:
      
      Added BIN_EXTENSION variable - similar to automake - that expands to .exe as suffix for
      executable programs on Windows. Empty otherwise. Also added support for force_build_all
      to allow overriding us disabling build_all for TEMPLATE = app.
      
      * qmake/mkspecs/features/default_pre.prf:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1c784b5
    • zandobersek@gmail.com's avatar
      Unreviewed. Removing bogus '#EOF\n' data in the listed PNG file that's · 90cc169a
      zandobersek@gmail.com authored
      positioned after the IEND PNG chunk.
      
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90cc169a
    • hausmann@webkit.org's avatar
      Unreviewed trivial build fix: It's glXGetCurrentContext not glxGetCurrentContext :) · f6bfc575
      hausmann@webkit.org authored
      * platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp:
      (WebCore::GraphicsSurfacePrivate::GraphicsSurfacePrivate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6bfc575
    • kenneth@webkit.org's avatar
      Printing should use use high resolution images when available · 66fda53b
      kenneth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100488
      
      Reviewed by Antti Koivisto.
      
      The images loaded using -webkit-device-pixel-ratio depends on
      the display type (deviceScaleFactor) and thus affects which
      images are being used for printing. Printing should always
      use the higher resolution images (aka 'retina' images).
      
      Source/WebCore:
      
      Test: fast/media/mq-pixel-ratio-print.html
      
      * css/MediaQueryEvaluator.cpp:
      (WebCore::device_pixel_ratioMediaFeatureEval):
      
      LayoutTests:
      
      Added a test testing -webkit-device-pixel-ratio media query
      in conjuntion with 'print' media type.
      
      * fast/media/mq-pixel-ratio-print-expected.txt: Added.
      * fast/media/mq-pixel-ratio-print.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66fda53b
    • loislo@chromium.org's avatar
      Web Inspector: NMI instrument InspectorResourceAgent. it caches resources for the front-end. · d461eefe
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100496
      
      Reviewed by Yury Semikhatsky.
      
      It is plain instrumentation for InspectorResourceAgent and NetworkResourceData which is used by the agent.
      
      * dom/WebCoreMemoryInstrumentation.cpp:
      (WebCore):
      * dom/WebCoreMemoryInstrumentation.h:
      (WebCoreMemoryTypes):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::reportMemoryUsage):
      (WebCore):
      * inspector/InspectorResourceAgent.h:
      (InspectorResourceAgent):
      * inspector/NetworkResourcesData.cpp:
      (WebCore::XHRReplayData::reportMemoryUsage):
      (WebCore):
      (WebCore::NetworkResourcesData::ResourceData::reportMemoryUsage):
      (WebCore::NetworkResourcesData::reportMemoryUsage):
      * inspector/NetworkResourcesData.h:
      (XHRReplayData):
      (ResourceData):
      (NetworkResourcesData):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d461eefe
    • rakuco@webkit.org's avatar
      [EFL] ... And another pixel rebaseline after r131941 and r131991. · 4fe11fc1
      rakuco@webkit.org authored
      * platform/efl/http/tests/misc/slow-loading-image-in-pattern-expected.png:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fe11fc1
    • dominik.rottsches@intel.com's avatar
      Unreviewed, rolling out r132493. · 3b9e81b7
      dominik.rottsches@intel.com authored
      http://trac.webkit.org/changeset/132493
      https://bugs.webkit.org/show_bug.cgi?id=100509
      
      It didn't fix the tests on the bot as we had hoped. (Requested
      by drott on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-26
      
      * platform/network/cf/ResourceErrorCF.cpp:
      (WebCore::ResourceError::ResourceError):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b9e81b7
    • hausmann@webkit.org's avatar
      [Qt] Temporarily disable use of QXcbNativeInterface in GraphicsSurfaceGLX. · 960344e5
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100493
      
      Once QXcbNativeInterface::nativeResourceForContext() can provide the
      GLXContext for an existing QOpenGLContext, this patch shall be reverted.
      
      Patch by Zeno Albisser <zeno@webkit.org> on 2012-10-26
      Reviewed by Simon Hausmann.
      
      * platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp:
      (WebCore::GraphicsSurfacePrivate::GraphicsSurfacePrivate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      960344e5
    • hausmann@webkit.org's avatar
      [Qt] Remove QOpenGL specific code from GraphicsSurfaceGLX. · a05e9a56
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100492
      
      This patch removes most of the QOpenGLContext related code
      from GraphicsSurfaceGLX. This allows sharing almost all
      GraphicsSurfaceGLX code with EFL, by relying on pure GLX.
      
      Patch by Zeno Albisser <zeno@webkit.org> on 2012-10-26
      Reviewed by Kenneth Rohde Christiansen.
      
      * platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp:
      (WebCore::OffScreenRootWindow::get):
      (WebCore::OffScreenRootWindow::~OffScreenRootWindow):
      (OffScreenRootWindow):
      (WebCore):
      (WebCore::GraphicsSurfacePrivate::GraphicsSurfacePrivate):
      (WebCore::GraphicsSurfacePrivate::createSurface):
      (WebCore::GraphicsSurfacePrivate::makeCurrent):
      (WebCore::GraphicsSurfacePrivate::doneCurrent):
      (WebCore::GraphicsSurfacePrivate::swapBuffers):
      (WebCore::GraphicsSurfacePrivate::copyFromTexture):
      (GraphicsSurfacePrivate):
      (WebCore::resolveGLMethods):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a05e9a56