1. 10 Jul, 2010 4 commits
  2. 09 Jul, 2010 36 commits
    • bweinstein@apple.com's avatar
      Windows testers running Windows 7 were hanging during test_kill_process. Changing the · 17ca0fb7
      bweinstein@apple.com authored
      number of attempts from 3 to 10 fixes the problem on the new bots (and doesn't seem to
      slow down the tests).
      
      Rubber-stamped by Dan Bernstein.
      
      * Scripts/webkitpy/common/system/executive.py:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      17ca0fb7
    • jam@chromium.org's avatar
      2010-07-09 John Abd-El-Malek <jam@chromium.org> · c72ab915
      jam@chromium.org authored
              Reviewed by Darin Fisher.
      
              [chromium] Take out WebPlugin::supportsFind since we can accomplish the same thing by having a return value on startFind
              https://bugs.webkit.org/show_bug.cgi?id=42011
      
              * public/WebPlugin.h:
              (WebKit::WebPlugin::startFind):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c72ab915
    • tony@chromium.org's avatar
      2010-07-09 Tony Chang <tony@chromium.org> · 7c6786c3
      tony@chromium.org authored
              Reviewed by Ojan Vafai.
      
              crash in WebCore::CompositeEditCommand::splitTreeToNode when indenting pre
              https://bugs.webkit.org/show_bug.cgi?id=38231
      
              * editing/execCommand/indent-pre-expected.txt: Added.
              * editing/execCommand/indent-pre.html: Added.
      2010-07-09  Tony Chang  <tony@chromium.org>
      
              Reviewed by Ojan Vafai.
      
              crash in WebCore::CompositeEditCommand::splitTreeToNode when indenting pre
              https://bugs.webkit.org/show_bug.cgi?id=38231
      
              Test: editing/execCommand/indent-pre.html
      
              * editing/IndentOutdentCommand.cpp:
              (WebCore::countParagraphs):
              (WebCore::IndentOutdentCommand::indentRegion): Split text nodes into one node per paragraph
                                                             so moveParagraph doesn't get confused.
              (WebCore::IndentOutdentCommand::splitTextNodes):
              * editing/IndentOutdentCommand.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c6786c3
    • arv@chromium.org's avatar
      2010-07-09 Erik Arvidsson <arv@chromium.org> · 26b6d1b9
      arv@chromium.org authored
              Reviewed by Darin Adler.
      
              Computed style is not implemented for padding-start, padding-end, margin-start, margin-end
              https://bugs.webkit.org/show_bug.cgi?id=41496
      
              * fast/css/margin-start-end-expected.txt:
              * fast/css/padding-start-end-expected.txt:
              * fast/css/script-tests/margin-start-end.js: Added tests for computed style.
              * fast/css/script-tests/padding-start-end.js: Added tests for computed style.
      2010-07-09  Erik Arvidsson  <arv@chromium.org>
      
              Reviewed by Darin Adler.
      
              Computed style is not implemented for padding-start, padding-end, margin-start, margin-end
              https://bugs.webkit.org/show_bug.cgi?id=41496
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSProperty.cpp:
              (WebCore::CSSProperty::resolveDirectionAwareProperty): This function resolves the property ID for a direction aware property.
              * css/CSSProperty.h:
              * css/CSSStyleSelector.cpp: Use helper function.
              (WebCore::CSSStyleSelector::applyProperty):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26b6d1b9
    • abarth@webkit.org's avatar
      2010-07-09 Adam Barth <abarth@webkit.org> · 8aec81f3
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              HTML5 tree builder should pass some LayoutTests
              https://bugs.webkit.org/show_bug.cgi?id=41991
      
              Before this patch, we weren't attaching text nodes to the render tree,
              which turns out to be important.  :)
      
              This patch fixes more than 10,000 LayoutTests.
      
              * html/HTMLConstructionSite.cpp:
              (WebCore::HTMLConstructionSite::attach):
              (WebCore::HTMLConstructionSite::attachAtSite):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8aec81f3
    • commit-queue@webkit.org's avatar
      2010-07-09 Patrick Gansterer <paroga@paroga.com> · ae021f37
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              [WINCE] Buildfix for TextEncodingRegistry
              https://bugs.webkit.org/show_bug.cgi?id=41992
      
              Renamed TextCodecWince to TextCodecWinCE.
      
              * platform/text/TextEncodingRegistry.cpp:
              (WebCore::buildBaseTextCodecMaps):
              (WebCore::extendTextCodecMaps):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae021f37
    • commit-queue@webkit.org's avatar
      2010-07-09 Luiz Agostini <luiz.agostini@openbossa.org> · a0dd4842
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Mac build fix
              https://bugs.webkit.org/show_bug.cgi?id=41967
      
              Adding file PluginObjectMac.mm and frameworks Cocoa and QuartzCore.
      
              * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0dd4842
    • dbates@webkit.org's avatar
      2010-07-09 Daniel Bates <dbates@rim.com> · 6a76e9f5
      dbates@webkit.org authored
              Reviewed by Darin Adler.
      
              Clean up: Move dump-list.js utility script from LayoutTests/fast/lists
              to LayoutTests/fast/lists/resources
              https://bugs.webkit.org/show_bug.cgi?id=42016
      
              Move fast/lists/dump-list.js to fast/lists/resources since it
              is a utility script and not a test case.
      
              * fast/lists/dump-list.js: Removed. Moved to fast/lists/resources.
              * fast/lists/ol-nested-items-dynamic-insert.html: Modified to look
                for dump-list.js in new location.
              * fast/lists/ol-nested-items-dynamic-remove.html: Ditto.
              * fast/lists/ol-nested-items.html: Ditto.
              * fast/lists/ol-nested-list-dynamic-insert.html: Ditto.
              * fast/lists/ol-nested-list-dynamic-remove.html: Ditto.
              * fast/lists/ol-nested-list.html: Ditto.
              * fast/lists/resources/dump-list.js: Copied from LayoutTests/fast/lists/dump-list.js.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a76e9f5
    • diegohcg@webkit.org's avatar
      2010-07-09 Diego Gonzalez <diegohcg@webkit.org> · b88accad
      diegohcg@webkit.org authored
              Reviewed by Antonio Gomes.
      
              [Qt] [WebKit2] Add navigation actions to MiniBrowser toolbar
              https://bugs.webkit.org/show_bug.cgi?id=41966
      
              * MiniBrowser/qt/BrowserWindow.cpp:
              (BrowserWindow::BrowserWindow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b88accad
    • commit-queue@webkit.org's avatar
      2010-07-09 Leon Clarke <leonclarke@google.com> · a67f42c4
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * Configurations/FeatureDefines.xcconfig:
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * fast/dom/HTMLLinkElement/prefetch-expected.txt: Added.
              * fast/dom/HTMLLinkElement/prefetch.html: Added.
              * fast/dom/HTMLLinkElement/prefetch.link: Added.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              Test: fast/dom/HTMLLinkElement/prefetch.html
      
              * Configurations/FeatureDefines.xcconfig:
              * html/HTMLLinkElement.cpp:
              (WebCore::HTMLLinkElement::tokenizeRelAttribute):
              (WebCore::HTMLLinkElement::process):
              * html/HTMLLinkElement.h:
              (WebCore::HTMLLinkElement::RelAttribute::RelAttribute):
              * loader/Cache.cpp:
              (WebCore::createResource):
              * loader/CachedResource.cpp:
              (WebCore::CachedResource::data):
              (WebCore::CachedResource::didAddClient):
              * loader/CachedResource.h:
              (WebCore::CachedResource::):
              (WebCore::CachedResource::error):
              (WebCore::CachedResource::isPrefetch):
              (WebCore::CachedResource::schedule):
              * loader/CachedScript.cpp:
              * loader/CachedScript.h:
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::requestLinkPrefetch):
              (WebCore::DocLoader::canRequest):
              (WebCore::DocLoader::incrementRequestCount):
              (WebCore::DocLoader::decrementRequestCount):
              * loader/DocLoader.h:
              * loader/loader.cpp:
              (WebCore::cachedResourceTypeToTargetType):
              (WebCore::Loader::determinePriority):
              (WebCore::Loader::load):
              (WebCore::Loader::Host::servePendingRequests):
              (WebCore::Loader::Host::didFinishLoading):
              (WebCore::Loader::Host::didFail):
              (WebCore::Loader::Host::didReceiveResponse):
              (WebCore::Loader::Host::cancelPendingRequests):
              * loader/loader.h:
              (WebCore::Loader::):
              * platform/network/ResourceRequestBase.h:
              (WebCore::ResourceRequestBase::):
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * public/WebURLRequest.h:
              (WebKit::WebURLRequest::):
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * Configurations/FeatureDefines.xcconfig:
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * Configurations/FeatureDefines.xcconfig:
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * Scripts/build-webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a67f42c4
    • jamesr@google.com's avatar
      2010-07-09 James Robinson <jamesr@chromium.org> · d911c43e
      jamesr@google.com authored
              Unreviewed build fix.  Add #include to pick up ExceptionCode values for config (like Qt) where it's not picked up indirectly.
      
              * html/HTMLCanvasElement.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d911c43e
    • jamesr@google.com's avatar
      2010-07-09 James Robinson <jamesr@chromium.org> · f0fc0049
      jamesr@google.com authored
              Reviewed by Darin Adler.
      
              Removes CanvasSurface and moves all of its functionality to HTMLCanvasElement.
              https://bugs.webkit.org/show_bug.cgi?id=42005
      
              http://trac.webkit.org/changeset/55201 introduced a new base class for HTMLCanvasElement called CanvasSurface.
              The intention was that this would allow for code sharing with the then-proposed OffscreenCanvas.  However,
              there is no OffscreenCanvas and there's unlikely to be one soon.  Additionally CanvasSurface breaks
              encapsulation pretty badly by doing "static_cast<HTMLCanvasElement* const>(this)".  Until an abstraction is
              really needed we should just use HTMLCanvasElement when we want to talk about a canvas.
      
              This patch moves all of CanvasSurface's functionality back up to HTMLCanvasElement and reorders the header
              to be a bit more logical.
      
              Refactor with no behavior change, thus no new tests.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/CanvasSurface.cpp: Removed.
              * dom/CanvasSurface.h: Removed.
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::HTMLCanvasElement):
              (WebCore::HTMLCanvasElement::willDraw):
              (WebCore::HTMLCanvasElement::setSurfaceSize):
              (WebCore::HTMLCanvasElement::toDataURL):
              (WebCore::HTMLCanvasElement::convertLogicalToDevice):
              (WebCore::HTMLCanvasElement::securityOrigin):
              (WebCore::HTMLCanvasElement::styleSelector):
              (WebCore::HTMLCanvasElement::createImageBuffer):
              (WebCore::HTMLCanvasElement::drawingContext):
              (WebCore::HTMLCanvasElement::buffer):
              (WebCore::HTMLCanvasElement::baseTransform):
              * html/HTMLCanvasElement.h:
              (WebCore::HTMLCanvasElement::setObserver):
              (WebCore::HTMLCanvasElement::width):
              (WebCore::HTMLCanvasElement::height):
              (WebCore::HTMLCanvasElement::size):
              (WebCore::HTMLCanvasElement::toDataURL):
              (WebCore::HTMLCanvasElement::setOriginTainted):
              (WebCore::HTMLCanvasElement::originClean):
              (WebCore::HTMLCanvasElement::hasCreatedImageBuffer):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0fc0049
    • oliver@apple.com's avatar
      Tidy up lexer token ids · 2cb5aac7
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=42014
      
      Reviewed by Darin Adler
      
      Stop using character literals to identify single character tokens
      and instead use symbolic names for all tokens.
      
      * parser/ASTBuilder.h:
      (JSC::ASTBuilder::makeBinaryNode):
      * parser/JSParser.cpp:
      (JSC::JSParser::consume):
      (JSC::JSParser::match):
      (JSC::JSParser::autoSemiColon):
      (JSC::JSParser::JSParser):
      (JSC::JSParser::parseProgram):
      (JSC::JSParser::allowAutomaticSemicolon):
      (JSC::JSParser::parseDoWhileStatement):
      (JSC::JSParser::parseWhileStatement):
      (JSC::JSParser::parseVarDeclarationList):
      (JSC::JSParser::parseConstDeclarationList):
      (JSC::JSParser::parseForStatement):
      (JSC::JSParser::parseReturnStatement):
      (JSC::JSParser::parseWithStatement):
      (JSC::JSParser::parseSwitchStatement):
      (JSC::JSParser::parseSwitchClauses):
      (JSC::JSParser::parseSwitchDefaultClause):
      (JSC::JSParser::parseTryStatement):
      (JSC::JSParser::parseDebuggerStatement):
      (JSC::JSParser::parseStatement):
      (JSC::JSParser::parseFormalParameters):
      (JSC::JSParser::parseFunctionInfo):
      (JSC::JSParser::parseExpressionOrLabelStatement):
      (JSC::JSParser::parseIfStatement):
      (JSC::JSParser::parseExpression):
      (JSC::JSParser::parseAssignmentExpression):
      (JSC::JSParser::parseConditionalExpression):
      (JSC::isUnaryOp):
      (JSC::JSParser::isBinaryOperator):
      (JSC::JSParser::parseBinaryExpression):
      (JSC::JSParser::parseProperty):
      (JSC::JSParser::parseObjectLiteral):
      (JSC::JSParser::parseStrictObjectLiteral):
      (JSC::JSParser::parseArrayLiteral):
      (JSC::JSParser::parsePrimaryExpression):
      (JSC::JSParser::parseArguments):
      (JSC::JSParser::parseMemberExpression):
      (JSC::JSParser::parseUnaryExpression):
      * parser/JSParser.h:
      (JSC::):
      * parser/Lexer.cpp:
      (JSC::):
      (JSC::Lexer::lex):
      * parser/Lexer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2cb5aac7
    • barraclough@apple.com's avatar
      Bug 42015 - Enable JSValue32_64 on ARMv7 · 1baebe6a
      barraclough@apple.com authored
      Reviewed by Oliver Hunt.
      
      * Configurations/JavaScriptCore.xcconfig:
      * jit/JIT.h:
      * jit/JITStubs.cpp:
      * wtf/Platform.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1baebe6a
    • simon.fraser@apple.com's avatar
      2010-07-09 Simon Fraser <simon.fraser@apple.com> · a51c1c84
      simon.fraser@apple.com authored
              Reviewed by Darin Adler.
      
              Calling layoutTestController.layerTreeAsText() should update layout
              https://bugs.webkit.org/show_bug.cgi?id=41818
      
              Need to call updateLayout() before we check for any layers, not after,
              since layout will update compositing, and may create layers.
      
              * page/Frame.cpp:
              (WebCore::Frame::layerTreeAsText):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a51c1c84
    • abarth@webkit.org's avatar
      2010-07-09 Ojan Vafai <ojan@chromium.org> · 90e73d79
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              r63004 broke some python tests
              https://bugs.webkit.org/show_bug.cgi?id=42007
      
              AbstractStep now checks options.no_squash and options.squash, so
              they needed to have real values. Mock would return an object for those,
              which would then act as if the values were True.
      
              * Scripts/webkitpy/tool/commands/commandtest.py:
              * Scripts/webkitpy/tool/commands/download_unittest.py:
              * Scripts/webkitpy/tool/commands/stepsequence.py:
              * Scripts/webkitpy/tool/commands/upload_unittest.py:
              * Scripts/webkitpy/tool/mocktool.py:
              * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
              * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py:
              * Scripts/webkitpy/tool/steps/steps_unittest.py:
              * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
              * Scripts/webkitpy/tool/steps/validatereviewer_unittest.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90e73d79
    • kbr@google.com's avatar
      2010-07-09 Kenneth Russell <kbr@google.com> · b35cbfdf
      kbr@google.com authored
              Reviewed by Nate Chapin.
      
              bufferSubData causes crash in WebGLBuffer::associateBufferSubData
              https://bugs.webkit.org/show_bug.cgi?id=42004
      
              Test: fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html
      
              * html/canvas/WebGLBuffer.cpp:
              (WebCore::WebGLBuffer::associateBufferData):
               - Allocate m_elementArrayBuffer for entry point taking only size.
                 Guard against allocation failures of m_elementArrayBuffer.
              (WebCore::WebGLBuffer::associateBufferSubData):
               - Guard against any possibility of crashes due to m_elementArrayBuffer being NULL.
      2010-07-09  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Nate Chapin.
      
              bufferSubData causes crash in WebGLBuffer::associateBufferSubData
              https://bugs.webkit.org/show_bug.cgi?id=42004
      
              * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data-expected.txt: Added.
              * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b35cbfdf
    • kbr@google.com's avatar
      2010-07-09 Kenneth Russell <kbr@google.com> · 82f5efcb
      kbr@google.com authored
              Reviewed by Dimitri Glazkov.
      
              Assertion failure in String::utf8() for certain invalid UTF16 inputs
              https://bugs.webkit.org/show_bug.cgi?id=41983
      
              * wtf/text/WTFString.cpp:
              (WebCore::String::utf8):
               - Fixed assertion when sourceExhausted is returned from convertUTF16ToUTF8.
      2010-07-09  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              Assertion failure in String::utf8() for certain invalid UTF16 inputs
              https://bugs.webkit.org/show_bug.cgi?id=41983
      
              * fast/canvas/webgl/invalid-UTF-16-expected.txt: Added.
              * fast/canvas/webgl/invalid-UTF-16.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82f5efcb
    • dumi@chromium.org's avatar
      Unreviewed, but pre-approved by Eric Seidel. · 1081015b
      dumi@chromium.org authored
      Remove unnecessary includes in header files in WebCore/css.
      https://bugs.webkit.org/show_bug.cgi?id=41941
      
      * css/CSSComputedStyleDeclaration.h:
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontFaceSource.h:
      * css/CSSPrimitiveValueMappings.h:
      * css/StyleMedia.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1081015b
    • eric@webkit.org's avatar
      2010-07-09 Eric Seidel <eric@webkit.org> · 7e7d85fb
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Get rid of manual case maps in HTMLTreeBuilder
              https://bugs.webkit.org/show_bug.cgi?id=42000
      
              No functional change, thus no tests.
      
              * html/HTMLTreeBuilder.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e7d85fb
    • tonyg@chromium.org's avatar
      2010-07-09 Tony Gentilcore <tonyg@chromium.org> · 090a6158
      tonyg@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Implement performance.timing.navigationStart
              https://bugs.webkit.org/show_bug.cgi?id=41815
      
              * fast/dom/script-tests/webtiming.js:
              (checkTimingBeforeLoad):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-expected.txt:
      2010-07-09  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Implement performance.timing.navigationStart
              https://bugs.webkit.org/show_bug.cgi?id=41815
      
              See: http://dev.w3.org/2006/webapi/WebTiming/#nt-navigation-start
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::loadWithDocumentLoader):
              * loader/FrameLoaderTypes.h:
              (WebCore::FrameLoadTimeline::FrameLoadTimeline):
              * page/Timing.cpp:
              (WebCore::Timing::navigationStart):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      090a6158
    • ajwong@chromium.org's avatar
      Unreviewed. Build fix. · fcf9c086
      ajwong@chromium.org authored
      [chromium] Add in baseline for ietestcenter tests that pass.  Also
      rebaseline two other tests.
      
      * platform/chromium-mac/fast/js/no-semi-insertion-at-end-of-script-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.12.2-0-2-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.12.3-0-2-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-1-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-2-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-1-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt: Added.
      * platform/chromium-win/fast/js/no-semi-insertion-at-end-of-script-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.12.2-0-2-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.12.3-0-2-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-1-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-2-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-1-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt: Added.
      * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fcf9c086
    • ajwong@chromium.org's avatar
      2010-07-09 Albert J. Wong <ajwong@chromium.org> · 48fde241
      ajwong@chromium.org authored
              Reviewed by NOBODY (OOPS!).
      
              Need a short description and bug URL (OOPS!)
      
              * platform/chromium-mac/media/video-volume-slider-expected.checksum:
              * platform/chromium-mac/media/video-volume-slider-expected.png:
              * platform/chromium-mac/media/video-volume-slider-expected.txt:
              * platform/chromium-win/http/tests/plugins/plugin-document-has-focus-expected.txt:
              * platform/chromium-win/plugins/keyboard-events-expected.txt:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48fde241
    • ojan@chromium.org's avatar
      2010-07-09 Ojan Vafai <ojan@chromium.org> · 357592e0
      ojan@chromium.org authored
              Reviewed by Adam Barth.
      
              --squash should go away and become the default
              https://bugs.webkit.org/show_bug.cgi?id=39624
      
              If there are local commits and working copy changes, then prompt the user
              whether to continue. Setting git config webkit-patch.commit_should_always_squash
              true bypasses the prompt.
      
              --git-commit=HEAD.. operates on working copy changes only.
              --git-commit=committish operates on a range of commits as a single commit.
                  e.g. --git-commit=HEAD only operates on the HEAD commit.
                  --git-commit=HEAD~4..HEAD~2 will operate on HEAD~3 and HEAD~2 as a single commit.
      
              --no-squash and --squash are left in with descriptive error messages if used.
      
              * Scripts/check-webkit-style:
              * Scripts/webkitpy/common/checkout/api.py:
              * Scripts/webkitpy/common/checkout/api_unittest.py:
              * Scripts/webkitpy/common/checkout/scm.py:
              * Scripts/webkitpy/common/checkout/scm_unittest.py:
              * Scripts/webkitpy/common/net/rietveld.py:
              * Scripts/webkitpy/common/system/user.py:
              * Scripts/webkitpy/style/optparser.py:
              * Scripts/webkitpy/style_references.py:
              * Scripts/webkitpy/tool/commands/download.py:
              * Scripts/webkitpy/tool/commands/upload.py:
              * Scripts/webkitpy/tool/mocktool.py:
              * Scripts/webkitpy/tool/steps/abstractstep.py:
              * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
              * Scripts/webkitpy/tool/steps/checkstyle.py:
              * Scripts/webkitpy/tool/steps/checkstyle_unittest.py: Removed.
              * Scripts/webkitpy/tool/steps/commit.py:
              * Scripts/webkitpy/tool/steps/options.py:
              * Scripts/webkitpy/tool/steps/preparechangelog.py:
              * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
              * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
              * Scripts/webkitpy/tool/steps/validatereviewer.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      357592e0
    • eric@webkit.org's avatar
      2010-07-09 Eric Seidel <eric@webkit.org> · b583beb3
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Fix SVG tag name casing for HTMLTreeBuilder
              https://bugs.webkit.org/show_bug.cgi?id=41998
      
              * html5lib/runner-expected-html5.txt:
      2010-07-09  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented
              https://bugs.webkit.org/show_bug.cgi?id=41954
      
              Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive
              implementation of GraphicsLayerQt::syncCompositingState and which targets
              the current layer only.
      
              * platform/graphics/qt/GraphicsLayerQt.cpp:
              (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly):
              * platform/graphics/qt/GraphicsLayerQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b583beb3
    • commit-queue@webkit.org's avatar
      2010-07-09 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> · ce60a933
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented
              https://bugs.webkit.org/show_bug.cgi?id=41954
      
              Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive
              implementation of GraphicsLayerQt::syncCompositingState and which targets
              the current layer only.
      
              * platform/graphics/qt/GraphicsLayerQt.cpp:
              (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly):
              * platform/graphics/qt/GraphicsLayerQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce60a933
    • andersca@apple.com's avatar
      Handle setting of drawing and event models · b34e2a46
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=41994
      
      Reviewed by Sam Weinig and Dan Bernstein.
      
      * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
      Handle NPPVpluginDrawingModel and NPPVpluginEventModel.
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::NetscapePlugin):
      Initialize m_inNPPNew.
      
      (WebKit::NetscapePlugin::~NetscapePlugin):
      Assert that we aren't still running.
      
      (WebKit::NetscapePlugin::fromNPP):
      New function that returns a NetscapePlugin object given a NPP pointer.
      
      (WebKit::NetscapePlugin::initialize):
      * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.cpp:
      (WebKit::NetscapePlugin::setDrawingModel):
      Set the drawing model.
      
      (WebKit::NetscapePlugin::setEventModel):
      Set the event model.
      
      (WebKit::initializeEvent):
      (WebKit::NetscapePlugin::platformPaint):
      Only send the Cocoa event when using the Cocoa event model.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b34e2a46
    • mrowe@apple.com's avatar
      Add two new Windows test build slaves. · de440f14
      mrowe@apple.com authored
      * BuildSlaveSupport/build.webkit.org-config/config.json:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de440f14
    • commit-queue@webkit.org's avatar
      2010-07-09 David Kozub <zub@linux.fjfi.cvut.cz> · 8108e085
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Fix build by adding missing html/TimeRanges.idl to CMakeLists.txt.
      
              https://bugs.webkit.org/show_bug.cgi?id=41945
      
              No functional changes, thus no tests.
      
              * CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8108e085
    • ajwong@chromium.org's avatar
      Reviewed by David Levin. · dde065c9
      ajwong@chromium.org authored
      rebaseline_chromium_webkit_tests missing --use_drt option on linux
      https://bugs.webkit.org/show_bug.cgi?id=41985
      
      This adds in the --use_drt option for rebaseline_chromium_webkit_tests
      so that it works on linux. This is essentially a "compile-fix" for the
      script.
      
      * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dde065c9
    • weinig@apple.com's avatar
      Patch for https://bugs.webkit.org/show_bug.cgi?id=41971 · c7506e08
      weinig@apple.com authored
      Add really basic BackForwardList support.
      
      Reviewed by Anders Carlsson.
      
      * Shared/CoreIPCSupport/WebPageMessageKinds.h:
      (WebPageMessage::):
      Add new message kind.
      
      * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h:
      (WebPageProxyMessage::):
      Add new message kinds. Remove DidChangeCanGoBack and DidChangeCanGoForward.
      
      * UIProcess/API/C/WKPage.cpp:
      (WKPageGoToBackForwardListItem):
      * UIProcess/API/C/WKPage.h:
      Add function to initiate a navigation to a BackForward item.  The
      BackForward list will be updated to use this as the current item
      asynchronously. 
      
      * UIProcess/WebBackForwardList.cpp:
      (WebKit::WebBackForwardList::WebBackForwardList):
      (WebKit::WebBackForwardList::addItem): Added.
      (WebKit::WebBackForwardList::goToItem): Added.
      (WebKit::WebBackForwardList::itemAtIndex): Added.
      (WebKit::WebBackForwardList::backListCount): Changed to return int matching WebCore.
      (WebKit::WebBackForwardList::forwardListCount): Ditto.
      (WebKit::WebBackForwardList::backListWithLimit): Add cast to int.
      (WebKit::WebBackForwardList::forwardListWithLimit): Ditto.
      (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit): Ditto.
      (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit): Ditto.
      * UIProcess/WebBackForwardList.h:
      
      * UIProcess/WebBackForwardListItem.cpp:
      (WebKit::WebBackForwardListItem::WebBackForwardListItem):
      * UIProcess/WebBackForwardListItem.h:
      (WebKit::WebBackForwardListItem::create):
      (WebKit::WebBackForwardListItem::itemID):
      Added itemID.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::WebPageProxy):
      (WebKit::WebPageProxy::close):
      (WebKit::WebPageProxy::canGoForward):
      (WebKit::WebPageProxy::canGoBack):
      (WebKit::WebPageProxy::goToBackForwardItem):
      (WebKit::WebPageProxy::didReceiveMessage):
      (WebKit::WebPageProxy::didReceiveSyncMessage):
      (WebKit::WebPageProxy::addItemToBackForwardList):
      (WebKit::WebPageProxy::goToItemInBackForwardList):
      (WebKit::WebPageProxy::processDidExit):
      * UIProcess/WebPageProxy.h:
      - Removed m_canGoBack and m_canGoForward booleans and instead use the BackForwardList.
      - Forward goToBackForwardItem to the WebProcess.
      - Respond to messages from the WebBackForwardListProxy in the WebProcess,
        forwarding to the WebBackForwardList.
      
      * WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp:
      (WebKit::WebBackForwardControllerClient::createBackForwardList):
      Start using a WebBackForwardListProxy instead of a BackForwardListImpl.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDidAddBackForwardItem):
      (WebKit::WebFrameLoaderClient::dispatchDidRemoveBackForwardItem):
      (WebKit::WebFrameLoaderClient::dispatchDidChangeBackForwardIndex):
      Remove calls backForwardListDidChange() now that we communicate much more
      information than just this state.
      
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit::idToHistoryItemMap):
      (WebKit::historyItemToIDMap):
      (WebKit::generateHistoryItemID):
      (WebKit::getIDForHistoryItem):
      (WebKit::WebBackForwardListProxy::itemForID):
      Add leaking cached maps of HistoryItems to IDs, the life time of these
      objects will be improved in a subsequent patch.
      
      (WebKit::WebBackForwardListProxy::WebBackForwardListProxy):
      (WebKit::WebBackForwardListProxy::addItem):
      (WebKit::WebBackForwardListProxy::goBack):
      (WebKit::WebBackForwardListProxy::goForward):
      (WebKit::WebBackForwardListProxy::goToItem):
      (WebKit::WebBackForwardListProxy::backItem):
      (WebKit::WebBackForwardListProxy::currentItem):
      (WebKit::WebBackForwardListProxy::forwardItem):
      (WebKit::WebBackForwardListProxy::itemAtIndex):
      (WebKit::WebBackForwardListProxy::backListWithLimit):
      (WebKit::WebBackForwardListProxy::forwardListWithLimit):
      (WebKit::WebBackForwardListProxy::capacity):
      (WebKit::WebBackForwardListProxy::setCapacity):
      (WebKit::WebBackForwardListProxy::enabled):
      (WebKit::WebBackForwardListProxy::setEnabled):
      (WebKit::WebBackForwardListProxy::backListCount):
      (WebKit::WebBackForwardListProxy::forwardListCount):
      (WebKit::WebBackForwardListProxy::containsItem):
      (WebKit::WebBackForwardListProxy::close):
      (WebKit::WebBackForwardListProxy::closed):
      (WebKit::WebBackForwardListProxy::removeItem):
      (WebKit::WebBackForwardListProxy::entries):
      (WebKit::WebBackForwardListProxy::pushStateItem):
      * WebProcess/WebPage/WebBackForwardListProxy.h:
      Forward functions to the UIProcess.
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::goToBackForwardItem):
      (WebKit::WebPage::didReceiveMessage):
      * WebProcess/WebPage/WebPage.h:
      Respond to GoToBackForwardItem message.
      
      * mac/WebKit2.exp: Add new API function.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7506e08
    • oliver@apple.com's avatar
      2010-07-09 Oliver Hunt <oliver@apple.com> · 7534a485
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Remove a couple of excess writes from the lexer
              https://bugs.webkit.org/show_bug.cgi?id=41981
      
              Remove a couple of fields from JSTokenInfo, and rename the remaining ones
              to something more accurate
      
              * parser/JSParser.cpp:
              (JSC::JSParser::next):
              (JSC::JSParser::tokenStart):
              (JSC::JSParser::tokenLine):
              (JSC::JSParser::tokenEnd):
              * parser/JSParser.h:
              (JSC::JSTokenInfo::JSTokenInfo):
              * parser/Lexer.cpp:
              (JSC::Lexer::lex):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7534a485
    • eric@webkit.org's avatar
      2010-07-09 Eric Seidel <eric@webkit.org> · 3791196d
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Implement SVG attribute case mapping for HTMLTreeBuilder
              https://bugs.webkit.org/show_bug.cgi?id=41949
      
              Update results now that we pass 3 more tests.
      
              * html5lib/runner-expected-html5.txt:
      2010-07-09  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Adam Barth.
      
              Implement SVG attribute case mapping for HTMLTreeBuilder
              https://bugs.webkit.org/show_bug.cgi?id=41949
      
              Tested by html5lib/runner.html.
      
              * html/HTMLTreeBuilder.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3791196d
    • andersca@apple.com's avatar
      Verify drawing coordinates, add crude painting support · f6b969fd
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=41984
      
      Reviewed by Sam Weinig.
      
      * WebKit2.xcodeproj/project.pbxproj:
      Add NetscapePluginMac.cpp.
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::NetscapePlugin):
      Initialize drawing and event models.
      
      (WebKit::NetscapePlugin::initialize):
      Call platformPostInitialize.
      
      (WebKit::NetscapePlugin::destroy):
      Call NPP_Destroy.
      
      (WebKit::NetscapePlugin::paint):
      Call platformPaint.
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.h:
      Add member functions.
      
      * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.cpp: Added.
      (WebKit::NetscapePlugin::platformPostInitialize):
      Set default event and drawing models and verify that they are compatible.
      
      (WebKit::NetscapePlugin::platformPaint):
      Send a paint event (assuming the Cocoa event model currently).
      
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::paint):
      Change the paint rect to be in window coordinates.
      
      (WebKit::PluginView::viewGeometryDidChange):
      (WebKit::PluginView::clipRectInWindowCoordinates):
      * WebProcess/Plugins/PluginView.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6b969fd
    • aestes@apple.com's avatar
      2010-07-09 Andy Estes <aestes@apple.com> · 2f9a8b55
      aestes@apple.com authored
              Reviewed by Adele Peterson.
      
              Remove the workaround for a Core Animation bug on platforms where the
              bug has been fixed.
              https://bugs.webkit.org/show_bug.cgi?id=41927
              <rdar://problem/7920153>
      
              * platform/graphics/mac/GraphicsLayerCA.mm:
              (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): Add
              a compile-time check for platforms that have a Core Animation bug that
              needs working around.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f9a8b55
    • thakis@chromium.org's avatar
      2010-07-09 Nico Weber <thakis@chromium.org> · 8c474857
      thakis@chromium.org authored
              Unreviewed. Adding myself as committer.
      
              * Scripts/webkitpy/common/config/committers.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c474857