* platform/mac/svg/hixie/perf/001-expected.txt: Removed.
        * platform/mac/svg/hixie/perf/002-expected.txt: Removed.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2008-02-13  Alp Toker  <alp@atoker.com>

        Reviewed by Adam Roben.

        Fix very small, upside down, inside out text on GTK+/DirectFB.

        Based on an initial patch by Sriram Neelakandan <sriram.neelakandan@gmail.com>

        Test the result of gdk_screen_get_resolution() and use a default
        fallback in case of failure.

        Also remove an unhelpful runtime warning.

        * webkit/webkitwebview.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30201 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Windows build fixes

WebCore:

        Build fix

        * platform/graphics/cg/GraphicsContextCG.cpp: Added missing #include.

WebKit/win:

        Windows build fix

        * Interfaces/WebKit.idl: Create the typelib version symbol ourselves.

WebKitLibraries:

        * win/tools/scripts/auto-version.sh: Removed a redundant symbol.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30202 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2008-02-13  Rodney Dawes  <dobey@wayofthemonkey.com>

Fix Bug 17220: Illogical dependency between PluginView and PluginDatabase

WebCore:

        Fix Bug 17220: Illogical dependency between PluginView and
        PluginDatabase

        <http://bugs.webkit.org/show_bug.cgi?id=17220>

        Reviewed by Adam and Darin.

        Rename PluginDatabase::createPluginView to PluginView::create, to make
        the illogical dependency between the two, logical
        Make PluginDatabase::findPlugin a public method
        Update the includes in PluginView and PluginDatabase for the change

        * plugins/PluginDatabase.h:
        * plugins/PluginView.h:
        * plugins/win/PluginDatabaseWin.cpp:
        * plugins/win/PluginViewWin.cpp:

WebKit/win:

        Fix Bug 17220: Illogical dependency between PluginView and
        PluginDatabase

        <http://bugs.webkit.org/show_bug.cgi?id=17220>

        Reviewed by Adam and Darin.

        Update for the rename of PluginDatabase::createPluginView
        to PluginView::create

        * WebFrame.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix issues with the paint origin when using wxGCDC, with computing the font platform data hash, and Win and wxPython bindings compilation. 
http://bugs.webkit.org/show_bug.cgi?id=17321


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTools:

        Reviewed by Darin Adler

        Add some much needed Database support to DRT

        * DumpRenderTree/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
          databases are called
        (clearAllDatabasesCallback): Allow a test to delete all databases
        (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
        (LayoutTestController::staticFunctions):

        * DumpRenderTree/LayoutTestController.h:
        (LayoutTestController::dumpDatabaseCallbacks):
        (LayoutTestController::setDumpDatabaseCallbacks):

        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
        (LayoutTestController::clearAllDatabases):
        (LayoutTestController::setDatabaseQuota):

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::clearAllDatabases): Stubbed out
        (LayoutTestController::setDatabaseQuota): Ditto
        * DumpRenderTree/win/LayoutTestControllerWin.cpp:
        (LayoutTestController::clearAllDatabases): Stubbed out with error message
        (LayoutTestController::setDatabaseQuota): Ditto

        * DumpRenderTree/mac/UIDelegate.mm:
        (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
          message with details about the event then return a 5mb quota like before

LayoutTests:

        Reviewed by Darin Adler

        Added layout tests to cover
        http://trac.webkit.org/projects/webkit/changeset/29983
        and
        http://trac.webkit.org/projects/webkit/changeset/30184

        * platform/gtk/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
        * storage/quota-tracking-expected.txt: Added.
        * storage/quota-tracking.html: Added.
        * storage/success-callback-expected.txt: Added.
        * storage/success-callback.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        <rdar://problem/5740656> Leak in postDidAddIconNotification in WebIconDatabase

        Reviewed by Darin.

        * WebIconDatabase.cpp:
        (postDidAddIconNotification): Need to adopt the newly created instance of CFDictionaryPropertyBag, 
        which already has a ref count of 1.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30206 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2008-02-13  Alp Toker  <alp@atoker.com>

        Reviewed by Adam Roben.

        Split out pure-cairo Font code to FontCairo.cpp.

        Part of the ongoing work to share code with the Win port.

        * GNUmakefile.am:
        * WebCore.pro:
        * platform/graphics/cairo/FontCairo.cpp: Added.
        (WebCore::Font::drawGlyphs):
        * platform/graphics/gtk/FontGtk.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed by Darin & Eric.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=17258 (SVG uses erroneous cursor implementation)

SVG cursors are not well-integrated within the CSS(3) cursor support in WebCore.
SVGCursorElement duplicates CSSCursorImageValue functionality and inherits from
CachedResourceClient itself, handling remote-image acquisation on its own.

RenderStyle's CursorData class holds "IntPoint hotSpot", "CachedImage* image"
and just for SVG a 'String cursorFragmentId' (a reference to a SVG <cursor> element, by id).

SVG stores a reference to a SVGCursorElement, which holds a CachedImage pointer itself -
instead of storing the CachedImage in the CursorData class, as it's supposed to be.
Because of that several places in WebCore contain special SVG cursor handling - which
is unneeded.

Fix all issues by integrating within CSSCursorImageValue, remove 'String cursorFragmentId'
from RenderStyle, kill any special SVG cursor handling in WebCore and fix dynamic attribute
changes through DOM / SVG DOM (scripting of 'x' / 'y' / 'xlink:href' attribute).


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30208 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Windows/GTK+ build fixes

WebCore:

        Windows build fix

        * css/CSSCursorImageValue.cpp: #include MathExtras.h to get roundf.

WebKitTools:

        Windows/GTK+ build fix

        * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
        get isnan.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30209 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Windows build fix

        * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed by Oliver.

Actually fix the manual-tests/svg-cursor-changes.svg testcase.
I only reran layout tests when fixing the last issues with the patch,
instead of trying the manual-test :( Fixed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed by Adam.
Make svg/dynamic-updates/* tests deterministic. s/setTimeout('executTest()', 0)/executeTest/ -- as discussed with Adam.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore:

        Reviewed by Adam Roben.

        <rdar://problem/5729680> REGRESSION (r27873): Removing the last character of a word in Mail or Safari also removes the following space
        
        * editing/Editor.cpp:
        (WebCore::Editor::deleteWithDirection): Fixed a typo.

LayoutTests:

        Reviewed by Adam Roben.
        
        <rdar://problem/5729680> REGRESSION (r27873): Removing the last character of a word in Mail or Safari also removes the following space

        * editing/deleting/5729680-expected.txt: Added.
        * editing/deleting/5729680.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Versioning.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2008-02-13  Rodney Dawes  <dobey@wayofthemonkey.com>

        Reviewed by Alp Toker.

        Fix non-SVG builds.

        * css/CSSCursorImageValue.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Versioning

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Versioning.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30217 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2008-02-13  Jon Honeycutt  <jhoneycutt@apple.com>

        Reviewed by Anders.

        <rdar://problem/5739282> Hangs after closing video trailer popup with
        VLC plugin

        VLC hangs on NPP_Destroy if we call NPP_SetWindow with a null window
        handle.

        * plugins/PluginQuirkSet.h: Added new quirk
        PluginQuirkDontSetNullWindowHandleOnDestroy.
        (WebCore::):
        * plugins/win/PluginViewWin.cpp:
        (WebCore::PluginView::stop): Selectively call NPP_SetWindow.
        (WebCore::PluginView::determineQuirks): Set new quirk for VLC plug-in.




git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore:

        Reviewed by Oliver Hunt.

        Fixes the editing/deleting/5729680.html failure.  It succeeds when run by itself
        but fails when run with other tests because FramePrivate's m_selectionGranularity
        isn't reset when a Frame receives a new document.  It was also uninitialized in
        the constructor.

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::clear): Initialize m_selectionGranularity.
        * page/Frame.cpp:
        (WebCore::FramePrivate::FramePrivate): Ditto.

LayoutTests:

        Reviewed by Oliver Hunt.

        * platform/mac/editing/deleting/table-cells-expected.checksum: Fixed.  Before, a space was 
        incorrectly removed by a delete (this isn't a smart delete).
        * platform/mac/editing/deleting/table-cells-expected.png:
        * platform/mac/editing/deleting/table-cells-expected.txt:
        * platform/mac/editing/pasteboard/input-field-1-expected.checksum: Fixed.  Before a space 
        was incorrectly added by paste (this isn't a smart paste).
        * platform/mac/editing/pasteboard/input-field-1-expected.png:
        * platform/mac/editing/pasteboard/input-field-1-expected.txt:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30222 268f45cc-cd09-0410-ab3c-d52691b4dbfc