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