Timeline



Apr 29, 2002:

4:34 PM Changeset in webkit [1086]
  • 8 copies in tags/Alexander-2

This commit was manufactured by cvs2svn to create tag 'Alexander-2'.

4:34 PM Changeset in webkit [1085] by rjw
  • 4 edits in trunk/WebKit

Fix to 2915688. I wasn't checking if the main document error had an error, only
the resource errors.

10:06 AM Changeset in webkit [1084] by rjw
  • 3 edits in trunk/WebKit

Restored file, line, and function to log messages.

Apr 26, 2002:

12:23 PM Changeset in webkit [1083] by darin
  • 6 edits in trunk/WebCore
  • kwq/make-mac-encodings.c: (main): One more place that needed a workaround for Radar 2912404 (kCFStringEncodingInvalidId is negative even though CFStringEncoding is unsigned).
  • kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]): Do this ourselves so we don't rely on WebFoundation.
  • kwq/Makefile.am: Don't do a -I for WebFoundation.
10:11 AM Changeset in webkit [1082] by darin
  • 12 edits
    16 adds in trunk/WebCore

Check in some old changes from my TiBook so I can trash the source tree.

Pay no attention to the man who is not supposed to be working.

  • Tools/Scripts/find-unused-symbols: Added. Only partly done.
  • configure.in: Some small tweaks.

WebCore:

Pay no attention to the man who is not supposed to be working.

  • khtml/Makefile.am:
  • khtml/css/Makefile.am:
  • khtml/ecma/Makefile.am:
  • khtml/html/Makefile.am:
  • khtml/java/Makefile.am:
  • khtml/misc/Makefile.am:
  • khtml/rendering/Makefile.am:
  • khtml/xml/Makefile.am: Don't generate empty .moc files or khtmldata.h; there's no reason not to just check them in instead. Also tweak a few build rules to use automatic make variables.
  • khtml/ecma/kjs_window.moc: Added.
  • khtml/html/html_documentimpl.moc: Added.
  • khtml/html/htmltokenizer.moc: Added.
  • khtml/java/kjavaapplet.moc: Added.
  • khtml/java/kjavaappletcontext.moc: Added.
  • khtml/java/kjavaappletserver.moc: Added.
  • khtml/java/kjavaappletwidget.moc: Added.
  • khtml/java/kjavadownloader.moc: Added.
  • khtml/java/kjavaprocess.moc: Added.
  • khtml/khtmlview.moc: Added.
  • khtml/misc/khtmldata.h: Added.
  • khtml/rendering/render_form.moc: Added.
  • khtml/rendering/render_frames.moc: Added.
  • khtml/rendering/render_replaced.moc: Added.
  • khtml/xml/dom_docimpl.moc: Added.
  • khtml/xml/xml_tokenizer.moc: Added.
  • kwq/kwqdebug.mm: Make some globals private.

Apr 25, 2002:

11:37 PM Changeset in webkit [1081] by mjs
  • 1 edit in trunk/WebKit/WebKit.pbproj/project.pbxproj

WebFoundation:

Reviewed by: Darin Adler

Changes to authentication to allow the IFAuthenticationHandler
protocol to be asynchronous, so it's cancellable and suitable for
use by sheets. Fixes the following Radar bugs:

2874727 - IFAuthenticationHandler protocol is unsuitable for
clients that want to prompt using a sheet
2874730 - IFAuthenticationHandler protocol does not allow for cancellation
2876170 - Authentication handling blocks a loader thread indefinitely

In addition there is a lot of assorted code cleanup.

  • AuthenticationManager.subproj/IFAuthenticationHandler.h:
  • AuthenticationManager.subproj/IFAuthenticationHandlerDispatcher.h:
  • AuthenticationManager.subproj/IFAuthenticationHandlerDispatcher.m: (-[IFAuthenticationDispatchState dealloc]): (dispatchStartAuthentication): (dispatchCancelAuthentication): (dispatchAuthenticationDone): (dispatchAuthenticationHandlerBusy): (-[IFAuthenticationHandlerDispatcher _dispatchStartAuthentication:]): (-[IFAuthenticationHandlerDispatcher IFAuthenticationRequest:authenticationDone:]): (-[IFAuthenticationHandlerDispatcher IFAuthenticationRequestAuthenticationHandlerBusy:]): (-[IFAuthenticationHandlerDispatcher _dispatchCancelAuthentication:]): (-[IFAuthenticationHandlerDispatcher _dispatchAuthenticationDone:]): (-[IFAuthenticationHandlerDispatcher _dispatchAuthenticationHandlerBusy:]): (-[IFAuthenticationHandlerDispatcher initWithAuthenticationHandler:]): (-[IFAuthenticationHandlerDispatcher dealloc]): (-[IFAuthenticationHandlerDispatcher hasHandler:]): (-[IFAuthenticationHandlerDispatcher startAuthentication:]): (-[IFAuthenticationHandlerDispatcher cancelAuthentication:]):
  • AuthenticationManager.subproj/IFAuthenticationManager.m: (-[IFAuthenticationRequestState initWithHandlersCopy:index:httpRequest:authenticationRequest:callback:context:]): (-[IFAuthenticationRequestState dealloc]): (-[IFAuthenticationManagerPrivate init]): (-[IFAuthenticationManagerPrivate dealloc]): (-[IFAuthenticationManager _invokeHandlersWithURL:realm:forRequest:withCallback:context:]): (-[IFAuthenticationManager _tryRequest:]): (-[IFAuthenticationManager IFAuthenticationRequest:authenticationDone:]): (-[IFAuthenticationManager _addCredentialsToInitialHTTPRequest:]): (-[IFAuthenticationManager _addCredentialsToRetryHTTPRequest:afterFailureResponse:withCallback:context:]): (-[IFAuthenticationManager _cancelAddCredentialsToRetryHTTPRequest:]):
  • AuthenticationManager.subproj/IFAuthenticationManagerCallback.h:
  • AuthenticationManager.subproj/IFAuthenticationRequest.m: (-[IFAuthenticationRequest _authenticationHandlerBusy]): (-[IFAuthenticationRequest authenticationDone:]):
  • AuthenticationManager.subproj/IFAuthenticationRequestPrivate.h:
  • WebFoundation.pbproj/project.pbxproj: Added new files to the build.
  • Misc.subproj/IFCFRunLoopExtensions.h, Misc.subproj/IFCFRunLoopExtensions.c: Added. (IFCallFromCFRunLoop): New convenience wrapper for a one-shot run loop callback. (IFCallFromRunLoopCFRunLoopTimerCallBack): Helper function for the above. (IFCallFromCFRunLoopContextRetain): Likewise. (IFCallFromCFRunLoopContextRelease): Likewise. (IFCallFromCFRunLoopContextCopyDescription): Likewise.
  • Misc.subproj/IFNSDictionaryExtensions.h,Misc.subproj/IFNSDictionaryExtensions.m: (-[NSMutableDictionary _IF_setObject:forUncopiedKey:]): New helper function to put things in dictionaries without copying the key.

WebBrowser:

  • AuthenticationHandler.h, AuthenticationHandler.m: Changed to conform to new improved IFAuthenticationHandler protocol.

(-[AuthenticationHandler init]):
(-[AuthenticationHandler readyToStartAuthentication:]):
(-[AuthenticationHandler startAuthentication:]):
(-[AuthenticationHandler cancelAuthentication:]):
(-[AuthenticationHandler showAuthenticationPanel]):

  • WebBrowser.pbproj/project.pbxproj: I touched it.
6:55 PM Changeset in webkit [1080] by darin
  • 15 edits in trunk/WebKit
  • 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.
6:54 PM Changeset in webkit [1079] by darin
  • 5 edits in trunk/WebCore
  • kwq/KWQMetrics.h: Add NSObject to required protocols for the KWQLayoutFragment protocol so we can retain and release.
  • kwq/KWQTextStorage.mm: (-[KWQTextStorage _buildFragmentForString:]): Removed a cast to NSObject * that worked around the lack of the above.
5:30 PM Changeset in webkit [1078] by cblu
  • 9 edits in trunk/WebKit
  • 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

5:01 PM Changeset in webkit [1077] by rjw
  • 27 edits in trunk

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.

2:50 PM Changeset in webkit [1076] by darin
  • 6 edits in trunk/WebCore

Add a workaround for Radar 2912404 (kCFStringEncodingInvalidId is negative even
though CFStringEncoding is unsigned)

  • kwq/KWQCharsets.mm: (KWQCFStringEncodingFromIANACharsetName): (KWQCFStringEncodingFromMIB):
  • kwq/KWQtextcodec.mm: (QTextCodec::codecForMib): (QTextCodec::codecForName):
  • kwq/make-charset-table.pl: Add casts to (CFStringEncoding) wherever we use kCFStringEncodingInvalidId.
11:05 AM Changeset in webkit [1075] by darin
  • 23 edits in trunk

WebCore:

Rework plugin code to prepare to move more of it into WebKit.

  • khtml/rendering/render_applet.cpp: (RenderApplet::RenderApplet): Create a widget for the applet using the new simpler API.
  • kwq/kdecore/kconfig.h:
  • kwq/KWQKConfigBase.mm: Eliminate KConfigBase. Set things up so we are poised to handle the other non-plugin config keys easily in the future.
  • kwq/KWQKHTMLPart.mm: (KHTMLPart::requestObject): Use the new simpler IFPluginWidgetCreate API instead of the older WCPluginWidget one.
  • kwq/qt/qstring.h: Add simpler conversions to/from NSString.
  • kwq/KWQString.mm: (QString::fromNSString): New.
  • kwq/WCPluginWidget.h: Made this API simpler both for the C++ side and the Objective-C side. There's now no class, and only one function that needs to be supplied (normally by WebKit).
  • kwq/WCJavaAppletWidget.h: Same thing for the Java case.
  • kwq/WCJavaAppletWidget.mm: (IFSetJavaAppletViewCreationFunction): New. (IFJavaAppletWidgetCreate): New. Most of the code that was in here is now moved into WebKit.
  • kwq/WCPluginWidget.mm: (IFSetPluginViewCreationFunction): New. (IFPluginWidgetCreate): New. Most of the code that was in here is now moved into WebKit.
  • libwebcore.exp: Update for new function names.

WebKit:

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.
9:45 AM Changeset in webkit [1074] by sullivan
  • 4 edits in trunk/WebKit

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.

Note: See TracTimeline for information about the timeline view.