1. 02 Feb, 2010 1 commit
    • steveblock@google.com's avatar
      Adds V8 version of JavaInstance · d6285e33
      steveblock@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=33951
      
      Reviewed by Ariya Hidayat.
      
      This is the V8 equivalent of bridge/jni/jsc/JavaInstanceJSC.
      Also fixes a typo in a comment in JavaInstanceJSC.cpp.
      
      No new tests, build fix only.
      
      * Android.v8bindings.mk: Modified. Added JavaInstanceV8.cpp
      * bridge/jni/jsc/JavaInstanceJSC.cpp: Modified.
      (JavaInstance::invokeMethod): Modified. Fixed comment
      * bridge/jni/v8/JavaInstanceV8.cpp: Added.
      (JavaInstance::JavaInstance):
      (JavaInstance::~JavaInstance):
      (JavaInstance::getClass):
      (JavaInstance::invokeMethod):
      (JObjectWrapper::JObjectWrapper):
      (JObjectWrapper::~JObjectWrapper):
      * bridge/jni/v8/JavaInstanceV8.h: Added.
      (JSC::Bindings::JObjectWrapper::instance):
      (JSC::Bindings::JObjectWrapper::setInstance):
      (JSC::Bindings::JObjectWrapper::ref):
      (JSC::Bindings::JObjectWrapper::deref):
      (JSC::Bindings::JavaInstance::javaInstance):
      (JSC::Bindings::JavaInstance::begin):
      (JSC::Bindings::JavaInstance::end):
      (JSC::Bindings::JavaInstance::virtualBegin):
      (JSC::Bindings::JavaInstance::virtualEnd):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54165 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d6285e33
  2. 01 Feb, 2010 39 commits
    • dumi@chromium.org's avatar
      Making sure that all in-progress transactions are rolled back on · 0c099fc8
      dumi@chromium.org authored
      the database thread before they're destroyed. Otherwise,
      SQLiteTransaction's destructor will try to do a rollback and that
      would cause an assertion failure, if the object is not destroyed
      on the DB thread.
      
      Reviewed by Eric Seidel.
      
      https://bugs.webkit.org/show_bug.cgi?id=34152
      
      * platform/sql/SQLiteTransaction.cpp:
      (WebCore::SQLiteTransaction::stop):
      * storage/SQLTransaction.cpp:
      (WebCore::SQLTransaction::notifyDatabaseThreadIsShuttingDown):
      * storage/SQLTransaction.h:
      * storage/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::shutdown):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54162 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0c099fc8
    • weinig@apple.com's avatar
      Fix EXPERIMENTAL_SINGLE_VIEW_MODE build. · 226bb49b
      weinig@apple.com authored
      Reviewed by Beth Dakin.
      
      * page/EventHandler.h:
      * page/mac/EventHandlerMac.mm:
      (WebCore::EventHandler::currentNSEvent):
      (WebCore::EventHandler::currentKeyboardEvent):
      (WebCore::EventHandler::mouseDown):
      (WebCore::EventHandler::mouseDragged):
      (WebCore::EventHandler::mouseUp):
      (WebCore::EventHandler::mouseMoved):
      (WebCore::EventHandler::keyEvent):
      (WebCore::EventHandler::wheelEvent):
      (WebCore::EventHandler::sendContextMenuEvent):
      (WebCore::EventHandler::eventMayStartDrag):
      (WebCore::EventHandler::sendFakeEventsAfterWidgetTracking):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54156 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      226bb49b
    • eric@webkit.org's avatar
      2010-02-01 Diego Gonzalez <diego.gonzalez@openbossa.org> · 2f351093
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] DRT Provide global flag ability
              https://bugs.webkit.org/show_bug.cgi?id=34418
      
              Add the globalFlag property to the Qt LayoutTestController to allow
              cross-domain indications.
      
              * platform/qt/Skipped:
      2010-02-01  Diego Gonzalez  <diego.gonzalez@openbossa.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] DRT Provide global flag ability
              https://bugs.webkit.org/show_bug.cgi?id=34418
      
              Add the globalFlag property to the Qt LayoutTestController to allow
              cross-domain indications.
      
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::reset):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              (LayoutTestController::globalFlag):
              (LayoutTestController::setGlobalFlag):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54155 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2f351093
    • japhet@chromium.org's avatar
      2010-02-01 Nate Chapin <japhet@chromium.org> · d62b6928
      japhet@chromium.org authored
              Unreviewed, Chromium build fix.
      
              Failed to properly add new files for http://trac.webkit.org/changeset/54150.
      
              * bindings/v8/custom/V8BarInfoCustom.cpp: Added.
              * bindings/v8/custom/V8CSSRuleCustom.cpp: Added.
              * bindings/v8/custom/V8CSSStyleSheetCustom.cpp: Added.
              * bindings/v8/custom/V8CSSValueCustom.cpp: Added.
              * bindings/v8/custom/V8CanvasPixelArrayCustom.cpp: Added.
              * bindings/v8/custom/V8DOMSelectionCustom.cpp: Added.
              * bindings/v8/custom/V8HTMLElementCustom.cpp: Added.
              * bindings/v8/custom/V8SVGDocumentCustom.cpp: Added.
              * bindings/v8/custom/V8SVGElementCustom.cpp: Added.
              * bindings/v8/custom/V8SVGPathSegCustom.cpp: Added.
              * bindings/v8/custom/V8ScreenCustom.cpp: Added.
              * bindings/v8/custom/V8StyleSheetCustom.cpp: Added.
              * bindings/v8/custom/V8WebGLArrayCustom.cpp: Added.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54153 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d62b6928
    • mpcomplete@chromium.org's avatar
      Add support for addUserScript to chromium port. · f9319ca9
      mpcomplete@chromium.org authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54152 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f9319ca9
    • eric.carlson@apple.com's avatar
      2010-02-01 Eric Carlson <eric.carlson@apple.com> · 78c25b47
      eric.carlson@apple.com authored
              Reviewed by Dan Bernstein.
      
              https://bugs.webkit.org/show_bug.cgi?id=34448
              <rdar://problem/7598130>
      
              RenderVideo::intrinsicSizeChanged infinite recursion
      
              * rendering/RenderImage.h:
              (WebCore::RenderImage::intrinsicSizeChanged): Make protected instead of private so it can
                  be called by RenderVideo.
              * rendering/RenderVideo.cpp:
              (WebCore::RenderVideo::intrinsicSizeChanged): Call RenderMedia::intrinsicSizeChanged, not
                  RenderVideo::intrinsicSizeChanged.
              (WebCore::RenderVideo::imageChanged): Call RenderMedia::imageChanged instead of 
                  RenderImage::imageChanged.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54151 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      78c25b47
    • japhet@chromium.org's avatar
      2010-02-01 Nate Chapin <japhet@chromium.org> · 01ac50fb
      japhet@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Generate toV8() converter for most WebCore->V8 conversions,
              and defined custom converters in their respective V8<class>Custom.cpp.
      
              Old converters in V8DOMWrapper will be deleted in a later patch.
      
              https://bugs.webkit.org/show_bug.cgi?id=32563
      
              * Android.v8bindings.mk:
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/V8Collection.h:
              * bindings/v8/V8DOMWrapper.cpp:
              * bindings/v8/V8DOMWrapper.h:
              * bindings/v8/V8Proxy.h:
              * bindings/v8/custom/V8BarInfoCustom.cpp: Added.
              * bindings/v8/custom/V8CSSRuleCustom.cpp: Added.
              * bindings/v8/custom/V8CSSStyleSheetCustom.cpp: Added.
              * bindings/v8/custom/V8CSSValueCustom.cpp: Added.
              * bindings/v8/custom/V8CanvasPixelArrayCustom.cpp: Added.
              * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
              * bindings/v8/custom/V8ConsoleCustom.cpp:
              * bindings/v8/custom/V8DOMSelectionCustom.cpp: Added.
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              * bindings/v8/custom/V8DocumentCustom.cpp:
              * bindings/v8/custom/V8ElementCustom.cpp:
              * bindings/v8/custom/V8EventCustom.cpp:
              * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
              * bindings/v8/custom/V8HTMLElementCustom.cpp: Added.
              * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
              * bindings/v8/custom/V8HistoryCustom.cpp:
              * bindings/v8/custom/V8LocationCustom.cpp:
              * bindings/v8/custom/V8NamedNodeMapCustom.cpp:
              * bindings/v8/custom/V8NavigatorCustom.cpp:
              * bindings/v8/custom/V8NodeCustom.cpp:
              * bindings/v8/custom/V8SVGDocumentCustom.cpp: Added.
              * bindings/v8/custom/V8SVGElementCustom.cpp: Added.
              * bindings/v8/custom/V8SVGPathSegCustom.cpp: Added.
              * bindings/v8/custom/V8ScreenCustom.cpp: Added.
              * bindings/v8/custom/V8StyleSheetCustom.cpp: Added.
              * bindings/v8/custom/V8TreeWalkerCustom.cpp:
              * bindings/v8/custom/V8WebGLArrayCustom.cpp: Added.
              * bindings/v8/custom/V8WebGLByteArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLIntArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              * bindings/v8/custom/V8WebGLShortArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp:
              * dom/make_names.pl: Add options to generate wrapper factory for V8 bindings.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54150 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      01ac50fb
    • bweinstein@apple.com's avatar
      Rubber-stamped by Oliver Hunt. · 062f18de
      bweinstein@apple.com authored
      Check in (failing) expected results for fast/dom/Window/window-postmessage-clone-frames.
      This fails because of <rdar://problem/5230396> eventSender.beginDragWithFiles is unimplemented.
      
      * platform/win/fast/dom/Window/window-postmessage-clone-frames-expected.txt: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54149 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      062f18de
    • eric@webkit.org's avatar
      2010-02-01 Alexander Pavlov <apavlov@chromium.org> · 4a42fecb
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: lazy-load textual resources to avoid UI hangup
              https://bugs.webkit.org/show_bug.cgi?id=34332
      
              * inspector/front-end/ResourceView.js:
              (WebInspector.ResourceView.prototype._innerSelectContentTab):
              * inspector/front-end/SourceView.js:
              (WebInspector.SourceView.prototype.show):
              (WebInspector.SourceView.prototype.contentTabSelected):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54148 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4a42fecb
    • eric.carlson@apple.com's avatar
      2010-02-01 Eric Carlson <eric.carlson@apple.com> · 43103d25
      eric.carlson@apple.com authored
              No review, build fix.
      
              https://bugs.webkit.org/show_bug.cgi?id=34447
              http/tests/media/video-referer.html fails on Windows
      
              * platform/win/Skipped:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54147 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      43103d25
    • ossy@webkit.org's avatar
      [Qt] Unreviewed trivial fix. · c3055fad
      ossy@webkit.org authored
      Platform dependent expected file updated after r54143.
      
      * platform/qt/fast/dom/Window/window-properties-expected.txt:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54146 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c3055fad
    • beidson@apple.com's avatar
      Crash in Safari opening new tabs to "same page" · 4e060c0d
      beidson@apple.com authored
      <rdar://problem/7593857> and https://bugs.webkit.org/show_bug.cgi?id=34444
      
      Reviewed by Adele Peterson.
      
      WebCore: 
      
      Test: fast/loader/crash-copying-backforwardlist.html
      
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadItem): Null check currentItem().
      
      * page/Page.cpp:
      (WebCore::Page::goToItem): Ditto.
      
      WebKitTools: 
      
      Add a mode (Mac-only for now) that exercises the WebView SPI _loadBackForwardListFromOtherView:
      
      * DumpRenderTree/LayoutTestController.cpp:
      (LayoutTestController::LayoutTestController):
      (setNewWindowsCopyBackForwardListCallback):
      (LayoutTestController::staticFunctions):
      
      * DumpRenderTree/LayoutTestController.h:
      (LayoutTestController::newWindowsCopyBackForwardList):
      (LayoutTestController::setNewWindowsCopyBackForwardList):
      
      * DumpRenderTree/mac/UIDelegate.mm:
      (-[UIDelegate webView:createWebViewWithRequest:]):
      
      LayoutTests: 
      
      * fast/loader/crash-copying-backforwardlist-expected.txt: Added.
      * fast/loader/crash-copying-backforwardlist.html: Added.
      * platform/gtk/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54145 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4e060c0d
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · d0a7a7bf
      kevino@webkit.org authored
      [wx] Remove unused file that doesn't seem to belong to the port.
              
      https://bugs.webkit.org/show_bug.cgi?id=34445
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54144 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d0a7a7bf
    • eric.carlson@apple.com's avatar
      2010-02-01 Eric Carlson <eric.carlson@apple.com> · 6e10cee3
      eric.carlson@apple.com authored
              Reviewed by Adele Peterson.
      
              Fullscreen API should be on HTMLVideoElement
              https://bugs.webkit.org/show_bug.cgi?id=34438
              
              Move fullscreen DOM APIs from HTMLMediaElement to HTMLVideoElement.
      
              * html/HTMLMediaElement.cpp:
              * html/HTMLMediaElement.h:
              * html/HTMLMediaElement.idl:
              * html/HTMLVideoElement.cpp:
              (WebCore::HTMLVideoElement::paint): Removed outdated FIXME.
              (WebCore::HTMLVideoElement::paintCurrentFrameInContext): Ditto.
              (WebCore::HTMLVideoElement::webkitEnterFullScreen): Moved from HTMLMediaElement.
              (WebCore::HTMLVideoElement::webkitExitFullScreen): Ditto.
              (WebCore::HTMLVideoElement::webkitSupportsFullscreen): Ditto.
              (WebCore::HTMLVideoElement::webkitDisplayingFullscreen): Ditto.
              * html/HTMLVideoElement.h:
              * html/HTMLVideoElement.idl:
      
      2010-02-01  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Adele Peterson.
      
              Fullscreen API should be on HTMLVideoElement
              https://bugs.webkit.org/show_bug.cgi?id=34438
      
              Update fullscreen tests now that <audio> doesn't have fullscreen API.
      
              * fast/dom/Window/window-properties-expected.txt:
              * media/media-fullscreen-inline-expected.txt:
              * media/media-fullscreen-not-in-document-expected.txt:
              * media/media-fullscreen.js:
              (buttonClickHandler):
              (canplaythrough):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54143 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6e10cee3
    • carol.szabo@nokia.com's avatar
      2010-02-01 Carol Szabo <carol.szabo@nokia.com> · 8c399da7
      carol.szabo@nokia.com authored
              Unreviewed.
      
              Add myself to list of committers.
      
              * Scripts/webkitpy/committers.py:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54142 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8c399da7
    • oliver@apple.com's avatar
      2010-02-01 Oliver Hunt <oliver@apple.com> · c18e7fd3
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              Structure not accounting for anonymous slots when computing property storage size
              https://bugs.webkit.org/show_bug.cgi?id=34441
      
              Previously any Structure with anonymous storage would have a property map, so we
              were only including anonymous slot size if there was a property map.  Given this
              is no longer the case we should always include the anonymous slot count in the
              property storage size.
      
              * runtime/Structure.h:
              (JSC::Structure::propertyStorageSize):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54141 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c18e7fd3
    • japhet@chromium.org's avatar
      2010-02-01 Nate Chapin <japhet@chromium.org> · d033f592
      japhet@chromium.org authored
              Rubber-stamped by David Levin.
      
              Add myself to reviewer list.
      
              * Scripts/webkitpy/committers.py:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54140 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d033f592
    • pfeldman@chromium.org's avatar
      2010-02-01 Pavel Feldman <pfeldman@chromium.org> · ab0fd135
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Syntax highlighting in source view of
              Resources pane stops half-way.
      
              There were two problems here: (1) styles for html highlighter were not
              added into the css file (they used to be injected manually in the
              SourceFrame before). (2) 'Tag' needed to be lexer's state, not parser's.
              Otherwise unbalanced quotes in the text nodes were matching too match
              into the string tokens.
      
              https://bugs.webkit.org/show_bug.cgi?id=34359
      
              * inspector/front-end/NativeTextViewer.js:
              (WebInspector.NativeTextViewer.prototype._createLineDivs):
              (WebInspector.NativeTextViewer.prototype._lineHeight):
              (WebInspector.NativeTextViewer.prototype.initFontMetrics):
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype._createEditorIfNeeded):
              * inspector/front-end/SourceHTMLTokenizer.js:
              (WebInspector.SourceHTMLTokenizer):
              (WebInspector.SourceHTMLTokenizer.prototype.nextToken):
              * inspector/front-end/SourceHTMLTokenizer.re2js:
              * inspector/front-end/TextEditor.js:
              (WebInspector.TextEditor.prototype.initFontMetrics):
              (WebInspector.TextEditor.prototype._registerShortcuts):
              * inspector/front-end/inspectorSyntaxHighlight.css:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54139 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ab0fd135
    • benm@google.com's avatar
      ScriptCallFrame's do not get line numbers/source id's if the caller is unkown. · f18574d2
      benm@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34335
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      * bindings/js/ScriptCallStack.cpp:
      (WebCore::ScriptCallStack::ScriptCallStack): If the caller is unknown, the line number and source information is still availble so pass it to the ScriptCallFrame being constructed.
      
      LayoutTests: 
      
      Update layout tests that did not have source and line number information for their console messages, as this information is now available to the ScriptCallFrame and thus can be passed to the inspector, for example.
      
      * fast/js/console-non-string-values-expected.txt: Add console line number/source.
      * userscripts/script-not-run-for-fragments-expected.txt: ditto.
      * userscripts/script-run-at-start-expected.txt: ditto.
      * platform/gtk/inspector/console-log-before-inspector-open-expected.txt: Removed as platform workarounds no longer necessary.
      * platform/mac/inspector/console-log-before-inspector-open-expected.txt: ditto.
      * platform/win/inspector/console-log-before-inspector-open-expected.txt: ditto.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54138 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f18574d2
    • krit@webkit.org's avatar
      2010-02-01 Dirk Schulze <krit@webkit.org> · b8995212
      krit@webkit.org authored
              Reviewed by Simon Fraser.
      
              Add back an AffineTransform class for use by SVG
              https://bugs.webkit.org/show_bug.cgi?id=33750
      
              These are the first steps on reimplementing AffineTransform. Unlike
              the old affine code, this one is platform independent like TransformationMatrix.
              AffineTransform has the benefit, that it stores just 6 doubles instead of
              16 in TransformationMatrix. The calculations of transformations are not that
              complex and can improve the memory usage and speed of SVG.
              AffineTransform can be used by HTML Canvas3D or SVG, since they are 2D related (at
              least for the moment).
              HTML Canvas is the first that makes use of the new AffineTransform. Next patches
              will introduce the affine code to SVG.
      
              No new tests. The new AffineTransformation code is tested by fast/canvas.
      
              * Android.mk:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * html/canvas/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::scale):
              (WebCore::CanvasRenderingContext2D::rotate):
              (WebCore::CanvasRenderingContext2D::translate):
              (WebCore::CanvasRenderingContext2D::transform):
              (WebCore::CanvasRenderingContext2D::setTransform):
              (WebCore::CanvasRenderingContext2D::isPointInPath):
              (WebCore::CanvasRenderingContext2D::willDraw):
              * html/canvas/CanvasRenderingContext2D.h:
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/Path.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::getAffineCTM):
              (WebCore::GraphicsContext::concatCTM):
              * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
              (WebCore::GraphicsContextPlatformPrivate::concatCTM):
              * platform/graphics/cairo/PathCairo.cpp:
              (WebCore::Path::transform):
              * platform/graphics/cairo/TransformationMatrixCairo.cpp:
              (WebCore::AffineTransform::operator cairo_matrix_t):
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::concatCTM):
              (WebCore::GraphicsContext::getAffineCTM):
              * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
              (WebCore::GraphicsContextPlatformPrivate::concatCTM):
              * platform/graphics/cg/PathCG.cpp:
              (WebCore::Path::transform):
              * platform/graphics/cg/TransformationMatrixCG.cpp:
              (WebCore::AffineTransform::operator CGAffineTransform):
              * platform/graphics/haiku/GraphicsContextHaiku.cpp:
              (WebCore::GraphicsContext::getAffineCTM):
              (WebCore::GraphicsContext::concatCTM):
              * platform/graphics/haiku/PathHaiku.cpp:
              (WebCore::Path::transform):
              * platform/graphics/qt/GraphicsContextQt.cpp:
              (WebCore::GraphicsContext::getAffineCTM):
              (WebCore::GraphicsContext::concatCTM):
              * platform/graphics/qt/PathQt.cpp:
              (WebCore::Path::transform):
              * platform/graphics/qt/TransformationMatrixQt.cpp:
              (WebCore::AffineTransform::operator QTransform):
              * platform/graphics/skia/GraphicsContextSkia.cpp:
              (WebCore::GraphicsContext::concatCTM):
              (WebCore::GraphicsContext::getAffineCTM):
              * platform/graphics/skia/PathSkia.cpp:
              (WebCore::Path::transform):
              * platform/graphics/skia/TransformationMatrixSkia.cpp:
              (WebCore::AffineTransform::operator SkMatrix):
              * platform/graphics/transforms/AffineTransform.cpp: Added.
              (WebCore::affineTransformDecompose):
              (WebCore::affineTransformCompose):
              (WebCore::AffineTransform::AffineTransform):
              (WebCore::AffineTransform::reset):
              (WebCore::AffineTransform::setMatrix):
              (WebCore::AffineTransform::isIdentity):
              (WebCore::AffineTransform::det):
              (WebCore::AffineTransform::isInvertible):
              (WebCore::AffineTransform::inverse):
              (WebCore::AffineTransform::multiply):
              (WebCore::AffineTransform::multLeft):
              (WebCore::AffineTransform::rotate):
              (WebCore::AffineTransform::scale):
              (WebCore::AffineTransform::translate):
              (WebCore::AffineTransform::scaleNonUniform):
              (WebCore::AffineTransform::rotateFromVector):
              (WebCore::AffineTransform::flipX):
              (WebCore::AffineTransform::flipY):
              (WebCore::AffineTransform::shear):
              (WebCore::AffineTransform::skew):
              (WebCore::AffineTransform::skewX):
              (WebCore::AffineTransform::skewY):
              (WebCore::makeMapBetweenRects):
              (WebCore::AffineTransform::map):
              (WebCore::AffineTransform::mapPoint):
              (WebCore::AffineTransform::mapRect):
              (WebCore::AffineTransform::blend):
              (WebCore::AffineTransform::toTransformationMatrix):
              * platform/graphics/transforms/AffineTransform.h: Added.
              (WebCore::AffineTransform::a):
              (WebCore::AffineTransform::setA):
              (WebCore::AffineTransform::b):
              (WebCore::AffineTransform::setB):
              (WebCore::AffineTransform::c):
              (WebCore::AffineTransform::setC):
              (WebCore::AffineTransform::d):
              (WebCore::AffineTransform::setD):
              (WebCore::AffineTransform::e):
              (WebCore::AffineTransform::setE):
              (WebCore::AffineTransform::f):
              (WebCore::AffineTransform::setF):
              (WebCore::AffineTransform::operator== ):
              (WebCore::AffineTransform::operator!=):
              (WebCore::AffineTransform::operator*=):
              (WebCore::AffineTransform::operator*):
              (WebCore::AffineTransform::setMatrix):
              * platform/graphics/win/GraphicsContextWin.cpp:
              (WebCore::GraphicsContextPlatformPrivate::concatCTM):
              * platform/graphics/wince/GraphicsContextWince.cpp:
              (WebCore::GraphicsContext::concatCTM):
              (WebCore::GraphicsContext::getAffineCTM):
              * platform/graphics/wx/GraphicsContextWx.cpp:
              (WebCore::GraphicsContext::getAffineCTM):
              (WebCore::GraphicsContext::concatCTM):
              * platform/graphics/wx/PathWx.cpp:
              (WebCore::Path::transform):
              * platform/graphics/wx/TransformationMatrixWx.cpp:
              (WebCore::AffineTransform::operator wxGraphicsMatrix):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54137 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b8995212
    • philn@webkit.org's avatar
      2010-01-29 Philippe Normand <pnormand@igalia.com> · 787ca51b
      philn@webkit.org authored
              Reviewed by Eric Carlson.
      
              [GTK] set playbin mute property depending on volume value
              https://bugs.webkit.org/show_bug.cgi?id=31586
      
              New API in MediaPlayer for mute control. 3 new methods are
              introduced:
      
              - bool supportsMuting() const;
              - bool muted() const;
              - void setMuted(bool);
      
              Platform MediaPlayer implementations can support it easily if the
              underlying sound daemon/API supports muting (eg. not only setting
              volume to 0) like PulseAudio for instance on Linux. At the moment
              the only player supporting this new API is the
              MediaPlayerPrivateGStreamer.
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::setMuted):
              (WebCore::HTMLMediaElement::mediaPlayerVolumeChanged):
              (WebCore::HTMLMediaElement::mediaPlayerMuteChanged):
              * html/HTMLMediaElement.h:
              * platform/graphics/MediaPlayer.cpp:
              (WebCore::NullMediaPlayerPrivate::supportsMuting):
              (WebCore::NullMediaPlayerPrivate::setMuted):
              (WebCore::MediaPlayer::MediaPlayer):
              (WebCore::MediaPlayer::muted):
              (WebCore::MediaPlayer::supportsMuting):
              (WebCore::MediaPlayer::setMuted):
              (WebCore::MediaPlayer::volumeChanged):
              (WebCore::MediaPlayer::muteChanged):
              * platform/graphics/MediaPlayer.h:
              (WebCore::MediaPlayerClient::mediaPlayerMuteChanged):
              * platform/graphics/MediaPlayerPrivate.h:
              (WebCore::MediaPlayerPrivateInterface::supportsMuting):
              (WebCore::MediaPlayerPrivateInterface::setMuted):
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateVolumeChangedCallback):
              (WebCore::notifyVolumeIdleCallback):
              (WebCore::mediaPlayerPrivateMuteChangedCallback):
              (WebCore::notifyMuteIdleCallback):
              (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
              (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
              (WebCore::MediaPlayerPrivate::volumeChangedCallback):
              (WebCore::MediaPlayerPrivate::volumeChanged):
              (WebCore::MediaPlayerPrivate::supportsMuting):
              (WebCore::MediaPlayerPrivate::setMuted):
              (WebCore::MediaPlayerPrivate::muteChangedCallback):
              (WebCore::MediaPlayerPrivate::muteChanged):
              (WebCore::MediaPlayerPrivate::createGSTPlayBin):
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.h:
      
      2010-01-29  Philippe Normand  <pnormand@igalia.com>
      
              Reviewed by Eric Carlson.
      
              [GTK] set playbin mute property depending on volume value
              https://bugs.webkit.org/show_bug.cgi?id=31586
      
              New API in MediaPlayer for mute control
      
              * public/WebMediaPlayerClient.h:
              * src/WebMediaPlayerClientImpl.cpp:
              (WebKit::WebMediaPlayerClientImpl::volumeChanged):
              (WebKit::WebMediaPlayerClientImpl::muteChanged):
              * src/WebMediaPlayerClientImpl.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54136 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      787ca51b
    • ossy@webkit.org's avatar
      Rubber-stamped by Kenneth Rohde Christiansen. · 32a80329
      ossy@webkit.org authored
      [Qt] Platform dependent expected file added for test introduced in r53868,
      because this test passes. Compared to png file and Mac expected file.
      
      * platform/qt/fast/lists/anonymous-items-expected.txt: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54135 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      32a80329
    • hausmann@webkit.org's avatar
      [Qt] Build without SSL support is broken · 6df86325
      hausmann@webkit.org authored
      Patch by Henry Haverinen <henry.haverinen@nokia.com> on 2010-02-01
      Reviewed by Simon Hausmann.
      
      Added missing #ifdefs for OpenSSL support and one null-pointer
      check for the socket.
      
      https://bugs.webkit.org/show_bug.cgi?id=34416
      
      * platform/network/qt/SocketStreamHandlePrivate.h:
      * platform/network/qt/SocketStreamHandleQt.cpp:
      (WebCore::SocketStreamHandlePrivate::SocketStreamHandlePrivate):
      (WebCore::SocketStreamHandlePrivate::send):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54134 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6df86325
    • pfeldman@chromium.org's avatar
      2010-02-01 Pavel Feldman <pfeldman@chromium.org> · 541880a4
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Fix rest of the NativeTextViewer (line numbers,
              conditional breakpoints, selection).
      
              * inspector/front-end/NativeTextViewer.js:
              (WebInspector.NativeTextViewer):
              (WebInspector.NativeTextViewer.prototype._updatePreferredSize):
              (WebInspector.NativeTextViewer.prototype._registerMouseListeners):
              (WebInspector.NativeTextViewer.prototype._mouseDown):
              (WebInspector.NativeTextViewer.prototype._contextMenu):
              (WebInspector.NativeTextViewer.prototype._lineForMouseEvent):
              (WebInspector.NativeTextViewer.prototype._lineHeight):
              * inspector/front-end/TextEditor.js:
              (WebInspector.TextEditor):
              (WebInspector.TextEditor.prototype._registerMouseListeners):
              (WebInspector.TextEditor.prototype._offsetToLine):
              (WebInspector.TextEditor.prototype._lineHeight):
              (WebInspector.TextEditor.prototype.reveal):
              (WebInspector.TextEditor.prototype._paint):
              (WebInspector.TextEditor.prototype._updateDivDecorations):
              (WebInspector.TextEditor.prototype._paintSelection):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54133 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      541880a4
    • steveblock@google.com's avatar
      Adds implementation of JavaString for V8. · 394a5dfc
      steveblock@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=33953
      
      Reviewed by Ariya Hidayat.
      
      No new tests, build fix only.
      
      * bridge/jni/JNIBridge.h: Modified. Include JavaStringV8.h for V8
      * bridge/jni/v8: Added.
      * bridge/jni/v8/JavaStringV8.h: Added.
      (JSC::Bindings::JavaStringImpl::init):
      (JSC::Bindings::JavaStringImpl::UTF8String):
      (JSC::Bindings::JavaStringImpl::uchars):
      (JSC::Bindings::JavaStringImpl::length):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54132 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      394a5dfc
    • oliver@apple.com's avatar
      2010-02-01 Oliver Hunt <oliver@apple.com> · d596c916
      oliver@apple.com authored
              Windows build fix, update exports file (again)
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54131 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d596c916
    • oliver@apple.com's avatar
      2010-02-01 Oliver Hunt <oliver@apple.com> · 2e0e95d7
      oliver@apple.com authored
              Windows build fix, update exports file
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54130 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2e0e95d7
    • oliver@apple.com's avatar
      2010-01-31 Oliver Hunt <oliver@apple.com> · 67192765
      oliver@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              JSC is failing to propagate anonymous slot count on some transitions
              https://bugs.webkit.org/show_bug.cgi?id=34321
      
              Remove secondary Structure constructor, and make Structure store a copy
              of the number of anonymous slots directly so saving an immediate allocation
              of a property map for all structures with anonymous storage, which also
              avoids the leaked property map on new property transition in the original
              version of this patch.
      
              We need to propagate the the anonymous slot count otherwise we can end up
              with a structure recording incorrect information about the available and
              needed space for property storage, or alternatively incorrectly reusing
              some slots.
      
              * JavaScriptCore.exp:
              * runtime/Structure.cpp:
              (JSC::Structure::Structure):
              (JSC::Structure::materializePropertyMap):
              (JSC::Structure::addPropertyTransition):
              (JSC::Structure::changePrototypeTransition):
              (JSC::Structure::despecifyFunctionTransition):
              (JSC::Structure::getterSetterTransition):
              (JSC::Structure::toDictionaryTransition):
              (JSC::Structure::flattenDictionaryStructure):
              (JSC::Structure::copyPropertyTable):
              (JSC::Structure::put):
              (JSC::Structure::remove):
              (JSC::Structure::insertIntoPropertyMapHashTable):
              (JSC::Structure::createPropertyMapHashTable):
              * runtime/Structure.h:
              (JSC::Structure::create):
              (JSC::Structure::hasAnonymousSlots):
              (JSC::Structure::anonymousSlotCount):
      2010-02-01  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              JSC is failing to propagate anonymous slot count on some transitions
              https://bugs.webkit.org/show_bug.cgi?id=34321
      
              Add test case for modifying DOM objects with anonymous storage.
      
              * fast/dom/Window/anonymous-slot-with-changes-expected.txt: Added.
              * fast/dom/Window/anonymous-slot-with-changes.html: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54129 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      67192765
    • eric@webkit.org's avatar
      2010-02-01 Alex Milowski <alex@milowski.com> · e932cfd9
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Added compile time debug support for mathml layout (block boundary & baseline)
      
              * mathml/RenderMathMLBlock.cpp:
              (WebCore::RenderMathMLBlock::stretchToHeight):
              (WebCore::RenderMathMLBlock::paint):
              * mathml/RenderMathMLBlock.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54128 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e932cfd9
    • philn@webkit.org's avatar
      2010-02-01 Philippe Normand <pnormand@igalia.com> · aa9e023d
      philn@webkit.org authored
              Rubber stamped by Xan Lopez.
      
              Fixed compilation warning about unsigned vs signed comparison.
      
              * plugins/gtk/PluginViewGtk.cpp:
              (WebCore::PluginView::paint):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54127 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      aa9e023d
    • cjerdonek@webkit.org's avatar
      2010-01-31 Chris Jerdonek <cjerdonek@webkit.org> · 6ad3f1e3
      cjerdonek@webkit.org authored
              Reviewed by Shinichiro Hamaji.
      
              Moved style error handler code to their own classes, and
              related refactoring. Increased unit test code coverage of
              style error handling.
      
              https://bugs.webkit.org/show_bug.cgi?id=34379
      
              * Scripts/check-webkit-style:
                - Minor change: added error_count variable.
      
              * Scripts/webkitpy/style/checker.py:
                - Renamed ProcessorOptions.should_report_error() to is_reportable().
                - In the StyleChecker class--
                  - Removed _default_style_error_handler().
                  - Added _increment_error_count().
                  - Refactored to use DefaultStyleErrorHandler and
                    PatchStyleErrorHandler constructors.
      
              * Scripts/webkitpy/style/checker_unittest.py:
                - In the StyleStyleCheckerTest class--
                  - Removed write_sample_error().
                  - Removed test_default_style_error_handler().
      
              * Scripts/webkitpy/style/error_handlers.py: Added.
                - Added DefaultStyleErrorHandler class.
                - Added PatchStyleErrorHandler class.
      
              * Scripts/webkitpy/style/error_handlers_unittest.py: Added.
                - Added unit tests for DefaultStyleErrorHandler and
                  PatchStyleErrorHandler.
      
              * Scripts/webkitpy/style/unittests.py:
                - Added error_handlers unit tests.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54126 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6ad3f1e3
    • tkent@chromium.org's avatar
      2010-01-31 Kent Tamura <tkent@chromium.org> · 77f67ae4
      tkent@chromium.org authored
              Unreviewed. Revert r54112 and r54124 because of Windows build error.
      
              * Android.mk:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * html/canvas/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::scale):
              (WebCore::CanvasRenderingContext2D::rotate):
              (WebCore::CanvasRenderingContext2D::translate):
              (WebCore::CanvasRenderingContext2D::transform):
              (WebCore::CanvasRenderingContext2D::setTransform):
              (WebCore::CanvasRenderingContext2D::isPointInPath):
              (WebCore::CanvasRenderingContext2D::willDraw):
              * html/canvas/CanvasRenderingContext2D.h:
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/Path.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
              * platform/graphics/cairo/PathCairo.cpp:
              * platform/graphics/cairo/TransformationMatrixCairo.cpp:
              * platform/graphics/cg/GraphicsContextCG.cpp:
              * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
              * platform/graphics/cg/PathCG.cpp:
              * platform/graphics/cg/TransformationMatrixCG.cpp:
              * platform/graphics/haiku/GraphicsContextHaiku.cpp:
              * platform/graphics/haiku/PathHaiku.cpp:
              * platform/graphics/qt/GraphicsContextQt.cpp:
              * platform/graphics/qt/PathQt.cpp:
              * platform/graphics/qt/TransformationMatrixQt.cpp:
              * platform/graphics/skia/GraphicsContextSkia.cpp:
              * platform/graphics/skia/PathSkia.cpp:
              * platform/graphics/skia/TransformationMatrixSkia.cpp:
              * platform/graphics/transforms/AffineTransform.cpp: Removed.
              * platform/graphics/transforms/AffineTransform.h: Removed.
              * platform/graphics/wince/GraphicsContextWince.cpp:
              * platform/graphics/wx/GraphicsContextWx.cpp:
              * platform/graphics/wx/PathWx.cpp:
              * platform/graphics/wx/TransformationMatrixWx.cpp:
              (WebCore::TransformationMatrix::operator wxGraphicsMatrix):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54125 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      77f67ae4
    • tkent@chromium.org's avatar
      Unreviewd. Windows build fix. · 3e02d508
      tkent@chromium.org authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@54124 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3e02d508
    • eric@webkit.org's avatar
      2010-01-31 Patrick Gansterer <paroga@paroga.com> · 79728bce
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Buildfix for WinCE + style fixes (TLS_OUT_OF_INDEXES is not defined).
              https://bugs.webkit.org/show_bug.cgi?id=34380
      
              * wtf/ThreadSpecific.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54123 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      79728bce
    • eric@webkit.org's avatar
      2010-01-31 Kwang Yul Seo <skyul@company100.net> · d455e1d9
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Limit the scope of packing alignment to avoid MSVC C4103 warning.
              https://bugs.webkit.org/show_bug.cgi?id=34390
      
              Use pack(push, 16) and pack(pop) to limit the scope of packing
              alignment change.
      
              * bindings/js/JSSVGPODTypeWrapper.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54122 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d455e1d9
    • tkent@chromium.org's avatar
      2010-01-31 Kent Tamura <tkent@chromium.org> · 191b3814
      tkent@chromium.org authored
              Reviewed by Darin Adler.
      
              [Windows] Fix a bug of round() with huge integral numbers
              https://bugs.webkit.org/show_bug.cgi?id=34297
      
              Fix a bug that round() for huge integral numbers returns incorrect
              results. For example, round(8639999913600001) returns
              8639999913600002 without this change though the double type can
              represent 8639999913600001 precisely.
      
              Math.round() of JavaScript has a similar problem. But this change
              doesn't fix it because Math.round() doesn't use round() of
              MathExtra.h.
      
              * wtf/MathExtras.h:
              (round): Avoid to do "num + 0.5" or "num - 0.5".
              (roundf): Fixed similarly.
              (llround): Calls round().
              (llroundf): Calls roundf().
              (lround): Calls round().
              (lroundf): Calls roundf().
      
      2010-01-31  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Darin Adler.
      
              [Win] Fix a bug of round() with huge integral numbers
              https://bugs.webkit.org/show_bug.cgi?id=34297
      
              Add a test case to call round(8639999913600001).
      
              * fast/forms/input-valueasnumber-datetime-expected.txt:
              * fast/forms/script-tests/input-valueasnumber-datetime.js:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      191b3814
    • tkent@chromium.org's avatar
      2010-01-31 Kent Tamura <tkent@chromium.org> · c0a3ea6d
      tkent@chromium.org authored
              Reviewed by Darin Adler.
      
              Fix valueAsNumber calculation for type=month.
              https://bugs.webkit.org/show_bug.cgi?id=34304
      
              valueAsNumber calculation for type=month which was checked in as
              r53893 was the number of milliseconds since UNIX epoch, and it was
              wrong. The correct way is the number months since UNIX epoch.
      
              * fast/forms/input-valueasnumber-month-expected.txt:
              * fast/forms/script-tests/input-valueasnumber-month.js:
      
      2010-01-31  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Darin Adler.
      
              Fix valueAsNumber calculation for type=month.
              https://bugs.webkit.org/show_bug.cgi?id=34304
      
              valueAsNumber calculation for type=month which was checked in as
              r53893 was the number of milliseconds since UNIX epoch, and it was
              wrong. The correct way is the number months since UNIX epoch.
      
              * html/DateComponents.cpp:
              (WebCore::DateComponents::setMonthsSinceEpoch):
              (WebCore::DateComponents::monthsSinceEpoch):
              * html/DateComponents.h: Declare setMonthsSinceEpoch() and monthsSinceEpoch().
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::parseToDouble):
                Switch to monthsSinceEpoch() for type=MONTH.
              (WebCore::HTMLInputElement::valueAsDate):
                Add code with millisecondsSinceEpoch() for MONTH because
                parseToDouble() changed its behavior.
              (WebCore::HTMLInputElement::setValueAsNumber):
                Use setMonthsSinceEpoch() for MONTH.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c0a3ea6d
    • tkent@chromium.org's avatar
      2010-01-31 Kent Tamura <tkent@chromium.org> · b9c4b68e
      tkent@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              [Chromium] Fix a bug that a selected word is not recognized as a
              spell-check source.
              https://bugs.webkit.org/show_bug.cgi?id=33660
      
              * src/ContextMenuClientImpl.cpp:
              (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check
              the return value of textBreakNext().
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54119 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b9c4b68e
    • mitz@apple.com's avatar
      Web Inspector: REGRESSION: Numbers in bubbles are vertically off-center · 63d65aca
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34398
      
      Reviewed by Timothy Hatcher.
      
      * inspector/front-end/inspector.css: Specify line-height: normal for
      ".console-message .bubble" and ".sidebar-tree-item .status .bubble".
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54118 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      63d65aca