1. 01 Jan, 2011 1 commit
  2. 24 Dec, 2010 1 commit
    • abarth@webkit.org's avatar
      Move JavaScriptGlue into Sources · e72e6717
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=51583
      
      Rubber-stamped by Eric Seidel.
      
      Actually perform the move.
      
      * JavaScriptGlue: Removed.
      * JavaScriptGlue/Configurations: Removed.
      * JavaScriptGlue/Configurations/Base.xcconfig: Removed.
      * JavaScriptGlue/Configurations/DebugRelease.xcconfig: Removed.
      * JavaScriptGlue/Configurations/JavaScriptGlue.xcconfig: Removed.
      * JavaScriptGlue/Configurations/Version.xcconfig: Removed.
      * JavaScriptGlue/English.lproj: Removed.
      * JavaScriptGlue/English.lproj/InfoPlist.strings: Removed.
      * JavaScriptGlue/ForwardingHeaders: Removed.
      * JavaScriptGlue/ForwardingHeaders/masm: Removed.
      * JavaScriptGlue/ForwardingHeaders/masm/X86Assembler.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/profiler: Removed.
      * JavaScriptGlue/ForwardingHeaders/profiler/Profiler.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/runtime: Removed.
      * JavaScriptGlue/ForwardingHeaders/runtime/CallFrame.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ASCIICType.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/AlwaysInline.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Assertions.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Atomics.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Bitmap.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/BumpPointerAllocator.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/CrossThreadRefCounted.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/CurrentTime.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/DateInstanceCache.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/DateMath.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/FastAllocBase.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/FastMalloc.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/FixedArray.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Forward.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashCountedSet.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashFunctions.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashMap.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashSet.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashTraits.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ListHashSet.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ListRefPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Locker.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/MainThread.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/MathExtras.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Noncopyable.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/NotFound.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OSAllocator.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnArrayPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnArrayPtrCommon.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnFastMallocPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnPtrCommon.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PageAllocation.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PageAllocationAligned.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PageBlock.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PageReservation.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PassOwnArrayPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PassOwnPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Platform.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PossiblyNull.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PtrAndFlags.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/RandomNumber.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/StackBounds.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/StdLibExtras.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/StringHasher.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ThreadSafeShared.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ThreadSpecific.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Threading.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ThreadingPrimitives.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/UnusedParam.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/VMTags.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ValueCheck.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Vector.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/VectorTraits.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/WTFThreadData.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/CString.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/StringHash.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/StringImpl.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/StringImplBase.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/TextPosition.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/WTFString.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/unicode: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/unicode/Unicode.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/unicode/icu: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/unicode/icu/UnicodeIcu.h: Removed.
      * JavaScriptGlue/Info.plist: Removed.
      * JavaScriptGlue/JSBase.cpp: Removed.
      * JavaScriptGlue/JSBase.h: Removed.
      * JavaScriptGlue/JSObject.cpp: Removed.
      * JavaScriptGlue/JSObject.h: Removed.
      * JavaScriptGlue/JSRun.cpp: Removed.
      * JavaScriptGlue/JSRun.h: Removed.
      * JavaScriptGlue/JSUtils.cpp: Removed.
      * JavaScriptGlue/JSUtils.h: Removed.
      * JavaScriptGlue/JSValueWrapper.cpp: Removed.
      * JavaScriptGlue/JSValueWrapper.h: Removed.
      * JavaScriptGlue/JavaScriptGlue.cpp: Removed.
      * JavaScriptGlue/JavaScriptGlue.exp: Removed.
      * JavaScriptGlue/JavaScriptGlue.h: Removed.
      * JavaScriptGlue/JavaScriptGlue.xcodeproj: Removed.
      * JavaScriptGlue/JavaScriptGlue.xcodeproj/project.pbxproj: Removed.
      * JavaScriptGlue/LICENSE: Removed.
      * JavaScriptGlue/Makefile: Removed.
      * JavaScriptGlue/UserObjectImp.cpp: Removed.
      * JavaScriptGlue/UserObjectImp.h: Removed.
      * JavaScriptGlue/config.h: Removed.
      * JavaScriptGlue/icu: Removed.
      * JavaScriptGlue/icu/LICENSE: Removed.
      * JavaScriptGlue/icu/README: Removed.
      * JavaScriptGlue/icu/unicode: Removed.
      * JavaScriptGlue/icu/unicode/platform.h: Removed.
      * JavaScriptGlue/icu/unicode/putil.h: Removed.
      * JavaScriptGlue/icu/unicode/uchar.h: Removed.
      * JavaScriptGlue/icu/unicode/ucnv.h: Removed.
      * JavaScriptGlue/icu/unicode/ucnv_err.h: Removed.
      * JavaScriptGlue/icu/unicode/uconfig.h: Removed.
      * JavaScriptGlue/icu/unicode/uenum.h: Removed.
      * JavaScriptGlue/icu/unicode/uiter.h: Removed.
      * JavaScriptGlue/icu/unicode/umachine.h: Removed.
      * JavaScriptGlue/icu/unicode/urename.h: Removed.
      * JavaScriptGlue/icu/unicode/ustring.h: Removed.
      * JavaScriptGlue/icu/unicode/utf.h: Removed.
      * JavaScriptGlue/icu/unicode/utf16.h: Removed.
      * JavaScriptGlue/icu/unicode/utf8.h: Removed.
      * JavaScriptGlue/icu/unicode/utf_old.h: Removed.
      * JavaScriptGlue/icu/unicode/utypes.h: Removed.
      * JavaScriptGlue/icu/unicode/uversion.h: Removed.
      * JavaScriptGlue/testjsglue.cpp: Removed.
      * Makefile:
      * Sources: Added.
      * Sources/JavaScriptGlue: Copied from JavaScriptGlue.
      * Sources/Makefile: Added.
      
      Tools: 
      
      These tools refer to JavaScriptGlue and need to be updated to its new
      location.
      
      * Scripts/build-webkit:
      * Scripts/do-file-rename:
      * Scripts/do-webcore-rename:
      * Scripts/webkitpy/common/config/build.py:
      * Scripts/webkitpy/common/config/build_unittest.py:
      
      Websites/bugs.webkit.org: 
      
      PrettyPatch keeps a list of the top-level directories that exist in
      trac.
      
      * PrettyPatch/PrettyPatch.rb:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e72e6717
  3. 25 May, 2009 1 commit
    • levin@chromium.org's avatar
      JavaScriptCore: · b34a1489
      levin@chromium.org authored
      2009-05-25  David Levin  <levin@chromium.org>
      
              Reviewed by Maciej Stachowiak and Oliver Hunt.
      
              https://bugs.webkit.org/show_bug.cgi?id=25126
              Allow the buffer underlying UString to be shared.
      
              In order to not grow the underlying size of any structure,
              there is a union in the Rep string which holds
               + m_sharedBuffer -- a pointer to the shared ref counted buffer
                 if the class is BaseString and the buffer is being shared OR
               + m_baseString -- the BaseString if the class is only UString::Rep
                 but not a UString::BaseString
      
              Ideally, m_sharedBuffer would be a RefPtr, but it cannot be because
              it is in a union.
      
              No change in sunspider perf.
      
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * runtime/UString.cpp:
              (JSC::UString::Rep::share):
              (JSC::UString::Rep::destroy):
              (JSC::UString::BaseString::sharedBuffer):
              (JSC::UString::BaseString::setSharedBuffer):
              (JSC::UString::BaseString::slowIsBufferReadOnly):
              (JSC::expandCapacity):
              (JSC::UString::Rep::reserveCapacity):
              (JSC::UString::expandPreCapacity):
              (JSC::concatenate):
              (JSC::UString::append):
              * runtime/UString.h:
              (JSC::UString::Rep::Rep):
              (JSC::UString::Rep::):
              (JSC::UString::BaseString::isShared):
              (JSC::UString::BaseString::isBufferReadOnly):
              (JSC::UString::Rep::baseString):
              * wtf/CrossThreadRefCounted.h:
              (WTF::CrossThreadRefCounted::isShared):
              * wtf/OwnFastMallocPtr.h: Added.
              (WTF::OwnFastMallocPtr::OwnFastMallocPtr):
              (WTF::OwnFastMallocPtr::~OwnFastMallocPtr):
              (WTF::OwnFastMallocPtr::get):
              (WTF::OwnFastMallocPtr::release):
      
      JavaScriptGlue:
      
      2009-05-25  David Levin  <levin@chromium.org>
      
              Reviewed by Maciej Stachowiak and Oliver Hunt.
      
              https://bugs.webkit.org/show_bug.cgi?id=25126
      
              Added forwarding headers.
      
              * ForwardingHeaders/wtf/CrossThreadRefCounted.h: Added.
              * ForwardingHeaders/wtf/OwnFastMallocPtr.h: Added.
      
      WebCore:
      
      2009-05-25  David Levin  <levin@chromium.org>
      
              Reviewed by Maciej Stachowiak and Oliver Hunt.
      
              Added forwarding headers.
      
              * ForwardingHeaders/wtf/CrossThreadRefCounted.h: Added.
              * ForwardingHeaders/wtf/OwnFastMallocPtr.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b34a1489