1. 15 May, 2013 40 commits
    • eric.carlson@apple.com's avatar
      [Mac] media engine may deliver NULL in-band "cue" · 2efc3ed5
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116180
      
      Reviewed by Jer Noble.
      
      * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
      (WebCore::InbandTextTrackPrivateAVF::processCue): NULL check before logging cue count.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2efc3ed5
    • darin@apple.com's avatar
      List platforms that still use the legacy clipboard instead of just saying "not Mac" · 0885d8fa
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116177
      
      Reviewed by Andreas Kling.
      
      * dom/Clipboard.h: Replaced the "!MAC || IOS" with a list of platforms still on the
      legacy model.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0885d8fa
    • andersca@apple.com's avatar
      WKPageGetPluginInformationDisplayNameKey doesn't return the right key · 690a50e0
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116188
      
      Reviewed by Andreas Kling.
      
      * UIProcess/API/C/WKPage.cpp:
      (WKPageGetPluginInformationDisplayNameKey):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      690a50e0
    • commit-queue@webkit.org's avatar
      We should clear mainResource in DocumentLoader::cancelMainResourceLoad. · 670cbed4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116119
      
      Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2013-05-15
      Reviewed by Oliver Hunt.
      
      MainResourceLoader::clearResource() was left out in r146239 when moving MainResourceLoader::cancel()
      to DocumentLoader::cancelMainResourceLoad(), we need to add it back to make sure m_mainResource is
      cleared when we cancel the loader.
      
      No new tests needed.
      
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::~DocumentLoader):
      (WebCore::DocumentLoader::continueAfterNavigationPolicy):
      (WebCore::DocumentLoader::cancelMainResourceLoad):
      (WebCore::DocumentLoader::clearMainResource):
      (WebCore):
      * loader/DocumentLoader.h: add helper method clearMainResource()
      (DocumentLoader):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      670cbed4
    • ap@apple.com's avatar
      More fixing after WebProcessShim renaming in r149074. · 1f986d4b
      ap@apple.com authored
              * Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm:
              (WebContentServiceInitializer): Updated a comment to mention the shim by its new name.
      
              * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme:
              Updated to insert the right shim.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f986d4b
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r150051. · f3f22f51
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/150051
      https://bugs.webkit.org/show_bug.cgi?id=116186
      
      Broke all JSC tests on Mac and the author is unresponsive
      (Requested by rniwa on #webkit).
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3f22f51
    • commit-queue@webkit.org's avatar
      [BlackBerry] When HTTP auth fails, only purge credentials that match the failed credentials · 8fd47179
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116164
      
      Patch by Joe Mason <jmason@blackberry.com> on 2013-05-15
      Reviewed by Rob Buis.
      
      Internal PR: 338490
      Internally Reviewed By: Lyon Chen
      
      When there are multiple HTTP requests in flight with the same bad credentials (common with
      proxy auth if the user mistyped their password), the first 407 that's received will cause
      the credentials to be purged and the password dialog to open for new credentials. This means
      that all 407's received after this should only purge the credentials if they have not
      already been updated from the dialog; otherwise they will be wiping out credentials that
      haven't failed yet.
      
      * platform/network/blackberry/NetworkJob.cpp:
      (WebCore::NetworkJob::sendRequestWithCredentials):
      (WebCore::NetworkJob::purgeCredentials):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fd47179
    • commit-queue@webkit.org's avatar
      Remove savedTimeoutReg from JITStackFrame for sh4 base JIT. · af0eaca0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116143
      
      Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-05-15
      Reviewed by Geoffrey Garen.
      
      Since r148119, timeoutCheckRegister is removed from baseline JIT.
      So we don't need to save r8 register in JITStackFrame anymore for sh4.
      
      * jit/JITStubs.cpp:
      * jit/JITStubs.h:
      (JITStackFrame):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af0eaca0
    • cfleizach@apple.com's avatar
      AX: Use caching when requesting children object on iOS · 3fe43cad
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116112
      
      Reviewed by David Kilzer.
      
      Building up the children list in the AX hierarchy can be time consuming. On iOS, this
      is now much more noticeable (I believe due to the way tables calculate their AX ignored flag).
      
      We can speed everything up if we just cache the isIgnored() attribute while building up children.
      
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXAttributeCacheEnabler::AXAttributeCacheEnabler):
      (WebCore):
      (WebCore::AXAttributeCacheEnabler::~AXAttributeCacheEnabler):
      * accessibility/AXObjectCache.h:
      (AXAttributeCacheEnabler):
      (WebCore):
      * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
      (-[WebAccessibilityObjectWrapper accessibilityHitTest:]):
      (-[WebAccessibilityObjectWrapper accessibilityElementCount]):
      (-[WebAccessibilityObjectWrapper accessibilityElementAtIndex:]):
      (-[WebAccessibilityObjectWrapper indexOfAccessibilityElement:]):
      (-[WebAccessibilityObjectWrapper accessibilityContainer]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3fe43cad
    • ap@apple.com's avatar
      <rdar://problem/13902706> Lion: com.apple.tsm.uiserver sandbox error in Console when · a80b4dd0
      ap@apple.com authored
              launching Safari
      
              Reviewed by Anders Carlsson.
      
              * WebProcess/com.apple.WebProcess.sb.in: Silence the violation.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a80b4dd0
    • andersca@apple.com's avatar
      Remove WebSocketHandshakeRequest class · 5e670f60
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116178
      
      Reviewed by Andreas Kling.
      
      Turns out WebSocketHandshakeRequest is just used by the web inspector, and there's no reason
      why we can't just use a ResourceRequest instead.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/websockets/WebSocketChannel.cpp:
      (WebCore::WebSocketChannel::didOpenSocketStream):
      * Modules/websockets/WebSocketHandshake.cpp:
      (WebCore::WebSocketHandshake::clientHandshakeRequest):
      * Modules/websockets/WebSocketHandshake.h:
      (WebCore):
      * Modules/websockets/WebSocketHandshakeRequest.cpp: Removed.
      * Modules/websockets/WebSocketHandshakeRequest.h: Removed.
      * Target.pri:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * inspector/InspectorInstrumentation.cpp:
      (WebCore):
      (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequestImpl):
      * inspector/InspectorInstrumentation.h:
      (InspectorInstrumentation):
      (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
      * inspector/InspectorResourceAgent.h:
      (WebCore):
      (InspectorResourceAgent):
      * platform/network/HTTPRequest.cpp:
      (WebCore):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e670f60
    • darin@apple.com's avatar
      Try to fix iOS build. · 656c687a
      darin@apple.com authored
              * platform/Pasteboard.h: Fix #if so that we don't try to compile pasteboard name code
              on iOS.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      656c687a
    • andersca@apple.com's avatar
      Frame::editor() should return a reference · b4170928
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116037
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      A frame's editor can never be null. Change Frame::editor() to return a reference to reflect this.
      Also, make Frame::m_editor a const member variable so nobody will accidentally set it to null.
      
      * accessibility/AccessibilityObject.cpp:
      (WebCore::AccessibilityObject::hasMisspelling):
      * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
      (AXAttributeStringSetSpelling):
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::cloneChildNodes):
      * dom/Document.cpp:
      (WebCore::acceptsEditingFocus):
      (WebCore::Document::setFocusedNode):
      (WebCore::command):
      * editing/AlternativeTextController.cpp:
      (WebCore::AlternativeTextController::timerFired):
      (WebCore::AlternativeTextController::applyDictationAlternative):
      * editing/CompositeEditCommand.cpp:
      (WebCore::EditCommandComposition::unapply):
      (WebCore::EditCommandComposition::reapply):
      (WebCore::CompositeEditCommand::apply):
      (WebCore::CompositeEditCommand::moveParagraphs):
      * editing/DeleteButton.cpp:
      (WebCore::DeleteButton::defaultEventHandler):
      * editing/DeleteButtonController.cpp:
      (WebCore::DeleteButtonController::show):
      * editing/DeleteButtonController.h:
      (WebCore::DeleteButtonControllerDisableScope::DeleteButtonControllerDisableScope):
      (WebCore::DeleteButtonControllerDisableScope::~DeleteButtonControllerDisableScope):
      * editing/DeleteSelectionCommand.cpp:
      (WebCore::DeleteSelectionCommand::mergeParagraphs):
      (WebCore::DeleteSelectionCommand::doApply):
      * editing/EditCommand.cpp:
      (WebCore::EditCommand::EditCommand):
      * editing/EditingStyle.cpp:
      (WebCore::StyleChange::StyleChange):
      * editing/Editor.cpp:
      (WebCore::Editor::markMisspellingsAfterTypingToWord):
      * editing/EditorCommand.cpp:
      (WebCore::applyCommandToFrame):
      (WebCore::executeToggleStyle):
      (WebCore::executeApplyParagraphStyle):
      (WebCore::expandSelectionToGranularity):
      (WebCore::stateStyle):
      (WebCore::valueStyle):
      (WebCore::executeCopy):
      (WebCore::executeCut):
      (WebCore::executeDefaultParagraphSeparator):
      (WebCore::executeDelete):
      (WebCore::executeDeleteBackward):
      (WebCore::executeDeleteBackwardByDecomposingPreviousCharacter):
      (WebCore::executeDeleteForward):
      (WebCore::executeDeleteToBeginningOfLine):
      (WebCore::executeDeleteToBeginningOfParagraph):
      (WebCore::executeDeleteToEndOfLine):
      (WebCore::executeDeleteToEndOfParagraph):
      (WebCore::executeDeleteToMark):
      (WebCore::executeDeleteWordBackward):
      (WebCore::executeDeleteWordForward):
      (WebCore::executeFindString):
      (WebCore::executeForwardDelete):
      (WebCore::executeIgnoreSpelling):
      (WebCore::executeInsertNewline):
      (WebCore::executeMakeTextWritingDirectionLeftToRight):
      (WebCore::executeMakeTextWritingDirectionNatural):
      (WebCore::executeMakeTextWritingDirectionRightToLeft):
      (WebCore::executeToggleOverwrite):
      (WebCore::executePaste):
      (WebCore::executePasteGlobalSelection):
      (WebCore::executePasteAndMatchStyle):
      (WebCore::executePasteAsPlainText):
      (WebCore::executeRedo):
      (WebCore::executeRemoveFormat):
      (WebCore::executeSelectToMark):
      (WebCore::executeSetMark):
      (WebCore::executeStyleWithCSS):
      (WebCore::executeUseCSS):
      (WebCore::executeSwapWithMark):
      (WebCore::executeTakeFindStringFromSelection):
      (WebCore::executeTranspose):
      (WebCore::executeUndo):
      (WebCore::executeYank):
      (WebCore::executeYankAndSelect):
      (WebCore::supportedCopyCut):
      (WebCore::supportedPaste):
      (WebCore::enabledVisibleSelection):
      (WebCore::enabledVisibleSelectionAndMark):
      (WebCore::enableCaretInEditableText):
      (WebCore::enabledCopy):
      (WebCore::enabledCut):
      (WebCore::enabledInEditableText):
      (WebCore::enabledDelete):
      (WebCore::enabledPaste):
      (WebCore::enabledRedo):
      (WebCore::enabledTakeFindStringFromSelection):
      (WebCore::enabledUndo):
      (WebCore::stateOrderedList):
      (WebCore::stateStyleWithCSS):
      (WebCore::stateUnorderedList):
      (WebCore::valueDefaultParagraphSeparator):
      * editing/FrameSelection.cpp:
      (WebCore::shouldAlwaysUseDirectionalSelection):
      (WebCore::FrameSelection::setSelection):
      (WebCore::FrameSelection::nextWordPositionForPlatform):
      (WebCore::FrameSelection::modifyMovingRight):
      (WebCore::FrameSelection::modifyMovingLeft):
      (WebCore::FrameSelection::modify):
      (WebCore::shouldStopBlinkingDueToTypingCommand):
      (WebCore::FrameSelection::shouldDeleteSelection):
      (WebCore::FrameSelection::shouldChangeSelection):
      * editing/InsertTextCommand.cpp:
      (WebCore::InsertTextCommand::doApply):
      * editing/SpellChecker.cpp:
      (WebCore::SpellChecker::didCheck):
      * editing/SpellingCorrectionCommand.cpp:
      * editing/TypingCommand.cpp:
      (WebCore::TypingCommand::insertText):
      (WebCore::TypingCommand::lastTypingCommandIfStillOpenForTyping):
      (WebCore::TypingCommand::markMisspellingsAfterTyping):
      (WebCore::TypingCommand::typingAddedToOpenCommand):
      (WebCore::TypingCommand::deleteKeyPressed):
      (WebCore::TypingCommand::forwardDeleteKeyPressed):
      * editing/htmlediting.cpp:
      (WebCore::createDefaultParagraphElement):
      * editing/mac/EditorMac.mm:
      (WebCore::Editor::pasteWithPasteboard):
      * editing/markup.cpp:
      (WebCore::createMarkup):
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::endEditing):
      * html/HTMLTextAreaElement.cpp:
      (WebCore::HTMLTextAreaElement::subtreeHasChanged):
      * html/TextFieldInputType.cpp:
      (WebCore::TextFieldInputType::handleKeydownEvent):
      (WebCore::TextFieldInputType::didSetValueByUserEdit):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::closeURL):
      (WebCore::FrameLoader::didOpenURL):
      (WebCore::FrameLoader::clear):
      * page/ContextMenuController.cpp:
      (WebCore::insertUnicodeCharacter):
      (WebCore::ContextMenuController::contextMenuItemSelected):
      (WebCore::ContextMenuController::populate):
      (WebCore::ContextMenuController::checkOrEnableIfNeeded):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::find):
      * page/DragController.cpp:
      (WebCore::DragController::dispatchTextInputEventFor):
      (WebCore::DragController::concludeEditDrag):
      (WebCore::DragController::startDrag):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::selectClosestWordFromMouseEvent):
      (WebCore::EventHandler::handleMousePressEventSingleClick):
      (WebCore::EventHandler::handlePasteGlobalSelection):
      (WebCore::EventHandler::sendContextMenuEvent):
      (WebCore::EventHandler::sendContextMenuEventForKey):
      (WebCore::EventHandler::keyEvent):
      (WebCore::EventHandler::defaultKeyboardEventHandler):
      (WebCore::EventHandler::defaultTextInputEventHandler):
      (WebCore::EventHandler::defaultBackspaceEventHandler):
      * page/FocusController.cpp:
      (WebCore::relinquishesEditingFocus):
      * page/Frame.cpp:
      (WebCore::Frame::rangeForPoint):
      * page/Frame.h:
      (Frame):
      (WebCore::Frame::editor):
      * page/Page.cpp:
      (WebCore::Page::findString):
      (WebCore::Page::findStringMatchingRanges):
      (WebCore::Page::rangeOfString):
      (WebCore::Page::markAllMatchesForText):
      (WebCore::Page::setDeviceScaleFactor):
      * platform/mac/ClipboardMac.mm:
      (WebCore::ClipboardMac::writeRange):
      * platform/mac/DragDataMac.mm:
      (WebCore::DragData::asURL):
      * platform/mac/PasteboardMac.mm:
      (WebCore::Pasteboard::getStringSelection):
      (WebCore::Pasteboard::getDataSelection):
      (WebCore::Pasteboard::writeSelectionForTypes):
      (WebCore::writeURLForTypes):
      (WebCore::Pasteboard::plainText):
      (WebCore::documentFragmentWithRTF):
      (WebCore::Pasteboard::documentFragment):
      * rendering/HitTestResult.cpp:
      (WebCore::HitTestResult::dictationAlternatives):
      * rendering/InlineTextBox.cpp:
      (WebCore::InlineTextBox::paint):
      (WebCore::InlineTextBox::paintTextMatchMarker):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::positionForPointWithInlineChildren):
      * testing/Internals.cpp:
      (WebCore::spellchecker):
      (WebCore::Internals::resetToConsistentState):
      (WebCore::Internals::hasSpellingMarker):
      (WebCore::Internals::hasAutocorrectedMarker):
      (WebCore::Internals::setContinuousSpellCheckingEnabled):
      (WebCore::Internals::setAutomaticQuoteSubstitutionEnabled):
      (WebCore::Internals::setAutomaticLinkDetectionEnabled):
      (WebCore::Internals::setAutomaticDashSubstitutionEnabled):
      (WebCore::Internals::setAutomaticTextReplacementEnabled):
      (WebCore::Internals::setAutomaticSpellingCorrectionEnabled):
      (WebCore::Internals::isOverwriteModeEnabled):
      (WebCore::Internals::toggleOverwriteModeEnabled):
      (WebCore::Internals::hasGrammarMarker):
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/EditorClientBlackBerry.cpp:
      (WebCore::EditorClientBlackBerry::shouldSpellCheckFocusedField):
      (WebCore::EditorClientBlackBerry::handleKeyboardEvent):
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::elementHasContinuousSpellCheckingEnabled):
      * WebKitSupport/InPageSearchManager.cpp:
      (BlackBerry::WebKit::InPageSearchManager::findAndMarkText):
      (BlackBerry::WebKit::InPageSearchManager::scopeStringMatches):
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::SelectionHandler::selectedText):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::executeCoreCommandByName):
      (DumpRenderTreeSupportEfl::isCommandEnabled):
      * WebCoreSupport/EditorClientEfl.cpp:
      (WebCore::EditorClientEfl::respondToChangedSelection):
      (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
      * ewk/ewk_frame.cpp:
      (ewk_frame_editable_set):
      (ewk_frame_selection_get):
      (ewk_frame_text_search):
      (ewk_frame_text_matches_mark):
      (ewk_frame_text_matches_highlight_set):
      (ewk_frame_text_matches_highlight_get):
      * ewk/ewk_view.cpp:
      (ewk_view_selection_get):
      (ewk_view_editor_command_execute):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/ChromeClientGtk.cpp:
      (WebKit::ChromeClient::paint):
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      (DumpRenderTreeSupportGtk::executeCoreCommandByName):
      (DumpRenderTreeSupportGtk::isCommandEnabled):
      * WebCoreSupport/EditorClientGtk.cpp:
      (WebKit::EditorClient::respondToChangedSelection):
      (WebKit::EditorClient::executePendingEditorCommands):
      (WebKit::EditorClient::handleKeyboardEvent):
      * WebCoreSupport/WebViewInputMethodFilter.cpp:
      (WebKit::WebViewInputMethodFilter::canEdit):
      (WebKit::WebViewInputMethodFilter::confirmCompositionText):
      (WebKit::WebViewInputMethodFilter::confirmCurrentComposition):
      (WebKit::WebViewInputMethodFilter::cancelCurrentComposition):
      (WebKit::WebViewInputMethodFilter::setPreedit):
      * webkit/webkitwebframe.cpp:
      (webkit_web_frame_replace_selection):
      * webkit/webkitwebview.cpp:
      (getLocationForKeyboardGeneratedContextMenu):
      (webkit_web_view_focus_in_event):
      (webkit_web_view_real_select_all):
      (webkit_web_view_real_cut_clipboard):
      (webkit_web_view_real_copy_clipboard):
      (webkit_web_view_real_undo):
      (webkit_web_view_real_redo):
      (webkit_web_view_real_paste_clipboard):
      (webkit_web_view_set_highlight_text_matches):
      (webkit_web_view_can_cut_clipboard):
      (webkit_web_view_can_copy_clipboard):
      (webkit_web_view_can_paste_clipboard):
      (webkit_web_view_delete_selection):
      (webkit_web_view_set_editable):
      (webkit_web_view_can_undo):
      (webkit_web_view_can_redo):
      
      Source/WebKit/mac:
      
      * WebView/WebFrame.mm:
      (-[WebFrame _selectedString]):
      (-[WebFrame _firstRectForDOMRange:]):
      (-[WebFrame _markDOMRange]):
      (-[WebFrame _insertParagraphSeparatorInQuotedContent]):
      (-[WebFrame _setTypingStyle:withUndoAction:]):
      (-[WebFrame _replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
      * WebView/WebHTMLRepresentation.mm:
      (-[WebHTMLRepresentation finishedLoadingWithDataSource:]):
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
      (-[WebHTMLView _shouldDeleteRange:]):
      (-[WebHTMLView _canEdit]):
      (-[WebHTMLView _canEditRichly]):
      (-[WebHTMLView _insertOrderedList]):
      (-[WebHTMLView _insertUnorderedList]):
      (-[WebHTMLView _canIncreaseSelectionListLevel]):
      (-[WebHTMLView _canDecreaseSelectionListLevel]):
      (-[WebHTMLView _increaseSelectionListLevel]):
      (-[WebHTMLView _increaseSelectionListLevelOrdered]):
      (-[WebHTMLView _increaseSelectionListLevelUnordered]):
      (-[WebHTMLView _decreaseSelectionListLevel]):
      (-[WebHTMLView Editor::coreCommandBySelector:]):
      (-[WebHTMLView Editor::coreCommandByName:]):
      (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
      (-[WebHTMLView becomeFirstResponder]):
      (-[WebHTMLView _selectionStartFontAttributesAsRTF]):
      (-[WebHTMLView _applyStyleToSelection:withUndoAction:]):
      (-[WebHTMLView _changeCSSColorUsingSelector:inRange:]):
      (-[WebHTMLView checkSpelling:]):
      (-[WebHTMLView showGuessPanel:]):
      (-[WebHTMLView toggleBaseWritingDirection:]):
      (-[WebHTMLView changeBaseWritingDirection:]):
      (-[WebHTMLView _changeBaseWritingDirectionTo:]):
      (-[WebHTMLView _updateFontPanel]):
      (-[WebHTMLView markedRange]):
      (-[WebHTMLView hasMarkedText]):
      (-[WebHTMLView unmarkText]):
      (-[WebHTMLView setMarkedText:selectedRange:]):
      (-[WebHTMLView doCommandBySelector:]):
      (-[WebHTMLView insertText:]):
      (-[WebHTMLView _updateSelectionForInputManager]):
      (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
      (-[WebHTMLView setMarkedTextMatchesAreHighlighted:]):
      (-[WebHTMLView markedTextMatchesAreHighlighted]):
      (-[WebHTMLView _findString:options:]):
      * WebView/WebView.mm:
      (-[WebView _executeCoreCommandByName:value:]):
      (-[WebView editableDOMRangeForPoint:]):
      (-[WebView setEditable:]):
      (-[WebView deleteSelection]):
      (-[WebView applyStyle:]):
      (-[WebView typingAttributes]):
      (-[WebView _simplifyMarkup:endNode:]):
      (-[WebView handleAcceptedAlternativeText:]):
      
      Source/WebKit/qt:
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::executeCoreCommandByName):
      (DumpRenderTreeSupportQt::isCommandEnabled):
      (DumpRenderTreeSupportQt::firstRectForCharacterRange):
      * WebCoreSupport/EditorClientQt.cpp:
      (WebCore::EditorClientQt::respondToChangedSelection):
      (WebCore::EditorClientQt::registerUndoStep):
      (WebCore::EditorClientQt::handleKeyboardEvent):
      * WebCoreSupport/QWebPageAdapter.cpp:
      (QWebPageAdapter::selectedText):
      (QWebPageAdapter::selectedHtml):
      (QWebPageAdapter::setContentEditable):
      
      Source/WebKit/win:
      
      * WebCoreSupport/WebContextMenuClient.cpp:
      (WebContextMenuClient::searchWithGoogle):
      * WebFrame.cpp:
      (WebFrame::hasSpellingMarker):
      (WebFrame::setTextDirection):
      (WebFrame::selectedString):
      (WebFrame::selectAll):
      * WebView.cpp:
      (WebView::execCommand):
      (WebView::handleEditingKeyboardEvent):
      (WebView::executeCoreCommandByName):
      (WebView::selectedText):
      (WebView::deleteEnabled):
      (WebView::editingEnabled):
      (WebView::replaceSelectionWithText):
      (WebView::copy):
      (WebView::cut):
      (WebView::paste):
      (WebView::copyURL):
      (WebView::delete_):
      (WebView::checkSpelling):
      (WebView::showGuessPanel):
      (WebView::clearUndoRedoOperations):
      (WebView::prepareCandidateWindow):
      (WebView::resetIME):
      (WebView::updateSelectionForIME):
      (WebView::onIMEComposition):
      (WebView::onIMEEndComposition):
      (WebView::onIMERequestCharPosition):
      (WebView::onIMERequest):
      (WebView::setCompositionForTesting):
      (WebView::hasCompositionForTesting):
      (WebView::confirmCompositionForTesting):
      (WebView::compositionRangeForTesting):
      (WebView::firstRectForCharacterRangeForTesting):
      (WebView::selectedRangeForTesting):
      
      Source/WebKit/wince:
      
      * WebCoreSupport/EditorClientWinCE.cpp:
      (WebKit::EditorClientWinCE::handleEditingKeyboardEvent):
      
      Source/WebKit2:
      
      * WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
      (WebKit::WebContextMenuClient::searchWithGoogle):
      * WebProcess/WebCoreSupport/WebEditorClient.cpp:
      (WebKit::WebEditorClient::updateGlobalSelection):
      * WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:
      (WebKit::WebEditorClient::handleInputMethodKeydown):
      * WebProcess/WebCoreSupport/gtk/WebEditorClientGtk.cpp:
      (WebKit::WebEditorClient::executePendingEditorCommands):
      (WebKit::WebEditorClient::handleKeyboardEvent):
      * WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm:
      (WebKit::WebContextMenuClient::searchWithGoogle):
      (WebKit::WebContextMenuClient::searchWithSpotlight):
      * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
      (WebKit::changeWordCase):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::selectionAsString):
      (WebKit::WebFrame::setTextDirection):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::editorState):
      (WebKit::WebPage::executeEditingCommand):
      (WebKit::WebPage::isEditingCommandEnabled):
      (WebKit::WebPage::validateCommand):
      (WebKit::WebPage::handleEditingKeyboardEvent):
      (WebKit::WebPage::advanceToNextMisspelling):
      (WebKit::WebPage::uppercaseWord):
      (WebKit::WebPage::lowercaseWord):
      (WebKit::WebPage::capitalizeWord):
      (WebKit::WebPage::replaceSelectionWithText):
      (WebKit::WebPage::handleAlternativeTextUIResult):
      (WebKit::WebPage::setCompositionForTesting):
      (WebKit::WebPage::hasCompositionForTesting):
      (WebKit::WebPage::confirmCompositionForTesting):
      (WebKit::WebPage::setComposition):
      (WebKit::WebPage::cancelComposition):
      * WebProcess/WebPage/efl/WebPageEfl.cpp:
      (WebKit::WebPage::confirmComposition):
      (WebKit::WebPage::setComposition):
      (WebKit::WebPage::cancelComposition):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::WebPage::executeKeypressCommandsInternal):
      (WebKit::WebPage::handleEditingKeyboardEvent):
      (WebKit::WebPage::setComposition):
      (WebKit::WebPage::confirmComposition):
      (WebKit::WebPage::cancelComposition):
      (WebKit::WebPage::insertText):
      (WebKit::WebPage::insertDictatedText):
      (WebKit::WebPage::getMarkedRange):
      (WebKit::WebPage::firstRectForCharacterRange):
      (WebKit::WebPage::readSelectionFromPasteboard):
      (WebKit::WebPage::getStringSelectionForPasteboard):
      (WebKit::WebPage::getDataSelectionForPasteboard):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4170928
    • darin@apple.com's avatar
      [Mac] Make Clipboard class no longer polymorphic by removing the last virtual functions · 59c55963
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116166
      
      Reviewed by Anders Carlsson.
      
      * WebCore.exp.in: Add ~Clipboard since it's no longer a virtual function, but to the
      non-iOS section, since iOS is still using the legacy version of Clipboard.
      
      * dom/Clipboard.h: Mark items non-virtual, too. It's not implemented on Mac yet.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59c55963
    • commit-queue@webkit.org's avatar
      Remove an overloaded strokeRect in <canvas> · b8fc5d84
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116017
      
      Patch by Dongseong Hwang <dongseong.hwang@intel.com> on 2013-05-15
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      The canvas spec [1] does not define strokeRect with 5 arguments, so this issue
      remains only strokeRect with 4 arguments.
      
      [1] http://www.w3.org/TR/2dcontext2/
      
      Covered by existing tests: canvas/philip/tests/2d.missingargs.html
      
      * html/canvas/CanvasRenderingContext2D.cpp:
      (WebCore::CanvasRenderingContext2D::strokeRect):
      * html/canvas/CanvasRenderingContext2D.h:
      (CanvasRenderingContext2D):
      * html/canvas/CanvasRenderingContext2D.idl:
      
      LayoutTests:
      
      canvas/philip/tests/2d.missingargs.html can cover
      fast/canvas/canvas-overloads-strokeRect.html, so this patch removed it.
      
      * fast/canvas/canvas-overloads-strokeRect-expected.txt: Removed.
      * fast/canvas/canvas-overloads-strokeRect.html: Removed.
      * fast/canvas/script-tests/canvas-overloads-strokeRect.js: Removed.
      * fast/canvas/script-tests/canvas-strokeRect.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8fc5d84
    • bruno.abinader@basyskom.com's avatar
      [css3-text] text-decoration-line now accepts "blink" as valid value · 24b2ad3d
      bruno.abinader@basyskom.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116104
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      As of November 13th 2012, the W3C specification has been updated to
      accept "blink" as a valid property value in text-decoration-line. Though
      accepting the value as valid, it is ignored as CSS Level 1
      text-decoration property currently does.
      
      Updated related layout tests to reflect changes in specification.
      
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      (WebCore::CSSParser::parseTextDecoration):
      
      LayoutTests:
      
      Updated layout test results to reflect changes in specification.
      
      * fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt:
      * fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-line.js:
      * fast/css3-text/css3-text-decoration/text-decoration-line-expected.html:
      * fast/css3-text/css3-text-decoration/text-decoration-line.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24b2ad3d
    • simon.fraser@apple.com's avatar
      Revert http://trac.webkit.org/changeset/150047 · 98b9fab3
      simon.fraser@apple.com authored
      It introduced unwanted behavioral differences between
      Retina and non-Retina Mac hardware.
      
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::requiresTiledLayer):
      (WebCore::GraphicsLayerCA::computePixelAlignment):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98b9fab3
    • thakis@chromium.org's avatar
      WebKit doesn't support MSVS2003 any more, remove preprocessor checks for older versions. · 1d80de8f
      thakis@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116157
      
      Reviewed by Anders Carlsson.
      
      Also remove a gcc3.2 workaround.
      
      Merges parts of these two commits by the talented Nico Weber:
      https://chromium.googlesource.com/chromium/blink/+/3677e2f47348daeff405a40b6f90fbdf0654c2f5
      https://chromium.googlesource.com/chromium/blink/+/0fcd96c448dc30be1416dcc15713c53710c1a312
      
      Source/JavaScriptCore:
      
      * os-win32/inttypes.h:
      
      Source/WTF:
      
      * wtf/Alignment.h:
      (WTF):
      * wtf/Assertions.h:
      * wtf/Atomics.h:
      (WTF):
      * wtf/Compiler.h:
      * wtf/DateMath.cpp:
      (WTF::getLocalTime):
      * wtf/MathExtras.h:
      * wtf/RefCountedLeakCounter.h:
      (RefCountedLeakCounter):
      * wtf/StaticConstructors.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d80de8f
    • andersca@apple.com's avatar
      Need a way for NPAPI plug-ins to open preference panes · 74a3ce69
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116173
      <rdar://problem/13503848>
      
      Reviewed by Sam Weinig.
      
      * PluginProcess/PluginControllerProxy.h:
      Add openPluginPreferencePane().
      
      * PluginProcess/mac/PluginControllerProxyMac.mm:
      (WebKit::PluginControllerProxy::openPluginPreferencePane):
      Send OpenPluginPreferencePane to the UI process.
      
      * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
      (WebKit::NetscapePluginModule::getPluginInfo):
      Get the preference pane path.
      
      * Shared/Plugins/PluginModuleInfo.h:
      Add preferencePanePath member variable.
      
      * UIProcess/Plugins/PluginProcessProxy.h:
      Add openPluginPreferencePane message handler.
      
      * UIProcess/Plugins/PluginProcessProxy.messages.in:
      ADd OpenPluginPreferencePane message.
      
      * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
      (WebKit::PluginProcessProxy::openPluginPreferencePane):
      Get the path to the preference pane and use LS to open it.
      
      * WebKit2.xcodeproj/project.pbxproj:
      Add new files.
      
      * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
      (WebKit::NPN_GetValue):
      Handle WKNVPlugInContainer.
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.h:
      Add WKNVPlugInContainer member variable.
      
      * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
      (WebKit::NetscapePlugin::openPluginPreferencePane):
      Call through to the plug-in controller.
      
      (WebKit::NetscapePlugin::plugInContainer):
      Create a WKNPAPIPlugInContainer object if necessary.
      
      (WebKit::NetscapePlugin::platformDestroy):
      Invalidate the WKNPAPIPlugInContainer object.
      
      * WebProcess/Plugins/Netscape/mac/WKNPAPIPlugInContainer.h:
      New file with the protocol definition.
      
      * WebProcess/Plugins/Netscape/mac/WKNPAPIPlugInContainer.mm:
      (-[WKNPAPIPlugInContainer dealloc]):
      Assert that the plug-in is null (that we've been invalidated).
      
      (-[WKNPAPIPlugInContainer _invalidate]):
      Set the plug-in to null.
      
      (-[WKNPAPIPlugInContainer openPlugInPreferencePane]):
      Call through to the plug-in.
      
      * WebProcess/Plugins/Netscape/mac/WKNPAPIPlugInContainerInternal.h:
      New file with the interface declaration for the object that implements the protocol.
      
      * WebProcess/Plugins/PluginController.h:
      Add openPluginPreferencePane member function.
      
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::openPluginPreferencePane):
      Add stub; this should never be called since we always go through the UI process.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74a3ce69
    • ap@apple.com's avatar
      [WK2][Mac] Split resetTextInputState into two functions · da52501d
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=116174
      
              Reviewed by Anders Carlsson.
      
              Splitting resetTextInputState into resetSecureInputState and
              notifyInputContextAboutDiscardedComposition, paving the way for a fix where these
              won't be happening simultaneously.
      
              * UIProcess/API/mac/PageClientImpl.h:
              * UIProcess/API/mac/PageClientImpl.mm:
              (WebKit::PageClientImpl::resetSecureInputState):
              (WebKit::PageClientImpl::notifyInputContextAboutDiscardedComposition):
              * UIProcess/API/mac/WKView.mm:
              (-[WKView resignFirstResponder]):
              (-[WKView _resetSecureInputState]):
              (-[WKView _notifyInputContextAboutDiscardedComposition]):
              * UIProcess/API/mac/WKViewInternal.h:
              * UIProcess/PageClient.h:
              * UIProcess/WebPageProxy.cpp:
              (WebKit::WebPageProxy::didCommitLoadForFrame):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da52501d
    • bfulgham@apple.com's avatar
      [Windows] Update various build tools to understand VS2010 environment. · c67dac6a
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116169.
      
      Reviewed by Anders Carlsson.
      
      * Scripts/build-api-tests: Identify VS2010 environment.
      * Scripts/build-dumprendertree: Ditto.
      * Scripts/build-webkit: Ditto.
      * Scripts/webkitdirs.pm:
      (dieIfWindowsPlatformSDKNotInstalled): Update to recognize a wider
      range of acceptable SDK's.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c67dac6a
    • carlosgc@webkit.org's avatar
      [GTK] Add padding to all public class structs for future expansion without breaking ABI · c34e09a1
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112565
      
      Reviewed by Anders Carlsson.
      
      Use 4 pointers for most of the classes that are unlikely to grow
      and 8 for WebKitWebView and WebKitWebContext.
      
      * UIProcess/API/gtk/WebKitBackForwardList.h:
      (_WebKitBackForwardListClass):
      * UIProcess/API/gtk/WebKitBackForwardListItem.h:
      (_WebKitBackForwardListItemClass):
      * UIProcess/API/gtk/WebKitContextMenu.h:
      (_WebKitContextMenuClass):
      * UIProcess/API/gtk/WebKitContextMenuItem.h:
      (_WebKitContextMenuItemClass):
      * UIProcess/API/gtk/WebKitCookieManager.h:
      (_WebKitCookieManagerClass):
      * UIProcess/API/gtk/WebKitDownload.h:
      (_WebKitDownloadClass):
      * UIProcess/API/gtk/WebKitFaviconDatabase.h:
      (_WebKitFaviconDatabaseClass):
      * UIProcess/API/gtk/WebKitFileChooserRequest.h:
      (_WebKitFileChooserRequestClass):
      * UIProcess/API/gtk/WebKitFindController.h:
      (_WebKitFindControllerClass):
      * UIProcess/API/gtk/WebKitFormSubmissionRequest.h:
      (_WebKitFormSubmissionRequestClass):
      * UIProcess/API/gtk/WebKitGeolocationPermissionRequest.h:
      (_WebKitGeolocationPermissionRequestClass):
      * UIProcess/API/gtk/WebKitHitTestResult.h:
      (_WebKitHitTestResultClass):
      * UIProcess/API/gtk/WebKitNavigationPolicyDecision.h:
      (_WebKitNavigationPolicyDecisionClass):
      * UIProcess/API/gtk/WebKitPlugin.h:
      (_WebKitPluginClass):
      * UIProcess/API/gtk/WebKitPolicyDecision.h:
      (_WebKitPolicyDecisionClass):
      * UIProcess/API/gtk/WebKitPrintOperation.h:
      (_WebKitPrintOperationClass):
      * UIProcess/API/gtk/WebKitResponsePolicyDecision.h:
      (_WebKitResponsePolicyDecisionClass):
      * UIProcess/API/gtk/WebKitSecurityManager.h:
      (_WebKitSecurityManagerClass):
      * UIProcess/API/gtk/WebKitSettings.h:
      (_WebKitSettingsClass):
      * UIProcess/API/gtk/WebKitURIRequest.h:
      (_WebKitURIRequestClass):
      * UIProcess/API/gtk/WebKitURIResponse.h:
      (_WebKitURIResponseClass):
      * UIProcess/API/gtk/WebKitURISchemeRequest.h:
      (_WebKitURISchemeRequestClass):
      * UIProcess/API/gtk/WebKitWebContext.h:
      (_WebKitWebContextClass):
      * UIProcess/API/gtk/WebKitWebInspector.h:
      (_WebKitWebInspectorClass):
      * UIProcess/API/gtk/WebKitWebResource.h:
      (_WebKitWebResourceClass):
      * UIProcess/API/gtk/WebKitWebView.h:
      (_WebKitWebViewClass):
      * UIProcess/API/gtk/WebKitWebViewBase.h:
      (_WebKitWebViewBaseClass):
      * UIProcess/API/gtk/WebKitWebViewGroup.h:
      (_WebKitWebViewGroupClass):
      * UIProcess/API/gtk/WebKitWindowProperties.h:
      (_WebKitWindowPropertiesClass):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c34e09a1
    • darin@apple.com's avatar
      [Mac] Remove the ClipboardMac class and header file · 8f3cf4c5
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116165
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore:
      
      * WebCore.xcodeproj/project.pbxproj: Remove ClipboardMac.h.
      * editing/mac/EditorMac.mm: Import Clipboard.h rather than ClipboardMac.h.
      * page/mac/EventHandlerMac.mm: Ditto.
      * platform/mac/ClipboardMac.h: Removed.
      
      * platform/mac/ClipboardMac.mm: Import Clipboard.h rather than ClipboardMac.h.
      Deleted ClipboardMac constructor.
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebDragClient.mm: Import Clipboard.h instead of ClipboardMac.h.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f3cf4c5
    • commit-queue@webkit.org's avatar
      Allow http tests on Arch Linux · ab3d324e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116155
      
      Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2013-05-15
      Reviewed by Ryosuke Niwa.
      
      Tools:
      
      * Scripts/webkitpy/port/base.py:
      (Port._is_arch_based): Added check for /etc/arch-release file.
      (Port._apache_config_file_name_for_platform): Call the check.
      * Scripts/webkitpy/port/port_testcase.py:
      (test_linux_distro_detection): Testcase added.
      
      LayoutTests:
      
      * http/conf/archlinux-httpd.conf: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab3d324e
    • darin@apple.com's avatar
      [Mac] Change Clipboard::create functions so they don't use ClipboardMac::create any more · 66442b84
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116163
      
      Reviewed by Anders Carlsson.
      
      * dom/Clipboard.h: Made the file drag boolean default to false, better for most callers.
      
      * platform/mac/ClipboardMac.mm: Remove #if ENABLE(DRAG_SUPPORT); that's always on for Mac
      and it's not helpful to have the conditionals in here. It's helpful in cross-platform
      source files.
      (WebCore::Clipboard::create): Create a Pasteboard and then create a Clipboard with new.
      Later could refactor to have the Pasteboard creation be platform-specific, and make these
      functions platform-independent.
      (WebCore::Clipboard::createForDragAndDrop): Ditto.
      (WebCore::Clipboard::createForCopyAndPaste): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66442b84
    • commit-queue@webkit.org's avatar
      Remove a leftover v8 file from the watchlist · 9c33d726
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116158
      
      Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2013-05-15
      Reviewed by Csaba Osztrogonác.
      
      * Scripts/webkitpy/common/config/watchlist: Removed a v8 entry from the watchlist.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c33d726
    • darin@apple.com's avatar
      [Mac] Remove call to ClipboardMac::create from Editor::newGeneralClipboard · b28b9182
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116162
      
      Reviewed by Andreas Kling.
      
      * dom/Clipboard.h: Add createForCopyAndPaste function.
      
      * editing/mac/EditorMac.mm:
      (WebCore::Editor::newGeneralClipboard): Call createForCopyAndPaste.
      
      * platform/mac/ClipboardMac.mm:
      (WebCore::Clipboard::createForCopyAndPaste): Added. Moved code here from
      Editor::newGeneralClipboard.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b28b9182
    • darin@apple.com's avatar
      [Mac] Remove call to ClipboardMac::create from EventHandler::createDraggingClipboard · b14a1df3
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116161
      
      Reviewed by Andreas Kling.
      
      * dom/Clipboard.h: Added createForDragAndDrop function.
      
      * page/mac/EventHandlerMac.mm:
      (WebCore::EventHandler::createDraggingClipboard): Changed to use new Clipboard function
      instead of ClipboardMac::create.
      
      * platform/mac/ClipboardMac.mm:
      (WebCore::Clipboard::createForDragAndDrop): Added. For now it does exactly what the
      EventHandler::createDraggingClipboard function did, soon to be refactored better.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b14a1df3
    • paroga@webkit.org's avatar
      Consolidate lists in WTF CMake files · 05d4b7f2
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116142
      
      Reviewed by Martin Robinson.
      
      Move common files into the CMakeLists.txt to avoid duplicating the list of files.
      Also rebase the recently added GTK files to match the other CMake ports, since
      the submitted patch was based on an older version of the source tree.
      
      .:
      
      * Source/cmake/OptionsGTK.cmake:
      
      Source/WTF:
      
      * wtf/CMakeLists.txt:
      * wtf/PlatformBlackBerry.cmake:
      * wtf/PlatformEfl.cmake:
      * wtf/PlatformGTK.cmake:
      * wtf/PlatformWinCE.cmake:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05d4b7f2
    • darin@apple.com's avatar
      [Mac] Thin out the ClipboardMac class and header file to prepare for deleting them · bb9f15d4
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116159
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      * dom/Clipboard.h:
      (WebCore::Clipboard::pasteboard): Added. For clients that have a DOM clipboard
      object and need to get to the Pasteboard platform abstraction.
      
      * editing/Editor.cpp:
      (WebCore::Editor::dispatchCPPEvent): Call writePasteboard instead of writeClipboard.
      Our long term plan is to delete writeClipboard.
      
      * platform/Pasteboard.h: Added writePasteboard function.
      (WebCore::Pasteboard::name): Made this const.
      
      * platform/mac/ClipboardMac.h: Deleted unneeded includes and forward declarations.
      Deleted all the data members and the virtual destructor.
      
      * platform/mac/ClipboardMac.mm: Deleted the many includes that are no longer needed.
      Deleted the destructor, since it's now automatically generated. Deleted the comment
      on an #endif since it's only a few source lines away from the #if.
      (WebCore::ClipboardMac::ClipboardMac): Deleted the code to set the data members,
      since they are no longer used.
      
      * platform/mac/PasteboardMac.mm: Changed include to Clipboard.h instead of ClipboardMac.h.
      (WebCore::Pasteboard::writePasteboard): Replaced writeClipboard with this.
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebDragClient.mm:
      (WebDragClient::willPerformDragSourceAction): Changed to get the pasteboard name
      without going through the ClipboardMac class.
      (WebDragClient::startDrag): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb9f15d4
    • commit-queue@webkit.org's avatar
      Web Inspector: Get rid of addNativeSnapshotChunk and HeapSnapshotChunk from Memory domain · b258f48a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116144
      
      Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-05-15
      Reviewed by Timothy Hatcher.
      
      No new tests, no behavior change.
      
      * inspector/Inspector.json:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b258f48a
    • jocelyn.turcotte@digia.com's avatar
      [Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed. · 30810c36
      jocelyn.turcotte@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116035
      
      Reviewed by Allan Sandfeld Jensen.
      
      Source/WebCore:
      
      The previous fix only moved the crash location from WebKit down to QNetworkReplyHttpImpl
      which expects its QNetworkAccessManager to still be alive.
      
      Fix it by watching the QNetworkReply's destroyed() signal and avoid the dangling pointer
      instead. The QNetworkReply doesn't need to be aborted in this case anyway.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
      (WebCore::QNetworkReplyWrapper::release):
      (WebCore::QNetworkReplyWrapper::stopForwarding):
        Rename resetConnections to stopForwarding since not all connections are related
        to data forwarding to the client anymore.
      (WebCore::QNetworkReplyWrapper::receiveMetaData):
      (WebCore::QNetworkReplyWrapper::replyDestroyed):
      (WebCore::QNetworkReplyWrapper::didReceiveFinished):
      * platform/network/qt/QNetworkReplyHandler.h:
      (QNetworkReplyWrapper):
      
      Source/WebKit/qt:
      
      * tests/qwebpage/tst_qwebpage.cpp:
      (tst_QWebPage::networkReplyParentDidntChange): Change test to match the new expectation.
      (tst_QWebPage::destroyQNAMBeforeAbortDoesntCrash):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30810c36
    • darin@apple.com's avatar
      [Mac] Make Clipboard::declareAndWriteDragImage non-virtual · 063ec590
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116156
      
      Reviewed by Anders Carlsson.
      
      * dom/Clipboard.h: Make declareAndWriteDragImage non-virtual for non-legacy.
      
      * platform/Pasteboard.h:
      (WebCore::Pasteboard::name): Added. Can be used in Mac platform code to do
      pasteboard operations directly instead of through the Pasteboard class
      functions. Not sure if we'll need it long term or not.
      
      * platform/mac/ClipboardMac.h: Removed declareAndWriteDragImage function.
      
      * platform/mac/ClipboardMac.mm:
      (WebCore::Clipboard::declareAndWriteDragImage): Made this function a Clipboard
      member instead of ClipboardMac.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      063ec590
    • commit-queue@webkit.org's avatar
      [curl] Remove version #if guards · bce1ef51
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116152
      
      Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2013-05-15
      Reviewed by Brent Fulgham.
      
      No tests required.
      
      * platform/network/curl/ResourceHandleCurl.cpp:
      (WebCore::ResourceHandle::platformSetDefersLoading): Removed version guard.
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::writeCallback): Ditto.
      (WebCore::headerCallback): Ditto.
      (WebCore::readCallback): Ditto.
      (WebCore::ResourceHandleManager::dispatchSynchronousJob): Ditto.
      (WebCore::ResourceHandleManager::initializeHandle): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bce1ef51
    • commit-queue@webkit.org's avatar
      [GTK] Fails to build while generating gtkdoc · 3ea44775
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115612
      
      Patch by Alberto Garcia <agarcia@igalia.com> on 2013-05-15
      Reviewed by Philippe Normand.
      
      Fix typo in the prerequisites of docs-build.stamp.
      
      * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ea44775
    • zandobersek@gmail.com's avatar
      Unreviewed, fixing the current test-webkitpy failure. · 471e5c6e
      zandobersek@gmail.com authored
      * Scripts/webkitpy/port/mac_unittest.py:
      (test_setup_environ_for_server): Adjusting the expected DYLD_INSERT_LIBRARIES environment variable value
      in webkitpy.port.mac_unittest.test_setup_environ_for_server after r150089.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      471e5c6e
    • paroga@webkit.org's avatar
      Remove unnecessary dependecy on CoreFoundation from WebDatabaseManager · 85ebcdb1
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115993
      
      Reviewed by Anders Carlsson.
      
      Using COMPropertyBag instead of CFDictionaryPropertyBag also reduces
      the total lines of code needed for the same functionality.
      
      * WebDatabaseManager.cpp:
      (WebDatabaseManager::dispatchDidModifyDatabase):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85ebcdb1
    • ddkilzer@apple.com's avatar
      BUILD FIX (r150089): Make WebCoreTestShim build for iOS · c1887c18
      ddkilzer@apple.com authored
      * Configurations/WebCoreTestShim.xcconfig: Exclude
      WebCoreTestShimLibrary.cpp when building for iOS.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1887c18
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 3b0bc1be
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Removing two redundant flaky crasher expectations. Adjusting one expectation,
      assigning it a mock bug modifier so the TestExpectations linting passes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b0bc1be
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 8e20fb1c
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Removing failure expectations for 7 CSS Regions and CSS Exclusions reftests.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e20fb1c