e8cb58a4cd08f40e50737b81ce86c8439b6a890e
[WebKit-https.git] / WebKit / win / ChangeLog
1 2007-09-25  Darin Adler  <darin@apple.com>
2
3         Reviewed by Steve.
4
5         - fix <rdar://problem/5095701> Download requring HTTP auth fails
6           (progress bar forever)
7
8         The functions in WebDownload relating to authentication challenges needed
9         to be implemented.
10
11         * WebDownload.cpp:
12         (WebDownload::cancelAuthenticationChallenge): Implement.
13         (WebDownload::continueWithoutCredentialForAuthenticationChallenge): Ditto.
14         (WebDownload::useCredential): Ditto.
15         (WebDownload::willSendRequest): Fix storage leak by adopting request
16         and response after creating them. Also retain the result before returning
17         it, since that's the API contract with CFNetwork.
18         (WebDownload::didReceiveAuthenticationChallenge): Implement.
19         (WebDownload::didReceiveResponse): Fix storage leak by adopting response.
20         (WebDownload::willResumeWithResponse): Ditto.
21         (WebDownload::didFail): Ditto.
22
23         * WebURLAuthenticationChallenge.h: Get rid of the IID #define,
24         instead using __declspec(uuid). Added a sender parameter to the
25         create function and an m_sender data member.
26         * WebURLAuthenticationChallenge.cpp:
27         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge): Added an
28         explicit sender parameter so this can be used with a WebDownload, which
29         does not involve a ResourceHandle. Later we should clean this up and not
30         involve WebCore or ResourceHandle directly even for the non-download case.
31         (WebURLAuthenticationChallenge::createInstance): Added an overload for the
32         case with an explicit sender parameter.
33         (WebURLAuthenticationChallenge::QueryInterface): Use __uuidof for the ID
34         of this class. In general, we should move to __uuidof as much as possible
35         and keep the separate macros to a minimum -- but we should do this for all
36         uses of each class at one time to make sure we don't run into problems
37         with two different UUIDs for the same class. This patch does it for three
38         classes.
39         (WebURLAuthenticationChallenge::initWithProtectionSpace): Use the query
40         constructor instead of an explicit QueryInterface for WebURLCredential.
41         This is another class where I'm switching from CLSID/IID macros to the
42         use of __uuidof, but in this case the use of __uuidof is implicit.
43         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): Ditto,
44         but for WebURLAuthenticationChallenge and WebURLAuthenticationChallengeSender.
45         (WebURLAuthenticationChallenge::sender): Use the new m_sender member to
46         cache the sender object and also use the one that was passed into the
47         constructor, if any.
48
49         * WebURLAuthenticationChallengeSender.h: Get rid of the IID #define,
50         instead using __declspec(uuid). Also minimize includes and make data
51         members private instead of protected.
52         * WebURLAuthenticationChallengeSender.cpp:
53         (WebURLAuthenticationChallengeSender::QueryInterface): Use __uuidof instead
54         of IID macro.
55         (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
56         Use query constructor instead of QueryInterface.
57         (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
58         Ditto.
59         (WebURLAuthenticationChallengeSender::useCredential): Ditto.
60
61         * WebURLCredential.cpp: (WebURLCredential::QueryInterface): Use __uuidof
62         instead of CLSID_WebURLCredential.
63
64         - tangentially-related cleanup
65
66         * WebFrame.cpp:
67         (WebFrame::dispatchDidReceiveAuthenticationChallenge): Use the adopt
68         constructor instead of a separate adoptRef call.
69         (WebFrame::dispatchDidCancelAuthenticationChallenge): Ditto.
70
71 2007-09-24  Brady Eidson  <beidson@apple.com>
72
73         Reviewed by John Sullivan
74
75         Fix for <rdar://5493371> - Crash in Icon Database on Windows
76         
77         * WebIconDatabase.cpp:
78         (WebIconDatabase::iconForURL): If the URL is NULL, fallback to the default icon without asking WebCore
79
80 2007-09-24  Adam Roben  <aroben@apple.com>
81
82         Fix <rdar://5499507> FrameView will always have size (0,0) if its parent WebView is never resized
83
84         Reviewed by Darin.
85
86         * WebView.cpp:
87         (WebView::initWithFrame): Set the main FrameView's size to the size of
88         the WebView.
89
90 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
91
92         - Fixed a syntax guideline mistake.
93
94         * WebChromeClient.cpp:
95         (WebChromeClient::scrollbarsVisible):
96
97 2007-09-20  Oliver Hunt  <oliver@apple.com>
98
99         Reviewed by Steve.
100
101         <rdar://problem/5487153> Korean characters are displayed as garbage with default encoding in some Korean web sites
102
103         Adding support for per-localisation default character encodings on
104         windows.
105         
106         * English.lproj/Localizable.strings:
107         * WebPreferences.cpp:
108         (WebPreferences::initializeDefaultSettings):
109
110 2007-09-20  Kevin McCullough  <kmccullough@apple.com>
111
112         Reviewed by Oliver.
113
114         - Added the ability to ask if scrollbars are visible
115         - <rdar://problem/5496211> scrollbarsVisible in WebChromeClient is not implemented
116
117         * WebChromeClient.cpp:
118         (WebChromeClient::scrollbarsVisible):
119
120 2007-09-20  Ada Chan  <adachan@apple.com>
121
122         <rdar://problem/5477240> Regression: Footer is too high in print preview
123
124         Reviewed by Steve.
125
126         * WebFrame.cpp:
127         (WebFrame::WebFrame): initialize new data member m_pageHeight, which is the height of the page adjusted for margins.
128         (WebFrame::computePageRects): get the height of the page adjusted for margins by passing m_pageHeight to
129         computePageRectsForFrame().
130         (WebFrame::spoolPages): footer rect's top is the max of the bottom of the page content and the bottom of the page
131         minus footer height.
132         * WebFrame.h:
133
134 2007-09-19  Kevin McCullough  <kmccullough@apple.com>
135
136         Reviewed by Hyatt.
137
138         - <rdar://problem/5101991> Avril Lavigne music player comes up in a window with scrollbars
139         - Implementing missing scrollbar functionality to allow turning off scrollbars correctly.
140
141         * Interfaces/IWebFrame.idl:
142         * Interfaces/IWebFrameView.idl:
143         * WebChromeClient.cpp:
144         (WebChromeClient::setScrollbarsVisible):
145         * WebFrame.cpp:
146         (WebFrame::setAllowsScrolling):
147         (WebFrame::allowsScrolling):
148         (WebFrame::frameView):
149         * WebFrame.h:
150
151 2007-09-20  Brady Eidson  <beidson@apple.com>
152
153         Reviewed by Dave Hyatt
154
155         <rdar://problem/5245981> - No favicon shows up for cnet.com
156         
157         * WebIconDatabase.cpp:
158         (WebIconDatabase::iconForURL): Call getHBITMAPOfSize
159         (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto
160
161 2007-09-19  Sam Weinig  <sam@webkit.org>
162
163         Rubber stamped by Adam Roben.
164
165         * WebKit.vcproj/WebKit.sln: Update location of DumpRenderTree and TestNetscapePlugin
166         to point to their new locations.
167
168 2007-09-18  Brady Eidson  <beidson@apple.com>
169
170         Reviewed by Adam
171
172         Final part of <rdar://problem/5471308> - Hook up async icon database on Windows        
173
174         * CFDictionaryPropertyBag.cpp:
175         (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Took the opportunity to rewrite with a RetainPtr
176           since it became available after the initial implementation
177         (CFDictionaryPropertyBag::setDictionary):
178         (CFDictionaryPropertyBag::dictionary): Added accessor to the CFDictionaryRef to ease use within WebKit
179         (CFDictionaryPropertyBag::QueryInterface): Added IID_CFDictionaryPropertyBag accessor
180         (CFDictionaryPropertyBag::Read):
181         (CFDictionaryPropertyBag::Write):
182         * CFDictionaryPropertyBag.h: Added IID_CFDictionaryPropertyBag
183        
184         * WebFrame.cpp:
185         (WebFrame::url): Added accessor, gets the current URL from WebCore
186         (WebFrame::dispatchDidReceiveIcon): Calls through to the WebView
187         (WebFrame::registerForIconNotification): Ditto
188         * WebFrame.h:        
189
190         * WebIconDatabase.cpp:
191         (WebIconDatabase::iconDatabaseDidAddIconNotification):
192         (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
193         (WebIconDatabase::iconDatabaseDidRemoveAllIconsNotification):
194         (postDidRemoveAllIconsNotification):
195         (postDidAddIconNotification):
196         * WebIconDatabase.h:        
197
198         * WebView.cpp:
199         (WebView::close): Unregister for the notification, just in case
200         (WebView::notifyDidAddIcon): Called when the webview gets the didAddIcon notification, compares the url
201           in the notification to the current main frame URL.  If they match, calls to dispatchDidReceiveIconFromWebFrame
202         (WebView::registerForIconNotification): 
203         (WebView::dispatchDidReceiveIconFromWebFrame): Dispatches the FrameLoadDelegate call.  Once the delegate call is dispatched,
204           either via the FrameLoaderClient interface of by listening for a notification, we know that our info is up to date in the 
205           IconDatabase and we don't need to listen for the generic notification any long, so we unregister for it here, as well.
206         (WebView::onNotify): The WebView listens for two notifications now, so make the decision which was received
207         * WebView.h:
208
209 2007-09-18  Brady Eidson  <beidson@apple.com>
210
211         Reviewed by Ada and Geoff
212
213         Part of <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
214         
215         Hook up main thread delivery of Icon Database notifications from the secondary thread
216         
217         * WebIconDatabase.cpp:
218         (WebIconDatabase::WebIconDatabase): Initialize m_deliveryRequested
219         (WebIconDatabase::init): Set the IconDatabaseClient to the shared WebIconDatabase
220         (WebIconDatabase::dispatchDidRemoveAllIcons): Queue the notification to be delivered on the main thread then
221           ask for the delivery
222         (WebIconDatabase::dispatchDidAddIconForPageURL): Ditto
223         (WebIconDatabase::scheduleNotificationDelivery): If the m_deliveryRequested hasn't been set, then set it
224           and perform the callOnMainThread() for WebIconDatabase::deliverNotifications
225         (postDidRemoveAllIconsNotification):
226         (postDidAddIconNotification):
227         (WebIconDatabase::deliverNotifications): Deliver all notifications in the current queue
228         * WebIconDatabase.h:
229
230 2007-09-17  Geoffrey Garen  <ggaren@apple.com>
231
232         Reviewed by Darin Adler.
233
234         Fixed a hang due to an infinite script running in the window's unload 
235         event handler, which may be the cause of <rdar://problem/5479443> 
236         REGRESSION: Hang due to infinite JS recursion on close @ engadget.com 
237         (onunload-based ad)
238         
239         Added a bunch of WebKitMac's close features, and reordered others to
240         match WebKitMac.
241
242         * WebView.cpp:
243         (WebView::close):
244         (WebView::removeDragCaret):
245
246 2007-09-17  Adam Roben  <aroben@apple.com>
247
248         Fix <rdar://4979801> overflow divs don't respond to keyboard scrolling (affects RSS pages)
249
250         Reviewed by Hyatt.
251
252         * WebView.cpp:
253         (WebView::keyDown): Attempt to scroll an overflow area before
254         scrolling the whole frame.
255
256 2007-09-17  Brady Eidson  <beidson@apple.com>
257
258         Reviewed by Adam
259         
260         <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
261         
262         Add a global "shut down WebKit" procedure to do cleanup at the engine level on quit. 
263         Critical now for the IconDatabase and might be for other things in the future.
264
265         * WebKitDLL.cpp:
266         (shutDownWebKit): For now, just close the IconDatabase
267         (DllMain): On DLL_PROCESS_DETACH, call shutDownWebKit
268
269 2007-09-17  Anders Carlsson  <andersca@apple.com>
270
271         Reviewed by Adam.
272
273         <rdar://problem/5421997>
274         http://bugs.webkit.org/show_bug.cgi?id=14247
275         Display problem with Flash - image does not stop changing
276
277         Port the manual load code over from the Mac version.
278
279         * WebFrame.cpp:
280         (WebFrame::WebFramePrivate::WebFramePrivate):
281         Initialize the plugin pointer.
282         
283         (WebFrame::finishedLoading):
284         (WebFrame::setMainDocumentError):
285         (WebFrame::committedLoad):
286         Feed the data to the plug-in.
287                 
288         (WebFrame::redirectDataToPlugin):
289         Store the plug-in widget.
290
291 2007-09-14  Steve Falkenburg  <sfalken@apple.com>
292
293         Fix build.
294
295         * WebFrame.cpp:
296         (WebFrame::createPlugin):
297         (WebFrame::createJavaAppletWidget):
298
299 2007-09-13  Darin Adler  <darin@apple.com>
300
301         Reviewed by Oliver.
302
303         - fix <rdar://problem/5470457> REGRESSION: Input method inline hole is mishandled in text
304           <input> elements with maxlength limit
305
306         * WebView.cpp:
307         (WebView::resetIME): Change to use confirmCompositionWithoutDisturbingSelection.
308         (WebView::updateSelectionForIME): Update for name changes, and to use new functions
309         in Editor.
310         (WebView::onIMEStartComposition): Removed unneeded call to unmarkText.
311         (compositionToUnderlines): Removed startOffset parameter, since setComposition now
312         handles this.
313         (WebView::onIMEComposition): Changed to use confirmComposition and setComposition.
314         Logic gets a lot cleaner.
315         (WebView::onIMEEndComposition): Removed unneeded calls to Editor.
316         (WebView::onIMERequestCharPosition): Updated for name changes.
317
318 2007-09-12  Oliver Hunt  <oliver@apple.com>
319
320         Reviewed by Adam.
321         
322         Fixing 
323             <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
324             <rdar://problem/5224996> Add zoom in and zoom out cursors
325             
326         Add images for vertical text and zoom in and out cursors to WebKit resources.
327             
328         * WebKit.vcproj/verticalTextCursor.png: Added.
329         * WebKit.vcproj/WebKit.rc:
330         * WebKit.vcproj/WebKit.vcproj:
331         * WebKit.vcproj/resource.h:
332         * WebKit.vcproj/zoomInCursor.png: Added.
333         * WebKit.vcproj/zoomOutCursor.png: Added.
334         * WebKitDLL.cpp:
335         (loadResourceIntoBuffer):
336
337 2007-09-12  Adam Roben  <aroben@apple.com>
338
339         Initialize SafariTheme early in WebKit's instantiation
340
341         New versions of SafariTheme will require this initialization. We have
342         to use GetProcAddress for now since the initialize method doesn't
343         exist in any released SafariTheme.
344
345         Reviewed by Ada.
346
347         * WebKit.vcproj/debug_internal.vsprops: Pick up the debug SafariTheme.
348         * WebKitClassFactory.cpp:
349         (WebKitClassFactory::WebKitClassFactory): Call STInitialize.
350
351 2007-09-12  Ada Chan  <adachan@apple.com>
352
353         <rdar://problem/5478690> Regression: printing: footer only appears on the first page of print
354
355         Reviewed by Adam.
356
357         * WebFrame.cpp:
358         (WebFrame::spoolPages): the footer rect is relative to the top left of the current page.  So 
359         instead of passing pageRect.bottom() as the top of the footer rect (which is relative to the 
360         document), we should pass in headerHeight plus the height of the pageRect.
361
362 2007-09-12  Anders Carlsson   <andersca@apple.com>
363
364         Reviewed by Darin (reluctantly).
365
366         <rdar://problem/5320461>
367         http://bugs.webkit.org/show_bug.cgi?id=14548
368         REGRESSION (r23987-r24061) : Reproducible crash with a local stylesheet file
369         
370         Add a workaround which converts the string passed in to an URL if it's a path.
371         
372         * WebView.cpp:
373         (WebView::updateWebCoreSettingsFromPreferences):
374
375 2007-09-10  Steve Falkenburg  <sfalken@apple.com>
376
377         Remove site-specific hacks that we don't need anymore.
378
379         Reviewed by Adam.
380
381         * WebView.cpp:
382         (WebView::userAgentForKURL):
383
384 2007-09-08  Steve Falkenburg  <sfalken@apple.com>
385
386         Prevent WebKit version numbers from containing "4" in Windows.
387
388         Reviewed by Darin.
389
390         * WebKit.vcproj/VERSION: Bump version since our current version ends in 4.
391         * WebKit.vcproj/auto-version.sh: Add version checking code.
392
393 2007-09-08  Brady Eidson  <beidson@apple.com>
394
395         <rdar://problem/5434431> - Asynchronous Icon Database
396
397         * WebFrame.cpp:
398         (WebFrame::didPerformFirstNavigation): Empty impl for now
399         (WebFrame::registerForIconNotification): Ditto
400         * WebFrame.h:
401
402 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
403
404         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
405         
406         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
407         memory cache, or a very tiny one
408         
409         Keep the Windows build working with an empty stub.
410         
411         * WebFrame.cpp:
412         (FrameLoaderClient::didPerformFirstNavigation):
413         * WebFrame.h:
414
415 2007-09-07  Ada Chan  <adachan@apple.com>
416
417         Need to let the OS handle Alt+F4.
418
419         Reviewed by Hyatt.
420
421         * WebView.cpp:
422         (WebView::keyUp):
423         (WebView::keyDown):
424
425 2007-09-07  Anders Carlsson  <andersca@apple.com>
426
427         Reviewed by Oliver.
428
429         <rdar://problem/5461487>
430         Seed: Embedded media content (Flash Player 9) inside RSS reported as unknown MIME type.
431         
432         Don't return ObjectContentNone if the URL's extension can't be mapped to a MIME type. If the MIME type is empty, 
433         we will try to display the content in a subframe instead, just like Mac WebKit.
434         
435         * WebFrame.cpp:
436         (WebFrame::objectContentType):
437
438 2007-09-07  Ada Chan  <adachan@apple.com>
439
440         <rdar://problem/5395928> Need to be able to handle context menu item selection by index
441
442         Reviewed by Beth.
443
444         * WebView.cpp:
445         (WebView::performContextMenuAction): performContextMenuAction() can now handle context menu
446         item selection via WM_MENUCOMMAND (by specifying byPosition to be true).  In that case, we
447         get the ContextMenuItem by position rather than by action id.
448         (WebViewWndProc): handle WM_MENUCOMMAND
449         * WebView.h:
450
451 2007-09-07  Ada Chan  <adachan@apple.com>
452
453         <rdar://problem/5453494> Better lifetime management of WebDataSource and WebDocumentLoader
454         The problem was that WebDataSource does not hold a strong reference to the WebDocumentLoader.  If
455         a WebDataSource is still around after the loader has been destroyed, it'll just point to
456         a stale WebDocumentLoader.
457         To fix this without a circular reference, WebDataSource now holds a strong reference to the
458         WebDocumentLoader.  The WebDocumentLoader holds a strong reference to the WebDataSource
459         until it's detached from the WebFrame.  When the WebDataSource is destroyed, it'll notify
460         its WebDocumentLoader so the loader will clear any references to it.
461
462         Reviewed by Darin.
463
464         * WebDataSource.cpp:
465         (WebDataSource::~WebDataSource): call WebDocumentLoader::detachDataSource() so the loader
466         will clear any references to this data source
467         (WebDataSource::documentLoader): m_loader is now a RefPtr so we need to call get().
468         * WebDataSource.h:
469         * WebDocumentLoader.cpp:
470         (WebDocumentLoader::WebDocumentLoader): initialize m_dataSource since it's no longer a COMPtr.
471         (WebDocumentLoader::~WebDocumentLoader): release m_dataSource if necessary
472         (WebDocumentLoader::setDataSource): add a reference to m_dataSource
473         (WebDocumentLoader::dataSource): 
474         (WebDocumentLoader::detachDataSource): clear m_detachedDataSource.
475         (WebDocumentLoader::attachToFrame): call setDataSource() so it'll add the reference to the data source if necessary.
476         (WebDocumentLoader::detachFromFrame): release the reference to the data source
477         * WebDocumentLoader.h:
478
479 2007-09-05  Dave Hyatt <hyatt@apple.com>
480
481         Make sure ALT+other keys is properly sent into the DOM so that Web pages (and editing fields) can
482         detect key combos like ALT+Enter.
483        
484         Reviewed by Steve
485
486         * WebView.cpp:
487         (WebView::keyUp):
488         (WebView::keyDown):
489         (WebViewWndProc):
490         * WebView.h:
491
492 2007-09-04  Sam Weinig  <sam@webkit.org>
493
494         Build fix.
495
496         * WebKit.vcproj/WebKit.vcproj:
497
498 2007-09-01  Oliver Hunt  <oliver@apple.com>
499
500         Reviewed by Sam.
501
502         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
503  
504         When focusing a password field or a non-editable element we disassociate any IME that may have
505         been active, and reassociate should a non-password editable element is focused.
506
507         This makes password input with an IME active simpler, and brings our IME behaviour in line with
508         IE.        
509
510         * WebEditorClient.cpp:
511         (WebEditorClient::setInputMethodState):
512         * WebEditorClient.h:
513         * WebView.cpp:
514         (IMMDict::IMMDict):
515         (WebView::setInputMethodState):
516         * WebView.h:
517
518 2007-08-31  Steve Falkenburg  <sfalken@apple.com>
519
520         <rdar://problem/5432594> Safari quits when hovering over mailto links on a webpage
521         
522         In addition to substituting %@ with %s, we also need to substitute %{1-9}$@ with %{1-9}$s.
523
524         Reviewed by Oliver.
525
526         * WebLocalizableStrings.cpp:
527         (WebLocalizedLPCTSTR):
528
529 2007-08-29  Ada Chan  <adachan@apple.com>
530
531         <rdar://problem/5074612> Added SPI to retrieve certificate info from a WebError.
532
533         Reviewed by Steve.
534
535         * Interfaces/IWebErrorPrivate.idl: Added IWebErrorPrivate
536         * WebError.cpp:
537         (WebError::QueryInterface): WebError now also implements IWebErrorPrivate
538         (WebError::sslPeerCertificate): retrieves certificate info from CFError's user info.
539         * WebError.h:
540         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebErrorPrivate_i.c
541
542 2007-08-28  Steve Falkenburg  <sfalken@apple.com>
543
544         <rdar://problem/5079253> Cannot set different margins for the page
545         
546         Added support for setting margins via page setup for Windows printing.
547         
548         Reviewed by Adam.
549
550         * Interfaces/IWebUIDelegate.idl: Added webViewPrintingMarginRect.
551         * WebFrame.cpp:
552         (WebFrame::printerMarginRect): Added.
553         (WebFrame::computePageRects): Account for margins when calculating page rects.
554         (WebFrame::spoolPages): Position footer at the bottom of the page rect (fixes footer drawing if left/right margins are set).
555         * WebFrame.h:
556
557 2007-08-28  Jon Honeycutt  <jhoneycutt@apple.com>
558
559         Reviewed by Adam.
560
561         <rdar://problem/5444457>: Content is cut when page orientation changed
562         in print preview
563         Fix: Don't return WebFrame::m_pageRects if it exists; let
564         computePageRectsForFrame clear and rewrite it.
565
566         * WebFrame.cpp:
567         (WebFrame::computePageRects): Removed an early-return case. Added a
568         space.
569
570 2007-08-28  Ada Chan  <adachan@apple.com>
571
572         <rdar://problem/4876242> Added SPI to fetch SSL certificate information.
573
574         Reviewed by Adam and Steve.
575
576         * Interfaces/IWebURLResponsePrivate.idl: Added.
577         * WebKit.vcproj/Interfaces.vcproj:
578         * WebKit.vcproj/WebKitGUID.vcproj:
579         * WebURLResponse.cpp:
580         (WebURLResponse::QueryInterface):
581         (WebURLResponse::sslPeerCertificate): gets peer certificate context from CFNetwork
582         (WebURLResponse::certificateDictionary): gets the dictionary that contains SSL certificate
583         info from CFNetwork.  We retain the dictionary to ensure the certificate context is valid
584         throughout the lifetime of the WebURLResponse.
585         * WebURLResponse.h:
586
587 2007-08-27  Steve Falkenburg  <sfalken@apple.com>
588
589         <rdar://problem/5424801> REGRESSION (r25151): Web page area of window doesn't redraw if page isn't loaded
590         
591         Don't bypass WebView WM_PAINT if the WebView has never committed a page.
592         
593         Reviewed by Maciej.
594
595         * WebView.cpp:
596         (WebViewWndProc): Don't skip painting if we haven't committed any pages in this view.
597
598 2007-08-25  Oliver Hunt  <oliver@apple.com>
599
600         Reviewed by Adam and Sam
601         
602         <rdar://problem/5269732> Safari 3.0 for Windows cuts off text in textarea boxes during sending forms (14562) 
603         <http://bugs.webkit.org/show_bug.cgi?id=14562> [Win] Textarea contents partially eaten on submit/copy
604         
605         WebView::handleEditingKeyboardEvent assumed all keycodes that did not trigger a named command were
606         to be inserted.  This could cause unexpected behaviour when control characters (eg. escape) are sent,
607         or could cause data loss when sent a null character (as happens when dead keys are used for international 
608         input).
609         
610         This patch corrects WebView::handleEditingKeyboardEvent to prevent such characters from being sent 
611         to Editor::insertText.  This behaviour matches Firefox.
612
613         * WebView.cpp:
614         (WebView::handleEditingKeyboardEvent):
615
616 2007-08-24  Sam Weinig  <sam@webkit.org>
617
618         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
619
620 2007-08-24  Ada Chan  <adachan@apple.com>
621
622         <rdar://problem/5147315> and <rdar://problem/5183935>
623         Added accelerator key mappings for Select All, Undo, and Redo.
624
625         Reviewed by Adam.
626
627         * WebView.cpp:
628
629 2007-08-24  Jon Honeycutt  <jhoneycutt@apple.com>
630
631         Reviewed by Darin.
632
633         Part of <rdar://problem/5433236> Print preview of empty txt file crashes
634         Safari
635
636         * WebFrame.cpp:
637         (WebFrame::computePageRects): Pass m_pageRects by reference into 
638         computePageRectsForFrame
639
640 2007-08-24  Sam Weinig  <sam@webkit.org>
641
642         Rubber-stamped by Adam Roben.
643
644         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
645
646         Rename COM DOM bindings to use Deprecated prefix.
647
648         * DOMCSSClasses.cpp:
649         (DeprecatedDOMCSSStyleDeclaration::DeprecatedDOMCSSStyleDeclaration):
650         (DeprecatedDOMCSSStyleDeclaration::~DeprecatedDOMCSSStyleDeclaration):
651         (DeprecatedDOMCSSStyleDeclaration::createInstance):
652         (DeprecatedDOMCSSStyleDeclaration::QueryInterface):
653         (DeprecatedDOMCSSStyleDeclaration::cssText):
654         (DeprecatedDOMCSSStyleDeclaration::setCssText):
655         (DeprecatedDOMCSSStyleDeclaration::getPropertyValue):
656         (DeprecatedDOMCSSStyleDeclaration::getPropertyCSSValue):
657         (DeprecatedDOMCSSStyleDeclaration::removeProperty):
658         (DeprecatedDOMCSSStyleDeclaration::getPropertyPriority):
659         (DeprecatedDOMCSSStyleDeclaration::setProperty):
660         (DeprecatedDOMCSSStyleDeclaration::length):
661         (DeprecatedDOMCSSStyleDeclaration::item):
662         (DeprecatedDOMCSSStyleDeclaration::parentRule):
663         * DOMCSSClasses.h:
664         (DeprecatedDOMCSSStyleDeclaration::AddRef):
665         (DeprecatedDOMCSSStyleDeclaration::Release):
666         (DeprecatedDOMCSSStyleDeclaration::throwException):
667         (DeprecatedDOMCSSStyleDeclaration::callWebScriptMethod):
668         (DeprecatedDOMCSSStyleDeclaration::evaluateWebScript):
669         (DeprecatedDOMCSSStyleDeclaration::removeWebScriptKey):
670         (DeprecatedDOMCSSStyleDeclaration::stringRepresentation):
671         (DeprecatedDOMCSSStyleDeclaration::webScriptValueAtIndex):
672         (DeprecatedDOMCSSStyleDeclaration::setWebScriptValueAtIndex):
673         (DeprecatedDOMCSSStyleDeclaration::setException):
674         * DOMCoreClasses.cpp:
675         (DeprecatedDOMObject::QueryInterface):
676         (DeprecatedDOMNode::QueryInterface):
677         (DeprecatedDOMNode::nodeName):
678         (DeprecatedDOMNode::nodeValue):
679         (DeprecatedDOMNode::setNodeValue):
680         (DeprecatedDOMNode::nodeType):
681         (DeprecatedDOMNode::parentNode):
682         (DeprecatedDOMNode::childNodes):
683         (DeprecatedDOMNode::firstChild):
684         (DeprecatedDOMNode::lastChild):
685         (DeprecatedDOMNode::previousSibling):
686         (DeprecatedDOMNode::nextSibling):
687         (DeprecatedDOMNode::attributes):
688         (DeprecatedDOMNode::ownerDocument):
689         (DeprecatedDOMNode::insertBefore):
690         (DeprecatedDOMNode::replaceChild):
691         (DeprecatedDOMNode::removeChild):
692         (DeprecatedDOMNode::appendChild):
693         (DeprecatedDOMNode::hasChildNodes):
694         (DeprecatedDOMNode::cloneNode):
695         (DeprecatedDOMNode::normalize):
696         (DeprecatedDOMNode::isSupported):
697         (DeprecatedDOMNode::namespaceURI):
698         (DeprecatedDOMNode::prefix):
699         (DeprecatedDOMNode::setPrefix):
700         (DeprecatedDOMNode::localName):
701         (DeprecatedDOMNode::hasAttributes):
702         (DeprecatedDOMNode::isSameNode):
703         (DeprecatedDOMNode::isEqualNode):
704         (DeprecatedDOMNode::textContent):
705         (DeprecatedDOMNode::setTextContent):
706         (DeprecatedDOMNode::addEventListener):
707         (DeprecatedDOMNode::removeEventListener):
708         (DeprecatedDOMNode::dispatchEvent):
709         (DeprecatedDOMNode::DeprecatedDOMNode):
710         (DeprecatedDOMNode::~DeprecatedDOMNode):
711         (DeprecatedDOMNode::createInstance):
712         (DeprecatedDOMNodeList::QueryInterface):
713         (DeprecatedDOMNodeList::item):
714         (DeprecatedDOMNodeList::length):
715         (DeprecatedDOMNodeList::DeprecatedDOMNodeList):
716         (DeprecatedDOMNodeList::~DeprecatedDOMNodeList):
717         (DeprecatedDOMNodeList::createInstance):
718         (DeprecatedDOMDocument::QueryInterface):
719         (DeprecatedDOMDocument::doctype):
720         (DeprecatedDOMDocument::implementation):
721         (DeprecatedDOMDocument::documentElement):
722         (DeprecatedDOMDocument::createElement):
723         (DeprecatedDOMDocument::createDocumentFragment):
724         (DeprecatedDOMDocument::createTextNode):
725         (DeprecatedDOMDocument::createComment):
726         (DeprecatedDOMDocument::createCDATASection):
727         (DeprecatedDOMDocument::createProcessingInstruction):
728         (DeprecatedDOMDocument::createAttribute):
729         (DeprecatedDOMDocument::createEntityReference):
730         (DeprecatedDOMDocument::getElementsByTagName):
731         (DeprecatedDOMDocument::importNode):
732         (DeprecatedDOMDocument::createElementNS):
733         (DeprecatedDOMDocument::createAttributeNS):
734         (DeprecatedDOMDocument::getElementsByTagNameNS):
735         (DeprecatedDOMDocument::getElementById):
736         (DeprecatedDOMDocument::getComputedStyle):
737         (DeprecatedDOMDocument::createEvent):
738         (DeprecatedDOMDocument::DeprecatedDOMDocument):
739         (DeprecatedDOMDocument::~DeprecatedDOMDocument):
740         (DeprecatedDOMDocument::createInstance):
741         (DeprecatedDOMElement::QueryInterface):
742         (DeprecatedDOMElement::boundingBox):
743         (DeprecatedDOMElement::lineBoxRects):
744         (DeprecatedDOMElement::tagName):
745         (DeprecatedDOMElement::getAttribute):
746         (DeprecatedDOMElement::setAttribute):
747         (DeprecatedDOMElement::removeAttribute):
748         (DeprecatedDOMElement::getAttributeNode):
749         (DeprecatedDOMElement::setAttributeNode):
750         (DeprecatedDOMElement::removeAttributeNode):
751         (DeprecatedDOMElement::getElementsByTagName):
752         (DeprecatedDOMElement::getAttributeNS):
753         (DeprecatedDOMElement::setAttributeNS):
754         (DeprecatedDOMElement::removeAttributeNS):
755         (DeprecatedDOMElement::getAttributeNodeNS):
756         (DeprecatedDOMElement::setAttributeNodeNS):
757         (DeprecatedDOMElement::getElementsByTagNameNS):
758         (DeprecatedDOMElement::hasAttribute):
759         (DeprecatedDOMElement::hasAttributeNS):
760         (DeprecatedDOMElement::focus):
761         (DeprecatedDOMElement::blur):
762         (DeprecatedDOMElement::coreElement):
763         (DeprecatedDOMElement::isEqual):
764         (DeprecatedDOMElement::isFocused):
765         (DeprecatedDOMElement::innerText):
766         (DeprecatedDOMElement::style):
767         (DeprecatedDOMElement::offsetLeft):
768         (DeprecatedDOMElement::offsetTop):
769         (DeprecatedDOMElement::offsetWidth):
770         (DeprecatedDOMElement::offsetHeight):
771         (DeprecatedDOMElement::offsetParent):
772         (DeprecatedDOMElement::clientWidth):
773         (DeprecatedDOMElement::clientHeight):
774         (DeprecatedDOMElement::scrollLeft):
775         (DeprecatedDOMElement::setScrollLeft):
776         (DeprecatedDOMElement::scrollTop):
777         (DeprecatedDOMElement::setScrollTop):
778         (DeprecatedDOMElement::scrollWidth):
779         (DeprecatedDOMElement::scrollHeight):
780         (DeprecatedDOMElement::scrollIntoView):
781         (DeprecatedDOMElement::scrollIntoViewIfNeeded):
782         (DeprecatedDOMElement::DeprecatedDOMElement):
783         (DeprecatedDOMElement::~DeprecatedDOMElement):
784         (DeprecatedDOMElement::createInstance):
785         * DOMCoreClasses.h:
786         (DeprecatedDOMNode::AddRef):
787         (DeprecatedDOMNode::Release):
788         (DeprecatedDOMNode::throwException):
789         (DeprecatedDOMNode::callWebScriptMethod):
790         (DeprecatedDOMNode::evaluateWebScript):
791         (DeprecatedDOMNode::removeWebScriptKey):
792         (DeprecatedDOMNode::stringRepresentation):
793         (DeprecatedDOMNode::webScriptValueAtIndex):
794         (DeprecatedDOMNode::setWebScriptValueAtIndex):
795         (DeprecatedDOMNode::setException):
796         (DeprecatedDOMNodeList::AddRef):
797         (DeprecatedDOMNodeList::Release):
798         (DeprecatedDOMNodeList::throwException):
799         (DeprecatedDOMNodeList::callWebScriptMethod):
800         (DeprecatedDOMNodeList::evaluateWebScript):
801         (DeprecatedDOMNodeList::removeWebScriptKey):
802         (DeprecatedDOMNodeList::stringRepresentation):
803         (DeprecatedDOMNodeList::webScriptValueAtIndex):
804         (DeprecatedDOMNodeList::setWebScriptValueAtIndex):
805         (DeprecatedDOMNodeList::setException):
806         (DeprecatedDOMDocument::AddRef):
807         (DeprecatedDOMDocument::Release):
808         (DeprecatedDOMDocument::throwException):
809         (DeprecatedDOMDocument::callWebScriptMethod):
810         (DeprecatedDOMDocument::evaluateWebScript):
811         (DeprecatedDOMDocument::removeWebScriptKey):
812         (DeprecatedDOMDocument::stringRepresentation):
813         (DeprecatedDOMDocument::webScriptValueAtIndex):
814         (DeprecatedDOMDocument::setWebScriptValueAtIndex):
815         (DeprecatedDOMDocument::setException):
816         (DeprecatedDOMDocument::nodeName):
817         (DeprecatedDOMDocument::nodeValue):
818         (DeprecatedDOMDocument::setNodeValue):
819         (DeprecatedDOMDocument::nodeType):
820         (DeprecatedDOMDocument::parentNode):
821         (DeprecatedDOMDocument::childNodes):
822         (DeprecatedDOMDocument::firstChild):
823         (DeprecatedDOMDocument::lastChild):
824         (DeprecatedDOMDocument::previousSibling):
825         (DeprecatedDOMDocument::nextSibling):
826         (DeprecatedDOMDocument::attributes):
827         (DeprecatedDOMDocument::ownerDocument):
828         (DeprecatedDOMDocument::insertBefore):
829         (DeprecatedDOMDocument::replaceChild):
830         (DeprecatedDOMDocument::removeChild):
831         (DeprecatedDOMDocument::appendChild):
832         (DeprecatedDOMDocument::hasChildNodes):
833         (DeprecatedDOMDocument::cloneNode):
834         (DeprecatedDOMDocument::normalize):
835         (DeprecatedDOMDocument::isSupported):
836         (DeprecatedDOMDocument::namespaceURI):
837         (DeprecatedDOMDocument::prefix):
838         (DeprecatedDOMDocument::setPrefix):
839         (DeprecatedDOMDocument::localName):
840         (DeprecatedDOMDocument::hasAttributes):
841         (DeprecatedDOMDocument::isSameNode):
842         (DeprecatedDOMDocument::isEqualNode):
843         (DeprecatedDOMDocument::textContent):
844         (DeprecatedDOMDocument::setTextContent):
845         (DeprecatedDOMElement::AddRef):
846         (DeprecatedDOMElement::Release):
847         (DeprecatedDOMElement::throwException):
848         (DeprecatedDOMElement::callWebScriptMethod):
849         (DeprecatedDOMElement::evaluateWebScript):
850         (DeprecatedDOMElement::removeWebScriptKey):
851         (DeprecatedDOMElement::stringRepresentation):
852         (DeprecatedDOMElement::webScriptValueAtIndex):
853         (DeprecatedDOMElement::setWebScriptValueAtIndex):
854         (DeprecatedDOMElement::setException):
855         (DeprecatedDOMElement::nodeName):
856         (DeprecatedDOMElement::nodeValue):
857         (DeprecatedDOMElement::setNodeValue):
858         (DeprecatedDOMElement::nodeType):
859         (DeprecatedDOMElement::parentNode):
860         (DeprecatedDOMElement::childNodes):
861         (DeprecatedDOMElement::firstChild):
862         (DeprecatedDOMElement::lastChild):
863         (DeprecatedDOMElement::previousSibling):
864         (DeprecatedDOMElement::nextSibling):
865         (DeprecatedDOMElement::attributes):
866         (DeprecatedDOMElement::ownerDocument):
867         (DeprecatedDOMElement::insertBefore):
868         (DeprecatedDOMElement::replaceChild):
869         (DeprecatedDOMElement::removeChild):
870         (DeprecatedDOMElement::appendChild):
871         (DeprecatedDOMElement::hasChildNodes):
872         (DeprecatedDOMElement::cloneNode):
873         (DeprecatedDOMElement::normalize):
874         (DeprecatedDOMElement::isSupported):
875         (DeprecatedDOMElement::namespaceURI):
876         (DeprecatedDOMElement::prefix):
877         (DeprecatedDOMElement::setPrefix):
878         (DeprecatedDOMElement::localName):
879         (DeprecatedDOMElement::hasAttributes):
880         (DeprecatedDOMElement::isSameNode):
881         (DeprecatedDOMElement::isEqualNode):
882         (DeprecatedDOMElement::textContent):
883         (DeprecatedDOMElement::setTextContent):
884         * DOMEventsClasses.cpp:
885         (DeprecatedDOMEventListener::QueryInterface):
886         (DeprecatedDOMEventListener::handleEvent):
887         (DeprecatedDOMEvent::DeprecatedDOMEvent):
888         (DeprecatedDOMEvent::~DeprecatedDOMEvent):
889         (DeprecatedDOMEvent::createInstance):
890         (DeprecatedDOMEvent::QueryInterface):
891         (DeprecatedDOMEvent::type):
892         (DeprecatedDOMEvent::target):
893         (DeprecatedDOMEvent::currentTarget):
894         (DeprecatedDOMEvent::eventPhase):
895         (DeprecatedDOMEvent::bubbles):
896         (DeprecatedDOMEvent::cancelable):
897         (DeprecatedDOMEvent::timeStamp):
898         (DeprecatedDOMEvent::stopPropagation):
899         (DeprecatedDOMEvent::preventDefault):
900         (DeprecatedDOMEvent::initEvent):
901         (DeprecatedDOMUIEvent::QueryInterface):
902         (DeprecatedDOMUIEvent::view):
903         (DeprecatedDOMUIEvent::detail):
904         (DeprecatedDOMUIEvent::initUIEvent):
905         (DeprecatedDOMUIEvent::keyCode):
906         (DeprecatedDOMUIEvent::charCode):
907         (DeprecatedDOMUIEvent::layerX):
908         (DeprecatedDOMUIEvent::layerY):
909         (DeprecatedDOMUIEvent::pageX):
910         (DeprecatedDOMUIEvent::pageY):
911         (DeprecatedDOMUIEvent::which):
912         (DeprecatedDOMKeyboardEvent::QueryInterface):
913         (DeprecatedDOMKeyboardEvent::keyIdentifier):
914         (DeprecatedDOMKeyboardEvent::keyLocation):
915         (DeprecatedDOMKeyboardEvent::ctrlKey):
916         (DeprecatedDOMKeyboardEvent::shiftKey):
917         (DeprecatedDOMKeyboardEvent::altKey):
918         (DeprecatedDOMKeyboardEvent::metaKey):
919         (DeprecatedDOMKeyboardEvent::altGraphKey):
920         (DeprecatedDOMKeyboardEvent::getModifierState):
921         (DeprecatedDOMKeyboardEvent::initKeyboardEvent):
922         (DeprecatedDOMMouseEvent::QueryInterface):
923         (DeprecatedDOMMouseEvent::screenX):
924         (DeprecatedDOMMouseEvent::screenY):
925         (DeprecatedDOMMouseEvent::clientX):
926         (DeprecatedDOMMouseEvent::clientY):
927         (DeprecatedDOMMouseEvent::ctrlKey):
928         (DeprecatedDOMMouseEvent::shiftKey):
929         (DeprecatedDOMMouseEvent::altKey):
930         (DeprecatedDOMMouseEvent::metaKey):
931         (DeprecatedDOMMouseEvent::button):
932         (DeprecatedDOMMouseEvent::relatedTarget):
933         (DeprecatedDOMMouseEvent::initMouseEvent):
934         (DeprecatedDOMMouseEvent::offsetX):
935         (DeprecatedDOMMouseEvent::offsetY):
936         (DeprecatedDOMMouseEvent::x):
937         (DeprecatedDOMMouseEvent::y):
938         (DeprecatedDOMMouseEvent::fromElement):
939         (DeprecatedDOMMouseEvent::toElement):
940         (DeprecatedDOMMutationEvent::QueryInterface):
941         (DeprecatedDOMMutationEvent::relatedNode):
942         (DeprecatedDOMMutationEvent::prevValue):
943         (DeprecatedDOMMutationEvent::newValue):
944         (DeprecatedDOMMutationEvent::attrName):
945         (DeprecatedDOMMutationEvent::attrChange):
946         (DeprecatedDOMMutationEvent::initMutationEvent):
947         (DeprecatedDOMOverflowEvent::QueryInterface):
948         (DeprecatedDOMOverflowEvent::orient):
949         (DeprecatedDOMOverflowEvent::horizontalOverflow):
950         (DeprecatedDOMOverflowEvent::verticalOverflow):
951         (DeprecatedDOMWheelEvent::QueryInterface):
952         (DeprecatedDOMWheelEvent::screenX):
953         (DeprecatedDOMWheelEvent::screenY):
954         (DeprecatedDOMWheelEvent::clientX):
955         (DeprecatedDOMWheelEvent::clientY):
956         (DeprecatedDOMWheelEvent::ctrlKey):
957         (DeprecatedDOMWheelEvent::shiftKey):
958         (DeprecatedDOMWheelEvent::altKey):
959         (DeprecatedDOMWheelEvent::metaKey):
960         (DeprecatedDOMWheelEvent::wheelDelta):
961         (DeprecatedDOMWheelEvent::wheelDeltaX):
962         (DeprecatedDOMWheelEvent::wheelDeltaY):
963         (DeprecatedDOMWheelEvent::offsetX):
964         (DeprecatedDOMWheelEvent::offsetY):
965         (DeprecatedDOMWheelEvent::x):
966         (DeprecatedDOMWheelEvent::y):
967         (DeprecatedDOMWheelEvent::isHorizontal):
968         (DeprecatedDOMWheelEvent::initWheelEvent):
969         * DOMEventsClasses.h:
970         (DeprecatedDOMEventListener::AddRef):
971         (DeprecatedDOMEventListener::Release):
972         (DeprecatedDOMEventListener::throwException):
973         (DeprecatedDOMEventListener::callWebScriptMethod):
974         (DeprecatedDOMEventListener::evaluateWebScript):
975         (DeprecatedDOMEventListener::removeWebScriptKey):
976         (DeprecatedDOMEventListener::stringRepresentation):
977         (DeprecatedDOMEventListener::webScriptValueAtIndex):
978         (DeprecatedDOMEventListener::setWebScriptValueAtIndex):
979         (DeprecatedDOMEventListener::setException):
980         (DeprecatedDOMEvent::AddRef):
981         (DeprecatedDOMEvent::Release):
982         (DeprecatedDOMEvent::throwException):
983         (DeprecatedDOMEvent::callWebScriptMethod):
984         (DeprecatedDOMEvent::evaluateWebScript):
985         (DeprecatedDOMEvent::removeWebScriptKey):
986         (DeprecatedDOMEvent::stringRepresentation):
987         (DeprecatedDOMEvent::webScriptValueAtIndex):
988         (DeprecatedDOMEvent::setWebScriptValueAtIndex):
989         (DeprecatedDOMEvent::setException):
990         (DeprecatedDOMUIEvent::DeprecatedDOMUIEvent):
991         (DeprecatedDOMUIEvent::AddRef):
992         (DeprecatedDOMUIEvent::Release):
993         (DeprecatedDOMUIEvent::throwException):
994         (DeprecatedDOMUIEvent::callWebScriptMethod):
995         (DeprecatedDOMUIEvent::evaluateWebScript):
996         (DeprecatedDOMUIEvent::removeWebScriptKey):
997         (DeprecatedDOMUIEvent::stringRepresentation):
998         (DeprecatedDOMUIEvent::webScriptValueAtIndex):
999         (DeprecatedDOMUIEvent::setWebScriptValueAtIndex):
1000         (DeprecatedDOMUIEvent::setException):
1001         (DeprecatedDOMUIEvent::type):
1002         (DeprecatedDOMUIEvent::target):
1003         (DeprecatedDOMUIEvent::currentTarget):
1004         (DeprecatedDOMUIEvent::eventPhase):
1005         (DeprecatedDOMUIEvent::bubbles):
1006         (DeprecatedDOMUIEvent::cancelable):
1007         (DeprecatedDOMUIEvent::timeStamp):
1008         (DeprecatedDOMUIEvent::stopPropagation):
1009         (DeprecatedDOMUIEvent::preventDefault):
1010         (DeprecatedDOMUIEvent::initEvent):
1011         (DeprecatedDOMKeyboardEvent::DeprecatedDOMKeyboardEvent):
1012         (DeprecatedDOMKeyboardEvent::AddRef):
1013         (DeprecatedDOMKeyboardEvent::Release):
1014         (DeprecatedDOMKeyboardEvent::throwException):
1015         (DeprecatedDOMKeyboardEvent::callWebScriptMethod):
1016         (DeprecatedDOMKeyboardEvent::evaluateWebScript):
1017         (DeprecatedDOMKeyboardEvent::removeWebScriptKey):
1018         (DeprecatedDOMKeyboardEvent::stringRepresentation):
1019         (DeprecatedDOMKeyboardEvent::webScriptValueAtIndex):
1020         (DeprecatedDOMKeyboardEvent::setWebScriptValueAtIndex):
1021         (DeprecatedDOMKeyboardEvent::setException):
1022         (DeprecatedDOMKeyboardEvent::type):
1023         (DeprecatedDOMKeyboardEvent::target):
1024         (DeprecatedDOMKeyboardEvent::currentTarget):
1025         (DeprecatedDOMKeyboardEvent::eventPhase):
1026         (DeprecatedDOMKeyboardEvent::bubbles):
1027         (DeprecatedDOMKeyboardEvent::cancelable):
1028         (DeprecatedDOMKeyboardEvent::timeStamp):
1029         (DeprecatedDOMKeyboardEvent::stopPropagation):
1030         (DeprecatedDOMKeyboardEvent::preventDefault):
1031         (DeprecatedDOMKeyboardEvent::initEvent):
1032         (DeprecatedDOMKeyboardEvent::view):
1033         (DeprecatedDOMKeyboardEvent::detail):
1034         (DeprecatedDOMKeyboardEvent::initUIEvent):
1035         (DeprecatedDOMKeyboardEvent::keyCode):
1036         (DeprecatedDOMKeyboardEvent::charCode):
1037         (DeprecatedDOMKeyboardEvent::layerX):
1038         (DeprecatedDOMKeyboardEvent::layerY):
1039         (DeprecatedDOMKeyboardEvent::pageX):
1040         (DeprecatedDOMKeyboardEvent::pageY):
1041         (DeprecatedDOMKeyboardEvent::which):
1042         (DeprecatedDOMMouseEvent::DeprecatedDOMMouseEvent):
1043         (DeprecatedDOMMouseEvent::AddRef):
1044         (DeprecatedDOMMouseEvent::Release):
1045         (DeprecatedDOMMouseEvent::throwException):
1046         (DeprecatedDOMMouseEvent::callWebScriptMethod):
1047         (DeprecatedDOMMouseEvent::evaluateWebScript):
1048         (DeprecatedDOMMouseEvent::removeWebScriptKey):
1049         (DeprecatedDOMMouseEvent::stringRepresentation):
1050         (DeprecatedDOMMouseEvent::webScriptValueAtIndex):
1051         (DeprecatedDOMMouseEvent::setWebScriptValueAtIndex):
1052         (DeprecatedDOMMouseEvent::setException):
1053         (DeprecatedDOMMouseEvent::type):
1054         (DeprecatedDOMMouseEvent::target):
1055         (DeprecatedDOMMouseEvent::currentTarget):
1056         (DeprecatedDOMMouseEvent::eventPhase):
1057         (DeprecatedDOMMouseEvent::bubbles):
1058         (DeprecatedDOMMouseEvent::cancelable):
1059         (DeprecatedDOMMouseEvent::timeStamp):
1060         (DeprecatedDOMMouseEvent::stopPropagation):
1061         (DeprecatedDOMMouseEvent::preventDefault):
1062         (DeprecatedDOMMouseEvent::initEvent):
1063         (DeprecatedDOMMouseEvent::view):
1064         (DeprecatedDOMMouseEvent::detail):
1065         (DeprecatedDOMMouseEvent::initUIEvent):
1066         (DeprecatedDOMMouseEvent::keyCode):
1067         (DeprecatedDOMMouseEvent::charCode):
1068         (DeprecatedDOMMouseEvent::layerX):
1069         (DeprecatedDOMMouseEvent::layerY):
1070         (DeprecatedDOMMouseEvent::pageX):
1071         (DeprecatedDOMMouseEvent::pageY):
1072         (DeprecatedDOMMouseEvent::which):
1073         (DeprecatedDOMMutationEvent::DeprecatedDOMMutationEvent):
1074         (DeprecatedDOMMutationEvent::AddRef):
1075         (DeprecatedDOMMutationEvent::Release):
1076         (DeprecatedDOMMutationEvent::throwException):
1077         (DeprecatedDOMMutationEvent::callWebScriptMethod):
1078         (DeprecatedDOMMutationEvent::evaluateWebScript):
1079         (DeprecatedDOMMutationEvent::removeWebScriptKey):
1080         (DeprecatedDOMMutationEvent::stringRepresentation):
1081         (DeprecatedDOMMutationEvent::webScriptValueAtIndex):
1082         (DeprecatedDOMMutationEvent::setWebScriptValueAtIndex):
1083         (DeprecatedDOMMutationEvent::setException):
1084         (DeprecatedDOMMutationEvent::type):
1085         (DeprecatedDOMMutationEvent::target):
1086         (DeprecatedDOMMutationEvent::currentTarget):
1087         (DeprecatedDOMMutationEvent::eventPhase):
1088         (DeprecatedDOMMutationEvent::bubbles):
1089         (DeprecatedDOMMutationEvent::cancelable):
1090         (DeprecatedDOMMutationEvent::timeStamp):
1091         (DeprecatedDOMMutationEvent::stopPropagation):
1092         (DeprecatedDOMMutationEvent::preventDefault):
1093         (DeprecatedDOMMutationEvent::initEvent):
1094         (DeprecatedDOMOverflowEvent::DeprecatedDOMOverflowEvent):
1095         (DeprecatedDOMOverflowEvent::AddRef):
1096         (DeprecatedDOMOverflowEvent::Release):
1097         (DeprecatedDOMOverflowEvent::throwException):
1098         (DeprecatedDOMOverflowEvent::callWebScriptMethod):
1099         (DeprecatedDOMOverflowEvent::evaluateWebScript):
1100         (DeprecatedDOMOverflowEvent::removeWebScriptKey):
1101         (DeprecatedDOMOverflowEvent::stringRepresentation):
1102         (DeprecatedDOMOverflowEvent::webScriptValueAtIndex):
1103         (DeprecatedDOMOverflowEvent::setWebScriptValueAtIndex):
1104         (DeprecatedDOMOverflowEvent::setException):
1105         (DeprecatedDOMOverflowEvent::type):
1106         (DeprecatedDOMOverflowEvent::target):
1107         (DeprecatedDOMOverflowEvent::currentTarget):
1108         (DeprecatedDOMOverflowEvent::eventPhase):
1109         (DeprecatedDOMOverflowEvent::bubbles):
1110         (DeprecatedDOMOverflowEvent::cancelable):
1111         (DeprecatedDOMOverflowEvent::timeStamp):
1112         (DeprecatedDOMOverflowEvent::stopPropagation):
1113         (DeprecatedDOMOverflowEvent::preventDefault):
1114         (DeprecatedDOMOverflowEvent::initEvent):
1115         (DeprecatedDOMWheelEvent::DeprecatedDOMWheelEvent):
1116         (DeprecatedDOMWheelEvent::AddRef):
1117         (DeprecatedDOMWheelEvent::Release):
1118         (DeprecatedDOMWheelEvent::throwException):
1119         (DeprecatedDOMWheelEvent::callWebScriptMethod):
1120         (DeprecatedDOMWheelEvent::evaluateWebScript):
1121         (DeprecatedDOMWheelEvent::removeWebScriptKey):
1122         (DeprecatedDOMWheelEvent::stringRepresentation):
1123         (DeprecatedDOMWheelEvent::webScriptValueAtIndex):
1124         (DeprecatedDOMWheelEvent::setWebScriptValueAtIndex):
1125         (DeprecatedDOMWheelEvent::setException):
1126         (DeprecatedDOMWheelEvent::type):
1127         (DeprecatedDOMWheelEvent::target):
1128         (DeprecatedDOMWheelEvent::currentTarget):
1129         (DeprecatedDOMWheelEvent::eventPhase):
1130         (DeprecatedDOMWheelEvent::bubbles):
1131         (DeprecatedDOMWheelEvent::cancelable):
1132         (DeprecatedDOMWheelEvent::timeStamp):
1133         (DeprecatedDOMWheelEvent::stopPropagation):
1134         (DeprecatedDOMWheelEvent::preventDefault):
1135         (DeprecatedDOMWheelEvent::initEvent):
1136         (DeprecatedDOMWheelEvent::view):
1137         (DeprecatedDOMWheelEvent::detail):
1138         (DeprecatedDOMWheelEvent::initUIEvent):
1139         (DeprecatedDOMWheelEvent::keyCode):
1140         (DeprecatedDOMWheelEvent::charCode):
1141         (DeprecatedDOMWheelEvent::layerX):
1142         (DeprecatedDOMWheelEvent::layerY):
1143         (DeprecatedDOMWheelEvent::pageX):
1144         (DeprecatedDOMWheelEvent::pageY):
1145         (DeprecatedDOMWheelEvent::which):
1146         * DOMHTMLClasses.cpp:
1147         (DeprecatedDOMHTMLCollection::DeprecatedDOMHTMLCollection):
1148         (DeprecatedDOMHTMLCollection::createInstance):
1149         (DeprecatedDOMHTMLCollection::QueryInterface):
1150         (DeprecatedDOMHTMLCollection::length):
1151         (DeprecatedDOMHTMLCollection::item):
1152         (DeprecatedDOMHTMLCollection::namedItem):
1153         (DeprecatedDOMHTMLOptionsCollection::QueryInterface):
1154         (DeprecatedDOMHTMLOptionsCollection::length):
1155         (DeprecatedDOMHTMLOptionsCollection::setLength):
1156         (DeprecatedDOMHTMLOptionsCollection::item):
1157         (DeprecatedDOMHTMLOptionsCollection::namedItem):
1158         (DeprecatedDOMHTMLDocument::QueryInterface):
1159         (DeprecatedDOMHTMLDocument::title):
1160         (DeprecatedDOMHTMLDocument::setTitle):
1161         (DeprecatedDOMHTMLDocument::referrer):
1162         (DeprecatedDOMHTMLDocument::domain):
1163         (DeprecatedDOMHTMLDocument::URL):
1164         (DeprecatedDOMHTMLDocument::body):
1165         (DeprecatedDOMHTMLDocument::setBody):
1166         (DeprecatedDOMHTMLDocument::images):
1167         (DeprecatedDOMHTMLDocument::applets):
1168         (DeprecatedDOMHTMLDocument::links):
1169         (DeprecatedDOMHTMLDocument::forms):
1170         (DeprecatedDOMHTMLDocument::anchors):
1171         (DeprecatedDOMHTMLDocument::cookie):
1172         (DeprecatedDOMHTMLDocument::setCookie):
1173         (DeprecatedDOMHTMLDocument::open):
1174         (DeprecatedDOMHTMLDocument::close):
1175         (DeprecatedDOMHTMLDocument::write):
1176         (DeprecatedDOMHTMLDocument::writeln):
1177         (DeprecatedDOMHTMLDocument::getElementById_):
1178         (DeprecatedDOMHTMLDocument::getElementsByName):
1179         (DeprecatedDOMHTMLElement::QueryInterface):
1180         (DeprecatedDOMHTMLElement::idName):
1181         (DeprecatedDOMHTMLElement::setIdName):
1182         (DeprecatedDOMHTMLElement::title):
1183         (DeprecatedDOMHTMLElement::setTitle):
1184         (DeprecatedDOMHTMLElement::lang):
1185         (DeprecatedDOMHTMLElement::setLang):
1186         (DeprecatedDOMHTMLElement::dir):
1187         (DeprecatedDOMHTMLElement::setDir):
1188         (DeprecatedDOMHTMLElement::className):
1189         (DeprecatedDOMHTMLElement::setClassName):
1190         (DeprecatedDOMHTMLElement::innerHTML):
1191         (DeprecatedDOMHTMLElement::setInnerHTML):
1192         (DeprecatedDOMHTMLElement::innerText):
1193         (DeprecatedDOMHTMLElement::setInnerText):
1194         (DeprecatedDOMHTMLFormElement::QueryInterface):
1195         (DeprecatedDOMHTMLFormElement::elements):
1196         (DeprecatedDOMHTMLFormElement::length):
1197         (DeprecatedDOMHTMLFormElement::name):
1198         (DeprecatedDOMHTMLFormElement::setName):
1199         (DeprecatedDOMHTMLFormElement::acceptCharset):
1200         (DeprecatedDOMHTMLFormElement::setAcceptCharset):
1201         (DeprecatedDOMHTMLFormElement::action):
1202         (DeprecatedDOMHTMLFormElement::setAction):
1203         (DeprecatedDOMHTMLFormElement::encType):
1204         (DeprecatedDOMHTMLFormElement::setEnctype):
1205         (DeprecatedDOMHTMLFormElement::method):
1206         (DeprecatedDOMHTMLFormElement::setMethod):
1207         (DeprecatedDOMHTMLFormElement::target):
1208         (DeprecatedDOMHTMLFormElement::setTarget):
1209         (DeprecatedDOMHTMLFormElement::submit):
1210         (DeprecatedDOMHTMLFormElement::reset):
1211         (DeprecatedDOMHTMLSelectElement::QueryInterface):
1212         (DeprecatedDOMHTMLSelectElement::type):
1213         (DeprecatedDOMHTMLSelectElement::selectedIndex):
1214         (DeprecatedDOMHTMLSelectElement::setSelectedIndx):
1215         (DeprecatedDOMHTMLSelectElement::value):
1216         (DeprecatedDOMHTMLSelectElement::setValue):
1217         (DeprecatedDOMHTMLSelectElement::length):
1218         (DeprecatedDOMHTMLSelectElement::form):
1219         (DeprecatedDOMHTMLSelectElement::options):
1220         (DeprecatedDOMHTMLSelectElement::disabled):
1221         (DeprecatedDOMHTMLSelectElement::setDisabled):
1222         (DeprecatedDOMHTMLSelectElement::multiple):
1223         (DeprecatedDOMHTMLSelectElement::setMultiple):
1224         (DeprecatedDOMHTMLSelectElement::name):
1225         (DeprecatedDOMHTMLSelectElement::setName):
1226         (DeprecatedDOMHTMLSelectElement::size):
1227         (DeprecatedDOMHTMLSelectElement::setSize):
1228         (DeprecatedDOMHTMLSelectElement::tabIndex):
1229         (DeprecatedDOMHTMLSelectElement::setTabIndex):
1230         (DeprecatedDOMHTMLSelectElement::add):
1231         (DeprecatedDOMHTMLSelectElement::remove):
1232         (DeprecatedDOMHTMLSelectElement::activateItemAtIndex):
1233         (DeprecatedDOMHTMLOptionElement::QueryInterface):
1234         (DeprecatedDOMHTMLOptionElement::form):
1235         (DeprecatedDOMHTMLOptionElement::defaultSelected):
1236         (DeprecatedDOMHTMLOptionElement::setDefaultSelected):
1237         (DeprecatedDOMHTMLOptionElement::text):
1238         (DeprecatedDOMHTMLOptionElement::index):
1239         (DeprecatedDOMHTMLOptionElement::disabled):
1240         (DeprecatedDOMHTMLOptionElement::setDisabled):
1241         (DeprecatedDOMHTMLOptionElement::label):
1242         (DeprecatedDOMHTMLOptionElement::setLabel):
1243         (DeprecatedDOMHTMLOptionElement::selected):
1244         (DeprecatedDOMHTMLOptionElement::setSelected):
1245         (DeprecatedDOMHTMLOptionElement::value):
1246         (DeprecatedDOMHTMLOptionElement::setValue):
1247         (DeprecatedDOMHTMLInputElement::QueryInterface):
1248         (DeprecatedDOMHTMLInputElement::defaultValue):
1249         (DeprecatedDOMHTMLInputElement::setDefaultValue):
1250         (DeprecatedDOMHTMLInputElement::defaultChecked):
1251         (DeprecatedDOMHTMLInputElement::setDefaultChecked):
1252         (DeprecatedDOMHTMLInputElement::form):
1253         (DeprecatedDOMHTMLInputElement::accept):
1254         (DeprecatedDOMHTMLInputElement::setAccept):
1255         (DeprecatedDOMHTMLInputElement::accessKey):
1256         (DeprecatedDOMHTMLInputElement::setAccessKey):
1257         (DeprecatedDOMHTMLInputElement::align):
1258         (DeprecatedDOMHTMLInputElement::setAlign):
1259         (DeprecatedDOMHTMLInputElement::alt):
1260         (DeprecatedDOMHTMLInputElement::setAlt):
1261         (DeprecatedDOMHTMLInputElement::checked):
1262         (DeprecatedDOMHTMLInputElement::setChecked):
1263         (DeprecatedDOMHTMLInputElement::disabled):
1264         (DeprecatedDOMHTMLInputElement::setDisabled):
1265         (DeprecatedDOMHTMLInputElement::maxLength):
1266         (DeprecatedDOMHTMLInputElement::setMaxLength):
1267         (DeprecatedDOMHTMLInputElement::name):
1268         (DeprecatedDOMHTMLInputElement::setName):
1269         (DeprecatedDOMHTMLInputElement::readOnly):
1270         (DeprecatedDOMHTMLInputElement::setReadOnly):
1271         (DeprecatedDOMHTMLInputElement::size):
1272         (DeprecatedDOMHTMLInputElement::setSize):
1273         (DeprecatedDOMHTMLInputElement::src):
1274         (DeprecatedDOMHTMLInputElement::setSrc):
1275         (DeprecatedDOMHTMLInputElement::tabIndex):
1276         (DeprecatedDOMHTMLInputElement::setTabIndex):
1277         (DeprecatedDOMHTMLInputElement::type):
1278         (DeprecatedDOMHTMLInputElement::setType):
1279         (DeprecatedDOMHTMLInputElement::useMap):
1280         (DeprecatedDOMHTMLInputElement::setUseMap):
1281         (DeprecatedDOMHTMLInputElement::value):
1282         (DeprecatedDOMHTMLInputElement::setValue):
1283         (DeprecatedDOMHTMLInputElement::select):
1284         (DeprecatedDOMHTMLInputElement::click):
1285         (DeprecatedDOMHTMLInputElement::setSelectionStart):
1286         (DeprecatedDOMHTMLInputElement::selectionStart):
1287         (DeprecatedDOMHTMLInputElement::setSelectionEnd):
1288         (DeprecatedDOMHTMLInputElement::selectionEnd):
1289         (DeprecatedDOMHTMLInputElement::isTextField):
1290         (DeprecatedDOMHTMLInputElement::rectOnScreen):
1291         (DeprecatedDOMHTMLInputElement::replaceCharactersInRange):
1292         (DeprecatedDOMHTMLInputElement::selectedRange):
1293         (DeprecatedDOMHTMLInputElement::setAutofilled):
1294         (DeprecatedDOMHTMLInputElement::isUserEdited):
1295         (DeprecatedDOMHTMLTextAreaElement::QueryInterface):
1296         (DeprecatedDOMHTMLTextAreaElement::defaultValue):
1297         (DeprecatedDOMHTMLTextAreaElement::setDefaultValue):
1298         (DeprecatedDOMHTMLTextAreaElement::form):
1299         (DeprecatedDOMHTMLTextAreaElement::accessKey):
1300         (DeprecatedDOMHTMLTextAreaElement::setAccessKey):
1301         (DeprecatedDOMHTMLTextAreaElement::cols):
1302         (DeprecatedDOMHTMLTextAreaElement::setCols):
1303         (DeprecatedDOMHTMLTextAreaElement::disabled):
1304         (DeprecatedDOMHTMLTextAreaElement::setDisabled):
1305         (DeprecatedDOMHTMLTextAreaElement::name):
1306         (DeprecatedDOMHTMLTextAreaElement::setName):
1307         (DeprecatedDOMHTMLTextAreaElement::readOnly):
1308         (DeprecatedDOMHTMLTextAreaElement::setReadOnly):
1309         (DeprecatedDOMHTMLTextAreaElement::rows):
1310         (DeprecatedDOMHTMLTextAreaElement::setRows):
1311         (DeprecatedDOMHTMLTextAreaElement::tabIndex):
1312         (DeprecatedDOMHTMLTextAreaElement::setTabIndex):
1313         (DeprecatedDOMHTMLTextAreaElement::type):
1314         (DeprecatedDOMHTMLTextAreaElement::value):
1315         (DeprecatedDOMHTMLTextAreaElement::setValue):
1316         (DeprecatedDOMHTMLTextAreaElement::select):
1317         (DeprecatedDOMHTMLTextAreaElement::isUserEdited):
1318         * DOMHTMLClasses.h:
1319         (DeprecatedDOMHTMLCollection::AddRef):
1320         (DeprecatedDOMHTMLCollection::Release):
1321         (DeprecatedDOMHTMLCollection::throwException):
1322         (DeprecatedDOMHTMLCollection::callWebScriptMethod):
1323         (DeprecatedDOMHTMLCollection::evaluateWebScript):
1324         (DeprecatedDOMHTMLCollection::removeWebScriptKey):
1325         (DeprecatedDOMHTMLCollection::stringRepresentation):
1326         (DeprecatedDOMHTMLCollection::webScriptValueAtIndex):
1327         (DeprecatedDOMHTMLCollection::setWebScriptValueAtIndex):
1328         (DeprecatedDOMHTMLCollection::setException):
1329         (DeprecatedDOMHTMLOptionsCollection::AddRef):
1330         (DeprecatedDOMHTMLOptionsCollection::Release):
1331         (DeprecatedDOMHTMLOptionsCollection::throwException):
1332         (DeprecatedDOMHTMLOptionsCollection::callWebScriptMethod):
1333         (DeprecatedDOMHTMLOptionsCollection::evaluateWebScript):
1334         (DeprecatedDOMHTMLOptionsCollection::removeWebScriptKey):
1335         (DeprecatedDOMHTMLOptionsCollection::stringRepresentation):
1336         (DeprecatedDOMHTMLOptionsCollection::webScriptValueAtIndex):
1337         (DeprecatedDOMHTMLOptionsCollection::setWebScriptValueAtIndex):
1338         (DeprecatedDOMHTMLOptionsCollection::setException):
1339         (DeprecatedDOMHTMLDocument::DeprecatedDOMHTMLDocument):
1340         (DeprecatedDOMHTMLDocument::AddRef):
1341         (DeprecatedDOMHTMLDocument::Release):
1342         (DeprecatedDOMHTMLDocument::throwException):
1343         (DeprecatedDOMHTMLDocument::callWebScriptMethod):
1344         (DeprecatedDOMHTMLDocument::evaluateWebScript):
1345         (DeprecatedDOMHTMLDocument::removeWebScriptKey):
1346         (DeprecatedDOMHTMLDocument::stringRepresentation):
1347         (DeprecatedDOMHTMLDocument::webScriptValueAtIndex):
1348         (DeprecatedDOMHTMLDocument::setWebScriptValueAtIndex):
1349         (DeprecatedDOMHTMLDocument::setException):
1350         (DeprecatedDOMHTMLDocument::nodeName):
1351         (DeprecatedDOMHTMLDocument::nodeValue):
1352         (DeprecatedDOMHTMLDocument::nodeType):
1353         (DeprecatedDOMHTMLDocument::parentNode):
1354         (DeprecatedDOMHTMLDocument::childNodes):
1355         (DeprecatedDOMHTMLDocument::firstChild):
1356         (DeprecatedDOMHTMLDocument::lastChild):
1357         (DeprecatedDOMHTMLDocument::previousSibling):
1358         (DeprecatedDOMHTMLDocument::nextSibling):
1359         (DeprecatedDOMHTMLDocument::attributes):
1360         (DeprecatedDOMHTMLDocument::ownerDocument):
1361         (DeprecatedDOMHTMLDocument::insertBefore):
1362         (DeprecatedDOMHTMLDocument::replaceChild):
1363         (DeprecatedDOMHTMLDocument::removeChild):
1364         (DeprecatedDOMHTMLDocument::appendChild):
1365         (DeprecatedDOMHTMLDocument::hasChildNodes):
1366         (DeprecatedDOMHTMLDocument::cloneNode):
1367         (DeprecatedDOMHTMLDocument::normalize):
1368         (DeprecatedDOMHTMLDocument::isSupported):
1369         (DeprecatedDOMHTMLDocument::namespaceURI):
1370         (DeprecatedDOMHTMLDocument::prefix):
1371         (DeprecatedDOMHTMLDocument::setPrefix):
1372         (DeprecatedDOMHTMLDocument::localName):
1373         (DeprecatedDOMHTMLDocument::hasAttributes):
1374         (DeprecatedDOMHTMLDocument::isSameNode):
1375         (DeprecatedDOMHTMLDocument::isEqualNode):
1376         (DeprecatedDOMHTMLDocument::textContent):
1377         (DeprecatedDOMHTMLDocument::setTextContent):
1378         (DeprecatedDOMHTMLDocument::doctype):
1379         (DeprecatedDOMHTMLDocument::implementation):
1380         (DeprecatedDOMHTMLDocument::documentElement):
1381         (DeprecatedDOMHTMLDocument::createElement):
1382         (DeprecatedDOMHTMLDocument::createDocumentFragment):
1383         (DeprecatedDOMHTMLDocument::createTextNode):
1384         (DeprecatedDOMHTMLDocument::createComment):
1385         (DeprecatedDOMHTMLDocument::createCDATASection):
1386         (DeprecatedDOMHTMLDocument::createProcessingInstruction):
1387         (DeprecatedDOMHTMLDocument::createAttribute):
1388         (DeprecatedDOMHTMLDocument::createEntityReference):
1389         (DeprecatedDOMHTMLDocument::getElementsByTagName):
1390         (DeprecatedDOMHTMLDocument::importNode):
1391         (DeprecatedDOMHTMLDocument::createElementNS):
1392         (DeprecatedDOMHTMLDocument::createAttributeNS):
1393         (DeprecatedDOMHTMLDocument::getElementsByTagNameNS):
1394         (DeprecatedDOMHTMLDocument::getElementById):
1395         (DeprecatedDOMHTMLElement::DeprecatedDOMHTMLElement):
1396         (DeprecatedDOMHTMLElement::AddRef):
1397         (DeprecatedDOMHTMLElement::Release):
1398         (DeprecatedDOMHTMLElement::throwException):
1399         (DeprecatedDOMHTMLElement::callWebScriptMethod):
1400         (DeprecatedDOMHTMLElement::evaluateWebScript):
1401         (DeprecatedDOMHTMLElement::removeWebScriptKey):
1402         (DeprecatedDOMHTMLElement::stringRepresentation):
1403         (DeprecatedDOMHTMLElement::webScriptValueAtIndex):
1404         (DeprecatedDOMHTMLElement::setWebScriptValueAtIndex):
1405         (DeprecatedDOMHTMLElement::setException):
1406         (DeprecatedDOMHTMLElement::nodeName):
1407         (DeprecatedDOMHTMLElement::nodeValue):
1408         (DeprecatedDOMHTMLElement::setNodeValue):
1409         (DeprecatedDOMHTMLElement::nodeType):
1410         (DeprecatedDOMHTMLElement::parentNode):
1411         (DeprecatedDOMHTMLElement::childNodes):
1412         (DeprecatedDOMHTMLElement::firstChild):
1413         (DeprecatedDOMHTMLElement::lastChild):
1414         (DeprecatedDOMHTMLElement::previousSibling):
1415         (DeprecatedDOMHTMLElement::nextSibling):
1416         (DeprecatedDOMHTMLElement::attributes):
1417         (DeprecatedDOMHTMLElement::ownerDocument):
1418         (DeprecatedDOMHTMLElement::insertBefore):
1419         (DeprecatedDOMHTMLElement::replaceChild):
1420         (DeprecatedDOMHTMLElement::removeChild):
1421         (DeprecatedDOMHTMLElement::appendChild):
1422         (DeprecatedDOMHTMLElement::hasChildNodes):
1423         (DeprecatedDOMHTMLElement::cloneNode):
1424         (DeprecatedDOMHTMLElement::normalize):
1425         (DeprecatedDOMHTMLElement::isSupported):
1426         (DeprecatedDOMHTMLElement::namespaceURI):
1427         (DeprecatedDOMHTMLElement::prefix):
1428         (DeprecatedDOMHTMLElement::setPrefix):
1429         (DeprecatedDOMHTMLElement::localName):
1430         (DeprecatedDOMHTMLElement::hasAttributes):
1431         (DeprecatedDOMHTMLElement::isSameNode):
1432         (DeprecatedDOMHTMLElement::isEqualNode):
1433         (DeprecatedDOMHTMLElement::textContent):
1434         (DeprecatedDOMHTMLElement::setTextContent):
1435         (DeprecatedDOMHTMLElement::tagName):
1436         (DeprecatedDOMHTMLElement::getAttribute):
1437         (DeprecatedDOMHTMLElement::setAttribute):
1438         (DeprecatedDOMHTMLElement::removeAttribute):
1439         (DeprecatedDOMHTMLElement::getAttributeNode):
1440         (DeprecatedDOMHTMLElement::setAttributeNode):
1441         (DeprecatedDOMHTMLElement::removeAttributeNode):
1442         (DeprecatedDOMHTMLElement::getElementsByTagName):
1443         (DeprecatedDOMHTMLElement::getAttributeNS):
1444         (DeprecatedDOMHTMLElement::setAttributeNS):
1445         (DeprecatedDOMHTMLElement::removeAttributeNS):
1446         (DeprecatedDOMHTMLElement::getAttributeNodeNS):
1447         (DeprecatedDOMHTMLElement::setAttributeNodeNS):
1448         (DeprecatedDOMHTMLElement::getElementsByTagNameNS):
1449         (DeprecatedDOMHTMLElement::hasAttribute):
1450         (DeprecatedDOMHTMLElement::hasAttributeNS):
1451         (DeprecatedDOMHTMLElement::focus):
1452         (DeprecatedDOMHTMLElement::blur):
1453         (DeprecatedDOMHTMLFormElement::DeprecatedDOMHTMLFormElement):
1454         (DeprecatedDOMHTMLFormElement::AddRef):
1455         (DeprecatedDOMHTMLFormElement::Release):
1456         (DeprecatedDOMHTMLFormElement::throwException):
1457         (DeprecatedDOMHTMLFormElement::callWebScriptMethod):
1458         (DeprecatedDOMHTMLFormElement::evaluateWebScript):
1459         (DeprecatedDOMHTMLFormElement::removeWebScriptKey):
1460         (DeprecatedDOMHTMLFormElement::stringRepresentation):
1461         (DeprecatedDOMHTMLFormElement::webScriptValueAtIndex):
1462         (DeprecatedDOMHTMLFormElement::setWebScriptValueAtIndex):
1463         (DeprecatedDOMHTMLFormElement::setException):
1464         (DeprecatedDOMHTMLFormElement::nodeName):
1465         (DeprecatedDOMHTMLFormElement::nodeValue):
1466         (DeprecatedDOMHTMLFormElement::setNodeValue):
1467         (DeprecatedDOMHTMLFormElement::nodeType):
1468         (DeprecatedDOMHTMLFormElement::parentNode):
1469         (DeprecatedDOMHTMLFormElement::childNodes):
1470         (DeprecatedDOMHTMLFormElement::firstChild):
1471         (DeprecatedDOMHTMLFormElement::lastChild):
1472         (DeprecatedDOMHTMLFormElement::previousSibling):
1473         (DeprecatedDOMHTMLFormElement::nextSibling):
1474         (DeprecatedDOMHTMLFormElement::attributes):
1475         (DeprecatedDOMHTMLFormElement::ownerDocument):
1476         (DeprecatedDOMHTMLFormElement::insertBefore):
1477         (DeprecatedDOMHTMLFormElement::replaceChild):
1478         (DeprecatedDOMHTMLFormElement::removeChild):
1479         (DeprecatedDOMHTMLFormElement::appendChild):
1480         (DeprecatedDOMHTMLFormElement::hasChildNodes):
1481         (DeprecatedDOMHTMLFormElement::cloneNode):
1482         (DeprecatedDOMHTMLFormElement::normalize):
1483         (DeprecatedDOMHTMLFormElement::isSupported):
1484         (DeprecatedDOMHTMLFormElement::namespaceURI):
1485         (DeprecatedDOMHTMLFormElement::prefix):
1486         (DeprecatedDOMHTMLFormElement::setPrefix):
1487         (DeprecatedDOMHTMLFormElement::localName):
1488         (DeprecatedDOMHTMLFormElement::hasAttributes):
1489         (DeprecatedDOMHTMLFormElement::isSameNode):
1490         (DeprecatedDOMHTMLFormElement::isEqualNode):
1491         (DeprecatedDOMHTMLFormElement::textContent):
1492         (DeprecatedDOMHTMLFormElement::setTextContent):
1493         (DeprecatedDOMHTMLFormElement::tagName):
1494         (DeprecatedDOMHTMLFormElement::getAttribute):
1495         (DeprecatedDOMHTMLFormElement::setAttribute):
1496         (DeprecatedDOMHTMLFormElement::removeAttribute):
1497         (DeprecatedDOMHTMLFormElement::getAttributeNode):
1498         (DeprecatedDOMHTMLFormElement::setAttributeNode):
1499         (DeprecatedDOMHTMLFormElement::removeAttributeNode):
1500         (DeprecatedDOMHTMLFormElement::getElementsByTagName):
1501         (DeprecatedDOMHTMLFormElement::getAttributeNS):
1502         (DeprecatedDOMHTMLFormElement::setAttributeNS):
1503         (DeprecatedDOMHTMLFormElement::removeAttributeNS):
1504         (DeprecatedDOMHTMLFormElement::getAttributeNodeNS):
1505         (DeprecatedDOMHTMLFormElement::setAttributeNodeNS):
1506         (DeprecatedDOMHTMLFormElement::getElementsByTagNameNS):
1507         (DeprecatedDOMHTMLFormElement::hasAttribute):
1508         (DeprecatedDOMHTMLFormElement::hasAttributeNS):
1509         (DeprecatedDOMHTMLFormElement::focus):
1510         (DeprecatedDOMHTMLFormElement::blur):
1511         (DeprecatedDOMHTMLFormElement::idName):
1512         (DeprecatedDOMHTMLFormElement::setIdName):
1513         (DeprecatedDOMHTMLFormElement::title):
1514         (DeprecatedDOMHTMLFormElement::setTitle):
1515         (DeprecatedDOMHTMLFormElement::lang):
1516         (DeprecatedDOMHTMLFormElement::setLang):
1517         (DeprecatedDOMHTMLFormElement::dir):
1518         (DeprecatedDOMHTMLFormElement::setDir):
1519         (DeprecatedDOMHTMLFormElement::className):
1520         (DeprecatedDOMHTMLFormElement::setClassName):
1521         (DeprecatedDOMHTMLFormElement::innerHTML):
1522         (DeprecatedDOMHTMLFormElement::setInnerHTML):
1523         (DeprecatedDOMHTMLFormElement::innerText):
1524         (DeprecatedDOMHTMLFormElement::setInnerText):
1525         (DeprecatedDOMHTMLSelectElement::DeprecatedDOMHTMLSelectElement):
1526         (DeprecatedDOMHTMLSelectElement::AddRef):
1527         (DeprecatedDOMHTMLSelectElement::Release):
1528         (DeprecatedDOMHTMLSelectElement::throwException):
1529         (DeprecatedDOMHTMLSelectElement::callWebScriptMethod):
1530         (DeprecatedDOMHTMLSelectElement::evaluateWebScript):
1531         (DeprecatedDOMHTMLSelectElement::removeWebScriptKey):
1532         (DeprecatedDOMHTMLSelectElement::stringRepresentation):
1533         (DeprecatedDOMHTMLSelectElement::webScriptValueAtIndex):
1534         (DeprecatedDOMHTMLSelectElement::setWebScriptValueAtIndex):
1535         (DeprecatedDOMHTMLSelectElement::setException):
1536         (DeprecatedDOMHTMLSelectElement::nodeName):
1537         (DeprecatedDOMHTMLSelectElement::nodeValue):
1538         (DeprecatedDOMHTMLSelectElement::setNodeValue):
1539         (DeprecatedDOMHTMLSelectElement::nodeType):
1540         (DeprecatedDOMHTMLSelectElement::parentNode):
1541         (DeprecatedDOMHTMLSelectElement::childNodes):
1542         (DeprecatedDOMHTMLSelectElement::firstChild):
1543         (DeprecatedDOMHTMLSelectElement::lastChild):
1544         (DeprecatedDOMHTMLSelectElement::previousSibling):
1545         (DeprecatedDOMHTMLSelectElement::nextSibling):
1546         (DeprecatedDOMHTMLSelectElement::attributes):
1547         (DeprecatedDOMHTMLSelectElement::ownerDocument):
1548         (DeprecatedDOMHTMLSelectElement::insertBefore):
1549         (DeprecatedDOMHTMLSelectElement::replaceChild):
1550         (DeprecatedDOMHTMLSelectElement::removeChild):
1551         (DeprecatedDOMHTMLSelectElement::appendChild):
1552         (DeprecatedDOMHTMLSelectElement::hasChildNodes):
1553         (DeprecatedDOMHTMLSelectElement::cloneNode):
1554         (DeprecatedDOMHTMLSelectElement::normalize):
1555         (DeprecatedDOMHTMLSelectElement::isSupported):
1556         (DeprecatedDOMHTMLSelectElement::namespaceURI):
1557         (DeprecatedDOMHTMLSelectElement::prefix):
1558         (DeprecatedDOMHTMLSelectElement::setPrefix):
1559         (DeprecatedDOMHTMLSelectElement::localName):
1560         (DeprecatedDOMHTMLSelectElement::hasAttributes):
1561         (DeprecatedDOMHTMLSelectElement::isSameNode):
1562         (DeprecatedDOMHTMLSelectElement::isEqualNode):
1563         (DeprecatedDOMHTMLSelectElement::textContent):
1564         (DeprecatedDOMHTMLSelectElement::setTextContent):
1565         (DeprecatedDOMHTMLSelectElement::tagName):
1566         (DeprecatedDOMHTMLSelectElement::getAttribute):
1567         (DeprecatedDOMHTMLSelectElement::setAttribute):
1568         (DeprecatedDOMHTMLSelectElement::removeAttribute):
1569         (DeprecatedDOMHTMLSelectElement::getAttributeNode):
1570         (DeprecatedDOMHTMLSelectElement::setAttributeNode):
1571         (DeprecatedDOMHTMLSelectElement::removeAttributeNode):
1572         (DeprecatedDOMHTMLSelectElement::getElementsByTagName):
1573         (DeprecatedDOMHTMLSelectElement::getAttributeNS):
1574         (DeprecatedDOMHTMLSelectElement::setAttributeNS):
1575         (DeprecatedDOMHTMLSelectElement::removeAttributeNS):
1576         (DeprecatedDOMHTMLSelectElement::getAttributeNodeNS):
1577         (DeprecatedDOMHTMLSelectElement::setAttributeNodeNS):
1578         (DeprecatedDOMHTMLSelectElement::getElementsByTagNameNS):
1579         (DeprecatedDOMHTMLSelectElement::hasAttribute):
1580         (DeprecatedDOMHTMLSelectElement::hasAttributeNS):
1581         (DeprecatedDOMHTMLSelectElement::focus):
1582         (DeprecatedDOMHTMLSelectElement::blur):
1583         (DeprecatedDOMHTMLSelectElement::idName):
1584         (DeprecatedDOMHTMLSelectElement::setIdName):
1585         (DeprecatedDOMHTMLSelectElement::title):
1586         (DeprecatedDOMHTMLSelectElement::setTitle):
1587         (DeprecatedDOMHTMLSelectElement::lang):
1588         (DeprecatedDOMHTMLSelectElement::setLang):
1589         (DeprecatedDOMHTMLSelectElement::dir):
1590         (DeprecatedDOMHTMLSelectElement::setDir):
1591         (DeprecatedDOMHTMLSelectElement::className):
1592         (DeprecatedDOMHTMLSelectElement::setClassName):
1593         (DeprecatedDOMHTMLSelectElement::innerHTML):
1594         (DeprecatedDOMHTMLSelectElement::setInnerHTML):
1595         (DeprecatedDOMHTMLSelectElement::innerText):
1596         (DeprecatedDOMHTMLSelectElement::setInnerText):
1597         (DeprecatedDOMHTMLOptionElement::DeprecatedDOMHTMLOptionElement):
1598         (DeprecatedDOMHTMLOptionElement::AddRef):
1599         (DeprecatedDOMHTMLOptionElement::Release):
1600         (DeprecatedDOMHTMLOptionElement::throwException):
1601         (DeprecatedDOMHTMLOptionElement::callWebScriptMethod):
1602         (DeprecatedDOMHTMLOptionElement::evaluateWebScript):
1603         (DeprecatedDOMHTMLOptionElement::removeWebScriptKey):
1604         (DeprecatedDOMHTMLOptionElement::stringRepresentation):
1605         (DeprecatedDOMHTMLOptionElement::webScriptValueAtIndex):
1606         (DeprecatedDOMHTMLOptionElement::setWebScriptValueAtIndex):
1607         (DeprecatedDOMHTMLOptionElement::setException):
1608         (DeprecatedDOMHTMLOptionElement::nodeName):
1609         (DeprecatedDOMHTMLOptionElement::nodeValue):
1610         (DeprecatedDOMHTMLOptionElement::setNodeValue):
1611         (DeprecatedDOMHTMLOptionElement::nodeType):
1612         (DeprecatedDOMHTMLOptionElement::parentNode):
1613         (DeprecatedDOMHTMLOptionElement::childNodes):
1614         (DeprecatedDOMHTMLOptionElement::firstChild):
1615         (DeprecatedDOMHTMLOptionElement::lastChild):
1616         (DeprecatedDOMHTMLOptionElement::previousSibling):
1617         (DeprecatedDOMHTMLOptionElement::nextSibling):
1618         (DeprecatedDOMHTMLOptionElement::attributes):
1619         (DeprecatedDOMHTMLOptionElement::ownerDocument):
1620         (DeprecatedDOMHTMLOptionElement::insertBefore):
1621         (DeprecatedDOMHTMLOptionElement::replaceChild):
1622         (DeprecatedDOMHTMLOptionElement::removeChild):
1623         (DeprecatedDOMHTMLOptionElement::appendChild):
1624         (DeprecatedDOMHTMLOptionElement::hasChildNodes):
1625         (DeprecatedDOMHTMLOptionElement::cloneNode):
1626         (DeprecatedDOMHTMLOptionElement::normalize):
1627         (DeprecatedDOMHTMLOptionElement::isSupported):
1628         (DeprecatedDOMHTMLOptionElement::namespaceURI):
1629         (DeprecatedDOMHTMLOptionElement::prefix):
1630         (DeprecatedDOMHTMLOptionElement::setPrefix):
1631         (DeprecatedDOMHTMLOptionElement::localName):
1632         (DeprecatedDOMHTMLOptionElement::hasAttributes):
1633         (DeprecatedDOMHTMLOptionElement::isSameNode):
1634         (DeprecatedDOMHTMLOptionElement::isEqualNode):
1635         (DeprecatedDOMHTMLOptionElement::textContent):
1636         (DeprecatedDOMHTMLOptionElement::setTextContent):
1637         (DeprecatedDOMHTMLOptionElement::tagName):
1638         (DeprecatedDOMHTMLOptionElement::getAttribute):
1639         (DeprecatedDOMHTMLOptionElement::setAttribute):
1640         (DeprecatedDOMHTMLOptionElement::removeAttribute):
1641         (DeprecatedDOMHTMLOptionElement::getAttributeNode):
1642         (DeprecatedDOMHTMLOptionElement::setAttributeNode):
1643         (DeprecatedDOMHTMLOptionElement::removeAttributeNode):
1644         (DeprecatedDOMHTMLOptionElement::getElementsByTagName):
1645         (DeprecatedDOMHTMLOptionElement::getAttributeNS):
1646         (DeprecatedDOMHTMLOptionElement::setAttributeNS):
1647         (DeprecatedDOMHTMLOptionElement::removeAttributeNS):
1648         (DeprecatedDOMHTMLOptionElement::getAttributeNodeNS):
1649         (DeprecatedDOMHTMLOptionElement::setAttributeNodeNS):
1650         (DeprecatedDOMHTMLOptionElement::getElementsByTagNameNS):
1651         (DeprecatedDOMHTMLOptionElement::hasAttribute):
1652         (DeprecatedDOMHTMLOptionElement::hasAttributeNS):
1653         (DeprecatedDOMHTMLOptionElement::focus):
1654         (DeprecatedDOMHTMLOptionElement::blur):
1655         (DeprecatedDOMHTMLOptionElement::idName):
1656         (DeprecatedDOMHTMLOptionElement::setIdName):
1657         (DeprecatedDOMHTMLOptionElement::title):
1658         (DeprecatedDOMHTMLOptionElement::setTitle):
1659         (DeprecatedDOMHTMLOptionElement::lang):
1660         (DeprecatedDOMHTMLOptionElement::setLang):
1661         (DeprecatedDOMHTMLOptionElement::dir):
1662         (DeprecatedDOMHTMLOptionElement::setDir):
1663         (DeprecatedDOMHTMLOptionElement::className):
1664         (DeprecatedDOMHTMLOptionElement::setClassName):
1665         (DeprecatedDOMHTMLOptionElement::innerHTML):
1666         (DeprecatedDOMHTMLOptionElement::setInnerHTML):
1667         (DeprecatedDOMHTMLOptionElement::innerText):
1668         (DeprecatedDOMHTMLOptionElement::setInnerText):
1669         (DeprecatedDOMHTMLInputElement::DeprecatedDOMHTMLInputElement):
1670         (DeprecatedDOMHTMLInputElement::AddRef):
1671         (DeprecatedDOMHTMLInputElement::Release):
1672         (DeprecatedDOMHTMLInputElement::throwException):
1673         (DeprecatedDOMHTMLInputElement::callWebScriptMethod):
1674         (DeprecatedDOMHTMLInputElement::evaluateWebScript):
1675         (DeprecatedDOMHTMLInputElement::removeWebScriptKey):
1676         (DeprecatedDOMHTMLInputElement::stringRepresentation):
1677         (DeprecatedDOMHTMLInputElement::webScriptValueAtIndex):
1678         (DeprecatedDOMHTMLInputElement::setWebScriptValueAtIndex):
1679         (DeprecatedDOMHTMLInputElement::setException):
1680         (DeprecatedDOMHTMLInputElement::nodeName):
1681         (DeprecatedDOMHTMLInputElement::nodeValue):
1682         (DeprecatedDOMHTMLInputElement::setNodeValue):
1683         (DeprecatedDOMHTMLInputElement::nodeType):
1684         (DeprecatedDOMHTMLInputElement::parentNode):
1685         (DeprecatedDOMHTMLInputElement::childNodes):
1686         (DeprecatedDOMHTMLInputElement::firstChild):
1687         (DeprecatedDOMHTMLInputElement::lastChild):
1688         (DeprecatedDOMHTMLInputElement::previousSibling):
1689         (DeprecatedDOMHTMLInputElement::nextSibling):
1690         (DeprecatedDOMHTMLInputElement::attributes):
1691         (DeprecatedDOMHTMLInputElement::ownerDocument):
1692         (DeprecatedDOMHTMLInputElement::insertBefore):
1693         (DeprecatedDOMHTMLInputElement::replaceChild):
1694         (DeprecatedDOMHTMLInputElement::removeChild):
1695         (DeprecatedDOMHTMLInputElement::appendChild):
1696         (DeprecatedDOMHTMLInputElement::hasChildNodes):
1697         (DeprecatedDOMHTMLInputElement::cloneNode):
1698         (DeprecatedDOMHTMLInputElement::normalize):
1699         (DeprecatedDOMHTMLInputElement::isSupported):
1700         (DeprecatedDOMHTMLInputElement::namespaceURI):
1701         (DeprecatedDOMHTMLInputElement::prefix):
1702         (DeprecatedDOMHTMLInputElement::setPrefix):
1703         (DeprecatedDOMHTMLInputElement::localName):
1704         (DeprecatedDOMHTMLInputElement::hasAttributes):
1705         (DeprecatedDOMHTMLInputElement::isSameNode):
1706         (DeprecatedDOMHTMLInputElement::isEqualNode):
1707         (DeprecatedDOMHTMLInputElement::textContent):
1708         (DeprecatedDOMHTMLInputElement::setTextContent):
1709         (DeprecatedDOMHTMLInputElement::tagName):
1710         (DeprecatedDOMHTMLInputElement::getAttribute):
1711         (DeprecatedDOMHTMLInputElement::setAttribute):
1712         (DeprecatedDOMHTMLInputElement::removeAttribute):
1713         (DeprecatedDOMHTMLInputElement::getAttributeNode):
1714         (DeprecatedDOMHTMLInputElement::setAttributeNode):
1715         (DeprecatedDOMHTMLInputElement::removeAttributeNode):
1716         (DeprecatedDOMHTMLInputElement::getElementsByTagName):
1717         (DeprecatedDOMHTMLInputElement::getAttributeNS):
1718         (DeprecatedDOMHTMLInputElement::setAttributeNS):
1719         (DeprecatedDOMHTMLInputElement::removeAttributeNS):
1720         (DeprecatedDOMHTMLInputElement::getAttributeNodeNS):
1721         (DeprecatedDOMHTMLInputElement::setAttributeNodeNS):
1722         (DeprecatedDOMHTMLInputElement::getElementsByTagNameNS):
1723         (DeprecatedDOMHTMLInputElement::hasAttribute):
1724         (DeprecatedDOMHTMLInputElement::hasAttributeNS):
1725         (DeprecatedDOMHTMLInputElement::focus):
1726         (DeprecatedDOMHTMLInputElement::blur):
1727         (DeprecatedDOMHTMLInputElement::idName):
1728         (DeprecatedDOMHTMLInputElement::setIdName):
1729         (DeprecatedDOMHTMLInputElement::title):
1730         (DeprecatedDOMHTMLInputElement::setTitle):
1731         (DeprecatedDOMHTMLInputElement::lang):
1732         (DeprecatedDOMHTMLInputElement::setLang):
1733         (DeprecatedDOMHTMLInputElement::dir):
1734         (DeprecatedDOMHTMLInputElement::setDir):
1735         (DeprecatedDOMHTMLInputElement::className):
1736         (DeprecatedDOMHTMLInputElement::setClassName):
1737         (DeprecatedDOMHTMLInputElement::innerHTML):
1738         (DeprecatedDOMHTMLInputElement::setInnerHTML):
1739         (DeprecatedDOMHTMLInputElement::innerText):
1740         (DeprecatedDOMHTMLInputElement::setInnerText):
1741         (DeprecatedDOMHTMLTextAreaElement::DeprecatedDOMHTMLTextAreaElement):
1742         (DeprecatedDOMHTMLTextAreaElement::AddRef):
1743         (DeprecatedDOMHTMLTextAreaElement::Release):
1744         (DeprecatedDOMHTMLTextAreaElement::throwException):
1745         (DeprecatedDOMHTMLTextAreaElement::callWebScriptMethod):
1746         (DeprecatedDOMHTMLTextAreaElement::evaluateWebScript):
1747         (DeprecatedDOMHTMLTextAreaElement::removeWebScriptKey):
1748         (DeprecatedDOMHTMLTextAreaElement::stringRepresentation):
1749         (DeprecatedDOMHTMLTextAreaElement::webScriptValueAtIndex):
1750         (DeprecatedDOMHTMLTextAreaElement::setWebScriptValueAtIndex):
1751         (DeprecatedDOMHTMLTextAreaElement::setException):
1752         (DeprecatedDOMHTMLTextAreaElement::nodeName):
1753         (DeprecatedDOMHTMLTextAreaElement::nodeValue):
1754         (DeprecatedDOMHTMLTextAreaElement::setNodeValue):
1755         (DeprecatedDOMHTMLTextAreaElement::nodeType):
1756         (DeprecatedDOMHTMLTextAreaElement::parentNode):
1757         (DeprecatedDOMHTMLTextAreaElement::childNodes):
1758         (DeprecatedDOMHTMLTextAreaElement::firstChild):
1759         (DeprecatedDOMHTMLTextAreaElement::lastChild):
1760         (DeprecatedDOMHTMLTextAreaElement::previousSibling):
1761         (DeprecatedDOMHTMLTextAreaElement::nextSibling):
1762         (DeprecatedDOMHTMLTextAreaElement::attributes):
1763         (DeprecatedDOMHTMLTextAreaElement::ownerDocument):
1764         (DeprecatedDOMHTMLTextAreaElement::insertBefore):
1765         (DeprecatedDOMHTMLTextAreaElement::replaceChild):
1766         (DeprecatedDOMHTMLTextAreaElement::removeChild):
1767         (DeprecatedDOMHTMLTextAreaElement::appendChild):
1768         (DeprecatedDOMHTMLTextAreaElement::hasChildNodes):
1769         (DeprecatedDOMHTMLTextAreaElement::cloneNode):
1770         (DeprecatedDOMHTMLTextAreaElement::normalize):
1771         (DeprecatedDOMHTMLTextAreaElement::isSupported):
1772         (DeprecatedDOMHTMLTextAreaElement::namespaceURI):
1773         (DeprecatedDOMHTMLTextAreaElement::prefix):
1774         (DeprecatedDOMHTMLTextAreaElement::setPrefix):
1775         (DeprecatedDOMHTMLTextAreaElement::localName):
1776         (DeprecatedDOMHTMLTextAreaElement::hasAttributes):
1777         (DeprecatedDOMHTMLTextAreaElement::isSameNode):
1778         (DeprecatedDOMHTMLTextAreaElement::isEqualNode):
1779         (DeprecatedDOMHTMLTextAreaElement::textContent):
1780         (DeprecatedDOMHTMLTextAreaElement::setTextContent):
1781         (DeprecatedDOMHTMLTextAreaElement::tagName):
1782         (DeprecatedDOMHTMLTextAreaElement::getAttribute):
1783         (DeprecatedDOMHTMLTextAreaElement::setAttribute):
1784         (DeprecatedDOMHTMLTextAreaElement::removeAttribute):
1785         (DeprecatedDOMHTMLTextAreaElement::getAttributeNode):
1786         (DeprecatedDOMHTMLTextAreaElement::setAttributeNode):
1787         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNode):
1788         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagName):
1789         (DeprecatedDOMHTMLTextAreaElement::getAttributeNS):
1790         (DeprecatedDOMHTMLTextAreaElement::setAttributeNS):
1791         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNS):
1792         (DeprecatedDOMHTMLTextAreaElement::getAttributeNodeNS):
1793         (DeprecatedDOMHTMLTextAreaElement::setAttributeNodeNS):
1794         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagNameNS):
1795         (DeprecatedDOMHTMLTextAreaElement::hasAttribute):
1796         (DeprecatedDOMHTMLTextAreaElement::hasAttributeNS):
1797         (DeprecatedDOMHTMLTextAreaElement::focus):
1798         (DeprecatedDOMHTMLTextAreaElement::blur):
1799         (DeprecatedDOMHTMLTextAreaElement::idName):
1800         (DeprecatedDOMHTMLTextAreaElement::setIdName):
1801         (DeprecatedDOMHTMLTextAreaElement::title):
1802         (DeprecatedDOMHTMLTextAreaElement::setTitle):
1803         (DeprecatedDOMHTMLTextAreaElement::lang):
1804         (DeprecatedDOMHTMLTextAreaElement::setLang):
1805         (DeprecatedDOMHTMLTextAreaElement::dir):
1806         (DeprecatedDOMHTMLTextAreaElement::setDir):
1807         (DeprecatedDOMHTMLTextAreaElement::className):
1808         (DeprecatedDOMHTMLTextAreaElement::setClassName):
1809         (DeprecatedDOMHTMLTextAreaElement::innerHTML):
1810         (DeprecatedDOMHTMLTextAreaElement::setInnerHTML):
1811         (DeprecatedDOMHTMLTextAreaElement::innerText):
1812         (DeprecatedDOMHTMLTextAreaElement::setInnerText):
1813         * Interfaces/DOMCSS.idl:
1814         * Interfaces/DOMCore.idl:
1815         * Interfaces/DOMEvents.idl:
1816         * Interfaces/DOMExtensions.idl:
1817         * Interfaces/DOMHTML.idl:
1818         * Interfaces/DOMPrivate.idl:
1819         * Interfaces/DOMRange.idl:
1820         * Interfaces/DOMWindow.idl:
1821         * Interfaces/IWebEditingDelegate.idl:
1822         * Interfaces/IWebFormDelegate.idl:
1823         * Interfaces/IWebFrame.idl:
1824         * Interfaces/IWebHTMLRepresentation.idl:
1825         * Interfaces/IWebView.idl:
1826         * WebEditorClient.cpp:
1827         (WebEditorClient::shouldDeleteRange):
1828         (WebEditorClient::shouldInsertText):
1829         (WebEditorClient::textFieldDidBeginEditing):
1830         (WebEditorClient::textFieldDidEndEditing):
1831         (WebEditorClient::textDidChangeInTextField):
1832         (WebEditorClient::doTextFieldCommandFromEvent):
1833         (WebEditorClient::textWillBeDeletedInTextField):
1834         (WebEditorClient::textDidChangeInTextArea):
1835         * WebElementPropertyBag.cpp:
1836         (WebElementPropertyBag::Read):
1837         * WebFrame.cpp:
1838         (elementFromDOMElement):
1839         (formElementFromDOMElement):
1840         (inputElementFromDOMElement):
1841         (WebFrame::DOMDocument):
1842         (WebFrame::frameElement):
1843         (WebFrame::currentForm):
1844         (WebFrame::elementWithName):
1845         (WebFrame::formForElement):
1846         (WebFrame::elementDoesAutoComplete):
1847         (WebFrame::controlsInForm):
1848         (WebFrame::elementIsPassword):
1849         (WebFrame::searchForLabelsBeforeElement):
1850         (WebFrame::matchLabelsAgainstElement):
1851         (WebFrame::dispatchWillSubmitForm):
1852         * WebFrame.h:
1853         * WebHTMLRepresentation.cpp:
1854         (WebHTMLRepresentation::attributedStringFromDOMNodes):
1855         (WebHTMLRepresentation::elementWithName):
1856         (WebHTMLRepresentation::elementDoesAutoComplete):
1857         (WebHTMLRepresentation::elementIsPassword):
1858         (WebHTMLRepresentation::formForElement):
1859         (WebHTMLRepresentation::currentForm):
1860         (WebHTMLRepresentation::controlsInForm):
1861         (WebHTMLRepresentation::searchForLabels):
1862         (WebHTMLRepresentation::matchLabels):
1863         * WebHTMLRepresentation.h:
1864         * WebView.cpp:
1865         (WebView::mainFrameDocument):
1866         (WebView::computedStyleForElement):
1867         (WebView::editableDOMRangeForPoint):
1868         (WebView::setSelectedDOMRange):
1869         (WebView::selectedDOMRange):
1870         (WebView::setTypingStyle):
1871         (WebView::typingStyle):
1872         (WebView::styleDeclarationWithText):
1873         (WebView::replaceSelectionWithNode):
1874         (WebView::applyStyle):
1875         * WebView.h:
1876
1877 2007-08-22  Jon Honeycutt  <jhoneycutt@apple.com>
1878
1879         Reviewed by Adam.
1880
1881         Refactoring of <radr://problem/5220598> Dragging URL out and back
1882         inserts a second copy of the URL
1883
1884         * Interfaces/IWebViewPrivate.idl: Added setCustomDropTarget and
1885         removeCustomDropTarget
1886         * WebView.cpp: 
1887         (WebView::WebView): Initialize m_hasCustomDropTarget
1888         (WebView::setCustomDropTarget): Revoke any existing drop target and set
1889         the incoming drop target.
1890         (WebView::removeCustomDropTarget): Revoke any existing drop target and
1891         set the default drop target.
1892         * WebView.h:
1893
1894 2007-08-21  Ada Chan  <adachan@apple.com>
1895
1896         Fix <rdar://problem/5416630> Accelerator to open link in window in background opens window in foreground instead
1897         Placing tooltip window at the topmost in z-order brought windows that were opened in the
1898         background to the front.  Use HWND_TOP instead.
1899
1900         Reviewed by Adam.
1901         
1902         * WebView.cpp:
1903         (WebView::initializeToolTipWindow):
1904
1905 2007-08-21  Adam Roben  <aroben@apple.com>
1906
1907         Switch Windows to using FrameView::layoutIfNeededRecursive
1908
1909         Reviewed by Darin.
1910
1911         * WebFrame.cpp: Removed layoutIfNeededRecursive.
1912         * WebFrame.h: Ditto.
1913         * WebView.cpp:
1914         (WebView::updateBackingStore): Call FrameView::layoutIfNeededRecursive.
1915
1916 2007-08-17  Adam Roben  <aroben@apple.com>
1917
1918         Fix <rdar://5192578> Inspect Element should not appear in context menu in non-debug mode
1919
1920         We now follow the same logic as Mac WebKit for displaying the Inspect Element item:
1921             1) If DisableWebKitDeveloperExtras is set to true, don't display it
1922             2) If not, and we're in a debug build, display it
1923             3) If not, and we're in a release build, display it if
1924                WebKitDeveloperExtras is set to true
1925
1926         Reviewed by Ada.
1927
1928         * Interfaces/IWebPreferencesPrivate.idl: Added.
1929         * WebKit.vcproj/Interfaces.vcproj: Add new IWebPreferencesPrivate.idl
1930         file to project.
1931         * WebKit.vcproj/WebKitGUID.vcproj: Added generated .c file for
1932         IWebPreferencesPrivate to project.
1933         * WebPreferenceKeysPrivate.h: Added new keys.
1934         * WebPreferences.cpp: Added IID_WebPreferences.
1935         (WebPreferences::postPreferencesChangesNotification): Added an explicit
1936         cast needed now that WebPreferences implements two interfaces.
1937         (WebPreferences::QueryInterface): Added new cases.
1938         (WebPreferences::setDeveloperExtrasEnabled): Added.
1939         (WebPreferences::developerExtrasEnabled): Added.
1940         (WebPreferences::developerExtrasDisabledByOverride): Added.
1941         * WebPreferences.h: Now implements IWebPreferencesPrivate.
1942         * WebView.cpp:
1943         (WebView::updateWebCoreSettingsFromPreferences): Call developerExtrasEnabled.
1944         (WebView::developerExtrasEnabled): Ported from -[WebView _developerExtrasEnabled].
1945         * WebView.h:
1946
1947 2007-08-17  Adam Roben  <aroben@apple.com>
1948
1949         Add WebPreferences::sharedStandardPreferences
1950
1951         This is a convenience method to get the standard preferences object so
1952         that within WebKit we don't have to deal with the fact that COM doesn't
1953         support static methods.
1954
1955         Reviewed by Ada.
1956
1957         * WebHistory.cpp:
1958         (WebHistory::WebHistory): Use sharedStandardPreferences.
1959         * WebIconDatabase.cpp:
1960         (WebIconDatabase::init): Ditto.
1961         * WebPreferences.cpp:
1962         (WebPreferences::sharedStandardPreferences): Added.
1963         (WebPreferences::getInstanceForIdentifier): Use sharedStandardPreferences.
1964         (WebPreferences::standardPreferences): Ditto.
1965         * WebPreferences.h:
1966         * WebView.cpp:
1967         (WebView::preferences): Ditto.
1968
1969 2007-08-17  Anders Carlsson  <andersca@apple.com>
1970
1971         Build fix.
1972         
1973         * WebFrame.cpp:
1974         (WebFrame::createPlugin):
1975         * WebFrame.h:
1976         
1977 2007-08-13  Geoffrey Garen  <ggaren@apple.com>
1978
1979         Reviewed by Dave Hyatt.
1980
1981         WebKit changes to support new cache eviction model in WebCore.
1982
1983         * WebPreferences.cpp:
1984         (WebPreferences::initialize):
1985
1986         * WebView/WebPreferences.m: Modified to reflect new API in WebCore.
1987         * WebView.cpp:
1988         (WebView::initializeCacheSizesIfNecessary): Slightly increased cache
1989         size on low memory systems to avoid affecting the PLT for now.
1990
1991 2007-08-14  Steve Falkenburg  <sfalken@apple.com>
1992
1993         <rdar://problem/5411482> Windows user agent language always returns "en"
1994         
1995         Call WebCore::defaultLanguage() to pick up UA language.
1996         
1997         Reviewed by Oliver.
1998
1999         * WebView.cpp:
2000         (WebView::userAgentForKURL):
2001
2002 2007-08-15  Peter Kasting  <zerodpx@gmail.org>
2003
2004         Reviewed by Darin.
2005         
2006         http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
2007         conversions of wtf::Vector<T> to T* by explicitly calling .data()
2008
2009         * WebView.cpp:
2010         (getCompositionString):
2011
2012 2007-08-12  Adam Roben  <aroben@apple.com>
2013
2014         Store user defaults in a non-mutable CFDictionaryRef
2015
2016         Also renamed WebPreferences' static members:
2017             m_standardPreferences -> s_standardPreferences
2018             m_standardUserDefaults -> s_defaultSettings
2019
2020         Reviewed by Darin and John.
2021
2022         * WebPreferences.cpp:
2023         (WebPreferences::getInstanceForIdentifier):
2024         (WebPreferences::initializeUserDefaults): Construct the dictionary as a
2025         local CFMutableDictionaryRef, then assign it to the non-mutable static
2026         member.
2027         (WebPreferences::valueForKey):
2028         (WebPreferences::removeDefaultsIfNeeded):
2029         (WebPreferences::standardPreferences):
2030         * WebPreferences.h:
2031
2032 2007-08-12  Adam Roben  <aroben@apple.com>
2033
2034         Fix <rdar://problem/5214504> No way to change WebPreferences defaults (all preferences get written to disk)
2035
2036         We now only write to disk values that have been explicitly set, and
2037         never write any default values.
2038
2039         This is not enough, however, as anyone who has used WebKit prior to
2040         this change will have the default values sitting in their preferences
2041         plist on disk. To remedy this, we perform a one-time removal of any
2042         key-value pairs that match a pair in the defaults dictionary.
2043
2044         Reviewed by Steve, John, Ada, and Darin.
2045
2046         * WebPreferenceKeysPrivate.h: Added new key to ensure we only remove
2047         the defaults once.
2048         * WebPreferences.cpp:
2049         (WebPreferences::initializeDefaultSettings): Renamed from initialize, and
2050         made sure we only set up the defaults dictionary once. Now that the
2051         defaults dictionary is never modified after creation, we don't need to
2052         check whether the keys are already present.
2053         (WebPreferences::setStringValue): Don't modify the defaults dictionary.
2054         (WebPreferences::setIntegerValue): Ditto.
2055         (WebPreferences::setBoolValue): Ditto.
2056         (WebPreferences::save): Write out the user's preferences, not the defaults.
2057         (WebPreferences::load):
2058            - Removed gotos and early declarations now that we're using
2059              RetainPtr everywhere.
2060            - Initialize m_privatePrefs with an empty dictionary if we didn't
2061              read in a plist.
2062            - Call migrateDefaultSettingsFromSafari3Beta after loading.
2063         (WebPreferences::migrateDefaultSettingsFromSafari3Beta): Added.
2064         (WebPreferences::removeValuesMatchingDefaultSettings): Added.
2065         (WebPreferences::initWithIdentifier): Don't initialize m_privatePrefs
2066         -- load() does this now.
2067         * WebPreferences.h: Updated/added declarations.
2068
2069 2007-08-12  Adam Roben  <aroben@apple.com>
2070
2071         Use RetainPtr to store WebPreferences::m_privatePrefs
2072
2073         Reviewed by Darin.
2074
2075         * WebPreferences.cpp:
2076         (WebPreferences::setStringValue):
2077         (WebPreferences::setIntegerValue):
2078         (WebPreferences::setBoolValue):
2079         (WebPreferences::initWithIdentifier):
2080         * WebPreferences.h:
2081
2082 2007-08-12  Adam Roben  <aroben@apple.com>
2083
2084         Fix <rdar://problem/5278790> Hole for find-on-page match in subframe isn't clipped by frame bounds
2085
2086         Reviewed by Maciej.
2087
2088         * WebView.cpp:
2089         (WebView::rectsForTextMatches): Ported fix from r23586.
2090
2091 2007-08-12  Adam Roben  <aroben@apple.com>
2092
2093         Prevent an ASSERT on launch by initializing AtomicString in WebKitGraphics
2094
2095         Reviewed by Maciej.
2096
2097         * WebKitGraphics.cpp:
2098         (makeFont):
2099
2100 2007-08-10  Ada Chan  <adachan@apple.com>
2101
2102         Reviewed by Adam and Darin.
2103         
2104         <rdar://problem/5403095> Crash in WebViewWndProc after closing a window
2105         We are seeing another case where WM_SETFOCUS is sent after WM_DESTROY has been handled in WebView.
2106         Bail early in the wndProc if WebView is set to be destroyed.
2107
2108         * WebView.cpp:
2109         (WebViewWndProc):
2110
2111 2007-08-02  Ada Chan  <adachan@apple.com>
2112
2113         Reviewed by Steve.
2114         
2115         <rdar://problem/5079175> Printing header and footer
2116
2117         * Interfaces/IWebUIDelegate.idl: added methods for header/footer drawing.
2118         * WebFrame.cpp:
2119         (WebFrame::headerAndFooterHeights): ask client for the header and 
2120         footer heights via IWebUIDelegate2 methods.
2121         (WebFrame::computePageRects): pass in header and footer heights when
2122         calculating page rect heights.
2123         (WebFrame::spoolPages): ask client to draw header and footer via
2124         IWebUIDelegate2 methods.
2125         * WebFrame.h:
2126         * WebKitGraphics.cpp:
2127         (DrawTextAtPoint): the code assumes color has 4 components - might as well
2128         assert it.
2129
2130 2007-08-01  Steve Falkenburg  <sfalken@apple.com>
2131
2132         Build mod: Fix sln to match configs in vcproj.
2133         
2134         Reviewed by Adam.
2135
2136         * WebKit.vcproj/WebKit.make:
2137         * WebKit.vcproj/WebKit.submit.sln:
2138
2139 2007-07-27  Justin Garcia  <justin.garcia@apple.com>
2140
2141         Reviewed by Tristan.
2142         
2143         <rdar://problem/5098931> Attachments are lost when they are moved into a ToDo after a delete
2144
2145         * WebEditorClient.cpp:
2146         (WebEditorClient::shouldMoveRangeAfterDelete): Method stub.
2147         * WebEditorClient.h:
2148
2149 2007-07-27  Anders Carlsson  <andersca@apple.com>
2150
2151         Reviewed by Adam.
2152
2153         Add FIXME comment.
2154         
2155         * Interfaces/DOMHTML.idl:
2156
2157 2007-07-27  Ada Chan  <adachan@apple.com>
2158
2159         Reviewed by Adam.
2160         
2161         Added methods to track user edited text fields now that 
2162         <rdar://problem/5359921> has been fixed.
2163
2164         * DOMHTMLClasses.cpp:
2165         (DOMHTMLInputElement::QueryInterface):
2166         (DOMHTMLInputElement::isUserEdited):
2167         (DOMHTMLTextAreaElement::QueryInterface):
2168         (DOMHTMLTextAreaElement::isUserEdited):
2169         * DOMHTMLClasses.h:
2170         * Interfaces/DOMPrivate.idl:
2171
2172 2007-07-27  Adam Roben  <aroben@apple.com>
2173
2174         Fix Bug 14773: REGRESSION (r24630): ASSERT_NOT_REACHED in DOMHTMLInputElement::name on Windows
2175         http://bugs.webkit.org/show_bug.cgi?id=14773
2176
2177         Reviewed by Steve.
2178
2179         * Interfaces/DOMHTML.idl: Change IDOMHTMLInputElement back to
2180         inheriting from IDOMElement. Safari 3 Beta uses this interface, so we
2181         can't change its vtable.
2182
2183 2007-07-25  Ada Chan  <adachan@apple.com>
2184
2185         Reviewed by Adam and Steve.
2186         
2187         Implemented some DOM methods and other fixes for <rdar://problem/5311601>.
2188         
2189         * DOMCoreClasses.cpp:
2190         (DOMNode::ownerDocument): implemented
2191         (DOMDocument::getComputedStyle): get the DOMElement via QueryInterface
2192         (DOMElement::QueryInterface):
2193         * DOMHTMLClasses.cpp:
2194         (DOMHTMLDocument::body): fixed leak
2195         (DOMHTMLFormElement::action): implemented
2196         (DOMHTMLFormElement::method): ditto
2197         (DOMHTMLInputElement::form): ditto
2198         (DOMHTMLTextAreaElement::form): ditto
2199         * Interfaces/DOMHTML.idl: IDOMHTMLInputElement should inherit from IDOMHTMLElement
2200
2201 2007-07-24  Steve Falkenburg  <sfalken@apple.com>
2202
2203         Removed touch of WebKit.rc to prevent rebuilds of the rc file.
2204         The autoversion info can get slightly out of date now, but this isn't a huge problem relative to the rebuilds.
2205         
2206         Rubber-stamped by Adam.
2207
2208         * WebKit.vcproj/WebKit.vcproj:
2209
2210 2007-07-23  Steve Falkenburg  <sfalken@apple.com>
2211
2212         Fixes to versioning script.
2213         
2214         Reviewed by Ada.
2215
2216         * WebKit.vcproj/auto-version.sh:
2217
2218 2007-07-23  Adam Roben  <aroben@apple.com>
2219
2220         Implement IWebHistoryItem::[set]AlternateTitle
2221
2222         The argument types were reversed for these two methods, so I fixed that as
2223         well.
2224
2225         Reviewed by Geoff and Oliver.
2226
2227         * Interfaces/IWebHistoryItem.idl:
2228         * WebHistoryItem.cpp:
2229         (WebHistoryItem::setAlternateTitle): Implemented.
2230         (WebHistoryItem::alternateTitle): Implemented.
2231         * WebHistoryItem.h:
2232
2233 2007-07-23  Ada Chan  <adachan@apple.com>
2234
2235         Reviewed by Steve.
2236         
2237         Added a new text drawing method that allows caller to override the font smoothing level.
2238
2239         * WebKit.vcproj/WebKit.def:
2240         * WebKit.vcproj/WebKit_debug.def:
2241         * WebKitGraphics.cpp:
2242         (WebDrawText):
2243         * WebKitGraphics.h:
2244
2245 2007-07-22  Adam Roben  <aroben@apple.com>
2246
2247         Implement IDOMElement::setAttribute
2248
2249         This method was mistakenly called "setResult" in DOMCore.idl, so I
2250         fixed that as well.
2251
2252         Needed for <rdar://problem/5314906>.
2253
2254         Reviewed by Ada.
2255
2256         * DOMCoreClasses.cpp:
2257         (DOMElement::setAttribute): Implemented/renamed.
2258         * DOMCoreClasses.h: Renamed setResult => setAttribute.
2259         * DOMHTMLClasses.h: Ditto.
2260         * Interfaces/DOMCore.idl: Ditto.
2261
2262 2007-07-21  Ada Chan  <adachan@apple.com>
2263
2264         Reviewed by Adam.
2265         
2266         Fix bug 14706: http://bugs.webkit.org/show_bug.cgi?id=14706
2267         Need to set the last visited time before calling WebHistory::addItem().
2268
2269         * WebHistory.cpp:
2270         (WebHistory::addItemForURL):
2271
2272 2007-07-20  Justin Garcia  <justin.garcia@apple.com>
2273
2274         Reviewed by Darin.
2275         
2276         <rdar://problem/5109817> Ctrl-click on word in non-editable text doesn't select it
2277
2278         * WebEditorClient.cpp: Removed the now unused selectWordBeforeMenuEvent().
2279         * WebEditorClient.h:
2280
2281 2007-07-20  Ada Chan  <adachan@apple.com>
2282
2283         Reviewed by Steve.
2284         
2285         <rdar://problem/5350832> History item's visitedCount wasn't updated correctly
2286
2287         The call to setLastVisitedTimeInterval() in WebHistory::addItemForURL() does not
2288         really increment the visitedCount of the HistoryItem - because we only increment the count
2289         if the last visited time is different.  We should initialize the HistoryItem with
2290         lastVisited time = 0 so when we call setLastVisitedTimeInterval() later, it'll update
2291         the last visited time AND the visitedCount.
2292         
2293         * WebHistory.cpp:
2294         (WebHistory::addItemForURL):
2295
2296 2007-07-20  Oliver Hunt  <oliver@apple.com>
2297
2298         Reviewed by Maciej.
2299
2300         <rdar://problem/5349668> WebKit/Win needs to send same key events during IME composition as it does on mac
2301
2302         Removed guards against sending key events during composition, and added a flag
2303         to indicate a key event is IME related.  This is needed to prevent the first 
2304         keydown from firing a keypress event, and makes WebEditorClient::handleInputMethodKeypress
2305         somewhat cleaner.
2306
2307         * WebEditorClient.cpp:
2308         (WebEditorClient::handleInputMethodKeypress):
2309         * WebView.cpp:
2310         (WebView::keyUp):
2311         (WebView::keyDown):
2312         * WebView.h:
2313         (WebView::inIMEKeyDown):
2314
2315 2007-07-19  Maciej Stachowiak  <mjs@apple.com>
2316
2317         Reviewed by Adam.
2318         
2319         - WebKit part of fix for <rdar://problem/5262230> Crash while loading a popup in addictinggames.com
2320         
2321         Made closeWindowSoon fire on a timer instead of happening synchronously.
2322
2323         * WebChromeClient.cpp:
2324         (WebChromeClient::closeWindowSoon): Actually close the window on a timer, not immediately.
2325         * WebKit.vcproj/WebKit.vcproj:
2326         * WebView.cpp:
2327         (WebView::WebView):
2328         (WebView::closeWindowSoon):
2329         (WebView::closeWindowTimerFired):
2330         * WebView.h:
2331
2332 2007-07-18  Timothy Hatcher  <timothy@apple.com>
2333
2334         Reviewed by Adam.
2335
2336         Make the Page with the now required InspectorClient.
2337
2338         * WebView.cpp:
2339         (WebView::initWithFrame):
2340
2341 2007-07-18  Sam Weinig  <sam@webkit.org>
2342
2343         Build fix.
2344
2345         * WebFrame.cpp:
2346         (WebFrame::dispatchDecidePolicyForMIMEType):
2347         (WebFrame::objectContentType):
2348         * WebView.cpp:
2349         (WebView::canShowMIMEType):
2350
2351 2007-07-17  Brady Eidson <beidson@apple.com>
2352
2353         Blind Windows build fix from r24395
2354
2355         * WebView.cpp:
2356         (WebView::initWithFrame): BSTR, not BString
2357
2358 2007-07-17  Brady Eidson  <beidson@apple.com>
2359
2360         Reviewed by Steve
2361         
2362         <rdar://problem/4516185> - FTP Directory Listings
2363
2364         * Interfaces/IWebUIDelegate.idl: Add IWebUIDelegate2 method for getting the path to the template
2365         
2366         * WebView.cpp:
2367           (WebView::initWithFrame): Set the preference for the template path in WebCore when the first
2368           WebView is initialized
2369
2370 2007-07-17  Ada Chan  <adachan@apple.com>
2371
2372         Rubbet-stamped by Adam.
2373         
2374         Fixed build.
2375
2376         * Interfaces/IWebFramePrivate.idl:
2377         * WebContextMenuClient.cpp:
2378         (fixMenuReceivedFromOldSafari):
2379         * WebFrame.cpp:
2380         (WebFrame::loadURLIntoChild):
2381         (WebFrame::download):
2382         * WebFrame.h:
2383
2384 2007-07-17  Adam Roben  <aroben@apple.com>
2385
2386         Fix Bug 14324: Cannot remove/customize the "Inspect Element" contextual menu item
2387         http://bugs.webkit.org/show_bug.cgi?id=14324
2388
2389         If we detect that we're running against the Safari 3 Beta, we add back
2390         the Inspect Element menu item after passing it off to the delegate
2391         because Safari's UI delegate will remove it.
2392
2393         Reviewed by Tim.
2394
2395         * WebContextMenuClient.cpp:
2396         (isPreInspectElementTagSafari): Added.
2397         (fixMenuReceivedFromOldSafari): Added.
2398         (WebContextMenuClient::getCustomMenuFromDefaultItems): Call
2399         fixMenuReceivedFromOldSafari before returning the new menu.
2400
2401 2007-07-17  Adam Roben  <aroben@apple.com>
2402
2403         Remove WebContextMenuClient::shouldIncludeInspectElementItem
2404
2405         Reviewed by Tim.
2406
2407         * WebContextMenuClient.cpp:
2408         * WebContextMenuClient.h:
2409
2410 2007-07-17  Adam Roben  <aroben@apple.com>
2411
2412         Initialize Settings::developerExtrasEnabled
2413
2414         Reviewed by Tim.
2415
2416         * WebView.cpp:
2417         (WebView::updateWebCoreSettingsFromPreferences):
2418
2419 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
2420
2421         Build fix. 
2422
2423         * WebContextMenuClient.cpp:
2424         (WebContextMenuClient::searchWithGoogle): Pass false for lockHistory 
2425         like we do elsewhere.
2426
2427 2007-07-17  Oliver Hunt  <oliver@apple.com>
2428
2429         Reviewed by Adam.
2430
2431         Fix for <rdar://problem/5339416> Candidate window does not
2432                 appear in the correct location for japanese IME
2433
2434         * WebView.cpp:
2435         (WebView::prepareCandidateWindow):
2436           We now use an exclusion zone so that the composition window never 
2437           overlaps the composition string
2438         (WebView::onIMERequestCharPosition):
2439           Correctly handle character offsets marked regions
2440
2441 2007-07-16  Oliver Hunt  <oliver@apple.com>
2442
2443         Reviewed by Maciej.
2444
2445         Fix for <rdar://problem/5334818> Support IME reconversion in windows
2446
2447         Also includes a small amount of IME refactoring.
2448
2449         * WebView.cpp:
2450         (WebView::onIMERequestCharPosition):
2451         (WebView::onIMERequestReconvertString):
2452         (WebView::onIMERequest):
2453         * WebView.h:
2454
2455 2007-07-16  Brady Eidson  <beidson@apple.com>
2456
2457         Reviewed by Adam
2458
2459         Begin the arduous task of localizing FTP directory listings while removing a global initializer!
2460
2461         * English.lproj/Localizable.strings:
2462         * WebCoreLocalizedStrings.cpp:
2463         (WebCore::unknownFileSizeText):
2464
2465 2007-07-16  Oliver Hunt  <oliver@apple.com>
2466
2467         Reviewed by Maciej.
2468
2469         Fix for <rdar://problem/5334826> Chinese IME composition window does not appear in the correct location
2470
2471         Respect IME requests for character position.
2472
2473         * WebView.cpp:
2474         (WebView::onIMERequestCharPosition):
2475         (WebView::onIMERequest):
2476         * WebView.h:
2477
2478 2007-07-16  Adam Roben  <aroben@apple.com>
2479
2480         WebKit/win part of <rdar://problem/5336005> Calling window.print() on a subframe prints whole page, should only print that subframe
2481
2482         Reviewed by Darin.
2483
2484         * Interfaces/IWebUIDelegate.idl: Rename print to printFrame to closer
2485         match the Mac method, and copy more of the Mac API comments.
2486         * WebChromeClient.cpp:
2487         (WebChromeClient::print): Call printFrame instead of print.
2488
2489 2007-07-16  Adam Roben  <aroben@apple.com>
2490
2491         Updated WebChromeClient for ChromeClient changes.
2492
2493         Reviewed by Darin.
2494
2495         * WebChromeClient.cpp:
2496         (WebChromeClient::print): Added a Frame* parameter.
2497         * WebChromeClient.h: Ditto.
2498
2499 2007-07-16  Oliver Hunt  <oliver@apple.com>
2500
2501         Reviewed by Steve.
2502
2503         Fix for http://bugs.webkit.org/show_bug.cgi?id=14630
2504
2505         Remove bogus assertion
2506
2507         * WebView.cpp:
2508         (WebView::getIMMContext):
2509
2510 2007-07-14  Brady Eidson  <beidson@apple.com>
2511
2512         Reviewed by Sam
2513         
2514         Set the pref to override the policy delegate for FTP directory listings on Windows
2515
2516         * WebView.cpp:
2517         (WebView::updateWebCoreSettingsFromPreferences):
2518
2519 2007-07-13  Oliver Hunt  <oliver@apple.com>
2520
2521         Reviewed by Darin and Alexey.
2522
2523         Fix for <rdar://problem/5231528> Inline input of International text (IME)
2524                 http://bugs.webkit.org/show_bug.cgi?id=14331
2525
2526         This patch adds IME support to WebKit/win, it currently does not support
2527         reconversion (<rdar://problem/5334818>) and has issues with the chinese
2528         IMEs (<rdar://problem/5334826>)
2529
2530         * WebEditorClient.cpp:
2531         (WebEditorClient::respondToChangedSelection):
2532         (WebEditorClient::handleInputMethodKeypress):
2533           Prevent the initial keydown for an IME from triggering a keypressed event
2534         * WebView.cpp:
2535         (WebView::WebView):
2536         (WebView::keyUp):
2537         (WebView::keyDown):
2538         (WebViewWndProc):
2539         (IMMDict::dict):
2540         (IMMDict::IMMDict):
2541            Dynamic loader for IME libraries
2542
2543         (WebView::getIMMContext):
2544         (WebView::releaseIMMContext):
2545         (WebView::prepareCandidateWindow):
2546         (selectionInsideMarkedText):
2547         (setSelectionToEndOfRange):
2548         (WebView::resetIME):
2549         (WebView::updateSelectionForIME):
2550         (WebView::selectionChanged):
2551         (getCompositionString):
2552         (compositionToUnderlines):
2553            Helper functions
2554
2555         (WebView::onIMEStartComposition):
2556         (WebView::onIMEComposition):
2557         (WebView::onIMEEndComposition):
2558         (WebView::onIMEChar):
2559         (WebView::onIMENotify):
2560         (WebView::onIMERequest):
2561         (WebView::onIMESelect):
2562         (WebView::onIMESetContext):
2563            IME event handling, so far most of these are not implemented, but the bulk of functionality 
2564            is performed the the composition event handlers
2565         * WebView.h:
2566
2567 2007-07-12  Alice Liu  <alice.liu@apple.com>
2568
2569         Reviewed by Maciej and Steve.
2570
2571         fixed <rdar://4982432> window.print() needs to be implemented
2572
2573         * Interfaces/IWebUIDelegate.idl:
2574         * WebChromeClient.cpp:
2575         (WebChromeClient::print):
2576         * WebChromeClient.h:
2577
2578 2007-07-11  Steve Falkenburg  <sfalken@apple.com>
2579
2580         Static analysis build fix.
2581         
2582         Only specify /analyze (PREfast) if it is available.
2583         Prevents entire project from rebuilding each time.        
2584
2585         Reviewed by Hyatt.
2586
2587         * WebKit.vcproj/WebKit.vcproj:
2588
2589 2007-07-10  Ada Chan  <adachan@apple.com>
2590         
2591         Fixed build.
2592
2593         * WebView.cpp:
2594
2595 2007-07-09  Alice Liu  <alice.liu@apple.com>
2596
2597         Reviewed by Adam Roben.
2598         
2599         Adding DOM Paste Allowed preference, setters and getters
2600         for the purpose of layout tests.
2601
2602         * Interfaces/IWebPreferences.idl:
2603         * WebPreferenceKeysPrivate.h:
2604         * WebPreferences.cpp:
2605         (WebPreferences::isDOMPasteAllowed):
2606         (WebPreferences::setDOMPasteAllowed):
2607         * WebPreferences.h:
2608         * WebView.cpp:
2609         (WebView::updateWebCoreSettingsFromPreferences):
2610
2611 2007-07-09  Anders Carlsson  <andersca@apple.com>
2612
2613         Build fix.
2614
2615         * WebView.cpp:
2616         (WebView::stringByEvaluatingJavaScriptFromString):
2617
2618 2007-07-05  Adam Roben  <aroben@apple.com>
2619
2620         Fix a leak in WebView::setToolTip
2621
2622         Reviewed by Beth.
2623
2624         * WebView.cpp:
2625         (WebView::setToolTip):
2626
2627 2007-07-05  Adam Roben  <aroben@apple.com>
2628
2629         Fix Bug 14143: Tooltips not displayed on Windows
2630         http://bugs.webkit.org/show_bug.cgi?id=14143
2631         <rdar://problem/4719799>
2632
2633         Reviewed by Oliver.
2634
2635         * WebChromeClient.cpp:
2636         (WebChromeClient::setToolTip): Call up to WebView.
2637         * WebView.cpp:
2638         (WebView::WebView): Initialize m_toolTipHwnd member.
2639         (WebView::initWithFrame): Set up the tool tip window.
2640         (initCommonControls): Added.
2641         (WebView::initializeToolTipWindow): Added.
2642         (WebView::setToolTip): Set the tool tip text and enable/disable the
2643         tool tip.
2644         * WebView.h: Added/updated declarations.
2645
2646 2007-07-04  Adam Roben  <aroben@apple.com>
2647
2648         Added a stub for WebChromeClient::setToolTip
2649
2650         Reviewed by Sam.
2651
2652         * WebChromeClient.cpp:
2653         * WebChromeClient.h:
2654
2655 2007-07-04  Adam Roben  <aroben@apple.com>
2656
2657         Initialize Settings::showsURLsInToolTips
2658
2659         Reviewed by Sam.
2660
2661         * WebView.cpp:
2662         (WebView::updateWebCoreSettingsFromPreferences):
2663
2664 2007-07-04  Adam Roben  <aroben@apple.com>
2665
2666         Removed call to mouseDidMoveOverElement now that WebCore handles it
2667
2668         Reviewed by Sam.
2669
2670         * WebView.cpp:
2671         (WebView::handleMouseEvent):
2672
2673 2007-07-04  Adam Roben  <aroben@apple.com>
2674
2675         Add WebChromeClient::mouseDidMoveOverElement
2676
2677         This is not called yet.
2678
2679         Reviewed by Sam.
2680
2681         * WebChromeClient.cpp:
2682         (WebChromeClient::mouseDidMoveOverElement):
2683         * WebChromeClient.h:
2684
2685 2007-07-03  Adam Roben  <aroben@apple.com>
2686
2687         Merge the Windows and Mac localized strings and exceptions files
2688
2689         Reviewed by Darin and Anders.
2690
2691         * English.lproj/Localizable.strings: Added Mac strings.
2692         * English.lproj/StringsNotToBeLocalized.txt: Removed.
2693
2694 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
2695
2696         Turn on static code analysis.
2697
2698         Reviewed by Oliver.
2699         
2700         Affects only folks that have Visual Studio Team Suite installed,
2701         or who have replaced their compiler with the version shipping in the
2702         Vista SDK.
2703
2704         * CodeAnalysisConfig.h: Added.
2705         * WebKit.vcproj/WebKit.vcproj:
2706         * WebLocalizableStrings.cpp:
2707         (createWebKitBundle):
2708
2709 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
2710
2711         Prefast: Remove variable redefinitions in inner scopes.
2712         
2713         Reviewed by Ada.
2714
2715         * WebDownload.cpp:
2716         (WebDownload::didFinish):
2717         * WebNotificationCenter.cpp:
2718         (WebNotificationCenter::postNotificationInternal):
2719         (WebNotificationCenter::removeObserver):
2720
2721 2007-06-27  Steve Falkenburg  <sfaken@apple.com>
2722
2723         Remove SEH block from around history plist read, since the underlying bug has been fixed.
2724         
2725         Reviewed by Darin.
2726
2727         * WebHistory.cpp:
2728         (createHistoryListFromStream):
2729
2730 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
2731
2732         Prefast: Fix misplaced parenthesis.
2733         
2734         Reviewed by Darin.
2735
2736         * WebView.cpp:
2737         (core):
2738
2739 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
2740
2741         Prefast: Add null check prior to writing into allocated BSTR.
2742         
2743         Reviewed by Darin.
2744
2745         * MarshallingHelpers.cpp:
2746         (MarshallingHelpers::CFStringRefToBSTR):
2747
2748 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
2749
2750         Prefast: Add error handling for SysAllocStringLen where the string length is determined by website content.
2751
2752         Reviewed by Sam, Darin.
2753                 
2754         Allocation failure will result in a null dereference in this case,
2755         so it isn't exploitable.
2756
2757         * DefaultDownloadDelegate.cpp:
2758         (DefaultDownloadDelegate::decideDestinationWithSuggestedFilename):
2759
2760 2007-06-20  Adam Roben  <aroben@apple.com>
2761
2762         Land the new Inspector.
2763
2764         Co-written with Tim Hatcher.
2765
2766         Reviewed by Anders, Adele, Hyatt, and Sam.
2767
2768         Implement the InspectorClient interface.
2769
2770         * WebInspectorClient.cpp: Added.
2771         (WebInspectorClient::WebInspectorClient):
2772         (WebInspectorClient::~WebInspectorClient):
2773         (WebInspectorClient::inspectorDestroyed):
2774         (WebInspectorClient::createPage):
2775         (WebInspectorClient::showWindow):
2776         (WebInspectorClient::closeWindow):
2777         (WebInspectorClient::windowVisible):
2778         (WebInspectorClient::attachWindow):
2779         (WebInspectorClient::detachWindow):
2780         (WebInspectorClient::highlight):
2781         (WebInspectorClient::hideHighlight):
2782         (WebInspectorClient::inspectedURLChanged):
2783         (WebInspectorClient::updateWindowTitle):
2784         (WebInspectorClient::onSize):
2785         (WebInspectorClient::onClose):
2786         (WebInspectorClient::onWebViewWindowPosChanging):
2787         (WebInspectorWndProc):
2788         (SubclassedWebViewWndProc):
2789         (registerWindowClass):
2790         * WebInspectorClient.h: Added.
2791
2792         Add an easier-to-see highlight.
2793
2794         * WebNodeHighlight.cpp: Added.
2795         (WebNodeHighlight::WebNodeHighlight):
2796         (WebNodeHighlight::~WebNodeHighlight):
2797         (WebNodeHighlight::highlight):
2798         (WebNodeHighlight::hide):
2799         (WebNodeHighlight::visible):
2800         (WebNodeHighlight::updateWindow):
2801         (WebNodeHighlight::removeSubclass):
2802         (registerOverlayClass):
2803         (OverlayWndProc):
2804         (SubclassedWndProc):
2805         * WebNodeHighlight.h: Added.
2806
2807         WebView changes needed for the new Inspector.
2808
2809         * WebView.cpp: Removed old inspectElement method now that this is
2810         handled by WebCore.
2811         (WebView::WebView):
2812         (WebView::close):
2813         (WebView::performContextMenuAction): Removed handling of the Inspect
2814         Element context menu item.
2815         (WebView::initWithFrame): Give each Page an InspectorClient to enable
2816         the Inspector.
2817         (WebView::setProhibitsMainFrameScrolling): Added.
2818         * WebView.h:
2819
2820         Updates needed for WebCore changes.
2821
2822         * Interfaces/IWebUIDelegate.idl:
2823         * WebContextMenuClient.cpp:
2824         (WebContextMenuClient::getCustomMenuFromDefaultItems):
2825         * WebContextMenuClient.h:
2826         * WebCoreLocalizedStrings.cpp:
2827
2828         Remove old Inspector code.
2829
2830         * WebFrame.cpp:
2831         * WebFrame.h:
2832         * WebInspector/WebInspector.cpp: Removed.
2833         * WebInspector/WebInspector.h: Removed.
2834         * WebInspector/webInspector/Images/button.png: Removed.
2835         * WebInspector/webInspector/Images/buttonDivider.png: Removed.
2836         * WebInspector/webInspector/Images/buttonPressed.png: Removed.
2837         * WebInspector/webInspector/Images/close.png: Removed.
2838         * WebInspector/webInspector/Images/closePressed.png: Removed.
2839         * WebInspector/webInspector/Images/downTriangle.png: Removed.
2840         * WebInspector/webInspector/Images/menu.png: Removed.
2841         * WebInspector/webInspector/Images/menuPressed.png: Removed.
2842         * WebInspector/webInspector/Images/popup.png: Removed.
2843         * WebInspector/webInspector/Images/popupPressed.png: Removed.
2844         * WebInspector/webInspector/Images/resize.png: Removed.
2845         * WebInspector/webInspector/Images/rightTriangle.png: Removed.
2846         * WebInspector/webInspector/Images/scrollThumbBottom.png: Removed.
2847         * WebInspector/webInspector/Images/scrollThumbMiddle.png: Removed.
2848         * WebInspector/webInspector/Images/scrollTrackMiddle.png: Removed.
2849         * WebInspector/webInspector/Images/upTriangle.png: Removed.
2850         * WebInspector/webInspector/inspector.css: Removed.
2851         * WebInspector/webInspector/inspector.html: Removed.
2852         * WebInspector/webInspector/inspector.js: Removed.
2853         * WebInspector/webInspector/scrollarea.js: Removed.
2854         * WebInspector/webInspector/scrollbar.js: Removed.
2855         * WebInspector/webInspector/treeoutline.js: Removed.
2856         * WebInspector/webInspector/utilities.js: Removed.
2857
2858         Build-fu:
2859
2860         * WebKit.vcproj/WebKit.vcproj:
2861
2862 2007-06-19  Dave Hyatt  <hyatt@apple.com>
2863
2864         Fix for <rdar://problem/5022197>, backspace and ctrl+left arrow should go back.  Shift+backspace
2865         and ctrl+right arrow should go forward.  Add support for these keybindings to Windows.
2866        
2867         Reviewed by ada
2868
2869         * WebView.cpp:
2870         (WebView::keyDown):
2871
2872 2007-06-18  Dave Hyatt  <hyatt@apple.com>
2873
2874         Let through more newline+modifier key combos in order to support Alt+Enter and Ctrl+Enter in the
2875         SafariWin URL bar.
2876        
2877         Reviewed by mccullough
2878
2879         * WebView.cpp:
2880
2881 2007-06-18  Dave Hyatt  <hyatt@apple.com>
2882
2883         Add support for horizontal mouse wheeling to Windows.  Shift+wheel is supported for horizontal
2884         wheeling just like on OS X.  In addition, the WM_MOUSEHWHEEL event is now processed correctly so that
2885         input devices like tilt wheels will now work.
2886        
2887         Reviewed by aroben
2888
2889         * WebView.cpp:
2890         (WebView::mouseWheel):
2891         (WebViewWndProc):
2892         * WebView.h:
2893
2894 2007-06-17  Dave Hyatt  <hyatt@apple.com>
2895
2896         Add support for Ctrl+Mouse Wheel to increase/decrease text zoom (Win32 only).
2897        
2898         Reviewed by aroben
2899
2900         * WebView.cpp:
2901         (WebView::mouseWheel):
2902
2903 2007-06-09  Steve Falkenburg  <sfalken@apple.com>
2904
2905         Reviewed by Adam.
2906         
2907         Workaround: <rdar://problem/5213266> schwab.com menu is ridiculously big.
2908         
2909         * WebView.cpp:
2910         (WebView::userAgentForKURL): Add schwab to spoof list to fix gigantic menus.
2911
2912 2007-06-08  Ada Chan  <adachan@apple.com>
2913
2914         Reviewed by Hyatt, Adam, and Steve.
2915
2916         Fixed WebView::selectedText to get the selected text out of the focused frame or main frame.
2917
2918         * WebView.cpp:
2919         (WebView::selectedText):
2920
2921 2007-06-08  Adam Roben  <aroben@apple.com>
2922
2923         Get rid of the Safari part of the query string used for Google searches.
2924
2925         Reviewed by Steve and Ada.
2926
2927         * WebContextMenuClient.cpp:
2928         (WebContextMenuClient::searchWithGoogle):
2929
2930 2007-06-08  Kevin McCullough  <kmccullough@apple.com>
2931
2932         Reviewed by Kevin Decker, and Sam.
2933
2934         - Added and updated licenses.
2935
2936         * CFDictionaryPropertyBag.cpp:
2937         * CFDictionaryPropertyBag.h:
2938         * DOMCSSClasses.cpp:
2939         * DOMCSSClasses.h:
2940         * DOMEventsClasses.cpp:
2941         * DOMEventsClasses.h:
2942         * DOMHTMLClasses.cpp:
2943         * DOMHTMLClasses.h:
2944         * MarshallingHelpers.cpp:
2945         * MarshallingHelpers.h:
2946         * MemoryStream.cpp:
2947         * MemoryStream.h:
2948         * WebBackForwardList.cpp:
2949         * WebBackForwardList.h:
2950         * WebCache.cpp:
2951         * WebCache.h:
2952         * WebChromeClient.cpp:
2953         * WebChromeClient.h:
2954         * WebContextMenuClient.h:
2955         * WebDataSource.h:
2956         * WebEditorClient.cpp:
2957         * WebEditorClient.h:
2958         * WebElementPropertyBag.cpp:
2959         * WebElementPropertyBag.h:
2960         * WebHTMLRepresentation.h:
2961         * WebHistory.cpp:
2962         * WebHistory.h:
2963         * WebIconDatabase.cpp:
2964         * WebIconDatabase.h:
2965         * WebKit.vcproj/auto-version.sh:
2966         * WebKitClassFactory.h:
2967         * WebKitDLL.h:
2968         * WebLocalizableStrings.cpp:
2969         * WebLocalizableStrings.h:
2970         * WebMutableURLRequest.cpp:
2971         * WebMutableURLRequest.h:
2972         * WebNotification.cpp:
2973         * WebNotification.h:
2974         * WebNotificationCenter.cpp:
2975         * WebNotificationCenter.h:
2976         * WebPreferenceKeysPrivate.h:
2977         * WebPreferences.cpp:
2978         * WebPreferences.h:
2979         * WebScriptObject.cpp:
2980         * WebScriptObject.h:
2981         * WebURLResponse.cpp:
2982         * WebURLResponse.h:
2983
2984 2007-06-07  Sam Weinig  <sam@webkit.org>
2985
2986         Reviewed by Adam Roben.
2987
2988         Make the inspector compile again.
2989
2990         * WebInspector/WebInspector.cpp:
2991         (setFocusedDOMNodeCallback):
2992         (focusedDOMNodeCallback):
2993         (setRootDOMNodeCallback):
2994         (rootDOMNodeCallback):
2995
2996 2007-06-06  Steve Falkenburg  <sfalken@apple.com>
2997
2998         Reviewed by Adam.
2999         
3000         <rdar://problem/5255861> REGRESSION: Can't download Adobe Acrobat Reader and plug-in
3001         <rdar://problem/5243655> Flash download page doesn't recognize Boomer
3002         
3003         Refine user agent spoofing code to only spoof Flash download as Firefox without spoofing all of adobe.com.
3004         This fixes the Acrobat Reader download.
3005
3006         * WebView.cpp:
3007         (WebView::userAgentForKURL):
3008
3009 2007-06-03  Steve Falkenburg  <sfalken@apple.com>
3010
3011         Reviewed by Adam.
3012         
3013         <rdar://problem/5246665> Drop down lists are not drawn on volvocars.us
3014
3015         * WebView.cpp:
3016         (WebView::userAgentForKURL):
3017
3018 2007-06-01  Kevin McCullough  <kmccullough@apple.com>
3019
3020         Reviewed by Oliver.
3021
3022         - Uncommenting some functions that should not be commented out.  I needed them for the Drosera port.
3023
3024         * WebKit.vcproj/WebKit_debug.def:
3025
3026 2007-06-01  Steve Falkenburg  <sfalken@apple.com>
3027
3028         Reviewed by Kevin Decker.
3029         
3030         Remove unnecessary user agent spoofs, now that we have the final UA in place.
3031         Added spoof to allow Flash downloads from adobe.com
3032
3033         * WebView.cpp:
3034         (WebView::userAgentForKURL):
3035
3036 2007-05-30  Ada Chan  <adachan@apple.com>
3037
3038         Reviewed by Steve.
3039
3040         Implemented the mechanism to associate a WebPreferences instance with an identifier.
3041
3042         * WebIconDatabase.cpp:
3043         (WebIconDatabase::init): fixed a missing Release on standardPrefs by using COMPtr.
3044         * WebPreferences.cpp:
3045         (WebPreferences::getInstanceForIdentifier): implemented
3046         (WebPreferences::setInstance): implemented
3047         (WebPreferences::removeReferenceForIdentifier): if the WebPreferences going to be
3048         released has only one ref left, remove it from the s_webPreferencesInstances dictionary.
3049         (WebPreferences::load): don't need to reread in the default preferences if we have done so.
3050         (WebPreferences::initWithIdentifier): update the m_identifier data member with the
3051         passed in identifier string, and store the identifier to WebPreferences instance mapping in
3052         s_webPreferencesInstances dictionary.
3053         (WebPreferences::identifier): implemented
3054         * WebPreferences.h:
3055         * WebView.cpp:
3056         (WebView::~WebView): removed the call to removeObserver for the WebPreferencesChangedNotification
3057         since it's already done in close().
3058         (WebView::close): the call to removeObserver now takes in the WebPreferences instance for the object -
3059         this way the WebView is only notified when that particular WebPreferences instance changes.
3060         (WebView::initWithFrame): the call to addObserver now takes in the WebPreferences instance for the object -
3061         this way the WebView is only notified when that particular WebPreferences instance changes.
3062         (WebView::setPreferences): implemented
3063         (WebView::onNotify): used COMPtr to fix a missing release
3064
3065 2007-05-29  Steve Falkenburg  <sfalken@apple.com>
3066
3067         Reviewed by Darin.
3068         
3069         Removed setPageCacheSize/pageCacheSize from IWebBackForwardList.
3070
3071         * Interfaces/IWebBackForwardList.idl: Removed unnecessary methods.
3072         * WebBackForwardList.cpp: Removed unnecessary methods.
3073         * WebBackForwardList.h: Removed unnecessary methods.
3074
3075 2007-05-29  Sam Weinig  <sam@webkit.org>
3076
3077         Reviewed by Adam Roben.
3078
3079         - Removes platform/win/NotImplemented.h because we have consolidated
3080           the notImplemented() for all platforms in platform/NotImplemented.h
3081         - Fixes remaining uses of old macro to use the new notImplemented() one.
3082
3083         * WebChromeClient.cpp:
3084         (WebChromeClient::createModalDialog):
3085         (WebChromeClient::canRunModal):
3086         (WebChromeClient::runModal):
3087         (WebChromeClient::setScrollbarsVisible):
3088         (WebChromeClient::scrollbarsVisible):
3089         (WebChromeClient::setMenubarVisible):
3090         (WebChromeClient::menubarVisible):
3091         * WebContextMenuClient.cpp:
3092         (WebContextMenuClient::lookUpInDictionary):
3093         (WebContextMenuClient::speak):
3094         (WebContextMenuClient::stopSpeaking):
3095         * WebDownload.cpp:
3096         (WebDownload::canResumeDownloadDecodedWithEncodingMIMEType):
3097         (WebDownload::cancelAuthenticationChallenge):
3098         (WebDownload::continueWithoutCredentialForAuthenticationChallenge):
3099         (WebDownload::useCredential):
3100         (WebDownload::didReceiveAuthenticationChallenge):
3101         * WebEditorClient.cpp:
3102         (WebEditorClient::spellCheckerDocumentTag):
3103         (WebEditorClient::shouldBeginEditing):
3104         (WebEditorClient::shouldEndEditing):
3105         (WebEditorClient::didBeginEditing):
3106         (WebEditorClient::respondToChangedContents):
3107         (WebEditorClient::respondToChangedSelection):
3108         (WebEditorClient::didEndEditing):
3109         (WebEditorClient::didWriteSelectionToPasteboard):
3110         (WebEditorClient::didSetSelectionTypesForPasteboard):
3111         (WebEditorClient::shouldDeleteRange):
3112         (WebEditorClient::shouldInsertNode):
3113         (WebEditorClient::shouldInsertText):
3114         (WebEditorClient::shouldApplyStyle):
3115         (WebEditorClient::shouldChangeTypingStyle):
3116         (WebEditorClient::webViewDidChangeTypingStyle):
3117         (WebEditorClient::webViewDidChangeSelection):
3118         (WebEditorClient::shouldShowDeleteInterface):
3119         (WebEditorClient::shouldChangeSelectedRange):
3120         * WebFrame.cpp:
3121         (WebFrame::makeRepresentation):
3122         (WebFrame::forceLayout):
3123         (WebFrame::forceLayoutForNonHTML):
3124         (WebFrame::setCopiesOnScroll):
3125         (WebFrame::detachedFromParent1):
3126         (WebFrame::detachedFromParent2):
3127         (WebFrame::detachedFromParent3):
3128         (WebFrame::detachedFromParent4):
3129         (WebFrame::loadedFromCachedPage):
3130         (WebFrame::dispatchDidLoadMainResource):
3131         (WebFrame::revertToProvisionalState):
3132         (WebFrame::clearUnarchivingState):
3133         (WebFrame::setMainFrameDocumentReady):
3134         (WebFrame::willChangeTitle):
3135         (WebFrame::didChangeTitle):
3136         (WebFrame::finalSetupForReplace):
3137         (WebFrame::setDefersLoading):
3138         (WebFrame::isArchiveLoadPending):
3139         (WebFrame::cancelPendingArchiveLoad):
3140         (WebFrame::clearArchivedResources):
3141         (WebFrame::canShowMIMEType):
3142         (WebFrame::representationExistsForURLScheme):
3143         (WebFrame::generatedMIMETypeForURLScheme):
3144         (WebFrame::restoreViewState):
3145         (WebFrame::provisionalLoadStarted):
3146         (WebFrame::shouldTreatURLAsSameAsCurrent):
3147         (WebFrame::addHistoryItemForFragmentScroll):
3148         (WebFrame::didFinishLoad):
3149         (WebFrame::prepareForDataSourceReplacement):
3150         (WebFrame::setDocumentViewFromCachedPage):
3151         (WebFrame::shouldGoToHistoryItem):
3152         (WebFrame::saveViewStateToItem):
3153         (WebFrame::saveDocumentViewToCachedPage):
3154         (WebFrame::canCachePage):
3155         (WebFrame::setMainDocumentError):
3156         (WebFrame::cannotShowURLError):
3157         (WebFrame::cannotShowMIMETypeError):
3158         (WebFrame::fileDoesNotExistError):
3159         (WebFrame::willUseArchive):
3160         (WebFrame::dispatchDidLoadResourceFromMemoryCache):
3161         (WebFrame::startDownload):
3162         (WebFrame::overrideMediaType):
3163         (WebFrame::addInspector):
3164         (WebFrame::removeInspector):
3165
3166 2007-05-25  Oliver Hunt  <oliver@apple.com>
3167
3168         Reviewed by Hyatt.
3169         
3170         Fix rdar://problem/5212399 <object> with PNG src rendered as image document (causes Acid2 to fail)
3171
3172         * WebFrame.cpp:
3173         (WebFrame::objectContentType):
3174
3175 2007-05-25  Geoffrey Garen  <ggaren@apple.com>
3176
3177         Build fix -- forgot to commit a little bit in my last patch.
3178
3179 2007-05-25  Geoffrey Garen  <ggaren@apple.com>
3180
3181         Reviewed by Darin Adler, Adam Roben.
3182
3183         Fixed <rdar://problem/5055182> The page cache has no global cap.
3184         
3185         The main WebKit changes are:
3186             1. Gutted IWebBackForwardList::setPageCacheSize and IWebBackForwardList:: 
3187             pageCacheSize because they're deprecated on Mac now. I didn't remove
3188             them, though, because doing so can cause COM badness.
3189             
3190             2. Added IWebPreferences::setUsesPageCache IWebPreferences:: 
3191             usesPageCache because that's the new Mac API. I added them to the end
3192             of IWebPreferences to avoid COM badness.
3193             
3194             3. Centralized calculation of object cache and page cache sizes inside
3195             WebPreferences. 
3196             
3197             Changed our old behavior of reading a preference and applying a fudge 
3198             factor with a new behavior of just using the preference directly. The 
3199             old behavior was confusing and often inappropriate. (For example, if 
3200             you set a page cache size of 100, a 256MB machine would somewhat 
3201             arbitrarily reduce that number to 98.)
3202             
3203 2007-05-24  Geoffrey Garen  <ggaren@apple.com>
3204
3205         Reviewed by Darin Adler.
3206
3207         Fixed a bug with Settings where a number of different objects held bare 
3208         Settings* data members, even though the Page owns the Settings object and 
3209         deletes it upon destruction.
3210         
3211         Added NULL checks since the Page can be deleted before the frame/document.
3212
3213 2007-05-23  Steve Falkenburg  <sfalken@apple.com>
3214
3215         Added IWebFramePrivate::isDescendantOfFrame.
3216
3217         * Interfaces/IWebFramePrivate.idl:
3218         * WebFrame.cpp:
3219         (WebFrame::isDescendantOfFrame):
3220         * WebFrame.h:
3221
3222 2007-05-23  Steve Falkenburg  <sfalken@apple.com>
3223
3224         Build fix.  Fix continuous rebuilding of Interfaces by turning off Generate Type Library for every IDL except WebKit.idl.
3225
3226         * WebKit.vcproj/Interfaces.vcproj:
3227
3228 2007-05-22  Alice Liu  <alice.liu@apple.com>
3229
3230         Reviewed by Oliver.
3231         
3232         Enabling smartInsertDelete to resolve 
3233         <rdar://problem/5082891> editing/deleting/smart-delete-003.html (and 004) fail
3234         
3235         * Interfaces/IWebView.idl:
3236         * WebEditorClient.cpp:
3237         (WebEditorClient::smartInsertDeleteEnabled):
3238         * WebView.cpp:
3239         (WebView::WebView):
3240         (WebView::initWithFrame):
3241         (WebView::toggleSmartInsertDelete):
3242         (WebView::setSmartInsertDeleteEnabled):
3243         (WebView::smartInsertDeleteEnabled):
3244         * WebView.h:
3245
3246 2007-05-22  Justin Garcia  <justin.garcia@apple.com>
3247
3248         Reviewed by oliver
3249         
3250         Build fix.
3251
3252         * WebView.cpp:
3253         (WebView::clearFocusNode):
3254
3255 2007-05-22  Steve Falkenburg  <sfalken@apple.com>
3256
3257         Reviewed by Ada.
3258         
3259         Added 3 view-related methods to IWebFramePrivate.
3260
3261         * Interfaces/IWebFramePrivate.idl: Added 3 new methods
3262         * WebFrame.cpp:
3263         (WebFrame::hasScrollBars): Added.
3264         (WebFrame::contentBounds): Added.
3265         (WebFrame::frameBounds): Added.
3266         * WebFrame.h:
3267
3268 2007-05-21  Steve Falkenburg  <sfalken@apple.com>
3269
3270         Reviewed by Adam, Ada.
3271         
3272         Added IWebFramePrivate::size().
3273
3274         * Interfaces/IWebFramePrivate.idl: Added size.
3275         * WebFrame.cpp:
3276         (WebFrame::size): Added.
3277         * WebFrame.h: Added size.
3278
3279 2007-05-21  Ada Chan  <adachan@apple.com>
3280
3281         Reviewed by Steve.
3282
3283         Added IWebViewPrivate::loadBackForwardListFromOtherView().  It replicates the backforward
3284         list from another webview and loads that in the current webview.
3285
3286         * Interfaces/IWebViewPrivate.idl:
3287         * WebView.cpp:
3288         (WebView::loadBackForwardListFromOtherView):
3289         * WebView.h:
3290
3291 2007-05-18  Steve Falkenburg  <sfalken@apple.com>
3292
3293         Build-related fix: stamp version resource properly.
3294
3295         * WebKit.vcproj/WebKit.rc: Fix version resource
3296
3297 2007-05-18  Adam Roben  <aroben@apple.com>
3298
3299         Build fix after r21555.
3300
3301         * WebView.cpp:
3302
3303 2007-05-17  Ada Chan  <adachan@apple.com>
3304
3305         Reviewed by Steve.
3306         
3307         Implemented IWebHTTPURLResponse::localizedStringForStatusCode().
3308
3309         * English.lproj/Localizable.strings: new http status strings
3310         * Interfaces/WebKit.idl: added code to create WebURLResponse instances
3311         * WebKitClassFactory.cpp:
3312         (WebKitClassFactory::CreateInstance): ditto
3313         * WebKitDLL.cpp: ditto
3314         * WebURLResponse.cpp:
3315         (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode): return the description
3316         text for the given status code
3317         (WebURLResponse::createInstance): create a general instance of web url response.
3318         (WebURLResponse::localizedStringForStatusCode):
3319         * WebURLResponse.h:
3320
3321 2007-05-17  Ada Chan  <adachan@apple.com>
3322
3323         Reviewed by Steve.
3324         
3325         Changed the context menu title "Search in Google" to "Search with Google".
3326
3327         * English.lproj/Localizable.strings:
3328         * WebCoreLocalizedStrings.cpp:
3329         (WebCore::contextMenuItemTagSearchWeb):
3330
3331 2007-05-17  Anders Carlsson  <andersca@apple.com>
3332
3333         Fix build.
3334         
3335         * WebFrame.cpp:
3336         (WebFrame::loadURLIntoChild):
3337
3338 2007-05-15  Steve Falkenburg  <sfalken@apple.com>
3339
3340         Reviewed by Darin, Oliver.
3341         
3342         <rdar://problem/4967360> Need to detect damaged installs, alert the user to reinstall, and exit
3343
3344         * WebLocalizableStrings.cpp:
3345         (WebLocalizedString): Make failure to load a localized string slightly less fatal
3346
3347 2007-05-15  Steve Falkenburg  <sfalken@apple.com>
3348
3349         Reviewed by Darin.
3350         
3351         <rdar://problem/4956541> Need to implement preference for how much History is maintained
3352
3353         * WebHistory.cpp:
3354         (WebHistory::ageLimitDate): Remove extra +30 from history age in days.
3355
3356 2007-05-14  Anders Carlsson  <andersca@apple.com>
3357
3358         Reviewed by Darin.
3359
3360         Pass an empty property bag when constructing the WebError, the code in Safari relies on having a user info bag.
3361         
3362         * WebFrame.cpp:
3363         (WebFrame::createJavaAppletWidget):
3364
3365 2007-05-14  Anders Carlsson  <andersca@apple.com>
3366
3367         Reviewed by Antti.
3368
3369         Report an error to the resource load delegate if the Java plugin can't be loaded.
3370         
3371         * WebFrame.cpp:
3372         (WebFrame::createJavaAppletWidget):
3373
3374 2007-05-11  Steve Falkenburg  <sfalken@apple.com>
3375
3376         Reviewed by Darin, Ada.
3377
3378         WebKit DCOM compatibility.
3379         When a WebKit hosting app calls RunAsLocalServer, the class object for CLSID_WebDebugProgram
3380         is registered to allow creation across processes.  This is for future compatibility with
3381         Drosera.
3382
3383         Added new exported function: RunAsLocalServer.
3384         This exposes WebKit inside the running exe as a LocalServer32 (COM server), which
3385         will allow Drosera to connect to it via DCOM.
3386
3387         We use the DCOM Universal Marshaller from oleaut32.dll, which performs marshalling
3388         based on type libraries, so as part of this change, I've done some work on making our
3389         interfaces compatible with this marshaller.
3390         
3391         Updated for compatibility w/ COM automation, and fixed up our type library.        
3392         Added type library registration/unregistration code.
3393         Marked methods not compatible w/ automation/marshalling as [local].
3394         
3395         As a side-effect, with these changes, the .NET tlbimp tool can create a .NET interop
3396         assembly to theoretically allow WebKit to be invoked from .NET apps.  I haven't
3397         tried this.  It could end up being useful to drive API testing.
3398         
3399         To test, I wrote a small app that calls:
3400         ::CoCreateInstance(CLSID_IWebDebugProgram, 0, CLSCTX_LOCAL_SERVER, IID_IUnknown, (void**)&viewUnknown);
3401         Using this instantiated class, I'm able to iterate the exisitng webviews and retrieve their
3402         source, title, URL, etc.
3403         
3404         * DOMCoreClasses.cpp:
3405         (DOMElement::isEqual):
3406         * DOMCoreClasses.h:
3407         * DefaultDownloadDelegate.cpp:
3408         (DefaultDownloadDelegate::decideDestinationWithSuggestedFilename):
3409         * DefaultDownloadDelegate.h:
3410         * Interfaces/DOMCSS.idl:
3411         * Interfaces/DOMCore.idl:
3412         * Interfaces/DOMEvents.idl:
3413         * Interfaces/DOMExtensions.idl:
3414         * Interfaces/DOMHTML.idl:
3415         * Interfaces/DOMPrivate.idl:
3416         * Interfaces/DOMRange.idl:
3417         * Interfaces/DOMWindow.idl:
3418         * Interfaces/IWebArchive.idl:
3419         * Interfaces/IWebAttributedString.idl: Removed.
3420         * Interfaces/IWebBackForwardList.idl:
3421         * Interfaces/IWebBackForwardListPrivate.idl:
3422         * Interfaces/IWebCache.idl:
3423         * Interfaces/IWebDataSource.idl:
3424         * Interfaces/IWebDebugProgram.idl: Added.
3425         * Interfaces/IWebDocument.idl:
3426         * Interfaces/IWebDownload.idl:
3427         * Interfaces/IWebEditingDelegate.idl:
3428         * Interfaces/IWebError.idl:
3429         * Interfaces/IWebFormDelegate.idl:
3430         * Interfaces/IWebFrame.idl:
3431         * Interfaces/IWebFrameLoadDelegate.idl:
3432         * Interfaces/IWebFrameLoadDelegatePrivate.idl:
3433         * Interfaces/IWebFramePrivate.idl:
3434         * Interfaces/IWebFrameView.idl:
3435         * Interfaces/IWebHTMLRepresentation.idl:
3436         * Interfaces/IWebHTTPURLResponse.idl:
3437         * Interfaces/IWebHistory.idl:
3438         * Interfaces/IWebHistoryItem.idl:
3439         * Interfaces/IWebHistoryItemPrivate.idl:
3440         * Interfaces/IWebIconDatabase.idl:
3441         * Interfaces/IWebJavaScriptCollector.idl:
3442         * Interfaces/IWebKitStatistics.idl:
3443         * Interfaces/IWebMutableURLRequest.idl:
3444         * Interfaces/IWebNotification.idl:
3445         * Interfaces/IWebNotificationCenter.idl:
3446         * Interfaces/IWebNotificationObserver.idl:
3447         * Interfaces/IWebPolicyDelegate.idl:
3448         * Interfaces/IWebPreferences.idl:
3449         * Interfaces/IWebResource.idl:
3450         * Interfaces/IWebResourceLoadDelegate.idl:
3451         * Interfaces/IWebResourceLoadDelegatePrivate.idl:
3452         * Interfaces/IWebScriptObject.idl:
3453         * Interfaces/IWebScrollBarDelegatePrivate.idl:
3454         * Interfaces/IWebScrollBarPrivate.idl:
3455         * Interfaces/IWebUIDelegate.idl:
3456         * Interfaces/IWebUIDelegatePrivate.idl:
3457         * Interfaces/IWebURLAuthenticationChallenge.idl:
3458         * Interfaces/IWebURLRequest.idl:
3459         * Interfaces/IWebURLResponse.idl:
3460         * Interfaces/IWebUndoManager.idl:
3461         * Interfaces/IWebUndoTarget.idl:
3462         * Interfaces/IWebView.idl:
3463         * Interfaces/IWebViewPrivate.idl:
3464         * Interfaces/WebKit.idl:
3465         * WebContextMenuClient.cpp:
3466         (WebContextMenuClient::getCustomMenuFromDefaultItems):
3467         * WebDataSource.cpp:
3468         (WebDataSource::subresources):
3469         * WebDataSource.h:
3470         * WebDebugProgram.cpp: Added.
3471         (EnumViews::EnumViews):
3472         (EnumViews::QueryInterface):
3473         (EnumViews::AddRef):
3474         (EnumViews::Release):
3475         (EnumViews::Next):
3476         (EnumViews::Skip):
3477         (EnumViews::Reset):
3478         (EnumViews::Clone):
3479         (WebDebugProgram::WebDebugProgram):
3480         (WebDebugProgram::~WebDebugProgram):
3481         (WebDebugProgram::createInstance):
3482         (WebDebugProgram::QueryInterface):
3483         (WebDebugProgram::AddRef):
3484         (WebDebugProgram::Release):
3485         (WebDebugProgram::viewAdded):
3486         (WebDebugProgram::viewRemoved):
3487         (WebDebugProgram::attach):
3488         (WebDebugProgram::detach):
3489         (WebDebugProgram::statistics):
3490         (WebDebugProgram::webViews):
3491         * WebDebugProgram.h: Added.
3492         * WebDropSource.cpp:
3493         (generateMouseEvent):
3494         * WebError.cpp:
3495         (WebError::localizedRecoveryOptions):
3496         * WebError.h:
3497         * WebFrame.cpp:
3498         (EnumChildFrames::EnumChildFrames):
3499         (EnumChildFrames::QueryInterface):
3500         (EnumChildFrames::AddRef):
3501         (EnumChildFrames::Release):
3502         (EnumChildFrames::Next):
3503         (EnumChildFrames::Skip):
3504         (EnumChildFrames::Reset):
3505         (EnumChildFrames::Clone):
3506         (WebFrame::childFrames):
3507         (WebFrame::initWithWebFrameView):
3508         * WebFrame.h:
3509         * WebHistoryItem.cpp:
3510         (WebHistoryItem::icon):
3511         * WebHistoryItem.h:
3512         * WebIconDatabase.cpp:
3513         (WebIconDatabase::iconForURL):
3514         (WebIconDatabase::defaultIconWithSize):
3515         * WebIconDatabase.h:
3516         * WebInspector/WebInspector.cpp:
3517         (WebInspector::WebInspector):
3518         (WebInspector::show):
3519         (WebInspector::onDestroy):
3520         (WebInspector::onSize):
3521         * WebInspector/WebInspector.h:
3522         (WebInspector::didReceiveIcon):
3523         (WebInspector::webViewFirstResponder):
3524         (WebInspector::makeFirstResponder):
3525         (WebInspector::contextMenuItemsForElement):
3526         (WebInspector::trackCustomPopupMenu):
3527         (WebInspector::addCustomMenuDrawingData):
3528         (WebInspector::cleanUpCustomMenuDrawingData):
3529         * WebKit.vcproj/Interfaces.vcproj:
3530         * WebKit.vcproj/WebKit.def:
3531         * WebKit.vcproj/WebKit.vcproj:
3532         * WebKit.vcproj/WebKitGUID.vcproj:
3533         * WebKit.vcproj/WebKit_debug.def:
3534         * WebKitClassFactory.cpp:
3535         (WebKitClassFactory::CreateInstance):
3536         * WebKitDLL.cpp:
3537         (DllGetClassObject):
3538         (DllUnregisterServer):
3539         (DllRegisterServer):
3540         (RunAsLocalServer):
3541         * WebKitStatistics.cpp:
3542         * WebScrollBar.cpp:
3543         (WebScrollBar::init):
3544         (WebScrollBar::handleMouseEvent):
3545         * WebScrollBar.h:
3546         * WebView.cpp:
3547         (WebView::WebView):
3548         (WebView::~WebView):
3549         (WebView::handleContextMenuEvent):
3550         (WebView::onInitMenuPopup):
3551         (WebView::onUninitMenuPopup):
3552         (WebViewWndProc):
3553         (WebView::QueryInterface):
3554         (WebView::MIMETypesShownAsHTML):
3555         (WebView::setHostWindow):
3556         (WebView::hostWindow):
3557         (WebView::generateSelectionImage):
3558         (WebView::pasteboardTypesForSelection):
3559         (WebView::pasteboardTypesForElement):
3560         (WebView::mainFrameIcon):
3561         (WebView::canMakeTextStandardSize):
3562         (WebView::viewWindow):
3563         * WebView.h:
3564
3565 2007-05-11  Adele Peterson  <adele@apple.com>
3566
3567         Build fix.
3568
3569         * WebView.cpp: (WebView::selectionImageRect):
3570
3571 2007-05-10  Geoffrey Garen  <ggaren@apple.com>
3572
3573         Reviewed by Darin Adler.
3574         
3575         "IconDatabase::sharedIconDatabase()" => "iconDatabase()" for terseness.
3576
3577 2007-05-10  Maciej Stachowiak  <mjs@apple.com>
3578
3579         Reviewed by Oliver.
3580
3581         - WebKitWin part of fix for:
3582         <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
3583         <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
3584
3585         The basic approach is to have Frames start out containing an empty document instead of absolutely nothing,
3586         so there is no need to initialize them on demand. Various side effects of that cause both of these bugs.
3587         
3588         However, this caused many regressions so I had to fix the fallout.
3589
3590         * WebFrame.cpp:
3591         (WebFrame::createFrame): init frame
3592         * WebView.cpp:
3593         (WebView::initWithFrame): init frame
3594         (WebView::stringByEvaluatingJavaScriptFromString): don't create empty document
3595
3596 2007-05-08  Steve Falkenburg  <sfalken@apple.com>
3597
3598         Reviewed by Darin, Oliver.
3599         
3600         Added UI_STRING versions of localized WebCore strings.
3601
3602         * English.lproj/Localizable.strings: Updated.
3603         * English.lproj/StringsNotToBeLocalized.txt: Updated.
3604         * WebCoreLocalizedStrings.cpp: Added.
3605         (WebCore::searchableIndexIntroduction):
3606         (WebCore::submitButtonDefaultLabel):
3607         (WebCore::inputElementAltText):
3608         (WebCore::resetButtonDefaultLabel):
3609         (WebCore::fileButtonChooseFileLabel):
3610         (WebCore::fileButtonNoFileSelectedLabel):
3611         (WebCore::contextMenuItemTagOpenLinkInNewWindow):
3612         (WebCore::contextMenuItemTagDownloadLinkToDisk):
3613         (WebCore::contextMenuItemTagCopyLinkToClipboard):
3614         (WebCore::contextMenuItemTagOpenImageInNewWindow):
3615         (WebCore::contextMenuItemTagDownloadImageToDisk):
3616         (WebCore::contextMenuItemTagCopyImageToClipboard):
3617         (WebCore::contextMenuItemTagOpenFrameInNewWindow):
3618         (WebCore::contextMenuItemTagCopy):
3619         (WebCore::contextMenuItemTagGoBack):
3620         (WebCore::contextMenuItemTagGoForward):
3621         (WebCore::contextMenuItemTagStop):
3622         (WebCore::contextMenuItemTagReload):
3623         (WebCore::contextMenuItemTagCut):
3624         (WebCore::contextMenuItemTagPaste):
3625         (WebCore::contextMenuItemTagNoGuessesFound):
3626         (WebCore::contextMenuItemTagIgnoreSpelling):
3627         (WebCore::contextMenuItemTagLearnSpelling):
3628         (WebCore::contextMenuItemTagSearchWeb):
3629         (WebCore::contextMenuItemTagLookUpInDictionary):
3630         (WebCore::contextMenuItemTagOpenLink):
3631         (WebCore::contextMenuItemTagIgnoreGrammar):
3632         (WebCore::contextMenuItemTagSpellingMenu):
3633         (WebCore::contextMenuItemTagCheckSpelling):
3634         (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
3635         (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
3636         (WebCore::contextMenuItemTagFontMenu):
3637         (WebCore::contextMenuItemTagBold):
3638         (WebCore::contextMenuItemTagItalic):
3639         (WebCore::contextMenuItemTagUnderline):
3640         (WebCore::contextMenuItemTagOutline):
3641         (WebCore::contextMenuItemTagWritingDirectionMenu):
3642         (WebCore::contextMenuItemTagDefaultDirection):
3643         (WebCore::contextMenuItemTagLeftToRight):
3644         (WebCore::contextMenuItemTagRightToLeft):
3645         (WebCore::contextMenuItemTagShowSpellingPanel):
3646         (WebCore::searchMenuNoRecentSearchesText):
3647         (WebCore::searchMenuRecentSearchesText):
3648         (WebCore::searchMenuClearRecentSearchesText):
3649         (WebCore::AXWebAreaText):
3650         (WebCore::AXLinkText):
3651         (WebCore::AXListMarkerText):
3652         (WebCore::AXImageMapText):
3653         (WebCore::AXHeadingText):
3654         * WebKit.vcproj/WebKit.vcproj: Added WebCoreLocalizedStrings.cpp, reorganized other files a bit.
3655
3656 2007-05-08  Steve Falkenburg  <sfalken@apple.com>
3657
3658         Reviewed by Ada.
3659         
3660         Update editing delegate
3661
3662         * Interfaces/IWebEditingDelegate.idl:
3663         * WebEditorClient.cpp:
3664         (WebEditorClient::updateSpellingUIWithGrammarString):
3665         * WebEditorClient.h:
3666
3667 2007-05-07  Steve Falkenburg  <sfalken@apple.com>
3668
3669         Reviewed by Darin.
3670
3671         Fix typo in prefs code.       
3672
3673         * WebPreferences.cpp:
3674         (WebPreferences::preferencesPath): Fix typo in error handling.
3675
3676 2007-05-04  Steve Falkenburg  <sfalken@apple.com>
3677
3678         Reviewed by Darin.
3679         
3680         Fix crash when using "check spelling while typing".
3681
3682         * WebView.cpp:
3683         (WebView::preflightSpellChecker): Set delegate static global for use in spell checker init.
3684
3685 2007-05-03  Steve Falkenburg  <sfalken@apple.com>
3686
3687         Reviewed by Ada, Oliver.
3688         
3689         Checkpoint:
3690         <rdar://problem/4602372> Spelling
3691         <rdar://problem/4769763> Spell checking engine support        
3692
3693         * Interfaces/IWebEditingDelegate.idl: Add userDescription parameter.
3694         * WebEditorClient.cpp:
3695         (WebEditorClient::updateSpellingUIWithGrammarString): Set user description for spelling errors.
3696         * WebEditorClient.h:
3697         * WebView.cpp:
3698         (WebView::replaceSelectionWithText): Implemented.
3699
3700 2007-05-01  Steve Falkenburg  <sfalken@apple.com>
3701
3702         Reviewed by Oliver.
3703         
3704         Fix usage errors in COM enumeration.
3705
3706         * WebEditorClient.cpp:
3707         (WebEditorClient::checkGrammarOfString): Call Next correctly.
3708         (WebEditorClient::getGuessesForWord): Call Next correctly.
3709
3710 2007-04-30  Alice Liu  <alice.liu@apple.com>
3711
3712         Reviewed by Adam.
3713
3714         Fixed <rdar://5126201> crash closing tab when the two following tabs are empty.
3715         Basically this fix involved one thing, which lead to another thing.  First, the crash
3716         was fixed by moving the call to webView->close from SearchableWebView::onDestroy to
3717         WebViewWndProc when WM_DESTROY message is processed.  We now want only WebKit handling
3718         the closure of a WebView, so all calls to WebView::close have been removed, save for
3719         the one call in WebViewWndProc.
3720
3721         * Interfaces/IWebView.idl:
3722         removed close() from public interface
3723         * WebInspector/WebInspector.cpp:
3724         (WebInspector::onDestroy):
3725         removed call to close()
3726         * WebView.cpp:
3727         (WebView::~WebView):
3728         move the deleting of m_page down a bit to avoid a crash 
3729         (WebView::close):
3730         changed from public API to just a public function
3731         (WebViewWndProc):
3732         webView->close() was moved here from SearchableWebView::onDestroy
3733         * WebView.h:
3734         changed close() to a public function not exposed in the WebKit interface
3735
3736 2007-04-24  Steve Falkenburg  <sfalken@apple.com>
3737
3738         Reviewed by Darin, Oliver.
3739         
3740         Checkpoint:
3741         <rdar://problem/4602372> Spelling
3742         <rdar://problem/4769763> Spell checking engine support
3743
3744         * WebEditorClient.cpp:
3745         (WebEditorClient::isContinuousSpellCheckingEnabled):
3746         (WebEditorClient::toggleContinuousSpellChecking):
3747         (WebEditorClient::isGrammarCheckingEnabled):
3748         (WebEditorClient::toggleGrammarChecking):
3749         (initViewSpecificSpelling):
3750         (WebEditorClient::spellCheckerDocumentTag):
3751         (WebEditorClient::ignoreWordInSpellDocument):
3752         (WebEditorClient::learnWord):
3753         (WebEditorClient::checkSpellingOfString):
3754         (WebEditorClient::checkGrammarOfString):
3755         (WebEditorClient::udpateSpellingUIWithGrammarString):
3756         (WebEditorClient::updateSpellingUIWithMisspelledWord):
3757         (WebEditorClient::showSpellingUI):
3758         (WebEditorClient::spellingUIIsShowing):
3759         (WebEditorClient::getGuessesForWord):
3760         * WebPreferences.h:
3761
3762 2007-04-20  Ada Chan  <adachan@apple.com>
3763
3764         Reviewed by Steve and Oliver.
3765         
3766         Implemented some DOM methods I need to support password input and textarea in 
3767         WebView-based edit fields in the app.
3768
3769         * DOMCSSClasses.cpp:
3770         (DOMCSSStyleDeclaration::setCssText): added implementation
3771         * DOMCoreClasses.cpp:
3772         (DOMDocument::createElement): ditto
3773         * DOMHTMLClasses.cpp:
3774         (DOMHTMLInputElement::setType): ditto
3775         (DOMHTMLTextAreaElement::value): ditto
3776         (DOMHTMLTextAreaElement::setValue): ditto
3777         (DOMHTMLTextAreaElement::select): ditto
3778         * Interfaces/IWebUIDelegatePrivate.idl: added a new method webViewGetDlgCode() that client
3779         can implement if it wants to handle keypresses themselves rather than letting the system 
3780         interpret certain keys as dialog box navigation keys.
3781         * WebKitGraphics.cpp:
3782         (DrawTextAtPoint): handle drawing text as password
3783         * WebKitGraphics.h:
3784         * WebView.cpp:
3785         Added Copy, Cut, and Paste to the keyEntries.
3786         (WebViewWndProc): added code to handle WM_GETDLGCODE.  Calls IWebUIDelegatePrivate::webViewGetDlgCode()
3787         if available to see if the client wants to handle it.
3788
3789 2007-04-18  Adam Roben  <aroben@apple.com>
3790
3791         Reviewed by Steve.
3792
3793         Make development builds use the same CLSIDs as archive builds, and get
3794         rid of the now-unused set of CLSIDs.
3795
3796         * Interfaces/WebKit.idl: Use the archive build CLSIDs if we're not
3797         doing a production build.
3798         * WebKit.vcproj/Interfaces.vcproj: Don't define __ARCHIVE_BUILD__
3799         because it's not used anymore.
3800
3801 2007-04-18  Adam Roben  <aroben@apple.com>
3802
3803         Reviewed by Steve.
3804
3805         Use different ProgIDs for production builds.
3806
3807         * ProgIDMacros.h: Added.
3808         * WebKit.vcproj/WebKit.vcproj: Defined the __BUILDBOT__ macro and added
3809         a new header which is copied in the post-build step.
3810         * WebKitDLL.cpp: Macro-ized the declaration of the registry keys to
3811         install.
3812
3813 2007-04-16  Adam Roben  <aroben@apple.com>
3814
3815         Rubberstamped by Steve.
3816
3817         * WebKit.vcproj/WebKit.sln: Removed the Debug_Internal configuration.
3818
3819 2007-04-16  Adam Roben  <aroben@apple.com>
3820
3821         Reviewed by Steve.
3822
3823         Removed the pre-link build step, and removed registration of WebKit.dll
3824         from the post-build step.
3825
3826         * WebKit.vcproj/WebKit.vcproj:
3827
3828 2007-04-16  Adam Roben  <aroben@apple.com>
3829
3830         * WebKit.vcproj/WebKit.sln: Added WTF to the solution.
3831
3832 2007-04-16  Steve Falkenburg  <sfalken@apple.com>
3833
3834         Reviewed by Adam.
3835         
3836         Visual Studio Express compatibility for WebKit build (except for DRT)
3837
3838         * WebDragClient.cpp: Removed unused header (atlsafe.h)
3839         * WebKit.vcproj/WebKit.rc: Removed afxres.h and related code
3840         * WebKit.vcproj/WebKit.sln: Don't use a sln folder - they aren't supported by express
3841         * WebKit.vcproj/WebKit.vcproj: Add explicit lib references for Windows system libs (VS express doesn't include these)
3842         * WebView.cpp: Removed unused header (atldef.h)
3843
3844 2007-04-16  Adam Roben  <aroben@apple.com>
3845
3846         Merge in r20872.
3847
3848         * WebInspector/webInspector/inspector.js:
3849         * WebInspector/webInspector/treeoutline.js:
3850
3851 2007-04-16  Adam Roben  <aroben@apple.com>
3852
3853         Merge in r20861.
3854
3855         * WebInspector/webInspector/inspector.js:
3856         * WebInspector/webInspector/treeoutline.js:
3857
3858 2007-04-16  Adam Roben  <aroben@apple.com>
3859
3860         Merge in r20845.
3861
3862         * WebInspector/webInspector/inspector.js:
3863
3864 2007-04-16  Adam Roben  <aroben@apple.com>
3865
3866         Merge in r20844.
3867
3868         * WebInspector/webInspector/inspector.js:
3869
3870 2007-04-16  Adam Roben  <aroben@apple.com>
3871
3872         Merge in r20843.
3873
3874         * WebInspector/webInspector/inspector.js:
3875         * WebInspector/webInspector/scrollarea.js:
3876         * WebInspector/webInspector/scrollbar.js:
3877         * WebInspector/webInspector/utilities.js:
3878
3879 2007-04-16  Adam Roben  <aroben@apple.com>
3880
3881         Merge in r20842.
3882
3883         * WebInspector/webInspector/inspector.html:
3884         * WebInspector/webInspector/inspector.js:
3885         * WebInspector/webInspector/utilities.js: Added.
3886
3887 2007-04-16  Adam Roben  <aroben@apple.com>
3888
3889         Merge in r20840.
3890
3891         * WebInspector/webInspector/inspector.html:
3892         * WebInspector/webInspector/inspector.js:
3893         * WebInspector/webInspector/treeoutline.js: Added.
3894
3895 2007-04-14  Adam Roben  <aroben@apple.com>
3896
3897         * WebKit.vcproj/WebKitGUID.vcproj: Need to use WebKitConfigSuffix
3898         instead of ConfigSuffix now.
3899
3900 2007-04-14  Adam Roben  <aroben@apple.com>
3901
3902         * WebKit.vcproj/WebKit.submit.sln: Use the Debug_Internal configuration
3903         when B&I builds Debug.
3904
3905 2007-04-12  Steve Falkenburg  <sfalken@apple.com>
3906
3907         Reviewed by Geoff, Adam.
3908         
3909         Changes required for search history content.
3910
3911         * Interfaces/IWebFramePrivate.idl:
3912         * WebFrame.cpp:
3913         (WebFrame::isFrameSet): Added
3914         (WebFrame::string): Added
3915         * WebFrame.h:
3916
3917 2007-04-12  Adam Roben  <aroben@apple.com>
3918
3919         Rubberstamped by Steve.
3920
3921         Copied WebKit.sln to WebKit.submit.sln, and added missing projects to
3922         WebKit.sln so that opensource contributors can use it to build a
3923         working WebKit.
3924
3925         * WebKit.vcproj/WebKit.make: Changed to use WebKit.submit.sln.
3926         * WebKit.vcproj/WebKit.sln: Added JavaScriptCore, WebCore,
3927         DumpRenderTree projects.
3928         * WebKit.vcproj/WebKit.submit.sln: Added.
3929
3930 2007-04-12  Adam Roben  <aroben@apple.com>
3931
3932         Reviewed by Steve.
3933
3934         <rdar://problem/5131565> Need to be able to use debug WebKit with
3935         release Safari.
3936
3937         Added a new configuration to WebKit.vcproj called Debug_Internal to be
3938         used by Apple internal builds. The Debug configuration is now meant to
3939         be used by opensource builds, and will always link against release
3940         versions of CF, CFNet, CG, etc. Debug_Internal is identical to Debug
3941         except for the property sheet it uses, and the Debug configuration
3942         doesn't register WebKit_debug.dll when finished.
3943
3944         We now have two macros, $(WebKitConfigSuffix) and
3945         $(LibraryConfigSuffix). WebKitConfigSuffix is used for WebKit projects,
3946         and is "_debug" for both Debug and Debug_Internal. LibraryConfigSuffix
3947         is used for external projects, and is "" for Debug and "_debug" for
3948         Debug_Internal.
3949
3950         * WebKit.vcproj/WebKit.vcproj:
3951         * WebKit.vcproj/debug.vsprops:
3952         * WebKit.vcproj/debug_internal.vsprops: Added.
3953         * WebKit.vcproj/release.vsprops:
3954
3955 2007-04-12  John Sullivan  <sullivan@apple.com>
3956
3957         Reviewed by Anders
3958
3959         * Interfaces/IWebUIDelegate.idl:
3960         added new PDF-related context menu items to enum to keep it in sync with WebCore
3961
3962 2007-04-12  Mark Rowe  <mrowe@apple.com>
3963
3964         Not reviewed.  Internal counterpart to open-source r20856.
3965
3966         * WebChromeClient.cpp:
3967         (WebChromeClient::createWindow):
3968         (WebChromeClient::createModalDialog):
3969         * WebChromeClient.h:
3970
3971 2007-04-11  Ada Chan  <adachan@apple.com>
3972
3973         Reviewed by Steve.
3974         
3975         Implemented WebHistoryItem::originalURLString().  Added parameter checks to other methods.
3976
3977         * WebHistoryItem.cpp:
3978         (WebHistoryItem::originalURLString):
3979         (WebHistoryItem::URLString):
3980         (WebHistoryItem::title):
3981         (WebHistoryItem::lastVisitedTimeInterval):
3982
3983 2007-04-10  Brady Eidson  <beidson@apple.com>
3984
3985         Reviewed by Darin
3986
3987         <rdar://problem/4887095> - PageCache and PageState should be combined
3988
3989         Basically updated client methods for the new names and signatures 
3990
3991         * WebFrame.cpp:
3992         (WebFrame::loadedFromCachedPage):
3993         (WebFrame::setDocumentViewFromCachedPage):
3994         (WebFrame::saveDocumentViewToCachedPage):
3995         * WebFrame.h:
3996
3997 2007-04-10  Adam Roben  <aroben@apple.com>
3998
3999         Reviewed by Anders.
4000
4001         Fix <rdar://problem/5119803> Web Inspector has no options menu
4002
4003         * WebInspector/WebInspector.cpp:
4004         (interpreterForFrame): Added.
4005         (WebInspector::showOptionsMenu): Implemented.
4006         (WebInspector::onCommand): Added.
4007         (WebInspector::toggleIgnoreWhitespace): Implemented.
4008         (WebInspector::toggleShowUserAgentStyles): Implemented.
4009         (WebInspectorWndProc): Added case for WM_COMMAND.
4010         * WebInspector/WebInspector.h:
4011
4012 2007-04-09  Anders Carlsson  <andersca@apple.com>
4013
4014         Reviewed by Adam.
4015
4016         <rdar://problem/5062624>
4017         No prompt to install QT for pages with uninstalled QT plug-in.
4018         
4019         * CFDictionaryPropertyBag.cpp:
4020         (CFDictionaryPropertyBag::Read):
4021         (CFDictionaryPropertyBag::Write):
4022         Use LPCOLESTRToCFStringRef here since the property names aren't BSTRs.
4023         
4024         * Interfaces/IWebError.idl:
4025         Add user info keys.
4026         
4027         * MarshallingHelpers.cpp:
4028         (MarshallingHelpers::LPCOLESTRToCFStringRef):
4029         * MarshallingHelpers.h:
4030         New function.
4031         
4032         * WebError.cpp:
4033         (WebError::WebError):
4034         (WebError::createInstance):
4035         Take a property bag.
4036         
4037         (WebError::userInfo):
4038         Return the property bag.
4039         
4040         * WebFrame.cpp:
4041         (WebFrame::createPlugin):
4042         If the plug-in wasn't found or failed to load, create a WebError with the right user info and
4043         call IWebResourceLoadDelegate::plugInFailedWithError.
4044
4045 2007-04-09  Brady Eidson  <beidson@apple.com>
4046
4047         Build Fix
4048
4049         * WebContextMenuClient.cpp:
4050         (WebContextMenuClient::searchWithGoogle): userGesture is true
4051
4052 2007-04-09  Timothy Hatcher  <timothy@apple.com>
4053
4054         Merge in r20810.
4055
4056         <rdar://problem/5121757> WebInspector focuses elements on mouse up instead of mouse down
4057
4058         Make selecting a tree node happen on mousedown to match the NSOutlineView behavior.
4059         Also makes selecting rows in the style pane happen on mousedown for consistency.
4060
4061         * WebInspector/webInspector/inspector.js:
4062
4063 2007-04-09  Adam Roben  <aroben@apple.com>
4064
4065         Fixed copyrights.
4066
4067         * WebInspector/WebInspector.cpp:
4068         * WebInspector/WebInspector.h:
4069
4070 2007-04-09  Adam Roben  <aroben@apple.com>
4071
4072         Reviewed by Oliver.
4073
4074         Fix two Web Inspector bugs:
4075         - The WebView wasn't focused when the inspector first appeared.
4076         - Resizing the upper pane did not resize the whole window.
4077
4078         * WebInspector/WebInspector.cpp:
4079         (WebInspector::show): Focus the WebView.
4080         (WebInspector::setFrame): Implemented.
4081         (WebInspector::webViewFrame): Implemented.
4082         * WebInspector/WebInspector.h:
4083
4084 2007-04-09  Adam Roben  <aroben@apple.com>
4085
4086         * WebInspector/WebInspector.cpp:
4087         (WebInspector::WebInspector): Removed two fixed FIXMEs and some
4088         commented-out code.
4089
4090 2007-04-08  Adam Roben  <aroben@apple.com>
4091
4092         When does "merge" != "merge"? When you make the change yourself
4093         pre-emptively and make a typo.
4094
4095         * WebInspector/webInspector/inspector.js:
4096
4097 2007-04-08  Adam Roben  <aroben@apple.com>
4098
4099         Merge in r20800.
4100
4101         * WebInspector/webInspector/inspector.js:
4102
4103 2007-04-08  Adam Roben  <aroben@apple.com>
4104
4105         Merge in r20797.
4106
4107         * WebInspector/webInspector/inspector.js:
4108
4109 2007-04-08  Adam Roben  <aroben@apple.com>
4110
4111         Merge in r20796.
4112
4113         * WebInspector/webInspector/inspector.js:
4114
4115 2007-04-08  Adam Roben  <aroben@apple.com>
4116
4117         Reviewed by Anders.
4118
4119         <rdar://problem/5119804> Web Inspector isn't resizable
4120         <rdar://problem/5119805> Can't move Web Inspector
4121
4122         * WebInspector/WebInspector.cpp:
4123         (WebInspectorPrivate::WebInspectorPrivate):
4124         (WebInspector::WebInspector): Subclass the WebView so we can intercept
4125         its messages.
4126         (WebInspector::onDestroy): Undo the subclassing.
4127         (WebInspector::handleMessageSentToWebView): Added.
4128         (WebInspector::onLButtonDown): Added.
4129         (WebInspector::onLButtonUp): Added.
4130         (WebInspector::onMouseMove): Added.
4131         (WebInspectorWndProc): Added cases for mouse messages.
4132         (SubclassedWebViewWndProc): Added.
4133         * WebInspector/WebInspector.h:
4134
4135 2007-04-08  Adam Roben  <aroben@apple.com>
4136
4137         Merge in r20793.
4138
4139         * WebInspector/webInspector/AppleScrollArea.js: Removed.
4140         * WebInspector/webInspector/AppleScrollbar.js: Removed.
4141         * WebInspector/webInspector/Images/resize.png: Added.
4142         * WebInspector/webInspector/inspector.css:
4143         * WebInspector/webInspector/inspector.html:
4144         * WebInspector/webInspector/inspector.js:
4145         * WebInspector/webInspector/scrollarea.js: Added.
4146         * WebInspector/webInspector/scrollbar.js: Added.
4147
4148 2007-04-08  Adam Roben  <aroben@apple.com>
4149
4150         Merge in r20792.
4151
4152         * WebInspector/webInspector/inspector.js:
4153
4154 2007-04-08  Adam Roben  <aroben@apple.com>
4155
4156         Merge in r20791.
4157
4158         * WebInspector/webInspector/inspector.js:
4159
4160 2007-04-08  Adam Roben  <aroben@apple.com>
4161
4162         Merge in r20789.
4163
4164         * WebInspector/webInspector/inspector.js:
4165
4166 2007-04-08  Adam Roben  <aroben@apple.com>
4167
4168         Build fix.
4169
4170         * WebInspector/WebInspector.cpp:
4171
4172 2007-04-07  Adam Roben  <aroben@apple.com>
4173
4174         Reviewed by Oliver.
4175
4176         <rdar://problem/4769828> Web Inspector
4177
4178         * WebInspector/WebInspector.cpp: Renamed from WebInspector.m. Ported
4179         Mac code. Some parts are left commented out to aid later
4180         implementation.
4181         * WebInspector/WebInspector.h: Ditto.
4182
4183         * DOMCoreClasses.cpp: Added IID_DOMNode.
4184         (DOMNode::QueryInterface): Added case for IID_DOMNode.
4185         (DOMNode::isSameNode): Implemented.
4186         * DOMCoreClasses.h: Added IID_DOMNode.
4187         (DOMNode::node): Added.
4188         * English.lproj/Localizable.strings: Updated for "Inspect Element".
4189         * WebContextMenuClient.cpp:
4190         (WebContextMenuClient::getCustomMenuFromDefaultItems): Add the "Inspect
4191         Element" item.
4192         * WebFrame.cpp:
4193         (WebFrame::addInspector): Stubbed out.
4194         (WebFrame::removeInspector): Ditto.
4195         * WebFrame.h: Added declarations.
4196         * WebKit.resources/Info.plist: Added. This was needed so that the
4197         WebKit bundle would have a bundle identifier.
4198         * WebKit.vcproj/WebKit.vcproj: Added new files to project, and modified
4199         the post-build step to copy Info.plist and everything in
4200         WebInspector/webInspector to WebKit.resources.
4201         * WebView.cpp:
4202         (WebView::performContextMenuAction): Added case for the Inspect Element item.
4203         (WebView::inspectElement): Added.
4204         * WebView.h: Added declaration.
4205
4206 2007-04-07  Adam Roben  <aroben@apple.com>
4207
4208         Forked most of the WebInspector directory from
4209         r20780 of branches/WebInspectorRefresh/WebKit/WebInspector.