source: webkit/trunk/JavaScriptCore/JavaScriptCore.pro@ 56825

Last change on this file since 56825 was 56825, checked in by [email protected], 15 years ago

Rubber stamped by Sam Weinig.

https://bugs.webkit.org/show_bug.cgi?id=36866
Move CString to WTF

JavaScriptCore:

(WTF::CStringBuffer::data):
(WTF::CStringBuffer::length):
(WTF::CStringBuffer::create):
(WTF::CStringBuffer::CStringBuffer):
(WTF::CStringBuffer::mutableData):
(WTF::CString::CString):
(WTF::CString::isNull):
(WTF::CString::buffer):
(WTF::operator!=):

WebCore:

  • Android.mk:
  • ForwardingHeaders/wtf/text: Added.
  • ForwardingHeaders/wtf/text/CString.h: Added.
  • GNUmakefile.am:
  • WebCore.base.exp:
  • WebCore.gypi:
  • WebCore.order:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
  • bindings/js/JSDOMWindowBase.cpp:
  • bindings/js/ScheduledAction.cpp:
  • bindings/js/ScriptController.cpp:
  • bindings/v8/ScriptController.cpp:
  • bindings/v8/V8Binding.cpp:
  • bindings/v8/V8DOMWindowShell.cpp:
  • bridge/jni/JNIBridge.cpp:
  • bridge/jni/v8/JavaStringV8.h:

(JSC::Bindings::JavaStringImpl::init):

  • css/CSSParser.cpp:
  • dom/CharacterData.cpp:
  • dom/Document.cpp:
  • dom/Element.cpp:
  • dom/Node.cpp:
  • dom/Position.cpp:
  • dom/Range.cpp:
  • dom/Text.cpp:
  • dom/XMLTokenizer.cpp:
  • dom/XMLTokenizerLibxml2.cpp:
  • dom/XMLTokenizerQt.cpp:
  • editing/SelectionController.cpp:
  • editing/VisiblePosition.cpp:
  • editing/VisibleSelection.cpp:
  • history/CachedFrame.cpp:
  • history/HistoryItem.cpp:
  • history/qt/HistoryItemQt.cpp:
  • html/FormDataList.h:

(WebCore::FormDataList::appendData):
(WebCore::FormDataList::Item::Item):
(WebCore::FormDataList::Item::data):

  • html/HTMLDocument.cpp:
  • html/PreloadScanner.cpp:
  • inspector/InspectorController.cpp:
  • inspector/InspectorDOMAgent.cpp:
  • loader/DocLoader.cpp:
  • loader/FTPDirectoryDocument.cpp:
  • loader/FrameLoader.cpp:
  • loader/HistoryController.cpp:
  • loader/ProgressTracker.cpp:
  • loader/appcache/ApplicationCacheStorage.cpp:
  • loader/archive/cf/LegacyWebArchive.cpp:
  • loader/icon/wince/IconDatabaseWince.cpp:
  • loader/loader.cpp:
  • page/Console.cpp:
  • page/DOMWindow.cpp:
  • page/SecurityOrigin.cpp:
  • page/XSSAuditor.cpp:
  • page/animation/AnimationBase.cpp:
  • platform/ContextMenu.cpp:
  • platform/FileSystem.h:
  • platform/KURL.cpp:
  • platform/KURLGoogle.cpp:
  • platform/KURLGooglePrivate.h:
  • platform/Pasteboard.h:
  • platform/android/FileSystemAndroid.cpp:
  • platform/android/TemporaryLinkStubs.cpp:
  • platform/brew/KURLBrew.cpp:
  • platform/cf/FileSystemCF.cpp:
  • platform/chromium/MIMETypeRegistryChromium.cpp:
  • platform/efl/FileSystemEfl.cpp:
  • platform/efl/PasteboardEfl.cpp:
  • platform/efl/PlatformKeyboardEventEfl.cpp:
  • platform/efl/PlatformScreenEfl.cpp:
  • platform/efl/RenderThemeEfl.cpp:
  • platform/efl/ScrollbarEfl.cpp:
  • platform/efl/SharedBufferEfl.cpp:
  • platform/efl/WidgetEfl.cpp:
  • platform/graphics/GlyphPageTreeNode.cpp:
  • platform/graphics/cairo/FontPlatformDataCairo.cpp:
  • platform/graphics/cg/ImageBufferCG.cpp:
  • platform/graphics/chromium/FontCacheLinux.cpp:
  • platform/graphics/chromium/FontPlatformDataLinux.h:
  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
  • platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
  • platform/graphics/gtk/FontPlatformDataPango.cpp:
  • platform/graphics/gtk/IconGtk.cpp:
  • platform/graphics/gtk/ImageGtk.cpp:
  • platform/graphics/haiku/GraphicsContextHaiku.cpp:
  • platform/graphics/mac/GraphicsContext3DMac.cpp:
  • platform/graphics/mac/GraphicsLayerCA.mm:
  • platform/graphics/qt/GraphicsContext3DQt.cpp:
  • platform/graphics/qt/ImageBufferQt.cpp:
  • platform/graphics/qt/MediaPlayerPrivatePhonon.cpp:
  • platform/graphics/qt/MediaPlayerPrivateQt.cpp:
  • platform/graphics/skia/GraphicsLayerSkia.cpp:
  • platform/graphics/win/GraphicsLayerCACF.cpp:
  • platform/graphics/win/WKCACFLayer.cpp:
  • platform/graphics/wx/FontPlatformData.h:
  • platform/gtk/ClipboardGtk.cpp:
  • platform/gtk/ContextMenuItemGtk.cpp:
  • platform/gtk/DataObjectGtk.h:
  • platform/gtk/FileChooserGtk.cpp:
  • platform/gtk/FileSystemGtk.cpp:
  • platform/gtk/GeolocationServiceGtk.cpp:
  • platform/gtk/KURLGtk.cpp:
  • platform/gtk/Language.cpp:
  • platform/gtk/LocalizedStringsGtk.cpp:
  • platform/gtk/PasteboardGtk.cpp:
  • platform/gtk/PopupMenuGtk.cpp:
  • platform/gtk/RenderThemeGtk.cpp:
  • platform/gtk/SharedBufferGtk.cpp:
  • platform/haiku/FileSystemHaiku.cpp:
  • platform/haiku/PlatformKeyboardEventHaiku.cpp:
  • platform/network/CredentialStorage.cpp:
  • platform/network/FormData.cpp:
  • platform/network/FormData.h:
  • platform/network/FormDataBuilder.cpp:
  • platform/network/FormDataBuilder.h:
  • platform/network/HTTPParsers.cpp:
  • platform/network/android/ResourceHandleAndroid.cpp:
  • platform/network/cf/FormDataStreamCFNet.cpp:
  • platform/network/cf/ResourceHandleCFNet.cpp:
  • platform/network/chromium/ResourceResponse.h:
  • platform/network/curl/FormDataStreamCurl.cpp:
  • platform/network/curl/ResourceHandleManager.cpp:
  • platform/network/curl/ResourceHandleManager.h:
  • platform/network/mac/FormDataStreamMac.mm:
  • platform/network/mac/ResourceHandleMac.mm:
  • platform/network/qt/QNetworkReplyHandler.cpp:
  • platform/network/soup/CookieJarSoup.cpp:
  • platform/network/soup/ResourceHandleSoup.cpp:
  • platform/network/soup/ResourceRequestSoup.cpp:
  • platform/network/soup/ResourceResponseSoup.cpp:
  • platform/network/win/ResourceHandleWin.cpp:
  • platform/posix/FileSystemPOSIX.cpp:
  • platform/qt/FileSystemQt.cpp:
  • platform/qt/KURLQt.cpp:
  • platform/qt/TemporaryLinkStubs.cpp:
  • platform/sql/chromium/SQLiteFileSystemChromium.cpp:
  • platform/text/CString.cpp: Removed.
  • platform/text/CString.h: Removed.
  • platform/text/PlatformString.h:
  • platform/text/String.cpp:
  • platform/text/StringImpl.cpp:
  • platform/text/TextCodec.h:
  • platform/text/TextCodecICU.cpp:
  • platform/text/TextCodecLatin1.cpp:
  • platform/text/TextCodecUTF16.cpp:
  • platform/text/TextCodecUserDefined.cpp:
  • platform/text/TextEncoding.cpp:
  • platform/text/TextEncoding.h:
  • platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp:
  • platform/text/gtk/TextCodecGtk.cpp:
  • platform/text/haiku/StringHaiku.cpp:
  • platform/text/mac/TextCodecMac.cpp:
  • platform/text/qt/TextCodecQt.cpp:
  • platform/text/wx/StringWx.cpp:
  • platform/win/ClipboardUtilitiesWin.cpp:
  • platform/win/ClipboardWin.cpp:
  • platform/win/ContextMenuItemWin.cpp:
  • platform/win/ContextMenuWin.cpp:
  • platform/win/FileSystemWin.cpp:
  • platform/win/GDIObjectCounter.cpp:
  • platform/win/Language.cpp:
  • platform/win/PasteboardWin.cpp:
  • platform/wince/FileSystemWince.cpp:
  • platform/wince/KeygenWince.cpp:
  • platform/wince/PasteboardWince.cpp:
  • platform/wx/FileSystemWx.cpp:
  • platform/wx/LoggingWx.cpp:
  • plugins/PluginDebug.h:
  • plugins/PluginPackage.cpp:
  • plugins/PluginStream.cpp:
  • plugins/PluginStream.h:
  • plugins/PluginView.h:
  • plugins/gtk/PluginPackageGtk.cpp:
  • plugins/mac/PluginPackageMac.cpp:
  • plugins/qt/PluginPackageQt.cpp:
  • plugins/symbian/PluginPackageSymbian.cpp:
  • plugins/win/PluginPackageWin.cpp:
  • rendering/RenderLayer.cpp:
  • rendering/RenderLayerCompositor.cpp:
  • rendering/RenderTreeAsText.cpp:
  • storage/Database.cpp:
  • storage/SQLTransactionCoordinator.cpp:
  • storage/SQLTransactionCoordinator.h:
  • storage/StorageAreaSync.cpp:
  • storage/StorageSyncManager.cpp:
  • storage/chromium/DatabaseTrackerChromium.cpp:
  • storage/chromium/QuotaTracker.cpp:
  • storage/chromium/QuotaTracker.h:
  • svg/SVGFontFaceElement.cpp:
  • svg/SVGStyledElement.cpp:
  • svg/SVGUseElement.cpp:
  • websockets/WebSocket.cpp:
  • websockets/WebSocketChannel.cpp:
  • websockets/WebSocketHandshake.cpp:
  • wml/WMLErrorHandling.cpp:
  • wml/WMLGoElement.cpp:
  • wml/WMLPageState.cpp:
  • wml/WMLPostfieldElement.cpp:
  • wml/WMLSelectElement.cpp:
  • xml/XMLHttpRequest.cpp:
  • xml/XSLStyleSheetLibxslt.cpp:
  • xml/XSLTProcessorLibxslt.cpp:

WebKit:

  • efl/WebCoreSupport/ChromeClientEfl.cpp:
  • efl/ewk/ewk_frame.cpp:

(ewk_frame_name_get):
(ewk_frame_selection_get):
(ewk_frame_uri_changed):

  • efl/ewk/ewk_history.cpp:
  • efl/ewk/ewk_settings.cpp:

WebKit/chromium:

  • public/WebCString.h:
  • src/FrameLoaderClientImpl.cpp:
  • src/GraphicsContext3D.cpp:
  • src/WebCString.cpp:

(WebKit::WebCString::assign):
(WebKit::WebCString::WebCString):
(WebKit::WebCString::operator=):
(WebKit::WebCString::operator WTF::CString):

  • src/WebMediaPlayerClientImpl.cpp:
  • src/WebString.cpp:
  • src/WebURLError.cpp:

WebKit/gtk:

  • WebCoreSupport/ChromeClientGtk.cpp:
  • WebCoreSupport/ContextMenuClientGtk.cpp:
  • WebCoreSupport/EditorClientGtk.cpp:
  • WebCoreSupport/FrameLoaderClientGtk.cpp:
  • WebCoreSupport/InspectorClientGtk.cpp:
  • gdom/ConvertToGCharPrivate.h:
  • webkit/webkitdownload.cpp:
  • webkit/webkithittestresult.cpp:
  • webkit/webkitnetworkrequest.cpp:
  • webkit/webkitprivate.h:
  • webkit/webkitsecurityorigin.cpp:
  • webkit/webkitwebdatabase.cpp:
  • webkit/webkitwebframe.cpp:
  • webkit/webkitwebhistoryitem.cpp:

(webkit_web_history_item_finalize):
(webkit_web_history_item_get_target):

  • webkit/webkitwebresource.cpp:
  • webkit/webkitwebsettings.cpp:
  • webkit/webkitwebview.cpp:

WebKit/mac:

  • Plugins/Hosted/NetscapePluginInstanceProxy.mm:

(WebKit::NetscapePluginInstanceProxy::getCookies):
(WebKit::NetscapePluginInstanceProxy::getProxy):
(WebKit::NetscapePluginInstanceProxy::getAuthenticationInfo):
(WebKit::NetscapePluginInstanceProxy::resolveURL):

  • Plugins/WebBaseNetscapePluginView.h:
  • Plugins/WebBaseNetscapePluginView.mm:
  • Plugins/WebNetscapePluginView.mm:

(-[WebNetscapePluginView resolveURL:forTarget:]):

WebKit/qt:

  • Api/qwebelement.cpp:

WebKit/win:

  • WebDownload.cpp:
  • WebDownloadCFNet.cpp:
  • WebDownloadCurl.cpp:
  • WebHistoryItem.cpp:
  • WebLocalizableStrings.cpp:
  • WebMutableURLRequest.cpp:
  • WebPreferences.cpp:

(WebPreferences::migrateWebKitPreferencesToCFPreferences):

  • WebView.cpp:

WebKit/wx:

  • WebFrame.cpp:
  • WebView.cpp:
File size: 6.3 KB
Line 
1# JavaScriptCore - qmake build info
2CONFIG += building-libs
3include($$PWD/../WebKit.pri)
4include(JavaScriptCore.pri)
5
6TEMPLATE = lib
7CONFIG += staticlib
8# Don't use JavaScriptCore as the target name. qmake would create a JavaScriptCore.vcproj for msvc
9# which already exists as a directory
10TARGET = $$JAVASCRIPTCORE_TARGET
11QT += core
12
13CONFIG += depend_includepath
14
15contains(QT_CONFIG, embedded):CONFIG += embedded
16
17CONFIG(debug_and_release):CONFIG(debug, debug|release): DESTDIR = debug
18CONFIG(debug_and_release):CONFIG(release, debug|release): DESTDIR = release
19
20!CONFIG(QTDIR_build) {
21 CONFIG(debug, debug|release) {
22 OBJECTS_DIR = obj/debug
23 } else { # Release
24 OBJECTS_DIR = obj/release
25 }
26}
27
28CONFIG(QTDIR_build) {
29 # Remove the following 2 lines if you want debug information in JavaScriptCore
30 CONFIG -= separate_debug_info
31 CONFIG += no_debug_info
32}
33
34# Pick up 3rdparty libraries from INCLUDE/LIB just like with MSVC
35win32-g++ {
36 TMPPATH = $$quote($$(INCLUDE))
37 QMAKE_INCDIR_POST += $$split(TMPPATH,";")
38 TMPPATH = $$quote($$(LIB))
39 QMAKE_LIBDIR_POST += $$split(TMPPATH,";")
40}
41
42*-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
43*-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
44
45# Rules when JIT enabled (not disabled)
46!contains(DEFINES, ENABLE_JIT=0) {
47 linux*-g++*:greaterThan(QT_GCC_MAJOR_VERSION,3):greaterThan(QT_GCC_MINOR_VERSION,0) {
48 QMAKE_CXXFLAGS += -fno-stack-protector
49 QMAKE_CFLAGS += -fno-stack-protector
50 }
51}
52
53wince* {
54 SOURCES += $$QT_SOURCE_TREE/src/3rdparty/ce-compat/ce_time.c
55}
56
57include(pcre/pcre.pri)
58
59SOURCES += \
60 API/JSBase.cpp \
61 API/JSCallbackConstructor.cpp \
62 API/JSCallbackFunction.cpp \
63 API/JSCallbackObject.cpp \
64 API/JSClassRef.cpp \
65 API/JSContextRef.cpp \
66 API/JSObjectRef.cpp \
67 API/JSStringRef.cpp \
68 API/JSValueRef.cpp \
69 API/OpaqueJSString.cpp \
70 assembler/ARMAssembler.cpp \
71 assembler/MacroAssemblerARM.cpp \
72 bytecode/CodeBlock.cpp \
73 bytecode/JumpTable.cpp \
74 bytecode/Opcode.cpp \
75 bytecode/SamplingTool.cpp \
76 bytecode/StructureStubInfo.cpp \
77 bytecompiler/BytecodeGenerator.cpp \
78 bytecompiler/NodesCodegen.cpp \
79 debugger/DebuggerActivation.cpp \
80 debugger/DebuggerCallFrame.cpp \
81 debugger/Debugger.cpp \
82 interpreter/CallFrame.cpp \
83 interpreter/Interpreter.cpp \
84 interpreter/RegisterFile.cpp \
85 jit/ExecutableAllocatorFixedVMPool.cpp \
86 jit/ExecutableAllocatorPosix.cpp \
87 jit/ExecutableAllocatorSymbian.cpp \
88 jit/ExecutableAllocatorWin.cpp \
89 jit/ExecutableAllocator.cpp \
90 jit/JITArithmetic.cpp \
91 jit/JITCall.cpp \
92 jit/JIT.cpp \
93 jit/JITOpcodes.cpp \
94 jit/JITPropertyAccess.cpp \
95 jit/JITPropertyAccess32_64.cpp \
96 jit/JITStubs.cpp \
97 parser/Lexer.cpp \
98 parser/Nodes.cpp \
99 parser/ParserArena.cpp \
100 parser/Parser.cpp \
101 profiler/Profile.cpp \
102 profiler/ProfileGenerator.cpp \
103 profiler/ProfileNode.cpp \
104 profiler/Profiler.cpp \
105 runtime/ArgList.cpp \
106 runtime/Arguments.cpp \
107 runtime/ArrayConstructor.cpp \
108 runtime/ArrayPrototype.cpp \
109 runtime/BooleanConstructor.cpp \
110 runtime/BooleanObject.cpp \
111 runtime/BooleanPrototype.cpp \
112 runtime/CallData.cpp \
113 runtime/Collector.cpp \
114 runtime/CommonIdentifiers.cpp \
115 runtime/Completion.cpp \
116 runtime/ConstructData.cpp \
117 runtime/DateConstructor.cpp \
118 runtime/DateConversion.cpp \
119 runtime/DateInstance.cpp \
120 runtime/DatePrototype.cpp \
121 runtime/ErrorConstructor.cpp \
122 runtime/Error.cpp \
123 runtime/ErrorInstance.cpp \
124 runtime/ErrorPrototype.cpp \
125 runtime/ExceptionHelpers.cpp \
126 runtime/Executable.cpp \
127 runtime/FunctionConstructor.cpp \
128 runtime/FunctionPrototype.cpp \
129 runtime/GetterSetter.cpp \
130 runtime/GlobalEvalFunction.cpp \
131 runtime/Identifier.cpp \
132 runtime/InitializeThreading.cpp \
133 runtime/InternalFunction.cpp \
134 runtime/JSActivation.cpp \
135 runtime/JSAPIValueWrapper.cpp \
136 runtime/JSArray.cpp \
137 runtime/JSByteArray.cpp \
138 runtime/JSCell.cpp \
139 runtime/JSFunction.cpp \
140 runtime/JSGlobalData.cpp \
141 runtime/JSGlobalObject.cpp \
142 runtime/JSGlobalObjectFunctions.cpp \
143 runtime/JSImmediate.cpp \
144 runtime/JSLock.cpp \
145 runtime/JSNotAnObject.cpp \
146 runtime/JSNumberCell.cpp \
147 runtime/JSObject.cpp \
148 runtime/JSONObject.cpp \
149 runtime/JSPropertyNameIterator.cpp \
150 runtime/JSStaticScopeObject.cpp \
151 runtime/JSString.cpp \
152 runtime/JSValue.cpp \
153 runtime/JSVariableObject.cpp \
154 runtime/JSWrapperObject.cpp \
155 runtime/LiteralParser.cpp \
156 runtime/Lookup.cpp \
157 runtime/MarkStackPosix.cpp \
158 runtime/MarkStackSymbian.cpp \
159 runtime/MarkStackWin.cpp \
160 runtime/MarkStack.cpp \
161 runtime/MathObject.cpp \
162 runtime/NativeErrorConstructor.cpp \
163 runtime/NativeErrorPrototype.cpp \
164 runtime/NumberConstructor.cpp \
165 runtime/NumberObject.cpp \
166 runtime/NumberPrototype.cpp \
167 runtime/ObjectConstructor.cpp \
168 runtime/ObjectPrototype.cpp \
169 runtime/Operations.cpp \
170 runtime/PropertyDescriptor.cpp \
171 runtime/PropertyNameArray.cpp \
172 runtime/PropertySlot.cpp \
173 runtime/PrototypeFunction.cpp \
174 runtime/RegExpConstructor.cpp \
175 runtime/RegExp.cpp \
176 runtime/RegExpObject.cpp \
177 runtime/RegExpPrototype.cpp \
178 runtime/ScopeChain.cpp \
179 runtime/SmallStrings.cpp \
180 runtime/StringConstructor.cpp \
181 runtime/StringObject.cpp \
182 runtime/StringPrototype.cpp \
183 runtime/StructureChain.cpp \
184 runtime/Structure.cpp \
185 runtime/TimeoutChecker.cpp \
186 runtime/UString.cpp \
187 runtime/UStringImpl.cpp \
188 wtf/Assertions.cpp \
189 wtf/ByteArray.cpp \
190 wtf/CurrentTime.cpp \
191 wtf/DateMath.cpp \
192 wtf/dtoa.cpp \
193 wtf/FastMalloc.cpp \
194 wtf/HashTable.cpp \
195 wtf/MainThread.cpp \
196 wtf/qt/MainThreadQt.cpp \
197 wtf/qt/ThreadingQt.cpp \
198 wtf/RandomNumber.cpp \
199 wtf/RefCountedLeakCounter.cpp \
200 wtf/symbian/BlockAllocatorSymbian.cpp \
201 wtf/ThreadingNone.cpp \
202 wtf/Threading.cpp \
203 wtf/TypeTraits.cpp \
204 wtf/text/CString.cpp \
205 wtf/unicode/CollatorDefault.cpp \
206 wtf/unicode/icu/CollatorICU.cpp \
207 wtf/unicode/UTF8.cpp \
208 yarr/RegexCompiler.cpp \
209 yarr/RegexInterpreter.cpp \
210 yarr/RegexJIT.cpp
211
212# Generated files, simply list them for JavaScriptCore
213SOURCES += \
214 $${JSC_GENERATED_SOURCES_DIR}/Grammar.cpp
215
216!contains(DEFINES, USE_SYSTEM_MALLOC) {
217 SOURCES += wtf/TCSystemAlloc.cpp
218}
Note: See TracBrowser for help on using the repository browser.