- 25 Oct, 2010 20 commits
-
-
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 20 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
-
paroga@webkit.org authored
Reviewed by David Kilzer. Add WTF_ARRAY_LENGTH macro to WTF https://bugs.webkit.org/show_bug.cgi?id=32828 Unify the different implementations and usages. * interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute): * runtime/DatePrototype.cpp: (JSC::formatLocaleDate): * runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::reset): * runtime/JSONObject.cpp: (JSC::Stringifier::appendQuotedString): (JSC::Stringifier::toJSON): (JSC::Stringifier::appendStringifiedValue): * runtime/UString.cpp: (JSC::UString::number): * wtf/DateMath.cpp: (WTF::parseDateFromNullTerminatedCharacters): * wtf/StdLibExtras.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andreas.kling@nokia.com authored
Reviewed by Kenneth Rohde Christiansen. [Qt] ImageBuffer::platformTransformColorSpace is unnecessarily slow https://bugs.webkit.org/show_bug.cgi?id=48211 Grab the QImage::bits() and do direct access instead of going through QImage::pixel() and QImage::setPixel(). This is a performance optimization, so no new tests. * platform/graphics/qt/ImageBufferQt.cpp: (WebCore::ImageBuffer::platformTransformColorSpace): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Unreviewed, rolling out r70413. http://trac.webkit.org/changeset/70413 https://bugs.webkit.org/show_bug.cgi?id=48210 It broke Qt minimal build (Requested by Ossy on #webkit). * Scripts/build-webkit: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Simon Fraser. * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::customHighlightRect): Call -highlightRectForLine:representedNode: unconditionally. (WebChromeClient::paintCustomHighlight): Call -paintHighlightForBox:onLine:behindText:entireLine:representedNode: unconditionally. * WebView/WebHTMLViewPrivate.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
krit@webkit.org authored
Reviewed by Nikolas Zimmermann. Filter example Chiseled from SVG Wow! is slow https://bugs.webkit.org/show_bug.cgi?id=48174 Added 'using WTF::ByteArray;' at the end of ByteArray.h * wtf/ByteArray.h: 2010-10-24 Dirk Schulze <krit@webkit.org> Reviewed by Nikolas Zimmermann. Filter example Chiseled from SVG Wow! is slow https://bugs.webkit.org/show_bug.cgi?id=48174 Use a pointer to the ByteArray instead of the ref counted CanvasPixelArray or ImageData directly to access the data for pixel manipulation on SVG Filters or SVG Masker. This is a performance increase since the recurring use of the -> operator can be avoided. FEConvolveMatrix and FELighting still need to change in a followup patch. No functionality was changed. So, no new tests. * platform/graphics/filters/FEBlend.cpp: (WebCore::FEBlend::apply): * platform/graphics/filters/FEColorMatrix.cpp: (WebCore::luminance): (WebCore::effectType): (WebCore::FEColorMatrix::apply): * platform/graphics/filters/FEComponentTransfer.cpp: (WebCore::FEComponentTransfer::apply): * platform/graphics/filters/FEComposite.cpp: (WebCore::arithmetic): (WebCore::FEComposite::apply): * platform/graphics/filters/FEDisplacementMap.cpp: (WebCore::FEDisplacementMap::apply): * platform/graphics/filters/FEGaussianBlur.cpp: (WebCore::boxBlur): (WebCore::FEGaussianBlur::apply): * platform/graphics/filters/FEMorphology.cpp: (WebCore::FEMorphology::apply): * platform/graphics/filters/FETurbulence.cpp: (WebCore::FETurbulence::apply): * rendering/RenderSVGResourceMasker.cpp: (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: polish network panel UI. https://bugs.webkit.org/show_bug.cgi?id=48205 * inspector/front-end/Images/frame.png: * inspector/front-end/Images/networkIcon.png: * inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype._createTable): (WebInspector.NetworkPanel.prototype._setLargerResources): (WebInspector.NetworkPanel.prototype._toggleGridMode): * inspector/front-end/networkPanel.css: (.network.panel .data-grid td): (.network.panel .data-grid.small td): (#network-views .resource-view.headers-visible .resource-view-content): (#network-views.small .resource-view.headers-visible .resource-view-content): (#network-views .resource-view-headers): (#network-views.small .resource-view-headers): (#network-views .resource-view .tabbed-pane-header): (#network-views....
-
paroga@webkit.org authored
Reviewed by David Kilzer. Inline WTF::bitwise_cast and fix style https://bugs.webkit.org/show_bug.cgi?id=48208 * wtf/StdLibExtras.h: (WTF::bitwise_cast): (WTF::bitCount): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-