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