Move CF/Mac WTF String implementations down into WTF
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Nov 2013 01:22:42 +0000 (01:22 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Nov 2013 01:22:42 +0000 (01:22 +0000)
commitb3a2879e3dbd197e97b33128eb6dd95e72e9832d
tree503732a5449d14d0a0a3d570d7a540258cf789ff
parent7dbf10c81de25bd00f59c6a8961faddb0a3fd8a5
Move CF/Mac WTF String implementations down into WTF
https://bugs.webkit.org/show_bug.cgi?id=123635

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-11-01
Reviewed by Sam Weinig.

Source/WebCore:

* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:

Source/WTF:

* WTF.vcxproj/WTF.vcxproj:
* WTF.vcxproj/WTF.vcxproj.filters:
* WTF.xcodeproj/project.pbxproj:
* wtf/text/AtomicString.h:
* wtf/text/StringImpl.h:
* wtf/text/WTFString.h:
* wtf/text/cf/AtomicStringCF.cpp: Renamed from Source/WebCore/platform/text/cf/AtomicStringCF.cpp.
(WTF::AtomicString::add):
* wtf/text/cf/StringCF.cpp: Renamed from Source/WebCore/platform/text/cf/StringCF.cpp.
(WTF::String::String):
(WTF::String::createCFString):
* wtf/text/cf/StringImplCF.cpp: Renamed from Source/WebCore/platform/text/cf/StringImplCF.cpp.
(garbageCollectionEnabled):
(WTF::StringWrapperCFAllocator::retain):
(WTF::StringWrapperCFAllocator::release):
(WTF::StringWrapperCFAllocator::copyDescription):
(WTF::StringWrapperCFAllocator::allocate):
(WTF::StringWrapperCFAllocator::reallocate):
(WTF::StringWrapperCFAllocator::deallocateOnMainThread):
(WTF::StringWrapperCFAllocator::deallocate):
(WTF::StringWrapperCFAllocator::preferredSize):
(WTF::StringWrapperCFAllocator::create):
(WTF::StringWrapperCFAllocator::allocator):
(WTF::StringImpl::createCFString):
* wtf/text/mac/StringImplMac.mm: Renamed from Source/WebCore/platform/text/mac/StringImplMac.mm.
(WTF::StringImpl::operator NSString *):
* wtf/text/mac/StringMac.mm: Renamed from Source/WebCore/platform/text/mac/StringMac.mm.
(WTF::String::String):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
Source/WTF/ChangeLog
Source/WTF/WTF.vcxproj/WTF.vcxproj
Source/WTF/WTF.vcxproj/WTF.vcxproj.filters
Source/WTF/WTF.xcodeproj/project.pbxproj
Source/WTF/wtf/text/AtomicString.h
Source/WTF/wtf/text/StringImpl.h
Source/WTF/wtf/text/WTFString.h
Source/WTF/wtf/text/cf/AtomicStringCF.cpp [moved from Source/WebCore/platform/text/cf/AtomicStringCF.cpp with 97% similarity]
Source/WTF/wtf/text/cf/StringCF.cpp [moved from Source/WebCore/platform/text/cf/StringCF.cpp with 96% similarity]
Source/WTF/wtf/text/cf/StringImplCF.cpp [moved from Source/WebCore/platform/text/cf/StringImplCF.cpp with 97% similarity]
Source/WTF/wtf/text/mac/StringImplMac.mm [moved from Source/WebCore/platform/text/mac/StringImplMac.mm with 91% similarity]
Source/WTF/wtf/text/mac/StringMac.mm [moved from Source/WebCore/platform/text/mac/StringMac.mm with 96% similarity]
Source/WebCore/ChangeLog
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
Source/WebCore/WebCore.xcodeproj/project.pbxproj