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

        Rubber-stamped by Jan Alonzo.

        New Serbian translation.

        * sr.po: Added.
        * sr@latin.po: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-06-28  Nate Chapin  <japhet@chromium.org>

        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.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-06-27  Simon Fraser  <simon.fraser@apple.com>

        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):

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

        Reviewed by Simon Fraser.

        - fix https://bugs.webkit.org/show_bug.cgi?id=26783
          <rdar://problem/7014543> REGRESSION (r45296): Subfolders not displayed
          in MobileMe iDisk Web App

        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.

        - add a test case for https://bugs.webkit.org/show_bug.cgi?id=26783
          <rdar://problem/7014543> REGRESSION (r45296): Subfolders not displayed
          in MobileMe iDisk Web App

        * fast/dom/Element/scrollWidth-expected.txt:
        * fast/dom/Element/scrollWidth.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-06-28  Xan Lopez  <xlopez@igalia.com>

        Fix the GTK+ build.

        * WebCoreSupport/ContextMenuClientGtk.cpp:
        (WebKit::ContextMenuClient::isSpeaking):
        * WebCoreSupport/ContextMenuClientGtk.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-06-29  Simon Hausmann  <simon.hausmann@nokia.com>

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-06-29  Jessie Berlin  <jberlin@apple.com>

        Fix the windows build.

        Reviewed by Adam Roben.

        * WebCoreSupport/WebContextMenuClient.cpp:
        (WebContextMenuClient::isSpeaking):
        * WebCoreSupport/WebContextMenuClient.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed by Adam Treat.
Rename go-task-animation.* to ontimer-inline-event.* to reflect what it really tests.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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:



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