1 2013-03-11 Oliver Hunt <oliver@apple.com>
3 Make SegmentedVector Noncopyable
4 https://bugs.webkit.org/show_bug.cgi?id=112059
6 Reviewed by NOBODY (OOPS!).
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.
13 * bytecompiler/BytecodeGenerator.cpp:
14 (JSC::BytecodeGenerator::newLabelScope):
15 (JSC::BytecodeGenerator::emitComplexJumpScopes):
16 * bytecompiler/BytecodeGenerator.h:
18 * bytecompiler/LabelScope.h:
20 (JSC::LabelScopeRef::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):
34 2012-11-07 Christophe Dumez <christophe.dumez@intel.com>
36 Add replaceWithLiteral() method to WTF::String
37 https://bugs.webkit.org/show_bug.cgi?id=101257
39 Reviewed by Benjamin Poulain.
41 Add replaceWithLiteral() method to WTF::String that takes
42 replacement string as a literal to avoid uselessly constructing
45 * wtf/text/StringImpl.cpp:
46 (WTF::StringImpl::replace):
48 * wtf/text/StringImpl.h:
49 (WTF::StringImpl::replace):
51 * wtf/text/WTFString.h:
53 (WTF::String::replaceWithLiteral):
55 2012-09-09 Mark Lam <mark.lam@apple.com>
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.
61 Reviewed by Geoffrey Garen.
64 * wtf/UnusedParam.h: Added UNUSED_LABEL(). Removed an obsolete comment.
66 2012-09-07 Sheriff Bot <webkit.review.bot@gmail.com>
68 Unreviewed, rolling out r127938.
69 http://trac.webkit.org/changeset/127938
70 https://bugs.webkit.org/show_bug.cgi?id=96166
72 It broke the build (Requested by smfr on #webkit).
76 2012-09-07 Mark Lam <mark.lam@apple.com>
78 Fixed ASSERT() and ASSERT_AT() macros so that they can be used in
80 https://bugs.webkit.org/show_bug.cgi?id=96127.
82 Reviewed by Filip Pizlo.
87 2012-09-01 Mark Lam <mark.lam@apple.com>
90 https://bugs.webkit.org/show_bug.cgi?id=91052.
92 Reviewed by Filip Pizlo.
94 Added configs for the llint C loop backend.
98 2012-08-30 Mark Lam <mark.lam@apple.com>
100 Render unto #ifdef's that which belong to them.
101 https://bugs.webkit.org/show_bug.cgi?id=95482.
103 Reviewed by Filip Pizlo.
105 * wtf/Platform.h: Added ENABLE(COMPUTED_GOTO_OPCODES).
107 2012-07-28 Patrick Gansterer <paroga@webkit.org>
109 [WIN] Add missing export macro to friend decleration.
111 Since the __declspec is part of the function signature
112 on windows, we need it at all friend declerations too.
116 2012-07-28 Patrick Gansterer <paroga@webkit.org>
118 [CMake] Add missing MediaTime files after r123878.
120 * wtf/CMakeLists.txt:
122 2012-07-28 Patrick Gansterer <paroga@webkit.org>
124 Remove obsolete functions from WTF::Unicode
125 https://bugs.webkit.org/show_bug.cgi?id=92571
127 Reviewed by Kentaro Hara.
129 Remove hasLineBreakingPropertyComplexContextOrIdeographic() and digitValue(),
130 since they are never used and defined for a few Unicode backends only.
132 * wtf/unicode/glib/UnicodeGLib.h:
133 * wtf/unicode/icu/UnicodeIcu.h:
135 2012-07-27 Sheriff Bot <webkit.review.bot@gmail.com>
137 Unreviewed, rolling out r123679.
138 http://trac.webkit.org/changeset/123679
139 https://bugs.webkit.org/show_bug.cgi?id=92565
141 Slowed down HTML parsing by 3.6% (Requested by abarth on
144 * wtf/text/WTFString.h:
146 2012-07-27 Arnaud Renevier <a.renevier@sisa.samsung.com>
148 use createUninitialized when creating TypedArray from another array
149 https://bugs.webkit.org/show_bug.cgi?id=92518
151 Reviewed by Kenneth Russell.
153 Expose a createUninitialized static method on TypedArray classes.
155 * wtf/Float32Array.h:
157 (WTF::Float32Array::createUninitialized):
159 * wtf/Float64Array.h:
161 (WTF::Float64Array::createUninitialized):
165 (WTF::Int16Array::createUninitialized):
169 (WTF::Int32Array::createUninitialized):
173 (WTF::Int8Array::createUninitialized):
177 (WTF::Uint16Array::createUninitialized):
181 (WTF::Uint32Array::createUninitialized):
185 (WTF::Uint8Array::createUninitialized):
187 * wtf/Uint8ClampedArray.h:
190 2012-07-27 Patrick Gansterer <paroga@webkit.org>
192 [WINCE] Use macros from ICU instead of defining the same functionality again
193 https://bugs.webkit.org/show_bug.cgi?id=92530
195 Reviewed by Ryosuke Niwa.
197 Replace isHighSurrogate() with U16_IS_LEAD(), isLowSurrogate() with
198 U16_IS_TRAIL() and surrogateToUcs4() with U16_GET_SUPPLEMENTARY().
200 * wtf/unicode/wince/UnicodeWinCE.h:
202 2012-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
204 [Qt] Fix build after r123917
205 https://bugs.webkit.org/show_bug.cgi?id=92555
209 * wtf/GregorianDateTime.h: Needs string.h for memset().
211 2012-07-27 Paweł Forysiuk <tuxator@o2.pl>
213 MinGW build fails because of missing header in GregorianDateTime.h
214 https://bugs.webkit.org/show_bug.cgi?id=92531
216 * wtf/GregorianDateTime.h: Include time.h
218 2012-07-27 Jer Noble <jer.noble@apple.com>
220 Unreviewed build fix.
222 Use MathExtras.h and the non std:: versions of isnan and signbit.
225 (WTF::MediaTime::createWithFloat):
226 (WTF::MediaTime::createWithDouble):
228 2012-07-27 Jer Noble <jer.noble@apple.com>
230 Support a rational time class for use by media elements.
231 https://bugs.webkit.org/show_bug.cgi?id=88787
233 Reviewed by Eric Carlson.
235 Add a new MediaTime class which implements rational math operations.
237 Add common constructors and assignment operators:
238 * wtf/MediaTime.cpp: Added.
239 (WTF::MediaTime::MediaTime):
240 (WTF::MediaTime::~MediaTime):
241 (WTF::MediaTime::operator=):
243 Add common math operators:
245 (WTF::MediaTime::operator+):
246 (WTF::MediaTime::operator-):
247 (WTF::MediaTime::operator<):
248 (WTF::MediaTime::operator>):
249 (WTF::MediaTime::operator==):
250 (WTF::MediaTime::operator>=):
251 (WTF::MediaTime::operator<=):
253 Add functions to check the MeiaTime time type flags:
255 (WTF::MediaTime::isValid):
256 (WTF::MediaTime::isInvalid):
257 (WTF::MediaTime::hasBeenRounde):
258 (WTF::MediaTime::isPositiveInfinite):
259 (WTF::MediaTime::isNegativeInfinite):
260 (WTF::MediaTime::isIndefinite):
262 Add constants for commonly used MediaTime values:
263 (WTF::MediaTime::zeroTime):
264 (WTF::MediaTime::invalidTime):
265 (WTF::MediaTime::positiveInfiniteTime):
266 (WTF::MediaTime::negativeInfiniteTime):
267 (WTF::MediaTime::indefiniteTime):
269 Add explicit conversion functions to convert to and from floating point values.
271 (WTF::MediaTime::createWithFloat):
272 (WTF::MediaTime::createWithDouble):
273 (WTF::MediaTime::toFloat):
274 (WTF::MediaTime::toDouble):
276 Add some useful exported functions:
278 (WTF::MediaTime::compare): Master function for the comparison operators above.
279 (WTF::MediaTime::setTimeScale): Rescale the time value to a new time scale.
280 (WTF::abs): Return an absolute value for the current MediaTime.
282 Static utility functions to implement the above:
284 (WTF::greatestCommonDivisor):
285 (WTF::leastCommonMultiple):
288 Windows-only implementations of isinf and signbit:
293 Add the new class to platform build files:
294 * GNUmakefile.list.am:
297 * WTF.vcproj/WTF.vcproj:
298 * WTF.xcodeproj/project.pbxproj:
300 2012-07-27 Wei James <james.wei@intel.com>
302 set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
303 https://bugs.webkit.org/show_bug.cgi?id=91746
305 Reviewed by Adam Barth.
307 This patch is part of efforts to enable web audio for chromium android.
308 Web audio component needs to use atomicIncrement and atomicDecrement,
309 which are enabled by this MACRO.
311 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
312 this patch standalone.
317 2012-07-27 Wei James <james.wei@intel.com>
319 set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
320 https://bugs.webkit.org/show_bug.cgi?id=91746
322 Reviewed by Adam Barth.
324 This patch is part of efforts to enable web audio for chromium android.
325 Web audio component needs to use atomicIncrement and atomicDecrement,
326 which are enabled by this MACRO.
328 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
329 this patch standalone.
334 2012-07-26 Arnaud Renevier <a.renevier@sisa.samsung.com>
336 constructing TypedArray from another TypedArray is slow
337 https://bugs.webkit.org/show_bug.cgi?id=90838
339 Reviewed by Kenneth Russell.
341 Introduce virtual method getType on ArrayBufferView. It returns the actual
342 type of the view. This method replaces previous is<Type>Array() methods.
344 * wtf/ArrayBufferView.h:
345 * wtf/Float32Array.h:
346 (WTF::Float32Array::getType):
348 * wtf/Float64Array.h:
349 (WTF::Float64Array::getType):
352 (WTF::Int16Array::getType):
355 (WTF::Int32Array::getType):
358 (WTF::Int8Array::getType):
360 * wtf/IntegralTypedArrayBase.h:
361 * wtf/TypedArrayBase.h:
363 (WTF::TypedArrayBase::item):
365 (WTF::Uint16Array::getType):
368 (WTF::Uint32Array::getType):
371 (WTF::Uint8Array::getType):
373 * wtf/Uint8ClampedArray.h:
374 (WTF::Uint8ClampedArray::getType):
377 2012-07-26 Zeno Albisser <zeno@webkit.org>
379 [Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
380 https://bugs.webkit.org/show_bug.cgi?id=88638
382 Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
383 the servicing of scripted animations to layer syncing for WK2.
384 For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
386 Reviewed by Jocelyn Turcotte.
390 2012-07-26 Yury Semikhatsky <yurys@chromium.org>
392 Unreviewed. Revert r123740 as it breaks AppleMac compilation.
394 * wtf/text/StringImpl.cpp:
395 * wtf/text/StringImpl.h:
397 2012-07-26 Yury Semikhatsky <yurys@chromium.org>
399 Web Inspector: move StringImpl size calculation to StringImpl
400 https://bugs.webkit.org/show_bug.cgi?id=92359
402 Reviewed by Pavel Feldman.
404 Moved stringSize(StringImpl*) implementation from InspectorMemoryAgent to
405 StringImpl::sizeInBytes();
407 * wtf/text/StringImpl.cpp:
408 (WTF::StringImpl::sizeInBytes):
410 * wtf/text/StringImpl.h:
413 2012-07-25 Benjamin Poulain <bpoulain@apple.com>
415 Initialize QualifiedName's strings from the read only data segment
416 https://bugs.webkit.org/show_bug.cgi?id=92226
418 Reviewed by Anders Carlsson.
420 Add constructors for StringImpl and AtomicString to be able to create
421 the strings from the literal in read only memory.
423 * wtf/text/AtomicString.cpp:
424 (HashTranslatorCharBuffer):
425 (WTF::LCharBufferFromLiteralDataTranslator::hash):
426 (LCharBufferFromLiteralDataTranslator):
427 (WTF::LCharBufferFromLiteralDataTranslator::equal):
428 (WTF::LCharBufferFromLiteralDataTranslator::translate):
429 (WTF::AtomicString::addFromLiteralData):
430 * wtf/text/AtomicString.h:
431 (WTF::AtomicString::AtomicString):
433 * wtf/text/StringImpl.cpp:
434 (WTF::StringImpl::createFromLiteral):
435 * wtf/text/StringImpl.h:
438 (WTF::StringImpl::createFromLiteral):
440 2012-07-25 Michael Saboff <msaboff@apple.com>
442 Convert HTML parser to handle 8-bit resources without converting to UChar*
443 https://bugs.webkit.org/show_bug.cgi?id=90321
445 Reviewed by Geoffrey Garen.
447 * wtf/text/WTFString.h:
448 (WTF::String::dataSize): New method to return the number of bytes
449 the string requires. This replaces a harcoded calculation based on
450 length and sizeof(UChar).
452 2012-07-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
454 Create a specialized pair for use in HashMap iterators
455 https://bugs.webkit.org/show_bug.cgi?id=92137
457 Reviewed by Ryosuke Niwa.
459 The type used for internal storage in HashMap is exposed in its interface as iterator
460 "contents". Currently HashMap uses std::pair<>, which this patch replaces with
463 Having this specialized structure will allow us to customize the members to be called
464 key/value, improving readability in code using HashMap iterators. They are still called
465 first/second to separate this change from the mechanical change of updating callsites.
467 * wtf/HashIterators.h:
468 (HashTableConstKeysIterator):
469 (HashTableConstValuesIterator):
470 (HashTableKeysIterator):
471 (HashTableValuesIterator):
472 Use KeyValuePair instead of std::pair when defining the iterators.
476 (WTF::KeyValuePairKeyExtractor::extract):
478 Remove PairFirstExtractor. Add and use the KeyValuePair corresponding extractor.
480 (WTF::HashMapValueTraits::isEmptyValue): Use KeyValuePairHashTraits for HashMaps.
481 (WTF::HashMapTranslator::translate):
482 (WTF::HashMapTranslatorAdapter::translate):
483 The traits of the mapped value is now called ValueTraits instead of SecondTraits.
486 (WTF::hashTableSwap): Add specialization for swapping KeyValuePairs.
487 (WTF): Remove now unneeded specialization for std::pairs.
491 (WTF::KeyValuePair::KeyValuePair):
493 Specialized pair. In the future difference from pair should be the member names.
495 (KeyValuePairHashTraits):
496 (WTF::KeyValuePairHashTraits::emptyValue):
497 (WTF::KeyValuePairHashTraits::constructDeletedValue):
498 (WTF::KeyValuePairHashTraits::isDeletedValue):
499 These traits are analogous to PairHashTraits but for KeyValuePair.
501 * wtf/RefPtrHashMap.h: Use KeyValuePairHashTraits.
503 2012-07-25 Andrew Wilson <atwilson@chromium.org>
505 Unreviewed, rolling out r123560.
506 http://trac.webkit.org/changeset/123560
507 https://bugs.webkit.org/show_bug.cgi?id=90321
509 Breaks chromium valgrind tests.
511 * wtf/text/WTFString.h:
513 2012-07-25 Csaba Osztrogonác <ossy@webkit.org>
515 [Qt] There are parallel GC related crashes regularly
516 https://bugs.webkit.org/show_bug.cgi?id=90957
518 Rubber-stamped by Zoltan Herczeg.
520 * wtf/Platform.h: Disable parallel GC temporarily on Qt until proper fix.
522 2012-07-24 Benjamin Poulain <bpoulain@apple.com> && Joseph Pecoraro <pecoraro@apple.com>
524 QualifiedName's HashSet should be big enough to hold at least all the static names
525 https://bugs.webkit.org/show_bug.cgi?id=91891
527 Reviewed by Darin Adler.
529 Add a static struct to compute the HashTable capacity for any given size at compile time.
530 This allow us to create HashTraits giving the minimumSize without hardcoding the values.
534 (UpperPowerOfTwoBound):
535 (HashTableCapacityForSize): Compute the HashTable capacity at compile time.
537 2012-07-24 Michael Saboff <msaboff@apple.com>
539 Convert HTML parser to handle 8-bit resources without converting to UChar*
540 https://bugs.webkit.org/show_bug.cgi?id=90321
542 Reviewed by Geoffrey Garen.
544 * wtf/text/WTFString.h:
545 (WTF::String::dataSize): New method to return the number of bytes
546 the string requires. This replaces a harcoded calculation based on
547 length and sizeof(UChar).
549 2012-07-24 Sam Weinig <sam@webkit.org>
551 Add per-HashTable stats
552 https://bugs.webkit.org/show_bug.cgi?id=92185
554 Reviewed by Anders Carlsson.
556 Add per-HashTable stats, so we can look at the effectiveness of an individual HashTable.
559 (WTF::HashTable::Stats::Stats):
560 Add a HashTable::Stats to hold the stats.
562 (WTF::HashTable::Stats::recordCollisionAtCount):
563 (WTF::HashTable::Stats::dumpStats):
564 Add versions of recordCollisionAtCount and dumpStats for per-HashTable version.
567 Keep the stats, if enabled, in an OwnPtr, to not blow JSCell max size restrictions.
570 (WTF::lookupForWriting):
571 (WTF::fullLookupForWriting):
576 Keep track of the stats as the table is used.
578 2012-07-24 Patrick Gansterer <paroga@webkit.org>
580 Store the full year in GregorianDateTime
581 https://bugs.webkit.org/show_bug.cgi?id=92067
583 Reviewed by Geoffrey Garen.
585 Use the full year instead of the offset from year 1900
586 for the year member variable of GregorianDateTime.
588 * wtf/GregorianDateTime.h:
589 (WTF::GregorianDateTime::operator tm):
591 2012-07-23 Patrick Gansterer <paroga@webkit.org>
593 Move GregorianDateTime from JSC to WTF namespace
594 https://bugs.webkit.org/show_bug.cgi?id=91948
596 Reviewed by Geoffrey Garen.
598 Moving GregorianDateTime into the WTF namespace allows us to us to
599 use it in WebCore too. The new class has the same behaviour as the
600 old struct. Only the unused timeZone member has been removed.
602 * GNUmakefile.list.am:
605 * WTF.vcproj/WTF.vcproj:
606 * WTF.xcodeproj/project.pbxproj:
607 * wtf/CMakeLists.txt:
608 * wtf/GregorianDateTime.h: Added.
611 2012-07-23 Rob Buis <rbuis@rim.com>
613 [BlackBerry] Merge createThreadInternal implementations
614 https://bugs.webkit.org/show_bug.cgi?id=91899
620 Remove our implementation since the default thread stack size on QNX is fine.
622 * wtf/ThreadingPthreads.cpp:
623 (WTF::createThreadInternal):
624 (WTF::initializeCurrentThreadInternal): make sure we set the thread name.
626 2012-07-23 Patrick Gansterer <paroga@webkit.org>
628 [WINCE] Define NOMINMAX in the build system instead of Platform.h
629 https://bugs.webkit.org/show_bug.cgi?id=91938
631 Reviewed by Ryosuke Niwa.
635 2012-07-23 Patrick Gansterer <paroga@webkit.org>
637 Build fix for Windows after r123317.
639 * wtf/DateMath.cpp: Added missing header include.
641 2012-07-23 Patrick Gansterer <paroga@webkit.org>
643 [WIN] Use GetTimeZoneInformation() for calculateUTCOffset()
644 https://bugs.webkit.org/show_bug.cgi?id=91935
646 Reviewed by Ryosuke Niwa.
648 GetTimeZoneInformation() returns the offset directly. Using it
649 avoids unnecessary calculations and remove dependencies on
650 other time related function, which do not exist on WinCE.
653 (WTF::calculateUTCOffset):
655 2012-07-20 Han Shen <shenhan@google.com>
657 [Chromium] Compilation fails under gcc 4.7
658 https://bugs.webkit.org/show_bug.cgi?id=90227
660 Reviewed by Tony Chang.
662 Disable warnings about c++0x compatibility in gcc newer than 4.6.
666 2012-07-19 Dan Bernstein <mitz@apple.com>
668 The ATSUI-based complex text code is unused
669 https://bugs.webkit.org/show_bug.cgi?id=91816
671 Reviewed by Sam Weinig.
673 Removed definitions of WTF_USE_ATSUI and WTF_USE_CORE_TEXT.
677 2012-07-19 Wei James <james.wei@intel.com>
679 enable Web Audio for chromium android port
680 https://bugs.webkit.org/show_bug.cgi?id=89428
682 Reviewed by Kenneth Russell.
688 2012-07-19 Scott Graham <scottmg@chromium.org>
690 [Chromium] disable warning on Windows from gcc-only pragma in Assertions.cpp"
691 https://bugs.webkit.org/show_bug.cgi?id=91776
693 Reviewed by Ryosuke Niwa.
696 ...\source\wtf\wtf\assertions.cpp(31) : warning C4068: unknown pragma
700 2012-07-19 Robert Sesek <rsesek@chromium.org>
702 [chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
703 https://bugs.webkit.org/show_bug.cgi?id=91752
705 Reviewed by Eric Seidel.
707 When building CHROMIUM && DARWIN, do not enable ATSUI support.
711 2012-07-18 Yong Li <yoli@rim.com>
713 [BlackBerry] Implement currentTime() and monotonicallyIncreasingTime() for OS(QNX)
714 https://bugs.webkit.org/show_bug.cgi?id=91659
716 Reviewed by Rob Buis.
718 Implement currentTime() and monotonicallyIncreasingTime() for OS(QNX) with clock_gettime().
720 * wtf/CurrentTime.cpp:
723 (WTF::monotonicallyIncreasingTime):
725 2012-07-18 Tom Sepez <tsepez@chromium.org>
727 OOB read of stack buffer below DoubleToStringConverter::CreateExponentialRepresentation() in debug builds
728 https://bugs.webkit.org/show_bug.cgi?id=91642
730 Reviewed by Abhishek Arya.
732 * wtf/dtoa/double-conversion.cc:
733 (DoubleToStringConverter::CreateExponentialRepresentation): NUL-terminate string buffer before passing it to StringBuilder::AddSubstring()
735 2012-07-18 Michael Saboff <msaboff@apple.com>
737 Make TextCodecLatin1 handle 8 bit data without converting to UChar's
738 https://bugs.webkit.org/show_bug.cgi?id=90319
740 Reviewed by Oliver Hunt.
742 * wtf/text/StringImpl.h:
743 (StringImpl): Exported LChar variant of adopt().
744 * wtf/text/WTFString.h:
745 (WTF::String::createUninitialized): Exported LChar variant.
747 2012-07-18 Rob Buis <rbuis@rim.com>
749 Alignment crash in MIMESniffer
750 https://bugs.webkit.org/show_bug.cgi?id=89787
756 Change isPointerTypeAlignmentOkay so calling it does not require ifdefs.
758 * wtf/StdLibExtras.h:
759 (isPointerTypeAlignmentOkay):
761 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
763 [Qt][V8] Remove the V8 related codepaths and configuration
764 https://bugs.webkit.org/show_bug.cgi?id=90863
766 Reviewed by Simon Hausmann.
770 2012-07-17 Sheriff Bot <webkit.review.bot@gmail.com>
772 Unreviewed, rolling out r122834.
773 http://trac.webkit.org/changeset/122834
774 https://bugs.webkit.org/show_bug.cgi?id=91492
776 it broke the chromium (Requested by kkristof on #webkit).
780 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
782 [Qt][V8] Remove the V8 related codepaths and configuration
783 https://bugs.webkit.org/show_bug.cgi?id=90863
785 Reviewed by Simon Hausmann.
789 2012-07-16 Hajime Morrita <morrita@chromium.org>
791 WebCore needs WEBCORE_TESTING macro to mark methods being exported for testing.
792 https://bugs.webkit.org/show_bug.cgi?id=90764
794 Reviewed by Adam Barth.
796 Added USE(EXPORT_MACROS_FOR_TESTING) and enabled it on GTK and Windows.
798 * wtf/ExportMacros.h:
801 2012-07-16 Filip Pizlo <fpizlo@apple.com>
803 Unreviewed build fix.
805 * wtf/FastMalloc.cpp:
806 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
808 2012-07-16 Adam Treat <atreat@rim.com>
810 [BlackBerry] Use newer version of platform API to implement callOnMainThread
811 https://bugs.webkit.org/show_bug.cgi?id=91404
815 Right now we're using an outdated API that involves a virtual function call for no reason.
816 Use the new API that is much more direct and to the point.
818 * wtf/blackberry/MainThreadBlackBerry.cpp:
819 (WTF::scheduleDispatchFunctionsOnMainThread):
821 2012-07-14 Filip Pizlo <fpizlo@apple.com>
823 Unreviewed, build fix.
825 * wtf/Assertions.cpp:
827 * wtf/unicode/icu/CollatorICU.cpp:
828 (WTF::Collator::userDefault):
830 2012-07-13 Xianzhu Wang <wangxianzhu@chromium.org>
832 Move WebCore/platform/text/Base64 to WTF/wtf/text
833 https://bugs.webkit.org/show_bug.cgi?id=91162
835 Reviewed by Adam Barth.
837 * GNUmakefile.list.am:
840 * WTF.vcproj/WTF.vcproj:
841 * WTF.xcodeproj/project.pbxproj:
842 * wtf/CMakeLists.txt:
843 * wtf/text/Base64.cpp: Renamed from Source/WebCore/platform/text/Base64.cpp.
847 (WTF::base64DecodeInternal):
848 * wtf/text/Base64.h: Renamed from Source/WebCore/platform/text/Base64.h.
852 2012-07-12 Carlos Garcia Campos <cgarcia@igalia.com>
854 [GTK] Add API to get HTTPS status to WebKit2 GTK+
855 https://bugs.webkit.org/show_bug.cgi?id=91100
857 Reviewed by Martin Robinson.
859 Add support for GByteArray.
861 * wtf/gobject/GRefPtr.cpp:
865 * wtf/gobject/GRefPtr.h:
867 * wtf/gobject/GTypedefs.h:
869 2012-07-12 Maciej Stachowiak <mjs@apple.com>
871 Document ListHashSet iteration guarantees
872 https://bugs.webkit.org/show_bug.cgi?id=91106
874 Reviewed by Eric Seidel.
877 (WTF): Expand class comment to document this.
879 2012-07-11 Mark Rowe <mrowe@apple.com>
881 <http://webkit.org/b/91024> Build against the latest SDK when targeting older OS X versions.
883 Reviewed by Dan Bernstein.
885 The deployment target is already set to the version that we're targeting, and it's that setting
886 which determines which functionality from the SDK is available to us.
888 * Configurations/Base.xcconfig:
890 2012-07-11 Mark Rowe <mrowe@apple.com>
892 Replace definitions of BUILDING_ON / TARGETING macros with macros that will error when used.
894 Part of <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros.
896 Reviewed by Anders Carlsson.
900 2012-07-11 Mark Rowe <mrowe@apple.com>
902 Switch a few cases that care about the SDK over to checking __MAC_OS_X_VERSION_MAX_ALLOWED so that things build.
904 Part of <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
906 Reviewed by Filip Pizlo.
908 * wtf/FastMalloc.cpp:
909 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary): The SDK we're building against determines how many elements
910 the structure is declared as having.
912 2012-07-11 Mark Rowe <mrowe@apple.com>
914 <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
916 This removal was handled by a script that translates the relevant macros in to the equivalent checks
917 using the system availability macros.
919 Reviewed by Filip Pizlo.
921 * wtf/Assertions.cpp:
922 * wtf/FastMalloc.cpp:
924 * wtf/ThreadingPthreads.cpp:
925 * wtf/unicode/icu/CollatorICU.cpp:
927 2012-07-11 Anders Carlsson <andersca@apple.com>
929 Add -Wtautological-compare and -Wsign-compare warning flags
930 https://bugs.webkit.org/show_bug.cgi?id=90994
932 Reviewed by Mark Rowe.
934 * Configurations/Base.xcconfig:
936 2012-07-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
938 Re-enable __declspec(dl{import,export}) for MinGW when using EXPORT_MACROS
939 https://bugs.webkit.org/show_bug.cgi?id=90612
941 Reviewed by Csaba Osztrogonác.
943 MinGW was switched to use auto import/export of symbols on r44184.
944 From my understanding of the documentation, MinGW will not auto-export symbols
945 unless there are no explicit __declspec(dlexport) in the DLL already.
947 The issues that originally made us rely on the auto-import feature of MinGW
948 should now be resolved with the EXPORT_MACROS work. This patch re-enables them.
950 It also removes the GCC check for internal symbols hiding as the visibility should
951 already be hidden by default for both MSVC and GCC on Windows anyway.
953 * wtf/ExportMacros.h:
955 2012-07-09 No'am Rosenthal <noam.rosenthal@nokia.com>
957 Shared code that is guarded with ENABLE(WEBGL) should be guarded with USE()
958 https://bugs.webkit.org/show_bug.cgi?id=90506
960 Reviewed by Martin Robinson.
962 Made USE(3D_GRAPHICS) default to true when ENABLE(WEBGL) is true.
963 Also updated the Qt default to always use TEXTURE_MAPPER, and to use TEXTURE_MAPPER_GL when
968 2012-07-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
970 Introduce a build flag for low quality JPEG images
971 https://bugs.webkit.org/show_bug.cgi?id=90748
973 Reviewed by Adam Barth.
975 Turn on the newly introduced flags for android.
979 2012-07-05 Filip Pizlo <fpizlo@apple.com>
981 INLINE_ARM_FUNCTION(thingy) should make thingy be thumb2 if we're using thumb2
982 https://bugs.webkit.org/show_bug.cgi?id=90644
984 Reviewed by Mark Hahnenberg.
986 Fix breakage introduced in http://trac.webkit.org/changeset/121885
990 2012-07-05 Zoltan Herczeg <zherczeg@webkit.org>
992 Port DFG JIT to traditional ARM
993 https://bugs.webkit.org/show_bug.cgi?id=90198
995 Reviewed by Filip Pizlo.
997 Enabling DFG JIT on ARM systems with 32 bit instruction set.
1002 2012-07-04 Andy Wingo <wingo@igalia.com>
1004 [GTK] Enable parallel GC
1005 https://bugs.webkit.org/show_bug.cgi?id=90568
1007 Reviewed by Martin Robinson.
1009 * wtf/Platform.h: Add GTK to the ENABLE_PARALLEL_GC party.
1011 2012-07-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1013 [Qt] Get rid of un-needed QT += declarative for Qt 5
1015 The declarative module has been renamed to quick1 in Qt 5, and the
1016 engine-only module for Qt 5 is named 'qml'. For many of the instances
1017 we could just remove 'declarative', since the project file was only
1018 used for Qt5/WebKit2 builds. In the other cases the module was wrapped
1019 in a haveQt(4) scope.
1021 Reviewed by Csaba Osztrogonác.
1025 2012-07-03 Yong Li <yoli@rim.com>
1027 [BlackBerry] Turn on DFGJIT in Platform.h
1028 https://bugs.webkit.org/show_bug.cgi?id=90482
1030 Set ENABLE_DFG_JIT for PLATFORM(BLACKBERRY).
1032 Reviewed by Rob Buis.
1036 2012-07-03 Tony Chang <tony@chromium.org>
1038 [chromium] Unreviewed, update .gitignore to handle VS2010 files.
1040 * WTF.gyp/.gitignore:
1042 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1044 [Qt] Make use of .qmake.cache for caching features
1046 Instead of loading() features from the files that need them (and re-running
1047 a bunch of checks), we now run feature detection as part of configure.pro,
1048 and have build-webkit write the computed feature-defines and CONFIG to
1049 .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1050 when building WebKit.pro.
1052 At some point we'll be able to selectivly prevent running of config tests
1053 in configure.pro, which means we don't need a separate code-path for
1054 the build-webkit --help case.
1056 We should also move the code in build-webkit that now uses .webkit.config
1057 to detect clean builds, to use .qmake.cache, since we now store the same
1060 Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1062 Reviewed by Tor Arne Vestbø.
1066 2012-07-03 Sheriff Bot <webkit.review.bot@gmail.com>
1068 Unreviewed, rolling out r121766.
1069 http://trac.webkit.org/changeset/121766
1070 https://bugs.webkit.org/show_bug.cgi?id=90465
1072 It caused flakey build errors on the bots (Requested by Ossy
1077 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1079 [Qt] Make use of .qmake.cache for caching features
1081 Instead of loading() features from the files that need them (and re-running
1082 a bunch of checks), we now run feature detection as part of configure.pro,
1083 and have build-webkit write the computed feature-defines and CONFIG to
1084 .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1085 when building WebKit.pro.
1087 At some point we'll be able to selectivly prevent running of config tests
1088 in configure.pro, which means we don't need a separate code-path for
1089 the build-webkit --help case.
1091 We should also move the code in build-webkit that now uses .webkit.config
1092 to detect clean builds, to use .qmake.cache, since we now store the same
1095 Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1097 Reviewed by Tor Arne Vestbø.
1101 2012-07-03 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Joel Dillon <joel.dillon@codethink.co.uk>
1103 [Qt][Win] Fix broken QtWebKit5.lib linking
1104 https://bugs.webkit.org/show_bug.cgi?id=88321
1106 Reviewed by Kenneth Rohde Christiansen.
1108 Instead of letting a module's headers know which other modules depend on them,
1109 have depending modules define explicitely that they want its symbols exported too.
1111 JavaScriptCore should then be compiled with both BUILDING_JavaScriptCore and
1112 STATICALLY_LINKED_WITH_WTF.
1114 * wtf/ExportMacros.h:
1116 2012-06-29 Tony Chang <tony@chromium.org>
1118 Unreviewed, rolling out r121572.
1119 http://trac.webkit.org/changeset/121572
1120 https://bugs.webkit.org/show_bug.cgi?id=90249
1122 Breaks Mac build since it depends on r121547, which was rolled
1125 * wtf/ThreadingPthreads.cpp:
1126 (WTF::initializeCurrentThreadInternal):
1128 2012-06-29 Eric Seidel <eric@webkit.org>
1130 Remove BUILDING_ON_LEOPARD now that no ports build on Leopard
1131 https://bugs.webkit.org/show_bug.cgi?id=90249
1133 Reviewed by Ryosuke Niwa.
1135 * wtf/ThreadingPthreads.cpp:
1136 (WTF::initializeCurrentThreadInternal):
1138 2012-06-29 Sheriff Bot <webkit.review.bot@gmail.com>
1140 Unreviewed, rolling out r121529.
1141 http://trac.webkit.org/changeset/121529
1142 https://bugs.webkit.org/show_bug.cgi?id=90260
1144 Failed to compile on Chromium WebKitMacBuilder (Requested by
1147 * wtf/FastMalloc.cpp:
1148 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1149 * wtf/unicode/icu/CollatorICU.cpp:
1150 (WTF::Collator::userDefault):
1152 2012-06-29 Eric Seidel <eric@webkit.org>
1154 Remove more BUILDING_ON_LEOPARD branches now that no port builds on Leopard
1155 https://bugs.webkit.org/show_bug.cgi?id=90252
1157 Reviewed by Ryosuke Niwa.
1159 * wtf/FastMalloc.cpp:
1160 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1161 * wtf/unicode/icu/CollatorICU.cpp:
1162 (WTF::Collator::userDefault):
1164 2012-06-29 Eric Seidel <eric@webkit.org>
1166 Remove more BUILDING_ON_LEOPARD usage in PLATFORM(MAC) code
1167 https://bugs.webkit.org/show_bug.cgi?id=85846
1169 Reviewed by Adam Barth.
1171 PLATFORM(MAC) has not supported Leopard for several months now.
1172 This change removes about 1/3 of the remaining BUILDING_ON_LEOPARD
1173 uses in the PLATFORM(MAC) codepaths. PLATFORM(CHROMIUM) still
1174 supports BUILDING_ON_LEOPARD for now.
1178 2012-06-28 Kalev Lember <kalevlember@gmail.com>
1180 ThreadingWin: Silence GCC compiler warnings
1181 https://bugs.webkit.org/show_bug.cgi?id=89491
1183 Reviewed by Adam Roben.
1185 * wtf/ThreadingWin.cpp:
1186 (WTF::createThreadInternal):
1187 (WTF::PlatformCondition::timedWait):
1188 (WTF::PlatformCondition::signal): Fix unused-but-set-variable
1191 2012-06-26 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1193 [Qt] Add missing heades to HEADERS
1195 For JavaScriptCore there aren't any Qt specific files, so we include all
1196 headers for easy editing in Qt Creator.
1198 Reviewed by Simon Hausmann.
1202 2012-06-25 Kent Tamura <tkent@chromium.org>
1204 Unreviewed, rolling out r121145.
1205 http://trac.webkit.org/changeset/121145
1206 https://bugs.webkit.org/show_bug.cgi?id=89847
1208 Had an objection for the change.
1210 * wtf/text/StringBuilder.h:
1212 2012-06-25 Yong Li <yoli@rim.com>
1214 [BlackBerry] Add JSC statistics into about:memory
1215 https://bugs.webkit.org/show_bug.cgi?id=89779
1217 Reviewed by Rob Buis.
1219 Turn on WTF_USE_EXPORT_MACROS for BlackBerry port.
1220 This will make macros like JS_EXPORT_PRIVATE work without
1225 2012-06-25 Adam Barth <abarth@webkit.org>
1227 Use InterpolationLow on chromium-android
1228 https://bugs.webkit.org/show_bug.cgi?id=89849
1230 Reviewed by Daniel Bates.
1232 Introduce a USE macro to control image interpolation quality.
1236 2012-06-25 Kent Tamura <tkent@chromium.org>
1238 Change the serialization format of form control state to make the code simple
1239 https://bugs.webkit.org/show_bug.cgi?id=89847
1241 Reviewed by Hajime Morita.
1243 * wtf/text/StringBuilder.h:
1244 (WTF::StringBuilder::appendEscaped): Added. This function adds the
1245 escaped form of the input string. e.g. if stiring="foo,bar" escape='\'
1246 special=',', the appended string is foo\,bar.
1248 2012-06-24 Adam Barth <abarth@webkit.org>
1250 Remove USE(CHROMIUM_NET) because it is unused
1251 https://bugs.webkit.org/show_bug.cgi?id=89850
1253 Reviewed by Eric Seidel.
1255 I didn't see any mentions of CHROMIUM_NET when I grepped the Source
1256 directory. Also, this USE macro isn't defined on OS(DARWIN) or
1257 OS(ANDROID), which seems a bit odd given that Chromium uses the same
1258 network stack on all platforms.
1262 2012-06-22 Peter Beverloo <peter@chromium.org>
1264 [Chromium] Disable c++0x compatibility warnings in JavaScriptCore.gyp when building for Android
1265 https://bugs.webkit.org/show_bug.cgi?id=88853
1267 Reviewed by Steve Block.
1269 The Android exclusions were necessary to fix a gyp generation error, as
1270 the gcc_version variable wasn't being defined for Android. Remove these
1271 exceptions when Chromium is able to define the gcc_version variable.
1275 2012-06-18 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
1277 Causes crashes in LLVMPipe
1278 https://bugs.webkit.org/show_bug.cgi?id=89358
1280 Reviewed by Martin Robinson.
1282 Change suggested by Dave Airlie and Xan Lopez.
1284 * wtf/Platform.h: disable global fastMalloc for GTK+
1286 2012-06-22 Mario Sanchez Prada <msanchez@igalia.com>
1288 Memory corruption on HashTable.h
1289 https://bugs.webkit.org/show_bug.cgi?id=88419
1291 Reviewed by Martin Robinson.
1293 Simplify definition of WTF_USE_PTHREADS and HAVE_PTHREAD_RWLOCK
1294 for the GTK platform using OS(LINUX) instead of HAVE(PTHREAD_H).
1298 2012-06-21 Parth Patel <parpatel@rim.com>
1300 [Blackberry] BlackBerry::Platform::Settings::get() rename to BlackBerry::Platform::Settings::instance() to make it consistent with our other singletons
1301 https://bugs.webkit.org/show_bug.cgi?id=89684
1303 Reviewed by Yong Li.
1305 Update setting instance access to use instance() instead of get().
1307 * wtf/ThreadingPthreads.cpp:
1308 (WTF::createThreadInternal):
1310 2012-06-21 Kalev Lember <kalevlember@gmail.com>
1312 [GTK] Fix NPAPI plugins on Windows
1313 https://bugs.webkit.org/show_bug.cgi?id=54531
1315 Reviewed by Martin Robinson.
1317 Define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH for the GTK+ port, and
1318 include OwnPtrWin.cpp in the list of files built on Windows.
1321 * GNUmakefile.list.am:
1324 2012-06-21 Balazs Kelemen <kbalazs@webkit.org>
1326 Compile error: 'bool std::isinf(float)' is not 'constexpr' with GCC 4.6 in C++11 mode
1327 https://bugs.webkit.org/show_bug.cgi?id=88721
1329 Reviewed by Csaba Osztrogonác.
1331 Don't define these as consexpr because with gcc 4.6
1332 they call non constexpr functions.
1337 2012-06-17 Filip Pizlo <fpizlo@apple.com>
1339 It should be possible to look at disassembly
1340 https://bugs.webkit.org/show_bug.cgi?id=89319
1342 Reviewed by Sam Weinig.
1344 Made changes to Assertions.h to make it friendly to C code again.
1346 Added ENABLE(DISASSEMBLER) and USE(UDIS86) logic to Platform.h.
1351 2012-06-19 Jon Honeycutt <jhoneycutt@apple.com>
1353 REGRESSION(r120552): Many tests timing out on Windows
1354 https://bugs.webkit.org/show_bug.cgi?id=89433
1356 Reviewed by Andy Estes.
1358 * wtf/CurrentTime.cpp:
1359 (WTF::lowResUTCTime):
1360 It looks like there were two bugs:
1361 1) the function was converting from 100ths of nanoseconds to seconds
1362 rather than 100s of nanoseconds to seconds by dividing by
1363 (nsPerSecond * 100) rather than (nsPerSecond / 100)
1364 2) the function should've been returning milliseconds, not seconds
1366 2012-06-18 Tony Payne <tpayne@chromium.org>
1368 [chromium] Add iccjpeg and qcms to chromium port.
1369 https://bugs.webkit.org/show_bug.cgi?id=81974
1371 * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1372 to each Chromium platform, excluding Android.
1374 Reviewed by Adam Barth.
1376 2012-06-18 Sheriff Bot <webkit.review.bot@gmail.com>
1378 Unreviewed, rolling out r120485 and r120582.
1379 http://trac.webkit.org/changeset/120485
1380 http://trac.webkit.org/changeset/120582
1381 https://bugs.webkit.org/show_bug.cgi?id=89345
1383 chromeos tree breakage (Requested by morrita on #webkit).
1387 2012-06-17 Patrick Gansterer <paroga@webkit.org>
1389 [WIN] Simplify implementation of currentTime()
1390 https://bugs.webkit.org/show_bug.cgi?id=83156
1392 Reviewed by Brent Fulgham.
1394 Use GetSystemTimeAsFileTime() instead of ftime().
1395 This avoids an unneeded call to the MS CRT and
1396 brings the Win/WinCE code closer together.
1398 * wtf/CurrentTime.cpp:
1399 (WTF::lowResUTCTime):
1402 2012-06-15 Tony Payne <tpayne@chromium.org>
1404 [chromium] Add iccjpeg and qcms to chromium port.
1405 https://bugs.webkit.org/show_bug.cgi?id=81974
1407 * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1408 to each Chromium platform, excluding Android.
1410 Reviewed by Adam Barth.
1412 2012-06-14 Sheriff Bot <webkit.review.bot@gmail.com>
1414 Unreviewed, rolling out r120393.
1415 http://trac.webkit.org/changeset/120393
1416 https://bugs.webkit.org/show_bug.cgi?id=89163
1418 breaks cr-mac build (Requested by morrita on #webkit).
1422 2012-06-14 Tony Payne <tpayne@chromium.org>
1424 [chromium] Add iccjpeg and qcms to chromium port.
1425 https://bugs.webkit.org/show_bug.cgi?id=81974
1427 * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1428 to each Chromium platform, excluding Android.
1430 Reviewed by Adam Barth.
1432 2012-06-14 Yong Li <yoli@rim.com>
1434 [BlackBerry] Implement computeRAMSize for QNX
1435 https://bugs.webkit.org/show_bug.cgi?id=89110
1437 Reviewed by Rob Buis.
1440 (WTF::computeRAMSize):
1442 2012-06-14 Geoffrey Garen <ggaren@apple.com>
1444 ARMv7 should support spinlocks
1445 https://bugs.webkit.org/show_bug.cgi?id=88957
1447 Reviewed by Darin Adler.
1449 More info @ http://infocenter.arm.com/help/topic/
1450 com.arm.doc.genc007826/Barrier_Litmus_Tests_and_Cookbook_A08.pdf
1453 (WTF::memoryBarrierAfterLock):
1454 (WTF::memoryBarrierBeforeUnlock): Added memory barrier primitives since
1455 ARMv7 has a weakly ordered memory model.
1457 * wtf/Platform.h: Enabled compare-and-swap on Windows so our spinlock
1458 implementation would continue working on Windows.
1461 (TCMalloc_SpinLock::Lock):
1462 (TCMalloc_SpinLock::Unlock):
1463 (TCMalloc_SpinLock): Use our compare-and-swap helper function to avoid
1464 rewriting it in assembly here.
1466 Added memory barriers since ARMv7 needs them.
1468 Removed PPC support because our helper function doesn't support PPC.
1470 2012-06-13 Arnaud Renevier <arno@renevier.net>
1472 make sure headers are included only once per file
1473 https://bugs.webkit.org/show_bug.cgi?id=88929
1475 Reviewed by Kentaro Hara.
1477 * wtf/FastMalloc.cpp:
1479 * wtf/OSAllocator.h:
1481 2012-06-13 Benjamin Poulain <benjamin@webkit.org>
1483 Implement the simple constructors WTFURL's KURL
1484 https://bugs.webkit.org/show_bug.cgi?id=85724
1486 Reviewed by Adam Barth.
1488 This patch extends WTFURL with:
1489 -support basic debugging using print() methods
1490 -parsing in the incomming string character set (8bits or 16bits)
1491 -add a function for parsing of relative URL (but no implementation yet)
1493 * WTF.xcodeproj/project.pbxproj:
1494 * wtf/text/WTFString.h:
1496 * wtf/url/api/ParsedURL.cpp:
1497 (WTF::ParsedURL::ParsedURL):
1499 (WTF::ParsedURL::hasFragment): Add this method to query the framgent availability without
1500 allocating a new String.
1501 (WTF::ParsedURL::withoutFragment): This method is added to implement KURL::removeFragmentIdentifier() and
1502 the parsing of empty relative URL (where we return the base without fragment).
1503 (WTF::ParsedURL::print):
1504 * wtf/url/api/ParsedURL.h:
1506 (WTF::ParsedURL::spec):
1507 * wtf/url/api/URLString.h:
1509 * wtf/url/src/URLParser.h:
1512 (WTF::URLParser::parseURLWithBase):
1513 * wtf/url/src/URLSegments.cpp:
1514 (WTF::URLSegments::length):
1515 (WTF::URLSegments::charactersBefore):
1516 * wtf/url/src/URLSegments.h:
1518 Change the boolean argument includeDelimiter in favor of an enum to improve readability.
1520 2012-06-13 Filip Pizlo <fpizlo@apple.com>
1522 DFG should be able to set watchpoints on global variables
1523 https://bugs.webkit.org/show_bug.cgi?id=88692
1525 Reviewed by Geoffrey Garen.
1527 Added ability to set the inline capacity of segmented vectors.
1529 Also added the ability ot ASSERT_NOT_REACHED() without having to
1530 propagate NO_RETURN macros, which would be a show-stopper for code
1531 that is conditionally unreachable.
1534 (UNREACHABLE_FOR_PLATFORM):
1535 * wtf/SegmentedVector.h:
1537 (SegmentedVectorIterator):
1538 (WTF::SegmentedVectorIterator::operator=):
1539 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1542 2012-06-13 Sheriff Bot <webkit.review.bot@gmail.com>
1544 Unreviewed, rolling out r120172.
1545 http://trac.webkit.org/changeset/120172
1546 https://bugs.webkit.org/show_bug.cgi?id=88976
1548 The patch causes compilation failures on Gtk, Qt and Apple Win
1549 bots (Requested by zdobersek on #webkit).
1551 * wtf/SegmentedVector.h:
1553 (SegmentedVectorIterator):
1554 (WTF::SegmentedVectorIterator::operator=):
1555 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1558 2012-06-10 Filip Pizlo <fpizlo@apple.com>
1560 DFG should be able to set watchpoints on global variables
1561 https://bugs.webkit.org/show_bug.cgi?id=88692
1563 Reviewed by Geoffrey Garen.
1565 Added ability to set the inline capacity of segmented vectors.
1567 * wtf/SegmentedVector.h:
1569 (SegmentedVectorIterator):
1570 (WTF::SegmentedVectorIterator::operator=):
1571 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1574 2012-06-12 Geoffrey Garen <ggaren@apple.com>
1576 Try to fix the build.
1578 Maybe don't export inlined functions.
1580 * wtf/ThreadingPrimitives.h:
1581 (WTF::MutexTryLocker::MutexTryLocker):
1582 (WTF::MutexTryLocker::~MutexTryLocker):
1583 (WTF::MutexTryLocker::locked):
1585 2012-06-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1587 Using extrernal ICU library on case unsensitive drives will not work
1588 https://bugs.webkit.org/show_bug.cgi?id=70913
1590 Reviewed by Csaba Osztrogonác.
1592 Properly set the include path for the WTF module and for modules using it.
1593 The path should include Source/WTF/wtf only when building WTF itself. Other
1594 modules are expected to include the headers as #include <wtf/Header.h>, so
1595 only add Source/WTF to their include path.
1597 "unicode/utf8.h" should now then always reference to ICU in the include path
1598 and "wtf/unicode/UTF8.h" reference to the WTF version.
1599 This will work as long as WTF object files don't depend on ICU themselves.
1601 Removed gobject, qt and unicode from the include path as those directories
1602 don't exist anymore.
1607 2012-06-11 Carlos Garcia Campos <cgarcia@igalia.com>
1609 Unreviewed. Fix make distcheck issues.
1611 * GNUmakefile.list.am: Add missing header file.
1613 2012-06-09 Dominic Cooney <dominicc@chromium.org>
1615 [Chromium] Remove JavaScriptCore dependencies from gyp
1616 https://bugs.webkit.org/show_bug.cgi?id=88510
1618 Reviewed by Adam Barth.
1620 Chromium doesn't support JSC any more and there doesn't seem to be
1621 a strong interest in using GYP as the common build system in other
1626 2012-06-08 Andy Wingo <wingo@igalia.com>
1628 Explictly mark stubs called by JIT as being internal
1629 https://bugs.webkit.org/show_bug.cgi?id=88552
1631 Reviewed by Filip Pizlo.
1633 * wtf/ExportMacros.h (WTF_INTERNAL, HAVE_INTERNAL_VISIBILITY): New
1634 defines. Regardless of what the port does about visibility in
1635 general, for code referenced only from assembly it is useful to
1636 give it internal visibility.
1637 * wtf/InlineASM.h: Split SYMBOL_STRING_RELOCATION into
1638 LOCAL_REFERENCE and GLOBAL_REFERENCE; the former will try to avoid
1639 indirection if HAVE(INTERNAL_VISIBILITY).
1641 2012-06-07 Csaba Osztrogonác <ossy@webkit.org>
1643 [Qt][Win] Fix linking WTF with ICU
1644 https://bugs.webkit.org/show_bug.cgi?id=88302
1646 Reviewed by Simon Hausmann.
1648 * WTF.pri: Use proper library names on win32 platforms.
1650 2012-06-06 Michael Saboff <msaboff@apple.com>
1652 ENH: Add Logging to GC Marking Phase
1653 https://bugs.webkit.org/show_bug.cgi?id=88364
1655 Reviewed by Filip Pizlo.
1658 (WTF::dataLogString): Additional method to support GC Mark logging.
1660 * wtf/Platform.h: New ENABLE_OBJECT_MARK_LOGGING flag macro.
1662 2012-06-06 Andy Wingo <wingo@igalia.com>
1664 [GTK] Enable the LLInt
1665 https://bugs.webkit.org/show_bug.cgi?id=88315
1667 Reviewed by Filip Pizlo.
1669 * wtf/InlineASM.h: Add an implementation of LOCAL_LABEL_STRING for
1671 * wtf/Platform.h: Add OS(LINUX) to the set of operating systems
1672 for ENABLE_LLINT. Add a specific check for PLATFORM(MAC) or
1673 PLATFORM(IOS), and add to that a check for PLATFORM(GTK).
1675 2012-06-05 Roland Takacs <takacs.roland@stud.u-szeged.hu>
1677 [Qt] Use GraphicsContext3DOpenGLES.cpp when using OpenGL ES
1678 https://bugs.webkit.org/show_bug.cgi?id=78720
1680 Reviewed by Noam Rosenthal.
1682 Defined a global Opengl ES macro to check OpenGL ES on every platforms.
1686 2012-06-04 Takashi Toyoshima <toyoshim@chromium.org>
1688 [WebSocket] Send requires super linear time against data size
1689 https://bugs.webkit.org/show_bug.cgi?id=87383
1691 Reviewed by Kent Tamura.
1693 * wtf/StreamBuffer.h: Added.
1696 (WTF::StreamBuffer::StreamBuffer):
1697 (WTF::StreamBuffer::~StreamBuffer):
1698 (WTF::StreamBuffer::isEmpty):
1699 (WTF::StreamBuffer::append):
1700 (WTF::StreamBuffer::consume):
1701 (WTF::StreamBuffer::size):
1702 (WTF::StreamBuffer::firstBlockData):
1703 (WTF::StreamBuffer::firstBlockSize):
1705 2012-06-04 Patrick Gansterer <paroga@webkit.org>
1707 Port RAMSize to WinCE
1708 https://bugs.webkit.org/show_bug.cgi?id=87854
1710 Reviewed by Geoffrey Garen.
1712 WinCE has no GlobalMemoryStatusEx() function. Use GlobalMemoryStatus() instead.
1715 (WTF::computeRAMSize):
1717 2012-06-01 Xianzhu Wang <wangxianzhu@chromium.org>
1719 Remove dependency from ImageDiff to WTF
1720 https://bugs.webkit.org/show_bug.cgi?id=88147
1722 Reviewed by Adam Barth.
1726 2012-06-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1728 [Qt] Save one copy when going from 8-bit WTF::String to QString
1730 Asking for characters() of an 8-bit string will make a 16-bit copy internally
1731 in WTF::String. Since we're going to copy the data to QStringData anyways, which
1732 is 16-bit, we can do the conversion ourselves and save one copy.
1734 Reviewed by Simon Hausmann.
1736 * wtf/qt/StringQt.cpp:
1737 (WTF::String::operator QString):
1739 2012-05-30 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1741 [Qt] Make conversion from QString to WTF::String (and back again) ~free
1743 https://bugs.webkit.org/show_bug.cgi?id=87847
1745 Instead of copying the QString data when converting to a WTF::String we
1746 make the WTF::String adopt the QString data by introducing a new buffer
1747 ownership type, and pointing the internal WTF::StringImpl 16-bit data
1748 member to the string data managed by QStringData.
1750 We make sure to reference the QStringData when adopting, so that the
1751 data will stay alive, and then dereference it when the WTF::StringImpl
1752 is deleted, which will free the QStringData (either straight away, if
1753 we're the only one holding a reference still, or later, when the ref
1756 In the case of going back from a WTF::String to a QString we can cheat
1757 a bit (avoid a copy), if we know that the WTF::String was adopted from
1758 a QString, since it's then just a matter of having the QString adopt
1759 the existing QStringData (just like a regular QString copy).
1761 If the WTF::String buffer is not owned by QStringData, eg a regular
1762 8-bit or 16-bit string/substring, we have to fall back to copying,
1763 as before (though there are potential optimization tricks we can
1764 apply here later on).
1766 Reviewed by Gavin Barraclough.
1768 * wtf/qt/StringQt.cpp:
1769 * wtf/text/StringImpl.cpp:
1770 * wtf/text/StringImpl.h:
1772 2012-06-01 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
1774 [EFL] Implement PlatformStrategies
1775 https://bugs.webkit.org/show_bug.cgi?id=86946
1777 Reviewed by Carlos Garcia Campos.
1779 * wtf/Platform.h: Enable PLATFORM_STRATEGIES for EFL platform.
1781 2012-05-31 Anders Carlsson <andersca@apple.com>
1783 Enable support for rvalue references when building with a version of clang that supports them
1784 https://bugs.webkit.org/show_bug.cgi?id=88018
1786 Re-enable support for rvalue references when building with a version of Xcode newer than 4.2.
1790 2012-05-31 Filip Pizlo <fpizlo@apple.com>
1792 DataLog should be usable outside of JSC
1793 https://bugs.webkit.org/show_bug.cgi?id=88015
1795 Reviewed by Oliver Hunt.
1800 2012-05-31 Anders Carlsson <andersca@apple.com>
1802 Disable support for rvalue references until I figure out why this is breaking the Xcode 4.2 build.
1806 2012-05-31 Anders Carlsson <andersca@apple.com>
1808 Vector should have a move constructor and move assignment operator
1809 https://bugs.webkit.org/show_bug.cgi?id=87997
1811 Reviewed by Andreas Kling.
1814 Use __has_extension so we can use move semantics and other C++11 features even when building as C++98.
1817 Add a move constructor and a move assignment operator to Vector.
1819 2012-05-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1821 [Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
1822 https://bugs.webkit.org/show_bug.cgi?id=87955
1824 Reviewed by Simon Hausmann.
1828 2012-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1830 HashTable.h has using directives for std::pair and std::make_pair
1831 https://bugs.webkit.org/show_bug.cgi?id=29919
1833 Reviewed by Darin Adler.
1836 (WTF): Remove the directives.
1838 2012-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1840 HashTable.h has using directives for std::pair and std::make_pair
1841 https://bugs.webkit.org/show_bug.cgi?id=29919
1843 Reviewed by Darin Adler.
1845 Change code to use std::pair and std::make_pair. Later patch will remove the
1849 (WTF::hashTableSwap):
1853 (WTF::PairHashTraits::emptyValue):
1855 2012-05-30 Patrick Gansterer <paroga@webkit.org>
1857 Build fix for WinCE after r118603.
1860 (WTF::weakCompareAndSwap):
1862 2012-05-29 Anders Carlsson <andersca@apple.com>
1864 String should be move enabled/optimized
1865 https://bugs.webkit.org/show_bug.cgi?id=87596
1867 Reviewed by Andreas Kling.
1869 Add move constructors and move assignment operators to String and AtomicString when building with
1870 compilers that support rvalue references. This gets rid of ref-churn when the source of the
1871 constructor or assignment is a temporary object.
1873 * wtf/text/AtomicString.h:
1875 (WTF::AtomicString::AtomicString):
1876 (WTF::AtomicString::operator=):
1877 * wtf/text/WTFString.h:
1879 (WTF::String::String):
1880 (WTF::String::operator=):
1882 2012-05-29 Alexandre Elias <aelias@google.com>
1884 Support WebKit log messages on Android
1885 https://bugs.webkit.org/show_bug.cgi?id=87773
1887 Reviewed by Darin Adler.
1889 This sends WebKit log messages to the Android "logcat" facility, as
1890 Android sends stderr to /dev/null.
1892 * wtf/Assertions.cpp:
1894 2012-05-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1896 [Qt] Remove duplication of logic for disabling selected warnings related to C++11
1898 This is already handled in unix/default_post.prf
1900 Reviewed by Simon Hausmann.
1904 2012-05-27 Darin Adler <darin@apple.com>
1906 Fix an incorrect assertion in Vector::remove
1907 https://bugs.webkit.org/show_bug.cgi?id=87612
1909 Reviewed by Dan Bernstein.
1911 * wtf/Vector.h: There's no good reason to disallow calling remove
1912 with a size of 0, even when the position is at the end of the vector,
1913 so changed the two-argument Vector::remove assertion to assert that
1914 the position is <= size rather than < size.
1916 2012-05-27 Yoshifumi Inoue <yosin@chromium.org>
1918 [WTF] Introduce UINT64_C to MathExtras.h
1919 https://bugs.webkit.org/show_bug.cgi?id=87485
1921 Reviewed by Kent Tamura.
1925 2012-05-25 Filip Pizlo <fpizlo@apple.com>
1927 weakCompareAndSwap should work on Windows
1928 https://bugs.webkit.org/show_bug.cgi?id=87549
1930 Reviewed by Jessie Berlin.
1934 (WTF::weakCompareAndSwap):
1936 2012-05-24 Allan Sandfeld Jensen <allan.jensen@nokia.com>
1938 cti_vm_throw gets kicked out by gcc 4.6 -flto
1939 https://bugs.webkit.org/show_bug.cgi?id=56088
1941 Reviewed by Darin Adler.
1943 Define REFERENCED_FROM_ASM to __attribute__((used)) on GCC.
1947 2012-05-23 Darin Adler <darin@apple.com>
1949 Optimize iteration of empty hash tables
1950 https://bugs.webkit.org/show_bug.cgi?id=87215
1952 Reviewed by Geoffrey Garen.
1954 Iteration of empty hash tables was showing up on simple page loading
1955 profiles due to the use of hash tables in the
1956 NodeListsNodeData::invalidateCaches and
1957 NodeListsNodeData::invalidateCachesThatDependOnAttributes functions.
1958 It's worth optimizing the case of an empty table.
1961 (WTF::HashTable::begin): Return the known-good end iterator when the
1962 table is empty. This makes iterating an empty table faster because we
1963 avoid skipping empty and deleted buckets.
1965 2012-05-22 Geoffrey Garen <ggaren@apple.com>
1970 (WTF::computeRAMSize): sysctl expects a uint64_t, so use that and then
1971 cast back to size_t. Since it's coneivable that a 32bit process would
1972 run on a system with more than 4GB RAM, I added a paranoid check for
1975 2012-05-22 Jessie Berlin <jberlin@apple.com>
1980 (WTF::computeRAMSize):
1981 If you say you are going to return a size_t, actually return a size_t.
1983 2012-05-21 Geoffrey Garen <ggaren@apple.com>
1985 GC allocation trigger should be tuned to system RAM
1986 https://bugs.webkit.org/show_bug.cgi?id=87039
1988 Reviewed by Darin Adler.
1990 Added a helper function for measuring system RAM.
1992 * GNUmakefile.list.am:
1995 * WTF.vcproj/WTF.vcproj:
1996 * WTF.xcodeproj/project.pbxproj:
1997 * wtf/AmountOfRAM.cpp: Added.
1999 (WTF::computeAmountOfRAM):
2001 * wtf/AmountOfRAM.h: Added.
2003 * wtf/CMakeLists.txt:
2004 * wtf/StdLibExtras.h:
2007 2012-05-22 Allan Sandfeld Jensen <allan.jensen@nokia.com>
2009 GCC 4.7 and C++11 support.
2010 https://bugs.webkit.org/show_bug.cgi?id=86465
2012 Reviewed by Darin Adler.
2014 Detect C++11 mode in GCC 4.7 and set appropiate compiler feature flags.
2015 Turn C++11 override control into a compiler feature flag.
2016 Fix non-clang support of compiler feature CXX_DELETED_FUNCTIONS.
2019 * wtf/Noncopyable.h:
2021 2012-05-22 Filip Pizlo <fpizlo@apple.com>
2023 REGRESSION(r117861): It made almost all tests crash on Qt
2024 https://bugs.webkit.org/show_bug.cgi?id=87082
2026 Reviewed by Csaba Osztrogonác.
2028 Using OwnArrayPtr is a bad idea if you allocate array with fastCalloc.
2030 * wtf/FastBitVector.h:
2031 (WTF::FastBitVector::FastBitVector):
2032 (WTF::FastBitVector::~FastBitVector):
2034 (WTF::FastBitVector::operator=):
2035 (WTF::FastBitVector::resize):
2036 (WTF::FastBitVector::setAll):
2037 (WTF::FastBitVector::clearAll):
2038 (WTF::FastBitVector::set):
2040 2012-05-21 Filip Pizlo <fpizlo@apple.com>
2042 DFG should be able to compute dominators
2043 https://bugs.webkit.org/show_bug.cgi?id=85269
2045 Reviewed by Oliver Hunt.
2047 Merged r115754 from dfgopt.
2049 Added a bitvector class suitable for cheap static analysis. This class
2050 differs from BitVector in that instead of optimizing for space, it
2051 optimizes for execution time. Its API is also somewhat less friendly,
2052 which is intentional; it's meant to be used in places where you know
2053 up front how bit your bitvectors are going to be.
2055 * GNUmakefile.list.am:
2056 * WTF.vcproj/WTF.vcproj:
2057 * WTF.xcodeproj/project.pbxproj:
2058 * wtf/FastBitVector.h: Added.
2061 (WTF::FastBitVector::FastBitVector):
2062 (WTF::FastBitVector::operator=):
2063 (WTF::FastBitVector::numBits):
2064 (WTF::FastBitVector::resize):
2065 (WTF::FastBitVector::setAll):
2066 (WTF::FastBitVector::clearAll):
2067 (WTF::FastBitVector::set):
2068 (WTF::FastBitVector::setAndCheck):
2069 (WTF::FastBitVector::equals):
2070 (WTF::FastBitVector::merge):
2071 (WTF::FastBitVector::filter):
2072 (WTF::FastBitVector::exclude):
2073 (WTF::FastBitVector::clear):
2074 (WTF::FastBitVector::get):
2075 (WTF::FastBitVector::arrayLength):
2077 2012-05-15 Gavin Barraclough <barraclough@apple.com>
2079 Add support for private names
2080 https://bugs.webkit.org/show_bug.cgi?id=86509
2082 Reviewed by Oliver Hunt.
2084 The spec isn't final, but we can start adding support to allow property maps
2085 to contain keys that aren't identifiers.
2087 * wtf/text/StringImpl.h:
2088 (WTF::StringImpl::StringImpl):
2090 (WTF::StringImpl::createEmptyUnique):
2091 (WTF::StringImpl::isEmptyUnique):
2092 - Allow empty string impls to be allocated, which can be used as unique keys.
2094 2012-05-21 Emil A Eklund <eae@chromium.org> and Levi Weintraub <leviw@chromium.org>
2096 Enable SUBPIXEL_LAYOUT feature flag on Chromium
2097 https://bugs.webkit.org/show_bug.cgi?id=85555
2099 Reviewed by Eric Seidel.
2101 Enabling sub-pixel layout on Chromium port.
2105 2012-05-21 Andreas Kling <kling@webkit.org>
2107 CSS: Move duplicate property elimination to parser.
2108 <http://webkit.org/b/86948>
2110 Reviewed by Antti Koivisto.
2112 Add WTF::BitArray, a simple, malloc free, fixed-size bit array class.
2114 * GNUmakefile.list.am:
2117 * WTF.vcproj/WTF.vcproj:
2118 * WTF.xcodeproj/project.pbxproj:
2119 * wtf/BitArray.h: Added.
2122 (WTF::BitArray::BitArray):
2123 (WTF::BitArray::set):
2124 (WTF::BitArray::get):
2125 * wtf/CMakeLists.txt:
2127 2012-05-21 Allan Sandfeld Jensen <allan.jensen@nokia.com>
2129 Colliding isinf/isnan between C99 and C++11 with GCC >=4.6
2130 https://bugs.webkit.org/show_bug.cgi?id=59249
2132 Reviewed by Darin Adler.
2134 Workaround the isinf and isnan conflict in GCC C++11.
2141 2012-05-21 Andreas Kling <kling@webkit.org>
2143 REGRESSION(r117501): IconDatabase asserts on startup in synchronousIconForPageURL().
2144 <http://webkit.org/b/86935>
2145 <rdar://problem/11480012>
2147 Reviewed by Anders Carlsson.
2149 Added a swap() to HashCountedSet.
2151 * wtf/HashCountedSet.h:
2152 (HashCountedSet::swap):
2154 2012-05-16 Geoffrey Garen <ggaren@apple.com>
2156 This is not a joke: 3.7X speedup from removing a call to sleep
2157 https://bugs.webkit.org/show_bug.cgi?id=86702
2159 Reviewed by Eric Seidel.
2161 The speedup was on a GC benchmark, with a custom VM caching layer
2164 Instruments showed most GC threads spending the majority of their
2165 time sleeping instead of doing useful work. Removing the call to
2166 sleep sped up the benchmark.
2169 (TCMalloc_SlowLock): Since a spin lock is only ever held for a short
2170 amount of time, don't sleep for a long amount of time waiting for it
2171 to unlock -- yielding to the scheduler is sufficient.
2173 If we find a case where someone is sitting on a spin lock for over 2ms,
2174 we should fix the spin lock holder, not the spin lock.
2176 2012-05-16 Simon Fraser <simon.fraser@apple.com>
2178 Make things build with DUMP_HASHTABLE_STATS=1
2179 https://bugs.webkit.org/show_bug.cgi?id=86571
2181 Reviewed by Geoffrey Garen.
2183 DUMP_HASHTABLE_STATS bitrotted after the WTF separation. This patch
2186 Added WTF_EXPORTDATA to the global data, and WTF_EXPORT_PRIVATE to
2187 the static HashTableStats methods. Added a dumpStats() method
2188 that is not yet called anywhere; we can no longer rely on destroying
2189 a global object to dump the stats because global destructors are
2192 * wtf/HashTable.cpp:
2194 (WTF::HashTableStats::recordCollisionAtCount):
2195 (WTF::HashTableStats::dumpStats):
2199 2012-05-15 Filip Pizlo <fpizlo@apple.com>
2201 shrinkToFit() is often not called for Vectors in CodeBlock
2202 https://bugs.webkit.org/show_bug.cgi?id=86436
2204 Reviewed by Oliver Hunt.
2206 Gave SegmentedVector a shrinkToFit() method. This only shrinks the segment
2207 lookup table, which is likely to not be hugely profitable, but it is better
2210 * wtf/SegmentedVector.h:
2212 (WTF::SegmentedVector::shrinkToFit):
2214 2012-05-15 Andy Estes <aestes@apple.com>
2216 Add WTF_USE_SECURITY_FRAMEWORK and use it in place of the less specific PLATFORM(MAC)
2217 https://bugs.webkit.org/show_bug.cgi?id=86508
2219 Reviewed by Sam Weinig.
2223 2012-05-15 Zoltan Herczeg <zherczeg@webkit.org>
2225 NEONizing forceValidPreMultipliedPixels
2226 https://bugs.webkit.org/show_bug.cgi?id=86468
2228 Reviewed by Nikolas Zimmermann.
2230 Allow to disable all intrinsics with a single macro.
2234 2012-05-14 Andy Estes <aestes@apple.com>
2236 Add WTF_USE_APPKIT to differentiate platforms that use AppKit.framework from other Darwin platforms
2237 https://bugs.webkit.org/show_bug.cgi?id=86432
2239 Reviewed by Maciej Stachowiak.
2243 2012-05-14 Mark Rowe <mrowe@apple.com>
2245 <http://webkit.org/b/86320> WTF.xcodeproj builds with -O3 in debug builds
2247 Reviewed by Simon Fraser.
2249 * WTF.xcodeproj/project.pbxproj: Ensure that the debug configuration uses the
2250 same settings as the debug variant would.
2252 2012-05-14 Wei James <james.wei@intel.com>
2254 [Chromium] ImageDiff should be build for host on Android
2255 https://bugs.webkit.org/show_bug.cgi?id=82039
2257 Reviewed by Adam Barth.
2261 2012-05-14 Yong Li <yoli@rim.com>
2263 DFG JIT is not ARM EABI compatible
2264 https://bugs.webkit.org/show_bug.cgi?id=84449
2266 Reviewed by Filip Pizlo.
2268 Add COMPILER_SUPPORTS(EABI) when __ARM_EABI__
2269 or __EABI__ is defined.
2273 2012-05-10 Michał Pakuła vel Rutka <m.pakula@samsung.com>
2275 [EFL] Add OwnPtr specialization for Eina_Hash.
2276 https://bugs.webkit.org/show_bug.cgi?id=85046
2278 Reviewed by Andreas Kling.
2280 Add an override for Eina_Hash for EFL port.
2282 * wtf/OwnPtrCommon.h:
2284 * wtf/efl/OwnPtrEfl.cpp:
2285 (WTF::deleteOwnedPtr):
2288 2012-05-09 Filip Pizlo <fpizlo@apple.com>
2290 It should be possible to get useful debug logging from the JIT memory allocator
2291 https://bugs.webkit.org/show_bug.cgi?id=86042
2293 Reviewed by Geoff Garen.
2295 * wtf/MetaAllocator.cpp:
2296 (WTF::MetaAllocator::findAndRemoveFreeSpace):
2297 (WTF::MetaAllocator::addFreeSpace):
2298 (WTF::MetaAllocator::dumpProfile):
2300 2012-05-08 Sheriff Bot <webkit.review.bot@gmail.com>
2302 Unreviewed, rolling out r116440.
2303 http://trac.webkit.org/changeset/116440
2304 https://bugs.webkit.org/show_bug.cgi?id=85904
2306 Broke the Chromium Android bot (Requested by beverloo on
2311 2012-05-08 Adam Barth <abarth@webkit.org>
2313 [Chromium] OS(ANDROID) ImageDiff requires us to build WTF for both host and target
2314 https://bugs.webkit.org/show_bug.cgi?id=85897
2316 Reviewed by Tony Chang.
2320 2012-05-08 Adam Barth <abarth@webkit.org>
2322 [Chromium] Assertions.cpp should work on OS(ANDROID)
2323 https://bugs.webkit.org/show_bug.cgi?id=85867
2325 Reviewed by Eric Seidel.
2327 Some minor ifdefs for OS(ANDROID) on PLATFORM(CHROMIUM).
2329 * wtf/Assertions.cpp:
2331 2012-05-07 Adam Barth <abarth@webkit.org>
2333 [Chromium] Android wishes to use an empty implementation if AXObjectCache
2334 https://bugs.webkit.org/show_bug.cgi?id=85842
2336 Reviewed by Eric Seidel.
2338 Disable accessibility on OS(ANDROID) for PLATFORM(CHROMIUM).
2342 2012-05-04 Jeff Rogers <jrogers@rim.com>
2344 [BlackBerry] Implement numberOfProcessorCores() for QNX
2345 https://bugs.webkit.org/show_bug.cgi?id=85638
2347 Reviewed by Antonio Gomes.
2349 * wtf/NumberOfCores.cpp:
2350 (WTF::numberOfProcessorCores):
2352 2012-05-03 Yong Li <yoli@rim.com>
2354 Mutex failure when HashTable is memory moved in debug build
2355 https://bugs.webkit.org/show_bug.cgi?id=84970
2357 Reviewed by Rob Buis.
2359 1. Replace m_mutex with OwnPtr<m_mutex> so HashTable is still
2360 memory movable in debug build.
2361 2. Assert successes of pthread_mutex_init() and pthread_mutex_destroy().
2366 (WTF::::invalidateIterators):
2368 (WTF::removeIterator):
2369 * wtf/ThreadingPthreads.cpp:
2370 (WTF::Mutex::Mutex):
2371 (WTF::Mutex::~Mutex):
2373 2012-05-02 Antti Koivisto <antti@apple.com>
2375 Add temporary feature define for parsed stylesheet caching
2376 https://bugs.webkit.org/show_bug.cgi?id=85413
2378 Rubber-stamped by Nikolas Zimmermann.
2380 While not an externally visible feature this is still a significant internal change.
2381 It is good to have define in case someone has an urgent need to turn it off.
2383 Caching is enabled by default on all platforms. The define should be removed after some bake time.
2387 2012-05-02 Lauro Neto <lauro.neto@openbossa.org>
2389 [Qt]r57240 broke Qt build (gcc bug)
2390 https://bugs.webkit.org/show_bug.cgi?id=37253
2392 Reviewed by Csaba Osztrogonác.
2394 Add back the inline hack just for ARM due to old version of
2395 gcc still being used on Harmattan SDK. Thanks to Ossy for the
2400 2012-05-02 Nico Weber <thakis@chromium.org>
2402 Let WebKit parse with clang on windows with -std=c++11
2403 https://bugs.webkit.org/show_bug.cgi?id=85398
2405 Reviewed by Ryosuke Niwa.
2407 See http://trac.webkit.org/changeset/85945 for background on the line
2408 I'm changing. With clang, __GXX_EXPERIMENTLAL_CXX0X__ is set in c++11
2409 mode, but MSVC's c++ library doesn't have a tr1/memory header. So also
2410 check for __GLIBCXX__, like it's done in the rest of this file.
2414 2012-05-02 Adenilson Cavalcanti <cavalcantii@gmail.com>
2416 [Qt]r57240 broke Qt build (gcc bug)
2417 https://bugs.webkit.org/show_bug.cgi?id=37253
2419 Reviewed by Noam Rosenthal.
2421 Removing workaround macro since current gcc/Qt doesn't require it to compile.
2426 2012-04-30 Oliver Hunt <oliver@apple.com>
2428 Investigate overflows in Canvas putImageData routine
2429 https://bugs.webkit.org/show_bug.cgi?id=61373
2431 Reviewed by Gavin Barraclough.
2433 Allow floating point multiplies of checked types (complete with
2436 * wtf/CheckedArithmetic.h:
2438 (WTF::Checked::operator*=):
2440 2012-04-30 Benjamin Poulain <benjamin@webkit.org>
2442 Add String::startsWith() and endsWith() for string literals
2443 https://bugs.webkit.org/show_bug.cgi?id=85154
2445 Reviewed by Darin Adler.
2447 When invoking StringImpl::startsWidth() or StringImpl::endsWith() with
2448 a string literal, a new String was constructed implicitly, allocating
2449 a new StringImpl and copying the characters for the operation.
2451 This patch adds a version of those methods for single characters and
2453 This allows us to avoid allocating memory and use the characters in place,
2454 and it permits some extra shortcuts in the implementation.
2456 * wtf/text/AtomicString.h:
2457 (WTF::AtomicString::startsWith):
2459 (WTF::AtomicString::endsWith):
2460 * wtf/text/StringImpl.cpp:
2463 (WTF::StringImpl::startsWith):
2464 (WTF::StringImpl::endsWith):
2465 * wtf/text/StringImpl.h:
2466 (WTF::StringImpl::startsWith):
2468 (WTF::StringImpl::endsWith):
2469 * wtf/text/WTFString.h:
2470 (WTF::String::startsWith):
2472 (WTF::String::endsWith):
2474 2012-04-30 Anders Carlsson <andersca@apple.com>
2476 WTF::bind should work with blocks
2477 https://bugs.webkit.org/show_bug.cgi?id=85227
2479 Reviewed by Sam Weinig.
2481 Add a block type FunctionWrapper specialization.
2485 2012-04-28 Emil A Eklund <eae@chromium.org>
2487 Add ENABLE_SUBPIXEL_LAYOUT controlling FractionalLayoutUnit denominator
2488 https://bugs.webkit.org/show_bug.cgi?id=85146
2490 Reviewed by Eric Seidel.
2492 Add a new flag for controlling the fixed point denominator in
2493 FractionalLayoutUnit. Controls whether the denominator is set to 60 or 1.
2494 Until we change the LayoutUnit typedef this change will have no effect.
2498 2012-04-29 Kent Tamura <tkent@chromium.org>
2500 [Mac] Add LocalizedDateMac
2501 https://bugs.webkit.org/show_bug.cgi?id=85039
2503 Reviewed by Kentaro Hara.
2506 (WTF): Add monthFullName[]. It is useful to make fallback month
2507 names for calendar/date related features.
2509 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
2511 [SOUP] Add a way to register custom uri schemes in WebKit2
2512 https://bugs.webkit.org/show_bug.cgi?id=84130
2514 Reviewed by Martin Robinson.
2516 Add GPtrArray template to be able to use GRefPtr with GPtrArrays.
2518 * wtf/gobject/GRefPtr.cpp:
2522 * wtf/gobject/GRefPtr.h:
2524 * wtf/gobject/GTypedefs.h:
2526 2012-04-26 Nico Weber <thakis@chromium.org>
2528 Don't define WTF_COMPILER_SUPPORTS_CXX_NULLPTR twice when building with clang on windows.
2529 https://bugs.webkit.org/show_bug.cgi?id=85018
2531 Reviewed by Anders Carlsson.
2533 Clang sets _MSC_VER when compiling for a -pc-win32 target (just like it sets __GNUC__ on unix).
2534 As a result, WTF_COMPILER_SUPPORTS_CXX_NULLPTR gets currently set twice, once for clang and
2535 once for _MSC_VER. Guard the second instance with !COMPILER(CLANG). This matches the gcc code
2536 for WTF_COMPILER_SUPPORTS_CXX_NULLPTR in the same file.
2540 2012-04-26 Antonio Gomes <agomes@rim.com>
2542 [BlackBerry] properly disable DRAG_SUPPORT
2543 https://bugs.webkit.org/show_bug.cgi?id=84952
2545 Reviewed by Daniel Bates.
2547 * wtf/Platform.h: Remove the line that disables drag support from here
2548 for the BlackBerry port.
2550 2012-04-25 Benjamin Poulain <benjamin@webkit.org>
2552 Add a version of StringImpl::find() without offset
2553 https://bugs.webkit.org/show_bug.cgi?id=83968
2555 Reviewed by Sam Weinig.
2557 This patch add a version of StringImpl::find() without offset, Instead of using the default
2558 value for the index.
2560 By not having the index, we can skip a couple of branches and a few instructions. This gives
2561 significant gains when the strings are short-ish.
2563 The case of empty string is moved below (matchLength == 1) since it is a less common operation.
2565 * wtf/text/StringImpl.cpp:
2566 (WTF::StringImpl::find):
2568 * wtf/text/StringImpl.h:
2570 * wtf/text/WTFString.h:
2572 (WTF::String::find):
2574 2012-04-25 Darin Adler <darin@apple.com>
2576 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2577 https://bugs.webkit.org/show_bug.cgi?id=84524
2579 Reviewed by Antti Koivisto.
2581 * wtf/HashMap.h: Added a struct template, HashMapValueTraits, that derives from
2582 PairHashTraits, adds an isEmptyValue function that looks only at the key, not
2583 the mapped value, in the hash table value, and uses the isHashTraitsEmptyValue
2584 function template to check if the key is empty.
2586 2012-04-25 Landry Breuil <landry@openbsd.org>
2588 Include <sys/param.h>, needed for sysctl() on OpenBSD/NetBSD
2589 https://bugs.webkit.org/show_bug.cgi?id=82585
2591 Reviewed by Zoltan Herczeg.
2593 * wtf/NumberOfCores.cpp: include <sys/param.h> on the BSDs
2595 2012-04-25 Kenneth Russell <kbr@google.com>
2597 Delete CanvasPixelArray, ByteArray, JSByteArray and JSC code once unreferenced
2598 https://bugs.webkit.org/show_bug.cgi?id=83655
2600 Reviewed by Oliver Hunt.
2602 * GNUmakefile.list.am:
2605 * WTF.vcproj/WTF.vcproj:
2606 * WTF.xcodeproj/project.pbxproj:
2607 * wtf/ByteArray.cpp: Removed.
2608 * wtf/ByteArray.h: Removed.
2609 * wtf/CMakeLists.txt:
2611 2012-04-25 Philippe Normand <pnormand@igalia.com>
2613 Webkit build fails due to missing gstreamer include file on Kubuntu 8.04
2614 https://bugs.webkit.org/show_bug.cgi?id=81913
2616 Reviewed by Tor Arne Vestbø.
2618 * WTF.pri: GStreamer build support implies GLib support, as it's
2619 done in WebCore.pri.
2621 2012-04-24 Benjamin Poulain <bpoulain@apple.com>
2623 Generalize the single character optimization of r114072
2624 https://bugs.webkit.org/show_bug.cgi?id=83961
2626 Reviewed by Eric Seidel.
2628 This patch makes some improvment over String::find() in the case of lookup for a single
2631 The two function find(UChar|LChar) are replaced by a template.
2633 The case of searching a UChar in a 8bit string has a shortcut if the UChar cannot
2634 possibly match any character in the range of the type LChar.
2636 The slow case StringImpl::find(StringImpl*) is modified to
2637 -Do not allocate in the fast case if only one string is 8bit.
2638 -Use the shortcut for searching UChar in LChar.
2640 This speed up the function by about 7% when avoiding string conversion.
2642 * wtf/text/StringImpl.cpp:
2643 (WTF::StringImpl::find):
2644 * wtf/text/StringImpl.h:
2648 (WTF::StringImpl::find):
2650 2012-04-24 Darin Adler <darin@apple.com>
2652 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2653 https://bugs.webkit.org/show_bug.cgi?id=84524
2655 Reviewed by Antti Koivisto.
2657 Added a new algorithm for checking for empty buckets that can be specialized.
2658 Specialized it for String. We may later want to do the same thing for KURL.
2659 It's not important to do it for AtomicString, since AtomicString's == function
2660 is already a simple pointer equality compare. We may also later want to do
2661 something similar for pairs that have String objects in them.
2664 (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
2665 will do something more efficient for String.
2667 * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
2668 of false. This allows us to continue to get automatic comparison with the appropriate
2669 emptyValue result for all existing traits, but supply a custom isEmptyValue function
2670 for HashTraits<String>. Putting an isEmptyValue function into the traits would require
2671 overriding it in every class that has a custom value for emptyValue. Specialized
2672 HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
2673 isEmptyValue function.
2674 (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
2675 struct to use either == combined with the emptyValue function or the isEmptyValue function.
2677 * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
2678 the bottom of the file.
2679 (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
2680 included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
2682 2012-04-23 Kenneth Russell <kbr@google.com>
2684 Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
2685 https://bugs.webkit.org/show_bug.cgi?id=73011
2687 Reviewed by Oliver Hunt.
2689 * wtf/ArrayBuffer.h:
2691 (WTF::ArrayBuffer::create):
2692 (WTF::ArrayBuffer::createUninitialized):
2694 (WTF::ArrayBufferContents::tryAllocate):
2695 * wtf/TypedArrayBase.h:
2696 (WTF::TypedArrayBase::createUninitialized):
2698 * wtf/Uint8ClampedArray.h:
2699 (Uint8ClampedArray):
2700 (WTF::Uint8ClampedArray::createUninitialized):
2702 (WTF::Uint8ClampedArray::zeroFill):
2704 2012-04-23 George Staikos <staikos@webkit.org>
2706 Enable parallel GC for BlackBerry.
2707 https://bugs.webkit.org/show_bug.cgi?id=84633
2709 Reviewed by Antonio Gomes.
2713 2012-04-23 Sheriff Bot <webkit.review.bot@gmail.com>
2715 Unreviewed, rolling out r114914.
2716 http://trac.webkit.org/changeset/114914
2717 https://bugs.webkit.org/show_bug.cgi?id=84615
2719 Causing infinite hangs on some tests involving HashMaps with
2720 integer keys (Requested by dimich on #webkit).
2723 (WTF::HashTable::isEmptyBucket):
2725 * wtf/text/StringHash.h:
2727 2012-04-23 Darin Adler <darin@apple.com>
2729 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2730 https://bugs.webkit.org/show_bug.cgi?id=84524
2732 Reviewed by Antti Koivisto.
2734 Added a new algorithm for checking for empty buckets that can be specialized.
2735 Specialized it for String. We may later want to do the same thing for KURL.
2736 It's not important to do it for AtomicString, since AtomicString's == function
2737 is already a simple pointer equality compare.
2740 (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
2741 will do something more efficient for String.
2743 * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
2744 of false. This allows us to continue to get automatic comparison with the appropriate
2745 emptyValue result for all existing traits, but supply a custom isEmptyValue function
2746 for HashTraits<String>. Putting an isEmptyValue function into the traits would require
2747 overriding it in every class that has a custom value for emptyValue. Specialized
2748 HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
2749 isEmptyValue function.
2750 (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
2751 struct to use either == combined with the emptyValue function or the isEmptyValue function.
2752 (PairHashTraits): Define hasIsEmptyValueFunction and isEmptyValue.
2754 * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
2755 the bottom of the file.
2756 (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
2757 included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
2759 2012-04-18 Myles Maxfield <mmaxfield@google.com>
2761 Somehow, there's an errant backslash in my last WTF patch
2762 https://bugs.webkit.org/show_bug.cgi?id=84290
2764 Reviewed by Andreas Kling.
2766 * wtf/StdLibExtras.h:
2767 (WTF::roundUpToMultipleOf):
2769 2012-04-16 Nico Weber <thakis@chromium.org>
2771 Make NullPtr.h compile with clang -std=c++11 and libstdc++4.2
2772 https://bugs.webkit.org/show_bug.cgi?id=83999
2774 Reviewed by Sam Weinig.
2776 Before this patch, NullPtr.h assumed that a working |nullptr| implied
2777 a working |std::nullptr_t| as well. With clang and libstdc++4.2, this
2780 I tested (-stdlib=libc++, -stdlib=libstdc++) x (-std=c++11, -std=c++03)
2786 2012-04-14 Sam Weinig <sam@webkit.org>
2788 Harden WTF::ByteArray::create()
2789 https://bugs.webkit.org/show_bug.cgi?id=83318
2791 Reviewed by Maciej Stachowiak.
2793 * wtf/ByteArray.cpp:
2794 (WTF::ByteArray::create):
2795 Add overflow check. I don't believe there is anyway to trigger this currently,
2796 hence no tests, so this should be considered hardening.
2798 2012-04-12 Benjamin Poulain <bpoulain@apple.com>
2800 Inline StringImpl::find(UChar, ...)
2801 https://bugs.webkit.org/show_bug.cgi?id=83737
2803 Reviewed by Geoffrey Garen.
2805 The implementation of StringImpl::find() is a simple branch before invoking one of
2806 two inline functions. The overhead of having a function for StringImpl::find() is significant.
2808 It is better to let the compiler decide if that should be inlined or not.
2810 * wtf/text/StringImpl.cpp:
2811 * wtf/text/StringImpl.h:
2816 (WTF::StringImpl::find):
2817 * wtf/text/WTFString.h:
2819 2012-04-12 Balazs Kelemen <kbalazs@webkit.org>
2821 [Qt] Fix WebKit1 build with V8
2822 https://bugs.webkit.org/show_bug.cgi?id=83322
2824 Reviewed by Adam Barth.
2826 * wtf/StdLibExtras.h:
2829 2012-04-12 Jer Noble <jer.noble@apple.com>
2831 ThreadingWin: Mutex::unlock() can be "over-unlocked".
2832 https://bugs.webkit.org/show_bug.cgi?id=83725
2834 Reviewed by David Levin.
2836 In order to support the behavior of pthread_mutex_trylock(), the Windows Mutex class includes
2837 a recursion counter which is incremented in Mutex::lock(), decremented in Mutex::unlock(),
2838 and checked in Mutex::tryLock(). If the mutex is "over-unlocked", the counter wraps around to
2839 MAX_INT, and subsequent calls to Mutex::trylock() will fail. Raise an ASSERT in this situation
2840 so the "over-unlock" will be caught.
2842 * wtf/ThreadingWin.cpp:
2843 (WTF::Mutex::unlock): ASSERT if unlocking a non-locked mutex.
2845 2012-04-10 Mark Rowe <mrowe@apple.com>
2847 <rdar://problem/10583749> WebKit2 should log to both ASL and stderr
2849 Reviewed by Sam Weinig.
2851 * wtf/Assertions.cpp: Add a WTFLogAlways function that unconditionally logs the given message.
2854 2012-04-10 Patrick Gansterer <paroga@webkit.org>
2856 Cleanup wtf/Platform.h and config.h files
2857 https://bugs.webkit.org/show_bug.cgi?id=83431
2859 Reviewed by Eric Seidel.
2861 The ENABLE() and USE() macros take care about the case when the flag
2862 isn't defined. So there is no need to define anything with 0.
2864 Also move duplicated code from the config.h files to Platform.h and
2865 merge a few preprocessor commands to make the file more readable.
2870 2012-04-10 Filip Pizlo <fpizlo@apple.com>
2872 DFG should flush SetLocals to arguments
2873 https://bugs.webkit.org/show_bug.cgi?id=83554
2875 Reviewed by Gavin Barraclough.
2877 Added an isRoot() method that is a faster shorthand for saying
2881 (WTF::UnionFind::isRoot):
2884 2012-04-10 Adam Klein <adamk@chromium.org>
2886 Remove unused NonNullPassRefPtr from WTF
2887 https://bugs.webkit.org/show_bug.cgi?id=82389
2889 Reviewed by Kentaro Hara.
2891 NonNullPassRefPtr seems to be unused since JSC allocation was
2892 restructured in r84052.
2894 If someone decides they need this later, they can always revert this patch.
2900 2012-04-10 Patrick Gansterer <paroga@webkit.org>
2902 [CMake] Enable USE_FOLDERS property
2903 https://bugs.webkit.org/show_bug.cgi?id=83571
2905 Reviewed by Daniel Bates.
2907 Setting the FOLDER property on targets gives more structure
2908 to the generated Visual Studio solutions.
2909 This does not affect other CMake generators.
2911 * wtf/CMakeLists.txt:
2913 2012-04-09 Patrick Gansterer <paroga@webkit.org>
2915 Port BinarySemaphoreWin.cpp to WinCE
2916 https://bugs.webkit.org/show_bug.cgi?id=83502
2918 Reviewed by Daniel Bates.
2920 Replace WaitForSingleObjectEx with WaitForSingleObject since
2921 the additonal parameter supported by the extended function
2922 is not used anyway and the function does not exist on WinCE.
2924 * wtf/CMakeLists.txt:
2925 * wtf/PlatformWinCE.cmake:
2926 * wtf/threads/win/BinarySemaphoreWin.cpp:
2927 (WTF::BinarySemaphore::wait):
2929 2012-04-09 Patrick Gansterer <paroga@webkit.org>
2931 [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
2933 * wtf/CMakeLists.txt:
2935 2012-04-09 Patrick Gansterer <paroga@webkit.org>
2937 Remove HAVE_STDINT_H
2938 https://bugs.webkit.org/show_bug.cgi?id=83434
2940 Reviewed by Kentaro Hara.
2942 HAVE_STDINT_H is defined with 1 all the time and we us stdint.h without HAVE(STDINT_H) already.
2945 * wtf/FastMalloc.cpp:
2948 * wtf/TCSystemAlloc.cpp:
2950 2012-04-06 Benjamin Poulain <bpoulain@apple.com>
2952 Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION
2953 https://bugs.webkit.org/show_bug.cgi?id=83325
2955 Reviewed by Ryosuke Niwa.
2957 * wtf/Platform.h: Remove the flag.
2959 2012-04-06 Darin Adler <darin@apple.com>
2961 Streamline strtod and fix some related problems
2962 https://bugs.webkit.org/show_bug.cgi?id=82857
2964 Reviewed by Geoffrey Garen.
2966 Replaced the strtod function template with a parseDouble function, eliminating
2967 the following unneeded features:
2969 - need for a trailing null character and a call to strlen
2970 - needless conversion of string lengths from size_t to int and back that created
2971 the possibility of incorrect truncation
2972 - one level of function call; use inlining instead
2973 - construction of the StringToDoubleConverter object; it was used to pass
2974 arguments that are known at compile time
2975 - most of the StringToDoubleConverter::StringToDouble function's body; it was
2976 code we did not need
2977 - parsing of Infinity and NaN at the strtod level; added recently when we moved
2978 from the old strtod to the new one, and not needed or helpful at this level
2979 - multiple copies of code to narrow to single byte strings; in many cases
2980 this was done even when starting with an LChar string that is already
2981 single-byte, now we handle this with an overload of parseDouble
2984 Removed a long comment about the original strtod function that no longer
2985 applies since we deleted that function long ago. Removed a lot of includes.
2986 Removed the strtod function templates and its instantiations, since they
2987 are now replaced by the parseDouble function.
2988 (WTF::Internal::parseDoubleFromLongString): Added.
2990 Added an include of ASCIICType.h so we can use isASCII in a function in this
2991 header. Left the heretofore unneeded include of double-conversion.h, since we
2992 now want to use it in a function in this header. Removed the AllowTrailingJunkTag
2993 and AllowTrailingSpacesTag enumerations and the strtod function template. Added
2994 new parseDouble function, and inline implementation of it.
2996 * wtf/dtoa/double-conversion.cc: Removed quite a bit of unused code, hardcoding
2997 all the StringToDouble function arguments that come from data members so it can
2998 be a much smaller static member function. Also changed the types of arguments
3000 * wtf/dtoa/double-conversion.h: Removed most of the StringToDoubleConverter
3001 class, leaving only the conversion function as a static member function.
3003 * wtf/text/StringImpl.cpp:
3004 (WTF::StringImpl::toDouble): Got rid of didReadNumber.
3005 (WTF::StringImpl::toFloat): Ditto.
3006 * wtf/text/StringImpl.h: Ditto.
3007 * wtf/text/WTFString.cpp:
3008 (WTF::String::toDouble): Got rid of didReadNumber.
3009 (WTF::String::toFloat): Ditto.
3010 (WTF::toDoubleType): Rewrote this function to use parseDouble. Moved the code
3011 to skip leading spaces here, because other callers of parseDouble don't want
3012 to do that. Repurposed the check for an empty string so it's now the same
3013 code shared by all the "parsed nothing" cases. Removed the code to convert
3014 the buffer to ASCII for two reasons: (1) We don't need that code at all when
3015 CharType is LChar, and (2) We now handle this through the two overloads for
3016 the parseDouble function. Disallowing trailing junk is now handled here,
3017 rather than inside parseDouble.
3018 (WTF::charactersToDouble): Updated for changes to toDoubleType. Removed the
3019 didReadNumber argument.
3020 (WTF::charactersToFloat): Ditto. Also added overloads that return the parsed
3021 length. These are a slightly more powerful way to do what didReadNumber was
3024 * wtf/text/WTFString.h: Added comments, eliminated didReadNumber, and added
3025 overloads of charactersToFloat that replace charactersToFloatIgnoringJunk.
3027 2012-04-05 Patrick Gansterer <paroga@webkit.org>
3029 [WinCE] Remove unnecessary function decleration
3030 https://bugs.webkit.org/show_bug.cgi?id=83155
3032 Reviewed by Kentaro Hara.
3037 2012-04-04 Patrick Gansterer <paroga@webkit.org>
3039 Add WTF::getCurrentLocalTime()
3040 https://bugs.webkit.org/show_bug.cgi?id=83164
3042 Reviewed by Alexey Proskuryakov.
3044 Replace the calls to WTF::getLocalTime() with time(0) with the new function.
3045 This allows us to use Win32 API on windows to get the same result in a next step.
3047 Also remove the inline keyword from WTF::getLocalTime(), since there is no need for
3048 it and it will make the later Win32 API changes easier.
3051 * wtf/CurrentTime.cpp:
3052 (WTF::getLocalTime):
3053 (WTF::getCurrentLocalTime):
3054 * wtf/CurrentTime.h:
3056 2012-04-04 Chris Rogers <crogers@google.com>
3058 Web Audio should use MutexTryLocker class
3059 https://bugs.webkit.org/show_bug.cgi?id=83194
3061 Reviewed by Kenneth Russell.
3063 Add MutexTryLocker class which can be used as a stack-based object wrapping a Mutex.
3064 It will automatically unlock the Mutex in its destructor if the tryLock() succeeded.
3066 * wtf/ThreadingPrimitives.h:
3068 (WTF::MutexTryLocker::MutexTryLocker):
3069 (WTF::MutexTryLocker::~MutexTryLocker):
3070 (WTF::MutexTryLocker::locked):
3071 Check if the tryLock() on the Mutex succeeded.
3074 2012-04-04 Kausalya Madhusudhanan <kmadhusu@chromium.org>
3076 [Coverity] Address some uninit constructor values.
3077 https://bugs.webkit.org/show_bug.cgi?id=82424
3079 Reviewed by Stephen White.
3081 New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
3083 * wtf/ArrayBufferView.cpp:
3084 (WTF::ArrayBufferView::ArrayBufferView):
3086 2012-03-30 David Barr <davidbarr@chromium.org>
3088 Split up top-level .gitignore and .gitattributes
3089 https://bugs.webkit.org/show_bug.cgi?id=82687
3091 Reviewed by Tor Arne Vestbø.
3093 * WTF.gyp/.gitignore: Added.
3095 2012-03-29 Kevin Ollivier <kevino@theolliviers.com>
3097 [wx] Unreviewed build fix. Add export symbols needed to
3098 build wx under Windows.
3101 * wtf/ParallelJobsGeneric.h:
3102 (ParallelEnvironment):
3103 * wtf/ThreadSpecific.h:
3106 2012-03-29 Kevin Ollivier <kevino@theolliviers.com>
3108 [wx] Unreviewed build fix. Add WTF_EXPORT_PRIVATE_NO_RTTI
3109 so that ports not using RTTI can add symbol exports to
3110 classes that RTTI ports export with WTF_EXPORT_PRIVATE_RTTI.
3112 * wtf/ArrayBufferView.h:
3113 * wtf/ExportMacros.h:
3115 2012-03-29 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3117 HashMap<>::add should return a more descriptive object
3118 https://bugs.webkit.org/show_bug.cgi?id=71063
3120 Reviewed by Ryosuke Niwa.
3122 Make HashTable<>::add() and derivate functions return an AddResult struct instead
3123 of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
3124 more readable at callsites than previous 'first' and 'second'.
3126 * wtf/HashCountedSet.h:
3138 (WTF::HashTableAddResult::HashTableAddResult):
3139 (HashTableAddResult):
3142 (WTF::HashTable::add):
3144 (WTF::::addPassingHashCode):
3145 * wtf/ListHashSet.h:
3148 (WTF::::insertBefore):
3149 * wtf/RefPtrHashMap.h:
3153 (WTF::Spectrum::add):
3154 * wtf/WTFThreadData.cpp:
3155 (JSC::IdentifierTable::add):
3156 * wtf/WTFThreadData.h:
3158 * wtf/text/AtomicString.cpp:
3159 (WTF::addToStringTable):
3160 (WTF::AtomicString::addSlowCase):
3162 2012-03-29 Andreas Kling <kling@webkit.org>
3164 String: Subscript operator shouldn't force conversion to 16-bit characters.
3165 <http://webkit.org/b/82613>
3167 Reviewed by Anders Carlsson.
3169 Forward String::operator[] to StringImpl::operator[] instead of indexing into characters().
3170 This avoid implicit conversion of 8-bit strings to 16-bit, and as an example, reduces memory
3171 usage on http://www.allthingsd.com/ by 360kB.
3173 * wtf/text/WTFString.h:
3174 (WTF::String::operator[]):
3176 2012-03-28 Carlos Garcia Campos <cgarcia@igalia.com>
3178 [GTK] Implement PlatformStrategies
3179 https://bugs.webkit.org/show_bug.cgi?id=82454
3181 Reviewed by Xan Lopez.
3183 * wtf/Platform.h: Define WTF_USE_PLATFORM_STRATEGIES for GTK+
3186 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
3188 Set eol-style: native on WTF.sln per Ryan Sleevi's request.
3190 * WTF.vcproj/WTF.sln: Added property svn:eol-style.
3192 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
3194 Chromium build fix; add BitVector.h/cpp to gypi.
3198 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
3200 Touch BitVector as a speculative fix for Chromium Linux.
3205 2012-03-23 Ryosuke Niwa <rniwa@webkit.org>
3207 cssText should use shorthand notations
3208 https://bugs.webkit.org/show_bug.cgi?id=81737
3210 Reviewed by Enrica Casucci.
3214 (WTF::BitVector::ensureSizeAndSet): Added.
3216 2012-03-26 Carlos Garcia Campos <cgarcia@igalia.com>
3218 Unreviewed. Fix make distcheck.
3220 * GNUmakefile.list.am: Add config.h to the source file list.
3222 2012-03-25 Kevin Ollivier <kevino@theolliviers.com>
3224 [wx] Unreviewed build fix. Move WTF to its own static lib build.
3228 2012-03-23 Tony Chang <tony@chromium.org>
3230 [chromium] Unreviewed, move a comment closer to where it matters and
3231 make it more specific.
3235 2012-03-23 Steve Falkenburg <sfalken@apple.com>
3237 Update Apple Windows build files for WTF move
3238 https://bugs.webkit.org/show_bug.cgi?id=82069
3240 Reviewed by Jessie Berlin.
3242 * WTF.vcproj/WTF.make: Added.
3243 * WTF.vcproj/WTF.sln: Added.
3245 2012-03-23 Dean Jackson <dino@apple.com>
3247 Disable CSS_SHADERS in Apple builds
3248 https://bugs.webkit.org/show_bug.cgi?id=81996
3250 Reviewed by Simon Fraser.
3252 Put ENABLE_CSS_SHADERS into Platform.h, but disable for
3257 2012-03-23 Tony Chang <tony@chromium.org>
3259 [chromium] rename newwtf target back to wtf
3260 https://bugs.webkit.org/show_bug.cgi?id=82064
3262 Reviewed by Adam Barth.
3266 2012-03-22 Jessie Berlin <jberlin@apple.com>
3268 Windows build fix after r111778.
3270 * WTF.vcproj/WTF.vcproj:
3271 DateMath.h and DateMath.cpp should be built by WTF, since they are part of WTF.
3273 2012-03-22 Raphael Kubo da Costa <rakuco@FreeBSD.org>
3275 [CMake] Unreviewed build fix after r111778.
3277 * CMakeLists.txt: Added.
3278 * wtf/CMakeLists.txt: Add ${CMAKE_BINARY_DIR} to the include paths
3279 for cmakeconfig.h to be found.
3281 2012-03-22 Tony Chang <tony@chromium.org>
3283 Unreviewed, attempt to fix the chromium-win build and another attempt
3284 at fixing the chromium-android build.
3288 2012-03-22 Tony Chang <tony@chromium.org>
3290 Unreviewed, attempt to fix chromium-android build.
3294 2012-03-22 Tony Chang <tony@chromium.org>
3296 Unreviewed, fix chromium build after wtf move.
3298 Move wtf_config and wtf settings to newwtf.
3302 2012-03-22 Martin Robinson <mrobinson@igalia.com>
3304 One more GTK+ build fix after r111778.
3306 * GNUmakefile.am: Adding missing include path.
3308 2012-03-22 Martin Robinson <mrobinson@igalia.com>
3310 Fixed the GTK+ WTF/JavaScriptCore build after r111778.
3312 * GNUmakefile.am: Remove some extra trailing backslashes and a few uncessary
3314 * GNUmakefile.list.am: Ditto.
3316 2012-03-22 Dan Bernstein <mitz@apple.com>
3318 Fixed the JavaScriptCore debug build after r111778.
3320 * WTF.xcodeproj/project.pbxproj: Use debug DEBUG_DEFINES when building
3321 the Debug configuration.
3323 2012-03-22 Csaba Osztrogonác <ossy@webkit.org>
3325 Actually move WTF files to their new home
3326 https://bugs.webkit.org/show_bug.cgi?id=81844
3328 [Qt] Unreviewed buildfix after r111778.
3332 2012-03-22 Eric Seidel <eric@webkit.org>
3334 Actually move WTF files to their new home
3335 https://bugs.webkit.org/show_bug.cgi?id=81844
3337 Unreviewed attempt to fix AppleWin.
3339 * WTF.vcproj/WTFCommon.vsprops:
3341 2012-03-22 Eric Seidel <eric@webkit.org>
3343 Actually move WTF files to their new home
3344 https://bugs.webkit.org/show_bug.cgi?id=81844
3346 Unreviewed. The 5MB file move is not very reviewable,
3347 but various port representatives have OK'd changes to the
3348 individual build systems.
3350 * Configurations/WTF.xcconfig:
3351 * GNUmakefile.list.am:
3352 * Stub.cpp: Removed.
3357 * WTF.vcproj/WTF.vcproj:
3358 * WTF.vcproj/copy-files.cmd:
3359 * WTF.xcodeproj/project.pbxproj:
3361 * wtf/ASCIICType.h: Renamed from Source/JavaScriptCore/wtf/ASCIICType.h.
3364 (WTF::isASCIIAlpha):
3365 (WTF::isASCIIDigit):
3366 (WTF::isASCIIAlphanumeric):
3367 (WTF::isASCIIHexDigit):
3368 (WTF::isASCIILower):
3369 (WTF::isASCIIOctalDigit):
3370 (WTF::isASCIIPrintable):
3371 (WTF::isASCIISpace):
3372 (WTF::isASCIIUpper):
3373 (WTF::toASCIILower):
3374 (WTF::toASCIILowerUnchecked):
3375 (WTF::toASCIIUpper):
3376 (WTF::toASCIIHexValue):
3377 (WTF::lowerNibbleToASCIIHexDigit):
3378 (WTF::upperNibbleToASCIIHexDigit):
3379 (WTF::isASCIIAlphaCaselessEqual):
3380 * wtf/AVLTree.h: Renamed from Source/JavaScriptCore/wtf/AVLTree.h.
3382 (AVLTreeDefaultBSet):
3383 (WTF::AVLTreeDefaultBSet::operator[]):
3384 (WTF::AVLTreeDefaultBSet::set):
3385 (WTF::AVLTreeDefaultBSet::reset):
3387 (WTF::AVLTree::abstractor):
3388 (WTF::AVLTree::purge):
3389 (WTF::AVLTree::is_empty):
3390 (WTF::AVLTree::AVLTree):
3392 (WTF::AVLTree::Iterator::Iterator):
3393 (WTF::AVLTree::Iterator::start_iter):
3394 (WTF::AVLTree::Iterator::start_iter_least):
3395 (WTF::AVLTree::Iterator::start_iter_greatest):
3396 (WTF::AVLTree::Iterator::operator*):
3397 (WTF::AVLTree::Iterator::operator++):
3398 (WTF::AVLTree::Iterator::operator--):
3399 (WTF::AVLTree::Iterator::cmp_k_n):
3400 (WTF::AVLTree::Iterator::cmp_n_n):
3401 (WTF::AVLTree::Iterator::get_lt):
3402 (WTF::AVLTree::Iterator::get_gt):
3403 (WTF::AVLTree::Iterator::null):
3404 (WTF::AVLTree::build):
3406 (WTF::AVLTree::get_lt):
3407 (WTF::AVLTree::set_lt):
3408 (WTF::AVLTree::get_gt):
3409 (WTF::AVLTree::set_gt):
3410 (WTF::AVLTree::get_bf):
3411 (WTF::AVLTree::set_bf):
3412 (WTF::AVLTree::cmp_k_n):
3413 (WTF::AVLTree::cmp_n_n):
3414 (WTF::AVLTree::null):
3415 (WTF::AVLTree::balance):
3418 (WTF::::search_least):
3419 (WTF::::search_greatest):
3422 * wtf/Alignment.h: Renamed from Source/JavaScriptCore/wtf/Alignment.h.
3425 * wtf/AlwaysInline.h: Renamed from Source/JavaScriptCore/wtf/AlwaysInline.h.
3426 * wtf/ArrayBuffer.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.cpp.
3428 (WTF::ArrayBuffer::transfer):
3429 (WTF::ArrayBuffer::addView):
3430 (WTF::ArrayBuffer::removeView):
3431 * wtf/ArrayBuffer.h: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.h.
3433 (ArrayBufferContents):
3434 (WTF::ArrayBufferContents::ArrayBufferContents):
3435 (WTF::ArrayBufferContents::data):
3436 (WTF::ArrayBufferContents::sizeInBytes):
3437 (WTF::ArrayBufferContents::transfer):
3439 (WTF::ArrayBuffer::isNeutered):
3440 (WTF::ArrayBuffer::~ArrayBuffer):
3441 (WTF::ArrayBuffer::clampValue):
3442 (WTF::ArrayBuffer::create):
3443 (WTF::ArrayBuffer::ArrayBuffer):
3444 (WTF::ArrayBuffer::data):
3445 (WTF::ArrayBuffer::byteLength):
3446 (WTF::ArrayBuffer::slice):
3447 (WTF::ArrayBuffer::sliceImpl):
3448 (WTF::ArrayBuffer::clampIndex):
3449 (WTF::ArrayBufferContents::tryAllocate):
3450 (WTF::ArrayBufferContents::~ArrayBufferContents):
3451 * wtf/ArrayBufferView.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.cpp.
3453 (WTF::ArrayBufferView::ArrayBufferView):
3454 (WTF::ArrayBufferView::~ArrayBufferView):
3455 (WTF::ArrayBufferView::neuter):
3456 * wtf/ArrayBufferView.h: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.h.
3458 (WTF::ArrayBufferView::setImpl):
3459 (WTF::ArrayBufferView::setRangeImpl):
3460 (WTF::ArrayBufferView::zeroRangeImpl):
3461 (WTF::ArrayBufferView::calculateOffsetAndLength):
3462 * wtf/Assertions.cpp: Renamed from Source/JavaScriptCore/wtf/Assertions.cpp.
3463 * wtf/Assertions.h: Renamed from Source/JavaScriptCore/wtf/Assertions.h.
3465 (assertWithMessageUnused):
3466 * wtf/Atomics.h: Renamed from Source/JavaScriptCore/wtf/Atomics.h.
3468 (WTF::atomicIncrement):
3469 (WTF::atomicDecrement):
3470 (WTF::weakCompareAndSwap):
3471 (WTF::weakCompareAndSwapUIntPtr):
3472 * wtf/BitVector.cpp: Renamed from Source/JavaScriptCore/wtf/BitVector.cpp.
3474 (WTF::BitVector::setSlow):
3475 (WTF::BitVector::resize):
3476 (WTF::BitVector::clearAll):
3477 (WTF::BitVector::OutOfLineBits::create):
3478 (WTF::BitVector::OutOfLineBits::destroy):
3479 (WTF::BitVector::resizeOutOfLine):
3480 (WTF::BitVector::dump):
3481 * wtf/BitVector.h: Renamed from Source/JavaScriptCore/wtf/BitVector.h.
3484 (WTF::BitVector::BitVector):
3485 (WTF::BitVector::~BitVector):
3486 (WTF::BitVector::operator=):
3487 (WTF::BitVector::size):
3488 (WTF::BitVector::ensureSize):
3489 (WTF::BitVector::quickGet):
3490 (WTF::BitVector::quickSet):
3491 (WTF::BitVector::quickClear):
3492 (WTF::BitVector::get):
3493 (WTF::BitVector::set):
3494 (WTF::BitVector::clear):
3495 (WTF::BitVector::bitsInPointer):
3496 (WTF::BitVector::maxInlineBits):
3497 (WTF::BitVector::byteCount):
3498 (WTF::BitVector::makeInlineBits):
3500 (WTF::BitVector::OutOfLineBits::numBits):
3501 (WTF::BitVector::OutOfLineBits::numWords):
3502 (WTF::BitVector::OutOfLineBits::bits):
3503 (WTF::BitVector::OutOfLineBits::OutOfLineBits):
3504 (WTF::BitVector::isInline):
3505 (WTF::BitVector::outOfLineBits):
3506 (WTF::BitVector::bits):
3507 * wtf/Bitmap.h: Renamed from Source/JavaScriptCore/wtf/Bitmap.h.
3513 (WTF::::testAndSet):
3514 (WTF::::testAndClear):
3515 (WTF::::concurrentTestAndSet):
3516 (WTF::::concurrentTestAndClear):
3519 (WTF::::nextPossiblyUnset):
3520 (WTF::::findRunOfZeros):
3524 * wtf/BlockStack.h: Renamed from Source/JavaScriptCore/wtf/BlockStack.h.
3527 (WTF::::BlockStack):
3528 (WTF::::~BlockStack):
3532 * wtf/BloomFilter.h: Renamed from Source/JavaScriptCore/wtf/BloomFilter.h.
3535 (WTF::BloomFilter::maximumCount):
3536 (WTF::BloomFilter::BloomFilter):
3537 (WTF::BloomFilter::mayContain):
3538 (WTF::BloomFilter::add):
3539 (WTF::BloomFilter::remove):
3540 (WTF::BloomFilter::firstSlot):
3541 (WTF::BloomFilter::secondSlot):
3545 (WTF::::likelyEmpty):
3547 * wtf/BoundsCheckedPointer.h: Renamed from Source/JavaScriptCore/wtf/BoundsCheckedPointer.h.
3549 (BoundsCheckedPointer):
3550 (WTF::BoundsCheckedPointer::BoundsCheckedPointer):
3551 (WTF::BoundsCheckedPointer::operator=):
3552 (WTF::BoundsCheckedPointer::operator+=):
3553 (WTF::BoundsCheckedPointer::operator-=):
3554 (WTF::BoundsCheckedPointer::operator+):
3555 (WTF::BoundsCheckedPointer::operator-):
3556 (WTF::BoundsCheckedPointer::operator++):
3557 (WTF::BoundsCheckedPointer::operator--):
3558 (WTF::BoundsCheckedPointer::operator<):
3559 (WTF::BoundsCheckedPointer::operator<=):
3560 (WTF::BoundsCheckedPointer::operator>):
3561 (WTF::BoundsCheckedPointer::operator>=):
3562 (WTF::BoundsCheckedPointer::operator==):
3563 (WTF::BoundsCheckedPointer::operator!=):
3564 (WTF::BoundsCheckedPointer::operator!):
3565 (WTF::BoundsCheckedPointer::get):
3566 (WTF::BoundsCheckedPointer::operator*):
3567 (WTF::BoundsCheckedPointer::operator[]):
3568 (WTF::BoundsCheckedPointer::strcat):
3569 (WTF::BoundsCheckedPointer::validate):
3570 * wtf/BumpPointerAllocator.h: Renamed from Source/JavaScriptCore/wtf/BumpPointerAllocator.h.
3573 (WTF::BumpPointerPool::ensureCapacity):
3574 (WTF::BumpPointerPool::alloc):
3575 (WTF::BumpPointerPool::dealloc):
3576 (WTF::BumpPointerPool::operator new):
3577 (WTF::BumpPointerPool::BumpPointerPool):
3578 (WTF::BumpPointerPool::create):
3579 (WTF::BumpPointerPool::shrink):
3580 (WTF::BumpPointerPool::destroy):
3581 (WTF::BumpPointerPool::ensureCapacityCrossPool):
3582 (WTF::BumpPointerPool::deallocCrossPool):
3583 (BumpPointerAllocator):
3584 (WTF::BumpPointerAllocator::BumpPointerAllocator):
3585 (WTF::BumpPointerAllocator::~BumpPointerAllocator):
3586 (WTF::BumpPointerAllocator::startAllocator):
3587 (WTF::BumpPointerAllocator::stopAllocator):
3588 * wtf/ByteArray.cpp: Renamed from Source/JavaScriptCore/wtf/ByteArray.cpp.
3590 (WTF::ByteArray::create):
3591 * wtf/ByteArray.h: Renamed from Source/JavaScriptCore/wtf/ByteArray.h.
3593 (WTF::ByteArray::length):
3594 (WTF::ByteArray::set):
3595 (WTF::ByteArray::get):
3596 (WTF::ByteArray::data):
3597 (WTF::ByteArray::clear):
3598 (WTF::ByteArray::deref):
3599 (WTF::ByteArray::offsetOfSize):
3600 (WTF::ByteArray::offsetOfData):
3601 (WTF::ByteArray::ByteArray):
3602 * wtf/CMakeLists.txt: Renamed from Source/JavaScriptCore/wtf/CMakeLists.txt.
3603 * wtf/CONTRIBUTORS.pthreads-win32: Renamed from Source/JavaScriptCore/wtf/CONTRIBUTORS.pthreads-win32.
3604 * wtf/CheckedArithmetic.h: Renamed from Source/JavaScriptCore/wtf/CheckedArithmetic.h.
3607 (WTF::CrashOnOverflow::overflowed):
3608 (WTF::CrashOnOverflow::clearOverflow):
3609 (WTF::CrashOnOverflow::hasOverflowed):
3611 (WTF::RecordOverflow::RecordOverflow):
3612 (WTF::RecordOverflow::overflowed):
3613 (WTF::RecordOverflow::clearOverflow):
3614 (WTF::RecordOverflow::hasOverflowed):
3619 (WTF::safeMultiply):
3621 (WTF::workAroundClangBug):
3623 (WTF::Checked::Checked):
3624 (WTF::Checked::operator=):
3625 (WTF::Checked::operator++):
3626 (WTF::Checked::operator--):
3627 (WTF::Checked::operator!):
3628 (WTF::Checked::operator UnspecifiedBoolType*):
3629 (WTF::Checked::unsafeGet):
3630 (WTF::Checked::operator+=):
3631 (WTF::Checked::operator-=):
3632 (WTF::Checked::operator*=):
3633 (WTF::Checked::operator==):
3634 (WTF::Checked::operator!=):
3638 * wtf/CheckedBoolean.h: Renamed from Source/JavaScriptCore/wtf/CheckedBoolean.h.
3640 (CheckedBoolean::CheckedBoolean):
3641 (CheckedBoolean::~CheckedBoolean):
3642 (CheckedBoolean::operator bool):
3643 * wtf/Compiler.h: Renamed from Source/JavaScriptCore/wtf/Compiler.h.
3644 * wtf/Complex.h: Renamed from Source/JavaScriptCore/wtf/Complex.h.
3646 (WTF::complexFromMagnitudePhase):
3647 * wtf/CryptographicallyRandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp.
3648 (WTF::cryptographicallyRandomNumber):
3650 (WTF::cryptographicallyRandomValues):
3651 * wtf/CryptographicallyRandomNumber.h: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.h.
3653 * wtf/CurrentTime.cpp: Renamed from Source/JavaScriptCore/wtf/CurrentTime.cpp.
3655 (WTF::highResUpTime):
3656 (WTF::lowResUTCTime):
3657 (WTF::qpcAvailable):
3659 (WTF::currentSystemTime):
3660 (WTF::monotonicallyIncreasingTime):
3661 * wtf/CurrentTime.h: Renamed from Source/JavaScriptCore/wtf/CurrentTime.h.
3663 (WTF::currentTimeMS):
3664 (WTF::getLocalTime):
3665 * wtf/DataLog.cpp: Renamed from Source/JavaScriptCore/wtf/DataLog.cpp.
3667 (WTF::initializeLogFileOnce):
3668 (WTF::initializeLogFile):
3672 * wtf/DataLog.h: Renamed from Source/JavaScriptCore/wtf/DataLog.h.
3674 * wtf/DateMath.cpp: Renamed from Source/JavaScriptCore/wtf/DateMath.cpp.
3678 (WTF::daysFrom1970ToYear):
3680 (WTF::twoDigitStringFromNumber):
3683 (WTF::msToMilliseconds):
3686 (WTF::monthFromDayInYear):
3688 (WTF::dayInMonthFromDayInYear):
3689 (WTF::monthToDayInYear):
3690 (WTF::dateToDaysFrom1970):
3691 (WTF::maximumYearForDST):
3692 (WTF::minimumYearForDST):
3693 (WTF::equivalentYearForDST):
3694 (WTF::calculateUTCOffset):
3695 (WTF::calculateDSTOffsetSimple):
3696 (WTF::calculateDSTOffset):
3697 (WTF::initializeDates):
3698 (WTF::ymdhmsToSeconds):
3700 (WTF::skipSpacesAndComments):
3703 (WTF::parseES5DatePortion):
3704 (WTF::parseES5TimePortion):
3705 (WTF::parseES5DateFromNullTerminatedCharacters):
3706 (WTF::parseDateFromNullTerminatedCharacters):
3708 (WTF::makeRFC2822DateString):
3709 * wtf/DateMath.h: Renamed from Source/JavaScriptCore/wtf/DateMath.h.
3711 (WTF::jsCurrentTime):
3712 * wtf/DecimalNumber.cpp: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.cpp.
3714 (WTF::DecimalNumber::bufferLengthForStringDecimal):
3715 (WTF::DecimalNumber::bufferLengthForStringExponential):
3716 (WTF::DecimalNumber::toStringDecimal):
3717 (WTF::DecimalNumber::toStringExponential):
3718 * wtf/DecimalNumber.h: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.h.
3721 (WTF::DecimalNumber::DecimalNumber):
3722 (WTF::DecimalNumber::sign):
3723 (WTF::DecimalNumber::exponent):
3724 (WTF::DecimalNumber::significand):
3725 (WTF::DecimalNumber::precision):
3726 * wtf/Decoder.h: Renamed from Source/JavaScriptCore/wtf/Decoder.h.
3729 (WTF::Decoder::Decoder):
3730 (WTF::Decoder::~Decoder):
3731 * wtf/Deque.h: Renamed from Source/JavaScriptCore/wtf/Deque.h.
3735 (WTF::Deque::isEmpty):
3736 (WTF::Deque::begin):
3738 (WTF::Deque::rbegin):
3740 (WTF::Deque::first):
3742 (DequeIteratorBase):
3743 (WTF::DequeIteratorBase::assign):
3745 (WTF::DequeIterator::DequeIterator):
3746 (WTF::DequeIterator::operator=):
3747 (WTF::DequeIterator::operator*):
3748 (WTF::DequeIterator::operator->):
3749 (WTF::DequeIterator::operator==):
3750 (WTF::DequeIterator::operator!=):
3751 (WTF::DequeIterator::operator++):
3752 (WTF::DequeIterator::operator--):
3753 (DequeConstIterator):
3754 (WTF::DequeConstIterator::DequeConstIterator):
3755 (WTF::DequeConstIterator::operator=):
3756 (WTF::DequeConstIterator::operator*):
3757 (WTF::DequeConstIterator::operator->):
3758 (WTF::DequeConstIterator::operator==):
3759 (WTF::DequeConstIterator::operator!=):
3760 (WTF::DequeConstIterator::operator++):
3761 (WTF::DequeConstIterator::operator--):
3762 (DequeReverseIterator):
3763 (WTF::DequeReverseIterator::DequeReverseIterator):
3764 (WTF::DequeReverseIterator::operator=):
3765 (WTF::DequeReverseIterator::operator*):
3766 (WTF::DequeReverseIterator::operator->):
3767 (WTF::DequeReverseIterator::operator==):
3768 (WTF::DequeReverseIterator::operator!=):
3769 (WTF::DequeReverseIterator::operator++):
3770 (WTF::DequeReverseIterator::operator--):
3771 (DequeConstReverseIterator):
3772 (WTF::DequeConstReverseIterator::DequeConstReverseIterator):
3773 (WTF::DequeConstReverseIterator::operator=):
3774 (WTF::DequeConstReverseIterator::operator*):
3775 (WTF::DequeConstReverseIterator::operator->):
3776 (WTF::DequeConstReverseIterator::operator==):
3777 (WTF::DequeConstReverseIterator::operator!=):
3778 (WTF::DequeConstReverseIterator::operator++):
3779 (WTF::DequeConstReverseIterator::operator--):
3780 (WTF::::checkValidity):
3781 (WTF::::checkIndexValidity):
3782 (WTF::::invalidateIterators):
3784 (WTF::deleteAllValues):
3786 (WTF::::destroyAll):
3791 (WTF::::expandCapacityIfNeeded):
3792 (WTF::::expandCapacity):
3796 (WTF::::removeFirst):
3798 (WTF::::addToIteratorsList):
3799 (WTF::::removeFromIteratorsList):
3800 (WTF::::DequeIteratorBase):
3801 (WTF::::~DequeIteratorBase):
3807 * wtf/DisallowCType.h: Renamed from Source/JavaScriptCore/wtf/DisallowCType.h.
3808 * wtf/DoublyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/DoublyLinkedList.h.
3810 (DoublyLinkedListNode):
3811 (WTF::::DoublyLinkedListNode):
3817 (WTF::::DoublyLinkedList):
3826 (WTF::::removeHead):
3827 * wtf/DynamicAnnotations.cpp: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.cpp.
3828 (WTFAnnotateBenignRaceSized):
3829 (WTFAnnotateHappensBefore):
3830 (WTFAnnotateHappensAfter):
3831 * wtf/DynamicAnnotations.h: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.h.
3832 * wtf/Encoder.h: Renamed from Source/JavaScriptCore/wtf/Encoder.h.
3835 (WTF::Encoder::Encoder):
3836 (WTF::Encoder::~Encoder):
3837 * wtf/ExportMacros.h: Renamed from Source/JavaScriptCore/wtf/ExportMacros.h.
3838 * wtf/FastAllocBase.h: Renamed from Source/JavaScriptCore/wtf/FastAllocBase.h.
3842 (WTF::Internal::NewArrayImpl::fastNewArray):
3843 (WTF::fastNewArray):
3845 (WTF::fastDeleteSkippingDestructor):
3846 (WTF::Internal::DeleteArrayImpl::fastDeleteArray):
3847 (WTF::fastDeleteArray):
3848 (WTF::fastNonNullDelete):
3849 (WTF::Internal::NonNullDeleteArrayImpl::fastNonNullDeleteArray):
3850 (WTF::fastNonNullDeleteArray):
3851 * wtf/FastMalloc.cpp: Renamed from Source/JavaScriptCore/wtf/FastMalloc.cpp.
3854 (WTF::fastMallocForbid):
3855 (WTF::fastMallocAllow):
3856 (WTF::initializeIsForbiddenKey):
3858 (WTF::Internal::fastMallocMatchFailed):
3859 (WTF::fastZeroedMalloc):
3861 (WTF::tryFastZeroedMalloc):
3862 (WTF::tryFastMalloc):
3864 (WTF::tryFastCalloc):
3867 (WTF::tryFastRealloc):
3869 (WTF::releaseFastMallocFreeMemory):
3870 (WTF::fastMallocStatistics):
3871 (WTF::fastMallocSize):
3873 (WTF::FastMallocZone::goodSize):
3874 (WTF::FastMallocZone::check):
3875 (WTF::FastMallocZone::print):
3876 (WTF::FastMallocZone::log):
3877 (WTF::FastMallocZone::forceLock):
3878 (WTF::FastMallocZone::forceUnlock):
3879 (WTF::FastMallocZone::statistics):
3880 (WTF::FastMallocZone::zoneValloc):
3881 (WTF::FastMallocZone::zoneDestroy):
3882 (WTF::KernelSupportsTLS):
3883 (WTF::CheckIfKernelSupportsTLS):
3891 (WTF::SLL_PopRange):
3892 (WTF::SLL_PushRange):
3895 (WTF::ByteSizeForClass):
3897 (WTF::InitSizeClasses):
3898 (WTF::MetaDataAlloc):
3899 (PageHeapAllocator):
3900 (WTF::PageHeapAllocator::Init):
3901 (WTF::PageHeapAllocator::New):
3902 (WTF::PageHeapAllocator::Delete):
3903 (WTF::PageHeapAllocator::inuse):
3904 (WTF::PageHeapAllocator::recordAdministrativeRegions):
3906 (WTF::AllocationSize):
3919 (TCMalloc_PageHeap):
3920 (WTF::TCMalloc_PageHeap::GetDescriptor):
3921 (WTF::TCMalloc_PageHeap::GetDescriptorEnsureSafe):
3922 (WTF::TCMalloc_PageHeap::SystemBytes):
3923 (WTF::TCMalloc_PageHeap::FreeBytes):
3924 (WTF::TCMalloc_PageHeap::GetSizeClassIfCached):
3925 (WTF::TCMalloc_PageHeap::CacheSizeClass):
3927 (WTF::TCMalloc_PageHeap::RecordSpan):
3928 (WTF::TCMalloc_PageHeap::init):
3929 (WTF::TCMalloc_PageHeap::initializeScavenger):
3930 (WTF::TCMalloc_PageHeap::isScavengerSuspended):
3931 (WTF::TCMalloc_PageHeap::scheduleScavenger):
3932 (WTF::TCMalloc_PageHeap::rescheduleScavenger):
3933 (WTF::TCMalloc_PageHeap::suspendScavenger):
3934 (WTF::TCMalloc_PageHeap::scavengerTimerFired):
3935 (WTF::TCMalloc_PageHeap::runScavengerThread):
3936 (WTF::TCMalloc_PageHeap::signalScavenger):
3937 (WTF::TCMalloc_PageHeap::scavenge):
3938 (WTF::TCMalloc_PageHeap::shouldScavenge):
3939 (WTF::TCMalloc_PageHeap::New):
3940 (WTF::TCMalloc_PageHeap::AllocLarge):
3941 (WTF::TCMalloc_PageHeap::Split):
3942 (WTF::TCMalloc_PageHeap::Carve):
3943 (WTF::mergeDecommittedStates):
3944 (WTF::TCMalloc_PageHeap::Delete):
3945 (WTF::TCMalloc_PageHeap::IncrementalScavenge):
3946 (WTF::TCMalloc_PageHeap::RegisterSizeClass):
3947 (WTF::TCMalloc_PageHeap::ReturnedBytes):
3949 (WTF::TCMalloc_PageHeap::Dump):
3950 (WTF::TCMalloc_PageHeap::GrowHeap):
3951 (WTF::TCMalloc_PageHeap::Check):
3952 (WTF::TCMalloc_PageHeap::CheckList):
3953 (WTF::TCMalloc_PageHeap::ReleaseFreeList):
3954 (WTF::TCMalloc_PageHeap::ReleaseFreePages):
3955 (TCMalloc_ThreadCache_FreeList):
3956 (WTF::TCMalloc_ThreadCache_FreeList::Init):
3957 (WTF::TCMalloc_ThreadCache_FreeList::length):
3958 (WTF::TCMalloc_ThreadCache_FreeList::empty):
3959 (WTF::TCMalloc_ThreadCache_FreeList::lowwatermark):
3960 (WTF::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
3961 (WTF::TCMalloc_ThreadCache_FreeList::Push):
3962 (WTF::TCMalloc_ThreadCache_FreeList::PushRange):
3963 (WTF::TCMalloc_ThreadCache_FreeList::PopRange):
3964 (WTF::TCMalloc_ThreadCache_FreeList::Pop):
3965 (WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects):
3966 (TCMalloc_ThreadCache):
3967 (WTF::TCMalloc_ThreadCache::freelist_length):
3968 (WTF::TCMalloc_ThreadCache::Size):
3969 (WTF::TCMalloc_ThreadCache::enumerateFreeObjects):
3970 (TCMalloc_Central_FreeList):
3971 (WTF::TCMalloc_Central_FreeList::length):
3972 (WTF::TCMalloc_Central_FreeList::tc_length):
3973 (WTF::TCMalloc_Central_FreeList::enumerateFreeObjects):
3974 (TCMalloc_Central_FreeListPadded):
3976 (WTF::TCMalloc_PageHeap::periodicScavenge):
3977 (WTF::TCMalloc_PageHeap::scavengerThread):
3978 (WTF::setThreadHeap):
3979 (WTF::TCMalloc_Central_FreeList::Init):
3980 (WTF::TCMalloc_Central_FreeList::ReleaseListToSpans):
3981 (WTF::TCMalloc_Central_FreeList::ReleaseToSpans):
3982 (WTF::TCMalloc_Central_FreeList::EvictRandomSizeClass):
3983 (WTF::TCMalloc_Central_FreeList::MakeCacheSpace):
3984 (WTF::TCMalloc_Central_FreeList::ShrinkCache):
3985 (WTF::TCMalloc_Central_FreeList::InsertRange):
3986 (WTF::TCMalloc_Central_FreeList::RemoveRange):
3987 (WTF::TCMalloc_Central_FreeList::FetchFromSpansSafe):
3988 (WTF::TCMalloc_Central_FreeList::FetchFromSpans):
3989 (WTF::TCMalloc_Central_FreeList::Populate):
3990 (WTF::TCMalloc_ThreadCache::SampleAllocation):
3991 (WTF::TCMalloc_ThreadCache::Init):
3992 (WTF::TCMalloc_ThreadCache::Cleanup):
3993 (WTF::TCMalloc_ThreadCache::Allocate):
3994 (WTF::TCMalloc_ThreadCache::Deallocate):
3995 (WTF::TCMalloc_ThreadCache::FetchFromCentralCache):
3996 (WTF::TCMalloc_ThreadCache::ReleaseToCentralCache):
3997 (WTF::TCMalloc_ThreadCache::Scavenge):
3998 (WTF::TCMalloc_ThreadCache::PickNextSample):
3999 (WTF::TCMalloc_ThreadCache::InitModule):
4000 (WTF::TCMalloc_ThreadCache::NewHeap):
4001 (WTF::TCMalloc_ThreadCache::GetThreadHeap):
4002 (WTF::TCMalloc_ThreadCache::GetCache):
4003 (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
4004 (WTF::TCMalloc_ThreadCache::InitTSD):
4005 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
4006 * wtf/FastMalloc.h: Renamed from Source/JavaScriptCore/wtf/FastMalloc.h.
4008 (WTF::TryMallocReturnValue::TryMallocReturnValue):
4009 (WTF::TryMallocReturnValue::~TryMallocReturnValue):
4010 (TryMallocReturnValue):
4011 (WTF::TryMallocReturnValue::operator PossiblyNull<T>):
4012 (WTF::TryMallocReturnValue::getValue):
4013 (FastMallocStatistics):
4016 (WTF::Internal::fastMallocValidationHeader):
4017 (WTF::Internal::fastMallocValidationSuffix):
4018 (WTF::Internal::fastMallocMatchValidationType):
4019 (WTF::Internal::setFastMallocMatchValidationType):
4020 (WTF::fastMallocMatchValidateMalloc):
4021 (WTF::fastMallocMatchValidateFree):
4022 (WTF::fastMallocValidate):
4024 * wtf/FixedArray.h: Renamed from Source/JavaScriptCore/wtf/FixedArray.h.
4027 (WTF::FixedArray::operator[]):
4028 (WTF::FixedArray::data):
4029 (WTF::FixedArray::size):
4030 * wtf/Float32Array.h: Renamed from Source/JavaScriptCore/wtf/Float32Array.h.
4033 (WTF::Float32Array::set):
4034 (WTF::Float32Array::item):
4035 (WTF::Float32Array::isFloatArray):
4036 (WTF::Float32Array::create):
4037 (WTF::Float32Array::Float32Array):
4038 (WTF::Float32Array::subarray):
4039 * wtf/Float64Array.h: Renamed from Source/JavaScriptCore/wtf/Float64Array.h.
4042 (WTF::Float64Array::set):
4043 (WTF::Float64Array::item):
4044 (WTF::Float64Array::isDoubleArray):
4045 (WTF::Float64Array::create):
4046 (WTF::Float64Array::Float64Array):
4047 (WTF::Float64Array::subarray):
4048 * wtf/Forward.h: Renamed from Source/JavaScriptCore/wtf/Forward.h.
4050 * wtf/Functional.h: Renamed from Source/JavaScriptCore/wtf/Functional.h.
4057 (WTF::RefAndDeref::ref):
4058 (WTF::RefAndDeref::deref):
4059 (ParamStorageTraits):
4060 (WTF::ParamStorageTraits::wrap):
4061 (WTF::ParamStorageTraits::unwrap):
4063 (WTF::FunctionImplBase::~FunctionImplBase):
4065 (WTF::FunctionBase::isNull):
4066 (WTF::FunctionBase::FunctionBase):
4067 (WTF::FunctionBase::impl):
4069 * wtf/GetPtr.h: Renamed from Source/JavaScriptCore/wtf/GetPtr.h.
4072 * wtf/HashCountedSet.h: Renamed from Source/JavaScriptCore/wtf/HashCountedSet.h.
4075 (WTF::HashCountedSet::HashCountedSet):
4088 (WTF::copyToVector):
4089 * wtf/HashFunctions.h: Renamed from Source/JavaScriptCore/wtf/HashFunctions.h.
4092 (WTF::IntHash::hash):
4093 (WTF::IntHash::equal):
4095 (WTF::FloatHash::hash):
4096 (WTF::FloatHash::equal):
4098 (WTF::PtrHash::hash):
4099 (WTF::PtrHash::equal):
4101 (WTF::PairHash::hash):
4102 (WTF::PairHash::equal):
4104 * wtf/HashIterators.h: Renamed from Source/JavaScriptCore/wtf/HashIterators.h.
4106 (HashTableConstKeysIterator):
4107 (WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
4108 (WTF::HashTableConstKeysIterator::get):
4109 (WTF::HashTableConstKeysIterator::operator*):
4110 (WTF::HashTableConstKeysIterator::operator->):
4111 (WTF::HashTableConstKeysIterator::operator++):
4112 (HashTableConstValuesIterator):
4113 (WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
4114 (WTF::HashTableConstValuesIterator::get):
4115 (WTF::HashTableConstValuesIterator::operator*):
4116 (WTF::HashTableConstValuesIterator::operator->):
4117 (WTF::HashTableConstValuesIterator::operator++):
4118 (HashTableKeysIterator):
4119 (WTF::HashTableKeysIterator::HashTableKeysIterator):
4120 (WTF::HashTableKeysIterator::get):
4121 (WTF::HashTableKeysIterator::operator*):
4122 (WTF::HashTableKeysIterator::operator->):
4123 (WTF::HashTableKeysIterator::operator++):
4124 (WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
4125 (HashTableValuesIterator):
4126 (WTF::HashTableValuesIterator::HashTableValuesIterator):
4127 (WTF::HashTableValuesIterator::get):
4128 (WTF::HashTableValuesIterator::operator*):
4129 (WTF::HashTableValuesIterator::operator->):
4130 (WTF::HashTableValuesIterator::operator++):
4131 (WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
4134 * wtf/HashMap.h: Renamed from Source/JavaScriptCore/wtf/HashMap.h.
4136 (ReferenceTypeMaker):
4138 (WTF::HashMap::keys):
4139 (WTF::HashMap::values):
4141 (WTF::HashMap::HashMapKeysProxy::begin):
4142 (WTF::HashMap::HashMapKeysProxy::end):
4143 (HashMapValuesProxy):
4144 (WTF::HashMap::HashMapValuesProxy::begin):
4145 (WTF::HashMap::HashMapValuesProxy::end):
4146 (WTF::PairFirstExtractor::extract):
4147 (WTF::HashMapTranslator::hash):
4148 (WTF::HashMapTranslator::equal):
4149 (WTF::HashMapTranslator::translate):
4150 (WTF::HashMapTranslatorAdapter::hash):
4151 (WTF::HashMapTranslatorAdapter::equal):
4152 (WTF::HashMapTranslatorAdapter::translate):
4168 (WTF::::checkConsistency):
4171 (WTF::deleteAllPairSeconds):
4172 (WTF::deleteAllValues):
4173 (WTF::deleteAllPairFirsts):
4174 (WTF::deleteAllKeys):
4175 (WTF::copyKeysToVector):
4176 (WTF::copyValuesToVector):
4177 * wtf/HashSet.h: Renamed from Source/JavaScriptCore/wtf/HashSet.h.
4180 (WTF::IdentityExtractor::extract):
4181 (WTF::HashSetTranslatorAdapter::hash):
4182 (WTF::HashSetTranslatorAdapter::equal):
4183 (WTF::HashSetTranslatorAdapter::translate):
4195 (WTF::deleteAllValues):
4196 (WTF::fastDeleteAllValues):
4197 (WTF::copyToVector):
4198 * wtf/HashTable.cpp: Renamed from Source/JavaScriptCore/wtf/HashTable.cpp.
4200 (WTF::hashTableStatsMutex):
4201 (WTF::HashTableStats::~HashTableStats):
4202 (WTF::HashTableStats::recordCollisionAtCount):
4203 * wtf/HashTable.h: Renamed from Source/JavaScriptCore/wtf/HashTable.h.
4207 (WTF::removeIterator):
4208 (HashTableConstIterator):
4209 (WTF::HashTableConstIterator::skipEmptyBuckets):
4210 (WTF::HashTableConstIterator::HashTableConstIterator):
4211 (WTF::HashTableConstIterator::~HashTableConstIterator):
4212 (WTF::HashTableConstIterator::operator=):
4213 (WTF::HashTableConstIterator::get):
4214 (WTF::HashTableConstIterator::operator*):
4215 (WTF::HashTableConstIterator::operator->):
4216 (WTF::HashTableConstIterator::operator++):
4217 (WTF::HashTableConstIterator::operator==):
4218 (WTF::HashTableConstIterator::operator!=):
4219 (WTF::HashTableConstIterator::checkValidity):
4220 (HashTableIterator):
4221 (WTF::HashTableIterator::HashTableIterator):
4222 (WTF::HashTableIterator::get):
4223 (WTF::HashTableIterator::operator*):
4224 (WTF::HashTableIterator::operator->):
4225 (WTF::HashTableIterator::operator++):
4226 (WTF::HashTableIterator::operator==):
4227 (WTF::HashTableIterator::operator!=):
4228 (WTF::HashTableIterator::operator const_iterator):
4229 (WTF::hashTableSwap):
4230 (IdentityHashTranslator):
4231 (WTF::IdentityHashTranslator::hash):
4232 (WTF::IdentityHashTranslator::equal):
4233 (WTF::IdentityHashTranslator::translate):
4235 (WTF::HashTable::~HashTable):
4236 (WTF::HashTable::begin):
4237 (WTF::HashTable::end):
4238 (WTF::HashTable::size):
4239 (WTF::HashTable::capacity):
4240 (WTF::HashTable::isEmpty):
4241 (WTF::HashTable::add):
4242 (WTF::HashTable::find):
4243 (WTF::HashTable::contains):
4244 (WTF::HashTable::isEmptyBucket):
4245 (WTF::HashTable::isDeletedBucket):
4246 (WTF::HashTable::isEmptyOrDeletedBucket):
4247 (WTF::HashTable::lookup):
4248 (WTF::HashTable::checkTableConsistency):
4249 (WTF::HashTable::internalCheckTableConsistency):
4250 (WTF::HashTable::internalCheckTableConsistencyExceptSize):
4251 (WTF::HashTable::lookupForWriting):
4252 (WTF::HashTable::shouldExpand):
4253 (WTF::HashTable::mustRehashInPlace):
4254 (WTF::HashTable::shouldShrink):
4255 (WTF::HashTable::shrink):
4256 (WTF::HashTable::deleteBucket):
4257 (WTF::HashTable::makeLookupResult):
4258 (WTF::HashTable::makeIterator):
4259 (WTF::HashTable::makeConstIterator):
4260 (WTF::HashTable::makeKnownGoodIterator):
4261 (WTF::HashTable::makeKnownGoodConstIterator):
4262 (WTF::HashTable::checkTableConsistencyExceptSize):
4263 (WTF::HashTable::invalidateIterators):
4268 (WTF::::lookupForWriting):
4269 (WTF::::fullLookupForWriting):
4270 (WTF::::initializeBucket):
4272 (WTF::::addPassingHashCode):
4276 (WTF::::removeAndInvalidateWithoutEntryConsistencyCheck):
4277 (WTF::::removeAndInvalidate):
4279 (WTF::::removeWithoutEntryConsistencyCheck):
4280 (WTF::::allocateTable):
4281 (WTF::::deallocateTable):
4287 (WTF::::checkTableConsistency):
4288 (WTF::::checkTableConsistencyExceptSize):
4289 (WTF::::invalidateIterators):
4290 (WTF::HashTableConstIteratorAdapter::HashTableConstIteratorAdapter):
4291 (HashTableConstIteratorAdapter):
4292 (WTF::HashTableConstIteratorAdapter::get):
4293 (WTF::HashTableConstIteratorAdapter::operator*):
4294 (WTF::HashTableConstIteratorAdapter::operator->):
4295 (WTF::HashTableConstIteratorAdapter::operator++):
4296 (WTF::HashTableIteratorAdapter::HashTableIteratorAdapter):
4297 (HashTableIteratorAdapter):
4298 (WTF::HashTableIteratorAdapter::get):
4299 (WTF::HashTableIteratorAdapter::operator*):
4300 (WTF::HashTableIteratorAdapter::operator->):
4301 (WTF::HashTableIteratorAdapter::operator++):
4302 (WTF::HashTableIteratorAdapter::operator HashTableConstIteratorAdapter<HashTableType, ValueType>):
4305 * wtf/HashTraits.h: Renamed from Source/JavaScriptCore/wtf/HashTraits.h.
4307 (GenericHashTraits):
4308 (WTF::GenericHashTraits::emptyValue):
4309 (WTF::GenericHashTraits::store):
4310 (WTF::GenericHashTraits::passOut):
4311 (WTF::GenericHashTraits::peek):
4313 (WTF::FloatHashTraits::emptyValue):
4314 (WTF::FloatHashTraits::constructDeletedValue):
4315 (WTF::FloatHashTraits::isDeletedValue):
4316 (UnsignedWithZeroKeyHashTraits):
4317 (WTF::UnsignedWithZeroKeyHashTraits::emptyValue):
4318 (WTF::UnsignedWithZeroKeyHashTraits::constructDeletedValue):
4319 (WTF::UnsignedWithZeroKeyHashTraits::isDeletedValue):
4320 (SimpleClassHashTraits):
4321 (WTF::SimpleClassHashTraits::constructDeletedValue):
4322 (WTF::SimpleClassHashTraits::isDeletedValue):
4324 (WTF::PairHashTraits::emptyValue):
4325 (WTF::PairHashTraits::constructDeletedValue):
4326 (WTF::PairHashTraits::isDeletedValue):
4327 * wtf/HexNumber.h: Renamed from Source/JavaScriptCore/wtf/HexNumber.h.
4330 (WTF::Internal::hexDigitsForMode):
4331 (WTF::appendByteAsHex):
4332 (WTF::placeByteAsHexCompressIfPossible):
4333 (WTF::placeByteAsHex):
4334 (WTF::appendUnsignedAsHex):
4335 (WTF::appendUnsignedAsHexFixedSize):
4336 * wtf/InlineASM.h: Renamed from Source/JavaScriptCore/wtf/InlineASM.h.
4337 * wtf/Int16Array.h: Renamed from Source/JavaScriptCore/wtf/Int16Array.h.
4340 (WTF::Int16Array::set):
4341 (WTF::Int16Array::isShortArray):
4342 (WTF::Int16Array::create):
4343 (WTF::Int16Array::Int16Array):
4344 (WTF::Int16Array::subarray):
4345 * wtf/Int32Array.h: Renamed from Source/JavaScriptCore/wtf/Int32Array.h.
4348 (WTF::Int32Array::set):
4349 (WTF::Int32Array::isIntArray):
4350 (WTF::Int32Array::create):
4351 (WTF::Int32Array::Int32Array):
4352 (WTF::Int32Array::subarray):
4353 * wtf/Int8Array.h: Renamed from Source/JavaScriptCore/wtf/Int8Array.h.
4356 (WTF::Int8Array::set):
4357 (WTF::Int8Array::isByteArray):
4358 (WTF::Int8Array::create):
4359 (WTF::Int8Array::Int8Array):
4360 (WTF::Int8Array::subarray):
4361 * wtf/IntegralTypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/IntegralTypedArrayBase.h.
4363 (IntegralTypedArrayBase):
4364 (WTF::IntegralTypedArrayBase::set):
4365 (WTF::IntegralTypedArrayBase::item):
4366 (WTF::IntegralTypedArrayBase::IntegralTypedArrayBase):
4367 * wtf/ListHashSet.h: Renamed from Source/JavaScriptCore/wtf/ListHashSet.h.
4370 (ListHashSetNodeAllocator):
4371 (WTF::ListHashSetNodeAllocator::ListHashSetNodeAllocator):
4372 (WTF::ListHashSetNodeAllocator::allocate):
4373 (WTF::ListHashSetNodeAllocator::deallocate):
4374 (WTF::ListHashSetNodeAllocator::pool):
4375 (WTF::ListHashSetNodeAllocator::pastPool):
4376 (WTF::ListHashSetNodeAllocator::inPool):
4378 (WTF::ListHashSetNode::ListHashSetNode):
4379 (WTF::ListHashSetNode::operator new):
4380 (WTF::ListHashSetNode::destroy):
4381 (WTF::ListHashSetNodeHashFunctions::hash):
4382 (WTF::ListHashSetNodeHashFunctions::equal):
4383 (ListHashSetNodeHashFunctions):
4384 (ListHashSetIterator):
4385 (WTF::ListHashSetIterator::ListHashSetIterator):
4386 (WTF::ListHashSetIterator::get):
4387 (WTF::ListHashSetIterator::operator*):
4388 (WTF::ListHashSetIterator::operator->):
4389 (WTF::ListHashSetIterator::operator++):
4390 (WTF::ListHashSetIterator::operator--):
4391 (WTF::ListHashSetIterator::operator==):
4392 (WTF::ListHashSetIterator::operator!=):
4393 (WTF::ListHashSetIterator::operator const_iterator):
4394 (WTF::ListHashSetIterator::node):
4395 (ListHashSetConstIterator):
4396 (WTF::ListHashSetConstIterator::ListHashSetConstIterator):
4397 (WTF::ListHashSetConstIterator::get):
4398 (WTF::ListHashSetConstIterator::operator*):
4399 (WTF::ListHashSetConstIterator::operator->):
4400 (WTF::ListHashSetConstIterator::operator++):
4401 (WTF::ListHashSetConstIterator::operator--):
4402 (WTF::ListHashSetConstIterator::operator==):
4403 (WTF::ListHashSetConstIterator::operator!=):
4404 (WTF::ListHashSetConstIterator::node):
4405 (ListHashSetReverseIterator):
4406 (WTF::ListHashSetReverseIterator::ListHashSetReverseIterator):
4407 (WTF::ListHashSetReverseIterator::get):
4408 (WTF::ListHashSetReverseIterator::operator*):
4409 (WTF::ListHashSetReverseIterator::operator->):
4410 (WTF::ListHashSetReverseIterator::operator++):
4411 (WTF::ListHashSetReverseIterator::operator--):
4412 (WTF::ListHashSetReverseIterator::operator==):
4413 (WTF::ListHashSetReverseIterator::operator!=):
4414 (WTF::ListHashSetReverseIterator::operator const_reverse_iterator):
4415 (WTF::ListHashSetReverseIterator::node):
4416 (ListHashSetConstReverseIterator):
4417 (WTF::ListHashSetConstReverseIterator::ListHashSetConstReverseIterator):
4418 (WTF::ListHashSetConstReverseIterator::get):
4419 (WTF::ListHashSetConstReverseIterator::operator*):
4420 (WTF::ListHashSetConstReverseIterator::operator->):
4421 (WTF::ListHashSetConstReverseIterator::operator++):
4422 (WTF::ListHashSetConstReverseIterator::operator--):
4423 (WTF::ListHashSetConstReverseIterator::operator==):
4424 (WTF::ListHashSetConstReverseIterator::operator!=):
4425 (WTF::ListHashSetConstReverseIterator::node):
4426 (WTF::ListHashSetTranslator::hash):
4427 (WTF::ListHashSetTranslator::equal):
4428 (WTF::ListHashSetTranslator::translate):
4429 (WTF::::ListHashSet):
4432 (WTF::::~ListHashSet):
4442 (WTF::::removeLast):
4444 (WTF::ListHashSetTranslatorAdapter::hash):
4445 (WTF::ListHashSetTranslatorAdapter::equal):
4448 (WTF::::insertBefore):
4451 (WTF::::unlinkAndDelete):
4452 (WTF::::appendNode):
4453 (WTF::::insertNodeBefore):
4454 (WTF::::deleteAllNodes):
4455 (WTF::::makeReverseIterator):
4456 (WTF::::makeConstReverseIterator):
4457 (WTF::::makeIterator):
4458 (WTF::::makeConstIterator):
4459 (WTF::deleteAllValues):
4460 * wtf/ListRefPtr.h: Renamed from Source/JavaScriptCore/wtf/ListRefPtr.h.
4463 (WTF::ListRefPtr::ListRefPtr):
4464 (WTF::ListRefPtr::~ListRefPtr):
4465 (WTF::ListRefPtr::operator=):
4467 * wtf/Locker.h: Renamed from Source/JavaScriptCore/wtf/Locker.h.
4470 (WTF::Locker::Locker):
4471 (WTF::Locker::~Locker):
4472 * wtf/MD5.cpp: Renamed from Source/JavaScriptCore/wtf/MD5.cpp.
4476 (WTF::reverseBytes):
4477 (WTF::MD5Transform):
4479 (WTF::MD5::addBytes):
4480 (WTF::MD5::checksum):
4481 * wtf/MD5.h: Renamed from Source/JavaScriptCore/wtf/MD5.h.
4484 (WTF::MD5::addBytes):
4485 * wtf/MainThread.cpp: Renamed from Source/JavaScriptCore/wtf/MainThread.cpp.
4487 (FunctionWithContext):
4488 (WTF::FunctionWithContext::FunctionWithContext):
4489 (WTF::FunctionWithContext::operator == ):
4490 (FunctionWithContextFinder):
4491 (WTF::FunctionWithContextFinder::FunctionWithContextFinder):
4492 (WTF::FunctionWithContextFinder::operator()):
4493 (WTF::mainThreadFunctionQueueMutex):
4494 (WTF::functionQueue):
4495 (WTF::initializeMainThread):
4496 (WTF::initializeMainThreadOnce):
4497 (WTF::initializeMainThreadToProcessMainThreadOnce):
4498 (WTF::initializeMainThreadToProcessMainThread):
4499 (WTF::dispatchFunctionsFromMainThread):
4500 (WTF::callOnMainThread):
4501 (WTF::callOnMainThreadAndWait):
4502 (WTF::cancelCallOnMainThread):
4503 (WTF::callFunctionObject):
4504 (WTF::setMainThreadCallbacksPaused):
4505 (WTF::isMainThread):
4506 (WTF::initializeGCThreads):
4507 (WTF::registerGCThread):
4508 (WTF::isMainThreadOrGCThread):
4509 * wtf/MainThread.h: Renamed from Source/JavaScriptCore/wtf/MainThread.h.
4511 (WTF::isMainThreadOrGCThread):
4512 * wtf/MallocZoneSupport.h: Renamed from Source/JavaScriptCore/wtf/MallocZoneSupport.h.
4514 (RemoteMemoryReader):
4515 (WTF::RemoteMemoryReader::RemoteMemoryReader):
4516 (WTF::RemoteMemoryReader::operator()):
4517 (WTF::RemoteMemoryReader::nextEntryInLinkedList):
4518 * wtf/MathExtras.h: Renamed from Source/JavaScriptCore/wtf/MathExtras.h.
4548 (defaultMinimumForClamp):
4549 (defaultMaximumForClamp):
4553 (clampToPositiveInteger):
4557 * wtf/MessageQueue.h: Renamed from Source/JavaScriptCore/wtf/MessageQueue.h.
4560 (WTF::MessageQueue::MessageQueue):
4561 (WTF::MessageQueue::infiniteTime):
4562 (WTF::MessageQueue::alwaysTruePredicate):
4563 (WTF::::~MessageQueue):
4565 (WTF::::appendAndCheckEmpty):
4567 (WTF::::waitForMessage):
4568 (WTF::::waitForMessageFilteredWithTimeout):
4569 (WTF::::tryGetMessage):
4570 (WTF::::tryGetMessageIgnoringKilled):
4575 * wtf/MetaAllocator.cpp: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.cpp.
4577 (WTF::MetaAllocator::~MetaAllocator):
4578 (WTF::MetaAllocatorTracker::notify):
4579 (WTF::MetaAllocatorTracker::release):
4580 (WTF::MetaAllocator::release):
4581 (WTF::MetaAllocatorHandle::MetaAllocatorHandle):
4582 (WTF::MetaAllocatorHandle::~MetaAllocatorHandle):
4583 (WTF::MetaAllocatorHandle::shrink):
4584 (WTF::MetaAllocator::MetaAllocator):
4585 (WTF::MetaAllocator::allocate):
4586 (WTF::MetaAllocator::currentStatistics):
4587 (WTF::MetaAllocator::findAndRemoveFreeSpace):
4588 (WTF::MetaAllocator::addFreeSpaceFromReleasedHandle):
4589 (WTF::MetaAllocator::addFreshFreeSpace):
4590 (WTF::MetaAllocator::debugFreeSpaceSize):
4591 (WTF::MetaAllocator::addFreeSpace):
4592 (WTF::MetaAllocator::incrementPageOccupancy):
4593 (WTF::MetaAllocator::decrementPageOccupancy):
4594 (WTF::MetaAllocator::roundUp):
4595 (WTF::MetaAllocator::allocFreeSpaceNode):
4596 (WTF::MetaAllocator::freeFreeSpaceNode):
4597 (WTF::MetaAllocator::dumpProfile):
4598 * wtf/MetaAllocator.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.h.
4600 (MetaAllocatorTracker):
4601 (WTF::MetaAllocatorTracker::find):
4603 (WTF::MetaAllocator::trackAllocations):
4604 (WTF::MetaAllocator::bytesAllocated):
4605 (WTF::MetaAllocator::bytesReserved):
4606 (WTF::MetaAllocator::bytesCommitted):
4608 (WTF::MetaAllocator::dumpProfile):
4610 (WTF::MetaAllocator::FreeSpaceNode::FreeSpaceNode):
4611 (WTF::MetaAllocator::FreeSpaceNode::key):
4612 * wtf/MetaAllocatorHandle.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocatorHandle.h.
4614 (MetaAllocatorHandle):
4615 (WTF::MetaAllocatorHandle::start):
4616 (WTF::MetaAllocatorHandle::end):
4617 (WTF::MetaAllocatorHandle::sizeInBytes):
4618 (WTF::MetaAllocatorHandle::isManaged):
4619 (WTF::MetaAllocatorHandle::allocator):
4620 (WTF::MetaAllocatorHandle::ownerUID):
4621 (WTF::MetaAllocatorHandle::key):
4622 * wtf/NonCopyingSort.h: Renamed from Source/JavaScriptCore/wtf/NonCopyingSort.h.
4627 (WTF::nonCopyingSort):
4628 * wtf/Noncopyable.h: Renamed from Source/JavaScriptCore/wtf/Noncopyable.h.
4629 * wtf/NotFound.h: Renamed from Source/JavaScriptCore/wtf/NotFound.h.
4631 * wtf/NullPtr.cpp: Renamed from Source/JavaScriptCore/wtf/NullPtr.cpp.
4632 * wtf/NullPtr.h: Renamed from Source/JavaScriptCore/wtf/NullPtr.h.
4633 * wtf/NumberOfCores.cpp: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.cpp.
4635 (WTF::numberOfProcessorCores):
4636 * wtf/NumberOfCores.h: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.h.
4638 * wtf/OSAllocator.h: Renamed from Source/JavaScriptCore/wtf/OSAllocator.h.
4641 (WTF::OSAllocator::reserveAndCommit):
4642 (WTF::OSAllocator::decommitAndRelease):
4643 (WTF::OSAllocator::reallocateCommitted):
4644 * wtf/OSAllocatorPosix.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp.
4646 (WTF::OSAllocator::reserveUncommitted):
4647 (WTF::OSAllocator::reserveAndCommit):
4648 (WTF::OSAllocator::commit):
4649 (WTF::OSAllocator::decommit):
4650 (WTF::OSAllocator::releaseDecommitted):
4651 * wtf/OSAllocatorWin.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorWin.cpp.
4654 (WTF::OSAllocator::reserveUncommitted):
4655 (WTF::OSAllocator::reserveAndCommit):
4656 (WTF::OSAllocator::commit):
4657 (WTF::OSAllocator::decommit):
4658 (WTF::OSAllocator::releaseDecommitted):
4659 * wtf/OSRandomSource.cpp: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.cpp.
4661 (WTF::cryptographicallyRandomValuesFromOS):
4662 * wtf/OSRandomSource.h: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.h.
4664 * wtf/OwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnArrayPtr.h.
4667 (WTF::OwnArrayPtr::OwnArrayPtr):
4668 (WTF::OwnArrayPtr::~OwnArrayPtr):
4669 (WTF::OwnArrayPtr::get):
4670 (WTF::OwnArrayPtr::operator*):
4671 (WTF::OwnArrayPtr::operator->):
4672 (WTF::OwnArrayPtr::operator[]):
4673 (WTF::OwnArrayPtr::operator!):
4674 (WTF::OwnArrayPtr::operator UnspecifiedBoolType):
4675 (WTF::OwnArrayPtr::operator=):
4676 (WTF::OwnArrayPtr::swap):
4677 (WTF::::OwnArrayPtr):
4686 * wtf/OwnPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnPtr.h.
4689 (WTF::OwnPtr::OwnPtr):
4690 (WTF::OwnPtr::~OwnPtr):
4692 (WTF::OwnPtr::operator*):
4693 (WTF::OwnPtr::operator->):
4694 (WTF::OwnPtr::operator!):
4695 (WTF::OwnPtr::operator UnspecifiedBoolType):
4696 (WTF::OwnPtr::operator=):
4697 (WTF::OwnPtr::swap):
4698 (WTF::OwnPtr::operator==):
4699 (WTF::OwnPtr::operator!=):
4709 * wtf/OwnPtrCommon.h: Renamed from Source/JavaScriptCore/wtf/OwnPtrCommon.h.
4711 (WTF::deleteOwnedPtr):
4712 * wtf/PackedIntVector.h: Renamed from Source/JavaScriptCore/wtf/PackedIntVector.h.
4715 (WTF::PackedIntVector::PackedIntVector):
4716 (WTF::PackedIntVector::operator=):
4717 (WTF::PackedIntVector::size):
4718 (WTF::PackedIntVector::ensureSize):
4719 (WTF::PackedIntVector::resize):
4720 (WTF::PackedIntVector::clearAll):
4721 (WTF::PackedIntVector::get):
4722 (WTF::PackedIntVector::set):
4723 (WTF::PackedIntVector::mask):
4724 * wtf/PageAllocation.h: Renamed from Source/JavaScriptCore/wtf/PageAllocation.h.
4727 (WTF::PageAllocation::PageAllocation):
4728 (WTF::PageAllocation::operator bool):
4729 (WTF::PageAllocation::allocate):
4730 (WTF::PageAllocation::deallocate):
4731 * wtf/PageAllocationAligned.cpp: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.cpp.
4733 (WTF::PageAllocationAligned::allocate):
4734 (WTF::PageAllocationAligned::deallocate):
4735 * wtf/PageAllocationAligned.h: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.h.
4737 (PageAllocationAligned):
4738 (WTF::PageAllocationAligned::PageAllocationAligned):
4739 * wtf/PageBlock.cpp: Renamed from Source/JavaScriptCore/wtf/PageBlock.cpp.
4741 (WTF::systemPageSize):
4744 * wtf/PageBlock.h: Renamed from Source/JavaScriptCore/wtf/PageBlock.h.
4746 (WTF::isPageAligned):
4747 (WTF::isPowerOfTwo):
4749 (WTF::PageBlock::base):
4750 (WTF::PageBlock::size):
4751 (WTF::PageBlock::operator bool):
4752 (WTF::PageBlock::contains):
4753 (WTF::PageBlock::PageBlock):
4754 * wtf/PageReservation.h: Renamed from Source/JavaScriptCore/wtf/PageReservation.h.
4757 (WTF::PageReservation::PageReservation):
4758 (WTF::PageReservation::operator bool):
4759 (WTF::PageReservation::commit):
4760 (WTF::PageReservation::decommit):
4761 (WTF::PageReservation::committed):
4762 (WTF::PageReservation::reserve):
4763 (WTF::PageReservation::reserveWithGuardPages):
4764 (WTF::PageReservation::deallocate):
4765 * wtf/ParallelJobs.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobs.h.
4768 (WTF::ParallelJobs::ParallelJobs):
4769 (WTF::ParallelJobs::numberOfJobs):
4770 (WTF::ParallelJobs::parameter):
4771 (WTF::ParallelJobs::execute):
4772 * wtf/ParallelJobsGeneric.cpp: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.cpp.
4774 (WTF::ParallelEnvironment::ParallelEnvironment):
4775 (WTF::ParallelEnvironment::execute):
4776 (WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
4777 (WTF::ParallelEnvironment::ThreadPrivate::execute):
4778 (WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
4779 (WTF::ParallelEnvironment::ThreadPrivate::workerThread):
4780 * wtf/ParallelJobsGeneric.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.h.
4782 (ParallelEnvironment):
4783 (WTF::ParallelEnvironment::numberOfJobs):
4785 (WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
4786 (WTF::ParallelEnvironment::ThreadPrivate::create):
4787 * wtf/ParallelJobsLibdispatch.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsLibdispatch.h.
4789 (ParallelEnvironment):
4790 (WTF::ParallelEnvironment::ParallelEnvironment):
4791 (WTF::ParallelEnvironment::numberOfJobs):
4792 (WTF::ParallelEnvironment::execute):
4793 * wtf/ParallelJobsOpenMP.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsOpenMP.h.
4795 (ParallelEnvironment):
4796 (WTF::ParallelEnvironment::ParallelEnvironment):
4797 (WTF::ParallelEnvironment::numberOfJobs):
4798 (WTF::ParallelEnvironment::execute):
4799 * wtf/PassOwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnArrayPtr.h.
4802 (WTF::PassOwnArrayPtr::PassOwnArrayPtr):
4803 (WTF::PassOwnArrayPtr::~PassOwnArrayPtr):
4804 (WTF::PassOwnArrayPtr::get):
4805 (WTF::PassOwnArrayPtr::operator*):
4806 (WTF::PassOwnArrayPtr::operator->):
4807 (WTF::PassOwnArrayPtr::operator!):
4808 (WTF::PassOwnArrayPtr::operator UnspecifiedBoolType):
4809 (WTF::PassOwnArrayPtr::operator=):
4813 (WTF::adoptArrayPtr):
4814 (WTF::deleteOwnedArrayPtr):
4815 (WTF::static_pointer_cast):
4816 (WTF::const_pointer_cast):
4818 * wtf/PassOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnPtr.h.
4821 (WTF::PassOwnPtr::PassOwnPtr):
4822 (WTF::PassOwnPtr::~PassOwnPtr):
4823 (WTF::PassOwnPtr::get):
4824 (WTF::PassOwnPtr::operator*):
4825 (WTF::PassOwnPtr::operator->):
4826 (WTF::PassOwnPtr::operator!):
4827 (WTF::PassOwnPtr::operator UnspecifiedBoolType):
4828 (WTF::PassOwnPtr::operator=):
4829 (WTF::PassOwnPtr::operator==):
4830 (WTF::PassOwnPtr::operator!=):
4835 (WTF::static_pointer_cast):
4836 (WTF::const_pointer_cast):
4838 * wtf/PassRefPtr.h: Renamed from Source/JavaScriptCore/wtf/PassRefPtr.h.
4841 (WTF::refIfNotNull):
4842 (WTF::derefIfNotNull):
4844 (WTF::PassRefPtr::PassRefPtr):
4845 (WTF::PassRefPtr::~PassRefPtr):
4846 (WTF::PassRefPtr::get):
4847 (WTF::PassRefPtr::operator*):
4848 (WTF::PassRefPtr::operator->):
4849 (WTF::PassRefPtr::operator!):
4850 (WTF::PassRefPtr::operator UnspecifiedBoolType):
4851 (WTF::PassRefPtr::operator=):
4852 (NonNullPassRefPtr):
4853 (WTF::NonNullPassRefPtr::NonNullPassRefPtr):
4854 (WTF::NonNullPassRefPtr::~NonNullPassRefPtr):
4855 (WTF::NonNullPassRefPtr::get):
4856 (WTF::NonNullPassRefPtr::operator*):
4857 (WTF::NonNullPassRefPtr::operator->):
4858 (WTF::NonNullPassRefPtr::operator=):
4859 (WTF::::PassRefPtr):
4864 (WTF::static_pointer_cast):
4865 (WTF::const_pointer_cast):
4867 * wtf/PassTraits.h: Renamed from Source/JavaScriptCore/wtf/PassTraits.h.
4870 (WTF::PassTraits::transfer):
4871 * wtf/PlatformBlackBerry.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformBlackBerry.cmake.
4872 * wtf/PlatformEfl.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformEfl.cmake.
4873 * wtf/PlatformWinCE.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformWinCE.cmake.
4874 * wtf/PossiblyNull.h: Renamed from Source/JavaScriptCore/wtf/PossiblyNull.h.
4876 (WTF::PossiblyNull::PossiblyNull):
4877 (WTF::PossiblyNull::~PossiblyNull):
4880 * wtf/RandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/RandomNumber.cpp.
4882 (WTF::randomNumber):
4883 * wtf/RandomNumber.h: Renamed from Source/JavaScriptCore/wtf/RandomNumber.h.
4885 * wtf/RandomNumberSeed.h: Renamed from Source/JavaScriptCore/wtf/RandomNumberSeed.h.
4887 (WTF::initializeRandomNumberGenerator):
4888 * wtf/RedBlackTree.h: Renamed from Source/JavaScriptCore/wtf/RedBlackTree.h.
4892 (WTF::RedBlackTree::Node::successor):
4893 (WTF::RedBlackTree::Node::predecessor):
4894 (WTF::RedBlackTree::Node::reset):
4895 (WTF::RedBlackTree::Node::parent):
4896 (WTF::RedBlackTree::Node::setParent):
4897 (WTF::RedBlackTree::Node::left):
4898 (WTF::RedBlackTree::Node::setLeft):
4899 (WTF::RedBlackTree::Node::right):
4900 (WTF::RedBlackTree::Node::setRight):
4901 (WTF::RedBlackTree::Node::color):
4902 (WTF::RedBlackTree::Node::setColor):
4903 (WTF::RedBlackTree::RedBlackTree):
4904 (WTF::RedBlackTree::insert):
4905 (WTF::RedBlackTree::remove):
4906 (WTF::RedBlackTree::findExact):
4907 (WTF::RedBlackTree::findLeastGreaterThanOrEqual):
4908 (WTF::RedBlackTree::findGreatestLessThanOrEqual):
4909 (WTF::RedBlackTree::first):
4910 (WTF::RedBlackTree::last):
4911 (WTF::RedBlackTree::size):
4912 (WTF::RedBlackTree::isEmpty):
4913 (WTF::RedBlackTree::treeMinimum):
4914 (WTF::RedBlackTree::treeMaximum):
4915 (WTF::RedBlackTree::treeInsert):
4916 (WTF::RedBlackTree::leftRotate):
4917 (WTF::RedBlackTree::rightRotate):
4918 (WTF::RedBlackTree::removeFixup):
4919 * wtf/RefCounted.h: Renamed from Source/JavaScriptCore/wtf/RefCounted.h.
4922 (WTF::RefCountedBase::ref):
4923 (WTF::RefCountedBase::hasOneRef):
4924 (WTF::RefCountedBase::refCount):
4925 (WTF::RefCountedBase::turnOffVerifier):
4926 (WTF::RefCountedBase::relaxAdoptionRequirement):
4927 (WTF::RefCountedBase::addressOfCount):
4928 (WTF::RefCountedBase::RefCountedBase):
4929 (WTF::RefCountedBase::~RefCountedBase):
4930 (WTF::RefCountedBase::derefBase):
4931 (WTF::RefCountedBase::deletionHasBegun):
4934 (WTF::RefCounted::deref):
4935 (WTF::RefCounted::RefCounted):
4936 (WTF::RefCounted::~RefCounted):
4937 (RefCountedCustomAllocated):
4938 (WTF::RefCountedCustomAllocated::deref):
4939 (WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
4940 (WTF::RefCountedBase::setMutexForVerifier):
4941 (WTF::RefCountedBase::setDispatchQueueForVerifier):
4942 * wtf/RefCountedArray.h: Renamed from Source/JavaScriptCore/wtf/RefCountedArray.h.
4945 (WTF::RefCountedArray::RefCountedArray):
4946 (WTF::RefCountedArray::operator=):
4947 (WTF::RefCountedArray::~RefCountedArray):
4948 (WTF::RefCountedArray::size):
4949 (WTF::RefCountedArray::data):
4950 (WTF::RefCountedArray::begin):
4951 (WTF::RefCountedArray::end):
4952 (WTF::RefCountedArray::at):
4953 (WTF::RefCountedArray::operator[]):
4955 (WTF::RefCountedArray::Header::size):
4956 (WTF::RefCountedArray::Header::payload):
4957 (WTF::RefCountedArray::Header::fromPayload):
4958 * wtf/RefCountedLeakCounter.cpp: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.cpp.
4960 (WTF::RefCountedLeakCounter::suppressMessages):
4961 (WTF::RefCountedLeakCounter::cancelMessageSuppression):
4962 (WTF::RefCountedLeakCounter::RefCountedLeakCounter):
4963 (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
4964 (WTF::RefCountedLeakCounter::increment):
4965 (WTF::RefCountedLeakCounter::decrement):
4966 * wtf/RefCountedLeakCounter.h: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.h.
4968 (RefCountedLeakCounter):
4969 * wtf/RefPtr.h: Renamed from Source/JavaScriptCore/wtf/RefPtr.h.
4972 (WTF::RefPtr::RefPtr):
4973 (WTF::RefPtr::isHashTableDeletedValue):
4974 (WTF::RefPtr::~RefPtr):
4976 (WTF::RefPtr::release):
4977 (WTF::RefPtr::operator*):
4978 (WTF::RefPtr::operator->):
4979 (WTF::RefPtr::operator!):
4980 (WTF::RefPtr::operator UnspecifiedBoolType):
4981 (WTF::RefPtr::operator=):
4982 (WTF::RefPtr::hashTableDeletedValue):
4990 (WTF::static_pointer_cast):
4991 (WTF::const_pointer_cast):
4993 * wtf/RefPtrHashMap.h: Renamed from Source/JavaScriptCore/wtf/RefPtrHashMap.h.
5011 * wtf/RetainPtr.h: Renamed from Source/JavaScriptCore/wtf/RetainPtr.h.
5013 (WTF::adoptNSReference):
5015 (WTF::RetainPtr::RetainPtr):
5016 (WTF::RetainPtr::isHashTableDeletedValue):
5017 (WTF::RetainPtr::~RetainPtr):
5018 (WTF::RetainPtr::get):
5019 (WTF::RetainPtr::operator->):
5020 (WTF::RetainPtr::operator!):
5021 (WTF::RetainPtr::operator UnspecifiedBoolType):
5022 (WTF::RetainPtr::operator=):
5023 (WTF::RetainPtr::hashTableDeletedValue):
5037 * wtf/SHA1.cpp: Renamed from Source/JavaScriptCore/wtf/SHA1.cpp.
5045 (WTF::SHA1::addBytes):
5046 (WTF::SHA1::computeHash):
5047 (WTF::SHA1::finalize):
5048 (WTF::SHA1::processBlock):
5050 * wtf/SHA1.h: Renamed from Source/JavaScriptCore/wtf/SHA1.h.
5053 (WTF::SHA1::addBytes):
5054 * wtf/SegmentedVector.h: Renamed from Source/JavaScriptCore/wtf/SegmentedVector.h.
5056 (SegmentedVectorIterator):
5057 (WTF::SegmentedVectorIterator::~SegmentedVectorIterator):
5058 (WTF::SegmentedVectorIterator::operator*):
5059 (WTF::SegmentedVectorIterator::operator->):
5060 (WTF::SegmentedVectorIterator::operator++):
5061 (WTF::SegmentedVectorIterator::operator==):
5062 (WTF::SegmentedVectorIterator::operator!=):
5063 (WTF::SegmentedVectorIterator::operator=):
5064 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
5066 (WTF::SegmentedVector::SegmentedVector):
5067 (WTF::SegmentedVector::~SegmentedVector):
5068 (WTF::SegmentedVector::size):
5069 (WTF::SegmentedVector::isEmpty):
5070 (WTF::SegmentedVector::at):
5071 (WTF::SegmentedVector::operator[]):
5072 (WTF::SegmentedVector::last):
5073 (WTF::SegmentedVector::append):
5074 (WTF::SegmentedVector::alloc):
5075 (WTF::SegmentedVector::removeLast):
5076 (WTF::SegmentedVector::grow):
5077 (WTF::SegmentedVector::clear):
5078 (WTF::SegmentedVector::begin):
5079 (WTF::SegmentedVector::end):
5080 (WTF::SegmentedVector::deleteAllSegments):
5081 (WTF::SegmentedVector::segmentExistsFor):
5082 (WTF::SegmentedVector::segmentFor):
5083 (WTF::SegmentedVector::subscriptFor):
5084 (WTF::SegmentedVector::ensureSegmentsFor):
5085 (WTF::SegmentedVector::ensureSegment):
5086 * wtf/SentinelLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SentinelLinkedList.h.
5088 (BasicRawSentinelNode):
5089 (WTF::BasicRawSentinelNode::BasicRawSentinelNode):
5090 (WTF::BasicRawSentinelNode::setPrev):
5091 (WTF::BasicRawSentinelNode::setNext):
5092 (WTF::BasicRawSentinelNode::prev):
5093 (WTF::BasicRawSentinelNode::next):
5094 (WTF::BasicRawSentinelNode::isOnList):
5095 (SentinelLinkedList):
5096 (WTF::SentinelLinkedList::isEmpty):
5098 (WTF::::SentinelLinkedList):
5102 * wtf/SimpleStats.h: Renamed from Source/JavaScriptCore/wtf/SimpleStats.h.
5105 (WTF::SimpleStats::SimpleStats):
5106 (WTF::SimpleStats::add):
5107 (WTF::SimpleStats::operator!):
5108 (WTF::SimpleStats::count):
5109 (WTF::SimpleStats::sum):
5110 (WTF::SimpleStats::sumOfSquares):
5111 (WTF::SimpleStats::mean):
5112 (WTF::SimpleStats::variance):
5113 (WTF::SimpleStats::standardDeviation):
5114 * wtf/SinglyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SinglyLinkedList.h.
5117 (WTF::::SinglyLinkedList):
5121 * wtf/SizeLimits.cpp: Renamed from Source/JavaScriptCore/wtf/SizeLimits.cpp.
5123 (SameSizeAsRefCounted):
5124 * wtf/Spectrum.h: Renamed from Source/JavaScriptCore/wtf/Spectrum.h.
5127 (WTF::Spectrum::Spectrum):
5128 (WTF::Spectrum::add):
5129 (WTF::Spectrum::get):
5130 (WTF::Spectrum::begin):
5131 (WTF::Spectrum::end):
5132 (WTF::Spectrum::KeyAndCount::KeyAndCount):
5134 (WTF::Spectrum::KeyAndCount::operator<):
5135 (WTF::Spectrum::buildList):
5136 * wtf/StackBounds.cpp: Renamed from Source/JavaScriptCore/wtf/StackBounds.cpp.
5138 (WTF::estimateStackBound):
5139 (WTF::StackBounds::initialize):
5140 (WTF::detectGrowingDownward):
5141 (WTF::isPageWritable):
5142 (WTF::getLowerStackBound):
5143 (WTF::getUpperStackBound):
5144 * wtf/StackBounds.h: Renamed from Source/JavaScriptCore/wtf/StackBounds.h.
5147 (WTF::StackBounds::StackBounds):
5148 (WTF::StackBounds::currentThreadStackBounds):
5149 (WTF::StackBounds::origin):
5150 (WTF::StackBounds::current):
5151 (WTF::StackBounds::recursionLimit):
5152 (WTF::StackBounds::recursionCheck):
5153 (WTF::StackBounds::isGrowingDownward):
5154 (WTF::StackBounds::checkConsistency):
5155 * wtf/StaticConstructors.h: Renamed from Source/JavaScriptCore/wtf/StaticConstructors.h.
5156 * wtf/StdLibExtras.h: Renamed from Source/JavaScriptCore/wtf/StdLibExtras.h.
5157 (isPointerTypeAlignmentOkay):
5158 (reinterpret_cast_ptr):
5160 (WTF::isPointerAligned):
5161 (WTF::is8ByteAligned):
5162 (WTF::bitwise_cast):
5165 (WTF::roundUpToMultipleOf):
5166 (WTF::binarySearch):
5167 (WTF::binarySearchWithFunctor):
5168 (WTF::genericBinarySearch):
5170 * wtf/StringExtras.cpp: Renamed from Source/JavaScriptCore/wtf/StringExtras.cpp.
5173 * wtf/StringExtras.h: Renamed from Source/JavaScriptCore/wtf/StringExtras.h.
5182 * wtf/StringHasher.h: Renamed from Source/JavaScriptCore/wtf/StringHasher.h.
5185 (WTF::StringHasher::StringHasher):
5186 (WTF::StringHasher::addCharacters):
5187 (WTF::StringHasher::addCharacter):
5188 (WTF::StringHasher::hash):
5189 (WTF::StringHasher::computeHash):
5190 (WTF::StringHasher::hashMemory):
5191 (WTF::StringHasher::defaultConverter):
5192 (WTF::StringHasher::addCharactersToHash):
5193 * wtf/TCPackedCache.h: Renamed from Source/JavaScriptCore/wtf/TCPackedCache.h.
5195 (PackedCache::PackedCache):
5198 (PackedCache::GetOrDefault):
5199 (PackedCache::Clear):
5200 (PackedCache::EntryToValue):
5201 (PackedCache::EntryToUpper):
5202 (PackedCache::KeyToUpper):
5203 (PackedCache::UpperToPartialKey):
5204 (PackedCache::Hash):
5205 (PackedCache::KeyMatch):
5206 * wtf/TCPageMap.h: Renamed from Source/JavaScriptCore/wtf/TCPageMap.h.
5207 (TCMalloc_PageMap1):
5208 (TCMalloc_PageMap1::init):
5209 (TCMalloc_PageMap1::Ensure):
5210 (TCMalloc_PageMap1::PreallocateMoreMemory):
5211 (TCMalloc_PageMap1::get):
5212 (TCMalloc_PageMap1::set):
5213 (TCMalloc_PageMap2):
5215 (TCMalloc_PageMap2::init):
5216 (TCMalloc_PageMap2::get):
5217 (TCMalloc_PageMap2::set):
5218 (TCMalloc_PageMap2::Ensure):
5219 (TCMalloc_PageMap2::PreallocateMoreMemory):
5220 (TCMalloc_PageMap2::visitValues):
5221 (TCMalloc_PageMap2::visitAllocations):
5222 (TCMalloc_PageMap3):
5224 (TCMalloc_PageMap3::NewNode):
5225 (TCMalloc_PageMap3::init):
5226 (TCMalloc_PageMap3::get):
5227 (TCMalloc_PageMap3::set):
5228 (TCMalloc_PageMap3::Ensure):
5229 (TCMalloc_PageMap3::PreallocateMoreMemory):
5230 (TCMalloc_PageMap3::visitValues):
5231 (TCMalloc_PageMap3::visitAllocations):
5232 * wtf/TCSpinLock.h: Renamed from Source/JavaScriptCore/wtf/TCSpinLock.h.
5233 (TCMalloc_SpinLock):
5234 (TCMalloc_SpinLock::Lock):
5235 (TCMalloc_SpinLock::Unlock):
5236 (TCMalloc_SpinLock::IsHeld):
5237 (TCMalloc_SpinLock::Init):
5238 (TCMalloc_SpinLock::Finalize):
5239 (TCMalloc_SlowLock):
5240 (TCMalloc_SpinLockHolder):
5241 (TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
5242 (TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
5243 * wtf/TCSystemAlloc.cpp: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.cpp.
5248 (TCMalloc_SystemAlloc):
5249 (TCMalloc_SystemRelease):
5250 (TCMalloc_SystemCommit):
5251 * wtf/TCSystemAlloc.h: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.h.
5252 (TCMalloc_SystemRelease):
5253 (TCMalloc_SystemCommit):
5254 * wtf/TemporaryChange.h: Renamed from Source/JavaScriptCore/wtf/TemporaryChange.h.
5257 (WTF::TemporaryChange::TemporaryChange):
5258 (WTF::TemporaryChange::~TemporaryChange):
5259 * wtf/ThreadFunctionInvocation.h: Renamed from Source/JavaScriptCore/wtf/ThreadFunctionInvocation.h.
5261 (WTF::ThreadFunctionInvocation::ThreadFunctionInvocation):
5262 (ThreadFunctionInvocation):
5263 * wtf/ThreadIdentifierDataPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp.
5265 (WTF::ThreadIdentifierData::~ThreadIdentifierData):
5266 (WTF::ThreadIdentifierData::initializeOnce):
5267 (WTF::ThreadIdentifierData::identifier):
5268 (WTF::ThreadIdentifierData::initialize):
5269 (WTF::ThreadIdentifierData::destruct):
5270 * wtf/ThreadIdentifierDataPthreads.h: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h.
5272 (ThreadIdentifierData):
5273 (WTF::ThreadIdentifierData::ThreadIdentifierData):
5274 * wtf/ThreadRestrictionVerifier.h: Renamed from Source/JavaScriptCore/wtf/ThreadRestrictionVerifier.h.
5276 (ThreadRestrictionVerifier):
5277 (WTF::ThreadRestrictionVerifier::ThreadRestrictionVerifier):
5278 (WTF::ThreadRestrictionVerifier::~ThreadRestrictionVerifier):
5279 (WTF::ThreadRestrictionVerifier::setMutexMode):
5280 (WTF::ThreadRestrictionVerifier::setDispatchQueueMode):
5281 (WTF::ThreadRestrictionVerifier::turnOffVerification):
5282 (WTF::ThreadRestrictionVerifier::setShared):
5283 (WTF::ThreadRestrictionVerifier::isSafeToUse):
5284 * wtf/ThreadSafeRefCounted.h: Renamed from Source/JavaScriptCore/wtf/ThreadSafeRefCounted.h.
5286 (ThreadSafeRefCountedBase):
5287 (WTF::ThreadSafeRefCountedBase::ThreadSafeRefCountedBase):
5288 (WTF::ThreadSafeRefCountedBase::ref):
5289 (WTF::ThreadSafeRefCountedBase::hasOneRef):
5290 (WTF::ThreadSafeRefCountedBase::refCount):
5291 (WTF::ThreadSafeRefCountedBase::derefBase):
5292 (ThreadSafeRefCounted):
5293 (WTF::ThreadSafeRefCounted::deref):
5294 (WTF::ThreadSafeRefCounted::ThreadSafeRefCounted):
5295 * wtf/ThreadSpecific.h: Renamed from Source/JavaScriptCore/wtf/ThreadSpecific.h.
5299 (WTF::ThreadSpecific::Data::Data):
5300 (WTF::::ThreadSpecific):
5303 (WTF::::~ThreadSpecific):
5308 * wtf/ThreadSpecificWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadSpecificWin.cpp.
5312 (WTF::ThreadSpecificThreadExit):
5313 * wtf/Threading.cpp: Renamed from Source/JavaScriptCore/wtf/Threading.cpp.
5316 (WTF::NewThreadContext::NewThreadContext):
5317 (WTF::threadEntryPoint):
5318 (WTF::createThread):
5319 (WTF::ThreadFunctionWithReturnValueInvocation::ThreadFunctionWithReturnValueInvocation):
5320 (ThreadFunctionWithReturnValueInvocation):
5321 (WTF::compatEntryPoint):
5322 (WTF::waitForThreadCompletion):
5323 * wtf/Threading.h: Renamed from Source/JavaScriptCore/wtf/Threading.h.
5325 * wtf/ThreadingNone.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingNone.cpp.
5326 * wtf/ThreadingPrimitives.h: Renamed from Source/JavaScriptCore/wtf/ThreadingPrimitives.h.
5329 (PlatformCondition):
5334 * wtf/ThreadingPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingPthreads.cpp.
5336 (WTF::threadMapMutex):
5337 (WTF::initializeThreading):
5338 (WTF::lockAtomicallyInitializedStaticMutex):
5339 (WTF::unlockAtomicallyInitializedStaticMutex):
5341 (WTF::identifierByPthreadHandle):
5342 (WTF::establishIdentifierForPthreadHandle):
5343 (WTF::pthreadHandleForIdentifier):
5344 (WTF::clearPthreadHandleForIdentifier):
5345 (WTF::wtfThreadEntryPoint):
5346 (WTF::createThreadInternal):
5347 (WTF::initializeCurrentThreadInternal):
5348 (WTF::waitForThreadCompletion):
5349 (WTF::detachThread):
5351 (WTF::currentThread):
5352 (WTF::Mutex::Mutex):
5353 (WTF::Mutex::~Mutex):
5355 (WTF::Mutex::tryLock):
5356 (WTF::Mutex::unlock):
5357 (WTF::ReadWriteLock::ReadWriteLock):
5358 (WTF::ReadWriteLock::~ReadWriteLock):
5359 (WTF::ReadWriteLock::readLock):
5360 (WTF::ReadWriteLock::tryReadLock):
5361 (WTF::ReadWriteLock::writeLock):
5362 (WTF::ReadWriteLock::tryWriteLock):
5363 (WTF::ReadWriteLock::unlock):
5364 (WTF::ThreadCondition::ThreadCondition):
5365 (WTF::ThreadCondition::~ThreadCondition):
5366 (WTF::ThreadCondition::wait):
5367 (WTF::ThreadCondition::timedWait):
5368 (WTF::ThreadCondition::signal):
5369 (WTF::ThreadCondition::broadcast):
5370 * wtf/ThreadingWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingWin.cpp.
5372 (tagTHREADNAME_INFO):
5373 (WTF::initializeCurrentThreadInternal):
5374 (WTF::lockAtomicallyInitializedStaticMutex):
5375 (WTF::unlockAtomicallyInitializedStaticMutex):
5376 (WTF::threadMapMutex):
5377 (WTF::initializeThreading):
5379 (WTF::storeThreadHandleByIdentifier):
5380 (WTF::threadHandleForIdentifier):
5381 (WTF::clearThreadHandleForIdentifier):
5382 (WTF::wtfThreadEntryPoint):
5383 (WTF::createThreadInternal):
5384 (WTF::waitForThreadCompletion):
5385 (WTF::detachThread):
5387 (WTF::currentThread):
5388 (WTF::Mutex::Mutex):
5389 (WTF::Mutex::~Mutex):
5391 (WTF::Mutex::tryLock):
5392 (WTF::Mutex::unlock):
5393 (WTF::PlatformCondition::timedWait):
5394 (WTF::PlatformCondition::signal):
5395 (WTF::ThreadCondition::ThreadCondition):
5396 (WTF::ThreadCondition::~ThreadCondition):
5397 (WTF::ThreadCondition::wait):
5398 (WTF::ThreadCondition::timedWait):
5399 (WTF::ThreadCondition::signal):
5400 (WTF::ThreadCondition::broadcast):
5401 (WTF::absoluteTimeToWaitTimeoutInterval):
5402 * wtf/TypeTraits.cpp: Renamed from Source/JavaScriptCore/wtf/TypeTraits.cpp.
5404 * wtf/TypeTraits.h: Renamed from Source/JavaScriptCore/wtf/TypeTraits.h.
5406 (IsConvertibleToInteger):
5411 (IsSubclassOfTemplate):
5415 (RemoveConstVolatile):
5421 * wtf/TypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/TypedArrayBase.h.
5424 (WTF::TypedArrayBase::data):
5425 (WTF::TypedArrayBase::set):
5426 (WTF::TypedArrayBase::setRange):
5427 (WTF::TypedArrayBase::zeroRange):
5428 (WTF::TypedArrayBase::length):
5429 (WTF::TypedArrayBase::byteLength):
5430 (WTF::TypedArrayBase::TypedArrayBase):
5431 (WTF::TypedArrayBase::create):
5432 (WTF::TypedArrayBase::subarrayImpl):
5433 (WTF::TypedArrayBase::neuter):
5434 * wtf/Uint16Array.h: Renamed from Source/JavaScriptCore/wtf/Uint16Array.h.
5437 (WTF::Uint16Array::set):
5438 (WTF::Uint16Array::isUnsignedShortArray):
5439 (WTF::Uint16Array::create):
5440 (WTF::Uint16Array::Uint16Array):
5441 (WTF::Uint16Array::subarray):
5442 * wtf/Uint32Array.h: Renamed from Source/JavaScriptCore/wtf/Uint32Array.h.
5445 (WTF::Uint32Array::set):
5446 (WTF::Uint32Array::isUnsignedIntArray):
5447 (WTF::Uint32Array::create):
5448 (WTF::Uint32Array::Uint32Array):
5449 (WTF::Uint32Array::subarray):
5450 * wtf/Uint8Array.h: Renamed from Source/JavaScriptCore/wtf/Uint8Array.h.
5453 (WTF::Uint8Array::set):
5454 (WTF::Uint8Array::isUnsignedByteArray):
5455 (WTF::Uint8Array::create):
5456 (WTF::Uint8Array::Uint8Array):
5457 (WTF::Uint8Array::subarray):
5458 * wtf/Uint8ClampedArray.h: Renamed from Source/JavaScriptCore/wtf/Uint8ClampedArray.h.
5460 (Uint8ClampedArray):
5461 (WTF::Uint8ClampedArray::set):
5462 (WTF::Uint8ClampedArray::isUnsignedByteClampedArray):
5463 (WTF::Uint8ClampedArray::create):
5464 (WTF::Uint8ClampedArray::Uint8ClampedArray):
5465 (WTF::Uint8ClampedArray::subarray):
5466 * wtf/UnionFind.h: Renamed from Source/JavaScriptCore/wtf/UnionFind.h.
5469 (WTF::UnionFind::UnionFind):
5470 (WTF::UnionFind::find):
5471 (WTF::UnionFind::unify):
5472 * wtf/UnusedParam.h: Renamed from Source/JavaScriptCore/wtf/UnusedParam.h.
5474 * wtf/VMTags.h: Renamed from Source/JavaScriptCore/wtf/VMTags.h.
5475 * wtf/ValueCheck.h: Renamed from Source/JavaScriptCore/wtf/ValueCheck.h.
5478 (WTF::ValueCheck::checkConsistency):
5479 * wtf/Vector.h: Renamed from Source/JavaScriptCore/wtf/Vector.h.
5481 (WTF::VectorTypeOperations::destruct):
5482 (VectorTypeOperations):
5483 (WTF::VectorTypeOperations::initialize):
5484 (WTF::VectorTypeOperations::move):
5485 (WTF::VectorTypeOperations::moveOverlapping):
5486 (WTF::VectorTypeOperations::uninitializedCopy):
5487 (WTF::VectorTypeOperations::uninitializedFill):
5488 (WTF::VectorTypeOperations::compare):
5490 (WTF::VectorBufferBase::allocateBuffer):
5491 (WTF::VectorBufferBase::tryAllocateBuffer):
5492 (WTF::VectorBufferBase::deallocateBuffer):
5493 (WTF::VectorBufferBase::buffer):
5494 (WTF::VectorBufferBase::bufferSlot):
5495 (WTF::VectorBufferBase::capacity):
5496 (WTF::VectorBufferBase::releaseBuffer):
5497 (WTF::VectorBufferBase::VectorBufferBase):
5498 (WTF::VectorBufferBase::~VectorBufferBase):
5500 (WTF::VectorBuffer::VectorBuffer):
5501 (WTF::VectorBuffer::~VectorBuffer):
5502 (WTF::VectorBuffer::allocateBuffer):
5503 (WTF::VectorBuffer::tryAllocateBuffer):
5504 (WTF::VectorBuffer::deallocateBuffer):
5505 (WTF::VectorBuffer::swap):
5506 (WTF::VectorBuffer::restoreInlineBufferIfNeeded):
5507 (WTF::VectorBuffer::releaseBuffer):
5508 (WTF::VectorBuffer::inlineBuffer):
5510 (WTF::Vector::Vector):
5511 (WTF::Vector::~Vector):
5512 (WTF::Vector::size):
5513 (WTF::Vector::capacity):
5514 (WTF::Vector::isEmpty):
5516 (WTF::Vector::operator[]):
5517 (WTF::Vector::data):
5518 (WTF::Vector::dataSlot):
5519 (WTF::Vector::begin):
5521 (WTF::Vector::rbegin):
5522 (WTF::Vector::rend):
5523 (WTF::Vector::reversed):
5524 (WTF::Vector::first):
5525 (WTF::Vector::last):
5526 (WTF::Vector::shrinkToFit):
5527 (WTF::Vector::clear):
5528 (WTF::Vector::removeLast):
5529 (WTF::Vector::fill):
5530 (WTF::Vector::swap):
5531 (VectorReverseProxy):
5532 (WTF::Vector::VectorReverseProxy::begin):
5533 (WTF::Vector::VectorReverseProxy::end):
5538 (WTF::typelessPointersAreEqual):
5541 (WTF::::reverseFind):
5543 (WTF::::appendRange):
5544 (WTF::::expandCapacity):
5545 (WTF::::tryExpandCapacity):
5549 (WTF::::reserveCapacity):
5550 (WTF::::tryReserveCapacity):
5551 (WTF::::reserveInitialCapacity):
5552 (WTF::::shrinkCapacity):
5555 (WTF::::appendSlowCase):
5556 (WTF::::uncheckedAppend):
5561 (WTF::::releaseBuffer):
5562 (WTF::::checkConsistency):
5563 (WTF::deleteAllValues):
5567 * wtf/VectorTraits.h: Renamed from Source/JavaScriptCore/wtf/VectorTraits.h.
5569 (SimpleClassVectorTraits):
5570 * wtf/WTFThreadData.cpp: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.cpp.
5572 (WTF::WTFThreadData::WTFThreadData):
5573 (WTF::WTFThreadData::~WTFThreadData):
5575 (JSC::IdentifierTable::~IdentifierTable):
5576 (JSC::IdentifierTable::add):
5577 * wtf/WTFThreadData.h: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.h.
5580 (JSC::IdentifierTable::remove):
5581 (JSC::IdentifierTable::literalTable):
5584 (WTF::WTFThreadData::atomicStringTable):
5585 (WTF::WTFThreadData::currentIdentifierTable):
5586 (WTF::WTFThreadData::setCurrentIdentifierTable):
5587 (WTF::WTFThreadData::resetCurrentIdentifierTable):
5588 (WTF::WTFThreadData::stack):
5589 (WTF::wtfThreadData):
5590 * wtf/blackberry/MainThreadBlackBerry.cpp: Renamed from Source/JavaScriptCore/wtf/blackberry/MainThreadBlackBerry.cpp.
5592 (WTF::initializeMainThreadPlatform):
5593 (WTF::scheduleDispatchFunctionsOnMainThread):
5594 * wtf/chromium/ChromiumThreading.h: Renamed from Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h.
5596 (ChromiumThreading):
5597 * wtf/chromium/MainThreadChromium.cpp: Renamed from Source/JavaScriptCore/wtf/chromium/MainThreadChromium.cpp.
5599 (WTF::initializeMainThread):
5600 (WTF::callOnMainThread):
5601 (WTF::callOnMainThreadAndWait):
5602 (WTF::setMainThreadCallbacksPaused):
5603 (WTF::isMainThread):
5604 * wtf/dtoa.cpp: Renamed from Source/JavaScriptCore/wtf/dtoa.cpp.
5607 (WTF::BigInt::BigInt):
5609 (WTF::BigInt::clear):
5610 (WTF::BigInt::size):
5611 (WTF::BigInt::resize):
5612 (WTF::BigInt::words):
5613 (WTF::BigInt::append):
5620 (WTF::P5Node::P5Node):
5629 * wtf/dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa.h.
5631 * wtf/dtoa/COPYING: Renamed from Source/JavaScriptCore/wtf/dtoa/COPYING.
5632 * wtf/dtoa/LICENSE: Renamed from Source/JavaScriptCore/wtf/dtoa/LICENSE.
5633 * wtf/dtoa/README: Renamed from Source/JavaScriptCore/wtf/dtoa/README.
5634 * wtf/dtoa/bignum-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.cc.
5635 * wtf/dtoa/bignum-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.h.
5637 (double_conversion):
5638 * wtf/dtoa/bignum.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.cc.
5639 * wtf/dtoa/bignum.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.h.
5641 (double_conversion):
5643 (WTF::double_conversion::Bignum::Times10):
5644 (WTF::double_conversion::Bignum::Equal):
5645 (WTF::double_conversion::Bignum::LessEqual):
5646 (WTF::double_conversion::Bignum::Less):
5647 (WTF::double_conversion::Bignum::PlusEqual):
5648 (WTF::double_conversion::Bignum::PlusLessEqual):
5649 (WTF::double_conversion::Bignum::PlusLess):
5650 (WTF::double_conversion::Bignum::EnsureCapacity):
5651 (WTF::double_conversion::Bignum::BigitLength):
5652 * wtf/dtoa/cached-powers.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.cc.
5653 * wtf/dtoa/cached-powers.h: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.h.
5655 (double_conversion):
5657 * wtf/dtoa/diy-fp.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.cc.
5658 * wtf/dtoa/diy-fp.h: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.h.
5660 (double_conversion):
5662 (WTF::double_conversion::DiyFp::DiyFp):
5663 (WTF::double_conversion::DiyFp::Subtract):
5664 (WTF::double_conversion::DiyFp::Minus):
5665 (WTF::double_conversion::DiyFp::Times):
5666 (WTF::double_conversion::DiyFp::Normalize):
5667 (WTF::double_conversion::DiyFp::f):
5668 (WTF::double_conversion::DiyFp::e):
5669 (WTF::double_conversion::DiyFp::set_f):
5670 (WTF::double_conversion::DiyFp::set_e):
5671 * wtf/dtoa/double-conversion.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.cc.
5672 * wtf/dtoa/double-conversion.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.h.
5674 (double_conversion):
5675 (DoubleToStringConverter):
5676 (WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
5677 (StringToDoubleConverter):
5678 (WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
5679 * wtf/dtoa/double.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double.h.
5681 (double_conversion):
5682 (WTF::double_conversion::double_to_uint64):
5683 (WTF::double_conversion::uint64_to_double):
5685 (WTF::double_conversion::Double::Double):
5686 (WTF::double_conversion::Double::AsDiyFp):
5687 (WTF::double_conversion::Double::AsNormalizedDiyFp):
5688 (WTF::double_conversion::Double::AsUint64):
5689 (WTF::double_conversion::Double::NextDouble):
5690 (WTF::double_conversion::Double::Exponent):
5691 (WTF::double_conversion::Double::Significand):
5692 (WTF::double_conversion::Double::IsDenormal):
5693 (WTF::double_conversion::Double::IsSpecial):
5694 (WTF::double_conversion::Double::IsNan):
5695 (WTF::double_conversion::Double::IsInfinite):
5696 (WTF::double_conversion::Double::Sign):
5697 (WTF::double_conversion::Double::UpperBoundary):
5698 (WTF::double_conversion::Double::NormalizedBoundaries):
5699 (WTF::double_conversion::Double::value):
5700 (WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
5701 (WTF::double_conversion::Double::Infinity):
5702 (WTF::double_conversion::Double::NaN):
5703 (WTF::double_conversion::Double::DiyFpToUint64):
5704 * wtf/dtoa/fast-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.cc.
5705 * wtf/dtoa/fast-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.h.
5707 (double_conversion):
5708 * wtf/dtoa/fixed-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.cc.
5709 * wtf/dtoa/fixed-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.h.
5711 (double_conversion):
5712 * wtf/dtoa/strtod.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.cc.
5713 * wtf/dtoa/strtod.h: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.h.
5715 (double_conversion):
5716 * wtf/dtoa/utils.h: Renamed from Source/JavaScriptCore/wtf/dtoa/utils.h.
5718 (double_conversion):
5719 (WTF::double_conversion::Max):
5720 (WTF::double_conversion::Min):
5721 (WTF::double_conversion::StrLength):
5723 (WTF::double_conversion::Vector::Vector):
5724 (WTF::double_conversion::Vector::SubVector):
5725 (WTF::double_conversion::Vector::length):
5726 (WTF::double_conversion::Vector::is_empty):
5727 (WTF::double_conversion::Vector::start):
5728 (WTF::double_conversion::Vector::operator[]):
5729 (WTF::double_conversion::Vector::first):
5730 (WTF::double_conversion::Vector::last):
5732 (WTF::double_conversion::StringBuilder::StringBuilder):
5733 (WTF::double_conversion::StringBuilder::~StringBuilder):
5734 (WTF::double_conversion::StringBuilder::size):
5735 (WTF::double_conversion::StringBuilder::position):
5736 (WTF::double_conversion::StringBuilder::SetPosition):
5737 (WTF::double_conversion::StringBuilder::Reset):
5738 (WTF::double_conversion::StringBuilder::AddCharacter):
5739 (WTF::double_conversion::StringBuilder::AddString):
5740 (WTF::double_conversion::StringBuilder::AddSubstring):
5741 (WTF::double_conversion::StringBuilder::AddPadding):
5742 (WTF::double_conversion::StringBuilder::Finalize):
5743 (WTF::double_conversion::StringBuilder::is_finalized):
5744 (WTF::double_conversion::BitCast):
5745 * wtf/efl/MainThreadEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/MainThreadEfl.cpp.
5748 (WTF::monitorDispatchFunctions):
5749 (WTF::initializeMainThreadPlatform):
5750 (WTF::scheduleDispatchFunctionsOnMainThread):
5751 * wtf/efl/OwnPtrEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp.
5753 (WTF::deleteOwnedPtr):
5754 * wtf/gobject/GOwnPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp.
5759 (WTF::GPatternSpec):
5763 * wtf/gobject/GOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.
5766 (WTF::GOwnPtr::GOwnPtr):
5767 (WTF::GOwnPtr::~GOwnPtr):
5768 (WTF::GOwnPtr::get):
5769 (WTF::GOwnPtr::release):
5770 (WTF::GOwnPtr::outPtr):
5771 (WTF::GOwnPtr::set):
5772 (WTF::GOwnPtr::clear):
5773 (WTF::GOwnPtr::operator*):
5774 (WTF::GOwnPtr::operator->):
5775 (WTF::GOwnPtr::operator!):
5776 (WTF::GOwnPtr::operator UnspecifiedBoolType):
5777 (WTF::GOwnPtr::swap):
5782 (WTF::freeOwnedGPtr):
5783 * wtf/gobject/GRefPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp.
5788 * wtf/gobject/GRefPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.h.
5791 (WTF::GRefPtr::GRefPtr):
5792 (WTF::GRefPtr::~GRefPtr):
5793 (WTF::GRefPtr::clear):
5794 (WTF::GRefPtr::isHashTableDeletedValue):
5795 (WTF::GRefPtr::get):
5796 (WTF::GRefPtr::operator*):
5797 (WTF::GRefPtr::operator->):
5798 (WTF::GRefPtr::operator!):
5799 (WTF::GRefPtr::operator UnspecifiedBoolType):
5800 (WTF::GRefPtr::hashTableDeletedValue):
5806 (WTF::static_pointer_cast):
5807 (WTF::const_pointer_cast):
5812 * wtf/gobject/GTypedefs.h: Renamed from Source/JavaScriptCore/wtf/gobject/GTypedefs.h.
5813 * wtf/gobject/GlibUtilities.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp.
5814 (getCurrentExecutablePath):
5815 * wtf/gobject/GlibUtilities.h: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.h.
5816 * wtf/gtk/MainThreadGtk.cpp: Renamed from Source/JavaScriptCore/wtf/gtk/MainThreadGtk.cpp.
5818 (WTF::initializeMainThreadPlatform):
5819 (WTF::timeoutFired):
5820 (WTF::scheduleDispatchFunctionsOnMainThread):
5821 * wtf/mac/MainThreadMac.mm: Renamed from Source/JavaScriptCore/wtf/mac/MainThreadMac.mm.
5822 (-[JSWTFMainThreadCaller call]):
5824 (WTF::initializeMainThreadPlatform):
5825 (WTF::initializeMainThreadToProcessMainThreadPlatform):
5828 (WTF::scheduleDispatchFunctionsOnMainThread):
5829 (WTF::isMainThread):
5830 * wtf/qt/MainThreadQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/MainThreadQt.cpp.
5832 (MainThreadInvoker):
5833 (WTF::MainThreadInvoker::MainThreadInvoker):
5834 (WTF::MainThreadInvoker::event):
5835 (WTF::initializeMainThreadPlatform):
5836 (WTF::scheduleDispatchFunctionsOnMainThread):
5837 * wtf/qt/StringQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/StringQt.cpp.
5839 (WTF::String::String):
5840 (WTF::String::operator QString):
5843 * wtf/qt/UtilsQt.h: Renamed from Source/JavaScriptCore/wtf/qt/UtilsQt.h.
5845 * wtf/qt/compat/QGuiApplication: Renamed from Source/JavaScriptCore/wtf/qt/compat/QGuiApplication.
5846 * wtf/qt/compat/qguiapplication.h: Renamed from Source/JavaScriptCore/wtf/qt/compat/qguiapplication.h.
5848 (QGuiApplication::styleHints):
5849 * wtf/text/ASCIIFastPath.h: Renamed from Source/JavaScriptCore/wtf/text/ASCIIFastPath.h.
5851 (WTF::isAlignedToMachineWord):
5852 (WTF::alignToMachineWord):
5854 (WTF::charactersAreAllASCII):
5855 * wtf/text/AtomicString.cpp: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.cpp.
5857 (AtomicStringTable):
5858 (WTF::AtomicStringTable::create):
5859 (WTF::AtomicStringTable::table):
5860 (WTF::AtomicStringTable::destroy):
5862 (WTF::addToStringTable):
5863 (WTF::CStringTranslator::hash):
5864 (CStringTranslator):
5865 (WTF::CStringTranslator::equal):
5866 (WTF::CStringTranslator::translate):
5867 (WTF::AtomicString::add):
5869 (WTF::UCharBufferTranslator::hash):
5870 (UCharBufferTranslator):
5871 (WTF::UCharBufferTranslator::equal):
5872 (WTF::UCharBufferTranslator::translate):
5873 (HashAndCharacters):
5874 (WTF::HashAndCharactersTranslator::hash):
5875 (HashAndCharactersTranslator):
5876 (WTF::HashAndCharactersTranslator::equal):
5877 (WTF::HashAndCharactersTranslator::translate):
5878 (HashAndUTF8Characters):
5879 (WTF::HashAndUTF8CharactersTranslator::hash):
5880 (HashAndUTF8CharactersTranslator):
5881 (WTF::HashAndUTF8CharactersTranslator::equal):
5882 (WTF::HashAndUTF8CharactersTranslator::translate):
5883 (SubstringLocation):
5884 (WTF::SubstringTranslator::hash):
5885 (SubstringTranslator):
5886 (WTF::SubstringTranslator::equal):
5887 (WTF::SubstringTranslator::translate):
5888 (WTF::AtomicString::addSlowCase):
5889 (WTF::AtomicString::find):
5890 (WTF::AtomicString::remove):
5891 (WTF::AtomicString::lower):
5892 (WTF::AtomicString::fromUTF8Internal):
5893 (WTF::AtomicString::show):
5894 * wtf/text/AtomicString.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.h.
5897 (WTF::AtomicString::AtomicString):
5898 (WTF::AtomicString::isHashTableDeletedValue):
5899 (WTF::AtomicString::operator const String&):
5900 (WTF::AtomicString::string):
5901 (WTF::AtomicString::impl):
5902 (WTF::AtomicString::characters):
5903 (WTF::AtomicString::length):
5904 (WTF::AtomicString::operator[]):
5905 (WTF::AtomicString::contains):
5906 (WTF::AtomicString::find):
5907 (WTF::AtomicString::startsWith):
5908 (WTF::AtomicString::endsWith):
5909 (WTF::AtomicString::upper):
5910 (WTF::AtomicString::toInt):
5911 (WTF::AtomicString::toDouble):
5912 (WTF::AtomicString::toFloat):
5913 (WTF::AtomicString::percentage):
5914 (WTF::AtomicString::isNull):
5915 (WTF::AtomicString::isEmpty):
5916 (WTF::AtomicString::createCFString):
5917 (WTF::AtomicString::operator NSString*):
5918 (WTF::AtomicString::operator QString):
5919 (WTF::AtomicString::add):
5922 (WTF::equalIgnoringCase):
5923 (WTF::AtomicString::fromUTF8):
5924 * wtf/text/AtomicStringHash.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringHash.h.
5926 (WTF::AtomicStringHash::hash):
5928 (WTF::AtomicStringHash::equal):
5929 * wtf/text/AtomicStringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringImpl.h.
5932 (WTF::AtomicStringImpl::AtomicStringImpl):
5933 * wtf/text/CString.cpp: Renamed from Source/JavaScriptCore/wtf/text/CString.cpp.
5935 (WTF::CString::CString):
5936 (WTF::CString::init):
5937 (WTF::CString::mutableData):
5938 (WTF::CString::newUninitialized):
5939 (WTF::CString::copyBufferIfNeeded):
5941 * wtf/text/CString.h: Renamed from Source/JavaScriptCore/wtf/text/CString.h.
5944 (WTF::CStringBuffer::data):
5945 (WTF::CStringBuffer::length):
5946 (WTF::CStringBuffer::create):
5947 (WTF::CStringBuffer::CStringBuffer):
5948 (WTF::CStringBuffer::mutableData):
5950 (WTF::CString::CString):
5951 (WTF::CString::data):
5952 (WTF::CString::length):
5953 (WTF::CString::isNull):
5954 (WTF::CString::buffer):
5956 * wtf/text/StringBuffer.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuffer.h.
5959 (WTF::StringBuffer::StringBuffer):
5960 (WTF::StringBuffer::~StringBuffer):
5961 (WTF::StringBuffer::shrink):
5962 (WTF::StringBuffer::resize):
5963 (WTF::StringBuffer::length):
5964 (WTF::StringBuffer::characters):
5965 (WTF::StringBuffer::operator[]):
5966 (WTF::StringBuffer::release):
5967 * wtf/text/StringBuilder.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.cpp.
5969 (WTF::StringBuilder::reifyString):
5970 (WTF::StringBuilder::resize):
5971 (WTF::StringBuilder::allocateBuffer):
5972 (WTF::StringBuilder::allocateBufferUpConvert):
5975 (WTF::StringBuilder::reserveCapacity):
5976 (WTF::StringBuilder::appendUninitialized):
5977 (WTF::StringBuilder::appendUninitializedSlow):
5978 (WTF::StringBuilder::append):
5979 (WTF::StringBuilder::canShrink):
5980 (WTF::StringBuilder::shrinkToFit):
5981 * wtf/text/StringBuilder.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.h.
5984 (WTF::StringBuilder::StringBuilder):
5985 (WTF::StringBuilder::append):
5986 (WTF::StringBuilder::toString):
5987 (WTF::StringBuilder::toStringPreserveCapacity):
5988 (WTF::StringBuilder::toAtomicString):
5989 (WTF::StringBuilder::length):
5990 (WTF::StringBuilder::isEmpty):
5991 (WTF::StringBuilder::capacity):
5992 (WTF::StringBuilder::operator[]):
5993 (WTF::StringBuilder::characters8):
5994 (WTF::StringBuilder::characters16):
5995 (WTF::StringBuilder::characters):
5996 (WTF::StringBuilder::is8Bit):
5997 (WTF::StringBuilder::clear):
5998 (WTF::StringBuilder::swap):
6004 * wtf/text/StringConcatenate.h: Renamed from Source/JavaScriptCore/wtf/text/StringConcatenate.h.
6006 (WTF::sumWithOverflow):
6007 (WTF::tryMakeString):
6009 * wtf/text/StringHash.h: Renamed from Source/JavaScriptCore/wtf/text/StringHash.h.
6011 (WTF::StringHash::hash):
6012 (WTF::StringHash::equal):
6015 (WTF::CaseFoldingHash::foldCase):
6016 (WTF::CaseFoldingHash::hash):
6017 (WTF::CaseFoldingHash::equal):
6018 (WTF::AlreadyHashed::hash):
6020 (WTF::AlreadyHashed::avoidDeletedValue):
6021 * wtf/text/StringImpl.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.cpp.
6023 (WTF::StringImpl::~StringImpl):
6024 (WTF::StringImpl::createUninitialized):
6025 (WTF::StringImpl::reallocate):
6026 (WTF::StringImpl::create):
6027 (WTF::StringImpl::getData16SlowCase):
6028 (WTF::StringImpl::upconvertCharacters):
6029 (WTF::StringImpl::containsOnlyWhitespace):
6030 (WTF::StringImpl::substring):
6031 (WTF::StringImpl::characterStartingAt):
6032 (WTF::StringImpl::lower):
6033 (WTF::StringImpl::upper):
6034 (WTF::StringImpl::fill):
6035 (WTF::StringImpl::foldCase):
6036 (WTF::StringImpl::stripMatchedCharacters):
6038 (WTF::UCharPredicate::UCharPredicate):
6039 (WTF::UCharPredicate::operator()):
6040 (SpaceOrNewlinePredicate):
6041 (WTF::SpaceOrNewlinePredicate::operator()):
6042 (WTF::StringImpl::stripWhiteSpace):
6043 (WTF::StringImpl::removeCharacters):
6044 (WTF::StringImpl::simplifyMatchedCharactersToSpace):
6045 (WTF::StringImpl::simplifyWhiteSpace):
6046 (WTF::StringImpl::toIntStrict):
6047 (WTF::StringImpl::toUIntStrict):
6048 (WTF::StringImpl::toInt64Strict):
6049 (WTF::StringImpl::toUInt64Strict):
6050 (WTF::StringImpl::toIntPtrStrict):
6051 (WTF::StringImpl::toInt):
6052 (WTF::StringImpl::toUInt):
6053 (WTF::StringImpl::toInt64):
6054 (WTF::StringImpl::toUInt64):
6055 (WTF::StringImpl::toIntPtr):
6056 (WTF::StringImpl::toDouble):
6057 (WTF::StringImpl::toFloat):
6058 (WTF::equalIgnoringCase):
6059 (WTF::StringImpl::find):
6060 (WTF::StringImpl::findIgnoringCase):
6062 (WTF::StringImpl::reverseFind):
6063 (WTF::reverseFindInner):
6064 (WTF::StringImpl::reverseFindIgnoringCase):
6065 (WTF::StringImpl::endsWith):
6066 (WTF::StringImpl::replace):
6068 (WTF::equalIgnoringNullity):
6069 (WTF::StringImpl::defaultWritingDirection):
6070 (WTF::StringImpl::adopt):
6071 (WTF::StringImpl::createWithTerminatingNullCharacter):
6072 * wtf/text/StringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.h.
6076 (WTF::StringImpl::StringImpl):
6077 (WTF::StringImpl::create):
6078 (WTF::StringImpl::create8):
6079 (WTF::StringImpl::tryCreateUninitialized):
6080 (WTF::StringImpl::flagsOffset):
6081 (WTF::StringImpl::flagIs8Bit):
6082 (WTF::StringImpl::dataOffset):
6083 (WTF::StringImpl::adopt):
6084 (WTF::StringImpl::length):
6085 (WTF::StringImpl::is8Bit):
6086 (WTF::StringImpl::characters8):
6087 (WTF::StringImpl::characters16):
6088 (WTF::StringImpl::characters):
6089 (WTF::StringImpl::cost):
6090 (WTF::StringImpl::has16BitShadow):
6091 (WTF::StringImpl::isIdentifier):
6092 (WTF::StringImpl::setIsIdentifier):
6093 (WTF::StringImpl::hasTerminatingNullCharacter):
6094 (WTF::StringImpl::isAtomic):
6095 (WTF::StringImpl::setIsAtomic):
6096 (WTF::StringImpl::setHash):
6097 (WTF::StringImpl::rawHash):
6098 (WTF::StringImpl::hasHash):
6099 (WTF::StringImpl::existingHash):
6100 (WTF::StringImpl::hash):
6101 (WTF::StringImpl::hasOneRef):
6102 (WTF::StringImpl::ref):
6103 (WTF::StringImpl::deref):
6104 (WTF::StringImpl::copyChars):
6105 (WTF::StringImpl::operator[]):
6106 (WTF::StringImpl::find):
6107 (WTF::StringImpl::findIgnoringCase):
6108 (WTF::StringImpl::startsWith):
6109 (WTF::StringImpl::bufferOwnership):
6110 (WTF::StringImpl::isStatic):
6114 (WTF::equalIgnoringCase):
6115 (WTF::equalIgnoringNullity):
6116 (WTF::codePointCompare):
6117 (WTF::codePointCompare8):
6118 (WTF::codePointCompare16):
6119 (WTF::codePointCompare8To16):
6120 (WTF::isSpaceOrNewline):
6121 (WTF::StringImpl::isolatedCopy):
6122 * wtf/text/StringOperators.h: Renamed from Source/JavaScriptCore/wtf/text/StringOperators.h.
6125 (WTF::StringAppend::StringAppend):
6126 (WTF::StringAppend::operator String):
6127 (WTF::StringAppend::operator AtomicString):
6128 (WTF::StringAppend::is8Bit):
6129 (WTF::StringAppend::writeTo):
6130 (WTF::StringAppend::length):
6132 * wtf/text/StringStatics.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringStatics.cpp.
6134 (WTF::StringImpl::empty):
6135 (WTF::StringImpl::hashSlowCase):
6136 (WTF::AtomicString::init):
6137 * wtf/text/TextPosition.h: Renamed from Source/JavaScriptCore/wtf/text/TextPosition.h.
6140 (WTF::OrdinalNumber::fromZeroBasedInt):
6141 (WTF::OrdinalNumber::fromOneBasedInt):
6142 (WTF::OrdinalNumber::OrdinalNumber):
6143 (WTF::OrdinalNumber::zeroBasedInt):
6144 (WTF::OrdinalNumber::oneBasedInt):
6145 (WTF::OrdinalNumber::operator==):
6146 (WTF::OrdinalNumber::operator!=):
6147 (WTF::OrdinalNumber::first):
6148 (WTF::OrdinalNumber::beforeFirst):
6150 (WTF::TextPosition::TextPosition):
6151 (WTF::TextPosition::operator==):
6152 (WTF::TextPosition::operator!=):
6153 (WTF::TextPosition::minimumPosition):
6154 (WTF::TextPosition::belowRangePosition):
6155 * wtf/text/WTFString.cpp: Renamed from Source/JavaScriptCore/wtf/text/WTFString.cpp.
6157 (WTF::String::String):
6158 (WTF::String::append):
6159 (WTF::codePointCompare):
6160 (WTF::String::insert):
6161 (WTF::String::characterStartingAt):
6162 (WTF::String::truncate):
6163 (WTF::String::remove):
6164 (WTF::String::substring):
6165 (WTF::String::substringSharingImpl):
6166 (WTF::String::lower):
6167 (WTF::String::upper):
6168 (WTF::String::stripWhiteSpace):
6169 (WTF::String::simplifyWhiteSpace):
6170 (WTF::String::removeCharacters):
6171 (WTF::String::foldCase):
6172 (WTF::String::percentage):
6173 (WTF::String::charactersWithNullTermination):
6174 (WTF::String::format):
6175 (WTF::String::number):
6176 (WTF::String::toIntStrict):
6177 (WTF::String::toUIntStrict):
6178 (WTF::String::toInt64Strict):
6179 (WTF::String::toUInt64Strict):
6180 (WTF::String::toIntPtrStrict):
6181 (WTF::String::toInt):
6182 (WTF::String::toUInt):
6183 (WTF::String::toInt64):
6184 (WTF::String::toUInt64):
6185 (WTF::String::toIntPtr):
6186 (WTF::String::toDouble):
6187 (WTF::String::toFloat):
6188 (WTF::String::isolatedCopy):
6189 (WTF::String::split):
6190 (WTF::String::ascii):
6191 (WTF::String::latin1):
6192 (WTF::putUTF8Triple):
6193 (WTF::String::utf8):
6194 (WTF::String::fromUTF8):
6195 (WTF::String::fromUTF8WithLatin1Fallback):
6196 (WTF::isCharacterAllowedInBase):
6197 (WTF::toIntegralType):
6198 (WTF::lengthOfCharactersAsInteger):
6199 (WTF::charactersToIntStrict):
6200 (WTF::charactersToUIntStrict):
6201 (WTF::charactersToInt64Strict):
6202 (WTF::charactersToUInt64Strict):
6203 (WTF::charactersToIntPtrStrict):
6204 (WTF::charactersToInt):
6205 (WTF::charactersToUInt):
6206 (WTF::charactersToInt64):
6207 (WTF::charactersToUInt64):
6208 (WTF::charactersToIntPtr):
6209 (WTF::toDoubleType):
6210 (WTF::charactersToDouble):
6211 (WTF::charactersToFloat):
6212 (WTF::charactersToFloatIgnoringJunk):
6217 * wtf/text/WTFString.h: Renamed from Source/JavaScriptCore/wtf/text/WTFString.h.
6221 (WTF::String::String):
6222 (WTF::String::~String):
6223 (WTF::String::swap):
6224 (WTF::String::adopt):
6225 (WTF::String::isNull):
6226 (WTF::String::isEmpty):
6227 (WTF::String::impl):
6228 (WTF::String::length):
6229 (WTF::String::characters):
6230 (WTF::String::characters8):
6231 (WTF::String::characters16):
6232 (WTF::String::is8Bit):
6233 (WTF::String::operator[]):
6234 (WTF::String::find):
6235 (WTF::String::reverseFind):
6236 (WTF::String::findIgnoringCase):
6237 (WTF::String::reverseFindIgnoringCase):
6238 (WTF::String::contains):
6239 (WTF::String::startsWith):
6240 (WTF::String::endsWith):
6241 (WTF::String::append):
6242 (WTF::String::replace):
6243 (WTF::String::makeLower):
6244 (WTF::String::makeUpper):
6245 (WTF::String::fill):
6246 (WTF::String::left):
6247 (WTF::String::right):
6248 (WTF::String::createUninitialized):
6249 (WTF::String::operator NSString*):
6250 (WTF::String::fromUTF8):
6251 (WTF::String::fromUTF8WithLatin1Fallback):
6252 (WTF::String::defaultWritingDirection):
6253 (WTF::String::containsOnlyWhitespace):
6254 (WTF::String::isHashTableDeletedValue):
6258 (WTF::equalIgnoringCase):
6259 (WTF::equalPossiblyIgnoringCase):
6260 (WTF::equalIgnoringNullity):
6265 (WTF::String::containsOnlyLatin1):
6266 (WTF::nsStringNilIfEmpty):
6267 (WTF::String::containsOnlyASCII):
6268 (WTF::codePointCompareLessThan):
6272 (WTF::appendNumber):
6273 (WTF::isAllSpecialCharacters):
6274 (WTF::String::isAllSpecialCharacters):
6275 * wtf/threads/BinarySemaphore.cpp: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.cpp.
6277 (WTF::BinarySemaphore::BinarySemaphore):
6278 (WTF::BinarySemaphore::~BinarySemaphore):
6279 (WTF::BinarySemaphore::signal):
6280 (WTF::BinarySemaphore::wait):
6281 * wtf/threads/BinarySemaphore.h: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.h.
6284 (WTF::BinarySemaphore::event):
6285 * wtf/threads/win/BinarySemaphoreWin.cpp: Renamed from Source/JavaScriptCore/wtf/threads/win/BinarySemaphoreWin.cpp.
6287 (WTF::BinarySemaphore::BinarySemaphore):
6288 (WTF::BinarySemaphore::~BinarySemaphore):
6289 (WTF::BinarySemaphore::signal):
6290 (WTF::BinarySemaphore::wait):
6291 * wtf/unicode/CharacterNames.h: Renamed from Source/JavaScriptCore/wtf/unicode/CharacterNames.h.
6293 * wtf/unicode/Collator.h: Renamed from Source/JavaScriptCore/wtf/unicode/Collator.h.
6296 * wtf/unicode/CollatorDefault.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/CollatorDefault.cpp.
6298 (WTF::Collator::Collator):
6299 (WTF::Collator::~Collator):
6300 (WTF::Collator::setOrderLowerFirst):
6301 (WTF::Collator::userDefault):
6302 (WTF::Collator::collate):
6303 * wtf/unicode/ScriptCodesFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/ScriptCodesFromICU.h.
6304 * wtf/unicode/UTF8.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.cpp.
6306 (WTF::Unicode::inlineUTF8SequenceLengthNonASCII):
6307 (WTF::Unicode::inlineUTF8SequenceLength):
6308 (WTF::Unicode::UTF8SequenceLength):
6309 (WTF::Unicode::decodeUTF8Sequence):
6310 (WTF::Unicode::convertLatin1ToUTF8):
6311 (WTF::Unicode::convertUTF16ToUTF8):
6312 (WTF::Unicode::isLegalUTF8):
6313 (WTF::Unicode::readUTF8Sequence):
6314 (WTF::Unicode::convertUTF8ToUTF16):
6315 (WTF::Unicode::calculateStringHashAndLengthFromUTF8):
6316 (WTF::Unicode::equalUTF16WithUTF8):
6317 * wtf/unicode/UTF8.h: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.h.
6319 * wtf/unicode/Unicode.h: Renamed from Source/JavaScriptCore/wtf/unicode/Unicode.h.
6320 * wtf/unicode/UnicodeMacrosFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/UnicodeMacrosFromICU.h.
6321 * wtf/unicode/glib/UnicodeGLib.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp.
6323 (WTF::Unicode::foldCase):
6324 (WTF::Unicode::getUTF16LengthFromUTF8):
6325 (WTF::Unicode::convertCase):
6326 (WTF::Unicode::toLower):
6327 (WTF::Unicode::toUpper):
6328 (WTF::Unicode::direction):
6329 (WTF::Unicode::umemcasecmp):
6330 * wtf/unicode/glib/UnicodeGLib.h: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h.
6332 (WTF::Unicode::toLower):
6333 (WTF::Unicode::toUpper):
6334 (WTF::Unicode::toTitleCase):
6335 (WTF::Unicode::isArabicChar):
6336 (WTF::Unicode::isAlphanumeric):
6337 (WTF::Unicode::isFormatChar):
6338 (WTF::Unicode::isSeparatorSpace):
6339 (WTF::Unicode::isPrintableChar):
6340 (WTF::Unicode::isDigit):
6341 (WTF::Unicode::isPunct):
6342 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6343 (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
6344 (WTF::Unicode::mirroredChar):
6345 (WTF::Unicode::category):
6346 (WTF::Unicode::isLower):
6347 (WTF::Unicode::digitValue):
6348 (WTF::Unicode::combiningClass):
6349 (WTF::Unicode::decompositionType):
6350 * wtf/unicode/icu/CollatorICU.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp.
6352 (WTF::cachedCollatorMutex):
6353 (WTF::Collator::Collator):
6354 (WTF::Collator::userDefault):
6355 (WTF::Collator::~Collator):
6356 (WTF::Collator::setOrderLowerFirst):
6357 (WTF::Collator::collate):
6358 (WTF::Collator::createCollator):
6359 (WTF::Collator::releaseCollator):
6360 * wtf/unicode/icu/UnicodeIcu.h: Renamed from Source/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h.
6362 (WTF::Unicode::foldCase):
6363 (WTF::Unicode::toLower):
6364 (WTF::Unicode::toUpper):
6365 (WTF::Unicode::toTitleCase):
6366 (WTF::Unicode::isArabicChar):
6367 (WTF::Unicode::isAlphanumeric):
6368 (WTF::Unicode::isSeparatorSpace):
6369 (WTF::Unicode::isPrintableChar):
6370 (WTF::Unicode::isPunct):
6371 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6372 (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
6373 (WTF::Unicode::mirroredChar):
6374 (WTF::Unicode::category):
6375 (WTF::Unicode::direction):
6376 (WTF::Unicode::isLower):
6377 (WTF::Unicode::combiningClass):
6378 (WTF::Unicode::decompositionType):
6379 (WTF::Unicode::umemcasecmp):
6380 * wtf/unicode/qt4/UnicodeQt4.h: Renamed from Source/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h.
6384 (WTF::Unicode::toLower):
6385 (WTF::Unicode::toUpper):
6386 (WTF::Unicode::toTitleCase):
6387 (WTF::Unicode::foldCase):
6388 (WTF::Unicode::isArabicChar):
6389 (WTF::Unicode::isPrintableChar):
6390 (WTF::Unicode::isSeparatorSpace):
6391 (WTF::Unicode::isPunct):
6392 (WTF::Unicode::isLower):
6393 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6394 (WTF::Unicode::mirroredChar):
6395 (WTF::Unicode::combiningClass):
6396 (WTF::Unicode::decompositionType):
6397 (WTF::Unicode::umemcasecmp):
6398 (WTF::Unicode::direction):
6399 (WTF::Unicode::category):
6400 * wtf/unicode/wince/UnicodeWinCE.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.cpp.
6402 (WTF::Unicode::toLower):
6403 (WTF::Unicode::toUpper):
6404 (WTF::Unicode::foldCase):
6405 (WTF::Unicode::isPrintableChar):
6406 (WTF::Unicode::isSpace):
6407 (WTF::Unicode::isLetter):
6408 (WTF::Unicode::isUpper):
6409 (WTF::Unicode::isLower):
6410 (WTF::Unicode::isDigit):
6411 (WTF::Unicode::isPunct):
6412 (WTF::Unicode::isAlphanumeric):
6413 (WTF::Unicode::toTitleCase):
6414 (WTF::Unicode::direction):
6415 (WTF::Unicode::category):
6416 (WTF::Unicode::decompositionType):
6417 (WTF::Unicode::combiningClass):
6418 (WTF::Unicode::mirroredChar):
6419 (WTF::Unicode::digitValue):
6420 * wtf/unicode/wince/UnicodeWinCE.h: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.h.
6422 (WTF::Unicode::isSeparatorSpace):
6423 (WTF::Unicode::isHighSurrogate):
6424 (WTF::Unicode::isLowSurrogate):
6425 (WTF::Unicode::isArabicChar):
6426 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6427 (WTF::Unicode::umemcasecmp):
6428 (WTF::Unicode::surrogateToUcs4):
6429 * wtf/url/api/ParsedURL.cpp: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.cpp.
6431 (WTF::ParsedURL::ParsedURL):
6432 (WTF::ParsedURL::isolatedCopy):
6433 (WTF::ParsedURL::scheme):
6434 (WTF::ParsedURL::username):
6435 (WTF::ParsedURL::password):
6436 (WTF::ParsedURL::host):
6437 (WTF::ParsedURL::port):
6438 (WTF::ParsedURL::path):
6439 (WTF::ParsedURL::query):
6440 (WTF::ParsedURL::fragment):
6441 (WTF::ParsedURL::baseAsString):
6442 (WTF::ParsedURL::segment):
6443 * wtf/url/api/ParsedURL.h: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.h.
6446 (WTF::ParsedURL::ParsedURL):
6447 (WTF::ParsedURL::isValid):
6448 (WTF::ParsedURL::spec):
6449 * wtf/url/api/URLString.h: Renamed from Source/JavaScriptCore/wtf/url/api/URLString.h.
6452 (WTF::URLString::URLString):
6453 (WTF::URLString::string):
6454 * wtf/url/src/RawURLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/RawURLBuffer.h.
6457 (WTF::RawURLBuffer::RawURLBuffer):
6458 (WTF::RawURLBuffer::~RawURLBuffer):
6459 (WTF::RawURLBuffer::resize):
6460 * wtf/url/src/URLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLBuffer.h.
6463 (WTF::URLBuffer::URLBuffer):
6464 (WTF::URLBuffer::~URLBuffer):
6465 (WTF::URLBuffer::at):
6466 (WTF::URLBuffer::set):
6467 (WTF::URLBuffer::capacity):
6468 (WTF::URLBuffer::length):
6469 (WTF::URLBuffer::data):
6470 (WTF::URLBuffer::setLength):
6471 (WTF::URLBuffer::append):
6472 (WTF::URLBuffer::grow):
6473 * wtf/url/src/URLCharacterTypes.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.cpp.
6475 * wtf/url/src/URLCharacterTypes.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.h.
6477 (URLCharacterTypes):
6478 (WTF::URLCharacterTypes::isQueryChar):
6479 (WTF::URLCharacterTypes::isIPv4Char):
6480 (WTF::URLCharacterTypes::isHexChar):
6481 (WTF::URLCharacterTypes::isCharOfType):
6482 * wtf/url/src/URLComponent.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLComponent.h.
6485 (WTF::URLComponent::URLComponent):
6486 (WTF::URLComponent::fromRange):
6487 (WTF::URLComponent::isValid):
6488 (WTF::URLComponent::isNonEmpty):
6489 (WTF::URLComponent::isEmptyOrInvalid):
6490 (WTF::URLComponent::reset):
6491 (WTF::URLComponent::operator==):
6492 (WTF::URLComponent::begin):
6493 (WTF::URLComponent::setBegin):
6494 (WTF::URLComponent::length):
6495 (WTF::URLComponent::setLength):
6496 (WTF::URLComponent::end):
6497 * wtf/url/src/URLEscape.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.cpp.
6499 * wtf/url/src/URLEscape.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.h.
6501 (WTF::appendURLEscapedCharacter):
6502 * wtf/url/src/URLParser.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLParser.h.
6505 (WTF::URLParser::isPossibleAuthorityTerminator):
6506 (WTF::URLParser::parseAuthority):
6507 (WTF::URLParser::extractScheme):
6508 (WTF::URLParser::parseAfterScheme):
6509 (WTF::URLParser::parseStandardURL):
6510 (WTF::URLParser::parsePath):
6511 (WTF::URLParser::parsePathURL):
6512 (WTF::URLParser::parseMailtoURL):
6513 (WTF::URLParser::parsePort):
6514 (WTF::URLParser::extractFileName):
6515 (WTF::URLParser::extractQueryKeyValue):
6516 (WTF::URLParser::isURLSlash):
6517 (WTF::URLParser::shouldTrimFromURL):
6518 (WTF::URLParser::trimURL):
6519 (WTF::URLParser::consecutiveSlashes):
6520 (WTF::URLParser::isPortDigit):
6521 (WTF::URLParser::nextAuthorityTerminator):
6522 (WTF::URLParser::parseUserInfo):
6523 (WTF::URLParser::parseServerInfo):
6524 * wtf/url/src/URLQueryCanonicalizer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLQueryCanonicalizer.h.
6526 (URLQueryCanonicalizer):
6527 (WTF::URLQueryCanonicalizer::canonicalize):
6528 (WTF::URLQueryCanonicalizer::isAllASCII):
6529 (WTF::URLQueryCanonicalizer::isRaw8Bit):
6530 (WTF::URLQueryCanonicalizer::appendRaw8BitQueryString):
6531 (WTF::URLQueryCanonicalizer::convertToQueryEncoding):
6532 * wtf/url/src/URLSegments.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.cpp.
6534 (WTF::URLSegments::length):
6535 (WTF::URLSegments::charactersBefore):
6536 * wtf/url/src/URLSegments.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.h.
6539 (WTF::URLSegments::URLSegments):
6540 * wtf/win/MainThreadWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/MainThreadWin.cpp.
6542 (WTF::ThreadingWindowWndProc):
6543 (WTF::initializeMainThreadPlatform):
6544 (WTF::scheduleDispatchFunctionsOnMainThread):
6545 * wtf/win/OwnPtrWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/OwnPtrWin.cpp.
6547 (WTF::deleteOwnedPtr):
6548 * wtf/wince/FastMallocWinCE.h: Renamed from Source/JavaScriptCore/wtf/wince/FastMallocWinCE.h.
6552 (operator delete[]):
6556 (WTF::Internal::fastMallocMatchValidationType):
6557 (WTF::Internal::fastMallocMatchValidationValue):
6558 (WTF::Internal::setFastMallocMatchValidationType):
6559 (WTF::fastMallocMatchValidateMalloc):
6560 (WTF::fastMallocMatchValidateFree):
6561 * wtf/wince/MemoryManager.cpp: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.cpp.
6563 (WTF::memoryManager):
6564 (WTF::MemoryManager::MemoryManager):
6565 (WTF::MemoryManager::~MemoryManager):
6566 (WTF::MemoryManager::createCompatibleBitmap):
6567 (WTF::MemoryManager::createDIBSection):
6568 (WTF::MemoryManager::m_malloc):
6569 (WTF::MemoryManager::m_calloc):
6570 (WTF::MemoryManager::m_realloc):
6571 (WTF::MemoryManager::m_free):
6572 (WTF::MemoryManager::resizeMemory):
6573 (WTF::MemoryManager::allocate64kBlock):
6574 (WTF::MemoryManager::free64kBlock):
6575 (WTF::MemoryManager::onIdle):
6576 (WTF::MemoryManager::virtualAlloc):
6577 (WTF::MemoryManager::virtualFree):
6582 (WTF::fastMallocForbid):
6583 (WTF::fastMallocAllow):
6584 (WTF::fastZeroedMalloc):
6585 (WTF::tryFastMalloc):
6586 (WTF::tryFastZeroedMalloc):
6587 (WTF::tryFastCalloc):
6588 (WTF::tryFastRealloc):
6590 * wtf/wince/MemoryManager.h: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.h.
6593 (WTF::MemoryManager::allocationCanFail):
6594 (WTF::MemoryManager::setAllocationCanFail):
6595 (MemoryAllocationCanFail):
6596 (WTF::MemoryAllocationCanFail::MemoryAllocationCanFail):
6597 (WTF::MemoryAllocationCanFail::~MemoryAllocationCanFail):
6598 (MemoryAllocationCannotFail):
6599 (WTF::MemoryAllocationCannotFail::MemoryAllocationCannotFail):
6600 (WTF::MemoryAllocationCannotFail::~MemoryAllocationCannotFail):
6601 * wtf/wx/MainThreadWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/MainThreadWx.cpp.
6603 (wxCallAfter::wxCallAfter):
6604 (wxCallAfter::OnCallback):
6606 (WTF::initializeMainThreadPlatform):
6607 (WTF::scheduleDispatchFunctionsOnMainThread):
6608 * wtf/wx/StringWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/StringWx.cpp.
6610 (WTF::String::String):
6611 (WTF::String::operator wxString):
6613 2012-03-22 Hyowon Kim <hw1008.kim@samsung.com>
6615 [EFL] Add PageClientEfl to WebCoreSupport.
6616 https://bugs.webkit.org/show_bug.cgi?id=80748
6618 Reviewed by Noam Rosenthal.
6620 * wtf/Platform.h: Disable accelerated compositing. It's not ready yet.
6622 2012-03-21 Beth Dakin <bdakin@apple.com>
6624 https://bugs.webkit.org/show_bug.cgi?id=80322
6627 Reviewed by Dean Jackson.
6629 For the time being, image-set is opt-in since the implementation is
6632 Add an ENABLE flag for image-set.
6635 2012-03-21 Jessie Berlin <jberlin@apple.com>
6637 Fix the Windows build after r111504.
6639 * WTF.vcproj/WTF.vcproj:
6640 Platform.h was moved to Source/WTF.
6641 * WTF.vcproj/copy-files.cmd:
6642 Copy Platform.h from its new source location. This separate copy will not be necessary once
6643 the full move is done and all the headers are being copied at once from the new locations.
6645 2012-03-21 Jessie Berlin <jberlin@apple.com>
6647 WTF headers should be in $(ConfigurationBuildDir)\include\private\wtf, not
6648 $(ConfigurationBuildDir)\include\private\JavaScriptCore\wtf.
6649 https://bugs.webkit.org/show_bug.cgi?id=81739
6651 Reviewed by Dan Bernstein.
6653 * WTF.vcproj/copy-files.cmd:
6654 Copy the headers to private/include/wtf instead of private/include/JavaScriptCore/wtf.
6656 2012-03-20 Eric Seidel <eric@webkit.org>
6658 Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
6659 https://bugs.webkit.org/show_bug.cgi?id=80911
6661 Reviewed by Adam Barth.
6663 Update build systems to account for the new location of Platform.h
6665 * GNUmakefile.list.am:
6668 * WTF.vcproj/WTF.vcproj:
6669 * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py:
6670 (react_to_vsprops_changes):
6671 * WTF.xcodeproj/project.pbxproj:
6672 * config.h: I don't think this change is 100% correct (but seemed to be needed to make qt-wk2 build)
6673 - This dependency on JSC should be removed regardless (in a later patch).
6674 * wtf/Platform.h: Renamed from Source/JavaScriptCore/wtf/Platform.h.
6676 2012-03-20 Steve Falkenburg <sfalken@apple.com>
6678 Move WTF-related Windows project files out of JavaScriptCore
6679 https://bugs.webkit.org/show_bug.cgi?id=80680
6681 This change only moves the vcproj and related files from JavaScriptCore/JavaScriptCore.vcproj/WTF.
6682 It does not move any source code. This is in preparation for the WTF source move out of
6685 Reviewed by Jessie Berlin.
6687 * WTF.vcproj: Added.
6688 * WTF.vcproj/WTF.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj.
6689 * WTF.vcproj/WTFCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFCommon.vsprops.
6690 * WTF.vcproj/WTFDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebug.vsprops.
6691 * WTF.vcproj/WTFDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugAll.vsprops.
6692 * WTF.vcproj/WTFDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugCairoCFLite.vsprops.
6693 * WTF.vcproj/WTFGenerated.make: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.make.
6694 * WTF.vcproj/WTFGenerated.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.vcproj.
6695 * WTF.vcproj/WTFGeneratedCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedCommon.vsprops.
6696 * WTF.vcproj/WTFGeneratedDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebug.vsprops.
6697 * WTF.vcproj/WTFGeneratedDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugAll.vsprops.
6698 * WTF.vcproj/WTFGeneratedDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugCairoCFLite.vsprops.
6699 * WTF.vcproj/WTFGeneratedProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedProduction.vsprops.
6700 * WTF.vcproj/WTFGeneratedRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedRelease.vsprops.
6701 * WTF.vcproj/WTFGeneratedReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedReleaseCairoCFLite.vsprops.
6702 * WTF.vcproj/WTFPostBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd.
6703 * WTF.vcproj/WTFPreBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd.
6704 * WTF.vcproj/WTFProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFProduction.vsprops.
6705 * WTF.vcproj/WTFRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFRelease.vsprops.
6706 * WTF.vcproj/WTFReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops.
6707 * WTF.vcproj/build-generated-files.sh: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/build-generated-files.sh.
6708 * WTF.vcproj/copy-files.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/copy-files.cmd.
6709 * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/work-around-vs-dependency-tracking-bugs.py.
6711 2012-03-20 Peter Beverloo <peter@chromium.org>
6713 [Chromium] Fix the Android build by building NEWWTF for host
6714 https://bugs.webkit.org/show_bug.cgi?id=81643
6716 Reviewed by Tony Gentilcore.
6718 Chromium for Android builds the ImageDiff target for the host architecture,
6719 so all dependencies it has need to be able to build for host as well.
6720 r111258 added (new)WTF as a dependency instead of just including the
6721 header files, so make it possible to build the newwtf target for host.
6725 2012-03-19 Dan Bernstein <mitz@apple.com>
6727 Set the svn:ignore property on the Xcode project.
6729 * WTF.xcodeproj: Added property svn:ignore.
6731 2012-03-16 Mark Rowe <mrowe@apple.com>
6733 Build fix. Do not preserve owner and group information when installing the WTF headers.
6735 * WTF.xcodeproj/project.pbxproj:
6737 2012-03-07 Mark Rowe <mrowe@apple.com>
6739 Teach make to build WTF.
6743 2012-02-11 Filip Pizlo <fpizlo@apple.com>
6745 It should be possible to send all JSC debug logging to a file
6746 https://bugs.webkit.org/show_bug.cgi?id=78418
6748 Reviewed by Sam Weinig.
6750 Introduced wtf/DataLog, which defines WTF::dataFile, WTF::dataLog,
6751 and WTF::dataLogV. Changed all debugging- and profiling-related printfs
6752 to use WTF::dataLog() or one of its friends. By default, debug logging
6753 goes to stderr, unless you change the setting in wtf/DataLog.cpp.
6757 2012-02-03 Simon Hausmann <simon.hausmann@nokia.com>
6759 [Qt] Fix build when cross-compiling
6760 https://bugs.webkit.org/show_bug.cgi?id=77634
6762 Reviewed by Tor Arne Vestbø.
6764 * WTF.pri: Don't use icu-config for determining the library search
6765 path and libraries needed for ICU. Either we use icu-config for includes
6766 _and_ libraries or we don't. Right now we assume that icu is a system library
6767 and expect the headers in the default include search pathes (/usr/include for example).
6768 However we use icu-config to figure out where the libraries are, which breaks when
6769 cross-compiling, because icu-config isn't cross-compile friendly (I wish icu was using
6770 pkg-config). I think for the time being we should require ICU as a _system_ library,
6771 which implies the header and library availability in default search paths. This also
6772 makes the build succeed when cross-compiling with --sysroot.
6774 2012-01-27 Zeno Albisser <zeno@webkit.org>
6776 [Qt][Mac] Build fails after adding ICU support (r105997).
6777 https://bugs.webkit.org/show_bug.cgi?id=77118
6779 Link to libicucore if platform Mac.
6781 Reviewed by Tor Arne Vestbø.
6785 2012-01-26 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
6787 [Qt] Use ICU if available
6788 https://bugs.webkit.org/show_bug.cgi?id=76821
6790 Reviewed by Simon Hausmann.
6792 Adding libicu dependencies for a Qt5 based build.
6796 2012-01-26 Csaba Osztrogonác <ossy@webkit.org>
6798 [Qt][Win] One more speculative buildfix after r105970.
6802 2012-01-26 Nikolas Zimmermann <nzimmermann@rim.com>
6804 Not reviewed. Try to fix Qt/Win build by building OwnPtrWin.cpp into the WTF library.
6808 2012-01-19 Joi Sigurdsson <joi@chromium.org>
6810 Enable use of precompiled headers in Chromium port on Windows.
6812 Bug 76381 - Use precompiled headers in Chromium port on Windows
6813 https://bugs.webkit.org/show_bug.cgi?id=76381
6815 Reviewed by Tony Chang.
6817 * WTF.gyp/WTF.gyp: Include WinPrecompile.gypi.
6819 2012-01-18 Roland Takacs <takacs.roland@stud.u-szeged.hu>
6821 Cross-platform processor core counter
6822 https://bugs.webkit.org/show_bug.cgi?id=76530
6824 Reviewed by Zoltan Herczeg.
6826 Two files have been added to the project, namely NumberOfCores.h/cpp,
6827 that include a CPU core number determining function.
6831 2012-01-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
6833 Uint8ClampedArray support
6834 https://bugs.webkit.org/show_bug.cgi?id=74455
6836 Reviewed by Filip Pizlo.
6840 2012-01-13 Alexis Menard <alexis.menard@openbossa.org>
6842 Unreviewed build fix for Qt SnowLeopard build bot.
6844 This is a workaround for the moment.
6848 2012-01-12 Simon Hausmann <simon.hausmann@nokia.com>
6850 Make the new WTF module build on Qt
6851 https://bugs.webkit.org/show_bug.cgi?id=76163
6853 Reviewed by Tor Arne Vestbø.
6855 With this change the WTF sources are built _here_ but _from_ their old location using a VPATH.
6857 * WTF.pri: Renamed from Source/JavaScriptCore/wtf/wtf.pri.
6858 * WTF.pro: Renamed from Source/JavaScriptCore/wtf/wtf.pro.
6859 * config.h: Bring this file in sync with JavaScriptCore/config.h with regards to the inclusion
6860 / definition of the export macros.
6862 2012-01-06 Benjamin Poulain <bpoulain@apple.com>
6864 [Mac] Sort the resources of WTF.xcodeproj
6865 https://bugs.webkit.org/show_bug.cgi?id=75639
6867 Reviewed by Andreas Kling.
6869 * WTF.xcodeproj/project.pbxproj:
6871 2012-01-06 Eric Seidel <eric@webkit.org> and Gustavo Noronha Silva <gustavo.noronha@collabora.com>
6873 Make the new WTF module build on Gtk
6874 https://bugs.webkit.org/show_bug.cgi?id=75669
6876 * GNUmakefile.am: Added.
6877 * GNUmakefile.list.am: Added.
6879 2011-11-19 Adam Barth <abarth@webkit.org>
6881 Integrate Source/WTF with the Chromium build system
6882 https://bugs.webkit.org/show_bug.cgi?id=72790
6884 Reviewed by Eric Seidel.
6886 Rename the target in this file to "newwtf" to avoid naming conflicts.
6890 2011-11-19 Mark Rowe <mrowe@apple.com>
6892 WTF should have an Xcode project
6893 https://bugs.webkit.org/show_bug.cgi?id=71752
6895 Reviewed by Adam Barth.
6897 This adds an Xcode project that includes only Stub.cpp and Stub.h.
6898 They’re built in to a library at the appropriate path for each
6899 configuration (WebKitBuild/{Debug,Release}/libWTF.a and
6900 /usr/local/lib/libWTF.a) and headers are installed in to the
6901 appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf
6902 and /usr/local/include/wtf). I tested building WTF in this project and
6903 everything appears to build except for DateMath.cpp (due to bug 71747).
6904 I have not yet done any work on making JavaScriptCore and other
6905 projects use the built products of this new project.
6907 * Configurations: Added.
6908 * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig.
6909 * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig.
6910 * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig.
6911 * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig.
6912 * WTF.xcodeproj: Added.
6913 * WTF.xcodeproj/project.pbxproj: Added.
6914 * config.h: Copied from Source/JavaScriptCore/config.h.
6916 * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE.
6917 * icu/README: Copied from Source/JavaScriptCore/icu/README.
6918 * icu/unicode: Added.
6919 * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h.
6920 * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h.
6921 * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h.
6922 * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h.
6923 * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h.
6924 * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h.
6925 * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h.
6926 * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h.
6927 * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h.
6928 * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h.
6929 * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h.
6930 * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h.
6931 * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h.
6932 * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h.
6933 * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h.
6934 * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h.
6935 * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h.
6936 * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h.
6937 * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h.
6938 * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h.
6939 * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h.
6940 * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h.
6941 * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h.
6943 2011-11-03 Adam Barth <abarth@webkit.org>
6945 Add Stub.h and Stub.cpp to Source-level WTF project
6946 https://bugs.webkit.org/show_bug.cgi?id=71497
6948 Reviewed by Eric Seidel.
6950 This patch adds some stub files and a skelton GYP build file as a
6951 starting point for the new Source-level WTF project. Other build
6952 systems and actual code will arrive in future patches.
6956 * WTF.gyp/WTF.gyp: Added.
6959 2011-11-02 Adam Barth <abarth@webkit.org>
6961 Add stubs for WTF and Platform
6962 https://bugs.webkit.org/show_bug.cgi?id=71492
6964 Reviewed by Eric Seidel.
6966 This patch creates the WTF directory, which begins the process of
6967 moving WTF out of JavaScriptCore.