- 06 Jan, 2009 17 commits
-
-
aroben@apple.com authored
* wtf/Platform.h: Force a world rebuild by touching this file. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zecke@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
<rdar://problem/6474973> REGRESSION: PLT ~2% slower due to 39465 (consolidate thread data) I could not reproduce the slowdown on my PowerPC test machine, but the change should bring performance back. * platform/ThreadGlobalData.cpp: (WebCore::threadGlobalData): Don't use AtomicallyInitializedStatic. Prior to r39465, it was only used for cached converters, which was necessary because the first access to ICU or TEC one could happen on a secondary thread, but now they are all initialized from ThreadGlobalData constructor. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
treat@webkit.org authored
upstream Qt git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dsmith@webkit.org authored
Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=23129 Devirtualize Node::childNodes(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zecke@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
* WebIconDatabase.cpp: (WebIconDatabase::isEnabled): Added 'WebIconDatabase::' to method signature. (Another copy-paste error.) (WebIconDatabase::setEnabled): Ditto. * WebIconDatabase.h: (WebIconDatabase::startUpIconDatabase): Make private again. (WebIconDatabase::shutDownIconDatabase): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Unreviewed build fix. Fix the Qt build with Qt 4.4.x, the HTTP-only cookie support was added in Qt 4.5. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
Reviewed by David Kilzer. https://bugs.webkit.org/show_bug.cgi?id=23133 Fix SVG disabled build. Move 'pointer-events' from SVGCSSPropertyNames.in to CSSPropertyNames.in and move PointerEvents functions out of #if ENABLE(SVG) NOTE: Property name fixes landed as part of r39648. * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): (WebCore::CSSPrimitiveValue::operator EPointerEvents): * css/CSSPropertyNames.in: * css/SVGCSSPropertyNames.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
Try to fix the following (more specific) build errors: WebIconDatabase.cpp ..\WebIconDatabase.cpp(255) : error C2248: 'WebIconDatabase::shutDownIconDatabase' : cannot access private member declared in class 'WebIconDatabase' ...\webkit\win\WebIconDatabase.h(61) : see declaration of 'WebIconDatabase::shutDownIconDatabase' ...\webkit\win\WebIconDatabase.h(51) : see declaration of 'WebIconDatabase' ..\WebIconDatabase.cpp(255) : error C2352: 'WebIconDatabase::shutDownIconDatabase' : illegal call of non-static member function ...\webkit\win\WebIconDatabase.h(61) : see declaration of 'WebIconDatabase::shutDownIconDatabase' ..\WebIconDatabase.cpp(258) : error C2248: 'WebIconDatabase::startUpIconDatabase' : cannot access private member declared in class 'WebIconDatabase' ...\webkit\win\WebIconDatabase.h(60) : see declaration of 'WebIconDatabase::startUpIconDatabase' ...\webkit\win\WebIconDatabase.h(51) : see declaration of 'WebIconDatabase' ..\WebIconDatabase.cpp(258) : error C2352: 'WebIconDatabase::startUpIconDatabase' : illegal call of non-static member function ...\webkit\win\WebIconDatabase.h(60) : see declaration of 'WebIconDatabase::startUpIconDatabase' * WebIconDatabase.cpp: (setEnabled): Get instance of shared WebIconDatabase, then call startUp/shutDown methods on it. * WebIconDatabase.h: (WebIconDatabase::startUpIconDatabase): Make protected again. (WebIconDatabase::shutDownIconDatabase): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
* css/CSSPropertyNames.in: Added 'pointer-events'. * css/SVGCSSPropertyNames.in: Commented out pointer-events since it's now a plain CSS property. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
Try to fix the following build errors: WebIconDatabase.cpp ..\WebIconDatabase.cpp(255) : error C3861: 'shutDownIconDatabase': identifier not found ..\WebIconDatabase.cpp(258) : error C3861: 'startUpIconDatabase': identifier not found * WebIconDatabase.cpp: (setEnabled): Add class prefix to startUpIconDatabase() and shutDownIconDatabase(). * WebIconDatabase.h: (WebIconDatabase::startUpIconDatabase): Make private again. (WebIconDatabase::shutDownIconDatabase): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
Try to fix the following build errors: WebIconDatabase.cpp ..\WebIconDatabase.cpp(255) : error C3861: 'shutDownIconDatabase': identifier not found ..\WebIconDatabase.cpp(258) : error C3861: 'startUpIconDatabase': identifier not found * WebIconDatabase.h: (WebIconDatabase::startUpIconDatabase): Make protected. (WebIconDatabase::shutDownIconDatabase): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
Fixes the following compilation errors: WebIconDatabase.cpp ..\WebIconDatabase.cpp(85) : error C2065: 'standardPrefs' : undeclared identifier ..\WebIconDatabase.cpp(85) : error C2227: left of '->iconDatabaseLocation' must point to class/struct/union/generic type type is ''unknown-type'' ..\WebIconDatabase.cpp(241) : error C2575: 'isEnabled' : only member functions and bases can be virtual ..\WebIconDatabase.cpp(248) : error C2575: 'setEnabled' : only member functions and bases can be virtual ..\WebIconDatabase.cpp(253) : error C3861: 'shutDownIconDatabase': identifier not found ..\WebIconDatabase.cpp(256) : error C3861: 'startUpIconDatabase': identifier not found * WebIconDatabase.cpp: (WebIconDatabase::startUpIconDatabase): Redeclare standardPrefs since this was in init() but not in this method after it was extracted from init(). (isEnabled): Don't use "virtual" in method implementation (silly copy-paste error). (setEnabled): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
BUILD FIX (r39641): Remove STDMETHODCALLTYPE from method declarations in IWebIconDatabase.idl * Interfaces/IWebIconDatabase.idl: Removed "STDMETHODCALLTYPE" from silly copy-paste error in two method declarations. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Lars Knoll. Added support for HTTP-only cookies to the Qt build. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dsmith@webkit.org authored
Reviewed by Oliver Hunt. https://bugs.webkit.org/show_bug.cgi?id=23084 Avoid redundant AtomicString conversions * dom/Node.cpp: Create an AtomicString early to avoid converting twice (WebCore::Node::getElementsByTagNameNS): * dom/QualifiedName.h: Use the appropriate AtomicString constructor instead of converting from a String git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Jan, 2009 23 commits
-
-
ddkilzer@apple.com authored
2009-01-05 David Kilzer <ddkilzer@apple.com> Add SPI to enable, disable and check state of WebIconDatabase Reviewed by Darin Adler & Timothy Hatcher. Add -[WebIconDatabase isEnabled] and -[WebIconDatabase setEnabled:] SPI to make it possible to enable, disable and check the state of the icon database. * Misc/WebIconDatabase.mm: (-[WebIconDatabase init]): Extracted code into -_startUpIconDatabase. (-[WebIconDatabase iconForURL:withSize:cache:]): Switched to use -isEnabled instead of -_isEnabled. (-[WebIconDatabase iconURLForURL:]): Ditto. (-[WebIconDatabase retainIconForURL:]): Ditto. (-[WebIconDatabase releaseIconForURL:]): Ditto. (-[WebIconDatabase isEnabled]): Renamed from -_isEnabled in WebInternal category. (-[WebIconDatabase setEnabled:]): Added. Takes care of changing the enabled/disabled state of the icon database. (-[WebIconDatabase removeAllIcons]): Switched to use -isEnabled instead of -_isEnabled. (-[WebIconDatabase _startUpIconDatabase]): Added. Extrated from -init. (-[WebIconDatabase _shutDownIconDatabase]): Added. Remove observers when the icon database is disabled. * Misc/WebIconDatabaseInternal.h: Added declarations for -_startUpIconDatabase and -_shutDownIconDatabase. * Misc/WebIconDatabasePrivate.h: Added declarations for -isEnabled and -setEnabled:. WebKit/win: 2009-01-05 David Kilzer <ddkilzer@apple.com> Add API to enable, disable and check state of WebIconDatabase Reviewed by Darin Adler & Timothy Hatcher. Add WebIconDatabase::isEnabled() and WebIconDatabase::setEnabled() API to make it possible to enable, disable and check the state of the icon database. * Interfaces/IWebIconDatabase.idl: Declared isEnabled() and setEnabled() methods. * WebIconDatabase.cpp: (WebIconDatabase::init): Extracted code into startUpIconDatabase(). (WebIconDatabase::startUpIconDatabase): Added. Extracted from init(). (WebIconDatabase::shutDownIconDatabase): Added. Method is empty since there is nothing to do yet on Windows. (isEnabled): Added. (setEnabled): Added. * WebIconDatabase.h: Added method declarations. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dave Hyatt https://bugs.webkit.org/show_bug.cgi?id=22985 Add an assertion that clip rects are being used when painting with the same rootLayer that they were computed with. Fix two issues detected by the assertion: RenderLayer::updateClipRects() should not unconditionally update the clip rects on its parent, but stop when reaching rootLayer (just like calculateClipRects()). We need to pass the temporaryClipRects flag down through reflection painting to handle the case of nested reflections. Also use temporary clip rects in RenderTreeAsText, since that code does not reset the painting root for transformed layers, so cached clip rects will not match those used for painting. * rendering/RenderLayer.cpp: (WebCore::RenderLayer::RenderLayer): (WebCore::RenderLayer::paintLayer): (WebCore::RenderLayer::updateClipRects): (WebCore::RenderLayer::clearClipRects): * rendering/RenderLayer.h: * rendering/RenderTreeAsText.cpp: (WebCore::writeLayers): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
treat@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
* platform/graphics/cairo/AffineTransformCairo.cpp: (WebCore::TransformationMatrix::TransformationMatrix): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
Reviewed by Jon Honeycutt Expose setting the last-visit-was-failure flag on a history items in preparation for <rdar://problem/6173319> * History/WebHistoryItem.mm: (-[WebHistoryItem _setLastVisitWasFailure:]): * History/WebHistoryItemPrivate.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dino@apple.com authored
Reviewed by Darin Adler. Rename AffineTransform to TransformationMatrix in preparation for future enhancements (non-affine matrices) https://bugs.webkit.org/show_bug.cgi?id=22943 * GNUmakefile.am: * WebCore.pro: * WebCore.scons: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * WebCoreSources.bkl: * platform/graphics/transforms/AffineTransform.cpp: Removed. * platform/graphics/transforms/AffineTransform.h: Removed. * platform/graphics/transforms/TransformationMatrix.cpp: Copied from WebCore/platform/graphics/transforms/AffineTransform.cpp. * platform/graphics/transforms/TransformationMatrix.h: Copied from WebCore/platform/graphics/transforms/AffineTransform.h. * lots of other files with s/AffineTransform/TransformationMatrix/g git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dino@apple.com authored
Reviewed by David Hyatt. Implement 'pointer-events' for HTML content. This involved adding a new value 'auto' which behaves as 'visiblePainted' in SVG content. Moved the property out of the SVG CSS code and into the general CSS (both parsing and RenderStyle). Changes to the hit testing functionality of the Render tree, specifically the nodeAtPoint methods. Where they used to test for visibility, they now use a helper function defined on base classes (RenderObject and InlineBox) that checks both visibility and pointer-events. https://bugs.webkit.org/show_bug.cgi?id=11395 Tests: fast/events/pointer-events-2.html fast/events/pointer-events.html * css/CSSComputedStyleDeclaration.cpp: (WebCore::): (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): * css/CSSParser.cpp: (WebCore::CSSParser::parseValue): * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): (WebCore::CSSPrimitiveValue::operator EPointerEvents): * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): * css/SVGCSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue): * css/SVGCSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applySVGProperty): * manual-tests/pointer-events.html: Added. * rendering/EllipsisBox.cpp: (WebCore::EllipsisBox::nodeAtPoint): * rendering/InlineBox.h: (WebCore::InlineBox::visibleToHitTesting): * rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::nodeAtPoint): * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::nodeAtPoint): * rendering/PointerEventsHitRules.cpp: (WebCore::PointerEventsHitRules::PointerEventsHitRules): * rendering/PointerEventsHitRules.h: (WebCore::PointerEventsHitRules::): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::nodeAtPoint): * rendering/RenderBox.cpp: (WebCore::RenderBox::nodeAtPoint): * rendering/RenderObject.h: (WebCore::RenderObject::visibleToHitTesting): * rendering/RenderPath.cpp: (WebCore::RenderPath::nodeAtPoint): * rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::nodeAtPoint): * rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::nodeAtPoint): * rendering/RootInlineBox.cpp: (WebCore::RootInlineBox::nodeAtPoint): * rendering/TextControlInnerElements.cpp: (WebCore::SearchFieldCancelButtonElement::defaultEventHandler): * rendering/style/RenderStyle.h: (WebCore::): (WebCore::InheritedFlags::setBitDefaults): (WebCore::InheritedFlags::pointerEvents): (WebCore::InheritedFlags::setPointerEvents): (WebCore::InheritedFlags::initialPointerEvents): * rendering/style/RenderStyleConstants.h: (WebCore::): * rendering/style/SVGRenderStyle.h: (WebCore::SVGRenderStyle::InheritedFlags::operator==): (WebCore::SVGRenderStyle::setBitDefaults): * rendering/style/SVGRenderStyleDefs.h: * css/CSSValueKeywords.in: * css/SVGCSSValueKeywords.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alice.liu@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alice.liu@apple.com authored
Windows build fixes Rubber-stamped by Alice Liu. * interpreter/Interpreter.cpp: (JSC::Interpreter::Interpreter): * runtime/ByteArray.cpp: (JSC::ByteArray::create): * runtime/ByteArray.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Jon Honeycutt. Pass more information in the property bag passed to embeddedViewWithArguments. * Interfaces/IWebUIDelegatePrivate.idl: Declare new keys. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::createPlugin): Pass the base URL, MIME type and the containing element to embeddedViewWithArguments. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Darin Adler, Jon Honeycutt. Add a templatized COMVariant constructor so we can make COMVariants out of everything that has a COMVariantSetter specialization. Add a COMVariantSetter specialization for COMVariant. * COMVariantSetter.h: (COMVariant::COMVariant): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pewtermoose@webkit.org authored
Reviewed by Oliver Hunt. Fixes: https://bugs.webkit.org/show_bug.cgi?id=23027 Removes the WebKitGraphics files from the Cairo build, as well as excluding their link definitions. These are not used outside of Safari, and should not be part of the 'Redistributable API.' * WebKit.vcproj/WebKit.vcproj: Update *_Cairo targets to exclude the WebKitGraphics.cpp/.h files. * WebKit.vcproj/WebKit_Cairo.def: Added. File without Safari link definitions. * WebKit.vcproj/WebKit_Cairo_debug.def: Added. File without Safari link definitions. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Jon Honeycutt. Add a simple, memory managed, wrapper around a VARIANT struuct. * COMVariantSetter.h: (COMVariant::COMVariant): (COMVariant::~COMVariant): (COMVariant::operator=): (COMVariant::copyTo): (COMVariant::variantType): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
<https://bugs.webkit.org/show_bug.cgi?id=23123> Reviewed by Gavin Barraclough JavaScriptCore: The fix to this is to devirtualise get and put in a manner similar to JSString and JSArray. To do this I've added a ByteArray implementation and JSByteArray wrapper to JSC. We can then do vptr comparisons to devirtualise the calls. This devirtualisation improves performance by 1.5-2x in my somewhat ad hoc tests. WebCore: Remove the WebCore CanvasPixelArray implementation and replace CPA usage with JSC::ByteArray. Replace the JSCanvasPixelArray wrapper with an explicitly instantiated JSByteArray put on the JSImageData object as an ordinary ReadOnly, DontDelete property. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele@apple.com authored
Windows build fix. * WebCoreSupport/WebChromeClient.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Adam Roben. Make it possible to have per value variant types. * COMPropertyBag.h: (::Read): Call variantType here, passing in the value. (::GetPropertyInfo): Ditto. * COMVariantSetter.h: (COMVariantSetterBase::variantType): Add COMVariantSetterBase, whose variantType implementation just returns the VariantType variable. Make all existing classes inherit from COMVariantSetterBase. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
treat@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
treat@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
treat@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
treat@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-