-
darin authored
* kwq/KWQKHTMLPartImpl.mm: (KWQKHTMLPartImpl::urlSelected): Move the special case of a different anchor within the same page into WebKit from here. * kwq/kdecore/kurl.h: Mark urlcmp as a friend. * kwq/KWQKURL.mm: (urlcmp): Implement the ignoreRef feature, which is needed to make the KHTMLPart::openURL function work right. * kwq/WebCoreBridge.h: Removed addBackForwardItemWithURL:anchor: and added URL method. * kwq/WebCoreBridge.mm: (-[WebCoreBridge URL]): Added. WebKit: * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge loadURL:referrer:]): Add a special case for when the URL is the same as the previous URL for the same frame. This relies on some logic in KHTML's openURL method that handles this case too. * WebView.subproj/WebDataSource.m: (-[WebDataSource initWithRequest:]): Don't bother keeping an inputURL. (-[WebDataSource URL]): Just return [[self request] URL]. Maybe we can remove this altogether. * WebView.subproj/WebDataSourcePrivate.h: Remove inputURL, finalURL. * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSourcePrivate dealloc]): No need to release inputURL, finalURL. (-[WebDataSource _setURL:]): Used only by the new code above. Makes a copy of the request, changes the URL, and then drops the old request. (-[WebDataSource _setRequest:]): Changed to no longer call _setURL. Now does much of the work that _setURL used to do. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a820a16e