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