Reviewed by Kevin Ollivier.

[wx] Build and use Mac's ComplexTextController to support complex text in wx.
https://bugs.webkit.org/show_bug.cgi?id=38482


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix missing bug URL.


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

[wx] Implement scheduleDispatchFunctionsOnMainThread for wx port.
https://bugs.webkit.org/show_bug.cgi?id=38480


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add the ability to auto-generate callbacks to all code generators.
https://bugs.webkit.org/show_bug.cgi?id=38414

Reviewed by Adam Barth.

* bindings/scripts/CodeGeneratorJS.pm:
* bindings/scripts/CodeGeneratorV8.pm:
* bindings/scripts/test/JS/JSTestCallback.cpp: Added.
(WebCore::JSTestCallback::JSTestCallback):
(WebCore::JSTestCallback::~JSTestCallback):
(WebCore::JSTestCallback::callbackWithClass1Param):
(WebCore::JSTestCallback::callbackWithClass2Param):
* bindings/scripts/test/JS/JSTestCallback.h: Added.
(WebCore::JSTestCallback::create):
* bindings/scripts/test/V8/JSTestCallback.cpp: Added.
(WebCore::V8TestCallback::V8TestCallback):
(WebCore::V8TestCallback::~V8TestCallback):
(WebCore::V8TestCallback::callbackWithClass1Param):
(WebCore::V8TestCallback::callbackWithClass2Param):
* bindings/scripts/test/V8/V8TestCallback.h: Added.
(WebCore::V8TestCallback::create):
* bindings/scripts/test/TestCallback.idl: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] fast/frames/flattening/frameset-flattening-subframesets.html fails intermittently on Qt bot
Fails caused by layoutTestController.display() in fast/frames/flattening/frameset-flattening-subframe-resize.html
https://bugs.webkit.org/show_bug.cgi?id=37334

* platform/qt/Skipped:
 - fast/frames/flattening/frameset-flattening-subframe-resize.html skipped until fix
 - fast/frames/flattening/frameset-flattening-subframesets.html unskipped, because it works.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rolling out r58114 - this introduced memory leaks of
AtomicStrings then workers terminated.

Reviewed by NOBODY (reverting previous commit).

* GNUmakefile.am:
* JavaScriptCore.gypi:
* JavaScriptCore.vcproj/WTF/WTF.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* jit/ThunkGenerators.cpp:
(JSC::ThunkHelpers::stringImplDataOffset):
* runtime/Identifier.cpp:
(JSC::IdentifierTable::~IdentifierTable):
(JSC::IdentifierTable::add):
(JSC::IdentifierCStringTranslator::hash):
(JSC::IdentifierCStringTranslator::equal):
(JSC::IdentifierCStringTranslator::translate):
(JSC::Identifier::add):
(JSC::IdentifierUCharBufferTranslator::hash):
(JSC::IdentifierUCharBufferTranslator::equal):
(JSC::IdentifierUCharBufferTranslator::translate):
(JSC::Identifier::addSlowCase):
* runtime/Identifier.h:
* runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::JSGlobalData):
(JSC::JSGlobalData::~JSGlobalData):
* runtime/JSGlobalData.h:
* wtf/WTFThreadData.cpp:
(WTF::WTFThreadData::WTFThreadData):
(WTF::WTFThreadData::~WTFThreadData):
* wtf/WTFThreadData.h:
(JSC::IdentifierTable::remove):
(JSC::IdentifierTable::literalTable):
(WTF::WTFThreadData::atomicStringTable):
* wtf/text/AtomicString.cpp:
(WebCore::AtomicStringTable::create):
(WebCore::AtomicStringTable::table):
(WebCore::AtomicStringTable::destroy):
(WebCore::stringTable):
(WebCore::CStringTranslator::hash):
(WebCore::CStringTranslator::equal):
(WebCore::CStringTranslator::translate):
(WebCore::operator==):
(WebCore::AtomicString::add):
(WebCore::equal):
(WebCore::UCharBufferTranslator::hash):
(WebCore::UCharBufferTranslator::equal):
(WebCore::UCharBufferTranslator::translate):
(WebCore::HashAndCharactersTranslator::hash):
(WebCore::HashAndCharactersTranslator::equal):
(WebCore::HashAndCharactersTranslator::translate):
(WebCore::AtomicString::find):
(WebCore::AtomicString::remove):
* wtf/text/AtomicStringTable.h: Removed.
* wtf/text/StringImpl.cpp:
(WebCore::StringImpl::~StringImpl):
* wtf/text/StringImpl.h:
(WebCore::StringImpl::inTable):
(WebCore::StringImpl::setInTable):
(WebCore::equal):
* wtf/text/StringImplBase.h:
(WTF::StringImplBase::StringImplBase):



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

        Unreviewed, expectations change.

        Mark more editing/* tests from r58703 as failing. Also, (re-?) add the SVG tests again
        as they do fail on some platforms.

        * platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-03  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Get rid of PageClient::isPageVisible and pass visibility directly in setPageIsVisible
        https://bugs.webkit.org/show_bug.cgi?id=38493

        * UIProcess/API/mac/PageClientImpl.h:
        * UIProcess/API/mac/PageClientImpl.mm:
        Remove isPageVisible.
        
        * UIProcess/API/mac/WKView.mm:
        (isViewVisible):
        New function (moved here from PageClientImpl).
        
        (-[WKView _updateVisibility]):
        Call didChangeVisibility.
        
        (-[WKView viewDidMoveToWindow]):
        (-[WKView viewDidHide]):
        (-[WKView viewDidUnhide]):
        Call _updateVisibility.
        
        * UIProcess/DrawingAreaProxy.h:
        Rename didChangeVisibility to setPageIsVisible and add an isVisible parameter.
        
        * UIProcess/DrawingAreaProxyUpdateChunk.cpp:
        (WebKit::DrawingAreaProxyUpdateChunk::setPageIsVisible):
        Don't call WebPageProxy::isVisible.

        * UIProcess/DrawingAreaProxyUpdateChunk.h:
        
        * UIProcess/PageClient.h:
        Remove isPageVisible.

        * UIProcess/WebPageProxy.cpp:
        * UIProcess/WebPageProxy.h:
        Remove isVisible.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
* English.lproj/Localizable.strings: Regenerated.
* StringsNotToBeLocalized.txt: Updated for recent changes.



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

        Unreviewed, expectations change.

        Mark more tests as failing from r58700 and change the sandbox test from SLOW to a
        flaky PASS TIMEOUT.

        * platform/chromium/test_expectations.txt:

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

        Unreviewed, expectations change.

        Mark yet more mac-specific tests as failling from r58700.

        * platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-03  James Robinson  <jamesr@chromium.org>

        Reviewed by Eric Seidel.

        Clean up a few compiler warnings
        https://bugs.webkit.org/show_bug.cgi?id=38073

        * wtf/text/StringImpl.cpp:
        (WebCore::StringImpl::ascii):
2010-05-03  James Robinson  <jamesr@chromium.org>

        Reviewed by Eric Seidel.

        Clean up a few compiler warnings
        https://bugs.webkit.org/show_bug.cgi?id=38073

        * html/TextMetrics.h:
        (WebCore::TextMetrics::width):
        * rendering/style/StyleRareInheritedData.h:
        * rendering/style/StyleRareNonInheritedData.h:


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

        Unreviewed, expectations change.

        And add one more Linux test (fast/forms/search-placeholder-value-changed.html)
        from r58700. Plus, fix sorting of tests from that rev.

        * platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-03  Anders Carlsson  <andersca@apple.com>

        Reviewed by Jon Honeycutt.

        [WebKit2] WKView should respond to WM_SHOWWINDOW messages
        https://bugs.webkit.org/show_bug.cgi?id=38496

        * UIProcess/win/WebView.cpp:
        (WebKit::WebView::wndProc):
        Add case for WM_SHOWWINDOW.

        (WebKit::WebView::onShowWindowEvent):
        Update the page visibility accordingly.

        * UIProcess/win/WebView.h:


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

        Unreviewed, expectations change.

        Mark the SVG test failures as linux-only.
        Mark fast/forms/searchfield-heights.html as IMAGE+TEXT, not IMAGE.

        * platform/chromium/test_expectations.txt:

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

        Unreviewed, expectations change.

        Roll in Chromium expectations from overrides file.

        * platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Touch WebKit.idl to force a rebuild

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-03  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dirk Pranke.

        Roll back test expectations change, initially needed to land bug 27751.
        * platform/chromium/test_expectations.txt:

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

        Unreviewed, expectations change.

        Restore editing/pasteboard/paste-xml.xhtml as failing w/ a TEXT
        failure (was failing prior to landing fix for 27751).

        Mark editiing/selection/caret-rtl-2.html as failing w/ IMAGE; need
        to investigate further.

        Mark svg/text/kerning.svg as failing on mac w/ IMAGE as well as Linux.

        * platform/chromium/test_expectations.txt:

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

        Unreviewed, expectations change.

        Fix expectation for fast/forms/searchfield-heights.html - IMAGE+TEXT
        on Linux, IMAGE on win and mac.

        * platform/chromium/test_expectations.txt:

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