2010-02-11  Eric Seidel  <eric@webkit.org>

        No review, build fix only.

        webkitdirs.pm has a crazy amount of duplicated feature detection code
        https://bugs.webkit.org/show_bug.cgi?id=34869

        * Scripts/build-webkit: Fix typo which broke bots.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Eric Seidel.

        Add roundedIntSize() convenience method converting FloatSize to IntSize, just like roundedIntPoint() converting FloatPoint to IntPoint.

        * platform/graphics/FloatSize.h:
        (WebCore::roundedIntSize):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-11  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Editing Styles Cannot Tab Backwards from a New Style Item
        https://bugs.webkit.org/show_bug.cgi?id=34872

        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertiesSection.prototype.update): triggers afterUpdate
        (WebInspector.StylePropertiesSection.prototype.afterUpdate): factored out _afterUpdate handling

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-11  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt and Darin Adler.

        The rest of the fix for
        https://bugs.webkit.org/show_bug.cgi?id=34864 | <rdar://problem/7594198>
        Many objects left uncollected after visiting mail.google.com and closing
        window
        
        Don't unconditionally hang onto small strings. Instead, hang onto all
        small strings as long as any small string is still referenced.
        
        SunSpider reports no change.

        * runtime/Collector.cpp:
        (JSC::Heap::markRoots): Mark the small strings cache last, so it can
        check if anything else has kept any strings alive.

        * runtime/SmallStrings.cpp:
        (JSC::isMarked):
        (JSC::SmallStrings::markChildren): Only keep our strings alive if some
        other reference to at least one of them exists, too.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-11  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Focusing a resource in the inspector should default to content not header
        https://bugs.webkit.org/show_bug.cgi?id=34861

        * inspector/front-end/Settings.js:
        (WebInspector.Settings.prototype._load): changed initial default to content tab

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-11  Yuzo Fujishima  <yuzo@google.com>

        Reviewed by Shinichiro Hamaji.

        Rename underscored identifiers in WebCore/css/CSSParser.cpp.
        https://bugs.webkit.org/show_bug.cgi?id=34877
        Also fix whitespace erros that surface due to the above fix.

        This doesn't change the code logic. Hence no new tests are required.

        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseValue):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-11  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>

        Reviewed by Dan Bernstein.

        [Mac] Duplicated setXSSAuditorEnabled preference at Mac DRT
        https://bugs.webkit.org/show_bug.cgi?id=34798

        Remove duplicated setXSSAuditorEnabled preference at Mac DRT

        * DumpRenderTree/mac/DumpRenderTree.mm:
        (resetDefaultsToConsistentValues):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-11  Ariya Hidayat  <ariya.hidayat@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Use clipRegion instead of clipPath to save lots of CPU cycles.

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

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::clipOut):
        (WebCore::GraphicsContext::clipOutEllipseInRect):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-11  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Gustavo Noronha Silva.

        Detect properly different versions of libpng out there.

        * configure.ac:

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

        Reviewed by Alexey Proskuryakov.

        WebSocket ignores HttpOnly cookies, but should use in Handshake.
        https://bugs.webkit.org/show_bug.cgi?id=34289

        * websocket/tests/cookies/echo-cookie_wsh.py: Added.
        * websocket/tests/cookies/httponly-cookie-expected.txt: Added.
        * websocket/tests/cookies/httponly-cookie.pl: Added.
2010-02-11  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Alexey Proskuryakov.

        WebSocket ignores HttpOnly cookies, but should use in Handshake.
        https://bugs.webkit.org/show_bug.cgi?id=34289

        Test: websocket/tests/cookies/httponly-cookie.pl

        * platform/CookieJar.h: add cookieRequestHeaderFieldValue()
        * platform/chromium/ChromiumBridge.h:
        * platform/haiku/CookieJarHaiku.cpp:
        (WebCore::cookieRequestHeaderFieldValue):
        * platform/mac/CookieJar.mm:
        (WebCore::cookies):
        (WebCore::cookieRequestHeaderFieldValue):
        * platform/network/android/CookieJarAndroid.cpp:
        (WebCore::cookieRequestHeaderFieldValue):
        * platform/network/chromium/CookieJarChromium.cpp:
        (WebCore::cookieRequestHeaderFieldValue):
        * platform/network/curl/CookieJarCurl.cpp:
        (WebCore::cookieRequestHeaderFieldValue):
        * platform/network/soup/CookieJarSoup.cpp:
        (WebCore::cookieRequestHeaderFieldValue):
        * platform/network/win/CookieJarCFNetWin.cpp:
        (WebCore::cookieRequestHeaderFieldValue):
        * platform/network/win/CookieJarWin.cpp:
        (WebCore::cookieRequestHeaderFieldValue):
        * platform/qt/CookieJarQt.cpp:
        (WebCore::cookieRequestHeaderFieldValue):
        * websockets/WebSocketHandshake.cpp:
        (WebCore::WebSocketHandshake::clientHandshakeMessage): use cookieRequestHeaderFieldValue() instead of cookies() to include HttpOnly cookies.
2010-02-11  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Alexey Proskuryakov.

        WebSocket ignores HttpOnly cookies, but should use in Handshake.
        https://bugs.webkit.org/show_bug.cgi?id=34289

        Update pywebsocket to 0.4.8, which supports cgi directories.
        run-webkit-tests and run-webkit-websocketserver will run
        pywebsocket, specifying /websocket/test/cookies as cgi directory.

        * Scripts/run-webkit-tests:
        * Scripts/run-webkit-websocketserver:
        * pywebsocket/mod_pywebsocket/standalone.py:
        * pywebsocket/setup.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-12  Simon Hausmann  <simon.hausmann@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Make it possible to toggle the use of QGraphicsView in QtLauncher at run-time
        https://bugs.webkit.org/show_bug.cgi?id=34844

        * QtLauncher/main.cpp:
        (LauncherWindow::LauncherWindow):
        (LauncherWindow::initializeView):
        (LauncherWindow::setupUI):
        * QtLauncher/webview.cpp:
        (WebViewGraphicsBased::WebViewGraphicsBased):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] perl websocket test(s) time out
https://bugs.webkit.org/show_bug.cgi?id=34882

* platform/qt/Skipped: websocket/tests/cookies/httponly-cookie.pl skipped until fix.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-12  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        Fix typos in driver_test.py

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

        * Scripts/webkitpy/layout_tests/driver_test.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Fix standalone build with MinGW.

Reviewed by nobody, build fix.

* tests/qwebelement/tst_qwebelement.cpp:
* tests/tests.pri:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Minor fixes on QtWebKit headers generation.

- Adds QtWebKit to the generated headers destination path
- Improve compatibility with MinGW

Reviewed by Tor Arne Vestbo.

WebCore:

No new tests. (OOPS!)

* WebCore.pro:

WebKit\qt:

* Api/DerivedSources.pro:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Manually add support for the install target on Symbian.

This is required to copy the headers over the ones in Qt.

Reviewed by Tor Arne Vestbo.

.:

* WebKit.pro:

WebCore:

* WebCore.pro:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Ensure relative paths in generated .pri files to ensure that
a source package with pre-generated derived sources can be compiled.

- Re-add a separate headers.pri file for WEBKIT_API_HEADERS
- Rename the generated headers.pri to classheaders.pri to avoid
confusion with the one generated by synqt since they don't have the
same content.
- Remove private headers list variable from classheaders.pri
- Use $$PWD in classheaders.pri
- Remove classheaders.pri from the installed files

Reviewed by Tor Arne Vestbo.

WebCore:

* WebCore.pro:

WebKit\qt:

* Api/DerivedSources.pro:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Make qtlauncher and qgvlauncher use the generated headers
path to make sure they are correctly generated.

Reviewed by Tor Arne Vestbo.

.:

* WebKit.pri:

WebCore:

* WebCore.pro:

WebKit\qt:

* tests/tests.pri:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
.: Removed WMLInputElement.* from .gitattributes as the file is
now CRLF clean.

Reviewed by Holger Freyther.

* .gitattributes:

WebCore: Replaced stray CRLF with LF.

Reviewed by Holger Freyther.

* wml/WMLInputElement.cpp:
(WebCore::WMLInputElement::suggestedValue):
* wml/WMLInputElement.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-02-12  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Adam Barth.

        Typedef both JSChar and UChar to wchar_t in RVCT.
        https://bugs.webkit.org/show_bug.cgi?id=34560

        Define both JSChar and UChar to wchar_t as the size
        of wchar_t is 2 bytes in RVCT.

        * API/JSStringRef.h:
        * wtf/unicode/qt4/UnicodeQt4.h:

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