Commit 3979f2d4 authored by eric@webkit.org's avatar eric@webkit.org

Make WTF public headers use fully-qualified include paths and remove ForwardingHeaders/wtf

https://bugs.webkit.org/show_bug.cgi?id=80363

Reviewed by Mark Rowe.

Source/JavaScriptCore:

Historically WTF has been part of JavaScriptCore, and on Mac and Windows
its headers have appeared as part of the "private" headers exported by
JavaScriptCore.  All of the WTF headers there are "flattened" into a single
private headers directory, and WebCore, WebKit and WebKit2 have used "ForwardingHeaders"
to re-map fully-qualified <wtf/text/Foo.h> includes to simple <JavaScriptCore/Foo.h> includes.

However, very soon, we are moving the WTF source code out of JavaScriptCore into its
own directory and project.  As part of such, the WTF headers will no longer be part of
the JavaScriptCore private interfaces.
In preparation for that, this change makes both the Mac and Win builds export
WTF headers in a non-flattened manner.  On Mac, that means into usr/local/include/wtf
(and subdirectories), on Windows for now that means JavaScriptCore/wtf (and subdirectories).

There are 5 parts to this change.
1.  Updates the JavaScriptCore XCode and VCProj files to actually install these headers
    (and header directories) into the appropriate places in the build directory.
2.  Updates JavaScriptCore.xcodeproj to look for these WTF headers in this install location
    (WebCore, WebKit, etc. had already been taught to look in previous patches).
3.  Fixes all JavaScriptCore source files, and WTF headers to include WTF headers
    using fully qualified paths.
4.  Stops the Mac and Win builds from installing these WTF headers in their old "flattened" location.
5.  Removes WebCore and WebKit ForwardingHeaders/wtf directories now that the flattened headers no longer exist.

Unfortunately we see no way to do this change in smaller parts, since all of these steps are interdependant.
It is possible there are internal Apple projects which depend on JavaScriptCore/Foo.h working for WTF
headers, those will have to be updated to use <wtf/Foo.h> after this change.
I've discussed this proposed change at length with Mark Rowe, and my understanding is they
are ready for (and interested in) this change happening.

* API/tests/JSNode.c:
* API/tests/JSNodeList.c:
* Configurations/Base.xcconfig:
* JavaScriptCore.vcproj/JavaScriptCore/copy-files.cmd:
* JavaScriptCore.xcodeproj/project.pbxproj:
* assembler/MacroAssemblerCodeRef.h:
* bytecompiler/BytecodeGenerator.h:
* dfg/DFGOperations.cpp:
* heap/GCAssertions.h:
* heap/HandleHeap.h:
* heap/HandleStack.h:
* heap/MarkedSpace.h:
* heap/PassWeak.h:
* heap/Strong.h:
* heap/Weak.h:
* jit/HostCallReturnValue.cpp:
* jit/JIT.cpp:
* jit/JITStubs.cpp:
* jit/ThunkGenerators.cpp:
* parser/Lexer.cpp:
* runtime/Completion.cpp:
* runtime/Executable.cpp:
* runtime/Identifier.h:
* runtime/InitializeThreading.cpp:
* runtime/JSDateMath.cpp:
* runtime/JSGlobalObjectFunctions.cpp:
* runtime/JSStringBuilder.h:
* runtime/JSVariableObject.h:
* runtime/NumberPrototype.cpp:
* runtime/WriteBarrier.h:
* tools/CodeProfile.cpp:
* tools/TieredMMapArray.h:
* wtf/AVLTree.h:
* wtf/Alignment.h:
* wtf/AlwaysInline.h:
* wtf/ArrayBufferView.h:
* wtf/Assertions.h:
* wtf/Atomics.h:
* wtf/Bitmap.h:
* wtf/BoundsCheckedPointer.h:
* wtf/CheckedArithmetic.h:
* wtf/Deque.h:
* wtf/ExportMacros.h:
* wtf/FastAllocBase.h:
* wtf/FastMalloc.h:
* wtf/Float32Array.h:
* wtf/Float64Array.h:
* wtf/Functional.h:
* wtf/HashCountedSet.h:
* wtf/HashFunctions.h:
* wtf/HashMap.h:
* wtf/HashSet.h:
* wtf/HashTable.h:
* wtf/HashTraits.h:
* wtf/Int16Array.h:
* wtf/Int32Array.h:
* wtf/Int8Array.h:
* wtf/IntegralTypedArrayBase.h:
* wtf/ListHashSet.h:
* wtf/MainThread.h:
* wtf/MetaAllocator.h:
* wtf/Noncopyable.h:
* wtf/OwnArrayPtr.h:
* wtf/OwnPtr.h:
* wtf/PackedIntVector.h:
* wtf/ParallelJobs.h:
* wtf/PassOwnArrayPtr.h:
* wtf/PassOwnPtr.h:
* wtf/PassRefPtr.h:
* wtf/PassTraits.h:
* wtf/Platform.h:
* wtf/PossiblyNull.h:
* wtf/RefCounted.h:
* wtf/RefCountedLeakCounter.h:
* wtf/RefPtr.h:
* wtf/RetainPtr.h:
* wtf/SimpleStats.h:
* wtf/Spectrum.h:
* wtf/StdLibExtras.h:
* wtf/TCPageMap.h:
* wtf/TemporaryChange.h:
* wtf/ThreadSafeRefCounted.h:
* wtf/Threading.h:
* wtf/ThreadingPrimitives.h:
* wtf/TypeTraits.h:
* wtf/TypedArrayBase.h:
* wtf/Uint16Array.h:
* wtf/Uint32Array.h:
* wtf/Uint8Array.h:
* wtf/Uint8ClampedArray.h:
* wtf/UnusedParam.h:
* wtf/Vector.h:
* wtf/VectorTraits.h:
* wtf/dtoa/double-conversion.h:
* wtf/dtoa/utils.h:
* wtf/gobject/GRefPtr.h:
* wtf/gobject/GlibUtilities.h:
* wtf/text/AtomicString.h:
* wtf/text/AtomicStringImpl.h:
* wtf/text/CString.h:
* wtf/text/StringConcatenate.h:
* wtf/text/StringHash.h:
* wtf/text/WTFString.h:
* wtf/unicode/CharacterNames.h:
* wtf/unicode/UTF8.h:
* wtf/unicode/glib/UnicodeGLib.h:
* wtf/unicode/qt4/UnicodeQt4.h:
* wtf/unicode/wince/UnicodeWinCE.h:
* wtf/url/api/ParsedURL.h:
* wtf/url/api/URLString.h:
* wtf/wince/FastMallocWinCE.h:
* yarr/YarrJIT.cpp:

Source/WebCore:

ForwardingHeaders/wtf is no longer needed (or functional) now that
JavaScriptCore no longer includes the WTF headers as private headers.

* DerivedSources.make:
* ForwardingHeaders/wtf/ASCIICType.h: Removed.
* ForwardingHeaders/wtf/AVLTree.h: Removed.
* ForwardingHeaders/wtf/Alignment.h: Removed.
* ForwardingHeaders/wtf/AlwaysInline.h: Removed.
* ForwardingHeaders/wtf/ArrayBuffer.h: Removed.
* ForwardingHeaders/wtf/ArrayBufferView.h: Removed.
* ForwardingHeaders/wtf/Assertions.h: Removed.
* ForwardingHeaders/wtf/Atomics.h: Removed.
* ForwardingHeaders/wtf/Bitmap.h: Removed.
* ForwardingHeaders/wtf/BloomFilter.h: Removed.
* ForwardingHeaders/wtf/BumpPointerAllocator.h: Removed.
* ForwardingHeaders/wtf/ByteArray.h: Removed.
* ForwardingHeaders/wtf/CheckedArithmetic.h: Removed.
* ForwardingHeaders/wtf/CheckedBoolean.h: Removed.
* ForwardingHeaders/wtf/Compiler.h: Removed.
* ForwardingHeaders/wtf/Complex.h: Removed.
* ForwardingHeaders/wtf/CryptographicallyRandomNumber.h: Removed.
* ForwardingHeaders/wtf/CurrentTime.h: Removed.
* ForwardingHeaders/wtf/DataLog.h: Removed.
* ForwardingHeaders/wtf/DateInstanceCache.h: Removed.
* ForwardingHeaders/wtf/DateMath.h: Removed.
* ForwardingHeaders/wtf/DecimalNumber.h: Removed.
* ForwardingHeaders/wtf/Decoder.h: Removed.
* ForwardingHeaders/wtf/Deque.h: Removed.
* ForwardingHeaders/wtf/DisallowCType.h: Removed.
* ForwardingHeaders/wtf/DoublyLinkedList.h: Removed.
* ForwardingHeaders/wtf/DynamicAnnotations.h: Removed.
* ForwardingHeaders/wtf/Encoder.h: Removed.
* ForwardingHeaders/wtf/ExportMacros.h: Removed.
* ForwardingHeaders/wtf/FastAllocBase.h: Removed.
* ForwardingHeaders/wtf/FastMalloc.h: Removed.
* ForwardingHeaders/wtf/FixedArray.h: Removed.
* ForwardingHeaders/wtf/Float32Array.h: Removed.
* ForwardingHeaders/wtf/Float64Array.h: Removed.
* ForwardingHeaders/wtf/Forward.h: Removed.
* ForwardingHeaders/wtf/Functional.h: Removed.
* ForwardingHeaders/wtf/GetPtr.h: Removed.
* ForwardingHeaders/wtf/HashCountedSet.h: Removed.
* ForwardingHeaders/wtf/HashFunctions.h: Removed.
* ForwardingHeaders/wtf/HashMap.h: Removed.
* ForwardingHeaders/wtf/HashSet.h: Removed.
* ForwardingHeaders/wtf/HashTable.h: Removed.
* ForwardingHeaders/wtf/HashTraits.h: Removed.
* ForwardingHeaders/wtf/HexNumber.h: Removed.
* ForwardingHeaders/wtf/Int16Array.h: Removed.
* ForwardingHeaders/wtf/Int32Array.h: Removed.
* ForwardingHeaders/wtf/Int8Array.h: Removed.
* ForwardingHeaders/wtf/ListHashSet.h: Removed.
* ForwardingHeaders/wtf/ListRefPtr.h: Removed.
* ForwardingHeaders/wtf/Locker.h: Removed.
* ForwardingHeaders/wtf/MD5.h: Removed.
* ForwardingHeaders/wtf/MainThread.h: Removed.
* ForwardingHeaders/wtf/MathExtras.h: Removed.
* ForwardingHeaders/wtf/MessageQueue.h: Removed.
* ForwardingHeaders/wtf/MetaAllocator.h: Removed.
* ForwardingHeaders/wtf/MetaAllocatorHandle.h: Removed.
* ForwardingHeaders/wtf/NonCopyingSort.h: Removed.
* ForwardingHeaders/wtf/Noncopyable.h: Removed.
* ForwardingHeaders/wtf/NotFound.h: Removed.
* ForwardingHeaders/wtf/OSAllocator.h: Removed.
* ForwardingHeaders/wtf/OwnArrayPtr.h: Removed.
* ForwardingHeaders/wtf/OwnPtr.h: Removed.
* ForwardingHeaders/wtf/OwnPtrCommon.h: Removed.
* ForwardingHeaders/wtf/PageAllocation.h: Removed.
* ForwardingHeaders/wtf/PageAllocationAligned.h: Removed.
* ForwardingHeaders/wtf/PageBlock.h: Removed.
* ForwardingHeaders/wtf/PageReservation.h: Removed.
* ForwardingHeaders/wtf/ParallelJobs.h: Removed.
* ForwardingHeaders/wtf/PassOwnArrayPtr.h: Removed.
* ForwardingHeaders/wtf/PassOwnPtr.h: Removed.
* ForwardingHeaders/wtf/PassRefPtr.h: Removed.
* ForwardingHeaders/wtf/Platform.h: Removed.
* ForwardingHeaders/wtf/PossiblyNull.h: Removed.
* ForwardingHeaders/wtf/RandomNumber.h: Removed.
* ForwardingHeaders/wtf/RedBlackTree.h: Removed.
* ForwardingHeaders/wtf/RefCounted.h: Removed.
* ForwardingHeaders/wtf/RefCountedLeakCounter.h: Removed.
* ForwardingHeaders/wtf/RefPtr.h: Removed.
* ForwardingHeaders/wtf/RetainPtr.h: Removed.
* ForwardingHeaders/wtf/SHA1.h: Removed.
* ForwardingHeaders/wtf/SegmentedVector.h: Removed.
* ForwardingHeaders/wtf/SimpleStats.h: Removed.
* ForwardingHeaders/wtf/Spectrum.h: Removed.
* ForwardingHeaders/wtf/StackBounds.h: Removed.
* ForwardingHeaders/wtf/StaticConstructors.h: Removed.
* ForwardingHeaders/wtf/StdLibExtras.h: Removed.
* ForwardingHeaders/wtf/StringExtras.h: Removed.
* ForwardingHeaders/wtf/StringHasher.h: Removed.
* ForwardingHeaders/wtf/TemporaryChange.h: Removed.
* ForwardingHeaders/wtf/ThreadRestrictionVerifier.h: Removed.
* ForwardingHeaders/wtf/ThreadSafeRefCounted.h: Removed.
* ForwardingHeaders/wtf/ThreadSpecific.h: Removed.
* ForwardingHeaders/wtf/Threading.h: Removed.
* ForwardingHeaders/wtf/ThreadingPrimitives.h: Removed.
* ForwardingHeaders/wtf/TypeTraits.h: Removed.
* ForwardingHeaders/wtf/Uint16Array.h: Removed.
* ForwardingHeaders/wtf/Uint32Array.h: Removed.
* ForwardingHeaders/wtf/Uint8Array.h: Removed.
* ForwardingHeaders/wtf/Uint8ClampedArray.h: Removed.
* ForwardingHeaders/wtf/UnusedParam.h: Removed.
* ForwardingHeaders/wtf/VMTags.h: Removed.
* ForwardingHeaders/wtf/ValueCheck.h: Removed.
* ForwardingHeaders/wtf/Vector.h: Removed.
* ForwardingHeaders/wtf/VectorTraits.h: Removed.
* ForwardingHeaders/wtf/WTFThreadData.h: Removed.
* ForwardingHeaders/wtf/dtoa.h: Removed.
* ForwardingHeaders/wtf/dtoa/double-conversion.h: Removed.
* ForwardingHeaders/wtf/text/ASCIIFastPath.h: Removed.
* ForwardingHeaders/wtf/text/AtomicString.h: Removed.
* ForwardingHeaders/wtf/text/AtomicStringHash.h: Removed.
* ForwardingHeaders/wtf/text/AtomicStringImpl.h: Removed.
* ForwardingHeaders/wtf/text/CString.h: Removed.
* ForwardingHeaders/wtf/text/StringBuffer.h: Removed.
* ForwardingHeaders/wtf/text/StringBuilder.h: Removed.
* ForwardingHeaders/wtf/text/StringConcatenate.h: Removed.
* ForwardingHeaders/wtf/text/StringHash.h: Removed.
* ForwardingHeaders/wtf/text/StringImpl.h: Removed.
* ForwardingHeaders/wtf/text/TextPosition.h: Removed.
* ForwardingHeaders/wtf/text/WTFString.h: Removed.
* ForwardingHeaders/wtf/unicode/CharacterNames.h: Removed.
* ForwardingHeaders/wtf/unicode/Collator.h: Removed.
* ForwardingHeaders/wtf/unicode/UTF8.h: Removed.
* ForwardingHeaders/wtf/unicode/Unicode.h: Removed.
* ForwardingHeaders/wtf/unicode/icu/UnicodeIcu.h: Removed.
* ForwardingHeaders/wtf/unicode/wince/UnicodeWince.h: Removed.
* ForwardingHeaders/wtf/url/ParsedURL.h: Removed.

Source/WebKit/mac:

ForwardingHeaders/wtf is no longer necessary (or functional) now that JavaScriptCore
no longer includes the WTF headers as private headers.

* ForwardingHeaders/wtf/ASCIICType.h: Removed.
* ForwardingHeaders/wtf/AlwaysInline.h: Removed.
* ForwardingHeaders/wtf/Assertions.h: Removed.
* ForwardingHeaders/wtf/Deque.h: Removed.
* ForwardingHeaders/wtf/DisallowCType.h: Removed.
* ForwardingHeaders/wtf/FastMalloc.h: Removed.
* ForwardingHeaders/wtf/Forward.h: Removed.
* ForwardingHeaders/wtf/GetPtr.h: Removed.
* ForwardingHeaders/wtf/HashCountedSet.h: Removed.
* ForwardingHeaders/wtf/HashMap.h: Removed.
* ForwardingHeaders/wtf/HashSet.h: Removed.
* ForwardingHeaders/wtf/HashTraits.h: Removed.
* ForwardingHeaders/wtf/ListHashSet.h: Removed.
* ForwardingHeaders/wtf/ListRefPtr.h: Removed.
* ForwardingHeaders/wtf/Locker.h: Removed.
* ForwardingHeaders/wtf/MathExtras.h: Removed.
* ForwardingHeaders/wtf/Noncopyable.h: Removed.
* ForwardingHeaders/wtf/OwnArrayPtr.h: Removed.
* ForwardingHeaders/wtf/OwnPtr.h: Removed.
* ForwardingHeaders/wtf/OwnPtrCommon.h: Removed.
* ForwardingHeaders/wtf/PassOwnPtr.h: Removed.
* ForwardingHeaders/wtf/PassRefPtr.h: Removed.
* ForwardingHeaders/wtf/Platform.h: Removed.
* ForwardingHeaders/wtf/RefCounted.h: Removed.
* ForwardingHeaders/wtf/RefCountedLeakCounter.h: Removed.
* ForwardingHeaders/wtf/RefPtr.h: Removed.
* ForwardingHeaders/wtf/RetainPtr.h: Removed.
* ForwardingHeaders/wtf/StdLibExtras.h: Removed.
* ForwardingHeaders/wtf/TemporaryChange.h: Removed.
* ForwardingHeaders/wtf/Threading.h: Removed.
* ForwardingHeaders/wtf/UnusedParam.h: Removed.
* ForwardingHeaders/wtf/VMTags.h: Removed.
* ForwardingHeaders/wtf/ValueCheck.h: Removed.
* ForwardingHeaders/wtf/Vector.h: Removed.
* ForwardingHeaders/wtf/VectorTraits.h: Removed.
* ForwardingHeaders/wtf/unicode/Unicode.h: Removed.
* ForwardingHeaders/wtf/unicode/icu/UnicodeIcu.h: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9b7aaa9c
......@@ -30,7 +30,7 @@
#include "JSValueRef.h"
#include "Node.h"
#include "NodeList.h"
#include "UnusedParam.h"
#include <wtf/UnusedParam.h>
#include <wtf/Assertions.h>
static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
......
......@@ -27,7 +27,7 @@
#include "JSNodeList.h"
#include "JSObjectRef.h"
#include "JSValueRef.h"
#include "UnusedParam.h"
#include <wtf/UnusedParam.h>
#include <wtf/Assertions.h>
static JSValueRef JSNodeList_item(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
......
2012-03-06 Eric Seidel <eric@webkit.org>
Make WTF public headers use fully-qualified include paths and remove ForwardingHeaders/wtf
https://bugs.webkit.org/show_bug.cgi?id=80363
Reviewed by Mark Rowe.
Historically WTF has been part of JavaScriptCore, and on Mac and Windows
its headers have appeared as part of the "private" headers exported by
JavaScriptCore. All of the WTF headers there are "flattened" into a single
private headers directory, and WebCore, WebKit and WebKit2 have used "ForwardingHeaders"
to re-map fully-qualified <wtf/text/Foo.h> includes to simple <JavaScriptCore/Foo.h> includes.
However, very soon, we are moving the WTF source code out of JavaScriptCore into its
own directory and project. As part of such, the WTF headers will no longer be part of
the JavaScriptCore private interfaces.
In preparation for that, this change makes both the Mac and Win builds export
WTF headers in a non-flattened manner. On Mac, that means into usr/local/include/wtf
(and subdirectories), on Windows for now that means JavaScriptCore/wtf (and subdirectories).
There are 5 parts to this change.
1. Updates the JavaScriptCore XCode and VCProj files to actually install these headers
(and header directories) into the appropriate places in the build directory.
2. Updates JavaScriptCore.xcodeproj to look for these WTF headers in this install location
(WebCore, WebKit, etc. had already been taught to look in previous patches).
3. Fixes all JavaScriptCore source files, and WTF headers to include WTF headers
using fully qualified paths.
4. Stops the Mac and Win builds from installing these WTF headers in their old "flattened" location.
5. Removes WebCore and WebKit ForwardingHeaders/wtf directories now that the flattened headers no longer exist.
Unfortunately we see no way to do this change in smaller parts, since all of these steps are interdependant.
It is possible there are internal Apple projects which depend on JavaScriptCore/Foo.h working for WTF
headers, those will have to be updated to use <wtf/Foo.h> after this change.
I've discussed this proposed change at length with Mark Rowe, and my understanding is they
are ready for (and interested in) this change happening.
* API/tests/JSNode.c:
* API/tests/JSNodeList.c:
* Configurations/Base.xcconfig:
* JavaScriptCore.vcproj/JavaScriptCore/copy-files.cmd:
* JavaScriptCore.xcodeproj/project.pbxproj:
* assembler/MacroAssemblerCodeRef.h:
* bytecompiler/BytecodeGenerator.h:
* dfg/DFGOperations.cpp:
* heap/GCAssertions.h:
* heap/HandleHeap.h:
* heap/HandleStack.h:
* heap/MarkedSpace.h:
* heap/PassWeak.h:
* heap/Strong.h:
* heap/Weak.h:
* jit/HostCallReturnValue.cpp:
* jit/JIT.cpp:
* jit/JITStubs.cpp:
* jit/ThunkGenerators.cpp:
* parser/Lexer.cpp:
* runtime/Completion.cpp:
* runtime/Executable.cpp:
* runtime/Identifier.h:
* runtime/InitializeThreading.cpp:
* runtime/JSDateMath.cpp:
* runtime/JSGlobalObjectFunctions.cpp:
* runtime/JSStringBuilder.h:
* runtime/JSVariableObject.h:
* runtime/NumberPrototype.cpp:
* runtime/WriteBarrier.h:
* tools/CodeProfile.cpp:
* tools/TieredMMapArray.h:
* wtf/AVLTree.h:
* wtf/Alignment.h:
* wtf/AlwaysInline.h:
* wtf/ArrayBufferView.h:
* wtf/Assertions.h:
* wtf/Atomics.h:
* wtf/Bitmap.h:
* wtf/BoundsCheckedPointer.h:
* wtf/CheckedArithmetic.h:
* wtf/Deque.h:
* wtf/ExportMacros.h:
* wtf/FastAllocBase.h:
* wtf/FastMalloc.h:
* wtf/Float32Array.h:
* wtf/Float64Array.h:
* wtf/Functional.h:
* wtf/HashCountedSet.h:
* wtf/HashFunctions.h:
* wtf/HashMap.h:
* wtf/HashSet.h:
* wtf/HashTable.h:
* wtf/HashTraits.h:
* wtf/Int16Array.h:
* wtf/Int32Array.h:
* wtf/Int8Array.h:
* wtf/IntegralTypedArrayBase.h:
* wtf/ListHashSet.h:
* wtf/MainThread.h:
* wtf/MetaAllocator.h:
* wtf/Noncopyable.h:
* wtf/OwnArrayPtr.h:
* wtf/OwnPtr.h:
* wtf/PackedIntVector.h:
* wtf/ParallelJobs.h:
* wtf/PassOwnArrayPtr.h:
* wtf/PassOwnPtr.h:
* wtf/PassRefPtr.h:
* wtf/PassTraits.h:
* wtf/Platform.h:
* wtf/PossiblyNull.h:
* wtf/RefCounted.h:
* wtf/RefCountedLeakCounter.h:
* wtf/RefPtr.h:
* wtf/RetainPtr.h:
* wtf/SimpleStats.h:
* wtf/Spectrum.h:
* wtf/StdLibExtras.h:
* wtf/TCPageMap.h:
* wtf/TemporaryChange.h:
* wtf/ThreadSafeRefCounted.h:
* wtf/Threading.h:
* wtf/ThreadingPrimitives.h:
* wtf/TypeTraits.h:
* wtf/TypedArrayBase.h:
* wtf/Uint16Array.h:
* wtf/Uint32Array.h:
* wtf/Uint8Array.h:
* wtf/Uint8ClampedArray.h:
* wtf/UnusedParam.h:
* wtf/Vector.h:
* wtf/VectorTraits.h:
* wtf/dtoa/double-conversion.h:
* wtf/dtoa/utils.h:
* wtf/gobject/GRefPtr.h:
* wtf/gobject/GlibUtilities.h:
* wtf/text/AtomicString.h:
* wtf/text/AtomicStringImpl.h:
* wtf/text/CString.h:
* wtf/text/StringConcatenate.h:
* wtf/text/StringHash.h:
* wtf/text/WTFString.h:
* wtf/unicode/CharacterNames.h:
* wtf/unicode/UTF8.h:
* wtf/unicode/glib/UnicodeGLib.h:
* wtf/unicode/qt4/UnicodeQt4.h:
* wtf/unicode/wince/UnicodeWinCE.h:
* wtf/url/api/ParsedURL.h:
* wtf/url/api/URLString.h:
* wtf/wince/FastMallocWinCE.h:
* yarr/YarrJIT.cpp:
2012-03-06 Gavin Barraclough <barraclough@apple.com>
Array.prototype functions should throw if delete fails
......@@ -71,7 +71,7 @@ WARNING_CFLAGS_macosx_ppc = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
// FIXME: JavaScriptCore 64-bit builds should build with -Wshorten-64-to-32
WARNING_CFLAGS_macosx_ppc64 = $(WARNING_CFLAGS_BASE);
WARNING_CFLAGS_macosx_x86_64 = $(WARNING_CFLAGS_BASE);
HEADER_SEARCH_PATHS = . icu $(HEADER_SEARCH_PATHS);
HEADER_SEARCH_PATHS = . icu "${BUILT_PRODUCTS_DIR}/usr/local/include" $(HEADER_SEARCH_PATHS);
CLANG_CXX_LIBRARY = $(CLANG_CXX_LIBRARY_$(TARGET_MAC_OS_X_VERSION_MAJOR));
CLANG_CXX_LIBRARY_1060 = libstdc++;
......
......@@ -47,15 +47,22 @@ for %%d in (
parser
profiler
runtime
yarr
) do (
xcopy /y /d ..\..\%%d\*.h "%PrivateHeadersDirectory%" >NUL
)
echo Copying WTF headers...
for %%d in (
wtf
wtf\dtoa
wtf\text
wtf\threads
wtf\unicode
wtf\unicode\icu
yarr
) do (
xcopy /y /d ..\..\%%d\*.h "%PrivateHeadersDirectory%" >NUL
mkdir "%PrivateHeadersDirectory%\%%d" 2>NUL
xcopy /y /d ..\..\%%d\*.h "%PrivateHeadersDirectory%\%%d" >NUL
)
echo Copying resources...
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -27,9 +27,9 @@
#define MacroAssemblerCodeRef_h
#include "ExecutableAllocator.h"
#include "PassRefPtr.h"
#include "RefPtr.h"
#include "UnusedParam.h"
#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
#include <wtf/UnusedParam.h>
// ASSERT_VALID_CODE_POINTER checks that ptr is a non-null pointer, and that it is a valid
// instruction address on the platform (for example, check any alignment requirements).
......
......@@ -32,7 +32,7 @@
#define BytecodeGenerator_h
#include "CodeBlock.h"
#include "HashTraits.h"
#include <wtf/HashTraits.h>
#include "Instruction.h"
#include "Label.h"
#include "LabelScope.h"
......
......@@ -31,7 +31,7 @@
#include "DFGRepatch.h"
#include "HostCallReturnValue.h"
#include "GetterSetter.h"
#include "InlineASM.h"
#include <wtf/InlineASM.h>
#include "Interpreter.h"
#include "JSActivation.h"
#include "JSByteArray.h"
......
......@@ -26,7 +26,7 @@
#ifndef GCAssertions_h
#define GCAssertions_h
#include "Assertions.h"
#include <wtf/Assertions.h>
#if ENABLE(GC_VALIDATION)
#define ASSERT_GC_OBJECT_LOOKS_VALID(cell) do { \
......
......@@ -26,11 +26,11 @@
#ifndef HandleHeap_h
#define HandleHeap_h
#include "BlockStack.h"
#include <wtf/BlockStack.h>
#include "Handle.h"
#include "HashCountedSet.h"
#include "SentinelLinkedList.h"
#include "SinglyLinkedList.h"
#include <wtf/HashCountedSet.h>
#include <wtf/SentinelLinkedList.h>
#include <wtf/SinglyLinkedList.h>
namespace JSC {
......
......@@ -26,8 +26,8 @@
#ifndef HandleStack_h
#define HandleStack_h
#include "Assertions.h"
#include "BlockStack.h"
#include <wtf/Assertions.h>
#include <wtf/BlockStack.h>
#include "Handle.h"
#include <wtf/UnusedParam.h>
......
......@@ -26,7 +26,7 @@
#include "MarkedAllocator.h"
#include "MarkedBlock.h"
#include "MarkedBlockSet.h"
#include "PageAllocationAligned.h"
#include <wtf/PageAllocationAligned.h>
#include <wtf/Bitmap.h>
#include <wtf/DoublyLinkedList.h>
#include <wtf/FixedArray.h>
......
......@@ -26,10 +26,10 @@
#ifndef PassWeak_h
#define PassWeak_h
#include "Assertions.h"
#include <wtf/Assertions.h>
#include "Handle.h"
#include "NullPtr.h"
#include "TypeTraits.h"
#include <wtf/NullPtr.h>
#include <wtf/TypeTraits.h>
namespace JSC {
......
......@@ -26,7 +26,7 @@
#ifndef Strong_h
#define Strong_h
#include "Assertions.h"
#include <wtf/Assertions.h>
#include "Handle.h"
#include "HandleHeap.h"
......
......@@ -26,7 +26,7 @@
#ifndef Weak_h
#define Weak_h
#include "Assertions.h"
#include <wtf/Assertions.h>
#include "Handle.h"
#include "HandleHeap.h"
#include "JSGlobalData.h"
......
......@@ -27,7 +27,7 @@
#include "HostCallReturnValue.h"
#include "CallFrame.h"
#include "InlineASM.h"
#include <wtf/InlineASM.h>
#include "JSObject.h"
#include "JSValueInlineMethods.h"
#include "ScopeChain.h"
......
......@@ -35,7 +35,7 @@ JSC::MacroAssemblerX86Common::SSE2CheckState JSC::MacroAssemblerX86Common::s_sse
#endif
#include "CodeBlock.h"
#include "CryptographicallyRandomNumber.h"
#include <wtf/CryptographicallyRandomNumber.h>
#include "DFGNode.h" // for DFG_SUCCESS_STATS
#include "Interpreter.h"
#include "JITInlineMethods.h"
......
......@@ -43,7 +43,7 @@
#include "ExceptionHelpers.h"
#include "GetterSetter.h"
#include "Heap.h"
#include "InlineASM.h"
#include <wtf/InlineASM.h>
#include "JIT.h"
#include "JITExceptions.h"
#include "JSActivation.h"
......
......@@ -27,7 +27,7 @@
#include "ThunkGenerators.h"
#include "CodeBlock.h"
#include "InlineASM.h"
#include <wtf/InlineASM.h>
#include "SpecializedThunkJIT.h"
#include <wtf/text/StringImpl.h>
......
......@@ -31,7 +31,7 @@
#include "Identifier.h"
#include "NodeInfo.h"
#include "Nodes.h"
#include "dtoa.h"
#include <wtf/dtoa.h>
#include <ctype.h>
#include <limits.h>
#include <string.h>
......
......@@ -30,7 +30,7 @@
#include "Interpreter.h"
#include "Parser.h"
#include "Debugger.h"
#include "WTFThreadData.h"
#include <wtf/WTFThreadData.h>
#include <stdio.h>
namespace JSC {
......
......@@ -34,7 +34,7 @@
#include "JITDriver.h"
#include "Parser.h"
#include "UStringBuilder.h"
#include "Vector.h"
#include <wtf/Vector.h>
namespace JSC {
......
......@@ -22,7 +22,7 @@
#define Identifier_h
#include "JSGlobalData.h"
#include "ThreadSpecific.h"
#include <wtf/ThreadSpecific.h>
#include "UString.h"
#include <wtf/WTFThreadData.h>
#include <wtf/text/CString.h>
......
......@@ -37,7 +37,7 @@
#include "JSGlobalObject.h"
#include "UString.h"
#include "WriteBarrier.h"
#include "dtoa.h"
#include <wtf/dtoa.h>
#include <wtf/Threading.h>
#include <wtf/dtoa/cached-powers.h>
......
......@@ -72,8 +72,6 @@
#include "config.h"
#include "JSDateMath.h"
#include "Assertions.h"
#include "ASCIICType.h"
#include "CurrentTime.h"
#include "JSObject.h"
#include "MathExtras.h"
......@@ -86,6 +84,8 @@
#include <limits>
#include <stdint.h>
#include <time.h>
#include <wtf/ASCIICType.h>
#include <wtf/Assertions.h>
#include <wtf/text/StringBuilder.h>
#if HAVE(ERRNO_H)
......
......@@ -35,7 +35,7 @@
#include "Nodes.h"
#include "Parser.h"
#include "UStringBuilder.h"
#include "dtoa.h"
#include <wtf/dtoa.h>
#include <stdio.h>
#include <stdlib.h>
#include <wtf/ASCIICType.h>
......
......@@ -29,7 +29,7 @@
#include "ExceptionHelpers.h"
#include "JSString.h"
#include "UStringConcatenate.h"
#include "Vector.h"
#include <wtf/Vector.h>
namespace JSC {
......
......@@ -32,7 +32,7 @@
#include "JSObject.h"
#include "Register.h"
#include "SymbolTable.h"
#include "UnusedParam.h"
#include <wtf/UnusedParam.h>
#include <wtf/OwnArrayPtr.h>
#include <wtf/UnusedParam.h>
......
......@@ -29,7 +29,7 @@
#include "JSString.h"
#include "Operations.h"
#include "Uint16WithFraction.h"
#include "dtoa.h"
#include <wtf/dtoa.h>
#include <wtf/Assertions.h>
#include <wtf/MathExtras.h>
#include <wtf/Vector.h>
......
......@@ -30,7 +30,7 @@
#include "HandleTypes.h"
#include "Heap.h"
#include "SamplingCounter.h"
#include "TypeTraits.h"
#include <wtf/TypeTraits.h>
namespace JSC {
......
......@@ -30,7 +30,7 @@
#include "CodeProfiling.h"
#include "LinkBuffer.h"
#include "ProfileTreeNode.h"
#include "Vector.h"
#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
#if PLATFORM(MAC)
......
......@@ -26,7 +26,7 @@
#ifndef TieredMMapArray_h
#define TieredMMapArray_h
#include "OSAllocator.h"
#include <wtf/OSAllocator.h>
namespace JSC {
......
......@@ -32,7 +32,7 @@
#ifndef AVL_TREE_H_
#define AVL_TREE_H_
#include "Assertions.h"
#include <wtf/Assertions.h>
#include <wtf/FixedArray.h>
namespace WTF {
......
......@@ -21,7 +21,7 @@
#ifndef WTF_Alignment_h
#define WTF_Alignment_h
#include "Platform.h"
#include <wtf/Platform.h>
#include <algorithm>
namespace WTF {
......
......@@ -20,4 +20,4 @@
/* This file is no longer necessary, since all the functionality has been moved to Compiler.h. */
#include "Platform.h"
#include <wtf/Platform.h>
......@@ -26,7 +26,7 @@
#ifndef ArrayBufferView_h
#define ArrayBufferView_h
#include "ArrayBuffer.h"
#include <wtf/ArrayBuffer.h>
#include <algorithm>
#include <limits.h>
......
......@@ -42,7 +42,7 @@
http://msdn2.microsoft.com/en-us/library/ms177415(VS.80).aspx
*/