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