1. 14 Dec, 2009 1 commit
  2. 13 Dec, 2009 17 commits
    • abarth@webkit.org's avatar
      2009-12-13 Charles Reis <creis@chromium.org> · 06492a20
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              Refactor some security code out of V8 bindings
              https://bugs.webkit.org/show_bug.cgi?id=32326
      
              No new tests. There should be no functionality changes in this patch,
              since it is only refactoring code.
      
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * bindings/BindingSecurity.h: Added.
              (WebCore::BindingSecurity::BindingSecurity):
              (WebCore::::canAccessWindow):
              (WebCore::::canAccessFrame):
              (WebCore::::checkNodeSecurity):
              * bindings/BindingSecurityBase.cpp: Added.
              (WebCore::BindingSecurityBase::getDOMWindow):
              (WebCore::BindingSecurityBase::getFrame):
              (WebCore::BindingSecurityBase::canAccessWindow):
              * bindings/BindingSecurityBase.h: Added.
              * bindings/GenericBinding.h: Added.
              (WebCore::):
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::isSafeScript):
              * bindings/v8/V8Binding.h:
              * bindings/v8/V8BindingState.cpp: Added.
              (WebCore::::Only):
              (WebCore::::getActiveWindow):
              (WebCore::::immediatelyReportUnsafeAccessTo):
              * bindings/v8/V8BindingState.h: Added.
              (WebCore::):
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::reportUnsafeAccessTo):
              (WebCore::reportUnsafeJavaScriptAccess):
              * bindings/v8/V8Proxy.h:
              (WebCore::V8Proxy::):
              * bindings/v8/custom/V8CustomBinding.cpp:
              (WebCore::allowSettingFrameSrcToJavascriptUrl):
              (WebCore::INDEXED_ACCESS_CHECK):
              (WebCore::NAMED_ACCESS_CHECK):
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::V8Custom::WindowSetTimeoutImpl):
              (WebCore::ACCESSOR_GETTER):
              (WebCore::ACCESSOR_SETTER):
              (WebCore::CALLBACK_FUNC_DECL):
              (WebCore::V8Custom::ClearTimeoutImpl):
              (WebCore::NAMED_ACCESS_CHECK):
              (WebCore::INDEXED_ACCESS_CHECK):
              * bindings/v8/custom/V8LocationCustom.cpp:
              (WebCore::ACCESSOR_GETTER):
              (WebCore::CALLBACK_FUNC_DECL):
              (WebCore::INDEXED_ACCESS_CHECK):
              (WebCore::NAMED_ACCESS_CHECK):
      2009-12-13  Charles Reis  <creis@chromium.org>
      
              Reviewed by Adam Barth.
      
              Refactor some security code out of V8 bindings
              https://bugs.webkit.org/show_bug.cgi?id=32326
      
              * src/WebBindings.cpp:
              (WebKit::getDragDataImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06492a20
    • zecke@webkit.org's avatar
      [Qt] Implement initializeMaximumHTTPConnectionCountPerHost. · cae7c9c0
      zecke@webkit.org authored
      Qt allows to have three connections per host on Symbian, for
      every other platform the limit is set to six connections per
      host but the default implementation will only schedule four
      connections per host.
      In a manual test we seem to get the best loading speed by
      going with Qt's limit and schedule two more jobs to allow Qt
      to prepare them.
      
      * platform/network/ResourceRequestBase.cpp:
      * platform/network/qt/ResourceRequestQt.cpp:
      (WebCore::initializeMaximumHTTPConnectionCountPerHost):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cae7c9c0
    • mjs@apple.com's avatar
      2009-12-13 Eric Seidel <eric@webkit.org> · f5784e56
      mjs@apple.com authored
              Reviewed by Gavin Barraclough.
      
              string-base64 test does not compute a valid base64 string
              http://bugs.webkit.org/show_bug.cgi?id=16806
      
              * tests/string-base64.js: change str[i] to str.charCodeAt(i)
      2009-12-13  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Gavin Barraclough.
      
              SunSpider/tests/string-base64.js does not compute a valid base64 encoded string
              https://bugs.webkit.org/show_bug.cgi?id=16806
      
              Based on a patch by Eric Seidel.
              
              Fix the base64 computation to actually compute correct results. The impact on runtime of
              the test is pretty small, but noticeable for some browsers. But at least it's not
              doing a wrong and meaningless computation any more.
              
              * tests/sunspider-0.9.1/string-base64.js:
              ():
              (base64ToString):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5784e56
    • mjs@apple.com's avatar
      Fix minor problem in sunspider-compare-results which left it broken. · 95f38b6f
      mjs@apple.com authored
      Reviewed by Gavin Barraclaugh.
      
      * Scripts/sunspider-compare-results: Declare $parseonly
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95f38b6f
    • barraclough@apple.com's avatar
      * runtime/JSGlobalObjectFunctions.cpp: · 10d5a6c3
      barraclough@apple.com authored
      Reviewed by NOBODY (speculative Windows build fix).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10d5a6c3
    • barraclough@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=32496 · 1f0cbd2d
      barraclough@apple.com authored
      Switch remaining cases of string construction to use StringBuilder.
      Builds strings using a vector rather than using string append / addition.
      
      Reviewed by Sam Weinig.
      
      * JavaScriptCore.exp:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * runtime/Executable.cpp:
      (JSC::FunctionExecutable::paramString):
      * runtime/FunctionConstructor.cpp:
      (JSC::constructFunction):
      * runtime/JSGlobalObjectFunctions.cpp:
      (JSC::encode):
      (JSC::decode):
      (JSC::globalFuncEscape):
      (JSC::globalFuncUnescape):
      * runtime/JSONObject.cpp:
      (JSC::Stringifier::stringify):
      (JSC::Stringifier::indent):
      * runtime/JSString.h:
      * runtime/LiteralParser.cpp:
      (JSC::LiteralParser::Lexer::lexString):
      * runtime/NumberPrototype.cpp:
      (JSC::integerPartNoExp):
      (JSC::numberProtoFuncToFixed):
      (JSC::numberProtoFuncToPrecision):
      * runtime/Operations.h:
      (JSC::jsString):
      * runtime/StringPrototype.cpp:
      (JSC::substituteBackreferencesSlow):
      (JSC::substituteBackreferences):
      (JSC::stringProtoFuncConcat):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f0cbd2d
    • mitz@apple.com's avatar
      Add a style guideline concerning floating point literals · 2958647a
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=32497
      
      Reviewed by Sam Weinig.
      
      * coding/coding-style.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2958647a
    • mitz@apple.com's avatar
      <rdar://problem/7341364> Crash at HTMLParser::popOneBlockCommon() after · 52ff52c2
      mitz@apple.com authored
      handling misnested residual style tags
      
      Reviewed by Simon Fraser.
      
      WebCore: 
      
      Test: fast/parser/residual-style-close-ref-clone.html
      
      * html/HTMLParser.cpp:
      (WebCore::HTMLParser::handleResidualStyleCloseTagAcrossBlocks): Gave the
      block stack a strong reference to the cloned residual style element. 
      
      LayoutTests: 
      
      * fast/parser/residual-style-close-ref-clone-expected.txt: Added.
      * fast/parser/residual-style-close-ref-clone.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52ff52c2
    • mjs@apple.com's avatar
      Fixing commit error... · b75f9bee
      mjs@apple.com authored
              
      I accidentally committed my last patch in a form that broke Web-hosted SunSpider. Fixing.
      
      * resources/driver-TEMPLATE.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b75f9bee
    • adele@apple.com's avatar
      Reverting changes from http://trac.webkit.org/changeset/49585 to fix: · 1853aa97
      adele@apple.com authored
      <rdar://problem/7382815> REGRESSION (4.0.4-TOT): Home photo slider is too narrow at http://www.ziprealty.com/
      https://bugs.webkit.org/show_bug.cgi?id=32078
      
      Reviewed by Sam Weinig.
      
      WebCore: 
      
      * css/CSSPrimitiveValue.cpp: (WebCore::CSSPrimitiveValue::cssText):
      
      LayoutTests: 
      
      * fast/css/large-number-round-trip-expected.txt:
      * fast/css/large-number-round-trip.html: Updated to run in Firefox.
      * fast/css/opacity-float-expected.txt:
      * fast/css/opacity-float.html:
      * transforms/2d/compound-2d-transforms-expected.txt:
      * transforms/2d/compound-2d-transforms.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1853aa97
    • kov@webkit.org's avatar
      Reviewed by Xan Lopez. · 3772026e
      kov@webkit.org authored
              Also give the right click event to the frame's event handler, if
              there WebCore decides to not generate the default context
              menu. This fixes some pages that handle right-button clicks for
              things other than context menu creation.
      
              * webkit/webkitwebview.cpp:
              (webkit_web_view_forward_context_menu_event):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3772026e
    • eric@webkit.org's avatar
      2009-12-13 Benjamin Poulain <benjamin.poulain@nokia.com> · 77cc544c
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Add a test in Qt for https://bugs.webkit.org/show_bug.cgi?id=29005
              https://bugs.webkit.org/show_bug.cgi?id=29008
      
              * tests/qwebframe/tst_qwebframe.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77cc544c
    • mjs@apple.com's avatar
      2009-12-13 Maciej Stachowiak <mjs@apple.com> · 67517e20
      mjs@apple.com authored
              Reviewed by Sam Weinig.
      
              Use JSON.parse instead of eval for Web-hosted SunSpider results processing
              https://bugs.webkit.org/show_bug.cgi?id=32490
      
              * hosted/json2.js: Added. Incorporated from json.org
              * resources/driver-TEMPLATE.html: Fix an HTML validation bug I noticed.
              * resources/results-TEMPLATE.html: Use JSON.parse instead of eval to process
              results.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67517e20
    • jeremy@chromium.org's avatar
      Reviewed by Eric Seidel. · e22fe490
      jeremy@chromium.org authored
      Add code to allow toggling ATSUI/Core Text rendering at runtime in ComplexTextController.
      https://bugs.webkit.org/show_bug.cgi?id=31802
      
      The goal here is to allow for a zero runtime hit for ports that decide to select
      the API at compile time.
      When both USE(ATSUI) and USE(CORE_TEXT) are true, the API is toggled
      at runtime.  Core Text is used for OS Versions >= 10.6.
      
      No test since this is already covered by existing pixel tests.
      
      * platform/graphics/SimpleFontData.h:  Change #ifdef to define getNSFont() on Chrome/Mac .
      * platform/graphics/mac/ComplexTextController.cpp:
      (WebCore::shouldUseATSUIAPI): Cache decision about which API to use.
      (WebCore::ComplexTextController::ComplexTextRun::indexAt):
      (WebCore::ComplexTextController::collectComplexTextRunsForCharacters): Stub function to call through
      to ATSUI/Core text variants.
      (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): The actual work for object construction
      is delegate to createTextRunFromFontDataATSUI/createTextRunFromFontDataCoreText.
      * platform/graphics/mac/ComplexTextController.h:
      * platform/graphics/mac/ComplexTextControllerATSUI.cpp:
      (WebCore::ComplexTextController::ComplexTextRun::overrideLayoutOperation): Small style fix.
      (WebCore::ComplexTextController::ComplexTextRun::createTextRunFromFontDataATSUI):
      (WebCore::ComplexTextController::collectComplexTextRunsForCharactersATSUI):
      * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
      (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun):
      (WebCore::ComplexTextController::ComplexTextRun::createTextRunFromFontDataCoreText):
      (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e22fe490
    • christian@webkit.org's avatar
      2009-12-13 Christian Dywan <christian@twotoasts.de> · 2d3047fa
      christian@webkit.org authored
              Reviewed by Holger Freyther.
      
              http://bugs.webkit.org/show_bug.cgi?id=31014
              [Gtk] Build fails with gtk+-2.10 (no tested with older releases)
      
              Guard GTK+ 2.12 specific tooltip code with #ifdef.
      
              * WebCoreSupport/ChromeClientGtk.cpp:
              (WebKit::ChromeClient::mouseDidMoveOverElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d3047fa
    • eric@webkit.org's avatar
      2009-12-13 Simon Hausmann <hausmann@webkit.org> · 60e04102
      eric@webkit.org authored
              Reviewed by Holger Freyther.
      
              [Qt] Re-enable QWebView::renderHints property for Qt for Symbian
      
              https://bugs.webkit.org/show_bug.cgi?id=28273
      
              The bug in Qt's moc that triggered a linking error when declaring this
              property has been fixed and we can remove the workaround.
      
              * Api/qwebview.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60e04102
    • eric.carlson@apple.com's avatar
      2009-12-13 Eric Carlson <eric.carlson@apple.com> · 2790298a
      eric.carlson@apple.com authored
              No review, rolling out r52059 until I can generate new Tiger
              test results.
      
              * rendering/RenderThemeMac.mm:
              (WebCore::mediaControllerTheme):
      
      2009-12-13  Eric Carlson  <eric.carlson@apple.com>
      
              No review, rolling out r52059 until I can generate new Tiger test
              results.
      
              * platform/mac-leopard/Skipped:
              * platform/mac-leopard/media/controls-after-reload-expected.txt:
              * platform/mac-leopard/media/controls-drag-timebar-expected.txt:
              * platform/mac-leopard/media/controls-strict-expected.txt:
              * platform/mac-leopard/media/controls-styling-expected.txt:
              * platform/mac-leopard/media/video-controls-rendering-expected.checksum:
              * platform/mac-leopard/media/video-controls-rendering-expected.txt:
              * platform/mac-leopard/media/video-display-toggle-expected.checksum:
              * platform/mac-leopard/media/video-display-toggle-expected.txt:
              * platform/mac-leopard/media/video-no-audio-expected.txt:
              * platform/mac-leopard/media/video-zoom-controls-expected.checksum:
              * platform/mac-leopard/media/video-zoom-controls-expected.txt:
              * platform/mac/media/audio-controls-rendering-expected.checksum:
              * platform/mac/media/video-zoom-expected.checksum:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2790298a
  3. 12 Dec, 2009 17 commits
    • weinig@apple.com's avatar
      Rubber-stamped by Dan Bernstein. · 58518949
      weinig@apple.com authored
      Fix the EXPERIMENTAL_SINGLE_VIEW_MODE build.
      
      * Configurations/WebCore.xcconfig:
      * page/EventHandler.cpp:
      (WebCore::EventHandler::EventHandler):
      (WebCore::EventHandler::clearDragState):
      * page/mac/DragControllerMac.mm:
      (WebCore::DragController::isCopyKeyDown):
      * page/mac/EventHandlerMac.mm:
      (WebCore::EventHandler::eventActivatedView):
      * platform/PlatformKeyboardEvent.h:
      * platform/PlatformMouseEvent.h:
      * platform/PlatformWheelEvent.h:
      (WebCore::PlatformWheelEvent::PlatformWheelEvent):
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::wheelEvent):
      * platform/mac/KeyEventMac.mm:
      (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
      * platform/mac/PlatformMouseEventMac.mm:
      (WebCore::PlatformMouseEvent::PlatformMouseEvent):
      * platform/mac/PopupMenuMac.mm:
      (WebCore::PopupMenu::show):
      * platform/mac/WidgetMac.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58518949
    • mjs@apple.com's avatar
      2009-12-12 Maciej Stachowiak <mjs@apple.com> · 58eaf24f
      mjs@apple.com authored
              Reviewed by Oliver Hunt.
      
              Enable Web-hosted version of SunSpider to handle multiple versions
              https://bugs.webkit.org/show_bug.cgi?id=32478
      
              * make-hosted: Now generate the hosted version to be able to run both the
              0.9 and the 0.9.1 test suites.
              * hosted: Modified property svn:ignore.
              * hosted/sunspider-driver.html: Removed.
              * hosted/sunspider-results.html: Removed.
              * hosted/sunspider.html:
              * hosted/versions.html: Added.
              * resources/TEMPLATE.html:
              * resources/driver-TEMPLATE.html: Copied from hosted/sunspider-driver.html.
              * resources/driver-TEMPLATE.html: Copied from hosted/sunspider-results.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58eaf24f
    • weinig@apple.com's avatar
      Rubber-stamped by Dan Bernstein. · d2d3ff31
      weinig@apple.com authored
      Fix the !ENABLE(VIDEO) build.
      
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::requiresCompositingForVideo):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2d3ff31
    • weinig@apple.com's avatar
      Rubber-stamped by Dan Bernstein. · 049623b2
      weinig@apple.com authored
      Fix the !ENABLE(DATABASE) build.
      
      * storage/SQLTransactionClient.cpp:
      * storage/SQLTransactionClient.h:
      * storage/SQLTransactionCoordinator.cpp:
      * storage/SQLTransactionCoordinator.h:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::stopLoading):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52060 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      049623b2
    • eric.carlson@apple.com's avatar
      2009-12-12 Eric Carlson <eric.carlson@apple.com> · 1b924ac6
      eric.carlson@apple.com authored
              Reviewed by Dan Bernstein.
      
              <rdar://problem/6293979> Adopt shared control drawing for <video> controls on Leopard and Windows
      
              Use MediaControllerThemeQuickTime on Leopard.
      
              * rendering/RenderThemeMac.mm:
              (WebCore::mediaControllerTheme):
      
      2009-12-12  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Dan Bernstein.
      
              <rdar://problem/6293979> Adopt shared control drawing for <video> controls on Leopard and Windows
      
              Regenerate layout and pixel test results for the new UI.
      
              * platform/mac-leopard/Skipped:
              * platform/mac-leopard/media/controls-after-reload-expected.txt:
              * platform/mac-leopard/media/controls-drag-timebar-expected.txt:
              * platform/mac-leopard/media/controls-strict-expected.txt:
              * platform/mac-leopard/media/controls-styling-expected.txt:
              * platform/mac-leopard/media/video-controls-rendering-expected.checksum:
              * platform/mac-leopard/media/video-controls-rendering-expected.png:
              * platform/mac-leopard/media/video-controls-rendering-expected.txt:
              * platform/mac-leopard/media/video-display-toggle-expected.checksum:
              * platform/mac-leopard/media/video-display-toggle-expected.png:
              * platform/mac-leopard/media/video-display-toggle-expected.txt:
              * platform/mac-leopard/media/video-no-audio-expected.txt:
              * platform/mac-leopard/media/video-zoom-controls-expected.checksum:
              * platform/mac-leopard/media/video-zoom-controls-expected.png:
              * platform/mac-leopard/media/video-zoom-controls-expected.txt:
              * platform/mac/media/audio-controls-rendering-expected.checksum:
              * platform/mac/media/audio-controls-rendering-expected.png:
              * platform/mac/media/video-zoom-expected.checksum:
              * platform/mac/media/video-zoom-expected.png:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b924ac6
    • eric@webkit.org's avatar
      2009-12-12 Kenneth Russell <kbr@google.com> · c2f54173
      eric@webkit.org authored
              Reviewed by Oliver Hunt.
      
              Errors in WebGL[T]Array set() and get() methods
              https://bugs.webkit.org/show_bug.cgi?id=32456
      
              Test: fast/canvas/webgl/bug-32456.html
      
              * fast/canvas/webgl/array-unit-tests.html:
              * fast/canvas/webgl/bug-32456-expected.txt: Added.
              * fast/canvas/webgl/bug-32456.html: Added.
      2009-12-12  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Oliver Hunt.
      
              Errors in WebGL[T]Array set() and get() methods
              https://bugs.webkit.org/show_bug.cgi?id=32456
      
              Test: fast/canvas/webgl/bug-32456.html
      
              * bindings/js/JSWebGLFloatArrayCustom.cpp:
              (WebCore::JSWebGLFloatArray::set):
              * bindings/js/JSWebGLIntArrayCustom.cpp:
              (WebCore::JSWebGLIntArray::set):
              * bindings/js/JSWebGLShortArrayCustom.cpp:
              (WebCore::JSWebGLShortArray::set):
              * bindings/js/JSWebGLUnsignedByteArrayCustom.cpp:
              (WebCore::JSWebGLUnsignedByteArray::set):
              * bindings/js/JSWebGLUnsignedIntArrayCustom.cpp:
              (WebCore::JSWebGLUnsignedIntArray::set):
              * bindings/js/JSWebGLUnsignedShortArrayCustom.cpp:
              (WebCore::JSWebGLUnsignedShortArray::set):
              * bindings/v8/custom/V8WebGLArrayCustom.h:
              (WebCore::setWebGLArray):
              * html/canvas/WebGLFloatArray.idl:
              * html/canvas/WebGLUnsignedIntArray.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2f54173
    • mjs@apple.com's avatar
      2009-12-12 Maciej Stachowiak <mjs@apple.com> · ee98374f
      mjs@apple.com authored
              Reviewed by Oliver Hunt.
      
              Give command-line sunspider the ability to handle multiple suites and versions
              https://bugs.webkit.org/show_bug.cgi?id=32477
      
              * Scripts/run-sunspider: Updated for changes to command-line parameters.
              * Scripts/sunspider-compare-results: ditto
      2009-12-12  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Oliver Hunt.
      
              Give command-line sunspider the ability to handle multiple suites and versions
              https://bugs.webkit.org/show_bug.cgi?id=32477
              
              Each suite/version's set of tests are now in a separate subdirectory of tests/, with a file named LIST
              enumerating the tests. Current suites are:
              
              sunspider-0.9 - riginal SunSpider content 
              sunspider-0.9.1 - SunSpider suite with a few tests fixed (and a few more to come)
              ubench - "ubench" microbenchmark suite
              v8-v4 - version 4 of the v8 benchmark
              parse-only - some parser tests
              
              Sunspider can now be run with the --suite= parameter to select a
              suite. The default is --suite=sunspider-0.9.
      
              * .: Modified property svn:ignore to ignore new results directories.
              * make-hosted: Generate based on sunspider-0.9 suite.
              * resources/TEMPLATE.html: Fix an HTML compliance problem.
              * resources/sunspider-standalone-driver.js: Become aware of suite names.
              * sunspider: Modified to handle multiple suites as described above.
              * sunspider-compare-results: ditto
              * tests/LIST: Moved to tests/sunspider-0.9/ and tests/sunspider-0.9.1/
              * tests/LIST-PARSE-ONLY: Moved to parse-only/LIST
              * tests/LIST-UBENCH: Removed.
              * tests/LIST-V8: Removed.
              * tests/3d-cube.js: Moved to tests/sunspider-0.9 and tests/sunspider-0.9.1
              * tests/3d-morph.js: ditto
              * tests/3d-raytrace.js: ditto
              * tests/access-binary-trees.js: ditto
              * tests/access-fannkuch.js: ditto
              * tests/access-nbody.js: ditto
              * tests/access-nsieve.js: ditto
              * tests/bitops-3bit-bits-in-byte.js: ditto
              * tests/bitops-bits-in-byte.js: ditto
              * tests/bitops-bitwise-and.js: ditto
              * tests/bitops-nsieve-bits.js: ditto
              * tests/controlflow-recursive.js: ditto
              * tests/crypto-aes.js: ditto
              * tests/crypto-md5.js: ditto
              * tests/crypto-sha1.js: ditto
              * tests/date-format-tofte.js: ditto
              * tests/date-format-xparb.js: ditto
              * tests/math-cordic.js: ditto
              * tests/math-partial-sums.js: ditto
              * tests/math-spectral-norm.js: ditto
              * tests/regexp-dna.js: ditto
              * tests/string-base64.js: ditto
              * tests/string-fasta.js: ditto
              * tests/string-tagcloud.js: ditto
              * tests/string-unpack-code.js: ditto
              * tests/string-validate-input.js: ditto
              * tests/sunspider-0.9/: Added
              * tests/sunspider-0.9/*.js: Moved from one level up
              * tests/sunspider-0.9.1: Added.
              * tests/sunspider-0.9.1/*.js: Moved from one level up.
              * tests/v8-crypto.js: Moved to v8-v4/ directory.
              * tests/v8-deltablue.js: ditto
              * tests/v8-earley-boyer.js: ditto
              * tests/v8-raytrace.js: ditto
              * tests/v8-regexp.js: ditto
              * tests/v8-richards.js: ditto
              * tests/v8-splay.js: ditto
              * tests/v8-v4: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee98374f
    • eric@webkit.org's avatar
      2009-12-12 Kenneth Russell <kbr@google.com> · 0c453022
      eric@webkit.org authored
              Reviewed by Oliver Hunt.
      
              Update WebGL tests to released versions
              https://bugs.webkit.org/show_bug.cgi?id=32457
      
              * fast/canvas/webgl/resources/utils3d.js:
              (initWebGL.gl.console.window.console.log):
              (initWebGL):
              (loadShader):
              (makeBox):
              (makeSphere):
              (processLoadObj):
              (doLoadObj):
              (doLoadImageTexture):
      2009-12-12  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Oliver Hunt.
      
              Update WebGL tests to released versions
              https://bugs.webkit.org/show_bug.cgi?id=32457
      
              * manual-tests/webgl/Earth.html:
              * manual-tests/webgl/ManyPlanetsDeep.html:
              * manual-tests/webgl/SpinningBox.html:
              * manual-tests/webgl/TeapotPerPixel.html:
              * manual-tests/webgl/TeapotPerVertex.html:
              * manual-tests/webgl/resources/CanvasMatrix.js:
              (CanvasMatrix4.prototype.getAsWebGLFloatArray):
              * manual-tests/webgl/resources/utils3d.js:
              (initWebGL.gl.console.window.console.log):
              (initWebGL):
              (loadShader):
              (makeBox):
              (makeSphere):
              (processLoadObj):
              (doLoadObj):
              (doLoadImageTexture):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c453022
    • eric.carlson@apple.com's avatar
      2009-12-12 Eric Carlson <eric.carlson@apple.com> · ef43ae4a
      eric.carlson@apple.com authored
              Reviewed by Darin Adler.
      
             <rdar://problem/7453726> Pull shared UI code into WebKit
      
              * WebKitSystemInterface.h:
              * libWebKitSystemInterfaceLeopard.a:
              * libWebKitSystemInterfaceSnowLeopard.a:
              * libWebKitSystemInterfaceTiger.a:
      
      2009-12-12  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Darin Adler.
      
             <rdar://problem/7453726> Pull shared UI code into WebKit
      
             Update media tests for small change in timeline slider thumb position
      
              * platform/mac/media/audio-controls-rendering-expected.txt:
              * platform/mac/media/controls-after-reload-expected.txt:
              * platform/mac/media/controls-styling-expected.txt:
              * platform/mac/media/video-no-audio-expected.txt:
              * platform/mac/media/video-zoom-controls-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef43ae4a
    • christian@webkit.org's avatar
      2009-12-12 Christian Dywan <christian@twotoasts.de> · 0408b947
      christian@webkit.org authored
              Reviewed by Dirk Schulze.
      
              Remove the include to SVGFEDisplacementMap.h, it's not needed at all.
      
              * platform/graphics/filters/FEComponentTransfer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0408b947
    • mjs@apple.com's avatar
      Not reviewed, fixing previous comment. · ddbd5c7a
      mjs@apple.com authored
      Remove accidental change to sunspider-compare-results
      
      * Scripts/sunspider-compare-results:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ddbd5c7a
    • christian@webkit.org's avatar
      2009-12-12 Christian Dywan <christian@twotoasts.de> · df51e584
      christian@webkit.org authored
              Rubber-stamped by Maciej Stachowiak.
      
              Only include SVGFEDisplacementMap.h if SVG is enabled.
      
              * platform/graphics/filters/FEComponentTransfer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df51e584
    • mjs@apple.com's avatar
      2009-12-11 Maciej Stachowiak <mjs@apple.com> · be317ee3
      mjs@apple.com authored
              Reviewed by Oliver Hunt.
      
              Unify codegen for forward and backward variants of branches
              https://bugs.webkit.org/show_bug.cgi?id=32463
      
              * jit/JIT.h:
              (JSC::JIT::emit_op_loop): Implemented in terms of forward variant.
              (JSC::JIT::emit_op_loop_if_true): ditto
              (JSC::JIT::emitSlow_op_loop_if_true): ditto
              (JSC::JIT::emit_op_loop_if_false): ditto
              (JSC::JIT::emitSlow_op_loop_if_false): ditto
              (JSC::JIT::emit_op_loop_if_less): ditto
              (JSC::JIT::emitSlow_op_loop_if_less): ditto
              * jit/JITOpcodes.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be317ee3
    • christian@webkit.org's avatar
      2009-12-11 Christian Dywan <christian@twotoasts.de> · 5b0fe9f1
      christian@webkit.org authored
              Reviewed by Eric Seidel.
      
              [GTK] Build with --disable-svg is broken
              http://bugs.webkit.org/show_bug.cgi?id=32361
      
              * webkit/webkitwebframe.cpp:
              (webkit_web_frame_pause_svg_animation): Fix ENABLE(SVG) guards.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b0fe9f1
    • eric@webkit.org's avatar
      2009-12-12 Dirk Schulze <krit@webkit.org> · 384b419d
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Cairo][Qt] Alpha blending in SVG filters is wrong
              https://bugs.webkit.org/show_bug.cgi?id=32427
      
              This patch is a follow-up to:
              http://trac.webkit.org/changeset/51950
              It fixes the alpha blending for Cairo and Qt on SVG Filters.
      
              Covered by: * LayoutTests/svg/filters/feGaussianBlur.svg
                          * LayoutTests/svg/filters/feComposite.svg
                           and others.
      
              * platform/graphics/cairo/ImageBufferCairo.cpp:
              (WebCore::ImageBuffer::platformTransformColorSpace):
              * platform/graphics/qt/ImageBufferQt.cpp:
              (WebCore::ImageBuffer::platformTransformColorSpace):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      384b419d
    • ossy@webkit.org's avatar
      [Qt] Missing forward entries when dumping back/forward list · 6930d9ba
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=32470
      
      Failing tests added to skiplist until bug fixed.
      
      * platform/qt/Skipped: 
      - http/tests/navigation/dynamic-iframe-dynamic-form-back-entry.html added
      - http/tests/navigation/parsed-iframe-dynamic-form-back-entry.html added
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6930d9ba
    • ggaren@apple.com's avatar
      Rolled out my last patch because the bots were crashing · 64c96303
      ggaren@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64c96303
  4. 11 Dec, 2009 5 commits