Timeline



Jul 2, 2009:

10:21 PM Changeset in webkit [45530] by pdherbemont@apple.com
  • 1 edit in trunk/WebCore/ChangeLog

Edit WebCore/ChangeLog last entry to fix a spelling typo.

Pointed out by Mark Rowe.

10:12 PM Changeset in webkit [45529] by pdherbemont@apple.com
  • 3 edits in trunk/WebCore

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

Reviewed by Simon Fraser.

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

Fix the media controls hit tests. They may loose click events.

Test cases already covered in the video-controls-zoomed tests.

Don't trust wkHitTestMediaUIPart for the tests. We are accurate enough.

  • rendering/RenderThemeMac.h: Remove hitTestMediaControlPart.
  • rendering/RenderThemeMac.mm: Remove hitTestMediaControlPart.
8:34 PM Changeset in webkit [45528] by ddkilzer@apple.com
  • 2 edits in trunk/BugsSite/data

Ignore data/template cache directory and update data/params.

8:15 PM Changeset in webkit [45527] by bfulgham@webkit.org
  • 2 edits in trunk/WebKitTools

2009-07-02 Brent Fulgham <bfulgham@webkit.org>

Unreviewed build fix (Cairo this time) for DumpRenderTree.
Put Cairo code back in, but use original include order
for the CG stuff to avoid compile issues.

  • DumpRenderTree/win/PixelDumpSupportWin.cpp: (createBitmapContextFromWebView):
7:14 PM Changeset in webkit [45526] by ddkilzer@apple.com
  • 1 edit
    1 add in trunk/BugsSite

Config file for contrib/recode.pl when upgrading bugs.webkit.org

Current as of midday on Wednesday, July 1, 2009.

  • contrib/recode-overrides.txt: Added.
7:14 PM Changeset in webkit [45525] by ddkilzer@apple.com
  • 2 edits in trunk/BugsSite

Workaround for WebKit Bug 9630 when running contrib/recode.pl

A number of WebKit nightly builds included Bug 9630 which caused
non-breaking space characters (0xA0) to be submitted within the
content of textarea elements.

  • contrib/recode.pl: To work around these 0xA0 characters, try an encoding of cp1252 and use it if it works.
7:14 PM Changeset in webkit [45524] by ddkilzer@apple.com
  • 2 edits in trunk/BugsSite

Don't print "Failed to guess" warning if an override is available

  • contrib/recode.pl: Check that %overrides does NOT contain a key matching the current digest before printing out the warning about a failed charset guess.
7:14 PM Changeset in webkit [45523] by ddkilzer@apple.com
  • 2 edits in trunk/BugsSite

Added --[no-]truncate switch to contrib/recode.pl

  • contrib/recode.pl: Added --[no-]truncate switch to make debugging of failed charset guessing easier. Often times the illegal character was truncated in the output.
7:14 PM Changeset in webkit [45522] by ddkilzer@apple.com
  • 75 edits in trunk/BugsSite

Changed Perl scripts to use #!/usr/bin/env perl

perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/bin/env perl@' *.cgi *.pl */*.pl

7:14 PM Changeset in webkit [45521] by ddkilzer@apple.com
  • 2 edits
    1 delete in trunk/BugsSite

Replace Bugzilla favicon with webkit.org favicon

  • favicon.ico: Removed.
  • images/favicon.ico: Replaced. Copied from favicon.ico.
7:14 PM Changeset in webkit [45520] by ddkilzer@apple.com
  • 408 edits
    11 copies
    25 moves
    75 adds
    41 deletes in trunk/BugsSite

Merged BugsSite to Bugzilla-3.2.3

Updated to the latest-and-greatest stable version.

7:13 PM Changeset in webkit [45519] by ddkilzer@apple.com
  • 344 edits
    153 adds
    340 deletes in trunk/BugsSite

Merged BugsSite to Bugzilla-3.0.3

Nothing to see here. Move along.

6:38 PM Changeset in webkit [45518] by pdherbemont@apple.com
  • 4 edits in trunk/WebCore

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

Reviewed by Simon Fraser.

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

Make sure we support full page zoom in video controls.

This is tracked by a the video-controls-zoom test case.

  • css/mediaControlsQT.css: Make sure we don't have any inherited margin.
  • rendering/MediaControlElements.cpp: (WebCore::MediaControlElement::updateStyle): Propagate the style to the innertext.
  • rendering/RenderThemeMac.mm: Adjust the painting rect. (WebCore::getUnzoomedRectAndAdjustCurrentContext): (WebCore::RenderThemeMac::paintMediaSliderTrack): (WebCore::RenderThemeMac::paintMediaCurrentTime): (WebCore::RenderThemeMac::paintMediaTimeRemaining):
6:29 PM Changeset in webkit [45517] by eric@webkit.org
  • 10 edits in trunk/WebCore

2009-07-02 Roland Steiner <rolandsteiner@google.com>

Reviewed by Eric Seidel.

RenderBlock and RenderInline have confusingly named object creation methods:
RenderBlock::createRootBox/createRootInlineBox
RenderInline::createFlowBox/createInlineFlowBox
where the 2nd method in both cases just calls the first and then appends the created object.
I therefore renamed those methods to something IMHO more informative:

createRootBox() -> createRootInlineBox()
createRootInlineBox() -> createAndAppendRootInlineBox();
createFlowBox() -> createInlineFlowBox();
createInlineFlowBox() -> createAndAppendInlineFlowBox();

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

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::createRootInlineBox): (WebCore::RenderBlock::createAndAppendRootInlineBox):
  • rendering/RenderBlock.h:
  • rendering/RenderInline.cpp: (WebCore::RenderInline::createInlineFlowBox): (WebCore::RenderInline::createAndAppendInlineFlowBox):
  • rendering/RenderInline.h:
  • rendering/RenderSVGInline.cpp: (WebCore::RenderSVGInline::createInlineFlowBox):
  • rendering/RenderSVGInline.h:
  • rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::createRootInlineBox):
  • rendering/RenderSVGText.h:
  • rendering/bidi.cpp: (WebCore::createInlineBoxForRenderer):
6:23 PM Changeset in webkit [45516] by eric@webkit.org
  • 3 edits in trunk/WebCore

2009-07-02 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

WebInspector: Fix typo in the resource panel enabler caption.

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

  • English.lproj/localizedStrings.js:
  • inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel):
6:06 PM Changeset in webkit [45515] by eric@webkit.org
  • 4 edits
    1 add in trunk

2009-07-02 Erik Arvidsson <arv@chromium.org>

Reviewed by Adam Roben.

[Win] HTML5 Drag and drop, dragend is not fired when pressing Esc
https://bugs.webkit.org/show_bug.cgi?id=26699

  • manual-tests/drag-escape.html: Added.
  • page/EventHandler.cpp: (WebCore::EventHandler::dragSourceEndedAt):

2009-07-02 Erik Arvidsson <arv@chromium.org>

Reviewed by Adam Roben.

[Win] HTML5 Drag and drop, dragend is not fired when pressing Esc
https://bugs.webkit.org/show_bug.cgi?id=26699

  • WebDropSource.cpp: (WebDropSource::QueryContinueDrag):
5:55 PM Changeset in webkit [45514] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2009-07-02 Eric Seidel <eric@webkit.org>

Correct blatant typo (missing []), no review.

  • Scripts/modules/scm.py:
5:54 PM Changeset in webkit [45513] by pdherbemont@apple.com
  • 1 edit
    1 add in trunk/LayoutTests

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

Added the test result of r45511 for platform/mac.

  • platform/mac/media/controls-strict-expected.txt: Added.
5:37 PM Changeset in webkit [45512] by bfulgham@webkit.org
  • 2 edits in trunk/WebKitTools

2009-07-02 Brent Fulgham <bfulgham@webkit.org>

Windows build fix, no review.

Reverting PixelDumpSupportWin.cpp change to avoid strange
error on the build-bot.


  • DumpRenderTree/win/PixelDumpSupportWin.cpp: (createBitmapContextFromWebView):
5:18 PM Changeset in webkit [45511] by pdherbemont@apple.com
  • 2 edits in trunk/WebCore

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

Fix the Gtk build after r45474. The localized strings should
have been added there.

  • platform/gtk/LocalizedStringsGtk.cpp: (WebCore::mediaElementLoadingStateText): (WebCore::mediaElementLiveBroadcastStateText):
5:07 PM Changeset in webkit [45510] by pdherbemont@apple.com
  • 3 edits
    2 adds in trunk

WebCore:

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

Reviewed by Simon Fraser.

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

Media controller is rendered badly at http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html

We fix two things:

  • We use px instead of em, because px is used everywhere else and because 0.09em hit the font size limit.
  • We use -webkit-box instead of inline-block because in strict mode inline-block has a different behavior.

Test: media/controls-strict.html

  • css/mediaControlsQT.css:

LayoutTests:

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

Reviewed by Simon Fraser.

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

Media controller is rendered badly at http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html

Test that the controller renders correctly in strict mode as well.

  • media/controls-strict.html: Added.
  • platform/mac/media/controls-strict-mode-expected.txt: Added.
5:03 PM Changeset in webkit [45509] by bfulgham@webkit.org
  • 2 edits in trunk/WebKitTools

2009-07-02 Brent Fulgham <bfulgham@webkit.org>

Build fix, no review.

  • DumpRenderTree/config.h:
4:55 PM Changeset in webkit [45508] by oliver@apple.com
  • 2 edits in trunk/WebKit/win

<rdar://problem/6939593> REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page (26670)
<https://bugs.webkit.org/show_bug.cgi?id=26670>

Reviewed by Anders Carlsson

Make windows loader client match mac behaviour more closely.

4:53 PM Changeset in webkit [45507] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2009-07-02 Eric Seidel <eric@webkit.org>

Reviewed by David Levin.

bugzilla-tool needs to handle login failure
https://bugs.webkit.org/show_bug.cgi?id=26913

We now exit(1) on login failure.

  • Scripts/modules/bugzilla.py:
4:53 PM Changeset in webkit [45506] by hyatt@apple.com
  • 2 edits in trunk/WebCore

2009-07-02 David Hyatt <hyatt@apple.com>

Reviewed by Dan Bernstein.

TextIterator should use hasOverflowClip when checking for overflow instead of looking at the style.
https://bugs.webkit.org/show_bug.cgi?id=26942

  • editing/TextIterator.cpp: (WebCore::fullyClipsContents):
4:49 PM Changeset in webkit [45505] by bfulgham@webkit.org
  • 9 edits
    4 adds in trunk

WebKit/win:

2009-06-30 Brent Fulgham <bfulgham@gmail.com>

Reviewed by Adam Roben.

Build DumpRenderTree under Cairo.
https://bugs.webkit.org/show_bug.cgi?id=26457

  • WebKit.vcproj/WebKit.sln: Add Cairo targets to the DumpRenderTree build, and use the in the Debug_Cairo and Release_Cairo targets.

WebKitTools:

2009-06-30 Brent Fulgham <bfulgham@webkit.org>

Reviewed by Adam Roben.

Add build support for a Windows Cairo version of
DumpRenderTree. Share as much logic between the
CG and Cairo builds as possible.
https://bugs.webkit.org/show_bug.cgi?id=26457

  • DumpRenderTree/PixelDumpSupport.cpp: Added. (dumpWebViewAsPixelsAndCompareWithExpected): Moved common logic from CG-specific file. (printPNG): Moved common logic from CG-specific file.
  • DumpRenderTree/PixelDumpSupport.h: Add declaration for new common printPNG function.
  • DumpRenderTree/cairo: Added.
  • DumpRenderTree/cairo/PixelDumpSupportCairo.cpp: Added. Implement cairo-specific logic for dealing with Cairo surfaces. (writeFunction): (printPNG): Cairo-specific PNG handling logic. (computeMD5HashStringForBitmapContext): New Cairo routine using the generic BitmapContext signature. (dumpBitmap): New function containing Cairo-specific portions of the dumping routine.
  • DumpRenderTree/cairo/PixelDumpSupportCairo.h: Added. Provide Cairo version of the BitmapContext structure so that dumping routines can work on an abstract type. (BitmapContext::createByAdoptingBitmapAndContext): (BitmapContext::~BitmapContext): (BitmapContext::cairoContext): (BitmapContext::BitmapContext):
  • DumpRenderTree/cg/PixelDumpSupportCG.cpp: (printPNG): CG-specific PNG handling logic. (computeMD5HashStringForBitmapContext): Revised to use generic BitmapContext signature. (dumpBitmap): New function containing CG-specific portions of the dumping routine.
  • DumpRenderTree/cg/PixelDumpSupportCG.h: Add new signatures.
  • DumpRenderTree/win/DumpRenderTree.cpp: Disable CFNetwork logic when building the non-CFNetwork version. (main):
  • DumpRenderTree/win/DumpRenderTree.vcproj:
  • DumpRenderTree/win/PixelDumpSupportWin.cpp: (createBitmapContextFromWebView): Provide parallel Cairo implementation of CG bitmap/context setup.
4:45 PM Changeset in webkit [45504] by weinig@apple.com
  • 2 edits in trunk/WebCore

2009-07-02 Sam Weinig <sam@webkit.org>

Reviewed by Dave Hyatt.

Fix for <rdar://problem/5230700>
Remove local .xhtml file workaround

  • platform/network/mac/ResourceResponseMac.mm: (WebCore::ResourceResponse::platformLazyInit): Work around is no longer necessary.
4:36 PM Changeset in webkit [45503] by mrowe@apple.com
  • 4 edits in trunk

Versioning.

4:34 PM Changeset in webkit [45502] by andersca@apple.com
  • 8 edits in trunk

WebCore:

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

Reviewed by Dan Bernstein.

Sort, add functions used by WebKit.


  • WebCore.base.exp:

WebKit/mac:

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

Reviewed by Dan Bernstein.

<rdar://problem/6978783>
Software-rendered plug-in does not update correctly when inside a hardware layer


Replace calls to setNeedsDisplay: and setNeedsDisplayInRect: with a call to the new method
invalidatePluginContentRect:. This new method will ask WebCore to do the repainting, taking
transforms into account.


  • Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::invalidateRect):
  • Plugins/Hosted/WebHostedNetscapePluginView.mm: (-[WebHostedNetscapePluginView pluginHostDied]):
  • Plugins/WebBaseNetscapePluginView.h:
  • Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView windowBecameKey:]): (-[WebBaseNetscapePluginView windowResignedKey:]): (-[WebBaseNetscapePluginView preferencesHaveChanged:]): (-[WebBaseNetscapePluginView invalidatePluginContentRect:]):
  • Plugins/WebNetscapePluginView.mm: (-[WebNetscapePluginView invalidateRect:]): (-[WebNetscapePluginView invalidateRegion:]): (-[WebNetscapePluginView forceRedraw]):
4:33 PM Changeset in webkit [45501] by mrowe@apple.com
  • 1 copy in tags/Safari-6531.2

New tag.

4:31 PM Changeset in webkit [45500] by hyatt@apple.com
  • 6 edits in trunk/LayoutTests

2009-07-02 David Hyatt <hyatt@apple.com>

Reviewed by Mark Rowe.

Land new results from my change to make replaced elements no longer be overflow:hidden by
default. This affected plaintext dumping, which is clearly a bug in and of itself. For now
I am just updating the results and will file a followup bug about the fact that text dumping actually
does something different with overflow on replaced elements (when it clearly should not).

  • fast/block/float/crash-replaced-display-block-expected.txt:
  • fast/dom/Range/acid3-surround-contents-expected.txt:
  • fast/dom/object-embed-plugin-scripting-expected.txt:
  • fast/parser/badentity-expected.txt:
  • http/tests/security/local-video-poster-from-remote-expected.txt:
4:28 PM Changeset in webkit [45499] by beidson@apple.com
  • 2 edits in trunk/WebCore

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

Rubberstamped by Sam Weinig.

More of <rdar://problem/6969425> Safari 4.0 doesn't recognize text/plain files if their extension is unknown.

  • platform/network/mac/WebCoreURLResponse.mm: (webNSURLResponseMIMEType): Give Tiger a chance to query the UTI machinery.
4:18 PM Changeset in webkit [45498] by beidson@apple.com
  • 3 edits
    2 adds in trunk/LayoutTests

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

Rubberstamped by John Sullivan.

Add Tiger-specific results for these tests.

  • platform/mac-tiger/Skipped:
  • platform/mac-tiger/platform/mac/fast/loader/file-url-mimetypes-2-expected.txt: Added.
  • platform/mac-tiger/platform/mac/fast/loader/file-url-mimetypes-3-expected.txt: Added.
  • platform/mac-tiger/platform/mac/fast/loader/file-url-mimetypes-expected.txt:
4:01 PM Changeset in webkit [45497] by beidson@apple.com
  • 2 edits in trunk/LayoutTests

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

Skip the correct test names.

  • platform/mac-tiger/Skipped:
3:40 PM Changeset in webkit [45496] by agl@chromium.org
  • 2 edits in trunk/WebCore

2009-07-02 Adam Langley <agl@google.com>

Reviewed by Eric Seidel.

Chromium Linux: fix complex text rendering with line break characters.

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

If the CSS white-space property is inhibiting line breaking, we might
find end-of-line characters rendered via the complex text path. Fonts
don't provide glyphs for these code points so, if we find one, we
simulate the space glyph being interposed in this case. Because the
input is variable-length per code point, we walk the input in step
with the output.

Covered by:

LayoutTests/fast/text/international/bidi-linebreak-002.html
LayoutTests/fast/text/international/bidi-linebreak-003.html
LayoutTests/fast/text/international/hindi-whitespace.html

  • platform/graphics/chromium/HarfbuzzSkia.cpp: (WebCore::stringToGlyphs):
3:25 PM Changeset in webkit [45495] by beidson@apple.com
  • 4 edits
    2 copies
    2 adds in trunk/LayoutTests

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

Rubberstamped by Sam Weinig

Split up file-url-mimetypes.html into 3 tests to avoid any risk of timing out on slower machines.

  • platform/mac/fast/loader/file-url-mimetypes-2-expected.txt: Added.
  • platform/mac/fast/loader/file-url-mimetypes-2.html: Copied from platform/mac/fast/loader/file-url-mimetypes.html.
  • platform/mac/fast/loader/file-url-mimetypes-3-expected.txt: Added.
  • platform/mac/fast/loader/file-url-mimetypes-3.html: Copied from platform/mac/fast/loader/file-url-mimetypes.html.
  • platform/mac/fast/loader/file-url-mimetypes-expected.txt:
  • platform/mac/fast/loader/file-url-mimetypes.html:
  • platform/mac-tiger/Skipped:
3:22 PM Changeset in webkit [45494] by Dimitri Glazkov
  • 3 edits in trunk/WebCore

2009-07-02 Victor Wang <victorw@chromium.org>

Reviewed by Darin Fisher.

https://bugs.webkit.org/show_bug.cgi?id=26521
Expose file size to chromium.

Implement getFileSize() for Chromium.

  • platform/chromium/ChromiumBridge.h:
  • platform/chromium/FileSystemChromium.cpp: (WebCore::getFileSize):
3:21 PM Changeset in webkit [45493] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2009-07-02 Eric Seidel <eric@webkit.org>

No review, just adding Antti as a reviewer.

  • Scripts/modules/bugzilla.py:
3:21 PM Changeset in webkit [45492] by Nate Chapin
  • 2 edits in trunk/WebCore

2009-07-02 Nate Chapin <Nate Chapin>

Unreviewed, build fix.

  • bindings/v8/V8SVGPODTypeWrapper.h: Lost a space in nested template argument list.
3:19 PM Changeset in webkit [45491] by Simon Fraser
  • 2 edits in trunk/WebCore

2009-07-02 Simon Fraser <Simon Fraser>

Build fix: add missing #include.

  • platform/mac/ThemeMac.mm:
3:17 PM Changeset in webkit [45490] by beidson@apple.com
  • 2 edits in trunk/LayoutTests

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

Resolve failing Tiger layout test until I can fix it.

  • platform/mac-tiger/Skipped:
2:56 PM Changeset in webkit [45489] by Simon Fraser
  • 2 edits in trunk/WebCore

2009-07-02 Simon Fraser <Simon Fraser>

Reviewed by Dave Hyatt.

<rdar://problem/7028682> ThemeMac::paintRadio() throws Obj-C exceptions when zoomed

Add BEGIN_BLOCK_OBJC_EXCEPTIONS/END_BLOCK_OBJC_EXCEPTIONS guards around code
that can possibly throw Objective-C exceptions when drawing Mac form controls.

  • platform/mac/ThemeMac.mm: (WebCore::paintCheckbox): (WebCore::paintRadio): (WebCore::paintButton): (WebCore::ThemeMac::inflateControlPaintRect):
2:47 PM Changeset in webkit [45488] by Nate Chapin
  • 2 edits
    1 add in trunk/WebCore

2009-07-02 Nate Chapin <Nate Chapin>

Reviewed by David Levin.

Upstream V8SVGPODTypeWrapper.

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

2:40 PM Changeset in webkit [45487] by Dimitri Glazkov
  • 10 edits
    2 adds in trunk/WebCore

2009-07-02 Dumitru Daniliuc <dumi@chromium.org>

Reviewed by Dimitri Glazkov.

Adds an abstraction layer between the DB classes and the file
system, which allows us to add our own logic for storing, opening,
deleting, etc. databases.

The patch was tested using the tests in WebCore/storage.

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

  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/sql/SQLiteDatabase.cpp: (WebCore::SQLiteDatabase::open): Delegating the job of opening DB files to SQLiteFileSystem to allow use of custom VFSs.
  • platform/sql/SQLiteFileSystem.cpp: Added.
  • platform/sql/SQLiteFileSystem.h: Added.
  • platform/win/FileSystemWin.cpp: (WebCore::directoryName): Implemented.
  • storage/Database.cpp: (WebCore::Database::databaseSize): The code that returns the size of a DB file moved to SQLiteFileSystem.
  • storage/DatabaseTracker.cpp: (WebCore::DatabaseTracker::DatabaseTracker): Added the ability to register a custom SQLite VFS. (WebCore::DatabaseTracker::trackerDatabasePath): DB file-related operations moved to SQLiteFileSystem. (WebCore::DatabaseTracker::openTrackerDatabase): DB file-related operations moved to SQLiteFileSystem. (WebCore::DatabaseTracker::originPath): DB file-related operations moved to SQLiteFileSystem. (WebCore::DatabaseTracker::fullPathForDatabase): DB file-related operations moved to SQLiteFileSystem. (WebCore::DatabaseTracker::usageForDatabase): DB file-related operations moved to SQLiteFileSystem. (WebCore::DatabaseTracker::deleteOrigin): DB file-related operations moved to SQLiteFileSystem. (WebCore::DatabaseTracker::deleteDatabaseFile): DB file-related operations moved to SQLiteFileSystem.
  • storage/OriginUsageRecord.cpp: (WebCore::OriginUsageRecord::diskUsage): DB file-related operations moved to SQLiteFileSystem.
1:47 PM Changeset in webkit [45486] by hyatt@apple.com
  • 4 edits in trunk/WebCore

2009-07-02 David Hyatt <hyatt@apple.com>

Reviewed by Simon Fraser.

Always clip replaced elements to border radii.
https://bugs.webkit.org/show_bug.cgi?id=26933

Make sure to always clip replaced elements to border radii, even when overflow is visible.
Stop defaulting those elements to overflow:hidden in the UA sheet, since it is now no longer
necessary.

Covered by existing tests (since the UA default changing keeps the behavior exactly the same).

  • css/html.css:
  • rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::paint):
  • rendering/RenderWidget.cpp: (WebCore::RenderWidget::paint):
1:18 PM Changeset in webkit [45485] by hyatt@apple.com
  • 5 edits in trunk/WebCore

2009-07-02 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Simon Fraser.

convertFromScrollbarToContainingView and friends should be in ScrollView
https://bugs.webkit.org/show_bug.cgi?id=26929

This is breaking Chromium's build because PopupMenuChromium inherits
from ScrollView, but these functions are pure virtual in it. I could
put it directly in PopupMenuChromium, but that seems a bit silly since
the functions are fairly generic.

Passes existing layout tests.

  • page/FrameView.cpp: Remove the 4 functions Hyatt just added (IntRect WebCore::FrameView::convertFromScrollbarToContainingView): (IntRect WebCore::FrameView::convertFromContainingViewToScrollBar): (IntPoint WebCore::FrameView::convertFromScrollbarToContainingView): (IntPoint WebCore::FrameView::convertFromContainingViewToScrollBar):
  • page/FrameView.h: ditto
  • platform/ScrollView.cpp: Move the 4 functions from FrameView here (IntRect WebCore::ScrollView::convertFromScrollbarToContainingView): (IntRect WebCore::ScrollView::convertFromContainingViewToScrollBar): (IntPoint WebCore::ScrollView::convertFromScrollbarToContainingView): (IntPoint WebCore::ScrollView::convertFromContainingViewToScrollBar):
  • platform/ScrollView.h: ditto
11:39 AM Changeset in webkit [45484] by Adam Roben
  • 4 edits in trunk/WebKit

Fix warnings from update-webkit-localizable-strings

WebKit:

Fix warnings from update-webkit-localizable-strings

Rubber-stamped by Eric Carlson.

  • English.lproj/Localizable.strings: Updated.

WebKit/mac:

Fix warnings from update-webkit-localizable-strings

Rubber-stamped by Eric Carlson.

  • WebCoreSupport/WebViewFactory.mm: (-[WebViewFactory mediaElementLoadingStateText]): (-[WebViewFactory mediaElementLiveBroadcastStateText]): Changed the localization comments to match the comments in the Windows version of this file, to avoid warnings about different comments for the same localized string.
11:39 AM Changeset in webkit [45483] by Adam Roben
  • 2 edits in trunk/WebKit

Update StringsNotToBeLocalized.txt for (not so) recent changes

Bug 26926: StringsNotToBeLocalized.txt is out-of-date
<https://bugs.webkit.org/show_bug.cgi?id=26926>

Reviewed by John Sullivan.

  • StringsNotToBeLocalized.txt:
11:06 AM Changeset in webkit [45482] by darin@chromium.org
  • 5 edits
    4 adds in trunk

2009-07-02 Dirk Pranke <dpranke@chromium.org>

Reviewed by Darin Fisher.

Fix https://bugs.webkit.org/show_bug.cgi?id=26088 - TransparencyWin
doesn't handle errors well at all; revise it to fail silently
(drawing nothing), and bulletproof FontChromiumWin to handle the
failure accordingly.

Tests: fast/text/text-large-negative-letter-spacing-with-opacity.html

fast/text/text-letter-spacing.html

  • platform/graphics/chromium/FontChromiumWin.cpp: (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::initializeForGDI): (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::~TransparencyAwareFontPainter): (WebCore::TransparencyAwareFontPainter::TransparencyAwareGlyphPainter::TransparencyAwareGlyphPainter): (WebCore::TransparencyAwareFontPainter::TransparencyAwareGlyphPainter::~TransparencyAwareGlyphPainter): (WebCore::TransparencyAwareFontPainter::TransparencyAwareGlyphPainter::drawGlyphs): (WebCore::Font::drawGlyphs): (WebCore::Font::drawComplexText):
  • platform/graphics/chromium/TransparencyWin.cpp: (WebCore::TransparencyWin::TransparencyWin): (WebCore::TransparencyWin::setupLayerForNoLayer): (WebCore::TransparencyWin::setupLayerForOpaqueCompositeLayer): (WebCore::TransparencyWin::setupLayerForWhiteLayer): (WebCore::TransparencyWin::setupTransformForKeepTransform): (WebCore::TransparencyWin::setupTransformForScaleTransform): (WebCore::TransparencyWin::initializeNewContext): (WebCore::TransparencyWin::compositeOpaqueComposite): (WebCore::TransparencyWin::compositeTextComposite): (WebCore::TransparencyWin::makeLayerOpaque):
  • platform/graphics/chromium/TransparencyWin.h: (WebCore::TransparencyWin::platformContext):
10:51 AM Changeset in webkit [45481] by hyatt@apple.com
  • 1 edit in trunk/WebCore/platform/ScrollbarClient.h

Fix build bustage caused by wrong include case.

10:41 AM Changeset in webkit [45480] by eric.carlson@apple.com
  • 4 edits in trunk

2009-07-02 Eric Carlson <eric.carlson@apple.com>

Change #import to #include to fix non-ObjC builds.

  • rendering/MediaControlElements.cpp:

2009-07-02 Eric Carlson <eric.carlson@apple.com>

Fix Windows build by including missing localized string methods.

  • WebCoreLocalizedStrings.cpp: (WebCore::mediaElementLoadingStateText): (WebCore::mediaElementLiveBroadcastStateText):
10:32 AM Changeset in webkit [45479] by andersca@apple.com
  • 2 edits in trunk/WebCore

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

Build fix.


  • platform/network/mac/WebCoreURLResponse.mm: (mimeTypeFromUTITree):
10:31 AM Changeset in webkit [45478] by hyatt@apple.com
  • 21 edits
    4 adds in trunk

WebCore:

2009-07-02 David Hyatt <hyatt@apple.com>

Reviewed by Simon Fraser.

Fix for bug 22119, clicks in the scrollbars of transformed content don't work. Add new
conversion methods for going across parent/child widget boundaries that can be implemented
by the FrameView and ScrollbarClient to be transform-aware.

Test cases added in platform/mac/fast/forms and platform/mac/fast/overflow.

  • WebCore.base.exp:
  • page/EventHandler.cpp: (WebCore::EventHandler::handleMouseMoveEvent):
  • page/FrameView.cpp: (WebCore::FrameView::convertFromScrollbarToContainingView): (WebCore::FrameView::convertFromContainingViewToScrollbar): (WebCore::FrameView::convertFromRenderer): (WebCore::FrameView::convertToRenderer): (WebCore::FrameView::convertToContainingView): (WebCore::FrameView::convertFromContainingView):
  • page/FrameView.h:
  • platform/ScrollView.h:
  • platform/Scrollbar.cpp: (WebCore::Scrollbar::convertToContainingView): (WebCore::Scrollbar::convertFromContainingView):
  • platform/Scrollbar.h:
  • platform/ScrollbarClient.h: (WebCore::ScrollbarClient::convertFromScrollbarToContainingView): (WebCore::ScrollbarClient::convertFromContainingViewToScrollbar):
  • platform/Widget.cpp: (WebCore::Widget::convertFromContainingWindow): (WebCore::Widget::convertToContainingWindow): (WebCore::Widget::convertFromRootToContainingWindow): (WebCore::Widget::convertFromContainingWindowToRoot): (WebCore::Widget::convertToContainingView): (WebCore::Widget::convertFromContainingView):
  • platform/Widget.h:
  • platform/graphics/IntPoint.h: (WebCore::IntPoint::move):
  • platform/mac/WidgetMac.mm: (WebCore::Widget::convertFromRootToContainingWindow): (WebCore::Widget::convertFromContainingWindowToRoot):
  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::isPointInOverflowControl):
  • rendering/RenderDataGrid.cpp: (WebCore::RenderDataGrid::convertFromScrollbarToContainingView): (WebCore::RenderDataGrid::convertFromContainingViewToScrollbar):
  • rendering/RenderDataGrid.h:
  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::convertFromScrollbarToContainingView): (WebCore::RenderLayer::convertFromContainingViewToScrollbar): (WebCore::RenderLayer::scrollbarOffset): (WebCore::RenderLayer::hitTestOverflowControls):
  • rendering/RenderLayer.h:
  • rendering/RenderListBox.cpp: (WebCore::RenderListBox::isPointInOverflowControl): (WebCore::RenderListBox::convertFromScrollbarToContainingView): (WebCore::RenderListBox::convertFromContainingViewToScrollbar):
  • rendering/RenderListBox.h:

LayoutTests:

2009-07-02 David Hyatt <hyatt@apple.com>

Reviewed by Simon Fraser.

Test cases for bug 22119, clicks in scrollbar of transformed element don't work.

  • platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt: Added.
  • platform/mac/fast/forms/listbox-scrollbar-hit-test.html: Added.
  • platform/mac/fast/overflow/overflow-scrollbar-hit-test-expected.txt: Added.
  • platform/mac/fast/overflow/overflow-scrollbar-hit-test.html: Added.
10:19 AM Changeset in webkit [45477] by mitz@apple.com
  • 3 edits
    4 adds in trunk

WebCore:

Reviewed by Dave Hyatt and Simon Fraser.

  • fix <rdar://problem/6933052> SPOD playing video in a div with a box shadow

Test: fast/box-shadow/transform-fringing.html

  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintBoxShadow): Clip out the box even if it has an opaque background, but in that case, inset the clip path by 1 pixel, to avoid antialiasing artifacts. Do not inset the clip rect by 1 pixel if the CTM is purely a translation. Move the shadow-casting path away in the non-rounded-rect case (it was already being done in the rounded-rect case), to avoid a black fringe when the CTM is not purely a translation.

LayoutTests:

Reviewed by Dave Hyatt and Simon Fraser.

  • test for part of <rdar://problem/6933052> SPOD playing video in a div with a box shadow
  • fast/box-shadow/transform-fringing.html: Added.
  • platform/mac/fast/box-shadow/transform-fringing-expected.checksum: Added.
  • platform/mac/fast/box-shadow/transform-fringing-expected.png: Added.
  • platform/mac/fast/box-shadow/transform-fringing-expected.txt: Added.
10:00 AM Changeset in webkit [45476] by beidson@apple.com
  • 7 edits
    91 adds in trunk

WebCore:

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

Reviewed by Sam Weinig.

<rdar://problem/6969425> Safari 4.0 doesn't recognize text/plain files if their extension is unknown.

Walk the CoreTypes UTI tree for extensions with unknown MIME types, using the first MIME type found.

For many types of text files (such as source code files) this ends up being text/plain.

  • platform/network/mac/ResourceHandleMac.mm: (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]): Tweak the logging output.
  • platform/network/mac/WebCoreURLResponse.h:
  • platform/network/mac/WebCoreURLResponse.mm: (mimeTypeFromUTITree): (webNSURLResponseMIMEType): Use mimeTypeFromUTITree() to find a UTI-based MIME type for this file's extension. (-[NSURLResponse _webcore_reportedMIMEType]): Return the actual MIME type that CFNetwork gave us.

LayoutTests:

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

Rubberstamped by Sam Weinig.

Add more sample files for extensions we should know the MIME types for.

  • platform/mac/fast/loader/file-url-mimetypes.html:
  • platform/mac/fast/loader/file-url-mimetypes-expected.txt:
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-3fr.3fr: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-aaf.aaf: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ada.ada: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-adb.adb: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ads.ads: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-app.app: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-applescript.applescript: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-arw.arw: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-as.as: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-aupreset.aupreset: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-c++.c++: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-c.c: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-caf.caf: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-cc.cc: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-cp.cp: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-cpp.cpp: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-cr2.cr2: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-cxx.cxx: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-defs.defs: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-dfont.dfont: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-dlyan.dlyan: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-dng.dng: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-dylib.dylib: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-exp.exp: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-exr.exr: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-f.f: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-f77.f77: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-f90.f90: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-f95.f95: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-fff.fff: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-for.for: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-h++.h++: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-h.h: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-hh.hh: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-hp.hp: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-hpp.hpp: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-hxx.hxx: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-icc.icc: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-icm.icm: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-icns.icns: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-jav.jav: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-java.java: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-jfx.jfx: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-l.l: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-lid.lid: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-lm.lm: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-lmm.lmm: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-lpp.lpp: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-lxx.lxx: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-m.m: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-m4a.m4a: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-m4b.m4b: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-m4v.m4v: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-mig.mig: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-mm.mm: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-mos.mos: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-mrw.mrw: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-nef.nef: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-o.o: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-omf.omf: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-orf.orf: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-pas.pas: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-pch++.pch++: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-pch.pch: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-pef.pef: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-pf.pf: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-pfa.pfa: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-pfb.pfb: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-plist.plist: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-r.r: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-raf.raf: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-raw.raw: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-s.s: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-scpt.scpt: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-sd2.sd2: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-sf2.sf2: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-srf.srf: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-suit.suit: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-tbz.tbz: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-tbz2.tbz2: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ttc.ttc: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ttf.ttf: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ul.ul: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ulaw.ulaw: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ulw.ulw: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-war.war: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-y.y: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ym.ym: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ymm.ymm: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-ypp.ypp: Added.
  • platform/mac/fast/loader/resources/mimeTypeExamples/example-yxx.yxx: Added.
9:33 AM Changeset in webkit [45475] by Simon Fraser
  • 4 edits in trunk/WebKit/mac

2009-07-02 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

Compositing-related preference methods are not public API; should move to WebPreferencesPrivate.h
<rdar://problem/7027363>

Move accelerated-compositing pref to WebPreferencesPrivate.h

  • WebView/WebPreferences.h:
  • WebView/WebPreferences.mm: (-[WebPreferences acceleratedCompositingEnabled]): (-[WebPreferences setAcceleratedCompositingEnabled:]):
  • WebView/WebPreferencesPrivate.h:
8:47 AM Changeset in webkit [45474] by eric.carlson@apple.com
  • 36 edits in trunk

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

Reviewed by Simon Fraser.

<rdar://problem/6518119>

Add a rewind button and hide the timeline for live broadcasts when
in MediaUI mode.

  • css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Add the new pseudo element.
  • css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType): Ditto.
  • css/CSSSelector.h:
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Ditto.
  • css/CSSValueKeywords.in: Ditto.
  • css/mediaControls.css: Ditto.
  • css/mediaControlsQT.css: Ditto.
  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::rewind): New. (WebCore::HTMLMediaElement::returnToRealTime): New. (WebCore::HTMLMediaElement::isStreaming): New.
  • html/HTMLMediaElement.h:
  • page/mac/WebCoreViewFactory.h: Declare mediaElementLoadingStateText and mediaElementLiveBroadcastStateText.
  • platform/LocalizedStrings.h: Add localized media state messages.
  • platform/ThemeTypes.h: Add the new pseudo element.
  • platform/mac/LocalizedStringsMac.mm: (WebCore::mediaElementLoadingStateText): Add localized media state. (WebCore::mediaElementLiveBroadcastStateText): Ditto.
  • platform/mac/WebCoreSystemInterface.h: Change BOOL param wkDrawMediaUIPart to an int to support

multiple states.

  • platform/mac/WebCoreSystemInterface.mm: Ditto.
  • rendering/MediaControlElements.cpp: (WebCore::MediaControlElement::MediaControlElement): Deal with new elements. (WebCore::MediaControlElement::attachToParent): Ditto. (WebCore::MediaControlElement::update): Ditto. (WebCore::MediaControlElement::updateStyle): Ditto. (WebCore::MediaControlTimelineContainerElement::MediaControlTimelineContainerElement): Ditto. (WebCore::MediaControlTimelineContainerElement::rendererIsNeeded): Ditto. (WebCore::MediaControlStatusDisplayElement::MediaControlStatusDisplayElement): Ditto. (WebCore::MediaControlStatusDisplayElement::update): Ditto. (WebCore::MediaControlStatusDisplayElement::rendererIsNeeded): Ditto. (WebCore::MediaControlInputElement::MediaControlInputElement): Ditto. (WebCore::MediaControlInputElement::attachToParent): Ditto. (WebCore::MediaControlInputElement::updateStyle): Ditto. (WebCore::MediaControlRewindButtonElement::MediaControlRewindButtonElement): Ditto. (WebCore::MediaControlRewindButtonElement::defaultEventHandler): Ditto. (WebCore::MediaControlReturnToRealtimeButtonElement::MediaControlReturnToRealtimeButtonElement): Ditto. (WebCore::MediaControlReturnToRealtimeButtonElement::defaultEventHandler): Ditto. (WebCore::MediaControlReturnToRealtimeButtonElement::rendererIsNeeded): Ditto. (WebCore::MediaControlTimelineElement::defaultEventHandler): Ditto. (WebCore::MediaControlTimelineElement::update): Ditto. (WebCore::MediaControlFullscreenButtonElement::rendererIsNeeded): Ditto.
  • rendering/MediaControlElements.h: Ditto.
  • rendering/RenderMedia.cpp: (WebCore::RenderMedia::styleDidChange): Deal with the new elements. (WebCore::RenderMedia::createPanel): Ditto. (WebCore::RenderMedia::createRewindButton): Ditto. (WebCore::RenderMedia::createReturnToRealtimeButton): Ditto. (WebCore::RenderMedia::createStatusDisplay): Ditto. (WebCore::RenderMedia::createTimelineContainer): Ditto. (WebCore::RenderMedia::createCurrentTimeDisplay): Ditto. (WebCore::RenderMedia::createTimeRemainingDisplay): Ditto. (WebCore::RenderMedia::updateControls): Ditto. (WebCore::RenderMedia::forwardEvent): Ditto.
  • rendering/RenderMedia.h:
  • rendering/RenderTheme.cpp: (WebCore::RenderTheme::paint): Deal with the new elements.
  • rendering/RenderTheme.h: (WebCore::RenderTheme::paintMediaRewindButton): Deal with the new elements. (WebCore::RenderTheme::paintMediaReturnToRealtimeButton): Ditto. (WebCore::RenderTheme::paintMediaControlsBackground): Ditto.
  • rendering/RenderThemeMac.h:
  • rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintMediaRewindButton): Deal with the new elements. (WebCore::RenderThemeMac::paintMediaReturnToRealtimeButton): Ditto. (WebCore::RenderThemeMac::paintMediaControlsBackground): Ditto.
  • rendering/style/RenderStyleConstants.h: Add constants for the new elements.

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

Reviewed by Simon Fraser.

<rdar://problem/6518119>

Add localized strings for media controller status messages.

  • English.lproj/Localizable.strings: Localized text.

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

Reviewed by Simon Fraser.

<rdar://problem/6518119>

Add localized strings for media controller status.

  • WebCoreSupport/WebViewFactory.mm: Add new localized text. (-[WebViewFactory mediaElementLoadingStateText]): (-[WebViewFactory mediaElementLiveBroadcastStateText]):

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

Reviewed by Simon Fraser.

Update WebKitSystemInterface for <rdar://problem/6518119>

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
  • libWebKitSystemInterfaceTiger.a:
7:15 AM Changeset in webkit [45473] by Simon Hausmann
  • 5 edits in trunk

WebKitTools:

2009-07-02 Antonio Gomes <antonio.gomes@openbossa.org>

Reviewed by Simon Hausmann.

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

[Qt] Set DRT's default fontsize to 13.

  • DumpRenderTree/qt/DumpRenderTree.cpp: (WebCore::WebPage::WebPage):

LayoutTests:

2009-07-02 Antonio Gomes <antonio.gomes@openbossa.org>

Reviewed by Simon Hausmann.

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

Updated computed-style-expected.txt and computed-style-without-renderer-expected.txt
files according to the default font size value (13) set in DumpRenderTree/qt/DumpRenderTree.cpp .

  • platform/qt/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
7:00 AM Changeset in webkit [45472] by Simon Hausmann
  • 3 edits in trunk/WebKit/qt

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

Reviewed by Ariya Hidayat.

Improve documentation of QWebFrame::setFocus and hasFocus()
Added missing Q_PROPERTY for QWebFrame::hasFocus.

  • Api/qwebframe.cpp: Clarify the docs.
  • Api/qwebframe.h: add Q_PROPERTY(focus).
6:47 AM Changeset in webkit [45471] by Simon Hausmann
  • 4 edits in trunk/WebKit/qt

2009-07-02 Joe Ligman <joseph.ligman@nokia.com>

Reviewed by Simon Hausmann.

Bug 26855: [Qt] New methods for QWebFrame to check and set focus.

Added new public methods QWebFrame::hasFocus() and QWebFrame::setFocus()
Added auto test.

  • Api/qwebframe.cpp: (QWebFrame::hasFocus): (QWebFrame::setFocus):
  • Api/qwebframe.h:
  • tests/qwebframe/tst_qwebframe.cpp:
4:50 AM Changeset in webkit [45470] by xan@webkit.org
  • 2 edits in trunk/WebKit/gtk

2009-07-02 Xan Lopez <xlopez@igalia.com>

Reviewed by Holger Freyther.

Update the new boolean property in FocusController that keeps
track of whether or not the Page is focused.

  • webkit/webkitwebview.cpp: (webkit_web_view_focus_in_event): (webkit_web_view_focus_out_event):

Jul 1, 2009:

11:54 PM Changeset in webkit [45469] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2009-07-01 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

bugzilla-tool fails for SVN users
https://bugs.webkit.org/show_bug.cgi?id=26914

To fix this I moved svn from -F - to using -m
In order for -m to work I had to move us off of shell=True
To move off of shell=True all call sites for run_command
which take args, need to pass their args as an list instead of a string.

In order for the final bug update to work correctly, I had to
abstract the way that we parse out revision numbers from the commit text.

  • Scripts/bugzilla-tool:
  • Scripts/modules/scm.py:
11:30 PM Changeset in webkit [45468] by Simon Fraser
  • 3 edits
    4 adds in trunk

2009-07-01 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

<video> fails to show on http://camendesign.com/code/video_for_everybody
<rdar://problem/7026010>
https://bugs.webkit.org/show_bug.cgi?id=26919

Fix an issue introduced in r44961. In that revision we changed to only update
compositing layer geometry when all siblings had been laid out (i.e. we pushed
the updates one level down). However, that left out the root layer, so this
fix ensures that the root layer geometry gets updated at the end.

Test: compositing/geometry/root-layer-update.html

  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateAfterLayout):
11:26 PM Changeset in webkit [45467] by darin@chromium.org
  • 5 edits in trunk/WebCore

2009-07-01 John Abd-El-Malek <jam@chromium.org>

Reviewed by Darin Fisher.

Small refactoring of MessagePortChannel so that PlatformMessagePortChannel
may be defined at the WebKit layer.

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

  • dom/MessageChannel.cpp: (WebCore::MessageChannel::MessageChannel):
  • dom/MessagePortChannel.cpp:
  • dom/MessagePortChannel.h:
  • dom/default/PlatformMessagePortChannel.cpp: (WebCore::MessagePortChannel::createChannel): (WebCore::MessagePortChannel::create): (WebCore::MessagePortChannel::MessagePortChannel): (WebCore::MessagePortChannel::~MessagePortChannel):
11:04 PM Changeset in webkit [45466] by xan@webkit.org
  • 2 edits in trunk/LayoutTests

2009-07-01 Xan Lopez <xlopez@igalia.com>

Disable accessibility tests until we have the accessibility
controller.

  • platform/gtk/Skipped:
10:13 PM Changeset in webkit [45465] by Simon Fraser
  • 3 edits
    6 adds in trunk

2009-07-01 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein

<rdar://problem/7026010> <video> fails to show on http://camendesign.com/code/video_for_everybody

First part of fix: when outline width changes, don't to a synchronous
layer update right away, but just set the flag to say that compositing
layers need updating. The synchronous layer update left the layer geometries
out of whack when it happened in the middle of layout (e.g. when inside ::first-letter).

Test: compositing/geometry/outline-change.html

  • rendering/RenderView.cpp: (WebCore::RenderView::setMaximalOutlineSize):
10:13 PM Changeset in webkit [45464] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2009-07-01 Eric Seidel <eric@webkit.org>

Reviewed by Maciej Stachowiak.

prepare-ChangeLog should have a --bug= argument and use it for url autofill
https://bugs.webkit.org/show_bug.cgi?id=26383

prepare-ChangeLog now knows how to grab the bug title from bugs.webkit.org
I also added a bit more template text in an effort to get better ChangeLogs
from casual contributers.

  • Scripts/prepare-ChangeLog:
7:08 PM Changeset in webkit [45463] by eric@webkit.org
  • 2 edits in trunk/WebKit/qt

2009-07-01 Robert Hogan <robert@roberthogan.net>

Reviewed by NOBODY.


Fix Qt segfault when javascript disabled.
If clients call addToJavaScriptWindowObject even though JavascriptEnabled is false
webkit will segfault on the assert:

ASSERTION FAILED: _rootObject
(../../../WebCore/bridge/runtime.cpp:52
JSC::Bindings::Instance::Instance(WTF::PassRefPtr<JSC::Bindings::RootObject>))

Fix is to ensure JavaScript is enabled when client calls addToJavaScriptWindowObject.

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

  • Api/qwebframe.cpp: (QWebFrame::addToJavaScriptWindowObject):
7:01 PM Changeset in webkit [45462] by eric@webkit.org
  • 2 edits in trunk/WebCore

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

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=26842
Build fix when ENABLE_DATABASE is off

Move Database.h into ENABLE(DATABASE) guard so toggling ENABLE_DATABASE
off does not break builds.

  • bindings/js/ScriptObjectQuarantine.cpp:
6:35 PM Changeset in webkit [45461] by abarth@webkit.org
  • 6 edits
    4 adds in trunk

WebCore:

2009-07-01 Daniel Bates <dbates@intudata.com>

Reviewed by Adam Barth.


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


Modified XSSAuditor::decodeURL to only remove null characters so that
it is consistent with the behavior of HTMLTokenizer and prevents
injected scripts that contain control characters.

Tests: http/tests/security/xssAuditor/script-tag-control-char.html

http/tests/security/xssAuditor/script-tag-null-char.html

  • page/XSSAuditor.cpp: (WebCore::XSSAuditor::decodeURL): Modified to only remove null characters.
  • page/XSSAuditor.h: Reverted naming of third argument of method XSSAuditor::decodeURL from allowControlCharacters back to allowNullCharacters.
  • platform/network/ResourceResponseBase.cpp: Reverted back to rev #45003. (WebCore::isControlCharacter):
  • platform/network/ResourceResponseBase.h: Reverted back to rev #45003.

LayoutTests:

2009-07-01 Daniel Bates <dbates@intudata.com>

Reviewed by Adam Barth.


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


Tests that XSSAuditor prevents injected scripts that contain control characters.

  • http/tests/security/xssAuditor/script-tag-control-char-expected.txt: Added.
  • http/tests/security/xssAuditor/script-tag-control-char.html: Added.
  • http/tests/security/xssAuditor/script-tag-null-char-expected.txt: Added.
  • http/tests/security/xssAuditor/script-tag-null-char.html: Added.
6:03 PM Changeset in webkit [45460] by eric@webkit.org
  • 5 edits
    1 add in trunk/WebCore

2009-07-01 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Timothy Hatcher.

  • supported keyboard shortcuts compatible with Firebug in Scripts Debugger: F5, Ctrl+/ (win,lin), Command+/ (mac) - continue F10, Ctrl+' (win, lin), Command+' (mac) - step over F11, Ctrl+; (win, lin), Command+; (mac) - step into Shift+F11, Ctrl+Shift+; (win, lin), Command+Shift+; (mac) - step out
  • added call stack navigation shortcuts: Ctrl+. - next call frame Ctrl+, - previouse call frame

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

  • inspector/front-end/CallStackSidebarPane.js: (WebInspector.CallStackSidebarPane): (WebInspector.CallStackSidebarPane.prototype.handleKeyEvent): (WebInspector.CallStackSidebarPane.prototype._selectNextCallFrameOnStack): (WebInspector.CallStackSidebarPane.prototype._selectPreviousCallFrameOnStack): (WebInspector.CallStackSidebarPane.prototype._selectedPlacardByIndex): (WebInspector.CallStackSidebarPane.prototype._selectedCallFrameIndex):
  • inspector/front-end/KeyboardShortcut.js: Added. (WebInspector.KeyboardShortcut): (WebInspector.KeyboardShortcut.makeKey): (WebInspector.KeyboardShortcut.makeKeyFromEvent): (WebInspector.KeyboardShortcut.makeKeyFromCodeAndModifiers_):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype.handleKeyEvent):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:
5:54 PM Changeset in webkit [45459] by agl@chromium.org
  • 7 edits in trunk/WebCore

2009-07-01 Daniel Erat <derat@google.com>

Reviewed by David Levin.

Chromium Linux: Move the scrollbar thumb on middle-click.

https://bugs.webkit.org/show_bug.cgi?id=26910
http://code.google.com/p/chromium/issues/detail?id=11976

Tested by building Chrome and checking that the scrollbar moves as expected.

  • platform/chromium/ScrollbarThemeChromium.cpp:
  • platform/chromium/ScrollbarThemeChromium.h:
  • platform/chromium/ScrollbarThemeChromiumLinux.cpp:
  • platform/chromium/ScrollbarThemeChromiumLinux.h:
  • platform/chromium/ScrollbarThemeChromiumWin.cpp:
  • platform/chromium/ScrollbarThemeChromiumWin.h:
5:38 PM Changeset in webkit [45458] by beidson@apple.com
  • 10 edits in trunk

WebCore:

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

Reviewed by Sam Weinig.

Add a preference/setting to toggle whether content sniffing is enabled for file URLs.

  • WebCore.base.exp:
  • page/Settings.cpp: (WebCore::Settings::setLocalFileContentSniffingEnabled):
  • page/Settings.h: (WebCore::Settings::localFileContentSniffingEnabled):
  • platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::start): (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):

WebKit/mac:

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

Reviewed by Sam Weinig.

Add a preference/setting to toggle whether content sniffing is enabled for file URLs.

  • WebView/WebPreferenceKeysPrivate.h:
  • WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences localFileContentSniffingEnabled]): (-[WebPreferences setLocalFileContentSniffingEnabled:]):
  • WebView/WebPreferencesPrivate.h:
  • WebView/WebView.mm: (-[WebView _preferencesChangedNotification:]):
5:13 PM Changeset in webkit [45457] by weinig@apple.com
  • 3 edits in branches/nitro-extreme/JavaScriptCore

2009-07-01 Sam Weinig <sam@webkit.org>

Reviewed by Gavin Barraclough.

Don't reload values in emitBinaryDoubleOp.

SunSpider reports a 0.6% progression.

  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_jnless): (JSC::JIT::emit_op_jnlesseq): (JSC::JIT::emitBinaryDoubleOp):
4:34 PM Changeset in webkit [45456] by Chris Fleizach
  • 4 edits
    2 adds in trunk

Bug 26909: aria-label needs to be supported
https://bugs.webkit.org/show_bug.cgi?id=26909

4:31 PM Changeset in webkit [45455] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2009-07-01 Eric Seidel <eric@webkit.org>

Reviewed by Adam Roben.

prepare-ChangeLog should fail when EMAIL_ADDRESS or REAL_NAME are missing:
https://bugs.webkit.org/show_bug.cgi?id=26692

I also made prepare-ChangeLog sanity-check names and email addresses a little.
Names must contain a space, and email addresses must contain '@'

Also "fixed" $email_address to $emailAddress. This script uses mixed variable name styles.

  • Scripts/prepare-ChangeLog:
4:15 PM Changeset in webkit [45454] by hyatt@apple.com
  • 6 edits in trunk/WebCore

2009-07-01 David Hyatt <hyatt@apple.com>

Reviewed by Oliver Hunt.

More datagrid columns work. Make sure columns cache both a style for the column header as well
as a style for the column background (behind the cells).

Hook up to CSSStyleSelector methods for obtaining the pseudo styles for columns (stubbed out and
unimplemented).

  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::pseudoStyleForDataGridColumn): (WebCore::CSSStyleSelector::pseudoStyleForDataGridColumnHeader):
  • css/CSSStyleSelector.h:
  • html/DataGridColumn.h: (WebCore::DataGridColumn::setColumnList): (WebCore::DataGridColumn::columnStyle): (WebCore::DataGridColumn::setColumnStyle): (WebCore::DataGridColumn::headerStyle): (WebCore::DataGridColumn::setHeaderStyle):
  • rendering/RenderDataGrid.cpp: (WebCore::RenderDataGrid::recalcStyleForColumn): (WebCore::RenderDataGrid::columnStyle): (WebCore::RenderDataGrid::headerStyle): (WebCore::RenderDataGrid::paintColumnHeaders):
  • rendering/RenderDataGrid.h:
4:12 PM JSC edited by bfulgham@webkit.org
(diff)
4:06 PM JSC edited by bfulgham@webkit.org
Add information about built-in functions. (diff)
3:33 PM Changeset in webkit [45453] by eric.carlson@apple.com
  • 3 edits in trunk/WebCore

2009-07-01 Eric Carlson <eric.carlson@apple.com>

Reviewed by Oliver Hunt.


<rdar://problem/7009870> After <audio> movie finishes playing, Pause button fails to change
back to Play button

Grab onto the current time when QTKit "ended" notification fires and use it as
duration from that point on as QuickTime sometimes refuses to play all the way to
the time it reports for duration and buffered. HTMLMediaElement assumes that there
more to play in this situation and tries to restart playback, endlessly.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.h:

Rename m_duration to m_reportedDuration. Declare m_cachedDuration.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):

Rename m_duration to m_reportedDuration. Initialize m_cachedDuration.

(WebCore::MediaPlayerPrivate::duration):

Return m_cachedDuration once it has been set.

(WebCore::MediaPlayerPrivate::updateStates):

Rename m_duration to m_reportedDuration.

(WebCore::MediaPlayerPrivate::didEnd):

Set m_cachedDuration to currentTime().

3:29 PM JSC edited by bfulgham@webkit.org
(diff)
3:01 PM Changeset in webkit [45452] by Chris Fleizach
  • 11 edits
    2 adds in trunk

Bug 26900: AX: Manual spell check with Command-; does not bring up suggestions
https://bugs.webkit.org/show_bug.cgi?id=26900

2:41 PM Changeset in webkit [45451] by mrowe@apple.com
  • 2 edits in trunk/WebKitTools

Change how WebKitNightlyEnabler.dylib lies about Safari's identity to LaunchServices.

This makes WebKit.app behave as expected when set as the default web browser on a wider
range of OS versions.

Reviewed by Simon Fraser.

  • WebKitLauncher/WebKitNightlyEnabler.m:

(poseAsWebKitApp):
(enableWebKitNightlyBehaviour):

2:41 PM Changeset in webkit [45450] by mrowe@apple.com
  • 2 edits in trunk/WebKitTools

Shuffle some code around in preparation for a change to how poseAsWebKitApp works.

Reviewed by Simon Fraser.

  • WebKitLauncher/WebKitNightlyEnabler.m:

(systemVersion):
(webKitLauncherBundle):
(insideSafari4OnTigerTrampoline):

2:19 PM Changeset in webkit [45449] by weinig@apple.com
  • 2 edits in branches/nitro-extreme/JavaScriptCore

2009-07-01 Sam Weinig <sam@webkit.org>

Reviewed by Geoffrey Garen.

Convert op_div to load op1 and op2 up front.

  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_div):
2:06 PM Changeset in webkit [45448] by levin@chromium.org
  • 4 edits in trunk/WebCore

2009-07-01 David Levin <levin@chromium.org>

Reviewed by Eric Seidel.

Remove unused code in SVGTransformList and SVGTransformDistance
<https://bugs.webkit.org/show_bug.cgi?id=26891>

  • svg/SVGTransformDistance.cpp: (WebCore::SVGTransformDistance::SVGTransformDistance):
  • svg/SVGTransformList.cpp:
  • svg/SVGTransformList.h:
2:02 PM Changeset in webkit [45447] by weinig@apple.com
  • 2 edits in branches/nitro-extreme/JavaScriptCore

2009-07-01 Sam Weinig <sam@webkit.org>

Reviewed by Geoffrey Garen.

Don't emit code in emitBinaryDoubleOp if code is unreachable, observable
via an empty (unlinked) jumplist passed in. This only effects op_jnless
and op_jnlesseq at present.

  • jit/JITArithmetic.cpp: (JSC::JIT::emitSlow_op_jnless): (JSC::JIT::emitSlow_op_jnlesseq): (JSC::JIT::emitBinaryDoubleOp):
1:59 PM Changeset in webkit [45446] by hyatt@apple.com
  • 10 edits in trunk/WebCore

2009-07-01 David Hyatt <hyatt@apple.com>

Reviewed by Anders Carlsson.

Begin stubbing out functions for layout, painting and style/geometry caching on columns. Not enough
is implemented for this to do much of anything yet, but it should help keep patch sizes down. :)

  • html/DataGridColumn.cpp: (WebCore::DataGridColumn::columnChanged):
  • html/DataGridColumn.h: (WebCore::DataGridColumn::setId): (WebCore::DataGridColumn::setLabel): (WebCore::DataGridColumn::setType): (WebCore::DataGridColumn::setSortable): (WebCore::DataGridColumn::setSortDirection): (WebCore::DataGridColumn::setColumnList): (WebCore::DataGridColumn::style): (WebCore::DataGridColumn::setStyle): (WebCore::DataGridColumn::rect): (WebCore::DataGridColumn::setRect):
  • html/DataGridColumnList.cpp: (WebCore::DataGridColumnList::DataGridColumnList): (WebCore::DataGridColumnList::setDataGridNeedsLayout): (WebCore::DataGridColumnList::add): (WebCore::DataGridColumnList::remove): (WebCore::DataGridColumnList::move): (WebCore::DataGridColumnList::clear): (WebCore::DataGridColumnList::primaryColumnChanged):
  • html/DataGridColumnList.h: (WebCore::DataGridColumnList::create): (WebCore::DataGridColumnList::dataGrid): (WebCore::DataGridColumnList::clearDataGrid):
  • html/HTMLDataGridColElement.cpp: (WebCore::HTMLDataGridColElement::HTMLDataGridColElement): (WebCore::HTMLDataGridColElement::findDataGridAncestor): (WebCore::HTMLDataGridColElement::insertedIntoTree): (WebCore::HTMLDataGridColElement::removedFromTree):
  • html/HTMLDataGridColElement.h: (WebCore::HTMLDataGridColElement::dataGrid):
  • html/HTMLDataGridElement.cpp: (WebCore::HTMLDataGridElement::HTMLDataGridElement): (WebCore::HTMLDataGridElement::~HTMLDataGridElement):
  • rendering/RenderDataGrid.cpp: (WebCore::RenderDataGrid::styleDidChange): (WebCore::RenderDataGrid::recalcStyleForColumns): (WebCore::RenderDataGrid::recalcStyleForColumn): (WebCore::RenderDataGrid::styleForColumn): (WebCore::RenderDataGrid::layout): (WebCore::RenderDataGrid::layoutColumns): (WebCore::RenderDataGrid::paintColumnHeaders): (WebCore::RenderDataGrid::paintColumnHeader):
  • rendering/RenderDataGrid.h: (WebCore::RenderDataGrid::renderName): (WebCore::RenderDataGrid::canHaveChildren):
1:41 PM JSC created by bfulgham@webkit.org
Initial entry to document the utility.
1:38 PM Changeset in webkit [45445] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2009-07-01 Daniel Bates <dbates@intudata.com>

Reviewed by Adam Barth.

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


Fixes this address by checking whether frame->document()->decoder() is null.

  • page/XSSAuditor.cpp: (WebCore::XSSAuditor::findInRequest):
12:01 PM Changeset in webkit [45444] by Nikolas Zimmermann
  • 4 edits
    12 adds in trunk

2009-07-01 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>

Reviewed by George Staikos.

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

Correctly reset history length to '0', not '1'. Old relict from early WML days.
Add some new WML testcases covering the use of history length (by onenterforward event handling)

Tests: wml/onenterforward-event.html

wml/onenterforward-inline-event.html
wml/ontimer-event.html


  • wml/WMLPageState.cpp: (WebCore::WMLPageState::reset):

2009-07-01 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>

Reviewed by George Staikos.

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

Add new WML testcases covering onenterforward/ontimer support.

  • wml/onenterforward-event-expected.txt: Added.
  • wml/onenterforward-event.html: Added.
  • wml/onenterforward-inline-event-expected.txt: Added.
  • wml/onenterforward-inline-event.html: Added.
  • wml/ontimer-event-expected.txt: Added.
  • wml/ontimer-event.html: Added.
  • wml/resources/onenterforward-event.js: Added. (setupTestDocument): (prepareTest): (executeTest):
  • wml/resources/onenterforward-event.wml: Added.
  • wml/resources/onenterforward-inline-event.js: Added. (setupTestDocument): (prepareTest): (executeTest):
  • wml/resources/onenterforward-inline-event.wml: Added.
  • wml/resources/ontimer-event.js: Added. (setupTestDocument): (prepareTest): (executeTest):
  • wml/resources/ontimer-event.wml: Added.
  • wml/resources/ontimer-inline-event.js:
11:41 AM Changeset in webkit [45443] by hyatt@apple.com
  • 4 edits
    2 adds in trunk

WebCore:

2009-07-01 David Hyatt <hyatt@apple.com>

Reviewed by Simon Fraser.

Make sure setting attributes on dcol elements properly updates the corresponding DataGridColumn object.

Added new test in fast/dom/HTMLDataGridElement.

  • html/HTMLDataGridColElement.cpp: (WebCore::HTMLDataGridColElement::parseMappedAttribute):
  • html/HTMLDataGridColElement.h:

LayoutTests:

2009-07-01 David Hyatt <hyatt@apple.com>

Reviewed by Simon Fraser.

Add layout test for being able to set attributes on dcol elements.


  • fast/dom/HTMLDataGridElement/DataGridColumns-dom-attributes-expected.txt: Added.
  • fast/dom/HTMLDataGridElement/DataGridColumns-dom-attributes.html: Added.
11:19 AM Changeset in webkit [45442] by Simon Fraser
  • 1 edit
    4 adds in trunk/LayoutTests

2009-07-01 Simon Fraser <Simon Fraser>

Reviewed by Dimitri Glazkov.

Add some missing pixel results for compositing tests.

  • platform/mac/compositing/layers-inside-overflow-scroll-expected.checksum: Added.
  • platform/mac/compositing/layers-inside-overflow-scroll-expected.png: Added.
  • platform/mac/compositing/overflow/overflow-scroll-expected.checksum: Added.
  • platform/mac/compositing/overflow/overflow-scroll-expected.png: Added.
11:12 AM Changeset in webkit [45441] by ggaren@apple.com
  • 2 edits in branches/nitro-extreme/JavaScriptCore

2009-07-01 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.

Converted op_mod to put { tag, payload } in { regT1, regT0 }, and
tidied up its constant case.


SunSpider reports a 0.2% regression, but a micro-benchmark of op_mod
shows a 12% speedup, and the SunSpider test that uses op_mod most should
benefit a lot from result caching in the end, since it almost always
performs (expression) % constant.

  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_mod): (JSC::JIT::emitSlow_op_mod):
11:11 AM Drosera edited by bfulgham@webkit.org
Add link to Web Inspector page. (diff)
9:53 AM Changeset in webkit [45440] by hyatt@apple.com
  • 9 edits in trunk

WebCore:

2009-07-01 David Hyatt <hyatt@apple.com>

Reviewed by Tim Hatcher.

<rdar://problem/6998524> REGRESSION (r44474): Form text field has focus ring, looks focused,
even though the field is not actually focused for keyboard input


Add the concept of whether or not the Page is focused by adding a boolean to the focusController. This allows the
focused frame and focused node to both be cached and changed programmatically even when the Page itself doesn't
actually happen to have focus at that time.

  • WebCore.base.exp:
  • page/FocusController.cpp: (WebCore::FocusController::FocusController): (WebCore::FocusController::setFocusedFrame): (WebCore::FocusController::setFocused): (WebCore::FocusController::setActive):
  • page/FocusController.h: (WebCore::FocusController::isFocused):

WebKit/mac:

2009-07-01 David Hyatt <hyatt@apple.com>

Reviewed by Tim Hatcher.

<rdar://problem/6998524> REGRESSION (r44474): Form text field has focus ring, looks focused,
even though the field is not actually focused for keyboard input


Add the concept of whether or not the Page is focused by adding a boolean to the focusController. This allows the
focused frame and focused node to both be cached and changed programmatically without causing errors when the Page doesn't
have focus.

  • WebView/WebHTMLView.mm: (-[WebHTMLView becomeFirstResponder]): (-[WebHTMLView resignFirstResponder]):

WebKit/win:

2009-07-01 David Hyatt <hyatt@apple.com>

Reviewed by Tim Hatcher.

<rdar://problem/6998524> REGRESSION (r44474): Form text field has focus ring, looks focused,
even though the field is not actually focused for keyboard input


Add the concept of whether or not the Page is focused by adding a boolean to the focusController. This allows the
focused frame and focused node to both be cached and changed programmatically without causing errors when the Page doesn't
have focus.

  • WebView.cpp: (WebViewWndProc):
9:47 AM Changeset in webkit [45439] by Nikolas Zimmermann
  • 2 edits in trunk/LayoutTests

Reviewed by George Staikos.

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

WMLTestCase.js relies on timing-dependant hacks, making it difficult to predict results on slower machines.
Fix by rewriting and simplifying the testing procedure, which contained unnecessary quirks working around older WML bugs.

9:06 AM Changeset in webkit [45438] by eric.carlson@apple.com
  • 4 edits in trunk/WebKitLibraries

2009-07-01 Eric Carlson <eric.carlson@apple.com>

Reviewed by Simon Fraser.

Update WebKitSystemInterface for <rdar://problem/7014990>

  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
  • libWebKitSystemInterfaceTiger.a:
8:44 AM Changeset in webkit [45437] by Nikolas Zimmermann
  • 1 edit in trunk/WebKitTools/Scripts/modules

Not reviewed. Ignore *.pyc files to not clutter up 'svn st'.

8:10 AM Changeset in webkit [45436] by Nikolas Zimmermann
  • 6 edits in trunk/LayoutTests

Reviewed by Holger Freyther.
Apply same cleanup to WML testcases living in http/tests/wml/. Forgot about them in my last commit.

8:03 AM Changeset in webkit [45435] by Nikolas Zimmermann
  • 7 edits in trunk/LayoutTests

Reviewed by Holger Freyther.

Slightly cleanup some WML testcases:
Use "anchorElement.textContent = '...'" instead of "anchorElement.appendChild(document.createTextNode('...'))"

5:55 AM Changeset in webkit [45434] by Simon Hausmann
  • 4 edits in trunk

WebCore:

2009-07-01 Jakub Wieczorek <faw217@gmail.com>

Reviewed by Simon Hausmann.

[Qt] Move some API headers from WebCore.pro to headers.pri so that they
get installed when running make install from the build directory.

  • WebCore.pro:

WebKit/qt:

2009-07-01 Jakub Wieczorek <faw217@gmail.com>

Reviewed by Simon Hausmann.

[Qt] Move some API headers from WebCore.pro to headers.pri so that they
get installed when running make install from the build directory.

  • Api/headers.pri:
4:36 AM Changeset in webkit [45433] by Simon Hausmann
  • 2 edits in trunk/WebKit/qt

2009-07-01 Balazs Kelemen <kelemen.balazs.3@stud.u-szeged.hu>

Reviewed by Simon Hausmann.

Fixed robotized QtLauncher to work when there is no index.html in the user's home.

  • QtLauncher/main.cpp: (main):
2:40 AM Changeset in webkit [45432] by Simon Hausmann
  • 2 edits in trunk/WebCore

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

Rubber-stamped by Ariya Hidayat.

Ran WebKitTools/Scripts/generate-qt-inspector-resource to update the
qrc file with new png files from the web inspector.

  • inspector/front-end/WebKit.qrc:

Jun 30, 2009:

11:51 PM Changeset in webkit [45431] by xan@webkit.org
  • 2 edits in trunk/WebKitTools

2009-06-30 Xan Lopez <xlopez@igalia.com>

Reviewed by Jan Alonzo.

https://bugs.webkit.org/show_bug.cgi?id=26877
[GTK] DRT fixes to pass new plugin test

Silence compiler warnings.

Newer GCC don't like using or returning a static string where a
'char*' is expected. Ideally we'd change the function signatures
to return or take 'const char*' I suppose, but since we can't do
that just cast the strings to 'char*'.

  • DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_get_value):
11:42 PM Changeset in webkit [45430] by xan@webkit.org
  • 2 edits in trunk/WebKitTools

2009-06-30 Xan Lopez <xlopez@igalia.com>

Reviewed by Jan Alonzo.

https://bugs.webkit.org/show_bug.cgi?id=26877
[GTK] DRT fixes to pass new plugin test

Use the common pluginLog function instead of a local copy.

  • DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_new_instance): (webkit_test_plugin_destroy_instance): (webkit_test_plugin_set_window): (webkit_test_plugin_handle_event):
11:41 PM Changeset in webkit [45429] by xan@webkit.org
  • 2 edits in trunk/WebKitTools

2009-06-30 Xan Lopez <xlopez@igalia.com>

Reviewed by Jan Alonzo.

https://bugs.webkit.org/show_bug.cgi?id=26877
[GTK] DRT fixes to pass new plugin test

Modify our DRT as done in bug #15457 to log logSrc as src in order
to pass test plugins/netscape-plugin-map-data-to-src.html.

  • DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_new_instance):
11:10 PM Changeset in webkit [45428] by weinig@apple.com
  • 2 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Sam Weinig <sam@webkit.org>

Reviewed by Geoffrey Garen.

Converted some more arithmetic ops to put { tag, payload } in
{ regT1, regT0 }.

  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_mul): (JSC::JIT::emitSlow_op_mul):
11:07 PM Changeset in webkit [45427] by adele@apple.com
  • 2 edits in trunk/WebKit/mac

2009-06-30 Adele Peterson <adele@apple.com>

Reviewed by Dan Bernstein.

Fix for <rdar://problem/7014389> REGRESSION(4-TOT): Hyperlinks have no tooltips in Mail unless you first click in the message body

Updated these new methods (added as part of the viewless WebKit effort) that call through to WebHTMLView to use _selectedOrMainFrame,
instead of just selectedFrame. When the selection changes, I don't think there is a situation where there's no selected frame, but
it seems better to keep these two uses the same, since if there is a case, this will be more like the old behavior, before there was
a version of _selectionChanged in WebView.

  • WebView/WebView.mm: (-[WebView _setToolTip:]): (-[WebView _selectionChanged]):
10:58 PM Changeset in webkit [45426] by xan@webkit.org
  • 2 edits in trunk/LayoutTests

2009-06-30 Xan Lopez <xlopez@igalia.com>

Disable test using eventSender.

  • platform/gtk/Skipped:
10:44 PM Changeset in webkit [45425] by xan@webkit.org
  • 2 edits in trunk/LayoutTests

2009-06-30 Xan Lopez <xlopez@igalia.com>

Disable new tests until we enable the accessibility controller.

  • platform/gtk/Skipped:
10:28 PM Changeset in webkit [45424] by ggaren@apple.com
  • 3 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.

Converted some more arithmetic ops to put { tag, payload } in
{ regT1, regT0 }, and added a case for subtract constant.


SunSpider says no change. v8 says 0.3% slower.

  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_add): (JSC::JIT::emitAdd32Constant): (JSC::JIT::emitSlow_op_add): (JSC::JIT::emit_op_sub): (JSC::JIT::emitSub32Constant): (JSC::JIT::emitSlow_op_sub):
10:19 PM Changeset in webkit [45423] by mrowe@apple.com
  • 2 edits in trunk/WebCore

Land some code that has a hope of compiling.

  • platform/graphics/cg/ImageSourceCG.cpp:

(WebCore::imageSourceOptions):

9:55 PM Changeset in webkit [45422] by barraclough@apple.com
  • 5 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Gavin Barraclough <barraclough@apple.com>

Reviewed by Sam Weinig.

Remove more uses of addressFor(), load double constants directly from
the constantpool in the CodeBlock, rather than from the register file.

  • jit/JITArithmetic.cpp: (JSC::JIT::emitAdd32Constant): (JSC::JIT::emitBinaryDoubleOp):
9:37 PM Changeset in webkit [45421] by Stephanie Lewis
  • 2 edits in trunk/WebCore

2009-06-30 Stephanie Lewis <Stephanie Lewis>

Reviewed by Simon Fraser.

Flip back on block caching. Throwing away block data, while
a perceived memory win, is a performance hit in cases where we
are repainting large images (i.e. backgrounds) frequently
(i.e. a flash video playing on top).
<rdar://problem/6933515> REGRESSION(L-SL): Large JPEG images are
decoded on drawing, slowing down painting of sites that frequently
repaint e.g. because of Flash (pandora.com, Starcraft 2)

  • platform/graphics/cg/ImageSourceCG.cpp: (WebCore::imageSourceOptions):
8:50 PM Changeset in webkit [45420] by ggaren@apple.com
  • 5 edits in branches/nitro-extreme

JavaScriptCore:

2009-06-30 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.


Fixed a bug in postfix ops, where we would treat x = x++ and x = x--
as a no-op, even if x were not an int, and the ++/-- could have side-effects.

  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_post_inc): (JSC::JIT::emitSlow_op_post_inc): (JSC::JIT::emit_op_post_dec): (JSC::JIT::emitSlow_op_post_dec):

LayoutTests:

2009-06-30 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.


Added a test for x=x++ and x=x-- where the ++ / -- have side-effects.

  • fast/js/postfix-syntax-expected.txt:
  • fast/js/resources/postfix-syntax.js: (o.valueOf):
8:24 PM Changeset in webkit [45419] by mjs@apple.com
  • 11 edits
    1 move in trunk/WebCore

2009-06-30 Maciej Stachowiak <mjs@apple.com>

Reviewed by Sam Weinig.

  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • css/CSSStyleSelector.cpp: (WebCore::loadFullDefaultStyle):
  • css/html.css: Copied from css/html4.css.
  • css/html4.css: Removed.
  • css/themeWin.css:
  • platform/Theme.h:
  • platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::adjustMenuListButtonStyle):
  • rendering/RenderTheme.h:
7:53 PM Changeset in webkit [45418] by jmalonzo@webkit.org
  • 1 edit in trunk/WebKitTools/ChangeLog

Fix ChangeLog of r45415

7:40 PM Changeset in webkit [45417] by ggaren@apple.com
  • 1 edit in branches/nitro-extreme/JavaScriptCore/ChangeLog

Fixed a ChangeLog merge fail.

7:40 PM Changeset in webkit [45416] by ggaren@apple.com
  • 4 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Gavin Barraclough <barraclough@apple.com>

Reviewed by Sam Weinig.

Start removing cases of addressFor().

  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::emitAdd32Constant): (JSC::JIT::emitBinaryDoubleOp): (JSC::JIT::emit_op_div):
  • jit/JITInlineMethods.h: (JSC::JIT::emitLoadDouble): (JSC::JIT::emitLoadInt32ToDouble): (JSC::JIT::emitStoreDouble):
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_jfalse): (JSC::JIT::emit_op_jtrue):
7:27 PM Changeset in webkit [45415] by jmalonzo@webkit.org
  • 2 edits in trunk/WebKitTools

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

Reviewed by Jan Alonzo.

[GTK] GtkLauncher depends on gtk+2-2.15 because of gtk_orientable_set_orientation()
https://bugs.webkit.org/show_bug.cgi?id=26835

  • GtkLauncher/main.c: (create_toolbar):
7:16 PM Changeset in webkit [45414] by jmalonzo@webkit.org
  • 3 edits in trunk/WebCore

2009-06-30 Zan Dobersek <zandobersek@gmail.com>

Reviewed by Gustavo Noronha.

[GTK] Drag and drop support
https://bugs.webkit.org/show_bug.cgi?id=23642

Define DragImageRef as GdkPixbuf and implement essential
functions which manipulate drag images.

  • platform/DragImage.h:
  • platform/gtk/DragImageGtk.cpp: (WebCore::dragImageSize): (WebCore::deleteDragImage): (WebCore::scaleDragImage): (WebCore::createDragImageFromImage):
7:15 PM Changeset in webkit [45413] by jmalonzo@webkit.org
  • 2 edits in trunk/WebCore

2009-06-30 Maxime Simon <Maxime Simon>

Reviewed by Eric Seidel.

StorageNamespace.cpp build issue
https://bugs.webkit.org/show_bug.cgi?id=26859

Moved #endif ENABLE(DOM_STORAGE) position
so that the build doesn't fail.
The namespace WebCore was started after the #if ENABLE(DOM_STORAGE)
but closed after the #endif.

  • storage/StorageNamespace.cpp:
6:01 PM Changeset in webkit [45412] by barraclough@apple.com
  • 5 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Gavin Barraclough <barraclough@apple.com>

Reviewed by Sam Weinig.

Start removing cases of addressFor().

  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::emitAdd32Constant): (JSC::JIT::emitBinaryDoubleOp): (JSC::JIT::emit_op_div):
  • jit/JITInlineMethods.h: (JSC::JIT::emitLoadDouble): (JSC::JIT::emitLoadInt32ToDouble): (JSC::JIT::emitStoreDouble):
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_jfalse): (JSC::JIT::emit_op_jtrue):
5:40 PM Changeset in webkit [45411] by Simon Fraser
  • 13 edits in trunk/LayoutTests

2009-06-30 Simon Fraser <Simon Fraser>

Rubber-stamped by Dan Bernstein.

Update compositing pixel results now that DRT dumps them correctly.

  • compositing/overflow/overflow-scroll.html: Fixed typo in this testcase.
  • platform/mac/compositing/overflow/ancestor-overflow-expected.checksum:
  • platform/mac/compositing/overflow/ancestor-overflow-expected.png:
  • platform/mac/compositing/overflow/overflow-positioning-expected.checksum:
  • platform/mac/compositing/overflow/overflow-positioning-expected.png:
  • platform/mac/compositing/overflow/overflow-scroll-expected.txt:
  • platform/mac/compositing/overflow/parent-overflow-expected.checksum:
  • platform/mac/compositing/overflow/parent-overflow-expected.png:
  • platform/mac/compositing/repaint/content-into-overflow-expected.checksum:
  • platform/mac/compositing/repaint/content-into-overflow-expected.png:
  • platform/mac/compositing/repaint/overflow-into-content-expected.checksum:
  • platform/mac/compositing/repaint/overflow-into-content-expected.png:
5:40 PM Changeset in webkit [45410] by Simon Fraser
  • 2 edits in trunk/WebKitTools

2009-06-30 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

Fix drawing of view background in pixel snapshots when using compositing.
We still need to call -displayIfNeeded to ensure that the NSView drawing
has happened.

  • DumpRenderTree/mac/PixelDumpSupportMac.mm: (createBitmapContextFromWebView):
4:29 PM Changeset in webkit [45409] by ggaren@apple.com
  • 4 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Geoffrey Garen <ggaren@apple.com>

Rolled back in my last patch with regression fixed.

  • jit/JIT.cpp: (JSC::JIT::privateCompileSlowCases):
  • jit/JIT.h:
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_loop_if_less): (JSC::JIT::emit_op_loop_if_lesseq): (JSC::JIT::emit_op_resolve_global): (JSC::JIT::emitSlow_op_resolve_global): (JSC::JIT::emit_op_eq): (JSC::JIT::emitSlow_op_eq): (JSC::JIT::emit_op_neq): (JSC::JIT::emitSlow_op_neq):
4:09 PM Changeset in webkit [45408] by eric@webkit.org
  • 2 edits in trunk/LayoutTests

2009-06-30 Eric Seidel <eric@webkit.org>

No review, reverting r45396. (George Staikos agrees the change was wrong.)
http://trac.webkit.org/changeset/45396

  • fast/css/getComputedStyle/computed-style-font-family-expected.txt:
4:01 PM Changeset in webkit [45407] by eric.carlson@apple.com
  • 3 edits in trunk/WebCore

2009-06-30 Eric Carlson <eric.carlson@apple.com>

Reviewed by Oliver Hunt.

<rdar://problem/7020825> HTMLMediaElement should not assume seeking is only possible in
buffered time ranges

  • html/HTMLMediaElement.cpp:

Don't ASSERT if the network state goes to Idle when when the ready state is
HaveEnoughData or higher, it is perfectly legal.

(WebCore::HTMLMediaElement::setReadyState):

Don't clear m_seeking after posting a 'seeking' event.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::seek):

Do nothing when asked to seek to the same time we are already seeking to. Check requested
seek time against maxTimeSeekable, not maxTimeLoaded.

(WebCore::MediaPlayerPrivate::doSeek):

Don't bother stopping a movie that isn't playing. Minor cleanup to make the code more readable.

(WebCore::MediaPlayerPrivate::seekTimerFired):

Check requested seek time against maxTimeSeekable, not maxTimeLoaded.

(WebCore::MediaPlayerPrivate::updateStates):

A streaming movie has as much data as it needs once it reaches "playable", so
set the ready state to HaveFutureData. A movie with metadata doesn't drop back
to "have nothing" when seeking. A streaming movie doesn't use the network when paused.

(WebCore::MediaPlayerPrivate::timeChanged):

It may not be possible to seek to a specific time in a streamed movie but when seeking
in a streaming movie QuickTime sets the time to closest time possible and posts a
timechanged notification, so update m_seekTo so we can detect when the seek completes.

3:43 PM Changeset in webkit [45406] by ggaren@apple.com
  • 4 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Geoffrey Garen <ggaren@apple.com>

Rolled out my last patch because it was a 2% SunSpider regression.

  • jit/JIT.cpp: (JSC::JIT::privateCompileSlowCases):
  • jit/JIT.h:
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_loop_if_less): (JSC::JIT::emit_op_loop_if_lesseq): (JSC::JIT::emit_op_resolve_global): (JSC::JIT::emit_op_eq): (JSC::JIT::emitSlow_op_eq): (JSC::JIT::emit_op_neq): (JSC::JIT::emitSlow_op_neq):
3:43 PM Changeset in webkit [45405] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2009-06-30 Eric Seidel <eric@webkit.org>

Typo fix only, no review.

Fix typo causing failure during land-diff

  • Scripts/bugzilla-tool:
3:27 PM Changeset in webkit [45404] by ggaren@apple.com
  • 4 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Geoffrey Garen <ggaren@apple.com>

Reviewed by Gavin "Sam Weinig" Barraclough.


Standardized the rest of our opcodes to put { tag, payload } in
{ regT1, regT0 } where possible.

  • jit/JIT.cpp: (JSC::JIT::privateCompileSlowCases):
  • jit/JIT.h:
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_loop_if_less): (JSC::JIT::emit_op_loop_if_lesseq): (JSC::JIT::emit_op_resolve_global): (JSC::JIT::emitSlow_op_resolve_global): (JSC::JIT::emit_op_eq): (JSC::JIT::emitSlow_op_eq): (JSC::JIT::emit_op_neq): (JSC::JIT::emitSlow_op_neq):
3:06 PM Changeset in webkit [45403] by sfalken@apple.com
  • 2 edits in trunk/WebCore

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

Reviewed by Sam Weinig.

Blacklist Yahoo Application State plug-in for versions prior to 1.0.0.6.
Earlier versions cause corruption crashes.

  • plugins/win/PluginPackageWin.cpp: (WebCore::PluginPackage::isPluginBlacklisted):
2:57 PM Changeset in webkit [45402] by dino@apple.com
  • 9 edits in trunk/WebCore

2009-06-30 Dean Jackson <dino@apple.com>

Reviewed by Simon Fraser.

<rdar://problem/7005207> <video> in canvas broken with ACCEL_COMPOSITING

Fix drawImage of video in CanvasRenderingContext2D when
accelerated compositing is enabled. This is done by
adding a new paint method to HTMLVideoElement that
is only called from canvas, which will create the software
renderer if necessary, but otherwise calls the regular
paint method. Meanwhile, add logic to the software video
renderer so that it can be created without calling repaint
every time it sees a new frame.

  • html/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::drawImage):
  • html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::paintCurrentFrameInContext):
  • html/HTMLVideoElement.h:
  • platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::paintCurrentFrameInContext):
  • platform/graphics/MediaPlayer.h:
  • platform/graphics/MediaPlayerPrivate.h: (WebCore::MediaPlayerPrivateInterface::paintCurrentFrameInContext):
  • platform/graphics/mac/MediaPlayerPrivateQTKit.h:
  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::createQTMovie): (WebCore::MediaPlayerPrivate::createQTVideoRenderer): (WebCore::MediaPlayerPrivate::currentRenderingMode): (WebCore::MediaPlayerPrivate::setUpVideoRendering): (WebCore::MediaPlayerPrivate::tearDownVideoRendering): (WebCore::MediaPlayerPrivate::paintCurrentFrameInContext):
2:47 PM Changeset in webkit [45401] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2009-06-30 Simon Fraser <Simon Fraser>

Reviewed by Mark Rowe.

createBitmapContextFromWebView() incorrectly used #ifdef BUILDING_ON_LEOPARD,
and thus failed on SnowLeopard.

  • DumpRenderTree/mac/PixelDumpSupportMac.mm: (createBitmapContextFromWebView):
2:39 PM Changeset in webkit [45400] by barraclough@apple.com
  • 7 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Gavin Barraclough <barraclough@apple.com>

Reviewed by Geoffrey Garen.

Replace calls to store32(tagFor()) and store32(payloadFor())
with emitStoreInt32(), emitStoreBool(), and emitStoreCell().

  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_negate): (JSC::JIT::emit_op_lshift): (JSC::JIT::emit_op_rshift): (JSC::JIT::emit_op_bitand): (JSC::JIT::emitBitAnd32Constant): (JSC::JIT::emit_op_bitor): (JSC::JIT::emitBitOr32Constant): (JSC::JIT::emit_op_bitxor): (JSC::JIT::emitBitXor32Constant): (JSC::JIT::emit_op_bitnot): (JSC::JIT::emit_op_post_inc): (JSC::JIT::emit_op_post_dec): (JSC::JIT::emit_op_pre_inc): (JSC::JIT::emit_op_pre_dec): (JSC::JIT::emit_op_add): (JSC::JIT::emitAdd32Constant): (JSC::JIT::emit_op_sub): (JSC::JIT::emitSub32ConstantLeft): (JSC::JIT::emitSub32ConstantRight): (JSC::JIT::emit_op_mul): (JSC::JIT::emitSlow_op_mul): (JSC::JIT::emit_op_div): (JSC::JIT::emit_op_mod):
  • jit/JITCall.cpp: (JSC::JIT::emit_op_load_varargs):
  • jit/JITInlineMethods.h: (JSC::JIT::emitStoreInt32): (JSC::JIT::emitStoreCell): (JSC::JIT::emitStoreBool): (JSC::JIT::emitStore):
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_instanceof): (JSC::JIT::emit_op_not): (JSC::JIT::emit_op_eq): (JSC::JIT::emitSlow_op_eq): (JSC::JIT::emit_op_neq): (JSC::JIT::emitSlow_op_neq): (JSC::JIT::compileOpStrictEq): (JSC::JIT::emit_op_eq_null): (JSC::JIT::emit_op_neq_null):
  • jit/JITStubCall.h: (JSC::JITStubCall::call):
2:38 PM Changeset in webkit [45399] by hyatt@apple.com
  • 1 edit in trunk/WebCore/ChangeLog

Remove conflict markers from ChangeLog.

2:37 PM Changeset in webkit [45398] by Simon Fraser
  • 2 edits in trunk/WebKitTools

2009-06-30 Simon Fraser <Simon Fraser>

Reviewed by Mark Rowe.

createBitmapContextFromWebView() incorrectly used #ifdef BUILDING_ON_LEOPARD,
and thus failed on SnowLeopard.

  • DumpRenderTree/mac/PixelDumpSupportMac.mm: (createBitmapContextFromWebView):
2:37 PM Changeset in webkit [45397] by hyatt@apple.com
  • 8 edits
    2 adds in trunk

WebCore:

<<<<<<< .mine

LayoutTests:

2009-06-30 David Hyatt <hyatt@apple.com>

Reviewed by Beth Dakin.

Add layout test for https://bugs.webkit.org/show_bug.cgi?id=26858.

  • fast/dom/HTMLDataGridElement/DataGridColumns-dom-expected.txt: Added.
  • fast/dom/HTMLDataGridElement/DataGridColumns-dom.html: Added.
2:27 PM Changeset in webkit [45396] by Simon Hausmann
  • 2 edits in trunk/LayoutTests

2009-06-30 Antonio Gomes <antonio.gomes@openbossa.org>

Reviewed by Simon Hausmann.

Updated LayoutTests/fast/css/getComputedStyle/computed-style-font-family-expected.txt
according to the default font size value set in WebKit/qt/Api/qwebsettings.cpp (in
this case '14').

  • fast/css/getComputedStyle/computed-style-font-family-expected.txt:
2:27 PM Changeset in webkit [45395] by Simon Hausmann
  • 2 edits in trunk/LayoutTests

2009-06-30 Antonio Gomes <antonio.gomes@openbossa.org>

Reviewed by Simon Hausmann.

Updated LayoutTests/platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
to some newly cross-platform CSS properties.

  • platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2:07 PM Changeset in webkit [45394] by levin@chromium.org
  • 3 edits in trunk/WebCore

2009-06-30 Jeremy Orlow (jorlow@chromium.org)

Reviewed by David Levin.

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

Fix some minor build issues in the v8 bindings.

  • bindings/v8/custom/V8StorageCustom.cpp: (WebCore::V8Custom::v8StorageNamedPropertyEnumerator): (WebCore::storageGetter): (WebCore::storageSetter): (WebCore::storageDeleter):
  • storage/StorageArea.cpp:
1:16 PM Changeset in webkit [45393] by mrowe@apple.com
  • 4 edits in branches/WWDC-2009-branch

Versioning.

1:16 PM Changeset in webkit [45392] by mrowe@apple.com
  • 1 copy in tags/Safari-6530.19.2

New tag.

1:10 PM Changeset in webkit [45391] by agl@chromium.org
  • 3 edits in trunk/WebCore

2009-06-30 Adam Langley <agl@google.com>

Reviewed by Eric Seidel.

Chromium Linux: use different fonts for each script run.

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

Previously, when rendering complex text, we picked a single font which
could render all the glyphs needed for the run. However, this meant
that sometimes lines were rendered with, for example, [LATIN, THAI,
LATIN] and we could end up with a different font for the Latin parts
than for lines without Thai in them.

With this patch, we pick a font for each script run.

This change is covered by existing layout tests.

1:02 PM Changeset in webkit [45390] by mrowe@apple.com
  • 1 edit in branches/WWDC-2009-branch/WebKit/mac/ChangeLog

Fix up the ChangeLog.

1:02 PM Changeset in webkit [45389] by levin@chromium.org
  • 2 edits in trunk/LayoutTests

2009-06-30 David Levin <levin@chromium.org>

Reviewed by Oliver Hunt.

Make media/video-document-types pass again. It broke when the
call to waitUntilDone was accidently made asynchronous in r45378.

  • media/video-document-types.html:
12:57 PM Changeset in webkit [45388] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebKit/mac

Merge r45386.

12:53 PM Changeset in webkit [45387] by Simon Fraser
  • 9 edits
    2 adds in trunk

2009-06-30 Simon Fraser <Simon Fraser>

Reviewed by Dave Hyatt, Dan Bernstein.

<rdar://problem/6191676> Redraw issues scrolling overflow:scroll div with compositing

There are two parts to this fix. First, if a compositing layer has overflow clipping
or a mask, then the compositing layer does not need to be sized to encompass all
non-composited children.

Second, when scrolling, we have to back up to the compositing ancestor and have
it reposition descendant compositing layers, because overflow doesn't follow
the z-order tree.

Test: compositing/overflow/overflow-scroll.html

  • page/FrameView.cpp: (WebCore::FrameView::layout): Pass the UpdateCompositingLayers flag when updating layers after layout, so that we can reposition compositing layers if we're not about to do a layer rebuild.
  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateLayerPositions): Only update compositing layers if the flag is set.

(WebCore::RenderLayer::scrollToOffset):
Do compositing layer updates from the compositing ancestor in one fell swoop.

  • rendering/RenderLayer.h: Replace the unused FullUpdate flag with one that allows us to specify whether compositing layers should be updated.
  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateAfterLayout):
  • rendering/RenderLayerBacking.h: New param that we can pass to updateCompositingDescendantGeometry to control whether the update goes deep.
  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::calculateCompositedBounds): We can return earlier if this is not a self-painting layer. If the layer has overflow clip or a mask, then the composited bounds are just the local bounds, excluding descendants.

(WebCore::RenderLayerCompositor::updateCompositingDescendantGeometry):

  • rendering/RenderLayerCompositor.h: Renamed from updateCompositingChildrenGeometry, and added a flag that allows us to do a deep update.
12:52 PM Changeset in webkit [45386] by mrowe@apple.com
  • 2 edits in trunk/WebKit/mac

<rdar://problem/7006959> 'Save as…’ does not work in Mail

Reviewed by Timothy Hatcher.

  • WebView/WebFrameView.mm:

(-[WebFrameView initWithFrame:]): Call _needMailThreadWorkaroundIfCalledOffMainThread rather than
needMailThreadWorkaround, as the latter is intended to be used at the point which a workaround would
be applied and thus contains a main thread check. Since -initWithFrame: is called on the main thread,
this was causing us to not switch from exception-throwing to logging for the thread violation behavior.

11:27 AM Changeset in webkit [45385] by ap@webkit.org
  • 3 edits
    2 adds in trunk

Reviewed by Dan Bernstein.

https://bugs.webkit.org/show_bug.cgi?id=26764
Uncaught NOT_FOUND_ERR: DOMException 8 loading empty text file

Test: fast/parser/empty-text-resource.html

  • loader/TextDocument.cpp: (WebCore::TextTokenizer::finish): Create document tree if it hasn't been created yet.
11:23 AM Changeset in webkit [45384] by bweinstein@apple.com
  • 7 edits in trunk

2009-06-30 Brian Weinstein <bweinstein@apple.com>

Reviewed by Adam Roben.

Renamed scrollbarUnderPoint to scrollbarAtPoint.

  • page/EventHandler.cpp: (WebCore::EventHandler::hitTestResultAtPoint): (WebCore::EventHandler::handleMousePressEvent): (WebCore::EventHandler::handleMouseMoveEvent):
  • platform/ScrollView.cpp: (WebCore::ScrollView::scrollbarAtPoint):
  • platform/ScrollView.h:
  • platform/chromium/PopupMenuChromium.cpp: (WebCore::PopupListBox::handleMouseDownEvent): (WebCore::PopupListBox::handleMouseMoveEvent):

2009-06-30 Brian Weinstein <bweinstein@apple.com>

Reviewed by Adam Roben.


Renamed scrollbarUnderPoint to scrollbarAtPoint to follow conventions.

  • Api/qwebpage.cpp: (QWebPage::swallowContextMenuEvent):
11:05 AM Changeset in webkit [45383] by oliver@apple.com
  • 3 edits in trunk/WebCore

<rdar://problem/6960286> CrashTracer: [REGRESSION] 1120 crashes in Safari at com.apple.WebCore • WebCore::JSLazyEventListener::parseCode const + 62

Reviewed by Geoff Garen

<select> elements and other elements the produce popups can keep their popups
live across a page load. If this occurs and the <select> element has an
onchange handler it is possible to get into a state where we try to execute
JS on a page that no longer has an execution context.

10:42 AM Changeset in webkit [45382] by ggaren@apple.com
  • 4 edits in branches/nitro-extreme/JavaScriptCore

2009-06-30 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.


Standardized the rest of the property access instructions to put { tag,
payload } in { regT1, regT0 }.

Small v8 speedup, 0.2% SunSpider slowdown.

  • jit/JIT.h:
  • jit/JITInlineMethods.h: (JSC::JIT::emitLoad): (JSC::JIT::emitLoad2):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::emit_op_get_by_val): (JSC::JIT::emitSlow_op_get_by_val): (JSC::JIT::emit_op_put_by_val): (JSC::JIT::emitSlow_op_put_by_val): (JSC::JIT::emit_op_put_by_id): (JSC::JIT::emitSlow_op_put_by_id): (JSC::JIT::patchPutByIdReplace):
10:32 AM Changeset in webkit [45381] by levin@chromium.org
  • 17 edits
    8 adds in trunk

WebCore:

2009-06-30 Drew Wilson <atwilson@google.com>

Reviewed by David Levin.

<https://bugs.webkit.org/show_bug.cgi?id=25435>

Added support for sending MessagePorts to/from Workers via postMessage().

  • bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::messageChannel): Exposes MessageChannel constructor WorkerContext.
  • bindings/js/JSWorkerCustom.cpp:
  • bindings/v8/custom/V8MessageChannelConstructor.cpp: (WebCore::CALLBACK_FUNC_DECL): Now correctly handles being instantiated from within a Worker.
  • platform/CrossThreadCopier.h: (WebCore::GenericWorkerTaskTraits<PassOwnPtr>): Added support for passing PassOwnPtr as argument to GenericWorkerTask
  • workers/GenericWorkerTask.h: (WebCore::):
    • workers/Worker.cpp: (WebCore::Worker::postMessage): Now handles disentangling/entangling MessagePorts sent to/from via postMessage. (WebCore::Worker::dispatchMessage):
    • workers/Worker.h:
    • workers/Worker.idl: Added an optional MessagePort argument to postMessage()
    • workers/WorkerContext.cpp: (WebCore::WorkerContext::hasPendingActivity): Workers now report pending activity whenever there are remotely entangled ports. (WebCore::WorkerContext::postMessage): Now handles disentangling/entangling MessagePorts sent to/from via postMessage. (WebCore::WorkerContext::dispatchMessage):
    • workers/WorkerContext.h:
    • workers/WorkerContext.idl: Added an optional MessagePort argument to postMessage()
    • workers/WorkerContextProxy.h:
    • workers/WorkerMessagingProxy.cpp: Updated messaging infrastructure to transport an optional MessagePort/MessagePortChannel. (WebCore::MessageWorkerContextTask::create): (WebCore::MessageWorkerContextTask::MessageWorkerContextTask): (WebCore::MessageWorkerContextTask::performTask): (WebCore::MessageWorkerTask::create): (WebCore::MessageWorkerTask::MessageWorkerTask): (WebCore::MessageWorkerTask::performTask): (WebCore::WorkerMessagingProxy::postMessageToWorkerObject): (WebCore::WorkerMessagingProxy::postMessageToWorkerContext):
    • workers/WorkerMessagingProxy.h: Added additional postMessage() API that accepts a MessagePort
    • workers/WorkerObjectProxy.h: Added additional postMessage() API that accepts a MessagePort

LayoutTests:

2009-06-30 Drew Wilson <atwilson@google.com>

Reviewed by David Levin.

<https://bugs.webkit.org/show_bug.cgi?id=25435>

Added tests for sending MessagePorts to/from workers.

  • fast/workers/resources/worker-cloneport.js: Added. (onmessage):
  • fast/workers/resources/worker-messageport.js: Added. (onmessage): (pingBack):
  • fast/workers/worker-cloneport-expected.txt: Added.
  • fast/workers/worker-cloneport.html-disabled: Added. Tests for cloning a port while messages are sent from another thread.
  • fast/workers/worker-messageport-expected.txt: Added.
  • fast/workers/worker-messageport.html-disabled: Added. General tests for sending messages to workers via message ports.
  • fast/workers/worker-messageport-gc-expected.txt: Added.
  • fast/workers/worker-messageport-gc.html-disabled: Added. Tests to ensure Workers don't shut down when reachable only via MessagePorts.
10:07 AM Changeset in webkit [45380] by treat@webkit.org
  • 6 edits
    3 adds in trunk/WebKit/qt

2009-06-30 Joe Ligman <joseph.ligman@nokia.com>

Reviewed by Adam Treat.

Bug 26422: [Qt] QWebPagePrivate::frameAt calculates wrong frame

Added a public method QWebPage::frameAt
Removed QWebPagePrivate::frameAt, which calcuated the wrong frame
Modified QWebPage::swallowContextMenuEvent to use the new frameAt method
New test case for frameAt added to tst_qwebpage.cpp

9:57 AM Changeset in webkit [45379] by agl@chromium.org
  • 2 edits
    1 add in trunk/WebCore

2009-06-30 Adam Langley <agl@google.com>

Reviewed by Eric Seidel.

Chromium: Add complex text support on Linux.

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

This patch adds complex text support on Linux using Harfbuzz. It's not
the fastest code possible: some caching of font tables will certainly
be required. However, it's probably the simplest code that works.

This will require checking in new baselines in the Chromium tree for
those layout tests which now pass.

9:30 AM Changeset in webkit [45378] by eric.carlson@apple.com
  • 4 edits in trunk

2009-06-30 Eric Carlson <eric.carlson@apple.com>

Reviewed by Simon Fraser.

<rdar://problem/7019799> Slow loading MediaDocument can fall back to plug-in unnecessarily

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::updateStates):

Always fall back to a plug-in if m_hasUnsupportedTracks is set.

(WebCore::MediaPlayerPrivate::disableUnsupportedTracks):

Set m_hasUnsupportedTracks if we disable a track.

2009-06-30 Eric Carlson <eric.carlson@apple.com>

Reviewed by Simon Fraser.


<rdar://problem/7019799> Slow loading MediaDocument can fall back to plug-in unnecessarily


Don't test iframe immediately, switch over from <video> to <embed> may not have
happend when the document 'load' event fires.

  • media/video-document-types.html:
9:25 AM Changeset in webkit [45377] by Nate Chapin
  • 2 edits in trunk/WebCore

2009-06-30 Nate Chapin <Nate Chapin>

Reviewed by Dimitri Glazkov.

Fix inverted if/else that's causing a layout test in src.chromium.org to fail.

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

8:49 AM Changeset in webkit [45376] by mitz@apple.com
  • 8 edits in trunk

WebCore:

Reviewed by Dave Hyatt.

  • fix <rdar://problem/6946611> REGRESSION (r30673): Shade10:" D_Snap to Grid" window is clipping

Added an app-specific quirk to revert the behavior of <link> elements
to the way it was before r30673, namely that if the rel attribute
is not "stylesheet" but the type attribute contains "text/css", the
link behaves as a stylesheet link.

  • WebCore.base.exp: Exported setTreatsAnyTextCSSLinkAsStylesheet().
  • html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::process): Check

Settings::treatsAnyTextCSSLinkAsStylesheet() and if true, allow a
style sheet link if the type contains "text/css".

  • page/Settings.cpp: (WebCore::Settings::Settings):

Initialize m_treatsAnyTextCSSLinkAsStylesheet.

(WebCore::Settings::setTreatsAnyTextCSSLinkAsStylesheet): Added.

  • page/Settings.h: (WebCore::Settings::treatsAnyTextCSSLinkAsStylesheet): Added.

WebKit/mac:

Reviewed by Dave Hyatt.

  • fix <rdar://problem/6946611> REGRESSION (r30673): Shade10:" D_Snap to Grid" window is clipping
  • Misc/WebKitVersionChecks.h: Added

WEBKIT_FIRST_VERSION_WITHOUT_SHADE10_QUIRK

  • WebView/WebView.mm: (-[WebView _needsLinkElementTextCSSQuirk]): Added. Returns YES if the

client app is a version of Shade 10 earlier than 10.6 and it was
linked against a version of WebKit earlier than 531.2.

(-[WebView _preferencesChangedNotification:]): Added a call to

Settings::setTreatsAnyTextCSSLinkAsStylesheet().

7:14 AM Changeset in webkit [45375] by Simon Hausmann
  • 4 edits in trunk/WebKit/qt

2009-06-30 Jakub Wieczorek <faw217@gmail.com>

Reviewed by Simon Hausmann.

Add QWebFrame::baseUrl() function that exposes the base URL of a frame.
Autotests included.

  • Api/qwebframe.cpp: (QWebFrame::baseUrl):
  • Api/qwebframe.h:
  • tests/qwebframe/tst_qwebframe.cpp:
7:05 AM Changeset in webkit [45374] by staikos@webkit.org
  • 2 edits in trunk/JavaScriptCore

2009-06-30 Kwang Yul Seo <skyul@company100.net>

Reviewed by Eric Seidel.

Override operator new/delete with const std::nothrow_t& as the second
argument.

6:54 AM QtWebKitContrib edited by treat@kde.org
(diff)
6:51 AM QtWebKitContrib edited by treat@kde.org
(diff)
5:15 AM Changeset in webkit [45373] by xan@webkit.org
  • 2 edits in trunk/WebCore

2009-06-30 Adrien Nader <camaradetux@gmail.com>

Reviewed by Xan Lopez.

Fix typo in GNUMakefile.am: it reads WebCOre instead of WebCore.

  • GNUmakefile.am:
5:10 AM Changeset in webkit [45372] by jmalonzo@webkit.org
  • 2 edits in trunk/WebCore

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

Reviewed by Xan Lopez.

[Gtk] Turn on ENABLE_DATAGRID so we can run the layout tests.

  • GNUmakefile.am:
3:55 AM Changeset in webkit [45371] by xan@webkit.org
  • 2 edits in trunk/LayoutTests

2009-06-30 Xan Lopez <xlopez@igalia.com>

Skip new editing tests.

They are failing because we don't have a dumpEditingCallbacks
implementation.

  • platform/gtk/Skipped:
2:55 AM Changeset in webkit [45370] by ddkilzer@apple.com
  • 3 edits in trunk/JavaScriptCore

2009-06-30 Gabor Loki <loki@inf.u-szeged.hu>

Reviewed by Sam Weinig.

<https://bugs.webkit.org/show_bug.cgi?id=24986>

Remove unnecessary references to AssemblerBuffer.

  • interpreter/Interpreter.cpp:
  • interpreter/Interpreter.h:
2:33 AM Changeset in webkit [45369] by eric@webkit.org
  • 3 edits
    1 add in trunk/WebKitTools

2009-06-30 Eric Seidel <eric@webkit.org>

Reviewed by Maciej Stachowiak.

Include a built copy of BeautifulSoup 3.1.0.1 so that
bugzilla-tool users do not need to install it manually.
https://bugs.webkit.org/show_bug.cgi?id=26833

BeautifulSoup is BSD-licensed (thus WebKit compatible) and available from:
http://www.crummy.com/software/BeautifulSoup

  • Scripts/bugzilla-tool: fixed a typo in a log message.
  • Scripts/modules/BeautifulSoup.py: Added.
  • Scripts/modules/bugzilla.py:
2:03 AM Changeset in webkit [45368] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2009-06-30 Eric Seidel <eric@webkit.org>

Reviewed by Simon Hausmann.

Fix our create_patch handling to not
hang when creating large patches.
https://bugs.webkit.org/show_bug.cgi?id=26834

We're now using StringIO to make an in-memory buffer for the patch
instead of piping from the patch command directly to the upload.
The previous hang was caused by calling wait() when the process had already
filed the stdout buffer.

  • Scripts/modules/scm.py:
12:52 AM Changeset in webkit [45367] by Simon Hausmann
  • 2 edits in trunk/WebCore

2009-06-30 Raju Kunnath <raju.kunnath@nokia.com>

Reviewed by Simon Hausmann.

<https://bugs.webkit.org/show_bug.cgi?id=26752>

[Qt] Windows release build issue with Qt4.5 due to -GL flag on msvc2005 and msvc2008.

  • WebCore.pro: Removed -GL compiler option for win32-msvc2005|win32-msvc2008.
12:48 AM Changeset in webkit [45366] by xan@webkit.org
  • 2 edits in trunk/WebCore

2009-06-30 Xan Lopez <xlopez@igalia.com>

Reviewed by Jan Alonzo.

Initialize member variables in the right order. Fixes compiler
warning.

  • platform/image-decoders/bmp/BMPImageReader.cpp: (WebCore::BMPImageReader::BMPImageReader):
12:24 AM Changeset in webkit [45365] by xan@webkit.org
  • 2 edits in trunk/WebCore

2009-06-29 Xan Lopez <xlopez@igalia.com>

Reviewed by David Levin.

https://bugs.webkit.org/show_bug.cgi?id=26831
Fix compiler warning in WorkerLoaderProxy.h

Forward declaration of a class within a class is not allowed,
since the compiler can't know if the declaration is legal at that
point. This gives the following compiler warning:

../../WebCore/workers/WorkerLoaderProxy.h:40: warning: declaration
"class WebCore::ScriptExecutionContext::Task" does not declare
anything

Include the full ScriptExecutionHeader header instead.

  • workers/WorkerLoaderProxy.h:

Jun 29, 2009:

11:43 PM Changeset in webkit [45364] by xan@webkit.org
  • 3 edits in trunk/WebKit/gtk

2009-06-29 Xan Lopez <xlopez@igalia.com>

Reviewed by Jan Alonzo.

Fix a couple of compiler warnings.

  • webkit/webkitwebnavigationaction.cpp:
  • webkit/webkitwebview.cpp: (webkit_web_view_real_move_cursor):
10:56 PM Changeset in webkit [45363] by xan@webkit.org
  • 2 edits in trunk/WebCore

2009-06-29 Xan Lopez <xlopez@igalia.com>

Reviewed by Jan Alonzo.

Remove unused function.

  • plugins/gtk/PluginPackageGtk.cpp:
10:12 PM Changeset in webkit [45362] by Simon Fraser
  • 4 edits in trunk/WebCore

2009-06-29 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

Change RenderLayer::updateLayerPositions() to use a bitmask instead of two
boolean arguments. FullUpdate is unused at present, but will be used soon.

  • page/FrameView.cpp: (WebCore::FrameView::layout):
  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateLayerPositions): (WebCore::RenderLayer::scrollToOffset):
  • rendering/RenderLayer.h: (WebCore::RenderLayer::):
8:08 PM Changeset in webkit [45361] by weinig@apple.com
  • 2 edits in branches/nitro-extreme/JavaScriptCore

2009-06-29 Sam Weinig <sam@webkit.org>

Reviewed by Gavin Barraclough.

Various cleanups.

  • Use fpRegT* instead of X86::xmm*.
  • Use a switch statement in emitBinaryDoubleOp instead of a bunch of if/elses.
  • jit/JITArithmetic.cpp: (JSC::JIT::emitAdd32Constant): (JSC::JIT::emitBinaryDoubleOp): (JSC::JIT::emit_op_div):
5:09 PM Changeset in webkit [45360] by levin@chromium.org
  • 2 edits in trunk/JavaScriptCore

2009-06-29 David Levin <levin@chromium.org>

Reviewed by Oliver Hunt.

Still seeing occasional leaks from UString::sharedBuffer code
https://bugs.webkit.org/show_bug.cgi?id=26420

The problem is that the pointer to the memory allocation isn't visible
by "leaks" due to the lower bits being used as flags. The fix is to
make the pointer visible in memory (in debug only). The downside of
this fix that the memory allocated by sharedBuffer will still look like
a leak in non-debug builds when any flags are set.

  • wtf/PtrAndFlags.h: (WTF::PtrAndFlags::set):
4:44 PM Changeset in webkit [45359] by Nate Chapin
  • 2 edits in trunk/WebCore

2009-06-29 Nate Chapin <Nate Chapin>

Reviewed by Dimitri Glazkov.

Fix one more bad merge in V8Proxy.

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

4:21 PM Changeset in webkit [45358] by hyatt@apple.com
  • 2 edits in trunk/WebKit/win

2009-06-29 David Hyatt <hyatt@apple.com>

Fix Windows bustage. Missed two configurations for enabling DATAGRID.

  • WebKit.vcproj/WebKit.vcproj:
3:35 PM Changeset in webkit [45357] by weinig@apple.com
  • 6 edits
    2 deletes in trunk

JavaScriptCore:

2009-06-29 Sam Weinig <sam@webkit.org>

Reviewed by Mark Rowe.

Remove more unused scons support.

  • SConstruct: Removed.

WebCore:

2009-06-29 Sam Weinig <sam@webkit.org>

Reviewed by Mark Rowe.

Remove more unused scons support.

  • SConstruct: Removed.

WebKitTools:

2009-06-29 Sam Weinig <sam@webkit.org>

Reviewed by Mark Rowe.

Remove more unused scons support.

  • Scripts/build-jsc:
  • Scripts/build-webkit:
  • Scripts/webkitdirs.pm:
3:33 PM Changeset in webkit [45356] by oliver@apple.com
  • 5 edits in trunk

<rdar://problem/7016214> JSON.parse fails to parse valid JSON with most Unicode characters
<https://bugs.webkit.org/show_bug.cgi?id=26802>

Reviewed by Gavin Barraclough.

In the original JSON.parse patch unicode was handled correctly, however in some last
minute "clean up" I oversimplified isSafeStringCharacter. This patch corrects this bug.

2:38 PM Changeset in webkit [45355] by weinig@apple.com
  • 3 edits in trunk/WebCore

2009-06-29 Sam Weinig <sam@webkit.org>

Reviewed by Dave Hyatt.

Fix some incorrect create functions.

  • html/DataGridColumn.h: (WebCore::DataGridColumn::create):
  • html/DataGridColumnList.h: (WebCore::DataGridColumnList::create):
2:32 PM Changeset in webkit [45354] by Simon Hausmann
  • 2 edits in trunk/LayoutTests

2009-06-29 Antonio Gomes <antonio.gomes@openbossa.org>

Reviewed by Simon Hausmann.

Updated LayoutTests/platform/qt/fast/css/getComputedStyle/computed-style-expected.txt to some newly cross-platform CSS properties.

The file has not been updated for a while.

2:31 PM Changeset in webkit [45353] by weinig@apple.com
  • 15 edits
    2 adds in trunk

WebCore:

2009-06-29 Sam Weinig <sam@webkit.org>

Reviewed by Dave Hyatt.

Remove initialize method from DataGridDataSource and add
DOMDataGridDataSource.

  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • WebCoreSources.bkl:
  • bindings/js/JSDataGridDataSource.cpp:
  • bindings/js/JSDataGridDataSource.h:
  • bindings/js/JSHTMLDataGridElementCustom.cpp: (WebCore::JSHTMLDataGridElement::setDataSource):
  • html/DOMDataGridDataSource.cpp: Added. (WebCore::DOMDataGridDataSource::DOMDataGridDataSource): (WebCore::DOMDataGridDataSource::~DOMDataGridDataSource):
  • html/DOMDataGridDataSource.h: Added. (WebCore::DOMDataGridDataSource::create): (WebCore::DOMDataGridDataSource::isDOMDataGridDataSource): (WebCore::asDOMDataGridDataSource):
  • html/DataGridDataSource.h: (WebCore::DataGridDataSource::isDOMDataGridDataSource): (WebCore::DataGridDataSource::isJSDataGridDataSource):
  • html/HTMLDataGridElement.cpp: (WebCore::HTMLDataGridElement::HTMLDataGridElement): (WebCore::HTMLDataGridElement::setDataSource): (WebCore::HTMLDataGridElement::dataSource):
  • html/HTMLDataGridElement.h:

LayoutTests:

2009-06-29 Sam Weinig <sam@webkit.org>

Reviewed by Dave Hyatt.

Update for the change in DataGridDataSource API.

  • fast/dom/HTMLDataGridElement/DataGridDataSource-basic-expected.txt:
  • fast/dom/HTMLDataGridElement/DataGridDataSource-basic.html:
1:58 PM Changeset in webkit [45352] by Nate Chapin
  • 3 edits in trunk/WebCore

2009-06-29 Nate Chapin <Nate Chapin>

Reviewed by Dimitri Glazkov.

Fix a couple of bad merge items from my previous V8Proxy patch.

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

1:42 PM Changeset in webkit [45351] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2009-06-26 Eric Seidel <eric@webkit.org>

Reviewed by David Levin.

Rename land-and-update to land-diff and make it awesome.
https://bugs.webkit.org/show_bug.cgi?id=26734

Renamed land-and-update to land-diff
Made the BUGID argument optional.
Added optional support for building and testing before landing.

land-diff [options] [BUGID] Lands the current working directory diff and updates the bug if provided.

Options:

-r REVIEWER, --reviewer=REVIEWER

Update ChangeLogs to say Reviewed by REVIEWER.

--no-close Leave bug open after landing.
--no-build Commit without building first, implies --no-test.
--no-test Commit without running run-webkit-tests.

  • Scripts/bugzilla-tool:
1:41 PM Changeset in webkit [45350] by cmarrin@apple.com
  • 5 edits in trunk

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

Fixed crash due to dereference of m_toStyle

1:36 PM Changeset in webkit [45349] by alice.liu@apple.com
  • 1 edit in trunk/WebCore/plugins/win/PluginMessageThrottlerWin.cpp

build fix. accidental omission of end paren

1:22 PM Changeset in webkit [45348] by eric.carlson@apple.com
  • 16 edits in trunk

2009-06-29 Eric Carlson <eric.carlson@apple.com>

Reviewed by Simon Fraser.

<rdar://problem/7014813> Ask media engine if a movie is streamed or downloaded.

  • WebCore.base.exp:

Export _wkQTMovieGetType

  • platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::hasSingleSecurityOrigin):

Move to keep with other non-callback functions.

(WebCore::MediaPlayer::movieLoadType):

New, returns the movie type.

  • platform/graphics/MediaPlayer.h:

Declare MovieLoadType enum and movieLoadType method.

  • platform/graphics/MediaPlayerPrivate.h: (WebCore::MediaPlayerPrivateInterface::movieLoadType):

Default implementation of movieLoadType

  • platform/graphics/mac/MediaPlayerPrivateQTKit.h:
  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::createQTMovie):

Don't base m_isStreaming on protocol, there are other types of streaming movies.

(WebCore::MediaPlayerPrivate::maxTimeBuffered):

Don't assume all streams are unbuffered.

(WebCore::MediaPlayerPrivate::updateStates):

Update m_isStreaming once we have metadata.

(WebCore::MediaPlayerPrivate::disableUnsupportedTracks):

Tracks that are disabled to begin with shouldn't be included in m_enabledTrackCount.

(WebCore::MediaPlayerPrivate::movieLoadType):

New, return movie type.

  • platform/mac/WebCoreSystemInterface.h:
  • platform/mac/WebCoreSystemInterface.mm:

Add wkQTMovieGetType.

2009-06-29 Eric Carlson <eric.carlson@apple.com>

Reviewed by Simon Fraser.

<rdar://problem/7014813> Ask media engine if a movie is streamed or downloaded.

  • WebCoreSupport/WebSystemInterface.m: (InitWebCoreSystemInterface):

Add QTMovieGetType.

2009-06-29 Eric Carlson <eric.carlson@apple.com>

Reviewed by Simon Fraser.

Update WebKitSystemInterface for <rdar://problem/7014813>

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
  • libWebKitSystemInterfaceTiger.a:
1:15 PM Changeset in webkit [45347] by alice.liu@apple.com
  • 2 edits in trunk/WebCore

2009-06-29 Alice Liu <alice.liu@apple.com>

Fixed <rdar://problem/6930280> Reproducible crash at USA Today photo gallery

Reviewed by Anders Carlsson.

No test added because the crash requires a flash plugin

  • plugins/win/PluginMessageThrottlerWin.cpp: Rely on the hWnd of the plugin to tell us whether the PluginView has been deleted during execution of its wndProc. (WebCore::PluginMessageThrottlerWin::messageThrottleTimerFired):
1:02 PM Changeset in webkit [45346] by dimich@chromium.org
  • 3 edits in trunk/WebCore

2009-06-29 Dmitry Titov <dimich@chromium.org>

Reviewed by David Levin.

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

[Chromium] Remove a flag and functions used to enable workers in runtime.

  • bindings/v8/WorkerContextExecutionProxy.cpp:
  • bindings/v8/WorkerContextExecutionProxy.h:
1:00 PM Changeset in webkit [45345] by Simon Fraser
  • 5 edits in trunk/WebCore

2009-06-29 Simon Fraser <Simon Fraser>

Reviewed by Dave Hyatt.

<rdar://problem/6976712> Text antialiasing problems when rendering into compositing layers.

Improve the appearance of text in compositing layers by making use of
CA's layer geometry flipping, rather that doing it ourselves with a flip
transform. This allows CG to use font autohinting in the layer text.

  • platform/graphics/GraphicsLayer.h: (WebCore::GraphicsLayer::setGeometryOrientation): (WebCore::GraphicsLayer::geometryOrientation): New methods to set whether this layer uses flipped geometry.
  • platform/graphics/mac/GraphicsLayerCA.h:
  • platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::setGeometryOrientation): (WebCore::GraphicsLayerCA::geometryOrientation): Subclass in order to call into CA

(WebCore::GraphicsLayerCA::setContentsLayer):
Now that CA is doing the geometry flipping, we no longer need to flip the content
layers for image and video manually

  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::ensureRootPlatformLayer): Turn on flipping on the root layer.
12:52 PM Changeset in webkit [45344] by hyatt@apple.com
  • 3 edits in trunk/LayoutTests

2009-06-29 David Hyatt <hyatt@apple.com>

Reviewed by Mark Rowe.

Update layout tests for addition of HTMLDataGridCellElement constructor.

  • fast/dom/Window/window-properties-expected.txt:
  • fast/js/global-constructors-expected.txt:
12:36 PM Changeset in webkit [45343] by Nikolas Zimmermann
  • 1 edit
    4 moves in trunk/LayoutTests

Reviewed by Adam Treat.
Rename go-task-animation.* to ontimer-inline-event.* to reflect what it really tests.

12:11 PM Changeset in webkit [45342] by Nikolas Zimmermann
  • 9 edits
    7 adds in trunk

Reviewed by Adam Treat.

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

Implement most WML specific <select> element features.
Add 'iname' / 'ivalue' support and support variable references.

Add two tests covering most select/variable related functionality.
Needs more tests when adding full 'iname' / 'ivalue' support (used in conjuction with onpick).

Tests: http/tests/wml/post-data-to-server.html

wml/select-element-variables.html

11:11 AM Changeset in webkit [45341] by weinig@apple.com
  • 3 edits in branches/nitro-extreme/JavaScriptCore

2009-06-29 Sam Weinig <sam@webkit.org>

Reviewed by Geoffrey Garen.

Add inline code dealing with doubles for op_jfalse and op_jtrue.

  • assembler/MacroAssemblerX86Common.h: (JSC::MacroAssemblerX86Common::): (JSC::MacroAssemblerX86Common::zeroDouble):
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_jfalse): (JSC::JIT::emit_op_jtrue):
9:34 AM Changeset in webkit [45340] by jberlin@apple.com
  • 3 edits in trunk/WebKit/win

2009-06-29 Jessie Berlin <jberlin@apple.com>

Fix the windows build.

Reviewed by Adam Roben.

  • WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::isSpeaking):
  • WebCoreSupport/WebContextMenuClient.h:
9:03 AM Changeset in webkit [45339] by hyatt@apple.com
  • 2 edits in trunk/WebKit/win

2009-06-29 David Hyatt <hyatt@apple.com>

Reviewed by Adam Roben.

Make sure to patch all configurations to have datagrid enabled.

  • WebKit.vcproj/WebKit.vcproj:
8:52 AM Changeset in webkit [45338] by hyatt@apple.com
  • 35 edits in trunk

WebCore:

2009-06-29 David Hyatt <hyatt@apple.com>

Reviewed by Adam Roben.

Put <datagrid> behind an ifdef.

  • Configurations/FeatureDefines.xcconfig:
  • bindings/js/JSDataGridColumnListCustom.cpp:
  • bindings/js/JSDataGridDataSource.cpp:
  • bindings/js/JSDataGridDataSource.h:
  • bindings/js/JSHTMLDataGridElementCustom.cpp:
  • html/DataGridColumn.cpp:
  • html/DataGridColumn.h:
  • html/DataGridColumn.idl:
  • html/DataGridColumnList.cpp:
  • html/DataGridColumnList.h:
  • html/DataGridColumnList.idl:
  • html/DataGridDataSource.h:
  • html/HTMLDataGridCellElement.cpp:
  • html/HTMLDataGridCellElement.h:
  • html/HTMLDataGridCellElement.idl:
  • html/HTMLDataGridColElement.cpp:
  • html/HTMLDataGridColElement.h:
  • html/HTMLDataGridColElement.idl:
  • html/HTMLDataGridElement.cpp:
  • html/HTMLDataGridElement.h:
  • html/HTMLDataGridElement.idl:
  • html/HTMLDataGridRowElement.cpp:
  • html/HTMLDataGridRowElement.h:
  • html/HTMLDataGridRowElement.idl:
  • html/HTMLTagNames.in:
  • page/DOMWindow.idl:
  • rendering/RenderDataGrid.cpp:
  • rendering/RenderDataGrid.h:

WebKit/mac:

2009-06-29 David Hyatt <hyatt@apple.com>

Reviewed by Adam Roben.

Put datagrid behind an #ifdef.

  • Configurations/FeatureDefines.xcconfig:

WebKit/win:

2009-06-29 David Hyatt <hyatt@apple.com>

Reviewed by Adam Roben.

Put <datagrid> behind an ifdef.

  • WebKit.vcproj/WebKit.vcproj:
6:57 AM Changeset in webkit [45337] by Simon Hausmann
  • 2 edits in trunk/WebCore

2009-06-29 Simon Hausmann <simon.hausmann@nokia.com>

Reviewed by Ariya Hidayat and Adam Roben.

Fix compilation with MINGW. Ported MSVC inline assembly to
GNU inline assembly. Also fixed casting errors where gcc
refused to cast a pointer-to-function to a pointer-to-object,
without an intermediate cast to a non-pointer type.

2:17 AM Changeset in webkit [45336] by Simon Hausmann
  • 3 edits in trunk/WebKit/qt

2009-06-29 Simon Hausmann <simon.hausmann@nokia.com>

Fix the Qt build, add missing isSpeaking() implementation to
ContextMenuClient.

Jun 28, 2009:

10:24 PM Changeset in webkit [45335] by xan@webkit.org
  • 3 edits in trunk/WebKit/gtk

2009-06-28 Xan Lopez <xlopez@igalia.com>

Fix the GTK+ build.

  • WebCoreSupport/ContextMenuClientGtk.cpp: (WebKit::ContextMenuClient::isSpeaking):
  • WebCoreSupport/ContextMenuClientGtk.h:
9:28 PM Changeset in webkit [45334] by ggaren@apple.com
  • 4 edits in branches/nitro-extreme/JavaScriptCore

2009-06-28 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.

Standardized op_get_by_id to put { tag, payload } in { regT1, regT0 }.


SunSpider and v8 report maybe 0.2%-0.4% regressions, but the optimization
this enables will win much more than that back.

  • jit/JIT.cpp: (JSC::JIT::privateCompileCTIMachineTrampolines):
  • jit/JIT.h:
  • jit/JITPropertyAccess.cpp: (JSC::JIT::emit_op_method_check): (JSC::JIT::emit_op_get_by_id): (JSC::JIT::compileGetByIdHotPath): (JSC::JIT::compileGetByIdSlowCase): (JSC::JIT::patchGetByIdSelf): (JSC::JIT::privateCompilePatchGetArrayLength): (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain):
8:06 PM Changeset in webkit [45333] by sullivan@apple.com
  • 7 edits in trunk

WebCore:

2009-06-26 John Sullivan <sullivan@apple.com>

Added Speech submenu to context menu on Mac when there's a non-editable selection
(it was already present when there's an editable selection).
Also added support for disabling "Stop Speaking" when there is no speaking to stop.

Reviewed by Tim Hatcher.

  • loader/EmptyClients.h: (WebCore::EmptyContextMenuClient::isSpeaking): implemented this new virtual function to return false


  • page/ContextMenuClient.h: declared this new pure virtual function


  • platform/ContextMenu.cpp: (WebCore::ContextMenu::populate): insert Speech item (after a separator) on Mac when there's selected non-editable text (WebCore::ContextMenu::checkOrEnableIfNeeded): enable Stop Speaking item only if the context menu client returns true for isSpeaking()

WebKit/mac:

2009-06-26 John Sullivan <sullivan@apple.com>

Added support for disabling Stop Speaking when there is no speaking to stop.
Also fixed Stop Speaking so that it works (formerly it would throw an exception, and
selecting it from the menu would perform a web search instead (!)).

Reviewed by Tim Hatcher.

  • WebCoreSupport/WebContextMenuClient.h: declare isSpeaking()


  • WebCoreSupport/WebContextMenuClient.mm: (WebContextMenuClient::isSpeaking): implement by calling through to NSApplication (WebContextMenuClient::stopSpeaking): fixed implementation by correcting the signature of the NSApplication method
7:54 PM Changeset in webkit [45332] by mitz@apple.com
  • 5 edits in trunk

WebCore:

Reviewed by Simon Fraser.

Test: added a case to fast/dom/Element/scrollWidth.html

Ensure that scroll{Width, Height} is greater or equal to
client{Width, Height}.

  • rendering/RenderBox.cpp: (WebCore::RenderBox::scrollWidth): (WebCore::RenderBox::scrollHeight):

LayoutTests:

Reviewed by Simon Fraser.

  • fast/dom/Element/scrollWidth-expected.txt:
  • fast/dom/Element/scrollWidth.html:
3:06 PM Changeset in webkit [45331] by mrowe@apple.com
  • 4 edits in branches/WWDC-2009-branch

Versioning.

10:25 AM Changeset in webkit [45330] by Simon Fraser
  • 5 edits
    5 adds in trunk

2009-06-27 Simon Fraser <Simon Fraser>

Reviewed by Eric Seidel.

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

Do not make compositing layers for non-self-painting RenderLayers,
since these exist only to push a clip onto the clipping stack. If such
a layer gets compositied for some other reason, it should not paint.

Also ensure that we update composited layer positions correctly
inside overflow:scroll layers. We can't assume that the contents
are child layers, so we have to go up to the compositing ancestor,
and tell it to update all its child layer positions as we do
after layout.

Tests: compositing/layers-inside-overflow-scroll.html

compositing/self-painting-layers.html

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::scrollToOffset):
  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::paintIntoLayer):
  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::calculateCompositedBounds): (WebCore::RenderLayerCompositor::needsToBeComposited):
5:40 AM Changeset in webkit [45329] by jmalonzo@webkit.org
  • 2 edits in trunk/WebKit/qt

2009-06-28 Sriram Yadavalli <sriram.yadavalli@nokia.com>

Reviewed by Eric Seidel.

[Qt] Fix build break for Qt
https://bugs.webkit.org/show_bug.cgi?id=26779

  • Api/qwebpage.cpp: (QWebPage::swallowContextMenuEvent):
4:58 AM Changeset in webkit [45328] by jmalonzo@webkit.org
  • 2 edits in trunk/WebKitTools

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

Gtk build fix - include stdarg.h for va_start/va_end.

  • DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4:15 AM Changeset in webkit [45327] by eric@webkit.org
  • 2 edits in trunk/WebCore

2009-06-28 Luke Kenneth Casson Leighton <lkcl@lkcl.net>

Reviewed by Eric Seidel.

PurgeableBuffer #defines leave out functions on gtk MacOSX 10.4 build
https://bugs.webkit.org/show_bug.cgi?id=23057

Define these functions for Gtk as well.

  • platform/PurgeableBuffer.h:
4:14 AM Changeset in webkit [45326] by eric@webkit.org
  • 2 edits in trunk/WebCore

2009-06-28 Nate Chapin <Nate Chapin>

Reviewed by Dimitri Glazkov.

Update CodeGeneratorV8.pm to match the new api for V8Proxy.

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

  • bindings/scripts/CodeGeneratorV8.pm: Match the current version of V8Proxy.
4:13 AM Changeset in webkit [45325] by eric@webkit.org
  • 5 edits in trunk/WebCore

2009-06-28 Nicolas Sylvain <nsylvain@chromium.org>

Reviewed by Dimitri Glazkov.

If loading a font fails because of the sandbox, we ask the browser process to
try to load it by calling ensureFontLoaded. If it still fails after
ensureFontLoaded, we hit a ASSERT_NOT_REACHED.

This case happens once in a while during browser shutdown. The browser will
queue a message to the renderer to shutdown, and will then stop answering sync
messages from the renderer. If the renderer is still loading a page during this
time, it might try to call the browser process to ask to load a font. The
browser process will ignore the request, and the font will fail to load, even
after the second try.

This is unfortunate, but there is no real risk here, since the renderer will be
going away as soon as it processes another message.

This can't be layout tested as it depends on the sandbox.

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

  • platform/graphics/chromium/FontChromiumWin.cpp:
  • platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
  • platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp:
  • platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
3:31 AM Changeset in webkit [45324] by eric@webkit.org
  • 8 edits
    2 adds in trunk

2009-06-28 John Abd-El-Malek <jam@chromium.org>

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

Layout tests to ensure that "src" paramater is added when it's missing
but "data" is present.

  • plugins/netscape-plugin-map-data-to-src-expected.txt: Added.
  • plugins/netscape-plugin-map-data-to-src.html: Added.

2009-06-28 John Abd-El-Malek <jam@chromium.org>

Reviewed by Eric Seidel.

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

Test: plugins/netscape-plugin-map-data-to-src.html

Fix problems with Real or WMP plugins not displaying because "data" was set
on the OBJECT tag instead of "src". This is based on what Firefox does, see
http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsObjectFrame.cpp#3045

  • rendering/RenderPartObject.cpp: (WebCore::mapDataParamToSrc): (WebCore::RenderPartObject::updateWidget):

2009-06-28 John Abd-El-Malek <jam@chromium.org>

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

Modify NPAPI test plugin to verify that "src" paramater is added when
it's missing but "data" is present.

  • DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (pluginLog):
  • DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
  • DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: (NPP_New): (NPP_Destroy): (NPP_SetWindow): (handleEventCarbon): (handleEventCocoa):
  • DumpRenderTree/win/TestNetscapePlugin/main.cpp: (NPP_New):
3:19 AM Changeset in webkit [45323] by eric@webkit.org
  • 2 edits in trunk/LayoutTests

2009-06-28 Eric Seidel <eric@webkit.org>

No review. Just updating test results Kevin seems to have missed.

Test failure started with:
http://trac.webkit.org/changeset/45287
The new results definitely look better.

  • fast/profiler/profile-with-no-title-expected.txt:
2:36 AM Changeset in webkit [45322] by jmalonzo@webkit.org
  • 1 edit
    2 adds in trunk/WebKit/gtk/po

2009-06-28 Miloš Popović <gpopac@gmail.com>

Rubber-stamped by Jan Alonzo.

New Serbian translation.

Note: See TracTimeline for information about the timeline view.