8479d4bf5b7c544a6a0cf895f7279eeebc1db20c
[WebKit-https.git] / WebKit / ChangeLog
1
2 =======
3 2002-05-30  Richard Williamson  <rjw@apple.com>
4
5     Added 'canDraw' check to ensure that we can render
6     an image frame.
7     
8         * WebCoreSupport.subproj/IFImageRenderer.m:
9
10 === Alexander-7 ===
11
12 2002-05-29  Richard Williamson  <rjw@apple.com>
13
14     Changes to support animated image rendering.
15     Moved image rendering into webkit.
16     Still need to implement preferences stubs and
17     start/stop stubs.
18     
19         * WebCoreSupport.subproj/IFImageRenderer.h: Added.
20         * WebCoreSupport.subproj/IFImageRenderer.m: Added.
21         * WebCoreSupport.subproj/IFImageRendererFactory.h: Added.
22         * WebCoreSupport.subproj/IFImageRendererFactory.m: Added.
23         (+[IFImageRendererFactory createSharedFactory]):
24         (+[IFImageRendererFactory sharedFactory]):
25         (-[IFImageRendererFactory imageRendererWithBytes:length:]):
26         (-[IFImageRendererFactory imageRendererWithSize:]):
27         * WebKit.pbproj/project.pbxproj:
28         * WebView.subproj/IFBaseWebController.mm:
29         (-[IFBaseWebController stopAnimatedImages]):
30         (-[IFBaseWebController startAnimatedImages]):
31         (-[IFBaseWebController stopAnimatedImageLooping]):
32         (-[IFBaseWebController startAnimatedImageLooping]):
33         * WebView.subproj/IFPreferences.h:
34         * WebView.subproj/IFPreferences.mm:
35         (+[IFPreferences load]):
36         (-[IFPreferences _resourceTimedLayoutEnabled]):
37         (-[IFPreferences allowAnimatedImages]):
38         (-[IFPreferences allowAnimatedImageLooping]):
39         (-[IFPreferences setAllowAnimatedImageLooping:]):
40         * WebView.subproj/IFWebController.h:
41         * WebView.subproj/IFWebView.mm:
42         (-[IFWebView initWithFrame:]):
43
44 2002-05-29  Richard Williamson  <rjw@apple.com>
45
46     API stubs for image animation.
47
48         * WebKit.pbproj/project.pbxproj:
49         * WebView.subproj/IFBaseWebController.mm:
50         (-[IFBaseWebController stopAnimatedImages]):
51         (-[IFBaseWebController startAnimatedImages]):
52         (-[IFBaseWebController stopAnimatedImageLooping]):
53         (-[IFBaseWebController startAnimatedImageLooping]):
54         * WebView.subproj/IFPreferences.h:
55         * WebView.subproj/IFPreferences.mm:
56         (+[IFPreferences load]):
57         (-[IFPreferences _resourceTimedLayoutEnabled]):
58         (-[IFPreferences allowAnimatedImages]):
59         (-[IFPreferences allowAnimatedImageLooping]):
60         (-[IFPreferences setAllowAnimatedImageLooping:]):
61         * WebView.subproj/IFWebController.h:
62
63 2002-05-29  John Sullivan  <sullivan@apple.com>
64
65         Removed acceptsFirstMouse override, this fixes at least:
66
67         2930713 -- clicking on an empty part of window to bring it to front
68         takes focus away from page address field
69
70         2938028 -- Link cursor doesn't appear when browser window not
71         frontmost, but clicks activate links
72
73         * WebView.subproj/IFWebView.mm:
74
75 2002-05-28  John Sullivan  <sullivan@apple.com>
76
77         Made -[IFBookmark group] and -[IFBookmark parent] public
78         methods, and renamed them to not use leading underscores,
79         as part of support for revealing a particular bookmark in
80         the Bookmarks window.
81
82         * Bookmarks.subproj/IFBookmark_Private.h:
83         removed _group and _parent.
84
85         * Bookmarks.subproj/IFBookmark.h:
86         added group and parent.
87
88         * Bookmarks.subproj/IFBookmark.m:
89         (-[IFBookmark parent]):
90         (-[IFBookmark group]):
91         * Bookmarks.subproj/IFBookmarkGroup.m:
92         (-[IFBookmarkGroup removeBookmark:]):
93         (-[IFBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:withTitle:image:URLString:type:]):
94         * Bookmarks.subproj/IFBookmarkLeaf.m:
95         (-[IFBookmarkLeaf copyWithZone:]):
96         (-[IFBookmarkLeaf setTitle:]):
97         (-[IFBookmarkLeaf setImage:]):
98         (-[IFBookmarkLeaf setURLString:]):
99         * Bookmarks.subproj/IFBookmarkList.m:
100         (-[IFBookmarkList copyWithZone:]):
101         (-[IFBookmarkList setTitle:]):
102         (-[IFBookmarkList setImage:]):
103         (-[IFBookmarkList removeChild:]):
104         (-[IFBookmarkList insertChild:atIndex:]):
105         (-[IFBookmarkList _setGroup:]):
106         * Bookmarks.subproj/IFBookmarkSeparator.m:
107         (-[IFBookmarkSeparator copyWithZone:]):
108         Fixed up all references to _group and _parent to now refer to
109         group and parent.
110
111 2002-05-28  Richard Williamson  <rjw@apple.com>
112
113     Backed out band-aid add to fixed malformed resources URLs.
114
115         * WebView.subproj/IFWebDataSourcePrivate.mm:
116         (-[IFWebDataSource _addURLHandle:]):
117
118 2002-05-28  Chris Blumenberg  <cblu@apple.com>
119
120         Added support for creating a new window from a plug-in (2938004)
121
122         * Plugins.subproj/IFPluginView.mm:
123         (-[IFPluginView loadURL:inTarget:withNotifyData:andHandleAttributes:]):
124
125 2002-05-28  Chris Blumenberg  <cblu@apple.com>
126
127         * Plugins.subproj/IFPluginDatabase.h:
128         * Plugins.subproj/IFPluginDatabase.m:
129         (-[IFPluginDatabase pluginForMimeType:]): renamed
130         (-[IFPluginDatabase pluginForExtension:]): renamed
131         (-[IFPluginDatabase pluginForFilename:]): renamed
132         (findPlugins):
133         * WebCoreSupport.subproj/IFWebCoreViewFactory.m: support for above renamed
134         (-[IFWebCoreViewFactory viewForPluginWithURL:serviceType:arguments:baseURL:]):
135         (-[IFWebCoreViewFactory viewForJavaAppletWithArguments:]):
136         * WebView.subproj/IFWebDataSourcePrivate.mm:
137         (-[IFWebDataSource _addURLHandle:]): fix for a nil handle being added to an array
138
139 2002-05-28  Darin Adler  <darin@apple.com>
140
141         * WebCoreSupport.subproj/IFTextRenderer.m:
142         (hasMissingGlyphs): Use recordSize instead of assuming records are sizeof(ATSLayoutRecord).
143         (-[IFTextRenderer convertCharacters:length:toGlyphs:]): Free buffer after calling
144         ATSUConvertCharToGlyphs; old code was using buffer after freeing it.
145         (-[IFTextRenderer widthForString:]): Handle case where string is longer than
146         LOCAL_GLYPH_BUFFER_SIZE.
147         (-[IFTextRenderer slowPackGlyphsForCharacters:numCharacters:glyphBuffer:numGlyphs:]):
148         (-[IFTextRenderer drawString:atPoint:withColor:]): Use recordSize instead of assuming records
149         are sizeof(ATSLayoutRecord).
150         (-[IFTextRenderer slowFloatWidthForCharacters:length:]): Use recordSize instead of assuming
151         records are sizeof(ATSLayoutRecord).
152         (-[IFTextRenderer floatWidthForCharacters:length:]): Remove extra rounding. The caller that
153         converts the width to an integer already does the rounding.
154         (-[IFTextRenderer extendCharacterToGlyphMapToInclude:]): Fix off by one error that caused us
155         to include one extra character in each glyph map block. Also use recordSize instead of assuming
156         records are sizeof(ATSLayoutRecord).
157
158 2002-05-27  John Sullivan  <sullivan@apple.com>
159
160         Part of fix for 2922772 -- page title & location field don't
161         show redirected URLs.
162
163         * WebView.subproj/IFWebDataSource.mm:
164         (-[IFWebDataSource wasRedirected]): Fixed this method, now that
165         we have a client that relies on it. Its logic was backwards, and
166         it didn't handle the null _finalURL case.
167
168 2002-05-26  Maciej Stachowiak  <mjs@apple.com>
169
170         Fixed Radar 936147 - debug output in console "keyUp: NSEvent: type=KeyUp"
171
172         * WebView.subproj/IFWebView.mm:
173         (-[IFWebView keyDown:]): Turned NSLog into WEBKITDEBUGLEVEL.
174         (-[IFWebView keyUp:]): Likewise.
175
176 2002-05-26  Maciej Stachowiak  <mjs@apple.com>
177
178         WebKit part of fix for:
179
180         Radar 2884085 - add support for changing cursor over links
181
182         Also, fix handling of mouseMoved events.
183         
184         * WebView.subproj/IFWebView.mm:
185         (-[IFWebView mouseMovedNotification:]): Clip mouseMoved events to
186         the view rect, otherwise mouseover effects might happen for
187         elements past the edge of the window.   
188         (-[IFWebView setCursor:]): Implement.
189         (-[IFWebView resetCursorRects]): Implement.
190         * WebView.subproj/IFWebViewPrivate.h:
191         * WebView.subproj/IFWebViewPrivate.mm:
192         (-[IFWebViewPrivate dealloc]): Added NSCursor *cursor field.
193
194 2002-05-25  Maciej Stachowiak  <mjs@apple.com>
195
196         * WebKit.pbproj/project.pbxproj: Link against WebCore.framework,
197         not libwebcore.dylib.
198
199 === 0.3 ===
200
201 2002-05-24  Shelley A Sheridan  <sheridan@apple.com>
202
203         * ChangeLog:
204
205 === Alexander-6 ===
206
207 2002-05-23  Maciej Stachowiak  <mjs@apple.com>
208
209         WebKit part of the fix for:
210
211         Radar 2896391 - command-click should open link in new window
212         
213         * WebView.subproj/IFBaseWebController.mm:
214         (-[IFBaseWebController openNewWindowWithURL:]): Default
215         implementation silently does nothing.
216         * WebView.subproj/IFWebController.h: Add openNewWindowWithURL:
217         method.
218         * WebView.subproj/IFWebView.mm:
219         (-[IFWebView _addModifiers:toState:]): Split out modifier key
220         handling to here. Treat Command as Meta.
221         (-[IFWebView mouseUp:]): Use new method to set key modifiers for
222         mouse events.
223         (-[IFWebView mouseDown:]): Use new method to set key modifiers for
224         mouse events.
225         (-[IFWebView keyDown:]): Use new shared code for key modifiers.
226         (-[IFWebView keyUp:]): Use new shared code for key modifiers.
227
228 2002-05-23  Kenneth Kocienda  <kocienda@apple.com>
229
230         Fixes for these bugs:
231
232         Radar 2883631 (need to implement support for META HTTP_EQUIV=REFRESH)
233         Radar 2935472 (Non-standard html pages don't always get decoded)
234
235         * WebView.subproj/IFMainURLHandleClient.h:
236         * WebView.subproj/IFMainURLHandleClient.mm:
237         (-[IFMainURLHandleClient setContentPolicy:]): Updated method to use new processData interface.
238         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): Senses when all data has been received for a load.
239         (-[IFMainURLHandleClient processData:isComplete:allDataReceived:]): Modified interface to add a flag 
240           for when all data for a load has been received.
241
242 2002-05-23  Shelley A Sheridan  <sheridan@apple.com>
243
244         * ChangeLog:
245
246 === Alexander-5 ===
247
248 2002-05-23  Maciej Stachowiak  <mjs@apple.com>
249
250         Move authentication panel to WebKit and make it a sheet, fixing:
251
252         Radar 2876445 - Authentication panel should be a sheet
253         Radar 2876449 - The Alexander authentication panel should be moved
254         to WebKit for use as a standard one
255         
256         * Panels.subproj/English.lproj/IFAuthenticationPanel.nib: Added.
257         * Panels.subproj/IFAuthenticationPanel.h: Added.
258         * Panels.subproj/IFAuthenticationPanel.m: Added.
259         * Panels.subproj/IFPanelAuthenticationHandler.h: Added.
260         * Panels.subproj/IFPanelAuthenticationHandler.m: Added.
261         * Panels.subproj/IFStandardPanels.h: Added.
262         * Panels.subproj/IFStandardPanels.m: Added.
263         * Panels.subproj/IFStandardPanelsPrivate.h: Added.
264         * WebKit.pbproj/project.pbxproj: Add new files to build.
265         * Plugins.subproj/IFPluginStream.mm:
266         (-[IFPluginStream IFURLHandleResourceDidBeginLoading:]): Notify of
267         load start.
268         (-[IFPluginStream IFURLHandleResourceDidFinishLoading:data:]): Notify
269         of load end.
270         (-[IFPluginStream IFURLHandleResourceDidCancelLoading:]): Likewise.
271         (-[IFPluginStream IFURLHandle:resourceDidFailLoadingWithResult:]): Likewise.
272         (-[IFPluginStream IFURLHandle:didRedirectToURL:]): Notify that old
273         URL is no longer loading, but new one is.
274         * WebView.subproj/IFBaseWebControllerPrivate.h:
275         * WebView.subproj/IFBaseWebControllerPrivate.mm:
276         (-[IFBaseWebController _didStartLoading:]): New private method
277         used to track what URLs are loading on behalf of this controller.
278         (-[IFBaseWebController _didStopLoading:]): Likewise.
279         
280         * WebView.subproj/IFMainURLHandleClient.mm:
281         (-[IFMainURLHandleClient IFURLHandleResourceDidBeginLoading:]): Notify
282         of load start.
283         (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]): Notify
284         of load end.
285         (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]): Likewise.
286         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): Likewise.
287         (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]): Likewise.
288         (-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]): Notify of 
289         load end and start.
290
291 2002-05-22  Chris Blumenberg  <cblu@apple.com>
292         
293         Fixed download data source leaks when downloads are cancelled.
294
295         * WebView.subproj/IFBaseWebControllerPrivate.mm:
296         (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
297         * WebView.subproj/IFMainURLHandleClient.mm:
298         (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]):
299         (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):
300
301 2002-05-22  Chris Blumenberg  <cblu@apple.com>
302
303         Removed activate events as this was causing problems
304         for the QT plug-in.
305         
306         * Plugins.subproj/IFPluginView.mm:
307         (-[IFPluginView windowBecameKey:]):
308         (-[IFPluginView windowResignedKey:]):
309
310 2002-05-22  Chris Blumenberg  <cblu@apple.com>
311
312         Fixed crasher caused by not retaining.
313         Fixed targeting bug.
314
315         * Plugins.subproj/IFPluginView.mm:
316         (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]):
317         (-[IFPluginView getURLNotify:target:notifyData:]):
318         (-[IFPluginView getURL:target:]):
319         (-[IFPluginView postURLNotify:target:len:buf:file:notifyData:]):
320         (-[IFPluginView postURL:target:len:buf:file:]):
321
322 2002-05-22  Richard J. Williamson  <rjw@apple.com>
323
324     Changed semantics of isLoading to only return YES if
325     the datasource is loading resources related to the intial
326     load.  Other resources loaded later by JS will not be
327     accounted for by isLoading.
328     
329         * WebView.subproj/IFWebDataSource.mm:
330         (-[IFWebDataSource isLoading]):
331
332 2002-05-22  Chris Blumenberg  <cblu@apple.com>
333
334         - Removed obsolete MIME/download related code.
335         - Minor clean-ups.
336         - Made WebKit support all text/* MIME types.
337         - Now send NPP_URLNotify when pages requested by plug-ins are loaded.
338         - Simplified NPP_Get/NPP_Post code.
339         
340         * MIME.subproj/IFContentHandler.h:
341         * MIME.subproj/IFContentHandler.m:
342         * MIME.subproj/IFDownloadHandler.mm:
343         * MIME.subproj/IFMIMEDatabase.h: Removed.
344         * MIME.subproj/IFMIMEDatabase.m: Removed.
345         * MIME.subproj/IFMIMEHandler.h:
346         * MIME.subproj/IFMIMEHandler.m:
347         (+[IFMIMEHandler MIMEHandlerTypeForMIMEType:]):
348         (+[IFMIMEHandler canShowMIMEType:]):
349         * Plugins.subproj/IFPluginView.h:
350         * Plugins.subproj/IFPluginView.mm:
351         (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]):
352         (-[IFPluginView dealloc]):
353         (-[IFPluginView frameStateChanged:]):
354         (-[IFPluginView loadURL:inTarget:withNotifyData:andHandleAttributes:]):
355         (-[IFPluginView getURLNotify:target:notifyData:]):
356         (-[IFPluginView getURL:target:]):
357         (-[IFPluginView postURLNotify:target:len:buf:file:notifyData:]):
358         (-[IFPluginView postURL:target:len:buf:file:]):
359         (-[IFPluginView invalidateRect:]):
360         (-[IFPluginView invalidateRegion:]):
361         (-[IFPluginView forceRedraw]):
362         * WebKit.pbproj/project.pbxproj:
363         * WebView.subproj/IFMainURLHandleClient.h:
364         * WebView.subproj/IFMainURLHandleClient.mm:
365         (-[IFMainURLHandleClient dealloc]):
366         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
367         (-[IFMainURLHandleClient processData:isComplete:]):
368         * WebView.subproj/IFWebFramePrivate.h:
369         * WebView.subproj/IFWebFramePrivate.mm:
370         (-[IFWebFrame _setState:]):
371
372 2002-05-21  Richard J. Williamson  <rjw@apple.com>
373
374     Fixed baseline regression.  Obvious of sites that have tables w/ backgrounds,
375     i.e. www.slashdot.org.
376     
377         * WebCoreSupport.subproj/IFTextRenderer.m:
378         (-[IFTextRenderer drawCharacters:length:atPoint:withColor:]):
379         (-[IFTextRenderer drawUnderlineForString:atPoint:withColor:]):
380
381 2002-05-21  Richard J. Williamson  <rjw@apple.com>
382
383     Changes to support additional DHTML events.
384     
385         * WebView.subproj/IFWebView.mm:
386         (-[IFWebView keyDown:]):
387         (-[IFWebView keyUp:]):
388         * WebView.subproj/IFWebViewPrivate.mm:
389         (+[IFWebView _nodeHTML:DOM::]):
390
391 2002-05-21  Chris Blumenberg  <cblu@apple.com>
392
393         Content policy can now be sent at a later time to avoid blocking.
394
395         * WebView.subproj/IFMainURLHandleClient.h:
396         * WebView.subproj/IFMainURLHandleClient.mm:
397         (-[IFMainURLHandleClient initWithDataSource:part:]):
398         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
399
400 2002-05-21  Chris Blumenberg  <cblu@apple.com>
401
402         Move the tracking rect after the view has moved.
403
404         * Plugins.subproj/IFPluginView.mm:
405         (-[IFPluginView viewHasMoved:]):
406
407         Fixed logging.
408
409         * Plugins.subproj/npapi.m:
410         (NPN_UserAgent):
411         (NPN_MemAlloc):
412         (NPN_MemFree):
413         (NPN_MemFlush):
414         (NPN_ReloadPlugins):
415
416 2002-05-21  Kenneth Kocienda  <kocienda@apple.com>
417
418         Merged these four include files into the precompiled header.
419         These are used for the enhanced assertion/debuggin support I
420         added yesterday.
421
422         <signal.h>
423         <sys/types.h>
424         <sys/time.h>
425         <sys/resource.h>
426
427         * WebKitPrefix.h
428
429 2002-05-20  Chris Blumenberg  <cblu@apple.com>
430
431         Added support for plug-ins to send URL requests to certain targets.
432
433         Added frameNamed to IFWebFrame.
434
435         * Plugins.subproj/IFPluginView.mm:
436         (-[IFPluginView getURLNotify:target:notifyData:]):
437         (-[IFPluginView postURLNotify:target:len:buf:file:notifyData:]):
438         * WebView.subproj/IFWebFrame.h:
439         * WebView.subproj/IFWebFrame.mm:
440         (-[IFWebFrame frameNamed:]):
441
442 2002-05-20  Kenneth Kocienda  <kocienda@apple.com>
443
444         * Misc.subproj/WebKitDebug.h: Now includes <sys/time.h> to prevent possible
445           build breakage in the inclusion of <sys/resource.h>
446
447 2002-05-20  Kenneth Kocienda  <kocienda@apple.com>
448
449         Changed assertion failure code to send a SIGQUIT instead
450         of raising an NSException.
451
452         * Misc.subproj/WebKitDebug.h
453
454 2002-05-20  Chris Blumenberg  <cblu@apple.com>
455
456         A whole lot of plug-in clean-up.
457
458         Moved the following functions from npapi to IFPlugin.
459
460         * Plugins.subproj/IFPlugin.m:
461         (functionPointerForTVector):
462         (tVectorForFunctionPointer):
463
464
465         Only supply mouse coords when active.
466
467         * Plugins.subproj/IFPluginNullEventSender.h:
468         * Plugins.subproj/IFPluginNullEventSender.m:
469         (-[IFPluginNullEventSender initializeWithNPP:functionPointer:window:]):
470         (-[IFPluginNullEventSender dealloc]):
471         (-[IFPluginNullEventSender sendNullEvents]):
472
473         
474         Minor clean-ups
475
476         * Plugins.subproj/IFPluginStream.mm:
477         (-[IFPluginStream dealloc]):
478         (-[IFPluginStream IFURLHandleResourceDidFinishLoading:data:]):
479         (-[IFPluginStream IFURLHandleResourceDidCancelLoading:]):
480         (-[IFPluginStream IFURLHandle:resourceDidFailLoadingWithResult:]):
481         
482         
483         Removed the isMouseDown flag from the following functions
484         as it was unnecessary.
485
486         Cleaned up logging.
487
488         * Plugins.subproj/IFPluginView.mm:
489         (-[IFPluginView modifiersForEvent:]):
490         (-[IFPluginView getCarbonEvent:withEvent:]):
491         (-[IFPluginView sendUpdateEvent]):
492         (-[IFPluginView becomeFirstResponder]):
493         (-[IFPluginView resignFirstResponder]):
494         (-[IFPluginView mouseDown:]):
495         (-[IFPluginView mouseUp:]):
496         (-[IFPluginView mouseExited:]):
497         (-[IFPluginView setWindow]):
498         (-[IFPluginView start]):
499         (-[IFPluginView stop]):
500
501
502         URLForString now uses _IF_looksLikeAbsoluteURL.
503
504         (-[IFPluginView URLForString:]):
505
506         
507         Implemented the following:
508
509         (-[IFPluginView invalidateRect:]):
510         (-[IFPluginView invalidateRegion:]):
511         (-[IFPluginView forceRedraw]):
512
513         
514         Put implementation of GetValue SetValue in npapi. 
515
516         * Plugins.subproj/npapi.h:
517         * Plugins.subproj/npapi.m:
518         (NPN_GetValue):
519         (NPN_SetValue):
520
521
522         Added drag & drop support.
523
524         * WebView.subproj/IFWebView.mm:
525         (-[IFWebView initWithFrame:]):
526         (-[IFWebView setCanDragFrom:]):
527         (-[IFWebView canDragFrom]):
528         (-[IFWebView setCanDragTo:]):
529         (-[IFWebView canDragTo]):
530         (-[IFWebView draggingEntered:]):
531         (-[IFWebView prepareForDragOperation:]):
532         (-[IFWebView performDragOperation:]):
533         * WebView.subproj/IFWebViewPrivate.h:
534         * WebView.subproj/IFWebViewPrivate.mm:
535         (-[IFWebViewPrivate dealloc]):
536
537 2002-05-20  John Sullivan  <sullivan@apple.com>
538
539         Support for bookmark separators
540
541         * Bookmarks.subproj/IFBookmark.h: Update comments and replace
542         isLeaf with bookmarkType.
543
544         * Bookmarks.subproj/IFBookmark.m:
545         (-[IFBookmark bookmarkType]): New method, replaces isLeaf.
546         (-[IFBookmark title]):
547         (-[IFBookmark setTitle:]):
548         (-[IFBookmark image]):
549         (-[IFBookmark setImage:]):
550         (-[IFBookmark setURLString:]):
551         (-[IFBookmark children]):
552         (-[IFBookmark numberOfChildren]):
553         (-[IFBookmark _numberOfDescendants]):
554         (-[IFBookmark insertChild:atIndex:]):
555         (-[IFBookmark removeChild:]):
556         Update callers of isLeaf, and don't require concrete implementations
557         of some methods for some types.
558
559         * Bookmarks.subproj/IFBookmarkLeaf.m:
560         (-[IFBookmarkLeaf bookmarkType]): return IFBookmarkTypeLeaf
561         (-[IFBookmarkLeaf _dictionaryRepresentation]): set value for bookmark type.
562
563         * Bookmarks.subproj/IFBookmarkList.m:
564         (-[IFBookmarkList _initFromDictionaryRepresentation:withGroup:]):
565         Handle separator case.
566         (-[IFBookmarkList _dictionaryRepresentation]): set value for bookmark type
567         (-[IFBookmarkList bookmarkType]): return IFBookmarkTypeList
568
569         * Bookmarks.subproj/IFBookmarkSeparator.h: Added.
570         * Bookmarks.subproj/IFBookmarkSeparator.m: Added.
571         (-[IFBookmarkSeparator initWithGroup:]): Simple init method.
572         (-[IFBookmarkSeparator _initFromDictionaryRepresentation:withGroup:]): Just calls
573         initWithGroup.
574         (-[IFBookmarkSeparator _dictionaryRepresentation]): set value for bookmark type
575         (-[IFBookmarkSeparator bookmarkType]): return IFBookmarkTypeSeparator
576         (-[IFBookmarkSeparator copyWithZone:]): calls initWithGroup
577
578         * Bookmarks.subproj/IFBookmark_Private.h: Added key/value #defines for dictionary
579         representation.
580
581         * Bookmarks.subproj/IFBookmarkGroup.h:
582         * Bookmarks.subproj/IFBookmarkGroup.m:
583         (-[IFBookmarkGroup _setTopBookmark:]):
584         (-[IFBookmarkGroup _bookmarkChildrenDidChange:]):
585         (-[IFBookmarkGroup addNewBookmarkToBookmark:withTitle:image:URLString:type:]):
586         Update callers of isLeaf to use bookmarkType instead.
587
588         (-[IFBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:withTitle:image:URLString:type:]):
589         if type is IFBookmarkTypeSeparator, instantiate an IFBookmarkSeparator
590
591         * WebKit.pbproj/project.pbxproj: Updated for new files.
592
593 2002-05-17  Chris Blumenberg  <cblu@apple.com>
594
595         - Made IFPluginStream the URL handle client instead of IFPluginView.
596         - Added support for NPP_PostURL and NPP_PostNotify.
597         - Possible fix for 2928558.
598
599         * Plugins.subproj/IFPluginStream.h:
600         * Plugins.subproj/IFPluginView.h:
601         * Plugins.subproj/IFPluginView.mm:
602         (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]):NSURL for url
603         instead of NSString
604         (-[IFPluginView dealloc]):
605         (-[IFPluginView setWindow]):
606         (-[IFPluginView start]): 
607         (-[IFPluginView stop]):
608         (-[IFPluginView webDataSource]):Accessor for IFPluginStream.
609         (-[IFPluginView webController]):Accessor for IFPluginStream.
610         (-[IFPluginView URLForString:]):
611         (-[IFPluginView getURLNotify:target:notifyData:]):
612         (-[IFPluginView postURLNotify:target:len:buf:file:notifyData:]):
613         (-[IFPluginView postURL:target:len:buf:file:]):
614         (-[IFPluginView destroyStream:reason:]):
615         (-[IFPluginView status:]):
616         (-[IFPluginView NPP_NewStream]): Accessor for IFPluginStream.
617         (-[IFPluginView NPP_WriteReady]):Accessor for IFPluginStream.
618         (-[IFPluginView NPP_Write]): Accessor for IFPluginStream.
619         (-[IFPluginView NPP_StreamAsFile]): Accessor for IFPluginStream.
620         (-[IFPluginView NPP_DestroyStream]): Accessor for IFPluginStream.
621         (-[IFPluginView NPP_URLNotify]): Accessor for IFPluginStream.
622         * WebCoreSupport.subproj/IFWebCoreViewFactory.m: Use new IFPluginView init method
623         (-[IFWebCoreViewFactory viewForPluginWithURL:serviceType:arguments:baseURL:]):
624         * WebKit.pbproj/project.pbxproj:
625
626 2002-05-16  Richard J. Williamson  <rjw@apple.com>
627
628         Fixed 2925638.  Don't send last progress message from resourceDataDidBecomeAvailable,
629         it is sent from IFURLHandleResourceDidFinishLoading, avoiding duplication.
630         
631         * WebView.subproj/IFMainURLHandleClient.mm:
632         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
633
634 2002-05-16  Richard J. Williamson  <rjw@apple.com>
635
636         Fix to fix for 0x7f to 0xa0.  I was being overly aggressive about
637         finding substitute glyphs.
638         
639         * WebCoreSupport.subproj/IFTextRenderer.m:
640         (-[IFTextRenderer drawCharacters:length:atPoint:withColor:]):
641         (-[IFTextRenderer floatWidthForCharacters:length:]):
642
643 2002-05-16  Darin Adler  <darin@apple.com>
644
645         * Plugins.subproj/IFPluginView.mm:
646         (-[IFPluginView IFURLHandleResourceDidFinishLoading:data:]):
647         Use this new getCarbonPath function rather than hardcoding assumptions
648         about "/tmp" being ":private:tmp".
649         (getCarbonPath): New.
650
651 2002-05-16  Darin Adler  <darin@apple.com>
652
653         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView mouseUp:]):
654         Fixed log statement so development builds work again.
655
656 2002-05-16  Darin Adler  <darin@apple.com>
657
658         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView mouseUp:]):
659         Remove unused variable that breaks optimized builds.
660
661 2002-05-15  Darin Adler  <darin@apple.com>
662
663         Another quick events cleanup pass.
664
665         * Plugins.subproj/IFPluginNullEventSender.m:
666         (-[IFPluginNullEventSender sendNullEvents]): Use [IFPluginView getCarbonEvent:].
667
668         * Plugins.subproj/IFPluginView.h: Make almost all methods private.
669         * Plugins.subproj/IFPluginView.mm:
670         (+[IFPluginView getCarbonEvent:]): New.
671         (-[IFPluginView getCarbonEvent:]): New, calls class method.
672         (-[IFPluginView modifiersForEvent:isMouseDown:]): Reversed sense of btnState.
673         This flag is set if the mouse is up, not if the mouse is down.
674         (-[IFPluginView getCarbonEvent:withEvent:isMouseDown:]): New.
675         (-[IFPluginView getCarbonEvent:withEvent:]): New.
676         (-[IFPluginView sendActivateEvent:]): Now takes parameter for activate vs.
677         deactivate and uses [getCarbonEvent:].
678         (-[IFPluginView sendUpdateEvent]): Uses [getCarbonEvent:].
679         (-[IFPluginView becomeFirstResponder]): Uses [getCarbonEvent:].
680         (-[IFPluginView resignFirstResponder]): Uses [getCarbonEvent:].
681         (-[IFPluginView mouseDown:]): Uses [getCarbonEvent:withEvent:isMouseDown:].
682         (-[IFPluginView mouseUp:]): Uses [getCarbonEvent:withEvent:isMouseDown:].
683         (-[IFPluginView mouseEntered:]): Uses [getCarbonEvent:withEvent:].
684         (-[IFPluginView mouseExited:]): Uses [getCarbonEvent:withEvent:].
685         (-[IFPluginView keyUp:]): Uses [getCarbonEvent:withEvent:].
686         (-[IFPluginView keyDown:]): Uses [getCarbonEvent:withEvent:].
687         (-[IFPluginView start]): Call [sendActivateEvent:YES].
688         (-[IFPluginView windowBecameKey:]): Call [sendActivateEvent:YES].
689         (-[IFPluginView windowResignedKey:]): Call [sendActivateEvent:NO].
690
691 2002-05-15  Richard J. Williamson  <rjw@apple.com>
692
693     Fixed problem dealing w/ characters in range 0x7f - 0xa0.
694     
695         * WebCoreSupport.subproj/IFTextRenderer.m:
696         (setGlyphForCharacter):
697         (-[IFTextRenderer drawCharacters:length:atPoint:withColor:]):
698         (-[IFTextRenderer floatWidthForCharacters:length:]):
699
700 2002-05-15  Chris Blumenberg  <cblu@apple.com>
701
702         Fixed Flash mouse-down, mouse-over Flash bug.
703         Added support for modifiers (control-click etc) (2884451).
704         A lot of events clean-up.
705
706         * Plugins.subproj/IFPluginNullEventSender.m:
707         (-[IFPluginNullEventSender sendNullEvents]):
708         * Plugins.subproj/IFPluginView.h:
709         * Plugins.subproj/IFPluginView.mm:
710         (newCString):
711         (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]):
712         (-[IFPluginView start]):
713         (-[IFPluginView drawRect:]):
714         (-[IFPluginView isFlipped]):
715         (-[IFPluginView currentModifiers]):
716         (-[IFPluginView modifiersForEvent:isMouseDown:]):
717         (-[IFPluginView sendActivateEvent]):
718         (-[IFPluginView sendUpdateEvent]):
719         (-[IFPluginView becomeFirstResponder]):
720         (-[IFPluginView resignFirstResponder]):
721         (-[IFPluginView mouseDown:]):
722         (-[IFPluginView mouseUp:]):
723         (-[IFPluginView mouseEntered:]):
724         (-[IFPluginView mouseExited:]):
725         (-[IFPluginView keyUp:]):
726         (-[IFPluginView keyDown:]):
727         (-[IFPluginView windowBecameKey:]):
728         (-[IFPluginView windowResignedKey:]):
729
730         Case-sensitivity issue with an include.
731
732         * WebView.subproj/IFWebView.mm:
733
734 2002-05-15  Darin Adler  <darin@apple.com>
735
736         * Makefile.am:
737         Use all-am and clean-am instead of all and clean because it's better and
738         to make "make check" at the top level work right.
739
740 2002-05-14  John Sullivan  <sullivan@apple.com>
741
742         Work to support copying bookmarks, needed for drag & drop
743         in Bookmarks window.
744
745         * Bookmarks.subproj/IFBookmark.h: Make IFBookmark conform to NSCopying.
746
747         * Bookmarks.subproj/IFBookmark.m:
748         (-[IFBookmark copyWithZone:]): insist that subclasses implement this.
749
750         * Bookmarks.subproj/IFBookmarkGroup.h:
751         * Bookmarks.subproj/IFBookmarkGroup.m:
752         (-[IFBookmarkGroup insertBookmark:atIndex:ofBookmark:]):
753         Removed this unnecessary method.
754
755         * Bookmarks.subproj/IFBookmarkLeaf.m:
756         (-[IFBookmarkLeaf copyWithZone:]): New method.
757
758         * Bookmarks.subproj/IFBookmarkList.m:
759         (-[IFBookmarkList copyWithZone:]): New method.
760
761 2002-05-14  Richard J. Williamson  <rjw@apple.com>
762
763     Fixed exception in log code.
764     
765         * WebCoreSupport.subproj/IFTextRenderer.m:
766         (-[IFTextRenderer floatWidthForCharacters:length:]):
767
768 2002-05-14  Richard J. Williamson  <rjw@apple.com>
769
770     Fixed 2926153, not getting correct messages after cancel.
771     Fixed leak of mouse events (Darin wanted this ASAP).
772     
773         * WebView.subproj/IFBaseWebControllerPrivate.mm:
774         (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]):
775         (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
776         * WebView.subproj/IFLocationChangeHandler.h:
777         * WebView.subproj/IFWebView.mm:
778         (-[IFWebView initWithFrame:]):
779         (-[IFWebView layout]):
780         (-[IFWebView mouseUp:]):
781         (-[IFWebView mouseDown:]):
782         (-[IFWebView mouseMovedNotification:]):
783
784 2002-05-14  Chris Blumenberg  <cblu@apple.com>
785
786         Removed retain of the URL handle. This was causing everything to leak.
787
788         * WebView.subproj/IFMainURLHandleClient.h:
789         * WebView.subproj/IFMainURLHandleClient.mm:
790         (-[IFMainURLHandleClient initWithDataSource:part:]):
791         (-[IFMainURLHandleClient dealloc]):
792         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
793         (-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]):
794         (-[IFMainURLHandleClient processData:isComplete:]):
795
796 2002-05-14  Darin Adler  <darin@apple.com>
797
798         * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]):
799         Remove code that makes us the first responder. That's up to the higher levels,
800         not the web view.
801
802 2002-05-14  John Sullivan  <sullivan@apple.com>
803
804         * History.subproj/IFURIEntry.h:
805         Oops, deleted the prototype for setLastVisitedDate
806         accidentally, which made Jersey sad.
807
808 2002-05-14  John Sullivan  <sullivan@apple.com>
809
810         Fixed 2919027 -- Need to remove unused code in WebKit/History.subproj
811
812         * History.subproj/IFAttributedURL.h: Removed.
813         * History.subproj/IFBackForwardList.h: Removed large #ifdef.
814         * History.subproj/IFURIEntry.h,
815         * History.subproj/IFURIEntry.m: Removed all mention of unused
816         fields comment, creationDate, modificationDate
817         * WebKit.pbproj/project.pbxproj: Updated for removed file.
818
819 2002-05-13  Chris Blumenberg  <cblu@apple.com>
820
821         Added support for setting the content policy on the location change handler
822         and data source at any time instead of depending on an immediate response.
823
824         * WebView.subproj/IFBaseWebController.mm:
825         (-[IFBaseWebController haveContentPolicy:andPath:forLocationChangeHandler:]):
826         * WebView.subproj/IFMainURLHandleClient.h:
827         * WebView.subproj/IFMainURLHandleClient.mm:
828         (-[IFMainURLHandleClient initWithDataSource:part:]):
829         (-[IFMainURLHandleClient dealloc]):
830         (-[IFMainURLHandleClient setContentPolicy:]):
831         (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]):
832         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
833         (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):
834         (-[IFMainURLHandleClient IFURLHandle:didRedirectToURL:]):
835         (-[IFMainURLHandleClient processData:isComplete:]):
836         * WebView.subproj/IFWebController.h:
837         * WebView.subproj/IFWebDataSourcePrivate.mm:
838         (-[IFWebDataSource _setContentPolicy:]):
839         * WebView.subproj/IFWebFrame.mm:
840         (-[IFWebFrame setProvisionalDataSource:]):
841
842 2002-05-13  Maciej Stachowiak  <mjs@apple.com>
843
844         * WebKitPrefix.h: Gratuitous change to make the prefix file
845         rebuild.
846
847 2002-05-13  Chris Blumenberg  <cblu@apple.com>
848
849         * WebView.subproj/IFBaseWebController.mm:
850         (-[IFBaseWebController URLPolicyForURL:]):
851         
852         Use [IFURLHandle canInitWithURL] instead of hard-coded URL schemes.
853
854         * WebView.subproj/IFBaseWebControllerPrivate.mm:
855         (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
856         * WebView.subproj/IFMainURLHandleClient.mm:
857         (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]):
858         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
859         * WebView.subproj/IFWebDataSourcePrivate.h:
860         * WebView.subproj/IFWebDataSourcePrivate.mm:
861         (-[IFWebDataSourcePrivate init]):
862         (-[IFWebDataSource _setDownloadPath:]):
863
864         Removed _contentPolicy as contentPolicy is public. 
865
866         Initialize contentPolicy in [IFWebDataSourcePrivate init].
867
868 2002-05-10  Richard J. Williamson  <rjw@apple.com>
869
870         Logging changes.
871         
872         * WebCoreSupport.subproj/IFTextRenderer.m:
873         * WebView.subproj/IFWebDataSource.mm:
874         (-[IFWebDataSource isLoading]):
875         * WebView.subproj/IFWebFramePrivate.mm:
876         (-[IFWebFrame _isLoadComplete]):
877
878 2002-05-10  Chris Blumenberg  <cblu@apple.com>
879
880         Added support for non-html non-file URL data sources. 
881         Added the init methods below. Removed initWithHandle.
882
883         * WebView.subproj/IFWebDataSource.h:
884         * WebView.subproj/IFWebDataSource.mm:
885         (IFWebDataSourceMake):
886         (-[IFWebDataSource initWithURL:]):
887         (-[IFWebDataSource initWithURL:attributes:]):
888         (-[IFWebDataSource startLoading:]):
889
890 2002-05-10  Darin Adler  <darin@apple.com>
891
892         * WebCoreSupport.subproj/IFTextRenderer.h: Moved most of the
893         stuff from here into the .m file so this header can be included
894         by clients. Also added floatWidthForCharacters:length:.
895         * WebCoreSupport.subproj/IFTextRenderer.m:
896         (freeWidthMap): Check for NULL.
897         (freeGlyphMap): Check for NULL.
898         (-[IFTextRenderer slowFloatWidthForCharacters:length:]): Renamed,
899         and made it return the float.
900         (-[IFTextRenderer floatWidthForCharacters:length:]): Renamed, and
901         made it return the float.
902         (-[IFTextRenderer widthForCharacters:length:]): Do rounding here.
903
904         * WebCoreSupport.subproj/IFTextRendererFactory.h:
905         * WebCoreSupport.subproj/IFTextRendererFactory.m:
906         Make the interface slightly easier to use by using the specific types.
907
908         * WebKit.pbproj/project.pbxproj: Exported the headers.
909
910 2002-05-10  Kenneth Kocienda  <kocienda@apple.com>
911
912         Fixed build breakage caused by my previous checkin.
913
914         * WebView.subproj/IFMainURLHandleClient.mm:
915         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:])
916
917 2002-05-10  John Sullivan  <sullivan@apple.com>
918
919         Fixed 2922756 (@ image in History window is a little too tall)
920         Fixed 2923790 (bookmark folders need folder icons)
921
922         * Resources/bookmark_folder.tiff: New image (small folder, copied from elsewhere)
923         * Resources/url_icon.tiff: Shrunk this one a little bit.
924
925         * Bookmarks.subproj/IFBookmarkList.m:
926         (-[IFBookmarkList image]): Return the default image if no custom image is set.
927
928         * History.subproj/IFURIEntry.m:
929         (-[IFURIEntry image]): If the default image's file isn't found, don't try
930         to create an NSImage, because it will come out horribly broken and evil if
931         you do (I ran into this while adding the bookmark folder image; most of Alexander's
932         menus did not appear at all because the bookmark folder image was using a bogus
933         NSImage).
934
935         * WebKit.pbproj/project.pbxproj: Updated for new files.
936
937 2002-05-10  Kenneth Kocienda  <kocienda@apple.com>
938
939         Reviewed by: Maciej Stachowiak
940
941         This code was modified to use the new interface and features of IFError.
942         These features and changes are described in these four bug reports:
943
944         Radar 2923998 (Change IFError private data into a pointer to a private data object)
945         Radar 2924002 (IFError should include an error domain)
946         Radar 2924013 (IFError initialization is not threadsafe)        
947         Radar 2924280 (IFError should contain a new field which tells whether the error is terminal)
948                                                             
949         * Plugins.subproj/IFPluginView.mm:
950         (-[IFPluginView IFURLHandle:resourceDidFailLoadingWithResult:]):
951         * WebView.subproj/IFBaseWebControllerPrivate.mm:
952         (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]):
953         (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
954         * WebView.subproj/IFMainURLHandleClient.mm:
955         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
956
957 2002-05-09  Richard J. Williamson  <rjw@apple.com>
958
959     Tuned implementation more.  Cleaned up and factored code.
960
961         * WebCoreSupport.subproj/IFTextRenderer.h:
962         * WebCoreSupport.subproj/IFTextRenderer.m:
963         (-[IFTextRenderer substituteFontForString:]):
964         (-[IFTextRenderer substituteFontForCharacters:length:]):
965         (-[IFTextRenderer initWithFont:]):
966         (-[IFTextRenderer dealloc]):
967         (-[IFTextRenderer slowPackGlyphsForCharacters:numCharacters:glyphBuffer:numGlyphs:]):
968         (-[IFTextRenderer drawString:atPoint:withColor:]):
969         (-[IFTextRenderer drawCharacters:length:atPoint:withColor:]):
970         (-[IFTextRenderer drawUnderlineForString:atPoint:withColor:]):
971         (-[IFTextRenderer slowWidthForCharacters:length:]):
972         (-[IFTextRenderer widthForCharacters:length:]):
973         (-[IFTextRenderer extendGlyphToWidthMapToInclude:]):
974
975 2002-05-09  John Sullivan  <sullivan@apple.com>
976
977         * Bookmarks.subproj/IFBookmarkGroup.h:
978         * Bookmarks.subproj/IFBookmarkGroup.m:
979         (-[IFBookmarkGroup addNewBookmarkToBookmark:withTitle:image:URLString:isLeaf:]):
980         (-[IFBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:withTitle:image:URLString:isLeaf:]):
981         Gave these two methods return values of the new bookmark created, to make callers'
982         lives easier.
983
984 === Alexander-3 ===
985
986 2002-05-08  Richard J. Williamson  <rjw@apple.com>
987
988     Added optimizations for text rendering.
989     
990         * WebCoreSupport.subproj/IFTextRenderer.h:
991         * WebCoreSupport.subproj/IFTextRenderer.m:
992         (freeWidthMap):
993         (freeGlyphMap):
994         (glyphForCharacter):
995         (widthForGlyph):
996         (widthForCharacter):
997         (-[IFTextRenderer substituteFontForCharacters:length:]):
998         (-[IFTextRenderer convertCharacters:length:glyphs:]):
999         (-[IFTextRenderer dealloc]):
1000         (-[IFTextRenderer drawString:atPoint:withColor:]):
1001         (-[IFTextRenderer drawUnderlineForString:atPoint:withColor:]):
1002         (-[IFTextRenderer widthForCharacters:length:]):
1003         (-[IFTextRenderer extendCharacterToGlyphMapToInclude:]):
1004         (-[IFTextRenderer extendGlyphToWidthMapToInclude:]):
1005
1006 2002-05-08  Darin Adler  <darin@apple.com>
1007
1008         * Misc.subproj/IFCache.h: Add more JavaScript object statistics.
1009         * Misc.subproj/IFCache.mm:
1010         (+[IFCache javaScriptInterpretersCount]): New.
1011         (+[IFCache javaScriptNoGCAllowedObjectsCount]): New.
1012         (+[IFCache javaScriptReferencedObjectsCount]): New.
1013
1014         * WebKit.pbproj/project.pbxproj: Rearranged two files, dunno why.
1015
1016 2002-05-08  Chris Blumenberg  <cblu@apple.com>
1017
1018         Cleaned up mach-o plug-in support.
1019         
1020         Changed the init method in IFPlugin to initWithPath.
1021
1022         * Plugins.subproj/IFPlugin.h:
1023         * Plugins.subproj/IFPlugin.m:
1024         (-[IFPlugin initWithPath:]):
1025         (-[IFPlugin load]):
1026         * Plugins.subproj/IFPluginDatabase.m:
1027         (findPlugins):
1028
1029 2002-05-08  Darin Adler  <darin@apple.com>
1030
1031         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setTitle:]):
1032         Use _IF_stringByTrimmingWhitespace.
1033
1034 2002-05-07  Richard J. Williamson  <rjw@apple.com>
1035
1036         First pass at font substitution.  Find a substitute font to
1037         use when the specified font doesn't have glyphs for the characters that
1038         need to be drawn.
1039         
1040         Works correctly but hasn't been optimized yet, VERY slow.
1041         Will optimize this evening and tomorrow.  Try www.yahoo.co.jp,
1042         it will take a long time to render be eventually will draw correctly.
1043         
1044         * WebCoreSupport.subproj/IFTextRenderer.h:
1045         * WebCoreSupport.subproj/IFTextRenderer.m:
1046         (hasMissingGlyphs):
1047         (+[IFTextRenderer initialize]):
1048         (-[IFTextRenderer convertCharacters:length:glyphs:]):
1049         (-[IFTextRenderer initializeCaches]):
1050         (-[IFTextRenderer drawString:atPoint:withColor:]):
1051         (-[IFTextRenderer drawUnderlineForString:atPoint:withColor:]):
1052         (-[IFTextRenderer widthForCharacters:length:]):
1053
1054 2002-05-07  Darin Adler  <darin@apple.com>
1055
1056         Oops. These files don't belong at the top level.
1057
1058         * IFWebCoreViewFactory.h: Removed.
1059         * IFWebCoreViewFactory.m: Removed.
1060         * WebCoreSupport.subproj/IFWebCoreViewFactory.h: Added.
1061         * WebCoreSupport.subproj/IFWebCoreViewFactory.m: Added.
1062         * WebKit.pbproj/project.pbxproj:
1063
1064 2002-05-07  Darin Adler  <darin@apple.com>
1065
1066         Move more plugin code here from WebCore.
1067
1068         * IFWebCoreViewFactory.h: Added.
1069         * IFWebCoreViewFactory.m: Added.
1070
1071         * Plugins.subproj/IFPlugin.h: Moved from WebCore.
1072         * Plugins.subproj/IFPlugin.m: Moved from WebCore.
1073         * Plugins.subproj/IFPluginDatabase.h: Moved from WebCore.
1074         * Plugins.subproj/IFPluginDatabase.m: Moved from WebCore.
1075         * Plugins.subproj/npapi.h: Moved from WebCore.
1076         * Plugins.subproj/npapi.m: Moved from WebCore.
1077
1078         * WebKit.pbproj/project.pbxproj: Source file names changed
1079
1080         * MIME.subproj/IFMIMEDatabase.m:
1081         * MIME.subproj/IFMIMEHandler.m:
1082         * Plugins.subproj/IFPluginView.h:
1083         * Plugins.subproj/IFPluginView.mm:
1084         Updated for WC -> IF name change.
1085
1086         * WebCoreSupport.subproj/IFCachedTextRenderer.h: Renamed to IFTextRenderer.
1087         * WebCoreSupport.subproj/IFCachedTextRenderer.m: Renamed to IFTextRenderer.
1088         * WebCoreSupport.subproj/IFCachedTextRendererFactory.h: Renamed to IFTextRendererFactory.
1089         * WebCoreSupport.subproj/IFCachedTextRendererFactory.m: Renamed to IFTextRendererFactory.
1090         * WebCoreSupport.subproj/IFTextRenderer.h: Renamed from IFCachedTextRenderer.
1091         * WebCoreSupport.subproj/IFTextRenderer.m: Renamed from IFCachedTextRenderer.
1092         * WebCoreSupport.subproj/IFTextRendererFactory.h: Renamed from IFCachedTextRendererFactory.
1093         * WebCoreSupport.subproj/IFTextRendererFactory.m: Renamed from IFCachedTextRendererFactory.
1094         Renamed to take "Cached" out of the name now that the simpler name is
1095         available.
1096
1097         * WebView.subproj/IFWebView.mm:
1098         (-[IFWebView initWithFrame:]): Create shared IFWebCoreViewFactory.
1099         (-[IFWebView delayLayout:]): Use WEBKITDEBUG, not KWQDEBUG.
1100         (-[IFWebView notificationReceived:]): Use WEBKITDEBUG, not KWQDEBUG.
1101
1102 2002-05-07  Darin Adler  <darin@apple.com>
1103
1104         Use isEqualToString: instead of isEqual: more consistently. But only for strings.
1105
1106         * WebCoreSupport.subproj/IFCachedTextRendererFactory.m:
1107         (-[IFFontCacheKey isEqual:]):
1108         * WebView.subproj/IFBaseWebController.mm:
1109         (-[IFBaseWebController _frameNamed:fromFrame:]):
1110
1111 2002-05-06  John Sullivan  <sullivan@apple.com>
1112
1113         Some improvements to the bookmark changed notifications.
1114
1115         * Bookmarks.subproj/IFBookmarkGroup.h:
1116         * Bookmarks.subproj/IFBookmarkGroup.m:
1117         (-[IFBookmarkGroup _sendChangeNotificationForBookmark:childrenChanged:]):
1118         (-[IFBookmarkGroup _setTopBookmark:]):
1119         (-[IFBookmarkGroup _bookmarkDidChange:]):
1120         (-[IFBookmarkGroup _bookmarkChildrenDidChange:]):
1121         Send bookmark that changed and whether its children changed as part of
1122         change notifications, so clients can choose to do less unnecessary work.
1123
1124         * Bookmarks.subproj/IFBookmarkLeaf.m:
1125         (-[IFBookmarkLeaf setTitle:]): Check for the no-change case
1126         and bail out without sending notification when you find it.
1127
1128 2002-05-06  Darin Adler  <darin@apple.com>
1129
1130         * WebKitPrefix.h: Added.
1131         * WebKit.pbproj/project.pbxproj: Use PFE precompiling.
1132         Also switch from xNDEBUG to NDEBUG.
1133
1134         * Misc.subproj/WebKitDebug.h: Get rid of format attribute because of bug
1135         2920557. Switch from xNDEBUG to NDEBUG.
1136
1137         * Misc.subproj/WebKitDebug.m:
1138         Add undef to work around PFE problem with inline functions, Radar 2920554.
1139
1140         * Plugins.subproj/IFPluginView.mm: Changed how we work around the bug in
1141         the CGS defines.
1142
1143         * WebCoreSupport.subproj/IFCachedTextRenderer.h: Change include of the
1144         private QD header to use the form that works with more-normal way of
1145         getting at the private bits of frameworks.
1146
1147         * WebCoreSupport.subproj/IFCachedTextRenderer.m: Use the header
1148         <CoreGraphics/CoreGraphicsPrivate.h> instead of <CoreGraphics/CGFontPrivate.h>.
1149
1150         * Misc.subproj/IFCache.mm:
1151         * WebView.subproj/IFLoadProgress.mm:
1152         * WebView.subproj/IFWebFrame.mm:
1153         * WebView.subproj/IFWebFramePrivate.mm:
1154         * WebView.subproj/IFWebView.mm:
1155         Changed includes to imports.
1156
1157 2002-05-06  Chris Blumenberg  <cblu@apple.com>
1158
1159         Made start and stop work cleaner. 
1160
1161         Now observe defaults changes so that plug-ins
1162         are disabled or enabled immediately (2871725). 
1163
1164         * Plugins.subproj/IFPluginNullEventSender.m:
1165         (-[IFPluginNullEventSender sendNullEvents]):
1166         * Plugins.subproj/IFPluginView.h:
1167         * Plugins.subproj/IFPluginView.mm:
1168         (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]):
1169         (-[IFPluginView start]):
1170         (-[IFPluginView stop]):
1171         (-[IFPluginView drawRect:]):
1172         (-[IFPluginView windowWillClose:]):
1173         (-[IFPluginView defaultsHaveChanged:]):
1174
1175 2002-05-06  Richard J. Williamson  <rjw@apple.com>
1176
1177         Fixed width measurement regression.  We lost the final ROUND_TO_INT
1178         in the width measurement funtion after the move from WebCore.
1179         
1180         * WebCoreSupport.subproj/IFCachedTextRenderer.m:
1181         (-[IFCachedTextRenderer widthForCharacters:length:]):
1182
1183 2002-05-06  Richard J. Williamson  <rjw@apple.com>
1184
1185         Changes to support dhtml.
1186         
1187         * WebView.subproj/IFWebView.mm:
1188
1189 2002-05-06  John Sullivan  <sullivan@apple.com>
1190
1191         * Resources/url_icon.tiff: New bookmarks/history icon, looks
1192         more like the springy @ sign as seen from above, less like text.
1193
1194 2002-05-03  John Sullivan  <sullivan@apple.com>
1195
1196         Along with small corresponding WebBrowser change,       
1197         fixed 2919172 (Bookmarks aren't saved between sessions).
1198
1199         * Bookmarks.subproj/IFBookmark_Private.h: Declarations for new private methods.
1200         * Bookmarks.subproj/IFBookmark.m:
1201         (-[IFBookmark _numberOfDescendants]): New private method, counts deep; used
1202         only for debugging messages at this time.
1203         (-[IFBookmark _initFromDictionaryRepresentation:withGroup:]):
1204         (-[IFBookmark _dictionaryRepresentation]): New private methods used to save/load
1205         bookmarks. Stub implementations; subclasses must implement.
1206
1207         * Bookmarks.subproj/IFBookmarkLeaf.m:
1208         (-[IFBookmarkLeaf _initFromDictionaryRepresentation:withGroup:]):
1209         (-[IFBookmarkLeaf _dictionaryRepresentation]): New methods.
1210
1211         * Bookmarks.subproj/IFBookmarkList.m:
1212         (-[IFBookmarkList _initFromDictionaryRepresentation:withGroup:]):
1213         (-[IFBookmarkList _dictionaryRepresentation]):
1214         (-[IFBookmarkList _numberOfDescendants]):
1215         New methods.
1216         (-[IFBookmarkList _setGroup:]): Recurse on children.
1217
1218         * Bookmarks.subproj/IFBookmarkGroup.h: New _loading instance variable.
1219
1220         * Bookmarks.subproj/IFBookmarkGroup.m:
1221         (-[IFBookmarkGroup _setTopBookmark:]): Renamed from _resetTopBookmark,
1222         now has potentially non-nil argument.
1223         (-[IFBookmarkGroup initWithFile:]),
1224         (-[IFBookmarkGroup removeBookmark:]): Updated for name change.
1225         (-[IFBookmarkGroup _sendBookmarkGroupChangedNotification]):
1226         Don't send notifications while loading bookmarks from disk.
1227         (-[IFBookmarkGroup _loadBookmarkGroupGuts]),
1228         (-[IFBookmarkGroup loadBookmarkGroup]),
1229         (-[IFBookmarkGroup _saveBookmarkGroupGuts]),
1230         (-[IFBookmarkGroup saveBookmarkGroup]): New methods, load/save bookmarks
1231         and report timings.
1232
1233         * History.subproj/IFURIEntry.m:
1234         (-[IFURIEntry dictionaryRepresentation]),
1235         (-[IFURIEntry initFromDictionaryRepresentation:]): Handle nil URL
1236         case, which bookmarks run into.
1237
1238         * WebKit.pbproj/project.pbxproj: version wars
1239
1240 2002-05-03  Darin Adler  <darin@apple.com>
1241
1242         * WebCoreSupport.subproj/IFCachedTextRenderer.m: Remove some of the unused code.
1243         I was going to wait and let Richard do it next week, but I was unable to control
1244         my urge to hack on it.
1245
1246 2002-05-03  Darin Adler  <darin@apple.com>
1247
1248         * Resources/url_icon.tiff: Improved icon. Could be better.
1249
1250 2002-05-03  Darin Adler  <darin@apple.com>
1251
1252         * Misc.subproj/WebKitDebug.h: Add WEBKIT_LOG_MEMUSAGE, WEBKIT_LOG_FONTCACHE, and
1253         WEBKIT_LOG_FONTCACHECHARMISS for font code moved here from WebCore.
1254
1255         * Resources/url_icon.tiff: New URL icon?
1256
1257         * WebCoreSupport.subproj/IFCachedTextRenderer.h: Added.
1258         * WebCoreSupport.subproj/IFCachedTextRenderer.m: Added.
1259         * WebCoreSupport.subproj/IFCachedTextRendererFactory.h: Added.
1260         * WebCoreSupport.subproj/IFCachedTextRendererFactory.m: Added.
1261         This has code moved here from WebCore.
1262
1263         * WebKit.pbproj/project.pbxproj: Add the new source files.
1264
1265         * Bookmarks.subproj/IFBookmarkLeaf.m:
1266         (-[IFBookmarkLeaf setURLString:]): Use copy instead of initWithString.
1267         * Bookmarks.subproj/IFBookmarkList.m:
1268         (-[IFBookmarkList initWithTitle:image:group:]): Use copy instead of stringWithString.
1269         (-[IFBookmarkList setTitle:]): Use copy instead of stringWithString.
1270         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setTitle:]):
1271         Use mutableCopy instead of stringWithString.
1272         * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]): Use copy instead
1273         of stringWithString.
1274
1275 2002-05-02  John Sullivan  <sullivan@apple.com>
1276
1277         Changed API such that mutating methods can now be called on bookmark objects,
1278         which in turn tell their group that they have changed (so the group can send
1279         out notifications).
1280
1281         * Bookmarks.subproj/IFBookmark.h:
1282         * Bookmarks.subproj/IFBookmark.m:
1283         (-[IFBookmark setTitle:]):
1284         (-[IFBookmark setImage:]):
1285         (-[IFBookmark setURLString:]):
1286         (-[IFBookmark insertChild:atIndex:]):
1287         (-[IFBookmark removeChild:]):
1288         (-[IFBookmark _parent]):
1289         (-[IFBookmark _group]):
1290         * Bookmarks.subproj/IFBookmarkGroup.h:
1291         * Bookmarks.subproj/IFBookmarkGroup.m:
1292         (-[IFBookmarkGroup _resetTopBookmark]):
1293         (-[IFBookmarkGroup _bookmarkDidChange:]):
1294         (-[IFBookmarkGroup _bookmarkChildrenDidChange:]):
1295         (-[IFBookmarkGroup removeBookmark:]):
1296         (-[IFBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:withTitle:image:URLString:isLeaf:]):
1297         * Bookmarks.subproj/IFBookmarkLeaf.m:
1298         (-[IFBookmarkLeaf setTitle:]):
1299         (-[IFBookmarkLeaf setImage:]):
1300         (-[IFBookmarkLeaf setURLString:]):
1301         * Bookmarks.subproj/IFBookmarkList.m:
1302         (-[IFBookmarkList setTitle:]):
1303         (-[IFBookmarkList setImage:]):
1304         (-[IFBookmarkList removeChild:]):
1305         (-[IFBookmarkList insertChild:atIndex:]):
1306         * Bookmarks.subproj/IFBookmark_Private.h:
1307         Made _parent and _group private; made setTitle, setImage, setURLString,
1308         insertChild:atIndex:, and removeChild: public.
1309
1310         * Bookmarks.subproj/IFBookmarkGroup_Private.h: Added.
1311         * WebKit.pbproj/project.pbxproj: Changed for new file.
1312
1313 2002-05-02  John Sullivan  <sullivan@apple.com>
1314
1315         Implemented removing the root node bookmark (i.e.,
1316         removing all bookmarks with one call).
1317
1318         * Bookmarks.subproj/IFBookmarkGroup.m:
1319         (-[IFBookmarkGroup _resetTopBookmark]): New method, releases
1320         old topBookmark and creates new one.
1321         (-[IFBookmarkGroup initWithFile:]): Call _resetTopBookmark.
1322         (-[IFBookmarkGroup removeBookmark:]): If the bookmark being
1323         removed is the top one, call _resetTopBookmark.
1324
1325 2002-05-02  John Sullivan  <sullivan@apple.com>
1326
1327         Some more implementation of bookmarks code, enough to support
1328         adding bookmarks to the Bookmarks menu (but not yet enough to
1329         support persistent bookmarks).
1330
1331         * Bookmarks.subproj/IFBookmark_Private.h:
1332         * Bookmarks.subproj/IFBookmark.h:
1333         * Bookmarks.subproj/IFBookmark.m:
1334         (-[IFBookmark numberOfChildren]): New public method, stub implementation.
1335         (-[IFBookmark _removeChild:]): New private method, stub implementation.
1336
1337         * Bookmarks.subproj/IFBookmarkGroup.h:
1338         * Bookmarks.subproj/IFBookmarkGroup.m:
1339         (-[IFBookmarkGroup _sendBookmarkGroupChangedNotification]):
1340         (-[IFBookmarkGroup removeBookmark:]):
1341         (-[IFBookmarkGroup addNewBookmarkToBookmark:withTitle:image:URLString:isLeaf:]):
1342         (-[IFBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:withTitle:image:URLString:isLeaf:]):
1343         (-[IFBookmarkGroup updateBookmark:title:image:URLString:]):
1344         Changed "URL" to "URLString" in several places, added a "with"
1345         to some parameter names; added addNewBookmarkToBookmark public 
1346         method; added notification that's sent when bookmarks are added or removed.
1347
1348         * Bookmarks.subproj/IFBookmarkLeaf.h:
1349         * Bookmarks.subproj/IFBookmarkLeaf.m:
1350         (-[IFBookmarkLeaf initWithURLString:title:image:group:]):
1351         Added image parameter.
1352
1353         * Bookmarks.subproj/IFBookmarkList.m:
1354         (-[IFBookmarkList numberOfChildren]): New method.
1355         (-[IFBookmarkList _removeChild:]): Implemented.
1356
1357 2002-04-30  John Sullivan  <sullivan@apple.com>
1358
1359         Added initial set of files/API and some of the code for
1360         bookmarks support. Nobody calls it yet, but it compiles.
1361         I wanted to get this in before I ran into project file
1362         merge conflicts.
1363
1364         * Bookmarks.subproj/IFBookmark.h: Added.
1365         * Bookmarks.subproj/IFBookmark_Private.h: Added.
1366         * Bookmarks.subproj/IFBookmark.m: Added.
1367         (-[IFBookmark dealloc]):
1368         (-[IFBookmark title]):
1369         (-[IFBookmark _setTitle:]):
1370         (-[IFBookmark image]):
1371         (-[IFBookmark _setImage:]):
1372         (-[IFBookmark isLeaf]):
1373         (-[IFBookmark URLString]):
1374         (-[IFBookmark _setURLString:]):
1375         (-[IFBookmark children]):
1376         (-[IFBookmark _insertChild:atIndex:]):
1377         (-[IFBookmark parent]):
1378         (-[IFBookmark _setParent:]):
1379         (-[IFBookmark group]):
1380         (-[IFBookmark _setGroup:]):
1381         * Bookmarks.subproj/IFBookmarkGroup.h: Added.
1382         * Bookmarks.subproj/IFBookmarkGroup.m: Added.
1383         (+[IFBookmarkGroup bookmarkGroupWithFile:]):
1384         (-[IFBookmarkGroup initWithFile:]):
1385         (-[IFBookmarkGroup dealloc]):
1386         (-[IFBookmarkGroup topBookmark]):
1387         (-[IFBookmarkGroup insertBookmark:atIndex:ofBookmark:]):
1388         (-[IFBookmarkGroup removeBookmark:]):
1389         (-[IFBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:title:image:URL:isLeaf:]):
1390         (-[IFBookmarkGroup updateBookmark:title:image:URL:]):
1391         (-[IFBookmarkGroup file]):
1392         (-[IFBookmarkGroup loadBookmarkGroup]):
1393         (-[IFBookmarkGroup saveBookmarkGroup]):
1394         * Bookmarks.subproj/IFBookmarkLeaf.h: Added.
1395         * Bookmarks.subproj/IFBookmarkLeaf.m: Added.
1396         (-[IFBookmarkLeaf dealloc]):
1397         (-[IFBookmarkLeaf title]):
1398         (-[IFBookmarkLeaf _setTitle:]):
1399         (-[IFBookmarkLeaf image]):
1400         (-[IFBookmarkLeaf _setImage:]):
1401         (-[IFBookmarkLeaf isLeaf]):
1402         (-[IFBookmarkLeaf URLString]):
1403         (-[IFBookmarkLeaf _setURLString:]):
1404         * Bookmarks.subproj/IFBookmarkList.h: Added.
1405         * Bookmarks.subproj/IFBookmarkList.m: Added.
1406         (-[IFBookmarkList initWithTitle:image:group:]):
1407         (-[IFBookmarkList dealloc]):
1408         (-[IFBookmarkList title]):
1409         (-[IFBookmarkList _setTitle:]):
1410         (-[IFBookmarkList image]):
1411         (-[IFBookmarkList _setImage:]):
1412         (-[IFBookmarkList isLeaf]):
1413         (-[IFBookmarkList children]):
1414         (-[IFBookmarkList _insertChild:atIndex:]):
1415
1416         * WebKit.pbproj/project.pbxproj: Updated for new files.
1417
1418 2002-04-29  Richard Williamson  <rjw@apple.com>
1419
1420         Fix to 2915688.  I wasn't checking if the main document error had an error, only
1421         the resource errors.
1422         
1423         * WebView.subproj/IFWebFramePrivate.mm:
1424         (-[IFWebFrame _isLoadComplete]):
1425
1426 2002-04-29  Richard Williamson  <rjw@apple.com>
1427
1428         Restored file, line, and function to log messages.
1429         
1430         * Misc.subproj/WebKitDebug.m:
1431         (WebKitLog):
1432
1433 2002-04-25  Darin Adler  <darin@apple.com>
1434
1435         * History.subproj/IFWebHistoryPrivate.m:
1436         (-[IFWebHistoryPrivate _loadHistoryGuts:]): Use NSDictionary instead
1437         of NSObject to avoid a cast.
1438
1439         * WebView.subproj/IFLocationChangeHandler.h: Add NSObject as a required
1440         protocol so we can retain and release.
1441         * WebView.subproj/IFWebController.h: Add NSObject as a required protocol
1442         so we can retain and release.
1443
1444         * WebView.subproj/IFWebDataSourcePrivate.mm:
1445         (-[IFWebDataSourcePrivate dealloc]):
1446         (-[IFWebDataSource _setLoading:]):
1447         (-[IFWebDataSource _setController:]):
1448         (-[IFWebDataSource _setLocationChangeHandler:]):
1449         * WebView.subproj/IFWebViewPrivate.mm:
1450         (-[IFWebViewPrivate dealloc]):
1451         Removed NSObject * casts that were used to work around the problem fixed above.
1452
1453 2002-04-25  Chris Blumenberg  <set EMAIL_ADDRESS environment variable>
1454
1455         * MIME.subproj/IFDownloadHandler.h:
1456         * MIME.subproj/IFDownloadHandler.mm:
1457         (+[IFDownloadHandler launchURL:]):
1458
1459         Added the above method as a way to universally launch an URL
1460         within WebKit
1461
1462         * WebView.subproj/IFBaseWebController.mm:
1463         (-[IFBaseWebController URLPolicyForURL:]):
1464
1465         We handle http, https and file URL's
1466
1467         * WebView.subproj/IFWebDataSource.mm:
1468         (-[IFWebDataSource initWithURL:]):
1469         (-[IFWebDataSource startLoading:]):
1470
1471         The IFURLHandle is now lazilly allocated.
1472
1473         * WebView.subproj/IFWebFrame.mm:
1474         (-[IFWebFrame setProvisionalDataSource:]):
1475
1476         We only load a data source if the URL policy is IFURLPolicyUseContentPolicy
1477
1478 2002-04-25  Richard Williamson  <rjw@apple.com>
1479
1480         Fixed problem with errors potentially being reported on
1481         wrong data source by moving collected errors from frame
1482         to datasource.
1483         
1484         Little changes in preparation for events.
1485         
1486         * WebView.subproj/IFBaseWebControllerPrivate.mm:
1487         (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]):
1488         (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
1489         (-[IFBaseWebController _receivedError:forResource:partialProgress:fromDataSource:]):
1490         (-[IFBaseWebController _mainReceivedError:forResource:partialProgress:fromDataSource:]):
1491         * WebView.subproj/IFWebDataSource.h:
1492         * WebView.subproj/IFWebDataSource.mm:
1493         (-[IFWebDataSource errors]):
1494         (-[IFWebDataSource mainDocumentError]):
1495         * WebView.subproj/IFWebDataSourcePrivate.h:
1496         * WebView.subproj/IFWebDataSourcePrivate.mm:
1497         (-[IFWebDataSourcePrivate dealloc]):
1498         (-[IFWebDataSource _startLoading:]):
1499         (-[IFWebDataSource _setMainDocumentError:]):
1500         (-[IFWebDataSource _clearErrors]):
1501         (-[IFWebDataSource _addError:forResource:]):
1502         * WebView.subproj/IFWebFrame.h:
1503         * WebView.subproj/IFWebFrame.mm:
1504         (-[IFWebFrame reload:]):
1505         (-[IFWebFrame reset]):
1506         * WebView.subproj/IFWebFramePrivate.h:
1507         * WebView.subproj/IFWebFramePrivate.mm:
1508         (-[IFWebFramePrivate dealloc]):
1509         (-[IFWebFrame _isLoadComplete]):
1510         (-[IFWebFrame _checkLoadComplete]):
1511         * WebView.subproj/IFWebView.mm:
1512         (-[IFWebView acceptsFirstResponder]):
1513         (-[IFWebView layout]):
1514         (-[IFWebView drawRect:]):
1515
1516 2002-04-25  Darin Adler  <darin@apple.com>
1517
1518         Rework plugin code to prepare to move more of here from WebCore.
1519
1520         * Plugins.subproj/IFPluginView.mm:
1521         (IFPluginViewCreate): New. Does all the work of creating an NSView
1522         for a plug-in, including stuff previously done in WebCore.
1523         (IFJavaAppletViewCreate): Same as above, for Java applets.
1524         (+[IFPluginView load]): Set up the function pointers using the new
1525         improved WebCore API.
1526
1527         * Plugins.subproj/IFNullPluginView.mm:
1528         (-[IFNullPluginView load]): Remove this setup because now there's
1529         no separate call to set up a null plug-in.
1530
1531 2002-04-25  John Sullivan  <sullivan@apple.com>
1532
1533         Fixed 2911915 (Exception in -[IFWebView mouseMoved])
1534
1535         * WebView.subproj/IFWebView.mm:
1536         (-[IFWebView mouseDown:]): Changed "mouseUp" to "mouseDown"
1537         in exception message.
1538
1539         (-[IFWebView mouseMoved:]): Removed bogus event-type checking
1540         that caused this method to (always?) throw an exception when
1541         invoked.
1542
1543 2002-04-24  Chris Blumenberg  <cblu@apple.com>
1544
1545         Renamed [IFWebDataSource frame] to [IFWebDataSource webFrame]
1546
1547         * WebView.subproj/IFBaseWebControllerPrivate.mm:
1548         (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]):
1549         (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
1550         (-[IFBaseWebController _receivedError:forResource:partialProgress:fromDataSource:]):
1551         (-[IFBaseWebController _mainReceivedError:forResource:partialProgress:fromDataSource:]):
1552         * WebView.subproj/IFMainURLHandleClient.mm:
1553         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
1554         * WebView.subproj/IFWebDataSource.h:
1555         * WebView.subproj/IFWebDataSource.mm:
1556         (-[IFWebDataSource webFrame]):
1557         (-[IFWebDataSource frameName]):
1558         (-[IFWebDataSource isLoading]):
1559         * WebView.subproj/IFWebDataSourcePrivate.mm:
1560         (-[IFWebDataSource _startLoading:]):
1561         (-[IFWebDataSource _setTitle:]):
1562
1563 2002-04-24  Richard Williamson  <rjw@apple.com>
1564
1565         Changed ordering of messages so activity viewer doesn't get -1 bytesSoFar
1566         for cancelled messages.
1567         
1568         * WebView.subproj/IFBaseWebControllerPrivate.mm:
1569         (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]):
1570         (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
1571
1572 === Alexander 0.3c2 (v1) ===
1573
1574 2002-04-23  Chris Blumenberg  <cblu@apple.com>
1575
1576         * WebKit.pbproj/project.pbxproj:
1577
1578         Took IFDownloadHandler.h out of the public headers.
1579
1580         * WebView.subproj/IFLocationChangeHandler.h:
1581
1582         Removed deprecated methods.
1583
1584         * WebView.subproj/IFWebFrame.mm:
1585         (-[IFWebFrame setProvisionalDataSource:]):
1586
1587         Don't call locationChangeStarted anymore.
1588
1589 2002-04-23  Chris Blumenberg  <cblu@apple.com>
1590
1591         * MIME.subproj/IFDownloadHandler.h:
1592         * MIME.subproj/IFDownloadHandler.m: Removed.
1593         * MIME.subproj/IFDownloadHandler.mm: Added.
1594         (-[IFDownloadHandler initWithDataSource:]):
1595         (-[IFDownloadHandler dealloc]):
1596         * MIME.subproj/IFDownloadHandlerPrivate.h: Removed.
1597         * MIME.subproj/IFDownloadHandlerPrivate.m: Removed.
1598
1599         Made IFDownloadHandler a private class that retains the data source
1600         and saves the data to disk.
1601
1602         * WebKit.pbproj/project.pbxproj:
1603
1604         Removed IFDownloadHandlerPrivate
1605
1606         * WebView.subproj/IFBaseWebControllerPrivate.mm:
1607         (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
1608
1609         Only send locationChangeCommitted if its shown inline.
1610
1611         * WebView.subproj/IFMainURLHandleClient.mm:
1612         (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]):
1613         
1614         Save data with IFDownloadHandler
1615
1616         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
1617         
1618         If its a download, set the provisionalDataSource on the frame to nil.   
1619
1620         * WebView.subproj/IFWebDataSource.h:
1621         * WebView.subproj/IFWebDataSource.mm:
1622         (-[IFWebDataSource webFrame]):
1623         (-[IFWebDataSource pageTitle]):
1624         (-[IFWebDataSource contentPolicy]):
1625
1626         Added some accessor methods. Spelling fix pageTitle.
1627
1628 2002-04-23  Kenneth Kocienda  <kocienda@apple.com>
1629
1630         Reviewed by: Darin Adler
1631
1632         Fix for Radar 2908403 (Fix names in WebFoundation extensions code)
1633
1634         Extensions code in WebFoundation now is in its own namespace.
1635         Where we have added categories to existing Foundation and AppKit
1636         classes, the categories begin with the IF prefix. All method names
1637         begin with the _IF_ prefix.
1638
1639         This file here was changed to use the new names.
1640
1641         * History.subproj/IFWebHistoryPrivate.m:
1642         (-[IFWebHistoryPrivate findIndex:forDay:]):
1643         (-[IFWebHistoryPrivate arrayRepresentation]):
1644         (-[IFWebHistoryPrivate _loadHistoryGuts:]):
1645
1646 2002-04-22  Chris Blumenberg  <cblu@apple.com>
1647
1648         * WebView.subproj/IFMainURLHandleClient.mm:
1649         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
1650
1651         Send an IFError when we're asked to show content we can't handle.
1652
1653         * WebView.subproj/IFWebDataSourcePrivate.mm:
1654
1655         Cleaning
1656
1657 2002-04-22  Chris Blumenberg  <cblu@apple.com>
1658
1659         * WebKit.pbproj/project.pbxproj:
1660         * WebView.subproj/IFBaseWebController.mm:
1661         (-[IFBaseWebController haveContentPolicy:andPath:forLocationChangeHandler:]):
1662         * WebView.subproj/IFWebDataSourcePrivate.h:
1663         * WebView.subproj/IFWebDataSourcePrivate.mm:
1664
1665         Fixed frames which I broke in the previous commit. We now set the content policy
1666         on all child frames instead of just the main frame.     
1667
1668 2002-04-22  Chris Blumenberg  <cblu@apple.com>
1669
1670         * MIME.subproj/IFMIMEHandler.h:
1671         * MIME.subproj/IFMIMEHandler.m:
1672         (+[IFMIMEHandler showableMIMETypes]):
1673         (+[IFMIMEHandler saveFileWithPath:andData:]):
1674         (+[IFMIMEHandler saveAndOpenFileWithPath:andData:]):
1675
1676         Added the above factory methods.
1677
1678         * WebView.subproj/IFBaseWebController.mm:
1679         (-[IFBaseWebController haveContentPolicy:andPath:forLocationChangeHandler:]):
1680         
1681         Save the content policy and download path on the datasource.
1682
1683         * WebView.subproj/IFMainURLHandleClient.mm:
1684         (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]):
1685         (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]):
1686         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
1687         (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):
1688         
1689         Made IFMainURLHandleClient use our new content policy API rather than
1690         IFDownloadHandler.
1691         
1692         * WebView.subproj/IFWebController.h:
1693
1694         Removed some deprecated methods.
1695
1696         * WebView.subproj/IFWebDataSourcePrivate.h:
1697         * WebView.subproj/IFWebDataSourcePrivate.mm:
1698         (-[IFWebDataSource _downloadPath]):
1699         (-[IFWebDataSource _setDownloadPath:]):
1700         (-[IFWebDataSource _contentPolicy]):
1701         (-[IFWebDataSource _setContentPolicy:]):
1702
1703         Added the above methods.
1704
1705 2002-04-22  Darin Adler  <darin@apple.com>
1706
1707         * Plugins.subproj/IFPluginView.mm:
1708         (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]):
1709         Fix the fix. It was bumping argsCount even when not putting an
1710         argument into the array.
1711
1712 2002-04-21  Maciej Stachowiak  <mjs@apple.com>
1713
1714         Fix a plugins memory trasher that was making Alexander crash on
1715         the abcnews.com test page in cvs-torture-test:
1716
1717         * Plugins.subproj/IFPluginView.mm:
1718         (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]):
1719         Use a new maxArguments variable to size the argument and value
1720         arrays - with the old code argsCount would end up twice the size
1721         it should be, and the arguments would all get written past the end
1722         of the argument array.
1723
1724 2002-04-19  Kenneth Kocienda  <kocienda@apple.com>
1725
1726         Changes to support submission of forms using HTTP POST.
1727
1728         These changes move us over to using the new WebKit interface for creating 
1729         WebDataSource instances, one that passes a handle rather than just a URL, 
1730         enabling the specific request method to be communicated to WebFoundation.
1731         This fixes:
1732
1733         Radar 2903602 (IFWebDataSource API must passes attributes and flags to IFURLHandle)
1734
1735         * WebKit.pbproj/project.pbxproj:
1736         * WebView.subproj/IFWebDataSource.h:
1737         * WebView.subproj/IFWebDataSource.mm: (IFWebDataSourceMake), (-[IFWebDataSource
1738         initWithURL:]), (-[IFWebDataSource initWithHandle:]):
1739         * WebView.subproj/IFWebDataSourcePrivate.h:
1740         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]):
1741
1742 2002-04-19  Richard Williamson  <rjw@apple.com>
1743
1744         Updated comments to reflect new API.
1745         
1746         * WebView.subproj/IFLocationChangeHandler.h:
1747
1748 2002-04-19  Darin Adler  <darin@apple.com>
1749
1750         * Plugins.subproj/IFPluginView.h: Re-add the attributes and values arrays,
1751         since they need to live the life of the plugin.
1752         * Plugins.subproj/IFPluginView.mm: (newCString): New function to make a C++
1753         new-allocated C string from an NSString.
1754         (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): Move code
1755         to allocate the arrays back here.
1756         (-[IFPluginView dealloc]): Deallocate the arrays and their contents.
1757         (-[IFPluginView start]): Simplify now that it does no work.
1758
1759 2002-04-18  Chris Blumenberg  <cblu@apple.com>
1760
1761         Made stop and start to work better. Fixed a bug darin made.
1762         
1763         * Plugins.subproj/IFPluginView.h:
1764         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
1765         initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView setWindow]),
1766         (-[IFPluginView start]), (-[IFPluginView stop]):
1767
1768 2002-04-18  Richard Williamson  <rjw@apple.com>
1769
1770         Fixed typo.
1771
1772         * WebView.subproj/IFBaseLocationChangeHandler.m: (-[IFBaseLocationChangeHandler
1773         requestContentPolicyForMIMEType:]):
1774         * WebView.subproj/IFLocationChangeHandler.h:
1775
1776 2002-04-18  Richard Williamson  <rjw@apple.com>
1777
1778         New API stubs for content policy.
1779         
1780         * WebView.subproj/IFBaseLocationChangeHandler.h: Added.
1781         * WebView.subproj/IFBaseLocationChangeHandler.m: Added.
1782          (+[IFBaseLocationChangeHandler setGlobalContentPolicy:forMIMEType:]),
1783         (+[IFBaseLocationChangeHandler globaContentPolicyForContentType:]),
1784         (+[IFBaseLocationChangeHandler globalContentPolicies]),
1785         (+[IFBaseLocationChangeHandler suggestedFileanemForURL:andContentType:]),
1786         (+[IFBaseLocationChangeHandler suggestedDirectoryForURL:andContentType:]),
1787         (+[IFBaseLocationChangeHandler extensionForURL:]), (-[IFBaseLocationChangeHandler
1788         extension]), (-[IFBaseLocationChangeHandler locationWillChangeTo:]),
1789         (-[IFBaseLocationChangeHandler locationChangeStarted]),
1790         (-[IFBaseLocationChangeHandler locationChangeCommitted]),
1791         (-[IFBaseLocationChangeHandler locationChangeDone:]),
1792         (-[IFBaseLocationChangeHandler receivedPageTitle:forDataSource:]),
1793         (-[IFBaseLocationChangeHandler serverRedirectTo:forDataSource:]),
1794         (-[IFBaseLocationChangeHandler downloadingWithHandler:]),
1795         (-[IFBaseLocationChangeHandler requestContentPolicyForContentMIMEType:]),
1796         (-[IFBaseLocationChangeHandler unableToImplementContentPolicy:]):
1797         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
1798         receivedError:forDownloadHandler:partialProgress:]), (-[IFBaseWebController
1799         provideLocationChangeHandlerForFrame:andURL:]), (-[IFBaseWebController
1800         URLPolicyForURL:]), (-[IFBaseWebController
1801         unableToImplementURLPolicyForURL:error:]), (-[IFBaseWebController
1802         haveContentPolicy:andPath:forLocationChangeHandler:]):
1803         * WebView.subproj/IFLocationChangeHandler.h:
1804         * WebView.subproj/IFWebController.h:
1805         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _setState:]):
1806
1807 2002-04-18  Darin Adler  <darin@apple.com>
1808
1809         * WebKit.pbproj/project.pbxproj: Oops. Take out -Wstrict-prototypes, put back
1810         -Wmissing-prototypes.
1811
1812 2002-04-18  Darin Adler  <darin@apple.com>
1813
1814         * WebKit.pbproj/project.pbxproj: Take out -Wmissing-prototypes
1815         because system headers are triggering it when we don't have
1816         precompiled headers on.
1817
1818 2002-04-18  Darin Adler  <darin@apple.com>
1819
1820         Fixes for compiling with gcc3 and more warnings.
1821
1822         * WebKit.pbproj/project.pbxproj: Turn on gcc3 and the same set of warnings
1823         as in the rest of Labyrinth (see top level ChangeLog for details).
1824
1825         * Plugins.subproj/IFPluginView.mm:
1826         Avoid warnings about malloc by not using it.
1827         (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): Keep the arguments
1828         dictionary around instead of keeping the C format version of it around. Also don't
1829         bother keeping the C string form of the MIME type around, and simplify some other
1830         stuff in here.
1831         (-[IFPluginView dealloc]): Corresponding changes since we keep a different set of things.
1832         (-[IFPluginView newStream:mimeType:notifyData:]): Use [mimeType cString].
1833         (-[IFPluginView start]): Build the lists of attributes and values in here. Do it using
1834         [NSString cString] for simplicity and don't keep the lists around after we're done with
1835         them.
1836         (-[IFPluginView IFURLHandleResourceDidFinishLoading:data:]): Use [filenameClassic cString].
1837
1838         * WebView.subproj/IFMainURLHandleClient.mm:
1839         (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]),
1840         (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]),
1841         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]),
1842         (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):
1843         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]),
1844         (-[IFWebDataSource _setLoading:]), (-[IFWebDataSource _setController:]),
1845         (-[IFWebDataSource _setLocationChangeHandler:]):
1846         * WebView.subproj/IFWebView.mm: (-[IFWebView provisionalDataSourceChanged:]),
1847         (-[IFWebView mouseUp:]), (-[IFWebView mouseDown:]):
1848         Add type casts required by pickier gcc3.
1849
1850         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebViewPrivate dealloc]):
1851         Add type cast required by pickier gcc3.
1852         (-[IFWebView _stopPlugins]): Use local variable to work around Radar 2905835.
1853
1854 2002-04-18  Chris Blumenberg  <cblu@apple.com>
1855
1856         Moved plugin instance creation to the start method in IFPluginView.
1857
1858         * Plugins.subproj/IFPluginView.h:
1859         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
1860         initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView dealloc]),
1861         (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView start]),
1862         (-[IFPluginView stop]), (-[IFPluginView drawRect:]), (-[IFPluginView
1863         windowBecameKey:]), (-[IFPluginView windowResignedKey:]), (-[IFPluginView
1864         IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView
1865         IFURLHandleResourceDidFinishLoading:data:]):
1866         
1867
1868 2002-04-17  Darin Adler  <darin@apple.com>
1869
1870         * WebKit.pbproj/project.pbxproj: Update header search paths to find
1871         WebCore in the new location and eliminate WebCore/include.
1872
1873 2002-04-17  Chris Blumenberg  <cblu@apple.com>
1874
1875         Added a debug bit mask for plugins and downloads.
1876
1877         * MIME.subproj/IFDownloadHandlerPrivate.m: (-[IFDownloadHandlerPrivate
1878         _openFile]), (-[IFDownloadHandlerPrivate _saveFile]), (-[IFDownloadHandler
1879         _initWithURLHandle:mimeHandler:]):
1880         * Misc.subproj/WebKitDebug.h:
1881         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
1882         initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView setWindow]),
1883         (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView stop]),
1884         (-[IFPluginView sendUpdateEvent]), (-[IFPluginView becomeFirstResponder]),
1885         (-[IFPluginView resignFirstResponder]), (-[IFPluginView mouseDown:]),
1886         (-[IFPluginView mouseUp:]), (-[IFPluginView mouseEntered:]), (-[IFPluginView
1887         mouseExited:]), (-[IFPluginView keyUp:]), (-[IFPluginView keyDown:]),
1888         (-[IFPluginView IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView
1889         IFURLHandleResourceDidFinishLoading:data:]), (-[IFPluginView
1890         getURLNotify:target:notifyData:]), (-[IFPluginView getURL:target:]),
1891         (-[IFPluginView postURLNotify:target:len:buf:file:notifyData:]), (-[IFPluginView
1892         postURL:target:len:buf:file:]), (-[IFPluginView newStream:target:stream:]),
1893         (-[IFPluginView write:len:buffer:]), (-[IFPluginView destroyStream:reason:]),
1894         (-[IFPluginView status:]), (-[IFPluginView getValue:value:]), (-[IFPluginView
1895         setValue:value:]), (-[IFPluginView invalidateRect:]), (-[IFPluginView
1896         invalidateRegion:]), (-[IFPluginView forceRedraw]):
1897         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
1898         IFURLHandle:resourceDataDidBecomeAvailable:]):
1899
1900 2002-04-17  Darin Adler  <darin@apple.com>
1901
1902         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]):
1903         Changed another Georgia that I missed to Times New Roman.
1904
1905 2002-04-16  Darin Adler  <darin@apple.com>
1906
1907         * WebView.subproj/IFWebDataSource.mm:
1908         * WebView.subproj/IFWebDataSourcePrivate.mm:
1909         Touch these files to try to make Jersey build again.
1910
1911 2002-04-16  Darin Adler  <darin@apple.com>
1912
1913         * WebView.subproj/IFBaseWebControllerPrivate.mm: Include khtml_part.h instead
1914         of KWQKHTMLPart.h.
1915
1916         * WebView.subproj/IFWebFrame.mm: Include khtml_part.h instead of KWQKHTMLPart.h.
1917
1918         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource documentTextFromDOM]):
1919         Remove an unneeded cast and an extra retain/autorelease.
1920
1921 2002-04-16  Darin Adler  <darin@apple.com>
1922
1923         * WebView.subproj/IFWebFrame.h:
1924         * WebView.subproj/IFWebFrame.mm:
1925         * WebView.subproj/IFWebFramePrivate.h:
1926         Change view/setView back to be id, rather than IFWebView.
1927         In the future, the view may be some other kind of object.
1928
1929 2002-04-16  John Sullivan  <sullivan@apple.com>
1930
1931         Fixed bug Chris noticed where Alexander wasn't putting up
1932         an error sheet on failed page visits.
1933
1934         * WebView.subproj/IFWebFramePrivate.mm: 
1935         (-[IFWebFrame _isLoadComplete]): Don't set provisionalDataSource
1936         to nil until after sending it locationChangeDone.
1937
1938 2002-04-16  Darin Adler  <darin@apple.com>
1939
1940         * WebView.subproj/IFBaseWebController.mm: Remove special release handling because
1941         data sources now retain the controller as long as they are loading.
1942
1943         * WebView.subproj/IFWebDataSource.mm: Remove special release handling because
1944         data sources now retain themselves as long as they are loading.
1945
1946         * WebView.subproj/IFWebFrame.mm: Remove special release handling, because
1947         data sources now retain the controller as long as they are loading, and the
1948         controller retains the frame.
1949
1950         * WebView.subproj/IFWebDataSourcePrivate.h: Add a "loading" boolean.
1951         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setLoading:]):
1952         Change the "loading" state, retaining or releasing this object and the controller
1953         as necessary.
1954         (-[IFWebDataSource _updateLoading]): Update the loading state; called when
1955         some part of loading is done to see if it's all done.
1956         (-[IFWebDataSource _setController:]): Retain the new controller and release the
1957         old controller when loading.
1958         (-[IFWebDataSource _setPrimaryLoadComplete:]): Call _updateLoading.
1959         (-[IFWebDataSource _startLoading:]): Call _setLoading:YES.
1960         (-[IFWebDataSource _addURLHandle:]): Call _setLoading:YES.
1961         (-[IFWebDataSource _removeURLHandle:]): Call _updateLoading.
1962
1963         * WebView.subproj/IFWebFrame.h: Use the real type, IFWebView, for setView and view.
1964         * WebView.subproj/IFWebFramePrivate.h: Formatting tweak.
1965         * WebKit.pbproj/project.pbxproj: Version wars.
1966
1967 2002-04-16  John Sullivan  <sullivan@apple.com>
1968
1969         * WebView.subproj/IFWebViewPrivate.mm: 
1970         (-[IFWebView _setController:]): removed a mistaken
1971         retain/release pair here for Darin.
1972
1973 2002-04-16  Darin Adler  <darin@apple.com>
1974
1975         Change default font to "Times New Roman 11" rather than
1976         "Georgia 12" to be more like Macintosh Internet Explorer.
1977
1978         * WebView.subproj/IFPreferences.mm:
1979
1980         A little simplifying of private pointers.
1981
1982         * MIME.subproj/IFDownloadHandler.h:
1983         * MIME.subproj/IFDownloadHandler.m:
1984
1985 2002-04-16  Darin Adler  <darin@apple.com>
1986
1987         A little simplifying of private pointers.
1988
1989         * MIME.subproj/IFDownloadHandler.m:
1990         * MIME.subproj/IFDownloadHandlerPrivate.m:
1991         * WebView.subproj/IFBaseWebController.mm:
1992         * WebView.subproj/IFWebDataSource.h:
1993         * WebView.subproj/IFWebDataSource.mm:
1994         * WebView.subproj/IFWebDataSourcePrivate.mm:
1995         * WebView.subproj/IFWebFrame.h:
1996         * WebView.subproj/IFWebFrame.mm:
1997         * WebView.subproj/IFWebFramePrivate.mm:
1998         * WebView.subproj/IFWebView.h:
1999         * WebView.subproj/IFWebView.mm:
2000         * WebView.subproj/IFWebViewPrivate.h:
2001         * WebView.subproj/IFWebViewPrivate.mm:
2002
2003 2002-04-16  Darin Adler  <darin@apple.com>
2004
2005         Change headers so they don't include so much.
2006         Also change IF_LOAD_TYPE to IFLoadType.
2007
2008         * History.subproj/IFBackForwardList.h:
2009         * History.subproj/IFBackForwardList.m:
2010         * History.subproj/IFURIEntry.h:
2011         * History.subproj/IFURIList.h:
2012         * History.subproj/IFURIList.m:
2013         * History.subproj/IFWebHistory.h:
2014         * History.subproj/IFWebHistoryPrivate.h:
2015         * History.subproj/IFWebHistoryPrivate.m:
2016         * MIME.subproj/IFContentHandler.h:
2017         * MIME.subproj/IFDownloadHandler.h:
2018         * MIME.subproj/IFDownloadHandlerPrivate.h:
2019         * MIME.subproj/IFDownloadHandlerPrivate.m:
2020         * MIME.subproj/IFMIMEDatabase.h:
2021         * MIME.subproj/IFMIMEDatabase.m:
2022         * Misc.subproj/IFException.h:
2023         * Plugins.subproj/IFNullPluginView.mm:
2024         * Plugins.subproj/IFPluginView.h:
2025         * Plugins.subproj/IFPluginView.mm:
2026         * WebKit.pbproj/project.pbxproj:
2027         * WebView.subproj/IFBaseWebController.h:
2028         * WebView.subproj/IFBaseWebController.mm:
2029         * WebView.subproj/IFBaseWebControllerPrivate.h:
2030         * WebView.subproj/IFBaseWebControllerPrivate.mm:
2031         * WebView.subproj/IFLoadProgress.h:
2032         * WebView.subproj/IFLoadProgress.mm:
2033         * WebView.subproj/IFLocationChangeHandler.h:
2034         * WebView.subproj/IFMainURLHandleClient.h:
2035         * WebView.subproj/IFMainURLHandleClient.mm:
2036         * WebView.subproj/IFPreferences.h:
2037         * WebView.subproj/IFPreferencesPrivate.h:
2038         * WebView.subproj/IFWebController.h:
2039         * WebView.subproj/IFWebDataSource.h:
2040         * WebView.subproj/IFWebDataSource.mm:
2041         * WebView.subproj/IFWebDataSourcePrivate.h:
2042         * WebView.subproj/IFWebDataSourcePrivate.mm:
2043         * WebView.subproj/IFWebFrame.h:
2044         * WebView.subproj/IFWebFrame.mm:
2045         * WebView.subproj/IFWebFramePrivate.h:
2046         * WebView.subproj/IFWebFramePrivate.mm:
2047         * WebView.subproj/IFWebView.h:
2048         * WebView.subproj/IFWebView.mm:
2049         * WebView.subproj/IFWebViewPrivate.h:
2050         * WebView.subproj/IFWebViewPrivate.mm:
2051
2052 2002-04-16  Kenneth Kocienda  <kocienda@apple.com>
2053
2054         Moved IFError class from WebKit to WebFoundation.
2055         Updated includes due to this change.
2056         Updated URL handle client interface to pass an IFError in
2057         an error callback rather than a plain int. The URL client was
2058         modified due to this change.
2059
2060         * Misc.subproj/IFError.h: Removed.
2061         * Misc.subproj/IFError.m: Removed.
2062         * Plugins.subproj/IFPluginView.mm:
2063         * WebKit.pbproj/project.pbxproj:
2064         * WebView.subproj/IFBaseWebControllerPrivate.mm:
2065         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2066         IFURLHandle:resourceDidFailLoadingWithResult:]):
2067         * WebView.subproj/IFWebFramePrivate.mm:
2068
2069 2002-04-15  Darin Adler  <darin@apple.com>
2070
2071         * WebView.subproj/IFPreferences.h:
2072         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Remove the old
2073         WebKitFontSizes preference.
2074         (-[IFPreferences mediumFontSize]), (-[IFPreferences setMediumFontSize:]): New.
2075
2076         * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]): Call
2077         updateStyleSelector() instead of recalcStyle().
2078
2079 2002-04-15  Darin Adler  <darin@apple.com>
2080
2081         Merged changes from previous merge branch.
2082
2083         2002-03-25  Darin Adler  <darin@apple.com>
2084
2085         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]):
2086         Add WebKitMediumFontSizePreferenceKey.
2087
2088 2002-04-15  John Sullivan  <sullivan@apple.com>
2089
2090         * Plugins.subproj/IFNullPluginView.mm: (-[IFNullPluginView drawRect:]):
2091         Moved a line of code to prevent pluginNotFound message from being
2092         sent twice.
2093
2094 2002-04-15  Richard Williamson  <rjw@apple.com>
2095
2096         Changes to IFLocationChangeHandler.
2097         
2098         Experimental allocator code, not to be used, not thread safe.!
2099         
2100         * Misc.subproj/WebKitDebug.h:
2101         * Misc.subproj/WebKitDebug.m: (if_check_zone), (_debugAllocate),
2102         (_debugAllocatorInitialize), (printDebugMallocCounters), (if_cf_retain),
2103         (if_cf_release), (if_cf_alloc), (if_cf_realloc), (if_cf_dealloc),
2104         (if_cf_preferredSize), (setupDebugMalloc), (clearDebugMalloc),
2105         (resetDebugMallocCounters), (public_mALLOc), (public_fREe), (public_rEALLOc),
2106         (public_mEMALIGn), (public_vALLOc), (public_pVALLOc), (public_cALLOc),
2107         (public_iCALLOc), (public_iCOMALLOc), (public_cFREe), (public_mTRIm),
2108         (public_mUSABLe), (public_mSTATs), (public_mALLINFo), (public_mALLOPt),
2109         (do_check_malloc_state), (mALLINFo), (mSTATs), (if_size), (if_valloc),
2110         (if_malloc), (if_realloc), (if_calloc), (if_free):
2111         * WebKit.pbproj/project.pbxproj:
2112         * WebView.subproj/IFBaseWebController.h:
2113         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
2114         provideLocationChangeHandlerForFrame:]):
2115         * WebView.subproj/IFLocationChangeHandler.h: Added.
2116         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2117         IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFMainURLHandleClient
2118         IFURLHandle:didRedirectToURL:]):
2119         * WebView.subproj/IFWebController.h:
2120         * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource load]):
2121         * WebView.subproj/IFWebDataSourcePrivate.h:
2122         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]),
2123         (-[IFWebDataSource _startLoading:]), (-[IFWebDataSource _setTitle:]),
2124         (-[IFWebDataSource _locationChangeHandler]), (-[IFWebDataSource
2125         _setLocationChangeHandler:]):
2126         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setProvisionalDataSource:]):
2127         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame
2128         _transitionProvisionalToCommitted]), (-[IFWebFrame _isLoadComplete]):
2129
2130 2002-04-15  Chris Blumenberg  <set EMAIL_ADDRESS environment variable>
2131
2132         * MIME.subproj/IFContentHandler.m: (-[IFContentHandler HTMLDocument]):
2133
2134         Made sure I didn't unnecessarily allocate html document strings
2135
2136         * MIME.subproj/IFDownloadHandler.h:
2137         * MIME.subproj/IFDownloadHandler.m: (-[IFDownloadHandler suggestedFilename]),
2138         (-[IFDownloadHandler openAfterDownload:]):
2139
2140         Added the mentioned API's
2141
2142         * MIME.subproj/IFDownloadHandlerPrivate.h:
2143         * MIME.subproj/IFDownloadHandlerPrivate.m: (-[IFDownloadHandlerPrivate init]),
2144         (-[IFDownloadHandlerPrivate dealloc]), (-[IFDownloadHandlerPrivate
2145         _suggestedFilename]), (-[IFDownloadHandlerPrivate _cancelDownload]),
2146         (-[IFDownloadHandlerPrivate _storeAtPath:]), (-[IFDownloadHandlerPrivate
2147         _finishedDownload]), (-[IFDownloadHandlerPrivate _openAfterDownload:]),
2148         (-[IFDownloadHandlerPrivate _openFile]), (-[IFDownloadHandlerPrivate _saveFile]),
2149         (-[IFDownloadHandler _initWithURLHandle:mimeHandler:]):
2150
2151         Cleaned up and added a lot error checking code to IFDownloadHandlerPrivate
2152
2153         * Plugins.subproj/IFNullPluginView.mm: (-[IFNullPluginView
2154         initWithFrame:mimeType:arguments:]), (-[IFNullPluginView drawRect:]):
2155
2156         Made sure I didn't unnecessarily allocate images
2157
2158         * Resources/plugin_document_template.html:
2159
2160         Plugins now have 100% of the window
2161
2162 2002-04-12  Chris Blumenberg  <cblu@apple.com>
2163
2164         Fixed build failure. Forgot to make IFDownloadHandler.h
2165         a public header.
2166
2167         * WebKit.pbproj/project.pbxproj:
2168
2169 2002-04-12 Chris Blumenberg <cblu@apple.com>
2170
2171         First implementation of IFDownloadHandler and IFDownloadHandlerPrivate.
2172
2173 2002-04-11  Chris Blumenberg  <cblu@apple.com>
2174
2175         Added support for non-html content. Non-html content is embedded in a
2176         contrived HTML document.
2177
2178         * English.lproj/IFError.strings:
2179         * MIME.subproj/IFContentHandler.h: Added.
2180         * MIME.subproj/IFContentHandler.m: Added.
2181          (-[IFContentHandler initWithMIMEHandler:URL:]), (-[IFContentHandler
2182         HTMLDocument]), (-[IFContentHandler dealloc]):
2183         * MIME.subproj/IFMIMEDatabase.h:
2184         * MIME.subproj/IFMIMEDatabase.m: (-[IFMIMEDatabase MIMEHandlerForMIMEType:]),
2185         (setMimeHandlers):
2186         * MIME.subproj/IFMIMEHandler.h:
2187         * MIME.subproj/IFMIMEHandler.m: (-[IFMIMEHandler
2188         initWithMIMEType:handlerType:handlerName:]), (-[IFMIMEHandler description]):
2189         * Misc.subproj/IFError.h:
2190         * Misc.subproj/IFError.m: (+[IFError initialize]):
2191         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
2192         initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView dealloc]),
2193         (-[IFPluginView stop]):
2194         * Resources/plugin_document_template.html: Added.
2195         * Resources/text_document_template.html: Added.
2196         * WebKit.pbproj/project.pbxproj:
2197         * WebView.subproj/IFMainURLHandleClient.h:
2198         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2199         initWithDataSource:part:]), (-[IFMainURLHandleClient dealloc]),
2200         (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]),
2201         (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):
2202
2203 2002-04-10  Chris Blumenberg  <cblu@apple.com>
2204
2205         Cleaned up stream deallocations.
2206
2207         * Plugins.subproj/IFPluginStream.h:
2208         * Plugins.subproj/IFPluginStream.m: (-[IFPluginStream
2209         initWithURL:mimeType:notifyData:]), (-[IFPluginStream incrementOffset:]),
2210         (-[IFPluginStream dealloc]):
2211         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
2212         newStream:mimeType:notifyData:]), (-[IFPluginView
2213         IFURLHandleResourceDidCancelLoading:]), (-[IFPluginView
2214         IFURLHandle:resourceDidFailLoadingWithResult:]):
2215
2216 2002-04-10  John Sullivan  <sullivan@apple.com>
2217
2218         Fixed 2891396 -- window fills with garbage if you resize or hide/show toolbar
2219         before loading first page
2220
2221         * WebView.subproj/IFWebView.mm: (-[IFWebView drawRect:]):
2222         Made webview fill rect with white if there's no widget.
2223
2224 2002-04-09  Chris Blumenberg  <cblu@apple.com>
2225
2226         * Plugins.subproj/IFPluginView.h:
2227         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
2228         initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView setWindow]),
2229         (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView start]),
2230         (-[IFPluginView stop]), (-[IFPluginView dealloc]), (-[IFPluginView
2231         findSuperview:]), (-[IFPluginView sendUpdateEvent]), (-[IFPluginView drawRect:]),
2232         (-[IFPluginView isFlipped]), (-[IFPluginView viewHasMoved:]), (-[IFPluginView
2233         windowBecameKey:]), (-[IFPluginView windowResignedKey:]), (-[IFPluginView
2234         windowWillClose:]), (-[IFPluginView IFURLHandleResourceDidBeginLoading:]),
2235         (-[IFPluginView IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView
2236         IFURLHandleResourceDidFinishLoading:data:]), (-[IFPluginView
2237         IFURLHandleResourceDidCancelLoading:]), (-[IFPluginView
2238         IFURLHandle:resourceDidFailLoadingWithResult:]), (-[IFPluginView
2239         IFURLHandle:didRedirectToURL:]), (-[IFPluginView forceRedraw]), (IFPluginMake),
2240         (+[IFPluginView load]):
2241         * WebKit.pbproj/project.pbxproj:
2242         * WebView.subproj/IFLoadProgress.h:
2243
2244         Cleaned up the IFPluginView code. Moved a lot of things around. 
2245
2246         Added support for plug-in file download progress.
2247
2248 2002-04-08  Chris Blumenberg  <cblu@apple.com>
2249
2250         * Plugins.subproj/IFPluginView.h:
2251         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
2252         initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView drawRect:]),
2253         (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView
2254         getURLNotify:target:notifyData:]):
2255
2256         Support new stream requests from plug-ins that are relative URL's.
2257
2258 2002-04-08  Darin Adler  <darin@apple.com>
2259
2260         * WebKit.pbproj/project.pbxproj: Re-added -Wno-format-y2k.
2261
2262 2002-04-08  Richard Williamson  <rjw@apple.com>
2263
2264         Added logs for Shelley to note start and completion of document load.
2265         -WebKitLogLevel 0x1000.  Also, as a bonus, note time to load.
2266         
2267         * Misc.subproj/WebKitDebug.h:
2268         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame startLoading]):
2269         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _setState:]):
2270
2271 2002-04-08  Chris Blumenberg  <cblu@apple.com>
2272
2273         * Plugins.subproj/IFNullPluginView.h:
2274         * Plugins.subproj/IFNullPluginView.mm: (-[IFNullPluginView
2275         initWithFrame:mimeType:arguments:]), (-[IFNullPluginView drawRect:]):
2276         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
2277         pluginNotFoundForMIMEType:pluginPageURL:]):
2278         * WebView.subproj/IFWebController.h:
2279
2280         Added pluginNotFoundForMIMEType: pluginPageURL: to WebKit. This gets called
2281         by IFNullPluginView when a plug-in for a certain mime type is requested but 
2282         not installed.
2283
2284 2002-04-08  Richard Williamson  <rjw@apple.com>
2285
2286         Added frameForView:
2287         Cleaned up out-of-date comments.
2288         
2289         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
2290         _frameForView:fromFrame:]), (-[IFBaseWebController frameForView:]):
2291         * WebView.subproj/IFWebController.h:
2292
2293 2002-04-05  Chris Blumenberg  <cblu@apple.com>
2294
2295         * Plugins.subproj/IFNullPluginView.mm: (+[IFNullPluginView load]):
2296
2297         Enabled the below.
2298
2299 2002-04-05  Chris Blumenberg  <cblu@apple.com>
2300
2301         * Plugins.subproj/IFNullPluginView.h: Added.
2302         * Plugins.subproj/IFNullPluginView.mm: Added.
2303          (-[IFNullPluginView initWithFrame:mimeType:arguments:]), (-[IFNullPluginView
2304         findSuperview:]), (-[IFNullPluginView drawRect:]):
2305         * Resources/nullplugin.tiff: Added.
2306         * WebKit.pbproj/project.pbxproj:
2307
2308         An IFNullPluginView is now created when no plug-in for a requested
2309         mime type is found. IFNullPluginView displays a null plug-in icon
2310         and will eventually report this error to the WebController.
2311
2312 2002-04-05  Richard Williamson  <rjw@apple.com>
2313
2314         Back out some changes to lazily dealloc frame.
2315         
2316         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame release]):
2317
2318 2002-04-05  Richard Williamson  <rjw@apple.com>
2319
2320         New method on controller to find a frame of a particular name
2321         anywhere in the frame hierarchy.
2322         
2323         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
2324         initWithView:provisionalDataSource:]), (-[IFBaseWebController
2325         _frameNamed:fromFrame:]), (-[IFBaseWebController frameNamed:]):
2326         * WebView.subproj/IFWebController.h:
2327
2328 2002-04-05  Darin Adler  <darin@apple.com>
2329
2330         * WebView.subproj/IFMainURLHandleClient.mm:
2331         (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):
2332         Use contentLengthReceived rather than getting the length of
2333         availableResourceData to determine how much data has arrived.
2334
2335 2002-04-05  Richard Williamson  <rjw@apple.com>
2336
2337         Implemented the same lazily deallocation scheme on frame as in controller
2338         and data source.
2339         
2340         * WebView.subproj/IFWebFrame.mm: (-[_IFFrameHolder initWithObject:]),
2341         (-[_IFFrameHolder _checkReadyToDealloc:]), (-[IFWebFrame release]):
2342
2343 2002-04-04  Richard Williamson  <rjw@apple.com>
2344
2345         Clear controller references from data source and view, as well as 
2346         frame.
2347         
2348         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate
2349         _clearControllerReferences:]):
2350
2351 2002-04-04  Richard Williamson  <rjw@apple.com>
2352
2353         Lazily dealloc controller and data source ONLY after all loads
2354         have completed.
2355         
2356         * WebView.subproj/IFBaseWebController.mm: (-[_IFControllerHolder
2357         initWithController:]), (-[_IFControllerHolder _checkReadyToDealloc:]),
2358         (-[IFBaseWebController dealloc]), (-[IFBaseWebController release]):
2359         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate
2360         _clearControllerReferences:]), (-[IFBaseWebControllerPrivate dealloc]):
2361         * WebView.subproj/IFWebDataSource.mm: (-[_IFDataSourceHolder
2362         initWithDataSource:]), (-[_IFDataSourceHolder _checkReadyToDealloc:]),
2363         (-[IFWebDataSource release]):
2364
2365 2002-04-04  Kenneth Kocienda  <kocienda@apple.com>
2366
2367         Hack to handle displaying image URLs. The trick is to sense when
2368         the main URL is an image type and wrap the URL in a small generated
2369         HTML document and hand that off to the engine to display.
2370
2371         Works like a charm! :)
2372
2373         There may be some longer-term issues, but for now, this lets us
2374         do something we could not before. It also lets us handle some iframes
2375         that contain only image URLs.
2376
2377         * Resources/image_document_template.html: Added.
2378         * WebKit.pbproj/project.pbxproj:
2379         * WebView.subproj/IFMainURLHandleClient.h:
2380         * WebView.subproj/IFMainURLHandleClient.mm: (loadImageDocumentTemplate),
2381         (-[IFMainURLHandleClient initWithDataSource:part:]), (-[IFMainURLHandleClient
2382         IFURLHandle:resourceDataDidBecomeAvailable:]):
2383
2384 2002-04-04  Chris Blumenberg  <cblu@apple.com>
2385
2386         * English.lproj/IFError.strings:
2387         * Misc.subproj/IFError.h:
2388         * Misc.subproj/IFError.m: (+[IFError initialize]):
2389         * WebKit.pbproj/project.pbxproj:
2390         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2391         IFURLHandle:resourceDataDidBecomeAvailable:]):
2392
2393         Added the IFNonHTMLContentNotSupportedError to IFError.
2394
2395 2002-04-04  Richard Williamson  <rjw@apple.com>
2396
2397         Tuned and re-enabled resource layouts.
2398         
2399         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]):
2400         * WebView.subproj/IFWebFramePrivate.h:
2401         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _scheduleLayout:]),
2402         (-[IFWebFrame _timedLayout:]):
2403
2404 2002-04-04  Darin Adler  <darin@apple.com>
2405
2406         * WebKit.pbproj/project.pbxproj: Add an Unoptimized build
2407         style: exactly like Development except without the -O.
2408
2409 2002-04-03  Richard Williamson  <rjw@apple.com>
2410
2411         Changed name of finalURL to redirectedURL.
2412         Disabled layout after resource load.  It appears to really slow us down.
2413         
2414         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]):
2415         * WebView.subproj/IFWebController.h:
2416         * WebView.subproj/IFWebDataSource.h:
2417         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource redirectedURL]),
2418         (-[IFWebDataSource wasRedirected]):
2419         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]):
2420
2421 2002-04-03  Richard Williamson  <rjw@apple.com>
2422
2423         Added support for finalURL and wasRedirected to datasource.
2424         Added additional layouts on resource loads.
2425         Added more implementations of frame related methods in data source.
2426         
2427         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2428         IFURLHandle:didRedirectToURL:]):
2429         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]), (-[IFPreferences
2430         _resourceTimedLayoutDelay]), (-[IFPreferences _resourceTimedLayoutEnabled]):
2431         * WebView.subproj/IFPreferencesPrivate.h:
2432         * WebView.subproj/IFWebDataSource.h:
2433         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource frameNames]),
2434         (-[IFWebDataSource findDataSourceForFrameNamed:]), (-[IFWebDataSource
2435         frameExists:]), (-[IFWebDataSource finalURL]), (-[IFWebDataSource
2436         wasRedirected]):
2437         * WebView.subproj/IFWebDataSourcePrivate.h:
2438         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]),
2439         (-[IFWebDataSource _setTitle:]), (-[IFWebDataSource _setFinalURL:]):
2440         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _scheduleLayout:]),
2441         (-[IFWebFrame _transitionProvisionalToLayoutAcceptable]), (-[IFWebFrame
2442         _isLoadComplete]):
2443
2444 2002-04-03  Kenneth Kocienda  <kocienda@apple.com>
2445
2446         Updated debugging log messages to use new varargs macros.
2447
2448         * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate
2449         removeEntryForURLString:]), (-[IFWebHistoryPrivate _loadHistoryGuts:]),
2450         (-[IFWebHistoryPrivate loadHistory]), (-[IFWebHistoryPrivate _saveHistoryGuts:]),
2451         (-[IFWebHistoryPrivate saveHistory]):
2452         * Misc.subproj/WebKitDebug.h:
2453         * Misc.subproj/WebKitDebug.m: (timestamp), (WebKitLog):
2454         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
2455         initWithFrame:plugin:url:mime:arguments:mode:]), (-[IFPluginView setWindow]),
2456         (-[IFPluginView newStream:mimeType:notifyData:]), (-[IFPluginView
2457         IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView
2458         IFURLHandleResourceDidFinishLoading:data:]), (-[IFPluginView
2459         becomeFirstResponder]), (-[IFPluginView resignFirstResponder]), (-[IFPluginView
2460         sendUpdateEvent]), (-[IFPluginView mouseDown:]), (-[IFPluginView mouseUp:]),
2461         (-[IFPluginView mouseEntered:]), (-[IFPluginView mouseExited:]), (-[IFPluginView
2462         keyUp:]), (-[IFPluginView keyDown:]), (-[IFPluginView
2463         getURLNotify:target:notifyData:]), (-[IFPluginView getURL:target:]),
2464         (-[IFPluginView status:]), (-[IFPluginView stop]):
2465         * WebKit.pbproj/project.pbxproj:
2466         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController
2467         _receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
2468         _mainReceivedProgress:forResource:fromDataSource:]):
2469         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2470         IFURLHandleResourceDidBeginLoading:]), (-[IFMainURLHandleClient
2471         IFURLHandleResourceDidCancelLoading:]), (-[IFMainURLHandleClient
2472         IFURLHandleResourceDidFinishLoading:data:]), (-[IFMainURLHandleClient
2473         IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFMainURLHandleClient
2474         IFURLHandle:resourceDidFailLoadingWithResult:]), (-[IFMainURLHandleClient
2475         IFURLHandle:didRedirectToURL:]):
2476         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource isLoading]):
2477         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _stopLoading]):
2478         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame
2479         _transitionProvisionalToLayoutAcceptable]), (-[IFWebFrame _timedLayout:]),
2480         (-[IFWebFrame _setState:]), (-[IFWebFrame _isLoadComplete]):
2481         * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]), (-[IFWebView
2482         layout]), (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]),
2483         (-[IFWebView setNeedsToApplyStyles:]), (-[IFWebView drawRect:]):
2484
2485 2002-04-02  Darin Adler  <darin@apple.com>
2486
2487         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setTitle:]):
2488         Update title if the page is already in the committed state.
2489
2490 2002-04-02  Darin Adler  <darin@apple.com>
2491
2492         * WebKit.pbproj/project.pbxproj: Fix flags as I did in WebFoundation.
2493
2494         * Misc.subproj/WebKitDebug.h: Turn off logging when xNDEBUG is defined.
2495         Remove unused stuff. Add checking for printf parameters.
2496         * Misc.subproj/WebKitDebug.m: Remove unused variants.
2497
2498         * Plugins.subproj/IFPluginView.mm: Change to use WebKit logging, not
2499         WebCore logging.
2500
2501         * WebView.subproj/IFMainURLHandleClient.mm:
2502         * WebView.subproj/IFWebView.mm:
2503         Fix types in log statements caught by the compiler.
2504
2505 2002-04-02  Chris Blumenberg  <cblu@apple.com>
2506
2507         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
2508         IFURLHandleResourceDidCancelLoading:]), (-[IFPluginView
2509         IFURLHandle:resourceDidFailLoadingWithResult:]), (-[IFPluginView
2510         IFURLHandle:didRedirectToURL:]):
2511
2512         Added support for the above callbacks.
2513
2514         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2515         IFURLHandle:resourceDataDidBecomeAvailable:]):
2516
2517         Return an error if non-html is requested.       
2518
2519 2002-04-02  Richard Williamson  <rjw@apple.com>
2520
2521         More relaxed about invalid states.
2522         
2523         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame
2524         _transitionProvisionalToLayoutAcceptable]):
2525
2526 2002-04-02  Darin Adler  <darin@apple.com>
2527
2528         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _setTitle:]):
2529         Fix a leak I introduced here by copying the string in a better way.
2530
2531 2002-04-01  Richard Williamson  <rjw@apple.com>
2532
2533         Cleaned up lots of potentially stale references to controller.
2534         
2535         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate
2536         dealloc]):
2537         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2538         initWithDataSource:part:]), (-[IFMainURLHandleClient dealloc]):
2539         * WebView.subproj/IFWebDataSource.h:
2540         * WebView.subproj/IFWebDataSource.mm:
2541         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]),
2542         (-[IFWebDataSource _setPrimaryLoadComplete:]), (-[IFWebDataSource _setTitle:]):
2543         * WebView.subproj/IFWebFramePrivate.h:
2544         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]),
2545         (-[IFWebFramePrivate setDataSource:]), (-[IFWebFramePrivate
2546         setProvisionalDataSource:]), (-[IFWebFrame _setController:]), (-[IFWebFrame
2547         _transitionProvisionalToCommitted]), (-[IFWebFrame _timedLayout:]), (-[IFWebFrame
2548         _setState:]):
2549
2550 2002-04-01  Richard Williamson  <rjw@apple.com>
2551
2552         Logging changes.
2553         Changes to support correct i/frame behavior.
2554     
2555         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
2556         createFrameNamed:for:inParent:inScrollView:]):
2557         * WebView.subproj/IFWebController.h:
2558         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _timedLayout:]):
2559         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebViewPrivate dealloc]),
2560         (-[IFWebView _setupScrollers]):
2561
2562 2002-04-01  John Sullivan  <sullivan@apple.com>
2563
2564         Added method for updating url, title, and/or displayTitle
2565         on existing entry.
2566
2567         * History.subproj/IFWebHistory.h:
2568         * History.subproj/IFWebHistory.m: 
2569         (-[IFWebHistory updateURL:title:displayTitle:forURL:]):
2570         Calls through to IFWebHistoryPrivate.
2571
2572         * History.subproj/IFWebHistoryPrivate.h:
2573         * History.subproj/IFWebHistoryPrivate.m: 
2574         (-[IFWebHistoryPrivate _entryForURLString:]): Broke this out
2575         from containsURL.
2576         (-[IFWebHistoryPrivate containsURL:]): Call broken-out method.
2577         (-[IFWebHistoryPrivate updateURL:title:displayTitle:forURL:]):
2578         Find existing entry (if any), change its attributes.
2579
2580 2002-04-01  Darin Adler  <darin@apple.com>
2581
2582         * Misc.subproj/IFError.h: Add the failing URL to IFError.
2583         * Misc.subproj/IFError.m: (-[IFError initWithErrorCode:]): Call through
2584         with nil for the URL.
2585         (-[IFError initWithErrorCode:failingURL:]): Retain the passed URL.
2586         (-[IFError dealloc]): Autorelease the URL.
2587         (-[IFError failingURL]): Return the URL.
2588         (-[IFError description]): Include the URL in the description.
2589
2590         * WebView.subproj/IFBaseWebControllerPrivate.mm:
2591         (-[IFBaseWebController _receivedProgress:forResource:fromDataSource:]),
2592         (-[IFBaseWebController _mainReceivedProgress:forResource:fromDataSource:]):
2593         Put the URL into the IFError.
2594
2595         * WebView.subproj/IFMainURLHandleClient.mm:
2596         (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):
2597         Put the URL into the IFError.
2598
2599 2002-04-01  Richard Williamson  <rjw@apple.com>
2600
2601         Added more logging to show time of layouts.
2602         
2603         * WebView.subproj/IFWebFramePrivate.h:
2604         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame
2605         _transitionProvisionalToLayoutAcceptable]), (-[IFWebFrame _timedLayout:]),
2606         (-[IFWebFrame _isLoadComplete]):
2607         * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]), (-[IFWebView
2608         layout]):
2609
2610 2002-04-01  Darin Adler  <darin@apple.com>
2611
2612         Added operations for JavaScript objects. Not sure if this was the best
2613         place for them, but it should be OK for now.
2614
2615         * Misc.subproj/IFCache.h:
2616         * Misc.subproj/IFCache.mm: (+[IFCache setDisabled:]), (+[IFCache
2617         javaScriptObjectsCount]), (+[IFCache garbageCollectJavaScriptObjects]):
2618         * WebKit.pbproj/project.pbxproj:
2619
2620 2002-03-30  Richard Williamson  <rjw@apple.com>
2621
2622         Corrected comments describing the new 'acceptable to layout' state
2623         transition.
2624         
2625         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController
2626         _mainReceivedProgress:forResource:fromDataSource:]):
2627
2628 2002-03-30  Darin Adler  <darin@apple.com>
2629
2630         * WebView.subproj/IFBaseWebController.mm:
2631         (-[IFBaseWebController receivedPageTitle:forDataSource:]):
2632         Remove the exception from here. This is really a "do nothing,
2633         subclasses override me" method.
2634
2635         * WebView.subproj/IFWebDataSource.mm:
2636         (-[IFWebDataSource pageTitle]): Implement.
2637
2638         * WebView.subproj/IFWebDataSourcePrivate.h: Add pageTitle
2639         and [IFWebDataSource _setTitle].
2640         * WebView.subproj/IFWebDataSourcePrivate.mm:
2641         (-[IFWebDataSourcePrivate dealloc]): autorelease pageTitle.
2642         (-[IFWebDataSource _setTitle:]): Update the title, trimming
2643         whitespace and using nil, rather than empty string, to mean
2644         no title at all. Call [receivedPageTitle: forDataSource:]
2645         as necessary too.
2646
2647         * WebView.subproj/IFMainURLHandleClient.mm: Did a gratuitious
2648         whitespace edit to force this file to recompile so everyone
2649         doesn't have to "make clean".
2650
2651 2002-03-30  Richard Williamson  <rjw@apple.com>
2652
2653         Added support for scrolling to anchor points.
2654         
2655         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]):
2656
2657 2002-03-30  Maciej Stachowiak  <mjs@apple.com>
2658
2659         * WebKit.pbproj/project.pbxproj: Link against
2660         JavaScriptCore.framework instead of the defunct
2661         libJavaScriptCore.dylib.
2662
2663 2002-03-29  Richard Williamson  <rjw@apple.com>
2664
2665         Fixes for cancelling.  Still need to think about a better
2666         solution than putting data sources in stopped mode.
2667         
2668         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController
2669         _receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
2670         _mainReceivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
2671         _receivedError:forResource:partialProgress:fromDataSource:]),
2672         (-[IFBaseWebController
2673         _mainReceivedError:forResource:partialProgress:fromDataSource:]):
2674         * WebView.subproj/IFWebDataSourcePrivate.h:
2675         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]),
2676         (-[IFWebDataSource _isStopping]), (-[IFWebDataSource _stopLoading]):
2677         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setProvisionalDataSource:]):
2678
2679 2002-03-29  Richard Williamson  <rjw@apple.com>
2680
2681         Hooked up redirect.  Now we see many more ads.  :(
2682         Fixed cancel of main handle for document.
2683         Moved stop before start from frame to data source.
2684
2685         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
2686         locationChangeDone:forFrame:]), (-[IFBaseWebController
2687         serverRedirectTo:forDataSource:]):
2688         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2689         IFURLHandleResourceDidCancelLoading:]), (-[IFMainURLHandleClient
2690         IFURLHandleResourceDidFinishLoading:data:]), (-[IFMainURLHandleClient
2691         IFURLHandle:resourceDidFailLoadingWithResult:]), (-[IFMainURLHandleClient
2692         IFURLHandle:didRedirectToURL:]):
2693         * WebView.subproj/IFWebDataSourcePrivate.h:
2694         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]),
2695         (-[IFWebDataSource _startLoading:]), (-[IFWebDataSource _stopLoading]):
2696         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame startLoading]):
2697
2698 2002-03-29  Richard Williamson  <rjw@apple.com>
2699
2700         Added stopLoading to startLoading to cancel any pending loads before
2701         new loads start.  This doesn't work yet because of loader bugs, but will
2702         once those are fixed.
2703         
2704         Adding logging for redirects.
2705         
2706         * Misc.subproj/WebKitDebug.h:
2707         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2708         IFURLHandle:didRedirectToURL:]):
2709         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame startLoading]):
2710
2711 2002-03-29  Darin Adler  <darin@apple.com>
2712
2713         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]): Deref the
2714         renderFramePart, and autorelease the provisionalDataSource.
2715         (-[IFWebFramePrivate setRenderFramePart:]): Ref renderFramePart while we hold it.
2716
2717 2002-03-28  Richard Williamson  <rjw@apple.com>
2718
2719         Increased size default for initial layout.
2720         
2721         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]):
2722
2723 2002-03-28  Richard Williamson  <rjw@apple.com>
2724
2725         Fixed big leak of any document that had a frame or iframe.
2726         
2727         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource retain]):
2728         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]),
2729         (-[IFWebDataSource _setParent:]):
2730
2731 2002-03-28  Richard Williamson  <rjw@apple.com>
2732     
2733         Modified the initial layout policy.
2734
2735         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController
2736         _receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
2737         _mainReceivedProgress:forResource:fromDataSource:]):
2738         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]), (-[IFPreferences
2739         _initialTimedLayoutDelay]), (-[IFPreferences _initialTimedLayoutSize]):
2740         * WebView.subproj/IFPreferencesPrivate.h:
2741         * WebView.subproj/IFWebFramePrivate.h:
2742         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame
2743         _transitionProvisionalToLayoutAcceptable]), (-[IFWebFrame
2744         _transitionProvisionalToCommitted]), (-[IFWebFrame _initialLayout:]),
2745         (-[IFWebFrame _isLoadComplete]):
2746
2747 2002-03-28  Darin Adler  <darin@apple.com>
2748
2749         New private interface for getting at the cache.
2750
2751         * Misc.subproj/IFCache.h: New.
2752         * Misc.subproj/IFCache.mm: New.
2753         * WebKit.pbproj/project.pbxproj: Added IFCache files.
2754
2755 2002-03-28  Darin Adler  <darin@apple.com>
2756
2757         * WebView.subproj/IFBaseWebController.mm:
2758         (-[IFBaseWebController locationChangeDone:forFrame:]): Remove log of errors
2759         loading now that we have the activity viewer.
2760
2761 2002-03-28  Richard Williamson  <rjw@apple.com>
2762
2763         Modified the initial layout policy.  We now try to layout as close
2764         as possible to WebKitInitialTimedLayoutDelay seconds after the
2765         load was started, not after the provisional-to-committed transition.
2766         If the time to the provisional-to-committed transition exceeds
2767         WebKitInitialTimedLayoutDelay we layout immediately.
2768         
2769         * WebView.subproj/IFWebDataSourcePrivate.h:
2770         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]),
2771         (-[IFWebDataSource _recursiveStopLoading]), (-[IFWebDataSource
2772         _loadingStartedTime]):
2773         * WebView.subproj/IFWebFramePrivate.h:
2774         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame
2775         _transitionProvisionalToCommitted]), (-[IFWebFrame _initialLayout:]):
2776
2777 2002-03-28  John Sullivan  <sullivan@apple.com>
2778
2779         * History.subproj/IFWebHistoryPrivate.m: 
2780         (-[IFWebHistoryPrivate _loadHistoryGuts:]):
2781         Made this more robust about bad data from the disk file. I
2782         don't know how bad data could get into the disk file in normal
2783         use, but it seems to have happened to Richard.
2784
2785 2002-03-27  Richard Williamson  <rjw@apple.com>
2786
2787         Added initial-layout-after-delay-if-not-layed-out-yet feature.
2788         
2789         * Misc.subproj/WebKitDebug.h:
2790         * WebKit.pbproj/project.pbxproj:
2791         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController
2792         _mainReceivedProgress:forResource:fromDataSource:]):
2793         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]), (-[IFPreferences
2794         setPluginsEnabled:]), (-[IFPreferences _initialTimedLayoutDelay]),
2795         (-[IFPreferences _initialTimedLayoutEnabled]):
2796         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame
2797         _transitionProvisionalToCommitted]), (-[IFWebFrame _initialLayout:]),
2798         (-[IFWebFrame _state]):
2799
2800 2002-03-27  Kenneth Kocienda  <kocienda@apple.com>
2801
2802         Changed loadProgress->bytesSoFar to use [sender contentLengthReceived]
2803         instead of the size of the chunk that was delivered in the callback.
2804         This makes the activity window data more correct than it was.
2805
2806         * WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient
2807         IFURLHandle:resourceDataDidBecomeAvailable:]):
2808
2809 2002-03-27  Chris Blumenberg  <cblu@apple.com>
2810
2811         Now setting the modifier bit for the activate and cursor events.
2812
2813         * Plugins.subproj/IFPluginView.h:
2814         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView drawRect:]), (-[IFPluginView
2815         windowBecameKey:]), (-[IFPluginView windowResignedKey:]), (-[IFPluginView
2816         mouseEntered:]), (-[IFPluginView mouseExited:]):
2817
2818 2002-03-27  Darin Adler  <darin@apple.com>
2819
2820         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Switch back
2821         to serif font, since using Luicida Grande was exposing some font bugs.
2822
2823 2002-03-26  Maciej Stachowiak  <mjs@apple.com>
2824
2825         * WebKit.pbproj/project.pbxproj: Fixed to build with standalone
2826         libJavaScriptCore.dylib.
2827
2828 2002-03-26  Kenneth Kocienda  <kocienda@apple.com>
2829
2830         Changes to help the transition to the new build system which unifies
2831         our development build setting with the settings we use to ship
2832         releases.
2833
2834         * Makefile.am:
2835         * WebKit.pbproj/kocienda.pbxuser:
2836         * WebKit.pbproj/project.pbxproj:
2837
2838 2002-03-26  Richard Williamson  <rjw@apple.com>
2839
2840         Try to ensure that display needed bits are correctly set.
2841         
2842         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]):
2843
2844 2002-03-26  Darin Adler  <darin@apple.com>
2845
2846         * Misc.subproj/IFError.m: (+[IFError initialize]): Fix a typo where
2847         we said "unvailable".
2848         
2849         * WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Change
2850         the default sans-serif font to "Lucida Grande" to match the OS X
2851         system font, and also make that the defalt standard font.
2852
2853 2002-03-26  John Sullivan  <sullivan@apple.com>
2854
2855         * WebKit.pbproj/project.pbxproj:
2856         Marked IFProgress.h Public.
2857
2858 2002-03-25  John Sullivan  <sullivan@apple.com>
2859
2860         Broke IFLoadProgress out into its own file, and added
2861         an init method and getters, without which this class
2862         is useless in Objective-C files (but strangely usable
2863         in Objective-C++ files, see radar 2887253).
2864
2865         * WebView.subproj/IFWebController.h:
2866         * WebView.subproj/IFBaseWebController.mm:
2867         Took IFLoadProgress declaration and implementation out of here.
2868
2869         * WebView.subproj/IFLoadProgress.h,
2870         * WebView.subproj/IFLoadProgress.mm:
2871         Moved IFLoadProgress declaration and implementation to here;
2872         added -[IFLoadProgress initWithBytesSoFar:totalToLoad:type:]
2873         and getters for each field.
2874
2875         * WebKit.pbproj/project.pbxproj: Updated for new files
2876
2877 2002-03-25  Richard Williamson  <rjw@apple.com>
2878
2879         Tweaks to force layout of frames and iframes.
2880         
2881         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _isLoadComplete]):
2882
2883 2002-03-25  Maciej Stachowiak  <mjs@apple.com>
2884
2885         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource
2886         _startLoading:]): Just create an IFURLHandle, since it now creates
2887         the proper concrete subclass automagically.
2888
2889 2002-03-25  Chris Blumenberg  <cblu@apple.com>
2890
2891         * MIME.subproj/IFMIMEDatabase.m: (+[IFMIMEDatabase sharedMIMEDatabase]),
2892         (-[IFMIMEDatabase MIMEHandlerForMIMEType:]), (setMimeHandlers):
2893         * MIME.subproj/IFMIMEHandler.h:
2894         * MIME.subproj/IFMIMEHandler.m: (-[IFMIMEHandler
2895         initWithMIMEType:handlerType:handlerName:]), (-[IFMIMEHandler MIMEType]),
2896         (-[IFMIMEHandler MIMESupertype]), (-[IFMIMEHandler MIMESubtype]),
2897         (-[IFMIMEHandler handlerName]), (-[IFMIMEHandler handlerType]), (-[IFMIMEHandler
2898         description]):
2899
2900         Initial implementations of the above.
2901
2902 2002-03-25  Richard Williamson  <rjw@apple.com>
2903
2904         Added private API to allow browser to access the DOM tree.
2905
2906         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView DOM::]), (+[IFWebView
2907         _nodeName:DOM::]), (+[IFWebView _nodeValue:DOM::]), (+[IFWebView
2908         _nodeHTML:DOM::]):
2909
2910 2002-03-25  Richard Williamson  <rjw@apple.com>
2911
2912         Added private API to allow browser to access the render tree.
2913         
2914         * WebView.subproj/IFWebViewPrivate.mm:
2915
2916 2002-03-24  Richard Williamson  <rjw@apple.com>
2917
2918         Changed data source to create IFURLHandle of the appropriate class.
2919         The prevented us from getting the response headers correctly.
2920         
2921         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]):
2922
2923 2002-03-24  Richard Williamson  <rjw@apple.com>
2924
2925         Removed erroneous comments.
2926         
2927         * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged:]), (-[IFWebView
2928         reapplyStyles]):
2929
2930 2002-03-22  Chris Blumenberg  <cblu@apple.com>
2931
2932         * MIME.subproj/IFMIMEDatabase.h:
2933         Added a list of mime type that WebKit will be capable of handling
2934
2935 2002-03-22  Chris Blumenberg  <cblu@apple.com>
2936
2937         * WebKit.pbproj/project.pbxproj:
2938         Added the MIME clases to WebKit.
2939
2940 2002-03-22  John Sullivan  <sullivan@apple.com>
2941
2942         * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]):
2943         Removed stale FIXME.
2944
2945 2002-03-22  Richard Williamson  <rjw@apple.com>
2946
2947         Fixed reapplyStyles to use new KDE3 recalcStyle function.
2948         
2949         * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles])
2950
2951 2002-03-21  John Sullivan  <sullivan@apple.com>
2952
2953         * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]):
2954         Commented out call to applyChanges that no longer exists.
2955         This was breaking the build. Live font changes are
2956         temporarily broken again.
2957
2958 2002-03-21  Richard Williamson  <rjw@apple.com>
2959
2960         Added setNeedsToApplyStyles: and reapplyStyles.  This is for dynamic preferences
2961         refresh support.
2962         
2963         * WebView.subproj/IFWebView.h:
2964         * WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]), (-[IFWebView
2965         layout]), (-[IFWebView setNeedsToApplyStyles:]), (-[IFWebView drawRect:]):
2966         * WebView.subproj/IFWebViewPrivate.h:
2967
2968 2002-03-21  John Sullivan  <sullivan@apple.com>
2969
2970         Cleaned up defaults registration and use. The class
2971         IFPreferences now registers the defaults at load time, early
2972         enough that Alexander doesn't have to register them separately
2973         as it had been. Also, all the defaults currently in use now
2974         have accessor cover methods, which Alexander will use
2975         exclusively.
2976         
2977         * WebView.subproj/IFPreferences.mm:
2978         New file, registers defaults and implements cover methods.
2979
2980         * WebView.subproj/IFPreferences.h:
2981         This file existed but wasn't being used (contents #ifdeffed out).
2982         Now it declares the cover methods, but still has an #ifdeffed
2983         section for possible future stuff.
2984
2985         * WebKit.pbproj/project.pbxproj: Updated for new file.
2986
2987         * WebView.subproj/IFWebDataSource.mm:
2988         (+[IFWebDataSource initialize]): removed defaults-registration
2989         from here.
2990
2991 2002-03-20  Maciej Stachowiak  <mjs@apple.com>
2992
2993         Merged the following changes from LABYRINTH_KDE_3_MERGE branch:
2994         
2995         2002-03-20  Maciej Stachowiak  <mjs@apple.com>
2996
2997                 Merged accumlated changes from HEAD, up to
2998                 MERGED_TO_KDE_3_MERGE_BRANCH tag.
2999
3000         2002-03-19  Maciej Stachowiak  <mjs@apple.com>
3001         
3002                 * WebView.subproj/IFWebView.mm: (-[IFWebView layout]):
3003                 layout() no longer takes an argument.
3004         
3005 2002-03-20  John Sullivan  <sullivan@apple.com>
3006
3007         Added displayTitle field to IFURIEntry. This is intended to hold the string
3008         used in menu items, window titles, etc. Alexander uses this to cache the
3009         center-truncated title for pages with very long titles.
3010
3011         * History.subproj/IFURIEntry.h:
3012         * History.subproj/IFURIEntry.m: (-[IFURIEntry setDisplayTitle:]), (-[IFURIEntry
3013         dictionaryRepresentation]), (-[IFURIEntry initFromDictionaryRepresentation:]):
3014
3015 2002-03-19  Richard Williamson  <rjw@apple.com>
3016
3017         Fixed IFWebView leak.
3018         
3019         * WebView.subproj/IFWebView.mm: (-[IFWebView provisionalDataSourceChanged:]):
3020
3021 2002-03-18  John Sullivan  <sullivan@apple.com>
3022
3023         Imposed age limit on history items saved to/loaded from disk.
3024         Sped up history loading by reversing list before processing entries.
3025
3026         * History.subproj/IFWebHistoryPrivate.m: 
3027         (+[IFWebHistoryPrivate initialize]): Register default for age limit.
3028         (-[IFWebHistoryPrivate _ageLimitDate]): New convenience method, returns a date older
3029         than any history entry that should be stored/loaded.
3030         (-[IFWebHistoryPrivate arrayRepresentation]): skip too-old dates.
3031         (-[IFWebHistoryPrivate _loadHistoryGuts:]), (-[IFWebHistoryPrivate _saveHistoryGuts:]): 
3032         Broke into separate methods to make timing wrapper less messy. Respect age limit.
3033         Report number of items saved/loaded in timing message.
3034         (-[IFWebHistoryPrivate loadHistory]), (-[IFWebHistoryPrivate saveHistory]):
3035         use broken-out _guts methods.
3036         * WebKit.pbproj/project.pbxproj: version wars
3037
3038 2002-03-16  Richard Williamson  <rjw@apple.com>
3039
3040         Fixed scroll bar flash.  Add provisional view to go along with
3041         provisional widget.
3042         
3043         * WebView.subproj/IFWebView.mm: (-[IFWebView provisionalDataSourceChanged:]),
3044         (-[IFWebView dataSourceChanged:]):
3045
3046 2002-03-16  Richard Williamson  <rjw@apple.com>
3047
3048         Fixed error handling.  Fixed most frame loading problems.
3049         Cleaned up frame state machine.
3050         Moved IFMainURLHandleClient from WebCore.
3051         
3052         * Misc.subproj/IFError.m: (-[IFError description]):
3053         * WebKit.pbproj/project.pbxproj:
3054         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3055         receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
3056         receivedError:forResource:partialProgress:fromDataSource:]),
3057         (-[IFBaseWebController locationChangeDone:forFrame:]):
3058         * WebView.subproj/IFBaseWebControllerPrivate.h:
3059         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebController
3060         _receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
3061         _mainReceivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
3062         _receivedError:forResource:partialProgress:fromDataSource:]),
3063         (-[IFBaseWebController
3064         _mainReceivedError:forResource:partialProgress:fromDataSource:]):
3065         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource startLoading:]),
3066         (-[IFWebDataSource isLoading]):
3067         * WebView.subproj/IFWebDataSourcePrivate.h:
3068         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate init]),
3069         (-[IFWebDataSourcePrivate dealloc]), (-[IFWebDataSource
3070         _setPrimaryLoadComplete:]), (-[IFWebDataSource _startLoading:]),
3071         (-[IFWebDataSource _stopLoading]):
3072         * WebView.subproj/IFWebFrame.h:
3073         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setProvisionalDataSource:]),
3074         (-[IFWebFrame startLoading]), (-[IFWebFrame reload:]), (-[IFWebFrame errors]),
3075         (-[IFWebFrame mainDocumentError]):
3076         * WebView.subproj/IFWebFramePrivate.h:
3077         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]),
3078         (-[IFWebFrame _transitionProvisionalToCommitted]), (-[IFWebFrame _setState:]),
3079         (-[IFWebFrame _addError:forResource:]), (-[IFWebFrame _isLoadComplete]),
3080         (+[IFWebFrame _recursiveCheckCompleteFromFrame:]), (-[IFWebFrame
3081         _checkLoadCompleteResource:error:isMainDocument:]), (-[IFWebFrame
3082         _setMainDocumentError:]), (-[IFWebFrame _clearErrors]):
3083         * WebView.subproj/IFWebView.mm:
3084         * WebView.subproj/IFMainURLHandleClient.h: added
3085         * WebView.subproj/IFMainURLHandleClient.mm: added
3086
3087 2002-03-15  John Sullivan  <sullivan@apple.com>
3088
3089         Impose default-based limit (1000 by default) on number of history items
3090         saved/loaded. Also instrumented timing for saving/loading history.
3091
3092         * History.subproj/IFWebHistoryPrivate.m: 
3093         (+[IFWebHistoryPrivate initialize]): register default for WebKitHistoryItemLimit.
3094
3095         (-[IFWebHistoryPrivate arrayRepresentation]): respect limit
3096         (-[IFWebHistoryPrivate loadHistory]): respect limit, time the load.
3097         (-[IFWebHistoryPrivate saveHistory]): time the save.
3098
3099         * WebKit.pbproj/project.pbxproj: version wars
3100
3101 2002-03-15  John Sullivan  <sullivan@apple.com>
3102
3103         Fixed bug where history entry images weren't showing up, except by historical
3104         accident in some cases.
3105         Made IFWebHistory no longer be a singleton class; made the file location
3106         be passed in at init time.
3107
3108         * History.subproj/IFURIEntry.m: (-[IFURIEntry image]): Get the default image 
3109         a way that works with frameworks; only get the default image once.
3110
3111         * History.subproj/IFWebHistory.h:
3112         * History.subproj/IFWebHistory.m: 
3113         (+[IFWebHistory webHistoryWithFile:]): New convenience constructor that returns
3114         a new IFWebHistory object with a particular disk file.
3115         (-[IFWebHistory initWithFile:]): New init method for specifying a disk file.
3116         (-[IFWebHistory file]): New accessor for file path.
3117         (-[IFWebHistory loadHistory]),
3118         (-[IFWebHistory saveHistory]): Use file accessor.
3119         Also removed the methods that were computing a file path to use.
3120
3121         * History.subproj/IFWebHistoryPrivate.h:
3122         * History.subproj/IFWebHistoryPrivate.m: 
3123         (-[IFWebHistoryPrivate initWithFile:]),
3124         (-[IFWebHistoryPrivate dealloc]), (-[IFWebHistoryPrivate file]),
3125         (-[IFWebHistoryPrivate loadHistory]), (-[IFWebHistoryPrivate saveHistory]):
3126         Guts of implementation for file-manipulation stuff.
3127
3128         * Resources/url_icon.tiff: ran tiffUtil to premultiply the alpha channel. This
3129         was spewing error messages that I didn't notice before because they only
3130         happen on Puma and I was on Jaguar.
3131
3132         * WebKit.pbproj/project.pbxproj: not sure what change I made, maybe version wars.
3133
3134 2002-03-14  John Sullivan  <sullivan@apple.com>
3135
3136         Made history store its data in ~/Library/Application Support/<app name>/History.plist
3137
3138         * History.subproj/IFWebHistoryPrivate.m: 
3139         (GetRefPath), (FindFolderPath): Functions copied from NSSavePanel.m for using
3140         FindFolder in a POSIX sort of way. Ken plans to put some version of this in
3141         IFNSFileManagerExtensions eventually, which I'll switch to later.
3142         (-[IFWebHistoryPrivate historyFilePath]): Construct the path using FindFolderPath
3143         and the file name.
3144         (-[IFWebHistoryPrivate loadHistory]),
3145         (-[IFWebHistoryPrivate saveHistory]): failure case debug messages are now more specific.
3146
3147 2002-03-13  Richard Williamson  <rjw@apple.com>
3148
3149         Added support to stop plugins in removeFromSuperview.
3150         
3151         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _checkLoadComplete:]):
3152         * WebView.subproj/IFWebView.mm: (-[IFWebView dealloc]), (-[IFWebView
3153         removeFromSuperview]), (-[IFWebView removeFromSuperviewWithoutNeedingDisplay]):
3154
3155 2002-03-13  Richard Williamson  <rjw@apple.com>
3156
3157         Fixed open window w/ no open windows crasher.
3158         
3159         * ChangeLog:
3160         * WebView.subproj/IFBaseWebController.mm: (-[IFObjectHolder dealloc]):
3161         * WebView.subproj/IFWebView.mm: (-[IFWebView dealloc]), (-[IFWebView layout]):
3162
3163 2002-03-13  Richard Williamson  <rjw@apple.com>
3164
3165         * ChangeLog:
3166         * WebView.subproj/IFBaseWebController.mm: (-[IFObjectHolder dealloc]):
3167         * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView
3168         dealloc]), (-[IFWebView provisionalDataSourceChanged:]), (-[IFWebView
3169         dataSourceChanged:]), (-[IFWebView layout]), (-[IFWebView isOpaque]),
3170         (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]), (-[IFWebView
3171         drawRect:]), (-[IFWebView setFrame:]), (-[IFWebView windowResized:]),
3172         (-[IFWebView mouseDragged:]):
3173
3174 2002-03-12  Richard Williamson  <rjw@apple.com>
3175
3176         * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView
3177         provisionalDataSourceChanged:]), (-[IFWebView dataSourceChanged:]), (-[IFWebView
3178         layout]), (-[IFWebView isOpaque]), (-[IFWebView setNeedsDisplay:]), (-[IFWebView
3179         setNeedsLayout:]), (-[IFWebView drawRect:]), (-[IFWebView setFrame:]),
3180         (-[IFWebView windowResized:]), (-[IFWebView mouseDragged:]):
3181
3182 2002-03-12  John Sullivan  <sullivan@apple.com>
3183
3184         Added support for persistent history. Following in the grand footsteps of
3185         Ken, it currently stores data in /tmp/alexander.history
3186
3187         * Resources/url_icon.tiff: default IFURIEntry image, moved here from WebBrowser.
3188         * WebKit.pbproj/project.pbxproj: Updated to add image file.
3189
3190         * History.subproj/IFURIEntry.m: 
3191         (-[IFURIEntry image]):
3192         If there's no explicit image, return the default one.
3193
3194         (-[IFURIEntry dictionaryRepresentation]): return a representation suitable
3195         for saving to an xml file.
3196         (-[IFURIEntry initFromDictionaryRepresentation:]): init given the representation
3197         returned from dictionaryRepresentation.
3198
3199         * History.subproj/IFWebHistory.h:
3200         * History.subproj/IFWebHistory.m: (-[IFWebHistory saveHistory]):
3201         Added saveHistory call.
3202
3203         * History.subproj/IFWebHistoryPrivate.h: added saveHistory call.
3204
3205         * History.subproj/IFWebHistoryPrivate.m: 
3206         (-[IFWebHistoryPrivate arrayRepresentation]): return a representation suitable for
3207         saving to an xml file.
3208         (-[IFWebHistoryPrivate historyFilePath]): return location of history on disk.
3209         (-[IFWebHistoryPrivate loadHistory]): read history from disk.
3210         (-[IFWebHistoryPrivate saveHistory]): write history to disk.
3211
3212         (-[IFWebHistoryPrivate init]): call loadHistory
3213         (-[IFWebHistoryPrivate removeEntryForURLString:]): changed NSLog to WEBKITDEBUG
3214
3215 2002-03-11  Richard Williamson  <rjw@apple.com>
3216
3217         Fixed call back ordering problems when an error occurs.
3218         More twiddling with scroll bars.
3219         
3220         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3221         createFrameNamed:for:inParent:]):
3222         * WebView.subproj/IFDynamicScrollBarsView.h:
3223         * WebView.subproj/IFDynamicScrollBarsView.m: (-[IFDynamicScrollBarsView
3224         reflectScrolledClipView:]):
3225         * WebView.subproj/IFWebFrame.h:
3226         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame startLoading]), (-[IFWebFrame
3227         reload:]), (-[IFWebFrame reset]), (-[IFWebFrame lastError]):
3228         * WebView.subproj/IFWebFramePrivate.h:
3229         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate dealloc]),
3230         (-[IFWebFrame _checkLoadComplete:]), (-[IFWebFrame _setLastError:]):
3231
3232 2002-03-08  Richard Williamson  <rjw@apple.com>
3233
3234         Fixed scroll bar recursion problems.
3235 Took a long time to find a stupid typo bug in [IFBaseWebController _frameForDataSource:fromFrame:]
3236 that overwrote an input parameter that should been a local variable.  This caused a crash the
3237 second time a page that contained an iframe was loaded.
3238         
3239         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3240         createFrameNamed:for:inParent:]), (-[IFBaseWebController
3241         _frameForDataSource:fromFrame:]):
3242         * WebView.subproj/IFDynamicScrollBarsView.m: (-[IFDynamicScrollBarsView
3243         reflectScrolledClipView:]):
3244         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _checkLoadComplete:]):
3245         * WebView.subproj/IFWebView.mm: (-[IFWebView layout]):
3246         * WebView.subproj/IFWebViewPrivate.h:
3247         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _setFrameScrollView:]),
3248         (-[IFWebView _frameScrollView]), (-[IFWebView _setupScrollers]):
3249
3250 2002-03-07  John Sullivan  <sullivan@apple.com>
3251
3252         * Misc.subproj/IFError.m: (-[IFError errorDescription]):
3253         Removed a line of debugging spam. Oops!
3254
3255 2002-03-07  Richard Williamson  <rjw@apple.com>
3256
3257         Fixed occasional scroll bar problem in iframes.
3258         Fixed occasional problem removing scroll bar on main page.
3259         
3260         * WebView.subproj/IFDynamicScrollBarsView.m: (-[IFDynamicScrollBarsView
3261         reflectScrolledClipView:]):
3262         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _checkLoadComplete:]):
3263         * WebView.subproj/IFWebView.mm: (-[IFWebView drawRect:]):
3264
3265 2002-03-07  John Sullivan  <sullivan@apple.com>
3266
3267         First pass at adding error strings to IFError. They are
3268         properly localized, but they don't include any parameters,
3269         and the strings haven't been made user-friendly.
3270
3271         * Misc.subproj/IFError.m: 
3272         (+[IFError initialize]): New method, set up a dictionary
3273         mapping error code to localized error string.
3274         (-[IFError errorDescription]): Read string from dictionary.
3275
3276         * English.lproj/IFError.strings: New file, auto-generated
3277         by the genstrings tool.
3278
3279         * WebKit.pbproj/project.pbxproj: Removed stray -F /symroots.
3280         This shouldn't have been in there since symroots location is
3281         no longer hardwired.
3282
3283 2002-03-07  John Sullivan  <sullivan@apple.com>
3284
3285         Defined more symbolic debug-level constants; specified ranges for use by
3286         different software levels (core/kit/client==browser) to enable easier
3287         isolation of debug messages.
3288
3289         * Misc.subproj/WebKitDebug.h: #defined new debug levels for existing uses;
3290         renamed a couple.
3291
3292         * Misc.subproj/WebKitDebug.m: (WebKitLog), (WebKitDebug): Updated for
3293         renamed debug levels.
3294
3295         * WebView.subproj/IFBaseWebController.mm: 
3296         (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]):
3297         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _stopLoading]):
3298         * WebView.subproj/IFWebView.mm: (-[IFWebView layout]), 
3299         (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]), (-[IFWebView drawRect:]),
3300         (-[IFWebView mouseDragged:]):
3301         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _resetView]):
3302         Changed numeric debug levels to symbolic ones.
3303
3304         * WebKit.pbproj/project.pbxproj: Jaguar/Puma version war.
3305
3306 2002-03-06  Richard Williamson  <rjw@apple.com>
3307
3308         Lots of little changes to improve drawing, and dynamic scroll bar
3309         layout.  We now have NO flash between pages, however, I still need
3310         to add a transition timeout.  As currently implemented the page will not
3311         transition until the document is read.
3312         
3313         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3314         locationChangeDone:forFrame:]):
3315         * WebView.subproj/IFDynamicScrollBarsView.m: (-[IFDynamicScrollBarsView
3316         reflectScrolledClipView:]):
3317         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame
3318         _transitionProvisionalToCommitted]), (-[IFWebFrame _checkLoadComplete:]):
3319         * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView
3320         dataSourceChanged:]), (-[IFWebView layout]), (-[IFWebView isOpaque]),
3321         (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]), (-[IFWebView
3322         drawRect:]), (-[IFWebView setFrame:]):
3323         * WebView.subproj/IFWebViewPrivate.h:
3324         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _stopPlugins]), (-[IFWebView
3325         _removeSubviews]):
3326
3327 2002-03-06  John Sullivan  <sullivan@apple.com>
3328
3329         * Misc.subproj/IFError.h: Removed stray but evil import.
3330
3331 2002-03-06  Maciej Stachowiak  <mjs@apple.com>
3332
3333         * WebKit.pbproj/project.pbxproj: Turn on -Werror.
3334
3335 2002-03-05  Richard Williamson  <rjw@apple.com>
3336
3337         Streamlined layout and drawing.  We now do the minimum amount of drawing and
3338         layout.
3339         
3340         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _checkLoadComplete:]):
3341         * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView
3342         layout]), (-[IFWebView setNeedsDisplay:]), (-[IFWebView setNeedsLayout:]),
3343         (-[IFWebView drawRect:]), (-[IFWebView setFrame:]), (-[IFWebView
3344         windowResized:]):
3345
3346 2002-03-05  John Sullivan  <sullivan@apple.com>
3347
3348         * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]):
3349         Tweak default font sizes so they match what algorithm used in Alexander
3350         returns.
3351
3352 2002-03-05  Richard Williamson  <rjw@apple.com>
3353
3354         Pass errors correctly to browser.
3355         Removed old notification code.
3356         Added support for IFError.
3357         Lots of little cleanups.
3358         Improved IFWebFrame state handling.
3359
3360         * Misc.subproj/IFError.h:
3361         * Misc.subproj/IFError.m: (IFErrorMake), (+[IFError load]), (-[IFError
3362         initWithErrorCode:]), (-[IFError errorCode]), (-[IFError errorDescription]):
3363         * WebKit.pbproj/project.pbxproj:
3364         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3365         receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
3366         receivedError:forResource:partialProgress:fromDataSource:]):
3367         * WebView.subproj/IFBaseWebControllerPrivate.h:
3368         * WebView.subproj/IFBaseWebControllerPrivate.mm:
3369         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource isLoading]):
3370         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource
3371         _startLoading:initiatedByUserEvent:]):
3372         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame
3373         initWithName:view:provisionalDataSource:controller:]), (-[IFWebFrame
3374         setProvisionalDataSource:]):
3375         * WebView.subproj/IFWebFramePrivate.h:
3376         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame
3377         _transitionProvisionalToCommitted]), (-[IFWebFrame _state]), (-[IFWebFrame
3378         _setState:]), (-[IFWebFrame _checkLoadComplete:]):
3379
3380 2002-03-05  John Sullivan  <sullivan@apple.com>
3381
3382         * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]):
3383         Changed default font sizes to match scheme used in Alexander. There are
3384         some serious wackinesses with KDE engine font size handling; if and when
3385         we address those we might revisit these default sizes.
3386
3387 2002-03-05  Maciej Stachowiak  <mjs@apple.com>
3388
3389         Removed references to IFAuthenticationHandler, since that protocol
3390         now lives in WebFoundation and it's no longer quite appropriate to
3391         include as part of a controller.
3392
3393         * WebView.subproj/IFBaseWebController.mm:
3394         * WebView.subproj/IFWebController.h:
3395
3396 2002-03-04  Richard Williamson  <rjw@apple.com>
3397
3398         Changes to support 'provisional' data sources.
3399         API changes to IFBaseWebController, removed redundant methods.
3400  
3401         * Misc.subproj/WebKitDebug.h:
3402         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
3403         getURLNotify:target:notifyData:]):
3404         * WebView.subproj/IFBaseWebController.h:
3405         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController init]),
3406         (-[IFBaseWebController initWithView:provisionalDataSource:]),
3407         (-[IFBaseWebController createFrameNamed:for:inParent:]), (-[IFBaseWebController
3408         receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
3409         receivedError:forResource:partialProgress:fromDataSource:]),
3410         (-[IFBaseWebController locationChangeCommittedForFrame:]), (-[IFBaseWebController
3411         _frameForDataSource:fromFrame:]), (-[IFBaseWebController mainFrame]):
3412         * WebView.subproj/IFBaseWebControllerPrivate.h:
3413         * WebView.subproj/IFBaseWebControllerPrivate.mm:
3414         * WebView.subproj/IFWebController.h:
3415         * WebView.subproj/IFWebDataSource.mm: (IFWebDataSourceMake), (+[IFWebDataSource
3416         load]):
3417         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource
3418         _startLoading:initiatedByUserEvent:]):
3419         * WebView.subproj/IFWebFrame.h:
3420         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame init]), (-[IFWebFrame
3421         initWithName:view:provisionalDataSource:controller:]), (-[IFWebFrame
3422         setProvisionalDataSource:]), (-[IFWebFrame startLoading]), (-[IFWebFrame
3423         stopLoading]), (-[IFWebFrame reload:]):
3424         * WebView.subproj/IFWebFramePrivate.h:
3425         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFrame _setDataSource:]),
3426         (-[IFWebFrame _transitionProvisionalToCommitted]):
3427         * WebView.subproj/IFWebView.h:
3428         * WebView.subproj/IFWebView.mm: (-[IFWebView provisionalDataSourceChanged:]),
3429         (-[IFWebView dataSourceChanged:]):
3430         * WebView.subproj/IFWebViewPrivate.h:
3431         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _provisionalWidget]):
3432
3433 2002-03-04  John Sullivan  <sullivan@apple.com>
3434
3435         Changed default fonts.
3436
3437         * WebView.subproj/IFWebDataSource.mm: 
3438         (+[IFWebDataSource initialize]): Changed default fonts to ones
3439         that actually exist (this was listing "Times-Roman" where it
3440         meant either "Times" or "Times New Roman"). I'm about to check
3441         in working font preferences, so it won't matter too much if you
3442         don't like the defaults (although we should of course make sure
3443         that the defaults are sensible, which I think they are).
3444
3445 2002-03-04  John Sullivan  <sullivan@apple.com>
3446
3447         * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]):
3448         Reverted default fonts to what they were before I accidentally
3449         checked in some debugging changes.
3450
3451 2002-03-01  Richard Williamson  <rjw@apple.com>
3452
3453         Fixed a potentially large leak in frames.  View associated w/
3454         frame was not being released.
3455         
3456         Added scaffolding for correct frame by frame load complete check.
3457         
3458         Moved private IFWebBaseController method implementations to 
3459         IFWebBaseControllerPrivate.mm.
3460         
3461         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3462         createFrameNamed:for:inParent:]), (-[IFBaseWebController
3463         receivedProgress:forResource:fromDataSource:]), (-[IFBaseWebController
3464         receivedError:forResource:partialProgress:fromDataSource:]):
3465         * WebView.subproj/IFBaseWebControllerPrivate.h:
3466         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate
3467         dealloc]), (-[IFBaseWebController _changeLocationTo:forFrame:parent:]),
3468         (-[IFBaseWebController _changeFrame:dataSource:]), (-[IFBaseWebController
3469         _checkLoadCompleteForDataSource:]):
3470         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate init]):
3471         * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged:]):
3472
3473 2002-02-27  Kenneth Kocienda  <kocienda@apple.com>
3474
3475         I have changed the way that WebCore is glued to WebFoundation and WebKit. 
3476         If you used or relied upon any code in the following files, you should
3477         now use the IF* equivalents straight up.
3478
3479         - Labyrinth/WebCore/include/WCBackForwardList.h
3480         - Labyrinth/WebCore/include/WCURICache.h
3481         - Labyrinth/WebCore/include/WCURICacheData.h
3482         - Labyrinth/WebCore/include/WCURIEntry.h
3483         - Labyrinth/WebCore/include/WCURIEntry.h
3484
3485         All changes in this commit are related to making dependant code work with the new convention.
3486
3487         * History.subproj/IFURIEntry.h:
3488         * History.subproj/IFURIEntry.m:
3489         * Plugins.subproj/IFPluginView.mm: (-[IFPluginView
3490         newStream:mimeType:notifyData:]), (-[IFPluginView
3491         IFURLHandle:resourceDataDidBecomeAvailable:]), (-[IFPluginView
3492         IFURLHandleResourceDidFinishLoading:data:]), (-[IFPluginView
3493         IFURLHandleResourceDidBeginLoading:]), (-[IFPluginView
3494         IFURLHandleResourceDidCancelLoading:]), (-[IFPluginView
3495         IFURLHandle:resourceDidFailLoadingWithResult:]):
3496         * WebKit.pbproj/kocienda.pbxuser:
3497         * WebKit.pbproj/project.pbxproj:
3498
3499 2002-02-26  John Sullivan  <sullivan@apple.com>
3500
3501         * History.subproj/IFURIEntry.m: (-[IFURIEntry dealloc]):
3502         Added missing dealloc method that 'leaks' found.
3503
3504         * History.subproj/IFURIList.m: (-[IFURIList dealloc]):
3505         Added missing [super dealloc] call that 'leaks' found.
3506
3507 2002-02-22  Maciej Stachowiak  <mjs@apple.com>
3508
3509         Fix prebinding:
3510
3511         * WebKit.pbproj/project.pbxproj: Set first segment address
3512         0x4000000 to avoid colliding with apps or our other frameworks.
3513
3514         Set up some hacks to avoid link-time dependency on
3515         WebKit. Prebinding is incompatible with - undefined suppress, so
3516         we can't have WebCore depend on symbols provided by WebKit any
3517         more:
3518
3519         * Plugins.subproj/IFPluginView.mm: (IFPluginMake), (+[IFPluginView load]),
3520         (startupVolumeName):
3521         * WebView.subproj/IFBaseWebController.mm: (IFLoadProgressMake), (+[IFLoadProgress
3522         load]):
3523
3524 2002-02-22  John Sullivan  <sullivan@apple.com>
3525
3526         Updated for modified NSCalendarDate extensions API.
3527
3528         * History.subproj/IFWebHistoryPrivate.m: 
3529         (-[IFWebHistoryPrivate findIndex:forDay:]): use compareDate: instead of 
3530         daysSinceDate:, which no longer exists.
3531
3532 2002-02-22  Richard Williamson  <rjw@apple.com>
3533
3534         Added data: to IFURLHandleResourceDidFinishLoading:
3535         
3536         * WebView.subproj/IFWebDataSource.h:
3537         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource isLoading]):
3538
3539 2002-02-22  Richard Williamson  <rjw@apple.com>
3540
3541         Implemented missing getter for provisionalDataSource.
3542         
3543         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame provisionalDataSource]):
3544         * WebView.subproj/IFWebFramePrivate.h:
3545
3546 2002-02-22  Richard Williamson  <rjw@apple.com>
3547
3548         Normalized code paths for setMainDataSource on controller and setDataSource on frame.
3549         
3550         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3551         setMainView:andMainDataSource:]), (-[IFBaseWebController
3552         createFrameNamed:for:inParent:]), (-[IFBaseWebController
3553         _changeFrame:dataSource:]):
3554         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource
3555         _setController:]):
3556         * WebView.subproj/IFWebFrame.h:
3557         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame init]), (-[IFWebFrame
3558         initWithName:view:dataSource:controller:]), (-[IFWebFrame setView:]),
3559         (-[IFWebFrame controller]), (-[IFWebFrame setController:]), (-[IFWebFrame
3560         setDataSource:]), (-[IFWebFrame reset]):
3561         * WebView.subproj/IFWebFramePrivate.h:
3562         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate setController:]),
3563         (-[IFWebFrame _setRenderFramePart:]), (-[IFWebFrame _renderFramePart]),
3564         (-[IFWebFrame _setDataSource:]):
3565
3566 2002-02-21  Richard Williamson  <rjw@apple.com>
3567
3568         Stop mostly working.
3569     
3570         * WebView.subproj/IFBaseWebController.h:
3571         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3572         _frameForDataSource:fromFrame:]), (-[IFBaseWebController frameForDataSource:]):
3573         * WebView.subproj/IFWebController.h:
3574         * WebView.subproj/IFWebDataSource.h:
3575         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource frame]),
3576         (-[IFWebDataSource frameName]), (-[IFWebDataSource stopLoading]):
3577         * WebView.subproj/IFWebDataSourcePrivate.h:
3578         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]),
3579         (-[IFWebDataSource _addURLHandle:]), (-[IFWebDataSource _removeURLHandle:]),
3580         (-[IFWebDataSource _stopLoading]), (-[IFWebDataSource
3581         _recursiveStopLoadingfromDataSource:]):
3582         * WebView.subproj/IFWebFrame.mm: (-[IFWebFrame setDataSource:]):
3583
3584 2002-02-20  Richard Williamson  <rjw@apple.com>
3585
3586     Some groundwork to bring WebFoundation callbacks up to 
3587     WebKit.
3588     
3589         * WebView.subproj/IFBaseWebController.mm: (-[IFLoadProgress init]),
3590         (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]),
3591         (-[IFBaseWebController
3592         receivedError:forResource:partialProgress:fromDataSource:]),
3593         (-[IFBaseWebController _changeFrame:dataSource:]):
3594         * WebView.subproj/IFWebController.h:
3595         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource stopLoading]):
3596         * WebView.subproj/IFWebFrame.h:
3597         * WebView.subproj/IFWebFramePrivate.h:
3598         * WebView.subproj/IFWebFramePrivate.mm: (-[IFWebFramePrivate
3599         setProvisionalDataSource:]):
3600
3601 2002-02-20  Maciej Stachowiak  <mjs@apple.com>
3602
3603         * WebView.subproj/IFWebController.h: Fix my WebController screw-up.
3604
3605 2002-02-19  John Sullivan  <sullivan@apple.com>
3606
3607         Finished first cut at IFWebHistory implementation. All methods are implemented
3608         except the string-matching ones.
3609
3610         * History.subproj/IFURIEntry.h:
3611         * History.subproj/IFURIEntry.m: (-[IFURIEntry initWithURL:title:image:comment:]),
3612         (-[IFURIEntry lastVisitedDate]), (-[IFURIEntry setModificationDate:]),
3613         (-[IFURIEntry setLastVisitedDate:]):
3614         Changed all NSDates to be NSCalendarDates.
3615
3616         * History.subproj/IFWebHistory.h:
3617         * History.subproj/IFWebHistory.m: (-[IFWebHistory init]), (-[IFWebHistory
3618         dealloc]), (-[IFWebHistory sendEntriesChangedNotification]), (-[IFWebHistory
3619         addEntry:]), (-[IFWebHistory removeEntry:]), (-[IFWebHistory
3620         removeEntriesForDay:]), (-[IFWebHistory removeAllEntries]), (-[IFWebHistory
3621         orderedLastVisitedDays]), (-[IFWebHistory orderedEntriesLastVisitedOnDay:]),
3622         (-[IFWebHistory entriesWithAddressContainingString:]), (-[IFWebHistory
3623         entriesWithTitleOrAddressContainingString:]), (-[IFWebHistory containsURL:]):
3624         Implemented all IFWebHistory methods by calling through to IFWebHistoryPrivate object.
3625         Send a change notification each time the actual data changes. Removed all
3626         canned-data mechanisms.
3627
3628         * History.subproj/IFWebHistoryPrivate.h:
3629         * History.subproj/IFWebHistoryPrivate.m: (-[IFWebHistoryPrivate init]),
3630         (-[IFWebHistoryPrivate dealloc]), (-[IFWebHistoryPrivate findIndex:forDay:]),
3631         (-[IFWebHistoryPrivate insertEntry:atDateIndex:]), (-[IFWebHistoryPrivate
3632         removeEntryForURLString:]), (-[IFWebHistoryPrivate addEntry:]),
3633         (-[IFWebHistoryPrivate removeEntry:]), (-[IFWebHistoryPrivate
3634         removeEntriesForDay:]), (-[IFWebHistoryPrivate removeAllEntries]),
3635         (-[IFWebHistoryPrivate orderedLastVisitedDays]), (-[IFWebHistoryPrivate
3636         orderedEntriesLastVisitedOnDay:]), (-[IFWebHistoryPrivate
3637         entriesWithAddressContainingString:]), (-[IFWebHistoryPrivate
3638         entriesWithTitleOrAddressContainingString:]), (-[IFWebHistoryPrivate
3639         containsURL:]):
3640         Implemented guts of history mechanism using a dictionary for URL lookup and
3641         a sorted array of dates with entries and a sorted array of sorted arrays of 
3642         entries per date.
3643
3644         * WebKit.pbproj/project.pbxproj: Updated for new files
3645
3646 2002-02-18  John Sullivan  <sullivan@apple.com>
3647
3648         First piece of implementing IFWebHistory. None of the mutators do anything,
3649         and the accessors return canned data. But at least all the temporary hackery
3650         is hiding behind legitimate API.
3651
3652         * History.subproj/IFWebHistory.h:
3653         * History.subproj/IFWebHistory.m: 
3654
3655         (+[IFWebHistory sharedWebHistory]):
3656         Implemented sensibly.
3657
3658         (-[IFWebHistory createTestEntryWithURLString:title:date:]), 
3659         (-[IFWebHistory testDataDates]), (-[IFWebHistory testData]), 
3660         Private temporary hackery to return fake data.  
3661
3662         (-[IFWebHistory orderedLastVisitedDays]), 
3663         (-[IFWebHistory orderedEntriesLastVisitedOnDay:]):
3664         Implemented using temporary hackery.
3665
3666         (-[IFWebHistory addEntry:]),
3667         (-[IFWebHistory removeEntry:]), 
3668         (-[IFWebHistory removeAllEntries]):
3669         Unimplemented mutator methods.
3670
3671         (-[IFWebHistory entriesWithAddressContainingString:]), 
3672         (-[IFWebHistory entriesWithTitleOrAddressContainingString:]), 
3673         (-[IFWebHistory containsURL:]):
3674         Methods that we'll need eventually, currently unimplemented. We may flesh out
3675         the API a little more before we actually implement any of these.
3676
3677         (-[NSCalendarDate daysSinceDate:]): Convenience method in category; will
3678         probably move to another file soon.
3679
3680         * WebKit.pbproj/project.pbxproj: Updated for new files
3681
3682 2002-02-18  Kenneth Kocienda  <kocienda@apple.com>
3683
3684         Fixed breakge that came up when project file merged.
3685
3686         * WebKit.pbproj/project.pbxproj:
3687
3688 2002-02-18  Kenneth Kocienda  <kocienda@apple.com>
3689
3690         Changes to support building standalone Alexander with Frameworks
3691         and libraries contained inside the app package.
3692
3693         * Makefile.am:
3694         * WebKit.pbproj/kocienda.pbxuser:
3695         * WebKit.pbproj/project.pbxproj:
3696
3697 2002-02-18  Richard Williamson  <rjw@apple.com>
3698
3699         Performance measurement.
3700         
3701         * WebView.subproj/IFWebView.mm: (-[IFWebView layout]), (-[IFWebView drawRect:]):
3702
3703 2002-02-16  Richard Williamson  <rjw@apple.com>
3704
3705         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource controller]):
3706
3707 2002-02-16  Richard Williamson  <rjw@apple.com>
3708
3709         Reminders to change frame<->datasource ownership cycle.
3710         
3711         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource setFrame:]),
3712         (-[IFWebDataSource frame]):
3713
3714 2002-02-13  Richard Williamson  <rjw@apple.com>
3715
3716     Fixed cleanup.  Should revisit ownership graph.  Cycles may be avoidable.
3717     
3718         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate
3719         dealloc]):
3720         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource setFrame:]):
3721         * WebView.subproj/IFWebFrame.m: (-[IFWebFrame reset]):
3722         * WebView.subproj/IFWebViewPrivate.h:
3723         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _resetWidget]):
3724
3725 2002-02-12  Richard Williamson  <rjw@apple.com>
3726
3727     Made basic forms work.
3728     
3729         * WebView.subproj/IFBaseWebController.mm:
3730         * WebView.subproj/IFWebController.h:
3731         * WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]),
3732         (-[IFWebDataSource startLoading:]):
3733         * WebView.subproj/IFWebDataSourcePrivate.h:
3734         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource
3735         _startLoading:initiatedByUserEvent:]):
3736
3737 2002-02-11  John Sullivan  <sullivan@apple.com>
3738
3739         Fixed bug where clicking on empty browser page would crash. This could
3740         happen when the start page was empty, or failed to load.
3741
3742         * WebView.subproj/IFWebView.mm: 
3743         (-[IFWebView mouseUp:]), (-[IFWebView mouseDown:]):
3744         Checked for nil widget before dispatching mouse events.
3745
3746 2002-02-08  John Sullivan  <sullivan@apple.com>
3747
3748         Changed back & forward to goBack and goForward and made them not return
3749         a value (so signatures match those in WebBrowser). Added backEntry and
3750         forwardEntry that don't alter the list. These will be needed to ask to
3751         go to the URL at the back position without altering the back list until
3752         the change is committed.
3753
3754         * History.subproj/IFBackForwardList.h:
3755         * History.subproj/IFBackForwardList.m: (-[IFBackForwardList goBack]),
3756         (-[IFBackForwardList backEntry]), (-[IFBackForwardList currentEntry]),
3757         (-[IFBackForwardList forwardEntry]), (-[IFBackForwardList goForward]):
3758
3759 2002-02-07  Richard Williamson  <rjw@apple.com>
3760     
3761     More changes to IFLocationChangeHandler API.
3762
3763         * WebView.subproj/IFBaseWebController.mm:
3764         * WebView.subproj/IFWebController.h:
3765         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource startLoading:]):
3766         * WebView.subproj/IFWebDataSourcePrivate.h:
3767         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource
3768         _startLoading:initiatedByMouseEvent:]):
3769         * WebView.subproj/IFWebFramePrivate.h:
3770
3771 2002-02-07  Richard Williamson  <rjw@apple.com>
3772
3773     Update IFLocationChangeHandler API.  Added factored code for
3774     URL loading.
3775     
3776         * ChangeLog:
3777         * WebView.subproj/IFBaseWebController.h:
3778         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3779         setMainView:andMainDataSource:]), (-[IFBaseWebController
3780         _changeLocationTo:forFrame:parent:]), (-[IFBaseWebController
3781         _changeFrame:dataSource:]), (-[IFBaseWebController
3782         locationChangeCommittedForFrame:]):
3783         * WebView.subproj/IFBaseWebControllerPrivate.h:
3784         * WebView.subproj/IFWebController.h:
3785         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource startLoading:]):
3786         * WebView.subproj/IFWebFrame.h:
3787         * WebView.subproj/IFWebFrame.m: (-[IFWebFrame reset]):
3788
3789 2002-02-06  Richard Williamson  <rjw@apple.com>
3790
3791     Fixed allocation problems.  Implemented parent->child management
3792     for datasource correctly.
3793     
3794         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3795         changeLocationTo:forFrame:]):
3796         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource addFrame:]):
3797         * WebView.subproj/IFWebDataSourcePrivate.h:
3798         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource
3799         _setController:]), (-[IFWebDataSource _part]), (-[IFWebDataSource _setParent:]):
3800         * WebView.subproj/IFWebFrame.h:
3801         * WebView.subproj/IFWebFrame.m: (-[IFWebFrame _setRenderFramePart:]),
3802         (-[IFWebFrame _renderFramePart]):
3803         * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged:]):
3804
3805 2002-02-05  Richard Williamson  <rjw@apple.com>
3806
3807     Updated controller API to reflect frames.
3808     
3809         * WebView.subproj/IFBaseWebController.h:
3810         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3811         initWithView:dataSource:]), (-[IFBaseWebController
3812         setMainView:andMainDataSource:]), (-[IFBaseWebController
3813         createFrameNamed:for:inParent:]), (-[IFBaseWebController mainFrame]),
3814         (-[IFBaseWebController mainView]), (-[IFBaseWebController mainDataSource]),
3815         (-[IFBaseWebController changeLocationTo:forFrame:]), (-[IFBaseWebController
3816         locationChangeStartedForFrame:]), (-[IFBaseWebController
3817         locationChangeInProgressForFrame:]), (-[IFBaseWebController
3818         locationChangeDone:forFrame:]):
3819         * WebView.subproj/IFBaseWebControllerPrivate.h:
3820         * WebView.subproj/IFBaseWebControllerPrivate.mm: (-[IFBaseWebControllerPrivate
3821         init]), (-[IFBaseWebControllerPrivate dealloc]):
3822         * WebView.subproj/IFWebController.h:
3823         * WebView.subproj/IFWebDataSource.h:
3824         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource initWithURL:]),
3825         (-[IFWebDataSource setFrame:]), (-[IFWebDataSource frame]), (-[IFWebDataSource
3826         frameName]):
3827         * WebView.subproj/IFWebDataSourcePrivate.h:
3828         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]),
3829         (-[IFWebDataSource _part]):
3830         * WebView.subproj/IFWebFrame.h:
3831         * WebView.subproj/IFWebFrame.m: (-[IFWebFrame dealloc]), (-[IFWebFrame
3832         dataSource]), (-[IFWebFrame setDataSource:]):
3833         * WebView.subproj/IFWebView.h:
3834         * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged:]):
3835
3836 2002-02-05  Maciej Stachowiak  <mjs@apple.com>
3837
3838         Remove old obsolete cache code from tree and build.
3839
3840         * Cache.subproj/NSURICache.h:
3841         * Cache.subproj/NSURICache.m:
3842         * Cache.subproj/NSURICacheData.h:
3843         * Cache.subproj/NSURICacheData.m:
3844         * Cache.subproj/NSURILoad.h:
3845         * Cache.subproj/NSURILoad.m:
3846         * Cache.subproj/NSURILoadReallyPrivate.h:
3847         * Cache.subproj/_NSURICacheQueue.h:
3848         * Cache.subproj/_NSURICacheQueue.m:
3849         * Misc.subproj/WebKitReallyPrivate.h:
3850         * Misc.subproj/_NSMonitor.h:
3851         * Misc.subproj/_NSMonitor.m:
3852         * WebKit.pbproj/project.pbxproj:
3853
3854 2002-02-05  Richard Williamson  <rjw@apple.com>
3855
3856     Changes to support dynamic scroll bars in frames/iframes.
3857
3858         * WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController
3859         createFrameNamed:for:inParent:]):
3860         * WebView.subproj/IFWebView.mm: (-[IFWebView dataSourceChanged]):
3861         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebView _setFrameScrollView:]):
3862
3863 2002-02-04  Maciej Stachowiak  <mjs@apple.com>
3864
3865         Rename all classes from WK prefix to IF prefix.
3866
3867         * Cache.subproj/IFLoadChunk.h:
3868         * Cache.subproj/IFWebCache.h:
3869         * Cache.subproj/IFWebCacheClient.h:
3870         * Cache.subproj/IFWebContentType.h:
3871         * History.subproj/IFAttributedURL.h:
3872         * History.subproj/IFBackForwardList.h:
3873         * History.subproj/IFBackForwardList.m: (-[IFBackForwardList init]),
3874         (-[IFBackForwardList addEntry:]), (-[IFBackForwardList back]),
3875         (-[IFBackForwardList currentEntry]), (-[IFBackForwardList forward]),
3876         (-[IFBackForwardList description]):
3877         * History.subproj/IFURIEntry.h:
3878         * History.subproj/IFURIEntry.m: (WCCreateURIEntry), (-[IFURIEntry isEqual:]),
3879         (-[IFURIEntry description]):
3880         * History.subproj/IFURIList.h:
3881         * History.subproj/IFURIList.m: (newURIListNode), (freeNode), (-[IFURIList
3882         dealloc]), (-[IFURIList addEntry:]), (-[IFURIList removeURL:]), (-[IFURIList
3883         removeEntry:]), (-[IFURIList entryForURL:]), (-[IFURIList entryAtIndex:]),
3884         (-[IFURIList removeEntryAtIndex:]), (-[IFURIList removeEntriesToIndex:]):
3885         * Misc.subproj/IFException.h:
3886         * Misc.subproj/IFException.m:
3887         * WebKit.pbproj/project.pbxproj:
3888         * WebView.subproj/IFBaseWebController.h:
3889         * WebView.subproj/IFBaseWebController.mm: (+[IFObjectHolder holderWithObject:]),
3890         (-[IFBaseWebController init]), (-[IFBaseWebController initWithView:dataSource:]),
3891         (-[IFBaseWebController setDirectsAllLinksToSystemBrowser:]),
3892         (-[IFBaseWebController directsAllLinksToSystemBrowser]), (-[IFBaseWebController
3893         setView:andDataSource:]), (-[IFBaseWebController
3894         createFrameNamed:for:inParent:]), (-[IFBaseWebController viewForDataSource:]),
3895         (-[IFBaseWebController dataSourceForView:]), (-[IFBaseWebController mainView]),
3896         (-[IFBaseWebController mainDataSource]), (-[IFBaseWebController
3897         setStatusText:forDataSource:]), (-[IFBaseWebController
3898         statusTextForDataSource:]), (-[IFBaseWebController authenticate:]),
3899         (-[IFBaseWebController receivedProgress:forResource:fromDataSource:]),
3900         (-[IFBaseWebController
3901         receivedError:forResource:partialProgress:fromDataSource:]),
3902         (-[IFBaseWebController locationWillChangeTo:]), (-[IFBaseWebController
3903         locationChangeStartedForDataSource:]), (-[IFBaseWebController
3904         locationChangeInProgressForDataSource:]), (-[IFBaseWebController
3905         locationChangeDone:forDataSource:]), (-[IFBaseWebController
3906         receivedPageTitle:forDataSource:]), (-[IFBaseWebController
3907         serverRedirectTo:forDataSource:]):
3908         * WebView.subproj/IFBaseWebControllerPrivate.h:
3909         * WebView.subproj/IFBaseWebControllerPrivate.mm:
3910         * WebView.subproj/IFDynamicScrollBarsView.h:
3911         * WebView.subproj/IFDynamicScrollBarsView.m:
3912         * WebView.subproj/IFGrabBag.h:
3913         * WebView.subproj/IFPreferences.h:
3914         * WebView.subproj/IFWebController.h:
3915         * WebView.subproj/IFWebDataSource.h:
3916         * WebView.subproj/IFWebDataSource.mm: (-[IFWebDataSource _commonInitialization]),
3917         (-[IFWebDataSource initWithURL:]), (-[IFWebDataSource frameName]),
3918         (-[IFWebDataSource isMainDocument]), (-[IFWebDataSource parent]),
3919         (-[IFWebDataSource children]), (-[IFWebDataSource addFrame:]), (-[IFWebDataSource
3920         frameNamed:]), (-[IFWebDataSource frameNames]), (-[IFWebDataSource
3921         findDataSourceForFrameNamed:]), (-[IFWebDataSource frameExists:]),
3922         (-[IFWebDataSource openURL:inFrameNamed:]), (-[IFWebDataSource
3923         openURL:inIFrame:]), (-[IFWebDataSource controller]), (-[IFWebDataSource
3924         inputURL]), (-[IFWebDataSource finalURL]), (-[IFWebDataSource wasRedirected]),
3925         (-[IFWebDataSource stopLoading]), (-[IFWebDataSource isLoading]),
3926         (-[IFWebDataSource base]), (-[IFWebDataSource baseTarget]), (-[IFWebDataSource
3927         encoding]), (-[IFWebDataSource setUserStyleSheetFromURL:]), (-[IFWebDataSource
3928         setUserStyleSheetFromString:]), (-[IFWebDataSource icon]), (-[IFWebDataSource
3929         isPageSecure]), (-[IFWebDataSource pageTitle]):
3930         * WebView.subproj/IFWebDataSourcePrivate.h:
3931         * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSourcePrivate dealloc]),
3932         (-[IFWebDataSource _setController:]), (-[IFWebDataSource _part]),
3933         (-[IFWebDataSource _setFrameName:]):
3934         * WebView.subproj/IFWebFrame.h:
3935         * WebView.subproj/IFWebFrame.m: (-[IFWebFrame initWithName:view:dataSource:]),
3936         (-[IFWebFrame dataSource]):
3937         * WebView.subproj/IFWebView.h:
3938         * WebView.subproj/IFWebView.mm: (-[IFWebView initWithFrame:]), (-[IFWebView
3939         controller]), (-[IFWebView dataSourceChanged]), (-[IFWebView layout]),
3940         (-[IFWebView stopAnimations]), (-[IFWebView setFontSizes:]), (-[IFWebView
3941         fontSizes]), (-[IFWebView resetFontSizes]), (-[IFWebView setStandardFont:]),
3942         (-[IFWebView standardFont]), (-[IFWebView setFixedFont:]), (-[IFWebView
3943         fixedFont]), (-[IFWebView setCanDragFrom:]), (-[IFWebView setCanDragTo:]),
3944         (-[IFWebView defaultContextMenuItemsForNode:]), (-[IFWebView
3945         setContextMenusEnabled:]), (-[IFWebView deselectText]), (-[IFWebView
3946         searchFor:direction:caseSensitive:]), (-[IFWebView selectedText]), (-[IFWebView
3947         setNeedsLayout:]), (-[IFWebView drawRect:]), (-[IFWebView setIsFlipped:]),
3948         (-[IFWebView isFlipped]), (-[IFWebView mouseUp:]), (-[IFWebView mouseDown:]):
3949         * WebView.subproj/IFWebViewPrivate.h:
3950         * WebView.subproj/IFWebViewPrivate.mm: (-[IFWebViewPrivate dealloc]),
3951         (-[IFWebView _setController:]), (-[IFWebView _widget]), (-[IFWebView
3952         _setFrameScrollView:]), (-[IFWebView _frameScrollView]):
3953
3954 2002-02-04  Maciej Stachowiak  <mjs@apple.com>
3955
3956         Rename all WK files to IF (classes not renamed yet).
3957
3958         * Cache.subproj/IFLoadChunk.h:
3959         * Cache.subproj/IFWebCache.h:
3960         * Cache.subproj/IFWebCacheClient.h:
3961         * Cache.subproj/IFWebContentType.h:
3962         * Cache.subproj/WKLoadChunk.h:
3963         * Cache.subproj/WKWebCache.h:
3964         * Cache.subproj/WKWebCacheClient.h:
3965         * Cache.subproj/WKWebContentType.h:
3966         * History.subproj/IFAttributedURL.h:
3967         * History.subproj/IFBackForwardList.h:
3968         * History.subproj/IFBackForwardList.m:
3969         * History.subproj/IFURIEntry.h:
3970         * History.subproj/IFURIEntry.m:
3971         * History.subproj/IFURIList.h:
3972         * History.subproj/IFURIList.m:
3973         * History.subproj/WKAttributedURL.h:
3974         * History.subproj/WKBackForwardList.h:
3975         * History.subproj/WKBackForwardList.m:
3976         * History.subproj/WKURIEntry.h:
3977         * History.subproj/WKURIEntry.m:
3978         * History.subproj/WKURIList.h:
3979         * History.subproj/WKURIList.m:
3980         * Misc.subproj/WKException.h:
3981         * Misc.subproj/WKException.m:
3982         * WebKit.pbproj/project.pbxproj:
3983         * WebView.subproj/IFBaseWebController.h:
3984         * WebView.subproj/IFBaseWebController.mm:
3985         * WebView.subproj/IFBaseWebControllerPrivate.h:
3986         * WebView.subproj/IFBaseWebControllerPrivate.mm:
3987         * WebView.subproj/IFDefaultWebController.h:
3988         * WebView.subproj/IFDefaultWebController.mm:
3989         * WebView.subproj/IFDefaultWebControllerPrivate.h:
3990         * WebView.subproj/IFDefaultWebControllerPrivate.mm:
3991         * WebView.subproj/IFDynamicScrollBarsView.m:
3992         * WebView.subproj/IFGrabBag.h:
3993         * WebView.subproj/IFPreferences.h:
3994         * WebView.subproj/IFWebController.h:
3995         * WebView.subproj/IFWebDataSource.h:
3996         * WebView.subproj/IFWebDataSource.mm:
3997         * WebView.subproj/IFWebDataSourcePrivate.h:
3998         * WebView.subproj/IFWebDataSourcePrivate.mm:
3999         * WebView.subproj/IFWebFrame.h:
4000         * WebView.subproj/IFWebFrame.m:
4001         * WebView.subproj/IFWebView.h:
4002         * WebView.subproj/IFWebView.mm:
4003         * WebView.subproj/IFWebViewPrivate.h:
4004         * WebView.subproj/IFWebViewPrivate.mm:
4005         * WebView.subproj/WKDefaultWebController.h:
4006         * WebView.subproj/WKDefaultWebController.mm:
4007         * WebView.subproj/WKDefaultWebControllerPrivate.h:
4008         * WebView.subproj/WKDefaultWebControllerPrivate.mm:
4009         * WebView.subproj/WKDynamicScrollBarsView.h:
4010         * WebView.subproj/WKDynamicScrollBarsView.m:
4011         * WebView.subproj/WKGrabBag.h:
4012         * WebView.subproj/WKPreferences.h:
4013         * WebView.subproj/WKWebController.h:
4014         * WebView.subproj/WKWebDataSource.h:
4015         * WebView.subproj/WKWebDataSource.mm:
4016         * WebView.subproj/WKWebDataSourcePrivate.h:
4017         * WebView.subproj/WKWebDataSourcePrivate.mm:
4018         * WebView.subproj/WKWebFrame.h:
4019         * WebView.subproj/WKWebFrame.m:
4020         * WebView.subproj/WKWebView.h:
4021         * WebView.subproj/WKWebView.mm:
4022         * WebView.subproj/WKWebViewPrivate.h:
4023         * WebView.subproj/WKWebViewPrivate.mm:
4024
4025 2002-02-01  Richard Williamson  <rjw@apple.com>
4026
4027     Changes for dynamic scrolling frames.  Added notification of complete
4028     load.
4029     
4030         * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController
4031         createFrameNamed:for:inParent:]), (-[WKDefaultWebController
4032         locationChangeDone:forDataSource:]):
4033         * WebView.subproj/WKWebController.h:
4034         * WebView.subproj/WKWebView.mm: (-[WKWebView dataSourceChanged]):
4035         * WebView.subproj/WKWebViewPrivate.h:
4036         * WebView.subproj/WKWebViewPrivate.mm: (-[WKWebViewPrivate dealloc]),
4037         (-[WKWebView _widget]), (-[WKWebView _setFrameScrollView:]), (-[WKWebView
4038         _frameScrollView]):
4039
4040 2002-02-01  John Sullivan  <sullivan@apple.com>
4041
4042         Added call to examine the entry at the current index in
4043         the back/forward list without modifying the list. I needed
4044         this to save context data (in my case, scroll position)
4045         on the currently-viewed entry.
4046
4047         * History.subproj/WKBackForwardList.h:
4048         * History.subproj/WKBackForwardList.m: 
4049         (-[WKBackForwardList currentEntry]):
4050         Just returns the entry at the current index.
4051
4052 2002-01-31  John Sullivan  <sullivan@apple.com>
4053
4054         * History.subproj/WKURIList.m: (newURIListNode):
4055         retain entries before adding them to list. The node-freeing
4056         routine was releasing, but the node-adding routine wasn't
4057         retaining. Bad asymmetry, made up for by WebViewTest not
4058         autoreleasing. I fixed that too.
4059
4060 2002-01-31  John Sullivan  <sullivan@apple.com>
4061
4062         * WebKit.pbproj: Removed -O0, so it will now get all the same
4063         warnings as pbxbuild gets.
4064
4065 2002-01-31  Kenneth Kocienda  <kocienda@apple.com>
4066
4067         Removed dependency on WC versions of these files
4068         
4069         * History.subproj/WKBackForwardList.h:
4070         * History.subproj/WKBackForwardList.m:
4071         * History.subproj/WKURIEntry.h:
4072         * History.subproj/WKURIEntry.m:
4073         * WebKit.pbproj/project.pbxproj:
4074
4075 2002-01-31  John Sullivan  <sullivan@apple.com>
4076
4077         * WebKit.pbproj:
4078         Marked WKURIList.h as a public header
4079
4080 2002-01-30  Richard Williamson  <rjw@apple.com>
4081
4082         * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController
4083         createFrameNamed:for:inParent:]):
4084         * WebView.subproj/WKWebDataSource.mm: (-[WKWebDataSource documentTextFromDOM]):
4085
4086 2002-01-30  Richard Williamson  <rjw@apple.com>
4087
4088     Cleaned up API w/ respect to frames.
4089     
4090         * WebView.subproj/WKDefaultWebController.h:
4091         * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController
4092         setView:andDataSource:]), (-[WKDefaultWebController
4093         createFrameNamed:for:inParent:]):
4094         * WebView.subproj/WKWebController.h:
4095         * WebView.subproj/WKWebDataSource.h:
4096
4097 2002-01-30  Kenneth Kocienda  <kocienda@apple.com>
4098
4099         Added *.lo, *.la, Icon, and .libs to .cvsignore files
4100         
4101         * .cvsignore:
4102
4103 2002-01-29  Richard Williamson  <rjw@apple.com>
4104
4105         * ChangeLog:
4106         * WebView.subproj/WKDefaultWebController.h:
4107         * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController
4108         setView:andDataSource:]), (-[WKDefaultWebController dataSourceForView:]):
4109
4110 2002-01-29  Richard Williamson  <rjw@apple.com>
4111
4112         * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController
4113         setView:andDataSource:]):
4114
4115 2002-01-29  Richard Williamson  <rjw@apple.com>
4116
4117     First pass at frame code.  Still needs lots of cleanup.
4118     
4119         * WebKit.pbproj/project.pbxproj:
4120         * WebView.subproj/WKDefaultWebController.h:
4121         * WebView.subproj/WKDefaultWebController.mm: (-[WKDefaultWebController init]):
4122         * WebView.subproj/WKWebDataSource.h:
4123         * WebView.subproj/WKWebDataSource.mm: (-[WKWebDataSource dealloc]),
4124         (-[WKWebDataSource frameName]), (-[WKWebDataSource parent]), (-[WKWebDataSource
4125         children]), (-[WKWebDataSource addFrame:]), (-[WKWebDataSource frameNamed:]):
4126         * WebView.subproj/WKWebDataSourcePrivate.h:
4127         * WebView.subproj/WKWebDataSourcePrivate.mm: (-[WKWebDataSourcePrivate init]),
4128         (-[WKWebDataSourcePrivate dealloc]), (-[WKWebDataSource _setController:]),
4129         (-[WKWebDataSource _setFrameName:]):
4130         * WebView.subproj/WKWebView.mm: (-[WKWebView mouseUp:]):
4131         * WebView.subproj/WKWebViewPrivate.h:
4132         * WebView.subproj/WKWebViewPrivate.mm: (-[WKWebViewPrivate dealloc]),
4133         (-[WKWebView _setController:]), (-[WKWebView _widget]):
4134
4135 2002-01-29  Kenneth Kocienda  <kocienda@apple.com>
4136
4137         WebKit now links with WebFoundation
4138         
4139         * WebKit.pbproj/kocienda.pbxuser:
4140         * WebKit.pbproj/project.pbxproj:
4141
4142
4143 2002-01-23  Ken Kocienda  <kocienda@apple.com>
4144
4145         Took out @executable_path hack added for Alexander demo.
4146         This should clear up a class of crash-on-launch issues.
4147
4148         * WebKit.pbproj/project.pbxproj:
4149
4150 2002-01-21  John Sullivan  <sullivan@apple.com>
4151
4152         * WebView.subproj/WKWebController.h:
4153         * WebView.subproj/WKWebView.h:
4154         Changed WKConcreteWebController to WKDefaultWebController in a
4155         couple of comments.
4156
4157 2002-01-18  Richard Williamson  <rjw@apple.com>
4158
4159     First pass at new view/datasource/controller API.
4160     
4161         * Misc.subproj/WKException.h:
4162         * Misc.subproj/WKException.m:
4163         * WebKit.pbproj/project.pbxproj:
4164         * WebView.subproj/WKDefaultWebController.h:
4165         * WebView.subproj/WKDefaultWebController.mm: (+[WKObjectHolder
4166         holderWithObject:]), (-[WKObjectHolder initWithObject:]), (-[WKObjectHolder
4167         dealloc]), (-[WKObjectHolder copyWithZone:]), (-[WKObjectHolder hash]),
4168         (-[WKObjectHolder object]), (-[WKObjectHolder isEqual:]),
4169         (-[WKDefaultWebController initWithView:dataSource:]), (-[WKDefaultWebController
4170         dealloc]), (-[WKDefaultWebController setDirectsAllLinksToSystemBrowser:]),
4171         (-[WKDefaultWebController directsAllLinksToSystemBrowser]),
4172         (-[WKDefaultWebController setView:andDataSource:]), (-[WKDefaultWebController
4173         viewForDataSource:]), (-[WKDefaultWebController dataSourceForView:]),
4174         (-[WKDefaultWebController mainView]), (-[WKDefaultWebController mainDataSource]),
4175         (-[WKDefaultWebController createViewForDataSource:inFrameNamed:]),
4176         (-[WKDefaultWebController createViewForDataSource:inIFrame:]),
4177         (-[WKDefaultWebController setStatusText:forDataSource:]),
4178         (-[WKDefaultWebController statusTextForDataSource:]), (-[WKDefaultWebController
4179         authenticate:]), (-[WKDefaultWebController
4180         receivedProgress:forResource:fromDataSource:]), (-[WKDefaultWebController
4181         receivedError:forResource:partialProgress:fromDataSource:]),
4182         (-[WKDefaultWebController locationWillChangeTo:]), (-[WKDefaultWebController
4183         locationChangeStartedForDataSource:]), (-[WKDefaultWebController
4184         locationChangeInProgressForDataSource:]), (-[WKDefaultWebController
4185         locationChangeDone:forDataSource:]), (-[WKDefaultWebController
4186         receivedPageTitle:forDataSource:]), (-[WKDefaultWebController
4187         serverRedirectTo:forDataSource:]):
4188         * WebView.subproj/WKDefaultWebControllerPrivate.h:
4189  &nbs