1. 13 Sep, 2012 40 commits
    • commit-queue@webkit.org's avatar
      Make compile with both OS(WINCE) and PLATFORM(QT) support · 5d3f6453
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95536
      
      Patch by Kevin Funk <kevin.funk@kdab.com> on 2012-09-13
      Reviewed by Simon Hausmann.
      
      Source/JavaScriptCore:
      
      Do not link against advapi32 on wince
      
      * jsc.pro:
      
      Source/WebCore:
      
      * WebCore.pri:
      Set defines for the WinCE platform build
      * platform/graphics/BitmapImage.cpp:
      Use default implementation in BitmapImage::reportMemoryUsage() when Qt support available
      * platform/graphics/GraphicsContext.cpp:
      Same as above: use default implementation
       * platform/win/ClipboardUtilitiesWin.cpp:
      Remove unnecessary include
      
      Source/WTF:
      
      Fixes for Windows CE.
      
      * WTF.pri:
      Also include path for mt19937ar.c
      * wtf/unicode/icu/CollatorICU.cpp:
      Fix undeclared strdup() on CE7
      * wtf/Platform.h:
      
      Tools:
      
      Fix wince support in qmake files
      
      * Tools.pro:
      * qmake/mkspecs/features/configure.prf:
      * qmake/mkspecs/features/default_post.prf:
      * qmake/mkspecs/features/features.prf:
      * qmake/mkspecs/features/functions.prf:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d3f6453
    • commit-queue@webkit.org's avatar
      Fix for WTF fails to compile in thumb mode when llint is enabled. · 5d07589e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96400
      
      Patch by Byungseon Shin <xingri@gmail.com> on 2012-09-13
      Reviewed by Filip Pizlo.
      
      When using "+m" with Armv7 cross compiler assume offset range between +/- 4095
      (the largest possible offset range).
      However, ldrex/strex can only use offset range of 0~1020, so "+m" needed to be changed to "+Q".
      Ref. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54480
      
      * wtf/Atomics.h:
      (WTF::weakCompareAndSwap):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d07589e
    • keishi@webkit.org's avatar
      Create Localizer factory method for LocaleWin · 71622cbb
      keishi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96667
      
      Reviewed by Kent Tamura.
      
      Preparing to use Localizer instead of LocaleMac/Win/ICU.
      
      No new tests. No behavior change.
      
      * platform/text/LocaleWin.cpp:
      (WebCore):
      (WebCore::extractLanguageCode): Extract the language code from a locale.
      (WebCore::LCIDFromLocaleInternal): Returns LCID for a given locale. Returns 0 when locale is invalid.
      (WebCore::LCIDFromLocale): Returns LCID for a given locale. Returns default language LCID when locale is invalid.
      (WebCore::Localizer::create):
      (WebCore::LocaleWin::currentLocale):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71622cbb
    • commit-queue@webkit.org's avatar
      [Qt][WK2] qt-5.0-wk2 Skipped file can be updated after bug #73917 got fixed · c684d1ae
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96675
      
      Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-09-13
      Reviewed by Simon Hausmann.
      
      Update Skipped list after userAgent proper support.
      
      * platform/qt-5.0-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c684d1ae
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · 824be805
      tkent@chromium.org authored
      * platform/chromium/TestExpectations:
      Fix an error in the previous change.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      824be805
    • commit-queue@webkit.org's avatar
      [WK2] Add color picker API support for WebKit2 · e550cf4b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95058
      
      Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-09-13
      Reviewed by Gyuyoung Kim.
      
      Source/WebKit2:
      
      Add support for color picker API to WebKit2.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Shared/API/c/WKBase.h:
      * Shared/APIClientTraits.cpp:
      (WebKit):
      * Shared/APIClientTraits.h:
      * Shared/APIObject.h:
      * Target.pri:
      * UIProcess/API/C/WKAPICast.h:
      (WebKit):
      * UIProcess/API/C/WKColorPickerResultListener.cpp: Added.
      (WKColorPickerResultListenerGetTypeID):
      (WKColorPickerResultListenerColorSet):
      * UIProcess/API/C/WKColorPickerResultListener.h: Added.
      * UIProcess/API/C/WKPage.h:
      * UIProcess/API/gtk/WebKitUIClient.cpp:
      (attachUIClientToView):
      * UIProcess/WebColorChooserProxy.cpp: Added.
      (WebKit):
      (WebKit::WebColorChooserProxy::WebColorChooserProxy):
      (WebKit::WebColorChooserProxy::~WebColorChooserProxy):
      (WebKit::WebColorChooserProxy::endChooser):
      (WebKit::WebColorChooserProxy::setSelectedColor):
      * UIProcess/WebColorCh...
      e550cf4b
    • rniwa@webkit.org's avatar
      suspend/resumeWidgetHierarchyUpdates should be a RAII object · bbf918ad
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96706
      
      Reviewed by Simon Fraser.
      
      Source/WebCore: 
      
      Replaced suspendWidgetHierarchyUpdates and resumeWidgetHierarchyUpdates by WidgetHierarchyUpdatesSuspensionScope.
      
      * WebCore.exp.in: Export new symbols.
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::removeChild):
      (WebCore::ContainerNode::removeChildren):
      * dom/Document.cpp:
      (WebCore::Document::recalcStyle):
      * dom/Element.cpp:
      (WebCore::Element::attach):
      (WebCore::Element::detach):
      * page/mac/EventHandlerMac.mm:
      (WebCore::EventHandler::passMouseDownEventToWidget):
      * rendering/RenderWidget.cpp:
      (WebCore):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::widgetNewParentMap):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::moveWidgets):
      (WebCore::moveWidgetToParentSoon):
      * rendering/RenderWidget.h:
      (WidgetHierarchyUpdatesSuspensionScope):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::WidgetHierarchyUpdatesSuspensionScope):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::~WidgetHierarchyUpdatesSuspensionScope):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::isSuspended):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::scheduleWidgetToMove):
      (WebCore):
      (RenderWidget):
      
      Source/WebKit/mac: 
      
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _invalidateGStatesForTree]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbf918ad
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · 9bec1558
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96725
      
      * platform/chromium/TestExpectations:
      http/tests/media/media-source/video-media-source-state-changes.html is flaky
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bec1558
    • yutak@chromium.org's avatar
      Upgrade yutak to reviewer · 6e14d1e1
      yutak@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96721
      
      Reviewed by Kent Tamura.
      
      * Scripts/webkitpy/common/config/committers.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e14d1e1
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · 66c5b9cd
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=93589
      
      * platform/chromium/TestExpectations:
      script-change-externalResourcesRequired-while-loading.svg is flaky on all platforms.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66c5b9cd
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r128543. · 987d35dc
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/128543
      https://bugs.webkit.org/show_bug.cgi?id=96722
      
      Caused LocaleWinTest.localizedNumberRoundTrip to fail
      (Requested by keishi on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-13
      
      Source/WebCore:
      
      * platform/text/LocaleWin.cpp:
      (WebCore::determineCurrentLCID):
      (WebCore):
      (WebCore::LocaleWin::currentLocale):
      
      Source/WebKit/chromium:
      
      * tests/LocaleWinTest.cpp:
      (testNumberIsReversible):
      (testNumbers):
      (TEST_F):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      987d35dc
    • tkent@chromium.org's avatar
      [Chromium] Test expectation udpate. · b08bee03
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96720
      
      * platform/chromium/TestExpectations:
      time-multiple-fields-preserve-value-after-history-back.html is flaky.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b08bee03
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r128531. · b33ca3c4
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/128531
      https://bugs.webkit.org/show_bug.cgi?id=96719
      
      plugins/document-open.html crash on Chromium-Linux (Requested
      by tkent1 on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-13
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::removeChild):
      (WebCore::ContainerNode::removeChildren):
      * dom/Document.cpp:
      (WebCore::Document::recalcStyle):
      * dom/Element.cpp:
      (WebCore::Element::attach):
      (WebCore::Element::detach):
      * page/mac/EventHandlerMac.mm:
      (WebCore::EventHandler::passMouseDownEventToWidget):
      * rendering/RenderWidget.cpp:
      (WebCore):
      (WebCore::widgetNewParentMap):
      (WebCore::RenderWidget::suspendWidgetHierarchyUpdates):
      (WebCore::RenderWidget::resumeWidgetHierarchyUpdates):
      (WebCore::moveWidgetToParentSoon):
      * rendering/RenderWidget.h:
      (RenderWidget):
      
      Source/WebKit/mac:
      
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _invalidateGStatesForTree]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b33ca3c4
    • commit-queue@webkit.org's avatar
      Make the style checker report usage of "unsigned int" · a317ca9f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96693
      
      Patch by Adenilson Cavalcanti <cavalcantii@gmail.com> on 2012-09-13
      Reviewed by Dirk Pranke.
      
      Add a rule to check for uses of unsigned int, as the updated coding style recomends.
      
      * Scripts/webkitpy/style/checkers/cpp.py:
      (check_language):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a317ca9f
    • ggaren@apple.com's avatar
      Refactored the DFG to make fewer assumptions about variable capture · 81c360ed
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96680
      
      Reviewed by Gavin Barraclough.
      
      A variable capture optimization patch I'm working on broke DFG
      correctness and the arguments simplification optimization phase, so I've
      refactored both to make fewer assumptions about variable capture.
      
      * bytecode/CodeBlock.h:
      (JSC::CodeBlock::isCaptured): This is the new One True Way to find out
      if a variable was captured. This gives us a single point of maintenance
      as we chagne capture behavior.
      
      * dfg/DFGAbstractState.cpp:
      (JSC::DFG::AbstractState::clobberCapturedVars): Don't assume that captured
      variables have any particular location. Instead, ask the One True Function.
      
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      (JSC::DFG::ArgumentsSimplificationPhase::observeProperArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::isOKToOptimize): Mechanical
      changes to separate being captured from being 'arguments'. What used
      to be
              if (captured)
                      if (arguments)
                              x
                      y
      is now
              if (arguments)
                      x
                      y
              else if (captured)
                      y
      
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::getLocal):
      (JSC::DFG::ByteCodeParser::setLocal):
      (JSC::DFG::ByteCodeParser::getArgument):
      (JSC::DFG::ByteCodeParser::setArgument):
      (JSC::DFG::ByteCodeParser::flushDirect):
      (JSC::DFG::ByteCodeParser::parseBlock):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::compile): Use the One True Function.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81c360ed
    • keishi@webkit.org's avatar
      Create Localizer factory method for LocaleWin · b331ec22
      keishi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96667
      
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      Preparing to use Localizer instead of LocaleMac/Win/ICU.
      
      No new tests. Covered in LocaleWinTest.cpp.
      
      * platform/text/LocaleWin.cpp:
      (WebCore):
      (WebCore::extractLanguageCode): Extract the language code from a locale.
      (WebCore::LCIDFromLocaleInternal): Returns LCID for a given locale. Returns 0 when locale is invalid.
      (WebCore::LCIDFromLocale): Returns LCID for a given locale. Returns default language LCID when locale is invalid.
      (WebCore::Localizer::create):
      (WebCore::LocaleWin::currentLocale):
      
      Source/WebKit/chromium:
      
      * tests/LocaleWinTest.cpp:
      (testNumberIsReversible):
      (testNumbers):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b331ec22
    • benjamin@webkit.org's avatar
      Improve the SourceProvider hierarchy · 5ea59781
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95635
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-09-13
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      SourceProvider was designed to have subclasses magically handling the data without
      decoding all of it. The virtual methods length() and getRange() were based
      on these assumptions.
      
      In practice, the magic was in our head, there is no implementation that takes
      advantage of that.
      
      SourceProvider is modified to adopt WebCore's ScriptSourceProvider::source() and base
      everything on it.
      The code using SourceProvider is also simplified.
      
      * interpreter/Interpreter.cpp:
      (JSC::appendSourceToError): Keep a reference to the string instead of querying it for
      each time it is used.
      * parser/Lexer.cpp:
      (JSC::::setCode):
      (JSC::::sourceCode):
      * parser/Parser.h:
      (JSC::parse):
      * parser/SourceCode.h:
      (JSC::SourceCode::SourceCode):
      (JSC::SourceCode::subExpression):
      * parser/SourceProvider.h:
      (SourceProvider):
      (JSC::SourceProvider::getRange):
      
      Source/WebCore: 
      
      Get rid of ScriptSourceProvider and StringSourceProvider, they have been made
      useless by JavaScript updates.
      
      On x86_64, this reduces the binary size by 6kb.
      
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/CachedScriptSourceProvider.h:
      (WebCore::CachedScriptSourceProvider::CachedScriptSourceProvider):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::updateCurrentStatementPosition):
      (WebCore::ScriptDebugServer::dispatchDidParseSource):
      (WebCore::ScriptDebugServer::dispatchFailedToParseSource):
      * bindings/js/ScriptSourceCode.h:
      (WebCore::ScriptSourceCode::ScriptSourceCode):
      (ScriptSourceCode):
      * bindings/js/ScriptSourceProvider.h: Removed.
      * bindings/js/StringSourceProvider.h: Removed.
      * bindings/js/WorkerScriptController.cpp:
      * bindings/objc/WebScriptObject.mm:
      * bridge/NP_jsobject.cpp:
      * bridge/jni/jni_jsobject.mm:
      
      Source/WebKit/mac: 
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm: Fix a #include abuse.
      * WebView/WebScriptDebugger.mm:
      (toNSString): We can now use the (faster) implicit conversion
      from String to NSString.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ea59781
    • fpizlo@apple.com's avatar
      DFG: Dead GetButterfly's shouldn't be subject to CSE · 00298b98
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96707
      <rdar://problem/12296311>
      
      Source/JavaScriptCore: 
      
      Reviewed by Oliver Hunt.
              
      There were a number of cases of this that creeped into the CSE: it would
      match something even though it was dead.
      
      * dfg/DFGCSEPhase.cpp:
      (JSC::DFG::CSEPhase::getPropertyStorageLoadElimination):
      (JSC::DFG::CSEPhase::checkArrayElimination):
      (JSC::DFG::CSEPhase::getIndexedPropertyStorageLoadElimination):
      (JSC::DFG::CSEPhase::getScopeChainLoadElimination):
      (JSC::DFG::CSEPhase::getLocalLoadElimination):
      
      LayoutTests: 
      
      Reviewed by Oliver Hunt.
      
      * fast/js/dfg-dead-redundant-get-array-length-expected.txt: Added.
      * fast/js/dfg-dead-redundant-get-array-length.html: Added.
      * fast/js/jsc-test-list:
      * fast/js/script-tests/dfg-dead-redundant-get-array-length.js: Added.
      (foo):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00298b98
    • ojan@chromium.org's avatar
      Test rebaselines after http://trac.webkit.org/changeset/128517. · 2f341ec5
      ojan@chromium.org authored
      * fast/table/height-percent-test-expected.txt:
      * platform/chromium-mac-snowleopard/fast/table/height-percent-test-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla/core/cell_heights-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug19526-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
      * platform/chromium-mac/fast/table/height-percent-test-expected.png:
      * platform/chromium-mac/tables/mozilla/core/cell_heights-expected.png:
      * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug19526-expected.png:
      * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
      * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
      * platform/chromium-win/fast/table/height-percent-test-expected.png:
      * platform/chromium-win/tables/mozilla/core/cell_heights-expected.png:
      * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug19526-expected.png:
      * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/efl/fast/table/height-percent-test-expected.txt: Removed.
      * platform/gtk/TestExpectations:
      * platform/gtk/fast/table/height-percent-test-expected.txt: Removed.
      * platform/gtk/tables/mozilla/core/cell_heights-expected.txt:
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug19526-expected.txt: Removed.
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
      * platform/mac/TestExpectations:
      * platform/mac/tables/mozilla/core/cell_heights-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug19526-expected.txt:
      * platform/qt/TestExpectations:
      * platform/qt/fast/table/height-percent-test-expected.txt: Renamed from LayoutTests/platform/mac/fast/table/height-percent-test-expected.txt.
      * platform/qt/tables/mozilla/core/cell_heights-expected.txt:
      * platform/qt/tables/mozilla_expected_failures/bugs/bug19526-expected.txt:
      * platform/qt/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
      * platform/win-future/fast/table/height-percent-test-expected.txt: Copied from LayoutTests/fast/table/height-percent-test-expected.txt.
      * tables/mozilla_expected_failures/bugs/bug19526-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/bugs/bug19526-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f341ec5
    • mrowe@apple.com's avatar
      <rdar://problem/12255720> Fix the build with newer Clang · 495467c4
      mrowe@apple.com authored
      Reviewed by Sam Weinig.
      
      Clang generates a warning about the inclusion of trailing commas on the final enum item as it's apparently
      a C++11 extension. Remove them.
      
      * src/compiler/BaseTypes.h:
      * src/compiler/ExtensionBehavior.h:
      * src/compiler/ParseHelper.cpp:
      (TParseContext::parseVectorFields):
      * src/compiler/intermediate.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      495467c4
    • ojan@chromium.org's avatar
      Rebaseline fast/css/percentage-height-auto-sized-body-quirks.html after · f78ff22c
      ojan@chromium.org authored
      http://trac.webkit.org/changeset/128517. The results are now consistent
      across platforms.
      
      * platform/efl/fast/writing-mode/percentage-height-orthogonal-writing-modes-quirks-expected.txt: Removed.
      * platform/gtk/fast/writing-mode/percentage-height-orthogonal-writing-modes-quirks-expected.txt: Removed.
      * platform/mac/TestExpectations:
      * platform/qt/fast/writing-mode/percentage-height-orthogonal-writing-modes-quirks-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f78ff22c
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Implement missing initializeLogChannel function · 1a9b8cd2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96478
      
      Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-09-13
      Reviewed by Gyuyoung Kim.
      
      Implemented log channel initialization function for EFL platform in WebKit2.
      
      * Platform/Logging.cpp:
      (WebKit):
      * Platform/Logging.h:
      (WebKit):
      * Platform/efl/LoggingEfl.cpp: Added.
      (WebKit):
      (WebKit::initializeLogChannel): Channel is initialized if its name is found in WEBKIT_DEBUG.
      * PlatformEfl.cmake:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a9b8cd2
    • pdr@google.com's avatar
      Add gender-neutral form of webkit-patch land-cowboy · 6ab53e53
      pdr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96709
      
      Reviewed by Adam Barth.
      
      Add webkit-patch land-cowhand, the confident and courageous form of webkit-patch for everyone.
      
      * Scripts/webkitpy/tool/commands/download.py:
      (LandCowhand):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ab53e53
    • commit-queue@webkit.org's avatar
      [EFL] Remove some parameters in browserCreate() · 9f6f872f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96499
      
      Patch by Seokju Kwon <seokju.kwon@samsung.com> on 2012-09-13
      Reviewed by Kenneth Rohde Christiansen.
      
      There are too many parameters in browserCreate(). Lots of it seems like settings from command line argument.
      And I have moved some parameters into User_Arguments.
      
      * EWebLauncher/main.c:
      (_User_Arguments):
      (_ELauncher):
      (on_key_down):
      (browserCreate):
      (findThemePath):
      (parseUserArguments):
      (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f6f872f
    • oliver@apple.com's avatar
      Make global const initialisation explicit in the bytecode · 62f4d0e3
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96711
      
      Reviewed by Gavin Barraclough.
      
      Added op_init_global_const to make initialisation of global const
      fields explicit.  This will help us keep correct semantics in the
      upcoming variable resolution refactoring.
      
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      * bytecode/Opcode.h:
      (JSC):
      (JSC::padOpcodeName):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::emitInitGlobalConst):
      (JSC):
      * bytecompiler/BytecodeGenerator.h:
      (BytecodeGenerator):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::ConstDeclNode::emitCodeSingle):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::parseBlock):
      * dfg/DFGCapabilities.h:
      (JSC::DFG::canCompileOpcode):
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompileMainPass):
      (JSC::JIT::privateCompileSlowCases):
      * llint/LowLevelInterpreter32_64.asm:
      * llint/LowLevelInterpreter64.asm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62f4d0e3
    • jsbell@chromium.org's avatar
      IndexedDB: Consolidate two-phase connection to avoid race conditions · cfcf5953
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90411
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Previously, IDB connections were opened by having the front-end (1) call through to
      a back-end open() method, eventually receive a success message with a back-end object
      handle, and (2) call into the back-end object to register front-end callbacks. This left
      the back-end's notion of an open connection in a limbo state between these two calls.
      In multi-process ports, a crash of the front-end process could leave the back-end wedged
      waiting for this second call (e.g. can't delete until all connections are closed).
      
      Simplify this by having the front-end pass through the callbacks into the back-end
      during the initial open() call, which eliminates the limbo state.
      
      No new tests - no functional changes. Chromium port's webkit_unit_tests updated.
      
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::create):
      (WebCore::IDBDatabase::IDBDatabase): Db-callbacks is available at creation time.
      (WebCore::IDBDatabase::~IDBDatabase):
      * Modules/indexeddb/IDBDatabase.h:
      (IDBDatabase):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::PendingOpenCall::create): Need to track db-callbacks as well.
      (WebCore::IDBDatabaseBackendImpl::PendingOpenCall::databaseCallbacks):
      (WebCore::IDBDatabaseBackendImpl::PendingOpenCall::PendingOpenCall):
      (IDBDatabaseBackendImpl::PendingOpenCall):
      (WebCore::IDBDatabaseBackendImpl::PendingOpenWithVersionCall::create): Ditto.
      (WebCore::IDBDatabaseBackendImpl::PendingOpenWithVersionCall::databaseCallbacks):
      (WebCore::IDBDatabaseBackendImpl::PendingOpenWithVersionCall::PendingOpenWithVersionCall):
      (IDBDatabaseBackendImpl::PendingOpenWithVersionCall):
      (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
      (WebCore::IDBDatabaseBackendImpl::setVersion):
      (WebCore::IDBDatabaseBackendImpl::connectionCount): Don't need to count limbo connections any more.
      (WebCore::IDBDatabaseBackendImpl::processPendingCalls): Pass through db-callbacks.
      (WebCore::IDBDatabaseBackendImpl::openConnection): No more limbo connections (yay!).
      (WebCore::IDBDatabaseBackendImpl::runIntVersionChangeTransaction): Pass through db-callbacks.
      (WebCore::IDBDatabaseBackendImpl::openConnectionWithVersion): Ditto.
      (WebCore::IDBDatabaseBackendImpl::deleteDatabase): Style.
      (WebCore::IDBDatabaseBackendImpl::close): Resolve FIXME about connectionCount.
      * Modules/indexeddb/IDBDatabaseBackendImpl.h:
      (IDBDatabaseBackendImpl):
      * Modules/indexeddb/IDBDatabaseBackendInterface.h:
      (IDBDatabaseBackendInterface):
      * Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp:
      (WebCore::IDBDatabaseCallbacksImpl::create):
      (WebCore::IDBDatabaseCallbacksImpl::IDBDatabaseCallbacksImpl):
      (WebCore::IDBDatabaseCallbacksImpl::connect):
      * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
      (IDBDatabaseCallbacksImpl):
      * Modules/indexeddb/IDBFactory.cpp:
      (WebCore::IDBFactory::open): Mint the db-callbacks here...
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::open): ...passed through to here...
      * Modules/indexeddb/IDBFactoryBackendImpl.h:
      (IDBFactoryBackendImpl):
      * Modules/indexeddb/IDBFactoryBackendInterface.h:
      (IDBFactoryBackendInterface):
      * Modules/indexeddb/IDBOpenDBRequest.cpp:
      (WebCore::IDBOpenDBRequest::create): ...all the way to here...
      (WebCore::IDBOpenDBRequest::IDBOpenDBRequest):
      (WebCore::IDBOpenDBRequest::onUpgradeNeeded): ...and finally hooked up here.
      (WebCore::IDBOpenDBRequest::onSuccess): (or here, if no upgrade needed).
      * Modules/indexeddb/IDBOpenDBRequest.h:
      (WebCore):
      (IDBOpenDBRequest):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::onAbort): Tweak event/notification ordering; the
      notifying the database that the transaction is finished may unblock closing,
      which fires more events, and the delivery matters. Previously the close would
      be blocked by the transaction which gave the desired order.
      (WebCore::IDBTransaction::onComplete): Ditto.
      * inspector/InspectorIndexedDBAgent.cpp: New hookup logic.
      (WebCore):
      
      Source/WebKit/chromium:
      
      API plumbing for simplified single-phase connection opening, and tests updated
      to exercise the new APIs.
      
      * public/WebIDBDatabase.h:
      (WebIDBDatabase): Just a FIXME to remove the old second-phase hookup API.
      * public/WebIDBFactory.h:
      (WebKit):
      (WebIDBFactory):
      (WebKit::WebIDBFactory::open): New overload that takes db-callbacks.
      * src/IDBCallbacksProxy.cpp: The db-callbacks plumbing is needed earlier.
      (WebKit::IDBCallbacksProxy::onSuccess):
      (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
      (WebKit):
      (WebKit::IDBCallbacksProxy::setDatabaseCallbacks): Needs to hold on to
      the db-callbacks and hook it up when the onSuccess callback comes through.
      * src/IDBCallbacksProxy.h:
      (WebKit):
      (IDBCallbacksProxy):
      * src/IDBDatabaseBackendProxy.cpp:
      * src/IDBDatabaseBackendProxy.h:
      (IDBDatabaseBackendProxy):
      * src/IDBFactoryBackendProxy.cpp:
      (WebKit::IDBFactoryBackendProxy::open):
      * src/IDBFactoryBackendProxy.h:
      (IDBFactoryBackendProxy):
      * src/WebIDBDatabaseImpl.cpp:
      (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
      (WebKit::WebIDBDatabaseImpl::close):
      * src/WebIDBDatabaseImpl.h:
      (WebIDBDatabaseImpl):
      * src/WebIDBFactoryImpl.cpp:
      (WebKit::WebIDBFactoryImpl::open):
      * src/WebIDBFactoryImpl.h:
      (WebIDBFactoryImpl):
      * tests/IDBAbortOnCorruptTest.cpp:
      (FakeIDBDatabaseCallbacks):
      (WebCore::FakeIDBDatabaseCallbacks::create):
      (WebCore::FakeIDBDatabaseCallbacks::~FakeIDBDatabaseCallbacks):
      (WebCore::FakeIDBDatabaseCallbacks::FakeIDBDatabaseCallbacks):
      (WebCore):
      (WebCore::TEST): Updated connection sequence.
      * tests/IDBDatabaseBackendTest.cpp: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfcf5953
    • ap@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=93654 · 976c2f07
      ap@apple.com authored
              REGRESSION(r125126): It made fast/events/keyevent-iframe-removed-crash.html assert
      
              Unskipped tests that should not assert any more (there were more than the one in
              bug title). Re-attributed some remaining failures that were tracked together with that.
      
              * platform/gtk/TestExpectations:
              * platform/mac/Skipped:
              * platform/qt/TestExpectations:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      976c2f07
    • rniwa@webkit.org's avatar
      suspend/resumeWidgetHierarchyUpdates should be a RAII object · 992dcea9
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96706
      
      Reviewed by Simon Fraser.
      
      Source/WebCore: 
      
      Replaced suspendWidgetHierarchyUpdates and resumeWidgetHierarchyUpdates by WidgetHierarchyUpdatesSuspensionScope.
      
      * WebCore.exp.in: Export new symbols.
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::removeChild):
      (WebCore::ContainerNode::removeChildren):
      * dom/Document.cpp:
      (WebCore::Document::recalcStyle):
      * dom/Element.cpp:
      (WebCore::Element::attach):
      (WebCore::Element::detach):
      * page/mac/EventHandlerMac.mm:
      (WebCore::EventHandler::passMouseDownEventToWidget):
      * rendering/RenderWidget.cpp:
      (WebCore):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::widgetNewParentMap):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::moveWidgets):
      (WebCore::moveWidgetToParentSoon):
      * rendering/RenderWidget.h:
      (WidgetHierarchyUpdatesSuspensionScope):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::WidgetHierarchyUpdatesSuspensionScope):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::~WidgetHierarchyUpdatesSuspensionScope):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::isSuspended):
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::scheduleWidgetToMove):
      (WebCore):
      (RenderWidget):
      
      Source/WebKit/mac: 
      
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _invalidateGStatesForTree]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      992dcea9
    • ojan@chromium.org's avatar
      Remove lines for fast/table/bad-replaced-sizing-preferred-logical-widths.html · 13215252
      ojan@chromium.org authored
      fixed in http://trac.webkit.org/changeset/128528.
      
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13215252
    • simon.fraser@apple.com's avatar
      Lots of repaints in the top left tile on this site · 5c257e54
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96698
      
      Reviewed by Anders Carlsson.
      
      When given a rect outside of the current tile coverage rect,
      TileCache::setNeedsDisplayInRect() would try to invalidate the
      top left tile. This would normally be a no-op, except when repaint
      counters are visible, in which case it would invalidate the counter
      area.
      
      Fix by doing an early return if the intersection between the repaint
      rect and the tile coverage rect is empty.
      
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::setNeedsDisplayInRect):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c257e54
    • jamesr@google.com's avatar
      Unreviewed gardening for r128516/r128517: · 6761ad72
      jamesr@google.com authored
        remove the now-unnecessary cr-mac expectations for fast/writing-mode test.
        fix baseline for fast/table/bad-replaced-sizing-preferred-logical-widths.html
      
      * platform/chromium-mac/fast/writing-mode/percentage-height-orthogonal-writing-modes-quirks-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6761ad72
    • mrowe@apple.com's avatar
      <rdar://problem/12283706> WebKit looks for some files on the system even when... · a45675f1
      mrowe@apple.com authored
      <rdar://problem/12283706> WebKit looks for some files on the system even when building against an SDK.
      
      Reviewed by David Kilzer.
      
      If an SDK is being used, pass it through to our custom invocations of the preprocessor.
      
      Source/WebCore:
      
      * DerivedSources.make:
      
      Source/WebKit2:
      
      * DerivedSources.make:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a45675f1
    • jamesr@google.com's avatar
      PlatformGestureCurveTest compile fix pt 2 · cb991377
      jamesr@google.com authored
      * tests/PlatformGestureCurveTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb991377
    • bfulgham@webkit.org's avatar
      [WinCairo] Unreviewed build fix. · e5b7696d
      bfulgham@webkit.org authored
      * WebCookieManagerCurl.cpp: Remove unused 'using WebCore'
      declaration that prevented the build from completing.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5b7696d
    • tsepez@chromium.org's avatar
      Source/WebCore: ASSERT(!eventDispatchForbidden()) fires when removed plugin... · 43056c5f
      tsepez@chromium.org authored
      Source/WebCore: ASSERT(!eventDispatchForbidden()) fires when removed plugin re-inserted as part of readyStateChange.
      https://bugs.webkit.org/show_bug.cgi?id=93639
      
      Reviewed by Ryosuke Niwa.
      
      Removing a plugin causes a detach which can cancel the last remaining load on a page,
      resulting in a readyStateChange event during a time when things are inconsisent. Defer
      the detach which triggers this chain of events until after the node is fully removed
      from the document's elementsById map.
      
      Test: plugins/plugin-remove-readystatechange.html
      
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::removeChild):
      (WebCore::ContainerNode::removeChildren):
      
      LayoutTests: ASSERT(!eventDispatchForbidden()) firest when removed plugin re-inserted as part of readyStateChange.
      https://bugs.webkit.org/show_bug.cgi?id=93639
      
      Reviewed by Ryosuke Niwa.
      
      Add a new testcase to cover this issue.  Test passes if assert doesn't fire in debug builds.
      
      * plugins/plugin-remove-readystatechange-expected.txt: Added.
      * plugins/plugin-remove-readystatechange.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43056c5f
    • bfulgham@webkit.org's avatar
      [WinCairo] Unreviewed build fix for export declarations. · 09e0a467
      bfulgham@webkit.org authored
      New entries were added to the standard Windows export definition
      file, but were not added to the WinCairo version, breaking the build.
      
      * win/WebKit2CFLite.def: Incoproate changes from WebKit2.def file.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09e0a467
    • jamesr@google.com's avatar
      Fix compile warning/error on windows - literal that isn't exactly... · 6c2cf511
      jamesr@google.com authored
      Fix compile warning/error on windows - literal that isn't exactly representable as a float needs "f" suffix.
      
      * tests/PlatformGestureCurveTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c2cf511
    • timothy_horton@apple.com's avatar
      Add optional debug logging when we fall into/out of threaded scrolling · 270ab3a5
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=93898
      <rdar://problem/12089098>
      
      Reviewed by Simon Fraser.
      
      Add logging when we enter and exit the threaded scrolling mode, and logs the reasons we
      fall into main-thread scrolling.
      
      The logging output looks like this:
          SCROLLING: Switching to main-thread scrolling mode. Time: 15843.554718 Reason(s): viewport-constrained objects
          SCROLLING: Switching to threaded scrolling mode. Time: 15844.550866
          SCROLLING: Switching to main-thread scrolling mode. Time: 15845.551214 Reason(s): viewport-constrained objects
          SCROLLING: Switching to threaded scrolling mode. Time: 15846.552619
          SCROLLING: Switching to main-thread scrolling mode. Time: 15847.553587 Reason(s): viewport-constrained objects
          SCROLLING: Switching to threaded scrolling mode. Time: 15848.554084
      
      No new tests, as this is just debugging logging.
      
      * page/scrolling/ScrollingCoordinator.cpp:
      (WebCore::ScrollingCoordinator::updateShouldUpdateScrollLayerPositionOnMainThread):
      Construct a bitfield describing the reasons we fall into main-thread scrolling mode.
      
      * page/scrolling/ScrollingCoordinatorNone.cpp:
      (WebCore::ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread):
      * page/scrolling/ScrollingTreeNode.cpp:
      (WebCore::ScrollingTreeNode::ScrollingTreeNode):
      * page/scrolling/ScrollingTreeNode.h:
      (WebCore::ScrollingTreeNode::shouldUpdateScrollLayerPositionOnMainThread):
      * page/scrolling/ScrollingTreeState.cpp:
      (WebCore::ScrollingTreeState::ScrollingTreeState):
      (WebCore::ScrollingTreeState::setShouldUpdateScrollLayerPositionOnMainThread):
      * page/scrolling/ScrollingTreeState.h:
      (WebCore::ScrollingTreeState::shouldUpdateScrollLayerPositionOnMainThread):
      * page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:
      (WebCore::ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread):
      * page/scrolling/ScrollingCoordinator.cpp:
      (WebCore::ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread):
      Use the reasons bitfield instead of a boolean.
      
      * page/scrolling/ScrollingCoordinator.h:
      (ScrollingCoordinator):
      Add MainThreadScrollingReasons enum, with the current reasons that we might fallback to main-thread scrolling.
      
      * page/scrolling/ScrollingTree.cpp:
      (WebCore::ScrollingTree::scrollingPerformanceLoggingEnabled):
      Fix a typo (scrollingPeformanceLoggingEnabled -> scrollingPerformanceLoggingEnabled).
      
      * page/scrolling/mac/ScrollingTreeNodeMac.mm:
      (WebCore::ScrollingTreeNodeMac::update):
      (WebCore::ScrollingTreeNodeMac::setScrollPosition):
      (WebCore::logThreadedScrollingMode):
      Pretty-print the scrolling mode and shouldUpdateScrollLayerPositionOnMainThreadReason.
      
      Update the scrolling tree's scrollingPerformanceLoggingEnabled preference
      before the early-return if we don't have layer debugging borders on.
      
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
      (WebKit::TiledCoreAnimationDrawingArea::updatePreferences):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      270ab3a5
    • jsbell@chromium.org's avatar
      [V8] Binding: Generate batched attribute/const/callback struct names can collide · bcd32823
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96700
      
      Reviewed by Kentaro Hara.
      
      The V8 binding code generator spits out static arrays for batched configuration of
      consts, attributes, and callbacks. Prior to this patch, it would spit them out
      in the WebCore namespace with names like <BaseType>Callbacks which could collide with
      other code. This change renames them from <BaseType><Suffix> to V8<BaseType><Suffix>.
      
      Tests: Rebaselined the binding/scripts/test/V8/* results. No functional changes.
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (Float64ArrayV8Internal):
      (WebCore):
      (WebCore::ConfigureV8Float64ArrayTemplate):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (TestActiveDOMObjectV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (TestCustomNamedGetterV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestCustomNamedGetterTemplate):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (TestEventConstructorV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestEventConstructorTemplate):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (TestEventTargetV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestEventTargetTemplate):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (TestExceptionV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestExceptionTemplate):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (TestInterfaceV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestInterfaceTemplate):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (TestMediaQueryListListenerV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (TestObjV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestObjTemplate):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (TestSerializedScriptValueInterfaceV8Internal):
      (WebCore):
      (WebCore::ConfigureV8TestSerializedScriptValueInterfaceTemplate):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcd32823
    • ryuan.choi@samsung.com's avatar
      [EFL] Improve string manipulation in EflKeyboardUtilities.cpp · 21c24318
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96598
      
      Reviewed by Benjamin Poulain.
      
      Uses ASCIILiteral for static strings as recommended by
      http://trac.webkit.org/wiki/EfficientStrings and uses HexNumber to remove
      String::format.
      
      No behavior change. Just a refactoring.
      
      * platform/efl/EflKeyboardUtilities.cpp:
      (WebCore::addCharactersToKeyMap):
      (WebCore::createKeyMap):
      (WebCore::createWindowsKeyMap):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21c24318