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