e2279686b7baf0d8b261f116aa0cea27d0711d99
[WebKit-https.git] / Source / WTF / ChangeLog
1 2012-04-10  Patrick Gansterer  <paroga@webkit.org>
2
3         [CMake] Enable USE_FOLDERS property
4         https://bugs.webkit.org/show_bug.cgi?id=83571
5
6         Reviewed by Daniel Bates.
7
8         Setting the FOLDER property on targets gives more structure 
9         to the generated Visual Studio solutions.
10         This does not affect other CMake generators.
11
12         * wtf/CMakeLists.txt:
13
14 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
15
16         Port BinarySemaphoreWin.cpp to WinCE
17         https://bugs.webkit.org/show_bug.cgi?id=83502
18
19         Reviewed by Daniel Bates.
20
21         Replace WaitForSingleObjectEx with WaitForSingleObject since
22         the additonal parameter supported by the extended function
23         is not used anyway and the function does not exist on WinCE.
24
25         * wtf/CMakeLists.txt:
26         * wtf/PlatformWinCE.cmake:
27         * wtf/threads/win/BinarySemaphoreWin.cpp:
28         (WTF::BinarySemaphore::wait):
29
30 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
31
32         [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
33
34         * wtf/CMakeLists.txt:
35
36 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
37
38         Remove HAVE_STDINT_H
39         https://bugs.webkit.org/show_bug.cgi?id=83434
40
41         Reviewed by Kentaro Hara.
42
43         HAVE_STDINT_H is defined with 1 all the time and we us stdint.h without HAVE(STDINT_H) already.
44
45         * config.h:
46         * wtf/FastMalloc.cpp:
47         * wtf/TCPageMap.h:
48         * wtf/TCSpinLock.h:
49         * wtf/TCSystemAlloc.cpp:
50
51 2012-04-06  Benjamin Poulain  <bpoulain@apple.com>
52
53         Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION
54         https://bugs.webkit.org/show_bug.cgi?id=83325
55
56         Reviewed by Ryosuke Niwa.
57
58         * wtf/Platform.h: Remove the flag.
59
60 2012-04-06  Darin Adler  <darin@apple.com>
61
62         Streamline strtod and fix some related problems
63         https://bugs.webkit.org/show_bug.cgi?id=82857
64
65         Reviewed by Geoffrey Garen.
66
67         Replaced the strtod function template with a parseDouble function, eliminating
68         the following unneeded features:
69
70         - need for a trailing null character and a call to strlen
71         - needless conversion of string lengths from size_t to int and back that created
72           the possibility of incorrect truncation
73         - one level of function call; use inlining instead
74         - construction of the StringToDoubleConverter object; it was used to pass
75           arguments that are known at compile time
76         - most of the StringToDoubleConverter::StringToDouble function's body; it was
77           code we did not need
78         - parsing of Infinity and NaN at the strtod level; added recently when we moved
79           from the old strtod to the new one, and not needed or helpful at this level
80         - multiple copies of code to narrow to single byte strings; in many cases
81           this was done even when starting with an LChar string that is already
82           single-byte, now we handle this with an overload of parseDouble
83
84         * wtf/dtoa.cpp:
85         Removed a long comment about the original strtod function that no longer
86         applies since we deleted that function long ago. Removed a lot of includes.
87         Removed the strtod function templates and its instantiations, since they
88         are now replaced by the parseDouble function.
89         (WTF::Internal::parseDoubleFromLongString): Added.
90         * wtf/dtoa.h:
91         Added an include of ASCIICType.h so we can use isASCII in a function in this
92         header. Left the heretofore unneeded include of double-conversion.h, since we
93         now want to use it in a function in this header. Removed the AllowTrailingJunkTag
94         and AllowTrailingSpacesTag enumerations and the strtod function template. Added
95         new parseDouble function, and inline implementation of it.
96
97         * wtf/dtoa/double-conversion.cc: Removed quite a bit of unused code, hardcoding
98         all the StringToDouble function arguments that come from data members so it can
99         be a much smaller static member function. Also changed the types of arguments
100         from int to size_t.
101         * wtf/dtoa/double-conversion.h: Removed most of the StringToDoubleConverter
102         class, leaving only the conversion function as a static member function.
103
104         * wtf/text/StringImpl.cpp:
105         (WTF::StringImpl::toDouble): Got rid of didReadNumber.
106         (WTF::StringImpl::toFloat): Ditto.
107         * wtf/text/StringImpl.h: Ditto.
108         * wtf/text/WTFString.cpp:
109         (WTF::String::toDouble): Got rid of didReadNumber.
110         (WTF::String::toFloat): Ditto.
111         (WTF::toDoubleType): Rewrote this function to use parseDouble. Moved the code
112         to skip leading spaces here, because other callers of parseDouble don't want
113         to do that. Repurposed the check for an empty string so it's now the same
114         code shared by all the "parsed nothing" cases. Removed the code to convert
115         the buffer to ASCII for two reasons: (1) We don't need that code at all when
116         CharType is LChar, and (2) We now handle this through the two overloads for
117         the parseDouble function. Disallowing trailing junk is now handled here,
118         rather than inside parseDouble.
119         (WTF::charactersToDouble): Updated for changes to toDoubleType. Removed the
120         didReadNumber argument.
121         (WTF::charactersToFloat): Ditto. Also added overloads that return the parsed
122         length. These are a slightly more powerful way to do what didReadNumber was
123         used for before.
124
125         * wtf/text/WTFString.h: Added comments, eliminated didReadNumber, and added
126         overloads of charactersToFloat that replace charactersToFloatIgnoringJunk.
127
128 2012-04-05  Patrick Gansterer  <paroga@webkit.org>
129
130         [WinCE] Remove unnecessary function decleration
131         https://bugs.webkit.org/show_bug.cgi?id=83155
132
133         Reviewed by Kentaro Hara.
134
135         * wtf/DateMath.cpp:
136         * wtf/Platform.h:
137
138 2012-04-04  Patrick Gansterer  <paroga@webkit.org>
139
140         Add WTF::getCurrentLocalTime()
141         https://bugs.webkit.org/show_bug.cgi?id=83164
142
143         Reviewed by Alexey Proskuryakov.
144
145         Replace the calls to WTF::getLocalTime() with time(0) with the new function.
146         This allows us to use Win32 API on windows to get the same result in a next step.
147
148         Also remove the inline keyword from WTF::getLocalTime(), since there is no need for
149         it and it will make the later Win32 API changes easier.
150
151         * WTF.gyp/WTF.gyp:
152         * wtf/CurrentTime.cpp:
153         (WTF::getLocalTime):
154         (WTF::getCurrentLocalTime):
155         * wtf/CurrentTime.h:
156
157 2012-04-04  Chris Rogers  <crogers@google.com>
158
159         Web Audio should use MutexTryLocker class
160         https://bugs.webkit.org/show_bug.cgi?id=83194
161
162         Reviewed by Kenneth Russell.
163
164         Add MutexTryLocker class which can be used as a stack-based object wrapping a Mutex.
165         It will automatically unlock the Mutex in its destructor if the tryLock() succeeded.
166
167         * wtf/ThreadingPrimitives.h:
168         (MutexTryLocker):
169         (WTF::MutexTryLocker::MutexTryLocker):
170         (WTF::MutexTryLocker::~MutexTryLocker):
171         (WTF::MutexTryLocker::locked):
172         Check if the tryLock() on the Mutex succeeded.
173         (WTF):
174
175 2012-04-04  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
176
177         [Coverity] Address some uninit constructor values.
178         https://bugs.webkit.org/show_bug.cgi?id=82424
179
180         Reviewed by Stephen White.
181
182         New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
183
184         * wtf/ArrayBufferView.cpp:
185         (WTF::ArrayBufferView::ArrayBufferView):
186
187 2012-03-30  David Barr  <davidbarr@chromium.org>
188
189         Split up top-level .gitignore and .gitattributes
190         https://bugs.webkit.org/show_bug.cgi?id=82687
191
192         Reviewed by Tor Arne Vestbø.
193
194         * WTF.gyp/.gitignore: Added.
195
196 2012-03-29  Kevin Ollivier  <kevino@theolliviers.com>
197
198         [wx] Unreviewed build fix. Add export symbols needed to
199         build wx under Windows.
200         
201         * wtf/NullPtr.h:
202         * wtf/ParallelJobsGeneric.h:
203         (ParallelEnvironment):
204         * wtf/ThreadSpecific.h:
205         (WTF):
206
207 2012-03-29  Kevin Ollivier  <kevino@theolliviers.com>
208
209         [wx] Unreviewed build fix. Add WTF_EXPORT_PRIVATE_NO_RTTI
210         so that ports not using RTTI can add symbol exports to
211         classes that RTTI ports export with WTF_EXPORT_PRIVATE_RTTI.
212
213         * wtf/ArrayBufferView.h:
214         * wtf/ExportMacros.h:
215
216 2012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
217
218         HashMap<>::add should return a more descriptive object
219         https://bugs.webkit.org/show_bug.cgi?id=71063
220
221         Reviewed by Ryosuke Niwa.
222
223         Make HashTable<>::add() and derivate functions return an AddResult struct instead
224         of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
225         more readable at callsites than previous 'first' and 'second'.
226
227         * wtf/HashCountedSet.h:
228         (HashCountedSet):
229         (WTF::::add):
230         * wtf/HashMap.h:
231         (HashMap):
232         (WTF):
233         (WTF::::set):
234         * wtf/HashSet.h:
235         (HashSet):
236         (WTF::::add):
237         (WTF):
238         * wtf/HashTable.h:
239         (WTF::HashTableAddResult::HashTableAddResult):
240         (HashTableAddResult):
241         (WTF):
242         (HashTable):
243         (WTF::HashTable::add):
244         (WTF::::add):
245         (WTF::::addPassingHashCode):
246         * wtf/ListHashSet.h:
247         (ListHashSet):
248         (WTF::::add):
249         (WTF::::insertBefore):
250         * wtf/RefPtrHashMap.h:
251         (WTF):
252         (WTF::::set):
253         * wtf/Spectrum.h:
254         (WTF::Spectrum::add):
255         * wtf/WTFThreadData.cpp:
256         (JSC::IdentifierTable::add):
257         * wtf/WTFThreadData.h:
258         (IdentifierTable):
259         * wtf/text/AtomicString.cpp:
260         (WTF::addToStringTable):
261         (WTF::AtomicString::addSlowCase):
262
263 2012-03-29  Andreas Kling  <kling@webkit.org>
264
265         String: Subscript operator shouldn't force conversion to 16-bit characters.
266         <http://webkit.org/b/82613>
267
268         Reviewed by Anders Carlsson.
269
270         Forward String::operator[] to StringImpl::operator[] instead of indexing into characters().
271         This avoid implicit conversion of 8-bit strings to 16-bit, and as an example, reduces memory
272         usage on http://www.allthingsd.com/ by 360kB.
273
274         * wtf/text/WTFString.h:
275         (WTF::String::operator[]):
276
277 2012-03-28  Carlos Garcia Campos  <cgarcia@igalia.com>
278
279         [GTK] Implement PlatformStrategies
280         https://bugs.webkit.org/show_bug.cgi?id=82454
281
282         Reviewed by Xan Lopez.
283
284         * wtf/Platform.h: Define WTF_USE_PLATFORM_STRATEGIES for GTK+
285         platform too.
286
287 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
288
289         Set eol-style: native on WTF.sln per Ryan Sleevi's request.
290
291         * WTF.vcproj/WTF.sln: Added property svn:eol-style.
292
293 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
294
295         Chromium build fix; add BitVector.h/cpp to gypi.
296
297         * WTF.gypi:
298
299 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
300
301         Touch BitVector as a speculative fix for Chromium Linux.
302
303         * wtf/BitVector.h:
304         (BitVector):
305
306 2012-03-23  Ryosuke Niwa  <rniwa@webkit.org>
307
308         cssText should use shorthand notations
309         https://bugs.webkit.org/show_bug.cgi?id=81737
310
311         Reviewed by Enrica Casucci.
312
313         * wtf/BitVector.h:
314         (BitVector):
315         (WTF::BitVector::ensureSizeAndSet): Added.
316
317 2012-03-26  Carlos Garcia Campos  <cgarcia@igalia.com>
318
319         Unreviewed. Fix make distcheck.
320
321         * GNUmakefile.list.am: Add config.h to the source file list.
322
323 2012-03-25  Kevin Ollivier  <kevino@theolliviers.com>
324
325         [wx] Unreviewed build fix. Move WTF to its own static lib build.
326
327         * wscript: Added.
328
329 2012-03-23  Tony Chang  <tony@chromium.org>
330
331         [chromium] Unreviewed, move a comment closer to where it matters and
332         make it more specific.
333
334         * WTF.gyp/WTF.gyp:
335
336 2012-03-23  Steve Falkenburg  <sfalken@apple.com>
337
338         Update Apple Windows build files for WTF move
339         https://bugs.webkit.org/show_bug.cgi?id=82069
340
341         Reviewed by Jessie Berlin.
342
343         * WTF.vcproj/WTF.make: Added.
344         * WTF.vcproj/WTF.sln: Added.
345
346 2012-03-23  Dean Jackson  <dino@apple.com>
347
348         Disable CSS_SHADERS in Apple builds
349         https://bugs.webkit.org/show_bug.cgi?id=81996
350
351         Reviewed by Simon Fraser.
352
353         Put ENABLE_CSS_SHADERS into Platform.h, but disable for
354         Apple builds.
355
356         * wtf/Platform.h:
357
358 2012-03-23  Tony Chang  <tony@chromium.org>
359
360         [chromium] rename newwtf target back to wtf
361         https://bugs.webkit.org/show_bug.cgi?id=82064
362
363         Reviewed by Adam Barth.
364
365         * WTF.gyp/WTF.gyp:
366
367 2012-03-22  Jessie Berlin  <jberlin@apple.com>
368
369         Windows build fix after r111778.
370
371         * WTF.vcproj/WTF.vcproj:
372         DateMath.h and DateMath.cpp should be built by WTF, since they are part of WTF.
373
374 2012-03-22  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
375
376         [CMake] Unreviewed build fix after r111778.
377
378         * CMakeLists.txt: Added.
379         * wtf/CMakeLists.txt: Add ${CMAKE_BINARY_DIR} to the include paths
380         for cmakeconfig.h to be found.
381
382 2012-03-22  Tony Chang  <tony@chromium.org>
383
384         Unreviewed, attempt to fix the chromium-win build and another attempt
385         at fixing the chromium-android build.
386
387         * WTF.gyp/WTF.gyp:
388
389 2012-03-22  Tony Chang  <tony@chromium.org>
390
391         Unreviewed, attempt to fix chromium-android build.
392
393         * WTF.gyp/WTF.gyp:
394
395 2012-03-22  Tony Chang  <tony@chromium.org>
396
397         Unreviewed, fix chromium build after wtf move.
398
399         Move wtf_config and wtf settings to newwtf.
400
401         * WTF.gyp/WTF.gyp:
402
403 2012-03-22  Martin Robinson  <mrobinson@igalia.com>
404
405         One more GTK+ build fix after r111778.
406
407         * GNUmakefile.am: Adding missing include path.
408
409 2012-03-22  Martin Robinson  <mrobinson@igalia.com>
410
411         Fixed the GTK+ WTF/JavaScriptCore build after r111778.
412
413         * GNUmakefile.am: Remove some extra trailing backslashes and a few uncessary
414           variables.
415         * GNUmakefile.list.am: Ditto.
416
417 2012-03-22  Dan Bernstein  <mitz@apple.com>
418
419         Fixed the JavaScriptCore debug build after r111778.
420
421         * WTF.xcodeproj/project.pbxproj: Use debug DEBUG_DEFINES when building
422         the Debug configuration.
423
424 2012-03-22  Csaba Osztrogonác  <ossy@webkit.org>
425
426         Actually move WTF files to their new home
427         https://bugs.webkit.org/show_bug.cgi?id=81844
428
429         [Qt] Unreviewed buildfix after r111778.
430
431         * WTF.pri:
432
433 2012-03-22  Eric Seidel  <eric@webkit.org>
434
435         Actually move WTF files to their new home
436         https://bugs.webkit.org/show_bug.cgi?id=81844
437
438         Unreviewed attempt to fix AppleWin.
439
440         * WTF.vcproj/WTFCommon.vsprops:
441
442 2012-03-22  Eric Seidel  <eric@webkit.org>
443
444         Actually move WTF files to their new home
445         https://bugs.webkit.org/show_bug.cgi?id=81844
446
447         Unreviewed.  The 5MB file move is not very reviewable,
448         but various port representatives have OK'd changes to the
449         individual build systems.
450
451         * Configurations/WTF.xcconfig:
452         * GNUmakefile.list.am:
453         * Stub.cpp: Removed.
454         * Stub.h: Removed.
455         * WTF.gypi:
456         * WTF.pri:
457         * WTF.pro:
458         * WTF.vcproj/WTF.vcproj:
459         * WTF.vcproj/copy-files.cmd:
460         * WTF.xcodeproj/project.pbxproj:
461         * config.h:
462         * wtf/ASCIICType.h: Renamed from Source/JavaScriptCore/wtf/ASCIICType.h.
463         (WTF):
464         (WTF::isASCII):
465         (WTF::isASCIIAlpha):
466         (WTF::isASCIIDigit):
467         (WTF::isASCIIAlphanumeric):
468         (WTF::isASCIIHexDigit):
469         (WTF::isASCIILower):
470         (WTF::isASCIIOctalDigit):
471         (WTF::isASCIIPrintable):
472         (WTF::isASCIISpace):
473         (WTF::isASCIIUpper):
474         (WTF::toASCIILower):
475         (WTF::toASCIILowerUnchecked):
476         (WTF::toASCIIUpper):
477         (WTF::toASCIIHexValue):
478         (WTF::lowerNibbleToASCIIHexDigit):
479         (WTF::upperNibbleToASCIIHexDigit):
480         (WTF::isASCIIAlphaCaselessEqual):
481         * wtf/AVLTree.h: Renamed from Source/JavaScriptCore/wtf/AVLTree.h.
482         (WTF):
483         (AVLTreeDefaultBSet):
484         (WTF::AVLTreeDefaultBSet::operator[]):
485         (WTF::AVLTreeDefaultBSet::set):
486         (WTF::AVLTreeDefaultBSet::reset):
487         (AVLTree):
488         (WTF::AVLTree::abstractor):
489         (WTF::AVLTree::purge):
490         (WTF::AVLTree::is_empty):
491         (WTF::AVLTree::AVLTree):
492         (Iterator):
493         (WTF::AVLTree::Iterator::Iterator):
494         (WTF::AVLTree::Iterator::start_iter):
495         (WTF::AVLTree::Iterator::start_iter_least):
496         (WTF::AVLTree::Iterator::start_iter_greatest):
497         (WTF::AVLTree::Iterator::operator*):
498         (WTF::AVLTree::Iterator::operator++):
499         (WTF::AVLTree::Iterator::operator--):
500         (WTF::AVLTree::Iterator::cmp_k_n):
501         (WTF::AVLTree::Iterator::cmp_n_n):
502         (WTF::AVLTree::Iterator::get_lt):
503         (WTF::AVLTree::Iterator::get_gt):
504         (WTF::AVLTree::Iterator::null):
505         (WTF::AVLTree::build):
506         (abs_plus_root):
507         (WTF::AVLTree::get_lt):
508         (WTF::AVLTree::set_lt):
509         (WTF::AVLTree::get_gt):
510         (WTF::AVLTree::set_gt):
511         (WTF::AVLTree::get_bf):
512         (WTF::AVLTree::set_bf):
513         (WTF::AVLTree::cmp_k_n):
514         (WTF::AVLTree::cmp_n_n):
515         (WTF::AVLTree::null):
516         (WTF::AVLTree::balance):
517         (WTF::::insert):
518         (WTF::::search):
519         (WTF::::search_least):
520         (WTF::::search_greatest):
521         (WTF::::remove):
522         (WTF::::subst):
523         * wtf/Alignment.h: Renamed from Source/JavaScriptCore/wtf/Alignment.h.
524         (WTF):
525         (WTF::swap):
526         * wtf/AlwaysInline.h: Renamed from Source/JavaScriptCore/wtf/AlwaysInline.h.
527         * wtf/ArrayBuffer.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.cpp.
528         (WTF):
529         (WTF::ArrayBuffer::transfer):
530         (WTF::ArrayBuffer::addView):
531         (WTF::ArrayBuffer::removeView):
532         * wtf/ArrayBuffer.h: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.h.
533         (WTF):
534         (ArrayBufferContents):
535         (WTF::ArrayBufferContents::ArrayBufferContents):
536         (WTF::ArrayBufferContents::data):
537         (WTF::ArrayBufferContents::sizeInBytes):
538         (WTF::ArrayBufferContents::transfer):
539         (ArrayBuffer):
540         (WTF::ArrayBuffer::isNeutered):
541         (WTF::ArrayBuffer::~ArrayBuffer):
542         (WTF::ArrayBuffer::clampValue):
543         (WTF::ArrayBuffer::create):
544         (WTF::ArrayBuffer::ArrayBuffer):
545         (WTF::ArrayBuffer::data):
546         (WTF::ArrayBuffer::byteLength):
547         (WTF::ArrayBuffer::slice):
548         (WTF::ArrayBuffer::sliceImpl):
549         (WTF::ArrayBuffer::clampIndex):
550         (WTF::ArrayBufferContents::tryAllocate):
551         (WTF::ArrayBufferContents::~ArrayBufferContents):
552         * wtf/ArrayBufferView.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.cpp.
553         (WTF):
554         (WTF::ArrayBufferView::ArrayBufferView):
555         (WTF::ArrayBufferView::~ArrayBufferView):
556         (WTF::ArrayBufferView::neuter):
557         * wtf/ArrayBufferView.h: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.h.
558         (WTF):
559         (WTF::ArrayBufferView::setImpl):
560         (WTF::ArrayBufferView::setRangeImpl):
561         (WTF::ArrayBufferView::zeroRangeImpl):
562         (WTF::ArrayBufferView::calculateOffsetAndLength):
563         * wtf/Assertions.cpp: Renamed from Source/JavaScriptCore/wtf/Assertions.cpp.
564         * wtf/Assertions.h: Renamed from Source/JavaScriptCore/wtf/Assertions.h.
565         (assertUnused):
566         (assertWithMessageUnused):
567         * wtf/Atomics.h: Renamed from Source/JavaScriptCore/wtf/Atomics.h.
568         (WTF):
569         (WTF::atomicIncrement):
570         (WTF::atomicDecrement):
571         (WTF::weakCompareAndSwap):
572         (WTF::weakCompareAndSwapUIntPtr):
573         * wtf/BitVector.cpp: Renamed from Source/JavaScriptCore/wtf/BitVector.cpp.
574         (WTF):
575         (WTF::BitVector::setSlow):
576         (WTF::BitVector::resize):
577         (WTF::BitVector::clearAll):
578         (WTF::BitVector::OutOfLineBits::create):
579         (WTF::BitVector::OutOfLineBits::destroy):
580         (WTF::BitVector::resizeOutOfLine):
581         (WTF::BitVector::dump):
582         * wtf/BitVector.h: Renamed from Source/JavaScriptCore/wtf/BitVector.h.
583         (WTF):
584         (BitVector):
585         (WTF::BitVector::BitVector):
586         (WTF::BitVector::~BitVector):
587         (WTF::BitVector::operator=):
588         (WTF::BitVector::size):
589         (WTF::BitVector::ensureSize):
590         (WTF::BitVector::quickGet):
591         (WTF::BitVector::quickSet):
592         (WTF::BitVector::quickClear):
593         (WTF::BitVector::get):
594         (WTF::BitVector::set):
595         (WTF::BitVector::clear):
596         (WTF::BitVector::bitsInPointer):
597         (WTF::BitVector::maxInlineBits):
598         (WTF::BitVector::byteCount):
599         (WTF::BitVector::makeInlineBits):
600         (OutOfLineBits):
601         (WTF::BitVector::OutOfLineBits::numBits):
602         (WTF::BitVector::OutOfLineBits::numWords):
603         (WTF::BitVector::OutOfLineBits::bits):
604         (WTF::BitVector::OutOfLineBits::OutOfLineBits):
605         (WTF::BitVector::isInline):
606         (WTF::BitVector::outOfLineBits):
607         (WTF::BitVector::bits):
608         * wtf/Bitmap.h: Renamed from Source/JavaScriptCore/wtf/Bitmap.h.
609         (WTF):
610         (Bitmap):
611         (WTF::::Bitmap):
612         (WTF::::get):
613         (WTF::::set):
614         (WTF::::testAndSet):
615         (WTF::::testAndClear):
616         (WTF::::concurrentTestAndSet):
617         (WTF::::concurrentTestAndClear):
618         (WTF::::clear):
619         (WTF::::clearAll):
620         (WTF::::nextPossiblyUnset):
621         (WTF::::findRunOfZeros):
622         (WTF::::count):
623         (WTF::::isEmpty):
624         (WTF::::isFull):
625         * wtf/BlockStack.h: Renamed from Source/JavaScriptCore/wtf/BlockStack.h.
626         (WTF):
627         (BlockStack):
628         (WTF::::BlockStack):
629         (WTF::::~BlockStack):
630         (WTF::::blocks):
631         (WTF::::grow):
632         (WTF::::shrink):
633         * wtf/BloomFilter.h: Renamed from Source/JavaScriptCore/wtf/BloomFilter.h.
634         (WTF):
635         (BloomFilter):
636         (WTF::BloomFilter::maximumCount):
637         (WTF::BloomFilter::BloomFilter):
638         (WTF::BloomFilter::mayContain):
639         (WTF::BloomFilter::add):
640         (WTF::BloomFilter::remove):
641         (WTF::BloomFilter::firstSlot):
642         (WTF::BloomFilter::secondSlot):
643         (WTF::::add):
644         (WTF::::remove):
645         (WTF::::clear):
646         (WTF::::likelyEmpty):
647         (WTF::::isClear):
648         * wtf/BoundsCheckedPointer.h: Renamed from Source/JavaScriptCore/wtf/BoundsCheckedPointer.h.
649         (WTF):
650         (BoundsCheckedPointer):
651         (WTF::BoundsCheckedPointer::BoundsCheckedPointer):
652         (WTF::BoundsCheckedPointer::operator=):
653         (WTF::BoundsCheckedPointer::operator+=):
654         (WTF::BoundsCheckedPointer::operator-=):
655         (WTF::BoundsCheckedPointer::operator+):
656         (WTF::BoundsCheckedPointer::operator-):
657         (WTF::BoundsCheckedPointer::operator++):
658         (WTF::BoundsCheckedPointer::operator--):
659         (WTF::BoundsCheckedPointer::operator<):
660         (WTF::BoundsCheckedPointer::operator<=):
661         (WTF::BoundsCheckedPointer::operator>):
662         (WTF::BoundsCheckedPointer::operator>=):
663         (WTF::BoundsCheckedPointer::operator==):
664         (WTF::BoundsCheckedPointer::operator!=):
665         (WTF::BoundsCheckedPointer::operator!):
666         (WTF::BoundsCheckedPointer::get):
667         (WTF::BoundsCheckedPointer::operator*):
668         (WTF::BoundsCheckedPointer::operator[]):
669         (WTF::BoundsCheckedPointer::strcat):
670         (WTF::BoundsCheckedPointer::validate):
671         * wtf/BumpPointerAllocator.h: Renamed from Source/JavaScriptCore/wtf/BumpPointerAllocator.h.
672         (WTF):
673         (BumpPointerPool):
674         (WTF::BumpPointerPool::ensureCapacity):
675         (WTF::BumpPointerPool::alloc):
676         (WTF::BumpPointerPool::dealloc):
677         (WTF::BumpPointerPool::operator new):
678         (WTF::BumpPointerPool::BumpPointerPool):
679         (WTF::BumpPointerPool::create):
680         (WTF::BumpPointerPool::shrink):
681         (WTF::BumpPointerPool::destroy):
682         (WTF::BumpPointerPool::ensureCapacityCrossPool):
683         (WTF::BumpPointerPool::deallocCrossPool):
684         (BumpPointerAllocator):
685         (WTF::BumpPointerAllocator::BumpPointerAllocator):
686         (WTF::BumpPointerAllocator::~BumpPointerAllocator):
687         (WTF::BumpPointerAllocator::startAllocator):
688         (WTF::BumpPointerAllocator::stopAllocator):
689         * wtf/ByteArray.cpp: Renamed from Source/JavaScriptCore/wtf/ByteArray.cpp.
690         (WTF):
691         (WTF::ByteArray::create):
692         * wtf/ByteArray.h: Renamed from Source/JavaScriptCore/wtf/ByteArray.h.
693         (ByteArray):
694         (WTF::ByteArray::length):
695         (WTF::ByteArray::set):
696         (WTF::ByteArray::get):
697         (WTF::ByteArray::data):
698         (WTF::ByteArray::clear):
699         (WTF::ByteArray::deref):
700         (WTF::ByteArray::offsetOfSize):
701         (WTF::ByteArray::offsetOfData):
702         (WTF::ByteArray::ByteArray):
703         * wtf/CMakeLists.txt: Renamed from Source/JavaScriptCore/wtf/CMakeLists.txt.
704         * wtf/CONTRIBUTORS.pthreads-win32: Renamed from Source/JavaScriptCore/wtf/CONTRIBUTORS.pthreads-win32.
705         * wtf/CheckedArithmetic.h: Renamed from Source/JavaScriptCore/wtf/CheckedArithmetic.h.
706         (WTF):
707         (CrashOnOverflow):
708         (WTF::CrashOnOverflow::overflowed):
709         (WTF::CrashOnOverflow::clearOverflow):
710         (WTF::CrashOnOverflow::hasOverflowed):
711         (RecordOverflow):
712         (WTF::RecordOverflow::RecordOverflow):
713         (WTF::RecordOverflow::overflowed):
714         (WTF::RecordOverflow::clearOverflow):
715         (WTF::RecordOverflow::hasOverflowed):
716         (WTF::isInBounds):
717         (RemoveChecked):
718         (WTF::safeAdd):
719         (WTF::safeSub):
720         (WTF::safeMultiply):
721         (WTF::safeEquals):
722         (WTF::workAroundClangBug):
723         (Checked):
724         (WTF::Checked::Checked):
725         (WTF::Checked::operator=):
726         (WTF::Checked::operator++):
727         (WTF::Checked::operator--):
728         (WTF::Checked::operator!):
729         (WTF::Checked::operator UnspecifiedBoolType*):
730         (WTF::Checked::unsafeGet):
731         (WTF::Checked::operator+=):
732         (WTF::Checked::operator-=):
733         (WTF::Checked::operator*=):
734         (WTF::Checked::operator==):
735         (WTF::Checked::operator!=):
736         (WTF::operator+):
737         (WTF::operator-):
738         (WTF::operator*):
739         * wtf/CheckedBoolean.h: Renamed from Source/JavaScriptCore/wtf/CheckedBoolean.h.
740         (CheckedBoolean):
741         (CheckedBoolean::CheckedBoolean):
742         (CheckedBoolean::~CheckedBoolean):
743         (CheckedBoolean::operator bool):
744         * wtf/Compiler.h: Renamed from Source/JavaScriptCore/wtf/Compiler.h.
745         * wtf/Complex.h: Renamed from Source/JavaScriptCore/wtf/Complex.h.
746         (WTF):
747         (WTF::complexFromMagnitudePhase):
748         * wtf/CryptographicallyRandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp.
749         (WTF::cryptographicallyRandomNumber):
750         (WTF):
751         (WTF::cryptographicallyRandomValues):
752         * wtf/CryptographicallyRandomNumber.h: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.h.
753         (WTF):
754         * wtf/CurrentTime.cpp: Renamed from Source/JavaScriptCore/wtf/CurrentTime.cpp.
755         (WTF):
756         (WTF::highResUpTime):
757         (WTF::lowResUTCTime):
758         (WTF::qpcAvailable):
759         (WTF::currentTime):
760         (WTF::currentSystemTime):
761         (WTF::monotonicallyIncreasingTime):
762         * wtf/CurrentTime.h: Renamed from Source/JavaScriptCore/wtf/CurrentTime.h.
763         (WTF):
764         (WTF::currentTimeMS):
765         (WTF::getLocalTime):
766         * wtf/DataLog.cpp: Renamed from Source/JavaScriptCore/wtf/DataLog.cpp.
767         (WTF):
768         (WTF::initializeLogFileOnce):
769         (WTF::initializeLogFile):
770         (WTF::dataFile):
771         (WTF::dataLogV):
772         (WTF::dataLog):
773         * wtf/DataLog.h: Renamed from Source/JavaScriptCore/wtf/DataLog.h.
774         (WTF):
775         * wtf/DateMath.cpp: Renamed from Source/JavaScriptCore/wtf/DateMath.cpp.
776         (WTF):
777         (WTF::isLeapYear):
778         (WTF::daysInYear):
779         (WTF::daysFrom1970ToYear):
780         (WTF::msToDays):
781         (WTF::twoDigitStringFromNumber):
782         (WTF::msToYear):
783         (WTF::dayInYear):
784         (WTF::msToMilliseconds):
785         (WTF::msToMinutes):
786         (WTF::msToHours):
787         (WTF::monthFromDayInYear):
788         (WTF::checkMonth):
789         (WTF::dayInMonthFromDayInYear):
790         (WTF::monthToDayInYear):
791         (WTF::dateToDaysFrom1970):
792         (WTF::maximumYearForDST):
793         (WTF::minimumYearForDST):
794         (WTF::equivalentYearForDST):
795         (WTF::calculateUTCOffset):
796         (WTF::calculateDSTOffsetSimple):
797         (WTF::calculateDSTOffset):
798         (WTF::initializeDates):
799         (WTF::ymdhmsToSeconds):
800         (KnownZone):
801         (WTF::skipSpacesAndComments):
802         (WTF::findMonth):
803         (WTF::parseLong):
804         (WTF::parseES5DatePortion):
805         (WTF::parseES5TimePortion):
806         (WTF::parseES5DateFromNullTerminatedCharacters):
807         (WTF::parseDateFromNullTerminatedCharacters):
808         (WTF::timeClip):
809         (WTF::makeRFC2822DateString):
810         * wtf/DateMath.h: Renamed from Source/JavaScriptCore/wtf/DateMath.h.
811         (WTF):
812         (WTF::jsCurrentTime):
813         * wtf/DecimalNumber.cpp: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.cpp.
814         (WTF):
815         (WTF::DecimalNumber::bufferLengthForStringDecimal):
816         (WTF::DecimalNumber::bufferLengthForStringExponential):
817         (WTF::DecimalNumber::toStringDecimal):
818         (WTF::DecimalNumber::toStringExponential):
819         * wtf/DecimalNumber.h: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.h.
820         (WTF):
821         (DecimalNumber):
822         (WTF::DecimalNumber::DecimalNumber):
823         (WTF::DecimalNumber::sign):
824         (WTF::DecimalNumber::exponent):
825         (WTF::DecimalNumber::significand):
826         (WTF::DecimalNumber::precision):
827         * wtf/Decoder.h: Renamed from Source/JavaScriptCore/wtf/Decoder.h.
828         (WTF):
829         (Decoder):
830         (WTF::Decoder::Decoder):
831         (WTF::Decoder::~Decoder):
832         * wtf/Deque.h: Renamed from Source/JavaScriptCore/wtf/Deque.h.
833         (WTF):
834         (Deque):
835         (WTF::Deque::size):
836         (WTF::Deque::isEmpty):
837         (WTF::Deque::begin):
838         (WTF::Deque::end):
839         (WTF::Deque::rbegin):
840         (WTF::Deque::rend):
841         (WTF::Deque::first):
842         (WTF::Deque::last):
843         (DequeIteratorBase):
844         (WTF::DequeIteratorBase::assign):
845         (DequeIterator):
846         (WTF::DequeIterator::DequeIterator):
847         (WTF::DequeIterator::operator=):
848         (WTF::DequeIterator::operator*):
849         (WTF::DequeIterator::operator->):
850         (WTF::DequeIterator::operator==):
851         (WTF::DequeIterator::operator!=):
852         (WTF::DequeIterator::operator++):
853         (WTF::DequeIterator::operator--):
854         (DequeConstIterator):
855         (WTF::DequeConstIterator::DequeConstIterator):
856         (WTF::DequeConstIterator::operator=):
857         (WTF::DequeConstIterator::operator*):
858         (WTF::DequeConstIterator::operator->):
859         (WTF::DequeConstIterator::operator==):
860         (WTF::DequeConstIterator::operator!=):
861         (WTF::DequeConstIterator::operator++):
862         (WTF::DequeConstIterator::operator--):
863         (DequeReverseIterator):
864         (WTF::DequeReverseIterator::DequeReverseIterator):
865         (WTF::DequeReverseIterator::operator=):
866         (WTF::DequeReverseIterator::operator*):
867         (WTF::DequeReverseIterator::operator->):
868         (WTF::DequeReverseIterator::operator==):
869         (WTF::DequeReverseIterator::operator!=):
870         (WTF::DequeReverseIterator::operator++):
871         (WTF::DequeReverseIterator::operator--):
872         (DequeConstReverseIterator):
873         (WTF::DequeConstReverseIterator::DequeConstReverseIterator):
874         (WTF::DequeConstReverseIterator::operator=):
875         (WTF::DequeConstReverseIterator::operator*):
876         (WTF::DequeConstReverseIterator::operator->):
877         (WTF::DequeConstReverseIterator::operator==):
878         (WTF::DequeConstReverseIterator::operator!=):
879         (WTF::DequeConstReverseIterator::operator++):
880         (WTF::DequeConstReverseIterator::operator--):
881         (WTF::::checkValidity):
882         (WTF::::checkIndexValidity):
883         (WTF::::invalidateIterators):
884         (WTF::::Deque):
885         (WTF::deleteAllValues):
886         (WTF::=):
887         (WTF::::destroyAll):
888         (WTF::::~Deque):
889         (WTF::::swap):
890         (WTF::::clear):
891         (WTF::::findIf):
892         (WTF::::expandCapacityIfNeeded):
893         (WTF::::expandCapacity):
894         (WTF::::takeFirst):
895         (WTF::::append):
896         (WTF::::prepend):
897         (WTF::::removeFirst):
898         (WTF::::remove):
899         (WTF::::addToIteratorsList):
900         (WTF::::removeFromIteratorsList):
901         (WTF::::DequeIteratorBase):
902         (WTF::::~DequeIteratorBase):
903         (WTF::::isEqual):
904         (WTF::::increment):
905         (WTF::::decrement):
906         (WTF::::after):
907         (WTF::::before):
908         * wtf/DisallowCType.h: Renamed from Source/JavaScriptCore/wtf/DisallowCType.h.
909         * wtf/DoublyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/DoublyLinkedList.h.
910         (WTF):
911         (DoublyLinkedListNode):
912         (WTF::::DoublyLinkedListNode):
913         (WTF::::setPrev):
914         (WTF::::setNext):
915         (WTF::::prev):
916         (WTF::::next):
917         (DoublyLinkedList):
918         (WTF::::DoublyLinkedList):
919         (WTF::::isEmpty):
920         (WTF::::size):
921         (WTF::::clear):
922         (WTF::::head):
923         (WTF::::tail):
924         (WTF::::push):
925         (WTF::::append):
926         (WTF::::remove):
927         (WTF::::removeHead):
928         * wtf/DynamicAnnotations.cpp: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.cpp.
929         (WTFAnnotateBenignRaceSized):
930         (WTFAnnotateHappensBefore):
931         (WTFAnnotateHappensAfter):
932         * wtf/DynamicAnnotations.h: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.h.
933         * wtf/Encoder.h: Renamed from Source/JavaScriptCore/wtf/Encoder.h.
934         (WTF):
935         (Encoder):
936         (WTF::Encoder::Encoder):
937         (WTF::Encoder::~Encoder):
938         * wtf/ExportMacros.h: Renamed from Source/JavaScriptCore/wtf/ExportMacros.h.
939         * wtf/FastAllocBase.h: Renamed from Source/JavaScriptCore/wtf/FastAllocBase.h.
940         (WTF):
941         (WTF::fastNew):
942         (Internal):
943         (WTF::Internal::NewArrayImpl::fastNewArray):
944         (WTF::fastNewArray):
945         (WTF::fastDelete):
946         (WTF::fastDeleteSkippingDestructor):
947         (WTF::Internal::DeleteArrayImpl::fastDeleteArray):
948         (WTF::fastDeleteArray):
949         (WTF::fastNonNullDelete):
950         (WTF::Internal::NonNullDeleteArrayImpl::fastNonNullDeleteArray):
951         (WTF::fastNonNullDeleteArray):
952         * wtf/FastMalloc.cpp: Renamed from Source/JavaScriptCore/wtf/FastMalloc.cpp.
953         (WTF):
954         (WTF::isForbidden):
955         (WTF::fastMallocForbid):
956         (WTF::fastMallocAllow):
957         (WTF::initializeIsForbiddenKey):
958         (Internal):
959         (WTF::Internal::fastMallocMatchFailed):
960         (WTF::fastZeroedMalloc):
961         (WTF::fastStrDup):
962         (WTF::tryFastZeroedMalloc):
963         (WTF::tryFastMalloc):
964         (WTF::fastMalloc):
965         (WTF::tryFastCalloc):
966         (WTF::fastCalloc):
967         (WTF::fastFree):
968         (WTF::tryFastRealloc):
969         (WTF::fastRealloc):
970         (WTF::releaseFastMallocFreeMemory):
971         (WTF::fastMallocStatistics):
972         (WTF::fastMallocSize):
973         (FastMallocZone):
974         (WTF::FastMallocZone::goodSize):
975         (WTF::FastMallocZone::check):
976         (WTF::FastMallocZone::print):
977         (WTF::FastMallocZone::log):
978         (WTF::FastMallocZone::forceLock):
979         (WTF::FastMallocZone::forceUnlock):
980         (WTF::FastMallocZone::statistics):
981         (WTF::FastMallocZone::zoneValloc):
982         (WTF::FastMallocZone::zoneDestroy):
983         (WTF::KernelSupportsTLS):
984         (WTF::CheckIfKernelSupportsTLS):
985         (WTF::ClassIndex):
986         (TCEntry):
987         (WTF::LgFloor):
988         (WTF::SLL_Next):
989         (WTF::SLL_SetNext):
990         (WTF::SLL_Push):
991         (WTF::SLL_Pop):
992         (WTF::SLL_PopRange):
993         (WTF::SLL_PushRange):
994         (WTF::SLL_Size):
995         (WTF::SizeClass):
996         (WTF::ByteSizeForClass):
997         (WTF::NumMoveSize):
998         (WTF::InitSizeClasses):
999         (WTF::MetaDataAlloc):
1000         (PageHeapAllocator):
1001         (WTF::PageHeapAllocator::Init):
1002         (WTF::PageHeapAllocator::New):
1003         (WTF::PageHeapAllocator::Delete):
1004         (WTF::PageHeapAllocator::inuse):
1005         (WTF::PageHeapAllocator::recordAdministrativeRegions):
1006         (WTF::pages):
1007         (WTF::AllocationSize):
1008         (Span):
1009         (WTF::Event):
1010         (WTF::NewSpan):
1011         (WTF::DeleteSpan):
1012         (WTF::DLL_Init):
1013         (WTF::DLL_Remove):
1014         (WTF::DLL_IsEmpty):
1015         (WTF::DLL_Length):
1016         (WTF::DLL_Print):
1017         (WTF::DLL_Prepend):
1018         (StackTrace):
1019         (MapSelector):
1020         (TCMalloc_PageHeap):
1021         (WTF::TCMalloc_PageHeap::GetDescriptor):
1022         (WTF::TCMalloc_PageHeap::GetDescriptorEnsureSafe):
1023         (WTF::TCMalloc_PageHeap::SystemBytes):
1024         (WTF::TCMalloc_PageHeap::FreeBytes):
1025         (WTF::TCMalloc_PageHeap::GetSizeClassIfCached):
1026         (WTF::TCMalloc_PageHeap::CacheSizeClass):
1027         (SpanList):
1028         (WTF::TCMalloc_PageHeap::RecordSpan):
1029         (WTF::TCMalloc_PageHeap::init):
1030         (WTF::TCMalloc_PageHeap::initializeScavenger):
1031         (WTF::TCMalloc_PageHeap::isScavengerSuspended):
1032         (WTF::TCMalloc_PageHeap::scheduleScavenger):
1033         (WTF::TCMalloc_PageHeap::rescheduleScavenger):
1034         (WTF::TCMalloc_PageHeap::suspendScavenger):
1035         (WTF::TCMalloc_PageHeap::scavengerTimerFired):
1036         (WTF::TCMalloc_PageHeap::runScavengerThread):
1037         (WTF::TCMalloc_PageHeap::signalScavenger):
1038         (WTF::TCMalloc_PageHeap::scavenge):
1039         (WTF::TCMalloc_PageHeap::shouldScavenge):
1040         (WTF::TCMalloc_PageHeap::New):
1041         (WTF::TCMalloc_PageHeap::AllocLarge):
1042         (WTF::TCMalloc_PageHeap::Split):
1043         (WTF::TCMalloc_PageHeap::Carve):
1044         (WTF::mergeDecommittedStates):
1045         (WTF::TCMalloc_PageHeap::Delete):
1046         (WTF::TCMalloc_PageHeap::IncrementalScavenge):
1047         (WTF::TCMalloc_PageHeap::RegisterSizeClass):
1048         (WTF::TCMalloc_PageHeap::ReturnedBytes):
1049         (WTF::PagesToMB):
1050         (WTF::TCMalloc_PageHeap::Dump):
1051         (WTF::TCMalloc_PageHeap::GrowHeap):
1052         (WTF::TCMalloc_PageHeap::Check):
1053         (WTF::TCMalloc_PageHeap::CheckList):
1054         (WTF::TCMalloc_PageHeap::ReleaseFreeList):
1055         (WTF::TCMalloc_PageHeap::ReleaseFreePages):
1056         (TCMalloc_ThreadCache_FreeList):
1057         (WTF::TCMalloc_ThreadCache_FreeList::Init):
1058         (WTF::TCMalloc_ThreadCache_FreeList::length):
1059         (WTF::TCMalloc_ThreadCache_FreeList::empty):
1060         (WTF::TCMalloc_ThreadCache_FreeList::lowwatermark):
1061         (WTF::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
1062         (WTF::TCMalloc_ThreadCache_FreeList::Push):
1063         (WTF::TCMalloc_ThreadCache_FreeList::PushRange):
1064         (WTF::TCMalloc_ThreadCache_FreeList::PopRange):
1065         (WTF::TCMalloc_ThreadCache_FreeList::Pop):
1066         (WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects):
1067         (TCMalloc_ThreadCache):
1068         (WTF::TCMalloc_ThreadCache::freelist_length):
1069         (WTF::TCMalloc_ThreadCache::Size):
1070         (WTF::TCMalloc_ThreadCache::enumerateFreeObjects):
1071         (TCMalloc_Central_FreeList):
1072         (WTF::TCMalloc_Central_FreeList::length):
1073         (WTF::TCMalloc_Central_FreeList::tc_length):
1074         (WTF::TCMalloc_Central_FreeList::enumerateFreeObjects):
1075         (TCMalloc_Central_FreeListPadded):
1076         (WTF::getPageHeap):
1077         (WTF::TCMalloc_PageHeap::periodicScavenge):
1078         (WTF::TCMalloc_PageHeap::scavengerThread):
1079         (WTF::setThreadHeap):
1080         (WTF::TCMalloc_Central_FreeList::Init):
1081         (WTF::TCMalloc_Central_FreeList::ReleaseListToSpans):
1082         (WTF::TCMalloc_Central_FreeList::ReleaseToSpans):
1083         (WTF::TCMalloc_Central_FreeList::EvictRandomSizeClass):
1084         (WTF::TCMalloc_Central_FreeList::MakeCacheSpace):
1085         (WTF::TCMalloc_Central_FreeList::ShrinkCache):
1086         (WTF::TCMalloc_Central_FreeList::InsertRange):
1087         (WTF::TCMalloc_Central_FreeList::RemoveRange):
1088         (WTF::TCMalloc_Central_FreeList::FetchFromSpansSafe):
1089         (WTF::TCMalloc_Central_FreeList::FetchFromSpans):
1090         (WTF::TCMalloc_Central_FreeList::Populate):
1091         (WTF::TCMalloc_ThreadCache::SampleAllocation):
1092         (WTF::TCMalloc_ThreadCache::Init):
1093         (WTF::TCMalloc_ThreadCache::Cleanup):
1094         (WTF::TCMalloc_ThreadCache::Allocate):
1095         (WTF::TCMalloc_ThreadCache::Deallocate):
1096         (WTF::TCMalloc_ThreadCache::FetchFromCentralCache):
1097         (WTF::TCMalloc_ThreadCache::ReleaseToCentralCache):
1098         (WTF::TCMalloc_ThreadCache::Scavenge):
1099         (WTF::TCMalloc_ThreadCache::PickNextSample):
1100         (WTF::TCMalloc_ThreadCache::InitModule):
1101         (WTF::TCMalloc_ThreadCache::NewHeap):
1102         (WTF::TCMalloc_ThreadCache::GetThreadHeap):
1103         (WTF::TCMalloc_ThreadCache::GetCache):
1104         (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
1105         (WTF::TCMalloc_ThreadCache::InitTSD):
1106         (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1107         * wtf/FastMalloc.h: Renamed from Source/JavaScriptCore/wtf/FastMalloc.h.
1108         (WTF):
1109         (WTF::TryMallocReturnValue::TryMallocReturnValue):
1110         (WTF::TryMallocReturnValue::~TryMallocReturnValue):
1111         (TryMallocReturnValue):
1112         (WTF::TryMallocReturnValue::operator PossiblyNull<T>):
1113         (WTF::TryMallocReturnValue::getValue):
1114         (FastMallocStatistics):
1115         (ValidationHeader):
1116         (Internal):
1117         (WTF::Internal::fastMallocValidationHeader):
1118         (WTF::Internal::fastMallocValidationSuffix):
1119         (WTF::Internal::fastMallocMatchValidationType):
1120         (WTF::Internal::setFastMallocMatchValidationType):
1121         (WTF::fastMallocMatchValidateMalloc):
1122         (WTF::fastMallocMatchValidateFree):
1123         (WTF::fastMallocValidate):
1124         (throw):
1125         * wtf/FixedArray.h: Renamed from Source/JavaScriptCore/wtf/FixedArray.h.
1126         (WTF):
1127         (FixedArray):
1128         (WTF::FixedArray::operator[]):
1129         (WTF::FixedArray::data):
1130         (WTF::FixedArray::size):
1131         * wtf/Float32Array.h: Renamed from Source/JavaScriptCore/wtf/Float32Array.h.
1132         (WTF):
1133         (Float32Array):
1134         (WTF::Float32Array::set):
1135         (WTF::Float32Array::item):
1136         (WTF::Float32Array::isFloatArray):
1137         (WTF::Float32Array::create):
1138         (WTF::Float32Array::Float32Array):
1139         (WTF::Float32Array::subarray):
1140         * wtf/Float64Array.h: Renamed from Source/JavaScriptCore/wtf/Float64Array.h.
1141         (WTF):
1142         (Float64Array):
1143         (WTF::Float64Array::set):
1144         (WTF::Float64Array::item):
1145         (WTF::Float64Array::isDoubleArray):
1146         (WTF::Float64Array::create):
1147         (WTF::Float64Array::Float64Array):
1148         (WTF::Float64Array::subarray):
1149         * wtf/Forward.h: Renamed from Source/JavaScriptCore/wtf/Forward.h.
1150         (WTF):
1151         * wtf/Functional.h: Renamed from Source/JavaScriptCore/wtf/Functional.h.
1152         (WTF):
1153         (HasRefAndDeref):
1154         (NoType):
1155         (BaseMixin):
1156         (WTF::R):
1157         (WTF::C::):
1158         (WTF::RefAndDeref::ref):
1159         (WTF::RefAndDeref::deref):
1160         (ParamStorageTraits):
1161         (WTF::ParamStorageTraits::wrap):
1162         (WTF::ParamStorageTraits::unwrap):
1163         (FunctionImplBase):
1164         (WTF::FunctionImplBase::~FunctionImplBase):
1165         (FunctionBase):
1166         (WTF::FunctionBase::isNull):
1167         (WTF::FunctionBase::FunctionBase):
1168         (WTF::FunctionBase::impl):
1169         (WTF::bind):
1170         * wtf/GetPtr.h: Renamed from Source/JavaScriptCore/wtf/GetPtr.h.
1171         (WTF):
1172         (WTF::getPtr):
1173         * wtf/HashCountedSet.h: Renamed from Source/JavaScriptCore/wtf/HashCountedSet.h.
1174         (WTF):
1175         (HashCountedSet):
1176         (WTF::HashCountedSet::HashCountedSet):
1177         (WTF::::size):
1178         (WTF::::capacity):
1179         (WTF::::isEmpty):
1180         (WTF::::begin):
1181         (WTF::::end):
1182         (WTF::::find):
1183         (WTF::::contains):
1184         (WTF::::count):
1185         (WTF::::add):
1186         (WTF::::remove):
1187         (WTF::::removeAll):
1188         (WTF::::clear):
1189         (WTF::copyToVector):
1190         * wtf/HashFunctions.h: Renamed from Source/JavaScriptCore/wtf/HashFunctions.h.
1191         (WTF):
1192         (WTF::intHash):
1193         (WTF::IntHash::hash):
1194         (WTF::IntHash::equal):
1195         (IntHash):
1196         (WTF::FloatHash::hash):
1197         (WTF::FloatHash::equal):
1198         (FloatHash):
1199         (WTF::PtrHash::hash):
1200         (WTF::PtrHash::equal):
1201         (PtrHash):
1202         (WTF::PairHash::hash):
1203         (WTF::PairHash::equal):
1204         (PairHash):
1205         * wtf/HashIterators.h: Renamed from Source/JavaScriptCore/wtf/HashIterators.h.
1206         (WTF):
1207         (HashTableConstKeysIterator):
1208         (WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
1209         (WTF::HashTableConstKeysIterator::get):
1210         (WTF::HashTableConstKeysIterator::operator*):
1211         (WTF::HashTableConstKeysIterator::operator->):
1212         (WTF::HashTableConstKeysIterator::operator++):
1213         (HashTableConstValuesIterator):
1214         (WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
1215         (WTF::HashTableConstValuesIterator::get):
1216         (WTF::HashTableConstValuesIterator::operator*):
1217         (WTF::HashTableConstValuesIterator::operator->):
1218         (WTF::HashTableConstValuesIterator::operator++):
1219         (HashTableKeysIterator):
1220         (WTF::HashTableKeysIterator::HashTableKeysIterator):
1221         (WTF::HashTableKeysIterator::get):
1222         (WTF::HashTableKeysIterator::operator*):
1223         (WTF::HashTableKeysIterator::operator->):
1224         (WTF::HashTableKeysIterator::operator++):
1225         (WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
1226         (HashTableValuesIterator):
1227         (WTF::HashTableValuesIterator::HashTableValuesIterator):
1228         (WTF::HashTableValuesIterator::get):
1229         (WTF::HashTableValuesIterator::operator*):
1230         (WTF::HashTableValuesIterator::operator->):
1231         (WTF::HashTableValuesIterator::operator++):
1232         (WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
1233         (WTF::operator==):
1234         (WTF::operator!=):
1235         * wtf/HashMap.h: Renamed from Source/JavaScriptCore/wtf/HashMap.h.
1236         (WTF):
1237         (ReferenceTypeMaker):
1238         (HashMap):
1239         (WTF::HashMap::keys):
1240         (WTF::HashMap::values):
1241         (HashMapKeysProxy):
1242         (WTF::HashMap::HashMapKeysProxy::begin):
1243         (WTF::HashMap::HashMapKeysProxy::end):
1244         (HashMapValuesProxy):
1245         (WTF::HashMap::HashMapValuesProxy::begin):
1246         (WTF::HashMap::HashMapValuesProxy::end):
1247         (WTF::PairFirstExtractor::extract):
1248         (WTF::HashMapTranslator::hash):
1249         (WTF::HashMapTranslator::equal):
1250         (WTF::HashMapTranslator::translate):
1251         (WTF::HashMapTranslatorAdapter::hash):
1252         (WTF::HashMapTranslatorAdapter::equal):
1253         (WTF::HashMapTranslatorAdapter::translate):
1254         (WTF::::swap):
1255         (WTF::::size):
1256         (WTF::::capacity):
1257         (WTF::::isEmpty):
1258         (WTF::::begin):
1259         (WTF::::end):
1260         (WTF::::find):
1261         (WTF::::contains):
1262         (WTF::::inlineAdd):
1263         (WTF::::set):
1264         (WTF::::add):
1265         (WTF::::get):
1266         (WTF::::remove):
1267         (WTF::::clear):
1268         (WTF::::take):
1269         (WTF::::checkConsistency):
1270         (WTF::operator==):
1271         (WTF::operator!=):
1272         (WTF::deleteAllPairSeconds):
1273         (WTF::deleteAllValues):
1274         (WTF::deleteAllPairFirsts):
1275         (WTF::deleteAllKeys):
1276         (WTF::copyKeysToVector):
1277         (WTF::copyValuesToVector):
1278         * wtf/HashSet.h: Renamed from Source/JavaScriptCore/wtf/HashSet.h.
1279         (WTF):
1280         (HashSet):
1281         (WTF::IdentityExtractor::extract):
1282         (WTF::HashSetTranslatorAdapter::hash):
1283         (WTF::HashSetTranslatorAdapter::equal):
1284         (WTF::HashSetTranslatorAdapter::translate):
1285         (WTF::::swap):
1286         (WTF::::size):
1287         (WTF::::capacity):
1288         (WTF::::isEmpty):
1289         (WTF::::begin):
1290         (WTF::::end):
1291         (WTF::::find):
1292         (WTF::::contains):
1293         (WTF::::add):
1294         (WTF::::remove):
1295         (WTF::::clear):
1296         (WTF::deleteAllValues):
1297         (WTF::fastDeleteAllValues):
1298         (WTF::copyToVector):
1299         * wtf/HashTable.cpp: Renamed from Source/JavaScriptCore/wtf/HashTable.cpp.
1300         (WTF):
1301         (WTF::hashTableStatsMutex):
1302         (WTF::HashTableStats::~HashTableStats):
1303         (WTF::HashTableStats::recordCollisionAtCount):
1304         * wtf/HashTable.h: Renamed from Source/JavaScriptCore/wtf/HashTable.h.
1305         (WTF):
1306         (HashTableStats):
1307         (WTF::addIterator):
1308         (WTF::removeIterator):
1309         (HashTableConstIterator):
1310         (WTF::HashTableConstIterator::skipEmptyBuckets):
1311         (WTF::HashTableConstIterator::HashTableConstIterator):
1312         (WTF::HashTableConstIterator::~HashTableConstIterator):
1313         (WTF::HashTableConstIterator::operator=):
1314         (WTF::HashTableConstIterator::get):
1315         (WTF::HashTableConstIterator::operator*):
1316         (WTF::HashTableConstIterator::operator->):
1317         (WTF::HashTableConstIterator::operator++):
1318         (WTF::HashTableConstIterator::operator==):
1319         (WTF::HashTableConstIterator::operator!=):
1320         (WTF::HashTableConstIterator::checkValidity):
1321         (HashTableIterator):
1322         (WTF::HashTableIterator::HashTableIterator):
1323         (WTF::HashTableIterator::get):
1324         (WTF::HashTableIterator::operator*):
1325         (WTF::HashTableIterator::operator->):
1326         (WTF::HashTableIterator::operator++):
1327         (WTF::HashTableIterator::operator==):
1328         (WTF::HashTableIterator::operator!=):
1329         (WTF::HashTableIterator::operator const_iterator):
1330         (WTF::hashTableSwap):
1331         (IdentityHashTranslator):
1332         (WTF::IdentityHashTranslator::hash):
1333         (WTF::IdentityHashTranslator::equal):
1334         (WTF::IdentityHashTranslator::translate):
1335         (HashTable):
1336         (WTF::HashTable::~HashTable):
1337         (WTF::HashTable::begin):
1338         (WTF::HashTable::end):
1339         (WTF::HashTable::size):
1340         (WTF::HashTable::capacity):
1341         (WTF::HashTable::isEmpty):
1342         (WTF::HashTable::add):
1343         (WTF::HashTable::find):
1344         (WTF::HashTable::contains):
1345         (WTF::HashTable::isEmptyBucket):
1346         (WTF::HashTable::isDeletedBucket):
1347         (WTF::HashTable::isEmptyOrDeletedBucket):
1348         (WTF::HashTable::lookup):
1349         (WTF::HashTable::checkTableConsistency):
1350         (WTF::HashTable::internalCheckTableConsistency):
1351         (WTF::HashTable::internalCheckTableConsistencyExceptSize):
1352         (WTF::HashTable::lookupForWriting):
1353         (WTF::HashTable::shouldExpand):
1354         (WTF::HashTable::mustRehashInPlace):
1355         (WTF::HashTable::shouldShrink):
1356         (WTF::HashTable::shrink):
1357         (WTF::HashTable::deleteBucket):
1358         (WTF::HashTable::makeLookupResult):
1359         (WTF::HashTable::makeIterator):
1360         (WTF::HashTable::makeConstIterator):
1361         (WTF::HashTable::makeKnownGoodIterator):
1362         (WTF::HashTable::makeKnownGoodConstIterator):
1363         (WTF::HashTable::checkTableConsistencyExceptSize):
1364         (WTF::HashTable::invalidateIterators):
1365         (WTF::::HashTable):
1366         (WTF::doubleHash):
1367         (WTF::::checkKey):
1368         (WTF::::lookup):
1369         (WTF::::lookupForWriting):
1370         (WTF::::fullLookupForWriting):
1371         (WTF::::initializeBucket):
1372         (WTF::::add):
1373         (WTF::::addPassingHashCode):
1374         (WTF::::reinsert):
1375         (WTF::::find):
1376         (WTF::::contains):
1377         (WTF::::removeAndInvalidateWithoutEntryConsistencyCheck):
1378         (WTF::::removeAndInvalidate):
1379         (WTF::::remove):
1380         (WTF::::removeWithoutEntryConsistencyCheck):
1381         (WTF::::allocateTable):
1382         (WTF::::deallocateTable):
1383         (WTF::::expand):
1384         (WTF::::rehash):
1385         (WTF::::clear):
1386         (WTF::::swap):
1387         (WTF::=):
1388         (WTF::::checkTableConsistency):
1389         (WTF::::checkTableConsistencyExceptSize):
1390         (WTF::::invalidateIterators):
1391         (WTF::HashTableConstIteratorAdapter::HashTableConstIteratorAdapter):
1392         (HashTableConstIteratorAdapter):
1393         (WTF::HashTableConstIteratorAdapter::get):
1394         (WTF::HashTableConstIteratorAdapter::operator*):
1395         (WTF::HashTableConstIteratorAdapter::operator->):
1396         (WTF::HashTableConstIteratorAdapter::operator++):
1397         (WTF::HashTableIteratorAdapter::HashTableIteratorAdapter):
1398         (HashTableIteratorAdapter):
1399         (WTF::HashTableIteratorAdapter::get):
1400         (WTF::HashTableIteratorAdapter::operator*):
1401         (WTF::HashTableIteratorAdapter::operator->):
1402         (WTF::HashTableIteratorAdapter::operator++):
1403         (WTF::HashTableIteratorAdapter::operator HashTableConstIteratorAdapter<HashTableType, ValueType>):
1404         (WTF::operator==):
1405         (WTF::operator!=):
1406         * wtf/HashTraits.h: Renamed from Source/JavaScriptCore/wtf/HashTraits.h.
1407         (WTF):
1408         (GenericHashTraits):
1409         (WTF::GenericHashTraits::emptyValue):
1410         (WTF::GenericHashTraits::store):
1411         (WTF::GenericHashTraits::passOut):
1412         (WTF::GenericHashTraits::peek):
1413         (FloatHashTraits):
1414         (WTF::FloatHashTraits::emptyValue):
1415         (WTF::FloatHashTraits::constructDeletedValue):
1416         (WTF::FloatHashTraits::isDeletedValue):
1417         (UnsignedWithZeroKeyHashTraits):
1418         (WTF::UnsignedWithZeroKeyHashTraits::emptyValue):
1419         (WTF::UnsignedWithZeroKeyHashTraits::constructDeletedValue):
1420         (WTF::UnsignedWithZeroKeyHashTraits::isDeletedValue):
1421         (SimpleClassHashTraits):
1422         (WTF::SimpleClassHashTraits::constructDeletedValue):
1423         (WTF::SimpleClassHashTraits::isDeletedValue):
1424         (PairHashTraits):
1425         (WTF::PairHashTraits::emptyValue):
1426         (WTF::PairHashTraits::constructDeletedValue):
1427         (WTF::PairHashTraits::isDeletedValue):
1428         * wtf/HexNumber.h: Renamed from Source/JavaScriptCore/wtf/HexNumber.h.
1429         (WTF):
1430         (Internal):
1431         (WTF::Internal::hexDigitsForMode):
1432         (WTF::appendByteAsHex):
1433         (WTF::placeByteAsHexCompressIfPossible):
1434         (WTF::placeByteAsHex):
1435         (WTF::appendUnsignedAsHex):
1436         (WTF::appendUnsignedAsHexFixedSize):
1437         * wtf/InlineASM.h: Renamed from Source/JavaScriptCore/wtf/InlineASM.h.
1438         * wtf/Int16Array.h: Renamed from Source/JavaScriptCore/wtf/Int16Array.h.
1439         (WTF):
1440         (Int16Array):
1441         (WTF::Int16Array::set):
1442         (WTF::Int16Array::isShortArray):
1443         (WTF::Int16Array::create):
1444         (WTF::Int16Array::Int16Array):
1445         (WTF::Int16Array::subarray):
1446         * wtf/Int32Array.h: Renamed from Source/JavaScriptCore/wtf/Int32Array.h.
1447         (WTF):
1448         (Int32Array):
1449         (WTF::Int32Array::set):
1450         (WTF::Int32Array::isIntArray):
1451         (WTF::Int32Array::create):
1452         (WTF::Int32Array::Int32Array):
1453         (WTF::Int32Array::subarray):
1454         * wtf/Int8Array.h: Renamed from Source/JavaScriptCore/wtf/Int8Array.h.
1455         (WTF):
1456         (Int8Array):
1457         (WTF::Int8Array::set):
1458         (WTF::Int8Array::isByteArray):
1459         (WTF::Int8Array::create):
1460         (WTF::Int8Array::Int8Array):
1461         (WTF::Int8Array::subarray):
1462         * wtf/IntegralTypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/IntegralTypedArrayBase.h.
1463         (WTF):
1464         (IntegralTypedArrayBase):
1465         (WTF::IntegralTypedArrayBase::set):
1466         (WTF::IntegralTypedArrayBase::item):
1467         (WTF::IntegralTypedArrayBase::IntegralTypedArrayBase):
1468         * wtf/ListHashSet.h: Renamed from Source/JavaScriptCore/wtf/ListHashSet.h.
1469         (WTF):
1470         (ListHashSet):
1471         (ListHashSetNodeAllocator):
1472         (WTF::ListHashSetNodeAllocator::ListHashSetNodeAllocator):
1473         (WTF::ListHashSetNodeAllocator::allocate):
1474         (WTF::ListHashSetNodeAllocator::deallocate):
1475         (WTF::ListHashSetNodeAllocator::pool):
1476         (WTF::ListHashSetNodeAllocator::pastPool):
1477         (WTF::ListHashSetNodeAllocator::inPool):
1478         (ListHashSetNode):
1479         (WTF::ListHashSetNode::ListHashSetNode):
1480         (WTF::ListHashSetNode::operator new):
1481         (WTF::ListHashSetNode::destroy):
1482         (WTF::ListHashSetNodeHashFunctions::hash):
1483         (WTF::ListHashSetNodeHashFunctions::equal):
1484         (ListHashSetNodeHashFunctions):
1485         (ListHashSetIterator):
1486         (WTF::ListHashSetIterator::ListHashSetIterator):
1487         (WTF::ListHashSetIterator::get):
1488         (WTF::ListHashSetIterator::operator*):
1489         (WTF::ListHashSetIterator::operator->):
1490         (WTF::ListHashSetIterator::operator++):
1491         (WTF::ListHashSetIterator::operator--):
1492         (WTF::ListHashSetIterator::operator==):
1493         (WTF::ListHashSetIterator::operator!=):
1494         (WTF::ListHashSetIterator::operator const_iterator):
1495         (WTF::ListHashSetIterator::node):
1496         (ListHashSetConstIterator):
1497         (WTF::ListHashSetConstIterator::ListHashSetConstIterator):
1498         (WTF::ListHashSetConstIterator::get):
1499         (WTF::ListHashSetConstIterator::operator*):
1500         (WTF::ListHashSetConstIterator::operator->):
1501         (WTF::ListHashSetConstIterator::operator++):
1502         (WTF::ListHashSetConstIterator::operator--):
1503         (WTF::ListHashSetConstIterator::operator==):
1504         (WTF::ListHashSetConstIterator::operator!=):
1505         (WTF::ListHashSetConstIterator::node):
1506         (ListHashSetReverseIterator):
1507         (WTF::ListHashSetReverseIterator::ListHashSetReverseIterator):
1508         (WTF::ListHashSetReverseIterator::get):
1509         (WTF::ListHashSetReverseIterator::operator*):
1510         (WTF::ListHashSetReverseIterator::operator->):
1511         (WTF::ListHashSetReverseIterator::operator++):
1512         (WTF::ListHashSetReverseIterator::operator--):
1513         (WTF::ListHashSetReverseIterator::operator==):
1514         (WTF::ListHashSetReverseIterator::operator!=):
1515         (WTF::ListHashSetReverseIterator::operator const_reverse_iterator):
1516         (WTF::ListHashSetReverseIterator::node):
1517         (ListHashSetConstReverseIterator):
1518         (WTF::ListHashSetConstReverseIterator::ListHashSetConstReverseIterator):
1519         (WTF::ListHashSetConstReverseIterator::get):
1520         (WTF::ListHashSetConstReverseIterator::operator*):
1521         (WTF::ListHashSetConstReverseIterator::operator->):
1522         (WTF::ListHashSetConstReverseIterator::operator++):
1523         (WTF::ListHashSetConstReverseIterator::operator--):
1524         (WTF::ListHashSetConstReverseIterator::operator==):
1525         (WTF::ListHashSetConstReverseIterator::operator!=):
1526         (WTF::ListHashSetConstReverseIterator::node):
1527         (WTF::ListHashSetTranslator::hash):
1528         (WTF::ListHashSetTranslator::equal):
1529         (WTF::ListHashSetTranslator::translate):
1530         (WTF::::ListHashSet):
1531         (WTF::=):
1532         (WTF::::swap):
1533         (WTF::::~ListHashSet):
1534         (WTF::::size):
1535         (WTF::::capacity):
1536         (WTF::::isEmpty):
1537         (WTF::::begin):
1538         (WTF::::end):
1539         (WTF::::rbegin):
1540         (WTF::::rend):
1541         (WTF::::first):
1542         (WTF::::last):
1543         (WTF::::removeLast):
1544         (WTF::::find):
1545         (WTF::ListHashSetTranslatorAdapter::hash):
1546         (WTF::ListHashSetTranslatorAdapter::equal):
1547         (WTF::::contains):
1548         (WTF::::add):
1549         (WTF::::insertBefore):
1550         (WTF::::remove):
1551         (WTF::::clear):
1552         (WTF::::unlinkAndDelete):
1553         (WTF::::appendNode):
1554         (WTF::::insertNodeBefore):
1555         (WTF::::deleteAllNodes):
1556         (WTF::::makeReverseIterator):
1557         (WTF::::makeConstReverseIterator):
1558         (WTF::::makeIterator):
1559         (WTF::::makeConstIterator):
1560         (WTF::deleteAllValues):
1561         * wtf/ListRefPtr.h: Renamed from Source/JavaScriptCore/wtf/ListRefPtr.h.
1562         (WTF):
1563         (ListRefPtr):
1564         (WTF::ListRefPtr::ListRefPtr):
1565         (WTF::ListRefPtr::~ListRefPtr):
1566         (WTF::ListRefPtr::operator=):
1567         (WTF::getPtr):
1568         * wtf/Locker.h: Renamed from Source/JavaScriptCore/wtf/Locker.h.
1569         (WTF):
1570         (Locker):
1571         (WTF::Locker::Locker):
1572         (WTF::Locker::~Locker):
1573         * wtf/MD5.cpp: Renamed from Source/JavaScriptCore/wtf/MD5.cpp.
1574         (WTF):
1575         (WTF::testMD5):
1576         (WTF::expectMD5):
1577         (WTF::reverseBytes):
1578         (WTF::MD5Transform):
1579         (WTF::MD5::MD5):
1580         (WTF::MD5::addBytes):
1581         (WTF::MD5::checksum):
1582         * wtf/MD5.h: Renamed from Source/JavaScriptCore/wtf/MD5.h.
1583         (WTF):
1584         (MD5):
1585         (WTF::MD5::addBytes):
1586         * wtf/MainThread.cpp: Renamed from Source/JavaScriptCore/wtf/MainThread.cpp.
1587         (WTF):
1588         (FunctionWithContext):
1589         (WTF::FunctionWithContext::FunctionWithContext):
1590         (WTF::FunctionWithContext::operator == ):
1591         (FunctionWithContextFinder):
1592         (WTF::FunctionWithContextFinder::FunctionWithContextFinder):
1593         (WTF::FunctionWithContextFinder::operator()):
1594         (WTF::mainThreadFunctionQueueMutex):
1595         (WTF::functionQueue):
1596         (WTF::initializeMainThread):
1597         (WTF::initializeMainThreadOnce):
1598         (WTF::initializeMainThreadToProcessMainThreadOnce):
1599         (WTF::initializeMainThreadToProcessMainThread):
1600         (WTF::dispatchFunctionsFromMainThread):
1601         (WTF::callOnMainThread):
1602         (WTF::callOnMainThreadAndWait):
1603         (WTF::cancelCallOnMainThread):
1604         (WTF::callFunctionObject):
1605         (WTF::setMainThreadCallbacksPaused):
1606         (WTF::isMainThread):
1607         (WTF::initializeGCThreads):
1608         (WTF::registerGCThread):
1609         (WTF::isMainThreadOrGCThread):
1610         * wtf/MainThread.h: Renamed from Source/JavaScriptCore/wtf/MainThread.h.
1611         (WTF):
1612         (WTF::isMainThreadOrGCThread):
1613         * wtf/MallocZoneSupport.h: Renamed from Source/JavaScriptCore/wtf/MallocZoneSupport.h.
1614         (WTF):
1615         (RemoteMemoryReader):
1616         (WTF::RemoteMemoryReader::RemoteMemoryReader):
1617         (WTF::RemoteMemoryReader::operator()):
1618         (WTF::RemoteMemoryReader::nextEntryInLinkedList):
1619         * wtf/MathExtras.h: Renamed from Source/JavaScriptCore/wtf/MathExtras.h.
1620         (wtf_ceil):
1621         (isfinite):
1622         (isinf):
1623         (signbit):
1624         (round):
1625         (roundf):
1626         (llround):
1627         (llroundf):
1628         (lround):
1629         (lroundf):
1630         (trunc):
1631         (abs):
1632         (isnan):
1633         (nextafter):
1634         (nextafterf):
1635         (copysign):
1636         (log2):
1637         (log2f):
1638         (wtf_atan2):
1639         (wtf_fmod):
1640         (wtf_pow):
1641         (deg2rad):
1642         (rad2deg):
1643         (deg2grad):
1644         (grad2deg):
1645         (turn2deg):
1646         (deg2turn):
1647         (rad2grad):
1648         (grad2rad):
1649         (defaultMinimumForClamp):
1650         (defaultMaximumForClamp):
1651         (clampTo):
1652         (clampToInteger):
1653         (clampToFloat):
1654         (clampToPositiveInteger):
1655         (isWithinIntRange):
1656         (decomposeDouble):
1657         (doubleToInteger):
1658         * wtf/MessageQueue.h: Renamed from Source/JavaScriptCore/wtf/MessageQueue.h.
1659         (WTF):
1660         (MessageQueue):
1661         (WTF::MessageQueue::MessageQueue):
1662         (WTF::MessageQueue::infiniteTime):
1663         (WTF::MessageQueue::alwaysTruePredicate):
1664         (WTF::::~MessageQueue):
1665         (WTF::::append):
1666         (WTF::::appendAndCheckEmpty):
1667         (WTF::::prepend):
1668         (WTF::::waitForMessage):
1669         (WTF::::waitForMessageFilteredWithTimeout):
1670         (WTF::::tryGetMessage):
1671         (WTF::::tryGetMessageIgnoringKilled):
1672         (WTF::::removeIf):
1673         (WTF::::isEmpty):
1674         (WTF::::kill):
1675         (WTF::::killed):
1676         * wtf/MetaAllocator.cpp: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.cpp.
1677         (WTF):
1678         (WTF::MetaAllocator::~MetaAllocator):
1679         (WTF::MetaAllocatorTracker::notify):
1680         (WTF::MetaAllocatorTracker::release):
1681         (WTF::MetaAllocator::release):
1682         (WTF::MetaAllocatorHandle::MetaAllocatorHandle):
1683         (WTF::MetaAllocatorHandle::~MetaAllocatorHandle):
1684         (WTF::MetaAllocatorHandle::shrink):
1685         (WTF::MetaAllocator::MetaAllocator):
1686         (WTF::MetaAllocator::allocate):
1687         (WTF::MetaAllocator::currentStatistics):
1688         (WTF::MetaAllocator::findAndRemoveFreeSpace):
1689         (WTF::MetaAllocator::addFreeSpaceFromReleasedHandle):
1690         (WTF::MetaAllocator::addFreshFreeSpace):
1691         (WTF::MetaAllocator::debugFreeSpaceSize):
1692         (WTF::MetaAllocator::addFreeSpace):
1693         (WTF::MetaAllocator::incrementPageOccupancy):
1694         (WTF::MetaAllocator::decrementPageOccupancy):
1695         (WTF::MetaAllocator::roundUp):
1696         (WTF::MetaAllocator::allocFreeSpaceNode):
1697         (WTF::MetaAllocator::freeFreeSpaceNode):
1698         (WTF::MetaAllocator::dumpProfile):
1699         * wtf/MetaAllocator.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.h.
1700         (WTF):
1701         (MetaAllocatorTracker):
1702         (WTF::MetaAllocatorTracker::find):
1703         (MetaAllocator):
1704         (WTF::MetaAllocator::trackAllocations):
1705         (WTF::MetaAllocator::bytesAllocated):
1706         (WTF::MetaAllocator::bytesReserved):
1707         (WTF::MetaAllocator::bytesCommitted):
1708         (Statistics):
1709         (WTF::MetaAllocator::dumpProfile):
1710         (FreeSpaceNode):
1711         (WTF::MetaAllocator::FreeSpaceNode::FreeSpaceNode):
1712         (WTF::MetaAllocator::FreeSpaceNode::key):
1713         * wtf/MetaAllocatorHandle.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocatorHandle.h.
1714         (WTF):
1715         (MetaAllocatorHandle):
1716         (WTF::MetaAllocatorHandle::start):
1717         (WTF::MetaAllocatorHandle::end):
1718         (WTF::MetaAllocatorHandle::sizeInBytes):
1719         (WTF::MetaAllocatorHandle::isManaged):
1720         (WTF::MetaAllocatorHandle::allocator):
1721         (WTF::MetaAllocatorHandle::ownerUID):
1722         (WTF::MetaAllocatorHandle::key):
1723         * wtf/NonCopyingSort.h: Renamed from Source/JavaScriptCore/wtf/NonCopyingSort.h.
1724         (WTF):
1725         (WTF::siftDown):
1726         (WTF::heapify):
1727         (WTF::heapSort):
1728         (WTF::nonCopyingSort):
1729         * wtf/Noncopyable.h: Renamed from Source/JavaScriptCore/wtf/Noncopyable.h.
1730         * wtf/NotFound.h: Renamed from Source/JavaScriptCore/wtf/NotFound.h.
1731         (WTF):
1732         * wtf/NullPtr.cpp: Renamed from Source/JavaScriptCore/wtf/NullPtr.cpp.
1733         * wtf/NullPtr.h: Renamed from Source/JavaScriptCore/wtf/NullPtr.h.
1734         * wtf/NumberOfCores.cpp: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.cpp.
1735         (WTF):
1736         (WTF::numberOfProcessorCores):
1737         * wtf/NumberOfCores.h: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.h.
1738         (WTF):
1739         * wtf/OSAllocator.h: Renamed from Source/JavaScriptCore/wtf/OSAllocator.h.
1740         (WTF):
1741         (OSAllocator):
1742         (WTF::OSAllocator::reserveAndCommit):
1743         (WTF::OSAllocator::decommitAndRelease):
1744         (WTF::OSAllocator::reallocateCommitted):
1745         * wtf/OSAllocatorPosix.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp.
1746         (WTF):
1747         (WTF::OSAllocator::reserveUncommitted):
1748         (WTF::OSAllocator::reserveAndCommit):
1749         (WTF::OSAllocator::commit):
1750         (WTF::OSAllocator::decommit):
1751         (WTF::OSAllocator::releaseDecommitted):
1752         * wtf/OSAllocatorWin.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorWin.cpp.
1753         (WTF):
1754         (WTF::protection):
1755         (WTF::OSAllocator::reserveUncommitted):
1756         (WTF::OSAllocator::reserveAndCommit):
1757         (WTF::OSAllocator::commit):
1758         (WTF::OSAllocator::decommit):
1759         (WTF::OSAllocator::releaseDecommitted):
1760         * wtf/OSRandomSource.cpp: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.cpp.
1761         (WTF):
1762         (WTF::cryptographicallyRandomValuesFromOS):
1763         * wtf/OSRandomSource.h: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.h.
1764         (WTF):
1765         * wtf/OwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnArrayPtr.h.
1766         (WTF):
1767         (OwnArrayPtr):
1768         (WTF::OwnArrayPtr::OwnArrayPtr):
1769         (WTF::OwnArrayPtr::~OwnArrayPtr):
1770         (WTF::OwnArrayPtr::get):
1771         (WTF::OwnArrayPtr::operator*):
1772         (WTF::OwnArrayPtr::operator->):
1773         (WTF::OwnArrayPtr::operator[]):
1774         (WTF::OwnArrayPtr::operator!):
1775         (WTF::OwnArrayPtr::operator UnspecifiedBoolType):
1776         (WTF::OwnArrayPtr::operator=):
1777         (WTF::OwnArrayPtr::swap):
1778         (WTF::::OwnArrayPtr):
1779         (WTF::::clear):
1780         (WTF::::release):
1781         (WTF::::leakPtr):
1782         (WTF::=):
1783         (WTF::swap):
1784         (WTF::operator==):
1785         (WTF::operator!=):
1786         (WTF::getPtr):
1787         * wtf/OwnPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnPtr.h.
1788         (WTF):
1789         (OwnPtr):
1790         (WTF::OwnPtr::OwnPtr):
1791         (WTF::OwnPtr::~OwnPtr):
1792         (WTF::OwnPtr::get):
1793         (WTF::OwnPtr::operator*):
1794         (WTF::OwnPtr::operator->):
1795         (WTF::OwnPtr::operator!):
1796         (WTF::OwnPtr::operator UnspecifiedBoolType):
1797         (WTF::OwnPtr::operator=):
1798         (WTF::OwnPtr::swap):
1799         (WTF::OwnPtr::operator==):
1800         (WTF::OwnPtr::operator!=):
1801         (WTF::::OwnPtr):
1802         (WTF::::clear):
1803         (WTF::::release):
1804         (WTF::::leakPtr):
1805         (WTF::=):
1806         (WTF::swap):
1807         (WTF::operator==):
1808         (WTF::operator!=):
1809         (WTF::getPtr):
1810         * wtf/OwnPtrCommon.h: Renamed from Source/JavaScriptCore/wtf/OwnPtrCommon.h.
1811         (WTF):
1812         (WTF::deleteOwnedPtr):
1813         * wtf/PackedIntVector.h: Renamed from Source/JavaScriptCore/wtf/PackedIntVector.h.
1814         (WTF):
1815         (PackedIntVector):
1816         (WTF::PackedIntVector::PackedIntVector):
1817         (WTF::PackedIntVector::operator=):
1818         (WTF::PackedIntVector::size):
1819         (WTF::PackedIntVector::ensureSize):
1820         (WTF::PackedIntVector::resize):
1821         (WTF::PackedIntVector::clearAll):
1822         (WTF::PackedIntVector::get):
1823         (WTF::PackedIntVector::set):
1824         (WTF::PackedIntVector::mask):
1825         * wtf/PageAllocation.h: Renamed from Source/JavaScriptCore/wtf/PageAllocation.h.
1826         (WTF):
1827         (PageAllocation):
1828         (WTF::PageAllocation::PageAllocation):
1829         (WTF::PageAllocation::operator bool):
1830         (WTF::PageAllocation::allocate):
1831         (WTF::PageAllocation::deallocate):
1832         * wtf/PageAllocationAligned.cpp: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.cpp.
1833         (WTF):
1834         (WTF::PageAllocationAligned::allocate):
1835         (WTF::PageAllocationAligned::deallocate):
1836         * wtf/PageAllocationAligned.h: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.h.
1837         (WTF):
1838         (PageAllocationAligned):
1839         (WTF::PageAllocationAligned::PageAllocationAligned):
1840         * wtf/PageBlock.cpp: Renamed from Source/JavaScriptCore/wtf/PageBlock.cpp.
1841         (WTF):
1842         (WTF::systemPageSize):
1843         (WTF::pageSize):
1844         (WTF::pageMask):
1845         * wtf/PageBlock.h: Renamed from Source/JavaScriptCore/wtf/PageBlock.h.
1846         (WTF):
1847         (WTF::isPageAligned):
1848         (WTF::isPowerOfTwo):
1849         (PageBlock):
1850         (WTF::PageBlock::base):
1851         (WTF::PageBlock::size):
1852         (WTF::PageBlock::operator bool):
1853         (WTF::PageBlock::contains):
1854         (WTF::PageBlock::PageBlock):
1855         * wtf/PageReservation.h: Renamed from Source/JavaScriptCore/wtf/PageReservation.h.
1856         (WTF):
1857         (PageReservation):
1858         (WTF::PageReservation::PageReservation):
1859         (WTF::PageReservation::operator bool):
1860         (WTF::PageReservation::commit):
1861         (WTF::PageReservation::decommit):
1862         (WTF::PageReservation::committed):
1863         (WTF::PageReservation::reserve):
1864         (WTF::PageReservation::reserveWithGuardPages):
1865         (WTF::PageReservation::deallocate):
1866         * wtf/ParallelJobs.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobs.h.
1867         (WTF):
1868         (ParallelJobs):
1869         (WTF::ParallelJobs::ParallelJobs):
1870         (WTF::ParallelJobs::numberOfJobs):
1871         (WTF::ParallelJobs::parameter):
1872         (WTF::ParallelJobs::execute):
1873         * wtf/ParallelJobsGeneric.cpp: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.cpp.
1874         (WTF):
1875         (WTF::ParallelEnvironment::ParallelEnvironment):
1876         (WTF::ParallelEnvironment::execute):
1877         (WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
1878         (WTF::ParallelEnvironment::ThreadPrivate::execute):
1879         (WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
1880         (WTF::ParallelEnvironment::ThreadPrivate::workerThread):
1881         * wtf/ParallelJobsGeneric.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.h.
1882         (WTF):
1883         (ParallelEnvironment):
1884         (WTF::ParallelEnvironment::numberOfJobs):
1885         (ThreadPrivate):
1886         (WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
1887         (WTF::ParallelEnvironment::ThreadPrivate::create):
1888         * wtf/ParallelJobsLibdispatch.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsLibdispatch.h.
1889         (WTF):
1890         (ParallelEnvironment):
1891         (WTF::ParallelEnvironment::ParallelEnvironment):
1892         (WTF::ParallelEnvironment::numberOfJobs):
1893         (WTF::ParallelEnvironment::execute):
1894         * wtf/ParallelJobsOpenMP.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsOpenMP.h.
1895         (WTF):
1896         (ParallelEnvironment):
1897         (WTF::ParallelEnvironment::ParallelEnvironment):
1898         (WTF::ParallelEnvironment::numberOfJobs):
1899         (WTF::ParallelEnvironment::execute):
1900         * wtf/PassOwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnArrayPtr.h.
1901         (WTF):
1902         (PassOwnArrayPtr):
1903         (WTF::PassOwnArrayPtr::PassOwnArrayPtr):
1904         (WTF::PassOwnArrayPtr::~PassOwnArrayPtr):
1905         (WTF::PassOwnArrayPtr::get):
1906         (WTF::PassOwnArrayPtr::operator*):
1907         (WTF::PassOwnArrayPtr::operator->):
1908         (WTF::PassOwnArrayPtr::operator!):
1909         (WTF::PassOwnArrayPtr::operator UnspecifiedBoolType):
1910         (WTF::PassOwnArrayPtr::operator=):
1911         (WTF::::leakPtr):
1912         (WTF::operator==):
1913         (WTF::operator!=):
1914         (WTF::adoptArrayPtr):
1915         (WTF::deleteOwnedArrayPtr):
1916         (WTF::static_pointer_cast):
1917         (WTF::const_pointer_cast):
1918         (WTF::getPtr):
1919         * wtf/PassOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnPtr.h.
1920         (WTF):
1921         (PassOwnPtr):
1922         (WTF::PassOwnPtr::PassOwnPtr):
1923         (WTF::PassOwnPtr::~PassOwnPtr):
1924         (WTF::PassOwnPtr::get):
1925         (WTF::PassOwnPtr::operator*):
1926         (WTF::PassOwnPtr::operator->):
1927         (WTF::PassOwnPtr::operator!):
1928         (WTF::PassOwnPtr::operator UnspecifiedBoolType):
1929         (WTF::PassOwnPtr::operator=):
1930         (WTF::PassOwnPtr::operator==):
1931         (WTF::PassOwnPtr::operator!=):
1932         (WTF::::leakPtr):
1933         (WTF::operator==):
1934         (WTF::operator!=):
1935         (WTF::adoptPtr):
1936         (WTF::static_pointer_cast):
1937         (WTF::const_pointer_cast):
1938         (WTF::getPtr):
1939         * wtf/PassRefPtr.h: Renamed from Source/JavaScriptCore/wtf/PassRefPtr.h.
1940         (WTF):
1941         (WTF::adopted):
1942         (WTF::refIfNotNull):
1943         (WTF::derefIfNotNull):
1944         (PassRefPtr):
1945         (WTF::PassRefPtr::PassRefPtr):
1946         (WTF::PassRefPtr::~PassRefPtr):
1947         (WTF::PassRefPtr::get):
1948         (WTF::PassRefPtr::operator*):
1949         (WTF::PassRefPtr::operator->):
1950         (WTF::PassRefPtr::operator!):
1951         (WTF::PassRefPtr::operator UnspecifiedBoolType):
1952         (WTF::PassRefPtr::operator=):
1953         (NonNullPassRefPtr):
1954         (WTF::NonNullPassRefPtr::NonNullPassRefPtr):
1955         (WTF::NonNullPassRefPtr::~NonNullPassRefPtr):
1956         (WTF::NonNullPassRefPtr::get):
1957         (WTF::NonNullPassRefPtr::operator*):
1958         (WTF::NonNullPassRefPtr::operator->):
1959         (WTF::NonNullPassRefPtr::operator=):
1960         (WTF::::PassRefPtr):
1961         (WTF::::leakRef):
1962         (WTF::operator==):
1963         (WTF::operator!=):
1964         (WTF::adoptRef):
1965         (WTF::static_pointer_cast):
1966         (WTF::const_pointer_cast):
1967         (WTF::getPtr):
1968         * wtf/PassTraits.h: Renamed from Source/JavaScriptCore/wtf/PassTraits.h.
1969         (WTF):
1970         (PassTraits):
1971         (WTF::PassTraits::transfer):
1972         * wtf/PlatformBlackBerry.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformBlackBerry.cmake.
1973         * wtf/PlatformEfl.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformEfl.cmake.
1974         * wtf/PlatformWinCE.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformWinCE.cmake.
1975         * wtf/PossiblyNull.h: Renamed from Source/JavaScriptCore/wtf/PossiblyNull.h.
1976         (WTF):
1977         (WTF::PossiblyNull::PossiblyNull):
1978         (WTF::PossiblyNull::~PossiblyNull):
1979         (PossiblyNull):
1980         (WTF::::getValue):
1981         * wtf/RandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/RandomNumber.cpp.
1982         (WTF):
1983         (WTF::randomNumber):
1984         * wtf/RandomNumber.h: Renamed from Source/JavaScriptCore/wtf/RandomNumber.h.
1985         (WTF):
1986         * wtf/RandomNumberSeed.h: Renamed from Source/JavaScriptCore/wtf/RandomNumberSeed.h.
1987         (WTF):
1988         (WTF::initializeRandomNumberGenerator):
1989         * wtf/RedBlackTree.h: Renamed from Source/JavaScriptCore/wtf/RedBlackTree.h.
1990         (WTF):
1991         (RedBlackTree):
1992         (Node):
1993         (WTF::RedBlackTree::Node::successor):
1994         (WTF::RedBlackTree::Node::predecessor):
1995         (WTF::RedBlackTree::Node::reset):
1996         (WTF::RedBlackTree::Node::parent):
1997         (WTF::RedBlackTree::Node::setParent):
1998         (WTF::RedBlackTree::Node::left):
1999         (WTF::RedBlackTree::Node::setLeft):
2000         (WTF::RedBlackTree::Node::right):
2001         (WTF::RedBlackTree::Node::setRight):
2002         (WTF::RedBlackTree::Node::color):
2003         (WTF::RedBlackTree::Node::setColor):
2004         (WTF::RedBlackTree::RedBlackTree):
2005         (WTF::RedBlackTree::insert):
2006         (WTF::RedBlackTree::remove):
2007         (WTF::RedBlackTree::findExact):
2008         (WTF::RedBlackTree::findLeastGreaterThanOrEqual):
2009         (WTF::RedBlackTree::findGreatestLessThanOrEqual):
2010         (WTF::RedBlackTree::first):
2011         (WTF::RedBlackTree::last):
2012         (WTF::RedBlackTree::size):
2013         (WTF::RedBlackTree::isEmpty):
2014         (WTF::RedBlackTree::treeMinimum):
2015         (WTF::RedBlackTree::treeMaximum):
2016         (WTF::RedBlackTree::treeInsert):
2017         (WTF::RedBlackTree::leftRotate):
2018         (WTF::RedBlackTree::rightRotate):
2019         (WTF::RedBlackTree::removeFixup):
2020         * wtf/RefCounted.h: Renamed from Source/JavaScriptCore/wtf/RefCounted.h.
2021         (WTF):
2022         (RefCountedBase):
2023         (WTF::RefCountedBase::ref):
2024         (WTF::RefCountedBase::hasOneRef):
2025         (WTF::RefCountedBase::refCount):
2026         (WTF::RefCountedBase::turnOffVerifier):
2027         (WTF::RefCountedBase::relaxAdoptionRequirement):
2028         (WTF::RefCountedBase::addressOfCount):
2029         (WTF::RefCountedBase::RefCountedBase):
2030         (WTF::RefCountedBase::~RefCountedBase):
2031         (WTF::RefCountedBase::derefBase):
2032         (WTF::RefCountedBase::deletionHasBegun):
2033         (WTF::adopted):
2034         (RefCounted):
2035         (WTF::RefCounted::deref):
2036         (WTF::RefCounted::RefCounted):
2037         (WTF::RefCounted::~RefCounted):
2038         (RefCountedCustomAllocated):
2039         (WTF::RefCountedCustomAllocated::deref):
2040         (WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
2041         (WTF::RefCountedBase::setMutexForVerifier):
2042         (WTF::RefCountedBase::setDispatchQueueForVerifier):
2043         * wtf/RefCountedArray.h: Renamed from Source/JavaScriptCore/wtf/RefCountedArray.h.
2044         (WTF):
2045         (RefCountedArray):
2046         (WTF::RefCountedArray::RefCountedArray):
2047         (WTF::RefCountedArray::operator=):
2048         (WTF::RefCountedArray::~RefCountedArray):
2049         (WTF::RefCountedArray::size):
2050         (WTF::RefCountedArray::data):
2051         (WTF::RefCountedArray::begin):
2052         (WTF::RefCountedArray::end):
2053         (WTF::RefCountedArray::at):
2054         (WTF::RefCountedArray::operator[]):
2055         (Header):
2056         (WTF::RefCountedArray::Header::size):
2057         (WTF::RefCountedArray::Header::payload):
2058         (WTF::RefCountedArray::Header::fromPayload):
2059         * wtf/RefCountedLeakCounter.cpp: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.cpp.
2060         (WTF):
2061         (WTF::RefCountedLeakCounter::suppressMessages):
2062         (WTF::RefCountedLeakCounter::cancelMessageSuppression):
2063         (WTF::RefCountedLeakCounter::RefCountedLeakCounter):
2064         (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
2065         (WTF::RefCountedLeakCounter::increment):
2066         (WTF::RefCountedLeakCounter::decrement):
2067         * wtf/RefCountedLeakCounter.h: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.h.
2068         (WTF):
2069         (RefCountedLeakCounter):
2070         * wtf/RefPtr.h: Renamed from Source/JavaScriptCore/wtf/RefPtr.h.
2071         (WTF):
2072         (RefPtr):
2073         (WTF::RefPtr::RefPtr):
2074         (WTF::RefPtr::isHashTableDeletedValue):
2075         (WTF::RefPtr::~RefPtr):
2076         (WTF::RefPtr::get):
2077         (WTF::RefPtr::release):
2078         (WTF::RefPtr::operator*):
2079         (WTF::RefPtr::operator->):
2080         (WTF::RefPtr::operator!):
2081         (WTF::RefPtr::operator UnspecifiedBoolType):
2082         (WTF::RefPtr::operator=):
2083         (WTF::RefPtr::hashTableDeletedValue):
2084         (WTF::::RefPtr):
2085         (WTF::::clear):
2086         (WTF::=):
2087         (WTF::::swap):
2088         (WTF::swap):
2089         (WTF::operator==):
2090         (WTF::operator!=):
2091         (WTF::static_pointer_cast):
2092         (WTF::const_pointer_cast):
2093         (WTF::getPtr):
2094         * wtf/RefPtrHashMap.h: Renamed from Source/JavaScriptCore/wtf/RefPtrHashMap.h.
2095         (WTF):
2096         (WTF::::swap):
2097         (WTF::::size):
2098         (WTF::::capacity):
2099         (WTF::::isEmpty):
2100         (WTF::::begin):
2101         (WTF::::end):
2102         (WTF::::find):
2103         (WTF::::contains):
2104         (WTF::::inlineAdd):
2105         (WTF::::set):
2106         (WTF::::add):
2107         (WTF::::get):
2108         (WTF::::inlineGet):
2109         (WTF::::remove):
2110         (WTF::::clear):
2111         (WTF::::take):
2112         * wtf/RetainPtr.h: Renamed from Source/JavaScriptCore/wtf/RetainPtr.h.
2113         (WTF):
2114         (WTF::adoptNSReference):
2115         (RetainPtr):
2116         (WTF::RetainPtr::RetainPtr):
2117         (WTF::RetainPtr::isHashTableDeletedValue):
2118         (WTF::RetainPtr::~RetainPtr):
2119         (WTF::RetainPtr::get):
2120         (WTF::RetainPtr::operator->):
2121         (WTF::RetainPtr::operator!):
2122         (WTF::RetainPtr::operator UnspecifiedBoolType):
2123         (WTF::RetainPtr::operator=):
2124         (WTF::RetainPtr::hashTableDeletedValue):
2125         (WTF::::RetainPtr):
2126         (WTF::::clear):
2127         (WTF::::leakRef):
2128         (WTF::=):
2129         (WTF::::adoptCF):
2130         (WTF::::adoptNS):
2131         (WTF::::swap):
2132         (WTF::swap):
2133         (WTF::operator==):
2134         (WTF::operator!=):
2135         (WTF::adoptCF):
2136         (WTF::adoptNS):
2137         (WTF::retainPtr):
2138         * wtf/SHA1.cpp: Renamed from Source/JavaScriptCore/wtf/SHA1.cpp.
2139         (WTF):
2140         (WTF::testSHA1):
2141         (WTF::expectSHA1):
2142         (WTF::f):
2143         (WTF::k):
2144         (WTF::rotateLeft):
2145         (WTF::SHA1::SHA1):
2146         (WTF::SHA1::addBytes):
2147         (WTF::SHA1::computeHash):
2148         (WTF::SHA1::finalize):
2149         (WTF::SHA1::processBlock):
2150         (WTF::SHA1::reset):
2151         * wtf/SHA1.h: Renamed from Source/JavaScriptCore/wtf/SHA1.h.
2152         (WTF):
2153         (SHA1):
2154         (WTF::SHA1::addBytes):
2155         * wtf/SegmentedVector.h: Renamed from Source/JavaScriptCore/wtf/SegmentedVector.h.
2156         (WTF):
2157         (SegmentedVectorIterator):
2158         (WTF::SegmentedVectorIterator::~SegmentedVectorIterator):
2159         (WTF::SegmentedVectorIterator::operator*):
2160         (WTF::SegmentedVectorIterator::operator->):
2161         (WTF::SegmentedVectorIterator::operator++):
2162         (WTF::SegmentedVectorIterator::operator==):
2163         (WTF::SegmentedVectorIterator::operator!=):
2164         (WTF::SegmentedVectorIterator::operator=):
2165         (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
2166         (SegmentedVector):
2167         (WTF::SegmentedVector::SegmentedVector):
2168         (WTF::SegmentedVector::~SegmentedVector):
2169         (WTF::SegmentedVector::size):
2170         (WTF::SegmentedVector::isEmpty):
2171         (WTF::SegmentedVector::at):
2172         (WTF::SegmentedVector::operator[]):
2173         (WTF::SegmentedVector::last):
2174         (WTF::SegmentedVector::append):
2175         (WTF::SegmentedVector::alloc):
2176         (WTF::SegmentedVector::removeLast):
2177         (WTF::SegmentedVector::grow):
2178         (WTF::SegmentedVector::clear):
2179         (WTF::SegmentedVector::begin):
2180         (WTF::SegmentedVector::end):
2181         (WTF::SegmentedVector::deleteAllSegments):
2182         (WTF::SegmentedVector::segmentExistsFor):
2183         (WTF::SegmentedVector::segmentFor):
2184         (WTF::SegmentedVector::subscriptFor):
2185         (WTF::SegmentedVector::ensureSegmentsFor):
2186         (WTF::SegmentedVector::ensureSegment):
2187         * wtf/SentinelLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SentinelLinkedList.h.
2188         (WTF):
2189         (BasicRawSentinelNode):
2190         (WTF::BasicRawSentinelNode::BasicRawSentinelNode):
2191         (WTF::BasicRawSentinelNode::setPrev):
2192         (WTF::BasicRawSentinelNode::setNext):
2193         (WTF::BasicRawSentinelNode::prev):
2194         (WTF::BasicRawSentinelNode::next):
2195         (WTF::BasicRawSentinelNode::isOnList):
2196         (SentinelLinkedList):
2197         (WTF::SentinelLinkedList::isEmpty):
2198         (WTF::::remove):
2199         (WTF::::SentinelLinkedList):
2200         (WTF::::begin):
2201         (WTF::::end):
2202         (WTF::::push):
2203         * wtf/SimpleStats.h: Renamed from Source/JavaScriptCore/wtf/SimpleStats.h.
2204         (WTF):
2205         (SimpleStats):
2206         (WTF::SimpleStats::SimpleStats):
2207         (WTF::SimpleStats::add):
2208         (WTF::SimpleStats::operator!):
2209         (WTF::SimpleStats::count):
2210         (WTF::SimpleStats::sum):
2211         (WTF::SimpleStats::sumOfSquares):
2212         (WTF::SimpleStats::mean):
2213         (WTF::SimpleStats::variance):
2214         (WTF::SimpleStats::standardDeviation):
2215         * wtf/SinglyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SinglyLinkedList.h.
2216         (WTF):
2217         (SinglyLinkedList):
2218         (WTF::::SinglyLinkedList):
2219         (WTF::::isEmpty):
2220         (WTF::::push):
2221         (WTF::::pop):
2222         * wtf/SizeLimits.cpp: Renamed from Source/JavaScriptCore/wtf/SizeLimits.cpp.
2223         (WTF):
2224         (SameSizeAsRefCounted):
2225         * wtf/Spectrum.h: Renamed from Source/JavaScriptCore/wtf/Spectrum.h.
2226         (WTF):
2227         (Spectrum):
2228         (WTF::Spectrum::Spectrum):
2229         (WTF::Spectrum::add):
2230         (WTF::Spectrum::get):
2231         (WTF::Spectrum::begin):
2232         (WTF::Spectrum::end):
2233         (WTF::Spectrum::KeyAndCount::KeyAndCount):
2234         (KeyAndCount):
2235         (WTF::Spectrum::KeyAndCount::operator<):
2236         (WTF::Spectrum::buildList):
2237         * wtf/StackBounds.cpp: Renamed from Source/JavaScriptCore/wtf/StackBounds.cpp.
2238         (WTF):
2239         (WTF::estimateStackBound):
2240         (WTF::StackBounds::initialize):
2241         (WTF::detectGrowingDownward):
2242         (WTF::isPageWritable):
2243         (WTF::getLowerStackBound):
2244         (WTF::getUpperStackBound):
2245         * wtf/StackBounds.h: Renamed from Source/JavaScriptCore/wtf/StackBounds.h.
2246         (WTF):
2247         (StackBounds):
2248         (WTF::StackBounds::StackBounds):
2249         (WTF::StackBounds::currentThreadStackBounds):
2250         (WTF::StackBounds::origin):
2251         (WTF::StackBounds::current):
2252         (WTF::StackBounds::recursionLimit):
2253         (WTF::StackBounds::recursionCheck):
2254         (WTF::StackBounds::isGrowingDownward):
2255         (WTF::StackBounds::checkConsistency):
2256         * wtf/StaticConstructors.h: Renamed from Source/JavaScriptCore/wtf/StaticConstructors.h.
2257         * wtf/StdLibExtras.h: Renamed from Source/JavaScriptCore/wtf/StdLibExtras.h.
2258         (isPointerTypeAlignmentOkay):
2259         (reinterpret_cast_ptr):
2260         (WTF):
2261         (WTF::isPointerAligned):
2262         (WTF::is8ByteAligned):
2263         (WTF::bitwise_cast):
2264         (WTF::safeCast):
2265         (WTF::bitCount):
2266         (WTF::roundUpToMultipleOf):
2267         (WTF::binarySearch):
2268         (WTF::binarySearchWithFunctor):
2269         (WTF::genericBinarySearch):
2270         (operator new):
2271         * wtf/StringExtras.cpp: Renamed from Source/JavaScriptCore/wtf/StringExtras.cpp.
2272         (strcasecmp):
2273         (strncasecmp):
2274         * wtf/StringExtras.h: Renamed from Source/JavaScriptCore/wtf/StringExtras.h.
2275         (snprintf):
2276         (wtf_vsnprintf):
2277         (strnicmp):
2278         (stricmp):
2279         (strdup):
2280         (strncasecmp):
2281         (strcasecmp):
2282         (strnstr):
2283         * wtf/StringHasher.h: Renamed from Source/JavaScriptCore/wtf/StringHasher.h.
2284         (WTF):
2285         (StringHasher):
2286         (WTF::StringHasher::StringHasher):
2287         (WTF::StringHasher::addCharacters):
2288         (WTF::StringHasher::addCharacter):
2289         (WTF::StringHasher::hash):
2290         (WTF::StringHasher::computeHash):
2291         (WTF::StringHasher::hashMemory):
2292         (WTF::StringHasher::defaultConverter):
2293         (WTF::StringHasher::addCharactersToHash):
2294         * wtf/TCPackedCache.h: Renamed from Source/JavaScriptCore/wtf/TCPackedCache.h.
2295         (PackedCache):
2296         (PackedCache::PackedCache):
2297         (PackedCache::Put):
2298         (PackedCache::Has):
2299         (PackedCache::GetOrDefault):
2300         (PackedCache::Clear):
2301         (PackedCache::EntryToValue):
2302         (PackedCache::EntryToUpper):
2303         (PackedCache::KeyToUpper):
2304         (PackedCache::UpperToPartialKey):
2305         (PackedCache::Hash):
2306         (PackedCache::KeyMatch):
2307         * wtf/TCPageMap.h: Renamed from Source/JavaScriptCore/wtf/TCPageMap.h.
2308         (TCMalloc_PageMap1):
2309         (TCMalloc_PageMap1::init):
2310         (TCMalloc_PageMap1::Ensure):
2311         (TCMalloc_PageMap1::PreallocateMoreMemory):
2312         (TCMalloc_PageMap1::get):
2313         (TCMalloc_PageMap1::set):
2314         (TCMalloc_PageMap2):
2315         (Leaf):
2316         (TCMalloc_PageMap2::init):
2317         (TCMalloc_PageMap2::get):
2318         (TCMalloc_PageMap2::set):
2319         (TCMalloc_PageMap2::Ensure):
2320         (TCMalloc_PageMap2::PreallocateMoreMemory):
2321         (TCMalloc_PageMap2::visitValues):
2322         (TCMalloc_PageMap2::visitAllocations):
2323         (TCMalloc_PageMap3):
2324         (Node):
2325         (TCMalloc_PageMap3::NewNode):
2326         (TCMalloc_PageMap3::init):
2327         (TCMalloc_PageMap3::get):
2328         (TCMalloc_PageMap3::set):
2329         (TCMalloc_PageMap3::Ensure):
2330         (TCMalloc_PageMap3::PreallocateMoreMemory):
2331         (TCMalloc_PageMap3::visitValues):
2332         (TCMalloc_PageMap3::visitAllocations):
2333         * wtf/TCSpinLock.h: Renamed from Source/JavaScriptCore/wtf/TCSpinLock.h.
2334         (TCMalloc_SpinLock):
2335         (TCMalloc_SpinLock::Lock):
2336         (TCMalloc_SpinLock::Unlock):
2337         (TCMalloc_SpinLock::IsHeld):
2338         (TCMalloc_SpinLock::Init):
2339         (TCMalloc_SpinLock::Finalize):
2340         (TCMalloc_SlowLock):
2341         (TCMalloc_SpinLockHolder):
2342         (TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
2343         (TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
2344         * wtf/TCSystemAlloc.cpp: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.cpp.
2345         (TrySbrk):
2346         (TryMmap):
2347         (TryVirtualAlloc):
2348         (TryDevMem):
2349         (TCMalloc_SystemAlloc):
2350         (TCMalloc_SystemRelease):
2351         (TCMalloc_SystemCommit):
2352         * wtf/TCSystemAlloc.h: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.h.
2353         (TCMalloc_SystemRelease):
2354         (TCMalloc_SystemCommit):
2355         * wtf/TemporaryChange.h: Renamed from Source/JavaScriptCore/wtf/TemporaryChange.h.
2356         (WTF):
2357         (TemporaryChange):
2358         (WTF::TemporaryChange::TemporaryChange):
2359         (WTF::TemporaryChange::~TemporaryChange):
2360         * wtf/ThreadFunctionInvocation.h: Renamed from Source/JavaScriptCore/wtf/ThreadFunctionInvocation.h.
2361         (WTF):
2362         (WTF::ThreadFunctionInvocation::ThreadFunctionInvocation):
2363         (ThreadFunctionInvocation):
2364         * wtf/ThreadIdentifierDataPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp.
2365         (WTF):
2366         (WTF::ThreadIdentifierData::~ThreadIdentifierData):
2367         (WTF::ThreadIdentifierData::initializeOnce):
2368         (WTF::ThreadIdentifierData::identifier):
2369         (WTF::ThreadIdentifierData::initialize):
2370         (WTF::ThreadIdentifierData::destruct):
2371         * wtf/ThreadIdentifierDataPthreads.h: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h.
2372         (WTF):
2373         (ThreadIdentifierData):
2374         (WTF::ThreadIdentifierData::ThreadIdentifierData):
2375         * wtf/ThreadRestrictionVerifier.h: Renamed from Source/JavaScriptCore/wtf/ThreadRestrictionVerifier.h.
2376         (WTF):
2377         (ThreadRestrictionVerifier):
2378         (WTF::ThreadRestrictionVerifier::ThreadRestrictionVerifier):
2379         (WTF::ThreadRestrictionVerifier::~ThreadRestrictionVerifier):
2380         (WTF::ThreadRestrictionVerifier::setMutexMode):
2381         (WTF::ThreadRestrictionVerifier::setDispatchQueueMode):
2382         (WTF::ThreadRestrictionVerifier::turnOffVerification):
2383         (WTF::ThreadRestrictionVerifier::setShared):
2384         (WTF::ThreadRestrictionVerifier::isSafeToUse):
2385         * wtf/ThreadSafeRefCounted.h: Renamed from Source/JavaScriptCore/wtf/ThreadSafeRefCounted.h.
2386         (WTF):
2387         (ThreadSafeRefCountedBase):
2388         (WTF::ThreadSafeRefCountedBase::ThreadSafeRefCountedBase):
2389         (WTF::ThreadSafeRefCountedBase::ref):
2390         (WTF::ThreadSafeRefCountedBase::hasOneRef):
2391         (WTF::ThreadSafeRefCountedBase::refCount):
2392         (WTF::ThreadSafeRefCountedBase::derefBase):
2393         (ThreadSafeRefCounted):
2394         (WTF::ThreadSafeRefCounted::deref):
2395         (WTF::ThreadSafeRefCounted::ThreadSafeRefCounted):
2396         * wtf/ThreadSpecific.h: Renamed from Source/JavaScriptCore/wtf/ThreadSpecific.h.
2397         (WTF):
2398         (ThreadSpecific):
2399         (Data):
2400         (WTF::ThreadSpecific::Data::Data):
2401         (WTF::::ThreadSpecific):
2402         (WTF::::get):
2403         (WTF::::set):
2404         (WTF::::~ThreadSpecific):
2405         (WTF::::destroy):
2406         (WTF::::isSet):
2407         (WTF::T):
2408         (WTF::::operator):
2409         * wtf/ThreadSpecificWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadSpecificWin.cpp.
2410         (WTF):
2411         (WTF::tlsKeyCount):
2412         (WTF::tlsKeys):
2413         (WTF::ThreadSpecificThreadExit):
2414         * wtf/Threading.cpp: Renamed from Source/JavaScriptCore/wtf/Threading.cpp.
2415         (WTF):
2416         (NewThreadContext):
2417         (WTF::NewThreadContext::NewThreadContext):
2418         (WTF::threadEntryPoint):
2419         (WTF::createThread):
2420         (WTF::ThreadFunctionWithReturnValueInvocation::ThreadFunctionWithReturnValueInvocation):
2421         (ThreadFunctionWithReturnValueInvocation):
2422         (WTF::compatEntryPoint):
2423         (WTF::waitForThreadCompletion):
2424         * wtf/Threading.h: Renamed from Source/JavaScriptCore/wtf/Threading.h.
2425         (WTF):
2426         * wtf/ThreadingNone.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingNone.cpp.
2427         * wtf/ThreadingPrimitives.h: Renamed from Source/JavaScriptCore/wtf/ThreadingPrimitives.h.
2428         (WTF):
2429         (PlatformMutex):
2430         (PlatformCondition):
2431         (Mutex):
2432         (WTF::Mutex::impl):
2433         (ReadWriteLock):
2434         (ThreadCondition):
2435         * wtf/ThreadingPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingPthreads.cpp.
2436         (WTF):
2437         (WTF::threadMapMutex):
2438         (WTF::initializeThreading):
2439         (WTF::lockAtomicallyInitializedStaticMutex):
2440         (WTF::unlockAtomicallyInitializedStaticMutex):
2441         (WTF::threadMap):
2442         (WTF::identifierByPthreadHandle):
2443         (WTF::establishIdentifierForPthreadHandle):
2444         (WTF::pthreadHandleForIdentifier):
2445         (WTF::clearPthreadHandleForIdentifier):
2446         (WTF::wtfThreadEntryPoint):
2447         (WTF::createThreadInternal):
2448         (WTF::initializeCurrentThreadInternal):
2449         (WTF::waitForThreadCompletion):
2450         (WTF::detachThread):
2451         (WTF::yield):
2452         (WTF::currentThread):
2453         (WTF::Mutex::Mutex):
2454         (WTF::Mutex::~Mutex):
2455         (WTF::Mutex::lock):
2456         (WTF::Mutex::tryLock):
2457         (WTF::Mutex::unlock):
2458         (WTF::ReadWriteLock::ReadWriteLock):
2459         (WTF::ReadWriteLock::~ReadWriteLock):
2460         (WTF::ReadWriteLock::readLock):
2461         (WTF::ReadWriteLock::tryReadLock):
2462         (WTF::ReadWriteLock::writeLock):
2463         (WTF::ReadWriteLock::tryWriteLock):
2464         (WTF::ReadWriteLock::unlock):
2465         (WTF::ThreadCondition::ThreadCondition):
2466         (WTF::ThreadCondition::~ThreadCondition):
2467         (WTF::ThreadCondition::wait):
2468         (WTF::ThreadCondition::timedWait):
2469         (WTF::ThreadCondition::signal):
2470         (WTF::ThreadCondition::broadcast):
2471         * wtf/ThreadingWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingWin.cpp.
2472         (WTF):
2473         (tagTHREADNAME_INFO):
2474         (WTF::initializeCurrentThreadInternal):
2475         (WTF::lockAtomicallyInitializedStaticMutex):
2476         (WTF::unlockAtomicallyInitializedStaticMutex):
2477         (WTF::threadMapMutex):
2478         (WTF::initializeThreading):
2479         (WTF::threadMap):
2480         (WTF::storeThreadHandleByIdentifier):
2481         (WTF::threadHandleForIdentifier):
2482         (WTF::clearThreadHandleForIdentifier):
2483         (WTF::wtfThreadEntryPoint):
2484         (WTF::createThreadInternal):
2485         (WTF::waitForThreadCompletion):
2486         (WTF::detachThread):
2487         (WTF::yield):
2488         (WTF::currentThread):
2489         (WTF::Mutex::Mutex):
2490         (WTF::Mutex::~Mutex):
2491         (WTF::Mutex::lock):
2492         (WTF::Mutex::tryLock):
2493         (WTF::Mutex::unlock):
2494         (WTF::PlatformCondition::timedWait):
2495         (WTF::PlatformCondition::signal):
2496         (WTF::ThreadCondition::ThreadCondition):
2497         (WTF::ThreadCondition::~ThreadCondition):
2498         (WTF::ThreadCondition::wait):
2499         (WTF::ThreadCondition::timedWait):
2500         (WTF::ThreadCondition::signal):
2501         (WTF::ThreadCondition::broadcast):
2502         (WTF::absoluteTimeToWaitTimeoutInterval):
2503         * wtf/TypeTraits.cpp: Renamed from Source/JavaScriptCore/wtf/TypeTraits.cpp.
2504         (WTF):
2505         * wtf/TypeTraits.h: Renamed from Source/JavaScriptCore/wtf/TypeTraits.h.
2506         (WTF):
2507         (IsConvertibleToInteger):
2508         (IsArray):
2509         (IsSameType):
2510         (IsSubclass):
2511         (NoType):
2512         (IsSubclassOfTemplate):
2513         (RemoveTemplate):
2514         (RemoveConst):
2515         (RemoveVolatile):
2516         (RemoveConstVolatile):
2517         (RemovePointer):
2518         (RemoveReference):
2519         (RemoveExtent):
2520         (DecayArray):
2521         (IntegralConstant):
2522         * wtf/TypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/TypedArrayBase.h.
2523         (WTF):
2524         (TypedArrayBase):
2525         (WTF::TypedArrayBase::data):
2526         (WTF::TypedArrayBase::set):
2527         (WTF::TypedArrayBase::setRange):
2528         (WTF::TypedArrayBase::zeroRange):
2529         (WTF::TypedArrayBase::length):
2530         (WTF::TypedArrayBase::byteLength):
2531         (WTF::TypedArrayBase::TypedArrayBase):
2532         (WTF::TypedArrayBase::create):
2533         (WTF::TypedArrayBase::subarrayImpl):
2534         (WTF::TypedArrayBase::neuter):
2535         * wtf/Uint16Array.h: Renamed from Source/JavaScriptCore/wtf/Uint16Array.h.
2536         (WTF):
2537         (Uint16Array):
2538         (WTF::Uint16Array::set):
2539         (WTF::Uint16Array::isUnsignedShortArray):
2540         (WTF::Uint16Array::create):
2541         (WTF::Uint16Array::Uint16Array):
2542         (WTF::Uint16Array::subarray):
2543         * wtf/Uint32Array.h: Renamed from Source/JavaScriptCore/wtf/Uint32Array.h.
2544         (WTF):
2545         (Uint32Array):
2546         (WTF::Uint32Array::set):
2547         (WTF::Uint32Array::isUnsignedIntArray):
2548         (WTF::Uint32Array::create):
2549         (WTF::Uint32Array::Uint32Array):
2550         (WTF::Uint32Array::subarray):
2551         * wtf/Uint8Array.h: Renamed from Source/JavaScriptCore/wtf/Uint8Array.h.
2552         (WTF):
2553         (Uint8Array):
2554         (WTF::Uint8Array::set):
2555         (WTF::Uint8Array::isUnsignedByteArray):
2556         (WTF::Uint8Array::create):
2557         (WTF::Uint8Array::Uint8Array):
2558         (WTF::Uint8Array::subarray):
2559         * wtf/Uint8ClampedArray.h: Renamed from Source/JavaScriptCore/wtf/Uint8ClampedArray.h.
2560         (WTF):
2561         (Uint8ClampedArray):
2562         (WTF::Uint8ClampedArray::set):
2563         (WTF::Uint8ClampedArray::isUnsignedByteClampedArray):
2564         (WTF::Uint8ClampedArray::create):
2565         (WTF::Uint8ClampedArray::Uint8ClampedArray):
2566         (WTF::Uint8ClampedArray::subarray):
2567         * wtf/UnionFind.h: Renamed from Source/JavaScriptCore/wtf/UnionFind.h.
2568         (WTF):
2569         (UnionFind):
2570         (WTF::UnionFind::UnionFind):
2571         (WTF::UnionFind::find):
2572         (WTF::UnionFind::unify):
2573         * wtf/UnusedParam.h: Renamed from Source/JavaScriptCore/wtf/UnusedParam.h.
2574         (unusedParam):
2575         * wtf/VMTags.h: Renamed from Source/JavaScriptCore/wtf/VMTags.h.
2576         * wtf/ValueCheck.h: Renamed from Source/JavaScriptCore/wtf/ValueCheck.h.
2577         (WTF):
2578         (ValueCheck):
2579         (WTF::ValueCheck::checkConsistency):
2580         * wtf/Vector.h: Renamed from Source/JavaScriptCore/wtf/Vector.h.
2581         (WTF):
2582         (WTF::VectorTypeOperations::destruct):
2583         (VectorTypeOperations):
2584         (WTF::VectorTypeOperations::initialize):
2585         (WTF::VectorTypeOperations::move):
2586         (WTF::VectorTypeOperations::moveOverlapping):
2587         (WTF::VectorTypeOperations::uninitializedCopy):
2588         (WTF::VectorTypeOperations::uninitializedFill):
2589         (WTF::VectorTypeOperations::compare):
2590         (VectorBufferBase):
2591         (WTF::VectorBufferBase::allocateBuffer):
2592         (WTF::VectorBufferBase::tryAllocateBuffer):
2593         (WTF::VectorBufferBase::deallocateBuffer):
2594         (WTF::VectorBufferBase::buffer):
2595         (WTF::VectorBufferBase::bufferSlot):
2596         (WTF::VectorBufferBase::capacity):
2597         (WTF::VectorBufferBase::releaseBuffer):
2598         (WTF::VectorBufferBase::VectorBufferBase):
2599         (WTF::VectorBufferBase::~VectorBufferBase):
2600         (VectorBuffer):
2601         (WTF::VectorBuffer::VectorBuffer):
2602         (WTF::VectorBuffer::~VectorBuffer):
2603         (WTF::VectorBuffer::allocateBuffer):
2604         (WTF::VectorBuffer::tryAllocateBuffer):
2605         (WTF::VectorBuffer::deallocateBuffer):
2606         (WTF::VectorBuffer::swap):
2607         (WTF::VectorBuffer::restoreInlineBufferIfNeeded):
2608         (WTF::VectorBuffer::releaseBuffer):
2609         (WTF::VectorBuffer::inlineBuffer):
2610         (Vector):
2611         (WTF::Vector::Vector):
2612         (WTF::Vector::~Vector):
2613         (WTF::Vector::size):
2614         (WTF::Vector::capacity):
2615         (WTF::Vector::isEmpty):
2616         (WTF::Vector::at):
2617         (WTF::Vector::operator[]):
2618         (WTF::Vector::data):
2619         (WTF::Vector::dataSlot):
2620         (WTF::Vector::begin):
2621         (WTF::Vector::end):
2622         (WTF::Vector::rbegin):
2623         (WTF::Vector::rend):
2624         (WTF::Vector::reversed):
2625         (WTF::Vector::first):
2626         (WTF::Vector::last):
2627         (WTF::Vector::shrinkToFit):
2628         (WTF::Vector::clear):
2629         (WTF::Vector::removeLast):
2630         (WTF::Vector::fill):
2631         (WTF::Vector::swap):
2632         (VectorReverseProxy):
2633         (WTF::Vector::VectorReverseProxy::begin):
2634         (WTF::Vector::VectorReverseProxy::end):
2635         (WTF::operator<<):
2636         (WTF::operator>>):
2637         (WTF::::Vector):
2638         (WTF::=):
2639         (WTF::typelessPointersAreEqual):
2640         (WTF::::contains):
2641         (WTF::::find):
2642         (WTF::::reverseFind):
2643         (WTF::::fill):
2644         (WTF::::appendRange):
2645         (WTF::::expandCapacity):
2646         (WTF::::tryExpandCapacity):
2647         (WTF::::resize):
2648         (WTF::::shrink):
2649         (WTF::::grow):
2650         (WTF::::reserveCapacity):
2651         (WTF::::tryReserveCapacity):
2652         (WTF::::reserveInitialCapacity):
2653         (WTF::::shrinkCapacity):
2654         (WTF::::append):
2655         (WTF::::tryAppend):
2656         (WTF::::appendSlowCase):
2657         (WTF::::uncheckedAppend):
2658         (WTF::::insert):
2659         (WTF::::prepend):
2660         (WTF::::remove):
2661         (WTF::::reverse):
2662         (WTF::::releaseBuffer):
2663         (WTF::::checkConsistency):
2664         (WTF::deleteAllValues):
2665         (WTF::swap):
2666         (WTF::operator==):
2667         (WTF::operator!=):
2668         * wtf/VectorTraits.h: Renamed from Source/JavaScriptCore/wtf/VectorTraits.h.
2669         (WTF):
2670         (SimpleClassVectorTraits):
2671         * wtf/WTFThreadData.cpp: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.cpp.
2672         (WTF):
2673         (WTF::WTFThreadData::WTFThreadData):
2674         (WTF::WTFThreadData::~WTFThreadData):
2675         (JSC):
2676         (JSC::IdentifierTable::~IdentifierTable):
2677         (JSC::IdentifierTable::add):
2678         * wtf/WTFThreadData.h: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.h.
2679         (JSC):
2680         (IdentifierTable):
2681         (JSC::IdentifierTable::remove):
2682         (JSC::IdentifierTable::literalTable):
2683         (WTF):
2684         (WTFThreadData):
2685         (WTF::WTFThreadData::atomicStringTable):
2686         (WTF::WTFThreadData::currentIdentifierTable):
2687         (WTF::WTFThreadData::setCurrentIdentifierTable):
2688         (WTF::WTFThreadData::resetCurrentIdentifierTable):
2689         (WTF::WTFThreadData::stack):
2690         (WTF::wtfThreadData):
2691         * wtf/blackberry/MainThreadBlackBerry.cpp: Renamed from Source/JavaScriptCore/wtf/blackberry/MainThreadBlackBerry.cpp.
2692         (WTF):
2693         (WTF::initializeMainThreadPlatform):
2694         (WTF::scheduleDispatchFunctionsOnMainThread):
2695         * wtf/chromium/ChromiumThreading.h: Renamed from Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h.
2696         (WTF):
2697         (ChromiumThreading):
2698         * wtf/chromium/MainThreadChromium.cpp: Renamed from Source/JavaScriptCore/wtf/chromium/MainThreadChromium.cpp.
2699         (WTF):
2700         (WTF::initializeMainThread):
2701         (WTF::callOnMainThread):
2702         (WTF::callOnMainThreadAndWait):
2703         (WTF::setMainThreadCallbacksPaused):
2704         (WTF::isMainThread):
2705         * wtf/dtoa.cpp: Renamed from Source/JavaScriptCore/wtf/dtoa.cpp.
2706         (WTF):
2707         (WTF::storeInc):
2708         (WTF::BigInt::BigInt):
2709         (BigInt):
2710         (WTF::BigInt::clear):
2711         (WTF::BigInt::size):
2712         (WTF::BigInt::resize):
2713         (WTF::BigInt::words):
2714         (WTF::BigInt::append):
2715         (WTF::multadd):
2716         (WTF::hi0bits):
2717         (WTF::lo0bits):
2718         (WTF::i2b):
2719         (WTF::mult):
2720         (P5Node):
2721         (WTF::P5Node::P5Node):
2722         (WTF::pow5mult):
2723         (WTF::lshift):
2724         (WTF::cmp):
2725         (WTF::diff):
2726         (WTF::d2b):
2727         (WTF::strtod):
2728         (WTF::quorem):
2729         (WTF::dtoa):
2730         * wtf/dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa.h.
2731         (WTF):
2732         * wtf/dtoa/COPYING: Renamed from Source/JavaScriptCore/wtf/dtoa/COPYING.
2733         * wtf/dtoa/LICENSE: Renamed from Source/JavaScriptCore/wtf/dtoa/LICENSE.
2734         * wtf/dtoa/README: Renamed from Source/JavaScriptCore/wtf/dtoa/README.
2735         * wtf/dtoa/bignum-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.cc.
2736         * wtf/dtoa/bignum-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.h.
2737         (WTF):
2738         (double_conversion):
2739         * wtf/dtoa/bignum.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.cc.
2740         * wtf/dtoa/bignum.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.h.
2741         (WTF):
2742         (double_conversion):
2743         (Bignum):
2744         (WTF::double_conversion::Bignum::Times10):
2745         (WTF::double_conversion::Bignum::Equal):
2746         (WTF::double_conversion::Bignum::LessEqual):
2747         (WTF::double_conversion::Bignum::Less):
2748         (WTF::double_conversion::Bignum::PlusEqual):
2749         (WTF::double_conversion::Bignum::PlusLessEqual):
2750         (WTF::double_conversion::Bignum::PlusLess):
2751         (WTF::double_conversion::Bignum::EnsureCapacity):
2752         (WTF::double_conversion::Bignum::BigitLength):
2753         * wtf/dtoa/cached-powers.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.cc.
2754         * wtf/dtoa/cached-powers.h: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.h.
2755         (WTF):
2756         (double_conversion):
2757         (PowersOfTenCache):
2758         * wtf/dtoa/diy-fp.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.cc.
2759         * wtf/dtoa/diy-fp.h: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.h.
2760         (WTF):
2761         (double_conversion):
2762         (DiyFp):
2763         (WTF::double_conversion::DiyFp::DiyFp):
2764         (WTF::double_conversion::DiyFp::Subtract):
2765         (WTF::double_conversion::DiyFp::Minus):
2766         (WTF::double_conversion::DiyFp::Times):
2767         (WTF::double_conversion::DiyFp::Normalize):
2768         (WTF::double_conversion::DiyFp::f):
2769         (WTF::double_conversion::DiyFp::e):
2770         (WTF::double_conversion::DiyFp::set_f):
2771         (WTF::double_conversion::DiyFp::set_e):
2772         * wtf/dtoa/double-conversion.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.cc.
2773         * wtf/dtoa/double-conversion.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.h.
2774         (WTF):
2775         (double_conversion):
2776         (DoubleToStringConverter):
2777         (WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
2778         (StringToDoubleConverter):
2779         (WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
2780         * wtf/dtoa/double.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double.h.
2781         (WTF):
2782         (double_conversion):
2783         (WTF::double_conversion::double_to_uint64):
2784         (WTF::double_conversion::uint64_to_double):
2785         (Double):
2786         (WTF::double_conversion::Double::Double):
2787         (WTF::double_conversion::Double::AsDiyFp):
2788         (WTF::double_conversion::Double::AsNormalizedDiyFp):
2789         (WTF::double_conversion::Double::AsUint64):
2790         (WTF::double_conversion::Double::NextDouble):
2791         (WTF::double_conversion::Double::Exponent):
2792         (WTF::double_conversion::Double::Significand):
2793         (WTF::double_conversion::Double::IsDenormal):
2794         (WTF::double_conversion::Double::IsSpecial):
2795         (WTF::double_conversion::Double::IsNan):
2796         (WTF::double_conversion::Double::IsInfinite):
2797         (WTF::double_conversion::Double::Sign):
2798         (WTF::double_conversion::Double::UpperBoundary):
2799         (WTF::double_conversion::Double::NormalizedBoundaries):
2800         (WTF::double_conversion::Double::value):
2801         (WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
2802         (WTF::double_conversion::Double::Infinity):
2803         (WTF::double_conversion::Double::NaN):
2804         (WTF::double_conversion::Double::DiyFpToUint64):
2805         * wtf/dtoa/fast-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.cc.
2806         * wtf/dtoa/fast-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.h.
2807         (WTF):
2808         (double_conversion):
2809         * wtf/dtoa/fixed-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.cc.
2810         * wtf/dtoa/fixed-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.h.
2811         (WTF):
2812         (double_conversion):
2813         * wtf/dtoa/strtod.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.cc.
2814         * wtf/dtoa/strtod.h: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.h.
2815         (WTF):
2816         (double_conversion):
2817         * wtf/dtoa/utils.h: Renamed from Source/JavaScriptCore/wtf/dtoa/utils.h.
2818         (WTF):
2819         (double_conversion):
2820         (WTF::double_conversion::Max):
2821         (WTF::double_conversion::Min):
2822         (WTF::double_conversion::StrLength):
2823         (Vector):
2824         (WTF::double_conversion::Vector::Vector):
2825         (WTF::double_conversion::Vector::SubVector):
2826         (WTF::double_conversion::Vector::length):
2827         (WTF::double_conversion::Vector::is_empty):
2828         (WTF::double_conversion::Vector::start):
2829         (WTF::double_conversion::Vector::operator[]):
2830         (WTF::double_conversion::Vector::first):
2831         (WTF::double_conversion::Vector::last):
2832         (StringBuilder):
2833         (WTF::double_conversion::StringBuilder::StringBuilder):
2834         (WTF::double_conversion::StringBuilder::~StringBuilder):
2835         (WTF::double_conversion::StringBuilder::size):
2836         (WTF::double_conversion::StringBuilder::position):
2837         (WTF::double_conversion::StringBuilder::SetPosition):
2838         (WTF::double_conversion::StringBuilder::Reset):
2839         (WTF::double_conversion::StringBuilder::AddCharacter):
2840         (WTF::double_conversion::StringBuilder::AddString):
2841         (WTF::double_conversion::StringBuilder::AddSubstring):
2842         (WTF::double_conversion::StringBuilder::AddPadding):
2843         (WTF::double_conversion::StringBuilder::Finalize):
2844         (WTF::double_conversion::StringBuilder::is_finalized):
2845         (WTF::double_conversion::BitCast):
2846         * wtf/efl/MainThreadEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/MainThreadEfl.cpp.
2847         (WTF):
2848         (WTF::pipeObject):
2849         (WTF::monitorDispatchFunctions):
2850         (WTF::initializeMainThreadPlatform):
2851         (WTF::scheduleDispatchFunctionsOnMainThread):
2852         * wtf/efl/OwnPtrEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp.
2853         (WTF):
2854         (WTF::deleteOwnedPtr):
2855         * wtf/gobject/GOwnPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp.
2856         (WTF):
2857         (WTF::GError):
2858         (WTF::GList):
2859         (WTF::GSList):
2860         (WTF::GPatternSpec):
2861         (WTF::GDir):
2862         (WTF::GTimer):
2863         (WTF::GKeyFile):
2864         * wtf/gobject/GOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.
2865         (WTF):
2866         (GOwnPtr):
2867         (WTF::GOwnPtr::GOwnPtr):
2868         (WTF::GOwnPtr::~GOwnPtr):
2869         (WTF::GOwnPtr::get):
2870         (WTF::GOwnPtr::release):
2871         (WTF::GOwnPtr::outPtr):
2872         (WTF::GOwnPtr::set):
2873         (WTF::GOwnPtr::clear):
2874         (WTF::GOwnPtr::operator*):
2875         (WTF::GOwnPtr::operator->):
2876         (WTF::GOwnPtr::operator!):
2877         (WTF::GOwnPtr::operator UnspecifiedBoolType):
2878         (WTF::GOwnPtr::swap):
2879         (WTF::swap):
2880         (WTF::operator==):
2881         (WTF::operator!=):
2882         (WTF::getPtr):
2883         (WTF::freeOwnedGPtr):
2884         * wtf/gobject/GRefPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp.
2885         (WTF):
2886         (WTF::refGPtr):
2887         (WTF::derefGPtr):
2888         (_GVariant):
2889         * wtf/gobject/GRefPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.h.
2890         (WTF):
2891         (GRefPtr):
2892         (WTF::GRefPtr::GRefPtr):
2893         (WTF::GRefPtr::~GRefPtr):
2894         (WTF::GRefPtr::clear):
2895         (WTF::GRefPtr::isHashTableDeletedValue):
2896         (WTF::GRefPtr::get):
2897         (WTF::GRefPtr::operator*):
2898         (WTF::GRefPtr::operator->):
2899         (WTF::GRefPtr::operator!):
2900         (WTF::GRefPtr::operator UnspecifiedBoolType):
2901         (WTF::GRefPtr::hashTableDeletedValue):
2902         (WTF::=):
2903         (WTF::::swap):
2904         (WTF::swap):
2905         (WTF::operator==):
2906         (WTF::operator!=):
2907         (WTF::static_pointer_cast):
2908         (WTF::const_pointer_cast):
2909         (WTF::getPtr):
2910         (WTF::adoptGRef):
2911         (WTF::refGPtr):
2912         (WTF::derefGPtr):
2913         * wtf/gobject/GTypedefs.h: Renamed from Source/JavaScriptCore/wtf/gobject/GTypedefs.h.
2914         * wtf/gobject/GlibUtilities.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp.
2915         (getCurrentExecutablePath):
2916         * wtf/gobject/GlibUtilities.h: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.h.
2917         * wtf/gtk/MainThreadGtk.cpp: Renamed from Source/JavaScriptCore/wtf/gtk/MainThreadGtk.cpp.
2918         (WTF):
2919         (WTF::initializeMainThreadPlatform):
2920         (WTF::timeoutFired):
2921         (WTF::scheduleDispatchFunctionsOnMainThread):
2922         * wtf/mac/MainThreadMac.mm: Renamed from Source/JavaScriptCore/wtf/mac/MainThreadMac.mm.
2923         (-[JSWTFMainThreadCaller call]):
2924         (WTF):
2925         (WTF::initializeMainThreadPlatform):
2926         (WTF::initializeMainThreadToProcessMainThreadPlatform):
2927         (WTF::timerFired):
2928         (WTF::postTimer):
2929         (WTF::scheduleDispatchFunctionsOnMainThread):
2930         (WTF::isMainThread):
2931         * wtf/qt/MainThreadQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/MainThreadQt.cpp.
2932         (WTF):
2933         (MainThreadInvoker):
2934         (WTF::MainThreadInvoker::MainThreadInvoker):
2935         (WTF::MainThreadInvoker::event):
2936         (WTF::initializeMainThreadPlatform):
2937         (WTF::scheduleDispatchFunctionsOnMainThread):
2938         * wtf/qt/StringQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/StringQt.cpp.
2939         (WTF):
2940         (WTF::String::String):
2941         (WTF::String::operator QString):
2942         (WTF::operator<<):
2943         (WTF::operator>>):
2944         * wtf/qt/UtilsQt.h: Renamed from Source/JavaScriptCore/wtf/qt/UtilsQt.h.
2945         (escapeHtml):
2946         * wtf/qt/compat/QGuiApplication: Renamed from Source/JavaScriptCore/wtf/qt/compat/QGuiApplication.
2947         * wtf/qt/compat/qguiapplication.h: Renamed from Source/JavaScriptCore/wtf/qt/compat/qguiapplication.h.
2948         (QGuiApplication):
2949         (QGuiApplication::styleHints):
2950         * wtf/text/ASCIIFastPath.h: Renamed from Source/JavaScriptCore/wtf/text/ASCIIFastPath.h.
2951         (WTF):
2952         (WTF::isAlignedToMachineWord):
2953         (WTF::alignToMachineWord):
2954         (WTF::isAllASCII):
2955         (WTF::charactersAreAllASCII):
2956         * wtf/text/AtomicString.cpp: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.cpp.
2957         (WTF):
2958         (AtomicStringTable):
2959         (WTF::AtomicStringTable::create):
2960         (WTF::AtomicStringTable::table):
2961         (WTF::AtomicStringTable::destroy):
2962         (WTF::stringTable):
2963         (WTF::addToStringTable):
2964         (WTF::CStringTranslator::hash):
2965         (CStringTranslator):
2966         (WTF::CStringTranslator::equal):
2967         (WTF::CStringTranslator::translate):
2968         (WTF::AtomicString::add):
2969         (UCharBuffer):
2970         (WTF::UCharBufferTranslator::hash):
2971         (UCharBufferTranslator):
2972         (WTF::UCharBufferTranslator::equal):
2973         (WTF::UCharBufferTranslator::translate):
2974         (HashAndCharacters):
2975         (WTF::HashAndCharactersTranslator::hash):
2976         (HashAndCharactersTranslator):
2977         (WTF::HashAndCharactersTranslator::equal):
2978         (WTF::HashAndCharactersTranslator::translate):
2979         (HashAndUTF8Characters):
2980         (WTF::HashAndUTF8CharactersTranslator::hash):
2981         (HashAndUTF8CharactersTranslator):
2982         (WTF::HashAndUTF8CharactersTranslator::equal):
2983         (WTF::HashAndUTF8CharactersTranslator::translate):
2984         (SubstringLocation):
2985         (WTF::SubstringTranslator::hash):
2986         (SubstringTranslator):
2987         (WTF::SubstringTranslator::equal):
2988         (WTF::SubstringTranslator::translate):
2989         (WTF::AtomicString::addSlowCase):
2990         (WTF::AtomicString::find):
2991         (WTF::AtomicString::remove):
2992         (WTF::AtomicString::lower):
2993         (WTF::AtomicString::fromUTF8Internal):
2994         (WTF::AtomicString::show):
2995         * wtf/text/AtomicString.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.h.
2996         (WTF):
2997         (AtomicString):
2998         (WTF::AtomicString::AtomicString):
2999         (WTF::AtomicString::isHashTableDeletedValue):
3000         (WTF::AtomicString::operator const String&):
3001         (WTF::AtomicString::string):
3002         (WTF::AtomicString::impl):
3003         (WTF::AtomicString::characters):
3004         (WTF::AtomicString::length):
3005         (WTF::AtomicString::operator[]):
3006         (WTF::AtomicString::contains):
3007         (WTF::AtomicString::find):
3008         (WTF::AtomicString::startsWith):
3009         (WTF::AtomicString::endsWith):
3010         (WTF::AtomicString::upper):
3011         (WTF::AtomicString::toInt):
3012         (WTF::AtomicString::toDouble):
3013         (WTF::AtomicString::toFloat):
3014         (WTF::AtomicString::percentage):
3015         (WTF::AtomicString::isNull):
3016         (WTF::AtomicString::isEmpty):
3017         (WTF::AtomicString::createCFString):
3018         (WTF::AtomicString::operator NSString*):
3019         (WTF::AtomicString::operator QString):
3020         (WTF::AtomicString::add):
3021         (WTF::operator==):
3022         (WTF::operator!=):
3023         (WTF::equalIgnoringCase):
3024         (WTF::AtomicString::fromUTF8):
3025         * wtf/text/AtomicStringHash.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringHash.h.
3026         (WTF):
3027         (WTF::AtomicStringHash::hash):
3028         (AtomicStringHash):
3029         (WTF::AtomicStringHash::equal):
3030         * wtf/text/AtomicStringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringImpl.h.
3031         (WTF):
3032         (AtomicStringImpl):
3033         (WTF::AtomicStringImpl::AtomicStringImpl):
3034         * wtf/text/CString.cpp: Renamed from Source/JavaScriptCore/wtf/text/CString.cpp.
3035         (WTF):
3036         (WTF::CString::CString):
3037         (WTF::CString::init):
3038         (WTF::CString::mutableData):
3039         (WTF::CString::newUninitialized):
3040         (WTF::CString::copyBufferIfNeeded):
3041         (WTF::operator==):
3042         * wtf/text/CString.h: Renamed from Source/JavaScriptCore/wtf/text/CString.h.
3043         (WTF):
3044         (CStringBuffer):
3045         (WTF::CStringBuffer::data):
3046         (WTF::CStringBuffer::length):
3047         (WTF::CStringBuffer::create):
3048         (WTF::CStringBuffer::CStringBuffer):
3049         (WTF::CStringBuffer::mutableData):
3050         (CString):
3051         (WTF::CString::CString):
3052         (WTF::CString::data):
3053         (WTF::CString::length):
3054         (WTF::CString::isNull):
3055         (WTF::CString::buffer):
3056         (WTF::operator!=):
3057         * wtf/text/StringBuffer.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuffer.h.
3058         (WTF):
3059         (StringBuffer):
3060         (WTF::StringBuffer::StringBuffer):
3061         (WTF::StringBuffer::~StringBuffer):
3062         (WTF::StringBuffer::shrink):
3063         (WTF::StringBuffer::resize):
3064         (WTF::StringBuffer::length):
3065         (WTF::StringBuffer::characters):
3066         (WTF::StringBuffer::operator[]):
3067         (WTF::StringBuffer::release):
3068         * wtf/text/StringBuilder.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.cpp.
3069         (WTF):
3070         (WTF::StringBuilder::reifyString):
3071         (WTF::StringBuilder::resize):
3072         (WTF::StringBuilder::allocateBuffer):
3073         (WTF::StringBuilder::allocateBufferUpConvert):
3074         (WTF::LChar):
3075         (WTF::UChar):
3076         (WTF::StringBuilder::reserveCapacity):
3077         (WTF::StringBuilder::appendUninitialized):
3078         (WTF::StringBuilder::appendUninitializedSlow):
3079         (WTF::StringBuilder::append):
3080         (WTF::StringBuilder::canShrink):
3081         (WTF::StringBuilder::shrinkToFit):
3082         * wtf/text/StringBuilder.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.h.
3083         (WTF):
3084         (StringBuilder):
3085         (WTF::StringBuilder::StringBuilder):
3086         (WTF::StringBuilder::append):
3087         (WTF::StringBuilder::toString):
3088         (WTF::StringBuilder::toStringPreserveCapacity):
3089         (WTF::StringBuilder::toAtomicString):
3090         (WTF::StringBuilder::length):
3091         (WTF::StringBuilder::isEmpty):
3092         (WTF::StringBuilder::capacity):
3093         (WTF::StringBuilder::operator[]):
3094         (WTF::StringBuilder::characters8):
3095         (WTF::StringBuilder::characters16):
3096         (WTF::StringBuilder::characters):
3097         (WTF::StringBuilder::is8Bit):
3098         (WTF::StringBuilder::clear):
3099         (WTF::StringBuilder::swap):
3100         (WTF::LChar):
3101         (WTF::UChar):
3102         (WTF::equal):
3103         (WTF::operator==):
3104         (WTF::operator!=):
3105         * wtf/text/StringConcatenate.h: Renamed from Source/JavaScriptCore/wtf/text/StringConcatenate.h.
3106         (WTF):
3107         (WTF::sumWithOverflow):
3108         (WTF::tryMakeString):
3109         (WTF::makeString):
3110         * wtf/text/StringHash.h: Renamed from Source/JavaScriptCore/wtf/text/StringHash.h.
3111         (WTF):
3112         (WTF::StringHash::hash):
3113         (WTF::StringHash::equal):
3114         (StringHash):
3115         (CaseFoldingHash):
3116         (WTF::CaseFoldingHash::foldCase):
3117         (WTF::CaseFoldingHash::hash):
3118         (WTF::CaseFoldingHash::equal):
3119         (WTF::AlreadyHashed::hash):
3120         (AlreadyHashed):
3121         (WTF::AlreadyHashed::avoidDeletedValue):
3122         * wtf/text/StringImpl.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.cpp.
3123         (WTF):
3124         (WTF::StringImpl::~StringImpl):
3125         (WTF::StringImpl::createUninitialized):
3126         (WTF::StringImpl::reallocate):
3127         (WTF::StringImpl::create):
3128         (WTF::StringImpl::getData16SlowCase):
3129         (WTF::StringImpl::upconvertCharacters):
3130         (WTF::StringImpl::containsOnlyWhitespace):
3131         (WTF::StringImpl::substring):
3132         (WTF::StringImpl::characterStartingAt):
3133         (WTF::StringImpl::lower):
3134         (WTF::StringImpl::upper):
3135         (WTF::StringImpl::fill):
3136         (WTF::StringImpl::foldCase):
3137         (WTF::StringImpl::stripMatchedCharacters):
3138         (UCharPredicate):
3139         (WTF::UCharPredicate::UCharPredicate):
3140         (WTF::UCharPredicate::operator()):
3141         (SpaceOrNewlinePredicate):
3142         (WTF::SpaceOrNewlinePredicate::operator()):
3143         (WTF::StringImpl::stripWhiteSpace):
3144         (WTF::StringImpl::removeCharacters):
3145         (WTF::StringImpl::simplifyMatchedCharactersToSpace):
3146         (WTF::StringImpl::simplifyWhiteSpace):
3147         (WTF::StringImpl::toIntStrict):
3148         (WTF::StringImpl::toUIntStrict):
3149         (WTF::StringImpl::toInt64Strict):
3150         (WTF::StringImpl::toUInt64Strict):
3151         (WTF::StringImpl::toIntPtrStrict):
3152         (WTF::StringImpl::toInt):
3153         (WTF::StringImpl::toUInt):
3154         (WTF::StringImpl::toInt64):
3155         (WTF::StringImpl::toUInt64):
3156         (WTF::StringImpl::toIntPtr):
3157         (WTF::StringImpl::toDouble):
3158         (WTF::StringImpl::toFloat):
3159         (WTF::equalIgnoringCase):
3160         (WTF::StringImpl::find):
3161         (WTF::StringImpl::findIgnoringCase):
3162         (WTF::findInner):
3163         (WTF::StringImpl::reverseFind):
3164         (WTF::reverseFindInner):
3165         (WTF::StringImpl::reverseFindIgnoringCase):
3166         (WTF::StringImpl::endsWith):
3167         (WTF::StringImpl::replace):
3168         (WTF::equal):
3169         (WTF::equalIgnoringNullity):
3170         (WTF::StringImpl::defaultWritingDirection):
3171         (WTF::StringImpl::adopt):
3172         (WTF::StringImpl::createWithTerminatingNullCharacter):
3173         * wtf/text/StringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.h.
3174         (JSC):
3175         (WTF):
3176         (StringImpl):
3177         (WTF::StringImpl::StringImpl):
3178         (WTF::StringImpl::create):
3179         (WTF::StringImpl::create8):
3180         (WTF::StringImpl::tryCreateUninitialized):
3181         (WTF::StringImpl::flagsOffset):
3182         (WTF::StringImpl::flagIs8Bit):
3183         (WTF::StringImpl::dataOffset):
3184         (WTF::StringImpl::adopt):
3185         (WTF::StringImpl::length):
3186         (WTF::StringImpl::is8Bit):
3187         (WTF::StringImpl::characters8):
3188         (WTF::StringImpl::characters16):
3189         (WTF::StringImpl::characters):
3190         (WTF::StringImpl::cost):
3191         (WTF::StringImpl::has16BitShadow):
3192         (WTF::StringImpl::isIdentifier):
3193         (WTF::StringImpl::setIsIdentifier):
3194         (WTF::StringImpl::hasTerminatingNullCharacter):
3195         (WTF::StringImpl::isAtomic):
3196         (WTF::StringImpl::setIsAtomic):
3197         (WTF::StringImpl::setHash):
3198         (WTF::StringImpl::rawHash):
3199         (WTF::StringImpl::hasHash):
3200         (WTF::StringImpl::existingHash):
3201         (WTF::StringImpl::hash):
3202         (WTF::StringImpl::hasOneRef):
3203         (WTF::StringImpl::ref):
3204         (WTF::StringImpl::deref):
3205         (WTF::StringImpl::copyChars):
3206         (WTF::StringImpl::operator[]):
3207         (WTF::StringImpl::find):
3208         (WTF::StringImpl::findIgnoringCase):
3209         (WTF::StringImpl::startsWith):
3210         (WTF::StringImpl::bufferOwnership):
3211         (WTF::StringImpl::isStatic):
3212         (WTF::LChar):
3213         (WTF::UChar):
3214         (WTF::equal):
3215         (WTF::equalIgnoringCase):
3216         (WTF::equalIgnoringNullity):
3217         (WTF::codePointCompare):
3218         (WTF::codePointCompare8):
3219         (WTF::codePointCompare16):
3220         (WTF::codePointCompare8To16):
3221         (WTF::isSpaceOrNewline):
3222         (WTF::StringImpl::isolatedCopy):
3223         * wtf/text/StringOperators.h: Renamed from Source/JavaScriptCore/wtf/text/StringOperators.h.
3224         (WTF):
3225         (StringAppend):
3226         (WTF::StringAppend::StringAppend):
3227         (WTF::StringAppend::operator String):
3228         (WTF::StringAppend::operator AtomicString):
3229         (WTF::StringAppend::is8Bit):
3230         (WTF::StringAppend::writeTo):
3231         (WTF::StringAppend::length):
3232         (WTF::operator+):
3233         * wtf/text/StringStatics.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringStatics.cpp.
3234         (WTF):
3235         (WTF::StringImpl::empty):
3236         (WTF::StringImpl::hashSlowCase):
3237         (WTF::AtomicString::init):
3238         * wtf/text/TextPosition.h: Renamed from Source/JavaScriptCore/wtf/text/TextPosition.h.
3239         (WTF):
3240         (OrdinalNumber):
3241         (WTF::OrdinalNumber::fromZeroBasedInt):
3242         (WTF::OrdinalNumber::fromOneBasedInt):
3243         (WTF::OrdinalNumber::OrdinalNumber):
3244         (WTF::OrdinalNumber::zeroBasedInt):
3245         (WTF::OrdinalNumber::oneBasedInt):
3246         (WTF::OrdinalNumber::operator==):
3247         (WTF::OrdinalNumber::operator!=):
3248         (WTF::OrdinalNumber::first):
3249         (WTF::OrdinalNumber::beforeFirst):
3250         (TextPosition):
3251         (WTF::TextPosition::TextPosition):
3252         (WTF::TextPosition::operator==):
3253         (WTF::TextPosition::operator!=):
3254         (WTF::TextPosition::minimumPosition):
3255         (WTF::TextPosition::belowRangePosition):
3256         * wtf/text/WTFString.cpp: Renamed from Source/JavaScriptCore/wtf/text/WTFString.cpp.
3257         (WTF):
3258         (WTF::String::String):
3259         (WTF::String::append):
3260         (WTF::codePointCompare):
3261         (WTF::String::insert):
3262         (WTF::String::characterStartingAt):
3263         (WTF::String::truncate):
3264         (WTF::String::remove):
3265         (WTF::String::substring):
3266         (WTF::String::substringSharingImpl):
3267         (WTF::String::lower):
3268         (WTF::String::upper):
3269         (WTF::String::stripWhiteSpace):
3270         (WTF::String::simplifyWhiteSpace):
3271         (WTF::String::removeCharacters):
3272         (WTF::String::foldCase):
3273         (WTF::String::percentage):
3274         (WTF::String::charactersWithNullTermination):
3275         (WTF::String::format):
3276         (WTF::String::number):
3277         (WTF::String::toIntStrict):
3278         (WTF::String::toUIntStrict):
3279         (WTF::String::toInt64Strict):
3280         (WTF::String::toUInt64Strict):
3281         (WTF::String::toIntPtrStrict):
3282         (WTF::String::toInt):
3283         (WTF::String::toUInt):
3284         (WTF::String::toInt64):
3285         (WTF::String::toUInt64):
3286         (WTF::String::toIntPtr):
3287         (WTF::String::toDouble):
3288         (WTF::String::toFloat):
3289         (WTF::String::isolatedCopy):
3290         (WTF::String::split):
3291         (WTF::String::ascii):
3292         (WTF::String::latin1):
3293         (WTF::putUTF8Triple):
3294         (WTF::String::utf8):
3295         (WTF::String::fromUTF8):
3296         (WTF::String::fromUTF8WithLatin1Fallback):
3297         (WTF::isCharacterAllowedInBase):
3298         (WTF::toIntegralType):
3299         (WTF::lengthOfCharactersAsInteger):
3300         (WTF::charactersToIntStrict):
3301         (WTF::charactersToUIntStrict):
3302         (WTF::charactersToInt64Strict):
3303         (WTF::charactersToUInt64Strict):
3304         (WTF::charactersToIntPtrStrict):
3305         (WTF::charactersToInt):
3306         (WTF::charactersToUInt):
3307         (WTF::charactersToInt64):
3308         (WTF::charactersToUInt64):
3309         (WTF::charactersToIntPtr):
3310         (WTF::toDoubleType):
3311         (WTF::charactersToDouble):
3312         (WTF::charactersToFloat):
3313         (WTF::charactersToFloatIgnoringJunk):
3314         (WTF::emptyString):
3315         (String::show):
3316         (string):
3317         (asciiDebug):
3318         * wtf/text/WTFString.h: Renamed from Source/JavaScriptCore/wtf/text/WTFString.h.
3319         (WebKit):
3320         (WTF):
3321         (String):
3322         (WTF::String::String):
3323         (WTF::String::~String):
3324         (WTF::String::swap):
3325         (WTF::String::adopt):
3326         (WTF::String::isNull):
3327         (WTF::String::isEmpty):
3328         (WTF::String::impl):
3329         (WTF::String::length):
3330         (WTF::String::characters):
3331         (WTF::String::characters8):
3332         (WTF::String::characters16):
3333         (WTF::String::is8Bit):
3334         (WTF::String::operator[]):
3335         (WTF::String::find):
3336         (WTF::String::reverseFind):
3337         (WTF::String::findIgnoringCase):
3338         (WTF::String::reverseFindIgnoringCase):
3339         (WTF::String::contains):
3340         (WTF::String::startsWith):
3341         (WTF::String::endsWith):
3342         (WTF::String::append):
3343         (WTF::String::replace):
3344         (WTF::String::makeLower):
3345         (WTF::String::makeUpper):
3346         (WTF::String::fill):
3347         (WTF::String::left):
3348         (WTF::String::right):
3349         (WTF::String::createUninitialized):
3350         (WTF::String::operator NSString*):
3351         (WTF::String::fromUTF8):
3352         (WTF::String::fromUTF8WithLatin1Fallback):
3353         (WTF::String::defaultWritingDirection):
3354         (WTF::String::containsOnlyWhitespace):
3355         (WTF::String::isHashTableDeletedValue):
3356         (WTF::operator+=):
3357         (WTF::operator==):
3358         (WTF::operator!=):
3359         (WTF::equalIgnoringCase):
3360         (WTF::equalPossiblyIgnoringCase):
3361         (WTF::equalIgnoringNullity):
3362         (WTF::operator!):
3363         (WTF::swap):
3364         (WTF::LChar):
3365         (WTF::UChar):
3366         (WTF::String::containsOnlyLatin1):
3367         (WTF::nsStringNilIfEmpty):
3368         (WTF::String::containsOnlyASCII):
3369         (WTF::codePointCompareLessThan):
3370         (WTF::find):
3371         (WTF::reverseFind):
3372         (WTF::append):
3373         (WTF::appendNumber):
3374         (WTF::isAllSpecialCharacters):
3375         (WTF::String::isAllSpecialCharacters):
3376         * wtf/threads/BinarySemaphore.cpp: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.cpp.
3377         (WTF):
3378         (WTF::BinarySemaphore::BinarySemaphore):
3379         (WTF::BinarySemaphore::~BinarySemaphore):
3380         (WTF::BinarySemaphore::signal):
3381         (WTF::BinarySemaphore::wait):
3382         * wtf/threads/BinarySemaphore.h: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.h.
3383         (WTF):
3384         (BinarySemaphore):
3385         (WTF::BinarySemaphore::event):
3386         * wtf/threads/win/BinarySemaphoreWin.cpp: Renamed from Source/JavaScriptCore/wtf/threads/win/BinarySemaphoreWin.cpp.
3387         (WTF):
3388         (WTF::BinarySemaphore::BinarySemaphore):
3389         (WTF::BinarySemaphore::~BinarySemaphore):
3390         (WTF::BinarySemaphore::signal):
3391         (WTF::BinarySemaphore::wait):
3392         * wtf/unicode/CharacterNames.h: Renamed from Source/JavaScriptCore/wtf/unicode/CharacterNames.h.
3393         (Unicode):
3394         * wtf/unicode/Collator.h: Renamed from Source/JavaScriptCore/wtf/unicode/Collator.h.
3395         (WTF):
3396         (Collator):
3397         * wtf/unicode/CollatorDefault.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/CollatorDefault.cpp.
3398         (WTF):
3399         (WTF::Collator::Collator):
3400         (WTF::Collator::~Collator):
3401         (WTF::Collator::setOrderLowerFirst):
3402         (WTF::Collator::userDefault):
3403         (WTF::Collator::collate):
3404         * wtf/unicode/ScriptCodesFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/ScriptCodesFromICU.h.
3405         * wtf/unicode/UTF8.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.cpp.
3406         (Unicode):
3407         (WTF::Unicode::inlineUTF8SequenceLengthNonASCII):
3408         (WTF::Unicode::inlineUTF8SequenceLength):
3409         (WTF::Unicode::UTF8SequenceLength):
3410         (WTF::Unicode::decodeUTF8Sequence):
3411         (WTF::Unicode::convertLatin1ToUTF8):
3412         (WTF::Unicode::convertUTF16ToUTF8):
3413         (WTF::Unicode::isLegalUTF8):
3414         (WTF::Unicode::readUTF8Sequence):
3415         (WTF::Unicode::convertUTF8ToUTF16):
3416         (WTF::Unicode::calculateStringHashAndLengthFromUTF8):
3417         (WTF::Unicode::equalUTF16WithUTF8):
3418         * wtf/unicode/UTF8.h: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.h.
3419         (Unicode):
3420         * wtf/unicode/Unicode.h: Renamed from Source/JavaScriptCore/wtf/unicode/Unicode.h.
3421         * wtf/unicode/UnicodeMacrosFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/UnicodeMacrosFromICU.h.
3422         * wtf/unicode/glib/UnicodeGLib.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp.
3423         (Unicode):
3424         (WTF::Unicode::foldCase):
3425         (WTF::Unicode::getUTF16LengthFromUTF8):
3426         (WTF::Unicode::convertCase):
3427         (WTF::Unicode::toLower):
3428         (WTF::Unicode::toUpper):
3429         (WTF::Unicode::direction):
3430         (WTF::Unicode::umemcasecmp):
3431         * wtf/unicode/glib/UnicodeGLib.h: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h.
3432         (Unicode):
3433         (WTF::Unicode::toLower):
3434         (WTF::Unicode::toUpper):
3435         (WTF::Unicode::toTitleCase):
3436         (WTF::Unicode::isArabicChar):
3437         (WTF::Unicode::isAlphanumeric):
3438         (WTF::Unicode::isFormatChar):
3439         (WTF::Unicode::isSeparatorSpace):
3440         (WTF::Unicode::isPrintableChar):
3441         (WTF::Unicode::isDigit):
3442         (WTF::Unicode::isPunct):
3443         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
3444         (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
3445         (WTF::Unicode::mirroredChar):
3446         (WTF::Unicode::category):
3447         (WTF::Unicode::isLower):
3448         (WTF::Unicode::digitValue):
3449         (WTF::Unicode::combiningClass):
3450         (WTF::Unicode::decompositionType):
3451         * wtf/unicode/icu/CollatorICU.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp.
3452         (WTF):
3453         (WTF::cachedCollatorMutex):
3454         (WTF::Collator::Collator):
3455         (WTF::Collator::userDefault):
3456         (WTF::Collator::~Collator):
3457         (WTF::Collator::setOrderLowerFirst):
3458         (WTF::Collator::collate):
3459         (WTF::Collator::createCollator):
3460         (WTF::Collator::releaseCollator):
3461         * wtf/unicode/icu/UnicodeIcu.h: Renamed from Source/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h.
3462         (Unicode):
3463         (WTF::Unicode::foldCase):
3464         (WTF::Unicode::toLower):
3465         (WTF::Unicode::toUpper):
3466         (WTF::Unicode::toTitleCase):
3467         (WTF::Unicode::isArabicChar):
3468         (WTF::Unicode::isAlphanumeric):
3469         (WTF::Unicode::isSeparatorSpace):
3470         (WTF::Unicode::isPrintableChar):
3471         (WTF::Unicode::isPunct):
3472         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
3473         (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
3474         (WTF::Unicode::mirroredChar):
3475         (WTF::Unicode::category):
3476         (WTF::Unicode::direction):
3477         (WTF::Unicode::isLower):
3478         (WTF::Unicode::combiningClass):
3479         (WTF::Unicode::decompositionType):
3480         (WTF::Unicode::umemcasecmp):
3481         * wtf/unicode/qt4/UnicodeQt4.h: Renamed from Source/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h.
3482         (Properties):
3483         (QUnicodeTables):
3484         (Unicode):
3485         (WTF::Unicode::toLower):
3486         (WTF::Unicode::toUpper):
3487         (WTF::Unicode::toTitleCase):
3488         (WTF::Unicode::foldCase):
3489         (WTF::Unicode::isArabicChar):
3490         (WTF::Unicode::isPrintableChar):
3491         (WTF::Unicode::isSeparatorSpace):
3492         (WTF::Unicode::isPunct):
3493         (WTF::Unicode::isLower):
3494         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
3495         (WTF::Unicode::mirroredChar):
3496         (WTF::Unicode::combiningClass):
3497         (WTF::Unicode::decompositionType):
3498         (WTF::Unicode::umemcasecmp):
3499         (WTF::Unicode::direction):
3500         (WTF::Unicode::category):
3501         * wtf/unicode/wince/UnicodeWinCE.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.cpp.
3502         (Unicode):
3503         (WTF::Unicode::toLower):
3504         (WTF::Unicode::toUpper):
3505         (WTF::Unicode::foldCase):
3506         (WTF::Unicode::isPrintableChar):
3507         (WTF::Unicode::isSpace):
3508         (WTF::Unicode::isLetter):
3509         (WTF::Unicode::isUpper):
3510         (WTF::Unicode::isLower):
3511         (WTF::Unicode::isDigit):
3512         (WTF::Unicode::isPunct):
3513         (WTF::Unicode::isAlphanumeric):
3514         (WTF::Unicode::toTitleCase):
3515         (WTF::Unicode::direction):
3516         (WTF::Unicode::category):
3517         (WTF::Unicode::decompositionType):
3518         (WTF::Unicode::combiningClass):
3519         (WTF::Unicode::mirroredChar):
3520         (WTF::Unicode::digitValue):
3521         * wtf/unicode/wince/UnicodeWinCE.h: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.h.
3522         (Unicode):
3523         (WTF::Unicode::isSeparatorSpace):
3524         (WTF::Unicode::isHighSurrogate):
3525         (WTF::Unicode::isLowSurrogate):
3526         (WTF::Unicode::isArabicChar):
3527         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
3528         (WTF::Unicode::umemcasecmp):
3529         (WTF::Unicode::surrogateToUcs4):
3530         * wtf/url/api/ParsedURL.cpp: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.cpp.
3531         (WTF):
3532         (WTF::ParsedURL::ParsedURL):
3533         (WTF::ParsedURL::isolatedCopy):
3534         (WTF::ParsedURL::scheme):
3535         (WTF::ParsedURL::username):
3536         (WTF::ParsedURL::password):
3537         (WTF::ParsedURL::host):
3538         (WTF::ParsedURL::port):
3539         (WTF::ParsedURL::path):
3540         (WTF::ParsedURL::query):
3541         (WTF::ParsedURL::fragment):
3542         (WTF::ParsedURL::baseAsString):
3543         (WTF::ParsedURL::segment):
3544         * wtf/url/api/ParsedURL.h: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.h.
3545         (WTF):
3546         (ParsedURL):
3547         (WTF::ParsedURL::ParsedURL):
3548         (WTF::ParsedURL::isValid):
3549         (WTF::ParsedURL::spec):
3550         * wtf/url/api/URLString.h: Renamed from Source/JavaScriptCore/wtf/url/api/URLString.h.
3551         (WTF):
3552         (URLString):
3553         (WTF::URLString::URLString):
3554         (WTF::URLString::string):
3555         * wtf/url/src/RawURLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/RawURLBuffer.h.
3556         (WTF):
3557         (RawURLBuffer):
3558         (WTF::RawURLBuffer::RawURLBuffer):
3559         (WTF::RawURLBuffer::~RawURLBuffer):
3560         (WTF::RawURLBuffer::resize):
3561         * wtf/url/src/URLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLBuffer.h.
3562         (WTF):
3563         (URLBuffer):
3564         (WTF::URLBuffer::URLBuffer):
3565         (WTF::URLBuffer::~URLBuffer):
3566         (WTF::URLBuffer::at):
3567         (WTF::URLBuffer::set):
3568         (WTF::URLBuffer::capacity):
3569         (WTF::URLBuffer::length):
3570         (WTF::URLBuffer::data):
3571         (WTF::URLBuffer::setLength):
3572         (WTF::URLBuffer::append):
3573         (WTF::URLBuffer::grow):
3574         * wtf/url/src/URLCharacterTypes.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.cpp.
3575         (WTF):
3576         * wtf/url/src/URLCharacterTypes.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.h.
3577         (WTF):
3578         (URLCharacterTypes):
3579         (WTF::URLCharacterTypes::isQueryChar):
3580         (WTF::URLCharacterTypes::isIPv4Char):
3581         (WTF::URLCharacterTypes::isHexChar):
3582         (WTF::URLCharacterTypes::isCharOfType):
3583         * wtf/url/src/URLComponent.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLComponent.h.
3584         (WTF):
3585         (URLComponent):
3586         (WTF::URLComponent::URLComponent):
3587         (WTF::URLComponent::fromRange):
3588         (WTF::URLComponent::isValid):
3589         (WTF::URLComponent::isNonEmpty):
3590         (WTF::URLComponent::isEmptyOrInvalid):
3591         (WTF::URLComponent::reset):
3592         (WTF::URLComponent::operator==):
3593         (WTF::URLComponent::begin):
3594         (WTF::URLComponent::setBegin):
3595         (WTF::URLComponent::length):
3596         (WTF::URLComponent::setLength):
3597         (WTF::URLComponent::end):
3598         * wtf/url/src/URLEscape.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.cpp.
3599         (WTF):
3600         * wtf/url/src/URLEscape.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.h.
3601         (WTF):
3602         (WTF::appendURLEscapedCharacter):
3603         * wtf/url/src/URLParser.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLParser.h.
3604         (WTF):
3605         (URLParser):
3606         (WTF::URLParser::isPossibleAuthorityTerminator):
3607         (WTF::URLParser::parseAuthority):
3608         (WTF::URLParser::extractScheme):
3609         (WTF::URLParser::parseAfterScheme):
3610         (WTF::URLParser::parseStandardURL):
3611         (WTF::URLParser::parsePath):
3612         (WTF::URLParser::parsePathURL):
3613         (WTF::URLParser::parseMailtoURL):
3614         (WTF::URLParser::parsePort):
3615         (WTF::URLParser::extractFileName):
3616         (WTF::URLParser::extractQueryKeyValue):
3617         (WTF::URLParser::isURLSlash):
3618         (WTF::URLParser::shouldTrimFromURL):
3619         (WTF::URLParser::trimURL):
3620         (WTF::URLParser::consecutiveSlashes):
3621         (WTF::URLParser::isPortDigit):
3622         (WTF::URLParser::nextAuthorityTerminator):
3623         (WTF::URLParser::parseUserInfo):
3624         (WTF::URLParser::parseServerInfo):
3625         * wtf/url/src/URLQueryCanonicalizer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLQueryCanonicalizer.h.
3626         (WTF):
3627         (URLQueryCanonicalizer):
3628         (WTF::URLQueryCanonicalizer::canonicalize):
3629         (WTF::URLQueryCanonicalizer::isAllASCII):
3630         (WTF::URLQueryCanonicalizer::isRaw8Bit):
3631         (WTF::URLQueryCanonicalizer::appendRaw8BitQueryString):
3632         (WTF::URLQueryCanonicalizer::convertToQueryEncoding):
3633         * wtf/url/src/URLSegments.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.cpp.
3634         (WTF):
3635         (WTF::URLSegments::length):
3636         (WTF::URLSegments::charactersBefore):
3637         * wtf/url/src/URLSegments.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.h.
3638         (WTF):
3639         (URLSegments):
3640         (WTF::URLSegments::URLSegments):
3641         * wtf/win/MainThreadWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/MainThreadWin.cpp.
3642         (WTF):
3643         (WTF::ThreadingWindowWndProc):
3644         (WTF::initializeMainThreadPlatform):
3645         (WTF::scheduleDispatchFunctionsOnMainThread):
3646         * wtf/win/OwnPtrWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/OwnPtrWin.cpp.
3647         (WTF):
3648         (WTF::deleteOwnedPtr):
3649         * wtf/wince/FastMallocWinCE.h: Renamed from Source/JavaScriptCore/wtf/wince/FastMallocWinCE.h.
3650         (operator new):
3651         (operator delete):
3652         (operator new[]):
3653         (operator delete[]):
3654         (throw):
3655         (WTF):
3656         (Internal):
3657         (WTF::Internal::fastMallocMatchValidationType):
3658         (WTF::Internal::fastMallocMatchValidationValue):
3659         (WTF::Internal::setFastMallocMatchValidationType):
3660         (WTF::fastMallocMatchValidateMalloc):
3661         (WTF::fastMallocMatchValidateFree):
3662         * wtf/wince/MemoryManager.cpp: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.cpp.
3663         (WTF):
3664         (WTF::memoryManager):
3665         (WTF::MemoryManager::MemoryManager):
3666         (WTF::MemoryManager::~MemoryManager):
3667         (WTF::MemoryManager::createCompatibleBitmap):
3668         (WTF::MemoryManager::createDIBSection):
3669         (WTF::MemoryManager::m_malloc):
3670         (WTF::MemoryManager::m_calloc):
3671         (WTF::MemoryManager::m_realloc):
3672         (WTF::MemoryManager::m_free):
3673         (WTF::MemoryManager::resizeMemory):
3674         (WTF::MemoryManager::allocate64kBlock):
3675         (WTF::MemoryManager::free64kBlock):
3676         (WTF::MemoryManager::onIdle):
3677         (WTF::MemoryManager::virtualAlloc):
3678         (WTF::MemoryManager::virtualFree):
3679         (WTF::fastMalloc):
3680         (WTF::fastCalloc):
3681         (WTF::fastFree):
3682         (WTF::fastRealloc):
3683         (WTF::fastMallocForbid):
3684         (WTF::fastMallocAllow):
3685         (WTF::fastZeroedMalloc):
3686         (WTF::tryFastMalloc):
3687         (WTF::tryFastZeroedMalloc):
3688         (WTF::tryFastCalloc):
3689         (WTF::tryFastRealloc):
3690         (WTF::fastStrDup):
3691         * wtf/wince/MemoryManager.h: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.h.
3692         (WTF):
3693         (MemoryManager):
3694         (WTF::MemoryManager::allocationCanFail):
3695         (WTF::MemoryManager::setAllocationCanFail):
3696         (MemoryAllocationCanFail):
3697         (WTF::MemoryAllocationCanFail::MemoryAllocationCanFail):
3698         (WTF::MemoryAllocationCanFail::~MemoryAllocationCanFail):
3699         (MemoryAllocationCannotFail):
3700         (WTF::MemoryAllocationCannotFail::MemoryAllocationCannotFail):
3701         (WTF::MemoryAllocationCannotFail::~MemoryAllocationCannotFail):
3702         * wtf/wx/MainThreadWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/MainThreadWx.cpp.
3703         (wxCallAfter):
3704         (wxCallAfter::wxCallAfter):
3705         (wxCallAfter::OnCallback):
3706         (WTF):
3707         (WTF::initializeMainThreadPlatform):
3708         (WTF::scheduleDispatchFunctionsOnMainThread):
3709         * wtf/wx/StringWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/StringWx.cpp.
3710         (WTF):
3711         (WTF::String::String):
3712         (WTF::String::operator wxString):
3713
3714 2012-03-22  Hyowon Kim  <hw1008.kim@samsung.com>
3715
3716         [EFL] Add PageClientEfl to WebCoreSupport.
3717         https://bugs.webkit.org/show_bug.cgi?id=80748
3718
3719         Reviewed by Noam Rosenthal.
3720
3721         * wtf/Platform.h: Disable accelerated compositing. It's not ready yet.
3722
3723 2012-03-21  Beth Dakin  <bdakin@apple.com>
3724
3725         https://bugs.webkit.org/show_bug.cgi?id=80322
3726         Implement image-set
3727
3728         Reviewed by Dean Jackson.
3729
3730         For the time being, image-set is opt-in since the implementation is 
3731         incomplete. 
3732
3733         Add an ENABLE flag for image-set.
3734         * wtf/Platform.h:
3735
3736 2012-03-21  Jessie Berlin  <jberlin@apple.com>
3737
3738         Fix the Windows build after r111504.
3739
3740         * WTF.vcproj/WTF.vcproj:
3741         Platform.h was moved to Source/WTF.
3742         * WTF.vcproj/copy-files.cmd:
3743         Copy Platform.h from its new source location. This separate copy will not be necessary once
3744         the full move is done and all the headers are being copied at once from the new locations.
3745
3746 2012-03-21  Jessie Berlin  <jberlin@apple.com>
3747
3748         WTF headers should be in $(ConfigurationBuildDir)\include\private\wtf, not
3749         $(ConfigurationBuildDir)\include\private\JavaScriptCore\wtf.
3750         https://bugs.webkit.org/show_bug.cgi?id=81739
3751
3752         Reviewed by Dan Bernstein.
3753
3754         * WTF.vcproj/copy-files.cmd:
3755         Copy the headers to private/include/wtf instead of private/include/JavaScriptCore/wtf.
3756
3757 2012-03-20  Eric Seidel  <eric@webkit.org>
3758
3759         Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
3760         https://bugs.webkit.org/show_bug.cgi?id=80911
3761
3762         Reviewed by Adam Barth.
3763
3764         Update build systems to account for the new location of Platform.h
3765
3766         * GNUmakefile.list.am:
3767         * WTF.gypi:
3768         * WTF.pro:
3769         * WTF.vcproj/WTF.vcproj:
3770         * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py:
3771         (react_to_vsprops_changes):
3772         * WTF.xcodeproj/project.pbxproj:
3773         * config.h: I don't think this change is 100% correct (but seemed to be needed to make qt-wk2 build)
3774          - This dependency on JSC should be removed regardless (in a later patch).
3775         * wtf/Platform.h: Renamed from Source/JavaScriptCore/wtf/Platform.h.
3776
3777 2012-03-20  Steve Falkenburg  <sfalken@apple.com>
3778
3779         Move WTF-related Windows project files out of JavaScriptCore
3780         https://bugs.webkit.org/show_bug.cgi?id=80680
3781         
3782         This change only moves the vcproj and related files from JavaScriptCore/JavaScriptCore.vcproj/WTF.
3783         It does not move any source code. This is in preparation for the WTF source move out of
3784         JavaScriptCore.
3785
3786         Reviewed by Jessie Berlin.
3787
3788         * WTF.vcproj: Added.
3789         * WTF.vcproj/WTF.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj.
3790         * WTF.vcproj/WTFCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFCommon.vsprops.
3791         * WTF.vcproj/WTFDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebug.vsprops.
3792         * WTF.vcproj/WTFDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugAll.vsprops.
3793         * WTF.vcproj/WTFDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugCairoCFLite.vsprops.
3794         * WTF.vcproj/WTFGenerated.make: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.make.
3795         * WTF.vcproj/WTFGenerated.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.vcproj.
3796         * WTF.vcproj/WTFGeneratedCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedCommon.vsprops.
3797         * WTF.vcproj/WTFGeneratedDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebug.vsprops.
3798         * WTF.vcproj/WTFGeneratedDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugAll.vsprops.
3799         * WTF.vcproj/WTFGeneratedDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugCairoCFLite.vsprops.
3800         * WTF.vcproj/WTFGeneratedProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedProduction.vsprops.
3801         * WTF.vcproj/WTFGeneratedRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedRelease.vsprops.
3802         * WTF.vcproj/WTFGeneratedReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedReleaseCairoCFLite.vsprops.
3803         * WTF.vcproj/WTFPostBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd.
3804         * WTF.vcproj/WTFPreBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd.
3805         * WTF.vcproj/WTFProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFProduction.vsprops.
3806         * WTF.vcproj/WTFRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFRelease.vsprops.
3807         * WTF.vcproj/WTFReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops.
3808         * WTF.vcproj/build-generated-files.sh: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/build-generated-files.sh.
3809         * WTF.vcproj/copy-files.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/copy-files.cmd.
3810         * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/work-around-vs-dependency-tracking-bugs.py.
3811
3812 2012-03-20  Peter Beverloo  <peter@chromium.org>
3813
3814         [Chromium] Fix the Android build by building NEWWTF for host
3815         https://bugs.webkit.org/show_bug.cgi?id=81643
3816
3817         Reviewed by Tony Gentilcore.
3818
3819         Chromium for Android builds the ImageDiff target for the host architecture,
3820         so all dependencies it has need to be able to build for host as well.
3821         r111258 added (new)WTF as a dependency instead of just including the
3822         header files, so make it possible to build the newwtf target for host.
3823
3824         * WTF.gyp/WTF.gyp:
3825
3826 2012-03-19  Dan Bernstein  <mitz@apple.com>
3827
3828         Set the svn:ignore property on the Xcode project.
3829
3830         * WTF.xcodeproj: Added property svn:ignore.
3831
3832 2012-03-16  Mark Rowe  <mrowe@apple.com>
3833
3834         Build fix. Do not preserve owner and group information when installing the WTF headers.
3835
3836         * WTF.xcodeproj/project.pbxproj:
3837
3838 2012-03-07  Mark Rowe  <mrowe@apple.com>
3839
3840         Teach make to build WTF.
3841
3842         * Makefile: Added.
3843
3844 2012-02-11  Filip Pizlo  <fpizlo@apple.com>
3845
3846         It should be possible to send all JSC debug logging to a file
3847         https://bugs.webkit.org/show_bug.cgi?id=78418
3848
3849         Reviewed by Sam Weinig.
3850         
3851         Introduced wtf/DataLog, which defines WTF::dataFile, WTF::dataLog,
3852         and WTF::dataLogV. Changed all debugging- and profiling-related printfs
3853         to use WTF::dataLog() or one of its friends. By default, debug logging
3854         goes to stderr, unless you change the setting in wtf/DataLog.cpp.
3855
3856         * WTF.pro:
3857
3858 2012-02-03  Simon Hausmann  <simon.hausmann@nokia.com>
3859
3860         [Qt] Fix build when cross-compiling
3861         https://bugs.webkit.org/show_bug.cgi?id=77634
3862
3863         Reviewed by Tor Arne Vestbø.
3864
3865         * WTF.pri: Don't use icu-config for determining the library search
3866         path and libraries needed for ICU. Either we use icu-config for includes
3867         _and_ libraries or we don't. Right now we assume that icu is a system library
3868         and expect the headers in the default include search pathes (/usr/include for example).
3869         However we use icu-config to figure out where the libraries are, which breaks when
3870         cross-compiling, because icu-config isn't cross-compile friendly (I wish icu was using
3871         pkg-config). I think for the time being we should require ICU as a _system_ library,
3872         which implies the header and library availability in default search paths. This also
3873         makes the build succeed when cross-compiling with --sysroot.
3874
3875 2012-01-27  Zeno Albisser  <zeno@webkit.org>
3876
3877         [Qt][Mac] Build fails after adding ICU support (r105997).
3878         https://bugs.webkit.org/show_bug.cgi?id=77118
3879
3880         Link to libicucore if platform Mac.
3881
3882         Reviewed by Tor Arne Vestbø.
3883
3884         * WTF.pri:
3885
3886 2012-01-26  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3887
3888         [Qt] Use ICU if available
3889         https://bugs.webkit.org/show_bug.cgi?id=76821
3890
3891         Reviewed by Simon Hausmann.
3892
3893         Adding libicu dependencies for a Qt5 based build.
3894
3895         * WTF.pri:
3896
3897 2012-01-26  Csaba Osztrogonác  <ossy@webkit.org>
3898
3899         [Qt][Win] One more speculative buildfix after r105970.
3900
3901         * WTF.pri:
3902
3903 2012-01-26  Nikolas Zimmermann  <nzimmermann@rim.com>
3904
3905         Not reviewed. Try to fix Qt/Win build by building OwnPtrWin.cpp into the WTF library.
3906
3907         * WTF.pro:
3908
3909 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
3910
3911         Enable use of precompiled headers in Chromium port on Windows.
3912
3913         Bug 76381 - Use precompiled headers in Chromium port on Windows
3914         https://bugs.webkit.org/show_bug.cgi?id=76381
3915
3916         Reviewed by Tony Chang.
3917
3918         * WTF.gyp/WTF.gyp: Include WinPrecompile.gypi.
3919
3920 2012-01-18  Roland Takacs  <takacs.roland@stud.u-szeged.hu>
3921
3922         Cross-platform processor core counter
3923         https://bugs.webkit.org/show_bug.cgi?id=76530
3924
3925         Reviewed by Zoltan Herczeg.
3926
3927         Two files have been added to the project, namely NumberOfCores.h/cpp,
3928         that include a CPU core number determining function.
3929
3930         * WTF.pro:
3931
3932 2012-01-17  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3933
3934         Uint8ClampedArray support
3935         https://bugs.webkit.org/show_bug.cgi?id=74455
3936
3937         Reviewed by Filip Pizlo.
3938
3939         * WTF.pro:
3940
3941 2012-01-13  Alexis Menard  <alexis.menard@openbossa.org>
3942
3943         Unreviewed build fix for Qt SnowLeopard build bot.
3944
3945         This is a workaround for the moment.
3946
3947         * wtf/Platform.h:
3948
3949 2012-01-12  Simon Hausmann  <simon.hausmann@nokia.com>
3950
3951         Make the new WTF module build on Qt
3952         https://bugs.webkit.org/show_bug.cgi?id=76163
3953
3954         Reviewed by Tor Arne Vestbø.
3955
3956         With this change the WTF sources are built _here_ but _from_ their old location using a VPATH.
3957
3958         * WTF.pri: Renamed from Source/JavaScriptCore/wtf/wtf.pri.
3959         * WTF.pro: Renamed from Source/JavaScriptCore/wtf/wtf.pro.
3960         * config.h: Bring this file in sync with JavaScriptCore/config.h with regards to the inclusion
3961         / definition of the export macros.
3962
3963 2012-01-06  Benjamin Poulain  <bpoulain@apple.com>
3964
3965         [Mac] Sort the resources of WTF.xcodeproj
3966         https://bugs.webkit.org/show_bug.cgi?id=75639
3967
3968         Reviewed by Andreas Kling.
3969
3970         * WTF.xcodeproj/project.pbxproj:
3971
3972 2012-01-06  Eric Seidel  <eric@webkit.org> and Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
3973
3974         Make the new WTF module build on Gtk
3975         https://bugs.webkit.org/show_bug.cgi?id=75669
3976
3977         * GNUmakefile.am: Added.
3978         * GNUmakefile.list.am: Added.
3979
3980 2011-11-19  Adam Barth  <abarth@webkit.org>
3981
3982         Integrate Source/WTF with the Chromium build system
3983         https://bugs.webkit.org/show_bug.cgi?id=72790
3984
3985         Reviewed by Eric Seidel.
3986
3987         Rename the target in this file to "newwtf" to avoid naming conflicts.
3988
3989         * WTF.gyp/WTF.gyp:
3990
3991 2011-11-19  Mark Rowe  <mrowe@apple.com>
3992
3993         WTF should have an Xcode project
3994         https://bugs.webkit.org/show_bug.cgi?id=71752
3995
3996         Reviewed by Adam Barth.
3997
3998         This adds an Xcode project that includes only Stub.cpp and Stub.h.
3999         They’re built in to a library at the appropriate path for each
4000         configuration (WebKitBuild/{Debug,Release}/libWTF.a and
4001         /usr/local/lib/libWTF.a) and headers are installed in to the
4002         appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf
4003         and /usr/local/include/wtf). I tested building WTF in this project and
4004         everything appears to build except for DateMath.cpp (due to bug 71747).
4005         I have not yet done any work on making JavaScriptCore and other
4006         projects use the built products of this new project.
4007
4008         * Configurations: Added.
4009         * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig.
4010         * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig.
4011         * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig.
4012         * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig.
4013         * WTF.xcodeproj: Added.
4014         * WTF.xcodeproj/project.pbxproj: Added.
4015         * config.h: Copied from Source/JavaScriptCore/config.h.
4016         * icu: Added.
4017         * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE.
4018         * icu/README: Copied from Source/JavaScriptCore/icu/README.
4019         * icu/unicode: Added.
4020         * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h.
4021         * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h.
4022         * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h.
4023         * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h.
4024         * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h.
4025         * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h.
4026         * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h.
4027         * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h.
4028         * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h.
4029         * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h.
4030         * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h.
4031         * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h.
4032         * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h.
4033         * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h.
4034         * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h.
4035         * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h.
4036         * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h.
4037         * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h.
4038         * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h.
4039         * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h.
4040         * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h.
4041         * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h.
4042         * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h.
4043
4044 2011-11-03  Adam Barth  <abarth@webkit.org>
4045
4046         Add Stub.h and Stub.cpp to Source-level WTF project
4047         https://bugs.webkit.org/show_bug.cgi?id=71497
4048
4049         Reviewed by Eric Seidel.
4050
4051         This patch adds some stub files and a skelton GYP build file as a
4052         starting point for the new Source-level WTF project.  Other build
4053         systems and actual code will arrive in future patches.
4054
4055         * Stub.cpp: Added.
4056         * Stub.h: Added.
4057         * WTF.gyp/WTF.gyp: Added.
4058         * WTF.gypi: Added.
4059
4060 2011-11-02  Adam Barth  <abarth@webkit.org>
4061
4062         Add stubs for WTF and Platform
4063         https://bugs.webkit.org/show_bug.cgi?id=71492
4064
4065         Reviewed by Eric Seidel.
4066
4067         This patch creates the WTF directory, which begins the process of
4068         moving WTF out of JavaScriptCore.