Merge "Remove setAccurateVisibleContentsPosition codes because it is not needed anymo...
[framework/web/webkit-efl.git] / Source / WTF / ChangeLog
1 2012-11-07  Christophe Dumez  <christophe.dumez@intel.com>
2
3         Add replaceWithLiteral() method to WTF::String
4         https://bugs.webkit.org/show_bug.cgi?id=101257
5
6         Reviewed by Benjamin Poulain.
7
8         Add replaceWithLiteral() method to WTF::String that takes
9         replacement string as a literal to avoid uselessly constructing
10         a String object.
11
12         * wtf/text/StringImpl.cpp:
13         (WTF::StringImpl::replace):
14         (WTF):
15         * wtf/text/StringImpl.h:
16         (WTF::StringImpl::replace):
17         (StringImpl):
18         * wtf/text/WTFString.h:
19         (String):
20         (WTF::String::replaceWithLiteral):
21
22 2012-09-09  Mark Lam  <mark.lam@apple.com>
23
24         Fixed ASSERT() and ASSERT_AT() macros so that they can be used in
25         comma expressions. Also, added UNUSED_LABEL().
26         https://bugs.webkit.org/show_bug.cgi?id=96127.
27
28         Reviewed by Geoffrey Garen.
29
30         * wtf/Assertions.h:
31         * wtf/UnusedParam.h: Added UNUSED_LABEL(). Removed an obsolete comment.
32
33 2012-09-07  Sheriff Bot  <webkit.review.bot@gmail.com>
34
35         Unreviewed, rolling out r127938.
36         http://trac.webkit.org/changeset/127938
37         https://bugs.webkit.org/show_bug.cgi?id=96166
38
39         It broke the build (Requested by smfr on #webkit).
40
41         * wtf/Assertions.h:
42
43 2012-09-07  Mark Lam  <mark.lam@apple.com>
44
45         Fixed ASSERT() and ASSERT_AT() macros so that they can be used in
46         comma expressions.
47         https://bugs.webkit.org/show_bug.cgi?id=96127.
48
49         Reviewed by Filip Pizlo.
50
51         * wtf/Assertions.h:
52         (wtfAssert):
53
54 2012-09-01  Mark Lam  <mark.lam@apple.com>
55
56         LLInt C loop backend.
57         https://bugs.webkit.org/show_bug.cgi?id=91052.
58
59         Reviewed by Filip Pizlo.
60
61         Added configs for the llint C loop backend.
62
63         * wtf/Platform.h:
64
65 2012-08-30  Mark Lam  <mark.lam@apple.com>
66
67         Render unto #ifdef's that which belong to them.
68         https://bugs.webkit.org/show_bug.cgi?id=95482.
69
70         Reviewed by Filip Pizlo.
71
72         * wtf/Platform.h: Added ENABLE(COMPUTED_GOTO_OPCODES).
73
74 2012-07-28  Patrick Gansterer  <paroga@webkit.org>
75
76         [WIN] Add missing export macro to friend decleration.
77
78         Since the __declspec is part of the function signature
79         on windows, we need it at all friend declerations too.
80
81         * wtf/MediaTime.h:
82
83 2012-07-28  Patrick Gansterer  <paroga@webkit.org>
84
85         [CMake] Add missing MediaTime files after r123878.
86
87         * wtf/CMakeLists.txt:
88
89 2012-07-28  Patrick Gansterer  <paroga@webkit.org>
90
91         Remove obsolete functions from WTF::Unicode
92         https://bugs.webkit.org/show_bug.cgi?id=92571
93
94         Reviewed by Kentaro Hara.
95
96         Remove hasLineBreakingPropertyComplexContextOrIdeographic() and digitValue(),
97         since they are never used and defined for a few Unicode backends only.
98
99         * wtf/unicode/glib/UnicodeGLib.h:
100         * wtf/unicode/icu/UnicodeIcu.h:
101
102 2012-07-27  Sheriff Bot  <webkit.review.bot@gmail.com>
103
104         Unreviewed, rolling out r123679.
105         http://trac.webkit.org/changeset/123679
106         https://bugs.webkit.org/show_bug.cgi?id=92565
107
108         Slowed down HTML parsing by 3.6% (Requested by abarth on
109         #webkit).
110
111         * wtf/text/WTFString.h:
112
113 2012-07-27  Arnaud Renevier  <a.renevier@sisa.samsung.com>
114
115         use createUninitialized when creating TypedArray from another array
116         https://bugs.webkit.org/show_bug.cgi?id=92518
117
118         Reviewed by Kenneth Russell.
119
120         Expose a createUninitialized static method on TypedArray classes.
121
122         * wtf/Float32Array.h:
123         (Float32Array):
124         (WTF::Float32Array::createUninitialized):
125         (WTF):
126         * wtf/Float64Array.h:
127         (Float64Array):
128         (WTF::Float64Array::createUninitialized):
129         (WTF):
130         * wtf/Int16Array.h:
131         (Int16Array):
132         (WTF::Int16Array::createUninitialized):
133         (WTF):
134         * wtf/Int32Array.h:
135         (Int32Array):
136         (WTF::Int32Array::createUninitialized):
137         (WTF):
138         * wtf/Int8Array.h:
139         (Int8Array):
140         (WTF::Int8Array::createUninitialized):
141         (WTF):
142         * wtf/Uint16Array.h:
143         (Uint16Array):
144         (WTF::Uint16Array::createUninitialized):
145         (WTF):
146         * wtf/Uint32Array.h:
147         (Uint32Array):
148         (WTF::Uint32Array::createUninitialized):
149         (WTF):
150         * wtf/Uint8Array.h:
151         (Uint8Array):
152         (WTF::Uint8Array::createUninitialized):
153         (WTF):
154         * wtf/Uint8ClampedArray.h:
155         (Uint8ClampedArray):
156
157 2012-07-27  Patrick Gansterer  <paroga@webkit.org>
158
159         [WINCE] Use macros from ICU instead of defining the same functionality again
160         https://bugs.webkit.org/show_bug.cgi?id=92530
161
162         Reviewed by Ryosuke Niwa.
163
164         Replace isHighSurrogate() with U16_IS_LEAD(), isLowSurrogate() with
165         U16_IS_TRAIL() and surrogateToUcs4() with U16_GET_SUPPLEMENTARY().
166
167         * wtf/unicode/wince/UnicodeWinCE.h:
168
169 2012-07-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
170
171         [Qt] Fix build after r123917
172         https://bugs.webkit.org/show_bug.cgi?id=92555
173
174         Unreviewed.
175
176         * wtf/GregorianDateTime.h: Needs string.h for memset().
177
178 2012-07-27  Paweł Forysiuk  <tuxator@o2.pl>
179
180         MinGW build fails because of missing header in GregorianDateTime.h
181         https://bugs.webkit.org/show_bug.cgi?id=92531
182
183         * wtf/GregorianDateTime.h: Include time.h
184
185 2012-07-27  Jer Noble  <jer.noble@apple.com>
186
187         Unreviewed build fix.
188
189         Use MathExtras.h and the non std:: versions of isnan and signbit.
190
191         * wtf/MediaTime.cpp:
192         (WTF::MediaTime::createWithFloat):
193         (WTF::MediaTime::createWithDouble):
194
195 2012-07-27  Jer Noble  <jer.noble@apple.com>
196
197         Support a rational time class for use by media elements.
198         https://bugs.webkit.org/show_bug.cgi?id=88787
199
200         Reviewed by Eric Carlson.
201
202         Add a new MediaTime class which implements rational math operations.
203
204         Add common constructors and assignment operators:
205         * wtf/MediaTime.cpp: Added.
206         (WTF::MediaTime::MediaTime):
207         (WTF::MediaTime::~MediaTime):
208         (WTF::MediaTime::operator=):
209
210         Add common math operators:
211         * wtf/MediaTime.cpp:
212         (WTF::MediaTime::operator+):
213         (WTF::MediaTime::operator-):
214         (WTF::MediaTime::operator<):
215         (WTF::MediaTime::operator>):
216         (WTF::MediaTime::operator==):
217         (WTF::MediaTime::operator>=):
218         (WTF::MediaTime::operator<=):
219
220         Add functions to check the MeiaTime time type flags:
221         * wtf/MediaTime.h:
222         (WTF::MediaTime::isValid):
223         (WTF::MediaTime::isInvalid):
224         (WTF::MediaTime::hasBeenRounde):
225         (WTF::MediaTime::isPositiveInfinite):
226         (WTF::MediaTime::isNegativeInfinite):
227         (WTF::MediaTime::isIndefinite):
228
229         Add constants for commonly used MediaTime values:
230         (WTF::MediaTime::zeroTime):
231         (WTF::MediaTime::invalidTime):
232         (WTF::MediaTime::positiveInfiniteTime):
233         (WTF::MediaTime::negativeInfiniteTime):
234         (WTF::MediaTime::indefiniteTime):
235
236         Add explicit conversion functions to convert to and from floating point values.
237         * wtf/MediaTime.cpp:
238         (WTF::MediaTime::createWithFloat):
239         (WTF::MediaTime::createWithDouble):
240         (WTF::MediaTime::toFloat):
241         (WTF::MediaTime::toDouble):
242
243         Add some useful exported functions:
244         * wtf/MediaTime.cpp:
245         (WTF::MediaTime::compare): Master function for the comparison operators above.
246         (WTF::MediaTime::setTimeScale): Rescale the time value to a new time scale.
247         (WTF::abs): Return an absolute value for the current MediaTime.
248
249         Static utility functions to implement the above:
250         * wtf/MediaTime.cpp:
251         (WTF::greatestCommonDivisor):
252         (WTF::leastCommonMultiple):
253         (WTF::signum):
254
255         Windows-only implementations of isinf and signbit:
256         * wtf/MediaTime.cpp:
257         (std::isinf):
258         (std::signbit):
259
260         Add the new class to platform build files:
261         * GNUmakefile.list.am:
262         * WTF.gypi:
263         * WTF.pro:
264         * WTF.vcproj/WTF.vcproj:
265         * WTF.xcodeproj/project.pbxproj:
266
267 2012-07-27  Wei James  <james.wei@intel.com>
268
269         set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
270         https://bugs.webkit.org/show_bug.cgi?id=91746
271
272         Reviewed by Adam Barth.
273
274         This patch is part of efforts to enable web audio for chromium android.
275         Web audio component needs to use atomicIncrement and atomicDecrement,
276         which are enabled by this MACRO.
277
278         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
279         this patch standalone.
280
281         * wtf/Atomics.h:
282         (WTF):
283
284 2012-07-27  Wei James  <james.wei@intel.com>
285
286         set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
287         https://bugs.webkit.org/show_bug.cgi?id=91746
288
289         Reviewed by Adam Barth.
290
291         This patch is part of efforts to enable web audio for chromium android.
292         Web audio component needs to use atomicIncrement and atomicDecrement,
293         which are enabled by this MACRO.
294
295         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
296         this patch standalone.
297
298         * wtf/Atomics.h:
299         (WTF):
300
301 2012-07-26  Arnaud Renevier  <a.renevier@sisa.samsung.com>
302
303         constructing TypedArray from another TypedArray is slow
304         https://bugs.webkit.org/show_bug.cgi?id=90838
305
306         Reviewed by Kenneth Russell.
307
308         Introduce virtual method getType on ArrayBufferView. It returns the actual
309         type of the view. This method replaces previous is<Type>Array() methods.
310
311         * wtf/ArrayBufferView.h:
312         * wtf/Float32Array.h:
313         (WTF::Float32Array::getType):
314         (Float32Array):
315         * wtf/Float64Array.h:
316         (WTF::Float64Array::getType):
317         (Float64Array):
318         * wtf/Int16Array.h:
319         (WTF::Int16Array::getType):
320         (Int16Array):
321         * wtf/Int32Array.h:
322         (WTF::Int32Array::getType):
323         (Int32Array):
324         * wtf/Int8Array.h:
325         (WTF::Int8Array::getType):
326         (Int8Array):
327         * wtf/IntegralTypedArrayBase.h:
328         * wtf/TypedArrayBase.h:
329         (TypedArrayBase):
330         (WTF::TypedArrayBase::item):
331         * wtf/Uint16Array.h:
332         (WTF::Uint16Array::getType):
333         (Uint16Array):
334         * wtf/Uint32Array.h:
335         (WTF::Uint32Array::getType):
336         (Uint32Array):
337         * wtf/Uint8Array.h:
338         (WTF::Uint8Array::getType):
339         (Uint8Array):
340         * wtf/Uint8ClampedArray.h:
341         (WTF::Uint8ClampedArray::getType):
342         (Uint8ClampedArray):
343
344 2012-07-26  Zeno Albisser  <zeno@webkit.org>
345
346         [Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
347         https://bugs.webkit.org/show_bug.cgi?id=88638
348
349         Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
350         the servicing of scripted animations to layer syncing for WK2.
351         For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
352
353         Reviewed by Jocelyn Turcotte.
354
355         * wtf/Platform.h:
356
357 2012-07-26  Yury Semikhatsky  <yurys@chromium.org>
358
359         Unreviewed. Revert r123740 as it breaks AppleMac compilation.
360
361         * wtf/text/StringImpl.cpp:
362         * wtf/text/StringImpl.h:
363
364 2012-07-26  Yury Semikhatsky  <yurys@chromium.org>
365
366         Web Inspector: move StringImpl size calculation to StringImpl
367         https://bugs.webkit.org/show_bug.cgi?id=92359
368
369         Reviewed by Pavel Feldman.
370
371         Moved stringSize(StringImpl*) implementation from InspectorMemoryAgent to
372         StringImpl::sizeInBytes();
373
374         * wtf/text/StringImpl.cpp:
375         (WTF::StringImpl::sizeInBytes):
376         (WTF):
377         * wtf/text/StringImpl.h:
378         (StringImpl):
379
380 2012-07-25  Benjamin Poulain  <bpoulain@apple.com>
381
382         Initialize QualifiedName's strings from the read only data segment
383         https://bugs.webkit.org/show_bug.cgi?id=92226
384
385         Reviewed by Anders Carlsson.
386
387         Add constructors for StringImpl and AtomicString to be able to create
388         the strings from the literal in read only memory.
389
390         * wtf/text/AtomicString.cpp:
391         (HashTranslatorCharBuffer):
392         (WTF::LCharBufferFromLiteralDataTranslator::hash):
393         (LCharBufferFromLiteralDataTranslator):
394         (WTF::LCharBufferFromLiteralDataTranslator::equal):
395         (WTF::LCharBufferFromLiteralDataTranslator::translate):
396         (WTF::AtomicString::addFromLiteralData):
397         * wtf/text/AtomicString.h:
398         (WTF::AtomicString::AtomicString):
399         (AtomicString):
400         * wtf/text/StringImpl.cpp:
401         (WTF::StringImpl::createFromLiteral):
402         * wtf/text/StringImpl.h:
403         (WTF):
404         (StringImpl):
405         (WTF::StringImpl::createFromLiteral):
406
407 2012-07-25  Michael Saboff  <msaboff@apple.com>
408
409         Convert HTML parser to handle 8-bit resources without converting to UChar*
410         https://bugs.webkit.org/show_bug.cgi?id=90321
411
412         Reviewed by Geoffrey Garen.
413
414         * wtf/text/WTFString.h:
415         (WTF::String::dataSize): New method to return the number of bytes 
416         the string requires.  This replaces a harcoded calculation based on
417         length and sizeof(UChar).
418
419 2012-07-25  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
420
421         Create a specialized pair for use in HashMap iterators
422         https://bugs.webkit.org/show_bug.cgi?id=92137
423
424         Reviewed by Ryosuke Niwa.
425
426         The type used for internal storage in HashMap is exposed in its interface as iterator
427         "contents". Currently HashMap uses std::pair<>, which this patch replaces with
428         KeyValuePair.
429
430         Having this specialized structure will allow us to customize the members to be called
431         key/value, improving readability in code using HashMap iterators. They are still called
432         first/second to separate this change from the mechanical change of updating callsites.
433
434         * wtf/HashIterators.h:
435         (HashTableConstKeysIterator):
436         (HashTableConstValuesIterator):
437         (HashTableKeysIterator):
438         (HashTableValuesIterator):
439         Use KeyValuePair instead of std::pair when defining the iterators.
440
441         * wtf/HashMap.h:
442         (WTF):
443         (WTF::KeyValuePairKeyExtractor::extract):
444         (HashMap):
445         Remove PairFirstExtractor. Add and use the KeyValuePair corresponding extractor.
446
447         (WTF::HashMapValueTraits::isEmptyValue): Use KeyValuePairHashTraits for HashMaps.
448         (WTF::HashMapTranslator::translate):
449         (WTF::HashMapTranslatorAdapter::translate):
450         The traits of the mapped value is now called ValueTraits instead of SecondTraits.
451
452         * wtf/HashTable.h:
453         (WTF::hashTableSwap): Add specialization for swapping KeyValuePairs.
454         (WTF): Remove now unneeded specialization for std::pairs.
455
456         * wtf/HashTraits.h:
457         (KeyValuePair):
458         (WTF::KeyValuePair::KeyValuePair):
459         (WTF):
460         Specialized pair. In the future difference from pair should be the member names.
461
462         (KeyValuePairHashTraits):
463         (WTF::KeyValuePairHashTraits::emptyValue):
464         (WTF::KeyValuePairHashTraits::constructDeletedValue):
465         (WTF::KeyValuePairHashTraits::isDeletedValue):
466         These traits are analogous to PairHashTraits but for KeyValuePair.
467
468         * wtf/RefPtrHashMap.h: Use KeyValuePairHashTraits.
469
470 2012-07-25  Andrew Wilson  <atwilson@chromium.org>
471
472         Unreviewed, rolling out r123560.
473         http://trac.webkit.org/changeset/123560
474         https://bugs.webkit.org/show_bug.cgi?id=90321
475
476         Breaks chromium valgrind tests.
477
478         * wtf/text/WTFString.h:
479
480 2012-07-25  Csaba Osztrogonác  <ossy@webkit.org>
481
482         [Qt] There are parallel GC related crashes regularly
483         https://bugs.webkit.org/show_bug.cgi?id=90957
484
485         Rubber-stamped by Zoltan Herczeg.
486
487         * wtf/Platform.h: Disable parallel GC temporarily on Qt until proper fix.
488
489 2012-07-24  Benjamin Poulain  <bpoulain@apple.com> && Joseph Pecoraro  <pecoraro@apple.com>
490
491         QualifiedName's HashSet should be big enough to hold at least all the static names
492         https://bugs.webkit.org/show_bug.cgi?id=91891
493
494         Reviewed by Darin Adler.
495
496         Add a static struct to compute the HashTable capacity for any given size at compile time.
497         This allow us to create HashTraits giving the minimumSize without hardcoding the values.
498
499         * wtf/HashTable.h:
500         (OneifyLowBits):
501         (UpperPowerOfTwoBound):
502         (HashTableCapacityForSize): Compute the HashTable capacity at compile time.
503
504 2012-07-24  Michael Saboff  <msaboff@apple.com>
505
506         Convert HTML parser to handle 8-bit resources without converting to UChar*
507         https://bugs.webkit.org/show_bug.cgi?id=90321
508
509         Reviewed by Geoffrey Garen.
510
511         * wtf/text/WTFString.h:
512         (WTF::String::dataSize): New method to return the number of bytes 
513         the string requires.  This replaces a harcoded calculation based on
514         length and sizeof(UChar).
515
516 2012-07-24  Sam Weinig  <sam@webkit.org>
517
518         Add per-HashTable stats
519         https://bugs.webkit.org/show_bug.cgi?id=92185
520
521         Reviewed by Anders Carlsson.
522
523         Add per-HashTable stats, so we can look at the effectiveness of an individual HashTable.
524
525         * wtf/HashTable.h:
526         (WTF::HashTable::Stats::Stats):
527         Add a HashTable::Stats to hold the stats.
528
529         (WTF::HashTable::Stats::recordCollisionAtCount):
530         (WTF::HashTable::Stats::dumpStats):
531         Add versions of recordCollisionAtCount and dumpStats for per-HashTable version.
532
533         (WTF::HashTable):
534         Keep the stats, if enabled, in an OwnPtr, to not blow JSCell max size restrictions.
535
536         (WTF::lookup):
537         (WTF::lookupForWriting):
538         (WTF::fullLookupForWriting):
539         (WTF::add):
540         (WTF::reinsert):
541         (WTF::remove):
542         (WTF::rehash):
543         Keep track of the stats as the table is used.
544
545 2012-07-24  Patrick Gansterer  <paroga@webkit.org>
546
547         Store the full year in GregorianDateTime
548         https://bugs.webkit.org/show_bug.cgi?id=92067
549
550         Reviewed by Geoffrey Garen.
551
552         Use the full year instead of the offset from year 1900 
553         for the year member variable of GregorianDateTime.
554
555         * wtf/GregorianDateTime.h:
556         (WTF::GregorianDateTime::operator tm):
557
558 2012-07-23  Patrick Gansterer  <paroga@webkit.org>
559
560         Move GregorianDateTime from JSC to WTF namespace
561         https://bugs.webkit.org/show_bug.cgi?id=91948
562
563         Reviewed by Geoffrey Garen.
564
565         Moving GregorianDateTime into the WTF namespace allows us to us to
566         use it in WebCore too. The new class has the same behaviour as the
567         old struct. Only the unused timeZone member has been removed.
568
569         * GNUmakefile.list.am:
570         * WTF.gypi:
571         * WTF.pro:
572         * WTF.vcproj/WTF.vcproj:
573         * WTF.xcodeproj/project.pbxproj:
574         * wtf/CMakeLists.txt:
575         * wtf/GregorianDateTime.h: Added.
576         (GregorianDateTime):
577
578 2012-07-23  Rob Buis  <rbuis@rim.com>
579
580         [BlackBerry] Merge createThreadInternal implementations
581         https://bugs.webkit.org/show_bug.cgi?id=91899
582
583         Reviewed by Yong Li.
584
585         PR 111675
586
587         Remove our implementation since the default thread stack size on QNX is fine.
588
589         * wtf/ThreadingPthreads.cpp:
590         (WTF::createThreadInternal):
591         (WTF::initializeCurrentThreadInternal): make sure we set the thread name.
592
593 2012-07-23  Patrick Gansterer  <paroga@webkit.org>
594
595         [WINCE] Define NOMINMAX in the build system instead of Platform.h
596         https://bugs.webkit.org/show_bug.cgi?id=91938
597
598         Reviewed by Ryosuke Niwa.
599
600         * wtf/Platform.h:
601
602 2012-07-23  Patrick Gansterer  <paroga@webkit.org>
603
604         Build fix for Windows after r123317.
605
606         * wtf/DateMath.cpp: Added missing header include.
607
608 2012-07-23  Patrick Gansterer  <paroga@webkit.org>
609
610         [WIN] Use GetTimeZoneInformation() for calculateUTCOffset()
611         https://bugs.webkit.org/show_bug.cgi?id=91935
612
613         Reviewed by Ryosuke Niwa.
614
615         GetTimeZoneInformation() returns the offset directly. Using it
616         avoids unnecessary calculations and remove dependencies on
617         other time related function, which do not exist on WinCE.
618
619         * wtf/DateMath.cpp:
620         (WTF::calculateUTCOffset):
621
622 2012-07-20  Han Shen  <shenhan@google.com>
623
624         [Chromium] Compilation fails under gcc 4.7
625         https://bugs.webkit.org/show_bug.cgi?id=90227
626
627         Reviewed by Tony Chang.
628
629         Disable warnings about c++0x compatibility in gcc newer than 4.6.
630
631         * WTF.gyp/WTF.gyp:
632
633 2012-07-19  Dan Bernstein  <mitz@apple.com>
634
635         The ATSUI-based complex text code is unused
636         https://bugs.webkit.org/show_bug.cgi?id=91816
637
638         Reviewed by Sam Weinig.
639
640         Removed definitions of WTF_USE_ATSUI and WTF_USE_CORE_TEXT.
641
642         * wtf/Platform.h:
643
644 2012-07-19  Wei James  <james.wei@intel.com>
645
646         enable Web Audio for chromium android port
647         https://bugs.webkit.org/show_bug.cgi?id=89428
648
649         Reviewed by Kenneth Russell.
650
651         * wtf/MathExtras.h:
652         (log2):
653         (log2f):
654
655 2012-07-19  Scott Graham  <scottmg@chromium.org>
656
657         [Chromium] disable warning on Windows from gcc-only pragma in Assertions.cpp"
658         https://bugs.webkit.org/show_bug.cgi?id=91776
659
660         Reviewed by Ryosuke Niwa.
661
662         Avoids:
663             ...\source\wtf\wtf\assertions.cpp(31) : warning C4068: unknown pragma
664
665         * WTF.gyp/WTF.gyp:
666
667 2012-07-19  Robert Sesek  <rsesek@chromium.org>
668
669         [chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
670         https://bugs.webkit.org/show_bug.cgi?id=91752
671
672         Reviewed by Eric Seidel.
673
674         When building CHROMIUM && DARWIN, do not enable ATSUI support.
675
676         * wtf/Platform.h:
677
678 2012-07-18  Yong Li  <yoli@rim.com>
679
680         [BlackBerry] Implement currentTime() and monotonicallyIncreasingTime() for OS(QNX)
681         https://bugs.webkit.org/show_bug.cgi?id=91659
682
683         Reviewed by Rob Buis.
684
685         Implement currentTime() and monotonicallyIncreasingTime() for OS(QNX) with clock_gettime().
686
687         * wtf/CurrentTime.cpp:
688         (WTF):
689         (WTF::currentTime):
690         (WTF::monotonicallyIncreasingTime):
691
692 2012-07-18  Tom Sepez  <tsepez@chromium.org>
693
694         OOB read of stack buffer below DoubleToStringConverter::CreateExponentialRepresentation() in debug builds
695         https://bugs.webkit.org/show_bug.cgi?id=91642
696
697         Reviewed by Abhishek Arya.
698
699         * wtf/dtoa/double-conversion.cc:
700         (DoubleToStringConverter::CreateExponentialRepresentation): NUL-terminate string buffer before passing it to StringBuilder::AddSubstring()
701         
702 2012-07-18  Michael Saboff  <msaboff@apple.com>
703
704         Make TextCodecLatin1 handle 8 bit data without converting to UChar's
705         https://bugs.webkit.org/show_bug.cgi?id=90319
706
707         Reviewed by Oliver Hunt.
708
709         * wtf/text/StringImpl.h:
710         (StringImpl): Exported LChar variant of adopt().
711         * wtf/text/WTFString.h:
712         (WTF::String::createUninitialized): Exported LChar variant.
713
714 2012-07-18  Rob Buis  <rbuis@rim.com>
715
716         Alignment crash in MIMESniffer
717         https://bugs.webkit.org/show_bug.cgi?id=89787
718
719         Reviewed by Yong Li.
720
721         PR 169064
722
723         Change isPointerTypeAlignmentOkay so calling it does not require ifdefs.
724
725         * wtf/StdLibExtras.h:
726         (isPointerTypeAlignmentOkay):
727
728 2012-07-17  Gabor Ballabas  <gaborb@inf.u-szeged.hu>
729
730         [Qt][V8] Remove the V8 related codepaths and configuration
731         https://bugs.webkit.org/show_bug.cgi?id=90863
732
733         Reviewed by Simon Hausmann.
734
735         * WTF.pri:
736
737 2012-07-17  Sheriff Bot  <webkit.review.bot@gmail.com>
738
739         Unreviewed, rolling out r122834.
740         http://trac.webkit.org/changeset/122834
741         https://bugs.webkit.org/show_bug.cgi?id=91492
742
743         it broke the chromium (Requested by kkristof on #webkit).
744
745         * WTF.pri:
746
747 2012-07-17  Gabor Ballabas  <gaborb@inf.u-szeged.hu>
748
749         [Qt][V8] Remove the V8 related codepaths and configuration
750         https://bugs.webkit.org/show_bug.cgi?id=90863
751
752         Reviewed by Simon Hausmann.
753
754         * WTF.pri:
755
756 2012-07-16  Hajime Morrita  <morrita@chromium.org>
757
758         WebCore needs WEBCORE_TESTING macro to mark methods being exported for testing.
759         https://bugs.webkit.org/show_bug.cgi?id=90764
760
761         Reviewed by Adam Barth.
762
763         Added USE(EXPORT_MACROS_FOR_TESTING) and enabled it on GTK and Windows.
764
765         * wtf/ExportMacros.h:
766         * wtf/Platform.h:
767
768 2012-07-16  Filip Pizlo  <fpizlo@apple.com>
769
770         Unreviewed build fix.
771
772         * wtf/FastMalloc.cpp:
773         (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
774
775 2012-07-16  Adam Treat  <atreat@rim.com>
776
777         [BlackBerry] Use newer version of platform API to implement callOnMainThread
778         https://bugs.webkit.org/show_bug.cgi?id=91404
779
780         Reviewed by Yong Li.
781
782         Right now we're using an outdated API that involves a virtual function call for no reason.
783         Use the new API that is much more direct and to the point.
784
785         * wtf/blackberry/MainThreadBlackBerry.cpp:
786         (WTF::scheduleDispatchFunctionsOnMainThread):
787
788 2012-07-14  Filip Pizlo  <fpizlo@apple.com>
789
790         Unreviewed, build fix.
791
792         * wtf/Assertions.cpp:
793         * wtf/Platform.h:
794         * wtf/unicode/icu/CollatorICU.cpp:
795         (WTF::Collator::userDefault):
796
797 2012-07-13  Xianzhu Wang  <wangxianzhu@chromium.org>
798
799         Move WebCore/platform/text/Base64 to WTF/wtf/text
800         https://bugs.webkit.org/show_bug.cgi?id=91162
801
802         Reviewed by Adam Barth.
803
804         * GNUmakefile.list.am:
805         * WTF.gypi:
806         * WTF.pro:
807         * WTF.vcproj/WTF.vcproj:
808         * WTF.xcodeproj/project.pbxproj:
809         * wtf/CMakeLists.txt:
810         * wtf/text/Base64.cpp: Renamed from Source/WebCore/platform/text/Base64.cpp.
811         (WTF):
812         (WTF::base64Encode):
813         (WTF::base64Decode):
814         (WTF::base64DecodeInternal):
815         * wtf/text/Base64.h: Renamed from Source/WebCore/platform/text/Base64.h.
816         (WTF):
817         (WTF::base64Encode):
818
819 2012-07-12  Carlos Garcia Campos  <cgarcia@igalia.com>
820
821         [GTK] Add API to get HTTPS status to WebKit2 GTK+
822         https://bugs.webkit.org/show_bug.cgi?id=91100
823
824         Reviewed by Martin Robinson.
825
826         Add support for GByteArray.
827
828         * wtf/gobject/GRefPtr.cpp:
829         (WTF::refGPtr):
830         (WTF):
831         (WTF::derefGPtr):
832         * wtf/gobject/GRefPtr.h:
833         (WTF):
834         * wtf/gobject/GTypedefs.h:
835
836 2012-07-12  Maciej Stachowiak  <mjs@apple.com>
837
838         Document ListHashSet iteration guarantees
839         https://bugs.webkit.org/show_bug.cgi?id=91106
840
841         Reviewed by Eric Seidel.
842
843         * wtf/ListHashSet.h:
844         (WTF): Expand class comment to document this.
845
846 2012-07-11  Mark Rowe  <mrowe@apple.com>
847
848         <http://webkit.org/b/91024> Build against the latest SDK when targeting older OS X versions.
849
850         Reviewed by Dan Bernstein.
851
852         The deployment target is already set to the version that we're targeting, and it's that setting
853         which determines which functionality from the SDK is available to us.
854
855         * Configurations/Base.xcconfig:
856
857 2012-07-11  Mark Rowe  <mrowe@apple.com>
858
859         Replace definitions of BUILDING_ON / TARGETING macros with macros that will error when used.
860
861         Part of <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros.
862
863         Reviewed by Anders Carlsson.
864
865         * wtf/Platform.h:
866
867 2012-07-11  Mark Rowe  <mrowe@apple.com>
868
869         Switch a few cases that care about the SDK over to checking __MAC_OS_X_VERSION_MAX_ALLOWED so that things build.
870
871         Part of <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
872
873         Reviewed by Filip Pizlo.
874
875         * wtf/FastMalloc.cpp:
876         (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary): The SDK we're building against determines how many elements
877         the structure is declared as having.
878
879 2012-07-11  Mark Rowe  <mrowe@apple.com>
880
881         <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
882
883         This removal was handled by a script that translates the relevant macros in to the equivalent checks
884         using the system availability macros.
885
886         Reviewed by Filip Pizlo.
887
888         * wtf/Assertions.cpp:
889         * wtf/FastMalloc.cpp:
890         * wtf/Platform.h:
891         * wtf/ThreadingPthreads.cpp:
892         * wtf/unicode/icu/CollatorICU.cpp:
893
894 2012-07-11  Anders Carlsson  <andersca@apple.com>
895
896         Add -Wtautological-compare and -Wsign-compare warning flags
897         https://bugs.webkit.org/show_bug.cgi?id=90994
898
899         Reviewed by Mark Rowe.
900
901         * Configurations/Base.xcconfig:
902
903 2012-07-10  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
904
905         Re-enable __declspec(dl{import,export}) for MinGW when using EXPORT_MACROS
906         https://bugs.webkit.org/show_bug.cgi?id=90612
907
908         Reviewed by Csaba Osztrogonác.
909
910         MinGW was switched to use auto import/export of symbols on r44184.
911         From my understanding of the documentation, MinGW will not auto-export symbols
912         unless there are no explicit __declspec(dlexport) in the DLL already.
913
914         The issues that originally made us rely on the auto-import feature of MinGW
915         should now be resolved with the EXPORT_MACROS work. This patch re-enables them.
916
917         It also removes the GCC check for internal symbols hiding as the visibility should
918         already be hidden by default for both MSVC and GCC on Windows anyway.
919
920         * wtf/ExportMacros.h:
921
922 2012-07-09  No'am Rosenthal  <noam.rosenthal@nokia.com>
923
924         Shared code that is guarded with ENABLE(WEBGL) should be guarded with USE()
925         https://bugs.webkit.org/show_bug.cgi?id=90506
926
927         Reviewed by Martin Robinson.
928
929         Made USE(3D_GRAPHICS) default to true when ENABLE(WEBGL) is true.
930         Also updated the Qt default to always use TEXTURE_MAPPER, and to use TEXTURE_MAPPER_GL when
931         3D_GRAPHICS is used.
932
933         * wtf/Platform.h:
934
935 2012-07-08  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
936
937         Introduce a build flag for low quality JPEG images
938         https://bugs.webkit.org/show_bug.cgi?id=90748
939
940         Reviewed by Adam Barth.
941
942         Turn on the newly introduced flags for android.
943
944         * wtf/Platform.h:
945
946 2012-07-05  Filip Pizlo  <fpizlo@apple.com>
947
948         INLINE_ARM_FUNCTION(thingy) should make thingy be thumb2 if we're using thumb2
949         https://bugs.webkit.org/show_bug.cgi?id=90644
950
951         Reviewed by Mark Hahnenberg.
952         
953         Fix breakage introduced in http://trac.webkit.org/changeset/121885
954
955         * wtf/InlineASM.h:
956
957 2012-07-05  Zoltan Herczeg  <zherczeg@webkit.org>
958
959         Port DFG JIT to traditional ARM
960         https://bugs.webkit.org/show_bug.cgi?id=90198
961
962         Reviewed by Filip Pizlo.
963
964         Enabling DFG JIT on ARM systems with 32 bit instruction set.
965
966         * wtf/InlineASM.h:
967         * wtf/Platform.h:
968
969 2012-07-04  Andy Wingo  <wingo@igalia.com>
970
971         [GTK] Enable parallel GC
972         https://bugs.webkit.org/show_bug.cgi?id=90568
973
974         Reviewed by Martin Robinson.
975
976         * wtf/Platform.h: Add GTK to the ENABLE_PARALLEL_GC party.
977
978 2012-07-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
979
980         [Qt] Get rid of un-needed QT += declarative for Qt 5
981
982         The declarative module has been renamed to quick1 in Qt 5, and the
983         engine-only module for Qt 5 is named 'qml'. For many of the instances
984         we could just remove 'declarative', since the project file was only
985         used for Qt5/WebKit2 builds. In the other cases the module was wrapped
986         in a haveQt(4) scope.
987
988         Reviewed by Csaba Osztrogonác.
989
990         * WTF.pri:
991
992 2012-07-03  Yong Li  <yoli@rim.com>
993
994         [BlackBerry] Turn on DFGJIT in Platform.h
995         https://bugs.webkit.org/show_bug.cgi?id=90482
996
997         Set ENABLE_DFG_JIT for PLATFORM(BLACKBERRY).
998
999         Reviewed by Rob Buis.
1000
1001         * wtf/Platform.h:
1002
1003 2012-07-03  Tony Chang  <tony@chromium.org>
1004
1005         [chromium] Unreviewed, update .gitignore to handle VS2010 files.
1006
1007         * WTF.gyp/.gitignore:
1008
1009 2012-07-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1010
1011         [Qt] Make use of .qmake.cache for caching features
1012
1013         Instead of loading() features from the files that need them (and re-running
1014         a bunch of checks), we now run feature detection as part of configure.pro,
1015         and have build-webkit write the computed feature-defines and CONFIG to
1016         .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1017         when building WebKit.pro.
1018
1019         At some point we'll be able to selectivly prevent running of config tests
1020         in configure.pro, which means we don't need a separate code-path for
1021         the build-webkit --help case.
1022
1023         We should also move the code in build-webkit that now uses .webkit.config
1024         to detect clean builds, to use .qmake.cache, since we now store the same
1025         thing there.
1026
1027         Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1028
1029         Reviewed by Tor Arne Vestbø.
1030
1031         * WTF.pri:
1032
1033 2012-07-03  Sheriff Bot  <webkit.review.bot@gmail.com>
1034
1035         Unreviewed, rolling out r121766.
1036         http://trac.webkit.org/changeset/121766
1037         https://bugs.webkit.org/show_bug.cgi?id=90465
1038
1039         It caused flakey build errors on the bots (Requested by Ossy
1040         on #webkit).
1041
1042         * WTF.pri:
1043
1044 2012-07-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1045
1046         [Qt] Make use of .qmake.cache for caching features
1047
1048         Instead of loading() features from the files that need them (and re-running
1049         a bunch of checks), we now run feature detection as part of configure.pro,
1050         and have build-webkit write the computed feature-defines and CONFIG to
1051         .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1052         when building WebKit.pro.
1053
1054         At some point we'll be able to selectivly prevent running of config tests
1055         in configure.pro, which means we don't need a separate code-path for
1056         the build-webkit --help case.
1057
1058         We should also move the code in build-webkit that now uses .webkit.config
1059         to detect clean builds, to use .qmake.cache, since we now store the same
1060         thing there.
1061
1062         Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1063
1064         Reviewed by Tor Arne Vestbø.
1065
1066         * WTF.pri:
1067
1068 2012-07-03  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>  Joel Dillon <joel.dillon@codethink.co.uk>
1069
1070         [Qt][Win] Fix broken QtWebKit5.lib linking
1071         https://bugs.webkit.org/show_bug.cgi?id=88321
1072
1073         Reviewed by Kenneth Rohde Christiansen.
1074
1075         Instead of letting a module's headers know which other modules depend on them,
1076         have depending modules define explicitely that they want its symbols exported too.
1077
1078         JavaScriptCore should then be compiled with both BUILDING_JavaScriptCore and
1079         STATICALLY_LINKED_WITH_WTF.
1080
1081         * wtf/ExportMacros.h:
1082
1083 2012-06-29  Tony Chang  <tony@chromium.org>
1084
1085         Unreviewed, rolling out r121572.
1086         http://trac.webkit.org/changeset/121572
1087         https://bugs.webkit.org/show_bug.cgi?id=90249
1088
1089         Breaks Mac build since it depends on r121547, which was rolled
1090         out
1091
1092         * wtf/ThreadingPthreads.cpp:
1093         (WTF::initializeCurrentThreadInternal):
1094
1095 2012-06-29  Eric Seidel  <eric@webkit.org>
1096
1097         Remove BUILDING_ON_LEOPARD now that no ports build on Leopard
1098         https://bugs.webkit.org/show_bug.cgi?id=90249
1099
1100         Reviewed by Ryosuke Niwa.
1101
1102         * wtf/ThreadingPthreads.cpp:
1103         (WTF::initializeCurrentThreadInternal):
1104
1105 2012-06-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1106
1107         Unreviewed, rolling out r121529.
1108         http://trac.webkit.org/changeset/121529
1109         https://bugs.webkit.org/show_bug.cgi?id=90260
1110
1111         Failed to compile on Chromium WebKitMacBuilder (Requested by
1112         keishi on #webkit).
1113
1114         * wtf/FastMalloc.cpp:
1115         (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1116         * wtf/unicode/icu/CollatorICU.cpp:
1117         (WTF::Collator::userDefault):
1118
1119 2012-06-29  Eric Seidel  <eric@webkit.org>
1120
1121         Remove more BUILDING_ON_LEOPARD branches now that no port builds on Leopard
1122         https://bugs.webkit.org/show_bug.cgi?id=90252
1123
1124         Reviewed by Ryosuke Niwa.
1125
1126         * wtf/FastMalloc.cpp:
1127         (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1128         * wtf/unicode/icu/CollatorICU.cpp:
1129         (WTF::Collator::userDefault):
1130
1131 2012-06-29  Eric Seidel  <eric@webkit.org>
1132
1133         Remove more BUILDING_ON_LEOPARD usage in PLATFORM(MAC) code
1134         https://bugs.webkit.org/show_bug.cgi?id=85846
1135
1136         Reviewed by Adam Barth.
1137
1138         PLATFORM(MAC) has not supported Leopard for several months now.
1139         This change removes about 1/3 of the remaining BUILDING_ON_LEOPARD
1140         uses in the PLATFORM(MAC) codepaths.  PLATFORM(CHROMIUM) still
1141         supports BUILDING_ON_LEOPARD for now.
1142
1143         * wtf/Platform.h:
1144
1145 2012-06-28  Kalev Lember  <kalevlember@gmail.com>
1146
1147         ThreadingWin: Silence GCC compiler warnings
1148         https://bugs.webkit.org/show_bug.cgi?id=89491
1149
1150         Reviewed by Adam Roben.
1151
1152         * wtf/ThreadingWin.cpp:
1153         (WTF::createThreadInternal):
1154         (WTF::PlatformCondition::timedWait):
1155         (WTF::PlatformCondition::signal): Fix unused-but-set-variable
1156         warnings.
1157
1158 2012-06-26  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1159
1160         [Qt] Add missing heades to HEADERS
1161
1162         For JavaScriptCore there aren't any Qt specific files, so we include all
1163         headers for easy editing in Qt Creator.
1164
1165         Reviewed by Simon Hausmann.
1166
1167         * WTF.pro:
1168
1169 2012-06-25  Kent Tamura  <tkent@chromium.org>
1170
1171         Unreviewed, rolling out r121145.
1172         http://trac.webkit.org/changeset/121145
1173         https://bugs.webkit.org/show_bug.cgi?id=89847
1174
1175         Had an objection for the change.
1176
1177         * wtf/text/StringBuilder.h:
1178
1179 2012-06-25  Yong Li  <yoli@rim.com>
1180
1181         [BlackBerry] Add JSC statistics into about:memory
1182         https://bugs.webkit.org/show_bug.cgi?id=89779
1183
1184         Reviewed by Rob Buis.
1185
1186         Turn on WTF_USE_EXPORT_MACROS for BlackBerry port.
1187         This will make macros like JS_EXPORT_PRIVATE work without
1188         extra porting.
1189
1190         * wtf/Platform.h:
1191
1192 2012-06-25  Adam Barth  <abarth@webkit.org>
1193
1194         Use InterpolationLow on chromium-android
1195         https://bugs.webkit.org/show_bug.cgi?id=89849
1196
1197         Reviewed by Daniel Bates.
1198
1199         Introduce a USE macro to control image interpolation quality.
1200
1201         * wtf/Platform.h:
1202
1203 2012-06-25  Kent Tamura  <tkent@chromium.org>
1204
1205         Change the serialization format of form control state to make the code simple
1206         https://bugs.webkit.org/show_bug.cgi?id=89847
1207
1208         Reviewed by Hajime Morita.
1209
1210         * wtf/text/StringBuilder.h:
1211         (WTF::StringBuilder::appendEscaped): Added. This function adds the
1212         escaped form of the input string. e.g. if stiring="foo,bar" escape='\'
1213         special=',', the appended string is foo\,bar.
1214
1215 2012-06-24  Adam Barth  <abarth@webkit.org>
1216
1217         Remove USE(CHROMIUM_NET) because it is unused
1218         https://bugs.webkit.org/show_bug.cgi?id=89850
1219
1220         Reviewed by Eric Seidel.
1221
1222         I didn't see any mentions of CHROMIUM_NET when I grepped the Source
1223         directory. Also, this USE macro isn't defined on OS(DARWIN) or
1224         OS(ANDROID), which seems a bit odd given that Chromium uses the same
1225         network stack on all platforms.
1226
1227         * wtf/Platform.h:
1228
1229 2012-06-22  Peter Beverloo  <peter@chromium.org>
1230
1231         [Chromium] Disable c++0x compatibility warnings in JavaScriptCore.gyp when building for Android
1232         https://bugs.webkit.org/show_bug.cgi?id=88853
1233
1234         Reviewed by Steve Block.
1235
1236         The Android exclusions were necessary to fix a gyp generation error, as
1237         the gcc_version variable wasn't being defined for Android. Remove these
1238         exceptions when Chromium is able to define the gcc_version variable.
1239
1240         * WTF.gyp/WTF.gyp:
1241
1242 2012-06-18  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
1243
1244         Causes crashes in LLVMPipe
1245         https://bugs.webkit.org/show_bug.cgi?id=89358
1246
1247         Reviewed by Martin Robinson.
1248
1249         Change suggested by Dave Airlie and Xan Lopez.
1250
1251         * wtf/Platform.h: disable global fastMalloc for GTK+
1252
1253 2012-06-22  Mario Sanchez Prada  <msanchez@igalia.com>
1254
1255         Memory corruption on HashTable.h
1256         https://bugs.webkit.org/show_bug.cgi?id=88419
1257
1258         Reviewed by Martin Robinson.
1259
1260         Simplify definition of WTF_USE_PTHREADS and HAVE_PTHREAD_RWLOCK
1261         for the GTK platform using OS(LINUX) instead of HAVE(PTHREAD_H).
1262
1263         * wtf/Platform.h:
1264
1265 2012-06-21  Parth Patel  <parpatel@rim.com>
1266
1267         [Blackberry] BlackBerry::Platform::Settings::get() rename to BlackBerry::Platform::Settings::instance() to make it consistent with our other singletons
1268         https://bugs.webkit.org/show_bug.cgi?id=89684
1269
1270         Reviewed by Yong Li.
1271         
1272         Update setting instance access to use instance() instead of get().
1273
1274         * wtf/ThreadingPthreads.cpp:
1275         (WTF::createThreadInternal):
1276
1277 2012-06-21  Kalev Lember  <kalevlember@gmail.com>
1278
1279         [GTK] Fix NPAPI plugins on Windows
1280         https://bugs.webkit.org/show_bug.cgi?id=54531
1281
1282         Reviewed by Martin Robinson.
1283
1284         Define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH for the GTK+ port, and
1285         include OwnPtrWin.cpp in the list of files built on Windows.
1286
1287         * GNUmakefile.am:
1288         * GNUmakefile.list.am:
1289         * wtf/Platform.h:
1290
1291 2012-06-21  Balazs Kelemen  <kbalazs@webkit.org>
1292
1293         Compile error: 'bool std::isinf(float)' is not 'constexpr' with GCC 4.6 in C++11 mode
1294         https://bugs.webkit.org/show_bug.cgi?id=88721
1295
1296         Reviewed by Csaba Osztrogonác.
1297
1298         Don't define these as consexpr because with gcc 4.6
1299         they call non constexpr functions.
1300         * wtf/MathExtras.h:
1301         (std::wtf_isinf):
1302         (std::wtf_isnan):
1303
1304 2012-06-17  Filip Pizlo  <fpizlo@apple.com>
1305
1306         It should be possible to look at disassembly
1307         https://bugs.webkit.org/show_bug.cgi?id=89319
1308
1309         Reviewed by Sam Weinig.
1310         
1311         Made changes to Assertions.h to make it friendly to C code again.
1312         
1313         Added ENABLE(DISASSEMBLER) and USE(UDIS86) logic to Platform.h.
1314
1315         * wtf/Assertions.h:
1316         * wtf/Platform.h:
1317
1318 2012-06-19  Jon Honeycutt  <jhoneycutt@apple.com>
1319
1320         REGRESSION(r120552): Many tests timing out on Windows
1321         https://bugs.webkit.org/show_bug.cgi?id=89433
1322
1323         Reviewed by Andy Estes.
1324
1325         * wtf/CurrentTime.cpp:
1326         (WTF::lowResUTCTime):
1327         It looks like there were two bugs:
1328         1) the function was converting from 100ths of nanoseconds to seconds
1329            rather than 100s of nanoseconds to seconds by dividing by
1330            (nsPerSecond * 100) rather than (nsPerSecond / 100)
1331         2) the function should've been returning milliseconds, not seconds
1332
1333 2012-06-18  Tony Payne  <tpayne@chromium.org>
1334
1335         [chromium] Add iccjpeg and qcms to chromium port.
1336         https://bugs.webkit.org/show_bug.cgi?id=81974
1337
1338         * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1339         to each Chromium platform, excluding Android.
1340
1341         Reviewed by Adam Barth.
1342
1343 2012-06-18  Sheriff Bot  <webkit.review.bot@gmail.com>
1344
1345         Unreviewed, rolling out r120485 and r120582.
1346         http://trac.webkit.org/changeset/120485
1347         http://trac.webkit.org/changeset/120582
1348         https://bugs.webkit.org/show_bug.cgi?id=89345
1349
1350         chromeos tree breakage (Requested by morrita on #webkit).
1351
1352         * wtf/Platform.h:
1353
1354 2012-06-17  Patrick Gansterer  <paroga@webkit.org>
1355
1356         [WIN] Simplify implementation of currentTime()
1357         https://bugs.webkit.org/show_bug.cgi?id=83156
1358
1359         Reviewed by Brent Fulgham.
1360
1361         Use GetSystemTimeAsFileTime() instead of ftime().
1362         This avoids an unneeded call to the MS CRT and
1363         brings the Win/WinCE code closer together.
1364
1365         * wtf/CurrentTime.cpp:
1366         (WTF::lowResUTCTime):
1367         (WTF::currentTime):
1368
1369 2012-06-15  Tony Payne  <tpayne@chromium.org>
1370
1371         [chromium] Add iccjpeg and qcms to chromium port.
1372         https://bugs.webkit.org/show_bug.cgi?id=81974
1373
1374         * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1375         to each Chromium platform, excluding Android.
1376
1377         Reviewed by Adam Barth.
1378
1379 2012-06-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1380
1381         Unreviewed, rolling out r120393.
1382         http://trac.webkit.org/changeset/120393
1383         https://bugs.webkit.org/show_bug.cgi?id=89163
1384
1385         breaks cr-mac build (Requested by morrita on #webkit).
1386
1387         * wtf/Platform.h:
1388
1389 2012-06-14  Tony Payne  <tpayne@chromium.org>
1390
1391         [chromium] Add iccjpeg and qcms to chromium port.
1392         https://bugs.webkit.org/show_bug.cgi?id=81974
1393
1394         * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1395         to each Chromium platform, excluding Android.
1396
1397         Reviewed by Adam Barth.
1398
1399 2012-06-14  Yong Li  <yoli@rim.com>
1400
1401         [BlackBerry] Implement computeRAMSize for QNX
1402         https://bugs.webkit.org/show_bug.cgi?id=89110
1403
1404         Reviewed by Rob Buis.
1405
1406         * wtf/RAMSize.cpp:
1407         (WTF::computeRAMSize):
1408
1409 2012-06-14  Geoffrey Garen  <ggaren@apple.com>
1410
1411         ARMv7 should support spinlocks
1412         https://bugs.webkit.org/show_bug.cgi?id=88957
1413
1414         Reviewed by Darin Adler.
1415
1416         More info @ http://infocenter.arm.com/help/topic/
1417         com.arm.doc.genc007826/Barrier_Litmus_Tests_and_Cookbook_A08.pdf
1418
1419         * wtf/Atomics.h:
1420         (WTF::memoryBarrierAfterLock):
1421         (WTF::memoryBarrierBeforeUnlock): Added memory barrier primitives since
1422         ARMv7 has a weakly ordered memory model.
1423
1424         * wtf/Platform.h: Enabled compare-and-swap on Windows so our spinlock
1425         implementation would continue working on Windows.
1426
1427         * wtf/TCSpinLock.h:
1428         (TCMalloc_SpinLock::Lock):
1429         (TCMalloc_SpinLock::Unlock):
1430         (TCMalloc_SpinLock): Use our compare-and-swap helper function to avoid
1431         rewriting it in assembly here.
1432
1433         Added memory barriers since ARMv7 needs them.
1434
1435         Removed PPC support because our helper function doesn't support PPC.
1436
1437 2012-06-13  Arnaud Renevier  <arno@renevier.net>
1438
1439         make sure headers are included only once per file
1440         https://bugs.webkit.org/show_bug.cgi?id=88929
1441
1442         Reviewed by Kentaro Hara.
1443
1444         * wtf/FastMalloc.cpp:
1445         * wtf/MathExtras.h:
1446         * wtf/OSAllocator.h:
1447
1448 2012-06-13  Benjamin Poulain  <benjamin@webkit.org>
1449
1450         Implement the simple constructors WTFURL's KURL
1451         https://bugs.webkit.org/show_bug.cgi?id=85724
1452
1453         Reviewed by Adam Barth.
1454
1455         This patch extends WTFURL with:
1456         -support basic debugging using print() methods
1457         -parsing in the incomming string character set (8bits or 16bits)
1458         -add a function for parsing of relative URL (but no implementation yet)
1459
1460         * WTF.xcodeproj/project.pbxproj:
1461         * wtf/text/WTFString.h:
1462         (String):
1463         * wtf/url/api/ParsedURL.cpp:
1464         (WTF::ParsedURL::ParsedURL):
1465         (WTF):
1466         (WTF::ParsedURL::hasFragment): Add this method to query the framgent availability without
1467         allocating a new String.
1468         (WTF::ParsedURL::withoutFragment): This method is added to implement KURL::removeFragmentIdentifier() and
1469         the parsing of empty relative URL (where we return the base without fragment).
1470         (WTF::ParsedURL::print):
1471         * wtf/url/api/ParsedURL.h:
1472         (ParsedURL):
1473         (WTF::ParsedURL::spec):
1474         * wtf/url/api/URLString.h:
1475         (URLString):
1476         * wtf/url/src/URLParser.h:
1477         (WTF):
1478         (URLParser):
1479         (WTF::URLParser::parseURLWithBase):
1480         * wtf/url/src/URLSegments.cpp:
1481         (WTF::URLSegments::length):
1482         (WTF::URLSegments::charactersBefore):
1483         * wtf/url/src/URLSegments.h:
1484         (URLSegments):
1485         Change the boolean argument includeDelimiter in favor of an enum to improve readability.
1486
1487 2012-06-13  Filip Pizlo  <fpizlo@apple.com>
1488
1489         DFG should be able to set watchpoints on global variables
1490         https://bugs.webkit.org/show_bug.cgi?id=88692
1491
1492         Reviewed by Geoffrey Garen.
1493         
1494         Added ability to set the inline capacity of segmented vectors.
1495         
1496         Also added the ability ot ASSERT_NOT_REACHED() without having to
1497         propagate NO_RETURN macros, which would be a show-stopper for code
1498         that is conditionally unreachable.
1499
1500         * wtf/Assertions.h:
1501         (UNREACHABLE_FOR_PLATFORM):
1502         * wtf/SegmentedVector.h:
1503         (WTF):
1504         (SegmentedVectorIterator):
1505         (WTF::SegmentedVectorIterator::operator=):
1506         (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1507         (SegmentedVector):
1508
1509 2012-06-13  Sheriff Bot  <webkit.review.bot@gmail.com>
1510
1511         Unreviewed, rolling out r120172.
1512         http://trac.webkit.org/changeset/120172
1513         https://bugs.webkit.org/show_bug.cgi?id=88976
1514
1515         The patch causes compilation failures on Gtk, Qt and Apple Win
1516         bots (Requested by zdobersek on #webkit).
1517
1518         * wtf/SegmentedVector.h:
1519         (WTF):
1520         (SegmentedVectorIterator):
1521         (WTF::SegmentedVectorIterator::operator=):
1522         (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1523         (SegmentedVector):
1524
1525 2012-06-10  Filip Pizlo  <fpizlo@apple.com>
1526
1527         DFG should be able to set watchpoints on global variables
1528         https://bugs.webkit.org/show_bug.cgi?id=88692
1529
1530         Reviewed by Geoffrey Garen.
1531         
1532         Added ability to set the inline capacity of segmented vectors.
1533
1534         * wtf/SegmentedVector.h:
1535         (WTF):
1536         (SegmentedVectorIterator):
1537         (WTF::SegmentedVectorIterator::operator=):
1538         (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1539         (SegmentedVector):
1540
1541 2012-06-12  Geoffrey Garen  <ggaren@apple.com>
1542
1543         Try to fix the build.
1544
1545         Maybe don't export inlined functions.
1546
1547         * wtf/ThreadingPrimitives.h:
1548         (WTF::MutexTryLocker::MutexTryLocker):
1549         (WTF::MutexTryLocker::~MutexTryLocker):
1550         (WTF::MutexTryLocker::locked):
1551
1552 2012-06-11  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
1553
1554         Using extrernal ICU library on case unsensitive drives will not work
1555         https://bugs.webkit.org/show_bug.cgi?id=70913
1556
1557         Reviewed by Csaba Osztrogonác.
1558
1559         Properly set the include path for the WTF module and for modules using it.
1560         The path should include Source/WTF/wtf only when building WTF itself. Other
1561         modules are expected to include the headers as #include <wtf/Header.h>, so
1562         only add Source/WTF to their include path.
1563
1564         "unicode/utf8.h" should now then always reference to ICU in the include path
1565         and "wtf/unicode/UTF8.h" reference to the WTF version.
1566         This will work as long as WTF object files don't depend on ICU themselves.
1567
1568         Removed gobject, qt and unicode from the include path as those directories
1569         don't exist anymore.
1570
1571         * WTF.pri:
1572         * WTF.pro:
1573
1574 2012-06-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1575
1576         Unreviewed. Fix make distcheck issues.
1577
1578         * GNUmakefile.list.am: Add missing header file.
1579
1580 2012-06-09  Dominic Cooney  <dominicc@chromium.org>
1581
1582         [Chromium] Remove JavaScriptCore dependencies from gyp
1583         https://bugs.webkit.org/show_bug.cgi?id=88510
1584
1585         Reviewed by Adam Barth.
1586
1587         Chromium doesn't support JSC any more and there doesn't seem to be
1588         a strong interest in using GYP as the common build system in other
1589         ports.
1590
1591         * WTF.gyp/WTF.gyp:
1592
1593 2012-06-08  Andy Wingo  <wingo@igalia.com>
1594
1595         Explictly mark stubs called by JIT as being internal
1596         https://bugs.webkit.org/show_bug.cgi?id=88552
1597
1598         Reviewed by Filip Pizlo.
1599
1600         * wtf/ExportMacros.h (WTF_INTERNAL, HAVE_INTERNAL_VISIBILITY): New
1601         defines.  Regardless of what the port does about visibility in
1602         general, for code referenced only from assembly it is useful to
1603         give it internal visibility.
1604         * wtf/InlineASM.h: Split SYMBOL_STRING_RELOCATION into
1605         LOCAL_REFERENCE and GLOBAL_REFERENCE; the former will try to avoid
1606         indirection if HAVE(INTERNAL_VISIBILITY).
1607
1608 2012-06-07  Csaba Osztrogonác  <ossy@webkit.org>
1609
1610         [Qt][Win] Fix linking WTF with ICU
1611         https://bugs.webkit.org/show_bug.cgi?id=88302
1612
1613         Reviewed by Simon Hausmann.
1614
1615         * WTF.pri: Use proper library names on win32 platforms.
1616
1617 2012-06-06  Michael Saboff  <msaboff@apple.com>
1618
1619         ENH: Add Logging to GC Marking Phase
1620         https://bugs.webkit.org/show_bug.cgi?id=88364
1621
1622         Reviewed by Filip Pizlo.
1623
1624         * wtf/DataLog.cpp:
1625         (WTF::dataLogString): Additional method to support GC Mark logging.
1626         * wtf/DataLog.h:
1627         * wtf/Platform.h: New ENABLE_OBJECT_MARK_LOGGING flag macro.
1628
1629 2012-06-06  Andy Wingo  <wingo@igalia.com>
1630
1631         [GTK] Enable the LLInt
1632         https://bugs.webkit.org/show_bug.cgi?id=88315
1633
1634         Reviewed by Filip Pizlo.
1635
1636         * wtf/InlineASM.h: Add an implementation of LOCAL_LABEL_STRING for
1637         OS(LINUX).
1638         * wtf/Platform.h: Add OS(LINUX) to the set of operating systems
1639         for ENABLE_LLINT.  Add a specific check for PLATFORM(MAC) or
1640         PLATFORM(IOS), and add to that a check for PLATFORM(GTK).
1641
1642 2012-06-05  Roland Takacs  <takacs.roland@stud.u-szeged.hu>
1643
1644         [Qt] Use GraphicsContext3DOpenGLES.cpp when using OpenGL ES
1645         https://bugs.webkit.org/show_bug.cgi?id=78720
1646
1647         Reviewed by Noam Rosenthal.
1648
1649         Defined a global Opengl ES macro to check OpenGL ES on every platforms.
1650
1651         * wtf/Platform.h:
1652
1653 2012-06-04  Takashi Toyoshima  <toyoshim@chromium.org>
1654
1655         [WebSocket] Send requires super linear time against data size
1656         https://bugs.webkit.org/show_bug.cgi?id=87383
1657
1658         Reviewed by Kent Tamura.
1659
1660         * wtf/StreamBuffer.h: Added.
1661         (WTF):
1662         (StreamBuffer):
1663         (WTF::StreamBuffer::StreamBuffer):
1664         (WTF::StreamBuffer::~StreamBuffer):
1665         (WTF::StreamBuffer::isEmpty):
1666         (WTF::StreamBuffer::append):
1667         (WTF::StreamBuffer::consume):
1668         (WTF::StreamBuffer::size):
1669         (WTF::StreamBuffer::firstBlockData):
1670         (WTF::StreamBuffer::firstBlockSize):
1671
1672 2012-06-04  Patrick Gansterer  <paroga@webkit.org>
1673
1674         Port RAMSize to WinCE
1675         https://bugs.webkit.org/show_bug.cgi?id=87854
1676
1677         Reviewed by Geoffrey Garen.
1678
1679         WinCE has no GlobalMemoryStatusEx() function. Use GlobalMemoryStatus() instead.
1680
1681         * wtf/RAMSize.cpp:
1682         (WTF::computeRAMSize):
1683
1684 2012-06-01  Xianzhu Wang  <wangxianzhu@chromium.org>
1685
1686         Remove dependency from ImageDiff to WTF
1687         https://bugs.webkit.org/show_bug.cgi?id=88147
1688
1689         Reviewed by Adam Barth.
1690
1691         * WTF.gyp/WTF.gyp:
1692
1693 2012-06-01  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1694
1695         [Qt] Save one copy when going from 8-bit WTF::String to QString
1696
1697         Asking for characters() of an 8-bit string will make a 16-bit copy internally
1698         in WTF::String. Since we're going to copy the data to QStringData anyways, which
1699         is 16-bit, we can do the conversion ourselves and save one copy.
1700
1701         Reviewed by Simon Hausmann.
1702
1703         * wtf/qt/StringQt.cpp:
1704         (WTF::String::operator QString):
1705
1706 2012-05-30  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1707
1708         [Qt] Make conversion from QString to WTF::String (and back again) ~free
1709
1710         https://bugs.webkit.org/show_bug.cgi?id=87847
1711
1712         Instead of copying the QString data when converting to a WTF::String we
1713         make the WTF::String adopt the QString data by introducing a new buffer
1714         ownership type, and pointing the internal WTF::StringImpl 16-bit data
1715         member to the string data managed by QStringData.
1716
1717         We make sure to reference the QStringData when adopting, so that the
1718         data will stay alive, and then dereference it when the WTF::StringImpl
1719         is deleted, which will free the QStringData (either straight away, if
1720         we're the only one holding a reference still, or later, when the ref
1721         count goes to 0).
1722
1723         In the case of going back from a WTF::String to a QString we can cheat
1724         a bit (avoid a copy), if we know that the WTF::String was adopted from
1725         a QString, since it's then just a matter of having the QString adopt
1726         the existing QStringData (just like a regular QString copy).
1727
1728         If the WTF::String buffer is not owned by QStringData, eg a regular
1729         8-bit or 16-bit string/substring, we have to fall back to copying,
1730         as before (though there are potential optimization tricks we can
1731         apply here later on).
1732
1733         Reviewed by Gavin Barraclough.
1734
1735         * wtf/qt/StringQt.cpp:
1736         * wtf/text/StringImpl.cpp:
1737         * wtf/text/StringImpl.h:
1738
1739 2012-06-01  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
1740
1741         [EFL] Implement PlatformStrategies
1742         https://bugs.webkit.org/show_bug.cgi?id=86946
1743
1744         Reviewed by Carlos Garcia Campos.
1745
1746         * wtf/Platform.h: Enable PLATFORM_STRATEGIES for EFL platform.
1747
1748 2012-05-31  Anders Carlsson  <andersca@apple.com>
1749
1750         Enable support for rvalue references when building with a version of clang that supports them
1751         https://bugs.webkit.org/show_bug.cgi?id=88018
1752
1753         Re-enable support for rvalue references when building with a version of Xcode newer than 4.2.
1754
1755         * wtf/Compiler.h:
1756
1757 2012-05-31  Filip Pizlo  <fpizlo@apple.com>
1758
1759         DataLog should be usable outside of JSC
1760         https://bugs.webkit.org/show_bug.cgi?id=88015
1761
1762         Reviewed by Oliver Hunt.
1763
1764         * wtf/DataLog.h:
1765         (WTF):
1766
1767 2012-05-31  Anders Carlsson  <andersca@apple.com>
1768
1769         Disable support for rvalue references until I figure out why this is breaking the Xcode 4.2 build.
1770
1771         * wtf/Compiler.h:
1772
1773 2012-05-31  Anders Carlsson  <andersca@apple.com>
1774
1775         Vector should have a move constructor and move assignment operator
1776         https://bugs.webkit.org/show_bug.cgi?id=87997
1777
1778         Reviewed by Andreas Kling.
1779
1780         * wtf/Compiler.h:
1781         Use __has_extension so we can use move semantics and other C++11 features even when building as C++98.
1782
1783         * wtf/Vector.h:
1784         Add a move constructor and a move assignment operator to Vector.
1785
1786 2012-05-31  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1787
1788         [Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
1789         https://bugs.webkit.org/show_bug.cgi?id=87955
1790
1791         Reviewed by Simon Hausmann.
1792
1793         * wtf/qt/UtilsQt.h:
1794
1795 2012-05-30  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1796
1797         HashTable.h has using directives for std::pair and std::make_pair
1798         https://bugs.webkit.org/show_bug.cgi?id=29919
1799
1800         Reviewed by Darin Adler.
1801
1802         * wtf/HashTraits.h:
1803         (WTF): Remove the directives.
1804
1805 2012-05-30  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1806
1807         HashTable.h has using directives for std::pair and std::make_pair
1808         https://bugs.webkit.org/show_bug.cgi?id=29919
1809
1810         Reviewed by Darin Adler.
1811
1812         Change code to use std::pair and std::make_pair. Later patch will remove the
1813         'using' directives.
1814
1815         * wtf/HashTable.h:
1816         (WTF::hashTableSwap):
1817         (HashTable):
1818         * wtf/HashTraits.h:
1819         (PairHashTraits):
1820         (WTF::PairHashTraits::emptyValue):
1821
1822 2012-05-30  Patrick Gansterer  <paroga@webkit.org>
1823
1824         Build fix for WinCE after r118603.
1825
1826         * wtf/Atomics.h:
1827         (WTF::weakCompareAndSwap):
1828
1829 2012-05-29  Anders Carlsson  <andersca@apple.com>
1830
1831         String should be move enabled/optimized
1832         https://bugs.webkit.org/show_bug.cgi?id=87596
1833
1834         Reviewed by Andreas Kling.
1835
1836         Add move constructors and move assignment operators to String and AtomicString when building with
1837         compilers that support rvalue references. This gets rid of ref-churn when the source of the 
1838         constructor or assignment is a temporary object.
1839
1840         * wtf/text/AtomicString.h:
1841         (AtomicString):
1842         (WTF::AtomicString::AtomicString):
1843         (WTF::AtomicString::operator=):
1844         * wtf/text/WTFString.h:
1845         (String):
1846         (WTF::String::String):
1847         (WTF::String::operator=):
1848
1849 2012-05-29  Alexandre Elias  <aelias@google.com>
1850
1851         Support WebKit log messages on Android
1852         https://bugs.webkit.org/show_bug.cgi?id=87773
1853
1854         Reviewed by Darin Adler.
1855
1856         This sends WebKit log messages to the Android "logcat" facility, as
1857         Android sends stderr to /dev/null.
1858
1859         * wtf/Assertions.cpp:
1860
1861 2012-05-29  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1862
1863         [Qt] Remove duplication of logic for disabling selected warnings related to C++11
1864
1865         This is already handled in unix/default_post.prf
1866
1867         Reviewed by Simon Hausmann.
1868
1869         * WTF.pro:
1870
1871 2012-05-27  Darin Adler  <darin@apple.com>
1872
1873         Fix an incorrect assertion in Vector::remove
1874         https://bugs.webkit.org/show_bug.cgi?id=87612
1875
1876         Reviewed by Dan Bernstein.
1877
1878         * wtf/Vector.h: There's no good reason to disallow calling remove
1879         with a size of 0, even when the position is at the end of the vector,
1880         so changed the two-argument Vector::remove assertion to assert that
1881         the position is <= size rather than < size.
1882
1883 2012-05-27  Yoshifumi Inoue  <yosin@chromium.org>
1884
1885         [WTF] Introduce UINT64_C to MathExtras.h
1886         https://bugs.webkit.org/show_bug.cgi?id=87485
1887
1888         Reviewed by Kent Tamura.
1889
1890         * wtf/MathExtras.h:
1891
1892 2012-05-25  Filip Pizlo  <fpizlo@apple.com>
1893
1894         weakCompareAndSwap should work on Windows
1895         https://bugs.webkit.org/show_bug.cgi?id=87549
1896
1897         Reviewed by Jessie Berlin.
1898
1899         * wtf/Atomics.h:
1900         (WTF):
1901         (WTF::weakCompareAndSwap):
1902
1903 2012-05-24  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
1904
1905         cti_vm_throw gets kicked out by gcc 4.6 -flto
1906         https://bugs.webkit.org/show_bug.cgi?id=56088
1907
1908         Reviewed by Darin Adler.
1909
1910         Define REFERENCED_FROM_ASM to __attribute__((used)) on GCC.
1911
1912         * wtf/Compiler.h:
1913
1914 2012-05-23  Darin Adler  <darin@apple.com>
1915
1916         Optimize iteration of empty hash tables
1917         https://bugs.webkit.org/show_bug.cgi?id=87215
1918
1919         Reviewed by Geoffrey Garen.
1920
1921         Iteration of empty hash tables was showing up on simple page loading
1922         profiles due to the use of hash tables in the
1923         NodeListsNodeData::invalidateCaches and
1924         NodeListsNodeData::invalidateCachesThatDependOnAttributes functions.
1925         It's worth optimizing the case of an empty table.
1926
1927         * wtf/HashTable.h:
1928         (WTF::HashTable::begin): Return the known-good end iterator when the
1929         table is empty. This makes iterating an empty table faster because we
1930         avoid skipping empty and deleted buckets.
1931
1932 2012-05-22  Geoffrey Garen  <ggaren@apple.com>
1933
1934         Build fix.
1935
1936         * wtf/RAMSize.cpp:
1937         (WTF::computeRAMSize): sysctl expects a uint64_t, so use that and then
1938         cast back to size_t. Since it's coneivable that a 32bit process would
1939         run on a system with more than 4GB RAM, I added a paranoid check for
1940         that condition.
1941
1942 2012-05-22  Jessie Berlin  <jberlin@apple.com>
1943
1944         Build fix.
1945
1946         * wtf/RAMSize.cpp:
1947         (WTF::computeRAMSize):
1948         If you say you are going to return a size_t, actually return a size_t.
1949
1950 2012-05-21  Geoffrey Garen  <ggaren@apple.com>
1951
1952         GC allocation trigger should be tuned to system RAM
1953         https://bugs.webkit.org/show_bug.cgi?id=87039
1954
1955         Reviewed by Darin Adler.
1956
1957         Added a helper function for measuring system RAM.
1958
1959         * GNUmakefile.list.am:
1960         * WTF.gypi:
1961         * WTF.pro:
1962         * WTF.vcproj/WTF.vcproj:
1963         * WTF.xcodeproj/project.pbxproj:
1964         * wtf/AmountOfRAM.cpp: Added.
1965         (WTF):
1966         (WTF::computeAmountOfRAM):
1967         (WTF::amountOfRAM):
1968         * wtf/AmountOfRAM.h: Added.
1969         (WTF):
1970         * wtf/CMakeLists.txt:
1971         * wtf/StdLibExtras.h:
1972         (WTF):
1973
1974 2012-05-22  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
1975
1976         GCC 4.7 and C++11 support.
1977         https://bugs.webkit.org/show_bug.cgi?id=86465
1978
1979         Reviewed by Darin Adler.
1980
1981         Detect C++11 mode in GCC 4.7 and set appropiate compiler feature flags.
1982         Turn C++11 override control into a compiler feature flag.
1983         Fix non-clang support of compiler feature CXX_DELETED_FUNCTIONS.
1984
1985         * wtf/Compiler.h:
1986         * wtf/Noncopyable.h:
1987
1988 2012-05-22  Filip Pizlo  <fpizlo@apple.com>
1989
1990         REGRESSION(r117861): It made almost all tests crash on Qt
1991         https://bugs.webkit.org/show_bug.cgi?id=87082
1992
1993         Reviewed by Csaba Osztrogonác.
1994         
1995         Using OwnArrayPtr is a bad idea if you allocate array with fastCalloc.
1996
1997         * wtf/FastBitVector.h:
1998         (WTF::FastBitVector::FastBitVector):
1999         (WTF::FastBitVector::~FastBitVector):
2000         (FastBitVector):
2001         (WTF::FastBitVector::operator=):
2002         (WTF::FastBitVector::resize):
2003         (WTF::FastBitVector::setAll):
2004         (WTF::FastBitVector::clearAll):
2005         (WTF::FastBitVector::set):
2006
2007 2012-05-21  Filip Pizlo  <fpizlo@apple.com>
2008
2009         DFG should be able to compute dominators
2010         https://bugs.webkit.org/show_bug.cgi?id=85269
2011
2012         Reviewed by Oliver Hunt.
2013         
2014         Merged r115754 from dfgopt.
2015         
2016         Added a bitvector class suitable for cheap static analysis. This class
2017         differs from BitVector in that instead of optimizing for space, it
2018         optimizes for execution time. Its API is also somewhat less friendly,
2019         which is intentional; it's meant to be used in places where you know
2020         up front how bit your bitvectors are going to be.
2021
2022         * GNUmakefile.list.am:
2023         * WTF.vcproj/WTF.vcproj:
2024         * WTF.xcodeproj/project.pbxproj:
2025         * wtf/FastBitVector.h: Added.
2026         (WTF):
2027         (FastBitVector):
2028         (WTF::FastBitVector::FastBitVector):
2029         (WTF::FastBitVector::operator=):
2030         (WTF::FastBitVector::numBits):
2031         (WTF::FastBitVector::resize):
2032         (WTF::FastBitVector::setAll):
2033         (WTF::FastBitVector::clearAll):
2034         (WTF::FastBitVector::set):
2035         (WTF::FastBitVector::setAndCheck):
2036         (WTF::FastBitVector::equals):
2037         (WTF::FastBitVector::merge):
2038         (WTF::FastBitVector::filter):
2039         (WTF::FastBitVector::exclude):
2040         (WTF::FastBitVector::clear):
2041         (WTF::FastBitVector::get):
2042         (WTF::FastBitVector::arrayLength):
2043
2044 2012-05-15  Gavin Barraclough  <barraclough@apple.com>
2045
2046         Add support for private names
2047         https://bugs.webkit.org/show_bug.cgi?id=86509
2048
2049         Reviewed by Oliver Hunt.
2050
2051         The spec isn't final, but we can start adding support to allow property maps
2052         to contain keys that aren't identifiers.
2053
2054         * wtf/text/StringImpl.h:
2055         (WTF::StringImpl::StringImpl):
2056         (StringImpl):
2057         (WTF::StringImpl::createEmptyUnique):
2058         (WTF::StringImpl::isEmptyUnique):
2059             - Allow empty string impls to be allocated, which can be used as unique keys.
2060
2061 2012-05-21  Emil A Eklund <eae@chromium.org> and Levi Weintraub  <leviw@chromium.org>
2062
2063         Enable SUBPIXEL_LAYOUT feature flag on Chromium
2064         https://bugs.webkit.org/show_bug.cgi?id=85555
2065
2066         Reviewed by Eric Seidel.
2067
2068         Enabling sub-pixel layout on Chromium port.
2069
2070         * wtf/Platform.h:
2071
2072 2012-05-21  Andreas Kling  <kling@webkit.org>
2073
2074         CSS: Move duplicate property elimination to parser.
2075         <http://webkit.org/b/86948>
2076
2077         Reviewed by Antti Koivisto.
2078
2079         Add WTF::BitArray, a simple, malloc free, fixed-size bit array class.
2080
2081         * GNUmakefile.list.am:
2082         * WTF.gypi:
2083         * WTF.pro:
2084         * WTF.vcproj/WTF.vcproj:
2085         * WTF.xcodeproj/project.pbxproj:
2086         * wtf/BitArray.h: Added.
2087         (WTF):
2088         (BitArray):
2089         (WTF::BitArray::BitArray):
2090         (WTF::BitArray::set):
2091         (WTF::BitArray::get):
2092         * wtf/CMakeLists.txt:
2093
2094 2012-05-21  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2095
2096         Colliding isinf/isnan between C99 and C++11 with GCC >=4.6
2097         https://bugs.webkit.org/show_bug.cgi?id=59249
2098
2099         Reviewed by Darin Adler.
2100
2101         Workaround the isinf and isnan conflict in GCC C++11.
2102
2103         * wtf/Compiler.h:
2104         * wtf/MathExtras.h:
2105         (std::wtf_isinf):
2106         (std::wtf_isnan):
2107
2108 2012-05-21  Andreas Kling  <kling@webkit.org>
2109
2110         REGRESSION(r117501): IconDatabase asserts on startup in synchronousIconForPageURL().
2111         <http://webkit.org/b/86935>
2112         <rdar://problem/11480012>
2113
2114         Reviewed by Anders Carlsson.
2115
2116         Added a swap() to HashCountedSet.
2117
2118         * wtf/HashCountedSet.h:
2119         (HashCountedSet::swap):
2120
2121 2012-05-16  Geoffrey Garen  <ggaren@apple.com>
2122
2123         This is not a joke: 3.7X speedup from removing a call to sleep
2124         https://bugs.webkit.org/show_bug.cgi?id=86702
2125
2126         Reviewed by Eric Seidel.
2127
2128         The speedup was on a GC benchmark, with a custom VM caching layer
2129         not in TOT yet.
2130
2131         Instruments showed most GC threads spending the majority of their
2132         time sleeping instead of doing useful work. Removing the call to
2133         sleep sped up the benchmark.
2134
2135         * wtf/TCSpinLock.h:
2136         (TCMalloc_SlowLock): Since a spin lock is only ever held for a short
2137         amount of time, don't sleep for a long amount of time waiting for it
2138         to unlock -- yielding to the scheduler is sufficient.
2139
2140         If we find a case where someone is sitting on a spin lock for over 2ms,
2141         we should fix the spin lock holder, not the spin lock.
2142
2143 2012-05-16  Simon Fraser  <simon.fraser@apple.com>
2144
2145         Make things build with DUMP_HASHTABLE_STATS=1
2146         https://bugs.webkit.org/show_bug.cgi?id=86571
2147
2148         Reviewed by Geoffrey Garen.
2149         
2150         DUMP_HASHTABLE_STATS bitrotted after the WTF separation. This patch
2151         makes it build.
2152         
2153         Added WTF_EXPORTDATA to the global data, and WTF_EXPORT_PRIVATE to
2154         the static HashTableStats methods. Added a dumpStats() method
2155         that is not yet called anywhere; we can no longer rely on destroying
2156         a global object to dump the stats because global destructors are
2157         disallowed.
2158
2159         * wtf/HashTable.cpp:
2160         (WTF):
2161         (WTF::HashTableStats::recordCollisionAtCount):
2162         (WTF::HashTableStats::dumpStats):
2163         * wtf/HashTable.h:
2164         (HashTableStats):
2165
2166 2012-05-15  Filip Pizlo  <fpizlo@apple.com>
2167
2168         shrinkToFit() is often not called for Vectors in CodeBlock
2169         https://bugs.webkit.org/show_bug.cgi?id=86436
2170
2171         Reviewed by Oliver Hunt.
2172         
2173         Gave SegmentedVector a shrinkToFit() method. This only shrinks the segment
2174         lookup table, which is likely to not be hugely profitable, but it is better
2175         than nothing.
2176
2177         * wtf/SegmentedVector.h:
2178         (SegmentedVector):
2179         (WTF::SegmentedVector::shrinkToFit):
2180
2181 2012-05-15  Andy Estes  <aestes@apple.com>
2182
2183         Add WTF_USE_SECURITY_FRAMEWORK and use it in place of the less specific PLATFORM(MAC)
2184         https://bugs.webkit.org/show_bug.cgi?id=86508
2185
2186         Reviewed by Sam Weinig.
2187
2188         * wtf/Platform.h:
2189
2190 2012-05-15  Zoltan Herczeg  <zherczeg@webkit.org>
2191
2192         NEONizing forceValidPreMultipliedPixels
2193         https://bugs.webkit.org/show_bug.cgi?id=86468
2194
2195         Reviewed by Nikolas Zimmermann.
2196
2197         Allow to disable all intrinsics with a single macro.
2198
2199         * wtf/Platform.h:
2200
2201 2012-05-14  Andy Estes  <aestes@apple.com>
2202
2203         Add WTF_USE_APPKIT to differentiate platforms that use AppKit.framework from other Darwin platforms
2204         https://bugs.webkit.org/show_bug.cgi?id=86432
2205
2206         Reviewed by Maciej Stachowiak.
2207
2208         * wtf/Platform.h:
2209
2210 2012-05-14  Mark Rowe  <mrowe@apple.com>
2211
2212         <http://webkit.org/b/86320> WTF.xcodeproj builds with -O3 in debug builds
2213
2214         Reviewed by Simon Fraser.
2215
2216         * WTF.xcodeproj/project.pbxproj: Ensure that the debug configuration uses the
2217         same settings as the debug variant would.
2218
2219 2012-05-14  Wei James  <james.wei@intel.com>
2220
2221         [Chromium] ImageDiff should be build for host on Android
2222         https://bugs.webkit.org/show_bug.cgi?id=82039
2223
2224         Reviewed by Adam Barth.
2225
2226         * WTF.gyp/WTF.gyp:
2227
2228 2012-05-14  Yong Li  <yoli@rim.com>
2229
2230         DFG JIT is not ARM EABI compatible
2231         https://bugs.webkit.org/show_bug.cgi?id=84449
2232
2233         Reviewed by Filip Pizlo.
2234
2235         Add COMPILER_SUPPORTS(EABI) when __ARM_EABI__
2236         or __EABI__ is defined.
2237
2238         * wtf/Compiler.h:
2239
2240 2012-05-10  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
2241
2242         [EFL] Add OwnPtr specialization for Eina_Hash.
2243         https://bugs.webkit.org/show_bug.cgi?id=85046
2244
2245         Reviewed by Andreas Kling.
2246
2247         Add an override for Eina_Hash for EFL port.
2248
2249         * wtf/OwnPtrCommon.h:
2250         (WTF):
2251         * wtf/efl/OwnPtrEfl.cpp:
2252         (WTF::deleteOwnedPtr):
2253         (WTF):
2254
2255 2012-05-09  Filip Pizlo  <fpizlo@apple.com>
2256
2257         It should be possible to get useful debug logging from the JIT memory allocator
2258         https://bugs.webkit.org/show_bug.cgi?id=86042
2259
2260         Reviewed by Geoff Garen.
2261
2262         * wtf/MetaAllocator.cpp:
2263         (WTF::MetaAllocator::findAndRemoveFreeSpace):
2264         (WTF::MetaAllocator::addFreeSpace):
2265         (WTF::MetaAllocator::dumpProfile):
2266
2267 2012-05-08  Sheriff Bot  <webkit.review.bot@gmail.com>
2268
2269         Unreviewed, rolling out r116440.
2270         http://trac.webkit.org/changeset/116440
2271         https://bugs.webkit.org/show_bug.cgi?id=85904
2272
2273         Broke the Chromium Android bot (Requested by beverloo on
2274         #webkit).
2275
2276         * WTF.gyp/WTF.gyp:
2277
2278 2012-05-08  Adam Barth  <abarth@webkit.org>
2279
2280         [Chromium] OS(ANDROID) ImageDiff requires us to build WTF for both host and target
2281         https://bugs.webkit.org/show_bug.cgi?id=85897
2282
2283         Reviewed by Tony Chang.
2284
2285         * WTF.gyp/WTF.gyp:
2286
2287 2012-05-08  Adam Barth  <abarth@webkit.org>
2288
2289         [Chromium] Assertions.cpp should work on OS(ANDROID)
2290         https://bugs.webkit.org/show_bug.cgi?id=85867
2291
2292         Reviewed by Eric Seidel.
2293
2294         Some minor ifdefs for OS(ANDROID) on PLATFORM(CHROMIUM).
2295
2296         * wtf/Assertions.cpp:
2297
2298 2012-05-07  Adam Barth  <abarth@webkit.org>
2299
2300         [Chromium] Android wishes to use an empty implementation if AXObjectCache
2301         https://bugs.webkit.org/show_bug.cgi?id=85842
2302
2303         Reviewed by Eric Seidel.
2304
2305         Disable accessibility on OS(ANDROID) for PLATFORM(CHROMIUM).
2306
2307         * wtf/Platform.h:
2308
2309 2012-05-04  Jeff Rogers  <jrogers@rim.com>
2310
2311         [BlackBerry] Implement numberOfProcessorCores() for QNX
2312         https://bugs.webkit.org/show_bug.cgi?id=85638
2313
2314         Reviewed by Antonio Gomes.
2315
2316         * wtf/NumberOfCores.cpp:
2317         (WTF::numberOfProcessorCores):
2318
2319 2012-05-03  Yong Li  <yoli@rim.com>
2320
2321         Mutex failure when HashTable is memory moved in debug build
2322         https://bugs.webkit.org/show_bug.cgi?id=84970
2323
2324         Reviewed by Rob Buis.
2325
2326         1. Replace m_mutex with OwnPtr<m_mutex> so HashTable is still
2327            memory movable in debug build.
2328         2. Assert successes of pthread_mutex_init() and pthread_mutex_destroy().
2329
2330         * wtf/HashTable.h:
2331         (HashTable):
2332         (WTF::::HashTable):
2333         (WTF::::invalidateIterators):
2334         (WTF::addIterator):
2335         (WTF::removeIterator):
2336         * wtf/ThreadingPthreads.cpp:
2337         (WTF::Mutex::Mutex):
2338         (WTF::Mutex::~Mutex):
2339
2340 2012-05-02  Antti Koivisto  <antti@apple.com>
2341
2342         Add temporary feature define for parsed stylesheet caching
2343         https://bugs.webkit.org/show_bug.cgi?id=85413
2344
2345         Rubber-stamped by Nikolas Zimmermann.
2346
2347         While not an externally visible feature this is still a significant internal change.
2348         It is good to have define in case someone has an urgent need to turn it off.
2349         
2350         Caching is enabled by default on all platforms. The define should be removed after some bake time.
2351
2352         * wtf/Platform.h:
2353
2354 2012-05-02  Lauro Neto  <lauro.neto@openbossa.org>
2355
2356         [Qt]r57240 broke Qt build (gcc bug)
2357         https://bugs.webkit.org/show_bug.cgi?id=37253
2358
2359         Reviewed by Csaba Osztrogonác.
2360
2361         Add back the inline hack just for ARM due to old version of
2362         gcc still being used on Harmattan SDK. Thanks to Ossy for the
2363         suggestion.
2364         * wtf/PassRefPtr.h:
2365         (WTF):
2366
2367 2012-05-02  Nico Weber  <thakis@chromium.org>
2368
2369         Let WebKit parse with clang on windows with -std=c++11
2370         https://bugs.webkit.org/show_bug.cgi?id=85398
2371
2372         Reviewed by Ryosuke Niwa.
2373
2374         See http://trac.webkit.org/changeset/85945 for background on the line
2375         I'm changing. With clang, __GXX_EXPERIMENTLAL_CXX0X__ is set in c++11
2376         mode, but MSVC's c++ library doesn't have a tr1/memory header. So also
2377         check for __GLIBCXX__, like it's done in the rest of this file.
2378
2379         * wtf/TypeTraits.h:
2380
2381 2012-05-02  Adenilson Cavalcanti  <cavalcantii@gmail.com>
2382
2383         [Qt]r57240 broke Qt build (gcc bug)
2384         https://bugs.webkit.org/show_bug.cgi?id=37253
2385
2386         Reviewed by Noam Rosenthal.
2387
2388         Removing workaround macro since current gcc/Qt doesn't require it to compile.
2389
2390         * wtf/PassRefPtr.h:
2391         (WTF):
2392
2393 2012-04-30  Oliver Hunt  <oliver@apple.com>
2394
2395         Investigate overflows in Canvas putImageData routine
2396         https://bugs.webkit.org/show_bug.cgi?id=61373
2397
2398         Reviewed by Gavin Barraclough.
2399
2400         Allow floating point multiplies of checked types (complete with
2401         bounds checks).
2402
2403         * wtf/CheckedArithmetic.h:
2404         (Checked):
2405         (WTF::Checked::operator*=):
2406
2407 2012-04-30  Benjamin Poulain  <benjamin@webkit.org>
2408
2409         Add String::startsWith() and endsWith() for string literals
2410         https://bugs.webkit.org/show_bug.cgi?id=85154
2411
2412         Reviewed by Darin Adler.
2413
2414         When invoking StringImpl::startsWidth() or StringImpl::endsWith() with
2415         a string literal, a new String was constructed implicitly, allocating
2416         a new StringImpl and copying the characters for the operation.
2417
2418         This patch adds a version of those methods for single characters and
2419         string literals.
2420         This allows us to avoid allocating memory and use the characters in place,
2421         and it permits some extra shortcuts in the implementation.
2422
2423         * wtf/text/AtomicString.h:
2424         (WTF::AtomicString::startsWith):
2425         (AtomicString):
2426         (WTF::AtomicString::endsWith):
2427         * wtf/text/StringImpl.cpp:
2428         (WTF::equalInner):
2429         (WTF):
2430         (WTF::StringImpl::startsWith):
2431         (WTF::StringImpl::endsWith):
2432         * wtf/text/StringImpl.h:
2433         (WTF::StringImpl::startsWith):
2434         (StringImpl):
2435         (WTF::StringImpl::endsWith):
2436         * wtf/text/WTFString.h:
2437         (WTF::String::startsWith):
2438         (String):
2439         (WTF::String::endsWith):
2440
2441 2012-04-30  Anders Carlsson  <andersca@apple.com>
2442
2443         WTF::bind should work with blocks
2444         https://bugs.webkit.org/show_bug.cgi?id=85227
2445
2446         Reviewed by Sam Weinig.
2447
2448         Add a block type FunctionWrapper specialization.
2449
2450         * wtf/Functional.h:
2451
2452 2012-04-28  Emil A Eklund  <eae@chromium.org>
2453
2454         Add ENABLE_SUBPIXEL_LAYOUT controlling FractionalLayoutUnit denominator
2455         https://bugs.webkit.org/show_bug.cgi?id=85146
2456
2457         Reviewed by Eric Seidel.
2458
2459         Add a new flag for controlling the fixed point denominator in
2460         FractionalLayoutUnit. Controls whether the denominator is set to 60 or 1.
2461         Until we change the LayoutUnit typedef this change will have no effect.
2462
2463         * wtf/Platform.h:
2464
2465 2012-04-29  Kent Tamura  <tkent@chromium.org>
2466
2467         [Mac] Add LocalizedDateMac
2468         https://bugs.webkit.org/show_bug.cgi?id=85039
2469
2470         Reviewed by Kentaro Hara.
2471
2472         * wtf/DateMath.h:
2473         (WTF): Add monthFullName[]. It is useful to make fallback month
2474         names for calendar/date related features.
2475
2476 2012-04-26  Carlos Garcia Campos  <cgarcia@igalia.com>
2477
2478         [SOUP] Add a way to register custom uri schemes in WebKit2
2479         https://bugs.webkit.org/show_bug.cgi?id=84130
2480
2481         Reviewed by Martin Robinson.
2482
2483         Add GPtrArray template to be able to use GRefPtr with GPtrArrays.
2484
2485         * wtf/gobject/GRefPtr.cpp:
2486         (WTF::refGPtr):
2487         (WTF):
2488         (WTF::derefGPtr):
2489         * wtf/gobject/GRefPtr.h:
2490         (WTF):
2491         * wtf/gobject/GTypedefs.h:
2492
2493 2012-04-26  Nico Weber  <thakis@chromium.org>
2494
2495         Don't define WTF_COMPILER_SUPPORTS_CXX_NULLPTR twice when building with clang on windows.
2496         https://bugs.webkit.org/show_bug.cgi?id=85018
2497
2498         Reviewed by Anders Carlsson.
2499
2500         Clang sets _MSC_VER when compiling for a -pc-win32 target (just like it sets __GNUC__ on unix).
2501         As a result, WTF_COMPILER_SUPPORTS_CXX_NULLPTR gets currently set twice, once for clang and
2502         once for _MSC_VER. Guard the second instance with !COMPILER(CLANG). This matches the gcc code
2503         for WTF_COMPILER_SUPPORTS_CXX_NULLPTR in the same file.
2504
2505         * wtf/Compiler.h:
2506
2507 2012-04-26  Antonio Gomes  <agomes@rim.com>
2508
2509         [BlackBerry] properly disable DRAG_SUPPORT
2510         https://bugs.webkit.org/show_bug.cgi?id=84952
2511
2512         Reviewed by Daniel Bates.
2513
2514         * wtf/Platform.h: Remove the line that disables drag support from here
2515         for the BlackBerry port.
2516
2517 2012-04-25  Benjamin Poulain  <benjamin@webkit.org>
2518
2519         Add a version of StringImpl::find() without offset
2520         https://bugs.webkit.org/show_bug.cgi?id=83968
2521
2522         Reviewed by Sam Weinig.
2523
2524         This patch add a version of StringImpl::find() without offset, Instead of using the default
2525         value for the index.
2526
2527         By not having the index, we can skip a couple of branches and a few instructions. This gives
2528         significant gains when the strings are short-ish.
2529
2530         The case of empty string is moved below (matchLength == 1) since it is a less common operation.
2531
2532         * wtf/text/StringImpl.cpp:
2533         (WTF::StringImpl::find):
2534         (WTF):
2535         * wtf/text/StringImpl.h:
2536         (StringImpl):
2537         * wtf/text/WTFString.h:
2538         (String):
2539         (WTF::String::find):
2540
2541 2012-04-25  Darin Adler  <darin@apple.com>
2542
2543         Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2544         https://bugs.webkit.org/show_bug.cgi?id=84524
2545
2546         Reviewed by Antti Koivisto.
2547
2548         * wtf/HashMap.h: Added a struct template, HashMapValueTraits, that derives from
2549         PairHashTraits, adds an isEmptyValue function that looks only at the key, not
2550         the mapped value, in the hash table value, and uses the isHashTraitsEmptyValue
2551         function template to check if the key is empty.
2552
2553 2012-04-25  Landry Breuil  <landry@openbsd.org>
2554
2555         Include <sys/param.h>, needed for sysctl() on OpenBSD/NetBSD
2556         https://bugs.webkit.org/show_bug.cgi?id=82585
2557
2558         Reviewed by Zoltan Herczeg.
2559
2560         * wtf/NumberOfCores.cpp: include <sys/param.h> on the BSDs
2561
2562 2012-04-25  Kenneth Russell  <kbr@google.com>
2563
2564         Delete CanvasPixelArray, ByteArray, JSByteArray and JSC code once unreferenced
2565         https://bugs.webkit.org/show_bug.cgi?id=83655
2566
2567         Reviewed by Oliver Hunt.
2568
2569         * GNUmakefile.list.am:
2570         * WTF.gypi:
2571         * WTF.pro:
2572         * WTF.vcproj/WTF.vcproj:
2573         * WTF.xcodeproj/project.pbxproj:
2574         * wtf/ByteArray.cpp: Removed.
2575         * wtf/ByteArray.h: Removed.
2576         * wtf/CMakeLists.txt:
2577
2578 2012-04-25  Philippe Normand  <pnormand@igalia.com>
2579
2580         Webkit build fails due to missing gstreamer include file on Kubuntu 8.04
2581         https://bugs.webkit.org/show_bug.cgi?id=81913
2582
2583         Reviewed by Tor Arne Vestbø.
2584
2585         * WTF.pri: GStreamer build support implies GLib support, as it's
2586         done in WebCore.pri.
2587
2588 2012-04-24  Benjamin Poulain  <bpoulain@apple.com>
2589
2590         Generalize the single character optimization of r114072
2591         https://bugs.webkit.org/show_bug.cgi?id=83961
2592
2593         Reviewed by Eric Seidel.
2594
2595         This patch makes some improvment over String::find() in the case of lookup for a single
2596         character.
2597
2598         The two function find(UChar|LChar) are replaced by a template.
2599
2600         The case of searching a UChar in a 8bit string has a shortcut if the UChar cannot
2601         possibly match any character in the range of the type LChar.
2602
2603         The slow case StringImpl::find(StringImpl*) is modified to
2604         -Do not allocate in the fast case if only one string is 8bit.
2605         -Use the shortcut for searching UChar in LChar.
2606
2607         This speed up the function by about 7% when avoiding string conversion.
2608
2609         * wtf/text/StringImpl.cpp:
2610         (WTF::StringImpl::find):
2611         * wtf/text/StringImpl.h:
2612         (StringImpl):
2613         (WTF):
2614         (WTF::find):
2615         (WTF::StringImpl::find):
2616
2617 2012-04-24  Darin Adler  <darin@apple.com>
2618
2619         Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2620         https://bugs.webkit.org/show_bug.cgi?id=84524
2621
2622         Reviewed by Antti Koivisto.
2623
2624         Added a new algorithm for checking for empty buckets that can be specialized.
2625         Specialized it for String. We may later want to do the same thing for KURL.
2626         It's not important to do it for AtomicString, since AtomicString's == function
2627         is already a simple pointer equality compare. We may also later want to do
2628         something similar for pairs that have String objects in them.
2629
2630         * wtf/HashTable.h:
2631         (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
2632         will do something more efficient for String.
2633
2634         * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
2635         of false. This allows us to continue to get automatic comparison with the appropriate
2636         emptyValue result for all existing traits, but supply a custom isEmptyValue function
2637         for HashTraits<String>. Putting an isEmptyValue function into the traits would require
2638         overriding it in every class that has a custom value for emptyValue. Specialized
2639         HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
2640         isEmptyValue function.
2641         (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
2642         struct to use either == combined with the emptyValue function or the isEmptyValue function.
2643
2644         * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
2645         the bottom of the file.
2646         (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
2647         included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
2648
2649 2012-04-23  Kenneth Russell  <kbr@google.com>
2650
2651         Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
2652         https://bugs.webkit.org/show_bug.cgi?id=73011
2653
2654         Reviewed by Oliver Hunt.
2655
2656         * wtf/ArrayBuffer.h:
2657         (ArrayBuffer):
2658         (WTF::ArrayBuffer::create):
2659         (WTF::ArrayBuffer::createUninitialized):
2660         (WTF):
2661         (WTF::ArrayBufferContents::tryAllocate):
2662         * wtf/TypedArrayBase.h:
2663         (WTF::TypedArrayBase::createUninitialized):
2664         (TypedArrayBase):
2665         * wtf/Uint8ClampedArray.h:
2666         (Uint8ClampedArray):
2667         (WTF::Uint8ClampedArray::createUninitialized):
2668         (WTF):
2669         (WTF::Uint8ClampedArray::zeroFill):
2670
2671 2012-04-23  George Staikos  <staikos@webkit.org>
2672
2673         Enable parallel GC for BlackBerry.
2674         https://bugs.webkit.org/show_bug.cgi?id=84633
2675
2676         Reviewed by Antonio Gomes.
2677
2678         * wtf/Platform.h:
2679
2680 2012-04-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2681
2682         Unreviewed, rolling out r114914.
2683         http://trac.webkit.org/changeset/114914
2684         https://bugs.webkit.org/show_bug.cgi?id=84615
2685
2686         Causing infinite hangs on some tests involving HashMaps with
2687         integer keys (Requested by dimich on #webkit).
2688
2689         * wtf/HashTable.h:
2690         (WTF::HashTable::isEmptyBucket):
2691         * wtf/HashTraits.h:
2692         * wtf/text/StringHash.h:
2693
2694 2012-04-23  Darin Adler  <darin@apple.com>
2695
2696         Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2697         https://bugs.webkit.org/show_bug.cgi?id=84524
2698
2699         Reviewed by Antti Koivisto.
2700
2701         Added a new algorithm for checking for empty buckets that can be specialized.
2702         Specialized it for String. We may later want to do the same thing for KURL.
2703         It's not important to do it for AtomicString, since AtomicString's == function
2704         is already a simple pointer equality compare.
2705
2706         * wtf/HashTable.h:
2707         (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
2708         will do something more efficient for String.
2709
2710         * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
2711         of false. This allows us to continue to get automatic comparison with the appropriate
2712         emptyValue result for all existing traits, but supply a custom isEmptyValue function
2713         for HashTraits<String>. Putting an isEmptyValue function into the traits would require
2714         overriding it in every class that has a custom value for emptyValue. Specialized
2715         HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
2716         isEmptyValue function.
2717         (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
2718         struct to use either == combined with the emptyValue function or the isEmptyValue function.
2719         (PairHashTraits): Define hasIsEmptyValueFunction and isEmptyValue.
2720
2721         * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
2722         the bottom of the file.
2723         (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
2724         included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
2725
2726 2012-04-18  Myles Maxfield  <mmaxfield@google.com>
2727
2728         Somehow, there's an errant backslash in my last WTF patch
2729         https://bugs.webkit.org/show_bug.cgi?id=84290
2730
2731         Reviewed by Andreas Kling.
2732
2733         * wtf/StdLibExtras.h:
2734         (WTF::roundUpToMultipleOf):
2735
2736 2012-04-16  Nico Weber  <thakis@chromium.org>
2737
2738         Make NullPtr.h compile with clang -std=c++11 and libstdc++4.2
2739         https://bugs.webkit.org/show_bug.cgi?id=83999
2740
2741         Reviewed by Sam Weinig.
2742
2743         Before this patch, NullPtr.h assumed that a working |nullptr| implied
2744         a working |std::nullptr_t| as well. With clang and libstdc++4.2, this
2745         is not true.
2746
2747         I tested (-stdlib=libc++, -stdlib=libstdc++) x (-std=c++11, -std=c++03)
2748         with clang.
2749
2750         * wtf/NullPtr.h:
2751         (std):
2752
2753 2012-04-14  Sam Weinig  <sam@webkit.org>
2754
2755         Harden WTF::ByteArray::create()
2756         https://bugs.webkit.org/show_bug.cgi?id=83318
2757
2758         Reviewed by Maciej Stachowiak.
2759
2760         * wtf/ByteArray.cpp:
2761         (WTF::ByteArray::create):
2762         Add overflow check. I don't believe there is anyway to trigger this currently,
2763         hence no tests, so this should be considered hardening.
2764
2765 2012-04-12  Benjamin Poulain  <bpoulain@apple.com>
2766
2767         Inline StringImpl::find(UChar, ...)
2768         https://bugs.webkit.org/show_bug.cgi?id=83737
2769
2770         Reviewed by Geoffrey Garen.
2771
2772         The implementation of StringImpl::find() is a simple branch before invoking one of
2773         two inline functions. The overhead of having a function for StringImpl::find() is significant.
2774
2775         It is better to let the compiler decide if that should be inlined or not.
2776
2777         * wtf/text/StringImpl.cpp:
2778         * wtf/text/StringImpl.h:
2779         (StringImpl):
2780         (WTF::find):
2781         (WTF):
2782         (WTF::reverseFind):
2783         (WTF::StringImpl::find):
2784         * wtf/text/WTFString.h:
2785
2786 2012-04-12  Balazs Kelemen  <kbalazs@webkit.org>
2787
2788         [Qt] Fix WebKit1 build with V8
2789         https://bugs.webkit.org/show_bug.cgi?id=83322
2790
2791         Reviewed by Adam Barth.
2792
2793         * wtf/StdLibExtras.h:
2794         (WTF):
2795
2796 2012-04-12  Jer Noble  <jer.noble@apple.com>
2797
2798         ThreadingWin: Mutex::unlock() can be "over-unlocked".
2799         https://bugs.webkit.org/show_bug.cgi?id=83725
2800
2801         Reviewed by David Levin.
2802
2803         In order to support the behavior of pthread_mutex_trylock(), the Windows Mutex class includes
2804         a recursion counter which is incremented in Mutex::lock(), decremented in Mutex::unlock(),
2805         and checked in Mutex::tryLock().  If the mutex is "over-unlocked", the counter wraps around to
2806         MAX_INT, and subsequent calls to Mutex::trylock() will fail. Raise an ASSERT in this situation
2807         so the "over-unlock" will be caught.
2808
2809         * wtf/ThreadingWin.cpp:
2810         (WTF::Mutex::unlock): ASSERT if unlocking a non-locked mutex.
2811
2812 2012-04-10  Mark Rowe  <mrowe@apple.com>
2813
2814         <rdar://problem/10583749> WebKit2 should log to both ASL and stderr
2815
2816         Reviewed by Sam Weinig.
2817
2818         * wtf/Assertions.cpp: Add a WTFLogAlways function that unconditionally logs the given message.
2819         * wtf/Assertions.h:
2820
2821 2012-04-10  Patrick Gansterer  <paroga@webkit.org>
2822
2823         Cleanup wtf/Platform.h and config.h files
2824         https://bugs.webkit.org/show_bug.cgi?id=83431
2825
2826         Reviewed by Eric Seidel.
2827
2828         The ENABLE() and USE() macros take care about the case when the flag
2829         isn't defined. So there is no need to define anything with 0.
2830
2831         Also move duplicated code from the config.h files to Platform.h and
2832         merge a few preprocessor commands to make the file more readable.
2833
2834         * config.h:
2835         * wtf/Platform.h:
2836
2837 2012-04-10  Filip Pizlo  <fpizlo@apple.com>
2838
2839         DFG should flush SetLocals to arguments
2840         https://bugs.webkit.org/show_bug.cgi?id=83554
2841
2842         Reviewed by Gavin Barraclough.
2843         
2844         Added an isRoot() method that is a faster shorthand for saying
2845         find() == this.
2846
2847         * wtf/UnionFind.h:
2848         (WTF::UnionFind::isRoot):
2849         (UnionFind):
2850
2851 2012-04-10  Adam Klein  <adamk@chromium.org>
2852
2853         Remove unused NonNullPassRefPtr from WTF
2854         https://bugs.webkit.org/show_bug.cgi?id=82389
2855
2856         Reviewed by Kentaro Hara.
2857
2858         NonNullPassRefPtr seems to be unused since JSC allocation was
2859         restructured in r84052.
2860
2861         If someone decides they need this later, they can always revert this patch.
2862
2863         * wtf/PassRefPtr.h:
2864         * wtf/RefPtr.h:
2865         (RefPtr):
2866
2867 2012-04-10  Patrick Gansterer  <paroga@webkit.org>
2868
2869         [CMake] Enable USE_FOLDERS property
2870         https://bugs.webkit.org/show_bug.cgi?id=83571
2871
2872         Reviewed by Daniel Bates.
2873
2874         Setting the FOLDER property on targets gives more structure 
2875         to the generated Visual Studio solutions.
2876         This does not affect other CMake generators.
2877
2878         * wtf/CMakeLists.txt:
2879
2880 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
2881
2882         Port BinarySemaphoreWin.cpp to WinCE
2883         https://bugs.webkit.org/show_bug.cgi?id=83502
2884
2885         Reviewed by Daniel Bates.
2886
2887         Replace WaitForSingleObjectEx with WaitForSingleObject since
2888         the additonal parameter supported by the extended function
2889         is not used anyway and the function does not exist on WinCE.
2890
2891         * wtf/CMakeLists.txt:
2892         * wtf/PlatformWinCE.cmake:
2893         * wtf/threads/win/BinarySemaphoreWin.cpp:
2894         (WTF::BinarySemaphore::wait):
2895
2896 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
2897
2898         [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
2899
2900         * wtf/CMakeLists.txt:
2901
2902 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
2903
2904         Remove HAVE_STDINT_H
2905         https://bugs.webkit.org/show_bug.cgi?id=83434
2906
2907         Reviewed by Kentaro Hara.
2908
2909         HAVE_STDINT_H is defined with 1 all the time and we us stdint.h without HAVE(STDINT_H) already.
2910
2911         * config.h:
2912         * wtf/FastMalloc.cpp:
2913         * wtf/TCPageMap.h:
2914         * wtf/TCSpinLock.h:
2915         * wtf/TCSystemAlloc.cpp:
2916
2917 2012-04-06  Benjamin Poulain  <bpoulain@apple.com>
2918
2919         Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION
2920         https://bugs.webkit.org/show_bug.cgi?id=83325
2921
2922         Reviewed by Ryosuke Niwa.
2923
2924         * wtf/Platform.h: Remove the flag.
2925
2926 2012-04-06  Darin Adler  <darin@apple.com>
2927
2928         Streamline strtod and fix some related problems
2929         https://bugs.webkit.org/show_bug.cgi?id=82857
2930
2931         Reviewed by Geoffrey Garen.
2932
2933         Replaced the strtod function template with a parseDouble function, eliminating
2934         the following unneeded features:
2935
2936         - need for a trailing null character and a call to strlen
2937         - needless conversion of string lengths from size_t to int and back that created
2938           the possibility of incorrect truncation
2939         - one level of function call; use inlining instead
2940         - construction of the StringToDoubleConverter object; it was used to pass
2941           arguments that are known at compile time
2942         - most of the StringToDoubleConverter::StringToDouble function's body; it was
2943           code we did not need
2944         - parsing of Infinity and NaN at the strtod level; added recently when we moved
2945           from the old strtod to the new one, and not needed or helpful at this level
2946         - multiple copies of code to narrow to single byte strings; in many cases
2947           this was done even when starting with an LChar string that is already
2948           single-byte, now we handle this with an overload of parseDouble
2949
2950         * wtf/dtoa.cpp:
2951         Removed a long comment about the original strtod function that no longer
2952         applies since we deleted that function long ago. Removed a lot of includes.
2953         Removed the strtod function templates and its instantiations, since they
2954         are now replaced by the parseDouble function.
2955         (WTF::Internal::parseDoubleFromLongString): Added.
2956         * wtf/dtoa.h:
2957         Added an include of ASCIICType.h so we can use isASCII in a function in this
2958         header. Left the heretofore unneeded include of double-conversion.h, since we
2959         now want to use it in a function in this header. Removed the AllowTrailingJunkTag
2960         and AllowTrailingSpacesTag enumerations and the strtod function template. Added
2961         new parseDouble function, and inline implementation of it.
2962
2963         * wtf/dtoa/double-conversion.cc: Removed quite a bit of unused code, hardcoding
2964         all the StringToDouble function arguments that come from data members so it can
2965         be a much smaller static member function. Also changed the types of arguments
2966         from int to size_t.
2967         * wtf/dtoa/double-conversion.h: Removed most of the StringToDoubleConverter
2968         class, leaving only the conversion function as a static member function.
2969
2970         * wtf/text/StringImpl.cpp:
2971         (WTF::StringImpl::toDouble): Got rid of didReadNumber.
2972         (WTF::StringImpl::toFloat): Ditto.
2973         * wtf/text/StringImpl.h: Ditto.
2974         * wtf/text/WTFString.cpp:
2975         (WTF::String::toDouble): Got rid of didReadNumber.
2976         (WTF::String::toFloat): Ditto.
2977         (WTF::toDoubleType): Rewrote this function to use parseDouble. Moved the code
2978         to skip leading spaces here, because other callers of parseDouble don't want
2979         to do that. Repurposed the check for an empty string so it's now the same
2980         code shared by all the "parsed nothing" cases. Removed the code to convert
2981         the buffer to ASCII for two reasons: (1) We don't need that code at all when
2982         CharType is LChar, and (2) We now handle this through the two overloads for
2983         the parseDouble function. Disallowing trailing junk is now handled here,
2984         rather than inside parseDouble.
2985         (WTF::charactersToDouble): Updated for changes to toDoubleType. Removed the
2986         didReadNumber argument.
2987         (WTF::charactersToFloat): Ditto. Also added overloads that return the parsed
2988         length. These are a slightly more powerful way to do what didReadNumber was
2989         used for before.
2990
2991         * wtf/text/WTFString.h: Added comments, eliminated didReadNumber, and added
2992         overloads of charactersToFloat that replace charactersToFloatIgnoringJunk.
2993
2994 2012-04-05  Patrick Gansterer  <paroga@webkit.org>
2995
2996         [WinCE] Remove unnecessary function decleration
2997         https://bugs.webkit.org/show_bug.cgi?id=83155
2998
2999         Reviewed by Kentaro Hara.
3000
3001         * wtf/DateMath.cpp:
3002         * wtf/Platform.h:
3003
3004 2012-04-04  Patrick Gansterer  <paroga@webkit.org>
3005
3006         Add WTF::getCurrentLocalTime()
3007         https://bugs.webkit.org/show_bug.cgi?id=83164
3008
3009         Reviewed by Alexey Proskuryakov.
3010
3011         Replace the calls to WTF::getLocalTime() with time(0) with the new function.
3012         This allows us to use Win32 API on windows to get the same result in a next step.
3013
3014         Also remove the inline keyword from WTF::getLocalTime(), since there is no need for
3015         it and it will make the later Win32 API changes easier.
3016
3017         * WTF.gyp/WTF.gyp:
3018         * wtf/CurrentTime.cpp:
3019         (WTF::getLocalTime):
3020         (WTF::getCurrentLocalTime):
3021         * wtf/CurrentTime.h:
3022
3023 2012-04-04  Chris Rogers  <crogers@google.com>
3024
3025         Web Audio should use MutexTryLocker class
3026         https://bugs.webkit.org/show_bug.cgi?id=83194
3027
3028         Reviewed by Kenneth Russell.
3029
3030         Add MutexTryLocker class which can be used as a stack-based object wrapping a Mutex.
3031         It will automatically unlock the Mutex in its destructor if the tryLock() succeeded.
3032
3033         * wtf/ThreadingPrimitives.h:
3034         (MutexTryLocker):
3035         (WTF::MutexTryLocker::MutexTryLocker):
3036         (WTF::MutexTryLocker::~MutexTryLocker):
3037         (WTF::MutexTryLocker::locked):
3038         Check if the tryLock() on the Mutex succeeded.
3039         (WTF):
3040
3041 2012-04-04  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
3042
3043         [Coverity] Address some uninit constructor values.
3044         https://bugs.webkit.org/show_bug.cgi?id=82424
3045
3046         Reviewed by Stephen White.
3047
3048         New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
3049
3050         * wtf/ArrayBufferView.cpp:
3051         (WTF::ArrayBufferView::ArrayBufferView):
3052
3053 2012-03-30  David Barr  <davidbarr@chromium.org>
3054
3055         Split up top-level .gitignore and .gitattributes
3056         https://bugs.webkit.org/show_bug.cgi?id=82687
3057
3058         Reviewed by Tor Arne Vestbø.
3059
3060         * WTF.gyp/.gitignore: Added.
3061
3062 2012-03-29  Kevin Ollivier  <kevino@theolliviers.com>
3063
3064         [wx] Unreviewed build fix. Add export symbols needed to
3065         build wx under Windows.
3066         
3067         * wtf/NullPtr.h:
3068         * wtf/ParallelJobsGeneric.h:
3069         (ParallelEnvironment):
3070         * wtf/ThreadSpecific.h:
3071         (WTF):
3072
3073 2012-03-29  Kevin Ollivier  <kevino@theolliviers.com>
3074
3075         [wx] Unreviewed build fix. Add WTF_EXPORT_PRIVATE_NO_RTTI
3076         so that ports not using RTTI can add symbol exports to
3077         classes that RTTI ports export with WTF_EXPORT_PRIVATE_RTTI.
3078
3079         * wtf/ArrayBufferView.h:
3080         * wtf/ExportMacros.h:
3081
3082 2012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3083
3084         HashMap<>::add should return a more descriptive object
3085         https://bugs.webkit.org/show_bug.cgi?id=71063
3086
3087         Reviewed by Ryosuke Niwa.
3088
3089         Make HashTable<>::add() and derivate functions return an AddResult struct instead
3090         of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
3091         more readable at callsites than previous 'first' and 'second'.
3092
3093         * wtf/HashCountedSet.h:
3094         (HashCountedSet):
3095         (WTF::::add):
3096         * wtf/HashMap.h:
3097         (HashMap):
3098         (WTF):
3099         (WTF::::set):
3100         * wtf/HashSet.h:
3101         (HashSet):
3102         (WTF::::add):
3103         (WTF):
3104         * wtf/HashTable.h:
3105         (WTF::HashTableAddResult::HashTableAddResult):
3106         (HashTableAddResult):
3107         (WTF):
3108         (HashTable):
3109         (WTF::HashTable::add):
3110         (WTF::::add):
3111         (WTF::::addPassingHashCode):
3112         * wtf/ListHashSet.h:
3113         (ListHashSet):
3114         (WTF::::add):
3115         (WTF::::insertBefore):
3116         * wtf/RefPtrHashMap.h:
3117         (WTF):
3118         (WTF::::set):
3119         * wtf/Spectrum.h:
3120         (WTF::Spectrum::add):
3121         * wtf/WTFThreadData.cpp:
3122         (JSC::IdentifierTable::add):
3123         * wtf/WTFThreadData.h:
3124         (IdentifierTable):
3125         * wtf/text/AtomicString.cpp:
3126         (WTF::addToStringTable):
3127         (WTF::AtomicString::addSlowCase):
3128
3129 2012-03-29  Andreas Kling  <kling@webkit.org>
3130
3131         String: Subscript operator shouldn't force conversion to 16-bit characters.
3132         <http://webkit.org/b/82613>
3133
3134         Reviewed by Anders Carlsson.
3135
3136         Forward String::operator[] to StringImpl::operator[] instead of indexing into characters().
3137         This avoid implicit conversion of 8-bit strings to 16-bit, and as an example, reduces memory
3138         usage on http://www.allthingsd.com/ by 360kB.
3139
3140         * wtf/text/WTFString.h:
3141         (WTF::String::operator[]):
3142
3143 2012-03-28  Carlos Garcia Campos  <cgarcia@igalia.com>
3144
3145         [GTK] Implement PlatformStrategies
3146         https://bugs.webkit.org/show_bug.cgi?id=82454
3147
3148         Reviewed by Xan Lopez.
3149
3150         * wtf/Platform.h: Define WTF_USE_PLATFORM_STRATEGIES for GTK+
3151         platform too.
3152
3153 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
3154
3155         Set eol-style: native on WTF.sln per Ryan Sleevi's request.
3156
3157         * WTF.vcproj/WTF.sln: Added property svn:eol-style.
3158
3159 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
3160
3161         Chromium build fix; add BitVector.h/cpp to gypi.
3162
3163         * WTF.gypi:
3164
3165 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
3166
3167         Touch BitVector as a speculative fix for Chromium Linux.
3168
3169         * wtf/BitVector.h:
3170         (BitVector):
3171
3172 2012-03-23  Ryosuke Niwa  <rniwa@webkit.org>
3173
3174         cssText should use shorthand notations
3175         https://bugs.webkit.org/show_bug.cgi?id=81737
3176
3177         Reviewed by Enrica Casucci.
3178
3179         * wtf/BitVector.h:
3180         (BitVector):
3181         (WTF::BitVector::ensureSizeAndSet): Added.
3182
3183 2012-03-26  Carlos Garcia Campos  <cgarcia@igalia.com>
3184
3185         Unreviewed. Fix make distcheck.
3186
3187         * GNUmakefile.list.am: Add config.h to the source file list.
3188
3189 2012-03-25  Kevin Ollivier  <kevino@theolliviers.com>
3190
3191         [wx] Unreviewed build fix. Move WTF to its own static lib build.
3192
3193         * wscript: Added.
3194
3195 2012-03-23  Tony Chang  <tony@chromium.org>
3196
3197         [chromium] Unreviewed, move a comment closer to where it matters and
3198         make it more specific.
3199
3200         * WTF.gyp/WTF.gyp:
3201
3202 2012-03-23  Steve Falkenburg  <sfalken@apple.com>
3203
3204         Update Apple Windows build files for WTF move
3205         https://bugs.webkit.org/show_bug.cgi?id=82069
3206
3207         Reviewed by Jessie Berlin.
3208
3209         * WTF.vcproj/WTF.make: Added.
3210         * WTF.vcproj/WTF.sln: Added.
3211
3212 2012-03-23  Dean Jackson  <dino@apple.com>
3213
3214         Disable CSS_SHADERS in Apple builds
3215         https://bugs.webkit.org/show_bug.cgi?id=81996
3216
3217         Reviewed by Simon Fraser.
3218
3219         Put ENABLE_CSS_SHADERS into Platform.h, but disable for
3220         Apple builds.
3221
3222         * wtf/Platform.h:
3223
3224 2012-03-23  Tony Chang  <tony@chromium.org>
3225
3226         [chromium] rename newwtf target back to wtf
3227         https://bugs.webkit.org/show_bug.cgi?id=82064
3228
3229         Reviewed by Adam Barth.
3230
3231         * WTF.gyp/WTF.gyp:
3232
3233 2012-03-22  Jessie Berlin  <jberlin@apple.com>
3234
3235         Windows build fix after r111778.
3236
3237         * WTF.vcproj/WTF.vcproj:
3238         DateMath.h and DateMath.cpp should be built by WTF, since they are part of WTF.
3239
3240 2012-03-22  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
3241
3242         [CMake] Unreviewed build fix after r111778.
3243
3244         * CMakeLists.txt: Added.
3245         * wtf/CMakeLists.txt: Add ${CMAKE_BINARY_DIR} to the include paths
3246         for cmakeconfig.h to be found.
3247
3248 2012-03-22  Tony Chang  <tony@chromium.org>
3249
3250         Unreviewed, attempt to fix the chromium-win build and another attempt
3251         at fixing the chromium-android build.
3252
3253         * WTF.gyp/WTF.gyp:
3254
3255 2012-03-22  Tony Chang  <tony@chromium.org>
3256
3257         Unreviewed, attempt to fix chromium-android build.
3258
3259         * WTF.gyp/WTF.gyp:
3260
3261 2012-03-22  Tony Chang  <tony@chromium.org>
3262
3263         Unreviewed, fix chromium build after wtf move.
3264
3265         Move wtf_config and wtf settings to newwtf.
3266
3267         * WTF.gyp/WTF.gyp:
3268
3269 2012-03-22  Martin Robinson  <mrobinson@igalia.com>
3270
3271         One more GTK+ build fix after r111778.
3272
3273         * GNUmakefile.am: Adding missing include path.
3274
3275 2012-03-22  Martin Robinson  <mrobinson@igalia.com>
3276
3277         Fixed the GTK+ WTF/JavaScriptCore build after r111778.
3278
3279         * GNUmakefile.am: Remove some extra trailing backslashes and a few uncessary
3280           variables.
3281         * GNUmakefile.list.am: Ditto.
3282
3283 2012-03-22  Dan Bernstein  <mitz@apple.com>
3284
3285         Fixed the JavaScriptCore debug build after r111778.
3286
3287         * WTF.xcodeproj/project.pbxproj: Use debug DEBUG_DEFINES when building
3288         the Debug configuration.
3289
3290 2012-03-22  Csaba Osztrogonác  <ossy@webkit.org>
3291
3292         Actually move WTF files to their new home
3293         https://bugs.webkit.org/show_bug.cgi?id=81844
3294
3295         [Qt] Unreviewed buildfix after r111778.
3296
3297         * WTF.pri:
3298
3299 2012-03-22  Eric Seidel  <eric@webkit.org>
3300
3301         Actually move WTF files to their new home
3302         https://bugs.webkit.org/show_bug.cgi?id=81844
3303
3304         Unreviewed attempt to fix AppleWin.
3305
3306         * WTF.vcproj/WTFCommon.vsprops:
3307
3308 2012-03-22  Eric Seidel  <eric@webkit.org>
3309
3310         Actually move WTF files to their new home
3311         https://bugs.webkit.org/show_bug.cgi?id=81844
3312
3313         Unreviewed.  The 5MB file move is not very reviewable,
3314         but various port representatives have OK'd changes to the
3315         individual build systems.
3316
3317         * Configurations/WTF.xcconfig:
3318         * GNUmakefile.list.am:
3319         * Stub.cpp: Removed.
3320         * Stub.h: Removed.
3321         * WTF.gypi:
3322         * WTF.pri:
3323         * WTF.pro:
3324         * WTF.vcproj/WTF.vcproj:
3325         * WTF.vcproj/copy-files.cmd:
3326         * WTF.xcodeproj/project.pbxproj:
3327         * config.h:
3328         * wtf/ASCIICType.h: Renamed from Source/JavaScriptCore/wtf/ASCIICType.h.
3329         (WTF):
3330         (WTF::isASCII):
3331         (WTF::isASCIIAlpha):
3332         (WTF::isASCIIDigit):
3333         (WTF::isASCIIAlphanumeric):
3334         (WTF::isASCIIHexDigit):
3335         (WTF::isASCIILower):
3336         (WTF::isASCIIOctalDigit):
3337         (WTF::isASCIIPrintable):
3338         (WTF::isASCIISpace):
3339         (WTF::isASCIIUpper):
3340         (WTF::toASCIILower):
3341         (WTF::toASCIILowerUnchecked):
3342         (WTF::toASCIIUpper):
3343         (WTF::toASCIIHexValue):
3344         (WTF::lowerNibbleToASCIIHexDigit):
3345         (WTF::upperNibbleToASCIIHexDigit):
3346         (WTF::isASCIIAlphaCaselessEqual):
3347         * wtf/AVLTree.h: Renamed from Source/JavaScriptCore/wtf/AVLTree.h.
3348         (WTF):
3349         (AVLTreeDefaultBSet):
3350         (WTF::AVLTreeDefaultBSet::operator[]):
3351         (WTF::AVLTreeDefaultBSet::set):
3352         (WTF::AVLTreeDefaultBSet::reset):
3353         (AVLTree):
3354         (WTF::AVLTree::abstractor):
3355         (WTF::AVLTree::purge):
3356         (WTF::AVLTree::is_empty):
3357         (WTF::AVLTree::AVLTree):
3358         (Iterator):
3359         (WTF::AVLTree::Iterator::Iterator):
3360         (WTF::AVLTree::Iterator::start_iter):
3361         (WTF::AVLTree::Iterator::start_iter_least):
3362         (WTF::AVLTree::Iterator::start_iter_greatest):
3363         (WTF::AVLTree::Iterator::operator*):
3364         (WTF::AVLTree::Iterator::operator++):
3365         (WTF::AVLTree::Iterator::operator--):
3366         (WTF::AVLTree::Iterator::cmp_k_n):
3367         (WTF::AVLTree::Iterator::cmp_n_n):
3368         (WTF::AVLTree::Iterator::get_lt):
3369         (WTF::AVLTree::Iterator::get_gt):
3370         (WTF::AVLTree::Iterator::null):
3371         (WTF::AVLTree::build):
3372         (abs_plus_root):
3373         (WTF::AVLTree::get_lt):
3374         (WTF::AVLTree::set_lt):
3375         (WTF::AVLTree::get_gt):
3376         (WTF::AVLTree::set_gt):
3377         (WTF::AVLTree::get_bf):
3378         (WTF::AVLTree::set_bf):
3379         (WTF::AVLTree::cmp_k_n):
3380         (WTF::AVLTree::cmp_n_n):
3381         (WTF::AVLTree::null):
3382         (WTF::AVLTree::balance):
3383         (WTF::::insert):
3384         (WTF::::search):
3385         (WTF::::search_least):
3386         (WTF::::search_greatest):
3387         (WTF::::remove):
3388         (WTF::::subst):
3389         * wtf/Alignment.h: Renamed from Source/JavaScriptCore/wtf/Alignment.h.
3390         (WTF):
3391         (WTF::swap):
3392         * wtf/AlwaysInline.h: Renamed from Source/JavaScriptCore/wtf/AlwaysInline.h.
3393         * wtf/ArrayBuffer.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.cpp.
3394         (WTF):
3395         (WTF::ArrayBuffer::transfer):
3396         (WTF::ArrayBuffer::addView):
3397         (WTF::ArrayBuffer::removeView):
3398         * wtf/ArrayBuffer.h: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.h.
3399         (WTF):
3400         (ArrayBufferContents):
3401         (WTF::ArrayBufferContents::ArrayBufferContents):
3402         (WTF::ArrayBufferContents::data):
3403         (WTF::ArrayBufferContents::sizeInBytes):
3404         (WTF::ArrayBufferContents::transfer):
3405         (ArrayBuffer):
3406         (WTF::ArrayBuffer::isNeutered):
3407         (WTF::ArrayBuffer::~ArrayBuffer):
3408         (WTF::ArrayBuffer::clampValue):
3409         (WTF::ArrayBuffer::create):
3410         (WTF::ArrayBuffer::ArrayBuffer):
3411         (WTF::ArrayBuffer::data):
3412         (WTF::ArrayBuffer::byteLength):
3413         (WTF::ArrayBuffer::slice):
3414         (WTF::ArrayBuffer::sliceImpl):
3415         (WTF::ArrayBuffer::clampIndex):
3416         (WTF::ArrayBufferContents::tryAllocate):
3417         (WTF::ArrayBufferContents::~ArrayBufferContents):
3418         * wtf/ArrayBufferView.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.cpp.
3419         (WTF):
3420         (WTF::ArrayBufferView::ArrayBufferView):
3421         (WTF::ArrayBufferView::~ArrayBufferView):
3422         (WTF::ArrayBufferView::neuter):
3423         * wtf/ArrayBufferView.h: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.h.
3424         (WTF):
3425         (WTF::ArrayBufferView::setImpl):
3426         (WTF::ArrayBufferView::setRangeImpl):
3427         (WTF::ArrayBufferView::zeroRangeImpl):
3428         (WTF::ArrayBufferView::calculateOffsetAndLength):
3429         * wtf/Assertions.cpp: Renamed from Source/JavaScriptCore/wtf/Assertions.cpp.
3430         * wtf/Assertions.h: Renamed from Source/JavaScriptCore/wtf/Assertions.h.
3431         (assertUnused):
3432         (assertWithMessageUnused):
3433         * wtf/Atomics.h: Renamed from Source/JavaScriptCore/wtf/Atomics.h.
3434         (WTF):
3435         (WTF::atomicIncrement):
3436         (WTF::atomicDecrement):
3437         (WTF::weakCompareAndSwap):
3438         (WTF::weakCompareAndSwapUIntPtr):
3439         * wtf/BitVector.cpp: Renamed from Source/JavaScriptCore/wtf/BitVector.cpp.
3440         (WTF):
3441         (WTF::BitVector::setSlow):
3442         (WTF::BitVector::resize):
3443         (WTF::BitVector::clearAll):
3444         (WTF::BitVector::OutOfLineBits::create):
3445         (WTF::BitVector::OutOfLineBits::destroy):
3446         (WTF::BitVector::resizeOutOfLine):
3447         (WTF::BitVector::dump):
3448         * wtf/BitVector.h: Renamed from Source/JavaScriptCore/wtf/BitVector.h.
3449         (WTF):
3450         (BitVector):
3451         (WTF::BitVector::BitVector):
3452         (WTF::BitVector::~BitVector):
3453         (WTF::BitVector::operator=):
3454         (WTF::BitVector::size):
3455         (WTF::BitVector::ensureSize):
3456         (WTF::BitVector::quickGet):
3457         (WTF::BitVector::quickSet):
3458         (WTF::BitVector::quickClear):
3459         (WTF::BitVector::get):
3460         (WTF::BitVector::set):
3461         (WTF::BitVector::clear):
3462         (WTF::BitVector::bitsInPointer):
3463         (WTF::BitVector::maxInlineBits):
3464         (WTF::BitVector::byteCount):
3465         (WTF::BitVector::makeInlineBits):
3466         (OutOfLineBits):
3467         (WTF::BitVector::OutOfLineBits::numBits):
3468         (WTF::BitVector::OutOfLineBits::numWords):
3469         (WTF::BitVector::OutOfLineBits::bits):
3470         (WTF::BitVector::OutOfLineBits::OutOfLineBits):
3471         (WTF::BitVector::isInline):
3472         (WTF::BitVector::outOfLineBits):
3473         (WTF::BitVector::bits):
3474         * wtf/Bitmap.h: Renamed from Source/JavaScriptCore/wtf/Bitmap.h.
3475         (WTF):
3476         (Bitmap):
3477         (WTF::::Bitmap):
3478         (WTF::::get):
3479         (WTF::::set):
3480         (WTF::::testAndSet):
3481         (WTF::::testAndClear):
3482         (WTF::::concurrentTestAndSet):
3483         (WTF::::concurrentTestAndClear):
3484         (WTF::::clear):
3485         (WTF::::clearAll):
3486         (WTF::::nextPossiblyUnset):
3487         (WTF::::findRunOfZeros):
3488         (WTF::::count):
3489         (WTF::::isEmpty):
3490         (WTF::::isFull):
3491         * wtf/BlockStack.h: Renamed from Source/JavaScriptCore/wtf/BlockStack.h.
3492         (WTF):
3493         (BlockStack):
3494         (WTF::::BlockStack):
3495         (WTF::::~BlockStack):
3496         (WTF::::blocks):
3497         (WTF::::grow):
3498         (WTF::::shrink):
3499         * wtf/BloomFilter.h: Renamed from Source/JavaScriptCore/wtf/BloomFilter.h.
3500         (WTF):
3501         (BloomFilter):
3502         (WTF::BloomFilter::maximumCount):
3503         (WTF::BloomFilter::BloomFilter):
3504         (WTF::BloomFilter::mayContain):
3505         (WTF::BloomFilter::add):
3506         (WTF::BloomFilter::remove):
3507         (WTF::BloomFilter::firstSlot):
3508         (WTF::BloomFilter::secondSlot):
3509         (WTF::::add):
3510         (WTF::::remove):
3511         (WTF::::clear):
3512         (WTF::::likelyEmpty):
3513         (WTF::::isClear):
3514         * wtf/BoundsCheckedPointer.h: Renamed from Source/JavaScriptCore/wtf/BoundsCheckedPointer.h.
3515         (WTF):
3516         (BoundsCheckedPointer):
3517         (WTF::BoundsCheckedPointer::BoundsCheckedPointer):
3518         (WTF::BoundsCheckedPointer::operator=):
3519         (WTF::BoundsCheckedPointer::operator+=):
3520         (WTF::BoundsCheckedPointer::operator-=):
3521         (WTF::BoundsCheckedPointer::operator+):
3522         (WTF::BoundsCheckedPointer::operator-):
3523         (WTF::BoundsCheckedPointer::operator++):
3524         (WTF::BoundsCheckedPointer::operator--):
3525         (WTF::BoundsCheckedPointer::operator<):
3526         (WTF::BoundsCheckedPointer::operator<=):
3527         (WTF::BoundsCheckedPointer::operator>):
3528         (WTF::BoundsCheckedPointer::operator>=):
3529         (WTF::BoundsCheckedPointer::operator==):
3530         (WTF::BoundsCheckedPointer::operator!=):
3531         (WTF::BoundsCheckedPointer::operator!):
3532         (WTF::BoundsCheckedPointer::get):
3533         (WTF::BoundsCheckedPointer::operator*):
3534         (WTF::BoundsCheckedPointer::operator[]):
3535         (WTF::BoundsCheckedPointer::strcat):
3536         (WTF::BoundsCheckedPointer::validate):
3537         * wtf/BumpPointerAllocator.h: Renamed from Source/JavaScriptCore/wtf/BumpPointerAllocator.h.
3538         (WTF):
3539         (BumpPointerPool):
3540         (WTF::BumpPointerPool::ensureCapacity):
3541         (WTF::BumpPointerPool::alloc):
3542         (WTF::BumpPointerPool::dealloc):
3543         (WTF::BumpPointerPool::operator new):
3544         (WTF::BumpPointerPool::BumpPointerPool):
3545         (WTF::BumpPointerPool::create):
3546         (WTF::BumpPointerPool::shrink):
3547         (WTF::BumpPointerPool::destroy):
3548         (WTF::BumpPointerPool::ensureCapacityCrossPool):
3549         (WTF::BumpPointerPool::deallocCrossPool):
3550         (BumpPointerAllocator):
3551         (WTF::BumpPointerAllocator::BumpPointerAllocator):
3552         (WTF::BumpPointerAllocator::~BumpPointerAllocator):
3553         (WTF::BumpPointerAllocator::startAllocator):
3554         (WTF::BumpPointerAllocator::stopAllocator):
3555         * wtf/ByteArray.cpp: Renamed from Source/JavaScriptCore/wtf/ByteArray.cpp.
3556         (WTF):
3557         (WTF::ByteArray::create):
3558         * wtf/ByteArray.h: Renamed from Source/JavaScriptCore/wtf/ByteArray.h.
3559         (ByteArray):
3560         (WTF::ByteArray::length):
3561         (WTF::ByteArray::set):
3562         (WTF::ByteArray::get):
3563         (WTF::ByteArray::data):
3564         (WTF::ByteArray::clear):
3565         (WTF::ByteArray::deref):
3566         (WTF::ByteArray::offsetOfSize):
3567         (WTF::ByteArray::offsetOfData):
3568         (WTF::ByteArray::ByteArray):
3569         * wtf/CMakeLists.txt: Renamed from Source/JavaScriptCore/wtf/CMakeLists.txt.
3570         * wtf/CONTRIBUTORS.pthreads-win32: Renamed from Source/JavaScriptCore/wtf/CONTRIBUTORS.pthreads-win32.
3571         * wtf/CheckedArithmetic.h: Renamed from Source/JavaScriptCore/wtf/CheckedArithmetic.h.
3572         (WTF):
3573         (CrashOnOverflow):
3574         (WTF::CrashOnOverflow::overflowed):
3575         (WTF::CrashOnOverflow::clearOverflow):
3576         (WTF::CrashOnOverflow::hasOverflowed):
3577         (RecordOverflow):
3578         (WTF::RecordOverflow::RecordOverflow):
3579         (WTF::RecordOverflow::overflowed):
3580         (WTF::RecordOverflow::clearOverflow):
3581         (WTF::RecordOverflow::hasOverflowed):
3582         (WTF::isInBounds):
3583         (RemoveChecked):
3584         (WTF::safeAdd):
3585         (WTF::safeSub):
3586         (WTF::safeMultiply):
3587         (WTF::safeEquals):
3588         (WTF::workAroundClangBug):
3589         (Checked):
3590         (WTF::Checked::Checked):
3591         (WTF::Checked::operator=):
3592         (WTF::Checked::operator++):
3593         (WTF::Checked::operator--):
3594         (WTF::Checked::operator!):
3595         (WTF::Checked::operator UnspecifiedBoolType*):
3596         (WTF::Checked::unsafeGet):
3597         (WTF::Checked::operator+=):
3598         (WTF::Checked::operator-=):
3599         (WTF::Checked::operator*=):
3600         (WTF::Checked::operator==):
3601         (WTF::Checked::operator!=):
3602         (WTF::operator+):
3603         (WTF::operator-):
3604         (WTF::operator*):
3605         * wtf/CheckedBoolean.h: Renamed from Source/JavaScriptCore/wtf/CheckedBoolean.h.
3606         (CheckedBoolean):
3607         (CheckedBoolean::CheckedBoolean):
3608         (CheckedBoolean::~CheckedBoolean):
3609         (CheckedBoolean::operator bool):
3610         * wtf/Compiler.h: Renamed from Source/JavaScriptCore/wtf/Compiler.h.
3611         * wtf/Complex.h: Renamed from Source/JavaScriptCore/wtf/Complex.h.
3612         (WTF):
3613         (WTF::complexFromMagnitudePhase):
3614         * wtf/CryptographicallyRandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp.
3615         (WTF::cryptographicallyRandomNumber):
3616         (WTF):
3617         (WTF::cryptographicallyRandomValues):
3618         * wtf/CryptographicallyRandomNumber.h: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.h.
3619         (WTF):
3620         * wtf/CurrentTime.cpp: Renamed from Source/JavaScriptCore/wtf/CurrentTime.cpp.
3621         (WTF):
3622         (WTF::highResUpTime):
3623         (WTF::lowResUTCTime):
3624         (WTF::qpcAvailable):
3625         (WTF::currentTime):
3626         (WTF::currentSystemTime):
3627         (WTF::monotonicallyIncreasingTime):
3628         * wtf/CurrentTime.h: Renamed from Source/JavaScriptCore/wtf/CurrentTime.h.
3629         (WTF):
3630         (WTF::currentTimeMS):
3631         (WTF::getLocalTime):
3632         * wtf/DataLog.cpp: Renamed from Source/JavaScriptCore/wtf/DataLog.cpp.
3633         (WTF):
3634         (WTF::initializeLogFileOnce):
3635         (WTF::initializeLogFile):
3636         (WTF::dataFile):
3637         (WTF::dataLogV):
3638         (WTF::dataLog):
3639         * wtf/DataLog.h: Renamed from Source/JavaScriptCore/wtf/DataLog.h.
3640         (WTF):
3641         * wtf/DateMath.cpp: Renamed from Source/JavaScriptCore/wtf/DateMath.cpp.
3642         (WTF):
3643         (WTF::isLeapYear):
3644         (WTF::daysInYear):
3645         (WTF::daysFrom1970ToYear):
3646         (WTF::msToDays):
3647         (WTF::twoDigitStringFromNumber):
3648         (WTF::msToYear):
3649         (WTF::dayInYear):
3650         (WTF::msToMilliseconds):
3651         (WTF::msToMinutes):
3652         (WTF::msToHours):
3653         (WTF::monthFromDayInYear):
3654         (WTF::checkMonth):
3655         (WTF::dayInMonthFromDayInYear):
3656         (WTF::monthToDayInYear):
3657         (WTF::dateToDaysFrom1970):
3658         (WTF::maximumYearForDST):
3659         (WTF::minimumYearForDST):
3660         (WTF::equivalentYearForDST):
3661         (WTF::calculateUTCOffset):
3662         (WTF::calculateDSTOffsetSimple):
3663         (WTF::calculateDSTOffset):
3664         (WTF::initializeDates):
3665         (WTF::ymdhmsToSeconds):
3666         (KnownZone):
3667         (WTF::skipSpacesAndComments):
3668         (WTF::findMonth):
3669         (WTF::parseLong):
3670         (WTF::parseES5DatePortion):
3671         (WTF::parseES5TimePortion):
3672         (WTF::parseES5DateFromNullTerminatedCharacters):
3673         (WTF::parseDateFromNullTerminatedCharacters):
3674         (WTF::timeClip):
3675         (WTF::makeRFC2822DateString):
3676         * wtf/DateMath.h: Renamed from Source/JavaScriptCore/wtf/DateMath.h.
3677         (WTF):
3678         (WTF::jsCurrentTime):
3679         * wtf/DecimalNumber.cpp: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.cpp.
3680         (WTF):
3681         (WTF::DecimalNumber::bufferLengthForStringDecimal):
3682         (WTF::DecimalNumber::bufferLengthForStringExponential):
3683         (WTF::DecimalNumber::toStringDecimal):
3684         (WTF::DecimalNumber::toStringExponential):
3685         * wtf/DecimalNumber.h: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.h.
3686         (WTF):
3687         (DecimalNumber):
3688         (WTF::DecimalNumber::DecimalNumber):
3689         (WTF::DecimalNumber::sign):
3690         (WTF::DecimalNumber::exponent):
3691         (WTF::DecimalNumber::significand):
3692         (WTF::DecimalNumber::precision):
3693         * wtf/Decoder.h: Renamed from Source/JavaScriptCore/wtf/Decoder.h.
3694         (WTF):
3695         (Decoder):
3696         (WTF::Decoder::Decoder):
3697         (WTF::Decoder::~Decoder):
3698         * wtf/Deque.h: Renamed from Source/JavaScriptCore/wtf/Deque.h.
3699         (WTF):
3700         (Deque):
3701         (WTF::Deque::size):
3702         (WTF::Deque::isEmpty):
3703         (WTF::Deque::begin):
3704         (WTF::Deque::end):
3705         (WTF::Deque::rbegin):
3706         (WTF::Deque::rend):
3707         (WTF::Deque::first):
3708         (WTF::Deque::last):
3709         (DequeIteratorBase):
3710         (WTF::DequeIteratorBase::assign):
3711         (DequeIterator):
3712         (WTF::DequeIterator::DequeIterator):
3713         (WTF::DequeIterator::operator=):
3714         (WTF::DequeIterator::operator*):
3715         (WTF::DequeIterator::operator->):
3716         (WTF::DequeIterator::operator==):
3717         (WTF::DequeIterator::operator!=):
3718         (WTF::DequeIterator::operator++):
3719         (WTF::DequeIterator::operator--):
3720         (DequeConstIterator):
3721         (WTF::DequeConstIterator::DequeConstIterator):
3722         (WTF::DequeConstIterator::operator=):
3723         (WTF::DequeConstIterator::operator*):
3724         (WTF::DequeConstIterator::operator->):
3725         (WTF::DequeConstIterator::operator==):
3726         (WTF::DequeConstIterator::operator!=):
3727         (WTF::DequeConstIterator::operator++):
3728         (WTF::DequeConstIterator::operator--):
3729         (DequeReverseIterator):
3730         (WTF::DequeReverseIterator::DequeReverseIterator):
3731         (WTF::DequeReverseIterator::operator=):
3732         (WTF::DequeReverseIterator::operator*):
3733         (WTF::DequeReverseIterator::operator->):
3734         (WTF::DequeReverseIterator::operator==):
3735         (WTF::DequeReverseIterator::operator!=):
3736         (WTF::DequeReverseIterator::operator++):
3737         (WTF::DequeReverseIterator::operator--):
3738         (DequeConstReverseIterator):
3739         (WTF::DequeConstReverseIterator::DequeConstReverseIterator):
3740         (WTF::DequeConstReverseIterator::operator=):
3741         (WTF::DequeConstReverseIterator::operator*):
3742         (WTF::DequeConstReverseIterator::operator->):
3743         (WTF::DequeConstReverseIterator::operator==):
3744         (WTF::DequeConstReverseIterator::operator!=):
3745         (WTF::DequeConstReverseIterator::operator++):
3746         (WTF::DequeConstReverseIterator::operator--):
3747         (WTF::::checkValidity):
3748         (WTF::::checkIndexValidity):
3749         (WTF::::invalidateIterators):
3750         (WTF::::Deque):
3751         (WTF::deleteAllValues):
3752         (WTF::=):
3753         (WTF::::destroyAll):
3754         (WTF::::~Deque):
3755         (WTF::::swap):
3756         (WTF::::clear):
3757         (WTF::::findIf):
3758         (WTF::::expandCapacityIfNeeded):
3759         (WTF::::expandCapacity):
3760         (WTF::::takeFirst):
3761         (WTF::::append):
3762         (WTF::::prepend):
3763         (WTF::::removeFirst):
3764         (WTF::::remove):
3765         (WTF::::addToIteratorsList):
3766         (WTF::::removeFromIteratorsList):
3767         (WTF::::DequeIteratorBase):
3768         (WTF::::~DequeIteratorBase):
3769         (WTF::::isEqual):
3770         (WTF::::increment):
3771         (WTF::::decrement):
3772         (WTF::::after):
3773         (WTF::::before):
3774         * wtf/DisallowCType.h: Renamed from Source/JavaScriptCore/wtf/DisallowCType.h.
3775         * wtf/DoublyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/DoublyLinkedList.h.
3776         (WTF):
3777         (DoublyLinkedListNode):
3778         (WTF::::DoublyLinkedListNode):
3779         (WTF::::setPrev):
3780         (WTF::::setNext):
3781         (WTF::::prev):
3782         (WTF::::next):
3783         (DoublyLinkedList):
3784         (WTF::::DoublyLinkedList):
3785         (WTF::::isEmpty):
3786         (WTF::::size):
3787         (WTF::::clear):
3788         (WTF::::head):
3789         (WTF::::tail):
3790         (WTF::::push):
3791         (WTF::::append):
3792         (WTF::::remove):
3793         (WTF::::removeHead):
3794         * wtf/DynamicAnnotations.cpp: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.cpp.
3795         (WTFAnnotateBenignRaceSized):
3796         (WTFAnnotateHappensBefore):
3797         (WTFAnnotateHappensAfter):
3798         * wtf/DynamicAnnotations.h: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.h.
3799         * wtf/Encoder.h: Renamed from Source/JavaScriptCore/wtf/Encoder.h.
3800         (WTF):
3801         (Encoder):
3802         (WTF::Encoder::Encoder):
3803         (WTF::Encoder::~Encoder):
3804         * wtf/ExportMacros.h: Renamed from Source/JavaScriptCore/wtf/ExportMacros.h.
3805         * wtf/FastAllocBase.h: Renamed from Source/JavaScriptCore/wtf/FastAllocBase.h.
3806         (WTF):
3807         (WTF::fastNew):
3808         (Internal):
3809         (WTF::Internal::NewArrayImpl::fastNewArray):
3810         (WTF::fastNewArray):
3811         (WTF::fastDelete):
3812         (WTF::fastDeleteSkippingDestructor):
3813         (WTF::Internal::DeleteArrayImpl::fastDeleteArray):
3814         (WTF::fastDeleteArray):
3815         (WTF::fastNonNullDelete):
3816         (WTF::Internal::NonNullDeleteArrayImpl::fastNonNullDeleteArray):
3817         (WTF::fastNonNullDeleteArray):
3818         * wtf/FastMalloc.cpp: Renamed from Source/JavaScriptCore/wtf/FastMalloc.cpp.
3819         (WTF):
3820         (WTF::isForbidden):
3821         (WTF::fastMallocForbid):
3822         (WTF::fastMallocAllow):
3823         (WTF::initializeIsForbiddenKey):
3824         (Internal):
3825         (WTF::Internal::fastMallocMatchFailed):
3826         (WTF::fastZeroedMalloc):
3827         (WTF::fastStrDup):
3828         (WTF::tryFastZeroedMalloc):
3829         (WTF::tryFastMalloc):
3830         (WTF::fastMalloc):
3831         (WTF::tryFastCalloc):
3832         (WTF::fastCalloc):
3833         (WTF::fastFree):
3834         (WTF::tryFastRealloc):
3835         (WTF::fastRealloc):
3836         (WTF::releaseFastMallocFreeMemory):
3837         (WTF::fastMallocStatistics):
3838         (WTF::fastMallocSize):
3839         (FastMallocZone):
3840         (WTF::FastMallocZone::goodSize):
3841         (WTF::FastMallocZone::check):
3842         (WTF::FastMallocZone::print):
3843         (WTF::FastMallocZone::log):
3844         (WTF::FastMallocZone::forceLock):
3845         (WTF::FastMallocZone::forceUnlock):
3846         (WTF::FastMallocZone::statistics):
3847         (WTF::FastMallocZone::zoneValloc):
3848         (WTF::FastMallocZone::zoneDestroy):
3849         (WTF::KernelSupportsTLS):
3850         (WTF::CheckIfKernelSupportsTLS):
3851         (WTF::ClassIndex):
3852         (TCEntry):
3853         (WTF::LgFloor):
3854         (WTF::SLL_Next):
3855         (WTF::SLL_SetNext):
3856         (WTF::SLL_Push):
3857         (WTF::SLL_Pop):
3858         (WTF::SLL_PopRange):
3859         (WTF::SLL_PushRange):
3860         (WTF::SLL_Size):
3861         (WTF::SizeClass):
3862         (WTF::ByteSizeForClass):
3863         (WTF::NumMoveSize):
3864         (WTF::InitSizeClasses):
3865         (WTF::MetaDataAlloc):
3866         (PageHeapAllocator):
3867         (WTF::PageHeapAllocator::Init):
3868         (WTF::PageHeapAllocator::New):
3869         (WTF::PageHeapAllocator::Delete):
3870         (WTF::PageHeapAllocator::inuse):
3871         (WTF::PageHeapAllocator::recordAdministrativeRegions):
3872         (WTF::pages):
3873         (WTF::AllocationSize):
3874         (Span):
3875         (WTF::Event):
3876         (WTF::NewSpan):
3877         (WTF::DeleteSpan):
3878         (WTF::DLL_Init):
3879         (WTF::DLL_Remove):
3880         (WTF::DLL_IsEmpty):
3881         (WTF::DLL_Length):
3882         (WTF::DLL_Print):
3883         (WTF::DLL_Prepend):
3884         (StackTrace):
3885         (MapSelector):
3886         (TCMalloc_PageHeap):
3887         (WTF::TCMalloc_PageHeap::GetDescriptor):
3888         (WTF::TCMalloc_PageHeap::GetDescriptorEnsureSafe):
3889         (WTF::TCMalloc_PageHeap::SystemBytes):
3890         (WTF::TCMalloc_PageHeap::FreeBytes):
3891         (WTF::TCMalloc_PageHeap::GetSizeClassIfCached):
3892         (WTF::TCMalloc_PageHeap::CacheSizeClass):
3893         (SpanList):
3894         (WTF::TCMalloc_PageHeap::RecordSpan):
3895         (WTF::TCMalloc_PageHeap::init):
3896         (WTF::TCMalloc_PageHeap::initializeScavenger):
3897         (WTF::TCMalloc_PageHeap::isScavengerSuspended):
3898         (WTF::TCMalloc_PageHeap::scheduleScavenger):
3899         (WTF::TCMalloc_PageHeap::rescheduleScavenger):
3900         (WTF::TCMalloc_PageHeap::suspendScavenger):
3901         (WTF::TCMalloc_PageHeap::scavengerTimerFired):
3902         (WTF::TCMalloc_PageHeap::runScavengerThread):
3903         (WTF::TCMalloc_PageHeap::signalScavenger):
3904         (WTF::TCMalloc_PageHeap::scavenge):
3905         (WTF::TCMalloc_PageHeap::shouldScavenge):
3906         (WTF::TCMalloc_PageHeap::New):
3907         (WTF::TCMalloc_PageHeap::AllocLarge):
3908         (WTF::TCMalloc_PageHeap::Split):
3909         (WTF::TCMalloc_PageHeap::Carve):
3910         (WTF::mergeDecommittedStates):
3911         (WTF::TCMalloc_PageHeap::Delete):
3912         (WTF::TCMalloc_PageHeap::IncrementalScavenge):
3913         (WTF::TCMalloc_PageHeap::RegisterSizeClass):
3914         (WTF::TCMalloc_PageHeap::ReturnedBytes):
3915         (WTF::PagesToMB):
3916         (WTF::TCMalloc_PageHeap::Dump):
3917         (WTF::TCMalloc_PageHeap::GrowHeap):
3918         (WTF::TCMalloc_PageHeap::Check):
3919         (WTF::TCMalloc_PageHeap::CheckList):
3920         (WTF::TCMalloc_PageHeap::ReleaseFreeList):
3921         (WTF::TCMalloc_PageHeap::ReleaseFreePages):
3922         (TCMalloc_ThreadCache_FreeList):
3923         (WTF::TCMalloc_ThreadCache_FreeList::Init):
3924         (WTF::TCMalloc_ThreadCache_FreeList::length):
3925         (WTF::TCMalloc_ThreadCache_FreeList::empty):
3926         (WTF::TCMalloc_ThreadCache_FreeList::lowwatermark):
3927         (WTF::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
3928         (WTF::TCMalloc_ThreadCache_FreeList::Push):
3929         (WTF::TCMalloc_ThreadCache_FreeList::PushRange):
3930         (WTF::TCMalloc_ThreadCache_FreeList::PopRange):
3931         (WTF::TCMalloc_ThreadCache_FreeList::Pop):
3932         (WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects):
3933         (TCMalloc_ThreadCache):
3934         (WTF::TCMalloc_ThreadCache::freelist_length):
3935         (WTF::TCMalloc_ThreadCache::Size):
3936         (WTF::TCMalloc_ThreadCache::enumerateFreeObjects):
3937         (TCMalloc_Central_FreeList):
3938         (WTF::TCMalloc_Central_FreeList::length):
3939         (WTF::TCMalloc_Central_FreeList::tc_length):
3940         (WTF::TCMalloc_Central_FreeList::enumerateFreeObjects):
3941         (TCMalloc_Central_FreeListPadded):
3942         (WTF::getPageHeap):
3943         (WTF::TCMalloc_PageHeap::periodicScavenge):
3944         (WTF::TCMalloc_PageHeap::scavengerThread):
3945         (WTF::setThreadHeap):
3946         (WTF::TCMalloc_Central_FreeList::Init):
3947         (WTF::TCMalloc_Central_FreeList::ReleaseListToSpans):
3948         (WTF::TCMalloc_Central_FreeList::ReleaseToSpans):
3949         (WTF::TCMalloc_Central_FreeList::EvictRandomSizeClass):
3950         (WTF::TCMalloc_Central_FreeList::MakeCacheSpace):
3951         (WTF::TCMalloc_Central_FreeList::ShrinkCache):
3952         (WTF::TCMalloc_Central_FreeList::InsertRange):
3953         (WTF::TCMalloc_Central_FreeList::RemoveRange):
3954         (WTF::TCMalloc_Central_FreeList::FetchFromSpansSafe):
3955         (WTF::TCMalloc_Central_FreeList::FetchFromSpans):
3956         (WTF::TCMalloc_Central_FreeList::Populate):
3957         (WTF::TCMalloc_ThreadCache::SampleAllocation):
3958         (WTF::TCMalloc_ThreadCache::Init):
3959         (WTF::TCMalloc_ThreadCache::Cleanup):
3960         (WTF::TCMalloc_ThreadCache::Allocate):
3961         (WTF::TCMalloc_ThreadCache::Deallocate):
3962         (WTF::TCMalloc_ThreadCache::FetchFromCentralCache):
3963         (WTF::TCMalloc_ThreadCache::ReleaseToCentralCache):
3964         (WTF::TCMalloc_ThreadCache::Scavenge):
3965         (WTF::TCMalloc_ThreadCache::PickNextSample):
3966         (WTF::TCMalloc_ThreadCache::InitModule):
3967         (WTF::TCMalloc_ThreadCache::NewHeap):
3968         (WTF::TCMalloc_ThreadCache::GetThreadHeap):
3969         (WTF::TCMalloc_ThreadCache::GetCache):
3970         (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
3971         (WTF::TCMalloc_ThreadCache::InitTSD):
3972         (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
3973         * wtf/FastMalloc.h: Renamed from Source/JavaScriptCore/wtf/FastMalloc.h.
3974         (WTF):
3975         (WTF::TryMallocReturnValue::TryMallocReturnValue):
3976         (WTF::TryMallocReturnValue::~TryMallocReturnValue):
3977         (TryMallocReturnValue):
3978         (WTF::TryMallocReturnValue::operator PossiblyNull<T>):
3979         (WTF::TryMallocReturnValue::getValue):
3980         (FastMallocStatistics):
3981         (ValidationHeader):
3982         (Internal):
3983         (WTF::Internal::fastMallocValidationHeader):
3984         (WTF::Internal::fastMallocValidationSuffix):
3985         (WTF::Internal::fastMallocMatchValidationType):
3986         (WTF::Internal::setFastMallocMatchValidationType):
3987         (WTF::fastMallocMatchValidateMalloc):
3988         (WTF::fastMallocMatchValidateFree):
3989         (WTF::fastMallocValidate):
3990         (throw):
3991         * wtf/FixedArray.h: Renamed from Source/JavaScriptCore/wtf/FixedArray.h.
3992         (WTF):
3993         (FixedArray):
3994         (WTF::FixedArray::operator[]):
3995         (WTF::FixedArray::data):
3996         (WTF::FixedArray::size):
3997         * wtf/Float32Array.h: Renamed from Source/JavaScriptCore/wtf/Float32Array.h.
3998         (WTF):
3999         (Float32Array):
4000         (WTF::Float32Array::set):
4001         (WTF::Float32Array::item):
4002         (WTF::Float32Array::isFloatArray):
4003         (WTF::Float32Array::create):
4004         (WTF::Float32Array::Float32Array):
4005         (WTF::Float32Array::subarray):
4006         * wtf/Float64Array.h: Renamed from Source/JavaScriptCore/wtf/Float64Array.h.
4007         (WTF):
4008         (Float64Array):
4009         (WTF::Float64Array::set):
4010         (WTF::Float64Array::item):
4011         (WTF::Float64Array::isDoubleArray):
4012         (WTF::Float64Array::create):
4013         (WTF::Float64Array::Float64Array):
4014         (WTF::Float64Array::subarray):
4015         * wtf/Forward.h: Renamed from Source/JavaScriptCore/wtf/Forward.h.
4016         (WTF):
4017         * wtf/Functional.h: Renamed from Source/JavaScriptCore/wtf/Functional.h.
4018         (WTF):
4019         (HasRefAndDeref):
4020         (NoType):
4021         (BaseMixin):
4022         (WTF::R):
4023         (WTF::C::):
4024         (WTF::RefAndDeref::ref):
4025         (WTF::RefAndDeref::deref):
4026         (ParamStorageTraits):
4027         (WTF::ParamStorageTraits::wrap):
4028         (WTF::ParamStorageTraits::unwrap):
4029         (FunctionImplBase):
4030         (WTF::FunctionImplBase::~FunctionImplBase):
4031         (FunctionBase):
4032         (WTF::FunctionBase::isNull):
4033         (WTF::FunctionBase::FunctionBase):
4034         (WTF::FunctionBase::impl):
4035         (WTF::bind):
4036         * wtf/GetPtr.h: Renamed from Source/JavaScriptCore/wtf/GetPtr.h.
4037         (WTF):
4038         (WTF::getPtr):
4039         * wtf/HashCountedSet.h: Renamed from Source/JavaScriptCore/wtf/HashCountedSet.h.
4040         (WTF):
4041         (HashCountedSet):
4042         (WTF::HashCountedSet::HashCountedSet):
4043         (WTF::::size):
4044         (WTF::::capacity):
4045         (WTF::::isEmpty):
4046         (WTF::::begin):
4047         (WTF::::end):
4048         (WTF::::find):
4049         (WTF::::contains):
4050         (WTF::::count):
4051         (WTF::::add):
4052         (WTF::::remove):
4053         (WTF::::removeAll):
4054         (WTF::::clear):
4055         (WTF::copyToVector):
4056         * wtf/HashFunctions.h: Renamed from Source/JavaScriptCore/wtf/HashFunctions.h.
4057         (WTF):
4058         (WTF::intHash):
4059         (WTF::IntHash::hash):
4060         (WTF::IntHash::equal):
4061         (IntHash):
4062         (WTF::FloatHash::hash):
4063         (WTF::FloatHash::equal):
4064         (FloatHash):
4065         (WTF::PtrHash::hash):
4066         (WTF::PtrHash::equal):
4067         (PtrHash):
4068         (WTF::PairHash::hash):
4069         (WTF::PairHash::equal):
4070         (PairHash):
4071         * wtf/HashIterators.h: Renamed from Source/JavaScriptCore/wtf/HashIterators.h.
4072         (WTF):
4073         (HashTableConstKeysIterator):
4074         (WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
4075         (WTF::HashTableConstKeysIterator::get):
4076         (WTF::HashTableConstKeysIterator::operator*):
4077         (WTF::HashTableConstKeysIterator::operator->):
4078         (WTF::HashTableConstKeysIterator::operator++):
4079         (HashTableConstValuesIterator):
4080         (WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
4081         (WTF::HashTableConstValuesIterator::get):
4082         (WTF::HashTableConstValuesIterator::operator*):
4083         (WTF::HashTableConstValuesIterator::operator->):
4084         (WTF::HashTableConstValuesIterator::operator++):
4085         (HashTableKeysIterator):
4086         (WTF::HashTableKeysIterator::HashTableKeysIterator):
4087         (WTF::HashTableKeysIterator::get):
4088         (WTF::HashTableKeysIterator::operator*):
4089         (WTF::HashTableKeysIterator::operator->):
4090         (WTF::HashTableKeysIterator::operator++):
4091         (WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
4092         (HashTableValuesIterator):
4093         (WTF::HashTableValuesIterator::HashTableValuesIterator):
4094         (WTF::HashTableValuesIterator::get):
4095         (WTF::HashTableValuesIterator::operator*):
4096         (WTF::HashTableValuesIterator::operator->):
4097         (WTF::HashTableValuesIterator::operator++):
4098         (WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
4099         (WTF::operator==):
4100         (WTF::operator!=):
4101         * wtf/HashMap.h: Renamed from Source/JavaScriptCore/wtf/HashMap.h.
4102         (WTF):
4103         (ReferenceTypeMaker):
4104         (HashMap):
4105         (WTF::HashMap::keys):
4106         (WTF::HashMap::values):
4107         (HashMapKeysProxy):
4108         (WTF::HashMap::HashMapKeysProxy::begin):
4109         (WTF::HashMap::HashMapKeysProxy::end):
4110         (HashMapValuesProxy):
4111         (WTF::HashMap::HashMapValuesProxy::begin):
4112         (WTF::HashMap::HashMapValuesProxy::end):
4113         (WTF::PairFirstExtractor::extract):
4114         (WTF::HashMapTranslator::hash):
4115         (WTF::HashMapTranslator::equal):
4116         (WTF::HashMapTranslator::translate):
4117         (WTF::HashMapTranslatorAdapter::hash):
4118         (WTF::HashMapTranslatorAdapter::equal):
4119         (WTF::HashMapTranslatorAdapter::translate):
4120         (WTF::::swap):
4121         (WTF::::size):
4122         (WTF::::capacity):
4123         (WTF::::isEmpty):
4124         (WTF::::begin):
4125         (WTF::::end):
4126         (WTF::::find):
4127         (WTF::::contains):
4128         (WTF::::inlineAdd):
4129         (WTF::::set):
4130         (WTF::::add):
4131         (WTF::::get):
4132         (WTF::::remove):
4133         (WTF::::clear):
4134         (WTF::::take):
4135         (WTF::::checkConsistency):
4136         (WTF::operator==):
4137         (WTF::operator!=):
4138         (WTF::deleteAllPairSeconds):
4139         (WTF::deleteAllValues):
4140         (WTF::deleteAllPairFirsts):
4141         (WTF::deleteAllKeys):
4142         (WTF::copyKeysToVector):
4143         (WTF::copyValuesToVector):
4144         * wtf/HashSet.h: Renamed from Source/JavaScriptCore/wtf/HashSet.h.
4145         (WTF):
4146         (HashSet):
4147         (WTF::IdentityExtractor::extract):
4148         (WTF::HashSetTranslatorAdapter::hash):
4149         (WTF::HashSetTranslatorAdapter::equal):
4150         (WTF::HashSetTranslatorAdapter::translate):
4151         (WTF::::swap):
4152         (WTF::::size):
4153         (WTF::::capacity):
4154         (WTF::::isEmpty):
4155         (WTF::::begin):
4156         (WTF::::end):
4157         (WTF::::find):
4158         (WTF::::contains):
4159         (WTF::::add):
4160         (WTF::::remove):
4161         (WTF::::clear):
4162         (WTF::deleteAllValues):
4163         (WTF::fastDeleteAllValues):
4164         (WTF::copyToVector):
4165         * wtf/HashTable.cpp: Renamed from Source/JavaScriptCore/wtf/HashTable.cpp.
4166         (WTF):
4167         (WTF::hashTableStatsMutex):
4168         (WTF::HashTableStats::~HashTableStats):
4169         (WTF::HashTableStats::recordCollisionAtCount):
4170         * wtf/HashTable.h: Renamed from Source/JavaScriptCore/wtf/HashTable.h.
4171         (WTF):
4172         (HashTableStats):
4173         (WTF::addIterator):
4174         (WTF::removeIterator):
4175         (HashTableConstIterator):
4176         (WTF::HashTableConstIterator::skipEmptyBuckets):
4177         (WTF::HashTableConstIterator::HashTableConstIterator):
4178         (WTF::HashTableConstIterator::~HashTableConstIterator):
4179         (WTF::HashTableConstIterator::operator=):
4180         (WTF::HashTableConstIterator::get):
4181         (WTF::HashTableConstIterator::operator*):
4182         (WTF::HashTableConstIterator::operator->):
4183         (WTF::HashTableConstIterator::operator++):
4184         (WTF::HashTableConstIterator::operator==):
4185         (WTF::HashTableConstIterator::operator!=):
4186         (WTF::HashTableConstIterator::checkValidity):
4187         (HashTableIterator):
4188         (WTF::HashTableIterator::HashTableIterator):
4189         (WTF::HashTableIterator::get):
4190         (WTF::HashTableIterator::operator*):
4191         (WTF::HashTableIterator::operator->):
4192         (WTF::HashTableIterator::operator++):
4193         (WTF::HashTableIterator::operator==):
4194         (WTF::HashTableIterator::operator!=):
4195         (WTF::HashTableIterator::operator const_iterator):
4196         (WTF::hashTableSwap):
4197         (IdentityHashTranslator):
4198         (WTF::IdentityHashTranslator::hash):
4199         (WTF::IdentityHashTranslator::equal):
4200         (WTF::IdentityHashTranslator::translate):
4201         (HashTable):
4202         (WTF::HashTable::~HashTable):
4203         (WTF::HashTable::begin):
4204         (WTF::HashTable::end):
4205         (WTF::HashTable::size):
4206         (WTF::HashTable::capacity):
4207         (WTF::HashTable::isEmpty):
4208         (WTF::HashTable::add):
4209         (WTF::HashTable::find):
4210         (WTF::HashTable::contains):
4211         (WTF::HashTable::isEmptyBucket):
4212         (WTF::HashTable::isDeletedBucket):
4213         (WTF::HashTable::isEmptyOrDeletedBucket):
4214         (WTF::HashTable::lookup):
4215         (WTF::HashTable::checkTableConsistency):
4216         (WTF::HashTable::internalCheckTableConsistency):
4217         (WTF::HashTable::internalCheckTableConsistencyExceptSize):
4218         (WTF::HashTable::lookupForWriting):
4219         (WTF::HashTable::shouldExpand):
4220         (WTF::HashTable::mustRehashInPlace):
4221         (WTF::HashTable::shouldShrink):
4222         (WTF::HashTable::shrink):
4223         (WTF::HashTable::deleteBucket):
4224         (WTF::HashTable::makeLookupResult):
4225         (WTF::HashTable::makeIterator):
4226         (WTF::HashTable::makeConstIterator):
4227         (WTF::HashTable::makeKnownGoodIterator):
4228         (WTF::HashTable::makeKnownGoodConstIterator):
4229         (WTF::HashTable::checkTableConsistencyExceptSize):
4230         (WTF::HashTable::invalidateIterators):
4231         (WTF::::HashTable):
4232         (WTF::doubleHash):
4233         (WTF::::checkKey):
4234         (WTF::::lookup):
4235         (WTF::::lookupForWriting):
4236         (WTF::::fullLookupForWriting):
4237         (WTF::::initializeBucket):
4238         (WTF::::add):
4239         (WTF::::addPassingHashCode):
4240         (WTF::::reinsert):
4241         (WTF::::find):
4242         (WTF::::contains):
4243         (WTF::::removeAndInvalidateWithoutEntryConsistencyCheck):
4244         (WTF::::removeAndInvalidate):
4245         (WTF::::remove):
4246         (WTF::::removeWithoutEntryConsistencyCheck):
4247         (WTF::::allocateTable):
4248         (WTF::::deallocateTable):
4249         (WTF::::expand):
4250         (WTF::::rehash):
4251         (WTF::::clear):
4252         (WTF::::swap):
4253         (WTF::=):
4254         (WTF::::checkTableConsistency):
4255         (WTF::::checkTableConsistencyExceptSize):
4256         (WTF::::invalidateIterators):
4257         (WTF::HashTableConstIteratorAdapter::HashTableConstIteratorAdapter):
4258         (HashTableConstIteratorAdapter):
4259         (WTF::HashTableConstIteratorAdapter::get):
4260         (WTF::HashTableConstIteratorAdapter::operator*):
4261         (WTF::HashTableConstIteratorAdapter::operator->):
4262         (WTF::HashTableConstIteratorAdapter::operator++):
4263         (WTF::HashTableIteratorAdapter::HashTableIteratorAdapter):
4264         (HashTableIteratorAdapter):
4265         (WTF::HashTableIteratorAdapter::get):
4266         (WTF::HashTableIteratorAdapter::operator*):
4267         (WTF::HashTableIteratorAdapter::operator->):
4268         (WTF::HashTableIteratorAdapter::operator++):
4269         (WTF::HashTableIteratorAdapter::operator HashTableConstIteratorAdapter<HashTableType, ValueType>):
4270         (WTF::operator==):
4271         (WTF::operator!=):
4272         * wtf/HashTraits.h: Renamed from Source/JavaScriptCore/wtf/HashTraits.h.
4273         (WTF):
4274         (GenericHashTraits):
4275         (WTF::GenericHashTraits::emptyValue):
4276         (WTF::GenericHashTraits::store):
4277         (WTF::GenericHashTraits::passOut):
4278         (WTF::GenericHashTraits::peek):
4279         (FloatHashTraits):
4280         (WTF::FloatHashTraits::emptyValue):
4281         (WTF::FloatHashTraits::constructDeletedValue):
4282         (WTF::FloatHashTraits::isDeletedValue):
4283         (UnsignedWithZeroKeyHashTraits):
4284         (WTF::UnsignedWithZeroKeyHashTraits::emptyValue):
4285         (WTF::UnsignedWithZeroKeyHashTraits::constructDeletedValue):
4286         (WTF::UnsignedWithZeroKeyHashTraits::isDeletedValue):
4287         (SimpleClassHashTraits):
4288         (WTF::SimpleClassHashTraits::constructDeletedValue):
4289         (WTF::SimpleClassHashTraits::isDeletedValue):
4290         (PairHashTraits):
4291         (WTF::PairHashTraits::emptyValue):
4292         (WTF::PairHashTraits::constructDeletedValue):
4293         (WTF::PairHashTraits::isDeletedValue):
4294         * wtf/HexNumber.h: Renamed from Source/JavaScriptCore/wtf/HexNumber.h.
4295         (WTF):
4296         (Internal):
4297         (WTF::Internal::hexDigitsForMode):
4298         (WTF::appendByteAsHex):
4299         (WTF::placeByteAsHexCompressIfPossible):
4300         (WTF::placeByteAsHex):
4301         (WTF::appendUnsignedAsHex):
4302         (WTF::appendUnsignedAsHexFixedSize):
4303         * wtf/InlineASM.h: Renamed from Source/JavaScriptCore/wtf/InlineASM.h.
4304         * wtf/Int16Array.h: Renamed from Source/JavaScriptCore/wtf/Int16Array.h.
4305         (WTF):
4306         (Int16Array):
4307         (WTF::Int16Array::set):
4308         (WTF::Int16Array::isShortArray):
4309         (WTF::Int16Array::create):
4310         (WTF::Int16Array::Int16Array):
4311         (WTF::Int16Array::subarray):
4312         * wtf/Int32Array.h: Renamed from Source/JavaScriptCore/wtf/Int32Array.h.
4313         (WTF):
4314         (Int32Array):
4315         (WTF::Int32Array::set):
4316         (WTF::Int32Array::isIntArray):
4317         (WTF::Int32Array::create):
4318         (WTF::Int32Array::Int32Array):
4319         (WTF::Int32Array::subarray):
4320         * wtf/Int8Array.h: Renamed from Source/JavaScriptCore/wtf/Int8Array.h.
4321         (WTF):
4322         (Int8Array):
4323         (WTF::Int8Array::set):
4324         (WTF::Int8Array::isByteArray):
4325         (WTF::Int8Array::create):
4326         (WTF::Int8Array::Int8Array):
4327         (WTF::Int8Array::subarray):
4328         * wtf/IntegralTypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/IntegralTypedArrayBase.h.
4329         (WTF):
4330         (IntegralTypedArrayBase):
4331         (WTF::IntegralTypedArrayBase::set):
4332         (WTF::IntegralTypedArrayBase::item):
4333         (WTF::IntegralTypedArrayBase::IntegralTypedArrayBase):
4334         * wtf/ListHashSet.h: Renamed from Source/JavaScriptCore/wtf/ListHashSet.h.
4335         (WTF):
4336         (ListHashSet):
4337         (ListHashSetNodeAllocator):
4338         (WTF::ListHashSetNodeAllocator::ListHashSetNodeAllocator):
4339         (WTF::ListHashSetNodeAllocator::allocate):
4340         (WTF::ListHashSetNodeAllocator::deallocate):
4341         (WTF::ListHashSetNodeAllocator::pool):
4342         (WTF::ListHashSetNodeAllocator::pastPool):
4343         (WTF::ListHashSetNodeAllocator::inPool):
4344         (ListHashSetNode):
4345         (WTF::ListHashSetNode::ListHashSetNode):
4346         (WTF::ListHashSetNode::operator new):
4347         (WTF::ListHashSetNode::destroy):
4348         (WTF::ListHashSetNodeHashFunctions::hash):
4349         (WTF::ListHashSetNodeHashFunctions::equal):
4350         (ListHashSetNodeHashFunctions):
4351         (ListHashSetIterator):
4352         (WTF::ListHashSetIterator::ListHashSetIterator):
4353         (WTF::ListHashSetIterator::get):
4354         (WTF::ListHashSetIterator::operator*):
4355         (WTF::ListHashSetIterator::operator->):
4356         (WTF::ListHashSetIterator::operator++):
4357         (WTF::ListHashSetIterator::operator--):
4358         (WTF::ListHashSetIterator::operator==):
4359         (WTF::ListHashSetIterator::operator!=):
4360         (WTF::ListHashSetIterator::operator const_iterator):
4361         (WTF::ListHashSetIterator::node):
4362         (ListHashSetConstIterator):
4363         (WTF::ListHashSetConstIterator::ListHashSetConstIterator):
4364         (WTF::ListHashSetConstIterator::get):
4365         (WTF::ListHashSetConstIterator::operator*):
4366         (WTF::ListHashSetConstIterator::operator->):
4367         (WTF::ListHashSetConstIterator::operator++):
4368         (WTF::ListHashSetConstIterator::operator--):
4369         (WTF::ListHashSetConstIterator::operator==):
4370         (WTF::ListHashSetConstIterator::operator!=):
4371         (WTF::ListHashSetConstIterator::node):
4372         (ListHashSetReverseIterator):
4373         (WTF::ListHashSetReverseIterator::ListHashSetReverseIterator):
4374         (WTF::ListHashSetReverseIterator::get):
4375         (WTF::ListHashSetReverseIterator::operator*):
4376         (WTF::ListHashSetReverseIterator::operator->):
4377         (WTF::ListHashSetReverseIterator::operator++):
4378         (WTF::ListHashSetReverseIterator::operator--):
4379         (WTF::ListHashSetReverseIterator::operator==):
4380         (WTF::ListHashSetReverseIterator::operator!=):
4381         (WTF::ListHashSetReverseIterator::operator const_reverse_iterator):
4382         (WTF::ListHashSetReverseIterator::node):
4383         (ListHashSetConstReverseIterator):
4384         (WTF::ListHashSetConstReverseIterator::ListHashSetConstReverseIterator):
4385         (WTF::ListHashSetConstReverseIterator::get):
4386         (WTF::ListHashSetConstReverseIterator::operator*):
4387         (WTF::ListHashSetConstReverseIterator::operator->):
4388         (WTF::ListHashSetConstReverseIterator::operator++):
4389         (WTF::ListHashSetConstReverseIterator::operator--):
4390         (WTF::ListHashSetConstReverseIterator::operator==):
4391         (WTF::ListHashSetConstReverseIterator::operator!=):
4392         (WTF::ListHashSetConstReverseIterator::node):
4393         (WTF::ListHashSetTranslator::hash):
4394         (WTF::ListHashSetTranslator::equal):
4395         (WTF::ListHashSetTranslator::translate):
4396         (WTF::::ListHashSet):
4397         (WTF::=):
4398         (WTF::::swap):
4399         (WTF::::~ListHashSet):
4400         (WTF::::size):
4401         (WTF::::capacity):
4402         (WTF::::isEmpty):
4403         (WTF::::begin):
4404         (WTF::::end):
4405         (WTF::::rbegin):
4406         (WTF::::rend):
4407         (WTF::::first):
4408         (WTF::::last):
4409         (WTF::::removeLast):
4410         (WTF::::find):
4411         (WTF::ListHashSetTranslatorAdapter::hash):
4412         (WTF::ListHashSetTranslatorAdapter::equal):
4413         (WTF::::contains):
4414         (WTF::::add):
4415         (WTF::::insertBefore):
4416         (WTF::::remove):
4417         (WTF::::clear):
4418         (WTF::::unlinkAndDelete):
4419         (WTF::::appendNode):
4420         (WTF::::insertNodeBefore):
4421         (WTF::::deleteAllNodes):
4422         (WTF::::makeReverseIterator):
4423         (WTF::::makeConstReverseIterator):
4424         (WTF::::makeIterator):
4425         (WTF::::makeConstIterator):
4426         (WTF::deleteAllValues):
4427         * wtf/ListRefPtr.h: Renamed from Source/JavaScriptCore/wtf/ListRefPtr.h.
4428         (WTF):
4429         (ListRefPtr):
4430         (WTF::ListRefPtr::ListRefPtr):
4431         (WTF::ListRefPtr::~ListRefPtr):
4432         (WTF::ListRefPtr::operator=):
4433         (WTF::getPtr):
4434         * wtf/Locker.h: Renamed from Source/JavaScriptCore/wtf/Locker.h.
4435         (WTF):
4436         (Locker):
4437         (WTF::Locker::Locker):
4438         (WTF::Locker::~Locker):
4439         * wtf/MD5.cpp: Renamed from Source/JavaScriptCore/wtf/MD5.cpp.
4440         (WTF):
4441         (WTF::testMD5):
4442         (WTF::expectMD5):
4443         (WTF::reverseBytes):
4444         (WTF::MD5Transform):
4445         (WTF::MD5::MD5):
4446         (WTF::MD5::addBytes):
4447         (WTF::MD5::checksum):
4448         * wtf/MD5.h: Renamed from Source/JavaScriptCore/wtf/MD5.h.
4449         (WTF):
4450         (MD5):
4451         (WTF::MD5::addBytes):
4452         * wtf/MainThread.cpp: Renamed from Source/JavaScriptCore/wtf/MainThread.cpp.
4453         (WTF):
4454         (FunctionWithContext):
4455         (WTF::FunctionWithContext::FunctionWithContext):
4456         (WTF::FunctionWithContext::operator == ):
4457         (FunctionWithContextFinder):
4458         (WTF::FunctionWithContextFinder::FunctionWithContextFinder):
4459         (WTF::FunctionWithContextFinder::operator()):
4460         (WTF::mainThreadFunctionQueueMutex):
4461         (WTF::functionQueue):
4462         (WTF::initializeMainThread):
4463         (WTF::initializeMainThreadOnce):
4464         (WTF::initializeMainThreadToProcessMainThreadOnce):
4465         (WTF::initializeMainThreadToProcessMainThread):
4466         (WTF::dispatchFunctionsFromMainThread):
4467         (WTF::callOnMainThread):
4468         (WTF::callOnMainThreadAndWait):
4469         (WTF::cancelCallOnMainThread):
4470         (WTF::callFunctionObject):
4471         (WTF::setMainThreadCallbacksPaused):
4472         (WTF::isMainThread):
4473         (WTF::initializeGCThreads):
4474         (WTF::registerGCThread):
4475         (WTF::isMainThreadOrGCThread):
4476         * wtf/MainThread.h: Renamed from Source/JavaScriptCore/wtf/MainThread.h.
4477         (WTF):
4478         (WTF::isMainThreadOrGCThread):
4479         * wtf/MallocZoneSupport.h: Renamed from Source/JavaScriptCore/wtf/MallocZoneSupport.h.
4480         (WTF):
4481         (RemoteMemoryReader):
4482         (WTF::RemoteMemoryReader::RemoteMemoryReader):
4483         (WTF::RemoteMemoryReader::operator()):
4484         (WTF::RemoteMemoryReader::nextEntryInLinkedList):
4485         * wtf/MathExtras.h: Renamed from Source/JavaScriptCore/wtf/MathExtras.h.
4486         (wtf_ceil):
4487         (isfinite):
4488         (isinf):
4489         (signbit):
4490         (round):
4491         (roundf):
4492         (llround):
4493         (llroundf):
4494         (lround):
4495         (lroundf):
4496         (trunc):
4497         (abs):
4498         (isnan):
4499         (nextafter):
4500         (nextafterf):
4501         (copysign):
4502         (log2):
4503         (log2f):
4504         (wtf_atan2):
4505         (wtf_fmod):
4506         (wtf_pow):
4507         (deg2rad):
4508         (rad2deg):
4509         (deg2grad):
4510         (grad2deg):
4511         (turn2deg):
4512         (deg2turn):
4513         (rad2grad):
4514         (grad2rad):
4515         (defaultMinimumForClamp):
4516         (defaultMaximumForClamp):
4517         (clampTo):
4518         (clampToInteger):
4519         (clampToFloat):
4520         (clampToPositiveInteger):
4521         (isWithinIntRange):
4522         (decomposeDouble):
4523         (doubleToInteger):
4524         * wtf/MessageQueue.h: Renamed from Source/JavaScriptCore/wtf/MessageQueue.h.
4525         (WTF):
4526         (MessageQueue):
4527         (WTF::MessageQueue::MessageQueue):
4528         (WTF::MessageQueue::infiniteTime):
4529         (WTF::MessageQueue::alwaysTruePredicate):
4530         (WTF::::~MessageQueue):
4531         (WTF::::append):
4532         (WTF::::appendAndCheckEmpty):
4533         (WTF::::prepend):
4534         (WTF::::waitForMessage):
4535         (WTF::::waitForMessageFilteredWithTimeout):
4536         (WTF::::tryGetMessage):
4537         (WTF::::tryGetMessageIgnoringKilled):
4538         (WTF::::removeIf):
4539         (WTF::::isEmpty):
4540         (WTF::::kill):
4541         (WTF::::killed):
4542         * wtf/MetaAllocator.cpp: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.cpp.
4543         (WTF):
4544         (WTF::MetaAllocator::~MetaAllocator):
4545         (WTF::MetaAllocatorTracker::notify):
4546         (WTF::MetaAllocatorTracker::release):
4547         (WTF::MetaAllocator::release):
4548         (WTF::MetaAllocatorHandle::MetaAllocatorHandle):
4549         (WTF::MetaAllocatorHandle::~MetaAllocatorHandle):
4550         (WTF::MetaAllocatorHandle::shrink):
4551         (WTF::MetaAllocator::MetaAllocator):
4552         (WTF::MetaAllocator::allocate):
4553         (WTF::MetaAllocator::currentStatistics):
4554         (WTF::MetaAllocator::findAndRemoveFreeSpace):
4555         (WTF::MetaAllocator::addFreeSpaceFromReleasedHandle):
4556         (WTF::MetaAllocator::addFreshFreeSpace):
4557         (WTF::MetaAllocator::debugFreeSpaceSize):
4558         (WTF::MetaAllocator::addFreeSpace):
4559         (WTF::MetaAllocator::incrementPageOccupancy):
4560         (WTF::MetaAllocator::decrementPageOccupancy):
4561         (WTF::MetaAllocator::roundUp):
4562         (WTF::MetaAllocator::allocFreeSpaceNode):
4563         (WTF::MetaAllocator::freeFreeSpaceNode):
4564         (WTF::MetaAllocator::dumpProfile):
4565         * wtf/MetaAllocator.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.h.
4566         (WTF):
4567         (MetaAllocatorTracker):
4568         (WTF::MetaAllocatorTracker::find):
4569         (MetaAllocator):
4570         (WTF::MetaAllocator::trackAllocations):
4571         (WTF::MetaAllocator::bytesAllocated):
4572         (WTF::MetaAllocator::bytesReserved):
4573         (WTF::MetaAllocator::bytesCommitted):
4574         (Statistics):
4575         (WTF::MetaAllocator::dumpProfile):
4576         (FreeSpaceNode):
4577         (WTF::MetaAllocator::FreeSpaceNode::FreeSpaceNode):
4578         (WTF::MetaAllocator::FreeSpaceNode::key):
4579         * wtf/MetaAllocatorHandle.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocatorHandle.h.
4580         (WTF):
4581         (MetaAllocatorHandle):
4582         (WTF::MetaAllocatorHandle::start):
4583         (WTF::MetaAllocatorHandle::end):
4584         (WTF::MetaAllocatorHandle::sizeInBytes):
4585         (WTF::MetaAllocatorHandle::isManaged):
4586         (WTF::MetaAllocatorHandle::allocator):
4587         (WTF::MetaAllocatorHandle::ownerUID):
4588         (WTF::MetaAllocatorHandle::key):
4589         * wtf/NonCopyingSort.h: Renamed from Source/JavaScriptCore/wtf/NonCopyingSort.h.
4590         (WTF):
4591         (WTF::siftDown):
4592         (WTF::heapify):
4593         (WTF::heapSort):
4594         (WTF::nonCopyingSort):
4595         * wtf/Noncopyable.h: Renamed from Source/JavaScriptCore/wtf/Noncopyable.h.
4596         * wtf/NotFound.h: Renamed from Source/JavaScriptCore/wtf/NotFound.h.
4597         (WTF):
4598         * wtf/NullPtr.cpp: Renamed from Source/JavaScriptCore/wtf/NullPtr.cpp.
4599         * wtf/NullPtr.h: Renamed from Source/JavaScriptCore/wtf/NullPtr.h.
4600         * wtf/NumberOfCores.cpp: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.cpp.
4601         (WTF):
4602         (WTF::numberOfProcessorCores):
4603         * wtf/NumberOfCores.h: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.h.
4604         (WTF):
4605         * wtf/OSAllocator.h: Renamed from Source/JavaScriptCore/wtf/OSAllocator.h.
4606         (WTF):
4607         (OSAllocator):
4608         (WTF::OSAllocator::reserveAndCommit):
4609         (WTF::OSAllocator::decommitAndRelease):
4610         (WTF::OSAllocator::reallocateCommitted):
4611         * wtf/OSAllocatorPosix.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp.
4612         (WTF):
4613         (WTF::OSAllocator::reserveUncommitted):
4614         (WTF::OSAllocator::reserveAndCommit):
4615         (WTF::OSAllocator::commit):
4616         (WTF::OSAllocator::decommit):
4617         (WTF::OSAllocator::releaseDecommitted):
4618         * wtf/OSAllocatorWin.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorWin.cpp.
4619         (WTF):
4620         (WTF::protection):
4621         (WTF::OSAllocator::reserveUncommitted):
4622         (WTF::OSAllocator::reserveAndCommit):
4623         (WTF::OSAllocator::commit):
4624         (WTF::OSAllocator::decommit):
4625         (WTF::OSAllocator::releaseDecommitted):
4626         * wtf/OSRandomSource.cpp: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.cpp.
4627         (WTF):
4628         (WTF::cryptographicallyRandomValuesFromOS):
4629         * wtf/OSRandomSource.h: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.h.
4630         (WTF):
4631         * wtf/OwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnArrayPtr.h.
4632         (WTF):
4633         (OwnArrayPtr):
4634         (WTF::OwnArrayPtr::OwnArrayPtr):
4635         (WTF::OwnArrayPtr::~OwnArrayPtr):
4636         (WTF::OwnArrayPtr::get):
4637         (WTF::OwnArrayPtr::operator*):
4638         (WTF::OwnArrayPtr::operator->):
4639         (WTF::OwnArrayPtr::operator[]):
4640         (WTF::OwnArrayPtr::operator!):
4641         (WTF::OwnArrayPtr::operator UnspecifiedBoolType):
4642         (WTF::OwnArrayPtr::operator=):
4643         (WTF::OwnArrayPtr::swap):
4644         (WTF::::OwnArrayPtr):
4645         (WTF::::clear):
4646         (WTF::::release):
4647         (WTF::::leakPtr):
4648         (WTF::=):
4649         (WTF::swap):
4650         (WTF::operator==):
4651         (WTF::operator!=):
4652         (WTF::getPtr):
4653         * wtf/OwnPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnPtr.h.
4654         (WTF):
4655         (OwnPtr):
4656         (WTF::OwnPtr::OwnPtr):
4657         (WTF::OwnPtr::~OwnPtr):
4658         (WTF::OwnPtr::get):
4659         (WTF::OwnPtr::operator*):
4660         (WTF::OwnPtr::operator->):
4661         (WTF::OwnPtr::operator!):
4662         (WTF::OwnPtr::operator UnspecifiedBoolType):
4663         (WTF::OwnPtr::operator=):
4664         (WTF::OwnPtr::swap):
4665         (WTF::OwnPtr::operator==):
4666         (WTF::OwnPtr::operator!=):
4667         (WTF::::OwnPtr):
4668         (WTF::::clear):
4669         (WTF::::release):
4670         (WTF::::leakPtr):
4671         (WTF::=):
4672         (WTF::swap):
4673         (WTF::operator==):
4674         (WTF::operator!=):
4675         (WTF::getPtr):
4676         * wtf/OwnPtrCommon.h: Renamed from Source/JavaScriptCore/wtf/OwnPtrCommon.h.
4677         (WTF):
4678         (WTF::deleteOwnedPtr):
4679         * wtf/PackedIntVector.h: Renamed from Source/JavaScriptCore/wtf/PackedIntVector.h.
4680         (WTF):
4681         (PackedIntVector):
4682         (WTF::PackedIntVector::PackedIntVector):
4683         (WTF::PackedIntVector::operator=):
4684         (WTF::PackedIntVector::size):
4685         (WTF::PackedIntVector::ensureSize):
4686         (WTF::PackedIntVector::resize):
4687         (WTF::PackedIntVector::clearAll):
4688         (WTF::PackedIntVector::get):
4689         (WTF::PackedIntVector::set):
4690         (WTF::PackedIntVector::mask):
4691         * wtf/PageAllocation.h: Renamed from Source/JavaScriptCore/wtf/PageAllocation.h.
4692         (WTF):
4693         (PageAllocation):
4694         (WTF::PageAllocation::PageAllocation):
4695         (WTF::PageAllocation::operator bool):
4696         (WTF::PageAllocation::allocate):
4697         (WTF::PageAllocation::deallocate):
4698         * wtf/PageAllocationAligned.cpp: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.cpp.
4699         (WTF):
4700         (WTF::PageAllocationAligned::allocate):
4701         (WTF::PageAllocationAligned::deallocate):
4702         * wtf/PageAllocationAligned.h: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.h.
4703         (WTF):
4704         (PageAllocationAligned):
4705         (WTF::PageAllocationAligned::PageAllocationAligned):
4706         * wtf/PageBlock.cpp: Renamed from Source/JavaScriptCore/wtf/PageBlock.cpp.
4707         (WTF):
4708         (WTF::systemPageSize):
4709         (WTF::pageSize):
4710         (WTF::pageMask):
4711         * wtf/PageBlock.h: Renamed from Source/JavaScriptCore/wtf/PageBlock.h.
4712         (WTF):
4713         (WTF::isPageAligned):
4714         (WTF::isPowerOfTwo):
4715         (PageBlock):
4716         (WTF::PageBlock::base):
4717         (WTF::PageBlock::size):
4718         (WTF::PageBlock::operator bool):
4719         (WTF::PageBlock::contains):
4720         (WTF::PageBlock::PageBlock):
4721         * wtf/PageReservation.h: Renamed from Source/JavaScriptCore/wtf/PageReservation.h.
4722         (WTF):
4723         (PageReservation):
4724         (WTF::PageReservation::PageReservation):
4725         (WTF::PageReservation::operator bool):
4726         (WTF::PageReservation::commit):
4727         (WTF::PageReservation::decommit):
4728         (WTF::PageReservation::committed):
4729         (WTF::PageReservation::reserve):
4730         (WTF::PageReservation::reserveWithGuardPages):
4731         (WTF::PageReservation::deallocate):
4732         * wtf/ParallelJobs.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobs.h.
4733         (WTF):
4734         (ParallelJobs):
4735         (WTF::ParallelJobs::ParallelJobs):
4736         (WTF::ParallelJobs::numberOfJobs):
4737         (WTF::ParallelJobs::parameter):
4738         (WTF::ParallelJobs::execute):
4739         * wtf/ParallelJobsGeneric.cpp: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.cpp.
4740         (WTF):
4741         (WTF::ParallelEnvironment::ParallelEnvironment):
4742         (WTF::ParallelEnvironment::execute):
4743         (WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
4744         (WTF::ParallelEnvironment::ThreadPrivate::execute):
4745         (WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
4746         (WTF::ParallelEnvironment::ThreadPrivate::workerThread):
4747         * wtf/ParallelJobsGeneric.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.h.
4748         (WTF):
4749         (ParallelEnvironment):
4750         (WTF::ParallelEnvironment::numberOfJobs):
4751         (ThreadPrivate):
4752         (WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
4753         (WTF::ParallelEnvironment::ThreadPrivate::create):
4754         * wtf/ParallelJobsLibdispatch.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsLibdispatch.h.
4755         (WTF):
4756         (ParallelEnvironment):
4757         (WTF::ParallelEnvironment::ParallelEnvironment):
4758         (WTF::ParallelEnvironment::numberOfJobs):
4759         (WTF::ParallelEnvironment::execute):
4760         * wtf/ParallelJobsOpenMP.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsOpenMP.h.
4761         (WTF):
4762         (ParallelEnvironment):
4763         (WTF::ParallelEnvironment::ParallelEnvironment):
4764         (WTF::ParallelEnvironment::numberOfJobs):
4765         (WTF::ParallelEnvironment::execute):
4766         * wtf/PassOwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnArrayPtr.h.
4767         (WTF):
4768         (PassOwnArrayPtr):
4769         (WTF::PassOwnArrayPtr::PassOwnArrayPtr):
4770         (WTF::PassOwnArrayPtr::~PassOwnArrayPtr):
4771         (WTF::PassOwnArrayPtr::get):
4772         (WTF::PassOwnArrayPtr::operator*):
4773         (WTF::PassOwnArrayPtr::operator->):
4774         (WTF::PassOwnArrayPtr::operator!):
4775         (WTF::PassOwnArrayPtr::operator UnspecifiedBoolType):
4776         (WTF::PassOwnArrayPtr::operator=):
4777         (WTF::::leakPtr):
4778         (WTF::operator==):
4779         (WTF::operator!=):
4780         (WTF::adoptArrayPtr):
4781         (WTF::deleteOwnedArrayPtr):
4782         (WTF::static_pointer_cast):
4783         (WTF::const_pointer_cast):
4784         (WTF::getPtr):
4785         * wtf/PassOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnPtr.h.
4786         (WTF):
4787         (PassOwnPtr):
4788         (WTF::PassOwnPtr::PassOwnPtr):
4789         (WTF::PassOwnPtr::~PassOwnPtr):
4790         (WTF::PassOwnPtr::get):
4791         (WTF::PassOwnPtr::operator*):
4792         (WTF::PassOwnPtr::operator->):
4793         (WTF::PassOwnPtr::operator!):
4794         (WTF::PassOwnPtr::operator UnspecifiedBoolType):
4795         (WTF::PassOwnPtr::operator=):
4796         (WTF::PassOwnPtr::operator==):
4797         (WTF::PassOwnPtr::operator!=):
4798         (WTF::::leakPtr):
4799         (WTF::operator==):
4800         (WTF::operator!=):
4801         (WTF::adoptPtr):
4802         (WTF::static_pointer_cast):
4803         (WTF::const_pointer_cast):
4804         (WTF::getPtr):
4805         * wtf/PassRefPtr.h: Renamed from Source/JavaScriptCore/wtf/PassRefPtr.h.
4806         (WTF):
4807         (WTF::adopted):
4808         (WTF::refIfNotNull):
4809         (WTF::derefIfNotNull):
4810         (PassRefPtr):
4811         (WTF::PassRefPtr::PassRefPtr):
4812         (WTF::PassRefPtr::~PassRefPtr):
4813         (WTF::PassRefPtr::get):
4814         (WTF::PassRefPtr::operator*):
4815         (WTF::PassRefPtr::operator->):
4816         (WTF::PassRefPtr::operator!):
4817         (WTF::PassRefPtr::operator UnspecifiedBoolType):
4818         (WTF::PassRefPtr::operator=):
4819         (NonNullPassRefPtr):
4820         (WTF::NonNullPassRefPtr::NonNullPassRefPtr):
4821         (WTF::NonNullPassRefPtr::~NonNullPassRefPtr):
4822         (WTF::NonNullPassRefPtr::get):
4823         (WTF::NonNullPassRefPtr::operator*):
4824         (WTF::NonNullPassRefPtr::operator->):
4825         (WTF::NonNullPassRefPtr::operator=):
4826         (WTF::::PassRefPtr):
4827         (WTF::::leakRef):
4828         (WTF::operator==):
4829         (WTF::operator!=):
4830         (WTF::adoptRef):
4831         (WTF::static_pointer_cast):
4832         (WTF::const_pointer_cast):
4833         (WTF::getPtr):
4834         * wtf/PassTraits.h: Renamed from Source/JavaScriptCore/wtf/PassTraits.h.
4835         (WTF):
4836         (PassTraits):
4837         (WTF::PassTraits::transfer):
4838         * wtf/PlatformBlackBerry.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformBlackBerry.cmake.
4839         * wtf/PlatformEfl.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformEfl.cmake.
4840         * wtf/PlatformWinCE.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformWinCE.cmake.
4841         * wtf/PossiblyNull.h: Renamed from Source/JavaScriptCore/wtf/PossiblyNull.h.
4842         (WTF):
4843         (WTF::PossiblyNull::PossiblyNull):
4844         (WTF::PossiblyNull::~PossiblyNull):
4845         (PossiblyNull):
4846         (WTF::::getValue):
4847         * wtf/RandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/RandomNumber.cpp.
4848         (WTF):
4849         (WTF::randomNumber):
4850         * wtf/RandomNumber.h: Renamed from Source/JavaScriptCore/wtf/RandomNumber.h.
4851         (WTF):
4852         * wtf/RandomNumberSeed.h: Renamed from Source/JavaScriptCore/wtf/RandomNumberSeed.h.
4853         (WTF):
4854         (WTF::initializeRandomNumberGenerator):
4855         * wtf/RedBlackTree.h: Renamed from Source/JavaScriptCore/wtf/RedBlackTree.h.
4856         (WTF):
4857         (RedBlackTree):
4858         (Node):
4859         (WTF::RedBlackTree::Node::successor):
4860         (WTF::RedBlackTree::Node::predecessor):
4861         (WTF::RedBlackTree::Node::reset):
4862         (WTF::RedBlackTree::Node::parent):
4863         (WTF::RedBlackTree::Node::setParent):
4864         (WTF::RedBlackTree::Node::left):
4865         (WTF::RedBlackTree::Node::setLeft):
4866         (WTF::RedBlackTree::Node::right):
4867         (WTF::RedBlackTree::Node::setRight):
4868         (WTF::RedBlackTree::Node::color):
4869         (WTF::RedBlackTree::Node::setColor):
4870         (WTF::RedBlackTree::RedBlackTree):
4871         (WTF::RedBlackTree::insert):
4872         (WTF::RedBlackTree::remove):
4873         (WTF::RedBlackTree::findExact):
4874         (WTF::RedBlackTree::findLeastGreaterThanOrEqual):
4875         (WTF::RedBlackTree::findGreatestLessThanOrEqual):
4876         (WTF::RedBlackTree::first):
4877         (WTF::RedBlackTree::last):
4878         (WTF::RedBlackTree::size):
4879         (WTF::RedBlackTree::isEmpty):
4880         (WTF::RedBlackTree::treeMinimum):
4881         (WTF::RedBlackTree::treeMaximum):
4882         (WTF::RedBlackTree::treeInsert):
4883         (WTF::RedBlackTree::leftRotate):
4884         (WTF::RedBlackTree::rightRotate):
4885         (WTF::RedBlackTree::removeFixup):
4886         * wtf/RefCounted.h: Renamed from Source/JavaScriptCore/wtf/RefCounted.h.
4887         (WTF):
4888         (RefCountedBase):
4889         (WTF::RefCountedBase::ref):
4890         (WTF::RefCountedBase::hasOneRef):
4891         (WTF::RefCountedBase::refCount):
4892         (WTF::RefCountedBase::turnOffVerifier):
4893         (WTF::RefCountedBase::relaxAdoptionRequirement):
4894         (WTF::RefCountedBase::addressOfCount):
4895         (WTF::RefCountedBase::RefCountedBase):
4896         (WTF::RefCountedBase::~RefCountedBase):
4897         (WTF::RefCountedBase::derefBase):
4898         (WTF::RefCountedBase::deletionHasBegun):
4899         (WTF::adopted):
4900         (RefCounted):
4901         (WTF::RefCounted::deref):
4902         (WTF::RefCounted::RefCounted):
4903         (WTF::RefCounted::~RefCounted):
4904         (RefCountedCustomAllocated):
4905         (WTF::RefCountedCustomAllocated::deref):
4906         (WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
4907         (WTF::RefCountedBase::setMutexForVerifier):
4908         (WTF::RefCountedBase::setDispatchQueueForVerifier):
4909         * wtf/RefCountedArray.h: Renamed from Source/JavaScriptCore/wtf/RefCountedArray.h.
4910         (WTF):
4911         (RefCountedArray):
4912         (WTF::RefCountedArray::RefCountedArray):
4913         (WTF::RefCountedArray::operator=):
4914         (WTF::RefCountedArray::~RefCountedArray):
4915         (WTF::RefCountedArray::size):
4916         (WTF::RefCountedArray::data):
4917         (WTF::RefCountedArray::begin):
4918         (WTF::RefCountedArray::end):
4919         (WTF::RefCountedArray::at):
4920         (WTF::RefCountedArray::operator[]):
4921         (Header):
4922         (WTF::RefCountedArray::Header::size):
4923         (WTF::RefCountedArray::Header::payload):
4924         (WTF::RefCountedArray::Header::fromPayload):
4925         * wtf/RefCountedLeakCounter.cpp: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.cpp.
4926         (WTF):
4927         (WTF::RefCountedLeakCounter::suppressMessages):
4928         (WTF::RefCountedLeakCounter::cancelMessageSuppression):
4929         (WTF::RefCountedLeakCounter::RefCountedLeakCounter):
4930         (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
4931         (WTF::RefCountedLeakCounter::increment):
4932         (WTF::RefCountedLeakCounter::decrement):
4933         * wtf/RefCountedLeakCounter.h: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.h.
4934         (WTF):
4935         (RefCountedLeakCounter):
4936         * wtf/RefPtr.h: Renamed from Source/JavaScriptCore/wtf/RefPtr.h.
4937         (WTF):
4938         (RefPtr):
4939         (WTF::RefPtr::RefPtr):
4940         (WTF::RefPtr::isHashTableDeletedValue):
4941         (WTF::RefPtr::~RefPtr):
4942         (WTF::RefPtr::get):
4943         (WTF::RefPtr::release):
4944         (WTF::RefPtr::operator*):
4945         (WTF::RefPtr::operator->):
4946         (WTF::RefPtr::operator!):
4947         (WTF::RefPtr::operator UnspecifiedBoolType):
4948         (WTF::RefPtr::operator=):
4949         (WTF::RefPtr::hashTableDeletedValue):
4950         (WTF::::RefPtr):
4951         (WTF::::clear):
4952         (WTF::=):
4953         (WTF::::swap):
4954         (WTF::swap):
4955         (WTF::operator==):
4956         (WTF::operator!=):
4957         (WTF::static_pointer_cast):
4958         (WTF::const_pointer_cast):
4959         (WTF::getPtr):
4960         * wtf/RefPtrHashMap.h: Renamed from Source/JavaScriptCore/wtf/RefPtrHashMap.h.
4961         (WTF):
4962         (WTF::::swap):
4963         (WTF::::size):
4964         (WTF::::capacity):
4965         (WTF::::isEmpty):
4966         (WTF::::begin):
4967         (WTF::::end):
4968         (WTF::::find):
4969         (WTF::::contains):
4970         (WTF::::inlineAdd):
4971         (WTF::::set):
4972         (WTF::::add):
4973         (WTF::::get):
4974         (WTF::::inlineGet):
4975         (WTF::::remove):
4976         (WTF::::clear):
4977         (WTF::::take):
4978         * wtf/RetainPtr.h: Renamed from Source/JavaScriptCore/wtf/RetainPtr.h.
4979         (WTF):
4980         (WTF::adoptNSReference):
4981         (RetainPtr):
4982         (WTF::RetainPtr::RetainPtr):
4983         (WTF::RetainPtr::isHashTableDeletedValue):
4984         (WTF::RetainPtr::~RetainPtr):
4985         (WTF::RetainPtr::get):
4986         (WTF::RetainPtr::operator->):
4987         (WTF::RetainPtr::operator!):
4988         (WTF::RetainPtr::operator UnspecifiedBoolType):
4989         (WTF::RetainPtr::operator=):
4990         (WTF::RetainPtr::hashTableDeletedValue):
4991         (WTF::::RetainPtr):
4992         (WTF::::clear):
4993         (WTF::::leakRef):
4994         (WTF::=):
4995         (WTF::::adoptCF):
4996         (WTF::::adoptNS):
4997         (WTF::::swap):
4998         (WTF::swap):
4999         (WTF::operator==):
5000         (WTF::operator!=):
5001         (WTF::adoptCF):
5002         (WTF::adoptNS):
5003         (WTF::retainPtr):
5004         * wtf/SHA1.cpp: Renamed from Source/JavaScriptCore/wtf/SHA1.cpp.
5005         (WTF):
5006         (WTF::testSHA1):
5007         (WTF::expectSHA1):
5008         (WTF::f):
5009         (WTF::k):
5010         (WTF::rotateLeft):
5011         (WTF::SHA1::SHA1):
5012         (WTF::SHA1::addBytes):
5013         (WTF::SHA1::computeHash):
5014         (WTF::SHA1::finalize):
5015         (WTF::SHA1::processBlock):
5016         (WTF::SHA1::reset):
5017         * wtf/SHA1.h: Renamed from Source/JavaScriptCore/wtf/SHA1.h.
5018         (WTF):
5019         (SHA1):
5020         (WTF::SHA1::addBytes):
5021         * wtf/SegmentedVector.h: Renamed from Source/JavaScriptCore/wtf/SegmentedVector.h.
5022         (WTF):
5023         (SegmentedVectorIterator):
5024         (WTF::SegmentedVectorIterator::~SegmentedVectorIterator):
5025         (WTF::SegmentedVectorIterator::operator*):
5026         (WTF::SegmentedVectorIterator::operator->):
5027         (WTF::SegmentedVectorIterator::operator++):
5028         (WTF::SegmentedVectorIterator::operator==):
5029         (WTF::SegmentedVectorIterator::operator!=):
5030         (WTF::SegmentedVectorIterator::operator=):
5031         (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
5032         (SegmentedVector):
5033         (WTF::SegmentedVector::SegmentedVector):
5034         (WTF::SegmentedVector::~SegmentedVector):
5035         (WTF::SegmentedVector::size):
5036         (WTF::SegmentedVector::isEmpty):
5037         (WTF::SegmentedVector::at):
5038         (WTF::SegmentedVector::operator[]):
5039         (WTF::SegmentedVector::last):
5040         (WTF::SegmentedVector::append):
5041         (WTF::SegmentedVector::alloc):
5042         (WTF::SegmentedVector::removeLast):
5043         (WTF::SegmentedVector::grow):
5044         (WTF::SegmentedVector::clear):
5045         (WTF::SegmentedVector::begin):
5046         (WTF::SegmentedVector::end):
5047         (WTF::SegmentedVector::deleteAllSegments):
5048         (WTF::SegmentedVector::segmentExistsFor):
5049         (WTF::SegmentedVector::segmentFor):
5050         (WTF::SegmentedVector::subscriptFor):
5051         (WTF::SegmentedVector::ensureSegmentsFor):
5052         (WTF::SegmentedVector::ensureSegment):
5053         * wtf/SentinelLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SentinelLinkedList.h.
5054         (WTF):
5055         (BasicRawSentinelNode):
5056         (WTF::BasicRawSentinelNode::BasicRawSentinelNode):
5057         (WTF::BasicRawSentinelNode::setPrev):
5058         (WTF::BasicRawSentinelNode::setNext):
5059         (WTF::BasicRawSentinelNode::prev):
5060         (WTF::BasicRawSentinelNode::next):
5061         (WTF::BasicRawSentinelNode::isOnList):
5062         (SentinelLinkedList):
5063         (WTF::SentinelLinkedList::isEmpty):
5064         (WTF::::remove):
5065         (WTF::::SentinelLinkedList):
5066         (WTF::::begin):
5067         (WTF::::end):
5068         (WTF::::push):
5069         * wtf/SimpleStats.h: Renamed from Source/JavaScriptCore/wtf/SimpleStats.h.
5070         (WTF):
5071         (SimpleStats):
5072         (WTF::SimpleStats::SimpleStats):
5073         (WTF::SimpleStats::add):
5074         (WTF::SimpleStats::operator!):
5075         (WTF::SimpleStats::count):
5076         (WTF::SimpleStats::sum):
5077         (WTF::SimpleStats::sumOfSquares):
5078         (WTF::SimpleStats::mean):
5079         (WTF::SimpleStats::variance):
5080         (WTF::SimpleStats::standardDeviation):
5081         * wtf/SinglyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SinglyLinkedList.h.
5082         (WTF):
5083         (SinglyLinkedList):
5084         (WTF::::SinglyLinkedList):
5085         (WTF::::isEmpty):
5086         (WTF::::push):
5087         (WTF::::pop):
5088         * wtf/SizeLimits.cpp: Renamed from Source/JavaScriptCore/wtf/SizeLimits.cpp.
5089         (WTF):
5090         (SameSizeAsRefCounted):
5091         * wtf/Spectrum.h: Renamed from Source/JavaScriptCore/wtf/Spectrum.h.
5092         (WTF):
5093         (Spectrum):
5094         (WTF::Spectrum::Spectrum):
5095         (WTF::Spectrum::add):
5096         (WTF::Spectrum::get):
5097         (WTF::Spectrum::begin):
5098         (WTF::Spectrum::end):
5099         (WTF::Spectrum::KeyAndCount::KeyAndCount):
5100         (KeyAndCount):
5101         (WTF::Spectrum::KeyAndCount::operator<):
5102         (WTF::Spectrum::buildList):
5103         * wtf/StackBounds.cpp: Renamed from Source/JavaScriptCore/wtf/StackBounds.cpp.
5104         (WTF):
5105         (WTF::estimateStackBound):
5106         (WTF::StackBounds::initialize):
5107         (WTF::detectGrowingDownward):
5108         (WTF::isPageWritable):
5109         (WTF::getLowerStackBound):
5110         (WTF::getUpperStackBound):
5111         * wtf/StackBounds.h: Renamed from Source/JavaScriptCore/wtf/StackBounds.h.
5112         (WTF):
5113         (StackBounds):
5114         (WTF::StackBounds::StackBounds):
5115         (WTF::StackBounds::currentThreadStackBounds):
5116         (WTF::StackBounds::origin):
5117         (WTF::StackBounds::current):
5118         (WTF::StackBounds::recursionLimit):
5119         (WTF::StackBounds::recursionCheck):
5120         (WTF::StackBounds::isGrowingDownward):
5121         (WTF::StackBounds::checkConsistency):
5122         * wtf/StaticConstructors.h: Renamed from Source/JavaScriptCore/wtf/StaticConstructors.h.
5123         * wtf/StdLibExtras.h: Renamed from Source/JavaScriptCore/wtf/StdLibExtras.h.
5124         (isPointerTypeAlignmentOkay):
5125         (reinterpret_cast_ptr):
5126         (WTF):
5127         (WTF::isPointerAligned):
5128         (WTF::is8ByteAligned):
5129         (WTF::bitwise_cast):
5130         (WTF::safeCast):
5131         (WTF::bitCount):
5132         (WTF::roundUpToMultipleOf):
5133         (WTF::binarySearch):
5134         (WTF::binarySearchWithFunctor):
5135         (WTF::genericBinarySearch):
5136         (operator new):
5137         * wtf/StringExtras.cpp: Renamed from Source/JavaScriptCore/wtf/StringExtras.cpp.
5138         (strcasecmp):
5139         (strncasecmp):
5140         * wtf/StringExtras.h: Renamed from Source/JavaScriptCore/wtf/StringExtras.h.
5141         (snprintf):
5142         (wtf_vsnprintf):
5143         (strnicmp):
5144         (stricmp):
5145         (strdup):
5146         (strncasecmp):
5147         (strcasecmp):
5148         (strnstr):
5149         * wtf/StringHasher.h: Renamed from Source/JavaScriptCore/wtf/StringHasher.h.
5150         (WTF):
5151         (StringHasher):
5152         (WTF::StringHasher::StringHasher):
5153         (WTF::StringHasher::addCharacters):
5154         (WTF::StringHasher::addCharacter):
5155         (WTF::StringHasher::hash):
5156         (WTF::StringHasher::computeHash):
5157         (WTF::StringHasher::hashMemory):
5158         (WTF::StringHasher::defaultConverter):
5159         (WTF::StringHasher::addCharactersToHash):
5160         * wtf/TCPackedCache.h: Renamed from Source/JavaScriptCore/wtf/TCPackedCache.h.
5161         (PackedCache):
5162         (PackedCache::PackedCache):
5163         (PackedCache::Put):
5164         (PackedCache::Has):
5165         (PackedCache::GetOrDefault):
5166         (PackedCache::Clear):
5167         (PackedCache::EntryToValue):
5168         (PackedCache::EntryToUpper):
5169         (PackedCache::KeyToUpper):
5170         (PackedCache::UpperToPartialKey):
5171         (PackedCache::Hash):
5172         (PackedCache::KeyMatch):
5173         * wtf/TCPageMap.h: Renamed from Source/JavaScriptCore/wtf/TCPageMap.h.
5174         (TCMalloc_PageMap1):
5175         (TCMalloc_PageMap1::init):
5176         (TCMalloc_PageMap1::Ensure):
5177         (TCMalloc_PageMap1::PreallocateMoreMemory):
5178         (TCMalloc_PageMap1::get):
5179         (TCMalloc_PageMap1::set):
5180         (TCMalloc_PageMap2):
5181         (Leaf):
5182         (TCMalloc_PageMap2::init):
5183         (TCMalloc_PageMap2::get):
5184         (TCMalloc_PageMap2::set):
5185         (TCMalloc_PageMap2::Ensure):
5186         (TCMalloc_PageMap2::PreallocateMoreMemory):
5187         (TCMalloc_PageMap2::visitValues):
5188         (TCMalloc_PageMap2::visitAllocations):
5189         (TCMalloc_PageMap3):
5190         (Node):
5191         (TCMalloc_PageMap3::NewNode):
5192         (TCMalloc_PageMap3::init):
5193         (TCMalloc_PageMap3::get):
5194         (TCMalloc_PageMap3::set):
5195         (TCMalloc_PageMap3::Ensure):
5196         (TCMalloc_PageMap3::PreallocateMoreMemory):
5197         (TCMalloc_PageMap3::visitValues):
5198         (TCMalloc_PageMap3::visitAllocations):
5199         * wtf/TCSpinLock.h: Renamed from Source/JavaScriptCore/wtf/TCSpinLock.h.
5200         (TCMalloc_SpinLock):
5201         (TCMalloc_SpinLock::Lock):
5202         (TCMalloc_SpinLock::Unlock):
5203         (TCMalloc_SpinLock::IsHeld):
5204         (TCMalloc_SpinLock::Init):
5205         (TCMalloc_SpinLock::Finalize):
5206         (TCMalloc_SlowLock):
5207         (TCMalloc_SpinLockHolder):
5208         (TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
5209         (TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
5210         * wtf/TCSystemAlloc.cpp: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.cpp.
5211         (TrySbrk):
5212         (TryMmap):
5213         (TryVirtualAlloc):
5214         (TryDevMem):
5215         (TCMalloc_SystemAlloc):
5216         (TCMalloc_SystemRelease):
5217         (TCMalloc_SystemCommit):
5218         * wtf/TCSystemAlloc.h: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.h.
5219         (TCMalloc_SystemRelease):
5220         (TCMalloc_SystemCommit):
5221         * wtf/TemporaryChange.h: Renamed from Source/JavaScriptCore/wtf/TemporaryChange.h.
5222         (WTF):
5223         (TemporaryChange):
5224         (WTF::TemporaryChange::TemporaryChange):
5225         (WTF::TemporaryChange::~TemporaryChange):
5226         * wtf/ThreadFunctionInvocation.h: Renamed from Source/JavaScriptCore/wtf/ThreadFunctionInvocation.h.
5227         (WTF):
5228         (WTF::ThreadFunctionInvocation::ThreadFunctionInvocation):
5229         (ThreadFunctionInvocation):
5230         * wtf/ThreadIdentifierDataPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp.
5231         (WTF):
5232         (WTF::ThreadIdentifierData::~ThreadIdentifierData):
5233         (WTF::ThreadIdentifierData::initializeOnce):
5234         (WTF::ThreadIdentifierData::identifier):
5235         (WTF::ThreadIdentifierData::initialize):
5236         (WTF::ThreadIdentifierData::destruct):
5237         * wtf/ThreadIdentifierDataPthreads.h: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h.
5238         (WTF):
5239         (ThreadIdentifierData):
5240         (WTF::ThreadIdentifierData::ThreadIdentifierData):
5241         * wtf/ThreadRestrictionVerifier.h: Renamed from Source/JavaScriptCore/wtf/ThreadRestrictionVerifier.h.
5242         (WTF):
5243         (ThreadRestrictionVerifier):
5244         (WTF::ThreadRestrictionVerifier::ThreadRestrictionVerifier):
5245         (WTF::ThreadRestrictionVerifier::~ThreadRestrictionVerifier):
5246         (WTF::ThreadRestrictionVerifier::setMutexMode):
5247         (WTF::ThreadRestrictionVerifier::setDispatchQueueMode):
5248         (WTF::ThreadRestrictionVerifier::turnOffVerification):
5249         (WTF::ThreadRestrictionVerifier::setShared):
5250         (WTF::ThreadRestrictionVerifier::isSafeToUse):
5251         * wtf/ThreadSafeRefCounted.h: Renamed from Source/JavaScriptCore/wtf/ThreadSafeRefCounted.h.
5252         (WTF):
5253         (ThreadSafeRefCountedBase):
5254         (WTF::ThreadSafeRefCountedBase::ThreadSafeRefCountedBase):
5255         (WTF::ThreadSafeRefCountedBase::ref):
5256         (WTF::ThreadSafeRefCountedBase::hasOneRef):
5257         (WTF::ThreadSafeRefCountedBase::refCount):
5258         (WTF::ThreadSafeRefCountedBase::derefBase):
5259         (ThreadSafeRefCounted):
5260         (WTF::ThreadSafeRefCounted::deref):
5261         (WTF::ThreadSafeRefCounted::ThreadSafeRefCounted):
5262         * wtf/ThreadSpecific.h: Renamed from Source/JavaScriptCore/wtf/ThreadSpecific.h.
5263         (WTF):
5264         (ThreadSpecific):
5265         (Data):
5266         (WTF::ThreadSpecific::Data::Data):
5267         (WTF::::ThreadSpecific):
5268         (WTF::::get):
5269         (WTF::::set):
5270         (WTF::::~ThreadSpecific):
5271         (WTF::::destroy):
5272         (WTF::::isSet):
5273         (WTF::T):
5274         (WTF::::operator):
5275         * wtf/ThreadSpecificWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadSpecificWin.cpp.
5276         (WTF):
5277         (WTF::tlsKeyCount):
5278         (WTF::tlsKeys):
5279         (WTF::ThreadSpecificThreadExit):
5280         * wtf/Threading.cpp: Renamed from Source/JavaScriptCore/wtf/Threading.cpp.
5281         (WTF):
5282         (NewThreadContext):
5283         (WTF::NewThreadContext::NewThreadContext):
5284         (WTF::threadEntryPoint):
5285         (WTF::createThread):
5286         (WTF::ThreadFunctionWithReturnValueInvocation::ThreadFunctionWithReturnValueInvocation):
5287         (ThreadFunctionWithReturnValueInvocation):
5288         (WTF::compatEntryPoint):
5289         (WTF::waitForThreadCompletion):
5290         * wtf/Threading.h: Renamed from Source/JavaScriptCore/wtf/Threading.h.
5291         (WTF):
5292         * wtf/ThreadingNone.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingNone.cpp.
5293         * wtf/ThreadingPrimitives.h: Renamed from Source/JavaScriptCore/wtf/ThreadingPrimitives.h.
5294         (WTF):
5295         (PlatformMutex):
5296         (PlatformCondition):
5297         (Mutex):
5298         (WTF::Mutex::impl):
5299         (ReadWriteLock):
5300         (ThreadCondition):
5301         * wtf/ThreadingPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingPthreads.cpp.
5302         (WTF):
5303         (WTF::threadMapMutex):
5304         (WTF::initializeThreading):
5305         (WTF::lockAtomicallyInitializedStaticMutex):
5306         (WTF::unlockAtomicallyInitializedStaticMutex):
5307         (WTF::threadMap):
5308         (WTF::identifierByPthreadHandle):
5309         (WTF::establishIdentifierForPthreadHandle):
5310         (WTF::pthreadHandleForIdentifier):
5311         (WTF::clearPthreadHandleForIdentifier):
5312         (WTF::wtfThreadEntryPoint):
5313         (WTF::createThreadInternal):
5314         (WTF::initializeCurrentThreadInternal):
5315         (WTF::waitForThreadCompletion):
5316         (WTF::detachThread):
5317         (WTF::yield):
5318         (WTF::currentThread):
5319         (WTF::Mutex::Mutex):
5320         (WTF::Mutex::~Mutex):
5321         (WTF::Mutex::lock):
5322         (WTF::Mutex::tryLock):
5323         (WTF::Mutex::unlock):
5324         (WTF::ReadWriteLock::ReadWriteLock):
5325         (WTF::ReadWriteLock::~ReadWriteLock):
5326         (WTF::ReadWriteLock::readLock):
5327         (WTF::ReadWriteLock::tryReadLock):
5328         (WTF::ReadWriteLock::writeLock):
5329         (WTF::ReadWriteLock::tryWriteLock):
5330         (WTF::ReadWriteLock::unlock):
5331         (WTF::ThreadCondition::ThreadCondition):
5332         (WTF::ThreadCondition::~ThreadCondition):
5333         (WTF::ThreadCondition::wait):
5334         (WTF::ThreadCondition::timedWait):
5335         (WTF::ThreadCondition::signal):
5336         (WTF::ThreadCondition::broadcast):
5337         * wtf/ThreadingWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingWin.cpp.
5338         (WTF):
5339         (tagTHREADNAME_INFO):
5340         (WTF::initializeCurrentThreadInternal):
5341         (WTF::lockAtomicallyInitializedStaticMutex):
5342         (WTF::unlockAtomicallyInitializedStaticMutex):
5343         (WTF::threadMapMutex):
5344         (WTF::initializeThreading):
5345         (WTF::threadMap):
5346         (WTF::storeThreadHandleByIdentifier):
5347         (WTF::threadHandleForIdentifier):
5348         (WTF::clearThreadHandleForIdentifier):
5349         (WTF::wtfThreadEntryPoint):
5350         (WTF::createThreadInternal):
5351         (WTF::waitForThreadCompletion):
5352         (WTF::detachThread):
5353         (WTF::yield):
5354         (WTF::currentThread):
5355         (WTF::Mutex::Mutex):
5356         (WTF::Mutex::~Mutex):
5357         (WTF::Mutex::lock):
5358         (WTF::Mutex::tryLock):
5359         (WTF::Mutex::unlock):
5360         (WTF::PlatformCondition::timedWait):
5361         (WTF::PlatformCondition::signal):
5362         (WTF::ThreadCondition::ThreadCondition):
5363         (WTF::ThreadCondition::~ThreadCondition):
5364         (WTF::ThreadCondition::wait):
5365         (WTF::ThreadCondition::timedWait):
5366         (WTF::ThreadCondition::signal):
5367         (WTF::ThreadCondition::broadcast):
5368         (WTF::absoluteTimeToWaitTimeoutInterval):
5369         * wtf/TypeTraits.cpp: Renamed from Source/JavaScriptCore/wtf/TypeTraits.cpp.
5370         (WTF):
5371         * wtf/TypeTraits.h: Renamed from Source/JavaScriptCore/wtf/TypeTraits.h.
5372         (WTF):
5373         (IsConvertibleToInteger):
5374         (IsArray):
5375         (IsSameType):
5376         (IsSubclass):
5377         (NoType):
5378         (IsSubclassOfTemplate):
5379         (RemoveTemplate):
5380         (RemoveConst):
5381         (RemoveVolatile):
5382         (RemoveConstVolatile):
5383         (RemovePointer):
5384         (RemoveReference):
5385         (RemoveExtent):
5386         (DecayArray):
5387         (IntegralConstant):
5388         * wtf/TypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/TypedArrayBase.h.
5389         (WTF):
5390         (TypedArrayBase):
5391         (WTF::TypedArrayBase::data):
5392         (WTF::TypedArrayBase::set):
5393         (WTF::TypedArrayBase::setRange):
5394         (WTF::TypedArrayBase::zeroRange):
5395         (WTF::TypedArrayBase::length):
5396         (WTF::TypedArrayBase::byteLength):
5397         (WTF::TypedArrayBase::TypedArrayBase):
5398         (WTF::TypedArrayBase::create):
5399         (WTF::TypedArrayBase::subarrayImpl):
5400         (WTF::TypedArrayBase::neuter):
5401         * wtf/Uint16Array.h: Renamed from Source/JavaScriptCore/wtf/Uint16Array.h.
5402         (WTF):
5403         (Uint16Array):
5404         (WTF::Uint16Array::set):
5405         (WTF::Uint16Array::isUnsignedShortArray):
5406         (WTF::Uint16Array::create):
5407         (WTF::Uint16Array::Uint16Array):
5408         (WTF::Uint16Array::subarray):
5409         * wtf/Uint32Array.h: Renamed from Source/JavaScriptCore/wtf/Uint32Array.h.
5410         (WTF):
5411         (Uint32Array):
5412         (WTF::Uint32Array::set):
5413         (WTF::Uint32Array::isUnsignedIntArray):
5414         (WTF::Uint32Array::create):
5415         (WTF::Uint32Array::Uint32Array):
5416         (WTF::Uint32Array::subarray):
5417         * wtf/Uint8Array.h: Renamed from Source/JavaScriptCore/wtf/Uint8Array.h.
5418         (WTF):
5419         (Uint8Array):
5420         (WTF::Uint8Array::set):
5421         (WTF::Uint8Array::isUnsignedByteArray):
5422         (WTF::Uint8Array::create):
5423         (WTF::Uint8Array::Uint8Array):
5424         (WTF::Uint8Array::subarray):
5425         * wtf/Uint8ClampedArray.h: Renamed from Source/JavaScriptCore/wtf/Uint8ClampedArray.h.
5426         (WTF):
5427         (Uint8ClampedArray):
5428         (WTF::Uint8ClampedArray::set):
5429         (WTF::Uint8ClampedArray::isUnsignedByteClampedArray):
5430         (WTF::Uint8ClampedArray::create):
5431         (WTF::Uint8ClampedArray::Uint8ClampedArray):
5432         (WTF::Uint8ClampedArray::subarray):
5433         * wtf/UnionFind.h: Renamed from Source/JavaScriptCore/wtf/UnionFind.h.
5434         (WTF):
5435         (UnionFind):
5436         (WTF::UnionFind::UnionFind):
5437         (WTF::UnionFind::find):
5438         (WTF::UnionFind::unify):
5439         * wtf/UnusedParam.h: Renamed from Source/JavaScriptCore/wtf/UnusedParam.h.
5440         (unusedParam):
5441         * wtf/VMTags.h: Renamed from Source/JavaScriptCore/wtf/VMTags.h.
5442         * wtf/ValueCheck.h: Renamed from Source/JavaScriptCore/wtf/ValueCheck.h.
5443         (WTF):
5444         (ValueCheck):
5445         (WTF::ValueCheck::checkConsistency):
5446         * wtf/Vector.h: Renamed from Source/JavaScriptCore/wtf/Vector.h.
5447         (WTF):
5448         (WTF::VectorTypeOperations::destruct):
5449         (VectorTypeOperations):
5450         (WTF::VectorTypeOperations::initialize):
5451         (WTF::VectorTypeOperations::move):
5452         (WTF::VectorTypeOperations::moveOverlapping):
5453         (WTF::VectorTypeOperations::uninitializedCopy):
5454         (WTF::VectorTypeOperations::uninitializedFill):
5455         (WTF::VectorTypeOperations::compare):
5456         (VectorBufferBase):
5457         (WTF::VectorBufferBase::allocateBuffer):
5458         (WTF::VectorBufferBase::tryAllocateBuffer):
5459         (WTF::VectorBufferBase::deallocateBuffer):
5460         (WTF::VectorBufferBase::buffer):
5461         (WTF::VectorBufferBase::bufferSlot):
5462         (WTF::VectorBufferBase::capacity):
5463         (WTF::VectorBufferBase::releaseBuffer):
5464         (WTF::VectorBufferBase::VectorBufferBase):
5465         (WTF::VectorBufferBase::~VectorBufferBase):
5466         (VectorBuffer):
5467         (WTF::VectorBuffer::VectorBuffer):
5468         (WTF::VectorBuffer::~VectorBuffer):
5469         (WTF::VectorBuffer::allocateBuffer):
5470         (WTF::VectorBuffer::tryAllocateBuffer):
5471         (WTF::VectorBuffer::deallocateBuffer):
5472         (WTF::VectorBuffer::swap):
5473         (WTF::VectorBuffer::restoreInlineBufferIfNeeded):
5474         (WTF::VectorBuffer::releaseBuffer):
5475         (WTF::VectorBuffer::inlineBuffer):
5476         (Vector):
5477         (WTF::Vector::Vector):
5478         (WTF::Vector::~Vector):
5479         (WTF::Vector::size):
5480         (WTF::Vector::capacity):
5481         (WTF::Vector::isEmpty):
5482         (WTF::Vector::at):
5483         (WTF::Vector::operator[]):
5484         (WTF::Vector::data):
5485         (WTF::Vector::dataSlot):
5486         (WTF::Vector::begin):
5487         (WTF::Vector::end):
5488         (WTF::Vector::rbegin):
5489         (WTF::Vector::rend):
5490         (WTF::Vector::reversed):
5491         (WTF::Vector::first):
5492         (WTF::Vector::last):
5493         (WTF::Vector::shrinkToFit):
5494         (WTF::Vector::clear):
5495         (WTF::Vector::removeLast):
5496         (WTF::Vector::fill):
5497         (WTF::Vector::swap):
5498         (VectorReverseProxy):
5499         (WTF::Vector::VectorReverseProxy::begin):
5500         (WTF::Vector::VectorReverseProxy::end):
5501         (WTF::operator<<):
5502         (WTF::operator>>):
5503         (WTF::::Vector):
5504         (WTF::=):
5505         (WTF::typelessPointersAreEqual):
5506         (WTF::::contains):
5507         (WTF::::find):
5508         (WTF::::reverseFind):
5509         (WTF::::fill):
5510         (WTF::::appendRange):
5511         (WTF::::expandCapacity):
5512         (WTF::::tryExpandCapacity):
5513         (WTF::::resize):
5514         (WTF::::shrink):
5515         (WTF::::grow):
5516         (WTF::::reserveCapacity):
5517         (WTF::::tryReserveCapacity):
5518         (WTF::::reserveInitialCapacity):
5519         (WTF::::shrinkCapacity):
5520         (WTF::::append):
5521         (WTF::::tryAppend):
5522         (WTF::::appendSlowCase):
5523         (WTF::::uncheckedAppend):
5524         (WTF::::insert):
5525         (WTF::::prepend):
5526         (WTF::::remove):
5527         (WTF::::reverse):
5528         (WTF::::releaseBuffer):
5529         (WTF::::checkConsistency):
5530         (WTF::deleteAllValues):
5531         (WTF::swap):
5532         (WTF::operator==):
5533         (WTF::operator!=):
5534         * wtf/VectorTraits.h: Renamed from Source/JavaScriptCore/wtf/VectorTraits.h.
5535         (WTF):
5536         (SimpleClassVectorTraits):
5537         * wtf/WTFThreadData.cpp: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.cpp.
5538         (WTF):
5539         (WTF::WTFThreadData::WTFThreadData):
5540         (WTF::WTFThreadData::~WTFThreadData):
5541         (JSC):
5542         (JSC::IdentifierTable::~IdentifierTable):
5543         (JSC::IdentifierTable::add):
5544         * wtf/WTFThreadData.h: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.h.
5545         (JSC):
5546         (IdentifierTable):
5547         (JSC::IdentifierTable::remove):
5548         (JSC::IdentifierTable::literalTable):
5549         (WTF):
5550         (WTFThreadData):
5551         (WTF::WTFThreadData::atomicStringTable):
5552         (WTF::WTFThreadData::currentIdentifierTable):
5553         (WTF::WTFThreadData::setCurrentIdentifierTable):
5554         (WTF::WTFThreadData::resetCurrentIdentifierTable):
5555         (WTF::WTFThreadData::stack):
5556         (WTF::wtfThreadData):
5557         * wtf/blackberry/MainThreadBlackBerry.cpp: Renamed from Source/JavaScriptCore/wtf/blackberry/MainThreadBlackBerry.cpp.
5558         (WTF):
5559         (WTF::initializeMainThreadPlatform):
5560         (WTF::scheduleDispatchFunctionsOnMainThread):
5561         * wtf/chromium/ChromiumThreading.h: Renamed from Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h.
5562         (WTF):
5563         (ChromiumThreading):
5564         * wtf/chromium/MainThreadChromium.cpp: Renamed from Source/JavaScriptCore/wtf/chromium/MainThreadChromium.cpp.
5565         (WTF):
5566         (WTF::initializeMainThread):
5567         (WTF::callOnMainThread):
5568         (WTF::callOnMainThreadAndWait):
5569         (WTF::setMainThreadCallbacksPaused):
5570         (WTF::isMainThread):
5571         * wtf/dtoa.cpp: Renamed from Source/JavaScriptCore/wtf/dtoa.cpp.
5572         (WTF):
5573         (WTF::storeInc):
5574         (WTF::BigInt::BigInt):
5575         (BigInt):
5576         (WTF::BigInt::clear):
5577         (WTF::BigInt::size):
5578         (WTF::BigInt::resize):
5579         (WTF::BigInt::words):
5580         (WTF::BigInt::append):
5581         (WTF::multadd):
5582         (WTF::hi0bits):
5583         (WTF::lo0bits):
5584         (WTF::i2b):
5585         (WTF::mult):
5586         (P5Node):
5587         (WTF::P5Node::P5Node):
5588         (WTF::pow5mult):
5589         (WTF::lshift):
5590         (WTF::cmp):
5591         (WTF::diff):
5592         (WTF::d2b):
5593         (WTF::strtod):
5594         (WTF::quorem):
5595         (WTF::dtoa):
5596         * wtf/dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa.h.
5597         (WTF):
5598         * wtf/dtoa/COPYING: Renamed from Source/JavaScriptCore/wtf/dtoa/COPYING.
5599         * wtf/dtoa/LICENSE: Renamed from Source/JavaScriptCore/wtf/dtoa/LICENSE.
5600         * wtf/dtoa/README: Renamed from Source/JavaScriptCore/wtf/dtoa/README.
5601         * wtf/dtoa/bignum-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.cc.
5602         * wtf/dtoa/bignum-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.h.
5603         (WTF):
5604         (double_conversion):
5605         * wtf/dtoa/bignum.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.cc.
5606         * wtf/dtoa/bignum.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.h.
5607         (WTF):
5608         (double_conversion):
5609         (Bignum):
5610         (WTF::double_conversion::Bignum::Times10):
5611         (WTF::double_conversion::Bignum::Equal):
5612         (WTF::double_conversion::Bignum::LessEqual):
5613         (WTF::double_conversion::Bignum::Less):
5614         (WTF::double_conversion::Bignum::PlusEqual):
5615         (WTF::double_conversion::Bignum::PlusLessEqual):
5616         (WTF::double_conversion::Bignum::PlusLess):
5617         (WTF::double_conversion::Bignum::EnsureCapacity):
5618         (WTF::double_conversion::Bignum::BigitLength):
5619         * wtf/dtoa/cached-powers.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.cc.
5620         * wtf/dtoa/cached-powers.h: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.h.
5621         (WTF):
5622         (double_conversion):
5623         (PowersOfTenCache):
5624         * wtf/dtoa/diy-fp.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.cc.
5625         * wtf/dtoa/diy-fp.h: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.h.
5626         (WTF):
5627         (double_conversion):
5628         (DiyFp):
5629         (WTF::double_conversion::DiyFp::DiyFp):
5630         (WTF::double_conversion::DiyFp::Subtract):
5631         (WTF::double_conversion::DiyFp::Minus):
5632         (WTF::double_conversion::DiyFp::Times):
5633         (WTF::double_conversion::DiyFp::Normalize):
5634         (WTF::double_conversion::DiyFp::f):
5635         (WTF::double_conversion::DiyFp::e):
5636         (WTF::double_conversion::DiyFp::set_f):
5637         (WTF::double_conversion::DiyFp::set_e):
5638         * wtf/dtoa/double-conversion.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.cc.
5639         * wtf/dtoa/double-conversion.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.h.
5640         (WTF):
5641         (double_conversion):
5642         (DoubleToStringConverter):
5643         (WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
5644         (StringToDoubleConverter):
5645         (WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
5646         * wtf/dtoa/double.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double.h.
5647         (WTF):
5648         (double_conversion):
5649         (WTF::double_conversion::double_to_uint64):
5650         (WTF::double_conversion::uint64_to_double):
5651         (Double):
5652         (WTF::double_conversion::Double::Double):
5653         (WTF::double_conversion::Double::AsDiyFp):
5654         (WTF::double_conversion::Double::AsNormalizedDiyFp):
5655         (WTF::double_conversion::Double::AsUint64):
5656         (WTF::double_conversion::Double::NextDouble):
5657         (WTF::double_conversion::Double::Exponent):
5658         (WTF::double_conversion::Double::Significand):
5659         (WTF::double_conversion::Double::IsDenormal):
5660         (WTF::double_conversion::Double::IsSpecial):
5661         (WTF::double_conversion::Double::IsNan):
5662         (WTF::double_conversion::Double::IsInfinite):
5663         (WTF::double_conversion::Double::Sign):
5664         (WTF::double_conversion::Double::UpperBoundary):
5665         (WTF::double_conversion::Double::NormalizedBoundaries):
5666         (WTF::double_conversion::Double::value):
5667         (WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
5668         (WTF::double_conversion::Double::Infinity):
5669         (WTF::double_conversion::Double::NaN):
5670         (WTF::double_conversion::Double::DiyFpToUint64):
5671         * wtf/dtoa/fast-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.cc.
5672         * wtf/dtoa/fast-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.h.
5673         (WTF):
5674         (double_conversion):
5675         * wtf/dtoa/fixed-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.cc.
5676         * wtf/dtoa/fixed-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.h.
5677         (WTF):
5678         (double_conversion):
5679         * wtf/dtoa/strtod.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.cc.
5680         * wtf/dtoa/strtod.h: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.h.
5681         (WTF):
5682         (double_conversion):
5683         * wtf/dtoa/utils.h: Renamed from Source/JavaScriptCore/wtf/dtoa/utils.h.
5684         (WTF):
5685         (double_conversion):
5686         (WTF::double_conversion::Max):
5687         (WTF::double_conversion::Min):
5688         (WTF::double_conversion::StrLength):
5689         (Vector):
5690         (WTF::double_conversion::Vector::Vector):
5691         (WTF::double_conversion::Vector::SubVector):
5692         (WTF::double_conversion::Vector::length):
5693         (WTF::double_conversion::Vector::is_empty):
5694         (WTF::double_conversion::Vector::start):
5695         (WTF::double_conversion::Vector::operator[]):
5696         (WTF::double_conversion::Vector::first):
5697         (WTF::double_conversion::Vector::last):
5698         (StringBuilder):
5699         (WTF::double_conversion::StringBuilder::StringBuilder):
5700         (WTF::double_conversion::StringBuilder::~StringBuilder):
5701         (WTF::double_conversion::StringBuilder::size):
5702         (WTF::double_conversion::StringBuilder::position):
5703         (WTF::double_conversion::StringBuilder::SetPosition):
5704         (WTF::double_conversion::StringBuilder::Reset):
5705         (WTF::double_conversion::StringBuilder::AddCharacter):
5706         (WTF::double_conversion::StringBuilder::AddString):
5707         (WTF::double_conversion::StringBuilder::AddSubstring):
5708         (WTF::double_conversion::StringBuilder::AddPadding):
5709         (WTF::double_conversion::StringBuilder::Finalize):
5710         (WTF::double_conversion::StringBuilder::is_finalized):
5711         (WTF::double_conversion::BitCast):
5712         * wtf/efl/MainThreadEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/MainThreadEfl.cpp.
5713         (WTF):
5714         (WTF::pipeObject):
5715         (WTF::monitorDispatchFunctions):
5716         (WTF::initializeMainThreadPlatform):
5717         (WTF::scheduleDispatchFunctionsOnMainThread):
5718         * wtf/efl/OwnPtrEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp.
5719         (WTF):
5720         (WTF::deleteOwnedPtr):
5721         * wtf/gobject/GOwnPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp.
5722         (WTF):
5723         (WTF::GError):
5724         (WTF::GList):
5725         (WTF::GSList):
5726         (WTF::GPatternSpec):
5727         (WTF::GDir):
5728         (WTF::GTimer):
5729         (WTF::GKeyFile):
5730         * wtf/gobject/GOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.
5731         (WTF):
5732         (GOwnPtr):
5733         (WTF::GOwnPtr::GOwnPtr):
5734         (WTF::GOwnPtr::~GOwnPtr):
5735         (WTF::GOwnPtr::get):
5736         (WTF::GOwnPtr::release):
5737         (WTF::GOwnPtr::outPtr):
5738         (WTF::GOwnPtr::set):
5739         (WTF::GOwnPtr::clear):
5740         (WTF::GOwnPtr::operator*):
5741         (WTF::GOwnPtr::operator->):
5742         (WTF::GOwnPtr::operator!):
5743         (WTF::GOwnPtr::operator UnspecifiedBoolType):
5744         (WTF::GOwnPtr::swap):
5745         (WTF::swap):
5746         (WTF::operator==):
5747         (WTF::operator!=):
5748         (WTF::getPtr):
5749         (WTF::freeOwnedGPtr):
5750         * wtf/gobject/GRefPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp.
5751         (WTF):
5752         (WTF::refGPtr):
5753         (WTF::derefGPtr):
5754         (_GVariant):
5755         * wtf/gobject/GRefPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.h.
5756         (WTF):
5757         (GRefPtr):
5758         (WTF::GRefPtr::GRefPtr):
5759         (WTF::GRefPtr::~GRefPtr):
5760         (WTF::GRefPtr::clear):
5761         (WTF::GRefPtr::isHashTableDeletedValue):
5762         (WTF::GRefPtr::get):
5763         (WTF::GRefPtr::operator*):
5764         (WTF::GRefPtr::operator->):
5765         (WTF::GRefPtr::operator!):
5766         (WTF::GRefPtr::operator UnspecifiedBoolType):
5767         (WTF::GRefPtr::hashTableDeletedValue):
5768         (WTF::=):
5769         (WTF::::swap):
5770         (WTF::swap):
5771         (WTF::operator==):
5772         (WTF::operator!=):
5773         (WTF::static_pointer_cast):
5774         (WTF::const_pointer_cast):
5775         (WTF::getPtr):
5776         (WTF::adoptGRef):
5777         (WTF::refGPtr):
5778         (WTF::derefGPtr):
5779         * wtf/gobject/GTypedefs.h: Renamed from Source/JavaScriptCore/wtf/gobject/GTypedefs.h.
5780         * wtf/gobject/GlibUtilities.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp.
5781         (getCurrentExecutablePath):
5782         * wtf/gobject/GlibUtilities.h: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.h.
5783         * wtf/gtk/MainThreadGtk.cpp: Renamed from Source/JavaScriptCore/wtf/gtk/MainThreadGtk.cpp.
5784         (WTF):
5785         (WTF::initializeMainThreadPlatform):
5786         (WTF::timeoutFired):
5787         (WTF::scheduleDispatchFunctionsOnMainThread):
5788         * wtf/mac/MainThreadMac.mm: Renamed from Source/JavaScriptCore/wtf/mac/MainThreadMac.mm.
5789         (-[JSWTFMainThreadCaller call]):
5790         (WTF):
5791         (WTF::initializeMainThreadPlatform):
5792         (WTF::initializeMainThreadToProcessMainThreadPlatform):
5793         (WTF::timerFired):
5794         (WTF::postTimer):
5795         (WTF::scheduleDispatchFunctionsOnMainThread):
5796         (WTF::isMainThread):
5797         * wtf/qt/MainThreadQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/MainThreadQt.cpp.
5798         (WTF):
5799         (MainThreadInvoker):
5800         (WTF::MainThreadInvoker::MainThreadInvoker):
5801         (WTF::MainThreadInvoker::event):
5802         (WTF::initializeMainThreadPlatform):
5803         (WTF::scheduleDispatchFunctionsOnMainThread):
5804         * wtf/qt/StringQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/StringQt.cpp.
5805         (WTF):
5806         (WTF::String::String):
5807         (WTF::String::operator QString):
5808         (WTF::operator<<):
5809         (WTF::operator>>):
5810         * wtf/qt/UtilsQt.h: Renamed from Source/JavaScriptCore/wtf/qt/UtilsQt.h.
5811         (escapeHtml):
5812         * wtf/qt/compat/QGuiApplication: Renamed from Source/JavaScriptCore/wtf/qt/compat/QGuiApplication.
5813         * wtf/qt/compat/qguiapplication.h: Renamed from Source/JavaScriptCore/wtf/qt/compat/qguiapplication.h.
5814         (QGuiApplication):
5815         (QGuiApplication::styleHints):
5816         * wtf/text/ASCIIFastPath.h: Renamed from Source/JavaScriptCore/wtf/text/ASCIIFastPath.h.
5817         (WTF):
5818         (WTF::isAlignedToMachineWord):
5819         (WTF::alignToMachineWord):
5820         (WTF::isAllASCII):
5821         (WTF::charactersAreAllASCII):
5822         * wtf/text/AtomicString.cpp: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.cpp.
5823         (WTF):
5824         (AtomicStringTable):
5825         (WTF::AtomicStringTable::create):
5826         (WTF::AtomicStringTable::table):
5827         (WTF::AtomicStringTable::destroy):
5828         (WTF::stringTable):
5829         (WTF::addToStringTable):
5830         (WTF::CStringTranslator::hash):
5831         (CStringTranslator):
5832         (WTF::CStringTranslator::equal):
5833         (WTF::CStringTranslator::translate):
5834         (WTF::AtomicString::add):
5835         (UCharBuffer):
5836         (WTF::UCharBufferTranslator::hash):
5837         (UCharBufferTranslator):
5838         (WTF::UCharBufferTranslator::equal):
5839         (WTF::UCharBufferTranslator::translate):
5840         (HashAndCharacters):
5841         (WTF::HashAndCharactersTranslator::hash):
5842         (HashAndCharactersTranslator):
5843         (WTF::HashAndCharactersTranslator::equal):
5844         (WTF::HashAndCharactersTranslator::translate):
5845         (HashAndUTF8Characters):
5846         (WTF::HashAndUTF8CharactersTranslator::hash):
5847         (HashAndUTF8CharactersTranslator):
5848         (WTF::HashAndUTF8CharactersTranslator::equal):
5849         (WTF::HashAndUTF8CharactersTranslator::translate):
5850         (SubstringLocation):
5851         (WTF::SubstringTranslator::hash):
5852         (SubstringTranslator):
5853         (WTF::SubstringTranslator::equal):
5854         (WTF::SubstringTranslator::translate):
5855         (WTF::AtomicString::addSlowCase):
5856         (WTF::AtomicString::find):
5857         (WTF::AtomicString::remove):
5858         (WTF::AtomicString::lower):
5859         (WTF::AtomicString::fromUTF8Internal):
5860         (WTF::AtomicString::show):
5861         * wtf/text/AtomicString.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.h.
5862         (WTF):
5863         (AtomicString):
5864         (WTF::AtomicString::AtomicString):
5865         (WTF::AtomicString::isHashTableDeletedValue):
5866         (WTF::AtomicString::operator const String&):
5867         (WTF::AtomicString::string):
5868         (WTF::AtomicString::impl):
5869         (WTF::AtomicString::characters):
5870         (WTF::AtomicString::length):
5871         (WTF::AtomicString::operator[]):
5872         (WTF::AtomicString::contains):
5873         (WTF::AtomicString::find):
5874         (WTF::AtomicString::startsWith):
5875         (WTF::AtomicString::endsWith):
5876         (WTF::AtomicString::upper):
5877         (WTF::AtomicString::toInt):
5878         (WTF::AtomicString::toDouble):
5879         (WTF::AtomicString::toFloat):
5880         (WTF::AtomicString::percentage):
5881         (WTF::AtomicString::isNull):
5882         (WTF::AtomicString::isEmpty):
5883         (WTF::AtomicString::createCFString):
5884         (WTF::AtomicString::operator NSString*):
5885         (WTF::AtomicString::operator QString):
5886         (WTF::AtomicString::add):
5887         (WTF::operator==):
5888         (WTF::operator!=):
5889         (WTF::equalIgnoringCase):
5890         (WTF::AtomicString::fromUTF8):
5891         * wtf/text/AtomicStringHash.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringHash.h.
5892         (WTF):
5893         (WTF::AtomicStringHash::hash):
5894         (AtomicStringHash):
5895         (WTF::AtomicStringHash::equal):
5896         * wtf/text/AtomicStringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringImpl.h.
5897         (WTF):
5898         (AtomicStringImpl):
5899         (WTF::AtomicStringImpl::AtomicStringImpl):
5900         * wtf/text/CString.cpp: Renamed from Source/JavaScriptCore/wtf/text/CString.cpp.
5901         (WTF):
5902         (WTF::CString::CString):
5903         (WTF::CString::init):
5904         (WTF::CString::mutableData):
5905         (WTF::CString::newUninitialized):
5906         (WTF::CString::copyBufferIfNeeded):
5907         (WTF::operator==):
5908         * wtf/text/CString.h: Renamed from Source/JavaScriptCore/wtf/text/CString.h.
5909         (WTF):
5910         (CStringBuffer):
5911         (WTF::CStringBuffer::data):
5912         (WTF::CStringBuffer::length):
5913         (WTF::CStringBuffer::create):
5914         (WTF::CStringBuffer::CStringBuffer):
5915         (WTF::CStringBuffer::mutableData):
5916         (CString):
5917         (WTF::CString::CString):
5918         (WTF::CString::data):
5919         (WTF::CString::length):
5920         (WTF::CString::isNull):
5921         (WTF::CString::buffer):
5922         (WTF::operator!=):
5923         * wtf/text/StringBuffer.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuffer.h.
5924         (WTF):
5925         (StringBuffer):
5926         (WTF::StringBuffer::StringBuffer):
5927         (WTF::StringBuffer::~StringBuffer):
5928         (WTF::StringBuffer::shrink):
5929         (WTF::StringBuffer::resize):
5930         (WTF::StringBuffer::length):
5931         (WTF::StringBuffer::characters):
5932         (WTF::StringBuffer::operator[]):
5933         (WTF::StringBuffer::release):
5934         * wtf/text/StringBuilder.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.cpp.
5935         (WTF):
5936         (WTF::StringBuilder::reifyString):
5937         (WTF::StringBuilder::resize):
5938         (WTF::StringBuilder::allocateBuffer):
5939         (WTF::StringBuilder::allocateBufferUpConvert):
5940         (WTF::LChar):
5941         (WTF::UChar):
5942         (WTF::StringBuilder::reserveCapacity):
5943         (WTF::StringBuilder::appendUninitialized):
5944         (WTF::StringBuilder::appendUninitializedSlow):
5945         (WTF::StringBuilder::append):
5946         (WTF::StringBuilder::canShrink):
5947         (WTF::StringBuilder::shrinkToFit):
5948         * wtf/text/StringBuilder.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.h.
5949         (WTF):
5950         (StringBuilder):
5951         (WTF::StringBuilder::StringBuilder):
5952         (WTF::StringBuilder::append):
5953         (WTF::StringBuilder::toString):
5954         (WTF::StringBuilder::toStringPreserveCapacity):
5955         (WTF::StringBuilder::toAtomicString):
5956         (WTF::StringBuilder::length):
5957         (WTF::StringBuilder::isEmpty):
5958         (WTF::StringBuilder::capacity):
5959         (WTF::StringBuilder::operator[]):
5960         (WTF::StringBuilder::characters8):
5961         (WTF::StringBuilder::characters16):
5962         (WTF::StringBuilder::characters):
5963         (WTF::StringBuilder::is8Bit):
5964         (WTF::StringBuilder::clear):
5965         (WTF::StringBuilder::swap):
5966         (WTF::LChar):
5967         (WTF::UChar):
5968         (WTF::equal):
5969         (WTF::operator==):
5970         (WTF::operator!=):
5971         * wtf/text/StringConcatenate.h: Renamed from Source/JavaScriptCore/wtf/text/StringConcatenate.h.
5972         (WTF):
5973         (WTF::sumWithOverflow):
5974         (WTF::tryMakeString):
5975         (WTF::makeString):
5976         * wtf/text/StringHash.h: Renamed from Source/JavaScriptCore/wtf/text/StringHash.h.
5977         (WTF):
5978         (WTF::StringHash::hash):
5979         (WTF::StringHash::equal):
5980         (StringHash):
5981         (CaseFoldingHash):
5982         (WTF::CaseFoldingHash::foldCase):
5983         (WTF::CaseFoldingHash::hash):
5984         (WTF::CaseFoldingHash::equal):
5985         (WTF::AlreadyHashed::hash):
5986         (AlreadyHashed):
5987         (WTF::AlreadyHashed::avoidDeletedValue):
5988         * wtf/text/StringImpl.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.cpp.
5989         (WTF):
5990         (WTF::StringImpl::~StringImpl):
5991         (WTF::StringImpl::createUninitialized):
5992         (WTF::StringImpl::reallocate):
5993         (WTF::StringImpl::create):
5994         (WTF::StringImpl::getData16SlowCase):
5995         (WTF::StringImpl::upconvertCharacters):
5996         (WTF::StringImpl::containsOnlyWhitespace):
5997         (WTF::StringImpl::substring):
5998         (WTF::StringImpl::characterStartingAt):
5999         (WTF::StringImpl::lower):
6000         (WTF::StringImpl::upper):
6001         (WTF::StringImpl::fill):
6002         (WTF::StringImpl::foldCase):
6003         (WTF::StringImpl::stripMatchedCharacters):
6004         (UCharPredicate):
6005         (WTF::UCharPredicate::UCharPredicate):
6006         (WTF::UCharPredicate::operator()):
6007         (SpaceOrNewlinePredicate):
6008         (WTF::SpaceOrNewlinePredicate::operator()):
6009         (WTF::StringImpl::stripWhiteSpace):
6010         (WTF::StringImpl::removeCharacters):
6011         (WTF::StringImpl::simplifyMatchedCharactersToSpace):
6012         (WTF::StringImpl::simplifyWhiteSpace):
6013         (WTF::StringImpl::toIntStrict):
6014         (WTF::StringImpl::toUIntStrict):
6015         (WTF::StringImpl::toInt64Strict):
6016         (WTF::StringImpl::toUInt64Strict):
6017         (WTF::StringImpl::toIntPtrStrict):
6018         (WTF::StringImpl::toInt):
6019         (WTF::StringImpl::toUInt):
6020         (WTF::StringImpl::toInt64):
6021         (WTF::StringImpl::toUInt64):
6022         (WTF::StringImpl::toIntPtr):
6023         (WTF::StringImpl::toDouble):
6024         (WTF::StringImpl::toFloat):
6025         (WTF::equalIgnoringCase):
6026         (WTF::StringImpl::find):
6027         (WTF::StringImpl::findIgnoringCase):
6028         (WTF::findInner):
6029         (WTF::StringImpl::reverseFind):
6030         (WTF::reverseFindInner):
6031         (WTF::StringImpl::reverseFindIgnoringCase):
6032         (WTF::StringImpl::endsWith):
6033         (WTF::StringImpl::replace):
6034         (WTF::equal):
6035         (WTF::equalIgnoringNullity):
6036         (WTF::StringImpl::defaultWritingDirection):
6037         (WTF::StringImpl::adopt):
6038         (WTF::StringImpl::createWithTerminatingNullCharacter):
6039         * wtf/text/StringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.h.
6040         (JSC):
6041         (WTF):
6042         (StringImpl):
6043         (WTF::StringImpl::StringImpl):
6044         (WTF::StringImpl::create):
6045         (WTF::StringImpl::create8):
6046         (WTF::StringImpl::tryCreateUninitialized):
6047         (WTF::StringImpl::flagsOffset):
6048         (WTF::StringImpl::flagIs8Bit):
6049         (WTF::StringImpl::dataOffset):
6050         (WTF::StringImpl::adopt):
6051         (WTF::StringImpl::length):
6052         (WTF::StringImpl::is8Bit):
6053         (WTF::StringImpl::characters8):
6054         (WTF::StringImpl::characters16):
6055         (WTF::StringImpl::characters):
6056         (WTF::StringImpl::cost):
6057         (WTF::StringImpl::has16BitShadow):
6058         (WTF::StringImpl::isIdentifier):
6059         (WTF::StringImpl::setIsIdentifier):
6060         (WTF::StringImpl::hasTerminatingNullCharacter):
6061         (WTF::StringImpl::isAtomic):
6062         (WTF::StringImpl::setIsAtomic):
6063         (WTF::StringImpl::setHash):
6064         (WTF::StringImpl::rawHash):
6065         (WTF::StringImpl::hasHash):
6066         (WTF::StringImpl::existingHash):
6067         (WTF::StringImpl::hash):
6068         (WTF::StringImpl::hasOneRef):
6069         (WTF::StringImpl::ref):
6070         (WTF::StringImpl::deref):
6071         (WTF::StringImpl::copyChars):
6072         (WTF::StringImpl::operator[]):
6073         (WTF::StringImpl::find):
6074         (WTF::StringImpl::findIgnoringCase):
6075         (WTF::StringImpl::startsWith):
6076         (WTF::StringImpl::bufferOwnership):
6077         (WTF::StringImpl::isStatic):
6078         (WTF::LChar):
6079         (WTF::UChar):
6080         (WTF::equal):
6081         (WTF::equalIgnoringCase):
6082         (WTF::equalIgnoringNullity):
6083         (WTF::codePointCompare):
6084         (WTF::codePointCompare8):
6085         (WTF::codePointCompare16):
6086         (WTF::codePointCompare8To16):
6087         (WTF::isSpaceOrNewline):
6088         (WTF::StringImpl::isolatedCopy):
6089         * wtf/text/StringOperators.h: Renamed from Source/JavaScriptCore/wtf/text/StringOperators.h.
6090         (WTF):
6091         (StringAppend):
6092         (WTF::StringAppend::StringAppend):
6093         (WTF::StringAppend::operator String):
6094         (WTF::StringAppend::operator AtomicString):
6095         (WTF::StringAppend::is8Bit):
6096         (WTF::StringAppend::writeTo):
6097         (WTF::StringAppend::length):
6098         (WTF::operator+):
6099         * wtf/text/StringStatics.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringStatics.cpp.
6100         (WTF):
6101         (WTF::StringImpl::empty):
6102         (WTF::StringImpl::hashSlowCase):
6103         (WTF::AtomicString::init):
6104         * wtf/text/TextPosition.h: Renamed from Source/JavaScriptCore/wtf/text/TextPosition.h.
6105         (WTF):
6106         (OrdinalNumber):
6107         (WTF::OrdinalNumber::fromZeroBasedInt):
6108         (WTF::OrdinalNumber::fromOneBasedInt):
6109         (WTF::OrdinalNumber::OrdinalNumber):
6110         (WTF::OrdinalNumber::zeroBasedInt):
6111         (WTF::OrdinalNumber::oneBasedInt):
6112         (WTF::OrdinalNumber::operator==):
6113         (WTF::OrdinalNumber::operator!=):
6114         (WTF::OrdinalNumber::first):
6115         (WTF::OrdinalNumber::beforeFirst):
6116         (TextPosition):
6117         (WTF::TextPosition::TextPosition):
6118         (WTF::TextPosition::operator==):
6119         (WTF::TextPosition::operator!=):
6120         (WTF::TextPosition::minimumPosition):
6121         (WTF::TextPosition::belowRangePosition):
6122         * wtf/text/WTFString.cpp: Renamed from Source/JavaScriptCore/wtf/text/WTFString.cpp.
6123         (WTF):
6124         (WTF::String::String):
6125         (WTF::String::append):
6126         (WTF::codePointCompare):
6127         (WTF::String::insert):
6128         (WTF::String::characterStartingAt):
6129         (WTF::String::truncate):
6130         (WTF::String::remove):
6131         (WTF::String::substring):
6132         (WTF::String::substringSharingImpl):
6133         (WTF::String::lower):
6134         (WTF::String::upper):
6135         (WTF::String::stripWhiteSpace):
6136         (WTF::String::simplifyWhiteSpace):
6137         (WTF::String::removeCharacters):
6138         (WTF::String::foldCase):
6139         (WTF::String::percentage):
6140         (WTF::String::charactersWithNullTermination):
6141         (WTF::String::format):
6142         (WTF::String::number):
6143         (WTF::String::toIntStrict):
6144         (WTF::String::toUIntStrict):
6145         (WTF::String::toInt64Strict):
6146         (WTF::String::toUInt64Strict):
6147         (WTF::String::toIntPtrStrict):
6148         (WTF::String::toInt):
6149         (WTF::String::toUInt):
6150         (WTF::String::toInt64):
6151         (WTF::String::toUInt64):
6152         (WTF::String::toIntPtr):
6153         (WTF::String::toDouble):
6154         (WTF::String::toFloat):
6155         (WTF::String::isolatedCopy):
6156         (WTF::String::split):
6157         (WTF::String::ascii):
6158         (WTF::String::latin1):
6159         (WTF::putUTF8Triple):
6160         (WTF::String::utf8):
6161         (WTF::String::fromUTF8):
6162         (WTF::String::fromUTF8WithLatin1Fallback):
6163         (WTF::isCharacterAllowedInBase):
6164         (WTF::toIntegralType):
6165         (WTF::lengthOfCharactersAsInteger):
6166         (WTF::charactersToIntStrict):
6167         (WTF::charactersToUIntStrict):
6168         (WTF::charactersToInt64Strict):
6169         (WTF::charactersToUInt64Strict):
6170         (WTF::charactersToIntPtrStrict):
6171         (WTF::charactersToInt):
6172         (WTF::charactersToUInt):
6173         (WTF::charactersToInt64):
6174         (WTF::charactersToUInt64):
6175         (WTF::charactersToIntPtr):
6176         (WTF::toDoubleType):
6177         (WTF::charactersToDouble):
6178         (WTF::charactersToFloat):
6179         (WTF::charactersToFloatIgnoringJunk):
6180         (WTF::emptyString):
6181         (String::show):
6182         (string):
6183         (asciiDebug):
6184         * wtf/text/WTFString.h: Renamed from Source/JavaScriptCore/wtf/text/WTFString.h.
6185         (WebKit):
6186         (WTF):
6187         (String):
6188         (WTF::String::String):
6189         (WTF::String::~String):
6190         (WTF::String::swap):
6191         (WTF::String::adopt):
6192         (WTF::String::isNull):
6193         (WTF::String::isEmpty):
6194         (WTF::String::impl):
6195         (WTF::String::length):
6196         (WTF::String::characters):
6197         (WTF::String::characters8):
6198         (WTF::String::characters16):
6199         (WTF::String::is8Bit):
6200         (WTF::String::operator[]):
6201         (WTF::String::find):
6202         (WTF::String::reverseFind):
6203         (WTF::String::findIgnoringCase):
6204         (WTF::String::reverseFindIgnoringCase):
6205         (WTF::String::contains):
6206         (WTF::String::startsWith):
6207         (WTF::String::endsWith):
6208         (WTF::String::append):
6209         (WTF::String::replace):
6210         (WTF::String::makeLower):
6211         (WTF::String::makeUpper):
6212         (WTF::String::fill):
6213         (WTF::String::left):
6214         (WTF::String::right):
6215         (WTF::String::createUninitialized):
6216         (WTF::String::operator NSString*):
6217         (WTF::String::fromUTF8):
6218         (WTF::String::fromUTF8WithLatin1Fallback):
6219         (WTF::String::defaultWritingDirection):
6220         (WTF::String::containsOnlyWhitespace):
6221         (WTF::String::isHashTableDeletedValue):
6222         (WTF::operator+=):
6223         (WTF::operator==):
6224         (WTF::operator!=):
6225         (WTF::equalIgnoringCase):
6226         (WTF::equalPossiblyIgnoringCase):
6227         (WTF::equalIgnoringNullity):
6228         (WTF::operator!):
6229         (WTF::swap):
6230         (WTF::LChar):
6231         (WTF::UChar):
6232         (WTF::String::containsOnlyLatin1):
6233         (WTF::nsStringNilIfEmpty):
6234         (WTF::String::containsOnlyASCII):
6235         (WTF::codePointCompareLessThan):
6236         (WTF::find):
6237         (WTF::reverseFind):
6238         (WTF::append):
6239         (WTF::appendNumber):
6240         (WTF::isAllSpecialCharacters):
6241         (WTF::String::isAllSpecialCharacters):
6242         * wtf/threads/BinarySemaphore.cpp: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.cpp.
6243         (WTF):
6244         (WTF::BinarySemaphore::BinarySemaphore):
6245         (WTF::BinarySemaphore::~BinarySemaphore):
6246         (WTF::BinarySemaphore::signal):
6247         (WTF::BinarySemaphore::wait):
6248         * wtf/threads/BinarySemaphore.h: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.h.
6249         (WTF):
6250         (BinarySemaphore):
6251         (WTF::BinarySemaphore::event):
6252         * wtf/threads/win/BinarySemaphoreWin.cpp: Renamed from Source/JavaScriptCore/wtf/threads/win/BinarySemaphoreWin.cpp.
6253         (WTF):
6254         (WTF::BinarySemaphore::BinarySemaphore):
6255         (WTF::BinarySemaphore::~BinarySemaphore):
6256         (WTF::BinarySemaphore::signal):
6257         (WTF::BinarySemaphore::wait):
6258         * wtf/unicode/CharacterNames.h: Renamed from Source/JavaScriptCore/wtf/unicode/CharacterNames.h.
6259         (Unicode):
6260         * wtf/unicode/Collator.h: Renamed from Source/JavaScriptCore/wtf/unicode/Collator.h.
6261         (WTF):
6262         (Collator):
6263         * wtf/unicode/CollatorDefault.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/CollatorDefault.cpp.
6264         (WTF):
6265         (WTF::Collator::Collator):
6266         (WTF::Collator::~Collator):
6267         (WTF::Collator::setOrderLowerFirst):
6268         (WTF::Collator::userDefault):
6269         (WTF::Collator::collate):
6270         * wtf/unicode/ScriptCodesFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/ScriptCodesFromICU.h.
6271         * wtf/unicode/UTF8.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.cpp.
6272         (Unicode):
6273         (WTF::Unicode::inlineUTF8SequenceLengthNonASCII):
6274         (WTF::Unicode::inlineUTF8SequenceLength):
6275         (WTF::Unicode::UTF8SequenceLength):
6276         (WTF::Unicode::decodeUTF8Sequence):
6277         (WTF::Unicode::convertLatin1ToUTF8):
6278         (WTF::Unicode::convertUTF16ToUTF8):
6279         (WTF::Unicode::isLegalUTF8):
6280         (WTF::Unicode::readUTF8Sequence):
6281         (WTF::Unicode::convertUTF8ToUTF16):
6282         (WTF::Unicode::calculateStringHashAndLengthFromUTF8):
6283         (WTF::Unicode::equalUTF16WithUTF8):
6284         * wtf/unicode/UTF8.h: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.h.
6285         (Unicode):
6286         * wtf/unicode/Unicode.h: Renamed from Source/JavaScriptCore/wtf/unicode/Unicode.h.
6287         * wtf/unicode/UnicodeMacrosFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/UnicodeMacrosFromICU.h.
6288         * wtf/unicode/glib/UnicodeGLib.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp.
6289         (Unicode):
6290         (WTF::Unicode::foldCase):
6291         (WTF::Unicode::getUTF16LengthFromUTF8):
6292         (WTF::Unicode::convertCase):
6293         (WTF::Unicode::toLower):
6294         (WTF::Unicode::toUpper):
6295         (WTF::Unicode::direction):
6296         (WTF::Unicode::umemcasecmp):
6297         * wtf/unicode/glib/UnicodeGLib.h: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h.
6298         (Unicode):
6299         (WTF::Unicode::toLower):
6300         (WTF::Unicode::toUpper):
6301         (WTF::Unicode::toTitleCase):
6302         (WTF::Unicode::isArabicChar):
6303         (WTF::Unicode::isAlphanumeric):
6304         (WTF::Unicode::isFormatChar):
6305         (WTF::Unicode::isSeparatorSpace):
6306         (WTF::Unicode::isPrintableChar):
6307         (WTF::Unicode::isDigit):
6308         (WTF::Unicode::isPunct):
6309         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6310         (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
6311         (WTF::Unicode::mirroredChar):
6312         (WTF::Unicode::category):
6313         (WTF::Unicode::isLower):
6314         (WTF::Unicode::digitValue):
6315         (WTF::Unicode::combiningClass):
6316         (WTF::Unicode::decompositionType):
6317         * wtf/unicode/icu/CollatorICU.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp.
6318         (WTF):
6319         (WTF::cachedCollatorMutex):
6320         (WTF::Collator::Collator):
6321         (WTF::Collator::userDefault):
6322         (WTF::Collator::~Collator):
6323         (WTF::Collator::setOrderLowerFirst):
6324         (WTF::Collator::collate):
6325         (WTF::Collator::createCollator):
6326         (WTF::Collator::releaseCollator):
6327         * wtf/unicode/icu/UnicodeIcu.h: Renamed from Source/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h.
6328         (Unicode):
6329         (WTF::Unicode::foldCase):
6330         (WTF::Unicode::toLower):
6331         (WTF::Unicode::toUpper):
6332         (WTF::Unicode::toTitleCase):
6333         (WTF::Unicode::isArabicChar):
6334         (WTF::Unicode::isAlphanumeric):
6335         (WTF::Unicode::isSeparatorSpace):
6336         (WTF::Unicode::isPrintableChar):
6337         (WTF::Unicode::isPunct):
6338         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6339         (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
6340         (WTF::Unicode::mirroredChar):
6341         (WTF::Unicode::category):
6342         (WTF::Unicode::direction):
6343         (WTF::Unicode::isLower):
6344         (WTF::Unicode::combiningClass):
6345         (WTF::Unicode::decompositionType):
6346         (WTF::Unicode::umemcasecmp):
6347         * wtf/unicode/qt4/UnicodeQt4.h: Renamed from Source/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h.
6348         (Properties):
6349         (QUnicodeTables):
6350         (Unicode):
6351         (WTF::Unicode::toLower):
6352         (WTF::Unicode::toUpper):
6353         (WTF::Unicode::toTitleCase):
6354         (WTF::Unicode::foldCase):
6355         (WTF::Unicode::isArabicChar):
6356         (WTF::Unicode::isPrintableChar):
6357         (WTF::Unicode::isSeparatorSpace):
6358         (WTF::Unicode::isPunct):
6359         (WTF::Unicode::isLower):
6360         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6361         (WTF::Unicode::mirroredChar):
6362         (WTF::Unicode::combiningClass):
6363         (WTF::Unicode::decompositionType):
6364         (WTF::Unicode::umemcasecmp):
6365         (WTF::Unicode::direction):
6366         (WTF::Unicode::category):
6367         * wtf/unicode/wince/UnicodeWinCE.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.cpp.
6368         (Unicode):
6369         (WTF::Unicode::toLower):
6370         (WTF::Unicode::toUpper):
6371         (WTF::Unicode::foldCase):
6372         (WTF::Unicode::isPrintableChar):
6373         (WTF::Unicode::isSpace):
6374         (WTF::Unicode::isLetter):
6375         (WTF::Unicode::isUpper):
6376         (WTF::Unicode::isLower):
6377         (WTF::Unicode::isDigit):
6378         (WTF::Unicode::isPunct):
6379         (WTF::Unicode::isAlphanumeric):
6380         (WTF::Unicode::toTitleCase):
6381         (WTF::Unicode::direction):
6382         (WTF::Unicode::category):
6383         (WTF::Unicode::decompositionType):
6384         (WTF::Unicode::combiningClass):
6385         (WTF::Unicode::mirroredChar):
6386         (WTF::Unicode::digitValue):
6387         * wtf/unicode/wince/UnicodeWinCE.h: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.h.
6388         (Unicode):
6389         (WTF::Unicode::isSeparatorSpace):
6390         (WTF::Unicode::isHighSurrogate):
6391         (WTF::Unicode::isLowSurrogate):
6392         (WTF::Unicode::isArabicChar):
6393         (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6394         (WTF::Unicode::umemcasecmp):
6395         (WTF::Unicode::surrogateToUcs4):
6396         * wtf/url/api/ParsedURL.cpp: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.cpp.
6397         (WTF):
6398         (WTF::ParsedURL::ParsedURL):
6399         (WTF::ParsedURL::isolatedCopy):
6400         (WTF::ParsedURL::scheme):
6401         (WTF::ParsedURL::username):
6402         (WTF::ParsedURL::password):
6403         (WTF::ParsedURL::host):
6404         (WTF::ParsedURL::port):
6405         (WTF::ParsedURL::path):
6406         (WTF::ParsedURL::query):
6407         (WTF::ParsedURL::fragment):
6408         (WTF::ParsedURL::baseAsString):
6409         (WTF::ParsedURL::segment):
6410         * wtf/url/api/ParsedURL.h: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.h.
6411         (WTF):
6412         (ParsedURL):
6413         (WTF::ParsedURL::ParsedURL):
6414         (WTF::ParsedURL::isValid):
6415         (WTF::ParsedURL::spec):
6416         * wtf/url/api/URLString.h: Renamed from Source/JavaScriptCore/wtf/url/api/URLString.h.
6417         (WTF):
6418         (URLString):
6419         (WTF::URLString::URLString):
6420         (WTF::URLString::string):
6421         * wtf/url/src/RawURLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/RawURLBuffer.h.
6422         (WTF):
6423         (RawURLBuffer):
6424         (WTF::RawURLBuffer::RawURLBuffer):
6425         (WTF::RawURLBuffer::~RawURLBuffer):
6426         (WTF::RawURLBuffer::resize):
6427         * wtf/url/src/URLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLBuffer.h.
6428         (WTF):
6429         (URLBuffer):
6430         (WTF::URLBuffer::URLBuffer):
6431         (WTF::URLBuffer::~URLBuffer):
6432         (WTF::URLBuffer::at):
6433         (WTF::URLBuffer::set):
6434         (WTF::URLBuffer::capacity):
6435         (WTF::URLBuffer::length):
6436         (WTF::URLBuffer::data):
6437         (WTF::URLBuffer::setLength):
6438         (WTF::URLBuffer::append):
6439         (WTF::URLBuffer::grow):
6440         * wtf/url/src/URLCharacterTypes.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.cpp.
6441         (WTF):
6442         * wtf/url/src/URLCharacterTypes.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.h.
6443         (WTF):
6444         (URLCharacterTypes):
6445         (WTF::URLCharacterTypes::isQueryChar):
6446         (WTF::URLCharacterTypes::isIPv4Char):
6447         (WTF::URLCharacterTypes::isHexChar):
6448         (WTF::URLCharacterTypes::isCharOfType):
6449         * wtf/url/src/URLComponent.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLComponent.h.
6450         (WTF):
6451         (URLComponent):
6452         (WTF::URLComponent::URLComponent):
6453         (WTF::URLComponent::fromRange):
6454         (WTF::URLComponent::isValid):
6455         (WTF::URLComponent::isNonEmpty):
6456         (WTF::URLComponent::isEmptyOrInvalid):
6457         (WTF::URLComponent::reset):
6458         (WTF::URLComponent::operator==):
6459         (WTF::URLComponent::begin):
6460         (WTF::URLComponent::setBegin):
6461         (WTF::URLComponent::length):
6462         (WTF::URLComponent::setLength):
6463         (WTF::URLComponent::end):
6464         * wtf/url/src/URLEscape.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.cpp.
6465         (WTF):
6466         * wtf/url/src/URLEscape.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.h.
6467         (WTF):
6468         (WTF::appendURLEscapedCharacter):
6469         * wtf/url/src/URLParser.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLParser.h.
6470         (WTF):
6471         (URLParser):
6472         (WTF::URLParser::isPossibleAuthorityTerminator):
6473         (WTF::URLParser::parseAuthority):
6474         (WTF::URLParser::extractScheme):
6475         (WTF::URLParser::parseAfterScheme):
6476         (WTF::URLParser::parseStandardURL):
6477         (WTF::URLParser::parsePath):
6478         (WTF::URLParser::parsePathURL):
6479         (WTF::URLParser::parseMailtoURL):
6480         (WTF::URLParser::parsePort):
6481         (WTF::URLParser::extractFileName):
6482         (WTF::URLParser::extractQueryKeyValue):
6483         (WTF::URLParser::isURLSlash):
6484         (WTF::URLParser::shouldTrimFromURL):
6485         (WTF::URLParser::trimURL):
6486         (WTF::URLParser::consecutiveSlashes):
6487         (WTF::URLParser::isPortDigit):
6488         (WTF::URLParser::nextAuthorityTerminator):
6489         (WTF::URLParser::parseUserInfo):
6490         (WTF::URLParser::parseServerInfo):
6491         * wtf/url/src/URLQueryCanonicalizer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLQueryCanonicalizer.h.
6492         (WTF):
6493         (URLQueryCanonicalizer):
6494         (WTF::URLQueryCanonicalizer::canonicalize):
6495         (WTF::URLQueryCanonicalizer::isAllASCII):
6496         (WTF::URLQueryCanonicalizer::isRaw8Bit):
6497         (WTF::URLQueryCanonicalizer::appendRaw8BitQueryString):
6498         (WTF::URLQueryCanonicalizer::convertToQueryEncoding):
6499         * wtf/url/src/URLSegments.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.cpp.
6500         (WTF):
6501         (WTF::URLSegments::length):
6502         (WTF::URLSegments::charactersBefore):
6503         * wtf/url/src/URLSegments.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.h.
6504         (WTF):
6505         (URLSegments):
6506         (WTF::URLSegments::URLSegments):
6507         * wtf/win/MainThreadWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/MainThreadWin.cpp.
6508         (WTF):
6509         (WTF::ThreadingWindowWndProc):
6510         (WTF::initializeMainThreadPlatform):
6511         (WTF::scheduleDispatchFunctionsOnMainThread):
6512         * wtf/win/OwnPtrWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/OwnPtrWin.cpp.
6513         (WTF):
6514         (WTF::deleteOwnedPtr):
6515         * wtf/wince/FastMallocWinCE.h: Renamed from Source/JavaScriptCore/wtf/wince/FastMallocWinCE.h.
6516         (operator new):
6517         (operator delete):
6518         (operator new[]):
6519         (operator delete[]):
6520         (throw):
6521         (WTF):
6522         (Internal):
6523         (WTF::Internal::fastMallocMatchValidationType):
6524         (WTF::Internal::fastMallocMatchValidationValue):
6525         (WTF::Internal::setFastMallocMatchValidationType):
6526         (WTF::fastMallocMatchValidateMalloc):
6527         (WTF::fastMallocMatchValidateFree):
6528         * wtf/wince/MemoryManager.cpp: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.cpp.
6529         (WTF):
6530         (WTF::memoryManager):
6531         (WTF::MemoryManager::MemoryManager):
6532         (WTF::MemoryManager::~MemoryManager):
6533         (WTF::MemoryManager::createCompatibleBitmap):
6534         (WTF::MemoryManager::createDIBSection):
6535         (WTF::MemoryManager::m_malloc):
6536         (WTF::MemoryManager::m_calloc):
6537         (WTF::MemoryManager::m_realloc):
6538         (WTF::MemoryManager::m_free):
6539         (WTF::MemoryManager::resizeMemory):
6540         (WTF::MemoryManager::allocate64kBlock):
6541         (WTF::MemoryManager::free64kBlock):
6542         (WTF::MemoryManager::onIdle):
6543         (WTF::MemoryManager::virtualAlloc):
6544         (WTF::MemoryManager::virtualFree):
6545         (WTF::fastMalloc):
6546         (WTF::fastCalloc):
6547         (WTF::fastFree):
6548         (WTF::fastRealloc):
6549         (WTF::fastMallocForbid):
6550         (WTF::fastMallocAllow):
6551         (WTF::fastZeroedMalloc):
6552         (WTF::tryFastMalloc):
6553         (WTF::tryFastZeroedMalloc):
6554         (WTF::tryFastCalloc):
6555         (WTF::tryFastRealloc):
6556         (WTF::fastStrDup):
6557         * wtf/wince/MemoryManager.h: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.h.
6558         (WTF):
6559         (MemoryManager):
6560         (WTF::MemoryManager::allocationCanFail):
6561         (WTF::MemoryManager::setAllocationCanFail):
6562         (MemoryAllocationCanFail):
6563         (WTF::MemoryAllocationCanFail::MemoryAllocationCanFail):
6564         (WTF::MemoryAllocationCanFail::~MemoryAllocationCanFail):
6565         (MemoryAllocationCannotFail):
6566         (WTF::MemoryAllocationCannotFail::MemoryAllocationCannotFail):
6567         (WTF::MemoryAllocationCannotFail::~MemoryAllocationCannotFail):
6568         * wtf/wx/MainThreadWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/MainThreadWx.cpp.
6569         (wxCallAfter):
6570         (wxCallAfter::wxCallAfter):
6571         (wxCallAfter::OnCallback):
6572         (WTF):
6573         (WTF::initializeMainThreadPlatform):
6574         (WTF::scheduleDispatchFunctionsOnMainThread):
6575         * wtf/wx/StringWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/StringWx.cpp.
6576         (WTF):
6577         (WTF::String::String):
6578         (WTF::String::operator wxString):
6579
6580 2012-03-22  Hyowon Kim  <hw1008.kim@samsung.com>
6581
6582         [EFL] Add PageClientEfl to WebCoreSupport.
6583         https://bugs.webkit.org/show_bug.cgi?id=80748
6584
6585         Reviewed by Noam Rosenthal.
6586
6587         * wtf/Platform.h: Disable accelerated compositing. It's not ready yet.
6588
6589 2012-03-21  Beth Dakin  <bdakin@apple.com>
6590
6591         https://bugs.webkit.org/show_bug.cgi?id=80322
6592         Implement image-set
6593
6594         Reviewed by Dean Jackson.
6595
6596         For the time being, image-set is opt-in since the implementation is 
6597         incomplete. 
6598
6599         Add an ENABLE flag for image-set.
6600         * wtf/Platform.h:
6601
6602 2012-03-21  Jessie Berlin  <jberlin@apple.com>
6603
6604         Fix the Windows build after r111504.
6605
6606         * WTF.vcproj/WTF.vcproj:
6607         Platform.h was moved to Source/WTF.
6608         * WTF.vcproj/copy-files.cmd:
6609         Copy Platform.h from its new source location. This separate copy will not be necessary once
6610         the full move is done and all the headers are being copied at once from the new locations.
6611
6612 2012-03-21  Jessie Berlin  <jberlin@apple.com>
6613
6614         WTF headers should be in $(ConfigurationBuildDir)\include\private\wtf, not
6615         $(ConfigurationBuildDir)\include\private\JavaScriptCore\wtf.
6616         https://bugs.webkit.org/show_bug.cgi?id=81739
6617
6618         Reviewed by Dan Bernstein.
6619
6620         * WTF.vcproj/copy-files.cmd:
6621         Copy the headers to private/include/wtf instead of private/include/JavaScriptCore/wtf.
6622
6623 2012-03-20  Eric Seidel  <eric@webkit.org>
6624
6625         Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
6626         https://bugs.webkit.org/show_bug.cgi?id=80911
6627
6628         Reviewed by Adam Barth.
6629
6630         Update build systems to account for the new location of Platform.h
6631
6632         * GNUmakefile.list.am:
6633         * WTF.gypi:
6634         * WTF.pro:
6635         * WTF.vcproj/WTF.vcproj:
6636         * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py:
6637         (react_to_vsprops_changes):
6638         * WTF.xcodeproj/project.pbxproj:
6639         * config.h: I don't think this change is 100% correct (but seemed to be needed to make qt-wk2 build)
6640          - This dependency on JSC should be removed regardless (in a later patch).
6641         * wtf/Platform.h: Renamed from Source/JavaScriptCore/wtf/Platform.h.
6642
6643 2012-03-20  Steve Falkenburg  <sfalken@apple.com>
6644
6645         Move WTF-related Windows project files out of JavaScriptCore
6646         https://bugs.webkit.org/show_bug.cgi?id=80680
6647         
6648         This change only moves the vcproj and related files from JavaScriptCore/JavaScriptCore.vcproj/WTF.
6649         It does not move any source code. This is in preparation for the WTF source move out of
6650         JavaScriptCore.
6651
6652         Reviewed by Jessie Berlin.
6653
6654         * WTF.vcproj: Added.
6655         * WTF.vcproj/WTF.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj.
6656         * WTF.vcproj/WTFCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFCommon.vsprops.
6657         * WTF.vcproj/WTFDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebug.vsprops.
6658         * WTF.vcproj/WTFDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugAll.vsprops.
6659         * WTF.vcproj/WTFDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugCairoCFLite.vsprops.
6660         * WTF.vcproj/WTFGenerated.make: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.make.
6661         * WTF.vcproj/WTFGenerated.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.vcproj.
6662         * WTF.vcproj/WTFGeneratedCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedCommon.vsprops.
6663         * WTF.vcproj/WTFGeneratedDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebug.vsprops.
6664         * WTF.vcproj/WTFGeneratedDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugAll.vsprops.
6665         * WTF.vcproj/WTFGeneratedDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugCairoCFLite.vsprops.
6666         * WTF.vcproj/WTFGeneratedProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedProduction.vsprops.
6667         * WTF.vcproj/WTFGeneratedRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedRelease.vsprops.
6668         * WTF.vcproj/WTFGeneratedReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedReleaseCairoCFLite.vsprops.
6669         * WTF.vcproj/WTFPostBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd.
6670         * WTF.vcproj/WTFPreBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd.
6671         * WTF.vcproj/WTFProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFProduction.vsprops.
6672         * WTF.vcproj/WTFRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFRelease.vsprops.
6673         * WTF.vcproj/WTFReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops.
6674         * WTF.vcproj/build-generated-files.sh: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/build-generated-files.sh.
6675         * WTF.vcproj/copy-files.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/copy-files.cmd.
6676         * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/work-around-vs-dependency-tracking-bugs.py.
6677
6678 2012-03-20  Peter Beverloo  <peter@chromium.org>
6679
6680         [Chromium] Fix the Android build by building NEWWTF for host
6681         https://bugs.webkit.org/show_bug.cgi?id=81643
6682
6683         Reviewed by Tony Gentilcore.
6684
6685         Chromium for Android builds the ImageDiff target for the host architecture,
6686         so all dependencies it has need to be able to build for host as well.
6687         r111258 added (new)WTF as a dependency instead of just including the
6688         header files, so make it possible to build the newwtf target for host.
6689
6690         * WTF.gyp/WTF.gyp:
6691
6692 2012-03-19  Dan Bernstein  <mitz@apple.com>
6693
6694         Set the svn:ignore property on the Xcode project.
6695
6696         * WTF.xcodeproj: Added property svn:ignore.
6697
6698 2012-03-16  Mark Rowe  <mrowe@apple.com>
6699
6700         Build fix. Do not preserve owner and group information when installing the WTF headers.
6701
6702         * WTF.xcodeproj/project.pbxproj:
6703
6704 2012-03-07  Mark Rowe  <mrowe@apple.com>
6705
6706         Teach make to build WTF.
6707
6708         * Makefile: Added.
6709
6710 2012-02-11  Filip Pizlo  <fpizlo@apple.com>
6711
6712         It should be possible to send all JSC debug logging to a file
6713         https://bugs.webkit.org/show_bug.cgi?id=78418
6714
6715         Reviewed by Sam Weinig.
6716         
6717         Introduced wtf/DataLog, which defines WTF::dataFile, WTF::dataLog,
6718         and WTF::dataLogV. Changed all debugging- and profiling-related printfs
6719         to use WTF::dataLog() or one of its friends. By default, debug logging
6720         goes to stderr, unless you change the setting in wtf/DataLog.cpp.
6721
6722         * WTF.pro:
6723
6724 2012-02-03  Simon Hausmann  <simon.hausmann@nokia.com>
6725
6726         [Qt] Fix build when cross-compiling
6727         https://bugs.webkit.org/show_bug.cgi?id=77634
6728
6729         Reviewed by Tor Arne Vestbø.
6730
6731         * WTF.pri: Don't use icu-config for determining the library search
6732         path and libraries needed for ICU. Either we use icu-config for includes
6733         _and_ libraries or we don't. Right now we assume that icu is a system library
6734         and expect the headers in the default include search pathes (/usr/include for example).
6735         However we use icu-config to figure out where the libraries are, which breaks when
6736         cross-compiling, because icu-config isn't cross-compile friendly (I wish icu was using
6737         pkg-config). I think for the time being we should require ICU as a _system_ library,
6738         which implies the header and library availability in default search paths. This also
6739         makes the build succeed when cross-compiling with --sysroot.
6740
6741 2012-01-27  Zeno Albisser  <zeno@webkit.org>
6742
6743         [Qt][Mac] Build fails after adding ICU support (r105997).
6744         https://bugs.webkit.org/show_bug.cgi?id=77118
6745
6746         Link to libicucore if platform Mac.
6747
6748         Reviewed by Tor Arne Vestbø.
6749
6750         * WTF.pri:
6751
6752 2012-01-26  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
6753
6754         [Qt] Use ICU if available
6755         https://bugs.webkit.org/show_bug.cgi?id=76821
6756
6757         Reviewed by Simon Hausmann.
6758
6759         Adding libicu dependencies for a Qt5 based build.
6760
6761         * WTF.pri:
6762
6763 2012-01-26  Csaba Osztrogonác  <ossy@webkit.org>
6764
6765         [Qt][Win] One more speculative buildfix after r105970.
6766
6767         * WTF.pri:
6768
6769 2012-01-26  Nikolas Zimmermann  <nzimmermann@rim.com>
6770
6771         Not reviewed. Try to fix Qt/Win build by building OwnPtrWin.cpp into the WTF library.
6772
6773         * WTF.pro:
6774
6775 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
6776
6777         Enable use of precompiled headers in Chromium port on Windows.
6778
6779         Bug 76381 - Use precompiled headers in Chromium port on Windows
6780         https://bugs.webkit.org/show_bug.cgi?id=76381
6781
6782         Reviewed by Tony Chang.
6783
6784         * WTF.gyp/WTF.gyp: Include WinPrecompile.gypi.
6785
6786 2012-01-18  Roland Takacs  <takacs.roland@stud.u-szeged.hu>
6787
6788         Cross-platform processor core counter
6789         https://bugs.webkit.org/show_bug.cgi?id=76530
6790
6791         Reviewed by Zoltan Herczeg.
6792
6793         Two files have been added to the project, namely NumberOfCores.h/cpp,
6794         that include a CPU core number determining function.
6795
6796         * WTF.pro:
6797
6798 2012-01-17  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
6799
6800         Uint8ClampedArray support
6801         https://bugs.webkit.org/show_bug.cgi?id=74455
6802
6803         Reviewed by Filip Pizlo.
6804
6805         * WTF.pro:
6806
6807 2012-01-13  Alexis Menard  <alexis.menard@openbossa.org>
6808
6809         Unreviewed build fix for Qt SnowLeopard build bot.
6810
6811         This is a workaround for the moment.
6812
6813         * wtf/Platform.h:
6814
6815 2012-01-12  Simon Hausmann  <simon.hausmann@nokia.com>
6816
6817         Make the new WTF module build on Qt
6818         https://bugs.webkit.org/show_bug.cgi?id=76163
6819
6820         Reviewed by Tor Arne Vestbø.
6821
6822         With this change the WTF sources are built _here_ but _from_ their old location using a VPATH.
6823
6824         * WTF.pri: Renamed from Source/JavaScriptCore/wtf/wtf.pri.
6825         * WTF.pro: Renamed from Source/JavaScriptCore/wtf/wtf.pro.
6826         * config.h: Bring this file in sync with JavaScriptCore/config.h with regards to the inclusion
6827         / definition of the export macros.
6828
6829 2012-01-06  Benjamin Poulain  <bpoulain@apple.com>
6830
6831         [Mac] Sort the resources of WTF.xcodeproj
6832         https://bugs.webkit.org/show_bug.cgi?id=75639
6833
6834         Reviewed by Andreas Kling.
6835
6836         * WTF.xcodeproj/project.pbxproj:
6837
6838 2012-01-06  Eric Seidel  <eric@webkit.org> and Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
6839
6840         Make the new WTF module build on Gtk
6841         https://bugs.webkit.org/show_bug.cgi?id=75669
6842
6843         * GNUmakefile.am: Added.
6844         * GNUmakefile.list.am: Added.
6845
6846 2011-11-19  Adam Barth  <abarth@webkit.org>
6847
6848         Integrate Source/WTF with the Chromium build system
6849         https://bugs.webkit.org/show_bug.cgi?id=72790
6850
6851         Reviewed by Eric Seidel.
6852
6853         Rename the target in this file to "newwtf" to avoid naming conflicts.
6854
6855         * WTF.gyp/WTF.gyp:
6856
6857 2011-11-19  Mark Rowe  <mrowe@apple.com>
6858
6859         WTF should have an Xcode project
6860         https://bugs.webkit.org/show_bug.cgi?id=71752
6861
6862         Reviewed by Adam Barth.
6863
6864         This adds an Xcode project that includes only Stub.cpp and Stub.h.
6865         They’re built in to a library at the appropriate path for each
6866         configuration (WebKitBuild/{Debug,Release}/libWTF.a and
6867         /usr/local/lib/libWTF.a) and headers are installed in to the
6868         appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf
6869         and /usr/local/include/wtf). I tested building WTF in this project and
6870         everything appears to build except for DateMath.cpp (due to bug 71747).
6871         I have not yet done any work on making JavaScriptCore and other
6872         projects use the built products of this new project.
6873
6874         * Configurations: Added.
6875         * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig.
6876         * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig.
6877         * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig.
6878         * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig.
6879         * WTF.xcodeproj: Added.
6880         * WTF.xcodeproj/project.pbxproj: Added.
6881         * config.h: Copied from Source/JavaScriptCore/config.h.
6882         * icu: Added.
6883         * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE.
6884         * icu/README: Copied from Source/JavaScriptCore/icu/README.
6885         * icu/unicode: Added.
6886         * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h.
6887         * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h.
6888         * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h.
6889         * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h.
6890         * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h.
6891         * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h.
6892         * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h.
6893         * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h.
6894         * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h.
6895         * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h.
6896         * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h.
6897         * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h.
6898         * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h.
6899         * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h.
6900         * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h.
6901         * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h.
6902         * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h.
6903         * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h.
6904         * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h.
6905         * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h.
6906         * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h.
6907         * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h.
6908         * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h.
6909
6910 2011-11-03  Adam Barth  <abarth@webkit.org>
6911
6912         Add Stub.h and Stub.cpp to Source-level WTF project
6913         https://bugs.webkit.org/show_bug.cgi?id=71497
6914
6915         Reviewed by Eric Seidel.
6916
6917         This patch adds some stub files and a skelton GYP build file as a
6918         starting point for the new Source-level WTF project.  Other build
6919         systems and actual code will arrive in future patches.
6920
6921         * Stub.cpp: Added.
6922         * Stub.h: Added.
6923         * WTF.gyp/WTF.gyp: Added.
6924         * WTF.gypi: Added.
6925
6926 2011-11-02  Adam Barth  <abarth@webkit.org>
6927
6928         Add stubs for WTF and Platform
6929         https://bugs.webkit.org/show_bug.cgi?id=71492
6930
6931         Reviewed by Eric Seidel.
6932
6933         This patch creates the WTF directory, which begins the process of
6934         moving WTF out of JavaScriptCore.