- 29 Aug, 2006 3 commits
-
-
andersca authored
Reviewed by Darin and Geoff. Move the CF String functions to separate files in platform/cf. Also, move the files in platform/cfnet to platform/cf. * WebCore.xcodeproj/project.pbxproj: * platform/PlatformString.h: * platform/StringImpl.h: * platform/cf/StringCF.cpp: Added. (WebCore::String::String): * platform/cf/StringImplCF.cpp: Added. (WebCore::StringImpl::createCFString): * platform/cfnet/KURLCFNet.cpp: Removed. * platform/cfnet/ResourceLoaderCFNet.cpp: Removed. * platform/mac/StringImplMac.mm: * platform/mac/StringMac.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-
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
-
- 28 Aug, 2006 16 commits
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
- 27 Aug, 2006 17 commits
-
-
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
-
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
-
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
-
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
-
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
-
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
-
andersca authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-
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
-
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
-
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
-
beidson authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-
rwlbuis authored
Fix switch logic. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-
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
-
- 26 Aug, 2006 4 commits
-
-
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
-
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
-
hyatt authored
* platform/Path.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-