749679dbdf0936917e4a3f143ce02ff2306debc9
[WebKit-https.git] / WebCore / ChangeLog-2005-08-23
1 2005-07-12  Geoffrey Garen  <ggaren@apple.com>
2
3         Test cases modified:
4         * layout-tests/fast/frames/iframe-name-and-id.html:
5         now tests dynamically creating frames[x].name
6
7 2005-07-12  Geoffrey Garen  <ggaren@apple.com>
8
9         Added layout test for 
10         http://bugzilla.opendarwin.org/show_bug.cgi?id=3435
11         Parentheses are backwards in Hebrew text (no bidi mirroring?)
12
13         Test is manual because results only reflect visually -
14         the layout is the same either way.
15         
16         Test cases added:
17         * manual-tests/bidi-parens.html: Added.
18
19 2005-07-12  Ken Kocienda  <kocienda@apple.com>
20
21         Reviewed by me
22
23         Test cases added: (NONE)
24
25         * kwq/KWQTextCodec.mm: Fix build breakage. /me is a real genius.
26
27 2005-07-12  Ken Kocienda  <kocienda@apple.com>
28
29         Reviewed by Chris Blumenberg
30
31         Test cases added: (NONE)
32
33         Switched over from TEC to ICU for unicode text conversion. TEC support has now been
34         removed from KWQTextCodec. I just added this dual support yesterday, and while Maciej 
35         and I agreed that it was good to land in the tree in case we run into problems in the
36         near future, we also agreed that cutting over to using ICU full time right now is 
37         probably the best way to find bugs.
38         
39         * kwq/KWQTextCodec.mm: Removed TEC support.
40         (QTextCodec::fromUnicode): Ditto.
41         (KWQTextDecoder::KWQTextDecoder): Ditto.
42         (KWQTextDecoder::~KWQTextDecoder): Ditto.
43         (KWQTextDecoder::convert): Ditto.
44         * kwq/WebCoreBridge.h: Removed some glue that allowed the converters to
45         be changed at runtime.
46         * kwq/WebCoreTextConversionMethod.h: Removed. This also was glue for the runtime switch.
47         * WebCore.pbproj/project.pbxproj: Removed WebCoreTextConversionMethod.h file.
48
49 2005-07-12  Eric Seidel  <eseidel@apple.com>
50
51         Reviewed by hyatt.
52
53         * icu/unicode/ucnv.h: Added.
54         * icu/unicode/ucnv_err.h: Added.
55         Fixes build break for externals caused by KWQTextCodec.mm changes.
56         http://bugzilla.opendarwin.org/show_bug.cgi?id=3961
57
58 2005-07-11  Eric Seidel  <eseidel@apple.com>
59
60         Reviewed by Adele.
61
62         * kdom/Namespace.h: Merged in XPath 2.0 namespace def from KDE.
63         * kdom/Shared.h: Merged in comments from KDE.
64         * kdom/kdom.h: Changed local // to use #ifndef APPLE_CHANGES
65         (KDOM::operator<<):
66         A tiny batch of changes I wished to commit before moving
67         WebCore/kdom to SVGSupport/kdom.
68         http://bugzilla.opendarwin.org/show_bug.cgi?id=3959
69
70 2005-07-11  Geoffrey Garen  <ggaren@apple.com>
71
72         -fixed rdar://problem/4170960 
73         http://bugzilla.opendarwin.org/show_bug.cgi?id=3952 
74         iFrame name and id information incorrectly returned
75         
76         Reviewed by mjs.
77
78         Test cases added: (NONE)
79         * layout-tests/fast/frames/iframe-name-and-id-expected.txt: Added.
80         * layout-tests/fast/frames/iframe-name-and-id.html: Added.
81
82         * ChangeLog:
83         * khtml/html/html_baseimpl.cpp:
84         (HTMLFrameElementImpl::attach): removed misleading comment
85         (HTMLIFrameElementImpl::attach): copied FrameElementImpl behavior
86         for initializing m_name
87
88 2005-07-11  Geoffrey Garen  <ggaren@apple.com>
89
90         Reviewed by NOBODY (OOPS!).
91
92         Test cases added: (NONE)
93
94         * khtml/html/html_baseimpl.cpp:
95         (HTMLFrameElementImpl::attach):
96         (HTMLIFrameElementImpl::attach):
97
98 2005-07-11  Ken Kocienda  <kocienda@apple.com>
99
100         Reviewed by Richard
101
102         Test cases added: (NONE)
103
104         * WebCore.pbproj/project.pbxproj:
105         * kwq/KWQLogging.h: Added constant for logging text conversions.
106         * kwq/KWQLogging.m: Ditto.
107         * kwq/KWQTextCodec.mm: Added support for using the ICU library for unicode text conversion.
108         (KWQTextDecoder::KWQTextDecoder): Check for conversion method to use.
109         (KWQTextDecoder::~KWQTextDecoder): Release ICU converter if needed.
110         (KWQTextDecoder::convertUTF16): Use constant rather in place of hard-coded buffer size.
111         (KWQTextDecoder::createTECConverter): Name change: qualify converter names with TEC suffix.
112         (KWQTextDecoder::createICUConverter): New function to create an ICU converter.
113         (KWQTextDecoder::convertOneChunkUsingTEC): Name change: qualify converter names with TEC suffix.
114         (KWQTextDecoder::convertUsingTEC): Ditto. Also, use constant rather in place of hard-coded buffer size.
115         (KWQTextDecoder::convertUsingICU): New function to convert text using ICU.
116         (KWQTextDecoder::convert): Now switches on converters, picking either TEC or ICU.
117         * kwq/WebCoreBridge.h: Add -textConversionMethod accessor so KWQTextDecoder can pick the right converter.
118         * kwq/WebCoreTextConversionMethod.h: Added.
119
120 2005-07-11  Ken Kocienda  <kocienda@apple.com>
121
122         Reviewed by me
123
124         Test cases added: (NONE)
125
126         * WebCore.pbproj/project.pbxproj: Fix project file.
127
128 2005-07-11  Ken Kocienda  <kocienda@apple.com>
129
130         Reviewed by me
131
132         Test cases added: (NONE)
133
134         * ChangeLog: Fixed two typos I found while reading the ChangeLog.
135
136 2005-07-10  Maciej Stachowiak  <mjs@apple.com>
137
138         Reviewed by John.
139
140         * khtml/html/htmltokenizer.cpp:
141         (khtml::HTMLTokenizer::parseTag): Don't allow !doctype as a tag name, this screws up
142         parsing and makes !doctype elements and extra text nodes get added to the DOM.
143         * khtml/xml/dom_atomicstring.cpp:
144         (DOM::AtomicString::equal): Add some nil checks, now that the equal this calls
145         no longer checks for nil.
146
147 2005-07-10  Eric Seidel  <eseidel@apple.com>
148
149         Reviewed by mjs.
150
151         * ksvg2/core/KCanvasRenderingStyle.cc: Added.
152         * ksvg2/core/KCanvasRenderingStyle.h: Added.
153         * ksvg2/core/KSVGDocumentBuilder.cc: Added.
154         * ksvg2/core/KSVGDocumentBuilder.h: Added.
155         * ksvg2/core/KSVGTimeScheduler.cc: Added.
156         * ksvg2/core/KSVGTimeScheduler.h: Added.
157         * ksvg2/core/KSVGTimeScheduler.moc: Added.
158         Added directory previously ignored by global cvsignore rules.
159         http://bugzilla.opendarwin.org/show_bug.cgi?id=3939
160
161 2005-07-10  Eric Seidel  <eseidel@apple.com>
162
163         Reviewed by mjs.
164
165         * WebCore.pbproj/project.pbxproj:
166         added htmlfactory.* to WebCore+SVG
167         Also fixed /sw/bin/bison absolute path.
168         http://bugzilla.opendarwin.org/show_bug.cgi?id=3938
169
170 2005-07-09  Timothy Hatcher  <timothy@colloquy.info>
171
172         Reviewed and landed by Maciej.
173
174         Fixed a build error with GCC4 and the use of _M_type.
175
176         * khtml/misc/hashtraits.h:
177         Test for GCC4 and use the new __value enum from _M_type.
178
179 2005-07-09  David Hyatt  <hyatt@apple.com>
180
181         Make sure to keep eLastEntry at the end of the list, since it is used for the dynamic portion of the
182         hash.
183         
184         Reviewed by mjs
185
186 2005-07-09  Maciej Stachowiak  <mjs@apple.com>
187
188         Reviewed by Eric Seidel.
189
190         - removed unused files
191
192         * kdom/impl/NodeKeeper.cc: Removed.
193         * kdom/impl/NodeKeeper.h: Removed.
194         * WebCore.pbproj/project.pbxproj: Remove from +SVG build.
195
196 2005-07-09  David Hyatt  <hyatt@apple.com>
197
198         Fix for bugzilla bug 3405, replace NodeImpl::Id with a new class,
199         QualifiedName, to represent tag names (for DOM elements and CSS
200         selectors).
201         
202         Reviewed by mjs
203
204         * WebCore.pbproj/project.pbxproj:
205         * khtml/css/css_base.cpp:
206         (CSSSelector::anyTagName):
207         (CSSSelector::print):
208         (CSSSelector::specificity):
209         (CSSSelector::selectorText):
210         * khtml/css/css_base.h:
211         (DOM::CSSNamespace::uri):
212         (DOM::CSSNamespace::prefix):
213         (DOM::CSSNamespace::namespaceForPrefix):
214         (DOM::CSSSelector::CSSSelector):
215         (DOM::CSSSelector::hasTag):
216         * khtml/css/css_ruleimpl.cpp:
217         * khtml/css/css_ruleimpl.h:
218         * khtml/css/css_stylesheetimpl.cpp:
219         (CSSStyleSheetImpl::addNamespace):
220         (CSSStyleSheetImpl::determineNamespace):
221         * khtml/css/css_stylesheetimpl.h:
222         * khtml/css/cssparser.cpp:
223         (CSSParser::CSSParser):
224         (CSSParser::parseSheet):
225         * khtml/css/cssparser.h:
226         * khtml/css/cssstyleselector.cpp:
227         (khtml::CSSStyleSelector::matchRules):
228         (khtml::CSSStyleSelector::matchRulesForList):
229         (khtml::CSSStyleSelector::canShareStyleWithElement):
230         (khtml::CSSStyleSelector::adjustRenderStyle):
231         (khtml::CSSStyleSelector::checkSelector):
232         (khtml::CSSStyleSelector::checkOneSelector):
233         (khtml::CSSRuleSet::addRule):
234         * khtml/css/cssstyleselector.h:
235         (khtml::CSSRuleSet::getTagRules):
236         * khtml/css/parser.y:
237         * khtml/dom/css_stylesheet.cpp:
238         (LinkStyle::operator = ):
239         (LinkStyle::sheet):
240         * khtml/dom/dom_element.cpp:
241         (Element::tagName):
242         * khtml/dom/dom_node.cpp:
243         (Node::namespaceURI):
244         (Node::setPrefix):
245         * khtml/dom/dom_node.h:
246         * khtml/dom/html_base.cpp:
247         (HTMLBodyElement::operator = ):
248         (HTMLFrameElement::operator = ):
249         (HTMLIFrameElement::operator = ):
250         (HTMLFrameSetElement::operator = ):
251         (HTMLHeadElement::operator = ):
252         (HTMLHtmlElement::operator = ):
253         * khtml/dom/html_block.cpp:
254         (HTMLBlockquoteElement::operator = ):
255         (HTMLDivElement::operator = ):
256         (HTMLHRElement::operator = ):
257         (HTMLHeadingElement::operator = ):
258         (HTMLParagraphElement::operator = ):
259         (HTMLPreElement::operator = ):
260         * khtml/dom/html_element.cpp:
261         (HTMLElement::assignOther):
262         * khtml/dom/html_element.h:
263         * khtml/dom/html_form.cpp:
264         (HTMLButtonElement::operator = ):
265         (HTMLFieldSetElement::operator = ):
266         (HTMLFormElement::operator = ):
267         (HTMLInputElement::operator = ):
268         (HTMLLabelElement::operator = ):
269         (HTMLLegendElement::operator = ):
270         (HTMLOptGroupElement::operator = ):
271         (HTMLSelectElement::operator = ):
272         (HTMLTextAreaElement::operator = ):
273         (HTMLOptionElement::operator = ):
274         (HTMLIsIndexElement::operator = ):
275         * khtml/dom/html_head.cpp:
276         (HTMLBaseElement::operator = ):
277         (HTMLLinkElement::operator = ):
278         (HTMLMetaElement::operator = ):
279         (HTMLScriptElement::operator = ):
280         (HTMLStyleElement::operator = ):
281         (HTMLTitleElement::operator = ):
282         * khtml/dom/html_image.cpp:
283         (HTMLAreaElement::operator = ):
284         (HTMLImageElement::operator = ):
285         (HTMLMapElement::operator = ):
286         * khtml/dom/html_inline.cpp:
287         (HTMLAnchorElement::operator = ):
288         (HTMLBRElement::operator = ):
289         (HTMLFontElement::operator = ):
290         (HTMLModElement::HTMLModElement):
291         (HTMLModElement::operator = ):
292         (HTMLQuoteElement::HTMLQuoteElement):
293         (HTMLQuoteElement::operator = ):
294         * khtml/dom/html_inline.h:
295         * khtml/dom/html_list.cpp:
296         (HTMLDListElement::operator = ):
297         (HTMLDirectoryElement::operator = ):
298         (HTMLLIElement::operator = ):
299         (HTMLMenuElement::operator = ):
300         (HTMLOListElement::operator = ):
301         (HTMLUListElement::operator = ):
302         * khtml/dom/html_misc.cpp:
303         (HTMLBaseFontElement::operator = ):
304         * khtml/dom/html_object.cpp:
305         (DOM::HTMLAppletElement::operator = ):
306         (DOM::HTMLObjectElement::operator = ):
307         (DOM::HTMLParamElement::operator = ):
308         * khtml/dom/html_table.cpp:
309         (HTMLTableCaptionElement::operator = ):
310         (HTMLTableCellElement::operator = ):
311         (HTMLTableColElement::operator = ):
312         (HTMLTableElement::operator = ):
313         (HTMLTableRowElement::operator = ):
314         (HTMLTableSectionElement::operator = ):
315         * khtml/ecma/kjs_css.cpp:
316         (KJS::DOMStyleSheetList::tryGet):
317         * khtml/ecma/kjs_dom.cpp:
318         (KJS::DOMNode::putValue):
319         (KJS::DOMElement::tryGet):
320         (KJS::getRuntimeObject):
321         * khtml/ecma/kjs_html.cpp:
322         (KJS::HTMLDocument::tryGet):
323         (KJS::KJS::HTMLDocument::putValue):
324         (KJS::KJS::HTMLElement::classInfo):
325         (KJS::):
326         (KJS::HTMLElement::getSetInfo):
327         (KJS::KJS::HTMLElement::tryGet):
328         (KJS::KJS::HTMLElement::implementsCall):
329         (KJS::KJS::HTMLElement::call):
330         (KJS::HTMLElement::htmlGetter):
331         (KJS::HTMLElement::headGetter):
332         (KJS::HTMLElement::linkGetter):
333         (KJS::HTMLElement::titleGetter):
334         (KJS::HTMLElement::metaGetter):
335         (KJS::HTMLElement::baseGetter):
336         (KJS::HTMLElement::isIndexGetter):
337         (KJS::HTMLElement::styleGetter):
338         (KJS::HTMLElement::bodyGetter):
339         (KJS::HTMLElement::formGetter):
340         (KJS::HTMLElement::selectGetter):
341         (KJS::HTMLElement::optGroupGetter):
342         (KJS::HTMLElement::optionGetter):
343         (KJS::getInputSelectionStart):
344         (KJS::getInputSelectionEnd):
345         (KJS::HTMLElement::inputGetter):
346         (KJS::HTMLElement::textAreaGetter):
347         (KJS::HTMLElement::buttonGetter):
348         (KJS::HTMLElement::labelGetter):
349         (KJS::HTMLElement::fieldSetGetter):
350         (KJS::HTMLElement::legendGetter):
351         (KJS::HTMLElement::uListGetter):
352         (KJS::HTMLElement::oListGetter):
353         (KJS::HTMLElement::dListGetter):
354         (KJS::HTMLElement::dirGetter):
355         (KJS::HTMLElement::menuGetter):
356         (KJS::HTMLElement::liGetter):
357         (KJS::HTMLElement::divGetter):
358         (KJS::HTMLElement::paragraphGetter):
359         (KJS::HTMLElement::headingGetter):
360         (KJS::HTMLElement::blockQuoteGetter):
361         (KJS::HTMLElement::quoteGetter):
362         (KJS::HTMLElement::preGetter):
363         (KJS::HTMLElement::brGetter):
364         (KJS::HTMLElement::baseFontGetter):
365         (KJS::HTMLElement::fontGetter):
366         (KJS::HTMLElement::hrGetter):
367         (KJS::HTMLElement::modGetter):
368         (KJS::HTMLElement::anchorGetter):
369         (KJS::HTMLElement::imageGetter):
370         (KJS::HTMLElement::objectGetter):
371         (KJS::HTMLElement::paramGetter):
372         (KJS::HTMLElement::appletGetter):
373         (KJS::HTMLElement::mapGetter):
374         (KJS::HTMLElement::areaGetter):
375         (KJS::HTMLElement::scriptGetter):
376         (KJS::HTMLElement::tableGetter):
377         (KJS::HTMLElement::tableCaptionGetter):
378         (KJS::HTMLElement::tableColGetter):
379         (KJS::HTMLElement::tableSectionGetter):
380         (KJS::HTMLElement::tableRowGetter):
381         (KJS::HTMLElement::tableCellGetter):
382         (KJS::HTMLElement::frameSetGetter):
383         (KJS::HTMLElement::frameGetter):
384         (KJS::HTMLElement::iFrameGetter):
385         (KJS::HTMLElement::marqueeGetter):
386         (KJS::HTMLElement::getValueProperty):
387         (KJS::KJS::HTMLElement::hasOwnProperty):
388         (KJS::KJS::HTMLElement::toString):
389         (KJS::getForm):
390         (KJS::KJS::HTMLElement::pushEventHandlerScope):
391         (KJS::KJS::HTMLElementFunction::tryCall):
392         (KJS::KJS::HTMLElement::tryPut):
393         (KJS::HTMLElement::htmlSetter):
394         (KJS::HTMLElement::headSetter):
395         (KJS::HTMLElement::linkSetter):
396         (KJS::HTMLElement::titleSetter):
397         (KJS::HTMLElement::metaSetter):
398         (KJS::HTMLElement::baseSetter):
399         (KJS::HTMLElement::isIndexSetter):
400         (KJS::HTMLElement::styleSetter):
401         (KJS::HTMLElement::bodySetter):
402         (KJS::HTMLElement::formSetter):
403         (KJS::HTMLElement::selectSetter):
404         (KJS::HTMLElement::optGroupSetter):
405         (KJS::HTMLElement::optionSetter):
406         (KJS::HTMLElement::inputSetter):
407         (KJS::HTMLElement::textAreaSetter):
408         (KJS::HTMLElement::buttonSetter):
409         (KJS::HTMLElement::labelSetter):
410         (KJS::HTMLElement::fieldSetSetter):
411         (KJS::HTMLElement::legendSetter):
412         (KJS::HTMLElement::uListSetter):
413         (KJS::HTMLElement::oListSetter):
414         (KJS::HTMLElement::dListSetter):
415         (KJS::HTMLElement::dirSetter):
416         (KJS::HTMLElement::menuSetter):
417         (KJS::HTMLElement::liSetter):
418         (KJS::HTMLElement::divSetter):
419         (KJS::HTMLElement::paragraphSetter):
420         (KJS::HTMLElement::headingSetter):
421         (KJS::HTMLElement::blockQuoteSetter):
422         (KJS::HTMLElement::quoteSetter):
423         (KJS::HTMLElement::preSetter):
424         (KJS::HTMLElement::brSetter):
425         (KJS::HTMLElement::baseFontSetter):
426         (KJS::HTMLElement::fontSetter):
427         (KJS::HTMLElement::hrSetter):
428         (KJS::HTMLElement::modSetter):
429         (KJS::HTMLElement::anchorSetter):
430         (KJS::HTMLElement::imageSetter):
431         (KJS::HTMLElement::objectSetter):
432         (KJS::HTMLElement::paramSetter):
433         (KJS::HTMLElement::appletSetter):
434         (KJS::HTMLElement::mapSetter):
435         (KJS::HTMLElement::areaSetter):
436         (KJS::HTMLElement::scriptSetter):
437         (KJS::HTMLElement::tableSetter):
438         (KJS::HTMLElement::tableCaptionSetter):
439         (KJS::HTMLElement::tableColSetter):
440         (KJS::HTMLElement::tableSectionSetter):
441         (KJS::HTMLElement::tableRowSetter):
442         (KJS::HTMLElement::tableCellSetter):
443         (KJS::HTMLElement::frameSetSetter):
444         (KJS::HTMLElement::frameSetter):
445         (KJS::HTMLElement::iFrameSetter):
446         (KJS::HTMLElement::marqueeSetter):
447         (KJS::HTMLElement::putValue):
448         (KJS::toHTMLTableCaptionElement):
449         (KJS::toHTMLTableSectionElement):
450         (KJS::KJS::HTMLCollection::tryGet):
451         (KJS::KJS::HTMLSelectCollection::tryPut):
452         * khtml/ecma/kjs_html.h:
453         * khtml/ecma/kjs_window.cpp:
454         * khtml/editing/apply_style_command.cpp:
455         (khtml::isStyleSpan):
456         (khtml::isEmptyStyleSpan):
457         (khtml::isEmptyFontTag):
458         (khtml::createFontElement):
459         (khtml::createStyleSpanElement):
460         (khtml::ApplyStyleCommand::applyInlineStyle):
461         (khtml::ApplyStyleCommand::isHTMLStyleNode):
462         (khtml::ApplyStyleCommand::removeHTMLFontStyle):
463         (khtml::areIdenticalElements):
464         (khtml::ApplyStyleCommand::mergeEndWithNextIfIdentical):
465         (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
466         * khtml/editing/break_blockquote_command.cpp:
467         (khtml::BreakBlockquoteCommand::doApply):
468         * khtml/editing/composite_edit_command.cpp:
469         (khtml::CompositeEditCommand::insertNodeBefore):
470         (khtml::CompositeEditCommand::insertNodeAfter):
471         (khtml::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
472         (khtml::createBlockPlaceholderElement):
473         * khtml/editing/delete_selection_command.cpp:
474         (khtml::isListStructureNode):
475         (khtml::DeleteSelectionCommand::handleSpecialCaseBRDelete):
476         (khtml::DeleteSelectionCommand::handleGeneralDelete):
477         (khtml::DeleteSelectionCommand::moveNodesAfterNode):
478         * khtml/editing/htmlediting.cpp:
479         (khtml::isSpecialElement):
480         (khtml::createDefaultParagraphElement):
481         (khtml::createBreakElement):
482         (khtml::isMailBlockquote):
483         * khtml/editing/insert_line_break_command.cpp:
484         (khtml::InsertLineBreakCommand::doApply):
485         * khtml/editing/insert_paragraph_separator_command.cpp:
486         (khtml::InsertParagraphSeparatorCommand::doApply):
487         * khtml/editing/markup.cpp:
488         (khtml::startMarkup):
489         (khtml::endMarkup):
490         (khtml::markup):
491         (khtml::createMarkup):
492         (khtml::createFragmentFromText):
493         * khtml/editing/replace_selection_command.cpp:
494         (khtml::isProbablyBlock):
495         (khtml::isProbablyTableStructureNode):
496         (khtml::ReplacementFragment::isInterchangeNewlineNode):
497         (khtml::ReplacementFragment::removeStyleNodes):
498         (khtml::ReplaceSelectionCommand::doApply):
499         (khtml::ReplaceSelectionCommand::updateNodesInserted):
500         * khtml/editing/selection.cpp:
501         (khtml::Selection::debugRenderer):
502         * khtml/editing/visible_position.cpp:
503         (khtml::VisiblePosition::init):
504         (khtml::VisiblePosition::isCandidate):
505         (khtml::VisiblePosition::isAtomicNode):
506         * khtml/editing/visible_text.cpp:
507         (khtml::TextIterator::handleNonTextNode):
508         (khtml::TextIterator::exitNode):
509         (khtml::SimplifiedBackwardsTextIterator::handleNonTextNode):
510         * khtml/editing/visible_units.cpp:
511         (khtml::endOfLine):
512         * khtml/html/dtd.cpp: Removed.
513         * khtml/html/dtd.h: Removed.
514         * khtml/html/html_baseimpl.cpp:
515         (HTMLBodyElementImpl::HTMLBodyElementImpl):
516         (HTMLFrameElementImpl::HTMLFrameElementImpl):
517         (HTMLFrameElementImpl::init):
518         (HTMLFrameElementImpl::attach):
519         (HTMLFrameSetElementImpl::HTMLFrameSetElementImpl):
520         (HTMLFrameSetElementImpl::checkDTD):
521         (HTMLFrameSetElementImpl::attach):
522         (HTMLHeadElementImpl::HTMLHeadElementImpl):
523         (HTMLHeadElementImpl::checkDTD):
524         (HTMLHtmlElementImpl::HTMLHtmlElementImpl):
525         (HTMLHtmlElementImpl::checkDTD):
526         (HTMLIFrameElementImpl::HTMLIFrameElementImpl):
527         * khtml/html/html_baseimpl.h:
528         (DOM::HTMLBodyElementImpl::endTagRequirement):
529         (DOM::HTMLBodyElementImpl::tagPriority):
530         (DOM::HTMLFrameElementImpl::endTagRequirement):
531         (DOM::HTMLFrameElementImpl::tagPriority):
532         (DOM::HTMLFrameSetElementImpl::endTagRequirement):
533         (DOM::HTMLFrameSetElementImpl::tagPriority):
534         (DOM::HTMLHeadElementImpl::endTagRequirement):
535         (DOM::HTMLHeadElementImpl::tagPriority):
536         (DOM::HTMLHtmlElementImpl::endTagRequirement):
537         (DOM::HTMLHtmlElementImpl::tagPriority):
538         (DOM::HTMLIFrameElementImpl::endTagRequirement):
539         (DOM::HTMLIFrameElementImpl::tagPriority):
540         * khtml/html/html_blockimpl.cpp:
541         (HTMLBlockquoteElementImpl::HTMLBlockquoteElementImpl):
542         (HTMLDivElementImpl::HTMLDivElementImpl):
543         (HTMLHRElementImpl::HTMLHRElementImpl):
544         (HTMLHeadingElementImpl::HTMLHeadingElementImpl):
545         (HTMLHeadingElementImpl::checkDTD):
546         (HTMLParagraphElementImpl::HTMLParagraphElementImpl):
547         (HTMLParagraphElementImpl::checkDTD):
548         (HTMLPreElementImpl::HTMLPreElementImpl):
549         (HTMLMarqueeElementImpl::HTMLMarqueeElementImpl):
550         (HTMLMarqueeElementImpl::parseMappedAttribute):
551         * khtml/html/html_blockimpl.h:
552         (DOM::HTMLBlockquoteElementImpl::endTagRequirement):
553         (DOM::HTMLBlockquoteElementImpl::tagPriority):
554         (DOM::HTMLDivElementImpl::endTagRequirement):
555         (DOM::HTMLDivElementImpl::tagPriority):
556         (DOM::HTMLHRElementImpl::endTagRequirement):
557         (DOM::HTMLHRElementImpl::tagPriority):
558         (DOM::HTMLHeadingElementImpl::endTagRequirement):
559         (DOM::HTMLHeadingElementImpl::tagPriority):
560         (DOM::HTMLParagraphElementImpl::endTagRequirement):
561         (DOM::HTMLParagraphElementImpl::tagPriority):
562         (DOM::HTMLPreElementImpl::endTagRequirement):
563         (DOM::HTMLPreElementImpl::tagPriority):
564         (DOM::HTMLMarqueeElementImpl::endTagRequirement):
565         (DOM::HTMLMarqueeElementImpl::tagPriority):
566         * khtml/html/html_canvasimpl.cpp:
567         (HTMLCanvasElementImpl::HTMLCanvasElementImpl):
568         * khtml/html/html_canvasimpl.h:
569         * khtml/html/html_documentimpl.cpp:
570         (DOM::HTMLDocumentImpl::childAllowed):
571         (DOM::HTMLDocumentImpl::createElement):
572         * khtml/html/html_documentimpl.h:
573         * khtml/html/html_elementimpl.cpp:
574         (HTMLElementImpl::HTMLElementImpl):
575         (HTMLElementImpl::nodeName):
576         (HTMLElementImpl::endTagRequirement):
577         (HTMLElementImpl::tagPriority):
578         (HTMLElementImpl::cloneNode):
579         (HTMLElementImpl::createContextualFragment):
580         (HTMLElementImpl::setInnerHTML):
581         (HTMLElementImpl::setOuterHTML):
582         (HTMLElementImpl::setInnerText):
583         (HTMLElementImpl::setOuterText):
584         (HTMLElementImpl::toString):
585         (HTMLElementImpl::id):
586         (HTMLElementImpl::childAllowed):
587         (HTMLElementImpl::isRecognizedTagName):
588         (inlineTagList):
589         (blockTagList):
590         (HTMLElementImpl::inEitherTagList):
591         (HTMLElementImpl::inInlineTagList):
592         (HTMLElementImpl::inBlockTagList):
593         (HTMLElementImpl::checkDTD):
594         * khtml/html/html_elementimpl.h:
595         (DOM::):
596         * khtml/html/html_formimpl.cpp:
597         (DOM::HTMLFormElementImpl::HTMLFormElementImpl):
598         (DOM::HTMLFormElementImpl::submitClick):
599         (DOM::HTMLFormElementImpl::formData):
600         (DOM::HTMLFormElementImpl::submit):
601         (DOM::HTMLFormElementImpl::radioClicked):
602         (DOM::HTMLGenericFormElementImpl::HTMLGenericFormElementImpl):
603         (DOM::HTMLGenericFormElementImpl::getForm):
604         (DOM::HTMLButtonElementImpl::HTMLButtonElementImpl):
605         (DOM::HTMLFieldSetElementImpl::HTMLFieldSetElementImpl):
606         (DOM::HTMLFieldSetElementImpl::checkDTD):
607         (DOM::HTMLFieldSetElementImpl::isFocusable):
608         (DOM::HTMLInputElementImpl::HTMLInputElementImpl):
609         (DOM::HTMLInputElementImpl::init):
610         (DOM::HTMLLabelElementImpl::HTMLLabelElementImpl):
611         (DOM::HTMLLabelElementImpl::form):
612         (DOM::HTMLLegendElementImpl::HTMLLegendElementImpl):
613         (DOM::HTMLLegendElementImpl::formElement):
614         (DOM::HTMLSelectElementImpl::HTMLSelectElementImpl):
615         (DOM::HTMLSelectElementImpl::init):
616         (DOM::HTMLSelectElementImpl::checkDTD):
617         (DOM::HTMLSelectElementImpl::selectedIndex):
618         (DOM::HTMLSelectElementImpl::setSelectedIndex):
619         (DOM::HTMLSelectElementImpl::length):
620         (DOM::HTMLSelectElementImpl::add):
621         (DOM::HTMLSelectElementImpl::value):
622         (DOM::HTMLSelectElementImpl::setValue):
623         (DOM::HTMLSelectElementImpl::state):
624         (DOM::HTMLSelectElementImpl::restoreState):
625         (DOM::HTMLSelectElementImpl::appendFormData):
626         (DOM::HTMLSelectElementImpl::optionToListIndex):
627         (DOM::HTMLSelectElementImpl::listToOptionIndex):
628         (DOM::HTMLSelectElementImpl::recalcListItems):
629         (DOM::HTMLSelectElementImpl::reset):
630         (DOM::HTMLSelectElementImpl::notifyOptionSelected):
631         (DOM::HTMLKeygenElementImpl::HTMLKeygenElementImpl):
632         (DOM::HTMLOptGroupElementImpl::HTMLOptGroupElementImpl):
633         (DOM::HTMLOptGroupElementImpl::recalcSelectOptions):
634         (DOM::HTMLOptionElementImpl::HTMLOptionElementImpl):
635         (DOM::HTMLOptionElementImpl::index):
636         (DOM::HTMLOptionElementImpl::getSelect):
637         (DOM::HTMLTextAreaElementImpl::HTMLTextAreaElementImpl):
638         (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
639         * khtml/html/html_formimpl.h:
640         (DOM::HTMLFormElementImpl::endTagRequirement):
641         (DOM::HTMLFormElementImpl::tagPriority):
642         (DOM::HTMLGenericFormElementImpl::endTagRequirement):
643         (DOM::HTMLGenericFormElementImpl::tagPriority):
644         (DOM::HTMLFieldSetElementImpl::tagPriority):
645         (DOM::HTMLInputElementImpl::endTagRequirement):
646         (DOM::HTMLInputElementImpl::tagPriority):
647         (DOM::HTMLLabelElementImpl::tagPriority):
648         (DOM::HTMLSelectElementImpl::tagPriority):
649         (DOM::HTMLKeygenElementImpl::tagPriority):
650         (DOM::HTMLOptGroupElementImpl::checkDTD):
651         (DOM::HTMLOptionElementImpl::endTagRequirement):
652         (DOM::HTMLOptionElementImpl::tagPriority):
653         (DOM::HTMLOptionElementImpl::checkDTD):
654         (DOM::HTMLTextAreaElementImpl::checkDTD):
655         (DOM::HTMLTextAreaElementImpl::cols):
656         (DOM::HTMLIsIndexElementImpl::endTagRequirement):
657         (DOM::HTMLIsIndexElementImpl::tagPriority):
658         * khtml/html/html_headimpl.cpp:
659         (HTMLBaseElementImpl::HTMLBaseElementImpl):
660         (HTMLLinkElementImpl::HTMLLinkElementImpl):
661         (HTMLMetaElementImpl::HTMLMetaElementImpl):
662         (HTMLScriptElementImpl::HTMLScriptElementImpl):
663         (HTMLStyleElementImpl::HTMLStyleElementImpl):
664         (HTMLTitleElementImpl::HTMLTitleElementImpl):
665         * khtml/html/html_headimpl.h:
666         (DOM::HTMLBaseElementImpl::endTagRequirement):
667         (DOM::HTMLBaseElementImpl::tagPriority):
668         (DOM::HTMLLinkElementImpl::endTagRequirement):
669         (DOM::HTMLLinkElementImpl::tagPriority):
670         (DOM::HTMLMetaElementImpl::endTagRequirement):
671         (DOM::HTMLMetaElementImpl::tagPriority):
672         (DOM::HTMLScriptElementImpl::endTagRequirement):
673         (DOM::HTMLScriptElementImpl::tagPriority):
674         (DOM::HTMLScriptElementImpl::checkDTD):
675         (DOM::HTMLStyleElementImpl::endTagRequirement):
676         (DOM::HTMLStyleElementImpl::tagPriority):
677         (DOM::HTMLStyleElementImpl::checkDTD):
678         (DOM::HTMLTitleElementImpl::checkDTD):
679         * khtml/html/html_imageimpl.cpp:
680         (HTMLImageLoader::updateFromElement):
681         (HTMLImageElementImpl::HTMLImageElementImpl):
682         (HTMLImageElementImpl::~HTMLImageElementImpl):
683         (HTMLMapElementImpl::HTMLMapElementImpl):
684         (HTMLMapElementImpl::checkDTD):
685         (HTMLMapElementImpl::mapMouseEvent):
686         (HTMLAreaElementImpl::HTMLAreaElementImpl):
687         * khtml/html/html_imageimpl.h:
688         (DOM::HTMLImageElementImpl::endTagRequirement):
689         (DOM::HTMLImageElementImpl::tagPriority):
690         (DOM::HTMLAreaElementImpl::endTagRequirement):
691         (DOM::HTMLAreaElementImpl::tagPriority):
692         (DOM::HTMLMapElementImpl::endTagRequirement):
693         (DOM::HTMLMapElementImpl::tagPriority):
694         * khtml/html/html_inlineimpl.cpp:
695         (DOM::HTMLAnchorElementImpl::HTMLAnchorElementImpl):
696         (DOM::HTMLAnchorElementImpl::defaultEventHandler):
697         (DOM::HTMLBRElementImpl::HTMLBRElementImpl):
698         (DOM::HTMLFontElementImpl::HTMLFontElementImpl):
699         (DOM::HTMLModElementImpl::HTMLModElementImpl):
700         (DOM::HTMLQuoteElementImpl::HTMLQuoteElementImpl):
701         * khtml/html/html_inlineimpl.h:
702         (DOM::HTMLAnchorElementImpl::endTagRequirement):
703         (DOM::HTMLAnchorElementImpl::tagPriority):
704         (DOM::HTMLBRElementImpl::endTagRequirement):
705         (DOM::HTMLBRElementImpl::tagPriority):
706         (DOM::HTMLFontElementImpl::endTagRequirement):
707         (DOM::HTMLFontElementImpl::tagPriority):
708         (DOM::HTMLModElementImpl::endTagRequirement):
709         (DOM::HTMLModElementImpl::tagPriority):
710         (DOM::HTMLQuoteElementImpl::endTagRequirement):
711         (DOM::HTMLQuoteElementImpl::tagPriority):
712         * khtml/html/html_listimpl.cpp:
713         (DOM::HTMLOListElementImpl::parseMappedAttribute):
714         (DOM::HTMLLIElementImpl::attach):
715         (DOM::HTMLLIElementImpl::setValue):
716         * khtml/html/html_listimpl.h:
717         (DOM::HTMLUListElementImpl::HTMLUListElementImpl):
718         (DOM::HTMLUListElementImpl::endTagRequirement):
719         (DOM::HTMLUListElementImpl::tagPriority):
720         (DOM::HTMLDirectoryElementImpl::HTMLDirectoryElementImpl):
721         (DOM::HTMLDirectoryElementImpl::endTagRequirement):
722         (DOM::HTMLDirectoryElementImpl::tagPriority):
723         (DOM::HTMLMenuElementImpl::HTMLMenuElementImpl):
724         (DOM::HTMLMenuElementImpl::endTagRequirement):
725         (DOM::HTMLMenuElementImpl::tagPriority):
726         (DOM::HTMLOListElementImpl::HTMLOListElementImpl):
727         (DOM::HTMLOListElementImpl::endTagRequirement):
728         (DOM::HTMLOListElementImpl::tagPriority):
729         (DOM::HTMLLIElementImpl::HTMLLIElementImpl):
730         (DOM::HTMLLIElementImpl::endTagRequirement):
731         (DOM::HTMLLIElementImpl::tagPriority):
732         (DOM::HTMLDListElementImpl::HTMLDListElementImpl):
733         (DOM::HTMLDListElementImpl::endTagRequirement):
734         (DOM::HTMLDListElementImpl::tagPriority):
735         * khtml/html/html_miscimpl.cpp:
736         (DOM::HTMLBaseFontElementImpl::HTMLBaseFontElementImpl):
737         (DOM::HTMLCollectionImpl::traverseNextItem):
738         (DOM::HTMLCollectionImpl::checkForNameMatch):
739         (DOM::HTMLCollectionImpl::updateNameCache):
740         (DOM::HTMLFormCollectionImpl::getNamedFormItem):
741         (DOM::HTMLFormCollectionImpl::updateNameCache):
742         * khtml/html/html_miscimpl.h:
743         (DOM::HTMLBaseFontElementImpl::endTagRequirement):
744         (DOM::HTMLBaseFontElementImpl::tagPriority):
745         * khtml/html/html_objectimpl.cpp:
746         (DOM::HTMLAppletElementImpl::HTMLAppletElementImpl):
747         (DOM::HTMLAppletElementImpl::checkDTD):
748         (DOM::HTMLEmbedElementImpl::HTMLEmbedElementImpl):
749         (DOM::HTMLEmbedElementImpl::checkDTD):
750         (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
751         (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
752         (DOM::HTMLObjectElementImpl::checkDTD):
753         (DOM::HTMLObjectElementImpl::form):
754         (DOM::HTMLParamElementImpl::HTMLParamElementImpl):
755         * khtml/html/html_objectimpl.h:
756         (DOM::HTMLAppletElementImpl::endTagRequirement):
757         (DOM::HTMLAppletElementImpl::tagPriority):
758         (DOM::HTMLEmbedElementImpl::endTagRequirement):
759         (DOM::HTMLEmbedElementImpl::tagPriority):
760         (DOM::HTMLObjectElementImpl::endTagRequirement):
761         (DOM::HTMLObjectElementImpl::tagPriority):
762         (DOM::HTMLParamElementImpl::endTagRequirement):
763         (DOM::HTMLParamElementImpl::tagPriority):
764         * khtml/html/html_tableimpl.cpp:
765         (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
766         (DOM::HTMLTableElementImpl::checkDTD):
767         (DOM::HTMLTableElementImpl::createTHead):
768         (DOM::HTMLTableElementImpl::createTFoot):
769         (DOM::HTMLTableElementImpl::insertRow):
770         (DOM::HTMLTableElementImpl::deleteRow):
771         (DOM::HTMLTableElementImpl::addChild):
772         (DOM::HTMLTableSectionElementImpl::HTMLTableSectionElementImpl):
773         (DOM::HTMLTableSectionElementImpl::checkDTD):
774         (DOM::HTMLTableSectionElementImpl::addChild):
775         (DOM::HTMLTableSectionElementImpl::numRows):
776         (DOM::HTMLTableRowElementImpl::checkDTD):
777         (DOM::HTMLTableRowElementImpl::addChild):
778         (DOM::HTMLTableRowElementImpl::rowIndex):
779         (DOM::HTMLTableRowElementImpl::sectionRowIndex):
780         (DOM::HTMLTableRowElementImpl::insertCell):
781         (DOM::HTMLTableCellElementImpl::HTMLTableCellElementImpl):
782         (DOM::HTMLTableCellElementImpl::cellIndex):
783         (DOM::HTMLTableCellElementImpl::additionalAttributeStyleDecl):
784         (DOM::HTMLTableColElementImpl::HTMLTableColElementImpl):
785         * khtml/html/html_tableimpl.h:
786         (DOM::HTMLTableElementImpl::endTagRequirement):
787         (DOM::HTMLTableElementImpl::tagPriority):
788         (DOM::HTMLTablePartElementImpl::HTMLTablePartElementImpl):
789         (DOM::HTMLTableSectionElementImpl::endTagRequirement):
790         (DOM::HTMLTableSectionElementImpl::tagPriority):
791         (DOM::HTMLTableRowElementImpl::HTMLTableRowElementImpl):
792         (DOM::HTMLTableRowElementImpl::endTagRequirement):
793         (DOM::HTMLTableRowElementImpl::tagPriority):
794         (DOM::HTMLTableCellElementImpl::endTagRequirement):
795         (DOM::HTMLTableCellElementImpl::tagPriority):
796         (DOM::HTMLTableColElementImpl::endTagRequirement):
797         (DOM::HTMLTableColElementImpl::tagPriority):
798         (DOM::HTMLTableColElementImpl::checkDTD):
799         (DOM::HTMLTableCaptionElementImpl::HTMLTableCaptionElementImpl):
800         (DOM::HTMLTableCaptionElementImpl::endTagRequirement):
801         (DOM::HTMLTableCaptionElementImpl::tagPriority):
802         * khtml/html/htmlfactory.cpp: Added.
803         (DOM::htmlConstructor):
804         (DOM::headConstructor):
805         (DOM::bodyConstructor):
806         (DOM::baseConstructor):
807         (DOM::linkConstructor):
808         (DOM::metaConstructor):
809         (DOM::styleConstructor):
810         (DOM::titleConstructor):
811         (DOM::frameConstructor):
812         (DOM::framesetConstructor):
813         (DOM::iframeConstructor):
814         (DOM::formConstructor):
815         (DOM::buttonConstructor):
816         (DOM::inputConstructor):
817         (DOM::isindexConstructor):
818         (DOM::fieldsetConstructor):
819         (DOM::labelConstructor):
820         (DOM::legendConstructor):
821         (DOM::optgroupConstructor):
822         (DOM::optionConstructor):
823         (DOM::selectConstructor):
824         (DOM::textareaConstructor):
825         (DOM::dlConstructor):
826         (DOM::ulConstructor):
827         (DOM::olConstructor):
828         (DOM::dirConstructor):
829         (DOM::menuConstructor):
830         (DOM::liConstructor):
831         (DOM::blockquoteConstructor):
832         (DOM::divConstructor):
833         (DOM::headingConstructor):
834         (DOM::hrConstructor):
835         (DOM::paragraphConstructor):
836         (DOM::preConstructor):
837         (DOM::basefontConstructor):
838         (DOM::fontConstructor):
839         (DOM::modConstructor):
840         (DOM::anchorConstructor):
841         (DOM::imageConstructor):
842         (DOM::mapConstructor):
843         (DOM::areaConstructor):
844         (DOM::canvasConstructor):
845         (DOM::appletConstructor):
846         (DOM::embedConstructor):
847         (DOM::objectConstructor):
848         (DOM::paramConstructor):
849         (DOM::scriptConstructor):
850         (DOM::tableConstructor):
851         (DOM::tableCaptionConstructor):
852         (DOM::tableColConstructor):
853         (DOM::tableRowConstructor):
854         (DOM::tableCellConstructor):
855         (DOM::tableSectionConstructor):
856         (DOM::brConstructor):
857         (DOM::quoteConstructor):
858         (DOM::marqueeConstructor):
859         (DOM::HTMLElementFactory::createHTMLElement):
860         * khtml/html/htmlfactory.h: Added.
861         * khtml/html/htmlnames.cpp:
862         (DOM::HTMLNames::init):
863         * khtml/html/htmlnames.h:
864         (DOM::HTMLNames::xhtmlNamespaceURI):
865         * khtml/html/htmlparser.cpp:
866         (HTMLStackElem::HTMLStackElem):
867         (HTMLParser::HTMLParser):
868         (HTMLParser::~HTMLParser):
869         (HTMLParser::reset):
870         (HTMLParser::setCurrent):
871         (HTMLParser::parseToken):
872         (isTableSection):
873         (isTablePart):
874         (isTableRelated):
875         (HTMLParser::insertNode):
876         (HTMLParser::handleError):
877         (HTMLParser::textCreateErrorCheck):
878         (HTMLParser::commentCreateErrorCheck):
879         (HTMLParser::headCreateErrorCheck):
880         (HTMLParser::bodyCreateErrorCheck):
881         (HTMLParser::framesetCreateErrorCheck):
882         (HTMLParser::iframeCreateErrorCheck):
883         (HTMLParser::formCreateErrorCheck):
884         (HTMLParser::isindexCreateErrorCheck):
885         (HTMLParser::selectCreateErrorCheck):
886         (HTMLParser::ddCreateErrorCheck):
887         (HTMLParser::dtCreateErrorCheck):
888         (HTMLParser::nestedCreateErrorCheck):
889         (HTMLParser::nestedStyleCreateErrorCheck):
890         (HTMLParser::tableCellCreateErrorCheck):
891         (HTMLParser::tableSectionCreateErrorCheck):
892         (HTMLParser::noembedCreateErrorCheck):
893         (HTMLParser::noframesCreateErrorCheck):
894         (HTMLParser::noscriptCreateErrorCheck):
895         (HTMLParser::nolayerCreateErrorCheck):
896         (HTMLParser::getNode):
897         (HTMLParser::allowNestedRedundantTag):
898         (HTMLParser::processCloseTag):
899         (HTMLParser::isHeaderTag):
900         (HTMLParser::popNestedHeaderTag):
901         (HTMLParser::isInline):
902         (HTMLParser::isResidualStyleTag):
903         (HTMLParser::isAffectedByResidualStyle):
904         (HTMLParser::handleResidualStyleCloseTagAcrossBlocks):
905         (HTMLParser::reopenResidualStyleTags):
906         (HTMLParser::pushBlock):
907         (HTMLParser::popBlock):
908         (HTMLParser::popOneBlock):
909         (HTMLParser::popInlineBlocks):
910         (HTMLParser::freeBlock):
911         (HTMLParser::createHead):
912         (HTMLParser::handleIsindex):
913         (HTMLParser::startBody):
914         (HTMLParser::finished):
915         * khtml/html/htmlparser.h:
916         (HTMLParser::skipMode):
917         (HTMLParser::setSkipMode):
918         (HTMLParser::popBlock):
919         * khtml/html/htmltokenizer.cpp:
920         (khtml::HTMLTokenizer::HTMLTokenizer):
921         (khtml::HTMLTokenizer::parseSpecial):
922         (khtml::HTMLTokenizer::scriptHandler):
923         (khtml::HTMLTokenizer::parseComment):
924         (khtml::HTMLTokenizer::parseTag):
925         (khtml::HTMLTokenizer::processToken):
926         * khtml/html/htmltokenizer.h:
927         (khtml::Token::Token):
928         (khtml::Token::~Token):
929         (khtml::Token::addAttribute):
930         (khtml::Token::isOpenTag):
931         (khtml::Token::isCloseTag):
932         (khtml::Token::reset):
933         * khtml/khtml_part.cpp:
934         (KHTMLPart::init):
935         (KHTMLPart::selectionComputedStyle):
936         * khtml/khtmlview.cpp:
937         (KHTMLView::layout):
938         (isSubmitImage):
939         * khtml/misc/decoder.cpp:
940         (Decoder::decode):
941         * khtml/misc/hashmap.h:
942         (khtml::::size):
943         (khtml::::isEmpty):
944         (khtml::::begin):
945         (khtml::::end):
946         (khtml::::get):
947         * khtml/misc/hashset.h:
948         (khtml::::size):
949         (khtml::::isEmpty):
950         (khtml::::begin):
951         (khtml::::end):
952         (khtml::::contains):
953         * khtml/misc/hashtable.h:
954         (khtml::HashTableIterator::skipEmptyBuckets):
955         (khtml::::lookup):
956         (khtml::::find):
957         (khtml::::contains):
958         (khtml::::remove):
959         * khtml/misc/htmlhashes.cpp:
960         (khtml::getAttrID):
961         * khtml/misc/htmlhashes.h:
962         * khtml/rendering/bidi.cpp:
963         (khtml::BidiIterator::direction):
964         * khtml/rendering/break_lines.cpp:
965         (khtml::isBreakable):
966         * khtml/rendering/render_applet.cpp:
967         (RenderApplet::createWidgetIfNecessary):
968         * khtml/rendering/render_block.cpp:
969         (khtml::RenderBlock::layoutBlock):
970         * khtml/rendering/render_box.cpp:
971         (RenderBox::paintRootBoxDecorations):
972         (RenderBox::paintBackgroundExtended):
973         * khtml/rendering/render_canvasimage.cpp:
974         (RenderCanvasImage::paint):
975         * khtml/rendering/render_canvasimage.h:
976         * khtml/rendering/render_container.cpp:
977         (RenderContainer::updatePseudoChild):
978         * khtml/rendering/render_flow.cpp:
979         (RenderFlow::addFocusRingRects):
980         * khtml/rendering/render_form.cpp:
981         (RenderFieldset::findLegend):
982         (RenderSelect::updateFromElement):
983         (RenderSelect::layout):
984         (RenderSelect::slotSelected):
985         (RenderSelect::slotSelectionChanged):
986         (RenderSelect::updateSelection):
987         * khtml/rendering/render_frames.cpp:
988         (RenderPartObject::updateWidget):
989         (RenderPartObject::slotViewCleared):
990         * khtml/rendering/render_image.cpp:
991         (RenderImage::paint):
992         (RenderImage::imageMap):
993         (RenderImage::updateAltText):
994         * khtml/rendering/render_image.h:
995         * khtml/rendering/render_layer.cpp:
996         (Marquee::marqueeSpeed):
997         * khtml/rendering/render_line.cpp:
998         * khtml/rendering/render_list.cpp:
999         (getParentOfFirstLineBox):
1000         * khtml/rendering/render_object.cpp:
1001         (RenderObject::isBody):
1002         (RenderObject::isHR):
1003         (RenderObject::isHTMLMarquee):
1004         (RenderObject::sizesToMaxWidth):
1005         (RenderObject::information):
1006         (RenderObject::setStyle):
1007         (RenderObject::getTextDecorationColors):
1008         (RenderObject::setPixmap):
1009         * khtml/rendering/render_style.cpp:
1010         (RenderStyle::getPseudoStyle):
1011         * khtml/rendering/render_style.h:
1012         * khtml/rendering/render_table.cpp:
1013         (RenderTable::addChild):
1014         (RenderTable::layout):
1015         (RenderTableSection::addChild):
1016         (RenderTableRow::addChild):
1017         (RenderTableCell::updateFromElement):
1018         (RenderTableCol::updateFromElement):
1019         * khtml/xml/dom2_rangeimpl.cpp:
1020         * khtml/xml/dom2_traversalimpl.cpp:
1021         * khtml/xml/dom_atomicstring.cpp:
1022         (DOM::equal):
1023         (DOM::AtomicString::init):
1024         * khtml/xml/dom_atomicstring.h:
1025         * khtml/xml/dom_docimpl.cpp:
1026         (DocumentImpl::createElement):
1027         (DocumentImpl::importNode):
1028         (DocumentImpl::createElementNS):
1029         (DocumentImpl::body):
1030         (DocumentImpl::shouldScheduleLayout):
1031         (DocumentImpl::attrId):
1032         (DocumentImpl::recalcStyleSelector):
1033         * khtml/xml/dom_docimpl.h:
1034         * khtml/xml/dom_elementimpl.cpp:
1035         (AttrImpl::prefix):
1036         (AttrImpl::setPrefix):
1037         (ElementImpl::ElementImpl):
1038         (ElementImpl::~ElementImpl):
1039         (ElementImpl::cloneNode):
1040         (ElementImpl::hasAttributes):
1041         (ElementImpl::nodeName):
1042         (ElementImpl::setPrefix):
1043         (ElementImpl::openTagStartToString):
1044         (ElementImpl::toString):
1045         (StyledElementImpl::StyledElementImpl):
1046         * khtml/xml/dom_elementimpl.h:
1047         (DOM::ElementImpl::tagName):
1048         (DOM::ElementImpl::hasTagName):
1049         (DOM::ElementImpl::hasLocalName):
1050         (DOM::ElementImpl::localName):
1051         (DOM::ElementImpl::prefix):
1052         (DOM::ElementImpl::namespaceURI):
1053         (DOM::ElementImpl::mouseEventHandler):
1054         * khtml/xml/dom_nodeimpl.cpp:
1055         (DOM::NodeImpl::lastDescendant):
1056         (DOM::NodeImpl::prefix):
1057         (DOM::NodeImpl::setPrefix):
1058         (DOM::NodeImpl::localName):
1059         (DOM::NodeImpl::namespaceURI):
1060         (DOM::NodeImpl::checkSetPrefix):
1061         (DOM::NodeImpl::isAtomicNode):
1062         (DOM::NodeImpl::maxDeepOffset):
1063         (DOM::NodeImpl::enclosingBlockFlowOrTableElement):
1064         (DOM::NodeImpl::enclosingBlockFlowElement):
1065         (DOM::NodeImpl::enclosingInlineElement):
1066         (DOM::NodeImpl::rootEditableElement):
1067         (DOM::NodeImpl::getElementsByTagNameNS):
1068         (DOM::NodeImpl::showTreeAndMark):
1069         (DOM::ContainerNodeImpl::addChild):
1070         (DOM::TagNodeListImpl::TagNodeListImpl):
1071         (DOM::TagNodeListImpl::item):
1072         (DOM::TagNodeListImpl::nodeMatches):
1073         * khtml/xml/dom_nodeimpl.h:
1074         (DOM::NodeImpl::hasTagName):
1075         (DOM::NodeImpl::isCommentNode):
1076         (DOM::NodeImpl::isDocumentNode):
1077         (DOM::NodeImpl::closeRenderer):
1078         (DOM::NodeImpl::getElementsByTagName):
1079         * khtml/xml/dom_position.cpp:
1080         (DOM::Position::downstream):
1081         (DOM::Position::rendersInDifferentPosition):
1082         (DOM::Position::leadingWhitespacePosition):
1083         (DOM::Position::trailingWhitespacePosition):
1084         * khtml/xml/dom_qname.cpp:
1085         (DOM::hashComponents):
1086         (DOM::QNameHash::hash):
1087         (DOM::QNameHash::equal):
1088         (DOM::equalComponents):
1089         (DOM::convertComponents):
1090         (DOM::QualifiedName::QualifiedName):
1091         (DOM::QualifiedName::deref):
1092         (DOM::QualifiedName::setPrefix):
1093         * khtml/xml/dom_qname.h:
1094         (DOM::QualifiedName::hasPrefix):
1095         (DOM::operator==):
1096         * khtml/xml/dom_textimpl.cpp:
1097         (CommentImpl::localName):
1098         (CommentImpl::nodeName):
1099         (TextImpl::localName):
1100         (TextImpl::nodeName):
1101         * khtml/xml/dom_textimpl.h:
1102         (DOM::CommentImpl::isCommentNode):
1103         (DOM::TextImpl::isTextNode):
1104         * khtml/xml/xml_tokenizer.cpp:
1105         (khtml::XMLTokenizer::startElement):
1106         (khtml::XMLTokenizer::insertErrorMessageBlock):
1107         (khtml::XMLTokenizer::addScripts):
1108         * kwq/DOM.mm:
1109         (-[DOMNode setPrefix:]):
1110         (+[DOMNode _nodeWithImpl:]):
1111         (-[DOMElement tagName]):
1112         * kwq/DOMHTML.mm:
1113         (-[DOMHTMLQuoteElement _quoteElementImpl]):
1114         * kwq/KWQAccObject.mm:
1115         (-[KWQAccObject role]):
1116         (-[KWQAccObject title]):
1117         (-[KWQAccObject accessibilityIsIgnored]):
1118         * kwq/KWQDOMNode.cpp: Removed.
1119         * kwq/KWQDOMNode.h: Removed.
1120         * kwq/KWQFont.h:
1121         (QFont::):
1122         (QFont::isFixedPitch):
1123         * kwq/KWQFont.mm:
1124         (QFont::QFont):
1125         (QFont::operator=):
1126         (QFont::determinePitch):
1127         (QFont::operator==):
1128         * kwq/KWQKHTMLPart.cpp:
1129         (KWQKHTMLPart::isFrameSet):
1130         * kwq/KWQKHTMLPart.mm:
1131         (scanForForm):
1132         (KWQKHTMLPart::currentForm):
1133         (KWQKHTMLPart::searchForLabelsAboveCell):
1134         (KWQKHTMLPart::searchForLabelsBeforeElement):
1135         (listParent):
1136         (isTextFirstInListItem):
1137         (KWQKHTMLPart::attributedString):
1138         (KWQKHTMLPart::styleForSelectionStart):
1139         (KWQKHTMLPart::setSelectionFromNone):
1140         * kwq/KWQRenderTreeDebug.cpp:
1141         (getTagName):
1142         * kwq/WebCoreBridge.mm:
1143         (inputElementFromDOMElement):
1144         (formElementFromDOMElement):
1145         (-[WebCoreBridge elementAtPoint:]):
1146         * layout-tests/fast/dom/css-dom-read-expected.txt:
1147         * layout-tests/fast/overflow/003-expected.txt:
1148         * layout-tests/fast/tokenizer/002-expected.txt:
1149         * layout-tests/fast/tokenizer/external-script-document-write-expected.txt:
1150         * layout-tests/fast/tokenizer/script_extra_close-expected.txt:
1151         * layout-tests/fast/tokenizer/script_quirk-expected.txt: Removed.
1152         * layout-tests/fast/tokenizer/script_quirk.html: Removed.
1153
1154 2005-07-08  Eric Seidel  <eseidel@apple.com>
1155
1156         Reviewed by mjs/hyatt (just approved the changelog).
1157
1158         * ForwardingHeaders/kdom/css/impl/cssproperties.h: Added.
1159         * ForwardingHeaders/kdom/css/impl/cssvalues.h: Added.
1160         * ForwardingHeaders/ksvg2/KSVGPart.h: Added.
1161         * ForwardingHeaders/ksvg2/KSVGView.h: Added.
1162         * ForwardingHeaders/ksvg2/css/impl/cssproperties.h: Added.
1163         * ForwardingHeaders/ksvg2/css/impl/cssvalues.h: Added.
1164         * ForwardingHeaders/ksvg2/data/Constructors.lut.h: Added.
1165         * ForwardingHeaders/ksvg2/data/GlobalObject.lut.h: Added.
1166         * WebCore.pbproj/project.pbxproj:  Added WebCore+SVG Target.
1167         * kcanvas/DESIGN: Added.
1168         * kcanvas/KCanvas.cc: Added.
1169         * kcanvas/KCanvas.h: Added.
1170         * kcanvas/KCanvasContainer.cc: Added.
1171         * kcanvas/KCanvasContainer.h: Added.
1172         * kcanvas/KCanvasCreator.cc: Added.
1173         * kcanvas/KCanvasCreator.h: Added.
1174         * kcanvas/KCanvasFilters.cc: Added.
1175         * kcanvas/KCanvasFilters.h: Added.
1176         * kcanvas/KCanvasImage.cc: Added.
1177         * kcanvas/KCanvasImage.h: Added.
1178         * kcanvas/KCanvasItem.cc: Added.
1179         * kcanvas/KCanvasItem.h: Added.
1180         * kcanvas/KCanvasMatrix.cc: Added.
1181         * kcanvas/KCanvasMatrix.h: Added.
1182         * kcanvas/KCanvasPath.h: Added.
1183         * kcanvas/KCanvasRegistry.cc: Added.
1184         * kcanvas/KCanvasRegistry.h: Added.
1185         * kcanvas/KCanvasResourceListener.h: Added.
1186         * kcanvas/KCanvasResources.cc: Added.
1187         * kcanvas/KCanvasResources.h: Added.
1188         * kcanvas/KCanvasTypes.h: Added.
1189         * kcanvas/KCanvasView.cc: Added.
1190         * kcanvas/KCanvasView.h: Added.
1191         * kcanvas/KCanvasView.moc: Added.
1192         * kcanvas/device/KRenderingDevice.cc: Added.
1193         * kcanvas/device/KRenderingDevice.h: Added.
1194         * kcanvas/device/KRenderingDevice.moc: Added.
1195         * kcanvas/device/KRenderingDeviceFactory.cc: Added.
1196         * kcanvas/device/KRenderingDeviceFactory.h: Added.
1197         * kcanvas/device/KRenderingFillPainter.cc: Added.
1198         * kcanvas/device/KRenderingFillPainter.h: Added.
1199         * kcanvas/device/KRenderingPaintServer.h: Added.
1200         * kcanvas/device/KRenderingPaintServerGradient.cc: Added.
1201         * kcanvas/device/KRenderingPaintServerGradient.h: Added.
1202         * kcanvas/device/KRenderingPaintServerImage.cc: Added.
1203         * kcanvas/device/KRenderingPaintServerImage.h: Added.
1204         * kcanvas/device/KRenderingPaintServerPattern.cc: Added.
1205         * kcanvas/device/KRenderingPaintServerPattern.h: Added.
1206         * kcanvas/device/KRenderingPaintServerSolid.cc: Added.
1207         * kcanvas/device/KRenderingPaintServerSolid.h: Added.
1208         * kcanvas/device/KRenderingStrokePainter.cc: Added.
1209         * kcanvas/device/KRenderingStrokePainter.h: Added.
1210         * kcanvas/device/KRenderingStyle.cc: Added.
1211         * kcanvas/device/KRenderingStyle.h: Added.
1212         * kcanvas/device/quartz/KCanvasFilterQuartz.h: Added.
1213         * kcanvas/device/quartz/KCanvasFilterQuartz.mm: Added.
1214         * kcanvas/device/quartz/KCanvasItemQuartz.h: Added.
1215         * kcanvas/device/quartz/KCanvasItemQuartz.mm: Added.
1216         * kcanvas/device/quartz/KCanvasResourcesQuartz.h: Added.
1217         * kcanvas/device/quartz/KCanvasResourcesQuartz.mm: Added.
1218         * kcanvas/device/quartz/KCanvasViewQuartz.h: Added.
1219         * kcanvas/device/quartz/KCanvasViewQuartz.mm: Added.
1220         * kcanvas/device/quartz/KRenderingDeviceQuartz.h: Added.
1221         * kcanvas/device/quartz/KRenderingDeviceQuartz.mm: Added.
1222         * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm: Added.
1223         * kcanvas/device/quartz/KRenderingPaintServerQuartz.h: Added.
1224         * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm: Added.
1225         * kcanvas/device/quartz/QuartzSupport.h: Added.
1226         * kcanvas/device/quartz/QuartzSupport.mm: Added.
1227         * kdom/AUTHORS: Added.
1228         * kdom/Attr.cc: Added.
1229         * kdom/Attr.h: Added.
1230         * kdom/CDATASection.cc: Added.
1231         * kdom/CDATASection.h: Added.
1232         * kdom/CharacterData.cc: Added.
1233         * kdom/CharacterData.h: Added.
1234         * kdom/Comment.cc: Added.
1235         * kdom/Comment.h: Added.
1236         * kdom/DOMConfiguration.cc: Added.
1237         * kdom/DOMConfiguration.h: Added.
1238         * kdom/DOMError.cc: Added.
1239         * kdom/DOMError.h: Added.
1240         * kdom/DOMErrorHandler.cc: Added.
1241         * kdom/DOMErrorHandler.h: Added.
1242         * kdom/DOMException.cc: Added.
1243         * kdom/DOMException.h: Added.
1244         * kdom/DOMImplementation.cc: Added.
1245         * kdom/DOMImplementation.h: Added.
1246         * kdom/DOMLocator.cc: Added.
1247         * kdom/DOMLocator.h: Added.
1248         * kdom/DOMObject.cc: Added.
1249         * kdom/DOMObject.h: Added.
1250         * kdom/DOMString.cc: Added.
1251         * kdom/DOMString.h: Added.
1252         * kdom/DOMStringList.cc: Added.
1253         * kdom/DOMStringList.h: Added.
1254         * kdom/DOMUserData.cc: Added.
1255         * kdom/DOMUserData.h: Added.
1256         * kdom/Document.cc: Added.
1257         * kdom/Document.h: Added.
1258         * kdom/DocumentFragment.cc: Added.
1259         * kdom/DocumentFragment.h: Added.
1260         * kdom/DocumentType.cc: Added.
1261         * kdom/DocumentType.h: Added.
1262         * kdom/Element.cc: Added.
1263         * kdom/Element.h: Added.
1264         * kdom/Entity.cc: Added.
1265         * kdom/Entity.h: Added.
1266         * kdom/EntityReference.cc: Added.
1267         * kdom/EntityReference.h: Added.
1268         * kdom/Helper.cc: Added.
1269         * kdom/Helper.h: Added.
1270         * kdom/KDOMPart.cc: Added.
1271         * kdom/KDOMPart.h: Added.
1272         * kdom/KDOMSettings.cc: Added.
1273         * kdom/KDOMSettings.h: Added.
1274         * kdom/KDOMView.cc: Added.
1275         * kdom/KDOMView.h: Added.
1276         * kdom/NOTES: Added.
1277         * kdom/NamedNodeMap.cc: Added.
1278         * kdom/NamedNodeMap.h: Added.
1279         * kdom/Namespace.h: Added.
1280         * kdom/Node.cc: Added.
1281         * kdom/Node.h: Added.
1282         * kdom/NodeList.cc: Added.
1283         * kdom/NodeList.h: Added.
1284         * kdom/Notation.cc: Added.
1285         * kdom/Notation.h: Added.
1286         * kdom/ProcessingInstruction.cc: Added.
1287         * kdom/ProcessingInstruction.h: Added.
1288         * kdom/Shared.cc: Added.
1289         * kdom/Shared.h: Added.
1290         * kdom/Text.cc: Added.
1291         * kdom/Text.h: Added.
1292         * kdom/TreeShared.h: Added.
1293         * kdom/TypeInfo.cc: Added.
1294         * kdom/TypeInfo.h: Added.
1295         * kdom/backends/libxml/LibXMLParser.cc: Added.
1296         * kdom/backends/libxml/LibXMLParser.h: Added.
1297         * kdom/backends/libxml/LibXMLParser.moc: Added.
1298         * kdom/cache/IconData.h: Added.
1299         * kdom/cache/ImageSource.cc: Added.
1300         * kdom/cache/ImageSource.h: Added.
1301         * kdom/cache/KDOMCache.cc: Added.
1302         * kdom/cache/KDOMCache.h: Added.
1303         * kdom/cache/KDOMCacheHelper.h: Added.
1304         * kdom/cache/KDOMCachedDocument.cc: Added.
1305         * kdom/cache/KDOMCachedDocument.h: Added.
1306         * kdom/cache/KDOMCachedImage.cc: Added.
1307         * kdom/cache/KDOMCachedImage.h: Added.
1308         * kdom/cache/KDOMCachedImage.moc: Added.
1309         * kdom/cache/KDOMCachedObject.cc: Added.
1310         * kdom/cache/KDOMCachedObject.h: Added.
1311         * kdom/cache/KDOMCachedObjectClient.h: Added.
1312         * kdom/cache/KDOMCachedScript.cc: Added.
1313         * kdom/cache/KDOMCachedScript.h: Added.
1314         * kdom/cache/KDOMCachedStyleSheet.cc: Added.
1315         * kdom/cache/KDOMCachedStyleSheet.h: Added.
1316         * kdom/cache/KDOMLoader.cc: Added.
1317         * kdom/cache/KDOMLoader.h: Added.
1318         * kdom/cache/KDOMLoader.moc: Added.
1319         * kdom/css/CSSCharsetRule.cc: Added.
1320         * kdom/css/CSSCharsetRule.h: Added.
1321         * kdom/css/CSSFontFaceRule.cc: Added.
1322         * kdom/css/CSSFontFaceRule.h: Added.
1323         * kdom/css/CSSHelper.h: Added.
1324         * kdom/css/CSSImportRule.cc: Added.
1325         * kdom/css/CSSImportRule.h: Added.
1326         * kdom/css/CSSMediaRule.cc: Added.
1327         * kdom/css/CSSMediaRule.h: Added.
1328         * kdom/css/CSSPageRule.cc: Added.
1329         * kdom/css/CSSPageRule.h: Added.
1330         * kdom/css/CSSPrimitiveValue.cc: Added.
1331         * kdom/css/CSSPrimitiveValue.h: Added.
1332         * kdom/css/CSSRule.cc: Added.
1333         * kdom/css/CSSRule.h: Added.
1334         * kdom/css/CSSRuleList.cc: Added.
1335         * kdom/css/CSSRuleList.h: Added.
1336         * kdom/css/CSSStyleDeclaration.cc: Added.
1337         * kdom/css/CSSStyleDeclaration.h: Added.
1338         * kdom/css/CSSStyleRule.cc: Added.
1339         * kdom/css/CSSStyleRule.h: Added.
1340         * kdom/css/CSSStyleSheet.cc: Added.
1341         * kdom/css/CSSStyleSheet.h: Added.
1342         * kdom/css/CSSUnknownRule.cc: Added.
1343         * kdom/css/CSSUnknownRule.h: Added.
1344         * kdom/css/CSSValue.cc: Added.
1345         * kdom/css/CSSValue.h: Added.
1346         * kdom/css/CSSValueList.cc: Added.
1347         * kdom/css/CSSValueList.h: Added.
1348         * kdom/css/Counter.cc: Added.
1349         * kdom/css/Counter.h: Added.
1350         * kdom/css/DOMImplementationCSS.cc: Added.
1351         * kdom/css/DOMImplementationCSS.h: Added.
1352         * kdom/css/DocumentCSS.cc: Added.
1353         * kdom/css/DocumentCSS.h: Added.
1354         * kdom/css/DocumentStyle.cc: Added.
1355         * kdom/css/DocumentStyle.h: Added.
1356         * kdom/css/LinkStyle.cc: Added.
1357         * kdom/css/LinkStyle.h: Added.
1358         * kdom/css/MediaList.cc: Added.
1359         * kdom/css/MediaList.h: Added.
1360         * kdom/css/RGBColor.cc: Added.
1361         * kdom/css/RGBColor.h: Added.
1362         * kdom/css/Rect.cc: Added.
1363         * kdom/css/Rect.h: Added.
1364         * kdom/css/StyleSheet.cc: Added.
1365         * kdom/css/StyleSheet.h: Added.
1366         * kdom/css/StyleSheetList.cc: Added.
1367         * kdom/css/StyleSheetList.h: Added.
1368         * kdom/css/ViewCSS.cc: Added.
1369         * kdom/css/ViewCSS.h: Added.
1370         * kdom/css/impl/CSSCharsetRuleImpl.cc: Added.
1371         * kdom/css/impl/CSSCharsetRuleImpl.h: Added.
1372         * kdom/css/impl/CSSFontFaceRuleImpl.cc: Added.
1373         * kdom/css/impl/CSSFontFaceRuleImpl.h: Added.
1374         * kdom/css/impl/CSSImageValueImpl.cc: Added.
1375         * kdom/css/impl/CSSImageValueImpl.h: Added.
1376         * kdom/css/impl/CSSImportRuleImpl.cc: Added.
1377         * kdom/css/impl/CSSImportRuleImpl.h: Added.
1378         * kdom/css/impl/CSSMediaRuleImpl.cc: Added.
1379         * kdom/css/impl/CSSMediaRuleImpl.h: Added.
1380         * kdom/css/impl/CSSPageRuleImpl.cc: Added.
1381         * kdom/css/impl/CSSPageRuleImpl.h: Added.
1382         * kdom/css/impl/CSSPrimitiveValueImpl.cc: Added.
1383         * kdom/css/impl/CSSPrimitiveValueImpl.h: Added.
1384         * kdom/css/impl/CSSRuleImpl.cc: Added.
1385         * kdom/css/impl/CSSRuleImpl.h: Added.
1386         * kdom/css/impl/CSSRuleListImpl.cc: Added.
1387         * kdom/css/impl/CSSRuleListImpl.h: Added.
1388         * kdom/css/impl/CSSStyleDeclarationImpl.cc: Added.
1389         * kdom/css/impl/CSSStyleDeclarationImpl.h: Added.
1390         * kdom/css/impl/CSSStyleRuleImpl.cc: Added.
1391         * kdom/css/impl/CSSStyleRuleImpl.h: Added.
1392         * kdom/css/impl/CSSStyleSelector.cc: Added.
1393         * kdom/css/impl/CSSStyleSelector.h: Added.
1394         * kdom/css/impl/CSSStyleSheetImpl.cc: Added.
1395         * kdom/css/impl/CSSStyleSheetImpl.h: Added.
1396         * kdom/css/impl/CSSUnknownRuleImpl.cc: Added.
1397         * kdom/css/impl/CSSUnknownRuleImpl.h: Added.
1398         * kdom/css/impl/CSSValueImpl.cc: Added.
1399         * kdom/css/impl/CSSValueImpl.h: Added.
1400         * kdom/css/impl/CSSValueListImpl.cc: Added.
1401         * kdom/css/impl/CSSValueListImpl.h: Added.
1402         * kdom/css/impl/CounterImpl.cc: Added.
1403         * kdom/css/impl/CounterImpl.h: Added.
1404         * kdom/css/impl/DocumentStyleImpl.cc: Added.
1405         * kdom/css/impl/DocumentStyleImpl.h: Added.
1406         * kdom/css/impl/Font.cc: Added.
1407         * kdom/css/impl/Font.h: Added.
1408         * kdom/css/impl/KDOMCSSParser.cc: Added.
1409         * kdom/css/impl/KDOMCSSParser.h: Added.
1410         * kdom/css/impl/MediaListImpl.cc: Added.
1411         * kdom/css/impl/MediaListImpl.h: Added.
1412         * kdom/css/impl/RGBColorImpl.cc: Added.
1413         * kdom/css/impl/RGBColorImpl.h: Added.
1414         * kdom/css/impl/RectImpl.cc: Added.
1415         * kdom/css/impl/RectImpl.h: Added.
1416         * kdom/css/impl/RenderStyle.cc: Added.
1417         * kdom/css/impl/RenderStyle.h: Added.
1418         * kdom/css/impl/RenderStyleDefs.cc: Added.
1419         * kdom/css/impl/RenderStyleDefs.h: Added.
1420         * kdom/css/impl/StyleBaseImpl.cc: Added.
1421         * kdom/css/impl/StyleBaseImpl.h: Added.
1422         * kdom/css/impl/StyleSheetImpl.cc: Added.
1423         * kdom/css/impl/StyleSheetImpl.h: Added.
1424         * kdom/css/impl/StyleSheetListImpl.cc: Added.
1425         * kdom/css/impl/StyleSheetListImpl.h: Added.
1426         * kdom/css/impl/cssproperties.in: Added.
1427         * kdom/css/impl/cssvalues.in: Added.
1428         * kdom/css/impl/kdomparsercss.y: Added.
1429         * kdom/css/impl/tokenizer.cpp: Added.
1430         * kdom/css/kdomcss.h: Added.
1431         * kdom/data/CSSConstants.h: Added.
1432         * kdom/data/DOMConstants.h: Added.
1433         * kdom/data/EcmaConstants.h: Added.
1434         * kdom/data/EventsConstants.h: Added.
1435         * kdom/data/LSConstants.h: Added.
1436         * kdom/data/RangeConstants.h: Added.
1437         * kdom/data/TraversalConstants.h: Added.
1438         * kdom/data/ViewConstants.h: Added.
1439         * kdom/data/XPathConstants.h: Added.
1440         * kdom/data/generateddata.cc: Added.
1441         * kdom/ecma/Constructors.cc: Added.
1442         * kdom/ecma/Constructors.h: Added.
1443         * kdom/ecma/DOMBridge.h: Added.
1444         * kdom/ecma/DOMLookup.h: Added.
1445         * kdom/ecma/Ecma.cc: Added.
1446         * kdom/ecma/Ecma.h: Added.
1447         * kdom/ecma/EcmaInterface.h: Added.
1448         * kdom/ecma/GlobalObject.cc: Added.
1449         * kdom/ecma/GlobalObject.h: Added.
1450         * kdom/ecma/GlobalObject.moc: Added.
1451         * kdom/ecma/Helper.cc: Added.
1452         * kdom/ecma/ScriptInterpreter.cc: Added.
1453         * kdom/ecma/ScriptInterpreter.h: Added.
1454         * kdom/events/DocumentEvent.cc: Added.
1455         * kdom/events/DocumentEvent.h: Added.
1456         * kdom/events/Event.cc: Added.
1457         * kdom/events/Event.h: Added.
1458         * kdom/events/EventException.cc: Added.
1459         * kdom/events/EventException.h: Added.
1460         * kdom/events/EventListener.cc: Added.
1461         * kdom/events/EventListener.h: Added.
1462         * kdom/events/EventTarget.cc: Added.
1463         * kdom/events/EventTarget.h: Added.
1464         * kdom/events/KeyboardEvent.cc: Added.
1465         * kdom/events/KeyboardEvent.h: Added.
1466         * kdom/events/MouseEvent.cc: Added.
1467         * kdom/events/MouseEvent.h: Added.
1468         * kdom/events/MutationEvent.cc: Added.
1469         * kdom/events/MutationEvent.h: Added.
1470         * kdom/events/UIEvent.cc: Added.
1471         * kdom/events/UIEvent.h: Added.
1472         * kdom/events/impl/DocumentEventImpl.cc: Added.
1473         * kdom/events/impl/DocumentEventImpl.h: Added.
1474         * kdom/events/impl/EventExceptionImpl.cc: Added.
1475         * kdom/events/impl/EventExceptionImpl.h: Added.
1476         * kdom/events/impl/EventImpl.cc: Added.
1477         * kdom/events/impl/EventImpl.h: Added.
1478         * kdom/events/impl/EventListenerImpl.cc: Added.
1479         * kdom/events/impl/EventListenerImpl.h: Added.
1480         * kdom/events/impl/EventTargetImpl.cc: Added.
1481         * kdom/events/impl/EventTargetImpl.h: Added.
1482         * kdom/events/impl/KeyboardEventImpl.cc: Added.
1483         * kdom/events/impl/KeyboardEventImpl.h: Added.
1484         * kdom/events/impl/MouseEventImpl.cc: Added.
1485         * kdom/events/impl/MouseEventImpl.h: Added.
1486         * kdom/events/impl/MutationEventImpl.cc: Added.
1487         * kdom/events/impl/MutationEventImpl.h: Added.
1488         * kdom/events/impl/RegisteredEventListener.cc: Added.
1489         * kdom/events/impl/RegisteredEventListener.h: Added.
1490         * kdom/events/impl/UIEventImpl.cc: Added.
1491         * kdom/events/impl/UIEventImpl.h: Added.
1492         * kdom/events/kdomevents.h: Added.
1493         * kdom/impl/AttrImpl.cc: Added.
1494         * kdom/impl/AttrImpl.h: Added.
1495         * kdom/impl/CDATASectionImpl.cc: Added.
1496         * kdom/impl/CDATASectionImpl.h: Added.
1497         * kdom/impl/CDFInterface.cc: Added.
1498         * kdom/impl/CDFInterface.h: Added.
1499         * kdom/impl/CharacterDataImpl.cc: Added.
1500         * kdom/impl/CharacterDataImpl.h: Added.
1501         * kdom/impl/CommentImpl.cc: Added.
1502         * kdom/impl/CommentImpl.h: Added.
1503         * kdom/impl/DOMConfigurationImpl.cc: Added.
1504         * kdom/impl/DOMConfigurationImpl.h: Added.
1505         * kdom/impl/DOMErrorHandlerImpl.cc: Added.
1506         * kdom/impl/DOMErrorHandlerImpl.h: Added.
1507         * kdom/impl/DOMErrorImpl.cc: Added.
1508         * kdom/impl/DOMErrorImpl.h: Added.
1509         * kdom/impl/DOMExceptionImpl.cc: Added.
1510         * kdom/impl/DOMExceptionImpl.h: Added.
1511         * kdom/impl/DOMImplementationImpl.cc: Added.
1512         * kdom/impl/DOMImplementationImpl.h: Added.
1513         * kdom/impl/DOMList.h: Added.
1514         * kdom/impl/DOMLocatorImpl.cc: Added.
1515         * kdom/impl/DOMLocatorImpl.h: Added.
1516         * kdom/impl/DOMStringImpl.cc: Added.
1517         * kdom/impl/DOMStringImpl.h: Added.
1518         * kdom/impl/DOMStringListImpl.cc: Added.
1519         * kdom/impl/DOMStringListImpl.h: Added.
1520         * kdom/impl/DOMUserDataImpl.cc: Added.
1521         * kdom/impl/DOMUserDataImpl.h: Added.
1522         * kdom/impl/DocumentFragmentImpl.cc: Added.
1523         * kdom/impl/DocumentFragmentImpl.h: Added.
1524         * kdom/impl/DocumentImpl.cc: Added.
1525         * kdom/impl/DocumentImpl.h: Added.
1526         * kdom/impl/DocumentTypeImpl.cc: Added.
1527         * kdom/impl/DocumentTypeImpl.h: Added.
1528         * kdom/impl/ElementImpl.cc: Added.
1529         * kdom/impl/ElementImpl.h: Added.
1530         * kdom/impl/EntityImpl.cc: Added.
1531         * kdom/impl/EntityImpl.h: Added.
1532         * kdom/impl/EntityReferenceImpl.cc: Added.
1533         * kdom/impl/EntityReferenceImpl.h: Added.
1534         * kdom/impl/NamedAttrMapImpl.cc: Added.
1535         * kdom/impl/NamedAttrMapImpl.h: Added.
1536         * kdom/impl/NamedNodeMapImpl.cc: Added.
1537         * kdom/impl/NamedNodeMapImpl.h: Added.
1538         * kdom/impl/NodeImpl.cc: Added.
1539         * kdom/impl/NodeImpl.h: Added.
1540         * kdom/impl/NodeKeeper.cc: Added.
1541         * kdom/impl/NodeKeeper.h: Added.
1542         * kdom/impl/NodeListImpl.cc: Added.
1543         * kdom/impl/NodeListImpl.h: Added.
1544         * kdom/impl/NotationImpl.cc: Added.
1545         * kdom/impl/NotationImpl.h: Added.
1546         * kdom/impl/ProcessingInstructionImpl.cc: Added.
1547         * kdom/impl/ProcessingInstructionImpl.h: Added.
1548         * kdom/impl/TagNodeListImpl.cc: Added.
1549         * kdom/impl/TagNodeListImpl.h: Added.
1550         * kdom/impl/TextImpl.cc: Added.
1551         * kdom/impl/TextImpl.h: Added.
1552         * kdom/impl/TypeInfoImpl.cc: Added.
1553         * kdom/impl/TypeInfoImpl.h: Added.
1554         * kdom/impl/XMLElementImpl.cc: Added.
1555         * kdom/impl/XMLElementImpl.h: Added.
1556         * kdom/impl/domattrs.c: Added.
1557         * kdom/impl/domattrs.h: Added.
1558         * kdom/impl/domattrs.in: Added.
1559         * kdom/kdom.h: Added.
1560         * kdom/ls/DOMImplementationLS.cc: Added.
1561         * kdom/ls/DOMImplementationLS.h: Added.
1562         * kdom/ls/LSException.cc: Added.
1563         * kdom/ls/LSException.h: Added.
1564         * kdom/ls/LSInput.cc: Added.
1565         * kdom/ls/LSInput.h: Added.
1566         * kdom/ls/LSOutput.cc: Added.
1567         * kdom/ls/LSOutput.h: Added.
1568         * kdom/ls/LSParser.cc: Added.
1569         * kdom/ls/LSParser.h: Added.
1570         * kdom/ls/LSParserFilter.cc: Added.
1571         * kdom/ls/LSParserFilter.h: Added.
1572         * kdom/ls/LSResourceResolver.cc: Added.
1573         * kdom/ls/LSResourceResolver.h: Added.
1574         * kdom/ls/LSSerializer.cc: Added.
1575         * kdom/ls/LSSerializer.h: Added.
1576         * kdom/ls/LSSerializerFilter.cc: Added.
1577         * kdom/ls/LSSerializerFilter.h: Added.
1578         * kdom/ls/impl/LSExceptionImpl.cc: Added.
1579         * kdom/ls/impl/LSExceptionImpl.h: Added.
1580         * kdom/ls/impl/LSInputImpl.cc: Added.
1581         * kdom/ls/impl/LSInputImpl.h: Added.
1582         * kdom/ls/impl/LSOutputImpl.cc: Added.
1583         * kdom/ls/impl/LSOutputImpl.h: Added.
1584         * kdom/ls/impl/LSParserFilterImpl.cc: Added.
1585         * kdom/ls/impl/LSParserFilterImpl.h: Added.
1586         * kdom/ls/impl/LSParserImpl.cc: Added.
1587         * kdom/ls/impl/LSParserImpl.h: Added.
1588         * kdom/ls/impl/LSResourceResolverImpl.cc: Added.
1589         * kdom/ls/impl/LSResourceResolverImpl.h: Added.
1590         * kdom/ls/impl/LSSerializerFilterImpl.cc: Added.
1591         * kdom/ls/impl/LSSerializerFilterImpl.h: Added.
1592         * kdom/ls/impl/LSSerializerImpl.cc: Added.
1593         * kdom/ls/impl/LSSerializerImpl.h: Added.
1594         * kdom/ls/kdomls.h: Added.
1595         * kdom/parser/KDOMDataSlave.moc: Added.
1596         * kdom/parser/KDOMDocumentBuilder.cc: Added.
1597         * kdom/parser/KDOMDocumentBuilder.h: Added.
1598         * kdom/parser/KDOMParser.cc: Added.
1599         * kdom/parser/KDOMParser.h: Added.
1600         * kdom/parser/KDOMParser.moc: Added.
1601         * kdom/range/DocumentRange.cc: Added.
1602         * kdom/range/DocumentRange.h: Added.
1603         * kdom/range/Range.cc: Added.
1604         * kdom/range/Range.h: Added.
1605         * kdom/range/RangeException.cc: Added.
1606         * kdom/range/RangeException.h: Added.
1607         * kdom/range/impl/DocumentRangeImpl.cc: Added.
1608         * kdom/range/impl/DocumentRangeImpl.h: Added.
1609         * kdom/range/impl/RangeExceptionImpl.cc: Added.
1610         * kdom/range/impl/RangeExceptionImpl.h: Added.
1611         * kdom/range/impl/RangeImpl.cc: Added.
1612         * kdom/range/impl/RangeImpl.h: Added.
1613         * kdom/range/kdomrange.h: Added.
1614         * kdom/scripts/OVERVIEW: Added.
1615         * kdom/scripts/constants.pl: Added.
1616         * kdom/scripts/css.idl: Added.
1617         * kdom/scripts/cssmakeprops: Added.
1618         * kdom/scripts/cssmakevalues: Added.
1619         * kdom/scripts/dom2-core.idl: Added.
1620         * kdom/scripts/dom2-events.idl: Added.
1621         * kdom/scripts/dom2-range.idl: Added.
1622         * kdom/scripts/dom2-traversal.idl: Added.
1623         * kdom/scripts/dom2-views.idl: Added.
1624         * kdom/scripts/dommakeattrs: Added.
1625         * kdom/scripts/generate.pl: Added.
1626         * kdom/scripts/kalyptusKDOMEcma.pm: Added.
1627         * kdom/scripts/stylesheets.idl: Added.
1628         * kdom/traversal/DocumentTraversal.cc: Added.
1629         * kdom/traversal/DocumentTraversal.h: Added.
1630         * kdom/traversal/NodeFilter.cc: Added.
1631         * kdom/traversal/NodeFilter.h: Added.
1632         * kdom/traversal/NodeIterator.cc: Added.
1633         * kdom/traversal/NodeIterator.h: Added.
1634         * kdom/traversal/TreeWalker.cc: Added.
1635         * kdom/traversal/TreeWalker.h: Added.
1636         * kdom/traversal/impl/DocumentTraversalImpl.cc: Added.
1637         * kdom/traversal/impl/DocumentTraversalImpl.h: Added.
1638         * kdom/traversal/impl/NodeFilterImpl.cc: Added.
1639         * kdom/traversal/impl/NodeFilterImpl.h: Added.
1640         * kdom/traversal/impl/NodeIteratorImpl.cc: Added.
1641         * kdom/traversal/impl/NodeIteratorImpl.h: Added.
1642         * kdom/traversal/impl/TraversalImpl.cc: Added.
1643         * kdom/traversal/impl/TraversalImpl.h: Added.
1644         * kdom/traversal/impl/TreeWalkerImpl.cc: Added.
1645         * kdom/traversal/impl/TreeWalkerImpl.h: Added.
1646         * kdom/traversal/kdomtraversal.h: Added.
1647         * kdom/views/AbstractView.cc: Added.
1648         * kdom/views/AbstractView.h: Added.
1649         * kdom/views/DocumentView.cc: Added.
1650         * kdom/views/DocumentView.h: Added.
1651         * kdom/views/impl/AbstractViewImpl.cc: Added.
1652         * kdom/views/impl/AbstractViewImpl.h: Added.
1653         * kdom/views/impl/DocumentViewImpl.cc: Added.
1654         * kdom/views/impl/DocumentViewImpl.h: Added.
1655         * kdom/xpath/XPathEvaluator.cc: Added.
1656         * kdom/xpath/XPathEvaluator.h: Added.
1657         * kdom/xpath/XPathException.cc: Added.
1658         * kdom/xpath/XPathException.h: Added.
1659         * kdom/xpath/XPathExpression.cc: Added.
1660         * kdom/xpath/XPathExpression.h: Added.
1661         * kdom/xpath/XPathNSResolver.cc: Added.
1662         * kdom/xpath/XPathNSResolver.h: Added.
1663         * kdom/xpath/XPathNamespace.cc: Added.
1664         * kdom/xpath/XPathNamespace.h: Added.
1665         * kdom/xpath/XPathResult.cc: Added.
1666         * kdom/xpath/XPathResult.h: Added.
1667         * kdom/xpath/impl/AxisImpl.cc: Added.
1668         * kdom/xpath/impl/AxisImpl.h: Added.
1669         * kdom/xpath/impl/ContextImpl.cc: Added.
1670         * kdom/xpath/impl/ContextImpl.h: Added.
1671         * kdom/xpath/impl/ExprNodeImpl.cc: Added.
1672         * kdom/xpath/impl/ExprNodeImpl.h: Added.
1673         * kdom/xpath/impl/FILES: Added.
1674         * kdom/xpath/impl/LiteralImpl.cc: Added.
1675         * kdom/xpath/impl/LiteralImpl.h: Added.
1676         * kdom/xpath/impl/OperatorImpl.cc: Added.
1677         * kdom/xpath/impl/OperatorImpl.h: Added.
1678         * kdom/xpath/impl/ScopeImpl.cc: Added.
1679         * kdom/xpath/impl/ScopeImpl.h: Added.
1680         * kdom/xpath/impl/StepImpl.cc: Added.
1681         * kdom/xpath/impl/StepImpl.h: Added.
1682         * kdom/xpath/impl/VariableRefImpl.cc: Added.
1683         * kdom/xpath/impl/VariableRefImpl.h: Added.
1684         * kdom/xpath/impl/XPathCustomExceptionImpl.cc: Added.
1685         * kdom/xpath/impl/XPathCustomExceptionImpl.h: Added.
1686         * kdom/xpath/impl/XPathEvaluatorImpl.cc: Added.
1687         * kdom/xpath/impl/XPathEvaluatorImpl.h: Added.
1688         * kdom/xpath/impl/XPathExceptionImpl.cc: Added.
1689         * kdom/xpath/impl/XPathExceptionImpl.h: Added.
1690         * kdom/xpath/impl/XPathExpressionFilterImpl.cc: Added.
1691         * kdom/xpath/impl/XPathExpressionFilterImpl.h: Added.
1692         * kdom/xpath/impl/XPathExpressionImpl.cc: Added.
1693         * kdom/xpath/impl/XPathExpressionImpl.h: Added.
1694         * kdom/xpath/impl/XPathFactory1Impl.cc: Added.
1695         * kdom/xpath/impl/XPathFactory1Impl.h: Added.
1696         * kdom/xpath/impl/XPathFactoryBaseImpl.cc: Added.
1697         * kdom/xpath/impl/XPathFactoryBaseImpl.h: Added.
1698         * kdom/xpath/impl/XPathHelper.cc: Added.
1699         * kdom/xpath/impl/XPathHelper.h: Added.
1700         * kdom/xpath/impl/XPathNSResolverImpl.cc: Added.
1701         * kdom/xpath/impl/XPathNSResolverImpl.h: Added.
1702         * kdom/xpath/impl/XPathNamespaceImpl.cc: Added.
1703         * kdom/xpath/impl/XPathNamespaceImpl.h: Added.
1704         * kdom/xpath/impl/XPathResultImpl.cc: Added.
1705         * kdom/xpath/impl/XPathResultImpl.h: Added.
1706         * kdom/xpath/impl/data/BooleanImpl.cc: Added.
1707         * kdom/xpath/impl/data/BooleanImpl.h: Added.
1708         * kdom/xpath/impl/data/NodeSetImpl.cc: Added.
1709         * kdom/xpath/impl/data/NodeSetImpl.h: Added.
1710         * kdom/xpath/impl/data/NumberImpl.cc: Added.
1711         * kdom/xpath/impl/data/NumberImpl.h: Added.
1712         * kdom/xpath/impl/data/StringImpl.cc: Added.
1713         * kdom/xpath/impl/data/StringImpl.h: Added.
1714         * kdom/xpath/impl/data/ValueImpl.cc: Added.
1715         * kdom/xpath/impl/data/ValueImpl.h: Added.
1716         * kdom/xpath/impl/functions1/FunctionCallImpl.cc: Added.
1717         * kdom/xpath/impl/functions1/FunctionCallImpl.h: Added.
1718         * kdom/xpath/impl/functions1/README: Added.
1719         * kdom/xpath/impl/functions1/boolean_fnxp1.cc: Added.
1720         * kdom/xpath/impl/functions1/boolean_fnxp1.h: Added.
1721         * kdom/xpath/impl/functions1/ceiling_fnxp1.cc: Added.
1722         * kdom/xpath/impl/functions1/ceiling_fnxp1.h: Added.
1723         * kdom/xpath/impl/functions1/concat_fnxp1.cc: Added.
1724         * kdom/xpath/impl/functions1/concat_fnxp1.h: Added.
1725         * kdom/xpath/impl/functions1/contains_fnxp1.cc: Added.
1726         * kdom/xpath/impl/functions1/contains_fnxp1.h: Added.
1727         * kdom/xpath/impl/functions1/false_fnxp1.cc: Added.
1728         * kdom/xpath/impl/functions1/false_fnxp1.h: Added.
1729         * kdom/xpath/impl/functions1/floor_fnxp1.cc: Added.
1730         * kdom/xpath/impl/functions1/floor_fnxp1.h: Added.
1731         * kdom/xpath/impl/functions1/normalize-space_fnxp1.cc: Added.
1732         * kdom/xpath/impl/functions1/normalize-space_fnxp1.h: Added.
1733         * kdom/xpath/impl/functions1/not_fnxp1.cc: Added.
1734         * kdom/xpath/impl/functions1/not_fnxp1.h: Added.
1735         * kdom/xpath/impl/functions1/number_fnxp1.cc: Added.
1736         * kdom/xpath/impl/functions1/number_fnxp1.h: Added.
1737         * kdom/xpath/impl/functions1/round_fnxp1.cc: Added.
1738         * kdom/xpath/impl/functions1/round_fnxp1.h: Added.
1739         * kdom/xpath/impl/functions1/starts-with_fnxp1.cc: Added.
1740         * kdom/xpath/impl/functions1/starts-with_fnxp1.h: Added.
1741         * kdom/xpath/impl/functions1/string-length_fnxp1.cc: Added.
1742         * kdom/xpath/impl/functions1/string-length_fnxp1.h: Added.
1743         * kdom/xpath/impl/functions1/string_fnxp1.cc: Added.
1744         * kdom/xpath/impl/functions1/string_fnxp1.h: Added.
1745         * kdom/xpath/impl/functions1/substring-after_fnxp1.cc: Added.
1746         * kdom/xpath/impl/functions1/substring-after_fnxp1.h: Added.
1747         * kdom/xpath/impl/functions1/substring-before_fnxp1.cc: Added.
1748         * kdom/xpath/impl/functions1/substring-before_fnxp1.h: Added.
1749         * kdom/xpath/impl/functions1/substring_fnxp1.cc: Added.
1750         * kdom/xpath/impl/functions1/substring_fnxp1.h: Added.
1751         * kdom/xpath/impl/functions1/true_fnxp1.cc: Added.
1752         * kdom/xpath/impl/functions1/true_fnxp1.h: Added.
1753         * kdom/xpath/impl/parser/Lexer.cc: Added.
1754         * kdom/xpath/impl/parser/Lexer.h: Added.
1755         * kdom/xpath/impl/parser/Lexer.l: Added.
1756         * kdom/xpath/impl/parser/ParserState.cc: Added.
1757         * kdom/xpath/impl/parser/ParserState.h: Added.
1758         * kdom/xpath/impl/parser/xpath.ypp: Added.
1759         * kdom/xpath/impl/utils/QNameImpl.cc: Added.
1760         * kdom/xpath/impl/utils/QNameImpl.h: Added.
1761         * kdom/xpath/kdomxpath.h: Added.
1762         * kdom/xpointer/XPointerEvaluator.cc: Added.
1763         * kdom/xpointer/XPointerEvaluator.h: Added.
1764         * kdom/xpointer/XPointerException.cc: Added.
1765         * kdom/xpointer/XPointerException.h: Added.
1766         * kdom/xpointer/XPointerExpression.cc: Added.
1767         * kdom/xpointer/XPointerExpression.h: Added.
1768         * kdom/xpointer/XPointerHelper.cc: Added.
1769         * kdom/xpointer/XPointerHelper.h: Added.
1770         * kdom/xpointer/XPointerResult.cc: Added.
1771         * kdom/xpointer/XPointerResult.h: Added.
1772         * kdom/xpointer/impl/ElementSchemeImpl.cc: Added.
1773         * kdom/xpointer/impl/ElementSchemeImpl.h: Added.
1774         * kdom/xpointer/impl/NBCImpl.cc: Added.
1775         * kdom/xpointer/impl/NBCImpl.h: Added.
1776         * kdom/xpointer/impl/PointerPartImpl.cc: Added.
1777         * kdom/xpointer/impl/PointerPartImpl.h: Added.
1778         * kdom/xpointer/impl/ShortHandImpl.cc: Added.
1779         * kdom/xpointer/impl/ShortHandImpl.h: Added.
1780         * kdom/xpointer/impl/XMLNSSchemeImpl.cc: Added.
1781         * kdom/xpointer/impl/XMLNSSchemeImpl.h: Added.
1782         * kdom/xpointer/impl/XPath1SchemeImpl.cc: Added.
1783         * kdom/xpointer/impl/XPath1SchemeImpl.h: Added.
1784         * kdom/xpointer/impl/XPointerEvaluatorImpl.cc: Added.
1785         * kdom/xpointer/impl/XPointerEvaluatorImpl.h: Added.
1786         * kdom/xpointer/impl/XPointerExceptionImpl.cc: Added.
1787         * kdom/xpointer/impl/XPointerExceptionImpl.h: Added.
1788         * kdom/xpointer/impl/XPointerExpressionImpl.cc: Added.
1789         * kdom/xpointer/impl/XPointerExpressionImpl.h: Added.
1790         * kdom/xpointer/impl/XPointerResultImpl.cc: Added.
1791         * kdom/xpointer/impl/XPointerResultImpl.h: Added.
1792         * kdom/xpointer/impl/XPointerSchemeImpl.cc: Added.
1793         * kdom/xpointer/impl/XPointerSchemeImpl.h: Added.
1794         * kdom/xpointer/kdomxpointer.h: Added.
1795         * ksvg2/KSVGFactory.cc: Added.
1796         * ksvg2/KSVGFactory.h: Added.
1797         * ksvg2/KSVGSettings.cc: Added.
1798         * ksvg2/KSVGSettings.h: Added.
1799         * ksvg2/KSVGSlotStubs.h: Added.
1800         * ksvg2/KWQKSVGPart.h: Added.
1801         * ksvg2/KWQKSVGPart.mm: Added.
1802         * ksvg2/KWQKSVGView.h: Added.
1803         * ksvg2/KWQKSVGView.mm: Added.
1804         * ksvg2/css/impl/KSVGCSSParser.cc: Added.
1805         * ksvg2/css/impl/KSVGCSSParser.h: Added.
1806         * ksvg2/css/impl/SVGCSSStyleDeclarationImpl.cc: Added.
1807         * ksvg2/css/impl/SVGCSSStyleDeclarationImpl.h: Added.
1808         * ksvg2/css/impl/SVGCSSStyleSelector.cc: Added.
1809         * ksvg2/css/impl/SVGCSSStyleSelector.h: Added.
1810         * ksvg2/css/impl/SVGCSSStyleSheetImpl.cc: Added.
1811         * ksvg2/css/impl/SVGCSSStyleSheetImpl.h: Added.
1812         * ksvg2/css/impl/SVGRenderStyle.cc: Added.
1813         * ksvg2/css/impl/SVGRenderStyle.h: Added.
1814         * ksvg2/css/impl/SVGRenderStyleDefs.cc: Added.
1815         * ksvg2/css/impl/SVGRenderStyleDefs.h: Added.
1816         * ksvg2/css/impl/cssproperties.in: Added.
1817         * ksvg2/css/impl/cssvalues.in: Added.
1818         * ksvg2/css/impl/svg.css: Added.
1819         * ksvg2/data/CSSConstants.h: Added.
1820         * ksvg2/data/EcmaConstants.h: Added.
1821         * ksvg2/data/EventsConstants.h: Added.
1822         * ksvg2/data/SVGConstants.h: Added.
1823         * ksvg2/data/generateddata.cc: Added.
1824         * ksvg2/dom/SVGAElement.cc: Added.
1825         * ksvg2/dom/SVGAElement.h: Added.
1826         * ksvg2/dom/SVGAngle.cc: Added.
1827         * ksvg2/dom/SVGAngle.h: Added.
1828         * ksvg2/dom/SVGAnimateColorElement.cc: Added.
1829         * ksvg2/dom/SVGAnimateColorElement.h: Added.
1830         * ksvg2/dom/SVGAnimateElement.cc: Added.
1831         * ksvg2/dom/SVGAnimateElement.h: Added.
1832         * ksvg2/dom/SVGAnimateTransformElement.cc: Added.
1833         * ksvg2/dom/SVGAnimateTransformElement.h: Added.
1834         * ksvg2/dom/SVGAnimatedAngle.cc: Added.
1835         * ksvg2/dom/SVGAnimatedAngle.h: Added.
1836         * ksvg2/dom/SVGAnimatedBoolean.cc: Added.
1837         * ksvg2/dom/SVGAnimatedBoolean.h: Added.
1838         * ksvg2/dom/SVGAnimatedEnumeration.cc: Added.
1839         * ksvg2/dom/SVGAnimatedEnumeration.h: Added.
1840         * ksvg2/dom/SVGAnimatedInteger.cc: Added.
1841         * ksvg2/dom/SVGAnimatedInteger.h: Added.
1842         * ksvg2/dom/SVGAnimatedLength.cc: Added.
1843         * ksvg2/dom/SVGAnimatedLength.h: Added.
1844         * ksvg2/dom/SVGAnimatedLengthList.cc: Added.
1845         * ksvg2/dom/SVGAnimatedLengthList.h: Added.
1846         * ksvg2/dom/SVGAnimatedNumber.cc: Added.
1847         * ksvg2/dom/SVGAnimatedNumber.h: Added.
1848         * ksvg2/dom/SVGAnimatedNumberList.cc: Added.
1849         * ksvg2/dom/SVGAnimatedNumberList.h: Added.
1850         * ksvg2/dom/SVGAnimatedPathData.cc: Added.
1851         * ksvg2/dom/SVGAnimatedPathData.h: Added.
1852         * ksvg2/dom/SVGAnimatedPoints.cc: Added.
1853         * ksvg2/dom/SVGAnimatedPoints.h: Added.
1854         * ksvg2/dom/SVGAnimatedPreserveAspectRatio.cc: Added.
1855         * ksvg2/dom/SVGAnimatedPreserveAspectRatio.h: Added.
1856         * ksvg2/dom/SVGAnimatedRect.cc: Added.
1857         * ksvg2/dom/SVGAnimatedRect.h: Added.
1858         * ksvg2/dom/SVGAnimatedString.cc: Added.
1859         * ksvg2/dom/SVGAnimatedString.h: Added.
1860         * ksvg2/dom/SVGAnimatedTransformList.cc: Added.
1861         * ksvg2/dom/SVGAnimatedTransformList.h: Added.
1862         * ksvg2/dom/SVGAnimationElement.cc: Added.
1863         * ksvg2/dom/SVGAnimationElement.h: Added.
1864         * ksvg2/dom/SVGCircleElement.cc: Added.
1865         * ksvg2/dom/SVGCircleElement.h: Added.
1866         * ksvg2/dom/SVGClipPathElement.cc: Added.
1867         * ksvg2/dom/SVGClipPathElement.h: Added.
1868         * ksvg2/dom/SVGColor.cc: Added.
1869         * ksvg2/dom/SVGColor.h: Added.
1870         * ksvg2/dom/SVGComponentTransferFunctionElement.cc: Added.
1871         * ksvg2/dom/SVGComponentTransferFunctionElement.h: Added.
1872         * ksvg2/dom/SVGDOMImplementation.cc: Added.
1873         * ksvg2/dom/SVGDOMImplementation.h: Added.
1874         * ksvg2/dom/SVGDefsElement.cc: Added.
1875         * ksvg2/dom/SVGDefsElement.h: Added.
1876         * ksvg2/dom/SVGDescElement.cc: Added.
1877         * ksvg2/dom/SVGDescElement.h: Added.
1878         * ksvg2/dom/SVGDocument.cc: Added.
1879         * ksvg2/dom/SVGDocument.h: Added.
1880         * ksvg2/dom/SVGElement.cc: Added.
1881         * ksvg2/dom/SVGElement.h: Added.
1882         * ksvg2/dom/SVGElementInstance.cc: Added.
1883         * ksvg2/dom/SVGElementInstance.h: Added.
1884         * ksvg2/dom/SVGElementInstanceList.cc: Added.
1885         * ksvg2/dom/SVGElementInstanceList.h: Added.
1886         * ksvg2/dom/SVGEllipseElement.cc: Added.
1887         * ksvg2/dom/SVGEllipseElement.h: Added.
1888         * ksvg2/dom/SVGException.cc: Added.
1889         * ksvg2/dom/SVGException.h: Added.
1890         * ksvg2/dom/SVGExternalResourcesRequired.cc: Added.
1891         * ksvg2/dom/SVGExternalResourcesRequired.h: Added.
1892         * ksvg2/dom/SVGFEBlendElement.cc: Added.
1893         * ksvg2/dom/SVGFEBlendElement.h: Added.
1894         * ksvg2/dom/SVGFEColorMatrixElement.cc: Added.
1895         * ksvg2/dom/SVGFEColorMatrixElement.h: Added.
1896         * ksvg2/dom/SVGFEComponentTransferElement.cc: Added.
1897         * ksvg2/dom/SVGFEComponentTransferElement.h: Added.
1898         * ksvg2/dom/SVGFECompositeElement.cc: Added.
1899         * ksvg2/dom/SVGFECompositeElement.h: Added.
1900         * ksvg2/dom/SVGFEFloodElement.cc: Added.
1901         * ksvg2/dom/SVGFEFloodElement.h: Added.
1902         * ksvg2/dom/SVGFEFuncAElement.cc: Added.
1903         * ksvg2/dom/SVGFEFuncAElement.h: Added.
1904         * ksvg2/dom/SVGFEFuncBElement.cc: Added.
1905         * ksvg2/dom/SVGFEFuncBElement.h: Added.
1906         * ksvg2/dom/SVGFEFuncGElement.cc: Added.
1907         * ksvg2/dom/SVGFEFuncGElement.h: Added.
1908         * ksvg2/dom/SVGFEFuncRElement.cc: Added.
1909         * ksvg2/dom/SVGFEFuncRElement.h: Added.
1910         * ksvg2/dom/SVGFEGaussianBlurElement.cc: Added.
1911         * ksvg2/dom/SVGFEGaussianBlurElement.h: Added.
1912         * ksvg2/dom/SVGFEImageElement.cc: Added.
1913         * ksvg2/dom/SVGFEImageElement.h: Added.
1914         * ksvg2/dom/SVGFEMergeElement.cc: Added.
1915         * ksvg2/dom/SVGFEMergeElement.h: Added.
1916         * ksvg2/dom/SVGFEMergeNodeElement.cc: Added.
1917         * ksvg2/dom/SVGFEMergeNodeElement.h: Added.
1918         * ksvg2/dom/SVGFEOffsetElement.cc: Added.
1919         * ksvg2/dom/SVGFEOffsetElement.h: Added.
1920         * ksvg2/dom/SVGFETileElement.cc: Added.
1921         * ksvg2/dom/SVGFETileElement.h: Added.
1922         * ksvg2/dom/SVGFETurbulenceElement.cc: Added.
1923         * ksvg2/dom/SVGFETurbulenceElement.h: Added.
1924         * ksvg2/dom/SVGFilterElement.cc: Added.
1925         * ksvg2/dom/SVGFilterElement.h: Added.
1926         * ksvg2/dom/SVGFilterPrimitiveStandardAttributes.cc: Added.
1927         * ksvg2/dom/SVGFilterPrimitiveStandardAttributes.h: Added.
1928         * ksvg2/dom/SVGFitToViewBox.cc: Added.
1929         * ksvg2/dom/SVGFitToViewBox.h: Added.
1930         * ksvg2/dom/SVGGElement.cc: Added.
1931         * ksvg2/dom/SVGGElement.h: Added.
1932         * ksvg2/dom/SVGGradientElement.cc: Added.
1933         * ksvg2/dom/SVGGradientElement.h: Added.
1934         * ksvg2/dom/SVGImageElement.cc: Added.
1935         * ksvg2/dom/SVGImageElement.h: Added.
1936         * ksvg2/dom/SVGLangSpace.cc: Added.
1937         * ksvg2/dom/SVGLangSpace.h: Added.
1938         * ksvg2/dom/SVGLength.cc: Added.
1939         * ksvg2/dom/SVGLength.h: Added.
1940         * ksvg2/dom/SVGLengthList.cc: Added.
1941         * ksvg2/dom/SVGLengthList.h: Added.
1942         * ksvg2/dom/SVGLineElement.cc: Added.
1943         * ksvg2/dom/SVGLineElement.h: Added.
1944         * ksvg2/dom/SVGLinearGradientElement.cc: Added.
1945         * ksvg2/dom/SVGLinearGradientElement.h: Added.
1946         * ksvg2/dom/SVGLocatable.cc: Added.
1947         * ksvg2/dom/SVGLocatable.h: Added.
1948         * ksvg2/dom/SVGMarkerElement.cc: Added.
1949         * ksvg2/dom/SVGMarkerElement.h: Added.
1950         * ksvg2/dom/SVGMatrix.cc: Added.
1951         * ksvg2/dom/SVGMatrix.h: Added.
1952         * ksvg2/dom/SVGNumber.cc: Added.
1953         * ksvg2/dom/SVGNumber.h: Added.
1954         * ksvg2/dom/SVGNumberList.cc: Added.
1955         * ksvg2/dom/SVGNumberList.h: Added.
1956         * ksvg2/dom/SVGPaint.cc: Added.
1957         * ksvg2/dom/SVGPaint.h: Added.
1958         * ksvg2/dom/SVGPathElement.cc: Added.
1959         * ksvg2/dom/SVGPathElement.h: Added.
1960         * ksvg2/dom/SVGPathSeg.cc: Added.
1961         * ksvg2/dom/SVGPathSeg.h: Added.
1962         * ksvg2/dom/SVGPathSegArc.cc: Added.
1963         * ksvg2/dom/SVGPathSegArc.h: Added.
1964         * ksvg2/dom/SVGPathSegClosePath.cc: Added.
1965         * ksvg2/dom/SVGPathSegClosePath.h: Added.
1966         * ksvg2/dom/SVGPathSegCurvetoCubic.cc: Added.
1967         * ksvg2/dom/SVGPathSegCurvetoCubic.h: Added.
1968         * ksvg2/dom/SVGPathSegCurvetoCubicSmooth.cc: Added.
1969         * ksvg2/dom/SVGPathSegCurvetoCubicSmooth.h: Added.
1970         * ksvg2/dom/SVGPathSegCurvetoQuadratic.cc: Added.
1971         * ksvg2/dom/SVGPathSegCurvetoQuadratic.h: Added.
1972         * ksvg2/dom/SVGPathSegCurvetoQuadraticSmooth.cc: Added.
1973         * ksvg2/dom/SVGPathSegCurvetoQuadraticSmooth.h: Added.
1974         * ksvg2/dom/SVGPathSegLineto.cc: Added.
1975         * ksvg2/dom/SVGPathSegLineto.h: Added.
1976         * ksvg2/dom/SVGPathSegLinetoHorizontal.cc: Added.
1977         * ksvg2/dom/SVGPathSegLinetoHorizontal.h: Added.
1978         * ksvg2/dom/SVGPathSegLinetoVertical.cc: Added.
1979         * ksvg2/dom/SVGPathSegLinetoVertical.h: Added.
1980         * ksvg2/dom/SVGPathSegList.cc: Added.
1981         * ksvg2/dom/SVGPathSegList.h: Added.
1982         * ksvg2/dom/SVGPathSegMoveto.cc: Added.
1983         * ksvg2/dom/SVGPathSegMoveto.h: Added.
1984         * ksvg2/dom/SVGPatternElement.cc: Added.
1985         * ksvg2/dom/SVGPatternElement.h: Added.
1986         * ksvg2/dom/SVGPoint.cc: Added.
1987         * ksvg2/dom/SVGPoint.h: Added.
1988         * ksvg2/dom/SVGPointList.cc: Added.
1989         * ksvg2/dom/SVGPointList.h: Added.
1990         * ksvg2/dom/SVGPolygonElement.cc: Added.
1991         * ksvg2/dom/SVGPolygonElement.h: Added.
1992         * ksvg2/dom/SVGPolylineElement.cc: Added.
1993         * ksvg2/dom/SVGPolylineElement.h: Added.
1994         * ksvg2/dom/SVGPreserveAspectRatio.cc: Added.
1995         * ksvg2/dom/SVGPreserveAspectRatio.h: Added.
1996         * ksvg2/dom/SVGRadialGradientElement.cc: Added.
1997         * ksvg2/dom/SVGRadialGradientElement.h: Added.
1998         * ksvg2/dom/SVGRect.cc: Added.
1999         * ksvg2/dom/SVGRect.h: Added.
2000         * ksvg2/dom/SVGRectElement.cc: Added.
2001         * ksvg2/dom/SVGRectElement.h: Added.
2002         * ksvg2/dom/SVGSVGElement.cc: Added.
2003         * ksvg2/dom/SVGSVGElement.h: Added.
2004         * ksvg2/dom/SVGScriptElement.cc: Added.
2005         * ksvg2/dom/SVGScriptElement.h: Added.
2006         * ksvg2/dom/SVGSetElement.cc: Added.
2007         * ksvg2/dom/SVGSetElement.h: Added.
2008         * ksvg2/dom/SVGStopElement.cc: Added.
2009         * ksvg2/dom/SVGStopElement.h: Added.
2010         * ksvg2/dom/SVGStringList.cc: Added.
2011         * ksvg2/dom/SVGStringList.h: Added.
2012         * ksvg2/dom/SVGStylable.cc: Added.
2013         * ksvg2/dom/SVGStylable.h: Added.
2014         * ksvg2/dom/SVGStyleElement.cc: Added.
2015         * ksvg2/dom/SVGStyleElement.h: Added.
2016         * ksvg2/dom/SVGSwitchElement.cc: Added.
2017         * ksvg2/dom/SVGSwitchElement.h: Added.
2018         * ksvg2/dom/SVGSymbolElement.cc: Added.
2019         * ksvg2/dom/SVGSymbolElement.h: Added.
2020         * ksvg2/dom/SVGTSpanElement.cc: Added.
2021         * ksvg2/dom/SVGTSpanElement.h: Added.
2022         * ksvg2/dom/SVGTests.cc: Added.
2023         * ksvg2/dom/SVGTests.h: Added.
2024         * ksvg2/dom/SVGTextContentElement.cc: Added.
2025         * ksvg2/dom/SVGTextContentElement.h: Added.
2026         * ksvg2/dom/SVGTextElement.cc: Added.
2027         * ksvg2/dom/SVGTextElement.h: Added.
2028         * ksvg2/dom/SVGTextPositioningElement.cc: Added.
2029         * ksvg2/dom/SVGTextPositioningElement.h: Added.
2030         * ksvg2/dom/SVGTitleElement.cc: Added.
2031         * ksvg2/dom/SVGTitleElement.h: Added.
2032         * ksvg2/dom/SVGTransform.cc: Added.
2033         * ksvg2/dom/SVGTransform.h: Added.
2034         * ksvg2/dom/SVGTransformList.cc: Added.
2035         * ksvg2/dom/SVGTransformList.h: Added.
2036         * ksvg2/dom/SVGTransformable.cc: Added.
2037         * ksvg2/dom/SVGTransformable.h: Added.
2038         * ksvg2/dom/SVGURIReference.cc: Added.
2039         * ksvg2/dom/SVGURIReference.h: Added.
2040         * ksvg2/dom/SVGUseElement.cc: Added.
2041         * ksvg2/dom/SVGUseElement.h: Added.
2042         * ksvg2/dom/SVGViewElement.cc: Added.
2043         * ksvg2/dom/SVGViewElement.h: Added.
2044         * ksvg2/dom/SVGZoomAndPan.cc: Added.
2045         * ksvg2/dom/SVGZoomAndPan.h: Added.
2046         * ksvg2/ecma/Constructors.cc: Added.
2047         * ksvg2/ecma/Constructors.h: Added.
2048         * ksvg2/ecma/Ecma.cc: Added.
2049         * ksvg2/ecma/Ecma.h: Added.
2050         * ksvg2/ecma/EcmaInterface.h: Added.
2051         * ksvg2/ecma/GlobalObject.cc: Added.
2052         * ksvg2/ecma/GlobalObject.h: Added.
2053         * ksvg2/ecma/SVGLookup.h: Added.
2054         * ksvg2/events/SVGEvent.cc: Added.
2055         * ksvg2/events/SVGEvent.h: Added.
2056         * ksvg2/events/SVGZoomEvent.cc: Added.
2057         * ksvg2/events/SVGZoomEvent.h: Added.
2058         * ksvg2/events/impl/SVGEventImpl.cc: Added.
2059         * ksvg2/events/impl/SVGEventImpl.h: Added.
2060         * ksvg2/events/impl/SVGZoomEventImpl.cc: Added.
2061         * ksvg2/events/impl/SVGZoomEventImpl.h: Added.
2062         * ksvg2/events/ksvgevents.h: Added.
2063         * ksvg2/impl/CDFInterface.cc: Added.
2064         * ksvg2/impl/CDFInterface.h: Added.
2065         * ksvg2/impl/SVGAElementImpl.cc: Added.
2066         * ksvg2/impl/SVGAElementImpl.h: Added.
2067         * ksvg2/impl/SVGAngleImpl.cc: Added.
2068         * ksvg2/impl/SVGAngleImpl.h: Added.
2069         * ksvg2/impl/SVGAnimateColorElementImpl.cc: Added.
2070         * ksvg2/impl/SVGAnimateColorElementImpl.h: Added.
2071         * ksvg2/impl/SVGAnimateElementImpl.cc: Added.
2072         * ksvg2/impl/SVGAnimateElementImpl.h: Added.
2073         * ksvg2/impl/SVGAnimateTransformElementImpl.cc: Added.
2074         * ksvg2/impl/SVGAnimateTransformElementImpl.h: Added.
2075         * ksvg2/impl/SVGAnimatedAngleImpl.cc: Added.
2076         * ksvg2/impl/SVGAnimatedAngleImpl.h: Added.
2077         * ksvg2/impl/SVGAnimatedBooleanImpl.cc: Added.
2078         * ksvg2/impl/SVGAnimatedBooleanImpl.h: Added.
2079         * ksvg2/impl/SVGAnimatedEnumerationImpl.cc: Added.
2080         * ksvg2/impl/SVGAnimatedEnumerationImpl.h: Added.
2081         * ksvg2/impl/SVGAnimatedIntegerImpl.cc: Added.
2082         * ksvg2/impl/SVGAnimatedIntegerImpl.h: Added.
2083         * ksvg2/impl/SVGAnimatedLengthImpl.cc: Added.
2084         * ksvg2/impl/SVGAnimatedLengthImpl.h: Added.
2085         * ksvg2/impl/SVGAnimatedLengthListImpl.cc: Added.
2086         * ksvg2/impl/SVGAnimatedLengthListImpl.h: Added.
2087         * ksvg2/impl/SVGAnimatedNumberImpl.cc: Added.
2088         * ksvg2/impl/SVGAnimatedNumberImpl.h: Added.
2089         * ksvg2/impl/SVGAnimatedNumberListImpl.cc: Added.
2090         * ksvg2/impl/SVGAnimatedNumberListImpl.h: Added.
2091         * ksvg2/impl/SVGAnimatedPathDataImpl.cc: Added.
2092         * ksvg2/impl/SVGAnimatedPathDataImpl.h: Added.
2093         * ksvg2/impl/SVGAnimatedPointsImpl.cc: Added.
2094         * ksvg2/impl/SVGAnimatedPointsImpl.h: Added.
2095         * ksvg2/impl/SVGAnimatedPreserveAspectRatioImpl.cc: Added.
2096         * ksvg2/impl/SVGAnimatedPreserveAspectRatioImpl.h: Added.
2097         * ksvg2/impl/SVGAnimatedRectImpl.cc: Added.
2098         * ksvg2/impl/SVGAnimatedRectImpl.h: Added.
2099         * ksvg2/impl/SVGAnimatedStringImpl.cc: Added.
2100         * ksvg2/impl/SVGAnimatedStringImpl.h: Added.
2101         * ksvg2/impl/SVGAnimatedTemplate.h: Added.
2102         * ksvg2/impl/SVGAnimatedTransformListImpl.cc: Added.
2103         * ksvg2/impl/SVGAnimatedTransformListImpl.h: Added.
2104         * ksvg2/impl/SVGAnimationElementImpl.cc: Added.
2105         * ksvg2/impl/SVGAnimationElementImpl.h: Added.
2106         * ksvg2/impl/SVGCircleElementImpl.cc: Added.
2107         * ksvg2/impl/SVGCircleElementImpl.h: Added.
2108         * ksvg2/impl/SVGClipPathElementImpl.cc: Added.
2109         * ksvg2/impl/SVGClipPathElementImpl.h: Added.
2110         * ksvg2/impl/SVGColorImpl.cc: Added.
2111         * ksvg2/impl/SVGColorImpl.h: Added.
2112         * ksvg2/impl/SVGComponentTransferFunctionElementImpl.cc: Added.
2113         * ksvg2/impl/SVGComponentTransferFunctionElementImpl.h: Added.
2114         * ksvg2/impl/SVGDOMImplementationImpl.cc: Added.
2115         * ksvg2/impl/SVGDOMImplementationImpl.h: Added.
2116         * ksvg2/impl/SVGDefsElementImpl.cc: Added.
2117         * ksvg2/impl/SVGDefsElementImpl.h: Added.
2118         * ksvg2/impl/SVGDescElementImpl.cc: Added.
2119         * ksvg2/impl/SVGDescElementImpl.h: Added.
2120         * ksvg2/impl/SVGDocumentImpl.cc: Added.
2121         * ksvg2/impl/SVGDocumentImpl.h: Added.
2122         * ksvg2/impl/SVGElementImpl.cc: Added.
2123         * ksvg2/impl/SVGElementImpl.h: Added.
2124         * ksvg2/impl/SVGElementInstanceImpl.cc: Added.
2125         * ksvg2/impl/SVGElementInstanceImpl.h: Added.
2126         * ksvg2/impl/SVGElementInstanceListImpl.cc: Added.
2127         * ksvg2/impl/SVGElementInstanceListImpl.h: Added.
2128         * ksvg2/impl/SVGEllipseElementImpl.cc: Added.
2129         * ksvg2/impl/SVGEllipseElementImpl.h: Added.
2130         * ksvg2/impl/SVGExceptionImpl.cc: Added.
2131         * ksvg2/impl/SVGExceptionImpl.h: Added.
2132         * ksvg2/impl/SVGExternalResourcesRequiredImpl.cc: Added.
2133         * ksvg2/impl/SVGExternalResourcesRequiredImpl.h: Added.
2134         * ksvg2/impl/SVGFEBlendElementImpl.cc: Added.
2135         * ksvg2/impl/SVGFEBlendElementImpl.h: Added.
2136         * ksvg2/impl/SVGFEColorMatrixElementImpl.cc: Added.
2137         * ksvg2/impl/SVGFEColorMatrixElementImpl.h: Added.
2138         * ksvg2/impl/SVGFEComponentTransferElementImpl.cc: Added.
2139         * ksvg2/impl/SVGFEComponentTransferElementImpl.h: Added.
2140         * ksvg2/impl/SVGFECompositeElementImpl.cc: Added.
2141         * ksvg2/impl/SVGFECompositeElementImpl.h: Added.
2142         * ksvg2/impl/SVGFEFloodElementImpl.cc: Added.
2143         * ksvg2/impl/SVGFEFloodElementImpl.h: Added.
2144         * ksvg2/impl/SVGFEFuncAElementImpl.cc: Added.
2145         * ksvg2/impl/SVGFEFuncAElementImpl.h: Added.
2146         * ksvg2/impl/SVGFEFuncBElementImpl.cc: Added.
2147         * ksvg2/impl/SVGFEFuncBElementImpl.h: Added.
2148         * ksvg2/impl/SVGFEFuncGElementImpl.cc: Added.
2149         * ksvg2/impl/SVGFEFuncGElementImpl.h: Added.
2150         * ksvg2/impl/SVGFEFuncRElementImpl.cc: Added.
2151         * ksvg2/impl/SVGFEFuncRElementImpl.h: Added.
2152         * ksvg2/impl/SVGFEGaussianBlurElementImpl.cc: Added.
2153         * ksvg2/impl/SVGFEGaussianBlurElementImpl.h: Added.
2154         * ksvg2/impl/SVGFEImageElementImpl.cc: Added.
2155         * ksvg2/impl/SVGFEImageElementImpl.h: Added.
2156         * ksvg2/impl/SVGFEMergeElementImpl.cc: Added.
2157         * ksvg2/impl/SVGFEMergeElementImpl.h: Added.
2158         * ksvg2/impl/SVGFEMergeNodeElementImpl.cc: Added.
2159         * ksvg2/impl/SVGFEMergeNodeElementImpl.h: Added.
2160         * ksvg2/impl/SVGFEOffsetElementImpl.cc: Added.
2161         * ksvg2/impl/SVGFEOffsetElementImpl.h: Added.
2162         * ksvg2/impl/SVGFETileElementImpl.cc: Added.
2163         * ksvg2/impl/SVGFETileElementImpl.h: Added.
2164         * ksvg2/impl/SVGFETurbulenceElementImpl.cc: Added.
2165         * ksvg2/impl/SVGFETurbulenceElementImpl.h: Added.
2166         * ksvg2/impl/SVGFilterElementImpl.cc: Added.
2167         * ksvg2/impl/SVGFilterElementImpl.h: Added.
2168         * ksvg2/impl/SVGFilterPrimitiveStandardAttributesImpl.cc: Added.
2169         * ksvg2/impl/SVGFilterPrimitiveStandardAttributesImpl.h: Added.
2170         * ksvg2/impl/SVGFitToViewBoxImpl.cc: Added.
2171         * ksvg2/impl/SVGFitToViewBoxImpl.h: Added.
2172         * ksvg2/impl/SVGGElementImpl.cc: Added.
2173         * ksvg2/impl/SVGGElementImpl.h: Added.
2174         * ksvg2/impl/SVGGradientElementImpl.cc: Added.
2175         * ksvg2/impl/SVGGradientElementImpl.h: Added.
2176         * ksvg2/impl/SVGHelper.cc: Added.
2177         * ksvg2/impl/SVGHelper.h: Added.
2178         * ksvg2/impl/SVGImageElementImpl.cc: Added.
2179         * ksvg2/impl/SVGImageElementImpl.h: Added.
2180         * ksvg2/impl/SVGLangSpaceImpl.cc: Added.
2181         * ksvg2/impl/SVGLangSpaceImpl.h: Added.
2182         * ksvg2/impl/SVGLengthImpl.cc: Added.
2183         * ksvg2/impl/SVGLengthImpl.h: Added.
2184         * ksvg2/impl/SVGLengthListImpl.cc: Added.
2185         * ksvg2/impl/SVGLengthListImpl.h: Added.
2186         * ksvg2/impl/SVGLineElementImpl.cc: Added.
2187         * ksvg2/impl/SVGLineElementImpl.h: Added.
2188         * ksvg2/impl/SVGLinearGradientElementImpl.cc: Added.
2189         * ksvg2/impl/SVGLinearGradientElementImpl.h: Added.
2190         * ksvg2/impl/SVGList.h: Added.
2191         * ksvg2/impl/SVGLocatableImpl.cc: Added.
2192         * ksvg2/impl/SVGLocatableImpl.h: Added.
2193         * ksvg2/impl/SVGMarkerElementImpl.cc: Added.
2194         * ksvg2/impl/SVGMarkerElementImpl.h: Added.
2195         * ksvg2/impl/SVGMatrixImpl.cc: Added.
2196         * ksvg2/impl/SVGMatrixImpl.h: Added.
2197         * ksvg2/impl/SVGNumberImpl.cc: Added.
2198         * ksvg2/impl/SVGNumberImpl.h: Added.
2199         * ksvg2/impl/SVGNumberListImpl.cc: Added.
2200         * ksvg2/impl/SVGNumberListImpl.h: Added.
2201         * ksvg2/impl/SVGPaintImpl.cc: Added.
2202         * ksvg2/impl/SVGPaintImpl.h: Added.
2203         * ksvg2/impl/SVGPathElementImpl.cc: Added.
2204         * ksvg2/impl/SVGPathElementImpl.h: Added.
2205         * ksvg2/impl/SVGPathSegArcImpl.cc: Added.
2206         * ksvg2/impl/SVGPathSegArcImpl.h: Added.
2207         * ksvg2/impl/SVGPathSegClosePathImpl.cc: Added.
2208         * ksvg2/impl/SVGPathSegClosePathImpl.h: Added.
2209         * ksvg2/impl/SVGPathSegCurvetoCubicImpl.cc: Added.
2210         * ksvg2/impl/SVGPathSegCurvetoCubicImpl.h: Added.
2211         * ksvg2/impl/SVGPathSegCurvetoCubicSmoothImpl.cc: Added.
2212         * ksvg2/impl/SVGPathSegCurvetoCubicSmoothImpl.h: Added.
2213         * ksvg2/impl/SVGPathSegCurvetoQuadraticImpl.cc: Added.
2214         * ksvg2/impl/SVGPathSegCurvetoQuadraticImpl.h: Added.
2215         * ksvg2/impl/SVGPathSegCurvetoQuadraticSmoothImpl.cc: Added.
2216         * ksvg2/impl/SVGPathSegCurvetoQuadraticSmoothImpl.h: Added.
2217         * ksvg2/impl/SVGPathSegImpl.cc: Added.
2218         * ksvg2/impl/SVGPathSegImpl.h: Added.
2219         * ksvg2/impl/SVGPathSegLinetoHorizontalImpl.cc: Added.
2220         * ksvg2/impl/SVGPathSegLinetoHorizontalImpl.h: Added.
2221         * ksvg2/impl/SVGPathSegLinetoImpl.cc: Added.
2222         * ksvg2/impl/SVGPathSegLinetoImpl.h: Added.
2223         * ksvg2/impl/SVGPathSegLinetoVerticalImpl.cc: Added.
2224         * ksvg2/impl/SVGPathSegLinetoVerticalImpl.h: Added.
2225         * ksvg2/impl/SVGPathSegListImpl.cc: Added.
2226         * ksvg2/impl/SVGPathSegListImpl.h: Added.
2227         * ksvg2/impl/SVGPathSegMovetoImpl.cc: Added.
2228         * ksvg2/impl/SVGPathSegMovetoImpl.h: Added.
2229         * ksvg2/impl/SVGPatternElementImpl.cc: Added.
2230         * ksvg2/impl/SVGPatternElementImpl.h: Added.
2231         * ksvg2/impl/SVGPointImpl.cc: Added.
2232         * ksvg2/impl/SVGPointImpl.h: Added.
2233         * ksvg2/impl/SVGPointListImpl.cc: Added.
2234         * ksvg2/impl/SVGPointListImpl.h: Added.
2235         * ksvg2/impl/SVGPolyElementImpl.cc: Added.
2236         * ksvg2/impl/SVGPolyElementImpl.h: Added.
2237         * ksvg2/impl/SVGPolygonElementImpl.cc: Added.
2238         * ksvg2/impl/SVGPolygonElementImpl.h: Added.
2239         * ksvg2/impl/SVGPolylineElementImpl.cc: Added.
2240         * ksvg2/impl/SVGPolylineElementImpl.h: Added.
2241         * ksvg2/impl/SVGPreserveAspectRatioImpl.cc: Added.
2242         * ksvg2/impl/SVGPreserveAspectRatioImpl.h: Added.
2243         * ksvg2/impl/SVGRadialGradientElementImpl.cc: Added.
2244         * ksvg2/impl/SVGRadialGradientElementImpl.h: Added.
2245         * ksvg2/impl/SVGRectElementImpl.cc: Added.
2246         * ksvg2/impl/SVGRectElementImpl.h: Added.
2247         * ksvg2/impl/SVGRectImpl.cc: Added.
2248         * ksvg2/impl/SVGRectImpl.h: Added.
2249         * ksvg2/impl/SVGSVGElementImpl.cc: Added.
2250         * ksvg2/impl/SVGSVGElementImpl.h: Added.
2251         * ksvg2/impl/SVGScriptElementImpl.cc: Added.
2252         * ksvg2/impl/SVGScriptElementImpl.h: Added.
2253         * ksvg2/impl/SVGSetElementImpl.cc: Added.
2254         * ksvg2/impl/SVGSetElementImpl.h: Added.
2255         * ksvg2/impl/SVGStopElementImpl.cc: Added.
2256         * ksvg2/impl/SVGStopElementImpl.h: Added.
2257         * ksvg2/impl/SVGStringListImpl.cc: Added.
2258         * ksvg2/impl/SVGStringListImpl.h: Added.
2259         * ksvg2/impl/SVGStylableImpl.cc: Added.
2260         * ksvg2/impl/SVGStylableImpl.h: Added.
2261         * ksvg2/impl/SVGStyleElementImpl.cc: Added.
2262         * ksvg2/impl/SVGStyleElementImpl.h: Added.
2263         * ksvg2/impl/SVGStyledElementImpl.cc: Added.
2264         * ksvg2/impl/SVGStyledElementImpl.h: Added.
2265         * ksvg2/impl/SVGSwitchElementImpl.cc: Added.
2266         * ksvg2/impl/SVGSwitchElementImpl.h: Added.
2267         * ksvg2/impl/SVGSymbolElementImpl.cc: Added.
2268         * ksvg2/impl/SVGSymbolElementImpl.h: Added.
2269         * ksvg2/impl/SVGTSpanElementImpl.cc: Added.
2270         * ksvg2/impl/SVGTSpanElementImpl.h: Added.
2271         * ksvg2/impl/SVGTestsImpl.cc: Added.
2272         * ksvg2/impl/SVGTestsImpl.h: Added.
2273         * ksvg2/impl/SVGTextContentElementImpl.cc: Added.
2274         * ksvg2/impl/SVGTextContentElementImpl.h: Added.
2275         * ksvg2/impl/SVGTextElementImpl.cc: Added.
2276         * ksvg2/impl/SVGTextElementImpl.h: Added.
2277         * ksvg2/impl/SVGTextPositioningElementImpl.cc: Added.
2278         * ksvg2/impl/SVGTextPositioningElementImpl.h: Added.
2279         * ksvg2/impl/SVGTitleElementImpl.cc: Added.
2280         * ksvg2/impl/SVGTitleElementImpl.h: Added.
2281         * ksvg2/impl/SVGTransformImpl.cc: Added.
2282         * ksvg2/impl/SVGTransformImpl.h: Added.
2283         * ksvg2/impl/SVGTransformListImpl.cc: Added.
2284         * ksvg2/impl/SVGTransformListImpl.h: Added.
2285         * ksvg2/impl/SVGTransformableImpl.cc: Added.
2286         * ksvg2/impl/SVGTransformableImpl.h: Added.
2287         * ksvg2/impl/SVGURIReferenceImpl.cc: Added.
2288         * ksvg2/impl/SVGURIReferenceImpl.h: Added.
2289         * ksvg2/impl/SVGUseElementImpl.cc: Added.
2290         * ksvg2/impl/SVGUseElementImpl.h: Added.
2291         * ksvg2/impl/SVGViewElementImpl.cc: Added.
2292         * ksvg2/impl/SVGViewElementImpl.h: Added.
2293         * ksvg2/impl/SVGZoomAndPanImpl.cc: Added.
2294         * ksvg2/impl/SVGZoomAndPanImpl.h: Added.
2295         * ksvg2/impl/svgattrs.c: Added.
2296         * ksvg2/impl/svgattrs.h: Added.
2297         * ksvg2/impl/svgattrs.in: Added.
2298         * ksvg2/impl/svgpathparser.cc: Added.
2299         * ksvg2/impl/svgpathparser.h: Added.
2300         * ksvg2/impl/svgtags.c: Added.
2301         * ksvg2/impl/svgtags.h: Added.
2302         * ksvg2/impl/svgtags.in: Added.
2303         * ksvg2/ksvg.h: Added.
2304         * ksvg2/scripts/generate.pl: Added.
2305         * ksvg2/scripts/kalyptusKDOMEcma.pm: Added.
2306         * ksvg2/scripts/ksvgstatus.xsl: Added.
2307         * ksvg2/scripts/regressiontest.sh: Added.
2308         * ksvg2/scripts/regressiontestsetup.sh: Added.
2309         * ksvg2/scripts/svg.idl: Added.
2310         Several things to mention here:
2311         1.  Function names were stripped out of the ChangeLog for brevity.
2312         2.  Several files (like the c++ DOM) are only in here temporarily.
2313         3.  Several files (like kdom/catalog) were left out of CVS as they
2314         do not currently work in our kdom port.  Those may or may not be
2315         added in the future.
2316         4.  Notes re: the WebCore+SVG target
2317           - APPLE_COMPILE_HACK is a temporary addition for compiling
2318           - None of the SVG or KDOM files are compiled in "WebCore" by default.
2319           - Compiling WebCore+SVG requires compiling JavaScriptCore+SVG
2320             to enable RTTI support in JavaScriptCore.
2321
2322 2005-07-08  Eric Seidel  <eseidel@apple.com>
2323
2324         Reviewed by mjs.
2325
2326         * kwq/KWQRegExp.h: Added cap() support.
2327         * kwq/KWQRegExp.mm: Added cap() support.
2328         (QRegExp::match): Changes necessary for cap()
2329         (QRegExp::cap): based off of JSC's pcre support.
2330         http://bugzilla.opendarwin.org/show_bug.cgi?id=3847
2331
2332 2005-07-08  Geoffrey Garen  <ggaren@apple.com>
2333
2334         Rolled in layout test for fix to 
2335         http://bugzilla.opendarwin.org/show_bug.cgi?id=3818
2336         Fallback font doesn't have requested weight in ATSUI-rendered text
2337
2338         Reviewed by mjs.
2339
2340         Test cases added:
2341         * layout-tests/fast/text/international/bidi-fallback-font-weight-expected.txt: Added.
2342         * layout-tests/fast/text/international/bidi-fallback-font-weight.html: Added.
2343
2344 2005-07-08  Beth Dakin  <bdakin@apple.com>
2345
2346         Reviewed by John.
2347
2348         This is a fix for half of <rdar://problem/4172312>
2349         Because marquee is a WinIE element, we are honoring their treatment of the height attribute by making sure it is overriden when its value is given to be smaller than the font height.
2350
2351         Test cases added: fast/css/MarqueeLayoutTest.html
2352
2353         * khtml/html/html_blockimpl.cpp:
2354         (HTMLMarqueeElementImpl::mapToEntry): set result to eMarquee instead of eUniversal for height attribute
2355         (HTMLMarqueeElementImpl::parseMappedAttribute): changed to minheight instead of just height
2356         * khtml/xml/dom_elementimpl.h: added eMarquee hash key
2357         (QScrollView::suppressScrollBars):
2358         * layout-tests/fast/css/MarqueeLayoutTest-expected.txt: Added.
2359         * layout-tests/fast/css/MarqueeLayoutTest.html: Added.
2360        
2361 2005-07-08  Vicki Murley  <vicki@apple.com>
2362
2363         Fix from Carsten Guenther, reviewed by Maciej
2364
2365         - update test cases for JavaScriptCore fix 
2366         http://bugzilla.opendarwin.org/show_bug.cgi?id=3644 
2367
2368         * layout-tests/fast/dom/outerText-no-element-expected.txt:
2369         * layout-tests/fast/dynamic/outerHTML-no-element-expected.txt:
2370         * layout-tests/fast/js/array-every-expected.txt:
2371         * layout-tests/fast/js/array-foreach-expected.txt:
2372         * layout-tests/fast/js/array-some-expected.txt:
2373         * layout-tests/fast/js/toString-stack-overflow-expected.txt:
2374
2375 2005-07-08  Vicki Murley <vicki@apple.com>
2376
2377         - fixed by Trey Matteson <trey@usa.net>, reviewed by Maciej.
2378
2379         Test cases added: (NONE)
2380
2381         <rdar://problem/4109893> REGRESSION: back/forward broken at wsj.com, worked in v185
2382         Also written as http://bugzilla.opendarwin.org/show_bug.cgi?id=3901
2383  
2384         Broken by security fix for 4005575: Arbitrary file disclosure vulnerability due to ability to load local html from remote content
2385  
2386         The root of this bug is that URLs for subframes of a page are sometimes added to the back/forward list.  This happens a lot at
2387         wsj.com, and I believe it would happen for many or all sites that use JS to cons up a URL for an iframe and then load it.
2388  
2389         The security fix changed the code path to go through openURLRequest, but only openURL had the logic to guess if
2390         the current navigation was done in response to a user gesture.  openURLRequest always assumed it was a user gesture,
2391         and thus all uses of this code path would place an item in the b/f list.
2392
2393         * kwq/KWQKHTMLPart.h:
2394         * kwq/KWQKHTMLPart.mm:
2395         (KWQKHTMLPart::userGestureHint):  Factored code from openURL.
2396         (KWQKHTMLPart::openURL):  Call newly factored code.
2397         (KWQKHTMLPart::openURLRequest):  Newly call newly factored code.
2398
2399 2005-07-07  Maciej Stachowiak  <mjs@apple.com>
2400
2401         - oops, accidentally committed stat dumping enabled
2402
2403         * khtml/misc/hashtable.h:
2404
2405 2005-07-07  Maciej Stachowiak  <mjs@apple.com>
2406
2407         Reviewed by hyatt.
2408
2409         - sped up DOMStringImpl * equality comparisons.
2410
2411         * khtml/misc/hashfunctions.h:
2412         (khtml::):
2413         * khtml/misc/hashtable.h:
2414         * khtml/xml/dom_atomicstring.cpp:
2415         (DOM::equal):
2416
2417 2005-07-07  Adele Peterson  <adele@apple.com>
2418
2419         change by Maciej, reviewed by me.
2420
2421         fix for <rdar://problem/4168001> Cambridge 8C45: Safari crashes in Webcore (DOM::NodeImpl::removeAllEventListeners() + 32)
2422
2423         No test cases added.  There are some edge cases in which removeAllDisconnectedNodeEventListeners can get 
2424         called twice for the same document, and this can cause some nodes to unnecessarily remain in the 
2425         m_disconnectedNodesWithEventListeners list.  This fix just clears the m_disconnectedNodesWithEventListeners 
2426         list after removing all event listeners for the disconnected nodes.
2427
2428         * khtml/xml/dom_docimpl.cpp: (DocumentImpl::removeAllDisconnectedNodeEventListeners):
2429
2430 2005-07-07  Geoffrey Garen  <ggaren@apple.com>
2431
2432         Reviewed by sullivan.
2433
2434         Test cases added: (NONE)
2435
2436         * kwq/KWQDef.h: added #include <cmath> to fix build failure
2437         introduced by last checkin
2438
2439 2005-07-07  Eric Seidel  <eseidel@apple.com>
2440
2441         Reviewed by mjs.
2442
2443         * kwq/DOM-CSS.mm:
2444         (-[DOMRGBColor _color]): changed to nsColor()
2445         * kwq/KWQAccObject.mm:
2446         (AXAttributeStringSetStyle): changed to nsColor()
2447         * kwq/KWQColor.h: Added defs for KDOM.
2448         * kwq/KWQColor.mm: 
2449         (qRed): like qAlpha, kcanvas required.
2450         (qGreen): like qAlpha, kcanvas required.
2451         (qBlue): like qAlpha, kcanvas required.
2452         (parseHexColor): copied from khtml/css/cssparser.h
2453         (QColor::QColor): QColor(QString), will lookup by hex code.
2454         (nsColor): now plain function, instead of member function. (mjs)
2455         (CGColorFromNSColor): stolen from QPalette.mm
2456         (cgColor): added to support CGColor, like nsColor()
2457         (QColor::getRgbaF): new, for KCanvas, from Qt 4.
2458         * kwq/KWQKHTMLPart.mm:
2459         (KWQKHTMLPart::attributedString): changed to nsColor()
2460         (KWQKHTMLPart::fontAttributesForSelectionStart): nsColor()
2461         (KWQKHTMLPart::bodyBackgroundColor): changed to nsColor()
2462         * kwq/KWQLineEdit.mm:
2463         (QLineEdit::setPalette): changed to nsColor()
2464         * kwq/KWQPainter.mm:
2465         (QPainter::_setColorFromBrush): changed to nsColor()
2466         (QPainter::_setColorFromPen): changed to nsColor()
2467         (QPainter::drawText): changed to nsColor()
2468         (QPainter::drawHighlightForText): changed to nsColor()
2469         (QPainter::drawLineForText): changed to nsColor()
2470         (QPainter::_fillRect): changed to nsColor()
2471         (QPainter::setShadow): changed to cgColor()
2472         (QPainter::drawFocusRing): changed to nsColor()
2473         * kwq/KWQTextEdit.mm:
2474         (QTextEdit::setPalette): changed to nsColor()
2475         * kwq/WebCoreBridge.mm:
2476         (-[WebCoreBridge selectionColor]): changed to nsColor()
2477         This patch ended up larger than intended after discussing
2478         with mjs about adding getCGColor() and getCIColor()
2479         We decided that having separate nsColor(), cgColor() and 
2480         ciColor() defined elsewhere, was cleanest.
2481         The rest of the patch is QColor additions for kdom/ksvg/kcanvas.
2482         http://bugzilla.opendarwin.org/show_bug.cgi?id=3829
2483
2484 2005-07-07  Eric Seidel  <eseidel@apple.com>
2485
2486         Reviewed by mjs.
2487
2488         * kwq/KWQPtrDict.h: Additions for KDOM
2489         (QPtrDictIterator::operator()): essentially post-increment.
2490         http://bugzilla.opendarwin.org/show_bug.cgi?id=3849
2491
2492 2005-07-07  Eric Seidel  <eseidel@apple.com>
2493
2494         Reviewed by mjs.
2495
2496         * khtml/css/parser.y: removed #define YYMAXDEPTH 0
2497         Bison 2.x compatibility
2498         http://bugzilla.opendarwin.org/show_bug.cgi?id=3882
2499
2500 2005-07-07  Eric Seidel  <eseidel@apple.com>
2501
2502         Reviewed by mjs.
2503
2504         * khtml/rendering/render_canvasimage.cpp: <cmath.h>
2505         * khtml/rendering/render_image.cpp: <cmath.h> instead of <math.h>
2506         * kwq/KWQDef.h: 64bit support for KDOM
2507         (qRound): inline mapping to lround.
2508         Newer patch, now gcc 3.3 compatible.
2509         Thanks to ggaren for the 3.3 fix.
2510         http://bugzilla.opendarwin.org/show_bug.cgi?id=3826
2511
2512 2005-07-06  Eric Seidel  <eseidel@apple.com>
2513
2514         Reviewed by mjs.
2515
2516         * ForwardingHeaders/qvaluevector.h: Added.
2517         * kwq/KWQValueVector.h: Added.
2518         Added QValueVector stub for KDOM.
2519         http://bugzilla.opendarwin.org/show_bug.cgi?id=3860
2520
2521 2005-07-06  Eric Seidel  <eseidel@apple.com>
2522
2523         Reviewed by mjs.
2524
2525         * kwq/KWQPoint.mm:
2526         (QPoint::operator CGPoint): Added.
2527         (operator*): Added.
2528         (operator<<): Added.
2529         * kwq/KWQPointArray.h: Added.
2530         (QPoint::setX): Added.
2531         (QPoint::setY): Added.
2532         (QPoint::isNull): Added.
2533         (QPoint::operator -=): Added.
2534         * kwq/KWQPointArray.mm: Added.
2535         (QPointArray::QPointArray): Added.
2536         (QPointArray::copy): Added.
2537         (QPointArray::boundingRect): Added.
2538         (QPointArray::point): Added.
2539         Necessary additions for KDOM/KSVG/KCanvas
2540         http://bugzilla.opendarwin.org/show_bug.cgi?id=3674
2541
2542 2005-07-06  Maciej Stachowiak  <mjs@apple.com>
2543
2544         Reviewed by hyatt.
2545
2546         - fixed size() and contains() methods on HashSet (they would not compile before)
2547
2548         * khtml/misc/hashset.h:
2549         (khtml::::size):
2550         * khtml/misc/hashtable.h:
2551         (khtml::::contains):
2552
2553 2005-07-06  Eric Seidel  <eseidel@apple.com>
2554
2555         Reviewed by mjs.
2556
2557         * ForwardingHeaders/kjs/ustring.h: Added.
2558         Used by kdom/Helper.cc
2559         http://bugzilla.opendarwin.org/show_bug.cgi?id=3859
2560
2561 2005-07-06  Geoffrey Garen  <ggaren@apple.com>
2562
2563         Reviewed by adele.
2564
2565         Modified layout tests to match rollout of changes for <rdar://problem/3792529> 
2566         REGRESSION (Mail): Tabs do not work the way they did in Panther
2567
2568         Tests modified:
2569         * layout-tests/editing/deleting/delete-tab-001-expected.txt:
2570         * layout-tests/editing/deleting/delete-tab-002-expected.txt:
2571         * layout-tests/editing/deleting/delete-tab-003-expected.txt:
2572         * layout-tests/editing/deleting/delete-tab-004-expected.txt:
2573         * layout-tests/editing/inserting/insert-tab-001-expected.txt:
2574         * layout-tests/editing/inserting/insert-tab-002-expected.txt:
2575         * layout-tests/editing/inserting/insert-tab-003-expected.txt:
2576         * layout-tests/editing/inserting/insert-tab-004-expected.txt:
2577         * layout-tests/fast/dom/quadraticCurveTo-expected.txt:
2578         * layout-tests/fast/js/string-replace-2-expected.txt:
2579         * layout-tests/fast/table/039-expected.txt:
2580         * layout-tests/fast/table/border-collapsing/004-expected.txt:
2581         * layout-tests/fast/tokenizer/script_extra_close-expected.txt:
2582
2583 2005-07-06  Maciej Stachowiak  <mjs@apple.com>
2584
2585         Even yet still more gcc4 build fixes.
2586         
2587         * khtml/misc/hashset.h:
2588         (khtml::convertAdapter):
2589         (khtml::::insert):
2590
2591 2005-07-06  Maciej Stachowiak  <mjs@apple.com>
2592
2593         More ggc-4-only build fixage.
2594         
2595         * khtml/misc/hashtraits.h:
2596
2597 2005-07-06  Maciej Stachowiak  <mjs@apple.com>
2598
2599         Fix additional gcc-4-only build breakage.
2600
2601         * khtml/misc/pointerhash.h:
2602         (khtml::PointerHashConstIteratorAdapter::operator*):
2603
2604 2005-07-05  Maciej Stachowiak  <mjs@apple.com>
2605
2606         Forgot to commit a file. Fix for build breakage.
2607
2608         * ForwardingHeaders/misc/pointerhash.h: Added.
2609
2610 2005-07-05  Maciej Stachowiak  <mjs@apple.com>
2611
2612         - remove stat dumping (accidentally left enabled in last patch)
2613
2614         Unreviewed since this was a mistake in the last checkin.
2615
2616         * khtml/misc/hashtable.h:
2617
2618 2005-07-04  Maciej Stachowiak  <mjs@apple.com>
2619
2620         Reviewed by hyatt.
2621
2622         Numerous hash code improvements:
2623
2624         - added HashMap and the required support for it in HashTable
2625         - convert to using deleted sentinels and double hashing instead of linear 
2626         probing and reinsert on delete
2627         - add support for traits so that empty and deleted values can be customized 
2628         per type
2629         - make insert return a pair of an iterator and a bool even at the API level
2630         - converted some code to use HashMap
2631         - added standard hash and equal functions for some types, plus case insensitive ones
2632         - lots of assorted code cleanup
2633         - pass hash functions as classes with two static functions instead of as functions
2634
2635         * khtml/css/cssstyleselector.cpp:
2636         (khtml::CSSRuleSet::CSSRuleSet): Use HashMap instead of QPtrDict.
2637         (khtml::CSSRuleSet::~CSSRuleSet): ditto
2638         (khtml::CSSRuleSet::addToRuleSet): ditto
2639         (khtml::CSSRuleSet::addRule): ditto
2640         * khtml/css/cssstyleselector.h:
2641         (khtml::CSSRuleSet::getIDRules): ditto
2642         (khtml::CSSRuleSet::getClassRules): ditto
2643         (khtml::CSSRuleSet::getTagRules): ditto
2644         * khtml/editing/jsediting.cpp:
2645         (DOM::DocumentImpl::commandImp): ditto
2646         * khtml/misc/hashfunctions.h: Added. Standard hash functions.
2647         (khtml::defaultEqual):
2648         (khtml::pointerHash<4>):
2649         (khtml::pointerHash<8>):
2650         (khtml::defaultHash<void *>):
2651         (khtml::defaultHash<DOM::DOMStringImpl *>):
2652         (khtml::caseInsensitiveHash):
2653         (khtml::caseInsensitiveEqual):
2654         * WebCore.pbproj/project.pbxproj:
2655         * khtml/misc/hashmap.h: Added.
2656         (khtml::HashMap::HashMap):
2657         (khtml::HashMap::size):
2658         (khtml::HashMap::capacity):
2659         (khtml::HashMap::isEmpty):
2660         (khtml::HashMap::begin):
2661         (khtml::HashMap::end):
2662         (khtml::HashMap::find):
2663         (khtml::HashMap::contains):
2664         (khtml::HashMap::insert):
2665         (khtml::HashMap::get):
2666         (khtml::HashMap::remove):
2667         (khtml::HashMap::clear):
2668         (khtml::HashMap::extractKey):
2669         * khtml/misc/hashset.h:
2670         (khtml::identityExtract):
2671         (khtml::::size):
2672         (khtml::::capacity):
2673         (khtml::::isEmpty):
2674         (khtml::::begin):
2675         (khtml::::end):
2676         (khtml::::find):
2677         (khtml::::contains):
2678         (khtml::::insert):
2679         (khtml::::remove):
2680         (khtml::::clear):
2681         (khtml::::convertAdapter):
2682         * khtml/misc/hashtable.cpp:
2683         (khtml::HashTableStats::~HashTableStats):
2684         * khtml/misc/hashtable.h:
2685         (khtml::HashTableIterator::HashTableIterator):
2686         (khtml::HashTableIterator::skipEmptyBuckets):
2687         (khtml::HashTableConstIterator::HashTableConstIterator):
2688         (khtml::HashTableConstIterator::skipEmptyBuckets):
2689         (khtml::HashTable::HashTable):
2690         (khtml::HashTable::insert):
2691         (khtml::HashTable::isEmptyBucket):
2692         (khtml::HashTable::isDeletedBucket):
2693         (khtml::HashTable::isEmptyOrDeletedBucket):
2694         (khtml::HashTable::identityConvert):
2695         (khtml::HashTable::extractKey):
2696         (khtml::HashTable::lookup):
2697         (khtml::HashTable::shouldExpand):
2698         (khtml::HashTable::mustRehashInPlace):
2699         (khtml::HashTable::clearBucket):
2700         (khtml::HashTable::deleteBucket):
2701         (khtml::HashTable::makeLookupResult):
2702         (khtml::HashTable::makeIterator):
2703         (khtml::HashTable::makeConstIterator):
2704         (khtml::::lookup):
2705         (khtml::::insert):
2706         (khtml::::reinsert):
2707         (khtml::::find):
2708         (khtml::::contains):
2709         (khtml::::remove):
2710         (khtml::::allocateTable):
2711         (khtml::::expand):
2712         (khtml::::rehash):
2713         (khtml::::clear):
2714         (khtml::::HashTable):
2715         (khtml::::swap):
2716         (khtml::::operator):
2717         (khtml::::checkConsistency):
2718         (khtml::::checkConsistencyExceptSize):
2719         * khtml/misc/hashtraits.h: Added.
2720         (khtml::HashTraits::emptyValue):
2721         (khtml::):
2722         (khtml::PairHashTraits::emptyValue):
2723         (khtml::PairHashTraits::deletedValue):
2724         * ForwardingHeaders/misc/hashmap.h: Added.
2725         * ForwardingHeaders/misc/hashset.h: Added.
2726         * WebCore.pbproj/project.pbxproj: Added new files.
2727         * khtml/misc/pointerhash.h: Added.
2728         (khtml::PointerHashIteratorAdapter::PointerHashIteratorAdapter):
2729         (khtml::PointerHashIteratorAdapter::operator*):
2730         (khtml::PointerHashIteratorAdapter::operator->):
2731         (khtml::PointerHashIteratorAdapter::operator++):
2732         (khtml::PointerHashIteratorAdapter::operator==):
2733         (khtml::PointerHashIteratorAdapter::operator!=):
2734         (khtml::PointerHashConstIteratorAdapter::PointerHashConstIteratorAdapter):
2735         (khtml::PointerHashConstIteratorAdapter::operator*):
2736         (khtml::PointerHashConstIteratorAdapter::operator->):
2737         (khtml::PointerHashConstIteratorAdapter::operator++):
2738         (khtml::PointerHashConstIteratorAdapter::operator==):
2739         (khtml::PointerHashConstIteratorAdapter::operator!=):
2740         (khtml::):
2741
2742 2005-07-05  Geoffrey Garen  <ggaren@apple.com>
2743
2744         Rolled in patch by opendarwin.org@mitzpettel.com
2745
2746         -fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=3733
2747         Incorrect bidi layout of ETs, ANs, and ENs in some contexts
2748         
2749         Reviewed by hyatt.
2750
2751         * khtml/rendering/bidi.cpp:
2752         (khtml::appendRun):
2753         (khtml::RenderBlock::bidiReorderLine):
2754         (khtml::RenderBlock::layoutInlineChildren):
2755
2756         Modified test results to account for run splitting.
2757         This is a known bug that we need to fix separately:
2758         http://bugzilla.opendarwin.org/show_bug.cgi?id=3838
2759         
2760         * layout-tests/css1/basic/containment-expected.txt:
2761         * layout-tests/css1/box_properties/float_on_text_elements-expected.txt:
2762         * layout-tests/css1/font_properties/font-expected.txt:
2763         * layout-tests/css1/formatting_model/inline_elements-expected.txt:
2764         * layout-tests/css1/pseudo/anchor-expected.txt:
2765         * layout-tests/editing/deleting/delete-tab-001-expected.txt:
2766         * layout-tests/editing/deleting/delete-tab-002-expected.txt:
2767         * layout-tests/editing/deleting/delete-tab-003-expected.txt:
2768         * layout-tests/editing/deleting/delete-tab-004-expected.txt:
2769         * layout-tests/editing/inserting/insert-tab-001-expected.txt:
2770         * layout-tests/editing/inserting/insert-tab-002-expected.txt:
2771         * layout-tests/editing/inserting/insert-tab-003-expected.txt:
2772         * layout-tests/editing/inserting/insert-tab-004-expected.txt:
2773         * layout-tests/editing/style/relative-font-size-change-001-expected.txt:
2774         * layout-tests/editing/style/relative-font-size-change-004-expected.txt:
2775         * layout-tests/fast/block/basic/018-expected.txt:
2776         * layout-tests/fast/dom/quadraticCurveTo-expected.txt:
2777         * layout-tests/fast/invalid/nestedh3s-expected.txt:
2778         * layout-tests/fast/js/string-replace-2-expected.txt:
2779         * layout-tests/fast/lists/003-expected.txt:
2780         * layout-tests/fast/selectors/166-expected.txt:
2781         * layout-tests/fast/table/039-expected.txt:
2782         * layout-tests/fast/table/border-collapsing/004-expected.txt:
2783         * layout-tests/fast/text/basic/004-expected.txt:
2784         * layout-tests/fast/tokenizer/script_extra_close-expected.txt:
2785
2786 2005-07-05  Adele Peterson  <adele@apple.com>
2787
2788        Rolling out changes for <rdar://problem/3792529> REGRESSION (Mail): Tabs do not work the way they did in Panther (especially useful in plain text mail)
2789        since it caused a 2% performance regression.
2790
2791         * khtml/editing/apply_style_command.cpp:
2792         (khtml::createStyleSpanElement):
2793         (khtml::ApplyStyleCommand::removeCSSStyle):
2794         (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
2795         * khtml/editing/delete_selection_command.cpp:
2796         (khtml::DeleteSelectionCommand::saveTypingStyleState):
2797         * khtml/editing/edit_command.cpp:
2798         (khtml::EditCommand::styleAtPosition):
2799         * khtml/editing/html_interchange.h:
2800         * khtml/editing/htmlediting.cpp:
2801         (khtml::isSpecialElement):
2802         * khtml/editing/htmlediting.h:
2803         * khtml/editing/insert_text_command.cpp:
2804         (khtml::InsertTextCommand::prepareForTextInsertion):
2805         (khtml::InsertTextCommand::input):
2806         * khtml/editing/insert_text_command.h:
2807         * khtml/editing/markup.cpp:
2808         (khtml::createFragmentFromText):
2809         * khtml/editing/replace_selection_command.cpp:
2810         (khtml::ReplacementFragment::removeStyleNodes):
2811         * khtml/html/htmltokenizer.cpp:
2812         (khtml::HTMLTokenizer::begin):
2813         (khtml::HTMLTokenizer::processListing):
2814         (khtml::HTMLTokenizer::parseEntity):
2815         (khtml::HTMLTokenizer::parseTag):
2816         (khtml::HTMLTokenizer::addPending):
2817         (khtml::HTMLTokenizer::write):
2818         * khtml/html/htmltokenizer.h:
2819         (khtml::HTMLTokenizer::):
2820         * khtml/rendering/bidi.cpp:
2821         (khtml::addRun):
2822         (khtml::RenderBlock::computeHorizontalPositionsForLine):
2823         (khtml::RenderBlock::skipWhitespace):
2824         (khtml::RenderBlock::findNextLineBreak):
2825         (khtml::RenderBlock::checkLinesForTextOverflow):
2826         * khtml/rendering/break_lines.cpp:
2827         (khtml::isBreakable):
2828         * khtml/rendering/font.cpp:
2829         (Font::drawHighlightForText):
2830         (Font::drawText):
2831         (Font::floatWidth):
2832         (Font::floatCharacterWidths):
2833         (Font::checkSelectionPoint):
2834         (Font::width):
2835         * khtml/rendering/font.h:
2836         * khtml/rendering/render_block.cpp:
2837         (khtml::stripTrailingSpace):
2838         (khtml::RenderBlock::calcInlineMinMaxWidth):
2839         * khtml/rendering/render_block.h:
2840         * khtml/rendering/render_br.h:
2841         (khtml::RenderBR::width):
2842         * khtml/rendering/render_flexbox.cpp:
2843         (khtml::RenderFlexibleBox::layoutVerticalBox):
2844         * khtml/rendering/render_image.cpp:
2845         (RenderImage::setPixmap):
2846         (RenderImage::paint):
2847         * khtml/rendering/render_line.cpp:
2848         (khtml::EllipsisBox::paint):
2849         * khtml/rendering/render_line.h:
2850         (khtml::InlineBox::width):
2851         (khtml::InlineBox::xPos):
2852         (khtml::InlineBox::yPos):
2853         (khtml::InlineBox::height):
2854         (khtml::InlineBox::baseline):
2855         * khtml/rendering/render_list.cpp:
2856         (RenderListMarker::paint):
2857         (RenderListMarker::calcMinMaxWidth):
2858         * khtml/rendering/render_object.cpp:
2859         (RenderObject::recalcMinMaxWidths):
2860         * khtml/rendering/render_object.h:
2861         * khtml/rendering/render_replaced.cpp:
2862         * khtml/rendering/render_text.cpp:
2863         (InlineTextBox::selectionRect):
2864         (InlineTextBox::paint):
2865         (InlineTextBox::paintSelection):
2866         (InlineTextBox::paintMarkedTextBackground):
2867         (InlineTextBox::offsetForPosition):
2868         (InlineTextBox::positionForOffset):
2869         (RenderText::cacheWidths):
2870         (RenderText::widthFromCache):
2871         (RenderText::trimmedMinMaxWidth):
2872         (RenderText::calcMinMaxWidth):
2873         (RenderText::containsOnlyWhitespace):
2874         (RenderText::width):
2875         * khtml/rendering/render_text.h:
2876         * kwq/KWQFontMetrics.h:
2877         * kwq/KWQFontMetrics.mm:
2878         (QFontMetrics::width):
2879         (QFontMetrics::charWidth):
2880         (QFontMetrics::floatWidth):
2881         (QFontMetrics::floatCharacterWidths):
2882         (QFontMetrics::checkSelectionPoint):
2883         (QFontMetrics::boundingRect):
2884         (QFontMetrics::size):
2885         * kwq/KWQPainter.h:
2886         * kwq/KWQPainter.mm:
2887         (QPainter::drawText):
2888         (QPainter::drawHighlightForText):
2889         * kwq/WebCoreTextRenderer.h:
2890         * kwq/WebCoreTextRendererFactory.mm:
2891         (WebCoreInitializeEmptyTextStyle):
2892         * layout-tests/editing/deleting/delete-tab-001-expected.txt:
2893         * layout-tests/editing/deleting/delete-tab-001.html:
2894         * layout-tests/editing/deleting/delete-tab-002-expected.txt:
2895         * layout-tests/editing/deleting/delete-tab-002.html:
2896         * layout-tests/editing/deleting/delete-tab-003-expected.txt:
2897         * layout-tests/editing/deleting/delete-tab-003.html:
2898         * layout-tests/editing/deleting/delete-tab-004-expected.txt:
2899         * layout-tests/editing/deleting/delete-tab-004.html:
2900         * layout-tests/editing/inserting/insert-tab-001-expected.txt:
2901         * layout-tests/editing/inserting/insert-tab-002-expected.txt:
2902         * layout-tests/editing/inserting/insert-tab-003-expected.txt:
2903         * layout-tests/editing/inserting/insert-tab-004-expected.txt:
2904         * layout-tests/fast/dom/quadraticCurveTo-expected.txt:
2905         * layout-tests/fast/js/string-replace-2-expected.txt:
2906         * layout-tests/fast/table/039-expected.txt:
2907         * layout-tests/fast/table/border-collapsing/004-expected.txt:
2908         * layout-tests/fast/tokenizer/script_extra_close-expected.txt:
2909
2910 2005-07-05  Beth Dakin  <bdakin@apple.com>
2911
2912         Adding colspan test for HTMLTableElement and bdo test for HTMLElement.
2913
2914         Reviewed by NOBODY Adele.
2915
2916         Test cases added: (NONE)
2917
2918         * ChangeLog:
2919         * layout-tests/fast/dom/HTMLElement/bdo-expected.txt: Added.
2920         * layout-tests/fast/dom/HTMLElement/bdo.html: Added.
2921         * layout-tests/fast/dom/HTMLTableElement/colSpan-expected.txt: Added.
2922         * layout-tests/fast/dom/HTMLTableElement/colSpan.html: Added.
2923
2924 2005-07-05  Geoffrey Garen  <ggaren@apple.com>
2925
2926         -rolled out patch for 
2927         http://bugzilla.opendarwin.org/show_bug.cgi?id=3826
2928         because it fails to build w/gcc3.3 (previous fix didn't completely work)
2929
2930         * kwq/KWQDef.h:
2931
2932 2005-07-05  Geoffrey Garen  <ggaren@apple.com>
2933
2934         -fixed failed build introduced by fix to
2935         http://bugzilla.opendarwin.org/show_bug.cgi?id=3826
2936
2937         Reviewed by sullivan.
2938
2939         * kwq/KWQDef.h: changed 64 bit typedef to match def in sys/types.h
2940
2941 2005-07-05  Eric Seidel  <eseidel@apple.com>
2942
2943         Reviewed by mjs.
2944
2945         * kwq/KWQPalette.h:
2946         (QColorGroup::): Enum values added for KDOM.
2947         (QPalette::): Enum values added for KDOM.
2948         * kwq/KWQPalette.mm: Added.
2949         (QPalette::setColor): Added (only supports "active").
2950         Many of these enum values (particularly ColorGroup)
2951         may be removed as KDOM gets better integrated with our tree.
2952         http://bugzilla.opendarwin.org/show_bug.cgi?id=3851
2953
2954 2005-07-05  Eric Seidel  <eseidel@apple.com>
2955
2956         Reviewed by mjs.
2957
2958         * ForwardingHeaders/kinstance.h: Added.
2959         * ForwardingHeaders/kio/netaccess.h: Added.
2960         * ForwardingHeaders/kjs/scope_chain.h: Added.
2961         * ForwardingHeaders/qdir.h: Added.
2962         * ForwardingHeaders/qglobal.h: Added.
2963         For KDOM.
2964         http://bugzilla.opendarwin.org/show_bug.cgi?id=3822
2965   
2966 2005-07-05  Eric Seidel  <eseidel@apple.com>
2967
2968         Reviewed by mjs.
2969
2970         * kwq/KWQDef.h: 64bit types added
2971         (qRound): For kdom
2972         http://bugzilla.opendarwin.org/show_bug.cgi?id=3826
2973
2974 2005-07-05  Eric Seidel  <eseidel@apple.com>
2975
2976         Reviewed by mjs.
2977
2978         * kwq/KWQDateTime.h: Necessary KDOM additions.
2979         (QTime::currentTime): Added.
2980         * kwq/KWQDateTime.mm:
2981         (QTime::addMSecs): Added.
2982         http://bugzilla.opendarwin.org/show_bug.cgi?id=3828
2983
2984 2005-07-05  Eric Seidel  <eseidel@apple.com>
2985
2986         Reviewed by mjs.
2987
2988         * ForwardingHeaders/qwmatrix.h: Added.
2989         * WebCore.pbproj/project.pbxproj: Added KWQMatrix.*
2990         * khtml/rendering/render_image.cpp: Now includes qwmatrix.h
2991         * kwq/KWQPixmap.h: Removed QWMatrix stub.
2992         * kwq/KWQWMatrix.h: Added.
2993         (QWMatrix::m11): simple accessors.
2994         (QWMatrix::m12):
2995         (QWMatrix::m21):
2996         (QWMatrix::m22):
2997         (QWMatrix::dx):
2998         (QWMatrix::dy):
2999         * kwq/KWQWMatrix.mm: Added.
3000         (QWMatrix::QWMatrix): All are standard Qt functions.
3001         (QWMatrix::setMatrix):
3002         (QWMatrix::map):
3003         (QWMatrix::isIdentity):
3004         (QWMatrix::reset):
3005         (QWMatrix::scale):
3006         (QWMatrix::rotate):
3007         (QWMatrix::translate):
3008         (QWMatrix::shear):
3009         (QWMatrix::det):
3010         (QWMatrix::isInvertible):
3011         (QWMatrix::invert):
3012         (QWMatrix::operator CGAffineTransform):
3013         (QWMatrix::operator== ):
3014         (QWMatrix::operator*= ):
3015         Simple white-room QWMatrix implementation entirely 
3016         based on CGAffineTransform.
3017         http://bugzilla.opendarwin.org/show_bug.cgi?id=3821
3018
3019 2005-07-05  Eric Seidel  <eseidel@apple.com>
3020
3021         Reviewed by mjs.
3022
3023         * kwq/KWQPtrList.h: additions necessary for kdom.
3024         (QPtrList::findRef): added.
3025         (QPtrList::begin): added.
3026         (QPtrList::end): added.
3027         (QPtrListIterator::operator*): added.
3028         http://bugzilla.opendarwin.org/show_bug.cgi?id=3850
3029
3030 2005-07-04  Maciej Stachowiak  <mjs@apple.com
3031
3032         Expected results for layout tests from last patch.
3033         
3034         * layout-tests/fast/js/eval-var-decl-expected.txt: Added.
3035         * layout-tests/fast/js/has-own-property-expected.txt: Added.
3036
3037 2005-07-03  Maciej Stachowiak  <mjs@apple.com>
3038
3039         Original patch from Mark Rowe <opendarwin.org@bdash.net.nz>, reviewed by me.
3040         Fixes to patch by me, reviewed by John Sullivan.
3041
3042         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3293
3043
3044         Test cases added:
3045         * layout-tests/fast/js/has-own-property.html: Added - tests this change.
3046         * layout-tests/fast/js/eval-var-decl.html: Added - test depends on this change.
3047
3048         * khtml/ecma/kjs_css.cpp:
3049         (KJS::DOMCSSStyleDeclaration::hasOwnProperty):
3050         * khtml/ecma/kjs_css.h:
3051         * khtml/ecma/kjs_dom.cpp:
3052         (KJS::DOMNodeList::hasOwnProperty):
3053         (KJS::DOMElement::tryGet):
3054         (KJS::DOMNamedNodeMap::hasOwnProperty):
3055         * khtml/ecma/kjs_dom.h:
3056         * khtml/ecma/kjs_html.cpp:
3057         (KJS::HTMLDocument::hasOwnProperty):
3058         (KJS::HTMLDocument::tryGet):
3059         (KJS::KJS::HTMLElement::hasOwnProperty):
3060         (KJS::KJS::HTMLCollection::hasOwnProperty):
3061         * khtml/ecma/kjs_html.h:
3062         * khtml/ecma/kjs_window.cpp:
3063         (KJS::Window::hasOwnProperty):
3064         (KJS::Konqueror::hasOwnProperty):
3065         * khtml/ecma/kjs_window.h:
3066
3067 2005-07-03  Eric Seidel  <eseidel@apple.com>
3068
3069         Reviewed by mjs.
3070
3071         * kwq/KWQTimer.h:
3072         * kwq/KWQTimer.mm:
3073         (QTimer::QTimer): added parent pointer (and warning)
3074         http://bugzilla.opendarwin.org/show_bug.cgi?id=3825
3075  
3076 2005-07-03  Eric Seidel  <eseidel@apple.com>
3077
3078         Reviewed by mjs.
3079
3080         * khtml/xml/dom_docimpl.cpp: 
3081         (DocumentImpl::setDocumentChanged): fixed to use new API
3082         * kwq/KWQKStaticDeleter.h: 
3083         (KStaticDeleter::setObject): fixed to take 3rd argument
3084         http://bugzilla.opendarwin.org/show_bug.cgi?id=3823
3085
3086 2005-07-03  Eric Seidel  <eseidel@apple.com>
3087
3088         Reviewed by mjs.
3089
3090         * kwq/KWQValueList.h:
3091         (QValueList::find): KDOM support
3092         (QValueList::constBegin): KDE compatibility
3093         (QValueList::constEnd): KDE compatibility
3094         * kwq/KWQValueListImpl.h:
3095         * kwq/KWQValueListImpl.mm:
3096         (KWQValueListImpl::findEqualNode): KDOM support
3097         http://bugzilla.opendarwin.org/show_bug.cgi?id=3832
3098
3099 2005-07-03  Eric Seidel  <eseidel@apple.com>
3100
3101         Reviewed by mjs.
3102
3103         * kwq/KWQFontMetrics.h:
3104         * kwq/KWQFontMetrics.mm:
3105         (QFontMetrics::boundingRect): added boundingRect(QChar)
3106         http://bugzilla.opendarwin.org/show_bug.cgi?id=3827
3107   
3108 2005-07-03  Eric Seidel  <eseidel@apple.com>
3109
3110         Reviewed by mjs.
3111
3112         * kwq/KWQListImpl.h:
3113         * kwq/KWQListImpl.mm:
3114         (KWQListImpl::findRef): Added to support 
3115         KDOM::NodeImpl::compareDocumentPosition(NodeImpl *other)
3116   
3117 2005-07-03  Eric Seidel  <eseidel@apple.com>
3118
3119         Reviewed by mjs.
3120
3121         * ForwardingHeaders/qintdict.h: maps to KWQIntDict.h
3122         * kwq/KWQIntDict.h: copy of KWQPtrDict.h replacing T * with int.
3123
3124 2005-07-03  Eric Seidel  <eseidel@apple.com>
3125
3126         * kwq/KWQPair.h: added newline, per mjs's request.
3127
3128 2005-07-03  Eric Seidel  <eseidel@apple.com>
3129
3130         Reviewed by mjs.
3131
3132         * ForwardingHeaders/qpair.h: Added.
3133         * kwq/KWQPair.h: Added.
3134         Qt compatible QPair, built on std::pair
3135         http://bugzilla.opendarwin.org/show_bug.cgi?id=3824
3136
3137 2005-07-01  Beth Dakin  <bdakin@apple.com>
3138
3139         Adding createCaption test for HTMLTableElement.
3140
3141         Reviewed by Adele (sort of).
3142
3143         Test cases added:
3144
3145         * layout-tests/fast/dom/HTMLTableElement/createCaption-expected.txt: Added.
3146         * layout-tests/fast/dom/HTMLTableElement/createCaption.html: Added.
3147
3148 2005-07-01  Geoffrey Garen  <ggaren@apple.com>
3149
3150         Moving dom tests around to conform to new directory structure
3151         specified in today's meeting.
3152
3153         Reviewed by justing.
3154
3155         Test cases added: 
3156
3157         * layout-tests/fast/dom/HTMLDocument/title-get-expected.txt: Added.
3158         * layout-tests/fast/dom/HTMLDocument/title-get.html: Added.
3159         * layout-tests/fast/dom/HTMLDocument/title-set-expected.txt: Added.
3160         * layout-tests/fast/dom/HTMLDocument/title-set.html: Added.
3161         * layout-tests/fast/dom/HTMLDocument/title/get-expected.txt: Removed.
3162         * layout-tests/fast/dom/HTMLDocument/title/get.html: Removed.
3163         * layout-tests/fast/dom/HTMLDocument/title/set-expected.txt: Removed.
3164         * layout-tests/fast/dom/HTMLDocument/title/set.html: Removed.
3165         * layout-tests/fast/dom/HTMLDocument/url-getset-expected.txt: Added.
3166         * layout-tests/fast/dom/HTMLDocument/url-getset.html: Added.
3167         * layout-tests/fast/dom/HTMLDocument/url/getset-expected.txt: Removed.
3168         * layout-tests/fast/dom/HTMLDocument/url/getset.html: Removed.
3169         * layout-tests/fast/dom/HTMLDocument/write-call-expected.txt: Added.
3170         * layout-tests/fast/dom/HTMLDocument/write-call.html: Added.
3171         * layout-tests/fast/dom/HTMLDocument/write-multiple-calls-expected.txt: Added.
3172         * layout-tests/fast/dom/HTMLDocument/write-multiple-calls.html: Added.
3173         * layout-tests/fast/dom/HTMLDocument/write/call-expected.txt: Removed.
3174         * layout-tests/fast/dom/HTMLDocument/write/call.html: Removed.
3175         * layout-tests/fast/dom/HTMLDocument/write/multiple-calls-expected.txt: Removed.
3176         * layout-tests/fast/dom/HTMLDocument/write/multiple-calls.html: Removed.
3177         * layout-tests/fast/dom/HTMLDocument/writeln-call-expected.txt: Added.
3178         * layout-tests/fast/dom/HTMLDocument/writeln-call.html: Added.
3179         * layout-tests/fast/dom/HTMLDocument/writeln-multiple-calls-expected.txt: Added.
3180         * layout-tests/fast/dom/HTMLDocument/writeln-multiple-calls.html: Added.
3181         * layout-tests/fast/dom/HTMLDocument/writeln/call-expected.txt: Removed.
3182         * layout-tests/fast/dom/HTMLDocument/writeln/call.html: Removed.
3183         * layout-tests/fast/dom/HTMLDocument/writeln/multiple-calls-expected.txt: Removed.
3184         * layout-tests/fast/dom/HTMLDocument/writeln/multiple-calls.html: Removed.
3185
3186 2005-07-01  Geoffrey Garen  <ggaren@apple.com>
3187
3188         -landed patch by Eric Seidel <macdome@opendarwin.org>
3189         
3190         -for http://bugzilla.opendarwin.org/show_bug.cgi?id=3657
3191         GroundWork:  Moving some functions from khtml->jsc following kjs TOT
3192         
3193         - no layout test necessary yet - only groundwork
3194
3195         Reviewed by darin.
3196
3197         * ForwardingHeaders/qintdict.h:
3198         * khtml/ecma/kjs_binding.h:
3199
3200 2005-07-01  Geoffrey Garen  <ggaren@apple.com>
3201
3202         -landed patch by Carsten Guenther <cguenther@gmail.com>
3203         http://bugzilla.opendarwin.org/show_bug.cgi?id=3477
3204
3205         -corrects errors in date layout test
3206
3207         Reviewed by darin.
3208
3209         Test cases modified:
3210         * layout-tests/fast/js/date-parse-test.html:
3211
3212 2005-07-01  Eric Seidel  <eseidel@apple.com>
3213
3214         Reviewed by darin.
3215
3216         * kwq/KWQSize.h:
3217         * kwq/KWQSize.mm:
3218         (QSize::operator CGSize): adding CGSize conversion support
3219         http://bugzilla.opendarwin.org/show_bug.cgi?id=3669
3220
3221 2005-06-30  Bruce DiBello  <bdibello@apple.com>
3222
3223         Reviewed by Geoff Garen.
3224
3225         Test cases added: getting and setting div.align
3226
3227         * layout-tests/fast/dom/HTMLDivElement/align/getset-expected.txt: Added.
3228         * layout-tests/fast/dom/HTMLDivElement/align/getset.html: Added.
3229
3230 2005-06-29  Anders Carlsson  <andersca@mac.com>
3231
3232         Reviewed and landed by Darin Adler.
3233
3234         - Fix <http://bugzilla.opendarwin.org/show_bug.cgi?id=3274>
3235         document() not supported
3236
3237         Test cases added:
3238         * layout-tests/fast/xsl/document-function-expected.txt: Added.
3239         * layout-tests/fast/xsl/document-function.xml: Added.
3240         * layout-tests/fast/xsl/document-function.xsl: Added.
3241         * layout-tests/fast/xsl/resources/document-function-source.xml: Added.
3242         
3243         * khtml/xsl/xslt_processorimpl.cpp:
3244         (DOM::parseErrorFunc):
3245         Stub to prevent errors from getting written to the console.
3246         
3247         (DOM::stylesheetLoadFunc):
3248         Fetch and parse documents.
3249         
3250         (DOM::XSLTProcessorImpl::transformDocument):
3251         Use the processor as the global variable instead of the 
3252         style sheet.
3253         
3254         * khtml/xsl/xslt_processorimpl.h:
3255         (DOM::XSLTProcessorImpl::stylesheet):
3256         (DOM::XSLTProcessorImpl::sourceDocument):
3257         Add accessors for source document and stylesheet.
3258
3259 2005-06-29  Maciej Stachowiak  <mjs@apple.com>
3260
3261         Unreviewed - fixing build breakage with gcc 4.
3262
3263         * khtml/misc/hashtable.h: Don't use a typedef when declaring a class friend.
3264
3265 2005-06-29  David Harrison  <harrison@apple.com>
3266
3267         Temporarily enable tab coalescing ahead of white-space:pre-wrap
3268         change because of problems with keeping the tabs separate.  Will
3269         revert when problems are fixed or remove if I do pre-wrap
3270         first.
3271
3272         * khtml/editing/insert_text_command.cpp:
3273         (khtml::InsertTextCommand::prepareForTextInsertion):
3274         (khtml::InsertTextCommand::insertTab):
3275         * khtml/editing/markup.cpp:
3276         (khtml::createParagraphContentsFromString):
3277
3278 2005-06-29  David Harrison  <harrison@apple.com>
3279
3280         Reviewed by Dave Hyatt (rendering) and Maciej (editing).
3281
3282         Test cases added:  Coming soon.  Will include with next round of changes for this bug.
3283
3284         This is the first checkin for...
3285         
3286         <rdar://problem/3792529> REGRESSION (Mail): Tabs do not work the way they did in Panther (especially useful in plain text mail)
3287         
3288         Basic strategy is to put tabs into spans with white-space:pre style, and
3289         render them with tabs stops every 8th space, where the space width and
3290         the left margin are those of the enclosing block.
3291         
3292         What's left is to switch to implement white-space:pre-wrap so
3293         that we can coalesce consecutive tabs while maintaining proper
3294         line breaking.  That will keep the markup smaller.
3295
3296         * khtml/editing/apply_style_command.cpp:
3297         (khtml::createStyleSpanElement):
3298         (khtml::ApplyStyleCommand::removeCSSStyle):
3299         (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
3300         * khtml/editing/delete_selection_command.cpp:
3301         (khtml::DeleteSelectionCommand::saveTypingStyleState):
3302         * khtml/editing/edit_command.cpp:
3303         (khtml::EditCommand::styleAtPosition):
3304         * khtml/editing/html_interchange.h:
3305         * khtml/editing/htmlediting.cpp:
3306         (khtml::isSpecialElement):
3307         (khtml::isTabSpanNode):
3308         (khtml::isTabSpanTextNode):
3309         (khtml::positionBeforeTabSpan):
3310         (khtml::createTabSpanElement):
3311         * khtml/editing/htmlediting.h:
3312         * khtml/editing/insert_text_command.cpp:
3313         (khtml::InsertTextCommand::prepareForTextInsertion):
3314         (khtml::InsertTextCommand::input):
3315         (khtml::InsertTextCommand::insertTab):
3316         * khtml/editing/insert_text_command.h:
3317         * khtml/editing/markup.cpp:
3318         (khtml::createParagraphContentsFromString):
3319         (khtml::createFragmentFromText):
3320         * khtml/editing/replace_selection_command.cpp:
3321         (khtml::ReplacementFragment::removeStyleNodes):
3322         * khtml/html/htmltokenizer.cpp:
3323         (khtml::HTMLTokenizer::begin):
3324         (khtml::HTMLTokenizer::processListing):
3325         (khtml::HTMLTokenizer::parseEntity):
3326         (khtml::HTMLTokenizer::parseTag):
3327         (khtml::HTMLTokenizer::addPending):
3328         (khtml::HTMLTokenizer::write):
3329         * khtml/html/htmltokenizer.h:
3330         (khtml::HTMLTokenizer::):
3331         * khtml/rendering/bidi.cpp:
3332         (khtml::addRun):
3333         (khtml::RenderBlock::tabWidth):
3334         (khtml::RenderBlock::computeHorizontalPositionsForLine):
3335         (khtml::RenderBlock::skipWhitespace):
3336         (khtml::RenderBlock::findNextLineBreak):
3337         (khtml::RenderBlock::checkLinesForTextOverflow):
3338         * khtml/rendering/break_lines.cpp:
3339         (khtml::isBreakable):
3340         * khtml/rendering/font.cpp:
3341         (Font::drawHighlightForText):
3342         (Font::drawText):
3343         (Font::floatWidth):
3344         (Font::floatCharacterWidths):
3345         (Font::checkSelectionPoint):
3346         (Font::width):
3347         * khtml/rendering/font.h:
3348         * khtml/rendering/render_block.cpp:
3349         (khtml::stripTrailingSpace):
3350         (khtml::RenderBlock::calcInlineMinMaxWidth):
3351         * khtml/rendering/render_block.h:
3352         * khtml/rendering/render_br.h:
3353         (khtml::RenderBR::width):
3354         * khtml/rendering/render_flexbox.cpp:
3355         (khtml::RenderFlexibleBox::layoutVerticalBox):
3356         * khtml/rendering/render_image.cpp:
3357         (RenderImage::setPixmap):
3358         (RenderImage::paint):
3359         * khtml/rendering/render_line.cpp:
3360         (khtml::EllipsisBox::paint):
3361         * khtml/rendering/render_line.h:
3362         (khtml::InlineBox::width):
3363         (khtml::InlineBox::xPos):
3364         (khtml::InlineBox::yPos):
3365         (khtml::InlineBox::height):
3366         (khtml::InlineBox::baseline):
3367         * khtml/rendering/render_list.cpp:
3368         (RenderListMarker::paint):
3369         (RenderListMarker::calcMinMaxWidth):
3370         * khtml/rendering/render_object.cpp:
3371         (RenderObject::tabWidth):
3372         (RenderObject::recalcMinMaxWidths):
3373         * khtml/rendering/render_object.h:
3374         * khtml/rendering/render_replaced.cpp:
3375         * khtml/rendering/render_text.cpp:
3376         (InlineTextBox::selectionRect):
3377         (InlineTextBox::paint):
3378         (InlineTextBox::paintSelection):
3379         (InlineTextBox::paintMarkedTextBackground):
3380         (InlineTextBox::textPos):
3381         (InlineTextBox::offsetForPosition):
3382         (InlineTextBox::positionForOffset):
3383         (RenderText::cacheWidths):
3384         (RenderText::widthFromCache):
3385         (RenderText::trimmedMinMaxWidth):
3386         (RenderText::calcMinMaxWidth):
3387         (RenderText::containsOnlyWhitespace):
3388         (RenderText::width):
3389         * khtml/rendering/render_text.h:
3390         * kwq/KWQFontMetrics.h:
3391         * kwq/KWQFontMetrics.mm:
3392         (QFontMetrics::width):
3393         (QFontMetrics::charWidth):
3394         (QFontMetrics::floatWidth):
3395         (QFontMetrics::floatCharacterWidths):
3396         (QFontMetrics::checkSelectionPoint):
3397         (QFontMetrics::boundingRect):
3398         (QFontMetrics::size):
3399         * kwq/KWQPainter.h:
3400         * kwq/KWQPainter.mm:
3401         (QPainter::drawText):
3402         (QPainter::drawHighlightForText):
3403         * kwq/WebCoreTextRenderer.h:
3404         * kwq/WebCoreTextRendererFactory.mm:
3405         (WebCoreInitializeEmptyTextStyle):
3406         * layout-tests/editing/deleting/delete-tab-001-expected.txt:
3407         * layout-tests/editing/deleting/delete-tab-001.html:
3408         * layout-tests/editing/deleting/delete-tab-002-expected.txt:
3409         * layout-tests/editing/deleting/delete-tab-002.html:
3410         * layout-tests/editing/deleting/delete-tab-003-expected.txt:
3411         * layout-tests/editing/deleting/delete-tab-003.html:
3412         * layout-tests/editing/deleting/delete-tab-004-expected.txt:
3413         * layout-tests/editing/deleting/delete-tab-004.html:
3414         * layout-tests/editing/inserting/insert-tab-001-expected.txt:
3415         * layout-tests/editing/inserting/insert-tab-002-expected.txt:
3416         * layout-tests/editing/inserting/insert-tab-003-expected.txt:
3417         * layout-tests/editing/inserting/insert-tab-004-expected.txt:
3418         * layout-tests/fast/dom/quadraticCurveTo-expected.txt:
3419         * layout-tests/fast/js/string-replace-2-expected.txt:
3420         * layout-tests/fast/table/039-expected.txt:
3421         * layout-tests/fast/table/border-collapsing/004-expected.txt:
3422         * layout-tests/fast/tokenizer/script_extra_close-expected.txt:
3423
3424 2005-06-29  Geoffrey Garen  <ggaren@apple.com>
3425
3426         Contributed by Francisco Tolmasky <tolmasky@gmail.com>
3427
3428         -test cases for fix to http://bugzilla.opendarwin.org/show_bug.cgi?id=3667
3429         Core JavaScript 1.5 Reference:Objects:Array:forEach
3430
3431         See JavaScriptCore Changelog for details on the patch.
3432
3433         Reviewed by darin.
3434
3435         Test cases added:
3436         * layout-tests/fast/js/array-every-expected.txt: Added.
3437         * layout-tests/fast/js/array-every.html: Added.
3438         * layout-tests/fast/js/array-foreach-expected.txt: Added.
3439         * layout-tests/fast/js/array-foreach.html: Added.
3440         * layout-tests/fast/js/array-some-expected.txt: Added.
3441         * layout-tests/fast/js/array-some.html: Added.
3442
3443 2005-06-29  Bruce DiBello  <bdibello@apple.com>
3444
3445         Reviewed by Geoff Garen
3446
3447         Test cases added: added expected results for previous check in
3448
3449         * layout-tests/fast/dom/HTMLDocument/url/getset-expected.txt: Added.
3450
3451 2005-06-29  Geoffrey Garen  <ggaren@apple.com>
3452
3453         DOM compatibility tests for HTMLDocument::writeln
3454
3455         Reviewed by justing.
3456
3457         Test cases added: 
3458
3459         * layout-tests/fast/dom/HTMLDocument/writeln/call-expected.txt: Added.
3460         * layout-tests/fast/dom/HTMLDocument/writeln/call.html: Added.
3461         * layout-tests/fast/dom/HTMLDocument/writeln/multiple-calls-expected.txt: Added.
3462         * layout-tests/fast/dom/HTMLDocument/writeln/multiple-calls.html: Added.
3463
3464 2005-06-29  Bruce DiBello  <bdibello@apple.com>
3465
3466         Reviewed by Geoff Garen.
3467
3468         Test cases added: added DOM test for document.URL
3469
3470         * layout-tests/fast/dom/HTMLDocument/url/getset.html: Added.
3471
3472 2005-06-29  Geoffrey Garen  <ggaren@apple.com>
3473
3474         DOM compatibility tests for HTMLDocument::write
3475
3476         Reviewed by justing.
3477
3478         Test cases added: 
3479         * layout-tests/fast/dom/HTMLDocument/write/call-expected.txt: Added.
3480         * layout-tests/fast/dom/HTMLDocument/write/call.html: Added.
3481         * layout-tests/fast/dom/HTMLDocument/write/multiple-calls-expected.txt: Added.
3482         * layout-tests/fast/dom/HTMLDocument/write/multiple-calls.html: Added.
3483
3484 2005-06-29  Geoffrey Garen  <ggaren@apple.com>
3485
3486         DOM compatibility tests for HTMLDocument::title
3487
3488         Reviewed by justing.
3489
3490         Test cases added: 
3491         * layout-tests/fast/dom/HTMLDocument/title/get-expected.txt: Added.
3492         * layout-tests/fast/dom/HTMLDocument/title/get.html: Added.
3493         * layout-tests/fast/dom/HTMLDocument/title/set-expected.txt: Added.
3494         * layout-tests/fast/dom/HTMLDocument/title/set.html: Added.
3495
3496 2005-06-28  Maciej Stachowiak  <mjs@apple.com>
3497
3498         Reviewed by Darin.
3499
3500         Added iterator support to new hashtable class, the HashSet API is
3501         now essentially complete.
3502
3503         Added support for consistency check mode.
3504
3505         * khtml/misc/hashset.h:
3506         (khtml::HashSet::capacity): Added
3507         (khtml::HashSet::begin): Added (both const and non-const)
3508         (khtml::HashSet::end): Added (both const and non-const)
3509         (khtml::HashSet::insert): Made both versions return an iterator
3510         (khtml::HashSet::find): Added (both const and on-const, returning appropriate iterator)
3511         (khtml::HashSet::contains): Added
3512         (khtml::HashSet::remove): Added version that takes an iterator argument
3513         (khtml::HashSet::clear): Added
3514         * khtml/misc/hashtable.h:
3515         (khtml::HashTableIterator): New class with all the obvious iterator stuff.
3516         (khtml::HashTableConstIterator::HashTableConstIterator): New class with all the obvious
3517         const iterator stuff.
3518         (khtml::HashTable::begin): Added (both const and non-consts)
3519         (khtml::HashTable::end): Added (both const and non-consts)
3520         (khtml::HashTable::capacity): Added
3521         (khtml::HashTable::insert): Implement non-template method in terms
3522         of template method.
3523         (khtml::HashTable::contains): Added (implemented in terms of find)
3524         (khtml::HashTable::remove): Implemented key remove in terms of find and 
3525         iterator remove.
3526         (khtml::HashTable::hash): Made static
3527         (khtml::HashTable::equal): Made static
3528         (khtml::HashTable::identityConvert): Added - no-op convert method so template insert
3529         method can be implemented in terms of non-template
3530         (khtml::HashTable::insert): Changed to return iterator
3531         (khtml::HashTable::reinsert): Recoded to be more like the other functions
3532         (khtml::HashTable::find): Added
3533         (khtml::HashTable::remove): Added iterator version
3534         (khtml::HashTable::clear): Added
3535         * khtml/xml/dom_atomicstring.cpp:
3536         (DOM::AtomicString::add): Updated to deal with the fact that insert returns an iterator
3537         (khtml::HashTable::shouldExpand): New helper.
3538         (khtml::HashTable::shouldShrink): ditto
3539         (khtml::HashTable::makeIterator): ditto
3540         (khtml::HashTable::makeConstIterator): ditto
3541         (khtml::HashTable::checkConsistency): consistency check method
3542         (khtml::HashTable::checkConsistencyExceptSize): consistency check method
3543
3544 2005-06-29  Geoffrey Garen  <ggaren@apple.com>
3545
3546         -added test case for fix to http://bugzilla.opendarwin.org/show_bug.cgi?id=3743
3547         Incorrect error message given for certain calls
3548
3549         See JavaScriptCore Changelog for details about the patch.
3550
3551         Reviewed by me.
3552
3553         Test cases added: 
3554         * layout-tests/fast/js/toString-stack-overflow-expected.txt: Added.
3555         * layout-tests/fast/js/toString-stack-overflow.html: Added.
3556
3557 2005-06-29  Justin Garcia  <justin.garcia@apple.com>
3558
3559         - Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3714>
3560         HTMLLabelElement's form property isn't implemented
3561
3562         Patch by Anders Carlsson <andersca@mac.com>
3563
3564         Reviewed by Darin
3565
3566         Test cases added:
3567         * layout-tests/fast/dom/HTMLLabelElement/properties/form-expected.txt: Added.
3568         * layout-tests/fast/dom/HTMLLabelElement/properties/form.html: Added.
3569         
3570         * khtml/html/html_formimpl.cpp:
3571         (DOM::HTMLLabelElementImpl::form):
3572         Traverse upwards looking for a form element.
3573
3574 2005-06-29  Geoffrey Garen  <ggaren@apple.com>
3575
3576         Patch by Joost de Valk <webkit@joostdevalk.nl>
3577
3578         - http://bugzilla.opendarwin.org/show_bug.cgi?id=3732
3579         Testcase for accesskeys that will run with run-webkit-tests.
3580
3581         Reviewed by Darin.
3582
3583         Test cases added: 
3584         * layout-tests/fast/forms/access-key-expected.txt: Added.
3585         * layout-tests/fast/forms/access-key.html: Added.
3586
3587 2005-06-29  Justin Garcia  <justin.garcia@apple.com>
3588
3589         Patch by Anders Carlsson  <andersca@mac.com>
3590
3591         - Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3715>
3592         An HTMLObjectElement's form property was always null.
3593
3594         Reviewed by Darin
3595
3596         Test cases added:
3597         * layout-tests/fast/dom/htmlobject-form-expected.txt: Added.
3598         * layout-tests/fast/dom/htmlobject-form.html: Added.
3599
3600         * khtml/html/html_objectimpl.cpp:
3601         (DOM::HTMLObjectElementImpl::form):
3602         Implement this function by traversing the parent nodes looking
3603         for a form element.
3604
3605 2005-06-29  Geoffrey Garen  <ggaren@apple.com>
3606
3607         Patch by Antoine Quint <ml@graougraou.com>
3608
3609         -fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=3648
3610         quadraticCurveTo() method in <canvas> APIs JS bindings does not exist
3611
3612         Reviewed by Darin.
3613
3614         Test cases added: 
3615         * layout-tests/fast/dom/quadraticCurveTo-expected.txt: Added.
3616         * layout-tests/fast/dom/quadraticCurveTo.xml: Added.
3617
3618         * khtml/ecma/kjs_html.cpp:
3619
3620 2005-06-29  Geoffrey Garen  <ggaren@apple.com>
3621
3622         Patch by Hanspeter Schaub <Hanspeterschaub@mac.com>
3623
3624         -fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=3317
3625         REGRESSION: CSS2: outline is applied to both <li> element 
3626         and its enclosing text with context dependent selector
3627
3628         Reviewed by Hyatt.
3629
3630         Test cases added: 
3631         * layout-tests/fast/css/list-outline-expected.txt: Added.
3632         * layout-tests/fast/css/list-outline.html: Added.
3633
3634         * khtml/rendering/render_line.cpp:
3635         (khtml::InlineFlowBox::paint):
3636
3637 2005-06-28  Vicki Murley  <vicki@apple.com>
3638
3639         Reviewed by Maciej.
3640  
3641         - fix our part of <rdar://problem/4122332> extra HTTP GET when iframe requests file 
3642         already fetched by parent that should have been cached. Setting location via javascript
3643         should not signal a full reload of the destination page and all its subresources.
3644
3645         * khtml/khtml_part.cpp:
3646         (KHTMLPart::changeLocation): remove code that sets the reload flag
3647
3648 2005-06-28  Justin Garcia  <justin.garcia@apple.com>
3649
3650         Patch by Kevin Ballard <kevin@sb.org>
3651
3652         Reviewed by Darin
3653         
3654         - Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3654> 
3655         Updating the value of a textarea wasn't saving the cursor position 
3656         in a line ending-agnostic fashion.
3657
3658         Test cases added:
3659         * layout-tests/fast/forms/cursor-position-expected.txt: Added.
3660         * layout-tests/fast/forms/cursor-position.html: Added.
3661
3662         * kwq/KWQTextArea.mm:
3663         (-[KWQTextArea getCursorPositionAsIndex:inParagraph:]):
3664         (RangeOfParagraph):
3665         (-[KWQTextArea setCursorPositionToIndex:inParagraph:]):
3666
3667 2005-06-28  Justin Garcia  <justin.garcia@apple.com>
3668
3669         Patch by Alexey Proskuryakov <ap@nypop.com>
3670         
3671         - <http://bugzilla.opendarwin.org/show_bug.cgi?id=3727>
3672         When a DECODE_DEBUG preprocessor symbol is defined in khtml/misc/decoder.cpp, 
3673         compilation fails because a non-existent variable "force" is used.
3674
3675         Reviewed by Darin
3676
3677         Test cases added: None required
3678
3679         * khtml/misc/decoder.cpp:
3680         (Decoder::setEncoding):
3681
3682 2005-06-28  David Harrison  <harrison@apple.com>
3683
3684         Reviewed by Chris Blumenberg.
3685
3686         Test cases added: (NONE)
3687         
3688         (continued) <rdar://problem/4140688> assertion failure double-clicking text to select
3689         Fixed my checkin from yesterday.
3690
3691         * khtml/rendering/render_text.cpp:
3692         (InlineTextBox::paintMarkedTextBackground):
3693         (InlineTextBox::positionForOffset):
3694         Changed tabs to spaces.
3695         
3696         (RenderText::positionForCoordinates):
3697         Make sure affinity is downstream when in mid-line.
3698         Changed tabs to spaces.
3699
3700         (RenderText::caretRect):
3701         (RenderText::cacheWidths):
3702         (RenderText::trimmedMinMaxWidth):
3703         (RenderText::minXPos):
3704         (RenderText::width):
3705         (RenderText::caretMaxOffset):
3706         Changed tabs to spaces.
3707
3708         * layout-tests/editing/style/create-block-for-style-004-expected.txt:
3709         Expected ending selection affinity is downstream.
3710
3711 2005-06-27  Maciej Stachowiak  <mjs@apple.com>
3712
3713         Remove accidentally committed code that breaks the build. Oops!
3714
3715         * khtml/xml/dom_atomicstring.cpp:
3716         (DOM::AtomicString::expand):
3717         (DOM::AtomicString::shrink):
3718
3719 2005-06-26  Maciej Stachowiak  <mjs@apple.com>
3720
3721         Reviewed by Darin.
3722
3723         - replaced all our hash functions with the state of the art in hashing
3724         - ~1% speedup on cvs-base
3725         
3726         No test cases added, perf effects only.
3727
3728         * khtml/xml/dom_atomicstring.cpp:
3729         (DOM::AtomicStringStatisticsExitLogger::~AtomicStringStatisticsExitLogger):
3730         Improved stats gathering to track collisions in more detail and count reinserts
3731         on remove.
3732         (DOM::addToCollisionCount): ditto
3733         (DOM::AtomicString::add): ditto
3734         (DOM::AtomicString::insert): ditto
3735         (DOM::AtomicString::remove): ditto
3736         * khtml/xml/dom_stringimpl.cpp:
3737         (DOM::DOMStringImpl::computeHash): Replace with SuperFastHash algorithm.
3738         * kwq/KWQCharsets.mm:
3739         (encodingNameHash): Clean up mistaken shift in the wrong direction.
3740         * kwq/KWQString.h: Removed unused hashing code.
3741         * kwq/KWQString.mm: ditto
3742         * kwq/KWQTextCodec.mm:
3743         (QTextCodec::hash): Use a variant of the SuperFastHash algorithm.
3744
3745 2005-06-27  David Harrison  <harrison@apple.com>
3746
3747         Reviewed by Ken.
3748
3749         Test cases added: None because this relies on mouse clicking.
3750
3751         <rdar://problem/4140688> assertion failure double-clicking text to select
3752
3753         * khtml/rendering/render_text.cpp:
3754         (RenderText::positionForCoordinates):
3755         Use setAffinityUsingLinePosition.
3756
3757 2005-06-25  Darin Adler  <darin@apple.com>
3758
3759         - updated a layout test so that it doesn't depend on a remote resource via http
3760
3761         * layout-tests/fast/backgrounds/001.html: Change image URL to be relative.
3762         * layout-tests/fast/backgrounds/resources/bg_position_larger.gif: Added.
3763
3764 2005-06-24  Darin Adler  <darin@apple.com>
3765
3766         Changes by Mitz Pettel.
3767         Reviewed by me.
3768
3769         Test cases added:
3770         * layout-tests/fast/text/international/bidi-explicit-embedding-expected.txt: Added.
3771         * layout-tests/fast/text/international/bidi-explicit-embedding.html: Added.
3772
3773         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3599>
3774           Incorrect layout of explicit embedding levels
3775
3776         * khtml/rendering/bidi.cpp:
3777         (khtml::embed): Set up the new run correctly following an embed/pop.
3778         (khtml::RenderBlock::bidiReorderLine): Close the "dangling" run when we see an explicit
3779         embedding character (or PDF).
3780
3781 2005-06-24  Darin Adler  <darin@apple.com>
3782
3783         Changes by Mitz Pettel.
3784         Reviewed by me.
3785
3786         Test cases added:
3787         * layout-tests/fast/text/international/bidi-CS-after-AN-expected.txt: Added.
3788         * layout-tests/fast/text/international/bidi-CS-after-AN.html: Added.
3789
3790         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3693>
3791           Bug_72578 in KHTML: bidi algorithm misbehaves with CS after AN
3792
3793         * khtml/rendering/bidi.cpp: (khtml::RenderBlock::bidiReorderLine): Rolled in the
3794         patch from the KDE tree.
3795
3796 2005-06-24  Justin Garcia  <justin.garcia@apple.com>
3797
3798         - <http://bugzilla.opendarwin.org/show_bug.cgi?id=3673> 
3799             Adds QBuffer::setBuffer(QByteArray) support to KWQBuffer, and adds a QBuffer(QByteArray) constructor.
3800
3801         Reviewed by Darin
3802
3803         Test cases added: Non required
3804
3805         * kwq/KWQBuffer.h:
3806         (QBuffer::QBuffer):
3807         * kwq/KWQBuffer.mm:
3808         (QBuffer::setBuffer):
3809
3810 2005-06-24  Justin Garcia  <justin.garcia@apple.com>
3811
3812         - <http://bugzilla.opendarwin.org/show_bug.cgi?id=3672> KWQRect -- CGRect and other small additions
3813         - <http://bugzilla.opendarwin.org/show_bug.cgi?id=3670> Add remove and byteOrderMark support to KWQString for kdom
3814
3815         Reviewed by Darin
3816
3817         Test cases added: None required
3818
3819         * kwq/KWQRect.h:
3820         (QRect::contains):
3821         * kwq/KWQRect.mm:
3822         (QRect::QRect):
3823         (QRect::topRight):
3824         (QRect::bottomLeft):
3825         (QRect::normalize):
3826         (QRect::operator CGRect):
3827         * kwq/KWQString.h:
3828         (QChar::):
3829         (QString::remove):
3830
3831 2005-06-24  Darin Adler  <darin@apple.com>
3832
3833         Reviewed by Justin Garcia.
3834
3835         - fixed <rdar://problem/4151619> Safari changes "\" characters to "/" in the query part of links that start with "?"
3836
3837         Test cases added:
3838         * layout-tests/fast/dom/anchor-backslash-expected.txt: Added.
3839         * layout-tests/fast/dom/anchor-backslash.html: Added.
3840
3841         * kwq/KWQKURL.mm: (substituteBackslashes): Fix error where we'd ignore
3842         "?" and "#" characters if they were the first character in the string.
3843
3844 2005-06-23  Darin Adler  <darin@apple.com>
3845
3846         * khtml/html/html_formimpl.cpp: (DOM::HTMLTextAreaElementImpl::setValue):
3847         Took out an unneeded type cast (meant to do that before committing).
3848
3849 2005-06-23  Kevin Ballard  <kevin@sb.org>
3850
3851         Reviewed and landed by Darin Adler.
3852
3853         Test cases added:
3854         * layout-tests/fast/forms/selection-functions-expected.txt: Added.
3855         * layout-tests/fast/forms/selection-functions.html: Added.
3856         * layout-tests/fast/forms/textarea-crlf-expected.txt: Added.
3857         * layout-tests/fast/forms/textarea-crlf.html: Added.
3858
3859         - Fixes bug <http://bugzilla.opendarwin.org/show_bug.cgi?id=3401>.
3860           Also fixes issue where setting text of a textarea in code and then
3861           retrieving it would leave the \r\n sequences in the text, despite
3862           the textarea translating to \n in all other cases.
3863
3864         * khtml/ecma/kjs_html.h:
3865         * khtml/ecma/kjs_html.cpp:
3866         (KJS::getInputSelectionStart):
3867         (KJS::getInputSelectionEnd):
3868         (KJS::KJS::HTMLElement::getValueProperty):
3869         (KJS::KJS::HTMLElement::hasProperty):
3870         (KJS::KJS::HTMLElementFunction::tryCall):
3871         (KJS::HTMLElement::putValue):
3872         * khtml/html/html_formimpl.cpp:
3873         (DOM::HTMLInputElementImpl::canHaveSelection):
3874         (DOM::HTMLInputElementImpl::selectionStart):
3875         (DOM::HTMLInputElementImpl::selectionEnd):
3876         (DOM::HTMLInputElementImpl::setSelectionStart):
3877         (DOM::HTMLInputElementImpl::setSelectionEnd):
3878         (DOM::HTMLInputElementImpl::setSelectionRange):
3879         (DOM::HTMLInputElementImpl::setValue):
3880         (DOM::HTMLTextAreaElementImpl::selectionStart):
3881         (DOM::HTMLTextAreaElementImpl::selectionEnd):
3882         (DOM::HTMLTextAreaElementImpl::setSelectionStart):
3883         (DOM::HTMLTextAreaElementImpl::setSelectionEnd):
3884         (DOM::HTMLTextAreaElementImpl::setSelectionRange):
3885         (DOM::HTMLTextAreaElementImpl::setValue):
3886         * khtml/html/html_formimpl.h:
3887         * khtml/rendering/render_form.cpp:
3888         (RenderLineEdit::selectionStart):
3889         (RenderLineEdit::selectionEnd):
3890         (RenderLineEdit::setSelectionStart):
3891         (RenderLineEdit::setSelectionEnd):
3892         (RenderLineEdit::setSelectionRange):
3893         (RenderTextArea::selectionStart):
3894         (RenderTextArea::selectionEnd):
3895         (RenderTextArea::setSelectionStart):
3896         (RenderTextArea::setSelectionEnd):
3897         (RenderTextArea::select):
3898         (RenderTextArea::setSelectionRange):
3899         * khtml/rendering/render_form.h:
3900         * kwq/KWQLineEdit.h:
3901         * kwq/KWQLineEdit.mm:
3902         (QLineEdit::setCursorPosition):
3903         (QLineEdit::cursorPosition):
3904         (QLineEdit::selectAll):
3905         (QLineEdit::selectionStart):
3906         (QLineEdit::selectedText):
3907         (QLineEdit::setSelection):
3908         * kwq/KWQTextArea.h:
3909         * kwq/KWQTextArea.mm:
3910         (-[KWQTextArea setSelectedRange:]):
3911         (-[KWQTextArea selectedRange]):
3912         (-[KWQTextArea getCursorPositionAsIndex:inParagraph:]):
3913         (RangeOfParagraph):
3914         * kwq/KWQTextEdit.h:
3915         * kwq/KWQTextEdit.mm:
3916         (QTextEdit::getCursorPosition):
3917         (QTextEdit::selectionStart):
3918         (QTextEdit::selectionEnd):
3919         (QTextEdit::setSelectionStart):
3920         (QTextEdit::setSelectionEnd):
3921         (QTextEdit::selectAll):
3922         (QTextEdit::setSelectionRange):
3923         * kwq/KWQTextField.h:
3924         * kwq/KWQTextField.mm:
3925         (-[KWQTextFieldController selectedRange]):
3926         (-[KWQTextFieldController setSelectedRange:]):
3927
3928 2005-06-23  Justin Garcia  <justin.garcia@apple.com>
3929
3930         Patch by Eric Seidel <macdome@opendarwin.org>
3931
3932         Adds QTextIStream, QTextOStream to KWQ
3933
3934         Reviewed by Darin
3935
3936         Test cases added: None required
3937
3938         * kwq/KWQTextStream.h:
3939         (QTextIStream::QTextIStream):
3940         (QTextOStream::QTextOStream):
3941
3942 2005-06-23  Justin Garcia  <justin.garcia@apple.com>
3943
3944         Patch by Eric Seidel <macdome@opendarwin.org>
3945
3946         This patch contains several small additions to KWQ
3947
3948         Reviewed by Darin
3949
3950         Test cases added: None required
3951
3952         * kwq/KWQApplication.h:
3953         (QApplication::palette):
3954         * kwq/KWQDateTime.h:
3955         (QDateTime::time):
3956         * kwq/KWQDict.h:
3957         (QDict::operator[]):
3958         (QDictIterator::operator*):
3959         * kwq/KWQKDebug.h:
3960         (kdbgstream::operator<<):
3961         * kwq/KWQMemArray.h:
3962         (QMemArray::duplicate):
3963
3964 2005-06-23  David Harrison  <harrison@apple.com>
3965
3966         Test cases added: None needed for this debug-only utility code.
3967
3968         - Make showTree() const.
3969         - Add showTree() for InlineBox.
3970         - Add showTree() for RenderObject.
3971
3972         * khtml/editing/selection.cpp:
3973         (khtml::Selection::showTree):
3974         * khtml/editing/selection.h:
3975         * khtml/editing/visible_position.cpp:
3976         (khtml::VisiblePosition::showTree):
3977         * khtml/editing/visible_position.h:
3978         Make showTree() const.
3979         
3980         * khtml/rendering/render_line.cpp:
3981         (khtml::InlineBox::showTree):
3982         * khtml/rendering/render_line.h:
3983         Add showTree() for InlineBox.
3984         
3985         * khtml/rendering/render_object.cpp:
3986         (RenderObject::showTree):
3987         * khtml/rendering/render_object.h:
3988         Add showTree() for RenderObject.
3989         
3990         * khtml/xml/dom_nodeimpl.cpp:
3991         (appendAttributeDesc):
3992         (NodeImpl::showNode):
3993         (NodeImpl::showTree):
3994         (NodeImpl::showTreeAndMark):
3995         * khtml/xml/dom_nodeimpl.h:
3996         Make showTree() const.