Unreviewed.  Fix a wrong bug number.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-08  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [DRT/Chromium] Add PlainTextController and TextInputController
        https://bugs.webkit.org/show_bug.cgi?id=35852

        Add PlainTextController and TextInputController classes, which are going
        to be used by DumpRenderTree Chromium port. These files are based on:
        - src/webkit/tools/test_shell/plain_text_controller.{cc,h} and
        - src/webkit/tools/test_shell/text_input_controller.{cc,h}
        of Chromium rev.40492.

        * DumpRenderTree/chromium/PlainTextController.cpp: Added.
        * DumpRenderTree/chromium/PlainTextController.h: Added.
        * DumpRenderTree/chromium/TextInputController.cpp: Added.
        * DumpRenderTree/chromium/TextInputController.h: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-08  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [DRT/Chromium] Add EventSender
        https://bugs.webkit.org/show_bug.cgi?id=35859

        Add EventSender classes, which are going to be used by
        DumpRenderTree Chromium port. These files are based on:
        - src/webkit/tools/test_shell/event_sending_controller.cc
        - src/webkit/tools/test_shell/event_sending_controller.h
        of Chromium rev.40492.

        * DumpRenderTree/chromium/EventSender.cpp: Added.
        * DumpRenderTree/chromium/EventSender.h: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Shinichiro Hamaji  <hamaji@chromium.org>

        Reviewed by Eric Seidel.

        [Chromium] Should remove paddings of Win/Linux chromium's buttons
        https://bugs.webkit.org/show_bug.cgi?id=35629

        No new tests, but we may need to rebaseline bunch of expectation
        images in chromium's tree.

        * rendering/RenderThemeChromiumSkia.cpp:
        * rendering/RenderThemeChromiumSkia.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Simplified check-webkit-style's argument parsing code by removing
support for the vestigial "extra flag values" parameter.

Reviewed by Shinichiro Hamaji.

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

The "extra flag values" parameter was needed before WebKit
forked check-webkit-style from Google.  It was used to pass
through the option parser those command-line flags that WebKit
required but that Google's parser did not support (the --git-commit
flag in particular).
    We can remove the parameter now because it is no longer
needed and unnecessarily clutters the argument-parsing code.

* Scripts/webkitpy/style/optparser.py:
  - Removed the extra_flag_values parameter from the
    CommandOptionValues class's constructor.
  - Removed the extra_flags parameter from the ArgumentParser
    class's parse() method.

* Scripts/webkitpy/style/optparser_unittest.py:
  - Removed from the unit tests all references to the
    extra_flag_values variable.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GStreamer] player code cleanups
        https://bugs.webkit.org/show_bug.cgi?id=35868

        Splitted GOwnPtrGtk.{cpp,h} to GOwnPtr{Soup,GStreamer}.{cpp,h}.

        * GNUmakefile.am:
        * platform/graphics/gstreamer/GOwnPtrGStreamer.cpp: Added.
        (WTF::GstElement):
        * platform/graphics/gstreamer/GOwnPtrGStreamer.h: Added.
        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
        * platform/gtk/GOwnPtrGtk.cpp: Removed.
        * platform/gtk/GOwnPtrGtk.h: Removed.
        * platform/network/soup/CookieJarSoup.cpp:
        * platform/network/soup/DNSSoup.cpp:
        * platform/network/soup/GOwnPtrSoup.cpp: Added.
        (WTF::SoupURI):
        * platform/network/soup/GOwnPtrSoup.h: Added.
        * platform/network/soup/ResourceHandleSoup.cpp:
        * platform/network/soup/ResourceRequestSoup.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GStreamer] player code cleanups
        https://bugs.webkit.org/show_bug.cgi?id=35868

        Cleaned up the private instance variables of the player.

        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
        (WebCore::MediaPlayerPrivate::fillTimerFired):
        (WebCore::MediaPlayerPrivate::mediaLocationChanged):
        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rubber-stamped by Maciej Stachowiak.

Buildfix for ARM after r55684. Add branch8 and branchTest8 functions.
https://bugs.webkit.org/show_bug.cgi?id=35892

* assembler/ARMAssembler.cpp:
(JSC::ARMAssembler::dataTransfer32):
* assembler/ARMAssembler.h:
(JSC::ARMAssembler::):
* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::load8):
(JSC::MacroAssemblerARM::branch8):
(JSC::MacroAssemblerARM::branchTest8):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-03  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Alexey Proskuryakov.

        pywebsocket should support html and cgi in the same directory.
        https://bugs.webkit.org/show_bug.cgi?id=34879

        * websocket/tests/cookies: Removed.
        * websocket/tests/cookies/echo-cookie_wsh.py: Removed.
        * websocket/tests/cookies/httponly-cookie-expected.txt: Removed.
        * websocket/tests/cookies/httponly-cookie.pl: Removed.
        * websocket/tests/echo-cookie_wsh.py: Copied from LayoutTests/websocket/tests/cookies/echo-cookie_wsh.py.
        * websocket/tests/httponly-cookie-expected.txt: Copied from LayoutTests/websocket/tests/cookies/httponly-cookie-expected.txt.
        * websocket/tests/httponly-cookie.pl: Copied from LayoutTests/websocket/tests/cookies/httponly-cookie.pl.
2010-03-03  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Alexey Proskuryakov.

        pywebsocket should support html and cgi in the same directory.
        https://bugs.webkit.org/show_bug.cgi?id=34879

        Import pywebsocket 0.4.9.2
        Specify --server-host 127.0.0.1, so that it only binds listening socket
        to 127.0.0.1 to prevent access from non-localhost.
        Change --cgi-paths from /websocket/tests/cookies to /websocket/tests,
        because pywebsocket 0.4.9.2 supports html and cgi in the same directory
        and only executable (httponly-cookies.pl) will be handled as cgi
        script.

        * Scripts/run-webkit-tests:
        * Scripts/run-webkit-websocketserver:
        * Scripts/webkitpy/layout_tests/port/websocket_server.py:
        * Scripts/webkitpy/thirdparty/pywebsocket/README.webkit:
        * Scripts/webkitpy/thirdparty/pywebsocket/example/echo_client.py:
        * Scripts/webkitpy/thirdparty/pywebsocket/example/handler_map.txt: Added.
        * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/standalone.py:
        * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/util.py:
        * Scripts/webkitpy/thirdparty/pywebsocket/setup.py:
        * Scripts/webkitpy/thirdparty/pywebsocket/test/test_util.py:
        * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/README: Added.
        * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/hello.pl: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed trivial fix.

[Qt] perl websocket test(s) time out
https://bugs.webkit.org/show_bug.cgi?id=34879
It was fixed by r55719, so we can unskip websocket/tests/cookies/httponly-cookie.pl.

storage/open-database-creation-callback-isolated-world.html removed
from Skipped list, because it was removed from tree by r55635.

* platform/qt/Skipped:
 - websocket/tests/cookies/httponly-cookie.pl unskipped.
 - storage/open-database-creation-callback-isolated-world.html unskipped.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Rimas Kudelis  <rq@akl.lt>

        Reviewed by Gustavo Noronha.

        Lithuanian translation update.

        * lt.po:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Duy Nguyen  <pclouds@gmail.com>

        Reviewed by Gustavo Noronha.

        Vietnamese translation update.

        * vi.po:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Peteris Krisjanis  <pecisk@gmail.com>

        Reviewed by Gustavo Noronha.

        Latvian translation.

        * lv.po: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] editing/execCommand/move-selection-back-line.html fails in DRT.
https://bugs.webkit.org/show_bug.cgi?id=35921

* platform/qt/Skipped: editing/execCommand/move-selection-back-line.html skipped until fix.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: highlight text node containers while searching for node.

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

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::mouseDidMoveOverElement):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.
 
        When enable resource tracking state changes use the same method as
        location.reload for reloading inspected page.

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

        * inspector/InspectorBackend.cpp:
        (WebCore::InspectorBackend::reloadPage):
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::enableResourceTracking):

2010-03-09  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Use clean global object for devtools utility context instead of
        trying to simulate inspected context. 
    
        https://bugs.webkit.org/show_bug.cgi?id=35923

        * src/DebuggerAgentImpl.cpp:
        * src/DebuggerAgentImpl.h:
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.
 
        When enable resource tracking state changes use the same method as
        location.reload for reloading inspected page.

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

        * inspector/InspectorBackend.cpp:
        (WebCore::InspectorBackend::reloadPage):
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::enableResourceTracking):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-03-09  Pavel Feldman  <pfeldman@chromium.org>

        r55727 was landed with wrong commit messages. Should have been:

        Reviewed by Timothy Hatcher.

        Web Inspector: Refactor Audits panel presentation layer.
        This change removes unnecessary complexity:
          - Audit scores were not used
          - Audit rule parameters are passed as rule constructor arguments
          - View management aligned with the rest of the front-end
          - Single TreeOutline is used for category results (no need to create sections for those)
          - Rules code beautified and simplified where possible
          - Some UI improvements applied (see attached screenshot)

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

        * inspector/front-end/AuditCategories.js:
        (WebInspector.AuditCategories.PagePerformance.prototype.initialize):
        (WebInspector.AuditCategories.NetworkUtilization.prototype.initialize):
        * inspector/front-end/AuditResultView.js:
        (WebInspector.AuditResultView):
        (WebInspector.AuditCategoryResultPane):
        (WebInspector.AuditCategoryResultPane.prototype._appendResult):
        * inspector/front-end/AuditRules.js:
        (WebInspector.AuditRules.GzipRule.prototype.doRun):
        (WebInspector.AuditRules.CombineExternalResourcesRule):
        (WebInspector.AuditRules.CombineExternalResourcesRule.prototype.doRun):
        (WebInspector.AuditRules.CombineJsResourcesRule):
        (WebInspector.AuditRules.CombineCssResourcesRule):
        (WebInspector.AuditRules.MinimizeDnsLookupsRule):
        (WebInspector.AuditRules.MinimizeDnsLookupsRule.prototype.doRun):
        (WebInspector.AuditRules.ParallelizeDownloadRule):
        (WebInspector.AuditRules.ParallelizeDownloadRule.prototype.doRun):
        (WebInspector.AuditRules.UnusedCssRule):
        (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback):
        (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.routine):
        (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
        (WebInspector.AuditRules.CacheControlRule):
        (WebInspector.AuditRules.CacheControlRule.prototype.doRun):
        (WebInspector.AuditRules.CacheControlRule.prototype.execCheck):
        (WebInspector.AuditRules.BrowserCacheControlRule):
        (WebInspector.AuditRules.BrowserCacheControlRule.prototype.handleNonCacheableResources):
        (WebInspector.AuditRules.BrowserCacheControlRule.prototype.runChecks):
        (WebInspector.AuditRules.ProxyCacheControlRule):
        (WebInspector.AuditRules.ProxyCacheControlRule.prototype.runChecks):
        (WebInspector.AuditRules.ImageDimensionsRule):
        (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
        (WebInspector.AuditRules.CssInHeadRule):
        (WebInspector.AuditRules.CssInHeadRule.prototype.doRun):
        (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.routine):
        (WebInspector.AuditRules.StylesScriptsOrderRule):
        (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun):
        (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.routine):
        (WebInspector.AuditRules.CookieRuleBase):
        (WebInspector.AuditRules.CookieRuleBase.prototype.doRun.resultCallback):
        (WebInspector.AuditRules.CookieRuleBase.prototype.doRun):
        (WebInspector.AuditRules.CookieSizeRule):
        (WebInspector.AuditRules.CookieSizeRule.prototype.processCookies):
        (WebInspector.AuditRules.StaticCookielessRule):
        (WebInspector.AuditRules.StaticCookielessRule.prototype.processCookies):
        * inspector/front-end/AuditsPanel.js:
        (WebInspector.AuditsPanel):
        (WebInspector.AuditsPanel.prototype._executeAudit.ruleResultReadyCallback):
        (WebInspector.AuditsPanel.prototype._executeAudit):
        (WebInspector.AuditsPanel.prototype._reloadResources):
        (WebInspector.AuditsPanel.prototype._didMainResourceLoad):
        (WebInspector.AuditsPanel.prototype.showResults):
        (WebInspector.AuditsPanel.prototype.showLauncherView):
        (WebInspector.AuditsPanel.prototype.get visibleView):
        (WebInspector.AuditsPanel.prototype.set visibleView):
        (WebInspector.AuditsPanel.prototype.show):
        (WebInspector.AuditsPanel.prototype._clearButtonClicked):
        (WebInspector.AuditCategory.prototype.addRule):
        (WebInspector.AuditRule):
        (WebInspector.AuditRule.prototype.set severity):
        (WebInspector.AuditRule.prototype.run):
        (WebInspector.AuditRule.prototype.doRun):
        (WebInspector.AuditCategoryResult):
        (WebInspector.AuditCategoryResult.prototype.addRuleResult):
        (WebInspector.AuditRuleResult):
        (WebInspector.AuditRuleResult.prototype.addChild):
        (WebInspector.AuditRuleResult.prototype.addURL):
        (WebInspector.AuditRuleResult.prototype.addURLs):
        (WebInspector.AuditRuleResult.prototype.addSnippet):
        * inspector/front-end/Settings.js:
        * inspector/front-end/audits.css:
        * inspector/front-end/inspector.js:
        (WebInspector._createPanels):
        (WebInspector.documentKeyDown):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AX: hit testing a list box doesn't work anymore
https://bugs.webkit.org/show_bug.cgi?id=35893

Reviewed by Darin Adler.

WebCore: 

Since <option> elements don't have renderers, their hit testing needs
to be handled with a special case.

Test: platform/mac/accessibility/listbox-hit-test.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::ariaIsHidden):
(WebCore::AccessibilityRenderObject::doAccessibilityHitTest):

WebKitTools: 

* DumpRenderTree/AccessibilityController.cpp:
(getElementAtPointCallback):
(AccessibilityController::getJSClass):
* DumpRenderTree/AccessibilityController.h:
* DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
(AccessibilityController::elementAtPoint):
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::elementAtPoint):
* DumpRenderTree/win/AccessibilityControllerWin.cpp:
(AccessibilityController::elementAtPoint):

LayoutTests: 

* platform/mac/accessibility/listbox-hit-test-expected.txt: Added.
* platform/mac/accessibility/listbox-hit-test.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DRT build fix for Tiger. No review.

AX: hit testing a list box doesn't work anymore
https://bugs.webkit.org/show_bug.cgi?id=35893

* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::elementAtPoint):



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