2010-05-04  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Darin Adler.

        Does not work on SPARC because of alignment issues
        https://bugs.webkit.org/show_bug.cgi?id=38455

        Use AllocAlignmentInteger instead of void* on pageheap_memory to
        avoid crashing at runtime in some architectures. Investigated by
        Mike Hommey <mh@glandium.org>, change suggested by Darin Adler.

        * wtf/FastMalloc.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Preserve binary compatibility with qtwebkit-2.0 branch

Rubber-stamped by Tor Arne Vestbø.

Moved the WebGL attribute in QWebSettings to the end of the enum,
to ensure that the numeric values of the enum values following it
are the same as in the release branch.

* Api/qwebsettings.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Holger Freyther.

        Fix a memory leak inside the QScriptValue.

        QSciptValuePrivate::toString should release all temporary variables.

        [Qt] QScriptValue::toString have a memory leak.
        https://bugs.webkit.org/show_bug.cgi?id=38112

        * qt/api/qscriptvalue_p.h:
        (QScriptValuePrivate::toString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Unreviewed, build fix for Symbian.

        [Symbian] Symbian builds does not support shadow builds

        Revision r54715 broke the Symbian build. For Symbian
        the include directory is generated in the root of the source tree.
        This patch sets the INCLUDEPATH accordingly for Symbian.

        * WebKit.pri:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by David Levin.

        [chromium] Make the select popup not close on right/middle clicks.
        https://bugs.webkit.org/show_bug.cgi?id=38473

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::mouseDown):

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

        Reviewed by Pavel Feldman.

        Web Inspector: Drawer Misbehaving when Docking / Undocking in Console Panel
        https://bugs.webkit.org/show_bug.cgi?id=38510

        * inspector/front-end/inspector.js:
        (WebInspector.set attached): resize the drawer after docking/undocking

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Jochen Eisinger  <jochen@chromium.org>

        Reviewed by Jeremy Orlow.

        Fix typo in run_webkit_tests.py: s/_print\./_printer./
        https://bugs.webkit.org/show_bug.cgi?id=38515

        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Ben Murdoch  <benm@google.com>

        Reviewed by Simon Hausmann.

        Crash in handleTouchEvent: using dangling node ptrs in hashmap
        https://bugs.webkit.org/show_bug.cgi?id=38514

        * fast/events/touch/resources/touch-stale-node-crash.js: Added.
        * fast/events/touch/resources/send-touch-up.html: Added.
        * fast/events/touch/touch-stale-node-crash-expected.txt: Added.
        * fast/events/touch/touch-stale-node-crash.html: Added.
2010-05-04  Ben Murdoch  <benm@google.com>

        Reviewed by Simon Hausmann.

        Crash in handleTouchEvent: using dangling node ptrs in hashmap
        https://bugs.webkit.org/show_bug.cgi?id=38514

        When navigating away from a page, if you have your finger still
        pressed and then lift it on the new page we see a crash if the
        node got deleted as we still have a dangling pointer in the
        m_originatingTouchPointTargets hashmap and try to use it as the
        receiver to dispatch a touchend event.

        Test: fast/events/touch/touch-stale-node-crash.html

        * page/EventHandler.cpp:
        (WebCore::EventHandler::clear): Clear the hashmap of touch targets.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: REGRESSION: Up/Down, PgUp/PgDown keys do not change numeric style properties
        https://bugs.webkit.org/show_bug.cgi?id=38516

        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype):

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

        Reviewed by Dan Bernstein.

        REGRESSION: Text clipped in absolutely positioned search inputs
        https://bugs.webkit.org/show_bug.cgi?id=38468

        Update the test to include a second search field and show
        the clipping of a search input is like a text input.

        * fast/css/input-search-padding.html:
        * platform/mac/fast/css/input-search-padding-expected.checksum:
        * platform/mac/fast/css/input-search-padding-expected.png:
        * platform/mac/fast/css/input-search-padding-expected.txt:

2010-05-03  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Dan Bernstein.

        REGRESSION: Text clipped in absolutely positioned search inputs
        https://bugs.webkit.org/show_bug.cgi?id=38468

        Previously I incorrectly added x() and y() to the tx and ty positioning.
        This clips a search input like a text input, respecting the vertically
        centered text.

        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::layout): only the Y changes, so change setLocation to setY
        (WebCore::RenderTextControlSingleLine::controlClipRect):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Xan Lopez.

        Fixed error defining the float/double minimum in the object
        properties, the smallest value of a float/double is
        -G_MAXDOUBLE/-G_MAXFLOAT.

        * bindings/scripts/CodeGeneratorGObject.pm:

* bindings/scripts/CodeGeneratorGObject.pm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] QWebPage viewMode property
        https://bugs.webkit.org/show_bug.cgi?id=38119

        Rename the property from wrt_viewMode to _q_viewMode.

        * Api/qwebpage.cpp:
        (QWebPagePrivate::dynamicPropertyChangeEvent):
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::viewModes):
2010-05-04  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] QWebPage viewMode property
        https://bugs.webkit.org/show_bug.cgi?id=38119

        Rename the property from wrt_viewMode to _q_viewMode.

        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::setViewModeMediaFeature):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-04-29  John Gregg  <johnnyg@google.com>

        Reviewed by Dmitry Titov.

        notifications should have dir and replaceId attributes
        https://bugs.webkit.org/show_bug.cgi?id=38336

        * public/WebNotification.h:
        * src/WebNotification.cpp:
        (WebKit::WebNotification::dir):
        (WebKit::WebNotification::replaceId):
2010-04-29  John Gregg  <johnnyg@google.com>

        Reviewed by Dmitry Titov.

        notifications should have dir and replaceId attributes.
        Note that tests are only enabled in Chromium, skipped elsewhere
        since notifications aren't implemented.
        https://bugs.webkit.org/show_bug.cgi?id=38336

        Tests: fast/notifications/notifications-replace.html
               fast/notifications/notifications-rtl.html

        * notifications/Notification.h:
        (WebCore::Notification::dir):
        (WebCore::Notification::setDir):
        (WebCore::Notification::replaceId):
        (WebCore::Notification::setReplaceId):
        * notifications/Notification.idl:
2010-04-29  John Gregg  <johnnyg@google.com>

        Reviewed by Dmitry Titov.

        notifications should have dir and replaceId attributes
        Tests are disabled until the attributes are correctly handled
        in Chromium test_shell.
        https://bugs.webkit.org/show_bug.cgi?id=38336

        * fast/notifications/notifications-replace-expected.txt: Added.
        * fast/notifications/notifications-replace.html: Added.
        * fast/notifications/notifications-rtl-expected.txt: Added.
        * fast/notifications/notifications-rtl.html: Added.
        * platform/chromium/test_expectations.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Steven Lai  <steven_lai@asia.apple.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=37900
        <rdar://problem/7806164> cloneNode() does not preserve z-index with more than six digits

        * fast/dom/HTMLInputElement/clone-input-checked-expected.txt: Added.
        * fast/dom/HTMLInputElement/clone-input-checked.html: Added.
        * fast/dom/clone-node-z-index-expected.txt: Added.
        * fast/dom/clone-node-z-index.html: Added.
2010-05-04  Steven Lai  <steven_lai@asia.apple.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=37900
        <rdar://problem/7806164> cloneNode() does not preserve z-index with more than six digits

        Tests: fast/dom/HTMLInputElement/clone-input-checked.html
               fast/dom/clone-node-z-index.html

        * dom/Element.cpp: undid the order change of calling copyNonAttributeProperties() before setAttributes()
        (WebCore::Element::cloneElementWithoutChildren): uncheck the previous radio button in the same radio button group only when the checked radio box is appended to the dom tree
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::updateCheckedRadioButtons):
        (WebCore::HTMLInputElement::attach):
        (WebCore::HTMLInputElement::setChecked):
        * html/HTMLInputElement.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, build fix for Qt skipping new notifications tests.



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

        Reviewed by Timothy Hatcher.

        Web Inspector: restore main and sidebar scroller positions
        when switching between panels.

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

        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype.elementsToRestoreScrollPositionsFor):
        * inspector/front-end/Panel.js:
        (WebInspector.Panel.prototype.show):
        (WebInspector.Panel.prototype.hide):
        (WebInspector.Panel.prototype.elementsToRestoreScrollPositionsFor):
        (WebInspector.Panel.prototype._storeScrollPositions):
        (WebInspector.Panel.prototype._restoreScrollPositions):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.elementsToRestoreScrollPositionsFor):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.elementsToRestoreScrollPositionsFor):


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

        Unreviewed, expectations change.

        Remove a bunch of test failures that are no longer failing (likely fixed in r58762).

        * platform/chromium/test_expectations.txt:

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

[Qt] http/tests/security/cross-frame-access-name-getter.html timed out
https://bugs.webkit.org/show_bug.cgi?id=38540

* platform/qt/Skipped: http/tests/security/cross-frame-access-name-getter.html skipped until bug fixed.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix for <rdar://problem/7818509> Crash occurs when exiting Safari

Reviewed by Mike Thole.

We can avoid this crash if we call [self _removeFromAllWebViewsSet] 
even in the case when we are doing a fastDocumentTeardown. This is 
a much safer approach.
* WebView/WebView.mm:
(-[WebView _close]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-04  Jesus Sanchez-Palencia  <jesus@webkit.org>

        Reviewed by Eric Seidel.

        Wrong documentation on 'webkit-patch help land'.
        https://bugs.webkit.org/show_bug.cgi?id=37871

        Small fix on the help documentation for webkit-patch
        land.

        * Scripts/webkitpy/tool/commands/download.py:

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