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-08-21 Mark Hahnenberg <mhahnenberg@apple.com>
109 WTF Threading leaks kernel objects on platforms that use pthreads
110 https://bugs.webkit.org/show_bug.cgi?id=94636
112 Reviewed by Geoffrey Garen.
114 Creating lots of Web workers on Mac platforms leaks lots of Mach ports. Eventually, the
115 process can exhaust its allocation of Mach ports from the kernel, which can then cause
116 all sorts of badness, including the inability to allocate new virtual memory from the
117 kernel. ThreadingPthreads.cpp and ThreadIdentifierDataPthreads.cpp need to be refactored
118 so that we do not leak these kernel resources. I would assume that we also leak kernel
119 resources on other pthreads platforms as well.
121 * wtf/ThreadIdentifierDataPthreads.cpp:
123 (WTF::ThreadIdentifierData::~ThreadIdentifierData): Now calls the event threadDidExit, which
124 handles all relevant tear-down of the thread metadata in the thread map.
125 * wtf/ThreadingPthreads.cpp: Added a new class called PthreadState that encapsulates the
126 state of a thread and the possible transitions between those states.
128 (WTF::PthreadState::PthreadState):
129 (WTF::PthreadState::joinableState): Returns the current state of the pthread.
130 (WTF::PthreadState::pthreadHandle): Returns the pthread_t for this particular thread. This needs to
131 remain valid even after the thread has exited because somebody could come along at any time in the
132 future and call join on the thread.
133 (WTF::PthreadState::didBecomeDetached): Signals that the thread was detached.
134 (WTF::PthreadState::didExit): Signals that the thread's exit destructor (~ThreadIdentifierData) has run.
135 (WTF::PthreadState::didJoin): Signals that the thread has been joined on successfully.
136 (WTF::PthreadState::hasExited): Returns whether or not the thread's exit destructor has run.
138 (WTF::identifierByPthreadHandle): Changed to also check hasExited() on the threads it finds in the map. We
139 should only have one valid pthread_t in the map, but there are other pthread_t's that need to remain in the
140 thread map for when somebody joins on that thread id later.
141 (WTF::establishIdentifierForPthreadHandle): Changed to put the allocate the new PthreadState data structure and
143 (WTF::pthreadHandleForIdentifierWithLockAlreadyHeld):
144 (WTF::wtfThreadEntryPoint):
145 (WTF::waitForThreadCompletion): We now do the relevant cleanup after the specified thread has been
146 successfully joined on depending on if the joined thread has already exited.
147 (WTF::detachThread): Performs relevant cleanup if the thread has already exited. Otherwise signals to the
148 PthreadState that the thread has been detached.
149 (WTF::threadDidExit): Function called by ~ThreadIdentifierData to indicate that the thread has exited.
150 Only cleans up after itself if the thread isn't Joinable (i.e. Joined or Detached).
152 2012-07-28 Patrick Gansterer <paroga@webkit.org>
154 [WIN] Add missing export macro to friend decleration.
156 Since the __declspec is part of the function signature
157 on windows, we need it at all friend declerations too.
161 2012-07-28 Patrick Gansterer <paroga@webkit.org>
163 [CMake] Add missing MediaTime files after r123878.
165 * wtf/CMakeLists.txt:
167 2012-07-28 Patrick Gansterer <paroga@webkit.org>
169 Remove obsolete functions from WTF::Unicode
170 https://bugs.webkit.org/show_bug.cgi?id=92571
172 Reviewed by Kentaro Hara.
174 Remove hasLineBreakingPropertyComplexContextOrIdeographic() and digitValue(),
175 since they are never used and defined for a few Unicode backends only.
177 * wtf/unicode/glib/UnicodeGLib.h:
178 * wtf/unicode/icu/UnicodeIcu.h:
180 2012-07-27 Sheriff Bot <webkit.review.bot@gmail.com>
182 Unreviewed, rolling out r123679.
183 http://trac.webkit.org/changeset/123679
184 https://bugs.webkit.org/show_bug.cgi?id=92565
186 Slowed down HTML parsing by 3.6% (Requested by abarth on
189 * wtf/text/WTFString.h:
191 2012-07-27 Arnaud Renevier <a.renevier@sisa.samsung.com>
193 use createUninitialized when creating TypedArray from another array
194 https://bugs.webkit.org/show_bug.cgi?id=92518
196 Reviewed by Kenneth Russell.
198 Expose a createUninitialized static method on TypedArray classes.
200 * wtf/Float32Array.h:
202 (WTF::Float32Array::createUninitialized):
204 * wtf/Float64Array.h:
206 (WTF::Float64Array::createUninitialized):
210 (WTF::Int16Array::createUninitialized):
214 (WTF::Int32Array::createUninitialized):
218 (WTF::Int8Array::createUninitialized):
222 (WTF::Uint16Array::createUninitialized):
226 (WTF::Uint32Array::createUninitialized):
230 (WTF::Uint8Array::createUninitialized):
232 * wtf/Uint8ClampedArray.h:
235 2012-07-27 Patrick Gansterer <paroga@webkit.org>
237 [WINCE] Use macros from ICU instead of defining the same functionality again
238 https://bugs.webkit.org/show_bug.cgi?id=92530
240 Reviewed by Ryosuke Niwa.
242 Replace isHighSurrogate() with U16_IS_LEAD(), isLowSurrogate() with
243 U16_IS_TRAIL() and surrogateToUcs4() with U16_GET_SUPPLEMENTARY().
245 * wtf/unicode/wince/UnicodeWinCE.h:
247 2012-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
249 [Qt] Fix build after r123917
250 https://bugs.webkit.org/show_bug.cgi?id=92555
254 * wtf/GregorianDateTime.h: Needs string.h for memset().
256 2012-07-27 Paweł Forysiuk <tuxator@o2.pl>
258 MinGW build fails because of missing header in GregorianDateTime.h
259 https://bugs.webkit.org/show_bug.cgi?id=92531
261 * wtf/GregorianDateTime.h: Include time.h
263 2012-07-27 Jer Noble <jer.noble@apple.com>
265 Unreviewed build fix.
267 Use MathExtras.h and the non std:: versions of isnan and signbit.
270 (WTF::MediaTime::createWithFloat):
271 (WTF::MediaTime::createWithDouble):
273 2012-07-27 Jer Noble <jer.noble@apple.com>
275 Support a rational time class for use by media elements.
276 https://bugs.webkit.org/show_bug.cgi?id=88787
278 Reviewed by Eric Carlson.
280 Add a new MediaTime class which implements rational math operations.
282 Add common constructors and assignment operators:
283 * wtf/MediaTime.cpp: Added.
284 (WTF::MediaTime::MediaTime):
285 (WTF::MediaTime::~MediaTime):
286 (WTF::MediaTime::operator=):
288 Add common math operators:
290 (WTF::MediaTime::operator+):
291 (WTF::MediaTime::operator-):
292 (WTF::MediaTime::operator<):
293 (WTF::MediaTime::operator>):
294 (WTF::MediaTime::operator==):
295 (WTF::MediaTime::operator>=):
296 (WTF::MediaTime::operator<=):
298 Add functions to check the MeiaTime time type flags:
300 (WTF::MediaTime::isValid):
301 (WTF::MediaTime::isInvalid):
302 (WTF::MediaTime::hasBeenRounde):
303 (WTF::MediaTime::isPositiveInfinite):
304 (WTF::MediaTime::isNegativeInfinite):
305 (WTF::MediaTime::isIndefinite):
307 Add constants for commonly used MediaTime values:
308 (WTF::MediaTime::zeroTime):
309 (WTF::MediaTime::invalidTime):
310 (WTF::MediaTime::positiveInfiniteTime):
311 (WTF::MediaTime::negativeInfiniteTime):
312 (WTF::MediaTime::indefiniteTime):
314 Add explicit conversion functions to convert to and from floating point values.
316 (WTF::MediaTime::createWithFloat):
317 (WTF::MediaTime::createWithDouble):
318 (WTF::MediaTime::toFloat):
319 (WTF::MediaTime::toDouble):
321 Add some useful exported functions:
323 (WTF::MediaTime::compare): Master function for the comparison operators above.
324 (WTF::MediaTime::setTimeScale): Rescale the time value to a new time scale.
325 (WTF::abs): Return an absolute value for the current MediaTime.
327 Static utility functions to implement the above:
329 (WTF::greatestCommonDivisor):
330 (WTF::leastCommonMultiple):
333 Windows-only implementations of isinf and signbit:
338 Add the new class to platform build files:
339 * GNUmakefile.list.am:
342 * WTF.vcproj/WTF.vcproj:
343 * WTF.xcodeproj/project.pbxproj:
345 2012-07-27 Wei James <james.wei@intel.com>
347 set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
348 https://bugs.webkit.org/show_bug.cgi?id=91746
350 Reviewed by Adam Barth.
352 This patch is part of efforts to enable web audio for chromium android.
353 Web audio component needs to use atomicIncrement and atomicDecrement,
354 which are enabled by this MACRO.
356 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
357 this patch standalone.
362 2012-07-27 Wei James <james.wei@intel.com>
364 set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
365 https://bugs.webkit.org/show_bug.cgi?id=91746
367 Reviewed by Adam Barth.
369 This patch is part of efforts to enable web audio for chromium android.
370 Web audio component needs to use atomicIncrement and atomicDecrement,
371 which are enabled by this MACRO.
373 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
374 this patch standalone.
379 2012-07-26 Arnaud Renevier <a.renevier@sisa.samsung.com>
381 constructing TypedArray from another TypedArray is slow
382 https://bugs.webkit.org/show_bug.cgi?id=90838
384 Reviewed by Kenneth Russell.
386 Introduce virtual method getType on ArrayBufferView. It returns the actual
387 type of the view. This method replaces previous is<Type>Array() methods.
389 * wtf/ArrayBufferView.h:
390 * wtf/Float32Array.h:
391 (WTF::Float32Array::getType):
393 * wtf/Float64Array.h:
394 (WTF::Float64Array::getType):
397 (WTF::Int16Array::getType):
400 (WTF::Int32Array::getType):
403 (WTF::Int8Array::getType):
405 * wtf/IntegralTypedArrayBase.h:
406 * wtf/TypedArrayBase.h:
408 (WTF::TypedArrayBase::item):
410 (WTF::Uint16Array::getType):
413 (WTF::Uint32Array::getType):
416 (WTF::Uint8Array::getType):
418 * wtf/Uint8ClampedArray.h:
419 (WTF::Uint8ClampedArray::getType):
422 2012-07-26 Zeno Albisser <zeno@webkit.org>
424 [Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
425 https://bugs.webkit.org/show_bug.cgi?id=88638
427 Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
428 the servicing of scripted animations to layer syncing for WK2.
429 For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
431 Reviewed by Jocelyn Turcotte.
435 2012-07-26 Yury Semikhatsky <yurys@chromium.org>
437 Unreviewed. Revert r123740 as it breaks AppleMac compilation.
439 * wtf/text/StringImpl.cpp:
440 * wtf/text/StringImpl.h:
442 2012-07-26 Yury Semikhatsky <yurys@chromium.org>
444 Web Inspector: move StringImpl size calculation to StringImpl
445 https://bugs.webkit.org/show_bug.cgi?id=92359
447 Reviewed by Pavel Feldman.
449 Moved stringSize(StringImpl*) implementation from InspectorMemoryAgent to
450 StringImpl::sizeInBytes();
452 * wtf/text/StringImpl.cpp:
453 (WTF::StringImpl::sizeInBytes):
455 * wtf/text/StringImpl.h:
458 2012-07-25 Benjamin Poulain <bpoulain@apple.com>
460 Initialize QualifiedName's strings from the read only data segment
461 https://bugs.webkit.org/show_bug.cgi?id=92226
463 Reviewed by Anders Carlsson.
465 Add constructors for StringImpl and AtomicString to be able to create
466 the strings from the literal in read only memory.
468 * wtf/text/AtomicString.cpp:
469 (HashTranslatorCharBuffer):
470 (WTF::LCharBufferFromLiteralDataTranslator::hash):
471 (LCharBufferFromLiteralDataTranslator):
472 (WTF::LCharBufferFromLiteralDataTranslator::equal):
473 (WTF::LCharBufferFromLiteralDataTranslator::translate):
474 (WTF::AtomicString::addFromLiteralData):
475 * wtf/text/AtomicString.h:
476 (WTF::AtomicString::AtomicString):
478 * wtf/text/StringImpl.cpp:
479 (WTF::StringImpl::createFromLiteral):
480 * wtf/text/StringImpl.h:
483 (WTF::StringImpl::createFromLiteral):
485 2012-07-25 Michael Saboff <msaboff@apple.com>
487 Convert HTML parser to handle 8-bit resources without converting to UChar*
488 https://bugs.webkit.org/show_bug.cgi?id=90321
490 Reviewed by Geoffrey Garen.
492 * wtf/text/WTFString.h:
493 (WTF::String::dataSize): New method to return the number of bytes
494 the string requires. This replaces a harcoded calculation based on
495 length and sizeof(UChar).
497 2012-07-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
499 Create a specialized pair for use in HashMap iterators
500 https://bugs.webkit.org/show_bug.cgi?id=92137
502 Reviewed by Ryosuke Niwa.
504 The type used for internal storage in HashMap is exposed in its interface as iterator
505 "contents". Currently HashMap uses std::pair<>, which this patch replaces with
508 Having this specialized structure will allow us to customize the members to be called
509 key/value, improving readability in code using HashMap iterators. They are still called
510 first/second to separate this change from the mechanical change of updating callsites.
512 * wtf/HashIterators.h:
513 (HashTableConstKeysIterator):
514 (HashTableConstValuesIterator):
515 (HashTableKeysIterator):
516 (HashTableValuesIterator):
517 Use KeyValuePair instead of std::pair when defining the iterators.
521 (WTF::KeyValuePairKeyExtractor::extract):
523 Remove PairFirstExtractor. Add and use the KeyValuePair corresponding extractor.
525 (WTF::HashMapValueTraits::isEmptyValue): Use KeyValuePairHashTraits for HashMaps.
526 (WTF::HashMapTranslator::translate):
527 (WTF::HashMapTranslatorAdapter::translate):
528 The traits of the mapped value is now called ValueTraits instead of SecondTraits.
531 (WTF::hashTableSwap): Add specialization for swapping KeyValuePairs.
532 (WTF): Remove now unneeded specialization for std::pairs.
536 (WTF::KeyValuePair::KeyValuePair):
538 Specialized pair. In the future difference from pair should be the member names.
540 (KeyValuePairHashTraits):
541 (WTF::KeyValuePairHashTraits::emptyValue):
542 (WTF::KeyValuePairHashTraits::constructDeletedValue):
543 (WTF::KeyValuePairHashTraits::isDeletedValue):
544 These traits are analogous to PairHashTraits but for KeyValuePair.
546 * wtf/RefPtrHashMap.h: Use KeyValuePairHashTraits.
548 2012-07-25 Andrew Wilson <atwilson@chromium.org>
550 Unreviewed, rolling out r123560.
551 http://trac.webkit.org/changeset/123560
552 https://bugs.webkit.org/show_bug.cgi?id=90321
554 Breaks chromium valgrind tests.
556 * wtf/text/WTFString.h:
558 2012-07-25 Csaba Osztrogonác <ossy@webkit.org>
560 [Qt] There are parallel GC related crashes regularly
561 https://bugs.webkit.org/show_bug.cgi?id=90957
563 Rubber-stamped by Zoltan Herczeg.
565 * wtf/Platform.h: Disable parallel GC temporarily on Qt until proper fix.
567 2012-07-24 Benjamin Poulain <bpoulain@apple.com> && Joseph Pecoraro <pecoraro@apple.com>
569 QualifiedName's HashSet should be big enough to hold at least all the static names
570 https://bugs.webkit.org/show_bug.cgi?id=91891
572 Reviewed by Darin Adler.
574 Add a static struct to compute the HashTable capacity for any given size at compile time.
575 This allow us to create HashTraits giving the minimumSize without hardcoding the values.
579 (UpperPowerOfTwoBound):
580 (HashTableCapacityForSize): Compute the HashTable capacity at compile time.
582 2012-07-24 Michael Saboff <msaboff@apple.com>
584 Convert HTML parser to handle 8-bit resources without converting to UChar*
585 https://bugs.webkit.org/show_bug.cgi?id=90321
587 Reviewed by Geoffrey Garen.
589 * wtf/text/WTFString.h:
590 (WTF::String::dataSize): New method to return the number of bytes
591 the string requires. This replaces a harcoded calculation based on
592 length and sizeof(UChar).
594 2012-07-24 Sam Weinig <sam@webkit.org>
596 Add per-HashTable stats
597 https://bugs.webkit.org/show_bug.cgi?id=92185
599 Reviewed by Anders Carlsson.
601 Add per-HashTable stats, so we can look at the effectiveness of an individual HashTable.
604 (WTF::HashTable::Stats::Stats):
605 Add a HashTable::Stats to hold the stats.
607 (WTF::HashTable::Stats::recordCollisionAtCount):
608 (WTF::HashTable::Stats::dumpStats):
609 Add versions of recordCollisionAtCount and dumpStats for per-HashTable version.
612 Keep the stats, if enabled, in an OwnPtr, to not blow JSCell max size restrictions.
615 (WTF::lookupForWriting):
616 (WTF::fullLookupForWriting):
621 Keep track of the stats as the table is used.
623 2012-07-24 Patrick Gansterer <paroga@webkit.org>
625 Store the full year in GregorianDateTime
626 https://bugs.webkit.org/show_bug.cgi?id=92067
628 Reviewed by Geoffrey Garen.
630 Use the full year instead of the offset from year 1900
631 for the year member variable of GregorianDateTime.
633 * wtf/GregorianDateTime.h:
634 (WTF::GregorianDateTime::operator tm):
636 2012-07-23 Patrick Gansterer <paroga@webkit.org>
638 Move GregorianDateTime from JSC to WTF namespace
639 https://bugs.webkit.org/show_bug.cgi?id=91948
641 Reviewed by Geoffrey Garen.
643 Moving GregorianDateTime into the WTF namespace allows us to us to
644 use it in WebCore too. The new class has the same behaviour as the
645 old struct. Only the unused timeZone member has been removed.
647 * GNUmakefile.list.am:
650 * WTF.vcproj/WTF.vcproj:
651 * WTF.xcodeproj/project.pbxproj:
652 * wtf/CMakeLists.txt:
653 * wtf/GregorianDateTime.h: Added.
656 2012-07-23 Rob Buis <rbuis@rim.com>
658 [BlackBerry] Merge createThreadInternal implementations
659 https://bugs.webkit.org/show_bug.cgi?id=91899
665 Remove our implementation since the default thread stack size on QNX is fine.
667 * wtf/ThreadingPthreads.cpp:
668 (WTF::createThreadInternal):
669 (WTF::initializeCurrentThreadInternal): make sure we set the thread name.
671 2012-07-23 Patrick Gansterer <paroga@webkit.org>
673 [WINCE] Define NOMINMAX in the build system instead of Platform.h
674 https://bugs.webkit.org/show_bug.cgi?id=91938
676 Reviewed by Ryosuke Niwa.
680 2012-07-23 Patrick Gansterer <paroga@webkit.org>
682 Build fix for Windows after r123317.
684 * wtf/DateMath.cpp: Added missing header include.
686 2012-07-23 Patrick Gansterer <paroga@webkit.org>
688 [WIN] Use GetTimeZoneInformation() for calculateUTCOffset()
689 https://bugs.webkit.org/show_bug.cgi?id=91935
691 Reviewed by Ryosuke Niwa.
693 GetTimeZoneInformation() returns the offset directly. Using it
694 avoids unnecessary calculations and remove dependencies on
695 other time related function, which do not exist on WinCE.
698 (WTF::calculateUTCOffset):
700 2012-07-20 Han Shen <shenhan@google.com>
702 [Chromium] Compilation fails under gcc 4.7
703 https://bugs.webkit.org/show_bug.cgi?id=90227
705 Reviewed by Tony Chang.
707 Disable warnings about c++0x compatibility in gcc newer than 4.6.
711 2012-07-19 Dan Bernstein <mitz@apple.com>
713 The ATSUI-based complex text code is unused
714 https://bugs.webkit.org/show_bug.cgi?id=91816
716 Reviewed by Sam Weinig.
718 Removed definitions of WTF_USE_ATSUI and WTF_USE_CORE_TEXT.
722 2012-07-19 Wei James <james.wei@intel.com>
724 enable Web Audio for chromium android port
725 https://bugs.webkit.org/show_bug.cgi?id=89428
727 Reviewed by Kenneth Russell.
733 2012-07-19 Scott Graham <scottmg@chromium.org>
735 [Chromium] disable warning on Windows from gcc-only pragma in Assertions.cpp"
736 https://bugs.webkit.org/show_bug.cgi?id=91776
738 Reviewed by Ryosuke Niwa.
741 ...\source\wtf\wtf\assertions.cpp(31) : warning C4068: unknown pragma
745 2012-07-19 Robert Sesek <rsesek@chromium.org>
747 [chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
748 https://bugs.webkit.org/show_bug.cgi?id=91752
750 Reviewed by Eric Seidel.
752 When building CHROMIUM && DARWIN, do not enable ATSUI support.
756 2012-07-18 Yong Li <yoli@rim.com>
758 [BlackBerry] Implement currentTime() and monotonicallyIncreasingTime() for OS(QNX)
759 https://bugs.webkit.org/show_bug.cgi?id=91659
761 Reviewed by Rob Buis.
763 Implement currentTime() and monotonicallyIncreasingTime() for OS(QNX) with clock_gettime().
765 * wtf/CurrentTime.cpp:
768 (WTF::monotonicallyIncreasingTime):
770 2012-07-18 Tom Sepez <tsepez@chromium.org>
772 OOB read of stack buffer below DoubleToStringConverter::CreateExponentialRepresentation() in debug builds
773 https://bugs.webkit.org/show_bug.cgi?id=91642
775 Reviewed by Abhishek Arya.
777 * wtf/dtoa/double-conversion.cc:
778 (DoubleToStringConverter::CreateExponentialRepresentation): NUL-terminate string buffer before passing it to StringBuilder::AddSubstring()
780 2012-07-18 Michael Saboff <msaboff@apple.com>
782 Make TextCodecLatin1 handle 8 bit data without converting to UChar's
783 https://bugs.webkit.org/show_bug.cgi?id=90319
785 Reviewed by Oliver Hunt.
787 * wtf/text/StringImpl.h:
788 (StringImpl): Exported LChar variant of adopt().
789 * wtf/text/WTFString.h:
790 (WTF::String::createUninitialized): Exported LChar variant.
792 2012-07-18 Rob Buis <rbuis@rim.com>
794 Alignment crash in MIMESniffer
795 https://bugs.webkit.org/show_bug.cgi?id=89787
801 Change isPointerTypeAlignmentOkay so calling it does not require ifdefs.
803 * wtf/StdLibExtras.h:
804 (isPointerTypeAlignmentOkay):
806 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
808 [Qt][V8] Remove the V8 related codepaths and configuration
809 https://bugs.webkit.org/show_bug.cgi?id=90863
811 Reviewed by Simon Hausmann.
815 2012-07-17 Sheriff Bot <webkit.review.bot@gmail.com>
817 Unreviewed, rolling out r122834.
818 http://trac.webkit.org/changeset/122834
819 https://bugs.webkit.org/show_bug.cgi?id=91492
821 it broke the chromium (Requested by kkristof on #webkit).
825 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
827 [Qt][V8] Remove the V8 related codepaths and configuration
828 https://bugs.webkit.org/show_bug.cgi?id=90863
830 Reviewed by Simon Hausmann.
834 2012-07-16 Hajime Morrita <morrita@chromium.org>
836 WebCore needs WEBCORE_TESTING macro to mark methods being exported for testing.
837 https://bugs.webkit.org/show_bug.cgi?id=90764
839 Reviewed by Adam Barth.
841 Added USE(EXPORT_MACROS_FOR_TESTING) and enabled it on GTK and Windows.
843 * wtf/ExportMacros.h:
846 2012-07-16 Filip Pizlo <fpizlo@apple.com>
848 Unreviewed build fix.
850 * wtf/FastMalloc.cpp:
851 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
853 2012-07-16 Adam Treat <atreat@rim.com>
855 [BlackBerry] Use newer version of platform API to implement callOnMainThread
856 https://bugs.webkit.org/show_bug.cgi?id=91404
860 Right now we're using an outdated API that involves a virtual function call for no reason.
861 Use the new API that is much more direct and to the point.
863 * wtf/blackberry/MainThreadBlackBerry.cpp:
864 (WTF::scheduleDispatchFunctionsOnMainThread):
866 2012-07-14 Filip Pizlo <fpizlo@apple.com>
868 Unreviewed, build fix.
870 * wtf/Assertions.cpp:
872 * wtf/unicode/icu/CollatorICU.cpp:
873 (WTF::Collator::userDefault):
875 2012-07-13 Xianzhu Wang <wangxianzhu@chromium.org>
877 Move WebCore/platform/text/Base64 to WTF/wtf/text
878 https://bugs.webkit.org/show_bug.cgi?id=91162
880 Reviewed by Adam Barth.
882 * GNUmakefile.list.am:
885 * WTF.vcproj/WTF.vcproj:
886 * WTF.xcodeproj/project.pbxproj:
887 * wtf/CMakeLists.txt:
888 * wtf/text/Base64.cpp: Renamed from Source/WebCore/platform/text/Base64.cpp.
892 (WTF::base64DecodeInternal):
893 * wtf/text/Base64.h: Renamed from Source/WebCore/platform/text/Base64.h.
897 2012-07-12 Carlos Garcia Campos <cgarcia@igalia.com>
899 [GTK] Add API to get HTTPS status to WebKit2 GTK+
900 https://bugs.webkit.org/show_bug.cgi?id=91100
902 Reviewed by Martin Robinson.
904 Add support for GByteArray.
906 * wtf/gobject/GRefPtr.cpp:
910 * wtf/gobject/GRefPtr.h:
912 * wtf/gobject/GTypedefs.h:
914 2012-07-12 Maciej Stachowiak <mjs@apple.com>
916 Document ListHashSet iteration guarantees
917 https://bugs.webkit.org/show_bug.cgi?id=91106
919 Reviewed by Eric Seidel.
922 (WTF): Expand class comment to document this.
924 2012-07-11 Mark Rowe <mrowe@apple.com>
926 <http://webkit.org/b/91024> Build against the latest SDK when targeting older OS X versions.
928 Reviewed by Dan Bernstein.
930 The deployment target is already set to the version that we're targeting, and it's that setting
931 which determines which functionality from the SDK is available to us.
933 * Configurations/Base.xcconfig:
935 2012-07-11 Mark Rowe <mrowe@apple.com>
937 Replace definitions of BUILDING_ON / TARGETING macros with macros that will error when used.
939 Part of <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros.
941 Reviewed by Anders Carlsson.
945 2012-07-11 Mark Rowe <mrowe@apple.com>
947 Switch a few cases that care about the SDK over to checking __MAC_OS_X_VERSION_MAX_ALLOWED so that things build.
949 Part of <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
951 Reviewed by Filip Pizlo.
953 * wtf/FastMalloc.cpp:
954 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary): The SDK we're building against determines how many elements
955 the structure is declared as having.
957 2012-07-11 Mark Rowe <mrowe@apple.com>
959 <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
961 This removal was handled by a script that translates the relevant macros in to the equivalent checks
962 using the system availability macros.
964 Reviewed by Filip Pizlo.
966 * wtf/Assertions.cpp:
967 * wtf/FastMalloc.cpp:
969 * wtf/ThreadingPthreads.cpp:
970 * wtf/unicode/icu/CollatorICU.cpp:
972 2012-07-11 Anders Carlsson <andersca@apple.com>
974 Add -Wtautological-compare and -Wsign-compare warning flags
975 https://bugs.webkit.org/show_bug.cgi?id=90994
977 Reviewed by Mark Rowe.
979 * Configurations/Base.xcconfig:
981 2012-07-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
983 Re-enable __declspec(dl{import,export}) for MinGW when using EXPORT_MACROS
984 https://bugs.webkit.org/show_bug.cgi?id=90612
986 Reviewed by Csaba Osztrogonác.
988 MinGW was switched to use auto import/export of symbols on r44184.
989 From my understanding of the documentation, MinGW will not auto-export symbols
990 unless there are no explicit __declspec(dlexport) in the DLL already.
992 The issues that originally made us rely on the auto-import feature of MinGW
993 should now be resolved with the EXPORT_MACROS work. This patch re-enables them.
995 It also removes the GCC check for internal symbols hiding as the visibility should
996 already be hidden by default for both MSVC and GCC on Windows anyway.
998 * wtf/ExportMacros.h:
1000 2012-07-09 No'am Rosenthal <noam.rosenthal@nokia.com>
1002 Shared code that is guarded with ENABLE(WEBGL) should be guarded with USE()
1003 https://bugs.webkit.org/show_bug.cgi?id=90506
1005 Reviewed by Martin Robinson.
1007 Made USE(3D_GRAPHICS) default to true when ENABLE(WEBGL) is true.
1008 Also updated the Qt default to always use TEXTURE_MAPPER, and to use TEXTURE_MAPPER_GL when
1009 3D_GRAPHICS is used.
1013 2012-07-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1015 Introduce a build flag for low quality JPEG images
1016 https://bugs.webkit.org/show_bug.cgi?id=90748
1018 Reviewed by Adam Barth.
1020 Turn on the newly introduced flags for android.
1024 2012-07-05 Filip Pizlo <fpizlo@apple.com>
1026 INLINE_ARM_FUNCTION(thingy) should make thingy be thumb2 if we're using thumb2
1027 https://bugs.webkit.org/show_bug.cgi?id=90644
1029 Reviewed by Mark Hahnenberg.
1031 Fix breakage introduced in http://trac.webkit.org/changeset/121885
1035 2012-07-05 Zoltan Herczeg <zherczeg@webkit.org>
1037 Port DFG JIT to traditional ARM
1038 https://bugs.webkit.org/show_bug.cgi?id=90198
1040 Reviewed by Filip Pizlo.
1042 Enabling DFG JIT on ARM systems with 32 bit instruction set.
1047 2012-07-04 Andy Wingo <wingo@igalia.com>
1049 [GTK] Enable parallel GC
1050 https://bugs.webkit.org/show_bug.cgi?id=90568
1052 Reviewed by Martin Robinson.
1054 * wtf/Platform.h: Add GTK to the ENABLE_PARALLEL_GC party.
1056 2012-07-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1058 [Qt] Get rid of un-needed QT += declarative for Qt 5
1060 The declarative module has been renamed to quick1 in Qt 5, and the
1061 engine-only module for Qt 5 is named 'qml'. For many of the instances
1062 we could just remove 'declarative', since the project file was only
1063 used for Qt5/WebKit2 builds. In the other cases the module was wrapped
1064 in a haveQt(4) scope.
1066 Reviewed by Csaba Osztrogonác.
1070 2012-07-03 Yong Li <yoli@rim.com>
1072 [BlackBerry] Turn on DFGJIT in Platform.h
1073 https://bugs.webkit.org/show_bug.cgi?id=90482
1075 Set ENABLE_DFG_JIT for PLATFORM(BLACKBERRY).
1077 Reviewed by Rob Buis.
1081 2012-07-03 Tony Chang <tony@chromium.org>
1083 [chromium] Unreviewed, update .gitignore to handle VS2010 files.
1085 * WTF.gyp/.gitignore:
1087 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1089 [Qt] Make use of .qmake.cache for caching features
1091 Instead of loading() features from the files that need them (and re-running
1092 a bunch of checks), we now run feature detection as part of configure.pro,
1093 and have build-webkit write the computed feature-defines and CONFIG to
1094 .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1095 when building WebKit.pro.
1097 At some point we'll be able to selectivly prevent running of config tests
1098 in configure.pro, which means we don't need a separate code-path for
1099 the build-webkit --help case.
1101 We should also move the code in build-webkit that now uses .webkit.config
1102 to detect clean builds, to use .qmake.cache, since we now store the same
1105 Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1107 Reviewed by Tor Arne Vestbø.
1111 2012-07-03 Sheriff Bot <webkit.review.bot@gmail.com>
1113 Unreviewed, rolling out r121766.
1114 http://trac.webkit.org/changeset/121766
1115 https://bugs.webkit.org/show_bug.cgi?id=90465
1117 It caused flakey build errors on the bots (Requested by Ossy
1122 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1124 [Qt] Make use of .qmake.cache for caching features
1126 Instead of loading() features from the files that need them (and re-running
1127 a bunch of checks), we now run feature detection as part of configure.pro,
1128 and have build-webkit write the computed feature-defines and CONFIG to
1129 .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1130 when building WebKit.pro.
1132 At some point we'll be able to selectivly prevent running of config tests
1133 in configure.pro, which means we don't need a separate code-path for
1134 the build-webkit --help case.
1136 We should also move the code in build-webkit that now uses .webkit.config
1137 to detect clean builds, to use .qmake.cache, since we now store the same
1140 Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1142 Reviewed by Tor Arne Vestbø.
1146 2012-07-03 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Joel Dillon <joel.dillon@codethink.co.uk>
1148 [Qt][Win] Fix broken QtWebKit5.lib linking
1149 https://bugs.webkit.org/show_bug.cgi?id=88321
1151 Reviewed by Kenneth Rohde Christiansen.
1153 Instead of letting a module's headers know which other modules depend on them,
1154 have depending modules define explicitely that they want its symbols exported too.
1156 JavaScriptCore should then be compiled with both BUILDING_JavaScriptCore and
1157 STATICALLY_LINKED_WITH_WTF.
1159 * wtf/ExportMacros.h:
1161 2012-06-29 Tony Chang <tony@chromium.org>
1163 Unreviewed, rolling out r121572.
1164 http://trac.webkit.org/changeset/121572
1165 https://bugs.webkit.org/show_bug.cgi?id=90249
1167 Breaks Mac build since it depends on r121547, which was rolled
1170 * wtf/ThreadingPthreads.cpp:
1171 (WTF::initializeCurrentThreadInternal):
1173 2012-06-29 Eric Seidel <eric@webkit.org>
1175 Remove BUILDING_ON_LEOPARD now that no ports build on Leopard
1176 https://bugs.webkit.org/show_bug.cgi?id=90249
1178 Reviewed by Ryosuke Niwa.
1180 * wtf/ThreadingPthreads.cpp:
1181 (WTF::initializeCurrentThreadInternal):
1183 2012-06-29 Sheriff Bot <webkit.review.bot@gmail.com>
1185 Unreviewed, rolling out r121529.
1186 http://trac.webkit.org/changeset/121529
1187 https://bugs.webkit.org/show_bug.cgi?id=90260
1189 Failed to compile on Chromium WebKitMacBuilder (Requested by
1192 * wtf/FastMalloc.cpp:
1193 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1194 * wtf/unicode/icu/CollatorICU.cpp:
1195 (WTF::Collator::userDefault):
1197 2012-06-29 Eric Seidel <eric@webkit.org>
1199 Remove more BUILDING_ON_LEOPARD branches now that no port builds on Leopard
1200 https://bugs.webkit.org/show_bug.cgi?id=90252
1202 Reviewed by Ryosuke Niwa.
1204 * wtf/FastMalloc.cpp:
1205 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1206 * wtf/unicode/icu/CollatorICU.cpp:
1207 (WTF::Collator::userDefault):
1209 2012-06-29 Eric Seidel <eric@webkit.org>
1211 Remove more BUILDING_ON_LEOPARD usage in PLATFORM(MAC) code
1212 https://bugs.webkit.org/show_bug.cgi?id=85846
1214 Reviewed by Adam Barth.
1216 PLATFORM(MAC) has not supported Leopard for several months now.
1217 This change removes about 1/3 of the remaining BUILDING_ON_LEOPARD
1218 uses in the PLATFORM(MAC) codepaths. PLATFORM(CHROMIUM) still
1219 supports BUILDING_ON_LEOPARD for now.
1223 2012-06-28 Kalev Lember <kalevlember@gmail.com>
1225 ThreadingWin: Silence GCC compiler warnings
1226 https://bugs.webkit.org/show_bug.cgi?id=89491
1228 Reviewed by Adam Roben.
1230 * wtf/ThreadingWin.cpp:
1231 (WTF::createThreadInternal):
1232 (WTF::PlatformCondition::timedWait):
1233 (WTF::PlatformCondition::signal): Fix unused-but-set-variable
1236 2012-06-26 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1238 [Qt] Add missing heades to HEADERS
1240 For JavaScriptCore there aren't any Qt specific files, so we include all
1241 headers for easy editing in Qt Creator.
1243 Reviewed by Simon Hausmann.
1247 2012-06-25 Kent Tamura <tkent@chromium.org>
1249 Unreviewed, rolling out r121145.
1250 http://trac.webkit.org/changeset/121145
1251 https://bugs.webkit.org/show_bug.cgi?id=89847
1253 Had an objection for the change.
1255 * wtf/text/StringBuilder.h:
1257 2012-06-25 Yong Li <yoli@rim.com>
1259 [BlackBerry] Add JSC statistics into about:memory
1260 https://bugs.webkit.org/show_bug.cgi?id=89779
1262 Reviewed by Rob Buis.
1264 Turn on WTF_USE_EXPORT_MACROS for BlackBerry port.
1265 This will make macros like JS_EXPORT_PRIVATE work without
1270 2012-06-25 Adam Barth <abarth@webkit.org>
1272 Use InterpolationLow on chromium-android
1273 https://bugs.webkit.org/show_bug.cgi?id=89849
1275 Reviewed by Daniel Bates.
1277 Introduce a USE macro to control image interpolation quality.
1281 2012-06-25 Kent Tamura <tkent@chromium.org>
1283 Change the serialization format of form control state to make the code simple
1284 https://bugs.webkit.org/show_bug.cgi?id=89847
1286 Reviewed by Hajime Morita.
1288 * wtf/text/StringBuilder.h:
1289 (WTF::StringBuilder::appendEscaped): Added. This function adds the
1290 escaped form of the input string. e.g. if stiring="foo,bar" escape='\'
1291 special=',', the appended string is foo\,bar.
1293 2012-06-24 Adam Barth <abarth@webkit.org>
1295 Remove USE(CHROMIUM_NET) because it is unused
1296 https://bugs.webkit.org/show_bug.cgi?id=89850
1298 Reviewed by Eric Seidel.
1300 I didn't see any mentions of CHROMIUM_NET when I grepped the Source
1301 directory. Also, this USE macro isn't defined on OS(DARWIN) or
1302 OS(ANDROID), which seems a bit odd given that Chromium uses the same
1303 network stack on all platforms.
1307 2012-06-22 Peter Beverloo <peter@chromium.org>
1309 [Chromium] Disable c++0x compatibility warnings in JavaScriptCore.gyp when building for Android
1310 https://bugs.webkit.org/show_bug.cgi?id=88853
1312 Reviewed by Steve Block.
1314 The Android exclusions were necessary to fix a gyp generation error, as
1315 the gcc_version variable wasn't being defined for Android. Remove these
1316 exceptions when Chromium is able to define the gcc_version variable.
1320 2012-06-18 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
1322 Causes crashes in LLVMPipe
1323 https://bugs.webkit.org/show_bug.cgi?id=89358
1325 Reviewed by Martin Robinson.
1327 Change suggested by Dave Airlie and Xan Lopez.
1329 * wtf/Platform.h: disable global fastMalloc for GTK+
1331 2012-06-22 Mario Sanchez Prada <msanchez@igalia.com>
1333 Memory corruption on HashTable.h
1334 https://bugs.webkit.org/show_bug.cgi?id=88419
1336 Reviewed by Martin Robinson.
1338 Simplify definition of WTF_USE_PTHREADS and HAVE_PTHREAD_RWLOCK
1339 for the GTK platform using OS(LINUX) instead of HAVE(PTHREAD_H).
1343 2012-06-21 Parth Patel <parpatel@rim.com>
1345 [Blackberry] BlackBerry::Platform::Settings::get() rename to BlackBerry::Platform::Settings::instance() to make it consistent with our other singletons
1346 https://bugs.webkit.org/show_bug.cgi?id=89684
1348 Reviewed by Yong Li.
1350 Update setting instance access to use instance() instead of get().
1352 * wtf/ThreadingPthreads.cpp:
1353 (WTF::createThreadInternal):
1355 2012-06-21 Kalev Lember <kalevlember@gmail.com>
1357 [GTK] Fix NPAPI plugins on Windows
1358 https://bugs.webkit.org/show_bug.cgi?id=54531
1360 Reviewed by Martin Robinson.
1362 Define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH for the GTK+ port, and
1363 include OwnPtrWin.cpp in the list of files built on Windows.
1366 * GNUmakefile.list.am:
1369 2012-06-21 Balazs Kelemen <kbalazs@webkit.org>
1371 Compile error: 'bool std::isinf(float)' is not 'constexpr' with GCC 4.6 in C++11 mode
1372 https://bugs.webkit.org/show_bug.cgi?id=88721
1374 Reviewed by Csaba Osztrogonác.
1376 Don't define these as consexpr because with gcc 4.6
1377 they call non constexpr functions.
1382 2012-06-17 Filip Pizlo <fpizlo@apple.com>
1384 It should be possible to look at disassembly
1385 https://bugs.webkit.org/show_bug.cgi?id=89319
1387 Reviewed by Sam Weinig.
1389 Made changes to Assertions.h to make it friendly to C code again.
1391 Added ENABLE(DISASSEMBLER) and USE(UDIS86) logic to Platform.h.
1396 2012-06-19 Jon Honeycutt <jhoneycutt@apple.com>
1398 REGRESSION(r120552): Many tests timing out on Windows
1399 https://bugs.webkit.org/show_bug.cgi?id=89433
1401 Reviewed by Andy Estes.
1403 * wtf/CurrentTime.cpp:
1404 (WTF::lowResUTCTime):
1405 It looks like there were two bugs:
1406 1) the function was converting from 100ths of nanoseconds to seconds
1407 rather than 100s of nanoseconds to seconds by dividing by
1408 (nsPerSecond * 100) rather than (nsPerSecond / 100)
1409 2) the function should've been returning milliseconds, not seconds
1411 2012-06-18 Tony Payne <tpayne@chromium.org>
1413 [chromium] Add iccjpeg and qcms to chromium port.
1414 https://bugs.webkit.org/show_bug.cgi?id=81974
1416 * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1417 to each Chromium platform, excluding Android.
1419 Reviewed by Adam Barth.
1421 2012-06-18 Sheriff Bot <webkit.review.bot@gmail.com>
1423 Unreviewed, rolling out r120485 and r120582.
1424 http://trac.webkit.org/changeset/120485
1425 http://trac.webkit.org/changeset/120582
1426 https://bugs.webkit.org/show_bug.cgi?id=89345
1428 chromeos tree breakage (Requested by morrita on #webkit).
1432 2012-06-17 Patrick Gansterer <paroga@webkit.org>
1434 [WIN] Simplify implementation of currentTime()
1435 https://bugs.webkit.org/show_bug.cgi?id=83156
1437 Reviewed by Brent Fulgham.
1439 Use GetSystemTimeAsFileTime() instead of ftime().
1440 This avoids an unneeded call to the MS CRT and
1441 brings the Win/WinCE code closer together.
1443 * wtf/CurrentTime.cpp:
1444 (WTF::lowResUTCTime):
1447 2012-06-15 Tony Payne <tpayne@chromium.org>
1449 [chromium] Add iccjpeg and qcms to chromium port.
1450 https://bugs.webkit.org/show_bug.cgi?id=81974
1452 * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1453 to each Chromium platform, excluding Android.
1455 Reviewed by Adam Barth.
1457 2012-06-14 Sheriff Bot <webkit.review.bot@gmail.com>
1459 Unreviewed, rolling out r120393.
1460 http://trac.webkit.org/changeset/120393
1461 https://bugs.webkit.org/show_bug.cgi?id=89163
1463 breaks cr-mac build (Requested by morrita on #webkit).
1467 2012-06-14 Tony Payne <tpayne@chromium.org>
1469 [chromium] Add iccjpeg and qcms to chromium port.
1470 https://bugs.webkit.org/show_bug.cgi?id=81974
1472 * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1473 to each Chromium platform, excluding Android.
1475 Reviewed by Adam Barth.
1477 2012-06-14 Yong Li <yoli@rim.com>
1479 [BlackBerry] Implement computeRAMSize for QNX
1480 https://bugs.webkit.org/show_bug.cgi?id=89110
1482 Reviewed by Rob Buis.
1485 (WTF::computeRAMSize):
1487 2012-06-14 Geoffrey Garen <ggaren@apple.com>
1489 ARMv7 should support spinlocks
1490 https://bugs.webkit.org/show_bug.cgi?id=88957
1492 Reviewed by Darin Adler.
1494 More info @ http://infocenter.arm.com/help/topic/
1495 com.arm.doc.genc007826/Barrier_Litmus_Tests_and_Cookbook_A08.pdf
1498 (WTF::memoryBarrierAfterLock):
1499 (WTF::memoryBarrierBeforeUnlock): Added memory barrier primitives since
1500 ARMv7 has a weakly ordered memory model.
1502 * wtf/Platform.h: Enabled compare-and-swap on Windows so our spinlock
1503 implementation would continue working on Windows.
1506 (TCMalloc_SpinLock::Lock):
1507 (TCMalloc_SpinLock::Unlock):
1508 (TCMalloc_SpinLock): Use our compare-and-swap helper function to avoid
1509 rewriting it in assembly here.
1511 Added memory barriers since ARMv7 needs them.
1513 Removed PPC support because our helper function doesn't support PPC.
1515 2012-06-13 Arnaud Renevier <arno@renevier.net>
1517 make sure headers are included only once per file
1518 https://bugs.webkit.org/show_bug.cgi?id=88929
1520 Reviewed by Kentaro Hara.
1522 * wtf/FastMalloc.cpp:
1524 * wtf/OSAllocator.h:
1526 2012-06-13 Benjamin Poulain <benjamin@webkit.org>
1528 Implement the simple constructors WTFURL's KURL
1529 https://bugs.webkit.org/show_bug.cgi?id=85724
1531 Reviewed by Adam Barth.
1533 This patch extends WTFURL with:
1534 -support basic debugging using print() methods
1535 -parsing in the incomming string character set (8bits or 16bits)
1536 -add a function for parsing of relative URL (but no implementation yet)
1538 * WTF.xcodeproj/project.pbxproj:
1539 * wtf/text/WTFString.h:
1541 * wtf/url/api/ParsedURL.cpp:
1542 (WTF::ParsedURL::ParsedURL):
1544 (WTF::ParsedURL::hasFragment): Add this method to query the framgent availability without
1545 allocating a new String.
1546 (WTF::ParsedURL::withoutFragment): This method is added to implement KURL::removeFragmentIdentifier() and
1547 the parsing of empty relative URL (where we return the base without fragment).
1548 (WTF::ParsedURL::print):
1549 * wtf/url/api/ParsedURL.h:
1551 (WTF::ParsedURL::spec):
1552 * wtf/url/api/URLString.h:
1554 * wtf/url/src/URLParser.h:
1557 (WTF::URLParser::parseURLWithBase):
1558 * wtf/url/src/URLSegments.cpp:
1559 (WTF::URLSegments::length):
1560 (WTF::URLSegments::charactersBefore):
1561 * wtf/url/src/URLSegments.h:
1563 Change the boolean argument includeDelimiter in favor of an enum to improve readability.
1565 2012-06-13 Filip Pizlo <fpizlo@apple.com>
1567 DFG should be able to set watchpoints on global variables
1568 https://bugs.webkit.org/show_bug.cgi?id=88692
1570 Reviewed by Geoffrey Garen.
1572 Added ability to set the inline capacity of segmented vectors.
1574 Also added the ability ot ASSERT_NOT_REACHED() without having to
1575 propagate NO_RETURN macros, which would be a show-stopper for code
1576 that is conditionally unreachable.
1579 (UNREACHABLE_FOR_PLATFORM):
1580 * wtf/SegmentedVector.h:
1582 (SegmentedVectorIterator):
1583 (WTF::SegmentedVectorIterator::operator=):
1584 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1587 2012-06-13 Sheriff Bot <webkit.review.bot@gmail.com>
1589 Unreviewed, rolling out r120172.
1590 http://trac.webkit.org/changeset/120172
1591 https://bugs.webkit.org/show_bug.cgi?id=88976
1593 The patch causes compilation failures on Gtk, Qt and Apple Win
1594 bots (Requested by zdobersek on #webkit).
1596 * wtf/SegmentedVector.h:
1598 (SegmentedVectorIterator):
1599 (WTF::SegmentedVectorIterator::operator=):
1600 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1603 2012-06-10 Filip Pizlo <fpizlo@apple.com>
1605 DFG should be able to set watchpoints on global variables
1606 https://bugs.webkit.org/show_bug.cgi?id=88692
1608 Reviewed by Geoffrey Garen.
1610 Added ability to set the inline capacity of segmented vectors.
1612 * wtf/SegmentedVector.h:
1614 (SegmentedVectorIterator):
1615 (WTF::SegmentedVectorIterator::operator=):
1616 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1619 2012-06-12 Geoffrey Garen <ggaren@apple.com>
1621 Try to fix the build.
1623 Maybe don't export inlined functions.
1625 * wtf/ThreadingPrimitives.h:
1626 (WTF::MutexTryLocker::MutexTryLocker):
1627 (WTF::MutexTryLocker::~MutexTryLocker):
1628 (WTF::MutexTryLocker::locked):
1630 2012-06-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1632 Using extrernal ICU library on case unsensitive drives will not work
1633 https://bugs.webkit.org/show_bug.cgi?id=70913
1635 Reviewed by Csaba Osztrogonác.
1637 Properly set the include path for the WTF module and for modules using it.
1638 The path should include Source/WTF/wtf only when building WTF itself. Other
1639 modules are expected to include the headers as #include <wtf/Header.h>, so
1640 only add Source/WTF to their include path.
1642 "unicode/utf8.h" should now then always reference to ICU in the include path
1643 and "wtf/unicode/UTF8.h" reference to the WTF version.
1644 This will work as long as WTF object files don't depend on ICU themselves.
1646 Removed gobject, qt and unicode from the include path as those directories
1647 don't exist anymore.
1652 2012-06-11 Carlos Garcia Campos <cgarcia@igalia.com>
1654 Unreviewed. Fix make distcheck issues.
1656 * GNUmakefile.list.am: Add missing header file.
1658 2012-06-09 Dominic Cooney <dominicc@chromium.org>
1660 [Chromium] Remove JavaScriptCore dependencies from gyp
1661 https://bugs.webkit.org/show_bug.cgi?id=88510
1663 Reviewed by Adam Barth.
1665 Chromium doesn't support JSC any more and there doesn't seem to be
1666 a strong interest in using GYP as the common build system in other
1671 2012-06-08 Andy Wingo <wingo@igalia.com>
1673 Explictly mark stubs called by JIT as being internal
1674 https://bugs.webkit.org/show_bug.cgi?id=88552
1676 Reviewed by Filip Pizlo.
1678 * wtf/ExportMacros.h (WTF_INTERNAL, HAVE_INTERNAL_VISIBILITY): New
1679 defines. Regardless of what the port does about visibility in
1680 general, for code referenced only from assembly it is useful to
1681 give it internal visibility.
1682 * wtf/InlineASM.h: Split SYMBOL_STRING_RELOCATION into
1683 LOCAL_REFERENCE and GLOBAL_REFERENCE; the former will try to avoid
1684 indirection if HAVE(INTERNAL_VISIBILITY).
1686 2012-06-07 Csaba Osztrogonác <ossy@webkit.org>
1688 [Qt][Win] Fix linking WTF with ICU
1689 https://bugs.webkit.org/show_bug.cgi?id=88302
1691 Reviewed by Simon Hausmann.
1693 * WTF.pri: Use proper library names on win32 platforms.
1695 2012-06-06 Michael Saboff <msaboff@apple.com>
1697 ENH: Add Logging to GC Marking Phase
1698 https://bugs.webkit.org/show_bug.cgi?id=88364
1700 Reviewed by Filip Pizlo.
1703 (WTF::dataLogString): Additional method to support GC Mark logging.
1705 * wtf/Platform.h: New ENABLE_OBJECT_MARK_LOGGING flag macro.
1707 2012-06-06 Andy Wingo <wingo@igalia.com>
1709 [GTK] Enable the LLInt
1710 https://bugs.webkit.org/show_bug.cgi?id=88315
1712 Reviewed by Filip Pizlo.
1714 * wtf/InlineASM.h: Add an implementation of LOCAL_LABEL_STRING for
1716 * wtf/Platform.h: Add OS(LINUX) to the set of operating systems
1717 for ENABLE_LLINT. Add a specific check for PLATFORM(MAC) or
1718 PLATFORM(IOS), and add to that a check for PLATFORM(GTK).
1720 2012-06-05 Roland Takacs <takacs.roland@stud.u-szeged.hu>
1722 [Qt] Use GraphicsContext3DOpenGLES.cpp when using OpenGL ES
1723 https://bugs.webkit.org/show_bug.cgi?id=78720
1725 Reviewed by Noam Rosenthal.
1727 Defined a global Opengl ES macro to check OpenGL ES on every platforms.
1731 2012-06-04 Takashi Toyoshima <toyoshim@chromium.org>
1733 [WebSocket] Send requires super linear time against data size
1734 https://bugs.webkit.org/show_bug.cgi?id=87383
1736 Reviewed by Kent Tamura.
1738 * wtf/StreamBuffer.h: Added.
1741 (WTF::StreamBuffer::StreamBuffer):
1742 (WTF::StreamBuffer::~StreamBuffer):
1743 (WTF::StreamBuffer::isEmpty):
1744 (WTF::StreamBuffer::append):
1745 (WTF::StreamBuffer::consume):
1746 (WTF::StreamBuffer::size):
1747 (WTF::StreamBuffer::firstBlockData):
1748 (WTF::StreamBuffer::firstBlockSize):
1750 2012-06-04 Patrick Gansterer <paroga@webkit.org>
1752 Port RAMSize to WinCE
1753 https://bugs.webkit.org/show_bug.cgi?id=87854
1755 Reviewed by Geoffrey Garen.
1757 WinCE has no GlobalMemoryStatusEx() function. Use GlobalMemoryStatus() instead.
1760 (WTF::computeRAMSize):
1762 2012-06-01 Xianzhu Wang <wangxianzhu@chromium.org>
1764 Remove dependency from ImageDiff to WTF
1765 https://bugs.webkit.org/show_bug.cgi?id=88147
1767 Reviewed by Adam Barth.
1771 2012-06-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1773 [Qt] Save one copy when going from 8-bit WTF::String to QString
1775 Asking for characters() of an 8-bit string will make a 16-bit copy internally
1776 in WTF::String. Since we're going to copy the data to QStringData anyways, which
1777 is 16-bit, we can do the conversion ourselves and save one copy.
1779 Reviewed by Simon Hausmann.
1781 * wtf/qt/StringQt.cpp:
1782 (WTF::String::operator QString):
1784 2012-05-30 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1786 [Qt] Make conversion from QString to WTF::String (and back again) ~free
1788 https://bugs.webkit.org/show_bug.cgi?id=87847
1790 Instead of copying the QString data when converting to a WTF::String we
1791 make the WTF::String adopt the QString data by introducing a new buffer
1792 ownership type, and pointing the internal WTF::StringImpl 16-bit data
1793 member to the string data managed by QStringData.
1795 We make sure to reference the QStringData when adopting, so that the
1796 data will stay alive, and then dereference it when the WTF::StringImpl
1797 is deleted, which will free the QStringData (either straight away, if
1798 we're the only one holding a reference still, or later, when the ref
1801 In the case of going back from a WTF::String to a QString we can cheat
1802 a bit (avoid a copy), if we know that the WTF::String was adopted from
1803 a QString, since it's then just a matter of having the QString adopt
1804 the existing QStringData (just like a regular QString copy).
1806 If the WTF::String buffer is not owned by QStringData, eg a regular
1807 8-bit or 16-bit string/substring, we have to fall back to copying,
1808 as before (though there are potential optimization tricks we can
1809 apply here later on).
1811 Reviewed by Gavin Barraclough.
1813 * wtf/qt/StringQt.cpp:
1814 * wtf/text/StringImpl.cpp:
1815 * wtf/text/StringImpl.h:
1817 2012-06-01 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
1819 [EFL] Implement PlatformStrategies
1820 https://bugs.webkit.org/show_bug.cgi?id=86946
1822 Reviewed by Carlos Garcia Campos.
1824 * wtf/Platform.h: Enable PLATFORM_STRATEGIES for EFL platform.
1826 2012-05-31 Anders Carlsson <andersca@apple.com>
1828 Enable support for rvalue references when building with a version of clang that supports them
1829 https://bugs.webkit.org/show_bug.cgi?id=88018
1831 Re-enable support for rvalue references when building with a version of Xcode newer than 4.2.
1835 2012-05-31 Filip Pizlo <fpizlo@apple.com>
1837 DataLog should be usable outside of JSC
1838 https://bugs.webkit.org/show_bug.cgi?id=88015
1840 Reviewed by Oliver Hunt.
1845 2012-05-31 Anders Carlsson <andersca@apple.com>
1847 Disable support for rvalue references until I figure out why this is breaking the Xcode 4.2 build.
1851 2012-05-31 Anders Carlsson <andersca@apple.com>
1853 Vector should have a move constructor and move assignment operator
1854 https://bugs.webkit.org/show_bug.cgi?id=87997
1856 Reviewed by Andreas Kling.
1859 Use __has_extension so we can use move semantics and other C++11 features even when building as C++98.
1862 Add a move constructor and a move assignment operator to Vector.
1864 2012-05-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1866 [Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
1867 https://bugs.webkit.org/show_bug.cgi?id=87955
1869 Reviewed by Simon Hausmann.
1873 2012-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1875 HashTable.h has using directives for std::pair and std::make_pair
1876 https://bugs.webkit.org/show_bug.cgi?id=29919
1878 Reviewed by Darin Adler.
1881 (WTF): Remove the directives.
1883 2012-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1885 HashTable.h has using directives for std::pair and std::make_pair
1886 https://bugs.webkit.org/show_bug.cgi?id=29919
1888 Reviewed by Darin Adler.
1890 Change code to use std::pair and std::make_pair. Later patch will remove the
1894 (WTF::hashTableSwap):
1898 (WTF::PairHashTraits::emptyValue):
1900 2012-05-30 Patrick Gansterer <paroga@webkit.org>
1902 Build fix for WinCE after r118603.
1905 (WTF::weakCompareAndSwap):
1907 2012-05-29 Anders Carlsson <andersca@apple.com>
1909 String should be move enabled/optimized
1910 https://bugs.webkit.org/show_bug.cgi?id=87596
1912 Reviewed by Andreas Kling.
1914 Add move constructors and move assignment operators to String and AtomicString when building with
1915 compilers that support rvalue references. This gets rid of ref-churn when the source of the
1916 constructor or assignment is a temporary object.
1918 * wtf/text/AtomicString.h:
1920 (WTF::AtomicString::AtomicString):
1921 (WTF::AtomicString::operator=):
1922 * wtf/text/WTFString.h:
1924 (WTF::String::String):
1925 (WTF::String::operator=):
1927 2012-05-29 Alexandre Elias <aelias@google.com>
1929 Support WebKit log messages on Android
1930 https://bugs.webkit.org/show_bug.cgi?id=87773
1932 Reviewed by Darin Adler.
1934 This sends WebKit log messages to the Android "logcat" facility, as
1935 Android sends stderr to /dev/null.
1937 * wtf/Assertions.cpp:
1939 2012-05-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1941 [Qt] Remove duplication of logic for disabling selected warnings related to C++11
1943 This is already handled in unix/default_post.prf
1945 Reviewed by Simon Hausmann.
1949 2012-05-27 Darin Adler <darin@apple.com>
1951 Fix an incorrect assertion in Vector::remove
1952 https://bugs.webkit.org/show_bug.cgi?id=87612
1954 Reviewed by Dan Bernstein.
1956 * wtf/Vector.h: There's no good reason to disallow calling remove
1957 with a size of 0, even when the position is at the end of the vector,
1958 so changed the two-argument Vector::remove assertion to assert that
1959 the position is <= size rather than < size.
1961 2012-05-27 Yoshifumi Inoue <yosin@chromium.org>
1963 [WTF] Introduce UINT64_C to MathExtras.h
1964 https://bugs.webkit.org/show_bug.cgi?id=87485
1966 Reviewed by Kent Tamura.
1970 2012-05-25 Filip Pizlo <fpizlo@apple.com>
1972 weakCompareAndSwap should work on Windows
1973 https://bugs.webkit.org/show_bug.cgi?id=87549
1975 Reviewed by Jessie Berlin.
1979 (WTF::weakCompareAndSwap):
1981 2012-05-24 Allan Sandfeld Jensen <allan.jensen@nokia.com>
1983 cti_vm_throw gets kicked out by gcc 4.6 -flto
1984 https://bugs.webkit.org/show_bug.cgi?id=56088
1986 Reviewed by Darin Adler.
1988 Define REFERENCED_FROM_ASM to __attribute__((used)) on GCC.
1992 2012-05-23 Darin Adler <darin@apple.com>
1994 Optimize iteration of empty hash tables
1995 https://bugs.webkit.org/show_bug.cgi?id=87215
1997 Reviewed by Geoffrey Garen.
1999 Iteration of empty hash tables was showing up on simple page loading
2000 profiles due to the use of hash tables in the
2001 NodeListsNodeData::invalidateCaches and
2002 NodeListsNodeData::invalidateCachesThatDependOnAttributes functions.
2003 It's worth optimizing the case of an empty table.
2006 (WTF::HashTable::begin): Return the known-good end iterator when the
2007 table is empty. This makes iterating an empty table faster because we
2008 avoid skipping empty and deleted buckets.
2010 2012-05-22 Geoffrey Garen <ggaren@apple.com>
2015 (WTF::computeRAMSize): sysctl expects a uint64_t, so use that and then
2016 cast back to size_t. Since it's coneivable that a 32bit process would
2017 run on a system with more than 4GB RAM, I added a paranoid check for
2020 2012-05-22 Jessie Berlin <jberlin@apple.com>
2025 (WTF::computeRAMSize):
2026 If you say you are going to return a size_t, actually return a size_t.
2028 2012-05-21 Geoffrey Garen <ggaren@apple.com>
2030 GC allocation trigger should be tuned to system RAM
2031 https://bugs.webkit.org/show_bug.cgi?id=87039
2033 Reviewed by Darin Adler.
2035 Added a helper function for measuring system RAM.
2037 * GNUmakefile.list.am:
2040 * WTF.vcproj/WTF.vcproj:
2041 * WTF.xcodeproj/project.pbxproj:
2042 * wtf/AmountOfRAM.cpp: Added.
2044 (WTF::computeAmountOfRAM):
2046 * wtf/AmountOfRAM.h: Added.
2048 * wtf/CMakeLists.txt:
2049 * wtf/StdLibExtras.h:
2052 2012-05-22 Allan Sandfeld Jensen <allan.jensen@nokia.com>
2054 GCC 4.7 and C++11 support.
2055 https://bugs.webkit.org/show_bug.cgi?id=86465
2057 Reviewed by Darin Adler.
2059 Detect C++11 mode in GCC 4.7 and set appropiate compiler feature flags.
2060 Turn C++11 override control into a compiler feature flag.
2061 Fix non-clang support of compiler feature CXX_DELETED_FUNCTIONS.
2064 * wtf/Noncopyable.h:
2066 2012-05-22 Filip Pizlo <fpizlo@apple.com>
2068 REGRESSION(r117861): It made almost all tests crash on Qt
2069 https://bugs.webkit.org/show_bug.cgi?id=87082
2071 Reviewed by Csaba Osztrogonác.
2073 Using OwnArrayPtr is a bad idea if you allocate array with fastCalloc.
2075 * wtf/FastBitVector.h:
2076 (WTF::FastBitVector::FastBitVector):
2077 (WTF::FastBitVector::~FastBitVector):
2079 (WTF::FastBitVector::operator=):
2080 (WTF::FastBitVector::resize):
2081 (WTF::FastBitVector::setAll):
2082 (WTF::FastBitVector::clearAll):
2083 (WTF::FastBitVector::set):
2085 2012-05-21 Filip Pizlo <fpizlo@apple.com>
2087 DFG should be able to compute dominators
2088 https://bugs.webkit.org/show_bug.cgi?id=85269
2090 Reviewed by Oliver Hunt.
2092 Merged r115754 from dfgopt.
2094 Added a bitvector class suitable for cheap static analysis. This class
2095 differs from BitVector in that instead of optimizing for space, it
2096 optimizes for execution time. Its API is also somewhat less friendly,
2097 which is intentional; it's meant to be used in places where you know
2098 up front how bit your bitvectors are going to be.
2100 * GNUmakefile.list.am:
2101 * WTF.vcproj/WTF.vcproj:
2102 * WTF.xcodeproj/project.pbxproj:
2103 * wtf/FastBitVector.h: Added.
2106 (WTF::FastBitVector::FastBitVector):
2107 (WTF::FastBitVector::operator=):
2108 (WTF::FastBitVector::numBits):
2109 (WTF::FastBitVector::resize):
2110 (WTF::FastBitVector::setAll):
2111 (WTF::FastBitVector::clearAll):
2112 (WTF::FastBitVector::set):
2113 (WTF::FastBitVector::setAndCheck):
2114 (WTF::FastBitVector::equals):
2115 (WTF::FastBitVector::merge):
2116 (WTF::FastBitVector::filter):
2117 (WTF::FastBitVector::exclude):
2118 (WTF::FastBitVector::clear):
2119 (WTF::FastBitVector::get):
2120 (WTF::FastBitVector::arrayLength):
2122 2012-05-15 Gavin Barraclough <barraclough@apple.com>
2124 Add support for private names
2125 https://bugs.webkit.org/show_bug.cgi?id=86509
2127 Reviewed by Oliver Hunt.
2129 The spec isn't final, but we can start adding support to allow property maps
2130 to contain keys that aren't identifiers.
2132 * wtf/text/StringImpl.h:
2133 (WTF::StringImpl::StringImpl):
2135 (WTF::StringImpl::createEmptyUnique):
2136 (WTF::StringImpl::isEmptyUnique):
2137 - Allow empty string impls to be allocated, which can be used as unique keys.
2139 2012-05-21 Emil A Eklund <eae@chromium.org> and Levi Weintraub <leviw@chromium.org>
2141 Enable SUBPIXEL_LAYOUT feature flag on Chromium
2142 https://bugs.webkit.org/show_bug.cgi?id=85555
2144 Reviewed by Eric Seidel.
2146 Enabling sub-pixel layout on Chromium port.
2150 2012-05-21 Andreas Kling <kling@webkit.org>
2152 CSS: Move duplicate property elimination to parser.
2153 <http://webkit.org/b/86948>
2155 Reviewed by Antti Koivisto.
2157 Add WTF::BitArray, a simple, malloc free, fixed-size bit array class.
2159 * GNUmakefile.list.am:
2162 * WTF.vcproj/WTF.vcproj:
2163 * WTF.xcodeproj/project.pbxproj:
2164 * wtf/BitArray.h: Added.
2167 (WTF::BitArray::BitArray):
2168 (WTF::BitArray::set):
2169 (WTF::BitArray::get):
2170 * wtf/CMakeLists.txt:
2172 2012-05-21 Allan Sandfeld Jensen <allan.jensen@nokia.com>
2174 Colliding isinf/isnan between C99 and C++11 with GCC >=4.6
2175 https://bugs.webkit.org/show_bug.cgi?id=59249
2177 Reviewed by Darin Adler.
2179 Workaround the isinf and isnan conflict in GCC C++11.
2186 2012-05-21 Andreas Kling <kling@webkit.org>
2188 REGRESSION(r117501): IconDatabase asserts on startup in synchronousIconForPageURL().
2189 <http://webkit.org/b/86935>
2190 <rdar://problem/11480012>
2192 Reviewed by Anders Carlsson.
2194 Added a swap() to HashCountedSet.
2196 * wtf/HashCountedSet.h:
2197 (HashCountedSet::swap):
2199 2012-05-16 Geoffrey Garen <ggaren@apple.com>
2201 This is not a joke: 3.7X speedup from removing a call to sleep
2202 https://bugs.webkit.org/show_bug.cgi?id=86702
2204 Reviewed by Eric Seidel.
2206 The speedup was on a GC benchmark, with a custom VM caching layer
2209 Instruments showed most GC threads spending the majority of their
2210 time sleeping instead of doing useful work. Removing the call to
2211 sleep sped up the benchmark.
2214 (TCMalloc_SlowLock): Since a spin lock is only ever held for a short
2215 amount of time, don't sleep for a long amount of time waiting for it
2216 to unlock -- yielding to the scheduler is sufficient.
2218 If we find a case where someone is sitting on a spin lock for over 2ms,
2219 we should fix the spin lock holder, not the spin lock.
2221 2012-05-16 Simon Fraser <simon.fraser@apple.com>
2223 Make things build with DUMP_HASHTABLE_STATS=1
2224 https://bugs.webkit.org/show_bug.cgi?id=86571
2226 Reviewed by Geoffrey Garen.
2228 DUMP_HASHTABLE_STATS bitrotted after the WTF separation. This patch
2231 Added WTF_EXPORTDATA to the global data, and WTF_EXPORT_PRIVATE to
2232 the static HashTableStats methods. Added a dumpStats() method
2233 that is not yet called anywhere; we can no longer rely on destroying
2234 a global object to dump the stats because global destructors are
2237 * wtf/HashTable.cpp:
2239 (WTF::HashTableStats::recordCollisionAtCount):
2240 (WTF::HashTableStats::dumpStats):
2244 2012-05-15 Filip Pizlo <fpizlo@apple.com>
2246 shrinkToFit() is often not called for Vectors in CodeBlock
2247 https://bugs.webkit.org/show_bug.cgi?id=86436
2249 Reviewed by Oliver Hunt.
2251 Gave SegmentedVector a shrinkToFit() method. This only shrinks the segment
2252 lookup table, which is likely to not be hugely profitable, but it is better
2255 * wtf/SegmentedVector.h:
2257 (WTF::SegmentedVector::shrinkToFit):
2259 2012-05-15 Andy Estes <aestes@apple.com>
2261 Add WTF_USE_SECURITY_FRAMEWORK and use it in place of the less specific PLATFORM(MAC)
2262 https://bugs.webkit.org/show_bug.cgi?id=86508
2264 Reviewed by Sam Weinig.
2268 2012-05-15 Zoltan Herczeg <zherczeg@webkit.org>
2270 NEONizing forceValidPreMultipliedPixels
2271 https://bugs.webkit.org/show_bug.cgi?id=86468
2273 Reviewed by Nikolas Zimmermann.
2275 Allow to disable all intrinsics with a single macro.
2279 2012-05-14 Andy Estes <aestes@apple.com>
2281 Add WTF_USE_APPKIT to differentiate platforms that use AppKit.framework from other Darwin platforms
2282 https://bugs.webkit.org/show_bug.cgi?id=86432
2284 Reviewed by Maciej Stachowiak.
2288 2012-05-14 Mark Rowe <mrowe@apple.com>
2290 <http://webkit.org/b/86320> WTF.xcodeproj builds with -O3 in debug builds
2292 Reviewed by Simon Fraser.
2294 * WTF.xcodeproj/project.pbxproj: Ensure that the debug configuration uses the
2295 same settings as the debug variant would.
2297 2012-05-14 Wei James <james.wei@intel.com>
2299 [Chromium] ImageDiff should be build for host on Android
2300 https://bugs.webkit.org/show_bug.cgi?id=82039
2302 Reviewed by Adam Barth.
2306 2012-05-14 Yong Li <yoli@rim.com>
2308 DFG JIT is not ARM EABI compatible
2309 https://bugs.webkit.org/show_bug.cgi?id=84449
2311 Reviewed by Filip Pizlo.
2313 Add COMPILER_SUPPORTS(EABI) when __ARM_EABI__
2314 or __EABI__ is defined.
2318 2012-05-10 Michał Pakuła vel Rutka <m.pakula@samsung.com>
2320 [EFL] Add OwnPtr specialization for Eina_Hash.
2321 https://bugs.webkit.org/show_bug.cgi?id=85046
2323 Reviewed by Andreas Kling.
2325 Add an override for Eina_Hash for EFL port.
2327 * wtf/OwnPtrCommon.h:
2329 * wtf/efl/OwnPtrEfl.cpp:
2330 (WTF::deleteOwnedPtr):
2333 2012-05-09 Filip Pizlo <fpizlo@apple.com>
2335 It should be possible to get useful debug logging from the JIT memory allocator
2336 https://bugs.webkit.org/show_bug.cgi?id=86042
2338 Reviewed by Geoff Garen.
2340 * wtf/MetaAllocator.cpp:
2341 (WTF::MetaAllocator::findAndRemoveFreeSpace):
2342 (WTF::MetaAllocator::addFreeSpace):
2343 (WTF::MetaAllocator::dumpProfile):
2345 2012-05-08 Sheriff Bot <webkit.review.bot@gmail.com>
2347 Unreviewed, rolling out r116440.
2348 http://trac.webkit.org/changeset/116440
2349 https://bugs.webkit.org/show_bug.cgi?id=85904
2351 Broke the Chromium Android bot (Requested by beverloo on
2356 2012-05-08 Adam Barth <abarth@webkit.org>
2358 [Chromium] OS(ANDROID) ImageDiff requires us to build WTF for both host and target
2359 https://bugs.webkit.org/show_bug.cgi?id=85897
2361 Reviewed by Tony Chang.
2365 2012-05-08 Adam Barth <abarth@webkit.org>
2367 [Chromium] Assertions.cpp should work on OS(ANDROID)
2368 https://bugs.webkit.org/show_bug.cgi?id=85867
2370 Reviewed by Eric Seidel.
2372 Some minor ifdefs for OS(ANDROID) on PLATFORM(CHROMIUM).
2374 * wtf/Assertions.cpp:
2376 2012-05-07 Adam Barth <abarth@webkit.org>
2378 [Chromium] Android wishes to use an empty implementation if AXObjectCache
2379 https://bugs.webkit.org/show_bug.cgi?id=85842
2381 Reviewed by Eric Seidel.
2383 Disable accessibility on OS(ANDROID) for PLATFORM(CHROMIUM).
2387 2012-05-04 Jeff Rogers <jrogers@rim.com>
2389 [BlackBerry] Implement numberOfProcessorCores() for QNX
2390 https://bugs.webkit.org/show_bug.cgi?id=85638
2392 Reviewed by Antonio Gomes.
2394 * wtf/NumberOfCores.cpp:
2395 (WTF::numberOfProcessorCores):
2397 2012-05-03 Yong Li <yoli@rim.com>
2399 Mutex failure when HashTable is memory moved in debug build
2400 https://bugs.webkit.org/show_bug.cgi?id=84970
2402 Reviewed by Rob Buis.
2404 1. Replace m_mutex with OwnPtr<m_mutex> so HashTable is still
2405 memory movable in debug build.
2406 2. Assert successes of pthread_mutex_init() and pthread_mutex_destroy().
2411 (WTF::::invalidateIterators):
2413 (WTF::removeIterator):
2414 * wtf/ThreadingPthreads.cpp:
2415 (WTF::Mutex::Mutex):
2416 (WTF::Mutex::~Mutex):
2418 2012-05-02 Antti Koivisto <antti@apple.com>
2420 Add temporary feature define for parsed stylesheet caching
2421 https://bugs.webkit.org/show_bug.cgi?id=85413
2423 Rubber-stamped by Nikolas Zimmermann.
2425 While not an externally visible feature this is still a significant internal change.
2426 It is good to have define in case someone has an urgent need to turn it off.
2428 Caching is enabled by default on all platforms. The define should be removed after some bake time.
2432 2012-05-02 Lauro Neto <lauro.neto@openbossa.org>
2434 [Qt]r57240 broke Qt build (gcc bug)
2435 https://bugs.webkit.org/show_bug.cgi?id=37253
2437 Reviewed by Csaba Osztrogonác.
2439 Add back the inline hack just for ARM due to old version of
2440 gcc still being used on Harmattan SDK. Thanks to Ossy for the
2445 2012-05-02 Nico Weber <thakis@chromium.org>
2447 Let WebKit parse with clang on windows with -std=c++11
2448 https://bugs.webkit.org/show_bug.cgi?id=85398
2450 Reviewed by Ryosuke Niwa.
2452 See http://trac.webkit.org/changeset/85945 for background on the line
2453 I'm changing. With clang, __GXX_EXPERIMENTLAL_CXX0X__ is set in c++11
2454 mode, but MSVC's c++ library doesn't have a tr1/memory header. So also
2455 check for __GLIBCXX__, like it's done in the rest of this file.
2459 2012-05-02 Adenilson Cavalcanti <cavalcantii@gmail.com>
2461 [Qt]r57240 broke Qt build (gcc bug)
2462 https://bugs.webkit.org/show_bug.cgi?id=37253
2464 Reviewed by Noam Rosenthal.
2466 Removing workaround macro since current gcc/Qt doesn't require it to compile.
2471 2012-04-30 Oliver Hunt <oliver@apple.com>
2473 Investigate overflows in Canvas putImageData routine
2474 https://bugs.webkit.org/show_bug.cgi?id=61373
2476 Reviewed by Gavin Barraclough.
2478 Allow floating point multiplies of checked types (complete with
2481 * wtf/CheckedArithmetic.h:
2483 (WTF::Checked::operator*=):
2485 2012-04-30 Benjamin Poulain <benjamin@webkit.org>
2487 Add String::startsWith() and endsWith() for string literals
2488 https://bugs.webkit.org/show_bug.cgi?id=85154
2490 Reviewed by Darin Adler.
2492 When invoking StringImpl::startsWidth() or StringImpl::endsWith() with
2493 a string literal, a new String was constructed implicitly, allocating
2494 a new StringImpl and copying the characters for the operation.
2496 This patch adds a version of those methods for single characters and
2498 This allows us to avoid allocating memory and use the characters in place,
2499 and it permits some extra shortcuts in the implementation.
2501 * wtf/text/AtomicString.h:
2502 (WTF::AtomicString::startsWith):
2504 (WTF::AtomicString::endsWith):
2505 * wtf/text/StringImpl.cpp:
2508 (WTF::StringImpl::startsWith):
2509 (WTF::StringImpl::endsWith):
2510 * wtf/text/StringImpl.h:
2511 (WTF::StringImpl::startsWith):
2513 (WTF::StringImpl::endsWith):
2514 * wtf/text/WTFString.h:
2515 (WTF::String::startsWith):
2517 (WTF::String::endsWith):
2519 2012-04-30 Anders Carlsson <andersca@apple.com>
2521 WTF::bind should work with blocks
2522 https://bugs.webkit.org/show_bug.cgi?id=85227
2524 Reviewed by Sam Weinig.
2526 Add a block type FunctionWrapper specialization.
2530 2012-04-28 Emil A Eklund <eae@chromium.org>
2532 Add ENABLE_SUBPIXEL_LAYOUT controlling FractionalLayoutUnit denominator
2533 https://bugs.webkit.org/show_bug.cgi?id=85146
2535 Reviewed by Eric Seidel.
2537 Add a new flag for controlling the fixed point denominator in
2538 FractionalLayoutUnit. Controls whether the denominator is set to 60 or 1.
2539 Until we change the LayoutUnit typedef this change will have no effect.
2543 2012-04-29 Kent Tamura <tkent@chromium.org>
2545 [Mac] Add LocalizedDateMac
2546 https://bugs.webkit.org/show_bug.cgi?id=85039
2548 Reviewed by Kentaro Hara.
2551 (WTF): Add monthFullName[]. It is useful to make fallback month
2552 names for calendar/date related features.
2554 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
2556 [SOUP] Add a way to register custom uri schemes in WebKit2
2557 https://bugs.webkit.org/show_bug.cgi?id=84130
2559 Reviewed by Martin Robinson.
2561 Add GPtrArray template to be able to use GRefPtr with GPtrArrays.
2563 * wtf/gobject/GRefPtr.cpp:
2567 * wtf/gobject/GRefPtr.h:
2569 * wtf/gobject/GTypedefs.h:
2571 2012-04-26 Nico Weber <thakis@chromium.org>
2573 Don't define WTF_COMPILER_SUPPORTS_CXX_NULLPTR twice when building with clang on windows.
2574 https://bugs.webkit.org/show_bug.cgi?id=85018
2576 Reviewed by Anders Carlsson.
2578 Clang sets _MSC_VER when compiling for a -pc-win32 target (just like it sets __GNUC__ on unix).
2579 As a result, WTF_COMPILER_SUPPORTS_CXX_NULLPTR gets currently set twice, once for clang and
2580 once for _MSC_VER. Guard the second instance with !COMPILER(CLANG). This matches the gcc code
2581 for WTF_COMPILER_SUPPORTS_CXX_NULLPTR in the same file.
2585 2012-04-26 Antonio Gomes <agomes@rim.com>
2587 [BlackBerry] properly disable DRAG_SUPPORT
2588 https://bugs.webkit.org/show_bug.cgi?id=84952
2590 Reviewed by Daniel Bates.
2592 * wtf/Platform.h: Remove the line that disables drag support from here
2593 for the BlackBerry port.
2595 2012-04-25 Benjamin Poulain <benjamin@webkit.org>
2597 Add a version of StringImpl::find() without offset
2598 https://bugs.webkit.org/show_bug.cgi?id=83968
2600 Reviewed by Sam Weinig.
2602 This patch add a version of StringImpl::find() without offset, Instead of using the default
2603 value for the index.
2605 By not having the index, we can skip a couple of branches and a few instructions. This gives
2606 significant gains when the strings are short-ish.
2608 The case of empty string is moved below (matchLength == 1) since it is a less common operation.
2610 * wtf/text/StringImpl.cpp:
2611 (WTF::StringImpl::find):
2613 * wtf/text/StringImpl.h:
2615 * wtf/text/WTFString.h:
2617 (WTF::String::find):
2619 2012-04-25 Darin Adler <darin@apple.com>
2621 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2622 https://bugs.webkit.org/show_bug.cgi?id=84524
2624 Reviewed by Antti Koivisto.
2626 * wtf/HashMap.h: Added a struct template, HashMapValueTraits, that derives from
2627 PairHashTraits, adds an isEmptyValue function that looks only at the key, not
2628 the mapped value, in the hash table value, and uses the isHashTraitsEmptyValue
2629 function template to check if the key is empty.
2631 2012-04-25 Landry Breuil <landry@openbsd.org>
2633 Include <sys/param.h>, needed for sysctl() on OpenBSD/NetBSD
2634 https://bugs.webkit.org/show_bug.cgi?id=82585
2636 Reviewed by Zoltan Herczeg.
2638 * wtf/NumberOfCores.cpp: include <sys/param.h> on the BSDs
2640 2012-04-25 Kenneth Russell <kbr@google.com>
2642 Delete CanvasPixelArray, ByteArray, JSByteArray and JSC code once unreferenced
2643 https://bugs.webkit.org/show_bug.cgi?id=83655
2645 Reviewed by Oliver Hunt.
2647 * GNUmakefile.list.am:
2650 * WTF.vcproj/WTF.vcproj:
2651 * WTF.xcodeproj/project.pbxproj:
2652 * wtf/ByteArray.cpp: Removed.
2653 * wtf/ByteArray.h: Removed.
2654 * wtf/CMakeLists.txt:
2656 2012-04-25 Philippe Normand <pnormand@igalia.com>
2658 Webkit build fails due to missing gstreamer include file on Kubuntu 8.04
2659 https://bugs.webkit.org/show_bug.cgi?id=81913
2661 Reviewed by Tor Arne Vestbø.
2663 * WTF.pri: GStreamer build support implies GLib support, as it's
2664 done in WebCore.pri.
2666 2012-04-24 Benjamin Poulain <bpoulain@apple.com>
2668 Generalize the single character optimization of r114072
2669 https://bugs.webkit.org/show_bug.cgi?id=83961
2671 Reviewed by Eric Seidel.
2673 This patch makes some improvment over String::find() in the case of lookup for a single
2676 The two function find(UChar|LChar) are replaced by a template.
2678 The case of searching a UChar in a 8bit string has a shortcut if the UChar cannot
2679 possibly match any character in the range of the type LChar.
2681 The slow case StringImpl::find(StringImpl*) is modified to
2682 -Do not allocate in the fast case if only one string is 8bit.
2683 -Use the shortcut for searching UChar in LChar.
2685 This speed up the function by about 7% when avoiding string conversion.
2687 * wtf/text/StringImpl.cpp:
2688 (WTF::StringImpl::find):
2689 * wtf/text/StringImpl.h:
2693 (WTF::StringImpl::find):
2695 2012-04-24 Darin Adler <darin@apple.com>
2697 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2698 https://bugs.webkit.org/show_bug.cgi?id=84524
2700 Reviewed by Antti Koivisto.
2702 Added a new algorithm for checking for empty buckets that can be specialized.
2703 Specialized it for String. We may later want to do the same thing for KURL.
2704 It's not important to do it for AtomicString, since AtomicString's == function
2705 is already a simple pointer equality compare. We may also later want to do
2706 something similar for pairs that have String objects in them.
2709 (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
2710 will do something more efficient for String.
2712 * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
2713 of false. This allows us to continue to get automatic comparison with the appropriate
2714 emptyValue result for all existing traits, but supply a custom isEmptyValue function
2715 for HashTraits<String>. Putting an isEmptyValue function into the traits would require
2716 overriding it in every class that has a custom value for emptyValue. Specialized
2717 HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
2718 isEmptyValue function.
2719 (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
2720 struct to use either == combined with the emptyValue function or the isEmptyValue function.
2722 * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
2723 the bottom of the file.
2724 (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
2725 included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
2727 2012-04-23 Kenneth Russell <kbr@google.com>
2729 Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
2730 https://bugs.webkit.org/show_bug.cgi?id=73011
2732 Reviewed by Oliver Hunt.
2734 * wtf/ArrayBuffer.h:
2736 (WTF::ArrayBuffer::create):
2737 (WTF::ArrayBuffer::createUninitialized):
2739 (WTF::ArrayBufferContents::tryAllocate):
2740 * wtf/TypedArrayBase.h:
2741 (WTF::TypedArrayBase::createUninitialized):
2743 * wtf/Uint8ClampedArray.h:
2744 (Uint8ClampedArray):
2745 (WTF::Uint8ClampedArray::createUninitialized):
2747 (WTF::Uint8ClampedArray::zeroFill):
2749 2012-04-23 George Staikos <staikos@webkit.org>
2751 Enable parallel GC for BlackBerry.
2752 https://bugs.webkit.org/show_bug.cgi?id=84633
2754 Reviewed by Antonio Gomes.
2758 2012-04-23 Sheriff Bot <webkit.review.bot@gmail.com>
2760 Unreviewed, rolling out r114914.
2761 http://trac.webkit.org/changeset/114914
2762 https://bugs.webkit.org/show_bug.cgi?id=84615
2764 Causing infinite hangs on some tests involving HashMaps with
2765 integer keys (Requested by dimich on #webkit).
2768 (WTF::HashTable::isEmptyBucket):
2770 * wtf/text/StringHash.h:
2772 2012-04-23 Darin Adler <darin@apple.com>
2774 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2775 https://bugs.webkit.org/show_bug.cgi?id=84524
2777 Reviewed by Antti Koivisto.
2779 Added a new algorithm for checking for empty buckets that can be specialized.
2780 Specialized it for String. We may later want to do the same thing for KURL.
2781 It's not important to do it for AtomicString, since AtomicString's == function
2782 is already a simple pointer equality compare.
2785 (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
2786 will do something more efficient for String.
2788 * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
2789 of false. This allows us to continue to get automatic comparison with the appropriate
2790 emptyValue result for all existing traits, but supply a custom isEmptyValue function
2791 for HashTraits<String>. Putting an isEmptyValue function into the traits would require
2792 overriding it in every class that has a custom value for emptyValue. Specialized
2793 HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
2794 isEmptyValue function.
2795 (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
2796 struct to use either == combined with the emptyValue function or the isEmptyValue function.
2797 (PairHashTraits): Define hasIsEmptyValueFunction and isEmptyValue.
2799 * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
2800 the bottom of the file.
2801 (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
2802 included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
2804 2012-04-18 Myles Maxfield <mmaxfield@google.com>
2806 Somehow, there's an errant backslash in my last WTF patch
2807 https://bugs.webkit.org/show_bug.cgi?id=84290
2809 Reviewed by Andreas Kling.
2811 * wtf/StdLibExtras.h:
2812 (WTF::roundUpToMultipleOf):
2814 2012-04-16 Nico Weber <thakis@chromium.org>
2816 Make NullPtr.h compile with clang -std=c++11 and libstdc++4.2
2817 https://bugs.webkit.org/show_bug.cgi?id=83999
2819 Reviewed by Sam Weinig.
2821 Before this patch, NullPtr.h assumed that a working |nullptr| implied
2822 a working |std::nullptr_t| as well. With clang and libstdc++4.2, this
2825 I tested (-stdlib=libc++, -stdlib=libstdc++) x (-std=c++11, -std=c++03)
2831 2012-04-14 Sam Weinig <sam@webkit.org>
2833 Harden WTF::ByteArray::create()
2834 https://bugs.webkit.org/show_bug.cgi?id=83318
2836 Reviewed by Maciej Stachowiak.
2838 * wtf/ByteArray.cpp:
2839 (WTF::ByteArray::create):
2840 Add overflow check. I don't believe there is anyway to trigger this currently,
2841 hence no tests, so this should be considered hardening.
2843 2012-04-12 Benjamin Poulain <bpoulain@apple.com>
2845 Inline StringImpl::find(UChar, ...)
2846 https://bugs.webkit.org/show_bug.cgi?id=83737
2848 Reviewed by Geoffrey Garen.
2850 The implementation of StringImpl::find() is a simple branch before invoking one of
2851 two inline functions. The overhead of having a function for StringImpl::find() is significant.
2853 It is better to let the compiler decide if that should be inlined or not.
2855 * wtf/text/StringImpl.cpp:
2856 * wtf/text/StringImpl.h:
2861 (WTF::StringImpl::find):
2862 * wtf/text/WTFString.h:
2864 2012-04-12 Balazs Kelemen <kbalazs@webkit.org>
2866 [Qt] Fix WebKit1 build with V8
2867 https://bugs.webkit.org/show_bug.cgi?id=83322
2869 Reviewed by Adam Barth.
2871 * wtf/StdLibExtras.h:
2874 2012-04-12 Jer Noble <jer.noble@apple.com>
2876 ThreadingWin: Mutex::unlock() can be "over-unlocked".
2877 https://bugs.webkit.org/show_bug.cgi?id=83725
2879 Reviewed by David Levin.
2881 In order to support the behavior of pthread_mutex_trylock(), the Windows Mutex class includes
2882 a recursion counter which is incremented in Mutex::lock(), decremented in Mutex::unlock(),
2883 and checked in Mutex::tryLock(). If the mutex is "over-unlocked", the counter wraps around to
2884 MAX_INT, and subsequent calls to Mutex::trylock() will fail. Raise an ASSERT in this situation
2885 so the "over-unlock" will be caught.
2887 * wtf/ThreadingWin.cpp:
2888 (WTF::Mutex::unlock): ASSERT if unlocking a non-locked mutex.
2890 2012-04-10 Mark Rowe <mrowe@apple.com>
2892 <rdar://problem/10583749> WebKit2 should log to both ASL and stderr
2894 Reviewed by Sam Weinig.
2896 * wtf/Assertions.cpp: Add a WTFLogAlways function that unconditionally logs the given message.
2899 2012-04-10 Patrick Gansterer <paroga@webkit.org>
2901 Cleanup wtf/Platform.h and config.h files
2902 https://bugs.webkit.org/show_bug.cgi?id=83431
2904 Reviewed by Eric Seidel.
2906 The ENABLE() and USE() macros take care about the case when the flag
2907 isn't defined. So there is no need to define anything with 0.
2909 Also move duplicated code from the config.h files to Platform.h and
2910 merge a few preprocessor commands to make the file more readable.
2915 2012-04-10 Filip Pizlo <fpizlo@apple.com>
2917 DFG should flush SetLocals to arguments
2918 https://bugs.webkit.org/show_bug.cgi?id=83554
2920 Reviewed by Gavin Barraclough.
2922 Added an isRoot() method that is a faster shorthand for saying
2926 (WTF::UnionFind::isRoot):
2929 2012-04-10 Adam Klein <adamk@chromium.org>
2931 Remove unused NonNullPassRefPtr from WTF
2932 https://bugs.webkit.org/show_bug.cgi?id=82389
2934 Reviewed by Kentaro Hara.
2936 NonNullPassRefPtr seems to be unused since JSC allocation was
2937 restructured in r84052.
2939 If someone decides they need this later, they can always revert this patch.
2945 2012-04-10 Patrick Gansterer <paroga@webkit.org>
2947 [CMake] Enable USE_FOLDERS property
2948 https://bugs.webkit.org/show_bug.cgi?id=83571
2950 Reviewed by Daniel Bates.
2952 Setting the FOLDER property on targets gives more structure
2953 to the generated Visual Studio solutions.
2954 This does not affect other CMake generators.
2956 * wtf/CMakeLists.txt:
2958 2012-04-09 Patrick Gansterer <paroga@webkit.org>
2960 Port BinarySemaphoreWin.cpp to WinCE
2961 https://bugs.webkit.org/show_bug.cgi?id=83502
2963 Reviewed by Daniel Bates.
2965 Replace WaitForSingleObjectEx with WaitForSingleObject since
2966 the additonal parameter supported by the extended function
2967 is not used anyway and the function does not exist on WinCE.
2969 * wtf/CMakeLists.txt:
2970 * wtf/PlatformWinCE.cmake:
2971 * wtf/threads/win/BinarySemaphoreWin.cpp:
2972 (WTF::BinarySemaphore::wait):
2974 2012-04-09 Patrick Gansterer <paroga@webkit.org>
2976 [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
2978 * wtf/CMakeLists.txt:
2980 2012-04-09 Patrick Gansterer <paroga@webkit.org>
2982 Remove HAVE_STDINT_H
2983 https://bugs.webkit.org/show_bug.cgi?id=83434
2985 Reviewed by Kentaro Hara.
2987 HAVE_STDINT_H is defined with 1 all the time and we us stdint.h without HAVE(STDINT_H) already.
2990 * wtf/FastMalloc.cpp:
2993 * wtf/TCSystemAlloc.cpp:
2995 2012-04-06 Benjamin Poulain <bpoulain@apple.com>
2997 Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION
2998 https://bugs.webkit.org/show_bug.cgi?id=83325
3000 Reviewed by Ryosuke Niwa.
3002 * wtf/Platform.h: Remove the flag.
3004 2012-04-06 Darin Adler <darin@apple.com>
3006 Streamline strtod and fix some related problems
3007 https://bugs.webkit.org/show_bug.cgi?id=82857
3009 Reviewed by Geoffrey Garen.
3011 Replaced the strtod function template with a parseDouble function, eliminating
3012 the following unneeded features:
3014 - need for a trailing null character and a call to strlen
3015 - needless conversion of string lengths from size_t to int and back that created
3016 the possibility of incorrect truncation
3017 - one level of function call; use inlining instead
3018 - construction of the StringToDoubleConverter object; it was used to pass
3019 arguments that are known at compile time
3020 - most of the StringToDoubleConverter::StringToDouble function's body; it was
3021 code we did not need
3022 - parsing of Infinity and NaN at the strtod level; added recently when we moved
3023 from the old strtod to the new one, and not needed or helpful at this level
3024 - multiple copies of code to narrow to single byte strings; in many cases
3025 this was done even when starting with an LChar string that is already
3026 single-byte, now we handle this with an overload of parseDouble
3029 Removed a long comment about the original strtod function that no longer
3030 applies since we deleted that function long ago. Removed a lot of includes.
3031 Removed the strtod function templates and its instantiations, since they
3032 are now replaced by the parseDouble function.
3033 (WTF::Internal::parseDoubleFromLongString): Added.
3035 Added an include of ASCIICType.h so we can use isASCII in a function in this
3036 header. Left the heretofore unneeded include of double-conversion.h, since we
3037 now want to use it in a function in this header. Removed the AllowTrailingJunkTag
3038 and AllowTrailingSpacesTag enumerations and the strtod function template. Added
3039 new parseDouble function, and inline implementation of it.
3041 * wtf/dtoa/double-conversion.cc: Removed quite a bit of unused code, hardcoding
3042 all the StringToDouble function arguments that come from data members so it can
3043 be a much smaller static member function. Also changed the types of arguments
3045 * wtf/dtoa/double-conversion.h: Removed most of the StringToDoubleConverter
3046 class, leaving only the conversion function as a static member function.
3048 * wtf/text/StringImpl.cpp:
3049 (WTF::StringImpl::toDouble): Got rid of didReadNumber.
3050 (WTF::StringImpl::toFloat): Ditto.
3051 * wtf/text/StringImpl.h: Ditto.
3052 * wtf/text/WTFString.cpp:
3053 (WTF::String::toDouble): Got rid of didReadNumber.
3054 (WTF::String::toFloat): Ditto.
3055 (WTF::toDoubleType): Rewrote this function to use parseDouble. Moved the code
3056 to skip leading spaces here, because other callers of parseDouble don't want
3057 to do that. Repurposed the check for an empty string so it's now the same
3058 code shared by all the "parsed nothing" cases. Removed the code to convert
3059 the buffer to ASCII for two reasons: (1) We don't need that code at all when
3060 CharType is LChar, and (2) We now handle this through the two overloads for
3061 the parseDouble function. Disallowing trailing junk is now handled here,
3062 rather than inside parseDouble.
3063 (WTF::charactersToDouble): Updated for changes to toDoubleType. Removed the
3064 didReadNumber argument.
3065 (WTF::charactersToFloat): Ditto. Also added overloads that return the parsed
3066 length. These are a slightly more powerful way to do what didReadNumber was
3069 * wtf/text/WTFString.h: Added comments, eliminated didReadNumber, and added
3070 overloads of charactersToFloat that replace charactersToFloatIgnoringJunk.
3072 2012-04-05 Patrick Gansterer <paroga@webkit.org>
3074 [WinCE] Remove unnecessary function decleration
3075 https://bugs.webkit.org/show_bug.cgi?id=83155
3077 Reviewed by Kentaro Hara.
3082 2012-04-04 Patrick Gansterer <paroga@webkit.org>
3084 Add WTF::getCurrentLocalTime()
3085 https://bugs.webkit.org/show_bug.cgi?id=83164
3087 Reviewed by Alexey Proskuryakov.
3089 Replace the calls to WTF::getLocalTime() with time(0) with the new function.
3090 This allows us to use Win32 API on windows to get the same result in a next step.
3092 Also remove the inline keyword from WTF::getLocalTime(), since there is no need for
3093 it and it will make the later Win32 API changes easier.
3096 * wtf/CurrentTime.cpp:
3097 (WTF::getLocalTime):
3098 (WTF::getCurrentLocalTime):
3099 * wtf/CurrentTime.h:
3101 2012-04-04 Chris Rogers <crogers@google.com>
3103 Web Audio should use MutexTryLocker class
3104 https://bugs.webkit.org/show_bug.cgi?id=83194
3106 Reviewed by Kenneth Russell.
3108 Add MutexTryLocker class which can be used as a stack-based object wrapping a Mutex.
3109 It will automatically unlock the Mutex in its destructor if the tryLock() succeeded.
3111 * wtf/ThreadingPrimitives.h:
3113 (WTF::MutexTryLocker::MutexTryLocker):
3114 (WTF::MutexTryLocker::~MutexTryLocker):
3115 (WTF::MutexTryLocker::locked):
3116 Check if the tryLock() on the Mutex succeeded.
3119 2012-04-04 Kausalya Madhusudhanan <kmadhusu@chromium.org>
3121 [Coverity] Address some uninit constructor values.
3122 https://bugs.webkit.org/show_bug.cgi?id=82424
3124 Reviewed by Stephen White.
3126 New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
3128 * wtf/ArrayBufferView.cpp:
3129 (WTF::ArrayBufferView::ArrayBufferView):
3131 2012-03-30 David Barr <davidbarr@chromium.org>
3133 Split up top-level .gitignore and .gitattributes
3134 https://bugs.webkit.org/show_bug.cgi?id=82687
3136 Reviewed by Tor Arne Vestbø.
3138 * WTF.gyp/.gitignore: Added.
3140 2012-03-29 Kevin Ollivier <kevino@theolliviers.com>
3142 [wx] Unreviewed build fix. Add export symbols needed to
3143 build wx under Windows.
3146 * wtf/ParallelJobsGeneric.h:
3147 (ParallelEnvironment):
3148 * wtf/ThreadSpecific.h:
3151 2012-03-29 Kevin Ollivier <kevino@theolliviers.com>
3153 [wx] Unreviewed build fix. Add WTF_EXPORT_PRIVATE_NO_RTTI
3154 so that ports not using RTTI can add symbol exports to
3155 classes that RTTI ports export with WTF_EXPORT_PRIVATE_RTTI.
3157 * wtf/ArrayBufferView.h:
3158 * wtf/ExportMacros.h:
3160 2012-03-29 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3162 HashMap<>::add should return a more descriptive object
3163 https://bugs.webkit.org/show_bug.cgi?id=71063
3165 Reviewed by Ryosuke Niwa.
3167 Make HashTable<>::add() and derivate functions return an AddResult struct instead
3168 of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
3169 more readable at callsites than previous 'first' and 'second'.
3171 * wtf/HashCountedSet.h:
3183 (WTF::HashTableAddResult::HashTableAddResult):
3184 (HashTableAddResult):
3187 (WTF::HashTable::add):
3189 (WTF::::addPassingHashCode):
3190 * wtf/ListHashSet.h:
3193 (WTF::::insertBefore):
3194 * wtf/RefPtrHashMap.h:
3198 (WTF::Spectrum::add):
3199 * wtf/WTFThreadData.cpp:
3200 (JSC::IdentifierTable::add):
3201 * wtf/WTFThreadData.h:
3203 * wtf/text/AtomicString.cpp:
3204 (WTF::addToStringTable):
3205 (WTF::AtomicString::addSlowCase):
3207 2012-03-29 Andreas Kling <kling@webkit.org>
3209 String: Subscript operator shouldn't force conversion to 16-bit characters.
3210 <http://webkit.org/b/82613>
3212 Reviewed by Anders Carlsson.
3214 Forward String::operator[] to StringImpl::operator[] instead of indexing into characters().
3215 This avoid implicit conversion of 8-bit strings to 16-bit, and as an example, reduces memory
3216 usage on http://www.allthingsd.com/ by 360kB.
3218 * wtf/text/WTFString.h:
3219 (WTF::String::operator[]):
3221 2012-03-28 Carlos Garcia Campos <cgarcia@igalia.com>
3223 [GTK] Implement PlatformStrategies
3224 https://bugs.webkit.org/show_bug.cgi?id=82454
3226 Reviewed by Xan Lopez.
3228 * wtf/Platform.h: Define WTF_USE_PLATFORM_STRATEGIES for GTK+
3231 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
3233 Set eol-style: native on WTF.sln per Ryan Sleevi's request.
3235 * WTF.vcproj/WTF.sln: Added property svn:eol-style.
3237 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
3239 Chromium build fix; add BitVector.h/cpp to gypi.
3243 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
3245 Touch BitVector as a speculative fix for Chromium Linux.
3250 2012-03-23 Ryosuke Niwa <rniwa@webkit.org>
3252 cssText should use shorthand notations
3253 https://bugs.webkit.org/show_bug.cgi?id=81737
3255 Reviewed by Enrica Casucci.
3259 (WTF::BitVector::ensureSizeAndSet): Added.
3261 2012-03-26 Carlos Garcia Campos <cgarcia@igalia.com>
3263 Unreviewed. Fix make distcheck.
3265 * GNUmakefile.list.am: Add config.h to the source file list.
3267 2012-03-25 Kevin Ollivier <kevino@theolliviers.com>
3269 [wx] Unreviewed build fix. Move WTF to its own static lib build.
3273 2012-03-23 Tony Chang <tony@chromium.org>
3275 [chromium] Unreviewed, move a comment closer to where it matters and
3276 make it more specific.
3280 2012-03-23 Steve Falkenburg <sfalken@apple.com>
3282 Update Apple Windows build files for WTF move
3283 https://bugs.webkit.org/show_bug.cgi?id=82069
3285 Reviewed by Jessie Berlin.
3287 * WTF.vcproj/WTF.make: Added.
3288 * WTF.vcproj/WTF.sln: Added.
3290 2012-03-23 Dean Jackson <dino@apple.com>
3292 Disable CSS_SHADERS in Apple builds
3293 https://bugs.webkit.org/show_bug.cgi?id=81996
3295 Reviewed by Simon Fraser.
3297 Put ENABLE_CSS_SHADERS into Platform.h, but disable for
3302 2012-03-23 Tony Chang <tony@chromium.org>
3304 [chromium] rename newwtf target back to wtf
3305 https://bugs.webkit.org/show_bug.cgi?id=82064
3307 Reviewed by Adam Barth.
3311 2012-03-22 Jessie Berlin <jberlin@apple.com>
3313 Windows build fix after r111778.
3315 * WTF.vcproj/WTF.vcproj:
3316 DateMath.h and DateMath.cpp should be built by WTF, since they are part of WTF.
3318 2012-03-22 Raphael Kubo da Costa <rakuco@FreeBSD.org>
3320 [CMake] Unreviewed build fix after r111778.
3322 * CMakeLists.txt: Added.
3323 * wtf/CMakeLists.txt: Add ${CMAKE_BINARY_DIR} to the include paths
3324 for cmakeconfig.h to be found.
3326 2012-03-22 Tony Chang <tony@chromium.org>
3328 Unreviewed, attempt to fix the chromium-win build and another attempt
3329 at fixing the chromium-android build.
3333 2012-03-22 Tony Chang <tony@chromium.org>
3335 Unreviewed, attempt to fix chromium-android build.
3339 2012-03-22 Tony Chang <tony@chromium.org>
3341 Unreviewed, fix chromium build after wtf move.
3343 Move wtf_config and wtf settings to newwtf.
3347 2012-03-22 Martin Robinson <mrobinson@igalia.com>
3349 One more GTK+ build fix after r111778.
3351 * GNUmakefile.am: Adding missing include path.
3353 2012-03-22 Martin Robinson <mrobinson@igalia.com>
3355 Fixed the GTK+ WTF/JavaScriptCore build after r111778.
3357 * GNUmakefile.am: Remove some extra trailing backslashes and a few uncessary
3359 * GNUmakefile.list.am: Ditto.
3361 2012-03-22 Dan Bernstein <mitz@apple.com>
3363 Fixed the JavaScriptCore debug build after r111778.
3365 * WTF.xcodeproj/project.pbxproj: Use debug DEBUG_DEFINES when building
3366 the Debug configuration.
3368 2012-03-22 Csaba Osztrogonác <ossy@webkit.org>
3370 Actually move WTF files to their new home
3371 https://bugs.webkit.org/show_bug.cgi?id=81844
3373 [Qt] Unreviewed buildfix after r111778.
3377 2012-03-22 Eric Seidel <eric@webkit.org>
3379 Actually move WTF files to their new home
3380 https://bugs.webkit.org/show_bug.cgi?id=81844
3382 Unreviewed attempt to fix AppleWin.
3384 * WTF.vcproj/WTFCommon.vsprops:
3386 2012-03-22 Eric Seidel <eric@webkit.org>
3388 Actually move WTF files to their new home
3389 https://bugs.webkit.org/show_bug.cgi?id=81844
3391 Unreviewed. The 5MB file move is not very reviewable,
3392 but various port representatives have OK'd changes to the
3393 individual build systems.
3395 * Configurations/WTF.xcconfig:
3396 * GNUmakefile.list.am:
3397 * Stub.cpp: Removed.
3402 * WTF.vcproj/WTF.vcproj:
3403 * WTF.vcproj/copy-files.cmd:
3404 * WTF.xcodeproj/project.pbxproj:
3406 * wtf/ASCIICType.h: Renamed from Source/JavaScriptCore/wtf/ASCIICType.h.
3409 (WTF::isASCIIAlpha):
3410 (WTF::isASCIIDigit):
3411 (WTF::isASCIIAlphanumeric):
3412 (WTF::isASCIIHexDigit):
3413 (WTF::isASCIILower):
3414 (WTF::isASCIIOctalDigit):
3415 (WTF::isASCIIPrintable):
3416 (WTF::isASCIISpace):
3417 (WTF::isASCIIUpper):
3418 (WTF::toASCIILower):
3419 (WTF::toASCIILowerUnchecked):
3420 (WTF::toASCIIUpper):
3421 (WTF::toASCIIHexValue):
3422 (WTF::lowerNibbleToASCIIHexDigit):
3423 (WTF::upperNibbleToASCIIHexDigit):
3424 (WTF::isASCIIAlphaCaselessEqual):
3425 * wtf/AVLTree.h: Renamed from Source/JavaScriptCore/wtf/AVLTree.h.
3427 (AVLTreeDefaultBSet):
3428 (WTF::AVLTreeDefaultBSet::operator[]):
3429 (WTF::AVLTreeDefaultBSet::set):
3430 (WTF::AVLTreeDefaultBSet::reset):
3432 (WTF::AVLTree::abstractor):
3433 (WTF::AVLTree::purge):
3434 (WTF::AVLTree::is_empty):
3435 (WTF::AVLTree::AVLTree):
3437 (WTF::AVLTree::Iterator::Iterator):
3438 (WTF::AVLTree::Iterator::start_iter):
3439 (WTF::AVLTree::Iterator::start_iter_least):
3440 (WTF::AVLTree::Iterator::start_iter_greatest):
3441 (WTF::AVLTree::Iterator::operator*):
3442 (WTF::AVLTree::Iterator::operator++):
3443 (WTF::AVLTree::Iterator::operator--):
3444 (WTF::AVLTree::Iterator::cmp_k_n):
3445 (WTF::AVLTree::Iterator::cmp_n_n):
3446 (WTF::AVLTree::Iterator::get_lt):
3447 (WTF::AVLTree::Iterator::get_gt):
3448 (WTF::AVLTree::Iterator::null):
3449 (WTF::AVLTree::build):
3451 (WTF::AVLTree::get_lt):
3452 (WTF::AVLTree::set_lt):
3453 (WTF::AVLTree::get_gt):
3454 (WTF::AVLTree::set_gt):
3455 (WTF::AVLTree::get_bf):
3456 (WTF::AVLTree::set_bf):
3457 (WTF::AVLTree::cmp_k_n):
3458 (WTF::AVLTree::cmp_n_n):
3459 (WTF::AVLTree::null):
3460 (WTF::AVLTree::balance):
3463 (WTF::::search_least):
3464 (WTF::::search_greatest):
3467 * wtf/Alignment.h: Renamed from Source/JavaScriptCore/wtf/Alignment.h.
3470 * wtf/AlwaysInline.h: Renamed from Source/JavaScriptCore/wtf/AlwaysInline.h.
3471 * wtf/ArrayBuffer.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.cpp.
3473 (WTF::ArrayBuffer::transfer):
3474 (WTF::ArrayBuffer::addView):
3475 (WTF::ArrayBuffer::removeView):
3476 * wtf/ArrayBuffer.h: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.h.
3478 (ArrayBufferContents):
3479 (WTF::ArrayBufferContents::ArrayBufferContents):
3480 (WTF::ArrayBufferContents::data):
3481 (WTF::ArrayBufferContents::sizeInBytes):
3482 (WTF::ArrayBufferContents::transfer):
3484 (WTF::ArrayBuffer::isNeutered):
3485 (WTF::ArrayBuffer::~ArrayBuffer):
3486 (WTF::ArrayBuffer::clampValue):
3487 (WTF::ArrayBuffer::create):
3488 (WTF::ArrayBuffer::ArrayBuffer):
3489 (WTF::ArrayBuffer::data):
3490 (WTF::ArrayBuffer::byteLength):
3491 (WTF::ArrayBuffer::slice):
3492 (WTF::ArrayBuffer::sliceImpl):
3493 (WTF::ArrayBuffer::clampIndex):
3494 (WTF::ArrayBufferContents::tryAllocate):
3495 (WTF::ArrayBufferContents::~ArrayBufferContents):
3496 * wtf/ArrayBufferView.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.cpp.
3498 (WTF::ArrayBufferView::ArrayBufferView):
3499 (WTF::ArrayBufferView::~ArrayBufferView):
3500 (WTF::ArrayBufferView::neuter):
3501 * wtf/ArrayBufferView.h: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.h.
3503 (WTF::ArrayBufferView::setImpl):
3504 (WTF::ArrayBufferView::setRangeImpl):
3505 (WTF::ArrayBufferView::zeroRangeImpl):
3506 (WTF::ArrayBufferView::calculateOffsetAndLength):
3507 * wtf/Assertions.cpp: Renamed from Source/JavaScriptCore/wtf/Assertions.cpp.
3508 * wtf/Assertions.h: Renamed from Source/JavaScriptCore/wtf/Assertions.h.
3510 (assertWithMessageUnused):
3511 * wtf/Atomics.h: Renamed from Source/JavaScriptCore/wtf/Atomics.h.
3513 (WTF::atomicIncrement):
3514 (WTF::atomicDecrement):
3515 (WTF::weakCompareAndSwap):
3516 (WTF::weakCompareAndSwapUIntPtr):
3517 * wtf/BitVector.cpp: Renamed from Source/JavaScriptCore/wtf/BitVector.cpp.
3519 (WTF::BitVector::setSlow):
3520 (WTF::BitVector::resize):
3521 (WTF::BitVector::clearAll):
3522 (WTF::BitVector::OutOfLineBits::create):
3523 (WTF::BitVector::OutOfLineBits::destroy):
3524 (WTF::BitVector::resizeOutOfLine):
3525 (WTF::BitVector::dump):
3526 * wtf/BitVector.h: Renamed from Source/JavaScriptCore/wtf/BitVector.h.
3529 (WTF::BitVector::BitVector):
3530 (WTF::BitVector::~BitVector):
3531 (WTF::BitVector::operator=):
3532 (WTF::BitVector::size):
3533 (WTF::BitVector::ensureSize):
3534 (WTF::BitVector::quickGet):
3535 (WTF::BitVector::quickSet):
3536 (WTF::BitVector::quickClear):
3537 (WTF::BitVector::get):
3538 (WTF::BitVector::set):
3539 (WTF::BitVector::clear):
3540 (WTF::BitVector::bitsInPointer):
3541 (WTF::BitVector::maxInlineBits):
3542 (WTF::BitVector::byteCount):
3543 (WTF::BitVector::makeInlineBits):
3545 (WTF::BitVector::OutOfLineBits::numBits):
3546 (WTF::BitVector::OutOfLineBits::numWords):
3547 (WTF::BitVector::OutOfLineBits::bits):
3548 (WTF::BitVector::OutOfLineBits::OutOfLineBits):
3549 (WTF::BitVector::isInline):
3550 (WTF::BitVector::outOfLineBits):
3551 (WTF::BitVector::bits):
3552 * wtf/Bitmap.h: Renamed from Source/JavaScriptCore/wtf/Bitmap.h.
3558 (WTF::::testAndSet):
3559 (WTF::::testAndClear):
3560 (WTF::::concurrentTestAndSet):
3561 (WTF::::concurrentTestAndClear):
3564 (WTF::::nextPossiblyUnset):
3565 (WTF::::findRunOfZeros):
3569 * wtf/BlockStack.h: Renamed from Source/JavaScriptCore/wtf/BlockStack.h.
3572 (WTF::::BlockStack):
3573 (WTF::::~BlockStack):
3577 * wtf/BloomFilter.h: Renamed from Source/JavaScriptCore/wtf/BloomFilter.h.
3580 (WTF::BloomFilter::maximumCount):
3581 (WTF::BloomFilter::BloomFilter):
3582 (WTF::BloomFilter::mayContain):
3583 (WTF::BloomFilter::add):
3584 (WTF::BloomFilter::remove):
3585 (WTF::BloomFilter::firstSlot):
3586 (WTF::BloomFilter::secondSlot):
3590 (WTF::::likelyEmpty):
3592 * wtf/BoundsCheckedPointer.h: Renamed from Source/JavaScriptCore/wtf/BoundsCheckedPointer.h.
3594 (BoundsCheckedPointer):
3595 (WTF::BoundsCheckedPointer::BoundsCheckedPointer):
3596 (WTF::BoundsCheckedPointer::operator=):
3597 (WTF::BoundsCheckedPointer::operator+=):
3598 (WTF::BoundsCheckedPointer::operator-=):
3599 (WTF::BoundsCheckedPointer::operator+):
3600 (WTF::BoundsCheckedPointer::operator-):
3601 (WTF::BoundsCheckedPointer::operator++):
3602 (WTF::BoundsCheckedPointer::operator--):
3603 (WTF::BoundsCheckedPointer::operator<):
3604 (WTF::BoundsCheckedPointer::operator<=):
3605 (WTF::BoundsCheckedPointer::operator>):
3606 (WTF::BoundsCheckedPointer::operator>=):
3607 (WTF::BoundsCheckedPointer::operator==):
3608 (WTF::BoundsCheckedPointer::operator!=):
3609 (WTF::BoundsCheckedPointer::operator!):
3610 (WTF::BoundsCheckedPointer::get):
3611 (WTF::BoundsCheckedPointer::operator*):
3612 (WTF::BoundsCheckedPointer::operator[]):
3613 (WTF::BoundsCheckedPointer::strcat):
3614 (WTF::BoundsCheckedPointer::validate):
3615 * wtf/BumpPointerAllocator.h: Renamed from Source/JavaScriptCore/wtf/BumpPointerAllocator.h.
3618 (WTF::BumpPointerPool::ensureCapacity):
3619 (WTF::BumpPointerPool::alloc):
3620 (WTF::BumpPointerPool::dealloc):
3621 (WTF::BumpPointerPool::operator new):
3622 (WTF::BumpPointerPool::BumpPointerPool):
3623 (WTF::BumpPointerPool::create):
3624 (WTF::BumpPointerPool::shrink):
3625 (WTF::BumpPointerPool::destroy):
3626 (WTF::BumpPointerPool::ensureCapacityCrossPool):
3627 (WTF::BumpPointerPool::deallocCrossPool):
3628 (BumpPointerAllocator):
3629 (WTF::BumpPointerAllocator::BumpPointerAllocator):
3630 (WTF::BumpPointerAllocator::~BumpPointerAllocator):
3631 (WTF::BumpPointerAllocator::startAllocator):
3632 (WTF::BumpPointerAllocator::stopAllocator):
3633 * wtf/ByteArray.cpp: Renamed from Source/JavaScriptCore/wtf/ByteArray.cpp.
3635 (WTF::ByteArray::create):
3636 * wtf/ByteArray.h: Renamed from Source/JavaScriptCore/wtf/ByteArray.h.
3638 (WTF::ByteArray::length):
3639 (WTF::ByteArray::set):
3640 (WTF::ByteArray::get):
3641 (WTF::ByteArray::data):
3642 (WTF::ByteArray::clear):
3643 (WTF::ByteArray::deref):
3644 (WTF::ByteArray::offsetOfSize):
3645 (WTF::ByteArray::offsetOfData):
3646 (WTF::ByteArray::ByteArray):
3647 * wtf/CMakeLists.txt: Renamed from Source/JavaScriptCore/wtf/CMakeLists.txt.
3648 * wtf/CONTRIBUTORS.pthreads-win32: Renamed from Source/JavaScriptCore/wtf/CONTRIBUTORS.pthreads-win32.
3649 * wtf/CheckedArithmetic.h: Renamed from Source/JavaScriptCore/wtf/CheckedArithmetic.h.
3652 (WTF::CrashOnOverflow::overflowed):
3653 (WTF::CrashOnOverflow::clearOverflow):
3654 (WTF::CrashOnOverflow::hasOverflowed):
3656 (WTF::RecordOverflow::RecordOverflow):
3657 (WTF::RecordOverflow::overflowed):
3658 (WTF::RecordOverflow::clearOverflow):
3659 (WTF::RecordOverflow::hasOverflowed):
3664 (WTF::safeMultiply):
3666 (WTF::workAroundClangBug):
3668 (WTF::Checked::Checked):
3669 (WTF::Checked::operator=):
3670 (WTF::Checked::operator++):
3671 (WTF::Checked::operator--):
3672 (WTF::Checked::operator!):
3673 (WTF::Checked::operator UnspecifiedBoolType*):
3674 (WTF::Checked::unsafeGet):
3675 (WTF::Checked::operator+=):
3676 (WTF::Checked::operator-=):
3677 (WTF::Checked::operator*=):
3678 (WTF::Checked::operator==):
3679 (WTF::Checked::operator!=):
3683 * wtf/CheckedBoolean.h: Renamed from Source/JavaScriptCore/wtf/CheckedBoolean.h.
3685 (CheckedBoolean::CheckedBoolean):
3686 (CheckedBoolean::~CheckedBoolean):
3687 (CheckedBoolean::operator bool):
3688 * wtf/Compiler.h: Renamed from Source/JavaScriptCore/wtf/Compiler.h.
3689 * wtf/Complex.h: Renamed from Source/JavaScriptCore/wtf/Complex.h.
3691 (WTF::complexFromMagnitudePhase):
3692 * wtf/CryptographicallyRandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp.
3693 (WTF::cryptographicallyRandomNumber):
3695 (WTF::cryptographicallyRandomValues):
3696 * wtf/CryptographicallyRandomNumber.h: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.h.
3698 * wtf/CurrentTime.cpp: Renamed from Source/JavaScriptCore/wtf/CurrentTime.cpp.
3700 (WTF::highResUpTime):
3701 (WTF::lowResUTCTime):
3702 (WTF::qpcAvailable):
3704 (WTF::currentSystemTime):
3705 (WTF::monotonicallyIncreasingTime):
3706 * wtf/CurrentTime.h: Renamed from Source/JavaScriptCore/wtf/CurrentTime.h.
3708 (WTF::currentTimeMS):
3709 (WTF::getLocalTime):
3710 * wtf/DataLog.cpp: Renamed from Source/JavaScriptCore/wtf/DataLog.cpp.
3712 (WTF::initializeLogFileOnce):
3713 (WTF::initializeLogFile):
3717 * wtf/DataLog.h: Renamed from Source/JavaScriptCore/wtf/DataLog.h.
3719 * wtf/DateMath.cpp: Renamed from Source/JavaScriptCore/wtf/DateMath.cpp.
3723 (WTF::daysFrom1970ToYear):
3725 (WTF::twoDigitStringFromNumber):
3728 (WTF::msToMilliseconds):
3731 (WTF::monthFromDayInYear):
3733 (WTF::dayInMonthFromDayInYear):
3734 (WTF::monthToDayInYear):
3735 (WTF::dateToDaysFrom1970):
3736 (WTF::maximumYearForDST):
3737 (WTF::minimumYearForDST):
3738 (WTF::equivalentYearForDST):
3739 (WTF::calculateUTCOffset):
3740 (WTF::calculateDSTOffsetSimple):
3741 (WTF::calculateDSTOffset):
3742 (WTF::initializeDates):
3743 (WTF::ymdhmsToSeconds):
3745 (WTF::skipSpacesAndComments):
3748 (WTF::parseES5DatePortion):
3749 (WTF::parseES5TimePortion):
3750 (WTF::parseES5DateFromNullTerminatedCharacters):
3751 (WTF::parseDateFromNullTerminatedCharacters):
3753 (WTF::makeRFC2822DateString):
3754 * wtf/DateMath.h: Renamed from Source/JavaScriptCore/wtf/DateMath.h.
3756 (WTF::jsCurrentTime):
3757 * wtf/DecimalNumber.cpp: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.cpp.
3759 (WTF::DecimalNumber::bufferLengthForStringDecimal):
3760 (WTF::DecimalNumber::bufferLengthForStringExponential):
3761 (WTF::DecimalNumber::toStringDecimal):
3762 (WTF::DecimalNumber::toStringExponential):
3763 * wtf/DecimalNumber.h: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.h.
3766 (WTF::DecimalNumber::DecimalNumber):
3767 (WTF::DecimalNumber::sign):
3768 (WTF::DecimalNumber::exponent):
3769 (WTF::DecimalNumber::significand):
3770 (WTF::DecimalNumber::precision):
3771 * wtf/Decoder.h: Renamed from Source/JavaScriptCore/wtf/Decoder.h.
3774 (WTF::Decoder::Decoder):
3775 (WTF::Decoder::~Decoder):
3776 * wtf/Deque.h: Renamed from Source/JavaScriptCore/wtf/Deque.h.
3780 (WTF::Deque::isEmpty):
3781 (WTF::Deque::begin):
3783 (WTF::Deque::rbegin):
3785 (WTF::Deque::first):
3787 (DequeIteratorBase):
3788 (WTF::DequeIteratorBase::assign):
3790 (WTF::DequeIterator::DequeIterator):
3791 (WTF::DequeIterator::operator=):
3792 (WTF::DequeIterator::operator*):
3793 (WTF::DequeIterator::operator->):
3794 (WTF::DequeIterator::operator==):
3795 (WTF::DequeIterator::operator!=):
3796 (WTF::DequeIterator::operator++):
3797 (WTF::DequeIterator::operator--):
3798 (DequeConstIterator):
3799 (WTF::DequeConstIterator::DequeConstIterator):
3800 (WTF::DequeConstIterator::operator=):
3801 (WTF::DequeConstIterator::operator*):
3802 (WTF::DequeConstIterator::operator->):
3803 (WTF::DequeConstIterator::operator==):
3804 (WTF::DequeConstIterator::operator!=):
3805 (WTF::DequeConstIterator::operator++):
3806 (WTF::DequeConstIterator::operator--):
3807 (DequeReverseIterator):
3808 (WTF::DequeReverseIterator::DequeReverseIterator):
3809 (WTF::DequeReverseIterator::operator=):
3810 (WTF::DequeReverseIterator::operator*):
3811 (WTF::DequeReverseIterator::operator->):
3812 (WTF::DequeReverseIterator::operator==):
3813 (WTF::DequeReverseIterator::operator!=):
3814 (WTF::DequeReverseIterator::operator++):
3815 (WTF::DequeReverseIterator::operator--):
3816 (DequeConstReverseIterator):
3817 (WTF::DequeConstReverseIterator::DequeConstReverseIterator):
3818 (WTF::DequeConstReverseIterator::operator=):
3819 (WTF::DequeConstReverseIterator::operator*):
3820 (WTF::DequeConstReverseIterator::operator->):
3821 (WTF::DequeConstReverseIterator::operator==):
3822 (WTF::DequeConstReverseIterator::operator!=):
3823 (WTF::DequeConstReverseIterator::operator++):
3824 (WTF::DequeConstReverseIterator::operator--):
3825 (WTF::::checkValidity):
3826 (WTF::::checkIndexValidity):
3827 (WTF::::invalidateIterators):
3829 (WTF::deleteAllValues):
3831 (WTF::::destroyAll):
3836 (WTF::::expandCapacityIfNeeded):
3837 (WTF::::expandCapacity):
3841 (WTF::::removeFirst):
3843 (WTF::::addToIteratorsList):
3844 (WTF::::removeFromIteratorsList):
3845 (WTF::::DequeIteratorBase):
3846 (WTF::::~DequeIteratorBase):
3852 * wtf/DisallowCType.h: Renamed from Source/JavaScriptCore/wtf/DisallowCType.h.
3853 * wtf/DoublyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/DoublyLinkedList.h.
3855 (DoublyLinkedListNode):
3856 (WTF::::DoublyLinkedListNode):
3862 (WTF::::DoublyLinkedList):
3871 (WTF::::removeHead):
3872 * wtf/DynamicAnnotations.cpp: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.cpp.
3873 (WTFAnnotateBenignRaceSized):
3874 (WTFAnnotateHappensBefore):
3875 (WTFAnnotateHappensAfter):
3876 * wtf/DynamicAnnotations.h: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.h.
3877 * wtf/Encoder.h: Renamed from Source/JavaScriptCore/wtf/Encoder.h.
3880 (WTF::Encoder::Encoder):
3881 (WTF::Encoder::~Encoder):
3882 * wtf/ExportMacros.h: Renamed from Source/JavaScriptCore/wtf/ExportMacros.h.
3883 * wtf/FastAllocBase.h: Renamed from Source/JavaScriptCore/wtf/FastAllocBase.h.
3887 (WTF::Internal::NewArrayImpl::fastNewArray):
3888 (WTF::fastNewArray):
3890 (WTF::fastDeleteSkippingDestructor):
3891 (WTF::Internal::DeleteArrayImpl::fastDeleteArray):
3892 (WTF::fastDeleteArray):
3893 (WTF::fastNonNullDelete):
3894 (WTF::Internal::NonNullDeleteArrayImpl::fastNonNullDeleteArray):
3895 (WTF::fastNonNullDeleteArray):
3896 * wtf/FastMalloc.cpp: Renamed from Source/JavaScriptCore/wtf/FastMalloc.cpp.
3899 (WTF::fastMallocForbid):
3900 (WTF::fastMallocAllow):
3901 (WTF::initializeIsForbiddenKey):
3903 (WTF::Internal::fastMallocMatchFailed):
3904 (WTF::fastZeroedMalloc):
3906 (WTF::tryFastZeroedMalloc):
3907 (WTF::tryFastMalloc):
3909 (WTF::tryFastCalloc):
3912 (WTF::tryFastRealloc):
3914 (WTF::releaseFastMallocFreeMemory):
3915 (WTF::fastMallocStatistics):
3916 (WTF::fastMallocSize):
3918 (WTF::FastMallocZone::goodSize):
3919 (WTF::FastMallocZone::check):
3920 (WTF::FastMallocZone::print):
3921 (WTF::FastMallocZone::log):
3922 (WTF::FastMallocZone::forceLock):
3923 (WTF::FastMallocZone::forceUnlock):
3924 (WTF::FastMallocZone::statistics):
3925 (WTF::FastMallocZone::zoneValloc):
3926 (WTF::FastMallocZone::zoneDestroy):
3927 (WTF::KernelSupportsTLS):
3928 (WTF::CheckIfKernelSupportsTLS):
3936 (WTF::SLL_PopRange):
3937 (WTF::SLL_PushRange):
3940 (WTF::ByteSizeForClass):
3942 (WTF::InitSizeClasses):
3943 (WTF::MetaDataAlloc):
3944 (PageHeapAllocator):
3945 (WTF::PageHeapAllocator::Init):
3946 (WTF::PageHeapAllocator::New):
3947 (WTF::PageHeapAllocator::Delete):
3948 (WTF::PageHeapAllocator::inuse):
3949 (WTF::PageHeapAllocator::recordAdministrativeRegions):
3951 (WTF::AllocationSize):
3964 (TCMalloc_PageHeap):
3965 (WTF::TCMalloc_PageHeap::GetDescriptor):
3966 (WTF::TCMalloc_PageHeap::GetDescriptorEnsureSafe):
3967 (WTF::TCMalloc_PageHeap::SystemBytes):
3968 (WTF::TCMalloc_PageHeap::FreeBytes):
3969 (WTF::TCMalloc_PageHeap::GetSizeClassIfCached):
3970 (WTF::TCMalloc_PageHeap::CacheSizeClass):
3972 (WTF::TCMalloc_PageHeap::RecordSpan):
3973 (WTF::TCMalloc_PageHeap::init):
3974 (WTF::TCMalloc_PageHeap::initializeScavenger):
3975 (WTF::TCMalloc_PageHeap::isScavengerSuspended):
3976 (WTF::TCMalloc_PageHeap::scheduleScavenger):
3977 (WTF::TCMalloc_PageHeap::rescheduleScavenger):
3978 (WTF::TCMalloc_PageHeap::suspendScavenger):
3979 (WTF::TCMalloc_PageHeap::scavengerTimerFired):
3980 (WTF::TCMalloc_PageHeap::runScavengerThread):
3981 (WTF::TCMalloc_PageHeap::signalScavenger):
3982 (WTF::TCMalloc_PageHeap::scavenge):
3983 (WTF::TCMalloc_PageHeap::shouldScavenge):
3984 (WTF::TCMalloc_PageHeap::New):
3985 (WTF::TCMalloc_PageHeap::AllocLarge):
3986 (WTF::TCMalloc_PageHeap::Split):
3987 (WTF::TCMalloc_PageHeap::Carve):
3988 (WTF::mergeDecommittedStates):
3989 (WTF::TCMalloc_PageHeap::Delete):
3990 (WTF::TCMalloc_PageHeap::IncrementalScavenge):
3991 (WTF::TCMalloc_PageHeap::RegisterSizeClass):
3992 (WTF::TCMalloc_PageHeap::ReturnedBytes):
3994 (WTF::TCMalloc_PageHeap::Dump):
3995 (WTF::TCMalloc_PageHeap::GrowHeap):
3996 (WTF::TCMalloc_PageHeap::Check):
3997 (WTF::TCMalloc_PageHeap::CheckList):
3998 (WTF::TCMalloc_PageHeap::ReleaseFreeList):
3999 (WTF::TCMalloc_PageHeap::ReleaseFreePages):
4000 (TCMalloc_ThreadCache_FreeList):
4001 (WTF::TCMalloc_ThreadCache_FreeList::Init):
4002 (WTF::TCMalloc_ThreadCache_FreeList::length):
4003 (WTF::TCMalloc_ThreadCache_FreeList::empty):
4004 (WTF::TCMalloc_ThreadCache_FreeList::lowwatermark):
4005 (WTF::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
4006 (WTF::TCMalloc_ThreadCache_FreeList::Push):
4007 (WTF::TCMalloc_ThreadCache_FreeList::PushRange):
4008 (WTF::TCMalloc_ThreadCache_FreeList::PopRange):
4009 (WTF::TCMalloc_ThreadCache_FreeList::Pop):
4010 (WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects):
4011 (TCMalloc_ThreadCache):
4012 (WTF::TCMalloc_ThreadCache::freelist_length):
4013 (WTF::TCMalloc_ThreadCache::Size):
4014 (WTF::TCMalloc_ThreadCache::enumerateFreeObjects):
4015 (TCMalloc_Central_FreeList):
4016 (WTF::TCMalloc_Central_FreeList::length):
4017 (WTF::TCMalloc_Central_FreeList::tc_length):
4018 (WTF::TCMalloc_Central_FreeList::enumerateFreeObjects):
4019 (TCMalloc_Central_FreeListPadded):
4021 (WTF::TCMalloc_PageHeap::periodicScavenge):
4022 (WTF::TCMalloc_PageHeap::scavengerThread):
4023 (WTF::setThreadHeap):
4024 (WTF::TCMalloc_Central_FreeList::Init):
4025 (WTF::TCMalloc_Central_FreeList::ReleaseListToSpans):
4026 (WTF::TCMalloc_Central_FreeList::ReleaseToSpans):
4027 (WTF::TCMalloc_Central_FreeList::EvictRandomSizeClass):
4028 (WTF::TCMalloc_Central_FreeList::MakeCacheSpace):
4029 (WTF::TCMalloc_Central_FreeList::ShrinkCache):
4030 (WTF::TCMalloc_Central_FreeList::InsertRange):
4031 (WTF::TCMalloc_Central_FreeList::RemoveRange):
4032 (WTF::TCMalloc_Central_FreeList::FetchFromSpansSafe):
4033 (WTF::TCMalloc_Central_FreeList::FetchFromSpans):
4034 (WTF::TCMalloc_Central_FreeList::Populate):
4035 (WTF::TCMalloc_ThreadCache::SampleAllocation):
4036 (WTF::TCMalloc_ThreadCache::Init):
4037 (WTF::TCMalloc_ThreadCache::Cleanup):
4038 (WTF::TCMalloc_ThreadCache::Allocate):
4039 (WTF::TCMalloc_ThreadCache::Deallocate):
4040 (WTF::TCMalloc_ThreadCache::FetchFromCentralCache):
4041 (WTF::TCMalloc_ThreadCache::ReleaseToCentralCache):
4042 (WTF::TCMalloc_ThreadCache::Scavenge):
4043 (WTF::TCMalloc_ThreadCache::PickNextSample):
4044 (WTF::TCMalloc_ThreadCache::InitModule):
4045 (WTF::TCMalloc_ThreadCache::NewHeap):
4046 (WTF::TCMalloc_ThreadCache::GetThreadHeap):
4047 (WTF::TCMalloc_ThreadCache::GetCache):
4048 (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
4049 (WTF::TCMalloc_ThreadCache::InitTSD):
4050 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
4051 * wtf/FastMalloc.h: Renamed from Source/JavaScriptCore/wtf/FastMalloc.h.
4053 (WTF::TryMallocReturnValue::TryMallocReturnValue):
4054 (WTF::TryMallocReturnValue::~TryMallocReturnValue):
4055 (TryMallocReturnValue):
4056 (WTF::TryMallocReturnValue::operator PossiblyNull<T>):
4057 (WTF::TryMallocReturnValue::getValue):
4058 (FastMallocStatistics):
4061 (WTF::Internal::fastMallocValidationHeader):
4062 (WTF::Internal::fastMallocValidationSuffix):
4063 (WTF::Internal::fastMallocMatchValidationType):
4064 (WTF::Internal::setFastMallocMatchValidationType):
4065 (WTF::fastMallocMatchValidateMalloc):
4066 (WTF::fastMallocMatchValidateFree):
4067 (WTF::fastMallocValidate):
4069 * wtf/FixedArray.h: Renamed from Source/JavaScriptCore/wtf/FixedArray.h.
4072 (WTF::FixedArray::operator[]):
4073 (WTF::FixedArray::data):
4074 (WTF::FixedArray::size):
4075 * wtf/Float32Array.h: Renamed from Source/JavaScriptCore/wtf/Float32Array.h.
4078 (WTF::Float32Array::set):
4079 (WTF::Float32Array::item):
4080 (WTF::Float32Array::isFloatArray):
4081 (WTF::Float32Array::create):
4082 (WTF::Float32Array::Float32Array):
4083 (WTF::Float32Array::subarray):
4084 * wtf/Float64Array.h: Renamed from Source/JavaScriptCore/wtf/Float64Array.h.
4087 (WTF::Float64Array::set):
4088 (WTF::Float64Array::item):
4089 (WTF::Float64Array::isDoubleArray):
4090 (WTF::Float64Array::create):
4091 (WTF::Float64Array::Float64Array):
4092 (WTF::Float64Array::subarray):
4093 * wtf/Forward.h: Renamed from Source/JavaScriptCore/wtf/Forward.h.
4095 * wtf/Functional.h: Renamed from Source/JavaScriptCore/wtf/Functional.h.
4102 (WTF::RefAndDeref::ref):
4103 (WTF::RefAndDeref::deref):
4104 (ParamStorageTraits):
4105 (WTF::ParamStorageTraits::wrap):
4106 (WTF::ParamStorageTraits::unwrap):
4108 (WTF::FunctionImplBase::~FunctionImplBase):
4110 (WTF::FunctionBase::isNull):
4111 (WTF::FunctionBase::FunctionBase):
4112 (WTF::FunctionBase::impl):
4114 * wtf/GetPtr.h: Renamed from Source/JavaScriptCore/wtf/GetPtr.h.
4117 * wtf/HashCountedSet.h: Renamed from Source/JavaScriptCore/wtf/HashCountedSet.h.
4120 (WTF::HashCountedSet::HashCountedSet):
4133 (WTF::copyToVector):
4134 * wtf/HashFunctions.h: Renamed from Source/JavaScriptCore/wtf/HashFunctions.h.
4137 (WTF::IntHash::hash):
4138 (WTF::IntHash::equal):
4140 (WTF::FloatHash::hash):
4141 (WTF::FloatHash::equal):
4143 (WTF::PtrHash::hash):
4144 (WTF::PtrHash::equal):
4146 (WTF::PairHash::hash):
4147 (WTF::PairHash::equal):
4149 * wtf/HashIterators.h: Renamed from Source/JavaScriptCore/wtf/HashIterators.h.
4151 (HashTableConstKeysIterator):
4152 (WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
4153 (WTF::HashTableConstKeysIterator::get):
4154 (WTF::HashTableConstKeysIterator::operator*):
4155 (WTF::HashTableConstKeysIterator::operator->):
4156 (WTF::HashTableConstKeysIterator::operator++):
4157 (HashTableConstValuesIterator):
4158 (WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
4159 (WTF::HashTableConstValuesIterator::get):
4160 (WTF::HashTableConstValuesIterator::operator*):
4161 (WTF::HashTableConstValuesIterator::operator->):
4162 (WTF::HashTableConstValuesIterator::operator++):
4163 (HashTableKeysIterator):
4164 (WTF::HashTableKeysIterator::HashTableKeysIterator):
4165 (WTF::HashTableKeysIterator::get):
4166 (WTF::HashTableKeysIterator::operator*):
4167 (WTF::HashTableKeysIterator::operator->):
4168 (WTF::HashTableKeysIterator::operator++):
4169 (WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
4170 (HashTableValuesIterator):
4171 (WTF::HashTableValuesIterator::HashTableValuesIterator):
4172 (WTF::HashTableValuesIterator::get):
4173 (WTF::HashTableValuesIterator::operator*):
4174 (WTF::HashTableValuesIterator::operator->):
4175 (WTF::HashTableValuesIterator::operator++):
4176 (WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
4179 * wtf/HashMap.h: Renamed from Source/JavaScriptCore/wtf/HashMap.h.
4181 (ReferenceTypeMaker):
4183 (WTF::HashMap::keys):
4184 (WTF::HashMap::values):
4186 (WTF::HashMap::HashMapKeysProxy::begin):
4187 (WTF::HashMap::HashMapKeysProxy::end):
4188 (HashMapValuesProxy):
4189 (WTF::HashMap::HashMapValuesProxy::begin):
4190 (WTF::HashMap::HashMapValuesProxy::end):
4191 (WTF::PairFirstExtractor::extract):
4192 (WTF::HashMapTranslator::hash):
4193 (WTF::HashMapTranslator::equal):
4194 (WTF::HashMapTranslator::translate):
4195 (WTF::HashMapTranslatorAdapter::hash):
4196 (WTF::HashMapTranslatorAdapter::equal):
4197 (WTF::HashMapTranslatorAdapter::translate):
4213 (WTF::::checkConsistency):
4216 (WTF::deleteAllPairSeconds):
4217 (WTF::deleteAllValues):
4218 (WTF::deleteAllPairFirsts):
4219 (WTF::deleteAllKeys):
4220 (WTF::copyKeysToVector):
4221 (WTF::copyValuesToVector):
4222 * wtf/HashSet.h: Renamed from Source/JavaScriptCore/wtf/HashSet.h.
4225 (WTF::IdentityExtractor::extract):
4226 (WTF::HashSetTranslatorAdapter::hash):
4227 (WTF::HashSetTranslatorAdapter::equal):
4228 (WTF::HashSetTranslatorAdapter::translate):
4240 (WTF::deleteAllValues):
4241 (WTF::fastDeleteAllValues):
4242 (WTF::copyToVector):
4243 * wtf/HashTable.cpp: Renamed from Source/JavaScriptCore/wtf/HashTable.cpp.
4245 (WTF::hashTableStatsMutex):
4246 (WTF::HashTableStats::~HashTableStats):
4247 (WTF::HashTableStats::recordCollisionAtCount):
4248 * wtf/HashTable.h: Renamed from Source/JavaScriptCore/wtf/HashTable.h.
4252 (WTF::removeIterator):
4253 (HashTableConstIterator):
4254 (WTF::HashTableConstIterator::skipEmptyBuckets):
4255 (WTF::HashTableConstIterator::HashTableConstIterator):
4256 (WTF::HashTableConstIterator::~HashTableConstIterator):
4257 (WTF::HashTableConstIterator::operator=):
4258 (WTF::HashTableConstIterator::get):
4259 (WTF::HashTableConstIterator::operator*):
4260 (WTF::HashTableConstIterator::operator->):
4261 (WTF::HashTableConstIterator::operator++):
4262 (WTF::HashTableConstIterator::operator==):
4263 (WTF::HashTableConstIterator::operator!=):
4264 (WTF::HashTableConstIterator::checkValidity):
4265 (HashTableIterator):
4266 (WTF::HashTableIterator::HashTableIterator):
4267 (WTF::HashTableIterator::get):
4268 (WTF::HashTableIterator::operator*):
4269 (WTF::HashTableIterator::operator->):
4270 (WTF::HashTableIterator::operator++):
4271 (WTF::HashTableIterator::operator==):
4272 (WTF::HashTableIterator::operator!=):
4273 (WTF::HashTableIterator::operator const_iterator):
4274 (WTF::hashTableSwap):
4275 (IdentityHashTranslator):
4276 (WTF::IdentityHashTranslator::hash):
4277 (WTF::IdentityHashTranslator::equal):
4278 (WTF::IdentityHashTranslator::translate):
4280 (WTF::HashTable::~HashTable):
4281 (WTF::HashTable::begin):
4282 (WTF::HashTable::end):
4283 (WTF::HashTable::size):
4284 (WTF::HashTable::capacity):
4285 (WTF::HashTable::isEmpty):
4286 (WTF::HashTable::add):
4287 (WTF::HashTable::find):
4288 (WTF::HashTable::contains):
4289 (WTF::HashTable::isEmptyBucket):
4290 (WTF::HashTable::isDeletedBucket):
4291 (WTF::HashTable::isEmptyOrDeletedBucket):
4292 (WTF::HashTable::lookup):
4293 (WTF::HashTable::checkTableConsistency):
4294 (WTF::HashTable::internalCheckTableConsistency):
4295 (WTF::HashTable::internalCheckTableConsistencyExceptSize):
4296 (WTF::HashTable::lookupForWriting):
4297 (WTF::HashTable::shouldExpand):
4298 (WTF::HashTable::mustRehashInPlace):
4299 (WTF::HashTable::shouldShrink):
4300 (WTF::HashTable::shrink):
4301 (WTF::HashTable::deleteBucket):
4302 (WTF::HashTable::makeLookupResult):
4303 (WTF::HashTable::makeIterator):
4304 (WTF::HashTable::makeConstIterator):
4305 (WTF::HashTable::makeKnownGoodIterator):
4306 (WTF::HashTable::makeKnownGoodConstIterator):
4307 (WTF::HashTable::checkTableConsistencyExceptSize):
4308 (WTF::HashTable::invalidateIterators):
4313 (WTF::::lookupForWriting):
4314 (WTF::::fullLookupForWriting):
4315 (WTF::::initializeBucket):
4317 (WTF::::addPassingHashCode):
4321 (WTF::::removeAndInvalidateWithoutEntryConsistencyCheck):
4322 (WTF::::removeAndInvalidate):
4324 (WTF::::removeWithoutEntryConsistencyCheck):
4325 (WTF::::allocateTable):
4326 (WTF::::deallocateTable):
4332 (WTF::::checkTableConsistency):
4333 (WTF::::checkTableConsistencyExceptSize):
4334 (WTF::::invalidateIterators):
4335 (WTF::HashTableConstIteratorAdapter::HashTableConstIteratorAdapter):
4336 (HashTableConstIteratorAdapter):
4337 (WTF::HashTableConstIteratorAdapter::get):
4338 (WTF::HashTableConstIteratorAdapter::operator*):
4339 (WTF::HashTableConstIteratorAdapter::operator->):
4340 (WTF::HashTableConstIteratorAdapter::operator++):
4341 (WTF::HashTableIteratorAdapter::HashTableIteratorAdapter):
4342 (HashTableIteratorAdapter):
4343 (WTF::HashTableIteratorAdapter::get):
4344 (WTF::HashTableIteratorAdapter::operator*):
4345 (WTF::HashTableIteratorAdapter::operator->):
4346 (WTF::HashTableIteratorAdapter::operator++):
4347 (WTF::HashTableIteratorAdapter::operator HashTableConstIteratorAdapter<HashTableType, ValueType>):
4350 * wtf/HashTraits.h: Renamed from Source/JavaScriptCore/wtf/HashTraits.h.
4352 (GenericHashTraits):
4353 (WTF::GenericHashTraits::emptyValue):
4354 (WTF::GenericHashTraits::store):
4355 (WTF::GenericHashTraits::passOut):
4356 (WTF::GenericHashTraits::peek):
4358 (WTF::FloatHashTraits::emptyValue):
4359 (WTF::FloatHashTraits::constructDeletedValue):
4360 (WTF::FloatHashTraits::isDeletedValue):
4361 (UnsignedWithZeroKeyHashTraits):
4362 (WTF::UnsignedWithZeroKeyHashTraits::emptyValue):
4363 (WTF::UnsignedWithZeroKeyHashTraits::constructDeletedValue):
4364 (WTF::UnsignedWithZeroKeyHashTraits::isDeletedValue):
4365 (SimpleClassHashTraits):
4366 (WTF::SimpleClassHashTraits::constructDeletedValue):
4367 (WTF::SimpleClassHashTraits::isDeletedValue):
4369 (WTF::PairHashTraits::emptyValue):
4370 (WTF::PairHashTraits::constructDeletedValue):
4371 (WTF::PairHashTraits::isDeletedValue):
4372 * wtf/HexNumber.h: Renamed from Source/JavaScriptCore/wtf/HexNumber.h.
4375 (WTF::Internal::hexDigitsForMode):
4376 (WTF::appendByteAsHex):
4377 (WTF::placeByteAsHexCompressIfPossible):
4378 (WTF::placeByteAsHex):
4379 (WTF::appendUnsignedAsHex):
4380 (WTF::appendUnsignedAsHexFixedSize):
4381 * wtf/InlineASM.h: Renamed from Source/JavaScriptCore/wtf/InlineASM.h.
4382 * wtf/Int16Array.h: Renamed from Source/JavaScriptCore/wtf/Int16Array.h.
4385 (WTF::Int16Array::set):
4386 (WTF::Int16Array::isShortArray):
4387 (WTF::Int16Array::create):
4388 (WTF::Int16Array::Int16Array):
4389 (WTF::Int16Array::subarray):
4390 * wtf/Int32Array.h: Renamed from Source/JavaScriptCore/wtf/Int32Array.h.
4393 (WTF::Int32Array::set):
4394 (WTF::Int32Array::isIntArray):
4395 (WTF::Int32Array::create):
4396 (WTF::Int32Array::Int32Array):
4397 (WTF::Int32Array::subarray):
4398 * wtf/Int8Array.h: Renamed from Source/JavaScriptCore/wtf/Int8Array.h.
4401 (WTF::Int8Array::set):
4402 (WTF::Int8Array::isByteArray):
4403 (WTF::Int8Array::create):
4404 (WTF::Int8Array::Int8Array):
4405 (WTF::Int8Array::subarray):
4406 * wtf/IntegralTypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/IntegralTypedArrayBase.h.
4408 (IntegralTypedArrayBase):
4409 (WTF::IntegralTypedArrayBase::set):
4410 (WTF::IntegralTypedArrayBase::item):
4411 (WTF::IntegralTypedArrayBase::IntegralTypedArrayBase):
4412 * wtf/ListHashSet.h: Renamed from Source/JavaScriptCore/wtf/ListHashSet.h.
4415 (ListHashSetNodeAllocator):
4416 (WTF::ListHashSetNodeAllocator::ListHashSetNodeAllocator):
4417 (WTF::ListHashSetNodeAllocator::allocate):
4418 (WTF::ListHashSetNodeAllocator::deallocate):
4419 (WTF::ListHashSetNodeAllocator::pool):
4420 (WTF::ListHashSetNodeAllocator::pastPool):
4421 (WTF::ListHashSetNodeAllocator::inPool):
4423 (WTF::ListHashSetNode::ListHashSetNode):
4424 (WTF::ListHashSetNode::operator new):
4425 (WTF::ListHashSetNode::destroy):
4426 (WTF::ListHashSetNodeHashFunctions::hash):
4427 (WTF::ListHashSetNodeHashFunctions::equal):
4428 (ListHashSetNodeHashFunctions):
4429 (ListHashSetIterator):
4430 (WTF::ListHashSetIterator::ListHashSetIterator):
4431 (WTF::ListHashSetIterator::get):
4432 (WTF::ListHashSetIterator::operator*):
4433 (WTF::ListHashSetIterator::operator->):
4434 (WTF::ListHashSetIterator::operator++):
4435 (WTF::ListHashSetIterator::operator--):
4436 (WTF::ListHashSetIterator::operator==):
4437 (WTF::ListHashSetIterator::operator!=):
4438 (WTF::ListHashSetIterator::operator const_iterator):
4439 (WTF::ListHashSetIterator::node):
4440 (ListHashSetConstIterator):
4441 (WTF::ListHashSetConstIterator::ListHashSetConstIterator):
4442 (WTF::ListHashSetConstIterator::get):
4443 (WTF::ListHashSetConstIterator::operator*):
4444 (WTF::ListHashSetConstIterator::operator->):
4445 (WTF::ListHashSetConstIterator::operator++):
4446 (WTF::ListHashSetConstIterator::operator--):
4447 (WTF::ListHashSetConstIterator::operator==):
4448 (WTF::ListHashSetConstIterator::operator!=):
4449 (WTF::ListHashSetConstIterator::node):
4450 (ListHashSetReverseIterator):
4451 (WTF::ListHashSetReverseIterator::ListHashSetReverseIterator):
4452 (WTF::ListHashSetReverseIterator::get):
4453 (WTF::ListHashSetReverseIterator::operator*):
4454 (WTF::ListHashSetReverseIterator::operator->):
4455 (WTF::ListHashSetReverseIterator::operator++):
4456 (WTF::ListHashSetReverseIterator::operator--):
4457 (WTF::ListHashSetReverseIterator::operator==):
4458 (WTF::ListHashSetReverseIterator::operator!=):
4459 (WTF::ListHashSetReverseIterator::operator const_reverse_iterator):
4460 (WTF::ListHashSetReverseIterator::node):
4461 (ListHashSetConstReverseIterator):
4462 (WTF::ListHashSetConstReverseIterator::ListHashSetConstReverseIterator):
4463 (WTF::ListHashSetConstReverseIterator::get):
4464 (WTF::ListHashSetConstReverseIterator::operator*):
4465 (WTF::ListHashSetConstReverseIterator::operator->):
4466 (WTF::ListHashSetConstReverseIterator::operator++):
4467 (WTF::ListHashSetConstReverseIterator::operator--):
4468 (WTF::ListHashSetConstReverseIterator::operator==):
4469 (WTF::ListHashSetConstReverseIterator::operator!=):
4470 (WTF::ListHashSetConstReverseIterator::node):
4471 (WTF::ListHashSetTranslator::hash):
4472 (WTF::ListHashSetTranslator::equal):
4473 (WTF::ListHashSetTranslator::translate):
4474 (WTF::::ListHashSet):
4477 (WTF::::~ListHashSet):
4487 (WTF::::removeLast):
4489 (WTF::ListHashSetTranslatorAdapter::hash):
4490 (WTF::ListHashSetTranslatorAdapter::equal):
4493 (WTF::::insertBefore):
4496 (WTF::::unlinkAndDelete):
4497 (WTF::::appendNode):
4498 (WTF::::insertNodeBefore):
4499 (WTF::::deleteAllNodes):
4500 (WTF::::makeReverseIterator):
4501 (WTF::::makeConstReverseIterator):
4502 (WTF::::makeIterator):
4503 (WTF::::makeConstIterator):
4504 (WTF::deleteAllValues):
4505 * wtf/ListRefPtr.h: Renamed from Source/JavaScriptCore/wtf/ListRefPtr.h.
4508 (WTF::ListRefPtr::ListRefPtr):
4509 (WTF::ListRefPtr::~ListRefPtr):
4510 (WTF::ListRefPtr::operator=):
4512 * wtf/Locker.h: Renamed from Source/JavaScriptCore/wtf/Locker.h.
4515 (WTF::Locker::Locker):
4516 (WTF::Locker::~Locker):
4517 * wtf/MD5.cpp: Renamed from Source/JavaScriptCore/wtf/MD5.cpp.
4521 (WTF::reverseBytes):
4522 (WTF::MD5Transform):
4524 (WTF::MD5::addBytes):
4525 (WTF::MD5::checksum):
4526 * wtf/MD5.h: Renamed from Source/JavaScriptCore/wtf/MD5.h.
4529 (WTF::MD5::addBytes):
4530 * wtf/MainThread.cpp: Renamed from Source/JavaScriptCore/wtf/MainThread.cpp.
4532 (FunctionWithContext):
4533 (WTF::FunctionWithContext::FunctionWithContext):
4534 (WTF::FunctionWithContext::operator == ):
4535 (FunctionWithContextFinder):
4536 (WTF::FunctionWithContextFinder::FunctionWithContextFinder):
4537 (WTF::FunctionWithContextFinder::operator()):
4538 (WTF::mainThreadFunctionQueueMutex):
4539 (WTF::functionQueue):
4540 (WTF::initializeMainThread):
4541 (WTF::initializeMainThreadOnce):
4542 (WTF::initializeMainThreadToProcessMainThreadOnce):
4543 (WTF::initializeMainThreadToProcessMainThread):
4544 (WTF::dispatchFunctionsFromMainThread):
4545 (WTF::callOnMainThread):
4546 (WTF::callOnMainThreadAndWait):
4547 (WTF::cancelCallOnMainThread):
4548 (WTF::callFunctionObject):
4549 (WTF::setMainThreadCallbacksPaused):
4550 (WTF::isMainThread):
4551 (WTF::initializeGCThreads):
4552 (WTF::registerGCThread):
4553 (WTF::isMainThreadOrGCThread):
4554 * wtf/MainThread.h: Renamed from Source/JavaScriptCore/wtf/MainThread.h.
4556 (WTF::isMainThreadOrGCThread):
4557 * wtf/MallocZoneSupport.h: Renamed from Source/JavaScriptCore/wtf/MallocZoneSupport.h.
4559 (RemoteMemoryReader):
4560 (WTF::RemoteMemoryReader::RemoteMemoryReader):
4561 (WTF::RemoteMemoryReader::operator()):
4562 (WTF::RemoteMemoryReader::nextEntryInLinkedList):
4563 * wtf/MathExtras.h: Renamed from Source/JavaScriptCore/wtf/MathExtras.h.
4593 (defaultMinimumForClamp):
4594 (defaultMaximumForClamp):
4598 (clampToPositiveInteger):
4602 * wtf/MessageQueue.h: Renamed from Source/JavaScriptCore/wtf/MessageQueue.h.
4605 (WTF::MessageQueue::MessageQueue):
4606 (WTF::MessageQueue::infiniteTime):
4607 (WTF::MessageQueue::alwaysTruePredicate):
4608 (WTF::::~MessageQueue):
4610 (WTF::::appendAndCheckEmpty):
4612 (WTF::::waitForMessage):
4613 (WTF::::waitForMessageFilteredWithTimeout):
4614 (WTF::::tryGetMessage):
4615 (WTF::::tryGetMessageIgnoringKilled):
4620 * wtf/MetaAllocator.cpp: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.cpp.
4622 (WTF::MetaAllocator::~MetaAllocator):
4623 (WTF::MetaAllocatorTracker::notify):
4624 (WTF::MetaAllocatorTracker::release):
4625 (WTF::MetaAllocator::release):
4626 (WTF::MetaAllocatorHandle::MetaAllocatorHandle):
4627 (WTF::MetaAllocatorHandle::~MetaAllocatorHandle):
4628 (WTF::MetaAllocatorHandle::shrink):
4629 (WTF::MetaAllocator::MetaAllocator):
4630 (WTF::MetaAllocator::allocate):
4631 (WTF::MetaAllocator::currentStatistics):
4632 (WTF::MetaAllocator::findAndRemoveFreeSpace):
4633 (WTF::MetaAllocator::addFreeSpaceFromReleasedHandle):
4634 (WTF::MetaAllocator::addFreshFreeSpace):
4635 (WTF::MetaAllocator::debugFreeSpaceSize):
4636 (WTF::MetaAllocator::addFreeSpace):
4637 (WTF::MetaAllocator::incrementPageOccupancy):
4638 (WTF::MetaAllocator::decrementPageOccupancy):
4639 (WTF::MetaAllocator::roundUp):
4640 (WTF::MetaAllocator::allocFreeSpaceNode):
4641 (WTF::MetaAllocator::freeFreeSpaceNode):
4642 (WTF::MetaAllocator::dumpProfile):
4643 * wtf/MetaAllocator.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.h.
4645 (MetaAllocatorTracker):
4646 (WTF::MetaAllocatorTracker::find):
4648 (WTF::MetaAllocator::trackAllocations):
4649 (WTF::MetaAllocator::bytesAllocated):
4650 (WTF::MetaAllocator::bytesReserved):
4651 (WTF::MetaAllocator::bytesCommitted):
4653 (WTF::MetaAllocator::dumpProfile):
4655 (WTF::MetaAllocator::FreeSpaceNode::FreeSpaceNode):
4656 (WTF::MetaAllocator::FreeSpaceNode::key):
4657 * wtf/MetaAllocatorHandle.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocatorHandle.h.
4659 (MetaAllocatorHandle):
4660 (WTF::MetaAllocatorHandle::start):
4661 (WTF::MetaAllocatorHandle::end):
4662 (WTF::MetaAllocatorHandle::sizeInBytes):
4663 (WTF::MetaAllocatorHandle::isManaged):
4664 (WTF::MetaAllocatorHandle::allocator):
4665 (WTF::MetaAllocatorHandle::ownerUID):
4666 (WTF::MetaAllocatorHandle::key):
4667 * wtf/NonCopyingSort.h: Renamed from Source/JavaScriptCore/wtf/NonCopyingSort.h.
4672 (WTF::nonCopyingSort):
4673 * wtf/Noncopyable.h: Renamed from Source/JavaScriptCore/wtf/Noncopyable.h.
4674 * wtf/NotFound.h: Renamed from Source/JavaScriptCore/wtf/NotFound.h.
4676 * wtf/NullPtr.cpp: Renamed from Source/JavaScriptCore/wtf/NullPtr.cpp.
4677 * wtf/NullPtr.h: Renamed from Source/JavaScriptCore/wtf/NullPtr.h.
4678 * wtf/NumberOfCores.cpp: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.cpp.
4680 (WTF::numberOfProcessorCores):
4681 * wtf/NumberOfCores.h: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.h.
4683 * wtf/OSAllocator.h: Renamed from Source/JavaScriptCore/wtf/OSAllocator.h.
4686 (WTF::OSAllocator::reserveAndCommit):
4687 (WTF::OSAllocator::decommitAndRelease):
4688 (WTF::OSAllocator::reallocateCommitted):
4689 * wtf/OSAllocatorPosix.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp.
4691 (WTF::OSAllocator::reserveUncommitted):
4692 (WTF::OSAllocator::reserveAndCommit):
4693 (WTF::OSAllocator::commit):
4694 (WTF::OSAllocator::decommit):
4695 (WTF::OSAllocator::releaseDecommitted):
4696 * wtf/OSAllocatorWin.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorWin.cpp.
4699 (WTF::OSAllocator::reserveUncommitted):
4700 (WTF::OSAllocator::reserveAndCommit):
4701 (WTF::OSAllocator::commit):
4702 (WTF::OSAllocator::decommit):
4703 (WTF::OSAllocator::releaseDecommitted):
4704 * wtf/OSRandomSource.cpp: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.cpp.
4706 (WTF::cryptographicallyRandomValuesFromOS):
4707 * wtf/OSRandomSource.h: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.h.
4709 * wtf/OwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnArrayPtr.h.
4712 (WTF::OwnArrayPtr::OwnArrayPtr):
4713 (WTF::OwnArrayPtr::~OwnArrayPtr):
4714 (WTF::OwnArrayPtr::get):
4715 (WTF::OwnArrayPtr::operator*):
4716 (WTF::OwnArrayPtr::operator->):
4717 (WTF::OwnArrayPtr::operator[]):
4718 (WTF::OwnArrayPtr::operator!):
4719 (WTF::OwnArrayPtr::operator UnspecifiedBoolType):
4720 (WTF::OwnArrayPtr::operator=):
4721 (WTF::OwnArrayPtr::swap):
4722 (WTF::::OwnArrayPtr):
4731 * wtf/OwnPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnPtr.h.
4734 (WTF::OwnPtr::OwnPtr):
4735 (WTF::OwnPtr::~OwnPtr):
4737 (WTF::OwnPtr::operator*):
4738 (WTF::OwnPtr::operator->):
4739 (WTF::OwnPtr::operator!):
4740 (WTF::OwnPtr::operator UnspecifiedBoolType):
4741 (WTF::OwnPtr::operator=):
4742 (WTF::OwnPtr::swap):
4743 (WTF::OwnPtr::operator==):
4744 (WTF::OwnPtr::operator!=):
4754 * wtf/OwnPtrCommon.h: Renamed from Source/JavaScriptCore/wtf/OwnPtrCommon.h.
4756 (WTF::deleteOwnedPtr):
4757 * wtf/PackedIntVector.h: Renamed from Source/JavaScriptCore/wtf/PackedIntVector.h.
4760 (WTF::PackedIntVector::PackedIntVector):
4761 (WTF::PackedIntVector::operator=):
4762 (WTF::PackedIntVector::size):
4763 (WTF::PackedIntVector::ensureSize):
4764 (WTF::PackedIntVector::resize):
4765 (WTF::PackedIntVector::clearAll):
4766 (WTF::PackedIntVector::get):
4767 (WTF::PackedIntVector::set):
4768 (WTF::PackedIntVector::mask):
4769 * wtf/PageAllocation.h: Renamed from Source/JavaScriptCore/wtf/PageAllocation.h.
4772 (WTF::PageAllocation::PageAllocation):
4773 (WTF::PageAllocation::operator bool):
4774 (WTF::PageAllocation::allocate):
4775 (WTF::PageAllocation::deallocate):
4776 * wtf/PageAllocationAligned.cpp: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.cpp.
4778 (WTF::PageAllocationAligned::allocate):
4779 (WTF::PageAllocationAligned::deallocate):
4780 * wtf/PageAllocationAligned.h: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.h.
4782 (PageAllocationAligned):
4783 (WTF::PageAllocationAligned::PageAllocationAligned):
4784 * wtf/PageBlock.cpp: Renamed from Source/JavaScriptCore/wtf/PageBlock.cpp.
4786 (WTF::systemPageSize):
4789 * wtf/PageBlock.h: Renamed from Source/JavaScriptCore/wtf/PageBlock.h.
4791 (WTF::isPageAligned):
4792 (WTF::isPowerOfTwo):
4794 (WTF::PageBlock::base):
4795 (WTF::PageBlock::size):
4796 (WTF::PageBlock::operator bool):
4797 (WTF::PageBlock::contains):
4798 (WTF::PageBlock::PageBlock):
4799 * wtf/PageReservation.h: Renamed from Source/JavaScriptCore/wtf/PageReservation.h.
4802 (WTF::PageReservation::PageReservation):
4803 (WTF::PageReservation::operator bool):
4804 (WTF::PageReservation::commit):
4805 (WTF::PageReservation::decommit):
4806 (WTF::PageReservation::committed):
4807 (WTF::PageReservation::reserve):
4808 (WTF::PageReservation::reserveWithGuardPages):
4809 (WTF::PageReservation::deallocate):
4810 * wtf/ParallelJobs.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobs.h.
4813 (WTF::ParallelJobs::ParallelJobs):
4814 (WTF::ParallelJobs::numberOfJobs):
4815 (WTF::ParallelJobs::parameter):
4816 (WTF::ParallelJobs::execute):
4817 * wtf/ParallelJobsGeneric.cpp: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.cpp.
4819 (WTF::ParallelEnvironment::ParallelEnvironment):
4820 (WTF::ParallelEnvironment::execute):
4821 (WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
4822 (WTF::ParallelEnvironment::ThreadPrivate::execute):
4823 (WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
4824 (WTF::ParallelEnvironment::ThreadPrivate::workerThread):
4825 * wtf/ParallelJobsGeneric.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.h.
4827 (ParallelEnvironment):
4828 (WTF::ParallelEnvironment::numberOfJobs):
4830 (WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
4831 (WTF::ParallelEnvironment::ThreadPrivate::create):
4832 * wtf/ParallelJobsLibdispatch.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsLibdispatch.h.
4834 (ParallelEnvironment):
4835 (WTF::ParallelEnvironment::ParallelEnvironment):
4836 (WTF::ParallelEnvironment::numberOfJobs):
4837 (WTF::ParallelEnvironment::execute):
4838 * wtf/ParallelJobsOpenMP.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsOpenMP.h.
4840 (ParallelEnvironment):
4841 (WTF::ParallelEnvironment::ParallelEnvironment):
4842 (WTF::ParallelEnvironment::numberOfJobs):
4843 (WTF::ParallelEnvironment::execute):
4844 * wtf/PassOwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnArrayPtr.h.
4847 (WTF::PassOwnArrayPtr::PassOwnArrayPtr):
4848 (WTF::PassOwnArrayPtr::~PassOwnArrayPtr):
4849 (WTF::PassOwnArrayPtr::get):
4850 (WTF::PassOwnArrayPtr::operator*):
4851 (WTF::PassOwnArrayPtr::operator->):
4852 (WTF::PassOwnArrayPtr::operator!):
4853 (WTF::PassOwnArrayPtr::operator UnspecifiedBoolType):
4854 (WTF::PassOwnArrayPtr::operator=):
4858 (WTF::adoptArrayPtr):
4859 (WTF::deleteOwnedArrayPtr):
4860 (WTF::static_pointer_cast):
4861 (WTF::const_pointer_cast):
4863 * wtf/PassOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnPtr.h.
4866 (WTF::PassOwnPtr::PassOwnPtr):
4867 (WTF::PassOwnPtr::~PassOwnPtr):
4868 (WTF::PassOwnPtr::get):
4869 (WTF::PassOwnPtr::operator*):
4870 (WTF::PassOwnPtr::operator->):
4871 (WTF::PassOwnPtr::operator!):
4872 (WTF::PassOwnPtr::operator UnspecifiedBoolType):
4873 (WTF::PassOwnPtr::operator=):
4874 (WTF::PassOwnPtr::operator==):
4875 (WTF::PassOwnPtr::operator!=):
4880 (WTF::static_pointer_cast):
4881 (WTF::const_pointer_cast):
4883 * wtf/PassRefPtr.h: Renamed from Source/JavaScriptCore/wtf/PassRefPtr.h.
4886 (WTF::refIfNotNull):
4887 (WTF::derefIfNotNull):
4889 (WTF::PassRefPtr::PassRefPtr):
4890 (WTF::PassRefPtr::~PassRefPtr):
4891 (WTF::PassRefPtr::get):
4892 (WTF::PassRefPtr::operator*):
4893 (WTF::PassRefPtr::operator->):
4894 (WTF::PassRefPtr::operator!):
4895 (WTF::PassRefPtr::operator UnspecifiedBoolType):
4896 (WTF::PassRefPtr::operator=):
4897 (NonNullPassRefPtr):
4898 (WTF::NonNullPassRefPtr::NonNullPassRefPtr):
4899 (WTF::NonNullPassRefPtr::~NonNullPassRefPtr):
4900 (WTF::NonNullPassRefPtr::get):
4901 (WTF::NonNullPassRefPtr::operator*):
4902 (WTF::NonNullPassRefPtr::operator->):
4903 (WTF::NonNullPassRefPtr::operator=):
4904 (WTF::::PassRefPtr):
4909 (WTF::static_pointer_cast):
4910 (WTF::const_pointer_cast):
4912 * wtf/PassTraits.h: Renamed from Source/JavaScriptCore/wtf/PassTraits.h.
4915 (WTF::PassTraits::transfer):
4916 * wtf/PlatformBlackBerry.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformBlackBerry.cmake.
4917 * wtf/PlatformEfl.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformEfl.cmake.
4918 * wtf/PlatformWinCE.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformWinCE.cmake.
4919 * wtf/PossiblyNull.h: Renamed from Source/JavaScriptCore/wtf/PossiblyNull.h.
4921 (WTF::PossiblyNull::PossiblyNull):
4922 (WTF::PossiblyNull::~PossiblyNull):
4925 * wtf/RandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/RandomNumber.cpp.
4927 (WTF::randomNumber):
4928 * wtf/RandomNumber.h: Renamed from Source/JavaScriptCore/wtf/RandomNumber.h.
4930 * wtf/RandomNumberSeed.h: Renamed from Source/JavaScriptCore/wtf/RandomNumberSeed.h.
4932 (WTF::initializeRandomNumberGenerator):
4933 * wtf/RedBlackTree.h: Renamed from Source/JavaScriptCore/wtf/RedBlackTree.h.
4937 (WTF::RedBlackTree::Node::successor):
4938 (WTF::RedBlackTree::Node::predecessor):
4939 (WTF::RedBlackTree::Node::reset):
4940 (WTF::RedBlackTree::Node::parent):
4941 (WTF::RedBlackTree::Node::setParent):
4942 (WTF::RedBlackTree::Node::left):
4943 (WTF::RedBlackTree::Node::setLeft):
4944 (WTF::RedBlackTree::Node::right):
4945 (WTF::RedBlackTree::Node::setRight):
4946 (WTF::RedBlackTree::Node::color):
4947 (WTF::RedBlackTree::Node::setColor):
4948 (WTF::RedBlackTree::RedBlackTree):
4949 (WTF::RedBlackTree::insert):
4950 (WTF::RedBlackTree::remove):
4951 (WTF::RedBlackTree::findExact):
4952 (WTF::RedBlackTree::findLeastGreaterThanOrEqual):
4953 (WTF::RedBlackTree::findGreatestLessThanOrEqual):
4954 (WTF::RedBlackTree::first):
4955 (WTF::RedBlackTree::last):
4956 (WTF::RedBlackTree::size):
4957 (WTF::RedBlackTree::isEmpty):
4958 (WTF::RedBlackTree::treeMinimum):
4959 (WTF::RedBlackTree::treeMaximum):
4960 (WTF::RedBlackTree::treeInsert):
4961 (WTF::RedBlackTree::leftRotate):
4962 (WTF::RedBlackTree::rightRotate):
4963 (WTF::RedBlackTree::removeFixup):
4964 * wtf/RefCounted.h: Renamed from Source/JavaScriptCore/wtf/RefCounted.h.
4967 (WTF::RefCountedBase::ref):
4968 (WTF::RefCountedBase::hasOneRef):
4969 (WTF::RefCountedBase::refCount):
4970 (WTF::RefCountedBase::turnOffVerifier):
4971 (WTF::RefCountedBase::relaxAdoptionRequirement):
4972 (WTF::RefCountedBase::addressOfCount):
4973 (WTF::RefCountedBase::RefCountedBase):
4974 (WTF::RefCountedBase::~RefCountedBase):
4975 (WTF::RefCountedBase::derefBase):
4976 (WTF::RefCountedBase::deletionHasBegun):
4979 (WTF::RefCounted::deref):
4980 (WTF::RefCounted::RefCounted):
4981 (WTF::RefCounted::~RefCounted):
4982 (RefCountedCustomAllocated):
4983 (WTF::RefCountedCustomAllocated::deref):
4984 (WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
4985 (WTF::RefCountedBase::setMutexForVerifier):
4986 (WTF::RefCountedBase::setDispatchQueueForVerifier):
4987 * wtf/RefCountedArray.h: Renamed from Source/JavaScriptCore/wtf/RefCountedArray.h.
4990 (WTF::RefCountedArray::RefCountedArray):
4991 (WTF::RefCountedArray::operator=):
4992 (WTF::RefCountedArray::~RefCountedArray):
4993 (WTF::RefCountedArray::size):
4994 (WTF::RefCountedArray::data):
4995 (WTF::RefCountedArray::begin):
4996 (WTF::RefCountedArray::end):
4997 (WTF::RefCountedArray::at):
4998 (WTF::RefCountedArray::operator[]):
5000 (WTF::RefCountedArray::Header::size):
5001 (WTF::RefCountedArray::Header::payload):
5002 (WTF::RefCountedArray::Header::fromPayload):
5003 * wtf/RefCountedLeakCounter.cpp: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.cpp.
5005 (WTF::RefCountedLeakCounter::suppressMessages):
5006 (WTF::RefCountedLeakCounter::cancelMessageSuppression):
5007 (WTF::RefCountedLeakCounter::RefCountedLeakCounter):
5008 (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
5009 (WTF::RefCountedLeakCounter::increment):
5010 (WTF::RefCountedLeakCounter::decrement):
5011 * wtf/RefCountedLeakCounter.h: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.h.
5013 (RefCountedLeakCounter):
5014 * wtf/RefPtr.h: Renamed from Source/JavaScriptCore/wtf/RefPtr.h.
5017 (WTF::RefPtr::RefPtr):
5018 (WTF::RefPtr::isHashTableDeletedValue):
5019 (WTF::RefPtr::~RefPtr):
5021 (WTF::RefPtr::release):
5022 (WTF::RefPtr::operator*):
5023 (WTF::RefPtr::operator->):
5024 (WTF::RefPtr::operator!):
5025 (WTF::RefPtr::operator UnspecifiedBoolType):
5026 (WTF::RefPtr::operator=):
5027 (WTF::RefPtr::hashTableDeletedValue):
5035 (WTF::static_pointer_cast):
5036 (WTF::const_pointer_cast):
5038 * wtf/RefPtrHashMap.h: Renamed from Source/JavaScriptCore/wtf/RefPtrHashMap.h.
5056 * wtf/RetainPtr.h: Renamed from Source/JavaScriptCore/wtf/RetainPtr.h.
5058 (WTF::adoptNSReference):
5060 (WTF::RetainPtr::RetainPtr):
5061 (WTF::RetainPtr::isHashTableDeletedValue):
5062 (WTF::RetainPtr::~RetainPtr):
5063 (WTF::RetainPtr::get):
5064 (WTF::RetainPtr::operator->):
5065 (WTF::RetainPtr::operator!):
5066 (WTF::RetainPtr::operator UnspecifiedBoolType):
5067 (WTF::RetainPtr::operator=):
5068 (WTF::RetainPtr::hashTableDeletedValue):
5082 * wtf/SHA1.cpp: Renamed from Source/JavaScriptCore/wtf/SHA1.cpp.
5090 (WTF::SHA1::addBytes):
5091 (WTF::SHA1::computeHash):
5092 (WTF::SHA1::finalize):
5093 (WTF::SHA1::processBlock):
5095 * wtf/SHA1.h: Renamed from Source/JavaScriptCore/wtf/SHA1.h.
5098 (WTF::SHA1::addBytes):
5099 * wtf/SegmentedVector.h: Renamed from Source/JavaScriptCore/wtf/SegmentedVector.h.
5101 (SegmentedVectorIterator):
5102 (WTF::SegmentedVectorIterator::~SegmentedVectorIterator):
5103 (WTF::SegmentedVectorIterator::operator*):
5104 (WTF::SegmentedVectorIterator::operator->):
5105 (WTF::SegmentedVectorIterator::operator++):
5106 (WTF::SegmentedVectorIterator::operator==):
5107 (WTF::SegmentedVectorIterator::operator!=):
5108 (WTF::SegmentedVectorIterator::operator=):
5109 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
5111 (WTF::SegmentedVector::SegmentedVector):
5112 (WTF::SegmentedVector::~SegmentedVector):
5113 (WTF::SegmentedVector::size):
5114 (WTF::SegmentedVector::isEmpty):
5115 (WTF::SegmentedVector::at):
5116 (WTF::SegmentedVector::operator[]):
5117 (WTF::SegmentedVector::last):
5118 (WTF::SegmentedVector::append):
5119 (WTF::SegmentedVector::alloc):
5120 (WTF::SegmentedVector::removeLast):
5121 (WTF::SegmentedVector::grow):
5122 (WTF::SegmentedVector::clear):
5123 (WTF::SegmentedVector::begin):
5124 (WTF::SegmentedVector::end):
5125 (WTF::SegmentedVector::deleteAllSegments):
5126 (WTF::SegmentedVector::segmentExistsFor):
5127 (WTF::SegmentedVector::segmentFor):
5128 (WTF::SegmentedVector::subscriptFor):
5129 (WTF::SegmentedVector::ensureSegmentsFor):
5130 (WTF::SegmentedVector::ensureSegment):
5131 * wtf/SentinelLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SentinelLinkedList.h.
5133 (BasicRawSentinelNode):
5134 (WTF::BasicRawSentinelNode::BasicRawSentinelNode):
5135 (WTF::BasicRawSentinelNode::setPrev):
5136 (WTF::BasicRawSentinelNode::setNext):
5137 (WTF::BasicRawSentinelNode::prev):
5138 (WTF::BasicRawSentinelNode::next):
5139 (WTF::BasicRawSentinelNode::isOnList):
5140 (SentinelLinkedList):
5141 (WTF::SentinelLinkedList::isEmpty):
5143 (WTF::::SentinelLinkedList):
5147 * wtf/SimpleStats.h: Renamed from Source/JavaScriptCore/wtf/SimpleStats.h.
5150 (WTF::SimpleStats::SimpleStats):
5151 (WTF::SimpleStats::add):
5152 (WTF::SimpleStats::operator!):
5153 (WTF::SimpleStats::count):
5154 (WTF::SimpleStats::sum):
5155 (WTF::SimpleStats::sumOfSquares):
5156 (WTF::SimpleStats::mean):
5157 (WTF::SimpleStats::variance):
5158 (WTF::SimpleStats::standardDeviation):
5159 * wtf/SinglyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SinglyLinkedList.h.
5162 (WTF::::SinglyLinkedList):
5166 * wtf/SizeLimits.cpp: Renamed from Source/JavaScriptCore/wtf/SizeLimits.cpp.
5168 (SameSizeAsRefCounted):
5169 * wtf/Spectrum.h: Renamed from Source/JavaScriptCore/wtf/Spectrum.h.
5172 (WTF::Spectrum::Spectrum):
5173 (WTF::Spectrum::add):
5174 (WTF::Spectrum::get):
5175 (WTF::Spectrum::begin):
5176 (WTF::Spectrum::end):
5177 (WTF::Spectrum::KeyAndCount::KeyAndCount):
5179 (WTF::Spectrum::KeyAndCount::operator<):
5180 (WTF::Spectrum::buildList):
5181 * wtf/StackBounds.cpp: Renamed from Source/JavaScriptCore/wtf/StackBounds.cpp.
5183 (WTF::estimateStackBound):
5184 (WTF::StackBounds::initialize):
5185 (WTF::detectGrowingDownward):
5186 (WTF::isPageWritable):
5187 (WTF::getLowerStackBound):
5188 (WTF::getUpperStackBound):
5189 * wtf/StackBounds.h: Renamed from Source/JavaScriptCore/wtf/StackBounds.h.
5192 (WTF::StackBounds::StackBounds):
5193 (WTF::StackBounds::currentThreadStackBounds):
5194 (WTF::StackBounds::origin):
5195 (WTF::StackBounds::current):
5196 (WTF::StackBounds::recursionLimit):
5197 (WTF::StackBounds::recursionCheck):
5198 (WTF::StackBounds::isGrowingDownward):
5199 (WTF::StackBounds::checkConsistency):
5200 * wtf/StaticConstructors.h: Renamed from Source/JavaScriptCore/wtf/StaticConstructors.h.
5201 * wtf/StdLibExtras.h: Renamed from Source/JavaScriptCore/wtf/StdLibExtras.h.
5202 (isPointerTypeAlignmentOkay):
5203 (reinterpret_cast_ptr):
5205 (WTF::isPointerAligned):
5206 (WTF::is8ByteAligned):
5207 (WTF::bitwise_cast):
5210 (WTF::roundUpToMultipleOf):
5211 (WTF::binarySearch):
5212 (WTF::binarySearchWithFunctor):
5213 (WTF::genericBinarySearch):
5215 * wtf/StringExtras.cpp: Renamed from Source/JavaScriptCore/wtf/StringExtras.cpp.
5218 * wtf/StringExtras.h: Renamed from Source/JavaScriptCore/wtf/StringExtras.h.
5227 * wtf/StringHasher.h: Renamed from Source/JavaScriptCore/wtf/StringHasher.h.
5230 (WTF::StringHasher::StringHasher):
5231 (WTF::StringHasher::addCharacters):
5232 (WTF::StringHasher::addCharacter):
5233 (WTF::StringHasher::hash):
5234 (WTF::StringHasher::computeHash):
5235 (WTF::StringHasher::hashMemory):
5236 (WTF::StringHasher::defaultConverter):
5237 (WTF::StringHasher::addCharactersToHash):
5238 * wtf/TCPackedCache.h: Renamed from Source/JavaScriptCore/wtf/TCPackedCache.h.
5240 (PackedCache::PackedCache):
5243 (PackedCache::GetOrDefault):
5244 (PackedCache::Clear):
5245 (PackedCache::EntryToValue):
5246 (PackedCache::EntryToUpper):
5247 (PackedCache::KeyToUpper):
5248 (PackedCache::UpperToPartialKey):
5249 (PackedCache::Hash):
5250 (PackedCache::KeyMatch):
5251 * wtf/TCPageMap.h: Renamed from Source/JavaScriptCore/wtf/TCPageMap.h.
5252 (TCMalloc_PageMap1):
5253 (TCMalloc_PageMap1::init):
5254 (TCMalloc_PageMap1::Ensure):
5255 (TCMalloc_PageMap1::PreallocateMoreMemory):
5256 (TCMalloc_PageMap1::get):
5257 (TCMalloc_PageMap1::set):
5258 (TCMalloc_PageMap2):
5260 (TCMalloc_PageMap2::init):
5261 (TCMalloc_PageMap2::get):
5262 (TCMalloc_PageMap2::set):
5263 (TCMalloc_PageMap2::Ensure):
5264 (TCMalloc_PageMap2::PreallocateMoreMemory):
5265 (TCMalloc_PageMap2::visitValues):
5266 (TCMalloc_PageMap2::visitAllocations):
5267 (TCMalloc_PageMap3):
5269 (TCMalloc_PageMap3::NewNode):
5270 (TCMalloc_PageMap3::init):
5271 (TCMalloc_PageMap3::get):
5272 (TCMalloc_PageMap3::set):
5273 (TCMalloc_PageMap3::Ensure):
5274 (TCMalloc_PageMap3::PreallocateMoreMemory):
5275 (TCMalloc_PageMap3::visitValues):
5276 (TCMalloc_PageMap3::visitAllocations):
5277 * wtf/TCSpinLock.h: Renamed from Source/JavaScriptCore/wtf/TCSpinLock.h.
5278 (TCMalloc_SpinLock):
5279 (TCMalloc_SpinLock::Lock):
5280 (TCMalloc_SpinLock::Unlock):
5281 (TCMalloc_SpinLock::IsHeld):
5282 (TCMalloc_SpinLock::Init):
5283 (TCMalloc_SpinLock::Finalize):
5284 (TCMalloc_SlowLock):
5285 (TCMalloc_SpinLockHolder):
5286 (TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
5287 (TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
5288 * wtf/TCSystemAlloc.cpp: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.cpp.
5293 (TCMalloc_SystemAlloc):
5294 (TCMalloc_SystemRelease):
5295 (TCMalloc_SystemCommit):
5296 * wtf/TCSystemAlloc.h: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.h.
5297 (TCMalloc_SystemRelease):
5298 (TCMalloc_SystemCommit):
5299 * wtf/TemporaryChange.h: Renamed from Source/JavaScriptCore/wtf/TemporaryChange.h.
5302 (WTF::TemporaryChange::TemporaryChange):
5303 (WTF::TemporaryChange::~TemporaryChange):
5304 * wtf/ThreadFunctionInvocation.h: Renamed from Source/JavaScriptCore/wtf/ThreadFunctionInvocation.h.
5306 (WTF::ThreadFunctionInvocation::ThreadFunctionInvocation):
5307 (ThreadFunctionInvocation):
5308 * wtf/ThreadIdentifierDataPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp.
5310 (WTF::ThreadIdentifierData::~ThreadIdentifierData):
5311 (WTF::ThreadIdentifierData::initializeOnce):
5312 (WTF::ThreadIdentifierData::identifier):
5313 (WTF::ThreadIdentifierData::initialize):
5314 (WTF::ThreadIdentifierData::destruct):
5315 * wtf/ThreadIdentifierDataPthreads.h: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h.
5317 (ThreadIdentifierData):
5318 (WTF::ThreadIdentifierData::ThreadIdentifierData):
5319 * wtf/ThreadRestrictionVerifier.h: Renamed from Source/JavaScriptCore/wtf/ThreadRestrictionVerifier.h.
5321 (ThreadRestrictionVerifier):
5322 (WTF::ThreadRestrictionVerifier::ThreadRestrictionVerifier):
5323 (WTF::ThreadRestrictionVerifier::~ThreadRestrictionVerifier):
5324 (WTF::ThreadRestrictionVerifier::setMutexMode):
5325 (WTF::ThreadRestrictionVerifier::setDispatchQueueMode):
5326 (WTF::ThreadRestrictionVerifier::turnOffVerification):
5327 (WTF::ThreadRestrictionVerifier::setShared):
5328 (WTF::ThreadRestrictionVerifier::isSafeToUse):
5329 * wtf/ThreadSafeRefCounted.h: Renamed from Source/JavaScriptCore/wtf/ThreadSafeRefCounted.h.
5331 (ThreadSafeRefCountedBase):
5332 (WTF::ThreadSafeRefCountedBase::ThreadSafeRefCountedBase):
5333 (WTF::ThreadSafeRefCountedBase::ref):
5334 (WTF::ThreadSafeRefCountedBase::hasOneRef):
5335 (WTF::ThreadSafeRefCountedBase::refCount):
5336 (WTF::ThreadSafeRefCountedBase::derefBase):
5337 (ThreadSafeRefCounted):
5338 (WTF::ThreadSafeRefCounted::deref):
5339 (WTF::ThreadSafeRefCounted::ThreadSafeRefCounted):
5340 * wtf/ThreadSpecific.h: Renamed from Source/JavaScriptCore/wtf/ThreadSpecific.h.
5344 (WTF::ThreadSpecific::Data::Data):
5345 (WTF::::ThreadSpecific):
5348 (WTF::::~ThreadSpecific):
5353 * wtf/ThreadSpecificWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadSpecificWin.cpp.
5357 (WTF::ThreadSpecificThreadExit):
5358 * wtf/Threading.cpp: Renamed from Source/JavaScriptCore/wtf/Threading.cpp.
5361 (WTF::NewThreadContext::NewThreadContext):
5362 (WTF::threadEntryPoint):
5363 (WTF::createThread):
5364 (WTF::ThreadFunctionWithReturnValueInvocation::ThreadFunctionWithReturnValueInvocation):
5365 (ThreadFunctionWithReturnValueInvocation):
5366 (WTF::compatEntryPoint):
5367 (WTF::waitForThreadCompletion):
5368 * wtf/Threading.h: Renamed from Source/JavaScriptCore/wtf/Threading.h.
5370 * wtf/ThreadingNone.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingNone.cpp.
5371 * wtf/ThreadingPrimitives.h: Renamed from Source/JavaScriptCore/wtf/ThreadingPrimitives.h.
5374 (PlatformCondition):
5379 * wtf/ThreadingPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingPthreads.cpp.
5381 (WTF::threadMapMutex):
5382 (WTF::initializeThreading):
5383 (WTF::lockAtomicallyInitializedStaticMutex):
5384 (WTF::unlockAtomicallyInitializedStaticMutex):
5386 (WTF::identifierByPthreadHandle):
5387 (WTF::establishIdentifierForPthreadHandle):
5388 (WTF::pthreadHandleForIdentifier):
5389 (WTF::clearPthreadHandleForIdentifier):
5390 (WTF::wtfThreadEntryPoint):
5391 (WTF::createThreadInternal):
5392 (WTF::initializeCurrentThreadInternal):
5393 (WTF::waitForThreadCompletion):
5394 (WTF::detachThread):
5396 (WTF::currentThread):
5397 (WTF::Mutex::Mutex):
5398 (WTF::Mutex::~Mutex):
5400 (WTF::Mutex::tryLock):
5401 (WTF::Mutex::unlock):
5402 (WTF::ReadWriteLock::ReadWriteLock):
5403 (WTF::ReadWriteLock::~ReadWriteLock):
5404 (WTF::ReadWriteLock::readLock):
5405 (WTF::ReadWriteLock::tryReadLock):
5406 (WTF::ReadWriteLock::writeLock):
5407 (WTF::ReadWriteLock::tryWriteLock):
5408 (WTF::ReadWriteLock::unlock):
5409 (WTF::ThreadCondition::ThreadCondition):
5410 (WTF::ThreadCondition::~ThreadCondition):
5411 (WTF::ThreadCondition::wait):
5412 (WTF::ThreadCondition::timedWait):
5413 (WTF::ThreadCondition::signal):
5414 (WTF::ThreadCondition::broadcast):
5415 * wtf/ThreadingWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingWin.cpp.
5417 (tagTHREADNAME_INFO):
5418 (WTF::initializeCurrentThreadInternal):
5419 (WTF::lockAtomicallyInitializedStaticMutex):
5420 (WTF::unlockAtomicallyInitializedStaticMutex):
5421 (WTF::threadMapMutex):
5422 (WTF::initializeThreading):
5424 (WTF::storeThreadHandleByIdentifier):
5425 (WTF::threadHandleForIdentifier):
5426 (WTF::clearThreadHandleForIdentifier):
5427 (WTF::wtfThreadEntryPoint):
5428 (WTF::createThreadInternal):
5429 (WTF::waitForThreadCompletion):
5430 (WTF::detachThread):
5432 (WTF::currentThread):
5433 (WTF::Mutex::Mutex):
5434 (WTF::Mutex::~Mutex):
5436 (WTF::Mutex::tryLock):
5437 (WTF::Mutex::unlock):
5438 (WTF::PlatformCondition::timedWait):
5439 (WTF::PlatformCondition::signal):
5440 (WTF::ThreadCondition::ThreadCondition):
5441 (WTF::ThreadCondition::~ThreadCondition):
5442 (WTF::ThreadCondition::wait):
5443 (WTF::ThreadCondition::timedWait):
5444 (WTF::ThreadCondition::signal):
5445 (WTF::ThreadCondition::broadcast):
5446 (WTF::absoluteTimeToWaitTimeoutInterval):
5447 * wtf/TypeTraits.cpp: Renamed from Source/JavaScriptCore/wtf/TypeTraits.cpp.
5449 * wtf/TypeTraits.h: Renamed from Source/JavaScriptCore/wtf/TypeTraits.h.
5451 (IsConvertibleToInteger):
5456 (IsSubclassOfTemplate):
5460 (RemoveConstVolatile):
5466 * wtf/TypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/TypedArrayBase.h.
5469 (WTF::TypedArrayBase::data):
5470 (WTF::TypedArrayBase::set):
5471 (WTF::TypedArrayBase::setRange):
5472 (WTF::TypedArrayBase::zeroRange):
5473 (WTF::TypedArrayBase::length):
5474 (WTF::TypedArrayBase::byteLength):
5475 (WTF::TypedArrayBase::TypedArrayBase):
5476 (WTF::TypedArrayBase::create):
5477 (WTF::TypedArrayBase::subarrayImpl):
5478 (WTF::TypedArrayBase::neuter):
5479 * wtf/Uint16Array.h: Renamed from Source/JavaScriptCore/wtf/Uint16Array.h.
5482 (WTF::Uint16Array::set):
5483 (WTF::Uint16Array::isUnsignedShortArray):
5484 (WTF::Uint16Array::create):
5485 (WTF::Uint16Array::Uint16Array):
5486 (WTF::Uint16Array::subarray):
5487 * wtf/Uint32Array.h: Renamed from Source/JavaScriptCore/wtf/Uint32Array.h.
5490 (WTF::Uint32Array::set):
5491 (WTF::Uint32Array::isUnsignedIntArray):
5492 (WTF::Uint32Array::create):
5493 (WTF::Uint32Array::Uint32Array):
5494 (WTF::Uint32Array::subarray):
5495 * wtf/Uint8Array.h: Renamed from Source/JavaScriptCore/wtf/Uint8Array.h.
5498 (WTF::Uint8Array::set):
5499 (WTF::Uint8Array::isUnsignedByteArray):
5500 (WTF::Uint8Array::create):
5501 (WTF::Uint8Array::Uint8Array):
5502 (WTF::Uint8Array::subarray):
5503 * wtf/Uint8ClampedArray.h: Renamed from Source/JavaScriptCore/wtf/Uint8ClampedArray.h.
5505 (Uint8ClampedArray):
5506 (WTF::Uint8ClampedArray::set):
5507 (WTF::Uint8ClampedArray::isUnsignedByteClampedArray):
5508 (WTF::Uint8ClampedArray::create):
5509 (WTF::Uint8ClampedArray::Uint8ClampedArray):
5510 (WTF::Uint8ClampedArray::subarray):
5511 * wtf/UnionFind.h: Renamed from Source/JavaScriptCore/wtf/UnionFind.h.
5514 (WTF::UnionFind::UnionFind):
5515 (WTF::UnionFind::find):
5516 (WTF::UnionFind::unify):
5517 * wtf/UnusedParam.h: Renamed from Source/JavaScriptCore/wtf/UnusedParam.h.
5519 * wtf/VMTags.h: Renamed from Source/JavaScriptCore/wtf/VMTags.h.
5520 * wtf/ValueCheck.h: Renamed from Source/JavaScriptCore/wtf/ValueCheck.h.
5523 (WTF::ValueCheck::checkConsistency):
5524 * wtf/Vector.h: Renamed from Source/JavaScriptCore/wtf/Vector.h.
5526 (WTF::VectorTypeOperations::destruct):
5527 (VectorTypeOperations):
5528 (WTF::VectorTypeOperations::initialize):
5529 (WTF::VectorTypeOperations::move):
5530 (WTF::VectorTypeOperations::moveOverlapping):
5531 (WTF::VectorTypeOperations::uninitializedCopy):
5532 (WTF::VectorTypeOperations::uninitializedFill):
5533 (WTF::VectorTypeOperations::compare):
5535 (WTF::VectorBufferBase::allocateBuffer):
5536 (WTF::VectorBufferBase::tryAllocateBuffer):
5537 (WTF::VectorBufferBase::deallocateBuffer):
5538 (WTF::VectorBufferBase::buffer):
5539 (WTF::VectorBufferBase::bufferSlot):
5540 (WTF::VectorBufferBase::capacity):
5541 (WTF::VectorBufferBase::releaseBuffer):
5542 (WTF::VectorBufferBase::VectorBufferBase):
5543 (WTF::VectorBufferBase::~VectorBufferBase):
5545 (WTF::VectorBuffer::VectorBuffer):
5546 (WTF::VectorBuffer::~VectorBuffer):
5547 (WTF::VectorBuffer::allocateBuffer):
5548 (WTF::VectorBuffer::tryAllocateBuffer):
5549 (WTF::VectorBuffer::deallocateBuffer):
5550 (WTF::VectorBuffer::swap):
5551 (WTF::VectorBuffer::restoreInlineBufferIfNeeded):
5552 (WTF::VectorBuffer::releaseBuffer):
5553 (WTF::VectorBuffer::inlineBuffer):
5555 (WTF::Vector::Vector):
5556 (WTF::Vector::~Vector):
5557 (WTF::Vector::size):
5558 (WTF::Vector::capacity):
5559 (WTF::Vector::isEmpty):
5561 (WTF::Vector::operator[]):
5562 (WTF::Vector::data):
5563 (WTF::Vector::dataSlot):
5564 (WTF::Vector::begin):
5566 (WTF::Vector::rbegin):
5567 (WTF::Vector::rend):
5568 (WTF::Vector::reversed):
5569 (WTF::Vector::first):
5570 (WTF::Vector::last):
5571 (WTF::Vector::shrinkToFit):
5572 (WTF::Vector::clear):
5573 (WTF::Vector::removeLast):
5574 (WTF::Vector::fill):
5575 (WTF::Vector::swap):
5576 (VectorReverseProxy):
5577 (WTF::Vector::VectorReverseProxy::begin):
5578 (WTF::Vector::VectorReverseProxy::end):
5583 (WTF::typelessPointersAreEqual):
5586 (WTF::::reverseFind):
5588 (WTF::::appendRange):
5589 (WTF::::expandCapacity):
5590 (WTF::::tryExpandCapacity):
5594 (WTF::::reserveCapacity):
5595 (WTF::::tryReserveCapacity):
5596 (WTF::::reserveInitialCapacity):
5597 (WTF::::shrinkCapacity):
5600 (WTF::::appendSlowCase):
5601 (WTF::::uncheckedAppend):
5606 (WTF::::releaseBuffer):
5607 (WTF::::checkConsistency):
5608 (WTF::deleteAllValues):
5612 * wtf/VectorTraits.h: Renamed from Source/JavaScriptCore/wtf/VectorTraits.h.
5614 (SimpleClassVectorTraits):
5615 * wtf/WTFThreadData.cpp: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.cpp.
5617 (WTF::WTFThreadData::WTFThreadData):
5618 (WTF::WTFThreadData::~WTFThreadData):
5620 (JSC::IdentifierTable::~IdentifierTable):
5621 (JSC::IdentifierTable::add):
5622 * wtf/WTFThreadData.h: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.h.
5625 (JSC::IdentifierTable::remove):
5626 (JSC::IdentifierTable::literalTable):
5629 (WTF::WTFThreadData::atomicStringTable):
5630 (WTF::WTFThreadData::currentIdentifierTable):
5631 (WTF::WTFThreadData::setCurrentIdentifierTable):
5632 (WTF::WTFThreadData::resetCurrentIdentifierTable):
5633 (WTF::WTFThreadData::stack):
5634 (WTF::wtfThreadData):
5635 * wtf/blackberry/MainThreadBlackBerry.cpp: Renamed from Source/JavaScriptCore/wtf/blackberry/MainThreadBlackBerry.cpp.
5637 (WTF::initializeMainThreadPlatform):
5638 (WTF::scheduleDispatchFunctionsOnMainThread):
5639 * wtf/chromium/ChromiumThreading.h: Renamed from Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h.
5641 (ChromiumThreading):
5642 * wtf/chromium/MainThreadChromium.cpp: Renamed from Source/JavaScriptCore/wtf/chromium/MainThreadChromium.cpp.
5644 (WTF::initializeMainThread):
5645 (WTF::callOnMainThread):
5646 (WTF::callOnMainThreadAndWait):
5647 (WTF::setMainThreadCallbacksPaused):
5648 (WTF::isMainThread):
5649 * wtf/dtoa.cpp: Renamed from Source/JavaScriptCore/wtf/dtoa.cpp.
5652 (WTF::BigInt::BigInt):
5654 (WTF::BigInt::clear):
5655 (WTF::BigInt::size):
5656 (WTF::BigInt::resize):
5657 (WTF::BigInt::words):
5658 (WTF::BigInt::append):
5665 (WTF::P5Node::P5Node):
5674 * wtf/dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa.h.
5676 * wtf/dtoa/COPYING: Renamed from Source/JavaScriptCore/wtf/dtoa/COPYING.
5677 * wtf/dtoa/LICENSE: Renamed from Source/JavaScriptCore/wtf/dtoa/LICENSE.
5678 * wtf/dtoa/README: Renamed from Source/JavaScriptCore/wtf/dtoa/README.
5679 * wtf/dtoa/bignum-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.cc.
5680 * wtf/dtoa/bignum-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.h.
5682 (double_conversion):
5683 * wtf/dtoa/bignum.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.cc.
5684 * wtf/dtoa/bignum.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.h.
5686 (double_conversion):
5688 (WTF::double_conversion::Bignum::Times10):
5689 (WTF::double_conversion::Bignum::Equal):
5690 (WTF::double_conversion::Bignum::LessEqual):
5691 (WTF::double_conversion::Bignum::Less):
5692 (WTF::double_conversion::Bignum::PlusEqual):
5693 (WTF::double_conversion::Bignum::PlusLessEqual):
5694 (WTF::double_conversion::Bignum::PlusLess):
5695 (WTF::double_conversion::Bignum::EnsureCapacity):
5696 (WTF::double_conversion::Bignum::BigitLength):
5697 * wtf/dtoa/cached-powers.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.cc.
5698 * wtf/dtoa/cached-powers.h: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.h.
5700 (double_conversion):
5702 * wtf/dtoa/diy-fp.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.cc.
5703 * wtf/dtoa/diy-fp.h: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.h.
5705 (double_conversion):
5707 (WTF::double_conversion::DiyFp::DiyFp):
5708 (WTF::double_conversion::DiyFp::Subtract):
5709 (WTF::double_conversion::DiyFp::Minus):
5710 (WTF::double_conversion::DiyFp::Times):
5711 (WTF::double_conversion::DiyFp::Normalize):
5712 (WTF::double_conversion::DiyFp::f):
5713 (WTF::double_conversion::DiyFp::e):
5714 (WTF::double_conversion::DiyFp::set_f):
5715 (WTF::double_conversion::DiyFp::set_e):
5716 * wtf/dtoa/double-conversion.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.cc.
5717 * wtf/dtoa/double-conversion.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.h.
5719 (double_conversion):
5720 (DoubleToStringConverter):
5721 (WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
5722 (StringToDoubleConverter):
5723 (WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
5724 * wtf/dtoa/double.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double.h.
5726 (double_conversion):
5727 (WTF::double_conversion::double_to_uint64):
5728 (WTF::double_conversion::uint64_to_double):
5730 (WTF::double_conversion::Double::Double):
5731 (WTF::double_conversion::Double::AsDiyFp):
5732 (WTF::double_conversion::Double::AsNormalizedDiyFp):
5733 (WTF::double_conversion::Double::AsUint64):
5734 (WTF::double_conversion::Double::NextDouble):
5735 (WTF::double_conversion::Double::Exponent):
5736 (WTF::double_conversion::Double::Significand):
5737 (WTF::double_conversion::Double::IsDenormal):
5738 (WTF::double_conversion::Double::IsSpecial):
5739 (WTF::double_conversion::Double::IsNan):
5740 (WTF::double_conversion::Double::IsInfinite):
5741 (WTF::double_conversion::Double::Sign):
5742 (WTF::double_conversion::Double::UpperBoundary):
5743 (WTF::double_conversion::Double::NormalizedBoundaries):
5744 (WTF::double_conversion::Double::value):
5745 (WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
5746 (WTF::double_conversion::Double::Infinity):
5747 (WTF::double_conversion::Double::NaN):
5748 (WTF::double_conversion::Double::DiyFpToUint64):
5749 * wtf/dtoa/fast-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.cc.
5750 * wtf/dtoa/fast-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.h.
5752 (double_conversion):
5753 * wtf/dtoa/fixed-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.cc.
5754 * wtf/dtoa/fixed-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.h.
5756 (double_conversion):
5757 * wtf/dtoa/strtod.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.cc.
5758 * wtf/dtoa/strtod.h: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.h.
5760 (double_conversion):
5761 * wtf/dtoa/utils.h: Renamed from Source/JavaScriptCore/wtf/dtoa/utils.h.
5763 (double_conversion):
5764 (WTF::double_conversion::Max):
5765 (WTF::double_conversion::Min):
5766 (WTF::double_conversion::StrLength):
5768 (WTF::double_conversion::Vector::Vector):
5769 (WTF::double_conversion::Vector::SubVector):
5770 (WTF::double_conversion::Vector::length):
5771 (WTF::double_conversion::Vector::is_empty):
5772 (WTF::double_conversion::Vector::start):
5773 (WTF::double_conversion::Vector::operator[]):
5774 (WTF::double_conversion::Vector::first):
5775 (WTF::double_conversion::Vector::last):
5777 (WTF::double_conversion::StringBuilder::StringBuilder):
5778 (WTF::double_conversion::StringBuilder::~StringBuilder):
5779 (WTF::double_conversion::StringBuilder::size):
5780 (WTF::double_conversion::StringBuilder::position):
5781 (WTF::double_conversion::StringBuilder::SetPosition):
5782 (WTF::double_conversion::StringBuilder::Reset):
5783 (WTF::double_conversion::StringBuilder::AddCharacter):
5784 (WTF::double_conversion::StringBuilder::AddString):
5785 (WTF::double_conversion::StringBuilder::AddSubstring):
5786 (WTF::double_conversion::StringBuilder::AddPadding):
5787 (WTF::double_conversion::StringBuilder::Finalize):
5788 (WTF::double_conversion::StringBuilder::is_finalized):
5789 (WTF::double_conversion::BitCast):
5790 * wtf/efl/MainThreadEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/MainThreadEfl.cpp.
5793 (WTF::monitorDispatchFunctions):
5794 (WTF::initializeMainThreadPlatform):
5795 (WTF::scheduleDispatchFunctionsOnMainThread):
5796 * wtf/efl/OwnPtrEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp.
5798 (WTF::deleteOwnedPtr):
5799 * wtf/gobject/GOwnPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp.
5804 (WTF::GPatternSpec):
5808 * wtf/gobject/GOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.
5811 (WTF::GOwnPtr::GOwnPtr):
5812 (WTF::GOwnPtr::~GOwnPtr):
5813 (WTF::GOwnPtr::get):
5814 (WTF::GOwnPtr::release):
5815 (WTF::GOwnPtr::outPtr):
5816 (WTF::GOwnPtr::set):
5817 (WTF::GOwnPtr::clear):
5818 (WTF::GOwnPtr::operator*):
5819 (WTF::GOwnPtr::operator->):
5820 (WTF::GOwnPtr::operator!):
5821 (WTF::GOwnPtr::operator UnspecifiedBoolType):
5822 (WTF::GOwnPtr::swap):
5827 (WTF::freeOwnedGPtr):
5828 * wtf/gobject/GRefPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp.
5833 * wtf/gobject/GRefPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.h.
5836 (WTF::GRefPtr::GRefPtr):
5837 (WTF::GRefPtr::~GRefPtr):
5838 (WTF::GRefPtr::clear):
5839 (WTF::GRefPtr::isHashTableDeletedValue):
5840 (WTF::GRefPtr::get):
5841 (WTF::GRefPtr::operator*):
5842 (WTF::GRefPtr::operator->):
5843 (WTF::GRefPtr::operator!):
5844 (WTF::GRefPtr::operator UnspecifiedBoolType):
5845 (WTF::GRefPtr::hashTableDeletedValue):
5851 (WTF::static_pointer_cast):
5852 (WTF::const_pointer_cast):
5857 * wtf/gobject/GTypedefs.h: Renamed from Source/JavaScriptCore/wtf/gobject/GTypedefs.h.
5858 * wtf/gobject/GlibUtilities.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp.
5859 (getCurrentExecutablePath):
5860 * wtf/gobject/GlibUtilities.h: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.h.
5861 * wtf/gtk/MainThreadGtk.cpp: Renamed from Source/JavaScriptCore/wtf/gtk/MainThreadGtk.cpp.
5863 (WTF::initializeMainThreadPlatform):
5864 (WTF::timeoutFired):
5865 (WTF::scheduleDispatchFunctionsOnMainThread):
5866 * wtf/mac/MainThreadMac.mm: Renamed from Source/JavaScriptCore/wtf/mac/MainThreadMac.mm.
5867 (-[JSWTFMainThreadCaller call]):
5869 (WTF::initializeMainThreadPlatform):
5870 (WTF::initializeMainThreadToProcessMainThreadPlatform):
5873 (WTF::scheduleDispatchFunctionsOnMainThread):
5874 (WTF::isMainThread):
5875 * wtf/qt/MainThreadQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/MainThreadQt.cpp.
5877 (MainThreadInvoker):
5878 (WTF::MainThreadInvoker::MainThreadInvoker):
5879 (WTF::MainThreadInvoker::event):
5880 (WTF::initializeMainThreadPlatform):
5881 (WTF::scheduleDispatchFunctionsOnMainThread):
5882 * wtf/qt/StringQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/StringQt.cpp.
5884 (WTF::String::String):
5885 (WTF::String::operator QString):
5888 * wtf/qt/UtilsQt.h: Renamed from Source/JavaScriptCore/wtf/qt/UtilsQt.h.
5890 * wtf/qt/compat/QGuiApplication: Renamed from Source/JavaScriptCore/wtf/qt/compat/QGuiApplication.
5891 * wtf/qt/compat/qguiapplication.h: Renamed from Source/JavaScriptCore/wtf/qt/compat/qguiapplication.h.
5893 (QGuiApplication::styleHints):
5894 * wtf/text/ASCIIFastPath.h: Renamed from Source/JavaScriptCore/wtf/text/ASCIIFastPath.h.
5896 (WTF::isAlignedToMachineWord):
5897 (WTF::alignToMachineWord):
5899 (WTF::charactersAreAllASCII):
5900 * wtf/text/AtomicString.cpp: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.cpp.
5902 (AtomicStringTable):
5903 (WTF::AtomicStringTable::create):
5904 (WTF::AtomicStringTable::table):
5905 (WTF::AtomicStringTable::destroy):
5907 (WTF::addToStringTable):
5908 (WTF::CStringTranslator::hash):
5909 (CStringTranslator):
5910 (WTF::CStringTranslator::equal):
5911 (WTF::CStringTranslator::translate):
5912 (WTF::AtomicString::add):
5914 (WTF::UCharBufferTranslator::hash):
5915 (UCharBufferTranslator):
5916 (WTF::UCharBufferTranslator::equal):
5917 (WTF::UCharBufferTranslator::translate):
5918 (HashAndCharacters):
5919 (WTF::HashAndCharactersTranslator::hash):
5920 (HashAndCharactersTranslator):
5921 (WTF::HashAndCharactersTranslator::equal):
5922 (WTF::HashAndCharactersTranslator::translate):
5923 (HashAndUTF8Characters):
5924 (WTF::HashAndUTF8CharactersTranslator::hash):
5925 (HashAndUTF8CharactersTranslator):
5926 (WTF::HashAndUTF8CharactersTranslator::equal):
5927 (WTF::HashAndUTF8CharactersTranslator::translate):
5928 (SubstringLocation):
5929 (WTF::SubstringTranslator::hash):
5930 (SubstringTranslator):
5931 (WTF::SubstringTranslator::equal):
5932 (WTF::SubstringTranslator::translate):
5933 (WTF::AtomicString::addSlowCase):
5934 (WTF::AtomicString::find):
5935 (WTF::AtomicString::remove):
5936 (WTF::AtomicString::lower):
5937 (WTF::AtomicString::fromUTF8Internal):
5938 (WTF::AtomicString::show):
5939 * wtf/text/AtomicString.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.h.
5942 (WTF::AtomicString::AtomicString):
5943 (WTF::AtomicString::isHashTableDeletedValue):
5944 (WTF::AtomicString::operator const String&):
5945 (WTF::AtomicString::string):
5946 (WTF::AtomicString::impl):
5947 (WTF::AtomicString::characters):
5948 (WTF::AtomicString::length):
5949 (WTF::AtomicString::operator[]):
5950 (WTF::AtomicString::contains):
5951 (WTF::AtomicString::find):
5952 (WTF::AtomicString::startsWith):
5953 (WTF::AtomicString::endsWith):
5954 (WTF::AtomicString::upper):
5955 (WTF::AtomicString::toInt):
5956 (WTF::AtomicString::toDouble):
5957 (WTF::AtomicString::toFloat):
5958 (WTF::AtomicString::percentage):
5959 (WTF::AtomicString::isNull):
5960 (WTF::AtomicString::isEmpty):
5961 (WTF::AtomicString::createCFString):
5962 (WTF::AtomicString::operator NSString*):
5963 (WTF::AtomicString::operator QString):
5964 (WTF::AtomicString::add):
5967 (WTF::equalIgnoringCase):
5968 (WTF::AtomicString::fromUTF8):
5969 * wtf/text/AtomicStringHash.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringHash.h.
5971 (WTF::AtomicStringHash::hash):
5973 (WTF::AtomicStringHash::equal):
5974 * wtf/text/AtomicStringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringImpl.h.
5977 (WTF::AtomicStringImpl::AtomicStringImpl):
5978 * wtf/text/CString.cpp: Renamed from Source/JavaScriptCore/wtf/text/CString.cpp.
5980 (WTF::CString::CString):
5981 (WTF::CString::init):
5982 (WTF::CString::mutableData):
5983 (WTF::CString::newUninitialized):
5984 (WTF::CString::copyBufferIfNeeded):
5986 * wtf/text/CString.h: Renamed from Source/JavaScriptCore/wtf/text/CString.h.
5989 (WTF::CStringBuffer::data):
5990 (WTF::CStringBuffer::length):
5991 (WTF::CStringBuffer::create):
5992 (WTF::CStringBuffer::CStringBuffer):
5993 (WTF::CStringBuffer::mutableData):
5995 (WTF::CString::CString):
5996 (WTF::CString::data):
5997 (WTF::CString::length):
5998 (WTF::CString::isNull):
5999 (WTF::CString::buffer):
6001 * wtf/text/StringBuffer.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuffer.h.
6004 (WTF::StringBuffer::StringBuffer):
6005 (WTF::StringBuffer::~StringBuffer):
6006 (WTF::StringBuffer::shrink):
6007 (WTF::StringBuffer::resize):
6008 (WTF::StringBuffer::length):
6009 (WTF::StringBuffer::characters):
6010 (WTF::StringBuffer::operator[]):
6011 (WTF::StringBuffer::release):
6012 * wtf/text/StringBuilder.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.cpp.
6014 (WTF::StringBuilder::reifyString):
6015 (WTF::StringBuilder::resize):
6016 (WTF::StringBuilder::allocateBuffer):
6017 (WTF::StringBuilder::allocateBufferUpConvert):
6020 (WTF::StringBuilder::reserveCapacity):
6021 (WTF::StringBuilder::appendUninitialized):
6022 (WTF::StringBuilder::appendUninitializedSlow):
6023 (WTF::StringBuilder::append):
6024 (WTF::StringBuilder::canShrink):
6025 (WTF::StringBuilder::shrinkToFit):
6026 * wtf/text/StringBuilder.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.h.
6029 (WTF::StringBuilder::StringBuilder):
6030 (WTF::StringBuilder::append):
6031 (WTF::StringBuilder::toString):
6032 (WTF::StringBuilder::toStringPreserveCapacity):
6033 (WTF::StringBuilder::toAtomicString):
6034 (WTF::StringBuilder::length):
6035 (WTF::StringBuilder::isEmpty):
6036 (WTF::StringBuilder::capacity):
6037 (WTF::StringBuilder::operator[]):
6038 (WTF::StringBuilder::characters8):
6039 (WTF::StringBuilder::characters16):
6040 (WTF::StringBuilder::characters):
6041 (WTF::StringBuilder::is8Bit):
6042 (WTF::StringBuilder::clear):
6043 (WTF::StringBuilder::swap):
6049 * wtf/text/StringConcatenate.h: Renamed from Source/JavaScriptCore/wtf/text/StringConcatenate.h.
6051 (WTF::sumWithOverflow):
6052 (WTF::tryMakeString):
6054 * wtf/text/StringHash.h: Renamed from Source/JavaScriptCore/wtf/text/StringHash.h.
6056 (WTF::StringHash::hash):
6057 (WTF::StringHash::equal):
6060 (WTF::CaseFoldingHash::foldCase):
6061 (WTF::CaseFoldingHash::hash):
6062 (WTF::CaseFoldingHash::equal):
6063 (WTF::AlreadyHashed::hash):
6065 (WTF::AlreadyHashed::avoidDeletedValue):
6066 * wtf/text/StringImpl.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.cpp.
6068 (WTF::StringImpl::~StringImpl):
6069 (WTF::StringImpl::createUninitialized):
6070 (WTF::StringImpl::reallocate):
6071 (WTF::StringImpl::create):
6072 (WTF::StringImpl::getData16SlowCase):
6073 (WTF::StringImpl::upconvertCharacters):
6074 (WTF::StringImpl::containsOnlyWhitespace):
6075 (WTF::StringImpl::substring):
6076 (WTF::StringImpl::characterStartingAt):
6077 (WTF::StringImpl::lower):
6078 (WTF::StringImpl::upper):
6079 (WTF::StringImpl::fill):
6080 (WTF::StringImpl::foldCase):
6081 (WTF::StringImpl::stripMatchedCharacters):
6083 (WTF::UCharPredicate::UCharPredicate):
6084 (WTF::UCharPredicate::operator()):
6085 (SpaceOrNewlinePredicate):
6086 (WTF::SpaceOrNewlinePredicate::operator()):
6087 (WTF::StringImpl::stripWhiteSpace):
6088 (WTF::StringImpl::removeCharacters):
6089 (WTF::StringImpl::simplifyMatchedCharactersToSpace):
6090 (WTF::StringImpl::simplifyWhiteSpace):
6091 (WTF::StringImpl::toIntStrict):
6092 (WTF::StringImpl::toUIntStrict):
6093 (WTF::StringImpl::toInt64Strict):
6094 (WTF::StringImpl::toUInt64Strict):
6095 (WTF::StringImpl::toIntPtrStrict):
6096 (WTF::StringImpl::toInt):
6097 (WTF::StringImpl::toUInt):
6098 (WTF::StringImpl::toInt64):
6099 (WTF::StringImpl::toUInt64):
6100 (WTF::StringImpl::toIntPtr):
6101 (WTF::StringImpl::toDouble):
6102 (WTF::StringImpl::toFloat):
6103 (WTF::equalIgnoringCase):
6104 (WTF::StringImpl::find):
6105 (WTF::StringImpl::findIgnoringCase):
6107 (WTF::StringImpl::reverseFind):
6108 (WTF::reverseFindInner):
6109 (WTF::StringImpl::reverseFindIgnoringCase):
6110 (WTF::StringImpl::endsWith):
6111 (WTF::StringImpl::replace):
6113 (WTF::equalIgnoringNullity):
6114 (WTF::StringImpl::defaultWritingDirection):
6115 (WTF::StringImpl::adopt):
6116 (WTF::StringImpl::createWithTerminatingNullCharacter):
6117 * wtf/text/StringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.h.
6121 (WTF::StringImpl::StringImpl):
6122 (WTF::StringImpl::create):
6123 (WTF::StringImpl::create8):
6124 (WTF::StringImpl::tryCreateUninitialized):
6125 (WTF::StringImpl::flagsOffset):
6126 (WTF::StringImpl::flagIs8Bit):
6127 (WTF::StringImpl::dataOffset):
6128 (WTF::StringImpl::adopt):
6129 (WTF::StringImpl::length):
6130 (WTF::StringImpl::is8Bit):
6131 (WTF::StringImpl::characters8):
6132 (WTF::StringImpl::characters16):
6133 (WTF::StringImpl::characters):
6134 (WTF::StringImpl::cost):
6135 (WTF::StringImpl::has16BitShadow):
6136 (WTF::StringImpl::isIdentifier):
6137 (WTF::StringImpl::setIsIdentifier):
6138 (WTF::StringImpl::hasTerminatingNullCharacter):
6139 (WTF::StringImpl::isAtomic):
6140 (WTF::StringImpl::setIsAtomic):
6141 (WTF::StringImpl::setHash):
6142 (WTF::StringImpl::rawHash):
6143 (WTF::StringImpl::hasHash):
6144 (WTF::StringImpl::existingHash):
6145 (WTF::StringImpl::hash):
6146 (WTF::StringImpl::hasOneRef):
6147 (WTF::StringImpl::ref):
6148 (WTF::StringImpl::deref):
6149 (WTF::StringImpl::copyChars):
6150 (WTF::StringImpl::operator[]):
6151 (WTF::StringImpl::find):
6152 (WTF::StringImpl::findIgnoringCase):
6153 (WTF::StringImpl::startsWith):
6154 (WTF::StringImpl::bufferOwnership):
6155 (WTF::StringImpl::isStatic):
6159 (WTF::equalIgnoringCase):
6160 (WTF::equalIgnoringNullity):
6161 (WTF::codePointCompare):
6162 (WTF::codePointCompare8):
6163 (WTF::codePointCompare16):
6164 (WTF::codePointCompare8To16):
6165 (WTF::isSpaceOrNewline):
6166 (WTF::StringImpl::isolatedCopy):
6167 * wtf/text/StringOperators.h: Renamed from Source/JavaScriptCore/wtf/text/StringOperators.h.
6170 (WTF::StringAppend::StringAppend):
6171 (WTF::StringAppend::operator String):
6172 (WTF::StringAppend::operator AtomicString):
6173 (WTF::StringAppend::is8Bit):
6174 (WTF::StringAppend::writeTo):
6175 (WTF::StringAppend::length):
6177 * wtf/text/StringStatics.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringStatics.cpp.
6179 (WTF::StringImpl::empty):
6180 (WTF::StringImpl::hashSlowCase):
6181 (WTF::AtomicString::init):
6182 * wtf/text/TextPosition.h: Renamed from Source/JavaScriptCore/wtf/text/TextPosition.h.
6185 (WTF::OrdinalNumber::fromZeroBasedInt):
6186 (WTF::OrdinalNumber::fromOneBasedInt):
6187 (WTF::OrdinalNumber::OrdinalNumber):
6188 (WTF::OrdinalNumber::zeroBasedInt):
6189 (WTF::OrdinalNumber::oneBasedInt):
6190 (WTF::OrdinalNumber::operator==):
6191 (WTF::OrdinalNumber::operator!=):
6192 (WTF::OrdinalNumber::first):
6193 (WTF::OrdinalNumber::beforeFirst):
6195 (WTF::TextPosition::TextPosition):
6196 (WTF::TextPosition::operator==):
6197 (WTF::TextPosition::operator!=):
6198 (WTF::TextPosition::minimumPosition):
6199 (WTF::TextPosition::belowRangePosition):
6200 * wtf/text/WTFString.cpp: Renamed from Source/JavaScriptCore/wtf/text/WTFString.cpp.
6202 (WTF::String::String):
6203 (WTF::String::append):
6204 (WTF::codePointCompare):
6205 (WTF::String::insert):
6206 (WTF::String::characterStartingAt):
6207 (WTF::String::truncate):
6208 (WTF::String::remove):
6209 (WTF::String::substring):
6210 (WTF::String::substringSharingImpl):
6211 (WTF::String::lower):
6212 (WTF::String::upper):
6213 (WTF::String::stripWhiteSpace):
6214 (WTF::String::simplifyWhiteSpace):
6215 (WTF::String::removeCharacters):
6216 (WTF::String::foldCase):
6217 (WTF::String::percentage):
6218 (WTF::String::charactersWithNullTermination):
6219 (WTF::String::format):
6220 (WTF::String::number):
6221 (WTF::String::toIntStrict):
6222 (WTF::String::toUIntStrict):
6223 (WTF::String::toInt64Strict):
6224 (WTF::String::toUInt64Strict):
6225 (WTF::String::toIntPtrStrict):
6226 (WTF::String::toInt):
6227 (WTF::String::toUInt):
6228 (WTF::String::toInt64):
6229 (WTF::String::toUInt64):
6230 (WTF::String::toIntPtr):
6231 (WTF::String::toDouble):
6232 (WTF::String::toFloat):
6233 (WTF::String::isolatedCopy):
6234 (WTF::String::split):
6235 (WTF::String::ascii):
6236 (WTF::String::latin1):
6237 (WTF::putUTF8Triple):
6238 (WTF::String::utf8):
6239 (WTF::String::fromUTF8):
6240 (WTF::String::fromUTF8WithLatin1Fallback):
6241 (WTF::isCharacterAllowedInBase):
6242 (WTF::toIntegralType):
6243 (WTF::lengthOfCharactersAsInteger):
6244 (WTF::charactersToIntStrict):
6245 (WTF::charactersToUIntStrict):
6246 (WTF::charactersToInt64Strict):
6247 (WTF::charactersToUInt64Strict):
6248 (WTF::charactersToIntPtrStrict):
6249 (WTF::charactersToInt):
6250 (WTF::charactersToUInt):
6251 (WTF::charactersToInt64):
6252 (WTF::charactersToUInt64):
6253 (WTF::charactersToIntPtr):
6254 (WTF::toDoubleType):
6255 (WTF::charactersToDouble):
6256 (WTF::charactersToFloat):
6257 (WTF::charactersToFloatIgnoringJunk):
6262 * wtf/text/WTFString.h: Renamed from Source/JavaScriptCore/wtf/text/WTFString.h.
6266 (WTF::String::String):
6267 (WTF::String::~String):
6268 (WTF::String::swap):
6269 (WTF::String::adopt):
6270 (WTF::String::isNull):
6271 (WTF::String::isEmpty):
6272 (WTF::String::impl):
6273 (WTF::String::length):
6274 (WTF::String::characters):
6275 (WTF::String::characters8):
6276 (WTF::String::characters16):
6277 (WTF::String::is8Bit):
6278 (WTF::String::operator[]):
6279 (WTF::String::find):
6280 (WTF::String::reverseFind):
6281 (WTF::String::findIgnoringCase):
6282 (WTF::String::reverseFindIgnoringCase):
6283 (WTF::String::contains):
6284 (WTF::String::startsWith):
6285 (WTF::String::endsWith):
6286 (WTF::String::append):
6287 (WTF::String::replace):
6288 (WTF::String::makeLower):
6289 (WTF::String::makeUpper):
6290 (WTF::String::fill):
6291 (WTF::String::left):
6292 (WTF::String::right):
6293 (WTF::String::createUninitialized):
6294 (WTF::String::operator NSString*):
6295 (WTF::String::fromUTF8):
6296 (WTF::String::fromUTF8WithLatin1Fallback):
6297 (WTF::String::defaultWritingDirection):
6298 (WTF::String::containsOnlyWhitespace):
6299 (WTF::String::isHashTableDeletedValue):
6303 (WTF::equalIgnoringCase):
6304 (WTF::equalPossiblyIgnoringCase):
6305 (WTF::equalIgnoringNullity):
6310 (WTF::String::containsOnlyLatin1):
6311 (WTF::nsStringNilIfEmpty):
6312 (WTF::String::containsOnlyASCII):
6313 (WTF::codePointCompareLessThan):
6317 (WTF::appendNumber):
6318 (WTF::isAllSpecialCharacters):
6319 (WTF::String::isAllSpecialCharacters):
6320 * wtf/threads/BinarySemaphore.cpp: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.cpp.
6322 (WTF::BinarySemaphore::BinarySemaphore):
6323 (WTF::BinarySemaphore::~BinarySemaphore):
6324 (WTF::BinarySemaphore::signal):
6325 (WTF::BinarySemaphore::wait):
6326 * wtf/threads/BinarySemaphore.h: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.h.
6329 (WTF::BinarySemaphore::event):
6330 * wtf/threads/win/BinarySemaphoreWin.cpp: Renamed from Source/JavaScriptCore/wtf/threads/win/BinarySemaphoreWin.cpp.
6332 (WTF::BinarySemaphore::BinarySemaphore):
6333 (WTF::BinarySemaphore::~BinarySemaphore):
6334 (WTF::BinarySemaphore::signal):
6335 (WTF::BinarySemaphore::wait):
6336 * wtf/unicode/CharacterNames.h: Renamed from Source/JavaScriptCore/wtf/unicode/CharacterNames.h.
6338 * wtf/unicode/Collator.h: Renamed from Source/JavaScriptCore/wtf/unicode/Collator.h.
6341 * wtf/unicode/CollatorDefault.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/CollatorDefault.cpp.
6343 (WTF::Collator::Collator):
6344 (WTF::Collator::~Collator):
6345 (WTF::Collator::setOrderLowerFirst):
6346 (WTF::Collator::userDefault):
6347 (WTF::Collator::collate):
6348 * wtf/unicode/ScriptCodesFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/ScriptCodesFromICU.h.
6349 * wtf/unicode/UTF8.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.cpp.
6351 (WTF::Unicode::inlineUTF8SequenceLengthNonASCII):
6352 (WTF::Unicode::inlineUTF8SequenceLength):
6353 (WTF::Unicode::UTF8SequenceLength):
6354 (WTF::Unicode::decodeUTF8Sequence):
6355 (WTF::Unicode::convertLatin1ToUTF8):
6356 (WTF::Unicode::convertUTF16ToUTF8):
6357 (WTF::Unicode::isLegalUTF8):
6358 (WTF::Unicode::readUTF8Sequence):
6359 (WTF::Unicode::convertUTF8ToUTF16):
6360 (WTF::Unicode::calculateStringHashAndLengthFromUTF8):
6361 (WTF::Unicode::equalUTF16WithUTF8):
6362 * wtf/unicode/UTF8.h: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.h.
6364 * wtf/unicode/Unicode.h: Renamed from Source/JavaScriptCore/wtf/unicode/Unicode.h.
6365 * wtf/unicode/UnicodeMacrosFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/UnicodeMacrosFromICU.h.
6366 * wtf/unicode/glib/UnicodeGLib.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp.
6368 (WTF::Unicode::foldCase):
6369 (WTF::Unicode::getUTF16LengthFromUTF8):
6370 (WTF::Unicode::convertCase):
6371 (WTF::Unicode::toLower):
6372 (WTF::Unicode::toUpper):
6373 (WTF::Unicode::direction):
6374 (WTF::Unicode::umemcasecmp):
6375 * wtf/unicode/glib/UnicodeGLib.h: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h.
6377 (WTF::Unicode::toLower):
6378 (WTF::Unicode::toUpper):
6379 (WTF::Unicode::toTitleCase):
6380 (WTF::Unicode::isArabicChar):
6381 (WTF::Unicode::isAlphanumeric):
6382 (WTF::Unicode::isFormatChar):
6383 (WTF::Unicode::isSeparatorSpace):
6384 (WTF::Unicode::isPrintableChar):
6385 (WTF::Unicode::isDigit):
6386 (WTF::Unicode::isPunct):
6387 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6388 (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
6389 (WTF::Unicode::mirroredChar):
6390 (WTF::Unicode::category):
6391 (WTF::Unicode::isLower):
6392 (WTF::Unicode::digitValue):
6393 (WTF::Unicode::combiningClass):
6394 (WTF::Unicode::decompositionType):
6395 * wtf/unicode/icu/CollatorICU.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp.
6397 (WTF::cachedCollatorMutex):
6398 (WTF::Collator::Collator):
6399 (WTF::Collator::userDefault):
6400 (WTF::Collator::~Collator):
6401 (WTF::Collator::setOrderLowerFirst):
6402 (WTF::Collator::collate):
6403 (WTF::Collator::createCollator):
6404 (WTF::Collator::releaseCollator):
6405 * wtf/unicode/icu/UnicodeIcu.h: Renamed from Source/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h.
6407 (WTF::Unicode::foldCase):
6408 (WTF::Unicode::toLower):
6409 (WTF::Unicode::toUpper):
6410 (WTF::Unicode::toTitleCase):
6411 (WTF::Unicode::isArabicChar):
6412 (WTF::Unicode::isAlphanumeric):
6413 (WTF::Unicode::isSeparatorSpace):
6414 (WTF::Unicode::isPrintableChar):
6415 (WTF::Unicode::isPunct):
6416 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6417 (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
6418 (WTF::Unicode::mirroredChar):
6419 (WTF::Unicode::category):
6420 (WTF::Unicode::direction):
6421 (WTF::Unicode::isLower):
6422 (WTF::Unicode::combiningClass):
6423 (WTF::Unicode::decompositionType):
6424 (WTF::Unicode::umemcasecmp):
6425 * wtf/unicode/qt4/UnicodeQt4.h: Renamed from Source/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h.
6429 (WTF::Unicode::toLower):
6430 (WTF::Unicode::toUpper):
6431 (WTF::Unicode::toTitleCase):
6432 (WTF::Unicode::foldCase):
6433 (WTF::Unicode::isArabicChar):
6434 (WTF::Unicode::isPrintableChar):
6435 (WTF::Unicode::isSeparatorSpace):
6436 (WTF::Unicode::isPunct):
6437 (WTF::Unicode::isLower):
6438 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6439 (WTF::Unicode::mirroredChar):
6440 (WTF::Unicode::combiningClass):
6441 (WTF::Unicode::decompositionType):
6442 (WTF::Unicode::umemcasecmp):
6443 (WTF::Unicode::direction):
6444 (WTF::Unicode::category):
6445 * wtf/unicode/wince/UnicodeWinCE.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.cpp.
6447 (WTF::Unicode::toLower):
6448 (WTF::Unicode::toUpper):
6449 (WTF::Unicode::foldCase):
6450 (WTF::Unicode::isPrintableChar):
6451 (WTF::Unicode::isSpace):
6452 (WTF::Unicode::isLetter):
6453 (WTF::Unicode::isUpper):
6454 (WTF::Unicode::isLower):
6455 (WTF::Unicode::isDigit):
6456 (WTF::Unicode::isPunct):
6457 (WTF::Unicode::isAlphanumeric):
6458 (WTF::Unicode::toTitleCase):
6459 (WTF::Unicode::direction):
6460 (WTF::Unicode::category):
6461 (WTF::Unicode::decompositionType):
6462 (WTF::Unicode::combiningClass):
6463 (WTF::Unicode::mirroredChar):
6464 (WTF::Unicode::digitValue):
6465 * wtf/unicode/wince/UnicodeWinCE.h: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.h.
6467 (WTF::Unicode::isSeparatorSpace):
6468 (WTF::Unicode::isHighSurrogate):
6469 (WTF::Unicode::isLowSurrogate):
6470 (WTF::Unicode::isArabicChar):
6471 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6472 (WTF::Unicode::umemcasecmp):
6473 (WTF::Unicode::surrogateToUcs4):
6474 * wtf/url/api/ParsedURL.cpp: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.cpp.
6476 (WTF::ParsedURL::ParsedURL):
6477 (WTF::ParsedURL::isolatedCopy):
6478 (WTF::ParsedURL::scheme):
6479 (WTF::ParsedURL::username):
6480 (WTF::ParsedURL::password):
6481 (WTF::ParsedURL::host):
6482 (WTF::ParsedURL::port):
6483 (WTF::ParsedURL::path):
6484 (WTF::ParsedURL::query):
6485 (WTF::ParsedURL::fragment):
6486 (WTF::ParsedURL::baseAsString):
6487 (WTF::ParsedURL::segment):
6488 * wtf/url/api/ParsedURL.h: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.h.
6491 (WTF::ParsedURL::ParsedURL):
6492 (WTF::ParsedURL::isValid):
6493 (WTF::ParsedURL::spec):
6494 * wtf/url/api/URLString.h: Renamed from Source/JavaScriptCore/wtf/url/api/URLString.h.
6497 (WTF::URLString::URLString):
6498 (WTF::URLString::string):
6499 * wtf/url/src/RawURLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/RawURLBuffer.h.
6502 (WTF::RawURLBuffer::RawURLBuffer):
6503 (WTF::RawURLBuffer::~RawURLBuffer):
6504 (WTF::RawURLBuffer::resize):
6505 * wtf/url/src/URLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLBuffer.h.
6508 (WTF::URLBuffer::URLBuffer):
6509 (WTF::URLBuffer::~URLBuffer):
6510 (WTF::URLBuffer::at):
6511 (WTF::URLBuffer::set):
6512 (WTF::URLBuffer::capacity):
6513 (WTF::URLBuffer::length):
6514 (WTF::URLBuffer::data):
6515 (WTF::URLBuffer::setLength):
6516 (WTF::URLBuffer::append):
6517 (WTF::URLBuffer::grow):
6518 * wtf/url/src/URLCharacterTypes.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.cpp.
6520 * wtf/url/src/URLCharacterTypes.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.h.
6522 (URLCharacterTypes):
6523 (WTF::URLCharacterTypes::isQueryChar):
6524 (WTF::URLCharacterTypes::isIPv4Char):
6525 (WTF::URLCharacterTypes::isHexChar):
6526 (WTF::URLCharacterTypes::isCharOfType):
6527 * wtf/url/src/URLComponent.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLComponent.h.
6530 (WTF::URLComponent::URLComponent):
6531 (WTF::URLComponent::fromRange):
6532 (WTF::URLComponent::isValid):
6533 (WTF::URLComponent::isNonEmpty):
6534 (WTF::URLComponent::isEmptyOrInvalid):
6535 (WTF::URLComponent::reset):
6536 (WTF::URLComponent::operator==):
6537 (WTF::URLComponent::begin):
6538 (WTF::URLComponent::setBegin):
6539 (WTF::URLComponent::length):
6540 (WTF::URLComponent::setLength):
6541 (WTF::URLComponent::end):
6542 * wtf/url/src/URLEscape.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.cpp.
6544 * wtf/url/src/URLEscape.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.h.
6546 (WTF::appendURLEscapedCharacter):
6547 * wtf/url/src/URLParser.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLParser.h.
6550 (WTF::URLParser::isPossibleAuthorityTerminator):
6551 (WTF::URLParser::parseAuthority):
6552 (WTF::URLParser::extractScheme):
6553 (WTF::URLParser::parseAfterScheme):
6554 (WTF::URLParser::parseStandardURL):
6555 (WTF::URLParser::parsePath):
6556 (WTF::URLParser::parsePathURL):
6557 (WTF::URLParser::parseMailtoURL):
6558 (WTF::URLParser::parsePort):
6559 (WTF::URLParser::extractFileName):
6560 (WTF::URLParser::extractQueryKeyValue):
6561 (WTF::URLParser::isURLSlash):
6562 (WTF::URLParser::shouldTrimFromURL):
6563 (WTF::URLParser::trimURL):
6564 (WTF::URLParser::consecutiveSlashes):
6565 (WTF::URLParser::isPortDigit):
6566 (WTF::URLParser::nextAuthorityTerminator):
6567 (WTF::URLParser::parseUserInfo):
6568 (WTF::URLParser::parseServerInfo):
6569 * wtf/url/src/URLQueryCanonicalizer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLQueryCanonicalizer.h.
6571 (URLQueryCanonicalizer):
6572 (WTF::URLQueryCanonicalizer::canonicalize):
6573 (WTF::URLQueryCanonicalizer::isAllASCII):
6574 (WTF::URLQueryCanonicalizer::isRaw8Bit):
6575 (WTF::URLQueryCanonicalizer::appendRaw8BitQueryString):
6576 (WTF::URLQueryCanonicalizer::convertToQueryEncoding):
6577 * wtf/url/src/URLSegments.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.cpp.
6579 (WTF::URLSegments::length):
6580 (WTF::URLSegments::charactersBefore):
6581 * wtf/url/src/URLSegments.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.h.
6584 (WTF::URLSegments::URLSegments):
6585 * wtf/win/MainThreadWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/MainThreadWin.cpp.
6587 (WTF::ThreadingWindowWndProc):
6588 (WTF::initializeMainThreadPlatform):
6589 (WTF::scheduleDispatchFunctionsOnMainThread):
6590 * wtf/win/OwnPtrWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/OwnPtrWin.cpp.
6592 (WTF::deleteOwnedPtr):
6593 * wtf/wince/FastMallocWinCE.h: Renamed from Source/JavaScriptCore/wtf/wince/FastMallocWinCE.h.
6597 (operator delete[]):
6601 (WTF::Internal::fastMallocMatchValidationType):
6602 (WTF::Internal::fastMallocMatchValidationValue):
6603 (WTF::Internal::setFastMallocMatchValidationType):
6604 (WTF::fastMallocMatchValidateMalloc):
6605 (WTF::fastMallocMatchValidateFree):
6606 * wtf/wince/MemoryManager.cpp: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.cpp.
6608 (WTF::memoryManager):
6609 (WTF::MemoryManager::MemoryManager):
6610 (WTF::MemoryManager::~MemoryManager):
6611 (WTF::MemoryManager::createCompatibleBitmap):
6612 (WTF::MemoryManager::createDIBSection):
6613 (WTF::MemoryManager::m_malloc):
6614 (WTF::MemoryManager::m_calloc):
6615 (WTF::MemoryManager::m_realloc):
6616 (WTF::MemoryManager::m_free):
6617 (WTF::MemoryManager::resizeMemory):
6618 (WTF::MemoryManager::allocate64kBlock):
6619 (WTF::MemoryManager::free64kBlock):
6620 (WTF::MemoryManager::onIdle):
6621 (WTF::MemoryManager::virtualAlloc):
6622 (WTF::MemoryManager::virtualFree):
6627 (WTF::fastMallocForbid):
6628 (WTF::fastMallocAllow):
6629 (WTF::fastZeroedMalloc):
6630 (WTF::tryFastMalloc):
6631 (WTF::tryFastZeroedMalloc):
6632 (WTF::tryFastCalloc):
6633 (WTF::tryFastRealloc):
6635 * wtf/wince/MemoryManager.h: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.h.
6638 (WTF::MemoryManager::allocationCanFail):
6639 (WTF::MemoryManager::setAllocationCanFail):
6640 (MemoryAllocationCanFail):
6641 (WTF::MemoryAllocationCanFail::MemoryAllocationCanFail):
6642 (WTF::MemoryAllocationCanFail::~MemoryAllocationCanFail):
6643 (MemoryAllocationCannotFail):
6644 (WTF::MemoryAllocationCannotFail::MemoryAllocationCannotFail):
6645 (WTF::MemoryAllocationCannotFail::~MemoryAllocationCannotFail):
6646 * wtf/wx/MainThreadWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/MainThreadWx.cpp.
6648 (wxCallAfter::wxCallAfter):
6649 (wxCallAfter::OnCallback):
6651 (WTF::initializeMainThreadPlatform):
6652 (WTF::scheduleDispatchFunctionsOnMainThread):
6653 * wtf/wx/StringWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/StringWx.cpp.
6655 (WTF::String::String):
6656 (WTF::String::operator wxString):
6658 2012-03-22 Hyowon Kim <hw1008.kim@samsung.com>
6660 [EFL] Add PageClientEfl to WebCoreSupport.
6661 https://bugs.webkit.org/show_bug.cgi?id=80748
6663 Reviewed by Noam Rosenthal.
6665 * wtf/Platform.h: Disable accelerated compositing. It's not ready yet.
6667 2012-03-21 Beth Dakin <bdakin@apple.com>
6669 https://bugs.webkit.org/show_bug.cgi?id=80322
6672 Reviewed by Dean Jackson.
6674 For the time being, image-set is opt-in since the implementation is
6677 Add an ENABLE flag for image-set.
6680 2012-03-21 Jessie Berlin <jberlin@apple.com>
6682 Fix the Windows build after r111504.
6684 * WTF.vcproj/WTF.vcproj:
6685 Platform.h was moved to Source/WTF.
6686 * WTF.vcproj/copy-files.cmd:
6687 Copy Platform.h from its new source location. This separate copy will not be necessary once
6688 the full move is done and all the headers are being copied at once from the new locations.
6690 2012-03-21 Jessie Berlin <jberlin@apple.com>
6692 WTF headers should be in $(ConfigurationBuildDir)\include\private\wtf, not
6693 $(ConfigurationBuildDir)\include\private\JavaScriptCore\wtf.
6694 https://bugs.webkit.org/show_bug.cgi?id=81739
6696 Reviewed by Dan Bernstein.
6698 * WTF.vcproj/copy-files.cmd:
6699 Copy the headers to private/include/wtf instead of private/include/JavaScriptCore/wtf.
6701 2012-03-20 Eric Seidel <eric@webkit.org>
6703 Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
6704 https://bugs.webkit.org/show_bug.cgi?id=80911
6706 Reviewed by Adam Barth.
6708 Update build systems to account for the new location of Platform.h
6710 * GNUmakefile.list.am:
6713 * WTF.vcproj/WTF.vcproj:
6714 * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py:
6715 (react_to_vsprops_changes):
6716 * WTF.xcodeproj/project.pbxproj:
6717 * config.h: I don't think this change is 100% correct (but seemed to be needed to make qt-wk2 build)
6718 - This dependency on JSC should be removed regardless (in a later patch).
6719 * wtf/Platform.h: Renamed from Source/JavaScriptCore/wtf/Platform.h.
6721 2012-03-20 Steve Falkenburg <sfalken@apple.com>
6723 Move WTF-related Windows project files out of JavaScriptCore
6724 https://bugs.webkit.org/show_bug.cgi?id=80680
6726 This change only moves the vcproj and related files from JavaScriptCore/JavaScriptCore.vcproj/WTF.
6727 It does not move any source code. This is in preparation for the WTF source move out of
6730 Reviewed by Jessie Berlin.
6732 * WTF.vcproj: Added.
6733 * WTF.vcproj/WTF.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj.
6734 * WTF.vcproj/WTFCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFCommon.vsprops.
6735 * WTF.vcproj/WTFDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebug.vsprops.
6736 * WTF.vcproj/WTFDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugAll.vsprops.
6737 * WTF.vcproj/WTFDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugCairoCFLite.vsprops.
6738 * WTF.vcproj/WTFGenerated.make: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.make.
6739 * WTF.vcproj/WTFGenerated.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.vcproj.
6740 * WTF.vcproj/WTFGeneratedCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedCommon.vsprops.
6741 * WTF.vcproj/WTFGeneratedDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebug.vsprops.
6742 * WTF.vcproj/WTFGeneratedDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugAll.vsprops.
6743 * WTF.vcproj/WTFGeneratedDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugCairoCFLite.vsprops.
6744 * WTF.vcproj/WTFGeneratedProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedProduction.vsprops.
6745 * WTF.vcproj/WTFGeneratedRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedRelease.vsprops.
6746 * WTF.vcproj/WTFGeneratedReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedReleaseCairoCFLite.vsprops.
6747 * WTF.vcproj/WTFPostBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd.
6748 * WTF.vcproj/WTFPreBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd.
6749 * WTF.vcproj/WTFProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFProduction.vsprops.
6750 * WTF.vcproj/WTFRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFRelease.vsprops.
6751 * WTF.vcproj/WTFReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops.
6752 * WTF.vcproj/build-generated-files.sh: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/build-generated-files.sh.
6753 * WTF.vcproj/copy-files.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/copy-files.cmd.
6754 * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/work-around-vs-dependency-tracking-bugs.py.
6756 2012-03-20 Peter Beverloo <peter@chromium.org>
6758 [Chromium] Fix the Android build by building NEWWTF for host
6759 https://bugs.webkit.org/show_bug.cgi?id=81643
6761 Reviewed by Tony Gentilcore.
6763 Chromium for Android builds the ImageDiff target for the host architecture,
6764 so all dependencies it has need to be able to build for host as well.
6765 r111258 added (new)WTF as a dependency instead of just including the
6766 header files, so make it possible to build the newwtf target for host.
6770 2012-03-19 Dan Bernstein <mitz@apple.com>
6772 Set the svn:ignore property on the Xcode project.
6774 * WTF.xcodeproj: Added property svn:ignore.
6776 2012-03-16 Mark Rowe <mrowe@apple.com>
6778 Build fix. Do not preserve owner and group information when installing the WTF headers.
6780 * WTF.xcodeproj/project.pbxproj:
6782 2012-03-07 Mark Rowe <mrowe@apple.com>
6784 Teach make to build WTF.
6788 2012-02-11 Filip Pizlo <fpizlo@apple.com>
6790 It should be possible to send all JSC debug logging to a file
6791 https://bugs.webkit.org/show_bug.cgi?id=78418
6793 Reviewed by Sam Weinig.
6795 Introduced wtf/DataLog, which defines WTF::dataFile, WTF::dataLog,
6796 and WTF::dataLogV. Changed all debugging- and profiling-related printfs
6797 to use WTF::dataLog() or one of its friends. By default, debug logging
6798 goes to stderr, unless you change the setting in wtf/DataLog.cpp.
6802 2012-02-03 Simon Hausmann <simon.hausmann@nokia.com>
6804 [Qt] Fix build when cross-compiling
6805 https://bugs.webkit.org/show_bug.cgi?id=77634
6807 Reviewed by Tor Arne Vestbø.
6809 * WTF.pri: Don't use icu-config for determining the library search
6810 path and libraries needed for ICU. Either we use icu-config for includes
6811 _and_ libraries or we don't. Right now we assume that icu is a system library
6812 and expect the headers in the default include search pathes (/usr/include for example).
6813 However we use icu-config to figure out where the libraries are, which breaks when
6814 cross-compiling, because icu-config isn't cross-compile friendly (I wish icu was using
6815 pkg-config). I think for the time being we should require ICU as a _system_ library,
6816 which implies the header and library availability in default search paths. This also
6817 makes the build succeed when cross-compiling with --sysroot.
6819 2012-01-27 Zeno Albisser <zeno@webkit.org>
6821 [Qt][Mac] Build fails after adding ICU support (r105997).
6822 https://bugs.webkit.org/show_bug.cgi?id=77118
6824 Link to libicucore if platform Mac.
6826 Reviewed by Tor Arne Vestbø.
6830 2012-01-26 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
6832 [Qt] Use ICU if available
6833 https://bugs.webkit.org/show_bug.cgi?id=76821
6835 Reviewed by Simon Hausmann.
6837 Adding libicu dependencies for a Qt5 based build.
6841 2012-01-26 Csaba Osztrogonác <ossy@webkit.org>
6843 [Qt][Win] One more speculative buildfix after r105970.
6847 2012-01-26 Nikolas Zimmermann <nzimmermann@rim.com>
6849 Not reviewed. Try to fix Qt/Win build by building OwnPtrWin.cpp into the WTF library.
6853 2012-01-19 Joi Sigurdsson <joi@chromium.org>
6855 Enable use of precompiled headers in Chromium port on Windows.
6857 Bug 76381 - Use precompiled headers in Chromium port on Windows
6858 https://bugs.webkit.org/show_bug.cgi?id=76381
6860 Reviewed by Tony Chang.
6862 * WTF.gyp/WTF.gyp: Include WinPrecompile.gypi.
6864 2012-01-18 Roland Takacs <takacs.roland@stud.u-szeged.hu>
6866 Cross-platform processor core counter
6867 https://bugs.webkit.org/show_bug.cgi?id=76530
6869 Reviewed by Zoltan Herczeg.
6871 Two files have been added to the project, namely NumberOfCores.h/cpp,
6872 that include a CPU core number determining function.
6876 2012-01-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
6878 Uint8ClampedArray support
6879 https://bugs.webkit.org/show_bug.cgi?id=74455
6881 Reviewed by Filip Pizlo.
6885 2012-01-13 Alexis Menard <alexis.menard@openbossa.org>
6887 Unreviewed build fix for Qt SnowLeopard build bot.
6889 This is a workaround for the moment.
6893 2012-01-12 Simon Hausmann <simon.hausmann@nokia.com>
6895 Make the new WTF module build on Qt
6896 https://bugs.webkit.org/show_bug.cgi?id=76163
6898 Reviewed by Tor Arne Vestbø.
6900 With this change the WTF sources are built _here_ but _from_ their old location using a VPATH.
6902 * WTF.pri: Renamed from Source/JavaScriptCore/wtf/wtf.pri.
6903 * WTF.pro: Renamed from Source/JavaScriptCore/wtf/wtf.pro.
6904 * config.h: Bring this file in sync with JavaScriptCore/config.h with regards to the inclusion
6905 / definition of the export macros.
6907 2012-01-06 Benjamin Poulain <bpoulain@apple.com>
6909 [Mac] Sort the resources of WTF.xcodeproj
6910 https://bugs.webkit.org/show_bug.cgi?id=75639
6912 Reviewed by Andreas Kling.
6914 * WTF.xcodeproj/project.pbxproj:
6916 2012-01-06 Eric Seidel <eric@webkit.org> and Gustavo Noronha Silva <gustavo.noronha@collabora.com>
6918 Make the new WTF module build on Gtk
6919 https://bugs.webkit.org/show_bug.cgi?id=75669
6921 * GNUmakefile.am: Added.
6922 * GNUmakefile.list.am: Added.
6924 2011-11-19 Adam Barth <abarth@webkit.org>
6926 Integrate Source/WTF with the Chromium build system
6927 https://bugs.webkit.org/show_bug.cgi?id=72790
6929 Reviewed by Eric Seidel.
6931 Rename the target in this file to "newwtf" to avoid naming conflicts.
6935 2011-11-19 Mark Rowe <mrowe@apple.com>
6937 WTF should have an Xcode project
6938 https://bugs.webkit.org/show_bug.cgi?id=71752
6940 Reviewed by Adam Barth.
6942 This adds an Xcode project that includes only Stub.cpp and Stub.h.
6943 They’re built in to a library at the appropriate path for each
6944 configuration (WebKitBuild/{Debug,Release}/libWTF.a and
6945 /usr/local/lib/libWTF.a) and headers are installed in to the
6946 appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf
6947 and /usr/local/include/wtf). I tested building WTF in this project and
6948 everything appears to build except for DateMath.cpp (due to bug 71747).
6949 I have not yet done any work on making JavaScriptCore and other
6950 projects use the built products of this new project.
6952 * Configurations: Added.
6953 * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig.
6954 * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig.
6955 * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig.
6956 * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig.
6957 * WTF.xcodeproj: Added.
6958 * WTF.xcodeproj/project.pbxproj: Added.
6959 * config.h: Copied from Source/JavaScriptCore/config.h.
6961 * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE.
6962 * icu/README: Copied from Source/JavaScriptCore/icu/README.
6963 * icu/unicode: Added.
6964 * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h.
6965 * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h.
6966 * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h.
6967 * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h.
6968 * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h.
6969 * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h.
6970 * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h.
6971 * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h.
6972 * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h.
6973 * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h.
6974 * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h.
6975 * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h.
6976 * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h.
6977 * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h.
6978 * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h.
6979 * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h.
6980 * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h.
6981 * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h.
6982 * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h.
6983 * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h.
6984 * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h.
6985 * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h.
6986 * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h.
6988 2011-11-03 Adam Barth <abarth@webkit.org>
6990 Add Stub.h and Stub.cpp to Source-level WTF project
6991 https://bugs.webkit.org/show_bug.cgi?id=71497
6993 Reviewed by Eric Seidel.
6995 This patch adds some stub files and a skelton GYP build file as a
6996 starting point for the new Source-level WTF project. Other build
6997 systems and actual code will arrive in future patches.
7001 * WTF.gyp/WTF.gyp: Added.
7004 2011-11-02 Adam Barth <abarth@webkit.org>
7006 Add stubs for WTF and Platform
7007 https://bugs.webkit.org/show_bug.cgi?id=71492
7009 Reviewed by Eric Seidel.
7011 This patch creates the WTF directory, which begins the process of
7012 moving WTF out of JavaScriptCore.