Timeline
Jan 18, 2009:
- 11:15 PM Changeset in webkit [40024] by
-
- 13 edits1 delete in trunk/WebCore
2009-01-18 Sam Weinig <sam@webkit.org>
Reviewed by Cameron Zwarich.
Fix for https://bugs.webkit.org/show_bug.cgi?id=23415
Remove FramePrivate
Minor PLT speedup.
- WebCore.base.exp:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- loader/FrameLoader.cpp:
- page/Frame.cpp: (WebCore::Frame::Frame): (WebCore::Frame::~Frame): (WebCore::Frame::init): (WebCore::Frame::loader): (WebCore::Frame::view): (WebCore::Frame::setView): (WebCore::Frame::script): (WebCore::Frame::document): (WebCore::Frame::setDocument): (WebCore::Frame::settings): (WebCore::Frame::selection): (WebCore::Frame::editor): (WebCore::Frame::selectionGranularity): (WebCore::Frame::setSelectionGranularity): (WebCore::Frame::dragCaretController): (WebCore::Frame::animation): (WebCore::Frame::mark): (WebCore::Frame::setMark): (WebCore::Frame::setCaretVisible): (WebCore::Frame::clearCaretRectIfNeeded): (WebCore::Frame::selectionLayoutChanged): (WebCore::Frame::caretBlinkTimerFired): (WebCore::Frame::paintCaret): (WebCore::Frame::paintDragCaret): (WebCore::Frame::zoomFactor): (WebCore::Frame::isZoomFactorTextOnly): (WebCore::Frame::shouldApplyTextZoom): (WebCore::Frame::shouldApplyPageZoom): (WebCore::Frame::setZoomFactor): (WebCore::Frame::setPrinting): (WebCore::Frame::setJSStatusBarText): (WebCore::Frame::setJSDefaultStatusBarText): (WebCore::Frame::jsStatusBarText): (WebCore::Frame::jsDefaultStatusBarText): (WebCore::Frame::setNeedsReapplyStyles): (WebCore::Frame::needsReapplyStyles): (WebCore::Frame::reapplyStyles): (WebCore::Frame::isContentEditable): (WebCore::Frame::updateSecureKeyboardEntryIfActive): (WebCore::Frame::typingStyle): (WebCore::Frame::setTypingStyle): (WebCore::Frame::clearTypingStyle): (WebCore::Frame::computeAndSetTypingStyle): (WebCore::Frame::selectionComputedStyle): (WebCore::Frame::applyEditingStyleToBodyElement): (WebCore::Frame::removeEditingStyleFromBodyElement): (WebCore::Frame::keepAlive): (WebCore::Frame::cancelAllKeepAlive): (WebCore::Frame::clearDOMWindow): (WebCore::Frame::ownerElement): (WebCore::Frame::ownerRenderer): (WebCore::Frame::isDisconnected): (WebCore::Frame::setIsDisconnected): (WebCore::Frame::excludeFromTextSearch): (WebCore::Frame::setExcludeFromTextSearch): (WebCore::Frame::selectionBounds): (WebCore::Frame::selectionTextRects): (WebCore::Frame::isFrameSet): (WebCore::Frame::currentForm): (WebCore::Frame::forceLayout): (WebCore::Frame::sendScrollEvent): (WebCore::Frame::clearTimers): (WebCore::Frame::styleForSelectionStart): (WebCore::Frame::inViewSourceMode): (WebCore::Frame::setInViewSourceMode): (WebCore::Frame::markAllMatchesForText): (WebCore::Frame::markedTextMatchesAreHighlighted): (WebCore::Frame::setMarkedTextMatchesAreHighlighted): (WebCore::Frame::tree): (WebCore::Frame::setDOMWindow): (WebCore::Frame::domWindow): (WebCore::Frame::clearFormerDOMWindow): (WebCore::Frame::page): (WebCore::Frame::eventHandler): (WebCore::Frame::pageDestroyed): (WebCore::Frame::disconnectOwnerElement): (WebCore::Frame::documentAtPoint):
- page/Frame.h:
- page/FramePrivate.h: Removed.
- page/FrameTree.h:
- page/chromium/FrameChromium.cpp:
- page/mac/FrameMac.mm: (WebCore::Frame::imageFromRect): (WebCore::Frame::selectionImage): (WebCore::Frame::snapshotDragImage): (WebCore::Frame::nodeImage): (WebCore::Frame::setUserStyleSheetLocation): (WebCore::Frame::setUserStyleSheet):
- page/qt/FrameQt.cpp: (WebCore::Frame::setUserStyleSheetLocation): (WebCore::Frame::setUserStyleSheet):
- page/win/FrameCGWin.cpp: (WebCore::Frame::nodeImage):
- page/win/FrameWin.cpp:
- 6:31 PM Changeset in webkit [40023] by
-
- 2 edits in trunk/WebKit/mac
Fix <https://bugs.webkit.org/show_bug.cgi?id=23414>.
Bug 23414: Reproducible crash accessing View menu with plugins disabled
Reviewed by Anders Carlsson.
- WebView/WebFrame.mm:
(-[WebFrame _canProvideDocumentSource]): Null-check the PluginData before using it.
- 9:14 AM Changeset in webkit [40022] by
-
- 2 edits in trunk/WebCore
2009-01-17 Eric Carlson <eric.carlson@apple.com>
Build fix for !ENABLE(VIDEO) following r40016.
- rendering/RenderSlider.cpp: (WebCore::RenderSlider::mouseEventIsInThumb):
Jan 17, 2009:
- 8:30 PM Changeset in webkit [40021] by
-
- 2 edits in trunk/WebKit/win
Build fix.
- WebCoreSupport/WebDragClient.cpp: (WebDragClient::createDragImageForLink):
- 8:15 PM Changeset in webkit [40020] by
-
- 3 edits in trunk/WebCore
Build fix.
- 7:08 PM Changeset in webkit [40019] by
-
- 9 edits in trunk/WebCore
2009-01-17 David Hyatt <hyatt@apple.com>
Optimize isTextNode() the same way isElementNode() was optimized in an earlier checkin. isTextNode()
on Node is now non-virtual and just checks a bit that is set at construction time by Text.
Reviewed by Sam Weinig
- dom/CharacterData.cpp: (WebCore::CharacterData::CharacterData):
- dom/CharacterData.h:
- dom/EventTargetNode.cpp: (WebCore::EventTargetNode::EventTargetNode):
- dom/EventTargetNode.h:
- dom/Node.cpp: (WebCore::Node::Node):
- dom/Node.h: (WebCore::Node::isTextNode): (WebCore::Node::isAttributeNode):
- dom/Text.cpp: (WebCore::Text::Text):
- dom/Text.h:
- 2:20 PM Changeset in webkit [40018] by
-
- 2 edits in trunk/LayoutTests/fast/dom
Fix failing CSS Selector layout test. Don't test first-letter in a text test, since that causes some of the selector text to be lost.
- 1:38 PM Changeset in webkit [40017] by
-
- 27 edits in trunk
WebCore:
2009-01-17 David Hyatt <hyatt@apple.com>
Change how backslashAsCurrencySymbol() works. Instead of forcing call sites to do the direct
replacement themselves, the exact transformation is instead done by the encoding (indirectly through
a method on Document).
These changes allow the fast case (where no replacement is needed) checks to be completely inlined for
a slight speedup, and also allow encodings to do future alterations to displayed string content without
having to patch call sites again.
Reviewed by Oliver Hunt
- WebCore.base.exp:
- dom/Document.cpp:
- dom/Document.h: (WebCore::Document::displayStringModifiedByEncoding): (WebCore::Document::displayBufferModifiedByEncoding):
- editing/Editor.cpp: (WebCore::Editor::addToKillRing):
- editing/TextIterator.cpp: (WebCore::plainTextToMallocAllocatedBuffer): (WebCore::plainText):
- editing/TextIterator.h:
- html/HTMLOptGroupElement.cpp: (WebCore::HTMLOptGroupElement::groupLabelText):
- html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::text):
- loader/DocumentLoader.cpp: (WebCore::canonicalizedTitle):
- page/Chrome.cpp: (WebCore::displayString): (WebCore::Chrome::runJavaScriptAlert): (WebCore::Chrome::runJavaScriptConfirm): (WebCore::Chrome::runJavaScriptPrompt): (WebCore::Chrome::setStatusbarText):
- page/Frame.cpp: (WebCore::Frame::shouldClose):
- page/Frame.h:
- platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::writeSelection):
- platform/text/TextCodecICU.cpp: (WebCore::TextCodecICU::encode):
- platform/text/TextEncoding.cpp: (WebCore::TextEncoding::TextEncoding):
- platform/text/TextEncoding.h: (WebCore::TextEncoding::displayString): (WebCore::TextEncoding::displayBuffer):
- rendering/HitTestResult.cpp: (WebCore::displayString):
- rendering/RenderImage.cpp: (WebCore::RenderImage::paintReplaced):
- rendering/RenderObject.cpp:
- rendering/RenderObject.h:
- rendering/RenderText.cpp: (WebCore::RenderText::RenderText): (WebCore::RenderText::setTextInternal):
- rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::setInnerTextValue): (WebCore::RenderTextControl::finishText):
WebKit/mac:
2009-01-17 David Hyatt <hyatt@apple.com>
Eliminate dependencies on "backslashAsCurrencySymbol()" from WebKit, and make sure these alterations
are done in WebCore instead.
Reviewed by Oliver Hunt
- WebView/WebFrame.mm: (-[WebFrame _selectedString]): (-[WebFrame _stringForRange:]):
WebKit/win:
2009-01-17 David Hyatt <hyatt@apple.com>
Eliminate dependencies on backslashAsCurrencySymbol from WebKit.
Reviewed by Oliver Hunt
- WebFrame.cpp: (WebFrame::selectedString):
- 9:18 AM Changeset in webkit [40016] by
-
- 33 edits1 add in trunk
2009-01-17 Eric Carlson <eric.carlson@apple.com>
Reviewed by Adele Peterson
Complete <rdar://problem/6293969>
- DerivedSources.make: include mediaControlsQT.css for Mac build.
- WebCore.xcodeproj/project.pbxproj: add mediaControlsQT.css
- css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): add MediaTimelineContainerPart, CSSValueMediaCurrentTimeDisplay, and CSSValueMediaTimeRemainingDisplay
- css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType): include new media controller element styles
- css/CSSSelector.h: (WebCore::CSSSelector::): Ditto.
- css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): include new media controller element styles
- css/CSSValueKeywords.in: add keywords for new media time display controls
- css/mediaControls.css: adjust css for new control elements
- css/mediaControlsQT.css: Added.
- platform/ThemeTypes.h: (WebCore::): add media time display controls to ControlPart
- platform/mac/WebCoreSystemInterface.h:
- platform/mac/WebCoreSystemInterface.mm: pass controller style to WKSI functions
- rendering/MediaControlElements.cpp: (WebCore::MediaTextDisplayElement::MediaTextDisplayElement): Added (WebCore::MediaTextDisplayElement::attachToParent): Added (WebCore::MediaTextDisplayElement::update): Added (WebCore::MediaTimeDisplayElement::MediaTimeDisplayElement): Added (WebCore::MediaControlInputElement::MediaControlInputElement): Added (WebCore::MediaControlInputElement::hitTest): Added (WebCore::MediaControlTimelineElement::defaultEventHandler): Update the time display when dragging the thumb
- rendering/MediaControlElements.h: (WebCore::): Add MediaTextDisplayElement
- rendering/RenderMedia.cpp: (WebCore::RenderMedia::createTimelineContainer): Added (WebCore::RenderMedia::createTimeline): Parent is now the timeline container (WebCore::RenderMedia::createCurrentTimeDisplay): Added (WebCore::RenderMedia::createTimeRemainingDisplay): Added (WebCore::RenderMedia::updateControls): Create new elements. Don't ever start the time update timer when the time display elements are not visible (WebCore::RenderMedia::formatTime): Handle negative times. Don't display 0 hours or minutes (WebCore::RenderMedia::updateTimeDisplay): Do nothing when the time display elements are not visible. Display time remaining as well as current time. (WebCore::RenderMedia::updateControlVisibility): Don't assume opacity should be set to 0 when visibility changes (WebCore::RenderMedia::forwardEvent): Call element hitTest() method instead of local function as we can't assume that all controls are rectangular
- rendering/RenderMedia.h: Updated
- rendering/RenderSlider.cpp: (WebCore::RenderSlider::mouseEventIsInThumb): When slider is media timeline control, call element hitTest() method instead of assuming it is rectangular
- rendering/RenderSlider.h: make mouseEventIsInThumb virtual
- rendering/RenderTheme.cpp: (WebCore::RenderTheme::paint): Deal with time display and timeline container
- rendering/RenderTheme.h: (WebCore::RenderTheme::paintMediaTimelineContainer): Updated (WebCore::RenderTheme::paintMediaCurrentTime): Added (WebCore::RenderTheme::paintMediaTimeRemaining): Added
- rendering/RenderThemeMac.h: Updated
- rendering/RenderThemeMac.mm: (WebCore::): (WebCore::mediaControllerTheme): (WebCore::RenderThemeMac::adjustSliderThumbSize): Call WebKitSystemInterface to get the thumb size when appropriate (WebCore::RenderThemeMac::paintMediaFullscreenButton): pass controller style to render function (WebCore::RenderThemeMac::paintMediaMuteButton): Ditto (WebCore::RenderThemeMac::paintMediaPlayButton): Ditto (WebCore::RenderThemeMac::paintMediaSeekBackButton): Ditto (WebCore::RenderThemeMac::paintMediaSeekForwardButton): Ditto (WebCore::RenderThemeMac::paintMediaSliderTrack): Ditto (WebCore::RenderThemeMac::paintMediaSliderThumb): Ditto (WebCore::RenderThemeMac::paintMediaTimelineContainer): Added (WebCore::RenderThemeMac::paintMediaCurrentTime): Added (WebCore::RenderThemeMac::paintMediaTimeRemaining): Added (WebCore::RenderThemeMac::extraMediaControlsStyleSheet): Added (WebCore::RenderThemeMac::hitTestMediaControlPart): Added
- rendering/style/RenderStyle.h: Updated (WebCore::):
2009-01-17 Eric Carlson <eric.carlson@apple.com>
Reviewed by Adele Peterson
Complete <rdar://problem/6293969>
- WebCoreSupport/WebSystemInterface.m: (InitWebCoreSystemInterface): Remove UseSharedMediaUI
2009-01-17 Eric Carlson <eric.carlson@apple.com>
Reviewed by Adele Peterson
<rdar://problem/6293969>
Update media controls rendering results for new controls CSS.
- platform/mac/media/audio-controls-rendering-expected.txt:
- platform/mac/media/video-controls-rendering-expected.txt:
- platform/mac/media/video-display-toggle-expected.txt:
- 1:36 AM Changeset in webkit [40015] by
-
- 3 edits in trunk/WebCore
2009-01-17 David Hyatt <hyatt@apple.com>
Inline a few methods in FrameView for speed.
Reviewed by Oliver Hunt
- page/FrameView.cpp:
- page/FrameView.h: (WebCore::FrameView::layoutCount): (WebCore::FrameView::needsFullRepaint):
- 1:27 AM Changeset in webkit [40014] by
-
- 4 edits in trunk/WebCore
2009-01-17 David Hyatt <hyatt@apple.com>
Inline Document::documentElement(), since it is used by the (very hot) RenderObject::isRoot(). Split off
the code that fetches and caches the document element into a separate function and inline the part that
does the null check and the return of the already-cached element.
Reviewed by Oliver Hunt
- dom/Document.cpp: (WebCore::Document::cacheDocumentElement):
- dom/Document.h: (WebCore::Document::documentElement):
- 1:11 AM Changeset in webkit [40013] by
-
- 2 edits in trunk/WebCore
2009-01-17 David Hyatt <hyatt@apple.com>
Minor tweaks to RenderBox::styleChange to speed it up.
Reviewed by Oliver Hunt
- rendering/RenderBox.cpp: (WebCore::RenderBox::styleDidChange):
- 12:41 AM Changeset in webkit [40012] by
-
- 4 edits in trunk/WebCore
2009-01-17 David Hyatt <hyatt@apple.com>
Inline FrameLoader::client().
Reviewed by Oliver Hunt
- WebCore.base.exp:
- loader/FrameLoader.cpp:
- loader/FrameLoader.h: (WebCore::FrameLoader::client):
- 12:30 AM Changeset in webkit [40011] by
-
- 1 edit in trunk/WebCore/platform/graphics/Image.h
isNull() should be size().isEmpty(). Duh.
- 12:27 AM Changeset in webkit [40010] by
-
- 4 edits in trunk/WebCore
2009-01-17 David Hyatt <hyatt@apple.com>
Inline some Image methods for speed. Fix CachedImage's addClient method to just use isNull rather
than needlessly creating a rect.
Reviewed by Oliver Hunt
- loader/CachedImage.cpp: (WebCore::CachedImage::addClient):
- platform/graphics/Image.cpp:
- platform/graphics/Image.h: (WebCore::Image::isNull): (WebCore::Image::rect): (WebCore::Image::width): (WebCore::Image::height):
- 12:17 AM Changeset in webkit [40009] by
-
- 2 edits in trunk/WebCore
2009-01-17 David Hyatt <hyatt@apple.com>
Avoid using the non-inlined isVariable() when adding parsed values during CSS parsing.
Reviewed by Oliver Hunt
- css/CSSParserValues.cpp: (WebCore::CSSParserValueList::addValue):
- 12:04 AM Changeset in webkit [40008] by
-
- 3 edits in trunk/WebCore
2009-01-17 David Hyatt <hyatt@apple.com>
Inline Document::inPageCache(), since - because of animation code - it is now called every time
styles change on any element and so is now super-hot.
Reviewed by Oliver Hunt
- dom/Document.cpp:
- dom/Document.h: (WebCore::Document::inPageCache):
Jan 16, 2009:
- 11:17 PM Changeset in webkit [40007] by
-
- 16 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Take Font out of the GraphicsContext. Fonts are moderately expensive to both compare and to assign to.
The Font's presence in the GraphicsContext was making save/restore more expensive than it needed to be,
and was also causing expensive comparison checks to be made before doing alterations of the Font in the
GraphicsContext.
A font must now be passed as a parameter to all text drawing functions.
Reviewed by Oliver Hunt
- html/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::setFont): (WebCore::CanvasRenderingContext2D::drawTextInternal):
- platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::drawText): (WebCore::GraphicsContext::drawBidiText): (WebCore::GraphicsContext::drawHighlightForText):
- platform/graphics/GraphicsContext.h:
- platform/graphics/GraphicsContextPrivate.h:
- platform/graphics/qt/GraphicsContextQt.cpp:
- rendering/EllipsisBox.cpp: (WebCore::EllipsisBox::paint):
- rendering/InlineTextBox.cpp: (WebCore::paintTextWithShadows): (WebCore::InlineTextBox::paint): (WebCore::InlineTextBox::paintSelection): (WebCore::InlineTextBox::paintCompositionBackground): (WebCore::InlineTextBox::paintSpellingOrGrammarMarker): (WebCore::InlineTextBox::paintTextMatchMarker): (WebCore::InlineTextBox::paintDocumentMarkers):
- rendering/InlineTextBox.h:
- rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::paintObject):
- rendering/RenderImage.cpp: (WebCore::RenderImage::paintReplaced):
- rendering/RenderListBox.cpp: (WebCore::RenderListBox::paintItemForeground):
- rendering/RenderListMarker.cpp: (WebCore::RenderListMarker::paint):
- rendering/SVGInlineTextBox.cpp: (WebCore::SVGInlineTextBox::paintCharacters): (WebCore::SVGInlineTextBox::paintSelection):
- rendering/SVGInlineTextBox.h:
- svg/SVGFont.cpp: (WebCore::Font::drawTextUsingSVGFont):
- 10:54 PM Changeset in webkit [40006] by
-
- 2 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Fix a regression from the virtualContinuation()/continuation() split where I accidentally changed
two if statements.
Reviewed by Oliver Hunt
- rendering/RenderObject.cpp: (WebCore::RenderObject::absoluteRects): (WebCore::RenderObject::absoluteQuads):
- 10:36 PM Changeset in webkit [40005] by
-
- 3 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Fix a regression from my before/after optimization. Make sure the <q> element puts the document
into a mode where it will respect before/after rules, since <q> implicitly uses such rules.
Make sure view source mode documents also turn on before/after rules, since they are used there also.
Reviewed by Oliver Hunt
- html/HTMLElementFactory.cpp: (WebCore::quoteConstructor):
- html/HTMLViewSourceDocument.cpp: (WebCore::HTMLViewSourceDocument::HTMLViewSourceDocument):
- 8:57 PM Changeset in webkit [40004] by
-
- 6 edits in trunk/JavaScriptCore
2009-01-16 Gavin Barraclough <barraclough@apple.com>
Reviewed by Oliver Hunt.
On x86-64 jit, cache JSImmedate::TagMask & JSImmedate::TagTypeNumber in
registers, save reloading them every time they're used.
Draws x86-64 jit performance close to that of i386 jit.
- assembler/MacroAssembler.h: (JSC::MacroAssembler::subPtr): (JSC::MacroAssembler::jnzPtr): (JSC::MacroAssembler::jzPtr):
- jit/JIT.cpp: (JSC::JIT::privateCompileMainPass):
- jit/JIT.h:
- jit/JITArithmetic.cpp: (JSC::JIT::compileBinaryArithOpSlowCase):
- jit/JITInlineMethods.h: (JSC::JIT::emitJumpIfJSCell): (JSC::JIT::emitJumpIfNotJSCell): (JSC::JIT::emitJumpIfImmediateNumber): (JSC::JIT::emitJumpIfNotImmediateNumber): (JSC::JIT::emitJumpIfImmediateInteger): (JSC::JIT::emitJumpIfNotImmediateInteger): (JSC::JIT::emitFastArithIntToImmNoCheck):
- 5:47 PM Changeset in webkit [40003] by
-
- 6 edits2 adds in trunk
Bug 23397: AXURL is not reported for <INPUT type="image"> elements
https://bugs.webkit.org/show_bug.cgi?id=23397
The AXURL of a <INPUT type="image"> element should be the URL of the image
- 5:14 PM Changeset in webkit [40002] by
-
- 2 edits in trunk/WebCore
2009-01-16 Adele Peterson <adele@apple.com>
Windows build fix.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::logCanCachePageDecision):
- 4:50 PM Changeset in webkit [40001] by
-
- 5 edits in trunk
<rdar://problem/6502511> Safari crashes if it's running while the desktop theme is changed.
This was caused by mismatched ENABLE definitions across WebCore and WebKit.
Several virtual methods were added to RenderTheme.h, conditionalized by ENABLE(VIDEO).
In addition to adding ENABLE_VIDEO to WebKit, this change also adds ENABLE_DATABASE and ENABLE_ICONDATABASE
to Windows WebCore/WebKit, and adds ENABLE_WORKERS, and several ENABLE_SVG_ flags to WebKit on Windows.
Our Windows ENABLE flags now match Mac.
Reviewed by Adele Peterson.
- 4:47 PM Changeset in webkit [40000] by
-
- 1 edit in trunk/WebCore/ChangeLog
40,000!
- 4:47 PM Changeset in webkit [39999] by
-
- 2 edits in trunk/WebKitTools
2009-01-16 Gabor Loki <loki@inf.u-szeged.hu>
Reviewed by Darin Adler.
- Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional parameters to make command in QMake projects.
- 4:39 PM Changeset in webkit [39998] by
-
- 6 edits in trunk/JavaScriptCore
2009-01-16 Gavin Barraclough <barraclough@apple.com>
Reviewed by Oliver Hunt.
Add support to x86-64 JIT for inline double precision arithmetic ops.
+5/6% on x86-64, JIT enabled, sunspider.
- assembler/MacroAssembler.h: (JSC::MacroAssembler::addPtr):
- assembler/X86Assembler.h: (JSC::X86Assembler::movq_rr):
- jit/JIT.h:
- jit/JITArithmetic.cpp: (JSC::JIT::compileFastArith_op_pre_inc): (JSC::JIT::compileBinaryArithOp): (JSC::JIT::compileBinaryArithOpSlowCase): (JSC::JIT::compileFastArith_op_add): (JSC::JIT::compileFastArithSlow_op_add): (JSC::JIT::compileFastArith_op_mul): (JSC::JIT::compileFastArithSlow_op_mul): (JSC::JIT::compileFastArith_op_sub): (JSC::JIT::compileFastArithSlow_op_sub):
- parser/ResultType.h: (JSC::ResultType::isReusable): (JSC::ResultType::isInt32): (JSC::ResultType::definitelyIsNumber): (JSC::ResultType::mightBeNumber): (JSC::ResultType::isNotNumber): (JSC::ResultType::unknownType):
- 4:30 PM Changeset in webkit [39997] by
-
- 11 edits in trunk/WebCore
Reviewed by Justin Garcia.
Make surroundNodeRangeWithElement call insertNodeBefore implicitly
Make insertNodeBefore take PassRefPtr
Clean up the use of PassRefPtr vs. raw pointers a few places in the editing code.
https://bugs.webkit.org/show_bug.cgi?id=23389
- editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): (WebCore::ApplyStyleCommand::applyTextDecorationStyle): (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement): (WebCore::ApplyStyleCommand::addInlineStyleIfNeeded):
- editing/ApplyStyleCommand.h:
- editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::insertNodeAt):
- editing/IndentOutdentCommand.cpp: (WebCore::IndentOutdentCommand::prepareBlockquoteLevelForInsertion):
- editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply):
- editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply):
- editing/InsertTextCommand.cpp: (WebCore::InsertTextCommand::insertTab):
- editing/ModifySelectionListLevel.cpp: (WebCore::IncreaseSelectionListLevelCommand::doApply):
- editing/ReplaceSelectionCommand.cpp: (WebCore::ReplacementFragment::removeNodePreservingChildren): (WebCore::ReplacementFragment::insertNodeBefore): (WebCore::ReplacementFragment::removeInterchangeNodes): (WebCore::ReplaceSelectionCommand::doApply): (WebCore::ReplaceSelectionCommand::insertNodeAfterAndUpdateNodesInserted): (WebCore::ReplaceSelectionCommand::insertNodeAtAndUpdateNodesInserted): (WebCore::ReplaceSelectionCommand::insertNodeBeforeAndUpdateNodesInserted):
- editing/ReplaceSelectionCommand.h:
- 4:15 PM Changeset in webkit [39996] by
-
- 3 edits2 adds in trunk
Bug 23393: TextField has AXTitle and AXTitleUIElement
https://bugs.webkit.org/show_bug.cgi?id=23393
A control that only has a label can have an AXTitle and an AXTitleUIElement.
It should only have the AXTitleUIElement
- 3:48 PM Changeset in webkit [39995] by
-
- 2 edits in trunk/WebCore
The correct build fix for all platforms.
- 3:39 PM Changeset in webkit [39994] by
-
- 2 edits in trunk/WebCore
Fix the Qt build.
- 3:34 PM Changeset in webkit [39993] by
-
- 8 edits in trunk/JavaScriptCore
2009-01-16 Gavin Barraclough <barraclough@apple.com>
Reviewed by Geoff Garen.
Fixes for SamplingTool.
- assembler/MacroAssembler.h: (JSC::MacroAssembler::storePtr):
- bytecode/SamplingTool.cpp: (JSC::SamplingTool::run): (JSC::SamplingTool::dump):
- bytecode/SamplingTool.h: (JSC::SamplingTool::encodeSample):
- jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompile):
- jit/JIT.h: (JSC::JIT::samplingToolTrackCodeBlock):
- jit/JITCall.cpp: (JSC::JIT::compileOpCall): (JSC::JIT::compileOpCallSlowCase):
- jit/JITInlineMethods.h: (JSC::JIT::emitCTICall_internal):
- 3:28 PM Changeset in webkit [39992] by
-
- 7 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Add a new flag (similar to first-line and first-letter) to Document to track whether any before/after rules
are being used. If not, don't waste time probing for those pseudo element styles.
Reviewed by Sam Weinig
- css/CSSGrammar.y:
- dom/Document.cpp: (WebCore::Document::Document):
- dom/Document.h: (WebCore::Document::usesBeforeAfterRules): (WebCore::Document::setUsesBeforeAfterRules):
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::styleDidChange):
- rendering/RenderContainer.cpp: (WebCore::RenderContainer::updateBeforeAfterContentForContainer):
- rendering/RenderInline.cpp: (WebCore::RenderInline::styleDidChange): (WebCore::RenderInline::addChildToFlow): (WebCore::RenderInline::splitInlines):
- 3:26 PM Changeset in webkit [39991] by
-
- 2 edits in trunk/WebCore
2009-01-16 Dmitry Titov <dimich@chromium.org>
Reviewed by Alp Toker.
https://bugs.webkit.org/show_bug.cgi?id=23394
Remove unnecessary calls to setDeferringTimers().
Use of this function was obsoleted by better handling of EINTR.
- platform/network/curl/ResourceHandleManager.cpp: (WebCore::ResourceHandleManager::downloadTimerCallback): removed setDeferringTimers calls.
- 3:14 PM Changeset in webkit [39990] by
-
- 3 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Fix badness with the cursor CSS property. For all links and form controls, resetting to a value of auto
was resulting in the creation of a cursor list. clearCursorList was creating a new list rather than just
nulling out the pointer. Since addCursor already lazily recreates the list, in the case of simple cursor types,
the clear method was wastefully creating a completely unnecessary list for all of these elements.
Also optimized the setting of simple cursor values to not alter the RenderStyle's cursor setting if it is already
set to the same value. Since this is the common case, it prevents a fault and copy of StyleInheritedData for
all links and form controls.
This is a PLT speedup.
Reviewed by Oliver Hunt
- css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty):
- rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::clearCursorList):
- 2:50 PM Changeset in webkit [39989] by
-
- 2 edits1 add in trunk/WebCore
2009-01-16 Darin Fisher <darin@chromium.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=23384
PLATFORM(CHROMIUM) needs to delegate BackForwardList.cpp methods to the embedder
- history/BackForwardList.h: (WebCore::BackForwardListClient::~BackForwardListClient): (WebCore::BackForwardList::setClient):
- history/BackForwardListChromium.cpp: Added.
- 2:34 PM Changeset in webkit [39988] by
-
- 2 edits in trunk/WebCore
Reviewed by Kevin Decker and Adam Roben.
- fix a regression that resulted in a crash when plug-ins were disabled.
- rendering/RenderPartObject.cpp: (WebCore::RenderPartObject::updateWidget): Added a null check.
- 2:23 PM Changeset in webkit [39987] by
-
- 10 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Split continuation() into virtual and non-virtual versions so that the non-virtual version can
be used whereever possible. Eventually the virtual method can be eliminated completely.
Reviewed by Sam Weinig and Oliver Hunt
- html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::isKeyboardFocusable):
- page/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::anchorElement):
- rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::determineSpacingForFlowBoxes): (WebCore::InlineFlowBox::paint):
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::removeChild):
- rendering/RenderContainer.cpp: (WebCore::RenderContainer::updateBeforeAfterContentForContainer):
- rendering/RenderFlow.h: (WebCore::RenderFlow::virtualContinuation): (WebCore::RenderFlow::continuation):
- rendering/RenderInline.cpp: (WebCore::RenderInline::positionForCoordinates):
- rendering/RenderObject.cpp: (WebCore::RenderObject::absoluteRects): (WebCore::RenderObject::absoluteQuads): (WebCore::RenderObject::addFocusRingRects): (WebCore::RenderObject::repaintAfterLayoutIfNeeded): (WebCore::RenderObject::getAbsoluteRepaintRectWithOutline): (WebCore::RenderObject::handleDynamicFloatPositionChange): (WebCore::RenderObject::hoverAncestor): (WebCore::RenderObject::updateDragState): (WebCore::RenderObject::updateHitTestResult): (WebCore::RenderObject::getTextDecorationColors): (WebCore::RenderObject::adjustRectForOutlineAndShadow):
- rendering/RenderObject.h: (WebCore::RenderObject::virtualContinuation):
- 1:53 PM Changeset in webkit [39986] by
-
- 1 edit3 adds in trunk/LayoutTests
Reviewed by Alexey Proskuryakov.
Add toggle-styles test for editing.
https://bugs.webkit.org/show_bug.cgi?id=23366
This test demonstrates at least these 3 editing bugs:
https://bugs.webkit.org/show_bug.cgi?id=17733
https://bugs.webkit.org/show_bug.cgi?id=20215
https://bugs.webkit.org/show_bug.cgi?id=22810
- editing/execCommand/resources/toggle-styles.js: Added.
- editing/execCommand/toggle-styles-expected.txt: Added.
- editing/execCommand/toggle-styles.html: Added.
- 1:52 PM Changeset in webkit [39985] by
-
- 3 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Inline the methods of Font for obtaining metrics such as ascent, descent and line spacing.
Reviewed by ggaren
- platform/graphics/Font.cpp:
- platform/graphics/Font.h: (WebCore::Font::width): (WebCore::Font::ascent): (WebCore::Font::descent): (WebCore::Font::lineSpacing): (WebCore::Font::lineGap): (WebCore::Font::xHeight): (WebCore::Font::unitsPerEm): (WebCore::Font::spaceWidth):
- 1:51 PM Changeset in webkit [39984] by
-
- 6 edits in trunk
2009-01-16 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
Fixed <rdar://problem/6452301> REGRESSION: Latest WebKit nightlies
turn "c" into "" when stripping
c_ character
- wrec/WRECParser.cpp: (JSC::WREC::Parser::consumeEscape): Mimic a Firefox quirk when parsing control escapes inside character classes.
LayoutTests:
2009-01-16 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
Added tests for <rdar://problem/6452301> REGRESSION: Latest WebKit
nightlies turn "c" into "" when stripping
c_ character
- fast/regex/malformed-escapes-expected.txt:
- fast/regex/resources/malformed-escapes.js:
- 1:48 PM Changeset in webkit [39983] by
-
- 3 edits in trunk/WebCore
2009-01-16 Sam Weinig <sam@webkit.org>
Reviewed by David Hyatt.
Fix for https://bugs.webkit.org/show_bug.cgi?id=23388
Remove FrameViewPrivate
Removes an indirection and is a small speedup on PLT.
- page/FrameView.cpp: (WebCore::FrameView::FrameView): (WebCore::FrameView::~FrameView): (WebCore::FrameView::reset): (WebCore::FrameView::resetScrollbars): (WebCore::FrameView::init): (WebCore::FrameView::clear): (WebCore::FrameView::didFirstLayout): (WebCore::FrameView::initScrollbars): (WebCore::FrameView::updateDefaultScrollbarState): (WebCore::FrameView::setCanHaveScrollbars): (WebCore::FrameView::applyOverflowToViewport): (WebCore::FrameView::layoutCount): (WebCore::FrameView::needsFullRepaint): (WebCore::FrameView::layoutRoot): (WebCore::FrameView::layout): (WebCore::FrameView::setMediaType): (WebCore::FrameView::mediaType): (WebCore::FrameView::useSlowRepaints): (WebCore::FrameView::setUseSlowRepaints): (WebCore::FrameView::addSlowRepaintObject): (WebCore::FrameView::removeSlowRepaintObject): (WebCore::FrameView::scrollRectIntoViewRecursively): (WebCore::FrameView::setScrollPosition): (WebCore::FrameView::repaintContentRectangle): (WebCore::FrameView::beginDeferredRepaints): (WebCore::FrameView::endDeferredRepaints): (WebCore::FrameView::scheduleRelayout): (WebCore::FrameView::scheduleRelayoutOfSubtree): (WebCore::FrameView::layoutPending): (WebCore::FrameView::needsLayout): (WebCore::FrameView::unscheduleRelayout): (WebCore::FrameView::isTransparent): (WebCore::FrameView::setTransparent): (WebCore::FrameView::baseBackgroundColor): (WebCore::FrameView::setBaseBackgroundColor): (WebCore::FrameView::shouldUpdateWhileOffscreen): (WebCore::FrameView::setShouldUpdateWhileOffscreen): (WebCore::FrameView::scheduleEvent): (WebCore::FrameView::pauseScheduledEvents): (WebCore::FrameView::resumeScheduledEvents): (WebCore::FrameView::performPostLayoutTasks): (WebCore::FrameView::updateOverflowStatus): (WebCore::FrameView::dispatchScheduledEvents): (WebCore::FrameView::wasScrolledByUser): (WebCore::FrameView::setWasScrolledByUser): (WebCore::FrameView::paintContents): (WebCore::FrameView::setPaintRestriction): (WebCore::FrameView::isPainting): (WebCore::FrameView::setNodeToDraw):
- page/FrameView.h: (WebCore::FrameView::setIsVisuallyNonEmpty): Inline.
- 1:37 PM Changeset in webkit [39982] by
-
- 3 edits in trunk/WebCore
2009-01-14 Julien Chaffraix <jchaffraix@webkit.org>
Reviewed by Darin Adler.
Bug 23237: Some HTML constructors in HTMLElementFactory needs
an HTMLFormElement argument
- Added 'constructorNeedsFormElement' parameter to make_names.pl to account for HTML form elements.
- Added the new information to HTMLTagNames.in.
- dom/make_names.pl:
- html/HTMLTagNames.in:
- 1:25 PM Changeset in webkit [39981] by
-
- 10 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Eliminate a bunch of save/restore pairs from commonly used GraphicsContext methods. The most common reason
for needing save/restore in the line-drawing methods was antialiasing, so this has now been made part of
the cross-platform graphics state. By being able to query for the current antialiasing setting, antialiasing
can be temporarily changed and then restored back to the real value without needing to do a save/restore.
The line drawing code also set the fill color to the stroke color and relied on save/restore to prevent
a permanent mutation of the fill color in the CGContext. The new code just restores the fill color back
to its original value without doing the much more expensive save/restore.
Reviewed by Oliver Hunt
- platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::setShouldAntialias): (WebCore::GraphicsContext::shouldAntialias):
- platform/graphics/GraphicsContext.h:
- platform/graphics/GraphicsContextPrivate.h: (WebCore::GraphicsContextState::GraphicsContextState):
- platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::setPlatformShouldAntialias):
- platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::drawLine): (WebCore::GraphicsContext::drawConvexPolygon): (WebCore::GraphicsContext::drawLineForText): (WebCore::GraphicsContext::setPlatformShouldAntialias):
- platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::setPlatformShouldAntialias):
- platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::setPlatformShouldAntialias):
- platform/graphics/wx/GraphicsContextWx.cpp: (WebCore::GraphicsContext::setPlatformShouldAntialias):
- rendering/RenderPath.cpp: (WebCore::RenderPath::paint):
- 1:01 PM Changeset in webkit [39980] by
-
- 13 edits in trunk/WebCore
2009-01-16 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Clean up the bridge code and get rid of Field::name() and Method::name().
- bridge/c/c_instance.cpp: (JSC::Bindings::CInstance::invokeMethod):
- bridge/c/c_runtime.cpp:
- bridge/c/c_runtime.h: (JSC::Bindings::CField::identifier): (JSC::Bindings::CMethod::identifier):
- bridge/jni/jni_class.cpp: (JavaClass::JavaClass):
- bridge/jni/jni_instance.cpp: (JavaInstance::invokeMethod):
- bridge/jni/jni_runtime.cpp: (JavaField::valueFromInstance): (JavaField::setValueToInstance): (JavaMethod::methodID):
- bridge/jni/jni_runtime.h: (JSC::Bindings::JavaField::name): (JSC::Bindings::JavaMethod::name):
- bridge/objc/objc_class.mm: (JSC::Bindings::ObjcClass::methodsNamed):
- bridge/objc/objc_instance.mm: (ObjcInstance::invokeMethod):
- bridge/objc/objc_runtime.h: (JSC::Bindings::ObjcMethod::isFallbackMethod): (JSC::Bindings::ObjcMethod::selector):
- bridge/objc/objc_runtime.mm: (JSC::Bindings::ObjcMethod::ObjcMethod): (JSC::Bindings::ObjcMethod::getMethodSignature): (JSC::Bindings::ObjcField::ObjcField): (JSC::Bindings::ObjcField::valueFromInstance): (JSC::Bindings::ObjcField::setValueToInstance): (JSC::Bindings::callObjCFallbackObject):
- bridge/runtime.h:
- 12:54 PM Changeset in webkit [39979] by
-
- 3 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Optimize RenderText::styleDidChange. Don't call the base class, which does extra meaningless work.
Instead just do the one check we need to do (for a diff of layout) and mark dirty as appropriate.
Clean up the base class method also to just bail early if no m_parent is set instead of repeatedly checking
for the existence of m_parent in each if clause.
Reviewed by Darin Adler
- rendering/RenderObject.cpp: (WebCore::RenderObject::styleDidChange):
- rendering/RenderText.cpp: (WebCore::RenderText::styleDidChange):
- 12:52 PM Changeset in webkit [39978] by
-
- 8 edits2 adds in trunk
Bug 23387: AX hierarchy is incorrect when iframes are present
https://bugs.webkit.org/show_bug.cgi?id=23387
AX hierarchy is incorrect when iframes are present
- 12:49 PM Changeset in webkit [39977] by
-
- 1 edit2 moves1 add in trunk/LayoutTests
2009-01-16 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=16001
Re-land layout test which didn't land as part of r39785
Move pixel results to platforms directory.
- editing/selection/extend-selection-bidi.html: Added.
- platform/mac/editing/selection/extend-selection-bidi-expected.checksum: Renamed from LayoutTests/editing/selection/extend-selection-bidi-expected.checksum.
- platform/mac/editing/selection/extend-selection-bidi-expected.png: Renamed from LayoutTests/editing/selection/extend-selection-bidi-expected.png.
- 12:44 PM Changeset in webkit [39976] by
-
- 2 edits in trunk/WebKitTools
2009-01-16 Anders Carlsson <andersca@apple.com>
Reviewed by Adam Roben.
Set the count to the right number of elements.
- DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: (testEnumerate):
- 10:54 AM Changeset in webkit [39975] by
-
- 3 edits in trunk/WebCore
2009-01-16 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler
<rdar://problem/3541409> - Split up some back/forward cache decision making and add detailed logging to
better understand what the common disqualifiers are.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::canCachePageContainingThisFrame): (WebCore::FrameLoader::canCachePage): Split off what will be per-frame decision making into canCacheSubframe. (WebCore::FrameLoader::logCanCachePageDecision): Detailed logging about why a page may not be considered for the back/forward cache. (WebCore::FrameLoader::logCanCacheFrameDecision): Same detailed logging on the per-frame basis. (WebCore::FrameLoader::commitProvisionalLoad): Move the m_client->canCachePage() call into canCachePageContainingThisFrame().
- loader/FrameLoader.h:
- 10:27 AM Changeset in webkit [39974] by
-
- 8 edits2 adds in trunk
Fixed https://bugs.webkit.org/show_bug.cgi?id=23088.
This was happening because I was calling setChanged() from inside updateRendering()
which causes an infinite loop. I fixed this by deferring the setChanged to the next
run loop iteration. That made it not infinite loop, but it still retriggers the
transition forever. The problem is that there is both an 'all' and specific transition
on 'opacity'. This tickled a bug in AnimationController which causes the opacity
transition to get constantly cancelled and then retriggered. The problem is that
the specific opacity transition has a duration of 0. I got rid of the logic to
flush out 0 duration transitions and it is no longer constantly triggered. The
logic to flush them was just an optimization, and you really need to keep them
around to make the logic to override earlier animations by later ones work. And there is
very little overhead in this case anyway, so the optimization was not that useful.
I made a LayoutTest from the original testcase which tests both the infinite
loop and constantly triggering animation cases.
- 10:06 AM Changeset in webkit [39973] by
-
- 3 edits2 adds in trunk
Bug 23385: crash at com.apple.WebCore • WebCore::HTMLAnchorElement::isKeyboardFocusable
https://bugs.webkit.org/show_bug.cgi?id=23385
Option-tabbing on page with image map links causes crash
- 9:13 AM Changeset in webkit [39972] by
-
- 2 edits in trunk/WebKit/qt
2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
Rubber-stamped by Simon Hausmann.
[Qt] Increase popup focus delay time to a sensible 500 ms.
- tests/qwebframe/tst_qwebframe.cpp:
- 7:44 AM Changeset in webkit [39971] by
-
- 7 edits in trunk/WebCore
2009-01-16 Thiago Macieira <thiago.macieira@nokia.com>
Reviewed by Simon Hausmann.
[Qt] Fixes QString and 8-bit mix fixes.
Details: Make sure we use QLatin1String where appropriate (and don't
use QString when not necessary)
- platform/graphics/qt/ImageDecoderQt.cpp: (WebCore::ImageDecoderQt::create):
- platform/graphics/qt/SimpleFontDataQt.cpp: (WebCore::SimpleFontData::platformInit):
- platform/qt/FileSystemQt.cpp: (WebCore::openTemporaryFile):
- platform/qt/LoggingQt.cpp: (WebCore::InitializeLoggingChannelsIfNecessary):
- platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::extraMediaControlsStyleSheet):
- plugins/qt/PluginDataQt.cpp: (WebCore::PluginData::initPlugins):
- 7:27 AM Changeset in webkit [39970] by
-
- 2 edits in trunk/JavaScriptCore
Windows build fix
- wrec/WRECParser.cpp: (JSC::WREC::Parser::parseParentheses): Removed unreachable code.
- 7:16 AM Changeset in webkit [39969] by
-
- 6 edits in trunk
2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Adam Roben.
When plugins are disabled, plugin data should not be available for
the page. This ensures that navigator.plugins would not see the
additional MIME types supported by the plugins.
- page/Page.cpp: (WebCore::Page::pluginData):
- loader/FrameLoader.cpp: (WebCore::FrameLoader::shouldUsePlugin):
- rendering/RenderPartObject.cpp: (WebCore::RenderPartObject::updateWidget):
2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Adam Roben.
[Qt] Prevent crash if plugin data is NULL.
- WebCoreSupport/FrameLoaderClientQt.cpp: NULL check. (WebCore::FrameLoaderClientQt::objectContentType):
- 7:09 AM Changeset in webkit [39968] by
-
- 4 edits in trunk
Got rid of .idl file in Resources for bug https://bugs.webkit.org/show_bug.cgi?id=21421.
Also fixed the test case to work on ppc.
- 3:02 AM Changeset in webkit [39967] by
-
- 2 edits in trunk/WebKit/qt
2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
Rubber-stamped by Simon Hausmann.
[Qt] Per-line cursor movement tests depend on platform-specific font
metrics. Remove them to avoid test failures on different platforms.
- tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::cursorMovements):
- 2:12 AM Changeset in webkit [39966] by
-
- 2 edits in trunk/WebKit/qt
2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
Rubber-stamped by Simon Hausmann.
http://www.qtsoftware.com/developer/task-tracker/index_html?id=219344&method=entry
[Qt] API documentation for QWebPage::WebAction enum.
- Api/qwebpage.cpp:
- 2:00 AM Changeset in webkit [39965] by
-
- 4 edits in trunk
2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
Another attempt at fixing the Qt build.
- bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::getInstance):
- Api/qwebframe.cpp: (QWebFrame::addToJavaScriptWindowObject):
- 12:35 AM Changeset in webkit [39964] by
-
- 2 edits in trunk/WebCore
2009-01-16 David Hyatt <hyatt@apple.com>
Fix for 1.85% PLT regression. Since asking if a frame is "complete" actually aggressively decodes
the frame, we add an optimization when advancing animations. If we have received all of the animated
image's data, then obviously we can go ahead and advance safely. This prevents the first draw of an image
from decoding two frames' worth of data in the case where all of the image's data has been received.
While this fixes the cached case, there could in fact be a regression on the uncached PLT from this change
as well. It's not immediately clear how that regression would be fixed, though, and it would likely be
a much smaller percentage of that overall uncached time.
Reviewed by Dan Bernstein
- platform/graphics/BitmapImage.cpp: (WebCore::BitmapImage::startAnimation):
- 12:01 AM Changeset in webkit [39963] by
-
- 6 edits in trunk
2009-01-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Cameron Zwarich.
Fixed <rdar://problem/6471394> REGRESSION (r39164): Discarding quantifier
on assertion gives incorrect result (23075)
- pcre/pcre_compile.cpp: (compileBranch): Throw away an assertion if it's followed by a quantifier with a 0 minimum, to match SpiderMonkey, v8, and the ECMA spec.
- wrec/WRECParser.cpp: (JSC::WREC::Parser::parseParentheses): Fall back on PCRE for the rare case of an assertion with a quantifier with a 0 minimum, since we don't handle quantified subexpressions yet, and in this special case, we can't just throw away the quantifier.
LayoutTests:
2009-01-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Cameron Zwarich.
Added a test for <rdar://problem/6471394> REGRESSION (r39164): Discarding
quantifier on assertion gives incorrect result (23075)
- fast/regex/quantified-assertions-expected.txt:
- fast/regex/resources/quantified-assertions.js:
Jan 15, 2009:
- 11:44 PM Changeset in webkit [39962] by
-
- 6 edits in trunk/WebCore
Reviewed by Anders Carlsson.
https://bugs.webkit.org/show_bug.cgi?id=23349
Don't store obsolete caches in disk storage
- loader/ResourceLoader.cpp: (WebCore::ResourceLoader::ResourceLoader): (WebCore::ResourceLoader::load): (WebCore::ResourceLoader::scheduleLoadFallbackResourceFromApplicationCache):
- loader/ResourceLoader.h: Don't maintain m_wasLoadedFromApplicationCache, which was never used.
- loader/appcache/ApplicationCache.cpp: (WebCore::ApplicationCache::addResource): Assert that only implicit and dynamic resources can be added after the cache has been fully loaded and stored to disk database.
- loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::cacheDestroyed): Don't remove non-newest caches from disk database, as this is now done whenever the cache becomes obsolete. (WebCore::ApplicationCacheGroup::setNewestCache): Remove an obsolete cache from disk storage.
- loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::cacheGroupDestroyed): A cache group that has never been saved should not be remembered in m_cacheHostSet. Changed the check to no longer rely on savedNewestCachePointer.
- 10:52 PM Changeset in webkit [39961] by
-
- 4 edits in trunk/JavaScriptCore
2009-01-15 Gavin Barraclough <barraclough@apple.com>
Reviewed by Oliver Hunt.
Add support in ResultType to track that the results of bitops
are always of type int32_t.
- parser/Nodes.cpp: (JSC::ReadModifyResolveNode::emitBytecode): (JSC::ReadModifyDotNode::emitBytecode): (JSC::ReadModifyBracketNode::emitBytecode):
- parser/Nodes.h: (JSC::ExpressionNode::): (JSC::BooleanNode::): (JSC::NumberNode::): (JSC::StringNode::): (JSC::PrePostResolveNode::): (JSC::TypeOfResolveNode::): (JSC::TypeOfValueNode::): (JSC::UnaryPlusNode::): (JSC::NegateNode::): (JSC::BitwiseNotNode::): (JSC::LogicalNotNode::): (JSC::MultNode::): (JSC::DivNode::): (JSC::ModNode::): (JSC::SubNode::): (JSC::LeftShiftNode::): (JSC::RightShiftNode::): (JSC::UnsignedRightShiftNode::): (JSC::LessNode::): (JSC::GreaterNode::): (JSC::LessEqNode::): (JSC::GreaterEqNode::): (JSC::InstanceOfNode::): (JSC::EqualNode::): (JSC::NotEqualNode::): (JSC::StrictEqualNode::): (JSC::NotStrictEqualNode::): (JSC::BitAndNode::): (JSC::BitOrNode::): (JSC::BitXOrNode::): (JSC::LogicalOpNode::):
- parser/ResultType.h: (JSC::ResultType::isInt32): (JSC::ResultType::isNotNumber): (JSC::ResultType::booleanType): (JSC::ResultType::numberType): (JSC::ResultType::numberTypeCanReuse): (JSC::ResultType::numberTypeCanReuseIsInt32): (JSC::ResultType::stringOrNumberTypeCanReuse): (JSC::ResultType::stringType): (JSC::ResultType::unknownType): (JSC::ResultType::forAdd): (JSC::ResultType::forBitOp): (JSC::OperandTypes::OperandTypes):
- 10:51 PM Changeset in webkit [39960] by
-
- 6 edits in trunk/JavaScriptCore
2009-01-15 Gavin Barraclough <barraclough@apple.com>
Reviewed by Oliver Hunt.
Add support for integer addition, subtraction and multiplication
in JIT code on x86-64.
- assembler/MacroAssembler.h: (JSC::MacroAssembler::mul32): (JSC::MacroAssembler::sub32): (JSC::MacroAssembler::joMul32): (JSC::MacroAssembler::joSub32):
- jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileSlowCases):
- jit/JIT.h:
- jit/JITArithmetic.cpp: (JSC::JIT::compileFastArith_op_add): (JSC::JIT::compileFastArithSlow_op_add): (JSC::JIT::compileFastArith_op_mul): (JSC::JIT::compileFastArithSlow_op_mul): (JSC::JIT::compileFastArith_op_sub): (JSC::JIT::compileFastArithSlow_op_sub):
- 8:53 PM Changeset in webkit [39959] by
-
- 5 edits in trunk
<rdar://problem/5870656> selectorText and cssText are clipped for :nth-child() and :nth-of-type()
WebCore:
2009-01-15 Dimitri Dupuis-Latour <dupuislatour@apple.com>
<rdar://problem/5870656> selectorText and cssText are clipped for :nth-child() and :nth-of-type();
Reviewed by Timothy Hatcher.
- css/CSSSelector.cpp: (WebCore::CSSSelector::selectorText):
LayoutTests:
2009-01-15 Dimitri Dupuis-Latour <dupuislatour@apple.com>
Added testcases for all CSS3 pseudo-classes and pseudo-elements
<rdar://problem/5870656> selectorText and cssText are clipped for :nth-child() and :nth-of-type();
Reviewed by Timothy Hatcher.
- fast/dom/css-selectorText-expected.txt:
- fast/dom/css-selectorText.html:
- 7:20 PM Changeset in webkit [39958] by
-
- 23 edits1 copy in trunk
2009-01-15 Gavin Barraclough <barraclough@apple.com>
Reviewed by Geoff Garen.
On x86-64 allow JSImmediate to encode 64-bit double precision values.
This patch only affects builds that set USE(ALTERNATE_JSIMMEDIATE).
- Updates the implementation of JSValuePtr
- and JSImmediate:: methods that operate on neumeric values to be be aware of the new representation. When this representation is in use, the class JSNumberCell is redundant and is compiled out.
The format of the new immediate representation is documented in JSImmediate.h.
- JavaScriptCore.exp:
- assembler/MacroAssembler.h: (JSC::MacroAssembler::subPtr):
- assembler/X86Assembler.h: (JSC::X86Assembler::): (JSC::X86Assembler::subq_rr): (JSC::X86Assembler::movq_rr): (JSC::X86Assembler::ucomisd_rr): (JSC::X86Assembler::X86InstructionFormatter::twoByteOp64):
- interpreter/Interpreter.cpp: (JSC::Interpreter::cti_op_stricteq): (JSC::Interpreter::cti_op_nstricteq):
- jit/JIT.cpp: (JSC::JIT::compileOpStrictEq): (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileSlowCases):
- jit/JIT.h:
- jit/JITArithmetic.cpp: (JSC::JIT::compileFastArith_op_lshift): (JSC::JIT::compileFastArith_op_rshift): (JSC::JIT::compileFastArith_op_bitand): (JSC::JIT::compileFastArith_op_mod): (JSC::JIT::compileFastArith_op_add): (JSC::JIT::compileFastArith_op_mul): (JSC::JIT::compileFastArith_op_post_inc): (JSC::JIT::compileFastArith_op_post_dec): (JSC::JIT::compileFastArith_op_pre_inc): (JSC::JIT::compileFastArith_op_pre_dec): (JSC::JIT::putDoubleResultToJSNumberCellOrJSImmediate): (JSC::JIT::compileBinaryArithOp):
- jit/JITInlineMethods.h: (JSC::JIT::emitJumpIfBothJSCells): (JSC::JIT::emitJumpIfEitherNumber): (JSC::JIT::emitJumpIfNotEitherNumber): (JSC::JIT::emitJumpIfImmediateIntegerNumber): (JSC::JIT::emitJumpIfNotImmediateIntegerNumber): (JSC::JIT::emitJumpIfNotImmediateIntegerNumbers): (JSC::JIT::emitJumpSlowCaseIfNotImmediateIntegerNumber): (JSC::JIT::emitJumpSlowCaseIfNotImmediateIntegerNumbers): (JSC::JIT::emitFastArithDeTagImmediate): (JSC::JIT::emitFastArithDeTagImmediateJumpIfZero): (JSC::JIT::emitFastArithReTagImmediate): (JSC::JIT::emitFastArithIntToImmNoCheck):
- runtime/JSCell.h:
- runtime/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData):
- runtime/JSImmediate.cpp: (JSC::JSImmediate::toThisObject): (JSC::JSImmediate::toObject): (JSC::JSImmediate::toString):
- runtime/JSImmediate.h: (JSC::wtf_reinterpret_cast): (JSC::JSImmediate::isNumber): (JSC::JSImmediate::isIntegerNumber): (JSC::JSImmediate::isDoubleNumber): (JSC::JSImmediate::isPositiveIntegerNumber): (JSC::JSImmediate::areBothImmediateIntegerNumbers): (JSC::JSImmediate::makeInt): (JSC::JSImmediate::makeDouble): (JSC::JSImmediate::doubleValue): (JSC::doubleToBoolean): (JSC::JSImmediate::toBoolean): (JSC::JSImmediate::getTruncatedUInt32): (JSC::JSImmediate::makeOutOfIntegerRange): (JSC::JSImmediate::from): (JSC::JSImmediate::getTruncatedInt32): (JSC::JSImmediate::toDouble): (JSC::JSImmediate::getUInt32): (JSC::JSValuePtr::isInt32Fast): (JSC::JSValuePtr::isUInt32Fast): (JSC::JSValuePtr::areBothInt32Fast): (JSC::JSFastMath::canDoFastBitwiseOperations): (JSC::JSFastMath::xorImmediateNumbers): (JSC::JSFastMath::canDoFastRshift): (JSC::JSFastMath::canDoFastUrshift): (JSC::JSFastMath::rightShiftImmediateNumbers): (JSC::JSFastMath::canDoFastAdditiveOperations): (JSC::JSFastMath::addImmediateNumbers): (JSC::JSFastMath::subImmediateNumbers):
- runtime/JSNumberCell.cpp: (JSC::jsNumberCell):
- runtime/JSNumberCell.h: (JSC::createNumberStructure): (JSC::isNumberCell): (JSC::asNumberCell): (JSC::jsNumber): (JSC::JSValuePtr::isDoubleNumber): (JSC::JSValuePtr::getDoubleNumber): (JSC::JSValuePtr::isNumber): (JSC::JSValuePtr::uncheckedGetNumber): (JSC::jsNaN): (JSC::JSValuePtr::getNumber): (JSC::JSValuePtr::numberToInt32): (JSC::JSValuePtr::numberToUInt32):
- runtime/JSValue.h:
- runtime/NumberConstructor.cpp: (JSC::numberConstructorNegInfinity): (JSC::numberConstructorPosInfinity): (JSC::numberConstructorMaxValue): (JSC::numberConstructorMinValue):
- runtime/NumberObject.cpp: (JSC::constructNumber):
- runtime/NumberObject.h:
- runtime/Operations.h: (JSC::JSValuePtr::equal): (JSC::JSValuePtr::equalSlowCaseInline): (JSC::JSValuePtr::strictEqual): (JSC::JSValuePtr::strictEqualSlowCaseInline):
- wtf/Platform.h:
- 6:15 PM Changeset in webkit [39957] by
-
- 5 edits2 adds in trunk
WebCore:
2009-01-15 Justin Garcia <justin.garcia@apple.com>
Reviewed by Oliver Hunt.
<rdar://problem/6444148> Styling a selection that ends in a line break can sometimes style what's after the break
If the range to style ended at [node, 0] or inside node (and if for some reason the node didn't get split),
applyInlineStyle would style node.
- editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyInlineStyle): Rename pastLast to pastEndNode, since it doesn't come from Range::pastLastNode() anymore. pastEndNode is the node after the last one that is fully selected, since the work done in the loop that follows should only be performed on fully selected nodes.
- editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply): Explicitly handle insertion into containers and after non-text nodes. Those were handled accidently before.
- editing/htmlediting.cpp: (WebCore::caretMaxOffset): In various places we call this with a container and expect to be given the number of children in that container, so I changed it to match that. RenderBR and RenderObject::caretMaxOffset() should also be eliminated since maxDeepOffset handles non-text nodes.
LayoutTests:
2009-01-15 Justin Garcia <justin.garcia@apple.com>
Reviewed by Oliver Hunt.
<rdar://problem/6444148> Styling a selection that ends in a line break can sometimes style what's after the break
- editing/execCommand/6444148-expected.txt: Added.
- editing/execCommand/6444148.html: Added.
- 4:53 PM Changeset in webkit [39956] by
-
- 4 edits in trunk/JavaScriptCore
2009-01-15 Sam Weinig <sam@webkit.org>
Reviewed by Geoffrey Garen.
<rdar://problem/6045018>
REGRESSION (r34838): JavaScript objects appear to be leaked after loading google.com
Subtract the number of JSStrings cached in SmallStrings when calculating the
number of live JSObjects.
- runtime/Collector.cpp: (JSC::Heap::objectCount):
- runtime/SmallStrings.cpp: (JSC::SmallStrings::count):
- runtime/SmallStrings.h:
- 4:29 PM Changeset in webkit [39955] by
-
- 8 edits in trunk/WebCore
2009-01-15 Anders Carlsson <andersca@apple.com>
Reviewed by Geoffrey Garen.
Get rid of the dreaded BindingLanguage once and for all. Also get rid of Instance::getInstance.
- bridge/c/c_instance.h:
- bridge/jni/jni_instance.h:
- bridge/objc/objc_instance.h:
- bridge/qt/qt_instance.h:
- bridge/runtime.cpp:
- bridge/runtime.h:
- bridge/runtime_object.h:
- 4:24 PM Changeset in webkit [39954] by
-
- 2 edits in trunk/JavaScriptCore
2009-01-15 Sam Weinig <sam@webkit.org>
Fix Qt build.
- runtime/Collector.cpp:
- 4:03 PM Changeset in webkit [39953] by
-
- 4 edits in trunk/WebCore
2009-01-15 David Hyatt <hyatt@apple.com>
Eliminate an extra virtual function call that occurs for every single RenderText by moving the SVG-specific
code that was placed into RenderText::styleDidChange into RenderSVGInlineText::styleDidChange.
Reviewed by Oliver Hunt
- rendering/RenderSVGInlineText.cpp: (WebCore::RenderSVGInlineText::styleDidChange):
- rendering/RenderSVGInlineText.h:
- rendering/RenderText.cpp: (WebCore::RenderText::styleDidChange):
- 4:01 PM Changeset in webkit [39952] by
-
- 5 edits in trunk/WebCore
2009-01-15 Anders Carlsson <andersca@apple.com>
Another attempt at fixing the Qt build.
- bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::getOwnPropertySlot): (JSC::Bindings::QtInstance::put):
- bridge/qt/qt_instance.h:
- bridge/runtime.h: (JSC::Bindings::Instance::getOwnPropertySlot): (JSC::Bindings::Instance::put):
- bridge/runtime_object.cpp: (JSC::RuntimeObjectImp::getOwnPropertySlot): (JSC::RuntimeObjectImp::put):
- 3:49 PM Changeset in webkit [39951] by
-
- 6 edits in trunk/JavaScriptCore
2009-01-15 Sam Weinig <sam@webkit.org>
Reviewed by Gavin Barraclough.
Fix crash seen running fast/canvas.
Make sure to mark the ScopeNode and CodeBlock being created
in the re-parse for exception information.
- bytecode/CodeBlock.cpp: (JSC::CodeBlock::reparseForExceptionInfoIfNecessary):
- parser/Nodes.h: (JSC::ScopeNode::mark):
- runtime/Collector.cpp: (JSC::Heap::collect):
- runtime/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData):
- runtime/JSGlobalData.h:
- 3:48 PM Changeset in webkit [39950] by
-
- 4 edits in trunk/WebCore
2009-01-15 Anders Carlsson <andersca@apple.com>
Reviewed by Darin Adler.
Add QtInstance::getInstance and start using it.
- bridge/qt/qt_instance.cpp: (JSC::Bindings::QtRuntimeObjectImp::mark): (JSC::Bindings::QtRuntimeObjectImp::classInfo): (JSC::Bindings::): (JSC::Bindings::QtInstance::getInstance):
- bridge/qt/qt_instance.h:
- bridge/qt/qt_runtime.cpp: (JSC::Bindings::convertValueToQVariant):
- 3:38 PM Changeset in webkit [39949] by
-
- 5 edits in trunk/WebCore
2009-01-15 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Add the ability for Instance objects to override getOwnPropertySlot/put for runtime objects.
- bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::getOwnPropertySlot): (JSC::Bindings::QtInstance::put):
- bridge/qt/qt_instance.h:
- bridge/runtime.h: (JSC::Bindings::Instance::getOwnPropertySlot): (JSC::Bindings::Instance::put):
- bridge/runtime_object.cpp: (JSC::RuntimeObjectImp::getOwnPropertySlot): (JSC::RuntimeObjectImp::put):
- 3:30 PM Changeset in webkit [39948] by
-
- 3 edits in trunk/WebCore
2009-01-15 Anders Carlsson <andersca@apple.com>
Fix the QT build.
- bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::createRuntimeObject):
- bridge/qt/qt_instance.h:
- 3:11 PM Changeset in webkit [39947] by
-
- 2 edits in trunk/WebCore
2009-01-15 David Hyatt <hyatt@apple.com>
Fix for <rdar://problem/6500278> REGRESSION: 3.5% of samples on iBench in WebCore::Frame::setZoomFactor
setZoomFactor was supposed to bail if both the zoom factor and mode were the same. The mode check was
buggy and doing the wrong thing.
Reviewed by Darin Adler
- page/Frame.cpp: (WebCore::Frame::setZoomFactor):
- 2:58 PM Changeset in webkit [39946] by
-
- 12 edits in trunk/WebCore
2009-01-15 Anders Carlsson <andersca@apple.com>
Reviewed by Geoffrey Garen.
Make Instance::createRuntimeObject a virtual function and override it for QtInstance.
- bindings/js/JSPluginElementFunctions.cpp: (WebCore::getRuntimeObject):
- bridge/c/c_utility.cpp: (JSC::Bindings::convertNPVariantToValue):
- bridge/jni/jni_instance.cpp: (JavaInstance::invokeMethod):
- bridge/jni/jni_jsobject.mm: (JavaJSObject::convertJObjectToValue):
- bridge/jni/jni_runtime.cpp: (JavaField::valueFromInstance): (JavaArray::valueAt):
- bridge/objc/objc_utility.mm: (JSC::Bindings::convertObjcValueToValue):
- bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::getRuntimeObject): (JSC::Bindings::QtInstance::createRuntimeObject):
- bridge/qt/qt_instance.h:
- bridge/qt/qt_runtime.cpp: (JSC::Bindings::convertQVariantToValue): (JSC::Bindings::QtConnectionObject::execute):
- bridge/runtime.cpp: (JSC::Bindings::Instance::createRuntimeObject):
- bridge/runtime.h:
- 1:31 PM Changeset in webkit [39945] by
-
- 2 edits in trunk/JavaScriptCore
2009-01-15 Craig Schlenter <craig.schlenter@gmail.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=23347
Compilation of JavaScriptCore/wtf/ThreadingPthreads.cpp fails on Linux
- wtf/ThreadingPthreads.cpp: included limits.h as INT_MAX is defined there.
- 1:30 PM Changeset in webkit [39944] by
-
- 3 edits in trunk/WebCore
2009-01-15 Dimitri Glazkov <Dimitri Glazkov>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=23354
Fix up graphics/chromium files to account for Uniscribe style scrubbing.
- platform/graphics/chromium/FontChromiumWin.cpp: (WebCore::windowsCanHandleTextDrawing): (WebCore::Font::selectionRectForComplexText): (WebCore::Font::drawComplexText): (WebCore::Font::floatWidthForComplexText): (WebCore::Font::offsetForPositionForComplexText):
- platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp: (WebCore::fillNonBMPGlyphs):
- 1:24 PM Changeset in webkit [39943] by
-
- 2 edits in trunk/WebCore
2009-01-15 David Levin <levin@chromium.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=23333
Adjust due to a name change that happened in a WebKit.
- svg/graphics/skia/SVGPaintServerPatternSkia.cpp: (WebCore::SVGPaintServerPattern::setup):
- 1:15 PM Changeset in webkit [39942] by
-
- 3 edits3 adds in trunk
Bug 23225: REGRESSION: Assertion failure in reparseInPlace() (m_sourceElements) at sfgate.com
<https://bugs.webkit.org/show_bug.cgi?id=23225> <rdar://problem/6487432>
Reviewed by Geoff Garen
Character position for open and closing brace was incorrectly referencing m_position to
record their position in a source document, however this is unsafe as BOMs may lead to
m_position being an arbitrary position from the real position of the current character.
- 12:52 PM Changeset in webkit [39941] by
-
- 1 edit8 adds in trunk/WebCore
2009-01-15 Dimitri Glazkov <Dimitri Glazkov>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=23340
Add remaining bits of graphics/chromium.
- platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: Added. (WebCore::scaleEmToUnits): (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::platformDestroy): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::containsCharacters): (WebCore::SimpleFontData::determinePitch): (WebCore::SimpleFontData::platformWidthForGlyph):
- platform/graphics/chromium/SimpleFontDataLinux.cpp: Added. (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::platformDestroy): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::containsCharacters): (WebCore::SimpleFontData::determinePitch): (WebCore::SimpleFontData::platformWidthForGlyph):
- platform/graphics/chromium/ThemeHelperChromiumWin.cpp: Added. (WebCore::ThemeHelperWin::ThemeHelperWin): (WebCore::ThemeHelperWin::~ThemeHelperWin):
- platform/graphics/chromium/ThemeHelperChromiumWin.h: Added. (WebCore::ThemeHelperWin::): (WebCore::ThemeHelperWin::context): (WebCore::ThemeHelperWin::rect):
- platform/graphics/chromium/UniscribeHelper.cpp: Added. (WebCore::treatAsSpace): (WebCore::containsMissingGlyphs): (WebCore::setLogFontAndStyle): (WebCore::UniscribeHelper::UniscribeHelper): (WebCore::UniscribeHelper::~UniscribeHelper): (WebCore::UniscribeHelper::initWithOptionalLengthProtection): (WebCore::UniscribeHelper::width): (WebCore::UniscribeHelper::justify): (WebCore::UniscribeHelper::characterToX): (WebCore::UniscribeHelper::xToCharacter): (WebCore::UniscribeHelper::draw): (WebCore::UniscribeHelper::firstGlyphForCharacter): (WebCore::UniscribeHelper::fillRuns): (WebCore::UniscribeHelper::shape): (WebCore::UniscribeHelper::fillShapes): (WebCore::UniscribeHelper::fillScreenOrder): (WebCore::UniscribeHelper::adjustSpaceAdvances): (WebCore::UniscribeHelper::applySpacing): (WebCore::UniscribeHelper::advanceForItem):
- platform/graphics/chromium/UniscribeHelper.h: Added. (WebCore::UniscribeHelper::directionalOverride): (WebCore::UniscribeHelper::setDirectionalOverride): (WebCore::UniscribeHelper::inhibitLigate): (WebCore::UniscribeHelper::setInhibitLigate): (WebCore::UniscribeHelper::letterSpacing): (WebCore::UniscribeHelper::setLetterSpacing): (WebCore::UniscribeHelper::spaceWidth): (WebCore::UniscribeHelper::setSpaceWidth): (WebCore::UniscribeHelper::wordSpacing): (WebCore::UniscribeHelper::setWordSpacing): (WebCore::UniscribeHelper::setAscent): (WebCore::UniscribeHelper::init): (WebCore::UniscribeHelper::tryToPreloadFont): (WebCore::UniscribeHelper::Shaping::Shaping): (WebCore::UniscribeHelper::Shaping::glyphLength): (WebCore::UniscribeHelper::Shaping::charLength): (WebCore::UniscribeHelper::Shaping::effectiveAdvances): (WebCore::UniscribeHelper::nextWinFontData): (WebCore::UniscribeHelper::resetFontIndex):
- platform/graphics/chromium/UniscribeHelperTextRun.cpp: Added. (WebCore::UniscribeHelperTextRun::UniscribeHelperTextRun): (WebCore::UniscribeHelperTextRun::tryToPreloadFont): (WebCore::UniscribeHelperTextRun::nextWinFontData): (WebCore::UniscribeHelperTextRun::resetFontIndex):
- platform/graphics/chromium/UniscribeHelperTextRun.h: Added.
- 11:54 AM Changeset in webkit [39940] by
-
- 2 edits in trunk/WebKit/win
2009-01-15 Adele Peterson <adele@apple.com>
Reviewed by Darin Adler.
Fix for https://bugs.webkit.org/show_bug.cgi?id=21799
<rdar://problem/6310684> Crash in dumpFramesAsText() when running http/tests/security/cross-origin-xsl-BLOCKED.html
Return S_OK or E_FAIL based on the result from CreateInstance.
This was causing DumpRenderTree to not realize it had just gotten a null documentElement.
- DOMCoreClasses.cpp: Made all functions that return the result of CreateInstance consistent. (DOMNode::parentNode): (DOMNode::ownerDocument): (DOMNodeList::item): (DOMDocument::documentElement): (DOMDocument::createElement): (DOMDocument::getElementsByTagName): (DOMDocument::getElementsByTagNameNS): (DOMDocument::getElementById): (DOMDocument::getComputedStyle): (DOMDocument::createEvent): (DOMElement::style):
- 11:44 AM Changeset in webkit [39939] by
-
- 2 edits in trunk/WebCore
Fixed Windows project file after https://bugs.webkit.org/show_bug.cgi?id=21421
- 11:26 AM Changeset in webkit [39938] by
-
- 3 edits in tags/Safari-6528.10/WebKit/mac
Merge r39913.
- 11:25 AM Changeset in webkit [39937] by
-
- 2 edits in trunk/WebKit/mac
2009-01-15 Brady Eidson <beidson@apple.com>
Reviewed by Dan Bernstein
Fix problem where a URL visited as non-GET once is flagged as non-GET forever.
- History/WebHistory.mm: (-[WebHistory _visitedURL:withTitle:method:wasFailure:]): Always update the HTTPNonGet flag for all loads with an HTTP Method
- 11:25 AM Changeset in webkit [39936] by
-
- 2 edits in trunk/WebCore
2009-01-15 Aaron Boodman <aa@chromium.org>
Reviewed by Adam Roben.
https://bugs.webkit.org/show_bug.cgi?id=15279
Right clicking over text (or multiple spaces) auto selects the word
(or multiple spaces) under it, which is not a desirable effect for some
platforms.
- page/EventHandler.cpp: (WebCore::EventHandler::sendContextMenuEvent): Don't select words on right-click on Chromium.
- 11:08 AM Changeset in webkit [39935] by
-
- 4 edits in trunk
Versioning.
- 10:52 AM Changeset in webkit [39934] by
-
- 1 copy in tags/Safari-6528.10
New tag.
- 1:27 AM Changeset in webkit [39933] by
-
- 2 edits in trunk/WebCore
2009-01-15 Darin Fisher <darin@chromium.org>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=23345
SharedBuffer.h should include wtf/OwnPtr.h
- platform/SharedBuffer.h:
Jan 14, 2009:
- 9:46 PM Changeset in webkit [39932] by
-
- 2 edits in trunk/WebCore
Bug 23338: Make "Streamline Inspector Source" build script check for a directory before using it
Reviewed by Timothy Hatcher.
- WebCore.xcodeproj/project.pbxproj: Check to see if "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/inspector" exists before trying to change directories into it and then deleting, modifying and adding files to it.
- 9:40 PM Changeset in webkit [39931] by
-
- 4 edits in trunk/JavaScriptCore
Bug 23153: JSC build always touches JavaScriptCore/docs/bytecode.html
Reviewed by Darin Adler.
Instead of building bytecode.html into ${SRCROOT}/docs/bytecode.html, build it
into ${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore/docs/bytecode.html.
Also fixes make-bytecode-docs.pl to actually generate documentation.
- DerivedSources.make: Changed bytecode.html to be built into local docs directory in ${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore.
- JavaScriptCore.xcodeproj/project.pbxproj: Added "/docs" to the end of the "mkdir -p" command so that the docs subdirectory is automatically created.
- docs/make-bytecode-docs.pl: Changed BEGIN_OPCODE to DEFINE_OPCODE so that documentation is actually generated.
- 9:24 PM Changeset in webkit [39930] by
-
- 10 edits in trunk
Reviewed by Kevin Ollivier.
Fixing wx compilation for wx 2.9/trunk.
- 9:05 PM Changeset in webkit [39929] by
-
- 2 edits in trunk/WebCore
wx build fix. Adding WebKitCSSMatrix.
- 7:27 PM Changeset in webkit [39928] by
-
- 2 edits in trunk/WebCore
Prospective build fix for Qt following r39922.
- 6:52 PM Changeset in webkit [39927] by
-
- 3 edits in trunk/LayoutTests
Updated layout test results after adding WebKitCSSMatrix (r39922)
- fast/dom/Window/window-properties-expected.txt:
- fast/js/global-constructors-expected.txt:
- 6:30 PM Changeset in webkit [39926] by
-
- 2 edits in trunk/WebCore
2009-01-14 Darin Adler <Darin Adler>
Fix debug build.
- bindings/js/JSWebKitCSSMatrixConstructor.cpp: (WebCore::JSWebKitCSSMatrixConstructor::JSWebKitCSSMatrixConstructor): Use ASSERT_UNUSED.
- 6:16 PM Changeset in webkit [39925] by
-
- 1 edit36 adds in trunk/LayoutTests
2009-01-14 Pierre-Olivier Latour <pol@apple.com>
Added missing reference images for pixel tests (generated on iMac Intel with 10.5.5 + QT 7.5.5).
- platform/mac/editing/pasteboard/dataTransfer-set-data-file-url-expected.checksum: Added.
- platform/mac/editing/pasteboard/dataTransfer-set-data-file-url-expected.png: Added.
- platform/mac/fast/events/pointer-events-2-expected.checksum: Added.
- platform/mac/fast/events/pointer-events-2-expected.png: Added.
- platform/mac/fast/events/pointer-events-expected.checksum: Added.
- platform/mac/fast/events/pointer-events-expected.png: Added.
- platform/mac/fast/media/mq-animation-expected.checksum: Added.
- platform/mac/fast/media/mq-animation-expected.png: Added.
- platform/mac/fast/media/mq-transform-01-expected.checksum: Added.
- platform/mac/fast/media/mq-transform-01-expected.png: Added.
- platform/mac/fast/media/mq-transform-02-expected.checksum: Added.
- platform/mac/fast/media/mq-transform-02-expected.png: Added.
- platform/mac/fast/media/mq-transform-03-expected.checksum: Added.
- platform/mac/fast/media/mq-transform-03-expected.png: Added.
- platform/mac/fast/media/mq-transform-04-expected.checksum: Added.
- platform/mac/fast/media/mq-transform-04-expected.png: Added.
- platform/mac/fast/media/mq-transition-expected.checksum: Added.
- platform/mac/fast/media/mq-transition-expected.png: Added.
- platform/mac/http/tests/security: Added.
- platform/mac/http/tests/security/dataTransfer-set-data-file-url-expected.checksum: Added.
- platform/mac/http/tests/security/dataTransfer-set-data-file-url-expected.png: Added.
- platform/mac/http/tests/webarchive: Added.
- platform/mac/http/tests/webarchive/test-css-url-encoding-expected.checksum: Added.
- platform/mac/http/tests/webarchive/test-css-url-encoding-expected.png: Added.
- platform/mac/http/tests/webarchive/test-css-url-encoding-shift-jis-expected.checksum: Added.
- platform/mac/http/tests/webarchive/test-css-url-encoding-shift-jis-expected.png: Added.
- platform/mac/http/tests/webarchive/test-css-url-encoding-utf-8-expected.checksum: Added.
- platform/mac/http/tests/webarchive/test-css-url-encoding-utf-8-expected.png: Added.
- platform/mac/http/tests/webarchive/test-preload-resources-expected.checksum: Added.
- platform/mac/http/tests/webarchive/test-preload-resources-expected.png: Added.
- platform/mac/media/video-zoom-expected.checksum: Added.
- platform/mac/media/video-zoom-expected.png: Added.
- platform/mac/webarchive/test-css-url-resources-in-stylesheets-expected.checksum: Added.
- platform/mac/webarchive/test-css-url-resources-in-stylesheets-expected.png: Added.
- platform/mac/webarchive/test-css-url-resources-inline-styles-expected.checksum: Added.
- platform/mac/webarchive/test-css-url-resources-inline-styles-expected.png: Added.
- 6:05 PM Changeset in webkit [39924] by
-
- 9 edits4 adds in trunk
WebCore:
2009-01-14 Adele Peterson <adele@apple.com>
Reviewed by Darin Adler.
Fix for https://bugs.webkit.org/show_bug.cgi?id=23335
<rdar://problem/6247650> Update <input type="search"> for RenderThemeWin
No new tests added. In the future, we need to update DumpRenderTree to be able to run with different RenderThemes and
we'll need a separate set of results for different themes.
- css/themeWin.css: Renable search fields. Added new rules for sub-element placement.
- rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::textBlockWidth): Consider margin set on the sub-elements when computing the desired width for the text block.
- rendering/RenderThemeWin.cpp: (WebCore::RenderThemeWin::supportsFocus): Treat SearchFieldPart the same as TextFieldPart. (WebCore::RenderThemeWin::determineState): ditto. (WebCore::RenderThemeWin::getClassicThemeData): ditto. (WebCore::RenderThemeWin::getThemeData): ditto. (WebCore::RenderThemeWin::paintSearchFieldCancelButton): Draw a scaled, vertically centered, version of the new artwork. (WebCore::RenderThemeWin::paintSearchFieldResultsDecoration): ditto. (WebCore::RenderThemeWin::paintSearchFieldResultsButton): ditto. (WebCore::RenderThemeWin::adjustSearchFieldCancelButtonStyle): Set the scaled width and height. (WebCore::RenderThemeWin::adjustSearchFieldResultsDecorationStyle): ditto. (WebCore::RenderThemeWin::adjustSearchFieldResultsButtonStyle): ditto.
WebKit/win:
2009-01-14 Adele Peterson <adele@apple.com>
Reviewed by Darin Adler.
Fix for https://bugs.webkit.org/show_bug.cgi?id=23335
<rdar://problem/6247650> Update <input type="search"> for RenderThemeWin
Added artwork.
- WebKit.vcproj/WebKit.rc:
- WebKit.vcproj/WebKit.vcproj:
- WebKit.vcproj/resource.h:
- WebKit.vcproj/searchCancel.png: Added.
- WebKit.vcproj/searchCancelPressed.png: Added.
- WebKit.vcproj/searchMagnifier.png: Added.
- WebKit.vcproj/searchMagnifierResults.png: Added.
- WebKitDLL.cpp:(loadResourceIntoBuffer):
- 5:53 PM Changeset in webkit [39923] by
-
- 2 edits in trunk/WebCore
2009-01-14 Alp Toker <alp@nuanti.com>
GTK+ build fix following r39922.
Add WebKitCSSMatrix to the build system.
- GNUmakefile.am:
- 5:29 PM Changeset in webkit [39922] by
-
- 8 edits7 adds in trunk
Implemented 2D WebKitCSSMatrix
https://bugs.webkit.org/show_bug.cgi?id=21421
- 4:55 PM Changeset in webkit [39921] by
-
- 2 edits in trunk/WebCore
2009-01-14 Michael Moss <mmoss@chromium.org>
Reviewed by Eric Seidel.
Workaround a skia limitation on repeated patterns, and remove extra
transformations applied to pattern.
https://bugs.webkit.org/show_bug.cgi?id=23332
Fixes:
LayoutTests/fast/canvas/patternfill-repeat.html
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-06-b.svg
- platform/graphics/skia/PatternSkia.cpp: (WebCore::Pattern::createPlatformPattern):
- 4:31 PM Changeset in webkit [39920] by
-
- 5 edits in trunk/WebKit/mac
2009-01-14 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Implement InvokeDefault, Construct, GetProperty and SetProperty.
Fully implement marshalValue.
- Plugins/Hosted/NetscapePluginHostProxy.mm: (WKPCInvokeDefault): (WKPCConstruct): (WKPCGetProperty): (WKPCSetProperty):
- Plugins/Hosted/NetscapePluginInstanceProxy.h:
- Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::evaluate): (WebKit::NetscapePluginInstanceProxy::invoke): (WebKit::NetscapePluginInstanceProxy::invokeDefault): (WebKit::NetscapePluginInstanceProxy::construct): (WebKit::NetscapePluginInstanceProxy::getProperty): (WebKit::NetscapePluginInstanceProxy::setProperty): (WebKit::NetscapePluginInstanceProxy::marshalValue): (WebKit::NetscapePluginInstanceProxy::demarshalValue):
- Plugins/Hosted/WebKitPluginClient.defs:
- 4:26 PM Changeset in webkit [39919] by
-
- 2 edits in trunk/WebCore
Fix https://bugs.webkit.org/show_bug.cgi?id=23334
Bug 23334: Compile failure in XMLTokenizerLibxml2.cpp
Include wtf/UnusedParam.h to get UNUSED_PARAM.
- dom/XMLTokenizerLibxml2.cpp:
(WebCore::hackAroundLibXMLEntityBug):
- 3:50 PM Changeset in webkit [39918] by
-
- 4 edits1 delete in trunk/WebCore
2009-01-14 David Levin <levin@chromium.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=23333
Platform code fixes. These compensate for changes in platform
callbacks from WebKit and minor API tweaks.
I enumerated a few below.
- platform/graphics/chromium/FontCacheChromiumWin.cpp: fontExists has been gone since r34794.
- platform/graphics/skia/ImageSkia.cpp: (WebCore::paintSkBitmap):
(WebCore::FrameData::clear):
r39751 changes this api to take and return a bool.
(WebCore::Image::drawPattern):
- platform/graphics/skia/PathSkia.cpp: (WebCore::Path::apply): (WebCore::boundingBoxForCurrentStroke): (WebCore::Path::strokeContains):
- svg/graphics/skia/RenderPathSkia.cpp: Removed due to r39805.
- 3:40 PM Changeset in webkit [39917] by
-
- 2 edits in trunk/JavaScriptCore
Build fix for Qt from Dmitry Titov.
- 3:37 PM Changeset in webkit [39916] by
-
- 4 edits in trunk/WebKit/mac
2009-01-14 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Demarshal arguments and pass them to the JS call.
- Plugins/Hosted/NetscapePluginHostProxy.mm: (WKPCInvoke):
- Plugins/Hosted/NetscapePluginInstanceProxy.h:
- Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::invoke): (WebKit::NetscapePluginInstanceProxy::demarshalValueFromArray): (WebKit::NetscapePluginInstanceProxy::demarshalValues):
- 3:22 PM Changeset in webkit [39915] by
-
- 1 edit1 copy1 move3 adds in trunk/LayoutTests
2009-01-14 Darin Adler <Darin Adler>
Reviewed by Beth Dakin.
Try to fix regression test failures seen on Leopard; possibly new to 10.5.6.
- http/tests/misc/willCacheResponse-delegate-callback-expected.txt: Removed. This test has enough Mac specifics in it that I don't think it makes sense to have cross-platform results.
- platform/mac-tiger/http/tests/misc/willCacheResponse-delegate-callback-expected.txt: Copied from http/tests/misc/willCacheResponse-delegate-callback-expected.txt.
- platform/mac/http/tests/misc/willCacheResponse-delegate-callback-expected.txt: Copied from http/tests/misc/willCacheResponse-delegate-callback-expected.txt. Updated with non-Tiger results. The order of delegate calls has changed.
- 3:19 PM Changeset in webkit [39914] by
-
- 2 edits in trunk/WebKitTools
BUILD FIX: Use COM API on Windows in LayoutTestController::setIconDatabaseEnabled()
Rubber-stamped by Alice Liu.
- DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::setIconDatabaseEnabled): Use COM API to get the shared WebIconDatabase.
- 2:26 PM Changeset in webkit [39913] by
-
- 3 edits in trunk/WebKit/mac
<rdar://problem/6496520> REGRESSION: In Mail, a crash occurs when attempting to display a mail message
Move WebArchive and WebResource to use the same approach for initializing themselves on the main thread
that WebView uses.
Reviewed by Timothy Hatcher.
- WebView/WebArchive.mm:
(-[WebArchive initWithMainResource:subresources:subframeArchives:]): Use _webkit_performSelectorOnMainThread:withObject:.
(-[WebArchive _initWithArguments:]):
- WebView/WebResource.mm:
(-[WebResource _initWithArguments:]): Unbox the BOOL argument.
- 2:22 PM Changeset in webkit [39912] by
-
- 8 edits2 adds in trunk
2009-01-14 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by Eric Seidel.
<https://bugs.webkit.org/show_bug.cgi?id=16829>
Implement NPN_SetException()
This mirrors the implementation in the obj-c bindings.
Test: plugins/netscape-throw-exception.html
- bridge/NP_jsobject.cpp: (_NPN_SetException):
- bridge/c/c_instance.cpp: (JSC::Bindings::getExceptionString): (JSC::Bindings::CInstance::setGlobalException): (JSC::Bindings::CInstance::moveGlobalExceptionToExecState): (JSC::Bindings::CInstance::invokeMethod): (JSC::Bindings::CInstance::invokeDefaultMethod): (JSC::Bindings::CInstance::invokeConstruct): (JSC::Bindings::CInstance::getPropertyNames):
- bridge/c/c_instance.h:
- 2:18 PM Changeset in webkit [39911] by
-
- 1 edit1 move in trunk/LayoutTests
Disabling webarchive/test-link-rel-icon.html due to various buildbot failures
Bug 23331: LayoutTests/webarchive/test-link-rel-icon.html fails in different ways on buildbots
<https://bugs.webkit.org/show_bug.cgi?id=23331>
- webarchive/test-link-rel-icon.html: Removed.
- webarchive/test-link-rel-icon.html-disabled: Renamed from LayoutTests/webarchive/test-link-rel-icon.html.
- 2:14 PM Changeset in webkit [39910] by
-
- 7 edits3 adds in trunk
Bug 22903: REGRESSION (r36267): visiting this site reliably crashes WebKit nightly
Reviewed by Cameron Zwarich
EvalCodeBlock's do not reference the functions that are declared inside the eval
code, this means that simply marking the EvalCodeBlock through the global object
is insufficient to mark the declared functions. This patch corrects this by
explicitly marking the CodeBlocks of all the functions declared in the cached
EvalNode.
- 1:58 PM Changeset in webkit [39909] by
-
- 2 edits in trunk/WebCore
2009-01-14 Pierre-Olivier Latour <pol@apple.com>
Fixed build warning when LIBXML_VERSION >= 20627.
- dom/XMLTokenizerLibxml2.cpp: (WebCore::hackAroundLibXMLEntityBug):
- 1:57 PM Changeset in webkit [39908] by
-
- 8 edits in trunk/JavaScriptCore
2009-01-14 Dmitry Titov <dimich@chromium.org>
Reviewed by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=23312
Implement MessageQueue::waitForMessageTimed()
Also fixed ThreadCondition::timedWait() to take absolute time, as discussed on webkit-dev.
Win32 version of timedWait still has to be implemented.
- wtf/MessageQueue.h: (WTF::MessageQueueWaitResult: new enum for the result of MessageQueue::waitForMessageTimed. (WTF::MessageQueue::waitForMessage): (WTF::MessageQueue::waitForMessageTimed): New method.
- wtf/Threading.h:
- wtf/ThreadingGtk.cpp: (WTF::ThreadCondition::timedWait): changed to use absolute time instead of interval.
- wtf/ThreadingNone.cpp: (WTF::ThreadCondition::timedWait): ditto.
- wtf/ThreadingPthreads.cpp: (WTF::ThreadCondition::timedWait): ditto.
- wtf/ThreadingQt.cpp: (WTF::ThreadCondition::timedWait): ditto.
- wtf/ThreadingWin.cpp: (WTF::ThreadCondition::timedWait): ditto. The actual Win32 code is still to be implemented.
- 1:48 PM Changeset in webkit [39907] by
-
- 2 edits in trunk/WebKitTools
2009-01-13 Dmitry Titov <dimich@chromium.org>
Reviewed by David Kilzer.
https://bugs.webkit.org/show_bug.cgi?id=23304
Fix svn-apply to match svn-unapply to recognize added files in 'git diff' patches.
- Scripts/svn-apply: Added a check (similar to svn-unapply) to recognize added files.
- 1:24 PM Changeset in webkit [39906] by
-
- 3 edits in trunk/WebKitTools
BUILD FIX: Implement LayoutTestController::setIconDatabaseEnabled(bool) for GTK
- DumpRenderTree/gtk/DumpRenderTree.cpp: (runTest): Added call to reset the icon database to match Mac and Windows ports.
- DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::setIconDatabaseEnabled): Implemented stub method.
- 1:13 PM Changeset in webkit [39905] by
-
- 2 edits in trunk/WebCore
Reviewed by Anders Carlsson.
https://bugs.webkit.org/show_bug.cgi?id=23326
Resources are never deleted from application cache disk database
- loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::openDatabase): Create a trigger that deletes resources when a cache is deleted. Note that this change doesn't require bumping schema version. We should consider switching to foreign keys and cascade delete instead of triggers in the future. (WebCore::ApplicationCacheStorage::remove): Added a comment explaining why it's sufficient to only remove the cache itself. (WebCore::ApplicationCacheStorage::empty): Don't delete from CacheResources, now that this is done automatically when a cache is deleted.
- 1:08 PM Changeset in webkit [39904] by
-
- 12 edits3 adds in trunk
Bug 22795: favicons should be saved to webarchives
Reviewed by Darin Adler.
WebCore:
Test: webarchive/test-link-rel-icon.html
- html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::addSubresourceAttributeURLs): Do not add favicon URLs to the list since no ArchiveResource or CachedResource is ever created for them.
- loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::create): Handle favicons as a special case for all main resources.
- loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::close): Actually close the SQLite database so that isOpen() returns false when called. Added an ASSERT() for good measure.
WebKitTools:
- DumpRenderTree/LayoutTestController.cpp: (setIconDatabaseEnabledCallback): Added. (setJavaScriptProfilingEnabledCallback): Realphabetized. (LayoutTestController::staticFunctions): Added entry for calling LayoutTestController.setIconDatabaseEnabled(bool) from JavaScript.
- DumpRenderTree/LayoutTestController.h: (setIconDatabaseEnabledCallback): Added declaration. (setJavaScriptProfilingEnabledCallback): Realphabetized.
- DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Disable the icon database before each test.
- DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::setIconDatabaseEnabled): Added. (LayoutTestController::setJavaScriptProfilingEnabled): Realphabetized.
- DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Disable the icon database before each test.
- DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::setIconDatabaseEnabled): Added.
LayoutTests:
Note that this test case contains a workaround for Bug 21026 and
<rdar://problem/6240826> which may be removed once that is fixed.
- webarchive/resources/favicon.ico: Copied from LayoutTests/fast/images/resources/favicon.ico.
- webarchive/test-link-rel-icon-expected.webarchive: Added.
- webarchive/test-link-rel-icon.html: Added.
- 11:52 AM Changeset in webkit [39903] by
-
- 8 edits24 adds in trunk/WebCore
2009-01-14 Darin Fisher <darin@chromium.org>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=23328
Upstream remaining files from platform/chromium/
- platform/chromium/CursorChromium.cpp: (WebCore::pointerCursor): (WebCore::crossCursor): (WebCore::handCursor): (WebCore::iBeamCursor): (WebCore::waitCursor): (WebCore::helpCursor): (WebCore::eastResizeCursor): (WebCore::northResizeCursor): (WebCore::northEastResizeCursor): (WebCore::northWestResizeCursor): (WebCore::southResizeCursor): (WebCore::southEastResizeCursor): (WebCore::southWestResizeCursor): (WebCore::westResizeCursor): (WebCore::northSouthResizeCursor): (WebCore::eastWestResizeCursor): (WebCore::northEastSouthWestResizeCursor): (WebCore::northWestSouthEastResizeCursor): (WebCore::columnResizeCursor): (WebCore::rowResizeCursor): (WebCore::middlePanningCursor): (WebCore::eastPanningCursor): (WebCore::northPanningCursor): (WebCore::northEastPanningCursor): (WebCore::northWestPanningCursor): (WebCore::southPanningCursor): (WebCore::southEastPanningCursor): (WebCore::southWestPanningCursor): (WebCore::westPanningCursor): (WebCore::moveCursor): (WebCore::verticalTextCursor): (WebCore::cellCursor): (WebCore::contextMenuCursor): (WebCore::aliasCursor): (WebCore::progressCursor): (WebCore::noDropCursor): (WebCore::copyCursor): (WebCore::noneCursor): (WebCore::notAllowedCursor): (WebCore::zoomInCursor): (WebCore::zoomOutCursor):
- platform/chromium/DragDataRef.h: Added.
- platform/chromium/DragImageChromium.cpp: Added. (WebCore::dragImageSize): (WebCore::deleteDragImage): (WebCore::scaleDragImage): (WebCore::dissolveDragImageToFraction): (WebCore::createDragImageFromImage): (WebCore::createDragImageIconForCachedImage):
- platform/chromium/DragImageRef.h:
- platform/chromium/KeyCodeConversion.h: Added.
- platform/chromium/KeyCodeConversionGtk.cpp: Added. (WebCore::windowsKeyCodeForKeyEvent):
- platform/chromium/KeyboardCodes.h: Added.
- platform/chromium/KeyboardCodesPosix.h: Added. (WebCore::):
- platform/chromium/KeyboardCodesWin.h: Added. (WebCore::):
- platform/chromium/Language.cpp: Added. (WebCore::defaultLanguage):
- platform/chromium/LinkHashChromium.cpp: Added. (WebCore::visitedLinkHash):
- platform/chromium/MimeTypeRegistryChromium.cpp: Added. (WebCore::MIMETypeRegistry::getMIMETypeForExtension): (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType): (WebCore::MIMETypeRegistry::getMIMETypeForPath): (WebCore::MIMETypeRegistry::isSupportedImageMIMEType): (WebCore::MIMETypeRegistry::isSupportedImageResourceMIMEType): (WebCore::MIMETypeRegistry::isSupportedImageMIMETypeForEncoding): (WebCore::MIMETypeRegistry::isSupportedJavaScriptMIMEType): (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType): (WebCore::MIMETypeRegistry::isSupportedMediaMIMEType): (WebCore::MIMETypeRegistry::isJavaAppletMIMEType): (WebCore::dummyHashSet): (WebCore::MIMETypeRegistry::getSupportedImageMIMETypes): (WebCore::MIMETypeRegistry::getSupportedImageResourceMIMETypes): (WebCore::MIMETypeRegistry::getSupportedImageMIMETypesForEncoding): (WebCore::MIMETypeRegistry::getSupportedNonImageMIMETypes): (WebCore::MIMETypeRegistry::getSupportedMediaMIMETypes):
- platform/chromium/PasteboardChromium.cpp: Added. (WebCore::Pasteboard::generalPasteboard): (WebCore::Pasteboard::Pasteboard): (WebCore::Pasteboard::clear): (WebCore::Pasteboard::writeSelection): (WebCore::Pasteboard::writeURL): (WebCore::Pasteboard::writeImage): (WebCore::Pasteboard::canSmartReplace): (WebCore::Pasteboard::plainText): (WebCore::Pasteboard::documentFragment):
- platform/chromium/PasteboardPrivate.h:
- platform/chromium/PlatformCursor.h: Added. (WebCore::PlatformCursor::): (WebCore::PlatformCursor::PlatformCursor): (WebCore::PlatformCursor::customImage): (WebCore::PlatformCursor::hotSpot): (WebCore::PlatformCursor::type):
- platform/chromium/PlatformKeyboardEventChromium.cpp: Added. (WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent): (WebCore::PlatformKeyboardEvent::currentCapsLockState):
- platform/chromium/PlatformScreenChromium.cpp: Added. (WebCore::screenDepth): (WebCore::screenDepthPerComponent): (WebCore::screenIsMonochrome): (WebCore::screenRect): (WebCore::screenAvailableRect):
- platform/chromium/PlatformWidget.h:
- platform/chromium/PopupMenuChromium.cpp: Added. (WebCore::PopupListBox::selectedIndex): (WebCore::PopupListBox::numItems): (WebCore::PopupListBox::setBaseWidth): (WebCore::PopupListBox::setTextOnIndexChange): (WebCore::PopupListBox::setAcceptOnAbandon): (WebCore::PopupListBox::): (WebCore::PopupListBox::ListItem::ListItem): (WebCore::PopupListBox::PopupListBox): (WebCore::PopupListBox::~PopupListBox): (WebCore::PopupListBox::disconnectClient): (WebCore::PopupListBox::scrollToRevealSelection): (WebCore::constructRelativeMouseEvent): (WebCore::constructRelativeWheelEvent): (WebCore::PopupContainer::create): (WebCore::PopupContainer::PopupContainer): (WebCore::PopupContainer::~PopupContainer): (WebCore::PopupContainer::showPopup): (WebCore::PopupContainer::hidePopup): (WebCore::PopupContainer::layout): (WebCore::PopupContainer::handleMouseDownEvent): (WebCore::PopupContainer::handleMouseMoveEvent): (WebCore::PopupContainer::handleMouseReleaseEvent): (WebCore::PopupContainer::handleWheelEvent): (WebCore::PopupContainer::handleKeyEvent): (WebCore::PopupContainer::hide): (WebCore::PopupContainer::paint): (WebCore::PopupContainer::paintBorder): (WebCore::PopupContainer::isInterestedInEventForKey): (WebCore::PopupContainer::show): (WebCore::PopupContainer::setTextOnIndexChange): (WebCore::PopupContainer::setAcceptOnAbandon): (WebCore::PopupContainer::refresh): (WebCore::PopupListBox::handleMouseDownEvent): (WebCore::PopupListBox::handleMouseMoveEvent): (WebCore::PopupListBox::handleMouseReleaseEvent): (WebCore::PopupListBox::handleWheelEvent): (WebCore::PopupListBox::isInterestedInEventForKey): (WebCore::PopupListBox::handleKeyEvent): (WebCore::PopupListBox::hostWindow): (WebCore::PopupListBox::invalidateRect): (WebCore::stripLeadingWhiteSpace): (WebCore::PopupListBox::typeAheadFind): (WebCore::PopupListBox::paint): (WebCore::PopupListBox::paintRow): (WebCore::PopupListBox::getRowFont): (WebCore::PopupListBox::abandon): (WebCore::PopupListBox::pointToRowIndex): (WebCore::PopupListBox::acceptIndex): (WebCore::PopupListBox::selectIndex): (WebCore::PopupListBox::setOriginalIndex): (WebCore::PopupListBox::getRowHeight): (WebCore::PopupListBox::getRowBounds): (WebCore::PopupListBox::invalidateRow): (WebCore::PopupListBox::scrollToRevealRow): (WebCore::PopupListBox::isSelectableItem): (WebCore::PopupListBox::adjustSelectedIndex): (WebCore::PopupListBox::updateFromElement): (WebCore::PopupListBox::layout): (WebCore::PopupListBox::clear): (WebCore::PopupListBox::isPointInBounds): (WebCore::PopupMenu::PopupMenu): (WebCore::PopupMenu::~PopupMenu): (WebCore::PopupMenu::show): (WebCore::PopupMenu::hide): (WebCore::PopupMenu::updateFromElement): (WebCore::PopupMenu::itemWritingDirectionIsNatural):
- platform/chromium/PopupMenuChromium.h: Added. (WebCore::PopupContainer::listBox):
- platform/chromium/PopupMenuPrivate.h: Added.
- platform/chromium/SSLKeyGeneratorChromium.cpp: Added. (WebCore::supportedKeySizes):
- platform/chromium/ScrollbarThemeChromium.cpp: Added. (WebCore::ScrollbarTheme::nativeTheme): (WebCore::ScrollbarThemeChromium::ScrollbarThemeChromium): (WebCore::ScrollbarThemeChromium::~ScrollbarThemeChromium): (WebCore::ScrollbarThemeChromium::themeChanged): (WebCore::ScrollbarThemeChromium::hasThumb): (WebCore::ScrollbarThemeChromium::backButtonRect): (WebCore::ScrollbarThemeChromium::forwardButtonRect): (WebCore::ScrollbarThemeChromium::trackRect): (WebCore::ScrollbarThemeChromium::paintTrackBackground): (WebCore::ScrollbarThemeChromium::paintTickmarks): (WebCore::ScrollbarThemeChromium::paintScrollCorner): (WebCore::ScrollbarThemeChromium::shouldCenterOnThumb): (WebCore::ScrollbarThemeChromium::buttonSize):
- platform/chromium/ScrollbarThemeChromium.h: Added. (WebCore::ScrollbarThemeChromium::hasButtons):
- platform/chromium/ScrollbarThemeChromiumLinux.cpp: Added. (WebCore::ScrollbarThemeChromium::scrollbarThickness): (WebCore::ScrollbarThemeChromium::invalidateOnMouseEnterExit): (WebCore::initMozState): (WebCore::paintScrollbarWidget): (WebCore::ScrollbarThemeChromium::paintTrackPiece): (WebCore::ScrollbarThemeChromium::paintButton): (WebCore::ScrollbarThemeChromium::paintThumb):
- platform/chromium/ScrollbarThemeChromiumWin.cpp:
- platform/chromium/SearchPopupMenuChromium.cpp: Added. (WebCore::SearchPopupMenu::SearchPopupMenu): (WebCore::SearchPopupMenu::enabled): (WebCore::SearchPopupMenu::saveRecentSearches): (WebCore::SearchPopupMenu::loadRecentSearches):
- platform/chromium/SharedTimerChromium.cpp: Added. (WebCore::setSharedTimerFiredFunction): (WebCore::setSharedTimerFireTime): (WebCore::stopSharedTimer):
- platform/chromium/TemporaryLinkStubs.cpp: Added. (WebCore::signedPublicKeyAndChallengeString): (WebCore::getSupportedKeySizes): (WebCore::KURL::fileSystemPath): (WebCore::SharedBuffer::createWithContentsOfFile): (WTF::scheduleDispatchFunctionsOnMainThread):
- 11:40 AM Changeset in webkit [39902] by
-
- 1 edit6 adds in trunk/WebCore
2009-01-14 Dimitri Glazkov <Dimitri Glazkov>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=23321
Upstream more bits of graphics/chromium.
- platform/graphics/chromium/FontPlatformDataChromiumWin.cpp: Added. (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::operator=): (WebCore::FontPlatformData::~FontPlatformData): (WebCore::FontPlatformData::RefCountedHFONT::~RefCountedHFONT): (WebCore::FontPlatformData::hashTableDeletedFontValue): (WebCore::FontPlatformData::scriptFontProperties):
- platform/graphics/chromium/FontPlatformDataChromiumWin.h: Added. (WebCore::FontPlatformData::isHashTableDeletedValue): (WebCore::FontPlatformData::hfont): (WebCore::FontPlatformData::size): (WebCore::FontPlatformData::hash): (WebCore::FontPlatformData::operator==): (WebCore::FontPlatformData::scriptCache): (WebCore::FontPlatformData::RefCountedHFONT::create): (WebCore::FontPlatformData::RefCountedHFONT::hfont): (WebCore::FontPlatformData::RefCountedHFONT::hash): (WebCore::FontPlatformData::RefCountedHFONT::operator==): (WebCore::FontPlatformData::RefCountedHFONT::RefCountedHFONT):
- platform/graphics/chromium/FontPlatformDataLinux.cpp: Added. (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::~FontPlatformData): (WebCore::FontPlatformData::operator=): (WebCore::FontPlatformData::setupPaint): (WebCore::FontPlatformData::operator==): (WebCore::FontPlatformData::hash): (WebCore::FontPlatformData::isFixedPitch):
- platform/graphics/chromium/FontPlatformDataLinux.h: Added. (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::size): (WebCore::FontPlatformData::isHashTableDeletedValue): (WebCore::FontPlatformData::hashTableDeletedFontValue):
- platform/graphics/chromium/FontUtilsChromiumWin.cpp: Added. (WebCore::): (WebCore::FontMap::getAscent): (WebCore::FontMap::FontData::FontData): (WebCore::getFontFamilyForScript): (WebCore::getFallbackFamily): (WebCore::getDerivedFontData): (WebCore::getStyleFromLogfont):
- platform/graphics/chromium/FontUtilsChromiumWin.h: Added. (WebCore::):
- 11:37 AM Changeset in webkit [39901] by
-
- 2 edits in trunk/WebKit/mac
2009-01-14 Darin Adler <Darin Adler>
Reviewed by Oliver Hunt.
Fix crash I ran into while printing. I was unable to reproduce it, but also,
it's clear there's no guarantee that the frame will be non-zero in this case,
so it seems fine to check it.
- WebView/WebHTMLView.mm: (-[WebHTMLView reapplyStyles]): Check frame for zero and don't do anything with it if it's zero.
- 11:25 AM Changeset in webkit [39900] by
-
- 1 edit in trunk/WebCore/ChangeLog
Remove errant WARNING from WebCore/ChangeLog.
- 11:23 AM Changeset in webkit [39899] by
-
- 1 edit9 adds in trunk/WebCore
2009-01-14 Dimitri Glazkov <Dimitri Glazkov>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=23325
Upstream even more graphics/chromium bits.
WARNING: NO TEST CASES ADDED OR CHANGED
- platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp: Added. (WebCore::fillEmptyGlyphs): (WebCore::initSpaceGlyph): (WebCore::fillBMPGlyphs): (WebCore::fillNonBMPGlyphs): (WebCore::GlyphPage::fill):
- platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp: Added. (WebCore::GlyphPage::fill):
- platform/graphics/chromium/IconChromiumLinux.cpp: Added. (WebCore::Icon::Icon): (WebCore::Icon::~Icon): (WebCore::Icon::createIconForFile): (WebCore::Icon::createIconForFiles): (WebCore::Icon::paint):
- platform/graphics/chromium/IconChromiumMac.cpp: Added. (WebCore::Icon::createIconForFile): (WebCore::Icon::createIconForFiles): (WebCore::Icon::~Icon): (WebCore::Icon::paint):
- platform/graphics/chromium/IconChromiumWin.cpp: Added. (WebCore::Icon::Icon): (WebCore::Icon::~Icon): (WebCore::Icon::createIconForFile): (WebCore::Icon::createIconForFiles): (WebCore::Icon::paint):
- platform/graphics/chromium/ImageBufferData.h: Added.
- platform/graphics/chromium/ImageChromiumMac.mm: Added. (WebCore::Image::loadPlatformResource): (WebCore::BitmapImage::initPlatformData): (WebCore::BitmapImage::invalidatePlatformData):
- platform/graphics/chromium/MediaPlayerPrivateChromium.h: Added.
- platform/graphics/chromium/PlatformIcon.h: Added.
- 11:11 AM Changeset in webkit [39898] by
-
- 1 edit2 adds in trunk/WebCore
2009-01-14 Darin Fisher <darin@chromium.org>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=23323
Upstream platform/text/chromium/
- platform/text/chromium: Added.
- platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp: Added. (WebCore::currentTextBreakLocaleID):
- 11:07 AM Changeset in webkit [39897] by
-
- 2 edits in trunk/JavaScriptCore
2009-01-14 Dean McNamee <deanm@chromium.org>
Reviewed by Darin Adler and Oliver hunt.
Correctly match allocation functions by implementing a custom deref().
- runtime/ByteArray.h: (JSC::ByteArray::deref): (JSC::ByteArray::ByteArray):
- 11:02 AM Changeset in webkit [39896] by
-
- 1 edit1 move1 add in trunk/WebCore
2009-01-14 Darin Fisher <darin@chromium.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=23324
Move platform/chromium/EditorChromium.cpp into editing/chromium/
- editing/chromium: Added.
- editing/chromium/EditorChromium.cpp: Copied from platform/chromium/EditorChromium.cpp.
- platform/chromium/EditorChromium.cpp: Removed.
- 10:56 AM Changeset in webkit [39895] by
-
- 4 edits in trunk
Update copyright year in version resources.
- 10:34 AM Changeset in webkit [39894] by
-
- 2 edits in trunk/WebCore
2009-01-14 Darin Fisher <darin@chromium.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=23320
Make it possible to use notImplemented outside of the WebCore namespace
- platform/NotImplemented.h:
- 10:23 AM Changeset in webkit [39893] by
-
- 3 edits4 adds in trunk
WebCore:
2009-01-14 Nigel Tao <nigel.tao.gnome@gmail.com>
Reviewed by Darin Adler.
- fix https://bugs.webkit.org/show_bug.cgi?id=22476 Check that the document's SecurityOrigin canLoadLocalResources, when pages try to put NSFilenamesPboardtype data on the clipboard, by calling event.dataTransfer.setData('URL', 'file:///foo/bar');
Tests: http/tests/security/dataTransfer-set-data-file-url.html
platform/mac/editing/pasteboard/dataTransfer-set-data-file-url.html
- platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::setData):
LayoutTests:
2009-01-14 Nigel Tao <nigel.tao.gnome@gmail.com>
Reviewed by Darin Adler.
- tests for https://bugs.webkit.org/show_bug.cgi?id=22476 Added tests that calling dataTransfer.setData('URL', aFileUrl) only puts NSFilenamesPboardtype data on the clipboard if called from a locally served page.
- http/tests/security/dataTransfer-set-data-file-url-expected.txt: Added.
- http/tests/security/dataTransfer-set-data-file-url.html: Added.
- platform/mac/editing/pasteboard/dataTransfer-set-data-file-url-expected.txt: Added.
- platform/mac/editing/pasteboard/dataTransfer-set-data-file-url.html: Added.
- 10:18 AM Changeset in webkit [39892] by
-
- 14 edits in trunk
Reviewed by John Sullivan.
- update copyright
- Info.plist:
JavaScriptGlue:
Reviewed by John Sullivan.
- update copyright
- Info.plist:
WebCore:
Reviewed by John Sullivan.
- update copyright
- Info.plist:
WebKit/mac:
Reviewed by John Sullivan.
- update copyright
- Info.plist:
WebKit/win:
Reviewed by John Sullivan.
- update copyright
- WebKit.resources/Info.plist:
- WebKit.vcproj/WebKit.rc:
WebKitTools:
Reviewed by John Sullivan.
- update copyright
- DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist:
- WebKitLauncher/Info.plist:
- 9:58 AM Changeset in webkit [39891] by
-
- 3 edits3 adds in trunk
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=23316
Application cache updating always fails with an assertion
Test: http/tests/appcache/update-cache.html
- loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::documentLoaderDestroyed): Correctly handle the case where multiple caches survive the last DocumentLoader destruction, preventing a crash in release builds. (WebCore::ApplicationCacheGroup::setNewestCache): Removed a bogus assertion.
- 9:19 AM Changeset in webkit [39890] by
-
- 4 edits in trunk/LayoutTests
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=23313
appcache/offline-access.html fails frequently
- http/tests/appcache/resources/offline-access-frame.html: Make sure that the test runs, even if the cache update finishes before we install event listeners.
- http/tests/appcache/offline-access-expected.txt:
- http/tests/appcache/offline-access.html: Don't dump frame content, as it is timing dependent.
- 5:56 AM Changeset in webkit [39889] by
-
- 2 edits in trunk/WebKit/qt
2009-01-14 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Tor Arne Vestbø.
[Qt] Unit tests for text selection and editing actions of QWebPage.
The following are tested:
- the actions are not NULL
- the actions are disabled when contentEditable is false
- the actions are enabled when contentEditable is true
- 5:48 AM Changeset in webkit [39888] by
-
- 2 edits in trunk/WebKit/qt
2009-01-14 Simon Hausmann <simon.hausmann@nokia.com>
Reviewed by Tor Arne Vestbø.
Fix failing assertion when pressing an extra mouse button on a
QWebView.
Mice with more than three buttons - for example with a dedicated
"back" button - can generate Qt::XButton1 or Button2.
WebCore::MouseButton contains only Left, Middle and Right, so in
Qt's PlatformMouseEvent we map to NoButton, resulting in a mouse
press or release even with no button set. That triggers an assertion
in EventTargetNode::dispatchMouseEvent requiring that either a button
is set or it is just a mouse move event, which is correct.
In QWebPage decide not to dispatch such mouse events where we cannot
map the mouse button to a WebCore::MouseButton.
- 5:34 AM Changeset in webkit [39887] by
-
- 2 edits in trunk/WebKit/qt
2009-01-14 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Simon Hausmann.
http://www.qtsoftware.com/developer/task-tracker/index_html?id=241144&method=entry
[Qt] Create actions for text selection and editing for QWebPage.
Also properly disable and enable them when contentEditable is toggled.
- Api/qwebpage.cpp: (QWebPagePrivate::updateAction): (QWebPagePrivate::updateEditorActions): (QWebPage::action):
- 4:39 AM Changeset in webkit [39886] by
-
- 2 edits in trunk/WebKit/qt
2009-01-14 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Simon Hausmann.
[Qt] Unit tests for cursor movements. The following are tested:
- the actions are not NULL
- the actions are disabled when contentEditable is false
- the actions are enabled when contentEditable is true
- the cursor moves properly when the actions are triggered
- tests/qwebpage/tst_qwebpage.cpp: (CursorTrackedPage::CursorTrackedPage): (CursorTrackedPage::selectedText): (CursorTrackedPage::selectionStartOffset): (CursorTrackedPage::selectionEndOffset): (CursorTrackedPage::isSelectionCollapsed): (tst_QWebPage::cursorMovements):
- 1:02 AM Changeset in webkit [39885] by
-
- 2 edits in trunk/WebCore
Release build fix.
- loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::storeUpdatedType): Use ASSERT_UNUSED.