- 28 Aug, 2006 8 commits
-
-
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 5 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
-
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
-
- 25 Aug, 2006 10 commits
-
-
aroben authored
Fixed build. * platform/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::drawConvexPolygon): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
Fixed up some leaks on [WebIconDatabase init] * Misc/WebIconDatabase.m: (-[WebIconDatabase init]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele authored
Updated results for addition of -webkit-text-security. * fast/css/computed-style-expected.txt: WebCore: Patch by Francisco, Reviewed by me. Preparation for switch to new text field implementation of password field. Added -webkit-text-security property. Tests: updated fast/css/computed-style-expected.txt * css/CSSPropertyNames.in: Added -webkit-text-security. * css/CSSComputedStyleDeclaration.cpp: (WebCore::): (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added cases for textSecurity. * css/cssparser.cpp: (WebCore::CSSParser::parseValue): ditto. * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty): ditto. * css/html4.css: Added style for password field to use -webkit-text-security. * html/HTMLInputElement.cpp: Check appearance property to decide which renderer to use. (WebCore::HTMLInputElement::selectionStart): (WebCore::HTMLInputElement::selectionEnd): (WebCore::HTMLInputElement::setSelectionStart): (WebCore::HTMLInputElement::setSelectionEnd): (WebCore::HTMLInputElement::select): (WebCore::HTMLInputElement::setSelectionRange): (WebCore::HTMLInputElement::createRenderer): * html/HTMLInputElement.h: (WebCore::HTMLInputElement::isNonWidgetTextField): Added check for password. * platform/StringImpl.cpp: (WebCore::StringImpl::secure): Added. Converts a string to replace characters with one character, like a bullet. * platform/StringImpl.h: * rendering/RenderStyle.cpp: (WebCore::StyleCSS3InheritedData::StyleCSS3InheritedData): Initialize textSecurity. (WebCore::RenderStyle::diff): Added case for textSecurity. * rendering/RenderStyle.h: (WebCore::): (WebCore::RenderStyle::textSecurity): Added. (WebCore::RenderStyle::setTextSecurity): Added. (WebCore::RenderStyle::initialTextSecurity): Added. * rendering/RenderText.cpp: (WebCore::RenderText::setStyle): Added case for textSecurity. (WebCore::RenderText::setText): ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele authored
Reviewed by Hyatt. New tests and updated tests for styled selects. * fast/borders/borderRadiusInvalidColor-expected.checksum: Added. * fast/borders/borderRadiusInvalidColor-expected.png: Added. * fast/borders/borderRadiusInvalidColor-expected.txt: Added. * fast/borders/borderRadiusInvalidColor.html: Added. * fast/forms/select-baseline-expected.checksum: Added. * fast/forms/select-baseline-expected.png: Added. * fast/forms/select-baseline-expected.txt: Added. * fast/forms/select-baseline.html: Added. * editing/pasteboard/4641033-expected.txt: * editing/selection/replaced-boundaries-3-expected.txt: * editing/selection/select-box-expected.txt: * fast/block/margin-collapse/103-expected.txt: * fast/forms/001-expected.checksum: * fast/forms/001-expected.png: * fast/forms/001-expected.txt: * fast/forms/003-expected.txt: * fast/forms/004-expected.txt: * fast/forms/HTMLOptionElement_label01-expected.txt: * fast/forms/HTMLOptionElement_label02-expected.txt: * fast/forms/HTMLOptionElement_label03-expected.txt: * fast/forms/HTMLOptionElement_label04-expected.txt: * fast/forms/HTMLOptionElement_label06-expected.txt: * fast/forms/HTMLOptionElement_label07-expected.txt: * fast/forms/form-element-geometry-expected.checksum: * fast/forms/form-element-geometry-expected.png: * fast/forms/form-element-geometry-expected.txt: * fast/forms/option-script-expected.txt: * fast/forms/option-text-clip-expected.txt: * fast/forms/select-change-listbox-to-popup-expected.txt: * fast/forms/select-selected-expected.txt: * fast/forms/select-style-expected.txt: * fast/forms/select-visual-hebrew-expected.txt: * fast/invalid/014-expected.txt: * fast/parser/document-write-option-expected.txt: * fast/replaced/width100percent-expected.txt: * http/tests/navigation/anchor-basic-expected.txt: * http/tests/navigation/anchor-frames-expected.txt: * http/tests/navigation/anchor-goback-expected.txt: * http/tests/navigation/anchor-subframeload-expected.txt: * http/tests/navigation/javascriptlink-basic-expected.txt: * http/tests/navigation/javascriptlink-frames-expected.txt: * http/tests/navigation/javascriptlink-goback-expected.txt: * http/tests/navigation/javascriptlink-subframeload-expected.txt: * http/tests/navigation/metaredirect-basic-expected.txt: * http/tests/navigation/metaredirect-frames-expected.txt: * http/tests/navigation/metaredirect-goback-expected.txt: * http/tests/navigation/metaredirect-subframeload-expected.txt: * http/tests/navigation/post-goback2-expected.txt: * http/tests/navigation/postredirect-goback2-expected.txt: * http/tests/navigation/redirect302-basic-expected.txt: * http/tests/navigation/redirect302-frames-expected.txt: * http/tests/navigation/redirect302-goback-expected.txt: * http/tests/navigation/redirect302-subframeload-expected.txt: * http/tests/navigation/relativeanchor-basic-expected.txt: * http/tests/navigation/relativeanchor-frames-expected.txt: * http/tests/navigation/relativeanchor-goback-expected.txt: * http/tests/navigation/slowmetaredirect-basic-expected.txt: * http/tests/navigation/slowtimerredirect-basic-expected.txt: * http/tests/navigation/success200-basic-expected.txt: * http/tests/navigation/success200-frames-expected.txt: * http/tests/navigation/success200-frames-loadsame-expected.txt: * http/tests/navigation/success200-goback-expected.txt: * http/tests/navigation/success200-loadsame-expected.txt: * http/tests/navigation/success200-reload-expected.txt: * http/tests/navigation/success200-subframeload-expected.txt: * http/tests/navigation/timerredirect-basic-expected.txt: * http/tests/navigation/timerredirect-frames-expected.txt: * http/tests/navigation/timerredirect-goback-expected.txt: * http/tests/navigation/timerredirect-subframeload-expected.txt: * tables/mozilla/bugs/bug1188-expected.txt: * tables/mozilla/bugs/bug18359-expected.txt: * tables/mozilla/bugs/bug2479-3-expected.txt: * tables/mozilla/bugs/bug2479-4-expected.txt: * tables/mozilla/bugs/bug29326-expected.txt: * tables/mozilla/bugs/bug33855-expected.txt: * tables/mozilla/bugs/bug4382-expected.txt: * tables/mozilla/bugs/bug96334-expected.txt: * tables/mozilla/core/margins-expected.txt: * tables/mozilla/dom/tableDom-expected.txt: * tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt: WebCore: Reviewed by Hyatt. Enable styling for popup menus. Also fixed baseline calculation for buttons and selects. Tests: fast/forms/select-baseline.html fast/borders/borderRadiusInvalidColor.html updated: fast/forms/select-style-expected.txt and more... * css/html4.css: Added style rules for styled select elements. * platform/GraphicsContext.h: Added argument for antialiasing. * platform/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::drawConvexPolygon): ditto. * platform/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::drawConvexPolygon): ditto. * rendering/RenderObject.cpp: (WebCore::RenderObject::drawBorderArc): Added textColor argument so this can be used when the border color is invalid. (WebCore::RenderObject::drawBorder): Removed invalidisInvert since its dead code (any callers that set this to true were already ensuring that their color was valid). Updated drawConvexPolygon call to use FloatPoints instead of IntPoints. (WebCore::RenderObject::paintBorder): Updated to remove invalidisInvert argument from drawBorder call. (WebCore::RenderObject::paintOutline): ditto. * rendering/RenderFlow.cpp: (WebCore::RenderFlow::paintOutlineForLine): ditto. * rendering/RenderObject.h: Updated arguments for drawBorder and drawBorderArc. * rendering/RenderBlock.cpp: (WebCore::RenderBlock::getBaselineOfLastLineBox): Changed isRootLineBox argument to true when setting line height. Added case for when there's no children to check for hasLineIfEmpty. * rendering/RenderBlock.h: * rendering/bidi.cpp: (WebCore::RenderBlock::layoutInlineChildren): Changed isRootLineBox argument to true when setting line height. * rendering/RenderButton.h: (WebCore::RenderButton::hasLineIfEmpty): Added so buttons always get a line height. * rendering/RenderMenuList.h: (WebCore::RenderMenuList::hasLineIfEmpty): ditto. * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::layoutHorizontalBox): Added code to check hasLineIfEmpty to give flex boxes line height. (WebCore::RenderFlexibleBox::layoutVerticalBox): ditto. * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::adjustRenderStyle): Moved the appearance adjustment code into adjust style. * rendering/RenderBox.cpp: (WebCore::RenderBox::paintBoxDecorations): Lets the theme paint "decorations", like the arrow control and gradients immediately after painting the background. * rendering/RenderTheme.cpp: (WebCore::RenderTheme::adjustStyle): This now checks whether the control is styled, and adjusts the appearance property appropriately. For styled selects, instead of setting the appearance to none, which is what we do for other styled controls, we set the appearance to MenulistButtonAppearance, which indicates that we will draw the arrow controls and button appearance in the engine. (WebCore::RenderTheme::paintDecorations): Added. Paints MenulistButtonAppearance in a different function, so the arrow control will draw at the right time (after the background). (WebCore::RenderTheme::paint): Added case for MenulistButtonAppearance. (WebCore::RenderTheme::paintBorderOnly): ditto. (WebCore::RenderTheme::isControlContainer): Removed cases for MenuListAppearance and MenulistButtonAppearance since the baseline is no longer provided by the theme. (WebCore::RenderTheme::adjustMenuListButtonStyle): Added. * rendering/RenderTheme.h: (WebCore::RenderTheme::paintMenuListButton): Added. * rendering/RenderThemeMac.h: * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::isControlStyled): Removed code that made selects unstyle-able. (WebCore::RenderThemeMac::baselinePosition): Removed cases for MenuListAppearance and MenulistButtonAppearance. (WebCore::RenderThemeMac::popupButtonPadding): Added top and bottom padding so empty popups have the right baseline. (WebCore::TopGradientInterpolate): Added. (WebCore::BottomGradientInterpolate): Added. (WebCore::MainGradientInterpolate): Added. (WebCore::RenderThemeMac::paintMenuListButtonGradients): Added. Draws gradients for styled popup menu button appearance. (WebCore::RenderThemeMac::paintMenuListButton): Calls paintMenuListButtonGradients, and draws arrow control. (WebCore::RenderThemeMac::adjustMenuListButtonStyle): Added to set padding and border radius to account for the arrow control size and font size. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
Changed some time()-related code to be more platform independent * loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::isIconExpiredForIconURL): (WebCore::IconDatabase::getOrCreateIconDataCache): (WebCore::IconDatabase::setIconDataForIconURL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
harrison authored
<rdar://problem/4416432> Radio buttons and Checkboxes in AXWebAreas don't fill in their AXTitle attribute * bridge/mac/WebCoreAXObject.mm: (labelForElement): New. Returns the HTMLLabelElement, if any, for the specified Element. (-[WebCoreAXObject title]): For input elements, return the innerHTML() of the labelForElement(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
Changed some debugging-only code to be more platform independent * WebCore.xcodeproj/project.pbxproj: * loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::pruneUnretainedIconsOnStartup): (WebCore::IconDatabase::syncDatabase): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben authored
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10561 Qt platform build fixes. * platform/qt/FrameQt.h: * platform/qt/ScreenQt.cpp: (WebCore::qwidgetForPage): (WebCore::screenRect): (WebCore::screenDepth): (WebCore::usableScreenRect): * platform/qt/TemporaryLinkStubs.cpp: (WebCore::screenDepthPerComponent): (WebCore::screenIsMonochrome): * platform/qt/WidgetQt.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben authored
Finally fix font caching. WebKit+Qt now works out of the box without any further patches :-) * platform/qt/FontDataQt.cpp: (WebCore::FontData::platformDestroy): * platform/qt/FontPlatformData.h: * platform/qt/FontPlatformDataQt.cpp: (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::isFixedPitch): (WebCore::FontPlatformData::font): (WebCore::FontPlatformData::fontPtr): (WebCore::FontPlatformData::hash): (WebCore::FontPlatformData::operator==): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben authored
Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10559 Confirm to WebKit style guide - last fixes :-) * platform/ResourceLoaderClient.h: * platform/qt/ComboBoxQt.cpp: * platform/qt/FrameQt.cpp: (WebCore::doScroll): (WebCore::FrameQt::FrameQt): (WebCore::FrameQt::openURL): (WebCore::FrameQt::submitForm): (WebCore::FrameQt::setTitle): (WebCore::FrameQt::passSubframeEventToSubframe): (WebCore::FrameQt::registerCommandForUndo): (WebCore::FrameQt::registerCommandForRedo): (WebCore::FrameQt::keyEvent): (WebCore::FrameQt::setFrameGeometry): * platform/qt/GlyphMapQt.cpp: (WebCore::GlyphMap::fillPage): * platform/qt/GraphicsContextQt.cpp: (WebCore::toQtCompositionMode): (WebCore::toQtLineCap): (WebCore::toQtLineJoin): (WebCore::TextShadow::TextShadow): (WebCore::GraphicsContextPlatformPrivate::p): * platform/qt/ImageQt.cpp: (WebCore::FrameData::clear): (WebCore::Image::supportsType): * platform/qt/IntSizeQt.cpp: * platform/qt/LineEditQt.cpp: * platform/qt/ListBoxQt.cpp: * platform/qt/PageQt.cpp: (WebCore::Page::windowRect): * platform/qt/PathQt.cpp: (WebCore::Path::~Path): * platform/qt/ResourceLoaderCurl.cpp: (WebCore::ResourceLoader::assembleResponseHeaders): (WebCore::ResourceLoader::retrieveCharset): (WebCore::ResourceLoader::receivedResponse): * platform/qt/ResourceLoaderManager.cpp: (WebCore::headerCallback): (WebCore::ResourceLoaderManager::downloadTimerCallback): (WebCore::ResourceLoaderManager::add): * platform/qt/ScreenQt.cpp: (WebCore::screenRect): (WebCore::usableScreenRect): * platform/qt/ScrollViewQt.cpp: (WebCore::ScrollView::ScrollView): (WebCore::ScrollView::~ScrollView): (WebCore::ScrollView::setParentWidget): (WebCore::ScrollView::addChild): * platform/qt/SharedTimerQt.cpp: (WebCore::setSharedTimerFiredFunction): * platform/qt/SharedTimerQt.h: (WebCore::SharedTimerQt::SharedTimerQt): (WebCore::SharedTimerQt::fire): * platform/qt/SystemTimeQt.cpp: (WebCore::currentTime): * platform/qt/TextEditQt.cpp: (WebCore::PlatformTextEdit::setParentWidget): (WebCore::PlatformTextEdit::text): (WebCore::PlatformTextEdit::sizeWithColumnsAndRows): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-