2002-04-29 Richard Williamson Fix to 2915688. I wasn't checking if the main document error had an error, only the resource errors. * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]): 2002-04-29 Richard Williamson Restored file, line, and function to log messages. * Misc.subproj/WebKitDebug.m: (WebKitLog): 2002-04-25 Darin Adler * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate _loadHistoryGuts:]): Use NSDictionary instead of NSObject to avoid a cast. * WebView.subproj/IFLocationChangeHandler.h: Add NSObject as a required protocol so we can retain and release. * WebView.subproj/IFWebController.h: Add NSObject as a required protocol so we can retain and release. * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]): (-[IFWebDataSource _setLoading:]): (-[IFWebDataSource _setController:]): (-[IFWebDataSource _setLocationChangeHandler:]): * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebViewPrivate dealloc]): Removed NSObject * casts that were used to work around the problem fixed above. 2002-04-25 Chris Blumenberg * MIME.subproj/IFDownloadHandler.h: * MIME.subproj/IFDownloadHandler.mm: (+[IFDownloadHandler launchURL:]): Added the above method as a way to universally launch an URL within WebKit * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController URLPolicyForURL:]): We handle http, https and file URL's * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource initWithURL:]): (-[IFWebDataSource startLoading:]): The IFURLHandle is now lazilly allocated. * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setProvisionalDataSource:]): We only load a data source if the URL policy is IFURLPolicyUseContentPolicy 2002-04-25 Richard Williamson Fixed problem with errors potentially being reported on wrong data source by moving collected errors from frame to datasource. Little changes in preparation for events. * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]): (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]): (-[IFBaseWebController _receivedError:forResource:partialProgress:fromDataSource:]): (-[IFBaseWebController _mainReceivedError:forResource:partialProgress:fromDataSource:]): * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource errors]): (-[IFWebDataSource mainDocumentError]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]): (-[IFWebDataSource _startLoading:]): (-[IFWebDataSource _setMainDocumentError:]): (-[IFWebDataSource _clearErrors]): (-[IFWebDataSource _addError:forResource:]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame reload:]): (-[IFWebFrame reset]): * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]): (-[IFWebFrame _isLoadComplete]): (-[IFWebFrame _checkLoadComplete]): * WebView.subproj/IFWebView.mm: (-[IFWebView acceptsFirstResponder]): (-[IFWebView layout]): (-[IFWebView drawRect:]): 2002-04-25 Darin Adler Rework plugin code to prepare to move more of here from WebCore. * Plugins.subproj/IFPluginView.mm: (IFPluginViewCreate): New. Does all the work of creating an NSView for a plug-in, including stuff previously done in WebCore. (IFJavaAppletViewCreate): Same as above, for Java applets. (+[IFPluginView load]): Set up the function pointers using the new improved WebCore API. * Plugins.subproj/IFNullPluginView.mm: (-[IFNullPluginView load]): Remove this setup because now there's no separate call to set up a null plug-in. 2002-04-25 John Sullivan Fixed 2911915 (Exception in -[IFWebView mouseMoved]) * WebView.subproj/IFWebView.mm: (-[IFWebView mouseDown:]): Changed "mouseUp" to "mouseDown" in exception message. (-[IFWebView mouseMoved:]): Removed bogus event-type checking that caused this method to (always?) throw an exception when invoked. 2002-04-24 Chris Blumenberg Renamed [IFWebDataSource frame] to [IFWebDataSource webFrame] * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]): (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]): (-[IFBaseWebController _receivedError:forResource:partialProgress:fromDataSource:]): (-[IFBaseWebController _mainReceivedError:forResource:partialProgress:fromDataSource:]): * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource webFrame]): (-[IFWebDataSource frameName]): (-[IFWebDataSource isLoading]): * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]): (-[IFWebDataSource _setTitle:]): 2002-04-24 Richard Williamson Changed ordering of messages so activity viewer doesn't get -1 bytesSoFar for cancelled messages. * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]): (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]): === Alexander 0.3c2 (v1) === 2002-04-23 Chris Blumenberg * WebKit.pbproj/project.pbxproj: Took IFDownloadHandler.h out of the public headers. * WebView.subproj/IFLocationChangeHandler.h: Removed deprecated methods. * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setProvisionalDataSource:]): Don't call locationChangeStarted anymore. 2002-04-23 Chris Blumenberg * MIME.subproj/IFDownloadHandler.h: * MIME.subproj/IFDownloadHandler.m: Removed. * MIME.subproj/IFDownloadHandler.mm: Added. (-[IFDownloadHandler initWithDataSource:]): (-[IFDownloadHandler dealloc]): * MIME.subproj/IFDownloadHandlerPrivate.h: Removed. * MIME.subproj/IFDownloadHandlerPrivate.m: Removed. Made IFDownloadHandler a private class that retains the data source and saves the data to disk. * WebKit.pbproj/project.pbxproj: Removed IFDownloadHandlerPrivate * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]): Only send locationChangeCommitted if its shown inline. * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]): Save data with IFDownloadHandler (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): If its a download, set the provisionalDataSource on the frame to nil. * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource webFrame]): (-[IFWebDataSource pageTitle]): (-[IFWebDataSource contentPolicy]): Added some accessor methods. Spelling fix pageTitle. 2002-04-23 Kenneth Kocienda Reviewed by: Darin Adler Fix for Radar 2908403 (Fix names in WebFoundation extensions code) Extensions code in WebFoundation now is in its own namespace. Where we have added categories to existing Foundation and AppKit classes, the categories begin with the IF prefix. All method names begin with the _IF_ prefix. This file here was changed to use the new names. * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate findIndex:forDay:]): (-[IFWebHistoryPrivate arrayRepresentation]): (-[IFWebHistoryPrivate _loadHistoryGuts:]): 2002-04-22 Chris Blumenberg * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): Send an IFError when we're asked to show content we can't handle. * WebView.subproj/IFWebDataSourcePrivate.mm: Cleaning 2002-04-22 Chris Blumenberg * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController haveContentPolicy:andPath:forLocationChangeHandler:]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: Fixed frames which I broke in the previous commit. We now set the content policy on all child frames instead of just the main frame. 2002-04-22 Chris Blumenberg * MIME.subproj/IFMIMEHandler.h: * MIME.subproj/IFMIMEHandler.m: (+[IFMIMEHandler showableMIMETypes]): (+[IFMIMEHandler saveFileWithPath:andData:]): (+[IFMIMEHandler saveAndOpenFileWithPath:andData:]): Added the above factory methods. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController haveContentPolicy:andPath:forLocationChangeHandler:]): Save the content policy and download path on the datasource. * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]): (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]): (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]): Made IFMainURLHandleClient use our new content policy API rather than IFDownloadHandler. * WebView.subproj/IFWebController.h: Removed some deprecated methods. * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _downloadPath]): (-[IFWebDataSource _setDownloadPath:]): (-[IFWebDataSource _contentPolicy]): (-[IFWebDataSource _setContentPolicy:]): Added the above methods. 2002-04-22 Darin Adler * Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): Fix the fix. It was bumping argsCount even when not putting an argument into the array. 2002-04-21 Maciej Stachowiak Fix a plugins memory trasher that was making Alexander crash on the abcnews.com test page in cvs-torture-test: * Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): Use a new maxArguments variable to size the argument and value arrays - with the old code argsCount would end up twice the size it should be, and the arguments would all get written past the end of the argument array. 2002-04-19 Kenneth Kocienda Changes to support submission of forms using HTTP POST. These changes move us over to using the new WebKit interface for creating WebDataSource instances, one that passes a handle rather than just a URL, enabling the specific request method to be communicated to WebFoundation. This fixes: Radar 2903602 (IFWebDataSource API must passes attributes and flags to IFURLHandle) * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (IFWebDataSourceMake), (-[IFWebDataSource initWithURL:]), (-[IFWebDataSource initWithHandle:]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]): 2002-04-19 Richard Williamson Updated comments to reflect new API. * WebView.subproj/IFLocationChangeHandler.h: 2002-04-19 Darin Adler * Plugins.subproj/IFPluginView.h: Re-add the attributes and values arrays, since they need to live the life of the plugin. * Plugins.subproj/IFPluginView.mm: (newCString): New function to make a C++ new-allocated C string from an NSString. (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): Move code to allocate the arrays back here. (-[IFPluginView dealloc]): Deallocate the arrays and their contents. (-[IFPluginView start]): Simplify now that it does no work. 2002-04-18 Chris Blumenberg Made stop and start to work better. Fixed a bug darin made. * Plugins.subproj/IFPluginView.h: * Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView setWindow]), (-[IFPluginView start]), (-[IFPluginView stop]): 2002-04-18 Richard Williamson Fixed typo. * WebView.subproj/IFBaseLocationChangeHandler.m: (-[IFBaseLocationChangeHandler requestContentPolicyForMIMEType:]): * WebView.subproj/IFLocationChangeHandler.h: 2002-04-18 Richard Williamson New API stubs for content policy. * WebView.subproj/IFBaseLocationChangeHandler.h: Added. * WebView.subproj/IFBaseLocationChangeHandler.m: Added. (+[IFBaseLocationChangeHandler setGlobalContentPolicy:forMIMEType:]), (+[IFBaseLocationChangeHandler globaContentPolicyForContentType:]), (+[IFBaseLocationChangeHandler globalContentPolicies]), (+[IFBaseLocationChangeHandler suggestedFileanemForURL:andContentType:]), (+[IFBaseLocationChangeHandler suggestedDirectoryForURL:andContentType:]), (+[IFBaseLocationChangeHandler extensionForURL:]), (-[IFBaseLocationChangeHandler extension]), (-[IFBaseLocationChangeHandler locationWillChangeTo:]), (-[IFBaseLocationChangeHandler locationChangeStarted]), (-[IFBaseLocationChangeHandler locationChangeCommitted]), (-[IFBaseLocationChangeHandler locationChangeDone:]), (-[IFBaseLocationChangeHandler receivedPageTitle:forDataSource:]), (-[IFBaseLocationChangeHandler serverRedirectTo:forDataSource:]), (-[IFBaseLocationChangeHandler downloadingWithHandler:]), (-[IFBaseLocationChangeHandler requestContentPolicyForContentMIMEType:]), (-[IFBaseLocationChangeHandler unableToImplementContentPolicy:]): * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController receivedError:forDownloadHandler:partialProgress:]), (-[IFBaseWebController provideLocationChangeHandlerForFrame:andURL:]), (-[IFBaseWebController URLPolicyForURL:]), (-[IFBaseWebController unableToImplementURLPolicyForURL:error:]), (-[IFBaseWebController haveContentPolicy:andPath:forLocationChangeHandler:]): * WebView.subproj/IFLocationChangeHandler.h: * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _setState:]): 2002-04-18 Darin Adler * WebKit.pbproj/project.pbxproj: Oops. Take out -Wstrict-prototypes, put back -Wmissing-prototypes. 2002-04-18 Darin Adler * WebKit.pbproj/project.pbxproj: Take out -Wmissing-prototypes because system headers are triggering it when we don't have precompiled headers on. 2002-04-18 Darin Adler Fixes for compiling with gcc3 and more warnings. * WebKit.pbproj/project.pbxproj: Turn on gcc3 and the same set of warnings as in the rest of Labyrinth (see top level ChangeLog for details). * Plugins.subproj/IFPluginView.mm: Avoid warnings about malloc by not using it. (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): Keep the arguments dictionary around instead of keeping the C format version of it around. Also don't bother keeping the C string form of the MIME type around, and simplify some other stuff in here. (-[IFPluginView dealloc]): Corresponding changes since we keep a different set of things. (-[IFPluginView newStream:mimeType:notifyData:]): Use [mimeType cString]. (-[IFPluginView start]): Build the lists of attributes and values in here. Do it using [NSString cString] for simplicity and don't keep the lists around after we're done with them. (-[IFPluginView IFURLHandleResourceDidFinishLoading:data:]): Use [filenameClassic cString]. * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]), (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]), (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]): * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _setLoading:]), (-[IFWebDataSource _setController:]), (-[IFWebDataSource _setLocationChangeHandler:]): * WebView.subproj/IFWebView.mm: (-[IFWebView provisionalDataSourceChanged:]), (-[IFWebView mouseUp:]), (-[IFWebView mouseDown:]): Add type casts required by pickier gcc3. * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebViewPrivate dealloc]): Add type cast required by pickier gcc3. (-[IFWebView _stopPlugins]): Use local variable to work around Radar 2905835. 2002-04-18 Chris Blumenberg Moved plugin instance creation to the start method in IFPluginView. * Plugins.subproj/IFPluginView.h: * Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView dealloc]), (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView start]), (-[IFPluginView stop]), (-[IFPluginView drawRect:]), (-[IFPluginView windowBecameKey:]), (-[IFPluginView windowResignedKey:]), (-[IFPluginView IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView IFURLHandleResourceDidFinishLoading:data:]): 2002-04-17 Darin Adler * WebKit.pbproj/project.pbxproj: Update header search paths to find WebCore in the new location and eliminate WebCore/include. 2002-04-17 Chris Blumenberg Added a debug bit mask for plugins and downloads. * MIME.subproj/IFDownloadHandlerPrivate.m: (-[IFDownloadHandlerPrivate _openFile]), (-[IFDownloadHandlerPrivate _saveFile]), (-[IFDownloadHandler _initWithURLHandle:mimeHandler:]): * Misc.subproj/WebKitDebug.h: * Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView setWindow]), (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView stop]), (-[IFPluginView sendUpdateEvent]), (-[IFPluginView becomeFirstResponder]), (-[IFPluginView resignFirstResponder]), (-[IFPluginView mouseDown:]), (-[IFPluginView mouseUp:]), (-[IFPluginView mouseEntered:]), (-[IFPluginView mouseExited:]), (-[IFPluginView keyUp:]), (-[IFPluginView keyDown:]), (-[IFPluginView IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView IFURLHandleResourceDidFinishLoading:data:]), (-[IFPluginView getURLNotify:target:notifyData:]), (-[IFPluginView getURL:target:]), (-[IFPluginView postURLNotify:target:len:buf:file:notifyData:]), (-[IFPluginView postURL:target:len:buf:file:]), (-[IFPluginView newStream:target:stream:]), (-[IFPluginView write:len:buffer:]), (-[IFPluginView destroyStream:reason:]), (-[IFPluginView status:]), (-[IFPluginView getValue:value:]), (-[IFPluginView setValue:value:]), (-[IFPluginView invalidateRect:]), (-[IFPluginView invalidateRegion:]), (-[IFPluginView forceRedraw]): * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): 2002-04-17 Darin Adler * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Changed another Georgia that I missed to Times New Roman. 2002-04-16 Darin Adler * WebView.subproj/IFWebDataSource.mm: * WebView.subproj/IFWebDataSourcePrivate.mm: Touch these files to try to make Jersey build again. 2002-04-16 Darin Adler * WebView.subproj/IFBaseWebControllerPrivate.mm: Include khtml_part.h instead of KWQKHTMLPart.h. * WebView.subproj/IFWebFrame.mm: Include khtml_part.h instead of KWQKHTMLPart.h. * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource documentTextFromDOM]): Remove an unneeded cast and an extra retain/autorelease. 2002-04-16 Darin Adler * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.mm: * WebView.subproj/IFWebFramePrivate.h: Change view/setView back to be id, rather than IFWebView. In the future, the view may be some other kind of object. 2002-04-16 John Sullivan Fixed bug Chris noticed where Alexander wasn't putting up an error sheet on failed page visits. * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]): Don't set provisionalDataSource to nil until after sending it locationChangeDone. 2002-04-16 Darin Adler * WebView.subproj/IFBaseWebController.mm: Remove special release handling because data sources now retain the controller as long as they are loading. * WebView.subproj/IFWebDataSource.mm: Remove special release handling because data sources now retain themselves as long as they are loading. * WebView.subproj/IFWebFrame.mm: Remove special release handling, because data sources now retain the controller as long as they are loading, and the controller retains the frame. * WebView.subproj/IFWebDataSourcePrivate.h: Add a "loading" boolean. * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setLoading:]): Change the "loading" state, retaining or releasing this object and the controller as necessary. (-[IFWebDataSource _updateLoading]): Update the loading state; called when some part of loading is done to see if it's all done. (-[IFWebDataSource _setController:]): Retain the new controller and release the old controller when loading. (-[IFWebDataSource _setPrimaryLoadComplete:]): Call _updateLoading. (-[IFWebDataSource _startLoading:]): Call _setLoading:YES. (-[IFWebDataSource _addURLHandle:]): Call _setLoading:YES. (-[IFWebDataSource _removeURLHandle:]): Call _updateLoading. * WebView.subproj/IFWebFrame.h: Use the real type, IFWebView, for setView and view. * WebView.subproj/IFWebFramePrivate.h: Formatting tweak. * WebKit.pbproj/project.pbxproj: Version wars. 2002-04-16 John Sullivan * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _setController:]): removed a mistaken retain/release pair here for Darin. 2002-04-16 Darin Adler Change default font to "Times New Roman 11" rather than "Georgia 12" to be more like Macintosh Internet Explorer. * WebView.subproj/IFPreferences.mm: A little simplifying of private pointers. * MIME.subproj/IFDownloadHandler.h: * MIME.subproj/IFDownloadHandler.m: 2002-04-16 Darin Adler A little simplifying of private pointers. * MIME.subproj/IFDownloadHandler.m: * MIME.subproj/IFDownloadHandlerPrivate.m: * WebView.subproj/IFBaseWebController.mm: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: * WebView.subproj/IFWebDataSourcePrivate.mm: * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.mm: * WebView.subproj/IFWebFramePrivate.mm: * WebView.subproj/IFWebView.h: * WebView.subproj/IFWebView.mm: * WebView.subproj/IFWebViewPrivate.h: * WebView.subproj/IFWebViewPrivate.mm: 2002-04-16 Darin Adler Change headers so they don't include so much. Also change IF_LOAD_TYPE to IFLoadType. * History.subproj/IFBackForwardList.h: * History.subproj/IFBackForwardList.m: * History.subproj/IFURIEntry.h: * History.subproj/IFURIList.h: * History.subproj/IFURIList.m: * History.subproj/IFWebHistory.h: * History.subproj/IFWebHistoryPrivate.h: * History.subproj/IFWebHistoryPrivate.m: * MIME.subproj/IFContentHandler.h: * MIME.subproj/IFDownloadHandler.h: * MIME.subproj/IFDownloadHandlerPrivate.h: * MIME.subproj/IFDownloadHandlerPrivate.m: * MIME.subproj/IFMIMEDatabase.h: * MIME.subproj/IFMIMEDatabase.m: * Misc.subproj/IFException.h: * Plugins.subproj/IFNullPluginView.mm: * Plugins.subproj/IFPluginView.h: * Plugins.subproj/IFPluginView.mm: * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebController.h: * WebView.subproj/IFBaseWebController.mm: * WebView.subproj/IFBaseWebControllerPrivate.h: * WebView.subproj/IFBaseWebControllerPrivate.mm: * WebView.subproj/IFLoadProgress.h: * WebView.subproj/IFLoadProgress.mm: * WebView.subproj/IFLocationChangeHandler.h: * WebView.subproj/IFMainURLHandleClient.h: * WebView.subproj/IFMainURLHandleClient.mm: * WebView.subproj/IFPreferences.h: * WebView.subproj/IFPreferencesPrivate.h: * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.mm: * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: * WebView.subproj/IFWebView.h: * WebView.subproj/IFWebView.mm: * WebView.subproj/IFWebViewPrivate.h: * WebView.subproj/IFWebViewPrivate.mm: 2002-04-16 Kenneth Kocienda Moved IFError class from WebKit to WebFoundation. Updated includes due to this change. Updated URL handle client interface to pass an IFError in an error callback rather than a plain int. The URL client was modified due to this change. * Misc.subproj/IFError.h: Removed. * Misc.subproj/IFError.m: Removed. * Plugins.subproj/IFPluginView.mm: * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebControllerPrivate.mm: * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]): * WebView.subproj/IFWebFramePrivate.mm: 2002-04-15 Darin Adler * WebView.subproj/IFPreferences.h: * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Remove the old WebKitFontSizes preference. (-[IFPreferences mediumFontSize]), (-[IFPreferences setMediumFontSize:]): New. * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]): Call updateStyleSelector() instead of recalcStyle(). 2002-04-15 Darin Adler Merged changes from previous merge branch. 2002-03-25 Darin Adler * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Add WebKitMediumFontSizePreferenceKey. 2002-04-15 John Sullivan * Plugins.subproj/IFNullPluginView.mm: (-[IFNullPluginView drawRect:]): Moved a line of code to prevent pluginNotFound message from being sent twice. 2002-04-15 Richard Williamson Changes to IFLocationChangeHandler. Experimental allocator code, not to be used, not thread safe.! * Misc.subproj/WebKitDebug.h: * Misc.subproj/WebKitDebug.m: (if_check_zone), (_debugAllocate), (_debugAllocatorInitialize), (printDebugMallocCounters), (if_cf_retain), (if_cf_release), (if_cf_alloc), (if_cf_realloc), (if_cf_dealloc), (if_cf_preferredSize), (setupDebugMalloc), (clearDebugMalloc), (resetDebugMallocCounters), (public_mALLOc), (public_fREe), (public_rEALLOc), (public_mEMALIGn), (public_vALLOc), (public_pVALLOc), (public_cALLOc), (public_iCALLOc), (public_iCOMALLOc), (public_cFREe), (public_mTRIm), (public_mUSABLe), (public_mSTATs), (public_mALLINFo), (public_mALLOPt), (do_check_malloc_state), (mALLINFo), (mSTATs), (if_size), (if_valloc), (if_malloc), (if_realloc), (if_calloc), (if_free): * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebController.h: * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController provideLocationChangeHandlerForFrame:]): * WebView.subproj/IFLocationChangeHandler.h: Added. * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]): * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource load]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _startLoading:]), (-[IFWebDataSource _setTitle:]), (-[IFWebDataSource _locationChangeHandler]), (-[IFWebDataSource _setLocationChangeHandler:]): * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setProvisionalDataSource:]): * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _transitionProvisionalToCommitted]), (-[IFWebFrame _isLoadComplete]): 2002-04-15 Chris Blumenberg * MIME.subproj/IFContentHandler.m: (-[IFContentHandler HTMLDocument]): Made sure I didn't unnecessarily allocate html document strings * MIME.subproj/IFDownloadHandler.h: * MIME.subproj/IFDownloadHandler.m: (-[IFDownloadHandler suggestedFilename]), (-[IFDownloadHandler openAfterDownload:]): Added the mentioned API's * MIME.subproj/IFDownloadHandlerPrivate.h: * MIME.subproj/IFDownloadHandlerPrivate.m: (-[IFDownloadHandlerPrivate init]), (-[IFDownloadHandlerPrivate dealloc]), (-[IFDownloadHandlerPrivate _suggestedFilename]), (-[IFDownloadHandlerPrivate _cancelDownload]), (-[IFDownloadHandlerPrivate _storeAtPath:]), (-[IFDownloadHandlerPrivate _finishedDownload]), (-[IFDownloadHandlerPrivate _openAfterDownload:]), (-[IFDownloadHandlerPrivate _openFile]), (-[IFDownloadHandlerPrivate _saveFile]), (-[IFDownloadHandler _initWithURLHandle:mimeHandler:]): Cleaned up and added a lot error checking code to IFDownloadHandlerPrivate * Plugins.subproj/IFNullPluginView.mm: (-[IFNullPluginView initWithFrame:mimeType:arguments:]), (-[IFNullPluginView drawRect:]): Made sure I didn't unnecessarily allocate images * Resources/plugin_document_template.html: Plugins now have 100% of the window 2002-04-12 Chris Blumenberg Fixed build failure. Forgot to make IFDownloadHandler.h a public header. * WebKit.pbproj/project.pbxproj: 2002-04-12 Chris Blumenberg First implementation of IFDownloadHandler and IFDownloadHandlerPrivate. 2002-04-11 Chris Blumenberg Added support for non-html content. Non-html content is embedded in a contrived HTML document. * English.lproj/IFError.strings: * MIME.subproj/IFContentHandler.h: Added. * MIME.subproj/IFContentHandler.m: Added. (-[IFContentHandler initWithMIMEHandler:URL:]), (-[IFContentHandler HTMLDocument]), (-[IFContentHandler dealloc]): * MIME.subproj/IFMIMEDatabase.h: * MIME.subproj/IFMIMEDatabase.m: (-[IFMIMEDatabase MIMEHandlerForMIMEType:]), (setMimeHandlers): * MIME.subproj/IFMIMEHandler.h: * MIME.subproj/IFMIMEHandler.m: (-[IFMIMEHandler initWithMIMEType:handlerType:handlerName:]), (-[IFMIMEHandler description]): * Misc.subproj/IFError.h: * Misc.subproj/IFError.m: (+[IFError initialize]): * Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView dealloc]), (-[IFPluginView stop]): * Resources/plugin_document_template.html: Added. * Resources/text_document_template.html: Added. * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFMainURLHandleClient.h: * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient initWithDataSource:part:]), (-[IFMainURLHandleClient dealloc]), (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]), (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): 2002-04-10 Chris Blumenberg Cleaned up stream deallocations. * Plugins.subproj/IFPluginStream.h: * Plugins.subproj/IFPluginStream.m: (-[IFPluginStream initWithURL:mimeType:notifyData:]), (-[IFPluginStream incrementOffset:]), (-[IFPluginStream dealloc]): * Plugins.subproj/IFPluginView.mm: (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView IFURLHandleResourceDidCancelLoading:]), (-[IFPluginView IFURLHandle:resourceDidFailLoadingWithResult:]): 2002-04-10 John Sullivan Fixed 2891396 -- window fills with garbage if you resize or hide/show toolbar before loading first page * WebView.subproj/IFWebView.mm: (-[IFWebView drawRect:]): Made webview fill rect with white if there's no widget. 2002-04-09 Chris Blumenberg * Plugins.subproj/IFPluginView.h: * Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView setWindow]), (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView start]), (-[IFPluginView stop]), (-[IFPluginView dealloc]), (-[IFPluginView findSuperview:]), (-[IFPluginView sendUpdateEvent]), (-[IFPluginView drawRect:]), (-[IFPluginView isFlipped]), (-[IFPluginView viewHasMoved:]), (-[IFPluginView windowBecameKey:]), (-[IFPluginView windowResignedKey:]), (-[IFPluginView windowWillClose:]), (-[IFPluginView IFURLHandleResourceDidBeginLoading:]), (-[IFPluginView IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView IFURLHandleResourceDidFinishLoading:data:]), (-[IFPluginView IFURLHandleResourceDidCancelLoading:]), (-[IFPluginView IFURLHandle:resourceDidFailLoadingWithResult:]), (-[IFPluginView IFURLHandle:didRedirectToURL:]), (-[IFPluginView forceRedraw]), (IFPluginMake), (+[IFPluginView load]): * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFLoadProgress.h: Cleaned up the IFPluginView code. Moved a lot of things around. Added support for plug-in file download progress. 2002-04-08 Chris Blumenberg * Plugins.subproj/IFPluginView.h: * Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView drawRect:]), (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView getURLNotify:target:notifyData:]): Support new stream requests from plug-ins that are relative URL's. 2002-04-08 Darin Adler * WebKit.pbproj/project.pbxproj: Re-added -Wno-format-y2k. 2002-04-08 Richard Williamson Added logs for Shelley to note start and completion of document load. -WebKitLogLevel 0x1000. Also, as a bonus, note time to load. * Misc.subproj/WebKitDebug.h: * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame startLoading]): * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _setState:]): 2002-04-08 Chris Blumenberg * Plugins.subproj/IFNullPluginView.h: * Plugins.subproj/IFNullPluginView.mm: (-[IFNullPluginView initWithFrame:mimeType:arguments:]), (-[IFNullPluginView drawRect:]): * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController pluginNotFoundForMIMEType:pluginPageURL:]): * WebView.subproj/IFWebController.h: Added pluginNotFoundForMIMEType: pluginPageURL: to WebKit. This gets called by IFNullPluginView when a plug-in for a certain mime type is requested but not installed. 2002-04-08 Richard Williamson Added frameForView: Cleaned up out-of-date comments. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController _frameForView:fromFrame:]), (-[IFBaseWebController frameForView:]): * WebView.subproj/IFWebController.h: 2002-04-05 Chris Blumenberg * Plugins.subproj/IFNullPluginView.mm: (+[IFNullPluginView load]): Enabled the below. 2002-04-05 Chris Blumenberg * Plugins.subproj/IFNullPluginView.h: Added. * Plugins.subproj/IFNullPluginView.mm: Added. (-[IFNullPluginView initWithFrame:mimeType:arguments:]), (-[IFNullPluginView findSuperview:]), (-[IFNullPluginView drawRect:]): * Resources/nullplugin.tiff: Added. * WebKit.pbproj/project.pbxproj: An IFNullPluginView is now created when no plug-in for a requested mime type is found. IFNullPluginView displays a null plug-in icon and will eventually report this error to the WebController. 2002-04-05 Richard Williamson Back out some changes to lazily dealloc frame. * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame release]): 2002-04-05 Richard Williamson New method on controller to find a frame of a particular name anywhere in the frame hierarchy. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController initWithView:provisionalDataSource:]), (-[IFBaseWebController _frameNamed:fromFrame:]), (-[IFBaseWebController frameNamed:]): * WebView.subproj/IFWebController.h: 2002-04-05 Darin Adler * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]): Use contentLengthReceived rather than getting the length of availableResourceData to determine how much data has arrived. 2002-04-05 Richard Williamson Implemented the same lazily deallocation scheme on frame as in controller and data source. * WebView.subproj/IFWebFrame.mm: (-[_IFFrameHolder initWithObject:]), (-[_IFFrameHolder _checkReadyToDealloc:]), (-[IFWebFrame release]): 2002-04-04 Richard Williamson Clear controller references from data source and view, as well as frame. * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate _clearControllerReferences:]): 2002-04-04 Richard Williamson Lazily dealloc controller and data source ONLY after all loads have completed. * WebView.subproj/IFBaseWebController.mm: (-[_IFControllerHolder initWithController:]), (-[_IFControllerHolder _checkReadyToDealloc:]), (-[IFBaseWebController dealloc]), (-[IFBaseWebController release]): * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate _clearControllerReferences:]), (-[IFBaseWebControllerPrivate dealloc]): * WebView.subproj/IFWebDataSource.mm: (-[_IFDataSourceHolder initWithDataSource:]), (-[_IFDataSourceHolder _checkReadyToDealloc:]), (-[IFWebDataSource release]): 2002-04-04 Kenneth Kocienda Hack to handle displaying image URLs. The trick is to sense when the main URL is an image type and wrap the URL in a small generated HTML document and hand that off to the engine to display. Works like a charm! :) There may be some longer-term issues, but for now, this lets us do something we could not before. It also lets us handle some iframes that contain only image URLs. * Resources/image_document_template.html: Added. * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFMainURLHandleClient.h: * WebView.subproj/IFMainURLHandleClient.mm: (loadImageDocumentTemplate), (-[IFMainURLHandleClient initWithDataSource:part:]), (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): 2002-04-04 Chris Blumenberg * English.lproj/IFError.strings: * Misc.subproj/IFError.h: * Misc.subproj/IFError.m: (+[IFError initialize]): * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): Added the IFNonHTMLContentNotSupportedError to IFError. 2002-04-04 Richard Williamson Tuned and re-enabled resource layouts. * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _scheduleLayout:]), (-[IFWebFrame _timedLayout:]): 2002-04-04 Darin Adler * WebKit.pbproj/project.pbxproj: Add an Unoptimized build style: exactly like Development except without the -O. 2002-04-03 Richard Williamson Changed name of finalURL to redirectedURL. Disabled layout after resource load. It appears to really slow us down. * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource redirectedURL]), (-[IFWebDataSource wasRedirected]): * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]): 2002-04-03 Richard Williamson Added support for finalURL and wasRedirected to datasource. Added additional layouts on resource loads. Added more implementations of frame related methods in data source. * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]): * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]), (-[IFPreferences _resourceTimedLayoutDelay]), (-[IFPreferences _resourceTimedLayoutEnabled]): * WebView.subproj/IFPreferencesPrivate.h: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource frameNames]), (-[IFWebDataSource findDataSourceForFrameNamed:]), (-[IFWebDataSource frameExists:]), (-[IFWebDataSource finalURL]), (-[IFWebDataSource wasRedirected]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _setTitle:]), (-[IFWebDataSource _setFinalURL:]): * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _scheduleLayout:]), (-[IFWebFrame _transitionProvisionalToLayoutAcceptable]), (-[IFWebFrame _isLoadComplete]): 2002-04-03 Kenneth Kocienda Updated debugging log messages to use new varargs macros. * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate removeEntryForURLString:]), (-[IFWebHistoryPrivate _loadHistoryGuts:]), (-[IFWebHistoryPrivate loadHistory]), (-[IFWebHistoryPrivate _saveHistoryGuts:]), (-[IFWebHistoryPrivate saveHistory]): * Misc.subproj/WebKitDebug.h: * Misc.subproj/WebKitDebug.m: (timestamp), (WebKitLog): * Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView setWindow]), (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView IFURLHandleResourceDidFinishLoading:data:]), (-[IFPluginView becomeFirstResponder]), (-[IFPluginView resignFirstResponder]), (-[IFPluginView sendUpdateEvent]), (-[IFPluginView mouseDown:]), (-[IFPluginView mouseUp:]), (-[IFPluginView mouseEntered:]), (-[IFPluginView mouseExited:]), (-[IFPluginView keyUp:]), (-[IFPluginView keyDown:]), (-[IFPluginView getURLNotify:target:notifyData:]), (-[IFPluginView getURL:target:]), (-[IFPluginView status:]), (-[IFPluginView stop]): * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]): * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandleResourceDidBeginLoading:]), (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]), (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]), (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]), (-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]): * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource isLoading]): * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _stopLoading]): * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _transitionProvisionalToLayoutAcceptable]), (-[IFWebFrame _timedLayout:]), (-[IFWebFrame _setState:]), (-[IFWebFrame _isLoadComplete]): * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]), (-[IFWebView layout]), (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]), (-[IFWebView setNeedsToApplyStyles:]), (-[IFWebView drawRect:]): 2002-04-02 Darin Adler * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setTitle:]): Update title if the page is already in the committed state. 2002-04-02 Darin Adler * WebKit.pbproj/project.pbxproj: Fix flags as I did in WebFoundation. * Misc.subproj/WebKitDebug.h: Turn off logging when xNDEBUG is defined. Remove unused stuff. Add checking for printf parameters. * Misc.subproj/WebKitDebug.m: Remove unused variants. * Plugins.subproj/IFPluginView.mm: Change to use WebKit logging, not WebCore logging. * WebView.subproj/IFMainURLHandleClient.mm: * WebView.subproj/IFWebView.mm: Fix types in log statements caught by the compiler. 2002-04-02 Chris Blumenberg * Plugins.subproj/IFPluginView.mm: (-[IFPluginView IFURLHandleResourceDidCancelLoading:]), (-[IFPluginView IFURLHandle:resourceDidFailLoadingWithResult:]), (-[IFPluginView IFURLHandle:didRedirectToURL:]): Added support for the above callbacks. * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): Return an error if non-html is requested. 2002-04-02 Richard Williamson More relaxed about invalid states. * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _transitionProvisionalToLayoutAcceptable]): 2002-04-02 Darin Adler * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setTitle:]): Fix a leak I introduced here by copying the string in a better way. 2002-04-01 Richard Williamson Cleaned up lots of potentially stale references to controller. * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate dealloc]): * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient initWithDataSource:part:]), (-[IFMainURLHandleClient dealloc]): * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _setPrimaryLoadComplete:]), (-[IFWebDataSource _setTitle:]): * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]), (-[IFWebFramePrivate setDataSource:]), (-[IFWebFramePrivate setProvisionalDataSource:]), (-[IFWebFrame _setController:]), (-[IFWebFrame _transitionProvisionalToCommitted]), (-[IFWebFrame _timedLayout:]), (-[IFWebFrame _setState:]): 2002-04-01 Richard Williamson Logging changes. Changes to support correct i/frame behavior. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController createFrameNamed:for:inParent:inScrollView:]): * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _timedLayout:]): * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebViewPrivate dealloc]), (-[IFWebView _setupScrollers]): 2002-04-01 John Sullivan Added method for updating url, title, and/or displayTitle on existing entry. * History.subproj/IFWebHistory.h: * History.subproj/IFWebHistory.m: (-[IFWebHistory updateURL:title:displayTitle:forURL:]): Calls through to IFWebHistoryPrivate. * History.subproj/IFWebHistoryPrivate.h: * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate _entryForURLString:]): Broke this out from containsURL. (-[IFWebHistoryPrivate containsURL:]): Call broken-out method. (-[IFWebHistoryPrivate updateURL:title:displayTitle:forURL:]): Find existing entry (if any), change its attributes. 2002-04-01 Darin Adler * Misc.subproj/IFError.h: Add the failing URL to IFError. * Misc.subproj/IFError.m: (-[IFError initWithErrorCode:]): Call through with nil for the URL. (-[IFError initWithErrorCode:failingURL:]): Retain the passed URL. (-[IFError dealloc]): Autorelease the URL. (-[IFError failingURL]): Return the URL. (-[IFError description]): Include the URL in the description. * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]): Put the URL into the IFError. * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]): Put the URL into the IFError. 2002-04-01 Richard Williamson Added more logging to show time of layouts. * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _transitionProvisionalToLayoutAcceptable]), (-[IFWebFrame _timedLayout:]), (-[IFWebFrame _isLoadComplete]): * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]), (-[IFWebView layout]): 2002-04-01 Darin Adler Added operations for JavaScript objects. Not sure if this was the best place for them, but it should be OK for now. * Misc.subproj/IFCache.h: * Misc.subproj/IFCache.mm: (+[IFCache setDisabled:]), (+[IFCache javaScriptObjectsCount]), (+[IFCache garbageCollectJavaScriptObjects]): * WebKit.pbproj/project.pbxproj: 2002-03-30 Richard Williamson Corrected comments describing the new 'acceptable to layout' state transition. * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]): 2002-03-30 Darin Adler * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController receivedPageTitle:forDataSource:]): Remove the exception from here. This is really a "do nothing, subclasses override me" method. * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource pageTitle]): Implement. * WebView.subproj/IFWebDataSourcePrivate.h: Add pageTitle and [IFWebDataSource _setTitle]. * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]): autorelease pageTitle. (-[IFWebDataSource _setTitle:]): Update the title, trimming whitespace and using nil, rather than empty string, to mean no title at all. Call [receivedPageTitle: forDataSource:] as necessary too. * WebView.subproj/IFMainURLHandleClient.mm: Did a gratuitious whitespace edit to force this file to recompile so everyone doesn't have to "make clean". 2002-03-30 Richard Williamson Added support for scrolling to anchor points. * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]): 2002-03-30 Maciej Stachowiak * WebKit.pbproj/project.pbxproj: Link against JavaScriptCore.framework instead of the defunct libJavaScriptCore.dylib. 2002-03-29 Richard Williamson Fixes for cancelling. Still need to think about a better solution than putting data sources in stopped mode. * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController _receivedError:forResource:partialProgress:fromDataSource:]), (-[IFBaseWebController _mainReceivedError:forResource:partialProgress:fromDataSource:]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]), (-[IFWebDataSource _isStopping]), (-[IFWebDataSource _stopLoading]): * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setProvisionalDataSource:]): 2002-03-29 Richard Williamson Hooked up redirect. Now we see many more ads. :( Fixed cancel of main handle for document. Moved stop before start from frame to data source. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController locationChangeDone:forFrame:]), (-[IFBaseWebController serverRedirectTo:forDataSource:]): * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]), (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]), (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]), (-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _startLoading:]), (-[IFWebDataSource _stopLoading]): * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame startLoading]): 2002-03-29 Richard Williamson Added stopLoading to startLoading to cancel any pending loads before new loads start. This doesn't work yet because of loader bugs, but will once those are fixed. Adding logging for redirects. * Misc.subproj/WebKitDebug.h: * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]): * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame startLoading]): 2002-03-29 Darin Adler * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]): Deref the renderFramePart, and autorelease the provisionalDataSource. (-[IFWebFramePrivate setRenderFramePart:]): Ref renderFramePart while we hold it. 2002-03-28 Richard Williamson Increased size default for initial layout. * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): 2002-03-28 Richard Williamson Fixed big leak of any document that had a frame or iframe. * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource retain]): * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _setParent:]): 2002-03-28 Richard Williamson Modified the initial layout policy. * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]): * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]), (-[IFPreferences _initialTimedLayoutDelay]), (-[IFPreferences _initialTimedLayoutSize]): * WebView.subproj/IFPreferencesPrivate.h: * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _transitionProvisionalToLayoutAcceptable]), (-[IFWebFrame _transitionProvisionalToCommitted]), (-[IFWebFrame _initialLayout:]), (-[IFWebFrame _isLoadComplete]): 2002-03-28 Darin Adler New private interface for getting at the cache. * Misc.subproj/IFCache.h: New. * Misc.subproj/IFCache.mm: New. * WebKit.pbproj/project.pbxproj: Added IFCache files. 2002-03-28 Darin Adler * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController locationChangeDone:forFrame:]): Remove log of errors loading now that we have the activity viewer. 2002-03-28 Richard Williamson Modified the initial layout policy. We now try to layout as close as possible to WebKitInitialTimedLayoutDelay seconds after the load was started, not after the provisional-to-committed transition. If the time to the provisional-to-committed transition exceeds WebKitInitialTimedLayoutDelay we layout immediately. * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]), (-[IFWebDataSource _recursiveStopLoading]), (-[IFWebDataSource _loadingStartedTime]): * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _transitionProvisionalToCommitted]), (-[IFWebFrame _initialLayout:]): 2002-03-28 John Sullivan * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate _loadHistoryGuts:]): Made this more robust about bad data from the disk file. I don't know how bad data could get into the disk file in normal use, but it seems to have happened to Richard. 2002-03-27 Richard Williamson Added initial-layout-after-delay-if-not-layed-out-yet feature. * Misc.subproj/WebKitDebug.h: * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]): * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]), (-[IFPreferences setPluginsEnabled:]), (-[IFPreferences _initialTimedLayoutDelay]), (-[IFPreferences _initialTimedLayoutEnabled]): * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _transitionProvisionalToCommitted]), (-[IFWebFrame _initialLayout:]), (-[IFWebFrame _state]): 2002-03-27 Kenneth Kocienda Changed loadProgress->bytesSoFar to use [sender contentLengthReceived] instead of the size of the chunk that was delivered in the callback. This makes the activity window data more correct than it was. * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): 2002-03-27 Chris Blumenberg Now setting the modifier bit for the activate and cursor events. * Plugins.subproj/IFPluginView.h: * Plugins.subproj/IFPluginView.mm: (-[IFPluginView drawRect:]), (-[IFPluginView windowBecameKey:]), (-[IFPluginView windowResignedKey:]), (-[IFPluginView mouseEntered:]), (-[IFPluginView mouseExited:]): 2002-03-27 Darin Adler * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Switch back to serif font, since using Luicida Grande was exposing some font bugs. 2002-03-26 Maciej Stachowiak * WebKit.pbproj/project.pbxproj: Fixed to build with standalone libJavaScriptCore.dylib. 2002-03-26 Kenneth Kocienda Changes to help the transition to the new build system which unifies our development build setting with the settings we use to ship releases. * Makefile.am: * WebKit.pbproj/kocienda.pbxuser: * WebKit.pbproj/project.pbxproj: 2002-03-26 Richard Williamson Try to ensure that display needed bits are correctly set. * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]): 2002-03-26 Darin Adler * Misc.subproj/IFError.m: (+[IFError initialize]): Fix a typo where we said "unvailable". * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Change the default sans-serif font to "Lucida Grande" to match the OS X system font, and also make that the defalt standard font. 2002-03-26 John Sullivan * WebKit.pbproj/project.pbxproj: Marked IFProgress.h Public. 2002-03-25 John Sullivan Broke IFLoadProgress out into its own file, and added an init method and getters, without which this class is useless in Objective-C files (but strangely usable in Objective-C++ files, see radar 2887253). * WebView.subproj/IFWebController.h: * WebView.subproj/IFBaseWebController.mm: Took IFLoadProgress declaration and implementation out of here. * WebView.subproj/IFLoadProgress.h, * WebView.subproj/IFLoadProgress.mm: Moved IFLoadProgress declaration and implementation to here; added -[IFLoadProgress initWithBytesSoFar:totalToLoad:type:] and getters for each field. * WebKit.pbproj/project.pbxproj: Updated for new files 2002-03-25 Richard Williamson Tweaks to force layout of frames and iframes. * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]): 2002-03-25 Maciej Stachowiak * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]): Just create an IFURLHandle, since it now creates the proper concrete subclass automagically. 2002-03-25 Chris Blumenberg * MIME.subproj/IFMIMEDatabase.m: (+[IFMIMEDatabase sharedMIMEDatabase]), (-[IFMIMEDatabase MIMEHandlerForMIMEType:]), (setMimeHandlers): * MIME.subproj/IFMIMEHandler.h: * MIME.subproj/IFMIMEHandler.m: (-[IFMIMEHandler initWithMIMEType:handlerType:handlerName:]), (-[IFMIMEHandler MIMEType]), (-[IFMIMEHandler MIMESupertype]), (-[IFMIMEHandler MIMESubtype]), (-[IFMIMEHandler handlerName]), (-[IFMIMEHandler handlerType]), (-[IFMIMEHandler description]): Initial implementations of the above. 2002-03-25 Richard Williamson Added private API to allow browser to access the DOM tree. * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView DOM::]), (+[IFWebView _nodeName:DOM::]), (+[IFWebView _nodeValue:DOM::]), (+[IFWebView _nodeHTML:DOM::]): 2002-03-25 Richard Williamson Added private API to allow browser to access the render tree. * WebView.subproj/IFWebViewPrivate.mm: 2002-03-24 Richard Williamson Changed data source to create IFURLHandle of the appropriate class. The prevented us from getting the response headers correctly. * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]): 2002-03-24 Richard Williamson Removed erroneous comments. * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged:]), (-[IFWebView reapplyStyles]): 2002-03-22 Chris Blumenberg * MIME.subproj/IFMIMEDatabase.h: Added a list of mime type that WebKit will be capable of handling 2002-03-22 Chris Blumenberg * WebKit.pbproj/project.pbxproj: Added the MIME clases to WebKit. 2002-03-22 John Sullivan * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]): Removed stale FIXME. 2002-03-22 Richard Williamson Fixed reapplyStyles to use new KDE3 recalcStyle function. * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]) 2002-03-21 John Sullivan * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]): Commented out call to applyChanges that no longer exists. This was breaking the build. Live font changes are temporarily broken again. 2002-03-21 Richard Williamson Added setNeedsToApplyStyles: and reapplyStyles. This is for dynamic preferences refresh support. * WebView.subproj/IFWebView.h: * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]), (-[IFWebView layout]), (-[IFWebView setNeedsToApplyStyles:]), (-[IFWebView drawRect:]): * WebView.subproj/IFWebViewPrivate.h: 2002-03-21 John Sullivan Cleaned up defaults registration and use. The class IFPreferences now registers the defaults at load time, early enough that Alexander doesn't have to register them separately as it had been. Also, all the defaults currently in use now have accessor cover methods, which Alexander will use exclusively. * WebView.subproj/IFPreferences.mm: New file, registers defaults and implements cover methods. * WebView.subproj/IFPreferences.h: This file existed but wasn't being used (contents #ifdeffed out). Now it declares the cover methods, but still has an #ifdeffed section for possible future stuff. * WebKit.pbproj/project.pbxproj: Updated for new file. * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]): removed defaults-registration from here. 2002-03-20 Maciej Stachowiak Merged the following changes from LABYRINTH_KDE_3_MERGE branch: 2002-03-20 Maciej Stachowiak Merged accumlated changes from HEAD, up to MERGED_TO_KDE_3_MERGE_BRANCH tag. 2002-03-19 Maciej Stachowiak * WebView.subproj/IFWebView.mm: (-[IFWebView layout]): layout() no longer takes an argument. 2002-03-20 John Sullivan Added displayTitle field to IFURIEntry. This is intended to hold the string used in menu items, window titles, etc. Alexander uses this to cache the center-truncated title for pages with very long titles. * History.subproj/IFURIEntry.h: * History.subproj/IFURIEntry.m: (-[IFURIEntry setDisplayTitle:]), (-[IFURIEntry dictionaryRepresentation]), (-[IFURIEntry initFromDictionaryRepresentation:]): 2002-03-19 Richard Williamson Fixed IFWebView leak. * WebView.subproj/IFWebView.mm: (-[IFWebView provisionalDataSourceChanged:]): 2002-03-18 John Sullivan Imposed age limit on history items saved to/loaded from disk. Sped up history loading by reversing list before processing entries. * History.subproj/IFWebHistoryPrivate.m: (+[IFWebHistoryPrivate initialize]): Register default for age limit. (-[IFWebHistoryPrivate _ageLimitDate]): New convenience method, returns a date older than any history entry that should be stored/loaded. (-[IFWebHistoryPrivate arrayRepresentation]): skip too-old dates. (-[IFWebHistoryPrivate _loadHistoryGuts:]), (-[IFWebHistoryPrivate _saveHistoryGuts:]): Broke into separate methods to make timing wrapper less messy. Respect age limit. Report number of items saved/loaded in timing message. (-[IFWebHistoryPrivate loadHistory]), (-[IFWebHistoryPrivate saveHistory]): use broken-out _guts methods. * WebKit.pbproj/project.pbxproj: version wars 2002-03-16 Richard Williamson Fixed scroll bar flash. Add provisional view to go along with provisional widget. * WebView.subproj/IFWebView.mm: (-[IFWebView provisionalDataSourceChanged:]), (-[IFWebView dataSourceChanged:]): 2002-03-16 Richard Williamson Fixed error handling. Fixed most frame loading problems. Cleaned up frame state machine. Moved IFMainURLHandleClient from WebCore. * Misc.subproj/IFError.m: (-[IFError description]): * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController receivedError:forResource:partialProgress:fromDataSource:]), (-[IFBaseWebController locationChangeDone:forFrame:]): * WebView.subproj/IFBaseWebControllerPrivate.h: * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController _receivedError:forResource:partialProgress:fromDataSource:]), (-[IFBaseWebController _mainReceivedError:forResource:partialProgress:fromDataSource:]): * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource startLoading:]), (-[IFWebDataSource isLoading]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate init]), (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _setPrimaryLoadComplete:]), (-[IFWebDataSource _startLoading:]), (-[IFWebDataSource _stopLoading]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setProvisionalDataSource:]), (-[IFWebFrame startLoading]), (-[IFWebFrame reload:]), (-[IFWebFrame errors]), (-[IFWebFrame mainDocumentError]): * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]), (-[IFWebFrame _transitionProvisionalToCommitted]), (-[IFWebFrame _setState:]), (-[IFWebFrame _addError:forResource:]), (-[IFWebFrame _isLoadComplete]), (+[IFWebFrame _recursiveCheckCompleteFromFrame:]), (-[IFWebFrame _checkLoadCompleteResource:error:isMainDocument:]), (-[IFWebFrame _setMainDocumentError:]), (-[IFWebFrame _clearErrors]): * WebView.subproj/IFWebView.mm: * WebView.subproj/IFMainURLHandleClient.h: added * WebView.subproj/IFMainURLHandleClient.mm: added 2002-03-15 John Sullivan Impose default-based limit (1000 by default) on number of history items saved/loaded. Also instrumented timing for saving/loading history. * History.subproj/IFWebHistoryPrivate.m: (+[IFWebHistoryPrivate initialize]): register default for WebKitHistoryItemLimit. (-[IFWebHistoryPrivate arrayRepresentation]): respect limit (-[IFWebHistoryPrivate loadHistory]): respect limit, time the load. (-[IFWebHistoryPrivate saveHistory]): time the save. * WebKit.pbproj/project.pbxproj: version wars 2002-03-15 John Sullivan Fixed bug where history entry images weren't showing up, except by historical accident in some cases. Made IFWebHistory no longer be a singleton class; made the file location be passed in at init time. * History.subproj/IFURIEntry.m: (-[IFURIEntry image]): Get the default image a way that works with frameworks; only get the default image once. * History.subproj/IFWebHistory.h: * History.subproj/IFWebHistory.m: (+[IFWebHistory webHistoryWithFile:]): New convenience constructor that returns a new IFWebHistory object with a particular disk file. (-[IFWebHistory initWithFile:]): New init method for specifying a disk file. (-[IFWebHistory file]): New accessor for file path. (-[IFWebHistory loadHistory]), (-[IFWebHistory saveHistory]): Use file accessor. Also removed the methods that were computing a file path to use. * History.subproj/IFWebHistoryPrivate.h: * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate initWithFile:]), (-[IFWebHistoryPrivate dealloc]), (-[IFWebHistoryPrivate file]), (-[IFWebHistoryPrivate loadHistory]), (-[IFWebHistoryPrivate saveHistory]): Guts of implementation for file-manipulation stuff. * Resources/url_icon.tiff: ran tiffUtil to premultiply the alpha channel. This was spewing error messages that I didn't notice before because they only happen on Puma and I was on Jaguar. * WebKit.pbproj/project.pbxproj: not sure what change I made, maybe version wars. 2002-03-14 John Sullivan Made history store its data in ~/Library/Application Support//History.plist * History.subproj/IFWebHistoryPrivate.m: (GetRefPath), (FindFolderPath): Functions copied from NSSavePanel.m for using FindFolder in a POSIX sort of way. Ken plans to put some version of this in IFNSFileManagerExtensions eventually, which I'll switch to later. (-[IFWebHistoryPrivate historyFilePath]): Construct the path using FindFolderPath and the file name. (-[IFWebHistoryPrivate loadHistory]), (-[IFWebHistoryPrivate saveHistory]): failure case debug messages are now more specific. 2002-03-13 Richard Williamson Added support to stop plugins in removeFromSuperview. * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _checkLoadComplete:]): * WebView.subproj/IFWebView.mm: (-[IFWebView dealloc]), (-[IFWebView removeFromSuperview]), (-[IFWebView removeFromSuperviewWithoutNeedingDisplay]): 2002-03-13 Richard Williamson Fixed open window w/ no open windows crasher. * ChangeLog: * WebView.subproj/IFBaseWebController.mm: (-[IFObjectHolder dealloc]): * WebView.subproj/IFWebView.mm: (-[IFWebView dealloc]), (-[IFWebView layout]): 2002-03-13 Richard Williamson * ChangeLog: * WebView.subproj/IFBaseWebController.mm: (-[IFObjectHolder dealloc]): * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView dealloc]), (-[IFWebView provisionalDataSourceChanged:]), (-[IFWebView dataSourceChanged:]), (-[IFWebView layout]), (-[IFWebView isOpaque]), (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]), (-[IFWebView drawRect:]), (-[IFWebView setFrame:]), (-[IFWebView windowResized:]), (-[IFWebView mouseDragged:]): 2002-03-12 Richard Williamson * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView provisionalDataSourceChanged:]), (-[IFWebView dataSourceChanged:]), (-[IFWebView layout]), (-[IFWebView isOpaque]), (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]), (-[IFWebView drawRect:]), (-[IFWebView setFrame:]), (-[IFWebView windowResized:]), (-[IFWebView mouseDragged:]): 2002-03-12 John Sullivan Added support for persistent history. Following in the grand footsteps of Ken, it currently stores data in /tmp/alexander.history * Resources/url_icon.tiff: default IFURIEntry image, moved here from WebBrowser. * WebKit.pbproj/project.pbxproj: Updated to add image file. * History.subproj/IFURIEntry.m: (-[IFURIEntry image]): If there's no explicit image, return the default one. (-[IFURIEntry dictionaryRepresentation]): return a representation suitable for saving to an xml file. (-[IFURIEntry initFromDictionaryRepresentation:]): init given the representation returned from dictionaryRepresentation. * History.subproj/IFWebHistory.h: * History.subproj/IFWebHistory.m: (-[IFWebHistory saveHistory]): Added saveHistory call. * History.subproj/IFWebHistoryPrivate.h: added saveHistory call. * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate arrayRepresentation]): return a representation suitable for saving to an xml file. (-[IFWebHistoryPrivate historyFilePath]): return location of history on disk. (-[IFWebHistoryPrivate loadHistory]): read history from disk. (-[IFWebHistoryPrivate saveHistory]): write history to disk. (-[IFWebHistoryPrivate init]): call loadHistory (-[IFWebHistoryPrivate removeEntryForURLString:]): changed NSLog to WEBKITDEBUG 2002-03-11 Richard Williamson Fixed call back ordering problems when an error occurs. More twiddling with scroll bars. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController createFrameNamed:for:inParent:]): * WebView.subproj/IFDynamicScrollBarsView.h: * WebView.subproj/IFDynamicScrollBarsView.m: (-[IFDynamicScrollBarsView reflectScrolledClipView:]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame startLoading]), (-[IFWebFrame reload:]), (-[IFWebFrame reset]), (-[IFWebFrame lastError]): * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]), (-[IFWebFrame _checkLoadComplete:]), (-[IFWebFrame _setLastError:]): 2002-03-08 Richard Williamson Fixed scroll bar recursion problems. Took a long time to find a stupid typo bug in [IFBaseWebController _frameForDataSource:fromFrame:] that overwrote an input parameter that should been a local variable. This caused a crash the second time a page that contained an iframe was loaded. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController createFrameNamed:for:inParent:]), (-[IFBaseWebController _frameForDataSource:fromFrame:]): * WebView.subproj/IFDynamicScrollBarsView.m: (-[IFDynamicScrollBarsView reflectScrolledClipView:]): * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _checkLoadComplete:]): * WebView.subproj/IFWebView.mm: (-[IFWebView layout]): * WebView.subproj/IFWebViewPrivate.h: * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _setFrameScrollView:]), (-[IFWebView _frameScrollView]), (-[IFWebView _setupScrollers]): 2002-03-07 John Sullivan * Misc.subproj/IFError.m: (-[IFError errorDescription]): Removed a line of debugging spam. Oops! 2002-03-07 Richard Williamson Fixed occasional scroll bar problem in iframes. Fixed occasional problem removing scroll bar on main page. * WebView.subproj/IFDynamicScrollBarsView.m: (-[IFDynamicScrollBarsView reflectScrolledClipView:]): * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _checkLoadComplete:]): * WebView.subproj/IFWebView.mm: (-[IFWebView drawRect:]): 2002-03-07 John Sullivan First pass at adding error strings to IFError. They are properly localized, but they don't include any parameters, and the strings haven't been made user-friendly. * Misc.subproj/IFError.m: (+[IFError initialize]): New method, set up a dictionary mapping error code to localized error string. (-[IFError errorDescription]): Read string from dictionary. * English.lproj/IFError.strings: New file, auto-generated by the genstrings tool. * WebKit.pbproj/project.pbxproj: Removed stray -F /symroots. This shouldn't have been in there since symroots location is no longer hardwired. 2002-03-07 John Sullivan Defined more symbolic debug-level constants; specified ranges for use by different software levels (core/kit/client==browser) to enable easier isolation of debug messages. * Misc.subproj/WebKitDebug.h: #defined new debug levels for existing uses; renamed a couple. * Misc.subproj/WebKitDebug.m: (WebKitLog), (WebKitDebug): Updated for renamed debug levels. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]): * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _stopLoading]): * WebView.subproj/IFWebView.mm: (-[IFWebView layout]), (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]), (-[IFWebView drawRect:]), (-[IFWebView mouseDragged:]): * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _resetView]): Changed numeric debug levels to symbolic ones. * WebKit.pbproj/project.pbxproj: Jaguar/Puma version war. 2002-03-06 Richard Williamson Lots of little changes to improve drawing, and dynamic scroll bar layout. We now have NO flash between pages, however, I still need to add a transition timeout. As currently implemented the page will not transition until the document is read. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController locationChangeDone:forFrame:]): * WebView.subproj/IFDynamicScrollBarsView.m: (-[IFDynamicScrollBarsView reflectScrolledClipView:]): * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _transitionProvisionalToCommitted]), (-[IFWebFrame _checkLoadComplete:]): * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView dataSourceChanged:]), (-[IFWebView layout]), (-[IFWebView isOpaque]), (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]), (-[IFWebView drawRect:]), (-[IFWebView setFrame:]): * WebView.subproj/IFWebViewPrivate.h: * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _stopPlugins]), (-[IFWebView _removeSubviews]): 2002-03-06 John Sullivan * Misc.subproj/IFError.h: Removed stray but evil import. 2002-03-06 Maciej Stachowiak * WebKit.pbproj/project.pbxproj: Turn on -Werror. 2002-03-05 Richard Williamson Streamlined layout and drawing. We now do the minimum amount of drawing and layout. * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _checkLoadComplete:]): * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView layout]), (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]), (-[IFWebView drawRect:]), (-[IFWebView setFrame:]), (-[IFWebView windowResized:]): 2002-03-05 John Sullivan * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]): Tweak default font sizes so they match what algorithm used in Alexander returns. 2002-03-05 Richard Williamson Pass errors correctly to browser. Removed old notification code. Added support for IFError. Lots of little cleanups. Improved IFWebFrame state handling. * Misc.subproj/IFError.h: * Misc.subproj/IFError.m: (IFErrorMake), (+[IFError load]), (-[IFError initWithErrorCode:]), (-[IFError errorCode]), (-[IFError errorDescription]): * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController receivedError:forResource:partialProgress:fromDataSource:]): * WebView.subproj/IFBaseWebControllerPrivate.h: * WebView.subproj/IFBaseWebControllerPrivate.mm: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource isLoading]): * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:initiatedByUserEvent:]): * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame initWithName:view:provisionalDataSource:controller:]), (-[IFWebFrame setProvisionalDataSource:]): * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _transitionProvisionalToCommitted]), (-[IFWebFrame _state]), (-[IFWebFrame _setState:]), (-[IFWebFrame _checkLoadComplete:]): 2002-03-05 John Sullivan * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]): Changed default font sizes to match scheme used in Alexander. There are some serious wackinesses with KDE engine font size handling; if and when we address those we might revisit these default sizes. 2002-03-05 Maciej Stachowiak Removed references to IFAuthenticationHandler, since that protocol now lives in WebFoundation and it's no longer quite appropriate to include as part of a controller. * WebView.subproj/IFBaseWebController.mm: * WebView.subproj/IFWebController.h: 2002-03-04 Richard Williamson Changes to support 'provisional' data sources. API changes to IFBaseWebController, removed redundant methods. * Misc.subproj/WebKitDebug.h: * Plugins.subproj/IFPluginView.mm: (-[IFPluginView getURLNotify:target:notifyData:]): * WebView.subproj/IFBaseWebController.h: * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController init]), (-[IFBaseWebController initWithView:provisionalDataSource:]), (-[IFBaseWebController createFrameNamed:for:inParent:]), (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController receivedError:forResource:partialProgress:fromDataSource:]), (-[IFBaseWebController locationChangeCommittedForFrame:]), (-[IFBaseWebController _frameForDataSource:fromFrame:]), (-[IFBaseWebController mainFrame]): * WebView.subproj/IFBaseWebControllerPrivate.h: * WebView.subproj/IFBaseWebControllerPrivate.mm: * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.mm: (IFWebDataSourceMake), (+[IFWebDataSource load]): * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:initiatedByUserEvent:]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame init]), (-[IFWebFrame initWithName:view:provisionalDataSource:controller:]), (-[IFWebFrame setProvisionalDataSource:]), (-[IFWebFrame startLoading]), (-[IFWebFrame stopLoading]), (-[IFWebFrame reload:]): * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _setDataSource:]), (-[IFWebFrame _transitionProvisionalToCommitted]): * WebView.subproj/IFWebView.h: * WebView.subproj/IFWebView.mm: (-[IFWebView provisionalDataSourceChanged:]), (-[IFWebView dataSourceChanged:]): * WebView.subproj/IFWebViewPrivate.h: * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _provisionalWidget]): 2002-03-04 John Sullivan Changed default fonts. * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]): Changed default fonts to ones that actually exist (this was listing "Times-Roman" where it meant either "Times" or "Times New Roman"). I'm about to check in working font preferences, so it won't matter too much if you don't like the defaults (although we should of course make sure that the defaults are sensible, which I think they are). 2002-03-04 John Sullivan * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]): Reverted default fonts to what they were before I accidentally checked in some debugging changes. 2002-03-01 Richard Williamson Fixed a potentially large leak in frames. View associated w/ frame was not being released. Added scaffolding for correct frame by frame load complete check. Moved private IFWebBaseController method implementations to IFWebBaseControllerPrivate.mm. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController createFrameNamed:for:inParent:]), (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController receivedError:forResource:partialProgress:fromDataSource:]): * WebView.subproj/IFBaseWebControllerPrivate.h: * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate dealloc]), (-[IFBaseWebController _changeLocationTo:forFrame:parent:]), (-[IFBaseWebController _changeFrame:dataSource:]), (-[IFBaseWebController _checkLoadCompleteForDataSource:]): * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate init]): * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged:]): 2002-02-27 Kenneth Kocienda I have changed the way that WebCore is glued to WebFoundation and WebKit. If you used or relied upon any code in the following files, you should now use the IF* equivalents straight up. - Labyrinth/WebCore/include/WCBackForwardList.h - Labyrinth/WebCore/include/WCURICache.h - Labyrinth/WebCore/include/WCURICacheData.h - Labyrinth/WebCore/include/WCURIEntry.h - Labyrinth/WebCore/include/WCURIEntry.h All changes in this commit are related to making dependant code work with the new convention. * History.subproj/IFURIEntry.h: * History.subproj/IFURIEntry.m: * Plugins.subproj/IFPluginView.mm: (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView IFURLHandleResourceDidFinishLoading:data:]), (-[IFPluginView IFURLHandleResourceDidBeginLoading:]), (-[IFPluginView IFURLHandleResourceDidCancelLoading:]), (-[IFPluginView IFURLHandle:resourceDidFailLoadingWithResult:]): * WebKit.pbproj/kocienda.pbxuser: * WebKit.pbproj/project.pbxproj: 2002-02-26 John Sullivan * History.subproj/IFURIEntry.m: (-[IFURIEntry dealloc]): Added missing dealloc method that 'leaks' found. * History.subproj/IFURIList.m: (-[IFURIList dealloc]): Added missing [super dealloc] call that 'leaks' found. 2002-02-22 Maciej Stachowiak Fix prebinding: * WebKit.pbproj/project.pbxproj: Set first segment address 0x4000000 to avoid colliding with apps or our other frameworks. Set up some hacks to avoid link-time dependency on WebKit. Prebinding is incompatible with - undefined suppress, so we can't have WebCore depend on symbols provided by WebKit any more: * Plugins.subproj/IFPluginView.mm: (IFPluginMake), (+[IFPluginView load]), (startupVolumeName): * WebView.subproj/IFBaseWebController.mm: (IFLoadProgressMake), (+[IFLoadProgress load]): 2002-02-22 John Sullivan Updated for modified NSCalendarDate extensions API. * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate findIndex:forDay:]): use compareDate: instead of daysSinceDate:, which no longer exists. 2002-02-22 Richard Williamson Added data: to IFURLHandleResourceDidFinishLoading: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource isLoading]): 2002-02-22 Richard Williamson Implemented missing getter for provisionalDataSource. * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame provisionalDataSource]): * WebView.subproj/IFWebFramePrivate.h: 2002-02-22 Richard Williamson Normalized code paths for setMainDataSource on controller and setDataSource on frame. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController setMainView:andMainDataSource:]), (-[IFBaseWebController createFrameNamed:for:inParent:]), (-[IFBaseWebController _changeFrame:dataSource:]): * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setController:]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame init]), (-[IFWebFrame initWithName:view:dataSource:controller:]), (-[IFWebFrame setView:]), (-[IFWebFrame controller]), (-[IFWebFrame setController:]), (-[IFWebFrame setDataSource:]), (-[IFWebFrame reset]): * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate setController:]), (-[IFWebFrame _setRenderFramePart:]), (-[IFWebFrame _renderFramePart]), (-[IFWebFrame _setDataSource:]): 2002-02-21 Richard Williamson Stop mostly working. * WebView.subproj/IFBaseWebController.h: * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController _frameForDataSource:fromFrame:]), (-[IFBaseWebController frameForDataSource:]): * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource frame]), (-[IFWebDataSource frameName]), (-[IFWebDataSource stopLoading]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _addURLHandle:]), (-[IFWebDataSource _removeURLHandle:]), (-[IFWebDataSource _stopLoading]), (-[IFWebDataSource _recursiveStopLoadingfromDataSource:]): * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setDataSource:]): 2002-02-20 Richard Williamson Some groundwork to bring WebFoundation callbacks up to WebKit. * WebView.subproj/IFBaseWebController.mm: (-[IFLoadProgress init]), (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController receivedError:forResource:partialProgress:fromDataSource:]), (-[IFBaseWebController _changeFrame:dataSource:]): * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource stopLoading]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFramePrivate.h: * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate setProvisionalDataSource:]): 2002-02-20 Maciej Stachowiak * WebView.subproj/IFWebController.h: Fix my WebController screw-up. 2002-02-19 John Sullivan Finished first cut at IFWebHistory implementation. All methods are implemented except the string-matching ones. * History.subproj/IFURIEntry.h: * History.subproj/IFURIEntry.m: (-[IFURIEntry initWithURL:title:image:comment:]), (-[IFURIEntry lastVisitedDate]), (-[IFURIEntry setModificationDate:]), (-[IFURIEntry setLastVisitedDate:]): Changed all NSDates to be NSCalendarDates. * History.subproj/IFWebHistory.h: * History.subproj/IFWebHistory.m: (-[IFWebHistory init]), (-[IFWebHistory dealloc]), (-[IFWebHistory sendEntriesChangedNotification]), (-[IFWebHistory addEntry:]), (-[IFWebHistory removeEntry:]), (-[IFWebHistory removeEntriesForDay:]), (-[IFWebHistory removeAllEntries]), (-[IFWebHistory orderedLastVisitedDays]), (-[IFWebHistory orderedEntriesLastVisitedOnDay:]), (-[IFWebHistory entriesWithAddressContainingString:]), (-[IFWebHistory entriesWithTitleOrAddressContainingString:]), (-[IFWebHistory containsURL:]): Implemented all IFWebHistory methods by calling through to IFWebHistoryPrivate object. Send a change notification each time the actual data changes. Removed all canned-data mechanisms. * History.subproj/IFWebHistoryPrivate.h: * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate init]), (-[IFWebHistoryPrivate dealloc]), (-[IFWebHistoryPrivate findIndex:forDay:]), (-[IFWebHistoryPrivate insertEntry:atDateIndex:]), (-[IFWebHistoryPrivate removeEntryForURLString:]), (-[IFWebHistoryPrivate addEntry:]), (-[IFWebHistoryPrivate removeEntry:]), (-[IFWebHistoryPrivate removeEntriesForDay:]), (-[IFWebHistoryPrivate removeAllEntries]), (-[IFWebHistoryPrivate orderedLastVisitedDays]), (-[IFWebHistoryPrivate orderedEntriesLastVisitedOnDay:]), (-[IFWebHistoryPrivate entriesWithAddressContainingString:]), (-[IFWebHistoryPrivate entriesWithTitleOrAddressContainingString:]), (-[IFWebHistoryPrivate containsURL:]): Implemented guts of history mechanism using a dictionary for URL lookup and a sorted array of dates with entries and a sorted array of sorted arrays of entries per date. * WebKit.pbproj/project.pbxproj: Updated for new files 2002-02-18 John Sullivan First piece of implementing IFWebHistory. None of the mutators do anything, and the accessors return canned data. But at least all the temporary hackery is hiding behind legitimate API. * History.subproj/IFWebHistory.h: * History.subproj/IFWebHistory.m: (+[IFWebHistory sharedWebHistory]): Implemented sensibly. (-[IFWebHistory createTestEntryWithURLString:title:date:]), (-[IFWebHistory testDataDates]), (-[IFWebHistory testData]), Private temporary hackery to return fake data. (-[IFWebHistory orderedLastVisitedDays]), (-[IFWebHistory orderedEntriesLastVisitedOnDay:]): Implemented using temporary hackery. (-[IFWebHistory addEntry:]), (-[IFWebHistory removeEntry:]), (-[IFWebHistory removeAllEntries]): Unimplemented mutator methods. (-[IFWebHistory entriesWithAddressContainingString:]), (-[IFWebHistory entriesWithTitleOrAddressContainingString:]), (-[IFWebHistory containsURL:]): Methods that we'll need eventually, currently unimplemented. We may flesh out the API a little more before we actually implement any of these. (-[NSCalendarDate daysSinceDate:]): Convenience method in category; will probably move to another file soon. * WebKit.pbproj/project.pbxproj: Updated for new files 2002-02-18 Kenneth Kocienda Fixed breakge that came up when project file merged. * WebKit.pbproj/project.pbxproj: 2002-02-18 Kenneth Kocienda Changes to support building standalone Alexander with Frameworks and libraries contained inside the app package. * Makefile.am: * WebKit.pbproj/kocienda.pbxuser: * WebKit.pbproj/project.pbxproj: 2002-02-18 Richard Williamson Performance measurement. * WebView.subproj/IFWebView.mm: (-[IFWebView layout]), (-[IFWebView drawRect:]): 2002-02-16 Richard Williamson * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource controller]): 2002-02-16 Richard Williamson Reminders to change frame<->datasource ownership cycle. * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource setFrame:]), (-[IFWebDataSource frame]): 2002-02-13 Richard Williamson Fixed cleanup. Should revisit ownership graph. Cycles may be avoidable. * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate dealloc]): * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource setFrame:]): * WebView.subproj/IFWebFrame.m: (-[IFWebFrame reset]): * WebView.subproj/IFWebViewPrivate.h: * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _resetWidget]): 2002-02-12 Richard Williamson Made basic forms work. * WebView.subproj/IFBaseWebController.mm: * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]), (-[IFWebDataSource startLoading:]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:initiatedByUserEvent:]): 2002-02-11 John Sullivan Fixed bug where clicking on empty browser page would crash. This could happen when the start page was empty, or failed to load. * WebView.subproj/IFWebView.mm: (-[IFWebView mouseUp:]), (-[IFWebView mouseDown:]): Checked for nil widget before dispatching mouse events. 2002-02-08 John Sullivan Changed back & forward to goBack and goForward and made them not return a value (so signatures match those in WebBrowser). Added backEntry and forwardEntry that don't alter the list. These will be needed to ask to go to the URL at the back position without altering the back list until the change is committed. * History.subproj/IFBackForwardList.h: * History.subproj/IFBackForwardList.m: (-[IFBackForwardList goBack]), (-[IFBackForwardList backEntry]), (-[IFBackForwardList currentEntry]), (-[IFBackForwardList forwardEntry]), (-[IFBackForwardList goForward]): 2002-02-07 Richard Williamson More changes to IFLocationChangeHandler API. * WebView.subproj/IFBaseWebController.mm: * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource startLoading:]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:initiatedByMouseEvent:]): * WebView.subproj/IFWebFramePrivate.h: 2002-02-07 Richard Williamson Update IFLocationChangeHandler API. Added factored code for URL loading. * ChangeLog: * WebView.subproj/IFBaseWebController.h: * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController setMainView:andMainDataSource:]), (-[IFBaseWebController _changeLocationTo:forFrame:parent:]), (-[IFBaseWebController _changeFrame:dataSource:]), (-[IFBaseWebController locationChangeCommittedForFrame:]): * WebView.subproj/IFBaseWebControllerPrivate.h: * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource startLoading:]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.m: (-[IFWebFrame reset]): 2002-02-06 Richard Williamson Fixed allocation problems. Implemented parent->child management for datasource correctly. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController changeLocationTo:forFrame:]): * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource addFrame:]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setController:]), (-[IFWebDataSource _part]), (-[IFWebDataSource _setParent:]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.m: (-[IFWebFrame _setRenderFramePart:]), (-[IFWebFrame _renderFramePart]): * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged:]): 2002-02-05 Richard Williamson Updated controller API to reflect frames. * WebView.subproj/IFBaseWebController.h: * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController initWithView:dataSource:]), (-[IFBaseWebController setMainView:andMainDataSource:]), (-[IFBaseWebController createFrameNamed:for:inParent:]), (-[IFBaseWebController mainFrame]), (-[IFBaseWebController mainView]), (-[IFBaseWebController mainDataSource]), (-[IFBaseWebController changeLocationTo:forFrame:]), (-[IFBaseWebController locationChangeStartedForFrame:]), (-[IFBaseWebController locationChangeInProgressForFrame:]), (-[IFBaseWebController locationChangeDone:forFrame:]): * WebView.subproj/IFBaseWebControllerPrivate.h: * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate init]), (-[IFBaseWebControllerPrivate dealloc]): * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource initWithURL:]), (-[IFWebDataSource setFrame:]), (-[IFWebDataSource frame]), (-[IFWebDataSource frameName]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _part]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.m: (-[IFWebFrame dealloc]), (-[IFWebFrame dataSource]), (-[IFWebFrame setDataSource:]): * WebView.subproj/IFWebView.h: * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged:]): 2002-02-05 Maciej Stachowiak Remove old obsolete cache code from tree and build. * Cache.subproj/NSURICache.h: * Cache.subproj/NSURICache.m: * Cache.subproj/NSURICacheData.h: * Cache.subproj/NSURICacheData.m: * Cache.subproj/NSURILoad.h: * Cache.subproj/NSURILoad.m: * Cache.subproj/NSURILoadReallyPrivate.h: * Cache.subproj/_NSURICacheQueue.h: * Cache.subproj/_NSURICacheQueue.m: * Misc.subproj/WebKitReallyPrivate.h: * Misc.subproj/_NSMonitor.h: * Misc.subproj/_NSMonitor.m: * WebKit.pbproj/project.pbxproj: 2002-02-05 Richard Williamson Changes to support dynamic scroll bars in frames/iframes. * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController createFrameNamed:for:inParent:]): * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged]): * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _setFrameScrollView:]): 2002-02-04 Maciej Stachowiak Rename all classes from WK prefix to IF prefix. * Cache.subproj/IFLoadChunk.h: * Cache.subproj/IFWebCache.h: * Cache.subproj/IFWebCacheClient.h: * Cache.subproj/IFWebContentType.h: * History.subproj/IFAttributedURL.h: * History.subproj/IFBackForwardList.h: * History.subproj/IFBackForwardList.m: (-[IFBackForwardList init]), (-[IFBackForwardList addEntry:]), (-[IFBackForwardList back]), (-[IFBackForwardList currentEntry]), (-[IFBackForwardList forward]), (-[IFBackForwardList description]): * History.subproj/IFURIEntry.h: * History.subproj/IFURIEntry.m: (WCCreateURIEntry), (-[IFURIEntry isEqual:]), (-[IFURIEntry description]): * History.subproj/IFURIList.h: * History.subproj/IFURIList.m: (newURIListNode), (freeNode), (-[IFURIList dealloc]), (-[IFURIList addEntry:]), (-[IFURIList removeURL:]), (-[IFURIList removeEntry:]), (-[IFURIList entryForURL:]), (-[IFURIList entryAtIndex:]), (-[IFURIList removeEntryAtIndex:]), (-[IFURIList removeEntriesToIndex:]): * Misc.subproj/IFException.h: * Misc.subproj/IFException.m: * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebController.h: * WebView.subproj/IFBaseWebController.mm: (+[IFObjectHolder holderWithObject:]), (-[IFBaseWebController init]), (-[IFBaseWebController initWithView:dataSource:]), (-[IFBaseWebController setDirectsAllLinksToSystemBrowser:]), (-[IFBaseWebController directsAllLinksToSystemBrowser]), (-[IFBaseWebController setView:andDataSource:]), (-[IFBaseWebController createFrameNamed:for:inParent:]), (-[IFBaseWebController viewForDataSource:]), (-[IFBaseWebController dataSourceForView:]), (-[IFBaseWebController mainView]), (-[IFBaseWebController mainDataSource]), (-[IFBaseWebController setStatusText:forDataSource:]), (-[IFBaseWebController statusTextForDataSource:]), (-[IFBaseWebController authenticate:]), (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController receivedError:forResource:partialProgress:fromDataSource:]), (-[IFBaseWebController locationWillChangeTo:]), (-[IFBaseWebController locationChangeStartedForDataSource:]), (-[IFBaseWebController locationChangeInProgressForDataSource:]), (-[IFBaseWebController locationChangeDone:forDataSource:]), (-[IFBaseWebController receivedPageTitle:forDataSource:]), (-[IFBaseWebController serverRedirectTo:forDataSource:]): * WebView.subproj/IFBaseWebControllerPrivate.h: * WebView.subproj/IFBaseWebControllerPrivate.mm: * WebView.subproj/IFDynamicScrollBarsView.h: * WebView.subproj/IFDynamicScrollBarsView.m: * WebView.subproj/IFGrabBag.h: * WebView.subproj/IFPreferences.h: * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource _commonInitialization]), (-[IFWebDataSource initWithURL:]), (-[IFWebDataSource frameName]), (-[IFWebDataSource isMainDocument]), (-[IFWebDataSource parent]), (-[IFWebDataSource children]), (-[IFWebDataSource addFrame:]), (-[IFWebDataSource frameNamed:]), (-[IFWebDataSource frameNames]), (-[IFWebDataSource findDataSourceForFrameNamed:]), (-[IFWebDataSource frameExists:]), (-[IFWebDataSource openURL:inFrameNamed:]), (-[IFWebDataSource openURL:inIFrame:]), (-[IFWebDataSource controller]), (-[IFWebDataSource inputURL]), (-[IFWebDataSource finalURL]), (-[IFWebDataSource wasRedirected]), (-[IFWebDataSource stopLoading]), (-[IFWebDataSource isLoading]), (-[IFWebDataSource base]), (-[IFWebDataSource baseTarget]), (-[IFWebDataSource encoding]), (-[IFWebDataSource setUserStyleSheetFromURL:]), (-[IFWebDataSource setUserStyleSheetFromString:]), (-[IFWebDataSource icon]), (-[IFWebDataSource isPageSecure]), (-[IFWebDataSource pageTitle]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource _setController:]), (-[IFWebDataSource _part]), (-[IFWebDataSource _setFrameName:]): * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.m: (-[IFWebFrame initWithName:view:dataSource:]), (-[IFWebFrame dataSource]): * WebView.subproj/IFWebView.h: * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView controller]), (-[IFWebView dataSourceChanged]), (-[IFWebView layout]), (-[IFWebView stopAnimations]), (-[IFWebView setFontSizes:]), (-[IFWebView fontSizes]), (-[IFWebView resetFontSizes]), (-[IFWebView setStandardFont:]), (-[IFWebView standardFont]), (-[IFWebView setFixedFont:]), (-[IFWebView fixedFont]), (-[IFWebView setCanDragFrom:]), (-[IFWebView setCanDragTo:]), (-[IFWebView defaultContextMenuItemsForNode:]), (-[IFWebView setContextMenusEnabled:]), (-[IFWebView deselectText]), (-[IFWebView searchFor:direction:caseSensitive:]), (-[IFWebView selectedText]), (-[IFWebView setNeedsLayout:]), (-[IFWebView drawRect:]), (-[IFWebView setIsFlipped:]), (-[IFWebView isFlipped]), (-[IFWebView mouseUp:]), (-[IFWebView mouseDown:]): * WebView.subproj/IFWebViewPrivate.h: * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebViewPrivate dealloc]), (-[IFWebView _setController:]), (-[IFWebView _widget]), (-[IFWebView _setFrameScrollView:]), (-[IFWebView _frameScrollView]): 2002-02-04 Maciej Stachowiak Rename all WK files to IF (classes not renamed yet). * Cache.subproj/IFLoadChunk.h: * Cache.subproj/IFWebCache.h: * Cache.subproj/IFWebCacheClient.h: * Cache.subproj/IFWebContentType.h: * Cache.subproj/WKLoadChunk.h: * Cache.subproj/WKWebCache.h: * Cache.subproj/WKWebCacheClient.h: * Cache.subproj/WKWebContentType.h: * History.subproj/IFAttributedURL.h: * History.subproj/IFBackForwardList.h: * History.subproj/IFBackForwardList.m: * History.subproj/IFURIEntry.h: * History.subproj/IFURIEntry.m: * History.subproj/IFURIList.h: * History.subproj/IFURIList.m: * History.subproj/WKAttributedURL.h: * History.subproj/WKBackForwardList.h: * History.subproj/WKBackForwardList.m: * History.subproj/WKURIEntry.h: * History.subproj/WKURIEntry.m: * History.subproj/WKURIList.h: * History.subproj/WKURIList.m: * Misc.subproj/WKException.h: * Misc.subproj/WKException.m: * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFBaseWebController.h: * WebView.subproj/IFBaseWebController.mm: * WebView.subproj/IFBaseWebControllerPrivate.h: * WebView.subproj/IFBaseWebControllerPrivate.mm: * WebView.subproj/IFDefaultWebController.h: * WebView.subproj/IFDefaultWebController.mm: * WebView.subproj/IFDefaultWebControllerPrivate.h: * WebView.subproj/IFDefaultWebControllerPrivate.mm: * WebView.subproj/IFDynamicScrollBarsView.m: * WebView.subproj/IFGrabBag.h: * WebView.subproj/IFPreferences.h: * WebView.subproj/IFWebController.h: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: * WebView.subproj/IFWebFrame.h: * WebView.subproj/IFWebFrame.m: * WebView.subproj/IFWebView.h: * WebView.subproj/IFWebView.mm: * WebView.subproj/IFWebViewPrivate.h: * WebView.subproj/IFWebViewPrivate.mm: * WebView.subproj/WKDefaultWebController.h: * WebView.subproj/WKDefaultWebController.mm: * WebView.subproj/WKDefaultWebControllerPrivate.h: * WebView.subproj/WKDefaultWebControllerPrivate.mm: * WebView.subproj/WKDynamicScrollBarsView.h: * WebView.subproj/WKDynamicScrollBarsView.m: * WebView.subproj/WKGrabBag.h: * WebView.subproj/WKPreferences.h: * WebView.subproj/WKWebController.h: * WebView.subproj/WKWebDataSource.h: * WebView.subproj/WKWebDataSource.mm: * WebView.subproj/WKWebDataSourcePrivate.h: * WebView.subproj/WKWebDataSourcePrivate.mm: * WebView.subproj/WKWebFrame.h: * WebView.subproj/WKWebFrame.m: * WebView.subproj/WKWebView.h: * WebView.subproj/WKWebView.mm: * WebView.subproj/WKWebViewPrivate.h: * WebView.subproj/WKWebViewPrivate.mm: 2002-02-01 Richard Williamson Changes for dynamic scrolling frames. Added notification of complete load. * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController createFrameNamed:for:inParent:]), (-[WKDefaultWebController locationChangeDone:forDataSource:]): * WebView.subproj/WKWebController.h: * WebView.subproj/WKWebView.mm: (-[WKWebView dataSourceChanged]): * WebView.subproj/WKWebViewPrivate.h: * WebView.subproj/WKWebViewPrivate.mm: (-[WKWebViewPrivate dealloc]), (-[WKWebView _widget]), (-[WKWebView _setFrameScrollView:]), (-[WKWebView _frameScrollView]): 2002-02-01 John Sullivan Added call to examine the entry at the current index in the back/forward list without modifying the list. I needed this to save context data (in my case, scroll position) on the currently-viewed entry. * History.subproj/WKBackForwardList.h: * History.subproj/WKBackForwardList.m: (-[WKBackForwardList currentEntry]): Just returns the entry at the current index. 2002-01-31 John Sullivan * History.subproj/WKURIList.m: (newURIListNode): retain entries before adding them to list. The node-freeing routine was releasing, but the node-adding routine wasn't retaining. Bad asymmetry, made up for by WebViewTest not autoreleasing. I fixed that too. 2002-01-31 John Sullivan * WebKit.pbproj: Removed -O0, so it will now get all the same warnings as pbxbuild gets. 2002-01-31 Kenneth Kocienda Removed dependency on WC versions of these files * History.subproj/WKBackForwardList.h: * History.subproj/WKBackForwardList.m: * History.subproj/WKURIEntry.h: * History.subproj/WKURIEntry.m: * WebKit.pbproj/project.pbxproj: 2002-01-31 John Sullivan * WebKit.pbproj: Marked WKURIList.h as a public header 2002-01-30 Richard Williamson * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController createFrameNamed:for:inParent:]): * WebView.subproj/WKWebDataSource.mm: (-[WKWebDataSource documentTextFromDOM]): 2002-01-30 Richard Williamson Cleaned up API w/ respect to frames. * WebView.subproj/WKDefaultWebController.h: * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController setView:andDataSource:]), (-[WKDefaultWebController createFrameNamed:for:inParent:]): * WebView.subproj/WKWebController.h: * WebView.subproj/WKWebDataSource.h: 2002-01-30 Kenneth Kocienda Added *.lo, *.la, Icon, and .libs to .cvsignore files * .cvsignore: 2002-01-29 Richard Williamson * ChangeLog: * WebView.subproj/WKDefaultWebController.h: * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController setView:andDataSource:]), (-[WKDefaultWebController dataSourceForView:]): 2002-01-29 Richard Williamson * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController setView:andDataSource:]): 2002-01-29 Richard Williamson First pass at frame code. Still needs lots of cleanup. * WebKit.pbproj/project.pbxproj: * WebView.subproj/WKDefaultWebController.h: * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController init]): * WebView.subproj/WKWebDataSource.h: * WebView.subproj/WKWebDataSource.mm: (-[WKWebDataSource dealloc]), (-[WKWebDataSource frameName]), (-[WKWebDataSource parent]), (-[WKWebDataSource children]), (-[WKWebDataSource addFrame:]), (-[WKWebDataSource frameNamed:]): * WebView.subproj/WKWebDataSourcePrivate.h: * WebView.subproj/WKWebDataSourcePrivate.mm: (-[WKWebDataSourcePrivate init]), (-[WKWebDataSourcePrivate dealloc]), (-[WKWebDataSource _setController:]), (-[WKWebDataSource _setFrameName:]): * WebView.subproj/WKWebView.mm: (-[WKWebView mouseUp:]): * WebView.subproj/WKWebViewPrivate.h: * WebView.subproj/WKWebViewPrivate.mm: (-[WKWebViewPrivate dealloc]), (-[WKWebView _setController:]), (-[WKWebView _widget]): 2002-01-29 Kenneth Kocienda WebKit now links with WebFoundation * WebKit.pbproj/kocienda.pbxuser: * WebKit.pbproj/project.pbxproj: 2002-01-23 Ken Kocienda Took out @executable_path hack added for Alexander demo. This should clear up a class of crash-on-launch issues. * WebKit.pbproj/project.pbxproj: 2002-01-21 John Sullivan * WebView.subproj/WKWebController.h: * WebView.subproj/WKWebView.h: Changed WKConcreteWebController to WKDefaultWebController in a couple of comments. 2002-01-18 Richard Williamson First pass at new view/datasource/controller API. * Misc.subproj/WKException.h: * Misc.subproj/WKException.m: * WebKit.pbproj/project.pbxproj: * WebView.subproj/WKDefaultWebController.h: * WebView.subproj/WKDefaultWebController.mm: (+[WKObjectHolder holderWithObject:]), (-[WKObjectHolder initWithObject:]), (-[WKObjectHolder dealloc]), (-[WKObjectHolder copyWithZone:]), (-[WKObjectHolder hash]), (-[WKObjectHolder object]), (-[WKObjectHolder isEqual:]), (-[WKDefaultWebController initWithView:dataSource:]), (-[WKDefaultWebController dealloc]), (-[WKDefaultWebController setDirectsAllLinksToSystemBrowser:]), (-[WKDefaultWebController directsAllLinksToSystemBrowser]), (-[WKDefaultWebController setView:andDataSource:]), (-[WKDefaultWebController viewForDataSource:]), (-[WKDefaultWebController dataSourceForView:]), (-[WKDefaultWebController mainView]), (-[WKDefaultWebController mainDataSource]), (-[WKDefaultWebController createViewForDataSource:inFrameNamed:]), (-[WKDefaultWebController createViewForDataSource:inIFrame:]), (-[WKDefaultWebController setStatusText:forDataSource:]), (-[WKDefaultWebController statusTextForDataSource:]), (-[WKDefaultWebController authenticate:]), (-[WKDefaultWebController receivedProgress:forResource:fromDataSource:]), (-[WKDefaultWebController receivedError:forResource:partialProgress:fromDataSource:]), (-[WKDefaultWebController locationWillChangeTo:]), (-[WKDefaultWebController locationChangeStartedForDataSource:]), (-[WKDefaultWebController locationChangeInProgressForDataSource:]), (-[WKDefaultWebController locationChangeDone:forDataSource:]), (-[WKDefaultWebController receivedPageTitle:forDataSource:]), (-[WKDefaultWebController serverRedirectTo:forDataSource:]): * WebView.subproj/WKDefaultWebControllerPrivate.h: * WebView.subproj/WKDefaultWebControllerPrivate.mm: (-[WKDefaultWebControllerPrivate init]), (-[WKDefaultWebControllerPrivate dealloc]): * WebView.subproj/WKWebController.h: * WebView.subproj/WKWebController.mm: * WebView.subproj/WKWebDataSource.h: * WebView.subproj/WKWebDataSource.mm: (-[WKWebDataSource _commonInitialization]), (-[WKWebDataSource initWithURL:]), (-[WKWebDataSource parent]), (-[WKWebDataSource isMainDocument]), (-[WKWebDataSource children]), (-[WKWebDataSource frameNames]), (-[WKWebDataSource findDataSourceForFrameNamed:]), (-[WKWebDataSource frameExists:]), (-[WKWebDataSource openURL:inFrameNamed:]), (-[WKWebDataSource openURL:inIFrame:]), (-[WKWebDataSource controller]), (-[WKWebDataSource inputURL]), (-[WKWebDataSource finalURL]), (-[WKWebDataSource wasRedirected]), (-[WKWebDataSource startLoading:]), (-[WKWebDataSource stopLoading]), (-[WKWebDataSource isLoading]), (-[WKWebDataSource documentText]), (-[WKWebDataSource base]), (-[WKWebDataSource baseTarget]), (-[WKWebDataSource encoding]), (-[WKWebDataSource setUserStyleSheetFromURL:]), (-[WKWebDataSource setUserStyleSheetFromString:]), (-[WKWebDataSource icon]), (-[WKWebDataSource isPageSecure]), (-[WKWebDataSource pageTitle]): * WebView.subproj/WKWebDataSourcePrivate.h: * WebView.subproj/WKWebDataSourcePrivate.mm: (-[WKWebDataSourcePrivate init]), (-[WKWebDataSourcePrivate dealloc]), (-[WKWebDataSource _setController:]), (-[WKWebDataSource _part]): * WebView.subproj/WKWebView.h: * WebView.subproj/WKWebView.mm: (-[WKWebView initWithFrame:]), (-[WKWebView dealloc]), (-[WKWebView controller]), (-[WKWebView dataSourceChanged]), (-[WKWebView layout]), (-[WKWebView stopAnimations]), (-[WKWebView setFontSizes:]), (-[WKWebView fontSizes]), (-[WKWebView resetFontSizes]), (-[WKWebView setStandardFont:]), (-[WKWebView standardFont]), (-[WKWebView setFixedFont:]), (-[WKWebView fixedFont]), (-[WKWebView setCanDragFrom:]), (-[WKWebView canDragFrom]), (-[WKWebView setCanDragTo:]), (-[WKWebView canDragTo]), (-[WKWebView defaultContextMenuItemsForNode:]), (-[WKWebView setContextMenusEnabled:]), (-[WKWebView deselectText]), (-[WKWebView searchFor:direction:caseSensitive:]), (-[WKWebView selectedText]), (-[WKWebView delayLayout:]), (-[WKWebView notificationReceived:]), (-[WKWebView setNeedsLayout:]), (-[WKWebView drawRect:]), (-[WKWebView setIsFlipped:]), (-[WKWebView isFlipped]), (-[WKWebView setFrame:]), (-[WKWebView mouseUp:]), (-[WKWebView mouseDown:]), (-[WKWebView mouseDragged:]): * WebView.subproj/WKWebViewPrivate.h: * WebView.subproj/WKWebViewPrivate.mm: (-[WKWebViewPrivate init]), (-[WKWebViewPrivate dealloc]), (-[WKWebView _resetView]), (-[WKWebView _setController:]): 2002-01-14 Maciej Stachowiak Convert build system to automake * Makefile.am: Add this * Makefile.in: Remove this (now autogenerated) * .cvsignore: Fix ignores * WebKit.pbproj/project.pbxproj: Twiddle link flags 2001-12-21 John Sullivan * .cvsignore: * WebKit.pbproj/.cvsignore: Added files that were showing up on my machine to .cvsignores. 2001-12-18 Kenneth Kocienda Deleted one little word * Documentation/WebKit-White-Paper/WebKit-White-Paper.html: 2001-12-18 Richard Williamson Restructing of headers in prepartion for implementation. Added new WK* headers to PB project description. * ChangeLog: * WebKit.pbproj/project.pbxproj: * WebView.subproj/NSWebPageDataSource.h: * WebView.subproj/NSWebPageDataSource.mm: * WebView.subproj/NSWebPageDataSourcePrivate.h: * WebView.subproj/NSWebPageView.h: * WebView.subproj/NSWebPageView.mm: * WebView.subproj/NSWebPageViewPrivate.h: * WebView.subproj/WKWebController.h: * WebView.subproj/WKWebController.mm: * WebView.subproj/WKWebDataSource.h: * WebView.subproj/WKWebDataSource.mm: (+[WKWebDataSource initialize]): * WebView.subproj/WKWebDataSourcePrivate.h: * WebView.subproj/WKWebView.h: * WebView.subproj/WKWebView.mm: * WebView.subproj/WKWebViewPrivate.h: 2001-12-18 Kenneth Kocienda Updated the white paper text and graphics. * Documentation/WebKit-White-Paper/WebKit-White-Paper.html: * Documentation/WebKit-White-Paper/images/webkit-cache-loader.jpg: * Documentation/WebKit-White-Paper/images/webkit-classes.jpg: 2001-12-18 Kenneth Kocienda Merged "Changes" information into individual files * Cache.subproj/WKLoadChunk.h: * Cache.subproj/WKWebCache.h: * Cache.subproj/WKWebCacheClient.h: * Cache.subproj/WKWebContentType.h: 2001-12-17 Kenneth Kocienda Fixed small cpp glitch in WKWebCache. Added WKAttributedURL header. Updated WKBackForwardList with ifdef'ed out new design. * Cache.subproj/WKWebCache.h: * History.subproj/WKAttributedURL.h: * History.subproj/WKBackForwardList.h: 2001-12-17 Kenneth Kocienda Added header files by chopping up the CacheAPI.h document I have been working on. * Cache.subproj/WKLoadChunk.h: * Cache.subproj/WKWebCache.h: * Cache.subproj/WKWebCacheClient.h: * Cache.subproj/WKWebContentType.h: 2001-12-17 Kenneth Kocienda Did some verb tense cleanup. * Documentation/WebKit-White-Paper/WebKit-White-Paper.html: 2001-12-17 Kenneth Kocienda Added the current draft of the WebKit white paper. * Documentation/WebKit-White-Paper/WebKit-White-Paper.html: * Documentation/WebKit-White-Paper/images/webkit-cache-loader.jpg: 2001-12-14 Richard Williamson Remove WKContextMenuHandler for want of a better way to describe the not-yet-existing WKDOMNode. We can't think of any initial clients that want to override the default behavior anyway. Put it in WKGrabBag.h for now. * WebView.subproj/WKWebController.h: 2001-12-14 Richard Williamson Remove explicit API to get/set the selection range. This will be postponed until we have a DOM API that allows us to express selection ranges correctly. Instead we have API that should support searching and getting a NSAttributedString that corresponds to the selected text. Added the following methods: - (void)searchFor: (NSString *)string direction: (BOOL)forward caseSensitive: (BOOL)case - deselectText; - (NSAttributedString *)selectedText; * WebView.subproj/WKWebView.h: Moved search API to WKWebView. Moved WKPreferences to a new file, WKPreferences.h. We are still discussing this item and it will not make it into the white paper. Minor naming changes. * WebView.subproj/WKDataSource.h: 2001-12-14 Maciej Stachowiak Simplified WKLocationChangeHandler and updated WKAuthenticationHandler. * WebView.subproj/WKWebController.h: (WKWebDataSource): Renamed methods to be forDataSource, not byDataSource. (-[WKWebDataSource locationChangeInProgressForDataSource:]): Added. (-[WKWebDataSource locationChangeDone:forDataSource:]): Added as a collapsed version of locationChangeCancelled:, locationChangeStopped: and locationChangeFinished:. (WKSimpleAuthenticationResult, WKSimpleAuthenticationRequest): made these interfaces instead of structs. 2001-12-14 Maciej Stachowiak Minor cleanups, mostly for naming consistency. * WebView.subproj/WKWebController.h: (WKSimpleAuthenticationRequest) name field `url', not `uri'. (-[WKWebDataSourceErrorHandler receivedError:forDataSource:]): renamed from `error:inDataSource:' so that it's a verb phrase. * WebView.subproj/WKWebDataSource.h: (-[WKWebDataSource initWithURL:]): Rename `inputUrl' argument to `inputURL'. (-[WKWebDataSource initWithLoader:]): Change argument type from `WKURILoader' to `WKLoader'. (-[WKWebDataSource wasRedirected]): Renamed from `isRedirected', the past tense seems more appropriate here. (-[WKWebDataSource setJavaEnabled:]): Add missing semicolon. (-[WKWebDataSource pluginsEnabled:]): renamed from `pluginEnabled' for consistency with `setPluginsEnabled:'. * WebView.subproj/WKWebView.h: (-[WKWebView fontSizes]): renamed from `fontSize' for sonsistency with `setFontSizes:'. (-[WKWebView setContextMenusEnabled]): renamed from 'setEnableContextMenus:' for consistency with `contextMenusenabled'. 2001-12-14 Maciej Stachowiak After discussion with Don, Removed all methods relating to resolved URLs, since browsers don't actually treat aliases specially. * WebView.subproj/WKWebController.h: removed inputURLresolvedTo: methods. * WebView.subproj/WKWebDataSource.h: remove resolvedURL method, and mentions of it in comments. 2001-12-13 Richard Williamson Removed WKFrameSetHandler, placed that functionality on WKWebDataSource. Changed WKLocationChangeHandler to add a parameter specifying the data source that sent the message. * WebView.subproj/WKWebController.h: 2001-12-13 Maciej Stachowiak Warning fixes and support to pass the http headers along with cache data items * Cache.subproj/NSURICacheData.h, Cache.subproj/NSURICacheData.m: (+[NSURICacheData dataWithURL:status:error:headers:data:size:notificationString:userData:], -[NSURICacheData initWithURL:status:error:headers:data:size:notificationString:userData:]), -[NSURICacheData dealloc], -[NSURICacheData error], -[NSURICacheData headers]: NSURICacheData now carries a copy of the response headers dictionary. * Cache.subproj/NSURICache.m: include "WCURICache.h" to fix warnings. (-[NSURICache requestWithURL:requestor:userData:]): Handle headers in CacheData. * Cache.subproj/NSURILoad.h, Cache.subproj/NSURILoad.m: (-[NSURILoad __NSURILoadReadStreamCallback:event:data:], -[NSURILoad headers], -[NSURILoad dealloc], -[NSURILoad done]): An NSURILoad object now carries the response headers associated with its connection, if any. * History.subproj/WKBackForwardList.m: include WCBackForwardList.h to fix warning. * History.subproj/WKURIEntry.m: include WCURIEntry.h to fix warning. * Misc.subproj/WebKitDebug.h: Use (void) for C prototypes, not (). * WebView.subproj/NSWebPageDataSource.mm: (+[NSWebPageDataSource initialize]): Remove unused variable to fix warning. * WebKit.pbproj/project.pbxproj: Enable many warning flags and -Werror 2001-12-13 Maciej Stachowiak * WebView.subproj/WKWebController.h: Defined initial version of WKAuthenticationHandler interface, and associated WKSimpleAuthenticationRequest and WKSimpleAuthenticationResult structs. 2001-12-13 Richard Williamson Remove setBase: and setBaseTarget: Changed return type of baseTarget to (NSString *) Added the following two methods: - (WKDataSource *)parent; - (NSArry *)children; - (BOOL)isMainDocument; Added the following methods: - (NSArray *)frameNames; - (WKWebDataSource) findDataSourceForFrameNamed: (NSString *)name; - (BOOL)frameExists: (NSString *)name; - (void)openURL: (NSURL *)url inFrameNamed: (NSString *)frameName; - (void)openURL: (NSURL *)url inIFrame: (id)iFrameIdentifier; * WebView.subproj/WKWebDataSource.h: 2001-12-12 Richard Williamson Changed WKConcreteWebController to WKDefaultWebController. Changed WKLocationChangedHandler naming, replace "loadingXXX" with "locationChangeXXX". Changed loadingStopped in WKLocationChangedHandler to locationChangeStopped:(WKError *). Changed loadingCancelled in WKLocationChangedHandler to locationChangeCancelled:(WKError *). Changed loadedPageTitle in WKLocationChangedHandler to receivedPageTitle:. Added inputURL:(NSURL *) resolvedTo: (NSURL *) to WKLocationChangedHandler. Added the following two methods to WKLocationChangedHandler: - (void)inputURL: (NSURL *)inputURL resolvedTo: (NSURL *)resolvedURL; - (void)serverRedirectTo: (NSURL *)url; Put locationWillChangeTo: back on WKLocationChangedHandler. Changed XXXforLocation in WKLoadHandler to XXXforResource. Changed timeoutForLocation: in WKLoadHandler to receivedError:forResource:partialProgress: Added the following two methods to WKDefaultWebController: - setDirectsAllLinksToSystemBrowser: (BOOL)flag - (BOOL)directsAllLinksToSystemBrowser; Removed WKError. This will be described in WKError.h. * WebView.subproj/WKWebController.h: 2001-12-12 Richard Williamson After group discussion we decided to classify API as : Tier 1: Needed by our browser (or Sherlock). Tier 2: Nedded by Apple internal clients (Mail, Help, PB, other TBD). Tier 3: Third party software vendors. Added finalURL and isRedirected. * WebView.subproj/WKWebDataSource.h: 2001-12-11 Chris Blumenberg * ChangeLog: * WebView.subproj/NSWebPageDataSource.mm: (+[NSWebPageDataSource initialize]): 2001-12-11 Chris Blumenberg * WebView.subproj/NSWebPageDataSource.mm: (+[NSWebPageDataSource initialize]): 2001-12-10 John Sullivan * WebView.subproj/WKWebController.h: * WebView.subproj/WKWebDataSource.h: * WebView.subproj/WKWebView.h: Fixed some typos and misspellings. 2001-12-07 Richard Williamson * WebView.subproj/NSWebPageDataSource.h: * WebView.subproj/NSWebPageDataSourcePrivate.h: * WebView.subproj/NSWebPageView.h: First pass at API for WKWebView and WKWebDataSource. Note that we have to change names from NS to WK! The new API is conditionally excluded #ifdef READY_FOR_PRIMETIME Added these files: * WebView.subproj/WKWebDataSource.h: * WebView.subproj/WKWebView.h: * WebView.subproj/WKWebController.h: 2001-12-06 Maciej Stachowiak * Cache.subproj/NSURICacheData.m: (+[NSURICacheData dataWithURL:status:error:data:size:notificationString:userData:]), (-[NSURICacheData initWithURL:status:error:data:size:notificationString:userData:]): Remove redundant semicolons between the end of the prototype and the open brace, because they confuse the changelog script.