- 25 Oct, 2010 27 commits
-
-
weinig@apple.com authored
<rdar://problem/8424632> https://bugs.webkit.org/show_bug.cgi?id=48252 Reviewed by Anders Carlsson. * UIProcess/API/C/WKFrame.cpp: (WKFrameCanProvideSource): * UIProcess/API/C/WKFrame.h: * UIProcess/WebFrameProxy.cpp: (WebKit::WebFrameProxy::canProvideSource): * UIProcess/WebFrameProxy.h: Add API to figure out if a frame can provide source based on its MIME type. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mihaip@chromium.org authored
Unreviewed checksum rebaseline for animations/ and compositing/ for Snow Leopard. * platform/mac-leopard/animations/3d/state-at-end-event-transform-expected.checksum: Copied from LayoutTests/platform/mac/animations/3d/state-at-end-event-transform-expected.checksum. * platform/mac-leopard/animations/3d/state-at-end-event-transform-expected.png: Added. * platform/mac/animations/3d/change-transform-in-end-event-expected.checksum: * platform/mac/animations/3d/state-at-end-event-transform-expected.checksum: * platform/mac/compositing/animation/state-at-end-event-transform-layer-expected.checksum: * platform/mac/compositing/compositing-visible-descendant-expected.checksum: * platform/mac/compositing/geometry/abs-position-inside-opacity-expected.checksum: * platform/mac/compositing/geometry/fixed-position-expected.checksum: * platform/mac/compositing/geometry/horizontal-scroll-composited-expected.checksum: * platform/mac/compositing/geometry/partial-layout-update-expected.checksum: * platform/mac/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.checksum: * platform/mac/compositing/overflow/fixed-position-ancestor-clip-expected.checksum: * platform/mac/compositing/reflections/reflection-in-composited-expected.checksum: * platform/mac/compositing/reflections/reflection-ordering-expected.checksum: * platform/mac/compositing/reflections/simple-composited-reflections-expected.checksum: * platform/mac/compositing/repaint/become-overlay-composited-layer-expected.checksum: * platform/mac/compositing/repaint/content-into-overflow-expected.checksum: * platform/mac/compositing/repaint/layer-repaint-expected.checksum: * platform/mac/compositing/repaint/layer-repaint-rects-expected.checksum: * platform/mac/compositing/repaint/opacity-between-absolute-expected.checksum: * platform/mac/compositing/repaint/opacity-between-absolute2-expected.checksum: * platform/mac/compositing/repaint/overflow-into-content-expected.checksum: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=48251 <rdar://problem/8483759> Reviewed by Dan Bernstein. Add WKPreferencesSetJavaEnabled and initialize it to true by default, matching old WebKit. * Shared/WebPreferencesStore.cpp: (WebKit::WebPreferencesStore::WebPreferencesStore): Initialize javaEnabled. (WebKit::WebPreferencesStore::encode): Encode javaEnabled. (WebKit::WebPreferencesStore::decode): Decode javaEnabled. * Shared/WebPreferencesStore.h: Add javaEnabled. * UIProcess/API/C/WKPreferences.cpp: (WKPReferencesSetJavaEnabled): (WKPReferencesGetJavaEnabled): Call the WebPreferences functions. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::createJavaAppletWidget): Just call createPlugin. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): Call Settings::setJavaEnabled. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Unreviewed, rolling out r70451. http://trac.webkit.org/changeset/70451 https://bugs.webkit.org/show_bug.cgi?id=48249 Broke set-unloaded-frame-location.html under Qt (Requested by caseq on #webkit). * GNUmakefile.am: * JavaScriptCore.gypi: * JavaScriptCore.xcodeproj/project.pbxproj: * wtf/text/TextPosition.h: Removed. 2010-10-25 Sheriff Bot <webkit.review.bot@gmail.com> Unreviewed, rolling out r70451. http://trac.webkit.org/changeset/70451 https://bugs.webkit.org/show_bug.cgi?id=48249 Broke set-unloaded-frame-location.html under Qt (Requested by caseq on #webkit). * ForwardingHeaders/wtf/text/TextPosition.h: Removed. 2010-10-25 Sheriff Bot <webkit.review.bot@gmail.com> Unreviewed, rolling out r70451. http://trac.webkit.org/changeset/70451 https://bugs.webkit.org/show_bug.cgi?id=48249 Broke se...
-
mihaip@chromium.org authored
Unreviewed rebaseline for fast/block for Snow Leopard. * platform/mac-leopard/fast/block/basic/001-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/001-expected.checksum. * platform/mac-leopard/fast/block/basic/001-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/001-expected.png. * platform/mac-leopard/fast/block/basic/002-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/002-expected.checksum. * platform/mac-leopard/fast/block/basic/002-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/002-expected.png. * platform/mac-leopard/fast/block/basic/003-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/003-expected.checksum. * platform/mac-leopard/fast/block/basic/003-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/003-expected.png. * platform/mac-leopard/fast/block/basic/004-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/004-expected.checksum. * platform/mac-leopard/fast/block/basic/004-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/004-expected.png. * platform/mac-leopard/fast/block/basic/005-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/005-expected.checksum. * platform/mac-leopard/fast/block/basic/005-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/005-expected.png. * platform/mac-leopard/fast/block/basic/006-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/006-expected.checksum. * platform/mac-leopard/fast/block/basic/006-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/006-expected.png. * platform/mac-leopard/fast/block/basic/007-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/007-expected.checksum. * platform/mac-leopard/fast/block/basic/007-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/007-expected.png. * platform/mac-leopard/fast/block/basic/008-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/008-expected.checksum. * platform/mac-leopard/fast/block/basic/008-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/008-expected.png. * platform/mac-leopard/fast/block/basic/009-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/009-expected.checksum. * platform/mac-leopard/fast/block/basic/009-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/009-expected.png. * platform/mac-leopard/fast/block/basic/011-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/011-expected.checksum. * platform/mac-leopard/fast/block/basic/011-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/011-expected.png. * platform/mac-leopard/fast/block/basic/012-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/012-expected.checksum. * platform/mac-leopard/fast/block/basic/012-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/012-expected.png. * platform/mac-leopard/fast/block/basic/013-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/013-expected.checksum. * platform/mac-leopard/fast/block/basic/013-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/013-expected.png. * platform/mac-leopard/fast/block/basic/014-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/014-expected.checksum. * platform/mac-leopard/fast/block/basic/014-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/014-expected.png. * platform/mac-leopard/fast/block/basic/015-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/015-expected.checksum. * platform/mac-leopard/fast/block/basic/015-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/015-expected.png. * platform/mac-leopard/fast/block/basic/018-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/018-expected.checksum. * platform/mac-leopard/fast/block/basic/018-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/018-expected.png. * platform/mac-leopard/fast/block/basic/019-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/019-expected.checksum. * platform/mac-leopard/fast/block/basic/019-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/019-expected.png. * platform/mac-leopard/fast/block/basic/020-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/020-expected.checksum. * platform/mac-leopard/fast/block/basic/020-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/020-expected.png. * platform/mac-leopard/fast/block/basic/021-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/021-expected.checksum. * platform/mac-leopard/fast/block/basic/021-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/021-expected.png. * platform/mac-leopard/fast/block/basic/adding-near-anonymous-block-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/adding-near-anonymous-block-expected.checksum. * platform/mac-leopard/fast/block/basic/adding-near-anonymous-block-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/adding-near-anonymous-block-expected.png. * platform/mac-leopard/fast/block/basic/fieldset-stretch-to-legend-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.checksum. * platform/mac-leopard/fast/block/basic/fieldset-stretch-to-legend-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.png. * platform/mac-leopard/fast/block/basic/quirk-height-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/quirk-height-expected.checksum. * platform/mac-leopard/fast/block/basic/quirk-height-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/quirk-height-expected.png. * platform/mac-leopard/fast/block/basic/text-indent-rtl-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/text-indent-rtl-expected.checksum. * platform/mac-leopard/fast/block/basic/text-indent-rtl-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/text-indent-rtl-expected.png. * platform/mac-leopard/fast/block/basic/white-space-pre-wraps-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/basic/white-space-pre-wraps-expected.checksum. * platform/mac-leopard/fast/block/basic/white-space-pre-wraps-expected.png: Copied from LayoutTests/platform/mac/fast/block/basic/white-space-pre-wraps-expected.png. * platform/mac/fast/block/basic/001-expected.checksum: * platform/mac/fast/block/basic/001-expected.png: * platform/mac/fast/block/basic/002-expected.checksum: * platform/mac/fast/block/basic/002-expected.png: * platform/mac/fast/block/basic/003-expected.checksum: * platform/mac/fast/block/basic/003-expected.png: * platform/mac/fast/block/basic/004-expected.checksum: * platform/mac/fast/block/basic/004-expected.png: * platform/mac/fast/block/basic/005-expected.checksum: * platform/mac/fast/block/basic/005-expected.png: * platform/mac/fast/block/basic/006-expected.checksum: * platform/mac/fast/block/basic/006-expected.png: * platform/mac/fast/block/basic/007-expected.checksum: * platform/mac/fast/block/basic/007-expected.png: * platform/mac/fast/block/basic/008-expected.checksum: * platform/mac/fast/block/basic/008-expected.png: * platform/mac/fast/block/basic/009-expected.checksum: * platform/mac/fast/block/basic/009-expected.png: * platform/mac/fast/block/basic/011-expected.checksum: * platform/mac/fast/block/basic/011-expected.png: * platform/mac/fast/block/basic/012-expected.checksum: * platform/mac/fast/block/basic/012-expected.png: * platform/mac/fast/block/basic/013-expected.checksum: * platform/mac/fast/block/basic/013-expected.png: * platform/mac/fast/block/basic/014-expected.checksum: * platform/mac/fast/block/basic/014-expected.png: * platform/mac/fast/block/basic/015-expected.checksum: * platform/mac/fast/block/basic/015-expected.png: * platform/mac/fast/block/basic/018-expected.checksum: * platform/mac/fast/block/basic/018-expected.png: * platform/mac/fast/block/basic/019-expected.checksum: * platform/mac/fast/block/basic/019-expected.png: * platform/mac/fast/block/basic/020-expected.checksum: * platform/mac/fast/block/basic/020-expected.png: * platform/mac/fast/block/basic/021-expected.checksum: * platform/mac/fast/block/basic/021-expected.png: * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.checksum: * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.png: * platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.checksum: * platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.png: * platform/mac/fast/block/basic/quirk-height-expected.checksum: * platform/mac/fast/block/basic/quirk-height-expected.png: * platform/mac/fast/block/basic/text-indent-rtl-expected.checksum: * platform/mac/fast/block/basic/text-indent-rtl-expected.png: * platform/mac/fast/block/basic/white-space-pre-wraps-expected.checksum: * platform/mac/fast/block/basic/white-space-pre-wraps-expected.png: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kseo@webkit.org authored
Provide platformDefaultLanguage(). * platform/brew/LanguageBrew.cpp: Added. (WebCore::platformDefaultLanguage): * platform/brew/LocalizedStringsBrew.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
Reviewed by David Kilzer. Replace _countof with WTF_ARRAY_LENGTH https://bugs.webkit.org/show_bug.cgi?id=48229 * wtf/Platform.h: 2010-10-25 Patrick Gansterer <paroga@webkit.org> Reviewed by David Kilzer. Replace _countof with WTF_ARRAY_LENGTH https://bugs.webkit.org/show_bug.cgi?id=48229 * platform/win/FileSystemWin.cpp: (WebCore::openTemporaryFile): * platform/wince/FileSystemWinCE.cpp: (WebCore::openTemporaryFile): * plugins/win/PluginDatabaseWin.cpp: (WebCore::addPluginPathsFromRegistry): (WebCore::addWindowsMediaPlayerPluginDirectory): (WebCore::addMacromediaPluginDirectories): 2010-10-25 Patrick Gansterer <paroga@webkit.org> Reviewed by David Kilzer. Replace _countof with WTF_ARRAY_LENGTH https://bugs.webkit.org/show_bug.cgi?id=48229 * WebCoreSupport/WebContextMenuClient.cpp: (isPreInspectElementTagSafari): * WebView.cpp: (WebView::interpretKeyEvent): 2010-10-25 Patrick Gansterer <paroga@webkit.org> Reviewed by David Kilzer. Replace _countof with WTF_ARRAY_LENGTH https://bugs.webkit.org/show_bug.cgi?id=48229 * WebCoreSupport/EditorClientWinCE.cpp: (WebKit::EditorClientWinCE::interpretKeyEvent): 2010-10-25 Patrick Gansterer <paroga@webkit.org> Reviewed by David Kilzer. Replace _countof with WTF_ARRAY_LENGTH https://bugs.webkit.org/show_bug.cgi?id=48229 * UIProcess/Launcher/win/ProcessLauncherWin.cpp: (WebKit::ProcessLauncher::launchProcess): * UIProcess/Plugins/win/PluginInfoStoreWin.cpp: (WebKit::safariPluginsDirectory): (WebKit::addMozillaPluginDirectories): (WebKit::addWindowsMediaPlayerPluginDirectory): (WebKit::addAdobeAcrobatPluginDirectory): (WebKit::addMacromediaPluginDirectories): (WebKit::addPluginPathsFromRegistry): * WebProcess/WebPage/win/WebPageWin.cpp: (WebKit::WebPage::interpretKeyEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Fixes <http://webkit.org/b/48232> Several .messages.in files end up in WebKit2's framework bundle Reviewed by Dan Bernstein. * WebKit2.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Unreviewed, rolling out r70442. http://trac.webkit.org/changeset/70442 https://bugs.webkit.org/show_bug.cgi?id=48248 http locking doesn't work on Windows (Requested by Ossy on #webkit). * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abecsi@webkit.org authored
Reviewed by Csaba Osztrogonác. [Qt] Fix the WebKit2 build after sheriffbot messed up the rollout patch. https://bugs.webkit.org/show_bug.cgi?id=48238 * Shared/qt/MappedMemory.h: Renamed from WebKit2/Platform/qt/MappedMemoryPool.h. (WebKit::MappedMemory::mapSize): (WebKit::MappedMemory::markUsed): (WebKit::MappedMemory::markFree): (WebKit::MappedMemory::isFree): (WebKit::MappedMemory::data): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
Reviewed by Sam Weinig. Make selectionRect() on InlineTextBox give the right value for a vertical line. Selection is still too broken to test anything though. * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::selectionRect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
benjamin.poulain@nokia.com authored
Reviewed by Antonio Gomes. Typo in the TextureMapperGL https://bugs.webkit.org/show_bug.cgi?id=48241 Fix the typo. * platform/graphics/opengl/TextureMapperGL.cpp: (WebCore::TextureMapperGL::TextureMapperGL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: slowly make old resources panel optional (continued). https://bugs.webkit.org/show_bug.cgi?id=48207 * inspector/front-end/Resource.js: (WebInspector.Resource.prototype.set url): * inspector/front-end/StoragePanel.js: (WebInspector.StoragePanel.prototype.get toolbarItemLabel): (WebInspector.StoragePanel.prototype.showResource): (WebInspector.StoragePanel.prototype.searchMatchFound): (WebInspector.StoragePanel.prototype._findTreeElementForResource): (WebInspector.StoragePanel.prototype._findTreeElementForResource.getParent): (WebInspector.BaseStorageTreeElement.prototype.onattach): * inspector/front-end/inspector.css: (.storage.panel .sidebar): (.storage.panel .sidebar li): (.storage.panel .sidebar li.parent): (.storage.panel .sidebar li.selected): (.storage.panel .sidebar li .selection): (.storage.panel .sidebar :focus li .selection): (body.inactive .storage.panel .sidebar li .selection): (.storage.panel .sidebar .icon): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Unreviewed, rolling out r70450. http://trac.webkit.org/changeset/70450 https://bugs.webkit.org/show_bug.cgi?id=48238 Causes WTR to crash on tests which use SharedMemory. (Requested by bbandix on #webkit). * Platform/SharedMemory.h: * Platform/qt/MappedMemoryPool.cpp: Removed. * Platform/qt/SharedMemoryQt.cpp: (WebKit::SharedMemory::Handle::Handle): (WebKit::SharedMemory::Handle::~Handle): (WebKit::SharedMemory::Handle::encode): (WebKit::SharedMemory::Handle::decode): (WebKit::SharedMemory::create): (WebKit::SharedMemory::~SharedMemory): (WebKit::SharedMemory::createHandle): (WebKit::SharedMemory::systemPageSize): * Shared/qt/MappedMemory.h: Renamed from WebKit2/Platform/qt/MappedMemoryPool.h. (WebKit::MappedMemory::mapSize): (WebKit::MappedMemory::markUsed): (WebKit::MappedMemory::markFree): (WebKit::MappedMemory::isFree): (WebKit::MappedMemory::data): * Shared/qt/MappedMemoryPool.cpp: Added. (WebKit::MappedMemoryPool::MappedMemoryPool): (WebKit::MappedMemoryPool::instance): (WebKit::MappedMemoryPool::size): (WebKit::MappedMemoryPool::at): (WebKit::MappedMemoryPool::append): (WebKit::MappedMemoryPool::cleanUp): * Shared/qt/UpdateChunk.cpp: (WebKit::mapMemory): (WebKit::mapFile): (WebKit::UpdateChunk::UpdateChunk): (WebKit::UpdateChunk::decode): * Shared/qt/UpdateChunk.h: * WebKit2.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
noam.rosenthal@nokia.com authored
Reviewed by Kenneth Rohde Christiansen. [Texmap] [Qt] Texture mapper initial implementation This patch adds the OpenGL implementation of TextureMapper. See the other entries from bug 47070 for details. https://bugs.webkit.org/show_bug.cgi?id=47070 No new tests. Part of a new implementation. * platform/graphics/opengl/TextureMapperGL.cpp: Added. * platform/graphics/opengl/TextureMapperGL.h: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
caseq@chromium.org authored
Reviewed by Adam Barth. HTML parser should provide script column position within HTML document to JavaScript engine https://bugs.webkit.org/show_bug.cgi?id=45271 Adds TextPosition* classes -- a structure that stores line/column/generation level coordinates inside text document. Adds *BasedNumber classes -- typesafe int wrappers that emphasize whether int number is used as zero-based or one-based. * GNUmakefile.am: * JavaScriptCore.gypi: * JavaScriptCore.xcodeproj/project.pbxproj: * wtf/text/TextPosition.h: Added. (WTF::TextPosition::TextPosition): (WTF::TextPosition::minimumPosition): (WTF::TextPosition::belowRangePosition): (WTF::ZeroBasedNumber::fromZeroBasedInt): (WTF::ZeroBasedNumber::ZeroBasedNumber): (WTF::ZeroBasedNumber::zeroBasedInt): (WTF::ZeroBasedNumber::base): (WTF::ZeroBasedNumber::belowBase): (WTF::OneBasedNumber::fromOneBasedInt): (WTF::OneBasedNumber::OneBasedNumber): (WTF::OneBasedNumber::oneBasedInt): (WTF::OneBasedNumber::convertAsZeroBasedInt): (WTF::OneBasedNumber::convertToZeroBased): (WTF::OneBasedNumber::base): (WTF::OneBasedNumber::belowBase): (WTF::toZeroBasedTextPosition): (WTF::toOneBasedTextPosition): (WTF::ZeroBasedNumber::convertToOneBased): 2010-10-25 Peter Rybin <peter.rybin@gmail.com> Reviewed by Adam Barth. HTML parser should provide script column position within HTML document to JavaScript engine https://bugs.webkit.org/show_bug.cgi?id=45271 Replaces line number with TextPosition struct so that script engine gets script starting line/column. * ForwardingHeaders/wtf/text/TextPosition.h: Added. * bindings/js/ScriptSourceCode.h: (WebCore::ScriptSourceCode::ScriptSourceCode): * bindings/v8/ScheduledAction.cpp: (WebCore::ScheduledAction::ScheduledAction): * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::eventHandlerPosition): * bindings/v8/ScriptController.h: * bindings/v8/ScriptEventListener.cpp: (WebCore::createAttributeEventListener): * bindings/v8/ScriptSourceCode.h: (WebCore::ScriptSourceCode::ScriptSourceCode): (WebCore::ScriptSourceCode::startLine): (WebCore::ScriptSourceCode::startPosition): * bindings/v8/V8LazyEventListener.cpp: (WebCore::V8LazyEventListener::V8LazyEventListener): (WebCore::V8LazyEventListener::prepareListenerObject): * bindings/v8/V8LazyEventListener.h: (WebCore::V8LazyEventListener::create): * bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::compileScript): (WebCore::V8Proxy::evaluate): (WebCore::V8Proxy::runScript): * bindings/v8/V8Proxy.h: * bindings/v8/WorkerContextExecutionProxy.cpp: (WebCore::WorkerContextExecutionProxy::evaluate): (WebCore::WorkerContextExecutionProxy::runScript): * bindings/v8/WorkerContextExecutionProxy.h: * bindings/v8/WorkerScriptController.cpp: (WebCore::WorkerScriptController::evaluate): * dom/PendingScript.cpp: (WebCore::PendingScript::releaseElementAndClear): * dom/PendingScript.h: (WebCore::PendingScript::PendingScript): (WebCore::PendingScript::operator=): (WebCore::PendingScript::startingPosition): * dom/ScriptableDocumentParser.h: * dom/XMLDocumentParser.h: * dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::XMLDocumentParser): (WebCore::XMLDocumentParser::startElementNs): (WebCore::XMLDocumentParser::endElementNs): (WebCore::XMLDocumentParser::lineNumber): (WebCore::XMLDocumentParser::columnNumber): (WebCore::XMLDocumentParser::textPosition): (WebCore::XMLDocumentParser::textPositionOneBased): * dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::XMLDocumentParser): (WebCore::XMLDocumentParser::textPosition): (WebCore::XMLDocumentParser::parseStartElement): (WebCore::XMLDocumentParser::parseEndElement): * html/parser/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder): (WebCore::HTMLDocumentParser::textPosition): * html/parser/HTMLDocumentParser.h: * html/parser/HTMLScriptRunner.cpp: (WebCore::HTMLScriptRunner::sourceFromPendingScript): (WebCore::HTMLScriptRunner::execute): (WebCore::HTMLScriptRunner::runScript): * html/parser/HTMLScriptRunner.h: * html/parser/HTMLTreeBuilder.cpp: (WebCore::uninitializedPositionValue1): (WebCore::HTMLTreeBuilder::HTMLTreeBuilder): (WebCore::HTMLTreeBuilder::takeScriptToProcess): (WebCore::HTMLTreeBuilder::processEndTag): (WebCore::HTMLTreeBuilder::processScriptStartTag): * html/parser/HTMLTreeBuilder.h: 2010-10-25 Peter Rybin <peter.rybin@gmail.com> Reviewed by Adam Barth. HTML parser should provide script column position within HTML document to JavaScript engine https://bugs.webkit.org/show_bug.cgi?id=45271 Replaces script line number with TextPosition structure. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeScript): (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): (WebKit::WebFrameImpl::executeScriptAndReturnValue): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zoltan@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=47345 Reviewed by Kenneth Rohde Christiansen. Implement unimplemented functions in SharedMemoryQt.cpp. Rename MappedMemory.h to MappedMemoryPool.h, move MappedMemoryPool.{h|cpp} from Shared/qt to Platform/qt. Modify affected lines of WebKit2.pro. Move MappedMemory implementation into MappedMemoryPool. Remove unnecessary methods of MappedMemoryPool. * Platform/SharedMemory.h: Add a handle member for Qt. * Platform/qt/MappedMemoryPool.cpp: Copied from WebKit2/Shared/qt/MappedMemoryPool.cpp. (WebKit::MappedMemoryPool::searchForMappedMemory): (WebKit::MappedMemoryPool::mapMemory): (WebKit::MappedMemoryPool::mapFile): * Platform/qt/MappedMemoryPool.h: Copied from WebKit2/Shared/qt/MappedMemory.h. (WebKit::MappedMemoryPool::MappedMemory::mapSize): (WebKit::MappedMemoryPool::MappedMemory::markUsed): (WebKit::MappedMemoryPool::MappedMemory::markFree): (WebKit::MappedMemoryPool::MappedMemory::isFree): (WebKit::MappedMemoryPool::MappedMemory::data): (WebKit::MappedMemoryPool::MappedMemoryPool): Move MappedMemory implementation into MappedMemoryPool. * Platform/qt/SharedMemoryQt.cpp: (WebKit::SharedMemory::Handle::Handle): Implement. (WebKit::SharedMemory::Handle::~Handle): (WebKit::SharedMemory::Handle::isNull): Implement. (WebKit::SharedMemory::Handle::encode): Implement. (WebKit::SharedMemory::Handle::decode): Implement. (WebKit::SharedMemory::create): Implement. (WebKit::mapProtection): Added. (WebKit::SharedMemory::~SharedMemory): Implement. (WebKit::SharedMemory::createHandle): Implement. (WebKit::SharedMemory::systemPageSize): Implement. * Shared/qt/MappedMemory.h: Removed. * Shared/qt/MappedMemoryPool.cpp: Removed. * Shared/qt/UpdateChunk.cpp: (WebKit::UpdateChunk::UpdateChunk): (WebKit::UpdateChunk::decode): Modify to use MappedMemoryPool. * Shared/qt/UpdateChunk.h: * WebKit2.pro: Modify affected lines. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
These match the changes made in r69568 for other platforms. * platform/win-xp/fast/text/backslash-to-yen-sign-euc-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Kent Tamura. Make editing/deleting/5390681.html and editing/deleting/delete-mixed-editable-content-001.html use Markup instead of render tree. https://bugs.webkit.org/show_bug.cgi?id=48112 * editing/deleting/5390681-expected.txt: Added. * editing/deleting/5390681.html: Updated to use Markup instead of render tree. * editing/deleting/delete-mixed-editable-content-001-expected.txt: Added. * editing/deleting/delete-mixed-editable-content-001.html: Updated to use Markup instead of render tree. * platform/chromium-linux/editing/deleting/5390681-expected.checksum: Removed. * platform/chromium-linux/editing/deleting/5390681-expected.png: Removed. * platform/chromium-linux/editing/deleting/delete-mixed-editable-content-001-expected.checksum: Removed. * platform/chromium-linux/editing/deleting/delete-mixed-editable-content-001-expected.png: Removed. * platform/chromium-win/editing/deleting/5390681-expected.checksum: Removed. * platform/chromium-win/editing/deleting/5390681-expected.png: Removed. * platform/chromium-win/editing/deleting/5390681-expected.txt: Removed. * platform/chromium-win/editing/deleting/delete-mixed-editable-content-001-expected.checksum: Removed. * platform/chromium-win/editing/deleting/delete-mixed-editable-content-001-expected.png: Removed. * platform/chromium-win/editing/deleting/delete-mixed-editable-content-001-expected.txt: Removed. * platform/gtk/editing/deleting/5390681-expected.txt: Removed. * platform/mac-leopard/editing/deleting/5390681-expected.checksum: Removed. * platform/mac-leopard/editing/deleting/5390681-expected.png: Removed. * platform/mac/editing/deleting/5390681-expected.checksum: Removed. * platform/mac/editing/deleting/5390681-expected.png: Removed. * platform/mac/editing/deleting/5390681-expected.txt: Removed. * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.checksum: Removed. * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.png: Removed. * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.txt: Removed. * platform/qt/editing/deleting/5390681-expected.txt: Removed. * platform/qt/editing/deleting/delete-mixed-editable-content-001-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ariya@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] Update the baseline for blur shadow test https://bugs.webkit.org/show_bug.cgi?id=48223 After the blur radius fix in r68145, the baseline needs to be updated. * platform/qt/fast/box-shadow/basic-shadows-expected.checksum: * platform/qt/fast/box-shadow/basic-shadows-expected.png: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: slowly make old resources panel optional. https://bugs.webkit.org/show_bug.cgi?id=48207 * inspector/front-end/AuditsPanel.js: (WebInspector.AuditsPanel.prototype._reloadResources): (WebInspector.AuditsPanel.prototype.show): * inspector/front-end/ExtensionServer.js: (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource): * inspector/front-end/ResourcesPanel.js: * inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._sourceFrameForScriptOrResource): (WebInspector.ScriptsPanel.prototype._sourceFrameForResource): * inspector/front-end/inspector.js: (WebInspector._createPanels): (WebInspector.doLoadedDone.populateInspectorState): (WebInspector.doLoadedDone): (WebInspector.openResource): (WebInspector.updateResource): (WebInspector.domContentEventFired): (WebInspector.loadEventFired): (WebInspector.removeResource): (WebInspector.displayNameForURL): (WebInspector._choosePanelToShowSourceLine): (WebInspector.doPerformSearch): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: add support for errors, warnings and search to the storage panel. https://bugs.webkit.org/show_bug.cgi?id=48206 * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.addMessage): (WebInspector.ConsoleView.prototype.clearMessages): * inspector/front-end/Resource.js: (WebInspector.Resource.prototype.set errors): (WebInspector.Resource.prototype.set warnings): (WebInspector.Resource.prototype.get searchMatches): (WebInspector.Resource.prototype.set searchMatches): (WebInspector.Resource.prototype.clearErrorsAndWarnings): * inspector/front-end/ResourceManager.js: (WebInspector.ResourceManager): (WebInspector.ResourceManager.prototype.identifierForInitialRequest): (WebInspector.ResourceManager.prototype._createResource): (WebInspector.ResourceManager.prototype._appendRedirect): (WebInspector.ResourceManager.prototype.didReceiveResponse): (WebInspector.ResourceManager.prototype.didFinishLoading): (WebInspector.ResourceManager.prototype.didFailLoading): (WebInspector.ResourceManager.prototype.didLoadResourceFromMemoryCache): (WebInspector.ResourceManager.prototype.didCommitLoadForFrame): (WebInspector.ResourceManager.prototype.frameDetachedFromParent): (WebInspector.ResourceManager.prototype._addFramesRecursively): (WebInspector.ResourceManager.prototype.resourceForURL): (WebInspector.ResourceManager.prototype.addConsoleMessage): (WebInspector.ResourceManager.prototype.clearConsoleMessages): (WebInspector.ResourceTreeModel): (WebInspector.ResourceTreeModel.prototype.addOrUpdateFrame): (WebInspector.ResourceTreeModel.prototype.didCommitLoadForFrame): (WebInspector.ResourceTreeModel.prototype.frameDetachedFromParent): (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources): (WebInspector.ResourceTreeModel.prototype.addResourceToFrame): (WebInspector.ResourceTreeModel.prototype._clearResources): (WebInspector.ResourceTreeModel.prototype._bindResourceURL): (WebInspector.ResourceTreeModel.prototype._unbindResourceURL): (WebInspector.ResourceTreeModel.prototype.resourceForURL): (WebInspector.ResourceTreeModel.prototype.forAllResources): (WebInspector.ResourceTreeModel.prototype._callForFrameResources): * inspector/front-end/StoragePanel.js: (WebInspector.StoragePanel): (WebInspector.StoragePanel.prototype.get toolbarItemLabel): (WebInspector.StoragePanel.prototype.reset): (WebInspector.StoragePanel.prototype.removeFrame): (WebInspector.StoragePanel.prototype.canShowSourceLine): (WebInspector.StoragePanel.prototype.showSourceLine): (WebInspector.StoragePanel.prototype.showResource): (WebInspector.StoragePanel.prototype._showResourceView): (WebInspector.StoragePanel.prototype.updateMainViewWidth): (WebInspector.StoragePanel.prototype.get searchableViews.callback): (WebInspector.StoragePanel.prototype.get searchableViews): (WebInspector.StoragePanel.prototype._forAllResourceTreeElements): (WebInspector.StoragePanel.prototype.searchMatchFound): (WebInspector.StoragePanel.prototype.searchCanceled.callback): (WebInspector.StoragePanel.prototype.searchCanceled): (WebInspector.StoragePanel.prototype.performSearch): (WebInspector.StoragePanel.prototype.showView): (WebInspector.BaseStorageTreeElement.prototype.onattach): (WebInspector.BaseStorageTreeElement.prototype.set titleText): (WebInspector.BaseStorageTreeElement.prototype.isEventWithinDisclosureTriangle): (WebInspector.FrameResourceTreeElement): (WebInspector.FrameResourceTreeElement.prototype.onselect): (WebInspector.FrameResourceTreeElement.prototype.ondblclick): (WebInspector.FrameResourceTreeElement.prototype.onattach): (WebInspector.FrameResourceTreeElement.prototype._ondragstart): (WebInspector.FrameResourceTreeElement.prototype._setBubbleText): (WebInspector.FrameResourceTreeElement.prototype._resetBubble): (WebInspector.FrameResourceTreeElement.prototype._searchMatchesUpdated): (WebInspector.FrameResourceTreeElement.prototype._errorsWarningsUpdated): * inspector/front-end/inspector.css: (.storage.panel .sidebar): (.storage.panel .outline-disclosure li): (.storage.panel .outline-disclosure li.parent): (.storage.panel .outline-disclosure li .selection): (.storage.panel .outline-disclosure .icon): (.storage.panel .base-storage-tree-element-title): (.storage.panel .status): (.storage.panel li .status .bubble): (li .status): (li .status:empty): (li .status .bubble): (li .status .bubble:empty): (li.selected .status .bubble): (:focus li.selected .status .bubble): (body.inactive li.selected .status .bubble): (li.selected .bubble.search-matches): (:focus li.selected .bubble.search-matches): (body.inactive li.selected .bubble.search-matches): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yuzo@google.com authored
Unreviewed Chromium test expectation change. editing/spelling/spellcheck-attribute.html now passes for Mac. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yuzo@google.com authored
Unreviewed Chromium test expectation change. fast/frames/frame-src-attribute.html now passes for Mac. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=48053 Patch by Gabor Rapcsanyi <rgabor@inf.u-szeged.hu> on 2010-10-25 Reviewed by Ojan Vafai. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
http://webkit.org/b/48185ossy@webkit.org authored
(Re-landing r70413 after Qt minimal buildfix: r70440.) Patch by David Kilzer <ddkilzer@apple.com> on 2010-10-25 Reviewed by Kenneth Rohde Christiansen. * Scripts/build-webkit: Added support for --progress-tag switch. It should have been added with r57051. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=48185 Reviewed by David Kilzer. * rendering/RenderMeter.h: Missing include added, needless include removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 24 Oct, 2010 13 commits
-
-
kinuko@chromium.org authored
Reviewed by Jian Li. Renumber FileError/FileException error codes per latest File API spec changes https://bugs.webkit.org/show_bug.cgi?id=47936 * public/WebFileError.h: * src/AssertMatchingEnums.cpp: * src/AsyncFileWriterChromium.cpp: (WebCore::AsyncFileWriterChromium::didFail): 2010-10-20 Kinuko Yasuda <kinuko@chromium.org> Reviewed by Jian Li. Renumber FileError/FileException error codes per latest File API spec changes https://bugs.webkit.org/show_bug.cgi?id=47936 * bindings/js/JSDOMBinding.cpp: (WebCore::setDOMException): Added FileExceptionType case. * bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::setDOMException): Added FileExceptionType case. * dom/ExceptionCode.cpp: (WebCore::getExceptionCodeDescription): Added code for FileException. * dom/ExceptionCode.h: * fileapi/AsyncFileWriterClient.h: * fileapi/DirectoryEntry.cpp: (WebCore::DirectoryEntry::getFile): (WebCore::DirectoryEntry::getDirectory): (WebCore::DirectoryEntry::removeRecursively): * fileapi/DirectoryEntrySync.cpp: (WebCore::DirectoryEntrySync::getFile): (WebCore::DirectoryEntrySync::getDirectory): (WebCore::DirectoryEntrySync::removeRecursively): * fileapi/DirectoryReaderSync.cpp: (WebCore::DirectoryReaderSync::readEntries): * fileapi/Entry.cpp: (WebCore::Entry::getMetadata): (WebCore::Entry::moveTo): (WebCore::Entry::copyTo): (WebCore::Entry::remove): (WebCore::Entry::getParent): * fileapi/EntrySync.cpp: (WebCore::EntrySync::getMetadata): (WebCore::EntrySync::moveTo): (WebCore::EntrySync::copyTo): (WebCore::EntrySync::remove): * fileapi/FileError.h: Added error code enum. (WebCore::FileError::create): (WebCore::FileError::code): (WebCore::FileError::FileError): * fileapi/FileError.idl: Rebased error code numbers. * fileapi/FileException.h: Added exception code enum. (WebCore::FileException::ErrorCodeToExceptionCode): Added. * fileapi/FileException.idl: Rebased exception code numbers. * fileapi/FileReader.cpp: (WebCore::FileReader::abort): (WebCore::FileReader::failed): (WebCore::FileReader::httpStatusCodeToErrorCode): Changed from httpStatuCodeToExceptionCode. * fileapi/FileReader.h: * fileapi/FileReaderSync.cpp: (WebCore::FileReaderSyncLoader::start): * fileapi/FileSystemCallbacks.cpp: (WebCore::FileSystemCallbacksBase::didFail): * fileapi/FileWriter.cpp: (WebCore::FileWriter::write): (WebCore::FileWriter::seek): (WebCore::FileWriter::truncate): (WebCore::FileWriter::abort): (WebCore::FileWriter::didFail): (WebCore::FileWriter::setError): * fileapi/FileWriter.h: * fileapi/SyncCallbackHelper.h: (WebCore::SyncCallbackHelper::SyncCallbackHelper): (WebCore::SyncCallbackHelper::getResult): (WebCore::SyncCallbackHelper::setError): * page/DOMWindow.cpp: (WebCore::DOMWindow::requestFileSystem): * workers/WorkerContext.cpp: (WebCore::WorkerContext::requestFileSystem): (WebCore::WorkerContext::requestFileSystemSync): 2010-10-20 Kinuko Yasuda <kinuko@chromium.org> Reviewed by Jian Li. Renumber FileError/FileException error codes per latest File API spec changes https://bugs.webkit.org/show_bug.cgi?id=47936 Updated test expectations to match with the new error code. * fast/files/read-blob-async-expected.txt: * fast/files/read-file-async-expected.txt: * fast/files/workers/worker-read-blob-async-expected.txt: * fast/files/workers/worker-read-blob-sync-expected.txt: * fast/files/workers/worker-read-file-async-expected.txt: * fast/files/workers/worker-read-file-sync-expected.txt: * fast/filesystem/op-copy-expected.txt: * fast/filesystem/op-get-entry-expected.txt: * fast/filesystem/op-move-expected.txt: * fast/filesystem/op-remove-expected.txt: * fast/filesystem/op-restricted-chars-expected.txt: * fast/filesystem/op-restricted-names-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Reviewed by David Kilzer. webkit-patch upload fails when the patch removes a file https://bugs.webkit.org/show_bug.cgi?id=48187 We need to use "--" to separate file names from the rest of the command. * Scripts/webkitpy/common/checkout/scm.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
* Interfaces/WebKit.idl: Touched. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=48219 Reviewed by Anders Carlsson. WebCore: * WebCore.exp.in: Export HitTestResult::absoluteMediaURL(). WebKit/mac: * Misc/WebElementDictionary.mm: (+[WebElementDictionary initializeLookupTable]): Map WebElementMediaURLKey to _absoluteMediaURL. (-[WebElementDictionary _absoluteMediaURL]): Added. Returns absoluteMediaURL(). * WebKit.exp: Export WebElementMediaURLKey. * WebView/WebView.mm: Define WebElementMediaURLKey. * WebView/WebViewPrivate.h: Declare WebElementMediaURLKey. WebKit/win: * Interfaces/IWebView.idl: Added WebElementMediaURLKey. * WebElementPropertyBag.cpp: (WebElementPropertyBag::Read): Map WebElementMediaURLKey to absoluteMediaURL(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70435 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by David Kilzer. Check endianness with __BIG_ENDIAN in RVCT. https://bugs.webkit.org/show_bug.cgi?id=46122 RVCT defines __BIG_ENDIAN if compiling for a big-endian target. * wtf/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Rubber-stamped by Dave Kilzer. * JavaScriptCore: Removed. * JavaScriptCore/runtime: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70433 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
morrita@google.com authored
Unreviewed skip. Added editing/spelling/spelling-linebreak.html to skip, which was originally tested against a wrong expectation. * platform/gtk/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
Reviewed by David Kilzer. Remove unnecessary test results. https://bugs.webkit.org/show_bug.cgi?id=47711 The following tests were converted to dumpAsText() in http://trac.webkit.org/changeset/47608. So corresponding PNG files are unnecessary. - editing/execCommand/italicizeByCharacter.html - editing/execCommand/modifyForeColorByCharacter.html - editing/execCommand/strikethroughSelection.html The following tests were converted to dumpAsText() in http://trac.webkit.org/changeset/47543. - editing/style/remove-underline-across-paragraph.html - editing/style/remove-underline-across-paragraph-in-bold.html The following tests were converted to dumpAsText() in http://trac.webkit.org/changeset/47542. - editing/style/remove-underline-after-paragraph.html - editing/style/remove-underline-after-paragraph-in-bold.html * platform/mac/editing/execCommand/italicizeByCharacter-expected.png: Removed. * platform/mac/editing/execCommand/modifyForeColorByCharacter-expected.png: Removed. * platform/mac/editing/execCommand/strikethroughSelection-expected.png: Removed. * platform/mac/editing/style/remove-underline-across-paragraph-expected.png: Removed. * platform/mac/editing/style/remove-underline-across-paragraph-in-bold-expected.png: Removed. * platform/mac/editing/style/remove-underline-after-paragraph-expected.png: Removed. * platform/mac/editing/style/remove-underline-after-paragraph-in-bold-expected.png: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yuzo@google.com authored
Unreviewed, rolling out r70361. http://trac.webkit.org/changeset/70361 https://bugs.webkit.org/show_bug.cgi?id=48217 Chromium tests NoInitialAutocompleteForReadOnly and InitialAutocomplete don't complete (Requested by yuzo on #webkit). * public/WebDocument.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
morrita@google.com authored
Reviewed by Tony Chang. Text test conversion: editing/spelling/spelling-linebreak.html https://bugs.webkit.org/show_bug.cgi?id=47649 Rewrote verification part using hasSpellingMarker(). * editing/spelling/spelling-linebreak-expected.txt: Added. * editing/spelling/spelling-linebreak.html: * platform/gtk/editing/spelling/spelling-linebreak-expected.txt: Removed. * platform/mac/editing/spelling/spelling-linebreak-expected.checksum: Removed. * platform/mac/editing/spelling/spelling-linebreak-expected.png: Removed. * platform/mac/editing/spelling/spelling-linebreak-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
<rdar://problem/8530670> https://bugs.webkit.org/show_bug.cgi?id=48216 Reviewed by Dan Bernstein. WebCore: * WebCore.exp.in: Add export. * dom/Element.cpp: (WebCore::Element::boundsInWindowSpace): * dom/Element.h: Add function to return the bounding box in window (in ScrollView terminology) space, this is the same space as the root viewport. WebKit2: * Shared/API/c/WKSharedAPICast.h: (WebKit::toAPI): Add conversion from IntRect to WKRect. * WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp: (WKBundleNodeHandleGetElementBounds): * WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h: * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp: (WebKit::InjectedBundleNodeHandle::elementBounds): * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h: Add SPI to get the rect in window space. The client can then convert this to screen space if they wish to. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
Unreviewed, fix typo of last build fix. * wtf/DateMath.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
Unreviewed build fix for chromium. * wtf/DateMath.cpp: Added missing include. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-