1. 14 Jul, 2005 6 commits
    • ggaren's avatar
      -rolled in patches for http://bugzilla.opendarwin.org/show_bug.cgi?id=3945 · 07d4ce61
      ggaren authored
              [PATCH] Safe merges of comments and other trivialities from KDE's kjs
      
              -patch by Martijn Klingens <klingens@kde.org>
      
              * kjs/array_instance.h:
              * kjs/array_object.cpp:
              * kjs/array_object.h:
              * kjs/bool_object.cpp:
              * kjs/bool_object.h:
              * kjs/collector.cpp:
              * kjs/collector.h:
              * kjs/completion.h:
              * kjs/context.h:
              * kjs/date_object.cpp:
              * kjs/date_object.h:
              * kjs/debugger.cpp:
              * kjs/debugger.h:
              * kjs/dtoa.h:
              * kjs/error_object.cpp:
              * kjs/error_object.h:
              * kjs/function.cpp:
              * kjs/function.h:
              * kjs/function_object.cpp:
              * kjs/function_object.h:
              * kjs/grammar.y:
              * kjs/identifier.cpp:
              * kjs/identifier.h:
              * kjs/internal.cpp:
              * kjs/internal.h:
              * kjs/interpreter.cpp:
              * kjs/interpreter.h:
              * kjs/interpreter_map.cpp:
              * kjs/interpreter_map.h:
              * kjs/lexer.cpp:
              * kjs/lexer.h:
              * kjs/list.cpp:
              * kjs/list.h:
              * kjs/lookup.cpp:
              * kjs/lookup.h:
              * kjs/math_object.cpp:
              * kjs/math_object.h:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/nodes2string.cpp:
              * kjs/number_object.cpp:
              * kjs/number_object.h:
              * kjs/object.cpp:
              * kjs/object.h:
              * kjs/object_object.cpp:
              * kjs/object_object.h:
              * kjs/operations.cpp:
              * kjs/operations.h:
              * kjs/property_map.cpp:
              * kjs/property_map.h:
              * kjs/reference.cpp:
              * kjs/reference.h:
              * kjs/reference_list.cpp:
              * kjs/reference_list.h:
              * kjs/regexp.cpp:
              * kjs/regexp.h:
              * kjs/regexp_object.cpp:
              * kjs/regexp_object.h:
              * kjs/scope_chain.cpp:
              * kjs/scope_chain.h:
              * kjs/simple_number.h:
              * kjs/string_object.cpp:
              * kjs/string_object.h:
              * kjs/testkjs.cpp:
              * kjs/types.h:
              * kjs/ustring.cpp:
              * kjs/ustring.h:
              * kjs/value.cpp:
              * kjs/value.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07d4ce61
    • ggaren's avatar
      -fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3970 · 277d8507
      ggaren authored
              throw statements fail inside eval statements
      
              Reviewed by mjs.
      
              * kjs/function.cpp:
              (KJS::GlobalFuncImp::call):
              Big change since I fixed the tabbing. The important part is:
              if (c.complType() == Throw)
                exec->setException(c.value());
      
              * kjs/nodes.cpp:
              (ThrowNode::execute): removed duplicate KJS_CHECKEXCEPTION
              (TryNode::execute):
              try now clears the exception state before the finally block executes,
              and checks the state after the block executes, so that exceptions in
              finally code get caught.
      
              * tests/mozilla/expected.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      277d8507
    • vicki's avatar
      - added manual tests for <rdar://problem/4172380> [GENENTECH] window.opener not available · cda16870
      vicki authored
      	when child opened via target="_new"
      
      	Test cases added:
              * manual-tests/target_new-1.html: Added.
              * manual-tests/target_new.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cda16870
    • ggaren's avatar
      - landed fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=3677> · a405b175
      ggaren authored
              Safari fail to access a second time an element whose content was dynamically modified.
      
              - patch by Anders Carlsson <andersca@mac.com>.
      
              Reviewed by mjs + darin.
      
              Test cases added:
              * layout-tests/fast/dom/ids/duplicate-ids-expected.txt: Added.
              * layout-tests/fast/dom/ids/duplicate-ids.html: Added.
      
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::getElementById):
              If no element in the id dict can be found and we know that there's
              at least one other element with the same id around, then traverse the document
              and insert the new element in the id table.
      
              (DocumentImpl::addElementById):
              (DocumentImpl::removeElementById):
              Increment and decrement the id count accordingly.
      
              * khtml/xml/dom_docimpl.h:
              Add QDict for id counts. Make element QDict mutable.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a405b175
    • ggaren's avatar
      JavaScriptCore: · 5b8ed8bb
      ggaren authored
      	-landed fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3412
      	Object.prototype is missing toLocaleString
      
      	- patch by Mark Rowe (bdash) <opendarwin.org@bdash.net.nz>
      
      	-layout test info in webcore changelog
      
              Reviewed by mjs.
      
              * kjs/object_object.cpp:
              (ObjectPrototypeImp::ObjectPrototypeImp):
              (ObjectProtoFuncImp::call):
              * kjs/object_object.h:
              (KJS::ObjectProtoFuncImp::):
      
      WebCore:
      
      	-landed layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3412
      	Object.prototype is missing toLocaleString
      
              Reviewed by mjs.
      
              Test cases added:
              * layout-tests/fast/js/object-prototype-toLocaleString-expected.txt: Added.
              * layout-tests/fast/js/object-prototype-toLocaleString.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b8ed8bb
    • vicki's avatar
      WebCore: · 495471b5
      vicki authored
              Reviewed by Kocienda.
      
              - WebCore part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener
              not available when child opened via target="_new"
      
              Add a setOpener function to the WebCore bridge, and call this function when opening
              new windows through Web Kit.
      
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
      
      WebKit:
      
              Reviewed by Kocienda.
      
      	- WebKit part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener
      	not available when child opened via target="_new"
      
      	Add a setOpener function to the WebCore bridge, and call this function when opening
      	new windows through Web Kit.
      
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _continueLoadRequestAfterNewWindowPolicy:frameName:formState:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      495471b5
  2. 13 Jul, 2005 7 commits
    • mjs's avatar
      Reviewed by Kevin. · bc05302e
      mjs authored
              - convert some more things to use the new hashtable
      
              * khtml/ecma/kjs_binding.cpp:
              (KJS::domObjects):
              (KJS::domNodesPerDocument):
              (KJS::ScriptInterpreter::getDOMObject):
              (KJS::ScriptInterpreter::putDOMObject):
              (KJS::ScriptInterpreter::deleteDOMObject):
              (KJS::ScriptInterpreter::forgetDOMObject):
              (KJS::ScriptInterpreter::getDOMNodeForDocument):
              (KJS::ScriptInterpreter::forgetDOMNodeForDocument):
              (KJS::ScriptInterpreter::putDOMNodeForDocument):
              (KJS::ScriptInterpreter::forgetAllDOMNodesForDocument):
              (KJS::ScriptInterpreter::mark):
              (KJS::ScriptInterpreter::updateDOMNodeDocument):
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_window.h: Include QPtrDict header
              * khtml/ecma/xmlhttprequest.h: ditto
      
      	- fix a bug with remove of a nonexistent key - it used to trash
      	the table
      
              * khtml/misc/hashtable.h:
              (khtml::::remove):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc05302e
    • justing's avatar
      Reviewed by John · 33af0338
      justing authored
              Rolling in changes necessary to build with newer versions of gcc 4.0
      
              * History.subproj/WebHistoryItem.m:
              (-[WebHistoryItem copyWithZone:]):
              * Misc.subproj/WebNSPasteboardExtras.m:
              (-[NSPasteboard _web_writeImage:URL:title:archive:types:]):
              * Misc.subproj/WebNSURLExtras.m:
              (-[NSURL _web_URLWithLowercasedScheme]):
              (-[NSString _web_mapHostNameWithRange:encode:makeString:]):
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge MIMETypeForPath:]):
              * WebCoreSupport.subproj/WebImageRendererFactory.m:
              (-[WebImageRendererFactory imageRendererWithBytes:length:MIMEType:]):
              * WebCoreSupport.subproj/WebTextRenderer.m:
              (-[WebTextRenderer initWithFont:usingPrinterFont:]):
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _webDataRequestForData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView _styleFromFontAttributes:]):
              * WebView.subproj/WebView.m:
              (-[WebView _writeImageElement:withPasteboardTypes:toPasteboard:]):
              (-[WebView mainFrameTitle]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33af0338
    • justing's avatar
      Reviewed by mjs · cb372689
      justing authored
              Rolled in workarounds necessary to build with a gcc 4.0 regression introduced in build 5208:
              <rdar://problem/4175534> Regression in gcc-5208 "comparison of distinct Objective-C types lacks a cast" warning
              Problems overloading methods that take Objective-C typed arguments
      
              * kwq/KWQCursor.h:
              * kwq/KWQCursor.mm:
              (QCursor::makeWithNSCursor):
              * kwq/KWQKCursor.mm:
              (KCursor::crossCursor):
              (KCursor::handCursor):
              (KCursor::sizeAllCursor):
              (KCursor::ibeamCursor):
              (KCursor::waitCursor):
              (KCursor::whatsThisCursor):
              (KCursor::eastResizeCursor):
              (KCursor::northResizeCursor):
              (KCursor::northEastResizeCursor):
              (KCursor::northWestResizeCursor):
              (KCursor::southResizeCursor):
              (KCursor::southEastResizeCursor):
              (KCursor::southWestResizeCursor):
              (KCursor::westResizeCursor):
              * kwq/KWQKJobClasses.mm:
              (KIO::TransferJob::emitResult):
              (KIO::TransferJob::emitReceivedResponse):
              * kwq/KWQSignal.h:
              * kwq/KWQSignal.mm:
              (KWQSignal::callWithData):
              (KWQSignal::callWithResponse):
              * kwq/KWQSlot.h:
              * kwq/KWQSlot.mm:
              (KWQSlot::callWithData):
              (KWQSlot::callWithResponse):
              * kwq/KWQWidget.mm:
              (QWidget::cursor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb372689
    • justing's avatar
      Reviewed by mjs · 5c5a2104
      justing authored
              Rolling in changes necessary to build with newer versions of gcc 4.0
      
              * kwq/DOM-CSS.mm:
              (+[DOMCSSPrimitiveValue _valueWithImpl:]):
              * kwq/DOMEvents.h:
              * kwq/DOMInternal.h:
              (addDOMWrapper):
              * kwq/KWQButton.mm:
              (QButton::setWritingDirection):
              * kwq/KWQClipboard.mm:
              (KWQClipboard::dragNSImage):
              * kwq/KWQComboBox.mm:
              (QComboBox::setWritingDirection):
              (QComboBox::populateMenu):
              * kwq/KWQKHTMLPart.mm:
              (regExpForLabels):
              (KWQKHTMLPart::passWidgetMouseDownEventToWidget):
              (KWQKHTMLPart::fileWrapperForElement):
              * kwq/KWQLineEdit.mm:
              (QLineEdit::QLineEdit):
              * kwq/KWQListBox.mm:
              (QListBox::~QListBox):
              (QListBox::setSelectionMode):
              (QListBox::doneAppendingItems):
              (QListBox::setSelected):
              (QListBox::isSelected):
              (QListBox::setEnabled):
              (QListBox::sizeForNumberOfLines):
              (QListBox::setWritingDirection):
              * kwq/KWQScrollView.mm:
              (QScrollView::contentsX):
              (QScrollView::contentsY):
              * kwq/KWQTextArea.mm:
              (-[KWQTextArea _trackResizeFromMouseDown:]):
              (-[KWQTextAreaTextView _enclosingTextArea]):
              (-[KWQTextAreaTextView _resizeCornerRect]):
              * kwq/KWQTextEdit.mm:
              (QTextEdit::setAlignment):
              (QTextEdit::setWritingDirection):
              (QTextEdit::sizeWithColumnsAndRows):
              (QTextEdit::setPalette):
              * kwq/KWQWidget.mm:
              (QWidget::hasFocus):
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge elementAtPoint:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c5a2104
    • sullivan's avatar
      Reviewed by Maciej Stachowiak. · c9c41095
      sullivan authored
              - cleaned up Find-related experimental code that I checked in a while back
      
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView searchFor:direction:caseSensitive:wrap:]):
              remove variant of this method that had findInSelection flag; this method is now
              the same as it was on Tiger.
      
              * WebView.subproj/WebView.m:
              (-[WebView searchFor:direction:caseSensitive:wrap:]):
              ditto
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9c41095
    • sullivan's avatar
      Reviewed by Maciej Stachowiak. · ae0ff186
      sullivan authored
              - cleaned up Find-related experimental code that I checked in a while back
      
              * kwq/KWQKHTMLPart.h:
              remove findInSelection flag from findString()
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::findString):
              remove findInSelection flag. Always search the selection first, but if the found range is
              the same as the selection range, then search again from beyond the selection.
      
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge searchFor:direction:caseSensitive:wrap:]):
              remove findInSelection flag
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae0ff186
    • adele's avatar
      Reviewed by John. · 74d6f806
      adele authored
              Fixed <rdar://problem/4170963> Focusing a field unnecessarily horizontally scrolls
      
              Horizontal scrolling while tabbing through forms can be surprising, and distracting.  This
              change will minimize that scrolling if we're not explicitly trying to center a rectangle in
              _KWQ_scrollRectToVisible.
      
              Test cases added: None.  This test case involves tabbing to form controls and scrolling.
      
              * kwq/KWQNSViewExtras.m: (-[NSClipView _KWQ_scrollRectToVisible:inView:forceCentering:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74d6f806
  3. 12 Jul, 2005 11 commits
    • kdecker's avatar
      Reviewed by cblu. · 130f8adb
      kdecker authored
      	Fixed:
      	  http://bugzilla.opendarwin.org/show_bug.cgi?id=3968
      	 <rdar://problem/4172645> REGRESSION: top frame only loads at banking site - http://www.skandiabanken.no
      
              Test cases added: None; This fixes a race condition that is not reproducible locally.
      
              * khtml/khtml_part.cpp:
              (KHTMLPart::scheduleLocationChange): If a redirect was scheduled during a load, then stop the current load. Otherwise when the current load transitions from a provisional to a committed state, pending redirects may be cancelled.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      130f8adb
    • eseidel's avatar
      Submitted by: eseidel · b06848d0
      eseidel authored
      Reviewed by: mjs
              * checkout-svg: Fixed error with symlink creation.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b06848d0
    • eseidel's avatar
      Submitted by: eseidel · d475c456
      eseidel authored
      Reviewed by: mjs
              * checkout-svg: Added.
              Script to check out WebCore+SVG
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d475c456
    • bdakin's avatar
      Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3942 and marquee problems in Radar bug · 34d16016
      bdakin authored
      	4172312. Vertical marquees default to 200px, and horizontal marquees do not allow text to be
      	truncated by a too-small height attribute.
      
              Reviewed by Hyatt.
      
              Test cases added: (NONE)
      
              * khtml/html/html_blockimpl.cpp: deleted former changes to make marquee height work correctly.
              (HTMLMarqueeElementImpl::mapToEntry):
              (HTMLMarqueeElementImpl::parseMappedAttribute):
              * khtml/rendering/render_layer.cpp: this is where the height issues are now addressed
              (Marquee::updateMarqueeStyle):
              * khtml/rendering/render_layer.h:
              (khtml::):
              * khtml/rendering/render_style.h: added function fontSize()
              (khtml::RenderStyle::fontSize):
              * khtml/xml/dom_elementimpl.h: deleted addition of EMarquee hash key
              (DOM::):
              * layout-tests/fast/css/MarqueeLayoutTest-expected.txt:
              * layout-tests/fast/css/MarqueeLayoutTest.html: added vertical marquees to test.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34d16016
    • ggaren's avatar
      Reviewed by mjs. · 419c2a90
      ggaren authored
              * kjs/function.cpp:
              (KJS::IndexToNameMap::operator[]): fixed infinite recursion
              bug in last checkin
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      419c2a90
    • ggaren's avatar
      Test cases modified: · 0b7e1ac7
      ggaren authored
              * layout-tests/fast/frames/iframe-name-and-id.html:
              now tests dynamically creating frames[x].name
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b7e1ac7
    • ggaren's avatar
      WebCore: · fbb2041b
      ggaren authored
              Added layout test for
              http://bugzilla.opendarwin.org/show_bug.cgi?id=3435
              Parentheses are backwards in Hebrew text (no bidi mirroring?)
      
              Test is manual because results only reflect visually -
              the layout is the same either way.
      
              Test cases added:
              * manual-tests/bidi-parens.html: Added.
      
      WebKit:
      
              -rolled in patch by opendarwin.org@mitzpettel.com
              for http://bugzilla.opendarwin.org/show_bug.cgi?id=3435
              Parentheses are backwards in Hebrew text (no bidi mirroring?)
      
              Reviewed by mjs.
      
              Layout test added to WebCore.
      
              * WebCoreSupport.subproj/WebTextRenderer.h:
              * WebCoreSupport.subproj/WebTextRenderer.m:
              (-[WebTextRenderer _initializeATSUStyle]):
              (applyMirroringToRun):
              (-[WebTextRenderer _ATSU_drawHighlightForRun:style:geometry:]):
              (-[WebTextRenderer _ATSU_drawRun:style:geometry:]):
              (-[WebTextRenderer _ATSU_pointToOffset:style:position:reversed:includePartialGlyphs:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbb2041b
    • ggaren's avatar
      -fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3881 · c5fb7ed5
      ggaren authored
              arguments object should share values with function parameters
      
              Reviewed by mjs.
      
              ArgumentsImp now uses a simple hash lookup to share values
              with the activation object.
      
              * kjs/function.cpp:
              (KJS::FunctionImp::getParameterName):
              (KJS::IndexToNameMap::IndexToNameMap):
              (KJS::IndexToNameMap::~IndexToNameMap):
              (KJS::IndexToNameMap::isMapped):
              (KJS::IndexToNameMap::unMap):
              (KJS::IndexToNameMap::operator[]):
              (KJS::ArgumentsImp::ArgumentsImp):
              (KJS::ArgumentsImp::mark):
              (KJS::ArgumentsImp::get):
              (KJS::ArgumentsImp::put):
              (KJS::ArgumentsImp::deleteProperty):
              (KJS::ArgumentsImp::hasOwnProperty):
              (KJS::ActivationImp::createArgumentsObject):
              * kjs/function.h:
              * tests/mozilla/expected.html: updated results
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5fb7ed5
    • kocienda's avatar
      Reviewed by me · 2534c6e0
      kocienda authored
              Test cases added: (NONE)
      
              * kwq/KWQTextCodec.mm: Fix build breakage. /me is a real genius.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2534c6e0
    • kocienda's avatar
      WebCore: · 50d2fddb
      kocienda authored
              Reviewed by Chris Blumenberg
      
              Test cases added: (NONE)
      
              Switched over from TEC to ICU for unicode text conversion. TEC support has now been
              removed from KWQTextCodec. I just added this dual support yesterday, and while Maciej
              and I agreed that it was good to land in the tree in case we run into problems in the
              near future, we also agreed that cutting over to using ICU full time right now is
              probably the best way to find bugs.
      
              * kwq/KWQTextCodec.mm: Removed TEC support.
              (QTextCodec::fromUnicode): Ditto.
              (KWQTextDecoder::KWQTextDecoder): Ditto.
              (KWQTextDecoder::~KWQTextDecoder): Ditto.
              (KWQTextDecoder::convert): Ditto.
              * kwq/WebCoreBridge.h: Removed some glue that allowed the converters to
              be changed at runtime.
              * kwq/WebCoreTextConversionMethod.h: Removed. This also was glue for the runtime switch.
              * WebCore.pbproj/project.pbxproj: Removed WebCoreTextConversionMethod.h file.
      
      WebKit:
      
              Reviewed by Chris Blumenberg
      
              * WebCoreSupport.subproj/WebBridge.m: Removed some glue that allowed one
              of two unicode (TEC or ICU ) to be chosen at runtime. I just added this
              dual support yesterday, and while Maciej and I agreed that it was good
              to land in the tree in case we run into problems in the near future, we
              also agreed that cutting over to using ICU full time right now is
              probably the best way to find bugs.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50d2fddb
    • eseidel's avatar
      Bug #: 3961 · 93f43546
      eseidel authored
      Submitted by: andersca
      Reviewed by: hyatt
              * icu/unicode/ucnv.h: Added.
              * icu/unicode/ucnv_err.h: Added.
              Fixes build break for externals caused by KWQTextCodec.mm changes.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=3961
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93f43546
  4. 11 Jul, 2005 10 commits
    • eseidel's avatar
      Bug #: 3959 · 18e3c2a1
      eseidel authored
      Submitted by: eseidel
      Reviewed by: adele
              * kdom/Namespace.h: Merged in XPath 2.0 namespace def from KDE.
              * kdom/Shared.h: Merged in comments from KDE.
              * kdom/kdom.h: Changed local // to use #ifndef APPLE_CHANGES
              (KDOM::operator<<):
              A tiny batch of changes I wished to commit before moving
              WebCore/kdom to SVGSupport/kdom.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18e3c2a1
    • ggaren's avatar
      -fixed rdar://problem/4170960 · 0dd88161
      ggaren authored
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=3952
      	iFrame name and id information incorrectly returned
      
      	Reviewed by mjs.
      
              Test cases added: (NONE)
              * layout-tests/fast/frames/iframe-name-and-id-expected.txt: Added.
              * layout-tests/fast/frames/iframe-name-and-id.html: Added.
      
              * ChangeLog:
              * khtml/html/html_baseimpl.cpp:
              (HTMLFrameElementImpl::attach): removed misleading comment
              (HTMLIFrameElementImpl::attach): copied FrameElementImpl behavior
      	for initializing m_name
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0dd88161
    • kocienda's avatar
      WebCore: · 676114c8
      kocienda authored
              Reviewed by Richard
      
              Test cases added: (NONE)
      
              * WebCore.pbproj/project.pbxproj:
              * kwq/KWQLogging.h: Added constant for logging text conversions.
              * kwq/KWQLogging.m: Ditto.
              * kwq/KWQTextCodec.mm: Added support for using the ICU library for unicode text conversion.
              (KWQTextDecoder::KWQTextDecoder): Check for conversion method to use.
              (KWQTextDecoder::~KWQTextDecoder): Release ICU converter if needed.
              (KWQTextDecoder::convertUTF16): Use constant rather in place of hard-coded buffer size.
              (KWQTextDecoder::createTECConverter): Name change: qualify converter names with TEC suffix.
              (KWQTextDecoder::createICUConverter): New function to create an ICU converter.
              (KWQTextDecoder::convertOneChunkUsingTEC): Name change: qualify converter names with TEC suffix.
              (KWQTextDecoder::convertUsingTEC): Ditto. Also, use constant rather in place of hard-coded buffer size.
              (KWQTextDecoder::convertUsingICU): New function to convert text using ICU.
              (KWQTextDecoder::convert): Now switches on converters, picking either TEC or ICU.
              * kwq/WebCoreBridge.h: Add -textConversionMethod accessor so KWQTextDecoder can pick the right converter.
              * kwq/WebCoreTextConversionMethod.h: Added.
      
      WebKit:
      
              Reviewed by Richard
      
              * WebCoreSupport.subproj/WebBridge.m:
              (+[WebBridge setTextConversionMethod:]): New method to support switching text conversion method.
              (+[WebBridge textConversionMethod]): Returns current text conversion method.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      676114c8
    • kocienda's avatar
      Reviewed by me · 848d6a33
      kocienda authored
              Test cases added: (NONE)
      
              * WebCore.pbproj/project.pbxproj: Fix project file.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      848d6a33
    • kdecker's avatar
      q: how hard is to to land a comment? · 76f2b716
      kdecker authored
      a: really hard, if you haven't had coffee.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76f2b716
    • kdecker's avatar
      revised comment from previous check in.. · 0c70d1b0
      kdecker authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c70d1b0
    • kdecker's avatar
      Reviewed by cblu and mjs. · f8927f4b
      kdecker authored
      	Fixed: <rdar://problem/4099552> REGRESSION: Safari 1.3 Netscape API NPN_PostURL[Notify] no longer allows manual headers
      
      	Most plugins (flash) send 2 CRFL's between the header and body of their POST requests, while the adboe plugin sends two LF's. This caused us to send custom headers as part of the actual POST data itself, and correspondently, would skew Content-Length.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[NSData _web_locationAfterFirstBlankLine]): Look for two LF's as well
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8927f4b
    • kocienda's avatar
      Reviewed by me · f556a36b
      kocienda authored
              Test cases added: (NONE)
      
              * WebCore.pbproj/project.pbxproj: Fix erroneously-committed project file.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f556a36b
    • kocienda's avatar
      Merged in changes from the opensource tree. · d9a9ff74
      kocienda authored
              2005-07-10  Maciej Stachowiak  <mjs@apple.com>
      
                      Reviewed by John.
      
                      * khtml/html/htmltokenizer.cpp:
                      (khtml::HTMLTokenizer::parseTag): Don't allow !doctype as a tag name, this screws up
                  parsing and makes !doctype elements and extra text nodes get added to the DOM.
                      * khtml/xml/dom_atomicstring.cpp:
                      (DOM::AtomicString::equal): Add some nil checks, now that the equal this calls
                  no longer checks for nil.
      
              2005-07-09  Timothy Hatcher  <timothy@colloquy.info>
      
                      Reviewed and landed by Maciej.
      
                  Fixed a build error with GCC4 and the use of _M_type.
      
                      * khtml/misc/hashtraits.h:
                      Test for GCC4 and use the new __value enum from _M_type.
      
              2005-07-09  David Hyatt  <hyatt@apple.com>
      
                  Make sure to keep eLastEntry at the end of the list, since it is used for the dynamic portion of the
                  hash.
      
                      Reviewed by mjs
      
              2005-07-09  Maciej Stachowiak  <mjs@apple.com>
      
                      Reviewed by Eric Seidel.
      
                      - removed unused files
      
                      * kdom/impl/NodeKeeper.cc: Removed.
                      * kdom/impl/NodeKeeper.h: Removed.
                      * WebCore.pbproj/project.pbxproj: Remove from +SVG build.
      
              2005-07-09  David Hyatt  <hyatt@apple.com>
      
                  Fix for bugzilla bug 3405, replace NodeImpl::Id with a new class,
                  QualifiedName, to represent tag names (for DOM elements and CSS
                  selectors).
      
                      Reviewed by mjs
      
                      * WebCore.pbproj/project.pbxproj:
                      * khtml/css/css_base.cpp:
                      (CSSSelector::anyTagName):
                      (CSSSelector::print):
                      (CSSSelector::specificity):
                      (CSSSelector::selectorText):
                      * khtml/css/css_base.h:
                      (DOM::CSSNamespace::uri):
                      (DOM::CSSNamespace::prefix):
                      (DOM::CSSNamespace::namespaceForPrefix):
                      (DOM::CSSSelector::CSSSelector):
                      (DOM::CSSSelector::hasTag):
                      * khtml/css/css_ruleimpl.cpp:
                      * khtml/css/css_ruleimpl.h:
                      * khtml/css/css_stylesheetimpl.cpp:
                      (CSSStyleSheetImpl::addNamespace):
                      (CSSStyleSheetImpl::determineNamespace):
                      * khtml/css/css_stylesheetimpl.h:
                      * khtml/css/cssparser.cpp:
                      (CSSParser::CSSParser):
                      (CSSParser::parseSheet):
                      * khtml/css/cssparser.h:
                      * khtml/css/cssstyleselector.cpp:
                      (khtml::CSSStyleSelector::matchRules):
                      (khtml::CSSStyleSelector::matchRulesForList):
                      (khtml::CSSStyleSelector::canShareStyleWithElement):
                      (khtml::CSSStyleSelector::adjustRenderStyle):
                      (khtml::CSSStyleSelector::checkSelector):
                      (khtml::CSSStyleSelector::checkOneSelector):
                      (khtml::CSSRuleSet::addRule):
                      * khtml/css/cssstyleselector.h:
                      (khtml::CSSRuleSet::getTagRules):
                      * khtml/css/parser.y:
                      * khtml/dom/css_stylesheet.cpp:
                      (LinkStyle::operator = ):
                      (LinkStyle::sheet):
                      * khtml/dom/dom_element.cpp:
                      (Element::tagName):
                      * khtml/dom/dom_node.cpp:
                      (Node::namespaceURI):
                      (Node::setPrefix):
                      * khtml/dom/dom_node.h:
                      * khtml/dom/html_base.cpp:
                      (HTMLBodyElement::operator = ):
                      (HTMLFrameElement::operator = ):
                      (HTMLIFrameElement::operator = ):
                      (HTMLFrameSetElement::operator = ):
                      (HTMLHeadElement::operator = ):
                      (HTMLHtmlElement::operator = ):
                      * khtml/dom/html_block.cpp:
                      (HTMLBlockquoteElement::operator = ):
                      (HTMLDivElement::operator = ):
                      (HTMLHRElement::operator = ):
                      (HTMLHeadingElement::operator = ):
                      (HTMLParagraphElement::operator = ):
                      (HTMLPreElement::operator = ):
                      * khtml/dom/html_element.cpp:
                      (HTMLElement::assignOther):
                      * khtml/dom/html_element.h:
                      * khtml/dom/html_form.cpp:
                      (HTMLButtonElement::operator = ):
                      (HTMLFieldSetElement::operator = ):
                      (HTMLFormElement::operator = ):
                      (HTMLInputElement::operator = ):
                      (HTMLLabelElement::operator = ):
                      (HTMLLegendElement::operator = ):
                      (HTMLOptGroupElement::operator = ):
                      (HTMLSelectElement::operator = ):
                      (HTMLTextAreaElement::operator = ):
                      (HTMLOptionElement::operator = ):
                      (HTMLIsIndexElement::operator = ):
                      * khtml/dom/html_head.cpp:
                      (HTMLBaseElement::operator = ):
                      (HTMLLinkElement::operator = ):
                      (HTMLMetaElement::operator = ):
                      (HTMLScriptElement::operator = ):
                      (HTMLStyleElement::operator = ):
                      (HTMLTitleElement::operator = ):
                      * khtml/dom/html_image.cpp:
                      (HTMLAreaElement::operator = ):
                      (HTMLImageElement::operator = ):
                      (HTMLMapElement::operator = ):
                      * khtml/dom/html_inline.cpp:
                      (HTMLAnchorElement::operator = ):
                      (HTMLBRElement::operator = ):
                      (HTMLFontElement::operator = ):
                      (HTMLModElement::HTMLModElement):
                      (HTMLModElement::operator = ):
                      (HTMLQuoteElement::HTMLQuoteElement):
                      (HTMLQuoteElement::operator = ):
                      * khtml/dom/html_inline.h:
                      * khtml/dom/html_list.cpp:
                      (HTMLDListElement::operator = ):
                      (HTMLDirectoryElement::operator = ):
                      (HTMLLIElement::operator = ):
                      (HTMLMenuElement::operator = ):
                      (HTMLOListElement::operator = ):
                      (HTMLUListElement::operator = ):
                      * khtml/dom/html_misc.cpp:
                      (HTMLBaseFontElement::operator = ):
                      * khtml/dom/html_object.cpp:
                      (DOM::HTMLAppletElement::operator = ):
                      (DOM::HTMLObjectElement::operator = ):
                      (DOM::HTMLParamElement::operator = ):
                      * khtml/dom/html_table.cpp:
                      (HTMLTableCaptionElement::operator = ):
                      (HTMLTableCellElement::operator = ):
                      (HTMLTableColElement::operator = ):
                      (HTMLTableElement::operator = ):
                      (HTMLTableRowElement::operator = ):
                      (HTMLTableSectionElement::operator = ):
                      * khtml/ecma/kjs_css.cpp:
                      (KJS::DOMStyleSheetList::tryGet):
                      * khtml/ecma/kjs_dom.cpp:
                      (KJS::DOMNode::putValue):
                      (KJS::DOMElement::tryGet):
                      (KJS::getRuntimeObject):
                      * khtml/ecma/kjs_html.cpp:
                      (KJS::HTMLDocument::tryGet):
                      (KJS::KJS::HTMLDocument::putValue):
                      (KJS::KJS::HTMLElement::classInfo):
                      (KJS::):
                      (KJS::HTMLElement::getSetInfo):
                      (KJS::KJS::HTMLElement::tryGet):
                      (KJS::KJS::HTMLElement::implementsCall):
                      (KJS::KJS::HTMLElement::call):
                      (KJS::HTMLElement::htmlGetter):
                      (KJS::HTMLElement::headGetter):
                      (KJS::HTMLElement::linkGetter):
                      (KJS::HTMLElement::titleGetter):
                      (KJS::HTMLElement::metaGetter):
                      (KJS::HTMLElement::baseGetter):
                      (KJS::HTMLElement::isIndexGetter):
                      (KJS::HTMLElement::styleGetter):
                      (KJS::HTMLElement::bodyGetter):
                      (KJS::HTMLElement::formGetter):
                      (KJS::HTMLElement::selectGetter):
                      (KJS::HTMLElement::optGroupGetter):
                      (KJS::HTMLElement::optionGetter):
                      (KJS::getInputSelectionStart):
                      (KJS::getInputSelectionEnd):
                      (KJS::HTMLElement::inputGetter):
                      (KJS::HTMLElement::textAreaGetter):
                      (KJS::HTMLElement::buttonGetter):
                      (KJS::HTMLElement::labelGetter):
                      (KJS::HTMLElement::fieldSetGetter):
                      (KJS::HTMLElement::legendGetter):
                      (KJS::HTMLElement::uListGetter):
                      (KJS::HTMLElement::oListGetter):
                      (KJS::HTMLElement::dListGetter):
                      (KJS::HTMLElement::dirGetter):
                      (KJS::HTMLElement::menuGetter):
                      (KJS::HTMLElement::liGetter):
                      (KJS::HTMLElement::divGetter):
                      (KJS::HTMLElement::paragraphGetter):
                      (KJS::HTMLElement::headingGetter):
                      (KJS::HTMLElement::blockQuoteGetter):
                      (KJS::HTMLElement::quoteGetter):
                      (KJS::HTMLElement::preGetter):
                      (KJS::HTMLElement::brGetter):
                      (KJS::HTMLElement::baseFontGetter):
                      (KJS::HTMLElement::fontGetter):
                      (KJS::HTMLElement::hrGetter):
                      (KJS::HTMLElement::modGetter):
                      (KJS::HTMLElement::anchorGetter):
                      (KJS::HTMLElement::imageGetter):
                      (KJS::HTMLElement::objectGetter):
                      (KJS::HTMLElement::paramGetter):
                      (KJS::HTMLElement::appletGetter):
                      (KJS::HTMLElement::mapGetter):
                      (KJS::HTMLElement::areaGetter):
                      (KJS::HTMLElement::scriptGetter):
                      (KJS::HTMLElement::tableGetter):
                      (KJS::HTMLElement::tableCaptionGetter):
                      (KJS::HTMLElement::tableColGetter):
                      (KJS::HTMLElement::tableSectionGetter):
                      (KJS::HTMLElement::tableRowGetter):
                      (KJS::HTMLElement::tableCellGetter):
                      (KJS::HTMLElement::frameSetGetter):
                      (KJS::HTMLElement::frameGetter):
                      (KJS::HTMLElement::iFrameGetter):
                      (KJS::HTMLElement::marqueeGetter):
                      (KJS::HTMLElement::getValueProperty):
                      (KJS::KJS::HTMLElement::hasOwnProperty):
                      (KJS::KJS::HTMLElement::toString):
                      (KJS::getForm):
                      (KJS::KJS::HTMLElement::pushEventHandlerScope):
                      (KJS::KJS::HTMLElementFunction::tryCall):
                      (KJS::KJS::HTMLElement::tryPut):
                      (KJS::HTMLElement::htmlSetter):
                      (KJS::HTMLElement::headSetter):
                      (KJS::HTMLElement::linkSetter):
                      (KJS::HTMLElement::titleSetter):
                      (KJS::HTMLElement::metaSetter):
                      (KJS::HTMLElement::baseSetter):
                      (KJS::HTMLElement::isIndexSetter):
                      (KJS::HTMLElement::styleSetter):
                      (KJS::HTMLElement::bodySetter):
                      (KJS::HTMLElement::formSetter):
                      (KJS::HTMLElement::selectSetter):
                      (KJS::HTMLElement::optGroupSetter):
                      (KJS::HTMLElement::optionSetter):
                      (KJS::HTMLElement::inputSetter):
                      (KJS::HTMLElement::textAreaSetter):
                      (KJS::HTMLElement::buttonSetter):
                      (KJS::HTMLElement::labelSetter):
                      (KJS::HTMLElement::fieldSetSetter):
                      (KJS::HTMLElement::legendSetter):
                      (KJS::HTMLElement::uListSetter):
                      (KJS::HTMLElement::oListSetter):
                      (KJS::HTMLElement::dListSetter):
                      (KJS::HTMLElement::dirSetter):
                      (KJS::HTMLElement::menuSetter):
                      (KJS::HTMLElement::liSetter):
                      (KJS::HTMLElement::divSetter):
                      (KJS::HTMLElement::paragraphSetter):
                      (KJS::HTMLElement::headingSetter):
                      (KJS::HTMLElement::blockQuoteSetter):
                      (KJS::HTMLElement::quoteSetter):
                      (KJS::HTMLElement::preSetter):
                      (KJS::HTMLElement::brSetter):
                      (KJS::HTMLElement::baseFontSetter):
                      (KJS::HTMLElement::fontSetter):
                      (KJS::HTMLElement::hrSetter):
                      (KJS::HTMLElement::modSetter):
                      (KJS::HTMLElement::anchorSetter):
                      (KJS::HTMLElement::imageSetter):
                      (KJS::HTMLElement::objectSetter):
                      (KJS::HTMLElement::paramSetter):
                      (KJS::HTMLElement::appletSetter):
                      (KJS::HTMLElement::mapSetter):
                      (KJS::HTMLElement::areaSetter):
                      (KJS::HTMLElement::scriptSetter):
                      (KJS::HTMLElement::tableSetter):
                      (KJS::HTMLElement::tableCaptionSetter):
                      (KJS::HTMLElement::tableColSetter):
                      (KJS::HTMLElement::tableSectionSetter):
                      (KJS::HTMLElement::tableRowSetter):
                      (KJS::HTMLElement::tableCellSetter):
                      (KJS::HTMLElement::frameSetSetter):
                      (KJS::HTMLElement::frameSetter):
                      (KJS::HTMLElement::iFrameSetter):
                      (KJS::HTMLElement::marqueeSetter):
                      (KJS::HTMLElement::putValue):
                      (KJS::toHTMLTableCaptionElement):
                      (KJS::toHTMLTableSectionElement):
                      (KJS::KJS::HTMLCollection::tryGet):
                      (KJS::KJS::HTMLSelectCollection::tryPut):
                      * khtml/ecma/kjs_html.h:
                      * khtml/ecma/kjs_window.cpp:
                      * khtml/editing/apply_style_command.cpp:
                      (khtml::isStyleSpan):
                      (khtml::isEmptyStyleSpan):
                      (khtml::isEmptyFontTag):
                      (khtml::createFontElement):
                      (khtml::createStyleSpanElement):
                      (khtml::ApplyStyleCommand::applyInlineStyle):
                      (khtml::ApplyStyleCommand::isHTMLStyleNode):
                      (khtml::ApplyStyleCommand::removeHTMLFontStyle):
                      (khtml::areIdenticalElements):
                      (khtml::ApplyStyleCommand::mergeEndWithNextIfIdentical):
                      (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
                      * khtml/editing/break_blockquote_command.cpp:
                      (khtml::BreakBlockquoteCommand::doApply):
                      * khtml/editing/composite_edit_command.cpp:
                      (khtml::CompositeEditCommand::insertNodeBefore):
                      (khtml::CompositeEditCommand::insertNodeAfter):
                      (khtml::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
                      (khtml::createBlockPlaceholderElement):
                      * khtml/editing/delete_selection_command.cpp:
                      (khtml::isListStructureNode):
                      (khtml::DeleteSelectionCommand::handleSpecialCaseBRDelete):
                      (khtml::DeleteSelectionCommand::handleGeneralDelete):
                      (khtml::DeleteSelectionCommand::moveNodesAfterNode):
                      * khtml/editing/htmlediting.cpp:
                      (khtml::isSpecialElement):
                      (khtml::createDefaultParagraphElement):
                      (khtml::createBreakElement):
                      (khtml::isMailBlockquote):
                      * khtml/editing/insert_line_break_command.cpp:
                      (khtml::InsertLineBreakCommand::doApply):
                      * khtml/editing/insert_paragraph_separator_command.cpp:
                      (khtml::InsertParagraphSeparatorCommand::doApply):
                      * khtml/editing/markup.cpp:
                      (khtml::startMarkup):
                      (khtml::endMarkup):
                      (khtml::markup):
                      (khtml::createMarkup):
                      (khtml::createFragmentFromText):
                      * khtml/editing/replace_selection_command.cpp:
                      (khtml::isProbablyBlock):
                      (khtml::isProbablyTableStructureNode):
                      (khtml::ReplacementFragment::isInterchangeNewlineNode):
                      (khtml::ReplacementFragment::removeStyleNodes):
                      (khtml::ReplaceSelectionCommand::doApply):
                      (khtml::ReplaceSelectionCommand::updateNodesInserted):
                      * khtml/editing/selection.cpp:
                      (khtml::Selection::debugRenderer):
                      * khtml/editing/visible_position.cpp:
                      (khtml::VisiblePosition::init):
                      (khtml::VisiblePosition::isCandidate):
                      (khtml::VisiblePosition::isAtomicNode):
                      * khtml/editing/visible_text.cpp:
                      (khtml::TextIterator::handleNonTextNode):
                      (khtml::TextIterator::exitNode):
                      (khtml::SimplifiedBackwardsTextIterator::handleNonTextNode):
                      * khtml/editing/visible_units.cpp:
                      (khtml::endOfLine):
                      * khtml/html/dtd.cpp: Removed.
                      * khtml/html/dtd.h: Removed.
                      * khtml/html/html_baseimpl.cpp:
                      (HTMLBodyElementImpl::HTMLBodyElementImpl):
                      (HTMLFrameElementImpl::HTMLFrameElementImpl):
                      (HTMLFrameElementImpl::init):
                      (HTMLFrameElementImpl::attach):
                      (HTMLFrameSetElementImpl::HTMLFrameSetElementImpl):
                      (HTMLFrameSetElementImpl::checkDTD):
                      (HTMLFrameSetElementImpl::attach):
                      (HTMLHeadElementImpl::HTMLHeadElementImpl):
                      (HTMLHeadElementImpl::checkDTD):
                      (HTMLHtmlElementImpl::HTMLHtmlElementImpl):
                      (HTMLHtmlElementImpl::checkDTD):
                      (HTMLIFrameElementImpl::HTMLIFrameElementImpl):
                      * khtml/html/html_baseimpl.h:
                      (DOM::HTMLBodyElementImpl::endTagRequirement):
                      (DOM::HTMLBodyElementImpl::tagPriority):
                      (DOM::HTMLFrameElementImpl::endTagRequirement):
                      (DOM::HTMLFrameElementImpl::tagPriority):
                      (DOM::HTMLFrameSetElementImpl::endTagRequirement):
                      (DOM::HTMLFrameSetElementImpl::tagPriority):
                      (DOM::HTMLHeadElementImpl::endTagRequirement):
                      (DOM::HTMLHeadElementImpl::tagPriority):
                      (DOM::HTMLHtmlElementImpl::endTagRequirement):
                      (DOM::HTMLHtmlElementImpl::tagPriority):
                      (DOM::HTMLIFrameElementImpl::endTagRequirement):
                      (DOM::HTMLIFrameElementImpl::tagPriority):
                      * khtml/html/html_blockimpl.cpp:
                      (HTMLBlockquoteElementImpl::HTMLBlockquoteElementImpl):
                      (HTMLDivElementImpl::HTMLDivElementImpl):
                      (HTMLHRElementImpl::HTMLHRElementImpl):
                      (HTMLHeadingElementImpl::HTMLHeadingElementImpl):
                      (HTMLHeadingElementImpl::checkDTD):
                      (HTMLParagraphElementImpl::HTMLParagraphElementImpl):
                      (HTMLParagraphElementImpl::checkDTD):
                      (HTMLPreElementImpl::HTMLPreElementImpl):
                      (HTMLMarqueeElementImpl::HTMLMarqueeElementImpl):
                      (HTMLMarqueeElementImpl::parseMappedAttribute):
                      * khtml/html/html_blockimpl.h:
                      (DOM::HTMLBlockquoteElementImpl::endTagRequirement):
                      (DOM::HTMLBlockquoteElementImpl::tagPriority):
                      (DOM::HTMLDivElementImpl::endTagRequirement):
                      (DOM::HTMLDivElementImpl::tagPriority):
                      (DOM::HTMLHRElementImpl::endTagRequirement):
                      (DOM::HTMLHRElementImpl::tagPriority):
                      (DOM::HTMLHeadingElementImpl::endTagRequirement):
                      (DOM::HTMLHeadingElementImpl::tagPriority):
                      (DOM::HTMLParagraphElementImpl::endTagRequirement):
                      (DOM::HTMLParagraphElementImpl::tagPriority):
                      (DOM::HTMLPreElementImpl::endTagRequirement):
                      (DOM::HTMLPreElementImpl::tagPriority):
                      (DOM::HTMLMarqueeElementImpl::endTagRequirement):
                      (DOM::HTMLMarqueeElementImpl::tagPriority):
                      * khtml/html/html_canvasimpl.cpp:
                      (HTMLCanvasElementImpl::HTMLCanvasElementImpl):
                      * khtml/html/html_canvasimpl.h:
                      * khtml/html/html_documentimpl.cpp:
                      (DOM::HTMLDocumentImpl::childAllowed):
                      (DOM::HTMLDocumentImpl::createElement):
                      * khtml/html/html_documentimpl.h:
                      * khtml/html/html_elementimpl.cpp:
                      (HTMLElementImpl::HTMLElementImpl):
                      (HTMLElementImpl::nodeName):
                      (HTMLElementImpl::endTagRequirement):
                      (HTMLElementImpl::tagPriority):
                      (HTMLElementImpl::cloneNode):
                      (HTMLElementImpl::createContextualFragment):
                      (HTMLElementImpl::setInnerHTML):
                      (HTMLElementImpl::setOuterHTML):
                      (HTMLElementImpl::setInnerText):
                      (HTMLElementImpl::setOuterText):
                      (HTMLElementImpl::toString):
                      (HTMLElementImpl::id):
                      (HTMLElementImpl::childAllowed):
                      (HTMLElementImpl::isRecognizedTagName):
                      (inlineTagList):
                      (blockTagList):
                      (HTMLElementImpl::inEitherTagList):
                      (HTMLElementImpl::inInlineTagList):
                      (HTMLElementImpl::inBlockTagList):
                      (HTMLElementImpl::checkDTD):
                      * khtml/html/html_elementimpl.h:
                      (DOM::):
                      * khtml/html/html_formimpl.cpp:
                      (DOM::HTMLFormElementImpl::HTMLFormElementImpl):
                      (DOM::HTMLFormElementImpl::submitClick):
                      (DOM::HTMLFormElementImpl::formData):
                      (DOM::HTMLFormElementImpl::submit):
                      (DOM::HTMLFormElementImpl::radioClicked):
                      (DOM::HTMLGenericFormElementImpl::HTMLGenericFormElementImpl):
                      (DOM::HTMLGenericFormElementImpl::getForm):
                      (DOM::HTMLButtonElementImpl::HTMLButtonElementImpl):
                      (DOM::HTMLFieldSetElementImpl::HTMLFieldSetElementImpl):
                      (DOM::HTMLFieldSetElementImpl::checkDTD):
                      (DOM::HTMLFieldSetElementImpl::isFocusable):
                      (DOM::HTMLInputElementImpl::HTMLInputElementImpl):
                      (DOM::HTMLInputElementImpl::init):
                      (DOM::HTMLLabelElementImpl::HTMLLabelElementImpl):
                      (DOM::HTMLLabelElementImpl::form):
                      (DOM::HTMLLegendElementImpl::HTMLLegendElementImpl):
                      (DOM::HTMLLegendElementImpl::formElement):
                      (DOM::HTMLSelectElementImpl::HTMLSelectElementImpl):
                      (DOM::HTMLSelectElementImpl::init):
                      (DOM::HTMLSelectElementImpl::checkDTD):
                      (DOM::HTMLSelectElementImpl::selectedIndex):
                      (DOM::HTMLSelectElementImpl::setSelectedIndex):
                      (DOM::HTMLSelectElementImpl::length):
                      (DOM::HTMLSelectElementImpl::add):
                      (DOM::HTMLSelectElementImpl::value):
                      (DOM::HTMLSelectElementImpl::setValue):
                      (DOM::HTMLSelectElementImpl::state):
                      (DOM::HTMLSelectElementImpl::restoreState):
                      (DOM::HTMLSelectElementImpl::appendFormData):
                      (DOM::HTMLSelectElementImpl::optionToListIndex):
                      (DOM::HTMLSelectElementImpl::listToOptionIndex):
                      (DOM::HTMLSelectElementImpl::recalcListItems):
                      (DOM::HTMLSelectElementImpl::reset):
                      (DOM::HTMLSelectElementImpl::notifyOptionSelected):
                      (DOM::HTMLKeygenElementImpl::HTMLKeygenElementImpl):
                      (DOM::HTMLOptGroupElementImpl::HTMLOptGroupElementImpl):
                      (DOM::HTMLOptGroupElementImpl::recalcSelectOptions):
                      (DOM::HTMLOptionElementImpl::HTMLOptionElementImpl):
                      (DOM::HTMLOptionElementImpl::index):
                      (DOM::HTMLOptionElementImpl::getSelect):
                      (DOM::HTMLTextAreaElementImpl::HTMLTextAreaElementImpl):
                      (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
                      * khtml/html/html_formimpl.h:
                      (DOM::HTMLFormElementImpl::endTagRequirement):
                      (DOM::HTMLFormElementImpl::tagPriority):
                      (DOM::HTMLGenericFormElementImpl::endTagRequirement):
                      (DOM::HTMLGenericFormElementImpl::tagPriority):
                      (DOM::HTMLFieldSetElementImpl::tagPriority):
                      (DOM::HTMLInputElementImpl::endTagRequirement):
                      (DOM::HTMLInputElementImpl::tagPriority):
                      (DOM::HTMLLabelElementImpl::tagPriority):
                      (DOM::HTMLSelectElementImpl::tagPriority):
                      (DOM::HTMLKeygenElementImpl::tagPriority):
                      (DOM::HTMLOptGroupElementImpl::checkDTD):
                      (DOM::HTMLOptionElementImpl::endTagRequirement):
                      (DOM::HTMLOptionElementImpl::tagPriority):
                      (DOM::HTMLOptionElementImpl::checkDTD):
                      (DOM::HTMLTextAreaElementImpl::checkDTD):
                      (DOM::HTMLTextAreaElementImpl::cols):
                      (DOM::HTMLIsIndexElementImpl::endTagRequirement):
                      (DOM::HTMLIsIndexElementImpl::tagPriority):
                      * khtml/html/html_headimpl.cpp:
                      (HTMLBaseElementImpl::HTMLBaseElementImpl):
                      (HTMLLinkElementImpl::HTMLLinkElementImpl):
                      (HTMLMetaElementImpl::HTMLMetaElementImpl):
                      (HTMLScriptElementImpl::HTMLScriptElementImpl):
                      (HTMLStyleElementImpl::HTMLStyleElementImpl):
                      (HTMLTitleElementImpl::HTMLTitleElementImpl):
                      * khtml/html/html_headimpl.h:
                      (DOM::HTMLBaseElementImpl::endTagRequirement):
                      (DOM::HTMLBaseElementImpl::tagPriority):
                      (DOM::HTMLLinkElementImpl::endTagRequirement):
                      (DOM::HTMLLinkElementImpl::tagPriority):
                      (DOM::HTMLMetaElementImpl::endTagRequirement):
                      (DOM::HTMLMetaElementImpl::tagPriority):
                      (DOM::HTMLScriptElementImpl::endTagRequirement):
                      (DOM::HTMLScriptElementImpl::tagPriority):
                      (DOM::HTMLScriptElementImpl::checkDTD):
                      (DOM::HTMLStyleElementImpl::endTagRequirement):
                      (DOM::HTMLStyleElementImpl::tagPriority):
                      (DOM::HTMLStyleElementImpl::checkDTD):
                      (DOM::HTMLTitleElementImpl::checkDTD):
                      * khtml/html/html_imageimpl.cpp:
                      (HTMLImageLoader::updateFromElement):
                      (HTMLImageElementImpl::HTMLImageElementImpl):
                      (HTMLImageElementImpl::~HTMLImageElementImpl):
                      (HTMLMapElementImpl::HTMLMapElementImpl):
                      (HTMLMapElementImpl::checkDTD):
                      (HTMLMapElementImpl::mapMouseEvent):
                      (HTMLAreaElementImpl::HTMLAreaElementImpl):
                      * khtml/html/html_imageimpl.h:
                      (DOM::HTMLImageElementImpl::endTagRequirement):
                      (DOM::HTMLImageElementImpl::tagPriority):
                      (DOM::HTMLAreaElementImpl::endTagRequirement):
                      (DOM::HTMLAreaElementImpl::tagPriority):
                      (DOM::HTMLMapElementImpl::endTagRequirement):
                      (DOM::HTMLMapElementImpl::tagPriority):
                      * khtml/html/html_inlineimpl.cpp:
                      (DOM::HTMLAnchorElementImpl::HTMLAnchorElementImpl):
                      (DOM::HTMLAnchorElementImpl::defaultEventHandler):
                      (DOM::HTMLBRElementImpl::HTMLBRElementImpl):
                      (DOM::HTMLFontElementImpl::HTMLFontElementImpl):
                      (DOM::HTMLModElementImpl::HTMLModElementImpl):
                      (DOM::HTMLQuoteElementImpl::HTMLQuoteElementImpl):
                      * khtml/html/html_inlineimpl.h:
                      (DOM::HTMLAnchorElementImpl::endTagRequirement):
                      (DOM::HTMLAnchorElementImpl::tagPriority):
                      (DOM::HTMLBRElementImpl::endTagRequirement):
                      (DOM::HTMLBRElementImpl::tagPriority):
                      (DOM::HTMLFontElementImpl::endTagRequirement):
                      (DOM::HTMLFontElementImpl::tagPriority):
                      (DOM::HTMLModElementImpl::endTagRequirement):
                      (DOM::HTMLModElementImpl::tagPriority):
                      (DOM::HTMLQuoteElementImpl::endTagRequirement):
                      (DOM::HTMLQuoteElementImpl::tagPriority):
                      * khtml/html/html_listimpl.cpp:
                      (DOM::HTMLOListElementImpl::parseMappedAttribute):
                      (DOM::HTMLLIElementImpl::attach):
                      (DOM::HTMLLIElementImpl::setValue):
                      * khtml/html/html_listimpl.h:
                      (DOM::HTMLUListElementImpl::HTMLUListElementImpl):
                      (DOM::HTMLUListElementImpl::endTagRequirement):
                      (DOM::HTMLUListElementImpl::tagPriority):
                      (DOM::HTMLDirectoryElementImpl::HTMLDirectoryElementImpl):
                      (DOM::HTMLDirectoryElementImpl::endTagRequirement):
                      (DOM::HTMLDirectoryElementImpl::tagPriority):
                      (DOM::HTMLMenuElementImpl::HTMLMenuElementImpl):
                      (DOM::HTMLMenuElementImpl::endTagRequirement):
                      (DOM::HTMLMenuElementImpl::tagPriority):
                      (DOM::HTMLOListElementImpl::HTMLOListElementImpl):
                      (DOM::HTMLOListElementImpl::endTagRequirement):
                      (DOM::HTMLOListElementImpl::tagPriority):
                      (DOM::HTMLLIElementImpl::HTMLLIElementImpl):
                      (DOM::HTMLLIElementImpl::endTagRequirement):
                      (DOM::HTMLLIElementImpl::tagPriority):
                      (DOM::HTMLDListElementImpl::HTMLDListElementImpl):
                      (DOM::HTMLDListElementImpl::endTagRequirement):
                      (DOM::HTMLDListElementImpl::tagPriority):
                      * khtml/html/html_miscimpl.cpp:
                      (DOM::HTMLBaseFontElementImpl::HTMLBaseFontElementImpl):
                      (DOM::HTMLCollectionImpl::traverseNextItem):
                      (DOM::HTMLCollectionImpl::checkForNameMatch):
                      (DOM::HTMLCollectionImpl::updateNameCache):
                      (DOM::HTMLFormCollectionImpl::getNamedFormItem):
                      (DOM::HTMLFormCollectionImpl::updateNameCache):
                      * khtml/html/html_miscimpl.h:
                      (DOM::HTMLBaseFontElementImpl::endTagRequirement):
                      (DOM::HTMLBaseFontElementImpl::tagPriority):
                      * khtml/html/html_objectimpl.cpp:
                      (DOM::HTMLAppletElementImpl::HTMLAppletElementImpl):
                      (DOM::HTMLAppletElementImpl::checkDTD):
                      (DOM::HTMLEmbedElementImpl::HTMLEmbedElementImpl):
                      (DOM::HTMLEmbedElementImpl::checkDTD):
                      (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
                      (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
                      (DOM::HTMLObjectElementImpl::checkDTD):
                      (DOM::HTMLObjectElementImpl::form):
                      (DOM::HTMLParamElementImpl::HTMLParamElementImpl):
                      * khtml/html/html_objectimpl.h:
                      (DOM::HTMLAppletElementImpl::endTagRequirement):
                      (DOM::HTMLAppletElementImpl::tagPriority):
                      (DOM::HTMLEmbedElementImpl::endTagRequirement):
                      (DOM::HTMLEmbedElementImpl::tagPriority):
                      (DOM::HTMLObjectElementImpl::endTagRequirement):
                      (DOM::HTMLObjectElementImpl::tagPriority):
                      (DOM::HTMLParamElementImpl::endTagRequirement):
                      (DOM::HTMLParamElementImpl::tagPriority):
                      * khtml/html/html_tableimpl.cpp:
                      (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
                      (DOM::HTMLTableElementImpl::checkDTD):
                      (DOM::HTMLTableElementImpl::createTHead):
                      (DOM::HTMLTableElementImpl::createTFoot):
                      (DOM::HTMLTableElementImpl::insertRow):
                      (DOM::HTMLTableElementImpl::deleteRow):
                      (DOM::HTMLTableElementImpl::addChild):
                      (DOM::HTMLTableSectionElementImpl::HTMLTableSectionElementImpl):
                      (DOM::HTMLTableSectionElementImpl::checkDTD):
                      (DOM::HTMLTableSectionElementImpl::addChild):
                      (DOM::HTMLTableSectionElementImpl::numRows):
                      (DOM::HTMLTableRowElementImpl::checkDTD):
                      (DOM::HTMLTableRowElementImpl::addChild):
                      (DOM::HTMLTableRowElementImpl::rowIndex):
                      (DOM::HTMLTableRowElementImpl::sectionRowIndex):
                      (DOM::HTMLTableRowElementImpl::insertCell):
                      (DOM::HTMLTableCellElementImpl::HTMLTableCellElementImpl):
                      (DOM::HTMLTableCellElementImpl::cellIndex):
                      (DOM::HTMLTableCellElementImpl::additionalAttributeStyleDecl):
                      (DOM::HTMLTableColElementImpl::HTMLTableColElementImpl):
                      * khtml/html/html_tableimpl.h:
                      (DOM::HTMLTableElementImpl::endTagRequirement):
                      (DOM::HTMLTableElementImpl::tagPriority):
                      (DOM::HTMLTablePartElementImpl::HTMLTablePartElementImpl):
                      (DOM::HTMLTableSectionElementImpl::endTagRequirement):
                      (DOM::HTMLTableSectionElementImpl::tagPriority):
                      (DOM::HTMLTableRowElementImpl::HTMLTableRowElementImpl):
                      (DOM::HTMLTableRowElementImpl::endTagRequirement):
                      (DOM::HTMLTableRowElementImpl::tagPriority):
                      (DOM::HTMLTableCellElementImpl::endTagRequirement):
                      (DOM::HTMLTableCellElementImpl::tagPriority):
                      (DOM::HTMLTableColElementImpl::endTagRequirement):
                      (DOM::HTMLTableColElementImpl::tagPriority):
                      (DOM::HTMLTableColElementImpl::checkDTD):
                      (DOM::HTMLTableCaptionElementImpl::HTMLTableCaptionElementImpl):
                      (DOM::HTMLTableCaptionElementImpl::endTagRequirement):
                      (DOM::HTMLTableCaptionElementImpl::tagPriority):
                      * khtml/html/htmlfactory.cpp: Added.
                      (DOM::htmlConstructor):
                      (DOM::headConstructor):
                      (DOM::bodyConstructor):
                      (DOM::baseConstructor):
                      (DOM::linkConstructor):
                      (DOM::metaConstructor):
                      (DOM::styleConstructor):
                      (DOM::titleConstructor):
                      (DOM::frameConstructor):
                      (DOM::framesetConstructor):
                      (DOM::iframeConstructor):
                      (DOM::formConstructor):
                      (DOM::buttonConstructor):
                      (DOM::inputConstructor):
                      (DOM::isindexConstructor):
                      (DOM::fieldsetConstructor):
                      (DOM::labelConstructor):
                      (DOM::legendConstructor):
                      (DOM::optgroupConstructor):
                      (DOM::optionConstructor):
                      (DOM::selectConstructor):
                      (DOM::textareaConstructor):
                      (DOM::dlConstructor):
                      (DOM::ulConstructor):
                      (DOM::olConstructor):
                      (DOM::dirConstructor):
                      (DOM::menuConstructor):
                      (DOM::liConstructor):
                      (DOM::blockquoteConstructor):
                      (DOM::divConstructor):
                      (DOM::headingConstructor):
                      (DOM::hrConstructor):
                      (DOM::paragraphConstructor):
                      (DOM::preConstructor):
                      (DOM::basefontConstructor):
                      (DOM::fontConstructor):
                      (DOM::modConstructor):
                      (DOM::anchorConstructor):
                      (DOM::imageConstructor):
                      (DOM::mapConstructor):
                      (DOM::areaConstructor):
                      (DOM::canvasConstructor):
                      (DOM::appletConstructor):
                      (DOM::embedConstructor):
                      (DOM::objectConstructor):
                      (DOM::paramConstructor):
                      (DOM::scriptConstructor):
                      (DOM::tableConstructor):
                      (DOM::tableCaptionConstructor):
                      (DOM::tableColConstructor):
                      (DOM::tableRowConstructor):
                      (DOM::tableCellConstructor):
                      (DOM::tableSectionConstructor):
                      (DOM::brConstructor):
                      (DOM::quoteConstructor):
                      (DOM::marqueeConstructor):
                      (DOM::HTMLElementFactory::createHTMLElement):
                      * khtml/html/htmlfactory.h: Added.
                      * khtml/html/htmlnames.cpp:
                      (DOM::HTMLNames::init):
                      * khtml/html/htmlnames.h:
                      (DOM::HTMLNames::xhtmlNamespaceURI):
                      * khtml/html/htmlparser.cpp:
                      (HTMLStackElem::HTMLStackElem):
                      (HTMLParser::HTMLParser):
                      (HTMLParser::~HTMLParser):
                      (HTMLParser::reset):
                      (HTMLParser::setCurrent):
                      (HTMLParser::parseToken):
                      (isTableSection):
                      (isTablePart):
                      (isTableRelated):
                      (HTMLParser::insertNode):
                      (HTMLParser::handleError):
                      (HTMLParser::textCreateErrorCheck):
                      (HTMLParser::commentCreateErrorCheck):
                      (HTMLParser::headCreateErrorCheck):
                      (HTMLParser::bodyCreateErrorCheck):
                      (HTMLParser::framesetCreateErrorCheck):
                      (HTMLParser::iframeCreateErrorCheck):
                      (HTMLParser::formCreateErrorCheck):
                      (HTMLParser::isindexCreateErrorCheck):
                      (HTMLParser::selectCreateErrorCheck):
                      (HTMLParser::ddCreateErrorCheck):
                      (HTMLParser::dtCreateErrorCheck):
                      (HTMLParser::nestedCreateErrorCheck):
                      (HTMLParser::nestedStyleCreateErrorCheck):
                      (HTMLParser::tableCellCreateErrorCheck):
                      (HTMLParser::tableSectionCreateErrorCheck):
                      (HTMLParser::noembedCreateErrorCheck):
                      (HTMLParser::noframesCreateErrorCheck):
                      (HTMLParser::noscriptCreateErrorCheck):
                      (HTMLParser::nolayerCreateErrorCheck):
                      (HTMLParser::getNode):
                      (HTMLParser::allowNestedRedundantTag):
                      (HTMLParser::processCloseTag):
                      (HTMLParser::isHeaderTag):
                      (HTMLParser::popNestedHeaderTag):
                      (HTMLParser::isInline):
                      (HTMLParser::isResidualStyleTag):
                      (HTMLParser::isAffectedByResidualStyle):
                      (HTMLParser::handleResidualStyleCloseTagAcrossBlocks):
                      (HTMLParser::reopenResidualStyleTags):
                      (HTMLParser::pushBlock):
                      (HTMLParser::popBlock):
                      (HTMLParser::popOneBlock):
                      (HTMLParser::popInlineBlocks):
                      (HTMLParser::freeBlock):
                      (HTMLParser::createHead):
                      (HTMLParser::handleIsindex):
                      (HTMLParser::startBody):
                      (HTMLParser::finished):
                      * khtml/html/htmlparser.h:
                      (HTMLParser::skipMode):
                      (HTMLParser::setSkipMode):
                      (HTMLParser::popBlock):
                      * khtml/html/htmltokenizer.cpp:
                      (khtml::HTMLTokenizer::HTMLTokenizer):
                      (khtml::HTMLTokenizer::parseSpecial):
                      (khtml::HTMLTokenizer::scriptHandler):
                      (khtml::HTMLTokenizer::parseComment):
                      (khtml::HTMLTokenizer::parseTag):
                      (khtml::HTMLTokenizer::processToken):
                      * khtml/html/htmltokenizer.h:
                      (khtml::Token::Token):
                      (khtml::Token::~Token):
                      (khtml::Token::addAttribute):
                      (khtml::Token::isOpenTag):
                      (khtml::Token::isCloseTag):
                      (khtml::Token::reset):
                      * khtml/khtml_part.cpp:
                      (KHTMLPart::init):
                      (KHTMLPart::selectionComputedStyle):
                      * khtml/khtmlview.cpp:
                      (KHTMLView::layout):
                      (isSubmitImage):
                      * khtml/misc/decoder.cpp:
                      (Decoder::decode):
                      * khtml/misc/hashmap.h:
                      (khtml::::size):
                      (khtml::::isEmpty):
                      (khtml::::begin):
                      (khtml::::end):
                      (khtml::::get):
                      * khtml/misc/hashset.h:
                      (khtml::::size):
                      (khtml::::isEmpty):
                      (khtml::::begin):
                      (khtml::::end):
                      (khtml::::contains):
                      * khtml/misc/hashtable.h:
                      (khtml::HashTableIterator::skipEmptyBuckets):
                      (khtml::::lookup):
                      (khtml::::find):
                      (khtml::::contains):
                      (khtml::::remove):
                      * khtml/misc/htmlhashes.cpp:
                      (khtml::getAttrID):
                      * khtml/misc/htmlhashes.h:
                      * khtml/rendering/bidi.cpp:
                      (khtml::BidiIterator::direction):
                      * khtml/rendering/break_lines.cpp:
                      (khtml::isBreakable):
                      * khtml/rendering/render_applet.cpp:
                      (RenderApplet::createWidgetIfNecessary):
                      * khtml/rendering/render_block.cpp:
                      (khtml::RenderBlock::layoutBlock):
                      * khtml/rendering/render_box.cpp:
                      (RenderBox::paintRootBoxDecorations):
                      (RenderBox::paintBackgroundExtended):
                      * khtml/rendering/render_canvasimage.cpp:
                      (RenderCanvasImage::paint):
                      * khtml/rendering/render_canvasimage.h:
                      * khtml/rendering/render_container.cpp:
                      (RenderContainer::updatePseudoChild):
                      * khtml/rendering/render_flow.cpp:
                      (RenderFlow::addFocusRingRects):
                      * khtml/rendering/render_form.cpp:
                      (RenderFieldset::findLegend):
                      (RenderSelect::updateFromElement):
                      (RenderSelect::layout):
                      (RenderSelect::slotSelected):
                      (RenderSelect::slotSelectionChanged):
                      (RenderSelect::updateSelection):
                      * khtml/rendering/render_frames.cpp:
                      (RenderPartObject::updateWidget):
                      (RenderPartObject::slotViewCleared):
                      * khtml/rendering/render_image.cpp:
                      (RenderImage::paint):
                      (RenderImage::imageMap):
                      (RenderImage::updateAltText):
                      * khtml/rendering/render_image.h:
                      * khtml/rendering/render_layer.cpp:
                      (Marquee::marqueeSpeed):
                      * khtml/rendering/render_line.cpp:
                      * khtml/rendering/render_list.cpp:
                      (getParentOfFirstLineBox):
                      * khtml/rendering/render_object.cpp:
                      (RenderObject::isBody):
                      (RenderObject::isHR):
                      (RenderObject::isHTMLMarquee):
                      (RenderObject::sizesToMaxWidth):
                      (RenderObject::information):
                      (RenderObject::setStyle):
                      (RenderObject::getTextDecorationColors):
                      (RenderObject::setPixmap):
                      * khtml/rendering/render_style.cpp:
                      (RenderStyle::getPseudoStyle):
                      * khtml/rendering/render_style.h:
                      * khtml/rendering/render_table.cpp:
                      (RenderTable::addChild):
                      (RenderTable::layout):
                      (RenderTableSection::addChild):
                      (RenderTableRow::addChild):
                      (RenderTableCell::updateFromElement):
                      (RenderTableCol::updateFromElement):
                      * khtml/xml/dom2_rangeimpl.cpp:
                      * khtml/xml/dom2_traversalimpl.cpp:
                      * khtml/xml/dom_atomicstring.cpp:
                      (DOM::equal):
                      (DOM::AtomicString::init):
                      * khtml/xml/dom_atomicstring.h:
                      * khtml/xml/dom_docimpl.cpp:
                      (DocumentImpl::createElement):
                      (DocumentImpl::importNode):
                      (DocumentImpl::createElementNS):
                      (DocumentImpl::body):
                      (DocumentImpl::shouldScheduleLayout):
                      (DocumentImpl::attrId):
                      (DocumentImpl::recalcStyleSelector):
                      * khtml/xml/dom_docimpl.h:
                      * khtml/xml/dom_elementimpl.cpp:
                      (AttrImpl::prefix):
                      (AttrImpl::setPrefix):
                      (ElementImpl::ElementImpl):
                      (ElementImpl::~ElementImpl):
                      (ElementImpl::cloneNode):
                      (ElementImpl::hasAttributes):
                      (ElementImpl::nodeName):
                      (ElementImpl::setPrefix):
                      (ElementImpl::openTagStartToString):
                      (ElementImpl::toString):
                      (StyledElementImpl::StyledElementImpl):
                      * khtml/xml/dom_elementimpl.h:
                      (DOM::ElementImpl::tagName):
                      (DOM::ElementImpl::hasTagName):
                      (DOM::ElementImpl::hasLocalName):
                      (DOM::ElementImpl::localName):
                      (DOM::ElementImpl::prefix):
                      (DOM::ElementImpl::namespaceURI):
                      (DOM::ElementImpl::mouseEventHandler):
                      * khtml/xml/dom_nodeimpl.cpp:
                      (DOM::NodeImpl::lastDescendant):
                      (DOM::NodeImpl::prefix):
                      (DOM::NodeImpl::setPrefix):
                      (DOM::NodeImpl::localName):
                      (DOM::NodeImpl::namespaceURI):
                      (DOM::NodeImpl::checkSetPrefix):
                      (DOM::NodeImpl::isAtomicNode):
                      (DOM::NodeImpl::maxDeepOffset):
                      (DOM::NodeImpl::enclosingBlockFlowOrTableElement):
                      (DOM::NodeImpl::enclosingBlockFlowElement):
                      (DOM::NodeImpl::enclosingInlineElement):
                      (DOM::NodeImpl::rootEditableElement):
                      (DOM::NodeImpl::getElementsByTagNameNS):
                      (DOM::NodeImpl::showTreeAndMark):
                      (DOM::ContainerNodeImpl::addChild):
                      (DOM::TagNodeListImpl::TagNodeListImpl):
                      (DOM::TagNodeListImpl::item):
                      (DOM::TagNodeListImpl::nodeMatches):
                      * khtml/xml/dom_nodeimpl.h:
                      (DOM::NodeImpl::hasTagName):
                      (DOM::NodeImpl::isCommentNode):
                      (DOM::NodeImpl::isDocumentNode):
                      (DOM::NodeImpl::closeRenderer):
                      (DOM::NodeImpl::getElementsByTagName):
                      * khtml/xml/dom_position.cpp:
                      (DOM::Position::downstream):
                      (DOM::Position::rendersInDifferentPosition):
                      (DOM::Position::leadingWhitespacePosition):
                      (DOM::Position::trailingWhitespacePosition):
                      * khtml/xml/dom_qname.cpp:
                      (DOM::hashComponents):
                      (DOM::QNameHash::hash):
                      (DOM::QNameHash::equal):
                      (DOM::equalComponents):
                      (DOM::convertComponents):
                      (DOM::QualifiedName::QualifiedName):
                      (DOM::QualifiedName::deref):
                      (DOM::QualifiedName::setPrefix):
                      * khtml/xml/dom_qname.h:
                      (DOM::QualifiedName::hasPrefix):
                      (DOM::operator==):
                      * khtml/xml/dom_textimpl.cpp:
                      (CommentImpl::localName):
                      (CommentImpl::nodeName):
                      (TextImpl::localName):
                      (TextImpl::nodeName):
                      * khtml/xml/dom_textimpl.h:
                      (DOM::CommentImpl::isCommentNode):
                      (DOM::TextImpl::isTextNode):
                      * khtml/xml/xml_tokenizer.cpp:
                      (khtml::XMLTokenizer::startElement):
                      (khtml::XMLTokenizer::insertErrorMessageBlock):
                      (khtml::XMLTokenizer::addScripts):
                      * kwq/DOM.mm:
                      (-[DOMNode setPrefix:]):
                      (+[DOMNode _nodeWithImpl:]):
                      (-[DOMElement tagName]):
                      * kwq/DOMHTML.mm:
                      (-[DOMHTMLQuoteElement _quoteElementImpl]):
                      * kwq/KWQAccObject.mm:
                      (-[KWQAccObject role]):
                      (-[KWQAccObject title]):
                      (-[KWQAccObject accessibilityIsIgnored]):
                      * kwq/KWQDOMNode.cpp: Removed.
                      * kwq/KWQDOMNode.h: Removed.
                      * kwq/KWQFont.h:
                      (QFont::):
                      (QFont::isFixedPitch):
                      * kwq/KWQFont.mm:
                      (QFont::QFont):
                      (QFont::operator=):
                      (QFont::determinePitch):
                      (QFont::operator==):
                      * kwq/KWQKHTMLPart.cpp:
                      (KWQKHTMLPart::isFrameSet):
                      * kwq/KWQKHTMLPart.mm:
                      (scanForForm):
                      (KWQKHTMLPart::currentForm):
                      (KWQKHTMLPart::searchForLabelsAboveCell):
                      (KWQKHTMLPart::searchForLabelsBeforeElement):
                      (listParent):
                      (isTextFirstInListItem):
                      (KWQKHTMLPart::attributedString):
                      (KWQKHTMLPart::styleForSelectionStart):
                      (KWQKHTMLPart::setSelectionFromNone):
                      * kwq/KWQRenderTreeDebug.cpp:
                      (getTagName):
                      * kwq/WebCoreBridge.mm:
                      (inputElementFromDOMElement):
                      (formElementFromDOMElement):
                      (-[WebCoreBridge elementAtPoint:]):
                      * layout-tests/fast/dom/css-dom-read-expected.txt:
                      * layout-tests/fast/overflow/003-expected.txt:
                      * layout-tests/fast/tokenizer/002-expected.txt:
                      * layout-tests/fast/tokenizer/external-script-document-write-expected.txt:
                      * layout-tests/fast/tokenizer/script_extra_close-expected.txt:
                      * layout-tests/fast/tokenizer/script_quirk-expected.txt: Removed.
                      * layout-tests/fast/tokenizer/script_quirk.html: Removed.
      
              2005-07-08  Eric Seidel  <eseidel@apple.com>
      
                      Reviewed by mjs.
      
                      * kwq/KWQRegExp.h: Added cap() support.
                      * kwq/KWQRegExp.mm: Added cap() support.
                      (QRegExp::match): Changes necessary for cap()
                      (QRegExp::cap): based off of JSC's pcre support.
                      http://bugzilla.opendarwin.org/show_bug.cgi?id=3847
      
              2005-07-08  Geoffrey Garen  <ggaren@apple.com>
      
                      Rolled in layout test for fix to
                      http://bugzilla.opendarwin.org/show_bug.cgi?id=3818
                      Fallback font doesn't have requested weight in ATSUI-rendered text
      
                      Reviewed by mjs.
      
                      Test cases added:
                      * layout-tests/fast/text/international/bidi-fallback-font-weight-expected.txt: Added.
                      * layout-tests/fast/text/international/bidi-fallback-font-weight.html: Added.
      
              2005-07-08  Beth Dakin  <bdakin@apple.com>
      
                      Reviewed by John.
      
                  This is a fix for half of <rdar://problem/4172312>
                  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.
      
                      Test cases added: fast/css/MarqueeLayoutTest.html
      
                      * khtml/html/html_blockimpl.cpp:
                      (HTMLMarqueeElementImpl::mapToEntry): set result to eMarquee instead of eUniversal for height attribute
                      (HTMLMarqueeElementImpl::parseMappedAttribute): changed to minheight instead of just height
                      * khtml/xml/dom_elementimpl.h: added eMarquee hash key
                  (QScrollView::suppressScrollBars):
                      * layout-tests/fast/css/MarqueeLayoutTest-expected.txt: Added.
                      * layout-tests/fast/css/MarqueeLayoutTest.html: Added.
      
              2005-07-08  Vicki Murley  <vicki@apple.com>
      
                  Fix from Carsten Guenther, reviewed by Maciej
      
                  - update test cases for JavaScriptCore fix
                      http://bugzilla.opendarwin.org/show_bug.cgi?id=3644
      
                      * layout-tests/fast/dom/outerText-no-element-expected.txt:
                      * layout-tests/fast/dynamic/outerHTML-no-element-expected.txt:
                      * layout-tests/fast/js/array-every-expected.txt:
                      * layout-tests/fast/js/array-foreach-expected.txt:
                      * layout-tests/fast/js/array-some-expected.txt:
                      * layout-tests/fast/js/toString-stack-overflow-expected.txt:
      
              2005-07-08  Vicki Murley <vicki@apple.com>
      
                  - fixed by Trey Matteson <trey@usa.net>, reviewed by Maciej.
      
                  Test cases added: (NONE)
      
                  <rdar://problem/4109893> REGRESSION: back/forward broken at wsj.com, worked in v185
                  Also written as http://bugzilla.opendarwin.org/show_bug.cgi?id=3901
      
                  Broken by security fix for 4005575: Arbitrary file disclosure vulnerability due to ability to load local html from remote content
      
                  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
                  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.
      
                  The security fix changed the code path to go through openURLRequest, but only openURL had the logic to guess if
                  the current navigation was done in response to a user gesture.  openURLRequest always assumed it was a user gesture,
                  and thus all uses of this code path would place an item in the b/f list.
      
                  * kwq/KWQKHTMLPart.h:
                  * kwq/KWQKHTMLPart.mm:
                  (KWQKHTMLPart::userGestureHint):  Factored code from openURL.
                  (KWQKHTMLPart::openURL):  Call newly factored code.
                  (KWQKHTMLPart::openURLRequest):  Newly call newly factored code.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9a9ff74
    • kocienda's avatar
      Reviewed by me · 1d834502
      kocienda authored
              Test cases added: (NONE)
      
              * ChangeLog: Fixed two typos I found while reading the ChangeLog.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d834502
  5. 10 Jul, 2005 4 commits
  6. 09 Jul, 2005 2 commits