1. 08 Jan, 2011 1 commit
  2. 14 Dec, 2010 1 commit
  3. 06 Dec, 2010 10 commits
    • ossy@webkit.org's avatar
      Unreviewed. · 81bd6461
      ossy@webkit.org authored
      WebCore: == Rolled over to ChangeLog-2010-12-06 ==
      LayoutTests: == Rolled over to ChangeLog-2010-12-06 ==
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81bd6461
    • yael.aharon@nokia.com's avatar
      [Qt] Support focus ring outline color for links. · bc38095f
      yael.aharon@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50428
      
      Reviewed by Andreas Kling.
      
      WebCore: 
      
      Take width and offset into account when drawing focus ring.
      
      Tests: fast/css/focus-ring-outline-color.html
             fast/css/focus-ring-outline-offset.html
             fast/css/focus-ring-outline-width.html
      
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore::GraphicsContext::drawFocusRing):
      
      LayoutTests: 
      
      * fast/css/focus-ring-outline-color.html: Added.
      * fast/css/focus-ring-outline-offset.html: Added.
      * fast/css/focus-ring-outline-width.html: Added.
      * platform/mac/fast/css/focus-ring-outline-color-expected.checksum: Added.
      * platform/mac/fast/css/focus-ring-outline-color-expected.png: Added.
      * platform/mac/fast/css/focus-ring-outline-color-expected.txt: Added.
      * platform/mac/fast/css/focus-ring-outline-offset-expected.checksum: Added.
      * platform/mac/fast/css/focus-ring-outline-offset-expected.png: Added.
      * platform/mac/fast/css/focus-ring-outline-offset-expected.txt: Added.
      * platform/mac/fast/css/focus-ring-outline-width-expected.checksum: Added.
      * platform/mac/fast/css/focus-ring-outline-width-expected.png: Added.
      * platform/mac/fast/css/focus-ring-outline-width-expected.txt: Added.
      * platform/qt/fast/css/focus-ring-outline-color-expected.checksum: Added.
      * platform/qt/fast/css/focus-ring-outline-color-expected.png: Added.
      * platform/qt/fast/css/focus-ring-outline-color-expected.txt: Added.
      * platform/qt/fast/css/focus-ring-outline-offset-expected.checksum: Added.
      * platform/qt/fast/css/focus-ring-outline-offset-expected.png: Added.
      * platform/qt/fast/css/focus-ring-outline-offset-expected.txt: Added.
      * platform/qt/fast/css/focus-ring-outline-width-expected.checksum: Added.
      * platform/qt/fast/css/focus-ring-outline-width-expected.png: Added.
      * platform/qt/fast/css/focus-ring-outline-width-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc38095f
    • yael.aharon@nokia.com's avatar
      [Qt] Fix focus ring outline color support · 2de0c821
      yael.aharon@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50325
      
      Reviewed by Andreas Kling.
      
      WebCore: 
      
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore::GraphicsContext::drawFocusRing):
      
      Take the outline width into account when drawing the focus ring of image map.
      Change the outline-style from dotted to solid. The default outline-width is 
      5 pixels, and dotted lines just don't make sense anymore.
      Give the focus ring alpha of 50%, following what other ports do.
      Save and restore the pen when drawing a focus ring.
      
      LayoutTests: 
      
      * platform/qt/Skipped:
      * platform/qt/fast/images/imagemap-focus-ring-expected.checksum:
      * platform/qt/fast/images/imagemap-focus-ring-expected.png:
      * platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.checksum: Added.
      * platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.png: Added.
      * platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
      * platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.checksum: Added.
      * platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
      * platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
      * platform/qt/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.checksum: Added.
      * platform/qt/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Added.
      * platform/qt/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
      * platform/qt/fast/images/imagemap-focus-ring-zoom-expected.checksum:
      * platform/qt/fast/images/imagemap-focus-ring-zoom-expected.png:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2de0c821
    • abecsi@webkit.org's avatar
      2010-12-06 Andras Becsi <abecsi@webkit.org> · 0fd2a94f
      abecsi@webkit.org authored
              Reviewed by Csaba Osztrogonác.
      
              [Qt][V8] Build fix after r73283.
      
              No new tests needed.
      
              * WebCore.pri: Add missing webaudio directory
              to IDL generator includes.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fd2a94f
    • philn@webkit.org's avatar
      2010-12-06 Philippe Normand <pnormand@igalia.com> · 618f6739
      philn@webkit.org authored
              Reviewed by Martin Robinson.
      
              [soup] implement ResourceHandle::platformSetDefersLoading
              https://bugs.webkit.org/show_bug.cgi?id=44158
      
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::ResourceHandle::platformSetDefersLoading): Implemented
              using the soup_session_{,un}pause_message APIs.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      618f6739
    • sergio@webkit.org's avatar
      2010-12-06 Sergio Villar Senin <svillar@igalia.com> · 83e2e181
      sergio@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Leak in webkit_soup_cache_load if file contents load fails
              https://bugs.webkit.org/show_bug.cgi?id=50558
      
              g_file_get_contents() could return an error after allocating a
              buffer for file contents. We must free that memory before
              returning.
      
              * platform/network/soup/cache/webkit/soup-cache.c:
              (webkit_soup_cache_load): Added a missing g_free().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83e2e181
    • yurys@chromium.org's avatar
      2010-12-06 Sheriff Bot <webkit.review.bot@gmail.com> · 7bb58a58
      yurys@chromium.org authored
              Unreviewed, rolling out r73351.
              http://trac.webkit.org/changeset/73351
              https://bugs.webkit.org/show_bug.cgi?id=50560
      
              "The change broke plugin tests in Chromium" (Requested by
              yurys on #webkit).
      
              * bindings/js/ScriptCallStackFactory.cpp:
              (WebCore::ScriptCallStack::stackTrace):
              * bindings/js/ScriptCallStackFactory.h:
              * bindings/v8/ScriptCallStackFactory.cpp:
              (WebCore::toScriptCallFrame):
              (WebCore::toScriptCallFramesVector):
              (WebCore::createScriptCallStack):
              (WebCore::ScriptCallStack::stackTrace):
              * bindings/v8/ScriptCallStackFactory.h:
              * bindings/v8/V8ConsoleMessage.cpp:
              (WebCore::V8ConsoleMessage::handler):
              * inspector/ScriptCallFrame.cpp:
              (WebCore::ScriptCallFrame::ScriptCallFrame):
              (WebCore::ScriptCallFrame::isEqual):
              (WebCore::ScriptCallFrame::buildInspectorObject):
              * inspector/ScriptCallFrame.h:
              (WebCore::ScriptCallFrame::sourceURL):
              * inspector/ScriptCallStack.h:
              * inspector/TimelineRecordFactory.cpp:
              (WebCore::TimelineRecordFactory::createGenericRecord):
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7bb58a58
    • ossy@webkit.org's avatar
      [Qt] Report zero width for zero size fonts · e7e553a4
      ossy@webkit.org authored
      Patch by Robert Hogan <robert@webkit.org> on 2010-12-06
      Reviewed by Kenneth Rohde Christiansen.
      
      Report zero width when font size is zero.
      
      Fixes fast/text/font-size-zero.html
      
      https://bugs.webkit.org/show_bug.cgi?id=50539
      
      * platform/graphics/qt/FontQt.cpp:
      (WebCore::Font::floatWidthForSimpleText):
      (WebCore::Font::floatWidthForComplexText):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7e553a4
    • yurys@chromium.org's avatar
      2010-12-03 Yury Semikhatsky <yurys@chromium.org> · aab39dee
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              [v8] Web Inspector: remove duplicate code for capturing stack trace
              https://bugs.webkit.org/show_bug.cgi?id=50461
      
              No new tests. Covered with existing inspector tests.
      
              * bindings/js/ScriptCallStackFactory.cpp:
              (WebCore::createScriptCallStack):
              * bindings/js/ScriptCallStackFactory.h:
              * bindings/v8/ScriptCallStackFactory.cpp:
              (WebCore::toScriptCallFrame):
              (WebCore::toScriptCallFramesVector):
              (WebCore::createScriptCallStack):
              * bindings/v8/ScriptCallStackFactory.h:
              * bindings/v8/V8ConsoleMessage.cpp:
              (WebCore::V8ConsoleMessage::handler):
              * inspector/ScriptCallFrame.cpp:
              (WebCore::ScriptCallFrame::ScriptCallFrame):
              (WebCore::ScriptCallFrame::isEqual):
              (WebCore::ScriptCallFrame::buildInspectorObject):
              * inspector/ScriptCallFrame.h:
              (WebCore::ScriptCallFrame::sourceURL):
              * inspector/ScriptCallStack.h:
              * inspector/TimelineRecordFactory.cpp:
              (WebCore::TimelineRecordFactory::createGenericRecord):
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aab39dee
    • sergio@webkit.org's avatar
      2010-12-06 Sergio Villar Senin <svillar@igalia.com> · 8384ddd6
      sergio@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] webkit_soup_cache_clear() does not delete all entries in the cache
              https://bugs.webkit.org/show_bug.cgi?id=50462
      
              Do not use g_hash_table_foreach to remove entries from the cache
              entries hashtable. Iterate over a list of entries to remove them
              from the hash table.
      
              * platform/network/soup/ResourceHandleSoup.cpp:
              * platform/network/soup/cache/webkit/soup-cache.c:
              (remove_cache_item):
              (webkit_soup_cache_finalize):
              (clear_cache_item):
              (webkit_soup_cache_clear):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8384ddd6
  4. 05 Dec, 2010 7 commits
    • tkent@chromium.org's avatar
      2010-12-05 Kent Tamura <tkent@chromium.org> · 7b8e0630
      tkent@chromium.org authored
              Unreviewed. Run sort-Xcode-project-file.
      
              * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b8e0630
    • luiz@webkit.org's avatar
      2010-11-30 Luiz Agostini <luiz.agostini@openbossa.org> · b1deeffb
      luiz@webkit.org authored
              Reviewed by Darin Adler.
      
              HTML5 <details> and <summary> initial implementation
              https://bugs.webkit.org/show_bug.cgi?id=50309
      
              HTML5 <details> and <summary> elements initial implementation. The main objective is
              to add the files for html element and renderers, and to get rid of build system issues
              in future patches.
      
              See: http://www.w3.org/TR/html5/interactive-elements.html#the-details-element
                   http://www.w3.org/TR/html5/interactive-elements.html#the-summary-element
      
              build systems
      
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/gobject/GNUmakefile.am:
      
              Some css properties to the new html elements.
      
              * css/html.css:
              (details):
              (summary):
      
              New html element associated with the corresponding tag.
      
              * html/HTMLAttributeNames.in:
              * html/HTMLTagNames.in:
      
              1 html element and 3 renderers were added.
      
              * html/HTMLDetailsElement.cpp: Added.
              * html/HTMLDetailsElement.h: Added.
              * html/HTMLDetailsElement.idl: Added.
              * html/HTMLElementsAllInOne.cpp:
              * rendering/RenderDetails.cpp: Added.
              * rendering/RenderDetails.h: Added.
              * rendering/RenderDetailsMarker.cpp: Added.
              * rendering/RenderDetailsMarker.h: Added.
              * rendering/RenderSummary.cpp: Added.
              * rendering/RenderSummary.h: Added.
              * rendering/RenderingAllInOne.cpp:
      
              New renderer type checkers.
      
              * rendering/RenderObject.h:
              (WebCore::RenderObject::isDetails):
              (WebCore::RenderObject::isDetailsMarker):
              (WebCore::RenderObject::isSummary):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1deeffb
    • rwlbuis@webkit.org's avatar
      2010-12-05 Rob Buis <rwlbuis@gmail.com> · e2c150de
      rwlbuis@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              createSVGTransformFromMatrix(undefined) => NULL ptr
              https://bugs.webkit.org/show_bug.cgi?id=49564
      
              Throw TYPE_MISMATCH_ERR when using undefined or null as value for matrix parameter.
      
              * svg/SVGTransformList.idl:
              * svg/properties/SVGTransformListPropertyTearOff.h:
              (WebCore::SVGTransformListPropertyTearOff::createSVGTransformFromMatrix):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2c150de
    • alex@webkit.org's avatar
      2010-12-05 Alejandro G. Castro <alex@igalia.com> · b1d2f58d
      alex@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Fix compilation warnings reported by clang
              https://bugs.webkit.org/show_bug.cgi?id=50252
      
              * platform/graphics/Path.h: CairoPath is now a class, not a
              struct.
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::sendRequestCallback): Cast the status_code to int.
      
      2010-12-05  Alejandro G. Castro  <alex@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [GTK] Fix compilation warnings reported by clang
              https://bugs.webkit.org/show_bug.cgi?id=50252
      
              * GtkLauncher/main.c:
              (create_window): The create_statusbar function does not have
              parameters.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1d2f58d
    • alex@webkit.org's avatar
      2010-12-05 Alejandro G. Castro <alex@igalia.com> · 6d09b6fc
      alex@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Remove setColor functions it was replicated in
              CairoUtilities: setSourceRGBAFromColor.
      
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::setPlatformFill):
              (WebCore::setPlatformStroke):
              (WebCore::fillRectSourceOver):
              (WebCore::GraphicsContext::drawRect):
              (WebCore::GraphicsContext::drawLine):
              (WebCore::GraphicsContext::drawEllipse):
              (WebCore::GraphicsContext::strokeArc):
              (WebCore::GraphicsContext::drawConvexPolygon):
              (WebCore::GraphicsContext::drawFocusRing):
              (WebCore::GraphicsContext::fillRoundedRect):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d09b6fc
    • aroben@apple.com's avatar
      Windows production build fix · 0084a449
      aroben@apple.com authored
      Put spaces after trailing backslashes when setting
      %WebKitVSPropsRedirectionDir%. According to MSDN
      <http://msdn.microsoft.com/en-us/library/2kzfk8c7(v=VS.80).aspx>:
      
         A backslash ( \ ) followed by a newline character is interpreted as
         a space in the command; use a backslash at the end of a line to
         continue a command onto the next line. NMAKE interprets the
         backslash literally if any other character, including a space or
         tab, follows the backslash.
      
      JavaScriptCore:
      
      * JavaScriptCore.vcproj/JavaScriptCore.make:
      
      WebCore:
      
      * WebCore.vcproj/WebCore.make:
      
      WebKit/win:
      
      * WebKit.vcproj/WebKit.make:
      
      WebKit2:
      
      * win/WebKit2.make:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0084a449
    • robert@webkit.org's avatar
      2010-12-05 Robert Hogan <robert@webkit.org> · 05e85676
      robert@webkit.org authored
              Reviewed by Andreas Kling.
      
              [Qt] Zero-sized font does not yet work
      
              Fix fast/text/font-size-zero.html
      
              https://bugs.webkit.org/show_bug.cgi?id=49759
      
              * platform/qt/Skipped:
      2010-12-05  Robert Hogan  <robert@webkit.org>
      
              Reviewed by Andreas Kling.
      
              [Qt] Zero-sized font does not yet work
      
              Fix fast/text/font-size-zero.html
      
              Copy other ports by setting minimumFontSize to 0 for DRT runs,
              copy a fix to SimpleFontData from chromium/safari, and set font
              size in FontPlatformData to zero if size zero is requested
              and QFont::pixelSize otherwise. (Note that QFont doesn't accept
              a pixel size of zero).
      
              Also fix QFont::setPixelSize in FontPlatformData to use
              description.computedPixelSize rather than computedSize and
              pixelSize() rather than pointSizeF - since the latter gets
              set to -1 if pixelSize is set at all.
      
              https://bugs.webkit.org/show_bug.cgi?id=49759
      
              * platform/graphics/qt/FontPlatformData.h:
              (WebCore::FontPlatformDataPrivate::FontPlatformDataPrivate):
              (WebCore::FontPlatformData::pixelSize):
              * platform/graphics/qt/FontPlatformDataQt.cpp:
              (WebCore::FontPlatformData::FontPlatformData):
              * platform/graphics/qt/FontQt.cpp:
              (WebCore::drawTextCommon):
              * platform/graphics/qt/SimpleFontDataQt.cpp:
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::platformGlyphInit):
              (WebCore::SimpleFontData::platformCharWidthInit):
      2010-12-05  Robert Hogan  <robert@webkit.org>
      
              Reviewed by Andreas Kling.
      
              [Qt] Zero-sized font does not yet work
      
              Fix fast/text/font-size-zero.html
      
              Copy other ports by setting minimumFontSize to 0 for DRT runs.
      
              https://bugs.webkit.org/show_bug.cgi?id=49759
      
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::WebPage::WebPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05e85676
  5. 04 Dec, 2010 4 commits
    • dbates@webkit.org's avatar
      2010-12-04 Daniel Bates <dbates@rim.com> · 690c9cb5
      dbates@webkit.org authored
              Reviewed by Darin Adler.
      
              Add support for lower-armenian and upper-armenian
              https://bugs.webkit.org/show_bug.cgi?id=49641
      
              Implement support for list-style-types lower-armenian and upper-armenian
              for lowercase Armenian and uppercase Armenian numerals, respectively.
      
              Tests: fast/lists/w3-css3-lower-armenian.html
                     fast/lists/w3-css3-upper-armenian.html
      
              * css/CSSPrimitiveValueMappings.h:
              (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added enum values LowerArmenian
              and UpperArmenian.
              * css/CSSValueKeywords.in: Added "upper-armenian" and "lower-armenian".
              * inspector/front-end/SourceCSSTokenizer.re2js: Ditto.
              * rendering/RenderListMarker.cpp:
              (WebCore::effectiveListMarkerType): Added enum values LowerArmenian
              and UpperArmenian.
              (WebCore::listMarkerSuffix): Ditto.
              (WebCore::listMarkerText): Ditto.
              (WebCore::RenderListMarker::paint): Ditto.
              (WebCore::RenderListMarker::computePreferredLogicalWidths): Ditto.
              (WebCore::RenderListMarker::getRelativeMarkerRect): Ditto.
              * rendering/style/RenderStyleConstants.h: Ditto.
      2010-12-04  Daniel Bates  <dbates@rim.com>
      
              Reviewed by Darin Adler.
      
              Add support for lower-armenian and upper-armenian
              https://bugs.webkit.org/show_bug.cgi?id=49641
      
              Tests cases for lower-armenian and upper-armenian list-style-types
              derived from the HTML+CSS Internationalization Tests "lower-armenian, up to 9,999",
              and "armenian, up to 9,999", respectively.
      
              See <http://www.w3.org/International/tests/tests-html-css/list-lists>.
      
              * fast/lists/w3-css3-lower-armenian-expected.txt: Added.
              * fast/lists/w3-css3-lower-armenian.html: Added.
              * fast/lists/w3-css3-upper-armenian-expected.txt: Added.
              * fast/lists/w3-css3-upper-armenian.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      690c9cb5
    • mitz@apple.com's avatar
      2010-12-04 Dan Bernstein <mitz@apple.com> · 1506e874
      mitz@apple.com authored
              Reviewed by Sam Weinig.
      
              WebKit part of <rdar://problem/8145955> Add text search API for counting/marking/highlighting matches in a range
              https://bugs.webkit.org/show_bug.cgi?id=50530
      
              * WebView/WebDocumentInternal.h: Added a DOMRange parameter to -countMatchesForText:options:limit:markMatches:
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]): Added DOMRange parameter,
              which is passed through to WebCore.
              * WebView/WebPDFView.mm:
              (isFrameInRange): Added this helper function.
              (-[WebPDFView countMatchesForText:inDOMRange:options:limit:markMatches:]): Added DOMRange parameter and
              a check if the frame is in the range.
              * WebView/WebView.mm:
              (-[WebView countMatchesForText:options:highlight:limit:markMatches:]): Now calls the inDOMRange: version.
              (-[WebView countMatchesForText:inDOMRange:options:highlight:limit:markMatches:]): Added DOMRange
              parameter, which is passed to document views' -countMatchesForText:inDOMRange:options:limit:markMatches:.
              * WebView/WebViewPrivate.h:
      2010-12-04  Dan Bernstein  <mitz@apple.com>
      
              Reviewed by Sam Weinig.
      
              WebCore part of <rdar://problem/8145955> Add text search API for counting/marking/highlighting matches in a range
              https://bugs.webkit.org/show_bug.cgi?id=50530
      
              * WebCore.exp.in: Export Range version of countMatchesForText().
              * editing/Editor.cpp:
              (WebCore::isFrameInRange): Added this helper method.
              (WebCore::Editor::countMatchesForText): Added a Range parameter and restricted the result to
              matches that occur in the range.
              * editing/Editor.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1506e874
    • commit-queue@webkit.org's avatar
      2010-12-04 Gavin Peters <gavinp@chromium.org> · 7e9f6dbe
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              Implement onload events for <link rel=prefetch>
              https://bugs.webkit.org/show_bug.cgi?id=50187
      
              * fast/dom/HTMLLinkElement/link-and-subresource-test-expected.txt: Added.
              * fast/dom/HTMLLinkElement/link-and-subresource-test.html: Added.
              * fast/dom/HTMLLinkElement/prefetch-expected.txt:
              * fast/dom/HTMLLinkElement/prefetch-onload-expected.txt: Added.
              * fast/dom/HTMLLinkElement/prefetch-onload.html: Added.
              * fast/dom/HTMLLinkElement/prefetch.html:
              * http/tests/misc/prefetch-purpose.html:
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2010-12-04  Gavin Peters  <gavinp@chromium.org>
      
              Reviewed by Adam Barth.
      
              Implement onload events for <link rel=prefetch>
              https://bugs.webkit.org/show_bug.cgi?id=50187
      
              Tests: fast/dom/HTMLLinkElement/link-and-subresource-test.html
                     fast/dom/HTMLLinkElement/prefetch-onload.html
      
              * html/HTMLLinkElement.cpp:
              (WebCore::HTMLLinkElement::HTMLLinkElement):
              (WebCore::HTMLLinkElement::~HTMLLinkElement):
              (WebCore::HTMLLinkElement::parseMappedAttribute):
              (WebCore::HTMLLinkElement::process):
              (WebCore::HTMLLinkElement::onloadTimerFired):
              (WebCore::HTMLLinkElement::notifyFinished):
              * html/HTMLLinkElement.h:
              * loader/cache/CachedResource.cpp:
              (WebCore::CachedResource::data):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e9f6dbe
    • xan@webkit.org's avatar
      WebCore: · fbce2588
      xan@webkit.org authored
      2010-12-04  Xan Lopez  <xlopez@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Drop GdkDrawable usage, it's deprecated in GTK+3.x and we can use GdkWindow
              https://bugs.webkit.org/show_bug.cgi?id=50451
      
              GdkDrawable has been removed in GTK+3.x. To cope with this we can
              actually stop using it altogether, since GdkWindow is just a
              typedef for it and that seems to be good enough for us.
      
              * platform/graphics/GraphicsContext.h: s/GdkDrawable/GdkWindow/.
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::gdkWindow): ditto.
              * platform/gtk/GtkVersioning.h: declare GDK_WINDOW_XWINDOW for GTK 3.x builds.
              * platform/gtk/PlatformScreenGtk.cpp:
              (WebCore::screenAvailableRect): s/GdkDrawable/GdkWindow/.
              * platform/gtk/WidgetGtk.cpp:
              (WebCore::gdkWindow): ditto.
              (WebCore::Widget::setCursor): ditto.
              * platform/gtk/WidgetRenderingContextGtk2.cpp: ditto.
      
      JavaScriptCore:
      
      2010-12-04  Xan Lopez  <xlopez@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Drop GdkDrawable usage, it's deprecated in GTK+3.x and we can use GdkWindow
              https://bugs.webkit.org/show_bug.cgi?id=50451
      
              * wtf/gobject/GTypedefs.h: add GdkWindow defines.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbce2588
  6. 03 Dec, 2010 17 commits