- 12 Jun, 2009 12 commits
-
-
eric@webkit.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=26191 Remove xmath include in MathExtras.h, because it is not needed and also breaks VS2008 builds with TR1 turned on. * wtf/MathExtras.h: Removed xmath include. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
Reviewed by Jan Alonzo. https://bugs.webkit.org/show_bug.cgi?id=25599 [GTK] Enable more tests Implement dumping of status callback. * DumpRenderTree/gtk/DumpRenderTree.cpp: (webViewStatusBarTextChanged): (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pkasting@chromium.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=25709 part seven Update Skia's ImageDecoder.h with a few changes designed to reduce the delta between specific implementations of ImageDecoder.h. Update Cairo's ImageDecoder.h to sync up with the API changes in the Skia version in the last two chage sets. Update Cairo's PNG/JPEG/GIF decoders to use the APIs as well. All the Cairo image decoder changes are direct copies of the Skia versions except ImageDecoder.h, which is modified in the necessary ways for the differences between Cairo and Skia. * platform/graphics/cairo/ImageSourceCairo.cpp: (WebCore::ImageSource::createFrameAtIndex): Use new RGBA32Buffer::asNewNativeImage() API. * platform/image-decoders/ImageDecoder.h: Sync up with Skia version. (WebCore::RGBA32Buffer::): (WebCore::RGBA32Buffer::RGBA32Buffer): (WebCore::RGBA32Buffer::clear): (WebCore::RGBA32Buffer::zeroFill): (WebCore::RGBA32Buffer::copyBitmapData): (WebCore::RGBA32Buffer::copyRowNTimes): (WebCore::RGBA32Buffer::setSize): (WebCore::RGBA32Buffer::asNewNativeImage): (WebCore::RGBA32Buffer::hasAlpha): (WebCore::RGBA32Buffer::disposalMethod): (WebCore::RGBA32Buffer::setHasAlpha): (WebCore::RGBA32Buffer::setDisposalMethod): (WebCore::RGBA32Buffer::setRGBA): (WebCore::RGBA32Buffer::operator=): (WebCore::RGBA32Buffer::width): (WebCore::RGBA32Buffer::height): (WebCore::RGBA32Buffer::getAddr): * platform/image-decoders/gif/GIFImageDecoder.cpp: Sync up with Skia version. (WebCore::GIFImageDecoder::initFrameBuffer): (WebCore::GIFImageDecoder::haveDecodedRow): * platform/image-decoders/jpeg/JPEGImageDecoder.cpp: Sync up with Skia version. (WebCore::JPEGImageDecoder::outputScanlines): * platform/image-decoders/png/PNGImageDecoder.cpp: Sync up with Skia version. (WebCore::PNGImageDecoder::rowAvailable): * platform/image-decoders/skia/ImageDecoder.h: Add various typedefs or helper functions to minimize differences with Cairo version. Reorder functions slightly to match reordering of Cairo's m_hasAlpha variable, which I moved to increase readability. (WebCore::RGBA32Buffer::): (WebCore::RGBA32Buffer::copyRowNTimes): (WebCore::RGBA32Buffer::setSize): (WebCore::RGBA32Buffer::asNewNativeImage): (WebCore::RGBA32Buffer::hasAlpha): (WebCore::RGBA32Buffer::disposalMethod): (WebCore::RGBA32Buffer::setHasAlpha): (WebCore::RGBA32Buffer::setStatus): (WebCore::RGBA32Buffer::setDisposalMethod): (WebCore::RGBA32Buffer::setRGBA): (WebCore::RGBA32Buffer::operator=): (WebCore::RGBA32Buffer::width): (WebCore::RGBA32Buffer::height): (WebCore::RGBA32Buffer::getAddr): * platform/image-decoders/skia/JPEGImageDecoder.cpp: Add #include needed by JPEG headers on some platforms, plus comment. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Unreviewed build correction. Revert accidental configuration checkin. Was not meant to be part of the last changeset. * config.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pkasting@chromium.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=26353 Corrects handling of Cairo fonts that were getting out of sync due to default copy construction. Also refactors some incorrect platform font destruction code that belongs in the font object's destructor. * platform/graphics/win/FontPlatformData.h: * platform/graphics/win/FontPlatformDataCGWin.cpp: (WebCore::FontPlatformData::~FontPlatformData): * platform/graphics/win/FontPlatformDataCairoWin.cpp: (WebCore::FontPlatformData::platformDataInit): (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::setFont): (WebCore::FontPlatformData::~FontPlatformData): * platform/graphics/win/FontPlatformDataWin.cpp: * platform/graphics/win/SimpleFontDataCGWin.cpp: * platform/graphics/win/SimpleFontDataCairoWin.cpp: (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::platformWidthForGlyph): * platform/graphics/win/SimpleFontDataWin.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pkasting@chromium.org authored
2009-06-12 Peter Kasting <pkasting@google.com> Reviewed by Eric Seidel. * ChangeLog-2007-10-14: Change pseudonym "Don Gibson" to me (was used while Google Chrome was not public); update my email address. WebCore: 2009-06-12 Peter Kasting <pkasting@google.com> Reviewed by Eric Seidel. * ChangeLog-2007-10-14: Update my email address. * ChangeLog-2008-08-10: Update my email address. WebKit/mac: 2009-06-12 Peter Kasting <pkasting@google.com> Reviewed by Eric Seidel. * ChangeLog-2007-10-14: Change pseudonym "Don Gibson" to me (was used while Google Chrome was not public); update my email address. WebKit/win: 2009-06-12 Peter Kasting <pkasting@google.com> Reviewed by Eric Seidel. * ChangeLog: Update my email address. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
levin@chromium.org authored
Reviewed by David Levin. Upstream V8Helpers. https://bugs.webkit.org/show_bug.cgi?id=26332 * bindings/v8/V8Helpers.cpp: Added. (wrapNPObject): Moved from v8_helpers.cpp. (toV8Context): Moved from v8_helpers.cpp. (toV8Proxy): Moved from v8_helpers.cpp. * bindings/v8/V8Helpers.h: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jberlin@apple.com authored
=================================================================== --- WebCore/ChangeLog (revision 44622) +++ WebCore/ChangeLog (working copy) @@ -1,3 +1,23 @@ +2009-06-12 Jessie Berlin <jberlin@apple.com> + + Reviewed by Mark Rowe. + + https://bugs.webkit.org/show_bug.cgi?id=24792 + rdar://problem/6933055 + + Changes the radius in which cursor movement around the 4 arrow icon + while pan-scrolling does not cause scrolling from around 10 pixels to + 15 pixels, similar to what is found in IE and Firefox. + + * page/EventHandler.cpp: + (WebCore::EventHandler::setPanScrollCursor): + Factor out the no-pan-scroll radius. + * platform/ScrollView.h: + Create a constant for the no-pan-scroll radius. + * rendering/RenderLayer.cpp: + (WebCore::RenderLayer::panScrollFromPoint): + Factor out the no-pan-scroll radius. + 2009-06-12 Xan Lopez <xlopez@igalia.com> Reviewed by Gustavo Noronha. Index: WebCore/page/EventHandler.cpp =================================================================== --- WebCore/page/EventHandler.cpp (revision 44622) +++ WebCore/page/EventHandler.cpp (working copy) @@ -661,11 +661,10 @@ void EventHandler::setPanScrollCursor() // At the original click location we draw a 4 arrowed icon. Over this icon there won't be any scroll // So we don't want to change the cursor over this area - const int noScrollRadius = 9; - bool east = m_panScrollStartPos.x() < (m_currentMousePosition.x() - noScrollRadius); - bool west = m_panScrollStartPos.x() > (m_currentMousePosition.x() + noScrollRadius); - bool north = m_panScrollStartPos.y() > (m_currentMousePosition.y() + noScrollRadius); - bool south = m_panScrollStartPos.y() < (m_currentMousePosition.y() - noScrollRadius); + bool east = m_panScrollStartPos.x() < (m_currentMousePosition.x() - ScrollView::noPanScrollRadius); + bool west = m_panScrollStartPos.x() > (m_currentMousePosition.x() + ScrollView::noPanScrollRadius); + bool north = m_panScrollStartPos.y() > (m_currentMousePosition.y() + ScrollView::noPanScrollRadius); + bool south = m_panScrollStartPos.y() < (m_currentMousePosition.y() - ScrollView::noPanScrollRadius); if (north) { if (east) Index: WebCore/platform/ScrollView.h =================================================================== --- WebCore/platform/ScrollView.h (revision 44622) +++ WebCore/platform/ScrollView.h (working copy) @@ -214,7 +214,8 @@ public: virtual void hide(); virtual void setParentVisible(bool); - // Pan scrolling methods. + // Pan scrolling. + static const int noPanScrollRadius = 15; void addPanScrollIcon(const IntPoint&); void removePanScrollIcon(); Index: WebCore/rendering/RenderLayer.cpp =================================================================== --- WebCore/rendering/RenderLayer.cpp (revision 44622) +++ WebCore/rendering/RenderLayer.cpp (working copy) @@ -948,7 +948,6 @@ void RenderLayer::panScrollFromPoint(con const int shortDistanceLimit = 100; // We delimit a 200 pixels long square enclosing the original point const int speedReducer = 2; // Within this square we divide the scrolling speed by 2 - const int iconRadius = 10; Frame* frame = renderer()->document()->frame(); if (!frame) return; @@ -965,9 +964,9 @@ void RenderLayer::panScrollFromPoint(con int xDelta = currentMousePosition.x() - sourcePoint.x(); int yDelta = currentMousePosition.y() - sourcePoint.y(); - if (abs(xDelta) < iconRadius) // at the center we let the space for the icon + if (abs(xDelta) < ScrollView::noPanScrollRadius) // at the center we let the space for the icon xDelta = 0; - if (abs(yDelta) < iconRadius) + if (abs(yDelta) < ScrollView::noPanScrollRadius) yDelta = 0; // Let's attenuate the speed for the short distances git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ariya@webkit.org authored
Reviewed by Jan Michael Alonzo. [Qt] Fix build break https://bugs.webkit.org/show_bug.cgi?id=26340 * JavaScriptCore.pri: Add JSONObject.cpp to LUT files. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. https://bugs.webkit.org/show_bug.cgi?id=25609 [GTK] Implement support for get_selection and get_n_selections Only use the VisibleSelection object if it actually belongs to the object we are using. This is pretty hacky-ish, but I can't seem to find a direct API to get the VisibleSelection for a given object, only the global one. * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (selectionBelongsToObject): (webkit_accessible_text_get_n_selections): (webkit_accessible_text_get_selection): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Jun, 2009 13 commits
-
-
jparent@chromium.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=2628i Converted LayoutTests\editing\deleting\4875189.html from a pixel test t dumpAsText test since it only checks whether the result contains exactly two paragraphs or not. * editing/deleting/4875189-expected.txt: Added. * editing/deleting/4875189.html: * platform/mac/editing/deleting/4875189-expected.checksum: Removed. * platform/mac/editing/deleting/4875189-expected.png: Removed. * platform/mac/editing/deleting/4875189-expected.txt: Removed. * platform/qt/editing/deleting/4875189-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
Reviewed by Xan Lopez. Add a test to perform an actual download. * tests/testdownload.c: (navigation_policy_decision_requested_cb): (notify_status_cb): (download_requested_cb): (test_webkit_download_perform): (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
Reviewed by Xan Lopez. Fix crash when downloading, caused by assuming SoupMessage would be there. This change factors the logic required to create a ResourceRequest from a WebKitNetworkRequest into a core() function, like we have for some other classes. * webkit/webkitdownload.cpp: (webkit_download_start): * webkit/webkitprivate.cpp: (WebKit::core): * webkit/webkitprivate.h: * webkit/webkitwebframe.cpp: (webkit_web_frame_load_request): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Rubber stamped by Dave Levin. Add missing pixel results * platform/mac/editing/style/apply-through-end-of-document-expected.checksum: Added. * platform/mac/editing/style/apply-through-end-of-document-expected.png: Added. * platform/mac/fast/canvas/canvas-empty-image-pattern-expected.checksum: Copied from LayoutTests/platform/mac-tiger/svg/custom/mask-excessive-malloc-expected.checksum. * platform/mac/fast/canvas/canvas-empty-image-pattern-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/canonicalform08-expected.png. * platform/mac/fast/css/compare-content-style-expected.checksum: Added. * platform/mac/fast/css/compare-content-style-expected.png: Added. * platform/mac/fast/dynamic/anchor-lock-expected.checksum: Added. * platform/mac/fast/dynamic/anchor-lock-expected.png: Added. * platform/mac/fast/transforms/bounding-rect-zoom-expected.checksum: Added. * platform/mac/fast/transforms/bounding-rect-zoom-expected.png: Added. * platform/mac/webarchive/test-link-rel-icon-expected.checksum: Copied from LayoutTests/platform/mac-tiger/svg/custom/mask-excessive-malloc-expected.checksum. * platform/mac/webarchive/test-link-rel-icon-expected.png: Copied from LayoutTests/platform/mac/dom/xhtml/level3/core/canonicalform08-expected.png. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Steve Falkenburg. https://bugs.webkit.org/show_bug.cgi?id=26306 Revert 42565 as it leads to DumpRenderTree crashing on startup because Windows can't find CFURLCacheCopySharedURLCache in CoreNetwork.dll. * DumpRenderTree/win/DumpRenderTree.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=25512 Handle texts after unfinished special tags (i.e., script, style, textarea, title, xmp, and iframe) as the text node under the tags in view-source mode. Before this change, all texts in unfinished special tags cannot be seen even in view-source mode. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ariya@webkit.org authored
Reviewed by Holger Freyther. Fix compilation warnings <https://bugs.webkit.org/show_bug.cgi?id=26015> * wtf/ThreadingNone.cpp: (WTF::ThreadCondition::wait): Fix compilation warning. (WTF::ThreadCondition::timedWait): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ariya@webkit.org authored
Reviewed by Holger Freyther. [Qt] Fix release build detection https://bugs.webkit.org/show_bug.cgi?id=26267 * WebKit.pri: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ariya@webkit.org authored
Reviewed by Ariya Hidayat. https://bugs.webkit.org/show_bug.cgi?id=26291 [Qt] build break in ImageDecoderQt.cpp. * platform/graphics/qt/ImageDecoderQt.cpp: (WebCore::ImageDecoderQt::reset): (WebCore::ImageDecoderQt::setData): (WebCore::ImageDecoderQt::isSizeAvailable): * platform/image-decoders/ImageDecoder.h: (WebCore::ImageDecoder::setSize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Eric Seidel. Fixes https://bugs.webkit.org/show_bug.cgi?id=26309. Update a few items in the testing language to: (1) Reflect results are now generated with Leopard (not Tiger) (2) Explain how to generate pixel-level layout tests. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Rubber-stamped by Ariya Hidayat. Removed obsolete and unmaintained files from the old Symbian port. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Jun, 2009 15 commits
-
-
bfulgham@webkit.org authored
Unreviewed build fix. Reverted change to skip file, as Windows build is still failing. * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Eric Seidel. Re-enable the video-zoom-controls test on Windows. https://bugs.webkit.org/show_bug.cgi?id=25465 * platform/win/Skipped: * platform/win/media: Added. * platform/win/media/video-zoom-controls-expected.checksum: Added. * platform/win/media/video-zoom-controls-expected.png: Added. * platform/win/media/video-zoom-controls-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Jan Alonzo. [gtk] Change DumpRenderTree to use a GtkScrolledWindow instead of GtkFixed Change the code to use GtkScrolledWindow and resize the GtkScrolledWindow to pass more tests. Make sure the content is bigger than a thumbnail. * DumpRenderTree/gtk/DumpRenderTree.cpp: (runTest): (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
Disabling new tests, and tests that use features of DRT we don't currently implement. * platform/gtk/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
Reviewed by Xan Lopez. Add unit tests for our WebKitNetworkRequest object. * GNUmakefile.am: WebKit/gtk 2009-06-10 Gustavo Noronha Silva <gns@gnome.org> Reviewed by Xan Lopez. Make WebKitNetworkRequest a proper GObject, making URI and SoupMessage properties. Also adding unit tests for creation and destruction. * tests/testnetworkrequest.c: Added. (test_network_request_create_destroy): (test_network_request_properties): (main): * webkit/webkitnetworkrequest.cpp: (webkit_network_request_get_property): (webkit_network_request_set_property): (webkit_network_request_class_init): (webkit_network_request_init): (webkit_network_request_constructor): (webkit_network_request_new_with_core_request): (webkit_network_request_new): (webkit_network_request_set_uri): (webkit_network_request_get_uri): * webkit/webkitnetworkrequest.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pkasting@chromium.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=25709 part six Miscellaneous tiny changes. The important bits here are the ANSI C++ compliance fix in skia/ImageDecoders.h (needed to compile this file on non-MSVC) and some behavioral fixes for the XBM decoder that Chromium unit tests partly exposed. Other changes are mostly cosmetic. * platform/image-decoders/ImageDecoder.h: Make some variables private again. This will break QTWebKit but those guys have agreed to wait on my finishing the ImageDecoder changes. * platform/image-decoders/gif/GIFImageDecoder.cpp: (WebCore::GIFImageDecoder::initFrameBuffer): Use IntPoint() instead of the redundant IntPoint(0, 0). (WebCore::GIFImageDecoder::frameComplete): Use IntPoint() instead of the redundant IntPoint(0, 0). * platform/image-decoders/jpeg/JPEGImageDecoder.cpp: (WebCore::JPEGImageDecoder::outputScanlines): Remove obvious comments. * platform/image-decoders/png/PNGImageDecoder.cpp: (WebCore::PNGImageDecoder::rowAvailable): Remove obvious comments. * platform/image-decoders/skia/BMPImageReader.cpp: (WebCore::BMPImageReader::decodeBMP): Make more in line with other decoders' comments and structure, use a ref to decrease verbosity. (WebCore::BMPImageReader::processRLEData): Use a ref to decrease verbosity. (WebCore::BMPImageReader::processNonRLEData): Use a ref to decrease verbosity. * platform/image-decoders/skia/GIFImageDecoder.cpp: Use IntPoint() instead of the redundant IntPoint(0, 0). (WebCore::GIFImageDecoder::initFrameBuffer): Use IntPoint() instead of the redundant IntPoint(0, 0). (WebCore::GIFImageDecoder::frameComplete): Use IntPoint() instead of the redundant IntPoint(0, 0). * platform/image-decoders/skia/ImageDecoder.h: (WebCore::RGBA32Buffer::copyRowNTimes): Fix ANSI violation that MSVC let me compile (!). * platform/image-decoders/skia/JPEGImageDecoder.cpp: (WebCore::JPEGImageDecoder::outputScanlines): Remove obvious comments. * platform/image-decoders/skia/PNGImageDecoder.cpp: (WebCore::PNGImageDecoder::rowAvailable): Remove obvious comments. * platform/image-decoders/skia/XBMImageDecoder.cpp: (WebCore::XBMImageDecoder::frameBufferAtIndex): Return 0 for non-zero indexes, don't try to decode unnecessarily after failure or when the size couldn't be computed, make more in line with other decoders' comments and structure, call RGBA32Buffer::setRect() appropriately. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Unreviewed build correction. Clean up some stupid test mistakes, add pixel-level Mac tests for the new zero-radius gradient test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
See https://bugs.webkit.org/show_bug.cgi?id=26059. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
Reviewed by Gustavo Noronha. Clear the frame name before we run each tests so we don't get "someFloaString" or "3" in the target frame name. * DumpRenderTree/gtk/DumpRenderTree.cpp: (resetWebViewToConsistentStateBeforeTesting): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ojan@chromium.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. https://bugs.webkit.org/show_bug.cgi?id=25609 [GTK] Implement support for get_selection and get_n_selections Implement atk_text_get_n_selections. * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (webkit_accessible_text_get_n_selections): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Anders Carlsson. - fix <rdar://problem/6958664> REGRESSION (r42665): When I drag to pan a Google map in iPhoto Places, it drags a map tile instead Calling stopLoadRequest() from notifyFinished() removed the ScriptElementData from the CachedScript's client set, which could make it eligible for purging. The fix is to call removeClient() only after executing the script, which protects it from being purged while it is in the document's queue of scripts to execute soon. * dom/ScriptElement.cpp: (WebCore::ScriptElementData::execute): Call removeClient() here. (WebCore::ScriptElementData::notifyFinished): Instead of calling stopLoadRequest(), which calls removeClient(), just reset m_cachedScript. WebKitTools: Reviewed by Adele Peterson. - add a LayoutTestController method for temporarily changing the WebKit cache model * DumpRenderTree/LayoutTestController.cpp: (setCacheModelCallback): Added. Calls LayoutTestController::setCacheModel() with the first argument as an integer. (LayoutTestController::staticFunctions): Added setCacheModel. * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::setCacheModel): * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting): Reset the cache model to WebCacheModelDocumentBrowser. * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::setCacheModel): Added. Calls -[WebPreferences setCacheModel:]. * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::setCacheModel): * DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::setCacheModel): LayoutTests: Reviewed by Adele Peterson. - updated test to cover <rdar://problem/6958664> REGRESSION (r42665): When I drag to pan a Google map in iPhoto Places, it drags a map tile instead * fast/dom/HTMLScriptElement/nested-execution.html: * fast/dom/HTMLScriptElement/resources/nested-execution.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jmalonzo@webkit.org authored
Reviewed by Mark Rowe and Eric Seidel. Update WebInspector localizedStrings.js with new resource tracking strings https://bugs.webkit.org/show_bug.cgi?id=26247 * English.lproj/localizedStrings.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Eric Seidel. Add Android specific files. https://bugs.webkit.org/show_bug.cgi?id=26280 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Eric Seidel. Add Android specific file to WebCore/platform/android (part 9). https://bugs.webkit.org/show_bug.cgi?id=26266 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-