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