1. 29 Aug, 2006 2 commits
    • ggaren's avatar
      Rolling out a change I included by accident in my last commit. · 9f74ac02
      ggaren authored
              
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::passMouseDownEventToWidget):
              * platform/mac/SharedTimerMac.cpp:
              (WebCore::setSharedTimerFireTime):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f74ac02
    • beidson's avatar
      Reviewed by Darin · 5fee66cd
      beidson authored
              Short of a few small snippets that still need to be pushed to WebCore, this
              is a final prune of WebIconDatabase.  WebFileDatabase and WebLRUFileList are gone
              and the small remaining snippets of WebFileDatabase code that were still important
              are now in static functions in WebIconDatabase.m
      
              * Loader/WebIconLoader.m:
              (-[WebIconLoader didFinishLoading]): Removed the flag
              * Misc/WebFileDatabase.h: Removed.
              * Misc/WebFileDatabase.m: Removed.
              * Misc/WebIconDatabase.m:
              (+[WebIconDatabase sharedIconDatabase]):
              (-[WebIconDatabase init]):
              (-[WebIconDatabase iconForURL:withSize:cache:]):
              (-[WebIconDatabase iconURLForURL:]):
              (-[WebIconDatabase defaultIconWithSize:]):
              (-[WebIconDatabase retainIconForURL:]):
              (-[WebIconDatabase releaseIconForURL:]):
              (-[WebIconDatabase _isEnabled]):
              (-[WebIconDatabase _setIconData:forIconURL:]):
              (-[WebIconDatabase _setHaveNoIconForIconURL:]):
              (-[WebIconDatabase _setIconURL:forURL:]):
              (-[WebIconDatabase _hasEntryForIconURL:]):
              (-[WebIconDatabase _applicationWillTerminate:]):
              (-[WebIconDatabase _resetCachedWebPreferences:]):
              (uniqueFilePathForKey): Added from WebFileDatabase
              (objectFromPathForKey): Added from WebFileDatabase
              (iconDataFromPathForIconURL):
              (-[WebIconDatabase _convertToWebCoreFormat]): Make use of static functions and local variables
                instead of using WebFileDatabase and WebIconDatabase variables that are now obsolete
              * Misc/WebIconDatabasePrivate.h: Removed alot of obsoleted members
              * Misc/WebLRUFileList.h: Removed.
              * Misc/WebLRUFileList.m: Removed.
              * WebKit.xcodeproj/project.pbxproj: Deleted 4 files
              * WebKitPrefix.h: Removed ICONDEBUG
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fee66cd
  2. 28 Aug, 2006 16 commits
    • ggaren's avatar
      Reviewed by Maciej. · 4c7c632c
      ggaren authored
              
              Added support for experimental CFNetwork-based loader (not turned on yet).
              
              While I was there, I did the following platform cleanup:
              - Windows now uses USE(WININET) instead of PLATFORM(WIN_OS), to match the
                USE(CFNETWORK) idiom.
              - Removed some #includes of windows.h in platform-independent headers.
              - Changed #ifdef __APPLE__ to PLATFORM(MAC)
              - Fixed some build bustage, including case-sensitive filesystem bustage.
      
              * loader/loader.cpp:
              (WebCore::Loader::receivedAllData):
              * platform/Cursor.h:
              * platform/KURL.h:
              * platform/ResourceLoader.h:
              * platform/ResourceLoaderClient.h:
              * platform/ResourceLoaderInternal.h:
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
              * platform/cfnet/KURLCFNet.cpp: Added.
              (WebCore::KURL::createCFURL):
              * platform/cfnet/ResourceLoaderCFNet.cpp: Added.
              (WebCore::willSendRequest):
              (WebCore::didReceiveChallenge):
              (WebCore::didCancelChallenge):
              (WebCore::didReceiveResponse):
              (WebCore::didReceiveData):
              (WebCore::didFinishLoading):
              (WebCore::didFail):
              (WebCore::willCacheResponse):
              (WebCore::addHeadersFromString):
              (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::arrayFromFormData):
              (WebCore::emptyPerform):
              (WebCore::runLoaderThread):
              (WebCore::ResourceLoader::start):
              (WebCore::ResourceLoader::cancel):
              * platform/win/CursorWin.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c7c632c
    • justing's avatar
      LayoutTests: · b5506610
      justing authored
              Reviewed by harrison
      
              * editing/inserting/redo-expected.checksum: Added.
              * editing/inserting/redo-expected.png: Added.
              * editing/inserting/redo-expected.txt: Added.
              * editing/inserting/redo.html: Added.
              * editing/pasteboard/copy-paste-bidi-expected.txt:
      
      WebCore:
      
              Reviewed by harrison
              
              <rdar://problem/4700341>
              REGRESSION: In new mail message, caret isn't placed at end of line after redoing typing
      
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplaceSelectionCommand::doApply): Added a FIXME.
              * page/Frame.cpp:
              (WebCore::Frame::reappliedEditing): Restore the endingSelection(), not the startingSelection().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b5506610
    • tomernic's avatar
      Reviewed by Darin Adler. · 575e5ea3
      tomernic authored
              * Plugins/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView createPluginScriptableObject]):
              Removed a bogus typecast.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      575e5ea3
    • tomernic's avatar
      WebCore: · cf7d6d65
      tomernic authored
              Reviewed by John Sullivan.
      
              Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
              in Firefox
      
              No test cases added, since this is essentially a leak fix.
      
              A brief history of NPP_GetValue(), NPObjects, and reference counting.
      
              Earlier versions of WebKit incorrectly interpreted the NPRuntime reference counting rules.  We failed to take
              into account the fact that plug-ins are required to retain NPObjects before returning them.  This creates several
              classes of interesting plug-ins:
      
              1) Plug-ins tested in WebKit and other browsers.  These plug-ins may have WebKit-specific workarounds to not retain
                 the returned NPObject, thus avoiding the memory leak in WebKit.
      
              2) Plug-ins tested only in other browsers.  These plug-ins must already retain their NPObjects, since other browsers
                 implemented the NPRuntime retain/release rules correctly.  These plug-ins likely work in WebKit, but probably leak
                 NPObjects since WebKit adds its own retain in addition to the plug-in's retain.
      
              3) Plug-ins tested only in WebKit, that fail to retain their NPObjects before returning them.
                 Such plug-ins are guaranteed to crash in other browsers due to the missing expected retain.  These plug-ins
                 work in older WebKits because WebKit did not expect the plug-in to retain the NPObject.  Now that our retain
                 rules match other browsers, these plug-ins may crash due to the difference in retain/release behavior.  We could
                 potentially detect that situation and correct it here, but I consider it a bug that the plug-in did not follow the
                 documented NPRuntime reference counting rules.  Furthermore, it is extremely unlikely that someone would develop
                 a Netscape plug-in and test it *only* in WebKit.  The entire purpose of creating a Netscape plugin is so that it
                 works in all browsers!
      
              4) Plug-ins tested only in WebKit, that properly retain their NPObjects before returning them.
                 These plug-ins probably work in other browsers, and leak their NPObjects in older WebKits because of WebKit's
                 extra retain.  A developer of this type of plug-in is probably unaware of the NPObject leak.  A more savvy developer
                 would create a plug-in that fits into category #1.
              
              I am changing our NPP_GetValue() behavior to match Firefox and other browsers -- the plug-in is now expected to retain the
              returned NPObject, and the browser is expected to release it when done.  This means that plug-ins in category #3 need to be
              changed so that they don't crash in Safari.  However, such plug-ins already crash in every other browser, so I do not feel that
              this needs to be handled specifically by WebKit.
      
              * bridge/mac/FrameMac.mm:
              Changed -pluginScriptableObject to -createPluginScriptableObject to make clearer the contract that the method must return a
              retained NPObject.  Also changed it to return an actual NPObject* instead of a void*.  There is only one caller of this method,
              and only one implementor.  Using void* here is a needless abstraction.  It's an NPObject*!  Admit it!
              (WebCore::getInstanceForView):
              Release the NPObject after creating the bindings instance.  This is the actual bug fix.
      
      WebKit:
      
              Reviewed by John Sullivan.
      
              Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
              in Firefox
      
              * Plugins/WebBaseNetscapePluginView.h:
              * Plugins/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView createPluginScriptableObject]):
              Renamed this method (see corresponding WebCore ChangeLog entry for an explanation).
              Style changes.
      
      WebKitTools:
      
              Reviewed by John Sullivan.
      
              Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
              in Firefox
      
              * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
              (NPP_GetValue):
              WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox.  NPObject return values
              are expected to be retained by the plug-in, and released by the caller.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf7d6d65
    • aliceli1's avatar
      LayoutTests: · 4bd01007
      aliceli1 authored
              Reviewed by Geoff.
      
             Added tests for <rdar://problem/4548537> Document.domain and other attributes are blank for an iframe created with document.write
      
              * http/tests/misc/iframe-domain-test-expected.txt: Added.
              * http/tests/misc/iframe-domain-test.html: Added.
      
      WebCore:
      
              Reviewed by Geoff.
      
              Fixed <rdar://problem/4548537> Document.domain and other attributes are blank for an iframe created with document.write
      
              * dom/Document.cpp:
              (WebCore::Document::open):
              set the document's url to the parent's url and re-located the code that does this to occur before calling the frame's didExplicitOpen()
              * page/Frame.cpp:
              (WebCore::Frame::didExplicitOpen):
              set the frame's url to the document's url
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bd01007
    • beidson's avatar
      Reviewed by Adele and Adam · b0886a77
      beidson authored
              Added an optimization to return early if there's no replacements to be made
      
              * platform/StringImpl.cpp:
              (WebCore::StringImpl::replace):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0886a77
    • ap's avatar
      2006-08-28 Nikolas Zimmermann <zimmermann@kde.org> · d6debfdb
      ap authored
              Reviewed and landed by ap.
      
              Fixes one chunk of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10604
              Provide stub implementation of RenderPopupMenuQt.
      
              * CMakeLists.txt:
              * platform/qt/RenderPopupMenuQt.cpp: Added.
              (WebCore::RenderPopupMenuQt::RenderPopupMenuQt):
              (WebCore::RenderPopupMenuQt::~RenderPopupMenuQt):
              (WebCore::RenderPopupMenuQt::clear):
              (WebCore::RenderPopupMenuQt::populate):
              (WebCore::RenderPopupMenuQt::showPopup):
              (WebCore::RenderPopupMenuQt::hidePopup):
              (WebCore::RenderPopupMenuQt::addSeparator):
              (WebCore::RenderPopupMenuQt::addGroupLabel):
              (WebCore::RenderPopupMenuQt::addOption):
              * platform/qt/RenderPopupMenuQt.h: Added.
              * platform/qt/RenderThemeQt.cpp:
              (WebCore::RenderThemeQt::systemFont):
              (WebCore::RenderThemeQt::createPopupMenu):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6debfdb
    • ap's avatar
      2006-08-28 Nikolas Zimmermann <zimmermann@kde.org> · 604f3c99
      ap authored
              Reviewed and landed by ap.
      
              Fixes one chunk of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10604
              Offer QString -> DeprecatedString conversion.
      
              * platform/DeprecatedString.h:
              * platform/qt/StringQt.cpp:
              (WebCore::DeprecatedString::DeprecatedString):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      604f3c99
    • ap's avatar
      2006-08-28 Nikolas Zimmermann <zimmermann@kde.org> · 1da64664
      ap authored
              Reviewed by Tim Hatcher.
      
              Fixes one chunk of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10604
      
      WebCore:
              * platform/qt/RenderThemeQt.cpp:
              (WebCore::RenderThemeQt::systemFont):
              Remove annoying notImplemented() usage in systemFont()
      
      WebKitTools:
              * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
              (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
              Qt's DumpRenderTree.
      
            * Scripts/run-webkit-tests:
              Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1da64664
    • darin's avatar
      Reviewed by Geoff. · 199a05ce
      darin authored
              * kjs/list.h: Use explicit in constructor (as appropriate).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      199a05ce
    • darin's avatar
      Reviewed by Tim Hatcher. · 38162d58
      darin authored
              * Scripts/build-drosera: Fix behavior when there are multiple options.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38162d58
    • beidson's avatar
      Reviewed by Tim Hatcher's rubberstamp · 0d5491b0
      beidson authored
              Rolled out my last change (16070 - pruning WebFileDatabase code) as it caused a difficult-to-track down
              failure in layout tests on a release build.
      
              * Misc/WebFileDatabase.h:
              * Misc/WebFileDatabase.m:
              (+[WebFileDatabaseOp opWithCode:key:object:]):
              (-[WebFileDatabaseOp initWithCode:key:object:]):
              (-[WebFileDatabaseOp opcode]):
              (-[WebFileDatabaseOp key]):
              (-[WebFileDatabaseOp object]):
              (-[WebFileDatabaseOp perform:]):
              (-[WebFileDatabaseOp dealloc]):
              (SetThreadPriority):
              (-[WebFileDatabase _createLRUList:]):
              (-[WebFileDatabase _truncateToSizeLimit:]):
              (+[WebFileDatabase _syncLoop:]):
              (databaseInit):
              (-[WebFileDatabase setTimer]):
              (-[WebFileDatabase setObject:forKey:]):
              (-[WebFileDatabase removeObjectForKey:]):
              (-[WebFileDatabase removeAllObjects]):
              (-[WebFileDatabase objectForKey:]):
              (-[WebFileDatabase performSetObject:forKey:]):
              (-[WebFileDatabase performRemoveObjectForKey:]):
              (-[WebFileDatabase open]):
              (-[WebFileDatabase close]):
              (-[WebFileDatabase lazySync:]):
              (-[WebFileDatabase sync]):
              (-[WebFileDatabase sizeLimit]):
              (-[WebFileDatabase count]):
              (-[WebFileDatabase usage]):
              (-[WebFileDatabase setSizeLimit:]):
              * Misc/WebIconDatabase.m:
              (-[WebIconDatabase _createFileDatabase]):
              (-[WebIconDatabase _loadIconDictionaries]):
              * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d5491b0
    • darin's avatar
      Reviewed by Tim Hatcher. · afdc3512
      darin authored
              * WebInspector/webInspector/inspector.js: Add "resize: none" to the list of
              default values for CSS properties so it will be omitted from most displays
              of computed style.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afdc3512
    • harrison's avatar
      Reviewed by Darin. · a8b683d6
      harrison authored
              <rdar://problem/3942647> Support AXStyleTextMarkerRangeForTextMarker parameterized attribute
      
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject accessibilityParameterizedAttributeNames]):
              Add AXStyleTextMarkerRangeForTextMarker.
              
              (startOfStyleRange):
              (endOfStyleRange):
              Return first/last VisiblePosition in range having the same style has the specified VisiblePosition.
      
              (-[WebCoreAXObject doAXStyleTextMarkerRangeForTextMarker:]):
              Return AXTextMarkerRange for startOfStyleRange/endOfStyleRange of the specified AXTextMarker.
              
              (-[WebCoreAXObject accessibilityAttributeValue:forParameter:]):
              Call doAXStyleTextMarkerRangeForTextMarker for AXStyleTextMarkerRangeForTextMarker.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8b683d6
    • harrison's avatar
      Reviewed by Darin. · 3728cb2d
      harrison authored
              <rdar://problem/4517383> Hide all images used for spacing purpose in AX
      
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject accessibilityIsIgnored]):
              Check for one-dimensional image
              Check whether rendered image was stretched from one-dimensional file image
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3728cb2d
    • beidson's avatar
      Reviewed by Maciej · a10639a4
      beidson authored
              Major prune of unnecessary WebFileDatabase code.  In the end, what
              useful code that remains in WebFileDatabase will likely be moved directly
              into WebIconDatabase
      
              * Misc/WebFileDatabase.h:
              * Misc/WebFileDatabase.m:
              (-[WebFileDatabase initWithPath:]):
              (-[WebFileDatabase objectForKey:]):
              (-[WebFileDatabase open]):
              (-[WebFileDatabase close]):
              * Misc/WebIconDatabase.m:
              (-[WebIconDatabase _createFileDatabase]):
              (-[WebIconDatabase _loadIconDictionaries]):
              * Misc/WebLRUFileList.h: Removed.
              * Misc/WebLRUFileList.m: Removed.
              * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a10639a4
  3. 27 Aug, 2006 17 commits
    • beidson's avatar
      Reviewed by Maciej · 27b193e0
      beidson authored
              Rewrote StringImpl::replace(UChar, StringImpl*)
      
              * platform/StringImpl.cpp:
              (WebCore::StringImpl::replace):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27b193e0
    • weinig's avatar
      WebCore: · a8192c04
      weinig authored
              Reviewed by Tim H.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=4624
                WebCore needs autogenerated Obj-C DOM bindings
      
                First round of auto-generated Objective C DOM bindings, starting
                with the DOM Core.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOM.mm:
              (-[DOMNode description]):
              (-[DOMNode KJS::Bindings::]):
              (-[DOMNode dispatchEvent:]):
              (-[DOMNamedNodeMap _initWithNamedNodeMap:]):
              (+[DOMNamedNodeMap _namedNodeMapWith:]):
              (-[DOMNodeList _initWithNodeList:]):
              (+[DOMNodeList _nodeListWith:]):
              (-[DOMImplementation _initWithDOMImplementation:]):
              (+[DOMImplementation _DOMImplementationWith:]):
              (-[DOMImplementation _DOMImplementation]):
              (+[DOMDocumentFragment _documentFragmentWith:]):
              (-[DOMDocumentFragment _fragment]):
              (-[DOMDocument createCSSStyleDeclaration]):
              (+[DOMDocument _documentWith:]):
              (-[DOMDocument _document]):
              (-[DOMDocument _ownerElement]):
              (+[DOMAttr _attrWith:]):
              (-[DOMAttr _attr]):
              (+[DOMDocumentType _documentTypeWith:WebCore::]):
              (-[DOMDocumentType WebCore::]):
              (+[DOMText _textWith:WebCore::]):
              (+[DOMComment _commentWith:WebCore::]):
              (+[DOMCDATASection _CDATASectionWith:WebCore::]):
              (+[DOMProcessingInstruction _processingInstructionWith:WebCore::]):
              (+[DOMEntityReference _entityReferenceWith:WebCore::]):
              * bindings/objc/DOMCSS.h:
              * bindings/objc/DOMCSS.mm:
              * bindings/objc/DOMCore.h:
              * bindings/objc/DOMEvents.h:
              * bindings/objc/DOMEvents.mm:
              * bindings/objc/DOMExtensions.h:
              * bindings/objc/DOMHTML.mm:
              (+[DOMHTMLDocument _HTMLDocumentWith:WebCore::]):
              * bindings/objc/DOMHTMLInternal.h:
              * bindings/objc/DOMImplementationFront.h:
              * bindings/objc/DOMInternal.h:
              * bindings/objc/DOMNode.h: Added.
              * bindings/objc/DOMNode.mm: Added.
              (-[DOMNode dealloc]):
              (-[DOMNode finalize]):
              (-[DOMNode nodeName]):
              (-[DOMNode nodeValue]):
              (-[DOMNode setNodeValue:]):
              (-[DOMNode nodeType]):
              (-[DOMNode parentNode]):
              (-[DOMNode childNodes]):
              (-[DOMNode firstChild]):
              (-[DOMNode lastChild]):
              (-[DOMNode previousSibling]):
              (-[DOMNode nextSibling]):
              (-[DOMNode attributes]):
              (-[DOMNode ownerDocument]):
              (-[DOMNode insertBefore::]):
              (-[DOMNode replaceChild::]):
              (-[DOMNode removeChild:]):
              (-[DOMNode appendChild:]):
              (-[DOMNode hasChildNodes]):
              (-[DOMNode cloneNode:]):
              (-[DOMNode normalize]):
              (-[DOMNode isSupported::]):
              (-[DOMNode namespaceURI]):
              (-[DOMNode prefix]):
              (-[DOMNode setPrefix:]):
              (-[DOMNode localName]):
              (-[DOMNode hasAttributes]):
              (-[DOMNode isSameNode:]):
              (-[DOMNode isEqualNode:]):
              (-[DOMNode isDefaultNamespace:]):
              (-[DOMNode lookupPrefix:]):
              (-[DOMNode lookupNamespaceURI:]):
              (-[DOMNode textContent]):
              (-[DOMNode setTextContent:]):
              (-[DOMNode boundingBox]):
              (-[DOMNode lineBoxRects]):
              * bindings/objc/DOMObject.h: Added.
              * bindings/objc/DOMObject.mm: Added.
              (-[DOMObject init]):
              (-[DOMObject dealloc]):
              (-[DOMObject finalize]):
              (-[DOMObject copyWithZone:]):
              (-[DOMObject sheet]):
              * bindings/objc/DOMPrivate.h:
              * bindings/objc/DOMRange.h:
              * bindings/objc/DOMStylesheets.h:
              * bindings/objc/DOMTraversal.h:
              * bindings/objc/DOMViews.h:
              * bindings/objc/DOMViews.mm:
              * bindings/objc/DOMXPath.h:
              * bindings/objc/DOMXPath.mm:
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm: Added.
              * dom/Attr.idl:
              * dom/CDATASection.idl: Added.
              * dom/Comment.idl: Added.
              * dom/DOMImplementation.idl:
              * dom/Document.idl:
              * dom/Element.idl:
              * dom/EntityReference.idl: Added.
              * dom/NamedNodeMap.idl: Added.
              * dom/NodeList.idl: Added.
              * dom/ProcessingInstruction.idl:
      
      WebKit:
      
              Reviewed by Tim H.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=4624
                WebCore needs autogenerated Obj-C DOM bindings
      
                First round of auto-generated Objective C DOM bindings, starting
                with the DOM Core.
      
              * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8192c04
    • thatcher's avatar
      Reviewed by Anders. · 9c4ccf83
      thatcher authored
              Drosera will be built when you type make.
      
              * Drosera/Makefile: Added.
              * Makefile: Added.
              * Makefile.shared: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c4ccf83
    • thatcher's avatar
      Reviewed by Tim H. · 7e3d9268
      thatcher authored
              Fix crash in LayoutTests/css1/font_properties/font.html,
              by implementing FontData::smallCapsFontData.
      
              * platform/qt/FontDataQt.cpp:
              (WebCore::FontData::platformDestroy):
              (WebCore::FontData::smallCapsFontData):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e3d9268
    • beidson's avatar
      Reviewed by Maciej · c7b04983
      beidson authored
              Plugged a leak in StringImpl::replace()
      
              * platform/StringImpl.cpp:
              (WebCore::StringImpl::replace):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7b04983
    • andersca's avatar
      2006-08-27 Nikolas Zimmermann <zimmermann@kde.org> · 91dde07e
      andersca authored
              Reviewed and landed by Anders.
      
              Remove most annoying notImplemented() usages and
              implement some missing ScrollViewQt functions.
              Much nicer output when invoking run-webkit-tests.
      
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::saveDocumentState):
              (WebCore::FrameQt::restoreDocumentState):
              (WebCore::FrameQt::clearUndoRedoOperations):
              (WebCore::FrameQt::partClearedInBegin):
              * platform/qt/ResourceLoaderManager.cpp:
              (WebCore::headerCallback):
              (WebCore::ResourceLoaderManager::downloadTimerCallback):
              * platform/qt/ScrollViewQt.cpp:
              (WebCore::ScrollView::updateContents):
              (WebCore::ScrollView::suppressScrollBars):
              (WebCore::ScrollView::setStaticBackground):
              (WebCore::ScrollView::addChild):
              (WebCore::ScrollView::removeChild):
              * platform/qt/TemporaryLinkStubs.cpp:
              (WebCore::historyContains):
              (WebCore::CheckCacheObjectStatus):
              (WebCore::CheckIfReloading):
              (loadResourceIntoArray):
              (WebCore::PlugInInfoStore::supportsMIMEType):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91dde07e
    • andersca's avatar
      Forgot this too (doh!) · 8efa6506
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8efa6506
    • andersca's avatar
      Didn't mean to commit this! · 0e71f7b1
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e71f7b1
    • andersca's avatar
      2006-08-27 Anders Carlsson <acarlsson@apple.com> · b0b15df5
      andersca authored
              Forgot to add these.
              
              * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
              * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
              (WebCore::DumpRenderTree::DumpRenderTree):
              (WebCore::DumpRenderTree::~DumpRenderTree):
              (WebCore::DumpRenderTree::open):
              (WebCore::DumpRenderTree::readStdin):
              (WebCore::DumpRenderTree::checkLoaded):
              * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
              * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
              (main):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0b15df5
    • andersca's avatar
      2006-08-27 Nikolas Zimmermann <zimmermann@kde.org> · 09245423
      andersca authored
              Reviewed by Eric, landed by Anders.
      
              Add DumpRenderTree support for Qt/Linux.
      
              * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
              * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
              (WebCore::DumpRenderTree::DumpRenderTree):
              (WebCore::DumpRenderTree::~DumpRenderTree):
              (WebCore::DumpRenderTree::open):
              (WebCore::DumpRenderTree::readStdin):
              (WebCore::DumpRenderTree::checkLoaded):
              * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
              * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
              (main):
              * Scripts/build-dumprendertree:
              * Scripts/run-webkit-tests:
              * Scripts/webkitdirs.pm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16060 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09245423
    • andersca's avatar
      2006-08-27 Nikolas Zimmermann <zimmermann@kde.org> · 8acce43f
      andersca authored
              Reviewed and landed by Anders.
      
              Fix Qt build (add SVGMetaDataElement.cpp to build system)
      
              * CMakeLists.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8acce43f
    • eseidel's avatar
      2006-08-27 Eric Seidel <eric@eseidel.com> · 9ac6744a
      eseidel authored
              Reviewed by andersca.
      
              No logic changes.  Just cleanup.
      
              * ksvg2/svg/SVGAngle.cpp:
              (SVGAngle::SVGAngle):
              (SVGAngle::unitType):
              (SVGAngle::valueAsString):
              (SVGAngle::newValueSpecifiedUnits):
              (SVGAngle::convertToSpecifiedUnits):
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGLength.cpp:
              (WebCore::SVGLength::unitType):
              (WebCore::SVGLength::newValueSpecifiedUnits):
              (WebCore::SVGLength::convertToSpecifiedUnits):
              (WebCore::SVGLength::updateValue):
              (WebCore::SVGLength::updateValueInSpecifiedUnits):
              * ksvg2/svg/SVGLength.h:
              * platform/BitmapImage.cpp: Removed.
              * platform/BitmapImage.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ac6744a
    • beidson's avatar
      God, that ChangeLog entry was bad... · f3bdfcc3
      beidson authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3bdfcc3
    • beidson's avatar
      Reviewed by Anders · 90fdc7bf
      beidson authored
              -Changed all of the commonly used queries to keep around pre-prepared statements and bind
              their arguments instead of constructing a messy.  
              -Changed some code in pruneUnretainedIconsOnStartup regarding transactions
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::IconDatabase): Initializers
              (WebCore::IconDatabase::close): Wipe all the preprepared statements
              (WebCore::IconDatabase::pruneUnretainedIconsOnStartup): Better handling of transactions
              (WebCore::readySQLStatement): Make sure a preprepared statement is ready to go for a fooQuery()
              (WebCore::IconDatabase::pageURLTableIsEmptyQuery): Added a comment
              (WebCore::IconDatabase::imageDataForIconURLQuery): Use preprepared statement + binding
              (WebCore::IconDatabase::timeStampForIconURLQuery): ditto
              (WebCore::IconDatabase::iconURLForPageURLQuery): ditto
              (WebCore::IconDatabase::forgetPageURLQuery): ditto
              (WebCore::IconDatabase::setIconIDForPageURLQuery): ditto
              (WebCore::IconDatabase::getIconIDForIconURLQuery): ditto
              (WebCore::IconDatabase::addIconForIconURLQuery): ditto
              (WebCore::IconDatabase::hasIconForIconURLQuery): ditto
              * loader/icon/IconDatabase.h: Added fooQuery() and *m_fooStatements
              * loader/icon/SQLStatement.h:
              (WebCore::SQLStatement::database): Added
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90fdc7bf
    • rwlbuis's avatar
      Reviewed by Eric. Landed by rwlbuis. · dcd15ddb
      rwlbuis authored
              Fix switch logic.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dcd15ddb
    • rwlbuis's avatar
      Reviewed by Eric. · 04c7b59f
      rwlbuis authored
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10557
              KCanvasPath should be replace by platform/Path
      
              Refactoring out the KCanvasPath class.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04c7b59f
    • eseidel's avatar
      2006-08-26 Eric Seidel <eric@eseidel.com> · 59e92ca2
      eseidel authored
              Reviewed by hyatt.
      
              pointer-events attribute does not work.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10415
      
              * kcanvas/RenderPath.cpp:
              (WebCore::RenderPath::pointerEventsHitRules): new function to contain pointer-events hit logic
              (WebCore::RenderPath::nodeAtPoint): respect pointer-events property
              * kcanvas/RenderPath.h:
              (WebCore::RenderPath::PointerEventsHitRules::PointerEventsHitRules):
              * ksvg2/css/SVGCSSParser.cpp:
              (WebCore::CSSParser::parseSVGValue):
              * ksvg2/svg/SVGPaint.cpp: Fix this to use a real enum value
              (WebCore::SVGPaint::SVGPaint):
              (WebCore::SVGPaint::paintType):
              (WebCore::SVGPaint::uri):
              (WebCore::SVGPaint::setUri):
              (WebCore::SVGPaint::setPaint):
              * ksvg2/svg/SVGPaint.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59e92ca2
  4. 26 Aug, 2006 5 commits
    • rwlbuis's avatar
      Reviewed by Eric. · ceddffaa
      rwlbuis authored
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10558
              SVG should have support for <metadata> element
      
              Add support for metadata tag.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ceddffaa
    • ap's avatar
      Reviewed by Eric. · 3924f3a0
      ap authored
              Daily Qt build fixes :-)
      
              * platform/qt/GraphicsContextQt.cpp:
              (WebCore::GraphicsContext::drawConvexPolygon):
              * platform/qt/ImageQt.cpp:
              (WebCore::Image::initPlatformData):
              (WebCore::Image::invalidatePlatformData):
              (WebCore::Image::loadPlatformResource):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3924f3a0
    • hyatt's avatar
      Fix the ifdef in Path.h to be CG. · d3631bba
      hyatt authored
              * platform/Path.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3631bba
    • hyatt's avatar
      Fix Mac build bustage (lots of float/int confusion). I am not sure · 4c55e234
      hyatt authored
              whether rounding was desired or not... this is just a band-aid to get
              the build working again.
      
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::paintMenuListButtonGradients):
              (WebCore::RenderThemeMac::paintMenuListButton):
              (WebCore::RenderThemeMac::adjustMenuListButtonStyle):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c55e234
    • hyatt's avatar
      More refactoring of image to disentangle graphics (e.g., Cairo) from · 81d79fed
      hyatt authored
              platform (e.g., Windows).
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              Add ImageWin to project.
      
              * loader/Cache.cpp:
              (WebCore::Cache::init):
              * loader/icon/IconDataCache.cpp:
              (WebCore::IconDataCache::loadImageFromResource):
              Renamed loadResource to loadPlatformResource to try to make it more clear
              that this call is implemented on each OS (and not by graphics libraries).
      
              * platform/Image.cpp:
              (WebCore::Image::Image):
              (WebCore::Image::~Image):
              (WebCore::Image::invalidateData):
              (WebCore::Image::size):
              (WebCore::Image::setData):
              (WebCore::Image::setNativeData):
              Fix up the PDF code to not be considered platform data any more, since
              PDF rendering is not for a specific OS.
      
              Renamed the methods that set OS-specific data (like NSImage) to PlatformData
              instead of NativeData.
      
              * platform/Image.h:
              Shifted the PDF members into CG defines.  Made CGImageRef a CG define.
              Renamed methods to reflect that they are OS-specific and not
              graphics-library-specific.
             
              * platform/cairo/ImageCairo.cpp:
              Removed the platform data methods.  Other platforms besides Windows that
              use Cairo will need to account for this change by adding these methods
              to their OS Image***.cpp file.
      
              * platform/cg/ImageCG.cpp:
              (WebCore::Image::drawTiled):
              Add FIXMEs to the wkpattern stuff.
      
              * platform/cg/PDFDocumentImage.cpp:
              Shouldn't have #imports in .cpp.
      
              * platform/mac/ImageMac.mm:
              (WebCore::Image::initPlatformData):
              (WebCore::Image::invalidatePlatformData):
              (WebCore::Image::loadPlatformResource):
              (WebCore::Image::getTIFFRepresentation):
              Add the platform data initializers to the Mac Image file.   Move the
              TIFF representation there as well, since this is only used by Mac code.
      
              * platform/win/ImageWin.cpp: Added.
              (WebCore::Image::initPlatformData):
              (WebCore::Image::invalidatePlatformData):
              (WebCore::Image::loadPlatformResource):
              (WebCore::Image::supportsType):
              Similar work for Windows.  Add stubs for possible future HBITMAP returns
              in the platform data methods.
      
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::paintResizeControl):
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::paintResizeControl):
              loadResource -> loadPlatformResource
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81d79fed