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