Ignore:
Timestamp:
Apr 20, 2010, 12:28:41 PM (15 years ago)
Author:
[email protected]
Message:

Bug 37828 - Move WebCore's String classes to WTF

Reviewed by Geoff Garen.

Move these classes up to WTF so they are available to all clients of WTF (in
particular JSC).

As a first patch, making the most minimal change possible, since this patch
could easily grow rather large since we'll have to change every class forward
declaration ( e.g. every "namespace WebCore { class String; }" much change to
"namespace WTF { class String; }").

JavaScriptCore:

Moving the files, but leaving the classes logically in the WebCore namespace -
which is technically a layering violation - I'll come back and fix this up in a
subsequent patch.

  • Android.mk:
  • Android.v8.wtf.mk:
  • GNUmakefile.am:
  • JavaScriptCore.exp:
  • JavaScriptCore.gypi:
  • JavaScriptCore.pro:
  • JavaScriptCore.vcproj/WTF/WTF.vcproj:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • config.h:
  • wtf/StaticConstructors.h: Copied from WebCore/platform/StaticConstructors.h.
  • wtf/text/AtomicString.cpp: Copied from WebCore/platform/text/AtomicString.cpp.
  • wtf/text/AtomicString.h: Copied from WebCore/platform/text/AtomicString.h.
  • wtf/text/AtomicStringImpl.h: Copied from WebCore/platform/text/AtomicStringImpl.h.
  • wtf/text/StringBuffer.h: Copied from WebCore/platform/text/StringBuffer.h.
  • wtf/text/StringHash.h: Copied from WebCore/platform/text/StringHash.h.
  • wtf/text/StringImpl.cpp: Copied from WebCore/platform/text/StringImpl.cpp.
  • wtf/text/StringImpl.h: Copied from WebCore/platform/text/StringImpl.h.
  • wtf/text/WTFString.cpp: Copied from WebCore/platform/text/String.cpp.

(WebCore::charactersToFloat):

  • wtf/text/WTFString.h: Copied from WebCore/platform/text/PlatformString.h.

WebCore:

Moving the files, but leaving the classes logically in the WebCore namespace –
which is technically a layering violation – I'll come back and fix this up in a
subsequent patch.

  • Android.mk:
  • ForwardingHeaders/wtf/StaticConstructors.h: Added.
  • ForwardingHeaders/wtf/text/AtomicString.h: Added.
  • ForwardingHeaders/wtf/text/AtomicStringImpl.h: Added.
  • ForwardingHeaders/wtf/text/StringBuffer.h: Added.
  • ForwardingHeaders/wtf/text/StringHash.h: Added.
  • ForwardingHeaders/wtf/text/StringImpl.h: Added.
  • ForwardingHeaders/wtf/text/WTFString.h: Added.
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • css/MediaFeatureNames.cpp:
  • dom/QualifiedName.cpp:
  • dom/make_names.pl:
  • platform/StaticConstructors.h: Removed.
  • platform/text/AtomicString.cpp: Removed.
  • platform/text/AtomicString.h:
  • platform/text/AtomicStringImpl.h:
  • platform/text/PlatformString.h:
  • platform/text/String.cpp:
  • platform/text/StringHash.h:
  • platform/text/StringImpl.cpp: Removed.
  • platform/text/StringImpl.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r57879 r57904  
    372372__ZN3WTF9dayInYearEdi
    373373__ZN3WTFeqERKNS_7CStringES2_
     374__ZN7WebCore10StringImpl11reverseFindEPS0_ib
     375__ZN7WebCore10StringImpl11reverseFindEti
     376__ZN7WebCore10StringImpl12sharedBufferEv
     377__ZN7WebCore10StringImpl18simplifyWhiteSpaceEv
     378__ZN7WebCore10StringImpl19characterStartingAtEj
     379__ZN7WebCore10StringImpl19createUninitializedEjRPt
     380__ZN7WebCore10StringImpl22containsOnlyWhitespaceEv
     381__ZN7WebCore10StringImpl23defaultWritingDirectionEv
     382__ZN7WebCore10StringImpl37createStrippingNullCharactersSlowCaseEPKtj
     383__ZN7WebCore10StringImpl4findEPFbtEi
     384__ZN7WebCore10StringImpl4findEPKcib
     385__ZN7WebCore10StringImpl4findEPS0_ib
     386__ZN7WebCore10StringImpl4findEti
     387__ZN7WebCore10StringImpl5adoptERNS_12StringBufferE
     388__ZN7WebCore10StringImpl5emptyEv
     389__ZN7WebCore10StringImpl5lowerEv
     390__ZN7WebCore10StringImpl5toIntEPb
     391__ZN7WebCore10StringImpl5upperEv
     392__ZN7WebCore10StringImpl6createEPKc
     393__ZN7WebCore10StringImpl6createEPKtj
     394__ZN7WebCore10StringImpl6createEPKtjN3WTF10PassRefPtrINS3_21CrossThreadRefCountedINS3_16OwnFastMallocPtrIS1_EEEEEE
     395__ZN7WebCore10StringImpl6secureEt
     396__ZN7WebCore10StringImpl7replaceEPS0_S1_
     397__ZN7WebCore10StringImpl7replaceEjjPS0_
     398__ZN7WebCore10StringImpl7replaceEtPS0_
     399__ZN7WebCore10StringImpl7replaceEtt
     400__ZN7WebCore10StringImpl8endsWithEPS0_b
     401__ZN7WebCore10StringImpl9substringEjj
     402__ZN7WebCore10StringImplD1Ev
     403__ZN7WebCore11commentAtomE
     404__ZN7WebCore12AtomicString3addEPKc
     405__ZN7WebCore12AtomicString3addEPKt
     406__ZN7WebCore12AtomicString3addEPKtj
     407__ZN7WebCore12AtomicString3addEPKtjj
     408__ZN7WebCore12AtomicString3addEPNS_10StringImplE
     409__ZN7WebCore12AtomicString4findEPKtjj
     410__ZN7WebCore12AtomicString4initEv
     411__ZN7WebCore15charactersToIntEPKtmPb
     412__ZN7WebCore17charactersToFloatEPKtmPb
     413__ZN7WebCore17equalIgnoringCaseEPKtPKcj
     414__ZN7WebCore17equalIgnoringCaseEPNS_10StringImplEPKc
     415__ZN7WebCore17equalIgnoringCaseEPNS_10StringImplES1_
     416__ZN7WebCore18charactersToDoubleEPKtmPb
     417__ZN7WebCore20equalIgnoringNullityEPNS_10StringImplES1_
     418__ZN7WebCore21charactersToIntStrictEPKtmPbi
     419__ZN7WebCore22charactersToUIntStrictEPKtmPbi
     420__ZN7WebCore5equalEPNS_10StringImplEPKc
     421__ZN7WebCore5equalEPNS_10StringImplES1_
     422__ZN7WebCore6String26fromUTF8WithLatin1FallbackEPKcm
     423__ZN7WebCore6String29charactersWithNullTerminationEv
     424__ZN7WebCore6String6appendEPKtj
     425__ZN7WebCore6String6appendERKS0_
     426__ZN7WebCore6String6appendEc
     427__ZN7WebCore6String6appendEt
     428__ZN7WebCore6String6formatEPKcz
     429__ZN7WebCore6String6insertERKS0_j
     430__ZN7WebCore6String6numberEd
     431__ZN7WebCore6String6numberEi
     432__ZN7WebCore6String6numberEj
     433__ZN7WebCore6String6numberEl
     434__ZN7WebCore6String6numberEm
     435__ZN7WebCore6String6numberEt
     436__ZN7WebCore6String6numberEx
     437__ZN7WebCore6String6numberEy
     438__ZN7WebCore6String6removeEji
     439__ZN7WebCore6String8fromUTF8EPKc
     440__ZN7WebCore6String8fromUTF8EPKcm
     441__ZN7WebCore6String8truncateEj
     442__ZN7WebCore6StringC1EPKc
     443__ZN7WebCore6StringC1EPKcj
     444__ZN7WebCore6StringC1EPKt
     445__ZN7WebCore6StringC1EPKtj
     446__ZN7WebCore7xmlAtomE
     447__ZN7WebCore8nullAtomE
     448__ZN7WebCore8starAtomE
     449__ZN7WebCore8textAtomE
     450__ZN7WebCore9emptyAtomE
     451__ZN7WebCore9xmlnsAtomE
     452__ZN7WebCoreeqERKNS_12AtomicStringEPKc
     453__ZN7WebCoreplEPKcRKNS_6StringE
     454__ZN7WebCoreplERKNS_6StringEPKc
     455__ZN7WebCoreplERKNS_6StringES2_
    374456__ZNK3JSC10JSFunction23isHostFunctionNonInlineEv
    375457__ZNK3JSC11Interpreter14retrieveCallerEPNS_9ExecStateEPNS_16InternalFunctionE
     
    432514__ZNK3WTF7CString6lengthEv
    433515__ZNK3WTF8Collator7collateEPKtmS2_m
     516__ZNK7WebCore12AtomicString5lowerEv
     517__ZNK7WebCore6String10charactersEv
     518__ZNK7WebCore6String11toIntStrictEPbi
     519__ZNK7WebCore6String12toUIntStrictEPbi
     520__ZNK7WebCore6String14threadsafeCopyEv
     521__ZNK7WebCore6String15stripWhiteSpaceEv
     522__ZNK7WebCore6String16removeCharactersEPFbtE
     523__ZNK7WebCore6String17crossThreadStringEv
     524__ZNK7WebCore6String18simplifyWhiteSpaceEv
     525__ZNK7WebCore6String19characterStartingAtEj
     526__ZNK7WebCore6String4utf8Ev
     527__ZNK7WebCore6String5asciiEv
     528__ZNK7WebCore6String5lowerEv
     529__ZNK7WebCore6String5splitERKS0_RN3WTF6VectorIS0_Lm0EEE
     530__ZNK7WebCore6String5splitERKS0_bRN3WTF6VectorIS0_Lm0EEE
     531__ZNK7WebCore6String5splitEtRN3WTF6VectorIS0_Lm0EEE
     532__ZNK7WebCore6String5splitEtbRN3WTF6VectorIS0_Lm0EEE
     533__ZNK7WebCore6String5toIntEPb
     534__ZNK7WebCore6String5upperEv
     535__ZNK7WebCore6String6latin1Ev
     536__ZNK7WebCore6String6lengthEv
     537__ZNK7WebCore6String6toUIntEPb
     538__ZNK7WebCore6String7isEmptyEv
     539__ZNK7WebCore6String7toFloatEPb
     540__ZNK7WebCore6String8foldCaseEv
     541__ZNK7WebCore6String8toDoubleEPb
     542__ZNK7WebCore6String8toIntPtrEPb
     543__ZNK7WebCore6String8toUInt64EPb
     544__ZNK7WebCore6String9substringEjj
     545__ZNK7WebCore6StringixEj
    434546__ZTVN3JSC12StringObjectE
    435547__ZTVN3JSC14JSGlobalObjectE
Note: See TracChangeset for help on using the changeset viewer.