1. 30 Nov, 2007 1 commit
  2. 05 Nov, 2007 1 commit
  3. 14 Apr, 2007 1 commit
  4. 15 Sep, 2006 1 commit
    • bdash's avatar
      2006-09-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · e2ec6f25
      bdash authored
              Reviewed by Adam.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
              Bug 10864: Linux\GDK build fixes
      
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
      
      2006-09-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Adam.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
              Bug 10864: Linux\GDK build fixes
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * platform/gdk/FontCacheGdk.cpp:
              * platform/gdk/FontDataGdk.cpp:
              (WebCore::FontData::platformInit):
              * platform/gdk/FontGdk.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::handleGdkEvent):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/ImageGdk.cpp: Added.
              (WebCore::Image::initPlatformData):
              (WebCore::Image::invalidatePlatformData):
              (WebCore::Image::loadPlatformResource):
              (WebCore::Image::supportsType):
              * platform/gdk/RenderPopupMenuGdk.cpp:
              (WebCore::RenderPopupMenuGdk::hidePopup):
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/ScreenGdk.cpp:
              (WebCore::drawableForPage):
              (WebCore::screenRect):
              (WebCore::screenDepth):
              (WebCore::usableScreenRect):
              (WebCore::scaleFactor):
              * platform/gdk/SystemTimeLinux.cpp:
              (WebCore::currentTime):
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::bindingRootObject):
              (FrameGdk::markMisspellings):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::fileButtonChooseFileLabel):
              (WebCore::fileButtonNoFileSelectedLabel):
              (FrameGdk::shouldChangeSelection):
              (FrameGdk::respondToChangedSelection):
              (FrameGdk::respondToChangedContents):
              (Path::contains):
              (PlatformScrollBar::PlatformScrollBar):
              (PlatformScrollBar::~PlatformScrollBar):
              (PlatformScrollBar::width):
              (PlatformScrollBar::height):
              (PlatformScrollBar::setEnabled):
              (PlatformScrollBar::paint):
              (PlatformScrollBar::setScrollBarValue):
              (PlatformScrollBar::setKnobProportion):
              (PlatformScrollBar::setRect):
              (ScrollBar::ScrollBar):
              (FileChooser::FileChooser):
              (FileChooser::~FileChooser):
              (FileChooser::openFileChooser):
              (FileChooser::basenameForWidth):
              (FileChooser::uploadControlDetaching):
              (FileChooser::chooseFile):
              (Icon::Icon):
              (Icon::~Icon):
              (Icon::newIconForFile):
              (Icon::paint):
              (IconLoader::stopLoading):
              (IconLoader::startLoading):
              (IconLoader::createForFrame):
              (IconDatabase::isIconExpiredForIconURL):
              (IconDatabase::hasEntryForIconURL):
              (IconDatabase::sharedIconDatabase):
              * platform/gdk/WidgetGdk.cpp:
              * webcore-base.bkl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2ec6f25
  5. 30 Jun, 2006 1 commit
    • darin's avatar
      Reviewed and worked over a lot by Darin. · 6fb113f0
      darin authored
              - check in first set of GDK-specific sources
      
              * platform/gdk/BrowserExtensionGdk.h: Added.
              * platform/gdk/CookieJarGdk.cpp: Added.
              * platform/gdk/CursorGdk.cpp: Added.
              * platform/gdk/FontCacheGdk.cpp: Added.
              * platform/gdk/FontDataGdk.cpp: Added.
              * platform/gdk/FontGdk.cpp: Added.
              * platform/gdk/FontPlatformData.h: Added.
              * platform/gdk/FontPlatformDataGdk.cpp: Added.
              * platform/gdk/FrameGdk.cpp: Added.
              * platform/gdk/FrameGdk.h: Added.
              * platform/gdk/GlyphMapGdk.cpp: Added.
              * platform/gdk/KeyEventGdk.cpp: Added.
              * platform/gdk/KeyboardCodes.h: Added.
              * platform/gdk/MouseEventGdk.cpp: Added.
              * platform/gdk/PageGdk.cpp: Added.
              * platform/gdk/RenderThemeGdk.cpp: Added.
              * platform/gdk/RenderThemeGdk.h: Added.
              * platform/gdk/ScreenGdk.cpp: Added.
              * platform/gdk/ScrollViewGdk.cpp: Added.
              * platform/gdk/SharedTimerLinux.cpp: Added.
              * platform/gdk/SystemTimeLinux.cpp: Added.
              * platform/gdk/TemporaryLinkStubs.cpp: Added.
              * platform/gdk/TransferJobCurl.cpp: Added.
              * platform/gdk/TransferJobManager.cpp: Added.
              * platform/gdk/TransferJobManager.h: Added.
              * platform/gdk/WheelEventGdk.cpp: Added.
              * platform/gdk/WidgetGdk.cpp: Added.
              * platform/gdk/gdk-encodings.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fb113f0
  6. 16 May, 2006 1 commit
    • hyatt's avatar
      Bug 8936, eliminate WebTextRendererFactory and convert it over to the · 3aa3c4ca
      hyatt authored
              new FontCache.
      
              Reviewed by andersca
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreStringTruncator.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              * platform/Font.h:
              (WebCore::Font::bold):
              * platform/FontCache.cpp: Added.
              (WebCore::FontPlatformDataCacheKey::m_italic):
              (WebCore::FontPlatformDataCacheKey::operator==):
              (WebCore::computeHash):
              (WebCore::FontPlatformDataCacheKeyHash::hash):
              (WebCore::FontPlatformDataCacheKeyHash::equal):
              (WebCore::FontPlatformDataCacheKeyTraits::deletedValue):
              (WebCore::FontCache::getCachedFontPlatformData):
              (WebCore::FontDataCacheKeyHash::hash):
              (WebCore::FontDataCacheKeyHash::equal):
              (WebCore::FontDataCacheKeyTraits::deletedValue):
              (WebCore::FontCache::getCachedFontData):
              (WebCore::FontCache::getFontData):
              (WebCore::FontCache::clearCommonCaches):
              * platform/FontCache.h:
              * platform/FontData.h:
              * platform/FontFamily.cpp:
              (WebCore::FontFamily::FontFamily):
              (WebCore::FontFamily::operator=):
              (WebCore::FontFamily::setFamily):
              * platform/FontFamily.h:
              (WebCore::FontFamily::familyIsEmpty):
              * platform/FontPlatformData.h:
              (WebCore::FontPlatformData::hash):
              (WebCore::FontPlatformData::operator==):
              * platform/mac/FontCacheMac.mm:
              (WebCore::getAppDefaultValue):
              (WebCore::getUserDefaultValue):
              (WebCore::getLCDScaleParameters):
              (WebCore::fontsChanged):
              (WebCore::FontCache::registerForFontChanges):
              (WebCore::FontCache::clearCaches):
              (WebCore::FontCache::getFontDataForCharacters):
              (WebCore::FontCache::getSimilarFontPlatformData):
              (WebCore::FontCache::getLastResortFallbackFont):
              (WebCore::FontCache::createFontPlatformData):
              * platform/mac/FontData.mm:
              (-[NSFont WebCore]):
              (WidthMap::FontData::xHeight):
              (WidthMap::FontData::smallCapsFontData):
              (WidthMap::computeWidthForSpace):
              (WidthMap::setUpFont):
              (WidthMap::fillStyleWithAttributes):
              (WidthMap::FontData::determinePitch):
              * platform/mac/FontFallbackListMac.mm:
              (WebCore::FontFallbackList::setPlatformFont):
              * platform/mac/FontFamilyMac.mm: Removed.
              * platform/mac/FontMac.mm:
              * platform/mac/WebCoreTextRenderer.mm:
              (WebCoreFindFont):
              * platform/mac/WebFontCache.h: Added.
              * platform/mac/WebFontCache.mm: Added.
              (acceptableChoice):
              (betterChoice):
              (+[WebFontCache fontWithFamily:traits:size:]):
              * platform/mac/WebTextRendererFactory.h: Removed.
              * platform/mac/WebTextRendererFactory.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3aa3c4ca
  7. 14 May, 2006 1 commit
    • hyatt's avatar
      Bug 8895. Rework font substitution and fallback. Lift the concept of · cc6e7696
      hyatt authored
              substitution and fallback out of FontData and up into the FontFallbackList.
              See the bug for details of issues fixed in the fallback code.
      
              Reviewed by darin
      
              * WebCore.xcodeproj/project.pbxproj:
              * platform/Font.cpp:
              (WebCore::m_finalRoundingWidth):
              (WebCore::WidthIterator::advance):
              (WebCore::Font::primaryFont):
              (WebCore::Font::fontDataAt):
              (WebCore::Font::fontDataForCharacters):
              (WebCore::Font::ascent):
              (WebCore::Font::descent):
              (WebCore::Font::lineSpacing):
              (WebCore::Font::xHeight):
              (WebCore::Font::isFixedPitch):
              * platform/Font.h:
              (WebCore::Font::getNSFont):
              * platform/FontCache.h: Added.
              * platform/FontData.h:
              (WebCore::FontData::pitch):
              (WebCore::FontData::getNSFont):
              (WebCore::):
              * platform/FontFallbackList.cpp: Added.
              (WebCore::m_pitch):
              (WebCore::FontFallbackList::~FontFallbackList):
              (WebCore::FontFallbackList::invalidate):
              (WebCore::FontFallbackList::determinePitch):
              (WebCore::FontFallbackList::fontDataAt):
              (WebCore::FontFallbackList::fontDataForCharacters):
              * platform/FontFallbackList.h:
              (WebCore::FontFallbackList::isFixedPitch):
              (WebCore::FontFallbackList::primaryFont):
              * platform/FontFamily.h:
              * platform/mac/FontCacheMac.mm: Added.
              (WebCore::FontCache::getFontData):
              (WebCore::FontCache::getFontDataForCharacters):
              * platform/mac/FontData.mm:
              (WebCore::FontData::containsCharacters):
              * platform/mac/FontMac.mm:
              (WebCore::ATSULayoutParameters::initialize):
              * platform/mac/WebTextRendererFactory.h:
              * platform/mac/WebTextRendererFactory.mm:
              (-[WebTextRendererFactory fallbackFontWithTraits:size:]):
              (-[WebTextRendererFactory fontWithDescription:WebCore::familyIndex:]):
              * platform/win/FontWin.cpp:
              (WebCore::FontFallbackList::determinePitch):
              (WebCore::FontFallbackList::primaryFont):
              (WebCore::FontFallbackList::fontDataAt):
              (WebCore::FontFallbackList::fontDataForCharacters):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc6e7696
  8. 19 Feb, 2006 1 commit
    • darin's avatar
      WebCore: · 3d938e6d
      darin authored
              Reviewed by Maciej.
      
              - cut out a little unneeded bridge code
      
              * bridge/mac/WebCoreFrameBridge.h: Removed frame name from createWindowWithURL: method
              and changed it to return a page bridge. Also made createModalDialogWithURL: method
              return a page bridge. Removed the mainFrame and webView methods.
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge nextFrameWithWrap:]): Use page to get to main frame.
              (-[WebCoreFrameBridge setFrameNamespace:]): Ditto.
              (-[WebCoreFrameBridge frameNamespace]): Ditto.
              (-[WebCoreFrameBridge _shouldAllowAccessFrom:]): Ditto.
              (-[WebCoreFrameBridge _frameInAnyWindowNamed:sourceFrame:]): Ditto.
              (-[WebCoreFrameBridge findFrameNamed:]): Ditto.
              (-[WebCoreFrameBridge installInFrame:]): Ditto.
      
              * bridge/mac/WebCorePageBridge.h: Added outerView method to replace webView method
              on the frame bridge.
      
              * bridge/mac/BrowserExtensionMac.mm: (WebCore::BrowserExtensionMac::createNewWindow):
              Update to use a page bridge instead of frame bridge.
      
      WebKit:
      
              Reviewed by Maciej.
      
              - cut out a little unneeded bridge code
      
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge webView]): Added. Helper, since the WebCore side of the bridge no longer
              has this method.
              (-[WebFrameBridge createWindowWithURL:]): Removed the frameName parameter -- this is now
              handled on the WebCore side. Also return a page bridge instead of a frame bridge.
              (-[WebFrameBridge createModalDialogWithURL:]): Changed to return a page bridge instead of
              a frame bridge.
      
              * WebView/WebFrame.m: (-[WebFrame webView]): Change to get the webView from the page bridge
              instead of the frame bridge, since it's a per-page thing.
      
              * WebView/WebView.m: Removed init method since it just does what the default does (calls
              initWithFrame: with a zero rect).
              (-[WebView initWithCoder:]): Added checking so that if the obejcts have the wrong type
              we will fail gracefully instead of hitting "method not found" and the like.
              (-[WebView setPreferencesIdentifier:]): Fix storage leak. The WebPreferences object was
              not released.
              (-[WebView mainFrame]): Removed excess "return nil".
              (-[WebView _pageBridge]): Added. Helper to let you go from the WebView to the bridge
              from outside the WebView class.
              * WebView/WebViewInternal.h: Put _pageBridge into an internal header.
      
              * WebCoreSupport/WebPageBridge.m: (-[WebPageBridge outerView]): Added. Replaces "webView"
              as public method to tell the WebCore side about the view everything's embedded in.
      
              - other cleanup
      
              * WebCoreSupport/WebPageBridge.h: Removed some unneeded declarations.
      
              * Plugins/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView loadPluginRequest:]):
              Rearrange code so it doesn't have to get the main frame twice.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d938e6d
  9. 06 Feb, 2006 2 commits
    • mjs's avatar
      Rubber stamped by Hyatt. · cf09000b
      mjs authored
              
              - renamed subproject directories to not end with .subproj
      
              * Carbon: renamed from Carbon.subproj
              * DOM: renamed from DOM.subproj
              * History: renamed from History.subproj
              * Misc: renamed from Misc.subproj
              * Panels: renamed from Panels.subproj
              * Plugins: renamed from Plugins.subproj
              * WebCoreSupport: renamed from WebCoreSupport.subproj
              * WebInspector: renamed from WebInspector.subproj
              * WebView: renamed from WebView.subproj
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf09000b
    • mjs's avatar
      Reviewed by Darin. · cf12068c
      mjs authored
              
              - shuffle things around so that WebFrame no longer has a WebView backpointer, the backpointer is
              at the bridge level.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7093
      
              * WebCoreSupport.subproj/WebFrameBridge.h:
              * WebCoreSupport.subproj/WebFrameBridge.m:
              (-[WebFrameBridge initWithPage:webView:frameName:view:]):
              (-[WebFrameBridge page]):
              (-[WebFrameBridge mainFrame]):
              (-[WebFrameBridge webView]):
              (-[WebFrameBridge createWindowWithURL:frameName:]):
              (-[WebFrameBridge showWindow]):
              (-[WebFrameBridge areToolbarsVisible]):
              (-[WebFrameBridge setToolbarsVisible:]):
              (-[WebFrameBridge isStatusbarVisible]):
              (-[WebFrameBridge setStatusbarVisible:]):
              (-[WebFrameBridge setWindowFrame:]):
              (-[WebFrameBridge windowFrame]):
              (-[WebFrameBridge setWindowContentRect:]):
              (-[WebFrameBridge windowContentRect]):
              (-[WebFrameBridge setWindowIsResizable:]):
              (-[WebFrameBridge windowIsResizable]):
              (-[WebFrameBridge firstResponder]):
              (-[WebFrameBridge makeFirstResponder:]):
              (-[WebFrameBridge closeWindowSoon]):
              (-[WebFrameBridge runJavaScriptAlertPanelWithMessage:]):
              (-[WebFrameBridge runJavaScriptConfirmPanelWithMessage:]):
              (-[WebFrameBridge canRunBeforeUnloadConfirmPanel]):
              (-[WebFrameBridge runBeforeUnloadConfirmPanelWithMessage:]):
              (-[WebFrameBridge runJavaScriptTextInputPanelWithPrompt:defaultText:returningText:]):
              (-[WebFrameBridge addMessageToConsole:]):
              (-[WebFrameBridge runOpenPanelForFileButtonWithResultListener:]):
              (-[WebFrameBridge setStatusText:]):
              (-[WebFrameBridge startLoadingResource:withURL:customHeaders:]):
              (-[WebFrameBridge startLoadingResource:withURL:customHeaders:postData:]):
              (-[WebFrameBridge syncLoadResourceWithURL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
              (-[WebFrameBridge focusWindow]):
              (-[WebFrameBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]):
              (-[WebFrameBridge userAgentForURL:]):
              (-[WebFrameBridge _nextKeyViewOutsideWebFrameViewsWithValidityCheck:]):
              (-[WebFrameBridge previousKeyViewOutsideWebFrameViews]):
              (-[WebFrameBridge defersLoading]):
              (-[WebFrameBridge setDefersLoading:]):
              (-[WebFrameBridge viewForPluginWithURL:attributeNames:attributeValues:MIMEType:]):
              (-[WebFrameBridge _preferences]):
              (-[WebFrameBridge selectWordBeforeMenuEvent]):
              (-[WebFrameBridge historyLength]):
              (-[WebFrameBridge canGoBackOrForward:]):
              (-[WebFrameBridge goBackOrForward:]):
              (-[WebFrameBridge print]):
              (-[WebFrameBridge pollForAppletInView:]):
              (-[WebFrameBridge respondToChangedContents]):
              (-[WebFrameBridge respondToChangedSelection]):
              (-[WebFrameBridge undoManager]):
              (-[WebFrameBridge issueCutCommand]):
              (-[WebFrameBridge issueCopyCommand]):
              (-[WebFrameBridge issuePasteCommand]):
              (-[WebFrameBridge issuePasteAndMatchStyleCommand]):
              (-[WebFrameBridge canPaste]):
              (-[WebFrameBridge overrideMediaType]):
              (-[WebFrameBridge isEditable]):
              (-[WebFrameBridge shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
              (-[WebFrameBridge shouldBeginEditing:]):
              (-[WebFrameBridge shouldEndEditing:]):
              (-[WebFrameBridge windowObjectCleared]):
              (-[WebFrameBridge spellCheckerDocumentTag]):
              (-[WebFrameBridge isContinuousSpellCheckingEnabled]):
              (-[WebFrameBridge didFirstLayout]):
              (-[WebFrameBridge dashboardRegionsChanged:]):
              (-[WebFrameBridge createModalDialogWithURL:]):
              (-[WebFrameBridge canRunModal]):
              (-[WebFrameBridge runModal]):
              * WebCoreSupport.subproj/WebPageBridge.h:
              * WebCoreSupport.subproj/WebPageBridge.m:
              (-[WebPageBridge initWithMainFrameName:webView:frameView:]):
              (-[WebPageBridge webView]):
              * WebView.subproj/WebDataSource.m:
              (-[WebDataSource _fileWrapperForURL:]):
              (-[WebDataSource _webView]):
              (-[WebDataSource _setLoading:]):
              (-[WebDataSource _startLoading:]):
              (-[WebDataSource _setTitle:]):
              (-[WebDataSource _setRequest:]):
              (-[WebDataSource _updateIconDatabaseWithURL:]):
              (-[WebDataSource _defersCallbacksChanged]):
              (-[WebDataSource _setWebFrame:]):
              * WebView.subproj/WebDataSourcePrivate.h:
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _traverseNextFrameStayWithin::]):
              (-[WebFrame _detachFromParent]):
              (-[WebFrame _setDataSource:]):
              (-[WebFrame _loadDataSource:withLoadType:formState:]):
              (-[WebFrame _initWithWebFrameView:webView:bridge:]):
              (-[WebFrame dealloc]):
              (-[WebFrame finalize]):
              (-[WebFrame webView]):
              * WebView.subproj/WebFrameView.m:
              (-[WebFrameView _webView]):
              (-[WebFrameView _goBack]):
              (-[WebFrameView _goForward]):
              * WebView.subproj/WebFrameViewInternal.h:
              * WebView.subproj/WebView.m:
              (-[WebView _createFrameNamed:inParent:allowsScrolling:]):
              (-[WebView _commonInitializationWithFrameName:groupName:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf12068c
  10. 14 Jan, 2006 1 commit
    • mjs's avatar
      WebCore: · e2913e52
      mjs authored
              Reviewed by Eric.
      
              - added bridging infrastructure for Page class
              
              The Page class itself is coming very soon.
      
              * WebCore.exp: Export WebCorePageBridge.
              * WebCore.xcodeproj/project.pbxproj: Add new files.
              * bridge/mac/WebCorePageBridge.h: Added.
              * bridge/mac/WebCorePageBridge.mm: Added.
              (-[WebCorePageBridge initWithMainFrame:]): Added new class, obvious
              (-[WebCorePageBridge dealloc]): ditto
              (-[WebCorePageBridge mainFrame]): ditto
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge init]): Fixed style a bit.
      
      WebKit:
      
              Reviewed by Eric.
      
              - added bridging infrastructure for Page class
              
              * WebCoreSupport.subproj/WebPageBridge.h: Added.
              * WebCoreSupport.subproj/WebPageBridge.m: Added.
              (-[WebPageBridge initWithMainFrameName:view:]): New class, somewhat obvious.
              * WebKit.xcodeproj/project.pbxproj:
              * WebView.subproj/WebView.m:
              (-[WebViewPrivate dealloc]): Don't use _mainFrameBrige, use _pageBridge
              (-[WebView _close]): ditto
              (-[WebView _commonInitializationWithFrameName:groupName:]): ditto
              (-[WebView mainFrame]): ditto
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2913e52
  11. 13 Jan, 2006 1 commit
    • mjs's avatar
      WebCore: · 037e2a7c
      mjs authored
              Rubber stamped by Eric.
      
              - rename WebCoreBridge to WebCoreFrameBridge
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/KWQKHTMLPartBrowserExtension.mm:
              (KHTMLPartBrowserExtension::createNewWindow):
              * bridge/mac/MacFrame.h:
              (MacFrame::bridge):
              * bridge/mac/MacFrame.mm:
              (MacFrame::submitForm):
              (MacFrame::createPart):
              (MacFrame::bridgeForWidget):
              (MacFrame::documentViewForNode):
              (MacFrame::setBridge):
              * bridge/mac/WebCoreBridge.h: Removed.
              * bridge/mac/WebCoreBridge.mm: Removed.
              * bridge/mac/WebCoreFrameBridge.h: Added.
              * bridge/mac/WebCoreFrameBridge.mm: Added.
              (-[WebCoreFrameBridge executionContextForView:]):
              (frameHasSelection):
              (-[WebCoreFrameBridge firstChild]):
              (-[WebCoreFrameBridge lastChild]):
              (-[WebCoreFrameBridge previousSibling]):
              (-[WebCoreFrameBridge nextSibling]):
              (-[WebCoreFrameBridge isDescendantOfFrame:]):
              (-[WebCoreFrameBridge traverseNextFrameStayWithin:]):
              (-[WebCoreFrameBridge appendChild:]):
              (-[WebCoreFrameBridge removeChild:]):
              (-[WebCoreFrameBridge childFrameNamed:]):
              (-[WebCoreFrameBridge _deepLastChildFrame]):
              (-[WebCoreFrameBridge nextFrameWithWrap:]):
              (-[WebCoreFrameBridge previousFrameWithWrap:]):
              (-[WebCoreFrameBridge _shouldAllowAccessFrom:]):
              (-[WebCoreFrameBridge _descendantFrameNamed:sourceFrame:]):
              (-[WebCoreFrameBridge _frameInAnyWindowNamed:sourceFrame:]):
              (-[WebCoreFrameBridge findFrameNamed:]):
              (+[WebCoreFrameBridge bridgeForDOMDocument:]):
              (-[WebCoreFrameBridge setParent:]):
              (-[WebCoreFrameBridge parent]):
              (nowPrinting):
              (-[WebCoreFrameBridge opener]):
              (-[WebCoreFrameBridge setOpener:]):
              (+[WebCoreFrameBridge stringWithData:textEncodingName:]):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject rendererForView:]):
              * kwq/KWQComboBox.mm:
              (-[KWQPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:]):
              * kwq/KWQFileButton.mm:
              (KWQFileButton::focusPolicy):
              * kwq/KWQFrame.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              (-[KWQTableView keyDown:]):
              (-[KWQTableView keyUp:]):
              * kwq/KWQLoader.mm:
              (KWQServeRequest):
              (KWQServeSynchronousRequest):
              (KWQCheckCacheObjectStatus):
              (KWQCacheObjectExpiresTime):
              * kwq/KWQSlider.mm:
              (QSlider::focusPolicy):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView textDidChange:]):
              (-[KWQTextAreaTextView _trackResizeFromMouseDown:]):
              (-[KWQTextAreaTextView keyDown:]):
              (-[KWQTextAreaTextView keyUp:]):
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController controlTextDidBeginEditing:]):
              (-[KWQTextFieldController controlTextDidEndEditing:]):
              (-[KWQTextFieldController controlTextDidChange:]):
              (-[KWQTextFieldController control:textView:doCommandBySelector:]):
              (-[KWQTextFieldController textView:shouldHandleEvent:]):
              * kwq/KWQWidget.mm:
              (QWidget::setFocus):
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm:
              (KWQWindowWidget::KWQWindowWidget):
              * kwq/WebCoreFrameNamespaces.h:
              * kwq/WebCoreFrameNamespaces.m:
              (+[WebCoreFrameNamespaces addFrame:toNamespace:]):
              * kwq/WebCoreFrameView.h:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * kwq/WebCoreViewFactory.h:
      
      WebKit:
      
              Rubber stamped by Eric.
      
              - rename WebBridge to WebFrameBridge
              
              - also removed all tabs from WebFrameBridge.m
      
              * DOM.subproj/WebDOMOperations.m:
              (-[DOMNode _bridge]):
              (-[DOMNode webArchive]):
              (-[DOMRange _bridge]):
              (-[DOMRange webArchive]):
              * DOM.subproj/WebDOMOperationsPrivate.h:
              * English.lproj/StringsNotToBeLocalized.txt:
              * Misc.subproj/WebCoreStatistics.m:
              * Misc.subproj/WebNSViewExtras.h:
              * Misc.subproj/WebNSViewExtras.m:
              (-[NSView _bridge]):
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              * Plugins.subproj/WebNetscapePluginEmbeddedView.m:
              * Plugins.subproj/WebNetscapePluginStream.m:
              (-[WebNetscapePluginStream initWithRequest:pluginPointer:notifyData:sendNotification:]):
              * Plugins.subproj/WebPluginContainerCheck.m:
              (-[WebPluginContainerCheck _isForbiddenFileLoad]):
              * Plugins.subproj/WebPluginController.h:
              * Plugins.subproj/WebPluginController.m:
              (-[WebPluginController bridge]):
              * WebCoreSupport.subproj/WebBridge.h: Removed.
              * WebCoreSupport.subproj/WebBridge.m: Removed.
              * WebCoreSupport.subproj/WebFileButton.h:
              * WebCoreSupport.subproj/WebFileButton.m:
              (-[WebFileChooserButton initWithBridge:delegate:]):
              * WebCoreSupport.subproj/WebFrameBridge.h: Added.
              * WebCoreSupport.subproj/WebFrameBridge.m: Added.
              (-[WebFrameBridge mainFrame]):
              (-[WebFrameBridge createWindowWithURL:frameName:]):
              (-[WebFrameBridge canTargetLoadInFrame:]):
              (-[WebFrameBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]):
              (formDelegate):
              (-[WebFrameBridge createModalDialogWithURL:]):
              * WebCoreSupport.subproj/WebSubresourceLoader.m:
              * WebCoreSupport.subproj/WebTextRendererFactory.m:
              * WebCoreSupport.subproj/WebViewFactory.m:
              (-[WebViewFactory bridgeForView:]):
              * WebKit.xcodeproj/project.pbxproj:
              * WebView.subproj/WebDataSource.m:
              (-[WebDataSource _bridge]):
              (-[WebDataSource _receivedMainResourceError:complete:]):
              (-[WebDataSource _stringWithData:]):
              * WebView.subproj/WebDataSourcePrivate.h:
              * WebView.subproj/WebDebugDOMNode.m:
              * WebView.subproj/WebDefaultContextMenuDelegate.m:
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _traverseNextFrameStayWithin::]):
              (Frame):
              (-[WebFrame _detachFromParent]):
              (-[WebFrame _bridge]):
              (-[WebFrame _initWithWebFrameView:webView:bridge:]):
              * WebView.subproj/WebFrameInternal.h:
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebFrameView.m:
              (-[WebFrameView webCoreBridge]):
              (-[WebFrameView _bridge]):
              * WebView.subproj/WebHTMLRepresentation.m:
              (+[WebHTMLRepresentation supportedMIMETypes]):
              (-[WebHTMLRepresentation _bridge]):
              (-[WebHTMLRepresentation documentSource]):
              * WebView.subproj/WebHTMLRepresentationPrivate.h:
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
              (-[WebHTMLView _deleteRange:killRing:prepend:smartDeleteOK:deletionAction:]):
              (-[WebHTMLView updateFocusState]):
              (-[NSArray validateUserInterfaceItem:]):
              (-[NSArray attributedString]):
              (-[NSArray selectedAttributedString]):
              (-[NSArray concludeDragForDraggingInfo:actionMask:]):
              (-[NSArray keyDown:]):
              (-[NSArray _alterCurrentSelection:direction:granularity:]):
              (-[NSArray _alterCurrentSelection:verticalDistance:]):
              (-[NSArray _expandSelectionToGranularity:]):
              (-[NSArray cut:]):
              (-[NSArray _applyStyleToSelection:withUndoAction:]):
              (-[NSArray _applyParagraphStyleToSelection:withUndoAction:]):
              (-[NSArray pasteAsPlainText:]):
              (-[NSArray insertNewline:]):
              (-[NSArray insertLineBreak:]):
              (-[NSArray insertParagraphSeparator:]):
              (-[NSArray _changeWordCaseWithSelector:]):
              (-[NSArray startSpeaking:]):
              (-[NSArray selectToMark:]):
              (-[NSArray swapWithMark:]):
              (-[NSArray transpose:]):
              (-[WebHTMLView characterIndexForPoint:]):
              (-[WebHTMLView firstRectForCharacterRange:]):
              (-[WebHTMLView selectedRange]):
              (-[WebHTMLView attributedSubstringFromRange:]):
              (-[WebHTMLView _selectMarkedText]):
              (-[WebHTMLView _selectRangeInMarkedText:]):
              (-[WebHTMLView setMarkedText:selectedRange:]):
              (-[WebHTMLView _selectionIsInsideMarkedText]):
              (-[WebTextCompleteController _insertMatch:]):
              (-[WebTextCompleteController doCompletion]):
              (-[WebTextCompleteController endRevertingChange:moveLeft:]):
              * WebView.subproj/WebHTMLViewPrivate.h:
              * WebView.subproj/WebImageView.m:
              * WebView.subproj/WebMainResourceLoader.m:
              * WebView.subproj/WebRenderNode.m:
              * WebView.subproj/WebResource.m:
              (-[WebResource _stringValue]):
              * WebView.subproj/WebScriptDebugDelegate.m:
              * WebView.subproj/WebTextView.m:
              * WebView.subproj/WebView.m:
              (-[WebView _createFrameNamed:inParent:allowsScrolling:]):
              (-[WebView _commonInitializationWithFrameName:groupName:]):
              (-[WebView writeSelectionWithPasteboardTypes:toPasteboard:]):
              (-[WebView moveDragCaretToPoint:]):
              (-[WebView shouldClose]):
              (-[WebView editableDOMRangeForPoint:]):
              (-[WebView setEditable:]):
              (-[WebView deleteSelection]):
              (-[WebView _bridgeForSelectedOrMainFrame]):
              (-[WebView _bridgeAtPoint:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      037e2a7c
  12. 05 Jun, 2005 1 commit
  13. 07 Apr, 2004 1 commit
    • cblu's avatar
      Tests: · a59182d3
      cblu authored
      	Interact with WebArchives via WebDOMOperations.
      
              Reviewed by rjw.
      
              * Blot/BlotApp.m:
              (-[BlotApp handleNewMessageEvent:withReplyEvent:]):
              * Blot/BlotDocument.h:
              * Blot/BlotDocument.m:
              (-[BlotDocument dataRepresentationOfType:]):
              (-[BlotDocument loadArchive:]):
      
      WebCore:
      
      	WebCore side for supporting WebDOMOperations.
      
              Reviewed by rjw.
      
              * WebCore-combined.exp:
              * WebCore.exp:
              * kwq/DOM.mm:
              * kwq/DOMExtensions.h:
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
              (+[WebCoreBridge bridgeForDOMDocument:]): new
              (-[WebCoreBridge imageForImageElement:]): new
      
      WebKit:
      
      	Created WebDOMOperations which are WebKit-specific categories on DOM objects.
      
              Reviewed by rjw.
      
              * DOM.subproj/DOMExtensions.h:
              * DOM.subproj/WebDOMOperations.h: Added.
              * DOM.subproj/WebDOMOperations.m: Added.
              (-[DOMNode _bridge]): new
              (-[DOMNode archive]): new
              (-[DOMNode markupString]): new
              (-[DOMRange _bridge]): new
              (-[DOMRange archive]): new
              (-[DOMRange markupString]): new
              (-[DOMHTMLImageElement image]):
              * WebCoreSupport.subproj/WebBridge.h:
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge webFrame]): new
              * WebKit.pbproj/project.pbxproj:
              * WebView.subproj/WebDataSource.m:
              (-[WebDataSource _archiveWithMarkupString:subresourceURLStrings:]): moved from WebHTMLRepresentation
              * WebView.subproj/WebDataSourcePrivate.h:
              * WebView.subproj/WebDefaultContextMenuDelegate.m:
              (-[WebDefaultUIDelegate copyImageToClipboard:]): call markupString on the node
              * WebView.subproj/WebDocumentPrivate.h:
              * WebView.subproj/WebFrame.m:
              (+[WebFrame frameForDOMDocument:]): new
              (-[WebFrame loadArchive:]): renamed
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebHTMLRepresentation.h:
              * WebView.subproj/WebHTMLRepresentation.m:
              * WebView.subproj/WebHTMLRepresentationPrivate.h:
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView _selectedArchive:]): renamed
              (-[WebHTMLView _handleMouseDragged:]): called renamed methods
      
      WebBrowser:
      
      	Interact with WebArchives via WebDOMOperations.
      
              Reviewed by rjw.
      
              * BrowserDocument.m:
              (-[BrowserDocument canSaveAsWebArchive]): check for the renamed WebDocumentDOM protocol
              (-[BrowserDocument dataRepresentationOfType:]): use the archive method on node
              (-[BrowserDocument validateUserInterfaceItem:]): check for the renamed WebDocumentDOM protocol
              (-[BrowserDocument mailPage:]): use the archive method on node
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a59182d3
  14. 11 Mar, 2004 1 commit
    • cblu's avatar
      Tests: · ba9aba21
      cblu authored
      	Now that WebArchive is a class, refer to it as such.
      
              Reviewed by kocienda.
      
              * Blot/BlotApp.m:
              (-[BlotApp handleNewMessageEvent:withReplyEvent:]):
              * Blot/BlotDocument.h:
              * Blot/BlotDocument.m:
              (-[BlotDocument loadWebArchive:]):
      
      WebKit:
      
      	Made WebArchive a class instead of a data object. This allows clients to easily get the main resource and subresources from a WebArchive.
      
              Reviewed by kocienda.
      
              * WebKit.exp:
              * WebView.subproj/WebDocumentPrivate.h:
              * WebView.subproj/WebFrame.m:
              (-[WebFrame loadWebArchive:]):
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation loadWebArchive]):
              (-[WebHTMLRepresentation _webArchiveWithMarkupString:subresourceURLStrings:]):
              (-[WebHTMLRepresentation webArchiveFromNode:]):
              (-[WebHTMLRepresentation webArchiveFromRange:]):
              * WebView.subproj/WebHTMLRepresentationPrivate.h:
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView _selectedWebArchive:]):
              (-[WebHTMLView _writeSelectionToPasteboard:]):
              (-[WebHTMLView _pasteMarkupFromPasteboard:]):
              * WebView.subproj/WebResource.h:
              * WebView.subproj/WebResource.m:
              (-[WebArchivePrivate dealloc]):
              (-[WebResource _response]):
              (-[WebArchive init]):
              (-[WebArchive initWithMainResource:subresources:]):
              (-[WebArchive initWithData:]):
              (-[WebArchive dealloc]):
              (-[WebArchive mainResource]):
              (-[WebArchive subresources]):
              (-[WebArchive dataRepresentation]):
              * WebView.subproj/WebResourcePrivate.h:
      
      WebBrowser:
      
      	Now that WebArchive is a class, refer to it as such.
      
              Reviewed by kocienda.
      
              * BrowserDocument.m:
              (-[BrowserDocument dataRepresentationOfType:]):
              (-[BrowserDocument _mailWebArchiveData:withApplicationAtPath:]):
              (-[BrowserDocument mailPage:]):
              (-[BrowserDocument mailPageAddress:]):
              * English.lproj/InfoPlist.strings:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba9aba21
  15. 09 Mar, 2004 1 commit
    • cblu's avatar
      Tests: · f07d4eec
      cblu authored
      	Updated blot to use new SPI's.
      
              * Blot/BlotApp.m:
              (-[BlotApp handleNewMessageEvent:withReplyEvent:]):
              * Blot/BlotDocument.h:
              * Blot/BlotDocument.m:
              (-[BlotDocument dataRepresentationOfType:]):
              (-[BlotDocument loadWebArchive:]):
              * TestPlugin/TestPlugin.pbproj/project.pbxproj:
      
      WebCore:
      
      	Implemented WebCore side of: <rdar://problem/3577508>: API: web archive related API's
      
              Reviewed by rjw.
      
              * WebCore-combined.exp:
              * WebCore.exp:
              * kwq/DOM.mm:
              (+[DOMRange _rangeWithImpl:]): made internally accessible
              (-[DOMRange _rangeImpl]): ditto
              * kwq/DOMInternal.h:
              * kwq/KWQStringList.h:
              * kwq/KWQStringList.mm:
              (QStringList::getNSArray): new
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge pasteMarkupString:]): renamed from pasteHTMLString since XML pasting may be possible
              (-[WebCoreBridge selectedRange]): new
              (-[WebCoreBridge _documentTypeString]): new
              (-[WebCoreBridge _stringWithDocumentTypeStringAndMarkupString:]): new
              (-[WebCoreBridge markupStringFromNode:subresourceURLStrings:]): new, needed for WebKit API's
              (-[WebCoreBridge markupStringFromRange:subresourceURLStrings:]): new, needed for WebKit API's
      
      WebKit:
      
      	Fixed: <rdar://problem/3577508>: API: web archive related API's
      	Implemented WebKit side of: <rdar://problem/3144033>: ability to save web sites (images and all)
      
              Reviewed by rjw.
      
              * WebCoreSupport.subproj/WebBridge.h:
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge receivedData:textEncodingName:]): renamed to take a textEncodingName instead of data source. The data source argument is only needed for the textEncodingName.
              * WebKit.exp:
              * WebView.subproj/WebDataSource.m:
              (-[WebDataSource _subresourcesDictionary]): new
              (+[WebDataSource _repTypesAllowImageTypeOmission:]): include "application/x-webarchive"
              * WebView.subproj/WebDataSourcePrivate.h:
              * WebView.subproj/WebDocumentInternal.h:
              * WebView.subproj/WebDocumentPrivate.h:
              * WebView.subproj/WebFrame.m:
              (-[WebFrame loadWebArchive:]): renamed, code factored out to [WebResource _parseWebArchive:mainResource:subresources:]
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebFrameView.m:
              (+[WebFrameView _viewTypesAllowImageTypeOmission:]): include "application/x-webarchive"
              * WebView.subproj/WebHTMLRepresentation.h:
              * WebView.subproj/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentationPrivate dealloc]):
              (-[WebHTMLRepresentation _isDisplayingWebArchive]): new
              (-[WebHTMLRepresentation receivedData:withDataSource:]): don't feed data to WebCore if we're displaying a web archive since web archive can't be progressively loaded
              (-[WebHTMLRepresentation loadWebArchive]): new, feeds web archive data to WebCore
              (-[WebHTMLRepresentation finishedLoadingWithDataSource:]): call loadWebArchive if necessary
              (-[WebHTMLRepresentation documentSource]): if displaying a web archive, return the HTML source from within the archive
              (-[WebHTMLRepresentation _webArchiveWithMarkupString:subresourceURLStrings:]): new
              (-[WebHTMLRepresentation markupStringFromNode:]): implementation of new API
              (-[WebHTMLRepresentation markupStringFromRange:]): ditto
              (-[WebHTMLRepresentation webArchiveFromNode:]): ditto
              (-[WebHTMLRepresentation webArchiveFromRange:]): ditto
              * WebView.subproj/WebHTMLRepresentationPrivate.h:
              * WebView.subproj/WebHTMLView.m:
              (+[WebHTMLView _selectionPasteboardTypes]): use renamed WebArchivePboardType
              (-[WebHTMLView _selectedWebArchive:]): renamed, call renamed methods
              (-[WebHTMLView _writeSelectionToPasteboard:]): call renamed methods
              (-[WebHTMLView _haveSelection]): indentation tweak
              (-[WebHTMLView _canDelete]): ditto
              (-[WebHTMLView _canPaste]): ditto
              (-[WebHTMLView _pasteMarkupFromPasteboard:]): renamed, call [WebResource _webArchiveWithMainResource:subresources:]
              (-[WebHTMLView initWithFrame:]): use renamed WebArchivePboardType
              (-[WebHTMLView paste:]): call renamed _pasteMarkupFromPasteboard
              (-[WebHTMLView concludeDragOperation:]): call renamed _pasteMarkupFromPasteboard
              * WebView.subproj/WebHTMLViewPrivate.h:
              * WebView.subproj/WebMainResourceClient.m:
              (-[WebMainResourceClient connection:didReceiveResponse:]): modify the MIME type for web archives since Foundation is not yet web archive aware. This is ifdef'd pre-Tiger code.
              * WebView.subproj/WebResource.h:
              * WebView.subproj/WebResource.m:
              (+[WebResource _parseWebArchive:mainResource:subresources:]): new
              (+[WebResource _webArchiveWithMainResource:subresources:]): new
              * WebView.subproj/WebResourcePrivate.h:
      
      WebBrowser:
      
      	Fixed: <rdar://problem/3144033>: ability to save web sites (images and all)
      
              Reviewed by john.
      
              * BrowserDocument.h: added _dataSourceToSave, _fileFormatAccessoryView, _ fileFormatPopUpButton and _isSavingWithSavePanel ivars
              * BrowserDocument.m:
              (-[BrowserDocument dealloc]): added ASSERTs
              (-[BrowserDocument dataSourceToSave]): new
              (-[BrowserDocument canSaveAsWebArchive]): new
              (-[BrowserDocument isSavingWebArchive]): new
              (-[BrowserDocument MIMETypeForSaving]): take web archives into account
              (-[BrowserDocument filenameForSaving]): new
              (-[BrowserDocument isSavingPlainText]): moved
              (-[BrowserDocument setDataSourceToSave:]): instead of this being a wrapper method around setFileWrapperToSave:MIMEType:, have this set _dataSourceToSave since we need the data source for web archives to work
              (-[BrowserDocument saveDocumentTo:]): don't call setFileWrapperToSave:MIMEType: if there is no file wrapper since this case is handled in the above methods
              (-[BrowserDocument document:didSave:contextInfo:]): added more post-save clean-up
              (-[BrowserDocument allowedFileTypes]): new
              (-[BrowserDocument fileFormatPopUpButtonUpdated:]): new
              (-[BrowserDocument prepareSavePanel:]): attach an accessory view to the save panel if necessary
              (-[BrowserDocument dataRepresentationOfType:]): handle all cases of saving data
              (-[BrowserDocument displayName]): rely on the _isSavingWithSavePanel instead of _fileWrapperToSave for choosing a filename
              (-[BrowserDocument _isDisplayingCompletePage]): new, factored out from validateUserInterfaceItem:
              (-[BrowserDocument validateUserInterfaceItem:]): for mailPage:, makes sure the representation supports web archives
              (-[BrowserDocument _mailWebArchive:withApplicationAtPath:]): mail a web archive instead of a property list
              (-[BrowserDocument mailPage:]): handle the case where the current page is a web archive, call renamed _mailWebArchive::
              (-[BrowserDocument mailPageAddress:]): call renamed _mailWebArchive::
              * PreferenceKeys.h: added keys for the pref of saving a web archive or raw source
              * WebBrowser.pbproj/project.pbxproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f07d4eec
  16. 11 Oct, 2002 1 commit
    • rjw's avatar
      More implementation of snippet viewer to show converted · 55202b77
      rjw authored
              attributed string.
      
              * Debug/Snippet.nib:
              * Debug/SnippetController.h:
              * Debug/SnippetController.m:
              (-[SnippetController dealloc]):
              (-[SnippetController awakeFromNib]):
              (-[SnippetController load]):
              (lastNode):
              (-[SnippetController loadComplete]):
              (-[SnippetController convert:]):
              (-[SnippetController show:]):
              (-[SnippetController mainDataSource]):
              (-[SnippetLocationChangeDelegate initWithController:]):
              (-[SnippetLocationChangeDelegate locationChangeDone:forDataSource:]):
              (-[AttributedStringView dealloc]):
              (-[AttributedStringView setAttributedString:]):
              (-[AttributedStringView drawRect:]):
      
              More DOM/attributed string work.
      
              * WebView.subproj/WebHTMLRepresentation.h:
              * WebView.subproj/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation attributedStringFrom:startOffset:to:endOffset:]):
              * WebView.subproj/WebHTMLRepresentationPrivate.h:
      
              More DOM/attributed string work.  Still need to fix more
              inappropriate casting problems.
      
              * khtml/dom/dom_node.cpp:
              (Node::lastChild):
              * khtml/xml/dom_nodeimpl.cpp:
              (NodeImpl::lastChild):
              (NodeBaseImpl::lastChild):
              * khtml/xml/dom_nodeimpl.h:
              * kwq/KWQKHTMLPartImpl.cpp:
              (KWQKHTMLPartImpl::selectionStartOffset):
              (KWQKHTMLPartImpl::selectionEndOffset):
              (KWQKHTMLPartImpl::selectionStart):
              (KWQKHTMLPartImpl::selectionEnd):
              * kwq/KWQKHTMLPartImpl.h:
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge DOMDocument]):
              (-[WebCoreBridge setSelectionFrom:startOffset:to:endOffset:]):
              (attributedString):
              (-[WebCoreBridge selectedAttributedString]):
              (-[WebCoreBridge attributedStringFrom:startOffset:to:endOffset:]):
              * kwq/WebCoreDOMDocument.mm:
              (-[WebCoreDOMDocumentType DOM::]):
              (-[WebCoreDOMDocumentType name]):
              (-[WebCoreDOMDocumentType entities]):
              (-[WebCoreDOMDocumentType notations]):
              (-[WebCoreDOMDocumentType publicId]):
              (-[WebCoreDOMDocumentType systemId]):
              (-[WebCoreDOMDocumentType internalSubset]):
              (-[WebCoreDOMImplementation DOM::]):
              (-[WebCoreDOMImplementation hasFeature::]):
              (-[WebCoreDOMImplementation createDocument:::]):
              (+[WebCoreDOMDocument documentWithImpl:DOM::]):
              (-[WebCoreDOMDocument DOM::]):
              (-[WebCoreDOMDocument doctype]):
              (-[WebCoreDOMDocument implementation]):
              (-[WebCoreDOMDocument documentElement]):
              (-[WebCoreDOMDocument createElement:]):
              (-[WebCoreDOMDocument createElementNS::]):
              (-[WebCoreDOMDocument createDocumentFragment]):
              (-[WebCoreDOMDocument createTextNode:]):
              (-[WebCoreDOMDocument createComment:]):
              (-[WebCoreDOMDocument createCDATASection:]):
              (-[WebCoreDOMDocument createProcessingInstruction::]):
              (-[WebCoreDOMDocument createAttribute:]):
              (-[WebCoreDOMDocument createAttributeNS::]):
              (-[WebCoreDOMDocument createEntityReference:]):
              (-[WebCoreDOMDocument getElementById:]):
              (-[WebCoreDOMDocument getElementsByTagName:]):
              (-[WebCoreDOMDocument getElementsByTagNameNS::]):
              (-[WebCoreDOMDocument importNode::]):
              * kwq/WebCoreDOMNode.mm:
              (-[WebCoreDOMNode initWithImpl:DOM::]):
              (-[WebCoreDOMNode firstChild]):
              (-[WebCoreDOMNode lastChild]):
              * kwq/WebCoreDOMPrivate.h:
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge setSelectionFrom:startOffset:to:endOffset:]):
              (recursive_toHTML):
              (attributedString):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55202b77
  17. 18 Sep, 2002 1 commit
    • rjw's avatar
      More documentation stuff. · baede385
      rjw authored
              Added attributed text API as requested (yuck!).
              Add reconstructedDocumentSource API as requested.
              Removed cruft (stale API, bogus comments).
      
              * WebView.subproj/WebDataSource.h:
              * WebView.subproj/WebDataSource.m:
              * WebView.subproj/WebHTMLRepresentation.h:
              * WebView.subproj/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation reconstructedDocumentSource]):
              (-[WebHTMLRepresentation attributedText]):
              * WebView.subproj/WebHTMLRepresentationPrivate.h:
              * WebView.subproj/WebHTMLView.h:
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView selectedAttributedText]):
              (-[WebHTMLView selectedText]):
              * WebView.subproj/WebView.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      baede385
  18. 16 Jul, 2002 1 commit
    • darin's avatar
      top level: · f7e15ec7
      darin authored
              * many files: Renamed IF* -> Web*.
      
      Tools:
      
              * various files: Renamed IF* -> Web*.
      
      WebFoundation:
      
              * almost every file: Renamed IF* -> Web*.
      
      WebCore:
      
              * almost every file: Renamed IF* -> Web*.
      
      WebKit:
      
              * almost every file: Renamed IF* -> Web*.
      
      WebBrowser:
      
              * almost every file: Renamed IF* -> Web*.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7e15ec7
  19. 15 Jun, 2002 1 commit
    • darin's avatar
      WebCore: · 1adfcc05
      darin authored
      	- fixed 2942808 -- remove all calls to WebKit from WebCore
      
      	More work on the bridge. Now we don't call anything in WebKit explicitly,
      	although there are still implicit connections that need to be fixed.
      
      	* WebCore.exp: Remove exports that are no longer needed, now that
      	WebKit is using the bridge to get at more things.
      
      	* khtml/misc/loader.h:
      	* khtml/misc/loader.cpp:
      	(CachedCSSStyleSheet::CachedCSSStyleSheet):
      	(CachedScript::CachedScript):
      	(CachedImage::CachedImage):
      	Remove the extra parameter to the CachedObject constructor. We don't
      	need it any more, so we can remove all these APPLE_CHANGES.
      
      	* kwq/KWQKHTMLPart.mm: Remove getDataSource.
      
      	* kwq/KWQLoaderImpl.h: Remove destructor.
      	* kwq/KWQKloader.mm:
      	(-[KWQURLLoadClient initWithLoader:bridge:]): Keep the bridge around instead
      	of the data source.
      	(-[KWQURLLoadClient dealloc]): Release the bridge instead of the data source.
      	Also put another workaround for 2954901 here, like in WebKit.
      	(-[KWQURLLoadClient IFURLHandleResourceDidBeginLoading:]):
      	(-[KWQURLLoadClient IFURLHandle:resourceDataDidBecomeAvailable:]):
      	(-[KWQURLLoadClient doneWithHandle:error:]):
      	(-[KWQURLLoadClient IFURLHandleResourceDidCancelLoading:]):
      	(-[KWQURLLoadClient IFURLHandleResourceDidFinishLoading:data:]):
      	(-[KWQURLLoadClient IFURLHandle:resourceDidFailLoadingWithResult:]):
      	(-[KWQURLLoadClient IFURLHandle:didRedirectToURL:]):
      	(KWQLoaderImpl::setClient):
      	(KWQLoaderImpl::serveRequest):
      	Use the bridge to do all the heavy lifting, and put lots of common code into
      	a doneWithHandle:error: method. Also store the URL so the redirect code works
      	properly for multiple redirects and add asserts like the ones in IFMainURLHandleClient.
      	(KWQLoaderImpl::objectFinished): Add a comment.
      
      	* kwq/WebCoreBridge.h: Make header so it can be included from plain Objective C,
      	not just Objective C++. Add a bunch of methods for bridging in to WebCore as opposed
      	to out of WebCore. Add new methods for bridging out from WebCore too for all the
      	progress hooks. Put all the subclass responsibility methods into a protocol
      	in such a way that we don't need to implement them in the base class, and subclasses
      	can set things up so they get errors if they forget to implement anything.
      
      	* kwq/WebCoreBridge.mm:
      	(-[WebCoreBridge openURL:]): Added.
      	(-[WebCoreBridge addData:withEncoding:]): Added.
      	(-[WebCoreBridge closeURL]): Added.
      	(-[WebCoreBridge end]): Added.
      	(-[WebCoreBridge setURL:]): Added.
      	(-[WebCoreBridge createKHTMLViewWithNSView:width:height:marginWidth:marginHeight:]): Added.
      	(-[WebCoreBridge documentTextFromDOM]): Added.
      	(-[WebCoreBridge scrollToBaseAnchor]): Added.
      
      	* kwq/external.h: Removed.
      
      WebKit:
      
      	- fixed 2942808 -- remove all calls to WebKit from WebCore
      
      	Update to use the WebCore bridge for more things, reducing
      	dependencies in both directions. Besides using the bridge for all the
      	remaining WebCore to WebKit calls, almost no WebKit code deals with
      	KHTMLPart directly any more, instead the other side of the bridge handles it.
      
      	* Plugins.subproj/IFPluginStream.mm:
      	(-[IFPluginStream IFURLHandleResourceDidBeginLoading:]): Remove unneeded casts.
      	(-[IFPluginStream IFURLHandle:resourceDataDidBecomeAvailable:]):
      	(-[IFPluginStream IFURLHandleResourceDidFinishLoading:data:]):
      	(-[IFPluginStream IFURLHandleResourceDidCancelLoading:]):
      	(-[IFPluginStream IFURLHandle:resourceDidFailLoadingWithResult:]):
      	(-[IFPluginStream IFURLHandle:didRedirectToURL:]):
      	Use the new IFProgress methods to simplify code.
      
      	* WebCoreSupport.subproj/IFWebCoreBridge.h: Use the new WebCoreBridge protocol
      	so we get a compiler error if we forget to implement anything. Add a method for
      	IFWebDataSource that gets the WebCoreBridge if it has an IFHTMLRepresentation,
      	and nil otherwise.
      	* WebCoreSupport.subproj/IFWebCoreBridge.mm:
      	(-[IFWebDataSource _bridge]): Add; does checking so that it returns
      	nil if the representation is not an IFHTMLRepresentation. This is now used
      	almost everywhere so we don't have to do so much type casting.
      	(-[IFWebCoreBridge loadURL:attributes:flags:inFrame:withParent:]): Remove a
      	stray use of [IFWebCoreBridge dataSource] so we can remove it.
      	(-[IFWebCoreBridge receivedData:withDataSource:]): Use the
      	new [WebCoreBridge openURL:] and [WebCoreBridge addData:] methods from the
      	other side of the bridge so we don't have to deal with the KHTMLPart directly.
      	(-[IFWebCoreBridge addHandle:]): Added.
      	(-[IFWebCoreBridge removeHandle:]): Added.
      	(-[IFWebCoreBridge didStartLoadingWithHandle:]): Added.
      	(-[IFWebCoreBridge receivedProgressWithHandle:]): Added.
      	(-[IFWebCoreBridge didFinishLoadingWithHandle:]): Added.
      	(-[IFWebCoreBridge didCancelLoadingWithHandle:]): Added.
      	(-[IFWebCoreBridge didFailBeforeLoadingWithError:]): Added.
      	(-[IFWebCoreBridge didFailToLoadWithHandle:error:]): Added.
      	(-[IFWebCoreBridge didRedirectWithHandle:fromURL:]): Added.
      
      	* WebView.subproj/IFHTMLRepresentation.h: Remove unneeded declarations.
      	* WebView.subproj/IFHTMLRepresentation.mm: Remove [IFHTMLRepresentation part].
      	* WebView.subproj/IFHTMLRepresentationPrivate.h: Remove [IFHTMLRepresentation part].
      
      	* WebView.subproj/IFHTMLView.mm: (-[IFHTMLView provisionalDataSourceChanged:]): Use the bridge.
      
      	* WebView.subproj/IFHTMLViewPrivate.mm: Remove a bunch of unused stuff that was
      	there for the render and document tree viewers. I had removed it once before but
      	it got re-added as a side effect of the reorganization process.
      
      	* WebView.subproj/IFLoadProgress.h: Remove the unused IFLoadType -- we can add
      	it back if we find that it's needed. It didn't do much good to have it here
      	and only partly implemented, and I don't think it's needed. Added some convenient
      	interfaces for creating IFLoadProgress objects.
      
      	* WebView.subproj/IFLoadProgress.mm: Get rid of WCSetIFLoadProgressMakeFunc stuff.
      	(-[IFLoadProgress init]): Added.
      	(-[IFLoadProgress initWithBytesSoFar:totalToLoad:]): Remove type part.
      	(-[IFLoadProgress initWithURLHandle:]): Added.
      	(+[IFLoadProgress progress]): Added.
      	(+[IFLoadProgress progressWithBytesSoFar:totalToLoad:]): Added.
      	(+[IFLoadProgress progressWithURLHandle:]): Added.
      
      	* WebView.subproj/IFMainURLHandleClient.mm:
      	(-[IFMainURLHandleClient dealloc]): Add more workaround for 2954901.
      	(-[IFMainURLHandleClient IFURLHandleResourceDidBeginLoading:]):
      	(-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]):
      	(-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]):
      	(-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
      	(-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):
      	(-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]):
      	Remove unneeded type casts and simplify by using new IFLoadProgress methods.
      	Also simplify access to _bridge by using [IFWebDataSource _bridge].
      
      	* WebView.subproj/IFWebControllerPrivate.mm:
      	* WebView.subproj/IFWebFrame.mm:
      	Remove unneeded include of KHTMLPart header.
      
      	* WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource documentTextFromDOM]):
      	* WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _stopLoading]):
      	* WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]):
      	Use bridge.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1adfcc05
  20. 14 Jun, 2002 2 commits
    • rjw's avatar
      Added handlers to IFWebController. Should eventually be possible to use · cc83f0ec
      rjw authored
          IFWebController w/o subclassing.
      
          Changed IFResourceProgressHandler to pass back resource handle instead of
          string description.  This will address the needs descibed in 2954160.
      
          Fixed many incorrect references to datasource reps.
      
      	* Plugins.subproj/IFNullPluginView.mm:
      	(-[IFNullPluginView drawRect:]):
      	* Plugins.subproj/IFPluginStream.mm:
      	(-[IFPluginStream IFURLHandle:resourceDataDidBecomeAvailable:]):
      	(-[IFPluginStream IFURLHandleResourceDidFinishLoading:data:]):
      	(-[IFPluginStream IFURLHandleResourceDidCancelLoading:]):
      	(-[IFPluginStream IFURLHandle:resourceDidFailLoadingWithResult:]):
      	* WebCoreSupport.subproj/IFWebCoreBridge.mm:
      	(-[IFWebDataSource _bridge]):
      	(-[IFWebCoreBridge createNewFrameNamed:withURL:renderPart:khtml::allowsScrolling:marginWidth:marginHeight:]):
      	* WebView.subproj/IFDocument.h:
      	* WebView.subproj/IFHTMLRepresentation.h:
      	* WebView.subproj/IFHTMLRepresentationPrivate.h:
      	* WebView.subproj/IFHTMLView.mm:
      	(-[IFHTMLView provisionalDataSourceChanged:]):
      	(-[IFHTMLView viewWillStartLiveResize]):
      	(-[IFHTMLView viewDidEndLiveResize]):
      	* WebView.subproj/IFImageView.m:
      	* WebView.subproj/IFMainURLHandleClient.mm:
      	(-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]):
      	(-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]):
      	(-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
      	(-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):
      	(-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]):
      	* WebView.subproj/IFWebController.h:
      	* WebView.subproj/IFWebController.mm:
      	(-[IFWebController createFrameNamed:for:inParent:allowsScrolling:]):
      	(-[IFWebController setResourceProgressHandler:]):
      	(-[IFWebController resourceProgressHandler]):
      	(-[IFWebController setPolicyHandler:]):
      	(-[IFWebController policyHandler]):
      	(+[IFWebController defaultURLPolicyForURL:]):
      	* WebView.subproj/IFWebControllerPrivate.h:
      	* WebView.subproj/IFWebControllerPrivate.mm:
      	(-[IFWebControllerPrivate dealloc]):
      	(-[IFWebController _receivedProgress:forResourceHandle:fromDataSource:]):
      	(-[IFWebController _mainReceivedProgress:forResourceHandle:fromDataSource:]):
      	(-[IFWebController _receivedError:forResourceHandle:partialProgress:fromDataSource:]):
      	(-[IFWebController _mainReceivedError:forResourceHandle:partialProgress:fromDataSource:]):
      	* WebView.subproj/IFWebDataSource.h:
      	* WebView.subproj/IFWebDataSource.mm:
      	(-[IFWebDataSource representation]):
      	(-[IFWebDataSource isDocumentHTML]):
      	(-[IFWebDataSource documentTextFromDOM]):
      	* WebView.subproj/IFWebDataSourcePrivate.h:
      	* WebView.subproj/IFWebDataSourcePrivate.mm:
      	(-[IFWebDataSourcePrivate dealloc]):
      	(-[IFWebDataSource _setRepresentation:]):
      	(-[IFWebDataSource _stopLoading]):
      	(-[IFWebDataSource _isDocumentHTML]):
      	* WebView.subproj/IFWebFrame.mm:
      	(-[IFWebFrame setProvisionalDataSource:]):
      	* WebView.subproj/IFWebFramePrivate.mm:
      	(-[IFWebFrame _isLoadComplete]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc83f0ec
    • darin's avatar
      WebCore: · a7a6c3ce
      darin authored
      	Add the new bridge class that connects us to WebCore in a nicer way.
      	Started to use it for some things. More to come.
      
      	* WebKit.pbproj/project.pbxproj:
      	* IFWebCoreBridge.h: Added.
      	* IFWebCoreBridge.mm: Added.
      
      	* Misc.subproj/IFDownloadHandler.mm:
      	(-[IFDownloadHandler initWithDataSource:]): Call [super init].
      	(-[IFDownloadHandler dealloc]): Call [super dealloc].
      	* Plugins.subproj/IFPluginNullEventSender.m:
      	(-[IFPluginNullEventSender initializeWithNPP:functionPointer:window:]): Call [super init].
      	(-[IFPluginNullEventSender dealloc]): Call [super dealloc].
      	* WebView.subproj/IFDOMNode.mm: (-[IFDOMNode dealloc]): Call [super dealloc].
      	* WebView.subproj/IFImageView.m: (-[IFImageView dealloc]): Call [super dealloc].
      	* WebView.subproj/IFRenderNode.mm: (-[IFRenderNode dealloc]): Call [super dealloc].
      
      	* WebView.subproj/IFHTMLRepresentation.h: Moved variables into a private structure so
      	this class can be made public.
      	* WebView.subproj/IFHTMLRepresentationPrivate.h: Added. Has _bridge method.
      	* WebView.subproj/IFHTMLRepresentation.mm:
      	(-[IFHTMLRepresentation init]): Call [super init]. Also use the new private structure,
      	and allocate the IFWebCoreBridge.
      	(-[IFHTMLRepresentation dealloc]): Release the private structure and the IFWebCoreBridge.
      	Also, call [super dealloc].
      	(-[IFHTMLRepresentation _bridge]): Private method to get to the bridge.
      	(-[IFHTMLRepresentation receivedData:withDataSource:]): Use IFWebCoreBridge.
      
      	* WebView.subproj/IFWebViewPrivate.h: Add _setMarginWidth and _setMarginHeight.
      
      	* WebView.subproj/IFWebDataSourcePrivate.h: Tweak.
      	* WebView.subproj/IFWebDataSource.mm: Tweak.
      	* History.subproj/IFWebHistoryPrivate.m: Tweak.
      
      WebKit:
      
      	Worked on eliminating calls to WebKit. About 3/4 done.
      
      	* WebCore.exp: Export new WebCoreBridge class, fewer other things.
      
      	* WebCorePrefix.h: #include <ostream> in debug builds; we couldn't
      	before because of a PFE bug that has since been fixed (2920556).
      
      	* khtml/html/html_objectimpl.cpp: (HTMLObjectElementImpl::attach):
      	Add a comment explaining our latest change here.
      
      	* khtml/khtml_part.cpp: (KHTMLPart::~KHTMLPart): Fix storage leak
      	by deleting m_hostExtension.
      
      	* khtml/misc/loader.h: Set type properly on client member so we
      	don't have to do so much casting.
      
      	* kwq/KWQKHTMLPartImpl.h: Add getBridge and setBridge, remove setDataSource.
      	* kwq/KWQKHTMLPart.mm:
      	(KWQKHTMLPartImpl::KWQKHTMLPartImpl): Eliminate m_dataSource.
      	(KWQKHTMLPartImpl::openURLInFrame): Use WebCoreBridge.
      	(KWQKHTMLPartImpl::urlSelected): Use WebCoreBridge.
      	(KWQKHTMLPartImpl::requestFrame): Use WebCoreBridge.
      	(KWQKHTMLPartImpl::requestObject): Move WebCoreViewFactory code
      	here; we don't need an entire WCPluginWidget file just for this
      	function.
      	(KWQKHTMLPartImpl::submitForm): Use WebCoreBridge.
      	(KWQKHTMLPartImpl::frameExists): Use WebCoreBridge.
      	(KWQKHTMLPartImpl::frames): Use WebCoreBridge.
      	(KWQKHTMLPartImpl::setTitle): Use WebCoreBridge.
      	(KWQKHTMLPartImpl::getDataSource): Use WebCoreBridge.
      	(KWQKHTMLPartImpl::parentPart): Use WebCoreBridge.
      
      	* kwq/KWQKHTMLPartBrowserExtension.mm:
      	(KHTMLPartBrowserExtension::createNewWindow): Use WebCoreBridge.
      
      	* kwq/KWQKloader.mm: Move the part of external.h that we still use in
      	here, with the expectation of eliminating it soon. Also renamed
      	URLLoadClient to KWQURLLoadClient so we don't hog namespace.
      
      	* kwq/qt/qscrollview.h:
      	* kwq/KWQScrollView.mm: Used helper functions to do the "documentView"
      	selector thing more consistently.
      
      	* kwq/KWQWidget.mm: Get interface for changing the cursor from
      	WebCoreViewFactory.h instead of from external.h.
      
      	* kwq/WebCoreViewFactory.h:
      	* kwq/Makefile.am: Remove WCPluginWidget.mm, add WebCoreBridge.mm.
      	* kwq/WCPluginWidget.h: Removed.
      	* kwq/WCPluginWidget.mm: Removed.
      	* kwq/WebCoreBridge.h: Added.
      	* kwq/WebCoreBridge.mm: Added.
      
      	* kwq/qt/qarray.h: Use <ostream> instead of <iostream>.
      	* kwq/qt/qcstring.h: Remove <iostream> include since we include <qarray.h>.
      	* kwq/qt/qdatetime.h: Replace unconditional <iostream> include with a
      	conditional <ostream> include. Also made streaming operators conditional.
      	* kwq/qt/qlist.h: Use <ostream> instead of <iostream>.
      	* kwq/qt/qmap.h: Use <ostream> instead of <iostream>.
      	* kwq/qt/qpoint.h: Use <iosfwd> instead of <iostream>.
      	* kwq/qt/qsize.h: Use <iosfwd> instead of <iostream>.
      	* kwq/qt/qvaluelist.h: Use <ostream> instead of <iostream>.
      	* kwq/qt/qvector.h: Replace unconditional <iostream> include with a
      	conditional <ostream> include. Also made streaming operators conditional.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a7a6c3ce