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