1. 07 Jan, 2010 40 commits
    • bfulgham@webkit.org's avatar
      Account for scale and current context position (as well as page · 836a6b30
      bfulgham@webkit.org authored
      position) in the device context world transform passed to
      plugins.  This is especially important for print surface DPI.
      http://bugs.webkit.org/show_bug.cgi?id=32909.
      
      Reviewed by Jon Honeycutt.
      
      * plugins/win/PluginViewWin.cpp:
      (WebCore::PluginView::paintWindowedPluginIntoContext): Revise
        world context handling to include scaling and translation
        already set for the CTM.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52955 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      836a6b30
    • mrowe@apple.com's avatar
      Don't leak a JSStringRef within _accessibilityNotificationCallback. · 39391543
      mrowe@apple.com authored
      Reviewed by Jon Honeycutt.
      
      * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
      (_accessibilityNotificationCallback): Have a JSRetainPtr adopt the JSStringRef so that it will be cleaned up
      when it goes out of scope.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39391543
    • mjs@apple.com's avatar
      2010-01-07 Maciej Stachowiak <mjs@apple.com> · f6818ed3
      mjs@apple.com authored
              Reviewed by Simon Fraser.
      
              REGRESSION (r48075): Clicking and dragging in a widget's text field doesn't create a selection; drags widget instead ( Translation, Weather, Ski Report )
              https://bugs.webkit.org/show_bug.cgi?id=33348
              <rdar://problem/7310616>
              
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]): We only want to
              handle file: URLs for the user stylesheet now, so special-case the
              DashboardClient's funky user stylesheet URL by mapping it to the
              equivalent file URL.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6818ed3
    • japhet@chromium.org's avatar
      2010-01-07 Nate Chapin <japhet@chromium.org> · dba3d0fc
      japhet@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Generate V8 bindings header declarations for named and indexed accessors.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp:
              * bindings/v8/custom/V8CustomBinding.h:
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              * bindings/v8/custom/V8HTMLAllCollectionCustom.cpp:
              * bindings/v8/custom/V8HTMLCollectionCustom.cpp:
              * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
              * bindings/v8/custom/V8HTMLFormElementCustom.cpp:
              * bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp:
              * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
              * bindings/v8/custom/V8HTMLPlugInElementCustom.cpp:
              * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
              * bindings/v8/custom/V8NamedNodeMapCustom.cpp:
              * bindings/v8/custom/V8NodeListCustom.cpp:
              * bindings/v8/custom/V8StorageCustom.cpp:
              * bindings/v8/custom/V8StyleSheetListCustom.cpp:
              * bindings/v8/custom/V8WebGLByteArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLIntArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLShortArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dba3d0fc
    • ggaren@apple.com's avatar
      Better build fix: use 'this->structure()', since 'structure' is a · b9d98217
      ggaren@apple.com authored
      PassRefPtr, and therefore null.
      
      * bindings/js/JSDOMWindowBase.cpp:
      (WebCore::JSDOMWindowBase::JSDOMWindowBase):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9d98217
    • ggaren@apple.com's avatar
      Build fix: avoid a name conflict by using the local 'structure' instead · c7ea5896
      ggaren@apple.com authored
      of the member 'structure()'.
      
      * bindings/js/JSDOMWindowBase.cpp:
      (WebCore::JSDOMWindowBase::JSDOMWindowBase):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7ea5896
    • simon.fraser@apple.com's avatar
      2010-01-07 Simon Fraser <simon.fraser@apple.com> · 44944b38
      simon.fraser@apple.com authored
              Build fix.
      
              Add RenderEmbeddedObject.h/cpp to all the build systems.
      
              * Android.mk:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCoreSources.bkl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44944b38
    • ggaren@apple.com's avatar
      2010-01-07 Geoffrey Garen <ggaren@apple.com> · d0d58f4b
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
      
              Safari memory usage skyrockets using new Google AdWords interface
              https://bugs.webkit.org/show_bug.cgi?id=33343
      
              The memory use was caused by the global object creating too many structures
              as it thrashed between different specific functions.
      
              * runtime/Structure.cpp:
              (JSC::Structure::Structure):
              (JSC::Structure::addPropertyTransition):
              (JSC::Structure::changePrototypeTransition):
              (JSC::Structure::despecifyFunctionTransition):
              (JSC::Structure::addAnonymousSlotsTransition):
              (JSC::Structure::getterSetterTransition):
              (JSC::Structure::toDictionaryTransition):
              (JSC::Structure::addPropertyWithoutTransition):
              (JSC::Structure::despecifyAllFunctions):
              * runtime/Structure.h:
              (JSC::Structure::disableSpecificFunctionTracking): Track a thrash count
              for specific functions. Disable specific function tracking once the
              thrash count has been hit.
      2010-01-07  Geoffrey Garen  <ggaren@apple.com>
      
              Reviewed by Sam Weinig.
      
              Safari memory usage skyrockets using new Google AdWords interface
              https://bugs.webkit.org/show_bug.cgi?id=33343
      
              * bindings/js/JSDOMWindowBase.cpp:
              (WebCore::JSDOMWindowBase::JSDOMWindowBase): Disabled specific function
              tracking for the window object, since there's no way to do direct
              method calls on the window object; they all go through the window shell.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0d58f4b
    • simon.fraser@apple.com's avatar
      2010-01-07 Simon Fraser <simon.fraser@apple.com> · 385f97eb
      simon.fraser@apple.com authored
              Reviewed by Kevin Decker, Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=33338
              Create a renderer for <object> and <embed>
      
              Add RenderEmbeddedObject, which derives from RenderPartObject, and is created for <object> and <embed>.
              Instances of RenderPartObject are now only allocated for iframes.
      
              Move object/embed-related code from RenderPartObject to RenderEmbeddedObject.
      
              * WebCore.xcodeproj/project.pbxproj:
              Add RenderEmbeddedObject.h/cpp
      
              * html/HTMLEmbedElement.cpp:
              (WebCore::HTMLEmbedElement::createRenderer): Create a RenderEmbeddedObject.
              (WebCore::HTMLEmbedElement::updateWidget): Use toRenderEmbeddedObject()
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::createRenderer): Make a RenderEmbeddedObject for the plugin-proxy case.
              (WebCore::HTMLMediaElement::finishParsingChildren): Use toRenderEmbeddedObject() in the plugin-proxy code.
      
              * html/HTMLObjectElement.cpp:
              (WebCore::HTMLObjectElement::createRenderer): Make a RenderEmbeddedObject
              (WebCore::HTMLObjectElement::updateWidget): Use toRenderEmbeddedObject()
      
              * page/FrameView.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::addWidgetToUpdate):
              (WebCore::FrameView::removeWidgetToUpdate):
              (WebCore::FrameView::updateWidgets):
              Objects in the m_widgetUpdateSet are only ever RenderEmbeddedObjects.
      
              * rendering/RenderEmbeddedObject.cpp: Added.
              * rendering/RenderEmbeddedObject.h: Added.
              Most of the code moved from RenderPartObject.
      
              * rendering/RenderObject.h:
              (WebCore::RenderObject::isEmbeddedObject): New method.
      
              * rendering/RenderPart.cpp:
              (WebCore::RenderPart::RenderPart): Initialize m_hasFallbackContent here, rather than in the derived classes.
              * rendering/RenderPart.h: Comments.
      
              * rendering/RenderPartObject.h:
              * rendering/RenderPartObject.cpp:
              (WebCore::RenderPartObject::RenderPartObject): Clean up, code moved to base class, and removed object/embed-specific code.
              (WebCore::RenderPartObject::layout): Removed object/embed-specific code.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      385f97eb
    • simon.fraser@apple.com's avatar
      2010-01-07 Simon Fraser <simon.fraser@apple.com> · d6a3be24
      simon.fraser@apple.com authored
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=33338
              Create a renderer for <object> and <embed>
      
              First part of this change: renderPartObject->updateWidget() is a no-op for iframe elements,
              so we don't need to call it here, and can thus remove the attach() override entirely.
      
              * html/HTMLIFrameElement.cpp:
              * html/HTMLIFrameElement.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52946 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6a3be24
    • pfeldman@chromium.org's avatar
      2009-01-07 Pavel Feldman <pfeldman@chromium.org> · 8061c708
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Migrate to canvas-based text viewer / editor that scales.
      
              https://bugs.webkit.org/show_bug.cgi?id=33001
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * inspector/front-end/JavaScriptHighlighterScheme.js: Added.
              (WebInspector.JavaScriptHighlighterScheme):
              * inspector/front-end/KeyboardShortcut.js:
              * inspector/front-end/TextEditor.js: Added.
              (WebInspector.TextEditor):
              (WebInspector.TextSelectionModel):
              (WebInspector.TextCursor):
              * inspector/front-end/TextEditorHighlighter.js: Added.
              (WebInspector.TextEditorHighlighter):
              (WebInspector.TextEditorHighlighter.prototype.highlight):
              (WebInspector.TextEditorHighlighter.prototype._lex):
              * inspector/front-end/TextEditorModel.js: Added.
              (WebInspector.TextRange):
              (WebInspector.TextRange.prototype.clone):
              (WebInspector.TextEditorModel):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.css:
              * inspector/front-end/inspector.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8061c708
    • eric@webkit.org's avatar
      2010-01-07 Christian Sejersen <christian.webkit@gmail.com> · 0e917420
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              document.title does not replace or remove space characters
              https://bugs.webkit.org/show_bug.cgi?id=27032
      
              * fast/dom/Document/document-title-get-expected.txt: Added.
              * fast/dom/Document/document-title-get.html: Added.
              * fast/dom/Document/script-tests/document-title-get.js: Added.
      2010-01-07  Christian Sejersen  <christian.webkit@gmail.com>
      
              Reviewed by Darin Adler.
      
              document.title does not replace or remove space characters
              https://bugs.webkit.org/show_bug.cgi?id=27032
      
              Test: fast/dom/Document/document-title-get.html
      
              * dom/Document.cpp:
              (WebCore::Document::Document):
              Initialization of m_rawTitle
              (WebCore::canonicalizedTitle):
              Moved from DocumentLoader.cpp with minor edits
              (WebCore::Document::updateTitle):
              Ensures the title is canonicalized
              (WebCore::Document::setTitle):
              Uses m_rawTitle instaed of m_title
              (WebCore::Document::removeTitle):
              Uses m_rawTitle instead of m_title
      
              * dom/Document.h:
              Added m_rawTitle that stores the passed in title, m_title now stores the
              canonicalized title
      
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::setTitle):
              The title passed in is now canonicalized in Document.cpp
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e917420
    • eric@webkit.org's avatar
      2010-01-07 Yuzo Fujishima <yuzo@google.com> · d346c098
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Allow leading/trailing space for CSS nth-*() and lang().
              https://bugs.webkit.org/show_bug.cgi?id=17248
      
              For pseudo-classes :nth-*() and :lang(), space must be allowed after '(' and before ')'.
              See the bug comments for why we don't allow space at other places.
      
              * fast/css/css3-space-in-nth-and-lang.html: Added.
              * platform/mac/fast/css/css3-space-in-nth-and-lang-expected.txt: Added.
      2010-01-07  Yuzo Fujishima  <yuzo@google.com>
      
              Reviewed by Darin Adler.
      
              Allow leading/trailing space for CSS nth-*() and lang().
              https://bugs.webkit.org/show_bug.cgi?id=17248
      
              For pseudo-classes :nth-*() and :lang(), space must be allowed after '(' and before ')'.
              See the bug comments for why we don't allow space at other places.
      
              * css/CSSGrammar.y:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d346c098
    • kdecker@apple.com's avatar
      Reviewed by Simon Fraser. · a2362d03
      kdecker@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=33331   
              (WebHostedNetscapePluginView should pass acceleratedCompositingEnabled bool to NetscapePluginHostManager when instantiating plug-ins)
              
              * Plugins/Hosted/NetscapePluginHostManager.h: Modify method signature for instantiatePlugin to include acceleratedCompositingEnabled bool.
              * Plugins/Hosted/NetscapePluginHostManager.mm:
              (WebKit::NetscapePluginHostManager::instantiatePlugin):
              * Plugins/Hosted/WebHostedNetscapePluginView.mm:
              (-[WebHostedNetscapePluginView createPlugin]): Pass accelerated compositing status to NetscapePluginHostManage
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2362d03
    • cfleizach@apple.com's avatar
      AX: contentEditable DIVs are not AX accessible · bdd022bf
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=33325
      
      Reviewed by Beth Dakin.
      
      WebCore: 
      
      Test: accessibility/contenteditable-hidden-div.html
      
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
      (WebCore::AccessibilityRenderObject::canSetValueAttribute):
      
      LayoutTests: 
      
      * accessibility/contenteditable-hidden-div-expected.txt: Added.
      * accessibility/contenteditable-hidden-div.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bdd022bf
    • eric.carlson@apple.com's avatar
      2010-01-07 Eric Carlson <eric.carlson@apple.com> · 1346eae5
      eric.carlson@apple.com authored
              Unreviewed, build fix.
      
              Skip LayoutTests/http/tests/media/video-error-abort.html
      
              * platform/gtk/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1346eae5
    • ossy@webkit.org's avatar
      Unreviewed. roll-out r52917, r52932 and r52934. · 5ada276a
      ossy@webkit.org authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52939 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ada276a
    • abarth@webkit.org's avatar
      2010-01-07 Adam Barth <abarth@webkit.org> · e63b98d5
      abarth@webkit.org authored
              Unreviewed.  Resolve merge conflict.
      
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::setContextDebugId):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e63b98d5
    • abarth@webkit.org's avatar
      2010-01-07 Adam Barth <abarth@webkit.org> · f85e5699
      abarth@webkit.org authored
              No review, rolling out r52847.
              http://trac.webkit.org/changeset/52847
              https://bugs.webkit.org/show_bug.cgi?id=33232
      
              Might have caused a perf regression.  I'm rolling this out to see if it
              heals the perf bot.
      
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::ScriptController):
              (WebCore::ScriptController::~ScriptController):
              (WebCore::ScriptController::updateSecurityOrigin):
              (WebCore::ScriptController::evaluateInIsolatedWorld):
              (WebCore::ScriptController::haveInterpreter):
              (WebCore::ScriptController::clearWindowShell):
              (WebCore::ScriptController::updateDocument):
              * bindings/v8/ScriptController.h:
              * bindings/v8/V8DOMWindowShell.cpp:
              * bindings/v8/V8DOMWindowShell.h:
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::V8DOMWrapper::instantiateV8Object):
              (WebCore::V8DOMWrapper::convertDocumentToV8Object):
              (WebCore::V8DOMWrapper::convertNewNodeToV8Object):
              * bindings/v8/V8IsolatedContext.cpp:
              (WebCore::V8IsolatedContext::V8IsolatedContext):
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::V8Proxy):
              (WebCore::V8Proxy::~V8Proxy):
              (WebCore::V8Proxy::handleOutOfMemory):
              (WebCore::V8Proxy::evaluateInIsolatedWorld):
              (WebCore::V8Proxy::setInjectedScriptContextDebugId):
              (WebCore::V8Proxy::clearForClose):
              (WebCore::V8Proxy::clearForNavigation):
              (WebCore::V8Proxy::context):
              (WebCore::V8Proxy::mainWorldContext):
              (WebCore::V8Proxy::currentContext):
              (WebCore::V8Proxy::setContextDebugId):
              * bindings/v8/V8Proxy.h:
              (WebCore::V8Proxy::windowShell):
              * bindings/v8/WorldContextHandle.cpp:
              (WebCore::WorldContextHandle::adjustedContext):
      2010-01-07  Adam Barth  <abarth@webkit.org>
      
              No review, rolling out r52847.
              http://trac.webkit.org/changeset/52847
              https://bugs.webkit.org/show_bug.cgi?id=33232
      
              Might have caused a perf regression.
      
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::detachedFromParent3):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f85e5699
    • ossy@webkit.org's avatar
      Unreviewed trivial fix. · 52883193
      ossy@webkit.org authored
      LayoutTests/media/video-error-abort.html moved to LayoutTests/http/tests/media/video-error-abort.html
      by r52923, but wasn't renamed in skiplist by this commit.
      
      * platform/mac/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52936 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52883193
    • eric.carlson@apple.com's avatar
      2010-01-07 Eric Carlson <eric.carlson@apple.com> · f22982a3
      eric.carlson@apple.com authored
              Unreviewed, build fix.
      
              Add executable bit to video-throttled-load cgi.
      
              * http/tests/media/video-throttled-load.cgi: Added property svn:executable.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f22982a3
    • ossy@webkit.org's avatar
      Unreviewed. Fix the Mac bots. Why is there no HTTPD PID file? · 101de651
      ossy@webkit.org authored
      Patch by Andras Becsi <abecsi@inf.u-szeged.hu> on 2010-01-07
      * Scripts/run-webkit-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      101de651
    • mitz@apple.com's avatar
      Build fix · 60c1e735
      mitz@apple.com authored
      * WebCore.xcodeproj/project.pbxproj: Made TypesettingFeatures.h private.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60c1e735
    • ossy@webkit.org's avatar
      Store HTTPD PID in a variable to fix warnings if for some reason the pidfile... · 1fac53c1
      ossy@webkit.org authored
      Store HTTPD PID in a variable to fix warnings if for some reason the pidfile gets deleted before httpd terminates.
      This should fix the occasional warnings for uninitialized values on the Mac bots.
      
      Patch by Andras Becsi <abecsi@inf.u-szeged.hu> on 2010-01-07
      Reviewed by Alexey Proskuryakov.
      
      * Scripts/run-webkit-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1fac53c1
    • mitz@apple.com's avatar
      Added Font::typesettingFeatures() and deployed it · 8c85d97b
      mitz@apple.com authored
      Reviewed by Sam Weinig.
      
      No change in funcitonality
      
      * WebCore.xcodeproj/project.pbxproj: Added TypesettingFeatures.h.
      * platform/graphics/Font.h:
      (WebCore::Font::typesettingFeatures): Added. Determines the typesetting
          features from the text redndering mode.
      * platform/graphics/FontFastPath.cpp:
      (WebCore::Font::canUseGlyphCache): Use typesettingFeatures().
      * platform/graphics/SimpleFontData.h:
      * platform/graphics/TypesettingFeatures.h: Added.
      * platform/graphics/mac/ComplexTextControllerATSUI.cpp:
      (WebCore::disableLigatures): Take TypesettingFeatures instead of
          TextRenderingMode.
      (WebCore::initializeATSUStyle): Ditto.
      (WebCore::ComplexTextController::collectComplexTextRunsForCharactersATSUI):
          Use typesettingFeatures().
      * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
      (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
          Ditto.
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::getCFStringAttributes): Take
          TypesettingFeatures instead of TextRenderingMode.
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::findNextLineBreak): Use TypesettingFeatures().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c85d97b
    • dglazkov@chromium.org's avatar
      2010-01-07 Dimitri Glazkov <dglazkov@chromium.org> · 9a2423f8
      dglazkov@chromium.org authored
              No review, rolling out r52900.
              http://trac.webkit.org/changeset/52900
              https://bugs.webkit.org/show_bug.cgi?id=30055
      
              Broke over 30 SVG pixel tests.
      
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::paint):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a2423f8
    • hausmann@webkit.org's avatar
      Rubber-stamped by Kenneth Rohde Christiansen. · 9c73cf48
      hausmann@webkit.org authored
      [Qt] The library version number of the first package release is 4.7.0.
      
      * WebCore.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c73cf48
    • hausmann@webkit.org's avatar
      [Qt] Allow the application to override online/offline network status · ccf72ccb
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=32684
      
      Patch by Yael Aharon <yael.aharon@nokia.com> on 2010-01-07
      Reviewed by Kenneth Rohde Christiansen.
      
      WebCore:
      
      Added API to NetworkStateNotifier for forcing network status.
      
      * platform/network/NetworkStateNotifier.h:
      * platform/network/qt/NetworkStateNotifierPrivate.h:
      * platform/network/qt/NetworkStateNotifierQt.cpp:
      (WebCore::NetworkStateNotifierPrivate::NetworkStateNotifierPrivate):
      (WebCore::NetworkStateNotifierPrivate::onlineStateChanged):
      (WebCore::NetworkStateNotifierPrivate::networkAccessPermissionChanged):
      (WebCore::NetworkStateNotifier::updateState):
      (WebCore::NetworkStateNotifier::NetworkStateNotifier):
      (WebCore::NetworkStateNotifier::setNetworkAccessAllowed):
      
      WebKit/qt:
      
      Add a setting so that applications can overide the network status.
      Applications that use this setting still need to block network access
      through QNAM.
      
      * Api/qwebsettings.cpp:
      (qt_networkAccessAllowed):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccf72ccb
    • ossy@webkit.org's avatar
      Unreviewed typo fix. · 5cd502fc
      ossy@webkit.org authored
      * platform/gtk/Skipped: missing "l" suffix added to fast/repaint/subtree-layoutstate-transform.html
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5cd502fc
    • hausmann@webkit.org's avatar
      c492bffd
    • eric.carlson@apple.com's avatar
      2010-01-07 Eric Carlson <eric.carlson@apple.com> · bfefe3a7
      eric.carlson@apple.com authored
              Unreviewed, build fix.
      
              https://bugs.webkit.org/show_bug.cgi?id=33323
              Skip new test on Tiger for now.
      
              * platform/mac-tiger/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfefe3a7
    • ossy@webkit.org's avatar
      [Qt] Enable JIT in debug mode on win32 after r51141 fixed the crashes. · 57782ffe
      ossy@webkit.org authored
      Reviewed by Simon Hausmann.
      
      * JavaScriptCore.pri:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57782ffe
    • eric.carlson@apple.com's avatar
      2010-01-07 Eric Carlson <eric.carlson@apple.com> · 06974696
      eric.carlson@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              https://bugs.webkit.org/show_bug.cgi?id=33272
              'abort' event still fired as a progress event
      
              rdar://6710625
              Test media/video-error-abort.html doesn't work
      
              Test: http/tests/media/video-error-abort.html
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::scheduleEvent): Incorporate code from enqueueEvent.
              (WebCore::HTMLMediaElement::loadInternal): Fix 'abort' event firing logic missed
              in https://bugs.webkit.org/show_bug.cgi?id=30513. Change order of initialization 
              to match spec wording.
              * html/HTMLMediaElement.h: Remove enqueueEvent prototype.
      
      2010-01-07  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              https://bugs.webkit.org/show_bug.cgi?id=33272
              'abort' event still fired as a progress event
      
              rdar://6710625
              Test media/video-error-abort.html doesn't work
      
              * http/tests/media/video-error-abort-expected.txt: Copied from LayoutTests/media/video-error-abort-expected.txt.
              * http/tests/media/video-error-abort.html: Copied from LayoutTests/media/video-error-abort.html.
                  Modified to run with slow loading cgi, add test to ensure that 'abort' event is not a
                  progress event.
              * media/video-error-abort-expected.txt: Removed.
              * media/video-error-abort.html: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06974696
    • eric@webkit.org's avatar
      2010-01-07 Kim Grönholm <kim.gronholm@nomovok.com> · 9ced7670
      eric@webkit.org authored
              Reviewed by Antti Koivisto.
      
              Wrong state and TouchLists in TouchEvents
              https://bugs.webkit.org/show_bug.cgi?id=32878
      
              Touch event tests changed to match the API and semantics of iPhone and
              Android. Each new touch point press dispatches a touchstart event with
              the pressed touch point(s) in the changedTouches list, and a release
              dispatches a touchend event with the released touch point(s) in
              changedTouches. Moved points dispatch a touchmove event, with the moved
              points in changedTouches. Old behaviour emitted only one touchstart when
              the first point was pressed and one touchend when the last point was
              released, and any events in between were touchmoves. New presses or
              releases could only be detected by comparing the lists touches and
              changedTouches.
      
              * fast/events/basic-touch-events-expected.txt:
              * fast/events/script-tests/basic-touch-events.js:
              (singleTouchSequence):
              (multiTouchSequence):
      2010-01-07  Kim Grönholm  <kim.gronholm@nomovok.com>
      
              Reviewed by Antti Koivisto.
      
              Wrong state and TouchLists in TouchEvents
              https://bugs.webkit.org/show_bug.cgi?id=32878
      
              Touch events changed to match the API and semantics of iPhone and
              Android. Each new touch point press dispatches a touchstart event with
              the pressed touch point(s) in the changedTouches list, and a release
              dispatches a touchend event with the released touch point(s) in
              changedTouches. Moved points dispatch a touchmove event, with the moved
              points in changedTouches. Old behaviour emitted only one touchstart when
              the first point was pressed and one touchend when the last point was
              released, and any events in between were touchmoves. New presses or
              releases could only be detected by comparing the lists touches and
              changedTouches.
      
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleTouchEvent):
              * page/EventHandler.h:
      2010-01-07  Kim Grönholm  <kim.gronholm@nomovok.com>
      
              Reviewed by Antti Koivisto.
      
              Wrong state and TouchLists in TouchEvents
              https://bugs.webkit.org/show_bug.cgi?id=32878
      
              * DumpRenderTree/qt/EventSenderQt.cpp:
              (EventSender::touchStart):
              (EventSender::touchEnd):
              (EventSender::clearTouchPoints):
              * DumpRenderTree/qt/EventSenderQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ced7670
    • tkent@chromium.org's avatar
      2010-01-07 Kent Tamura <tkent@chromium.org> · f3924cc7
      tkent@chromium.org authored
              Reviewed by Maciej Stachowiak.
      
              Remove COM code generation stuff.
              https://bugs.webkit.org/show_bug.cgi?id=32854
      
              Remove the followings:
              - CodeGeenratorCOM.pm, COM code generator,
              - "#if !defined(LANGUAGE_COM) || !LANGUAGE_COM" in IDL files, and
              - UUID attributes in IDL files.
      
              * bindings/scripts/CodeGeneratorCOM.pm: Removed.
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSMediaRule.idl:
              * css/CSSPageRule.idl:
              * css/CSSPrimitiveValue.idl:
              * css/CSSRule.idl:
              * css/CSSRuleList.idl:
              * css/CSSStyleDeclaration.idl:
              * css/CSSStyleRule.idl:
              * css/CSSStyleSheet.idl:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.idl:
              * css/CSSValueList.idl:
              * css/Counter.idl:
              * css/MediaList.idl:
              * css/RGBColor.idl:
              * css/Rect.idl:
              * css/StyleSheet.idl:
              * css/StyleSheetList.idl:
              * css/WebKitCSSKeyframeRule.idl:
              * css/WebKitCSSKeyframesRule.idl:
              * css/WebKitCSSTransformValue.idl:
              * dom/Attr.idl:
              * dom/CDATASection.idl:
              * dom/CharacterData.idl:
              * dom/Comment.idl:
              * dom/DOMImplementation.idl:
              * dom/Document.idl:
              * dom/DocumentFragment.idl:
              * dom/DocumentType.idl:
              * dom/Element.idl:
              * dom/Entity.idl:
              * dom/EntityReference.idl:
              * dom/Event.idl:
              * dom/EventListener.idl:
              * dom/EventTarget.idl:
              * dom/NamedNodeMap.idl:
              * dom/Node.idl:
              * dom/NodeList.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/Text.idl:
              * html/HTMLAnchorElement.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.idl:
              * html/HTMLButtonElement.idl:
              * html/HTMLCanvasElement.idl:
              * html/HTMLCollection.idl:
              * html/HTMLDListElement.idl:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLDivElement.idl:
              * html/HTMLDocument.idl:
              * html/HTMLElement.idl:
              * html/HTMLEmbedElement.idl:
              * html/HTMLFieldSetElement.idl:
              * html/HTMLFontElement.idl:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.idl:
              * html/HTMLInputElement.idl:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.idl:
              * html/HTMLModElement.idl:
              * html/HTMLOListElement.idl:
              * html/HTMLObjectElement.idl:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLOptionsCollection.idl:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.idl:
              * html/HTMLPreElement.idl:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.idl:
              * html/HTMLSelectElement.idl:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.idl:
              * html/HTMLTableElement.idl:
              * html/HTMLTableRowElement.idl:
              * html/HTMLTableSectionElement.idl:
              * html/HTMLTextAreaElement.idl:
              * html/HTMLTitleElement.idl:
              * html/HTMLUListElement.idl:
      
      2010-01-07  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Maciej Stachowiak.
      
              Remove COM code generation files.
              https://bugs.webkit.org/show_bug.cgi?id=32854
      
              * WebKit.vcproj/DerivedSources.make: Removed.
              * WebKit.vcproj/build-generated-files.sh: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3924cc7
    • vestbo@webkit.org's avatar
      Unreviewed build fix for Qt on Mac OS X · 77e07b4d
      vestbo@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77e07b4d
    • steveblock@google.com's avatar
      Android requires ability to increase layout delay · 01b09c85
      steveblock@google.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01b09c85
    • zoltan@webkit.org's avatar
      2010-01-07 Zoltan Horvath <zoltan@webkit.org> · 164689cd
      zoltan@webkit.org authored
              Reviewed by Holger Freyther.
      
              [Mac] Build fix when FAST_MALLOC_MATCH_VALIDATION=1
              https://bugs.webkit.org/show_bug.cgi?id=33312
      
              Using of operator += cause compile error on Mac, so it is changed to
              "= static_cast<AllocAlignmentInteger*>(old_ptr) + 1".
      
              * wtf/FastMalloc.cpp:
              (WTF::TCMallocStats::realloc):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      164689cd
    • ossy@webkit.org's avatar
      Reworked r52853 after r52876 rolled it out. · ae596cd2
      ossy@webkit.org authored
      Chomp the pid variable before passing it to kill and read the contents of
      the pidfile in a platform independent manner.
      First pach of https://bugs.webkit.org/show_bug.cgi?id=33153.
      
      Patch by Andras Becsi <abecsi@inf.u-szeged.hu> on 2010-01-07
      Reviewed by Kenneth Rohde Christiansen.
      
      * Scripts/run-webkit-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae596cd2
    • eric@webkit.org's avatar
      2010-01-07 Chris Jerdonek <chris.jerdonek@gmail.com> · 53139307
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Created a module that runs the style package unit tests.
      
              https://bugs.webkit.org/show_bug.cgi?id=32973
      
              * Scripts/test-webkitpy:
              * Scripts/webkitpy/style/unittests.py: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53139307