1. 01 Dec, 2010 13 commits
    • mrobinson@webkit.org's avatar
      2010-12-01 Martin Robinson <mrobinson@igalia.com> · e94ce16b
      mrobinson@webkit.org authored
              Skip failing tests for text height on GTK
              https://bugs.webkit.org/show_bug.cgi?id=50314
      
              * platform/gtk/Skipped: Skip failing tests.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e94ce16b
    • pfeldman@chromium.org's avatar
      2010-11-30 Pavel Feldman <pfeldman@chromium.org> · faf0537b
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: do not make helpScreen.css lazily loaded.
              https://bugs.webkit.org/show_bug.cgi?id=50304
      
              * inspector/front-end/HelpScreen.js:
              (WebInspector.HelpScreen):
              (WebInspector.HelpScreen.prototype._onBlur):
              * inspector/front-end/inspector.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      faf0537b
    • zimmermann@webkit.org's avatar
      2010-12-01 Nikolas Zimmermann <nzimmermann@rim.com> · ca9551e3
      zimmermann@webkit.org authored
              Reviewed by Xan Lopez.
      
              Split DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for SVGLengthList/SVGNumberList/SVGTransformList
              https://bugs.webkit.org/show_bug.cgi?id=50322
      
              Continuing the work on bug 42025: Introduce DECLARE_ANIMATED_(LENGTH|NUMBER|TRANSFORM)_LIST / DEFINE_ANIMATED_(LENGTH|NUMBER|TRANSFORM).
              The animated property declaration lives in the header, the definition in the cpp file, to avoid the dependency on SVGNames.h in all headers.
      
              No functional changes, thus no new tests.
      
              * svg/SVGAnimatedLengthList.h:
              * svg/SVGAnimatedNumberList.h:
              * svg/SVGAnimatedTransformList.h:
              * svg/SVGComponentTransferFunctionElement.cpp:
              * svg/SVGComponentTransferFunctionElement.h:
              * svg/SVGFEColorMatrixElement.cpp:
              * svg/SVGFEColorMatrixElement.h:
              * svg/SVGFEConvolveMatrixElement.cpp:
              * svg/SVGFEConvolveMatrixElement.h:
              * svg/SVGGradientElement.cpp:
              * svg/SVGGradientElement.h:
              (WebCore::SVGGradientElement::needsPendingResourceHandling):
              * svg/SVGPatternElement.cpp:
              * svg/SVGPatternElement.h:
              * svg/SVGPolygonElement.cpp:
              * svg/SVGPolylineElement.cpp:
              * svg/SVGStyledTransformableElement.cpp:
              * svg/SVGStyledTransformableElement.h:
              * svg/SVGTextElement.cpp:
              (WebCore::SVGTextElement::SVGTextElement):
              * svg/SVGTextElement.h:
              (WebCore::SVGTextElement::localCoordinateSpaceTransform):
              * svg/SVGTextPositioningElement.cpp:
              * svg/SVGTextPositioningElement.h:
              * svg/properties/SVGAnimatedPropertyMacros.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca9551e3
    • chang.shu@nokia.com's avatar
      2010-12-01 Chang Shu <chang.shu@nokia.com> · d80735cd
      chang.shu@nokia.com authored
              Reviewed by Laszlo Gombos.
      
              Move orientation event test case to a better place.
              https://bugs.webkit.org/show_bug.cgi?id=32492
      
              * fast/dom/DeviceOrientation/create-event-orientationchange-expected.txt: Removed.
              * fast/dom/DeviceOrientation/create-event-orientationchange.html: Removed.
              * fast/dom/DeviceOrientation/script-tests/create-event-orientationchange.js: Removed.
              * fast/dom/Orientation: Added.
              * fast/dom/Orientation/create-event-orientationchange-expected.txt: Copied from LayoutTests/fast/dom/DeviceOrientation/create-event-orientationchange-expected.txt.
              * fast/dom/Orientation/create-event-orientationchange.html: Copied from LayoutTests/fast/dom/DeviceOrientation/create-event-orientationchange.html.
              * fast/dom/Orientation/script-tests: Added.
              * fast/dom/Orientation/script-tests/create-event-orientationchange.js: Copied from LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event-orientationchange.js.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d80735cd
    • apavlov@chromium.org's avatar
      2010-12-01 Alexander Pavlov <apavlov@chromium.org> · 5a5547e0
      apavlov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: name-only property appears in style declaration but not in the Styles pane
              https://bugs.webkit.org/show_bug.cgi?id=49663
      
              Check that at least one property has been parsed from the user input.
      
              WebCore:
              * inspector/InspectorStyleSheet.cpp:
              (WebCore::InspectorStyle::setPropertyText):
      
              LayoutTests:
              * inspector/styles-new-API.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a5547e0
    • caseq@chromium.org's avatar
      2010-12-01 Andrey Kosyakov <caseq@chromium.org> · 87f43376
      caseq@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: disable cookies tab in network resource view by default, enable for chromium
              https://bugs.webkit.org/show_bug.cgi?id=50249
      
              * inspector/front-end/NetworkItemView.js:
              (WebInspector.NetworkItemView):
              (WebInspector.NetworkItemView.prototype.resize):
              * inspector/front-end/Settings.js:
      2010-12-01  Andrey Kosyakov  <caseq@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: disable cookies tab in network resource view by default, enable for chromium
              https://bugs.webkit.org/show_bug.cgi?id=50249
      
              * src/js/DevTools.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87f43376
    • zimmermann@webkit.org's avatar
      2010-12-01 Nikolas Zimmermann <nzimmermann@rim.com> · ab0da70c
      zimmermann@webkit.org authored
              Reviewed by Xan Lopez.
      
              Split DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for SVGLength
              https://bugs.webkit.org/show_bug.cgi?id=50316
      
              Introduce DECLARE_ANIMATED_LENGTH / DEFINE_ANIMATED_LENGTH, splitting up the original DECLARE_ANIMATED_PROPERTY_NEW macro
              in a part that goes in the .cpp file and another that remains in the header. This avoids having to include SVGNames.h
              in all SVG*Element files.
      
              No functional changes, thus no new tests.
      
              * svg/SVGAnimatedLength.h:
              * svg/SVGCircleElement.cpp:
              * svg/SVGCircleElement.h:
              (WebCore::SVGCircleElement::isValid):
              * svg/SVGCursorElement.cpp:
              * svg/SVGCursorElement.h:
              (WebCore::SVGCursorElement::isValid):
              * svg/SVGEllipseElement.cpp:
              * svg/SVGEllipseElement.h:
              (WebCore::SVGEllipseElement::isValid):
              * svg/SVGFilterElement.cpp:
              * svg/SVGFilterElement.h:
              * svg/SVGFilterPrimitiveStandardAttributes.cpp:
              * svg/SVGFilterPrimitiveStandardAttributes.h:
              * svg/SVGForeignObjectElement.cpp:
              (WebCore::SVGForeignObjectElement::SVGForeignObjectElement):
              * svg/SVGForeignObjectElement.h:
              (WebCore::SVGForeignObjectElement::isValid):
              * svg/SVGImageElement.cpp:
              * svg/SVGImageElement.h:
              (WebCore::SVGImageElement::isValid):
              * svg/SVGLineElement.cpp:
              * svg/SVGLineElement.h:
              (WebCore::SVGLineElement::isValid):
              (WebCore::SVGLineElement::supportsMarkers):
              * svg/SVGLinearGradientElement.cpp:
              * svg/SVGLinearGradientElement.h:
              * svg/SVGMarkerElement.cpp:
              (WebCore::SVGMarkerElement::SVGMarkerElement):
              * svg/SVGMarkerElement.h:
              * svg/SVGMaskElement.cpp:
              * svg/SVGMaskElement.h:
              (WebCore::SVGMaskElement::isValid):
              (WebCore::SVGMaskElement::needsPendingResourceHandling):
              * svg/SVGPatternElement.cpp:
              * svg/SVGPatternElement.h:
              (WebCore::SVGPatternElement::isValid):
              (WebCore::SVGPatternElement::needsPendingResourceHandling):
              * svg/SVGRadialGradientElement.cpp:
              * svg/SVGRadialGradientElement.h:
              * svg/SVGRectElement.cpp:
              * svg/SVGRectElement.h:
              (WebCore::SVGRectElement::isValid):
              * svg/SVGSVGElement.cpp:
              (WebCore::SVGSVGElement::SVGSVGElement):
              * svg/SVGSVGElement.h:
              (WebCore::SVGSVGElement::isValid):
              (WebCore::SVGSVGElement::setContainerSize):
              (WebCore::SVGSVGElement::containerSize):
              (WebCore::SVGSVGElement::hasSetContainerSize):
              (WebCore::SVGSVGElement::currentTranslate):
              (WebCore::SVGSVGElement::timeContainer):
              (WebCore::SVGSVGElement::isSVG):
              (WebCore::SVGSVGElement::rendererIsNeeded):
              * svg/SVGTextContentElement.cpp:
              * svg/SVGTextContentElement.h:
              (WebCore::SVGTextContentElement::isValid):
              (WebCore::SVGTextContentElement::isTextContent):
              * svg/SVGTextPathElement.cpp:
              * svg/SVGTextPathElement.h:
              * svg/SVGTextPositioningElement.h:
              * svg/SVGUseElement.cpp:
              * svg/SVGUseElement.h:
              (WebCore::SVGUseElement::isValid):
              (WebCore::SVGUseElement::setUpdatesBlocked):
              (WebCore::SVGUseElement::isPendingResource):
              * svg/properties/SVGAnimatedPropertyMacros.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab0da70c
    • commit-queue@webkit.org's avatar
      2010-12-01 Anton D'Auria <adauria@apple.com> · 87ff4dcb
      commit-queue@webkit.org authored
              Reviewed by Kevin Decker.
      
              Private browsing denies read access to local and session storage,
              so updating expected test results.
      
              https://bugs.webkit.org/show_bug.cgi?id=49329
      
              * storage/domstorage/localstorage/private-browsing-affects-storage-expected.txt:
              * storage/domstorage/sessionstorage/private-browsing-affects-storage-expected.txt:
      2010-12-01  Anton D'Auria  <adauria@apple.com>
      
              Reviewed by Kevin Decker.
      
              Deny access to local and session storage in private browsing mode.
              https://bugs.webkit.org/show_bug.cgi?id=49329
      
              * storage/Storage.cpp:
              (WebCore::Storage::length):
              (WebCore::Storage::key):
              (WebCore::Storage::getItem):
              (WebCore::Storage::contains):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87ff4dcb
    • philn@webkit.org's avatar
      2010-12-01 Philippe Normand <pnormand@igalia.com> · 8858e248
      philn@webkit.org authored
              Reviewed by Martin Robinson.
      
              Volume control not correctly initialized
              https://bugs.webkit.org/show_bug.cgi?id=36299
      
              Replaced the mute/volume Timers with g_timeouts which are (for
              now, at least) more reliable than Timers for one-shot-fire-now
              actions.
      
              Test: media/video-volume.html
      
              * platform/graphics/MediaPlayer.cpp:
              (WebCore::MediaPlayer::~MediaPlayer): Reset the raw pointers to 0
              when destructing the player.
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateVolumeChangeTimeoutCallback):
              (WebCore::mediaPlayerPrivateMuteChangeTimeoutCallback):
              (WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):
              (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVolumeChange):
              (WebCore::MediaPlayerPrivateGStreamer::volumeChanged):
              (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfMute):
              (WebCore::MediaPlayerPrivateGStreamer::muteChanged):
              (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin): Set
              playbin2 volume/mute base on MediaPlayer related values.
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8858e248
    • hayato@chromium.org's avatar
      2010-12-01 Hayato Ito <hayato@chromium.org> · 1f72959e
      hayato@chromium.org authored
              Unreviewed trivial fix.
      
              Removed fast/regex/{test1,test4}.html because they were removed from tree by r72990
      
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/qt-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f72959e
    • paroga@webkit.org's avatar
      2010-12-01 Patrick Gansterer <paroga@webkit.org> · f57a0de6
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              Cleanup main CMakeLists.txt after r72664, r72672 and r72667
              https://bugs.webkit.org/show_bug.cgi?id=50232
      
              * CMakeLists.txt: Removed obsolete dependencies.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f57a0de6
    • zimmermann@webkit.org's avatar
      2010-12-01 Nikolas Zimmermann <nzimmermann@rim.com> · bcebe577
      zimmermann@webkit.org authored
              Reviewed by Dirk Schulze.
      
              Cleanup SVGPropertyTraits
              https://bugs.webkit.org/show_bug.cgi?id=50229
      
              Move all template specializations for non-POD types (eg. SVGLength, SVGLengthList, etc.) from SVGPropertyTraits
              into the right SVG* classes, to avoid having to include a dozen SVG*.h files in SVGPropertyTraits.h, which is
              included by all DOM/JS/V8 binding files and SVGElement.h.
      
              No new functionality, thus no new tests.
      
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * bindings/scripts/CodeGeneratorV8.pm:
              * svg/SVGAngle.h:
              * svg/SVGLength.h:
              * svg/SVGLengthList.h:
              * svg/SVGMarkerElement.h:
              * svg/SVGNumberList.h:
              * svg/SVGPatternElement.h:
              * svg/SVGPointList.h:
              * svg/SVGPreserveAspectRatio.h:
              * svg/SVGRect.h: Added.
              * svg/SVGSVGElement.h:
              * svg/SVGStringList.h:
              * svg/SVGSymbolElement.h:
              * svg/SVGTransformList.h:
              * svg/SVGViewElement.h:
              * svg/SVGViewSpec.h:
              * svg/properties/SVGListProperty.h:
              * svg/properties/SVGPropertyTraits.h:
              * svg/properties/SVGTransformListPropertyTearOff.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcebe577
    • ossy@webkit.org's avatar
      Unreviewed trivial fix. · 5b9fed21
      ossy@webkit.org authored
      * platform/qt/Skipped:
       - editing/selection/5109817.html: removed, because it was removed from tree by r73009
       - fast/regex/test1.html: removed, because it was removed from tree by r72990
       - fast/regex/test4.html: removed, because it was removed from tree by r72990
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b9fed21
  2. 30 Nov, 2010 27 commits
    • commit-queue@webkit.org's avatar
      2010-11-30 Avi Drissman <avi@google.com> · 0529999f
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Add preference to not select when right-clicked
              https://bugs.webkit.org/show_bug.cgi?id=23351
      
              Removed 5109817 because it is entirely superseded by
              context-menu-text-selection; updated 5354455-1 to explicitly set the
              editing behavior and test all three platforms.
      
              * editing/selection/5109817.html: Removed.
              * editing/selection/5354455-1-expected.txt: Added.
              * editing/selection/5354455-1.html:
              * platform/chromium-win/editing/selection/5109817-expected.txt: Removed.
              * platform/chromium-win/editing/selection/5354455-1-expected.txt: Removed.
              * platform/gtk/editing/selection/5109817-expected.txt: Removed.
              * platform/gtk/editing/selection/5354455-1-expected.txt: Removed.
              * platform/mac-leopard/editing/selection/5109817-expected.checksum: Removed.
              * platform/mac-leopard/editing/selection/5109817-expected.png: Removed.
              * platform/mac/editing/selection/5109817-expected.checksum: Removed.
              * platform/mac/editing/selection/5109817-expected.png: Removed.
              * platform/mac/editing/selection/5109817-expected.txt: Removed.
              * platform/mac/editing/selection/5354455-1-expected.txt: Removed.
              * platform/win/editing/selection/5109817-expected.checksum: Removed.
              * platform/win/editing/selection/5109817-expected.png: Removed.
              * platform/win/editing/selection/5109817-expected.txt: Removed.
              * platform/win/editing/selection/5354455-1-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0529999f
    • tkent@chromium.org's avatar
      Refactor HTMLInputElement: Move a part of HTMLInputElement:: · 053536bc
      tkent@chromium.org authored
      defaultEventHandler() to InputTypes
      https://bugs.webkit.org/show_bug.cgi?id=50097
      
      Reviewed by Darin Adler.
      
      Move all of keyboard-related event handling to InputType.
      
      No new tests because this should not change any behavior.
      
      * html/BaseButtonInputType.cpp:
      (WebCore::BaseButtonInputType::handleKeydownEvent):
      (WebCore::BaseButtonInputType::handleKeypressEvent):
      (WebCore::BaseButtonInputType::handleKeyupEvent):
      * html/BaseButtonInputType.h:
      * html/BaseCheckableInputType.cpp:
      (WebCore::BaseCheckableInputType::handleKeydownEvent):
      (WebCore::BaseCheckableInputType::handleKeypressEvent):
      * html/BaseCheckableInputType.h:
      * html/CheckboxInputType.cpp:
      (WebCore::CheckboxInputType::handleKeyupEvent):
      * html/CheckboxInputType.h:
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::defaultEventHandler):
       We remove !implicitSubmission check for callBaseClassEarly because
       implicitSubmission can not be true for keydown event and keypress
       event at this point.
      * html/InputType.cpp:
      (WebCore::InputType::shouldSubmitImplicitly):
       Returns true for a keypress event with "\r". Note that we don't overload
       this function for BUTTON, FILE, IMAGE, RESET, and SUBMIT because a
       keypress event with "\r" for these types returns from HTMLInputElement::defaultEventHandler()
       before implicit submission checking.
      (WebCore::InputType::handleKeypressEvent):
      (WebCore::InputType::handleKeyupEvent):
      * html/InputType.h:
      * html/RadioInputType.cpp:
      (WebCore::RadioInputType::handleKeydownEvent):
      (WebCore::RadioInputType::handleKeyupEvent):
      * html/RadioInputType.h:
      * html/TextFieldInputType.cpp:
      (WebCore::TextFieldInputType::shouldSubmitImplicitly):
      * html/TextFieldInputType.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      053536bc
    • benjamin.poulain@nokia.com's avatar
      2010-11-30 Benjamin Poulain <benjamin.poulain@nokia.com> · b99ab2e1
      benjamin.poulain@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Implement layoutTestController.findString
              https://bugs.webkit.org/show_bug.cgi?id=50236
      
              Add support for the new advanced findString().
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (DumpRenderTreeSupportQt::findString):
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
      2010-11-30  Benjamin Poulain  <benjamin.poulain@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Implement layoutTestController.findString
              https://bugs.webkit.org/show_bug.cgi?id=50236
      
              Add the missing function to the LayoutTestController.
      
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::findString):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b99ab2e1
    • commit-queue@webkit.org's avatar
      2010-11-30 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> · 8bf00953
      commit-queue@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Fix wrong type in assert return value
              https://bugs.webkit.org/show_bug.cgi?id=50208
      
              Use appropriate return type in different g_return_val_if_fail(). This
              removes some compiler warning.
      
              * webkit/webkitwebdatasource.cpp:
              (webkit_web_data_source_is_loading):
              * webkit/webkitwebframe.cpp:
              (webkit_web_frame_page_number_for_element_by_id):
              (webkit_web_frame_number_of_pages):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8bf00953
    • commit-queue@webkit.org's avatar
      2010-11-30 Rob Buis <rwlbuis@gmail.com> · 9404da90
      commit-queue@webkit.org authored
              Reviewed by Xan Lopez.
      
              [gtk] SVGLineElement-dom-requiredFeatures.html and
              SVGLineElement-svgdom-requiredFeatures.html failing in the bots
              https://bugs.webkit.org/show_bug.cgi?id=49529
      
              Replaced fill with stroke and increased the line size. This fixes
              the problem clicking the element.
      
              * platform/gtk/Skipped:
              * svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js:
              * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9404da90
    • rniwa@webkit.org's avatar
      2010-11-30 Ryosuke Niwa <rniwa@webkit.org> · 4d871287
      rniwa@webkit.org authored
              Unreviewed speculative build fix for Windows.
      
              * UIProcess/win/WebView.cpp:
              (WebKit::WebView::pageDidEnterAcceleratedCompositing):
              (WebKit::WebView::pageDidLeaveAcceleratedCompositing):
              (WebKit::WebView::switchToDrawingAreaTypeIfNecessary):
              * UIProcess/win/WebView.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d871287
    • paroga@webkit.org's avatar
      2010-11-30 Patrick Gansterer <paroga@webkit.org> · fba40458
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              Move CSS generator logic into main CMakeLists.txt file
              https://bugs.webkit.org/show_bug.cgi?id=50230
      
              * CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fba40458
    • ojan@chromium.org's avatar
      2010-11-30 Ojan Vafai <ojan@chromium.org> · b14a2c9d
      ojan@chromium.org authored
              Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test
              https://bugs.webkit.org/show_bug.cgi?id=50288
      
              2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
              Reviewed by Darin Adler.
              Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
              https://bugs.webkit.org/show_bug.cgi?id=50182
              A display-isolated URL can only be displayed (e.g., put in an iframe,
              hyperlinked to) by documents from that scheme. In a sense, this is a
              generalization of some of the protections we give file URLs, but
              instead of lumping them all together into one "local" bucket, this
              patch creates a separate bucket for each scheme.
              For a while, I tried using a separate bucket for each origin. That
              would have played nicely with what Blob URLs are trying to do, but some
              "chrome" URL pages rely on being able to display other chrome URL
              pages, even in different origins. For example, the New Tab Page shows
              thumbnails from the "thumbnail" host.
              This patch also removes a bunch of unused code. I've also propagated
              the "deprecated" status of deprecatedCanDisplay to
              deprecatedShouldTreatURLAsLocal because that method has no other
              callers and is really asking for uppercase/lowercase bugs. I dream of
              someday removing these functions.
              page/SecurityOrigin.cpp:
              (WebCore::SecurityOrigin::canDisplay):
              (WebCore::SecurityOrigin::deprecatedCanDisplay):
              platform/SchemeRegistry.cpp:
              (WebCore::displayIsolatedURLSchemes):
              (WebCore::SchemeRegistry::registerURLSchemeAsLocal):
              (WebCore::SchemeRegistry::deprecatedShouldTreatURLAsLocal):
              (WebCore::SchemeRegistry::shouldTreatURLSchemeAsLocal):
              (WebCore::SchemeRegistry::registerURLSchemeAsDisplayIsolated):
              (WebCore::SchemeRegistry::shouldTreatURLSchemeAsDisplayIsolated):
              platform/SchemeRegistry.h:
              2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
              Reviewed by Darin Adler.
              Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
               https://bugs.webkit.org/show_bug.cgi?id=50182
              This patch adds a Chromium API for registering schemes as
              display-isolated. In a subsequent patch, I'll change the "chrome"
              scheme in Chrome to be display isolated instead of local. That will
              prevent file URLs from linking to chrome URLs.
              public/WebSecurityPolicy.h:
              src/WebSecurityPolicy.cpp:
              (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
      
              * page/SecurityOrigin.cpp:
              (WebCore::SecurityOrigin::canDisplay):
              (WebCore::SecurityOrigin::deprecatedCanDisplay):
              * platform/SchemeRegistry.cpp:
              (WebCore::SchemeRegistry::registerURLSchemeAsLocal):
              (WebCore::SchemeRegistry::removeURLSchemeRegisteredAsLocal):
              (WebCore::SchemeRegistry::localURLSchemes):
              (WebCore::SchemeRegistry::shouldTreatURLAsLocal):
              (WebCore::SchemeRegistry::shouldTreatURLSchemeAsLocal):
              * platform/SchemeRegistry.h:
      2010-11-30  Ojan Vafai  <ojan@chromium.org>
      
              Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test
              https://bugs.webkit.org/show_bug.cgi?id=50288
      
              2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
              Reviewed by Darin Adler.
              Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
              https://bugs.webkit.org/show_bug.cgi?id=50182
              A display-isolated URL can only be displayed (e.g., put in an iframe,
              hyperlinked to) by documents from that scheme. In a sense, this is a
              generalization of some of the protections we give file URLs, but
              instead of lumping them all together into one "local" bucket, this
              patch creates a separate bucket for each scheme.
              For a while, I tried using a separate bucket for each origin. That
              would have played nicely with what Blob URLs are trying to do, but some
              "chrome" URL pages rely on being able to display other chrome URL
              pages, even in different origins. For example, the New Tab Page shows
              thumbnails from the "thumbnail" host.
              This patch also removes a bunch of unused code. I've also propagated
              the "deprecated" status of deprecatedCanDisplay to
              deprecatedShouldTreatURLAsLocal because that method has no other
              callers and is really asking for uppercase/lowercase bugs. I dream of
              someday removing these functions.
              2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
              Reviewed by Darin Adler.
              Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
               https://bugs.webkit.org/show_bug.cgi?id=50182
              This patch adds a Chromium API for registering schemes as
              display-isolated. In a subsequent patch, I'll change the "chrome"
              scheme in Chrome to be display isolated instead of local. That will
              prevent file URLs from linking to chrome URLs.
      
              * public/WebSecurityPolicy.h:
              * src/WebSecurityPolicy.cpp:
      2010-11-30  Ojan Vafai  <ojan@chromium.org>
      
              Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test
              https://bugs.webkit.org/show_bug.cgi?id=50288
      
              2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
              Reviewed by Darin Adler.
              Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
              https://bugs.webkit.org/show_bug.cgi?id=50182
              A display-isolated URL can only be displayed (e.g., put in an iframe,
              hyperlinked to) by documents from that scheme. In a sense, this is a
              generalization of some of the protections we give file URLs, but
              instead of lumping them all together into one "local" bucket, this
              patch creates a separate bucket for each scheme.
              For a while, I tried using a separate bucket for each origin. That
              would have played nicely with what Blob URLs are trying to do, but some
              "chrome" URL pages rely on being able to display other chrome URL
              pages, even in different origins. For example, the New Tab Page shows
              thumbnails from the "thumbnail" host.
              This patch also removes a bunch of unused code. I've also propagated
              the "deprecated" status of deprecatedCanDisplay to
              deprecatedShouldTreatURLAsLocal because that method has no other
              callers and is really asking for uppercase/lowercase bugs. I dream of
              someday removing these functions.
              2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
              Reviewed by Darin Adler.
              Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
               https://bugs.webkit.org/show_bug.cgi?id=50182
              This patch adds a Chromium API for registering schemes as
              display-isolated. In a subsequent patch, I'll change the "chrome"
              scheme in Chrome to be display isolated instead of local. That will
              prevent file URLs from linking to chrome URLs.
      
              * Api/qwebsecurityorigin.cpp:
              (QWebSecurityOrigin::localSchemes):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b14a2c9d
    • ojan@chromium.org's avatar
      2010-11-30 Ojan Vafai <ojan@chromium.org> · 663a41ec
      ojan@chromium.org authored
              [chromium] Update inaccurate test expectation and mark fast/regex/pcre-test-1.html as
              timing out after http://trac.webkit.org/changeset/72990/.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      663a41ec
    • cfleizach@apple.com's avatar
      WebKit duplicates AXValue and AXDescription on abbr · 41c9dde6
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50260
      
      Reviewed by Beth Dakin.
      
      WebCore: 
      
      stringValue() and accessibilityDescription() were returning the same value for static text with
      an aria-label. Static text elements should not have an accessibility description, they
      should only have a stringValue.
      
      Test: platform/mac/accessibility/static-text-with-aria-label.html
      
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::ariaAccessibilityDescription):
      (WebCore::AccessibilityRenderObject::accessibilityDescription):
      (WebCore::AccessibilityRenderObject::text):
      * accessibility/AccessibilityRenderObject.h:
      
      LayoutTests: 
      
      * platform/mac/accessibility/static-text-with-aria-label-expected.txt: Added.
      * platform/mac/accessibility/static-text-with-aria-label.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41c9dde6
    • barraclough@apple.com's avatar
      JavaScriptCore: Fixed review comments following bug #48101. · 1a56bac0
      barraclough@apple.com authored
      Mostly typos, plus gave quantifyInfinite a symbolic name.
      
      Reviewed by Darin Adler.
      
      * yarr/RegexCompiler.cpp:
      (JSC::Yarr::RegexPatternConstructor::quantifyAtom):
      (JSC::Yarr::RegexPatternConstructor::checkForTerminalParentheses):
      * yarr/RegexInterpreter.cpp:
      (JSC::Yarr::Interpreter::backtrackParenthesesOnceEnd):
      (JSC::Yarr::Interpreter::matchParenthesesTerminalBegin):
      (JSC::Yarr::Interpreter::backtrackParenthesesTerminalBegin):
      (JSC::Yarr::Interpreter::backtrackParenthesesTerminalEnd):
      * yarr/RegexJIT.cpp:
      (JSC::Yarr::RegexGenerator::generatePatternCharacterGreedy):
      (JSC::Yarr::RegexGenerator::generatePatternCharacterNonGreedy):
      (JSC::Yarr::RegexGenerator::generateCharacterClassGreedy):
      * yarr/RegexParser.h:
      (JSC::Yarr::Parser::parseTokens):
      (JSC::Yarr::parse):
      
      LayoutTests: Ooops, file checked in with incorrect properties.
      
      Reviewed by Darin Adler.
      
      * fast/regex/script-tests/repeat-match-waldemar.js: Removed property svn:executable.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a56bac0
    • andersca@apple.com's avatar
      Fix Qt build. · ef10ab1b
      andersca@apple.com authored
      * UIProcess/API/qt/qgraphicswkview.cpp:
      (QGraphicsWKView::takeSnapshot):
      (QGraphicsWKViewPrivate::commitScale):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef10ab1b
    • mrobinson@webkit.org's avatar
      2010-11-30 Martin Robinson <mrobinson@igalia.com> · 95a71b06
      mrobinson@webkit.org authored
              Rebaseline a GTK+ test.
      
              * platform/gtk/fast/canvas/canvas-scale-strokePath-shadow-expected.txt: Added.
              This platform-specific result is needed because of bug #50303.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95a71b06
    • andersca@apple.com's avatar
      Change DrawingArea and DrawingAreaProxy to not inherit from DrawingAreaBase · f6d62285
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50300
      
      Reviewed by Sam Weinig.
      
      * UIProcess/API/mac/WKView.mm:
      (-[WKView _switchToDrawingAreaTypeIfNecessary:DrawingAreaBase::]):
      (-[WKView _pageDidEnterAcceleratedCompositing]):
      (-[WKView _pageDidLeaveAcceleratedCompositing]):
      * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:
      (WebKit::ChunkedUpdateDrawingAreaProxy::ChunkedUpdateDrawingAreaProxy):
      * UIProcess/DrawingAreaProxy.cpp:
      (WebKit::DrawingAreaProxy::DrawingAreaProxy):
      (WebKit::DrawingAreaProxy::nextDrawingAreaID):
      * UIProcess/DrawingAreaProxy.h:
      (WebKit::DrawingAreaProxy::info):
      * UIProcess/LayerBackedDrawingAreaProxy.cpp:
      (WebKit::LayerBackedDrawingAreaProxy::LayerBackedDrawingAreaProxy):
      * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
      (WebKit::ChunkedUpdateDrawingArea::ChunkedUpdateDrawingArea):
      (WebKit::ChunkedUpdateDrawingArea::didReceiveMessage):
      * WebProcess/WebPage/ChunkedUpdateDrawingArea.h:
      * WebProcess/WebPage/DrawingArea.cpp:
      (WebKit::DrawingArea::create):
      (WebKit::DrawingArea::DrawingArea):
      * WebProcess/WebPage/DrawingArea.h:
      (WebKit::DrawingArea::info):
      * WebProcess/WebPage/LayerBackedDrawingArea.cpp:
      (WebKit::LayerBackedDrawingArea::LayerBackedDrawingArea):
      (WebKit::LayerBackedDrawingArea::didReceiveMessage):
      * WebProcess/WebPage/LayerBackedDrawingArea.h:
      * WebProcess/WebPage/TiledDrawingArea.cpp:
      (WebKit::TiledDrawingArea::TiledDrawingArea):
      * WebProcess/WebPage/TiledDrawingArea.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::changeAcceleratedCompositingMode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6d62285
    • rniwa@webkit.org's avatar
      2010-11-30 Ryosuke Niwa <rniwa@webkit.org> · eb0ec5e7
      rniwa@webkit.org authored
              Reviewed by Darin Adler.
      
              [HTML5] Rename member variables of HTMLScriptElement
              https://bugs.webkit.org/show_bug.cgi?id=49705
      
              Renamed m_wasCreatedByParser to m_wasInsertedByParser, m_requested to m_isExternalScript,
              m_isEvaluated to m_wasAlreadyStarted, and m_firedLoad to m_haveFiredLoad.
      
              Also made ScriptElement's haveFiredLoadEvent and removed HTMLScriptElement's haveFiredLoadEvent.
              This effectively adds the same function to SVGScriptElement, which isn't currently used anywhere.
      
              No new tests are added since this is a refactoring.
      
              * dom/ScriptElement.cpp:
              (WebCore::ScriptElement::ScriptElement):
              (WebCore::ScriptElement::insertedIntoDocument):
              (WebCore::ScriptElement::childrenChanged):
              (WebCore::ScriptElement::finishParsingChildren):
              (WebCore::ScriptElement::requestScript):
              (WebCore::ScriptElement::evaluateScript):
              (WebCore::ScriptElement::executeScript):
              (WebCore::ScriptElement::ignoresLoadRequest):
              * dom/ScriptElement.h:
              (WebCore::ScriptElement::haveFiredLoadEvent):
              (WebCore::ScriptElement::setHaveFiredLoadEvent):
              (WebCore::ScriptElement::wasInsertedByParser):
              (WebCore::ScriptElement::wasAlreadyStarted):
              * html/HTMLScriptElement.cpp:
              (WebCore::HTMLScriptElement::HTMLScriptElement):
              (WebCore::HTMLScriptElement::create):
              (WebCore::HTMLScriptElement::cloneElementWithoutAttributesAndChildren):
              * html/HTMLScriptElement.h:
              * svg/SVGScriptElement.cpp:
              (WebCore::SVGScriptElement::SVGScriptElement):
              (WebCore::SVGScriptElement::create):
              (WebCore::SVGScriptElement::svgAttributeChanged):
              (WebCore::SVGScriptElement::insertedIntoDocument):
              (WebCore::SVGScriptElement::dispatchLoadEvent):
              (WebCore::SVGScriptElement::cloneElementWithoutAttributesAndChildren):
              * svg/SVGScriptElement.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb0ec5e7
    • mrowe@apple.com's avatar
      Versioning. · ba6ad9e3
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba6ad9e3
    • darin@apple.com's avatar
      Rolled back most of the FileReaderLoader changes to fix 32-bit builds. · f581c553
      darin@apple.com authored
      * fileapi/FileReaderLoader.cpp: Changed types back to unsigned from unsigned long long
      * fileapi/FileReaderLoader.h: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f581c553
    • barraclough@apple.com's avatar
      LayoutTests/fast/regex currently contains a number of test cases ported from PCRE's test suites. · 3eeac765
      barraclough@apple.com authored
      There are two key problems with these tests:
        * They use their own harness, and cannot be run from jsc without building all of WebKit.
        * They expect PCRE expression syntax, including extended syntax, backwards assertions, etc.
      
      Rubber stamped by Oliver Hunt.
      
      Rewrite all tests to comply to ECMA compatible syntax
      (ish - we support octal escapes), and use the normal 'shouldBe' test style.
      
      * fast/js/resources/standalone-pre.js:
      (areArraysEqual):
          Fixed bug, where expected is an array we call areArraysEqual,
          this should first check that actual is an array.
      
      * fast/regex/pcre-test-1-expected.txt: Added.
      * fast/regex/pcre-test-1.html: Added.
      * fast/regex/pcre-test-4-expected.txt: Added.
      * fast/regex/pcre-test-4.html: Added.
      * fast/regex/script-tests/pcre-test-1.js: Added.
      * fast/regex/script-tests/pcre-test-4.js: Added.
          Added new version of PCRE tests.
      
      * fast/regex/pcre-test-runner.js: Removed.
      * fast/regex/test1-expected.txt: Removed.
      * fast/regex/test1.html: Removed.
      * fast/regex/test4-expected.txt: Removed.
      * fast/regex/test4.html: Removed.
      * fast/regex/testinput1: Removed.
      * fast/regex/testinput4: Removed.
      * fast/regex/testoutput1: Removed.
      * fast/regex/testoutput4: Removed.
          Removed old version of PCRE tests.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3eeac765
    • mitz@apple.com's avatar
      Text search should treat all matches as word-start matches when the target... · 4bdecb92
      mitz@apple.com authored
      Text search should treat all matches as word-start matches when the target begins with a separator character
      https://bugs.webkit.org/show_bug.cgi?id=50302
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      * editing/TextIterator.cpp:
      (WebCore::SearchBuffer::SearchBuffer): Disable the AtWordStarts option if it was specified and
      the target string begins with one of the "separator" characters.
      
      LayoutTests: 
      
      * editing/text-iterator/findString.html:
      * editing/text-iterator/findString-expected.txt:
      * platform/mac-leopard/editing/text-iterator: Removed.
      * platform/mac-leopard/editing/text-iterator/findString-expected.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bdecb92
    • pfeldman@chromium.org's avatar
      2010-11-30 Pavel Feldman <pfeldman@chromium.org> · 53befa6b
      pfeldman@chromium.org authored
              Reviewed by Dave Hyatt.
      
              Web Inspector: [CRASH] on "Revert to this revision" of style with import.
              https://bugs.webkit.org/show_bug.cgi?id=50256
      
              Rolled back one line from http://trac.webkit.org/changeset/36904 as agreed with
              David.
      
              * css/CSSImportRule.cpp:
              (WebCore::CSSImportRule::insertedIntoParent):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53befa6b
    • mrobinson@webkit.org's avatar
      2010-11-30 Martin Robinson <mrobinson@igalia.com> · cf5d1892
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] fillRect shadow has incorrect behavior when using ctx.scale(x,y)
              https://bugs.webkit.org/show_bug.cgi?id=50283
      
              Add platform exceptions for these tests. While this change fixes most issues
              with them there are still bugs with our shadow code which prevents a total
              pass.
      
              * platform/gtk/fast/canvas/canvas-scale-fillPath-shadow-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-scale-fillRect-shadow-expected.txt: Added.
      2010-11-30  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [GTK] fillRect shadow has incorrect behavior when using ctx.scale(x,y)
              https://bugs.webkit.org/show_bug.cgi?id=50283
      
              Adjust the mask rectangle for Cairo shadows, so that the origin
              is not affected by the scale of the transformation matrix.
      
              * platform/graphics/ContextShadow.h: Make this Qt-only member global.
              * platform/graphics/cairo/ContextShadowCairo.cpp:
              (WebCore::ContextShadow::beginShadowLayer): Save the original layer area.
              (WebCore::ContextShadow::endShadowLayer): If the target context has a scale
              transform, make sure not to scale the blur distance when blitting the shadow.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf5d1892
    • darin@apple.com's avatar
      2010-11-30 Darin Adler <darin@apple.com> · 81325ed3
      darin@apple.com authored
              Reviewed by Alexey Proskuryakov.
      
              Make ProgressEvent 64-bit instead of 32-bit
              https://bugs.webkit.org/show_bug.cgi?id=50289
      
              * dom/ProgressEvent.cpp:
              (WebCore::ProgressEvent::ProgressEvent): Changed arguments to unsigned long long.
              (WebCore::ProgressEvent::initProgressEvent): Ditto.
      
              * dom/ProgressEvent.h: Fixed formatting. Changed types to unsigned long long.
              Made isProgressEvent override private.
      
              * dom/ProgressEvent.idl: Tweaked formatting and changed types to unsigned long long.
      
              * fileapi/FileReader.cpp: Removed unneeded includes.
              Used static on const so we'd get an error if the same constant was in a header.
              (WebCore::FileReader::didReceiveData): Removed unneeded WTF prefix.
              (WebCore::FileReader::fireEvent): Got rid of local variables that would narrow
              bytes loaded and total bytes to 32-bit.
      
              * fileapi/FileReaderLoader.cpp:
              (WebCore::FileReaderLoader::didReceiveResponse): Restructured code a bit and
              added comments. Also added handling for when ArrayBuffer::create returns 0.
              (WebCore::FileReaderLoader::didReceiveData): Fixed handling of case where more
              data arrives than is expected so it won't overrun the buffer. Also broke an
              assertion into two and improved a comment.
      
              * fileapi/FileReaderLoader.h: Changed bytesLoaded and totalBytes to unsigned long long.
      
              * fileapi/FileWriter.cpp:
              (WebCore::FileWriter::fireEvent): Removed narrowing casts in call to
              ProgressEvent::create.
      
              * html/canvas/ArrayBuffer.cpp:
              (WebCore::ArrayBuffer::tryAllocate): Added a comment because the code here seems wrong.
      
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::didSendData): Removed narrowing casts in call to
              XMLHttpRequestProgressEvent::create.
              (WebCore::XMLHttpRequest::didReceiveData): Removed narrowing casts in call to
              dispatchProgressEvent.
      
              * xml/XMLHttpRequestProgressEvent.h: Fixed formatting. Changed types to unsigned long long.
              Made isXMLHttpRequestProgressEvent override private.
      
              * xml/XMLHttpRequestProgressEvent.idl: Tweaked formatting and changed types to unsigned long long.
      
              * xml/XMLHttpRequestProgressEventThrottle.cpp:
              (WebCore::XMLHttpRequestProgressEventThrottle::dispatchProgressEvent): Changed types to
              unsigned long long.
      
              * xml/XMLHttpRequestProgressEventThrottle.h: Changed types to unsigned long long.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81325ed3
    • sfalken@apple.com's avatar
      2010-11-30 Steve Falkenburg <sfalken@apple.com> · e6b8c86a
      sfalken@apple.com authored
              Reviewed by Darin Adler.
      
              WTF project missing build-stopping code from its pre-build event
              https://bugs.webkit.org/show_bug.cgi?id=50281
      
              * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6b8c86a
    • simon.fraser@apple.com's avatar
      2010-11-30 Simon Fraser <simon.fraser@apple.com> · fbe5e0ba
      simon.fraser@apple.com authored
              Reviewed by Sam Weinig.
      
              Context menus broken after WebKit2 goes into accelerated composting mode.
              https://bugs.webkit.org/show_bug.cgi?id=50296
      
              Override hitTest: on the WKView to exclude the child layer-backed view from
              hit testing, so that context menus work.
      
              * UIProcess/API/mac/WKView.mm:
              (-[WKView hitTest:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbe5e0ba
    • mrowe@apple.com's avatar
      Build fix. · 8b0d107d
      mrowe@apple.com authored
      Reviewed by Sam Weinig.
      
      * Configurations/BaseTarget.xcconfig: Don't run Copy Files and Run Script build phases
      during installhdrs. It's not necessary, and it results in Xcode attempting to copy the
      plug-in shim dylib when it has not yet been built.
      * WebKit2.xcodeproj/project.pbxproj: Stop copying the .xcconfig file in to the application
      wrapper.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b0d107d
    • andersca@apple.com's avatar
      Fix build. · db59e05e
      andersca@apple.com authored
      * Scripts/webkit2/messages.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db59e05e
    • paroga@webkit.org's avatar
      2010-11-30 Patrick Gansterer <paroga@webkit.org> · f11794e4
      paroga@webkit.org authored
              Reviewed by Darin Adler.
      
              Cleanup UTF8.cpp
              https://bugs.webkit.org/show_bug.cgi?id=49581
      
              Use macros and functions instead of range values directly.
      
              * wtf/unicode/UTF8.cpp:
              (WTF::Unicode::inlineUTF8SequenceLength):
              (WTF::Unicode::UTF8SequenceLength):
              (WTF::Unicode::convertUTF16ToUTF8):
              (WTF::Unicode::readUTF8Sequence):
              (WTF::Unicode::convertUTF8ToUTF16):
              * wtf/unicode/UnicodeMacrosFromICU.h: Added U_IS_SUPPLEMENTARY macro.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f11794e4