5246b881880177f8f9d25c36aa461b69061d988e
[WebKit-https.git] / WebKit / win / ChangeLog
1 2007-12-01  Sam Weinig  <sam@webkit.org>
2
3         Rename IWebViewPrivate::selectionImageRect to IWebViewPrivate::selectionRect.
4
5         Rubber stamped by Adam Roben.
6
7         * Interfaces/IWebViewPrivate.idl:
8         * WebView.cpp:
9         (WebView::selectionRect):
10         * WebView.h:
11
12 2007-11-30  Ada Chan  <adachan@apple.com>
13
14         <rdar://problem/5621373> Added a way for the client to clear undo/redo
15         operations from a WebView.
16
17         Reviewed by Steve.
18
19         * Interfaces/IWebViewPrivate.idl:
20         * WebView.cpp:
21         (WebView::clearUndoRedoOperations):
22         * WebView.h:
23
24 2007-11-29  Anders Carlsson  <andersca@apple.com>
25
26         Reviewed by Sam.
27
28         Add an IWebFrameLoadDelegate2 interface with a didClearWindowObject method 
29         that passes in the frame whose window has been cleared. This matches a newly
30         added delegate method on the Mac.
31         
32         * Interfaces/IWebFrameLoadDelegate.idl:
33         * WebFrame.cpp:
34         (WebFrame::windowObjectCleared):
35
36 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
37
38         Reviewed by Sam.
39
40         - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
41         dying and vice versa.
42
43         * Interfaces/IWebScriptDebugListener.idl: Added the new function to the
44         interface.
45         * WebKit.vcproj/WebKit.def: Added the new function to the def file so
46         Safari can tell WebKit when the server is dying.
47         * WebKit.vcproj/WebKit_debug.def: Ditto.
48         * WebKitDLL.cpp: Added the new function for Safari to call.
49         (RunAsLocalServer):
50         (LocalServerDidDie):
51         * WebScriptDebugServer.cpp: 
52         (WebScriptDebugServer::WebScriptDebugServer): Removed unused member.
53         (WebScriptDebugServer::sharedWebScriptDebugServer): Ditto, and added new
54         member to prevent adding or removing listeners when the server is dying.
55         (WebScriptDebugServer::addListener): Don't let new listeners be added
56         when the server is dying.
57         (WebScriptDebugServer::removeListener): Don't let listeners remove
58         themselves when the server is dying.  The server will remove them all
59         anyways.
60         (WebScriptDebugServer::serverDidDie): Notify all listeners that the
61         server is dying and remove all listeners.
62         * WebScriptDebugServer.h: Added the new method and removed an unused
63         member.
64
65 2007-11-29  Brady Eidson  <beidson@apple.com>
66
67         Build fix that works...?
68
69         * WebChromeClient.h:
70
71 2007-11-29  Brady Eidson  <beidson@apple.com>
72
73         Build fix
74
75         * WebChromeClient.cpp:
76         (WebChromeClient::requestQuotaIncreaseForNewDatabase):
77         (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
78
79 2007-11-29  Brady Eidson  <beidson@apple.com>
80
81         Keep it building with new client method
82
83         * WebChromeClient.cpp:
84         (ChromeClient::requestQuotaIncreaseForNewDatabase):
85         (ChromeClient::requestQuotaIncreaseForDatabaseOperation):
86         * WebChromeClient.h:
87
88 2007-11-29  Dan Bernstein  <mitz@apple.com>
89
90         Reviewed by Beth Dakin and Darin Adler.
91
92         - fix <rdar://problem/5346394> Contextmenu event doesn't fire on body element inside frame
93
94         * WebView.cpp:
95         (WebView::handleContextMenuEvent): Send the context menu event to the
96         frame containing the node that was hit.
97
98 2007-11-28  Kevin McCullough  <kmccullough@apple.com>
99
100         Reviewed by Tim.
101
102         - Added guards to the wait loop so execution would not hang and now the
103         console window can process JavaScript.
104
105         * WebScriptDebugServer.cpp:
106         (WebScriptDebugServer::suspendProcessIfPaused):
107
108 2007-11-28  Anders Carlsson  <andersca@apple.com>
109
110         Reviewed by Adam.
111
112         Implement the last bits of the WebDatabaseManager API.
113         
114         * Interfaces/IWebDatabaseManager.idl:
115         * WebDatabaseManager.cpp:
116         (isEqual):
117         (WebDatabaseManager::sharedWebDatabaseManager):
118         (WebDatabaseManager::dispatchDidModifyOrigin):
119         (WebDatabaseManager::dispatchDidModifyDatabase):
120         * WebDatabaseManager.h:
121
122 2007-11-28  Anders Carlsson  <andersca@apple.com>
123
124         Get Drosera working again for real.
125         
126         * COMEnumVariant.h:
127         (::Next):
128
129 2007-11-27  Kevin McCullough  <kmccullough@apple.com>
130
131         Reviewed by Maciej and Adam.
132
133         - Added Drosera to the WebKit project.
134
135         * WebKit.vcproj/WebKit.sln:
136
137 2007-11-27  Jon Honeycutt  <jhoneycutt@apple.com>
138
139         Reviewed by Adam.
140
141         Return bool from registerWebViewWindowClass, as nothing uses the ATOM.
142         Set haveRegisteredWindowClass to true
143
144         * WebView.cpp:
145         (registerWebViewWindowClass):
146
147 2007-11-27  Anders Carlsson  <andersca@apple.com>
148
149         Speculative fix to get Drosera working.
150         
151         * COMEnumVariant.h:
152         (::Next):
153         Update the number of elements fetched correctly.
154         
155 2007-11-27  Anders Carlsson <andersca@apple.com>
156
157         Reviewed by Adam.
158
159         Some COM cleanup.
160         
161         * CFDictionaryPropertyBag.cpp:
162         (CFDictionaryPropertyBag::QueryInterface):
163         * CFDictionaryPropertyBag.h:
164         * WebBackForwardList.cpp:
165         (WebBackForwardList::addItem):
166         (WebBackForwardList::removeItem):
167         * WebDownload.cpp:
168         (WebDownload::initWithRequest):
169         * WebFrame.cpp:
170         (WebFrame::loadRequest):
171         (WebFrame::initWithWebFrameView):
172         (WebFrame::webHistory):
173         (WebFrame::dispatchWillSendRequest):
174         * WebURLAuthenticationChallenge.cpp:
175         (WebURLAuthenticationChallenge::QueryInterface):
176         (WebURLAuthenticationChallenge::initWithProtectionSpace):
177         * WebURLAuthenticationChallenge.h:
178         * WebURLAuthenticationChallengeSender.cpp:
179         (WebURLAuthenticationChallengeSender::QueryInterface):
180         * WebURLAuthenticationChallengeSender.h:
181         * WebURLResponse.cpp:
182         (WebURLResponse::QueryInterface):
183         * WebURLResponse.h:
184         * WebView.cpp:
185         (WebView::notifyDidAddIcon):
186         (WebView::goToBackForwardItem):
187         (WebView::canHandleRequest):
188         (WebView::loadBackForwardListFromOtherView):
189         (core):
190
191 2007-11-27  Anders Carlsson  <andersca@apple.com>
192
193         Add COMEnumVariant.h to the project.
194         
195         * WebKit.vcproj/WebKit.vcproj:
196
197 2007-11-27  Anders Carlsson  <andersca@apple.com>
198
199         Reviewed by Adam.
200
201         Return E_INVALIDARG if the databaseName BSTR is null.
202         
203         * WebDatabaseManager.cpp:
204         (WebDatabaseManager::detailsForDatabaseWithOrigin):
205         (WebDatabaseManager::deleteDatabaseWithOrigin):
206
207 2007-11-27  Anders Carlsson  <andersca@apple.com>
208
209         Reviewed by Adam.
210
211         Implement the rest of the WebDatabaseManager API.
212
213         * COMEnumVariant.h:
214         * Interfaces/IWebDatabaseManager.idl:
215         * WebDatabaseManager.cpp:
216         (isEqual):
217         (DatabaseDetailsPropertyBag::DatabaseDetailsPropertyBag):
218         (DatabaseDetailsPropertyBag::~DatabaseDetailsPropertyBag):
219         (DatabaseDetailsPropertyBag::createInstance):
220         (DatabaseDetailsPropertyBag::AddRef):
221         (DatabaseDetailsPropertyBag::Release):
222         (DatabaseDetailsPropertyBag::QueryInterface):
223         (DatabaseDetailsPropertyBag::Read):
224         (DatabaseDetailsPropertyBag::Write):
225         (WebDatabaseManager::detailsForDatabaseWithOrigin):
226         (WebDatabaseManager::deleteAllDatabases):
227         (WebDatabaseManager::deleteDatabasesWithOrigin):
228         (WebDatabaseManager::deleteDatabaseWithOrigin):
229         * WebDatabaseManager.h:
230
231 2007-11-27  Ada Chan  <adachan@apple.com>
232
233         <rdar://problem/5616098> The BSTR returned by WebHistoryItem::alternateTitle
234         was not allocated correctly.
235
236         Reviewed by Anders.
237
238         * WebHistoryItem.cpp:
239         (WebHistoryItem::setAlternateTitle):
240         (WebHistoryItem::alternateTitle):
241         * WebHistoryItem.h:
242
243 2007-11-27  Anders Carlsson  <andersca@apple.com>
244
245         Reviewed by Adam.
246
247         Use COMEnumVariant in WebScriptCallFrame and WebScriptScope.
248         
249         * WebScriptCallFrame.cpp:
250         (WebScriptCallFrame::scopeChain):
251         * WebScriptScope.cpp:
252         (WebScriptScope::variableNames):
253
254 2007-11-27  Anders Carlsson  <andersca@apple.com>
255
256         Reviewed by Adam.
257
258         Use the correct include paths.
259         
260         * COMEnumVariant.h:
261
262 2007-11-27  Anders Carlsson  <andersca@apple.com>
263
264         Reviewed by Darin.
265    
266         Add COMEnumVariant, a templatized class with implements IEnumVARIANT and lets
267         you enumerate over a C++ container, be it WTF or STL.
268         
269         * COMEnumVariant.h: Added.
270         
271         * WebDatabaseManager.cpp:
272         (WebDatabaseManager::origins):
273         (WebDatabaseManager::databasesWithOrigin):
274         Implement these using COMEnumVariant.
275         
276         * WebSecurityOrigin.cpp:
277         (WebSecurityOrigin::QueryInterface):
278         * WebSecurityOrigin.h:
279         Add a UUID for the implementation so that other parts of WebKit can access
280         the WebCore::SecurityOriginData object.
281         
282 2007-11-26  Adam Roben  <aroben@apple.com>
283
284         Take advantage of the new Color constructor that takes a CGColorRef
285
286         This lets us handle grayscale colors (which only have 2 components).
287
288         Reviewed by Darin.
289
290         * WebKitGraphics.cpp:
291         (DrawTextAtPoint):
292
293 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
294
295         Build fix.
296
297         * WebKit.vcproj/WebKit.make:
298
299 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
300
301         Build fix.
302
303         * WebKit.vcproj/build-generated-files.sh:
304
305 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
306
307         Build fix.
308
309         * WebKit.vcproj/build-generated-files.sh:
310
311 2007-11-26  Anders Carlsson  <andersca@apple.com>
312
313         Reviewed by Adam.
314
315         Add an implementation of IWebSecurityOrigin and a partially stubbed out
316         implementation of IWebDatabaseManager.
317         
318         * ForEachCoClass.h:
319         * Interfaces/IWebDatabaseManager.idl:
320         * Interfaces/WebKit.idl:
321         * WebDatabaseManager.cpp:
322         (WebDatabaseManager::createInstance):
323         (WebDatabaseManager::WebDatabaseManager):
324         (WebDatabaseManager::~WebDatabaseManager):
325         (WebDatabaseManager::QueryInterface):
326         (WebDatabaseManager::AddRef):
327         (WebDatabaseManager::Release):
328         (WebDatabaseManager::sharedWebDatabaseManager):
329         (WebDatabaseManager::origins):
330         (WebDatabaseManager::databasesWithOrigin):
331         (WebDatabaseManager::detailsForDatabaseWithOrigin):
332         (WebDatabaseManager::deleteAllDatabases):
333         (WebDatabaseManager::deleteDatabasesWithOrigin):
334         (WebDatabaseManager::deleteDatabaseWithOrigin):
335         * WebDatabaseManager.h:
336         * WebKit.vcproj/WebKit.vcproj:
337         * WebKitClassFactory.cpp:
338         * WebSecurityOrigin.cpp: Added.
339         (WebSecurityOrigin::createInstance):
340         (WebSecurityOrigin::WebSecurityOrigin):
341         (WebSecurityOrigin::~WebSecurityOrigin):
342         (WebSecurityOrigin::QueryInterface):
343         (WebSecurityOrigin::AddRef):
344         (WebSecurityOrigin::Release):
345         (WebSecurityOrigin::protocol):
346         (WebSecurityOrigin::domain):
347         (WebSecurityOrigin::port):
348         (WebSecurityOrigin::usage):
349         (WebSecurityOrigin::quota):
350         (WebSecurityOrigin::setQuota):
351         * WebSecurityOrigin.h: Added.
352
353 2007-11-26  Kevin McCullough  <kmccullough@apple.com>
354
355         Reviewed by Maciej.
356
357         - Implemented displaying variables for Drosera on Win.
358
359         * Interfaces/IWebScriptCallFrame.idl: Added a local function to be
360         able to access the WebScriptCallFrame.
361         * Interfaces/IWebScriptScope.idl: Implemented.
362         * Interfaces/WebKit.idl: Added WebScriptScope to the tlb.
363         * WebKit.vcproj/Interfaces.vcproj: 
364         * WebScriptCallFrame.cpp: Implemented the helper and accessor methods.
365         (EnumScopes::Next): Fixed a bug where we did not release correctly and
366         would accidentally destroy scopes.
367         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
368         Implemented.
369         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Implemented
370         * WebScriptCallFrame.h: Implemented the helper and accessor methods.
371         (WebScriptCallFrame::impl):
372         (WebScriptCallFrame::state):
373         * WebScriptScope.cpp: Implmented.
374         (EnumVariables::EnumVariables): Created an IEnumVariant over the
375         variables to be able to pass a DCOM acceptable structure back to
376         Drosera.
377         (EnumVariables::createInstance):
378         (EnumVariables::QueryInterface):
379         (EnumVariables::AddRef):
380         (EnumVariables::Release):
381         (EnumVariables::Next):
382         (EnumVariables::Skip):
383         (EnumVariables::Reset):
384         (EnumVariables::Clone):
385         (WebScriptScope::WebScriptScope):
386         (WebScriptScope::createInstance): Implemented.
387         (WebScriptScope::variableNames): Implemented.
388         (WebScriptScope::valueForVariable):
389         * WebScriptScope.h: Implmeneted.
390
391 2007-11-26  Anders Carlsson  <andersca@apple.com>
392
393         Reviewed by Brady.
394
395         Add IWebDatabaseManager and IWebSecurityOrigin interfaces.
396         
397         * Interfaces/IWebDatabaseManager.idl: Added.
398         * Interfaces/IWebSecurityOrigin.idl: Added.
399         * WebKit.vcproj/Interfaces.vcproj:
400         * WebKit.vcproj/WebKitGUID.vcproj:
401
402 2007-11-26  Alice Liu  <alice.liu@apple.com>
403
404         Reviewed by Jon Honeycutt.
405
406         Fall back to the default Policy Delegate in these functions, 
407         as is already done in dispatchDecidePolicyForNavigationAction
408
409         * WebFrame.cpp:
410         (WebFrame::dispatchDecidePolicyForMIMEType):
411         (WebFrame::dispatchDecidePolicyForNewWindowAction):
412         (WebFrame::dispatchUnableToImplementPolicy):
413
414 2007-11-25  Adam Roben  <aroben@apple.com>
415
416         Fix a leak pointed out by Alexey
417
418         * WebView.cpp:
419         (getUpdateRects): Use a Vector<unsigned char>, since OwnPtr doesn't
420         know to call delete[].
421
422 2007-11-25  Adam Roben  <aroben@apple.com>
423
424         Fix Bug 16138: Reduce code duplication in WebView.cpp
425
426         http://bugs.webkit.org/show_bug.cgi?id=16138
427
428         Reviewed by Sam.
429
430         * WebView.cpp:
431         (getUpdateRects): Factored code out of updateBackingStore and paint
432         into this new helper function.
433         (WebView::updateBackingStore): Use getUpdateRects.
434         (WebView::paint): Ditto.
435         (WebView::paintIntoBackingStore): Changed to take a const IntRect&.
436         (WebView::paintIntoWindow): Ditto.
437         * WebView.h:
438
439 2007-11-25  Adam Roben  <aroben@apple.com>
440
441         Add ImageDiff.vcproj to WebKit.sln
442
443         Reviewed by Sam.
444
445         * WebKit.vcproj/WebKit.sln:
446
447 2007-11-17  Timothy Hatcher  <timothy@apple.com>
448
449         Reviewed by Mark Rowe.
450
451         Bug 13470: i18n: The Web Inspector is not localizable
452         http://bugs.webkit.org/show_bug.cgi?id=13470
453
454         * English.lproj/Localizable.strings: Updated.
455         * WebInspectorClient.cpp:
456         (WebInspectorClient::localizedStringsURL): Empty stub.
457         * WebInspectorClient.h: Added localizedStringsURL.
458
459 2007-11-17  Alexey Proskuryakov  <ap@webkit.org>
460
461         Windows build fix.
462
463         * WebView.cpp:
464         (WebView::deleteSelection): Use canSmartCopyOrDelete() directly.
465
466 2007-11-14  Adam Roben  <aroben@apple.com>
467
468         Change Interfaces to be a "Static Library" project
469
470         Being a Utility project meant that Interfaces was rebuilding every
471         time (Utility projects are supposed to handle their own dependencies).
472         Interfaces isn't really a static library, but it means that VS will
473         handle dependencies for us (and not complain about missing manifests
474         like it did when the project was an Application).
475
476         * WebKit.vcproj/Interfaces.vcproj:
477
478 2007-11-14  Adam Roben  <aroben@apple.com>
479
480         Shut up FixMIDLHeaders.pl
481
482         * WebKit.vcproj/FixMIDLHeaders.pl:
483
484 2007-11-14  Adam Roben  <aroben@apple.com>
485
486         Change Interfaces to use a Utility configuration
487
488         It had previously been marked as an "Application (.exe)", which is
489         wrong but worked with most versions of Visual Studio.
490
491         Rubberstamped by Steve.
492
493         * WebKit.vcproj/Interfaces.vcproj:
494
495 2007-11-14  Anders Carlsson  <andersca@apple.com>
496
497         Reviewed by Adam.
498
499         Get the new focus window from the wParam instead of calling GetFocus().
500         Also, send blur even if there is no focused frame.
501                
502         * WebView.cpp:
503         (WebViewWndProc):
504
505 2007-11-14  Adam Roben  <aroben@apple.com>
506
507         Another build fix for systems without Cygwin in their PATH
508
509         * WebKit.vcproj/Interfaces.vcproj: Add Cygwin to the PATH in the
510         Post-Build Event.
511
512 2007-11-13  Kevin McCullough  <kmccullough@apple.com>
513
514         Reviewed by Adam.
515
516         - Make Drosera show source, source URLs, and function stack on Windows
517         and some minor fixes.
518
519         * WebScriptCallFrame.cpp: Fixed a bug where the callFrame was not reffed
520         properly before being returned, and changed functionName() to check for
521         Null or if the name is empty.
522         (EnumScopes::Clone):
523         (WebScriptCallFrame::WebScriptCallFrame):
524         (WebScriptCallFrame::createInstance):
525         (WebScriptCallFrame::caller):
526         (WebScriptCallFrame::functionName):
527         * WebScriptCallFrame.h: Ditto
528         * WebScriptDebugServer.cpp: Made the listenerSet static since we were
529         already treating it as if it were. Removed the EnumViews stuff.  This
530         was added by Steve to demonstrate DCOM and he thought it would be needed
531         by Drosera, but I don't believe it will be.
532         Implemented suspendProcessIfPaused() also added calls to it at the end
533         of several functions to ensure we pause if Drosera has told WebKit to.
534         (WebScriptDebugServer::WebScriptDebugServer):
535         (WebScriptDebugServer::sharedWebScriptDebugServer):
536         (WebScriptDebugServer::addListener):
537         (WebScriptDebugServer::removeListener):
538         (WebScriptDebugServer::suspendProcessIfPaused):
539         (WebScriptDebugServer::didLoadMainResourceForDataSource):
540         (WebScriptDebugServer::didParseSource):
541         (WebScriptDebugServer::failedToParseSource):
542         (WebScriptDebugServer::didEnterCallFrame):
543         (WebScriptDebugServer::willExecuteStatement):
544         (WebScriptDebugServer::willLeaveCallFrame):
545         (WebScriptDebugServer::exceptionWasRaised):
546         * WebScriptDebugServer.h: Ditto.
547         * WebScriptDebugger.cpp: The important change here is that leaveFrame()
548         is called before willLeaveCallFrame().  I think there is some EOL stuff
549         going on too.
550         - It was the implementing of these functions that allows source, the
551         source URLs and function stack to be displayed.
552         (WebScriptDebugger::callEvent):
553         (WebScriptDebugger::atStatement):
554         (WebScriptDebugger::returnEvent):
555         (WebScriptDebugger::exception):
556         (WebScriptDebugger::enterFrame):
557         (WebScriptDebugger::leaveFrame):
558         * WebView.cpp: Removed the EnumView functions.
559         (WebView::WebView):
560         (WebView::~WebView):
561
562 2007-11-13  Adam Roben  <aroben@apple.com>
563
564         Fix <rdar://5346832> Infinite recursion when opening Web Inspector on more than one tab
565
566         The bug was that multiple WebNodeHighlights would subclass the same
567         browser window, leading to infinite recursion within
568         SubclassedWndProc.
569
570         WebNodeHighlight is now a WindowMessageListener, and lets
571         WindowMessageBroadcaster handle subclassing the window.
572
573         Reviewed by Ada.
574
575         * WebNodeHighlight.cpp:
576         (WebNodeHighlight::WebNodeHighlight): Initialize m_observedWindow
577         member.
578         (WebNodeHighlight::~WebNodeHighlight): Unregister as a listener for
579         m_observedWindow.
580         (WebNodeHighlight::highlight): Register as a listener.
581         (WebNodeHighlight::windowReceivedMessage): Do the work that used to be
582         done in SubclassedWndProc.
583         * WebNodeHighlight.h: Made WebNodeHighlight a WindowMessageListener,
584         and renamed m_subclassedWindow to m_observedWindow.
585
586 2007-11-13  Adam Roben  <aroben@apple.com>
587
588         Build fix for systems that don't have Cygwin in their PATH
589
590         * WebKit.vcproj/Interfaces.vcproj: Put Cygwin in the PATH before
591         trying to run bash.
592
593 2007-11-13  Steve Falkenburg  <sfalken@apple.com>
594
595         Add IDOMElementPrivate::font() to get an element's font
596         as a WebFontDescription.
597         
598         Reviewed by Darin.
599
600         * DOMCoreClasses.cpp:
601         (DOMElement::font):
602         * DOMCoreClasses.h:
603         * Interfaces/DOMPrivate.idl:
604
605 2007-11-12  Adam Roben  <aroben@apple.com>
606
607         Windows build fix
608
609         * WebKit.vcproj/WebKit.def: Export fastZeroedMalloc.
610         * WebKit.vcproj/WebKit_debug.def: Ditto.
611
612 2007-11-09  Jon Honeycutt  <jhoneycutt@apple.com>
613
614         Reviewed by Sam.
615
616         <rdar://5585900>: Safari crashes when selected in context menu to open
617         audio format files (au, aif) with QT 7.3
618
619         The crash occurred on a machine where QT 7.3 was failing to initialize.
620         The fix is to avoid sending streams to full-page plugins that've failed 
621         to load
622
623         * WebFrame.cpp:
624         (WebFrame::finishedLoading): Check plugin status before calling manual
625         stream methods
626         (WebFrame::setMainDocumentError): Same
627         (WebFrame::committedLoad): Same
628
629 2007-11-09  Sam Weinig  <sam@webkit.org>
630
631         Rubber stamped by Oliver.
632
633         Make WebCore a dependency of Interfaces.
634
635         * WebKit.vcproj/WebKit.sln:
636
637 2007-11-04  Sam Weinig  <sam@webkit.org>
638
639         Reviewed by Adam Roben.
640
641         <rdar://problem/5435940>
642         The COM bindings for the DOM should be autogenerated like the other DOM bindings
643
644         Initial commit of the autogeneration of the COM DOM Bindings.  No behavior change
645         is being introduced in this patch and to insure that no conflicts arise, a temporary
646         prefix of "GEN_" has been used for all the new classes.
647
648         The build architecture for these bindings differs slightly from the other autogenerated
649         bindings.  Instead of building in WebCore and migrating the resuting code to WebKit (as
650         is done for the Objective-C bindigs currently), the IDLs and generation scripts are
651         migrated to WebKit and built there.  This is done with a series of scripts and Makefiles.
652
653         This commit includes:
654             - Hand rolled root class/Interface GEN_DOMObject used to facilated object creation
655               and ref-counting.
656             - Generating all of the Core DOM and most of HTML and CSS
657             - Generating Event, EventTarget, and EventListener
658
659         * DOMCreateInstance.cpp: Added.
660         (domWrapperCache):
661         (getDOMWrapper):
662         (setDOMWrapper):
663         (removeDOMWrapper):
664         (GEN_DOMNode::createInstance):
665         (GEN_DOMImplementation::createInstance):
666         (GEN_DOMCSSRule::createInstance):
667         (GEN_DOMStyleSheet::createInstance):
668         (GEN_DOMCSSValue::createInstance):
669         * DOMCreateInstance.h: Added.
670         Temporary location for createInstance/object caching methods.  This will be broken up
671         into seperate files in the near future.
672
673         * GEN_DOMObject.cpp: Added.
674         (GEN_DOMObject::GEN_DOMObject):
675         (GEN_DOMObject::~GEN_DOMObject):
676         (GEN_DOMObject::QueryInterface):
677         (GEN_DOMObject::AddRef):
678         (GEN_DOMObject::Release):
679         * GEN_DOMObject.h: Added.
680         Hand rolled base class.
681
682         * Interfaces/IGEN_DOMObject.idl: Added. 
683         Hand rolled base interface.
684
685         * WebKit.vcproj/DerivedSources.make: Added.
686         * WebKit.vcproj/FixMIDLHeaders.pl: Added.
687         This script is required because MIDL is producing un-buildable code due to
688         circular dependencies.
689
690         * WebKit.vcproj/Interfaces.vcproj:
691         * WebKit.vcproj/WebKit.vcproj:
692         * WebKit.vcproj/WebKitGUID.vcproj:
693         * WebKit.vcproj/build-generated-files.sh: Added.
694
695 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
696
697         Reviewed by Adam.
698
699         - This patch does two main things.
700         1) It adds pragma warning guards around WebCore includes in WebKit files
701         that were previously overlooked.
702         2) It implements almost the entireity of WebScriptDebugger.  Only one
703         function remains and that implementation is dependent on finishing the
704         implementation of WebScriptScope.
705
706         * WebScriptCallFrame.h:
707         * WebScriptDebugServer.h:
708         * WebScriptDebugger.cpp:
709         (WebScriptDebugger::WebScriptDebugger):
710         (WebScriptDebugger::sourceParsed):
711         (WebScriptDebugger::callEvent):
712         (WebScriptDebugger::atStatement):
713         (WebScriptDebugger::returnEvent):
714         (WebScriptDebugger::exception):
715         (WebScriptDebugger::enterFrame):
716         (WebScriptDebugger::leaveFrame):
717         * WebScriptDebugger.h:
718
719 2007-11-08  Steve Falkenburg  <sfalken@apple.com>
720
721         <rdar://problem/5491463> Wrong dates shown in History menu.
722         
723         Fix off-by-one error in Windows epoch.
724         
725         For the Windows DATE type, 1/1/1900 should be 2.0, not 1.0.
726         DATE is the number of days since 12/30/1899.
727         
728         Reviewed by Ada.
729
730         * MarshallingHelpers.cpp:
731         (MarshallingHelpers::windowsEpochAbsoluteTime):
732
733 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
734
735         Reviewed by Sam.
736
737         - With this change Drosera can now get the source of a website and the
738         listings of the sources it gets.  This also lays the foundation for
739         letting Drosera show the scope chain of the JavaScript stack.
740
741         * Interfaces/IWebFrame.idl: Changed the signature of the local function,
742         globalContext(), because COM was unable to marshal this object with the
743         other signature.
744         * Interfaces/IWebScriptDebugServer.idl: Of course adding and removing
745         a listener cannot be done in a const function.
746         * WebChromeClient.h: Added accessor to the WebView for the new added
747         kit() function in WebFrame.
748         (WebChromeClient::webView):
749         * WebFrame.cpp: Added a script debugger object and the necessary
750         functions to attach and communicate with it. Also needed to change the
751         local function, globalContext(), because of a COM issue.
752         (kit):
753         (WebFrame::WebFrame):
754         (WebFrame::globalContext):
755         (WebFrame::loadData):
756         (WebFrame::attachScriptDebugger):
757         (WebFrame::detachScriptDebugger):
758         (WebFrame::dispatchDidLoadMainResource):
759         (WebFrame::windowObjectCleared):
760         * WebFrame.h: Ditto.
761         * WebHTMLRepresentation.cpp: Implemented documentSource so Drosera has
762         some source code to display.
763         (WebHTMLRepresentation::WebHTMLRepresentation):
764         (WebHTMLRepresentation::documentSource):
765         * WebKit.vcproj/WebKit.vcproj: Added the new WebScriptDebugger class.
766         * WebScriptCallFrame.cpp: Implemented much of this class' functionality.
767         (EnumScopes::EnumScopes): Made an EnumScopes class to create an
768         IEnumVARIANT to wrap a ScopeChain for Drosera.
769         (EnumScopes::QueryInterface):
770         (EnumScopes::AddRef):
771         (EnumScopes::Release):
772         (EnumScopes::Next):
773         (EnumScopes::Skip):
774         (EnumScopes::Reset):
775         (EnumScopes::Clone):
776         (WebScriptCallFrame::caller):
777         (WebScriptCallFrame::scopeChain):
778         (WebScriptCallFrame::functionName):
779         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
780         * WebScriptCallFrame.h: Added member data needed for the above functions
781         * WebScriptDebugServer.cpp: Began implementing. 
782         (WebScriptDebugServer::listenerCount):
783         (EnumViews::QueryInterface):
784         (EnumViews::AddRef):
785         (EnumViews::Release):
786         (EnumViews::Next):
787         (EnumViews::Skip):
788         (EnumViews::Reset):
789         (EnumViews::Clone):
790         (WebScriptDebugServer::WebScriptDebugServer):
791         (WebScriptDebugServer::createInstance):
792         (WebScriptDebugServer::sharedWebScriptDebugServer):
793         (WebScriptDebugServer::AddRef):
794         (WebScriptDebugServer::Release):
795         (WebScriptDebugServer::addListener):
796         (WebScriptDebugServer::removeListener):
797         (WebScriptDebugServer::step):
798         (WebScriptDebugServer::pause):
799         (WebScriptDebugServer::resume):
800         (WebScriptDebugServer::isPaused):
801         (WebScriptDebugServer::suspendProcessIfPaused):
802         (WebScriptDebugServer::didLoadMainResourceForDataSource):
803         (WebScriptDebugServer::didParseSource):
804         (WebScriptDebugServer::failedToParseSource):
805         (WebScriptDebugServer::didEnterCallFrame):
806         (WebScriptDebugServer::willExecuteStatement):
807         (WebScriptDebugServer::willLeaveCallFrame):
808         (WebScriptDebugServer::exceptionWasRaised):
809         * WebScriptDebugServer.h: Began implementing.
810         * WebScriptDebugger.cpp: Added.
811         (WebScriptDebugger::WebScriptDebugger):
812         (WebScriptDebugger::sourceParsed):
813         * WebScriptDebugger.h: Added.
814         * WebScriptScope.cpp: Make this class use createInstance which is more
815         in line with our guidelines.
816         (WebScriptScope::WebScriptScope):
817         (WebScriptScope::createInstance):
818         * WebScriptScope.h:
819
820
821 2007-11-07  Darin Adler  <darin@apple.com>
822
823         Reviewed by Steve.
824
825         * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
826         * WebChromeClient.cpp:
827         (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
828         here by calling through the UI delegate.
829         (WebChromeClient::menubarVisible): Ditto.
830         (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
831
832 2007-11-07  Steve Falkenburg  <sfalken@apple.com>
833
834         Added IWebDocumentText available via QI from WebFrame.
835         
836         Reviewed by Sam.
837
838         * WebFrame.cpp:
839         (WebFrame::QueryInterface): Added IID_IWebDocumentText.
840         (WebFrame::supportsTextEncoding): Stubbed out.
841         (WebFrame::selectedString): Implemented.
842         (WebFrame::selectAll): Stubbed out.
843         (WebFrame::deselectAll): Stubbed out.
844         * WebFrame.h:
845
846 2007-11-07  Adam Roben  <aroben@apple.com>
847
848         Fix <rdar://5569268> Crash when opening any FTP site in second tab/window
849
850         Reviewed by Sam.
851
852         * WebView.cpp:
853         (WebView::initWithFrame): Set the ftpDirectoryTemplatePath for every
854         Page, not just the first one.
855
856 2007-11-06  Adam Roben  <aroben@apple.com>
857
858         Change WebLocalizableStrings to take UTF-8 C strings
859
860         This matches the way things work on the Mac, and will allow source
861         files containing localizable strings to be shared between Mac and
862         Windows. The old functions have not been removed for compatibility
863         reasons, but are now just wrappers around the new UTF-8 functions.
864
865         Reviewed by Ada.
866
867         * WebKit.vcproj/WebKit.def: Added new functions.
868         * WebKit.vcproj/WebKit_debug.def: Ditto.
869         * WebLocalizableStrings.cpp:
870         (copyLocalizedStringFromBundle): Changed to take a WebCore::String
871         representing the key.
872         (localizedString): Refactored from WebLocalizedString. Takes a
873         WebCore::String representing the key.
874         (localizedLPCTSTR): Ditto for WebLocalizedLPCTSTR.
875         (WebLocalizedStringUTF8): Added. Takes a UTF-8 C string as the key.
876         (WebLocalizedLPCTSTRUTF8): Ditto.
877         (WebLocalizedString): Changed to call localizedString.
878         (WebLocalizedLPCTSTR): Changed to call localizedLPCTSTR.
879         * WebLocalizableStrings.h: Changed macros to use the new UTF-8
880         functions.
881
882 2007-11-06  Darin Adler  <darin@apple.com>
883
884         Reviewed by Adam and Steve.
885
886         - added hooks needed to implement showModalDialog on Windows
887
888         * Interfaces/IWebUIDelegate.idl: Added canRunModal, createModalDialog,
889         and runModal functions to the end of IWebUIDelegate3.
890
891         * WebChromeClient.h: Added uiDelegate and uiDelegate2 helper functions,
892         so it's easier to write client functions.
893         * WebChromeClient.cpp:
894         (WebChromeClient::createWindow): Implemented dialog case. Calls IWebUIDelegate3.
895         (WebChromeClient::canRunModal): Implemented. Calls IWebUIDelegate3.
896         (WebChromeClient::runModal): Ditto.
897         (WebChromeClient::uiDelegate): Added.
898         (WebChromeClient::uiDelegate2): Added.
899         (WebChromeClient::uiDelegate3): Added.
900
901 2007-11-06  Alexey Proskuryakov  <ap@webkit.org>
902
903         Rubber-stamped by Adam Roben.
904
905         Windows build fix.
906
907         * WebFrame.cpp:
908         (WebFrame::string): plainText() returns a String now.
909
910 2007-11-05  Ada Chan  <adachan@apple.com>
911
912         <rdar://problem/5579772> Regression: AltGr does not work
913         Testing whether alt-key is down is not the right test for system key event.
914         Added a m_isSystemKey flag in PlatformKeyboardEvent to keep track of whether
915         this is a system key event, check that flag instead in handleEditingKeyboardEvent().
916
917         Reviewed by Oliver.
918
919         * WebView.cpp:
920         (WebView::keyUp):
921         (WebView::handleEditingKeyboardEvent):
922         (WebView::keyDown):
923         (WebViewWndProc):
924         * WebView.h:
925
926 2007-11-05  Ada Chan  <adachan@apple.com>
927
928         Build fix.
929
930         Reviewed by Tristan.
931
932         * WebChromeClient.h:
933
934 2007-11-05  Tristan O'Tierney  <tristan@apple.com>
935
936         Reviewed by Darin Adler.
937         
938         Part of the WebKit/WebCore API changes for
939         <rdar://problem/5368188>
940
941         * WebChromeClient.cpp:
942         (WebChromeClient::createWindow):
943         Removed usage of createModalDialog and revised to use new createWindow
944         ChromeClient API.
945
946 2007-11-04  Adam Roben  <aroben@apple.com>
947
948         Add IWebCache::disabled
949
950         This matches the Mac WebCache class.
951
952         Reviewed by Sam.
953
954         * Interfaces/IWebCache.idl:
955         * WebCache.cpp:
956         (WebCache::disabled):
957         * WebCache.h:
958
959 2007-11-04  Adam Roben  <aroben@apple.com>
960
961         Add IWebInspector and a way to get one from a WebView
962
963         This API matches the Mac one added in r27266.
964
965         Reviewed by Sam.
966
967         * Interfaces/IWebInspector.idl: Added.
968         * Interfaces/IWebViewPrivate.idl: Added a new inspector method to
969         match Mac.
970         * WebInspector.cpp: Added.
971         (WebInspector::createInstance):
972         (WebInspector::WebInspector):
973         (WebInspector::~WebInspector):
974         (WebInspector::webViewClosed):
975         (WebInspector::QueryInterface):
976         (WebInspector::AddRef):
977         (WebInspector::Release):
978         (WebInspector::show):
979         (WebInspector::showConsole):
980         (WebInspector::showTimeline):
981         (WebInspector::close):
982         (WebInspector::attach):
983         (WebInspector::detach):
984         * WebInspector.h: Added.
985         * WebKit.vcproj/Interfaces.vcproj: Added IWebInspector.idl.
986         * WebKit.vcproj/WebKit.vcproj: Added WebInspector.{cpp,h}.
987         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebInspector_i.c.
988         * WebView.cpp:
989         (WebView::close): Notify the WebInspector that we're closing.
990         (WebView::inspector): Added.
991         * WebView.h:
992
993 2007-11-04  Adam Roben  <aroben@apple.com>
994
995         Cache strings that come directly from WebLocalizedString
996
997         Reviewed by Steve.
998
999         * WebLocalizableStrings.cpp:
1000         (copyLocalizedStringFromBundle): This used to be WebLocalizedString,
1001         but is now just a static helper function.
1002         (findCachedStringInMap): Added static helper.
1003         (findCachedString): Refactored and cleaned up code from
1004         WebLocalizedLPCTSTR.
1005         (cacheString): Ditto.
1006         (WebLocalizedString): Rewrote to use the new helper functions.
1007         (WebLocalizedLPCTSTR): Changed to use the new helper functions.
1008
1009 2007-11-03  Adam Roben  <aroben@apple.com>
1010
1011         Only override the default user agent string if we're actually given a custom one
1012
1013         Reviewed by Sam.
1014
1015         * WebView.cpp:
1016         (WebView::setCustomUserAgent):
1017
1018 2007-11-01  Oliver Hunt  <oliver@apple.com>
1019
1020         Reviewed by Alexey.
1021
1022         Allow Shift, Ctrl, Alt, Meta and Capslock keys to be sent into WebCore.
1023
1024         * WebView.cpp:
1025         (WebView::keyDown):
1026         (WebView::keyUp):
1027
1028 2007-11-01  Kevin McCullough  <kmccullough@apple.com>
1029
1030         - Fixed a build failure
1031
1032         * WebEditorClient.cpp:
1033         (WebEditorClient::textWillBeDeletedInTextField):
1034
1035 2007-11-01  Adam Roben  <aroben@apple.com>
1036
1037         Fix the parameter type of WebLocalizedString to match the UI_STRING macro
1038
1039         Reviewed by Sam.
1040
1041         * WebLocalizableStrings.cpp:
1042         (WebLocalizedString):
1043         (WebLocalizedLPCTSTR):
1044         * WebLocalizableStrings.h:
1045
1046 2007-11-01  Alexey Proskuryakov  <ap@webkit.org>
1047
1048         Rubber-stamped by Adam Roben.
1049
1050         Rolled out r27326 - debug CRT seems to cause no problems after all.
1051
1052         * WebKit.vcproj/WebKit.vcproj:
1053
1054 2007-10-31  Adam Roben  <aroben@apple.com>
1055
1056         Switch the Debug configuration to using the non-debug CRT
1057
1058         The debug CRT conflicts with what Safari uses, which causes loading
1059         problems.
1060
1061         Reviewed by Steve.
1062
1063         * WebKit.vcproj/WebKit.vcproj:
1064
1065 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
1066
1067         Reviewed by Adam and Geoff.
1068
1069         - Added the globalContext method so Drosera can ask a WebFrame for its
1070         context.
1071
1072         * Interfaces/IWebFrame.idl:
1073         * WebFrame.cpp:
1074         * WebFrame.h:
1075
1076 2007-10-30  Adele Peterson  <adele@apple.com>
1077
1078         Reviewed by Darin.
1079
1080         WebKitWin part of fix for http://bugs.webkit.org/show_bug.cgi?id=10577
1081         <rdar://problem/5110427> REGRESSION: Caps lock icon should show in password fields
1082
1083         * WebView.cpp: (WebView::keyDown): Call capsLockStateMayHaveChanged so WebCore knows it may have to update a password field.
1084
1085 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
1086
1087         Reviewed by Adam and Maciej.
1088
1089         - Added the IWebScriptScope interface which is used by Drosera to get
1090         information and run contextually significant code with respect to the
1091         current JS stack frame.
1092
1093         * Interfaces/IWebScriptCallFrame.idl: Line endings changed, not sure why
1094         but the real changes were to change the return type of scopeChain() and
1095         the return type and name of evaluateWebScript() to
1096         stringByEvaluatingJavaScriptFromString().
1097         * Interfaces/IWebScriptScope.idl: Added.
1098         * WebKit.vcproj/Interfaces.vcproj: Added the new interface.
1099         * WebKit.vcproj/WebKit.vcproj: Added the files for the new class.
1100         * WebKit.vcproj/WebKitGUID.vcproj: Added the new interfaces.
1101         * WebScriptCallFrame.cpp: Changed the return type to E_NOTIMPL and
1102         asserted so it would be obvious if I accidentally try to use one of
1103         these functions before it's implemented.
1104         (WebScriptCallFrame::caller):
1105         (WebScriptCallFrame::scopeChain):
1106         (WebScriptCallFrame::functionName):
1107         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
1108         * WebScriptCallFrame.h: Changed the return types mentioned above.
1109         * WebScriptDebugServer.cpp: Also changed the return type to E_NOTIMPL.
1110         (WebScriptDebugServer::addListener):
1111         (WebScriptDebugServer::removeListener):
1112         (WebScriptDebugServer::step):
1113         (WebScriptDebugServer::pause):
1114         (WebScriptDebugServer::resume):
1115         (WebScriptDebugServer::isPaused):
1116         * WebScriptScope.cpp: Added.
1117         (WebScriptScope::WebScriptScope):
1118         (WebScriptScope::~WebScriptScope):
1119         (WebScriptScope::QueryInterface):
1120         (WebScriptScope::AddRef):
1121         (WebScriptScope::Release):
1122         (WebScriptScope::getVariableNames):
1123         (WebScriptScope::getValueForVariable):
1124         * WebScriptScope.h: Added.
1125
1126 2007-10-28  Darin Adler  <darin@apple.com>
1127
1128         - try to fix Windows build
1129
1130         * WebKit.vcproj/WebKit.vcproj: Suppress warning 4800 (conversion to bool),
1131         since we don't want to add !! everywhere, and because HashTable.h has a
1132         conversion to bool of this type now.
1133
1134 2007-10-27  Kevin McCullough  <kmccullough@apple.com>
1135
1136         Reviewed by Adam.
1137
1138         - Stubbed out IWebScriptCallFrame for Drosera.
1139
1140         * Interfaces/IWebScriptCallFrame.idl: Added function declarations.
1141         * WebKit.vcproj/WebKit.vcproj: Added .h/.cpp files to the project.
1142         * WebScriptCallFrame.cpp: Added.
1143         (WebScriptCallFrame::WebScriptCallFrame):
1144         (WebScriptCallFrame::~WebScriptCallFrame):
1145         (WebScriptCallFrame::createInstance):
1146         (WebScriptCallFrame::QueryInterface):
1147         (WebScriptCallFrame::AddRef):
1148         (WebScriptCallFrame::Release):
1149         (WebScriptCallFrame::caller):
1150         (WebScriptCallFrame::scopeChain):
1151         (WebScriptCallFrame::functionName):
1152         (WebScriptCallFrame::evaluateWebScript):
1153         * WebScriptCallFrame.h: Added.
1154
1155 2007-10-26  Kevin McCullough  <kmccullough@apple.com>
1156
1157         Reviewed by Sam and Steve.
1158
1159         - Added convenience methods for converting between BSTR and JSSTringRefs
1160         - Added WebKit_debug.def to the project.
1161
1162         * WebKit.vcproj/WebKit.def:
1163         * WebKit.vcproj/WebKit.vcproj:
1164         * WebKit.vcproj/WebKit_debug.def:
1165
1166 2007-10-25  Sam Weinig  <sam@webkit.org>
1167
1168         Reviewed by Adam Roben.
1169
1170         Make debug builds run again.
1171
1172         * WebView.cpp:
1173         (WebView::notifyPreferencesChanged):
1174
1175 2007-10-25  Sam Weinig  <sam@webkit.org>
1176
1177         Reviewed by Adam Roben.
1178
1179         Remove JSStringRefCFHack.
1180
1181         * WebKit.vcproj/WebKit.vcproj:
1182
1183 2007-10-25  Sam Weinig  <sam@webkit.org>
1184
1185         Reviewed by Steve Falkenburg.
1186
1187         Fix for <rdar://problem/5463608>
1188         Port WebKit cache model code (Windows needs a big disk cache, smarter memory cache) 
1189
1190         * Interfaces/IWebPreferences.idl: 
1191         Deprecate pageCacheSize and objectCacheSize and add cacheModel/setCacheModel.
1192
1193         * Interfaces/IWebPreferencesPrivate.idl:
1194         Add automaticallyDetectsCacheModel/setAutomaticallyDetectsCacheModel
1195      
1196         * WebFrame.cpp:
1197         (WebFrame::didPerformFirstNavigation):
1198         Implement based on the mac version.
1199
1200         * WebKit.vcproj/WebKit.vcproj:
1201         * WebKitSystemBits.cpp: Added.
1202         (WebMemorySize): Moved and renamed from WebPreferences.cpp
1203         (WebVolumeFreeSize): Added.
1204         * WebKitSystemBits.h: Added.
1205         * WebPreferenceKeysPrivate.h: Added WebKitCacheModelPreferenceKey.
1206
1207         * WebPreferences.cpp:
1208         (WebPreferences::sharedStandardPreferences):
1209         (WebPreferences::WebPreferences):
1210         (WebPreferences::initializeDefaultSettings): Added default for cacheModel.
1211         (WebPreferences::webPreferencesChangedNotification):
1212         (WebPreferences::webPreferencesRemovedNotification):
1213         (WebPreferences::initWithIdentifier): Post a preferences change notification.
1214         (WebPreferences::pageCacheSize): Deprecated.
1215         (WebPreferences::objectCacheSize): Deprecated.
1216         (WebPreferences::cacheModel): Added.
1217         (WebPreferences::setCacheModel): Added.
1218         (WebPreferences::setAutomaticallyDetectsCacheModel): Added.
1219         (WebPreferences::automaticallyDetectsCacheModel): Added.
1220         (WebPreferences::willAddToWebView): Added.
1221         (WebPreferences::didRemoveFromWebView): Added.
1222         * WebPreferences.h:
1223
1224         * WebView.cpp:
1225         (PreferencesChangedOrRemovedObserver::PreferencesChangedOrRemovedObserver):
1226         (PreferencesChangedOrRemovedObserver::~PreferencesChangedOrRemovedObserver):
1227         (PreferencesChangedOrRemovedObserver::QueryInterface):
1228         (PreferencesChangedOrRemovedObserver::AddRef):
1229         (PreferencesChangedOrRemovedObserver::Release):
1230         (PreferencesChangedOrRemovedObserver::sharedInstance):
1231         (PreferencesChangedOrRemovedObserver::onNotify):
1232         (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
1233         (PreferencesChangedOrRemovedObserver::notifyPreferencesRemoved):
1234         This singleton class updates static properties for all webviews when
1235         preferenceChange or preferenceRemoved notifications are fired for
1236         any WebPreference.
1237         (WebView::WebView):
1238         (WebView::~WebView):
1239         (initializeStaticObservers):
1240         (allWebViewsSet):
1241         (WebView::addToAllWebViewsSet):
1242         (WebView::removeFromAllWebViewsSet):
1243         (WebView::setCacheModel):
1244         (WebView::cacheModel):
1245         (WebView::didSetCacheModel):
1246         (WebView::maxCacheModelInAnyInstance):
1247         (WebView::close):
1248         (WebViewWndProc):
1249         (WebView::developerExtrasEnabled):
1250         (WebView::initWithFrame):
1251         (WebView::setPreferences):
1252         (WebView::preferences):
1253         (WebView::onNotify):
1254         (WebView::notifyPreferencesChanged):
1255         (updateSharedSettingsFromPreferencesIfNeeded):
1256         * WebView.h:
1257         Match the macs behavior by using explicit postings of notifications to
1258         update the preferences.
1259
1260 2007-10-25  Adam Roben  <aroben@apple.com>
1261
1262         Update WebKit.sln for the removal of Release dftables
1263
1264         Reviewed by NOBODY.
1265
1266         * WebKit.vcproj/WebKit.sln:
1267
1268 2007-10-25  Kevin McCullough  <kmccullough@apple.com>
1269
1270         Rubber stamped by Geoff.
1271
1272         - Stubbed out the WebScriptDebugServer methods to give Drosera something
1273         to connect to and now the signature of the interface matches the mac.
1274
1275         * Interfaces/IWebScriptDebugServer.idl:
1276         * WebScriptDebugServer.cpp:
1277         (WebScriptDebugServer::addListener):
1278         (WebScriptDebugServer::removeListener):
1279         (WebScriptDebugServer::step):
1280         (WebScriptDebugServer::pause):
1281         (WebScriptDebugServer::resume):
1282         (WebScriptDebugServer::isPaused):
1283         * WebScriptDebugServer.h:
1284
1285 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
1286
1287         Reviewed by Darin.
1288
1289         - Renamed WebDebugProgram to WebScriptDebugServer to match the naming
1290         scheme on the mac.
1291
1292         * Interfaces/IWebDebugProgram.idl: Removed.
1293         * Interfaces/IWebScriptDebugServer.idl: Copied from win/Interfaces/IWebDebugProgram.idl.
1294         * Interfaces/WebKit.idl: 
1295         * WebDebugProgram.cpp: Removed.
1296         * WebDebugProgram.h: Removed.
1297         * WebKit.vcproj/Interfaces.vcproj:
1298         * WebKit.vcproj/WebKit.vcproj:
1299         * WebKit.vcproj/WebKitGUID.vcproj:
1300         * WebKitClassFactory.cpp:
1301         (WebKitClassFactory::CreateInstance):
1302         * WebKitDLL.cpp:
1303         (RunAsLocalServer):
1304         * WebScriptDebugServer.cpp: Copied from win/WebDebugProgram.cpp.
1305         (WebScriptDebugServer::WebScriptDebugServer):
1306         (WebScriptDebugServer::~WebScriptDebugServer):
1307         (WebScriptDebugServer::createInstance):
1308         (WebScriptDebugServer::QueryInterface):
1309         (WebScriptDebugServer::AddRef):
1310         (WebScriptDebugServer::Release):
1311         (WebScriptDebugServer::viewAdded):
1312         (WebScriptDebugServer::viewRemoved):
1313         (WebScriptDebugServer::attach):
1314         (WebScriptDebugServer::detach):
1315         (WebScriptDebugServer::statistics):
1316         (WebScriptDebugServer::webViews):
1317         * WebScriptDebugServer.h: Copied from win/WebDebugProgram.h.
1318         * WebView.cpp:
1319         (WebView::WebView):
1320         (WebView::~WebView):
1321
1322 2007-10-24  Adam Roben  <aroben@apple.com>
1323
1324         Fix <rdar://5549919> Initialize the font database before any font code is invoked
1325
1326         We initialize the database in two places:
1327            1. When instantiating WebKitClassFactory, which is guaranteed to
1328            happen before any WebView is instantiated.
1329            2. When making a WebCore::Font in WebKitGraphics.
1330
1331         This ensures that the font database will be populated before any font
1332         code is invoked. We rely on WebCore to only populate the database
1333         once.
1334
1335         Reviewed by Ada.
1336
1337         * WebKitClassFactory.cpp:
1338         (WebKitClassFactory::WebKitClassFactory): Populate the font database.
1339         * WebKitGraphics.cpp:
1340         (makeFont): Ditto.
1341
1342 2007-10-24  Adam Roben  <aroben@apple.com>
1343
1344         Add [I]WebTextRenderer
1345
1346         Right now this class can only be used to add private fonts for use by
1347         the running process, but will eventually be the home of the
1348         WebKitGraphics functions.
1349
1350         Reviewed by Ada.
1351
1352         * ForEachCoClass.h: Added WebTextRenderer.
1353         * Interfaces/WebKit.idl: Ditto.
1354         * WebKit.vcproj/Interfaces.vcproj: Ditto.
1355         * WebKit.vcproj/WebKit.vcproj: Ditto.
1356         * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
1357         * WebKitClassFactory.cpp: Ditto.
1358         * WebTextRenderer.cpp: Added.
1359         (WebTextRenderer::createInstance):
1360         (WebTextRenderer::WebTextRenderer):
1361         (WebTextRenderer::~WebTextRenderer):
1362         (WebTextRenderer::QueryInterface):
1363         (WebTextRenderer::AddRef):
1364         (WebTextRenderer::Release):
1365         (WebTextRenderer::registerPrivateFont):
1366         * WebTextRenderer.h: Added.
1367
1368 2007-10-24  Adam Roben  <aroben@apple.com>
1369
1370         Use FOR_EACH_COCLASS in WebKitClassFactory
1371
1372         Reviewed by Ada.
1373
1374         * WebError.cpp:
1375         (WebError::createInstance): Added an overload that takes no arguments
1376         to make the macro used in WebKitClassFactory work.
1377         * WebError.h:
1378         * WebKitClassFactory.cpp:
1379         (WebKitClassFactory::CreateInstance): Use FOR_EACH_COCLASS.
1380
1381 2007-10-24  Adam Roben  <aroben@apple.com>
1382
1383         Put FOR_EACH_COCLASS macro into its own file and export it
1384
1385         The macro used to be called FOR_EACH_CLASS and lived in WebKitDLL.cpp.
1386         This way we will be able to use the macro in more places that care
1387         about all WebKit's COM classes.
1388
1389         Reviewed by Ada.
1390
1391         * ForEachCoClass.h: Added.
1392         * WebKit.vcproj/WebKit.vcproj: Copy ForEachCoClass.h to
1393         WebKitOutputDir, and added it to the project.
1394         * WebKitDLL.cpp: Updated for macro rename, and changed to #undef the
1395         macros we pass to FOR_EACH_COCLASS after we're done with them.
1396
1397 2007-10-24  Ada Chan  <adachan@apple.com>
1398
1399         <rdar://problem/5552221> REGRESSION(310A24-ToT): Shortcut key disable. (15604)
1400
1401         Reviewed by Adam.
1402
1403         * WebView.cpp:
1404         (WebView::handleEditingKeyboardEvent): don't handle system key events as text input
1405         (WebView::keyDown): only remove WM_SYSCHAR message from the queue if we handle it.
1406         For WM_SYSCHAR message that we don't handle, let it stay in the queue and return 
1407         false to let windows handle it.
1408
1409 2007-10-24  Brady Eidson  <beidson@apple.com>
1410
1411         Reviewed by Anders
1412
1413         Windows portion of <rdar://5554130> 
1414         
1415         Slowly introduce Windows WebKit portion of the Database API that sets the 
1416         on-disk location for databases
1417         
1418         * WebDatabaseManager.cpp: Added.
1419         (WebKitSetWebDatabasesPathIfNecessary):
1420         * WebDatabaseManager.h: Added.
1421         
1422         * WebKit.vcproj/WebKit.vcproj:
1423         
1424         * WebView.cpp:
1425         (WebView::initWithFrame): Call WebKitSetWebDatabasesPathIfNecessary()
1426
1427 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
1428
1429         Reviewed by Sam, Steve and Darin.
1430
1431         - Added stubs for what will be neede to let Drosera attach to the
1432         WebKit process and debug it.
1433
1434         * Interfaces/IWebScriptCallFrame.idl: Added.
1435         * Interfaces/IWebScriptDebugListener.idl: Added.
1436         * Interfaces/WebKit.idl:
1437         * WebKit.vcproj/Interfaces.vcproj:
1438         * WebKit.vcproj/WebKitGUID.vcproj:
1439
1440 2007-10-23  Adam Roben  <aroben@apple.com>
1441
1442         Move safe file creation code to WebCore
1443
1444         Reviewed by Brady.
1445
1446         * WebPreferences.cpp:
1447         (preferencesPath): Made into a static helper function.
1448         (WebPreferences::save): Now calls WebCore's safeCreateFile function.
1449         (WebPreferences::load): Uses String/CString to handle the UTF-8
1450         conversion.
1451         * WebPreferences.h: Removed preferencesPath and
1452         safeCreateFileWithData.
1453
1454 2007-10-23  Adam Roben  <aroben@apple.com>
1455
1456         Reduce code duplication by using WebCore's FileSystem functions
1457
1458         Reviewed by Brady.
1459
1460         * WebIconDatabase.cpp: Removed a now-unused function and a fixed
1461         FIXME.
1462         (WebIconDatabase::init): Changed to use FileSystem functions.
1463         * WebPreferences.cpp:
1464         (WebPreferences::preferencesPath): Ditto.
1465
1466 2007-10-23  Sam Weinig  <sam@webkit.org>
1467
1468         Make the WebNotificationCenter work with null (wildcard) and specific
1469         observed objects, matching NSNotificationCenter.
1470
1471         - Removes the ObserverKey, ObserverHash, and ObserverKeyTraits as we now
1472           hash against the notification name only and check the object on notification
1473           posting.
1474         - Use OwnPtr for the WebNotificationCenterPrivate member variable.
1475
1476         Reviewed by Adam Roben.
1477
1478         * WebNotificationCenter.cpp:
1479         (WebNotificationCenter::WebNotificationCenter):
1480         (WebNotificationCenter::~WebNotificationCenter):
1481         (WebNotificationCenter::postNotificationInternal):
1482         (WebNotificationCenter::addObserver):
1483         (WebNotificationCenter::postNotification):
1484         (WebNotificationCenter::postNotificationName):
1485         (WebNotificationCenter::removeObserver):
1486         * WebNotificationCenter.h:
1487
1488 2007-10-23  Ada Chan  <adachan@apple.com>
1489
1490         <rdar://problem/5244261> SafariWin ignores cookie policy setting "never" in the preferences
1491         Custom WebPreferences (not the shared WebPreferences) could override the cookie accept
1492         policy setting on the default cookie storage.  To fix that, I added a new method in
1493         WebView called updateGlobalSettingsFromPreferences() to handle updating the global pref
1494         options such as cookie accept policy, and it's only called to update changes from
1495         the shared WebPreferences.
1496         
1497         Use CLSID_WebPreferences and remove IID_WebPreferences.
1498
1499         Reviewed by Darin and Adam.
1500
1501         * WebPreferences.cpp:
1502         (WebPreferences::QueryInterface):
1503         * WebPreferences.h:
1504         * WebView.cpp:
1505         (WebView::updateWebCoreSettingsFromPreferences):
1506         (WebView::updateGlobalSettingsFromPreferences):
1507         (WebView::updateSettingsFromPreferences):
1508         (WebView::developerExtrasEnabled):
1509         (WebView::initWithFrame):
1510         (WebView::onNotify):
1511         * WebView.h:
1512
1513 2007-10-18  Brady Eidson  <beidson@apple.com>
1514
1515         Reviewed by Anders
1516
1517         Keep windows building with new Chrome additions
1518
1519         * WebChromeClient.cpp:
1520         * WebChromeClient.h:
1521
1522 2007-10-18  Adam Roben  <aroben@apple.com>
1523
1524         Fix <rdar://5547784> ProgIDMacros.h should explicitly use wide strings
1525
1526         Reviewed by Adele.
1527
1528         * ProgIDMacros.h: Always use wide strings instead of relying on the
1529         TEXT macro.
1530
1531 2007-10-17  Adam Roben  <aroben@apple.com>
1532
1533         Fix for clean builds needed after r26683
1534
1535         Reviewed by NOBODY.
1536
1537         * WebView.cpp: Remove #include of non-existant file.
1538
1539 2007-10-17  Anders Carlsson  <andersca@apple.com>
1540
1541         Update for locking primitive changes.
1542
1543         * WebIconDatabase.cpp:
1544         (WebIconDatabase::scheduleNotificationDelivery):
1545
1546 2007-10-16  Adam Roben  <aroben@apple.com>
1547
1548         Remove WebKitInitializer
1549
1550         Reviewed by Sam.
1551
1552         * WebKit.vcproj/WebKit.sln:
1553
1554 2007-10-16  Adam Roben  <aroben@apple.com>
1555
1556         Add FindSafari
1557
1558         Reviewed by Darin.
1559
1560         * WebKit.vcproj/WebKit.sln:
1561
1562 2007-10-16  Adam Roben  <aroben@apple.com>
1563
1564         Rename WebKit_debug.dll to WebKit.dll for the Debug configuration
1565
1566         This is needed so that we can stop having Safari delay-load WebKit,
1567         which in turn is needed so that Maciej can land a JavaScript speedup
1568         which breaks delay-loading.
1569
1570         Reviewed by Kevin McCullough.
1571
1572         * WebKit.vcproj/WebKit.vcproj: Use WebKitDLLConfigSuffix for the name
1573         of our DLL and module definition file.
1574         * WebKit.vcproj/debug.vsprops: Added WebKitDLLConfigSuffix.
1575         * WebKit.vcproj/debug_internal.vsprops: Ditto.
1576         * WebKit.vcproj/release.vsprops: Ditto.
1577
1578 2007-10-15  Jon Honeycutt  <jhoneycutt@apple.com>
1579
1580         Reviewed by Ollie.
1581
1582         <rdar://5530789>: REGRESSION(303-310A19): Crash opening .wma files with
1583         MediaPlayer for the first time
1584
1585         Failure to setup the stream in PluginView::didReceiveResponse will lead,
1586         in a full-page plugin, to the main document load being cancelled. This
1587         is the case with at least two versions of Windows Media Player, which
1588         cancels the stream and brings up its own "Welcome to Windows Media
1589         Player" dialog.
1590         
1591         As part of the main document load cancellation, m_pluginView is set to
1592         null, and the crash came from dereferencing this pointer. This patch
1593         adds a null check.
1594
1595         * WebFrame.cpp:
1596         (WebFrame::finishedLoading): Fix some typos
1597         (WebFrame::committedLoad): Added a null check
1598
1599 2007-10-15  Alice Liu  <alice.liu@apple.com>
1600
1601         Reviewed by Sam Weinig.
1602
1603         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1604
1605         * DefaultPolicyDelegate.cpp: Added.
1606         Implementation is a direct port of WebKit/DefaultDelegates/WebDefaultPolicyDelegate.m
1607         (DefaultPolicyDelegate::DefaultPolicyDelegate):
1608         (DefaultPolicyDelegate::~DefaultPolicyDelegate):
1609         (DefaultPolicyDelegate::sharedInstance):
1610         (DefaultPolicyDelegate::createInstance):
1611         (DefaultPolicyDelegate::QueryInterface):
1612         (DefaultPolicyDelegate::AddRef):
1613         (DefaultPolicyDelegate::Release):
1614         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1615         (DefaultPolicyDelegate::decidePolicyForNewWindowAction):
1616         (DefaultPolicyDelegate::decidePolicyForMIMEType):
1617         (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1618         * DefaultPolicyDelegate.h: Added.
1619         * WebFrame.cpp:
1620         (WebFrame::dispatchDecidePolicyForNavigationAction):
1621         Implemented default action
1622         * WebKit.vcproj/WebKit.vcproj:
1623         Adding files to project
1624
1625 2007-10-12  Steve Falkenburg  <sfalken@apple.com>
1626
1627         Move pthreads up in the linker order and don't mark it for delay load.
1628         Fixes crash during regsvr32 of WebKit (currently repro if you do a spade ti).
1629         
1630         Reviewed by Darin, Ada.
1631
1632         * WebKit.vcproj/WebKit.vcproj:
1633
1634 2007-10-11  Steve Falkenburg  <sfalken@apple.com>
1635
1636         Delay load additional libraries to improve startup time.
1637         
1638         Reviewed by Darin, Ada.
1639
1640         * WebKit.vcproj/WebKit.vcproj:
1641
1642 2007-10-11  Ada Chan  <adachan@apple.com>
1643
1644         <rdar://problem/5534421>
1645         Switched to using wkGetDefaultHTTPCookieStorage() to avoid recreating CFHTTPCookieStorageRef.
1646         Removed usage of ResourceHandle::cookieStorage().
1647
1648         Reviewed by Oliver.
1649
1650         * WebView.cpp:
1651         (WebView::updateWebCoreSettingsFromPreferences):
1652         (WebView::initWithFrame):
1653
1654 2007-10-10  Alice Liu  <alice.liu@apple.com>
1655
1656         Reviewed by Geoff Garen.
1657
1658         Fixed <rdar://5464402> Crash when running fast/frames/onload-remove-iframe-crash.html in DRT
1659
1660         * WebFrame.cpp:
1661         (WebFrame::createFrame):
1662         The crash was caused by the early destruction of the subframe.  To resolve this issue, 
1663         the manual deref of the child frame that occurs in between being appended to the 
1664         frametree and being used in loadURLIntoChild wasn't exactly incorrect, but just needed 
1665         to be moved until after loadURLIntoChild. This hasn't been a problem for other uses of 
1666         child frames because this test case involves removing a child frame immediately after 
1667         loading it, all in an onload handler.  Even better than just moving the deref would be 
1668         to change the signature of createFrame to use a RefPtr<Frame> so that a manual deref isn't 
1669         necessary. This is what was done in this patch. 
1670         * WebFrame.h:
1671         createFrame() now returns a RefPtr instead of a raw Frame pointer. 
1672         Making this change improves the way we handle frames on Windows WebKit. 
1673
1674
1675 2007-10-05  Ada Chan  <adachan@apple.com>
1676
1677         <rdar://problem/5436617>
1678         Implement WebIconDatabase::delayDatabaseCleanup() and WebIconDatabase::allowDatabaseCleanup().
1679
1680         Reviewed by Brady.
1681
1682         * WebIconDatabase.cpp:
1683         (WebIconDatabase::delayDatabaseCleanup):
1684         (WebIconDatabase::allowDatabaseCleanup):
1685
1686 2007-10-04  Adele Peterson  <adele@apple.com>
1687
1688         * Interfaces/IWebViewPrivate.idl: Moving setInitialFocus down to the end to avoid breaking the OpenSource build.
1689
1690 2007-10-04  Adele Peterson  <adele@apple.com>
1691
1692         Reviewed by Darin.
1693
1694         WebKit/win part of fix for <rdar://problem/5369017> REGRESSION: Can't tab to webview that doesn't have editable content
1695
1696         * WebView.cpp: Added setInitialFocus so the application can specify that its handing off focus to WebKit
1697           and so that it can specify the focus direction.
1698         * WebView.h: ditto.
1699         * Interfaces/IWebViewPrivate.idl: ditto.
1700
1701 2007-10-03  Ada Chan  <adachan@apple.com>
1702
1703         <rdar://problem/5521230> Implement IWebIconDatabase::iconURLForURL in WebKit for windows
1704
1705         Reviewed by Steve and Brady.
1706
1707         * Interfaces/IWebIconDatabase.idl:
1708         * WebIconDatabase.cpp:
1709         (WebIconDatabase::iconURLForURL):
1710         * WebIconDatabase.h:
1711
1712 2007-10-02  Sam Weinig  <sam@webkit.org>
1713
1714         Rubber-stamped by Adam Roben.
1715
1716         * Interfaces/IWebPreferences.idl: Remove unnecessary comments. 
1717
1718 2007-10-02  Darin Adler  <darin@apple.com>
1719
1720         Reviewed by Adam.
1721
1722         - started using the new OwnPtr everywhere we do DeleteObject
1723
1724         * WebNodeHighlight.cpp:
1725         (WebNodeHighlight::updateWindow):
1726         * WebView.cpp:
1727         (WebView::WebView):
1728         (WebView::deleteBackingStore):
1729         (WebView::ensureBackingStore):
1730         (WebView::addToDirtyRegion):
1731         (WebView::scrollBackingStore):
1732         (WebView::updateBackingStore):
1733         (WebView::paint):
1734         (WebView::paintIntoBackingStore):
1735         (WebView::paintIntoWindow):
1736         * WebView.h:
1737
1738 2007-10-02  Adam Roben  <aroben@apple.com>
1739
1740         Fix <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
1741
1742         I also added a few registry keys for our version-independent ProgIDs
1743         that we were missing.
1744
1745         Reviewed by Steve.
1746
1747         * ProgIDMacros.h: Added new macros to get version-independent ProgIDs.
1748         * WebKitDLL.cpp: Use the version-independent ProgIDs in the right
1749         places, and added some new keys for version-independent ProgIDs.
1750
1751 2007-10-02  Anders Carlsson  <andersca@apple.com>
1752
1753         Reviewed by Adam.
1754
1755         Fix a bug discovered by app verifier where we would treat an LPCTSTR as a BSTR causing a crash.
1756         
1757         Also rename some protection space constants and change their values to match the mac version.
1758         
1759         * Interfaces/IWebURLAuthenticationChallenge.idl:
1760         * WebURLProtectionSpace.cpp:
1761         (WebURLProtectionSpace::initWithHost):
1762         (WebURLProtectionSpace::initWithProxyHost):
1763         (WebURLProtectionSpace::protocol):
1764         (WebURLProtectionSpace::proxyType):
1765
1766 2007-09-29  Adam Roben  <aroben@apple.com>
1767
1768         Clean-up in preparation for <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
1769
1770         Reviewed by Steve.
1771
1772         * ProgIDMacros.h: Stringify the passed in class name.
1773         * WebKitDLL.cpp: Added a FOR_EACH_CLASS macro to ensure that our class
1774         lists stay in the right order, and updated uses of the *_PROGID macros
1775         for to take the stringification into account.
1776
1777 2007-09-27  Kevin McCullough  <kmccullough@apple.com>
1778
1779         Reviewed by Darin.
1780
1781         - <rdar://5261371> Nothing downloaded when exporting bookmarks from iGoogle web history
1782         - Implemented IWebHTTPURLResponse::allHeaderFields so that if the content disposition is "attachment" we will download the file instead of display it.  Also implemented some missing functionality.
1783
1784         * HTTPHeaderPropertyBag.cpp: Added.
1785         (HTTPHeaderPropertyBag::HTTPHeaderPropertyBag):
1786         (HTTPHeaderPropertyBag::createInstance):
1787         (HTTPHeaderPropertyBag::setResponse):
1788         (HTTPHeaderPropertyBag::response):
1789         (HTTPHeaderPropertyBag::QueryInterface):
1790         (HTTPHeaderPropertyBag::AddRef):
1791         (HTTPHeaderPropertyBag::Release):
1792         (ConvertFromLPCOLESTR):
1793         (ConvertToVariant):
1794         (ConvertFromVariant):
1795         (HTTPHeaderPropertyBag::Read):
1796         (HTTPHeaderPropertyBag::Write):
1797         * HTTPHeaderPropertyBag.h: Added.
1798         * Interfaces/IWebHTTPURLResponse.idl:
1799         * WebKit.vcproj/WebKit.vcproj:
1800         * WebURLResponse.cpp:
1801         (WebURLResponse::allHeaderFields):
1802         (WebURLResponse::isAttachment):
1803         * WebURLResponse.h:
1804
1805 2007-09-27  Ada Chan  <adachan@apple.com>
1806
1807         <rdar://problem/5507481> Added a delegate method to inform the client
1808         app that WebView has painted.
1809
1810         Reviewed by Steve.
1811
1812         * Interfaces/IWebUIDelegatePrivate.idl:
1813         * WebView.cpp:
1814         (WebView::updateBackingStore):
1815
1816 2007-09-25  Adam Roben  <aroben@apple.com>
1817
1818         Add WebKitInitializer to WebKit.sln
1819
1820         Reviewed by Sam.
1821
1822         * WebKit.vcproj/WebKit.sln: DumpRenderTree and testkjs now depend on
1823         WebKitInitializer.
1824
1825 2007-09-25  Darin Adler  <darin@apple.com>
1826
1827         Reviewed by Steve.
1828
1829         - fix <rdar://problem/5095701> Download requring HTTP auth fails
1830           (progress bar forever)
1831
1832         The functions in WebDownload relating to authentication challenges needed
1833         to be implemented.
1834
1835         * WebDownload.cpp:
1836         (WebDownload::cancelAuthenticationChallenge): Implement.
1837         (WebDownload::continueWithoutCredentialForAuthenticationChallenge): Ditto.
1838         (WebDownload::useCredential): Ditto.
1839         (WebDownload::willSendRequest): Fix storage leak by adopting request
1840         and response after creating them. Also retain the result before returning
1841         it, since that's the API contract with CFNetwork.
1842         (WebDownload::didReceiveAuthenticationChallenge): Implement.
1843         (WebDownload::didReceiveResponse): Fix storage leak by adopting response.
1844         (WebDownload::willResumeWithResponse): Ditto.
1845         (WebDownload::didFail): Ditto.
1846
1847         * WebURLAuthenticationChallenge.h: Get rid of the IID #define,
1848         instead using __declspec(uuid). Added a sender parameter to the
1849         create function and an m_sender data member.
1850         * WebURLAuthenticationChallenge.cpp:
1851         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge): Added an
1852         explicit sender parameter so this can be used with a WebDownload, which
1853         does not involve a ResourceHandle. Later we should clean this up and not
1854         involve WebCore or ResourceHandle directly even for the non-download case.
1855         (WebURLAuthenticationChallenge::createInstance): Added an overload for the
1856         case with an explicit sender parameter.
1857         (WebURLAuthenticationChallenge::QueryInterface): Use __uuidof for the ID
1858         of this class. In general, we should move to __uuidof as much as possible
1859         and keep the separate macros to a minimum -- but we should do this for all
1860         uses of each class at one time to make sure we don't run into problems
1861         with two different UUIDs for the same class. This patch does it for three
1862         classes.
1863         (WebURLAuthenticationChallenge::initWithProtectionSpace): Use the query
1864         constructor instead of an explicit QueryInterface for WebURLCredential.
1865         This is another class where I'm switching from CLSID/IID macros to the
1866         use of __uuidof, but in this case the use of __uuidof is implicit.
1867         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): Ditto,
1868         but for WebURLAuthenticationChallenge and WebURLAuthenticationChallengeSender.
1869         (WebURLAuthenticationChallenge::sender): Use the new m_sender member to
1870         cache the sender object and also use the one that was passed into the
1871         constructor, if any.
1872
1873         * WebURLAuthenticationChallengeSender.h: Get rid of the IID #define,
1874         instead using __declspec(uuid). Also minimize includes and make data
1875         members private instead of protected.
1876         * WebURLAuthenticationChallengeSender.cpp:
1877         (WebURLAuthenticationChallengeSender::QueryInterface): Use __uuidof instead
1878         of IID macro.
1879         (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
1880         Use query constructor instead of QueryInterface.
1881         (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
1882         Ditto.
1883         (WebURLAuthenticationChallengeSender::useCredential): Ditto.
1884
1885         * WebURLCredential.cpp: (WebURLCredential::QueryInterface): Use __uuidof
1886         instead of CLSID_WebURLCredential.
1887
1888         - tangentially-related cleanup
1889
1890         * WebFrame.cpp:
1891         (WebFrame::dispatchDidReceiveAuthenticationChallenge): Use the adopt
1892         constructor instead of a separate adoptRef call.
1893         (WebFrame::dispatchDidCancelAuthenticationChallenge): Ditto.
1894
1895 2007-09-24  Brady Eidson  <beidson@apple.com>
1896
1897         Reviewed by John Sullivan
1898
1899         Fix for <rdar://5493371> - Crash in Icon Database on Windows
1900         
1901         * WebIconDatabase.cpp:
1902         (WebIconDatabase::iconForURL): If the URL is NULL, fallback to the default icon without asking WebCore
1903
1904 2007-09-24  Adam Roben  <aroben@apple.com>
1905
1906         Fix <rdar://5499507> FrameView will always have size (0,0) if its parent WebView is never resized
1907
1908         Reviewed by Darin.
1909
1910         * WebView.cpp:
1911         (WebView::initWithFrame): Set the main FrameView's size to the size of
1912         the WebView.
1913
1914 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
1915
1916         - Fixed a syntax guideline mistake.
1917
1918         * WebChromeClient.cpp:
1919         (WebChromeClient::scrollbarsVisible):
1920
1921 2007-09-20  Oliver Hunt  <oliver@apple.com>
1922
1923         Reviewed by Steve.
1924
1925         <rdar://problem/5487153> Korean characters are displayed as garbage with default encoding in some Korean web sites
1926
1927         Adding support for per-localisation default character encodings on
1928         windows.
1929         
1930         * English.lproj/Localizable.strings:
1931         * WebPreferences.cpp:
1932         (WebPreferences::initializeDefaultSettings):
1933
1934 2007-09-20  Kevin McCullough  <kmccullough@apple.com>
1935
1936         Reviewed by Oliver.
1937
1938         - Added the ability to ask if scrollbars are visible
1939         - <rdar://problem/5496211> scrollbarsVisible in WebChromeClient is not implemented
1940
1941         * WebChromeClient.cpp:
1942         (WebChromeClient::scrollbarsVisible):
1943
1944 2007-09-20  Ada Chan  <adachan@apple.com>
1945
1946         <rdar://problem/5477240> Regression: Footer is too high in print preview
1947
1948         Reviewed by Steve.
1949
1950         * WebFrame.cpp:
1951         (WebFrame::WebFrame): initialize new data member m_pageHeight, which is the height of the page adjusted for margins.
1952         (WebFrame::computePageRects): get the height of the page adjusted for margins by passing m_pageHeight to
1953         computePageRectsForFrame().
1954         (WebFrame::spoolPages): footer rect's top is the max of the bottom of the page content and the bottom of the page
1955         minus footer height.
1956         * WebFrame.h:
1957
1958 2007-09-19  Kevin McCullough  <kmccullough@apple.com>
1959
1960         Reviewed by Hyatt.
1961
1962         - <rdar://problem/5101991> Avril Lavigne music player comes up in a window with scrollbars
1963         - Implementing missing scrollbar functionality to allow turning off scrollbars correctly.
1964
1965         * Interfaces/IWebFrame.idl:
1966         * Interfaces/IWebFrameView.idl:
1967         * WebChromeClient.cpp:
1968         (WebChromeClient::setScrollbarsVisible):
1969         * WebFrame.cpp:
1970         (WebFrame::setAllowsScrolling):
1971         (WebFrame::allowsScrolling):
1972         (WebFrame::frameView):
1973         * WebFrame.h:
1974
1975 2007-09-20  Brady Eidson  <beidson@apple.com>
1976
1977         Reviewed by Dave Hyatt
1978
1979         <rdar://problem/5245981> - No favicon shows up for cnet.com
1980         
1981         * WebIconDatabase.cpp:
1982         (WebIconDatabase::iconForURL): Call getHBITMAPOfSize
1983         (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto
1984
1985 2007-09-19  Sam Weinig  <sam@webkit.org>
1986
1987         Rubber stamped by Adam Roben.
1988
1989         * WebKit.vcproj/WebKit.sln: Update location of DumpRenderTree and TestNetscapePlugin
1990         to point to their new locations.
1991
1992 2007-09-18  Brady Eidson  <beidson@apple.com>
1993
1994         Reviewed by Adam
1995
1996         Final part of <rdar://problem/5471308> - Hook up async icon database on Windows        
1997
1998         * CFDictionaryPropertyBag.cpp:
1999         (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Took the opportunity to rewrite with a RetainPtr
2000           since it became available after the initial implementation
2001         (CFDictionaryPropertyBag::setDictionary):
2002         (CFDictionaryPropertyBag::dictionary): Added accessor to the CFDictionaryRef to ease use within WebKit
2003         (CFDictionaryPropertyBag::QueryInterface): Added IID_CFDictionaryPropertyBag accessor
2004         (CFDictionaryPropertyBag::Read):
2005         (CFDictionaryPropertyBag::Write):
2006         * CFDictionaryPropertyBag.h: Added IID_CFDictionaryPropertyBag
2007        
2008         * WebFrame.cpp:
2009         (WebFrame::url): Added accessor, gets the current URL from WebCore
2010         (WebFrame::dispatchDidReceiveIcon): Calls through to the WebView
2011         (WebFrame::registerForIconNotification): Ditto
2012         * WebFrame.h:        
2013
2014         * WebIconDatabase.cpp:
2015         (WebIconDatabase::iconDatabaseDidAddIconNotification):
2016         (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
2017         (WebIconDatabase::iconDatabaseDidRemoveAllIconsNotification):
2018         (postDidRemoveAllIconsNotification):
2019         (postDidAddIconNotification):
2020         * WebIconDatabase.h:        
2021
2022         * WebView.cpp:
2023         (WebView::close): Unregister for the notification, just in case
2024         (WebView::notifyDidAddIcon): Called when the webview gets the didAddIcon notification, compares the url
2025           in the notification to the current main frame URL.  If they match, calls to dispatchDidReceiveIconFromWebFrame
2026         (WebView::registerForIconNotification): 
2027         (WebView::dispatchDidReceiveIconFromWebFrame): Dispatches the FrameLoadDelegate call.  Once the delegate call is dispatched,
2028           either via the FrameLoaderClient interface of by listening for a notification, we know that our info is up to date in the 
2029           IconDatabase and we don't need to listen for the generic notification any long, so we unregister for it here, as well.
2030         (WebView::onNotify): The WebView listens for two notifications now, so make the decision which was received
2031         * WebView.h:
2032
2033 2007-09-18  Brady Eidson  <beidson@apple.com>
2034
2035         Reviewed by Ada and Geoff
2036
2037         Part of <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
2038         
2039         Hook up main thread delivery of Icon Database notifications from the secondary thread
2040         
2041         * WebIconDatabase.cpp:
2042         (WebIconDatabase::WebIconDatabase): Initialize m_deliveryRequested
2043         (WebIconDatabase::init): Set the IconDatabaseClient to the shared WebIconDatabase
2044         (WebIconDatabase::dispatchDidRemoveAllIcons): Queue the notification to be delivered on the main thread then
2045           ask for the delivery
2046         (WebIconDatabase::dispatchDidAddIconForPageURL): Ditto
2047         (WebIconDatabase::scheduleNotificationDelivery): If the m_deliveryRequested hasn't been set, then set it
2048           and perform the callOnMainThread() for WebIconDatabase::deliverNotifications
2049         (postDidRemoveAllIconsNotification):
2050         (postDidAddIconNotification):
2051         (WebIconDatabase::deliverNotifications): Deliver all notifications in the current queue
2052         * WebIconDatabase.h:
2053
2054 2007-09-17  Geoffrey Garen  <ggaren@apple.com>
2055
2056         Reviewed by Darin Adler.
2057
2058         Fixed a hang due to an infinite script running in the window's unload 
2059         event handler, which may be the cause of <rdar://problem/5479443> 
2060         REGRESSION: Hang due to infinite JS recursion on close @ engadget.com 
2061         (onunload-based ad)
2062         
2063         Added a bunch of WebKitMac's close features, and reordered others to
2064         match WebKitMac.
2065
2066         * WebView.cpp:
2067         (WebView::close):
2068         (WebView::removeDragCaret):
2069
2070 2007-09-17  Adam Roben  <aroben@apple.com>
2071
2072         Fix <rdar://4979801> overflow divs don't respond to keyboard scrolling (affects RSS pages)
2073
2074         Reviewed by Hyatt.
2075
2076         * WebView.cpp:
2077         (WebView::keyDown): Attempt to scroll an overflow area before
2078         scrolling the whole frame.
2079
2080 2007-09-17  Brady Eidson  <beidson@apple.com>
2081
2082         Reviewed by Adam
2083         
2084         <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
2085         
2086         Add a global "shut down WebKit" procedure to do cleanup at the engine level on quit. 
2087         Critical now for the IconDatabase and might be for other things in the future.
2088
2089         * WebKitDLL.cpp:
2090         (shutDownWebKit): For now, just close the IconDatabase
2091         (DllMain): On DLL_PROCESS_DETACH, call shutDownWebKit
2092
2093 2007-09-17  Anders Carlsson  <andersca@apple.com>
2094
2095         Reviewed by Adam.
2096
2097         <rdar://problem/5421997>
2098         http://bugs.webkit.org/show_bug.cgi?id=14247
2099         Display problem with Flash - image does not stop changing
2100
2101         Port the manual load code over from the Mac version.
2102
2103         * WebFrame.cpp:
2104         (WebFrame::WebFramePrivate::WebFramePrivate):
2105         Initialize the plugin pointer.
2106         
2107         (WebFrame::finishedLoading):
2108         (WebFrame::setMainDocumentError):
2109         (WebFrame::committedLoad):
2110         Feed the data to the plug-in.
2111                 
2112         (WebFrame::redirectDataToPlugin):
2113         Store the plug-in widget.
2114
2115 2007-09-14  Steve Falkenburg  <sfalken@apple.com>
2116
2117         Fix build.
2118
2119         * WebFrame.cpp:
2120         (WebFrame::createPlugin):
2121         (WebFrame::createJavaAppletWidget):
2122
2123 2007-09-13  Darin Adler  <darin@apple.com>
2124
2125         Reviewed by Oliver.
2126
2127         - fix <rdar://problem/5470457> REGRESSION: Input method inline hole is mishandled in text
2128           <input> elements with maxlength limit
2129
2130         * WebView.cpp:
2131         (WebView::resetIME): Change to use confirmCompositionWithoutDisturbingSelection.
2132         (WebView::updateSelectionForIME): Update for name changes, and to use new functions
2133         in Editor.
2134         (WebView::onIMEStartComposition): Removed unneeded call to unmarkText.
2135         (compositionToUnderlines): Removed startOffset parameter, since setComposition now
2136         handles this.
2137         (WebView::onIMEComposition): Changed to use confirmComposition and setComposition.
2138         Logic gets a lot cleaner.
2139         (WebView::onIMEEndComposition): Removed unneeded calls to Editor.
2140         (WebView::onIMERequestCharPosition): Updated for name changes.
2141
2142 2007-09-12  Oliver Hunt  <oliver@apple.com>
2143
2144         Reviewed by Adam.
2145         
2146         Fixing 
2147             <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
2148             <rdar://problem/5224996> Add zoom in and zoom out cursors
2149             
2150         Add images for vertical text and zoom in and out cursors to WebKit resources.
2151             
2152         * WebKit.vcproj/verticalTextCursor.png: Added.
2153         * WebKit.vcproj/WebKit.rc:
2154         * WebKit.vcproj/WebKit.vcproj:
2155         * WebKit.vcproj/resource.h:
2156         * WebKit.vcproj/zoomInCursor.png: Added.
2157         * WebKit.vcproj/zoomOutCursor.png: Added.
2158         * WebKitDLL.cpp:
2159         (loadResourceIntoBuffer):
2160
2161 2007-09-12  Adam Roben  <aroben@apple.com>
2162
2163         Initialize SafariTheme early in WebKit's instantiation
2164
2165         New versions of SafariTheme will require this initialization. We have
2166         to use GetProcAddress for now since the initialize method doesn't
2167         exist in any released SafariTheme.
2168
2169         Reviewed by Ada.
2170
2171         * WebKit.vcproj/debug_internal.vsprops: Pick up the debug SafariTheme.
2172         * WebKitClassFactory.cpp:
2173         (WebKitClassFactory::WebKitClassFactory): Call STInitialize.
2174
2175 2007-09-12  Ada Chan  <adachan@apple.com>
2176
2177         <rdar://problem/5478690> Regression: printing: footer only appears on the first page of print
2178
2179         Reviewed by Adam.
2180
2181         * WebFrame.cpp:
2182         (WebFrame::spoolPages): the footer rect is relative to the top left of the current page.  So 
2183         instead of passing pageRect.bottom() as the top of the footer rect (which is relative to the 
2184         document), we should pass in headerHeight plus the height of the pageRect.
2185
2186 2007-09-12  Anders Carlsson   <andersca@apple.com>
2187
2188         Reviewed by Darin (reluctantly).
2189
2190         <rdar://problem/5320461>
2191         http://bugs.webkit.org/show_bug.cgi?id=14548
2192         REGRESSION (r23987-r24061) : Reproducible crash with a local stylesheet file
2193         
2194         Add a workaround which converts the string passed in to an URL if it's a path.
2195         
2196         * WebView.cpp:
2197         (WebView::updateWebCoreSettingsFromPreferences):
2198
2199 2007-09-10  Steve Falkenburg  <sfalken@apple.com>
2200
2201         Remove site-specific hacks that we don't need anymore.
2202
2203         Reviewed by Adam.
2204
2205         * WebView.cpp:
2206         (WebView::userAgentForKURL):
2207
2208 2007-09-08  Steve Falkenburg  <sfalken@apple.com>
2209
2210         Prevent WebKit version numbers from containing "4" in Windows.
2211
2212         Reviewed by Darin.
2213
2214         * WebKit.vcproj/VERSION: Bump version since our current version ends in 4.
2215         * WebKit.vcproj/auto-version.sh: Add version checking code.
2216
2217 2007-09-08  Brady Eidson  <beidson@apple.com>
2218
2219         <rdar://problem/5434431> - Asynchronous Icon Database
2220
2221         * WebFrame.cpp:
2222         (WebFrame::didPerformFirstNavigation): Empty impl for now
2223         (WebFrame::registerForIconNotification): Ditto
2224         * WebFrame.h:
2225
2226 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
2227
2228         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2229         
2230         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
2231         memory cache, or a very tiny one
2232         
2233         Keep the Windows build working with an empty stub.
2234         
2235         * WebFrame.cpp:
2236         (FrameLoaderClient::didPerformFirstNavigation):
2237         * WebFrame.h:
2238
2239 2007-09-07  Ada Chan  <adachan@apple.com>
2240
2241         Need to let the OS handle Alt+F4.
2242
2243         Reviewed by Hyatt.
2244
2245         * WebView.cpp:
2246         (WebView::keyUp):
2247         (WebView::keyDown):
2248
2249 2007-09-07  Anders Carlsson  <andersca@apple.com>
2250
2251         Reviewed by Oliver.
2252
2253         <rdar://problem/5461487>
2254         Seed: Embedded media content (Flash Player 9) inside RSS reported as unknown MIME type.
2255         
2256         Don't return ObjectContentNone if the URL's extension can't be mapped to a MIME type. If the MIME type is empty, 
2257         we will try to display the content in a subframe instead, just like Mac WebKit.
2258         
2259         * WebFrame.cpp:
2260         (WebFrame::objectContentType):
2261
2262 2007-09-07  Ada Chan  <adachan@apple.com>
2263
2264         <rdar://problem/5395928> Need to be able to handle context menu item selection by index
2265
2266         Reviewed by Beth.
2267
2268         * WebView.cpp:
2269         (WebView::performContextMenuAction): performContextMenuAction() can now handle context menu
2270         item selection via WM_MENUCOMMAND (by specifying byPosition to be true).  In that case, we
2271         get the ContextMenuItem by position rather than by action id.
2272         (WebViewWndProc): handle WM_MENUCOMMAND
2273         * WebView.h:
2274
2275 2007-09-07  Ada Chan  <adachan@apple.com>
2276
2277         <rdar://problem/5453494> Better lifetime management of WebDataSource and WebDocumentLoader
2278         The problem was that WebDataSource does not hold a strong reference to the WebDocumentLoader.  If
2279         a WebDataSource is still around after the loader has been destroyed, it'll just point to
2280         a stale WebDocumentLoader.
2281         To fix this without a circular reference, WebDataSource now holds a strong reference to the
2282         WebDocumentLoader.  The WebDocumentLoader holds a strong reference to the WebDataSource
2283         until it's detached from the WebFrame.  When the WebDataSource is destroyed, it'll notify
2284         its WebDocumentLoader so the loader will clear any references to it.
2285
2286         Reviewed by Darin.
2287
2288         * WebDataSource.cpp:
2289         (WebDataSource::~WebDataSource): call WebDocumentLoader::detachDataSource() so the loader
2290         will clear any references to this data source
2291         (WebDataSource::documentLoader): m_loader is now a RefPtr so we need to call get().
2292         * WebDataSource.h:
2293         * WebDocumentLoader.cpp:
2294         (WebDocumentLoader::WebDocumentLoader): initialize m_dataSource since it's no longer a COMPtr.
2295         (WebDocumentLoader::~WebDocumentLoader): release m_dataSource if necessary
2296         (WebDocumentLoader::setDataSource): add a reference to m_dataSource
2297         (WebDocumentLoader::dataSource): 
2298         (WebDocumentLoader::detachDataSource): clear m_detachedDataSource.
2299         (WebDocumentLoader::attachToFrame): call setDataSource() so it'll add the reference to the data source if necessary.
2300         (WebDocumentLoader::detachFromFrame): release the reference to the data source
2301         * WebDocumentLoader.h:
2302
2303 2007-09-05  Dave Hyatt <hyatt@apple.com>
2304
2305         Make sure ALT+other keys is properly sent into the DOM so that Web pages (and editing fields) can
2306         detect key combos like ALT+Enter.
2307        
2308         Reviewed by Steve
2309
2310         * WebView.cpp:
2311         (WebView::keyUp):
2312         (WebView::keyDown):
2313         (WebViewWndProc):
2314         * WebView.h:
2315
2316 2007-09-04  Sam Weinig  <sam@webkit.org>
2317
2318         Build fix.
2319
2320         * WebKit.vcproj/WebKit.vcproj:
2321
2322 2007-09-01  Oliver Hunt  <oliver@apple.com>
2323
2324         Reviewed by Sam.
2325
2326         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2327  
2328         When focusing a password field or a non-editable element we disassociate any IME that may have
2329         been active, and reassociate should a non-password editable element is focused.
2330
2331         This makes password input with an IME active simpler, and brings our IME behaviour in line with
2332         IE.        
2333
2334         * WebEditorClient.cpp:
2335         (WebEditorClient::setInputMethodState):
2336         * WebEditorClient.h:
2337         * WebView.cpp:
2338         (IMMDict::IMMDict):
2339         (WebView::setInputMethodState):
2340         * WebView.h:
2341
2342 2007-08-31  Steve Falkenburg  <sfalken@apple.com>
2343
2344         <rdar://problem/5432594> Safari quits when hovering over mailto links on a webpage
2345         
2346         In addition to substituting %@ with %s, we also need to substitute %{1-9}$@ with %{1-9}$s.
2347
2348         Reviewed by Oliver.
2349
2350         * WebLocalizableStrings.cpp:
2351         (WebLocalizedLPCTSTR):
2352
2353 2007-08-29  Ada Chan  <adachan@apple.com>
2354
2355         <rdar://problem/5074612> Added SPI to retrieve certificate info from a WebError.
2356
2357         Reviewed by Steve.
2358
2359         * Interfaces/IWebErrorPrivate.idl: Added IWebErrorPrivate
2360         * WebError.cpp:
2361         (WebError::QueryInterface): WebError now also implements IWebErrorPrivate
2362         (WebError::sslPeerCertificate): retrieves certificate info from CFError's user info.
2363         * WebError.h:
2364         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebErrorPrivate_i.c
2365
2366 2007-08-28  Steve Falkenburg  <sfalken@apple.com>
2367
2368         <rdar://problem/5079253> Cannot set different margins for the page
2369         
2370         Added support for setting margins via page setup for Windows printing.
2371         
2372         Reviewed by Adam.
2373
2374         * Interfaces/IWebUIDelegate.idl: Added webViewPrintingMarginRect.
2375         * WebFrame.cpp:
2376         (WebFrame::printerMarginRect): Added.
2377         (WebFrame::computePageRects): Account for margins when calculating page rects.
2378         (WebFrame::spoolPages): Position footer at the bottom of the page rect (fixes footer drawing if left/right margins are set).
2379         * WebFrame.h:
2380
2381 2007-08-28  Jon Honeycutt  <jhoneycutt@apple.com>
2382
2383         Reviewed by Adam.
2384
2385         <rdar://problem/5444457>: Content is cut when page orientation changed
2386         in print preview
2387         Fix: Don't return WebFrame::m_pageRects if it exists; let
2388         computePageRectsForFrame clear and rewrite it.
2389
2390         * WebFrame.cpp:
2391         (WebFrame::computePageRects): Removed an early-return case. Added a
2392         space.
2393
2394 2007-08-28  Ada Chan  <adachan@apple.com>
2395
2396         <rdar://problem/4876242> Added SPI to fetch SSL certificate information.
2397
2398         Reviewed by Adam and Steve.
2399
2400         * Interfaces/IWebURLResponsePrivate.idl: Added.
2401         * WebKit.vcproj/Interfaces.vcproj:
2402         * WebKit.vcproj/WebKitGUID.vcproj:
2403         * WebURLResponse.cpp:
2404         (WebURLResponse::QueryInterface):
2405         (WebURLResponse::sslPeerCertificate): gets peer certificate context from CFNetwork
2406         (WebURLResponse::certificateDictionary): gets the dictionary that contains SSL certificate
2407         info from CFNetwork.  We retain the dictionary to ensure the certificate context is valid
2408         throughout the lifetime of the WebURLResponse.
2409         * WebURLResponse.h:
2410
2411 2007-08-27  Steve Falkenburg  <sfalken@apple.com>
2412
2413         <rdar://problem/5424801> REGRESSION (r25151): Web page area of window doesn't redraw if page isn't loaded
2414         
2415         Don't bypass WebView WM_PAINT if the WebView has never committed a page.
2416         
2417         Reviewed by Maciej.
2418
2419         * WebView.cpp:
2420         (WebViewWndProc): Don't skip painting if we haven't committed any pages in this view.
2421
2422 2007-08-25  Oliver Hunt  <oliver@apple.com>
2423
2424         Reviewed by Adam and Sam
2425         
2426         <rdar://problem/5269732> Safari 3.0 for Windows cuts off text in textarea boxes during sending forms (14562) 
2427         <http://bugs.webkit.org/show_bug.cgi?id=14562> [Win] Textarea contents partially eaten on submit/copy
2428         
2429         WebView::handleEditingKeyboardEvent assumed all keycodes that did not trigger a named command were
2430         to be inserted.  This could cause unexpected behaviour when control characters (eg. escape) are sent,
2431         or could cause data loss when sent a null character (as happens when dead keys are used for international 
2432         input).
2433         
2434         This patch corrects WebView::handleEditingKeyboardEvent to prevent such characters from being sent 
2435         to Editor::insertText.  This behaviour matches Firefox.
2436
2437         * WebView.cpp:
2438         (WebView::handleEditingKeyboardEvent):
2439
2440 2007-08-24  Sam Weinig  <sam@webkit.org>
2441
2442         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2443
2444 2007-08-24  Ada Chan  <adachan@apple.com>
2445
2446         <rdar://problem/5147315> and <rdar://problem/5183935>
2447         Added accelerator key mappings for Select All, Undo, and Redo.
2448
2449         Reviewed by Adam.
2450
2451         * WebView.cpp:
2452
2453 2007-08-24  Jon Honeycutt  <jhoneycutt@apple.com>
2454
2455         Reviewed by Darin.
2456
2457         Part of <rdar://problem/5433236> Print preview of empty txt file crashes
2458         Safari
2459
2460         * WebFrame.cpp:
2461         (WebFrame::computePageRects): Pass m_pageRects by reference into 
2462         computePageRectsForFrame
2463
2464 2007-08-24  Sam Weinig  <sam@webkit.org>
2465
2466         Rubber-stamped by Adam Roben.
2467
2468         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2469
2470         Rename COM DOM bindings to use Deprecated prefix.
2471
2472         * DOMCSSClasses.cpp:
2473         (DeprecatedDOMCSSStyleDeclaration::DeprecatedDOMCSSStyleDeclaration):
2474         (DeprecatedDOMCSSStyleDeclaration::~DeprecatedDOMCSSStyleDeclaration):
2475         (DeprecatedDOMCSSStyleDeclaration::createInstance):
2476         (DeprecatedDOMCSSStyleDeclaration::QueryInterface):
2477         (DeprecatedDOMCSSStyleDeclaration::cssText):
2478         (DeprecatedDOMCSSStyleDeclaration::setCssText):
2479         (DeprecatedDOMCSSStyleDeclaration::getPropertyValue):
2480         (DeprecatedDOMCSSStyleDeclaration::getPropertyCSSValue):
2481         (DeprecatedDOMCSSStyleDeclaration::removeProperty):
2482         (DeprecatedDOMCSSStyleDeclaration::getPropertyPriority):
2483         (DeprecatedDOMCSSStyleDeclaration::setProperty):
2484         (DeprecatedDOMCSSStyleDeclaration::length):
2485         (DeprecatedDOMCSSStyleDeclaration::item):
2486         (DeprecatedDOMCSSStyleDeclaration::parentRule):
2487         * DOMCSSClasses.h:
2488         (DeprecatedDOMCSSStyleDeclaration::AddRef):
2489         (DeprecatedDOMCSSStyleDeclaration::Release):
2490         (DeprecatedDOMCSSStyleDeclaration::throwException):
2491         (DeprecatedDOMCSSStyleDeclaration::callWebScriptMethod):
2492         (DeprecatedDOMCSSStyleDeclaration::evaluateWebScript):
2493         (DeprecatedDOMCSSStyleDeclaration::removeWebScriptKey):
2494         (DeprecatedDOMCSSStyleDeclaration::stringRepresentation):
2495         (DeprecatedDOMCSSStyleDeclaration::webScriptValueAtIndex):
2496         (DeprecatedDOMCSSStyleDeclaration::setWebScriptValueAtIndex):
2497         (DeprecatedDOMCSSStyleDeclaration::setException):
2498         * DOMCoreClasses.cpp:
2499         (DeprecatedDOMObject::QueryInterface):
2500         (DeprecatedDOMNode::QueryInterface):
2501         (DeprecatedDOMNode::nodeName):
2502         (DeprecatedDOMNode::nodeValue):
2503         (DeprecatedDOMNode::setNodeValue):
2504         (DeprecatedDOMNode::nodeType):
2505         (DeprecatedDOMNode::parentNode):
2506         (DeprecatedDOMNode::childNodes):
2507         (DeprecatedDOMNode::firstChild):
2508         (DeprecatedDOMNode::lastChild):
2509         (DeprecatedDOMNode::previousSibling):
2510         (DeprecatedDOMNode::nextSibling):
2511         (DeprecatedDOMNode::attributes):
2512         (DeprecatedDOMNode::ownerDocument):
2513         (DeprecatedDOMNode::insertBefore):
2514         (DeprecatedDOMNode::replaceChild):
2515         (DeprecatedDOMNode::removeChild):
2516         (DeprecatedDOMNode::appendChild):
2517         (DeprecatedDOMNode::hasChildNodes):
2518         (DeprecatedDOMNode::cloneNode):
2519         (DeprecatedDOMNode::normalize):
2520         (DeprecatedDOMNode::isSupported):
2521         (DeprecatedDOMNode::namespaceURI):
2522         (DeprecatedDOMNode::prefix):
2523         (DeprecatedDOMNode::setPrefix):
2524         (DeprecatedDOMNode::localName):
2525         (DeprecatedDOMNode::hasAttributes):
2526         (DeprecatedDOMNode::isSameNode):
2527         (DeprecatedDOMNode::isEqualNode):
2528         (DeprecatedDOMNode::textContent):
2529         (DeprecatedDOMNode::setTextContent):
2530         (DeprecatedDOMNode::addEventListener):
2531         (DeprecatedDOMNode::removeEventListener):
2532         (DeprecatedDOMNode::dispatchEvent):
2533         (DeprecatedDOMNode::DeprecatedDOMNode):
2534         (DeprecatedDOMNode::~DeprecatedDOMNode):
2535         (DeprecatedDOMNode::createInstance):
2536         (DeprecatedDOMNodeList::QueryInterface):
2537         (DeprecatedDOMNodeList::item):
2538         (DeprecatedDOMNodeList::length):
2539         (DeprecatedDOMNodeList::DeprecatedDOMNodeList):
2540         (DeprecatedDOMNodeList::~DeprecatedDOMNodeList):
2541         (DeprecatedDOMNodeList::createInstance):
2542         (DeprecatedDOMDocument::QueryInterface):
2543         (DeprecatedDOMDocument::doctype):
2544         (DeprecatedDOMDocument::implementation):
2545         (DeprecatedDOMDocument::documentElement):
2546         (DeprecatedDOMDocument::createElement):
2547         (DeprecatedDOMDocument::createDocumentFragment):
2548         (DeprecatedDOMDocument::createTextNode):
2549         (DeprecatedDOMDocument::createComment):
2550         (DeprecatedDOMDocument::createCDATASection):
2551         (DeprecatedDOMDocument::createProcessingInstruction):
2552         (DeprecatedDOMDocument::createAttribute):
2553         (DeprecatedDOMDocument::createEntityReference):
2554         (DeprecatedDOMDocument::getElementsByTagName):
2555         (DeprecatedDOMDocument::importNode):
2556         (DeprecatedDOMDocument::createElementNS):
2557         (DeprecatedDOMDocument::createAttributeNS):
2558         (DeprecatedDOMDocument::getElementsByTagNameNS):
2559         (DeprecatedDOMDocument::getElementById):
2560         (DeprecatedDOMDocument::getComputedStyle):
2561         (DeprecatedDOMDocument::createEvent):
2562         (DeprecatedDOMDocument::DeprecatedDOMDocument):
2563         (DeprecatedDOMDocument::~DeprecatedDOMDocument):
2564         (DeprecatedDOMDocument::createInstance):
2565         (DeprecatedDOMElement::QueryInterface):
2566         (DeprecatedDOMElement::boundingBox):
2567         (DeprecatedDOMElement::lineBoxRects):
2568         (DeprecatedDOMElement::tagName):
2569         (DeprecatedDOMElement::getAttribute):
2570         (DeprecatedDOMElement::setAttribute):
2571         (DeprecatedDOMElement::removeAttribute):
2572         (DeprecatedDOMElement::getAttributeNode):
2573         (DeprecatedDOMElement::setAttributeNode):
2574         (DeprecatedDOMElement::removeAttributeNode):
2575         (DeprecatedDOMElement::getElementsByTagName):
2576         (DeprecatedDOMElement::getAttributeNS):
2577         (DeprecatedDOMElement::setAttributeNS):
2578         (DeprecatedDOMElement::removeAttributeNS):
2579         (DeprecatedDOMElement::getAttributeNodeNS):
2580         (DeprecatedDOMElement::setAttributeNodeNS):
2581         (DeprecatedDOMElement::getElementsByTagNameNS):
2582         (DeprecatedDOMElement::hasAttribute):
2583         (DeprecatedDOMElement::hasAttributeNS):
2584         (DeprecatedDOMElement::focus):
2585         (DeprecatedDOMElement::blur):
2586         (DeprecatedDOMElement::coreElement):
2587         (DeprecatedDOMElement::isEqual):
2588         (DeprecatedDOMElement::isFocused):
2589         (DeprecatedDOMElement::innerText):
2590         (DeprecatedDOMElement::style):
2591         (DeprecatedDOMElement::offsetLeft):
2592         (DeprecatedDOMElement::offsetTop):
2593         (DeprecatedDOMElement::offsetWidth):
2594         (DeprecatedDOMElement::offsetHeight):
2595         (DeprecatedDOMElement::offsetParent):
2596         (DeprecatedDOMElement::clientWidth):
2597         (DeprecatedDOMElement::clientHeight):
2598         (DeprecatedDOMElement::scrollLeft):
2599         (DeprecatedDOMElement::setScrollLeft):
2600         (DeprecatedDOMElement::scrollTop):
2601         (DeprecatedDOMElement::setScrollTop):
2602         (DeprecatedDOMElement::scrollWidth):
2603         (DeprecatedDOMElement::scrollHeight):
2604         (DeprecatedDOMElement::scrollIntoView):
2605         (DeprecatedDOMElement::scrollIntoViewIfNeeded):
2606         (DeprecatedDOMElement::DeprecatedDOMElement):
2607         (DeprecatedDOMElement::~DeprecatedDOMElement):
2608         (DeprecatedDOMElement::createInstance):
2609         * DOMCoreClasses.h:
2610         (DeprecatedDOMNode::AddRef):
2611         (DeprecatedDOMNode::Release):
2612         (DeprecatedDOMNode::throwException):
2613         (DeprecatedDOMNode::callWebScriptMethod):
2614         (DeprecatedDOMNode::evaluateWebScript):
2615         (DeprecatedDOMNode::removeWebScriptKey):
2616         (DeprecatedDOMNode::stringRepresentation):
2617         (DeprecatedDOMNode::webScriptValueAtIndex):
2618         (DeprecatedDOMNode::setWebScriptValueAtIndex):
2619         (DeprecatedDOMNode::setException):
2620         (DeprecatedDOMNodeList::AddRef):
2621         (DeprecatedDOMNodeList::Release):
2622         (DeprecatedDOMNodeList::throwException):
2623         (DeprecatedDOMNodeList::callWebScriptMethod):
2624         (DeprecatedDOMNodeList::evaluateWebScript):
2625         (DeprecatedDOMNodeList::removeWebScriptKey):
2626         (DeprecatedDOMNodeList::stringRepresentation):
2627         (DeprecatedDOMNodeList::webScriptValueAtIndex):
2628         (DeprecatedDOMNodeList::setWebScriptValueAtIndex):
2629         (DeprecatedDOMNodeList::setException):
2630         (DeprecatedDOMDocument::AddRef):
2631         (DeprecatedDOMDocument::Release):
2632         (DeprecatedDOMDocument::throwException):
2633         (DeprecatedDOMDocument::callWebScriptMethod):
2634         (DeprecatedDOMDocument::evaluateWebScript):
2635         (DeprecatedDOMDocument::removeWebScriptKey):
2636         (DeprecatedDOMDocument::stringRepresentation):
2637         (DeprecatedDOMDocument::webScriptValueAtIndex):
2638         (DeprecatedDOMDocument::setWebScriptValueAtIndex):
2639         (DeprecatedDOMDocument::setException):
2640         (DeprecatedDOMDocument::nodeName):
2641         (DeprecatedDOMDocument::nodeValue):
2642         (DeprecatedDOMDocument::setNodeValue):
2643         (DeprecatedDOMDocument::nodeType):
2644         (DeprecatedDOMDocument::parentNode):
2645         (DeprecatedDOMDocument::childNodes):
2646         (DeprecatedDOMDocument::firstChild):
2647         (DeprecatedDOMDocument::lastChild):
2648         (DeprecatedDOMDocument::previousSibling):
2649         (DeprecatedDOMDocument::nextSibling):
2650         (DeprecatedDOMDocument::attributes):
2651         (DeprecatedDOMDocument::ownerDocument):
2652         (DeprecatedDOMDocument::insertBefore):
2653         (DeprecatedDOMDocument::replaceChild):
2654         (DeprecatedDOMDocument::removeChild):
2655         (DeprecatedDOMDocument::appendChild):
2656         (DeprecatedDOMDocument::hasChildNodes):
2657         (DeprecatedDOMDocument::cloneNode):
2658         (DeprecatedDOMDocument::normalize):
2659         (DeprecatedDOMDocument::isSupported):
2660         (DeprecatedDOMDocument::namespaceURI):
2661         (DeprecatedDOMDocument::prefix):
2662         (DeprecatedDOMDocument::setPrefix):
2663         (DeprecatedDOMDocument::localName):
2664         (DeprecatedDOMDocument::hasAttributes):
2665         (DeprecatedDOMDocument::isSameNode):
2666         (DeprecatedDOMDocument::isEqualNode):
2667         (DeprecatedDOMDocument::textContent):
2668         (DeprecatedDOMDocument::setTextContent):
2669         (DeprecatedDOMElement::AddRef):
2670         (DeprecatedDOMElement::Release):
2671         (DeprecatedDOMElement::throwException):
2672         (DeprecatedDOMElement::callWebScriptMethod):
2673         (DeprecatedDOMElement::evaluateWebScript):
2674         (DeprecatedDOMElement::removeWebScriptKey):
2675         (DeprecatedDOMElement::stringRepresentation):
2676         (DeprecatedDOMElement::webScriptValueAtIndex):
2677         (DeprecatedDOMElement::setWebScriptValueAtIndex):
2678         (DeprecatedDOMElement::setException):
2679         (DeprecatedDOMElement::nodeName):
2680         (DeprecatedDOMElement::nodeValue):
2681         (DeprecatedDOMElement::setNodeValue):
2682         (DeprecatedDOMElement::nodeType):
2683         (DeprecatedDOMElement::parentNode):
2684         (DeprecatedDOMElement::childNodes):
2685         (DeprecatedDOMElement::firstChild):
2686         (DeprecatedDOMElement::lastChild):
2687         (DeprecatedDOMElement::previousSibling):
2688         (DeprecatedDOMElement::nextSibling):
2689         (DeprecatedDOMElement::attributes):
2690         (DeprecatedDOMElement::ownerDocument):
2691         (DeprecatedDOMElement::insertBefore):
2692         (DeprecatedDOMElement::replaceChild):
2693         (DeprecatedDOMElement::removeChild):
2694         (DeprecatedDOMElement::appendChild):
2695         (DeprecatedDOMElement::hasChildNodes):
2696         (DeprecatedDOMElement::cloneNode):
2697         (DeprecatedDOMElement::normalize):
2698         (DeprecatedDOMElement::isSupported):
2699         (DeprecatedDOMElement::namespaceURI):
2700         (DeprecatedDOMElement::prefix):
2701         (DeprecatedDOMElement::setPrefix):
2702         (DeprecatedDOMElement::localName):
2703         (DeprecatedDOMElement::hasAttributes):
2704         (DeprecatedDOMElement::isSameNode):
2705         (DeprecatedDOMElement::isEqualNode):
2706         (DeprecatedDOMElement::textContent):
2707         (DeprecatedDOMElement::setTextContent):
2708         * DOMEventsClasses.cpp:
2709         (DeprecatedDOMEventListener::QueryInterface):
2710         (DeprecatedDOMEventListener::handleEvent):
2711         (DeprecatedDOMEvent::DeprecatedDOMEvent):
2712         (DeprecatedDOMEvent::~DeprecatedDOMEvent):
2713         (DeprecatedDOMEvent::createInstance):
2714         (DeprecatedDOMEvent::QueryInterface):
2715         (DeprecatedDOMEvent::type):
2716         (DeprecatedDOMEvent::target):
2717         (DeprecatedDOMEvent::currentTarget):
2718         (DeprecatedDOMEvent::eventPhase):
2719         (DeprecatedDOMEvent::bubbles):
2720         (DeprecatedDOMEvent::cancelable):
2721         (DeprecatedDOMEvent::timeStamp):
2722         (DeprecatedDOMEvent::stopPropagation):
2723         (DeprecatedDOMEvent::preventDefault):
2724         (DeprecatedDOMEvent::initEvent):
2725         (DeprecatedDOMUIEvent::QueryInterface):
2726         (DeprecatedDOMUIEvent::view):
2727         (DeprecatedDOMUIEvent::detail):
2728         (DeprecatedDOMUIEvent::initUIEvent):
2729         (DeprecatedDOMUIEvent::keyCode):
2730         (DeprecatedDOMUIEvent::charCode):
2731         (DeprecatedDOMUIEvent::layerX):
2732         (DeprecatedDOMUIEvent::layerY):
2733         (DeprecatedDOMUIEvent::pageX):
2734         (DeprecatedDOMUIEvent::pageY):
2735         (DeprecatedDOMUIEvent::which):
2736         (DeprecatedDOMKeyboardEvent::QueryInterface):
2737         (DeprecatedDOMKeyboardEvent::keyIdentifier):
2738         (DeprecatedDOMKeyboardEvent::keyLocation):
2739         (DeprecatedDOMKeyboardEvent::ctrlKey):
2740         (DeprecatedDOMKeyboardEvent::shiftKey):
2741         (DeprecatedDOMKeyboardEvent::altKey):
2742         (DeprecatedDOMKeyboardEvent::metaKey):
2743         (DeprecatedDOMKeyboardEvent::altGraphKey):
2744         (DeprecatedDOMKeyboardEvent::getModifierState):
2745         (DeprecatedDOMKeyboardEvent::initKeyboardEvent):
2746         (DeprecatedDOMMouseEvent::QueryInterface):
2747         (DeprecatedDOMMouseEvent::screenX):
2748         (DeprecatedDOMMouseEvent::screenY):
2749         (DeprecatedDOMMouseEvent::clientX):
2750         (DeprecatedDOMMouseEvent::clientY):
2751         (DeprecatedDOMMouseEvent::ctrlKey):
2752         (DeprecatedDOMMouseEvent::shiftKey):
2753         (DeprecatedDOMMouseEvent::altKey):
2754         (DeprecatedDOMMouseEvent::metaKey):
2755         (DeprecatedDOMMouseEvent::button):
2756         (DeprecatedDOMMouseEvent::relatedTarget):
2757         (DeprecatedDOMMouseEvent::initMouseEvent):
2758         (DeprecatedDOMMouseEvent::offsetX):
2759         (DeprecatedDOMMouseEvent::offsetY):
2760         (DeprecatedDOMMouseEvent::x):
2761         (DeprecatedDOMMouseEvent::y):
2762         (DeprecatedDOMMouseEvent::fromElement):
2763         (DeprecatedDOMMouseEvent::toElement):
2764         (DeprecatedDOMMutationEvent::QueryInterface):
2765         (DeprecatedDOMMutationEvent::relatedNode):
2766         (DeprecatedDOMMutationEvent::prevValue):
2767         (DeprecatedDOMMutationEvent::newValue):
2768         (DeprecatedDOMMutationEvent::attrName):
2769         (DeprecatedDOMMutationEvent::attrChange):
2770         (DeprecatedDOMMutationEvent::initMutationEvent):
2771         (DeprecatedDOMOverflowEvent::QueryInterface):
2772         (DeprecatedDOMOverflowEvent::orient):
2773         (DeprecatedDOMOverflowEvent::horizontalOverflow):
2774         (DeprecatedDOMOverflowEvent::verticalOverflow):
2775         (DeprecatedDOMWheelEvent::QueryInterface):
2776         (DeprecatedDOMWheelEvent::screenX):
2777         (DeprecatedDOMWheelEvent::screenY):
2778         (DeprecatedDOMWheelEvent::clientX):
2779         (DeprecatedDOMWheelEvent::clientY):
2780         (DeprecatedDOMWheelEvent::ctrlKey):
2781         (DeprecatedDOMWheelEvent::shiftKey):
2782         (DeprecatedDOMWheelEvent::altKey):
2783         (DeprecatedDOMWheelEvent::metaKey):
2784         (DeprecatedDOMWheelEvent::wheelDelta):
2785         (DeprecatedDOMWheelEvent::wheelDeltaX):
2786         (DeprecatedDOMWheelEvent::wheelDeltaY):
2787         (DeprecatedDOMWheelEvent::offsetX):
2788         (DeprecatedDOMWheelEvent::offsetY):
2789         (DeprecatedDOMWheelEvent::x):
2790         (DeprecatedDOMWheelEvent::y):
2791         (DeprecatedDOMWheelEvent::isHorizontal):
2792         (DeprecatedDOMWheelEvent::initWheelEvent):
2793         * DOMEventsClasses.h:
2794         (DeprecatedDOMEventListener::AddRef):
2795         (DeprecatedDOMEventListener::Release):
2796         (DeprecatedDOMEventListener::throwException):
2797         (DeprecatedDOMEventListener::callWebScriptMethod):
2798         (DeprecatedDOMEventListener::evaluateWebScript):
2799         (DeprecatedDOMEventListener::removeWebScriptKey):
2800         (DeprecatedDOMEventListener::stringRepresentation):
2801         (DeprecatedDOMEventListener::webScriptValueAtIndex):
2802         (DeprecatedDOMEventListener::setWebScriptValueAtIndex):
2803         (DeprecatedDOMEventListener::setException):
2804         (DeprecatedDOMEvent::AddRef):
2805         (DeprecatedDOMEvent::Release):
2806         (DeprecatedDOMEvent::throwException):
2807         (DeprecatedDOMEvent::callWebScriptMethod):
2808         (DeprecatedDOMEvent::evaluateWebScript):
2809         (DeprecatedDOMEvent::removeWebScriptKey):
2810         (DeprecatedDOMEvent::stringRepresentation):
2811         (DeprecatedDOMEvent::webScriptValueAtIndex):
2812         (DeprecatedDOMEvent::setWebScriptValueAtIndex):
2813         (DeprecatedDOMEvent::setException):
2814         (DeprecatedDOMUIEvent::DeprecatedDOMUIEvent):
2815         (DeprecatedDOMUIEvent::AddRef):
2816         (DeprecatedDOMUIEvent::Release):
2817         (DeprecatedDOMUIEvent::throwException):
2818         (DeprecatedDOMUIEvent::callWebScriptMethod):
2819         (DeprecatedDOMUIEvent::evaluateWebScript):
2820         (DeprecatedDOMUIEvent::removeWebScriptKey):
2821         (DeprecatedDOMUIEvent::stringRepresentation):
2822         (DeprecatedDOMUIEvent::webScriptValueAtIndex):
2823         (DeprecatedDOMUIEvent::setWebScriptValueAtIndex):
2824         (DeprecatedDOMUIEvent::setException):
2825         (DeprecatedDOMUIEvent::type):
2826         (DeprecatedDOMUIEvent::target):
2827         (DeprecatedDOMUIEvent::currentTarget):
2828         (DeprecatedDOMUIEvent::eventPhase):
2829         (DeprecatedDOMUIEvent::bubbles):
2830         (DeprecatedDOMUIEvent::cancelable):
2831         (DeprecatedDOMUIEvent::timeStamp):
2832         (DeprecatedDOMUIEvent::stopPropagation):
2833         (DeprecatedDOMUIEvent::preventDefault):
2834         (DeprecatedDOMUIEvent::initEvent):
2835         (DeprecatedDOMKeyboardEvent::DeprecatedDOMKeyboardEvent):
2836         (DeprecatedDOMKeyboardEvent::AddRef):
2837         (DeprecatedDOMKeyboardEvent::Release):
2838         (DeprecatedDOMKeyboardEvent::throwException):
2839         (DeprecatedDOMKeyboardEvent::callWebScriptMethod):
2840         (DeprecatedDOMKeyboardEvent::evaluateWebScript):
2841         (DeprecatedDOMKeyboardEvent::removeWebScriptKey):
2842         (DeprecatedDOMKeyboardEvent::stringRepresentation):
2843         (DeprecatedDOMKeyboardEvent::webScriptValueAtIndex):
2844         (DeprecatedDOMKeyboardEvent::setWebScriptValueAtIndex):
2845         (DeprecatedDOMKeyboardEvent::setException):
2846         (DeprecatedDOMKeyboardEvent::type):
2847         (DeprecatedDOMKeyboardEvent::target):
2848         (DeprecatedDOMKeyboardEvent::currentTarget):
2849         (DeprecatedDOMKeyboardEvent::eventPhase):
2850         (DeprecatedDOMKeyboardEvent::bubbles):
2851         (DeprecatedDOMKeyboardEvent::cancelable):
2852         (DeprecatedDOMKeyboardEvent::timeStamp):
2853         (DeprecatedDOMKeyboardEvent::stopPropagation):
2854         (DeprecatedDOMKeyboardEvent::preventDefault):
2855         (DeprecatedDOMKeyboardEvent::initEvent):
2856         (DeprecatedDOMKeyboardEvent::view):
2857         (DeprecatedDOMKeyboardEvent::detail):
2858         (DeprecatedDOMKeyboardEvent::initUIEvent):
2859         (DeprecatedDOMKeyboardEvent::keyCode):
2860         (DeprecatedDOMKeyboardEvent::charCode):
2861         (DeprecatedDOMKeyboardEvent::layerX):
2862         (DeprecatedDOMKeyboardEvent::layerY):
2863         (DeprecatedDOMKeyboardEvent::pageX):
2864         (DeprecatedDOMKeyboardEvent::pageY):
2865         (DeprecatedDOMKeyboardEvent::which):
2866         (DeprecatedDOMMouseEvent::DeprecatedDOMMouseEvent):
2867         (DeprecatedDOMMouseEvent::AddRef):
2868         (DeprecatedDOMMouseEvent::Release):
2869         (DeprecatedDOMMouseEvent::throwException):
2870         (DeprecatedDOMMouseEvent::callWebScriptMethod):
2871         (DeprecatedDOMMouseEvent::evaluateWebScript):
2872         (DeprecatedDOMMouseEvent::removeWebScriptKey):
2873         (DeprecatedDOMMouseEvent::stringRepresentation):
2874         (DeprecatedDOMMouseEvent::webScriptValueAtIndex):
2875         (DeprecatedDOMMouseEvent::setWebScriptValueAtIndex):
2876         (DeprecatedDOMMouseEvent::setException):
2877         (DeprecatedDOMMouseEvent::type):
2878         (DeprecatedDOMMouseEvent::target):
2879         (DeprecatedDOMMouseEvent::currentTarget):
2880         (DeprecatedDOMMouseEvent::eventPhase):
2881         (DeprecatedDOMMouseEvent::bubbles):
2882         (DeprecatedDOMMouseEvent::cancelable):
2883         (DeprecatedDOMMouseEvent::timeStamp):
2884         (DeprecatedDOMMouseEvent::stopPropagation):
2885         (DeprecatedDOMMouseEvent::preventDefault):
2886         (DeprecatedDOMMouseEvent::initEvent):
2887         (DeprecatedDOMMouseEvent::view):
2888         (DeprecatedDOMMouseEvent::detail):
2889         (DeprecatedDOMMouseEvent::initUIEvent):
2890         (DeprecatedDOMMouseEvent::keyCode):
2891         (DeprecatedDOMMouseEvent::charCode):
2892         (DeprecatedDOMMouseEvent::layerX):
2893         (DeprecatedDOMMouseEvent::layerY):
2894         (DeprecatedDOMMouseEvent::pageX):
2895         (DeprecatedDOMMouseEvent::pageY):
2896         (DeprecatedDOMMouseEvent::which):
2897         (DeprecatedDOMMutationEvent::DeprecatedDOMMutationEvent):
2898         (DeprecatedDOMMutationEvent::AddRef):
2899         (DeprecatedDOMMutationEvent::Release):
2900         (DeprecatedDOMMutationEvent::throwException):
2901         (DeprecatedDOMMutationEvent::callWebScriptMethod):
2902         (DeprecatedDOMMutationEvent::evaluateWebScript):
2903         (DeprecatedDOMMutationEvent::removeWebScriptKey):
2904         (DeprecatedDOMMutationEvent::stringRepresentation):
2905         (DeprecatedDOMMutationEvent::webScriptValueAtIndex):
2906         (DeprecatedDOMMutationEvent::setWebScriptValueAtIndex):
2907         (DeprecatedDOMMutationEvent::setException):
2908         (DeprecatedDOMMutationEvent::type):
2909         (DeprecatedDOMMutationEvent::target):
2910         (DeprecatedDOMMutationEvent::currentTarget):
2911         (DeprecatedDOMMutationEvent::eventPhase):
2912         (DeprecatedDOMMutationEvent::bubbles):
2913         (DeprecatedDOMMutationEvent::cancelable):
2914         (DeprecatedDOMMutationEvent::timeStamp):
2915         (DeprecatedDOMMutationEvent::stopPropagation):
2916         (DeprecatedDOMMutationEvent::preventDefault):
2917         (DeprecatedDOMMutationEvent::initEvent):
2918         (DeprecatedDOMOverflowEvent::DeprecatedDOMOverflowEvent):
2919         (DeprecatedDOMOverflowEvent::AddRef):
2920         (DeprecatedDOMOverflowEvent::Release):
2921         (DeprecatedDOMOverflowEvent::throwException):
2922         (DeprecatedDOMOverflowEvent::callWebScriptMethod):
2923         (DeprecatedDOMOverflowEvent::evaluateWebScript):
2924         (DeprecatedDOMOverflowEvent::removeWebScriptKey):
2925         (DeprecatedDOMOverflowEvent::stringRepresentation):
2926         (DeprecatedDOMOverflowEvent::webScriptValueAtIndex):
2927         (DeprecatedDOMOverflowEvent::setWebScriptValueAtIndex):
2928         (DeprecatedDOMOverflowEvent::setException):
2929         (DeprecatedDOMOverflowEvent::type):
2930         (DeprecatedDOMOverflowEvent::target):
2931         (DeprecatedDOMOverflowEvent::currentTarget):
2932         (DeprecatedDOMOverflowEvent::eventPhase):
2933         (DeprecatedDOMOverflowEvent::bubbles):
2934         (DeprecatedDOMOverflowEvent::cancelable):
2935         (DeprecatedDOMOverflowEvent::timeStamp):
2936         (DeprecatedDOMOverflowEvent::stopPropagation):
2937         (DeprecatedDOMOverflowEvent::preventDefault):
2938         (DeprecatedDOMOverflowEvent::initEvent):
2939         (DeprecatedDOMWheelEvent::DeprecatedDOMWheelEvent):
2940         (DeprecatedDOMWheelEvent::AddRef):
2941         (DeprecatedDOMWheelEvent::Release):
2942         (DeprecatedDOMWheelEvent::throwException):
2943         (DeprecatedDOMWheelEvent::callWebScriptMethod):
2944         (DeprecatedDOMWheelEvent::evaluateWebScript):
2945         (DeprecatedDOMWheelEvent::removeWebScriptKey):
2946         (DeprecatedDOMWheelEvent::stringRepresentation):
2947         (DeprecatedDOMWheelEvent::webScriptValueAtIndex):
2948         (DeprecatedDOMWheelEvent::setWebScriptValueAtIndex):
2949         (DeprecatedDOMWheelEvent::setException):
2950         (DeprecatedDOMWheelEvent::type):
2951         (DeprecatedDOMWheelEvent::target):
2952         (DeprecatedDOMWheelEvent::currentTarget):
2953         (DeprecatedDOMWheelEvent::eventPhase):
2954         (DeprecatedDOMWheelEvent::bubbles):
2955         (DeprecatedDOMWheelEvent::cancelable):
2956         (DeprecatedDOMWheelEvent::timeStamp):
2957         (DeprecatedDOMWheelEvent::stopPropagation):
2958         (DeprecatedDOMWheelEvent::preventDefault):
2959         (DeprecatedDOMWheelEvent::initEvent):
2960         (DeprecatedDOMWheelEvent::view):
2961         (DeprecatedDOMWheelEvent::detail):
2962         (DeprecatedDOMWheelEvent::initUIEvent):
2963         (DeprecatedDOMWheelEvent::keyCode):
2964         (DeprecatedDOMWheelEvent::charCode):
2965         (DeprecatedDOMWheelEvent::layerX):
2966         (DeprecatedDOMWheelEvent::layerY):
2967         (DeprecatedDOMWheelEvent::pageX):
2968         (DeprecatedDOMWheelEvent::pageY):
2969         (DeprecatedDOMWheelEvent::which):
2970         * DOMHTMLClasses.cpp:
2971         (DeprecatedDOMHTMLCollection::DeprecatedDOMHTMLCollection):
2972         (DeprecatedDOMHTMLCollection::createInstance):
2973         (DeprecatedDOMHTMLCollection::QueryInterface):
2974         (DeprecatedDOMHTMLCollection::length):
2975         (DeprecatedDOMHTMLCollection::item):
2976         (DeprecatedDOMHTMLCollection::namedItem):
2977         (DeprecatedDOMHTMLOptionsCollection::QueryInterface):
2978         (DeprecatedDOMHTMLOptionsCollection::length):
2979         (DeprecatedDOMHTMLOptionsCollection::setLength):
2980         (DeprecatedDOMHTMLOptionsCollection::item):
2981         (DeprecatedDOMHTMLOptionsCollection::namedItem):
2982         (DeprecatedDOMHTMLDocument::QueryInterface):
2983         (DeprecatedDOMHTMLDocument::title):
2984         (DeprecatedDOMHTMLDocument::setTitle):
2985         (DeprecatedDOMHTMLDocument::referrer):
2986         (DeprecatedDOMHTMLDocument::domain):
2987         (DeprecatedDOMHTMLDocument::URL):
2988         (DeprecatedDOMHTMLDocument::body):
2989         (DeprecatedDOMHTMLDocument::setBody):
2990         (DeprecatedDOMHTMLDocument::images):
2991         (DeprecatedDOMHTMLDocument::applets):
2992         (DeprecatedDOMHTMLDocument::links):
2993         (DeprecatedDOMHTMLDocument::forms):
2994         (DeprecatedDOMHTMLDocument::anchors):
2995         (DeprecatedDOMHTMLDocument::cookie):
2996         (DeprecatedDOMHTMLDocument::setCookie):
2997         (DeprecatedDOMHTMLDocument::open):
2998         (DeprecatedDOMHTMLDocument::close):
2999         (DeprecatedDOMHTMLDocument::write):
3000         (DeprecatedDOMHTMLDocument::writeln):
3001         (DeprecatedDOMHTMLDocument::getElementById_):
3002         (DeprecatedDOMHTMLDocument::getElementsByName):
3003         (DeprecatedDOMHTMLElement::QueryInterface):
3004         (DeprecatedDOMHTMLElement::idName):
3005         (DeprecatedDOMHTMLElement::setIdName):
3006         (DeprecatedDOMHTMLElement::title):
3007         (DeprecatedDOMHTMLElement::setTitle):
3008         (DeprecatedDOMHTMLElement::lang):
3009         (DeprecatedDOMHTMLElement::setLang):
3010         (DeprecatedDOMHTMLElement::dir):
3011         (DeprecatedDOMHTMLElement::setDir):
3012         (DeprecatedDOMHTMLElement::className):
3013         (DeprecatedDOMHTMLElement::setClassName):
3014         (DeprecatedDOMHTMLElement::innerHTML):
3015         (DeprecatedDOMHTMLElement::setInnerHTML):
3016         (DeprecatedDOMHTMLElement::innerText):
3017         (DeprecatedDOMHTMLElement::setInnerText):
3018         (DeprecatedDOMHTMLFormElement::QueryInterface):
3019         (DeprecatedDOMHTMLFormElement::elements):
3020         (DeprecatedDOMHTMLFormElement::length):
3021         (DeprecatedDOMHTMLFormElement::name):
3022         (DeprecatedDOMHTMLFormElement::setName):
3023         (DeprecatedDOMHTMLFormElement::acceptCharset):
3024         (DeprecatedDOMHTMLFormElement::setAcceptCharset):
3025         (DeprecatedDOMHTMLFormElement::action):
3026         (DeprecatedDOMHTMLFormElement::setAction):
3027         (DeprecatedDOMHTMLFormElement::encType):
3028         (DeprecatedDOMHTMLFormElement::setEnctype):
3029         (DeprecatedDOMHTMLFormElement::method):
3030         (DeprecatedDOMHTMLFormElement::setMethod):
3031         (DeprecatedDOMHTMLFormElement::target):
3032         (DeprecatedDOMHTMLFormElement::setTarget):
3033         (DeprecatedDOMHTMLFormElement::submit):
3034         (DeprecatedDOMHTMLFormElement::reset):
3035         (DeprecatedDOMHTMLSelectElement::QueryInterface):
3036         (DeprecatedDOMHTMLSelectElement::type):
3037         (DeprecatedDOMHTMLSelectElement::selectedIndex):
3038         (DeprecatedDOMHTMLSelectElement::setSelectedIndx):
3039         (DeprecatedDOMHTMLSelectElement::value):
3040         (DeprecatedDOMHTMLSelectElement::setValue):
3041         (DeprecatedDOMHTMLSelectElement::length):
3042         (DeprecatedDOMHTMLSelectElement::form):
3043         (DeprecatedDOMHTMLSelectElement::options):
3044         (DeprecatedDOMHTMLSelectElement::disabled):
3045         (DeprecatedDOMHTMLSelectElement::setDisabled):
3046         (DeprecatedDOMHTMLSelectElement::multiple):
3047         (DeprecatedDOMHTMLSelectElement::setMultiple):
3048         (DeprecatedDOMHTMLSelectElement::name):
3049         (DeprecatedDOMHTMLSelectElement::setName):
3050         (DeprecatedDOMHTMLSelectElement::size):
3051         (DeprecatedDOMHTMLSelectElement::setSize):
3052         (DeprecatedDOMHTMLSelectElement::tabIndex):
3053         (DeprecatedDOMHTMLSelectElement::setTabIndex):
3054         (DeprecatedDOMHTMLSelectElement::add):
3055         (DeprecatedDOMHTMLSelectElement::remove):
3056         (DeprecatedDOMHTMLSelectElement::activateItemAtIndex):
3057         (DeprecatedDOMHTMLOptionElement::QueryInterface):
3058         (DeprecatedDOMHTMLOptionElement::form):
3059         (DeprecatedDOMHTMLOptionElement::defaultSelected):
3060         (DeprecatedDOMHTMLOptionElement::setDefaultSelected):
3061         (DeprecatedDOMHTMLOptionElement::text):
3062         (DeprecatedDOMHTMLOptionElement::index):
3063         (DeprecatedDOMHTMLOptionElement::disabled):
3064         (DeprecatedDOMHTMLOptionElement::setDisabled):
3065         (DeprecatedDOMHTMLOptionElement::label):
3066         (DeprecatedDOMHTMLOptionElement::setLabel):
3067         (DeprecatedDOMHTMLOptionElement::selected):
3068         (DeprecatedDOMHTMLOptionElement::setSelected):
3069         (DeprecatedDOMHTMLOptionElement::value):
3070         (DeprecatedDOMHTMLOptionElement::setValue):
3071         (DeprecatedDOMHTMLInputElement::QueryInterface):
3072         (DeprecatedDOMHTMLInputElement::defaultValue):
3073         (DeprecatedDOMHTMLInputElement::setDefaultValue):
3074         (DeprecatedDOMHTMLInputElement::defaultChecked):
3075         (DeprecatedDOMHTMLInputElement::setDefaultChecked):
3076         (DeprecatedDOMHTMLInputElement::form):
3077         (DeprecatedDOMHTMLInputElement::accept):
3078         (DeprecatedDOMHTMLInputElement::setAccept):
3079         (DeprecatedDOMHTMLInputElement::accessKey):
3080         (DeprecatedDOMHTMLInputElement::setAccessKey):
3081         (DeprecatedDOMHTMLInputElement::align):
3082         (DeprecatedDOMHTMLInputElement::setAlign):
3083         (DeprecatedDOMHTMLInputElement::alt):
3084         (DeprecatedDOMHTMLInputElement::setAlt):
3085         (DeprecatedDOMHTMLInputElement::checked):
3086         (DeprecatedDOMHTMLInputElement::setChecked):
3087         (DeprecatedDOMHTMLInputElement::disabled):
3088         (DeprecatedDOMHTMLInputElement::setDisabled):
3089         (DeprecatedDOMHTMLInputElement::maxLength):
3090         (DeprecatedDOMHTMLInputElement::setMaxLength):
3091         (DeprecatedDOMHTMLInputElement::name):
3092         (DeprecatedDOMHTMLInputElement::setName):
3093         (DeprecatedDOMHTMLInputElement::readOnly):
3094         (DeprecatedDOMHTMLInputElement::setReadOnly):
3095         (DeprecatedDOMHTMLInputElement::size):
3096         (DeprecatedDOMHTMLInputElement::setSize):
3097         (DeprecatedDOMHTMLInputElement::src):
3098         (DeprecatedDOMHTMLInputElement::setSrc):
3099         (DeprecatedDOMHTMLInputElement::tabIndex):
3100         (DeprecatedDOMHTMLInputElement::setTabIndex):
3101         (DeprecatedDOMHTMLInputElement::type):
3102         (DeprecatedDOMHTMLInputElement::setType):
3103         (DeprecatedDOMHTMLInputElement::useMap):
3104         (DeprecatedDOMHTMLInputElement::setUseMap):
3105         (DeprecatedDOMHTMLInputElement::value):
3106         (DeprecatedDOMHTMLInputElement::setValue):
3107         (DeprecatedDOMHTMLInputElement::select):
3108         (DeprecatedDOMHTMLInputElement::click):
3109         (DeprecatedDOMHTMLInputElement::setSelectionStart):
3110         (DeprecatedDOMHTMLInputElement::selectionStart):
3111         (DeprecatedDOMHTMLInputElement::setSelectionEnd):
3112         (DeprecatedDOMHTMLInputElement::selectionEnd):
3113         (DeprecatedDOMHTMLInputElement::isTextField):
3114         (DeprecatedDOMHTMLInputElement::rectOnScreen):
3115         (DeprecatedDOMHTMLInputElement::replaceCharactersInRange):
3116         (DeprecatedDOMHTMLInputElement::selectedRange):
3117         (DeprecatedDOMHTMLInputElement::setAutofilled):
3118         (DeprecatedDOMHTMLInputElement::isUserEdited):
3119         (DeprecatedDOMHTMLTextAreaElement::QueryInterface):
3120         (DeprecatedDOMHTMLTextAreaElement::defaultValue):
3121         (DeprecatedDOMHTMLTextAreaElement::setDefaultValue):
3122         (DeprecatedDOMHTMLTextAreaElement::form):
3123         (DeprecatedDOMHTMLTextAreaElement::accessKey):
3124         (DeprecatedDOMHTMLTextAreaElement::setAccessKey):
3125         (DeprecatedDOMHTMLTextAreaElement::cols):
3126         (DeprecatedDOMHTMLTextAreaElement::setCols):
3127         (DeprecatedDOMHTMLTextAreaElement::disabled):
3128         (DeprecatedDOMHTMLTextAreaElement::setDisabled):
3129         (DeprecatedDOMHTMLTextAreaElement::name):
3130         (DeprecatedDOMHTMLTextAreaElement::setName):
3131         (DeprecatedDOMHTMLTextAreaElement::readOnly):
3132         (DeprecatedDOMHTMLTextAreaElement::setReadOnly):
3133         (DeprecatedDOMHTMLTextAreaElement::rows):
3134         (DeprecatedDOMHTMLTextAreaElement::setRows):
3135         (DeprecatedDOMHTMLTextAreaElement::tabIndex):
3136         (DeprecatedDOMHTMLTextAreaElement::setTabIndex):
3137         (DeprecatedDOMHTMLTextAreaElement::type):
3138         (DeprecatedDOMHTMLTextAreaElement::value):
3139         (DeprecatedDOMHTMLTextAreaElement::setValue):
3140         (DeprecatedDOMHTMLTextAreaElement::select):
3141         (DeprecatedDOMHTMLTextAreaElement::isUserEdited):
3142         * DOMHTMLClasses.h:
3143         (DeprecatedDOMHTMLCollection::AddRef):
3144         (DeprecatedDOMHTMLCollection::Release):
3145         (DeprecatedDOMHTMLCollection::throwException):
3146         (DeprecatedDOMHTMLCollection::callWebScriptMethod):
3147         (DeprecatedDOMHTMLCollection::evaluateWebScript):
3148         (DeprecatedDOMHTMLCollection::removeWebScriptKey):
3149         (DeprecatedDOMHTMLCollection::stringRepresentation):
3150         (DeprecatedDOMHTMLCollection::webScriptValueAtIndex):
3151         (DeprecatedDOMHTMLCollection::setWebScriptValueAtIndex):
3152         (DeprecatedDOMHTMLCollection::setException):
3153         (DeprecatedDOMHTMLOptionsCollection::AddRef):
3154         (DeprecatedDOMHTMLOptionsCollection::Release):
3155         (DeprecatedDOMHTMLOptionsCollection::throwException):
3156         (DeprecatedDOMHTMLOptionsCollection::callWebScriptMethod):
3157         (DeprecatedDOMHTMLOptionsCollection::evaluateWebScript):
3158         (DeprecatedDOMHTMLOptionsCollection::removeWebScriptKey):
3159         (DeprecatedDOMHTMLOptionsCollection::stringRepresentation):
3160         (DeprecatedDOMHTMLOptionsCollection::webScriptValueAtIndex):
3161         (DeprecatedDOMHTMLOptionsCollection::setWebScriptValueAtIndex):
3162         (DeprecatedDOMHTMLOptionsCollection::setException):
3163         (DeprecatedDOMHTMLDocument::DeprecatedDOMHTMLDocument):
3164         (DeprecatedDOMHTMLDocument::AddRef):
3165         (DeprecatedDOMHTMLDocument::Release):
3166         (DeprecatedDOMHTMLDocument::throwException):
3167         (DeprecatedDOMHTMLDocument::callWebScriptMethod):
3168         (DeprecatedDOMHTMLDocument::evaluateWebScript):
3169         (DeprecatedDOMHTMLDocument::removeWebScriptKey):
3170         (DeprecatedDOMHTMLDocument::stringRepresentation):
3171         (DeprecatedDOMHTMLDocument::webScriptValueAtIndex):
3172         (DeprecatedDOMHTMLDocument::setWebScriptValueAtIndex):
3173         (DeprecatedDOMHTMLDocument::setException):
3174         (DeprecatedDOMHTMLDocument::nodeName):
3175         (DeprecatedDOMHTMLDocument::nodeValue):
3176         (DeprecatedDOMHTMLDocument::nodeType):
3177         (DeprecatedDOMHTMLDocument::parentNode):
3178         (DeprecatedDOMHTMLDocument::childNodes):
3179         (DeprecatedDOMHTMLDocument::firstChild):
3180         (DeprecatedDOMHTMLDocument::lastChild):
3181         (DeprecatedDOMHTMLDocument::previousSibling):
3182         (DeprecatedDOMHTMLDocument::nextSibling):
3183         (DeprecatedDOMHTMLDocument::attributes):
3184         (DeprecatedDOMHTMLDocument::ownerDocument):
3185         (DeprecatedDOMHTMLDocument::insertBefore):
3186         (DeprecatedDOMHTMLDocument::replaceChild):
3187         (DeprecatedDOMHTMLDocument::removeChild):
3188         (DeprecatedDOMHTMLDocument::appendChild):
3189         (DeprecatedDOMHTMLDocument::hasChildNodes):
3190         (DeprecatedDOMHTMLDocument::cloneNode):
3191         (DeprecatedDOMHTMLDocument::normalize):
3192         (DeprecatedDOMHTMLDocument::isSupported):
3193         (DeprecatedDOMHTMLDocument::namespaceURI):
3194         (DeprecatedDOMHTMLDocument::prefix):
3195         (DeprecatedDOMHTMLDocument::setPrefix):
3196         (DeprecatedDOMHTMLDocument::localName):
3197         (DeprecatedDOMHTMLDocument::hasAttributes):
3198         (DeprecatedDOMHTMLDocument::isSameNode):
3199         (DeprecatedDOMHTMLDocument::isEqualNode):
3200         (DeprecatedDOMHTMLDocument::textContent):
3201         (DeprecatedDOMHTMLDocument::setTextContent):
3202         (DeprecatedDOMHTMLDocument::doctype):
3203         (DeprecatedDOMHTMLDocument::implementation):
3204         (DeprecatedDOMHTMLDocument::documentElement):
3205         (DeprecatedDOMHTMLDocument::createElement):
3206         (DeprecatedDOMHTMLDocument::createDocumentFragment):
3207         (DeprecatedDOMHTMLDocument::createTextNode):
3208         (DeprecatedDOMHTMLDocument::createComment):
3209         (DeprecatedDOMHTMLDocument::createCDATASection):
3210         (DeprecatedDOMHTMLDocument::createProcessingInstruction):
3211         (DeprecatedDOMHTMLDocument::createAttribute):
3212         (DeprecatedDOMHTMLDocument::createEntityReference):
3213         (DeprecatedDOMHTMLDocument::getElementsByTagName):
3214         (DeprecatedDOMHTMLDocument::importNode):
3215         (DeprecatedDOMHTMLDocument::createElementNS):
3216         (DeprecatedDOMHTMLDocument::createAttributeNS):
3217         (DeprecatedDOMHTMLDocument::getElementsByTagNameNS):
3218         (DeprecatedDOMHTMLDocument::getElementById):
3219         (DeprecatedDOMHTMLElement::DeprecatedDOMHTMLElement):
3220         (DeprecatedDOMHTMLElement::AddRef):
3221         (DeprecatedDOMHTMLElement::Release):
3222         (DeprecatedDOMHTMLElement::throwException):
3223         (DeprecatedDOMHTMLElement::callWebScriptMethod):
3224         (DeprecatedDOMHTMLElement::evaluateWebScript):
3225         (DeprecatedDOMHTMLElement::removeWebScriptKey):
3226         (DeprecatedDOMHTMLElement::stringRepresentation):
3227         (DeprecatedDOMHTMLElement::webScriptValueAtIndex):
3228         (DeprecatedDOMHTMLElement::setWebScriptValueAtIndex):
3229         (DeprecatedDOMHTMLElement::setException):
3230         (DeprecatedDOMHTMLElement::nodeName):
3231         (DeprecatedDOMHTMLElement::nodeValue):
3232         (DeprecatedDOMHTMLElement::setNodeValue):
3233         (DeprecatedDOMHTMLElement::nodeType):
3234         (DeprecatedDOMHTMLElement::parentNode):
3235         (DeprecatedDOMHTMLElement::childNodes):
3236         (DeprecatedDOMHTMLElement::firstChild):
3237         (DeprecatedDOMHTMLElement::lastChild):
3238         (DeprecatedDOMHTMLElement::previousSibling):
3239         (DeprecatedDOMHTMLElement::nextSibling):
3240         (DeprecatedDOMHTMLElement::attributes):
3241         (DeprecatedDOMHTMLElement::ownerDocument):
3242         (DeprecatedDOMHTMLElement::insertBefore):
3243         (DeprecatedDOMHTMLElement::replaceChild):
3244         (DeprecatedDOMHTMLElement::removeChild):
3245         (DeprecatedDOMHTMLElement::appendChild):
3246         (DeprecatedDOMHTMLElement::hasChildNodes):
3247         (DeprecatedDOMHTMLElement::cloneNode):
3248         (DeprecatedDOMHTMLElement::normalize):
3249         (DeprecatedDOMHTMLElement::isSupported):
3250         (DeprecatedDOMHTMLElement::namespaceURI):
3251         (DeprecatedDOMHTMLElement::prefix):
3252         (DeprecatedDOMHTMLElement::setPrefix):
3253         (DeprecatedDOMHTMLElement::localName):
3254         (DeprecatedDOMHTMLElement::hasAttributes):
3255         (DeprecatedDOMHTMLElement::isSameNode):
3256         (DeprecatedDOMHTMLElement::isEqualNode):
3257         (DeprecatedDOMHTMLElement::textContent):
3258         (DeprecatedDOMHTMLElement::setTextContent):
3259         (DeprecatedDOMHTMLElement::tagName):
3260         (DeprecatedDOMHTMLElement::getAttribute):
3261         (DeprecatedDOMHTMLElement::setAttribute):
3262         (DeprecatedDOMHTMLElement::removeAttribute):
3263         (DeprecatedDOMHTMLElement::getAttributeNode):
3264         (DeprecatedDOMHTMLElement::setAttributeNode):
3265         (DeprecatedDOMHTMLElement::removeAttributeNode):
3266         (DeprecatedDOMHTMLElement::getElementsByTagName):
3267         (DeprecatedDOMHTMLElement::getAttributeNS):
3268         (DeprecatedDOMHTMLElement::setAttributeNS):
3269         (DeprecatedDOMHTMLElement::removeAttributeNS):
3270         (DeprecatedDOMHTMLElement::getAttributeNodeNS):
3271         (DeprecatedDOMHTMLElement::setAttributeNodeNS):
3272         (DeprecatedDOMHTMLElement::getElementsByTagNameNS):
3273         (DeprecatedDOMHTMLElement::hasAttribute):
3274         (DeprecatedDOMHTMLElement::hasAttributeNS):
3275         (DeprecatedDOMHTMLElement::focus):
3276         (DeprecatedDOMHTMLElement::blur):
3277         (DeprecatedDOMHTMLFormElement::DeprecatedDOMHTMLFormElement):
3278         (DeprecatedDOMHTMLFormElement::AddRef):
3279         (DeprecatedDOMHTMLFormElement::Release):
3280         (DeprecatedDOMHTMLFormElement::throwException):
3281         (DeprecatedDOMHTMLFormElement::callWebScriptMethod):
3282         (DeprecatedDOMHTMLFormElement::evaluateWebScript):
3283         (DeprecatedDOMHTMLFormElement::removeWebScriptKey):
3284         (DeprecatedDOMHTMLFormElement::stringRepresentation):
3285         (DeprecatedDOMHTMLFormElement::webScriptValueAtIndex):
3286         (DeprecatedDOMHTMLFormElement::setWebScriptValueAtIndex):
3287         (DeprecatedDOMHTMLFormElement::setException):
3288         (DeprecatedDOMHTMLFormElement::nodeName):
3289         (DeprecatedDOMHTMLFormElement::nodeValue):
3290         (DeprecatedDOMHTMLFormElement::setNodeValue):
3291         (DeprecatedDOMHTMLFormElement::nodeType):
3292         (DeprecatedDOMHTMLFormElement::parentNode):
3293         (DeprecatedDOMHTMLFormElement::childNodes):
3294         (DeprecatedDOMHTMLFormElement::firstChild):
3295         (DeprecatedDOMHTMLFormElement::lastChild):
3296         (DeprecatedDOMHTMLFormElement::previousSibling):
3297         (DeprecatedDOMHTMLFormElement::nextSibling):
3298         (DeprecatedDOMHTMLFormElement::attributes):
3299         (DeprecatedDOMHTMLFormElement::ownerDocument):
3300         (DeprecatedDOMHTMLFormElement::insertBefore):
3301         (DeprecatedDOMHTMLFormElement::replaceChild):
3302         (DeprecatedDOMHTMLFormElement::removeChild):
3303         (DeprecatedDOMHTMLFormElement::appendChild):
3304         (DeprecatedDOMHTMLFormElement::hasChildNodes):
3305         (DeprecatedDOMHTMLFormElement::cloneNode):
3306         (DeprecatedDOMHTMLFormElement::normalize):
3307         (DeprecatedDOMHTMLFormElement::isSupported):
3308         (DeprecatedDOMHTMLFormElement::namespaceURI):
3309         (DeprecatedDOMHTMLFormElement::prefix):
3310         (DeprecatedDOMHTMLFormElement::setPrefix):
3311         (DeprecatedDOMHTMLFormElement::localName):
3312         (DeprecatedDOMHTMLFormElement::hasAttributes):
3313         (DeprecatedDOMHTMLFormElement::isSameNode):
3314         (DeprecatedDOMHTMLFormElement::isEqualNode):
3315         (DeprecatedDOMHTMLFormElement::textContent):
3316         (DeprecatedDOMHTMLFormElement::setTextContent):
3317         (DeprecatedDOMHTMLFormElement::tagName):
3318         (DeprecatedDOMHTMLFormElement::getAttribute):
3319         (DeprecatedDOMHTMLFormElement::setAttribute):
3320         (DeprecatedDOMHTMLFormElement::removeAttribute):
3321         (DeprecatedDOMHTMLFormElement::getAttributeNode):
3322         (DeprecatedDOMHTMLFormElement::setAttributeNode):
3323         (DeprecatedDOMHTMLFormElement::removeAttributeNode):
3324         (DeprecatedDOMHTMLFormElement::getElementsByTagName):
3325         (DeprecatedDOMHTMLFormElement::getAttributeNS):
3326         (DeprecatedDOMHTMLFormElement::setAttributeNS):
3327         (DeprecatedDOMHTMLFormElement::removeAttributeNS):
3328         (DeprecatedDOMHTMLFormElement::getAttributeNodeNS):
3329         (DeprecatedDOMHTMLFormElement::setAttributeNodeNS):
3330         (DeprecatedDOMHTMLFormElement::getElementsByTagNameNS):
3331         (DeprecatedDOMHTMLFormElement::hasAttribute):
3332         (DeprecatedDOMHTMLFormElement::hasAttributeNS):
3333         (DeprecatedDOMHTMLFormElement::focus):
3334         (DeprecatedDOMHTMLFormElement::blur):
3335         (DeprecatedDOMHTMLFormElement::idName):
3336         (DeprecatedDOMHTMLFormElement::setIdName):
3337         (DeprecatedDOMHTMLFormElement::title):
3338         (DeprecatedDOMHTMLFormElement::setTitle):
3339         (DeprecatedDOMHTMLFormElement::lang):
3340         (DeprecatedDOMHTMLFormElement::setLang):
3341         (DeprecatedDOMHTMLFormElement::dir):
3342         (DeprecatedDOMHTMLFormElement::setDir):
3343         (DeprecatedDOMHTMLFormElement::className):
3344         (DeprecatedDOMHTMLFormElement::setClassName):
3345         (DeprecatedDOMHTMLFormElement::innerHTML):
3346         (DeprecatedDOMHTMLFormElement::setInnerHTML):
3347         (DeprecatedDOMHTMLFormElement::innerText):
3348         (DeprecatedDOMHTMLFormElement::setInnerText):
3349         (DeprecatedDOMHTMLSelectElement::DeprecatedDOMHTMLSelectElement):
3350         (DeprecatedDOMHTMLSelectElement::AddRef):
3351         (DeprecatedDOMHTMLSelectElement::Release):
3352         (DeprecatedDOMHTMLSelectElement::throwException):
3353         (DeprecatedDOMHTMLSelectElement::callWebScriptMethod):
3354         (DeprecatedDOMHTMLSelectElement::evaluateWebScript):
3355         (DeprecatedDOMHTMLSelectElement::removeWebScriptKey):
3356         (DeprecatedDOMHTMLSelectElement::stringRepresentation):
3357         (DeprecatedDOMHTMLSelectElement::webScriptValueAtIndex):
3358         (DeprecatedDOMHTMLSelectElement::setWebScriptValueAtIndex):
3359         (DeprecatedDOMHTMLSelectElement::setException):
3360         (DeprecatedDOMHTMLSelectElement::nodeName):
3361         (DeprecatedDOMHTMLSelectElement::nodeValue):
3362         (DeprecatedDOMHTMLSelectElement::setNodeValue):
3363         (DeprecatedDOMHTMLSelectElement::nodeType):
3364         (DeprecatedDOMHTMLSelectElement::parentNode):
3365         (DeprecatedDOMHTMLSelectElement::childNodes):
3366         (DeprecatedDOMHTMLSelectElement::firstChild):
3367         (DeprecatedDOMHTMLSelectElement::lastChild):
3368         (DeprecatedDOMHTMLSelectElement::previousSibling):
3369         (DeprecatedDOMHTMLSelectElement::nextSibling):
3370         (DeprecatedDOMHTMLSelectElement::attributes):
3371         (DeprecatedDOMHTMLSelectElement::ownerDocument):
3372         (DeprecatedDOMHTMLSelectElement::insertBefore):
3373         (DeprecatedDOMHTMLSelectElement::replaceChild):
3374         (DeprecatedDOMHTMLSelectElement::removeChild):
3375         (DeprecatedDOMHTMLSelectElement::appendChild):
3376         (DeprecatedDOMHTMLSelectElement::hasChildNodes):
3377         (DeprecatedDOMHTMLSelectElement::cloneNode):
3378         (DeprecatedDOMHTMLSelectElement::normalize):
3379         (DeprecatedDOMHTMLSelectElement::isSupported):
3380         (DeprecatedDOMHTMLSelectElement::namespaceURI):
3381         (DeprecatedDOMHTMLSelectElement::prefix):
3382         (DeprecatedDOMHTMLSelectElement::setPrefix):
3383         (DeprecatedDOMHTMLSelectElement::localName):
3384         (DeprecatedDOMHTMLSelectElement::hasAttributes):
3385         (DeprecatedDOMHTMLSelectElement::isSameNode):
3386         (DeprecatedDOMHTMLSelectElement::isEqualNode):
3387         (DeprecatedDOMHTMLSelectElement::textContent):
3388         (DeprecatedDOMHTMLSelectElement::setTextContent):
3389         (DeprecatedDOMHTMLSelectElement::tagName):
3390         (DeprecatedDOMHTMLSelectElement::getAttribute):
3391         (DeprecatedDOMHTMLSelectElement::setAttribute):
3392         (DeprecatedDOMHTMLSelectElement::removeAttribute):
3393         (DeprecatedDOMHTMLSelectElement::getAttributeNode):
3394         (DeprecatedDOMHTMLSelectElement::setAttributeNode):
3395         (DeprecatedDOMHTMLSelectElement::removeAttributeNode):
3396         (DeprecatedDOMHTMLSelectElement::getElementsByTagName):
3397         (DeprecatedDOMHTMLSelectElement::getAttributeNS):
3398         (DeprecatedDOMHTMLSelectElement::setAttributeNS):
3399         (DeprecatedDOMHTMLSelectElement::removeAttributeNS):
3400         (DeprecatedDOMHTMLSelectElement::getAttributeNodeNS):
3401         (DeprecatedDOMHTMLSelectElement::setAttributeNodeNS):
3402         (DeprecatedDOMHTMLSelectElement::getElementsByTagNameNS):
3403         (DeprecatedDOMHTMLSelectElement::hasAttribute):
3404         (DeprecatedDOMHTMLSelectElement::hasAttributeNS):
3405         (DeprecatedDOMHTMLSelectElement::focus):
3406         (DeprecatedDOMHTMLSelectElement::blur):
3407         (DeprecatedDOMHTMLSelectElement::idName):
3408         (DeprecatedDOMHTMLSelectElement::setIdName):
3409         (DeprecatedDOMHTMLSelectElement::title):
3410         (DeprecatedDOMHTMLSelectElement::setTitle):
3411         (DeprecatedDOMHTMLSelectElement::lang):
3412         (DeprecatedDOMHTMLSelectElement::setLang):
3413         (DeprecatedDOMHTMLSelectElement::dir):
3414         (DeprecatedDOMHTMLSelectElement::setDir):
3415         (DeprecatedDOMHTMLSelectElement::className):
3416         (DeprecatedDOMHTMLSelectElement::setClassName):
3417         (DeprecatedDOMHTMLSelectElement::innerHTML):
3418         (DeprecatedDOMHTMLSelectElement::setInnerHTML):
3419         (DeprecatedDOMHTMLSelectElement::innerText):
3420         (DeprecatedDOMHTMLSelectElement::setInnerText):
3421         (DeprecatedDOMHTMLOptionElement::DeprecatedDOMHTMLOptionElement):
3422         (DeprecatedDOMHTMLOptionElement::AddRef):
3423         (DeprecatedDOMHTMLOptionElement::Release):
3424         (DeprecatedDOMHTMLOptionElement::throwException):
3425         (DeprecatedDOMHTMLOptionElement::callWebScriptMethod):
3426         (DeprecatedDOMHTMLOptionElement::evaluateWebScript):
3427         (DeprecatedDOMHTMLOptionElement::removeWebScriptKey):
3428         (DeprecatedDOMHTMLOptionElement::stringRepresentation):
3429         (DeprecatedDOMHTMLOptionElement::webScriptValueAtIndex):
3430         (DeprecatedDOMHTMLOptionElement::setWebScriptValueAtIndex):
3431         (DeprecatedDOMHTMLOptionElement::setException):
3432         (DeprecatedDOMHTMLOptionElement::nodeName):
3433         (DeprecatedDOMHTMLOptionElement::nodeValue):
3434         (DeprecatedDOMHTMLOptionElement::setNodeValue):
3435         (DeprecatedDOMHTMLOptionElement::nodeType):
3436         (DeprecatedDOMHTMLOptionElement::parentNode):
3437         (DeprecatedDOMHTMLOptionElement::childNodes):
3438         (DeprecatedDOMHTMLOptionElement::firstChild):
3439         (DeprecatedDOMHTMLOptionElement::lastChild):
3440         (DeprecatedDOMHTMLOptionElement::previousSibling):
3441         (DeprecatedDOMHTMLOptionElement::nextSibling):
3442         (DeprecatedDOMHTMLOptionElement::attributes):
3443         (DeprecatedDOMHTMLOptionElement::ownerDocument):
3444         (DeprecatedDOMHTMLOptionElement::insertBefore):
3445         (DeprecatedDOMHTMLOptionElement::replaceChild):
3446         (DeprecatedDOMHTMLOptionElement::removeChild):
3447         (DeprecatedDOMHTMLOptionElement::appendChild):
3448         (DeprecatedDOMHTMLOptionElement::hasChildNodes):
3449         (DeprecatedDOMHTMLOptionElement::cloneNode):
3450         (DeprecatedDOMHTMLOptionElement::normalize):
3451         (DeprecatedDOMHTMLOptionElement::isSupported):
3452         (DeprecatedDOMHTMLOptionElement::namespaceURI):
3453         (DeprecatedDOMHTMLOptionElement::prefix):
3454         (DeprecatedDOMHTMLOptionElement::setPrefix):
3455         (DeprecatedDOMHTMLOptionElement::localName):
3456         (DeprecatedDOMHTMLOptionElement::hasAttributes):
3457         (DeprecatedDOMHTMLOptionElement::isSameNode):
3458         (DeprecatedDOMHTMLOptionElement::isEqualNode):
3459         (DeprecatedDOMHTMLOptionElement::textContent):
3460         (DeprecatedDOMHTMLOptionElement::setTextContent):
3461         (DeprecatedDOMHTMLOptionElement::tagName):
3462         (DeprecatedDOMHTMLOptionElement::getAttribute):
3463         (DeprecatedDOMHTMLOptionElement::setAttribute):
3464         (DeprecatedDOMHTMLOptionElement::removeAttribute):
3465         (DeprecatedDOMHTMLOptionElement::getAttributeNode):
3466         (DeprecatedDOMHTMLOptionElement::setAttributeNode):
3467         (DeprecatedDOMHTMLOptionElement::removeAttributeNode):
3468         (DeprecatedDOMHTMLOptionElement::getElementsByTagName):
3469         (DeprecatedDOMHTMLOptionElement::getAttributeNS):
3470         (DeprecatedDOMHTMLOptionElement::setAttributeNS):
3471         (DeprecatedDOMHTMLOptionElement::removeAttributeNS):
3472         (DeprecatedDOMHTMLOptionElement::getAttributeNodeNS):
3473         (DeprecatedDOMHTMLOptionElement::setAttributeNodeNS):
3474         (DeprecatedDOMHTMLOptionElement::getElementsByTagNameNS):
3475         (DeprecatedDOMHTMLOptionElement::hasAttribute):
3476         (DeprecatedDOMHTMLOptionElement::hasAttributeNS):
3477         (DeprecatedDOMHTMLOptionElement::focus):
3478         (DeprecatedDOMHTMLOptionElement::blur):
3479         (DeprecatedDOMHTMLOptionElement::idName):
3480         (DeprecatedDOMHTMLOptionElement::setIdName):
3481         (DeprecatedDOMHTMLOptionElement::title):
3482         (DeprecatedDOMHTMLOptionElement::setTitle):
3483         (DeprecatedDOMHTMLOptionElement::lang):
3484         (DeprecatedDOMHTMLOptionElement::setLang):
3485         (DeprecatedDOMHTMLOptionElement::dir):
3486         (DeprecatedDOMHTMLOptionElement::setDir):
3487         (DeprecatedDOMHTMLOptionElement::className):
3488         (DeprecatedDOMHTMLOptionElement::setClassName):
3489         (DeprecatedDOMHTMLOptionElement::innerHTML):
3490         (DeprecatedDOMHTMLOptionElement::setInnerHTML):
3491         (DeprecatedDOMHTMLOptionElement::innerText):
3492         (DeprecatedDOMHTMLOptionElement::setInnerText):
3493         (DeprecatedDOMHTMLInputElement::DeprecatedDOMHTMLInputElement):
3494         (DeprecatedDOMHTMLInputElement::AddRef):
3495         (DeprecatedDOMHTMLInputElement::Release):
3496         (DeprecatedDOMHTMLInputElement::throwException):
3497         (DeprecatedDOMHTMLInputElement::callWebScriptMethod):
3498         (DeprecatedDOMHTMLInputElement::evaluateWebScript):
3499         (DeprecatedDOMHTMLInputElement::removeWebScriptKey):
3500         (DeprecatedDOMHTMLInputElement::stringRepresentation):
3501         (DeprecatedDOMHTMLInputElement::webScriptValueAtIndex):
3502         (DeprecatedDOMHTMLInputElement::setWebScriptValueAtIndex):
3503         (DeprecatedDOMHTMLInputElement::setException):
3504         (DeprecatedDOMHTMLInputElement::nodeName):
3505         (DeprecatedDOMHTMLInputElement::nodeValue):
3506         (DeprecatedDOMHTMLInputElement::setNodeValue):
3507         (DeprecatedDOMHTMLInputElement::nodeType):
3508         (DeprecatedDOMHTMLInputElement::parentNode):
3509         (DeprecatedDOMHTMLInputElement::childNodes):
3510         (DeprecatedDOMHTMLInputElement::firstChild):
3511         (DeprecatedDOMHTMLInputElement::lastChild):
3512         (DeprecatedDOMHTMLInputElement::previousSibling):
3513         (DeprecatedDOMHTMLInputElement::nextSibling):
3514         (DeprecatedDOMHTMLInputElement::attributes):
3515         (DeprecatedDOMHTMLInputElement::ownerDocument):
3516         (DeprecatedDOMHTMLInputElement::insertBefore):
3517         (DeprecatedDOMHTMLInputElement::replaceChild):
3518         (DeprecatedDOMHTMLInputElement::removeChild):
3519         (DeprecatedDOMHTMLInputElement::appendChild):
3520         (DeprecatedDOMHTMLInputElement::hasChildNodes):
3521         (DeprecatedDOMHTMLInputElement::cloneNode):
3522         (DeprecatedDOMHTMLInputElement::normalize):
3523         (DeprecatedDOMHTMLInputElement::isSupported):
3524         (DeprecatedDOMHTMLInputElement::namespaceURI):
3525         (DeprecatedDOMHTMLInputElement::prefix):
3526         (DeprecatedDOMHTMLInputElement::setPrefix):
3527         (DeprecatedDOMHTMLInputElement::localName):
3528         (DeprecatedDOMHTMLInputElement::hasAttributes):
3529         (DeprecatedDOMHTMLInputElement::isSameNode):
3530         (DeprecatedDOMHTMLInputElement::isEqualNode):
3531         (DeprecatedDOMHTMLInputElement::textContent):
3532         (DeprecatedDOMHTMLInputElement::setTextContent):
3533         (DeprecatedDOMHTMLInputElement::tagName):
3534         (DeprecatedDOMHTMLInputElement::getAttribute):
3535         (DeprecatedDOMHTMLInputElement::setAttribute):
3536         (DeprecatedDOMHTMLInputElement::removeAttribute):
3537         (DeprecatedDOMHTMLInputElement::getAttributeNode):
3538         (DeprecatedDOMHTMLInputElement::setAttributeNode):
3539         (DeprecatedDOMHTMLInputElement::removeAttributeNode):
3540         (DeprecatedDOMHTMLInputElement::getElementsByTagName):
3541         (DeprecatedDOMHTMLInputElement::getAttributeNS):
3542         (DeprecatedDOMHTMLInputElement::setAttributeNS):
3543         (DeprecatedDOMHTMLInputElement::removeAttributeNS):
3544         (DeprecatedDOMHTMLInputElement::getAttributeNodeNS):
3545         (DeprecatedDOMHTMLInputElement::setAttributeNodeNS):
3546         (DeprecatedDOMHTMLInputElement::getElementsByTagNameNS):
3547         (DeprecatedDOMHTMLInputElement::hasAttribute):
3548         (DeprecatedDOMHTMLInputElement::hasAttributeNS):
3549         (DeprecatedDOMHTMLInputElement::focus):
3550         (DeprecatedDOMHTMLInputElement::blur):
3551         (DeprecatedDOMHTMLInputElement::idName):
3552         (DeprecatedDOMHTMLInputElement::setIdName):
3553         (DeprecatedDOMHTMLInputElement::title):
3554         (DeprecatedDOMHTMLInputElement::setTitle):
3555         (DeprecatedDOMHTMLInputElement::lang):
3556         (DeprecatedDOMHTMLInputElement::setLang):
3557         (DeprecatedDOMHTMLInputElement::dir):
3558         (DeprecatedDOMHTMLInputElement::setDir):
3559         (DeprecatedDOMHTMLInputElement::className):
3560         (DeprecatedDOMHTMLInputElement::setClassName):
3561         (DeprecatedDOMHTMLInputElement::innerHTML):
3562         (DeprecatedDOMHTMLInputElement::setInnerHTML):
3563         (DeprecatedDOMHTMLInputElement::innerText):
3564         (DeprecatedDOMHTMLInputElement::setInnerText):
3565         (DeprecatedDOMHTMLTextAreaElement::DeprecatedDOMHTMLTextAreaElement):
3566         (DeprecatedDOMHTMLTextAreaElement::AddRef):
3567         (DeprecatedDOMHTMLTextAreaElement::Release):
3568         (DeprecatedDOMHTMLTextAreaElement::throwException):
3569         (DeprecatedDOMHTMLTextAreaElement::callWebScriptMethod):
3570         (DeprecatedDOMHTMLTextAreaElement::evaluateWebScript):
3571         (DeprecatedDOMHTMLTextAreaElement::removeWebScriptKey):
3572         (DeprecatedDOMHTMLTextAreaElement::stringRepresentation):
3573         (DeprecatedDOMHTMLTextAreaElement::webScriptValueAtIndex):
3574         (DeprecatedDOMHTMLTextAreaElement::setWebScriptValueAtIndex):
3575         (DeprecatedDOMHTMLTextAreaElement::setException):
3576         (DeprecatedDOMHTMLTextAreaElement::nodeName):
3577         (DeprecatedDOMHTMLTextAreaElement::nodeValue):
3578         (DeprecatedDOMHTMLTextAreaElement::setNodeValue):
3579         (DeprecatedDOMHTMLTextAreaElement::nodeType):
3580         (DeprecatedDOMHTMLTextAreaElement::parentNode):
3581         (DeprecatedDOMHTMLTextAreaElement::childNodes):
3582         (DeprecatedDOMHTMLTextAreaElement::firstChild):
3583         (DeprecatedDOMHTMLTextAreaElement::lastChild):
3584         (DeprecatedDOMHTMLTextAreaElement::previousSibling):
3585         (DeprecatedDOMHTMLTextAreaElement::nextSibling):
3586         (DeprecatedDOMHTMLTextAreaElement::attributes):
3587         (DeprecatedDOMHTMLTextAreaElement::ownerDocument):
3588         (DeprecatedDOMHTMLTextAreaElement::insertBefore):
3589         (DeprecatedDOMHTMLTextAreaElement::replaceChild):
3590         (DeprecatedDOMHTMLTextAreaElement::removeChild):
3591         (DeprecatedDOMHTMLTextAreaElement::appendChild):
3592         (DeprecatedDOMHTMLTextAreaElement::hasChildNodes):
3593         (DeprecatedDOMHTMLTextAreaElement::cloneNode):
3594         (DeprecatedDOMHTMLTextAreaElement::normalize):
3595         (DeprecatedDOMHTMLTextAreaElement::isSupported):
3596         (DeprecatedDOMHTMLTextAreaElement::namespaceURI):
3597         (DeprecatedDOMHTMLTextAreaElement::prefix):
3598         (DeprecatedDOMHTMLTextAreaElement::setPrefix):
3599         (DeprecatedDOMHTMLTextAreaElement::localName):
3600         (DeprecatedDOMHTMLTextAreaElement::hasAttributes):
3601         (DeprecatedDOMHTMLTextAreaElement::isSameNode):
3602         (DeprecatedDOMHTMLTextAreaElement::isEqualNode):
3603         (DeprecatedDOMHTMLTextAreaElement::textContent):
3604         (DeprecatedDOMHTMLTextAreaElement::setTextContent):
3605         (DeprecatedDOMHTMLTextAreaElement::tagName):
3606         (DeprecatedDOMHTMLTextAreaElement::getAttribute):
3607         (DeprecatedDOMHTMLTextAreaElement::setAttribute):
3608         (DeprecatedDOMHTMLTextAreaElement::removeAttribute):
3609         (DeprecatedDOMHTMLTextAreaElement::getAttributeNode):
3610         (DeprecatedDOMHTMLTextAreaElement::setAttributeNode):
3611         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNode):
3612         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagName):
3613         (DeprecatedDOMHTMLTextAreaElement::getAttributeNS):
3614         (DeprecatedDOMHTMLTextAreaElement::setAttributeNS):
3615         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNS):
3616         (DeprecatedDOMHTMLTextAreaElement::getAttributeNodeNS):
3617         (DeprecatedDOMHTMLTextAreaElement::setAttributeNodeNS):
3618         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagNameNS):
3619         (DeprecatedDOMHTMLTextAreaElement::hasAttribute):
3620         (DeprecatedDOMHTMLTextAreaElement::hasAttributeNS):
3621         (DeprecatedDOMHTMLTextAreaElement::focus):
3622         (DeprecatedDOMHTMLTextAreaElement::blur):
3623         (DeprecatedDOMHTMLTextAreaElement::idName):
3624         (DeprecatedDOMHTMLTextAreaElement::setIdName):
3625         (DeprecatedDOMHTMLTextAreaElement::title):
3626         (DeprecatedDOMHTMLTextAreaElement::setTitle):
3627         (DeprecatedDOMHTMLTextAreaElement::lang):
3628         (DeprecatedDOMHTMLTextAreaElement::setLang):
3629         (DeprecatedDOMHTMLTextAreaElement::dir):
3630         (DeprecatedDOMHTMLTextAreaElement::setDir):
3631         (DeprecatedDOMHTMLTextAreaElement::className):
3632         (DeprecatedDOMHTMLTextAreaElement::setClassName):
3633         (DeprecatedDOMHTMLTextAreaElement::innerHTML):
3634         (DeprecatedDOMHTMLTextAreaElement::setInnerHTML):
3635         (DeprecatedDOMHTMLTextAreaElement::innerText):
3636         (DeprecatedDOMHTMLTextAreaElement::setInnerText):
3637         * Interfaces/DOMCSS.idl:
3638         * Interfaces/DOMCore.idl:
3639         * Interfaces/DOMEvents.idl:
3640         * Interfaces/DOMExtensions.idl:
3641         * Interfaces/DOMHTML.idl:
3642         * Interfaces/DOMPrivate.idl:
3643         * Interfaces/DOMRange.idl:
3644         * Interfaces/DOMWindow.idl:
3645         * Interfaces/IWebEditingDelegate.idl:
3646         * Interfaces/IWebFormDelegate.idl:
3647         * Interfaces/IWebFrame.idl:
3648         * Interfaces/IWebHTMLRepresentation.idl:
3649         * Interfaces/IWebView.idl:
3650         * WebEditorClient.cpp:
3651         (WebEditorClient::shouldDeleteRange):
3652         (WebEditorClient::shouldInsertText):
3653         (WebEditorClient::textFieldDidBeginEditing):
3654         (WebEditorClient::textFieldDidEndEditing):
3655         (WebEditorClient::textDidChangeInTextField):
3656         (WebEditorClient::doTextFieldCommandFromEvent):
3657         (WebEditorClient::textWillBeDeletedInTextField):
3658         (WebEditorClient::textDidChangeInTextArea):
3659         * WebElementPropertyBag.cpp:
3660         (WebElementPropertyBag::Read):
3661         * WebFrame.cpp:
3662         (elementFromDOMElement):
3663         (formElementFromDOMElement):
3664         (inputElementFromDOMElement):
3665         (WebFrame::DOMDocument):
3666         (WebFrame::frameElement):
3667         (WebFrame::currentForm):
3668         (WebFrame::elementWithName):
3669         (WebFrame::formForElement):
3670         (WebFrame::elementDoesAutoComplete):
3671         (WebFrame::controlsInForm):
3672         (WebFrame::elementIsPassword):
3673         (WebFrame::searchForLabelsBeforeElement):
3674         (WebFrame::matchLabelsAgainstElement):
3675         (WebFrame::dispatchWillSubmitForm):
3676         * WebFrame.h:
3677         * WebHTMLRepresentation.cpp:
3678         (WebHTMLRepresentation::attributedStringFromDOMNodes):
3679         (WebHTMLRepresentation::elementWithName):
3680         (WebHTMLRepresentation::elementDoesAutoComplete):
3681         (WebHTMLRepresentation::elementIsPassword):
3682         (WebHTMLRepresentation::formForElement):
3683         (WebHTMLRepresentation::currentForm):
3684         (WebHTMLRepresentation::controlsInForm):
3685         (WebHTMLRepresentation::searchForLabels):
3686         (WebHTMLRepresentation::matchLabels):
3687         * WebHTMLRepresentation.h:
3688         * WebView.cpp:
3689         (WebView::mainFrameDocument):
3690         (WebView::computedStyleForElement):
3691         (WebView::editableDOMRangeForPoint):
3692         (WebView::setSelectedDOMRange):
3693         (WebView::selectedDOMRange):
3694         (WebView::setTypingStyle):
3695         (WebView::typingStyle):
3696         (WebView::styleDeclarationWithText):
3697         (WebView::replaceSelectionWithNode):
3698         (WebView::applyStyle):
3699         * WebView.h:
3700
3701 2007-08-22  Jon Honeycutt  <jhoneycutt@apple.com>
3702
3703         Reviewed by Adam.
3704
3705         Refactoring of <radr://problem/5220598> Dragging URL out and back
3706         inserts a second copy of the URL
3707
3708         * Interfaces/IWebViewPrivate.idl: Added setCustomDropTarget and
3709         removeCustomDropTarget
3710         * WebView.cpp: 
3711         (WebView::WebView): Initialize m_hasCustomDropTarget
3712         (WebView::setCustomDropTarget): Revoke any existing drop target and set
3713         the incoming drop target.
3714         (WebView::removeCustomDropTarget): Revoke any existing drop target and
3715         set the default drop target.
3716         * WebView.h:
3717
3718 2007-08-21  Ada Chan  <adachan@apple.com>
3719
3720         Fix <rdar://problem/5416630> Accelerator to open link in window in background opens window in foreground instead
3721         Placing tooltip window at the topmost in z-order brought windows that were opened in the
3722         background to the front.  Use HWND_TOP instead.
3723
3724         Reviewed by Adam.
3725         
3726         * WebView.cpp:
3727         (WebView::initializeToolTipWindow):
3728
3729 2007-08-21  Adam Roben  <aroben@apple.com>
3730
3731         Switch Windows to using FrameView::layoutIfNeededRecursive
3732
3733         Reviewed by Darin.
3734
3735         * WebFrame.cpp: Removed layoutIfNeededRecursive.
3736         * WebFrame.h: Ditto.
3737         * WebView.cpp:
3738         (WebView::updateBackingStore): Call FrameView::layoutIfNeededRecursive.
3739
3740 2007-08-17  Adam Roben  <aroben@apple.com>
3741
3742         Fix <rdar://5192578> Inspect Element should not appear in context menu in non-debug mode
3743
3744         We now follow the same logic as Mac WebKit for displaying the Inspect Element item:
3745             1) If DisableWebKitDeveloperExtras is set to true, don't display it
3746             2) If not, and we're in a debug build, display it
3747             3) If not, and we're in a release build, display it if
3748                WebKitDeveloperExtras is set to true
3749
3750         Reviewed by Ada.
3751
3752         * Interfaces/IWebPreferencesPrivate.idl: Added.
3753         * WebKit.vcproj/Interfaces.vcproj: Add new IWebPreferencesPrivate.idl
3754         file to project.
3755         * WebKit.vcproj/WebKitGUID.vcproj: Added generated .c file for
3756         IWebPreferencesPrivate to project.
3757         * WebPreferenceKeysPrivate.h: Added new keys.
3758         * WebPreferences.cpp: Added IID_WebPreferences.
3759         (WebPreferences::postPreferencesChangesNotification): Added an explicit
3760         cast needed now that WebPreferences implements two interfaces.
3761         (WebPreferences::QueryInterface): Added new cases.
3762         (WebPreferences::setDeveloperExtrasEnabled): Added.
3763         (WebPreferences::developerExtrasEnabled): Added.
3764         (WebPreferences::developerExtrasDisabledByOverride): Added.
3765         * WebPreferences.h: Now implements IWebPreferencesPrivate.
3766         * WebView.cpp:
3767         (WebView::updateWebCoreSettingsFromPreferences): Call developerExtrasEnabled.
3768         (WebView::developerExtrasEnabled): Ported from -[WebView _developerExtrasEnabled].
3769         * WebView.h:
3770
3771 2007-08-17  Adam Roben  <aroben@apple.com>
3772
3773         Add WebPreferences::sharedStandardPreferences
3774
3775         This is a convenience method to get the standard preferences object so
3776         that within WebKit we don't have to deal with the fact that COM doesn't
3777         support static methods.
3778
3779         Reviewed by Ada.
3780
3781         * WebHistory.cpp:
3782         (WebHistory::WebHistory): Use sharedStandardPreferences.
3783         * WebIconDatabase.cpp:
3784         (WebIconDatabase::init): Ditto.
3785         * WebPreferences.cpp:
3786         (WebPreferences::sharedStandardPreferences): Added.
3787         (WebPreferences::getInstanceForIdentifier): Use sharedStandardPreferences.
3788         (WebPreferences::standardPreferences): Ditto.
3789         * WebPreferences.h:
3790         * WebView.cpp:
3791         (WebView::preferences): Ditto.
3792
3793 2007-08-17  Anders Carlsson  <andersca@apple.com>
3794
3795         Build fix.
3796         
3797         * WebFrame.cpp:
3798         (WebFrame::createPlugin):
3799         * WebFrame.h:
3800         
3801 2007-08-13  Geoffrey Garen  <ggaren@apple.com>
3802
3803         Reviewed by Dave Hyatt.
3804
3805         WebKit changes to support new cache eviction model in WebCore.
3806
3807         * WebPreferences.cpp:
3808         (WebPreferences::initialize):
3809
3810         * WebView/WebPreferences.m: Modified to reflect new API in WebCore.
3811         * WebView.cpp:
3812         (WebView::initializeCacheSizesIfNecessary): Slightly increased cache
3813         size on low memory systems to avoid affecting the PLT for now.
3814
3815 2007-08-14  Steve Falkenburg  <sfalken@apple.com>
3816
3817         <rdar://problem/5411482> Windows user agent language always returns "en"
3818         
3819         Call WebCore::defaultLanguage() to pick up UA language.
3820         
3821         Reviewed by Oliver.
3822
3823         * WebView.cpp:
3824         (WebView::userAgentForKURL):
3825
3826 2007-08-15  Peter Kasting  <zerodpx@gmail.org>
3827
3828         Reviewed by Darin.
3829         
3830         http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
3831         conversions of wtf::Vector<T> to T* by explicitly calling .data()
3832
3833         * WebView.cpp:
3834         (getCompositionString):
3835
3836 2007-08-12  Adam Roben  <aroben@apple.com>
3837
3838         Store user defaults in a non-mutable CFDictionaryRef
3839
3840         Also renamed WebPreferences' static members:
3841             m_standardPreferences -> s_standardPreferences
3842             m_standardUserDefaults -> s_defaultSettings
3843
3844         Reviewed by Darin and John.
3845
3846         * WebPreferences.cpp:
3847         (WebPreferences::getInstanceForIdentifier):
3848         (WebPreferences::initializeUserDefaults): Construct the dictionary as a
3849         local CFMutableDictionaryRef, then assign it to the non-mutable static
3850         member.
3851         (WebPreferences::valueForKey):
3852         (WebPreferences::removeDefaultsIfNeeded):
3853         (WebPreferences::standardPreferences):
3854         * WebPreferences.h:
3855
3856 2007-08-12  Adam Roben  <aroben@apple.com>
3857
3858         Fix <rdar://problem/5214504> No way to change WebPreferences defaults (all preferences get written to disk)
3859
3860         We now only write to disk values that have been explicitly set, and
3861         never write any default values.
3862
3863         This is not enough, however, as anyone who has used WebKit prior to
3864         this change will have the default values sitting in their preferences
3865         plist on disk. To remedy this, we perform a one-time removal of any
3866         key-value pairs that match a pair in the defaults dictionary.
3867
3868         Reviewed by Steve, John, Ada, and Darin.
3869
3870         * WebPreferenceKeysPrivate.h: Added new key to ensure we only remove
3871         the defaults once.
3872         * WebPreferences.cpp:
3873         (WebPreferences::initializeDefaultSettings): Renamed from initialize, and
3874         made sure we only set up the defaults dictionary once. Now that the
3875         defaults dictionary is never modified after creation, we don't need to
3876         check whether the keys are already present.
3877         (WebPreferences::setStringValue): Don't modify the defaults dictionary.
3878         (WebPreferences::setIntegerValue): Ditto.
3879         (WebPreferences::setBoolValue): Ditto.
3880         (WebPreferences::save): Write out the user's preferences, not the defaults.
3881         (WebPreferences::load):
3882            - Removed gotos and early declarations now that we're using
3883              RetainPtr everywhere.
3884            - Initialize m_privatePrefs with an empty dictionary if we didn't
3885              read in a plist.
3886            - Call migrateDefaultSettingsFromSafari3Beta after loading.
3887         (WebPreferences::migrateDefaultSettingsFromSafari3Beta): Added.
3888         (WebPreferences::removeValuesMatchingDefaultSettings): Added.
3889         (WebPreferences::initWithIdentifier): Don't initialize m_privatePrefs
3890         -- load() does this now.
3891         * WebPreferences.h: Updated/added declarations.
3892
3893 2007-08-12  Adam Roben  <aroben@apple.com>
3894
3895         Use RetainPtr to store WebPreferences::m_privatePrefs
3896
3897         Reviewed by Darin.
3898
3899         * WebPreferences.cpp:
3900         (WebPreferences::setStringValue):
3901         (WebPreferences::setIntegerValue):
3902         (WebPreferences::setBoolValue):
3903         (WebPreferences::initWithIdentifier):
3904         * WebPreferences.h:
3905
3906 2007-08-12  Adam Roben  <aroben@apple.com>
3907
3908         Fix <rdar://problem/5278790> Hole for find-on-page match in subframe isn't clipped by frame bounds
3909
3910         Reviewed by Maciej.
3911
3912         * WebView.cpp:
3913         (WebView::rectsForTextMatches): Ported fix from r23586.
3914
3915 2007-08-12  Adam Roben  <aroben@apple.com>
3916
3917         Prevent an ASSERT on launch by initializing AtomicString in WebKitGraphics
3918
3919         Reviewed by Maciej.
3920
3921         * WebKitGraphics.cpp:
3922         (makeFont):
3923
3924 2007-08-10  Ada Chan  <adachan@apple.com>
3925
3926         Reviewed by Adam and Darin.
3927         
3928         <rdar://problem/5403095> Crash in WebViewWndProc after closing a window
3929         We are seeing another case where WM_SETFOCUS is sent after WM_DESTROY has been handled in WebView.
3930         Bail early in the wndProc if WebView is set to be destroyed.
3931
3932         * WebView.cpp:
3933         (WebViewWndProc):
3934
3935 2007-08-02  Ada Chan  <adachan@apple.com>
3936
3937         Reviewed by Steve.
3938         
3939         <rdar://problem/5079175> Printing header and footer
3940
3941         * Interfaces/IWebUIDelegate.idl: added methods for header/footer drawing.
3942         * WebFrame.cpp:
3943         (WebFrame::headerAndFooterHeights): ask client for the header and 
3944         footer heights via IWebUIDelegate2 methods.
3945         (WebFrame::computePageRects): pass in header and footer heights when
3946         calculating page rect heights.
3947         (WebFrame::spoolPages): ask client to draw header and footer via
3948         IWebUIDelegate2 methods.
3949         * WebFrame.h:
3950         * WebKitGraphics.cpp:
3951         (DrawTextAtPoint): the code assumes color has 4 components - might as well
3952         assert it.
3953
3954 2007-08-01  Steve Falkenburg  <sfalken@apple.com>
3955
3956         Build mod: Fix sln to match configs in vcproj.
3957         
3958         Reviewed by Adam.
3959
3960         * WebKit.vcproj/WebKit.make:
3961         * WebKit.vcproj/WebKit.submit.sln:
3962
3963 2007-07-27  Justin Garcia  <justin.garcia@apple.com>
3964
3965         Reviewed by Tristan.
3966         
3967         <rdar://problem/5098931> Attachments are lost when they are moved into a ToDo after a delete
3968
3969         * WebEditorClient.cpp:
3970         (WebEditorClient::shouldMoveRangeAfterDelete): Method stub.
3971         * WebEditorClient.h:
3972
3973 2007-07-27  Anders Carlsson  <andersca@apple.com>
3974
3975         Reviewed by Adam.
3976
3977         Add FIXME comment.
3978         
3979         * Interfaces/DOMHTML.idl:
3980
3981 2007-07-27  Ada Chan  <adachan@apple.com>
3982
3983         Reviewed by Adam.
3984         
3985         Added methods to track user edited text fields now that 
3986         <rdar://problem/5359921> has been fixed.
3987
3988         * DOMHTMLClasses.cpp:
3989         (DOMHTMLInputElement::QueryInterface):
3990         (DOMHTMLInputElement::isUserEdited):
3991         (DOMHTMLTextAreaElement::QueryInterface):
3992         (DOMHTMLTextAreaElement::isUserEdited):
3993         * DOMHTMLClasses.h:
3994         * Interfaces/DOMPrivate.idl:
3995
3996 2007-07-27  Adam Roben  <aroben@apple.com>
3997
3998         Fix Bug 14773: REGRESSION (r24630): ASSERT_NOT_REACHED in DOMHTMLInputElement::name on Windows
3999         http://bugs.webkit.org/show_bug.cgi?id=14773
4000
4001         Reviewed by Steve.
4002
4003         * Interfaces/DOMHTML.idl: Change IDOMHTMLInputElement back to
4004         inheriting from IDOMElement. Safari 3 Beta uses this interface, so we
4005         can't change its vtable.
4006
4007 2007-07-25  Ada Chan  <adachan@apple.com>
4008
4009         Reviewed by Adam and Steve.
4010         
4011         Implemented some DOM methods and other fixes for <rdar://problem/5311601>.
4012         
4013         * DOMCoreClasses.cpp:
4014         (DOMNode::ownerDocument): implemented
4015         (DOMDocument::getComputedStyle): get the DOMElement via QueryInterface
4016         (DOMElement::QueryInterface):
4017         * DOMHTMLClasses.cpp:
4018         (DOMHTMLDocument::body): fixed leak
4019         (DOMHTMLFormElement::action): implemented
4020         (DOMHTMLFormElement::method): ditto
4021         (DOMHTMLInputElement::form): ditto
4022         (DOMHTMLTextAreaElement::form): ditto
4023         * Interfaces/DOMHTML.idl: IDOMHTMLInputElement should inherit from IDOMHTMLElement
4024
4025 2007-07-24  Steve Falkenburg  <sfalken@apple.com>
4026
4027         Removed touch of WebKit.rc to prevent rebuilds of the rc file.
4028         The autoversion info can get slightly out of date now, but this isn't a huge problem relative to the rebuilds.
4029         
4030         Rubber-stamped by Adam.
4031
4032         * WebKit.vcproj/WebKit.vcproj:
4033
4034 2007-07-23  Steve Falkenburg  <sfalken@apple.com>
4035
4036         Fixes to versioning script.
4037         
4038         Reviewed by Ada.
4039
4040         * WebKit.vcproj/auto-version.sh:
4041
4042 2007-07-23  Adam Roben  <aroben@apple.com>
4043
4044         Implement IWebHistoryItem::[set]AlternateTitle
4045
4046         The argument types were reversed for these two methods, so I fixed that as
4047         well.
4048
4049         Reviewed by Geoff and Oliver.
4050
4051         * Interfaces/IWebHistoryItem.idl:
4052         * WebHistoryItem.cpp:
4053         (WebHistoryItem::setAlternateTitle): Implemented.
4054         (WebHistoryItem::alternateTitle): Implemented.
4055         * WebHistoryItem.h:
4056
4057 2007-07-23  Ada Chan  <adachan@apple.com>
4058
4059         Reviewed by Steve.
4060         
4061         Added a new text drawing method that allows caller to override the font smoothing level.
4062
4063         * WebKit.vcproj/WebKit.def:
4064         * WebKit.vcproj/WebKit_debug.def:
4065         * WebKitGraphics.cpp:
4066         (WebDrawText):
4067         * WebKitGraphics.h:
4068
4069 2007-07-22  Adam Roben  <aroben@apple.com>
4070
4071         Implement IDOMElement::setAttribute
4072
4073         This method was mistakenly called "setResult" in DOMCore.idl, so I
4074         fixed that as well.
4075
4076         Needed for <rdar://problem/5314906>.
4077
4078         Reviewed by Ada.
4079
4080         * DOMCoreClasses.cpp:
4081         (DOMElement::setAttribute): Implemented/renamed.
4082         * DOMCoreClasses.h: Renamed setResult => setAttribute.
4083         * DOMHTMLClasses.h: Ditto.
4084         * Interfaces/DOMCore.idl: Ditto.
4085
4086 2007-07-21  Ada Chan  <adachan@apple.com>
4087
4088         Reviewed by Adam.
4089         
4090         Fix bug 14706: http://bugs.webkit.org/show_bug.cgi?id=14706
4091         Need to set the last visited time before calling WebHistory::addItem().
4092
4093         * WebHistory.cpp:
4094         (WebHistory::addItemForURL):
4095
4096 2007-07-20  Justin Garcia  <justin.garcia@apple.com>
4097
4098         Reviewed by Darin.
4099         
4100         <rdar://problem/5109817> Ctrl-click on word in non-editable text doesn't select it
4101
4102         * WebEditorClient.cpp: Removed the now unused selectWordBeforeMenuEvent().
4103         * WebEditorClient.h:
4104
4105 2007-07-20  Ada Chan  <adachan@apple.com>
4106
4107         Reviewed by Steve.
4108         
4109         <rdar://problem/5350832> History item's visitedCount wasn't updated correctly
4110
4111         The call to setLastVisitedTimeInterval() in WebHistory::addItemForURL() does not
4112         really increment the visitedCount of the HistoryItem - because we only increment the count
4113         if the last visited time is different.  We should initialize the HistoryItem with
4114         lastVisited time = 0 so when we call setLastVisitedTimeInterval() later, it'll update
4115         the last visited time AND the visitedCount.
4116         
4117         * WebHistory.cpp:
4118         (WebHistory::addItemForURL):
4119
4120 2007-07-20  Oliver Hunt  <oliver@apple.com>
4121
4122         Reviewed by Maciej.
4123
4124         <rdar://problem/5349668> WebKit/Win needs to send same key events during IME composition as it does on mac
4125
4126         Removed guards against sending key events during composition, and added a flag
4127         to indicate a key event is IME related.  This is needed to prevent the first 
4128         keydown from firing a keypress event, and makes WebEditorClient::handleInputMethodKeypress
4129         somewhat cleaner.
4130
4131         * WebEditorClient.cpp:
4132         (WebEditorClient::handleInputMethodKeypress):
4133         * WebView.cpp:
4134         (WebView::keyUp):
4135         (WebView::keyDown):
4136         * WebView.h:
4137         (WebView::inIMEKeyDown):
4138
4139 2007-07-19  Maciej Stachowiak  <mjs@apple.com>
4140
4141         Reviewed by Adam.
4142         
4143         - WebKit part of fix for <rdar://problem/5262230> Crash while loading a popup in addictinggames.com
4144         
4145         Made closeWindowSoon fire on a timer instead of happening synchronously.
4146
4147         * WebChromeClient.cpp:
4148         (WebChromeClient::closeWindowSoon): Actually close the window on a timer, not immediately.
4149         * WebKit.vcproj/WebKit.vcproj:
4150         * WebView.cpp:
4151         (WebView::WebView):
4152         (WebView::closeWindowSoon):
4153         (WebView::closeWindowTimerFired):
4154         * WebView.h:
4155
4156 2007-07-18  Timothy Hatcher  <timothy@apple.com>
4157
4158         Reviewed by Adam.
4159
4160         Make the Page with the now required InspectorClient.
4161
4162         * WebView.cpp:
4163         (WebView::initWithFrame):
4164
4165 2007-07-18  Sam Weinig  <sam@webkit.org>
4166
4167         Build fix.
4168
4169         * WebFrame.cpp:
4170         (WebFrame::dispatchDecidePolicyForMIMEType):
4171         (WebFrame::objectContentType):
4172         * WebView.cpp:
4173         (WebView::canShowMIMEType):
4174
4175 2007-07-17  Brady Eidson <beidson@apple.com>
4176
4177         Blind Windows build fix from r24395
4178
4179         * WebView.cpp:
4180         (WebView::initWithFrame): BSTR, not BString
4181
4182 2007-07-17  Brady Eidson  <beidson@apple.com>
4183
4184         Reviewed by Steve
4185         
4186         <rdar://problem/4516185> - FTP Directory Listings
4187
4188         * Interfaces/IWebUIDelegate.idl: Add IWebUIDelegate2 method for getting the path to the template
4189         
4190         * WebView.cpp:
4191           (WebView::initWithFrame): Set the preference for the template path in WebCore when the first
4192           WebView is initialized
4193
4194 2007-07-17  Ada Chan  <adachan@apple.com>
4195
4196    &n