1. 04 Dec, 2007 1 commit
    • aroben@apple.com's avatar
      Make the implementation of Frame::setNeedsReapplyStyles cross-platform · 4cfcb8ae
      aroben@apple.com authored
       WebCore:
      
               Make the implementation of Frame::setNeedsReapplyStyles cross-platform
      
               Reviewed by Hyatt.
      
               No change in functionality.
      
               * page/Frame.cpp:
               (WebCore::Frame::setNeedsReapplyStyles): Added. Invalidates the
               FrameView so that FrameView::layout will be called, which ends up
               calling reapplyStyles.
               (WebCore::Frame::needsReapplyStyles): Added.
               (WebCore::Frame::reapplyStyles): Renamed from reparseConfiguration.
               (WebCore::FramePrivate::FramePrivate):
               * page/Frame.h:
               * page/FramePrivate.h: Added new boolean member.
               * page/FrameView.cpp:
               (WebCore::FrameView::layout): Call Frame::reapplyStyles if needed.
               (WebCore::FrameView::needsLayout): Say that we need layout if the
               Frame needs styles reapplied.
               * page/mac/WebCoreFrameBridge.h: Removed setNeedsReapplyStyles.
               * page/mac/WebCoreFrameBridge.mm:
               (-[WebCoreFrameBridge reapplyStylesForDeviceType:]): Updated for
               rename.
      
               * bridge/win/FrameWin.cpp: Removed Frame::setNeedsReapplyStyles.
               * page/gtk/FrameGtk.cpp: Ditto.
               * page/mac/FrameMac.mm: Ditto.
               * page/qt/FrameQt.cpp: Ditto.
               * platform/wx/TemporaryLinkStubs.cpp: Ditto.
      
       WebKit/mac:
      
               Remove -[WebFrameBridge setNeedsReapplyStyles]
      
               This functionality is now WebCore's responsibility.
      
               Reviewed by Hyatt.
      
               * WebCoreSupport/WebFrameBridge.mm:
               * WebKit.order:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cfcb8ae
  2. 08 Nov, 2007 1 commit
    • darin@apple.com's avatar
      WebCore: · 02405e32
      darin@apple.com authored
              Reviewed by Steve.
      
              - cut down on notImplemented() functions on Windows
      
              * bridge/AXObjectCache.h: Put #if around the accessibility
              global.
      
              * bridge/win/FrameWin.cpp: (WebCore::Frame::setNeedsReapplyStyles):
              Moved here from TemporaryLinkStubs.
      
              * dom/Document.cpp: (WebCore::Document::lastModified): Re-implemented
              using the ResourceResponse that's now available from the DocumentLoader.
      
              * editing/JSEditor.cpp: (execTranspose): Changed to call transpose() on
              the Editor instead of the obsolete one on the Frame.
      
              * loader/DocumentLoader.h: Removed getResponseModifiedHeader.
              * loader/FrameLoader.h: Removed overrideMediaType.
      
              * loader/gtk/DocumentLoaderGtk.cpp: Removed.
              * loader/mac/DocumentLoaderMac.mm: Removed.
              * loader/qt/DocumentLoaderQt.cpp: Removed.
      
              * page/Frame.cpp: Removed transpose.
              * page/Frame.h: Ditto.
              * page/FrameView.h: Removed updateBorder.
              * page/gtk/FrameGtk.cpp: Removed issueTransposeCommand.
              * page/mac/FrameMac.mm: Ditto.
              * page/mac/WebCoreFrameBridge.h: Removed issueTransposeCommand and
              overrideMediaType.
              * page/qt/FrameQt.cpp: Removed issueTransposeCommand.
      
              * platform/gtk/TemporaryLinkStubs.cpp: Removed gAccessibilityEnabled.
              * platform/qt/TemporaryLinkStubs.cpp: Ditto.
              * platform/win/TemporaryLinkStubs.cpp: Removed or moved all but 3 of the stubs.
              * platform/wx/TemporaryLinkStubs.cpp: Removed gAccessibilityEnabled,
              issueTransposeCommand, and overrideMediaType.
      
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::ResourceHandle::loadsBlocked): Moved here from TemporaryLinkStubs.
              (WebCore::ResourceHandle::willLoadFromCache): Ditto.
              * platform/win/GraphicsContextWin.cpp:
              (WebCore::GraphicsContextPlatformPrivate::clip): Ditto.
              * platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::inWindow): Ditto.
              * platform/win/SystemTimeWin.cpp: (WebCore::userIdleTime): Ditto.
              * platform/win/WidgetWin.cpp: (WebCore::Widget::setIsSelected): Ditto.
      
              * WebCore.pro: Updated for removed files.
              * WebCore.xcodeproj/project.pbxproj: Updated for removed file.
      
      WebKit/mac:
      
              Reviewed by Steve.
      
              - removed some unused WebCore bridge methods
      
              * WebCoreSupport/WebFrameBridge.mm: Removed issueTransposeCommand and overrideMediaType.
      
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::overrideMediaType): Changed to call WebView directly instead of
              using the bridge object.
      
      WebKit/win:
      
              Reviewed by Steve.
      
              * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
              * WebChromeClient.cpp:
              (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
              here by calling through the UI delegate.
              (WebChromeClient::menubarVisible): Ditto.
              (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02405e32
  3. 21 Sep, 2007 1 commit
  4. 20 Sep, 2007 1 commit
    • adachan's avatar
      <rdar://problem/5477240> Regression: Footer is too high in print preview · 73f2c8ce
      adachan authored
              
              Reviewed by Steve.
      
      WebCore:
              Make computePageRectsForFrame() return the height of the page adjusted for margins.
      
              * bridge/win/FrameWin.cpp:
              (WebCore::computePageRectsForFrame):
              * bridge/win/FrameWin.h:        
              
      WebKit/win:
              * WebFrame.cpp:
              (WebFrame::WebFrame): initialize new data member m_pageHeight, which is the height of the page adjusted for margins.
              (WebFrame::computePageRects): get the height of the page adjusted for margins by passing m_pageHeight to
              computePageRectsForFrame().
              (WebFrame::spoolPages): footer rect's top is the max of the bottom of the page content and the bottom of the page
              minus footer height.
              * WebFrame.h:        
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73f2c8ce
  5. 24 Aug, 2007 1 commit
    • honeycutt's avatar
      2007-08-24 Jon Honeycutt <jhoneycutt@apple.com> · c1d09518
      honeycutt authored
              Reviewed by Darin.
      
              <rdar://problem/5433236> Print preview of empty txt file crashes Safari
              Fix: Adjust computePageRectsForFrame to always return at least one 
              page rect, even if document height is zero.
      
              * WebCore.vcproj/WebCore.vcproj:
              * bridge/win/FrameWin.h: Added Vector& parameter to 
              computePagesRectsForFrame; changed its return type to void.
              * bridge/win/FrameWin.cpp:
              (WebCore::computePageRectsForFrame): Reordered the loop that inserts
              rects into the vector.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1d09518
  6. 21 Aug, 2007 1 commit
  7. 02 Aug, 2007 1 commit
    • adachan's avatar
      2007-08-02 Ada Chan <adachan@apple.com> · 3fb6471c
      adachan authored
              Reviewed by Steve.
      
      WebCore:
              <rdar://problem/5079175> Added parameters headerHeight and footerHeight to 
              computePageRectsForFrame() so we can account for the header and footer when
              calculating page heights for this frame.
      
              * bridge/win/FrameWin.cpp:
              (WebCore::computePageRectsForFrame):
              * bridge/win/FrameWin.h:
              
      WebKit/win:
              <rdar://problem/5079175> Printing header and footer
      
              * Interfaces/IWebUIDelegate.idl: added methods for header/footer drawing.
              * WebFrame.cpp:
              (WebFrame::headerAndFooterHeights): ask client for the header and 
              footer heights via IWebUIDelegate2 methods.
              (WebFrame::computePageRects): pass in header and footer heights when
              calculating page rect heights.
              (WebFrame::spoolPages): ask client to draw header and footer via
              IWebUIDelegate2 methods.
              * WebFrame.h:
              * WebKitGraphics.cpp:
              (DrawTextAtPoint): the code assumes color has 4 components - might as well
              assert it.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3fb6471c
  8. 16 Jul, 2007 1 commit
    • aroben's avatar
      Replace Frame::print with Chrome::print and remove -[WebFrameBridge print] · a64dcca8
      aroben authored
      WebCore:
      
              Replace Frame::print with Chrome::print
      
              This also adds a Frame* parameter to Chrome::print and
              ChromeClient::print so that it knows which Frame to print.
      
              Reviewed by Darin.
      
              All tests pass.
      
              * bindings/js/kjs_window.cpp:
              (KJS::WindowFunc::callAsFunction): Call Chrome::print.
              * editing/JSEditor.cpp: Ditto.
      
              * bridge/win/FrameWin.cpp: Removed Frame::print.
              * page/Frame.h: Ditto.
              * page/mac/FrameMac.mm: Ditto.
              * page/qt/FrameQt.cpp: Ditto.
              * platform/gdk/FrameGdk.cpp: Ditto.
              * page/mac/WebCoreFrameBridge.h: Removed -print.
      
              * page/Chrome.cpp: Added Frame* parameter to Chrome::print and pass it
              up to the ChromeClient.
              * page/Chrome.h: Ditto.
              * page/ChromeClient.h: Ditto.
              * platform/gdk/TemporaryLinkStubs.cpp: Ditto.
              * platform/graphics/svg/SVGImageEmptyClients.h: Ditto.
      
      WebKit:
      
              Move printing from WebFrameBridge to WebChromeClient
      
              Reviewed by Darin.
      
              * WebCoreSupport/WebChromeClient.h: Updated for ChromeClient changes.
              * WebCoreSupport/WebChromeClient.mm:
              (WebChromeClient::print): Moved code from WebFrameBridge.
              * WebCoreSupport/WebFrameBridge.mm: Removed -print.
      
      WebKit/win:
      
              Updated WebChromeClient for ChromeClient changes.
      
              Reviewed by Darin.
      
              * WebChromeClient.cpp:
              (WebChromeClient::print): Added a Frame* parameter.
              * WebChromeClient.h: Ditto.
      
      WebKitQt:
      
              Updated ChromeClientQt for ChromeClient changes.
      
              Reviewed by Darin.
      
              * WebCoreSupport/ChromeClientQt.cpp:
              (WebCore::ChromeClientQt::print): Added a Frame* parameter.
              * WebCoreSupport/ChromeClientQt.h: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a64dcca8
  9. 12 Jul, 2007 1 commit
    • aliceli1's avatar
      WebCore: · 2876ce66
      aliceli1 authored
              Reviewed by Maciej and Steve.
      
              fixed <rdar://4982432> window.print() needs to be implemented
      
              * bridge/win/FrameWin.cpp:
              (WebCore::Frame::print):
              * page/Chrome.cpp:
              (WebCore::Chrome::print):
              * page/Chrome.h:
              * page/ChromeClient.h:
              * platform/win/TemporaryLinkStubs.cpp:
      
      win:
      
              Reviewed by Maciej and Steve.
      
              fixed <rdar://4982432> window.print() needs to be implemented
      
              * Interfaces/IWebUIDelegate.idl:
              * WebChromeClient.cpp:
              (WebChromeClient::print):
              * WebChromeClient.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2876ce66
  10. 06 Jul, 2007 1 commit
  11. 04 Jul, 2007 1 commit
    • aliceli1's avatar
      Reviewed by Adam. · 7f9f8407
      aliceli1 authored
              Fixed <rdar://problem/5225119> support smart pasting on Windows
      
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
                  Added new files
              * editing/SmartReplace.cpp: Added.
              (WebCore::isCharacterSmartReplaceExempt):
                  Added non-CF implementation placeholder
              * editing/SmartReplace.h: Added.
              * editing/SmartReplaceCF.cpp: Added.
              (WebCore::getSmartSet):
              (WebCore::isCharacterSmartReplaceExempt):
                  Added new implementation
      
              * bridge/win/FrameWin.cpp:
              * page/Frame.h:
              * page/mac/FrameMac.mm:
                  Removed old declaration and implementation
      
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplaceSelectionCommand::doApply):
                  Changed to call the new function instead of old
      
              * page/mac/WebCoreFrameBridge.h:
              * page/mac/WebCoreFrameBridge.mm:
                  Removed old declaration and implementation
              (-[WebCoreFrameBridge smartInsertForString:replacingRange:beforeString:afterString:]):
                  Changed to call the new function instead of old
      
              * platform/win/PasteboardWin.cpp:
              (WebCore::Pasteboard::Pasteboard):
                  Register new clipboard format
              (WebCore::Pasteboard::writeSelection):
                  Set data for smartpaste format on clipboard
              (WebCore::Pasteboard::canSmartReplace):
                  Added non-stub implementation
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f9f8407
  12. 12 Jun, 2007 1 commit
  13. 04 Jan, 2007 1 commit
    • ap's avatar
      2007-01-04 Don Gibson <dgibson77@gmail.com> · 54ee1988
      ap authored
              Reviewed by Alexey.
      
              http://bugs.webkit.org/show_bug.cgi?id=11900:
              Windows build bustage
      
      WebCore:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::FrameWin):
              * platform/graphics/BitmapImage.h:
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::setPlatformStrokeColor):
              * platform/graphics/Image.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::drawRect):
              (WebCore::adjustLineToPixelBoundaries):
              (WebCore::GraphicsContext::drawLine):
              (WebCore::GraphicsContext::drawEllipse):
              (WebCore::GraphicsContext::strokeArc):
              (WebCore::GraphicsContext::drawConvexPolygon):
              * platform/graphics/cairo/ImageCairo.cpp:
              (WebCore::BitmapImage::checkForSolidColor):
              (WebCore::BitmapImage::draw):
              (WebCore::BitmapImage::drawTiled):
              * platform/graphics/win/ImageWin.cpp:
              (WebCore::BitmapImage::initPlatformData):
              (WebCore::BitmapImage::invalidatePlatformData):
              (WebCore::Image::loadPlatformResource):
              * platform/win/FontWin.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::userIdleTime):
              (WebCore::BitmapImage::drawTiled):
              (WebCore::BitmapImage::getHBITMAP):
              (WebCore::ContextMenu::~ContextMenu):
              (WebCore::ContextMenu::appendItem):
              (WebCore::ContextMenuItem::ContextMenuItem):
              (WebCore::ContextMenuItem::releasePlatformDescription):
              (WebCore::ContextMenuItem::type):
              (WebCore::ContextMenuItem::setType):
              (WebCore::ContextMenuItem::setAction):
              (WebCore::ContextMenuItem::setTitle):
              (WebCore::ContextMenuItem::setSubMenu):
              (WebCore::ContextMenuItem::setChecked):
              (WebCore::ContextMenuItem::setEnabled):
              (WebCore::DocumentLoader::originalRequest):
              (WebCore::DocumentLoader::request):
              (WebCore::DocumentLoader::unreachableURL):
              (WebCore::DocumentLoader::getResponseRefreshAndModifiedHeaders):
              (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
              (WebCore::DocumentLoader::setCommitted):
              (WebCore::DocumentLoader::isLoading):
              (WebCore::DocumentLoader::prepareForLoadStart):
              (WebCore::DocumentLoader::isClientRedirect):
              (WebCore::DocumentLoader::title):
              (WebCore::DocumentLoader::urlForHistory):
              (WebCore::Editor::markMisspellingsAfterTypingToPosition):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::referrer):
              (WebCore::FrameLoader::dataURLBaseFromRequest):
              (WebCore::FrameLoader::opened):
              (WebCore::FrameLoader::applyUserAgent):
              (WebCore::GraphicsContext::strokeRect):
              (WebCore::IconDatabase::iconForPageURL):
              (WebCore::IconDatabase::defaultIcon):
              (WebCore::IconDatabase::retainIconForPageURL):
              (WebCore::IconDatabase::releaseIconForPageURL):
              (WebCore::PageCache::close):
              (WebCore::ResourceHandle::willLoadFromCache):
              (WebCore::SearchPopupMenu::saveRecentSearches):
              (WebCore::SearchPopupMenu::loadRecentSearches):
              (WebCore::SearchPopupMenu::SearchPopupMenu):
      
      WebKit:
              * COM/ChromeClientWin.cpp:
              (ChromeClientWin::addMessageToConsole):
              (ChromeClientWin::runBeforeUnloadConfirmPanel):
              * COM/ChromeClientWin.h:
              * COM/ContextMenuClientWin.cpp:
              (ContextMenuClientWin::contextMenuItemSelected):
              * COM/ContextMenuClientWin.h:
              * COM/WebFrameLoaderClient.cpp:
              (WebFrameLoaderClient::setDocumentViewFromPageCache):
              (WebFrameLoaderClient::forceLayout):
              (WebFrameLoaderClient::forceLayoutForNonHTML):
              (WebFrameLoaderClient::updateGlobalHistoryForStandardLoad):
              (WebFrameLoaderClient::updateGlobalHistoryForReload):
              (WebFrameLoaderClient::shouldGoToHistoryItem):
              (WebFrameLoaderClient::saveScrollPositionAndViewStateToItem):
              (WebFrameLoaderClient::restoreScrollPositionAndViewState):
              (WebFrameLoaderClient::provisionalLoadStarted):
              (WebFrameLoaderClient::saveDocumentViewToPageCache):
              (WebFrameLoaderClient::canCachePage):
              * COM/WebFrameLoaderClient.h:
              * WebKit.vcproj/WebKit.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54ee1988
  14. 15 Dec, 2006 1 commit
    • ap's avatar
      2006-12-15 Marvin Decker <marv.decker@gmail.com> · 1e92f5ab
      ap authored
              Reviewed by Darin and Alexey.
      
              Fix the Windows build, move various Client implementations out of
              WebCore and into WebKit.
      
      WebCore:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/ChromeClientWin.h: Removed.
              * bridge/win/ContextMenuClientWin.h: Removed.
              * bridge/win/EditorClientWin.h: Removed.
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::FrameWin):
              * bridge/win/FrameWin.h:
              * loader/win/FrameLoaderClientWin.cpp: Removed.
              * loader/win/FrameLoaderClientWin.h: Removed.
              * platform/network/win/ResourceHandleWin.cpp:
              (WebCore::ResourceHandle::start):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::DocumentLoader::URL):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::createFrame):
              (WebCore::FrameLoader::loadResourceSynchronously):
              (WebCore::Pasteboard::writeSelection):
              (WebCore::Pasteboard::writeURL):
              (WebCore::Pasteboard::clear):
              (WebCore::Pasteboard::~Pasteboard):
              (WebCore::PolicyCheck::call):
              (WebCore::PopupMenu::PopupMenu):
              (WebCore::ResourceHandle::loadsBlocked):
              (WebCore::ResourceLoader::cancel):
      
      WebKit:
              * COM/ChromeClientWin.cpp: Added.
              (ChromeClientWin::~ChromeClientWin):
              (ChromeClientWin::chromeDestroyed):
              (ChromeClientWin::setWindowRect):
              (ChromeClientWin::windowRect):
              (ChromeClientWin::pageRect):
              (ChromeClientWin::scaleFactor):
              (ChromeClientWin::focus):
              (ChromeClientWin::unfocus):
              (ChromeClientWin::createWindow):
              (ChromeClientWin::createModalDialog):
              (ChromeClientWin::show):
              (ChromeClientWin::canRunModal):
              (ChromeClientWin::runModal):
              (ChromeClientWin::setToolbarsVisible):
              (ChromeClientWin::toolbarsVisible):
              (ChromeClientWin::setStatusbarVisible):
              (ChromeClientWin::statusbarVisible):
              (ChromeClientWin::setScrollbarsVisible):
              (ChromeClientWin::scrollbarsVisible):
              (ChromeClientWin::setMenubarVisible):
              (ChromeClientWin::menubarVisible):
              (ChromeClientWin::setResizable):
              (ChromeClientWin::addMessageToConsole):
              * COM/ChromeClientWin.h: Added.
              * COM/ContextMenuClientWin.cpp: Added.
              (ContextMenuClientWin::~ContextMenuClientWin):
              (ContextMenuClientWin::contextMenuDestroyed):
              (ContextMenuClientWin::addCustomContextMenuItems):
              (ContextMenuClientWin::contextMenuItemSelected):
              (ContextMenuClientWin::copyLinkToClipboard):
              (ContextMenuClientWin::downloadURL):
              (ContextMenuClientWin::copyImageToClipboard):
              (ContextMenuClientWin::lookUpInDictionary):
              (ContextMenuClientWin::speak):
              (ContextMenuClientWin::stopSpeaking):
              * COM/ContextMenuClientWin.h: Added.
              * COM/EditorClientWin.cpp: Added.
              (EditorClientWin::~EditorClientWin):
              (EditorClientWin::pageDestroyed):
              (EditorClientWin::shouldDeleteRange):
              (EditorClientWin::shouldShowDeleteInterface):
              (EditorClientWin::smartInsertDeleteEnabled):
              (EditorClientWin::isContinuousSpellCheckingEnabled):
              (EditorClientWin::toggleContinuousSpellChecking):
              (EditorClientWin::isGrammarCheckingEnabled):
              (EditorClientWin::toggleGrammarChecking):
              (EditorClientWin::spellCheckerDocumentTag):
              (EditorClientWin::selectWordBeforeMenuEvent):
              (EditorClientWin::isEditable):
              (EditorClientWin::shouldBeginEditing):
              (EditorClientWin::shouldEndEditing):
              (EditorClientWin::shouldInsertNode):
              (EditorClientWin::shouldInsertText):
              (EditorClientWin::shouldApplyStyle):
              (EditorClientWin::didBeginEditing):
              (EditorClientWin::respondToChangedContents):
              (EditorClientWin::didEndEditing):
              (EditorClientWin::registerCommandForUndo):
              (EditorClientWin::registerCommandForRedo):
              (EditorClientWin::clearUndoRedoOperations):
              (EditorClientWin::canUndo):
              (EditorClientWin::canRedo):
              (EditorClientWin::undo):
              (EditorClientWin::redo):
              * COM/EditorClientWin.h: Added.
              * COM/WebFrame.cpp:
              (WebFrame::WebFrame):
              (WebFrame::initWithName):
              * COM/WebFrame.h:
              * COM/WebFrameLoaderClient.cpp: Added.
              (WebFrameLoaderClient::WebFrameLoaderClient):
              (WebFrameLoaderClient::~WebFrameLoaderClient):
              (WebFrameLoaderClient::frameLoaderDestroyed):
              (WebFrameLoaderClient::hasWebView):
              (WebFrameLoaderClient::hasFrameView):
              (WebFrameLoaderClient::hasBackForwardList):
              (WebFrameLoaderClient::resetBackForwardList):
              (WebFrameLoaderClient::provisionalItemIsTarget):
              (WebFrameLoaderClient::loadProvisionalItemFromPageCache):
              (WebFrameLoaderClient::invalidateCurrentItemPageCache):
              (WebFrameLoaderClient::privateBrowsingEnabled):
              (WebFrameLoaderClient::makeDocumentView):
              (WebFrameLoaderClient::makeRepresentation):
              (WebFrameLoaderClient::forceLayout):
              (WebFrameLoaderClient::forceLayoutForNonHTML):
              (WebFrameLoaderClient::updateHistoryForCommit):
              (WebFrameLoaderClient::updateHistoryForBackForwardNavigation):
              (WebFrameLoaderClient::updateHistoryForReload):
              (WebFrameLoaderClient::updateHistoryForStandardLoad):
              (WebFrameLoaderClient::updateHistoryForInternalLoad):
              (WebFrameLoaderClient::updateHistoryAfterClientRedirect):
              (WebFrameLoaderClient::setCopiesOnScroll):
              (WebFrameLoaderClient::tokenForLoadErrorReset):
              (WebFrameLoaderClient::resetAfterLoadError):
              (WebFrameLoaderClient::doNotResetAfterLoadError):
              (WebFrameLoaderClient::willCloseDocument):
              (WebFrameLoaderClient::detachedFromParent1):
              (WebFrameLoaderClient::detachedFromParent2):
              (WebFrameLoaderClient::detachedFromParent3):
              (WebFrameLoaderClient::detachedFromParent4):
              (WebFrameLoaderClient::loadedFromPageCache):
              (WebFrameLoaderClient::dispatchDidHandleOnloadEvents):
              (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
              (WebFrameLoaderClient::dispatchDidCancelClientRedirect):
              (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
              (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):
              (WebFrameLoaderClient::dispatchWillClose):
              (WebFrameLoaderClient::dispatchDidReceiveIcon):
              (WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
              (WebFrameLoaderClient::dispatchDidReceiveTitle):
              (WebFrameLoaderClient::dispatchDidCommitLoad):
              (WebFrameLoaderClient::dispatchDidFinishLoad):
              (WebFrameLoaderClient::dispatchDidFirstLayout):
              (WebFrameLoaderClient::dispatchShow):
              (WebFrameLoaderClient::cancelPolicyCheck):
              (WebFrameLoaderClient::dispatchWillSubmitForm):
              (WebFrameLoaderClient::dispatchDidLoadMainResource):
              (WebFrameLoaderClient::clearLoadingFromPageCache):
              (WebFrameLoaderClient::isLoadingFromPageCache):
              (WebFrameLoaderClient::revertToProvisionalState):
              (WebFrameLoaderClient::clearUnarchivingState):
              (WebFrameLoaderClient::progressStarted):
              (WebFrameLoaderClient::progressCompleted):
              (WebFrameLoaderClient::setMainFrameDocumentReady):
              (WebFrameLoaderClient::willChangeTitle):
              (WebFrameLoaderClient::didChangeTitle):
              (WebFrameLoaderClient::finishedLoading):
              (WebFrameLoaderClient::finalSetupForReplace):
              (WebFrameLoaderClient::setDefersLoading):
              (WebFrameLoaderClient::isArchiveLoadPending):
              (WebFrameLoaderClient::cancelPendingArchiveLoad):
              (WebFrameLoaderClient::clearArchivedResources):
              (WebFrameLoaderClient::canHandleRequest):
              (WebFrameLoaderClient::canShowMIMEType):
              (WebFrameLoaderClient::representationExistsForURLScheme):
              (WebFrameLoaderClient::generatedMIMETypeForURLScheme):
              (WebFrameLoaderClient::frameLoadCompleted):
              (WebFrameLoaderClient::restoreScrollPositionAndViewState):
              (WebFrameLoaderClient::provisionalLoadStarted):
              (WebFrameLoaderClient::shouldTreatURLAsSameAsCurrent):
              (WebFrameLoaderClient::addHistoryItemForFragmentScroll):
              (WebFrameLoaderClient::didFinishLoad):
              (WebFrameLoaderClient::prepareForDataSourceReplacement):
              (WebFrameLoaderClient::setTitle):
              (WebFrameLoaderClient::userAgent):
              * COM/WebFrameLoaderClient.h: Added.
              * COM/WebKitDLL.h:
              * WebKit.vcproj/WebKit.vcproj:
      
      WebKitTools:
              * Spinneret/Spinneret.sln:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e92f5ab
  15. 11 Dec, 2006 1 commit
    • darin's avatar
      WebCore: · cb3524af
      darin authored
              Reviewed by Brady.
      
              - http://bugs.webkit.org/show_bug.cgi?id=11794
                fix lifetime problems affecting Frame's ownerElement pointer
      
              * CMakeLists.txt:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              Updated for new source files.
      
              * WebCore.exp: Updated for changes to entry point names.
      
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm: (WebCore::FrameMac::FrameMac):
              * bridge/win/FrameWin.h:
              * bridge/win/FrameWin.cpp: (WebCore::FrameWin::FrameWin):
              * platform/qt/FrameQt.h:
              * platform/qt/FrameQt.cpp: (WebCore::FrameQt::FrameQt):
              Updated owner element type to HTMLFrameOwnerElement.
      
              * bridge/mac/WebCoreFrameBridge.h: Removed non-C++ case since we don't
              use that any more. Updated owner element type to HTMLFrameOwnerElement.
      
              * dom/Document.cpp: Added include so that the ownerElement function can
              compile (since it downcasts an HTMLFrameOwnerElement to an Element).
      
              * html/HTMLFrameElement.cpp:
              (WebCore::containingFrameSetElement): Moved this function in here; it
              doesn't need to be a member function.
              (WebCore::HTMLFrameElement::attach): Updated to call this.
      
              * html/HTMLFrameElementBase.h:
              * html/HTMLFrameElementBase.cpp:
              (WebCore::HTMLFrameElementBase::HTMLFrameElementBase): Inherit from
              HTMLFrameOwnerElement. Removed contentFrame, contentDocument, and
              containingFrameSetElement. Removed friend classes.
      
              * html/HTMLFrameOwnerElement.h: Added.
              * html/HTMLFrameOwnerElement.cpp: Added.
      
              * html/HTMLEmbedElement.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLObjectElement.h:
              * html/HTMLObjectElement.cpp:
              Remove now-unneeded contentDocument functions.
      
              * html/HTMLPlugInElement.h:
              * html/HTMLPlugInElement.cpp:
              (WebCore::HTMLPlugInElement::HTMLPlugInElement): Inherit from
              HTMLFrameOwnerElement.
      
              * loader/FormState.h:
              * loader/FormState.cpp: Use HTMLFormElement instead of just Element.
      
              * loader/FrameLoader.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::requestFrame): Use HTMLFormElement.
              (WebCore::FrameLoader::loadSubframe): Ditto.
              (WebCore::FrameLoader::requestObject): Don't pass an element parameter
              to shouldUsePlugin, and remove now-unneeded type casts.
              (WebCore::FrameLoader::shouldUsePlugin): Removed unneeded element parameter.
              (WebCore::FrameLoader::handleFallbackContent): Use HTMLFrameOwnerElement.
              (WebCore::FrameLoader::updateBaseURLForEmptyDocument): Ditto.
              (WebCore::FrameLoader::isHostedByObjectElement): Ditto.
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::load): Use HTMLFormElement.
              (WebCore::FrameLoader::post): Ditto.
              (WebCore::FrameLoader::createFrame): Use HTMLFrameOwnerElement.
      
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/Frame.cpp:
              (WebCore::parentFromOwnerElement): Use HTMLFrameOwnerElement.
              (WebCore::Frame::Frame): Ditto. Also set m_contentFrame on the owner element.
              (WebCore::Frame::ownerElement): Ditto.
              (WebCore::Frame::ownerRenderer): Ditto.
              (WebCore::Frame::disconnectOwnerElement): Clear m_contentFrame on the owner
              element before disconnecting it.
              (WebCore::FramePrivate::FramePrivate): Use HTMLFrameOwnerElement.
      
              * page/mac/EventHandlerMac.mm: Include HTMLFrameOwnerElement.h so that
              the code here will compile (no code changes needed).
      
              * rendering/RenderFrame.cpp: (WebCore::RenderFrame::viewCleared):
              Updated so that RenderFrame doesn't need to be a friend of HTMLFrameElementBase.
      
              * rendering/RenderPart.h:
              * rendering/RenderPart.cpp: (WebCore::RenderPart::RenderPart):
              Use HTMLFrameOwnerElement.
      
              * rendering/RenderPartObject.h:
              * rendering/RenderPartObject.cpp:
              (WebCore::RenderPartObject::RenderPartObject): Use HTMLFrameOwnerElement.
              (WebCore::RenderPartObject::viewCleared): Updated so that RenderFrame doesn't
              need to be a friend of HTMLFrameElementBase.
      
              - other changes
      
              * platform/network/ResourceHandleInternal.h: Added Noncopyable and
              fixed indentation.
      
      WebKit:
      
              Reviewed by Brady.
      
              - http://bugs.webkit.org/show_bug.cgi?id=11794
                fix lifetime problems affecting Frame's ownerElement pointer
      
              * WebCoreSupport/WebFrameBridge.mm:
              (-[WebFrameBridge finishInitializingWithPage:WebCore::frameName:frameView:ownerElement:]):
              (-[WebFrameBridge initSubframeWithOwnerElement:frameName:frameView:]):
              (-[WebFrameBridge createChildFrameNamed:withURL:referrer:ownerElement:allowsScrolling:marginWidth:marginHeight:]):
              Use HTMLFrameOwnerElement.
      
              * WebCoreSupport/WebFrameLoaderClient.mm: Include the relevant headers for the
              HTMLFormElement class.
      
              * WebKit.xcodeproj/project.pbxproj: Let Xcode have its way.
      
              * WebView/WebFrame.mm: (-[WebFrame frameElement]): Update includes and types for the
              change in return type of ownerElement.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb3524af
  16. 04 Dec, 2006 2 commits
    • kmccullo's avatar
      Reviewed by Darin. · 3c68f36a
      kmccullo authored
              - removed the guards for the "multiple forms submission" issue, which may not be
                an issue anymore and the guards prevent perfectly legitimate websites from
                working correctly.
      
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::setView):
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject accessibilityPerformAction:]):
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::keyPress):
              * config.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::submitForm):
              * loader/FrameLoader.h:
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::receivedMainResourceError):
              * loader/qt/FrameLoaderQt.cpp:
              (WebCore::FrameLoader::submitForm):
              * page/Frame.cpp:
              (WebCore::Frame::setView):
              * page/mac/EventHandlerMac.mm:
              (WebCore::EventHandler::keyEvent):
              (WebCore::EventHandler::mouseDown):
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::keyEvent):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c68f36a
    • ap's avatar
      2006-12-04 Don Gibson <dgibson77@gmail.com> · dec9ad8e
      ap authored
              Reviewed and landed by Alexey.
      
              http://bugs.webkit.org/show_bug.cgi?id=11738:
              Make link clicking work again on Windows.
      
      WebCore:
              This re-implements a few functions that used to be part of FrameWin in
              their new loader-based locations, and copies a few things from the Mac
              and Qt event handling code that aren't strictly necessary but are
              pretty simple.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/ChromeClientWin.h:
              * bridge/win/ContextMenuClientWin.h:
              * bridge/win/EditorClientWin.h:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::client):
              * bridge/win/FrameWin.h:
              * loader/win/DocumentLoaderWin.cpp: Added.
              (WebCore::DocumentLoader::setTitle):
              * loader/win/FrameLoaderClientWin.cpp: Added.
              (WebCore::FrameLoaderClientWin::userAgent):
              * loader/win/FrameLoaderClientWin.h:
              * loader/win/FrameLoaderWin.cpp: Added.
              (WebCore::FrameLoader::urlSelected):
              (WebCore::FrameLoader::submitForm):
              (WebCore::FrameLoader::setTitle):
              * page/win/EventHandlerWin.cpp: Added.
              (WebCore::EventHandler::passMousePressEventToSubframe):
              (WebCore::EventHandler::passMouseMoveEventToSubframe):
              (WebCore::EventHandler::passMouseReleaseEventToSubframe):
              (WebCore::EventHandler::passWheelEventToSubframe):
              (WebCore::EventHandler::passMousePressEventToScrollbar):
              (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::EventHandler::tabsToLinks):
              (WebCore::EventHandler::tabsToAllControls):
              (WebCore::EventHandler::lastEventIsMouseUp):
              (WebCore::EventHandler::passSubframeEventToSubframe):
              (WebCore::EventHandler::passMouseDownEventToWidget):
              (WebCore::EventHandler::passWheelEventToWidget):
              (WebCore::FrameLoader::getHistoryLength):
              (WebCore::FrameLoader::historyURL):
              (WebCore::FrameLoader::createFrame):
              (WebCore::FrameLoaderClientWin::setTitle):
      
      WebKit:
              The WebKit changes are to ignore WM_MOUSEMOVED messages when the mouse
              hasn't actually moved, which were preventing clicks from actually
              getting dispatched in many cases.  It's a peculiarity of Windows mouse
              handling that we receive these at all.
      
              * COM/WebView.cpp:
              (WebView::WebView):
              (WebView::mouseMoved):
              * COM/WebView.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dec9ad8e
  17. 01 Dec, 2006 1 commit
  18. 18 Nov, 2006 1 commit
    • ap's avatar
      2006-11-18 Don Gibson <dgibson77@gmail.com> · b2127b75
      ap authored
              Reviewed by Sam Weinig.
      
              http://bugs.webkit.org/show_bug.cgi?id=11634:
              Fix segfault on startup for Windows build.  Also fix segfault when
              typing in a URL.
              Clean up some of the style of the patch that landed in r17816.
      
      WebCore:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/ChromeClientWin.h:
              (WebCore::ChromeClientWin::~ChromeClientWin):
              (WebCore::ChromeClientWin::ref):
              (WebCore::ChromeClientWin::deref):
              * bridge/win/ContextMenuClientWin.h:
              (WebCore::ContextMenuClientWin::~ContextMenuClientWin):
              (WebCore::ContextMenuClientWin::ref):
              (WebCore::ContextMenuClientWin::deref):
              * bridge/win/EditorClientWin.h:
              (WebCore::EditorClientWin::~EditorClientWin):
              (WebCore::EditorClientWin::ref):
              (WebCore::EditorClientWin::deref):
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::FrameWin):
              * bridge/win/FrameWin.h:
              (WebCore::Win):
              * loader/win/FrameLoaderClientWin.h: Added.
              (WebCore::FrameLoaderClientWin::~FrameLoaderClientWin):
              (WebCore::FrameLoaderClientWin::ref):
              (WebCore::FrameLoaderClientWin::deref):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::ChromeClientWin::createWindow):
              (WebCore::ChromeClientWin::createModalDialog):
              (WebCore::EditorClientWin::selectWordBeforeMenuEvent):
              (WebCore::EditorClientWin::isEditable):
              (WebCore::EditorClientWin::shouldBeginEditing):
              (WebCore::EditorClientWin::shouldEndEditing):
              (WebCore::EditorClientWin::shouldApplyStyle):
              (WebCore::EditorClientWin::didBeginEditing):
              (WebCore::EditorClientWin::respondToChangedContents):
              (WebCore::EditorClientWin::didEndEditing):
              (WebCore::EditorClientWin::registerCommandForUndo):
              (WebCore::EditorClientWin::registerCommandForRedo):
              (WebCore::EditorClientWin::clearUndoRedoOperations):
              (WebCore::EditorClientWin::canUndo):
              (WebCore::EditorClientWin::canRedo):
              (WebCore::EditorClientWin::undo):
              (WebCore::EditorClientWin::redo):
              (WebCore::FrameLoader::createFrame):
              (WebCore::FrameLoader::createPlugin):
              (WebCore::FrameLoaderClientWin::hasWebView):
              (WebCore::FrameLoaderClientWin::hasFrameView):
              (WebCore::FrameLoaderClientWin::hasBackForwardList):
              (WebCore::FrameLoaderClientWin::resetBackForwardList):
              (WebCore::FrameLoaderClientWin::provisionalItemIsTarget):
              (WebCore::FrameLoaderClientWin::loadProvisionalItemFromPageCache):
              (WebCore::FrameLoaderClientWin::invalidateCurrentItemPageCache):
              (WebCore::FrameLoaderClientWin::privateBrowsingEnabled):
              (WebCore::FrameLoaderClientWin::makeDocumentView):
              (WebCore::FrameLoaderClientWin::makeRepresentation):
              (WebCore::FrameLoaderClientWin::forceLayout):
              (WebCore::FrameLoaderClientWin::forceLayoutForNonHTML):
              (WebCore::FrameLoaderClientWin::updateHistoryForCommit):
              (WebCore::FrameLoaderClientWin::updateHistoryForBackForwardNavigation):
              (WebCore::FrameLoaderClientWin::updateHistoryForReload):
              (WebCore::FrameLoaderClientWin::updateHistoryForStandardLoad):
              (WebCore::FrameLoaderClientWin::updateHistoryForInternalLoad):
              (WebCore::FrameLoaderClientWin::updateHistoryAfterClientRedirect):
              (WebCore::FrameLoaderClientWin::setCopiesOnScroll):
              (WebCore::FrameLoaderClientWin::tokenForLoadErrorReset):
              (WebCore::FrameLoaderClientWin::resetAfterLoadError):
              (WebCore::FrameLoaderClientWin::doNotResetAfterLoadError):
              (WebCore::FrameLoaderClientWin::willCloseDocument):
              (WebCore::FrameLoaderClientWin::detachedFromParent1):
              (WebCore::FrameLoaderClientWin::detachedFromParent2):
              (WebCore::FrameLoaderClientWin::detachedFromParent3):
              (WebCore::FrameLoaderClientWin::detachedFromParent4):
              (WebCore::FrameLoaderClientWin::loadedFromPageCache):
              (WebCore::FrameLoaderClientWin::dispatchDidHandleOnloadEvents):
              (WebCore::FrameLoaderClientWin::dispatchDidReceiveServerRedirectForProvisionalLoad):
              (WebCore::FrameLoaderClientWin::dispatchDidCancelClientRedirect):
              (WebCore::FrameLoaderClientWin::dispatchWillPerformClientRedirect):
              (WebCore::FrameLoaderClientWin::dispatchDidChangeLocationWithinPage):
              (WebCore::FrameLoaderClientWin::dispatchWillClose):
              (WebCore::FrameLoaderClientWin::dispatchDidReceiveIcon):
              (WebCore::FrameLoaderClientWin::dispatchDidStartProvisionalLoad):
              (WebCore::FrameLoaderClientWin::dispatchDidReceiveTitle):
              (WebCore::FrameLoaderClientWin::dispatchDidCommitLoad):
              (WebCore::FrameLoaderClientWin::dispatchDidFinishLoad):
              (WebCore::FrameLoaderClientWin::dispatchDidFirstLayout):
              (WebCore::FrameLoaderClientWin::dispatchShow):
              (WebCore::FrameLoaderClientWin::cancelPolicyCheck):
              (WebCore::FrameLoaderClientWin::dispatchWillSubmitForm):
              (WebCore::FrameLoaderClientWin::dispatchDidLoadMainResource):
              (WebCore::FrameLoaderClientWin::clearLoadingFromPageCache):
              (WebCore::FrameLoaderClientWin::isLoadingFromPageCache):
              (WebCore::FrameLoaderClientWin::revertToProvisionalState):
              (WebCore::FrameLoaderClientWin::clearUnarchivingState):
              (WebCore::FrameLoaderClientWin::progressStarted):
              (WebCore::FrameLoaderClientWin::progressCompleted):
              (WebCore::FrameLoaderClientWin::setMainFrameDocumentReady):
              (WebCore::FrameLoaderClientWin::willChangeTitle):
              (WebCore::FrameLoaderClientWin::didChangeTitle):
              (WebCore::FrameLoaderClientWin::finishedLoading):
              (WebCore::FrameLoaderClientWin::finalSetupForReplace):
              (WebCore::FrameLoaderClientWin::setDefersLoading):
              (WebCore::FrameLoaderClientWin::isArchiveLoadPending):
              (WebCore::FrameLoaderClientWin::cancelPendingArchiveLoad):
              (WebCore::FrameLoaderClientWin::clearArchivedResources):
              (WebCore::FrameLoaderClientWin::canShowMIMEType):
              (WebCore::FrameLoaderClientWin::representationExistsForURLScheme):
              (WebCore::FrameLoaderClientWin::generatedMIMETypeForURLScheme):
              (WebCore::FrameLoaderClientWin::frameLoadCompleted):
              (WebCore::FrameLoaderClientWin::restoreScrollPositionAndViewState):
              (WebCore::FrameLoaderClientWin::provisionalLoadStarted):
              (WebCore::FrameLoaderClientWin::shouldTreatURLAsSameAsCurrent):
              (WebCore::FrameLoaderClientWin::addHistoryItemForFragmentScroll):
              (WebCore::FrameLoaderClientWin::didFinishLoad):
              (WebCore::FrameLoaderClientWin::prepareForDataSourceReplacement):
              (WebCore::FrameLoaderClientWin::setTitle):
              (WebCore::FrameLoaderClientWin::userAgent):
      
      WebKit:
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2127b75
  19. 16 Nov, 2006 1 commit
    • ap's avatar
      2006-11-16 Don Gibson <dgibson77@gmail.com> · b2aa0fc0
      ap authored
              Reviewed and landed by ap.
      
              http://bugs.webkit.org/show_bug.cgi?id=11509:
              Windows build bustage.
      
              Also reorganizes WebCore.vcproj to add files whose absence wasn't
              causing compile errors, but which should have been there, and to
              make the include directory ordering (and contents) sane.
              Also reorganizes TemporaryLinkStubs.cpp to put headers and
              function groups in alphabetical order, and ensure that all functions
              in the file call notImplemented().
      
      WebCore:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/ChromeClientWin.h:
              (WebCore::ChromeClientWin::ref):
              (WebCore::ChromeClientWin::deref):
              * bridge/win/ContextMenuClientWin.h: Added.
              (WebCore::ContextMenuClientWin::~ContextMenuClientWin):
              (WebCore::ContextMenuClientWin::ref):
              (WebCore::ContextMenuClientWin::deref):
              * bridge/win/EditorClientWin.h:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::~FrameWin):
              (WebCore::FrameWin::keyPress):
              * bridge/win/FrameWin.h:
              * bridge/win/PageWin.cpp: Removed.
              * editing/EditCommand.h:
              * loader/FormState.h:
              * loader/FrameLoader.h:
              * page/EventHandler.cpp:
              * platform/MimeTypeRegistry.cpp:
              (WebCore::initialiseSupportedImageMIMETypes):
              * platform/graphics/win/ImageWin.cpp:
              * platform/network/ResourceError.cpp:
              * platform/network/ResourceHandleInternal.h:
              * platform/network/win/ResourceHandleWin.cpp:
              (WebCore::ResourceHandle::onHandleCreated):
              (WebCore::ResourceHandle::onRequestRedirected):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              * platform/win/ScreenWin.cpp:
              (WebCore::monitorInfo):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
              (WebCore::screenDepth):
              * platform/win/SoundWin.cpp: Added.
              (WebCore::systemBeep):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::CacheObjectExpiresTime):
              (WebCore::CheckCacheObjectStatus):
              (WebCore::CheckIfReloading):
              (WebCore::defaultLanguage):
              (WebCore::fileButtonChooseFileLabel):
              (WebCore::fileButtonNoFileSelectedLabel):
              (WebCore::findNextSentenceFromIndex):
              (WebCore::findNextWordFromIndex):
              (WebCore::findSentenceBoundary):
              (WebCore::findWordBoundary):
              (WebCore::focusRingColor):
              (WebCore::historyContains):
              (WebCore::inputElementAltText):
              (WebCore::IsResponseURLEqualToURL):
              (WebCore::cellCursor):
              (WebCore::contextMenuCursor):
              (WebCore::moveCursor):
              (WebCore::verticalTextCursor):
              (WebCore::refreshPlugins):
              (WebCore::resetButtonDefaultLabel):
              (WebCore::ResponseIsMultipart):
              (WebCore::ResponseMIMEType):
              (WebCore::ResponseURL):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::searchableIndexIntroduction):
              (WebCore::ServeSynchronousRequest):
              (WebCore::setFocusRingColorChangeFunction):
              (WebCore::submitButtonDefaultLabel):
              (WebCore::CachedResource::setPlatformResponse):
              (WebCore::CachedResource::setAllData):
              (WebCore::ChromeClientWin::setWindowRect):
              (WebCore::ChromeClientWin::windowRect):
              (WebCore::ChromeClientWin::pageRect):
              (WebCore::ChromeClientWin::scaleFactor):
              (WebCore::ChromeClientWin::focus):
              (WebCore::ChromeClientWin::unfocus):
              (WebCore::ChromeClientWin::createWindow):
              (WebCore::ChromeClientWin::createModalDialog):
              (WebCore::ChromeClientWin::show):
              (WebCore::ChromeClientWin::canRunModal):
              (WebCore::ChromeClientWin::runModal):
              (WebCore::ChromeClientWin::setToolbarsVisible):
              (WebCore::ChromeClientWin::toolbarsVisible):
              (WebCore::ChromeClientWin::setStatusbarVisible):
              (WebCore::ChromeClientWin::statusbarVisible):
              (WebCore::ChromeClientWin::setScrollbarsVisible):
              (WebCore::ChromeClientWin::scrollbarsVisible):
              (WebCore::ChromeClientWin::setMenubarVisible):
              (WebCore::ChromeClientWin::menubarVisible):
              (WebCore::ChromeClientWin::setResizable):
              (WebCore::ContextMenu::appendItem):
              (WebCore::ContextMenuClientWin::addCustomContextMenuItems):
              (WebCore::DocumentLoader::setFrame):
              (WebCore::DocumentLoader::frameLoader):
              (WebCore::DocumentLoader::URL):
              (WebCore::DocumentLoader::isStopping):
              (WebCore::DocumentLoader::stopLoading):
              (WebCore::DocumentLoader::setLoading):
              (WebCore::DocumentLoader::updateLoading):
              (WebCore::DocumentLoader::setupForReplaceByMIMEType):
              (WebCore::DocumentLoader::isLoadingInAPISense):
              (WebCore::DocumentLoader::stopRecordingResponses):
              (WebCore::EditorClientWin::shouldDeleteRange):
              (WebCore::EditorClientWin::shouldShowDeleteInterface):
              (WebCore::EditorClientWin::isContinuousSpellCheckingEnabled):
              (WebCore::EditorClientWin::isGrammarCheckingEnabled):
              (WebCore::EditorClientWin::spellCheckerDocumentTag):
              (WebCore::EventHandler::focusDocumentView):
              (WebCore::EventHandler::handleDrag):
              (WebCore::EventHandler::handleMouseUp):
              (WebCore::EventHandler::lastEventIsMouseUp):
              (WebCore::EventHandler::passMousePressEventToSubframe):
              (WebCore::EventHandler::passMouseMoveEventToSubframe):
              (WebCore::EventHandler::passMouseReleaseEventToSubframe):
              (WebCore::EventHandler::passWheelEventToSubframe):
              (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
              (WebCore::EventHandler::passMousePressEventToScrollbar):
              (WebCore::EventHandler::shouldDragAutoNode):
              (WebCore::EventHandler::tabsToAllControls):
              (WebCore::EventHandler::tabsToLinks):
              (WebCore::Frame::setNeedsReapplyStyles):
              (WebCore::FrameLoader::didFirstLayout):
              (WebCore::FrameLoader::overrideMediaType):
              (WebCore::FrameLoader::createJavaAppletWidget):
              (WebCore::FrameLoader::redirectDataToPlugin):
              (WebCore::FrameLoader::getHistoryLength):
              (WebCore::FrameLoader::setTitle):
              (WebCore::FrameLoader::referrer):
              (WebCore::FrameLoader::saveDocumentState):
              (WebCore::FrameLoader::restoreDocumentState):
              (WebCore::FrameLoader::goBackOrForward):
              (WebCore::FrameLoader::historyURL):
              (WebCore::FrameLoader::urlSelected):
              (WebCore::FrameLoader::createFrame):
              (WebCore::FrameLoader::submitForm):
              (WebCore::FrameLoader::partClearedInBegin):
              (WebCore::FrameLoader::originalRequestURL):
              (WebCore::FrameLoader::canGoBackOrForward):
              (WebCore::FrameLoader::objectContentType):
              (WebCore::FrameLoader::createPlugin):
              (WebCore::FrameLoader::detachFromParent):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameView::updateBorder):
              (WebCore::FrameWin::bindingRootObject):
              (WebCore::FrameWin::canPaste):
              (WebCore::FrameWin::issuePasteAndMatchStyleCommand):
              (WebCore::FrameWin::markedTextRange):
              (WebCore::FrameWin::passSubframeEventToSubframe):
              (WebCore::FrameWin::lastEventIsMouseUp):
              (WebCore::FrameWin::addMessageToConsole):
              (WebCore::FrameWin::shouldChangeSelection):
              (WebCore::FrameWin::respondToChangedSelection):
              (WebCore::FrameWin::clearUndoRedoOperations):
              (WebCore::FrameWin::markMisspellingsInAdjacentWords):
              (WebCore::FrameWin::respondToChangedContents):
              (WebCore::GraphicsContext::addRoundedRectClip):
              (WebCore::GraphicsContext::setShadow):
              (WebCore::GraphicsContext::clearShadow):
              (WebCore::GraphicsContext::beginTransparencyLayer):
              (WebCore::GraphicsContext::endTransparencyLayer):
              (WebCore::GraphicsContext::clearRect):
              (WebCore::GraphicsContext::strokeRect):
              (WebCore::GraphicsContext::setLineWidth):
              (WebCore::GraphicsContext::setLineCap):
              (WebCore::GraphicsContext::setLineJoin):
              (WebCore::GraphicsContext::setMiterLimit):
              (WebCore::GraphicsContext::setAlpha):
              (WebCore::GraphicsContext::setCompositeOperation):
              (WebCore::GraphicsContext::clip):
              (WebCore::GraphicsContext::rotate):
              (WebCore::GraphicsContext::scale):
              (WebCore::Icon::Icon):
              (WebCore::Icon::~Icon):
              (WebCore::Icon::newIconForFile):
              (WebCore::Icon::paint):
              (WebCore::IconDatabase::isIconExpiredForIconURL):
              (WebCore::IconDatabase::hasEntryForIconURL):
              (WebCore::IconDatabase::sharedIconDatabase):
              (WebCore::IconDatabase::setIconURLForPageURL):
              (WebCore::IconDatabase::setIconDataForIconURL):
              (WebCore::Image::drawTiled):
              (WebCore::Image::getHBITMAP):
              (WebCore::Path::Path):
              (WebCore::Path::~Path):
              (WebCore::Path::contains):
              (WebCore::Path::translate):
              (WebCore::Path::boundingRect):
              (WebCore::Path::operator=):
              (WebCore::Path::clear):
              (WebCore::Path::moveTo):
              (WebCore::Path::addLineTo):
              (WebCore::Path::addQuadCurveTo):
              (WebCore::Path::addBezierCurveTo):
              (WebCore::Path::addArcTo):
              (WebCore::Path::closeSubpath):
              (WebCore::Path::addArc):
              (WebCore::Path::addRect):
              (WebCore::Path::addEllipse):
              (WebCore::Path::transform):
              (WebCore::PlatformMouseEvent::PlatformMouseEvent):
              (WebCore::PlatformScrollbar::PlatformScrollbar):
              (WebCore::PlatformScrollbar::~PlatformScrollbar):
              (WebCore::PlatformScrollbar::width):
              (WebCore::PlatformScrollbar::height):
              (WebCore::PlatformScrollbar::setEnabled):
              (WebCore::PlatformScrollbar::paint):
              (WebCore::PlatformScrollbar::updateThumbPosition):
              (WebCore::PlatformScrollbar::updateThumbProportion):
              (WebCore::PlatformScrollbar::setRect):
              (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (WebCore::PlugInInfoStore::pluginCount):
              (WebCore::PlugInInfoStore::supportsMIMEType):
              (WebCore::PolicyCheck::PolicyCheck):
              (WebCore::PolicyCheck::clear):
              (WebCore::PolicyCheck::clearRequest):
              (WebCore::PolicyCheck::call):
              (WebCore::RenderThemeWin::systemFont):
              (WebCore::RenderThemeWin::paintMenuList):
              (WebCore::RenderThemeWin::adjustMenuListStyle):
              (WebCore::ResourceLoader::cancel):
              (WebCore::ScrollView::addChild):
              (WebCore::ScrollView::removeChild):
              (WebCore::ScrollView::scrollPointRecursively):
              (WebCore::ScrollView::inWindow):
              (WebCore::ScrollView::paint):
              (WebCore::ScrollView::wheelEvent):
              (WebCore::ScrollView::themeChanged):
              (WebCore::ScrollView::convertChildToSelf):
              (WebCore::ScrollView::convertSelfToChild):
              (WebCore::ScrollView::geometryChanged):
              (WebCore::ScrollView::scrollbarUnderMouse):
              (WebCore::ScrollView::setFrameGeometry):
              (WebCore::ScrollView::windowResizerRect):
              (WebCore::ScrollView::resizerOverlapsContent):
              (WebCore::TextField::selectAll):
              (WebCore::TextField::addSearchResult):
              (WebCore::TextField::selectionStart):
              (WebCore::TextField::hasSelectedText):
              (WebCore::TextField::selectedText):
              (WebCore::TextField::setAutoSaveName):
              (WebCore::TextField::checksDescendantsForFocus):
              (WebCore::TextField::setSelection):
              (WebCore::TextField::setMaxResults):
              (WebCore::TextField::edited):
              (WebCore::TextField::focusPolicy):
              (WebCore::TextField::TextField):
              (WebCore::TextField::~TextField):
              (WebCore::TextField::setFont):
              (WebCore::TextField::setAlignment):
              (WebCore::TextField::setWritingDirection):
              (WebCore::TextField::maxLength):
              (WebCore::TextField::setMaxLength):
              (WebCore::TextField::text):
              (WebCore::TextField::setText):
              (WebCore::TextField::cursorPosition):
              (WebCore::TextField::setCursorPosition):
              (WebCore::TextField::setEdited):
              (WebCore::TextField::setReadOnly):
              (WebCore::TextField::setPlaceholderString):
              (WebCore::TextField::setColors):
              (WebCore::TextField::sizeForCharacterWidth):
              (WebCore::TextField::baselinePosition):
              (WebCore::TextField::setLiveSearch):
              (WebCore::Widget::enableFlushDrawing):
              (WebCore::Widget::isEnabled):
              (WebCore::Widget::focusPolicy):
              (WebCore::Widget::disableFlushDrawing):
              (WebCore::Widget::removeFromParent):
              (WebCore::Widget::lockDrawingFocus):
              (WebCore::Widget::unlockDrawingFocus):
              (WebCore::Widget::capturingMouse):
              (WebCore::Widget::setCapturingMouse):
              (WebCore::Widget::capturingTarget):
              (WebCore::Widget::capturingChild):
              (WebCore::Widget::setCapturingChild):
              (WebCore::Widget::convertChildToSelf):
              (WebCore::Widget::convertSelfToChild):
              (WebCore::Widget::setParent):
              (WebCore::Widget::parent):
              (WebCore::Widget::setEnabled):
              (WebCore::Widget::paint):
              (WebCore::Widget::setIsSelected):
              (WebCore::Widget::invalidate):
              (WebCore::Widget::invalidateRect):
              * platform/win/WidgetWin.cpp:
              (WebCore::Widget::clearFocus):
      
      WebKit:
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
              (WebFrame::loadHTMLString):
              (WebFrame::stopLoading):
              (WebFrame::reload):
              (WebFrame::loadDataSource):
              (WebFrame::didReceiveData):
              (WebFrame::receivedResponse):
              (WebFrame::receivedAllData):
              * COM/WebFrame.h:
              * COM/WebView.cpp:
              (WebView::mouseMoved):
              (WebView::mouseDown):
              (WebView::mouseUp):
              (WebView::mouseDoubleClick):
              * WebKit.vcproj/WebKit.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2aa0fc0
  20. 04 Nov, 2006 2 commits
    • darin's avatar
      WebCore: · 7c9aa2d4
      darin authored
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                converted most uses of NSURL to KURL and NSEvent to DOM Event in
                loader classes
      
                moved download function out of FrameLoader.h to avoid reference to
                NSURLConnection
      
                added DOM Event parameters to various functions so that the handlers
                can use the DOM Event instead of the global "current NSEvent";
                includes Frame::submitForm, HTMLFormElement::prepareSubmit,
                HTMLFormElement::submit, FrameLoader::load
      
                moved the setMainFrame call that hands ownership to the Page
                into one of the Frame constructors, and removed it from all
                the clients
      
                removed const from Event parameter to the urlSelected function
                (we rarely use const with DOM elements)
      
                removed some redundant includes and declarations from various
                header files
      
                removed NSURL parameter from userAgent function -- if we need it we
                can add it back, but converting from NSURL to KURL and back is
                inefficient enough that it's best to have it out for now (since it's
                been unused for years) -- if we add it back, we can choose an
                appropriate parameter type that's always inexpensive to pass
      
                did some basic cleanup in the IconLoader class, including removing
                an unnecessary loop that added icon data a byte at a time
      
                renamed safeLoad to load, since it's no different from the other
                FrameLoader load functions, safety-wise
      
                fixed some code that was trying to distinguish null frame name from
                empty string frame name -- both should be handled the same, but callers
                were doing it by checking for empty and turning it into null (in a way
                that was causing extra round trips between NSString and WebCore::String)
      
                corrected all uses of "get" and "post" to be uppercase "GET" and "POST"
                and got rid of case-insensitive compares of methods
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::submitForm):
              (WebCore::FrameMac::urlSelected):
              (WebCore::FrameMac::userAgent):
              * bridge/mac/FrameViewMac.mm:
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject rendererForView:]):
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              * bridge/mac/WebCoreSettings.mm:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::urlSelected):
              (WebCore::FrameWin::submitForm):
              * bridge/win/FrameWin.h:
              * dom/MouseRelatedEvent.cpp:
              * dom/MouseRelatedEvent.h:
              * dom/UIEvent.cpp:
              (WebCore::UIEvent::~UIEvent):
              * dom/UIEvent.h:
              * dom/UIEventWithKeyState.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::openFunc):
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              * html/HTMLButtonElement.cpp:
              (WebCore::HTMLButtonElement::defaultEventHandler):
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::submitClick):
              (WebCore::HTMLFormElement::prepareSubmit):
              (WebCore::HTMLFormElement::submit):
              * html/HTMLFormElement.h:
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::defaultEventHandler):
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::menuListDefaultEventHandler):
              * loader/DocumentLoader.h:
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/NavigationAction.h:
              (WebCore::NavigationAction::event):
              * loader/icon/IconLoader.cpp:
              (WebCore::IconLoader::create):
              (WebCore::IconLoader::startLoading):
              (WebCore::IconLoader::didReceiveData):
              (WebCore::IconLoader::didFinishLoading):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              * loader/mac/DocumentLoaderMac.mm:
              (WebCore::DocumentLoader::URL):
              (WebCore::DocumentLoader::unreachableURL):
              (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
              (WebCore::DocumentLoader::URLForHistory):
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::willSendRequest):
              (WebCore::FrameLoader::clientRedirected):
              (WebCore::FrameLoader::shouldReload):
              (WebCore::FrameLoader::notifyIconChanged):
              (WebCore::FrameLoader::URL):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::didChangeTitle):
              (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::post):
              (WebCore::FrameLoader::addExtraFieldsToRequest):
              (WebCore::FrameLoader::loadResourceSynchronously):
              * loader/mac/IconLoaderMac.mm:
              (WebCore::IconLoader::notifyIconChanged):
              * loader/mac/LoaderFunctionsMac.mm:
              * loader/mac/MainResourceLoaderMac.mm:
              (WebCore::shouldLoadAsEmptyDocument):
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              * loader/mac/NavigationActionMac.mm:
              (WebCore::navigationType):
              (WebCore::NavigationAction::NavigationAction):
              * loader/mac/ResourceLoaderMac.mm:
              * loader/mac/SubresourceLoaderMac.mm:
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              (WebCore::Frame::urlSelected):
              (WebCore::Frame::submitFormAgain):
              (WebCore::Frame::submitForm):
              (WebCore::Frame::endIfNotLoading):
              (WebCore::Frame::hitTestResultAtPoint):
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              * platform/gdk/FrameGdk.h:
              * platform/mac/TextFieldMac.mm:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ResourceHandle.h:
              * platform/network/ResourceHandleClient.h:
              * platform/network/ResourceHandleInternal.h:
              * platform/network/mac/ResourceHandleMac.mm:
              * platform/network/mac/ResourceResponseMac.h:
              * platform/network/mac/ResourceResponseMac.mm:
              (-[NSURLResponse WebCore]):
              * platform/network/win/ResourceHandleWin.cpp:
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::submitForm):
              (WebCore::FrameQt::urlSelected):
              * platform/qt/FrameQt.h:
              * rendering/RenderLineEdit.cpp:
              (WebCore::RenderLineEdit::returnPressed):
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc):
              * xml/xmlhttprequest.cpp:
      
      WebKit:
      
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                store the computed user agent string as a WebCore::String instead
                of an NSString to avoid overhead converting it every time we get it
      
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
              * ChangeLog:
              * Misc/WebElementDictionary.m:
              (-[WebElementDictionary _image]):
              (-[WebElementDictionary _targetWebFrame]):
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
              (WebFrameLoaderClient::shouldTreatURLAsSameAsCurrent):
              (WebFrameLoaderClient::setTitle):
              (WebFrameLoaderClient::userAgent):
              (WebFrameLoaderClient::actionDictionary):
              * WebCoreSupport/WebPageBridge.mm:
              (WebCore::if):
              * WebView/WebDataSource.mm:
              (-[WebDataSource _URL]):
              (-[WebDataSource _URLForHistory]):
              (-[WebDataSource unreachableURL]):
              * WebView/WebHTMLView.m:
              (-[WebHTMLView elementAtPoint:allowShadowContent:]):
              * WebView/WebPDFView.mm:
              (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
              (-[WebPDFView _path]):
              * WebView/WebView.mm:
              (-[WebViewPrivate init]):
              (-[WebViewPrivate dealloc]):
              (-[WebViewPrivate finalize]):
              (-[WebView _preferencesChangedNotification:]):
              (-[WebView _cachedResponseForURL:]):
              (-[WebView setApplicationNameForUserAgent:]):
              (-[WebView setCustomUserAgent:]):
              (-[WebView customUserAgent]):
              (-[WebView userAgentForURL:]):
              (-[WebView _computeUserAgent]):
              (-[WebView WebCore::]):
              * WebView/WebViewInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c9aa2d4
    • ap's avatar
      2006-11-04 Bertrand Guiheneuf <guiheneuf@gmail.com> · 1378a993
      ap authored
              Reviewed by Maciej, tweaked and landed by Alexey (using a patch by Don Gibson).
      
              http://bugs.webkit.org/show_bug.cgi?id=11433
              Fixes to get WebKit to run on Windows; implemented AffineTransformCairo.
      
      WebCore:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              Added platform/graphics platform/network and platform/network/win to headers search paths
              Created platform/graphics and platform/network filters in hierarchy
              Moved GraphicsContext and GraphicsTypes to their respective filters
              Added EditorClient.h
              Added FrameLoader* files in loader/
              Added HitTest* files in rendering/
              Added Editor.* files in editing/
              Added DeleteButton.* and DeleteButtonController.* in editing/
      
              * bridge/win/ChromeClientWin.h: Added.
              (WebCore::ChromeClientWin::~ChromeClientWin):
              * bridge/win/EditorClientWin.h: Added.
              (WebCore::EditorClientWin::~EditorClientWin):
      
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::FrameWin):
              (WebCore::FrameWin::urlSelected):
              (WebCore::FrameWin::submitForm):
              (WebCore::FrameWin::createNewWindow):
              * bridge/win/FrameWin.h:
              Added EditorClient parameter to constructor
              Replace usage of FrameLoadRequest::m_request with FrameLoadRequest::resourceRequest()
              Removed openURL() and openURLRequest from class definition
      
              * bridge/win/PageWin.cpp:
              * platform/AffineTransform.h:
              * platform/cairo/AffineTransformCairo.cpp: Added.
              (WebCore::AffineTransform::AffineTransform):
              (WebCore::AffineTransform::setMatrix):
              (WebCore::AffineTransform::map):
              (WebCore::AffineTransform::mapRect):
              (WebCore::AffineTransform::isIdentity):
              (WebCore::AffineTransform::m11):
              (WebCore::AffineTransform::m12):
              (WebCore::AffineTransform::m21):
              (WebCore::AffineTransform::m22):
              (WebCore::AffineTransform::dx):
              (WebCore::AffineTransform::dy):
              (WebCore::AffineTransform::reset):
              (WebCore::AffineTransform::scale):
              (WebCore::AffineTransform::rotate):
              (WebCore::AffineTransform::translate):
              (WebCore::AffineTransform::shear):
              (WebCore::AffineTransform::det):
              (WebCore::AffineTransform::invert):
              (WebCore::AffineTransform::operator cairo_matrix_t):
              (WebCore::AffineTransform::operator== ):
              (WebCore::AffineTransform::operator*= ):
              (WebCore::AffineTransform::operator* ):
              * platform/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
              * platform/network/win/ResourceHandleWin.cpp:
              (WebCore::ResourceHandle::onHandleCreated):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::fileLoadTimer):
              (WebCore::ResourceHandle::cancel):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::FrameWin::goBackOrForward):
              (WebCore::FrameWin::getHistoryLength):
              (WebCore::FrameWin::historyURL):
              (WebCore::ServeSynchronousRequest):
              (WebCore::ChromeClientWin::canRunModal):
              (WebCore::ChromeClientWin::runModal):
              (WebCore::EditorClientWin::shouldDeleteRange):
              (WebCore::EditorClientWin::shouldShowDeleteInterface):
              (WebCore::EditorClientWin::isContinuousSpellCheckingEnabled):
              (WebCore::EditorClientWin::isGrammarCheckingEnabled):
              (WebCore::EditorClientWin::spellCheckerDocumentTag):
              (WebCore::Path::transform):
              (WebCore::PopupMenu::updateFromElement):
              (WebCore::ResourceLoader::loadsBlocked):
              (WebCore::systemBeep):
              * rendering/RenderThemeWin.cpp:
              (WebCore::RenderThemeWin::paintButton):
              (WebCore::RenderThemeWin::paintTextField):
      
      WebKit:
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
              (WebFrame::loadDataSource):
              (WebFrame::receivedRedirect):
              (WebFrame::receivedResponse):
              (WebFrame::didReceiveData):
              (WebFrame::receivedAllData):
              Use resource handles now. Do not start doc loader by hand anymore. 
              Handle didReceiveData() callback instead of receivedData() which 
              is deprecated in implementation of ResourceHandleClient        
      
              * COM/WebFrame.h:
              * COM/WebView.cpp:
              Applied ResourceLoader --> ResourceHandle renaming
      
              * WebKit.vcproj/WebKit.rc:
              Got rid of MFC dependencies (build fix for VCExpress).
      
              * WebKit.vcproj/WebKit.vcproj:
              Added platform/graphics platform/network and platform/network/win 
              to headers search paths
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1378a993
  21. 30 Oct, 2006 1 commit
    • darin's avatar
      Reviewed by Anders. · 9d803362
      darin authored
              - remove BrowserExtension
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_window.cpp:
              (KJS::createNewWindow):
              (KJS::WindowFunc::callAsFunction):
              * bridge/BrowserExtension.h: Removed.
              * bridge/mac/BrowserExtensionMac.h: Removed.
              * bridge/mac/BrowserExtensionMac.mm: Removed.
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::FrameMac):
              (WebCore::FrameMac::submitForm):
              (WebCore::FrameMac::urlSelected):
              * bridge/win/BrowserExtensionWin.cpp: Removed.
              * bridge/win/BrowserExtensionWin.h: Removed.
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::FrameWin):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::createWindow):
              * loader/FrameLoader.h:
              * loader/icon/IconLoader.cpp:
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::safeLoad):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::createWindow):
              * page/Frame.cpp:
              (WebCore::Frame::urlSelected):
              (WebCore::Frame::requestFrame):
              (WebCore::Frame::submitForm):
              (WebCore::Frame::scheduleHistoryNavigation):
              (WebCore::Frame::redirectionTimerFired):
              * page/Frame.h:
              * page/FrameLoadRequest.h:
              (WebCore::FrameLoadRequest::FrameLoadRequest):
              (WebCore::FrameLoadRequest::isEmpty):
              (WebCore::FrameLoadRequest::resourceRequest):
              (WebCore::FrameLoadRequest::frameName):
              (WebCore::FrameLoadRequest::setFrameName):
              * page/FramePrivate.h:
              (WebCore::FramePrivate::FramePrivate):
              (WebCore::FramePrivate::~FramePrivate):
              * platform/gdk/BrowserExtensionGdk.h: Removed.
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::FrameGdk):
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/network/ResourceRequest.h:
              (WebCore::ResourceRequest::isEmpty):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d803362
  22. 29 Oct, 2006 2 commits
    • darin's avatar
      WebCore: · 5b2cbe11
      darin authored
              - did the do-webcore-rename renames, including a number of changes
                to the names of loader files (and WebResourceLoader -> ResourceLoader),
                jScript() to scriptProxy(), jScriptEnabled() to javaScriptEnabled(),
                and improvements to the names of decoder classes and their source
                files (Decoder -> TextResourceDecoder, StreamingTextDecoder -> TextCodec)
      
      WebKit:
      
              - update for the WebCore renames
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b2cbe11
    • mjs's avatar
      Rubber stamped by Darin. · 1d734efa
      mjs authored
              - renamed ResourceLoader to ResourceHandle (and same for related classes)
      
              * CMakeLists.txt:
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bridge/mac/FrameMac.mm:
              * bridge/win/FrameWin.cpp:
              * dom/XMLTokenizer.cpp:
              * loader/Cache.cpp:
              * loader/CachedResource.h:
              * loader/LoaderFunctions.h:
              * loader/icon/IconLoader.cpp:
              (IconLoader::startLoading):
              (IconLoader::didReceiveData):
              (IconLoader::didFinishLoading):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              (WebCore::Loader::receivedAllData):
              (WebCore::Loader::receivedResponse):
              (WebCore::Loader::didReceiveData):
              (WebCore::Loader::cancelRequests):
              (WebCore::Loader::jobForRequest):
              * loader/loader.h:
              * loader/mac/IconLoaderMac.mm:
              (IconLoader::receivedResponse):
              * loader/mac/LoaderFunctionsMac.mm:
              * loader/mac/WebLoader.h:
              * loader/mac/WebSubresourceLoader.h:
              * loader/mac/WebSubresourceLoader.mm:
              (WebCore::SubresourceLoader::SubresourceLoader):
              (WebCore::SubresourceLoader::create):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdkClientDefault::FrameGdkClientDefault):
              (WebCore::FrameGdkClientDefault::openURL):
              (WebCore::FrameGdkClientDefault::submitForm):
              (WebCore::FrameGdkClientDefault::receivedResponse):
              (WebCore::FrameGdkClientDefault::didReceiveData):
              (WebCore::FrameGdkClientDefault::receivedAllData):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (WebCore::ServeSynchronousRequest):
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveCharset):
              * platform/network/ResourceHandle.cpp: Added.
              (WebCore::ResourceHandle::ResourceHandle):
              (WebCore::ResourceHandle::create):
              (WebCore::ResourceHandle::isErrorPage):
              (WebCore::ResourceHandle::error):
              (WebCore::ResourceHandle::setError):
              (WebCore::ResourceHandle::responseEncoding):
              (WebCore::ResourceHandle::responseHTTPHeadersAsString):
              (WebCore::ResourceHandle::kill):
              (WebCore::ResourceHandle::requestHeaders):
              (WebCore::ResourceHandle::url):
              (WebCore::ResourceHandle::postData):
              (WebCore::ResourceHandle::method):
              (WebCore::ResourceHandle::client):
              * platform/network/ResourceHandle.h: Added.
              (WebCore::ResourceHandle::getInternal):
              * platform/network/ResourceHandleClient.h: Added.
              (WebCore::ResourceHandleClient::~ResourceHandleClient):
              (WebCore::ResourceHandleClient::didReceiveData):
              (WebCore::ResourceHandleClient::didFinishLoading):
              (WebCore::ResourceHandleClient::receivedRedirect):
              (WebCore::ResourceHandleClient::receivedResponse):
              (WebCore::ResourceHandleClient::receivedAllData):
              * platform/network/ResourceHandleInternal.h: Added.
              (WebCore::ResourceHandleInternal::ResourceHandleInternal):
              * platform/network/ResourceLoader.cpp: Removed.
              * platform/network/ResourceLoader.h: Removed.
              * platform/network/ResourceLoaderClient.h: Removed.
              * platform/network/ResourceLoaderInternal.h: Removed.
              * platform/network/cf/ResourceHandleCFNet.cpp: Added.
              (WebCore::willSendRequest):
              (WebCore::didReceiveResponse):
              (WebCore::didReceiveData):
              (WebCore::didFinishLoading):
              (WebCore::didFail):
              (WebCore::willCacheResponse):
              (WebCore::didReceiveChallenge):
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              * platform/network/cf/ResourceLoaderCFNet.cpp: Removed.
              * platform/network/gdk/ResourceHandleCurl.cpp: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              * platform/network/gdk/ResourceHandleManager.cpp: Added.
              (WebCore::ResourceHandleManager::ResourceHandleManager):
              (WebCore::ResourceHandleManager::get):
              (WebCore::ResourceHandleManager::useSimpleTransfer):
              (WebCore::writeCallback):
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::ResourceHandleManager::remove):
              (WebCore::ResourceHandleManager::add):
              (WebCore::ResourceHandleManager::cancel):
              * platform/network/gdk/ResourceHandleManager.h: Added.
              * platform/network/gdk/ResourceLoaderCurl.cpp: Removed.
              * platform/network/gdk/ResourceLoaderManager.cpp: Removed.
              * platform/network/gdk/ResourceLoaderManager.h: Removed.
              * platform/network/mac/ResourceHandleMac.mm: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveResponseEncoding):
              (WebCore::ResourceHandle::receivedResponse):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::redirectedToURL):
              (WebCore::ResourceHandle::addData):
              (WebCore::ResourceHandle::finishJobAndHandle):
              (WebCore::ResourceHandle::reportError):
              * platform/network/mac/ResourceLoaderMac.mm: Removed.
              * platform/network/qt/ResourceHandleManager.cpp: Added.
              (WebCore::ResourceHandleManager::ResourceHandleManager):
              (WebCore::ResourceHandleManager::~ResourceHandleManager):
              (WebCore::ResourceHandleManager::self):
              (WebCore::ResourceHandleManager::slotData):
              (WebCore::ResourceHandleManager::slotMimetype):
              (WebCore::ResourceHandleManager::slotResult):
              (WebCore::ResourceHandleManager::remove):
              (WebCore::ResourceHandleManager::add):
              (WebCore::ResourceHandleManager::cancel):
              * platform/network/qt/ResourceHandleManager.h: Added.
              * platform/network/qt/ResourceHandleQt.cpp: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveResponseEncoding):
              (WebCore::ResourceHandle::receivedResponse):
              (WebCore::ResourceHandle::extractCharsetFromHeaders):
              * platform/network/qt/ResourceLoaderManager.cpp: Removed.
              * platform/network/qt/ResourceLoaderManager.h: Removed.
              * platform/network/qt/ResourceLoaderQt.cpp: Removed.
              * platform/network/win/ResourceHandleWin.cpp: Added.
              (WebCore::):
              (WebCore::addToOutstandingJobs):
              (WebCore::lookupResourceHandle):
              (WebCore::ResourceHandleWndProc):
              (WebCore::initializeOffScreenResourceHandleWindow):
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::onHandleCreated):
              (WebCore::ResourceHandle::onRequestRedirected):
              (WebCore::ResourceHandle::onRequestComplete):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::fileLoadTimer):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::setHasReceivedResponse):
              (WebCore::ResourceHandle::hasReceivedResponse):
              * platform/network/win/ResourceHandleWin.h: Added.
              * platform/network/win/ResourceLoaderWin.cpp: Removed.
              * platform/network/win/ResourceLoaderWin.h: Removed.
              * platform/qt/FrameQt.cpp:
              * platform/qt/FrameQtClient.cpp:
              (WebCore::FrameQtClientDefault::openURL):
              (WebCore::FrameQtClientDefault::submitForm):
              (WebCore::FrameQtClientDefault::receivedResponse):
              (WebCore::FrameQtClientDefault::didReceiveData):
              (WebCore::FrameQtClientDefault::receivedAllData):
              * platform/qt/FrameQtClient.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveResponseEncoding):
              (WebCore::ServeSynchronousRequest):
              * xml/XSLTProcessor.cpp:
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::send):
              (WebCore::XMLHttpRequest::didFinishLoading):
              (WebCore::XMLHttpRequest::receivedRedirect):
              (WebCore::XMLHttpRequest::didReceiveData):
              * xml/xmlhttprequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d734efa
  23. 20 Oct, 2006 2 commits
    • weinig's avatar
      Reviewed by Mitz. · e6c015eb
      weinig authored
              Win32 build fix and cleanup.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::FrameWin):
              (WebCore::FrameWin::submitForm):
              * page/ResourceRequest.h:
              (WebCore::ResourceRequest::addHTTPHeaderField):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::Slider::~Slider):
              (WebCore::Slider::setMinValue):
              (WebCore::searchableIndexIntroduction):
              (WebCore::findNextSentenceFromIndex):
              (WebCore::findSentenceBoundary):
              (WebCore::findNextWordFromIndex):
              (WebCore::FrameWin::getObjectInstanceForWidget):
              (WebCore::FrameWin::getEmbedInstanceForWidget):
              (WebCore::FrameWin::runJavaScriptPrompt):
              (WebCore::FrameWin::restoreDocumentState):
              (WebCore::FrameWin::partClearedInBegin):
              (WebCore::FrameWin::createEmptyDocument):
              (WebCore::FrameWin::overrideMediaType):
              (WebCore::FrameWin::markedTextRange):
              (WebCore::FrameWin::passSubframeEventToSubframe):
              (WebCore::FrameWin::lastEventIsMouseUp):
              (WebCore::FrameWin::addMessageToConsole):
              (WebCore::FrameWin::shouldChangeSelection):
              (WebCore::FrameWin::respondToChangedSelection):
              (WebCore::FrameWin::createFrame):
              (WebCore::FrameWin::saveDocumentState):
              (WebCore::FrameWin::clearUndoRedoOperations):
              (WebCore::FrameWin::incomingReferrer):
              (WebCore::FrameWin::markMisspellingsInAdjacentWords):
              (WebCore::FrameWin::respondToChangedContents):
              (WebCore::FrameWin::handledOnloadEvents):
              (WebCore::FrameWin::createPlugin):
              (WebCore::FrameWin::objectContentType):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::historyContains):
              (WebCore::submitButtonDefaultLabel):
              (WebCore::inputElementAltText):
              (WebCore::resetButtonDefaultLabel):
              (WebCore::fileButtonChooseFileLabel):
              (WebCore::fileButtonNoFileSelectedLabel):
              (WebCore::defaultLanguage):
              (WebCore::findWordBoundary):
              (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (WebCore::PlugInInfoStore::supportsMIMEType):
              (WebCore::refreshPlugins):
              (WebCore::ResourceLoader::assembleResponseHeaders):
              (WebCore::ResourceLoader::retrieveResponseEncoding):
              (WebCore::ResourceLoader::startHTTPRequest):
              (WebCore::TextField::TextField):
              (WebCore::focusRingColor):
              (WebCore::setFocusRingColorChangeFunction):
              (WebCore::PopupMenu::~PopupMenu):
              (WebCore::PopupMenu::hide):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6c015eb
    • sfalken's avatar
      2006-10-19 Steve Falkenburg <sfalken@apple.com> · fecd8efd
      sfalken authored
              Reviewed by Adam.
      
              Use GetKeyState rather than GetAsyncKeyState since we're
              calling in these cases in direct response to an event, and want the
              key state associated with that event.
              
              Pass triggering event to url selection method.
              
              * bridge/mac/FrameMac.h: Add triggeringEvent parameter
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::urlSelected): Add triggeringEvent parameter
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::urlSelected): Add triggeringEvent parameter
              * bridge/win/FrameWin.h: Add triggeringEvent parameter
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler): Pass triggering event to URL selection method
              * page/Frame.cpp:
              (WebCore::Frame::changeLocation): Add 0 as triggeringEvent
              (WebCore::Frame::urlSelected): Pass through triggeringEvent
              * page/Frame.h: Add triggeringEvent parameter to urlSelected methods
              * platform/win/KeyEventWin.cpp:
              (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent): Use GetKeyState instead of GetAsyncKeyState
              * platform/win/MouseEventWin.cpp: Use GetKeyState instead of GetAsyncKeyState
              (WebCore::PlatformMouseEvent::PlatformMouseEvent):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fecd8efd
  24. 19 Oct, 2006 1 commit
    • weinig's avatar
      WebCore: · 7dd2661c
      weinig authored
              Reviewed by ap.
      
              Win32 build fix.
      
              * bridge/win/FrameWin.cpp:
              * bridge/win/FrameWin.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::ResourceLoader::retrieveResponseEncoding):
      
      WebKit:
      
              Reviewed by ap.
      
              Win32 build fix.
      
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
              (WebFrame::createNewWindow):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7dd2661c
  25. 18 Oct, 2006 1 commit
    • weinig's avatar
      Reviewed by Mitz · 8efa4752
      weinig authored
              Win32 build fix.
      
              * bridge/win/BrowserExtensionWin.cpp:
              (WebCore::BrowserExtensionWin::BrowserExtensionWin):
              (WebCore::BrowserExtensionWin::createNewWindow):
              * bridge/win/BrowserExtensionWin.h:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::createNewWindow):
              * bridge/win/FrameWin.h:
              * platform/win/CursorWin.cpp:
              * platform/win/TemporaryLinkStubs.cpp:
              (Image::getHBITMAP):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8efa4752
  26. 17 Oct, 2006 1 commit
    • sfalken's avatar
      2006-10-17 Steve Falkenburg <sfalken@apple.com> · 3e6b89cc
      sfalken authored
              Build fixes
      
              * bridge/win/BrowserExtensionWin.cpp:
              (WebCore::BrowserExtensionWin::createNewWindow):
              * bridge/win/BrowserExtensionWin.h:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::createNewWindow):
              * bridge/win/FrameWin.h:
              * platform/gdk/BrowserExtensionGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (BrowserExtensionGdk::createNewWindow):
              * platform/qt/BrowserExtensionQt.cpp:
              (WebCore::BrowserExtensionQt::createNewWindow):
              * platform/qt/BrowserExtensionQt.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e6b89cc
  27. 16 Oct, 2006 1 commit
    • weinig's avatar
      Reviewed by Adam. · ef7ad103
      weinig authored
              Win32 build fix.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/BrowserExtensionWin.cpp:
              (WebCore::BrowserExtensionWin::createNewWindow):
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::urlSelected):
              (WebCore::FrameWin::submitForm):
              (WebCore::FrameWin::createNewWindow):
              * bridge/win/FrameWin.h:
              * loader/loader.cpp:
              (WebCore::Loader::receivedResponse):
              * platform/win/GraphicsContextWin.cpp:
              (WebCore::GraphicsContext::getWindowsContext):
              (WebCore::GraphicsContext::releaseWindowsContext):
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameWin::openURLRequest):
              (WebCore::ServeSynchronousRequest):
              (WebCore::CheckIfReloading):
              (WebCore::IsResponseURLEqualToURL):
              (WebCore::ResponseMIMEType):
              (WebCore::ResponseIsMultipart):
              (WebCore::CacheObjectExpiresTime):
              (CachedResource::setResponse):
              (CachedResource::setAllData):
              * rendering/RenderThemeWin.cpp:
              (WebCore::doneDrawing):
              (WebCore::RenderThemeWin::paintButton):
              (WebCore::RenderThemeWin::paintTextField):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef7ad103
  28. 05 Oct, 2006 1 commit
    • ap's avatar
      2006-10-05 Marvin Decker <marv.decker@gmail.com> · f6aa64af
      ap authored
              Reviewed by Darin.
      
              http://bugs.webkit.org/show_bug.cgi?id=10989
              Provide a way for embedders to implement BrowserExtensionWin
      
      WebCore:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/BrowserExtensionWin.cpp: Added.
              (BrowserExtensionWin::BrowserExtensionWin):
              (BrowserExtensionWin::setTypedIconURL):
              (BrowserExtensionWin::setIconURL):
              (BrowserExtensionWin::getHistoryLength):
              (BrowserExtensionWin::canRunModal):
              (BrowserExtensionWin::createNewWindow):
              (BrowserExtensionWin::canRunModalNow):
              (BrowserExtensionWin::runModal):
              (BrowserExtensionWin::goBackOrForward):
              (BrowserExtensionWin::historyURL):
              * bridge/win/BrowserExtensionWin.h:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::createNewWindow):
              * bridge/win/FrameWin.h:
              * platform/win/TemporaryLinkStubs.cpp:
      
      WebKit:
              * COM/Interfaces/IWebUIDelegate.idl:
              * COM/WebFrame.cpp:
              (WebFrame::createNewWindow):
              * COM/WebFrame.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6aa64af
  29. 21 Sep, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 0de1f3e4
      ggaren authored
              Reviewed by Maciej.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              Updated to include the right path.
              * wtf/FastMalloc.h: #include Platform.h, since we use Platform macros.
      
      WebCore:
      
              Reviewed by Maciej.
              
              Some Widget refactoring.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/mac/FrameMac.mm:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::runJavaScriptAlert):
              (WebCore::FrameWin::runJavaScriptConfirm):
              * bridge/win/PageWin.cpp:
              (WebCore::Page::Page):
              (WebCore::rootWindowForFrame):
              * html/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::translate):
              * page/FrameView.cpp:
              (WebCore::FrameView::isFrameView):
              * page/Page.h:
              (WebCore::Page::setInstanceHandle):
              (WebCore::Page::instanceHandle):
              * platform/GraphicsContext.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::translate):
              (WebCore::GraphicsContext::origin):
              * platform/mac/WidgetMac.mm:
              (WebCore::Widget::clearFocus):
              * platform/win/ResourceLoaderWin.cpp:
              (WebCore::initializeOffScreenResourceLoaderWindow):
              * platform/win/ScreenWin.cpp:
              (WebCore::monitorInfo):
              * platform/win/ScrollViewWin.cpp:
              (WebCore::ScrollView::updateContents):
              (WebCore::ScrollView::visibleWidth):
              (WebCore::ScrollView::visibleHeight):
              (WebCore::ScrollView::visibleContentRect):
              (WebCore::ScrollView::viewportToContents):
              (WebCore::ScrollView::contentsToViewport):
              (WebCore::ScrollView::scrollBy):
              (WebCore::ScrollView::updateScrollInfo):
              (WebCore::ScrollView::updateScrollBars):
              * platform/win/SharedTimerWin.cpp:
              (WebCore::initializeOffScreenTimerWindow):
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameView::updateBorder):
              (ScrollView::paint):
              (GraphicsContext::clip):
              * platform/win/WidgetWin.cpp:
              (WebCore::Widget::Widget):
              (WebCore::Widget::parentWindow):
              (WebCore::Widget::setParentWindow):
              (WebCore::Widget::frameGeometry):
              (WebCore::Widget::hasFocus):
              (WebCore::Widget::setFocus):
              (WebCore::Widget::show):
              (WebCore::Widget::hide):
              (WebCore::Widget::setFrameGeometry):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0de1f3e4
  30. 31 Jul, 2006 1 commit
    • mjs's avatar
      WebCore: · 63474f34
      mjs authored
              Rubber-stamped by Tim Hatcher.
      
              - renamed TransferJob to ResourceLoader
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreResourceLoaderImp.h:
              * bridge/mac/WebCoreResourceLoaderImp.mm:
              (-[WebCoreResourceLoaderImp redirectedToURL:]):
              (-[WebCoreResourceLoaderImp addData:]):
              (-[WebCoreResourceLoaderImp finishJobAndHandle:]):
              * bridge/win/FrameWin.cpp:
              * dom/XMLTokenizer.cpp:
              (WebCore::openFunc):
              * loader/Cache.cpp:
              * loader/LoaderFunctions.h:
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              (WebCore::Loader::receivedAllData):
              (WebCore::Loader::receivedResponse):
              (WebCore::Loader::receivedData):
              (WebCore::Loader::cancelRequests):
              (WebCore::Loader::jobForRequest):
              * loader/loader.h:
              * loader/mac/LoaderFunctionsMac.mm:
              (WebCore::ServeSynchronousRequest):
              * platform/ResourceLoader.cpp: Added.
              (WebCore::ResourceLoader::ResourceLoader):
              (WebCore::ResourceLoader::isErrorPage):
              (WebCore::ResourceLoader::error):
              (WebCore::ResourceLoader::setError):
              (WebCore::ResourceLoader::queryMetaData):
              (WebCore::ResourceLoader::addMetaData):
              (WebCore::ResourceLoader::kill):
              (WebCore::ResourceLoader::url):
              (WebCore::ResourceLoader::postData):
              (WebCore::ResourceLoader::method):
              (WebCore::ResourceLoader::client):
              * platform/ResourceLoader.h: Added.
              (WebCore::ResourceLoader::getInternal):
              * platform/ResourceLoaderClient.h: Added.
              (WebCore::ResourceLoaderClient::~ResourceLoaderClient):
              (WebCore::ResourceLoaderClient::receivedRedirect):
              (WebCore::ResourceLoaderClient::receivedResponse):
              (WebCore::ResourceLoaderClient::receivedData):
              (WebCore::ResourceLoaderClient::receivedAllData):
              * platform/ResourceLoaderInternal.h: Added.
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
              * platform/TransferJob.cpp: Removed.
              * platform/TransferJob.h: Removed.
              * platform/TransferJobClient.h: Removed.
              * platform/TransferJobInternal.h: Removed.
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::openURL):
              (WebCore::FrameGdk::urlSelected):
              (WebCore::FrameGdk::receivedData):
              (WebCore::FrameGdk::receivedAllData):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/ResourceLoaderCurl.cpp: Added.
              (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::ResourceLoader::start):
              (WebCore::ResourceLoader::cancel):
              * platform/gdk/ResourceLoaderManager.cpp: Added.
              (WebCore::ResourceLoaderManager::ResourceLoaderManager):
              (WebCore::ResourceLoaderManager::get):
              (WebCore::ResourceLoaderManager::useSimpleTransfer):
              (WebCore::writeCallback):
              (WebCore::ResourceLoaderManager::downloadTimerCallback):
              (WebCore::ResourceLoaderManager::remove):
              (WebCore::ResourceLoaderManager::add):
              (WebCore::ResourceLoaderManager::cancel):
              * platform/gdk/ResourceLoaderManager.h: Added.
              * platform/gdk/TemporaryLinkStubs.cpp:
              (WebCore::ServeSynchronousRequest):
              (WebCore::ResourceLoader::assembleResponseHeaders):
              (WebCore::ResourceLoader::retrieveCharset):
              * platform/gdk/TransferJobCurl.cpp: Removed.
              * platform/gdk/TransferJobManager.cpp: Removed.
              * platform/gdk/TransferJobManager.h: Removed.
              * platform/mac/ResourceLoaderMac.mm: Added.
              (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::ResourceLoader::start):
              (WebCore::ResourceLoader::assembleResponseHeaders):
              (WebCore::ResourceLoader::retrieveCharset):
              (WebCore::ResourceLoader::setLoader):
              (WebCore::ResourceLoader::receivedResponse):
              (WebCore::ResourceLoader::cancel):
              * platform/mac/TransferJobMac.mm: Removed.
              * platform/win/ResourceLoaderWin.cpp: Added.
              (WebCore::addToOutstandingJobs):
              (WebCore::lookupResourceLoader):
              (WebCore::ResourceLoaderWndProc):
              (WebCore::initializeOffScreenResourceLoaderWindow):
              (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::ResourceLoader::start):
              (WebCore::ResourceLoader::fileLoadTimer):
              (WebCore::ResourceLoader::cancel):
              * platform/win/ResourceLoaderWin.h: Added.
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::ServeSynchronousRequest):
              (WebCore::ResourceLoader::assembleResponseHeaders):
              (WebCore::ResourceLoader::retrieveCharset):
              * platform/win/TransferJobWin.cpp: Removed.
              * platform/win/TransferJobWin.h: Removed.
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc):
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::send):
              (WebCore::XMLHttpRequest::receivedAllData):
              (WebCore::XMLHttpRequest::receivedRedirect):
              (WebCore::XMLHttpRequest::receivedData):
              * xml/xmlhttprequest.h:
      
      WebKit:
      
              Reviewed by Tim Hatcher.
              
              - renamed TransferJob to ResourceLoader in WebCore
      
              * COM/WebFrame.cpp:
              (WebFrame::loadDataSource):
              (WebFrame::receivedRedirect):
              (WebFrame::receivedResponse):
              (WebFrame::receivedData):
              (WebFrame::receivedAllData):
              (WebFrame::setStatusText):
              * COM/WebFrame.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63474f34
  31. 09 Jul, 2006 1 commit
    • 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
  32. 05 Jul, 2006 1 commit
  33. 21 Jun, 2006 2 commits
  34. 20 Jun, 2006 1 commit
  35. 02 Jun, 2006 1 commit
    • sfalken's avatar
      2006-06-02 Steve Falkenburg <sfalken@apple.com> · 4eea401f
      sfalken authored
              Reviewed by darin.
      
              Platform hookup fixes
      
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::urlSelected):
              (WebCore::FrameWin::setTitle):
              (WebCore::FrameWin::setStatusBarText):
              * bridge/win/FrameWin.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameWin::overrideMediaType):
              * platform/win/TransferJobWin.cpp:
              (WebCore::TransferJobWndProc):
              (WebCore::TransferJob::start):
              (WebCore::TransferJob::fileLoadTimer):
              (WebCore::TransferJob::cancel):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4eea401f