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