1. 02 Nov, 2011 1 commit
    • jonlee@apple.com's avatar
      Expand DragController to provide more information about the dragging session · d18aac0a
      jonlee@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=71324
      <rdar://problem/10379175>
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      * WebCore.xcodeproj/project.pbxproj:
      * page/DragController.cpp:
      (WebCore::DragController::dragEntered):
      (WebCore::DragController::dragUpdated):
      (WebCore::DragController::dragEnteredOrUpdated):
      (WebCore::DragController::tryDocumentDrag): In addition to determining the
      drag operation, DragSession is updated with data regarding whether the mouse
      is over a file input, and the number of items that would be accepted based on
      the mouse's location.
      * page/DragController.h:
      * page/DragSession.h: Added.
      (WebCore::DragSession::DragSession): Keep track of current operation, whether
      the mouse is over a file input element, and how many files would be accepted if
      dropped.
      * platform/DragData.h: Added numberOfFiles()
      * platform/chromium/DragDataChromium.cpp:
      (WebCore::DragData::numberOfFiles):
      * platform/efl/DragDataEfl.cpp:
      (WebCore::DragData::numberOfFiles):
      * platform/gtk/DragDataGtk.cpp:
      (WebCore::DragData::numberOfFiles):
      * platform/mac/DragDataMac.mm:
      (WebCore::DragData::numberOfFiles):
      * platform/qt/DragDataQt.cpp:
      (WebCore::DragData::numberOfFiles):
      * platform/win/DragDataWin.cpp:
      (WebCore::DragData::numberOfFiles):
      * platform/wince/DragDataWinCE.cpp:
      (WebCore::DragData::numberOfFiles):
      * platform/wx/DragDataWx.cpp:
      (WebCore::DragData::numberOfFiles):
      
      Source/WebKit/chromium:
      
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::dragTargetDragEnterOrOver): The drag operation is contained
      within the new DragSession struct. Minor refactor.
      
      Source/WebKit/gtk:
      
      * webkit/webkitwebview.cpp:
      (webkit_web_view_drag_motion): Minor refactoring.
      (webkit_web_view_drag_data_received): Minor refactoring.
      
      Source/WebKit/mac:
      
      * WebView/WebView.mm:
      (-[WebView draggingEntered:]): DragOperation is now inside the DragSession struct.
      (-[WebView draggingUpdated:]):
      
      Source/WebKit/qt:
      
      * Api/qwebpage.cpp:
      (QWebPagePrivate::dragEnterEvent): Minor refactoring because operation is stored in
      new DragSession struct.
      (QWebPagePrivate::dragMoveEvent): Ditto.
      
      Source/WebKit/win:
      
      * WebView.cpp:
      (WebView::DragEnter): Minor refactoring because operation is stored in
      new DragSession struct.
      (WebView::DragOver): Ditto.
      
      Source/WebKit2:
      
      We now pass the DragSession struct from the Web to the UI process, instead of the
      DragOperation enum.
      
      * Scripts/webkit2/messages.py:
      * Shared/WebCoreArgumentCoders.cpp:
      (CoreIPC::::encode):
      (CoreIPC::::decode):
      * Shared/WebCoreArgumentCoders.h:
      * UIProcess/API/mac/WKView.mm:
      (-[WKView draggingUpdated:]):
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::WebPageProxy): We now cache the last known DragSession state
      (WebKit::WebPageProxy::didPerformDragControllerAction):
      * UIProcess/WebPageProxy.h:
      (WebKit::WebPageProxy::dragSession):
      (WebKit::WebPageProxy::resetDragOperation):
      * UIProcess/WebPageProxy.messages.in:
      * UIProcess/win/WebView.cpp:
      (WebKit::WebView::keyStateToDragOperation):
      (WebKit::WebView::DragEnter):
      (WebKit::WebView::DragOver):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::performDragControllerAction):
      
      LayoutTests:
      
      * editing/pasteboard/script-tests/file-input-files-access.js:
      (runTest): Change the expected behavior of the test-- dragging a file over a disabled
      control should not load that file. Instead, the file should be ignored, and the page
      remains as is.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d18aac0a
  2. 03 Mar, 2011 1 commit
  3. 11 Jan, 2011 1 commit
    • enrica@apple.com's avatar
      Source/WebCore: Paste and drag and drop use different code paths to interact with the pasteboard. · 964ea218
      enrica@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=52093
      The change consists in a refactoring of the code to have only one class that
      deals with the pasteboard on Mac.
      
      Reviewed by Alexey Proskuryakov.
      
      No new tests. A test is already available for this
      (editing/pasteboard/drag-image-to-contenteditable-in-iframe.html) but had incorrect results.
      
      * WebCore.exp.in:
      * loader/EmptyClients.h: Added two Mac only methods to call into WebKit to use functionality
      that is in NSURLExtras.
      (WebCore::EmptyEditorClient::canonicalizeURL):
      (WebCore::EmptyEditorClient::canonicalizeURLString):
      * page/DragController.cpp:
      The following methods have been changed to pass a pointer to the Frame object
      to the DragData class.
      (WebCore::documentFragmentFromDragData):
      (WebCore::DragController::performDrag):
      (WebCore::DragController::dispatchTextInputEventFor):
      (WebCore::DragController::concludeEditDrag):
      * page/EditorClient.h: Added two Mac only methods to call into WebKit to use functionality
      that is in NSURLExtras.
      The following files have been modified to pass the Frame object to the DragData method calls.
      * page/chromium/DragControllerChromium.cpp:
      (WebCore::DragController::dragOperation):
      * page/gtk/DragControllerGtk.cpp:
      (WebCore::DragController::dragOperation):
      * page/mac/DragControllerMac.mm:
      (WebCore::DragController::dragOperation):
      * page/qt/DragControllerQt.cpp:
      (WebCore::DragController::dragOperation):
      * page/win/DragControllerWin.cpp:
      (WebCore::DragController::dragOperation):
      * platform/DragData.h: Removed Mac specific constructor and reference to PasteboardHelper class.
      * platform/Pasteboard.h: Added public constructor to create a Pasteboard object from an NSPasteboard.
      The following files were all modified to match the new parameters of the methods listed.
      * platform/android/DragDataAndroid.cpp:
      (WebCore::DragData::asPlainText):
      (WebCore::DragData::containsURL):
      (WebCore::DragData::asURL):
      (WebCore::DragData::asFragment):
      * platform/chromium/DragDataChromium.cpp:
      (WebCore::DragData::containsURL):
      (WebCore::DragData::asURL):
      (WebCore::DragData::asPlainText):
      (WebCore::DragData::containsCompatibleContent):
      (WebCore::DragData::asFragment):
      * platform/gtk/DragDataGtk.cpp:
      (WebCore::DragData::asPlainText):
      (WebCore::DragData::containsCompatibleContent):
      (WebCore::DragData::containsURL):
      (WebCore::DragData::asURL):
      (WebCore::DragData::asFragment):
      * platform/haiku/DragDataHaiku.cpp:
      (WebCore::DragData::asPlainText):
      (WebCore::DragData::containsURL):
      (WebCore::DragData::asURL):
      (WebCore::DragData::asFragment):
      * platform/mac/DragDataMac.mm:
      (WebCore::DragData::DragData):
      (WebCore::DragData::asPlainText):
      (WebCore::insertablePasteboardTypes):
      (WebCore::DragData::containsCompatibleContent):
      (WebCore::DragData::containsURL):
      (WebCore::DragData::asURL):
      (WebCore::DragData::asFragment):
      * platform/mac/PasteboardMac.mm:
      (WebCore::Pasteboard::getBestURL):
      (WebCore::Pasteboard::asURL):
      * platform/qt/DragDataQt.cpp:
      (WebCore::DragData::asPlainText):
      (WebCore::DragData::containsCompatibleContent):
      (WebCore::DragData::containsURL):
      (WebCore::DragData::asURL):
      (WebCore::DragData::asFragment):
      * platform/win/DragDataWin.cpp:
      (WebCore::DragData::containsURL):
      (WebCore::DragData::asURL):
      (WebCore::DragData::asPlainText):
      (WebCore::DragData::containsCompatibleContent):
      (WebCore::DragData::asFragment):
      * platform/wince/DragDataWinCE.cpp:
      (WebCore::DragData::containsURL):
      (WebCore::DragData::asURL):
      (WebCore::DragData::asPlainText):
      (WebCore::DragData::asFragment):
      * platform/wx/DragDataWx.cpp:
      (WebCore::DragData::asPlainText):
      (WebCore::DragData::containsURL):
      (WebCore::DragData::asURL):
      (WebCore::DragData::asFragment):
      
      WebKit: Paste and drag and drop use different code paths to interact with the pasteboard.
      https://bugs.webkit.org/show_bug.cgi?id=52093
      The change consists in a refactoring of the code to have only one class that
      deals with the pasteboard on Mac.
      
      Reviewed by Alexey Proskuryakov.
      
      * WebKit.xcodeproj/project.pbxproj: Removed WebPasteboardHelper.mm and WebPasteboardHelper.h.
      
      WebKit/mac: Paste and drag and drop use different code paths to interact with the pasteboard.
      https://bugs.webkit.org/show_bug.cgi?id=52093
      The change consists in a refactoring of the code to have only one class that
      deals with the pasteboard on Mac.
      
      Reviewed by Alexey Proskuryakov.
      
      * WebCoreSupport/WebEditorClient.h:
      * WebCoreSupport/WebEditorClient.mm: Added two methods to provide to WebCore functionality
      exposed by NSURLExtras.
      (WebEditorClient::canonicalizeURL):
      (WebEditorClient::canonicalizeURLString):
      * WebCoreSupport/WebPasteboardHelper.h: Removed.
      * WebCoreSupport/WebPasteboardHelper.mm: Removed.
      * WebView/WebHTMLView.mm: Removed comment.
      * WebView/WebView.mm: The following methods have been changed to use the new DragData
      constructor that doesn't use the WebPasteboardHelper reference.
      (-[WebView draggingEntered:]):
      (-[WebView draggingUpdated:]):
      (-[WebView draggingExited:]):
      (-[WebView performDragOperation:]):
      
      WebKit2: Paste and drag and drop use different code paths to interact with the pasteboard.
      https://bugs.webkit.org/show_bug.cgi?id=52093
      The change consists in a refactoring of the code to have only one class that
      deals with the pasteboard on Mac.
      
      Reviewed by Alexey Proskuryakov.
      
      * WebProcess/WebCoreSupport/WebEditorClient.h:
      * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm: Added two methods to provide to WebCore functionality
      exposed by NSURLExtras.
      (WebKit::WebEditorClient::canonicalizeURL):
      (WebKit::WebEditorClient::canonicalizeURLString):
      
      LayoutTests: Paste and drag and drop use different code paths to interact with the pasteboard.
      https://bugs.webkit.org/show_bug.cgi?id=52093
      
      Reviewed by Alexey Proskuryakov.
      
      New test results added to match the correct behavior.
              
      * platform/mac/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.checksum:
      * platform/mac/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.png:
      * platform/mac/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      964ea218
  4. 08 Jan, 2011 1 commit
  5. 27 Jul, 2010 1 commit
    • jianli@chromium.org's avatar
      Add ScriptExecutionContext argument to File/Blob constructors. · 37d8a583
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=40587
      
      Reviewed by David Levin.
      
      Remove DragData::createClipboard and add Clipboard::create for it to be
      called directly in DragController. This is because we need to pass
      Frame pointer to Clipboard class and use it to get ScriptExecutionContext
      in order to construct File objects in Clipboard::files().
      
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::DeserializingTreeWalker::convertIfTerminal):
      * bindings/v8/SerializedScriptValue.cpp:
      (WebCore::ZigZag::Reader::readBlob):
      (WebCore::ZigZag::Reader::readFile):
      (WebCore::ZigZag::Reader::readFileList):
      * dom/Clipboard.h:
      * editing/Editor.cpp:
      (WebCore::Editor::dispatchCPPEvent):
      * editing/Editor.h:
      * editing/android/EditorAndroid.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/brew/EditorBrew.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/chromium/EditorChromium.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/haiku/EditorHaiku.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/mac/EditorMac.mm:
      (WebCore::Editor::newGeneralClipboard):
      * editing/qt/EditorQt.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/wx/EditorWx.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * html/Blob.cpp:
      (WebCore::Blob::Blob):
      (WebCore::Blob::slice):
      * html/Blob.h:
      (WebCore::Blob::create):
      * html/Blob.idl:
      * html/BlobBuilder.cpp:
      (WebCore::BlobBuilder::getBlob):
      * html/BlobBuilder.h:
      * html/BlobBuilder.idl:
      * html/File.cpp:
      (WebCore::File::File):
      * html/File.h:
      (WebCore::File::create):
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::appendFormData):
      (WebCore::HTMLInputElement::setFileListFromRenderer):
      * page/DragController.cpp:
      (WebCore::DragController::dragExited):
      (WebCore::DragController::performDrag):
      (WebCore::DragController::tryDHTMLDrag):
      * page/chromium/EventHandlerChromium.cpp:
      (WebCore::EventHandler::createDraggingClipboard):
      * page/gtk/EventHandlerGtk.cpp:
      (WebCore::EventHandler::createDraggingClipboard):
      * page/win/EventHandlerWin.cpp:
      (WebCore::EventHandler::createDraggingClipboard):
      * platform/DragData.h:
      * platform/android/ClipboardAndroid.cpp:
      (WebCore::Clipboard::create):
      * platform/android/DragDataAndroid.cpp:
      * platform/brew/ClipboardBrew.cpp:
      (WebCore::Clipboard::create):
      * platform/brew/DragDataBrew.cpp:
      * platform/chromium/ClipboardChromium.cpp:
      (WebCore::Clipboard::create):
      (WebCore::ClipboardChromium::ClipboardChromium):
      (WebCore::ClipboardChromium::create):
      (WebCore::ClipboardChromium::files):
      * platform/chromium/ClipboardChromium.h:
      * platform/chromium/DragDataChromium.cpp:
      * platform/efl/ClipboardEfl.cpp:
      (WebCore::Editor::newGeneralClipboard):
      (WebCore::Clipboard::create):
      * platform/efl/DragDataEfl.cpp:
      * platform/gtk/ClipboardGtk.cpp:
      (WebCore::Editor::newGeneralClipboard):
      (WebCore::Clipboard::create):
      (WebCore::ClipboardGtk::ClipboardGtk):
      (WebCore::ClipboardGtk::files):
      * platform/gtk/ClipboardGtk.h:
      (WebCore::ClipboardGtk::create):
      * platform/gtk/DragDataGtk.cpp:
      * platform/haiku/ClipboardHaiku.cpp:
      (WebCore::Clipboard::create):
      * platform/haiku/DragDataHaiku.cpp:
      * platform/mac/ClipboardMac.mm:
      (WebCore::Clipboard::create):
      (WebCore::ClipboardMac::files):
      * platform/mac/DragDataMac.mm:
      * platform/qt/ClipboardQt.cpp:
      (WebCore::Clipboard::create):
      * platform/qt/DragDataQt.cpp:
      * platform/win/ClipboardWin.cpp:
      (WebCore::Clipboard::create):
      (WebCore::ClipboardWin::ClipboardWin):
      (WebCore::ClipboardWin::files):
      * platform/win/ClipboardWin.h:
      (WebCore::ClipboardWin::create):
      * platform/win/DragDataWin.cpp:
      * platform/win/EditorWin.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * platform/wince/DragDataWince.cpp:
      * platform/wince/EditorWince.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * platform/wx/ClipboardWx.cpp:
      (WebCore::Clipboard::create):
      * platform/wx/DragDataWx.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37d8a583
  6. 10 Jun, 2010 1 commit
    • eric@webkit.org's avatar
      2010-06-10 Daniel Cheng <dcheng@chromium.org> · ccf61be1
      eric@webkit.org authored
              Reviewed by Jian Li.
      
              Don't convert filenames to URLs in edit drags.
              https://bugs.webkit.org/show_bug.cgi?id=38826
      
              For security reasons, we don't want to expose file system paths to web
              content, so we filter them out of edit drags.
      
              * editing/pasteboard/file-drag-to-editable-expected.txt: Added.
              * editing/pasteboard/file-drag-to-editable.html: Added.
              * editing/pasteboard/script-tests/file-drag-to-editable.js: Added.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2010-06-10  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by Jian Li.
      
              Don't convert filenames to URLs in edit drags.
              https://bugs.webkit.org/show_bug.cgi?id=38826
      
              For security reasons, we don't want to expose file system paths to web
              content, so we filter them out of edit drags.
      
              Test: editing/pasteboard/file-drag-to-editable.html
      
              * page/DragController.cpp:
              (WebCore::documentFragmentFromDragData):
              * platform/DragData.h:
              (WebCore::DragData::):
              * platform/android/DragDataAndroid.cpp:
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              * platform/chromium/DragDataChromium.cpp:
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              * platform/efl/DragDataEfl.cpp:
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              * platform/gtk/DragDataGtk.cpp:
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              * platform/haiku/DragDataHaiku.cpp:
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              * platform/mac/DragDataMac.mm:
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              * platform/qt/DragDataQt.cpp:
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              * platform/win/ClipboardUtilitiesWin.cpp:
              (WebCore::getURL):
              (WebCore::getPlainText):
              * platform/win/ClipboardUtilitiesWin.h:
              * platform/win/ClipboardWin.cpp:
              (WebCore::ClipboardWin::getData):
              * platform/win/DragDataWin.cpp:
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              * platform/wince/DragDataWince.cpp:
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              * platform/wx/DragDataWx.cpp:
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60957 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccf61be1
  7. 14 Jun, 2008 2 commits
  8. 03 Nov, 2007 1 commit
  9. 14 Apr, 2007 1 commit
  10. 07 Feb, 2007 1 commit
  11. 23 Jan, 2007 2 commits
    • zack's avatar
      Fix the Qt build · 1bd89127
      zack authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1bd89127
    • oliver's avatar
      2007-01-23 Oliver Hunt <oliver@apple.com> · aeffa297
      oliver authored
              Reviewed by Adam.
      
              Added DragController to handled drag and drop state and control logic.
              Currently this only handles logic for Dragging and Dropping, and is 
              unable to initialise a drag itself.
      
              platform/DragData encapsulate the paltform Drag data (NSDraggingInfo on Mac, 
              QMimeType in Qt).  This provides methods to pull data out the drag data as a String, 
              a URL, a DocumentFragment (for rich content), or a Colour.
      
              * WebCore.exp:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/Clipboard.cpp: Added.
              (WebCore::Clipboard::setAccessPolicy):
              (WebCore::dragOpFromIEOp):
              (WebCore::IEOpFromDragOp):
              (WebCore::Clipboard::sourceOperation):
              (WebCore::Clipboard::destinationOperation):
              (WebCore::Clipboard::setSourceOperation):
              (WebCore::Clipboard::setDestinationOperation):
              (WebCore::Clipboard::setDropEffect):
              (WebCore::Clipboard::setEffectAllowed):
                move platform independent functions from ClipboardMac to Clipboard
      
              * dom/Clipboard.h:
              (WebCore::Clipboard::Clipboard):
              (WebCore::Clipboard::dropEffect):
              (WebCore::Clipboard::effectAllowed):
              (WebCore::Clipboard::policy):
                as above -- also removed virtual modifier from now 
                platform independent methods
      
              * editing/Editor.cpp:
              (WebCore::Editor::smartInsertDeleteEnabled): 
              (WebCore::Editor::shouldApplyStyle):
              * editing/Editor.h:
                adding calls through to EditorClient
               
              * page/DragActions.h: Added.
              (WebCore::):
                Replicates a number of NS* enums in the WebCore namespace
      
              * page/DragClient.h: Added.
              (WebCore::DragClient::~DragClient):
                Standard client interface for dragging UIDelegate
      
              * page/DragController.cpp: Added.
              (WebCore::createMouseEvent):
              (WebCore::DragController::DragController):
              (WebCore::DragController::~DragController):
              (WebCore::documentFragmentFromDragData):
              (WebCore::DragController::isMoveDrag):
              (WebCore::visiblePositionForPoint):
              (WebCore::DragController::cancelDrag):
              (WebCore::documentAtPoint):
              (WebCore::DragController::dragEntered):
              (WebCore::DragController::dragExited):
              (WebCore::DragController::dragUpdated):
              (WebCore::DragController::performDrag):
              (WebCore::DragController::dragEnteredOrUpdated):
              (WebCore::DragController::tryDocumentDrag):
              (WebCore::DragController::operationForLoad):
              (WebCore::DragController::concludeDrag):
              (WebCore::DragController::canProcessDrag):
              (WebCore::DragController::tryDHTMLDrag):
                Class to handle state and logic for dragging and dropping
      
              * page/DragController.h: Added.
              (WebCore::DragController::client):
              (WebCore::DragController::didInitiateDrag):
              (WebCore::DragController::isHandlingDrag):
              (WebCore::DragController::dragOperation):
              (WebCore::DragController::document):
              (WebCore::DragController::dragInitiator):
              (WebCore::DragController::dragDestinationAction):
              (WebCore::DragController::dragSourceAction):
              (WebCore::DragController::dragEnded):
              (WebCore::DragController::setIsHandlingDrag):
              (WebCore::DragController::setDidInitiateDrag):
              (WebCore::DragController::setDragOperation):
              (WebCore::DragController::setDragSourceAction):
              (WebCore::DragController::setDragInitiator):
                See above
      
              * page/Page.cpp:
              (WebCore::Page::Page):
                Update Page to have DragController
      
              * page/Page.h:
              (WebCore::Page::dragController):
                ditto
      
              * page/mac/DragControllerMac.mm: Added.
              (WebCore::DragController::isCopyKeyDown):
              (WebCore::DragController::dragOperation):
                Platform specific portions of the DragController
      
              * page/mac/EventHandlerMac.mm:
              (WebCore::EventHandler::handleDrag):
              (WebCore::EventHandler::dragSourceEndedAt):
                Convert from NSDragOperation to WebCore::DragOperation
      
              * page/mac/WebCoreFrameBridge.h:
              * page/mac/WebCoreFrameBridge.mm:
                Remove obsolete Drag functions
      
              * page/qt/DragControllerQt.cpp: Added.
              (WebCore::DragController::isCopyKeyDown):
              (WebCore::DragController::dragOperation):
                Basic stubs to maintain Qt  build
      
              * platform/DragData.cpp: Added.
              (WebCore::DragData::DragData):
              * platform/DragData.h: Added.
              (WebCore::DragData::clientPosition):
              (WebCore::DragData::globalPosition):
              (WebCore::DragData::platformData):
              (WebCore::DragData::draggingSourceOperationMask):
                DragData class to encapsulate platform drag data/event
      
              * platform/graphics/svg/SVGImage.cpp:
              (WebCore::SVGImage::setData):
                Addition of dummy DragClient
      
              * platform/graphics/svg/SVGImageEmptyClients.h:
              (WebCore::SVGEmptyDragClient::~SVGEmptyDragClient):
              (WebCore::SVGEmptyDragClient::willPerformDragDestinationAction):
              (WebCore::SVGEmptyDragClient::actionMaskForDrag):
              (WebCore::SVGEmptyDragClient::dragControllerDestroyed):
                ditto
      
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              (WebCore::ClipboardMac::ClipboardMac):
              (WebCore::ClipboardMac::clearData):
              (WebCore::ClipboardMac::clearAllData):
              (WebCore::ClipboardMac::getData):
              (WebCore::ClipboardMac::setData):
              (WebCore::ClipboardMac::types):
              (WebCore::ClipboardMac::setDragImage):
               Moving platform independent logic to Clipboard, and updating
               platform specific methods to use appropriate accessors rather than 
               directly manipulating data they no longer own
      
              * platform/mac/DragDataMac.mm: Added.
              (WebCore::DragData::DragData):
              (WebCore::DragData::canSmartReplace):
              (WebCore::DragData::containsColor):
              (WebCore::DragData::containsPlainText):
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::asColor):
              (WebCore::DragData::createClipboard):
              (WebCore::imageExistsAtPaths):
              (WebCore::DragData::containsCompatibleContent):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              (WebCore::DragData::asFragment):
                Mac implementations of DragData methods.  A number of these use
                a Helper class that accesses WebKit functionality.  That functionality 
                should be migrated to WebCore in the future.
      
              * platform/mac/PasteboardHelper.h: Added.
              (WebCore::PasteboardHelper::~PasteboardHelper):
                Temporary, and Mac only, helper class to access WebKit functionality 
                from WebCore
      
              * platform/qt/DragDataQt.cpp: Added.
              (WebCore::DragData::canSmartReplace):
              (WebCore::DragData::containsColor):
              (WebCore::DragData::containsPlainText):
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::asColor):
              (WebCore::DragData::createClipboard):
              (WebCore::DragData::containsCompatibleContent):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              (WebCore::DragData::asFragment):
               Basic stubs to maintain Qt build
      
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::HitTestResult):
               Correct HitTestResult copy contructor to copy localPoint
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aeffa297
  12. 15 Dec, 2006 1 commit
    • ap's avatar
      Reviewed by Darin. · 5f8a6dad
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=11610
              XMLHttpRequest.onreadystatechange doesn't provide access to the request object
      
              Created a separate EventTarget class, now that EventTargetNode isn't the only kind.
      
      WebCore:
              * WebCore.xcodeproj/project.pbxproj: Added EventTarget.{h,cpp}
      
              * bindings/js/kjs_dom.cpp:
              (KJS::toJS): Added an EventTarget variant.
              * bindings/js/kjs_dom.h: Added toJS() for EventTarget; some minor style fixes.
      
              * bindings/objc/DOM.mm:
              (+[DOMNode _eventTargetWith:WebCore::]):
              * bindings/scripts/CodeGeneratorObjC.pm:
              Added an EventTarget->DOMEventTarget converter in DOMNode (WebCoreInternal). 
              It only works for nodes, since we don't have an ObjC binding for XMLHttpRequest.
              Corrected spelling of internalHeaderContent.
      
              * dom/Event.cpp:
              (WebCore::Event::setTarget):
              * dom/Event.h:
              (WebCore::Event::target):
              (WebCore::Event::currentTarget):
              (WebCore::Event::setCurrentTarget):
              These methods now work with EventTargets instead of Nodes.
      
              * dom/EventTarget.cpp: Added.
              (WebCore::EventTarget::~EventTarget):
              (WebCore::EventTarget::toNode):
              (WebCore::EventTarget::toXMLHttpRequest):
              * dom/EventTarget.h: Added.
              (WebCore::EventTarget::ref):
              (WebCore::EventTarget::deref):
              Originally, my intention was to share much of the implementation between 
              EventTargetNode and XHR, but now I don't see anything substantial worth sharing.
      
              * dom/EventTargetNode.cpp:
              (WebCore::EventTargetNode::dispatchGenericEvent): Cast Node to EventTargetNode.
      
              * dom/EventTargetNode.h: Made EventTarget methods virtual.
              (WebCore::EventTargetNode::toNode): Added poor man's RTTI to upcast from EventTarget.
              (WebCore::EventTargetNode::refEventTarget):
              (WebCore::EventTargetNode::derefEventTarget):
      
              * dom/MouseEvent.cpp:
              (WebCore::MouseEvent::toElement):
              (WebCore::MouseEvent::fromElement):
              * dom/MouseRelatedEvent.cpp:
              (WebCore::MouseRelatedEvent::receivedTarget):
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              * html/HTMLLabelElement.cpp:
              (WebCore::HTMLLabelElement::defaultEventHandler):
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::handleContextMenuEvent):
              * rendering/RenderSlider.cpp:
              (WebCore::RenderSlider::mouseEventIsInThumb):
              Cast from EventTarget to Node as appropriate.
      
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::dispatchEvent):
              (WebCore::XMLHttpRequest::callReadyStateChangeListener):
              Set target and currentTarget before dispatching.
      
              * xml/xmlhttprequest.h: Made EventTarget methods virtual, added a bool tempEvent parameter
              to match EventTargetNode.
              (WebCore::XMLHttpRequest::toXMLHttpRequest): Added poor man's RTTI to upcast from EventTarget.
              (WebCore::XMLHttpRequest::refEventTarget):
              (WebCore::XMLHttpRequest::derefEventTarget):
      
      LayoutTests:
              * fast/dom/xmlhttprequest-get-expected.txt:
              * http/tests/xmlhttprequest/event-target-expected.txt:
              * http/tests/xmlhttprequest/event-target.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f8a6dad
  13. 12 Dec, 2006 1 commit
  14. 11 Dec, 2006 1 commit
    • ap's avatar
      http://bugs.webkit.org/show_bug.cgi?id=9673 · dcae628b
      ap authored
              Add support for window.atob() and window.btoa()
      
              Reviewed by Darin.
      
      JavaScriptCore:
              * JavaScriptCore.exp: Export UString::is8Bit().
              * JavaScriptCore.xcodeproj/project.pbxproj: Added StringExtras.h as
              a private header.
      
      WebCore:
              * WebCore.xcodeproj/project.pbxproj: Added Base64.{h,cpp}
              * bindings/js/kjs_window.cpp:
              (KJS::WindowFunc::callAsFunction):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * platform/Base64.cpp: Added.
              (base64Encode):
              (base64Decode):
              * platform/Base64.h: Added.
              * ForwardingHeaders/wtf/StringExtras.h: Added.
              * platform/DeprecatedString.cpp: Use strncasecmp from StringExtras.
      
      LayoutTests:
              * fast/dom/Window/atob-btoa-expected.txt: Added.
              * fast/dom/Window/atob-btoa.html: Added.
              * fast/dom/Window/btoa-pnglet-expected.checksum: Added.
              * fast/dom/Window/btoa-pnglet-expected.png: Added.
              * fast/dom/Window/btoa-pnglet-expected.txt: Added.
              * fast/dom/Window/btoa-pnglet.html: Added.
              * fast/dom/Window/window-properties-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dcae628b
  15. 25 Sep, 2006 1 commit
    • andersca's avatar
      2006-09-25 Anders Carlsson <acarlsson@apple.com> · faf7bea9
      andersca authored
              Reviewed by Maciej.
      
              * css/MediaList.cpp:
              Remove unused header.
              
              * dom/Document.cpp:
              (WebCore::Document::clear):
              Use clear instead of iterating through the list of event listeners, removing each one.
              (Doing that causes a crash when running the layout tests with GuardMalloc turned on)
              
              * html/HTMLKeygenElement.cpp:
              (WebCore::HTMLKeygenElement::HTMLKeygenElement):
              (WebCore::HTMLKeygenElement::appendFormData):
              Update due to changes in the SSL key generator.
              
              * ksvg2/svg/SVGAngle.cpp:
              Remove unused header.
              
              * ksvg2/svg/SVGAnimationElement.cpp:
              (SVGAnimationElement::parseMappedAttribute):
              Rename methods and pass Strings instead of DeprecatedStrings to
              parseSeparatedList.
              
              * ksvg2/svg/SVGFEColorMatrixElement.cpp:
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
              * ksvg2/svg/SVGFEMergeElement.cpp:
              * ksvg2/svg/SVGFEOffsetElement.cpp:
              Remove unused headers.
              
              * ksvg2/svg/SVGHelper.cpp:
              (WebCore::SVGHelper::parseSeparatedList):
              * ksvg2/svg/SVGHelper.h:
              Rename ParseSeperatedList to parseSeparatedList, make it take a String instead of a 
              DeprecatedString and have it use Vector<String> instead of DeprecatedStringList.
              
              * ksvg2/svg/SVGLengthList.cpp:
              (WebCore::SVGLengthList::parse):
              * ksvg2/svg/SVGLengthList.h:
              Use Vector<String> instead of DeprecatedStringList.
              
              * loader/Cache.cpp:
              (WebCore::Cache::requestImage):
              (WebCore::Cache::requestStyleSheet):
              (WebCore::Cache::requestScript):
              (WebCore::Cache::requestXSLStyleSheet):
              (WebCore::Cache::requestXBLDocument):
              (WebCore::Cache::remove):
              (WebCore::Cache::get):
              Use a String as the key in the cache set instead of a RefPtr<StringImpl>.
              
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::needReload):
              * loader/DocLoader.h:
              Use a HashSet instead of DeprecatedStringList.
              
              * page/FrameView.h:
              Remove declarations that have no functions.
              
              * platform/SSLKeyGenerator.h:
              * platform/mac/SSLKeyGeneratorMac.mm:
              (WebCore::supportedKeySizes):
              (WebCore::signedPublicKeyAndChallengeString):
              Convert to use Vector<String> instead of DeprecatedStringList, and String instead of
              DeprecatedString.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      faf7bea9
  16. 09 Jul, 2006 3 commits
    • darin's avatar
      Reviewed by Tim Hatcher. · f4b05b29
      darin authored
              - put more into the WebCore namespace
              - removed unused code for plain text fields
      
              Put more classes, class templates, enums, functions, and constants into
              the WebCore namespace, including all the headers in the platform directory.
      
              Removed lots of unneeded "WebCore::" qualifiers and "using" directives.
      
              Added some "WebCore::" qualifiers in a few places.
      
              Removed "uses WebCore::" in headers that we said we'd remove "when
              everything is in the WebCore namespace".
      
              * bindings/js/JSDOMParser.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSXSLTProcessor.cpp:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOM.mm:
              * bridge/History.h:
              * bridge/JavaAppletWidget.h:
              * bridge/mac/FormDataMac.h:
              * bridge/mac/FormDataMac.mm:
              * bridge/mac/WebCoreAXObject.mm:
              * bridge/mac/WebCoreEncodings.mm:
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreIconDatabaseBridge.mm:
              * bridge/mac/WebCorePageState.h:
              * bridge/mac/WebCoreScriptDebugger.mm:
              * bridge/mac/WebCoreSettings.h:
              * css/CSSGrammar.y:
              * css/CSSPageRule.cpp:
              * css/CSSPageRule.h:
              * css/MediaList.cpp:
              * css/cssstyleselector.h:
              * dom/Clipboard.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/EventTargetNode.h:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Position.h:
              * dom/Range.cpp:
              * dom/XMLTokenizer.cpp:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.cpp:
              * editing/BreakBlockquoteCommand.cpp:
              * editing/BreakBlockquoteCommand.h:
              * editing/CompositeEditCommand.cpp:
              * editing/CompositeEditCommand.h:
              * editing/CreateLinkCommand.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/FormatBlockCommand.h:
              * editing/HTMLInterchange.cpp:
              * editing/HTMLInterchange.h:
              * editing/IndentOutdentCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertListCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertTextCommand.cpp:
              * editing/InsertTextCommand.h:
              * editing/JSEditor.cpp:
              * editing/JSEditor.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.cpp:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RebalanceWhitespaceCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.cpp:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.cpp:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TypingCommand.cpp:
              * editing/TypingCommand.h:
              * editing/UnlinkCommand.h:
              * editing/VisiblePosition.cpp:
              * editing/WrapContentsInDummySpanCommand.cpp:
              * editing/WrapContentsInDummySpanCommand.h:
              * editing/markup.cpp:
              * editing/markup.h:
              * html/HTMLAnchorElement.cpp:
              * html/HTMLBodyElement.cpp:
              * html/HTMLButtonElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDocument.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLFrameElement.cpp:
              * html/HTMLFrameSetElement.cpp:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLLabelElement.cpp:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.h:
              * html/HTMLTableElement.cpp:
              * html/HTMLTablePartElement.cpp:
              * icon/IconDatabase.h:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/RenderSVGContainer.cpp:
              * kcanvas/RenderSVGText.h:
              * kcanvas/device/KRenderingPaintServer.h:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerSolid.cpp:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGPoint.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGTRefElement.cpp:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.cpp:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/svgpathparser.cpp:
              * ksvg2/svg/svgpathparser.h:
              * loader/Cache.h:
              * loader/DocLoader.h:
              * loader/LoaderFunctions.h:
              * loader/mac/LoaderFunctionsMac.mm:
              * page/Frame.h:
              * page/FrameView.h:
              * page/Page.h:
              * page/Settings.h:
              * platform/AffineTransform.cpp:
              * platform/AffineTransform.h:
              * platform/Arena.cpp:
              * platform/Arena.h:
              * platform/CookieJar.h:
              * platform/DeprecatedCString.cpp:
              * platform/DeprecatedCString.h:
              * platform/DeprecatedPtrList.h:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedPtrListImpl.h:
              * platform/DeprecatedPtrQueue.h:
              * platform/DeprecatedString.cpp:
              * platform/DeprecatedString.h:
              * platform/DeprecatedStringList.cpp:
              * platform/DeprecatedStringList.h:
              * platform/DeprecatedValueList.h:
              * platform/DeprecatedValueListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FileButton.h:
              * platform/FloatPoint.h:
              * platform/FloatRect.h:
              * platform/FloatSize.h:
              * platform/FontData.h:
              * platform/FontFallbackList.h:
              * platform/GraphicsContext.h:
              * platform/IntPoint.h:
              * platform/IntRect.h:
              * platform/IntSize.h:
              * platform/KURL.cpp:
              * platform/KURL.h:
              * platform/ListBox.h:
              * platform/Logging.cpp:
              * platform/Logging.h:
              * platform/Pen.h:
              * platform/PopUpButton.h:
              * platform/RegularExpression.cpp:
              * platform/RegularExpression.h:
              * platform/SSLKeyGenerator.h:
              * platform/ScrollBar.h:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/Slider.h:
              * platform/StringImpl.h:
              * platform/TextBox.h:
              * platform/TextField.h:
              * platform/TextStream.cpp:
              * platform/TextStream.h:
              * platform/TransferJob.h:
              * platform/TransferJobClient.h:
              * platform/Widget.h:
              * platform/cg/AffineTransformCG.cpp:
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              * platform/mac/DeprecatedStringListMac.mm:
              * platform/mac/FontCacheMac.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/ListBoxMac.mm:
              * platform/mac/PopUpButtonMac.mm:
              * platform/mac/SSLKeyGeneratorMac.mm:
              * platform/mac/TextBoxMac.mm:
              * platform/mac/TextFieldMac.mm:
              * platform/mac/WebCoreTextArea.h:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.h:
              * platform/mac/WebCoreTextField.mm:
              * rendering/DeprecatedRenderSelect.h:
              * rendering/RenderArena.cpp:
              * rendering/RenderArena.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBox.cpp:
              * rendering/RenderContainer.cpp:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlow.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLineEdit.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderStyle.cpp:
              * rendering/RenderStyle.h:
              * rendering/RenderText.cpp:
              * rendering/RenderTextFragment.cpp:
              * rendering/RenderTheme.h:
              * rendering/RenderTreeAsText.cpp:
              * rendering/RenderTreeAsText.h:
              * rendering/RenderView.h:
              * rendering/bidi.h:
              * xml/XSLStyleSheet.cpp:
              * xml/XSLTProcessor.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4b05b29
    • darin's avatar
      - move all but the last 12 files out of kwq directory · 3e865649
      darin authored
              - removed a few unused source files I discovered
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Update for new file locations.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * bridge/mac/FrameMac.mm:
              * dom/Element.h:
              * html/HTMLImageLoader.cpp:
              * loader/Cache.cpp:
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.cpp:
              * loader/CachedImage.h:
              * loader/CachedObject.h:
              * loader/CachedScript.cpp:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/win/TemporaryLinkStubs.cpp:
              * rendering/DeprecatedSlider.cpp:
              * rendering/RenderObject.h:
              * xml/xmlhttprequest.cpp:
              Updated includes as needed for file location changes. Changed
              CachePolicy uses to match new filename and enum names.
      
              * loader/CachedResource.cpp: Removed.
              * loader/CachedResource.h: Removed.
              * loader/CachedResourceClient.h: Removed.
              * loader/CachedResourceClientWalker.cpp: Removed.
              * loader/CachedResourceClientWalker.h: Removed.
              The above files were checked in by accident a while back. The rename of
              CachedObject to CachedResource is now reflected in do-webcore-rename,
              and will be done soon.
      
              * kwq/AffineTransform.cpp: Removed.
              * kwq/AffineTransform.h: Removed.
              * kwq/CacheControl.h: Removed.
              * kwq/DeprecatedPtrQueue.h: Removed.
              * kwq/FileButton.h: Removed.
              * kwq/FileButton.mm: Removed.
              * kwq/ListBox.h: Removed.
              * kwq/ListBox.mm: Removed.
              * kwq/LoaderFunctions.h: Removed.
              * kwq/LoaderFunctions.mm: Removed.
              * kwq/PopUpButton.h: Removed.
              * kwq/PopUpButton.mm: Removed.
              * kwq/SSLKeyGenerator.h: Removed.
              * kwq/SSLKeyGenerator.mm: Removed.
              * kwq/Settings.h: Removed.
              * kwq/TextBox.h: Removed.
              * kwq/TextBox.mm: Removed.
              * kwq/TextField.h: Removed.
              * kwq/TextField.mm: Removed.
              * kwq/WebCoreScrollBar.h: Removed.
              * kwq/WebCoreScrollBar.mm: Removed.
              * kwq/WebCoreSlider.h: Removed.
              * kwq/WebCoreSlider.mm: Removed.
      
              * loader/CachePolicy.h: Added.
              * loader/LoaderFunctions.h: Added.
      
              * loader/mac/LoaderFunctionsMac.mm: Added.
      
              * page/Settings.h: Added.
      
              * platform/AffineTransform.cpp: Added.
              * platform/AffineTransform.h: Added.
              * platform/DeprecatedPtrQueue.h: Added.
              * platform/FileButton.h: Added.
              * platform/ListBox.h: Added.
              * platform/PopUpButton.h: Added.
              * platform/SSLKeyGenerator.h: Added.
              * platform/ScrollBar.h: Added.
              * platform/Slider.h: Added.
              * platform/TextBox.h: Added.
              * platform/TextField.h: Added.
      
              * platform/cg/AffineTransformCG.cpp: Added.
      
              * platform/mac/FileButtonMac.mm: Added.
              * platform/mac/ListBoxMac.mm: Added.
              * platform/mac/PopUpButtonMac.mm: Added.
              * platform/mac/SSLKeyGeneratorMac.mm: Added.
              * platform/mac/ScrollBarMac.mm: Added.
              * platform/mac/ScrollBarMac.mm: Added.
              * platform/mac/SliderMac.mm: Added.
              * platform/mac/SliderMac.mm: Added.
              * platform/mac/TextBoxMac.mm: Added.
              * platform/mac/TextFieldMac.mm: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e865649
    • darin's avatar
      Rubber stamped by Maciej (kinda). · b53ebdcb
      darin authored
              - did the next pass of renaming (used do-webcore-rename script)
                this takes care of most of the remaining KWQ names (almost all)
      
              * WebCore+SVG/DOMList.h:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_window.cpp:
              * bindings/objc/DOMHTML.mm:
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * bridge/mac/WebCoreSettings.h:
              * bridge/mac/WebCoreSettings.mm:
              * bridge/win/FrameWin.cpp:
              * css/CSSPrimitiveValue.cpp:
              * css/CSSValueKeywords.in:
              * css/MediaQueryEvaluator.cpp:
              * css/cssparser.cpp:
              * css/cssstyleselector.cpp:
              * css/cssstyleselector.h:
              * dom/CharacterData.cpp:
              * dom/CharacterData.h:
              * dom/Document.cpp:
              * dom/Element.cpp:
              * dom/Element.h:
              * dom/EventTargetNode.cpp:
              * dom/EventTargetNode.h:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Position.cpp:
              * dom/ProcessingInstruction.cpp:
              * dom/QualifiedName.cpp:
              * dom/QualifiedName.h:
              * dom/XMLTokenizer.cpp: Added.
              * dom/xml_tokenizer.cpp: Removed.
              * dom/xml_tokenizer.h: Removed.
              * editing/EditAction.h:
              * editing/HTMLInterchange.cpp:
              * editing/HTMLInterchange.h:
              * editing/Selection.h:
              * editing/SelectionController.h:
              * editing/TextAffinity.h:
              * editing/TextIterator.cpp:
              * editing/TextIterator.h:
              * editing/VisiblePosition.h:
              * editing/htmlediting.cpp:
              * editing/markup.cpp:
              * editing/markup.h:
              * editing/visible_units.cpp:
              * editing/visible_units.h:
              * html/HTMLDocument.cpp:
              * html/HTMLFontElement.cpp:
              * html/HTMLInputElement.cpp:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLSelectElement.h:
              * html/HTMLTextAreaElement.cpp:
              * html/HTMLTextFieldInnerElement.cpp:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * kcanvas/KCanvasContainer.cpp: Removed.
              * kcanvas/KCanvasContainer.h: Removed.
              * kcanvas/KCanvasCreator.cpp:
              * kcanvas/KCanvasFilters.cpp:
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasMatrix.cpp:
              * kcanvas/KCanvasMatrix.h:
              * kcanvas/KCanvasPath.cpp:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/RenderForeignObject.cpp:
              * kcanvas/RenderForeignObject.h:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderPath.h:
              * kcanvas/RenderSVGContainer.cpp: Added.
              * kcanvas/RenderSVGContainer.h: Added.
              * kcanvas/RenderSVGImage.cpp:
              * kcanvas/RenderSVGImage.h:
              * kcanvas/RenderSVGText.cpp:
              * kcanvas/RenderSVGText.h:
              * kcanvas/device/KRenderingPaintServer.h:
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.cpp:
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingPaintServerSolid.cpp:
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              * kcanvas/device/quartz/KCanvasItemQuartz.h:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              * ksvg2/css/CSSValueKeywords.in:
              * ksvg2/css/SVGRenderStyleDefs.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              * ksvg2/svg/SVGAElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGGElement.cpp:
              * ksvg2/svg/SVGHelper.cpp:
              * ksvg2/svg/SVGHelper.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGMatrix.cpp:
              * ksvg2/svg/SVGMatrix.h:
              * ksvg2/svg/SVGPatternElement.cpp:
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.cpp:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.cpp:
              * ksvg2/svg/SVGTextElement.cpp:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGUseElement.cpp:
              * kwq/AffineTransform.cpp: Added.
              * kwq/AffineTransform.h: Added.
              * kwq/DeprecatedCString.cpp: Added.
              * kwq/DeprecatedCString.h: Added.
              * kwq/DeprecatedPtrQueue.h: Added.
              * kwq/FileButton.h: Added.
              * kwq/FileButton.mm: Added.
              * kwq/FormDataMac.mm: Added.
              * kwq/KWQCString.cpp: Removed.
              * kwq/KWQCString.h: Removed.
              * kwq/KWQComboBox.h: Removed.
              * kwq/KWQComboBox.mm: Removed.
              * kwq/KWQEditCommand.h: Removed.
              * kwq/KWQEditCommand.mm: Removed.
              * kwq/KWQFileButton.h: Removed.
              * kwq/KWQFileButton.mm: Removed.
              * kwq/KWQFormData.h: Removed.
              * kwq/KWQFormData.mm: Removed.
              * kwq/KWQKHTMLSettings.h: Removed.
              * kwq/KWQKIOGlobal.h: Removed.
              * kwq/KWQKSSLKeyGen.h: Removed.
              * kwq/KWQKSSLKeyGen.mm: Removed.
              * kwq/KWQLineEdit.h: Removed.
              * kwq/KWQLineEdit.mm: Removed.
              * kwq/KWQListBox.h: Removed.
              * kwq/KWQListBox.mm: Removed.
              * kwq/KWQLoader.h: Removed.
              * kwq/KWQLoader.mm: Removed.
              * kwq/KWQPageState.h: Removed.
              * kwq/KWQPageState.mm: Removed.
              * kwq/KWQPtrQueue.h: Removed.
              * kwq/KWQResourceLoader.h: Removed.
              * kwq/KWQResourceLoader.mm: Removed.
              * kwq/KWQScrollBar.h: Removed.
              * kwq/KWQScrollBar.mm: Removed.
              * kwq/KWQSlider.h: Removed.
              * kwq/KWQSlider.mm: Removed.
              * kwq/KWQTextEdit.h: Removed.
              * kwq/KWQTextEdit.mm: Removed.
              * kwq/KWQTextStream.cpp: Removed.
              * kwq/KWQTextStream.h: Removed.
              * kwq/KWQWMatrix.cpp: Removed.
              * kwq/KWQWMatrix.h: Removed.
              * kwq/ListBox.h: Added.
              * kwq/ListBox.mm: Added.
              * kwq/LoaderFunctions.h: Added.
              * kwq/LoaderFunctions.mm: Added.
              * kwq/PopUpButton.h: Added.
              * kwq/PopUpButton.mm: Added.
              * kwq/SSLKeyGenerator.h: Added.
              * kwq/SSLKeyGenerator.mm: Added.
              * kwq/Settings.h: Added.
              * kwq/TextBox.h: Added.
              * kwq/TextBox.mm: Added.
              * kwq/TextField.h: Added.
              * kwq/TextField.mm: Added.
              * kwq/TextStream.cpp: Added.
              * kwq/TextStream.h: Added.
              * kwq/WebCoreEditCommand.h: Added.
              * kwq/WebCoreEditCommand.mm: Added.
              * kwq/WebCorePageState.h: Added.
              * kwq/WebCorePageState.mm: Added.
              * kwq/WebCoreResourceLoaderImp.h: Added.
              * kwq/WebCoreResourceLoaderImp.mm: Added.
              * kwq/WebCoreScrollBar.h: Added.
              * kwq/WebCoreScrollBar.mm: Added.
              * kwq/WebCoreSlider.h: Added.
              * kwq/WebCoreSlider.mm: Added.
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedImage.cpp:
              * loader/CachedObject.h:
              * loader/CachedObjectClientWalker.h:
              * loader/CachedResource.h:
              * loader/CachedResourceClientWalker.h:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.h:
              * loader/Decoder.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * loader/FormData.h:
              * loader/ImageDocument.cpp:
              * loader/PluginDocument.cpp:
              * loader/TextDocument.cpp:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/Page.cpp:
              * page/Page.h:
              * platform/DeprecatedPtrList.h:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedPtrListImpl.h:
              * platform/DeprecatedString.cpp:
              * platform/DeprecatedString.h:
              * platform/DeprecatedStringList.cpp:
              * platform/DeprecatedStringList.h:
              * platform/DeprecatedValueList.h:
              * platform/DeprecatedValueListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FloatSize.h:
              * platform/Font.cpp:
              * platform/KURL.cpp:
              * platform/RegularExpression.cpp:
              * platform/RegularExpression.h:
              * platform/SegmentedString.h:
              * platform/StreamingTextDecoder.cpp:
              * platform/String.cpp:
              * platform/StringImpl.cpp:
              * platform/TextEncoding.cpp:
              * platform/TransferJob.cpp:
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              * platform/gdk/FrameGdk.cpp:
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              * platform/mac/CursorMac.mm:
              * platform/mac/DeprecatedStringMac.mm: Added.
              * platform/mac/FontCacheMac.mm:
              * platform/mac/FontMac.mm:
              * platform/mac/FoundationExtras.h:
              * platform/mac/ImageMac.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/MouseEventMac.mm: Removed.
              * platform/mac/QStringListMac.mm: Removed.
              * platform/mac/QStringMac.mm: Removed.
              * platform/mac/TransferJobMac.mm:
              * platform/mac/WebCoreTextArea.h:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.h:
              * platform/mac/WebCoreTextField.mm:
              * platform/mac/WidgetMac.mm:
              * platform/win/TemporaryLinkStubs.cpp:
              * rendering/DataRef.h:
              * rendering/DeprecatedRenderSelect.cpp:
              * rendering/DeprecatedRenderSelect.h:
              * rendering/DeprecatedSlider.cpp:
              * rendering/InlineFlowBox.cpp:
              * rendering/RenderApplet.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderFileButton.cpp:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlow.cpp:
              * rendering/RenderFormElement.cpp:
              * rendering/RenderFrameSet.cpp:
              * rendering/RenderFrameSet.h:
              * rendering/RenderImage.cpp:
              * rendering/RenderInline.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLayer.h:
              * rendering/RenderLineEdit.cpp:
              * rendering/RenderListItem.cpp:
              * rendering/RenderListMarker.cpp:
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderPartObject.cpp:
              * rendering/RenderReplaced.cpp:
              * rendering/RenderStyle.cpp: Added.
              * rendering/RenderStyle.h: Added.
              * rendering/RenderTable.cpp:
              * rendering/RenderTable.h:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderTableCell.h:
              * rendering/RenderTableCol.cpp:
              * rendering/RenderTableCol.h:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderTableSection.cpp:
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              * rendering/RenderText.h:
              * rendering/RenderTextArea.cpp:
              * rendering/RenderTextControl.cpp: Added.
              * rendering/RenderTextControl.h: Added.
              * rendering/RenderTextField.cpp: Removed.
              * rendering/RenderTextField.h: Removed.
              * rendering/RenderTheme.cpp:
              * rendering/RenderThemeMac.mm:
              * rendering/RenderTreeAsText.cpp:
              * rendering/RenderTreeAsText.h:
              * rendering/RenderView.cpp:
              * rendering/RenderWidget.cpp:
              * rendering/bidi.cpp:
              * rendering/render_style.cpp: Removed.
              * rendering/render_style.h: Removed.
              * xml/XSLStyleSheet.cpp:
              * xml/XSLTProcessor.cpp:
              * xml/xmlhttprequest.cpp:
              * xpath/impl/XPathParser.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b53ebdcb
  17. 19 Mar, 2006 1 commit
  18. 22 Feb, 2006 1 commit
    • mjs's avatar
      Reviewed by Geoff. · 5be25ad7
      mjs authored
              - move QStringList to platform, make it portable
      
              * ForwardingHeaders/qstringlist.h: Removed.
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/DocumentImpl.h:
              * kcanvas/KCanvasFilters.h:
              * khtml/xbl/xbl_protohandler.cpp:
              * ksvg2/svg/SVGColorImpl.cpp:
              * ksvg2/svg/SVGComponentTransferFunctionElementImpl.cpp:
              * ksvg2/svg/SVGDOMImplementationImpl.h:
              * ksvg2/svg/SVGFEBlendElementImpl.cpp:
              * ksvg2/svg/SVGFEColorMatrixElementImpl.cpp:
              * ksvg2/svg/SVGFEComponentTransferElementImpl.cpp:
              * ksvg2/svg/SVGFECompositeElementImpl.cpp:
              * ksvg2/svg/SVGFEDiffuseLightingElementImpl.cpp:
              * ksvg2/svg/SVGFEDisplacementMapElementImpl.cpp:
              * ksvg2/svg/SVGFEFloodElementImpl.cpp:
              * ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp:
              * ksvg2/svg/SVGFELightElementImpl.cpp:
              * ksvg2/svg/SVGFEMergeElementImpl.cpp:
              * ksvg2/svg/SVGFEOffsetElementImpl.cpp:
              * ksvg2/svg/SVGFESpecularLightingElementImpl.cpp:
              * ksvg2/svg/SVGFETileElementImpl.cpp:
              * ksvg2/svg/SVGFETurbulenceElementImpl.cpp:
              * ksvg2/svg/SVGFitToViewBoxImpl.cpp:
              * ksvg2/svg/SVGLengthListImpl.cpp:
              * ksvg2/svg/SVGNumberListImpl.cpp:
              * ksvg2/svg/SVGPreserveAspectRatioImpl.cpp:
              * ksvg2/svg/SVGStringListImpl.cpp:
              * ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
              * ksvg2/svg/SVGTransformableImpl.cpp:
              * kwq/KWQClipboard.mm:
              * kwq/KWQKConfigBase.mm:
              * kwq/KWQKHTMLSettings.h:
              * kwq/KWQKLocale.h:
              * kwq/KWQKSSLKeyGen.h:
              * kwq/KWQStringList.h: Removed.
              * kwq/KWQStringList.mm: Removed.
              * loader/DocLoader.h:
              * page/Frame.h:
              * platform/QStringList.cpp: Added.
              (QStringList::split):
              (QStringList::pop_front):
              * platform/QStringList.h: Added.
              * platform/mac/QStringListMac.mm: Added.
              (QStringList::getNSArray):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5be25ad7
  19. 11 May, 2004 1 commit
  20. 12 Dec, 2003 1 commit
    • cblu's avatar
      WebCore: · 5d86a29e
      cblu authored
      	Fixed: <rdar://problem/3505208>: keys added to keychain from KEYGEN need better UI names
      
              Reviewed by rjw.
      
              * khtml/html/html_formimpl.cpp:
              (HTMLKeygenElementImpl::encoding): pass the page URL to signedPublicKeyAndChallengeString
              * kwq/KWQKSSLKeyGen.h:
              * kwq/KWQKSSLKeyGen.mm:
              (KSSLKeyGen::signedPublicKeyAndChallengeString): take a URL
              * kwq/WebCoreKeyGenerator.h:
              * kwq/WebCoreKeyGenerator.m:
              (-[WebCoreKeyGenerator signedPublicKeyAndChallengeStringWithStrengthIndex:challenge:pageURL:]): take a URL
      
      WebKit:
      
      	Fixed:
      	<rdar://problem/3396936>: can't obtain a digital ID from Verisign, form submission fails
      	<rdar://problem/3505208>: keys added to keychain from KEYGEN need better UI names
      
              Reviewed by rjw.
      
              * English.lproj/Localizable.strings:
              * WebCoreSupport.subproj/WebKeyGeneration.cpp:
              (signedPublicKeyAndChallengeString): take a key description arg and use it, take and return CFStrings, handle the empty string case
              (addCertificatesToKeychainFromData): return a WebCertificateParseResult so WB knows how to handle the cert
              * WebCoreSupport.subproj/WebKeyGeneration.h:
              * WebCoreSupport.subproj/WebKeyGenerator.h:
              * WebCoreSupport.subproj/WebKeyGenerator.m:
              (-[WebKeyGenerator signedPublicKeyAndChallengeStringWithStrengthIndex:challenge:pageURL:]): take a page URL so we can use its host name in the key description
              * WebKit.pbproj/project.pbxproj:
      
      WebBrowser:
      
      	Fixed: 	<rdar://problem/3506645>: open PKCS7 encoded certificates downloaded from Verisign in Keychain Access
      
              Reviewed by rjw.
      
              * DownloadProgressEntry.m:
              (-[DownloadProgressEntry _addCertificateToKeyChain]): open PKCS7 files in Keychain Access
              * English.lproj/StringsNotToBeLocalized.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d86a29e
  21. 08 Dec, 2003 1 commit
    • cblu's avatar
      WebCore: · 7c8ec6fd
      cblu authored
      	Fixed: <rdar://problem/3234676>: Support for KEYGEN tag (ie 509 email certificates from www.thawte.com)
      
              Reviewed by mjs.
      
              * WebCore-combined.exp:
              * WebCore.exp:
              * WebCore.pbproj/project.pbxproj:
              * khtml/html/html_formimpl.cpp:
              (HTMLKeygenElementImpl::parseAttribute): store the KEYTYPE attribute
              (HTMLKeygenElementImpl::encoding): call KSSLKeyGen::signedPublicKeyAndChallengeString
              * khtml/html/html_formimpl.h: remove 2 declared but unimplemented methods
              * khtml/misc/htmlattrs.c: generated changes
              (hash_attr):
              (findAttr):
              * khtml/misc/htmlattrs.h: generated change
              * khtml/misc/htmlattrs.in: added KEYTYPE
              * kwq/KWQKSSLKeyGen.h:
              * kwq/KWQKSSLKeyGen.mm:
              (KSSLKeyGen::supportedKeySizes): call renamed strengthMenuItemTitles
              (KSSLKeyGen::signedPublicKeyAndChallengeString): new, calls [WebCoreKeyGenerationFactory signedPublicKeyAndChallengeStringWithStrengthIndex:challenge:]
              * kwq/WebCoreKeyGenerationFactory.h: Added.
              * kwq/WebCoreKeyGenerationFactory.m: Added.
              (+[WebCoreKeyGenerationFactory sharedFactory]):
              (-[WebCoreKeyGenerationFactory init]):
              (-[WebCoreKeyGenerationFactory strengthMenuItemTitles]):
              (-[WebCoreKeyGenerationFactory signedPublicKeyAndChallengeStringWithStrengthIndex:challenge:]):
              * kwq/WebCoreLocalizedStringFactory.h: Removed.
              * kwq/WebCoreLocalizedStringFactory.m: Removed.
      
      WebKit:
      
      	Fixed: <rdar://problem/3234676>: Support for KEYGEN tag (ie 509 email certificates from www.thawte.com)
      
              Reviewed by mjs.
      
              * WebCoreSupport.subproj/WebKeyGeneration.cpp: Added.
              (gnrAddContextAttribute): new
              (gnrGetSubjPubKey): new
              (gnrNullAlgParams): new
              (gnrSign): new
              (gnrFreeCssmData): new
              (signedPublicKeyAndChallengeString): new
              * WebCoreSupport.subproj/WebKeyGeneration.h: Added.
              * WebCoreSupport.subproj/WebKeyGenerationFactory.h: Added. Renamed from WebLocalizedStringFactory.
              * WebCoreSupport.subproj/WebKeyGenerationFactory.m: Added.
              (+[WebKeyGenerationFactory createSharedFactory]): no change
              (-[WebKeyGenerationFactory dealloc]): no change
              (-[WebKeyGenerationFactory strengthMenuItemTitles]): new
              (-[WebKeyGenerationFactory signedPublicKeyAndChallengeStringWithStrengthIndex:challenge:]): new
              * WebCoreSupport.subproj/WebLocalizedStringFactory.h: Removed.
              * WebCoreSupport.subproj/WebLocalizedStringFactory.m: Removed.
              * WebCoreSupport.subproj/WebNetscapeTemplates.cpp: Added.
              * WebCoreSupport.subproj/WebNetscapeTemplates.h: Added.
              * WebKit.pbproj/project.pbxproj:
              * WebKitPrefix.h:
              * WebView.subproj/WebFrameView.m:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c8ec6fd
  22. 20 Nov, 2003 1 commit
    • cblu's avatar
      WebCore: · 1b383fab
      cblu authored
      	Fixed: <rdar://problem/3491225>: Need UI and localized strings for <KEYGEN> support
      
              Reviewed by john.
      
              * WebCore-combined.exp:
              * WebCore.exp:
              * WebCore.pbproj/project.pbxproj:
              * kwq/KWQKSSLKeyGen.h:
              * kwq/KWQKSSLKeyGen.mm: Added.
              (KSSLKeyGen::supportedKeySizes): implemented, calls [WebCoreLocalizedStringFactory keyGenerationMenuItemTitles]
              * kwq/WebCoreLocalizedStringFactory.h: Added.
              * kwq/WebCoreLocalizedStringFactory.m: Added.
              (+[WebCoreLocalizedStringFactory sharedFactory]): new
              (-[WebCoreLocalizedStringFactory init]): new
              (-[WebCoreLocalizedStringFactory keyGenerationMenuItemTitles]): new
      
      WebKit:
      
      	Fixed: <rdar://problem/3491229>: Need UI and localized strings for <KEYGEN> support
      
              Reviewed by john.
      
              * ChangeLog:
              * English.lproj/Localizable.strings:
              * WebCoreSupport.subproj/WebLocalizedStringFactory.h: Added.
              * WebCoreSupport.subproj/WebLocalizedStringFactory.m: Added.
              (+[WebLocalizedStringFactory createSharedFactory]): new
              (-[WebLocalizedStringFactory dealloc]): new
              (-[WebLocalizedStringFactory keyGenerationMenuItemTitles]): new
              * WebKit.pbproj/project.pbxproj:
              * WebView.subproj/WebFrameView.m: call [WebLocalizedStringFactory createSharedFactory]
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b383fab
  23. 21 Jan, 2003 1 commit
  24. 26 Oct, 2002 1 commit
  25. 03 Jun, 2002 1 commit
    • darin's avatar
      * acconfig.h: Remove APPLE_CHANGES (done in compiler invocation), · b95d6c41
      darin authored
      	_KWQ_ (not needed any more), _KWQ_PEDANTIC_ (not needed any more),
      	and _KWQ_IOSTREAM_ (set by KWQDef.h now).
      
      	* configure.in: Remove explict gcc3 and g++3; not needed on Jaguar.
      	Remove APPLE_CHANGES, _KWQ_, _KWQK_PEDANTIC_, and _KWQ_IOSTREAM_.
      	Do an AC_SUBST on COMMON_CFLAGS so the flags are used to generate the
      	.pfe files. Add conditional stuff so that WebCore exports less and
      	the Tests subdirectory is not build in Deployment style builds.
      
      	* Makefile.am: Only build Tests subdir when configure.in says it should.
      
      	* Tests/draw/*: Removed.
      
      	* Tests/qt/qbuffer-test.cpp: (main): Update for QBuffer changes.
      	* Tests/qt/qrect-test.cpp: (main): Remove unused variable.
      
      	* Tools/jersey/README: Fix newlines.
      	* Tools/jersey/html/advanced.html: Fix newlines.
      
      WebCore:
      
      	Get rid of many unneeded APPLE_CHANGES.
      	Also get rid of _KWQ_ and _KWQ_PEDANTIC_.
      
      	* WebCore.exp: Don't export DomShared::ref/deref any more.
      	* WebCore-tests.exp: Changed around as needed due to changes in
      	the classes being tested.
      
      	* khtml/html/htmlparser.cpp:
      	* khtml/html/htmltokenizer.cpp:
      	Simplified APPLE_CHANGES for better merging.
      
      	* khtml/dom/dom_misc.h:
      	* khtml/dom/dom_misc.cpp:
      	* khtml/dom/html_document.cpp:
      	* khtml/khtmlview.cpp:
      	* khtml/ecma/kjs_css.h:
      	* khtml/ecma/kjs_dom.cpp:
      	* khtml/ecma/kjs_dom.h:
      	* khtml/ecma/kjs_window.cpp:
      	* khtml/html/html_formimpl.cpp:
      	* khtml/html/html_objectimpl.cpp:
      	* khtml/misc/helper.cpp:
      	* khtml/rendering/bidi.cpp:
      	* khtml/rendering/render_flow.cpp:
      	* khtml/rendering/render_form.cpp:
      	* khtml/rendering/render_text.cpp:
      	* khtml/xml/xml_tokenizer.h:
      	* kwq/qt/qtextedit.h:
      	Remove now-unneeded APPLE_CHANGES.
      
      	* khtml/misc/loader.cpp: (CachedImage::pixmap): Turned off more of
      	the QMovie code.
      
      	* khtml/html/html_documentimpl.cpp:
      	* khtml/html/htmltokenizer.h:
      	* khtml/xml/dom_elementimpl.h:
      	* kwq/KWQKHTMLPart.mm:
      	Formatting and other minor tweaks.
      
      	* kwq/KWQApplication.mm: (QApplication::sendEvent): Implemented.
      	* kwq/KWQChar.mm: (QChar::direction): Improved implementation.
      
      	* kwq/KWQCollection.h: Removed.
      	* kwq/KWQIcon.h: Removed.
      
      	* kwq/Makefile.am: Removed following files.
      	* kwq/KWQKCompletionBox.mm: Removed.
      	* kwq/KWQKFactory.mm: Removed.
      	* kwq/KWQListBox.mm: Removed.
      	* kwq/KWQKImageIO.mm: Removed.
      
      	* kwq/KWQObject.mm: (QObject::event): Added, does nothing.
      	(QObject::inherits): Put in real implementation (good enough for us).
      
      	* kwq/WCWebDataSource.h: Removed extern declaration of global.
      
      	* kwq/KWQCursor.mm: (QCursor::handle): Made the handle be an
      	NSCursor *.
      
      	* kwq/external.h: Moved [IFWebView setFrameSize:] here.
      	Got rid of IFAnimatedImage.
      
      	* kwq/KWQDef.h: Remove unused Q_INT8, Q_INT16, Q_UINT8, Q_UINT16,
      	QCOORD, WFlags, WId, ASSERT, CHECK_PTR, Q_EXPORT, Q_PACKED,
      	QT_STATIC_CONST, QT_STATIC_CONST_IMPL. Define _KWQ_IOSTREAM_ only
      	when NDEBUG is not defined.
      
      	* kwq/KWQBuffer.mm:
      	* kwq/KWQCString.mm:
      	* kwq/KWQCollection.mm:
      	* kwq/KWQCompletion.h:
      	* kwq/KWQCompletion.mm:
      	* kwq/KWQFrame.h:
      	* kwq/KWQFrame.mm:
      	* kwq/KWQHBox.mm:
      	* kwq/KWQKFileItem.mm:
      	* kwq/KWQKIconLoader.mm:
      	* kwq/KWQKLineEdit.mm:
      	* kwq/KWQKProtocolManager.mm:
      	* kwq/KWQLabel.mm:
      	* kwq/KWQListBox.h:
      	* kwq/KWQMovie.mm:
      	* kwq/KWQWidget.mm:
      	* kwq/KWQxml.mm:
      	* kwq/qt/qbuffer.h:
      	* kwq/kdecore/kdebug.h:
      	* kwq/kdecore/kglobal.h:
      	* kwq/kdecore/kglobalsettings.h:
      	* kwq/kdecore/kiconloader.h:
      	* kwq/kdecore/kstaticdeleter.h:
      	* kwq/kdecore/kstringhandler.h:
      	* kwq/kdeui/kcombobox.h:
      	* kwq/kdeui/kcompletionbox.h:
      	* kwq/kdeui/klineedit.h:
      	* kwq/kdeui/klistbox.h:
      	* kwq/kdeui/kmessagebox.h:
      	* kwq/kio/kfileitem.h:
      	* kwq/kio/kimageio.h:
      	* kwq/kio/kmimetype.h:
      	* kwq/kio/kprotocolmanager.h:
      	* kwq/kio/netaccess.h:
      	* kwq/qt/qxml.h:
      	* kwq/kparts/browserinterface.h:
      	* kwq/kparts/factory.h:
      	* kwq/kparts/part.h:
      	* kwq/qt/qarray.h:
      	* kwq/qt/qcollection.h:
      	* kwq/qt/qcstring.h:
      	* kwq/qt/qcursor.h:
      	* kwq/qt/qdict.h:
      	* kwq/qt/qhbox.h:
      	* kwq/qt/qlabel.h:
      	* kwq/qt/qlist.h:
      	* kwq/qt/qmap.h:
      	* kwq/qt/qmovie.h:
      	* kwq/qt/qobject.h:
      	* kwq/qt/qpaintdevicemetrics.h:
      	* kwq/qt/qpainter.h:
      	* kwq/qt/qpoint.h:
      	* kwq/qt/qradiobutton.h:
      	* kwq/qt/qrect.h:
      	* kwq/qt/qregion.h:
      	* kwq/qt/qscrollview.h:
      	* kwq/qt/qsize.h:
      	* kwq/qt/qstack.h:
      	* kwq/qt/qstringlist.h:
      	* kwq/qt/qtextedit.h:
      	* kwq/qt/qvaluelist.h:
      	* kwq/qt/qvector.h:
      	* kwq/qt/qwidget.h:
      	* kwq/qt/qxml.h:
      	Removed unused stuff.
      
      	* kwq/KWQListBox.mm:
      	* kwq/KWQMapImpl.h:
      	* kwq/KWQMapImpl.mm:
      	* kwq/KWQPainter.mm:
      	* kwq/KWQPoint.mm:
      	* kwq/KWQRadioButton.mm:
      	* kwq/KWQRect.mm:
      	* kwq/KWQRegion.mm:
      	* kwq/KWQScrollBar.h:
      	* kwq/KWQScrollView.mm:
      	* kwq/KWQSize.mm:
      	* kwq/KWQStringList.mm:
      	* kwq/KWQbrowserinterface.mm:
      	Simplified.
      
      	* kwq/kdecore/kurl.h:
      	Added include to match what's expected by clients.
      
      	* kwq/qt/qobjectlist.h: Added. Empty file to make includers happy.
      
      	* kwq/khtml/khtml_printsettings.h: Added. Empty file.
      	* kwq/qt/qobjectlist.h: Added. Empty file.
      
      	* kwq/kio/kssl/ksslkeygen.h: Define just enough to make callers
      	happy.
      
      	* kwq/qt/qobject.h: Added event().
      	* kwq/kparts/part.h: Added bool return type to event().
      	* kwq/qt/qvector.h: Added QGVector base class.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b95d6c41
  26. 21 Mar, 2002 1 commit
  27. 14 Jan, 2002 1 commit
    • mjs's avatar
      Convert build system to automake · 0824703c
      mjs authored
      	* Makefile.am: Add this
      	* Makefile.in: Remove this
      
      	* configure.in:
      
      	Remove newly autogenerated things,
      
      	* aclocal.m4:
      	* autogen.sh:
      	* config.guess:
      	* config.h.in:
      	* config.sub:
      	* configure:
      	* missing:
      
      	* acconfig.h, acinclude.m4: Templates for auto*
      	* libtool.diff: Couple of tweaks needed to automake.
      	* .cvsignore: Ignore the right stuff
      
      	Add these.
      
      	* Tests/Makefile.am:
      	* Tests/draw/Makefile.am:
      	* Tests/draw/drawApp/Makefile.am:
      	* Tests/khtmlview/Makefile.am:
      	* Tests/khtmlview/WebViewTest/Makefile.am:
      	* Tests/qt/Makefile.am:
      
      	Remove these.
      
      	* Tests/Makefile.in:
      	* Tests/draw/Makefile:
      	* Tests/draw/drawApp/Makefile.in:
      	* Tests/khtmlview/WebViewTest/Makefile.in:
      	* Tests/qt/Makefile.in:
      
      	Tweak link flags.
      
      	* Tests/draw/drawApp/drawApp.pbproj/project.pbxproj:
      	* Tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj:
      
      	Ignore the right stuff.
      
      	* Tests/khtmlview/.cvsignore:
      	* Tests/khtmlview/WebViewTest/.cvsignore:
      	* Tests/.cvsignore:
      	* Tests/draw/.cvsignore:
      	* Tests/qt/.cvsignore:
      
      	* Tests/harness.c: Fix a couple of warnings.
      
      	* Tests/qt/qarray-test.chk, Tests/qt/qarray-test.cpp (main):
      	Remove a faulty test case: can't count on contents of
      	uninitialized array!
      
      	* Tests/test.list: Add a newly-enabled javascript test.
      
      	* Updates/install-automake.sh,
      	Updates/automake-1.5-mac-ported.diff, Updates/update:
      	Install automake 1.5 as an update, patch for Mac OS X
      
      	* Updates/install-gperf.sh: Fix potential minor bug for blind cut
      	& pasters.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0824703c
  28. 02 Nov, 2001 1 commit
    • kocienda's avatar
      It's that time again: I have made a number of changes to the make system. · d6e99656
      kocienda authored
      The two major modification are:
      
      1. The tests directory, which was formerly buried in WebCore, has been moved to the top-level in Labyrinth, and is now a peer of WebCore and WebKit.
      
      2. I have moved the the configure and Makefiles from WebCore one directory up so that they may serve for all of Labyrinth. In other words, running `configure` and `make` in Labyrinth now builds "everything," including WebCore, WebKit, and the test programs.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6e99656