Handle keypad while WebPage sets the focus automatically
[framework/web/webkit-efl.git] / Source / WTF / ChangeLog
1 2012-05-30  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2
3         HashTable.h has using directives for std::pair and std::make_pair
4         https://bugs.webkit.org/show_bug.cgi?id=29919
5
6         Reviewed by Darin Adler.
7
8         * wtf/HashTraits.h:
9         (WTF): Remove the directives.
10
11 2012-05-30  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
12
13         HashTable.h has using directives for std::pair and std::make_pair
14         https://bugs.webkit.org/show_bug.cgi?id=29919
15
16         Reviewed by Darin Adler.
17
18         Change code to use std::pair and std::make_pair. Later patch will remove the
19         'using' directives.
20
21         * wtf/HashTable.h:
22         (WTF::hashTableSwap):
23         (HashTable):
24         * wtf/HashTraits.h:
25         (PairHashTraits):
26         (WTF::PairHashTraits::emptyValue):
27
28 2012-05-30  Patrick Gansterer  <paroga@webkit.org>
29
30         Build fix for WinCE after r118603.
31
32         * wtf/Atomics.h:
33         (WTF::weakCompareAndSwap):
34
35 2012-05-29  Anders Carlsson  <andersca@apple.com>
36
37         String should be move enabled/optimized
38         https://bugs.webkit.org/show_bug.cgi?id=87596
39
40         Reviewed by Andreas Kling.
41
42         Add move constructors and move assignment operators to String and AtomicString when building with
43         compilers that support rvalue references. This gets rid of ref-churn when the source of the 
44         constructor or assignment is a temporary object.
45
46         * wtf/text/AtomicString.h:
47         (AtomicString):
48         (WTF::AtomicString::AtomicString):
49         (WTF::AtomicString::operator=):
50         * wtf/text/WTFString.h:
51         (String):
52         (WTF::String::String):
53         (WTF::String::operator=):
54
55 2012-05-29  Alexandre Elias  <aelias@google.com>
56
57         Support WebKit log messages on Android
58         https://bugs.webkit.org/show_bug.cgi?id=87773
59
60         Reviewed by Darin Adler.
61
62         This sends WebKit log messages to the Android "logcat" facility, as
63         Android sends stderr to /dev/null.
64
65         * wtf/Assertions.cpp:
66
67 2012-05-29  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
68
69         [Qt] Remove duplication of logic for disabling selected warnings related to C++11
70
71         This is already handled in unix/default_post.prf
72
73         Reviewed by Simon Hausmann.
74
75         * WTF.pro:
76
77 2012-05-27  Darin Adler  <darin@apple.com>
78
79         Fix an incorrect assertion in Vector::remove
80         https://bugs.webkit.org/show_bug.cgi?id=87612
81
82         Reviewed by Dan Bernstein.
83
84         * wtf/Vector.h: There's no good reason to disallow calling remove
85         with a size of 0, even when the position is at the end of the vector,
86         so changed the two-argument Vector::remove assertion to assert that
87         the position is <= size rather than < size.
88
89 2012-05-27  Yoshifumi Inoue  <yosin@chromium.org>
90
91         [WTF] Introduce UINT64_C to MathExtras.h
92         https://bugs.webkit.org/show_bug.cgi?id=87485
93
94         Reviewed by Kent Tamura.
95
96         * wtf/MathExtras.h:
97
98 2012-05-25  Filip Pizlo  <fpizlo@apple.com>
99
100         weakCompareAndSwap should work on Windows
101         https://bugs.webkit.org/show_bug.cgi?id=87549
102
103         Reviewed by Jessie Berlin.
104
105         * wtf/Atomics.h:
106         (WTF):
107         (WTF::weakCompareAndSwap):
108
109 2012-05-24  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
110
111         cti_vm_throw gets kicked out by gcc 4.6 -flto
112         https://bugs.webkit.org/show_bug.cgi?id=56088
113
114         Reviewed by Darin Adler.
115
116         Define REFERENCED_FROM_ASM to __attribute__((used)) on GCC.
117
118         * wtf/Compiler.h:
119
120 2012-05-23  Darin Adler  <darin@apple.com>
121
122         Optimize iteration of empty hash tables
123         https://bugs.webkit.org/show_bug.cgi?id=87215
124
125         Reviewed by Geoffrey Garen.
126
127         Iteration of empty hash tables was showing up on simple page loading
128         profiles due to the use of hash tables in the
129         NodeListsNodeData::invalidateCaches and
130         NodeListsNodeData::invalidateCachesThatDependOnAttributes functions.
131         It's worth optimizing the case of an empty table.
132
133         * wtf/HashTable.h:
134         (WTF::HashTable::begin): Return the known-good end iterator when the
135         table is empty. This makes iterating an empty table faster because we
136         avoid skipping empty and deleted buckets.
137
138 2012-05-22  Geoffrey Garen  <ggaren@apple.com>
139
140         Build fix.
141
142         * wtf/RAMSize.cpp:
143         (WTF::computeRAMSize): sysctl expects a uint64_t, so use that and then
144         cast back to size_t. Since it's coneivable that a 32bit process would
145         run on a system with more than 4GB RAM, I added a paranoid check for
146         that condition.
147
148 2012-05-22  Jessie Berlin  <jberlin@apple.com>
149
150         Build fix.
151
152         * wtf/RAMSize.cpp:
153         (WTF::computeRAMSize):
154         If you say you are going to return a size_t, actually return a size_t.
155
156 2012-05-21  Geoffrey Garen  <ggaren@apple.com>
157
158         GC allocation trigger should be tuned to system RAM
159         https://bugs.webkit.org/show_bug.cgi?id=87039
160
161         Reviewed by Darin Adler.
162
163         Added a helper function for measuring system RAM.
164
165         * GNUmakefile.list.am:
166         * WTF.gypi:
167         * WTF.pro:
168         * WTF.vcproj/WTF.vcproj:
169         * WTF.xcodeproj/project.pbxproj:
170         * wtf/AmountOfRAM.cpp: Added.
171         (WTF):
172         (WTF::computeAmountOfRAM):
173         (WTF::amountOfRAM):
174         * wtf/AmountOfRAM.h: Added.
175         (WTF):
176         * wtf/CMakeLists.txt:
177         * wtf/StdLibExtras.h:
178         (WTF):
179
180 2012-05-22  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
181
182         GCC 4.7 and C++11 support.
183         https://bugs.webkit.org/show_bug.cgi?id=86465
184
185         Reviewed by Darin Adler.
186
187         Detect C++11 mode in GCC 4.7 and set appropiate compiler feature flags.
188         Turn C++11 override control into a compiler feature flag.
189         Fix non-clang support of compiler feature CXX_DELETED_FUNCTIONS.
190
191         * wtf/Compiler.h:
192         * wtf/Noncopyable.h:
193
194 2012-05-22  Filip Pizlo  <fpizlo@apple.com>
195
196         REGRESSION(r117861): It made almost all tests crash on Qt
197         https://bugs.webkit.org/show_bug.cgi?id=87082
198
199         Reviewed by Csaba Osztrogonác.
200         
201         Using OwnArrayPtr is a bad idea if you allocate array with fastCalloc.
202
203         * wtf/FastBitVector.h:
204         (WTF::FastBitVector::FastBitVector):
205         (WTF::FastBitVector::~FastBitVector):
206         (FastBitVector):
207         (WTF::FastBitVector::operator=):
208         (WTF::FastBitVector::resize):
209         (WTF::FastBitVector::setAll):
210         (WTF::FastBitVector::clearAll):
211         (WTF::FastBitVector::set):
212
213 2012-05-21  Filip Pizlo  <fpizlo@apple.com>
214
215         DFG should be able to compute dominators
216         https://bugs.webkit.org/show_bug.cgi?id=85269
217
218         Reviewed by Oliver Hunt.
219         
220         Merged r115754 from dfgopt.
221         
222         Added a bitvector class suitable for cheap static analysis. This class
223         differs from BitVector in that instead of optimizing for space, it
224         optimizes for execution time. Its API is also somewhat less friendly,
225         which is intentional; it's meant to be used in places where you know
226         up front how bit your bitvectors are going to be.
227
228         * GNUmakefile.list.am:
229         * WTF.vcproj/WTF.vcproj:
230         * WTF.xcodeproj/project.pbxproj:
231         * wtf/FastBitVector.h: Added.
232         (WTF):
233         (FastBitVector):
234         (WTF::FastBitVector::FastBitVector):
235         (WTF::FastBitVector::operator=):
236         (WTF::FastBitVector::numBits):
237         (WTF::FastBitVector::resize):
238         (WTF::FastBitVector::setAll):
239         (WTF::FastBitVector::clearAll):
240         (WTF::FastBitVector::set):
241         (WTF::FastBitVector::setAndCheck):
242         (WTF::FastBitVector::equals):
243         (WTF::FastBitVector::merge):
244         (WTF::FastBitVector::filter):
245         (WTF::FastBitVector::exclude):
246         (WTF::FastBitVector::clear):
247         (WTF::FastBitVector::get):
248         (WTF::FastBitVector::arrayLength):
249
250 2012-05-15  Gavin Barraclough  <barraclough@apple.com>
251
252         Add support for private names
253         https://bugs.webkit.org/show_bug.cgi?id=86509
254
255         Reviewed by Oliver Hunt.
256
257         The spec isn't final, but we can start adding support to allow property maps
258         to contain keys that aren't identifiers.
259
260         * wtf/text/StringImpl.h:
261         (WTF::StringImpl::StringImpl):
262         (StringImpl):
263         (WTF::StringImpl::createEmptyUnique):
264         (WTF::StringImpl::isEmptyUnique):
265             - Allow empty string impls to be allocated, which can be used as unique keys.
266
267 2012-05-21  Emil A Eklund <eae@chromium.org> and Levi Weintraub  <leviw@chromium.org>
268
269         Enable SUBPIXEL_LAYOUT feature flag on Chromium
270         https://bugs.webkit.org/show_bug.cgi?id=85555
271
272         Reviewed by Eric Seidel.
273
274         Enabling sub-pixel layout on Chromium port.
275
276         * wtf/Platform.h:
277
278 2012-05-21  Andreas Kling  <kling@webkit.org>
279
280         CSS: Move duplicate property elimination to parser.
281         <http://webkit.org/b/86948>
282
283         Reviewed by Antti Koivisto.
284
285         Add WTF::BitArray, a simple, malloc free, fixed-size bit array class.
286
287         * GNUmakefile.list.am:
288         * WTF.gypi:
289         * WTF.pro:
290         * WTF.vcproj/WTF.vcproj:
291         * WTF.xcodeproj/project.pbxproj:
292         * wtf/BitArray.h: Added.
293         (WTF):
294         (BitArray):
295         (WTF::BitArray::BitArray):
296         (WTF::BitArray::set):
297         (WTF::BitArray::get):
298         * wtf/CMakeLists.txt:
299
300 2012-05-21  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
301
302         Colliding isinf/isnan between C99 and C++11 with GCC >=4.6
303         https://bugs.webkit.org/show_bug.cgi?id=59249
304
305         Reviewed by Darin Adler.
306
307         Workaround the isinf and isnan conflict in GCC C++11.
308
309         * wtf/Compiler.h:
310         * wtf/MathExtras.h:
311         (std::wtf_isinf):
312         (std::wtf_isnan):
313
314 2012-05-21  Andreas Kling  <kling@webkit.org>
315
316         REGRESSION(r117501): IconDatabase asserts on startup in synchronousIconForPageURL().
317         <http://webkit.org/b/86935>
318         <rdar://problem/11480012>
319
320         Reviewed by Anders Carlsson.
321
322         Added a swap() to HashCountedSet.
323
324         * wtf/HashCountedSet.h:
325         (HashCountedSet::swap):
326
327 2012-05-16  Geoffrey Garen  <ggaren@apple.com>
328
329         This is not a joke: 3.7X speedup from removing a call to sleep
330         https://bugs.webkit.org/show_bug.cgi?id=86702
331
332         Reviewed by Eric Seidel.
333
334         The speedup was on a GC benchmark, with a custom VM caching layer
335         not in TOT yet.
336
337         Instruments showed most GC threads spending the majority of their
338         time sleeping instead of doing useful work. Removing the call to
339         sleep sped up the benchmark.
340
341         * wtf/TCSpinLock.h:
342         (TCMalloc_SlowLock): Since a spin lock is only ever held for a short
343         amount of time, don't sleep for a long amount of time waiting for it
344         to unlock -- yielding to the scheduler is sufficient.
345
346         If we find a case where someone is sitting on a spin lock for over 2ms,
347         we should fix the spin lock holder, not the spin lock.
348
349 2012-05-16  Simon Fraser  <simon.fraser@apple.com>
350
351         Make things build with DUMP_HASHTABLE_STATS=1
352         https://bugs.webkit.org/show_bug.cgi?id=86571
353
354         Reviewed by Geoffrey Garen.
355         
356         DUMP_HASHTABLE_STATS bitrotted after the WTF separation. This patch
357         makes it build.
358         
359         Added WTF_EXPORTDATA to the global data, and WTF_EXPORT_PRIVATE to
360         the static HashTableStats methods. Added a dumpStats() method
361         that is not yet called anywhere; we can no longer rely on destroying
362         a global object to dump the stats because global destructors are
363         disallowed.
364
365         * wtf/HashTable.cpp:
366         (WTF):
367         (WTF::HashTableStats::recordCollisionAtCount):
368         (WTF::HashTableStats::dumpStats):
369         * wtf/HashTable.h:
370         (HashTableStats):
371
372 2012-05-15  Filip Pizlo  <fpizlo@apple.com>
373
374         shrinkToFit() is often not called for Vectors in CodeBlock
375         https://bugs.webkit.org/show_bug.cgi?id=86436
376
377         Reviewed by Oliver Hunt.
378         
379         Gave SegmentedVector a shrinkToFit() method. This only shrinks the segment
380         lookup table, which is likely to not be hugely profitable, but it is better
381         than nothing.
382
383         * wtf/SegmentedVector.h:
384         (SegmentedVector):
385         (WTF::SegmentedVector::shrinkToFit):
386
387 2012-05-15  Andy Estes  <aestes@apple.com>
388
389         Add WTF_USE_SECURITY_FRAMEWORK and use it in place of the less specific PLATFORM(MAC)
390         https://bugs.webkit.org/show_bug.cgi?id=86508
391
392         Reviewed by Sam Weinig.
393
394         * wtf/Platform.h:
395
396 2012-05-15  Zoltan Herczeg  <zherczeg@webkit.org>
397
398         NEONizing forceValidPreMultipliedPixels
399         https://bugs.webkit.org/show_bug.cgi?id=86468
400
401         Reviewed by Nikolas Zimmermann.
402
403         Allow to disable all intrinsics with a single macro.
404
405         * wtf/Platform.h:
406
407 2012-05-14  Andy Estes  <aestes@apple.com>
408
409         Add WTF_USE_APPKIT to differentiate platforms that use AppKit.framework from other Darwin platforms
410         https://bugs.webkit.org/show_bug.cgi?id=86432
411
412         Reviewed by Maciej Stachowiak.
413
414         * wtf/Platform.h:
415
416 2012-05-14  Mark Rowe  <mrowe@apple.com>
417
418         <http://webkit.org/b/86320> WTF.xcodeproj builds with -O3 in debug builds
419
420         Reviewed by Simon Fraser.
421
422         * WTF.xcodeproj/project.pbxproj: Ensure that the debug configuration uses the
423         same settings as the debug variant would.
424
425 2012-05-14  Wei James  <james.wei@intel.com>
426
427         [Chromium] ImageDiff should be build for host on Android
428         https://bugs.webkit.org/show_bug.cgi?id=82039
429
430         Reviewed by Adam Barth.
431
432         * WTF.gyp/WTF.gyp:
433
434 2012-05-14  Yong Li  <yoli@rim.com>
435
436         DFG JIT is not ARM EABI compatible
437         https://bugs.webkit.org/show_bug.cgi?id=84449
438
439         Reviewed by Filip Pizlo.
440
441         Add COMPILER_SUPPORTS(EABI) when __ARM_EABI__
442         or __EABI__ is defined.
443
444         * wtf/Compiler.h:
445
446 2012-05-10  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
447
448         [EFL] Add OwnPtr specialization for Eina_Hash.
449         https://bugs.webkit.org/show_bug.cgi?id=85046
450
451         Reviewed by Andreas Kling.
452
453         Add an override for Eina_Hash for EFL port.
454
455         * wtf/OwnPtrCommon.h:
456         (WTF):
457         * wtf/efl/OwnPtrEfl.cpp:
458         (WTF::deleteOwnedPtr):
459         (WTF):
460
461 2012-05-09  Filip Pizlo  <fpizlo@apple.com>
462
463         It should be possible to get useful debug logging from the JIT memory allocator
464         https://bugs.webkit.org/show_bug.cgi?id=86042
465
466         Reviewed by Geoff Garen.
467
468         * wtf/MetaAllocator.cpp:
469         (WTF::MetaAllocator::findAndRemoveFreeSpace):
470         (WTF::MetaAllocator::addFreeSpace):
471         (WTF::MetaAllocator::dumpProfile):
472
473 2012-05-08  Sheriff Bot  <webkit.review.bot@gmail.com>
474
475         Unreviewed, rolling out r116440.
476         http://trac.webkit.org/changeset/116440
477         https://bugs.webkit.org/show_bug.cgi?id=85904
478
479         Broke the Chromium Android bot (Requested by beverloo on
480         #webkit).
481
482         * WTF.gyp/WTF.gyp:
483
484 2012-05-08  Adam Barth  <abarth@webkit.org>
485
486         [Chromium] OS(ANDROID) ImageDiff requires us to build WTF for both host and target
487         https://bugs.webkit.org/show_bug.cgi?id=85897
488
489         Reviewed by Tony Chang.
490
491         * WTF.gyp/WTF.gyp:
492
493 2012-05-08  Adam Barth  <abarth@webkit.org>
494
495         [Chromium] Assertions.cpp should work on OS(ANDROID)
496         https://bugs.webkit.org/show_bug.cgi?id=85867
497
498         Reviewed by Eric Seidel.
499
500         Some minor ifdefs for OS(ANDROID) on PLATFORM(CHROMIUM).
501
502         * wtf/Assertions.cpp:
503
504 2012-05-07  Adam Barth  <abarth@webkit.org>
505
506         [Chromium] Android wishes to use an empty implementation if AXObjectCache
507         https://bugs.webkit.org/show_bug.cgi?id=85842
508
509         Reviewed by Eric Seidel.
510
511         Disable accessibility on OS(ANDROID) for PLATFORM(CHROMIUM).
512
513         * wtf/Platform.h:
514
515 2012-05-04  Jeff Rogers  <jrogers@rim.com>
516
517         [BlackBerry] Implement numberOfProcessorCores() for QNX
518         https://bugs.webkit.org/show_bug.cgi?id=85638
519
520         Reviewed by Antonio Gomes.
521
522         * wtf/NumberOfCores.cpp:
523         (WTF::numberOfProcessorCores):
524
525 2012-05-03  Yong Li  <yoli@rim.com>
526
527         Mutex failure when HashTable is memory moved in debug build
528         https://bugs.webkit.org/show_bug.cgi?id=84970
529
530         Reviewed by Rob Buis.
531
532         1. Replace m_mutex with OwnPtr<m_mutex> so HashTable is still
533            memory movable in debug build.
534         2. Assert successes of pthread_mutex_init() and pthread_mutex_destroy().
535
536         * wtf/HashTable.h:
537         (HashTable):
538         (WTF::::HashTable):
539         (WTF::::invalidateIterators):
540         (WTF::addIterator):
541         (WTF::removeIterator):
542         * wtf/ThreadingPthreads.cpp:
543         (WTF::Mutex::Mutex):
544         (WTF::Mutex::~Mutex):
545
546 2012-05-02  Antti Koivisto  <antti@apple.com>
547
548         Add temporary feature define for parsed stylesheet caching
549         https://bugs.webkit.org/show_bug.cgi?id=85413
550
551         Rubber-stamped by Nikolas Zimmermann.
552
553         While not an externally visible feature this is still a significant internal change.
554         It is good to have define in case someone has an urgent need to turn it off.
555         
556         Caching is enabled by default on all platforms. The define should be removed after some bake time.
557
558         * wtf/Platform.h:
559
560 2012-05-02  Lauro Neto  <lauro.neto@openbossa.org>
561
562         [Qt]r57240 broke Qt build (gcc bug)
563         https://bugs.webkit.org/show_bug.cgi?id=37253
564
565         Reviewed by Csaba Osztrogonác.
566
567         Add back the inline hack just for ARM due to old version of
568         gcc still being used on Harmattan SDK. Thanks to Ossy for the
569         suggestion.
570         * wtf/PassRefPtr.h:
571         (WTF):
572
573 2012-05-02  Nico Weber  <thakis@chromium.org>
574
575         Let WebKit parse with clang on windows with -std=c++11
576         https://bugs.webkit.org/show_bug.cgi?id=85398
577
578         Reviewed by Ryosuke Niwa.
579
580         See http://trac.webkit.org/changeset/85945 for background on the line
581         I'm changing. With clang, __GXX_EXPERIMENTLAL_CXX0X__ is set in c++11
582         mode, but MSVC's c++ library doesn't have a tr1/memory header. So also
583         check for __GLIBCXX__, like it's done in the rest of this file.
584
585         * wtf/TypeTraits.h:
586
587 2012-05-02  Adenilson Cavalcanti  <cavalcantii@gmail.com>
588
589         [Qt]r57240 broke Qt build (gcc bug)
590         https://bugs.webkit.org/show_bug.cgi?id=37253
591
592         Reviewed by Noam Rosenthal.
593
594         Removing workaround macro since current gcc/Qt doesn't require it to compile.
595
596         * wtf/PassRefPtr.h:
597         (WTF):
598
599 2012-04-30  Oliver Hunt  <oliver@apple.com>
600
601         Investigate overflows in Canvas putImageData routine
602         https://bugs.webkit.org/show_bug.cgi?id=61373
603
604         Reviewed by Gavin Barraclough.
605
606         Allow floating point multiplies of checked types (complete with
607         bounds checks).
608
609         * wtf/CheckedArithmetic.h:
610         (Checked):
611         (WTF::Checked::operator*=):
612
613 2012-04-30  Benjamin Poulain  <benjamin@webkit.org>
614
615         Add String::startsWith() and endsWith() for string literals
616         https://bugs.webkit.org/show_bug.cgi?id=85154
617
618         Reviewed by Darin Adler.
619
620         When invoking StringImpl::startsWidth() or StringImpl::endsWith() with
621         a string literal, a new String was constructed implicitly, allocating
622         a new StringImpl and copying the characters for the operation.
623
624         This patch adds a version of those methods for single characters and
625         string literals.
626         This allows us to avoid allocating memory and use the characters in place,
627         and it permits some extra shortcuts in the implementation.
628
629         * wtf/text/AtomicString.h:
630         (WTF::AtomicString::startsWith):
631         (AtomicString):
632         (WTF::AtomicString::endsWith):
633         * wtf/text/StringImpl.cpp:
634         (WTF::equalInner):
635         (WTF):
636         (WTF::StringImpl::startsWith):
637         (WTF::StringImpl::endsWith):
638         * wtf/text/StringImpl.h:
639         (WTF::StringImpl::startsWith):
640         (StringImpl):
641         (WTF::StringImpl::endsWith):
642         * wtf/text/WTFString.h:
643         (WTF::String::startsWith):
644         (String):
645         (WTF::String::endsWith):
646
647 2012-04-30  Anders Carlsson  <andersca@apple.com>
648
649         WTF::bind should work with blocks
650         https://bugs.webkit.org/show_bug.cgi?id=85227
651
652         Reviewed by Sam Weinig.
653
654         Add a block type FunctionWrapper specialization.
655
656         * wtf/Functional.h:
657
658 2012-04-28  Emil A Eklund  <eae@chromium.org>
659
660         Add ENABLE_SUBPIXEL_LAYOUT controlling FractionalLayoutUnit denominator
661         https://bugs.webkit.org/show_bug.cgi?id=85146
662
663         Reviewed by Eric Seidel.
664
665         Add a new flag for controlling the fixed point denominator in
666         FractionalLayoutUnit. Controls whether the denominator is set to 60 or 1.
667         Until we change the LayoutUnit typedef this change will have no effect.
668
669         * wtf/Platform.h:
670
671 2012-04-29  Kent Tamura  <tkent@chromium.org>
672
673         [Mac] Add LocalizedDateMac
674         https://bugs.webkit.org/show_bug.cgi?id=85039
675
676         Reviewed by Kentaro Hara.
677
678         * wtf/DateMath.h:
679         (WTF): Add monthFullName[]. It is useful to make fallback month
680         names for calendar/date related features.
681
682 2012-04-26  Carlos Garcia Campos  <cgarcia@igalia.com>
683
684         [SOUP] Add a way to register custom uri schemes in WebKit2
685         https://bugs.webkit.org/show_bug.cgi?id=84130
686
687         Reviewed by Martin Robinson.
688
689         Add GPtrArray template to be able to use GRefPtr with GPtrArrays.
690
691         * wtf/gobject/GRefPtr.cpp:
692         (WTF::refGPtr):
693         (WTF):
694         (WTF::derefGPtr):
695         * wtf/gobject/GRefPtr.h:
696         (WTF):
697         * wtf/gobject/GTypedefs.h:
698
699 2012-04-26  Nico Weber  <thakis@chromium.org>
700
701         Don't define WTF_COMPILER_SUPPORTS_CXX_NULLPTR twice when building with clang on windows.
702         https://bugs.webkit.org/show_bug.cgi?id=85018
703
704         Reviewed by Anders Carlsson.
705
706         Clang sets _MSC_VER when compiling for a -pc-win32 target (just like it sets __GNUC__ on unix).
707         As a result, WTF_COMPILER_SUPPORTS_CXX_NULLPTR gets currently set twice, once for clang and
708         once for _MSC_VER. Guard the second instance with !COMPILER(CLANG). This matches the gcc code
709         for WTF_COMPILER_SUPPORTS_CXX_NULLPTR in the same file.
710
711         * wtf/Compiler.h:
712
713 2012-04-26  Antonio Gomes  <agomes@rim.com>
714
715         [BlackBerry] properly disable DRAG_SUPPORT
716         https://bugs.webkit.org/show_bug.cgi?id=84952
717
718         Reviewed by Daniel Bates.
719
720         * wtf/Platform.h: Remove the line that disables drag support from here
721         for the BlackBerry port.
722
723 2012-04-25  Benjamin Poulain  <benjamin@webkit.org>
724
725         Add a version of StringImpl::find() without offset
726         https://bugs.webkit.org/show_bug.cgi?id=83968
727
728         Reviewed by Sam Weinig.
729
730         This patch add a version of StringImpl::find() without offset, Instead of using the default
731         value for the index.
732
733         By not having the index, we can skip a couple of branches and a few instructions. This gives
734         significant gains when the strings are short-ish.
735
736         The case of empty string is moved below (matchLength == 1) since it is a less common operation.
737
738         * wtf/text/StringImpl.cpp:
739         (WTF::StringImpl::find):
740         (WTF):
741         * wtf/text/StringImpl.h:
742         (StringImpl):
743         * wtf/text/WTFString.h:
744         (String):
745         (WTF::String::find):
746
747 2012-04-25  Darin Adler  <darin@apple.com>
748
749         Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
750         https://bugs.webkit.org/show_bug.cgi?id=84524
751
752         Reviewed by Antti Koivisto.
753
754         * wtf/HashMap.h: Added a struct template, HashMapValueTraits, that derives from
755         PairHashTraits, adds an isEmptyValue function that looks only at the key, not
756         the mapped value, in the hash table value, and uses the isHashTraitsEmptyValue
757         function template to check if the key is empty.
758
759 2012-04-25  Landry Breuil  <landry@openbsd.org>
760
761         Include <sys/param.h>, needed for sysctl() on OpenBSD/NetBSD
762         https://bugs.webkit.org/show_bug.cgi?id=82585
763
764         Reviewed by Zoltan Herczeg.
765
766         * wtf/NumberOfCores.cpp: include <sys/param.h> on the BSDs
767
768 2012-04-25  Kenneth Russell  <kbr@google.com>
769
770         Delete CanvasPixelArray, ByteArray, JSByteArray and JSC code once unreferenced
771         https://bugs.webkit.org/show_bug.cgi?id=83655
772
773         Reviewed by Oliver Hunt.
774
775         * GNUmakefile.list.am:
776         * WTF.gypi:
777         * WTF.pro:
778         * WTF.vcproj/WTF.vcproj:
779         * WTF.xcodeproj/project.pbxproj:
780         * wtf/ByteArray.cpp: Removed.
781         * wtf/ByteArray.h: Removed.
782         * wtf/CMakeLists.txt:
783
784 2012-04-25  Philippe Normand  <pnormand@igalia.com>
785
786         Webkit build fails due to missing gstreamer include file on Kubuntu 8.04
787         https://bugs.webkit.org/show_bug.cgi?id=81913
788
789         Reviewed by Tor Arne Vestbø.
790
791         * WTF.pri: GStreamer build support implies GLib support, as it's
792         done in WebCore.pri.
793
794 2012-04-24  Benjamin Poulain  <bpoulain@apple.com>
795
796         Generalize the single character optimization of r114072
797         https://bugs.webkit.org/show_bug.cgi?id=83961
798
799         Reviewed by Eric Seidel.
800
801         This patch makes some improvment over String::find() in the case of lookup for a single
802         character.
803
804         The two function find(UChar|LChar) are replaced by a template.
805
806         The case of searching a UChar in a 8bit string has a shortcut if the UChar cannot
807         possibly match any character in the range of the type LChar.
808
809         The slow case StringImpl::find(StringImpl*) is modified to
810         -Do not allocate in the fast case if only one string is 8bit.
811         -Use the shortcut for searching UChar in LChar.
812
813         This speed up the function by about 7% when avoiding string conversion.
814
815         * wtf/text/StringImpl.cpp:
816         (WTF::StringImpl::find):
817         * wtf/text/StringImpl.h:
818         (StringImpl):
819         (WTF):
820         (WTF::find):
821         (WTF::StringImpl::find):
822
823 2012-04-24  Darin Adler  <darin@apple.com>
824
825         Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
826         https://bugs.webkit.org/show_bug.cgi?id=84524
827
828         Reviewed by Antti Koivisto.
829
830         Added a new algorithm for checking for empty buckets that can be specialized.
831         Specialized it for String. We may later want to do the same thing for KURL.
832         It's not important to do it for AtomicString, since AtomicString's == function
833         is already a simple pointer equality compare. We may also later want to do
834         something similar for pairs that have String objects in them.
835
836         * wtf/HashTable.h:
837         (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
838         will do something more efficient for String.
839
840         * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
841         of false. This allows us to continue to get automatic comparison with the appropriate
842         emptyValue result for all existing traits, but supply a custom isEmptyValue function
843         for HashTraits<String>. Putting an isEmptyValue function into the traits would require
844         overriding it in every class that has a custom value for emptyValue. Specialized
845         HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
846         isEmptyValue function.
847         (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
848         struct to use either == combined with the emptyValue function or the isEmptyValue function.
849
850         * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
851         the bottom of the file.
852         (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
853         included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
854
855 2012-04-23  Kenneth Russell  <kbr@google.com>
856
857         Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
858         https://bugs.webkit.org/show_bug.cgi?id=73011
859
860         Reviewed by Oliver Hunt.
861
862         * wtf/ArrayBuffer.h:
863         (ArrayBuffer):
864         (WTF::ArrayBuffer::create):
865         (WTF::ArrayBuffer::createUninitialized):
866         (WTF):
867         (WTF::ArrayBufferContents::tryAllocate):
868         * wtf/TypedArrayBase.h:
869         (WTF::TypedArrayBase::createUninitialized):
870         (TypedArrayBase):
871         * wtf/Uint8ClampedArray.h:
872         (Uint8ClampedArray):
873         (WTF::Uint8ClampedArray::createUninitialized):
874         (WTF):
875         (WTF::Uint8ClampedArray::zeroFill):
876
877 2012-04-23  George Staikos  <staikos@webkit.org>
878
879         Enable parallel GC for BlackBerry.
880         https://bugs.webkit.org/show_bug.cgi?id=84633
881
882         Reviewed by Antonio Gomes.
883
884         * wtf/Platform.h:
885
886 2012-04-23  Sheriff Bot  <webkit.review.bot@gmail.com>
887
888         Unreviewed, rolling out r114914.
889         http://trac.webkit.org/changeset/114914
890         https://bugs.webkit.org/show_bug.cgi?id=84615
891
892         Causing infinite hangs on some tests involving HashMaps with
893         integer keys (Requested by dimich on #webkit).
894
895         * wtf/HashTable.h:
896         (WTF::HashTable::isEmptyBucket):
897         * wtf/HashTraits.h:
898         * wtf/text/StringHash.h:
899
900 2012-04-23  Darin Adler  <darin@apple.com>
901
902         Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
903         https://bugs.webkit.org/show_bug.cgi?id=84524
904
905         Reviewed by Antti Koivisto.
906
907         Added a new algorithm for checking for empty buckets that can be specialized.
908         Specialized it for String. We may later want to do the same thing for KURL.
909         It's not important to do it for AtomicString, since AtomicString's == function
910         is already a simple pointer equality compare.
911
912         * wtf/HashTable.h:
913         (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
914         will do something more efficient for String.
915
916         * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
917         of false. This allows us to continue to get automatic comparison with the appropriate
918         emptyValue result for all existing traits, but supply a custom isEmptyValue function
919         for HashTraits<String>. Putting an isEmptyValue function into the traits would require
920         overriding it in every class that has a custom value for emptyValue. Specialized
921         HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
922         isEmptyValue function.
923         (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
924         struct to use either == combined with the emptyValue function or the isEmptyValue function.
925         (PairHashTraits): Define hasIsEmptyValueFunction and isEmptyValue.
926
927         * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
928         the bottom of the file.
929         (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
930         included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
931
932 2012-04-18  Myles Maxfield  <mmaxfield@google.com>
933
934         Somehow, there's an errant backslash in my last WTF patch
935         https://bugs.webkit.org/show_bug.cgi?id=84290
936
937         Reviewed by Andreas Kling.
938
939         * wtf/StdLibExtras.h:
940         (WTF::roundUpToMultipleOf):
941
942 2012-04-16  Nico Weber  <thakis@chromium.org>
943
944         Make NullPtr.h compile with clang -std=c++11 and libstdc++4.2
945         https://bugs.webkit.org/show_bug.cgi?id=83999
946
947         Reviewed by Sam Weinig.
948
949         Before this patch, NullPtr.h assumed that a working |nullptr| implied
950         a working |std::nullptr_t| as well. With clang and libstdc++4.2, this
951         is not true.
952
953         I tested (-stdlib=libc++, -stdlib=libstdc++) x (-std=c++11, -std=c++03)
954         with clang.
955
956         * wtf/NullPtr.h:
957         (std):
958
959 2012-04-14  Sam Weinig  <sam@webkit.org>
960
961         Harden WTF::ByteArray::create()
962         https://bugs.webkit.org/show_bug.cgi?id=83318
963
964         Reviewed by Maciej Stachowiak.
965
966         * wtf/ByteArray.cpp:
967         (WTF::ByteArray::create):
968         Add overflow check. I don't believe there is anyway to trigger this currently,
969         hence no tests, so this should be considered hardening.
970
971 2012-04-12  Benjamin Poulain  <bpoulain@apple.com>
972
973         Inline StringImpl::find(UChar, ...)
974         https://bugs.webkit.org/show_bug.cgi?id=83737
975
976         Reviewed by Geoffrey Garen.
977
978         The implementation of StringImpl::find() is a simple branch before invoking one of
979         two inline functions. The overhead of having a function for StringImpl::find() is significant.
980
981         It is better to let the compiler decide if that should be inlined or not.
982
983         * wtf/text/StringImpl.cpp:
984         * wtf/text/StringImpl.h:
985         (StringImpl):
986         (WTF::find):
987         (WTF):
988         (WTF::reverseFind):
989         (WTF::StringImpl::find):
990         * wtf/text/WTFString.h:
991
992 2012-04-12  Balazs Kelemen  <kbalazs@webkit.org>
993
994         [Qt] Fix WebKit1 build with V8
995         https://bugs.webkit.org/show_bug.cgi?id=83322
996
997         Reviewed by Adam Barth.
998
999         * wtf/StdLibExtras.h:
1000         (WTF):
1001
1002 2012-04-12  Jer Noble  <jer.noble@apple.com>
1003
1004         ThreadingWin: Mutex::unlock() can be "over-unlocked".
1005         https://bugs.webkit.org/show_bug.cgi?id=83725
1006
1007         Reviewed by David Levin.
1008
1009         In order to support the behavior of pthread_mutex_trylock(), the Windows Mutex class includes
1010         a recursion counter which is incremented in Mutex::lock(), decremented in Mutex::unlock(),
1011         and checked in Mutex::tryLock().  If the mutex is "over-unlocked", the counter wraps around to
1012         MAX_INT, and subsequent calls to Mutex::trylock() will fail. Raise an ASSERT in this situation
1013         so the "over-unlock" will be caught.
1014
1015         * wtf/ThreadingWin.cpp:
1016         (WTF::Mutex::unlock): ASSERT if unlocking a non-locked mutex.
1017
1018 2012-04-10  Mark Rowe  <mrowe@apple.com>
1019
1020         <rdar://problem/10583749> WebKit2 should log to both ASL and stderr
1021
1022         Reviewed by Sam Weinig.
1023
1024         * wtf/Assertions.cpp: Add a WTFLogAlways function that unconditionally logs the given message.
1025         * wtf/Assertions.h:
1026
1027 2012-04-10  Patrick Gansterer  <paroga@webkit.org>
1028
1029         Cleanup wtf/Platform.h and config.h files
1030         https://bugs.webkit.org/show_bug.cgi?id=83431
1031
1032         Reviewed by Eric Seidel.
1033
1034         The ENABLE() and USE() macros take care about the case when the flag
1035         isn't defined. So there is no need to define anything with 0.
1036
1037         Also move duplicated code from the config.h files to Platform.h and
1038         merge a few preprocessor commands to make the file more readable.
1039
1040         * config.h:
1041         * wtf/Platform.h:
1042
1043 2012-04-10  Filip Pizlo  <fpizlo@apple.com>
1044
1045         DFG should flush SetLocals to arguments
1046         https://bugs.webkit.org/show_bug.cgi?id=83554
1047
1048         Reviewed by Gavin Barraclough.
1049         
1050         Added an isRoot() method that is a faster shorthand for saying
1051         find() == this.
1052
1053         * wtf/UnionFind.h:
1054         (WTF::UnionFind::isRoot):
1055         (UnionFind):
1056
1057 2012-04-10  Adam Klein  <adamk@chromium.org>
1058
1059         Remove unused NonNullPassRefPtr from WTF
1060         https://bugs.webkit.org/show_bug.cgi?id=82389
1061
1062         Reviewed by Kentaro Hara.
1063
1064         NonNullPassRefPtr seems to be unused since JSC allocation was
1065         restructured in r84052.
1066
1067         If someone decides they need this later, they can always revert this patch.
1068
1069         * wtf/PassRefPtr.h:
1070         * wtf/RefPtr.h:
1071         (RefPtr):
1072
1073 2012-04-10  Patrick Gansterer  <paroga@webkit.org>
1074
1075         [CMake] Enable USE_FOLDERS property
1076         https://bugs.webkit.org/show_bug.cgi?id=83571
1077
1078         Reviewed by Daniel Bates.
1079
1080         Setting the FOLDER property on targets gives more structure 
1081         to the generated Visual Studio solutions.
1082         This does not affect other CMake generators.
1083
1084         * wtf/CMakeLists.txt:
1085
1086 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
1087
1088         Port BinarySemaphoreWin.cpp to WinCE
1089         https://bugs.webkit.org/show_bug.cgi?id=83502
1090
1091         Reviewed by Daniel Bates.
1092
1093         Replace WaitForSingleObjectEx with WaitForSingleObject since
1094         the additonal parameter supported by the extended function
1095         is not used anyway and the function does not exist on WinCE.
1096
1097         * wtf/CMakeLists.txt:
1098         * wtf/PlatformWinCE.cmake:
1099         * wtf/threads/win/BinarySemaphoreWin.cpp:
1100         (WTF::BinarySemaphore::wait):
1101
1102 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
1103
1104         [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
1105
1106         * wtf/CMakeLists.txt:
1107
1108 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
1109
1110         Remove HAVE_STDINT_H
1111         https://bugs.webkit.org/show_bug.cgi?id=83434
1112
1113         Reviewed by Kentaro Hara.
1114
1115         HAVE_STDINT_H is defined with 1 all the time and we us stdint.h without HAVE(STDINT_H) already.
1116
1117         * config.h:
1118         * wtf/FastMalloc.cpp:
1119         * wtf/TCPageMap.h:
1120         * wtf/TCSpinLock.h:
1121         * wtf/TCSystemAlloc.cpp:
1122
1123 2012-04-06  Benjamin Poulain  <bpoulain@apple.com>
1124
1125         Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION
1126         https://bugs.webkit.org/show_bug.cgi?id=83325
1127
1128         Reviewed by Ryosuke Niwa.
1129
1130         * wtf/Platform.h: Remove the flag.
1131
1132 2012-04-06  Darin Adler  <darin@apple.com>
1133
1134         Streamline strtod and fix some related problems
1135         https://bugs.webkit.org/show_bug.cgi?id=82857
1136
1137         Reviewed by Geoffrey Garen.
1138
1139         Replaced the strtod function template with a parseDouble function, eliminating
1140         the following unneeded features:
1141
1142         - need for a trailing null character and a call to strlen
1143         - needless conversion of string lengths from size_t to int and back that created
1144           the possibility of incorrect truncation
1145         - one level of function call; use inlining instead
1146         - construction of the StringToDoubleConverter object; it was used to pass
1147           arguments that are known at compile time
1148         - most of the StringToDoubleConverter::StringToDouble function's body; it was
1149           code we did not need
1150         - parsing of Infinity and NaN at the strtod level; added recently when we moved
1151           from the old strtod to the new one, and not needed or helpful at this level
1152         - multiple copies of code to narrow to single byte strings; in many cases
1153           this was done even when starting with an LChar string that is already
1154           single-byte, now we handle this with an overload of parseDouble
1155
1156         * wtf/dtoa.cpp:
1157         Removed a long comment about the original strtod function that no longer
1158         applies since we deleted that function long ago. Removed a lot of includes.
1159         Removed the strtod function templates and its instantiations, since they
1160         are now replaced by the parseDouble function.
1161         (WTF::Internal::parseDoubleFromLongString): Added.
1162         * wtf/dtoa.h:
1163         Added an include of ASCIICType.h so we can use isASCII in a function in this
1164         header. Left the heretofore unneeded include of double-conversion.h, since we
1165         now want to use it in a function in this header. Removed the AllowTrailingJunkTag
1166         and AllowTrailingSpacesTag enumerations and the strtod function template. Added
1167         new parseDouble function, and inline implementation of it.
1168
1169         * wtf/dtoa/double-conversion.cc: Removed quite a bit of unused code, hardcoding
1170         all the StringToDouble function arguments that come from data members so it can
1171         be a much smaller static member function. Also changed the types of arguments
1172         from int to size_t.
1173         * wtf/dtoa/double-conversion.h: Removed most of the StringToDoubleConverter
1174         class, leaving only the conversion function as a static member function.
1175
1176         * wtf/text/StringImpl.cpp:
1177         (WTF::StringImpl::toDouble): Got rid of didReadNumber.
1178         (WTF::StringImpl::toFloat): Ditto.
1179         * wtf/text/StringImpl.h: Ditto.
1180         * wtf/text/WTFString.cpp:
1181         (WTF::String::toDouble): Got rid of didReadNumber.
1182         (WTF::String::toFloat): Ditto.
1183         (WTF::toDoubleType): Rewrote this function to use parseDouble. Moved the code
1184         to skip leading spaces here, because other callers of parseDouble don't want
1185         to do that. Repurposed the check for an empty string so it's now the same
1186         code shared by all the "parsed nothing" cases. Removed the code to convert
1187         the buffer to ASCII for two reasons: (1) We don't need that code at all when
1188         CharType is LChar, and (2) We now handle this through the two overloads for
1189         the parseDouble function. Disallowing trailing junk is now handled here,
1190         rather than inside parseDouble.
1191         (WTF::charactersToDouble): Updated for changes to toDoubleType. Removed the
1192         didReadNumber argument.
1193         (WTF::charactersToFloat): Ditto. Also added overloads that return the parsed
1194         length. These are a slightly more powerful way to do what didReadNumber was
1195         used for before.
1196
1197         * wtf/text/WTFString.h: Added comments, eliminated didReadNumber, and added
1198         overloads of charactersToFloat that replace charactersToFloatIgnoringJunk.
1199
1200 2012-04-05  Patrick Gansterer  <paroga@webkit.org>
1201
1202         [WinCE] Remove unnecessary function decleration
1203         https://bugs.webkit.org/show_bug.cgi?id=83155
1204
1205         Reviewed by Kentaro Hara.
1206
1207         * wtf/DateMath.cpp:
1208         * wtf/Platform.h:
1209
1210 2012-04-04  Patrick Gansterer  <paroga@webkit.org>
1211
1212         Add WTF::getCurrentLocalTime()
1213         https://bugs.webkit.org/show_bug.cgi?id=83164
1214
1215         Reviewed by Alexey Proskuryakov.
1216
1217         Replace the calls to WTF::getLocalTime() with time(0) with the new function.
1218         This allows us to use Win32 API on windows to get the same result in a next step.
1219
1220         Also remove the inline keyword from WTF::getLocalTime(), since there is no need for
1221         it and it will make the later Win32 API changes easier.
1222
1223         * WTF.gyp/WTF.gyp:
1224         * wtf/CurrentTime.cpp:
1225         (WTF::getLocalTime):
1226         (WTF::getCurrentLocalTime):
1227         * wtf/CurrentTime.h:
1228
1229 2012-04-04  Chris Rogers  <crogers@google.com>
1230
1231         Web Audio should use MutexTryLocker class
1232         https://bugs.webkit.org/show_bug.cgi?id=83194
1233
1234         Reviewed by Kenneth Russell.
1235
1236         Add MutexTryLocker class which can be used as a stack-based object wrapping a Mutex.
1237         It will automatically unlock the Mutex in its destructor if the tryLock() succeeded.
1238
1239         * wtf/ThreadingPrimitives.h:
1240         (MutexTryLocker):
1241         (WTF::MutexTryLocker::MutexTryLocker):
1242         (WTF::MutexTryLocker::~MutexTryLocker):
1243         (WTF::MutexTryLocker::locked):
1244         Check if the tryLock() on the Mutex succeeded.
1245         (WTF):
1246
1247 2012-04-04  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
1248
1249         [Coverity] Address some uninit constructor values.
1250         https://bugs.webkit.org/show_bug.cgi?id=82424
1251
1252         Reviewed by Stephen White.
1253
1254         New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
1255
1256         * wtf/ArrayBufferView.cpp:
1257         (WTF::ArrayBufferView::ArrayBufferView):
1258
1259 2012-03-30  David Barr  <davidbarr@chromium.org>
1260
1261         Split up top-level .gitignore and .gitattributes
1262         https://bugs.webkit.org/show_bug.cgi?id=82687
1263
1264         Reviewed by Tor Arne Vestbø.
1265
1266         * WTF.gyp/.gitignore: Added.
1267
1268 2012-03-29  Kevin Ollivier  <kevino@theolliviers.com>
1269
1270         [wx] Unreviewed build fix. Add export symbols needed to
1271         build wx under Windows.
1272         
1273         * wtf/NullPtr.h:
1274         * wtf/ParallelJobsGeneric.h:
1275         (ParallelEnvironment):
1276         * wtf/ThreadSpecific.h:
1277         (WTF):
1278
1279 2012-03-29  Kevin Ollivier  <kevino@theolliviers.com>
1280
1281         [wx] Unreviewed build fix. Add WTF_EXPORT_PRIVATE_NO_RTTI
1282         so that ports not using RTTI can add symbol exports to
1283         classes that RTTI ports export with WTF_EXPORT_PRIVATE_RTTI.
1284
1285         * wtf/ArrayBufferView.h:
1286         * wtf/ExportMacros.h:
1287
1288 2012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1289
1290         HashMap<>::add should return a more descriptive object
1291         https://bugs.webkit.org/show_bug.cgi?id=71063
1292
1293         Reviewed by Ryosuke Niwa.
1294
1295         Make HashTable<>::add() and derivate functions return an AddResult struct instead
1296         of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
1297         more readable at callsites than previous 'first' and 'second'.
1298
1299         * wtf/HashCountedSet.h:
1300         (HashCountedSet):
1301         (WTF::::add):
1302         * wtf/HashMap.h:
1303         (HashMap):
1304         (WTF):
1305         (WTF::::set):
1306         * wtf/HashSet.h:
1307         (HashSet):
1308         (WTF::::add):
1309         (WTF):
1310         * wtf/HashTable.h:
1311         (WTF::HashTableAddResult::HashTableAddResult):
1312         (HashTableAddResult):
1313         (WTF):
1314         (HashTable):
1315         (WTF::HashTable::add):
1316         (WTF::::add):
1317         (WTF::::addPassingHashCode):
1318         * wtf/ListHashSet.h:
1319         (ListHashSet):
1320         (WTF::::add):
1321         (WTF::::insertBefore):
1322         * wtf/RefPtrHashMap.h:
1323         (WTF):
1324         (WTF::::set):
1325         * wtf/Spectrum.h:
1326         (WTF::Spectrum::add):
1327         * wtf/WTFThreadData.cpp:
1328         (JSC::IdentifierTable::add):
1329         * wtf/WTFThreadData.h:
1330         (IdentifierTable):
1331         * wtf/text/AtomicString.cpp:
1332         (WTF::addToStringTable):
1333         (WTF::AtomicString::addSlowCase):
1334
1335 2012-03-29  Andreas Kling  <kling@webkit.org>
1336
1337         String: Subscript operator shouldn't force conversion to 16-bit characters.
1338         <http://webkit.org/b/82613>
1339
1340         Reviewed by Anders Carlsson.
1341
1342         Forward String::operator[] to StringImpl::operator[] instead of indexing into characters().
1343         This avoid implicit conversion of 8-bit strings to 16-bit, and as an example, reduces memory
1344         usage on http://www.allthingsd.com/ by 360kB.
1345
1346         * wtf/text/WTFString.h:
1347         (WTF::String::operator[]):
1348
1349 2012-03-28  Carlos Garcia Campos  <cgarcia@igalia.com>
1350
1351         [GTK] Implement PlatformStrategies
1352         https://bugs.webkit.org/show_bug.cgi?id=82454
1353
1354         Reviewed by Xan Lopez.
1355
1356         * wtf/Platform.h: Define WTF_USE_PLATFORM_STRATEGIES for GTK+
1357         platform too.
1358
1359 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
1360
1361         Set eol-style: native on WTF.sln per Ryan Sleevi's request.
1362
1363         * WTF.vcproj/WTF.sln: Added property svn:eol-style.
1364
1365 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
1366
1367         Chromium build fix; add BitVector.h/cpp to gypi.
1368
1369         * WTF.gypi:
1370
1371 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
1372
1373         Touch BitVector as a speculative fix for Chromium Linux.
1374
1375         * wtf/BitVector.h:
1376         (BitVector):
1377
1378 2012-03-23  Ryosuke Niwa  <rniwa@webkit.org>
1379
1380         cssText should use shorthand notations
1381         https://bugs.webkit.org/show_bug.cgi?id=81737
1382
1383         Reviewed by Enrica Casucci.
1384
1385         * wtf/BitVector.h:
1386         (BitVector):
1387         (WTF::BitVector::ensureSizeAndSet): Added.
1388
1389 2012-03-26  Carlos Garcia Campos  <cgarcia@igalia.com>
1390
1391         Unreviewed. Fix make distcheck.
1392
1393         * GNUmakefile.list.am: Add config.h to the source file list.
1394
1395 2012-03-25  Kevin Ollivier  <kevino@theolliviers.com>
1396
1397         [wx] Unreviewed build fix. Move WTF to its own static lib build.
1398
1399         * wscript: Added.
1400
1401 2012-03-23  Tony Chang  <tony@chromium.org>
1402
1403         [chromium] Unreviewed, move a comment closer to where it matters and
1404         make it more specific.
1405
1406         * WTF.gyp/WTF.gyp:
1407
1408 2012-03-23  Steve Falkenburg  <sfalken@apple.com>
1409
1410         Update Apple Windows build files for WTF move
1411         https://bugs.webkit.org/show_bug.cgi?id=82069
1412
1413         Reviewed by Jessie Berlin.
1414
1415         * WTF.vcproj/WTF.make: Added.
1416         * WTF.vcproj/WTF.sln: Added.
1417
1418 2012-03-23  Dean Jackson  <dino@apple.com>
1419
1420         Disable CSS_SHADERS in Apple builds
1421         https://bugs.webkit.org/show_bug.cgi?id=81996
1422
1423         Reviewed by Simon Fraser.
1424
1425         Put ENABLE_CSS_SHADERS into Platform.h, but disable for
1426         Apple builds.
1427
1428         * wtf/Platform.h:
1429
1430 2012-03-23  Tony Chang  <tony@chromium.org>
1431
1432         [chromium] rename newwtf target back to wtf
1433         https://bugs.webkit.org/show_bug.cgi?id=82064
1434
1435         Reviewed by Adam Barth.
1436
1437         * WTF.gyp/WTF.gyp:
1438
1439 2012-03-22  Jessie Berlin  <jberlin@apple.com>
1440
1441         Windows build fix after r111778.
1442
1443         * WTF.vcproj/WTF.vcproj:
1444         DateMath.h and DateMath.cpp should be built by WTF, since they are part of WTF.
1445
1446 2012-03-22  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
1447
1448         [CMake] Unreviewed build fix after r111778.
1449
1450         * CMakeLists.txt: Added.
1451         * wtf/CMakeLists.txt: Add ${CMAKE_BINARY_DIR} to the include paths
1452         for cmakeconfig.h to be found.
1453
1454 2012-03-22  Tony Chang  <tony@chromium.org>
1455
1456         Unreviewed, attempt to fix the chromium-win build and another attempt
1457         at fixing the chromium-android build.
1458
1459         * WTF.gyp/WTF.gyp:
1460
1461 2012-03-22  Tony Chang  <tony@chromium.org>
1462
1463         Unreviewed, attempt to fix chromium-android build.
1464
1465         * WTF.gyp/WTF.gyp:
1466
1467 2012-03-22  Tony Chang  <tony@chromium.org>
1468
1469         Unreviewed, fix chromium build after wtf move.
1470
1471         Move wtf_config and wtf settings to newwtf.
1472
1473         * WTF.gyp/WTF.gyp:
1474
1475 2012-03-22  Martin Robinson  <mrobinson@igalia.com>
1476
1477         One more GTK+ build fix after r111778.
1478
1479         * GNUmakefile.am: Adding missing include path.
1480
1481 2012-03-22  Martin Robinson  <mrobinson@igalia.com>
1482
1483         Fixed the GTK+ WTF/JavaScriptCore build after r111778.
1484
1485         * GNUmakefile.am: Remove some extra trailing backslashes and a few uncessary
1486           variables.
1487         * GNUmakefile.list.am: Ditto.
1488
1489 2012-03-22  Dan Bernstein  <mitz@apple.com>
1490
1491         Fixed the JavaScriptCore debug build after r111778.
1492
1493         * WTF.xcodeproj/project.pbxproj: Use debug DEBUG_DEFINES when building
1494         the Debug configuration.
1495
1496 2012-03-22  Csaba Osztrogonác  <ossy@webkit.org>
1497
1498         Actually move WTF files to their new home
1499         https://bugs.webkit.org/show_bug.cgi?id=81844
1500
1501         [Qt] Unreviewed buildfix after r111778.
1502
1503         * WTF.pri:
1504
1505 2012-03-22  Eric Seidel  <eric@webkit.org>
1506
1507         Actually move WTF files to their new home
1508         https://bugs.webkit.org/show_bug.cgi?id=81844
1509
1510         Unreviewed attempt to fix AppleWin.
1511
1512         * WTF.vcproj/WTFCommon.vsprops:
1513
1514 2012-03-22  Eric Seidel  <eric@webkit.org>
1515
1516         Actually move WTF files to their new home
1517         https://bugs.webkit.org/show_bug.cgi?id=81844
1518
1519         Unreviewed.  The 5MB file move is not very reviewable,
1520         but various port representatives have OK'd changes to the
1521         individual build systems.
1522
1523         * Configurations/WTF.xcconfig:
1524         * GNUmakefile.list.am:
1525         * Stub.cpp: Removed.
1526         * Stub.h: Removed.
1527         * WTF.gypi:
1528         * WTF.pri:
1529         * WTF.pro:
1530         * WTF.vcproj/WTF.vcproj:
1531         * WTF.vcproj/copy-files.cmd:
1532         * WTF.xcodeproj/project.pbxproj:
1533         * config.h:
1534         * wtf/ASCIICType.h: Renamed from Source/JavaScriptCore/wtf/ASCIICType.h.
1535         (WTF):
1536         (WTF::isASCII):
1537         (WTF::isASCIIAlpha):
1538         (WTF::isASCIIDigit):
1539         (WTF::isASCIIAlphanumeric):
1540         (WTF::isASCIIHexDigit):
1541         (WTF::isASCIILower):
1542         (WTF::isASCIIOctalDigit):
1543         (WTF::isASCIIPrintable):
1544         (WTF::isASCIISpace):
1545         (WTF::isASCIIUpper):
1546         (WTF::toASCIILower):
1547         (WTF::toASCIILowerUnchecked):
1548         (WTF::toASCIIUpper):
1549         (WTF::toASCIIHexValue):
1550         (WTF::lowerNibbleToASCIIHexDigit):
1551         (WTF::upperNibbleToASCIIHexDigit):
1552         (WTF::isASCIIAlphaCaselessEqual):
1553         * wtf/AVLTree.h: Renamed from Source/JavaScriptCore/wtf/AVLTree.h.
1554         (WTF):
1555         (AVLTreeDefaultBSet):
1556         (WTF::AVLTreeDefaultBSet::operator[]):
1557         (WTF::AVLTreeDefaultBSet::set):
1558         (WTF::AVLTreeDefaultBSet::reset):
1559         (AVLTree):
1560         (WTF::AVLTree::abstractor):
1561         (WTF::AVLTree::purge):
1562         (WTF::AVLTree::is_empty):
1563         (WTF::AVLTree::AVLTree):
1564         (Iterator):
1565         (WTF::AVLTree::Iterator::Iterator):
1566         (WTF::AVLTree::Iterator::start_iter):
1567         (WTF::AVLTree::Iterator::start_iter_least):
1568         (WTF::AVLTree::Iterator::start_iter_greatest):
1569         (WTF::AVLTree::Iterator::operator*):
1570         (WTF::AVLTree::Iterator::operator++):
1571         (WTF::AVLTree::Iterator::operator--):
1572         (WTF::AVLTree::Iterator::cmp_k_n):
1573         (WTF::AVLTree::Iterator::cmp_n_n):
1574         (WTF::AVLTree::Iterator::get_lt):
1575         (WTF::AVLTree::Iterator::get_gt):
1576         (WTF::AVLTree::Iterator::null):
1577         (WTF::AVLTree::build):
1578         (abs_plus_root):
1579         (WTF::AVLTree::get_lt):
1580         (WTF::AVLTree::set_lt):
1581         (WTF::AVLTree::get_gt):
1582         (WTF::AVLTree::set_gt):
1583         (WTF::AVLTree::get_bf):
1584         (WTF::AVLTree::set_bf):
1585         (WTF::AVLTree::cmp_k_n):
1586         (WTF::AVLTree::cmp_n_n):
1587         (WTF::AVLTree::null):
1588         (WTF::AVLTree::balance):
1589         (WTF::::insert):
1590         (WTF::::search):
1591         (WTF::::search_least):
1592         (WTF::::search_greatest):
1593         (WTF::::remove):
1594         (WTF::::subst):
1595         * wtf/Alignment.h: Renamed from Source/JavaScriptCore/wtf/Alignment.h.
1596         (WTF):
1597         (WTF::swap):
1598         * wtf/AlwaysInline.h: Renamed from Source/JavaScriptCore/wtf/AlwaysInline.h.
1599         * wtf/ArrayBuffer.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.cpp.
1600         (WTF):
1601         (WTF::ArrayBuffer::transfer):
1602         (WTF::ArrayBuffer::addView):
1603         (WTF::ArrayBuffer::removeView):
1604         * wtf/ArrayBuffer.h: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.h.
1605         (WTF):
1606         (ArrayBufferContents):
1607         (WTF::ArrayBufferContents::ArrayBufferContents):
1608         (WTF::ArrayBufferContents::data):
1609         (WTF::ArrayBufferContents::sizeInBytes):
1610         (WTF::ArrayBufferContents::transfer):
1611         (ArrayBuffer):
1612         (WTF::ArrayBuffer::isNeutered):
1613         (WTF::ArrayBuffer::~ArrayBuffer):
1614         (WTF::ArrayBuffer::clampValue):
1615         (WTF::ArrayBuffer::create):
1616         (WTF::ArrayBuffer::ArrayBuffer):
1617         (WTF::ArrayBuffer::data):
1618         (WTF::ArrayBuffer::byteLength):
1619         (WTF::ArrayBuffer::slice):
1620         (WTF::ArrayBuffer::sliceImpl):
1621         (WTF::ArrayBuffer::clampIndex):
1622         (WTF::ArrayBufferContents::tryAllocate):
1623         (WTF::ArrayBufferContents::~ArrayBufferContents):
1624         * wtf/ArrayBufferView.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.cpp.
1625         (WTF):
1626         (WTF::ArrayBufferView::ArrayBufferView):
1627         (WTF::ArrayBufferView::~ArrayBufferView):
1628         (WTF::ArrayBufferView::neuter):
1629         * wtf/ArrayBufferView.h: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.h.
1630         (WTF):
1631         (WTF::ArrayBufferView::setImpl):
1632         (WTF::ArrayBufferView::setRangeImpl):
1633         (WTF::ArrayBufferView::zeroRangeImpl):
1634         (WTF::ArrayBufferView::calculateOffsetAndLength):
1635         * wtf/Assertions.cpp: Renamed from Source/JavaScriptCore/wtf/Assertions.cpp.
1636         * wtf/Assertions.h: Renamed from Source/JavaScriptCore/wtf/Assertions.h.
1637         (assertUnused):
1638         (assertWithMessageUnused):
1639         * wtf/Atomics.h: Renamed from Source/JavaScriptCore/wtf/Atomics.h.
1640         (WTF):
1641         (WTF::atomicIncrement):
1642         (WTF::atomicDecrement):
1643         (WTF::weakCompareAndSwap):
1644         (WTF::weakCompareAndSwapUIntPtr):
1645         * wtf/BitVector.cpp: Renamed from Source/JavaScriptCore/wtf/BitVector.cpp.
1646         (WTF):
1647         (WTF::BitVector::setSlow):
1648         (WTF::BitVector::resize):
1649         (WTF::BitVector::clearAll):
1650         (WTF::BitVector::OutOfLineBits::create):
1651         (WTF::BitVector::OutOfLineBits::destroy):
1652         (WTF::BitVector::resizeOutOfLine):
1653         (WTF::BitVector::dump):
1654         * wtf/BitVector.h: Renamed from Source/JavaScriptCore/wtf/BitVector.h.
1655         (WTF):
1656         (BitVector):
1657         (WTF::BitVector::BitVector):
1658         (WTF::BitVector::~BitVector):
1659         (WTF::BitVector::operator=):
1660         (WTF::BitVector::size):
1661         (WTF::BitVector::ensureSize):
1662         (WTF::BitVector::quickGet):
1663         (WTF::BitVector::quickSet):
1664         (WTF::BitVector::quickClear):
1665         (WTF::BitVector::get):
1666         (WTF::BitVector::set):
1667         (WTF::BitVector::clear):
1668         (WTF::BitVector::bitsInPointer):
1669         (WTF::BitVector::maxInlineBits):
1670         (WTF::BitVector::byteCount):
1671         (WTF::BitVector::makeInlineBits):
1672         (OutOfLineBits):
1673         (WTF::BitVector::OutOfLineBits::numBits):
1674         (WTF::BitVector::OutOfLineBits::numWords):
1675         (WTF::BitVector::OutOfLineBits::bits):
1676         (WTF::BitVector::OutOfLineBits::OutOfLineBits):
1677         (WTF::BitVector::isInline):
1678         (WTF::BitVector::outOfLineBits):
1679         (WTF::BitVector::bits):
1680         * wtf/Bitmap.h: Renamed from Source/JavaScriptCore/wtf/Bitmap.h.
1681         (WTF):
1682         (Bitmap):
1683         (WTF::::Bitmap):
1684         (WTF::::get):
1685         (WTF::::set):
1686         (WTF::::testAndSet):
1687         (WTF::::testAndClear):
1688         (WTF::::concurrentTestAndSet):
1689         (WTF::::concurrentTestAndClear):
1690         (WTF::::clear):
1691         (WTF::::clearAll):
1692         (WTF::::nextPossiblyUnset):
1693         (WTF::::findRunOfZeros):
1694         (WTF::::count):
1695         (WTF::::isEmpty):
1696         (WTF::::isFull):
1697         * wtf/BlockStack.h: Renamed from Source/JavaScriptCore/wtf/BlockStack.h.
1698         (WTF):
1699         (BlockStack):
1700         (WTF::::BlockStack):
1701         (WTF::::~BlockStack):
1702         (WTF::::blocks):
1703         (WTF::::grow):
1704         (WTF::::shrink):
1705         * wtf/BloomFilter.h: Renamed from Source/JavaScriptCore/wtf/BloomFilter.h.
1706         (WTF):
1707         (BloomFilter):
1708         (WTF::BloomFilter::maximumCount):
1709         (WTF::BloomFilter::BloomFilter):
1710         (WTF::BloomFilter::mayContain):
1711         (WTF::BloomFilter::add):
1712         (WTF::BloomFilter::remove):
1713         (WTF::BloomFilter::firstSlot):
1714         (WTF::BloomFilter::secondSlot):
1715         (WTF::::add):
1716         (WTF::::remove):
1717         (WTF::::clear):
1718         (WTF::::likelyEmpty):
1719         (WTF::::isClear):
1720         * wtf/BoundsCheckedPointer.h: Renamed from Source/JavaScriptCore/wtf/BoundsCheckedPointer.h.
1721         (WTF):
1722         (BoundsCheckedPointer):
1723         (WTF::BoundsCheckedPointer::BoundsCheckedPointer):
1724         (WTF::BoundsCheckedPointer::operator=):
1725         (WTF::BoundsCheckedPointer::operator+=):
1726         (WTF::BoundsCheckedPointer::operator-=):
1727         (WTF::BoundsCheckedPointer::operator+):
1728         (WTF::BoundsCheckedPointer::operator-):
1729         (WTF::BoundsCheckedPointer::operator++):
1730         (WTF::BoundsCheckedPointer::operator--):
1731         (WTF::BoundsCheckedPointer::operator<):
1732         (WTF::BoundsCheckedPointer::operator<=):
1733         (WTF::BoundsCheckedPointer::operator>):
1734         (WTF::BoundsCheckedPointer::operator>=):
1735         (WTF::BoundsCheckedPointer::operator==):
1736         (WTF::BoundsCheckedPointer::operator!=):
1737         (WTF::BoundsCheckedPointer::operator!):
1738         (WTF::BoundsCheckedPointer::get):
1739         (WTF::BoundsCheckedPointer::operator*):
1740         (WTF::BoundsCheckedPointer::operator[]):
1741         (WTF::BoundsCheckedPointer::strcat):
1742         (WTF::BoundsCheckedPointer::validate):
1743         * wtf/BumpPointerAllocator.h: Renamed from Source/JavaScriptCore/wtf/BumpPointerAllocator.h.
1744         (WTF):
1745         (BumpPointerPool):
1746         (WTF::BumpPointerPool::ensureCapacity):
1747         (WTF::BumpPointerPool::alloc):
1748         (WTF::BumpPointerPool::dealloc):
1749         (WTF::BumpPointerPool::operator new):
1750         (WTF::BumpPointerPool::BumpPointerPool):
1751         (WTF::BumpPointerPool::create):
1752         (WTF::BumpPointerPool::shrink):
1753         (WTF::BumpPointerPool::destroy):
1754         (WTF::BumpPointerPool::ensureCapacityCrossPool):
1755         (WTF::BumpPointerPool::deallocCrossPool):
1756         (BumpPointerAllocator):
1757         (WTF::BumpPointerAllocator::BumpPointerAllocator):
1758         (WTF::BumpPointerAllocator::~BumpPointerAllocator):
1759         (WTF::BumpPointerAllocator::startAllocator):
1760         (WTF::BumpPointerAllocator::stopAllocator):
1761         * wtf/ByteArray.cpp: Renamed from Source/JavaScriptCore/wtf/ByteArray.cpp.
1762         (WTF):
1763         (WTF::ByteArray::create):
1764         * wtf/ByteArray.h: Renamed from Source/JavaScriptCore/wtf/ByteArray.h.
1765         (ByteArray):
1766         (WTF::ByteArray::length):
1767         (WTF::ByteArray::set):
1768         (WTF::ByteArray::get):
1769         (WTF::ByteArray::data):
1770         (WTF::ByteArray::clear):
1771         (WTF::ByteArray::deref):
1772         (WTF::ByteArray::offsetOfSize):
1773         (WTF::ByteArray::offsetOfData):
1774         (WTF::ByteArray::ByteArray):
1775         * wtf/CMakeLists.txt: Renamed from Source/JavaScriptCore/wtf/CMakeLists.txt.
1776         * wtf/CONTRIBUTORS.pthreads-win32: Renamed from Source/JavaScriptCore/wtf/CONTRIBUTORS.pthreads-win32.
1777         * wtf/CheckedArithmetic.h: Renamed from Source/JavaScriptCore/wtf/CheckedArithmetic.h.
1778         (WTF):
1779         (CrashOnOverflow):
1780         (WTF::CrashOnOverflow::overflowed):
1781         (WTF::CrashOnOverflow::clearOverflow):
1782         (WTF::CrashOnOverflow::hasOverflowed):
1783         (RecordOverflow):
1784         (WTF::RecordOverflow::RecordOverflow):
1785         (WTF::RecordOverflow::overflowed):
1786         (WTF::RecordOverflow::clearOverflow):
1787         (WTF::RecordOverflow::hasOverflowed):
1788         (WTF::isInBounds):
1789         (RemoveChecked):
1790         (WTF::safeAdd):
1791         (WTF::safeSub):
1792         (WTF::safeMultiply):
1793         (WTF::safeEquals):
1794         (WTF::workAroundClangBug):
1795         (Checked):
1796         (WTF::Checked::Checked):
1797         (WTF::Checked::operator=):
1798         (WTF::Checked::operator++):
1799         (WTF::Checked::operator--):
1800         (WTF::Checked::operator!):
1801         (WTF::Checked::operator UnspecifiedBoolType*):
1802         (WTF::Checked::unsafeGet):
1803         (WTF::Checked::operator+=):
1804         (WTF::Checked::operator-=):
1805         (WTF::Checked::operator*=):
1806         (WTF::Checked::operator==):
1807         (WTF::Checked::operator!=):
1808         (WTF::operator+):
1809         (WTF::operator-):
1810         (WTF::operator*):
1811         * wtf/CheckedBoolean.h: Renamed from Source/JavaScriptCore/wtf/CheckedBoolean.h.
1812         (CheckedBoolean):
1813         (CheckedBoolean::CheckedBoolean):
1814         (CheckedBoolean::~CheckedBoolean):
1815         (CheckedBoolean::operator bool):
1816         * wtf/Compiler.h: Renamed from Source/JavaScriptCore/wtf/Compiler.h.
1817         * wtf/Complex.h: Renamed from Source/JavaScriptCore/wtf/Complex.h.
1818         (WTF):
1819         (WTF::complexFromMagnitudePhase):
1820         * wtf/CryptographicallyRandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp.
1821         (WTF::cryptographicallyRandomNumber):
1822         (WTF):
1823         (WTF::cryptographicallyRandomValues):
1824         * wtf/CryptographicallyRandomNumber.h: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.h.
1825         (WTF):
1826         * wtf/CurrentTime.cpp: Renamed from Source/JavaScriptCore/wtf/CurrentTime.cpp.
1827         (WTF):
1828         (WTF::highResUpTime):
1829         (WTF::lowResUTCTime):
1830         (WTF::qpcAvailable):
1831         (WTF::currentTime):
1832         (WTF::currentSystemTime):
1833         (WTF::monotonicallyIncreasingTime):
1834         * wtf/CurrentTime.h: Renamed from Source/JavaScriptCore/wtf/CurrentTime.h.
1835         (WTF):
1836         (WTF::currentTimeMS):
1837         (WTF::getLocalTime):
1838         * wtf/DataLog.cpp: Renamed from Source/JavaScriptCore/wtf/DataLog.cpp.
1839         (WTF):
1840         (WTF::initializeLogFileOnce):
1841         (WTF::initializeLogFile):
1842         (WTF::dataFile):
1843         (WTF::dataLogV):
1844         (WTF::dataLog):
1845         * wtf/DataLog.h: Renamed from Source/JavaScriptCore/wtf/DataLog.h.
1846         (WTF):
1847         * wtf/DateMath.cpp: Renamed from Source/JavaScriptCore/wtf/DateMath.cpp.
1848         (WTF):
1849         (WTF::isLeapYear):
1850         (WTF::daysInYear):
1851         (WTF::daysFrom1970ToYear):
1852         (WTF::msToDays):
1853         (WTF::twoDigitStringFromNumber):
1854         (WTF::msToYear):
1855         (WTF::dayInYear):
1856         (WTF::msToMilliseconds):
1857         (WTF::msToMinutes):
1858         (WTF::msToHours):
1859         (WTF::monthFromDayInYear):
1860         (WTF::checkMonth):
1861         (WTF::dayInMonthFromDayInYear):
1862         (WTF::monthToDayInYear):
1863         (WTF::dateToDaysFrom1970):
1864         (WTF::maximumYearForDST):
1865         (WTF::minimumYearForDST):
1866         (WTF::equivalentYearForDST):
1867         (WTF::calculateUTCOffset):
1868         (WTF::calculateDSTOffsetSimple):
1869         (WTF::calculateDSTOffset):
1870         (WTF::initializeDates):
1871         (WTF::ymdhmsToSeconds):
1872         (KnownZone):
1873         (WTF::skipSpacesAndComments):
1874         (WTF::findMonth):
1875         (WTF::parseLong):
1876         (WTF::parseES5DatePortion):
1877         (WTF::parseES5TimePortion):
1878         (WTF::parseES5DateFromNullTerminatedCharacters):
1879         (WTF::parseDateFromNullTerminatedCharacters):
1880         (WTF::timeClip):
1881         (WTF::makeRFC2822DateString):
1882         * wtf/DateMath.h: Renamed from Source/JavaScriptCore/wtf/DateMath.h.
1883         (WTF):
1884         (WTF::jsCurrentTime):
1885         * wtf/DecimalNumber.cpp: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.cpp.
1886         (WTF):
1887         (WTF::DecimalNumber::bufferLengthForStringDecimal):
1888         (WTF::DecimalNumber::bufferLengthForStringExponential):
1889         (WTF::DecimalNumber::toStringDecimal):
1890         (WTF::DecimalNumber::toStringExponential):
1891         * wtf/DecimalNumber.h: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.h.
1892         (WTF):
1893         (DecimalNumber):
1894         (WTF::DecimalNumber::DecimalNumber):
1895         (WTF::DecimalNumber::sign):
1896         (WTF::DecimalNumber::exponent):
1897         (WTF::DecimalNumber::significand):
1898         (WTF::DecimalNumber::precision):
1899         * wtf/Decoder.h: Renamed from Source/JavaScriptCore/wtf/Decoder.h.
1900         (WTF):
1901         (Decoder):
1902         (WTF::Decoder::Decoder):
1903         (WTF::Decoder::~Decoder):
1904         * wtf/Deque.h: Renamed from Source/JavaScriptCore/wtf/Deque.h.
1905         (WTF):
1906         (Deque):
1907         (WTF::Deque::size):
1908         (WTF::Deque::isEmpty):
1909         (WTF::Deque::begin):
1910         (WTF::Deque::end):
1911         (WTF::Deque::rbegin):
1912         (WTF::Deque::rend):
1913         (WTF::Deque::first):
1914         (WTF::Deque::last):
1915         (DequeIteratorBase):
1916         (WTF::DequeIteratorBase::assign):
1917         (DequeIterator):
1918         (WTF::DequeIterator::DequeIterator):
1919         (WTF::DequeIterator::operator=):
1920         (WTF::DequeIterator::operator*):
1921         (WTF::DequeIterator::operator->):
1922         (WTF::DequeIterator::operator==):
1923         (WTF::DequeIterator::operator!=):
1924         (WTF::DequeIterator::operator++):
1925         (WTF::DequeIterator::operator--):
1926         (DequeConstIterator):
1927         (WTF::DequeConstIterator::DequeConstIterator):
1928         (WTF::DequeConstIterator::operator=):
1929         (WTF::DequeConstIterator::operator*):
1930         (WTF::DequeConstIterator::operator->):
1931         (WTF::DequeConstIterator::operator==):
1932         (WTF::DequeConstIterator::operator!=):
1933         (WTF::DequeConstIterator::operator++):
1934         (WTF::DequeConstIterator::operator--):
1935         (DequeReverseIterator):
1936         (WTF::DequeReverseIterator::DequeReverseIterator):
1937         (WTF::DequeReverseIterator::operator=):
1938         (WTF::DequeReverseIterator::operator*):
1939         (WTF::DequeReverseIterator::operator->):
1940         (WTF::DequeReverseIterator::operator==):
1941         (WTF::DequeReverseIterator::operator!=):
1942         (WTF::DequeReverseIterator::operator++):
1943         (WTF::DequeReverseIterator::operator--):
1944         (DequeConstReverseIterator):
1945         (WTF::DequeConstReverseIterator::DequeConstReverseIterator):
1946         (WTF::DequeConstReverseIterator::operator=):
1947         (WTF::DequeConstReverseIterator::operator*):
1948         (WTF::DequeConstReverseIterator::operator->):
1949         (WTF::DequeConstReverseIterator::operator==):
1950         (WTF::DequeConstReverseIterator::operator!=):
1951         (WTF::DequeConstReverseIterator::operator++):
1952         (WTF::DequeConstReverseIterator::operator--):
1953         (WTF::::checkValidity):
1954         (WTF::::checkIndexValidity):
1955         (WTF::::invalidateIterators):
1956         (WTF::::Deque):
1957         (WTF::deleteAllValues):
1958         (WTF::=):
1959         (WTF::::destroyAll):
1960         (WTF::::~Deque):
1961         (WTF::::swap):
1962         (WTF::::clear):
1963         (WTF::::findIf):
1964         (WTF::::expandCapacityIfNeeded):
1965         (WTF::::expandCapacity):
1966         (WTF::::takeFirst):
1967         (WTF::::append):
1968         (WTF::::prepend):
1969         (WTF::::removeFirst):
1970         (WTF::::remove):
1971         (WTF::::addToIteratorsList):
1972         (WTF::::removeFromIteratorsList):
1973         (WTF::::DequeIteratorBase):
1974         (WTF::::~DequeIteratorBase):
1975         (WTF::::isEqual):
1976         (WTF::::increment):
1977         (WTF::::decrement):
1978         (WTF::::after):
1979         (WTF::::before):
1980         * wtf/DisallowCType.h: Renamed from Source/JavaScriptCore/wtf/DisallowCType.h.
1981         * wtf/DoublyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/DoublyLinkedList.h.
1982         (WTF):
1983         (DoublyLinkedListNode):
1984         (WTF::::DoublyLinkedListNode):
1985         (WTF::::setPrev):
1986         (WTF::::setNext):
1987         (WTF::::prev):
1988         (WTF::::next):
1989         (DoublyLinkedList):
1990         (WTF::::DoublyLinkedList):
1991         (WTF::::isEmpty):
1992         (WTF::::size):
1993         (WTF::::clear):
1994         (WTF::::head):
1995         (WTF::::tail):
1996         (WTF::::push):
1997         (WTF::::append):
1998         (WTF::::remove):
1999         (WTF::::removeHead):
2000         * wtf/DynamicAnnotations.cpp: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.cpp.
2001         (WTFAnnotateBenignRaceSized):
2002         (WTFAnnotateHappensBefore):
2003         (WTFAnnotateHappensAfter):
2004         * wtf/DynamicAnnotations.h: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.h.
2005         * wtf/Encoder.h: Renamed from Source/JavaScriptCore/wtf/Encoder.h.
2006         (WTF):
2007         (Encoder):
2008         (WTF::Encoder::Encoder):
2009         (WTF::Encoder::~Encoder):
2010         * wtf/ExportMacros.h: Renamed from Source/JavaScriptCore/wtf/ExportMacros.h.
2011         * wtf/FastAllocBase.h: Renamed from Source/JavaScriptCore/wtf/FastAllocBase.h.
2012         (WTF):
2013         (WTF::fastNew):
2014         (Internal):
2015         (WTF::Internal::NewArrayImpl::fastNewArray):
2016         (WTF::fastNewArray):
2017         (WTF::fastDelete):
2018         (WTF::fastDeleteSkippingDestructor):
2019         (WTF::Internal::DeleteArrayImpl::fastDeleteArray):
2020         (WTF::fastDeleteArray):
2021         (WTF::fastNonNullDelete):
2022         (WTF::Internal::NonNullDeleteArrayImpl::fastNonNullDeleteArray):
2023         (WTF::fastNonNullDeleteArray):
2024         * wtf/FastMalloc.cpp: Renamed from Source/JavaScriptCore/wtf/FastMalloc.cpp.
2025         (WTF):
2026         (WTF::isForbidden):
2027         (WTF::fastMallocForbid):
2028         (WTF::fastMallocAllow):
2029         (WTF::initializeIsForbiddenKey):
2030         (Internal):
2031         (WTF::Internal::fastMallocMatchFailed):
2032         (WTF::fastZeroedMalloc):
2033         (WTF::fastStrDup):
2034         (WTF::tryFastZeroedMalloc):
2035         (WTF::tryFastMalloc):
2036         (WTF::fastMalloc):
2037         (WTF::tryFastCalloc):
2038         (WTF::fastCalloc):
2039         (WTF::fastFree):
2040         (WTF::tryFastRealloc):
2041         (WTF::fastRealloc):
2042         (WTF::releaseFastMallocFreeMemory):
2043         (WTF::fastMallocStatistics):
2044         (WTF::fastMallocSize):
2045         (FastMallocZone):
2046         (WTF::FastMallocZone::goodSize):
2047         (WTF::FastMallocZone::check):
2048         (WTF::FastMallocZone::print):
2049         (WTF::FastMallocZone::log):
2050         (WTF::FastMallocZone::forceLock):
2051         (WTF::FastMallocZone::forceUnlock):
2052         (WTF::FastMallocZone::statistics):
2053         (WTF::FastMallocZone::zoneValloc):
2054         (WTF::FastMallocZone::zoneDestroy):
2055         (WTF::KernelSupportsTLS):
2056         (WTF::CheckIfKernelSupportsTLS):
2057         (WTF::ClassIndex):
2058         (TCEntry):
2059         (WTF::LgFloor):
2060         (WTF::SLL_Next):
2061         (WTF::SLL_SetNext):
2062         (WTF::SLL_Push):
2063         (WTF::SLL_Pop):
2064         (WTF::SLL_PopRange):
2065         (WTF::SLL_PushRange):
2066         (WTF::SLL_Size):
2067         (WTF::SizeClass):
2068         (WTF::ByteSizeForClass):
2069         (WTF::NumMoveSize):
2070         (WTF::InitSizeClasses):
2071         (WTF::MetaDataAlloc):
2072         (PageHeapAllocator):
2073         (WTF::PageHeapAllocator::Init):
2074         (WTF::PageHeapAllocator::New):
2075         (WTF::PageHeapAllocator::Delete):
2076         (WTF::PageHeapAllocator::inuse):
2077         (WTF::PageHeapAllocator::recordAdministrativeRegions):
2078         (WTF::pages):
2079         (WTF::AllocationSize):
2080         (Span):
2081         (WTF::Event):
2082         (WTF::NewSpan):
2083         (WTF::DeleteSpan):
2084         (WTF::DLL_Init):
2085         (WTF::DLL_Remove):
2086         (WTF::DLL_IsEmpty):
2087         (WTF::DLL_Length):
2088         (WTF::DLL_Print):
2089         (WTF::DLL_Prepend):
2090         (StackTrace):
2091         (MapSelector):
2092         (TCMalloc_PageHeap):
2093         (WTF::TCMalloc_PageHeap::GetDescriptor):
2094         (WTF::TCMalloc_PageHeap::GetDescriptorEnsureSafe):
2095         (WTF::TCMalloc_PageHeap::SystemBytes):
2096         (WTF::TCMalloc_PageHeap::FreeBytes):
2097         (WTF::TCMalloc_PageHeap::GetSizeClassIfCached):
2098         (WTF::TCMalloc_PageHeap::CacheSizeClass):
2099         (SpanList):
2100         (WTF::TCMalloc_PageHeap::RecordSpan):
2101         (WTF::TCMalloc_PageHeap::init):
2102         (WTF::TCMalloc_PageHeap::initializeScavenger):
2103         (WTF::TCMalloc_PageHeap::isScavengerSuspended):
2104         (WTF::TCMalloc_PageHeap::scheduleScavenger):
2105         (WTF::TCMalloc_PageHeap::rescheduleScavenger):
2106         (WTF::TCMalloc_PageHeap::suspendScavenger):
2107         (WTF::TCMalloc_PageHeap::scavengerTimerFired):
2108         (WTF::TCMalloc_PageHeap::runScavengerThread):
2109         (WTF::TCMalloc_PageHeap::signalScavenger):
2110         (WTF::TCMalloc_PageHeap::scavenge):
2111         (WTF::TCMalloc_PageHeap::shouldScavenge):
2112         (WTF::TCMalloc_PageHeap::New):
2113         (WTF::TCMalloc_PageHeap::AllocLarge):
2114         (WTF::TCMalloc_PageHeap::Split):
2115         (WTF::TCMalloc_PageHeap::Carve):
2116         (WTF::mergeDecommittedStates):
2117         (WTF::TCMalloc_PageHeap::Delete):
2118         (WTF::TCMalloc_PageHeap::IncrementalScavenge):
2119         (WTF::TCMalloc_PageHeap::RegisterSizeClass):
2120         (WTF::TCMalloc_PageHeap::ReturnedBytes):
2121         (WTF::PagesToMB):
2122         (WTF::TCMalloc_PageHeap::Dump):
2123         (WTF::TCMalloc_PageHeap::GrowHeap):
2124         (WTF::TCMalloc_PageHeap::Check):
2125         (WTF::TCMalloc_PageHeap::CheckList):
2126         (WTF::TCMalloc_PageHeap::ReleaseFreeList):
2127         (WTF::TCMalloc_PageHeap::ReleaseFreePages):
2128         (TCMalloc_ThreadCache_FreeList):
2129         (WTF::TCMalloc_ThreadCache_FreeList::Init):
2130         (WTF::TCMalloc_ThreadCache_FreeList::length):
2131         (WTF::TCMalloc_ThreadCache_FreeList::empty):
2132         (WTF::TCMalloc_ThreadCache_FreeList::lowwatermark):
2133         (WTF::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
2134         (WTF::TCMalloc_ThreadCache_FreeList::Push):
2135         (WTF::TCMalloc_ThreadCache_FreeList::PushRange):
2136         (WTF::TCMalloc_ThreadCache_FreeList::PopRange):
2137         (WTF::TCMalloc_ThreadCache_FreeList::Pop):
2138         (WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects):
2139         (TCMalloc_ThreadCache):
2140         (WTF::TCMalloc_ThreadCache::freelist_length):
2141         (WTF::TCMalloc_ThreadCache::Size):
2142         (WTF::TCMalloc_ThreadCache::enumerateFreeObjects):
2143         (TCMalloc_Central_FreeList):
2144         (WTF::TCMalloc_Central_FreeList::length):
2145         (WTF::TCMalloc_Central_FreeList::tc_length):
2146         (WTF::TCMalloc_Central_FreeList::enumerateFreeObjects):
2147         (TCMalloc_Central_FreeListPadded):
2148         (WTF::getPageHeap):
2149         (WTF::TCMalloc_PageHeap::periodicScavenge):
2150         (WTF::TCMalloc_PageHeap::scavengerThread):
2151         (WTF::setThreadHeap):
2152         (WTF::TCMalloc_Central_FreeList::Init):
2153         (WTF::TCMalloc_Central_FreeList::ReleaseListToSpans):
2154         (WTF::TCMalloc_Central_FreeList::ReleaseToSpans):
2155         (WTF::TCMalloc_Central_FreeList::EvictRandomSizeClass):
2156         (WTF::TCMalloc_Central_FreeList::MakeCacheSpace):
2157         (WTF::TCMalloc_Central_FreeList::ShrinkCache):
2158         (WTF::TCMalloc_Central_FreeList::InsertRange):
2159         (WTF::TCMalloc_Central_FreeList::RemoveRange):
2160         (WTF::TCMalloc_Central_FreeList::FetchFromSpansSafe):
2161         (WTF::TCMalloc_Central_FreeList::FetchFromSpans):
2162         (WTF::TCMalloc_Central_FreeList::Populate):
2163         (WTF::TCMalloc_ThreadCache::SampleAllocation):
2164         (WTF::TCMalloc_ThreadCache::Init):
2165         (WTF::TCMalloc_ThreadCache::Cleanup):
2166         (WTF::TCMalloc_ThreadCache::Allocate):
2167         (WTF::TCMalloc_ThreadCache::Deallocate):
2168         (WTF::TCMalloc_ThreadCache::FetchFromCentralCache):
2169         (WTF::TCMalloc_ThreadCache::ReleaseToCentralCache):
2170         (WTF::TCMalloc_ThreadCache::Scavenge):
2171         (WTF::TCMalloc_ThreadCache::PickNextSample):
2172         (WTF::TCMalloc_ThreadCache::InitModule):
2173         (WTF::TCMalloc_ThreadCache::NewHeap):
2174         (WTF::TCMalloc_ThreadCache::GetThreadHeap):
2175         (WTF::TCMalloc_ThreadCache::GetCache):
2176         (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
2177         (WTF::TCMalloc_ThreadCache::InitTSD):
2178         (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
2179         * wtf/FastMalloc.h: Renamed from Source/JavaScriptCore/wtf/FastMalloc.h.
2180         (WTF):
2181         (WTF::TryMallocReturnValue::TryMallocReturnValue):
2182         (WTF::TryMallocReturnValue::~TryMallocReturnValue):
2183         (TryMallocReturnValue):
2184         (WTF::TryMallocReturnValue::operator PossiblyNull<T>):
2185         (WTF::TryMallocReturnValue::getValue):
2186         (FastMallocStatistics):
2187         (ValidationHeader):
2188         (Internal):
2189         (WTF::Internal::fastMallocValidationHeader):
2190         (WTF::Internal::fastMallocValidationSuffix):
2191         (WTF::Internal::fastMallocMatchValidationType):
2192         (WTF::Internal::setFastMallocMatchValidationType):
2193         (WTF::fastMallocMatchValidateMalloc):
2194         (WTF::fastMallocMatchValidateFree):
2195         (WTF::fastMallocValidate):
2196         (throw):
2197         * wtf/FixedArray.h: Renamed from Source/JavaScriptCore/wtf/FixedArray.h.
2198         (WTF):
2199         (FixedArray):
2200         (WTF::FixedArray::operator[]):
2201         (WTF::FixedArray::data):
2202         (WTF::FixedArray::size):
2203         * wtf/Float32Array.h: Renamed from Source/JavaScriptCore/wtf/Float32Array.h.
2204         (WTF):
2205         (Float32Array):
2206         (WTF::Float32Array::set):
2207         (WTF::Float32Array::item):
2208         (WTF::Float32Array::isFloatArray):
2209         (WTF::Float32Array::create):
2210         (WTF::Float32Array::Float32Array):
2211         (WTF::Float32Array::subarray):
2212         * wtf/Float64Array.h: Renamed from Source/JavaScriptCore/wtf/Float64Array.h.
2213         (WTF):
2214         (Float64Array):
2215         (WTF::Float64Array::set):
2216         (WTF::Float64Array::item):
2217         (WTF::Float64Array::isDoubleArray):
2218         (WTF::Float64Array::create):
2219         (WTF::Float64Array::Float64Array):
2220         (WTF::Float64Array::subarray):
2221         * wtf/Forward.h: Renamed from Source/JavaScriptCore/wtf/Forward.h.
2222         (WTF):
2223         * wtf/Functional.h: Renamed from Source/JavaScriptCore/wtf/Functional.h.
2224         (WTF):
2225         (HasRefAndDeref):
2226         (NoType):
2227         (BaseMixin):
2228         (WTF::R):
2229         (WTF::C::):
2230         (WTF::RefAndDeref::ref):
2231         (WTF::RefAndDeref::deref):
2232         (ParamStorageTraits):
2233         (WTF::ParamStorageTraits::wrap):
2234         (WTF::ParamStorageTraits::unwrap):
2235         (FunctionImplBase):
2236         (WTF::FunctionImplBase::~FunctionImplBase):
2237         (FunctionBase):
2238         (WTF::FunctionBase::isNull):
2239         (WTF::FunctionBase::FunctionBase):
2240         (WTF::FunctionBase::impl):
2241         (WTF::bind):
2242         * wtf/GetPtr.h: Renamed from Source/JavaScriptCore/wtf/GetPtr.h.
2243         (WTF):
2244         (WTF::getPtr):
2245         * wtf/HashCountedSet.h: Renamed from Source/JavaScriptCore/wtf/HashCountedSet.h.
2246         (WTF):
2247         (HashCountedSet):
2248         (WTF::HashCountedSet::HashCountedSet):
2249         (WTF::::size):
2250         (WTF::::capacity):
2251         (WTF::::isEmpty):
2252         (WTF::::begin):
2253         (WTF::::end):
2254         (WTF::::find):
2255         (WTF::::contains):
2256         (WTF::::count):
2257         (WTF::::add):
2258         (WTF::::remove):
2259         (WTF::::removeAll):
2260         (WTF::::clear):
2261         (WTF::copyToVector):
2262         * wtf/HashFunctions.h: Renamed from Source/JavaScriptCore/wtf/HashFunctions.h.
2263         (WTF):
2264         (WTF::intHash):
2265         (WTF::IntHash::hash):
2266         (WTF::IntHash::equal):
2267         (IntHash):
2268         (WTF::FloatHash::hash):
2269         (WTF::FloatHash::equal):
2270         (FloatHash):
2271         (WTF::PtrHash::hash):
2272         (WTF::PtrHash::equal):
2273         (PtrHash):
2274         (WTF::PairHash::hash):
2275         (WTF::PairHash::equal):
2276         (PairHash):
2277         * wtf/HashIterators.h: Renamed from Source/JavaScriptCore/wtf/HashIterators.h.
2278         (WTF):
2279         (HashTableConstKeysIterator):
2280         (WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
2281         (WTF::HashTableConstKeysIterator::get):
2282         (WTF::HashTableConstKeysIterator::operator*):
2283         (WTF::HashTableConstKeysIterator::operator->):
2284         (WTF::HashTableConstKeysIterator::operator++):
2285         (HashTableConstValuesIterator):
2286         (WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
2287         (WTF::HashTableConstValuesIterator::get):
2288         (WTF::HashTableConstValuesIterator::operator*):
2289         (WTF::HashTableConstValuesIterator::operator->):
2290         (WTF::HashTableConstValuesIterator::operator++):
2291         (HashTableKeysIterator):
2292         (WTF::HashTableKeysIterator::HashTableKeysIterator):
2293         (WTF::HashTableKeysIterator::get):
2294         (WTF::HashTableKeysIterator::operator*):
2295         (WTF::HashTableKeysIterator::operator->):
2296         (WTF::HashTableKeysIterator::operator++):
2297         (WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
2298         (HashTableValuesIterator):
2299         (WTF::HashTableValuesIterator::HashTableValuesIterator):
2300         (WTF::HashTableValuesIterator::get):
2301         (WTF::HashTableValuesIterator::operator*):
2302         (WTF::HashTableValuesIterator::operator->):
2303         (WTF::HashTableValuesIterator::operator++):
2304         (WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
2305         (WTF::operator==):
2306         (WTF::operator!=):
2307         * wtf/HashMap.h: Renamed from Source/JavaScriptCore/wtf/HashMap.h.
2308         (WTF):
2309         (ReferenceTypeMaker):
2310         (HashMap):
2311         (WTF::HashMap::keys):
2312         (WTF::HashMap::values):
2313         (HashMapKeysProxy):
2314         (WTF::HashMap::HashMapKeysProxy::begin):
2315         (WTF::HashMap::HashMapKeysProxy::end):
2316         (HashMapValuesProxy):
2317         (WTF::HashMap::HashMapValuesProxy::begin):
2318         (WTF::HashMap::HashMapValuesProxy::end):
2319         (WTF::PairFirstExtractor::extract):
2320         (WTF::HashMapTranslator::hash):
2321         (WTF::HashMapTranslator::equal):
2322         (WTF::HashMapTranslator::translate):
2323         (WTF::HashMapTranslatorAdapter::hash):
2324         (WTF::HashMapTranslatorAdapter::equal):
2325         (WTF::HashMapTranslatorAdapter::translate):
2326         (WTF::::swap):
2327         (WTF::::size):
2328         (WTF::::capacity):
2329         (WTF::::isEmpty):
2330         (WTF::::begin):
2331         (WTF::::end):
2332         (WTF::::find):
2333         (WTF::::contains):
2334         (WTF::::inlineAdd):
2335         (WTF::::set):
2336         (WTF::::add):
2337         (WTF::::get):
2338         (WTF::::remove):
2339         (WTF::::clear):
2340         (WTF::::take):
2341         (WTF::::checkConsistency):
2342         (WTF::operator==):
2343         (WTF::operator!=):
2344         (WTF::deleteAllPairSeconds):
2345         (WTF::deleteAllValues):
2346         (WTF::deleteAllPairFirsts):
2347         (WTF::deleteAllKeys):
2348         (WTF::copyKeysToVector):
2349         (WTF::copyValuesToVector):
2350         * wtf/HashSet.h: Renamed from Source/JavaScriptCore/wtf/HashSet.h.
2351         (WTF):
2352         (HashSet):
2353         (WTF::IdentityExtractor::extract):
2354         (WTF::HashSetTranslatorAdapter::hash):
2355         (WTF::HashSetTranslatorAdapter::equal):
2356         (WTF::HashSetTranslatorAdapter::translate):
2357         (WTF::::swap):
2358         (WTF::::size):
2359         (WTF::::capacity):
2360         (WTF::::isEmpty):
2361         (WTF::::begin):
2362         (WTF::::end):
2363         (WTF::::find):
2364         (WTF::::contains):
2365         (WTF::::add):
2366         (WTF::::remove):
2367         (WTF::::clear):
2368         (WTF::deleteAllValues):
2369         (WTF::fastDeleteAllValues):
2370         (WTF::copyToVector):
2371         * wtf/HashTable.cpp: Renamed from Source/JavaScriptCore/wtf/HashTable.cpp.
2372         (WTF):
2373         (WTF::hashTableStatsMutex):
2374         (WTF::HashTableStats::~HashTableStats):
2375         (WTF::HashTableStats::recordCollisionAtCount):
2376         * wtf/HashTable.h: Renamed from Source/JavaScriptCore/wtf/HashTable.h.
2377         (WTF):
2378         (HashTableStats):
2379         (WTF::addIterator):
2380         (WTF::removeIterator):
2381         (HashTableConstIterator):
2382         (WTF::HashTableConstIterator::skipEmptyBuckets):
2383         (WTF::HashTableConstIterator::HashTableConstIterator):
2384         (WTF::HashTableConstIterator::~HashTableConstIterator):
2385         (WTF::HashTableConstIterator::operator=):
2386         (WTF::HashTableConstIterator::get):
2387         (WTF::HashTableConstIterator::operator*):
2388         (WTF::HashTableConstIterator::operator->):
2389         (WTF::HashTableConstIterator::operator++):
2390         (WTF::HashTableConstIterator::operator==):
2391         (WTF::HashTableConstIterator::operator!=):
2392         (WTF::HashTableConstIterator::checkValidity):
2393         (HashTableIterator):
2394         (WTF::HashTableIterator::HashTableIterator):
2395         (WTF::HashTableIterator::get):
2396         (WTF::HashTableIterator::operator*):
2397         (WTF::HashTableIterator::operator->):
2398         (WTF::HashTableIterator::operator++):
2399         (WTF::HashTableIterator::operator==):
2400         (WTF::HashTableIterator::operator!=):
2401         (WTF::HashTableIterator::operator const_iterator):
2402         (WTF::hashTableSwap):
2403         (IdentityHashTranslator):
2404         (WTF::IdentityHashTranslator::hash):
2405         (WTF::IdentityHashTranslator::equal):
2406         (WTF::IdentityHashTranslator::translate):
2407         (HashTable):
2408         (WTF::HashTable::~HashTable):
2409         (WTF::HashTable::begin):
2410         (WTF::HashTable::end):
2411         (WTF::HashTable::size):
2412         (WTF::HashTable::capacity):
2413         (WTF::HashTable::isEmpty):
2414         (WTF::HashTable::add):
2415         (WTF::HashTable::find):
2416         (WTF::HashTable::contains):
2417         (WTF::HashTable::isEmptyBucket):
2418         (WTF::HashTable::isDeletedBucket):
2419         (WTF::HashTable::isEmptyOrDeletedBucket):
2420         (WTF::HashTable::lookup):
2421         (WTF::HashTable::checkTableConsistency):
2422         (WTF::HashTable::internalCheckTableConsistency):
2423         (WTF::HashTable::internalCheckTableConsistencyExceptSize):
2424         (WTF::HashTable::lookupForWriting):
2425         (WTF::HashTable::shouldExpand):
2426         (WTF::HashTable::mustRehashInPlace):
2427         (WTF::HashTable::shouldShrink):
2428         (WTF::HashTable::shrink):
2429         (WTF::HashTable::deleteBucket):
2430         (WTF::HashTable::makeLookupResult):
2431         (WTF::HashTable::makeIterator):
2432         (WTF::HashTable::makeConstIterator):
2433         (WTF::HashTable::makeKnownGoodIterator):
2434         (WTF::HashTable::makeKnownGoodConstIterator):
2435         (WTF::HashTable::checkTableConsistencyExceptSize):
2436         (WTF::HashTable::invalidateIterators):
2437         (WTF::::HashTable):
2438         (WTF::doubleHash):
2439         (WTF::::checkKey):
2440         (WTF::::lookup):
2441         (WTF::::lookupForWriting):
2442         (WTF::::fullLookupForWriting):
2443         (WTF::::initializeBucket):
2444         (WTF::::add):
2445         (WTF::::addPassingHashCode):
2446         (WTF::::reinsert):
2447         (WTF::::find):
2448         (WTF::::contains):
2449         (WTF::::removeAndInvalidateWithoutEntryConsistencyCheck):
2450         (WTF::::removeAndInvalidate):
2451         (WTF::::remove):
2452         (WTF::::removeWithoutEntryConsistencyCheck):
2453         (WTF::::allocateTable):
2454         (WTF::::deallocateTable):
2455         (WTF::::expand):
2456         (WTF::::rehash):
2457         (WTF::::clear):
2458         (WTF::::swap):
2459         (WTF::=):
2460         (WTF::::checkTableConsistency):
2461         (WTF::::checkTableConsistencyExceptSize):
2462         (WTF::::invalidateIterators):
2463         (WTF::HashTableConstIteratorAdapter::HashTableConstIteratorAdapter):
2464         (HashTableConstIteratorAdapter):
2465         (WTF::HashTableConstIteratorAdapter::get):
2466         (WTF::HashTableConstIteratorAdapter::operator*):
2467         (WTF::HashTableConstIteratorAdapter::operator->):
2468         (WTF::HashTableConstIteratorAdapter::operator++):
2469         (WTF::HashTableIteratorAdapter::HashTableIteratorAdapter):
2470         (HashTableIteratorAdapter):
2471         (WTF::HashTableIteratorAdapter::get):
2472         (WTF::HashTableIteratorAdapter::operator*):
2473         (WTF::HashTableIteratorAdapter::operator->):
2474         (WTF::HashTableIteratorAdapter::operator++):
2475         (WTF::HashTableIteratorAdapter::operator HashTableConstIteratorAdapter<HashTableType, ValueType>):
2476         (WTF::operator==):
2477         (WTF::operator!=):
2478         * wtf/HashTraits.h: Renamed from Source/JavaScriptCore/wtf/HashTraits.h.
2479         (WTF):
2480         (GenericHashTraits):
2481         (WTF::GenericHashTraits::emptyValue):
2482         (WTF::GenericHashTraits::store):
2483         (WTF::GenericHashTraits::passOut):
2484         (WTF::GenericHashTraits::peek):
2485         (FloatHashTraits):
2486         (WTF::FloatHashTraits::emptyValue):
2487         (WTF::FloatHashTraits::constructDeletedValue):
2488         (WTF::FloatHashTraits::isDeletedValue):
2489         (UnsignedWithZeroKeyHashTraits):
2490         (WTF::UnsignedWithZeroKeyHashTraits::emptyValue):
2491         (WTF::UnsignedWithZeroKeyHashTraits::constructDeletedValue):
2492         (WTF::UnsignedWithZeroKeyHashTraits::isDeletedValue):
2493         (SimpleClassHashTraits):
2494         (WTF::SimpleClassHashTraits::constructDeletedValue):
2495         (WTF::SimpleClassHashTraits::isDeletedValue):
2496         (PairHashTraits):
2497         (WTF::PairHashTraits::emptyValue):
2498         (WTF::PairHashTraits::constructDeletedValue):
2499         (WTF::PairHashTraits::isDeletedValue):
2500         * wtf/HexNumber.h: Renamed from Source/JavaScriptCore/wtf/HexNumber.h.
2501         (WTF):
2502         (Internal):
2503         (WTF::Internal::hexDigitsForMode):
2504         (WTF::appendByteAsHex):
2505         (WTF::placeByteAsHexCompressIfPossible):
2506         (WTF::placeByteAsHex):
2507         (WTF::appendUnsignedAsHex):
2508         (WTF::appendUnsignedAsHexFixedSize):
2509         * wtf/InlineASM.h: Renamed from Source/JavaScriptCore/wtf/InlineASM.h.
2510         * wtf/Int16Array.h: Renamed from Source/JavaScriptCore/wtf/Int16Array.h.
2511         (WTF):
2512         (Int16Array):
2513         (WTF::Int16Array::set):
2514         (WTF::Int16Array::isShortArray):
2515         (WTF::Int16Array::create):
2516         (WTF::Int16Array::Int16Array):
2517         (WTF::Int16Array::subarray):
2518         * wtf/Int32Array.h: Renamed from Source/JavaScriptCore/wtf/Int32Array.h.
2519         (WTF):
2520         (Int32Array):
2521         (WTF::Int32Array::set):
2522         (WTF::Int32Array::isIntArray):
2523         (WTF::Int32Array::create):
2524         (WTF::Int32Array::Int32Array):
2525         (WTF::Int32Array::subarray):
2526         * wtf/Int8Array.h: Renamed from Source/JavaScriptCore/wtf/Int8Array.h.
2527         (WTF):
2528         (Int8Array):
2529         (WTF::Int8Array::set):
2530         (WTF::Int8Array::isByteArray):
2531         (WTF::Int8Array::create):
2532         (WTF::Int8Array::Int8Array):
2533         (WTF::Int8Array::subarray):
2534         * wtf/IntegralTypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/IntegralTypedArrayBase.h.
2535         (WTF):
2536         (IntegralTypedArrayBase):
2537         (WTF::IntegralTypedArrayBase::set):
2538         (WTF::IntegralTypedArrayBase::item):
2539         (WTF::IntegralTypedArrayBase::IntegralTypedArrayBase):
2540         * wtf/ListHashSet.h: Renamed from Source/JavaScriptCore/wtf/ListHashSet.h.
2541         (WTF):
2542         (ListHashSet):
2543         (ListHashSetNodeAllocator):
2544         (WTF::ListHashSetNodeAllocator::ListHashSetNodeAllocator):
2545         (WTF::ListHashSetNodeAllocator::allocate):
2546         (WTF::ListHashSetNodeAllocator::deallocate):
2547         (WTF::ListHashSetNodeAllocator::pool):
2548         (WTF::ListHashSetNodeAllocator::pastPool):
2549         (WTF::ListHashSetNodeAllocator::inPool):
2550         (ListHashSetNode):
2551         (WTF::ListHashSetNode::ListHashSetNode):
2552         (WTF::ListHashSetNode::operator new):
2553         (WTF::ListHashSetNode::destroy):
2554         (WTF::ListHashSetNodeHashFunctions::hash):
2555         (WTF::ListHashSetNodeHashFunctions::equal):
2556         (ListHashSetNodeHashFunctions):
2557         (ListHashSetIterator):
2558         (WTF::ListHashSetIterator::ListHashSetIterator):
2559         (WTF::ListHashSetIterator::get):
2560         (WTF::ListHashSetIterator::operator*):
2561         (WTF::ListHashSetIterator::operator->):
2562         (WTF::ListHashSetIterator::operator++):
2563         (WTF::ListHashSetIterator::operator--):
2564         (WTF::ListHashSetIterator::operator==):
2565         (WTF::ListHashSetIterator::operator!=):
2566         (WTF::ListHashSetIterator::operator const_iterator):
2567         (WTF::ListHashSetIterator::node):
2568         (ListHashSetConstIterator):
2569         (WTF::ListHashSetConstIterator::ListHashSetConstIterator):
2570         (WTF::ListHashSetConstIterator::get):
2571         (WTF::ListHashSetConstIterator::operator*):
2572         (WTF::ListHashSetConstIterator::operator->):
2573         (WTF::ListHashSetConstIterator::operator++):
2574         (WTF::ListHashSetConstIterator::operator--):
2575         (WTF::ListHashSetConstIterator::operator==):
2576         (WTF::ListHashSetConstIterator::operator!=):
2577         (WTF::ListHashSetConstIterator::node):
2578         (ListHashSetReverseIterator):
2579         (WTF::ListHashSetReverseIterator::ListHashSetReverseIterator):
2580         (WTF::ListHashSetReverseIterator::get):
2581         (WTF::ListHashSetReverseIterator::operator*):
2582         (WTF::ListHashSetReverseIterator::operator->):
2583         (WTF::ListHashSetReverseIterator::operator++):
2584         (WTF::ListHashSetReverseIterator::operator--):
2585         (WTF::ListHashSetReverseIterator::operator==):
2586         (WTF::ListHashSetReverseIterator::operator!=):
2587         (WTF::ListHashSetReverseIterator::operator const_reverse_iterator):
2588         (WTF::ListHashSetReverseIterator::node):
2589         (ListHashSetConstReverseIterator):
2590         (WTF::ListHashSetConstReverseIterator::ListHashSetConstReverseIterator):
2591         (WTF::ListHashSetConstReverseIterator::get):
2592         (WTF::ListHashSetConstReverseIterator::operator*):
2593         (WTF::ListHashSetConstReverseIterator::operator->):
2594         (WTF::ListHashSetConstReverseIterator::operator++):
2595         (WTF::ListHashSetConstReverseIterator::operator--):
2596         (WTF::ListHashSetConstReverseIterator::operator==):
2597         (WTF::ListHashSetConstReverseIterator::operator!=):
2598         (WTF::ListHashSetConstReverseIterator::node):
2599         (WTF::ListHashSetTranslator::hash):
2600         (WTF::ListHashSetTranslator::equal):
2601         (WTF::ListHashSetTranslator::translate):
2602         (WTF::::ListHashSet):
2603         (WTF::=):
2604         (WTF::::swap):
2605         (WTF::::~ListHashSet):
2606         (WTF::::size):
2607         (WTF::::capacity):
2608         (WTF::::isEmpty):
2609         (WTF::::begin):
2610         (WTF::::end):
2611         (WTF::::rbegin):
2612         (WTF::::rend):
2613         (WTF::::first):
2614         (WTF::::last):
2615         (WTF::::removeLast):
2616         (WTF::::find):
2617         (WTF::ListHashSetTranslatorAdapter::hash):
2618         (WTF::ListHashSetTranslatorAdapter::equal):
2619         (WTF::::contains):
2620         (WTF::::add):
2621         (WTF::::insertBefore):
2622         (WTF::::remove):
2623         (WTF::::clear):
2624         (WTF::::unlinkAndDelete):
2625         (WTF::::appendNode):
2626         (WTF::::insertNodeBefore):
2627         (WTF::::deleteAllNodes):
2628         (WTF::::makeReverseIterator):
2629         (WTF::::makeConstReverseIterator):
2630         (WTF::::makeIterator):
2631         (WTF::::makeConstIterator):
2632         (WTF::deleteAllValues):
2633         * wtf/ListRefPtr.h: Renamed from Source/JavaScriptCore/wtf/ListRefPtr.h.
2634         (WTF):
2635         (ListRefPtr):
2636         (WTF::ListRefPtr::ListRefPtr):
2637         (WTF::ListRefPtr::~ListRefPtr):
2638         (WTF::ListRefPtr::operator=):
2639         (WTF::getPtr):
2640         * wtf/Locker.h: Renamed from Source/JavaScriptCore/wtf/Locker.h.
2641         (WTF):
2642         (Locker):
2643         (WTF::Locker::Locker):
2644         (WTF::Locker::~Locker):
2645         * wtf/MD5.cpp: Renamed from Source/JavaScriptCore/wtf/MD5.cpp.
2646         (WTF):
2647         (WTF::testMD5):
2648         (WTF::expectMD5):
2649         (WTF::reverseBytes):
2650         (WTF::MD5Transform):
2651         (WTF::MD5::MD5):
2652         (WTF::MD5::addBytes):
2653         (WTF::MD5::checksum):
2654         * wtf/MD5.h: Renamed from Source/JavaScriptCore/wtf/MD5.h.
2655         (WTF):
2656         (MD5):
2657         (WTF::MD5::addBytes):
2658         * wtf/MainThread.cpp: Renamed from Source/JavaScriptCore/wtf/MainThread.cpp.
2659         (WTF):
2660         (FunctionWithContext):
2661         (WTF::FunctionWithContext::FunctionWithContext):
2662         (WTF::FunctionWithContext::operator == ):
2663         (FunctionWithContextFinder):
2664         (WTF::FunctionWithContextFinder::FunctionWithContextFinder):
2665         (WTF::FunctionWithContextFinder::operator()):
2666         (WTF::mainThreadFunctionQueueMutex):
2667         (WTF::functionQueue):
2668         (WTF::initializeMainThread):
2669         (WTF::initializeMainThreadOnce):
2670         (WTF::initializeMainThreadToProcessMainThreadOnce):
2671         (WTF::initializeMainThreadToProcessMainThread):
2672         (WTF::dispatchFunctionsFromMainThread):
2673         (WTF::callOnMainThread):
2674         (WTF::callOnMainThreadAndWait):
2675         (WTF::cancelCallOnMainThread):
2676         (WTF::callFunctionObject):
2677         (WTF::setMainThreadCallbacksPaused):
2678         (WTF::isMainThread):
2679         (WTF::initializeGCThreads):
2680         (WTF::registerGCThread):
2681         (WTF::isMainThreadOrGCThread):
2682         * wtf/MainThread.h: Renamed from Source/JavaScriptCore/wtf/MainThread.h.
2683         (WTF):
2684         (WTF::isMainThreadOrGCThread):
2685         * wtf/MallocZoneSupport.h: Renamed from Source/JavaScriptCore/wtf/MallocZoneSupport.h.
2686         (WTF):
2687         (RemoteMemoryReader):
2688         (WTF::RemoteMemoryReader::RemoteMemoryReader):
2689         (WTF::RemoteMemoryReader::operator()):
2690         (WTF::RemoteMemoryReader::nextEntryInLinkedList):
2691         * wtf/MathExtras.h: Renamed from Source/JavaScriptCore/wtf/MathExtras.h.
2692         (wtf_ceil):
2693         (isfinite):
2694         (isinf):
2695         (signbit):
2696         (round):
2697         (roundf):
2698         (llround):
2699         (llroundf):
2700         (lround):
2701         (lroundf):
2702         (trunc):
2703         (abs):
2704         (isnan):
2705         (nextafter):
2706         (nextafterf):
2707         (copysign):
2708         (log2):
2709         (log2f):
2710         (wtf_atan2):
2711         (wtf_fmod):
2712         (wtf_pow):
2713         (deg2rad):
2714         (rad2deg):
2715         (deg2grad):
2716         (grad2deg):
2717         (turn2deg):
2718         (deg2turn):
2719         (rad2grad):
2720         (grad2rad):
2721         (defaultMinimumForClamp):
2722         (defaultMaximumForClamp):
2723         (clampTo):
2724         (clampToInteger):
2725         (clampToFloat):
2726         (clampToPositiveInteger):
2727         (isWithinIntRange):
2728         (decomposeDouble):
2729         (doubleToInteger):
2730         * wtf/MessageQueue.h: Renamed from Source/JavaScriptCore/wtf/MessageQueue.h.
2731         (WTF):
2732         (MessageQueue):
2733         (WTF::MessageQueue::MessageQueue):
2734         (WTF::MessageQueue::infiniteTime):
2735         (WTF::MessageQueue::alwaysTruePredicate):
2736         (WTF::::~MessageQueue):
2737         (WTF::::append):
2738         (WTF::::appendAndCheckEmpty):
2739         (WTF::::prepend):
2740         (WTF::::waitForMessage):
2741         (WTF::::waitForMessageFilteredWithTimeout):
2742         (WTF::::tryGetMessage):
2743         (WTF::::tryGetMessageIgnoringKilled):
2744         (WTF::::removeIf):
2745         (WTF::::isEmpty):
2746         (WTF::::kill):
2747         (WTF::::killed):
2748         * wtf/MetaAllocator.cpp: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.cpp.
2749         (WTF):
2750         (WTF::MetaAllocator::~MetaAllocator):
2751         (WTF::MetaAllocatorTracker::notify):
2752         (WTF::MetaAllocatorTracker::release):
2753         (WTF::MetaAllocator::release):
2754         (WTF::MetaAllocatorHandle::MetaAllocatorHandle):
2755         (WTF::MetaAllocatorHandle::~MetaAllocatorHandle):
2756         (WTF::MetaAllocatorHandle::shrink):
2757         (WTF::MetaAllocator::MetaAllocator):
2758         (WTF::MetaAllocator::allocate):
2759         (WTF::MetaAllocator::currentStatistics):
2760         (WTF::MetaAllocator::findAndRemoveFreeSpace):
2761         (WTF::MetaAllocator::addFreeSpaceFromReleasedHandle):
2762         (WTF::MetaAllocator::addFreshFreeSpace):
2763         (WTF::MetaAllocator::debugFreeSpaceSize):
2764         (WTF::MetaAllocator::addFreeSpace):
2765         (WTF::MetaAllocator::incrementPageOccupancy):
2766         (WTF::MetaAllocator::decrementPageOccupancy):
2767         (WTF::MetaAllocator::roundUp):
2768         (WTF::MetaAllocator::allocFreeSpaceNode):
2769         (WTF::MetaAllocator::freeFreeSpaceNode):
2770         (WTF::MetaAllocator::dumpProfile):
2771         * wtf/MetaAllocator.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.h.
2772         (WTF):
2773         (MetaAllocatorTracker):
2774         (WTF::MetaAllocatorTracker::find):
2775         (MetaAllocator):
2776         (WTF::MetaAllocator::trackAllocations):
2777         (WTF::MetaAllocator::bytesAllocated):
2778         (WTF::MetaAllocator::bytesReserved):
2779         (WTF::MetaAllocator::bytesCommitted):
2780         (Statistics):
2781         (WTF::MetaAllocator::dumpProfile):
2782         (FreeSpaceNode):
2783         (WTF::MetaAllocator::FreeSpaceNode::FreeSpaceNode):
2784         (WTF::MetaAllocator::FreeSpaceNode::key):
2785         * wtf/MetaAllocatorHandle.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocatorHandle.h.
2786         (WTF):
2787         (MetaAllocatorHandle):
2788         (WTF::MetaAllocatorHandle::start):
2789         (WTF::MetaAllocatorHandle::end):
2790         (WTF::MetaAllocatorHandle::sizeInBytes):
2791         (WTF::MetaAllocatorHandle::isManaged):
2792         (WTF::MetaAllocatorHandle::allocator):
2793         (WTF::MetaAllocatorHandle::ownerUID):
2794         (WTF::MetaAllocatorHandle::key):
2795         * wtf/NonCopyingSort.h: Renamed from Source/JavaScriptCore/wtf/NonCopyingSort.h.
2796         (WTF):
2797         (WTF::siftDown):
2798         (WTF::heapify):
2799         (WTF::heapSort):
2800         (WTF::nonCopyingSort):
2801         * wtf/Noncopyable.h: Renamed from Source/JavaScriptCore/wtf/Noncopyable.h.
2802         * wtf/NotFound.h: Renamed from Source/JavaScriptCore/wtf/NotFound.h.
2803         (WTF):
2804         * wtf/NullPtr.cpp: Renamed from Source/JavaScriptCore/wtf/NullPtr.cpp.
2805         * wtf/NullPtr.h: Renamed from Source/JavaScriptCore/wtf/NullPtr.h.
2806         * wtf/NumberOfCores.cpp: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.cpp.
2807         (WTF):
2808         (WTF::numberOfProcessorCores):
2809         * wtf/NumberOfCores.h: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.h.
2810         (WTF):
2811         * wtf/OSAllocator.h: Renamed from Source/JavaScriptCore/wtf/OSAllocator.h.
2812         (WTF):
2813         (OSAllocator):
2814         (WTF::OSAllocator::reserveAndCommit):
2815         (WTF::OSAllocator::decommitAndRelease):
2816         (WTF::OSAllocator::reallocateCommitted):
2817         * wtf/OSAllocatorPosix.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp.
2818         (WTF):
2819         (WTF::OSAllocator::reserveUncommitted):
2820         (WTF::OSAllocator::reserveAndCommit):
2821         (WTF::OSAllocator::commit):
2822         (WTF::OSAllocator::decommit):
2823         (WTF::OSAllocator::releaseDecommitted):
2824         * wtf/OSAllocatorWin.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorWin.cpp.
2825         (WTF):
2826         (WTF::protection):
2827         (WTF::OSAllocator::reserveUncommitted):
2828         (WTF::OSAllocator::reserveAndCommit):
2829         (WTF::OSAllocator::commit):
2830         (WTF::OSAllocator::decommit):
2831         (WTF::OSAllocator::releaseDecommitted):
2832         * wtf/OSRandomSource.cpp: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.cpp.
2833         (WTF):
2834         (WTF::cryptographicallyRandomValuesFromOS):
2835         * wtf/OSRandomSource.h: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.h.
2836         (WTF):
2837         * wtf/OwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnArrayPtr.h.
2838         (WTF):
2839         (OwnArrayPtr):
2840         (WTF::OwnArrayPtr::OwnArrayPtr):
2841         (WTF::OwnArrayPtr::~OwnArrayPtr):
2842         (WTF::OwnArrayPtr::get):
2843         (WTF::OwnArrayPtr::operator*):
2844         (WTF::OwnArrayPtr::operator->):
2845         (WTF::OwnArrayPtr::operator[]):
2846         (WTF::OwnArrayPtr::operator!):
2847         (WTF::OwnArrayPtr::operator UnspecifiedBoolType):
2848         (WTF::OwnArrayPtr::operator=):
2849         (WTF::OwnArrayPtr::swap):
2850         (WTF::::OwnArrayPtr):
2851         (WTF::::clear):
2852         (WTF::::release):
2853         (WTF::::leakPtr):
2854         (WTF::=):
2855         (WTF::swap):
2856         (WTF::operator==):
2857         (WTF::operator!=):
2858         (WTF::getPtr):
2859         * wtf/OwnPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnPtr.h.
2860         (WTF):
2861         (OwnPtr):
2862         (WTF::OwnPtr::OwnPtr):
2863         (WTF::OwnPtr::~OwnPtr):
2864         (WTF::OwnPtr::get):
2865         (WTF::OwnPtr::operator*):
2866         (WTF::OwnPtr::operator->):
2867         (WTF::OwnPtr::operator!):
2868         (WTF::OwnPtr::operator UnspecifiedBoolType):
2869         (WTF::OwnPtr::operator=):
2870         (WTF::OwnPtr::swap):
2871         (WTF::OwnPtr::operator==):
2872         (WTF::OwnPtr::operator!=):
2873         (WTF::::OwnPtr):
2874         (WTF::::clear):
2875         (WTF::::release):
2876         (WTF::::leakPtr):
2877         (WTF::=):
2878         (WTF::swap):
2879         (WTF::operator==):
2880         (WTF::operator!=):
2881         (WTF::getPtr):
2882         * wtf/OwnPtrCommon.h: Renamed from Source/JavaScriptCore/wtf/OwnPtrCommon.h.
2883         (WTF):
2884         (WTF::deleteOwnedPtr):
2885         * wtf/PackedIntVector.h: Renamed from Source/JavaScriptCore/wtf/PackedIntVector.h.
2886         (WTF):
2887         (PackedIntVector):
2888         (WTF::PackedIntVector::PackedIntVector):
2889         (WTF::PackedIntVector::operator=):
2890         (WTF::PackedIntVector::size):
2891         (WTF::PackedIntVector::ensureSize):
2892         (WTF::PackedIntVector::resize):
2893         (WTF::PackedIntVector::clearAll):
2894         (WTF::PackedIntVector::get):
2895         (WTF::PackedIntVector::set):
2896         (WTF::PackedIntVector::mask):
2897         * wtf/PageAllocation.h: Renamed from Source/JavaScriptCore/wtf/PageAllocation.h.
2898         (WTF):
2899         (PageAllocation):
2900         (WTF::PageAllocation::PageAllocation):
2901         (WTF::PageAllocation::operator bool):
2902         (WTF::PageAllocation::allocate):
2903         (WTF::PageAllocation::deallocate):
2904         * wtf/PageAllocationAligned.cpp: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.cpp.
2905         (WTF):
2906         (WTF::PageAllocationAligned::allocate):
2907         (WTF::PageAllocationAligned::deallocate):
2908         * wtf/PageAllocationAligned.h: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.h.
2909         (WTF):
2910         (PageAllocationAligned):
2911         (WTF::PageAllocationAligned::PageAllocationAligned):
2912         * wtf/PageBlock.cpp: Renamed from Source/JavaScriptCore/wtf/PageBlock.cpp.
2913         (WTF):
2914         (WTF::systemPageSize):
2915         (WTF::pageSize):
2916         (WTF::pageMask):
2917         * wtf/PageBlock.h: Renamed from Source/JavaScriptCore/wtf/PageBlock.h.
2918         (WTF):
2919         (WTF::isPageAligned):
2920         (WTF::isPowerOfTwo):
2921         (PageBlock):
2922         (WTF::PageBlock::base):
2923         (WTF::PageBlock::size):
2924         (WTF::PageBlock::operator bool):
2925         (WTF::PageBlock::contains):
2926         (WTF::PageBlock::PageBlock):
2927         * wtf/PageReservation.h: Renamed from Source/JavaScriptCore/wtf/PageReservation.h.
2928         (WTF):
2929         (PageReservation):
2930         (WTF::PageReservation::PageReservation):
2931         (WTF::PageReservation::operator bool):
2932         (WTF::PageReservation::commit):
2933         (WTF::PageReservation::decommit):
2934         (WTF::PageReservation::committed):
2935         (WTF::PageReservation::reserve):
2936         (WTF::PageReservation::reserveWithGuardPages):
2937         (WTF::PageReservation::deallocate):
2938         * wtf/ParallelJobs.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobs.h.
2939         (WTF):
2940         (ParallelJobs):
2941         (WTF::ParallelJobs::ParallelJobs):
2942         (WTF::ParallelJobs::numberOfJobs):
2943         (WTF::ParallelJobs::parameter):
2944         (WTF::ParallelJobs::execute):
2945         * wtf/ParallelJobsGeneric.cpp: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.cpp.
2946         (WTF):
2947         (WTF::ParallelEnvironment::ParallelEnvironment):
2948         (WTF::ParallelEnvironment::execute):
2949         (WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
2950         (WTF::ParallelEnvironment::ThreadPrivate::execute):
2951         (WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
2952         (WTF::ParallelEnvironment::ThreadPrivate::workerThread):
2953         * wtf/ParallelJobsGeneric.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.h.
2954         (WTF):
2955         (ParallelEnvironment):
2956         (WTF::ParallelEnvironment::numberOfJobs):
2957         (ThreadPrivate):
2958         (WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
2959         (WTF::ParallelEnvironment::ThreadPrivate::create):
2960         * wtf/ParallelJobsLibdispatch.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsLibdispatch.h.
2961         (WTF):
2962         (ParallelEnvironment):
2963         (WTF::ParallelEnvironment::ParallelEnvironment):
2964         (WTF::ParallelEnvironment::numberOfJobs):
2965         (WTF::ParallelEnvironment::execute):
2966         * wtf/ParallelJobsOpenMP.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsOpenMP.h.
2967         (WTF):
2968         (ParallelEnvironment):
2969         (WTF::ParallelEnvironment::ParallelEnvironment):
2970         (WTF::ParallelEnvironment::numberOfJobs):
2971         (WTF::ParallelEnvironment::execute):
2972         * wtf/PassOwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnArrayPtr.h.
2973         (WTF):
2974         (PassOwnArrayPtr):
2975         (WTF::PassOwnArrayPtr::PassOwnArrayPtr):
2976         (WTF::PassOwnArrayPtr::~PassOwnArrayPtr):
2977         (WTF::PassOwnArrayPtr::get):
2978         (WTF::PassOwnArrayPtr::operator*):
2979         (WTF::PassOwnArrayPtr::operator->):
2980         (WTF::PassOwnArrayPtr::operator!):
2981         (WTF::PassOwnArrayPtr::operator UnspecifiedBoolType):
2982         (WTF::PassOwnArrayPtr::operator=):
2983         (WTF::::leakPtr):
2984         (WTF::operator==):
2985         (WTF::operator!=):
2986         (WTF::adoptArrayPtr):
2987         (WTF::deleteOwnedArrayPtr):
2988         (WTF::static_pointer_cast):
2989         (WTF::const_pointer_cast):
2990         (WTF::getPtr):
2991         * wtf/PassOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnPtr.h.
2992         (WTF):
2993         (PassOwnPtr):
2994         (WTF::PassOwnPtr::PassOwnPtr):
2995         (WTF::PassOwnPtr::~PassOwnPtr):
2996         (WTF::PassOwnPtr::get):
2997         (WTF::PassOwnPtr::operator*):
2998         (WTF::PassOwnPtr::operator->):
2999         (WTF::PassOwnPtr::operator!):
3000         (WTF::PassOwnPtr::operator UnspecifiedBoolType):
3001         (WTF::PassOwnPtr::operator=):
3002         (WTF::PassOwnPtr::operator==):
3003         (WTF::PassOwnPtr::operator!=):
3004         (WTF::::leakPtr):
3005         (WTF::operator==):
3006         (WTF::operator!=):
3007         (WTF::adoptPtr):
3008         (WTF::static_pointer_cast):
3009         (WTF::const_pointer_cast):
3010         (WTF::getPtr):
3011         * wtf/PassRefPtr.h: Renamed from Source/JavaScriptCore/wtf/PassRefPtr.h.
3012         (WTF):
3013         (WTF::adopted):
3014         (WTF::refIfNotNull):
3015         (WTF::derefIfNotNull):
3016         (PassRefPtr):
3017         (WTF::PassRefPtr::PassRefPtr):
3018         (WTF::PassRefPtr::~PassRefPtr):
3019         (WTF::PassRefPtr::get):
3020         (WTF::PassRefPtr::operator*):
3021         (WTF::PassRefPtr::operator->):
3022         (WTF::PassRefPtr::operator!):
3023         (WTF::PassRefPtr::operator UnspecifiedBoolType):
3024         (WTF::PassRefPtr::operator=):
3025         (NonNullPassRefPtr):
3026         (WTF::NonNullPassRefPtr::NonNullPassRefPtr):
3027         (WTF::NonNullPassRefPtr::~NonNullPassRefPtr):
3028         (WTF::NonNullPassRefPtr::get):
3029         (WTF::NonNullPassRefPtr::operator*):
3030         (WTF::NonNullPassRefPtr::operator->):
3031         (WTF::NonNullPassRefPtr::operator=):
3032         (WTF::::PassRefPtr):
3033         (WTF::::leakRef):
3034         (WTF::operator==):
3035         (WTF::operator!=):
3036         (WTF::adoptRef):
3037         (WTF::static_pointer_cast):
3038         (WTF::const_pointer_cast):
3039         (WTF::getPtr):
3040         * wtf/PassTraits.h: Renamed from Source/JavaScriptCore/wtf/PassTraits.h.
3041         (WTF):
3042         (PassTraits):
3043         (WTF::PassTraits::transfer):
3044         * wtf/PlatformBlackBerry.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformBlackBerry.cmake.
3045         * wtf/PlatformEfl.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformEfl.cmake.
3046         * wtf/PlatformWinCE.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformWinCE.cmake.
3047         * wtf/PossiblyNull.h: Renamed from Source/JavaScriptCore/wtf/PossiblyNull.h.
3048         (WTF):
3049         (WTF::PossiblyNull::PossiblyNull):
3050         (WTF::PossiblyNull::~PossiblyNull):
3051         (PossiblyNull):
3052         (WTF::::getValue):
3053         * wtf/RandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/RandomNumber.cpp.
3054         (WTF):
3055         (WTF::randomNumber):
3056         * wtf/RandomNumber.h: Renamed from Source/JavaScriptCore/wtf/RandomNumber.h.
3057         (WTF):
3058         * wtf/RandomNumberSeed.h: Renamed from Source/JavaScriptCore/wtf/RandomNumberSeed.h.
3059         (WTF):
3060         (WTF::initializeRandomNumberGenerator):
3061         * wtf/RedBlackTree.h: Renamed from Source/JavaScriptCore/wtf/RedBlackTree.h.
3062         (WTF):
3063         (RedBlackTree):
3064         (Node):
3065         (WTF::RedBlackTree::Node::successor):
3066         (WTF::RedBlackTree::Node::predecessor):
3067         (WTF::RedBlackTree::Node::reset):
3068         (WTF::RedBlackTree::Node::parent):
3069         (WTF::RedBlackTree::Node::setParent):
3070         (WTF::RedBlackTree::Node::left):
3071         (WTF::RedBlackTree::Node::setLeft):
3072         (WTF::RedBlackTree::Node::right):
3073         (WTF::RedBlackTree::Node::setRight):
3074         (WTF::RedBlackTree::Node::color):
3075         (WTF::RedBlackTree::Node::setColor):
3076         (WTF::RedBlackTree::RedBlackTree):
3077         (WTF::RedBlackTree::insert):
3078         (WTF::RedBlackTree::remove):
3079         (WTF::RedBlackTree::findExact):
3080         (WTF::RedBlackTree::findLeastGreaterThanOrEqual):
3081         (WTF::RedBlackTree::findGreatestLessThanOrEqual):
3082         (WTF::RedBlackTree::first):
3083         (WTF::RedBlackTree::last):
3084         (WTF::RedBlackTree::size):
3085         (WTF::RedBlackTree::isEmpty):
3086         (WTF::RedBlackTree::treeMinimum):
3087         (WTF::RedBlackTree::treeMaximum):
3088         (WTF::RedBlackTree::treeInsert):
3089         (WTF::RedBlackTree::leftRotate):
3090         (WTF::RedBlackTree::rightRotate):
3091         (WTF::RedBlackTree::removeFixup):
3092         * wtf/RefCounted.h: Renamed from Source/JavaScriptCore/wtf/RefCounted.h.
3093         (WTF):
3094         (RefCountedBase):
3095         (WTF::RefCountedBase::ref):
3096         (WTF::RefCountedBase::hasOneRef):
3097         (WTF::RefCountedBase::refCount):
3098         (WTF::RefCountedBase::turnOffVerifier):
3099         (WTF::RefCountedBase::relaxAdoptionRequirement):
3100         (WTF::RefCountedBase::addressOfCount):
3101         (WTF::RefCountedBase::RefCountedBase):
3102         (WTF::RefCountedBase::~RefCountedBase):
3103         (WTF::RefCountedBase::derefBase):
3104         (WTF::RefCountedBase::deletionHasBegun):
3105         (WTF::adopted):
3106         (RefCounted):
3107         (WTF::RefCounted::deref):
3108         (WTF::RefCounted::RefCounted):
3109         (WTF::RefCounted::~RefCounted):
3110         (RefCountedCustomAllocated):
3111         (WTF::RefCountedCustomAllocated::deref):
3112         (WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
3113         (WTF::RefCountedBase::setMutexForVerifier):
3114         (WTF::RefCountedBase::setDispatchQueueForVerifier):
3115         * wtf/RefCountedArray.h: Renamed from Source/JavaScriptCore/wtf/RefCountedArray.h.
3116         (WTF):
3117         (RefCountedArray):
3118         (WTF::RefCountedArray::RefCountedArray):
3119         (WTF::RefCountedArray::operator=):
3120         (WTF::RefCountedArray::~RefCountedArray):
3121         (WTF::RefCountedArray::size):
3122         (WTF::RefCountedArray::data):
3123         (WTF::RefCountedArray::begin):
3124         (WTF::RefCountedArray::end):
3125         (WTF::RefCountedArray::at):
3126         (WTF::RefCountedArray::operator[]):
3127         (Header):
3128         (WTF::RefCountedArray::Header::size):
3129         (WTF::RefCountedArray::Header::payload):
3130         (WTF::RefCountedArray::Header::fromPayload):
3131         * wtf/RefCountedLeakCounter.cpp: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.cpp.
3132         (WTF):
3133         (WTF::RefCountedLeakCounter::suppressMessages):
3134         (WTF::RefCountedLeakCounter::cancelMessageSuppression):
3135         (WTF::RefCountedLeakCounter::RefCountedLeakCounter):
3136         (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
3137         (WTF::RefCountedLeakCounter::increment):
3138         (WTF::RefCountedLeakCounter::decrement):
3139         * wtf/RefCountedLeakCounter.h: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.h.
3140         (WTF):
3141         (RefCountedLeakCounter):
3142         * wtf/RefPtr.h: Renamed from Source/JavaScriptCore/wtf/RefPtr.h.
3143         (WTF):
3144         (RefPtr):
3145         (WTF::RefPtr::RefPtr):
3146         (WTF::RefPtr::isHashTableDeletedValue):
3147         (WTF::RefPtr::~RefPtr):
3148         (WTF::RefPtr::get):
3149         (WTF::RefPtr::release):
3150         (WTF::RefPtr::operator*):
3151         (WTF::RefPtr::operator->):
3152         (WTF::RefPtr::operator!):
3153         (WTF::RefPtr::operator UnspecifiedBoolType):
3154         (WTF::RefPtr::operator=):
3155         (WTF::RefPtr::hashTableDeletedValue):
3156         (WTF::::RefPtr):
3157         (WTF::::clear):
3158         (WTF::=):
3159         (WTF::::swap):
3160         (WTF::swap):
3161         (WTF::operator==):
3162         (WTF::operator!=):
3163         (WTF::static_pointer_cast):
3164         (WTF::const_pointer_cast):
3165         (WTF::getPtr):
3166         * wtf/RefPtrHashMap.h: Renamed from Source/JavaScriptCore/wtf/RefPtrHashMap.h.
3167         (WTF):
3168         (WTF::::swap):
3169         (WTF::::size):
3170         (WTF::::capacity):
3171         (WTF::::isEmpty):
3172         (WTF::::begin):
3173         (WTF::::end):
3174         (WTF::::find):
3175         (WTF::::contains):
3176         (WTF::::inlineAdd):
3177         (WTF::::set):
3178         (WTF::::add):
3179         (WTF::::get):
3180         (WTF::::inlineGet):
3181         (WTF::::remove):
3182         (WTF::::clear):
3183         (WTF::::take):
3184         * wtf/RetainPtr.h: Renamed from Source/JavaScriptCore/wtf/RetainPtr.h.
3185         (WTF):
3186         (WTF::adoptNSReference):
3187         (RetainPtr):
3188         (WTF::RetainPtr::RetainPtr):
3189         (WTF::RetainPtr::isHashTableDeletedValue):
3190         (WTF::RetainPtr::~RetainPtr):
3191         (WTF::RetainPtr::get):
3192         (WTF::RetainPtr::operator->):
3193         (WTF::RetainPtr::operator!):
3194         (WTF::RetainPtr::operator UnspecifiedBoolType):
3195         (WTF::RetainPtr::operator=):
3196         (WTF::RetainPtr::hashTableDeletedValue):
3197         (WTF::::RetainPtr):
3198         (WTF::::clear):
3199         (WTF::::leakRef):
3200         (WTF::=):
3201         (WTF::::adoptCF):
3202         (WTF::::adoptNS):
3203         (WTF::::swap):
3204         (WTF::swap):
3205         (WTF::operator==):
3206         (WTF::operator!=):
3207         (WTF::adoptCF):
3208         (WTF::adoptNS):
3209         (WTF::retainPtr):
3210         * wtf/SHA1.cpp: Renamed from Source/JavaScriptCore/wtf/SHA1.cpp.
3211         (WTF):
3212         (WTF::testSHA1):
3213         (WTF::expectSHA1):
3214         (WTF::f):
3215         (WTF::k):
3216         (WTF::rotateLeft):
3217         (WTF::SHA1::SHA1):
3218         (WTF::SHA1::addBytes):
3219         (WTF::SHA1::computeHash):
3220         (WTF::SHA1::finalize):
3221         (WTF::SHA1::processBlock):
3222         (WTF::SHA1::reset):
3223         * wtf/SHA1.h: Renamed from Source/JavaScriptCore/wtf/SHA1.h.
3224         (WTF):
3225         (SHA1):
3226         (WTF::SHA1::addBytes):
3227         * wtf/SegmentedVector.h: Renamed from Source/JavaScriptCore/wtf/SegmentedVector.h.
3228         (WTF):
3229         (SegmentedVectorIterator):
3230         (WTF::SegmentedVectorIterator::~SegmentedVectorIterator):
3231         (WTF::SegmentedVectorIterator::operator*):
3232         (WTF::SegmentedVectorIterator::operator->):
3233         (WTF::SegmentedVectorIterator::operator++):
3234         (WTF::SegmentedVectorIterator::operator==):
3235         (WTF::SegmentedVectorIterator::operator!=):
3236         (WTF::SegmentedVectorIterator::operator=):
3237         (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
3238         (SegmentedVector):
3239         (WTF::SegmentedVector::SegmentedVector):
3240         (WTF::SegmentedVector::~SegmentedVector):
3241         (WTF::SegmentedVector::size):
3242         (WTF::SegmentedVector::isEmpty):
3243         (WTF::SegmentedVector::at):
3244         (WTF::SegmentedVector::operator[]):
3245         (WTF::SegmentedVector::last):
3246         (WTF::SegmentedVector::append):
3247         (WTF::SegmentedVector::alloc):
3248         (WTF::SegmentedVector::removeLast):
3249         (WTF::SegmentedVector::grow):
3250         (WTF::SegmentedVector::clear):
3251         (WTF::SegmentedVector::begin):
3252         (WTF::SegmentedVector::end):
3253         (WTF::SegmentedVector::deleteAllSegments):
3254         (WTF::SegmentedVector::segmentExistsFor):
3255         (WTF::SegmentedVector::segmentFor):
3256         (WTF::SegmentedVector::subscriptFor):
3257         (WTF::SegmentedVector::ensureSegmentsFor):
3258         (WTF::SegmentedVector::ensureSegment):
3259         * wtf/SentinelLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SentinelLinkedList.h.
3260         (WTF):
3261         (BasicRawSentinelNode):
3262         (WTF::BasicRawSentinelNode::BasicRawSentinelNode):
3263         (WTF::BasicRawSentinelNode::setPrev):
3264         (WTF::BasicRawSentinelNode::setNext):
3265         (WTF::BasicRawSentinelNode::prev):
3266         (WTF::BasicRawSentinelNode::next):
3267         (WTF::BasicRawSentinelNode::isOnList):
3268         (SentinelLinkedList):
3269         (WTF::SentinelLinkedList::isEmpty):
3270         (WTF::::remove):
3271         (WTF::::SentinelLinkedList):
3272         (WTF::::begin):
3273         (WTF::::end):
3274         (WTF::::push):
3275         * wtf/SimpleStats.h: Renamed from Source/JavaScriptCore/wtf/SimpleStats.h.
3276         (WTF):
3277         (SimpleStats):
3278         (WTF::SimpleStats::SimpleStats):
3279         (WTF::SimpleStats::add):
3280         (WTF::SimpleStats::operator!):
3281         (WTF::SimpleStats::count):
3282         (WTF::SimpleStats::sum):
3283         (WTF::SimpleStats::sumOfSquares):
3284         (WTF::SimpleStats::mean):
3285         (WTF::SimpleStats::variance):
3286         (WTF::SimpleStats::standardDeviation):
3287         * wtf/SinglyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SinglyLinkedList.h.
3288         (WTF):
3289         (SinglyLinkedList):
3290         (WTF::::SinglyLinkedList):
3291         (WTF::::isEmpty):
3292         (WTF::::push):
3293         (WTF::::pop):
3294         * wtf/SizeLimits.cpp: Renamed from Source/JavaScriptCore/wtf/SizeLimits.cpp.
3295         (WTF):
3296         (SameSizeAsRefCounted):
3297         * wtf/Spectrum.h: Renamed from Source/JavaScriptCore/wtf/Spectrum.h.
3298         (WTF):
3299         (Spectrum):
3300         (WTF::Spectrum::Spectrum):
3301         (WTF::Spectrum::add):
3302         (WTF::Spectrum::get):
3303         (WTF::Spectrum::begin):
3304         (WTF::Spectrum::end):
3305         (WTF::Spectrum::KeyAndCount::KeyAndCount):
3306         (KeyAndCount):
3307         (WTF::Spectrum::KeyAndCount::operator<):
3308         (WTF::Spectrum::buildList):
3309         * wtf/StackBounds.cpp: Renamed from Source/JavaScriptCore/wtf/StackBounds.cpp.
3310         (WTF):
3311         (WTF::estimateStackBound):
3312         (WTF::StackBounds::initialize):
3313         (WTF::detectGrowingDownward):
3314         (WTF::isPageWritable):
3315         (WTF::getLowerStackBound):
3316         (WTF::getUpperStackBound):
3317         * wtf/StackBounds.h: Renamed from Source/JavaScriptCore/wtf/StackBounds.h.
3318         (WTF):
3319         (StackBounds):
3320         (WTF::StackBounds::StackBounds):
3321         (WTF::StackBounds::currentThreadStackBounds):
3322         (WTF::StackBounds::origin):
3323         (WTF::StackBounds::current):
3324         (WTF::StackBounds::recursionLimit):
3325         (WTF::StackBounds::recursionCheck):
3326         (WTF::StackBounds::isGrowingDownward):
3327         (WTF::StackBounds::checkConsistency):
3328         * wtf/StaticConstructors.h: Renamed from Source/JavaScriptCore/wtf/StaticConstructors.h.
3329         * wtf/StdLibExtras.h: Renamed from Source/JavaScriptCore/wtf/StdLibExtras.h.
3330         (isPointerTypeAlignmentOkay):
3331         (reinterpret_cast_ptr):
3332         (WTF):
3333         (WTF::isPointerAligned):
3334         (WTF::is8ByteAligned):
3335         (WTF::bitwise_cast):
3336         (WTF::safeCast):
3337         (WTF::bitCount):
3338         (WTF::roundUpToMultipleOf):
3339         (WTF::binarySearch):
3340         (WTF::binarySearchWithFunctor):
3341         (WTF::genericBinarySearch):
3342         (operator new):
3343         * wtf/StringExtras.cpp: Renamed from Source/JavaScriptCore/wtf/StringExtras.cpp.
3344         (strcasecmp):
3345         (strncasecmp):
3346         * wtf/StringExtras.h: Renamed from Source/JavaScriptCore/wtf/StringExtras.h.
3347         (snprintf):
3348         (wtf_vsnprintf):
3349         (strnicmp):
3350         (stricmp):
3351         (strdup):
3352         (strncasecmp):
3353         (strcasecmp):
3354         (strnstr):
3355         * wtf/StringHasher.h: Renamed from Source/JavaScriptCore/wtf/StringHasher.h.
3356         (WTF):
3357         (StringHasher):
3358         (WTF::StringHasher::StringHasher):
3359         (WTF::StringHasher::addCharacters):
3360         (WTF::StringHasher::addCharacter):
3361         (WTF::StringHasher::hash):
3362         (WTF::StringHasher::computeHash):
3363         (WTF::StringHasher::hashMemory):
3364         (WTF::StringHasher::defaultConverter):
3365         (WTF::StringHasher::addCharactersToHash):
3366         * wtf/TCPackedCache.h: Renamed from Source/JavaScriptCore/wtf/TCPackedCache.h.
3367         (PackedCache):
3368         (PackedCache::PackedCache):
3369         (PackedCache::Put):
3370         (PackedCache::Has):
3371         (PackedCache::GetOrDefault):
3372         (PackedCache::Clear):
3373         (PackedCache::EntryToValue):
3374         (PackedCache::EntryToUpper):
3375         (PackedCache::KeyToUpper):
3376         (PackedCache::UpperToPartialKey):
3377         (PackedCache::Hash):
3378         (PackedCache::KeyMatch):
3379         * wtf/TCPageMap.h: Renamed from Source/JavaScriptCore/wtf/TCPageMap.h.
3380         (TCMalloc_PageMap1):
3381         (TCMalloc_PageMap1::init):
3382         (TCMalloc_PageMap1::Ensure):
3383         (TCMalloc_PageMap1::PreallocateMoreMemory):
3384         (TCMalloc_PageMap1::get):
3385         (TCMalloc_PageMap1::set):
3386         (TCMalloc_PageMap2):
3387         (Leaf):
3388         (TCMalloc_PageMap2::init):
3389         (TCMalloc_PageMap2::get):
3390         (TCMalloc_PageMap2::set):
3391         (TCMalloc_PageMap2::Ensure):
3392         (TCMalloc_PageMap2::PreallocateMoreMemory):
3393         (TCMalloc_PageMap2::visitValues):
3394         (TCMalloc_PageMap2::visitAllocations):
3395         (TCMalloc_PageMap3):
3396         (Node):
3397         (TCMalloc_PageMap3::NewNode):
3398         (TCMalloc_PageMap3::init):
3399         (TCMalloc_PageMap3::get):
3400         (TCMalloc_PageMap3::set):
3401         (TCMalloc_PageMap3::Ensure):
3402         (TCMalloc_PageMap3::PreallocateMoreMemory):
3403         (TCMalloc_PageMap3::visitValues):
3404         (TCMalloc_PageMap3::visitAllocations):
3405         * wtf/TCSpinLock.h: Renamed from Source/JavaScriptCore/wtf/TCSpinLock.h.
3406         (TCMalloc_SpinLock):
3407         (TCMalloc_SpinLock::Lock):
3408         (TCMalloc_SpinLock::Unlock):
3409         (TCMalloc_SpinLock::IsHeld):
3410         (TCMalloc_SpinLock::Init):
3411         (TCMalloc_SpinLock::Finalize):
3412         (TCMalloc_SlowLock):
3413         (TCMalloc_SpinLockHolder):
3414         (TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
3415         (TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
3416         * wtf/TCSystemAlloc.cpp: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.cpp.
3417         (TrySbrk):
3418         (TryMmap):
3419         (TryVirtualAlloc):
3420         (TryDevMem):
3421         (TCMalloc_SystemAlloc):
3422         (TCMalloc_SystemRelease):
3423         (TCMalloc_SystemCommit):
3424         * wtf/TCSystemAlloc.h: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.h.
3425         (TCMalloc_SystemRelease):
3426         (TCMalloc_SystemCommit):
3427         * wtf/TemporaryChange.h: Renamed from Source/JavaScriptCore/wtf/TemporaryChange.h.
3428         (WTF):
3429         (TemporaryChange):
3430         (WTF::TemporaryChange::TemporaryChange):
3431         (WTF::TemporaryChange::~TemporaryChange):
3432         * wtf/ThreadFunctionInvocation.h: Renamed from Source/JavaScriptCore/wtf/ThreadFunctionInvocation.h.
3433         (WTF):
3434         (WTF::ThreadFunctionInvocation::ThreadFunctionInvocation):
3435         (ThreadFunctionInvocation):
3436         * wtf/ThreadIdentifierDataPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp.
3437         (WTF):
3438         (WTF::ThreadIdentifierData::~ThreadIdentifierData):
3439         (WTF::ThreadIdentifierData::initializeOnce):
3440         (WTF::ThreadIdentifierData::identifier):
3441         (WTF::ThreadIdentifierData::initialize):
3442         (WTF::ThreadIdentifierData::destruct):
3443         * wtf/ThreadIdentifierDataPthreads.h: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h.
3444         (WTF):
3445         (ThreadIdentifierData):
3446         (WTF::ThreadIdentifierData::ThreadIdentifierData):
3447         * wtf/ThreadRestrictionVerifier.h: Renamed from Source/JavaScriptCore/wtf/ThreadRestrictionVerifier.h.
3448         (WTF):
3449         (ThreadRestrictionVerifier):
3450         (WTF::ThreadRestrictionVerifier::ThreadRestrictionVerifier):
3451         (WTF::ThreadRestrictionVerifier::~ThreadRestrictionVerifier):
3452         (WTF::ThreadRestrictionVerifier::setMutexMode):
3453         (WTF::ThreadRestrictionVerifier::setDispatchQueueMode):
3454         (WTF::ThreadRestrictionVerifier::turnOffVerification):
3455         (WTF::ThreadRestrictionVerifier::setShared):
3456         (WTF::ThreadRestrictionVerifier::isSafeToUse):
3457         * wtf/ThreadSafeRefCounted.h: Renamed from Source/JavaScriptCore/wtf/ThreadSafeRefCounted.h.
3458         (WTF):
3459         (ThreadSafeRefCountedBase):
3460         (WTF::ThreadSafeRefCountedBase::ThreadSafeRefCountedBase):
3461         (WTF::ThreadSafeRefCountedBase::ref):
3462         (WTF::ThreadSafeRefCountedBase::hasOneRef):
3463         (WTF::ThreadSafeRefCountedBase::refCount):
3464         (WTF::ThreadSafeRefCountedBase::derefBase):
3465         (ThreadSafeRefCounted):
3466         (WTF::ThreadSafeRefCounted::deref):
3467         (WTF::ThreadSafeRefCounted::ThreadSafeRefCounted):
3468         * wtf/ThreadSpecific.h: Renamed from Source/JavaScriptCore/wtf/ThreadSpecific.h.
3469         (WTF):
3470         (ThreadSpecific):
3471         (Data):
3472         (WTF::ThreadSpecific::Data::Data):
3473         (WTF::::ThreadSpecific):
3474         (WTF::::get):
3475         (WTF::::set):
3476         (WTF::::~ThreadSpecific):
3477         (WTF::::destroy):
3478         (WTF::::isSet):
3479         (WTF::T):
3480         (WTF::::operator):
3481         * wtf/ThreadSpecificWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadSpecificWin.cpp.
3482         (WTF):
3483         (WTF::tlsKeyCount):
3484         (WTF::tlsKeys):
3485         (WTF::ThreadSpecificThreadExit):
3486         * wtf/Threading.cpp: Renamed from Source/JavaScriptCore/wtf/Threading.cpp.
3487         (WTF):
3488         (NewThreadContext):
3489         (WTF::NewThreadContext::NewThreadContext):
3490         (WTF::threadEntryPoint):
3491         (WTF::createThread):
3492         (WTF::ThreadFunctionWithReturnValueInvocation::ThreadFunctionWithReturnValueInvocation):
3493         (ThreadFunctionWithReturnValueInvocation):
3494         (WTF::compatEntryPoint):
3495         (WTF::waitForThreadCompletion):
3496         * wtf/Threading.h: Renamed from Source/JavaScriptCore/wtf/Threading.h.
3497         (WTF):
3498         * wtf/ThreadingNone.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingNone.cpp.
3499         * wtf/ThreadingPrimitives.h: Renamed from Source/JavaScriptCore/wtf/ThreadingPrimitives.h.
3500         (WTF):
3501         (PlatformMutex):
3502         (PlatformCondition):
3503         (Mutex):
3504         (WTF::Mutex::impl):
3505         (ReadWriteLock):
3506         (ThreadCondition):
3507         * wtf/ThreadingPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingPthreads.cpp.
3508         (WTF):
3509         (WTF::threadMapMutex):
3510         (WTF::initializeThreading):
3511         (WTF::lockAtomicallyInitializedStaticMutex):
3512         (WTF::unlockAtomicallyInitializedStaticMutex):
3513         (WTF::threadMap):
3514         (WTF::identifierByPthreadHandle):
3515         (WTF::establishIdentifierForPthreadHandle):
3516         (WTF::pthreadHandleForIdentifier):
3517         (WTF::clearPthreadHandleForIdentifier):
3518         (WTF::wtfThreadEntryPoint):
3519         (WTF::createThreadInternal):
3520         (WTF::initializeCurrentThreadInternal):
3521         (WTF::waitForThreadCompletion):
3522         (WTF::detachThread):
3523         (WTF::yield):
3524         (WTF::currentThread):
3525         (WTF::Mutex::Mutex):
3526         (WTF::Mutex::~Mutex):
3527         (WTF::Mutex::lock):
3528         (WTF::Mutex::tryLock):
3529         (WTF::Mutex::unlock):
3530         (WTF::ReadWriteLock::ReadWriteLock):
3531         (WTF::ReadWriteLock::~ReadWriteLock):
3532         (WTF::ReadWriteLock::readLock):
3533         (WTF::ReadWriteLock::tryReadLock):
3534         (WTF::ReadWriteLock::writeLock):
3535         (WTF::ReadWriteLock::tryWriteLock):
3536         (WTF::ReadWriteLock::unlock):
3537         (WTF::ThreadCondition::ThreadCondition):
3538         (WTF::ThreadCondition::~ThreadCondition):
3539         (WTF::ThreadCondition::wait):
3540         (WTF::ThreadCondition::timedWait):
3541         (WTF::ThreadCondition::signal):
3542         (WTF::ThreadCondition::broadcast):
3543         * wtf/ThreadingWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingWin.cpp.
3544         (WTF):
3545         (tagTHREADNAME_INFO):
3546         (WTF::initializeCurrentThreadInternal):
3547         (WTF::lockAtomicallyInitializedStaticMutex):
3548         (WTF::unlockAtomicallyInitializedStaticMutex):
3549         (WTF::threadMapMutex):
3550         (WTF::initializeThreading):
3551         (WTF::threadMap):
3552         (WTF::storeThreadHandleByIdentifier):
3553         (WTF::threadHandleForIdentifier):
3554         (WTF::clearThreadHandleForIdentifier):
3555         (WTF::wtfThreadEntryPoint):
3556         (WTF::createThreadInternal):
3557         (WTF::waitForThreadCompletion):
3558         (WTF::detachThread):
3559         (WTF::yield):
3560         (WTF::currentThread):
3561         (WTF::Mutex::Mutex):
3562         (WTF::Mutex::~Mutex):
3563         (WTF::Mutex::lock):
3564         (WTF::Mutex::tryLock):
3565         (WTF::Mutex::unlock):
3566         (WTF::PlatformCondition::timedWait):
3567         (WTF::PlatformCondition::signal):
3568         (WTF::ThreadCondition::ThreadCondition):
3569         (WTF::ThreadCondition::~ThreadCondition):
3570         (WTF::ThreadCondition::wait):
3571         (WTF::ThreadCondition::timedWait):
3572         (WTF::ThreadCondition::signal):
3573         (WTF::ThreadCondition::broadcast):
3574         (WTF::absoluteTimeToWaitTimeoutInterval):
3575         * wtf/TypeTraits.cpp: Renamed from Source/JavaScriptCore/wtf/TypeTraits.cpp.
3576         (WTF):
3577         * wtf/TypeTraits.h: Renamed from Source/JavaScriptCore/wtf/TypeTraits.h.
3578         (WTF):
3579         (IsConvertibleToInteger):
3580         (IsArray):
3581         (IsSameType):
3582         (IsSubclass):
3583         (NoType):
3584         (IsSubclassOfTemplate):
3585         (RemoveTemplate):
3586         (RemoveConst):
3587         (RemoveVolatile):
3588         (RemoveConstVolatile):
3589         (RemovePointer):
3590         (RemoveReference):
3591         (RemoveExtent):
3592         (DecayArray):
3593         (IntegralConstant):
3594         * wtf/TypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/TypedArrayBase.h.
3595         (WTF):
3596         (TypedArrayBase):
3597         (WTF::TypedArrayBase::data):
3598         (WTF::TypedArrayBase::set):
3599         (WTF::TypedArrayBase::setRange):
3600         (WTF::TypedArrayBase::zeroRange):
3601         (WTF::TypedArrayBase::length):
3602         (WTF::TypedArrayBase::byteLength):
3603         (WTF::TypedArrayBase::TypedArrayBase):
3604         (WTF::TypedArrayBase::create):
3605         (WTF::TypedArrayBase::subarrayImpl):
3606         (WTF::TypedArrayBase::neuter):
3607         * wtf/Uint16Array.h: Renamed from Source/JavaScriptCore/wtf/Uint16Array.h.
3608         (WTF):
3609         (Uint16Array):
3610         (WTF::Uint16Array::set):
3611         (WTF::Uint16Array::isUnsignedShortArray):
3612         (WTF::Uint16Array::create):
3613         (WTF::Uint16Array::Uint16Array):
3614         (WTF::Uint16Array::subarray):
3615         * wtf/Uint32Array.h: Renamed from Source/JavaScriptCore/wtf/Uint32Array.h.
3616         (WTF):
3617         (Uint32Array):
3618         (WTF::Uint32Array::set):
3619         (WTF::Uint32Array::isUnsignedIntArray):
3620         (WTF::Uint32Array::create):
3621         (WTF::Uint32Array::Uint32Array):
3622         (WTF::Uint32Array::subarray):
3623         * wtf/Uint8Array.h: Renamed from Source/JavaScriptCore/wtf/Uint8Array.h.
3624         (WTF):
3625         (Uint8Array):
3626         (WTF::Uint8Array::set):
3627         (WTF::Uint8Array::isUnsignedByteArray):
3628         (WTF::Uint8Array::create):
3629         (WTF::Uint8Array::Uint8Array):
3630         (WTF::Uint8Array::subarray):
3631         * wtf/Uint8ClampedArray.h: Renamed from Source/JavaScriptCore/wtf/Uint8ClampedArray.h.
3632         (WTF):
3633         (Uint8ClampedArray):
3634         (WTF::Uint8ClampedArray::set):
3635         (WTF::Uint8ClampedArray::isUnsignedByteClampedArray):
3636         (WTF::Uint8ClampedArray::create):
3637         (WTF::Uint8ClampedArray::Uint8ClampedArray):
3638         (WTF::Uint8ClampedArray::subarray):
3639         * wtf/UnionFind.h: Renamed from Source/JavaScriptCore/wtf/UnionFind.h.
3640         (WTF):
3641         (UnionFind):
3642         (WTF::UnionFind::UnionFind):
3643         (WTF::UnionFind::find):
3644         (WTF::UnionFind::unify):
3645         * wtf/UnusedParam.h: Renamed from Source/JavaScriptCore/wtf/UnusedParam.h.
3646         (unusedParam):
3647         * wtf/VMTags.h: Renamed from Source/JavaScriptCore/wtf/VMTags.h.
3648         * wtf/ValueCheck.h: Renamed from Source/JavaScriptCore/wtf/ValueCheck.h.
3649         (WTF):
3650         (ValueCheck):
3651         (WTF::ValueCheck::checkConsistency):
3652         * wtf/Vector.h: Renamed from Source/JavaScriptCore/wtf/Vector.h.
3653         (WTF):
3654         (WTF::VectorTypeOperations::destruct):
3655         (VectorTypeOperations):
3656         (WTF::VectorTypeOperations::initialize):
3657         (WTF::VectorTypeOperations::move):
3658         (WTF::VectorTypeOperations::moveOverlapping):
3659         (WTF::VectorTypeOperations::uninitializedCopy):
3660         (WTF::VectorTypeOperations::uninitializedFill):
3661         (WTF::VectorTypeOperations::compare):
3662         (VectorBufferBase):
3663         (WTF::VectorBufferBase::allocateBuffer):
3664         (WTF::VectorBufferBase::tryAllocateBuffer):
3665         (WTF::VectorBufferBase::deallocateBuffer):
3666         (WTF::VectorBufferBase::buffer):
3667         (WTF::VectorBufferBase::bufferSlot):
3668         (WTF::VectorBufferBase::capacity):
3669         (WTF::VectorBufferBase::releaseBuffer):
3670         (WTF::VectorBufferBase::VectorBufferBase):
3671         (WTF::VectorBufferBase::~VectorBufferBase):
3672         (VectorBuffer):
3673         (WTF::VectorBuffer::VectorBuffer):
3674         (WTF::VectorBuffer::~VectorBuffer):
3675         (WTF::VectorBuffer::allocateBuffer):
3676         (WTF::VectorBuffer::tryAllocateBuffer):
3677         (WTF::VectorBuffer::deallocateBuffer):
3678         (WTF::VectorBuffer::swap):
3679         (WTF::VectorBuffer::restoreInlineBufferIfNeeded):
3680         (WTF::VectorBuffer::releaseBuffer):
3681         (WTF::VectorBuffer::inlineBuffer):
3682         (Vector):
3683         (WTF::Vector::Vector):
3684         (WTF::Vector::~Vector):
3685         (WTF::Vector::size):
3686         (WTF::Vector::capacity):
3687         (WTF::Vector::isEmpty):
3688         (WTF::Vector::at):
3689         (WTF::Vector::operator[]):
3690         (WTF::Vector::data):
3691         (WTF::Vector::dataSlot):
3692         (WTF::Vector::begin):
3693         (WTF::Vector::end):
3694         (WTF::Vector::rbegin):
3695         (WTF::Vector::rend):
3696         (WTF::Vector::reversed):
3697         (WTF::Vector::first):
3698         (WTF::Vector::last):
3699         (WTF::Vector::shrinkToFit):
3700         (WTF::Vector::clear):
3701         (WTF::Vector::removeLast):
3702         (WTF::Vector::fill):
3703         (WTF::Vector::swap):
3704         (VectorReverseProxy):
3705         (WTF::Vector::VectorReverseProxy::begin):
3706         (WTF::Vector::VectorReverseProxy::end):
3707         (WTF::operator<<):
3708         (WTF::operator>>):
3709         (WTF::::Vector):
3710         (WTF::=):
3711         (WTF::typelessPointersAreEqual):
3712         (WTF::::contains):
3713         (WTF::::find):
3714         (WTF::::reverseFind):
3715         (WTF::::fill):
3716         (WTF::::appendRange):
3717         (WTF::::expandCapacity):
3718         (WTF::::tryExpandCapacity):
3719         (WTF::::resize):
3720         (WTF::::shrink):
3721         (WTF::::grow):
3722         (WTF::::reserveCapacity):
3723         (WTF::::tryReserveCapacity):
3724         (WTF::::reserveInitialCapacity):
3725         (WTF::::shrinkCapacity):
3726         (WTF::::append):
3727         (WTF::::tryAppend):
3728         (WTF::::appendSlowCase):
3729         (WTF::::uncheckedAppend):
3730         (WTF::::insert):
3731         (WTF::::prepend):
3732         (WTF::::remove):
3733         (WTF::::reverse):
3734         (WTF::::releaseBuffer):
3735         (WTF::::checkConsistency):
3736         (WTF::deleteAllValues):
3737         (WTF::swap):
3738         (WTF::operator==):
3739         (WTF::operator!=):
3740         * wtf/VectorTraits.h: Renamed from Source/JavaScriptCore/wtf/VectorTraits.h.
3741         (WTF):
3742         (SimpleClassVectorTraits):
3743         * wtf/WTFThreadData.cpp: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.cpp.
3744         (WTF):
3745         (WTF::WTFThreadData::WTFThreadData):
3746         (WTF::WTFThreadData::~WTFThreadData):
3747         (JSC):
3748         (JSC::IdentifierTable::~IdentifierTable):
3749         (JSC::IdentifierTable::add):
3750         * wtf/WTFThreadData.h: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.h.
3751         (JSC):
3752         (IdentifierTable):
3753         (JSC::IdentifierTable::remove):
3754         (JSC::IdentifierTable::literalTable):
3755         (WTF):
3756         (WTFThreadData):
3757         (WTF::WTFThreadData::atomicStringTable):
3758         (WTF::WTFThreadData::currentIdentifierTable):
3759         (WTF::WTFThreadData::setCurrentIdentifierTable):
3760         (WTF::WTFThreadData::resetCurrentIdentifierTable):
3761         (WTF::WTFThreadData::stack):
3762         (WTF::wtfThreadData):
3763         * wtf/blackberry/MainThreadBlackBerry.cpp: Renamed from Source/JavaScriptCore/wtf/blackberry/MainThreadBlackBerry.cpp.
3764         (WTF):
3765         (WTF::initializeMainThreadPlatform):
3766         (WTF::scheduleDispatchFunctionsOnMainThread):
3767         * wtf/chromium/ChromiumThreading.h: Renamed from Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h.
3768         (WTF):
3769         (ChromiumThreading):
3770         * wtf/chromium/MainThreadChromium.cpp: Renamed from Source/JavaScriptCore/wtf/chromium/MainThreadChromium.cpp.
3771         (WTF):
3772         (WTF::initializeMainThread):
3773         (WTF::callOnMainThread):
3774         (WTF::callOnMainThreadAndWait):
3775         (WTF::setMainThreadCallbacksPaused):
3776         (WTF::isMainThread):
3777         * wtf/dtoa.cpp: Renamed from Source/JavaScriptCore/wtf/dtoa.cpp.
3778         (WTF):
3779         (WTF::storeInc):
3780         (WTF::BigInt::BigInt):
3781         (BigInt):
3782         (WTF::BigInt::clear):
3783         (WTF::BigInt::size):
3784         (WTF::BigInt::resize):
3785         (WTF::BigInt::words):
3786         (WTF::BigInt::append):
3787         (WTF::multadd):
3788         (WTF::hi0bits):
3789         (WTF::lo0bits):
3790         (WTF::i2b):
3791         (WTF::mult):
3792         (P5Node):
3793         (WTF::P5Node::P5Node):
3794         (WTF::pow5mult):
3795         (WTF::lshift):
3796         (WTF::cmp):
3797         (WTF::diff):
3798         (WTF::d2b):
3799         (WTF::strtod):
3800         (WTF::quorem):
3801         (WTF::dtoa):
3802         * wtf/dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa.h.
3803         (WTF):
3804         * wtf/dtoa/COPYING: Renamed from Source/JavaScriptCore/wtf/dtoa/COPYING.
3805         * wtf/dtoa/LICENSE: Renamed from Source/JavaScriptCore/wtf/dtoa/LICENSE.
3806         * wtf/dtoa/README: Renamed from Source/JavaScriptCore/wtf/dtoa/README.
3807         * wtf/dtoa/bignum-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.cc.
3808         * wtf/dtoa/bignum-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.h.
3809         (WTF):
3810         (double_conversion):
3811         * wtf/dtoa/bignum.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.cc.
3812         * wtf/dtoa/bignum.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.h.
3813         (WTF):
3814         (double_conversion):
3815         (Bignum):
3816         (WTF::double_conversion::Bignum::Times10):
3817         (WTF::double_conversion::Bignum::Equal):
3818         (WTF::double_conversion::Bignum::LessEqual):
3819         (WTF::double_conversion::Bignum::Less):
3820         (WTF::double_conversion::Bignum::PlusEqual):
3821         (WTF::double_conversion::Bignum::PlusLessEqual):
3822         (WTF::double_conversion::Bignum::PlusLess):
3823         (WTF::double_conversion::Bignum::EnsureCapacity):
3824         (WTF::double_conversion::Bignum::BigitLength):
3825         * wtf/dtoa/cached-powers.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.cc.
3826         * wtf/dtoa/cached-powers.h: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.h.
3827         (WTF):
3828         (double_conversion):
3829         (PowersOfTenCache):
3830         * wtf/dtoa/diy-fp.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.cc.
3831         * wtf/dtoa/diy-fp.h: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.h.
3832         (WTF):
3833         (double_conversion):
3834         (DiyFp):
3835         (WTF::double_conversion::DiyFp::DiyFp):
3836         (WTF::double_conversion::DiyFp::Subtract):
3837         (WTF::double_conversion::DiyFp::Minus):
3838         (WTF::double_conversion::DiyFp::Times):
3839         (WTF::double_conversion::DiyFp::Normalize):
3840         (WTF::double_conversion::DiyFp::f):
3841         (WTF::double_conversion::DiyFp::e):
3842         (WTF::double_conversion::DiyFp::set_f):
3843         (WTF::double_conversion::DiyFp::set_e):
3844         * wtf/dtoa/double-conversion.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.cc.
3845         * wtf/dtoa/double-conversion.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.h.
3846         (WTF):
3847         (double_conversion):
3848         (DoubleToStringConverter):
3849         (WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
3850         (StringToDoubleConverter):
3851         (WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
3852         * wtf/dtoa/double.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double.h.
3853         (WTF):
3854         (double_conversion):
3855         (WTF::double_conversion::double_to_uint64):
3856         (WTF::double_conversion::uint64_to_double):
3857         (Double):
3858         (WTF::double_conversion::Double::Double):
3859         (WTF::double_conversion::Double::AsDiyFp):
3860         (WTF::double_conversion::Double::AsNormalizedDiyFp):
3861         (WTF::double_conversion::Double::AsUint64):
3862         (WTF::double_conversion::Double::NextDouble):
3863         (WTF::double_conversion::Double::Exponent):
3864         (WTF::double_conversion::Double::Significand):
3865         (WTF::double_conversion::Double::IsDenormal):
3866         (WTF::double_conversion::Double::IsSpecial):
3867         (WTF::double_conversion::Double::IsNan):
3868         (WTF::double_conversion::Double::IsInfinite):
3869         (WTF::double_conversion::Double::Sign):
3870         (WTF::double_conversion::Double::UpperBoundary):
3871         (WTF::double_conversion::Double::NormalizedBoundaries):
3872         (WTF::double_conversion::Double::value):
3873         (WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
3874         (WTF::double_conversion::Double::Infinity):
3875         (WTF::double_conversion::Double::NaN):
3876         (WTF::double_conversion::Double::DiyFpToUint64):
3877         * wtf/dtoa/fast-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.cc.
3878         * wtf/dtoa/fast-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.h.
3879         (WTF):
3880         (double_conversion):
3881         * wtf/dtoa/fixed-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.cc.
3882         * wtf/dtoa/fixed-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.h.
3883         (WTF):
3884         (double_conversion):
3885         * wtf/dtoa/strtod.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.cc.
3886         * wtf/dtoa/strtod.h: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.h.
3887         (WTF):
3888         (double_conversion):
3889         * wtf/dtoa/utils.h: Renamed from Source/JavaScriptCore/wtf/dtoa/utils.h.
3890         (WTF):
3891         (double_conversion):
3892         (WTF::double_conversion::Max):
3893         (WTF::double_conversion::Min):
3894         (WTF::double_conversion::StrLength):
3895         (Vector):
3896         (WTF::double_conversion::Vector::Vector):
3897         (WTF::double_conversion::Vector::SubVector):
3898         (WTF::double_conversion::Vector::length):
3899         (WTF::double_conversion::Vector::is_empty):
3900         (WTF::double_conversion::Vector::start):
3901         (WTF::double_conversion::Vector::operator[]):
3902         (WTF::double_conversion::Vector::first):
3903         (WTF::double_conversion::Vector::last):
3904         (StringBuilder):
3905         (WTF::double_conversion::StringBuilder::StringBuilder):
3906         (WTF::double_conversion::StringBuilder::~StringBuilder):
3907         (WTF::double_conversion::StringBuilder::size):
3908         (WTF::double_conversion::StringBuilder::position):
3909         (WTF::double_conversion::StringBuilder::SetPosition):
3910         (WTF::double_conversion::StringBuilder::Reset):
3911         (WTF::double_conversion::StringBuilder::AddCharacter):
3912         (WTF::double_conversion::StringBuilder::AddString):
3913         (WTF::double_conversion::StringBuilder::AddSubstring):
3914         (WTF::double_conversion::StringBuilder::AddPadding):
3915         (WTF::double_conversion::StringBuilder::Finalize):
3916         (WTF::double_conversion::StringBuilder::is_finalized):
3917         (WTF::double_conversion::BitCast):
3918         * wtf/efl/MainThreadEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/MainThreadEfl.cpp.
3919         (WTF):
3920         (WTF::pipeObject):
3921         (WTF::monitorDispatchFunctions):
3922         (WTF::initializeMainThreadPlatform):
3923         (WTF::scheduleDispatchFunctionsOnMainThread):
3924         * wtf/efl/OwnPtrEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp.
3925         (WTF):
3926         (WTF::deleteOwnedPtr):
3927         * wtf/gobject/GOwnPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp.
3928         (WTF):
3929         (WTF::GError):
3930         (WTF::GList):
3931         (WTF::GSList):
3932         (WTF::GPatternSpec):
3933         (WTF::GDir):
3934         (WTF::GTimer):
3935         (WTF::GKeyFile):
3936         * wtf/gobject/GOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.
3937         (WTF):
3938         (GOwnPtr):
3939         (WTF::GOwnPtr::GOwnPtr):
3940         (WTF::GOwnPtr::~GOwnPtr):
3941         (WTF::GOwnPtr::get):
3942         (WTF::GOwnPtr::release):
3943         (WTF::GOwnPtr::outPtr):
3944         (WTF::GOwnPtr::set):
3945         (WTF::GOwnPtr::clear):
3946         (WTF::GOwnPtr::operator*):
3947         (WTF::GOwnPtr::operator->):
3948         (WTF::GOwnPtr::operator!):
3949         (WTF::GOwnPtr::operator UnspecifiedBoolType):
3950         (WTF::GOwnPtr::swap):
3951         (WTF::swap):
3952         (WTF::operator==):
3953         (WTF::operator!=):
3954         (WTF::getPtr):
3955         (WTF::freeOwnedGPtr):
3956         * wtf/gobject/GRefPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp.
3957         (WTF):
3958         (WTF::refGPtr):
3959         (WTF::derefGPtr):
3960         (_GVariant):
3961         * wtf/gobject/GRefPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.h.
3962         (WTF):
3963         (GRefPtr):
3964         (WTF::GRefPtr::GRefPtr):
3965         (WTF::GRefPtr::~GRefPtr):
3966         (WTF::GRefPtr::clear):
3967         (WTF::GRefPtr::isHashTableDeletedValue):
3968         (WTF::GRefPtr::get):
3969         (WTF::GRefPtr::operator*):
3970         (WTF::GRefPtr::operator->):
3971         (WTF::GRefPtr::operator!):
3972         (WTF::GRefPtr::operator UnspecifiedBoolType):
3973         (WTF::GRefPtr::hashTableDeletedValue):
3974         (WTF::=):
3975         (WTF::::swap):
3976         (WTF::swap):
3977         (WTF::operator==):
3978         (WTF::operator!=):
3979         (WTF::static_pointer_cast):
3980         (WTF::const_pointer_cast):
3981         (WTF::getPtr):
3982         (WTF::adoptGRef):
3983         (WTF::refGPtr):
3984         (WTF::derefGPtr):
3985         * wtf/gobject/GTypedefs.h: Renamed from Source/JavaScriptCore/wtf/gobject/GTypedefs.h.
3986         * wtf/gobject/GlibUtilities.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp.
3987         (getCurrentExecutablePath):
3988         * wtf/gobject/GlibUtilities.h: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.h.
3989         * wtf/gtk/MainThreadGtk.cpp: Renamed from Source/JavaScriptCore/wtf/gtk/MainThreadGtk.cpp.
3990         (WTF):
3991         (WTF::initializeMainThreadPlatform):
3992         (WTF::timeoutFired):
3993         (WTF::scheduleDispatchFunctionsOnMainThread):
3994         * wtf/mac/MainThreadMac.mm: Renamed from Source/JavaScriptCore/wtf/mac/MainThreadMac.mm.
3995         (-[JSWTFMainThreadCaller call]):
3996         (WTF):
3997         (WTF::initializeMainThreadPlatform):
3998         (WTF::initializeMainThreadToProcessMainThreadPlatform):
3999         (WTF::timerFired):
4000         (WTF::postTimer):
4001         (WTF::scheduleDispatchFunctionsOnMainThread):
4002         (WTF::isMainThread):
4003         * wtf/qt/MainThreadQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/MainThreadQt.cpp.
4004         (WTF):
4005         (MainThreadInvoker):
4006         (WTF::MainThreadInvoker::MainThreadInvoker):
4007         (WTF::MainThreadInvoker::event):
4008         (WTF::initializeMainThreadPlatform):
4009         (WTF::scheduleDispatchFunctionsOnMainThread):
4010         * wtf/qt/StringQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/StringQt.cpp.
4011         (WTF):
4012         (WTF::String::String):
4013         (WTF::String::operator QString):
4014         (WTF::operator<<):
4015         (WTF::operator>>):
4016         * wtf/qt/UtilsQt.h: Renamed from Source/JavaScriptCore/wtf/qt/UtilsQt.h.
4017         (escapeHtml):
4018         * wtf/qt/compat/QGuiApplication: Renamed from Source/JavaScriptCore/wtf/qt/compat/QGuiApplication.
4019         * wtf/qt/compat/qguiapplication.h: Renamed from Source/JavaScriptCore/wtf/qt/compat/qguiapplication.h.
4020         (QGuiApplication):
4021         (QGuiApplication::styleHints):
4022         * wtf/text/ASCIIFastPath.h: Renamed from Source/JavaScriptCore/wtf/text/ASCIIFastPath.h.
4023         (WTF):
4024         (WTF::isAlignedToMachineWord):
4025         (WTF::alignToMachineWord):
4026         (WTF::isAllASCII):
4027         (WTF::charactersAreAllASCII):
4028         * wtf/text/AtomicString.cpp: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.cpp.
4029         (WTF):
4030         (AtomicStringTable):
4031         (WTF::AtomicStringTable::create):
4032         (WTF::AtomicStringTable::table):
4033         (WTF::AtomicStringTable::destroy):
4034         (WTF::stringTable):
4035         (WTF::addToStringTable):
4036         (WTF::CStringTranslator::hash):
4037         (CStringTranslator):
4038         (WTF::CStringTranslator::equal):
4039         (WTF::CStringTranslator::translate):
4040         (WTF::AtomicString::add):
4041         (UCharBuffer):
4042         (WTF::UCharBufferTranslator::hash):
4043         (UCharBufferTranslator):
4044         (WTF::UCharBufferTranslator::equal):
4045         (WTF::UCharBufferTranslator::translate):
4046         (HashAndCharacters):
4047         (WTF::HashAndCharactersTranslator::hash):
4048         (HashAndCharactersTranslator):
4049         (WTF::HashAndCharactersTranslator::equal):
4050         (WTF::HashAndCharactersTranslator::translate):
4051         (HashAndUTF8Characters):
4052         (WTF::HashAndUTF8CharactersTranslator::hash):
4053         (HashAndUTF8CharactersTranslator):
4054         (WTF::HashAndUTF8CharactersTranslator::equal):
4055         (WTF::HashAndUTF8CharactersTranslator::translate):
4056         (SubstringLocation):
4057         (WTF::SubstringTranslator::hash):
4058         (SubstringTranslator):
4059         (WTF::SubstringTranslator::equal):
4060         (WTF::SubstringTranslator::translate):
4061         (WTF::AtomicString::addSlowCase):
4062         (WTF::AtomicString::find):
4063         (WTF::AtomicString::remove):
4064         (WTF::AtomicString::lower):
4065         (WTF::AtomicString::fromUTF8Internal):
4066         (WTF::AtomicString::show):
4067         * wtf/text/AtomicString.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.h.
4068         (WTF):
4069         (AtomicString):
4070         (WTF::AtomicString::AtomicString):
4071         (WTF::AtomicString::isHashTableDeletedValue):
4072         (WTF::AtomicString::operator const String&):
4073         (WTF::AtomicString::string):
4074         (WTF::AtomicString::impl):
4075         (WTF::AtomicString::characters):
4076         (WTF::AtomicString::length):
4077         (WTF::AtomicString::operator[]):
4078         (WTF::AtomicString::contains):
4079         (WTF::AtomicString::find):
4080         (WTF::AtomicString::startsWith):
4081         (WTF::AtomicString::endsWith):
4082         (WTF::AtomicString::upper):
4083         (WTF::AtomicString::toInt):
4084         (WTF::AtomicString::toDouble):
4085         (WTF::AtomicString::toFloat):
4086         (WTF::AtomicString::percentage):
4087         (WTF::AtomicString::isNull):
4088         (WTF::AtomicString::isEmpty):
4089         (WTF::AtomicString::createCFString):
4090         (WTF::AtomicString::operator NSString*):
4091         (WTF::AtomicString::operator QString):
4092         (WTF::AtomicString::add):
4093         (WTF::operator==):
4094         (WTF::operator!=):
4095         (WTF::equalIgnoringCase):
4096         (WTF::AtomicString::fromUTF8):
4097         * wtf/text/AtomicStringHash.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringHash.h.
4098         (WTF):
4099         (WTF::AtomicStringHash::hash):
4100         (AtomicStringHash):
4101         (WTF::AtomicStringHash::equal):
4102         * wtf/text/AtomicStringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringImpl.h.
4103         (WTF):
4104         (AtomicStringImpl):
4105         (WTF::AtomicStringImpl::AtomicStringImpl):
4106         * wtf/text/CString.cpp: Renamed from Source/JavaScriptCore/wtf/text/CString.cpp.
4107         (WTF):
4108         (WTF::CString::CString):
4109         (WTF::CString::init):
4110         (WTF::CString::mutableData):
4111         (WTF::CString::newUninitialized):
4112         (WTF::CString::copyBufferIfNeeded):
4113         (WTF::operator==):
4114         * wtf/text/CString.h: Renamed from Source/JavaScriptCore/wtf/text/CString.h.
4115         (WTF):
4116         (CStringBuffer):
4117         (WTF::CStringBuffer::data):
4118         (WTF::CStringBuffer::length):
4119         (WTF::CStringBuffer::create):
4120         (WTF::CStringBuffer::CStringBuffer):
4121         (WTF::CStringBuffer::mutableData):
4122         (CString):
4123         (WTF::CString::CString):
4124         (WTF::CString::data):
4125         (WTF::CString::length):
4126         (WTF::CString::isNull):
4127         (WTF::CString::buffer):
4128         (WTF::operator!=):
4129         * wtf/text/StringBuffer.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuffer.h.
4130         (WTF):
4131         (StringBuffer):
4132         (WTF::StringBuffer::StringBuffer):
4133         (WTF::StringBuffer::~StringBuffer):
4134         (WTF::StringBuffer::shrink):
4135         (WTF::StringBuffer::resize):
4136         (WTF::StringBuffer::length):
4137         (WTF::StringBuffer::characters):
4138         (WTF::StringBuffer::operator[]):
4139         (WTF::StringBuffer::release):
4140         * wtf/text/StringBuilder.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.cpp.
4141         (WTF):
4142         (WTF::StringBuilder::reifyString):
4143         (WTF::StringBuilder::resize):
4144         (WTF::StringBuilder::allocateBuffer):
4145         (WTF::StringBuilder::allocateBufferUpConvert):
4146         (WTF::LChar):
4147         (WTF::UChar):
4148         (WTF::StringBuilder::reserveCapacity):
4149         (WTF::StringBuilder::appendUninitialized):
4150         (WTF::StringBuilder::appendUninitializedSlow):
4151         (WTF::StringBuilder::append):
4152         (WTF::StringBuilder::canShrink):
4153         (WTF::StringBuilder::shrinkToFit):
4154         * wtf/text/StringBuilder.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.h.
4155         (WTF):
4156         (StringBuilder):
4157         (WTF::StringBuilder::StringBuilder):
4158         (WTF::StringBuilder::append):
4159         (WTF::StringBuilder::toString):
4160         (WTF::StringBuilder::toStringPreserveCapacity):
4161         (WTF::StringBuilder::toAtomicString):
4162         (WTF::StringBuilder::length):
4163         (WTF::StringBuilder::isEmpty):
4164         (WTF::StringBuilder::capacity):
4165         (WTF::StringBuilder::operator[]):
4166         (WTF::StringBuilder::characters8):
4167         (WTF::StringBuilder::characters16):
4168         (WTF::StringBuilder::characters):
4169         (WTF::StringBuilder::is8Bit):
4170         (WTF::StringBuilder::clear):
4171         (WTF::StringBuilder::swap):
4172         (WTF::LChar):
4173         (WTF::UChar):
4174         (WTF::equal):
4175         (WTF::operator==):
4176         (WTF::operator!=):
4177         * wtf/text/StringConcatenate.h: Renamed from Source/JavaScriptCore/wtf/text/StringConcatenate.h.
4178         (WTF):
4179         (WTF::sumWithOverflow):
4180         (WTF::tryMakeString):
4181         (WTF::makeString):
4182         * wtf/text/StringHash.h: Renamed from Source/JavaScriptCore/wtf/text/StringHash.h.
4183         (WTF):
4184         (WTF::StringHash::hash):
4185         (WTF::StringHash::equal):
4186         (StringHash):
4187         (CaseFoldingHash):
4188         (WTF::CaseFoldingHash::foldCase):
4189         (WTF::CaseFoldingHash::hash):
4190         (WTF::CaseFoldingHash::equal):
4191         (WTF::AlreadyHashed::hash):
4192         (AlreadyHashed):
4193         (WTF::AlreadyHashed::avoidDeletedValue):
4194         * wtf/text/StringImpl.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.cpp.
4195         (WTF):
4196         (WTF::StringImpl::~StringImpl):
4197         (WTF::StringImpl::createUninitialized):
4198         (WTF::StringImpl::reallocate):
4199         (WTF::StringImpl::create):
4200         (WTF::StringImpl::getData16SlowCase):
4201         (WTF::StringImpl::upconvertCharacters):
4202         (WTF::StringImpl::containsOnlyWhitespace):
4203         (WTF::StringImpl::substring):
4204         (WTF::StringImpl::characterStartingAt):
4205         (WTF::StringImpl::lower):
4206         (WTF::StringImpl::upper):
4207         (WTF::StringImpl::fill):
4208         (WTF::StringImpl::foldCase):
4209         (WTF::StringImpl::stripMatchedCharacters):
4210         (UCharPredicate):
4211         (WTF::UCharPredicate::UCharPredicate):
4212         (WTF::UCharPredicate::operator()):
4213         (SpaceOrNewlinePredicate):
4214         (WTF::SpaceOrNewlinePredicate::operator()):
4215         (WTF::StringImpl::stripWhiteSpace):
4216         (WTF::StringImpl::removeCharacters):
4217         (WTF::StringImpl::simplifyMatchedCharactersToSpace):
4218         (WTF::StringImpl::simplifyWhiteSpace):
4219         (WTF::StringImpl::toIntStrict):
4220         (WTF::StringImpl::toUIntStrict):
4221         (WTF::StringImpl::toInt64Strict):
4222         (WTF::StringImpl::toUInt64Strict):
4223         (WTF::StringImpl::toIntPtrStrict):
4224         (WTF::StringImpl::toInt):
4225         (WTF::StringImpl::toUInt):
4226         (WTF::StringImpl::toInt64):
4227         (WTF::StringImpl::toUInt64):
4228         (WTF::StringImpl::toIntPtr):
4229         (WTF::StringImpl::toDouble):
4230         (WTF::StringImpl::toFloat):
4231         (WTF::equalIgnoringCase):
4232         (WTF::StringImpl::find):
4233         (WTF::StringImpl::findIgnoringCase):
4234         (WTF::findInner):
4235         (WTF::StringImpl::reverseFind):
4236         (WTF::reverseFindInner):
4237         (WTF::StringImpl::reverseFindIgnoringCase):
4238         (WTF::StringImpl::endsWith):
4239         (WTF::StringImpl::replace):
4240         (WTF::equal):
4241         (WTF::equalIgnoringNullity):
4242         (WTF::StringImpl::defaultWritingDirection):
4243         (WTF::StringImpl::adopt):
4244         (WTF::StringImpl::createWithTerminatingNullCharacter):
4245         * wtf/text/StringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.h.
4246         (JSC):
4247         (WTF):
4248         (StringImpl):
4249         (WTF::StringImpl::StringImpl):
4250         (WTF::StringImpl::create):
4251         (WTF::StringImpl::create8):
4252         (WTF::StringImpl::tryCreateUninitialized):
4253         (WTF::StringImpl::flagsOffset):
4254         (WTF::StringImpl::flagIs8Bit):
4255         (WTF::StringImpl::dataOffset):
4256         (WTF::StringImpl::adopt):
4257         (WTF::StringImpl::length):
4258         (WTF::StringImpl::is8Bit):
4259         (WTF::StringImpl::characters8):
4260         (WTF::StringImpl::characters16):
4261         (WTF::StringImpl::characters):
4262         (WTF::StringImpl::cost):
4263         (WTF::StringImpl::has16BitShadow):
4264         (WTF::StringImpl::isIdentifier):
4265         (WTF::StringImpl::setIsIdentifier):
4266         (WTF::StringImpl::hasTerminatingNullCharacter):
4267         (WTF::StringImpl::isAtomic):
4268         (WTF::StringImpl::setIsAtomic):
4269         (WTF::StringImpl::setHash):
4270         (WTF::StringImpl::rawHash):
4271         (WTF::StringImpl::hasHash):
4272         (WTF::StringImpl::existingHash):
4273         (WTF::StringImpl::hash):
4274         (WTF::StringImpl::hasOneRef):
4275         (WTF::StringImpl::ref):
4276         (WTF::StringImpl::deref):
4277         (WTF::StringImpl::copyChars):
4278         (WTF::StringImpl::operator[]):
4279         (WTF::StringImpl::find):
4280         (WTF::StringImpl::findIgnoringCase):
4281         (WTF::StringImpl::startsWith):
4282         (WTF::StringImpl::bufferOwnership):
4283         (WTF::StringImpl::isStatic):
4284         (WTF::LChar):
4285         (WTF::UChar):
4286         (WTF::equal):
4287         (WTF::equalIgnoringCase):
4288         (WTF::equalIgnoringNullity):
4289         (WTF::codePointCompare):
4290         (WTF::codePointCompare8):
4291         (WTF::codePointCompare16):
4292         (WTF::codePointCompare8To16):
4293         (WTF::isSpaceOrNewline):
4294         (WTF::StringImpl::isolatedCopy):
4295         * wtf/text/StringOperators.h: Renamed from Source/JavaScriptCore/wtf/text/StringOperators.h.
4296         (WTF):
4297         (StringAppend):
4298         (WTF::StringAppend::StringAppend):
4299         (WTF::StringAppend::operator String):
4300         (WTF::StringAppend::operator AtomicString):
4301         (WTF::StringAppend::is8Bit):
4302         (WTF::StringAppend::writeTo):
4303         (WTF::StringAppend::length):
4304         (WTF::operator+):
4305         * wtf/text/StringStatics.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringStatics.cpp.
4306         (WTF):
4307         (WTF::StringImpl::empty):
4308         (WTF::StringImpl::hashSlowCase):
4309         (WTF::AtomicString::init):
4310         * wtf/text/TextPosition.h: Renamed from Source/JavaScriptCore/wtf/text/TextPosition.h.
4311         (WTF):
4312         (OrdinalNumber):
4313         (WTF::OrdinalNumber::fromZeroBasedInt):
4314         (WTF::OrdinalNumber::fromOneBasedInt):
4315         (WTF::OrdinalNumber::OrdinalNumber):
4316         (WTF::OrdinalNumber::zeroBasedInt):
4317         (WTF::OrdinalNumber::oneBasedInt):
4318         (WTF::OrdinalNumber::operator==):
4319         (WTF::OrdinalNumber::operator!=):
4320         (WTF::OrdinalNumber::first):
4321         (WTF::OrdinalNumber::beforeFirst):
4322         (TextPosition):
4323         (WTF::TextPosition::TextPosition):
4324         (WTF::TextPosition::operator==):
4325         (WTF::TextPosition::operator!=):
4326         (WTF::TextPosition::minimumPosition):
4327         (WTF::TextPosition::belowRangePosition):
4328         * wtf/text/WTFString.cpp: Renamed from Source/JavaScriptCore/wtf/text/WTFString.cpp.
4329         (WTF):
4330         (WTF::String::String):
4331         (WTF::String::append):
4332         (WTF::codePointCompare):
4333         (WTF::String::insert):
4334         (WTF::String::characterStartingAt):
4335         (WTF::String::truncate):
4336         (WTF::String::remove):
4337         (WTF::String::substring):
4338         (WTF::String::substringSharingImpl):
4339         (WTF::String::lower):
4340         (WTF::String::upper):
4341         (WTF::String::stripWhiteSpace):
4342         (WTF::String::simplifyWhiteSpace):
4343         (WTF::String::removeCharacters):
4344         (WTF::String::foldCase):
4345         (WTF::String::percentage):
4346         (WTF::String::charactersWithNullTermination):
4347         (WTF::String::format):
4348         (WTF::String::number):
4349         (WTF::String::toIntStrict):
4350         (WTF::String::toUIntStrict):
4351         (WTF::String::toInt64Strict):
4352         (WTF::String::toUInt64Strict):
4353         (WTF::String::toIntPtrStrict):
4354         (WTF::String::toInt):
4355         (WTF::String::toUInt):
4356         (WTF::String::toInt64):
4357         (WTF::String::toUInt64):
4358         (WTF::String::toIntPtr):
4359         (WTF::String::toDouble):
4360         (WTF::String::toFloat):
4361         (WTF::String::isolatedCopy):
4362         (WTF::String::split):
4363         (WTF::String::ascii):
4364         (WTF::String::latin1):
4365         (WTF::putUTF8Triple):
4366         (WTF::String::utf8):
4367         (WTF::String::fromUTF8):
4368         (WTF::String::fromUTF8WithLatin1Fallback):
4369         (WTF::isCharacterAllowedInBase):
4370         (WTF::toIntegralType):
4371         (WTF::lengthOfCharactersAsInteger):
4372         (WTF::charactersToIntStrict):
4373         (WTF::charactersToUIntStrict):
4374         (WTF::charactersToInt64Strict):
4375         (WTF::charactersToUInt64Strict):
4376         (WTF::charactersToIntPtrStrict):
4377         (WTF::charactersToInt):
4378         (WTF::charactersToUInt):
4379         (WTF::charactersToInt64):
4380         (WTF::charactersToUInt64):
4381         (WTF::charactersToIntPtr):
4382         (WTF::toDoubleType):
4383         (WTF::charactersToDouble):
4384         (WTF::charactersToFloat):
4385         (WTF::charactersToFloatIgnoringJunk):
4386         (WTF::emptyString):
4387         (String::show):
4388         (string):
4389         (asciiDebug):
4390         * wtf/text/WTFString.h: Renamed from Source/JavaScriptCore/wtf/text/WTFString.h.
4391         (WebKit):
4392         (WTF):
4393         (String):
4394         (WTF::String::String):
4395         (WTF::String::~String):
4396         (WTF::String::swap):
4397         (WTF::String::adopt):
4398         (WTF::String::isNull):
4399         (WTF::String::isEmpty):
4400         (WTF::String::impl):
4401         (WTF::String::length):
4402         (WTF::String::characters):
4403         (WTF::String::characters8):
4404         (WTF::String::characters16):
4405         (WTF::String::is8Bit):
4406         (WTF::String::operator[]):
4407         (WTF::String::find):
4408         (WTF::String::reverseFind):
4409         (WTF::String::findIgnoringCase):
4410         (WTF::String::reverseFindIgnoringCase):
4411         (WTF::String::contains):
4412         (WTF::String::startsWith):
4413         (WTF::String::endsWith):
4414         (WTF::String::append):
4415         (WTF::String::replace):
4416         (WTF::String::makeLower):
4417         (WTF::String::makeUpper):
4418         (WTF::String::fill):
4419         (WTF::String::left):
4420         (WTF::String::right):
4421         (WTF::String::createUninitialized):
4422         (WTF::String::operator NSString*):
4423         (WTF::String::fromUTF8):
4424         (WTF::String::fromUTF8WithLatin1Fallback):
4425         (WTF::String::defaultWritingDirection):
4426         (WTF::String::containsOnlyWhitespace):
4427         (WTF::String::isHashTableDeletedValue):
4428         (WTF::operator+=):
4429         (WTF::operator==):
4430         (WTF::operator!=):
4431         (WTF::equalIgnoringCase):
4432         (WTF::equalPossiblyIgnoringCase):
4433         (WTF::equalIgnoringNullity):
4434         (WTF::operator!):
4435         (WTF::swap):
4436         (WTF::LChar):
4437         (WTF::UChar):
4438         (WTF::String::containsOnlyLatin1):
4439         (WTF::nsStringNilIfEmpty):
4440         (WTF::String::containsOnlyASCII):
4441         (WTF::codePointCompareLessThan):
4442         (WTF::find):
4443         (WTF::reverseFind):
4444         (WTF::append):
4445         (WTF::appendNumber):
4446         (WTF::isAllSpecialCharacters):
4447         (WTF::String::isAllSpecialCharacters):
4448         * wtf/threads/BinarySemaphore.cpp: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.cpp.
4449         (WTF):
4450         (WTF::BinarySemaphore::BinarySemaphore):
4451         (WTF::BinarySemaphore::~BinarySemaphore):
4452         (WTF::BinarySemaphore::signal):
4453         (WTF::BinarySemaphore::wait):
4454         * wtf/threads/BinarySemaphore.h: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.h.
4455         (WTF):
4456         (BinarySemaphore):
4457         (WTF::BinarySemaphore::event):
4458         * wtf/threads/win/BinarySemaphoreWin.cpp: Renamed from Source/JavaScriptCore/wtf/threads/win/BinarySemaphoreWin.cpp.
4459         (WTF):
4460         (WTF::BinarySemaphore::BinarySemaphore):
4461         (WTF::BinarySemaphore::~BinarySemaphore):
4462         (WTF::BinarySemaphore::signal):
4463         (WTF::BinarySemaphore::wait):
4464         * wtf/unicode/CharacterNames.h: Renamed from Source/JavaScriptCore/wtf/unicode/CharacterNames.h.
4465         (Unicode):
4466         * wtf/unicode/Collator.h: Renamed from Source/JavaScriptCore/wtf/unicode/Collator.h.
4467         (WTF):
4468         (Collator):
4469         * wtf/unicode/CollatorDefault.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/CollatorDefault.cpp.
4470         (WTF):
4471         (WTF::Collator::Collator):
4472         (WTF::Collator::~Collator):
4473         (WTF::Collator::setOrderLowerFirst):
4474         (WTF::Collator::userDefault):
4475         (WTF::Collator::collate):
4476         * wtf/unicode/ScriptCodesFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/ScriptCodesFromICU.h.
4477         * wtf/unicode/UTF8.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.cpp.
4478         (Unicode):
4479         (WTF::Unicode::inlineUTF8SequenceLengthNonASCII):
4480         (WTF::Unicode::inlineUTF8SequenceLength):
4481         (WTF::Unicode::UTF8SequenceLength):
4482         (WTF::Unicode::decodeUTF8Sequence):
4483         (WTF::Unicode::convertLatin1ToUTF8):
4484         (WTF::Unicode::convertUTF16ToUTF8):
4485         (WTF::Unicode::isLegalUTF8):
4486         (WTF::Unicode::readUTF8Sequence):
4487         (WTF::Unicode::convertUTF8ToUTF16):
4488         (WTF::Unicode::calculateStringHashAndLengthFromUTF8):
4489         (WTF::Unicode::equalUTF16WithUTF8):
4490         * wtf/unicode/UTF8.h: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.h.
4491         (Unicode):
4492         * wtf/unicode/Unicode.h: Renamed from Source/JavaScriptCore/wtf/unicode/Unicode.h.
4493         * wtf/unicode/UnicodeMacrosFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/UnicodeMacrosFromICU.h.
4494         * wtf/unicode/glib/UnicodeGLib.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp.
4495         (Unicode):
4496         (WTF::Unicode::foldCase):
4497         (WTF::Unicode::getUTF16LengthFromUTF8):
4498         (WTF::Unicode::convertCase):
4499         (WTF::Unicode::toLower):
4500         (WTF::Unicode::toUpper):
4501         (WTF::Unicode::direction):
4502         (WTF::Unicode::umemcasecmp):
4503         * wtf/unicode/glib/UnicodeGLib.h: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h.
4504         (Unicode):
4505         (WTF::Unicode::toLower):
4506         (WTF::Unicode::toUpper):
4507         (WTF::Unicode::toTitleCase):
4508         (WTF::Unicode::isArabicChar):
4509         (WTF::Unicode::isAlphanumeric):
4510         (WTF::Unicode::isFormatChar):
4511         (WTF::Unicode::isSeparatorSpace):
4512         (WTF::Unicode::isPrintableChar):
4513         (WTF::Unicode::isDigit):
4514         (WTF::Unicode::isPunct):
4515         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
4516         (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
4517         (WTF::Unicode::mirroredChar):
4518         (WTF::Unicode::category):
4519         (WTF::Unicode::isLower):
4520         (WTF::Unicode::digitValue):
4521         (WTF::Unicode::combiningClass):
4522         (WTF::Unicode::decompositionType):
4523         * wtf/unicode/icu/CollatorICU.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp.
4524         (WTF):
4525         (WTF::cachedCollatorMutex):
4526         (WTF::Collator::Collator):
4527         (WTF::Collator::userDefault):
4528         (WTF::Collator::~Collator):
4529         (WTF::Collator::setOrderLowerFirst):
4530         (WTF::Collator::collate):
4531         (WTF::Collator::createCollator):
4532         (WTF::Collator::releaseCollator):
4533         * wtf/unicode/icu/UnicodeIcu.h: Renamed from Source/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h.
4534         (Unicode):
4535         (WTF::Unicode::foldCase):
4536         (WTF::Unicode::toLower):
4537         (WTF::Unicode::toUpper):
4538         (WTF::Unicode::toTitleCase):
4539         (WTF::Unicode::isArabicChar):
4540         (WTF::Unicode::isAlphanumeric):
4541         (WTF::Unicode::isSeparatorSpace):
4542         (WTF::Unicode::isPrintableChar):
4543         (WTF::Unicode::isPunct):
4544         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
4545         (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
4546         (WTF::Unicode::mirroredChar):
4547         (WTF::Unicode::category):
4548         (WTF::Unicode::direction):
4549         (WTF::Unicode::isLower):
4550         (WTF::Unicode::combiningClass):
4551         (WTF::Unicode::decompositionType):
4552         (WTF::Unicode::umemcasecmp):
4553         * wtf/unicode/qt4/UnicodeQt4.h: Renamed from Source/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h.
4554         (Properties):
4555         (QUnicodeTables):
4556         (Unicode):
4557         (WTF::Unicode::toLower):
4558         (WTF::Unicode::toUpper):
4559         (WTF::Unicode::toTitleCase):
4560         (WTF::Unicode::foldCase):
4561         (WTF::Unicode::isArabicChar):
4562         (WTF::Unicode::isPrintableChar):
4563         (WTF::Unicode::isSeparatorSpace):
4564         (WTF::Unicode::isPunct):
4565         (WTF::Unicode::isLower):
4566         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
4567         (WTF::Unicode::mirroredChar):
4568         (WTF::Unicode::combiningClass):
4569         (WTF::Unicode::decompositionType):
4570         (WTF::Unicode::umemcasecmp):
4571         (WTF::Unicode::direction):
4572         (WTF::Unicode::category):
4573         * wtf/unicode/wince/UnicodeWinCE.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.cpp.
4574         (Unicode):
4575         (WTF::Unicode::toLower):
4576         (WTF::Unicode::toUpper):
4577         (WTF::Unicode::foldCase):
4578         (WTF::Unicode::isPrintableChar):
4579         (WTF::Unicode::isSpace):
4580         (WTF::Unicode::isLetter):
4581         (WTF::Unicode::isUpper):
4582         (WTF::Unicode::isLower):
4583         (WTF::Unicode::isDigit):
4584         (WTF::Unicode::isPunct):
4585         (WTF::Unicode::isAlphanumeric):
4586         (WTF::Unicode::toTitleCase):
4587         (WTF::Unicode::direction):
4588         (WTF::Unicode::category):
4589         (WTF::Unicode::decompositionType):
4590         (WTF::Unicode::combiningClass):
4591         (WTF::Unicode::mirroredChar):
4592         (WTF::Unicode::digitValue):
4593         * wtf/unicode/wince/UnicodeWinCE.h: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.h.
4594         (Unicode):
4595         (WTF::Unicode::isSeparatorSpace):
4596         (WTF::Unicode::isHighSurrogate):
4597         (WTF::Unicode::isLowSurrogate):
4598         (WTF::Unicode::isArabicChar):
4599         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
4600         (WTF::Unicode::umemcasecmp):
4601         (WTF::Unicode::surrogateToUcs4):
4602         * wtf/url/api/ParsedURL.cpp: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.cpp.
4603         (WTF):
4604         (WTF::ParsedURL::ParsedURL):
4605         (WTF::ParsedURL::isolatedCopy):
4606         (WTF::ParsedURL::scheme):
4607         (WTF::ParsedURL::username):
4608         (WTF::ParsedURL::password):
4609         (WTF::ParsedURL::host):
4610         (WTF::ParsedURL::port):
4611         (WTF::ParsedURL::path):
4612         (WTF::ParsedURL::query):
4613         (WTF::ParsedURL::fragment):
4614         (WTF::ParsedURL::baseAsString):
4615         (WTF::ParsedURL::segment):
4616         * wtf/url/api/ParsedURL.h: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.h.
4617         (WTF):
4618         (ParsedURL):
4619         (WTF::ParsedURL::ParsedURL):
4620         (WTF::ParsedURL::isValid):
4621         (WTF::ParsedURL::spec):
4622         * wtf/url/api/URLString.h: Renamed from Source/JavaScriptCore/wtf/url/api/URLString.h.
4623         (WTF):
4624         (URLString):
4625         (WTF::URLString::URLString):
4626         (WTF::URLString::string):
4627         * wtf/url/src/RawURLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/RawURLBuffer.h.
4628         (WTF):
4629         (RawURLBuffer):
4630         (WTF::RawURLBuffer::RawURLBuffer):
4631         (WTF::RawURLBuffer::~RawURLBuffer):
4632         (WTF::RawURLBuffer::resize):
4633         * wtf/url/src/URLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLBuffer.h.
4634         (WTF):
4635         (URLBuffer):
4636         (WTF::URLBuffer::URLBuffer):
4637         (WTF::URLBuffer::~URLBuffer):
4638         (WTF::URLBuffer::at):
4639         (WTF::URLBuffer::set):
4640         (WTF::URLBuffer::capacity):
4641         (WTF::URLBuffer::length):
4642         (WTF::URLBuffer::data):
4643         (WTF::URLBuffer::setLength):
4644         (WTF::URLBuffer::append):
4645         (WTF::URLBuffer::grow):
4646         * wtf/url/src/URLCharacterTypes.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.cpp.
4647         (WTF):
4648         * wtf/url/src/URLCharacterTypes.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.h.
4649         (WTF):
4650         (URLCharacterTypes):
4651         (WTF::URLCharacterTypes::isQueryChar):
4652         (WTF::URLCharacterTypes::isIPv4Char):
4653         (WTF::URLCharacterTypes::isHexChar):
4654         (WTF::URLCharacterTypes::isCharOfType):
4655         * wtf/url/src/URLComponent.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLComponent.h.
4656         (WTF):
4657         (URLComponent):
4658         (WTF::URLComponent::URLComponent):
4659         (WTF::URLComponent::fromRange):
4660         (WTF::URLComponent::isValid):
4661         (WTF::URLComponent::isNonEmpty):
4662         (WTF::URLComponent::isEmptyOrInvalid):
4663         (WTF::URLComponent::reset):
4664         (WTF::URLComponent::operator==):
4665         (WTF::URLComponent::begin):
4666         (WTF::URLComponent::setBegin):
4667         (WTF::URLComponent::length):
4668         (WTF::URLComponent::setLength):
4669         (WTF::URLComponent::end):
4670         * wtf/url/src/URLEscape.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.cpp.
4671         (WTF):
4672         * wtf/url/src/URLEscape.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.h.
4673         (WTF):
4674         (WTF::appendURLEscapedCharacter):
4675         * wtf/url/src/URLParser.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLParser.h.
4676         (WTF):
4677         (URLParser):
4678         (WTF::URLParser::isPossibleAuthorityTerminator):
4679         (WTF::URLParser::parseAuthority):
4680         (WTF::URLParser::extractScheme):
4681         (WTF::URLParser::parseAfterScheme):
4682         (WTF::URLParser::parseStandardURL):
4683         (WTF::URLParser::parsePath):
4684         (WTF::URLParser::parsePathURL):
4685         (WTF::URLParser::parseMailtoURL):
4686         (WTF::URLParser::parsePort):
4687         (WTF::URLParser::extractFileName):
4688         (WTF::URLParser::extractQueryKeyValue):
4689         (WTF::URLParser::isURLSlash):
4690         (WTF::URLParser::shouldTrimFromURL):
4691         (WTF::URLParser::trimURL):
4692         (WTF::URLParser::consecutiveSlashes):
4693         (WTF::URLParser::isPortDigit):
4694         (WTF::URLParser::nextAuthorityTerminator):
4695         (WTF::URLParser::parseUserInfo):
4696         (WTF::URLParser::parseServerInfo):
4697         * wtf/url/src/URLQueryCanonicalizer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLQueryCanonicalizer.h.
4698         (WTF):
4699         (URLQueryCanonicalizer):
4700         (WTF::URLQueryCanonicalizer::canonicalize):
4701         (WTF::URLQueryCanonicalizer::isAllASCII):
4702         (WTF::URLQueryCanonicalizer::isRaw8Bit):
4703         (WTF::URLQueryCanonicalizer::appendRaw8BitQueryString):
4704         (WTF::URLQueryCanonicalizer::convertToQueryEncoding):
4705         * wtf/url/src/URLSegments.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.cpp.
4706         (WTF):
4707         (WTF::URLSegments::length):
4708         (WTF::URLSegments::charactersBefore):
4709         * wtf/url/src/URLSegments.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.h.
4710         (WTF):
4711         (URLSegments):
4712         (WTF::URLSegments::URLSegments):
4713         * wtf/win/MainThreadWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/MainThreadWin.cpp.
4714         (WTF):
4715         (WTF::ThreadingWindowWndProc):
4716         (WTF::initializeMainThreadPlatform):
4717         (WTF::scheduleDispatchFunctionsOnMainThread):
4718         * wtf/win/OwnPtrWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/OwnPtrWin.cpp.
4719         (WTF):
4720         (WTF::deleteOwnedPtr):
4721         * wtf/wince/FastMallocWinCE.h: Renamed from Source/JavaScriptCore/wtf/wince/FastMallocWinCE.h.
4722         (operator new):
4723         (operator delete):
4724         (operator new[]):
4725         (operator delete[]):
4726         (throw):
4727         (WTF):
4728         (Internal):
4729         (WTF::Internal::fastMallocMatchValidationType):
4730         (WTF::Internal::fastMallocMatchValidationValue):
4731         (WTF::Internal::setFastMallocMatchValidationType):
4732         (WTF::fastMallocMatchValidateMalloc):
4733         (WTF::fastMallocMatchValidateFree):
4734         * wtf/wince/MemoryManager.cpp: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.cpp.
4735         (WTF):
4736         (WTF::memoryManager):
4737         (WTF::MemoryManager::MemoryManager):
4738         (WTF::MemoryManager::~MemoryManager):
4739         (WTF::MemoryManager::createCompatibleBitmap):
4740         (WTF::MemoryManager::createDIBSection):
4741         (WTF::MemoryManager::m_malloc):
4742         (WTF::MemoryManager::m_calloc):
4743         (WTF::MemoryManager::m_realloc):
4744         (WTF::MemoryManager::m_free):
4745         (WTF::MemoryManager::resizeMemory):
4746         (WTF::MemoryManager::allocate64kBlock):
4747         (WTF::MemoryManager::free64kBlock):
4748         (WTF::MemoryManager::onIdle):
4749         (WTF::MemoryManager::virtualAlloc):
4750         (WTF::MemoryManager::virtualFree):
4751         (WTF::fastMalloc):
4752         (WTF::fastCalloc):
4753         (WTF::fastFree):
4754         (WTF::fastRealloc):
4755         (WTF::fastMallocForbid):
4756         (WTF::fastMallocAllow):
4757         (WTF::fastZeroedMalloc):
4758         (WTF::tryFastMalloc):
4759         (WTF::tryFastZeroedMalloc):
4760         (WTF::tryFastCalloc):
4761         (WTF::tryFastRealloc):
4762         (WTF::fastStrDup):
4763         * wtf/wince/MemoryManager.h: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.h.
4764         (WTF):
4765         (MemoryManager):
4766         (WTF::MemoryManager::allocationCanFail):
4767         (WTF::MemoryManager::setAllocationCanFail):
4768         (MemoryAllocationCanFail):
4769         (WTF::MemoryAllocationCanFail::MemoryAllocationCanFail):
4770         (WTF::MemoryAllocationCanFail::~MemoryAllocationCanFail):
4771         (MemoryAllocationCannotFail):
4772         (WTF::MemoryAllocationCannotFail::MemoryAllocationCannotFail):
4773         (WTF::MemoryAllocationCannotFail::~MemoryAllocationCannotFail):
4774         * wtf/wx/MainThreadWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/MainThreadWx.cpp.
4775         (wxCallAfter):
4776         (wxCallAfter::wxCallAfter):
4777         (wxCallAfter::OnCallback):
4778         (WTF):
4779         (WTF::initializeMainThreadPlatform):
4780         (WTF::scheduleDispatchFunctionsOnMainThread):
4781         * wtf/wx/StringWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/StringWx.cpp.
4782         (WTF):
4783         (WTF::String::String):
4784         (WTF::String::operator wxString):
4785
4786 2012-03-22  Hyowon Kim  <hw1008.kim@samsung.com>
4787
4788         [EFL] Add PageClientEfl to WebCoreSupport.
4789         https://bugs.webkit.org/show_bug.cgi?id=80748
4790
4791         Reviewed by Noam Rosenthal.
4792
4793         * wtf/Platform.h: Disable accelerated compositing. It's not ready yet.
4794
4795 2012-03-21  Beth Dakin  <bdakin@apple.com>
4796
4797         https://bugs.webkit.org/show_bug.cgi?id=80322
4798         Implement image-set
4799
4800         Reviewed by Dean Jackson.
4801
4802         For the time being, image-set is opt-in since the implementation is 
4803         incomplete. 
4804
4805         Add an ENABLE flag for image-set.
4806         * wtf/Platform.h:
4807
4808 2012-03-21  Jessie Berlin  <jberlin@apple.com>
4809
4810         Fix the Windows build after r111504.
4811
4812         * WTF.vcproj/WTF.vcproj:
4813         Platform.h was moved to Source/WTF.
4814         * WTF.vcproj/copy-files.cmd:
4815         Copy Platform.h from its new source location. This separate copy will not be necessary once
4816         the full move is done and all the headers are being copied at once from the new locations.
4817
4818 2012-03-21  Jessie Berlin  <jberlin@apple.com>
4819
4820         WTF headers should be in $(ConfigurationBuildDir)\include\private\wtf, not
4821         $(ConfigurationBuildDir)\include\private\JavaScriptCore\wtf.
4822         https://bugs.webkit.org/show_bug.cgi?id=81739
4823
4824         Reviewed by Dan Bernstein.
4825
4826         * WTF.vcproj/copy-files.cmd:
4827         Copy the headers to private/include/wtf instead of private/include/JavaScriptCore/wtf.
4828
4829 2012-03-20  Eric Seidel  <eric@webkit.org>
4830
4831         Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
4832         https://bugs.webkit.org/show_bug.cgi?id=80911
4833
4834         Reviewed by Adam Barth.
4835
4836         Update build systems to account for the new location of Platform.h
4837
4838         * GNUmakefile.list.am:
4839         * WTF.gypi:
4840         * WTF.pro:
4841         * WTF.vcproj/WTF.vcproj:
4842         * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py:
4843         (react_to_vsprops_changes):
4844         * WTF.xcodeproj/project.pbxproj:
4845         * config.h: I don't think this change is 100% correct (but seemed to be needed to make qt-wk2 build)
4846          - This dependency on JSC should be removed regardless (in a later patch).
4847         * wtf/Platform.h: Renamed from Source/JavaScriptCore/wtf/Platform.h.
4848
4849 2012-03-20  Steve Falkenburg  <sfalken@apple.com>
4850
4851         Move WTF-related Windows project files out of JavaScriptCore
4852         https://bugs.webkit.org/show_bug.cgi?id=80680
4853         
4854         This change only moves the vcproj and related files from JavaScriptCore/JavaScriptCore.vcproj/WTF.
4855         It does not move any source code. This is in preparation for the WTF source move out of
4856         JavaScriptCore.
4857
4858         Reviewed by Jessie Berlin.
4859
4860         * WTF.vcproj: Added.
4861         * WTF.vcproj/WTF.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj.
4862         * WTF.vcproj/WTFCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFCommon.vsprops.
4863         * WTF.vcproj/WTFDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebug.vsprops.
4864         * WTF.vcproj/WTFDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugAll.vsprops.
4865         * WTF.vcproj/WTFDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugCairoCFLite.vsprops.
4866         * WTF.vcproj/WTFGenerated.make: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.make.
4867         * WTF.vcproj/WTFGenerated.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.vcproj.
4868         * WTF.vcproj/WTFGeneratedCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedCommon.vsprops.
4869         * WTF.vcproj/WTFGeneratedDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebug.vsprops.
4870         * WTF.vcproj/WTFGeneratedDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugAll.vsprops.
4871         * WTF.vcproj/WTFGeneratedDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugCairoCFLite.vsprops.
4872         * WTF.vcproj/WTFGeneratedProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedProduction.vsprops.
4873         * WTF.vcproj/WTFGeneratedRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedRelease.vsprops.
4874         * WTF.vcproj/WTFGeneratedReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedReleaseCairoCFLite.vsprops.
4875         * WTF.vcproj/WTFPostBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd.
4876         * WTF.vcproj/WTFPreBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd.
4877         * WTF.vcproj/WTFProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFProduction.vsprops.
4878         * WTF.vcproj/WTFRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFRelease.vsprops.
4879         * WTF.vcproj/WTFReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops.
4880         * WTF.vcproj/build-generated-files.sh: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/build-generated-files.sh.
4881         * WTF.vcproj/copy-files.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/copy-files.cmd.
4882         * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/work-around-vs-dependency-tracking-bugs.py.
4883
4884 2012-03-20  Peter Beverloo  <peter@chromium.org>
4885
4886         [Chromium] Fix the Android build by building NEWWTF for host
4887         https://bugs.webkit.org/show_bug.cgi?id=81643
4888
4889         Reviewed by Tony Gentilcore.
4890
4891         Chromium for Android builds the ImageDiff target for the host architecture,
4892         so all dependencies it has need to be able to build for host as well.
4893         r111258 added (new)WTF as a dependency instead of just including the
4894         header files, so make it possible to build the newwtf target for host.
4895
4896         * WTF.gyp/WTF.gyp:
4897
4898 2012-03-19  Dan Bernstein  <mitz@apple.com>
4899
4900         Set the svn:ignore property on the Xcode project.
4901
4902         * WTF.xcodeproj: Added property svn:ignore.
4903
4904 2012-03-16  Mark Rowe  <mrowe@apple.com>
4905
4906         Build fix. Do not preserve owner and group information when installing the WTF headers.
4907
4908         * WTF.xcodeproj/project.pbxproj:
4909
4910 2012-03-07  Mark Rowe  <mrowe@apple.com>
4911
4912         Teach make to build WTF.
4913
4914         * Makefile: Added.
4915
4916 2012-02-11  Filip Pizlo  <fpizlo@apple.com>
4917
4918         It should be possible to send all JSC debug logging to a file
4919         https://bugs.webkit.org/show_bug.cgi?id=78418
4920
4921         Reviewed by Sam Weinig.
4922         
4923         Introduced wtf/DataLog, which defines WTF::dataFile, WTF::dataLog,
4924         and WTF::dataLogV. Changed all debugging- and profiling-related printfs
4925         to use WTF::dataLog() or one of its friends. By default, debug logging
4926         goes to stderr, unless you change the setting in wtf/DataLog.cpp.
4927
4928         * WTF.pro:
4929
4930 2012-02-03  Simon Hausmann  <simon.hausmann@nokia.com>
4931
4932         [Qt] Fix build when cross-compiling
4933         https://bugs.webkit.org/show_bug.cgi?id=77634
4934
4935         Reviewed by Tor Arne Vestbø.
4936
4937         * WTF.pri: Don't use icu-config for determining the library search
4938         path and libraries needed for ICU. Either we use icu-config for includes
4939         _and_ libraries or we don't. Right now we assume that icu is a system library
4940         and expect the headers in the default include search pathes (/usr/include for example).
4941         However we use icu-config to figure out where the libraries are, which breaks when
4942         cross-compiling, because icu-config isn't cross-compile friendly (I wish icu was using
4943         pkg-config). I think for the time being we should require ICU as a _system_ library,
4944         which implies the header and library availability in default search paths. This also
4945         makes the build succeed when cross-compiling with --sysroot.
4946
4947 2012-01-27  Zeno Albisser  <zeno@webkit.org>
4948
4949         [Qt][Mac] Build fails after adding ICU support (r105997).
4950         https://bugs.webkit.org/show_bug.cgi?id=77118
4951
4952         Link to libicucore if platform Mac.
4953
4954         Reviewed by Tor Arne Vestbø.
4955
4956         * WTF.pri:
4957
4958 2012-01-26  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
4959
4960         [Qt] Use ICU if available
4961         https://bugs.webkit.org/show_bug.cgi?id=76821
4962
4963         Reviewed by Simon Hausmann.
4964
4965         Adding libicu dependencies for a Qt5 based build.
4966
4967         * WTF.pri:
4968
4969 2012-01-26  Csaba Osztrogonác  <ossy@webkit.org>
4970
4971         [Qt][Win] One more speculative buildfix after r105970.
4972
4973         * WTF.pri:
4974
4975 2012-01-26  Nikolas Zimmermann  <nzimmermann@rim.com>
4976
4977         Not reviewed. Try to fix Qt/Win build by building OwnPtrWin.cpp into the WTF library.
4978
4979         * WTF.pro:
4980
4981 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
4982
4983         Enable use of precompiled headers in Chromium port on Windows.
4984
4985         Bug 76381 - Use precompiled headers in Chromium port on Windows
4986         https://bugs.webkit.org/show_bug.cgi?id=76381
4987
4988         Reviewed by Tony Chang.
4989
4990         * WTF.gyp/WTF.gyp: Include WinPrecompile.gypi.
4991
4992 2012-01-18  Roland Takacs  <takacs.roland@stud.u-szeged.hu>
4993
4994         Cross-platform processor core counter
4995         https://bugs.webkit.org/show_bug.cgi?id=76530
4996
4997         Reviewed by Zoltan Herczeg.
4998
4999         Two files have been added to the project, namely NumberOfCores.h/cpp,
5000         that include a CPU core number determining function.
5001
5002         * WTF.pro:
5003
5004 2012-01-17  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
5005
5006         Uint8ClampedArray support
5007         https://bugs.webkit.org/show_bug.cgi?id=74455
5008
5009         Reviewed by Filip Pizlo.
5010
5011         * WTF.pro:
5012
5013 2012-01-13  Alexis Menard  <alexis.menard@openbossa.org>
5014
5015         Unreviewed build fix for Qt SnowLeopard build bot.
5016
5017         This is a workaround for the moment.
5018
5019         * wtf/Platform.h:
5020
5021 2012-01-12  Simon Hausmann  <simon.hausmann@nokia.com>
5022
5023         Make the new WTF module build on Qt
5024         https://bugs.webkit.org/show_bug.cgi?id=76163
5025
5026         Reviewed by Tor Arne Vestbø.
5027
5028         With this change the WTF sources are built _here_ but _from_ their old location using a VPATH.
5029
5030         * WTF.pri: Renamed from Source/JavaScriptCore/wtf/wtf.pri.
5031         * WTF.pro: Renamed from Source/JavaScriptCore/wtf/wtf.pro.
5032         * config.h: Bring this file in sync with JavaScriptCore/config.h with regards to the inclusion
5033         / definition of the export macros.
5034
5035 2012-01-06  Benjamin Poulain  <bpoulain@apple.com>
5036
5037         [Mac] Sort the resources of WTF.xcodeproj
5038         https://bugs.webkit.org/show_bug.cgi?id=75639
5039
5040         Reviewed by Andreas Kling.
5041
5042         * WTF.xcodeproj/project.pbxproj:
5043
5044 2012-01-06  Eric Seidel  <eric@webkit.org> and Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
5045
5046         Make the new WTF module build on Gtk
5047         https://bugs.webkit.org/show_bug.cgi?id=75669
5048
5049         * GNUmakefile.am: Added.
5050         * GNUmakefile.list.am: Added.
5051
5052 2011-11-19  Adam Barth  <abarth@webkit.org>
5053
5054         Integrate Source/WTF with the Chromium build system
5055         https://bugs.webkit.org/show_bug.cgi?id=72790
5056
5057         Reviewed by Eric Seidel.
5058
5059         Rename the target in this file to "newwtf" to avoid naming conflicts.
5060
5061         * WTF.gyp/WTF.gyp:
5062
5063 2011-11-19  Mark Rowe  <mrowe@apple.com>
5064
5065         WTF should have an Xcode project
5066         https://bugs.webkit.org/show_bug.cgi?id=71752
5067
5068         Reviewed by Adam Barth.
5069
5070         This adds an Xcode project that includes only Stub.cpp and Stub.h.
5071         They’re built in to a library at the appropriate path for each
5072         configuration (WebKitBuild/{Debug,Release}/libWTF.a and
5073         /usr/local/lib/libWTF.a) and headers are installed in to the
5074         appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf
5075         and /usr/local/include/wtf). I tested building WTF in this project and
5076         everything appears to build except for DateMath.cpp (due to bug 71747).
5077         I have not yet done any work on making JavaScriptCore and other
5078         projects use the built products of this new project.
5079
5080         * Configurations: Added.
5081         * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig.
5082         * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig.
5083         * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig.
5084         * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig.
5085         * WTF.xcodeproj: Added.
5086         * WTF.xcodeproj/project.pbxproj: Added.
5087         * config.h: Copied from Source/JavaScriptCore/config.h.
5088         * icu: Added.
5089         * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE.
5090         * icu/README: Copied from Source/JavaScriptCore/icu/README.
5091         * icu/unicode: Added.
5092         * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h.
5093         * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h.
5094         * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h.
5095         * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h.
5096         * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h.
5097         * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h.
5098         * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h.
5099         * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h.
5100         * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h.
5101         * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h.
5102         * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h.
5103         * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h.
5104         * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h.
5105         * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h.
5106         * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h.
5107         * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h.
5108         * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h.
5109         * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h.
5110         * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h.
5111         * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h.
5112         * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h.
5113         * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h.
5114         * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h.
5115
5116 2011-11-03  Adam Barth  <abarth@webkit.org>
5117
5118         Add Stub.h and Stub.cpp to Source-level WTF project
5119         https://bugs.webkit.org/show_bug.cgi?id=71497
5120
5121         Reviewed by Eric Seidel.
5122
5123         This patch adds some stub files and a skelton GYP build file as a
5124         starting point for the new Source-level WTF project.  Other build
5125         systems and actual code will arrive in future patches.
5126
5127         * Stub.cpp: Added.
5128         * Stub.h: Added.
5129         * WTF.gyp/WTF.gyp: Added.
5130         * WTF.gypi: Added.
5131
5132 2011-11-02  Adam Barth  <abarth@webkit.org>
5133
5134         Add stubs for WTF and Platform
5135         https://bugs.webkit.org/show_bug.cgi?id=71492
5136
5137         Reviewed by Eric Seidel.
5138
5139         This patch creates the WTF directory, which begins the process of
5140         moving WTF out of JavaScriptCore.