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