1. 09 May, 2006 7 commits
    • mjs's avatar
      JavaScriptCore: · bb863518
      mjs authored
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/c/c_instance.cpp:
              * bindings/objc/WebScriptObject.mm:
              * kjs/JSImmediate.h:
              * kjs/Parser.cpp:
              * kjs/Parser.h:
              * kjs/array_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/collector.h:
              * kjs/config.h:
              * kjs/function.cpp:
              (KJS::isStrWhiteSpace):
              * kjs/function.h:
              * kjs/identifier.cpp:
              * kjs/internal.cpp:
              * kjs/internal.h:
              * kjs/lexer.cpp:
              (Lexer::shift):
              (Lexer::isWhiteSpace):
              (Lexer::isIdentStart):
              (Lexer::isIdentPart):
              * kjs/lookup.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/number_object.cpp:
              * kjs/object.h:
              * kjs/property_map.cpp:
              * kjs/property_map.h:
              * kjs/string_object.cpp:
              (StringProtoFunc::callAsFunction):
              * kjs/testkjs.cpp:
              (testIsInteger):
              * kjs/ustring.cpp:
              * kjs/ustring.h:
              * kxmlcore: Removed.
              * kxmlcore/AlwaysInline.h: Removed.
              * kxmlcore/Assertions.cpp: Removed.
              * kxmlcore/Assertions.h: Removed.
              * kxmlcore/FastMalloc.cpp: Removed.
              * kxmlcore/FastMalloc.h: Removed.
              * kxmlcore/FastMallocInternal.h: Removed.
              * kxmlcore/Forward.h: Removed.
              * kxmlcore/HashCountedSet.h: Removed.
              * kxmlcore/HashFunctions.h: Removed.
              * kxmlcore/HashMap.h: Removed.
              * kxmlcore/HashSet.h: Removed.
              * kxmlcore/HashTable.cpp: Removed.
              * kxmlcore/HashTable.h: Removed.
              * kxmlcore/HashTraits.h: Removed.
              * kxmlcore/ListRefPtr.h: Removed.
              * kxmlcore/Noncopyable.h: Removed.
              * kxmlcore/OwnArrayPtr.h: Removed.
              * kxmlcore/OwnPtr.h: Removed.
              * kxmlcore/PassRefPtr.h: Removed.
              * kxmlcore/Platform.h: Removed.
              * kxmlcore/RefPtr.h: Removed.
              * kxmlcore/TCPageMap.h: Removed.
              * kxmlcore/TCSpinLock.h: Removed.
              * kxmlcore/TCSystemAlloc.cpp: Removed.
              * kxmlcore/TCSystemAlloc.h: Removed.
              * kxmlcore/UnusedParam.h: Removed.
              * kxmlcore/Vector.h: Removed.
              * kxmlcore/VectorTraits.h: Removed.
              * kxmlcore/unicode: Removed.
              * kxmlcore/unicode/Unicode.h: Removed.
              * kxmlcore/unicode/UnicodeCategory.h: Removed.
              * kxmlcore/unicode/icu: Removed.
              * kxmlcore/unicode/icu/UnicodeIcu.h: Removed.
              * kxmlcore/unicode/posix: Removed.
              * kxmlcore/unicode/qt3: Removed.
              * kxmlcore/unicode/qt4: Removed.
              * kxmlcore/unicode/qt4/UnicodeQt4.h: Removed.
              * pcre/pcre_get.c:
              * wtf: Added.
              * wtf/Assertions.cpp:
              * wtf/Assertions.h:
              * wtf/FastMalloc.cpp:
              (WTF::TCMalloc_ThreadCache::Scavenge):
              (WTF::do_malloc):
              (WTF::do_free):
              (WTF::TCMallocGuard::TCMallocGuard):
              (WTF::malloc):
              (WTF::free):
              (WTF::calloc):
              (WTF::cfree):
              (WTF::realloc):
              * wtf/FastMalloc.h:
              * wtf/FastMallocInternal.h:
              * wtf/Forward.h:
              * wtf/HashCountedSet.h:
              * wtf/HashFunctions.h:
              * wtf/HashMap.h:
              * wtf/HashSet.h:
              * wtf/HashTable.cpp:
              * wtf/HashTable.h:
              * wtf/HashTraits.h:
              * wtf/ListRefPtr.h:
              * wtf/Noncopyable.h:
              * wtf/OwnArrayPtr.h:
              * wtf/OwnPtr.h:
              * wtf/PassRefPtr.h:
              * wtf/RefPtr.h:
              * wtf/TCSystemAlloc.cpp:
              (TCMalloc_SystemAlloc):
              * wtf/Vector.h:
              * wtf/VectorTraits.h:
              * wtf/unicode/UnicodeCategory.h:
              * wtf/unicode/icu/UnicodeIcu.h:
      
      JavaScriptGlue:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * config.h:
              * kxmlcore: Removed.
              * kxmlcore/AlwaysInline.h: Removed.
              * kxmlcore/Assertions.h: Removed.
              * kxmlcore/FastMalloc.h: Removed.
              * kxmlcore/Forward.h: Removed.
              * kxmlcore/HashCountedSet.h: Removed.
              * kxmlcore/HashSet.h: Removed.
              * kxmlcore/Noncopyable.h: Removed.
              * kxmlcore/OwnArrayPtr.h: Removed.
              * kxmlcore/OwnPtr.h: Removed.
              * kxmlcore/PassRefPtr.h: Removed.
              * kxmlcore/Platform.h: Removed.
              * kxmlcore/RefPtr.h: Removed.
              * kxmlcore/Vector.h: Removed.
              * wtf: Added.
      
      WebCore:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * ForwardingHeaders/kxmlcore: Removed.
              * ForwardingHeaders/kxmlcore/AlwaysInline.h: Removed.
              * ForwardingHeaders/kxmlcore/Assertions.h: Removed.
              * ForwardingHeaders/kxmlcore/FastMalloc.h: Removed.
              * ForwardingHeaders/kxmlcore/Forward.h: Removed.
              * ForwardingHeaders/kxmlcore/HashCountedSet.h: Removed.
              * ForwardingHeaders/kxmlcore/HashMap.h: Removed.
              * ForwardingHeaders/kxmlcore/HashSet.h: Removed.
              * ForwardingHeaders/kxmlcore/HashTraits.h: Removed.
              * ForwardingHeaders/kxmlcore/Noncopyable.h: Removed.
              * ForwardingHeaders/kxmlcore/OwnArrayPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/OwnPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/PassRefPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/Platform.h: Removed.
              * ForwardingHeaders/kxmlcore/RefPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/Vector.h: Removed.
              * ForwardingHeaders/wtf: Added.
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOMImplementationFront.h:
              * bridge/JavaAppletWidget.h:
              * bridge/mac/WebCoreFrameNamespaces.mm:
              * bridge/mac/WebCorePageBridge.mm:
              (initializeLogChannel):
              * bridge/mac/WebCoreStringTruncator.mm:
              * bridge/mac/WebCoreViewFactory.m:
              * config.h:
              * css/css_base.h:
              * css/css_valueimpl.h:
              * css/csshelper.cpp:
              * css/cssparser.h:
              * dom/DOMImplementation.h:
              * dom/Document.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/QualifiedName.cpp:
              * dom/Range.h:
              * dom/StyledElement.cpp:
              * dom/dom2_traversalimpl.h:
              * dom/xml_tokenizer.h:
              * editing/RebalanceWhitespaceCommand.cpp:
              * editing/RemoveCSSPropertyCommand.cpp:
              * editing/RemoveNodeAttributeCommand.cpp:
              * editing/RemoveNodeCommand.cpp:
              * editing/RemoveNodePreservingChildrenCommand.cpp:
              * editing/ReplaceSelectionCommand.h:
              * editing/Selection.cpp:
              * editing/SetNodeAttributeCommand.cpp:
              * editing/SplitElementCommand.cpp:
              * editing/SplitTextNodeCommand.cpp:
              * editing/SplitTextNodeContainingElementCommand.cpp:
              * editing/TextIterator.h:
              * editing/htmlediting.h:
              * editing/markup.h:
              * html/CanvasGradient.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.cpp:
              * html/HTMLCollection.h:
              * html/HTMLElementFactory.h:
              * kcanvas/KCanvasFilters.cpp:
              * kcanvas/KCanvasPath.h:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderSVGImage.cpp:
              * kcanvas/RenderSVGText.cpp:
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              * kcanvas/device/quartz/QuartzSupport.mm:
              * ksvg2/misc/KSVGTimeScheduler.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/scripts/make_names.pl:
              * ksvg2/svg/SVGDOMImplementation.cpp:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGStyledElement.cpp:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformable.cpp:
              * kwq/AccessibilityObjectCache.h:
              * kwq/KWQCString.cpp:
              * kwq/KWQFormData.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQTextEdit.mm:
              * loader/Cache.h:
              * loader/CachedObject.h:
              * loader/CachedObjectClientWalker.h:
              * loader/Decoder.h:
              * loader/DocLoader.h:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/DOMWindow.h:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              * platform/Arena.cpp:
              * platform/ArrayImpl.h:
              * platform/AtomicString.cpp:
              * platform/CharsetNames.cpp:
              * platform/Color.cpp:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FontFallbackList.h:
              * platform/GraphicsContext.h:
              * platform/GraphicsTypes.cpp:
              * platform/Image.h:
              * platform/KURL.cpp:
              * platform/Logging.cpp:
              * platform/Logging.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/StreamingTextDecoder.cpp:
              * platform/StreamingTextDecoder.h:
              * platform/String.cpp:
              * platform/StringHash.h:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextEncoding.cpp:
              * platform/Timer.cpp:
              * platform/Timer.h:
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              * platform/mac/BlockExceptions.mm:
              * platform/mac/ColorMac.mm:
              * platform/mac/FontData.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/QStringMac.mm:
              * platform/mac/SharedTimerMac.cpp:
              * platform/mac/TextEncodingMac.cpp:
              * platform/mac/WebCoreImageRendererFactory.m:
              * platform/mac/WebCoreKeyGenerator.m:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.mm:
              * platform/mac/WebTextRendererFactory.h:
              * platform/mac/WebTextRendererFactory.mm:
              * platform/win/TemporaryLinkStubs.cpp:
              (JavaAppletWidget::JavaAppletWidget):
              * rendering/InlineTextBox.cpp:
              * rendering/RenderText.cpp:
              * rendering/RenderTreeAsText.cpp:
              * rendering/bidi.cpp:
              * xml/XSLTProcessor.h:
              * xpath/impl/XPathExpressionNode.h:
              * xpath/impl/XPathParser.h:
              * xpath/impl/XPathPath.h:
              * xpath/impl/XPathUtil.h:
      
      WebKit:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * Misc/WebKitLogging.h:
              * Misc/WebKitLogging.m:
              (initializeLogChannel):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb863518
    • mjs's avatar
      Reviewed by Anders. · 9274e380
      mjs authored
              * Scripts/extract-localizable-strings: Update for correct names of log macros.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9274e380
    • andersca's avatar
      WebCore: · 83146103
      andersca authored
      2006-05-09  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Maciej.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8803
              XPath query for empty attributes crashes in XPath::StringExpression::StringExpression
              
              * xpath/impl/XPathParser.cpp:
              (WebCore::XPath::Parser::lexString):
              Make sure an empty string is returned instead of a null string.
              
              (WebCore::XPath::Parser::lex):
              Only assign the string if it isn't null.
      
      LayoutTests:
      
      2006-05-09  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Maciej.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8803
              XPath query for empty attributes crashes in XPath::StringExpression::StringExpression
              
              * xpath/impl/XPathParser.cpp:
              (WebCore::XPath::Parser::lexString):
              Make sure an empty string is returned instead of a null string.
              
              (WebCore::XPath::Parser::lex):
              Only assign the string if it isn't null.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83146103
    • ap's avatar
      Reviewed by Darin. · 979f9861
      ap authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8769
                TextEncoding::fromUnicode() - support non-BMP characters and convert to NFC
      
              Fix the ICU code path, too (currently unused on the Mac).
      
              * platform/TextEncoding.cpp:
              (WebCore::TextEncoding::fromUnicode): Normalize the string.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      979f9861
    • thatcher's avatar
      Reviewed by Anders. · c7739177
      thatcher authored
              Bug 8804: Inspector should support searching by Xpath query
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8804
      
              * WebInspector/WebInspector.m:
              (-[WebInspector _refreshSearch]):
              * WebInspector/webInspector/inspector.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7739177
    • mjs's avatar
      WebCore: · dd13ab48
      mjs authored
              Reviewed by Tim Hatcher.
              
              - refactor things so that WebKit doesn't save a WebResource for every loaded URL,
              but rather retrieves the data from the WebCore cache as needed.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8802
      
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge getData:andResponse:forURL:]):
              (-[WebCoreFrameBridge getAllResourceDatas:andResponses:]):
              * loader/Cache.cpp:
              (WebCore::Cache::updateCacheStatus):
              (WebCore::Cache::requestImage):
              (WebCore::Cache::requestStyleSheet):
              (WebCore::Cache::requestScript):
              (WebCore::Cache::requestXSLStyleSheet):
              (WebCore::Cache::requestXBLDocument):
              * loader/Cache.h:
              * loader/CachedResource.cpp: Added.
              * loader/CachedResource.h: Added.
              * loader/CachedResourceClient.h: Added.
              * loader/CachedResourceClientWalker.cpp: Added.
              * loader/CachedResourceClientWalker.h: Added.
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::setAutoloadImages):
              (WebCore::DocLoader::removeCachedObject):
              * loader/DocLoader.h:
              (WebCore::DocLoader::cachedObject):
              (WebCore::DocLoader::allCachedObjects):
      
      WebKit:
      
              Reviewed by Tim Hatcher.
              
              - refactor things so that WebKit doesn't save a WebResource for every loaded URL,
              but rather retrieves the data from the WebCore cache as needed.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8802
      
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge objectLoadedFromCacheWithURL:response:data:]):
              (-[WebFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
              * WebCoreSupport/WebSubresourceLoader.m:
              (-[WebSubresourceLoader didReceiveResponse:]):
              * WebView/WebDataSource.m:
              (-[WebDataSourcePrivate dealloc]):
              (-[WebDataSource _setupForReplaceByMIMEType:]):
              (-[WebDataSource _archivedSubresourceForURL:]):
              (-[WebDataSource initWithRequest:]):
              (-[WebDataSource subresources]):
              (-[WebDataSource subresourceForURL:]):
              (-[WebDataSource addSubresource:]):
              * WebView/WebDataSourcePrivate.h:
              * WebView/WebFrame.m:
              * WebView/WebFrameInternal.h:
              * WebView/WebHTMLView.m:
              * WebView/WebLoader.h:
              * WebView/WebLoader.m:
              (-[NSURLProtocol loadWithRequest:]):
              (-[NSURLProtocol didFinishLoading]):
              * WebView/WebUnarchivingState.h:
              * WebView/WebUnarchivingState.m:
              (-[WebUnarchivingState addResource:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd13ab48
    • andersca's avatar
      2006-05-09 Anders Carlsson <acarlsson@apple.com> · b0d4e3b5
      andersca authored
              Reviewed by Maciej.
              
              * Scripts/check-dom-results:
              Add XPath to the list of results.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0d4e3b5
  2. 08 May, 2006 21 commits
    • lweintraub's avatar
      Reviewed by justin. · 1a327fd7
      lweintraub authored
              
              REGRESSION: two editing layout tests show incorrect spell checking in pixel test mode
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8350
              Forgot to update expected results.
      
              * fast/dom/inner-text-001-expected.txt
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a327fd7
    • lweintraub's avatar
      LayoutTests: · 18ea20f9
      lweintraub authored
              Reviewed by justin.
              
              REGRESSION: two editing layout tests show incorrect spell checking in pixel test mode
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8350
      
              * editing/pasteboard/innerText-inline-table-expected.checksum: Added.
              * editing/pasteboard/innerText-inline-table-expected.png: Added.
              * editing/pasteboard/innerText-inline-table-expected.txt: Added.
              * editing/pasteboard/innerText-inline-table.html: Added.
      
      WebCore:
      
              Reviewed by justin.
      
              * editing/TextIterator.cpp:
              (WebCore::shouldEmitSpaceBeforeAndAfterNode):
              Returns true when the node should have a leading and trailing space. Currently only
              used for inline tables. The function shouldEmitNewlinesBeforeAndAfterNode has a
              fallback for nodes with no RenderObject, but the inline property doesn't really
              have a meaning without one.
              (WebCore::TextIterator::handleNonTextNode):
              Checks shouldEmitSpaceBeforeAndAfterNode and inserts a space if necessary.
              (WebCore::TextIterator::exitNode):
              Checks shouldEmitSpaceBeforeAndAfterNode and inserts a space if necessary.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18ea20f9
    • darin's avatar
      * Scripts/do-webcore-rename: Add another rename. · 43c5536e
      darin authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43c5536e
    • thatcher's avatar
      Reviewed by Tim O. · 63fd2959
      thatcher authored
              * bindings/npapi.h: do not define #pragma options align=mac68k if we are 64-bit
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63fd2959
    • thatcher's avatar
      Adding a ARGS variable that can be used to pass arguments to xcodebuild. This... · d7583b46
      thatcher authored
      Adding a ARGS variable that can be used to pass arguments to xcodebuild. This is handy when you want to temporary overide a build setting, like ARCHS. Use: make r ARGS='ARCHS=ppc64'
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7583b46
    • andersca's avatar
    • andersca's avatar
      Add xpath\impl to include path as well. · e4b4de35
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4b4de35
    • andersca's avatar
      Add XPATH_SUPPORT define. This is getting old... · d5c93072
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5c93072
    • andersca's avatar
      Add xpath in _both_ places · 8432d94e
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8432d94e
    • andersca's avatar
      Another try, now add xpath to the include path · e4d8d2dc
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4d8d2dc
    • andersca's avatar
      2006-05-08 Anders Carlsson <acarlsson@apple.com> · 19806c87
      andersca authored
              Try fixing the Win32 build
              
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              Add XPath files to project.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19806c87
    • andersca's avatar
      2006-05-04 Anders Carlsson <acarlsson@apple.com> · 42ff937d
      andersca authored
              Reviewed by Darin.
      
              Add DOM3 xpath tests as self-contained SVG files. 
              
              * dom/svg: Added.
              * dom/svg/level3: Added.
              * dom/svg/level3/xpath: Added.
              * dom/svg/level3/xpath/Attribute_Nodes-expected.txt: Added.
              * dom/svg/level3/xpath/Attribute_Nodes.js: Added.
              * dom/svg/level3/xpath/Attribute_Nodes.svg: Added.
              * dom/svg/level3/xpath/Attribute_Nodes_xmlns-expected.txt: Added.
              * dom/svg/level3/xpath/Attribute_Nodes_xmlns.js: Added.
              * dom/svg/level3/xpath/Attribute_Nodes_xmlns.svg: Added.
              * dom/svg/level3/xpath/Comment_Nodes-expected.txt: Added.
              * dom/svg/level3/xpath/Comment_Nodes.js: Added.
              * dom/svg/level3/xpath/Comment_Nodes.svg: Added.
              * dom/svg/level3/xpath/Conformance_Expressions-expected.txt: Added.
              * dom/svg/level3/xpath/Conformance_Expressions.js: Added.
              * dom/svg/level3/xpath/Conformance_Expressions.svg: Added.
              * dom/svg/level3/xpath/Conformance_ID-expected.txt: Added.
              * dom/svg/level3/xpath/Conformance_ID.js: Added.
              * dom/svg/level3/xpath/Conformance_ID.svg: Added.
              * dom/svg/level3/xpath/Conformance_hasFeature_3-expected.txt: Added.
              * dom/svg/level3/xpath/Conformance_hasFeature_3.js: Added.
              * dom/svg/level3/xpath/Conformance_hasFeature_3.svg: Added.
              * dom/svg/level3/xpath/Conformance_hasFeature_empty-expected.txt: Added.
              * dom/svg/level3/xpath/Conformance_hasFeature_empty.js: Added.
              * dom/svg/level3/xpath/Conformance_hasFeature_empty.svg: Added.
              * dom/svg/level3/xpath/Conformance_hasFeature_null-expected.txt: Added.
              * dom/svg/level3/xpath/Conformance_hasFeature_null.js: Added.
              * dom/svg/level3/xpath/Conformance_hasFeature_null.svg: Added.
              * dom/svg/level3/xpath/Conformance_isSupported_3-expected.txt: Added.
              * dom/svg/level3/xpath/Conformance_isSupported_3.js: Added.
              * dom/svg/level3/xpath/Conformance_isSupported_3.svg: Added.
              * dom/svg/level3/xpath/Conformance_isSupported_empty-expected.txt: Added.
              * dom/svg/level3/xpath/Conformance_isSupported_empty.js: Added.
              * dom/svg/level3/xpath/Conformance_isSupported_empty.svg: Added.
              * dom/svg/level3/xpath/Conformance_isSupported_null-expected.txt: Added.
              * dom/svg/level3/xpath/Conformance_isSupported_null.js: Added.
              * dom/svg/level3/xpath/Conformance_isSupported_null.svg: Added.
              * dom/svg/level3/xpath/Element_Nodes-expected.txt: Added.
              * dom/svg/level3/xpath/Element_Nodes.js: Added.
              * dom/svg/level3/xpath/Element_Nodes.svg: Added.
              * dom/svg/level3/xpath/Processing_Instruction_Nodes-expected.txt: Added.
              * dom/svg/level3/xpath/Processing_Instruction_Nodes.js: Added.
              * dom/svg/level3/xpath/Processing_Instruction_Nodes.svg: Added.
              * dom/svg/level3/xpath/Text_Nodes-expected.txt: Added.
              * dom/svg/level3/xpath/Text_Nodes.js: Added.
              * dom/svg/level3/xpath/Text_Nodes.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluatorCast01-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluatorCast01.js: Added.
              * dom/svg/level3/xpath/XPathEvaluatorCast01.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_01-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_01.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_01.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_02-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_02.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_02.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NS-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NS.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_NS.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_no_NS-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_no_NS.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createExpression_no_NS.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_all-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_all.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_all.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_document-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_document.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_document.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_documentElement-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_documentElement.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_documentElement.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_INVALID_EXPRESSION_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_INVALID_EXPRESSION_ERR.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_INVALID_EXPRESSION_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_NAMESPACE_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_NAMESPACE_ERR.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_NAMESPACE_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_TYPE_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_TYPE_ERR.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_TYPE_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_WRONG_DOCUMENT_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_WRONG_DOCUMENT_ERR.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_WRONG_DOCUMENT_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_document-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_document.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_document.svg: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_documentElement-expected.txt: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_documentElement.js: Added.
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_documentElement.svg: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.js: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_WRONG_DOCUMENT_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_WRONG_DOCUMENT_ERR.js: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_WRONG_DOCUMENT_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_document-expected.txt: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_document.js: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_document.svg: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_documentElement-expected.txt: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_documentElement.js: Added.
              * dom/svg/level3/xpath/XPathExpression_evaluate_documentElement.svg: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_nist_dmstc-expected.txt: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_nist_dmstc.js: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_nist_dmstc.svg: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_null-expected.txt: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_null.js: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_null.svg: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_prefix-expected.txt: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_prefix.js: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_prefix.svg: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_xml-expected.txt: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_xml.js: Added.
              * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_xml.svg: Added.
              * dom/svg/level3/xpath/XPathResult_TYPE_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_TYPE_ERR.js: Added.
              * dom/svg/level3/xpath/XPathResult_TYPE_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathResult_booleanValue_false-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_booleanValue_false.js: Added.
              * dom/svg/level3/xpath/XPathResult_booleanValue_false.svg: Added.
              * dom/svg/level3/xpath/XPathResult_booleanValue_true-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_booleanValue_true.js: Added.
              * dom/svg/level3/xpath/XPathResult_booleanValue_true.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_UNORDERED_NODE_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_UNORDERED_NODE_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_UNORDERED_NODE_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_BOOLEAN_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_BOOLEAN_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_BOOLEAN_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_FIRST_ORDERED_NODE_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_FIRST_ORDERED_NODE_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_FIRST_ORDERED_NODE_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_NUMBER_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_NUMBER_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_NUMBER_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_ITERATOR_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_ITERATOR_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_ITERATOR_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_SNAPSHOT_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_SNAPSHOT_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_SNAPSHOT_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_STRING_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_STRING_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_STRING_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_ITERATOR_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_ITERATOR_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_ITERATOR_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_SNAPSHOT_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_SNAPSHOT_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_SNAPSHOT_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_iterateNext_INVALID_STATE_ERR-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_iterateNext_INVALID_STATE_ERR.js: Added.
              * dom/svg/level3/xpath/XPathResult_iterateNext_INVALID_STATE_ERR.svg: Added.
              * dom/svg/level3/xpath/XPathResult_iteratorNext_ORDERED_NODE_ITERATOR_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_iteratorNext_ORDERED_NODE_ITERATOR_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_iteratorNext_ORDERED_NODE_ITERATOR_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_iteratorNext_UNORDERED_NODE_ITERATOR_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_numberValue-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_numberValue.js: Added.
              * dom/svg/level3/xpath/XPathResult_numberValue.svg: Added.
              * dom/svg/level3/xpath/XPathResult_resultType-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_resultType.js: Added.
              * dom/svg/level3/xpath/XPathResult_resultType.svg: Added.
              * dom/svg/level3/xpath/XPathResult_singleNodeValue_ANY_UNORDERED_NODE_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_singleNodeValue_ANY_UNORDERED_NODE_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_singleNodeValue_ANY_UNORDERED_NODE_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_singleNodeValue_FIRST_ORDERED_NODE_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_singleNodeValue_FIRST_ORDERED_NODE_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_singleNodeValue_FIRST_ORDERED_NODE_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_null-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_null.js: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_null.svg: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_order-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_order.js: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_order.svg: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_count-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_count.js: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_count.svg: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_null-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_null.js: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_null.svg: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotLength_ORDERED_NODE_SNAPSHOT_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotLength_ORDERED_NODE_SNAPSHOT_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotLength_ORDERED_NODE_SNAPSHOT_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotLength_UNORDERED_NODE_SNAPSHOT_TYPE-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotLength_UNORDERED_NODE_SNAPSHOT_TYPE.js: Added.
              * dom/svg/level3/xpath/XPathResult_snapshotLength_UNORDERED_NODE_SNAPSHOT_TYPE.svg: Added.
              * dom/svg/level3/xpath/XPathResult_stringValue-expected.txt: Added.
              * dom/svg/level3/xpath/XPathResult_stringValue.js: Added.
              * dom/svg/level3/xpath/XPathResult_stringValue.svg: Added.
              * dom/svg/level3/xpath/svgunit.js: Added.
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42ff937d
    • andersca's avatar
      2006-05-08 Anders Carlsson <acarlsson@apple.com> · 75fd42c9
      andersca authored
              Reviewed by Darin, Eric and Maciej.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6638
              Support Mozilla's XPathEvaluator object.
              
              * DerivedSources.make:
              Generate XPath grammar, and JavaScript wrappers.
              
              * WebCore.xcodeproj/project.pbxproj:
              Add new files to project
              
              * bindings/js/kjs_binding.cpp:
              (KJS::):
              (KJS::setDOMException):
              Handle setting XPath exceptions.
              
              * bindings/objc/DOM.mm:
              Just return nil for now when trying to create a wrapper for 
              XPath namespace nodes.
      
              * bindings/scripts/CodeGeneratorJS.pm:
              Add XPath types. Also add a "CanBeConstructed" extended attribute
              for interfaces that can be constructed directly.
              
              * bridge/mac/WebCorePageBridge.mm:
              (initializeLoggingChannelsIfNecessary):
              Initialize LogXPath channel.
              
              * dom/DOMImplementation.cpp:
              (WebCore::DOMImplementation::hasFeature):
              Support "xpath" version "3.0".
              
              * dom/Document.cpp:
              (WebCore::Document::Document):
              
              (WebCore::Document::importNode):
              Ignore XPath namespace nodes.
              
              (WebCore::Document::createExpression):
              (WebCore::Document::createNSResolver):
              (WebCore::Document::evaluate):
              New functions which call down to a lazily created XPathEvaluator.
      
              * dom/Document.h:
              Add function declarations.
              
              * dom/Document.idl:
              Add XPath methods.
              
              * dom/Node.h:
              (WebCore::Node::):
              Add XPATH_NAMESPACE_NODE type.
              
              * editing/markup.cpp:
              (WebCore::startMarkup):
              Ignore XPath namespace nodes.
              
              * page/DOMWindow.idl:
              Add constructors for XPathEvaluator and XPathResult.
              
              * platform/Logging.cpp:
              * platform/Logging.h:
              Add XPath log channel
      
              * xpath: Added.
              * xpath/XPathEvaluator.cpp: Added.
              (WebCore::XPathEvaluator::createExpression):
              (WebCore::XPathEvaluator::createNSResolver):
              (WebCore::XPathEvaluator::evaluate):
              * xpath/XPathEvaluator.h: Added.
              (WebCore::):
              * xpath/XPathEvaluator.idl: Added.
              * xpath/XPathExpression.cpp: Added.
              (WebCore::XPathExpression::createExpression):
              (WebCore::XPathExpression::~XPathExpression):
              (WebCore::XPathExpression::evaluate):
              * xpath/XPathExpression.h: Added.
              * xpath/XPathExpression.idl: Added.
              * xpath/XPathNSResolver.cpp: Added.
              (WebCore::XPathNSResolver::XPathNSResolver):
              (WebCore::XPathNSResolver::lookupNamespaceURI):
              * xpath/XPathNSResolver.h: Added.
              * xpath/XPathNSResolver.idl: Added.
              * xpath/XPathNamespace.cpp: Added.
              (WebCore::XPathNamespace::XPathNamespace):
              (WebCore::XPathNamespace::~XPathNamespace):
              (WebCore::XPathNamespace::ownerDocument):
              (WebCore::XPathNamespace::ownerElement):
              (WebCore::XPathNamespace::prefix):
              (WebCore::XPathNamespace::nodeName):
              (WebCore::XPathNamespace::nodeValue):
              (WebCore::XPathNamespace::namespaceURI):
              (WebCore::XPathNamespace::nodeType):
              * xpath/XPathNamespace.h: Added.
              * xpath/XPathResult.cpp: Added.
              (WebCore::InvalidatingEventListener::InvalidatingEventListener):
              (WebCore::InvalidatingEventListener::handleEvent):
              (WebCore::XPathResult::XPathResult):
              (WebCore::XPathResult::~XPathResult):
              (WebCore::XPathResult::convertTo):
              (WebCore::XPathResult::resultType):
              (WebCore::XPathResult::numberValue):
              (WebCore::XPathResult::stringValue):
              (WebCore::XPathResult::booleanValue):
              (WebCore::XPathResult::singleNodeValue):
              (WebCore::XPathResult::invalidateIteratorState):
              (WebCore::XPathResult::invalidIteratorState):
              (WebCore::XPathResult::snapshotLength):
              (WebCore::XPathResult::iterateNext):
              (WebCore::XPathResult::snapshotItem):
              * xpath/XPathResult.h: Added.
              (WebCore::XPathResult::):
              * xpath/XPathResult.idl: Added.
              * xpath/impl: Added.
              * xpath/impl/XPathExpressionNode.cpp: Added.
              (WebCore::XPath::Expression::evaluationContext):
              (WebCore::XPath::Expression::Expression):
              (WebCore::XPath::Expression::~Expression):
              (WebCore::XPath::Expression::evaluate):
              (WebCore::XPath::Expression::addSubExpression):
              (WebCore::XPath::Expression::optimize):
              (WebCore::XPath::Expression::subExprCount):
              (WebCore::XPath::Expression::subExpr):
              (WebCore::XPath::Expression::isConstant):
              * xpath/impl/XPathExpressionNode.h: Added.
              (WebCore::XPath::EvaluationContext::EvaluationContext):
              * xpath/impl/XPathFunctions.cpp: Added.
              (WebCore::XPath::Interval::Interval):
              (WebCore::XPath::Interval::contains):
              (WebCore::XPath::Interval::asString):
              (WebCore::XPath::Function::setArguments):
              (WebCore::XPath::Function::setName):
              (WebCore::XPath::Function::arg):
              (WebCore::XPath::Function::argCount):
              (WebCore::XPath::Function::name):
              (WebCore::XPath::FunLast::doEvaluate):
              (WebCore::XPath::FunLast::isConstant):
              (WebCore::XPath::FunPosition::doEvaluate):
              (WebCore::XPath::FunPosition::isConstant):
              (WebCore::XPath::FunLocalName::isConstant):
              (WebCore::XPath::FunLocalName::doEvaluate):
              (WebCore::XPath::FunNamespaceURI::isConstant):
              (WebCore::XPath::FunNamespaceURI::doEvaluate):
              (WebCore::XPath::FunName::isConstant):
              (WebCore::XPath::FunName::doEvaluate):
              (WebCore::XPath::FunCount::doEvaluate):
              (WebCore::XPath::FunCount::isConstant):
              (WebCore::XPath::FunString::doEvaluate):
              (WebCore::XPath::FunConcat::doEvaluate):
              (WebCore::XPath::FunStartsWith::doEvaluate):
              (WebCore::XPath::FunContains::doEvaluate):
              (WebCore::XPath::FunSubstringBefore::doEvaluate):
              (WebCore::XPath::FunSubstringAfter::doEvaluate):
              (WebCore::XPath::FunSubstring::doEvaluate):
              (WebCore::XPath::FunStringLength::doEvaluate):
              (WebCore::XPath::FunNormalizeSpace::doEvaluate):
              (WebCore::XPath::FunTranslate::doEvaluate):
              (WebCore::XPath::FunBoolean::doEvaluate):
              (WebCore::XPath::FunNot::doEvaluate):
              (WebCore::XPath::FunTrue::doEvaluate):
              (WebCore::XPath::FunTrue::isConstant):
              (WebCore::XPath::FunLang::doEvaluate):
              (WebCore::XPath::FunLang::isConstant):
              (WebCore::XPath::FunFalse::doEvaluate):
              (WebCore::XPath::FunFalse::isConstant):
              (WebCore::XPath::FunNumber::doEvaluate):
              (WebCore::XPath::FunSum::doEvaluate):
              (WebCore::XPath::FunFloor::doEvaluate):
              (WebCore::XPath::FunCeiling::doEvaluate):
              (WebCore::XPath::FunRound::doEvaluate):
              (WebCore::XPath::FunctionLibrary::self):
              (WebCore::XPath::FunctionLibrary::FunctionLibrary):
              (WebCore::XPath::FunctionLibrary::createFunction):
              * xpath/impl/XPathFunctions.h: Added.
              * xpath/impl/XPathGrammar.y: Added.
              * xpath/impl/XPathParser.cpp: Added.
              (WebCore::XPath::):
              (WebCore::XPath::Parser::charCat):
              (WebCore::XPath::Parser::isAxisName):
              (WebCore::XPath::Parser::isNodeTypeName):
              (WebCore::XPath::Parser::isOperatorContext):
              (WebCore::XPath::Parser::skipWS):
              (WebCore::XPath::Parser::makeTokenAndAdvance):
              (WebCore::XPath::Parser::makeIntTokenAndAdvance):
              (WebCore::XPath::Parser::peekAheadHelper):
              (WebCore::XPath::Parser::peekCurHelper):
              (WebCore::XPath::Parser::lexString):
              (WebCore::XPath::Parser::lexNumber):
              (WebCore::XPath::Parser::lexNCName):
              (WebCore::XPath::Parser::lexQName):
              (WebCore::XPath::Parser::nextTokenInternal):
              (WebCore::XPath::Parser::nextToken):
              (WebCore::XPath::Parser::Parser):
              (WebCore::XPath::Parser::reset):
              (WebCore::XPath::Parser::lex):
              (WebCore::XPath::Parser::parseStatement):
              (WebCore::XPath::Parser::registerParseNode):
              (WebCore::XPath::Parser::unregisterParseNode):
              (WebCore::XPath::Parser::registerPredicateVector):
              (WebCore::XPath::Parser::unregisterPredicateVector):
              (WebCore::XPath::Parser::registerExpressionVector):
              (WebCore::XPath::Parser::unregisterExpressionVector):
              (WebCore::XPath::Parser::registerString):
              (WebCore::XPath::Parser::unregisterString):
              * xpath/impl/XPathParser.h: Added.
              (WebCore::XPath::Token::Token):
              (WebCore::XPath::Parser::):
              (WebCore::XPath::Parser::current):
              * xpath/impl/XPathPath.cpp: Added.
              (WebCore::XPath::Filter::Filter):
              (WebCore::XPath::Filter::~Filter):
              (WebCore::XPath::Filter::doEvaluate):
              (WebCore::XPath::LocationPath::LocationPath):
              (WebCore::XPath::LocationPath::~LocationPath):
              (WebCore::XPath::LocationPath::optimize):
              (WebCore::XPath::LocationPath::doEvaluate):
              (WebCore::XPath::Path::Path):
              (WebCore::XPath::Path::~Path):
              (WebCore::XPath::Path::doEvaluate):
              * xpath/impl/XPathPath.h: Added.
              * xpath/impl/XPathPredicate.cpp: Added.
              (WebCore::XPath::Number::Number):
              (WebCore::XPath::Number::isConstant):
              (WebCore::XPath::Number::doEvaluate):
              (WebCore::XPath::StringExpression::StringExpression):
              (WebCore::XPath::StringExpression::isConstant):
              (WebCore::XPath::StringExpression::doEvaluate):
              (WebCore::XPath::Negative::doEvaluate):
              (WebCore::XPath::NumericOp::NumericOp):
              (WebCore::XPath::NumericOp::doEvaluate):
              (WebCore::XPath::EqTestOp::EqTestOp):
              (WebCore::XPath::EqTestOp::doEvaluate):
              (WebCore::XPath::LogicalOp::LogicalOp):
              (WebCore::XPath::LogicalOp::shortCircuitOn):
              (WebCore::XPath::LogicalOp::isConstant):
              (WebCore::XPath::LogicalOp::doEvaluate):
              (WebCore::XPath::Union::doEvaluate):
              (WebCore::XPath::Predicate::Predicate):
              (WebCore::XPath::Predicate::~Predicate):
              (WebCore::XPath::Predicate::evaluate):
              (WebCore::XPath::Predicate::optimize):
              * xpath/impl/XPathPredicate.h: Added.
              (WebCore::XPath::NumericOp::):
              (WebCore::XPath::EqTestOp::):
              (WebCore::XPath::LogicalOp::):
              * xpath/impl/XPathStep.cpp: Added.
              (WebCore::XPath::Step::axisAsString):
              (WebCore::XPath::Step::Step):
              (WebCore::XPath::Step::~Step):
              (WebCore::XPath::Step::evaluate):
              (WebCore::XPath::Step::nodesInAxis):
              (WebCore::XPath::Step::nodeTestMatches):
              (WebCore::XPath::Step::optimize):
              (WebCore::XPath::Step::namespaceFromNodetest):
              (WebCore::XPath::Step::primaryNodeType):
              * xpath/impl/XPathStep.h: Added.
              (WebCore::XPath::Step::):
              * xpath/impl/XPathUtil.cpp: Added.
              (WebCore::XPath::isRootDomNode):
              (WebCore::XPath::stringValue):
              (WebCore::XPath::isValidContextNode):
              * xpath/impl/XPathUtil.h: Added.
              * xpath/impl/XPathValue.cpp: Added.
              (WebCore::XPath::Value::Value):
              (WebCore::XPath::Value::type):
              (WebCore::XPath::Value::isNodeVector):
              (WebCore::XPath::Value::isBoolean):
              (WebCore::XPath::Value::isNumber):
              (WebCore::XPath::Value::isString):
              (WebCore::XPath::Value::toNodeVector):
              (WebCore::XPath::Value::toBoolean):
              (WebCore::XPath::Value::toNumber):
              (WebCore::XPath::Value::toString):
              * xpath/impl/XPathValue.h: Added.
              (WebCore::XPath::Value::):
              * xpath/impl/XPathVariableReference.cpp: Added.
              (WebCore::XPath::VariableReference::VariableReference):
              (WebCore::XPath::VariableReference::isConstant):
              (WebCore::XPath::VariableReference::doEvaluate):
              * xpath/impl/XPathVariableReference.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75fd42c9
    • hyatt's avatar
      Remove an outdated comment from RenderBox. · 2265c2d5
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2265c2d5
    • hyatt's avatar
      Update layout test results. · ca787eb5
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca787eb5
    • hyatt's avatar
      Fix typo in variable name. · da70cca4
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da70cca4
    • jdevalk's avatar
      changed checkout guide to point to universal binary. · 1f5c90da
      jdevalk authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14229 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f5c90da
    • hyatt's avatar
      95cea08a
    • hyatt's avatar
      Comprehensive box-sizing fix. This patch changes all form controls to · 6e8d3fdd
      hyatt authored
              have the right box-sizing values (text fields and text areas actually only
              use border-box in quirks mode now, and image buttons never use border-box).
      
              Tables are supposed to use border-box box-sizing as well, but that's a scary
              enough change that I'm saving it for a separate patch.
      
              Reviewed by mjs
      
              * css/html4.css:
              * css/quirks.css:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e8d3fdd
    • ap's avatar
      Reviewed by Darin. · 6adf2e1a
      ap authored
              Updated a test case affected by the previous checkin. &rang; and &lang; are
              replaced with their canonical equivalents during normalization.
      
              * fast/parser/entities-in-xhtml-expected.checksum:
              * fast/parser/entities-in-xhtml-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6adf2e1a
    • darin's avatar
      Tweak change log. · d26e09db
      darin authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d26e09db
  3. 07 May, 2006 8 commits
  4. 06 May, 2006 1 commit
    • hyatt's avatar
      Rename WebCoreFont to FontPlatformData and WebTextRenderer to... · 4f04d3e6
      hyatt authored
              Rename WebCoreFont to FontPlatformData and WebTextRenderer to FontData.  Merge them into the
              headers (uncleanly with ifdefs at the moment, so I can see what I'm working towards).
      
              Reviewed by mjs
      
              * ChangeLog:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreStringTruncator.mm:
              (stringWidth):
              (truncateString):
              (+[WebCoreStringTruncator widthOfString:font:]):
              * kwq/KWQComboBox.mm:
              (QComboBox::sizeHint):
              * kwq/KWQLineEdit.mm:
              (QLineEdit::sizeForCharacterWidth):
              * kwq/KWQListBox.mm:
              (itemTextRenderer):
              (groupLabelTextRenderer):
              (QListBox::sizeForNumberOfLines):
              (-[KWQTableView drawRow:clipRect:]):
              * platform/Font.cpp:
              (WebCore::m_wordSpacing):
              (WebCore::Font::Font):
              (WebCore::Font::operator=):
              (WebCore::Font::update):
              (WebCore::Font::ascent):
              (WebCore::Font::descent):
              (WebCore::Font::lineSpacing):
              (WebCore::Font::xHeight):
              (WebCore::Font::isFixedPitch):
              * platform/Font.h:
              (WebCore::Font::getNSFont):
              * platform/FontData.h:
              (WebCore::FontData::ascent):
              (WebCore::FontData::descent):
              (WebCore::FontData::lineSpacing):
              (WebCore::FontData::lineGap):
              (WebCore::FontData::misspellingLineThickness):
              (WebCore::FontData::misspellingLinePatternWidth):
              (WebCore::FontData::misspellingLinePatternGapWidth):
              * platform/FontDataSet.h: Removed.
              * platform/FontFallbackList.h: Added.
              * platform/FontPlatformData.h:
              * platform/mac/FontData.mm: Added.
              (WebCore::WebCoreInitializeFont):
              (WebCore::WebCoreInitializeEmptyTextGeometry):
              (WebCore::widthForGlyph):
              (WebCore::overrideLayoutOperation):
              (WebCore::FontData::~FontData):
              (WebCore::FontData::xHeight):
              (WebCore::FontData::drawRun):
              (WebCore::FontData::floatWidthForRun):
              (WebCore::FontData::drawLineForCharacters):
              (WebCore::FontData::selectionRectForRun):
              (WebCore::FontData::drawHighlightForRun):
              (WebCore::FontData::drawLineForMisspelling):
              (WebCore::FontData::pointToOffset):
              (WebCore::FontData::setAlwaysUseATSU):
              (WebCore::getSmallCapsRenderer):
              (WebCore::findSubstituteFont):
              (WebCore::rendererForAlternateFont):
              (WebCore::findSubstituteRenderer):
              (WebCore::computeWidthForSpace):
              (WebCore::setUpFont):
              (WebCore::CG_drawHighlight):
              (WebCore::CG_selectionRect):
              (WebCore::CG_draw):
              (WebCore::CG_floatWidthForRun):
              (WebCore::updateGlyphMapEntry):
              (WebCore::extendGlyphMap):
              (WebCore::extendWidthMap):
              (WebCore::initializeATSUStyle):
              (WebCore::createATSULayoutParameters):
              (WebCore::getTextBounds):
              (WebCore::ATSU_floatWidthForRun):
              (WebCore::ATSU_drawHighlight):
              (WebCore::ATSU_selectionRect):
              (WebCore::ATSU_draw):
              (WebCore::ATSU_pointToOffset):
              (WebCore::advanceWidthIteratorOneCharacter):
              (WebCore::CG_pointToOffset):
              (WebCore::glyphForCharacter):
              (WebCore::initializeWidthIterator):
              (WebCore::advanceWidthIterator):
              * platform/mac/FontMac.mm:
              (WebCore::m_font):
              (WebCore::FontFallbackList::~FontFallbackList):
              (WebCore::FontFallbackList::platformFont):
              (WebCore::FontFallbackList::primaryFont):
              (WebCore::FontFallbackList::determinePitch):
              (WebCore::FontFallbackList::invalidate):
              (WebCore::Font::platformFont):
              (WebCore::Font::selectionRectForText):
              (WebCore::Font::drawText):
              (WebCore::Font::drawHighlightForText):
              (WebCore::Font::drawLineForText):
              (WebCore::Font::drawLineForMisspelling):
              (WebCore::Font::misspellingLineThickness):
              (WebCore::Font::floatWidth):
              (WebCore::Font::checkSelectionPoint):
              * platform/mac/WebCoreTextRenderer.mm:
              (WebCoreDrawTextAtPoint):
              (WebCoreTextFloatWidth):
              (WebCoreSetAlwaysUseATSU):
              * platform/mac/WebTextRenderer.h: Removed.
              * platform/mac/WebTextRenderer.mm: Removed.
              * platform/mac/WebTextRendererFactory.h:
              * platform/mac/WebTextRendererFactory.mm:
              (-[WebTextRendererFactory isFontFixedPitch:]):
              (-[WebTextRendererFactory init]):
              (-[WebTextRendererFactory rendererWithFont:]):
              (-[WebTextRendererFactory fontWithFamilies:traits:size:]):
              * platform/win/FontWin.cpp:
              (WebCore::FontFallbackList::~FontFallbackList):
              (WebCore::FontFallbackList::determinePitch):
              (WebCore::FontFallbackList::invalidate):
              (WebCore::FontFallbackList::primaryFont):
              (WebCore::Font::floatWidth):
              (WebCore::Font::drawText):
              (WebCore::Font::drawHighlightForText):
              (WebCore::Font::selectionRectForText):
              (WebCore::Font::checkSelectionPoint):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f04d3e6
  5. 05 May, 2006 3 commits
    • darin's avatar
      - fix the Windows build · 06409168
      darin authored
              * platform/win/FontWin.cpp: (WebCore::getFontData):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06409168
    • darin's avatar
      * platform/SegmentedString.h: (WebCore::SegmentedString::advance): Oops! · 2c028522
      darin authored
              Removed an extra ! that was causing everything to fail.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c028522
    • darin's avatar
      Reviewed by Tim Hatcher. · b64782e6
      darin authored
              - remove a few of the stranger features of QChar on the road to
                eventually replacing it with an integer type (probably ICU's UChar)
      
              * platform/DeprecatedString.h: Remove SpecialCharacter, byteOrderMark, null,
              cell, row, isNull, mirrored, mirroredChar, operator char, >, >=, <, and <=
              from QChar. Also removed the many unneeded friend declarations. Remove findArg
              and arg from DeprecatedString.
      
              * dom/Document.cpp: (WebCore::Document::parseQualifiedName): Cast the type of the
              buffer before invoking the U16_NEXT function. Turns out this was converting each
              QChar to a char and back to a UChar, which means it caused a bug with characters
              that are U+0100 or greater.
      
              * css/csshelper.cpp: (WebCore::parseURL):
              * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::constrainValue):
              * platform/StringImpl.cpp: (WebCore::StringImpl::toCoordsArray):
              * xml/xmlhttprequest.cpp: (WebCore::getCharset):
              Add some calls to unicode() since we don't have comparison operators any more.
      
              * dom/StyledElement.cpp:
              (WebCore::toHex): Rewrote to just take a UChar parameter.
              (WebCore::StyledElement::addCSSColor): Call toHex on the character code.
      
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge smartInsertForString:replacingRange:beforeString:afterString:]):
              * editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::doApply):
              * editing/TextIterator.cpp: (WebCore::TextIterator::handleTextBox):
              * platform/SegmentedString.h:
              (WebCore::SegmentedString::push):
              (WebCore::SegmentedString::advance):
              (WebCore::SegmentedString::escaped):
              * platform/SegmentedString.cpp:
              (WebCore::SegmentedString::length):
              (WebCore::SegmentedString::append):
              (WebCore::SegmentedString::prepend):
              (WebCore::SegmentedString::toString):
              Changed calls to isNull() to instead just use unicode() and check for 0.
      
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::parseEntity): Change callers that used cell and row to
              just use unicode() instead.
              (WebCore::HTMLTokenizer::parseTag): Ditto.
      
              * loader/Decoder.cpp: (Decoder::decode): Changed code that did a type cast to
              unsigned char to instead call unicode().
      
              * platform/DeprecatedString.cpp:
              (KWQStringData::makeAscii): Call latin1() instead of relying on the conversion operator.
              (DeprecatedString::DeprecatedString): Call unicode() instead of relying on the conversion
              operator (the character has been tested and is known to be ASCII).
              (DeprecatedString::at): Use 0 instead of QChar::null.
              (DeprecatedString::compare): Use unicode() so we can do comparison since we don't have
              comparison operators any more.
              (DeprecatedString::find): Call unicode() instead of relying on the conversion
              operator (the character has been tested and is known to be ASCII).
              (DeprecatedString::findRev): Ditto.
              (DeprecatedString::copyLatin1): Call latin1() instead of relying on the conversion operator.
              (DeprecatedString::lower): Call unicode() instead of relying on the conversion
              operator (the character has been tested and is known to be ASCII).
              (DeprecatedString::insert): Ditto.
              (DeprecatedString::replace): Ditto.
              (DeprecatedString::fill): Ditto.
              (DeprecatedString::append): Ditto.
      
              * html/html_inlineimpl.cpp: (WebCore::HTMLAnchorElement::defaultEventHandler):
              Eliminate the one use of DeprecatedString::arg.
      
              - other cleanup
      
              * kwq/KWQCString.cpp: Remove unneeded "using" directive.
      
              * html/HTMLElementFactory.cpp:
              (WebCore::htmlConstructor):
              (WebCore::headConstructor):
              (WebCore::bodyConstructor):
              (WebCore::baseConstructor):
              (WebCore::linkConstructor):
              (WebCore::metaConstructor):
              (WebCore::styleConstructor):
              (WebCore::titleConstructor):
              (WebCore::frameConstructor):
              (WebCore::framesetConstructor):
              (WebCore::iframeConstructor):
              (WebCore::formConstructor):
              (WebCore::buttonConstructor):
              (WebCore::inputConstructor):
              (WebCore::isindexConstructor):
              (WebCore::fieldsetConstructor):
              (WebCore::labelConstructor):
              (WebCore::legendConstructor):
              (WebCore::optgroupConstructor):
              (WebCore::optionConstructor):
              (WebCore::selectConstructor):
              (WebCore::textareaConstructor):
              (WebCore::dlConstructor):
              (WebCore::ulConstructor):
              (WebCore::olConstructor):
              (WebCore::dirConstructor):
              (WebCore::menuConstructor):
              (WebCore::liConstructor):
              (WebCore::blockquoteConstructor):
              (WebCore::divConstructor):
              (WebCore::headingConstructor):
              (WebCore::hrConstructor):
              (WebCore::paragraphConstructor):
              (WebCore::preConstructor):
              (WebCore::basefontConstructor):
              (WebCore::fontConstructor):
              (WebCore::modConstructor):
              (WebCore::anchorConstructor):
              (WebCore::imageConstructor):
              (WebCore::mapConstructor):
              (WebCore::areaConstructor):
              (WebCore::canvasConstructor):
              (WebCore::appletConstructor):
              (WebCore::embedConstructor):
              (WebCore::objectConstructor):
              (WebCore::paramConstructor):
              (WebCore::scriptConstructor):
              (WebCore::tableConstructor):
              (WebCore::tableCaptionConstructor):
              (WebCore::tableColConstructor):
              (WebCore::tableRowConstructor):
              (WebCore::tableCellConstructor):
              (WebCore::tableSectionConstructor):
              (WebCore::brConstructor):
              (WebCore::quoteConstructor):
              (WebCore::marqueeConstructor):
              Mark functions static, remove unused parameters, change from docPtr to doc.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64782e6