- 09 Sep, 2002 4 commits
-
-
darin authored
* Misc.subproj/WebAssertions.h: Use 0 instead of undefined for the XXX_DISABLED macros to be more consistent with the case where they are explicitly defined on purpose. * CacheLoader.subproj/WebHTTPProtocolHandler.m: Use #if ! rather than #ifndef with LOG_DISABLED, since it is set to 0 rather than not defined when LOG is enabled. * CacheLoader.subproj/WebResourceLoad.m: Same, but for ERROR, rather than LOG. WebKit: * Plugins.subproj/WebPluginStream.m: * Plugins.subproj/WebPluginView.m: Use #if ! rather than #ifndef with LOG_DISABLED, since it is set to 0 rather than not defined when LOG is enabled. WebBrowser: * BookmarksController.m: * GlobalHistory.m: Use #if ! rather than #ifndef with LOG_DISABLED, since it is set to 0 rather than not defined when LOG is enabled. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* Scripts/update-kwq-assert: Added. Script to keep the KWQ version of the assert macros in sync. with the WebFoundation version. Just update the WebFoundation one and run this script. * wftool/WFTool.m: Remove obsolete include. WebCore: Switch over to new assertion/logging scheme. * kwq/KWQAssertions.h: Added. * kwq/KWQAssertions.m: Added. * kwq/KWQLogging.h: Added. * kwq/KWQLogging.m: Added. * kwq/kwqdebug.h: Removed. * kwq/kwqdebug.mm: Removed. * WebCore.pbproj/project.pbxproj: Update to reflect above changes. * kwq/KWQApplication.mm: * kwq/KWQChar.mm: * kwq/KWQColor.mm: * kwq/KWQComboBox.mm: * kwq/KWQCompletion.mm: * kwq/KWQCursor.mm: * kwq/KWQDrawUtil.mm: * kwq/KWQEvent.mm: * kwq/KWQFontInfo.mm: * kwq/KWQFontMetrics.mm: * kwq/KWQFrame.mm: * kwq/KWQHBox.mm: * kwq/KWQInputDialog.mm: * kwq/KWQInvisibleButton.mm: * kwq/KWQKConfigBase.mm: * kwq/KWQKFileDialog.mm: * kwq/KWQKFileItem.mm: * kwq/KWQKGlobalSettings.mm: * kwq/KWQKHTMLPartImpl.mm: * kwq/KWQKHTMLSettings.mm: * kwq/KWQKIconLoader.mm: * kwq/KWQKJob.mm: * kwq/KWQKLocale.mm: * kwq/KWQKMimeType.mm: * kwq/KWQKPartsEvent.mm: * kwq/KWQKSimpleConfig.mm: * kwq/KWQKURL.mm: * kwq/KWQKWin.mm: * kwq/KWQKWinModule.mm: * kwq/KWQKjobclasses.mm: * kwq/KWQKnetaccess.mm: * kwq/KWQLabel.mm: * kwq/KWQLineEdit.mm: * kwq/KWQListBox.mm: * kwq/KWQListImpl.mm: * kwq/KWQLoaderImpl.mm: * kwq/KWQObject.mm: * kwq/KWQPaintDeviceMetrics.mm: * kwq/KWQPainter.mm: * kwq/KWQPixmap.mm: * kwq/KWQRegion.mm: * kwq/KWQScrollView.mm: * kwq/KWQSlot.mm: * kwq/KWQString.mm: * kwq/KWQTimer.mm: * kwq/KWQWidget.mm: * kwq/KWQbrowserinterface.mm: * kwq/KWQtextcodec.mm: * kwq/KWQtextstream.mm: * kwq/KWQxml.mm: * kwq/WebCoreBridge.mm: * kwq/WebCoreCookieAdapter.m: * kwq/WebCoreHistory.m: * kwq/WebCoreImageRendererFactory.m: * kwq/WebCoreTextRendererFactory.m: * kwq/WebCoreViewFactory.m: Update to use new assertions and logging macros. In some cases, just removed unneeded includes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* History.subproj/WebHistoryPrivate.m: * History.subproj/WebURLsWithTitles.m: * Misc.subproj/WebDownloadHandler.m: * Misc.subproj/WebIconDatabase.m: * Misc.subproj/WebIconLoader.m: * WebView.subproj/WebController.m: * WebView.subproj/WebDataSourcePrivate.m: * WebView.subproj/WebFrame.m: * WebView.subproj/WebFramePrivate.m: * WebView.subproj/WebHTMLView.m: * WebView.subproj/WebHTMLViewPrivate.m: * WebView.subproj/WebMainResourceClient.m: * WebView.subproj/WebPreferences.m: * WebView.subproj/WebViewPrivate.m: Remove unnecessary includes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* CacheLoader.subproj/WebCacheObject.m: * CacheLoader.subproj/WebDiskCache.m: * CacheLoader.subproj/WebHTTPProtocolHandler.m: * CacheLoader.subproj/WebMemoryCache.m: * CacheLoader.subproj/WebResourceHandle.m: * CacheLoader.subproj/WebResourceHandleInternal.m: * CacheLoader.subproj/WebResourceHandlePrivate.m: * CacheLoader.subproj/WebResourceLoad.m: * CacheLoader.subproj/WebSimpleHTTPProtocolHandler.m: * CookieManager.subproj/WebCookie.m: * CookieManager.subproj/WebCookieManager.m: * CookieManager.subproj/WebCookieStorage.m: * Database.subproj/WebFileDatabase.m: * Misc.subproj/WebBinaryHeap.m: * Misc.subproj/WebReadWriteLock.m: * Misc.subproj/WebRecursiveReadWriteLock.m: Remove some unnecessary includes. * CacheLoader.subproj/WebHTTPProtocolHandlerPrivate.h: Removed. * CacheLoader.subproj/WebHTTPProtocolHandlerPrivate.m: Removed. * CacheLoader.subproj/WebHTTPResourceLoader.h: Removed. * CacheLoader.subproj/WebHTTPResourceLoader.m: Removed. Removed these files. The ChangeLog says they were removed a long time ago, but cvs doesn't agree. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Sep, 2002 5 commits
-
-
darin authored
* Misc.subproj/WebKitDebug.h: Removed. * Misc.subproj/WebKitDebug.m: Removed. * Misc.subproj/WebKitLogging.h: Added. * Misc.subproj/WebKitLogging.m: Added. * Misc.subproj/WebKitReallyPrivate.h: Removed. * WebKit.pbproj/project.pbxproj: Update for above changes. * WebKit-tests.exp: Now empty. * History.subproj/WebHistoryItem.m: Remove unneeded include. * Bookmarks.subproj/WebBookmarkGroup.m: * History.subproj/WebHistoryPrivate.m: * Misc.subproj/WebDownloadHandler.m: * Misc.subproj/WebIconDatabase.m: * Plugins.subproj/WebPlugin.m: * Plugins.subproj/WebPluginDatabase.m: * Plugins.subproj/WebPluginNullEventSender.m: * Plugins.subproj/WebPluginStream.m: * Plugins.subproj/WebPluginView.m: * Plugins.subproj/npapi.m: * WebCoreSupport.subproj/WebTextRenderer.m: * WebView.subproj/WebDataSourcePrivate.m: * WebView.subproj/WebFrame.m: * WebView.subproj/WebFramePrivate.m: * WebView.subproj/WebHTMLView.m: * WebView.subproj/WebMainResourceClient.m: Change to use new log channels. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* Tests/WebFoundationC/ifurlhandlec-test.c: (run): Remove begin and cancel testing. WebKit: Remove empty handleDidBeginLoading and handleDidCancelLoading methods, now that they will never be called. * Misc.subproj/WebIconLoader.m: * Plugins.subproj/WebPluginStream.m: * WebCoreSupport.subproj/WebSubresourceClient.m: * WebView.subproj/WebMainResourceClient.m: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* WebView.subproj/WebDataSource.m: * WebView.subproj/WebDataSourcePrivate.h: * WebView.subproj/WebDataSourcePrivate.m: Oops. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
handleDidBeginLoading and handleDidCancelLoading. * WebCoreSupport.subproj/WebSubresourceClient.h: Add a handle method. * WebCoreSupport.subproj/WebSubresourceClient.m: (-[WebSubresourceClient handleDidCancelLoading:]): Remove guts, move to cancel. (-[WebSubresourceClient handleDidFinishLoading:]): Remove the client from the data source now, not the handle. (-[WebSubresourceClient handleDidFailLoading:withError:]): Ditto. (-[WebSubresourceClient cancel]): Move guts here, also make the above change. (-[WebSubresourceClient handle]): Added. * WebView.subproj/WebDataSource.m: Use clients list, not handles list. * WebView.subproj/WebDataSourcePrivate.h: Keep a list of subresource clients rather than a list of handles for the subresources. * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSourcePrivate dealloc]): Update to match new field names. (-[WebDataSource _updateLoading]): Use clients, not handles. (-[WebDataSource _startLoading:]): Move line about starting loading out of the if statement. I suspect the if statement is always true, though. (-[WebDataSource _addSubresourceClient:]): New name. Keep client pointer instead of handle now. (-[WebDataSource _removeSubresourceClient:]): Ditto. (-[WebDataSource _stopLoading]): Move download handler line into WebMainResourceClient since the "not sent when application is quitting" issue is gone now. Stop the subresource clients using the cancel call, not by cancelling the handle directly. (-[WebDataSource _defersCallbacksChanged]): Update for clients list, not handles list. * WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient didCancelWithHandle:]): Cancel the download handler here. (-[WebMainResourceClient handleDidReceiveData:data:]): Call didCancelWithHandle here. A loose end from the previous change. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
all types of positioned blocks (and for painting the root and HTML layers as well). Event handling is not yet using the new layer system, so you may see oddities like DHTML menus now displaying correctly but events not working (since the event code may still be stacking incorrectly and think the DHTML is behind other content). * khtml/css/cssstyleselector.cpp: * khtml/rendering/render_box.cpp: (RenderBox::setStyle): (RenderBox::calcHeight): (RenderBox::calcAbsoluteHorizontal): * khtml/rendering/render_container.cpp: (RenderContainer::addChild): (RenderContainer::removeChildNode): * khtml/rendering/render_flow.cpp: (RenderFlow::setStyle): (RenderFlow::printObject): (RenderFlow::printSpecialObjects): (RenderFlow::layout): (RenderFlow::layoutSpecialObjects): (RenderFlow::layoutBlockChildren): (RenderFlow::insertSpecialObject): * khtml/rendering/render_flow.h: * khtml/rendering/render_html.cpp: (RenderHtml::layout): * khtml/rendering/render_image.cpp: (RenderImage::printObject): * khtml/rendering/render_layer.cpp: (RenderLayer::updateLayerPosition): (RenderLayer::enclosingAncestor): (RenderLayer::addChild): (RenderLayer::convertToLayerCoords): (RenderLayer::paint): (RenderLayer::constructZTree): (RenderLayer::RenderZTreeNode::constructLayerList): * khtml/rendering/render_layer.h: * khtml/rendering/render_replaced.cpp: (RenderReplaced::print): (RenderWidget::printObject): * khtml/rendering/render_root.cpp: (RenderRoot::calcHeight): (RenderRoot::layout): (RenderRoot::printObject): * khtml/rendering/render_root.h: * khtml/rendering/render_style.cpp: (StyleBoxData::StyleBoxData): (StyleBoxData::operator==): * khtml/rendering/render_style.h: * kwq/WebCoreBridge.mm: (-[WebCoreBridge drawRect:withPainter:]): * kwq/qt/qrect.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Sep, 2002 1 commit
-
-
cblu authored
Made the wizzy scaling an experiment. * Misc.subproj/WebIconDatabase.m: (-[WebIconDatabase _iconByScalingIcon:toSize:]): WebBrowser: - Text field/location bar combo - Added a defaults key "Experiments" as a way to toggle experimental features, behaviors etc. - Added an "Experiments" debug menu item. Vague, but couldn't think of a better title. - The text field/location bar combo is an "Experiment". "Experiments" is off by default. * AppController.m: (-[AppController enableExperiments:]): toggle the default * BrowserWindowController.h: * BrowserWindowController.m: (-[BrowserWindowController setActivity:]): set _previousActivity so we know if we were searching or loading (-[BrowserWindowController textFieldToUpdateProgress]): added, returns the current text field that is showing a progress bar (-[BrowserWindowController setProgressBarValue:]): added, calls setProgressBarValue on current text field (-[BrowserWindowController incrementProgressBarBy:]): added, calls incrementProgressBarBy on current text field * Debug/DebugUtilities.m: (-[DebugUtilities createDebugMenu]): * LoadProgressMonitor.h: * LoadProgressMonitor.m: (-[LoadProgressMonitor initWithBrowserDocument:]): set _maxIncrement to the default (-[LoadProgressMonitor _setProgressBarValueToZero]): added (-[LoadProgressMonitor _stopProgressBar]): added (-[LoadProgressMonitor _incrementProgressBarWithProgress:previousProgress:isFrame:]): added, progress algorithm here (-[LoadProgressMonitor monitorResource:withProgress:error:dataSource:]): call _incrementProgressBarWithProgress:previousProgress:isFrame: (-[LoadProgressMonitor finishedLoadingFrame:]): call _stopProgressBar * LocationTextField.m: (-[LocationTextField setDisplayAttributes]): set progress images * PreferenceKeys.h: * Resources/Images/Location_Left_Progress.tif: Added. * Resources/Images/Location_Middle_Progress.tif: Added. * Resources/Images/Location_Right_Progress.tif: Added. * Resources/Images/Search_Left_Progress.tif: Added. * Resources/Images/Search_Middle_Progress.tif: Added. * Resources/Images/Search_Right_Progress.tif: Added. * SearchTextField.m: (-[SearchTextField setDisplayAttributes]): set progress images * TextFieldWithControls.h: * TextFieldWithControls.m: (-[TextFieldWithControls becomeFirstResponder]): call setIsShowingProgressBar:NO (-[TextFieldWithControls textDidEndEditing:]): call setIsShowingProgressBar:YES (-[TextFieldWithControls dealloc]): release progress images (-[TextFieldWithControls backgroundImage]): added logic for showing progress bar (-[TextFieldWithControls setLeftProgressImage:]): added (-[TextFieldWithControls setRightProgressImage:]): added (-[TextFieldWithControls setMiddleProgressImage:]): added (-[TextFieldWithControls isShowingProgressBar]): added (-[TextFieldWithControls setIsShowingProgressBar:]): added (-[TextFieldWithControls setProgressBarValue:]): added (-[TextFieldWithControls incrementProgressBarBy:]): added * WebBrowser.pbproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Sep, 2002 11 commits
-
-
mjs authored
* kwq/KWQString.mm: (QString::detach): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
* kwq/KWQString.mm: (QString::detachInternal): Uselessly Initialize newData to NULL since the compiler can't tell that FATAL won't return. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* kwq/WebCoreResourceLoader.h: Define WebCoreResourceHandle protocol. * kwq/kio/jobclasses.h: * kwq/KWQKjobclasses.mm: * kwq/KWQLoaderImpl.mm: (KWQServeRequest): * kwq/WebCoreBridge.h: Use WebCoreResourceHandle instead of WebResourceHandle. * kwq/KWQString.mm: (QString::fill): Fix case where the new string is going to be empty, but the old string was not. Before, it leaked a handle. * kwq/character-sets.txt: Updated to 2002-06-14 version from 2001-08-23 version. * kwq/mac-encodings.txt: Updated encoding names to include ones gleaned from the I18N-Charset-1.17 Perl module. * kwq/KWQCharsets.mm: Formatting tweaks. WebKit: Almost weaned WebKit entirely from the handleDidBeginLoading and handleDidCancelLoading loading callbacks. We are planning to remove both of them. * Plugins.subproj/WebPluginStream.m: (-[WebNetscapePluginStream startLoad]): Call _didStartLoading here so we don't need to rely on handleDidBeginLoading any more. (-[WebNetscapePluginStream stop]): Call cancel here so we don't need to rely on handleDidCancelLoading any more. (-[WebNetscapePluginStream handleDidBeginLoading:]): Empty out. (-[WebNetscapePluginStream handleDidFinishLoading:]): Nil out resource here. (-[WebNetscapePluginStream handleDidCancelLoading:]): Empty out. (-[WebNetscapePluginStream cancel]): Put cancel code here. (-[WebNetscapePluginStream handleDidFailLoading:withError:]): Nil out resource here. * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge startLoadingResource:withURL:]): Change to use WebCoreResourceHandle. * WebCoreSupport.subproj/WebSubresourceClient.h: Change to use WebCoreResourceHandle. * WebCoreSupport.subproj/WebSubresourceClient.m: (-[WebSubresourceClient dealloc]): Release handle too, now that we have it. (-[WebSubresourceClient receivedProgressWithComplete:]): Moved up here and removed handle parameter. (+[WebSubresourceClient startLoadingResource:withURL:dataSource:]): Do work here so we don't need to rely on handleDidBeginLoading any more. (-[WebSubresourceClient receivedError:]): Removed handle parameter. (-[WebSubresourceClient handleWillUseUserAgent:forURL:]): (-[WebSubresourceClient handleDidBeginLoading:]): Emptied out. (-[WebSubresourceClient handleDidCancelLoading:]): Updated, still needs to be emptied out. (-[WebSubresourceClient handleDidFinishLoading:]): Nil out handle. (-[WebSubresourceClient handleDidFailLoading:withError:]): Nil out handle. (-[WebSubresourceClient cancel]): New method, used by WebCore. * WebCoreSupport.subproj/WebTextRenderer.m: (-[WebTextRenderer widthForCharacters:length:]): Moved up in the file to fix build failure. * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading:]): Call didStartLoadingWithURL so we don't have to rely on handleDidBeginLoading. (-[WebDataSource _stopLoading]): Call didCancelWithHandle so we don't have to rely on handleDidCancelLoading. * WebView.subproj/WebMainResourceClient.h: Add didStartLoadingWithURL and didCancelWithHandle to the public methods. * WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient initWithDataSource:]): (-[WebMainResourceClient handleDidBeginLoading:]): Empty out. (-[WebMainResourceClient didCancelWithHandle:]): Move the bulk of handleDidCancelLoading here. (-[WebMainResourceClient handleDidCancelLoading:]): Empty out. * WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]): Move the mouse up a little bit so it's "on" the dragged area, but not over the text. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
to space widths. (Sites like www.osnews.com now render correctly.) Change word end rounding hack to use ceil of word width. I'm still noticing a spacing anomaly that is fixed by a reload. Occasionally text runs are still crammed together, but a reload uses correct spacing. This anomaly is often visible on www.arstechnica.com. Still investigating. * WebCoreSupport.subproj/WebTextRenderer.m: (-[WebTextRenderer drawGlyphs:numGlyphs:fromGlyphPosition:toGlyphPosition:atPoint:withPadding:withTextColor:backgroundColor:]): (-[WebTextRenderer slowDrawCharacters:length:fromCharacterPosition:toCharacterPosition:atPoint:withPadding:withTextColor:backgroundColor:attemptFontSubstitution:]): (-[WebTextRenderer _drawCharacters:length:fromCharacterPosition:toCharacterPosition:atPoint:withPadding:withTextColor:backgroundColor:]): (-[WebTextRenderer drawCharacters:stringLength:fromCharacterPosition:toCharacterPosition:atPoint:withPadding:withTextColor:backgroundColor:]): (-[WebTextRenderer slowFloatWidthForCharacters:stringLength:fromCharacterPostion:numberOfCharacters:applyRounding:]): (-[WebTextRenderer floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:applyRounding:attemptFontSubstitution:]): Tweaks to dragged image. * WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]): Start using khtml's 'toAdd' parameter to justify text. * khtml/rendering/font.cpp: (Font::drawText): Normalize all calls to get width to minimize use of ObjC. Will make it easier to use IMPL cache later. * kwq/KWQFontMetrics.mm: (QFontMetrics::width): (QFontMetrics::floatWidth): (QFontMetrics::floatCharacterWidth): Pass additional 'toAdd' parameter. * kwq/KWQPainter.mm: (QPainter::drawText): * kwq/qt/qpainter.h: Remove methods now that width calls are normalized to single method. * kwq/WebCoreTextRenderer.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
if symbol is missing. Use NSIsSymbolNameDefined() first to check if symbol is present. * WebCoreSupport.subproj/WebTextRendererFactory.m: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* CacheLoader.subproj/WebResourceHandleInternal.m: (-[WebResourceHandleInstanceVariables prepareCallbacks]): Retain the callbackData to give it a more normal lifetime. (-[WebResourceHandleInstanceVariables dealloc]): Release response to fix a leak, and callbackData to match the change above. (-[WebResourceHandle _sendCallbacks]): Handle fail in a way that is parallel to finish, rather than parallel to cancel. And put the rule about not delivering any more callbacks after the end state at this level instead of in each function. (-[WebResourceHandle _notifyClientDidBeginLoading]): Remove unnecessary locking. (-[WebResourceHandle _notifyClientDidCancelLoading]): Ditto. (-[WebResourceHandle _notifyClientDidRedirectToURL]): Ditto. (-[WebResourceHandle _notifyClientDataDidBecomeAvailable]): Ditto. (-[WebResourceHandle _notifyClientDidFailLoading]): Ditto. (-[WebResourceHandle _notifyClientDidFinishLoading]): Ditto. * CacheLoader.subproj/WebSimpleHTTPProtocolHandler.m: (-[WebSimpleHTTPProtocolHandler dealloc]): Release responseDataGuard to fix a leak. * Misc.subproj/WebQueue.m: (-[WebQueue take]): Rewrite the wait loop for clarity. Add code to update tail when taking the last element from the queue; fixes a bug. (-[WebQueue remove:]): Add code to update tail when removing the last element. * CacheLoader.subproj/WebResourceLoadQueue.m: -[WebResourceLoadQueue put:]): Tweak. * CacheLoader.subproj/WebResourceLoad.m: (_loadBegin): Add an autorelease pool. (_loadSweeper): Add an autorelease pool. * Database.subproj/WebFileDatabase.m: (-[WebFileDatabaseOp initWithCode:key:object:]): Remove unneeded release of nil. (-[WebFileDatabase objectForKey:]): Tweak and remove an unnecessary "volatile". * Misc.subproj/WebSystemBits.m: (WebSetThreadPriority): Use FATAL instead of printf. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* History.subproj/WebHistoryItem.m: (-[WebHistoryItem initWithURL:target:parent:title:]): Use copy, not retain. (-[WebHistoryItem dealloc]): Release the anchor, fix leak. (-[WebHistoryItem setURL:]): Check for URLs that are equal, not just ==. (-[WebHistoryItem setTitle:]): Copy, not retain. (-[WebHistoryItem setTarget:]): Copy, not retain. (-[WebHistoryItem setParent:]): Copy, not retain. (-[WebHistoryItem setDisplayTitle:]): Copy, not retain. (-[WebHistoryItem setAnchor:]): Copy, not retain. * WebView.subproj/WebControllerPolicyHandler.m: (-[WebPolicyPrivate dealloc]): Release the URL, call super, fix leaks. (-[WebPolicy _setPath:]): Use copy, not retain. * WebView.subproj/WebControllerPrivate.m: (-[WebControllerPrivate dealloc]): Release downloadProgressHandler, contextMenuHandler, locationChangeHandler, fix leaks. Some fun with Richard's new code. * WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]): Center image around mouse instead of putting it up and to the right. Add more X space than Y space. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
(-[WebHTMLView mouseDragged:]): More fun and games with dragged links. Draw both a label and url (in a smaller font) into the dragged image. * Misc.subproj/WebStringTruncator.h: * Misc.subproj/WebStringTruncator.m: (+[WebStringTruncator rightTruncateString:toWidth:withFont:]): Added right string truncator. Not optimized, but not used very often. Currently just for dragged link experiment. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sheridan authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kocienda authored
warning when building under deployment since the only use of the variable was in a debug statement. * Plugins.subproj/WebPluginStream.m: (-[WebNetscapePluginStream receivedError:]) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* Misc.subproj/WebAssertions.h: Add real definition of WebLogChannel. * Misc.subproj/WebAssertions.m: (WebLog): Implement. * Misc.subproj/WebFoundationDebug.h: Removed. * Misc.subproj/WebFoundationDebug.m: Removed. * Misc.subproj/WebFoundationLogging.h: Added. * Misc.subproj/WebFoundationLogging.m: Added. * Misc.subproj/WebFoundationPrivate.h: Removed WebFoundationDebug.h. * WebFoundation.pbproj/project.pbxproj: Removed and added files. * AuthenticationManager.subproj/WebAuthenticationHandlerDispatcher.m: * CacheLoader.subproj/WebCFNetworkHTTPProtocolHandler.m: * CacheLoader.subproj/WebCacheObject.m: * CacheLoader.subproj/WebDiskCache.m: * CacheLoader.subproj/WebFileProtocolHandler.m: * CacheLoader.subproj/WebHTTPProtocolHandler.m: * CacheLoader.subproj/WebMemoryCache.m: * CacheLoader.subproj/WebProtocolHandler.m: * CacheLoader.subproj/WebResourceData.m: * CacheLoader.subproj/WebResourceHandle.m: * CacheLoader.subproj/WebResourceHandleInternal.m: * CacheLoader.subproj/WebResourceHandlePrivate.m: * CacheLoader.subproj/WebResourceLoad.m: * CacheLoader.subproj/WebResourceLoadManager.m: * CacheLoader.subproj/WebResourceLoadQueue.m: * CacheLoader.subproj/WebSimpleHTTPProtocolHandler.m: * CookieManager.subproj/WebCookie.m: * CookieManager.subproj/WebCookieAcceptHandlerDispatcher.m: * CookieManager.subproj/WebCookieManager.m: * CookieManager.subproj/WebCookieStorage.m: * Database.subproj/WebFileDatabase.m: * Misc.subproj/WebBinaryHeap.m: * Misc.subproj/WebHostNameResolver.m: * Misc.subproj/WebNSStringExtras.m: * Misc.subproj/WebQueue.m: * Misc.subproj/WebReadWriteLock.m: * Misc.subproj/WebRecursiveReadWriteLock.m: Update to use new log macro. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Sep, 2002 15 commits
-
-
rjw authored
Needs some visual tweaking, but good concept, I think. * WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
element dictionary. This will be used as a link 'label'. * kwq/WebCoreBridge.h: * kwq/WebCoreBridge.mm: (-[WebCoreBridge elementAtPoint:]): Use the first text child node of the link element as the title for a dragged link. We'll use this for the dragged image later too. * WebView.subproj/WebController.h: * WebView.subproj/WebController.m: * WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]): * WebView.subproj/WebHTMLViewPrivate.m: (-[WebHTMLView _elementAtPoint:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
* kjs/types.h: Add needsMarking boolean and make List inherit from Value privately instead of publicly. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
document when going back. * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge saveDocumentState:]): (-[WebBridge documentState]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
* WebView.subproj/WebView.m: (-[WebView draggingEntered:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
A few places still use the WebKitDebug.h, for logging. * Bookmarks.subproj/WebBookmark.m: * Bookmarks.subproj/WebBookmarkGroup.m: * Bookmarks.subproj/WebBookmarkLeaf.m: * Bookmarks.subproj/WebBookmarkList.m: * Bookmarks.subproj/WebBookmarkSeparator.m: * History.subproj/WebHistory.m: * History.subproj/WebHistoryList.m: * History.subproj/WebHistoryPrivate.m: * History.subproj/WebURLsWithTitles.m: * Misc.subproj/WebDownloadHandler.m: * Misc.subproj/WebIconDatabase.m: * Misc.subproj/WebIconLoader.m: * Misc.subproj/WebKitDebug.h: * Misc.subproj/WebStringTruncator.m: * Panels.subproj/WebAuthenticationPanel.m: * Plugins.subproj/WebPlugin.m: * Plugins.subproj/WebPluginDatabase.m: * Plugins.subproj/WebPluginNullEventSender.m: * Plugins.subproj/WebPluginStream.m: * Plugins.subproj/WebPluginView.m: * Plugins.subproj/npapi.m: * WebCoreSupport.subproj/WebBridge.m: * WebCoreSupport.subproj/WebCookieAdapter.m: * WebCoreSupport.subproj/WebImageRenderer.m: * WebCoreSupport.subproj/WebImageRendererFactory.m: * WebCoreSupport.subproj/WebSubresourceClient.m: * WebCoreSupport.subproj/WebTextRenderer.m: * WebCoreSupport.subproj/WebTextRendererFactory.m: * WebCoreSupport.subproj/WebViewFactory.m: * WebView.subproj/WebController.m: * WebView.subproj/WebControllerPrivate.m: * WebView.subproj/WebDataSource.m: * WebView.subproj/WebDataSourcePrivate.m: * WebView.subproj/WebDefaultPolicyHandler.m: * WebView.subproj/WebFrame.m: * WebView.subproj/WebFramePrivate.m: * WebView.subproj/WebHTMLView.m: * WebView.subproj/WebHTMLViewPrivate.m: * WebView.subproj/WebMainResourceClient.m: * WebView.subproj/WebPreferences.m: * WebView.subproj/WebViewPrivate.m: Use new assertions. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
Removed debugging. * khtml/khtml_part.cpp: (KHTMLPart::closeURL): Removed debugging. * History.subproj/WebBackForwardList.m: (-[WebBackForwardList addEntry:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
in back/forward list. * History.subproj/WebBackForwardList.m: (-[WebBackForwardList addEntry:]): * History.subproj/WebHistoryItem.h: * History.subproj/WebHistoryItem.m: (-[WebHistoryItem dealloc]): (-[WebHistoryItem setLastVisitedDate:]): (-[WebHistoryItem documentState]): * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge saveDocumentState:]): (-[WebBridge documentState]): * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading:]): Lookup post Jaguar CG SPI. Can now run and build w/o patched CG. * WebCoreSupport.subproj/WebTextRendererFactory.m: Changed image links to drag file contents. * WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]): Always call KHTMLPart::closeURL when a new document is loaded. Added support for saving and restoring document state in the back/forward list. Document state includes form data. * khtml/khtml_part.cpp: (KHTMLPart::openURL): (KHTMLPart::closeURL): (KHTMLPart::begin): * kwq/KWQKHTMLPartImpl.h: * kwq/KWQKHTMLPartImpl.mm: (KWQKHTMLPartImpl::saveDocumentState): (KWQKHTMLPartImpl::restoreDocumentState): * kwq/WebCoreBridge.h: * kwq/WebCoreBridge.mm: (-[WebCoreBridge saveDocumentState]): (-[WebCoreBridge restoreDocumentState]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kocienda authored
Another change likes the ones I have been doing. This time the WebError object has been removed from WebResourceHandle and WebResourceLoad. They now rely on the WebError object in WebResourceResponse. All WebFoundation code has been updated accordingly. * CacheLoader.subproj/IFURLHandleC.m: (IFURLHandleBackgroundLoadFailedWithResultCode) (IFURLHandleGetError) * CacheLoader.subproj/WebCFNetworkHTTPProtocolHandler.m: (-[WebCFNetworkHTTPProtocolHandler continueHeaderReadAfterFailureResponseAndCall:]) * CacheLoader.subproj/WebResourceHandle.h: * CacheLoader.subproj/WebResourceHandle.m: * CacheLoader.subproj/WebResourceHandleInternal.h: * CacheLoader.subproj/WebResourceHandleInternal.m: (-[WebResourceHandleInstanceVariables dealloc]) (-[WebResourceHandle _notifyClientDidFailLoading]) * CacheLoader.subproj/WebResourceHandlePrivate.h: * CacheLoader.subproj/WebResourceHandlePrivate.m: * CacheLoader.subproj/WebResourceLoad.h: * CacheLoader.subproj/WebResourceLoad.m: (-[WebResourceLoad succeeded]) (-[WebResourceLoad failedWithResultCode:inDomain:failingURL:isTerminal:]) (-[WebResourceLoad dealloc]) * CacheLoader.subproj/WebSimpleHTTPProtocolHandler.m: (-[WebSimpleHTTPProtocolHandler _examineHeaders]) WebKit: The WebError object has been removed from WebResourceHandle. Objects of that class now rely on the WebError object in WebResourceResponse. This code has been updated to ask WebResourceResponse for it WebError object, rather than asking WebResourceHandle. * WebCoreSupport.subproj/WebSubresourceClient.m: (-[WebSubresourceClient handleDidFinishLoading:]) * WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handleDidFinishLoading:]) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cblu authored
* Plugins.subproj/WebPluginStream.h: * Plugins.subproj/WebPluginStream.m: (-[WebNetscapePluginStream receivedData:withHandle:]): (-[WebNetscapePluginStream receivedError:]): (-[WebNetscapePluginStream receivedData:withDataSource:]): (-[WebNetscapePluginStream handleDidReceiveData:data:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kocienda authored
The first use of the WebResourceResponse object. This is just a baby step, though. I only use one variable in the new class, the statusCode, but all the code in the framework has been updated to use the statusCode from the response object. All other references to status codes, be they in WebResourceHandle, or WebResourceLoad, have been eliminated. More changes like this, where I rely more and more on WebResourceResponse are to come. * CacheLoader.subproj/IFURLHandleC.m: (IFURLHandleGetStatusCode): Call through to response object to get status code. * CacheLoader.subproj/WebCFNetworkHTTPProtocolHandler.m: Ditto. (-[WebCFNetworkHTTPProtocolHandler continueAfterBytesAvailable]):Ditto. (-[WebCFNetworkHTTPProtocolHandler handleReadStreamEvent:event:]):Ditto. * CacheLoader.subproj/WebResourceHandle.h: Added accessor for WebResourceResponse ivar. * CacheLoader.subproj/WebResourceHandle.m: (-[WebResourceHandle cancelLoadInBackground]): Call through to response object to get status code. (-[WebResourceHandle loadInForeground:]): Ditto. (-[WebResourceHandle response]): Added. * CacheLoader.subproj/WebResourceHandleInternal.h: Add WebResourceResponse ivar. Remove statusCode ivar. * CacheLoader.subproj/WebResourceHandleInternal.m: Remove handle support for its own status code ivar. (-[WebResourceHandleInstanceVariables initWithHandle:]): (+[WebResourceHandle _registerDefaults]): * CacheLoader.subproj/WebResourceHandlePrivate.h: Declare method to set a WebResourceResponse on a handle. * CacheLoader.subproj/WebResourceHandlePrivate.m: (-[WebResourceHandle _didLoadData:]): Call through to response object to get status code. (-[WebResourceHandle _backgroundLoadComplete]): Ditto. (-[WebResourceHandle _backgroundLoadFailed]): Ditto. (-[WebResourceHandle _didRedirectToURL:]): Ditto. (-[WebResourceHandle _setResponse:]): Added * CacheLoader.subproj/WebResourceLoad.h: Remove load support for its own status code ivar. Add WebResourceResponse ivar. * CacheLoader.subproj/WebResourceLoad.m: (-[WebResourceLoad initWithRequest:]): Create new WebResourceResponse ivar. (-[WebResourceLoad cancel]): Call through to response object to get status code. (-[WebResourceLoad succeeded]): Ditto. (-[WebResourceLoad failedWithResultCode:inDomain:failingURL:isTerminal:]): Ditto. (-[WebResourceLoad addHandle:]): Set WebResourceResponse on the handle when it is added. (-[WebResourceLoad _beginLoad]): Call through to response object to get status code. (-[WebResourceLoad _beginOriginLoad]): Ditto. (-[WebResourceLoad dealloc]): Release new WebResourceResponse instance. (_loadThrottler): Call through to response object to get status code. * CacheLoader.subproj/WebResourceResponse.m: (-[WebResourceResponse init]): Added (-[WebResourceResponse contentLength]): Implementation does not work yet, but nobody relies on it yet. * CacheLoader.subproj/WebResourceResponsePrivate.h: Removed life-cycle methods I am going to try to do without. * WebFoundation.pbproj/project.pbxproj: WebKit: The first use of the WebResourceResponse object. This is just a baby step, though. I only use one variable in the new class, the statusCode, but all the code in the framework has been updated to use the statusCode from the response object. Each of these methods was modified to call through to a WebResourceResponse to get the status code. * WebCoreSupport.subproj/WebSubresourceClient.m: (-[WebSubresourceClient handleDidFinishLoading:]) * WebView.subproj/WebLoadProgress.m: (-[WebLoadProgress initWithResourceHandle:]) * WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handleDidFinishLoading:]) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
(per Bertrand's request) * WebCoreSupport.subproj/WebTextRendererFactory.m: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sullivan authored
* Resources/url_icon.tiff: New generic icon from Steve Lemay. The @ sign lives, but does not spring. WebBrowser: - new art from Steve Lemay - removed all unused images from Alexander * LocationTextField.m: (-[LocationTextField setDisplayAttributes]): * SearchTextField.m: (-[SearchTextField setDisplayAttributes]): Updated to use new names for left/middle/right images, so I don't have to keep changing the names of the incoming art. * Resources/Images/Back.tif: * Resources/Images/BackPressed.tif: * Resources/Images/Go.tif: * Resources/Images/GoPressed.tif: * Resources/Images/Search_SnapBack.tif: * Resources/Images/Search_SnapBackPressed.tif: * Resources/Images/ShowFavorites.tif: * Resources/Images/Stop.tif: * Resources/Images/StopPressed.tif: * Resources/Images/Reload.tif: * Resources/Images/ReloadPressed.tif: New and improved. * Resources/Images/Location_Left.tif: Added. * Resources/Images/Location_Middle.tif: Added. * Resources/Images/Location_Right.tif: Added. * Resources/Images/Search_Left.tif: Added. * Resources/Images/Search_Middle.tif: Added. * Resources/Images/Search_Right.tif: Added. New names for left/middle/right text field images; note that the search middle is now different than the location field middle (different shadowing) * Resources/Images/RightCapBack.tiff: Removed. * Resources/Images/favoritesCaret.tiff: Removed. * Resources/Images/find.tiff: Removed. * Resources/Images/find2_green.gif: Removed. * Resources/Images/find_go.tiff: Removed. * Resources/Images/find_green.gif: Removed. * Resources/Images/find_red_0.gif: Removed. * Resources/Images/find_red_1.gif: Removed. * Resources/Images/find_red_2.gif: Removed. * Resources/Images/find_red_3.gif: Removed. * Resources/Images/find_red_4.gif: Removed. * Resources/Images/find_red_5.gif: Removed. * Resources/Images/find_red_6.gif: Removed. * Resources/Images/find_red_7.gif: Removed. * Resources/Images/leftCapFlat.tiff: Removed. * Resources/Images/leftCapRound.tiff: Removed. * Resources/Images/leftCapRoundWithGlass.tiff: Removed. * Resources/Images/leftCapRoundWithGlassAndMenu.tiff: Removed. * Resources/Images/middleTextField.tiff: Removed. * Resources/Images/rightCapFlat.tiff: Removed. * Resources/Images/rightCapRound.tiff: Removed. * Resources/Images/spin_0.tiff: Removed. * Resources/Images/spin_1.tiff: Removed. * Resources/Images/spin_10.tiff: Removed. * Resources/Images/spin_11.tiff: Removed. * Resources/Images/spin_2.tiff: Removed. * Resources/Images/spin_3.tiff: Removed. * Resources/Images/spin_4.tiff: Removed. * Resources/Images/spin_5.tiff: Removed. * Resources/Images/spin_6.tiff: Removed. * Resources/Images/spin_7.tiff: Removed. * Resources/Images/spin_8.tiff: Removed. * Resources/Images/spin_9.tiff: Removed. * Resources/Images/stopSquare.tiff: Removed. * Resources/Images/web2_green.gif: Removed. * Resources/Images/web2_red_0.gif: Removed. * Resources/Images/web2_red_1.gif: Removed. * Resources/Images/web2_red_10.gif: Removed. * Resources/Images/web2_red_11.gif: Removed. * Resources/Images/web2_red_2.gif: Removed. * Resources/Images/web2_red_3.gif: Removed. * Resources/Images/web2_red_4.gif: Removed. * Resources/Images/web2_red_5.gif: Removed. * Resources/Images/web2_red_6.gif: Removed. * Resources/Images/web2_red_7.gif: Removed. * Resources/Images/web2_red_8.gif: Removed. * Resources/Images/web2_red_9.gif: Removed. * Resources/Images/web_go.tiff: Removed. * Resources/Images/web_green.gif: Removed. * Resources/Images/web_red_0.gif: Removed. * Resources/Images/web_red_1.gif: Removed. * Resources/Images/web_red_2.gif: Removed. * Resources/Images/web_red_3.gif: Removed. * Resources/Images/web_red_4.gif: Removed. * Resources/Images/web_red_5.gif: Removed. * Resources/Images/web_red_6.gif: Removed. * Resources/Images/web_red_7.gif: Removed. Out with the old unused images. * WebBrowser.pbproj/project.pbxproj: Updated for file changes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* History.subproj/WebBackForwardList.m: (-[WebBackForwardList addEntry:]): Replace the last entry instead of just ignoring if this one matches. * History.subproj/WebHistoryList.h: Add replaceEntryAtIndex. Remove addURL: and removeURL:. * History.subproj/WebHistoryList.m: (-[WebHistoryList addEntry:]): Call removeEntry: rather than using an entire pasted copy here. (-[WebHistoryList removeEntry:]): Use a hash of the URL and the URL rather than relying on the fact that WebHistoryItem hashes and does isEqual based on the URL only. (-[WebHistoryList replaceEntryAtIndex:withEntry:]): Added. Used by the code above. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* History.subproj/WebBackForwardList.m: (-[WebBackForwardList addEntry:]): If URL, target, and parent all match, then don't add an entry. * WebKit.pbproj/project.pbxproj: Let Project Builder be the boss; I guess this means Chris is still using the old version. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Sep, 2002 4 commits
-
-
cblu authored
- store absolute URLs in the db, not base URL/path combination URLs - support for multiple hosts with the same built-in icon * Misc.subproj/WebIconDatabase.m: (-[WebIconDatabase init]): renamed some dictionaries (-[WebIconDatabase iconForSiteURL:withSize:]): call _builtInIconsForHost (-[WebIconDatabase _updateFileDatabase]): check for nil (-[WebIconDatabase _hasIconForSiteURL:]): call _pathForBuiltInIconForHost (-[WebIconDatabase _pathForBuiltInIconForHost:]): new (-[WebIconDatabase _builtInIconsForHost:]): call _pathForBuiltInIconForHost * Misc.subproj/WebIconDatabasePrivate.h: * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _loadIcon]): use absolute URL git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cblu authored
Made the icon DB take a a path for built-in icons so that we only load them when necessary. * Misc.subproj/WebIconDatabase.m: (-[WebIconDatabase init]): (-[WebIconDatabase iconForSiteURL:withSize:]): (-[WebIconDatabase _hasIconForSiteURL:]): (-[WebIconDatabase _builtInIconsForHost:]): (-[WebIconDatabase _setBuiltInIconAtPath:forHost:]): * Misc.subproj/WebIconDatabasePrivate.h: * WebKit.pbproj/project.pbxproj: WebBrowser: Added the built-in site icons to the Alexander.app package. * AppController.m: (-[AppController _installBuiltInIcons]): * Resources/SiteIcons/Icons.plist: Added. * Resources/SiteIcons/amazon.tiff: Added. * Resources/SiteIcons/apple.tiff: Added. * Resources/SiteIcons/cnet.tiff: Added. * Resources/SiteIcons/cnn.tiff: Added. * Resources/SiteIcons/ebay.tiff: Added. * Resources/SiteIcons/espn.tiff: Added. * Resources/SiteIcons/msn.tiff: Added. * Resources/SiteIcons/nyt.tiff: Added. * Resources/SiteIcons/pbskids.tiff: Added. * Resources/SiteIcons/yahoo.tiff: Added. * WebBrowser.pbproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
* Plugins.subproj/WebPluginView.m: Add ifndef NDEBUG around variable used only in log statements. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
Removed the now-unnecessary iconURL from bookmarks and history. * Bookmarks.subproj/WebBookmark.h: * Bookmarks.subproj/WebBookmark.m: * Bookmarks.subproj/WebBookmarkGroup.h: * Bookmarks.subproj/WebBookmarkGroup.m: * Bookmarks.subproj/WebBookmarkLeaf.h: * Bookmarks.subproj/WebBookmarkLeaf.m: * History.subproj/WebHistory.h: * History.subproj/WebHistory.m: * History.subproj/WebHistoryItem.h: * History.subproj/WebHistoryItem.m: * History.subproj/WebHistoryPrivate.h: * History.subproj/WebHistoryPrivate.m: Removed iconURL instance variables, methods, and parameters. WebBrowser: Update users of bookmark or history APIs from WebKit that no longer take an iconURL. * BookmarksController.m: (-[BookmarksController _blessOrCreateFavoritesRoot]): * BookmarksViewController.m: (-[BookmarksViewController newItemWithTitle:URLString:type:positionIgnoresSelection:]): * LocationChangeHandler.m: (-[LocationChangeHandler receivedPageTitle:forDataSource:]): Removed iconURL parameters. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1961 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-