⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Aug 8, 2009:

6:36 PM Changeset in webkit [46962] by Dimitri Glazkov
  • 1 edit in trunk/WebCore/ChangeLog

Updated ChangeLog with bug URLs.

6:31 PM Changeset in webkit [46961] by Dimitri Glazkov
  • 2 edits in trunk/WebCore

2009-08-08 Dimitri Glazkov <Dimitri Glazkov>

Unreviewed, build fix.

[Chromium] Update WebCore.gyp to add ImageBuffer.cpp,
introduced by http://trac.webkit.org/changeset/46956.

  • WebCore.gypi: Added ImageBuffer.cpp.
4:28 PM Changeset in webkit [46960] by jmalonzo@webkit.org
  • 2 edits in trunk/LayoutTests

2009-08-08 Jan Michael Alonzo <jmalonzo@webkit.org>

[Gtk] Skip media/controls-right-click-on-timebar.html as it needs
eventSender which we don't have at the moment.

  • platform/gtk/Skipped:
3:39 PM Changeset in webkit [46959] by Nikolas Zimmermann
  • 2 edits in trunk/WebCore

Rubber-stamped by Jan Michael Alonzo.

Add [DontEnum] to WML specific initializeWMLPageState/resetWMLPageState methods, to assure
fast/dom/Window/window-properties.html doesn't show any differences when WML is enabled.

1:34 PM Changeset in webkit [46958] by krit@webkit.org
  • 2 edits in trunk/WebCore

2009-08-08 Dirk Schulze <krit@webkit.org>

Reviewed by Eric Seidel.

SVG Filter need feColorMatrix implementation
https://bugs.webkit.org/show_bug.cgi?id=27711

Adds the filter effect feColorMatrix to SVG filters.

There is already a test in the w3c directory.
Test: svg/W3C-SVG-1.1/filters-color-01-b.svg

  • platform/graphics/filters/FEColorMatrix.cpp: (WebCore::matrix): (WebCore::saturate): (WebCore::huerotate): (WebCore::luminance): (WebCore::FEColorMatrix::apply):
12:32 PM Changeset in webkit [46957] by krit@webkit.org
  • 2 edits in trunk/WebCore

2009-08-08 Dirk Schulze <krit@webkit.org>

Reviewed by Oliver Hunt.

Build fix for Tiger.

  • platform/graphics/cg/ImageBufferCG.cpp: (WebCore::ImageBuffer::ImageBuffer):
12:11 PM Changeset in webkit [46956] by krit@webkit.org
  • 27 edits
    1 add in trunk/WebCore

2009-08-08 Dirk Schulze <krit@webkit.org>

Reviewed by Oliver Hunt.

This is an initial implementation for linearRGB and sRGB support for all
platforms. Some platforms like Cg support different color spaces
natively, others like Qt, Cairo and Skia do not. This patch uses the
native implementation of platforms if possible and offers a common version
if not.

Different color spaces are used in SVG Filters. Nearly every Filter test
case is a test for this patch and will be enabled, once Filters are enabled.

  • GNUmakefile.am:
  • WebCore.pro:
  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::drawTextInternal):
  • html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::createImageBuffer):
  • platform/graphics/GeneratedImage.cpp: (WebCore::GeneratedImage::drawPattern):
  • platform/graphics/ImageBuffer.cpp: Added. (WebCore::ImageBuffer::transformColorSpace):
  • platform/graphics/ImageBuffer.h: (WebCore::): (WebCore::ImageBuffer::create):
  • platform/graphics/cairo/ImageBufferCairo.cpp: (WebCore::ImageBuffer::ImageBuffer): (WebCore::ImageBuffer::platformTransformColorSpace):
  • platform/graphics/cairo/ImageCairo.cpp: (WebCore::Image::drawPattern):
  • platform/graphics/cg/ImageBufferCG.cpp: (WebCore::ImageBuffer::ImageBuffer):
  • platform/graphics/chromium/TransparencyWin.cpp: (WebCore::TransparencyWin::OwnedBuffers::OwnedBuffers):
  • platform/graphics/filters/FilterEffect.cpp: (WebCore::FilterEffect::getEffectContext):
  • platform/graphics/qt/ImageBufferQt.cpp: (WebCore::ImageBuffer::ImageBuffer): (WebCore::ImageBuffer::platformTransformColorSpace):
  • platform/graphics/qt/PathQt.cpp: (WebCore::Path::strokeContains): (WebCore::Path::strokeBoundingRect):
  • platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::ImageBuffer::ImageBuffer): (WebCore::ImageBuffer::platformTransformColorSpace):
  • platform/graphics/skia/SkiaUtils.cpp: (WebCore::scratchContext):
  • platform/graphics/wx/ImageBufferWx.cpp: (WebCore::ImageBuffer::ImageBuffer):
  • platform/mac/ScrollbarThemeMac.mm: (WebCore::ScrollbarThemeMac::paint):
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended):
  • svg/SVGMaskElement.cpp: (WebCore::SVGMaskElement::drawMaskerContent):
  • svg/SVGPatternElement.cpp: (WebCore::SVGPatternElement::buildPattern):
  • svg/graphics/SVGImage.cpp: (WebCore::SVGImage::nativeImageForCurrentFrame):
  • svg/graphics/SVGPaintServerGradient.cpp: (WebCore::createMaskAndSwapContextForTextGradient):
  • svg/graphics/SVGPaintServerPattern.cpp: (WebCore::SVGPaintServerPattern::setup):
  • svg/graphics/SVGResourceFilter.cpp: (WebCore::SVGResourceFilter::prepareFilter): (WebCore::SVGResourceFilter::applyFilter):
  • svg/graphics/SVGResourceMasker.cpp: (WebCore::SVGResourceMasker::applyMask):
  • svg/graphics/filters/SVGFETile.cpp: (WebCore::FETile::apply):
10:13 AM Changeset in webkit [46955] by xan@webkit.org
  • 2 edits
    3 deletes in trunk

WebCore:

2009-08-08 Xan Lopez <xlopez@igalia.com>

Roll out r46928, since it wasn't done in accordance with the
agreed naming.

  • bindings/gdom/GdomDOMObject.cpp: Removed.

WebKit/gtk:

2009-08-08 Xan Lopez <xlopez@igalia.com>

Roll out r46928, since it wasn't done in accordance with the
agreed naming.

  • ChangeLog:

Remove the ChangeLog entry, since it was added at the bottom of
the file.

  • gdom/GdomDOMObject.h: Removed.
  • gdom/GdomDOMObjectPrivate.h: Removed.
9:01 AM Changeset in webkit [46954] by abarth@webkit.org
  • 2 edits in trunk/WebKitTools

2009-08-08 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

bugzilla-tool needs a --quiet option
https://bugs.webkit.org/show_bug.cgi?id=28060

A first pass at a --quiet option. This doesn't do all the excting
things we might want, but it addresses 80% of the use case.

  • Scripts/bugzilla-tool:
2:29 AM Changeset in webkit [46953] by Simon Hausmann
  • 2 edits in trunk/WebKit/qt

Doc: there is no group of explicitly shared classes, only one class uses this.

Patch by Volker Hilsheimer <volker.hilsheimer@nokia.com> on 2009-08-08
Reviewed by Simon Hausmann.

Explain the implications in the QWebHistoryItem documentation, and get rid
of the "group".

  • Api/qwebhistory.cpp:
12:39 AM Changeset in webkit [46952] by jmalonzo@webkit.org
  • 12 edits
    2 adds in trunk

2009-08-08 Jan Michael Alonzo <jmalonzo@webkit.org>

Reviewed by Xan Lopez.

[Gtk] Enable accessibility in Gtk DRT
https://bugs.webkit.org/show_bug.cgi?id=25989

Add SPI to get the focused accessible element to be used by DRT.

  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (webkit_accessible_get_focused_element):
  • accessibility/gtk/AccessibilityObjectWrapperAtk.h:
  • webkit/webkitprivate.h:
  • webkit/webkitwebframe.cpp: (webkit_web_frame_get_focused_accessible_element):

Remove passing accessibility tests from the Skipped list

  • platform/gtk/Skipped:

Add Accessibility support to the GTK DRT.

  • DumpRenderTree/AccessibilityUIElement.h:
  • DumpRenderTree/gtk/AccessibilityControllerGtk.cpp: Added. (AccessibilityController::AccessibilityController): (AccessibilityController::~AccessibilityController): (AccessibilityController::focusedElement): (AccessibilityController::rootElement):
  • DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Added. (AccessibilityUIElement::AccessibilityUIElement): (AccessibilityUIElement::~AccessibilityUIElement): (AccessibilityUIElement::getLinkedUIElements): (AccessibilityUIElement::getDocumentLinks): (AccessibilityUIElement::getChildren): (AccessibilityUIElement::getChildrenWithRange): (AccessibilityUIElement::childrenCount): (AccessibilityUIElement::elementAtPoint): (AccessibilityUIElement::getChildAtIndex): (AccessibilityUIElement::allAttributes): (AccessibilityUIElement::attributesOfLinkedUIElements): (AccessibilityUIElement::attributesOfDocumentLinks): (AccessibilityUIElement::titleUIElement): (AccessibilityUIElement::parentElement): (AccessibilityUIElement::attributesOfChildren): (AccessibilityUIElement::parameterizedAttributeNames): (AccessibilityUIElement::role): (AccessibilityUIElement::title): (AccessibilityUIElement::description): (AccessibilityUIElement::language): (AccessibilityUIElement::x): (AccessibilityUIElement::y): (AccessibilityUIElement::width): (AccessibilityUIElement::height): (AccessibilityUIElement::clickPointX): (AccessibilityUIElement::clickPointY): (AccessibilityUIElement::intValue): (AccessibilityUIElement::minValue): (AccessibilityUIElement::maxValue): (AccessibilityUIElement::valueDescription): (AccessibilityUIElement::isEnabled): (AccessibilityUIElement::insertionPointLineNumber): (AccessibilityUIElement::isActionSupported): (AccessibilityUIElement::isRequired): (AccessibilityUIElement::attributesOfColumnHeaders): (AccessibilityUIElement::attributesOfRowHeaders): (AccessibilityUIElement::attributesOfColumns): (AccessibilityUIElement::attributesOfRows): (AccessibilityUIElement::attributesOfVisibleCells): (AccessibilityUIElement::attributesOfHeader): (AccessibilityUIElement::indexInTable): (AccessibilityUIElement::rowIndexRange): (AccessibilityUIElement::columnIndexRange): (AccessibilityUIElement::lineForIndex): (AccessibilityUIElement::boundsForRange): (AccessibilityUIElement::cellForColumnAndRow): (AccessibilityUIElement::selectedTextRange): (AccessibilityUIElement::setSelectedTextRange): (AccessibilityUIElement::attributeValue): (AccessibilityUIElement::isAttributeSettable): (AccessibilityUIElement::increment): (AccessibilityUIElement::decrement):
  • DumpRenderTree/gtk/DumpRenderTree.cpp: (webViewWindowObjectCleared): (main):
  • GNUmakefile.am:

Aug 7, 2009:

11:08 PM Changeset in webkit [46951] by jmalonzo@webkit.org
  • 2 edits in trunk/WebCore

Gtk build fix - add html/canvas to the binding generator's include path

10:17 PM Changeset in webkit [46950] by oliver@apple.com
  • 1 edit
    3 adds in trunk/LayoutTests

Test function declaration parsing

Reviewed by Cameron Zwarich

9:42 PM Changeset in webkit [46949] by Simon Fraser
  • 2 edits in trunk/WebKit/mac

2009-08-07 Simon Fraser <Simon Fraser>

Fix the build on 10.6.

  • WebView/WebHTMLView.mm: (-[WebHTMLView attachRootLayer:]):
9:14 PM Changeset in webkit [46948] by Simon Fraser
  • 2 edits in trunk/WebKit/mac

2009-08-07 Simon Fraser <Simon Fraser>

Fix a stylistic nit related to the location of the *, which, for some
ridiculous reason, WebKit style dictates to be different between Objective-C and C++.

  • WebView/WebDynamicScrollBarsView.mm: (-[WebDynamicScrollBarsView reflectScrolledClipView:]):
9:08 PM Changeset in webkit [46947] by Simon Fraser
  • 4 edits in trunk/WebKit/mac

2009-08-07 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

Work around an issue on Leopard where composited layers are misplaced and squished when the page
gets over 4096px tall.
https://bugs.webkit.org/show_bug.cgi?id=27272
<rdar://problem/7067892> [Leopard] Composisted layers are misplaced and squished on on long pages
<rdar://problem/7068252> [Leopard] When switching to a tab with HW layers, they fade in

  • WebView/WebDynamicScrollBarsView.mm: (-[WebDynamicScrollBarsView reflectScrolledClipView:]): Call -_updateLayerHostingViewPosition after scrolling.
  • WebView/WebHTMLView.mm: (-[WebHTMLView _frameOrBoundsChanged]): Call -_updateLayerHostingViewPosition after the view changes size.

(-[WebHTMLView attachRootLayer:]):
Turn off default animations, to avoid animations of sublayer transform, and fading-in
when tab switching.

  • WebView/WebHTMLViewInternal.h: (-[WebHTMLView _updateLayerHostingViewPosition]): New method that constrains the height of the layer-hosting view to a max height of 4096px, and compensates for the height restriction by placing the layer-hosting view at the top of the visible part of the WebHTMLView, and adjusting the position of the hosted layers via sublayer transform.
8:31 PM Changeset in webkit [46946] by jmalonzo@webkit.org
  • 2 edits in trunk/LayoutTests

2009-08-07 Jan Michael Alonzo <jmalonzo@webkit.org>

[Gtk] Skip two new tests (from r46896) needing gtk-specific results.

  • platform/gtk/Skipped:
8:06 PM Changeset in webkit [46945] by oliver@apple.com
  • 2 edits in trunk/WebKitSite

2009-08-07 Joseph Pecoraro <joepeck02@gmail.com>

Reviewed by Oliver Hunt.

Fix webkit-jobs link

  • contact.html:
7:33 PM Changeset in webkit [46944] by jmalonzo@webkit.org
  • 2 edits in trunk/WebKitTools

Unreviewed Gtk build fix

7:22 PM Changeset in webkit [46943] by oliver@apple.com
  • 3 edits in trunk/WebCore

Another windows build fix attempt

7:11 PM Changeset in webkit [46942] by oliver@apple.com
  • 2 edits in trunk/WebCore

Windows build fix

6:57 PM Changeset in webkit [46941] by jmalonzo@webkit.org
  • 2 edits in trunk/WebCore

2009-08-07 Jan Michael Alonzo <jmalonzo@webkit.org>

Gtk build fix - add html/canvas to the include path.

  • GNUmakefile.am:
6:43 PM Changeset in webkit [46940] by treat@webkit.org
  • 2 edits in trunk/WebCore

Prospective build fix for Qt following r46937.

Patch by Adam Treat <adam.treat@torchmobile.com> on 2009-08-07

  • WebCore.pro:
6:25 PM Changeset in webkit [46939] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2009-08-07 Yong Li <yong.li@torchmobile.com>

WINCE PORT: store only width for GlyphBufferAdvance, to save space on low-memory devices
https://bugs.webkit.org/show_bug.cgi?id=27734

  • platform/graphics/GlyphBuffer.h: (WebCore::GlyphBuffer::advanceAt): (WebCore::GlyphBuffer::advanceData): (WebCore::GlyphBuffer::add):
6:24 PM Changeset in webkit [46938] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2009-08-07 Yong Li <yong.li@torchmobile.com>

Reviewed by Eric Seidel.

WINCE PORT: pass unrecognized glyphs to GDI to handle
https://bugs.webkit.org/show_bug.cgi?id=27734

  • platform/graphics/FontFastPath.cpp: (WebCore::Font::glyphDataForCharacter):
6:01 PM Changeset in webkit [46937] by cmarrin@apple.com
  • 8 edits
    14 moves
    1 add in trunk/WebCore

Move Canvas related file to a subdirectories
https://bugs.webkit.org/show_bug.cgi?id=28026

5:54 PM Changeset in webkit [46936] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2009-08-07 Szabo Carol <carol.szabo@nokia.com>

Reviewed by David Hyatt.

QtWebkit ignores letter-spacing and word-spacing styles.
QtWebkit handles custom letter-spacing and word-spacing in the native QFont
class, but the values for these options are not not passed on from
the platform independent part of the Font class.
Fixed QtWebkit behavior by applying the options to QFont when it is
returned via Font::font()

http://bugs.webkit.org/show_bug.cgi?id=27988

LayoutTests:
fast/css/word-space-extra.html
css2.1/t1604-c542-letter-sp-00-b-a.html
css2.1/t1604-c541-word-sp-01-b-a.html
css1/text_properties/word_spacing.html

  • platform/graphics/qt/FontQt.cpp: (WebCore::Font::font):
5:52 PM Changeset in webkit [46935] by abarth@webkit.org
  • 3 edits in trunk/WebCore

2009-08-07 Nicolas Weber <thakis@chromium.org>

Reviewed by Darin Adler.

Use correct highlight color for listboxes and completion popups.

https://bugs.webkit.org/show_bug.cgi?id=28090

  • rendering/RenderThemeChromiumMac.h:
  • rendering/RenderThemeChromiumMac.mm: Rename activeListBoxSelectionBackgroundColor to platformActiveListBoxSelectionBackgroundColor, so that it actually overrides a virtual method.
5:48 PM Changeset in webkit [46934] by abarth@webkit.org
  • 1 edit
    4 adds in trunk/WebCore

2009-08-07 Maxime Simon <Maxime Simon>

Reviewed by Eric Seidel.

Added a fourth bunch of Haiku-specific files for WebCore.
https://bugs.webkit.org/show_bug.cgi?id=26988

  • platform/haiku/PasteboardHaiku.cpp: Added. (WebCore::Pasteboard::Pasteboard): (WebCore::Pasteboard::generalPasteboard): (WebCore::Pasteboard::writeSelection): (WebCore::Pasteboard::canSmartReplace): (WebCore::Pasteboard::plainText): (WebCore::Pasteboard::documentFragment): (WebCore::Pasteboard::writeURL): (WebCore::Pasteboard::writeImage): (WebCore::Pasteboard::clear):
  • platform/haiku/PlatformKeyboardEventHaiku.cpp: Added. (WebCore::keyIdentifierForHaikuKeyCode): (WebCore::windowsKeyCodeForKeyEvent): (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent): (WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent): (WebCore::PlatformKeyboardEvent::currentCapsLockState):
  • platform/haiku/PlatformMouseEventHaiku.cpp: Added. (WebCore::PlatformMouseEvent::PlatformMouseEvent):
  • platform/haiku/PlatformWheelEventHaiku.cpp: Added. (WebCore::PlatformWheelEvent::PlatformWheelEvent):
5:41 PM Changeset in webkit [46933] by abarth@webkit.org
  • 2 edits in trunk/JavaScriptCore

2009-08-07 Zoltan Horvath <hzoltan@inf.u-szeged.hu>

Reviewed by Eric Seidel.

Allow custom memory allocation control for Noncopyable class
https://bugs.webkit.org/show_bug.cgi?id=27879

Several classes which are inherited from Noncopyable are instantiated by
operator new, so Noncopyable class has been inherited from FastAllocBase.

  • wtf/Noncopyable.h:

2009-08-07 George Staikos <george.staikos@torchmobile.com>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=27305
Implement WinCE-specific unicode layer.
Written by George Staikos <george.staikos@torchmobile.com>
with bug fixes by Yong Li <yong.li@torchmobile.com>
refactored by Joe Mason <joe.mason@torchmobile.com>

  • wtf/Platform.h:
  • wtf/unicode/Unicode.h:
  • wtf/unicode/wince/UnicodeWince.cpp: Added. (WTF::Unicode::toLower): (WTF::Unicode::toUpper): (WTF::Unicode::foldCase): (WTF::Unicode::isPrintableChar): (WTF::Unicode::isSpace): (WTF::Unicode::isLetter): (WTF::Unicode::isUpper): (WTF::Unicode::isLower): (WTF::Unicode::isDigit): (WTF::Unicode::isPunct): (WTF::Unicode::toTitleCase): (WTF::Unicode::direction): (WTF::Unicode::category): (WTF::Unicode::decompositionType): (WTF::Unicode::combiningClass): (WTF::Unicode::mirroredChar): (WTF::Unicode::digitValue):
  • wtf/unicode/wince/UnicodeWince.h: Added. (WTF::Unicode::): (WTF::Unicode::isSeparatorSpace): (WTF::Unicode::isHighSurrogate): (WTF::Unicode::isLowSurrogate): (WTF::Unicode::isArabicChar): (WTF::Unicode::hasLineBreakingPropertyComplexContext): (WTF::Unicode::umemcasecmp): (WTF::Unicode::surrogateToUcs4):
5:06 PM Changeset in webkit [46932] by Darin Adler
  • 2 edits in trunk/LayoutTests
  • platform/gtk/Skipped: Skip a newly-failing test. I filed a bug about it too.
5:03 PM Changeset in webkit [46931] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2009-08-07 Nicolas Weber <thakis@chromium.org>

Teach WebKit how to decode jpegs in cmyk and ycck color spaces.
Heavily inspired by Firefox's take on this issue.

https://bugs.webkit.org/show_bug.cgi?id=27909

Reviewed by Eric Seidel.

  • platform/image-decoders/jpeg/JPEGImageDecoder.cpp: (WebCore::JPEGImageReader::decode): Tell jpeglib to convert ycck to cmyk and keep cmyk. (WebCore::convertCMYKToRGBA): Added function to convert cmyk to rgb. (WebCore::convertRGBToRGBA): Extracted existing conversion logic into its own function. (WebCore::JPEGImageDecoder::outputScanlines): Call convertCMYKToRGBA for cmyk images, convertRGBToRGBA for rgb images.
5:03 PM Changeset in webkit [46930] by Darin Adler
  • 2 edits in trunk/LayoutTests
  • platform/gtk/Skipped: Updated since textarea-arrow-navigation.html moved.
5:02 PM Changeset in webkit [46929] by bweinstein@apple.com
  • 2 edits in trunk/LayoutTests

2009-08-07 Brian Weinstein <bweinstein@apple.com>

Rubber-stamped by Mark Rowe.

Add http/tests/misc/favicon-loads-with-images-disabled.html to get the
Windows Debug bot back green.

  • platform/win/Skipped:
4:51 PM Changeset in webkit [46928] by abarth@webkit.org
  • 1 edit
    4 adds in trunk

2009-07-30 Martin Robinson <mrobinson@appcelerator.com>

Reviewed by Xan Lopez, Gustavo Noronha and Jan Alonzo.

[GTK] new-window-policy-decision-requested provides no information about the target frame
https://bugs.webkit.org/show_bug.cgi?id=27792

Add frameName property to the WebKitWebNavigation object.

  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::getNavigationAction): (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction): (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
  • webkit/webkitwebnavigationaction.cpp: (webkit_web_navigation_action_get_property): (webkit_web_navigation_action_set_property): (webkit_web_navigation_action_class_init): (webkit_web_navigation_action_get_target_frame): (webkit_web_navigation_action_set_target_frame):
  • webkit/webkitwebnavigationaction.h:
4:34 PM Changeset in webkit [46927] by Darin Adler
  • 2 edits in trunk/WebKitTools
  • Scripts/commit-log-editor: Fix unchecked access to environment

variable that may not be there.

4:25 PM Changeset in webkit [46926] by Darin Adler
  • 16 edits
    2 moves
    1 add
    5 deletes in trunk/LayoutTests

"Shadow tree" DOM nodes are being accidentally exposed to JavaScript
https://bugs.webkit.org/show_bug.cgi?id=28086

Patch by Darin Adler <Darin Adler> on 2009-08-07
Reviewed by Adele Peterson.

Rewrite tests that depend on selection inside <input> and <textarea> elements
from showing up with getSelection(), since does not match Firefox and needs to
change soon.

  • editing/deleting/delete-ligature-002-expected.txt: Updated.
  • editing/deleting/delete-ligature-002.html: Changed to use a contenteditable

<div> element instead of a <textarea> element.

  • editing/deleting/delete-ligature-003-expected.txt: Updated.
  • editing/deleting/delete-ligature-003.html: Changed to use a contenteditable

<div> element instead of a <textarea> element.

  • editing/deleting/skip-virama-001-expected.txt: Updated.
  • editing/deleting/skip-virama-001.html: Changed to use a contenteditable

<div> element instead of a <textarea> element.

  • editing/input/textarea-arrow-navigation-expected.txt: Moved to fast/forms.
  • editing/input/textarea-arrow-navigation.html: Ditto.
  • editing/inserting/insert-thai-characters-001-expected.txt: Updated.
  • editing/inserting/insert-thai-characters-001.html: Changed to use a contenteditable

<div> element instead of a <textarea> element.

  • editing/selection/5213963-expected.txt: Added. This is now a text-only test.
  • editing/selection/5213963.html: Added a call to dumpAsText(). Changed selection

testing to use selectionEnd instead of getSelection().type.

  • editing/selection/find-in-text-control-expected.txt: Updated.
  • editing/selection/find-in-text-control.html: Changed test to distinguish the

different text controls. Made it use activeElement to find out if the selection
is inside a control.

  • editing/selection/move-begin-end-expected.txt: Updated.
  • editing/selection/move-begin-end.html: Changed to use a contenteditable

<div> element instead of a <textarea> element.

  • editing/text-iterator/thai-cursor-movement-expected.txt: Updated.
  • editing/text-iterator/thai-cursor-movement.html: Changed to use a contenteditable

<div> element instead of a <textarea> element.

  • fast/forms/textarea-arrow-navigation-expected.txt: Moved from editing/input since

this is a <textarea> test, not a general editing test.

  • fast/forms/textarea-arrow-navigation.html: Ditto.

Changed to use eventSender instead of the editing machinery to test the down arrow.

  • platform/mac/editing/selection/5213963-expected.checksum: Removed.

This is now a text-only test.

  • platform/mac/editing/selection/5213963-expected.png: Ditto.
  • platform/mac/editing/selection/5213963-expected.txt: Ditto.
  • platform/qt/editing/selection/5213963-expected.txt: Ditto.
  • platform/win/editing/selection/5213963-expected.txt: Ditto.
4:24 PM Changeset in webkit [46925] by atwilson@chromium.org
  • 6 edits
    2 adds in trunk

WebCore:

2009-08-07 Drew Wilson <atwilson@google.com>

Reviewed by David Levin.

SharedWorkers should be shared
https://bugs.webkit.org/show_bug.cgi?id=28058

Added tracking of shared workers to the SharedWorkerRepository.

  • workers/DefaultSharedWorkerRepository.cpp: (WebCore::SharedWorkerProxy::create): Changed SharedWorkerProxy to derive from ThreadSafeShared, as it needs to outlive the repository (if closed while some documents are still loading). (WebCore::SharedWorkerProxy::thread): (WebCore::SharedWorkerProxy::closing): Added flag used to determine whether the worker has closed itself while loading. (WebCore::SharedWorkerProxy::url): (WebCore::SharedWorkerProxy::name): Proxy now tracks worker URL and name to allow validity checks per section 4.8.3 of the WebWorkers spec. (WebCore::SharedWorkerProxy::SharedWorkerProxy): (WebCore::SharedWorkerProxy::addToDocumentSet): Added API to track the document set for a worker to allow worker shutdown. Currently does nothing. (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): Renamed SharedWorkerLoader to be SharedWorkerScriptLoader for clarity. (WebCore::SharedWorkerScriptLoader::load): (WebCore::SharedWorkerScriptLoader::notifyFinished): (WebCore::DefaultSharedWorkerRepository::instance): (WebCore::DefaultSharedWorkerRepository::workerScriptLoaded): Now handles "worker already loaded" case. (WebCore::SharedWorkerRepository::connect): Delegates to DefaultSharedWorkerRepository::connectToWorker (WebCore::DefaultSharedWorkerRepository::connectToWorker): Added code to track the SharedWorkerProxy in a map, and to handle the "worker already loaded" case. (WebCore::DefaultSharedWorkerRepository::getProxy): Atomic get-or-create operation on the internal tracking HashMap.
  • workers/DefaultSharedWorkerRepository.h:
  • workers/SharedWorker.cpp: (WebCore::SharedWorker::SharedWorker):
  • workers/SharedWorkerRepository.h: Removed instance() API and made constructor private to prevent instantiation. (WebCore::SharedWorkerRepository::SharedWorkerRepository):

LayoutTests:

2009-08-07 Drew Wilson <atwilson@google.com>

Reviewed by David Levin.

SharedWorkers should be shared
https://bugs.webkit.org/show_bug.cgi?id=28058

Added tracking to the SharedWorkerRepository so instances of SharedWorkers are shared across pages.

  • fast/workers/shared-worker-shared-expected.txt: Added.
  • fast/workers/shared-worker-shared.html-disabled: Added sharing test.
4:14 PM Changeset in webkit [46924] by abarth@webkit.org
  • 1 edit
    4 adds in trunk/WebCore

2009-08-07 Maxime Simon <Maxime Simon>

Reviewed by Eric Seidel.

Added four Haiku-specific files for WebCore:
PopupMenuHaiku.cpp, ScreenHaiku.cpp,
SearchPopupMenuHaiku.cpp and SoundHaiku.cpp
https://bugs.webkit.org/show_bug.cgi?id=28080

  • platform/haiku/PopupMenuHaiku.cpp: Added. (WebCore::PopupMenu::PopupMenu): (WebCore::PopupMenu::~PopupMenu): (WebCore::PopupMenu::show): (WebCore::PopupMenu::hide): (WebCore::PopupMenu::updateFromElement): (WebCore::PopupMenu::itemWritingDirectionIsNatural):
  • platform/haiku/ScreenHaiku.cpp: Added. (WebCore::screenRect): (WebCore::screenAvailableRect): (WebCore::screenDepth): (WebCore::screenDepthPerComponent): (WebCore::screenIsMonochrome):
  • platform/haiku/SearchPopupMenuHaiku.cpp: Added. (WebCore::SearchPopupMenu::SearchPopupMenu): (WebCore::SearchPopupMenu::saveRecentSearches): (WebCore::SearchPopupMenu::loadRecentSearches): (WebCore::SearchPopupMenu::enabled):
  • platform/haiku/SoundHaiku.cpp: Added. (WebCore::systemBeep):
4:14 PM Changeset in webkit [46923] by abarth@webkit.org
  • 1 edit
    2 adds in trunk/WebCore

2009-08-07 Maxime Simon <Maxime Simon>

Reviewed by Eric Seidel.

Added two Haiku-specific files to WebCore:
TemporaryLinkStubs.cpp and WidgetHaiku.cpp
https://bugs.webkit.org/show_bug.cgi?id=28080

  • platform/haiku/TemporaryLinkStubs.cpp: Added. (loadResourceIntoArray): (WebCore::historyContains): (WebCore::supportedKeySizes): (WebCore::signedPublicKeyAndChallengeString): (WebCore::userIdleTime): (WebCore::callOnMainThread): (WebCore::SharedBuffer::createWithContentsOfFile): (WebCore::KURL::fileSystemPath): (WebCore::getSupportedKeySizes):
  • platform/haiku/WidgetHaiku.cpp: Added. (WebCore::Widget::Widget): (WebCore::Widget::~Widget): (WebCore::Widget::frameRect): (WebCore::Widget::setFrameRect): (WebCore::Widget::setFocus): (WebCore::Widget::setCursor): (WebCore::Widget::show): (WebCore::Widget::hide): (WebCore::Widget::paint): (WebCore::Widget::setIsSelected):
4:12 PM Changeset in webkit [46922] by abarth@webkit.org
  • 4 edits in trunk/WebCore

2009-08-07 Jian Li <jianli@chromium.org>

Reviewed by Dimitri Glazkov.

[V8] Fix the problem that isAttribute is set to false for onerror and
onmessage in worker custom code.
https://bugs.webkit.org/show_bug.cgi?id=28083

  • bindings/v8/custom/V8AbstractWorkerCustom.cpp: (WebCore::getEventListener): (WebCore::ACCESSOR_SETTER): (WebCore::CALLBACK_FUNC_DECL):
  • bindings/v8/custom/V8WorkerContextCustom.cpp: (WebCore::ACCESSOR_SETTER):
  • bindings/v8/custom/V8WorkerCustom.cpp: (WebCore::getEventListener): (WebCore::ACCESSOR_SETTER):
4:11 PM Changeset in webkit [46921] by abarth@webkit.org
  • 3 edits in trunk/WebCore

2009-08-07 Vitaly Repeshko <vitalyr@quad.spb.corp.google.com>

Reviewed by Dimitri Glazkov.

V8 bindings: speed up lookupDOMWrapper by using new V8 API function.

https://bugs.webkit.org/show_bug.cgi?id=28071

  • bindings/v8/V8DOMWrapper.cpp:
  • bindings/v8/V8DOMWrapper.h: (WebCore::V8DOMWrapper::lookupDOMWrapper):
4:05 PM Changeset in webkit [46920] by rniwa@webkit.org
  • 5 edits
    8 adds in trunk

WebCore: selectionHasStyle doesn't handle text-specific properties properly
https://bugs.webkit.org/show_bug.cgi?id=27858

Patch by Ryosuke Niwa <rniwa@webkit.org> on 2009-08-07
Reviewed by Justin Garcia.

This patch modifies selectionHasStyle so that it returns TrueTriState when text styles
(text-decoration, font-style, font-weight, & color) are present in all text nodes,
regardless of whether the style is also present in their ancestor nodes or not.
e.g. New behavior concludes that <b><i>hello</i><i>world</i></b> has italic style.

WebKit now applies the text styles (bold, italic, etc) if the specified style was not present on
at least one text node, rather than at the beginning of selection except on Mac.
On Mac, WebKit applies the text style if the style was not present at the beginning of style.

Test: editing/execCommand/toggle-compound-styles.html

  • editing/ApplyStyleCommand.cpp:

(WebCore::getPropertiesNotInComputedStyle): bug fix, must use copy instead of makeMutable for a mutable style.

  • editing/Editor.cpp:

(WebCore::):
(WebCore::triStateOfStyleInComputedStyle): Added a boolean type to ignore text-specific styles
(WebCore::Editor::selectionHasStyle): Ignores text-specific styles for all but text nodes

  • editing/EditorCommand.cpp:

(WebCore::executeToggleStyle): Uses selectionHasStyle instead of selectionStartHasStyle

LayoutTests: selectionHasStyle doesn't handle text-specific properties properly
https://bugs.webkit.org/show_bug.cgi?id=27858

Patch by Ryosuke Niwa <rniwa@webkit.org> on 2009-08-07
Reviewed by Justin Garcia.

This patch adds toggle-compound-styles to make sure WebKit can handle nested text styles
such as <b><i>hello</i>world</b> (italicized) and <b><i>hello</i>world</b> (not italicized)
on all platforms except on Mac (to match TextEdit's behavior).

  • editing/execCommand/resources/toggle-compound-styles.js: Added.

(testSingleToggle):

  • editing/execCommand/toggle-compound-styles.html: Added.
  • platform/gtk/editing/execCommand: Added.
  • platform/gtk/editing/execCommand/toggle-compound-styles-expected.txt: Added.
  • platform/mac/editing/execCommand/toggle-compound-styles-expected.txt: Added.
  • platform/qt/editing/execCommand/toggle-compound-styles-expected.txt: Added.
  • platform/win/editing/execCommand: Added.
  • platform/win/editing/execCommand/toggle-compound-styles-expected.txt: Added.
3:36 PM Changeset in webkit [46919] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2009-08-07 Jian Li <jianli@chromium.org>

Reviewed by Dimitri Glazkov.

[V8] Do not register V8 error message listener in WorkerContextExecutionProxy.
https://bugs.webkit.org/show_bug.cgi?id=28082

  • bindings/v8/WorkerContextExecutionProxy.cpp: (WebCore::WorkerContextExecutionProxy::initV8IfNeeded):
3:25 PM Changeset in webkit [46918] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2009-08-07 Kwang Yul Seo <skyul@company100.net>

Reviewed by Eric Seidel.

Cairo-based Windows port does not handle cookies properly
https://bugs.webkit.org/show_bug.cgi?id=27414

curl handles cookies by itself, so using WinINet functions
to get and set cookies is wrong.

Replace CookieJarWin.cpp with CookieJarCurl.cpp so that
cookies can be implemented later once curl provides an API to
get and set cookies.

  • WebCore.vcproj/WebCore.vcproj:
3:09 PM Changeset in webkit [46917] by Dimitri Glazkov
  • 9 edits
    1 add in trunk/WebCore

2009-08-07 Michael Nordman <Michael Nordman>

Reviewed by Dimitri Glazkov.

https://bugs.webkit.org/show_bug.cgi?id=28074

V8 bindings for the window.applicationCache attribute.

  • WebCore.gypi:
  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/v8/DOMObjectsInclude.h:
  • bindings/v8/DerivedSourcesAllInOne.cpp:
  • bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::getTemplate): (WebCore::V8DOMWrapper::convertEventTargetToV8Object):
  • bindings/v8/V8Index.cpp:
  • bindings/v8/V8Index.h:
  • bindings/v8/custom/V8CustomBinding.h:
  • bindings/v8/custom/V8DOMApplicationCacheCustom.cpp: Added.
2:41 PM Changeset in webkit [46916] by Darin Adler
  • 4 edits in trunk/LayoutTests

2009-08-07 Darin Adler <Darin Adler>

Reviewed by Mark Rowe.

Fix three tests so they are not dependent on the getSelection() result
reflecting selections inside <input> and <textarea> elements.

  • fast/events/right-click-focus.html: Removed unneeded check of anchorNode. The test works fine by just testing the actual result of typing.
  • fast/forms/focus-style-pending.html: Detect focus with an onfocus attribute rather than by looking at getSelection().focusNode.
  • fast/forms/search-click-in-placeholder.html: Detect focus with an onfocus attribute rather than by looking at getSelection().baseNode.
2:39 PM Changeset in webkit [46915] by ajwong@chromium.org
  • 3 edits
    2 adds in trunk

WebCore: Right click on timeline of media controls panel cause seek
https://bugs.webkit.org/show_bug.cgi?id=27920

Patch by Alpha Lam <hclam@chromium.org> on 2009-08-07
Reviewed by Eric Seidel.

Add a test simulate the behavior of seeking by right clicking
on the time bar of media controls while playing.

  • media/controls-right-click-on-timebar-expected.txt: Added.
  • media/controls-right-click-on-timebar.html: Added.

LayoutTests: Right click on timeline of media controls panel cause seek
https://bugs.webkit.org/show_bug.cgi?id=27920

Patch by Alpha Lam <hclam@chromium.org> on 2009-08-07
Reviewed by Eric Seidel.

Add a test simulate the behavior of seeking by right clicking
on the time bar of media controls while playing.

  • media/controls-right-click-on-timebar-expected.txt: Added.
  • media/controls-right-click-on-timebar.html: Added.
2:36 PM Changeset in webkit [46914] by rniwa@webkit.org
  • 13 edits in trunk/WebCore

deprecatedCopyInheritableProperties must be replaced by two different functions
https://bugs.webkit.org/show_bug.cgi?id=28057

Patch by Ryosuke Niwa <rniwa@webkit.org> on 2009-08-07
Reviewed by Justin Garcia.

This patch deletes deprecatedInheritableProperties and modifies call callees to call either editingStyleAtPosition
or prepareEditingStyleToApplyAt. The concept of editing style is introduced in this patch,
which consists of all CSS properties need to be preserved under editing operations.

No test is added since this patch does not change any behavior.

  • css/CSSComputedStyleDeclaration.cpp: Removed deprecatedCopyInheritableProperties
  • css/CSSComputedStyleDeclaration.h: Removed deprecatedCopyInheritableProperties
  • editing/ApplyStyleCommand.cpp:

(WebCore::):
(WebCore::editingStyleAtPosition): Obtains the editing-specific computed style at the position
(WebCore::prepareEditingStyleToApplyAt): Removes redundant editing styles at the specified position
(WebCore::removeStylesAddedByNode): Removes the style derived from the specified node

  • editing/ApplyStyleCommand.h:

(WebCore::):

  • editing/CompositeEditCommand.cpp:

(WebCore::CompositeEditCommand::moveParagraphs): Uses editingStyleAtPosition
(WebCore::CompositeEditCommand::breakOutOfEmptyListItem): Uses editingStyleAtPosition

  • editing/DeleteSelectionCommand.cpp:

(WebCore::removeEnclosingAnchorStyle): Uses removeStyleOfNode
(WebCore::DeleteSelectionCommand::saveTypingStyleState): Uses editingStyleAtPosition
(WebCore::DeleteSelectionCommand::calculateTypingStyleAfterDelete): Uses prepareEditingStyleToApplyAt

  • editing/EditCommand.cpp:
  • editing/EditCommand.h:
  • editing/InsertParagraphSeparatorCommand.cpp:

(WebCore::InsertParagraphSeparatorCommand::calculateStyleBeforeInsertion): Uses editingStyleAtPosition
(WebCore::InsertParagraphSeparatorCommand::applyStyleAfterInsertion): Uses prepareEditingStyleToApplyAt

  • editing/RemoveFormatCommand.cpp:

(WebCore::RemoveFormatCommand::doApply): Uses editingStyleAtPosition

  • editing/ReplaceSelectionCommand.cpp:

(WebCore::handleStyleSpansBeforeInsertion): Uses editingStyleAtPosition
(WebCore::ReplaceSelectionCommand::handleStyleSpans): Uses editingStyleAtPosition and prepareEditingStyleToApplyAt
(WebCore::ReplaceSelectionCommand::doApply): Uses prepareEditingStyleToApplyAt

  • editing/markup.cpp:

(WebCore::removeEnclosingMailBlockquoteStyle): Uses removeStyleOfNode
(WebCore::removeDefaultStyles): Uses prepareEditingStyleToApplyAt
(WebCore::createMarkup): Uses editingStyleAtPosition

2:36 PM Changeset in webkit [46913] by Darin Adler
  • 2 edits in trunk/LayoutTests

2009-08-07 Darin Adler <Darin Adler>

Reviewed by Mark Rowe.

Another try at making the gc-9.html test less prone to intermittent failure.

  • fast/dom/gc-9.html: Changed this to do the "before garbage collection" test right after setting the properties. This practically eliminates the possibility that we will get unlucky and get a garbage collection between when theproperty is set and tested, which seems to have happened at least once on the buildbot.
2:10 PM Changeset in webkit [46912] by mrowe@apple.com
  • 2 edits in trunk/WebKitTools

Handle the case where only a single test is missing results.

  • BuildSlaveSupport/build.webkit.org-config/master.cfg:
2:07 PM Changeset in webkit [46911] by abarth@webkit.org
  • 3 edits
    3 adds in trunk/JavaScriptCore

2009-08-07 George Staikos <george.staikos@torchmobile.com>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=27305
Implement WinCE-specific unicode layer.
Written by George Staikos <george.staikos@torchmobile.com>
with bug fixes by Yong Li <yong.li@torchmobile.com>
refactored by Joe Mason <joe.mason@torchmobile.com>

  • wtf/Platform.h:
  • wtf/unicode/Unicode.h:
  • wtf/unicode/wince/UnicodeWince.cpp: Added. (WTF::Unicode::toLower): (WTF::Unicode::toUpper): (WTF::Unicode::foldCase): (WTF::Unicode::isPrintableChar): (WTF::Unicode::isSpace): (WTF::Unicode::isLetter): (WTF::Unicode::isUpper): (WTF::Unicode::isLower): (WTF::Unicode::isDigit): (WTF::Unicode::isPunct): (WTF::Unicode::toTitleCase): (WTF::Unicode::direction): (WTF::Unicode::category): (WTF::Unicode::decompositionType): (WTF::Unicode::combiningClass): (WTF::Unicode::mirroredChar): (WTF::Unicode::digitValue):
  • wtf/unicode/wince/UnicodeWince.h: Added. (WTF::Unicode::): (WTF::Unicode::isSeparatorSpace): (WTF::Unicode::isHighSurrogate): (WTF::Unicode::isLowSurrogate): (WTF::Unicode::isArabicChar): (WTF::Unicode::hasLineBreakingPropertyComplexContext): (WTF::Unicode::umemcasecmp): (WTF::Unicode::surrogateToUcs4):
1:19 PM CreatingLayoutTests created by mike.fenton@torchmobile.com
Initial Version
1:15 PM Changeset in webkit [46910] by abarth@webkit.org
  • 2 edits in trunk/JavaScriptCore

2009-08-07 Yongjun Zhang <yongjun.zhang@nokia.com>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=28069

Add inline to help winscw compiler resolve specialized argument in
templated functions.

  • runtime/LiteralParser.cpp: (JSC::LiteralParser::Lexer::lexString):
1:09 PM Changeset in webkit [46909] by kenneth@webkit.org
  • 3 edits in trunk/LayoutTests

2009-08-07 Mike Fenton <mike.fenton@torchmobile.com>

Reviewed by Adam Treat.

Move fast/forms/menulist-style-color.html to Skipped list for mac/win.
Bug filed - https://bugs.webkit.org/show_bug.cgi?id=28079

  • platform/mac/Skipped:
  • platform/win/Skipped:
12:52 PM Changeset in webkit [46908] by andersca@apple.com
  • 2 edits in trunk/WebKit/mac

2009-08-07 Anders Carlsson <andersca@apple.com>

Fix Tiger build.


  • WebView/WebRenderNode.mm: (-[WebRenderNode _initWithCoreFrame:]):
12:51 PM Changeset in webkit [46907] by abarth@webkit.org
  • 2 edits in trunk/JavaScriptCore

2009-08-07 Zoltan Horvath <hzoltan@inf.u-szeged.hu>

Reviewed by Eric Seidel.

Allow custom memory allocation control for RegExpObjectData struct
http://bugs.webkit.org/show_bug.cgi?id=26750

Inherits RegExpObjectData struct from FastAllocBase because
it has been instantiated by 'new' in JavaScriptCore/runtime/RegExpObject.cpp:62

  • runtime/RegExpObject.h:
12:28 PM Creating and Submitting Layout Tests and Patches edited by mike.fenton@torchmobile.com
(diff)
12:27 PM Changeset in webkit [46906] by abarth@webkit.org
  • 4 edits
    2 deletes in trunk/WebCore

2009-08-07 Steve Block <steveblock@google.com>

Reviewed by Darin Adler.

Bug 27250: Geolocation callback function IDL files are superfluous
https://bugs.webkit.org/show_bug.cgi?id=27250

The objects for the Geolocation success and error callbacks are created 'manually' in
WebCore/bindings/js/JSGeolocationCustom.cpp. Furthermore, the callback interfaces are
marked 'NoInterfaceObject' in the W3C spec, so the prototype should not
appear on the window object. Hence IDL files for these callbacks are not required.

See http://www.w3.org/TR/geolocation-API/#geolocation_interface and
http://www.w3.org/TR/WebIDL/#NoInterfaceObject.

No new tests required.

  • DerivedSources.make: Modified. Removed reference to IDL files.
  • WebCore.gypi: Modified. Removed reference to IDL files.
  • WebCore.xcodeproj/project.pbxproj: Modified. Removed reference to IDL files.
  • page/PositionCallback.idl: Removed.
  • page/PositionErrorCallback.idl: Removed.
12:17 PM Changeset in webkit [46905] by ben@webkit.org
  • 2 edits in trunk/WebKitTools

2009-08-07 George Wright <george.wright@torchmobile.com>

Reviewed by Adam Treat.

Fix DumpRenderTree for the Qt port to always dump the
PNG data unless the expected and actual hashes match.

https://bugs.webkit.org/show_bug.cgi?id=28077

  • DumpRenderTree/qt/DumpRenderTree.cpp: (WebCore::DumpRenderTree::dump):
11:51 AM Changeset in webkit [46904] by kenneth@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

2009-08-07 Mike Fenton <mike.fenton@torchmobile.com>

Reviewed by Adam Treat.

Add Test results for mac and windows for new tests.

https://bugs.webkit.org/show_bug.cgi?id=28050

  • platform/mac/fast/forms/text-style-color-expected.txt: Added.
  • platform/win/fast/forms/text-style-color-expected.txt: Added.
11:51 AM Changeset in webkit [46903] by abarth@webkit.org
  • 1 edit
    2 adds in trunk

2009-08-07 Adam Treat <adam.treat@torchmobile.com>

Reviewed by David Levin.

Build fix for Qt when ENABLE_VIDEO = 0. This was necessitated by r46890 which
put the idl files back into play regardless of compile time defines.

  • html/TimeRanges.idl:
11:38 AM Changeset in webkit [46902] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

https://bugs.webkit.org/show_bug.cgi?id=28076
Add fast/images/icon-decoding.html to Qt skip list until it has
results.

Reviewed by Adam Treat.

  • platform/qt/Skipped:
11:36 AM Changeset in webkit [46901] by andersca@apple.com
  • 3 edits in trunk/WebKit/mac

2009-08-07 Anders Carlsson <andersca@apple.com>

Reviewed by Timothy Hatcher and Sam Weinig.

Change WebRenderNode to take a WebFrame instead of a WebFrameView.


  • WebView/WebRenderNode.h:
  • WebView/WebRenderNode.mm: (-[WebRenderNode _initWithName:position:rect:coreFrame:children:]): (copyRenderNode): (-[WebRenderNode _initWithCoreFrame:]): (-[WebRenderNode initWithWebFrame:]):
11:17 AM Changeset in webkit [46900] by treat@webkit.org
  • 2 edits in trunk/WebCore

2009-08-07 Adam Treat <adam.treat@torchmobile.com>

Reviewed by David Levin.

Build fix for Qt when ENABLE_VIDEO = 0. This was necessitated by r46890 which
put the idl files back into play regardless of compile time defines.

  • html/TimeRanges.idl:
11:14 AM Changeset in webkit [46899] by abarth@webkit.org
  • 2 edits in trunk/WebKitTools

2009-08-07 Pierre d'Herbemont <pdherbemont@apple.com>

Reviewed by Eric Seidel.

commit-log-editor does not produce a git commit log that is git friendly.
https://bugs.webkit.org/show_bug.cgi?id=27754

We make sure we end up with:

  • A first paragraph describing the bug. It is eventually prefixed by "WebKit: <line>" or "WebCore: <line>". This used to be "WebCore:\n\n<line>".
  • The Reviewed By line.
  • An eventual Patch By line if author and committer doesn't match.
  • The rest of the commit.
  • Scripts/commit-log-editor:
10:56 AM Changeset in webkit [46898] by abarth@webkit.org
  • 1 edit in trunk/WebKitTools/Scripts/run-webkit-unittests

Make run-webkit-unittests executable.

10:37 AM Changeset in webkit [46897] by kenneth@webkit.org
  • 2 edits in trunk/WebCore

2009-08-07 Mike Fenton <mike.fenton@torchmobile.com>

Reviewed by George Staikos.

Coding style patches for RenderThemeQt.cpp based on results from cpp_style.py.

https://bugs.webkit.org/show_bug.cgi?id=28050

  • platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::baselinePosition): (WebCore::inflateButtonRect): (WebCore::RenderThemeQt::supportsFocus): (WebCore::RenderThemeQt::applyTheme):
10:37 AM Changeset in webkit [46896] by kenneth@webkit.org
  • 4 edits
    4 adds in trunk

2009-08-07 Mike Fenton <mike.fenton@torchmobile.com>

Reviewed by Eric Seidel.

Prevent RenderThemeQt AdjustStyle based calls for TextField, MenuList and MenuListButton
from discarding style colour.

Add new tests and remove tests from platform/qt/Skipped that now pass.

https://bugs.webkit.org/show_bug.cgi?id=28050

  • fast/forms/menulist-style-color.html: Added.
  • fast/forms/text-style-color.html: Added.
  • platform/qt/Skipped:
  • platform/qt/fast/forms/menulist-style-color-expected.txt: Added.
  • platform/qt/fast/forms/text-style-color-expected.txt: Added.

2009-08-07 Mike Fenton <mike.fenton@torchmobile.com>

Reviewed by Eric Seidel.

Prevent RenderThemeQt AdjustStyle based calls for TextField, MenuList and MenuListButton
from discarding style colour.

Add tests and remove tests from platform/qt/Skipped that now pass.

https://bugs.webkit.org/show_bug.cgi?id=28050

Tests: fast/forms/menulist-style-color.html

fast/forms/text-style-color.html

  • platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::adjustTextFieldStyle): (WebCore::RenderThemeQt::adjustMenuListStyle): (WebCore::RenderThemeQt::adjustMenuListButtonStyle):
10:22 AM Changeset in webkit [46895] by abarth@webkit.org
  • 2 edits in trunk/WebKitTools

2009-08-07 Adam Barth <abarth@webkit.org>

Unreviewed. (Darin Adler indicated he'd prefer if we landed these
kinds of changes unreviewed, like editing the WebKit Team wiki page.)

Added Pierre d'Herbemont to list of committers.

  • Scripts/modules/committers.py:
9:15 AM QtWebKitTodo edited by andre.pedralho@openbossa.org
(diff)
8:57 AM Changeset in webkit [46894] by Dimitri Glazkov
  • 5 edits in trunk/WebCore

2009-08-07 Dimitri Glazkov <Dimitri Glazkov>

Unreviewed, build fix.

https://bugs.webkit.org/show_bug.cgi?id=22495
[V8] Re-land http://trac.webkit.org/changeset/46821, now that
http://trac.webkit.org/changeset/46874 re-landed

  • bindings/v8/DOMObjectsInclude.h:
  • bindings/v8/DerivedSourcesAllInOne.cpp:
  • bindings/v8/V8Index.cpp:
  • bindings/v8/V8Index.h:
8:52 AM Changeset in webkit [46893] by treat@webkit.org
  • 3 edits in trunk/WebCore

2009-08-07 Adam Treat <adam.treat@torchmobile.com>

Reviewed by Darin Adler and George Staikos.

Add rectToRect convenience function which returns the TransformationMatrix
which maps the 'from' rectangle to the 'to' rectangle.

https://bugs.webkit.org/show_bug.cgi?id=28067

No tests as this would require binding the method to js and since it is static
that doesn't seem possible. Please check the math.

  • platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::TransformationMatrix::rectToRect):
  • platform/graphics/transforms/TransformationMatrix.h:
8:35 AM Changeset in webkit [46892] by beidson@apple.com
  • 10 edits
    2 adds in trunk

WebCore:

2009-08-07 Brady Eidson <beidson@apple.com>

Reviewed by Darin Adler.

Implement the HTML5 hashchange event.
https://bugs.webkit.org/show_bug.cgi?id=21605

Test: fast/loader/hashchange-event.html

  • dom/EventNames.h: Add "hashchange"
  • html/HTMLAttributeNames.in: Add "onhashchange"
  • loader/FrameLoader.cpp: (WebCore::HashChangeEventTask::create): (WebCore::HashChangeEventTask::performTask): (WebCore::HashChangeEventTask::HashChangeEventTask): (WebCore::FrameLoader::scrollToAnchor): When an anchor navigation is completed and the new fragment identifier is different from the old one, queue a hash change event on the Document.

Add a window event listener for the hashchange event if onhashchange is encountered:

  • html/HTMLBodyElement.cpp: (WebCore::HTMLBodyElement::parseMappedAttribute):
  • html/HTMLFrameSetElement.cpp: (WebCore::HTMLFrameSetElement::parseMappedAttribute):

Add a new string utility method that gives "null and empty are equivalent" behavior:

  • platform/text/PlatformString.h: (WebCore::equalIgnoringNullity):
  • platform/text/StringImpl.cpp: (WebCore::equalIgnoringNullity):
  • platform/text/StringImpl.h:

LayoutTests:

2009-08-07 Brady Eidson <beidson@apple.com>

Reviewed by Darin Adler.

Implement the HTML5 hashchange event.
https://bugs.webkit.org/show_bug.cgi?id=21605

  • fast/loader/hashchange-event-expected.txt: Added.
  • fast/loader/hashchange-event.html: Added.
7:57 AM Changeset in webkit [46891] by jberlin@apple.com
  • 7 edits in trunk/WebCore

2009-08-07 Jessie Berlin <jberlin@apple.com>

Add the initial implementation of the ability to resize the columns in
a DataGrid in the Web Inspector. Enables that functionality in both the
Profile View and in the Local Storage View.


Reviewed by Timothy Hatcher.


https://bugs.webkit.org/show_bug.cgi?id=26182


In this version, resizing a column can change the width of at most two
columns (the columns to the left and right of the resizer being dragged).


Possible changes in future patches:


1) Be able to specify the minimum size of a column and the maximum size

of a column. If the minimum size is equal to the maximum size, the
column can't be resized.

2) Make the behavior more in line with the following description:


Everything before the column that is resized stays fixed size. The
resized column changes sizes. The other columns except the last stay
the same size. And the last column adjusts to fit with a minimum size.
If the last column is already the minimum, the next to last column
shrinks, etc.


3) Make it possible to scale the column sizes appropriately when the

Web Inspector window gets resized.


  • inspector/front-end/DOMStorageItemsView.js: (WebInspector.DOMStorageItemsView.prototype.update): Once the DataGrid is added to the DOM, update the widths of the DataGrid in order to put the resizers in place. (WebInspector.DOMStorageItemsView.prototype.resize): Update the widths of the DataGrid in order to correctly adjust the positions of the resizers.


  • inspector/front-end/DataGrid.js: (WebInspector.DataGrid): Store column groups whose widths can later be changed when the columns are resized by the user. Also, keep track of whether the widths of the columns have been initialized. (WebInspector.DataGrid.prototype.updateWidths): Create the resizers for the columns. (WebInspector.DataGrid.prototype._clickInDataTable): Didn't actually change anything in this method, just added a comma to the end of the function. (WebInspector.DataGrid.prototype._startResizerDragging): Store the resizer that is currently dragging. (WebInspector.DataGrid.prototype._resizerDragging): Constrain the area that the resizer can be dragged to the column to it's left and right, with some padding added to make sure that the neighboring columns don't disappear. (WebInspector.DataGrid.prototype._endResizerDragging):


  • inspector/front-end/DatabasesPanel.js: (WebInspector.DatabasesPanel.prototype.resize): Resize the view. (WebInspector.DatabasesPanel.prototype._updateSidebarWidth): ditto.


  • inspector/front-end/ProfileView.js: (WebInspector.ProfileView.prototype.show): Now that the DataGrid is actually attached to the DOM, update the widths of the DataGrid in order to put the resizers in place. (WebInspector.ProfileView.prototype.resize): Update the widths of the DataGrid in order to correctly adjust the positions of the resizers.


  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.resize): Resize the view. (WebInspector.ProfilesPanel.prototype._updateSidebarWidth): ditto.


  • inspector/front-end/inspector.css: Add in a style rule for a resizer in the Data Grid.
3:56 AM UsingGitWithWebKit edited by pdherbemont@free.fr
(diff)
3:22 AM WebKit Team edited by jmalonzo@webkit.org
Fix my entry (diff)
2:55 AM Changeset in webkit [46890] by Simon Hausmann
  • 5 edits in trunk/WebCore

2009-08-07 Simon Hausmann <simon.hausmann@nokia.com>

Reviewed by Tor Arne Vestbø.

Back out r46847 and fix the Qt build system to always generate
all the JS binding files from IDL files. The generated files
have #if feature guards, so the #ifs are not needed in the
files using them.

  • WebCore.pro:
  • bindings/js/JSEventTarget.cpp:
  • bindings/js/JSWorkerContextBase.cpp:
  • bindings/js/WorkerScriptController.cpp:
2:44 AM WebKit Team edited by zoltan@webkit.org
Add my entry. (diff)
1:21 AM WebKit Team edited by pdherbemont@apple.com
Add my entry. (diff)
12:32 AM Changeset in webkit [46889] by abarth@webkit.org
  • 7 edits
    3 adds in trunk

2009-08-07 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Adele Peterson.

Cannot scroll for box-reflect:right
https://bugs.webkit.org/show_bug.cgi?id=27979

Update m_overflowLeft an m_overflowWidth for reflection just like
m_overflowTop and m_overflowHeight.

  • fast/reflections/reflection-overflow-scroll-expected.txt: Added.
  • fast/reflections/reflection-overflow-scroll.html: Added.
  • fast/reflections/resources/reflection-overflow-scroll.js: Added.
  • platform/mac/fast/reflections/reflection-nesting-expected.txt:
  • platform/mac/fast/repaint/reflection-redraw-expected.txt:

2009-08-07 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Adele Peterson.

Cannot scroll for box-reflect:right
https://bugs.webkit.org/show_bug.cgi?id=27979

Update m_overflowLeft an m_overflowWidth for reflection just like
m_overflowTop and m_overflowHeight.

Test: fast/reflections/reflection-overflow-scroll.html

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::layoutBlock):

2009-08-07 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Adele Peterson.

Cannot scroll for box-reflect:right
https://bugs.webkit.org/show_bug.cgi?id=27979

Update m_overflowLeft an m_overflowWidth for reflection just like
m_overflowTop and m_overflowHeight.

  • Scripts/make-js-test-wrappers: Added regexp to skip box-shadow-overflo

w-scroll.js

Note: See TracTimeline for information about the timeline view.