1. 27 Jan, 2010 40 commits
    • eric@webkit.org's avatar
      2010-01-27 Anton Muhin <antonm@google.com> · 66241d82
      eric@webkit.org authored
              Review by Adam Barth.
      
              Implement Node map in intrusive way for better speed.
              https://bugs.webkit.org/show_bug.cgi?id=33957
      
              * bindings/v8/DOMData.h:
              (WebCore::DOMData::removeObjectsFromWrapperMap):
              * bindings/v8/DOMDataStore.cpp:
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::get):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::set):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::removeIfPresent):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::contains):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::visit):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::clear):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::allocateTableEntry):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::freeTableEntry):
              * bindings/v8/DOMDataStore.h:
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::IntrusiveDOMWrapperMap):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::clearEntry):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::clearEntries):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::visitEntries):
              (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::TableChunk::TableChunk):
              (WebCore::DOMDataStore::domNodeMap):
              * bindings/v8/StaticDOMDataStore.cpp:
              (WebCore::StaticDOMDataStore::StaticDOMDataStore):
              * bindings/v8/StaticDOMDataStore.h:
              * bindings/v8/V8DOMMap.cpp:
              (WebCore::getDOMNodeMap):
              * bindings/v8/V8DOMMap.h:
              (WebCore::AbstractWeakReferenceMap::AbstractWeakReferenceMap):
              (WebCore::AbstractWeakReferenceMap::weakReferenceCallback):
              (WebCore::WeakReferenceMap::WeakReferenceMap):
              (WebCore::WeakReferenceMap::set):
              (WebCore::WeakReferenceMap::visit):
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::V8DOMWrapper::convertDocumentToV8Object):
              (WebCore::getWrapper):
              (WebCore::V8DOMWrapper::convertNodeToV8Object):
              (WebCore::V8DOMWrapper::convertNewNodeToV8Object):
              * bindings/v8/V8DOMWrapper.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      66241d82
    • darin@chromium.org's avatar
      2010-01-26 Darin Fisher <darin@chromium.org> · f7624d00
      darin@chromium.org authored
              Reviewed by David Levin.
      
              Add methods to support running a nested modal loop outside of WebKit.
              https://bugs.webkit.org/show_bug.cgi?id=34199
      
              * public/WebView.h:
              * src/WebViewImpl.cpp:
              (WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer
              (WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f7624d00
    • eric@webkit.org's avatar
      2010-01-27 Kinuko Yasuda <kinuko@chromium.org> · de2e04b8
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Remove fast/events/keydown-numpad-keys.html from gtk's Skipped list.
              https://bugs.webkit.org/show_bug.cgi?id=28247
      
              * platform/gtk/Skipped:
      2010-01-27  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Add key event mappings for numpad keys for Gtk and Chromium/Gtk.
              http://bugs.webkit.org/show_bug.cgi?id=28247
      
              Test: fast/events/keydown-numpad-keys.html
      
              * platform/chromium/KeyCodeConversionGtk.cpp:
              (WebCore::windowsKeyCodeForKeyEvent):
              * platform/gtk/KeyEventGtk.cpp:
              (WebCore::windowsKeyCodeForKeyEvent):
      2010-01-27  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Correctly handle the KeyLocation argument that has been introduced
              recently to test location-dependent key events in EventSender.keyDown.
              http://bugs.webkit.org/show_bug.cgi?id=28247
      
              Test: fast/events/keydown-numpad-keys.html
      
              * DumpRenderTree/gtk/EventSender.cpp:
              (keyDownCallback):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      de2e04b8
    • pfeldman@chromium.org's avatar
      2010-01-27 Pavel Feldman <pfeldman@chromium.org> · 500d650a
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: migrate from SourceFrame to SourceFrame2.
      
              https://bugs.webkit.org/show_bug.cgi?id=34171
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/JSInspectorFrontendHostCustom.cpp:
              * bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
              * inspector/InspectorFrontendHost.cpp:
              * inspector/InspectorFrontendHost.h:
              * inspector/InspectorFrontendHost.idl:
              * inspector/front-end/InspectorBackendStub.js:
              * inspector/front-end/InspectorFrontendHostStub.js:
              * inspector/front-end/ResourceView.js:
              (WebInspector.ResourceView.prototype._innerSelectContentTab):
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.getResourceContent):
              * inspector/front-end/ScriptView.js:
              (WebInspector.ScriptView):
              (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._sidebarResizeDrag):
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame):
              (WebInspector.SourceFrame.prototype.set executionLine):
              (WebInspector.SourceFrame.prototype.revealLine):
              (WebInspector.SourceFrame.prototype.addBreakpoint):
              (WebInspector.SourceFrame.prototype.removeBreakpoint):
              (WebInspector.SourceFrame.prototype.addMessage):
              (WebInspector.SourceFrame.prototype.clearMessages):
              (WebInspector.SourceFrame.prototype.sizeToFitContentHeight):
              (WebInspector.SourceFrame.prototype.setContent):
              (WebInspector.SourceFrame.prototype.findSearchMatches):
              (WebInspector.SourceFrame.prototype._collectRegexMatches):
              (WebInspector.SourceFrame.prototype.setSelection):
              (WebInspector.SourceFrame.prototype._incrementMessageRepeatCount):
              (WebInspector.SourceFrame.prototype._addExistingMessagesToSource):
              (WebInspector.SourceFrame.prototype._addMessageToSource):
              (WebInspector.SourceFrame.prototype._addExistingBreakpointsToSource):
              (WebInspector.SourceFrame.prototype._addBreakpointToSource):
              (WebInspector.SourceFrame.prototype._removeBreakpointFromSource):
              (WebInspector.SourceFrame.prototype._contextMenu.addConditionalBreakpoint):
              (WebInspector.SourceFrame.prototype._contextMenu):
              (WebInspector.SourceFrame.prototype._toggleBreakpoint):
              (WebInspector.SourceFrame.prototype._editBreakpointCondition.committed):
              (WebInspector.SourceFrame.prototype._editBreakpointCondition.dismissed):
              (WebInspector.SourceFrame.prototype._editBreakpointCondition):
              (WebInspector.SourceFrame.prototype._showBreakpointConditionPopup):
              (WebInspector.SourceFrame.prototype._createConditionElement):
              (WebInspector.SourceFrame.prototype._keyDown):
              (WebInspector.SourceFrame.prototype._evalSelectionInCallFrame):
              (WebInspector.SourceFrame.prototype._breakpointChanged):
              (WebInspector.SourceFrame.prototype.resize):
              (WebInspector.BreakpointLineNumberDecorator):
              (WebInspector.BreakpointLineNumberDecorator.prototype.decorate):
              (WebInspector.BreakpointLineNumberDecorator.prototype._paintBreakpoint):
              (WebInspector.BreakpointLineNumberDecorator.prototype._paintProgramCounter):
              (WebInspector.BreakpointLineNumberDecorator.prototype.mouseDown):
              (WebInspector.BreakpointLineNumberDecorator.prototype.contextMenu):
              (WebInspector.ExecutionLineDecorator):
              (WebInspector.ExecutionLineDecorator.prototype.decorate):
              * inspector/front-end/SourceFrame2.js: Removed.
              * inspector/front-end/SourceView.js:
              (WebInspector.SourceView):
              (WebInspector.SourceView.prototype.show):
              (WebInspector.SourceView.prototype.resize):
              (WebInspector.SourceView.prototype.setupSourceFrameIfNeeded):
              (WebInspector.SourceView.prototype._contentLoaded):
              (WebInspector.SourceView.prototype.performSearch.findSearchMatches):
              (WebInspector.SourceView.prototype.performSearch):
              (WebInspector.SourceView.prototype._jumpToSearchResult):
              (WebInspector.SourceView.prototype._sourceFrameSetupFinished):
              * inspector/front-end/TextEditor.js:
              (WebInspector.TextEditor.prototype._mouseDown):
              (WebInspector.TextEditor.prototype._copy.delayCopy):
              (WebInspector.TextEditor.prototype._copy):
              (WebInspector.TextEditor.prototype._cut):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      500d650a
    • eric@webkit.org's avatar
      2010-01-27 Dominik Röttsches <dominik.roettsches@access-company.com> · 12c8829f
      eric@webkit.org authored
              Reviewed by Xan Lopez.
      
              [Gtk] For removing ICU, implement IDN support by means of libidn
              https://bugs.webkit.org/show_bug.cgi?id=31470
      
              In order to avoid a new dependency,
              IDN support now based on GLib for the GLib unicode backend.
      
              * platform/KURL.cpp:
              (WebCore::appendEncodedHostname):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      12c8829f
    • darin@chromium.org's avatar
      2010-01-27 Darin Fisher <darin@chromium.org> · a856addb
      darin@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Adding missing WebMutationEvent.cpp file to fix build bustage. 
              https://bugs.webkit.org/show_bug.cgi?id=33882
      
              * public/WebMutationEvent.h: Remove unnecessary constructor.
              * src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h.
              * src/WebMutationEvent.cpp: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a856addb
    • kenneth@webkit.org's avatar
      Rubberstamped by Simon Hausmann. · 41c7d6a2
      kenneth@webkit.org authored
      [Qt] QtLauncher, coding style fixes.
      
      * QtLauncher/main.cpp:
      (MainWindow::MainWindow):
      (MainWindow::sendTouchEvent):
      (MainWindow::eventFilter):
      (MainWindow::loadURL):
      (MainWindow::setupUI):
      (WebPage::createPlugin):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      41c7d6a2
    • kenneth@webkit.org's avatar
      Rubberstamped by Simon Hausmann. · e908ca58
      kenneth@webkit.org authored
      [Qt] QtLauncher refactoring, separating the webview and
      adding a QGraphicsWebView based version.
      
      * QtLauncher/QtLauncher.pro:
      * QtLauncher/main.cpp:
      (MainWindow::MainWindow):
      * QtLauncher/webpage.h:
      * QtLauncher/webview.cpp: Added.
      (createContextMenu):
      (WebViewGraphicsBased::mousePressEvent):
      (WebViewTraditional::mousePressEvent):
      (WebViewGraphicsBased::contextMenuEvent):
      (WebViewTraditional::contextMenuEvent):
      * QtLauncher/webview.h: Added.
      (WebViewGraphicsBased::WebViewGraphicsBased):
      (WebViewTraditional::WebViewTraditional):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e908ca58
    • hausmann@webkit.org's avatar
      [Qt] Update the .def files with exported symbols · e2ce6d1a
      hausmann@webkit.org authored
      Reviewed by Laszlo Gombos.
      
      * symbian/eabi/QtWebKitu.def: Add two mangled missing new symbols for arm eabi.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e2ce6d1a
    • hausmann@webkit.org's avatar
      .: [Qt] Don't build the tests in packages, only the launcher(s) · 031865a8
      hausmann@webkit.org authored
      Reviewed by Kenneth Rohde Christiansen.
      
      * WebKit.pro:
      
      WebCore: [Qt] For package builds use the .def files on Symbian
      
      Reviewed by Kenneth Rohde Christiansen.
      
      * WebCore.pro:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      031865a8
    • eric@webkit.org's avatar
      2010-01-27 Jay Campan <jcampan@google.com> · 9edb01fe
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              Adding EventListeners to the chromium API.
      
              https://bugs.webkit.org/show_bug.cgi?id=33882
      
              * WebKit.gyp:
              * public/WebEvent.h: Added.
              * public/WebEventListener.h: Added.
              * public/WebMutationEvent.h: Added.
              * public/WebNode.h:
              * public/WebString.h:
              (WebKit::operator==):
              (WebKit::operator!=):
              * src/EventListenerWrapper.cpp: Added.
              * src/EventListenerWrapper.h: Added.
              * src/WebEvent.cpp: Added.
              * src/WebEventListener.cpp: Added.
              * src/WebEventListenerPrivate.cpp: Added.
              * src/WebEventListenerPrivate.h: Added.
              * src/WebNode.cpp:
              (WebKit::WebNode::addEventListener):
              (WebKit::WebNode::removeEventListener):
              * src/WebString.cpp:
              (WebKit::WebString::equals):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9edb01fe
    • eric@webkit.org's avatar
      2010-01-27 Alexander Pavlov <apavlov@chromium.org> · c024fcf3
      eric@webkit.org authored
              Reviewed by Timothy Hatcher.
      
              Avoid watch expressions duplication
              https://bugs.webkit.org/show_bug.cgi?id=33996
      
              * inspector/front-end/WatchExpressionsSidebarPane.js:
              (WebInspector.WatchExpressionsSidebarPane.prototype._settingsLoaded):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c024fcf3
    • apavlov@chromium.org's avatar
      2010-01-27 Alexander Pavlov <apavlov@chromium.org> · 6f2fac00
      apavlov@chromium.org authored
              Adding myself as committer. No review necessary.
      
              * Scripts/webkitpy/committers.py:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6f2fac00
    • eric@webkit.org's avatar
      2010-01-27 Marcus Bulach <bulach@chromium.org> · 1cdf0eee
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Adds EventSource bindings for V8
              https://bugs.webkit.org/show_bug.cgi?id=33695
      
              No new tests (existing layout tests for EventSource should pass).
      
              * Android.v8bindings.mk:
              * WebCore.gypi:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/DOMObjectsInclude.h:
              * bindings/v8/DerivedSourcesAllInOne.cpp:
              * bindings/v8/V8DOMWrapper.cpp:
              * bindings/v8/V8DOMWrapper.h:
              * bindings/v8/V8Index.cpp:
              * bindings/v8/V8Index.h:
              * bindings/v8/WorkerContextExecutionProxy.cpp:
              * bindings/v8/custom/V8CustomBinding.h:
              * bindings/v8/custom/V8EventSourceConstructor.cpp: Added.
              * bindings/v8/custom/V8EventSourceCustom.cpp: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1cdf0eee
    • eric@webkit.org's avatar
      2010-01-27 Kent Hansen <kent.hansen@nokia.com> · 387d6bbb
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              [Qt] Meta-methods can't be introspected using ES5 API
              https://bugs.webkit.org/show_bug.cgi?id=34087
      
              Add getOwnPropertyDescriptor() and getOwnPropertyNames() reimplementations.
      
              Tests are in WebKit/qt/tests/qwebframe
      
              * bridge/qt/qt_runtime.cpp:
              (JSC::Bindings::QtRuntimeMetaMethod::getOwnPropertyDescriptor):
              (JSC::Bindings::QtRuntimeMetaMethod::getOwnPropertyNames):
              (JSC::Bindings::QtRuntimeConnectionMethod::getOwnPropertyDescriptor):
              (JSC::Bindings::QtRuntimeConnectionMethod::getOwnPropertyNames):
              * bridge/qt/qt_runtime.h:
      2010-01-27  Kent Hansen  <kent.hansen@nokia.com>
      
              Reviewed by Simon Hausmann.
      
              [Qt] Meta-methods can't be introspected using ES5 API
              https://bugs.webkit.org/show_bug.cgi?id=34087
      
              Test that Object.getOwnPropertyDescriptor and
              Object.getOwnPropertyNames work with meta-methods.
      
              * tests/qwebframe/tst_qwebframe.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      387d6bbb
    • kenneth@webkit.org's avatar
      Rubberstamped by Simon Hausmann · 502c1d4c
      kenneth@webkit.org authored
      [Qt] QtLauncher refactoring, separating utility methods.
      
      * QtLauncher/QtLauncher.pro:
      * QtLauncher/main.cpp:
      * QtLauncher/utils.cpp: Added.
      (urlFromUserInput):
      * QtLauncher/utils.h: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      502c1d4c
    • eric@webkit.org's avatar
      2010-01-27 Kwang Yul Seo <skyul@company100.net> · a2f9a603
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [BREWMP] Port WTF's randomNumber
              https://bugs.webkit.org/show_bug.cgi?id=33566
      
              Use GETRAND to generate 4 byte random byte sequence to implement
              weakRandomNumber. Create a secure random number generator with
              AEECLSID_RANDOM to implement randomNumber.
      
              * wtf/RandomNumber.cpp:
              (WTF::weakRandomNumber):
              (WTF::randomNumber):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a2f9a603
    • eric@webkit.org's avatar
      2010-01-27 Tony Chang <tony@chromium.org> · 85b92e07
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Fix a crash when trying to indent a block element that was contained
              in a list.  This was happening because enclosingBlock() in
              htmlediting.cpp can return the current the same Node when a block
              element (like an <hr> or a <table>) is passed in.  This causes
              the indent command to think that it is not in a list item.
      
              Work around this by checking to see if enclosingBlock returned the
              same Node.
      
              https://bugs.webkit.org/show_bug.cgi?id=32390
      
              * editing/execCommand/indent-block-in-list-expected.txt: Added.
              * editing/execCommand/indent-block-in-list.html: Added.
      2010-01-27  Tony Chang  <tony@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Fix a crash when trying to indent a block element that was contained
              in a list.  This was happening because enclosingBlock() in
              htmlediting.cpp can return the current the same Node when a block
              element (like an <hr> or a <table>) is passed in.  This causes
              the indent command to think that it is not in a list item.
      
              Work around this by checking to see if enclosingBlock returned the
              same Node.
      
              https://bugs.webkit.org/show_bug.cgi?id=32390
      
              Test: editing/execCommand/indent-block-in-list.html
      
              * editing/IndentOutdentCommand.cpp:
              (WebCore::IndentOutdentCommand::tryIndentingAsListItem):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      85b92e07
    • eric@webkit.org's avatar
      2010-01-27 Kwang Yul Seo <skyul@company100.net> · c9a2c253
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [BREWMP] Port getCPUTime
              https://bugs.webkit.org/show_bug.cgi?id=33572
      
              Use GETUPTIMEMS which returns a continuously and
              linearly increasing millisecond timer from the time the device
              was powered on. This function is enough to implement getCPUTime.
      
              * runtime/TimeoutChecker.cpp:
              (JSC::getCPUTime):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c9a2c253
    • eric@webkit.org's avatar
      2010-01-27 Eric Seidel <eric@webkit.org> · 0d5b3383
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              webkit-patch needs an open-bugs command
              https://bugs.webkit.org/show_bug.cgi?id=30793
      
              * Scripts/test-webkitpy: import OpenBugsTest
              * Scripts/webkit-patch: import OpenBugs
              * Scripts/webkitpy/commands/download_unittest.py: don't import unittest
              * Scripts/webkitpy/commands/early_warning_system_unittest.py: ditto
              * Scripts/webkitpy/commands/queries_unittest.py: ditto
              * Scripts/webkitpy/commands/queues_unittest.py: ditto
              * Scripts/webkitpy/commands/upload_unittest.py: ditto
              * Scripts/webkitpy/mock_bugzillatool.py: log when user.open_url is called.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0d5b3383
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Add the "d" suffix to QtWebKit's dll on Windows. · fcf62666
      jocelyn.turcotte@nokia.com authored
      Reviewed by Tor Arne Vestbø.
      
      * WebKit.pri:
      
      WebCore:
      
      * WebCore.pro:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fcf62666
    • ossy@webkit.org's avatar
      [Qt] Qt port doesn't need platform dependent expected file anymore · c171445c
      ossy@webkit.org authored
      for editing/pasteboard/paste-noscript-xhtml.html from r53873.
      
      * platform/qt/editing/pasteboard/paste-noscript-xhtml-expected.txt: Removed.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c171445c
    • eric@webkit.org's avatar
      2010-01-27 Kwang Yul Seo <skyul@company100.net> · 2dd6d91b
      eric@webkit.org authored
              Reviewed by Oliver Hunt.
      
              [BREWMP] Add MarkStack fastMalloc implementation for platforms without VirtualAlloc or mmap.
              https://bugs.webkit.org/show_bug.cgi?id=33582
      
              Use fastMalloc and fastFree to implement MarkStack::allocateStack and
              MarkStack::releaseStack for platforms without page level allocation.
      
              * runtime/MarkStack.h:
              (JSC::MarkStack::MarkStackArray::shrinkAllocation):
              * runtime/MarkStackNone.cpp: Added.
              (JSC::MarkStack::initializePagesize):
              (JSC::MarkStack::allocateStack):
              (JSC::MarkStack::releaseStack):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2dd6d91b
    • eric@webkit.org's avatar
      2010-01-27 Kwang Yul Seo <skyul@company100.net> · 4140d491
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [BREWMP] Don't use time function
              https://bugs.webkit.org/show_bug.cgi?id=33577
      
              Calling time(0) in BREW devices causes a crash because time
              is not properly ported in most devices. Cast currentTime() to
              time_t to get the same result as time(0).
      
              * wtf/DateMath.cpp:
              (WTF::calculateUTCOffset):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53921 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4140d491
    • ossy@webkit.org's avatar
      [Qt] fast/backgrounds/animated-svg-as-background.html make... · 367db919
      ossy@webkit.org authored
      [Qt] fast/backgrounds/animated-svg-as-background.html make fast/backgrounds/svg-as-background-5.html crash.
      https://bugs.webkit.org/show_bug.cgi?id=34202
      
      * platform/qt/Skipped: fast/backgrounds/animated-svg-as-background.html enabled because bug rolled out by r53912.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53920 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      367db919
    • kenneth@webkit.org's avatar
      Rubberstamped by Simon Hausmann · 8d4e5e65
      kenneth@webkit.org authored
      [Qt] Refactor the code in the QtLauncher dealing with HTTP proxy.
      
      * QtLauncher/main.cpp:
      (MainWindow::MainWindow):
      * QtLauncher/webpage.cpp:
      (WebPage::WebPage):
      (WebPage::applyProxy):
      * QtLauncher/webpage.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53919 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8d4e5e65
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Build fix for windows when QTDIR contains release libraries. · c4b9b00d
      jocelyn.turcotte@nokia.com authored
      Unreviewed build fix
      
      * WebKit.pri: Use the <name>.lib syntax for linking instead of qmake's -l<name> emulation
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c4b9b00d
    • eric@webkit.org's avatar
      2010-01-27 Matt Perry <mpcomplete@chromium.org> · 912d0a81
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Fix a bug where dispatchDocumentElementAvailable was fired for fragment parsing on XML documents.
              https://bugs.webkit.org/show_bug.cgi?id=33920
      
              * userscripts/resources: Added.
              * userscripts/resources/blank.xhtml: Added.
              * userscripts/script-not-run-for-fragments-expected.txt: Added.
              * userscripts/script-not-run-for-fragments.html: Added.
              * userscripts/script-run-at-start-expected.txt: Added.
              * userscripts/script-run-at-start.html: Added.
      2010-01-27  Matt Perry  <mpcomplete@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Fix a bug where dispatchDocumentElementAvailable was fired for fragment parsing on XML documents.
              https://bugs.webkit.org/show_bug.cgi?id=33920
      
              Tests: userscripts/script-not-run-for-fragments.html
                     userscripts/script-run-at-start.html
      
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::XMLTokenizer::startElementNs):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53917 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      912d0a81
    • pfeldman@chromium.org's avatar
      2010-01-27 Pavel Feldman <pfeldman@chromium.org> · c0dd2ef7
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Improve SourceHTMLTokenizer so that it treats script tag well.
      
              https://bugs.webkit.org/show_bug.cgi?id=34177
      
              * inspector/front-end/SourceHTMLTokenizer.js:
              (WebInspector.SourceHTMLTokenizer):
              (WebInspector.SourceHTMLTokenizer.prototype._isAttribute):
              (WebInspector.SourceHTMLTokenizer.prototype._isAttributeValue):
              (WebInspector.SourceHTMLTokenizer.prototype._setAttributeValue):
              (WebInspector.SourceHTMLTokenizer.prototype._setAttribute):
              (WebInspector.SourceHTMLTokenizer.prototype._stringToken):
              (WebInspector.SourceHTMLTokenizer.prototype.nextToken):
              * inspector/front-end/SourceHTMLTokenizer.re2js:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53916 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c0dd2ef7
    • pfeldman@chromium.org's avatar
      2010-01-27 Pavel Feldman <pfeldman@chromium.org> · 1f7675d0
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: nuke quarantine wrappers.
      
              https://bugs.webkit.org/show_bug.cgi?id=34203
      
              * Android.jscbindings.mk:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSInspectedObjectWrapper.cpp: Removed.
              * bindings/js/JSInspectedObjectWrapper.h: Removed.
              * bindings/js/JSInspectorCallbackWrapper.cpp: Removed.
              * bindings/js/JSInspectorCallbackWrapper.h: Removed.
              * bindings/js/JSQuarantinedObjectWrapper.cpp: Removed.
              * bindings/js/JSQuarantinedObjectWrapper.h: Removed.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53915 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1f7675d0
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Corrects debug build of DumpRenderTree on Windows. · 7643b344
      jocelyn.turcotte@nokia.com authored
      Reviewed by Tor Arne Vestbø.
      
      * DumpRenderTree/qt/DumpRenderTree.pro:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53914 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7643b344
    • ap@apple.com's avatar
      Fix a typo in ChangeLogs. · 1c1a0b4a
      ap@apple.com authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53913 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1c1a0b4a
    • ap@apple.com's avatar
      Revert r53899 (HashMap<AtomicStringImpl*, Value> key checks) and subsequent bug fixes, · 5f737e16
      ap@apple.com authored
              because they make SVG tests crash in release builds.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53912 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5f737e16
    • ossy@webkit.org's avatar
      [Qt] fast/backgrounds/animated-svg-as-background.html make... · 859c0caa
      ossy@webkit.org authored
      [Qt] fast/backgrounds/animated-svg-as-background.html make fast/backgrounds/svg-as-background-5.html crash.
      https://bugs.webkit.org/show_bug.cgi?id=34202
      
      * platform/qt/Skipped: fast/backgrounds/animated-svg-as-background.html skipped until fix.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53911 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      859c0caa
    • philn@webkit.org's avatar
      2010-01-25 Philippe Normand <pnormand@igalia.com> · 6b0b160c
      philn@webkit.org authored
              Reviewed by Eric Seidel.
      
              autobuffer value not forwarded media element to MediaPlayer
              https://bugs.webkit.org/show_bug.cgi?id=33889
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::loadResource): Forward autobuffer
              value to MediaPlayer instance.
              * platform/graphics/MediaPlayer.cpp:
              (WebCore::MediaPlayer::load): Forward autobuffer and
              preservesPitch values to newly created platform media player instance.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53910 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6b0b160c
    • philn@webkit.org's avatar
      2010-01-25 Philippe Normand <pnormand@igalia.com> · 1cdc097a
      philn@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Gtk] media/video-reverse-play-duration.html fails on and off on Gtk buildbots
              https://bugs.webkit.org/show_bug.cgi?id=34086
      
              Cache media duration and fix didEnd() in case of reverse
              playback. When EOS was reached but in case of reverse playback the
              position is not always 0. So to not confuse the HTMLMediaElement
              we synchronize position and duration values.
      
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
              (WebCore::MediaPlayerPrivate::duration):
              (WebCore::MediaPlayerPrivate::updateStates):
              (WebCore::MediaPlayerPrivate::didEnd):
              (WebCore::MediaPlayerPrivate::durationChanged):
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.h:
      
      2010-01-25  Philippe Normand  <pnormand@igalia.com>
      
              Reviewed by Eric Seidel.
      
              [Gtk] media/video-reverse-play-duration.html fails on and off on Gtk buildbots
              https://bugs.webkit.org/show_bug.cgi?id=34086
      
              * platform/gtk/Skipped: Unskip fixed test.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53909 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1cdc097a
    • ap@apple.com's avatar
      * WebCore.xcodeproj/project.pbxproj: Actually land the change to add... · 36a23b49
      ap@apple.com authored
              * WebCore.xcodeproj/project.pbxproj: Actually land the change to add ContainerNodeAlgorithms.h
              (it's "svn resolved", not "svn revert"!).
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53908 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      36a23b49
    • dbates@webkit.org's avatar
      2010-01-26 Daniel Bates <dbates@webkit.org> · 56e18d84
      dbates@webkit.org authored
              Unreviewed. Made a minor typo when I added the test case fast/css/button-height.html
              to the GTK Skipped file. In changeset 53900, I added test "fast/css/button-height.htm"
              to the GTK Skipped file instead of "fast/css/button-height.html". See bug #33936
              for more details.
      
              * platform/gtk/Skipped:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53907 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      56e18d84
    • ossy@webkit.org's avatar
      [Qt] Failing tests after r53895 skipped. · db745be9
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=34167
      
      * platform/qt/Skipped: 
       - http/tests/history/redirect-301.pl
       - http/tests/history/redirect-302.pl
       - http/tests/history/redirect-303.pl
       - http/tests/history/redirect-307.pl
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53906 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      db745be9
    • ossy@webkit.org's avatar
      Unreviewed trivial fix. · cef7984a
      ossy@webkit.org authored
      * platform/qt/editing/pasteboard/paste-noscript-xhtml-expected.txt: updated after r53873.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@53905 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      cef7984a