⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Jun 18, 2002:

10:50 PM Changeset in webkit [1400] by cblu
  • 8 edits in trunk/WebKit

WebKit:

Fix for 2961733 - Progress of plug-in files not shown in activity window
Plugin classed must call _IF_superviewWithName: not _IF_parentWebView

  • Plugins.subproj/IFNullPluginView.mm: (-[IFNullPluginView drawRect:]):
  • Plugins.subproj/IFPluginStream.mm: minor cleanup (-[IFPluginStream IFURLHandle:resourceDataDidBecomeAvailable:]): (-[IFPluginStream IFURLHandleResourceDidFinishLoading:data:]): (-[IFPluginStream IFURLHandleResourceDidCancelLoading:]): (-[IFPluginStream IFURLHandle:resourceDidFailLoadingWithResult:]): (-[IFPluginStream IFURLHandle:didRedirectToURL:]):
  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView start]): (-[IFPluginView layout]):

WebBrowser:

Renamed content policy API's to include the data source.

  • WebController.m: (-[WebController haveContentPolicy:andPath:forDataSource:]): (-[WebController receivedProgress:forResourceHandle:fromDataSource:]):
9:40 PM Changeset in webkit [1399] by cblu
  • 32 edits in trunk/WebKit

WebBrowser:

Only have "View Source", "Save As" and "Print" menu items enabled
if currently at a web page and that web page is not loading.

Renamed content policy API's to include the data source.

  • BrowserDocument.m: (-[BrowserDocument validateUserInterfaceItem:]):
  • LocationChangeHandler.m: (-[LocationChangeHandler requestContentPolicyForMIMEType:dataSource:]): (-[LocationChangeHandler unableToImplementContentPolicy:forDataSource:]):
  • WebBrowser.pbproj/project.pbxproj:

WebKit:

Enabled the viewing of plug-in content inline
(aka direct links to plugin media). Made IFPluginView a
IFDocumentView and IFPluginStream a IFDocumentRespresentation.

Renamed content policy API's to include the data source.

  • Plugins.subproj/IFPluginDatabase.h:
  • Plugins.subproj/IFPluginDatabase.m: (+[IFPluginDatabase installedPlugins]): registers plugins as IFDocument*
  • Plugins.subproj/IFPluginStream.h:
  • Plugins.subproj/IFPluginStream.mm: (-[IFPluginStream init]): added for IFDocumentRepresentation (-[IFPluginStream initWithURL:pluginPointer:notifyData:attributes:]): removed load initiliazatoin (-[IFPluginStream dealloc]): (-[IFPluginStream startLoad]): added (-[IFPluginStream stop]): (-[IFPluginStream receivedData:]): added as the base implementation (-[IFPluginStream receivedError]): added as the base implementation (-[IFPluginStream finishedLoadingWithData:]): added as the base implementation (-[IFPluginStream receivedData:withDataSource:]): added for IFDocumentRepresentation (-[IFPluginStream receivedError:withDataSource:]): added for IFDocumentRepresentation (-[IFPluginStream finishedLoadingWithDataSource:]): added for IFDocumentRepresentation (-[IFPluginStream IFURLHandleResourceDidBeginLoading:]): (-[IFPluginStream IFURLHandle:resourceDataDidBecomeAvailable:]): call receivedData (-[IFPluginStream IFURLHandleResourceDidFinishLoading:data:]): call finishedLoadingWithData (-[IFPluginStream IFURLHandleResourceDidCancelLoading:]): call receivedError (-[IFPluginStream IFURLHandle:resourceDidFailLoadingWithResult:]): call receivedError (-[IFPluginStream IFURLHandle:didRedirectToURL:]):
  • Plugins.subproj/IFPluginView.h:
  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:]): removed special-case code for NP_FULL mose (-[IFPluginView start]): (-[IFPluginView initWithFrame:]): added for IFDocumentView (-[IFPluginView provisionalDataSourceChanged:]): added for IFDocumentView (-[IFPluginView provisionalDataSourceCommitted:]): added for IFDocumentView (-[IFPluginView dataSourceUpdated:]): added for IFDocumentView (-[IFPluginView layout]): added for IFDocumentView (-[IFPluginView removeFromSuperview]): call stop (-[IFPluginView loadURL:inTarget:withNotifyData:andHandleAttributes:]): (-[IFPluginView pluginInstance]): added
  • WebCoreSupport.subproj/IFWebCoreViewFactory.m: (-[IFWebCoreViewFactory viewForPluginWithURL:serviceType:arguments:baseURL:]): call new init method (-[IFWebCoreViewFactory viewForJavaAppletWithArguments:]): call new init method
  • WebKit.pbproj/project.pbxproj:
  • WebView.subproj/IFLocationChangeHandler.h: content policy method name changes
  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): content policy method name changes
  • WebView.subproj/IFWebController.h:
  • WebView.subproj/IFWebController.mm: (-[IFWebController haveContentPolicy:andPath:forDataSource:]): content policy method name changes
  • WebView.subproj/IFWebDataSourcePrivate.h:
1:49 PM Changeset in webkit [1398] by kocienda
  • 14 edits in trunk

2002-06-18 Kenneth Kocienda <​kocienda@apple.com>

Fix for this bug:

Radar 2928483 (activity viewer does not show all the pieces of a web page when the page is cached)

  • WebCore/khtml/misc/loader.cpp: (DocLoader::requestImage): Added APPLE_CHANGES call to the KWQCheckCacheObjectStatus function

described below

(DocLoader::requestStyleSheet): ditto
(DocLoader::requestScript): ditto

  • WebCore/kwq/KWQKloader.mm: (KWQCheckCacheObjectStatus): New function that informs WebKit of the

fact that a URL was loaded from the WebCore/khtml cache.

  • WebCore/kwq/KWQLoaderImpl.h: Added prototype for KWQCheckCacheObjectStatus
  • WebCore/kwq/WebCoreBridge.h: Added KWQCheckCacheObjectStatus to WebCoreBridge protocol
  • WebKit/WebCoreSupport.subproj/IFWebCoreBridge.mm: (-[IFWebCoreBridge objectLoadedFromCache:size:]): New method that sends the appropriate progress indication.
9:28 AM Changeset in webkit [1397] by darin
  • 5 edits in trunk/WebCore
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPartImpl::~KWQKHTMLPartImpl): Remove an NSLog I left in by accident.

Jun 17, 2002:

7:35 PM Changeset in webkit [1396] by rjw
  • 20 edits in trunk

Fixed window.open regression.
Partial fix to targeting frame of new name.

  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPartImpl::urlSelected):

Partial fix to frame not found problem.

  • kwq/KWQKHTMLPartBrowserExtension.mm: (KHTMLPartBrowserExtension::createNewWindow):

Fix for window.open regression.

  • kwq/WebCoreBridge.h: Changed return type of openNewWindowWithURL:

Fixed window.open regression.
Partial fix to targeting frame of new name.

  • WebCoreSupport.subproj/IFWebCoreBridge.h:
  • WebCoreSupport.subproj/IFWebCoreBridge.mm: (-[IFWebCoreBridge openNewWindowWithURL:]):

Return the newly created bridge.

(-[IFWebCoreBridge receivedData:withDataSource:]):

Use setDataSource: method

(-[IFWebCoreBridge startLoadingResource:withURL:]):

No change.

(-[IFWebCoreBridge setDataSource:]):

New method.

  • WebView.subproj/IFHTMLView.mm: (-[IFHTMLView mouseMovedNotification:]):

Selection support.

(-[IFHTMLView mouseDragged:]):

Selection support.

  • WebView.subproj/IFWebController.mm: (-[IFWebController haveContentPolicy:andPath:forLocationChangeHandler:]): Only change representation if it hasn't been pre-bound, or if it's class changed.
  • WebView.subproj/IFWebFrame.mm: (-[IFWebFrame initWithName:webView:provisionalDataSource:controller:]):

More hackery to support window.open.

  • WebController.m: (-[WebController openNewWindowWithURL:]):

Cleanup.

4:49 PM Changeset in webkit [1395] by darin
  • 24 edits in trunk

Fixed many of the reasons that we were leaking the world. But we still leak
KHTMLPart objects, so there must be more problems.

  • WebCoreSupport.subproj/IFResourceURLHandleClient.m: (+[IFResourceURLHandleClient startLoadingResource:withURL:dataSource:]): Add missing autorelease. Without this, we leak the world. (-[IFResourceURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]): Weaken assert. It was firing before.
  • WebCoreSupport.subproj/IFWebCoreBridge.mm: (-[IFWebCoreBridge receivedData:withDataSource:]): Don't retain the dataSource any more. Without this, we leak the world.
  • WebView.subproj/IFWebControllerPrivate.mm: (-[IFWebControllerPrivate dealloc]): Release the policy handler too. Without this, we leak the world.
  • WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]): Release resourceData, representation, downloadPath, encoding, and contentType. Without this, we leak the world.
  • WebView.subproj/IFWebFrame.mm: (-[IFWebFrame initWithName:webView:provisionalDataSource:controller:]): Release the dummy data source after setting it up so it doesn't leak.
  • WebView.subproj/IFHTMLViewPrivate.mm: (-[IFHTMLViewPrivate dealloc]): Don't release the controller, we didn't retain it. (-[IFHTMLView _resetWidget]): Delete the provisional widget too.
  • WebView.subproj/IFWebDataSourcePrivate.h: Remove unused "children" array.
  • WebCoreSupport.subproj/IFImageRenderer.m: Fix comment.
  • WebView.subproj/IFHTMLView.mm: Fix comments.
4:48 PM Changeset in webkit [1394] by darin
  • 11 edits in trunk/WebCore

Fixed a storage leak.

  • kwq/WebCoreBridge.mm: (-[WebCoreBridge documentTextFromDOM]): Add a missing autorelease.

Remove a bunch of loader-related APPLE_CHANGES.

  • khtml/misc/loader.h: Remove KWQURLLoadClient and KWQLoaderImpl.
  • khtml/misc/loader.cpp: (Loader::Loader): Remove unneeded KWQLoaderImpl object. (Loader::~Loader): Remove unneeded KWQLoaderImpl object. (Loader::servePendingRequests): Call KWQServeRequest instead of KWQLoaderImpl::serveRequest. (Loader::slotFinished): Remove unneeded KWQLoaderImpl::objectFinished.
  • kwq/KWQLoaderImpl.h:
  • kwq/KWQKloader.mm: (KWQServeRequest): Replaces the KWQLoaderImpl class. The rest of what was in this class was obsolete.
3:45 PM Changeset in webkit [1393] by rjw
  • 4 edits in trunk/WebKit

Fixed call to renamed progress method.

  • Plugins.subproj/IFPluginStream.mm:
1:29 PM Changeset in webkit [1392] by cblu
  • 6 edits in trunk/WebKit

WebBrowser:

Implemented save as.

  • BrowserDocument.m: (-[BrowserDocument dataRepresentationOfType:]): return main data source's data

(-[BrowserDocument fileType]): added. Return [dataSource fileType]
(-[BrowserDocument _isDocumentHTML]): removed obsolete comments.

  • WebBrowser.pbproj/project.pbxproj:

WebKit:

  • WebView.subproj/IFWebDataSource.h:
  • WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource contentType]): no changes (-[IFWebDataSource fileType]): added. Returns extension based on MIME.
1:23 PM Changeset in webkit [1391] by rjw
  • 19 edits in trunk

Fixed www.2cpu.com regression. QWidget::_displayRect was displaying the wrong
view. This was a regression that would impact all DHTML.

  • khtml/khtmlview.cpp: (KHTMLView::timerEvent):
  • kwq/KWQScrollView.mm: (QScrollView::updateContents):
  • kwq/KWQWidget.mm: (QWidget::QWidget): (QWidget::endEditing):
  • kwq/qt/qwidget.h:

Added explicit complete check for resources, rather
than depend on bytesSoFar == totalToLoad.

  • WebCoreSupport.subproj/IFResourceURLHandleClient.m: (-[IFResourceURLHandleClient receivedProgressWithHandle:complete:]): (-[IFResourceURLHandleClient IFURLHandleResourceDidBeginLoading:]): (-[IFResourceURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): (-[IFResourceURLHandleClient IFURLHandleResourceDidCancelLoading:]): (-[IFResourceURLHandleClient IFURLHandleResourceDidFinishLoading:data:]):
  • WebView.subproj/IFWebControllerPrivate.h:
  • WebView.subproj/IFWebControllerPrivate.mm: (-[IFWebController _receivedProgress:forResourceHandle:fromDataSource:complete:]):
12:47 PM Changeset in webkit [1390] by cblu
  • 4 edits in trunk/WebKit

Fix for 2939881. No more overwritting of one's files.

  • Misc.subproj/IFDownloadHandler.mm: (-[IFDownloadHandler receivedData:]): (-[IFDownloadHandler finishedLoading]):
11:18 AM Changeset in webkit [1389] by rjw
  • 11 edits in trunk/WebKit

Fixed IFImageViews not drawing correctly.

Changed compeletion to explicity use IFURLHandleResourceDidFinishLoading, rather
than depend on bytesSoFar == totalToLoad.

  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]): (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]): (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
  • WebView.subproj/IFWebControllerPrivate.h:
  • WebView.subproj/IFWebControllerPrivate.mm: (-[IFWebController _mainReceivedProgress:forResourceHandle:fromDataSource:complete:]):
11:12 AM Changeset in webkit [1388] by darin
  • 4 edits in trunk/WebCore

Fixed bug where some images would get left behind when scrolling. Turned out it
was all the tiled images that were getting left behind.

  • kwq/KWQPainter.mm: (QPainter::drawTiledPixmap): Fixed to get the view for coordinates from [NSView focusView] the way drawPixmap does, rather than using data->widget->getView(), which gives the scroll view instead of the scrolled view.
Note: See TracTimeline for information about the timeline view.