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