1. 13 Dec, 2002 1 commit
  2. 11 Dec, 2002 1 commit
    • darin's avatar
      WebFoundation: · 039a8a81
      darin authored
              Reviewed by Richard.
      
      	- fixed 3124837 -- Crash trying to handle weird javascript URL in page address field
      
              * Misc.subproj/WebNSURLExtras.h: Added _web_scriptIfJavaScriptURL for both NSURL and NSString,
      	and _web_stringByReplacingValidPercentEscapes.
              * Misc.subproj/WebNSURLExtras.m:
              (-[NSURL _web_scriptIfJavaScriptURL]): Added. Call the NSString version on our absoluteString.
              (isHexDigit): Added.
              (hexDigitValue): Added.
              (-[NSString _web_stringByReplacingValidPercentEscapes]): Added. Converts the sequences into
      	character, and then re-encodes as UTF-8. Added a FIXME about doing even better.
              (-[NSString _web_scriptIfJavaScriptURL]): Check for a javascript: prefix, then turn the suffix
      	into a script by replacing percent escapes.
      
              * English.lproj/StringsNotToBeLocalized.txt: Updated.
      
      WebCore:
      
              Reviewed by Richard.
      
      	- fixed 3124263 -- REGRESSION: Crash running development build of PLT
      
              * kwq/KWQWidget.mm:
              (QWidget::~QWidget): Don't worry about the outer view here, since we can never hit one of those.
      	Just pass the view to KWQKHTMLPart::widgetWillReleaseView.
              (QWidget::getOuterView): Re-add the assertion I had removed.
      
      	- fixed 3124837 -- Crash trying to handle weird javascript URL in page address field
      
              * kwq/KWQKURL.mm: (KURL::decode_string): Made this function return the URL still encoded
      	rather than a null string (actually, crashing) when CFURLCreateStringByReplacingPercentEscapes
      	rejects the passed-in string. Also updated the FIXME.
              (appendEscapingBadChars): Fixed problem with high-bit-set characters.
              * kwq/KWQString.mm: (QString::setBufferFromCFString): Made this tolerant of NULL.
      
      WebKit:
      
              Reviewed by Richard.
      
      	- fixed 3124837 -- Crash trying to handle weird javascript URL in page address field
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
      	Use the new _web_scriptIfJavaScriptURL to simplify the check for JavaScript URLs,
      	and to use a more tolerant unescaper.
      
              * English.lproj/StringsNotToBeLocalized.txt: Updated.
      
      WebBrowser:
      
              Reviewed by Richard.
      
      	- fixed 3124837 -- Crash trying to handle weird javascript URL in page address field
      
              * BrowserWebBookmarkExtras.m: (-[WebBookmark _goToWithWindowPolicy:]):
              * BrowserWindowController.m: (-[BrowserWindowController goToToolbarLocation:]):
      	Use the new _web_scriptIfJavaScriptURL to simplify the check for JavaScript URLs,
      	and to use a more tolerant unescaper.
      
              * BrowserWebController.m: (-[BrowserWebController mouseoverTextForElement:modifierFlags:]):
      	Use _web_stringByReplacingValidPercentEscapes, since it is more tolerant than
      	CFURLCreateStringByReplacingPercentEscapes.
      
              * English.lproj/StringsNotToBeLocalized.txt: Updated.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      039a8a81
  3. 28 Nov, 2002 1 commit
    • darin's avatar
      * Downloads.subproj/WebDownloadHandler.m: · 63464016
      darin authored
              (-[WebDownloadHandler createFileIfNecessary]): Add a FIXME.
              (-[WebDownloadHandler writeDataForkData:resourceForkData:]): Notify that the file system has
      	changed so the Finder can respond to the size change.
              (-[WebDownloadHandler finishedLoading]): Notify that the file system has changed now that the
      	download has completed and the files are closed (may be redundant now that we have the above,
      	but will do no harm).
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
      	Use _web_isCaseInsensitiveEqualToString instead of lowercaseString.
      
              * Misc.subproj/WebNSViewExtras.m: Tweak formatting.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63464016
  4. 26 Nov, 2002 1 commit
  5. 21 Nov, 2002 2 commits
    • cblu's avatar
      Fixed: 3009881 - plugins get mouse-overs even when mouse is in menus · 80c08365
      cblu authored
      	Fixed: 3108240 - Loading datasource sometimes doesn't have cancelled error when cancelled
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView sendNullEvent]): check if menus are showing
              (-[WebBaseNetscapePluginView restartNullEvents]): tweak
              * WebView.subproj/WebDataSourcePrivate.m:
              (-[WebDataSource _stopLoading]): set cancelled error if main handle is gone
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80c08365
    • darin's avatar
      WebFoundation: · 660071d4
      darin authored
              * English.lproj/StringsNotToBeLocalized.txt: Update.
      
      WebCore:
      
      	- fixed 3107383 -- clicking link on cnet.com leads to assertion failure
      
      	When we removed a frame, we were leaving behind an empty WebView. Yuck.
      
              * kwq/KWQScrollView.mm:
              (QScrollView::addChild): Use the new getOuterView.
              (QScrollView::removeChild): Ditto. This was the bug fix.
              * kwq/KWQWidget.h: Add getOuterView.
              * kwq/KWQWidget.mm:
              (QWidget::frameGeometry): Use the new getOuterView.
              (QWidget::setFrameGeometry): Ditto.
              (QWidget::getOuterView): Added. Does the WebCoreFrameView magic to find
      	the WebView instead of the WebHTMLView. Yuck.
              (QWidget::paint): Use the new getOuterView.
      
      WebKit:
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
      	Unescape the string before executing it, so we don't suffer from bug 3083043
      	here in the javascript: URLs that come from plug-ins.
      
              * English.lproj/StringsNotToBeLocalized.txt: Update.
      
      WebBrowser:
      
              * Debug/DebugUtilities.m: (-[DebugUtilities createDebugMenu]):
      	Fix typo. "Import" the favorites, don't "Imported" them.
      
              * English.lproj/StringsNotToBeLocalized.txt: Let the update
      	script sort this file.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      660071d4
  6. 20 Nov, 2002 3 commits
    • cblu's avatar
      Fixed: 3079134 - Throttle plug-ins while in background · a9f64e93
      cblu authored
              * Plugins.subproj/WebBaseNetscapePluginView.h:
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView sendNullEvent]): new
              (-[WebBaseNetscapePluginView stopNullEvents]): stops timer
              (-[WebBaseNetscapePluginView restartNullEvents]): stops timer if there is one, and starts a new one based on window activation state
              (-[WebBaseNetscapePluginView start]): call restartNullEvents
              (-[WebBaseNetscapePluginView stop]): call stopNullEvents
              (-[WebBaseNetscapePluginView windowBecameKey:]): call restartNullEvents
              (-[WebBaseNetscapePluginView windowResignedKey:]): call restartNullEvents
              (-[WebBaseNetscapePluginView windowDidMiniaturize:]): call stopNullEvents
              (-[WebBaseNetscapePluginView windowDidDeminiaturize:]): call restartNullEvents
              * Plugins.subproj/WebNetscapePluginNullEventSender.h: Removed. No need for another class, use a timer.
              * Plugins.subproj/WebNetscapePluginNullEventSender.m: Removed. No need for another class, use a timer.
              * WebKit.pbproj/project.pbxproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9f64e93
    • cblu's avatar
      Fixed: 3074926 - crash in BitsToPix() trying to print cnet page · c1486f33
      cblu authored
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView drawRect:]): disable experimental plug-in printing code.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1486f33
    • cblu's avatar
      Fixed: 3061174 - javascript: URLs sent by plugins don't work · 84a69979
      cblu authored
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84a69979
  7. 19 Nov, 2002 1 commit
  8. 14 Nov, 2002 1 commit
    • mjs's avatar
      WebKit: · 6a96e2b0
      mjs authored
      	Change things so the public interface to loading is loadRequest:
      	and everything else is private.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
              * Plugins.subproj/WebPluginController.m:
              (-[WebPluginController showURL:inFrame:]):
              * WebView.subproj/WebController.h:
              * WebView.subproj/WebController.m:
              (-[WebController init]):
              * WebView.subproj/WebControllerPrivate.m:
              (-[WebController _createFrameNamed:inParent:allowsScrolling:]):
              (-[WebController _downloadURL:toPath:]):
              * WebView.subproj/WebFrame.h:
              * WebView.subproj/WebFrame.m:
              (-[WebFrame init]):
              (-[WebFrame initWithName:webView:controller:]):
              (-[WebFrame loadRequest:]):
              (-[WebFrame reload]):
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebFramePrivate.m:
              (-[WebFrame _timedLayout:]):
              (-[WebFrame _clearProvisionalDataSource]):
              (-[WebFrame _loadItem:fromItem:withLoadType:]):
              (-[WebFrame _loadRequest:triggeringAction:]):
              (-[WebFrame _reloadAllowingStaleDataWithOverrideEncoding:]):
              (-[WebFrame _itemForRestoringDocState]):
              (-[WebFrame _setProvisionalDataSource:]):
              (-[WebFrame _startLoading]):
              (-[WebFrame _downloadRequest:toPath:]):
              * WebView.subproj/WebMainResourceClient.m:
              (-[WebMainResourceClient handle:willSendRequest:]):
              (-[WebMainResourceClient stopLoadingAfterContentPolicy]):
              (-[WebMainResourceClient handle:didReceiveResponse:]):
              * WebView.subproj/WebView.m:
              (-[WebView concludeDragOperation:]):
      
      WebBrowser:
      
      	Change things so the public interface to loading is loadRequest:
      	and everything else is private.
      
              * BrowserDocument.m:
              (-[BrowserDocument goToRequest:]):
              * BrowserWebController.m:
              (-[BrowserWebController initWithBrowserDocument:]):
              * Debug/SnippetController.h:
              * Debug/SnippetController.m:
              (-[SnippetController dealloc]):
              (-[SnippetController windowWillClose:]):
              (-[SnippetController load]):
              (-[SnippetController loadComplete]):
              (-[SnippetController mainDataSource]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a96e2b0
  9. 01 Nov, 2002 2 commits
    • darin's avatar
      * Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView sendEvent:]): · db0964f7
      darin authored
      	Fixed uninitialized variable problem.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db0964f7
    • cblu's avatar
      WebFoundation: · fb4f8550
      cblu authored
              * Misc.subproj/WebError.m:
      
      WebKit:
      
      	- Moved plug-in error handling to WebResourceLoadDelegate
      	- Report plug-in load failure, java load failure, and plug-in not found errors.
      	- Added WebPluginError, subclass of WebError.
      	- Attempted fix: 3090675 - Standalone WMP (Window Media Player) content crashes Alexander
      
              * English.lproj/Localizable.strings:
              * Misc.subproj/WebKitErrors.h:
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView sendEvent:]): don't send event to null function
              * Plugins.subproj/WebNetscapePluginDocumentView.m:
              (-[WebNetscapePluginDocumentView setDataSource:]): report plug-in load failure
              * Plugins.subproj/WebNullPluginView.h:
              * Plugins.subproj/WebNullPluginView.m: take a WebPluginError
              (-[WebNullPluginView dealloc]):
              (-[WebNullPluginView viewDidMoveToWindow]):
              * Plugins.subproj/WebPluginError.h: Added.
              * Plugins.subproj/WebPluginError.m: Added.
              (-[WebPluginErrorPrivate dealloc]):
              (-[WebPluginError dealloc]):
              (-[WebPluginError pluginPageURL]):
              (-[WebPluginError pluginName]):
              (-[WebPluginError MIMEType]):
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge viewForPluginWithURL:attributes:baseURL:MIMEType:]): report plug-in load failure
              (-[WebBridge viewForJavaAppletWithFrame:attributes:baseURL:]): report plug-in load failure
              * WebKit.pbproj/project.pbxproj:
              * WebView.subproj/WebController.m:
              (-[WebResourceLoadDelegate pluginFailedWithError:dataSource:]): added, does nothing
              * WebView.subproj/WebControllerPolicyDelegate.h:
              * WebView.subproj/WebResourceLoadDelegate.h:
              * WebView.subproj/WebView.m:
              (+[WebView initialize]): added new error strings
      
      WebBrowser:
      
      	- Moved plug-in error handling to WebResourceLoadDelegate
      
              * BrowserWebController.m:
              * English.lproj/Localizable.strings:
              * LoadProgressMonitor.m:
              (-[LoadProgressMonitor pluginNotFoundSheetEnded:returnCode:contextInfo:]):
              (-[LoadProgressMonitor pluginFailedWithError:dataSource:]): display special sheets for new errors.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb4f8550
  10. 25 Oct, 2002 2 commits
    • cblu's avatar
      - Fix case where we would name a new window _blank · ec5c44a4
      cblu authored
      	- If a data source can't be created for a plug-in request, don't create the frame or open a window.
      	- cleaned up plug-in stream notifications
      
              * Plugins.subproj/WebBaseNetscapePluginView.h:
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView initWithFrame:]): create streamNotifications dict
              (-[WebBaseNetscapePluginView dealloc]): release streamNotifications dict
              (-[WebBaseNetscapePluginView frameStateChanged:]): cleaned up
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]): create data source before frame
              * Plugins.subproj/WebPluginController.m:
              (-[WebPluginController showURL:inFrame:]): create data source before frame
              * WebView.subproj/WebControllerPrivate.m:
              (-[WebController _setTopLevelFrameName:]): don't allow _blank frames
              * WebView.subproj/WebFrame.m:
              (-[WebFrame findOrCreateFramedNamed:]): no need to check for _blank
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec5c44a4
    • cblu's avatar
      WebCore: · 20be1bdc
      cblu authored
      	Cleaned up the frame searching shenanigans. Things are much cleaner and clearer now.
      
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              (KHTMLPartBrowserExtension::createNewWindow): call findFrameNamed
              * kwq/KWQKHTMLPartImpl.mm:
              (KWQKHTMLPartImpl::bridgeForFrameName): call findOrCreateFramedNamed
              * kwq/WebCoreBridge.h:
      
      WebKit:
      
      	Cleaned up the frame searching shenanigans. Things are much cleaner and clearer now.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]): call findOrCreateFramedNamed
              * Plugins.subproj/WebPluginController.m:
              (-[WebPluginController showURL:inFrame:]): call findOrCreateFramedNamed
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge childFrames]): moved
              (-[WebBridge mainFrame]): moved
              (-[WebBridge findOrCreateFramedNamed:]): call findOrCreateFramedNamed on the frame
              (-[WebBridge pluginViewWithPackage:attributes:baseURL:]): call _pluginController
              * WebView.subproj/WebControllerPrivate.m:
              (-[WebController _frameInThisWindowNamed:]): call _descendantFrameNamed
              * WebView.subproj/WebFrame.h:
              * WebView.subproj/WebFrame.m:
              (-[WebFrame findFrameNamed:]): was frameNamed. First checks special-case frame names, descendant frames, then the whole controller, then other controllers.
              (-[WebFrame findOrCreateFramedNamed:]): calls findFrameNamed, opens new window if necessary
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebFramePrivate.m:
              (-[WebFrame _descendantFrameNamed:]): searches children, children's children etc.
              (-[WebFrame _pluginController]): this method needed an "_"
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView addSubview:]): call _pluginController
              * WebView.subproj/WebHTMLViewPrivate.m:
              (-[WebHTMLView _elementAtPoint:]): no need to special case for "_blank" since findFrameNamed will return nil for that name
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20be1bdc
  11. 23 Oct, 2002 1 commit
    • cblu's avatar
      WebCore: · 0a2d9abd
      cblu authored
      	Call the arguments for plug-ins "attributes" everywhere.
      
              * kwq/KWQKHTMLPartImpl.mm:
              (KWQKHTMLPartImpl::createPart):
              * kwq/KWQKJavaAppletWidget.mm:
              (KJavaAppletWidget::showApplet):
              * kwq/WebCoreBridge.h:
      
      WebKit:
      
      	Call the arguments for plug-ins "attributes" everywhere.
      
              * Plugins.subproj/WebBaseNetscapePluginView.h:
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView setAttributes:]):
              * Plugins.subproj/WebNetscapePluginEmbeddedView.h:
              * Plugins.subproj/WebNetscapePluginEmbeddedView.m:
              (-[WebNetscapePluginEmbeddedView initWithFrame:plugin:URL:baseURL:mime:attributes:]):
              * Plugins.subproj/WebNullPluginView.h:
              * Plugins.subproj/WebNullPluginView.m:
              (-[WebNullPluginView initWithFrame:mimeType:attributes:]):
              (-[WebNullPluginView drawRect:]):
              * Plugins.subproj/WebPluginController.h:
              * Plugins.subproj/WebPluginController.m:
              (-[WebPluginController initWithWebFrame:]):
              (-[WebPluginController dealloc]):
              (-[WebPluginController addPluginView:]):
              * Plugins.subproj/WebPluginPackage.h:
              * Plugins.subproj/WebPluginPackage.m:
              (-[WebPluginPackage viewFactory]):
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge pluginViewWithPackage:attributes:baseURL:]):
              (-[WebBridge viewForPluginWithURL:attributes:baseURL:serviceType:]):
              (-[WebBridge viewForJavaAppletWithFrame:attributes:baseURL:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a2d9abd
  12. 22 Oct, 2002 1 commit
    • cblu's avatar
      - Moved things around to make room for new plug-in API. · c885e864
      cblu authored
      	- Renamed WebNetscapePlugin to WebNetscapePluginPackage.
      	- Renamed WebNetscapePluginDatabase to WebPluginDatabase.
      
              * Plugins.subproj/WebBaseNetscapePluginStream.m:
              (-[WebBaseNetscapePluginStream setPluginPointer:]):
              * Plugins.subproj/WebBaseNetscapePluginView.h:
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView plugin]):
              * Plugins.subproj/WebNetscapePluginDocumentView.m:
              (-[WebNetscapePluginDocumentView setDataSource:]):
              * Plugins.subproj/WebNetscapePluginEmbeddedView.h:
              * Plugins.subproj/WebNetscapePluginEmbeddedView.m:
              (-[WebNetscapePluginEmbeddedView initWithFrame:plugin:URL:baseURL:mime:arguments:]):
              * Plugins.subproj/WebNetscapePluginNullEventSender.h: Added.
              * Plugins.subproj/WebNetscapePluginNullEventSender.m: Added.
              (-[WebNetscapePluginNullEventSender initWithPluginView:]):
              (-[WebNetscapePluginNullEventSender dealloc]):
              (-[WebNetscapePluginNullEventSender sendNullEvents]):
              (-[WebNetscapePluginNullEventSender stop]):
              * Plugins.subproj/WebNetscapePluginPackage.h: Added.
              * Plugins.subproj/WebNetscapePluginPackage.m: Added.
              (-[WebNetscapePluginPackage openResourceFile]):
              (-[WebNetscapePluginPackage closeResourceFile:]):
              (-[WebNetscapePluginPackage stringForStringListID:andIndex:]):
              (-[WebNetscapePluginPackage getPluginInfo]):
              (-[WebNetscapePluginPackage stringByResolvingSymlinksAndAliasesInPath:]):
              (-[WebNetscapePluginPackage initWithPath:]):
              (-[WebNetscapePluginPackage load]):
              (-[WebNetscapePluginPackage unload]):
              (-[WebNetscapePluginPackage NPP_SetWindow]):
              (-[WebNetscapePluginPackage NPP_New]):
              (-[WebNetscapePluginPackage NPP_Destroy]):
              (-[WebNetscapePluginPackage NPP_NewStream]):
              (-[WebNetscapePluginPackage NPP_StreamAsFile]):
              (-[WebNetscapePluginPackage NPP_DestroyStream]):
              (-[WebNetscapePluginPackage NPP_WriteReady]):
              (-[WebNetscapePluginPackage NPP_Write]):
              (-[WebNetscapePluginPackage NPP_HandleEvent]):
              (-[WebNetscapePluginPackage NPP_URLNotify]):
              (-[WebNetscapePluginPackage NPP_GetValue]):
              (-[WebNetscapePluginPackage NPP_SetValue]):
              (-[WebNetscapePluginPackage NPP_Print]):
              (-[WebNetscapePluginPackage MIMEToExtensionsDictionary]):
              (-[WebNetscapePluginPackage extensionToMIMEDictionary]):
              (-[WebNetscapePluginPackage MIMEToDescriptionDictionary]):
              (-[WebNetscapePluginPackage name]):
              (-[WebNetscapePluginPackage filename]):
              (-[WebNetscapePluginPackage path]):
              (-[WebNetscapePluginPackage isLoaded]):
              (-[WebNetscapePluginPackage pluginDescription]):
              (-[WebNetscapePluginPackage description]):
              (functionPointerForTVector):
              (tVectorForFunctionPointer):
              * Plugins.subproj/WebPlugin.h: Removed.
              * Plugins.subproj/WebPlugin.m: Removed.
              * Plugins.subproj/WebPluginDatabase.h:
              * Plugins.subproj/WebPluginDatabase.m:
              (+[WebPluginDatabase installedPlugins]):
              (-[WebPluginDatabase pluginForMIMEType:]):
              (-[WebPluginDatabase pluginForExtension:]):
              (-[WebPluginDatabase pluginForFilename:]):
              (-[WebPluginDatabase MIMETypes]):
              (-[WebPluginDatabase init]):
              * Plugins.subproj/WebPluginNullEventSender.h: Removed.
              * Plugins.subproj/WebPluginNullEventSender.m: Removed.
              * WebCoreSupport.subproj/WebViewFactory.m:
              (-[WebViewFactory viewForPluginWithURL:serviceType:arguments:baseURL:]):
              (-[WebViewFactory pluginsInfo]):
              (-[WebViewFactory viewForJavaAppletWithFrame:baseURL:parameters:]):
              * WebKit.pbproj/project.pbxproj:
              * WebView.subproj/WebController.m:
              (+[WebController canShowMIMEType:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c885e864
  13. 21 Oct, 2002 1 commit
  14. 20 Oct, 2002 1 commit
    • cblu's avatar
      Fixed: 3025868 - Plugin context menu disappears then reappears if you click off of it · 8179556f
      cblu authored
      	Also fixed some rare dragging weirdness in WebHTMLView. If you attempted to drag a plug-in after dragging an image, the image would drag again.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView mouseDragged:]): subclass and do nothing to prevent calling mouseDragged in WebHTMLView
              (-[WebBaseNetscapePluginView performKeyEquivalent:]): no changes to this method, removed menuForEvent, wasn't needed after all
              * Plugins.subproj/WebNetscapePluginStream.m:
              (-[WebNetscapePluginStream stop]): minor clean-up
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2388 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8179556f
  15. 19 Oct, 2002 1 commit
  16. 16 Oct, 2002 1 commit
  17. 15 Oct, 2002 1 commit
    • darin's avatar
      WebCore: · 58af41be
      darin authored
      	WebCore support for using referrer even in loads that are not initiated
      	by WebCore itself.
      
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              (KHTMLPartBrowserExtension::createNewWindow): Don't pass a referrer.
      	We get the referrer from the part.
      
              * kwq/KWQKHTMLPartImpl.h: Add a new referrer method that works on the
      	part, and remove the old one that got it from the URL arguments.
              * kwq/KWQKHTMLPartImpl.mm:
              (KWQKHTMLPartImpl::bridgeForFrameName): Don't pass a referrer when
      	creating a new window.
              (KWQKHTMLPartImpl::openURLRequest): Don't pass a referrer when doing a load.
              (KWQKHTMLPartImpl::urlSelected): Don't pass a referrer when doing a load.
              (KWQKHTMLPartImpl::createPart): Don't pass a referrer when creating a child
      	frame for this window.
              (KWQKHTMLPartImpl::submitForm): Don't pass a referrer when doing a load.
              (KWQKHTMLPartImpl::referrer): Added.
      
              * kwq/KWQLoaderImpl.mm: (KWQServeRequest): Don't pass a referrer when starting
      	a load.
              * kwq/WebCoreBridge.h: Add referrer method. Remove referrer parameter from
      	many other methods.
              * kwq/WebCoreBridge.mm: (-[WebCoreBridge referrer]): Added.
      
      WebKit:
      
      	- fixed 3062393 -- need to send proper referrer for "open in new window" menu items and keyboard shortcuts
      
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge createWindowWithURL:frameName:]): Don't take a referrer parameter any more.
      	Get the referrer by calling to the other side of the bridge, instead.
              (-[WebBridge startLoadingResource:withURL:]): Ditto.
              (-[WebBridge loadURL:]): Ditto.
              (-[WebBridge postWithURL:data:contentType:]): Ditto.
              (-[WebBridge createChildFrameNamed:withURL:renderPart:allowsScrolling:marginWidth:marginHeight:]):
      	Ditto.
      
              * WebView.subproj/WebDefaultContextMenuDelegate.m:
              (-[WebDefaultContextMenuDelegate openNewWindowWithURL:]): Don't take a referrer parameter,
      	which was always nil anyway. Instead, get the referrer from the bridge.
              (-[WebDefaultContextMenuDelegate openLinkInNewWindow:]): Don't pass nil for referrer.
              (-[WebDefaultContextMenuDelegate openImageInNewWindow:]): Ditto.
              (-[WebDefaultContextMenuDelegate openFrameInNewWindow:]): Ditto.
      
              * WebView.subproj/WebHTMLViewPrivate.m:
              (-[WebHTMLView _continueAfterClickPolicyForEvent:]): Pass a referrer from the bridge, rather
      	than nil, for both WebClickPolicyOpenNewWindow and WebClickPolicyOpenNewWindowBehind.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]): Add a FIXME.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58af41be
  18. 14 Oct, 2002 1 commit
    • cblu's avatar
      - Eliminated the dual-role behavior of WebPluginStream. Renamed... · f1fdc081
      cblu authored
      	- Eliminated the dual-role behavior of WebPluginStream. Renamed WebPluginStream to WebBaseNetscapePluginStream.
       WebNetscapePluginRepresentation, a subclass of WebNetscapePluginRepresentation, is the document representation for standalone plug-ins. WebNetscapePluginStream, also a subclass of WebNetscapePluginRepresentation, is the general plug-in stream loader for embedded plug-ins or plug-in requested streams.
      
      	23 plug-in source files with more likely to come!
      
              * Plugins.subproj/WebBaseNetscapePluginStream.h: Added.
              * Plugins.subproj/WebBaseNetscapePluginStream.m: Added.
              (-[WebBaseNetscapePluginStream dealloc]):
              (-[WebBaseNetscapePluginStream setPluginPointer:]):
              (-[WebBaseNetscapePluginStream setResponse:]):
              (-[WebBaseNetscapePluginStream receivedData:]):
              (-[WebBaseNetscapePluginStream receivedError:]):
              (-[WebBaseNetscapePluginStream finishedLoadingWithData:]):
              * Plugins.subproj/WebBaseNetscapePluginView.h:
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView setWindow]):
              (-[WebBaseNetscapePluginView pluginPointer]):
              (-[WebBaseNetscapePluginView drawRect:]):
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
              * Plugins.subproj/WebNetscapePluginDocumentView.m:
              * Plugins.subproj/WebNetscapePluginRepresentation.h: Added.
              * Plugins.subproj/WebNetscapePluginRepresentation.m: Added.
              (-[WebNetscapePluginRepresentation setDataSource:]):
              (-[WebNetscapePluginRepresentation receivedData:withDataSource:]):
              (-[WebNetscapePluginRepresentation receivedError:withDataSource:]):
              (-[WebNetscapePluginRepresentation finishedLoadingWithDataSource:]):
              * Plugins.subproj/WebNetscapePluginStream.h: Added.
              * Plugins.subproj/WebNetscapePluginStream.m: Added.
              (-[WebNetscapePluginStream setCurrentURL:]):
              (-[WebNetscapePluginStream initWithRequest:pluginPointer:notifyData:]):
              (-[WebNetscapePluginStream dealloc]):
              (-[WebNetscapePluginStream start]):
              (-[WebNetscapePluginStream stop]):
              (-[WebNetscapePluginStream loadEnded]):
              (-[WebNetscapePluginStream handle:willSendRequest:]):
              (-[WebNetscapePluginStream handle:didReceiveResponse:]):
              (-[WebNetscapePluginStream handle:didReceiveData:]):
              (-[WebNetscapePluginStream handleDidFinishLoading:]):
              (-[WebNetscapePluginStream handle:didFailLoadingWithError:]):
              * Plugins.subproj/WebPluginDatabase.m:
              (-[WebNetscapePluginDatabase init]):
              * Plugins.subproj/WebPluginStream.h: Removed.
              * Plugins.subproj/WebPluginStream.m: Removed.
              * WebKit.pbproj/project.pbxproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1fdc081
  19. 11 Oct, 2002 1 commit
  20. 10 Oct, 2002 1 commit
    • cblu's avatar
      top level: · 4a800e29
      cblu authored
      	Fix typos.
      
              * Site/Internal/How-To/pc-os-installation.html:
              * Site/Internal/index.html:
      
      WebKit:
      
      	No need to send update event when activating/deactivating. This was as old workaround for the plug-in drawing problems.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView windowBecameKey:]):
              (-[WebBaseNetscapePluginView windowResignedKey:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a800e29
  21. 09 Oct, 2002 1 commit
    • darin's avatar
      WebCore: · c7a89cb8
      darin authored
      	- fixed 3069264 -- REGRESSION: windows created for links with
      	target=blank start out hidden (window menu only)
      
              * kwq/WebCoreBridge.h: Removed openNewWindowWithURL:referrer:frameName: and
      	added createWindowWithURL:referrer:frameName: and showWindow.
      
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              (KHTMLPartBrowserExtension::createNewWindow): Call createWindowWithURL,
      	and then showWindow after the window is set up. Also change the code that
      	flips coordinates to always use the height of the first screen instead of
      	using the height of the screen the window is on, which sounds right, but
      	is wrong.
      
              * kwq/KWQKHTMLPartImpl.mm:
              (KWQKHTMLPartImpl::bridgeForFrameName): Call createWindowWithURL and then
      	showWindow in the case where we create a window.
              (KWQKHTMLPartImpl::urlSelected): Remove unused command-click code. The real
      	command-click code is in the browser now.
      
      WebKit:
      
      	WebKit support for creating windows and then showing them later
      	after setting them up.
      
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge createWindowWithURL:referrer:frameName:]): Replaced the old
      	openNewWindowWithURL with this. It calls the new window operations delegate
      	method.
              (-[WebBridge showWindow]): Added. Calls the window operations delegate showWindow method.
              (-[WebBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]):
      	Call _createFrameNamed instead of createFrameNamed.
      
              * WebView.subproj/WebWindowOperationsDelegate.h: Replaced the openNewWindowWithURL
      	method with a new method named createWindowWithURL. Added showWindow and showWindowBehindFrontmost.
      
              * WebView.subproj/WebControllerPrivate.h: Renamed createFrameNamed to _createFrameNamed
      	and removed the data source parameter. Added _openNewWindowWithURL:referrer:behind:
      	for the convenience of those who used to call the window operations delegate directly
      	to open the window.
              * WebView.subproj/WebControllerPrivate.m:
              (-[WebController _createFrameNamed:inParent:allowsScrolling:]): Renamed, and removed
      	the data source parameter.
              (-[WebController _openNewWindowWithURL:referrer:behind:]): Added.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
              * WebView.subproj/WebDefaultContextMenuDelegate.m:
              (-[WebDefaultContextMenuDelegate openNewWindowWithURL:referrer:]):
              * WebView.subproj/WebFrame.m: (-[WebFrame frameNamed:]):
              * WebView.subproj/WebHTMLViewPrivate.m:
              (-[WebHTMLView _continueAfterClickPolicyForEvent:]):
      	Use a private WebController method instead of calling the delegate directly,
      	because it now takes two method calls to create and display a new window.
      
              * Misc.subproj/WebNSViewExtras.m:
              * WebCoreSupport.subproj/WebSubresourceClient.m:
              * WebView.subproj/WebController.m:
              * WebView.subproj/WebDataSource.m:
              * WebView.subproj/WebFramePrivate.m:
              * WebView.subproj/WebHTMLView.m:
              * WebView.subproj/WebMainResourceClient.m:
              * WebView.subproj/WebPreferences.m:
              * WebView.subproj/WebView.m:
              * WebView.subproj/WebViewPrivate.m:
      	Tweaked comments.
      
      WebBrowser:
      
      	WebBrowser support for creating windows and then showing them later
      	after setting them up.
      
              * BrowserDocumentController.h: Add a new policy, CreateHiddenWindow.
              * BrowserDocumentController.m:
              (-[BrowserDocumentController _goToEachURL:referrer:windowPolicy:]):
      	Pass NO for display if policy is CreateHiddenWindow.
              (-[BrowserDocumentController tryMultipleURLs:windowPolicy:]): Ditto.
      
              * BrowserWebController.m:
              (-[BrowserWebController createWindowWithURL:referrer:]): Added. Like
      	the old openNewWindowWithURL method, but uses CreateHiddenWindow.
              (-[BrowserWebController showWindow]): Added. Tells the window controller
      	to show the window.
              (-[BrowserWebController showWindowBehindFrontmost]): Added. Tells the
      	window controllers to show the window after telling the document that
      	the window should open behind the frontmost.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7a89cb8
  22. 08 Oct, 2002 2 commits
    • darin's avatar
      - fixed 3069764 -- REGRESSION: Plug-ins sometimes don't respond to · 80589b3d
      darin authored
      	update events, causes disappearing
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView drawRect:]): Set the visible region of the port to the
      	port bounds to work around the fact that NSWindow tries to help us by doing a
      	BeginUpdate call. This ensures we can draw where we think we are dirty, not just
      	where Carbon thinks we are dirty.
      
              * Plugins.subproj/WebNetscapePluginDocumentView.m: Tweak includes.
              * Plugins.subproj/WebNetscapePluginEmbeddedView.m: Tweak includes.
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge openNewWindowWithURL:referrer:frameName:]): Tweak.
      
              * English.lproj/StringsNotToBeLocalized.txt: Update for recent changes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80589b3d
    • cblu's avatar
      Minor plug-in code clean-up. · 233ca338
      cblu authored
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView sendActivateEvent:]):
              (-[WebBaseNetscapePluginView sendUpdateEvent]):
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
              * Plugins.subproj/WebPluginStream.m:
              (-[WebNetscapePluginStream receivedData:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      233ca338
  23. 02 Oct, 2002 1 commit
    • darin's avatar
      WebKit: · d1356935
      darin authored
      	More work on "open window behind".
      
              * WebView.subproj/WebControllerPolicyDelegate.h: Add new OpenNewWindowBehind
      	constants to the enums.
      
              * WebView.subproj/WebWindowOperationsDelegate.h: Add a behind: parameter to
      	the openNewWindowWithURL method.
      
              * WebView.subproj/WebHTMLViewPrivate.m:
              (-[WebHTMLView _continueAfterClickPolicyForEvent:]): In the new
      	WebClickPolicyOpenNewWindowBehind case, pass YES for behind.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge openNewWindowWithURL:referrer:frameName:]):
              * WebView.subproj/WebDefaultContextMenuDelegate.m:
              (-[WebDefaultContextMenuDelegate openNewWindowWithURL:referrer:]):
              * WebView.subproj/WebFrame.m:
              (-[WebFrame frameNamed:]):
      	Pass NO for behind.
      
      WebBrowser:
      
      	More work on "open window behind".
      
              * BrowserWebController.m:
              (-[BrowserWebController openNewWindowWithURL:referrer:behind:]): Add new behind
      	parameter to match change to window operations delegate in WebKit.
              (-[BrowserWebController clickPolicyForElement:button:modifierFlags:]): Use the
      	WebClickPolicyOpenNewWindowBehind policy if the shift key and command key are down.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1356935
  24. 01 Oct, 2002 3 commits
    • cblu's avatar
      Fixed build breakage. · c4ad9ad9
      cblu authored
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView setWindow]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4ad9ad9
    • cblu's avatar
      - Added debug drawing · c1b39f7e
      cblu authored
      	- removed unnecessary ifdef'ing.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView sendActivateEvent:]):
              (-[WebBaseNetscapePluginView becomeFirstResponder]):
              (-[WebBaseNetscapePluginView resignFirstResponder]):
              (-[WebBaseNetscapePluginView mouseDown:]):
              (-[WebBaseNetscapePluginView mouseUp:]):
              (-[WebBaseNetscapePluginView mouseEntered:]):
              (-[WebBaseNetscapePluginView mouseExited:]):
              (-[WebBaseNetscapePluginView menuForEvent:]):
              (-[WebBaseNetscapePluginView setWindow]):
              (-[WebBaseNetscapePluginView start]):
              (-[WebBaseNetscapePluginView drawRect:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1b39f7e
    • kocienda's avatar
      WebFoundation: · b10c9d76
      kocienda authored
      	Big set of changes to move the code closer to the proposed WebFoundation API. Major work includes:
      
      	- Implemented new callbacks for WebResourceHandleDelegate. All delegates of WebResourceHandle
      	  were updated to reflect this change.
      
      	- Modified the way WebProtocolHandler creates protocol-specific responses.
      
      	- Move WebResourceHandle API much closer to the final proposal. The public API on this class
      	  is very thin now. Some private methods are still available to code inside Intrigue (to ease
      	  the transition), and the dependencies on these private methods will be reduced over time.
      
      	- WebResourceRequest and WebResourceResponse classes are now closer to their proposed APIs, but
      	  work remains to be done with them.
      
      	- Synchronous loading code received a large rewrite.
      
      	And an extra:
      
      	- Sped up implementation of file protocol handler. This protocol handler no longer kicks a thread for each file load.
      
              * CacheLoader.subproj/IFHTTPURLHandleC.h:
              * CacheLoader.subproj/IFHTTPURLHandleC.m:
              (IFHTTPURLHandleGetRequestMethod)
              (IFHTTPURLHandleGetRequestHeaders)
              * CacheLoader.subproj/IFURLHandleC.m:
              (IFURLHandleBackgroundLoadFailedWithResultCode)
              (IFURLHandleGetURL)
              (IFURLHandleGetCanonicalURL)
              (IFURLHandleGetStatusCode)
              (IFURLHandleGetResultCode)
              (IFURLHandleGetContentType)
              (IFURLHandleGetError)
              (IFURLHandleGetContentLength)
              (IFURLHandleGetContentLengthReceived)
              (IFURLHandleGetPercentComplete)
              * CacheLoader.subproj/WebMemoryCache.m:
              (-[WebMemoryCache _truncateToSizeLimit])
              * CacheLoader.subproj/WebProtocolHandler.h:
              * CacheLoader.subproj/WebProtocolHandler.m:
              (-[WebProtocolHandler responseClass])
              (-[WebProtocolHandler responseMetadataAvailable])
              (-[WebProtocolHandler setResponseMetadata:])
              * CacheLoader.subproj/WebResourceCallbackClient.m:
              (-[WebResourceCallbackClient handle:willSendRequest:])
              (-[WebResourceCallbackClient handle:didReceiveResponse:])
              * CacheLoader.subproj/WebResourceHandle.h:
              * CacheLoader.subproj/WebResourceHandle.m:
              (+[WebResourceHandle sendSynchronousRequest:])
              (-[WebResourceHandle initWithRequest:delegate:])
              * CacheLoader.subproj/WebResourceHandleDelegate.h:
              * CacheLoader.subproj/WebResourceHandleInternal.h:
              * CacheLoader.subproj/WebResourceHandleInternal.m:
              (-[WebResourceHandleInstanceVariables prepareCallbacks])
              (-[WebResourceHandleInstanceVariables dealloc])
              (-[WebResourceHandle _loadInBackground])
              (-[WebResourceHandle _sendCallbacks])
              (-[WebResourceHandle _notifyClientWillSendRequest])
              (-[WebResourceHandle _notifyClientDidReceiveResponse])
              (-[WebResourceHandle _notifyClientDataDidBecomeAvailable])
              (-[WebResourceHandle _notifyClientDidFailLoading])
              (-[WebResourceHandle _notifyClientDidFinishLoading])
              * CacheLoader.subproj/WebResourceHandlePrivate.h:
              * CacheLoader.subproj/WebResourceHandlePrivate.m:
              (-[WebResourceHandle _didReceiveResponseMetadata:])
              (-[WebResourceHandle _backgroundLoadComplete])
              (-[WebResourceHandle _backgroundLoadFailed])
              (-[WebResourceHandle _didRedirectToURL:])
              (-[WebResourceHandle _request])
              (-[WebResourceHandle _response])
              (-[WebResourceHandle _redirectedURL])
              * CacheLoader.subproj/WebResourceLoad.h:
              * CacheLoader.subproj/WebResourceLoad.m:
              (-[WebResourceLoad initWithRequest:])
              (-[WebResourceLoad didLoadBytes:length:])
              (-[WebResourceLoad succeeded])
              (-[WebResourceLoad failedWithResultCode:inDomain:failingURL:])
              (-[WebResourceLoad addHandle:])
              (-[WebResourceLoad cacheObjectCheckingRedirects:])
              (-[WebResourceLoad didRedirectToURL:permanent:])
              (-[WebResourceLoad originalRequest])
              (-[WebResourceLoad _beginLoad])
              (-[WebResourceLoad _cacheKey])
              (-[WebResourceLoad description])
              (-[WebResourceLoad dealloc])
              * CacheLoader.subproj/WebResourceLoadManager.m:
              (+[WebResourceLoadKey keyWithHandle:])
              (+[WebResourceLoadKey keyWithLoad:])
              (-[WebResourceLoadKey hash])
              (-[WebResourceLoadManager requestWithURLHandle:])
              * CacheLoader.subproj/WebResourceLoadQueue.m:
              (-[WebResourceLoadQueue put:])
              * CacheLoader.subproj/WebResourceRequest.h:
              * CacheLoader.subproj/WebResourceRequest.m:
              (-[WebResourceRequest initWithURL:])
              (-[WebResourceRequest canonicalURL])
              (-[WebResourceRequest protocolHandlerClass])
              (-[WebResourceRequest copyWithZone:])
              (-[WebResourceRequest copyWithURL:])
              * CacheLoader.subproj/WebResourceResponse.m:
              (-[WebResourceResponse contentType])
              * CacheLoader.subproj/WebResourceSynchronousClient.h:
              * CacheLoader.subproj/WebResourceSynchronousClient.m:
              (-[WebResourceHandleSynchronousDelegate initWithRequest:monitor:])
              (-[WebResourceHandleSynchronousDelegate dealloc])
              (-[WebResourceHandleSynchronousDelegate run:])
              (-[WebResourceHandleSynchronousDelegate started])
              (-[WebResourceHandleSynchronousDelegate handle])
              (-[WebResourceHandleSynchronousDelegate response])
              (-[WebResourceHandleSynchronousDelegate result])
              (-[WebResourceHandleSynchronousDelegate handle:willSendRequest:])
              (-[WebResourceHandleSynchronousDelegate handleDidFinishLoading:])
              (-[WebResourceHandleSynchronousDelegate handle:didReceiveResponse:])
              (-[WebResourceHandleSynchronousDelegate handle:didReceiveData:])
              * Misc.subproj/WebFoundation.h:
              * Misc.subproj/WebFoundationLogging.h:
              * Misc.subproj/WebFoundationLogging.m:
              * Misc.subproj/WebNSStringExtras.m:
              (-[NSString _web_isCaseInsensitiveEqualToString:]
              * ProtocolHandlers.subproj/WebAboutProtocolHandler.h:
              * ProtocolHandlers.subproj/WebAboutProtocolHandler.m:
              (-[WebAboutProtocolHandler beginLoad])
              (-[WebAboutProtocolHandler responseClass])
              (-[WebAboutProtocolHandler responseMetadataAvailable])
              (-[WebAboutProtocolHandler setResponseMetadata:])
              * ProtocolHandlers.subproj/WebCFNetworkHTTPProtocolHandler.m:
              (-[WebCFNetworkHTTPProtocolHandler addAuthenticationHeaders:andCall:])
              (-[WebCFNetworkHTTPProtocolHandler continueAfterBytesAvailable])
              (-[WebCFNetworkHTTPProtocolHandler handleReadStreamEvent:event:])
              (-[WebCFNetworkHTTPProtocolHandler performHTTPHeaderRead:andCall:])
              * ProtocolHandlers.subproj/WebFileProtocolHandler.h:
              * ProtocolHandlers.subproj/WebFileProtocolHandler.m:
              (-[WebFileProtocolHandler initWithResourceLoad:])
              (-[WebFileProtocolHandler dealloc])
              (-[WebFileProtocolHandler didLoadData:])
              (-[WebFileProtocolHandler beginLoad])
              (-[WebFileProtocolHandler endLoad])
              (-[WebFileProtocolHandler responseClass])
              (-[WebFileProtocolHandler responseMetadataAvailable])
              (-[WebFileProtocolHandler setResponseMetadata:])
              * ProtocolHandlers.subproj/WebHTTPProtocolHandler.m:
              (-[WebHTTPProtocolHandler responseClass])
              (-[WebHTTPProtocolHandler responseMetadataAvailable])
              (-[WebHTTPProtocolHandler setResponseMetadata:])
              (-[WebHTTPProtocolHandler shouldCacheResponse:])
              (-[WebHTTPProtocolHandler URL])
              (-[WebHTTPProtocolHandler retryWithRedirectedURLAndResultCode:])
              * ProtocolHandlers.subproj/WebSimpleHTTPProtocolHandler.m:
              (-[WebSimpleHTTPProtocolHandler createHTTPRequest])
              (-[WebSimpleHTTPProtocolHandler _examineHeaders])
              * WebFoundation.exp
              * WebFoundation.pbproj/project.pbxproj
      
      WebKit:
      
      	Many changes to coincide with API work in WebFoundation. Most of the modifications
      	here have to do with changes for the new callback scheme.
      
              * Misc.subproj/WebIconLoader.m:
              (-[WebIconLoader handleDidFinishLoading:])
              (-[WebIconLoader handle:willSendRequest:]): New method. A no-op here.
              (-[WebIconLoader handle:didReceiveResponse:]): Ditto.
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView stop]): Fix for Deployment build breakage.
              * Plugins.subproj/WebPluginStream.h: Add response ivar.
              * Plugins.subproj/WebPluginStream.m:
              (-[WebNetscapePluginStream startLoad]): Tweak method name for new API.
              (-[WebNetscapePluginStream receivedData:withHandle:]):
              (-[WebNetscapePluginStream handle:willSendRequest:]): New method. Replaces old redirect callback.
              (-[WebNetscapePluginStream handle:didReceiveResponse:]): New method. Set the response ivar.
              * WebCoreSupport.subproj/WebSubresourceClient.h: Add response ivar.
              * WebCoreSupport.subproj/WebSubresourceClient.m:
              (-[WebSubresourceClient dealloc]): Release response ivar.
              (+[WebSubresourceClient startLoadingResource:withURL:referrer:forDataSource:]): Set the request user agent here.
              (-[WebSubresourceClient handle:willSendRequest:]): New method. Handle like a redirect.
              (-[WebSubresourceClient handle:didReceiveResponse:]): New method. Set the response ivar.
              (-[WebSubresourceClient handle:didReceiveData:]): Tweaks for new WebFoundation API and method names.
              (-[WebSubresourceClient handleDidFinishLoading:]): Ditto.
              (-[WebSubresourceClient handle:didFailLoadingWithError:]): Ditto.
              * WebView.subproj/WebControllerPrivate.m:
              (-[WebController _receivedError:forResourceHandle:partialProgress:fromDataSource:]): Ditto.
              * WebView.subproj/WebDataSourcePrivate.h: Add _setRequest method.
              * WebView.subproj/WebDataSourcePrivate.m:
              (-[WebDataSource _startLoading]): Call didStartLoadingWithURL with request URL instead of handle URL.
              (-[WebDataSource _setRequest:]): Add implementation.
              * WebView.subproj/WebLoadProgress.m:
              (-[WebLoadProgress initWithResourceHandle:]): Tweaks for new WebFoundation API and method names.
              * WebView.subproj/WebMainResourceClient.h: Add response ivar.
              * WebView.subproj/WebMainResourceClient.m:
              (-[WebMainResourceClient initWithDataSource:]): Set user agent on request here.
              (-[WebMainResourceClient dealloc]): Release response ivar.
              (-[WebMainResourceClient didCancelWithHandle:]): Tweaks for new WebFoundation API and method names.
              (-[WebMainResourceClient handleDidFinishLoading:]): Tweaks for new WebFoundation API and method names.
              (-[WebMainResourceClient handle:willSendRequest:]): New method. Handle like a redirect.
              (-[WebMainResourceClient handle:didReceiveResponse:]): New method. Set the response ivar.
              (-[WebMainResourceClient handle:didReceiveData:]): Tweaks for new WebFoundation API and method names.
              (-[WebMainResourceClient handle:didFailLoadingWithError:]): Ditto.
      
      WebBrowser:
      
      	Updated a couple methods to reflect changes in WebFoundation API names.
      
              * BrowserWebController.m:
              (-[BrowserWebController receivedProgress:forResourceHandle:fromDataSource:complete:]): Call for the URL on the handles response
      	instead of the URL of the handle itself.
              (-[BrowserWebController receivedError:forResourceHandle:partialProgress:fromDataSource:]): Ditto.
              * DownloadMonitor.m:
              (-[DownloadMonitor receivedError:forResourceHandle:partialProgress:fromDataSource:]): Request accessor for handle
      	is now private; reflect that in method name (i.e. add an underscore).
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b10c9d76
  25. 30 Sep, 2002 2 commits
    • cblu's avatar
      A ton o' plugin view clean-up and arch changes. Turned WebPluginView into... · d5af8808
      cblu authored
      	A ton o' plugin view clean-up and arch changes. Turned WebPluginView into WebBaseNetscapePluginView. New classes WebNetscapePluginEmbeddedView and WebNetscapePluginDocumentView are subclasses of WebBaseNetscapePluginView. WebNetscapePluginDocumentView handles non-HTML plug-in content and WebNetscapePluginEmbeddedView is the WebHTMLView subview.
      
      	Found that we leak the world on complex pages with plug-ins such as macromedia.com and marvel.com when closing the window. Still need to figure this out.
      
              * Plugins.subproj/WebBaseNetscapePluginView.h: Added.
              * Plugins.subproj/WebBaseNetscapePluginView.m: Added.
              (+[WebBaseNetscapePluginView getCarbonEvent:]):
              (-[WebBaseNetscapePluginView getCarbonEvent:]):
              (-[WebBaseNetscapePluginView modifiersForEvent:]):
              (-[WebBaseNetscapePluginView getCarbonEvent:withEvent:]):
              (-[WebBaseNetscapePluginView keyMessageForEvent:]):
              (-[WebBaseNetscapePluginView sendEvent:]):
              (-[WebBaseNetscapePluginView sendActivateEvent:]):
              (-[WebBaseNetscapePluginView sendUpdateEvent]):
              (-[WebBaseNetscapePluginView acceptsFirstResponder]):
              (-[WebBaseNetscapePluginView becomeFirstResponder]):
              (-[WebBaseNetscapePluginView resignFirstResponder]):
              (-[WebBaseNetscapePluginView mouseDown:]):
              (-[WebBaseNetscapePluginView mouseUp:]):
              (-[WebBaseNetscapePluginView mouseEntered:]):
              (-[WebBaseNetscapePluginView mouseExited:]):
              (-[WebBaseNetscapePluginView keyUp:]):
              (-[WebBaseNetscapePluginView keyDown:]):
              (-[WebBaseNetscapePluginView isInResponderChain]):
              (-[WebBaseNetscapePluginView performKeyEquivalent:]):
              (-[WebBaseNetscapePluginView menuForEvent:]):
              (-[WebBaseNetscapePluginView setUpWindowAndPort]):
              (-[WebBaseNetscapePluginView setWindow]):
              (-[WebBaseNetscapePluginView removeTrackingRect]):
              (-[WebBaseNetscapePluginView resetTrackingRect]):
              (-[WebBaseNetscapePluginView start]):
              (-[WebBaseNetscapePluginView stop]):
              (-[WebBaseNetscapePluginView dataSource]):
              (-[WebBaseNetscapePluginView webFrame]):
              (-[WebBaseNetscapePluginView controller]):
              (-[WebBaseNetscapePluginView plugin]):
              (-[WebBaseNetscapePluginView setMIMEType:]):
              (-[WebBaseNetscapePluginView setBaseURL:]):
              (-[WebBaseNetscapePluginView setArguments:]):
              (-[WebBaseNetscapePluginView setMode:]):
              (-[WebBaseNetscapePluginView initWithFrame:]):
              (-[WebBaseNetscapePluginView dealloc]):
              (-[WebBaseNetscapePluginView drawRect:]):
              (-[WebBaseNetscapePluginView isFlipped]):
              (-[WebBaseNetscapePluginView viewWillMoveToWindow:]):
              (-[WebBaseNetscapePluginView viewDidMoveToWindow]):
              (-[WebBaseNetscapePluginView viewHasMoved:]):
              (-[WebBaseNetscapePluginView windowWillClose:]):
              (-[WebBaseNetscapePluginView windowBecameKey:]):
              (-[WebBaseNetscapePluginView windowResignedKey:]):
              (-[WebBaseNetscapePluginView defaultsHaveChanged:]):
              (-[WebBaseNetscapePluginView frameStateChanged:]):
              (-[WebBaseNetscapePluginView pluginInstance]):
              (-[WebBaseNetscapePluginView pluginURLFromCString:]):
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
              (-[WebBaseNetscapePluginView getURLNotify:target:notifyData:]):
              (-[WebBaseNetscapePluginView getURL:target:]):
              (-[WebBaseNetscapePluginView postURLNotify:target:len:buf:file:notifyData:]):
              (-[WebBaseNetscapePluginView postURL:target:len:buf:file:]):
              (-[WebBaseNetscapePluginView newStream:target:stream:]):
              (-[WebBaseNetscapePluginView write:len:buffer:]):
              (-[WebBaseNetscapePluginView destroyStream:reason:]):
              (-[WebBaseNetscapePluginView status:]):
              (-[WebBaseNetscapePluginView invalidateRect:]):
              (-[WebBaseNetscapePluginView invalidateRegion:]):
              (-[WebBaseNetscapePluginView forceRedraw]):
              * Plugins.subproj/WebBaseNetscapePluginViewPrivate.h: Added.
              * Plugins.subproj/WebNetscapePluginDocumentView.h: Added.
              * Plugins.subproj/WebNetscapePluginDocumentView.m: Added.
              (-[WebNetscapePluginDocumentView initWithFrame:]):
              (-[WebNetscapePluginDocumentView dealloc]):
              (-[WebNetscapePluginDocumentView drawRect:]):
              (-[WebNetscapePluginDocumentView dataSource]):
              (-[WebNetscapePluginDocumentView setDataSource:]):
              (-[WebNetscapePluginDocumentView dataSourceUpdated:]):
              (-[WebNetscapePluginDocumentView setNeedsLayout:]):
              (-[WebNetscapePluginDocumentView layout]):
              * Plugins.subproj/WebNetscapePluginEmbeddedView.h: Added.
              * Plugins.subproj/WebNetscapePluginEmbeddedView.m: Added.
              (-[WebNetscapePluginEmbeddedView initWithFrame:plugin:URL:baseURL:mime:arguments:]):
              (-[WebNetscapePluginEmbeddedView dealloc]):
              (-[WebNetscapePluginEmbeddedView viewDidMoveToWindow]):
              (-[WebNetscapePluginEmbeddedView start]):
              (-[WebNetscapePluginEmbeddedView dataSource]):
              * Plugins.subproj/WebNetscapePluginViewPrivate.h: Removed.
              * Plugins.subproj/WebPluginDatabase.m:
              (-[WebNetscapePluginDatabase init]):
              * Plugins.subproj/WebPluginNullEventSender.h:
              * Plugins.subproj/WebPluginNullEventSender.m:
              (-[WebNetscapePluginNullEventSender initWithPluginView:]):
              (-[WebNetscapePluginNullEventSender sendNullEvents]):
              * Plugins.subproj/WebPluginStream.h:
              * Plugins.subproj/WebPluginStream.m:
              (-[WebNetscapePluginStream getFunctionPointersFromPluginView:]):
              (-[WebNetscapePluginStream initWithURL:pluginPointer:notifyData:]):
              (-[WebNetscapePluginStream dealloc]):
              (-[WebNetscapePluginStream startLoad]):
              (-[WebNetscapePluginStream receivedData:withDataSource:]):
              (-[WebNetscapePluginStream handleWillUseUserAgent:forURL:]):
              (-[WebNetscapePluginStream handle:didReceiveData:]):
              (-[WebNetscapePluginStream handleDidFinishLoading:]):
              (-[WebNetscapePluginStream cancel]):
              (-[WebNetscapePluginStream handle:didFailLoadingWithError:]):
              (-[WebNetscapePluginStream handleDidRedirect:toURL:]):
              * Plugins.subproj/WebPluginView.h: Removed.
              * Plugins.subproj/WebPluginView.m: Removed.
              * Plugins.subproj/npapi.m:
              (NPN_GetURLNotify):
              (NPN_GetURL):
              (NPN_PostURLNotify):
              (NPN_PostURL):
              (NPN_NewStream):
              (NPN_Write):
              (NPN_DestroyStream):
              (NPN_Status):
              (NPN_InvalidateRect):
              (NPN_InvalidateRegion):
              (NPN_ForceRedraw):
              * WebCoreSupport.subproj/WebViewFactory.m:
              (-[WebViewFactory viewForPluginWithURL:serviceType:arguments:baseURL:]):
              (-[WebViewFactory viewForJavaAppletWithFrame:baseURL:parameters:]):
              * WebKit.pbproj/project.pbxproj:
              * WebView.subproj/WebHTMLViewPrivate.m:
              (-[NSView _web_stopIfPluginView]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5af8808
    • darin's avatar
      - fixed crashing part of 3063517 -- crash loading .png in separate window · 18c3b035
      darin authored
              * Plugins.subproj/WebPluginView.m:
              (-[WebNetscapePluginView start]): Don't try to start if the NPP_New is 0.
      	This indicates the the plugin hasn't been loaded.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18c3b035
  26. 29 Sep, 2002 1 commit
    • cblu's avatar
      WebKit: · 2c91d6bb
      cblu authored
      	Fixed: 2978258 - quake3arena.com sends me to the flash=false site
      	The page has a flash plugin that once loaded, requests the flash=true page. If the plugin doesn't load, the meta refresh tag to the flash=false page fires after 3 seconds. This is how this site's flash detection works.
      
      	The reason this doesn't work for us is because the flash movie is at the bottom of the page. Plugins don't start until the initial drawRect. Since the movie is at the bottom of the page and out of site, the plugin never gets the drawRect and thus, never starts. We now start plug-ins when they are added to the window.
      
      	Fixed: 3062224 - context menu includes "Download Item to Disk" for mailto links
      
      	- Fixed click then click and drag causes crash.
      
              * Plugins.subproj/WebPluginView.m:
              (-[WebNetscapePluginView drawRect:]): don't start plug-in here
              (-[WebNetscapePluginView viewDidMoveToWindow]): start it here
              * WebView.subproj/WebDefaultContextMenuDelegate.m:
              (-[WebDefaultContextMenuDelegate contextMenuItemsForElement:defaultMenuItems:]): don't provide "Download Link To Disk" and "Open Link In New Window" items for URLs we cant handle.
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView dragImage:at:offset:event:pasteboard:source:slideBack:]): clean-up
              (-[WebHTMLView mouseDragged:]): Don't allow drag if the frame has a provisional data source because this view may be released and the drag callbacks might reference this released view.
      
      WebBrowser:
      
      	Fixed: 3062224 - context menu includes "Download Item to Disk" for mailto links
      	- Added "Open With QuickTime Player" context menu for URLs ending with .mov.
      	- Only show "Open With*" items for http URLs.
      
              * ContextMenuHandler.m:
              (-[ContextMenuHandler contextMenuItemsForElement:defaultMenuItems:]):
              (-[ContextMenuHandler openWithiTunes:]):
              (-[ContextMenuHandler openWithQuickTime:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2202 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c91d6bb
  27. 27 Sep, 2002 1 commit
    • cblu's avatar
      WebCore: · f938ca5e
      cblu authored
      	WebPlugin clean up.
      
              * kwq/KWQKConfigBase.mm:
              (KConfig::readEntry):
              * kwq/WebCoreViewFactory.h:
      
      WebKit:
      
      	Fixed: 3056559 - QT plugin doesn't load (claudius)
      	Fixed: 3042850 - Enable Java by default
      
      	Cleaned up WebPlugin and WebPluginDatabase.
      
              * Plugins.subproj/WebPlugin.h:
              * Plugins.subproj/WebPlugin.m:
              (-[WebNetscapePlugin openResourceFile]):
              (-[WebNetscapePlugin closeResourceFile:]):
              (-[WebNetscapePlugin stringForStringListID:andIndex:]):
              (-[WebNetscapePlugin getPluginInfo]):
              (-[WebNetscapePlugin initWithPath:]):
              (-[WebNetscapePlugin load]):
              (-[WebNetscapePlugin unload]):
              (-[WebNetscapePlugin MIMEToExtensionsDictionary]):
              (-[WebNetscapePlugin extensionToMIMEDictionary]):
              (-[WebNetscapePlugin MIMEToDescriptionDictionary]):
              (-[WebNetscapePlugin description]):
              * Plugins.subproj/WebPluginDatabase.h:
              * Plugins.subproj/WebPluginDatabase.m:
              (-[WebNetscapePluginDatabase pluginForMIMEType:]):
              (-[WebNetscapePluginDatabase pluginForExtension:]):
              (-[WebNetscapePluginDatabase pluginForFilename:]):
              (-[WebNetscapePluginDatabase MIMETypes]):
              (-[WebNetscapePluginDatabase init]):
              * Plugins.subproj/WebPluginView.m:
              (-[WebNetscapePluginView setDataSource:]):
              * WebCoreSupport.subproj/WebViewFactory.m:
              (-[WebViewFactory viewForPluginWithURL:serviceType:arguments:baseURL:]):
              (-[WebViewFactory viewForJavaAppletWithFrame:baseURL:parameters:]):
              * WebView.subproj/WebPreferences.m:
              (+[WebPreferences load]): Enable Java by default
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f938ca5e
  28. 25 Sep, 2002 2 commits
    • rjw's avatar
      API and documentation tweaks. · 2f7b855d
      rjw authored
              WebDocumentDragSettings:  canDrag -> acceptsDrag
              WebDataSource:  removed originalURL
              WebStandardPanels:  use -> uses
      
              * History.subproj/WebBackForwardList.h:
              * Misc.subproj/WebDownloadHandler.m:
              (-[WebDownloadHandler initWithDataSource:]):
              * Panels.subproj/WebStandardPanels.h:
              * Panels.subproj/WebStandardPanels.m:
              (-[WebStandardPanels setUsesStandardAuthenticationPanel:]):
              (-[WebStandardPanels usesStandardAuthenticationPanel]):
              * Plugins.subproj/WebPluginView.m:
              (-[WebNetscapePluginView frameStateChanged:]):
              * WebCoreSupport.subproj/WebSubresourceClient.m:
              (-[WebSubresourceClient cancel]):
              * WebView.subproj/WebController.h:
              * WebView.subproj/WebDataSource.h:
              * WebView.subproj/WebDataSourcePrivate.m:
              (-[WebDataSource _commitIfReady]):
              * WebView.subproj/WebDocument.h:
              * WebView.subproj/WebFrame.m:
              (-[WebFrame setProvisionalDataSource:]):
              (-[WebFrame startLoading]):
              * WebView.subproj/WebFramePrivate.m:
              (-[WebFrame _transitionToCommitted]):
              (-[WebFrame _setState:]):
              (-[WebFrame _goToItem:withFrameLoadType:]):
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView setAcceptsDrags:]):
              (-[WebHTMLView acceptsDrags]):
              (-[WebHTMLView setAcceptsDrops:]):
              (-[WebHTMLView acceptsDrops]):
              * WebView.subproj/WebImageView.m:
              (-[WebImageView setAcceptsDrags:]):
              (-[WebImageView acceptsDrags]):
              (-[WebImageView setAcceptsDrops:]):
              (-[WebImageView acceptsDrops]):
              * WebView.subproj/WebLoadProgress.h:
              * WebView.subproj/WebLocationChangeDelegate.h:
              * WebView.subproj/WebMainResourceClient.m:
              (-[WebMainResourceClient didCancelWithHandle:]):
              * WebView.subproj/WebView.h:
      
              Updated to reflect API tweaks.
      
              * AppController.m:
              (-[AppController awakeFromNib]):
              * DownloadProgressEntry.m:
              (-[DownloadProgressEntry stop]):
              * LocationChangeHandler.m:
              (-[LocationChangeHandler locationChangeStartedForDataSource:]):
              (-[LocationChangeHandler locationChangeCommittedForDataSource:]):
              (-[LocationChangeHandler locationChangeDone:forDataSource:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f7b855d
    • cblu's avatar
      Fixed: 3050665 - REGRESSION: mp3 audio loads and plays, but no progress or play control is visible · 3b02e463
      cblu authored
              * Plugins.subproj/WebPluginView.h:
              * Plugins.subproj/WebPluginView.m:
              (-[WebNetscapePluginView setNeedsLayout:]):
              (-[WebNetscapePluginView layout]):
              (-[WebNetscapePluginView drawRect:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b02e463
  29. 24 Sep, 2002 1 commit
    • darin's avatar
      Cleaned up some loose ends from adding setNeedsLayout to the WebDocumentView · 702f87c6
      darin authored
      	protocol. Was causing exceptions.
      
              * Plugins.subproj/WebPluginView.m: (-[WebNetscapePluginView setNeedsLayout:]):
              * WebView.subproj/WebTextView.m: (-[WebTextView setNeedsLayout:]):
      	Added missing stubs.
      
              * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge setNeedsReapplyStyles]):
      	Removed unneeded cast.
              * WebView.subproj/WebFramePrivate.m: (-[WebFrame _isLoadComplete]): Remove an
      	unneeded cast and call to isDocumentHTML.
              * WebView.subproj/WebHTMLView.h: No need to re-declare setNeedsLayout.
              * WebView.subproj/WebView.m: (-[WebView setFrame:]): Get rid of unneeded check
      	of isDocumentHTML.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      702f87c6
  30. 23 Sep, 2002 1 commit
    • rjw's avatar
      WebContextMenuHandler becomes WebContextMenuDelegate · 3ca88877
      rjw authored
              WebControllerPolicyHandler becomes WebControllerPolicyDelegate
              WebLocationChangeHandler becomes WebLocationChangeDelegate
              WebResourceProgressHandler becomes WebResourceProgressDelegate
              WebWindowContext becomes WebWindowOperationsDelegate
      
              * Misc.subproj/WebDownloadHandler.m:
              * Plugins.subproj/WebNullPluginView.m:
              (-[WebNullPluginView drawRect:]):
              * Plugins.subproj/WebPluginView.m:
              (-[WebNetscapePluginView loadRequest:inTarget:withNotifyData:]):
              (-[WebNetscapePluginView status:]):
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge openNewWindowWithURL:referrer:frameName:]):
              (-[WebBridge areToolbarsVisible]):
              (-[WebBridge setToolbarsVisible:]):
              (-[WebBridge isStatusBarVisible]):
              (-[WebBridge setStatusBarVisible:]):
              (-[WebBridge setWindowFrame:]):
              (-[WebBridge window]):
              (-[WebBridge setStatusText:]):
              (-[WebBridge reportClientRedirectTo:delay:fireDate:]):
              (-[WebBridge reportClientRedirectCancelled]):
              * WebKit.exp:
              * WebKit.pbproj/project.pbxproj:
              * WebView.subproj/WebContextMenuDelegate.h:
              * WebView.subproj/WebContextMenuHandler.h: Removed.
              * WebView.subproj/WebController.h:
              * WebView.subproj/WebController.m:
              (-[WebController setWindowOperationsDelegate:]):
              (-[WebController windowOperationsDelegate]):
              (-[WebController setResourceProgressDelegate:]):
              (-[WebController resourceProgressDelegate]):
              (-[WebController setDownloadProgressDelegate:]):
              (-[WebController downloadProgressDelegate]):
              (-[WebController setContextMenuDelegate:]):
              (-[WebController contextMenuDelegate]):
              (-[WebController setPolicyDelegate:]):
              (-[WebController policyDelegate]):
              (-[WebController setLocationChangeDelegate:]):
              (-[WebController locationChangeDelegate]):
              * WebView.subproj/WebControllerPolicyDelegate.m: Added.
              (-[WebPolicyPrivate dealloc]):
              (-[WebPolicy _setPolicyAction:]):
              (-[WebPolicy policyAction]):
              (-[WebPolicy path]):
              (-[WebPolicy URL]):
              (-[WebPolicy _setPath:]):
              (-[WebPolicy dealloc]):
              (+[WebURLPolicy webPolicyWithURLAction:]):
              (+[WebFileURLPolicy webPolicyWithFileAction:]):
              (+[WebContentPolicy webPolicyWithContentAction:andPath:]):
              * WebView.subproj/WebControllerPolicyDelegatePrivate.h:
              * WebView.subproj/WebControllerPolicyHandler.h: Removed.
              * WebView.subproj/WebControllerPolicyHandler.m: Removed.
              * WebView.subproj/WebControllerPolicyHandlerPrivate.h: Removed.
              * WebView.subproj/WebControllerPrivate.h:
              * WebView.subproj/WebControllerPrivate.m:
              (-[WebControllerPrivate init]):
              (-[WebControllerPrivate dealloc]):
              (-[WebController _defaultContextMenuDelegate]):
              (-[WebController _receivedProgress:forResourceHandle:fromDataSource:complete:]):
              (-[WebController _mainReceivedProgress:forResourceHandle:fromDataSource:complete:]):
              (-[WebController _receivedError:forResourceHandle:partialProgress:fromDataSource:]):
              (-[WebController _mainReceivedError:forResourceHandle:partialProgress:fromDataSource:]):
              * WebView.subproj/WebDataSourcePrivate.m:
              (-[WebDataSource _startLoading]):
              (-[WebDataSource _setTitle:]):
              (-[WebDataSource _setURL:]):
              (-[WebDataSource _loadIcon]):
              * WebView.subproj/WebDefaultContextMenuDelegate.h:
              * WebView.subproj/WebDefaultContextMenuDelegate.m:
              (-[WebDefaultContextMenuDelegate openNewWindowWithURL:referrer:]):
              (-[WebDefaultContextMenuDelegate downloadURL:]):
              * WebView.subproj/WebDefaultContextMenuHandler.h: Removed.
              * WebView.subproj/WebDefaultContextMenuHandler.m: Removed.
              * WebView.subproj/WebDefaultPolicyDelegate.h:
              * WebView.subproj/WebDefaultPolicyDelegate.m:
              * WebView.subproj/WebDefaultPolicyHandler.h: Removed.
              * WebView.subproj/WebDefaultPolicyHandler.m: Removed.
              * WebView.subproj/WebDocument.h:
              * WebView.subproj/WebFrame.m:
              (-[WebFrame setProvisionalDataSource:]):
              (-[WebFrame frameNamed:]):
              * WebView.subproj/WebFramePrivate.m:
              (-[WebFrame _timedLayout:]):
              (-[WebFrame _transitionToCommitted]):
              (-[WebFrame _isLoadComplete]):
              (-[WebFrame handleUnimplementablePolicy:errorCode:forURL:]):
              (-[WebFrame _shouldShowURL:]):
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView menuForEvent:]):
              * WebView.subproj/WebHTMLViewPrivate.m:
              (-[WebHTMLView _continueAfterClickPolicyForEvent:]):
              * WebView.subproj/WebImageView.m:
              (-[WebImageView setNeedsLayout:]):
              * WebView.subproj/WebLocationChangeDelegate.h:
              * WebView.subproj/WebLocationChangeDelegate.m:
              * WebView.subproj/WebLocationChangeHandler.h: Removed.
              * WebView.subproj/WebLocationChangeHandler.m: Removed.
              * WebView.subproj/WebMainResourceClient.h:
              * WebView.subproj/WebMainResourceClient.m:
              (-[WebMainResourceClient dealloc]):
              (-[WebMainResourceClient receivedProgressWithHandle:complete:]):
              (-[WebMainResourceClient receivedError:forHandle:]):
              (-[WebMainResourceClient handleDidReceiveData:data:]):
              * WebView.subproj/WebResourceProgressDelegate.h:
              * WebView.subproj/WebResourceProgressHandler.h: Removed.
              * WebView.subproj/WebView.m:
              (-[WebView window]):
              * WebView.subproj/WebWindowContext.h: Removed.
              * WebView.subproj/WebWindowOperationsDelegate.h:
      
              WebContextMenuHandler becomes WebContextMenuDelegate
              WebControllerPolicyHandler becomes WebControllerPolicyDelegate
              WebLocationChangeHandler becomes WebLocationChangeDelegate
              WebResourceProgressHandler becomes WebResourceProgressDelegate
              WebWindowContext becomes WebWindowOperationsDelegate
      
              * BrowserDocument.h:
              * BrowserDocument.m:
              (-[BrowserDocument init]):
              (-[BrowserDocument dealloc]):
              (-[BrowserDocument close]):
              * BrowserWebController.h:
              * BrowserWebController.m:
              (-[BrowserWebController setFrame:]):
              * ContextMenuHandler.h:
              * ContextMenuHandler.m:
              (-[ContextMenuHandler contextMenuItemsForElement:defaultMenuItems:]):
              * DownloadMonitor.h:
              * LocationChangeHandler.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ca88877