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