1. 29 Oct, 2012 2 commits
  2. 26 Oct, 2012 1 commit
  3. 22 Oct, 2012 1 commit
  4. 19 Oct, 2012 2 commits
  5. 16 Oct, 2012 1 commit
  6. 15 Oct, 2012 3 commits
    • mhahnenberg@apple.com's avatar
      Parallel GC should not be disabled for all platforms · 8009a0ef
      mhahnenberg@apple.com authored
      * wtf/Platform.h: D'oh!
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8009a0ef
    • mhahnenberg@apple.com's avatar
      We should avoid weakCompareAndSwap when parallel GC is disabled · 2d767e80
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=99331
      
      Reviewed by Filip Pizlo.
      
      CopiedBlock::reportLiveBytes and didEvacuateBytes uses weakCompareAndSwap, which some platforms 
      don't support. For platforms that don't have parallel GC enabled, we should just use a normal store.
      
      * heap/CopiedBlock.h:
      (JSC::CopiedBlock::reportLiveBytes):
      (JSC::CopiedBlock::didEvacuateBytes):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d767e80
    • msaboff@apple.com's avatar
      Update RenderText to use String instead of UChar* for text · 776c286c
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96979
      
      Reviewed by Dan Bernstein.
      
      Source/WebCore: 
      
      RenderText now uses a String for text.  It keeps a cached LCHar* or UChar* pointer to the
      actual text data for performance.  Added a characterAt() indexed accessor to RenderText to avoid the
      somewhat confusing construct for a RenderText* rt, e.g. (*re)[n] or rt->characters()[n].  This is
      now written as rt->characterAt(n).
      Enabled patch in the HTML parser to create 8 bit text data.  Modified TextRun to create 
      text runs using 8 bit string data where possible.  Added several flavors of RenderBlock::constructTextRun
      to create TextRuns from RenderText objects including with an offset.  Added an LChar flavor of constructTextRun()
      as well.  Eliminated the TextRunFlags argument to all but the String flavor as all other flavors used the default
      parameter.  
      Encased the code that creates 8 bit TextRun's in #if USE(8BIT_TEXTRUN).  Enabled WTF_USE_8BIT_TEXTRUN
      for PLATFORM(MAC).  Other platform can update this setting in Platform.h when their platform specific code is
      updated to TextRun's with 8 bit data.
      Added many 8/16 bit aware paths.  Cleanup up some int / unsigned confusion in RenderBlockLineLayout.cpp.
      
      No function change therefore no new tests.
      
      * html/parser/HTMLTokenizer.cpp:
      (WebCore::vectorEqualsString):
      (WebCore::HTMLTokenizer::nextToken):
      * html/parser/HTMLTokenizer.h:
      (HTMLTokenizer):
      * html/track/WebVTTTokenizer.cpp:
      (WebCore::vectorEqualsString):
      (WebCore::WebVTTTokenizer::nextToken):
      * html/track/WebVTTTokenizer.h:
      (WebVTTTokenizer):
      * platform/graphics/Font.h:
      (WebCore::Font::glyphDataForCharacter):
      * platform/graphics/FontFastPath.cpp:
      (WebCore):
      * platform/graphics/TextRun.h:
      (WebCore::TextRun::TextRun):
      (WebCore::TextRun::subRun):
      (TextRun):
      * platform/graphics/mac/ComplexTextController.cpp:
      (WebCore::TextLayout::isNeeded):
      (WebCore::TextLayout::constructTextRun):
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::placeBoxesInInlineDirection):
      * rendering/InlineIterator.h:
      (WebCore::InlineIterator::atTextParagraphSeparator):
      (WebCore::InlineIterator::current):
      (WebCore::InlineIterator::previousInSameNode):
      * rendering/InlineTextBox.cpp:
      (WebCore::adjustCharactersAndLengthForHyphen):
      (WebCore::InlineTextBox::paint):
      (WebCore::InlineTextBox::paintSelection):
      (WebCore::InlineTextBox::constructTextRun):
      * rendering/InlineTextBox.h:
      (InlineTextBox):
      * rendering/RenderBlock.cpp:
      (WebCore::constructTextRunInternal):
      (WebCore::RenderBlock::constructTextRun):
      * rendering/RenderBlock.h:
      (RenderBlock):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::endsWithASCIISpaces):
      (WebCore::reachedEndOfTextRenderer):
      (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
      (WebCore::shouldSkipWhitespaceAfterStartObject):
      (WebCore::textWidth):
      (WebCore::tryHyphenating):
      (WebCore::RenderBlock::LineBreaker::nextLineBreak):
      * rendering/RenderCombineText.cpp:
      (WebCore::RenderCombineText::getStringToRender):
      (WebCore::RenderCombineText::combineText):
      * rendering/RenderCombineText.h:
      (RenderCombineText):
      * rendering/RenderText.cpp:
      (SameSizeAsRenderText):
      (WebCore::RenderText::RenderText):
      (WebCore::RenderText::widthFromCache):
      (WebCore::RenderText::computePreferredLogicalWidths):
      (WebCore::RenderText::setTextInternal):
      (WebCore::RenderText::width):
      * rendering/RenderText.h:
      (WebCore::RenderText::is8Bit):
      (WebCore::RenderText::characters8):
      (WebCore::RenderText::characters16):
      (WebCore::RenderText::characterAt):
      (WebCore::RenderText::operator[]):
      (RenderText):
      * xml/parser/MarkupTokenBase.h:
      (WebCore::MarkupTokenBase::appendToCharacter):
      (MarkupTokenBase):
      (WebCore::MarkupTokenBase::isAll8BitData):
      
      Source/WTF: 
      
      Added WTF_USE_8BIT_TEXTRUN to encase code that creates 8 bit TextRun's.  Enabled WTF_USE_8BIT_TEXTRUN
      for PLATFORM(MAC).  Other platform can update this setting in Platform.h when their platform specific use of
      TextRun handle 8 bit data.  Added a new Vector::appendVector to allow appending the contents of a vector
      containing one type to the end of vector containing another.  This is used to append a Vector<LChar> to
      the end of a Vector<UChar>.
      
      * wtf/Platform.h:
      * wtf/Vector.h:
      (Vector):
      (WTF::Vector::appendVector):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      776c286c
  7. 10 Oct, 2012 1 commit
  8. 01 Oct, 2012 1 commit
  9. 29 Sep, 2012 2 commits
  10. 28 Sep, 2012 2 commits
    • andersca@apple.com's avatar
      Remove Java bridge · 87220d26
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97954
      
      Reviewed by Sam Weinig.
      
      The Java bridge is not used by any port; Mac now has a NPAPI Java plug-in.
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::ScriptController):
      * bindings/js/ScriptController.h:
      (ScriptController):
      * bindings/js/ScriptControllerMac.mm:
      (WebCore::ScriptController::createScriptInstanceForWidget):
      * bridge/jni/JNIUtility.cpp: Removed.
      * bridge/jni/JNIUtility.h: Removed.
      * bridge/jni/JavaType.h: Removed.
      * bridge/jni/JobjectWrapper.cpp: Removed.
      * bridge/jni/JobjectWrapper.h: Removed.
      * bridge/jni/jni_jsobject.h: Removed.
      * bridge/jni/jni_jsobject.mm: Removed.
      * bridge/jni/jni_objc.mm: Removed.
      * bridge/jni/jsc/JNIUtilityPrivate.cpp: Removed.
      * bridge/jni/jsc/JNIUtilityPrivate.h: Removed.
      * bridge/jni/jsc/JavaArrayJSC.cpp: Removed.
      * bridge/jni/jsc/JavaArrayJSC.h: Removed.
      * bridge/jni/jsc/JavaClassJSC.cpp: Removed.
      * bridge/jni/jsc/JavaClassJSC.h: Removed.
      * bridge/jni/jsc/JavaFieldJSC.cpp: Removed.
      * bridge/jni/jsc/JavaFieldJSC.h: Removed.
      * bridge/jni/jsc/JavaInstanceJSC.cpp: Removed.
      * bridge/jni/jsc/JavaInstanceJSC.h: Removed.
      * bridge/jni/jsc/JavaMethodJSC.cpp: Removed.
      * bridge/jni/jsc/JavaMethodJSC.h: Removed.
      * bridge/jni/jsc/JavaRuntimeObject.cpp: Removed.
      * bridge/jni/jsc/JavaRuntimeObject.h: Removed.
      * bridge/jni/jsc/JavaStringJSC.h: Removed.
      * bridge/runtime_root.h:
      * loader/FrameLoaderClient.h:
      (FrameLoaderClient):
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      Make sure that we try to load the NPAPI Java plug-in.
      
      Source/WebKit2:
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      (WebFrameLoaderClient):
      
      Source/WTF:
      
      * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87220d26
    • commit-queue@webkit.org's avatar
      Disable YARR_JIT for Windows 64 bit · ecaae49d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97772
      
      Patch by Kai Koehne <kai.koehne@digia.com> on 2012-09-28
      Reviewed by Simon Hausmann.
      
      Using YARR_JIT requires ASSEMBLER, which in turn enables the
      executable fixed allocator, which is mmap based (not available on
      Windows).
      
      * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ecaae49d
  11. 27 Sep, 2012 1 commit
  12. 25 Sep, 2012 3 commits
  13. 24 Sep, 2012 2 commits
    • mark.lam@apple.com's avatar
      Deleting the classic interpreter and cleaning up some build options. · 74a9e837
      mark.lam@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96969.
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      (JSC::CodeBlock::finalizeUnconditionally):
      (JSC::CodeBlock::stronglyVisitStrongReferences):
      (JSC):
      * bytecode/Instruction.h:
      (JSC::Instruction::Instruction):
      * interpreter/AbstractPC.cpp:
      (JSC::AbstractPC::AbstractPC):
      * interpreter/AbstractPC.h:
      (AbstractPC):
      * interpreter/CallFrame.h:
      (ExecState):
      * interpreter/Interpreter.cpp:
      (JSC):
      (JSC::Interpreter::Interpreter):
      (JSC::Interpreter::~Interpreter):
      (JSC::Interpreter::initialize):
      (JSC::Interpreter::isOpcode):
      (JSC::Interpreter::unwindCallFrame):
      (JSC::getLineNumberForCallFrame):
      (JSC::getCallerInfo):
      (JSC::getSourceURLFromCallFrame):
      (JSC::Interpreter::execute):
      (JSC::Interpreter::executeCall):
      (JSC::Interpreter::executeConstruct):
      (JSC::Interpreter::retrieveArgumentsFromVMCode):
      (JSC::Interpreter::retrieveCallerFromVMCode):
      (JSC::Interpreter::retrieveLastCaller):
      * interpreter/Interpreter.h:
      (JSC::Interpreter::getOpcodeID):
      (Interpreter):
      * jit/ExecutableAllocatorFixedVMPool.cpp:
      (JSC::FixedVMPoolExecutableAllocator::FixedVMPoolExecutableAllocator):
      * offlineasm/asm.rb:
      * offlineasm/offsets.rb:
      * runtime/Executable.cpp:
      (JSC::EvalExecutable::compileInternal):
      (JSC::ProgramExecutable::compileInternal):
      (JSC::FunctionExecutable::compileForCallInternal):
      (JSC::FunctionExecutable::compileForConstructInternal):
      * runtime/Executable.h:
      (JSC::NativeExecutable::create):
      (NativeExecutable):
      (JSC::NativeExecutable::finishCreation):
      * runtime/JSGlobalData.cpp:
      (JSC):
      (JSC::JSGlobalData::JSGlobalData):
      (JSC::JSGlobalData::getHostFunction):
      * runtime/JSGlobalData.h:
      (JSGlobalData):
      (JSC::JSGlobalData::canUseJIT):
      (JSC::JSGlobalData::canUseRegExpJIT):
      * runtime/Options.cpp:
      (JSC::Options::initialize):
      
      Source/WebKit/blackberry: 
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WTF: 
      
      * wtf/OSAllocatorPosix.cpp:
      (WTF::OSAllocator::reserveAndCommit):
      * wtf/Platform.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74a9e837
    • paroga@webkit.org's avatar
      Remove String::operator+=() · e65252dc
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96172
      
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Replace the last usage with String::append() in Gtk.
      
      * platform/gtk/GtkInputMethodFilter.cpp:
      (WebCore::GtkInputMethodFilter::handleCommit):
      
      Source/WTF:
      
      * wtf/Platform.h:
      * wtf/text/WTFString.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129433 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e65252dc
  14. 13 Sep, 2012 1 commit
    • 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
  15. 11 Sep, 2012 1 commit
    • vestbo@webkit.org's avatar
      [Qt] Add a configure step to the Qt build system · a5de2269
      vestbo@webkit.org authored
      This allows building the Qt port using just 'qmake WebKit.pro'. Using
      the build-webkit script is still supported, and will add slightly more
      logic to the build, such as detecting the need for clean or incremental
      builds.
      
      Internally, the build system now uses a new variable, WEBKIT_CONFIG, for
      all things related to configuring the build, such as use/have/enable flags,
      and these are translated to defines in default_post. Project files should
      no longer check contains(DEFINES,...) to detect features, but use the new
      enable?(), use?(), and have?() functions. The no_webkit1 and no_webkit2
      options have been translated into WEBKIT_CONFIG options as well, and can
      be checked using build?().
      
      Reviewed by Simon Hausmann.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5de2269
  16. 07 Sep, 2012 1 commit
  17. 06 Sep, 2012 3 commits
    • commit-queue@webkit.org's avatar
      [Qt] Deprecate String += operator · cb705455
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95895
      
      Patch by Lauro Neto <lauro.neto@openbossa.org> on 2012-09-06
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Replaced String +=() with append.
      
      * platform/qt/RenderThemeQt.cpp:
      (WebCore::RenderThemeQt::extraMediaControlsStyleSheet):
      
      Source/WTF:
      
      Remove Qt from WTF_DEPRECATED_STRING_OPERATORS guard.
      
      * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb705455
    • hausmann@webkit.org's avatar
      [Qt] Various small Windows / MSVC build fixes · cd603beb
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95934
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebKit2:
      
      * Shared/LayerTreeContext.h: Include stdint.h due to the use of uint32_t as layer id.
      * UIProcess/API/qt/qquickwebview_p.h:
      (WebKit): Fix struct vs. class forward declaration mismatch, causing linking errors.
      * UIProcess/API/qt/tests/bytearraytestdata.h: Remove export macro from internal test class
      that is not used anymore. Using the export macro from a DLL when the code in question is not
      part of the DLL results in the export macro expanding to dllimport, giving incorrect linkage
      for the unit test.
      * WebProcess/qt/WebProcessMainQt.cpp:
      (WebKit::WebProcessMainQt): Removed explicit call to srandom(), which is not available on Windows.
      The call appears to be unnecessary in the light of the WTF::initializeThreading() call below, which
      in turn calls WTF::initializeRandomNumberGenerator(), which does the same thing already (and isn't
      needed on Windows, as per comment in wtf/RandomNumberSeed.h)
      
      Source/WTF:
      
      For the Qt build on Windows, do not enable WTF_USE_UNIX_DOMAIN_SOCKETS for
      WebKit2 IPC.
      
      * wtf/Platform.h:
      
      Tools:
      
      setFocus takes a boolean as argument: Don't try to implicitly convert
      an enum to a boolean, MSVC doesn't like that. The intent here is to
      enable focus, so just pass true.
      
      * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
      (WTR::PlatformWebView::focus):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd603beb
    • abarth@webkit.org's avatar
      Remove WTF::String::operator+= · 68cba3cc
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95797
      
      Patch by Adam Barth <abarth@chromium.org> on 2012-09-06
      Reviewed by Sam Weinig.
      
      This patch encloses WTF::String::operator+= in an ifdef so that we can
      gradually remove it from the various port-specific files. The ifdef
      lets us whitelist use of operator+= in individual files during the
      transition.
      
      * wtf/Platform.h
      * wtf/text/WTFString.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68cba3cc
  18. 05 Sep, 2012 1 commit
  19. 01 Sep, 2012 1 commit
    • commit-queue@webkit.org's avatar
      LLInt C loop backend. · e13567fb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91052.
      
      Patch by Mark Lam <mark.lam@apple.com> on 2012-09-01
      Reviewed by Filip Pizlo.
      
      Source/JavaScriptCore:
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      (JSC::CodeBlock::bytecodeOffset):
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::execute):
      (JSC::Interpreter::executeCall):
      (JSC::Interpreter::executeConstruct):
      (JSC):
      * interpreter/Interpreter.h:
      * jit/JITStubs.h:
      (JITStackFrame):
      (JSC):
      * llint/LLIntCLoop.cpp: Added.
      (JSC):
      (LLInt):
      (JSC::LLInt::CLoop::initialize):
      (JSC::LLInt::CLoop::catchRoutineFor):
      (JSC::LLInt::CLoop::hostCodeEntryFor):
      (JSC::LLInt::CLoop::jsCodeEntryWithArityCheckFor):
      (JSC::LLInt::CLoop::jsCodeEntryFor):
      * llint/LLIntCLoop.h: Added.
      (JSC):
      (LLInt):
      (CLoop):
      * llint/LLIntData.cpp:
      (JSC::LLInt::initialize):
      * llint/LLIntData.h:
      (JSC):
      * llint/LLIntOfflineAsmConfig.h:
      * llint/LLIntOpcode.h:
      * llint/LLIntThunks.cpp:
      (LLInt):
      * llint/LowLevelInterpreter.asm:
      * llint/LowLevelInterpreter.cpp:
      (LLInt):
      (JSC::LLInt::Ints2Double):
      (JSC):
      (JSC::CLoop::execute):
      * llint/LowLevelInterpreter.h:
      (JSC):
      * llint/LowLevelInterpreter32_64.asm:
      * llint/LowLevelInterpreter64.asm:
      * offlineasm/asm.rb:
      * offlineasm/backends.rb:
      * offlineasm/cloop.rb: Added.
      * offlineasm/instructions.rb:
      * runtime/Executable.h:
      (ExecutableBase):
      (JSC::ExecutableBase::hostCodeEntryFor):
      (JSC::ExecutableBase::jsCodeEntryFor):
      (JSC::ExecutableBase::jsCodeWithArityCheckEntryFor):
      (JSC::ExecutableBase::catchRoutineFor):
      (NativeExecutable):
      * runtime/JSValue.h:
      (JSC):
      (LLInt):
      (JSValue):
      * runtime/JSValueInlineMethods.h:
      (JSC):
      (JSC::JSValue::JSValue):
      * runtime/Options.cpp:
      (JSC::Options::initialize):
      
      Source/WTF:
      
      Added configs for the llint C loop backend.
      
      * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e13567fb
  20. 30 Aug, 2012 2 commits
    • commit-queue@webkit.org's avatar
      Render unto #ifdef's that which belong to them. · b8419483
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95482.
      
      Patch by Mark Lam <mark.lam@apple.com> on 2012-08-30
      Reviewed by Filip Pizlo.
      
      Source/JavaScriptCore:
      
      Refining / disambiguating between #ifdefs and adding some. For
      example, ENABLE(JIT) is conflated with ENABLE(LLINT) in some places.
      Also, we need to add ENABLE(COMPUTED_GOTO_OPCODES) to indicate that we
      want interpreted opcodes to use COMPUTED GOTOs apart from ENABLE(LLINT)
      and ENABLE(COMPUTED_GOTO_CLASSIC_INTERPRETER). Also cleaned up #ifdefs
      in certain places which were previously incorrect.
      
      * bytecode/CodeBlock.cpp:
      (JSC):
      (JSC::CodeBlock::bytecodeOffset):
      * bytecode/CodeBlock.h:
      (CodeBlock):
      * bytecode/Opcode.h:
      (JSC::padOpcodeName):
      * config.h:
      * dfg/DFGOperations.cpp:
      * interpreter/AbstractPC.cpp:
      (JSC::AbstractPC::AbstractPC):
      * interpreter/CallFrame.h:
      (ExecState):
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::~Interpreter):
      (JSC::Interpreter::initialize):
      (JSC::Interpreter::isOpcode):
      (JSC::Interpreter::unwindCallFrame):
      (JSC::getLineNumberForCallFrame):
      (JSC::getCallerInfo):
      (JSC::Interpreter::execute):
      (JSC::Interpreter::executeCall):
      (JSC::Interpreter::executeConstruct):
      (JSC::Interpreter::privateExecute):
      * interpreter/Interpreter.h:
      (JSC::Interpreter::getOpcode):
      (JSC::Interpreter::getOpcodeID):
      (Interpreter):
      * jit/HostCallReturnValue.h:
      * jit/JITCode.h:
      (JITCode):
      * jit/JITExceptions.cpp:
      * jit/JITExceptions.h:
      * jit/JSInterfaceJIT.h:
      * llint/LLIntData.h:
      (JSC::LLInt::getOpcode):
      * llint/LLIntEntrypoints.cpp:
      (JSC::LLInt::getFunctionEntrypoint):
      (JSC::LLInt::getEvalEntrypoint):
      (JSC::LLInt::getProgramEntrypoint):
      * llint/LLIntOffsetsExtractor.cpp:
      (JSC::LLIntOffsetsExtractor::dummy):
      * llint/LLIntSlowPaths.cpp:
      (LLInt):
      * runtime/JSGlobalData.cpp:
      (JSC):
      
      Source/WTF:
      
      * wtf/Platform.h: Added ENABLE(COMPUTED_GOTO_OPCODES).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127199 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8419483
    • benjamin@webkit.org's avatar
      Replace JSC::UString by WTF::String · cff06e46
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95271
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-08-30
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      Having JSC::UString and WTF::String increase the complexity of working on WebKit, and
      add useless conversions in the bindings. It also cause some code bloat.
      
      The performance advantages of UString have been ported over in previous patches. This patch
      is the last step: getting rid of UString.
      
      In addition to the simplified code, this also reduce the binary size by 15kb on x86_64.
      
      * API/OpaqueJSString.cpp:
      (OpaqueJSString::ustring):
      * runtime/Identifier.h:
      (JSC::Identifier::ustring):
      To avoid changing everything at once, the function named ustring() were kept as is. They
      will be renamed in a follow up patch.
      
      * runtime/JSString.h:
      (JSC::JSString::string):
      (JSC::JSValue::toWTFString):
      (JSC::inlineJSValueNotStringtoString):
      (JSC::JSValue::toWTFStringInline):
      Since JSValue::toString() already exist (and return the JSString), the direct accessor is renamed
      to ::toWTFString(). We may change ::string() to ::jsString() and ::toWTFString() to ::toString()
      in the future.
      
      * runtime/StringPrototype.cpp:
      (JSC::substituteBackreferencesSlow): Replace the use of UString::getCharacters<>() by String::getCharactersWithUpconvert<>().
      
      Source/WebCore: 
      
      Update the code to use String instead of UString.
      
      On x86_64, this reduces the binary size by 22kb.
      
      Since it is no longer possible to differenciate JSC::jsString() and WebCore::jsString() by the input
      types, WebCore::jsString() is renated to WebCore::jsStringWithCache().
      
      Since the cache is using a PtrHash, JSC::jsString() is used in place of the old WebCore::jsString() when
      the string is generated locally. This is because the cache can never match in those cases.
      
      Source/WebKit/blackberry: 
      
      Replace UString by String.
      
      * WebCoreSupport/ClientExtension.cpp:
      * WebCoreSupport/PagePopupBlackBerry.cpp:
      (WebCore::PagePopupBlackBerry::installDomFunction):
      
      Source/WebKit/efl: 
      
      Replace UString by String.
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::sendWebIntentResponse):
      * ewk/ewk_frame.cpp:
      (ewk_frame_script_execute):
      
      Source/WebKit/gtk: 
      
      Replace UString by String.
      
      * gdom/ConvertToGCharPrivate.h:
      (copyAsGchar):
      
      Source/WebKit/mac: 
      
      Get rid of UString, replace it by String, and simplify the code when possible.
      
      On x86_64, this reduces the binary size by 7kb.
      
      * Plugins/Hosted/NetscapePluginHostProxy.mm:
      (identifierFromIdentifierRep):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::addValueToArray):
      (WebKit::NetscapePluginInstanceProxy::moveGlobalExceptionToExecState):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyRuntimeMethod::create):
      (WebKit::ProxyRuntimeMethod::finishCreation):
      (WebKit::ProxyInstance::getPropertyNames):
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * WebView/WebFrame.mm:
      (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
      (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
      * WebView/WebScriptDebugDelegate.mm:
      (-[WebScriptCallFrame functionName]):
      (-[WebScriptCallFrame evaluateWebScript:]):
      * WebView/WebScriptDebugger.h:
      (WTF):
      (JSC):
      (WebScriptDebugger):
      * WebView/WebScriptDebugger.mm:
      (toNSURL):
      (WebScriptDebugger::sourceParsed):
      * WebView/WebView.mm:
      (aeDescFromJSValue):
      
      Source/WebKit/qt: 
      
      Replace UString by String.
      
      * Api/qwebelement.cpp:
      (QWebElement::evaluateJavaScript):
      
      Source/WebKit/win: 
      
      Replace UString by String.
      
      * WebFrame.cpp:
      (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
      * WebView.cpp:
      (WebView::stringByEvaluatingJavaScriptFromString):
      
      Source/WebKit/wx: 
      
      Update the #includes to use the correct types.
      
      * WebFrame.cpp:
      * WebView.cpp:
      
      Source/WebKit2: 
      
      Update to code to switch from UString to String.
      
      * WebProcess/Plugins/Netscape/JSNPMethod.cpp:
      (WebKit::JSNPMethod::finishCreation):
      * WebProcess/Plugins/Netscape/JSNPMethod.h:
      (WebKit::JSNPMethod::create):
      (JSNPMethod):
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::npIdentifierFromIdentifier):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::evaluate):
      (WebKit::NPRuntimeObjectMap::moveGlobalExceptionToExecState):
      
      Source/WTF: 
      
      * wtf/Platform.h: Useless edit to force a full build. This is needed for some bots for some reason.
      * wtf/text/WTFString.h: Export a symbol that was exported on UString and needed in WebCore.
      
      Add String::getCharactersWithUpconvert<>(), which is similar to String::getCharacters<>() but with the same
      behaviors as UString::getCharacters<>().
      
      String::getCharactersWithUpconvert<>() is useful when manipulating multiple strings, it allow writting code
      using 16bits characters if any of the input String is not 8bit.
      
      Tools: 
      
      Get rid of UString.
      
      * DumpRenderTree/efl/WorkQueueItemEfl.cpp:
      * gdb/webkit.py:
      (WTFStringPrinter.to_string):
      (JSCIdentifierPrinter.to_string):
      (JSCJSStringPrinter.to_string):
      (add_pretty_printers):
      
      Websites/webkit.org: 
      
      Update the coding style to avoid mentioning a class that no longer exist.
      
      * coding/coding-style.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cff06e46
  21. 24 Aug, 2012 1 commit
  22. 23 Aug, 2012 1 commit
    • eae@chromium.org's avatar
      Add saturation arithmetic support to FractionalLayoutUnit · 5fcc0d68
      eae@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=94364
      
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Add experimental saturation arithmetic support to FractionalLayoutUnit,
      guarded by a flag.
      The idea here is to saturate (or clamp) rather than overflow when
      computing positions and sizes.
      
      No new tests for WebCore, not enabled by default.
      
      * platform/FractionalLayoutUnit.h:
      (WebCore::FractionalLayoutUnit::intMinForLayoutUnit):
      Use INT_MIN instead of -INT_MAX to compute minimum value as the two are
      not the same.
      
      (WebCore::FractionalLayoutUnit::FractionalLayoutUnit):
      (WebCore::FractionalLayoutUnit::fromFloatCeil):
      (WebCore::FractionalLayoutUnit::fromFloatFloor):
      (WebCore::FractionalLayoutUnit::fromFloatRound):
      (WebCore::FractionalLayoutUnit::setValue):
      Add range checks.
      
      (WebCore::operator*):
      (WebCore::operator+):
      (WebCore::operator-):
      (WebCore::operator+=):
      (WebCore::operator-=):
      Use the saturatedAddition and saturatedSubtraction functions, which have
      been optimized to reduce branching, instead of range checks for the most
      common operators.
      
      Source/WTF:
      
      Add support functions for saturated addition and subtraction.
      
      Test: TestWebKitAPI/Tests/WTF/SaturatedArithmeticOperations.cpp
      
      * GNUmakefile.list.am:
      * WTF.gypi:
      * WTF.pro:
      * WTF.vcproj/WTF.vcproj:
      * WTF.xcodeproj/project.pbxproj:
      * WTF/wtf/CMakeLists.txt:
      Add SaturatedArithmetic.h to build files.
      
      * wtf/SaturatedArithmetic.h: Added.
      (saturatedAddition):
      (saturatedSubtraction):
      Support functions for saturated addition/subtraction. Compares the signed
      bit of the values instead of using range checks to reduce branching.
      
      * wtf/Platform.h:
      Add ENABLE_SATURATED_LAYOUT_ARITHMETIC flag.
      
      Tools:
      
      Add test for new saturatedArithmetic functions.
      
      * TestWebKitAPI/CMakeLists.txt:
      * TestWebKitAPI/GNUmakefile.am:
      * TestWebKitAPI/TestWebKitAPI.gypi:
      * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
      * TestWebKitAPI/Tests/WTF/SaturatedArithmeticOperations.cpp: Added.
      (TestWebKitAPI):
      (TestWebKitAPI::TEST):
      * TestWebKitAPI/win/TestWebKitAPI.vcproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fcc0d68
  23. 22 Aug, 2012 1 commit
    • allan.jensen@nokia.com's avatar
      [Qt] Optionally support smooth-scrolling on all platforms · abefb4bd
      allan.jensen@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=74926
      
      Reviewed by Simon Hausmann.
      
      Source/WebCore:
      
      Make GestureAnimations depend on the GESTURE_ANIMATION feature flag,
      since GestureAnimations are unused on some platforms.
      
      * Target.pri:
      * platform/ScrollAnimatorNone.cpp:
      (WebCore::ScrollAnimatorNone::fireUpAnAnimation):
      (WebCore::ScrollAnimatorNone::cancelAnimations):
      (WebCore::ScrollAnimatorNone::animationTimerFired):
      * platform/ScrollAnimatorNone.h:
      (ScrollAnimatorNone):
      
      Source/WebKit/qt:
      
      Expose the enable scroll animator setting.
      
      * Api/qwebsettings.cpp:
      (QWebSettingsPrivate::apply):
      (QWebSettings::QWebSettings):
      * Api/qwebsettings.h:
      
      Source/WebKit2:
      
      Expose scroll-animator preference, but ensure animated smooth scrolling
      on the web process side is disabled when scrolling has been delegated
      to the UI process.
      
      * Shared/WebPreferencesStore.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::setResizesToContentsUsingLayoutSize):
      (WebKit::WebPage::updatePreferences):
      
      Source/WTF:
      
      Initialize GESTURE_ANIMATION feature flag.
      
      * wtf/Platform.h:
      
      Tools:
      
      Enabled SMOOTH_SCROLLING on Qt, and expose the enable scroll animator
      setting in QtTestBrowser so it can be tested.
      
      * QtTestBrowser/launcherwindow.cpp:
      (LauncherWindow::createChrome):
      (LauncherWindow::toggleScrollAnimator):
      * QtTestBrowser/launcherwindow.h:
      (WindowOptions::WindowOptions):
      (WindowOptions):
      (LauncherWindow):
      * qmake/mkspecs/features/features.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      abefb4bd
  24. 17 Aug, 2012 1 commit
  25. 14 Aug, 2012 1 commit
  26. 11 Aug, 2012 1 commit
    • weinig@apple.com's avatar
      Enable XPC Service based WebProcess with runtime flag · 342392b9
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=93773
      
      Reviewed by Dan Bernstein.
      
      Source/WebKit2: 
      
      Use the XPC Service for WebProcess code path if WEBKIT_USE_XPC_SERVICE_FOR_WEB_PROCESS
      is set in the environment.
      
      * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
      (WebKit::launchXPCService):
      Fix issue that was causing this code not to compile. This was not caught before since
      the code was not being built.
              
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::connect):
      Switch from hard coding always using the XPC Service code path if
      HAVE(XPC) was true, to doing it conditionally on an environment variable.
      
      Source/WTF: 
      
      * wtf/Platform.h:
      Define HAVE_XPC on 10.7 and later.
      
      Tools: 
      
      Convert --use-web-process-xpc-service passed to run-safari (and similar scripts)
      to setting WEBKIT_USE_XPC_SERVICE_FOR_WEB_PROCESS=YES in the environment and setting
      up __XPC_DYLD_FRAMEWORK_PATH and __XPC_DYLD_INSERT_LIBRARIES variables. NOTE: using
      the XPC service is not the default code path.
      
      * Scripts/webkitdirs.pm:
      (shouldUseXPCServiceForWebProcess):
      (determineShouldUseXPCServiceForWebProcess):
      Add functions to extract --use-web-process-xpc-service from ARGV and set a
      global variable.
      
      (printHelpAndExitForRunAndDebugWebKitAppIfNeeded):
      Add help text for --use-web-process-xpc-service.
      
      (runMacWebKitApp):
      Set the WEBKIT_USE_XPC_SERVICE_FOR_WEB_PROCESS environment variable and DYLD
      if --use-web-process-xpc-service was passed on the command line.
      
      (execMacWebKitAppForDebugging):
      Set the WEBKIT_USE_XPC_SERVICE_FOR_WEB_PROCESS environment variable and DYLD
      if --use-web-process-xpc-service was passed on the command line. Also, bail
      if both --use-web-process-xpc-service and --target-web-process are passed on
      the command line, as we don't currently support using both.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      342392b9
  27. 04 Aug, 2012 1 commit
    • noam.rosenthal@nokia.com's avatar
      [Qt] UI_SIDE_COMPOSITING code has confusing names · 8c7ea6f4
      noam.rosenthal@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=93164
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebKit2:
      
      Renamed and consolidated code guarded under UI_SIDE_COMPOSITING, now under
      USE(COORDINATED_GRAPHICS) guard and CoordinatedGraphics folders.
      
      * CMakeLists.txt:
      * DerivedSources.pri:
      * Shared/WebCoreArgumentCoders.cpp:
      (CoreIPC):
      * Shared/WebCoreArgumentCoders.h:
      * Shared/WebLayerTreeInfo.cpp:
      * Shared/WebLayerTreeInfo.h:
      * Target.pri:
      * UIProcess/API/qt/qquickwebpage.cpp:
      (QQuickWebPage::updatePaintNode):
      * UIProcess/API/qt/raw/qrawwebview.cpp:
      (QRawWebView::paint):
      * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp: Renamed from Source/WebKit2/UIProcess/texmap/LayerBackingStore.cpp.
      * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.h: Renamed from Source/WebKit2/UIProcess/texmap/LayerBackingStore.h.
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp: Renamed from Source/WebKit2/UIProcess/LayerTreeCoordinatorProxy.cpp.
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h: Renamed from Source/WebKit2/UIProcess/LayerTreeCoordinatorProxy.h.
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in: Renamed from Source/WebKit2/UIProcess/LayerTreeCoordinatorProxy.messages.in.
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp: Renamed from Source/WebKit2/UIProcess/WebLayerTreeRenderer.cpp.
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h: Renamed from Source/WebKit2/UIProcess/WebLayerTreeRenderer.h.
      * UIProcess/DrawingAreaProxy.cpp:
      (WebKit):
      * UIProcess/DrawingAreaProxy.h:
      (DrawingAreaProxy):
      * UIProcess/DrawingAreaProxyImpl.cpp:
      (WebKit::DrawingAreaProxyImpl::DrawingAreaProxyImpl):
      (WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode):
      (WebKit):
      * UIProcess/DrawingAreaProxyImpl.h:
      (DrawingAreaProxyImpl):
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::didReceiveMessage):
      * UIProcess/qt/QtWebPageSGNode.cpp:
      (WebKit::ContentsSGNode::ContentsSGNode):
      (WebKit::ContentsSGNode::layerTreeRenderer):
      (ContentsSGNode):
      (WebKit::QtWebPageSGNode::setRenderer):
      * UIProcess/qt/QtWebPageSGNode.h:
      (WebKit):
      (QtWebPageSGNode):
      * WebKit2.pri:
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::scheduleAnimation):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp.
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h: Renamed from Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.h.
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/TiledBackingStoreRemoteTile.cpp.
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.h: Renamed from Source/WebKit2/WebProcess/WebPage/TiledBackingStoreRemoteTile.h.
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp.
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h: Renamed from Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.h.
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.messages.in: Renamed from Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.messages.in.
      * WebProcess/WebPage/DrawingArea.h:
      (DrawingArea):
      * WebProcess/WebPage/DrawingAreaImpl.cpp:
      (WebKit):
      * WebProcess/WebPage/DrawingAreaImpl.h:
      (DrawingAreaImpl):
      * WebProcess/WebPage/LayerTreeHost.h:
      (LayerTreeHost):
      * WebProcess/WebPage/UpdateAtlas.cpp:
      * WebProcess/WebPage/UpdateAtlas.h:
      * WebProcess/qt/WebProcessMainQt.cpp:
      (WebKit::WebProcessMainQt):
      
      Source/WTF:
      
      Renamed UI_SIDE_COMPOSITING to COORDINATED_GRAPHICS.
      
      * wtf/Platform.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c7ea6f4
  28. 30 Jul, 2012 1 commit
    • paroga@webkit.org's avatar
      Replace UnicodeWinCE with UnicodeWchar https://bugs.webkit.org/show_bug.cgi?id=92539 · 74b5be15
      paroga@webkit.org authored
      Reviewed by Ryosuke Niwa.
      
      UnicodeWinCE never contained WinCE specific code. UnicodeWchar
      is a replacement for it, which is mainly based on the functions
      from <wchar.h>. It is ment as a minimal Unicode backend, which
      can be used very easy and has no external dependencies.
      
      .:
      
      * Source/cmake/OptionsWinCE.cmake:
      
      Source/WebCore:
      
      * platform/text/TextEncoding.cpp:
      (WebCore::TextEncoding::encode):
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::extendTextCodecMaps):
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataUseFeatures.in:
      
      Source/WTF:
      
      * WTF.gyp/WTF.gyp:
      * WTF.gypi:
      * wtf/Platform.h:
      * wtf/PlatformWinCE.cmake:
      * wtf/unicode/Unicode.h:
      * wtf/unicode/wchar/UnicodeWchar.cpp: Added.
      (Unicode):
      (WTF::Unicode::category):
      (WTF::Unicode::combiningClass):
      (WTF::Unicode::direction):
      (WTF::Unicode::decompositionType):
      (WTF::Unicode::hasLineBreakingPropertyComplexContext):
      (WTF::Unicode::mirroredChar):
      (WTF::Unicode::convertWithFunction):
      (WTF::Unicode::foldCase):
      (WTF::Unicode::toLower):
      (WTF::Unicode::toUpper):
      * wtf/unicode/wchar/UnicodeWchar.h: Added.
      (Unicode):
      (WTF::Unicode::isAlphanumeric):
      (WTF::Unicode::isDigit):
      (WTF::Unicode::isLetter):
      (WTF::Unicode::isLower):
      (WTF::Unicode::isPrintableChar):
      (WTF::Unicode::isPunct):
      (WTF::Unicode::isSpace):
      (WTF::Unicode::isUpper):
      (WTF::Unicode::isArabicChar):
      (WTF::Unicode::isSeparatorSpace):
      (WTF::Unicode::foldCase):
      (WTF::Unicode::toLower):
      (WTF::Unicode::toUpper):
      (WTF::Unicode::toTitleCase):
      (WTF::Unicode::umemcasecmp):
      * wtf/unicode/wince/UnicodeWinCE.cpp: Removed.
      * wtf/unicode/wince/UnicodeWinCE.h: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74b5be15