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