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. 21 Apr, 2010 1 commit
    • barraclough@apple.com's avatar
      JavaScriptCore: Bug 37906 - Remove JSC::UStringImpl; unify with StringImpl. · 185ce916
      barraclough@apple.com authored
      Reviewed by Oliver Hunt, Darin Adler.
      
      JSC::UStringImpl and WebCore::StringImpl (soon to be renamed to
      WTF::StringImpl) are almost identical.  Remove duplication of code by unifying
      the two, move missing features from UStringImpl into StringImpl & delete the
      class UStringImpl.
      
      * API/JSClassRef.cpp:
      * API/JSContextRef.cpp:
      * GNUmakefile.am:
      * JavaScriptCore.exp:
      * JavaScriptCore.pro:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * bytecode/EvalCodeCache.h:
      * bytecode/JumpTable.cpp:
      * profiler/ProfileNode.cpp:
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      * runtime/Identifier.h:
      (JSC::Identifier::equal):
      * runtime/UString.cpp:
      * runtime/UString.h:
      (WTF::):
      * runtime/UStringImpl.cpp: Removed.
      * runtime/UStringImpl.h:
      * wtf/text/StringHash.h:
      (WebCore::StringHash::equal):
      (WebCore::CaseFoldingHash::equal):
      * wtf/text/StringImpl.cpp:
      (WebCore::StringImpl::~StringImpl):
      (WebCore::StringImpl::empty):
      (WebCore::StringImpl::sharedBuffer):
      (WebCore::equal):
      * wtf/text/StringImpl.h:
      (WebCore::StringImpl::StringImpl):
      (WebCore::StringImpl::create):
      (WebCore::StringImpl::tryCreateUninitialized):
      (WebCore::StringImpl::cost):
      (WebCore::StringImpl::isIdentifier):
      (WebCore::StringImpl::setIsIdentifier):
      (WebCore::StringImpl::computeHash):
      (WebCore::StringImpl::copyChars):
      (WebCore::StringImpl::):
      
      JavaScriptGlue: Bug 37906 - Remove JSC::UStringImpl; unify with StringImpl.
      Add forwarding header.
      
      Reviewed by Oliver Hunt, Darin Adler.
      
      * ForwardingHeaders/wtf/ASCIICType.h: Added.
      * ForwardingHeaders/wtf/text/StringImpl.h: Added.
      
      WebCore: Bug 37906 - Remove JSC::UStringImpl; unify with StringImpl.
      Add include for StringHash.h.
      
      Reviewed by Oliver Hunt, Darin Adler.
      
      * WebCore.xcodeproj/project.pbxproj:
      * bridge/c/c_class.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      185ce916
  4. 06 Nov, 2007 1 commit
  5. 16 Oct, 2007 1 commit
    • darin's avatar
      JavaScriptCore: · eb0d86d6
      darin authored
              Reviewed by Maciej and Geoff (and looked over by Eric).
      
              - http://bugs.webkit.org/show_bug.cgi?id=15519
                eliminate use of <ctype.h> for processing ASCII
      
              * wtf/ASCIICType.h: Added.
              * wtf/DisallowCType.h: Added.
      
              * kjs/config.h: Include DisallowCType.h.
      
              * kjs/date_object.cpp:
              (KJS::skipSpacesAndComments):
              (KJS::findMonth):
              (KJS::parseDate):
              * kjs/function.cpp:
              (KJS::decode):
              * kjs/ustring.cpp:
              (KJS::UString::toDouble):
              Use ASCIICType.h functions instead of ctype.h ones.
      
      WebCore:
      
              Reviewed by Maciej and Geoff (and looked over by Eric).
      
              - http://bugs.webkit.org/show_bug.cgi?id=15519
                eliminate use of <ctype.h> for processing ASCII
      
              * ForwardingHeaders/wtf/ASCIICType.h: Added.
              * ForwardingHeaders/wtf/DisallowCType.h: Added.
      
              * WebCorePrefix.h: Get rid of inclusion of <ctype.h>.
              * config.h: Include DisallowCType.h.
      
              * css/CSSParser.cpp:
              (WebCore::ParseString::lower):
              * css/CSSPrimitiveValue.cpp:
              (WebCore::isCSSTokenizerIdentifier):
              * css/CSSStyleDeclaration.cpp:
              (WebCore::propertyID):
              * html/HTMLSelectElement.cpp:
              (WebCore::stripLeadingWhiteSpace):
              * html/HTMLTokenizer.cpp:
              (WebCore::tagMatch):
              * loader/FTPDirectoryParser.cpp:
              (WebCore::parseOneFTPLine):
              * loader/TextResourceDecoder.cpp:
              (WebCore::TextResourceDecoder::checkForHeadCharset):
              * platform/DeprecatedCString.cpp:
              (WebCore::DeprecatedCString::lower):
              (WebCore::DeprecatedCString::upper):
              (WebCore::DeprecatedCString::find):
              (WebCore::DeprecatedCString::contains):
              * platform/DeprecatedString.cpp:
              (WebCore::equalCaseInsensitive):
              (WebCore::isCharacterAllowedInBase):
              (WebCore::DeprecatedString::find):
              (WebCore::DeprecatedString::contains):
              (WebCore::toIntegralType):
              * platform/DeprecatedString.h:
              (WebCore::DeprecatedChar::isSpace):
              (WebCore::DeprecatedChar::lower):
              (WebCore::DeprecatedChar::upper):
              * platform/KURL.cpp:
              (WebCore::KURL::parse):
              * platform/StringImpl.cpp:
              (WebCore::isSpace):
              (WebCore::StringImpl::containsOnlyWhitespace):
              (WebCore::StringImpl::isLower):
              (WebCore::StringImpl::lower):
              (WebCore::StringImpl::find):
              (WebCore::StringImpl::reverseFind):
              (WebCore::equalIgnoringCase):
              * platform/TextEncodingRegistry.cpp:
              (WebCore::TextEncodingNameHash::equal):
              (WebCore::TextEncodingNameHash::hash):
              (WebCore::atomicCanonicalTextEncodingName):
              * platform/mac/KeyEventMac.mm:
              (WebCore::keyIdentifierForKeyEvent):
              * platform/win/KeyEventWin.cpp:
              (WebCore::keyIdentifierForWindowsKeyCode):
              * platform/win/PopupMenuWin.cpp:
              (WebCore::isASCIIPrintable):
              (WebCore::PopupWndProc):
              * plugins/win/PluginViewWin.cpp:
              (WebCore::capitalizeRFC822HeaderFieldName):
              * rendering/RenderText.cpp:
              (WebCore::RenderText::widthFromCache):
              Use ASCIICType.h functions instead of ctype.h ones.
      
      WebKit:
      
              Reviewed by Maciej and Geoff (and looked over by Eric).
      
              - http://bugs.webkit.org/show_bug.cgi?id=15519
                eliminate use of <ctype.h> for processing ASCII
      
              * ForwardingHeaders/wtf/ASCIICType.h: Added.
              * ForwardingHeaders/wtf/DisallowCType.h: Added.
      
              * WebKitPrefix.h: Include DisallowCType.h.
      
              * Misc/WebNSURLExtras.mm: (-[NSURL _web_URLWithLowercasedScheme]): Use toASCIILower.
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView callWebCoreCommand:]): Use toASCIIUpper.
              (-[WebTextCompleteController filterKeyDown:]): Add a list of specific character codes,
              instead of using ispunct.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb0d86d6