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