1 2012-11-07 Christophe Dumez <christophe.dumez@intel.com>
3 Add replaceWithLiteral() method to WTF::String
4 https://bugs.webkit.org/show_bug.cgi?id=101257
6 Reviewed by Benjamin Poulain.
8 Add replaceWithLiteral() method to WTF::String that takes
9 replacement string as a literal to avoid uselessly constructing
12 * wtf/text/StringImpl.cpp:
13 (WTF::StringImpl::replace):
15 * wtf/text/StringImpl.h:
16 (WTF::StringImpl::replace):
18 * wtf/text/WTFString.h:
20 (WTF::String::replaceWithLiteral):
22 2012-09-09 Mark Lam <mark.lam@apple.com>
24 Fixed ASSERT() and ASSERT_AT() macros so that they can be used in
25 comma expressions. Also, added UNUSED_LABEL().
26 https://bugs.webkit.org/show_bug.cgi?id=96127.
28 Reviewed by Geoffrey Garen.
31 * wtf/UnusedParam.h: Added UNUSED_LABEL(). Removed an obsolete comment.
33 2012-09-07 Sheriff Bot <webkit.review.bot@gmail.com>
35 Unreviewed, rolling out r127938.
36 http://trac.webkit.org/changeset/127938
37 https://bugs.webkit.org/show_bug.cgi?id=96166
39 It broke the build (Requested by smfr on #webkit).
43 2012-09-07 Mark Lam <mark.lam@apple.com>
45 Fixed ASSERT() and ASSERT_AT() macros so that they can be used in
47 https://bugs.webkit.org/show_bug.cgi?id=96127.
49 Reviewed by Filip Pizlo.
54 2012-09-01 Mark Lam <mark.lam@apple.com>
57 https://bugs.webkit.org/show_bug.cgi?id=91052.
59 Reviewed by Filip Pizlo.
61 Added configs for the llint C loop backend.
65 2012-08-30 Mark Lam <mark.lam@apple.com>
67 Render unto #ifdef's that which belong to them.
68 https://bugs.webkit.org/show_bug.cgi?id=95482.
70 Reviewed by Filip Pizlo.
72 * wtf/Platform.h: Added ENABLE(COMPUTED_GOTO_OPCODES).
74 2012-07-28 Patrick Gansterer <paroga@webkit.org>
76 [WIN] Add missing export macro to friend decleration.
78 Since the __declspec is part of the function signature
79 on windows, we need it at all friend declerations too.
83 2012-07-28 Patrick Gansterer <paroga@webkit.org>
85 [CMake] Add missing MediaTime files after r123878.
89 2012-07-28 Patrick Gansterer <paroga@webkit.org>
91 Remove obsolete functions from WTF::Unicode
92 https://bugs.webkit.org/show_bug.cgi?id=92571
94 Reviewed by Kentaro Hara.
96 Remove hasLineBreakingPropertyComplexContextOrIdeographic() and digitValue(),
97 since they are never used and defined for a few Unicode backends only.
99 * wtf/unicode/glib/UnicodeGLib.h:
100 * wtf/unicode/icu/UnicodeIcu.h:
102 2012-07-27 Sheriff Bot <webkit.review.bot@gmail.com>
104 Unreviewed, rolling out r123679.
105 http://trac.webkit.org/changeset/123679
106 https://bugs.webkit.org/show_bug.cgi?id=92565
108 Slowed down HTML parsing by 3.6% (Requested by abarth on
111 * wtf/text/WTFString.h:
113 2012-07-27 Arnaud Renevier <a.renevier@sisa.samsung.com>
115 use createUninitialized when creating TypedArray from another array
116 https://bugs.webkit.org/show_bug.cgi?id=92518
118 Reviewed by Kenneth Russell.
120 Expose a createUninitialized static method on TypedArray classes.
122 * wtf/Float32Array.h:
124 (WTF::Float32Array::createUninitialized):
126 * wtf/Float64Array.h:
128 (WTF::Float64Array::createUninitialized):
132 (WTF::Int16Array::createUninitialized):
136 (WTF::Int32Array::createUninitialized):
140 (WTF::Int8Array::createUninitialized):
144 (WTF::Uint16Array::createUninitialized):
148 (WTF::Uint32Array::createUninitialized):
152 (WTF::Uint8Array::createUninitialized):
154 * wtf/Uint8ClampedArray.h:
157 2012-07-27 Patrick Gansterer <paroga@webkit.org>
159 [WINCE] Use macros from ICU instead of defining the same functionality again
160 https://bugs.webkit.org/show_bug.cgi?id=92530
162 Reviewed by Ryosuke Niwa.
164 Replace isHighSurrogate() with U16_IS_LEAD(), isLowSurrogate() with
165 U16_IS_TRAIL() and surrogateToUcs4() with U16_GET_SUPPLEMENTARY().
167 * wtf/unicode/wince/UnicodeWinCE.h:
169 2012-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
171 [Qt] Fix build after r123917
172 https://bugs.webkit.org/show_bug.cgi?id=92555
176 * wtf/GregorianDateTime.h: Needs string.h for memset().
178 2012-07-27 Paweł Forysiuk <tuxator@o2.pl>
180 MinGW build fails because of missing header in GregorianDateTime.h
181 https://bugs.webkit.org/show_bug.cgi?id=92531
183 * wtf/GregorianDateTime.h: Include time.h
185 2012-07-27 Jer Noble <jer.noble@apple.com>
187 Unreviewed build fix.
189 Use MathExtras.h and the non std:: versions of isnan and signbit.
192 (WTF::MediaTime::createWithFloat):
193 (WTF::MediaTime::createWithDouble):
195 2012-07-27 Jer Noble <jer.noble@apple.com>
197 Support a rational time class for use by media elements.
198 https://bugs.webkit.org/show_bug.cgi?id=88787
200 Reviewed by Eric Carlson.
202 Add a new MediaTime class which implements rational math operations.
204 Add common constructors and assignment operators:
205 * wtf/MediaTime.cpp: Added.
206 (WTF::MediaTime::MediaTime):
207 (WTF::MediaTime::~MediaTime):
208 (WTF::MediaTime::operator=):
210 Add common math operators:
212 (WTF::MediaTime::operator+):
213 (WTF::MediaTime::operator-):
214 (WTF::MediaTime::operator<):
215 (WTF::MediaTime::operator>):
216 (WTF::MediaTime::operator==):
217 (WTF::MediaTime::operator>=):
218 (WTF::MediaTime::operator<=):
220 Add functions to check the MeiaTime time type flags:
222 (WTF::MediaTime::isValid):
223 (WTF::MediaTime::isInvalid):
224 (WTF::MediaTime::hasBeenRounde):
225 (WTF::MediaTime::isPositiveInfinite):
226 (WTF::MediaTime::isNegativeInfinite):
227 (WTF::MediaTime::isIndefinite):
229 Add constants for commonly used MediaTime values:
230 (WTF::MediaTime::zeroTime):
231 (WTF::MediaTime::invalidTime):
232 (WTF::MediaTime::positiveInfiniteTime):
233 (WTF::MediaTime::negativeInfiniteTime):
234 (WTF::MediaTime::indefiniteTime):
236 Add explicit conversion functions to convert to and from floating point values.
238 (WTF::MediaTime::createWithFloat):
239 (WTF::MediaTime::createWithDouble):
240 (WTF::MediaTime::toFloat):
241 (WTF::MediaTime::toDouble):
243 Add some useful exported functions:
245 (WTF::MediaTime::compare): Master function for the comparison operators above.
246 (WTF::MediaTime::setTimeScale): Rescale the time value to a new time scale.
247 (WTF::abs): Return an absolute value for the current MediaTime.
249 Static utility functions to implement the above:
251 (WTF::greatestCommonDivisor):
252 (WTF::leastCommonMultiple):
255 Windows-only implementations of isinf and signbit:
260 Add the new class to platform build files:
261 * GNUmakefile.list.am:
264 * WTF.vcproj/WTF.vcproj:
265 * WTF.xcodeproj/project.pbxproj:
267 2012-07-27 Wei James <james.wei@intel.com>
269 set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
270 https://bugs.webkit.org/show_bug.cgi?id=91746
272 Reviewed by Adam Barth.
274 This patch is part of efforts to enable web audio for chromium android.
275 Web audio component needs to use atomicIncrement and atomicDecrement,
276 which are enabled by this MACRO.
278 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
279 this patch standalone.
284 2012-07-27 Wei James <james.wei@intel.com>
286 set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
287 https://bugs.webkit.org/show_bug.cgi?id=91746
289 Reviewed by Adam Barth.
291 This patch is part of efforts to enable web audio for chromium android.
292 Web audio component needs to use atomicIncrement and atomicDecrement,
293 which are enabled by this MACRO.
295 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
296 this patch standalone.
301 2012-07-26 Arnaud Renevier <a.renevier@sisa.samsung.com>
303 constructing TypedArray from another TypedArray is slow
304 https://bugs.webkit.org/show_bug.cgi?id=90838
306 Reviewed by Kenneth Russell.
308 Introduce virtual method getType on ArrayBufferView. It returns the actual
309 type of the view. This method replaces previous is<Type>Array() methods.
311 * wtf/ArrayBufferView.h:
312 * wtf/Float32Array.h:
313 (WTF::Float32Array::getType):
315 * wtf/Float64Array.h:
316 (WTF::Float64Array::getType):
319 (WTF::Int16Array::getType):
322 (WTF::Int32Array::getType):
325 (WTF::Int8Array::getType):
327 * wtf/IntegralTypedArrayBase.h:
328 * wtf/TypedArrayBase.h:
330 (WTF::TypedArrayBase::item):
332 (WTF::Uint16Array::getType):
335 (WTF::Uint32Array::getType):
338 (WTF::Uint8Array::getType):
340 * wtf/Uint8ClampedArray.h:
341 (WTF::Uint8ClampedArray::getType):
344 2012-07-26 Zeno Albisser <zeno@webkit.org>
346 [Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
347 https://bugs.webkit.org/show_bug.cgi?id=88638
349 Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
350 the servicing of scripted animations to layer syncing for WK2.
351 For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
353 Reviewed by Jocelyn Turcotte.
357 2012-07-26 Yury Semikhatsky <yurys@chromium.org>
359 Unreviewed. Revert r123740 as it breaks AppleMac compilation.
361 * wtf/text/StringImpl.cpp:
362 * wtf/text/StringImpl.h:
364 2012-07-26 Yury Semikhatsky <yurys@chromium.org>
366 Web Inspector: move StringImpl size calculation to StringImpl
367 https://bugs.webkit.org/show_bug.cgi?id=92359
369 Reviewed by Pavel Feldman.
371 Moved stringSize(StringImpl*) implementation from InspectorMemoryAgent to
372 StringImpl::sizeInBytes();
374 * wtf/text/StringImpl.cpp:
375 (WTF::StringImpl::sizeInBytes):
377 * wtf/text/StringImpl.h:
380 2012-07-25 Benjamin Poulain <bpoulain@apple.com>
382 Initialize QualifiedName's strings from the read only data segment
383 https://bugs.webkit.org/show_bug.cgi?id=92226
385 Reviewed by Anders Carlsson.
387 Add constructors for StringImpl and AtomicString to be able to create
388 the strings from the literal in read only memory.
390 * wtf/text/AtomicString.cpp:
391 (HashTranslatorCharBuffer):
392 (WTF::LCharBufferFromLiteralDataTranslator::hash):
393 (LCharBufferFromLiteralDataTranslator):
394 (WTF::LCharBufferFromLiteralDataTranslator::equal):
395 (WTF::LCharBufferFromLiteralDataTranslator::translate):
396 (WTF::AtomicString::addFromLiteralData):
397 * wtf/text/AtomicString.h:
398 (WTF::AtomicString::AtomicString):
400 * wtf/text/StringImpl.cpp:
401 (WTF::StringImpl::createFromLiteral):
402 * wtf/text/StringImpl.h:
405 (WTF::StringImpl::createFromLiteral):
407 2012-07-25 Michael Saboff <msaboff@apple.com>
409 Convert HTML parser to handle 8-bit resources without converting to UChar*
410 https://bugs.webkit.org/show_bug.cgi?id=90321
412 Reviewed by Geoffrey Garen.
414 * wtf/text/WTFString.h:
415 (WTF::String::dataSize): New method to return the number of bytes
416 the string requires. This replaces a harcoded calculation based on
417 length and sizeof(UChar).
419 2012-07-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
421 Create a specialized pair for use in HashMap iterators
422 https://bugs.webkit.org/show_bug.cgi?id=92137
424 Reviewed by Ryosuke Niwa.
426 The type used for internal storage in HashMap is exposed in its interface as iterator
427 "contents". Currently HashMap uses std::pair<>, which this patch replaces with
430 Having this specialized structure will allow us to customize the members to be called
431 key/value, improving readability in code using HashMap iterators. They are still called
432 first/second to separate this change from the mechanical change of updating callsites.
434 * wtf/HashIterators.h:
435 (HashTableConstKeysIterator):
436 (HashTableConstValuesIterator):
437 (HashTableKeysIterator):
438 (HashTableValuesIterator):
439 Use KeyValuePair instead of std::pair when defining the iterators.
443 (WTF::KeyValuePairKeyExtractor::extract):
445 Remove PairFirstExtractor. Add and use the KeyValuePair corresponding extractor.
447 (WTF::HashMapValueTraits::isEmptyValue): Use KeyValuePairHashTraits for HashMaps.
448 (WTF::HashMapTranslator::translate):
449 (WTF::HashMapTranslatorAdapter::translate):
450 The traits of the mapped value is now called ValueTraits instead of SecondTraits.
453 (WTF::hashTableSwap): Add specialization for swapping KeyValuePairs.
454 (WTF): Remove now unneeded specialization for std::pairs.
458 (WTF::KeyValuePair::KeyValuePair):
460 Specialized pair. In the future difference from pair should be the member names.
462 (KeyValuePairHashTraits):
463 (WTF::KeyValuePairHashTraits::emptyValue):
464 (WTF::KeyValuePairHashTraits::constructDeletedValue):
465 (WTF::KeyValuePairHashTraits::isDeletedValue):
466 These traits are analogous to PairHashTraits but for KeyValuePair.
468 * wtf/RefPtrHashMap.h: Use KeyValuePairHashTraits.
470 2012-07-25 Andrew Wilson <atwilson@chromium.org>
472 Unreviewed, rolling out r123560.
473 http://trac.webkit.org/changeset/123560
474 https://bugs.webkit.org/show_bug.cgi?id=90321
476 Breaks chromium valgrind tests.
478 * wtf/text/WTFString.h:
480 2012-07-25 Csaba Osztrogonác <ossy@webkit.org>
482 [Qt] There are parallel GC related crashes regularly
483 https://bugs.webkit.org/show_bug.cgi?id=90957
485 Rubber-stamped by Zoltan Herczeg.
487 * wtf/Platform.h: Disable parallel GC temporarily on Qt until proper fix.
489 2012-07-24 Benjamin Poulain <bpoulain@apple.com> && Joseph Pecoraro <pecoraro@apple.com>
491 QualifiedName's HashSet should be big enough to hold at least all the static names
492 https://bugs.webkit.org/show_bug.cgi?id=91891
494 Reviewed by Darin Adler.
496 Add a static struct to compute the HashTable capacity for any given size at compile time.
497 This allow us to create HashTraits giving the minimumSize without hardcoding the values.
501 (UpperPowerOfTwoBound):
502 (HashTableCapacityForSize): Compute the HashTable capacity at compile time.
504 2012-07-24 Michael Saboff <msaboff@apple.com>
506 Convert HTML parser to handle 8-bit resources without converting to UChar*
507 https://bugs.webkit.org/show_bug.cgi?id=90321
509 Reviewed by Geoffrey Garen.
511 * wtf/text/WTFString.h:
512 (WTF::String::dataSize): New method to return the number of bytes
513 the string requires. This replaces a harcoded calculation based on
514 length and sizeof(UChar).
516 2012-07-24 Sam Weinig <sam@webkit.org>
518 Add per-HashTable stats
519 https://bugs.webkit.org/show_bug.cgi?id=92185
521 Reviewed by Anders Carlsson.
523 Add per-HashTable stats, so we can look at the effectiveness of an individual HashTable.
526 (WTF::HashTable::Stats::Stats):
527 Add a HashTable::Stats to hold the stats.
529 (WTF::HashTable::Stats::recordCollisionAtCount):
530 (WTF::HashTable::Stats::dumpStats):
531 Add versions of recordCollisionAtCount and dumpStats for per-HashTable version.
534 Keep the stats, if enabled, in an OwnPtr, to not blow JSCell max size restrictions.
537 (WTF::lookupForWriting):
538 (WTF::fullLookupForWriting):
543 Keep track of the stats as the table is used.
545 2012-07-24 Patrick Gansterer <paroga@webkit.org>
547 Store the full year in GregorianDateTime
548 https://bugs.webkit.org/show_bug.cgi?id=92067
550 Reviewed by Geoffrey Garen.
552 Use the full year instead of the offset from year 1900
553 for the year member variable of GregorianDateTime.
555 * wtf/GregorianDateTime.h:
556 (WTF::GregorianDateTime::operator tm):
558 2012-07-23 Patrick Gansterer <paroga@webkit.org>
560 Move GregorianDateTime from JSC to WTF namespace
561 https://bugs.webkit.org/show_bug.cgi?id=91948
563 Reviewed by Geoffrey Garen.
565 Moving GregorianDateTime into the WTF namespace allows us to us to
566 use it in WebCore too. The new class has the same behaviour as the
567 old struct. Only the unused timeZone member has been removed.
569 * GNUmakefile.list.am:
572 * WTF.vcproj/WTF.vcproj:
573 * WTF.xcodeproj/project.pbxproj:
574 * wtf/CMakeLists.txt:
575 * wtf/GregorianDateTime.h: Added.
578 2012-07-23 Rob Buis <rbuis@rim.com>
580 [BlackBerry] Merge createThreadInternal implementations
581 https://bugs.webkit.org/show_bug.cgi?id=91899
587 Remove our implementation since the default thread stack size on QNX is fine.
589 * wtf/ThreadingPthreads.cpp:
590 (WTF::createThreadInternal):
591 (WTF::initializeCurrentThreadInternal): make sure we set the thread name.
593 2012-07-23 Patrick Gansterer <paroga@webkit.org>
595 [WINCE] Define NOMINMAX in the build system instead of Platform.h
596 https://bugs.webkit.org/show_bug.cgi?id=91938
598 Reviewed by Ryosuke Niwa.
602 2012-07-23 Patrick Gansterer <paroga@webkit.org>
604 Build fix for Windows after r123317.
606 * wtf/DateMath.cpp: Added missing header include.
608 2012-07-23 Patrick Gansterer <paroga@webkit.org>
610 [WIN] Use GetTimeZoneInformation() for calculateUTCOffset()
611 https://bugs.webkit.org/show_bug.cgi?id=91935
613 Reviewed by Ryosuke Niwa.
615 GetTimeZoneInformation() returns the offset directly. Using it
616 avoids unnecessary calculations and remove dependencies on
617 other time related function, which do not exist on WinCE.
620 (WTF::calculateUTCOffset):
622 2012-07-20 Han Shen <shenhan@google.com>
624 [Chromium] Compilation fails under gcc 4.7
625 https://bugs.webkit.org/show_bug.cgi?id=90227
627 Reviewed by Tony Chang.
629 Disable warnings about c++0x compatibility in gcc newer than 4.6.
633 2012-07-19 Dan Bernstein <mitz@apple.com>
635 The ATSUI-based complex text code is unused
636 https://bugs.webkit.org/show_bug.cgi?id=91816
638 Reviewed by Sam Weinig.
640 Removed definitions of WTF_USE_ATSUI and WTF_USE_CORE_TEXT.
644 2012-07-19 Wei James <james.wei@intel.com>
646 enable Web Audio for chromium android port
647 https://bugs.webkit.org/show_bug.cgi?id=89428
649 Reviewed by Kenneth Russell.
655 2012-07-19 Scott Graham <scottmg@chromium.org>
657 [Chromium] disable warning on Windows from gcc-only pragma in Assertions.cpp"
658 https://bugs.webkit.org/show_bug.cgi?id=91776
660 Reviewed by Ryosuke Niwa.
663 ...\source\wtf\wtf\assertions.cpp(31) : warning C4068: unknown pragma
667 2012-07-19 Robert Sesek <rsesek@chromium.org>
669 [chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
670 https://bugs.webkit.org/show_bug.cgi?id=91752
672 Reviewed by Eric Seidel.
674 When building CHROMIUM && DARWIN, do not enable ATSUI support.
678 2012-07-18 Yong Li <yoli@rim.com>
680 [BlackBerry] Implement currentTime() and monotonicallyIncreasingTime() for OS(QNX)
681 https://bugs.webkit.org/show_bug.cgi?id=91659
683 Reviewed by Rob Buis.
685 Implement currentTime() and monotonicallyIncreasingTime() for OS(QNX) with clock_gettime().
687 * wtf/CurrentTime.cpp:
690 (WTF::monotonicallyIncreasingTime):
692 2012-07-18 Tom Sepez <tsepez@chromium.org>
694 OOB read of stack buffer below DoubleToStringConverter::CreateExponentialRepresentation() in debug builds
695 https://bugs.webkit.org/show_bug.cgi?id=91642
697 Reviewed by Abhishek Arya.
699 * wtf/dtoa/double-conversion.cc:
700 (DoubleToStringConverter::CreateExponentialRepresentation): NUL-terminate string buffer before passing it to StringBuilder::AddSubstring()
702 2012-07-18 Michael Saboff <msaboff@apple.com>
704 Make TextCodecLatin1 handle 8 bit data without converting to UChar's
705 https://bugs.webkit.org/show_bug.cgi?id=90319
707 Reviewed by Oliver Hunt.
709 * wtf/text/StringImpl.h:
710 (StringImpl): Exported LChar variant of adopt().
711 * wtf/text/WTFString.h:
712 (WTF::String::createUninitialized): Exported LChar variant.
714 2012-07-18 Rob Buis <rbuis@rim.com>
716 Alignment crash in MIMESniffer
717 https://bugs.webkit.org/show_bug.cgi?id=89787
723 Change isPointerTypeAlignmentOkay so calling it does not require ifdefs.
725 * wtf/StdLibExtras.h:
726 (isPointerTypeAlignmentOkay):
728 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
730 [Qt][V8] Remove the V8 related codepaths and configuration
731 https://bugs.webkit.org/show_bug.cgi?id=90863
733 Reviewed by Simon Hausmann.
737 2012-07-17 Sheriff Bot <webkit.review.bot@gmail.com>
739 Unreviewed, rolling out r122834.
740 http://trac.webkit.org/changeset/122834
741 https://bugs.webkit.org/show_bug.cgi?id=91492
743 it broke the chromium (Requested by kkristof on #webkit).
747 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
749 [Qt][V8] Remove the V8 related codepaths and configuration
750 https://bugs.webkit.org/show_bug.cgi?id=90863
752 Reviewed by Simon Hausmann.
756 2012-07-16 Hajime Morrita <morrita@chromium.org>
758 WebCore needs WEBCORE_TESTING macro to mark methods being exported for testing.
759 https://bugs.webkit.org/show_bug.cgi?id=90764
761 Reviewed by Adam Barth.
763 Added USE(EXPORT_MACROS_FOR_TESTING) and enabled it on GTK and Windows.
765 * wtf/ExportMacros.h:
768 2012-07-16 Filip Pizlo <fpizlo@apple.com>
770 Unreviewed build fix.
772 * wtf/FastMalloc.cpp:
773 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
775 2012-07-16 Adam Treat <atreat@rim.com>
777 [BlackBerry] Use newer version of platform API to implement callOnMainThread
778 https://bugs.webkit.org/show_bug.cgi?id=91404
782 Right now we're using an outdated API that involves a virtual function call for no reason.
783 Use the new API that is much more direct and to the point.
785 * wtf/blackberry/MainThreadBlackBerry.cpp:
786 (WTF::scheduleDispatchFunctionsOnMainThread):
788 2012-07-14 Filip Pizlo <fpizlo@apple.com>
790 Unreviewed, build fix.
792 * wtf/Assertions.cpp:
794 * wtf/unicode/icu/CollatorICU.cpp:
795 (WTF::Collator::userDefault):
797 2012-07-13 Xianzhu Wang <wangxianzhu@chromium.org>
799 Move WebCore/platform/text/Base64 to WTF/wtf/text
800 https://bugs.webkit.org/show_bug.cgi?id=91162
802 Reviewed by Adam Barth.
804 * GNUmakefile.list.am:
807 * WTF.vcproj/WTF.vcproj:
808 * WTF.xcodeproj/project.pbxproj:
809 * wtf/CMakeLists.txt:
810 * wtf/text/Base64.cpp: Renamed from Source/WebCore/platform/text/Base64.cpp.
814 (WTF::base64DecodeInternal):
815 * wtf/text/Base64.h: Renamed from Source/WebCore/platform/text/Base64.h.
819 2012-07-12 Carlos Garcia Campos <cgarcia@igalia.com>
821 [GTK] Add API to get HTTPS status to WebKit2 GTK+
822 https://bugs.webkit.org/show_bug.cgi?id=91100
824 Reviewed by Martin Robinson.
826 Add support for GByteArray.
828 * wtf/gobject/GRefPtr.cpp:
832 * wtf/gobject/GRefPtr.h:
834 * wtf/gobject/GTypedefs.h:
836 2012-07-12 Maciej Stachowiak <mjs@apple.com>
838 Document ListHashSet iteration guarantees
839 https://bugs.webkit.org/show_bug.cgi?id=91106
841 Reviewed by Eric Seidel.
844 (WTF): Expand class comment to document this.
846 2012-07-11 Mark Rowe <mrowe@apple.com>
848 <http://webkit.org/b/91024> Build against the latest SDK when targeting older OS X versions.
850 Reviewed by Dan Bernstein.
852 The deployment target is already set to the version that we're targeting, and it's that setting
853 which determines which functionality from the SDK is available to us.
855 * Configurations/Base.xcconfig:
857 2012-07-11 Mark Rowe <mrowe@apple.com>
859 Replace definitions of BUILDING_ON / TARGETING macros with macros that will error when used.
861 Part of <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros.
863 Reviewed by Anders Carlsson.
867 2012-07-11 Mark Rowe <mrowe@apple.com>
869 Switch a few cases that care about the SDK over to checking __MAC_OS_X_VERSION_MAX_ALLOWED so that things build.
871 Part of <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
873 Reviewed by Filip Pizlo.
875 * wtf/FastMalloc.cpp:
876 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary): The SDK we're building against determines how many elements
877 the structure is declared as having.
879 2012-07-11 Mark Rowe <mrowe@apple.com>
881 <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
883 This removal was handled by a script that translates the relevant macros in to the equivalent checks
884 using the system availability macros.
886 Reviewed by Filip Pizlo.
888 * wtf/Assertions.cpp:
889 * wtf/FastMalloc.cpp:
891 * wtf/ThreadingPthreads.cpp:
892 * wtf/unicode/icu/CollatorICU.cpp:
894 2012-07-11 Anders Carlsson <andersca@apple.com>
896 Add -Wtautological-compare and -Wsign-compare warning flags
897 https://bugs.webkit.org/show_bug.cgi?id=90994
899 Reviewed by Mark Rowe.
901 * Configurations/Base.xcconfig:
903 2012-07-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
905 Re-enable __declspec(dl{import,export}) for MinGW when using EXPORT_MACROS
906 https://bugs.webkit.org/show_bug.cgi?id=90612
908 Reviewed by Csaba Osztrogonác.
910 MinGW was switched to use auto import/export of symbols on r44184.
911 From my understanding of the documentation, MinGW will not auto-export symbols
912 unless there are no explicit __declspec(dlexport) in the DLL already.
914 The issues that originally made us rely on the auto-import feature of MinGW
915 should now be resolved with the EXPORT_MACROS work. This patch re-enables them.
917 It also removes the GCC check for internal symbols hiding as the visibility should
918 already be hidden by default for both MSVC and GCC on Windows anyway.
920 * wtf/ExportMacros.h:
922 2012-07-09 No'am Rosenthal <noam.rosenthal@nokia.com>
924 Shared code that is guarded with ENABLE(WEBGL) should be guarded with USE()
925 https://bugs.webkit.org/show_bug.cgi?id=90506
927 Reviewed by Martin Robinson.
929 Made USE(3D_GRAPHICS) default to true when ENABLE(WEBGL) is true.
930 Also updated the Qt default to always use TEXTURE_MAPPER, and to use TEXTURE_MAPPER_GL when
935 2012-07-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
937 Introduce a build flag for low quality JPEG images
938 https://bugs.webkit.org/show_bug.cgi?id=90748
940 Reviewed by Adam Barth.
942 Turn on the newly introduced flags for android.
946 2012-07-05 Filip Pizlo <fpizlo@apple.com>
948 INLINE_ARM_FUNCTION(thingy) should make thingy be thumb2 if we're using thumb2
949 https://bugs.webkit.org/show_bug.cgi?id=90644
951 Reviewed by Mark Hahnenberg.
953 Fix breakage introduced in http://trac.webkit.org/changeset/121885
957 2012-07-05 Zoltan Herczeg <zherczeg@webkit.org>
959 Port DFG JIT to traditional ARM
960 https://bugs.webkit.org/show_bug.cgi?id=90198
962 Reviewed by Filip Pizlo.
964 Enabling DFG JIT on ARM systems with 32 bit instruction set.
969 2012-07-04 Andy Wingo <wingo@igalia.com>
971 [GTK] Enable parallel GC
972 https://bugs.webkit.org/show_bug.cgi?id=90568
974 Reviewed by Martin Robinson.
976 * wtf/Platform.h: Add GTK to the ENABLE_PARALLEL_GC party.
978 2012-07-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
980 [Qt] Get rid of un-needed QT += declarative for Qt 5
982 The declarative module has been renamed to quick1 in Qt 5, and the
983 engine-only module for Qt 5 is named 'qml'. For many of the instances
984 we could just remove 'declarative', since the project file was only
985 used for Qt5/WebKit2 builds. In the other cases the module was wrapped
986 in a haveQt(4) scope.
988 Reviewed by Csaba Osztrogonác.
992 2012-07-03 Yong Li <yoli@rim.com>
994 [BlackBerry] Turn on DFGJIT in Platform.h
995 https://bugs.webkit.org/show_bug.cgi?id=90482
997 Set ENABLE_DFG_JIT for PLATFORM(BLACKBERRY).
999 Reviewed by Rob Buis.
1003 2012-07-03 Tony Chang <tony@chromium.org>
1005 [chromium] Unreviewed, update .gitignore to handle VS2010 files.
1007 * WTF.gyp/.gitignore:
1009 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1011 [Qt] Make use of .qmake.cache for caching features
1013 Instead of loading() features from the files that need them (and re-running
1014 a bunch of checks), we now run feature detection as part of configure.pro,
1015 and have build-webkit write the computed feature-defines and CONFIG to
1016 .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1017 when building WebKit.pro.
1019 At some point we'll be able to selectivly prevent running of config tests
1020 in configure.pro, which means we don't need a separate code-path for
1021 the build-webkit --help case.
1023 We should also move the code in build-webkit that now uses .webkit.config
1024 to detect clean builds, to use .qmake.cache, since we now store the same
1027 Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1029 Reviewed by Tor Arne Vestbø.
1033 2012-07-03 Sheriff Bot <webkit.review.bot@gmail.com>
1035 Unreviewed, rolling out r121766.
1036 http://trac.webkit.org/changeset/121766
1037 https://bugs.webkit.org/show_bug.cgi?id=90465
1039 It caused flakey build errors on the bots (Requested by Ossy
1044 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1046 [Qt] Make use of .qmake.cache for caching features
1048 Instead of loading() features from the files that need them (and re-running
1049 a bunch of checks), we now run feature detection as part of configure.pro,
1050 and have build-webkit write the computed feature-defines and CONFIG to
1051 .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1052 when building WebKit.pro.
1054 At some point we'll be able to selectivly prevent running of config tests
1055 in configure.pro, which means we don't need a separate code-path for
1056 the build-webkit --help case.
1058 We should also move the code in build-webkit that now uses .webkit.config
1059 to detect clean builds, to use .qmake.cache, since we now store the same
1062 Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1064 Reviewed by Tor Arne Vestbø.
1068 2012-07-03 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Joel Dillon <joel.dillon@codethink.co.uk>
1070 [Qt][Win] Fix broken QtWebKit5.lib linking
1071 https://bugs.webkit.org/show_bug.cgi?id=88321
1073 Reviewed by Kenneth Rohde Christiansen.
1075 Instead of letting a module's headers know which other modules depend on them,
1076 have depending modules define explicitely that they want its symbols exported too.
1078 JavaScriptCore should then be compiled with both BUILDING_JavaScriptCore and
1079 STATICALLY_LINKED_WITH_WTF.
1081 * wtf/ExportMacros.h:
1083 2012-06-29 Tony Chang <tony@chromium.org>
1085 Unreviewed, rolling out r121572.
1086 http://trac.webkit.org/changeset/121572
1087 https://bugs.webkit.org/show_bug.cgi?id=90249
1089 Breaks Mac build since it depends on r121547, which was rolled
1092 * wtf/ThreadingPthreads.cpp:
1093 (WTF::initializeCurrentThreadInternal):
1095 2012-06-29 Eric Seidel <eric@webkit.org>
1097 Remove BUILDING_ON_LEOPARD now that no ports build on Leopard
1098 https://bugs.webkit.org/show_bug.cgi?id=90249
1100 Reviewed by Ryosuke Niwa.
1102 * wtf/ThreadingPthreads.cpp:
1103 (WTF::initializeCurrentThreadInternal):
1105 2012-06-29 Sheriff Bot <webkit.review.bot@gmail.com>
1107 Unreviewed, rolling out r121529.
1108 http://trac.webkit.org/changeset/121529
1109 https://bugs.webkit.org/show_bug.cgi?id=90260
1111 Failed to compile on Chromium WebKitMacBuilder (Requested by
1114 * wtf/FastMalloc.cpp:
1115 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1116 * wtf/unicode/icu/CollatorICU.cpp:
1117 (WTF::Collator::userDefault):
1119 2012-06-29 Eric Seidel <eric@webkit.org>
1121 Remove more BUILDING_ON_LEOPARD branches now that no port builds on Leopard
1122 https://bugs.webkit.org/show_bug.cgi?id=90252
1124 Reviewed by Ryosuke Niwa.
1126 * wtf/FastMalloc.cpp:
1127 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1128 * wtf/unicode/icu/CollatorICU.cpp:
1129 (WTF::Collator::userDefault):
1131 2012-06-29 Eric Seidel <eric@webkit.org>
1133 Remove more BUILDING_ON_LEOPARD usage in PLATFORM(MAC) code
1134 https://bugs.webkit.org/show_bug.cgi?id=85846
1136 Reviewed by Adam Barth.
1138 PLATFORM(MAC) has not supported Leopard for several months now.
1139 This change removes about 1/3 of the remaining BUILDING_ON_LEOPARD
1140 uses in the PLATFORM(MAC) codepaths. PLATFORM(CHROMIUM) still
1141 supports BUILDING_ON_LEOPARD for now.
1145 2012-06-28 Kalev Lember <kalevlember@gmail.com>
1147 ThreadingWin: Silence GCC compiler warnings
1148 https://bugs.webkit.org/show_bug.cgi?id=89491
1150 Reviewed by Adam Roben.
1152 * wtf/ThreadingWin.cpp:
1153 (WTF::createThreadInternal):
1154 (WTF::PlatformCondition::timedWait):
1155 (WTF::PlatformCondition::signal): Fix unused-but-set-variable
1158 2012-06-26 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1160 [Qt] Add missing heades to HEADERS
1162 For JavaScriptCore there aren't any Qt specific files, so we include all
1163 headers for easy editing in Qt Creator.
1165 Reviewed by Simon Hausmann.
1169 2012-06-25 Kent Tamura <tkent@chromium.org>
1171 Unreviewed, rolling out r121145.
1172 http://trac.webkit.org/changeset/121145
1173 https://bugs.webkit.org/show_bug.cgi?id=89847
1175 Had an objection for the change.
1177 * wtf/text/StringBuilder.h:
1179 2012-06-25 Yong Li <yoli@rim.com>
1181 [BlackBerry] Add JSC statistics into about:memory
1182 https://bugs.webkit.org/show_bug.cgi?id=89779
1184 Reviewed by Rob Buis.
1186 Turn on WTF_USE_EXPORT_MACROS for BlackBerry port.
1187 This will make macros like JS_EXPORT_PRIVATE work without
1192 2012-06-25 Adam Barth <abarth@webkit.org>
1194 Use InterpolationLow on chromium-android
1195 https://bugs.webkit.org/show_bug.cgi?id=89849
1197 Reviewed by Daniel Bates.
1199 Introduce a USE macro to control image interpolation quality.
1203 2012-06-25 Kent Tamura <tkent@chromium.org>
1205 Change the serialization format of form control state to make the code simple
1206 https://bugs.webkit.org/show_bug.cgi?id=89847
1208 Reviewed by Hajime Morita.
1210 * wtf/text/StringBuilder.h:
1211 (WTF::StringBuilder::appendEscaped): Added. This function adds the
1212 escaped form of the input string. e.g. if stiring="foo,bar" escape='\'
1213 special=',', the appended string is foo\,bar.
1215 2012-06-24 Adam Barth <abarth@webkit.org>
1217 Remove USE(CHROMIUM_NET) because it is unused
1218 https://bugs.webkit.org/show_bug.cgi?id=89850
1220 Reviewed by Eric Seidel.
1222 I didn't see any mentions of CHROMIUM_NET when I grepped the Source
1223 directory. Also, this USE macro isn't defined on OS(DARWIN) or
1224 OS(ANDROID), which seems a bit odd given that Chromium uses the same
1225 network stack on all platforms.
1229 2012-06-22 Peter Beverloo <peter@chromium.org>
1231 [Chromium] Disable c++0x compatibility warnings in JavaScriptCore.gyp when building for Android
1232 https://bugs.webkit.org/show_bug.cgi?id=88853
1234 Reviewed by Steve Block.
1236 The Android exclusions were necessary to fix a gyp generation error, as
1237 the gcc_version variable wasn't being defined for Android. Remove these
1238 exceptions when Chromium is able to define the gcc_version variable.
1242 2012-06-18 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
1244 Causes crashes in LLVMPipe
1245 https://bugs.webkit.org/show_bug.cgi?id=89358
1247 Reviewed by Martin Robinson.
1249 Change suggested by Dave Airlie and Xan Lopez.
1251 * wtf/Platform.h: disable global fastMalloc for GTK+
1253 2012-06-22 Mario Sanchez Prada <msanchez@igalia.com>
1255 Memory corruption on HashTable.h
1256 https://bugs.webkit.org/show_bug.cgi?id=88419
1258 Reviewed by Martin Robinson.
1260 Simplify definition of WTF_USE_PTHREADS and HAVE_PTHREAD_RWLOCK
1261 for the GTK platform using OS(LINUX) instead of HAVE(PTHREAD_H).
1265 2012-06-21 Parth Patel <parpatel@rim.com>
1267 [Blackberry] BlackBerry::Platform::Settings::get() rename to BlackBerry::Platform::Settings::instance() to make it consistent with our other singletons
1268 https://bugs.webkit.org/show_bug.cgi?id=89684
1270 Reviewed by Yong Li.
1272 Update setting instance access to use instance() instead of get().
1274 * wtf/ThreadingPthreads.cpp:
1275 (WTF::createThreadInternal):
1277 2012-06-21 Kalev Lember <kalevlember@gmail.com>
1279 [GTK] Fix NPAPI plugins on Windows
1280 https://bugs.webkit.org/show_bug.cgi?id=54531
1282 Reviewed by Martin Robinson.
1284 Define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH for the GTK+ port, and
1285 include OwnPtrWin.cpp in the list of files built on Windows.
1288 * GNUmakefile.list.am:
1291 2012-06-21 Balazs Kelemen <kbalazs@webkit.org>
1293 Compile error: 'bool std::isinf(float)' is not 'constexpr' with GCC 4.6 in C++11 mode
1294 https://bugs.webkit.org/show_bug.cgi?id=88721
1296 Reviewed by Csaba Osztrogonác.
1298 Don't define these as consexpr because with gcc 4.6
1299 they call non constexpr functions.
1304 2012-06-17 Filip Pizlo <fpizlo@apple.com>
1306 It should be possible to look at disassembly
1307 https://bugs.webkit.org/show_bug.cgi?id=89319
1309 Reviewed by Sam Weinig.
1311 Made changes to Assertions.h to make it friendly to C code again.
1313 Added ENABLE(DISASSEMBLER) and USE(UDIS86) logic to Platform.h.
1318 2012-06-19 Jon Honeycutt <jhoneycutt@apple.com>
1320 REGRESSION(r120552): Many tests timing out on Windows
1321 https://bugs.webkit.org/show_bug.cgi?id=89433
1323 Reviewed by Andy Estes.
1325 * wtf/CurrentTime.cpp:
1326 (WTF::lowResUTCTime):
1327 It looks like there were two bugs:
1328 1) the function was converting from 100ths of nanoseconds to seconds
1329 rather than 100s of nanoseconds to seconds by dividing by
1330 (nsPerSecond * 100) rather than (nsPerSecond / 100)
1331 2) the function should've been returning milliseconds, not seconds
1333 2012-06-18 Tony Payne <tpayne@chromium.org>
1335 [chromium] Add iccjpeg and qcms to chromium port.
1336 https://bugs.webkit.org/show_bug.cgi?id=81974
1338 * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1339 to each Chromium platform, excluding Android.
1341 Reviewed by Adam Barth.
1343 2012-06-18 Sheriff Bot <webkit.review.bot@gmail.com>
1345 Unreviewed, rolling out r120485 and r120582.
1346 http://trac.webkit.org/changeset/120485
1347 http://trac.webkit.org/changeset/120582
1348 https://bugs.webkit.org/show_bug.cgi?id=89345
1350 chromeos tree breakage (Requested by morrita on #webkit).
1354 2012-06-17 Patrick Gansterer <paroga@webkit.org>
1356 [WIN] Simplify implementation of currentTime()
1357 https://bugs.webkit.org/show_bug.cgi?id=83156
1359 Reviewed by Brent Fulgham.
1361 Use GetSystemTimeAsFileTime() instead of ftime().
1362 This avoids an unneeded call to the MS CRT and
1363 brings the Win/WinCE code closer together.
1365 * wtf/CurrentTime.cpp:
1366 (WTF::lowResUTCTime):
1369 2012-06-15 Tony Payne <tpayne@chromium.org>
1371 [chromium] Add iccjpeg and qcms to chromium port.
1372 https://bugs.webkit.org/show_bug.cgi?id=81974
1374 * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1375 to each Chromium platform, excluding Android.
1377 Reviewed by Adam Barth.
1379 2012-06-14 Sheriff Bot <webkit.review.bot@gmail.com>
1381 Unreviewed, rolling out r120393.
1382 http://trac.webkit.org/changeset/120393
1383 https://bugs.webkit.org/show_bug.cgi?id=89163
1385 breaks cr-mac build (Requested by morrita on #webkit).
1389 2012-06-14 Tony Payne <tpayne@chromium.org>
1391 [chromium] Add iccjpeg and qcms to chromium port.
1392 https://bugs.webkit.org/show_bug.cgi?id=81974
1394 * wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
1395 to each Chromium platform, excluding Android.
1397 Reviewed by Adam Barth.
1399 2012-06-14 Yong Li <yoli@rim.com>
1401 [BlackBerry] Implement computeRAMSize for QNX
1402 https://bugs.webkit.org/show_bug.cgi?id=89110
1404 Reviewed by Rob Buis.
1407 (WTF::computeRAMSize):
1409 2012-06-14 Geoffrey Garen <ggaren@apple.com>
1411 ARMv7 should support spinlocks
1412 https://bugs.webkit.org/show_bug.cgi?id=88957
1414 Reviewed by Darin Adler.
1416 More info @ http://infocenter.arm.com/help/topic/
1417 com.arm.doc.genc007826/Barrier_Litmus_Tests_and_Cookbook_A08.pdf
1420 (WTF::memoryBarrierAfterLock):
1421 (WTF::memoryBarrierBeforeUnlock): Added memory barrier primitives since
1422 ARMv7 has a weakly ordered memory model.
1424 * wtf/Platform.h: Enabled compare-and-swap on Windows so our spinlock
1425 implementation would continue working on Windows.
1428 (TCMalloc_SpinLock::Lock):
1429 (TCMalloc_SpinLock::Unlock):
1430 (TCMalloc_SpinLock): Use our compare-and-swap helper function to avoid
1431 rewriting it in assembly here.
1433 Added memory barriers since ARMv7 needs them.
1435 Removed PPC support because our helper function doesn't support PPC.
1437 2012-06-13 Arnaud Renevier <arno@renevier.net>
1439 make sure headers are included only once per file
1440 https://bugs.webkit.org/show_bug.cgi?id=88929
1442 Reviewed by Kentaro Hara.
1444 * wtf/FastMalloc.cpp:
1446 * wtf/OSAllocator.h:
1448 2012-06-13 Benjamin Poulain <benjamin@webkit.org>
1450 Implement the simple constructors WTFURL's KURL
1451 https://bugs.webkit.org/show_bug.cgi?id=85724
1453 Reviewed by Adam Barth.
1455 This patch extends WTFURL with:
1456 -support basic debugging using print() methods
1457 -parsing in the incomming string character set (8bits or 16bits)
1458 -add a function for parsing of relative URL (but no implementation yet)
1460 * WTF.xcodeproj/project.pbxproj:
1461 * wtf/text/WTFString.h:
1463 * wtf/url/api/ParsedURL.cpp:
1464 (WTF::ParsedURL::ParsedURL):
1466 (WTF::ParsedURL::hasFragment): Add this method to query the framgent availability without
1467 allocating a new String.
1468 (WTF::ParsedURL::withoutFragment): This method is added to implement KURL::removeFragmentIdentifier() and
1469 the parsing of empty relative URL (where we return the base without fragment).
1470 (WTF::ParsedURL::print):
1471 * wtf/url/api/ParsedURL.h:
1473 (WTF::ParsedURL::spec):
1474 * wtf/url/api/URLString.h:
1476 * wtf/url/src/URLParser.h:
1479 (WTF::URLParser::parseURLWithBase):
1480 * wtf/url/src/URLSegments.cpp:
1481 (WTF::URLSegments::length):
1482 (WTF::URLSegments::charactersBefore):
1483 * wtf/url/src/URLSegments.h:
1485 Change the boolean argument includeDelimiter in favor of an enum to improve readability.
1487 2012-06-13 Filip Pizlo <fpizlo@apple.com>
1489 DFG should be able to set watchpoints on global variables
1490 https://bugs.webkit.org/show_bug.cgi?id=88692
1492 Reviewed by Geoffrey Garen.
1494 Added ability to set the inline capacity of segmented vectors.
1496 Also added the ability ot ASSERT_NOT_REACHED() without having to
1497 propagate NO_RETURN macros, which would be a show-stopper for code
1498 that is conditionally unreachable.
1501 (UNREACHABLE_FOR_PLATFORM):
1502 * wtf/SegmentedVector.h:
1504 (SegmentedVectorIterator):
1505 (WTF::SegmentedVectorIterator::operator=):
1506 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1509 2012-06-13 Sheriff Bot <webkit.review.bot@gmail.com>
1511 Unreviewed, rolling out r120172.
1512 http://trac.webkit.org/changeset/120172
1513 https://bugs.webkit.org/show_bug.cgi?id=88976
1515 The patch causes compilation failures on Gtk, Qt and Apple Win
1516 bots (Requested by zdobersek on #webkit).
1518 * wtf/SegmentedVector.h:
1520 (SegmentedVectorIterator):
1521 (WTF::SegmentedVectorIterator::operator=):
1522 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1525 2012-06-10 Filip Pizlo <fpizlo@apple.com>
1527 DFG should be able to set watchpoints on global variables
1528 https://bugs.webkit.org/show_bug.cgi?id=88692
1530 Reviewed by Geoffrey Garen.
1532 Added ability to set the inline capacity of segmented vectors.
1534 * wtf/SegmentedVector.h:
1536 (SegmentedVectorIterator):
1537 (WTF::SegmentedVectorIterator::operator=):
1538 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
1541 2012-06-12 Geoffrey Garen <ggaren@apple.com>
1543 Try to fix the build.
1545 Maybe don't export inlined functions.
1547 * wtf/ThreadingPrimitives.h:
1548 (WTF::MutexTryLocker::MutexTryLocker):
1549 (WTF::MutexTryLocker::~MutexTryLocker):
1550 (WTF::MutexTryLocker::locked):
1552 2012-06-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1554 Using extrernal ICU library on case unsensitive drives will not work
1555 https://bugs.webkit.org/show_bug.cgi?id=70913
1557 Reviewed by Csaba Osztrogonác.
1559 Properly set the include path for the WTF module and for modules using it.
1560 The path should include Source/WTF/wtf only when building WTF itself. Other
1561 modules are expected to include the headers as #include <wtf/Header.h>, so
1562 only add Source/WTF to their include path.
1564 "unicode/utf8.h" should now then always reference to ICU in the include path
1565 and "wtf/unicode/UTF8.h" reference to the WTF version.
1566 This will work as long as WTF object files don't depend on ICU themselves.
1568 Removed gobject, qt and unicode from the include path as those directories
1569 don't exist anymore.
1574 2012-06-11 Carlos Garcia Campos <cgarcia@igalia.com>
1576 Unreviewed. Fix make distcheck issues.
1578 * GNUmakefile.list.am: Add missing header file.
1580 2012-06-09 Dominic Cooney <dominicc@chromium.org>
1582 [Chromium] Remove JavaScriptCore dependencies from gyp
1583 https://bugs.webkit.org/show_bug.cgi?id=88510
1585 Reviewed by Adam Barth.
1587 Chromium doesn't support JSC any more and there doesn't seem to be
1588 a strong interest in using GYP as the common build system in other
1593 2012-06-08 Andy Wingo <wingo@igalia.com>
1595 Explictly mark stubs called by JIT as being internal
1596 https://bugs.webkit.org/show_bug.cgi?id=88552
1598 Reviewed by Filip Pizlo.
1600 * wtf/ExportMacros.h (WTF_INTERNAL, HAVE_INTERNAL_VISIBILITY): New
1601 defines. Regardless of what the port does about visibility in
1602 general, for code referenced only from assembly it is useful to
1603 give it internal visibility.
1604 * wtf/InlineASM.h: Split SYMBOL_STRING_RELOCATION into
1605 LOCAL_REFERENCE and GLOBAL_REFERENCE; the former will try to avoid
1606 indirection if HAVE(INTERNAL_VISIBILITY).
1608 2012-06-07 Csaba Osztrogonác <ossy@webkit.org>
1610 [Qt][Win] Fix linking WTF with ICU
1611 https://bugs.webkit.org/show_bug.cgi?id=88302
1613 Reviewed by Simon Hausmann.
1615 * WTF.pri: Use proper library names on win32 platforms.
1617 2012-06-06 Michael Saboff <msaboff@apple.com>
1619 ENH: Add Logging to GC Marking Phase
1620 https://bugs.webkit.org/show_bug.cgi?id=88364
1622 Reviewed by Filip Pizlo.
1625 (WTF::dataLogString): Additional method to support GC Mark logging.
1627 * wtf/Platform.h: New ENABLE_OBJECT_MARK_LOGGING flag macro.
1629 2012-06-06 Andy Wingo <wingo@igalia.com>
1631 [GTK] Enable the LLInt
1632 https://bugs.webkit.org/show_bug.cgi?id=88315
1634 Reviewed by Filip Pizlo.
1636 * wtf/InlineASM.h: Add an implementation of LOCAL_LABEL_STRING for
1638 * wtf/Platform.h: Add OS(LINUX) to the set of operating systems
1639 for ENABLE_LLINT. Add a specific check for PLATFORM(MAC) or
1640 PLATFORM(IOS), and add to that a check for PLATFORM(GTK).
1642 2012-06-05 Roland Takacs <takacs.roland@stud.u-szeged.hu>
1644 [Qt] Use GraphicsContext3DOpenGLES.cpp when using OpenGL ES
1645 https://bugs.webkit.org/show_bug.cgi?id=78720
1647 Reviewed by Noam Rosenthal.
1649 Defined a global Opengl ES macro to check OpenGL ES on every platforms.
1653 2012-06-04 Takashi Toyoshima <toyoshim@chromium.org>
1655 [WebSocket] Send requires super linear time against data size
1656 https://bugs.webkit.org/show_bug.cgi?id=87383
1658 Reviewed by Kent Tamura.
1660 * wtf/StreamBuffer.h: Added.
1663 (WTF::StreamBuffer::StreamBuffer):
1664 (WTF::StreamBuffer::~StreamBuffer):
1665 (WTF::StreamBuffer::isEmpty):
1666 (WTF::StreamBuffer::append):
1667 (WTF::StreamBuffer::consume):
1668 (WTF::StreamBuffer::size):
1669 (WTF::StreamBuffer::firstBlockData):
1670 (WTF::StreamBuffer::firstBlockSize):
1672 2012-06-04 Patrick Gansterer <paroga@webkit.org>
1674 Port RAMSize to WinCE
1675 https://bugs.webkit.org/show_bug.cgi?id=87854
1677 Reviewed by Geoffrey Garen.
1679 WinCE has no GlobalMemoryStatusEx() function. Use GlobalMemoryStatus() instead.
1682 (WTF::computeRAMSize):
1684 2012-06-01 Xianzhu Wang <wangxianzhu@chromium.org>
1686 Remove dependency from ImageDiff to WTF
1687 https://bugs.webkit.org/show_bug.cgi?id=88147
1689 Reviewed by Adam Barth.
1693 2012-06-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1695 [Qt] Save one copy when going from 8-bit WTF::String to QString
1697 Asking for characters() of an 8-bit string will make a 16-bit copy internally
1698 in WTF::String. Since we're going to copy the data to QStringData anyways, which
1699 is 16-bit, we can do the conversion ourselves and save one copy.
1701 Reviewed by Simon Hausmann.
1703 * wtf/qt/StringQt.cpp:
1704 (WTF::String::operator QString):
1706 2012-05-30 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1708 [Qt] Make conversion from QString to WTF::String (and back again) ~free
1710 https://bugs.webkit.org/show_bug.cgi?id=87847
1712 Instead of copying the QString data when converting to a WTF::String we
1713 make the WTF::String adopt the QString data by introducing a new buffer
1714 ownership type, and pointing the internal WTF::StringImpl 16-bit data
1715 member to the string data managed by QStringData.
1717 We make sure to reference the QStringData when adopting, so that the
1718 data will stay alive, and then dereference it when the WTF::StringImpl
1719 is deleted, which will free the QStringData (either straight away, if
1720 we're the only one holding a reference still, or later, when the ref
1723 In the case of going back from a WTF::String to a QString we can cheat
1724 a bit (avoid a copy), if we know that the WTF::String was adopted from
1725 a QString, since it's then just a matter of having the QString adopt
1726 the existing QStringData (just like a regular QString copy).
1728 If the WTF::String buffer is not owned by QStringData, eg a regular
1729 8-bit or 16-bit string/substring, we have to fall back to copying,
1730 as before (though there are potential optimization tricks we can
1731 apply here later on).
1733 Reviewed by Gavin Barraclough.
1735 * wtf/qt/StringQt.cpp:
1736 * wtf/text/StringImpl.cpp:
1737 * wtf/text/StringImpl.h:
1739 2012-06-01 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
1741 [EFL] Implement PlatformStrategies
1742 https://bugs.webkit.org/show_bug.cgi?id=86946
1744 Reviewed by Carlos Garcia Campos.
1746 * wtf/Platform.h: Enable PLATFORM_STRATEGIES for EFL platform.
1748 2012-05-31 Anders Carlsson <andersca@apple.com>
1750 Enable support for rvalue references when building with a version of clang that supports them
1751 https://bugs.webkit.org/show_bug.cgi?id=88018
1753 Re-enable support for rvalue references when building with a version of Xcode newer than 4.2.
1757 2012-05-31 Filip Pizlo <fpizlo@apple.com>
1759 DataLog should be usable outside of JSC
1760 https://bugs.webkit.org/show_bug.cgi?id=88015
1762 Reviewed by Oliver Hunt.
1767 2012-05-31 Anders Carlsson <andersca@apple.com>
1769 Disable support for rvalue references until I figure out why this is breaking the Xcode 4.2 build.
1773 2012-05-31 Anders Carlsson <andersca@apple.com>
1775 Vector should have a move constructor and move assignment operator
1776 https://bugs.webkit.org/show_bug.cgi?id=87997
1778 Reviewed by Andreas Kling.
1781 Use __has_extension so we can use move semantics and other C++11 features even when building as C++98.
1784 Add a move constructor and a move assignment operator to Vector.
1786 2012-05-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1788 [Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
1789 https://bugs.webkit.org/show_bug.cgi?id=87955
1791 Reviewed by Simon Hausmann.
1795 2012-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1797 HashTable.h has using directives for std::pair and std::make_pair
1798 https://bugs.webkit.org/show_bug.cgi?id=29919
1800 Reviewed by Darin Adler.
1803 (WTF): Remove the directives.
1805 2012-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1807 HashTable.h has using directives for std::pair and std::make_pair
1808 https://bugs.webkit.org/show_bug.cgi?id=29919
1810 Reviewed by Darin Adler.
1812 Change code to use std::pair and std::make_pair. Later patch will remove the
1816 (WTF::hashTableSwap):
1820 (WTF::PairHashTraits::emptyValue):
1822 2012-05-30 Patrick Gansterer <paroga@webkit.org>
1824 Build fix for WinCE after r118603.
1827 (WTF::weakCompareAndSwap):
1829 2012-05-29 Anders Carlsson <andersca@apple.com>
1831 String should be move enabled/optimized
1832 https://bugs.webkit.org/show_bug.cgi?id=87596
1834 Reviewed by Andreas Kling.
1836 Add move constructors and move assignment operators to String and AtomicString when building with
1837 compilers that support rvalue references. This gets rid of ref-churn when the source of the
1838 constructor or assignment is a temporary object.
1840 * wtf/text/AtomicString.h:
1842 (WTF::AtomicString::AtomicString):
1843 (WTF::AtomicString::operator=):
1844 * wtf/text/WTFString.h:
1846 (WTF::String::String):
1847 (WTF::String::operator=):
1849 2012-05-29 Alexandre Elias <aelias@google.com>
1851 Support WebKit log messages on Android
1852 https://bugs.webkit.org/show_bug.cgi?id=87773
1854 Reviewed by Darin Adler.
1856 This sends WebKit log messages to the Android "logcat" facility, as
1857 Android sends stderr to /dev/null.
1859 * wtf/Assertions.cpp:
1861 2012-05-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1863 [Qt] Remove duplication of logic for disabling selected warnings related to C++11
1865 This is already handled in unix/default_post.prf
1867 Reviewed by Simon Hausmann.
1871 2012-05-27 Darin Adler <darin@apple.com>
1873 Fix an incorrect assertion in Vector::remove
1874 https://bugs.webkit.org/show_bug.cgi?id=87612
1876 Reviewed by Dan Bernstein.
1878 * wtf/Vector.h: There's no good reason to disallow calling remove
1879 with a size of 0, even when the position is at the end of the vector,
1880 so changed the two-argument Vector::remove assertion to assert that
1881 the position is <= size rather than < size.
1883 2012-05-27 Yoshifumi Inoue <yosin@chromium.org>
1885 [WTF] Introduce UINT64_C to MathExtras.h
1886 https://bugs.webkit.org/show_bug.cgi?id=87485
1888 Reviewed by Kent Tamura.
1892 2012-05-25 Filip Pizlo <fpizlo@apple.com>
1894 weakCompareAndSwap should work on Windows
1895 https://bugs.webkit.org/show_bug.cgi?id=87549
1897 Reviewed by Jessie Berlin.
1901 (WTF::weakCompareAndSwap):
1903 2012-05-24 Allan Sandfeld Jensen <allan.jensen@nokia.com>
1905 cti_vm_throw gets kicked out by gcc 4.6 -flto
1906 https://bugs.webkit.org/show_bug.cgi?id=56088
1908 Reviewed by Darin Adler.
1910 Define REFERENCED_FROM_ASM to __attribute__((used)) on GCC.
1914 2012-05-23 Darin Adler <darin@apple.com>
1916 Optimize iteration of empty hash tables
1917 https://bugs.webkit.org/show_bug.cgi?id=87215
1919 Reviewed by Geoffrey Garen.
1921 Iteration of empty hash tables was showing up on simple page loading
1922 profiles due to the use of hash tables in the
1923 NodeListsNodeData::invalidateCaches and
1924 NodeListsNodeData::invalidateCachesThatDependOnAttributes functions.
1925 It's worth optimizing the case of an empty table.
1928 (WTF::HashTable::begin): Return the known-good end iterator when the
1929 table is empty. This makes iterating an empty table faster because we
1930 avoid skipping empty and deleted buckets.
1932 2012-05-22 Geoffrey Garen <ggaren@apple.com>
1937 (WTF::computeRAMSize): sysctl expects a uint64_t, so use that and then
1938 cast back to size_t. Since it's coneivable that a 32bit process would
1939 run on a system with more than 4GB RAM, I added a paranoid check for
1942 2012-05-22 Jessie Berlin <jberlin@apple.com>
1947 (WTF::computeRAMSize):
1948 If you say you are going to return a size_t, actually return a size_t.
1950 2012-05-21 Geoffrey Garen <ggaren@apple.com>
1952 GC allocation trigger should be tuned to system RAM
1953 https://bugs.webkit.org/show_bug.cgi?id=87039
1955 Reviewed by Darin Adler.
1957 Added a helper function for measuring system RAM.
1959 * GNUmakefile.list.am:
1962 * WTF.vcproj/WTF.vcproj:
1963 * WTF.xcodeproj/project.pbxproj:
1964 * wtf/AmountOfRAM.cpp: Added.
1966 (WTF::computeAmountOfRAM):
1968 * wtf/AmountOfRAM.h: Added.
1970 * wtf/CMakeLists.txt:
1971 * wtf/StdLibExtras.h:
1974 2012-05-22 Allan Sandfeld Jensen <allan.jensen@nokia.com>
1976 GCC 4.7 and C++11 support.
1977 https://bugs.webkit.org/show_bug.cgi?id=86465
1979 Reviewed by Darin Adler.
1981 Detect C++11 mode in GCC 4.7 and set appropiate compiler feature flags.
1982 Turn C++11 override control into a compiler feature flag.
1983 Fix non-clang support of compiler feature CXX_DELETED_FUNCTIONS.
1986 * wtf/Noncopyable.h:
1988 2012-05-22 Filip Pizlo <fpizlo@apple.com>
1990 REGRESSION(r117861): It made almost all tests crash on Qt
1991 https://bugs.webkit.org/show_bug.cgi?id=87082
1993 Reviewed by Csaba Osztrogonác.
1995 Using OwnArrayPtr is a bad idea if you allocate array with fastCalloc.
1997 * wtf/FastBitVector.h:
1998 (WTF::FastBitVector::FastBitVector):
1999 (WTF::FastBitVector::~FastBitVector):
2001 (WTF::FastBitVector::operator=):
2002 (WTF::FastBitVector::resize):
2003 (WTF::FastBitVector::setAll):
2004 (WTF::FastBitVector::clearAll):
2005 (WTF::FastBitVector::set):
2007 2012-05-21 Filip Pizlo <fpizlo@apple.com>
2009 DFG should be able to compute dominators
2010 https://bugs.webkit.org/show_bug.cgi?id=85269
2012 Reviewed by Oliver Hunt.
2014 Merged r115754 from dfgopt.
2016 Added a bitvector class suitable for cheap static analysis. This class
2017 differs from BitVector in that instead of optimizing for space, it
2018 optimizes for execution time. Its API is also somewhat less friendly,
2019 which is intentional; it's meant to be used in places where you know
2020 up front how bit your bitvectors are going to be.
2022 * GNUmakefile.list.am:
2023 * WTF.vcproj/WTF.vcproj:
2024 * WTF.xcodeproj/project.pbxproj:
2025 * wtf/FastBitVector.h: Added.
2028 (WTF::FastBitVector::FastBitVector):
2029 (WTF::FastBitVector::operator=):
2030 (WTF::FastBitVector::numBits):
2031 (WTF::FastBitVector::resize):
2032 (WTF::FastBitVector::setAll):
2033 (WTF::FastBitVector::clearAll):
2034 (WTF::FastBitVector::set):
2035 (WTF::FastBitVector::setAndCheck):
2036 (WTF::FastBitVector::equals):
2037 (WTF::FastBitVector::merge):
2038 (WTF::FastBitVector::filter):
2039 (WTF::FastBitVector::exclude):
2040 (WTF::FastBitVector::clear):
2041 (WTF::FastBitVector::get):
2042 (WTF::FastBitVector::arrayLength):
2044 2012-05-15 Gavin Barraclough <barraclough@apple.com>
2046 Add support for private names
2047 https://bugs.webkit.org/show_bug.cgi?id=86509
2049 Reviewed by Oliver Hunt.
2051 The spec isn't final, but we can start adding support to allow property maps
2052 to contain keys that aren't identifiers.
2054 * wtf/text/StringImpl.h:
2055 (WTF::StringImpl::StringImpl):
2057 (WTF::StringImpl::createEmptyUnique):
2058 (WTF::StringImpl::isEmptyUnique):
2059 - Allow empty string impls to be allocated, which can be used as unique keys.
2061 2012-05-21 Emil A Eklund <eae@chromium.org> and Levi Weintraub <leviw@chromium.org>
2063 Enable SUBPIXEL_LAYOUT feature flag on Chromium
2064 https://bugs.webkit.org/show_bug.cgi?id=85555
2066 Reviewed by Eric Seidel.
2068 Enabling sub-pixel layout on Chromium port.
2072 2012-05-21 Andreas Kling <kling@webkit.org>
2074 CSS: Move duplicate property elimination to parser.
2075 <http://webkit.org/b/86948>
2077 Reviewed by Antti Koivisto.
2079 Add WTF::BitArray, a simple, malloc free, fixed-size bit array class.
2081 * GNUmakefile.list.am:
2084 * WTF.vcproj/WTF.vcproj:
2085 * WTF.xcodeproj/project.pbxproj:
2086 * wtf/BitArray.h: Added.
2089 (WTF::BitArray::BitArray):
2090 (WTF::BitArray::set):
2091 (WTF::BitArray::get):
2092 * wtf/CMakeLists.txt:
2094 2012-05-21 Allan Sandfeld Jensen <allan.jensen@nokia.com>
2096 Colliding isinf/isnan between C99 and C++11 with GCC >=4.6
2097 https://bugs.webkit.org/show_bug.cgi?id=59249
2099 Reviewed by Darin Adler.
2101 Workaround the isinf and isnan conflict in GCC C++11.
2108 2012-05-21 Andreas Kling <kling@webkit.org>
2110 REGRESSION(r117501): IconDatabase asserts on startup in synchronousIconForPageURL().
2111 <http://webkit.org/b/86935>
2112 <rdar://problem/11480012>
2114 Reviewed by Anders Carlsson.
2116 Added a swap() to HashCountedSet.
2118 * wtf/HashCountedSet.h:
2119 (HashCountedSet::swap):
2121 2012-05-16 Geoffrey Garen <ggaren@apple.com>
2123 This is not a joke: 3.7X speedup from removing a call to sleep
2124 https://bugs.webkit.org/show_bug.cgi?id=86702
2126 Reviewed by Eric Seidel.
2128 The speedup was on a GC benchmark, with a custom VM caching layer
2131 Instruments showed most GC threads spending the majority of their
2132 time sleeping instead of doing useful work. Removing the call to
2133 sleep sped up the benchmark.
2136 (TCMalloc_SlowLock): Since a spin lock is only ever held for a short
2137 amount of time, don't sleep for a long amount of time waiting for it
2138 to unlock -- yielding to the scheduler is sufficient.
2140 If we find a case where someone is sitting on a spin lock for over 2ms,
2141 we should fix the spin lock holder, not the spin lock.
2143 2012-05-16 Simon Fraser <simon.fraser@apple.com>
2145 Make things build with DUMP_HASHTABLE_STATS=1
2146 https://bugs.webkit.org/show_bug.cgi?id=86571
2148 Reviewed by Geoffrey Garen.
2150 DUMP_HASHTABLE_STATS bitrotted after the WTF separation. This patch
2153 Added WTF_EXPORTDATA to the global data, and WTF_EXPORT_PRIVATE to
2154 the static HashTableStats methods. Added a dumpStats() method
2155 that is not yet called anywhere; we can no longer rely on destroying
2156 a global object to dump the stats because global destructors are
2159 * wtf/HashTable.cpp:
2161 (WTF::HashTableStats::recordCollisionAtCount):
2162 (WTF::HashTableStats::dumpStats):
2166 2012-05-15 Filip Pizlo <fpizlo@apple.com>
2168 shrinkToFit() is often not called for Vectors in CodeBlock
2169 https://bugs.webkit.org/show_bug.cgi?id=86436
2171 Reviewed by Oliver Hunt.
2173 Gave SegmentedVector a shrinkToFit() method. This only shrinks the segment
2174 lookup table, which is likely to not be hugely profitable, but it is better
2177 * wtf/SegmentedVector.h:
2179 (WTF::SegmentedVector::shrinkToFit):
2181 2012-05-15 Andy Estes <aestes@apple.com>
2183 Add WTF_USE_SECURITY_FRAMEWORK and use it in place of the less specific PLATFORM(MAC)
2184 https://bugs.webkit.org/show_bug.cgi?id=86508
2186 Reviewed by Sam Weinig.
2190 2012-05-15 Zoltan Herczeg <zherczeg@webkit.org>
2192 NEONizing forceValidPreMultipliedPixels
2193 https://bugs.webkit.org/show_bug.cgi?id=86468
2195 Reviewed by Nikolas Zimmermann.
2197 Allow to disable all intrinsics with a single macro.
2201 2012-05-14 Andy Estes <aestes@apple.com>
2203 Add WTF_USE_APPKIT to differentiate platforms that use AppKit.framework from other Darwin platforms
2204 https://bugs.webkit.org/show_bug.cgi?id=86432
2206 Reviewed by Maciej Stachowiak.
2210 2012-05-14 Mark Rowe <mrowe@apple.com>
2212 <http://webkit.org/b/86320> WTF.xcodeproj builds with -O3 in debug builds
2214 Reviewed by Simon Fraser.
2216 * WTF.xcodeproj/project.pbxproj: Ensure that the debug configuration uses the
2217 same settings as the debug variant would.
2219 2012-05-14 Wei James <james.wei@intel.com>
2221 [Chromium] ImageDiff should be build for host on Android
2222 https://bugs.webkit.org/show_bug.cgi?id=82039
2224 Reviewed by Adam Barth.
2228 2012-05-14 Yong Li <yoli@rim.com>
2230 DFG JIT is not ARM EABI compatible
2231 https://bugs.webkit.org/show_bug.cgi?id=84449
2233 Reviewed by Filip Pizlo.
2235 Add COMPILER_SUPPORTS(EABI) when __ARM_EABI__
2236 or __EABI__ is defined.
2240 2012-05-10 Michał Pakuła vel Rutka <m.pakula@samsung.com>
2242 [EFL] Add OwnPtr specialization for Eina_Hash.
2243 https://bugs.webkit.org/show_bug.cgi?id=85046
2245 Reviewed by Andreas Kling.
2247 Add an override for Eina_Hash for EFL port.
2249 * wtf/OwnPtrCommon.h:
2251 * wtf/efl/OwnPtrEfl.cpp:
2252 (WTF::deleteOwnedPtr):
2255 2012-05-09 Filip Pizlo <fpizlo@apple.com>
2257 It should be possible to get useful debug logging from the JIT memory allocator
2258 https://bugs.webkit.org/show_bug.cgi?id=86042
2260 Reviewed by Geoff Garen.
2262 * wtf/MetaAllocator.cpp:
2263 (WTF::MetaAllocator::findAndRemoveFreeSpace):
2264 (WTF::MetaAllocator::addFreeSpace):
2265 (WTF::MetaAllocator::dumpProfile):
2267 2012-05-08 Sheriff Bot <webkit.review.bot@gmail.com>
2269 Unreviewed, rolling out r116440.
2270 http://trac.webkit.org/changeset/116440
2271 https://bugs.webkit.org/show_bug.cgi?id=85904
2273 Broke the Chromium Android bot (Requested by beverloo on
2278 2012-05-08 Adam Barth <abarth@webkit.org>
2280 [Chromium] OS(ANDROID) ImageDiff requires us to build WTF for both host and target
2281 https://bugs.webkit.org/show_bug.cgi?id=85897
2283 Reviewed by Tony Chang.
2287 2012-05-08 Adam Barth <abarth@webkit.org>
2289 [Chromium] Assertions.cpp should work on OS(ANDROID)
2290 https://bugs.webkit.org/show_bug.cgi?id=85867
2292 Reviewed by Eric Seidel.
2294 Some minor ifdefs for OS(ANDROID) on PLATFORM(CHROMIUM).
2296 * wtf/Assertions.cpp:
2298 2012-05-07 Adam Barth <abarth@webkit.org>
2300 [Chromium] Android wishes to use an empty implementation if AXObjectCache
2301 https://bugs.webkit.org/show_bug.cgi?id=85842
2303 Reviewed by Eric Seidel.
2305 Disable accessibility on OS(ANDROID) for PLATFORM(CHROMIUM).
2309 2012-05-04 Jeff Rogers <jrogers@rim.com>
2311 [BlackBerry] Implement numberOfProcessorCores() for QNX
2312 https://bugs.webkit.org/show_bug.cgi?id=85638
2314 Reviewed by Antonio Gomes.
2316 * wtf/NumberOfCores.cpp:
2317 (WTF::numberOfProcessorCores):
2319 2012-05-03 Yong Li <yoli@rim.com>
2321 Mutex failure when HashTable is memory moved in debug build
2322 https://bugs.webkit.org/show_bug.cgi?id=84970
2324 Reviewed by Rob Buis.
2326 1. Replace m_mutex with OwnPtr<m_mutex> so HashTable is still
2327 memory movable in debug build.
2328 2. Assert successes of pthread_mutex_init() and pthread_mutex_destroy().
2333 (WTF::::invalidateIterators):
2335 (WTF::removeIterator):
2336 * wtf/ThreadingPthreads.cpp:
2337 (WTF::Mutex::Mutex):
2338 (WTF::Mutex::~Mutex):
2340 2012-05-02 Antti Koivisto <antti@apple.com>
2342 Add temporary feature define for parsed stylesheet caching
2343 https://bugs.webkit.org/show_bug.cgi?id=85413
2345 Rubber-stamped by Nikolas Zimmermann.
2347 While not an externally visible feature this is still a significant internal change.
2348 It is good to have define in case someone has an urgent need to turn it off.
2350 Caching is enabled by default on all platforms. The define should be removed after some bake time.
2354 2012-05-02 Lauro Neto <lauro.neto@openbossa.org>
2356 [Qt]r57240 broke Qt build (gcc bug)
2357 https://bugs.webkit.org/show_bug.cgi?id=37253
2359 Reviewed by Csaba Osztrogonác.
2361 Add back the inline hack just for ARM due to old version of
2362 gcc still being used on Harmattan SDK. Thanks to Ossy for the
2367 2012-05-02 Nico Weber <thakis@chromium.org>
2369 Let WebKit parse with clang on windows with -std=c++11
2370 https://bugs.webkit.org/show_bug.cgi?id=85398
2372 Reviewed by Ryosuke Niwa.
2374 See http://trac.webkit.org/changeset/85945 for background on the line
2375 I'm changing. With clang, __GXX_EXPERIMENTLAL_CXX0X__ is set in c++11
2376 mode, but MSVC's c++ library doesn't have a tr1/memory header. So also
2377 check for __GLIBCXX__, like it's done in the rest of this file.
2381 2012-05-02 Adenilson Cavalcanti <cavalcantii@gmail.com>
2383 [Qt]r57240 broke Qt build (gcc bug)
2384 https://bugs.webkit.org/show_bug.cgi?id=37253
2386 Reviewed by Noam Rosenthal.
2388 Removing workaround macro since current gcc/Qt doesn't require it to compile.
2393 2012-04-30 Oliver Hunt <oliver@apple.com>
2395 Investigate overflows in Canvas putImageData routine
2396 https://bugs.webkit.org/show_bug.cgi?id=61373
2398 Reviewed by Gavin Barraclough.
2400 Allow floating point multiplies of checked types (complete with
2403 * wtf/CheckedArithmetic.h:
2405 (WTF::Checked::operator*=):
2407 2012-04-30 Benjamin Poulain <benjamin@webkit.org>
2409 Add String::startsWith() and endsWith() for string literals
2410 https://bugs.webkit.org/show_bug.cgi?id=85154
2412 Reviewed by Darin Adler.
2414 When invoking StringImpl::startsWidth() or StringImpl::endsWith() with
2415 a string literal, a new String was constructed implicitly, allocating
2416 a new StringImpl and copying the characters for the operation.
2418 This patch adds a version of those methods for single characters and
2420 This allows us to avoid allocating memory and use the characters in place,
2421 and it permits some extra shortcuts in the implementation.
2423 * wtf/text/AtomicString.h:
2424 (WTF::AtomicString::startsWith):
2426 (WTF::AtomicString::endsWith):
2427 * wtf/text/StringImpl.cpp:
2430 (WTF::StringImpl::startsWith):
2431 (WTF::StringImpl::endsWith):
2432 * wtf/text/StringImpl.h:
2433 (WTF::StringImpl::startsWith):
2435 (WTF::StringImpl::endsWith):
2436 * wtf/text/WTFString.h:
2437 (WTF::String::startsWith):
2439 (WTF::String::endsWith):
2441 2012-04-30 Anders Carlsson <andersca@apple.com>
2443 WTF::bind should work with blocks
2444 https://bugs.webkit.org/show_bug.cgi?id=85227
2446 Reviewed by Sam Weinig.
2448 Add a block type FunctionWrapper specialization.
2452 2012-04-28 Emil A Eklund <eae@chromium.org>
2454 Add ENABLE_SUBPIXEL_LAYOUT controlling FractionalLayoutUnit denominator
2455 https://bugs.webkit.org/show_bug.cgi?id=85146
2457 Reviewed by Eric Seidel.
2459 Add a new flag for controlling the fixed point denominator in
2460 FractionalLayoutUnit. Controls whether the denominator is set to 60 or 1.
2461 Until we change the LayoutUnit typedef this change will have no effect.
2465 2012-04-29 Kent Tamura <tkent@chromium.org>
2467 [Mac] Add LocalizedDateMac
2468 https://bugs.webkit.org/show_bug.cgi?id=85039
2470 Reviewed by Kentaro Hara.
2473 (WTF): Add monthFullName[]. It is useful to make fallback month
2474 names for calendar/date related features.
2476 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
2478 [SOUP] Add a way to register custom uri schemes in WebKit2
2479 https://bugs.webkit.org/show_bug.cgi?id=84130
2481 Reviewed by Martin Robinson.
2483 Add GPtrArray template to be able to use GRefPtr with GPtrArrays.
2485 * wtf/gobject/GRefPtr.cpp:
2489 * wtf/gobject/GRefPtr.h:
2491 * wtf/gobject/GTypedefs.h:
2493 2012-04-26 Nico Weber <thakis@chromium.org>
2495 Don't define WTF_COMPILER_SUPPORTS_CXX_NULLPTR twice when building with clang on windows.
2496 https://bugs.webkit.org/show_bug.cgi?id=85018
2498 Reviewed by Anders Carlsson.
2500 Clang sets _MSC_VER when compiling for a -pc-win32 target (just like it sets __GNUC__ on unix).
2501 As a result, WTF_COMPILER_SUPPORTS_CXX_NULLPTR gets currently set twice, once for clang and
2502 once for _MSC_VER. Guard the second instance with !COMPILER(CLANG). This matches the gcc code
2503 for WTF_COMPILER_SUPPORTS_CXX_NULLPTR in the same file.
2507 2012-04-26 Antonio Gomes <agomes@rim.com>
2509 [BlackBerry] properly disable DRAG_SUPPORT
2510 https://bugs.webkit.org/show_bug.cgi?id=84952
2512 Reviewed by Daniel Bates.
2514 * wtf/Platform.h: Remove the line that disables drag support from here
2515 for the BlackBerry port.
2517 2012-04-25 Benjamin Poulain <benjamin@webkit.org>
2519 Add a version of StringImpl::find() without offset
2520 https://bugs.webkit.org/show_bug.cgi?id=83968
2522 Reviewed by Sam Weinig.
2524 This patch add a version of StringImpl::find() without offset, Instead of using the default
2525 value for the index.
2527 By not having the index, we can skip a couple of branches and a few instructions. This gives
2528 significant gains when the strings are short-ish.
2530 The case of empty string is moved below (matchLength == 1) since it is a less common operation.
2532 * wtf/text/StringImpl.cpp:
2533 (WTF::StringImpl::find):
2535 * wtf/text/StringImpl.h:
2537 * wtf/text/WTFString.h:
2539 (WTF::String::find):
2541 2012-04-25 Darin Adler <darin@apple.com>
2543 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2544 https://bugs.webkit.org/show_bug.cgi?id=84524
2546 Reviewed by Antti Koivisto.
2548 * wtf/HashMap.h: Added a struct template, HashMapValueTraits, that derives from
2549 PairHashTraits, adds an isEmptyValue function that looks only at the key, not
2550 the mapped value, in the hash table value, and uses the isHashTraitsEmptyValue
2551 function template to check if the key is empty.
2553 2012-04-25 Landry Breuil <landry@openbsd.org>
2555 Include <sys/param.h>, needed for sysctl() on OpenBSD/NetBSD
2556 https://bugs.webkit.org/show_bug.cgi?id=82585
2558 Reviewed by Zoltan Herczeg.
2560 * wtf/NumberOfCores.cpp: include <sys/param.h> on the BSDs
2562 2012-04-25 Kenneth Russell <kbr@google.com>
2564 Delete CanvasPixelArray, ByteArray, JSByteArray and JSC code once unreferenced
2565 https://bugs.webkit.org/show_bug.cgi?id=83655
2567 Reviewed by Oliver Hunt.
2569 * GNUmakefile.list.am:
2572 * WTF.vcproj/WTF.vcproj:
2573 * WTF.xcodeproj/project.pbxproj:
2574 * wtf/ByteArray.cpp: Removed.
2575 * wtf/ByteArray.h: Removed.
2576 * wtf/CMakeLists.txt:
2578 2012-04-25 Philippe Normand <pnormand@igalia.com>
2580 Webkit build fails due to missing gstreamer include file on Kubuntu 8.04
2581 https://bugs.webkit.org/show_bug.cgi?id=81913
2583 Reviewed by Tor Arne Vestbø.
2585 * WTF.pri: GStreamer build support implies GLib support, as it's
2586 done in WebCore.pri.
2588 2012-04-24 Benjamin Poulain <bpoulain@apple.com>
2590 Generalize the single character optimization of r114072
2591 https://bugs.webkit.org/show_bug.cgi?id=83961
2593 Reviewed by Eric Seidel.
2595 This patch makes some improvment over String::find() in the case of lookup for a single
2598 The two function find(UChar|LChar) are replaced by a template.
2600 The case of searching a UChar in a 8bit string has a shortcut if the UChar cannot
2601 possibly match any character in the range of the type LChar.
2603 The slow case StringImpl::find(StringImpl*) is modified to
2604 -Do not allocate in the fast case if only one string is 8bit.
2605 -Use the shortcut for searching UChar in LChar.
2607 This speed up the function by about 7% when avoiding string conversion.
2609 * wtf/text/StringImpl.cpp:
2610 (WTF::StringImpl::find):
2611 * wtf/text/StringImpl.h:
2615 (WTF::StringImpl::find):
2617 2012-04-24 Darin Adler <darin@apple.com>
2619 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2620 https://bugs.webkit.org/show_bug.cgi?id=84524
2622 Reviewed by Antti Koivisto.
2624 Added a new algorithm for checking for empty buckets that can be specialized.
2625 Specialized it for String. We may later want to do the same thing for KURL.
2626 It's not important to do it for AtomicString, since AtomicString's == function
2627 is already a simple pointer equality compare. We may also later want to do
2628 something similar for pairs that have String objects in them.
2631 (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
2632 will do something more efficient for String.
2634 * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
2635 of false. This allows us to continue to get automatic comparison with the appropriate
2636 emptyValue result for all existing traits, but supply a custom isEmptyValue function
2637 for HashTraits<String>. Putting an isEmptyValue function into the traits would require
2638 overriding it in every class that has a custom value for emptyValue. Specialized
2639 HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
2640 isEmptyValue function.
2641 (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
2642 struct to use either == combined with the emptyValue function or the isEmptyValue function.
2644 * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
2645 the bottom of the file.
2646 (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
2647 included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
2649 2012-04-23 Kenneth Russell <kbr@google.com>
2651 Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
2652 https://bugs.webkit.org/show_bug.cgi?id=73011
2654 Reviewed by Oliver Hunt.
2656 * wtf/ArrayBuffer.h:
2658 (WTF::ArrayBuffer::create):
2659 (WTF::ArrayBuffer::createUninitialized):
2661 (WTF::ArrayBufferContents::tryAllocate):
2662 * wtf/TypedArrayBase.h:
2663 (WTF::TypedArrayBase::createUninitialized):
2665 * wtf/Uint8ClampedArray.h:
2666 (Uint8ClampedArray):
2667 (WTF::Uint8ClampedArray::createUninitialized):
2669 (WTF::Uint8ClampedArray::zeroFill):
2671 2012-04-23 George Staikos <staikos@webkit.org>
2673 Enable parallel GC for BlackBerry.
2674 https://bugs.webkit.org/show_bug.cgi?id=84633
2676 Reviewed by Antonio Gomes.
2680 2012-04-23 Sheriff Bot <webkit.review.bot@gmail.com>
2682 Unreviewed, rolling out r114914.
2683 http://trac.webkit.org/changeset/114914
2684 https://bugs.webkit.org/show_bug.cgi?id=84615
2686 Causing infinite hangs on some tests involving HashMaps with
2687 integer keys (Requested by dimich on #webkit).
2690 (WTF::HashTable::isEmptyBucket):
2692 * wtf/text/StringHash.h:
2694 2012-04-23 Darin Adler <darin@apple.com>
2696 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
2697 https://bugs.webkit.org/show_bug.cgi?id=84524
2699 Reviewed by Antti Koivisto.
2701 Added a new algorithm for checking for empty buckets that can be specialized.
2702 Specialized it for String. We may later want to do the same thing for KURL.
2703 It's not important to do it for AtomicString, since AtomicString's == function
2704 is already a simple pointer equality compare.
2707 (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
2708 will do something more efficient for String.
2710 * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
2711 of false. This allows us to continue to get automatic comparison with the appropriate
2712 emptyValue result for all existing traits, but supply a custom isEmptyValue function
2713 for HashTraits<String>. Putting an isEmptyValue function into the traits would require
2714 overriding it in every class that has a custom value for emptyValue. Specialized
2715 HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
2716 isEmptyValue function.
2717 (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
2718 struct to use either == combined with the emptyValue function or the isEmptyValue function.
2719 (PairHashTraits): Define hasIsEmptyValueFunction and isEmptyValue.
2721 * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
2722 the bottom of the file.
2723 (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
2724 included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
2726 2012-04-18 Myles Maxfield <mmaxfield@google.com>
2728 Somehow, there's an errant backslash in my last WTF patch
2729 https://bugs.webkit.org/show_bug.cgi?id=84290
2731 Reviewed by Andreas Kling.
2733 * wtf/StdLibExtras.h:
2734 (WTF::roundUpToMultipleOf):
2736 2012-04-16 Nico Weber <thakis@chromium.org>
2738 Make NullPtr.h compile with clang -std=c++11 and libstdc++4.2
2739 https://bugs.webkit.org/show_bug.cgi?id=83999
2741 Reviewed by Sam Weinig.
2743 Before this patch, NullPtr.h assumed that a working |nullptr| implied
2744 a working |std::nullptr_t| as well. With clang and libstdc++4.2, this
2747 I tested (-stdlib=libc++, -stdlib=libstdc++) x (-std=c++11, -std=c++03)
2753 2012-04-14 Sam Weinig <sam@webkit.org>
2755 Harden WTF::ByteArray::create()
2756 https://bugs.webkit.org/show_bug.cgi?id=83318
2758 Reviewed by Maciej Stachowiak.
2760 * wtf/ByteArray.cpp:
2761 (WTF::ByteArray::create):
2762 Add overflow check. I don't believe there is anyway to trigger this currently,
2763 hence no tests, so this should be considered hardening.
2765 2012-04-12 Benjamin Poulain <bpoulain@apple.com>
2767 Inline StringImpl::find(UChar, ...)
2768 https://bugs.webkit.org/show_bug.cgi?id=83737
2770 Reviewed by Geoffrey Garen.
2772 The implementation of StringImpl::find() is a simple branch before invoking one of
2773 two inline functions. The overhead of having a function for StringImpl::find() is significant.
2775 It is better to let the compiler decide if that should be inlined or not.
2777 * wtf/text/StringImpl.cpp:
2778 * wtf/text/StringImpl.h:
2783 (WTF::StringImpl::find):
2784 * wtf/text/WTFString.h:
2786 2012-04-12 Balazs Kelemen <kbalazs@webkit.org>
2788 [Qt] Fix WebKit1 build with V8
2789 https://bugs.webkit.org/show_bug.cgi?id=83322
2791 Reviewed by Adam Barth.
2793 * wtf/StdLibExtras.h:
2796 2012-04-12 Jer Noble <jer.noble@apple.com>
2798 ThreadingWin: Mutex::unlock() can be "over-unlocked".
2799 https://bugs.webkit.org/show_bug.cgi?id=83725
2801 Reviewed by David Levin.
2803 In order to support the behavior of pthread_mutex_trylock(), the Windows Mutex class includes
2804 a recursion counter which is incremented in Mutex::lock(), decremented in Mutex::unlock(),
2805 and checked in Mutex::tryLock(). If the mutex is "over-unlocked", the counter wraps around to
2806 MAX_INT, and subsequent calls to Mutex::trylock() will fail. Raise an ASSERT in this situation
2807 so the "over-unlock" will be caught.
2809 * wtf/ThreadingWin.cpp:
2810 (WTF::Mutex::unlock): ASSERT if unlocking a non-locked mutex.
2812 2012-04-10 Mark Rowe <mrowe@apple.com>
2814 <rdar://problem/10583749> WebKit2 should log to both ASL and stderr
2816 Reviewed by Sam Weinig.
2818 * wtf/Assertions.cpp: Add a WTFLogAlways function that unconditionally logs the given message.
2821 2012-04-10 Patrick Gansterer <paroga@webkit.org>
2823 Cleanup wtf/Platform.h and config.h files
2824 https://bugs.webkit.org/show_bug.cgi?id=83431
2826 Reviewed by Eric Seidel.
2828 The ENABLE() and USE() macros take care about the case when the flag
2829 isn't defined. So there is no need to define anything with 0.
2831 Also move duplicated code from the config.h files to Platform.h and
2832 merge a few preprocessor commands to make the file more readable.
2837 2012-04-10 Filip Pizlo <fpizlo@apple.com>
2839 DFG should flush SetLocals to arguments
2840 https://bugs.webkit.org/show_bug.cgi?id=83554
2842 Reviewed by Gavin Barraclough.
2844 Added an isRoot() method that is a faster shorthand for saying
2848 (WTF::UnionFind::isRoot):
2851 2012-04-10 Adam Klein <adamk@chromium.org>
2853 Remove unused NonNullPassRefPtr from WTF
2854 https://bugs.webkit.org/show_bug.cgi?id=82389
2856 Reviewed by Kentaro Hara.
2858 NonNullPassRefPtr seems to be unused since JSC allocation was
2859 restructured in r84052.
2861 If someone decides they need this later, they can always revert this patch.
2867 2012-04-10 Patrick Gansterer <paroga@webkit.org>
2869 [CMake] Enable USE_FOLDERS property
2870 https://bugs.webkit.org/show_bug.cgi?id=83571
2872 Reviewed by Daniel Bates.
2874 Setting the FOLDER property on targets gives more structure
2875 to the generated Visual Studio solutions.
2876 This does not affect other CMake generators.
2878 * wtf/CMakeLists.txt:
2880 2012-04-09 Patrick Gansterer <paroga@webkit.org>
2882 Port BinarySemaphoreWin.cpp to WinCE
2883 https://bugs.webkit.org/show_bug.cgi?id=83502
2885 Reviewed by Daniel Bates.
2887 Replace WaitForSingleObjectEx with WaitForSingleObject since
2888 the additonal parameter supported by the extended function
2889 is not used anyway and the function does not exist on WinCE.
2891 * wtf/CMakeLists.txt:
2892 * wtf/PlatformWinCE.cmake:
2893 * wtf/threads/win/BinarySemaphoreWin.cpp:
2894 (WTF::BinarySemaphore::wait):
2896 2012-04-09 Patrick Gansterer <paroga@webkit.org>
2898 [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
2900 * wtf/CMakeLists.txt:
2902 2012-04-09 Patrick Gansterer <paroga@webkit.org>
2904 Remove HAVE_STDINT_H
2905 https://bugs.webkit.org/show_bug.cgi?id=83434
2907 Reviewed by Kentaro Hara.
2909 HAVE_STDINT_H is defined with 1 all the time and we us stdint.h without HAVE(STDINT_H) already.
2912 * wtf/FastMalloc.cpp:
2915 * wtf/TCSystemAlloc.cpp:
2917 2012-04-06 Benjamin Poulain <bpoulain@apple.com>
2919 Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION
2920 https://bugs.webkit.org/show_bug.cgi?id=83325
2922 Reviewed by Ryosuke Niwa.
2924 * wtf/Platform.h: Remove the flag.
2926 2012-04-06 Darin Adler <darin@apple.com>
2928 Streamline strtod and fix some related problems
2929 https://bugs.webkit.org/show_bug.cgi?id=82857
2931 Reviewed by Geoffrey Garen.
2933 Replaced the strtod function template with a parseDouble function, eliminating
2934 the following unneeded features:
2936 - need for a trailing null character and a call to strlen
2937 - needless conversion of string lengths from size_t to int and back that created
2938 the possibility of incorrect truncation
2939 - one level of function call; use inlining instead
2940 - construction of the StringToDoubleConverter object; it was used to pass
2941 arguments that are known at compile time
2942 - most of the StringToDoubleConverter::StringToDouble function's body; it was
2943 code we did not need
2944 - parsing of Infinity and NaN at the strtod level; added recently when we moved
2945 from the old strtod to the new one, and not needed or helpful at this level
2946 - multiple copies of code to narrow to single byte strings; in many cases
2947 this was done even when starting with an LChar string that is already
2948 single-byte, now we handle this with an overload of parseDouble
2951 Removed a long comment about the original strtod function that no longer
2952 applies since we deleted that function long ago. Removed a lot of includes.
2953 Removed the strtod function templates and its instantiations, since they
2954 are now replaced by the parseDouble function.
2955 (WTF::Internal::parseDoubleFromLongString): Added.
2957 Added an include of ASCIICType.h so we can use isASCII in a function in this
2958 header. Left the heretofore unneeded include of double-conversion.h, since we
2959 now want to use it in a function in this header. Removed the AllowTrailingJunkTag
2960 and AllowTrailingSpacesTag enumerations and the strtod function template. Added
2961 new parseDouble function, and inline implementation of it.
2963 * wtf/dtoa/double-conversion.cc: Removed quite a bit of unused code, hardcoding
2964 all the StringToDouble function arguments that come from data members so it can
2965 be a much smaller static member function. Also changed the types of arguments
2967 * wtf/dtoa/double-conversion.h: Removed most of the StringToDoubleConverter
2968 class, leaving only the conversion function as a static member function.
2970 * wtf/text/StringImpl.cpp:
2971 (WTF::StringImpl::toDouble): Got rid of didReadNumber.
2972 (WTF::StringImpl::toFloat): Ditto.
2973 * wtf/text/StringImpl.h: Ditto.
2974 * wtf/text/WTFString.cpp:
2975 (WTF::String::toDouble): Got rid of didReadNumber.
2976 (WTF::String::toFloat): Ditto.
2977 (WTF::toDoubleType): Rewrote this function to use parseDouble. Moved the code
2978 to skip leading spaces here, because other callers of parseDouble don't want
2979 to do that. Repurposed the check for an empty string so it's now the same
2980 code shared by all the "parsed nothing" cases. Removed the code to convert
2981 the buffer to ASCII for two reasons: (1) We don't need that code at all when
2982 CharType is LChar, and (2) We now handle this through the two overloads for
2983 the parseDouble function. Disallowing trailing junk is now handled here,
2984 rather than inside parseDouble.
2985 (WTF::charactersToDouble): Updated for changes to toDoubleType. Removed the
2986 didReadNumber argument.
2987 (WTF::charactersToFloat): Ditto. Also added overloads that return the parsed
2988 length. These are a slightly more powerful way to do what didReadNumber was
2991 * wtf/text/WTFString.h: Added comments, eliminated didReadNumber, and added
2992 overloads of charactersToFloat that replace charactersToFloatIgnoringJunk.
2994 2012-04-05 Patrick Gansterer <paroga@webkit.org>
2996 [WinCE] Remove unnecessary function decleration
2997 https://bugs.webkit.org/show_bug.cgi?id=83155
2999 Reviewed by Kentaro Hara.
3004 2012-04-04 Patrick Gansterer <paroga@webkit.org>
3006 Add WTF::getCurrentLocalTime()
3007 https://bugs.webkit.org/show_bug.cgi?id=83164
3009 Reviewed by Alexey Proskuryakov.
3011 Replace the calls to WTF::getLocalTime() with time(0) with the new function.
3012 This allows us to use Win32 API on windows to get the same result in a next step.
3014 Also remove the inline keyword from WTF::getLocalTime(), since there is no need for
3015 it and it will make the later Win32 API changes easier.
3018 * wtf/CurrentTime.cpp:
3019 (WTF::getLocalTime):
3020 (WTF::getCurrentLocalTime):
3021 * wtf/CurrentTime.h:
3023 2012-04-04 Chris Rogers <crogers@google.com>
3025 Web Audio should use MutexTryLocker class
3026 https://bugs.webkit.org/show_bug.cgi?id=83194
3028 Reviewed by Kenneth Russell.
3030 Add MutexTryLocker class which can be used as a stack-based object wrapping a Mutex.
3031 It will automatically unlock the Mutex in its destructor if the tryLock() succeeded.
3033 * wtf/ThreadingPrimitives.h:
3035 (WTF::MutexTryLocker::MutexTryLocker):
3036 (WTF::MutexTryLocker::~MutexTryLocker):
3037 (WTF::MutexTryLocker::locked):
3038 Check if the tryLock() on the Mutex succeeded.
3041 2012-04-04 Kausalya Madhusudhanan <kmadhusu@chromium.org>
3043 [Coverity] Address some uninit constructor values.
3044 https://bugs.webkit.org/show_bug.cgi?id=82424
3046 Reviewed by Stephen White.
3048 New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
3050 * wtf/ArrayBufferView.cpp:
3051 (WTF::ArrayBufferView::ArrayBufferView):
3053 2012-03-30 David Barr <davidbarr@chromium.org>
3055 Split up top-level .gitignore and .gitattributes
3056 https://bugs.webkit.org/show_bug.cgi?id=82687
3058 Reviewed by Tor Arne Vestbø.
3060 * WTF.gyp/.gitignore: Added.
3062 2012-03-29 Kevin Ollivier <kevino@theolliviers.com>
3064 [wx] Unreviewed build fix. Add export symbols needed to
3065 build wx under Windows.
3068 * wtf/ParallelJobsGeneric.h:
3069 (ParallelEnvironment):
3070 * wtf/ThreadSpecific.h:
3073 2012-03-29 Kevin Ollivier <kevino@theolliviers.com>
3075 [wx] Unreviewed build fix. Add WTF_EXPORT_PRIVATE_NO_RTTI
3076 so that ports not using RTTI can add symbol exports to
3077 classes that RTTI ports export with WTF_EXPORT_PRIVATE_RTTI.
3079 * wtf/ArrayBufferView.h:
3080 * wtf/ExportMacros.h:
3082 2012-03-29 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3084 HashMap<>::add should return a more descriptive object
3085 https://bugs.webkit.org/show_bug.cgi?id=71063
3087 Reviewed by Ryosuke Niwa.
3089 Make HashTable<>::add() and derivate functions return an AddResult struct instead
3090 of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
3091 more readable at callsites than previous 'first' and 'second'.
3093 * wtf/HashCountedSet.h:
3105 (WTF::HashTableAddResult::HashTableAddResult):
3106 (HashTableAddResult):
3109 (WTF::HashTable::add):
3111 (WTF::::addPassingHashCode):
3112 * wtf/ListHashSet.h:
3115 (WTF::::insertBefore):
3116 * wtf/RefPtrHashMap.h:
3120 (WTF::Spectrum::add):
3121 * wtf/WTFThreadData.cpp:
3122 (JSC::IdentifierTable::add):
3123 * wtf/WTFThreadData.h:
3125 * wtf/text/AtomicString.cpp:
3126 (WTF::addToStringTable):
3127 (WTF::AtomicString::addSlowCase):
3129 2012-03-29 Andreas Kling <kling@webkit.org>
3131 String: Subscript operator shouldn't force conversion to 16-bit characters.
3132 <http://webkit.org/b/82613>
3134 Reviewed by Anders Carlsson.
3136 Forward String::operator[] to StringImpl::operator[] instead of indexing into characters().
3137 This avoid implicit conversion of 8-bit strings to 16-bit, and as an example, reduces memory
3138 usage on http://www.allthingsd.com/ by 360kB.
3140 * wtf/text/WTFString.h:
3141 (WTF::String::operator[]):
3143 2012-03-28 Carlos Garcia Campos <cgarcia@igalia.com>
3145 [GTK] Implement PlatformStrategies
3146 https://bugs.webkit.org/show_bug.cgi?id=82454
3148 Reviewed by Xan Lopez.
3150 * wtf/Platform.h: Define WTF_USE_PLATFORM_STRATEGIES for GTK+
3153 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
3155 Set eol-style: native on WTF.sln per Ryan Sleevi's request.
3157 * WTF.vcproj/WTF.sln: Added property svn:eol-style.
3159 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
3161 Chromium build fix; add BitVector.h/cpp to gypi.
3165 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
3167 Touch BitVector as a speculative fix for Chromium Linux.
3172 2012-03-23 Ryosuke Niwa <rniwa@webkit.org>
3174 cssText should use shorthand notations
3175 https://bugs.webkit.org/show_bug.cgi?id=81737
3177 Reviewed by Enrica Casucci.
3181 (WTF::BitVector::ensureSizeAndSet): Added.
3183 2012-03-26 Carlos Garcia Campos <cgarcia@igalia.com>
3185 Unreviewed. Fix make distcheck.
3187 * GNUmakefile.list.am: Add config.h to the source file list.
3189 2012-03-25 Kevin Ollivier <kevino@theolliviers.com>
3191 [wx] Unreviewed build fix. Move WTF to its own static lib build.
3195 2012-03-23 Tony Chang <tony@chromium.org>
3197 [chromium] Unreviewed, move a comment closer to where it matters and
3198 make it more specific.
3202 2012-03-23 Steve Falkenburg <sfalken@apple.com>
3204 Update Apple Windows build files for WTF move
3205 https://bugs.webkit.org/show_bug.cgi?id=82069
3207 Reviewed by Jessie Berlin.
3209 * WTF.vcproj/WTF.make: Added.
3210 * WTF.vcproj/WTF.sln: Added.
3212 2012-03-23 Dean Jackson <dino@apple.com>
3214 Disable CSS_SHADERS in Apple builds
3215 https://bugs.webkit.org/show_bug.cgi?id=81996
3217 Reviewed by Simon Fraser.
3219 Put ENABLE_CSS_SHADERS into Platform.h, but disable for
3224 2012-03-23 Tony Chang <tony@chromium.org>
3226 [chromium] rename newwtf target back to wtf
3227 https://bugs.webkit.org/show_bug.cgi?id=82064
3229 Reviewed by Adam Barth.
3233 2012-03-22 Jessie Berlin <jberlin@apple.com>
3235 Windows build fix after r111778.
3237 * WTF.vcproj/WTF.vcproj:
3238 DateMath.h and DateMath.cpp should be built by WTF, since they are part of WTF.
3240 2012-03-22 Raphael Kubo da Costa <rakuco@FreeBSD.org>
3242 [CMake] Unreviewed build fix after r111778.
3244 * CMakeLists.txt: Added.
3245 * wtf/CMakeLists.txt: Add ${CMAKE_BINARY_DIR} to the include paths
3246 for cmakeconfig.h to be found.
3248 2012-03-22 Tony Chang <tony@chromium.org>
3250 Unreviewed, attempt to fix the chromium-win build and another attempt
3251 at fixing the chromium-android build.
3255 2012-03-22 Tony Chang <tony@chromium.org>
3257 Unreviewed, attempt to fix chromium-android build.
3261 2012-03-22 Tony Chang <tony@chromium.org>
3263 Unreviewed, fix chromium build after wtf move.
3265 Move wtf_config and wtf settings to newwtf.
3269 2012-03-22 Martin Robinson <mrobinson@igalia.com>
3271 One more GTK+ build fix after r111778.
3273 * GNUmakefile.am: Adding missing include path.
3275 2012-03-22 Martin Robinson <mrobinson@igalia.com>
3277 Fixed the GTK+ WTF/JavaScriptCore build after r111778.
3279 * GNUmakefile.am: Remove some extra trailing backslashes and a few uncessary
3281 * GNUmakefile.list.am: Ditto.
3283 2012-03-22 Dan Bernstein <mitz@apple.com>
3285 Fixed the JavaScriptCore debug build after r111778.
3287 * WTF.xcodeproj/project.pbxproj: Use debug DEBUG_DEFINES when building
3288 the Debug configuration.
3290 2012-03-22 Csaba Osztrogonác <ossy@webkit.org>
3292 Actually move WTF files to their new home
3293 https://bugs.webkit.org/show_bug.cgi?id=81844
3295 [Qt] Unreviewed buildfix after r111778.
3299 2012-03-22 Eric Seidel <eric@webkit.org>
3301 Actually move WTF files to their new home
3302 https://bugs.webkit.org/show_bug.cgi?id=81844
3304 Unreviewed attempt to fix AppleWin.
3306 * WTF.vcproj/WTFCommon.vsprops:
3308 2012-03-22 Eric Seidel <eric@webkit.org>
3310 Actually move WTF files to their new home
3311 https://bugs.webkit.org/show_bug.cgi?id=81844
3313 Unreviewed. The 5MB file move is not very reviewable,
3314 but various port representatives have OK'd changes to the
3315 individual build systems.
3317 * Configurations/WTF.xcconfig:
3318 * GNUmakefile.list.am:
3319 * Stub.cpp: Removed.
3324 * WTF.vcproj/WTF.vcproj:
3325 * WTF.vcproj/copy-files.cmd:
3326 * WTF.xcodeproj/project.pbxproj:
3328 * wtf/ASCIICType.h: Renamed from Source/JavaScriptCore/wtf/ASCIICType.h.
3331 (WTF::isASCIIAlpha):
3332 (WTF::isASCIIDigit):
3333 (WTF::isASCIIAlphanumeric):
3334 (WTF::isASCIIHexDigit):
3335 (WTF::isASCIILower):
3336 (WTF::isASCIIOctalDigit):
3337 (WTF::isASCIIPrintable):
3338 (WTF::isASCIISpace):
3339 (WTF::isASCIIUpper):
3340 (WTF::toASCIILower):
3341 (WTF::toASCIILowerUnchecked):
3342 (WTF::toASCIIUpper):
3343 (WTF::toASCIIHexValue):
3344 (WTF::lowerNibbleToASCIIHexDigit):
3345 (WTF::upperNibbleToASCIIHexDigit):
3346 (WTF::isASCIIAlphaCaselessEqual):
3347 * wtf/AVLTree.h: Renamed from Source/JavaScriptCore/wtf/AVLTree.h.
3349 (AVLTreeDefaultBSet):
3350 (WTF::AVLTreeDefaultBSet::operator[]):
3351 (WTF::AVLTreeDefaultBSet::set):
3352 (WTF::AVLTreeDefaultBSet::reset):
3354 (WTF::AVLTree::abstractor):
3355 (WTF::AVLTree::purge):
3356 (WTF::AVLTree::is_empty):
3357 (WTF::AVLTree::AVLTree):
3359 (WTF::AVLTree::Iterator::Iterator):
3360 (WTF::AVLTree::Iterator::start_iter):
3361 (WTF::AVLTree::Iterator::start_iter_least):
3362 (WTF::AVLTree::Iterator::start_iter_greatest):
3363 (WTF::AVLTree::Iterator::operator*):
3364 (WTF::AVLTree::Iterator::operator++):
3365 (WTF::AVLTree::Iterator::operator--):
3366 (WTF::AVLTree::Iterator::cmp_k_n):
3367 (WTF::AVLTree::Iterator::cmp_n_n):
3368 (WTF::AVLTree::Iterator::get_lt):
3369 (WTF::AVLTree::Iterator::get_gt):
3370 (WTF::AVLTree::Iterator::null):
3371 (WTF::AVLTree::build):
3373 (WTF::AVLTree::get_lt):
3374 (WTF::AVLTree::set_lt):
3375 (WTF::AVLTree::get_gt):
3376 (WTF::AVLTree::set_gt):
3377 (WTF::AVLTree::get_bf):
3378 (WTF::AVLTree::set_bf):
3379 (WTF::AVLTree::cmp_k_n):
3380 (WTF::AVLTree::cmp_n_n):
3381 (WTF::AVLTree::null):
3382 (WTF::AVLTree::balance):
3385 (WTF::::search_least):
3386 (WTF::::search_greatest):
3389 * wtf/Alignment.h: Renamed from Source/JavaScriptCore/wtf/Alignment.h.
3392 * wtf/AlwaysInline.h: Renamed from Source/JavaScriptCore/wtf/AlwaysInline.h.
3393 * wtf/ArrayBuffer.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.cpp.
3395 (WTF::ArrayBuffer::transfer):
3396 (WTF::ArrayBuffer::addView):
3397 (WTF::ArrayBuffer::removeView):
3398 * wtf/ArrayBuffer.h: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.h.
3400 (ArrayBufferContents):
3401 (WTF::ArrayBufferContents::ArrayBufferContents):
3402 (WTF::ArrayBufferContents::data):
3403 (WTF::ArrayBufferContents::sizeInBytes):
3404 (WTF::ArrayBufferContents::transfer):
3406 (WTF::ArrayBuffer::isNeutered):
3407 (WTF::ArrayBuffer::~ArrayBuffer):
3408 (WTF::ArrayBuffer::clampValue):
3409 (WTF::ArrayBuffer::create):
3410 (WTF::ArrayBuffer::ArrayBuffer):
3411 (WTF::ArrayBuffer::data):
3412 (WTF::ArrayBuffer::byteLength):
3413 (WTF::ArrayBuffer::slice):
3414 (WTF::ArrayBuffer::sliceImpl):
3415 (WTF::ArrayBuffer::clampIndex):
3416 (WTF::ArrayBufferContents::tryAllocate):
3417 (WTF::ArrayBufferContents::~ArrayBufferContents):
3418 * wtf/ArrayBufferView.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.cpp.
3420 (WTF::ArrayBufferView::ArrayBufferView):
3421 (WTF::ArrayBufferView::~ArrayBufferView):
3422 (WTF::ArrayBufferView::neuter):
3423 * wtf/ArrayBufferView.h: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.h.
3425 (WTF::ArrayBufferView::setImpl):
3426 (WTF::ArrayBufferView::setRangeImpl):
3427 (WTF::ArrayBufferView::zeroRangeImpl):
3428 (WTF::ArrayBufferView::calculateOffsetAndLength):
3429 * wtf/Assertions.cpp: Renamed from Source/JavaScriptCore/wtf/Assertions.cpp.
3430 * wtf/Assertions.h: Renamed from Source/JavaScriptCore/wtf/Assertions.h.
3432 (assertWithMessageUnused):
3433 * wtf/Atomics.h: Renamed from Source/JavaScriptCore/wtf/Atomics.h.
3435 (WTF::atomicIncrement):
3436 (WTF::atomicDecrement):
3437 (WTF::weakCompareAndSwap):
3438 (WTF::weakCompareAndSwapUIntPtr):
3439 * wtf/BitVector.cpp: Renamed from Source/JavaScriptCore/wtf/BitVector.cpp.
3441 (WTF::BitVector::setSlow):
3442 (WTF::BitVector::resize):
3443 (WTF::BitVector::clearAll):
3444 (WTF::BitVector::OutOfLineBits::create):
3445 (WTF::BitVector::OutOfLineBits::destroy):
3446 (WTF::BitVector::resizeOutOfLine):
3447 (WTF::BitVector::dump):
3448 * wtf/BitVector.h: Renamed from Source/JavaScriptCore/wtf/BitVector.h.
3451 (WTF::BitVector::BitVector):
3452 (WTF::BitVector::~BitVector):
3453 (WTF::BitVector::operator=):
3454 (WTF::BitVector::size):
3455 (WTF::BitVector::ensureSize):
3456 (WTF::BitVector::quickGet):
3457 (WTF::BitVector::quickSet):
3458 (WTF::BitVector::quickClear):
3459 (WTF::BitVector::get):
3460 (WTF::BitVector::set):
3461 (WTF::BitVector::clear):
3462 (WTF::BitVector::bitsInPointer):
3463 (WTF::BitVector::maxInlineBits):
3464 (WTF::BitVector::byteCount):
3465 (WTF::BitVector::makeInlineBits):
3467 (WTF::BitVector::OutOfLineBits::numBits):
3468 (WTF::BitVector::OutOfLineBits::numWords):
3469 (WTF::BitVector::OutOfLineBits::bits):
3470 (WTF::BitVector::OutOfLineBits::OutOfLineBits):
3471 (WTF::BitVector::isInline):
3472 (WTF::BitVector::outOfLineBits):
3473 (WTF::BitVector::bits):
3474 * wtf/Bitmap.h: Renamed from Source/JavaScriptCore/wtf/Bitmap.h.
3480 (WTF::::testAndSet):
3481 (WTF::::testAndClear):
3482 (WTF::::concurrentTestAndSet):
3483 (WTF::::concurrentTestAndClear):
3486 (WTF::::nextPossiblyUnset):
3487 (WTF::::findRunOfZeros):
3491 * wtf/BlockStack.h: Renamed from Source/JavaScriptCore/wtf/BlockStack.h.
3494 (WTF::::BlockStack):
3495 (WTF::::~BlockStack):
3499 * wtf/BloomFilter.h: Renamed from Source/JavaScriptCore/wtf/BloomFilter.h.
3502 (WTF::BloomFilter::maximumCount):
3503 (WTF::BloomFilter::BloomFilter):
3504 (WTF::BloomFilter::mayContain):
3505 (WTF::BloomFilter::add):
3506 (WTF::BloomFilter::remove):
3507 (WTF::BloomFilter::firstSlot):
3508 (WTF::BloomFilter::secondSlot):
3512 (WTF::::likelyEmpty):
3514 * wtf/BoundsCheckedPointer.h: Renamed from Source/JavaScriptCore/wtf/BoundsCheckedPointer.h.
3516 (BoundsCheckedPointer):
3517 (WTF::BoundsCheckedPointer::BoundsCheckedPointer):
3518 (WTF::BoundsCheckedPointer::operator=):
3519 (WTF::BoundsCheckedPointer::operator+=):
3520 (WTF::BoundsCheckedPointer::operator-=):
3521 (WTF::BoundsCheckedPointer::operator+):
3522 (WTF::BoundsCheckedPointer::operator-):
3523 (WTF::BoundsCheckedPointer::operator++):
3524 (WTF::BoundsCheckedPointer::operator--):
3525 (WTF::BoundsCheckedPointer::operator<):
3526 (WTF::BoundsCheckedPointer::operator<=):
3527 (WTF::BoundsCheckedPointer::operator>):
3528 (WTF::BoundsCheckedPointer::operator>=):
3529 (WTF::BoundsCheckedPointer::operator==):
3530 (WTF::BoundsCheckedPointer::operator!=):
3531 (WTF::BoundsCheckedPointer::operator!):
3532 (WTF::BoundsCheckedPointer::get):
3533 (WTF::BoundsCheckedPointer::operator*):
3534 (WTF::BoundsCheckedPointer::operator[]):
3535 (WTF::BoundsCheckedPointer::strcat):
3536 (WTF::BoundsCheckedPointer::validate):
3537 * wtf/BumpPointerAllocator.h: Renamed from Source/JavaScriptCore/wtf/BumpPointerAllocator.h.
3540 (WTF::BumpPointerPool::ensureCapacity):
3541 (WTF::BumpPointerPool::alloc):
3542 (WTF::BumpPointerPool::dealloc):
3543 (WTF::BumpPointerPool::operator new):
3544 (WTF::BumpPointerPool::BumpPointerPool):
3545 (WTF::BumpPointerPool::create):
3546 (WTF::BumpPointerPool::shrink):
3547 (WTF::BumpPointerPool::destroy):
3548 (WTF::BumpPointerPool::ensureCapacityCrossPool):
3549 (WTF::BumpPointerPool::deallocCrossPool):
3550 (BumpPointerAllocator):
3551 (WTF::BumpPointerAllocator::BumpPointerAllocator):
3552 (WTF::BumpPointerAllocator::~BumpPointerAllocator):
3553 (WTF::BumpPointerAllocator::startAllocator):
3554 (WTF::BumpPointerAllocator::stopAllocator):
3555 * wtf/ByteArray.cpp: Renamed from Source/JavaScriptCore/wtf/ByteArray.cpp.
3557 (WTF::ByteArray::create):
3558 * wtf/ByteArray.h: Renamed from Source/JavaScriptCore/wtf/ByteArray.h.
3560 (WTF::ByteArray::length):
3561 (WTF::ByteArray::set):
3562 (WTF::ByteArray::get):
3563 (WTF::ByteArray::data):
3564 (WTF::ByteArray::clear):
3565 (WTF::ByteArray::deref):
3566 (WTF::ByteArray::offsetOfSize):
3567 (WTF::ByteArray::offsetOfData):
3568 (WTF::ByteArray::ByteArray):
3569 * wtf/CMakeLists.txt: Renamed from Source/JavaScriptCore/wtf/CMakeLists.txt.
3570 * wtf/CONTRIBUTORS.pthreads-win32: Renamed from Source/JavaScriptCore/wtf/CONTRIBUTORS.pthreads-win32.
3571 * wtf/CheckedArithmetic.h: Renamed from Source/JavaScriptCore/wtf/CheckedArithmetic.h.
3574 (WTF::CrashOnOverflow::overflowed):
3575 (WTF::CrashOnOverflow::clearOverflow):
3576 (WTF::CrashOnOverflow::hasOverflowed):
3578 (WTF::RecordOverflow::RecordOverflow):
3579 (WTF::RecordOverflow::overflowed):
3580 (WTF::RecordOverflow::clearOverflow):
3581 (WTF::RecordOverflow::hasOverflowed):
3586 (WTF::safeMultiply):
3588 (WTF::workAroundClangBug):
3590 (WTF::Checked::Checked):
3591 (WTF::Checked::operator=):
3592 (WTF::Checked::operator++):
3593 (WTF::Checked::operator--):
3594 (WTF::Checked::operator!):
3595 (WTF::Checked::operator UnspecifiedBoolType*):
3596 (WTF::Checked::unsafeGet):
3597 (WTF::Checked::operator+=):
3598 (WTF::Checked::operator-=):
3599 (WTF::Checked::operator*=):
3600 (WTF::Checked::operator==):
3601 (WTF::Checked::operator!=):
3605 * wtf/CheckedBoolean.h: Renamed from Source/JavaScriptCore/wtf/CheckedBoolean.h.
3607 (CheckedBoolean::CheckedBoolean):
3608 (CheckedBoolean::~CheckedBoolean):
3609 (CheckedBoolean::operator bool):
3610 * wtf/Compiler.h: Renamed from Source/JavaScriptCore/wtf/Compiler.h.
3611 * wtf/Complex.h: Renamed from Source/JavaScriptCore/wtf/Complex.h.
3613 (WTF::complexFromMagnitudePhase):
3614 * wtf/CryptographicallyRandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp.
3615 (WTF::cryptographicallyRandomNumber):
3617 (WTF::cryptographicallyRandomValues):
3618 * wtf/CryptographicallyRandomNumber.h: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.h.
3620 * wtf/CurrentTime.cpp: Renamed from Source/JavaScriptCore/wtf/CurrentTime.cpp.
3622 (WTF::highResUpTime):
3623 (WTF::lowResUTCTime):
3624 (WTF::qpcAvailable):
3626 (WTF::currentSystemTime):
3627 (WTF::monotonicallyIncreasingTime):
3628 * wtf/CurrentTime.h: Renamed from Source/JavaScriptCore/wtf/CurrentTime.h.
3630 (WTF::currentTimeMS):
3631 (WTF::getLocalTime):
3632 * wtf/DataLog.cpp: Renamed from Source/JavaScriptCore/wtf/DataLog.cpp.
3634 (WTF::initializeLogFileOnce):
3635 (WTF::initializeLogFile):
3639 * wtf/DataLog.h: Renamed from Source/JavaScriptCore/wtf/DataLog.h.
3641 * wtf/DateMath.cpp: Renamed from Source/JavaScriptCore/wtf/DateMath.cpp.
3645 (WTF::daysFrom1970ToYear):
3647 (WTF::twoDigitStringFromNumber):
3650 (WTF::msToMilliseconds):
3653 (WTF::monthFromDayInYear):
3655 (WTF::dayInMonthFromDayInYear):
3656 (WTF::monthToDayInYear):
3657 (WTF::dateToDaysFrom1970):
3658 (WTF::maximumYearForDST):
3659 (WTF::minimumYearForDST):
3660 (WTF::equivalentYearForDST):
3661 (WTF::calculateUTCOffset):
3662 (WTF::calculateDSTOffsetSimple):
3663 (WTF::calculateDSTOffset):
3664 (WTF::initializeDates):
3665 (WTF::ymdhmsToSeconds):
3667 (WTF::skipSpacesAndComments):
3670 (WTF::parseES5DatePortion):
3671 (WTF::parseES5TimePortion):
3672 (WTF::parseES5DateFromNullTerminatedCharacters):
3673 (WTF::parseDateFromNullTerminatedCharacters):
3675 (WTF::makeRFC2822DateString):
3676 * wtf/DateMath.h: Renamed from Source/JavaScriptCore/wtf/DateMath.h.
3678 (WTF::jsCurrentTime):
3679 * wtf/DecimalNumber.cpp: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.cpp.
3681 (WTF::DecimalNumber::bufferLengthForStringDecimal):
3682 (WTF::DecimalNumber::bufferLengthForStringExponential):
3683 (WTF::DecimalNumber::toStringDecimal):
3684 (WTF::DecimalNumber::toStringExponential):
3685 * wtf/DecimalNumber.h: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.h.
3688 (WTF::DecimalNumber::DecimalNumber):
3689 (WTF::DecimalNumber::sign):
3690 (WTF::DecimalNumber::exponent):
3691 (WTF::DecimalNumber::significand):
3692 (WTF::DecimalNumber::precision):
3693 * wtf/Decoder.h: Renamed from Source/JavaScriptCore/wtf/Decoder.h.
3696 (WTF::Decoder::Decoder):
3697 (WTF::Decoder::~Decoder):
3698 * wtf/Deque.h: Renamed from Source/JavaScriptCore/wtf/Deque.h.
3702 (WTF::Deque::isEmpty):
3703 (WTF::Deque::begin):
3705 (WTF::Deque::rbegin):
3707 (WTF::Deque::first):
3709 (DequeIteratorBase):
3710 (WTF::DequeIteratorBase::assign):
3712 (WTF::DequeIterator::DequeIterator):
3713 (WTF::DequeIterator::operator=):
3714 (WTF::DequeIterator::operator*):
3715 (WTF::DequeIterator::operator->):
3716 (WTF::DequeIterator::operator==):
3717 (WTF::DequeIterator::operator!=):
3718 (WTF::DequeIterator::operator++):
3719 (WTF::DequeIterator::operator--):
3720 (DequeConstIterator):
3721 (WTF::DequeConstIterator::DequeConstIterator):
3722 (WTF::DequeConstIterator::operator=):
3723 (WTF::DequeConstIterator::operator*):
3724 (WTF::DequeConstIterator::operator->):
3725 (WTF::DequeConstIterator::operator==):
3726 (WTF::DequeConstIterator::operator!=):
3727 (WTF::DequeConstIterator::operator++):
3728 (WTF::DequeConstIterator::operator--):
3729 (DequeReverseIterator):
3730 (WTF::DequeReverseIterator::DequeReverseIterator):
3731 (WTF::DequeReverseIterator::operator=):
3732 (WTF::DequeReverseIterator::operator*):
3733 (WTF::DequeReverseIterator::operator->):
3734 (WTF::DequeReverseIterator::operator==):
3735 (WTF::DequeReverseIterator::operator!=):
3736 (WTF::DequeReverseIterator::operator++):
3737 (WTF::DequeReverseIterator::operator--):
3738 (DequeConstReverseIterator):
3739 (WTF::DequeConstReverseIterator::DequeConstReverseIterator):
3740 (WTF::DequeConstReverseIterator::operator=):
3741 (WTF::DequeConstReverseIterator::operator*):
3742 (WTF::DequeConstReverseIterator::operator->):
3743 (WTF::DequeConstReverseIterator::operator==):
3744 (WTF::DequeConstReverseIterator::operator!=):
3745 (WTF::DequeConstReverseIterator::operator++):
3746 (WTF::DequeConstReverseIterator::operator--):
3747 (WTF::::checkValidity):
3748 (WTF::::checkIndexValidity):
3749 (WTF::::invalidateIterators):
3751 (WTF::deleteAllValues):
3753 (WTF::::destroyAll):
3758 (WTF::::expandCapacityIfNeeded):
3759 (WTF::::expandCapacity):
3763 (WTF::::removeFirst):
3765 (WTF::::addToIteratorsList):
3766 (WTF::::removeFromIteratorsList):
3767 (WTF::::DequeIteratorBase):
3768 (WTF::::~DequeIteratorBase):
3774 * wtf/DisallowCType.h: Renamed from Source/JavaScriptCore/wtf/DisallowCType.h.
3775 * wtf/DoublyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/DoublyLinkedList.h.
3777 (DoublyLinkedListNode):
3778 (WTF::::DoublyLinkedListNode):
3784 (WTF::::DoublyLinkedList):
3793 (WTF::::removeHead):
3794 * wtf/DynamicAnnotations.cpp: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.cpp.
3795 (WTFAnnotateBenignRaceSized):
3796 (WTFAnnotateHappensBefore):
3797 (WTFAnnotateHappensAfter):
3798 * wtf/DynamicAnnotations.h: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.h.
3799 * wtf/Encoder.h: Renamed from Source/JavaScriptCore/wtf/Encoder.h.
3802 (WTF::Encoder::Encoder):
3803 (WTF::Encoder::~Encoder):
3804 * wtf/ExportMacros.h: Renamed from Source/JavaScriptCore/wtf/ExportMacros.h.
3805 * wtf/FastAllocBase.h: Renamed from Source/JavaScriptCore/wtf/FastAllocBase.h.
3809 (WTF::Internal::NewArrayImpl::fastNewArray):
3810 (WTF::fastNewArray):
3812 (WTF::fastDeleteSkippingDestructor):
3813 (WTF::Internal::DeleteArrayImpl::fastDeleteArray):
3814 (WTF::fastDeleteArray):
3815 (WTF::fastNonNullDelete):
3816 (WTF::Internal::NonNullDeleteArrayImpl::fastNonNullDeleteArray):
3817 (WTF::fastNonNullDeleteArray):
3818 * wtf/FastMalloc.cpp: Renamed from Source/JavaScriptCore/wtf/FastMalloc.cpp.
3821 (WTF::fastMallocForbid):
3822 (WTF::fastMallocAllow):
3823 (WTF::initializeIsForbiddenKey):
3825 (WTF::Internal::fastMallocMatchFailed):
3826 (WTF::fastZeroedMalloc):
3828 (WTF::tryFastZeroedMalloc):
3829 (WTF::tryFastMalloc):
3831 (WTF::tryFastCalloc):
3834 (WTF::tryFastRealloc):
3836 (WTF::releaseFastMallocFreeMemory):
3837 (WTF::fastMallocStatistics):
3838 (WTF::fastMallocSize):
3840 (WTF::FastMallocZone::goodSize):
3841 (WTF::FastMallocZone::check):
3842 (WTF::FastMallocZone::print):
3843 (WTF::FastMallocZone::log):
3844 (WTF::FastMallocZone::forceLock):
3845 (WTF::FastMallocZone::forceUnlock):
3846 (WTF::FastMallocZone::statistics):
3847 (WTF::FastMallocZone::zoneValloc):
3848 (WTF::FastMallocZone::zoneDestroy):
3849 (WTF::KernelSupportsTLS):
3850 (WTF::CheckIfKernelSupportsTLS):
3858 (WTF::SLL_PopRange):
3859 (WTF::SLL_PushRange):
3862 (WTF::ByteSizeForClass):
3864 (WTF::InitSizeClasses):
3865 (WTF::MetaDataAlloc):
3866 (PageHeapAllocator):
3867 (WTF::PageHeapAllocator::Init):
3868 (WTF::PageHeapAllocator::New):
3869 (WTF::PageHeapAllocator::Delete):
3870 (WTF::PageHeapAllocator::inuse):
3871 (WTF::PageHeapAllocator::recordAdministrativeRegions):
3873 (WTF::AllocationSize):
3886 (TCMalloc_PageHeap):
3887 (WTF::TCMalloc_PageHeap::GetDescriptor):
3888 (WTF::TCMalloc_PageHeap::GetDescriptorEnsureSafe):
3889 (WTF::TCMalloc_PageHeap::SystemBytes):
3890 (WTF::TCMalloc_PageHeap::FreeBytes):
3891 (WTF::TCMalloc_PageHeap::GetSizeClassIfCached):
3892 (WTF::TCMalloc_PageHeap::CacheSizeClass):
3894 (WTF::TCMalloc_PageHeap::RecordSpan):
3895 (WTF::TCMalloc_PageHeap::init):
3896 (WTF::TCMalloc_PageHeap::initializeScavenger):
3897 (WTF::TCMalloc_PageHeap::isScavengerSuspended):
3898 (WTF::TCMalloc_PageHeap::scheduleScavenger):
3899 (WTF::TCMalloc_PageHeap::rescheduleScavenger):
3900 (WTF::TCMalloc_PageHeap::suspendScavenger):
3901 (WTF::TCMalloc_PageHeap::scavengerTimerFired):
3902 (WTF::TCMalloc_PageHeap::runScavengerThread):
3903 (WTF::TCMalloc_PageHeap::signalScavenger):
3904 (WTF::TCMalloc_PageHeap::scavenge):
3905 (WTF::TCMalloc_PageHeap::shouldScavenge):
3906 (WTF::TCMalloc_PageHeap::New):
3907 (WTF::TCMalloc_PageHeap::AllocLarge):
3908 (WTF::TCMalloc_PageHeap::Split):
3909 (WTF::TCMalloc_PageHeap::Carve):
3910 (WTF::mergeDecommittedStates):
3911 (WTF::TCMalloc_PageHeap::Delete):
3912 (WTF::TCMalloc_PageHeap::IncrementalScavenge):
3913 (WTF::TCMalloc_PageHeap::RegisterSizeClass):
3914 (WTF::TCMalloc_PageHeap::ReturnedBytes):
3916 (WTF::TCMalloc_PageHeap::Dump):
3917 (WTF::TCMalloc_PageHeap::GrowHeap):
3918 (WTF::TCMalloc_PageHeap::Check):
3919 (WTF::TCMalloc_PageHeap::CheckList):
3920 (WTF::TCMalloc_PageHeap::ReleaseFreeList):
3921 (WTF::TCMalloc_PageHeap::ReleaseFreePages):
3922 (TCMalloc_ThreadCache_FreeList):
3923 (WTF::TCMalloc_ThreadCache_FreeList::Init):
3924 (WTF::TCMalloc_ThreadCache_FreeList::length):
3925 (WTF::TCMalloc_ThreadCache_FreeList::empty):
3926 (WTF::TCMalloc_ThreadCache_FreeList::lowwatermark):
3927 (WTF::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
3928 (WTF::TCMalloc_ThreadCache_FreeList::Push):
3929 (WTF::TCMalloc_ThreadCache_FreeList::PushRange):
3930 (WTF::TCMalloc_ThreadCache_FreeList::PopRange):
3931 (WTF::TCMalloc_ThreadCache_FreeList::Pop):
3932 (WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects):
3933 (TCMalloc_ThreadCache):
3934 (WTF::TCMalloc_ThreadCache::freelist_length):
3935 (WTF::TCMalloc_ThreadCache::Size):
3936 (WTF::TCMalloc_ThreadCache::enumerateFreeObjects):
3937 (TCMalloc_Central_FreeList):
3938 (WTF::TCMalloc_Central_FreeList::length):
3939 (WTF::TCMalloc_Central_FreeList::tc_length):
3940 (WTF::TCMalloc_Central_FreeList::enumerateFreeObjects):
3941 (TCMalloc_Central_FreeListPadded):
3943 (WTF::TCMalloc_PageHeap::periodicScavenge):
3944 (WTF::TCMalloc_PageHeap::scavengerThread):
3945 (WTF::setThreadHeap):
3946 (WTF::TCMalloc_Central_FreeList::Init):
3947 (WTF::TCMalloc_Central_FreeList::ReleaseListToSpans):
3948 (WTF::TCMalloc_Central_FreeList::ReleaseToSpans):
3949 (WTF::TCMalloc_Central_FreeList::EvictRandomSizeClass):
3950 (WTF::TCMalloc_Central_FreeList::MakeCacheSpace):
3951 (WTF::TCMalloc_Central_FreeList::ShrinkCache):
3952 (WTF::TCMalloc_Central_FreeList::InsertRange):
3953 (WTF::TCMalloc_Central_FreeList::RemoveRange):
3954 (WTF::TCMalloc_Central_FreeList::FetchFromSpansSafe):
3955 (WTF::TCMalloc_Central_FreeList::FetchFromSpans):
3956 (WTF::TCMalloc_Central_FreeList::Populate):
3957 (WTF::TCMalloc_ThreadCache::SampleAllocation):
3958 (WTF::TCMalloc_ThreadCache::Init):
3959 (WTF::TCMalloc_ThreadCache::Cleanup):
3960 (WTF::TCMalloc_ThreadCache::Allocate):
3961 (WTF::TCMalloc_ThreadCache::Deallocate):
3962 (WTF::TCMalloc_ThreadCache::FetchFromCentralCache):
3963 (WTF::TCMalloc_ThreadCache::ReleaseToCentralCache):
3964 (WTF::TCMalloc_ThreadCache::Scavenge):
3965 (WTF::TCMalloc_ThreadCache::PickNextSample):
3966 (WTF::TCMalloc_ThreadCache::InitModule):
3967 (WTF::TCMalloc_ThreadCache::NewHeap):
3968 (WTF::TCMalloc_ThreadCache::GetThreadHeap):
3969 (WTF::TCMalloc_ThreadCache::GetCache):
3970 (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
3971 (WTF::TCMalloc_ThreadCache::InitTSD):
3972 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
3973 * wtf/FastMalloc.h: Renamed from Source/JavaScriptCore/wtf/FastMalloc.h.
3975 (WTF::TryMallocReturnValue::TryMallocReturnValue):
3976 (WTF::TryMallocReturnValue::~TryMallocReturnValue):
3977 (TryMallocReturnValue):
3978 (WTF::TryMallocReturnValue::operator PossiblyNull<T>):
3979 (WTF::TryMallocReturnValue::getValue):
3980 (FastMallocStatistics):
3983 (WTF::Internal::fastMallocValidationHeader):
3984 (WTF::Internal::fastMallocValidationSuffix):
3985 (WTF::Internal::fastMallocMatchValidationType):
3986 (WTF::Internal::setFastMallocMatchValidationType):
3987 (WTF::fastMallocMatchValidateMalloc):
3988 (WTF::fastMallocMatchValidateFree):
3989 (WTF::fastMallocValidate):
3991 * wtf/FixedArray.h: Renamed from Source/JavaScriptCore/wtf/FixedArray.h.
3994 (WTF::FixedArray::operator[]):
3995 (WTF::FixedArray::data):
3996 (WTF::FixedArray::size):
3997 * wtf/Float32Array.h: Renamed from Source/JavaScriptCore/wtf/Float32Array.h.
4000 (WTF::Float32Array::set):
4001 (WTF::Float32Array::item):
4002 (WTF::Float32Array::isFloatArray):
4003 (WTF::Float32Array::create):
4004 (WTF::Float32Array::Float32Array):
4005 (WTF::Float32Array::subarray):
4006 * wtf/Float64Array.h: Renamed from Source/JavaScriptCore/wtf/Float64Array.h.
4009 (WTF::Float64Array::set):
4010 (WTF::Float64Array::item):
4011 (WTF::Float64Array::isDoubleArray):
4012 (WTF::Float64Array::create):
4013 (WTF::Float64Array::Float64Array):
4014 (WTF::Float64Array::subarray):
4015 * wtf/Forward.h: Renamed from Source/JavaScriptCore/wtf/Forward.h.
4017 * wtf/Functional.h: Renamed from Source/JavaScriptCore/wtf/Functional.h.
4024 (WTF::RefAndDeref::ref):
4025 (WTF::RefAndDeref::deref):
4026 (ParamStorageTraits):
4027 (WTF::ParamStorageTraits::wrap):
4028 (WTF::ParamStorageTraits::unwrap):
4030 (WTF::FunctionImplBase::~FunctionImplBase):
4032 (WTF::FunctionBase::isNull):
4033 (WTF::FunctionBase::FunctionBase):
4034 (WTF::FunctionBase::impl):
4036 * wtf/GetPtr.h: Renamed from Source/JavaScriptCore/wtf/GetPtr.h.
4039 * wtf/HashCountedSet.h: Renamed from Source/JavaScriptCore/wtf/HashCountedSet.h.
4042 (WTF::HashCountedSet::HashCountedSet):
4055 (WTF::copyToVector):
4056 * wtf/HashFunctions.h: Renamed from Source/JavaScriptCore/wtf/HashFunctions.h.
4059 (WTF::IntHash::hash):
4060 (WTF::IntHash::equal):
4062 (WTF::FloatHash::hash):
4063 (WTF::FloatHash::equal):
4065 (WTF::PtrHash::hash):
4066 (WTF::PtrHash::equal):
4068 (WTF::PairHash::hash):
4069 (WTF::PairHash::equal):
4071 * wtf/HashIterators.h: Renamed from Source/JavaScriptCore/wtf/HashIterators.h.
4073 (HashTableConstKeysIterator):
4074 (WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
4075 (WTF::HashTableConstKeysIterator::get):
4076 (WTF::HashTableConstKeysIterator::operator*):
4077 (WTF::HashTableConstKeysIterator::operator->):
4078 (WTF::HashTableConstKeysIterator::operator++):
4079 (HashTableConstValuesIterator):
4080 (WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
4081 (WTF::HashTableConstValuesIterator::get):
4082 (WTF::HashTableConstValuesIterator::operator*):
4083 (WTF::HashTableConstValuesIterator::operator->):
4084 (WTF::HashTableConstValuesIterator::operator++):
4085 (HashTableKeysIterator):
4086 (WTF::HashTableKeysIterator::HashTableKeysIterator):
4087 (WTF::HashTableKeysIterator::get):
4088 (WTF::HashTableKeysIterator::operator*):
4089 (WTF::HashTableKeysIterator::operator->):
4090 (WTF::HashTableKeysIterator::operator++):
4091 (WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
4092 (HashTableValuesIterator):
4093 (WTF::HashTableValuesIterator::HashTableValuesIterator):
4094 (WTF::HashTableValuesIterator::get):
4095 (WTF::HashTableValuesIterator::operator*):
4096 (WTF::HashTableValuesIterator::operator->):
4097 (WTF::HashTableValuesIterator::operator++):
4098 (WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
4101 * wtf/HashMap.h: Renamed from Source/JavaScriptCore/wtf/HashMap.h.
4103 (ReferenceTypeMaker):
4105 (WTF::HashMap::keys):
4106 (WTF::HashMap::values):
4108 (WTF::HashMap::HashMapKeysProxy::begin):
4109 (WTF::HashMap::HashMapKeysProxy::end):
4110 (HashMapValuesProxy):
4111 (WTF::HashMap::HashMapValuesProxy::begin):
4112 (WTF::HashMap::HashMapValuesProxy::end):
4113 (WTF::PairFirstExtractor::extract):
4114 (WTF::HashMapTranslator::hash):
4115 (WTF::HashMapTranslator::equal):
4116 (WTF::HashMapTranslator::translate):
4117 (WTF::HashMapTranslatorAdapter::hash):
4118 (WTF::HashMapTranslatorAdapter::equal):
4119 (WTF::HashMapTranslatorAdapter::translate):
4135 (WTF::::checkConsistency):
4138 (WTF::deleteAllPairSeconds):
4139 (WTF::deleteAllValues):
4140 (WTF::deleteAllPairFirsts):
4141 (WTF::deleteAllKeys):
4142 (WTF::copyKeysToVector):
4143 (WTF::copyValuesToVector):
4144 * wtf/HashSet.h: Renamed from Source/JavaScriptCore/wtf/HashSet.h.
4147 (WTF::IdentityExtractor::extract):
4148 (WTF::HashSetTranslatorAdapter::hash):
4149 (WTF::HashSetTranslatorAdapter::equal):
4150 (WTF::HashSetTranslatorAdapter::translate):
4162 (WTF::deleteAllValues):
4163 (WTF::fastDeleteAllValues):
4164 (WTF::copyToVector):
4165 * wtf/HashTable.cpp: Renamed from Source/JavaScriptCore/wtf/HashTable.cpp.
4167 (WTF::hashTableStatsMutex):
4168 (WTF::HashTableStats::~HashTableStats):
4169 (WTF::HashTableStats::recordCollisionAtCount):
4170 * wtf/HashTable.h: Renamed from Source/JavaScriptCore/wtf/HashTable.h.
4174 (WTF::removeIterator):
4175 (HashTableConstIterator):
4176 (WTF::HashTableConstIterator::skipEmptyBuckets):
4177 (WTF::HashTableConstIterator::HashTableConstIterator):
4178 (WTF::HashTableConstIterator::~HashTableConstIterator):
4179 (WTF::HashTableConstIterator::operator=):
4180 (WTF::HashTableConstIterator::get):
4181 (WTF::HashTableConstIterator::operator*):
4182 (WTF::HashTableConstIterator::operator->):
4183 (WTF::HashTableConstIterator::operator++):
4184 (WTF::HashTableConstIterator::operator==):
4185 (WTF::HashTableConstIterator::operator!=):
4186 (WTF::HashTableConstIterator::checkValidity):
4187 (HashTableIterator):
4188 (WTF::HashTableIterator::HashTableIterator):
4189 (WTF::HashTableIterator::get):
4190 (WTF::HashTableIterator::operator*):
4191 (WTF::HashTableIterator::operator->):
4192 (WTF::HashTableIterator::operator++):
4193 (WTF::HashTableIterator::operator==):
4194 (WTF::HashTableIterator::operator!=):
4195 (WTF::HashTableIterator::operator const_iterator):
4196 (WTF::hashTableSwap):
4197 (IdentityHashTranslator):
4198 (WTF::IdentityHashTranslator::hash):
4199 (WTF::IdentityHashTranslator::equal):
4200 (WTF::IdentityHashTranslator::translate):
4202 (WTF::HashTable::~HashTable):
4203 (WTF::HashTable::begin):
4204 (WTF::HashTable::end):
4205 (WTF::HashTable::size):
4206 (WTF::HashTable::capacity):
4207 (WTF::HashTable::isEmpty):
4208 (WTF::HashTable::add):
4209 (WTF::HashTable::find):
4210 (WTF::HashTable::contains):
4211 (WTF::HashTable::isEmptyBucket):
4212 (WTF::HashTable::isDeletedBucket):
4213 (WTF::HashTable::isEmptyOrDeletedBucket):
4214 (WTF::HashTable::lookup):
4215 (WTF::HashTable::checkTableConsistency):
4216 (WTF::HashTable::internalCheckTableConsistency):
4217 (WTF::HashTable::internalCheckTableConsistencyExceptSize):
4218 (WTF::HashTable::lookupForWriting):
4219 (WTF::HashTable::shouldExpand):
4220 (WTF::HashTable::mustRehashInPlace):
4221 (WTF::HashTable::shouldShrink):
4222 (WTF::HashTable::shrink):
4223 (WTF::HashTable::deleteBucket):
4224 (WTF::HashTable::makeLookupResult):
4225 (WTF::HashTable::makeIterator):
4226 (WTF::HashTable::makeConstIterator):
4227 (WTF::HashTable::makeKnownGoodIterator):
4228 (WTF::HashTable::makeKnownGoodConstIterator):
4229 (WTF::HashTable::checkTableConsistencyExceptSize):
4230 (WTF::HashTable::invalidateIterators):
4235 (WTF::::lookupForWriting):
4236 (WTF::::fullLookupForWriting):
4237 (WTF::::initializeBucket):
4239 (WTF::::addPassingHashCode):
4243 (WTF::::removeAndInvalidateWithoutEntryConsistencyCheck):
4244 (WTF::::removeAndInvalidate):
4246 (WTF::::removeWithoutEntryConsistencyCheck):
4247 (WTF::::allocateTable):
4248 (WTF::::deallocateTable):
4254 (WTF::::checkTableConsistency):
4255 (WTF::::checkTableConsistencyExceptSize):
4256 (WTF::::invalidateIterators):
4257 (WTF::HashTableConstIteratorAdapter::HashTableConstIteratorAdapter):
4258 (HashTableConstIteratorAdapter):
4259 (WTF::HashTableConstIteratorAdapter::get):
4260 (WTF::HashTableConstIteratorAdapter::operator*):
4261 (WTF::HashTableConstIteratorAdapter::operator->):
4262 (WTF::HashTableConstIteratorAdapter::operator++):
4263 (WTF::HashTableIteratorAdapter::HashTableIteratorAdapter):
4264 (HashTableIteratorAdapter):
4265 (WTF::HashTableIteratorAdapter::get):
4266 (WTF::HashTableIteratorAdapter::operator*):
4267 (WTF::HashTableIteratorAdapter::operator->):
4268 (WTF::HashTableIteratorAdapter::operator++):
4269 (WTF::HashTableIteratorAdapter::operator HashTableConstIteratorAdapter<HashTableType, ValueType>):
4272 * wtf/HashTraits.h: Renamed from Source/JavaScriptCore/wtf/HashTraits.h.
4274 (GenericHashTraits):
4275 (WTF::GenericHashTraits::emptyValue):
4276 (WTF::GenericHashTraits::store):
4277 (WTF::GenericHashTraits::passOut):
4278 (WTF::GenericHashTraits::peek):
4280 (WTF::FloatHashTraits::emptyValue):
4281 (WTF::FloatHashTraits::constructDeletedValue):
4282 (WTF::FloatHashTraits::isDeletedValue):
4283 (UnsignedWithZeroKeyHashTraits):
4284 (WTF::UnsignedWithZeroKeyHashTraits::emptyValue):
4285 (WTF::UnsignedWithZeroKeyHashTraits::constructDeletedValue):
4286 (WTF::UnsignedWithZeroKeyHashTraits::isDeletedValue):
4287 (SimpleClassHashTraits):
4288 (WTF::SimpleClassHashTraits::constructDeletedValue):
4289 (WTF::SimpleClassHashTraits::isDeletedValue):
4291 (WTF::PairHashTraits::emptyValue):
4292 (WTF::PairHashTraits::constructDeletedValue):
4293 (WTF::PairHashTraits::isDeletedValue):
4294 * wtf/HexNumber.h: Renamed from Source/JavaScriptCore/wtf/HexNumber.h.
4297 (WTF::Internal::hexDigitsForMode):
4298 (WTF::appendByteAsHex):
4299 (WTF::placeByteAsHexCompressIfPossible):
4300 (WTF::placeByteAsHex):
4301 (WTF::appendUnsignedAsHex):
4302 (WTF::appendUnsignedAsHexFixedSize):
4303 * wtf/InlineASM.h: Renamed from Source/JavaScriptCore/wtf/InlineASM.h.
4304 * wtf/Int16Array.h: Renamed from Source/JavaScriptCore/wtf/Int16Array.h.
4307 (WTF::Int16Array::set):
4308 (WTF::Int16Array::isShortArray):
4309 (WTF::Int16Array::create):
4310 (WTF::Int16Array::Int16Array):
4311 (WTF::Int16Array::subarray):
4312 * wtf/Int32Array.h: Renamed from Source/JavaScriptCore/wtf/Int32Array.h.
4315 (WTF::Int32Array::set):
4316 (WTF::Int32Array::isIntArray):
4317 (WTF::Int32Array::create):
4318 (WTF::Int32Array::Int32Array):
4319 (WTF::Int32Array::subarray):
4320 * wtf/Int8Array.h: Renamed from Source/JavaScriptCore/wtf/Int8Array.h.
4323 (WTF::Int8Array::set):
4324 (WTF::Int8Array::isByteArray):
4325 (WTF::Int8Array::create):
4326 (WTF::Int8Array::Int8Array):
4327 (WTF::Int8Array::subarray):
4328 * wtf/IntegralTypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/IntegralTypedArrayBase.h.
4330 (IntegralTypedArrayBase):
4331 (WTF::IntegralTypedArrayBase::set):
4332 (WTF::IntegralTypedArrayBase::item):
4333 (WTF::IntegralTypedArrayBase::IntegralTypedArrayBase):
4334 * wtf/ListHashSet.h: Renamed from Source/JavaScriptCore/wtf/ListHashSet.h.
4337 (ListHashSetNodeAllocator):
4338 (WTF::ListHashSetNodeAllocator::ListHashSetNodeAllocator):
4339 (WTF::ListHashSetNodeAllocator::allocate):
4340 (WTF::ListHashSetNodeAllocator::deallocate):
4341 (WTF::ListHashSetNodeAllocator::pool):
4342 (WTF::ListHashSetNodeAllocator::pastPool):
4343 (WTF::ListHashSetNodeAllocator::inPool):
4345 (WTF::ListHashSetNode::ListHashSetNode):
4346 (WTF::ListHashSetNode::operator new):
4347 (WTF::ListHashSetNode::destroy):
4348 (WTF::ListHashSetNodeHashFunctions::hash):
4349 (WTF::ListHashSetNodeHashFunctions::equal):
4350 (ListHashSetNodeHashFunctions):
4351 (ListHashSetIterator):
4352 (WTF::ListHashSetIterator::ListHashSetIterator):
4353 (WTF::ListHashSetIterator::get):
4354 (WTF::ListHashSetIterator::operator*):
4355 (WTF::ListHashSetIterator::operator->):
4356 (WTF::ListHashSetIterator::operator++):
4357 (WTF::ListHashSetIterator::operator--):
4358 (WTF::ListHashSetIterator::operator==):
4359 (WTF::ListHashSetIterator::operator!=):
4360 (WTF::ListHashSetIterator::operator const_iterator):
4361 (WTF::ListHashSetIterator::node):
4362 (ListHashSetConstIterator):
4363 (WTF::ListHashSetConstIterator::ListHashSetConstIterator):
4364 (WTF::ListHashSetConstIterator::get):
4365 (WTF::ListHashSetConstIterator::operator*):
4366 (WTF::ListHashSetConstIterator::operator->):
4367 (WTF::ListHashSetConstIterator::operator++):
4368 (WTF::ListHashSetConstIterator::operator--):
4369 (WTF::ListHashSetConstIterator::operator==):
4370 (WTF::ListHashSetConstIterator::operator!=):
4371 (WTF::ListHashSetConstIterator::node):
4372 (ListHashSetReverseIterator):
4373 (WTF::ListHashSetReverseIterator::ListHashSetReverseIterator):
4374 (WTF::ListHashSetReverseIterator::get):
4375 (WTF::ListHashSetReverseIterator::operator*):
4376 (WTF::ListHashSetReverseIterator::operator->):
4377 (WTF::ListHashSetReverseIterator::operator++):
4378 (WTF::ListHashSetReverseIterator::operator--):
4379 (WTF::ListHashSetReverseIterator::operator==):
4380 (WTF::ListHashSetReverseIterator::operator!=):
4381 (WTF::ListHashSetReverseIterator::operator const_reverse_iterator):
4382 (WTF::ListHashSetReverseIterator::node):
4383 (ListHashSetConstReverseIterator):
4384 (WTF::ListHashSetConstReverseIterator::ListHashSetConstReverseIterator):
4385 (WTF::ListHashSetConstReverseIterator::get):
4386 (WTF::ListHashSetConstReverseIterator::operator*):
4387 (WTF::ListHashSetConstReverseIterator::operator->):
4388 (WTF::ListHashSetConstReverseIterator::operator++):
4389 (WTF::ListHashSetConstReverseIterator::operator--):
4390 (WTF::ListHashSetConstReverseIterator::operator==):
4391 (WTF::ListHashSetConstReverseIterator::operator!=):
4392 (WTF::ListHashSetConstReverseIterator::node):
4393 (WTF::ListHashSetTranslator::hash):
4394 (WTF::ListHashSetTranslator::equal):
4395 (WTF::ListHashSetTranslator::translate):
4396 (WTF::::ListHashSet):
4399 (WTF::::~ListHashSet):
4409 (WTF::::removeLast):
4411 (WTF::ListHashSetTranslatorAdapter::hash):
4412 (WTF::ListHashSetTranslatorAdapter::equal):
4415 (WTF::::insertBefore):
4418 (WTF::::unlinkAndDelete):
4419 (WTF::::appendNode):
4420 (WTF::::insertNodeBefore):
4421 (WTF::::deleteAllNodes):
4422 (WTF::::makeReverseIterator):
4423 (WTF::::makeConstReverseIterator):
4424 (WTF::::makeIterator):
4425 (WTF::::makeConstIterator):
4426 (WTF::deleteAllValues):
4427 * wtf/ListRefPtr.h: Renamed from Source/JavaScriptCore/wtf/ListRefPtr.h.
4430 (WTF::ListRefPtr::ListRefPtr):
4431 (WTF::ListRefPtr::~ListRefPtr):
4432 (WTF::ListRefPtr::operator=):
4434 * wtf/Locker.h: Renamed from Source/JavaScriptCore/wtf/Locker.h.
4437 (WTF::Locker::Locker):
4438 (WTF::Locker::~Locker):
4439 * wtf/MD5.cpp: Renamed from Source/JavaScriptCore/wtf/MD5.cpp.
4443 (WTF::reverseBytes):
4444 (WTF::MD5Transform):
4446 (WTF::MD5::addBytes):
4447 (WTF::MD5::checksum):
4448 * wtf/MD5.h: Renamed from Source/JavaScriptCore/wtf/MD5.h.
4451 (WTF::MD5::addBytes):
4452 * wtf/MainThread.cpp: Renamed from Source/JavaScriptCore/wtf/MainThread.cpp.
4454 (FunctionWithContext):
4455 (WTF::FunctionWithContext::FunctionWithContext):
4456 (WTF::FunctionWithContext::operator == ):
4457 (FunctionWithContextFinder):
4458 (WTF::FunctionWithContextFinder::FunctionWithContextFinder):
4459 (WTF::FunctionWithContextFinder::operator()):
4460 (WTF::mainThreadFunctionQueueMutex):
4461 (WTF::functionQueue):
4462 (WTF::initializeMainThread):
4463 (WTF::initializeMainThreadOnce):
4464 (WTF::initializeMainThreadToProcessMainThreadOnce):
4465 (WTF::initializeMainThreadToProcessMainThread):
4466 (WTF::dispatchFunctionsFromMainThread):
4467 (WTF::callOnMainThread):
4468 (WTF::callOnMainThreadAndWait):
4469 (WTF::cancelCallOnMainThread):
4470 (WTF::callFunctionObject):
4471 (WTF::setMainThreadCallbacksPaused):
4472 (WTF::isMainThread):
4473 (WTF::initializeGCThreads):
4474 (WTF::registerGCThread):
4475 (WTF::isMainThreadOrGCThread):
4476 * wtf/MainThread.h: Renamed from Source/JavaScriptCore/wtf/MainThread.h.
4478 (WTF::isMainThreadOrGCThread):
4479 * wtf/MallocZoneSupport.h: Renamed from Source/JavaScriptCore/wtf/MallocZoneSupport.h.
4481 (RemoteMemoryReader):
4482 (WTF::RemoteMemoryReader::RemoteMemoryReader):
4483 (WTF::RemoteMemoryReader::operator()):
4484 (WTF::RemoteMemoryReader::nextEntryInLinkedList):
4485 * wtf/MathExtras.h: Renamed from Source/JavaScriptCore/wtf/MathExtras.h.
4515 (defaultMinimumForClamp):
4516 (defaultMaximumForClamp):
4520 (clampToPositiveInteger):
4524 * wtf/MessageQueue.h: Renamed from Source/JavaScriptCore/wtf/MessageQueue.h.
4527 (WTF::MessageQueue::MessageQueue):
4528 (WTF::MessageQueue::infiniteTime):
4529 (WTF::MessageQueue::alwaysTruePredicate):
4530 (WTF::::~MessageQueue):
4532 (WTF::::appendAndCheckEmpty):
4534 (WTF::::waitForMessage):
4535 (WTF::::waitForMessageFilteredWithTimeout):
4536 (WTF::::tryGetMessage):
4537 (WTF::::tryGetMessageIgnoringKilled):
4542 * wtf/MetaAllocator.cpp: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.cpp.
4544 (WTF::MetaAllocator::~MetaAllocator):
4545 (WTF::MetaAllocatorTracker::notify):
4546 (WTF::MetaAllocatorTracker::release):
4547 (WTF::MetaAllocator::release):
4548 (WTF::MetaAllocatorHandle::MetaAllocatorHandle):
4549 (WTF::MetaAllocatorHandle::~MetaAllocatorHandle):
4550 (WTF::MetaAllocatorHandle::shrink):
4551 (WTF::MetaAllocator::MetaAllocator):
4552 (WTF::MetaAllocator::allocate):
4553 (WTF::MetaAllocator::currentStatistics):
4554 (WTF::MetaAllocator::findAndRemoveFreeSpace):
4555 (WTF::MetaAllocator::addFreeSpaceFromReleasedHandle):
4556 (WTF::MetaAllocator::addFreshFreeSpace):
4557 (WTF::MetaAllocator::debugFreeSpaceSize):
4558 (WTF::MetaAllocator::addFreeSpace):
4559 (WTF::MetaAllocator::incrementPageOccupancy):
4560 (WTF::MetaAllocator::decrementPageOccupancy):
4561 (WTF::MetaAllocator::roundUp):
4562 (WTF::MetaAllocator::allocFreeSpaceNode):
4563 (WTF::MetaAllocator::freeFreeSpaceNode):
4564 (WTF::MetaAllocator::dumpProfile):
4565 * wtf/MetaAllocator.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.h.
4567 (MetaAllocatorTracker):
4568 (WTF::MetaAllocatorTracker::find):
4570 (WTF::MetaAllocator::trackAllocations):
4571 (WTF::MetaAllocator::bytesAllocated):
4572 (WTF::MetaAllocator::bytesReserved):
4573 (WTF::MetaAllocator::bytesCommitted):
4575 (WTF::MetaAllocator::dumpProfile):
4577 (WTF::MetaAllocator::FreeSpaceNode::FreeSpaceNode):
4578 (WTF::MetaAllocator::FreeSpaceNode::key):
4579 * wtf/MetaAllocatorHandle.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocatorHandle.h.
4581 (MetaAllocatorHandle):
4582 (WTF::MetaAllocatorHandle::start):
4583 (WTF::MetaAllocatorHandle::end):
4584 (WTF::MetaAllocatorHandle::sizeInBytes):
4585 (WTF::MetaAllocatorHandle::isManaged):
4586 (WTF::MetaAllocatorHandle::allocator):
4587 (WTF::MetaAllocatorHandle::ownerUID):
4588 (WTF::MetaAllocatorHandle::key):
4589 * wtf/NonCopyingSort.h: Renamed from Source/JavaScriptCore/wtf/NonCopyingSort.h.
4594 (WTF::nonCopyingSort):
4595 * wtf/Noncopyable.h: Renamed from Source/JavaScriptCore/wtf/Noncopyable.h.
4596 * wtf/NotFound.h: Renamed from Source/JavaScriptCore/wtf/NotFound.h.
4598 * wtf/NullPtr.cpp: Renamed from Source/JavaScriptCore/wtf/NullPtr.cpp.
4599 * wtf/NullPtr.h: Renamed from Source/JavaScriptCore/wtf/NullPtr.h.
4600 * wtf/NumberOfCores.cpp: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.cpp.
4602 (WTF::numberOfProcessorCores):
4603 * wtf/NumberOfCores.h: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.h.
4605 * wtf/OSAllocator.h: Renamed from Source/JavaScriptCore/wtf/OSAllocator.h.
4608 (WTF::OSAllocator::reserveAndCommit):
4609 (WTF::OSAllocator::decommitAndRelease):
4610 (WTF::OSAllocator::reallocateCommitted):
4611 * wtf/OSAllocatorPosix.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp.
4613 (WTF::OSAllocator::reserveUncommitted):
4614 (WTF::OSAllocator::reserveAndCommit):
4615 (WTF::OSAllocator::commit):
4616 (WTF::OSAllocator::decommit):
4617 (WTF::OSAllocator::releaseDecommitted):
4618 * wtf/OSAllocatorWin.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorWin.cpp.
4621 (WTF::OSAllocator::reserveUncommitted):
4622 (WTF::OSAllocator::reserveAndCommit):
4623 (WTF::OSAllocator::commit):
4624 (WTF::OSAllocator::decommit):
4625 (WTF::OSAllocator::releaseDecommitted):
4626 * wtf/OSRandomSource.cpp: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.cpp.
4628 (WTF::cryptographicallyRandomValuesFromOS):
4629 * wtf/OSRandomSource.h: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.h.
4631 * wtf/OwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnArrayPtr.h.
4634 (WTF::OwnArrayPtr::OwnArrayPtr):
4635 (WTF::OwnArrayPtr::~OwnArrayPtr):
4636 (WTF::OwnArrayPtr::get):
4637 (WTF::OwnArrayPtr::operator*):
4638 (WTF::OwnArrayPtr::operator->):
4639 (WTF::OwnArrayPtr::operator[]):
4640 (WTF::OwnArrayPtr::operator!):
4641 (WTF::OwnArrayPtr::operator UnspecifiedBoolType):
4642 (WTF::OwnArrayPtr::operator=):
4643 (WTF::OwnArrayPtr::swap):
4644 (WTF::::OwnArrayPtr):
4653 * wtf/OwnPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnPtr.h.
4656 (WTF::OwnPtr::OwnPtr):
4657 (WTF::OwnPtr::~OwnPtr):
4659 (WTF::OwnPtr::operator*):
4660 (WTF::OwnPtr::operator->):
4661 (WTF::OwnPtr::operator!):
4662 (WTF::OwnPtr::operator UnspecifiedBoolType):
4663 (WTF::OwnPtr::operator=):
4664 (WTF::OwnPtr::swap):
4665 (WTF::OwnPtr::operator==):
4666 (WTF::OwnPtr::operator!=):
4676 * wtf/OwnPtrCommon.h: Renamed from Source/JavaScriptCore/wtf/OwnPtrCommon.h.
4678 (WTF::deleteOwnedPtr):
4679 * wtf/PackedIntVector.h: Renamed from Source/JavaScriptCore/wtf/PackedIntVector.h.
4682 (WTF::PackedIntVector::PackedIntVector):
4683 (WTF::PackedIntVector::operator=):
4684 (WTF::PackedIntVector::size):
4685 (WTF::PackedIntVector::ensureSize):
4686 (WTF::PackedIntVector::resize):
4687 (WTF::PackedIntVector::clearAll):
4688 (WTF::PackedIntVector::get):
4689 (WTF::PackedIntVector::set):
4690 (WTF::PackedIntVector::mask):
4691 * wtf/PageAllocation.h: Renamed from Source/JavaScriptCore/wtf/PageAllocation.h.
4694 (WTF::PageAllocation::PageAllocation):
4695 (WTF::PageAllocation::operator bool):
4696 (WTF::PageAllocation::allocate):
4697 (WTF::PageAllocation::deallocate):
4698 * wtf/PageAllocationAligned.cpp: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.cpp.
4700 (WTF::PageAllocationAligned::allocate):
4701 (WTF::PageAllocationAligned::deallocate):
4702 * wtf/PageAllocationAligned.h: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.h.
4704 (PageAllocationAligned):
4705 (WTF::PageAllocationAligned::PageAllocationAligned):
4706 * wtf/PageBlock.cpp: Renamed from Source/JavaScriptCore/wtf/PageBlock.cpp.
4708 (WTF::systemPageSize):
4711 * wtf/PageBlock.h: Renamed from Source/JavaScriptCore/wtf/PageBlock.h.
4713 (WTF::isPageAligned):
4714 (WTF::isPowerOfTwo):
4716 (WTF::PageBlock::base):
4717 (WTF::PageBlock::size):
4718 (WTF::PageBlock::operator bool):
4719 (WTF::PageBlock::contains):
4720 (WTF::PageBlock::PageBlock):
4721 * wtf/PageReservation.h: Renamed from Source/JavaScriptCore/wtf/PageReservation.h.
4724 (WTF::PageReservation::PageReservation):
4725 (WTF::PageReservation::operator bool):
4726 (WTF::PageReservation::commit):
4727 (WTF::PageReservation::decommit):
4728 (WTF::PageReservation::committed):
4729 (WTF::PageReservation::reserve):
4730 (WTF::PageReservation::reserveWithGuardPages):
4731 (WTF::PageReservation::deallocate):
4732 * wtf/ParallelJobs.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobs.h.
4735 (WTF::ParallelJobs::ParallelJobs):
4736 (WTF::ParallelJobs::numberOfJobs):
4737 (WTF::ParallelJobs::parameter):
4738 (WTF::ParallelJobs::execute):
4739 * wtf/ParallelJobsGeneric.cpp: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.cpp.
4741 (WTF::ParallelEnvironment::ParallelEnvironment):
4742 (WTF::ParallelEnvironment::execute):
4743 (WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
4744 (WTF::ParallelEnvironment::ThreadPrivate::execute):
4745 (WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
4746 (WTF::ParallelEnvironment::ThreadPrivate::workerThread):
4747 * wtf/ParallelJobsGeneric.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.h.
4749 (ParallelEnvironment):
4750 (WTF::ParallelEnvironment::numberOfJobs):
4752 (WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
4753 (WTF::ParallelEnvironment::ThreadPrivate::create):
4754 * wtf/ParallelJobsLibdispatch.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsLibdispatch.h.
4756 (ParallelEnvironment):
4757 (WTF::ParallelEnvironment::ParallelEnvironment):
4758 (WTF::ParallelEnvironment::numberOfJobs):
4759 (WTF::ParallelEnvironment::execute):
4760 * wtf/ParallelJobsOpenMP.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsOpenMP.h.
4762 (ParallelEnvironment):
4763 (WTF::ParallelEnvironment::ParallelEnvironment):
4764 (WTF::ParallelEnvironment::numberOfJobs):
4765 (WTF::ParallelEnvironment::execute):
4766 * wtf/PassOwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnArrayPtr.h.
4769 (WTF::PassOwnArrayPtr::PassOwnArrayPtr):
4770 (WTF::PassOwnArrayPtr::~PassOwnArrayPtr):
4771 (WTF::PassOwnArrayPtr::get):
4772 (WTF::PassOwnArrayPtr::operator*):
4773 (WTF::PassOwnArrayPtr::operator->):
4774 (WTF::PassOwnArrayPtr::operator!):
4775 (WTF::PassOwnArrayPtr::operator UnspecifiedBoolType):
4776 (WTF::PassOwnArrayPtr::operator=):
4780 (WTF::adoptArrayPtr):
4781 (WTF::deleteOwnedArrayPtr):
4782 (WTF::static_pointer_cast):
4783 (WTF::const_pointer_cast):
4785 * wtf/PassOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnPtr.h.
4788 (WTF::PassOwnPtr::PassOwnPtr):
4789 (WTF::PassOwnPtr::~PassOwnPtr):
4790 (WTF::PassOwnPtr::get):
4791 (WTF::PassOwnPtr::operator*):
4792 (WTF::PassOwnPtr::operator->):
4793 (WTF::PassOwnPtr::operator!):
4794 (WTF::PassOwnPtr::operator UnspecifiedBoolType):
4795 (WTF::PassOwnPtr::operator=):
4796 (WTF::PassOwnPtr::operator==):
4797 (WTF::PassOwnPtr::operator!=):
4802 (WTF::static_pointer_cast):
4803 (WTF::const_pointer_cast):
4805 * wtf/PassRefPtr.h: Renamed from Source/JavaScriptCore/wtf/PassRefPtr.h.
4808 (WTF::refIfNotNull):
4809 (WTF::derefIfNotNull):
4811 (WTF::PassRefPtr::PassRefPtr):
4812 (WTF::PassRefPtr::~PassRefPtr):
4813 (WTF::PassRefPtr::get):
4814 (WTF::PassRefPtr::operator*):
4815 (WTF::PassRefPtr::operator->):
4816 (WTF::PassRefPtr::operator!):
4817 (WTF::PassRefPtr::operator UnspecifiedBoolType):
4818 (WTF::PassRefPtr::operator=):
4819 (NonNullPassRefPtr):
4820 (WTF::NonNullPassRefPtr::NonNullPassRefPtr):
4821 (WTF::NonNullPassRefPtr::~NonNullPassRefPtr):
4822 (WTF::NonNullPassRefPtr::get):
4823 (WTF::NonNullPassRefPtr::operator*):
4824 (WTF::NonNullPassRefPtr::operator->):
4825 (WTF::NonNullPassRefPtr::operator=):
4826 (WTF::::PassRefPtr):
4831 (WTF::static_pointer_cast):
4832 (WTF::const_pointer_cast):
4834 * wtf/PassTraits.h: Renamed from Source/JavaScriptCore/wtf/PassTraits.h.
4837 (WTF::PassTraits::transfer):
4838 * wtf/PlatformBlackBerry.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformBlackBerry.cmake.
4839 * wtf/PlatformEfl.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformEfl.cmake.
4840 * wtf/PlatformWinCE.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformWinCE.cmake.
4841 * wtf/PossiblyNull.h: Renamed from Source/JavaScriptCore/wtf/PossiblyNull.h.
4843 (WTF::PossiblyNull::PossiblyNull):
4844 (WTF::PossiblyNull::~PossiblyNull):
4847 * wtf/RandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/RandomNumber.cpp.
4849 (WTF::randomNumber):
4850 * wtf/RandomNumber.h: Renamed from Source/JavaScriptCore/wtf/RandomNumber.h.
4852 * wtf/RandomNumberSeed.h: Renamed from Source/JavaScriptCore/wtf/RandomNumberSeed.h.
4854 (WTF::initializeRandomNumberGenerator):
4855 * wtf/RedBlackTree.h: Renamed from Source/JavaScriptCore/wtf/RedBlackTree.h.
4859 (WTF::RedBlackTree::Node::successor):
4860 (WTF::RedBlackTree::Node::predecessor):
4861 (WTF::RedBlackTree::Node::reset):
4862 (WTF::RedBlackTree::Node::parent):
4863 (WTF::RedBlackTree::Node::setParent):
4864 (WTF::RedBlackTree::Node::left):
4865 (WTF::RedBlackTree::Node::setLeft):
4866 (WTF::RedBlackTree::Node::right):
4867 (WTF::RedBlackTree::Node::setRight):
4868 (WTF::RedBlackTree::Node::color):
4869 (WTF::RedBlackTree::Node::setColor):
4870 (WTF::RedBlackTree::RedBlackTree):
4871 (WTF::RedBlackTree::insert):
4872 (WTF::RedBlackTree::remove):
4873 (WTF::RedBlackTree::findExact):
4874 (WTF::RedBlackTree::findLeastGreaterThanOrEqual):
4875 (WTF::RedBlackTree::findGreatestLessThanOrEqual):
4876 (WTF::RedBlackTree::first):
4877 (WTF::RedBlackTree::last):
4878 (WTF::RedBlackTree::size):
4879 (WTF::RedBlackTree::isEmpty):
4880 (WTF::RedBlackTree::treeMinimum):
4881 (WTF::RedBlackTree::treeMaximum):
4882 (WTF::RedBlackTree::treeInsert):
4883 (WTF::RedBlackTree::leftRotate):
4884 (WTF::RedBlackTree::rightRotate):
4885 (WTF::RedBlackTree::removeFixup):
4886 * wtf/RefCounted.h: Renamed from Source/JavaScriptCore/wtf/RefCounted.h.
4889 (WTF::RefCountedBase::ref):
4890 (WTF::RefCountedBase::hasOneRef):
4891 (WTF::RefCountedBase::refCount):
4892 (WTF::RefCountedBase::turnOffVerifier):
4893 (WTF::RefCountedBase::relaxAdoptionRequirement):
4894 (WTF::RefCountedBase::addressOfCount):
4895 (WTF::RefCountedBase::RefCountedBase):
4896 (WTF::RefCountedBase::~RefCountedBase):
4897 (WTF::RefCountedBase::derefBase):
4898 (WTF::RefCountedBase::deletionHasBegun):
4901 (WTF::RefCounted::deref):
4902 (WTF::RefCounted::RefCounted):
4903 (WTF::RefCounted::~RefCounted):
4904 (RefCountedCustomAllocated):
4905 (WTF::RefCountedCustomAllocated::deref):
4906 (WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
4907 (WTF::RefCountedBase::setMutexForVerifier):
4908 (WTF::RefCountedBase::setDispatchQueueForVerifier):
4909 * wtf/RefCountedArray.h: Renamed from Source/JavaScriptCore/wtf/RefCountedArray.h.
4912 (WTF::RefCountedArray::RefCountedArray):
4913 (WTF::RefCountedArray::operator=):
4914 (WTF::RefCountedArray::~RefCountedArray):
4915 (WTF::RefCountedArray::size):
4916 (WTF::RefCountedArray::data):
4917 (WTF::RefCountedArray::begin):
4918 (WTF::RefCountedArray::end):
4919 (WTF::RefCountedArray::at):
4920 (WTF::RefCountedArray::operator[]):
4922 (WTF::RefCountedArray::Header::size):
4923 (WTF::RefCountedArray::Header::payload):
4924 (WTF::RefCountedArray::Header::fromPayload):
4925 * wtf/RefCountedLeakCounter.cpp: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.cpp.
4927 (WTF::RefCountedLeakCounter::suppressMessages):
4928 (WTF::RefCountedLeakCounter::cancelMessageSuppression):
4929 (WTF::RefCountedLeakCounter::RefCountedLeakCounter):
4930 (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
4931 (WTF::RefCountedLeakCounter::increment):
4932 (WTF::RefCountedLeakCounter::decrement):
4933 * wtf/RefCountedLeakCounter.h: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.h.
4935 (RefCountedLeakCounter):
4936 * wtf/RefPtr.h: Renamed from Source/JavaScriptCore/wtf/RefPtr.h.
4939 (WTF::RefPtr::RefPtr):
4940 (WTF::RefPtr::isHashTableDeletedValue):
4941 (WTF::RefPtr::~RefPtr):
4943 (WTF::RefPtr::release):
4944 (WTF::RefPtr::operator*):
4945 (WTF::RefPtr::operator->):
4946 (WTF::RefPtr::operator!):
4947 (WTF::RefPtr::operator UnspecifiedBoolType):
4948 (WTF::RefPtr::operator=):
4949 (WTF::RefPtr::hashTableDeletedValue):
4957 (WTF::static_pointer_cast):
4958 (WTF::const_pointer_cast):
4960 * wtf/RefPtrHashMap.h: Renamed from Source/JavaScriptCore/wtf/RefPtrHashMap.h.
4978 * wtf/RetainPtr.h: Renamed from Source/JavaScriptCore/wtf/RetainPtr.h.
4980 (WTF::adoptNSReference):
4982 (WTF::RetainPtr::RetainPtr):
4983 (WTF::RetainPtr::isHashTableDeletedValue):
4984 (WTF::RetainPtr::~RetainPtr):
4985 (WTF::RetainPtr::get):
4986 (WTF::RetainPtr::operator->):
4987 (WTF::RetainPtr::operator!):
4988 (WTF::RetainPtr::operator UnspecifiedBoolType):
4989 (WTF::RetainPtr::operator=):
4990 (WTF::RetainPtr::hashTableDeletedValue):
5004 * wtf/SHA1.cpp: Renamed from Source/JavaScriptCore/wtf/SHA1.cpp.
5012 (WTF::SHA1::addBytes):
5013 (WTF::SHA1::computeHash):
5014 (WTF::SHA1::finalize):
5015 (WTF::SHA1::processBlock):
5017 * wtf/SHA1.h: Renamed from Source/JavaScriptCore/wtf/SHA1.h.
5020 (WTF::SHA1::addBytes):
5021 * wtf/SegmentedVector.h: Renamed from Source/JavaScriptCore/wtf/SegmentedVector.h.
5023 (SegmentedVectorIterator):
5024 (WTF::SegmentedVectorIterator::~SegmentedVectorIterator):
5025 (WTF::SegmentedVectorIterator::operator*):
5026 (WTF::SegmentedVectorIterator::operator->):
5027 (WTF::SegmentedVectorIterator::operator++):
5028 (WTF::SegmentedVectorIterator::operator==):
5029 (WTF::SegmentedVectorIterator::operator!=):
5030 (WTF::SegmentedVectorIterator::operator=):
5031 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
5033 (WTF::SegmentedVector::SegmentedVector):
5034 (WTF::SegmentedVector::~SegmentedVector):
5035 (WTF::SegmentedVector::size):
5036 (WTF::SegmentedVector::isEmpty):
5037 (WTF::SegmentedVector::at):
5038 (WTF::SegmentedVector::operator[]):
5039 (WTF::SegmentedVector::last):
5040 (WTF::SegmentedVector::append):
5041 (WTF::SegmentedVector::alloc):
5042 (WTF::SegmentedVector::removeLast):
5043 (WTF::SegmentedVector::grow):
5044 (WTF::SegmentedVector::clear):
5045 (WTF::SegmentedVector::begin):
5046 (WTF::SegmentedVector::end):
5047 (WTF::SegmentedVector::deleteAllSegments):
5048 (WTF::SegmentedVector::segmentExistsFor):
5049 (WTF::SegmentedVector::segmentFor):
5050 (WTF::SegmentedVector::subscriptFor):
5051 (WTF::SegmentedVector::ensureSegmentsFor):
5052 (WTF::SegmentedVector::ensureSegment):
5053 * wtf/SentinelLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SentinelLinkedList.h.
5055 (BasicRawSentinelNode):
5056 (WTF::BasicRawSentinelNode::BasicRawSentinelNode):
5057 (WTF::BasicRawSentinelNode::setPrev):
5058 (WTF::BasicRawSentinelNode::setNext):
5059 (WTF::BasicRawSentinelNode::prev):
5060 (WTF::BasicRawSentinelNode::next):
5061 (WTF::BasicRawSentinelNode::isOnList):
5062 (SentinelLinkedList):
5063 (WTF::SentinelLinkedList::isEmpty):
5065 (WTF::::SentinelLinkedList):
5069 * wtf/SimpleStats.h: Renamed from Source/JavaScriptCore/wtf/SimpleStats.h.
5072 (WTF::SimpleStats::SimpleStats):
5073 (WTF::SimpleStats::add):
5074 (WTF::SimpleStats::operator!):
5075 (WTF::SimpleStats::count):
5076 (WTF::SimpleStats::sum):
5077 (WTF::SimpleStats::sumOfSquares):
5078 (WTF::SimpleStats::mean):
5079 (WTF::SimpleStats::variance):
5080 (WTF::SimpleStats::standardDeviation):
5081 * wtf/SinglyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SinglyLinkedList.h.
5084 (WTF::::SinglyLinkedList):
5088 * wtf/SizeLimits.cpp: Renamed from Source/JavaScriptCore/wtf/SizeLimits.cpp.
5090 (SameSizeAsRefCounted):
5091 * wtf/Spectrum.h: Renamed from Source/JavaScriptCore/wtf/Spectrum.h.
5094 (WTF::Spectrum::Spectrum):
5095 (WTF::Spectrum::add):
5096 (WTF::Spectrum::get):
5097 (WTF::Spectrum::begin):
5098 (WTF::Spectrum::end):
5099 (WTF::Spectrum::KeyAndCount::KeyAndCount):
5101 (WTF::Spectrum::KeyAndCount::operator<):
5102 (WTF::Spectrum::buildList):
5103 * wtf/StackBounds.cpp: Renamed from Source/JavaScriptCore/wtf/StackBounds.cpp.
5105 (WTF::estimateStackBound):
5106 (WTF::StackBounds::initialize):
5107 (WTF::detectGrowingDownward):
5108 (WTF::isPageWritable):
5109 (WTF::getLowerStackBound):
5110 (WTF::getUpperStackBound):
5111 * wtf/StackBounds.h: Renamed from Source/JavaScriptCore/wtf/StackBounds.h.
5114 (WTF::StackBounds::StackBounds):
5115 (WTF::StackBounds::currentThreadStackBounds):
5116 (WTF::StackBounds::origin):
5117 (WTF::StackBounds::current):
5118 (WTF::StackBounds::recursionLimit):
5119 (WTF::StackBounds::recursionCheck):
5120 (WTF::StackBounds::isGrowingDownward):
5121 (WTF::StackBounds::checkConsistency):
5122 * wtf/StaticConstructors.h: Renamed from Source/JavaScriptCore/wtf/StaticConstructors.h.
5123 * wtf/StdLibExtras.h: Renamed from Source/JavaScriptCore/wtf/StdLibExtras.h.
5124 (isPointerTypeAlignmentOkay):
5125 (reinterpret_cast_ptr):
5127 (WTF::isPointerAligned):
5128 (WTF::is8ByteAligned):
5129 (WTF::bitwise_cast):
5132 (WTF::roundUpToMultipleOf):
5133 (WTF::binarySearch):
5134 (WTF::binarySearchWithFunctor):
5135 (WTF::genericBinarySearch):
5137 * wtf/StringExtras.cpp: Renamed from Source/JavaScriptCore/wtf/StringExtras.cpp.
5140 * wtf/StringExtras.h: Renamed from Source/JavaScriptCore/wtf/StringExtras.h.
5149 * wtf/StringHasher.h: Renamed from Source/JavaScriptCore/wtf/StringHasher.h.
5152 (WTF::StringHasher::StringHasher):
5153 (WTF::StringHasher::addCharacters):
5154 (WTF::StringHasher::addCharacter):
5155 (WTF::StringHasher::hash):
5156 (WTF::StringHasher::computeHash):
5157 (WTF::StringHasher::hashMemory):
5158 (WTF::StringHasher::defaultConverter):
5159 (WTF::StringHasher::addCharactersToHash):
5160 * wtf/TCPackedCache.h: Renamed from Source/JavaScriptCore/wtf/TCPackedCache.h.
5162 (PackedCache::PackedCache):
5165 (PackedCache::GetOrDefault):
5166 (PackedCache::Clear):
5167 (PackedCache::EntryToValue):
5168 (PackedCache::EntryToUpper):
5169 (PackedCache::KeyToUpper):
5170 (PackedCache::UpperToPartialKey):
5171 (PackedCache::Hash):
5172 (PackedCache::KeyMatch):
5173 * wtf/TCPageMap.h: Renamed from Source/JavaScriptCore/wtf/TCPageMap.h.
5174 (TCMalloc_PageMap1):
5175 (TCMalloc_PageMap1::init):
5176 (TCMalloc_PageMap1::Ensure):
5177 (TCMalloc_PageMap1::PreallocateMoreMemory):
5178 (TCMalloc_PageMap1::get):
5179 (TCMalloc_PageMap1::set):
5180 (TCMalloc_PageMap2):
5182 (TCMalloc_PageMap2::init):
5183 (TCMalloc_PageMap2::get):
5184 (TCMalloc_PageMap2::set):
5185 (TCMalloc_PageMap2::Ensure):
5186 (TCMalloc_PageMap2::PreallocateMoreMemory):
5187 (TCMalloc_PageMap2::visitValues):
5188 (TCMalloc_PageMap2::visitAllocations):
5189 (TCMalloc_PageMap3):
5191 (TCMalloc_PageMap3::NewNode):
5192 (TCMalloc_PageMap3::init):
5193 (TCMalloc_PageMap3::get):
5194 (TCMalloc_PageMap3::set):
5195 (TCMalloc_PageMap3::Ensure):
5196 (TCMalloc_PageMap3::PreallocateMoreMemory):
5197 (TCMalloc_PageMap3::visitValues):
5198 (TCMalloc_PageMap3::visitAllocations):
5199 * wtf/TCSpinLock.h: Renamed from Source/JavaScriptCore/wtf/TCSpinLock.h.
5200 (TCMalloc_SpinLock):
5201 (TCMalloc_SpinLock::Lock):
5202 (TCMalloc_SpinLock::Unlock):
5203 (TCMalloc_SpinLock::IsHeld):
5204 (TCMalloc_SpinLock::Init):
5205 (TCMalloc_SpinLock::Finalize):
5206 (TCMalloc_SlowLock):
5207 (TCMalloc_SpinLockHolder):
5208 (TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
5209 (TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
5210 * wtf/TCSystemAlloc.cpp: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.cpp.
5215 (TCMalloc_SystemAlloc):
5216 (TCMalloc_SystemRelease):
5217 (TCMalloc_SystemCommit):
5218 * wtf/TCSystemAlloc.h: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.h.
5219 (TCMalloc_SystemRelease):
5220 (TCMalloc_SystemCommit):
5221 * wtf/TemporaryChange.h: Renamed from Source/JavaScriptCore/wtf/TemporaryChange.h.
5224 (WTF::TemporaryChange::TemporaryChange):
5225 (WTF::TemporaryChange::~TemporaryChange):
5226 * wtf/ThreadFunctionInvocation.h: Renamed from Source/JavaScriptCore/wtf/ThreadFunctionInvocation.h.
5228 (WTF::ThreadFunctionInvocation::ThreadFunctionInvocation):
5229 (ThreadFunctionInvocation):
5230 * wtf/ThreadIdentifierDataPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp.
5232 (WTF::ThreadIdentifierData::~ThreadIdentifierData):
5233 (WTF::ThreadIdentifierData::initializeOnce):
5234 (WTF::ThreadIdentifierData::identifier):
5235 (WTF::ThreadIdentifierData::initialize):
5236 (WTF::ThreadIdentifierData::destruct):
5237 * wtf/ThreadIdentifierDataPthreads.h: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h.
5239 (ThreadIdentifierData):
5240 (WTF::ThreadIdentifierData::ThreadIdentifierData):
5241 * wtf/ThreadRestrictionVerifier.h: Renamed from Source/JavaScriptCore/wtf/ThreadRestrictionVerifier.h.
5243 (ThreadRestrictionVerifier):
5244 (WTF::ThreadRestrictionVerifier::ThreadRestrictionVerifier):
5245 (WTF::ThreadRestrictionVerifier::~ThreadRestrictionVerifier):
5246 (WTF::ThreadRestrictionVerifier::setMutexMode):
5247 (WTF::ThreadRestrictionVerifier::setDispatchQueueMode):
5248 (WTF::ThreadRestrictionVerifier::turnOffVerification):
5249 (WTF::ThreadRestrictionVerifier::setShared):
5250 (WTF::ThreadRestrictionVerifier::isSafeToUse):
5251 * wtf/ThreadSafeRefCounted.h: Renamed from Source/JavaScriptCore/wtf/ThreadSafeRefCounted.h.
5253 (ThreadSafeRefCountedBase):
5254 (WTF::ThreadSafeRefCountedBase::ThreadSafeRefCountedBase):
5255 (WTF::ThreadSafeRefCountedBase::ref):
5256 (WTF::ThreadSafeRefCountedBase::hasOneRef):
5257 (WTF::ThreadSafeRefCountedBase::refCount):
5258 (WTF::ThreadSafeRefCountedBase::derefBase):
5259 (ThreadSafeRefCounted):
5260 (WTF::ThreadSafeRefCounted::deref):
5261 (WTF::ThreadSafeRefCounted::ThreadSafeRefCounted):
5262 * wtf/ThreadSpecific.h: Renamed from Source/JavaScriptCore/wtf/ThreadSpecific.h.
5266 (WTF::ThreadSpecific::Data::Data):
5267 (WTF::::ThreadSpecific):
5270 (WTF::::~ThreadSpecific):
5275 * wtf/ThreadSpecificWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadSpecificWin.cpp.
5279 (WTF::ThreadSpecificThreadExit):
5280 * wtf/Threading.cpp: Renamed from Source/JavaScriptCore/wtf/Threading.cpp.
5283 (WTF::NewThreadContext::NewThreadContext):
5284 (WTF::threadEntryPoint):
5285 (WTF::createThread):
5286 (WTF::ThreadFunctionWithReturnValueInvocation::ThreadFunctionWithReturnValueInvocation):
5287 (ThreadFunctionWithReturnValueInvocation):
5288 (WTF::compatEntryPoint):
5289 (WTF::waitForThreadCompletion):
5290 * wtf/Threading.h: Renamed from Source/JavaScriptCore/wtf/Threading.h.
5292 * wtf/ThreadingNone.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingNone.cpp.
5293 * wtf/ThreadingPrimitives.h: Renamed from Source/JavaScriptCore/wtf/ThreadingPrimitives.h.
5296 (PlatformCondition):
5301 * wtf/ThreadingPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingPthreads.cpp.
5303 (WTF::threadMapMutex):
5304 (WTF::initializeThreading):
5305 (WTF::lockAtomicallyInitializedStaticMutex):
5306 (WTF::unlockAtomicallyInitializedStaticMutex):
5308 (WTF::identifierByPthreadHandle):
5309 (WTF::establishIdentifierForPthreadHandle):
5310 (WTF::pthreadHandleForIdentifier):
5311 (WTF::clearPthreadHandleForIdentifier):
5312 (WTF::wtfThreadEntryPoint):
5313 (WTF::createThreadInternal):
5314 (WTF::initializeCurrentThreadInternal):
5315 (WTF::waitForThreadCompletion):
5316 (WTF::detachThread):
5318 (WTF::currentThread):
5319 (WTF::Mutex::Mutex):
5320 (WTF::Mutex::~Mutex):
5322 (WTF::Mutex::tryLock):
5323 (WTF::Mutex::unlock):
5324 (WTF::ReadWriteLock::ReadWriteLock):
5325 (WTF::ReadWriteLock::~ReadWriteLock):
5326 (WTF::ReadWriteLock::readLock):
5327 (WTF::ReadWriteLock::tryReadLock):
5328 (WTF::ReadWriteLock::writeLock):
5329 (WTF::ReadWriteLock::tryWriteLock):
5330 (WTF::ReadWriteLock::unlock):
5331 (WTF::ThreadCondition::ThreadCondition):
5332 (WTF::ThreadCondition::~ThreadCondition):
5333 (WTF::ThreadCondition::wait):
5334 (WTF::ThreadCondition::timedWait):
5335 (WTF::ThreadCondition::signal):
5336 (WTF::ThreadCondition::broadcast):
5337 * wtf/ThreadingWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingWin.cpp.
5339 (tagTHREADNAME_INFO):
5340 (WTF::initializeCurrentThreadInternal):
5341 (WTF::lockAtomicallyInitializedStaticMutex):
5342 (WTF::unlockAtomicallyInitializedStaticMutex):
5343 (WTF::threadMapMutex):
5344 (WTF::initializeThreading):
5346 (WTF::storeThreadHandleByIdentifier):
5347 (WTF::threadHandleForIdentifier):
5348 (WTF::clearThreadHandleForIdentifier):
5349 (WTF::wtfThreadEntryPoint):
5350 (WTF::createThreadInternal):
5351 (WTF::waitForThreadCompletion):
5352 (WTF::detachThread):
5354 (WTF::currentThread):
5355 (WTF::Mutex::Mutex):
5356 (WTF::Mutex::~Mutex):
5358 (WTF::Mutex::tryLock):
5359 (WTF::Mutex::unlock):
5360 (WTF::PlatformCondition::timedWait):
5361 (WTF::PlatformCondition::signal):
5362 (WTF::ThreadCondition::ThreadCondition):
5363 (WTF::ThreadCondition::~ThreadCondition):
5364 (WTF::ThreadCondition::wait):
5365 (WTF::ThreadCondition::timedWait):
5366 (WTF::ThreadCondition::signal):
5367 (WTF::ThreadCondition::broadcast):
5368 (WTF::absoluteTimeToWaitTimeoutInterval):
5369 * wtf/TypeTraits.cpp: Renamed from Source/JavaScriptCore/wtf/TypeTraits.cpp.
5371 * wtf/TypeTraits.h: Renamed from Source/JavaScriptCore/wtf/TypeTraits.h.
5373 (IsConvertibleToInteger):
5378 (IsSubclassOfTemplate):
5382 (RemoveConstVolatile):
5388 * wtf/TypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/TypedArrayBase.h.
5391 (WTF::TypedArrayBase::data):
5392 (WTF::TypedArrayBase::set):
5393 (WTF::TypedArrayBase::setRange):
5394 (WTF::TypedArrayBase::zeroRange):
5395 (WTF::TypedArrayBase::length):
5396 (WTF::TypedArrayBase::byteLength):
5397 (WTF::TypedArrayBase::TypedArrayBase):
5398 (WTF::TypedArrayBase::create):
5399 (WTF::TypedArrayBase::subarrayImpl):
5400 (WTF::TypedArrayBase::neuter):
5401 * wtf/Uint16Array.h: Renamed from Source/JavaScriptCore/wtf/Uint16Array.h.
5404 (WTF::Uint16Array::set):
5405 (WTF::Uint16Array::isUnsignedShortArray):
5406 (WTF::Uint16Array::create):
5407 (WTF::Uint16Array::Uint16Array):
5408 (WTF::Uint16Array::subarray):
5409 * wtf/Uint32Array.h: Renamed from Source/JavaScriptCore/wtf/Uint32Array.h.
5412 (WTF::Uint32Array::set):
5413 (WTF::Uint32Array::isUnsignedIntArray):
5414 (WTF::Uint32Array::create):
5415 (WTF::Uint32Array::Uint32Array):
5416 (WTF::Uint32Array::subarray):
5417 * wtf/Uint8Array.h: Renamed from Source/JavaScriptCore/wtf/Uint8Array.h.
5420 (WTF::Uint8Array::set):
5421 (WTF::Uint8Array::isUnsignedByteArray):
5422 (WTF::Uint8Array::create):
5423 (WTF::Uint8Array::Uint8Array):
5424 (WTF::Uint8Array::subarray):
5425 * wtf/Uint8ClampedArray.h: Renamed from Source/JavaScriptCore/wtf/Uint8ClampedArray.h.
5427 (Uint8ClampedArray):
5428 (WTF::Uint8ClampedArray::set):
5429 (WTF::Uint8ClampedArray::isUnsignedByteClampedArray):
5430 (WTF::Uint8ClampedArray::create):
5431 (WTF::Uint8ClampedArray::Uint8ClampedArray):
5432 (WTF::Uint8ClampedArray::subarray):
5433 * wtf/UnionFind.h: Renamed from Source/JavaScriptCore/wtf/UnionFind.h.
5436 (WTF::UnionFind::UnionFind):
5437 (WTF::UnionFind::find):
5438 (WTF::UnionFind::unify):
5439 * wtf/UnusedParam.h: Renamed from Source/JavaScriptCore/wtf/UnusedParam.h.
5441 * wtf/VMTags.h: Renamed from Source/JavaScriptCore/wtf/VMTags.h.
5442 * wtf/ValueCheck.h: Renamed from Source/JavaScriptCore/wtf/ValueCheck.h.
5445 (WTF::ValueCheck::checkConsistency):
5446 * wtf/Vector.h: Renamed from Source/JavaScriptCore/wtf/Vector.h.
5448 (WTF::VectorTypeOperations::destruct):
5449 (VectorTypeOperations):
5450 (WTF::VectorTypeOperations::initialize):
5451 (WTF::VectorTypeOperations::move):
5452 (WTF::VectorTypeOperations::moveOverlapping):
5453 (WTF::VectorTypeOperations::uninitializedCopy):
5454 (WTF::VectorTypeOperations::uninitializedFill):
5455 (WTF::VectorTypeOperations::compare):
5457 (WTF::VectorBufferBase::allocateBuffer):
5458 (WTF::VectorBufferBase::tryAllocateBuffer):
5459 (WTF::VectorBufferBase::deallocateBuffer):
5460 (WTF::VectorBufferBase::buffer):
5461 (WTF::VectorBufferBase::bufferSlot):
5462 (WTF::VectorBufferBase::capacity):
5463 (WTF::VectorBufferBase::releaseBuffer):
5464 (WTF::VectorBufferBase::VectorBufferBase):
5465 (WTF::VectorBufferBase::~VectorBufferBase):
5467 (WTF::VectorBuffer::VectorBuffer):
5468 (WTF::VectorBuffer::~VectorBuffer):
5469 (WTF::VectorBuffer::allocateBuffer):
5470 (WTF::VectorBuffer::tryAllocateBuffer):
5471 (WTF::VectorBuffer::deallocateBuffer):
5472 (WTF::VectorBuffer::swap):
5473 (WTF::VectorBuffer::restoreInlineBufferIfNeeded):
5474 (WTF::VectorBuffer::releaseBuffer):
5475 (WTF::VectorBuffer::inlineBuffer):
5477 (WTF::Vector::Vector):
5478 (WTF::Vector::~Vector):
5479 (WTF::Vector::size):
5480 (WTF::Vector::capacity):
5481 (WTF::Vector::isEmpty):
5483 (WTF::Vector::operator[]):
5484 (WTF::Vector::data):
5485 (WTF::Vector::dataSlot):
5486 (WTF::Vector::begin):
5488 (WTF::Vector::rbegin):
5489 (WTF::Vector::rend):
5490 (WTF::Vector::reversed):
5491 (WTF::Vector::first):
5492 (WTF::Vector::last):
5493 (WTF::Vector::shrinkToFit):
5494 (WTF::Vector::clear):
5495 (WTF::Vector::removeLast):
5496 (WTF::Vector::fill):
5497 (WTF::Vector::swap):
5498 (VectorReverseProxy):
5499 (WTF::Vector::VectorReverseProxy::begin):
5500 (WTF::Vector::VectorReverseProxy::end):
5505 (WTF::typelessPointersAreEqual):
5508 (WTF::::reverseFind):
5510 (WTF::::appendRange):
5511 (WTF::::expandCapacity):
5512 (WTF::::tryExpandCapacity):
5516 (WTF::::reserveCapacity):
5517 (WTF::::tryReserveCapacity):
5518 (WTF::::reserveInitialCapacity):
5519 (WTF::::shrinkCapacity):
5522 (WTF::::appendSlowCase):
5523 (WTF::::uncheckedAppend):
5528 (WTF::::releaseBuffer):
5529 (WTF::::checkConsistency):
5530 (WTF::deleteAllValues):
5534 * wtf/VectorTraits.h: Renamed from Source/JavaScriptCore/wtf/VectorTraits.h.
5536 (SimpleClassVectorTraits):
5537 * wtf/WTFThreadData.cpp: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.cpp.
5539 (WTF::WTFThreadData::WTFThreadData):
5540 (WTF::WTFThreadData::~WTFThreadData):
5542 (JSC::IdentifierTable::~IdentifierTable):
5543 (JSC::IdentifierTable::add):
5544 * wtf/WTFThreadData.h: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.h.
5547 (JSC::IdentifierTable::remove):
5548 (JSC::IdentifierTable::literalTable):
5551 (WTF::WTFThreadData::atomicStringTable):
5552 (WTF::WTFThreadData::currentIdentifierTable):
5553 (WTF::WTFThreadData::setCurrentIdentifierTable):
5554 (WTF::WTFThreadData::resetCurrentIdentifierTable):
5555 (WTF::WTFThreadData::stack):
5556 (WTF::wtfThreadData):
5557 * wtf/blackberry/MainThreadBlackBerry.cpp: Renamed from Source/JavaScriptCore/wtf/blackberry/MainThreadBlackBerry.cpp.
5559 (WTF::initializeMainThreadPlatform):
5560 (WTF::scheduleDispatchFunctionsOnMainThread):
5561 * wtf/chromium/ChromiumThreading.h: Renamed from Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h.
5563 (ChromiumThreading):
5564 * wtf/chromium/MainThreadChromium.cpp: Renamed from Source/JavaScriptCore/wtf/chromium/MainThreadChromium.cpp.
5566 (WTF::initializeMainThread):
5567 (WTF::callOnMainThread):
5568 (WTF::callOnMainThreadAndWait):
5569 (WTF::setMainThreadCallbacksPaused):
5570 (WTF::isMainThread):
5571 * wtf/dtoa.cpp: Renamed from Source/JavaScriptCore/wtf/dtoa.cpp.
5574 (WTF::BigInt::BigInt):
5576 (WTF::BigInt::clear):
5577 (WTF::BigInt::size):
5578 (WTF::BigInt::resize):
5579 (WTF::BigInt::words):
5580 (WTF::BigInt::append):
5587 (WTF::P5Node::P5Node):
5596 * wtf/dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa.h.
5598 * wtf/dtoa/COPYING: Renamed from Source/JavaScriptCore/wtf/dtoa/COPYING.
5599 * wtf/dtoa/LICENSE: Renamed from Source/JavaScriptCore/wtf/dtoa/LICENSE.
5600 * wtf/dtoa/README: Renamed from Source/JavaScriptCore/wtf/dtoa/README.
5601 * wtf/dtoa/bignum-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.cc.
5602 * wtf/dtoa/bignum-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.h.
5604 (double_conversion):
5605 * wtf/dtoa/bignum.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.cc.
5606 * wtf/dtoa/bignum.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.h.
5608 (double_conversion):
5610 (WTF::double_conversion::Bignum::Times10):
5611 (WTF::double_conversion::Bignum::Equal):
5612 (WTF::double_conversion::Bignum::LessEqual):
5613 (WTF::double_conversion::Bignum::Less):
5614 (WTF::double_conversion::Bignum::PlusEqual):
5615 (WTF::double_conversion::Bignum::PlusLessEqual):
5616 (WTF::double_conversion::Bignum::PlusLess):
5617 (WTF::double_conversion::Bignum::EnsureCapacity):
5618 (WTF::double_conversion::Bignum::BigitLength):
5619 * wtf/dtoa/cached-powers.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.cc.
5620 * wtf/dtoa/cached-powers.h: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.h.
5622 (double_conversion):
5624 * wtf/dtoa/diy-fp.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.cc.
5625 * wtf/dtoa/diy-fp.h: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.h.
5627 (double_conversion):
5629 (WTF::double_conversion::DiyFp::DiyFp):
5630 (WTF::double_conversion::DiyFp::Subtract):
5631 (WTF::double_conversion::DiyFp::Minus):
5632 (WTF::double_conversion::DiyFp::Times):
5633 (WTF::double_conversion::DiyFp::Normalize):
5634 (WTF::double_conversion::DiyFp::f):
5635 (WTF::double_conversion::DiyFp::e):
5636 (WTF::double_conversion::DiyFp::set_f):
5637 (WTF::double_conversion::DiyFp::set_e):
5638 * wtf/dtoa/double-conversion.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.cc.
5639 * wtf/dtoa/double-conversion.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.h.
5641 (double_conversion):
5642 (DoubleToStringConverter):
5643 (WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
5644 (StringToDoubleConverter):
5645 (WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
5646 * wtf/dtoa/double.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double.h.
5648 (double_conversion):
5649 (WTF::double_conversion::double_to_uint64):
5650 (WTF::double_conversion::uint64_to_double):
5652 (WTF::double_conversion::Double::Double):
5653 (WTF::double_conversion::Double::AsDiyFp):
5654 (WTF::double_conversion::Double::AsNormalizedDiyFp):
5655 (WTF::double_conversion::Double::AsUint64):
5656 (WTF::double_conversion::Double::NextDouble):
5657 (WTF::double_conversion::Double::Exponent):
5658 (WTF::double_conversion::Double::Significand):
5659 (WTF::double_conversion::Double::IsDenormal):
5660 (WTF::double_conversion::Double::IsSpecial):
5661 (WTF::double_conversion::Double::IsNan):
5662 (WTF::double_conversion::Double::IsInfinite):
5663 (WTF::double_conversion::Double::Sign):
5664 (WTF::double_conversion::Double::UpperBoundary):
5665 (WTF::double_conversion::Double::NormalizedBoundaries):
5666 (WTF::double_conversion::Double::value):
5667 (WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
5668 (WTF::double_conversion::Double::Infinity):
5669 (WTF::double_conversion::Double::NaN):
5670 (WTF::double_conversion::Double::DiyFpToUint64):
5671 * wtf/dtoa/fast-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.cc.
5672 * wtf/dtoa/fast-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.h.
5674 (double_conversion):
5675 * wtf/dtoa/fixed-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.cc.
5676 * wtf/dtoa/fixed-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.h.
5678 (double_conversion):
5679 * wtf/dtoa/strtod.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.cc.
5680 * wtf/dtoa/strtod.h: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.h.
5682 (double_conversion):
5683 * wtf/dtoa/utils.h: Renamed from Source/JavaScriptCore/wtf/dtoa/utils.h.
5685 (double_conversion):
5686 (WTF::double_conversion::Max):
5687 (WTF::double_conversion::Min):
5688 (WTF::double_conversion::StrLength):
5690 (WTF::double_conversion::Vector::Vector):
5691 (WTF::double_conversion::Vector::SubVector):
5692 (WTF::double_conversion::Vector::length):
5693 (WTF::double_conversion::Vector::is_empty):
5694 (WTF::double_conversion::Vector::start):
5695 (WTF::double_conversion::Vector::operator[]):
5696 (WTF::double_conversion::Vector::first):
5697 (WTF::double_conversion::Vector::last):
5699 (WTF::double_conversion::StringBuilder::StringBuilder):
5700 (WTF::double_conversion::StringBuilder::~StringBuilder):
5701 (WTF::double_conversion::StringBuilder::size):
5702 (WTF::double_conversion::StringBuilder::position):
5703 (WTF::double_conversion::StringBuilder::SetPosition):
5704 (WTF::double_conversion::StringBuilder::Reset):
5705 (WTF::double_conversion::StringBuilder::AddCharacter):
5706 (WTF::double_conversion::StringBuilder::AddString):
5707 (WTF::double_conversion::StringBuilder::AddSubstring):
5708 (WTF::double_conversion::StringBuilder::AddPadding):
5709 (WTF::double_conversion::StringBuilder::Finalize):
5710 (WTF::double_conversion::StringBuilder::is_finalized):
5711 (WTF::double_conversion::BitCast):
5712 * wtf/efl/MainThreadEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/MainThreadEfl.cpp.
5715 (WTF::monitorDispatchFunctions):
5716 (WTF::initializeMainThreadPlatform):
5717 (WTF::scheduleDispatchFunctionsOnMainThread):
5718 * wtf/efl/OwnPtrEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp.
5720 (WTF::deleteOwnedPtr):
5721 * wtf/gobject/GOwnPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp.
5726 (WTF::GPatternSpec):
5730 * wtf/gobject/GOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.
5733 (WTF::GOwnPtr::GOwnPtr):
5734 (WTF::GOwnPtr::~GOwnPtr):
5735 (WTF::GOwnPtr::get):
5736 (WTF::GOwnPtr::release):
5737 (WTF::GOwnPtr::outPtr):
5738 (WTF::GOwnPtr::set):
5739 (WTF::GOwnPtr::clear):
5740 (WTF::GOwnPtr::operator*):
5741 (WTF::GOwnPtr::operator->):
5742 (WTF::GOwnPtr::operator!):
5743 (WTF::GOwnPtr::operator UnspecifiedBoolType):
5744 (WTF::GOwnPtr::swap):
5749 (WTF::freeOwnedGPtr):
5750 * wtf/gobject/GRefPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp.
5755 * wtf/gobject/GRefPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.h.
5758 (WTF::GRefPtr::GRefPtr):
5759 (WTF::GRefPtr::~GRefPtr):
5760 (WTF::GRefPtr::clear):
5761 (WTF::GRefPtr::isHashTableDeletedValue):
5762 (WTF::GRefPtr::get):
5763 (WTF::GRefPtr::operator*):
5764 (WTF::GRefPtr::operator->):
5765 (WTF::GRefPtr::operator!):
5766 (WTF::GRefPtr::operator UnspecifiedBoolType):
5767 (WTF::GRefPtr::hashTableDeletedValue):
5773 (WTF::static_pointer_cast):
5774 (WTF::const_pointer_cast):
5779 * wtf/gobject/GTypedefs.h: Renamed from Source/JavaScriptCore/wtf/gobject/GTypedefs.h.
5780 * wtf/gobject/GlibUtilities.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp.
5781 (getCurrentExecutablePath):
5782 * wtf/gobject/GlibUtilities.h: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.h.
5783 * wtf/gtk/MainThreadGtk.cpp: Renamed from Source/JavaScriptCore/wtf/gtk/MainThreadGtk.cpp.
5785 (WTF::initializeMainThreadPlatform):
5786 (WTF::timeoutFired):
5787 (WTF::scheduleDispatchFunctionsOnMainThread):
5788 * wtf/mac/MainThreadMac.mm: Renamed from Source/JavaScriptCore/wtf/mac/MainThreadMac.mm.
5789 (-[JSWTFMainThreadCaller call]):
5791 (WTF::initializeMainThreadPlatform):
5792 (WTF::initializeMainThreadToProcessMainThreadPlatform):
5795 (WTF::scheduleDispatchFunctionsOnMainThread):
5796 (WTF::isMainThread):
5797 * wtf/qt/MainThreadQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/MainThreadQt.cpp.
5799 (MainThreadInvoker):
5800 (WTF::MainThreadInvoker::MainThreadInvoker):
5801 (WTF::MainThreadInvoker::event):
5802 (WTF::initializeMainThreadPlatform):
5803 (WTF::scheduleDispatchFunctionsOnMainThread):
5804 * wtf/qt/StringQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/StringQt.cpp.
5806 (WTF::String::String):
5807 (WTF::String::operator QString):
5810 * wtf/qt/UtilsQt.h: Renamed from Source/JavaScriptCore/wtf/qt/UtilsQt.h.
5812 * wtf/qt/compat/QGuiApplication: Renamed from Source/JavaScriptCore/wtf/qt/compat/QGuiApplication.
5813 * wtf/qt/compat/qguiapplication.h: Renamed from Source/JavaScriptCore/wtf/qt/compat/qguiapplication.h.
5815 (QGuiApplication::styleHints):
5816 * wtf/text/ASCIIFastPath.h: Renamed from Source/JavaScriptCore/wtf/text/ASCIIFastPath.h.
5818 (WTF::isAlignedToMachineWord):
5819 (WTF::alignToMachineWord):
5821 (WTF::charactersAreAllASCII):
5822 * wtf/text/AtomicString.cpp: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.cpp.
5824 (AtomicStringTable):
5825 (WTF::AtomicStringTable::create):
5826 (WTF::AtomicStringTable::table):
5827 (WTF::AtomicStringTable::destroy):
5829 (WTF::addToStringTable):
5830 (WTF::CStringTranslator::hash):
5831 (CStringTranslator):
5832 (WTF::CStringTranslator::equal):
5833 (WTF::CStringTranslator::translate):
5834 (WTF::AtomicString::add):
5836 (WTF::UCharBufferTranslator::hash):
5837 (UCharBufferTranslator):
5838 (WTF::UCharBufferTranslator::equal):
5839 (WTF::UCharBufferTranslator::translate):
5840 (HashAndCharacters):
5841 (WTF::HashAndCharactersTranslator::hash):
5842 (HashAndCharactersTranslator):
5843 (WTF::HashAndCharactersTranslator::equal):
5844 (WTF::HashAndCharactersTranslator::translate):
5845 (HashAndUTF8Characters):
5846 (WTF::HashAndUTF8CharactersTranslator::hash):
5847 (HashAndUTF8CharactersTranslator):
5848 (WTF::HashAndUTF8CharactersTranslator::equal):
5849 (WTF::HashAndUTF8CharactersTranslator::translate):
5850 (SubstringLocation):
5851 (WTF::SubstringTranslator::hash):
5852 (SubstringTranslator):
5853 (WTF::SubstringTranslator::equal):
5854 (WTF::SubstringTranslator::translate):
5855 (WTF::AtomicString::addSlowCase):
5856 (WTF::AtomicString::find):
5857 (WTF::AtomicString::remove):
5858 (WTF::AtomicString::lower):
5859 (WTF::AtomicString::fromUTF8Internal):
5860 (WTF::AtomicString::show):
5861 * wtf/text/AtomicString.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.h.
5864 (WTF::AtomicString::AtomicString):
5865 (WTF::AtomicString::isHashTableDeletedValue):
5866 (WTF::AtomicString::operator const String&):
5867 (WTF::AtomicString::string):
5868 (WTF::AtomicString::impl):
5869 (WTF::AtomicString::characters):
5870 (WTF::AtomicString::length):
5871 (WTF::AtomicString::operator[]):
5872 (WTF::AtomicString::contains):
5873 (WTF::AtomicString::find):
5874 (WTF::AtomicString::startsWith):
5875 (WTF::AtomicString::endsWith):
5876 (WTF::AtomicString::upper):
5877 (WTF::AtomicString::toInt):
5878 (WTF::AtomicString::toDouble):
5879 (WTF::AtomicString::toFloat):
5880 (WTF::AtomicString::percentage):
5881 (WTF::AtomicString::isNull):
5882 (WTF::AtomicString::isEmpty):
5883 (WTF::AtomicString::createCFString):
5884 (WTF::AtomicString::operator NSString*):
5885 (WTF::AtomicString::operator QString):
5886 (WTF::AtomicString::add):
5889 (WTF::equalIgnoringCase):
5890 (WTF::AtomicString::fromUTF8):
5891 * wtf/text/AtomicStringHash.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringHash.h.
5893 (WTF::AtomicStringHash::hash):
5895 (WTF::AtomicStringHash::equal):
5896 * wtf/text/AtomicStringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringImpl.h.
5899 (WTF::AtomicStringImpl::AtomicStringImpl):
5900 * wtf/text/CString.cpp: Renamed from Source/JavaScriptCore/wtf/text/CString.cpp.
5902 (WTF::CString::CString):
5903 (WTF::CString::init):
5904 (WTF::CString::mutableData):
5905 (WTF::CString::newUninitialized):
5906 (WTF::CString::copyBufferIfNeeded):
5908 * wtf/text/CString.h: Renamed from Source/JavaScriptCore/wtf/text/CString.h.
5911 (WTF::CStringBuffer::data):
5912 (WTF::CStringBuffer::length):
5913 (WTF::CStringBuffer::create):
5914 (WTF::CStringBuffer::CStringBuffer):
5915 (WTF::CStringBuffer::mutableData):
5917 (WTF::CString::CString):
5918 (WTF::CString::data):
5919 (WTF::CString::length):
5920 (WTF::CString::isNull):
5921 (WTF::CString::buffer):
5923 * wtf/text/StringBuffer.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuffer.h.
5926 (WTF::StringBuffer::StringBuffer):
5927 (WTF::StringBuffer::~StringBuffer):
5928 (WTF::StringBuffer::shrink):
5929 (WTF::StringBuffer::resize):
5930 (WTF::StringBuffer::length):
5931 (WTF::StringBuffer::characters):
5932 (WTF::StringBuffer::operator[]):
5933 (WTF::StringBuffer::release):
5934 * wtf/text/StringBuilder.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.cpp.
5936 (WTF::StringBuilder::reifyString):
5937 (WTF::StringBuilder::resize):
5938 (WTF::StringBuilder::allocateBuffer):
5939 (WTF::StringBuilder::allocateBufferUpConvert):
5942 (WTF::StringBuilder::reserveCapacity):
5943 (WTF::StringBuilder::appendUninitialized):
5944 (WTF::StringBuilder::appendUninitializedSlow):
5945 (WTF::StringBuilder::append):
5946 (WTF::StringBuilder::canShrink):
5947 (WTF::StringBuilder::shrinkToFit):
5948 * wtf/text/StringBuilder.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.h.
5951 (WTF::StringBuilder::StringBuilder):
5952 (WTF::StringBuilder::append):
5953 (WTF::StringBuilder::toString):
5954 (WTF::StringBuilder::toStringPreserveCapacity):
5955 (WTF::StringBuilder::toAtomicString):
5956 (WTF::StringBuilder::length):
5957 (WTF::StringBuilder::isEmpty):
5958 (WTF::StringBuilder::capacity):
5959 (WTF::StringBuilder::operator[]):
5960 (WTF::StringBuilder::characters8):
5961 (WTF::StringBuilder::characters16):
5962 (WTF::StringBuilder::characters):
5963 (WTF::StringBuilder::is8Bit):
5964 (WTF::StringBuilder::clear):
5965 (WTF::StringBuilder::swap):
5971 * wtf/text/StringConcatenate.h: Renamed from Source/JavaScriptCore/wtf/text/StringConcatenate.h.
5973 (WTF::sumWithOverflow):
5974 (WTF::tryMakeString):
5976 * wtf/text/StringHash.h: Renamed from Source/JavaScriptCore/wtf/text/StringHash.h.
5978 (WTF::StringHash::hash):
5979 (WTF::StringHash::equal):
5982 (WTF::CaseFoldingHash::foldCase):
5983 (WTF::CaseFoldingHash::hash):
5984 (WTF::CaseFoldingHash::equal):
5985 (WTF::AlreadyHashed::hash):
5987 (WTF::AlreadyHashed::avoidDeletedValue):
5988 * wtf/text/StringImpl.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.cpp.
5990 (WTF::StringImpl::~StringImpl):
5991 (WTF::StringImpl::createUninitialized):
5992 (WTF::StringImpl::reallocate):
5993 (WTF::StringImpl::create):
5994 (WTF::StringImpl::getData16SlowCase):
5995 (WTF::StringImpl::upconvertCharacters):
5996 (WTF::StringImpl::containsOnlyWhitespace):
5997 (WTF::StringImpl::substring):
5998 (WTF::StringImpl::characterStartingAt):
5999 (WTF::StringImpl::lower):
6000 (WTF::StringImpl::upper):
6001 (WTF::StringImpl::fill):
6002 (WTF::StringImpl::foldCase):
6003 (WTF::StringImpl::stripMatchedCharacters):
6005 (WTF::UCharPredicate::UCharPredicate):
6006 (WTF::UCharPredicate::operator()):
6007 (SpaceOrNewlinePredicate):
6008 (WTF::SpaceOrNewlinePredicate::operator()):
6009 (WTF::StringImpl::stripWhiteSpace):
6010 (WTF::StringImpl::removeCharacters):
6011 (WTF::StringImpl::simplifyMatchedCharactersToSpace):
6012 (WTF::StringImpl::simplifyWhiteSpace):
6013 (WTF::StringImpl::toIntStrict):
6014 (WTF::StringImpl::toUIntStrict):
6015 (WTF::StringImpl::toInt64Strict):
6016 (WTF::StringImpl::toUInt64Strict):
6017 (WTF::StringImpl::toIntPtrStrict):
6018 (WTF::StringImpl::toInt):
6019 (WTF::StringImpl::toUInt):
6020 (WTF::StringImpl::toInt64):
6021 (WTF::StringImpl::toUInt64):
6022 (WTF::StringImpl::toIntPtr):
6023 (WTF::StringImpl::toDouble):
6024 (WTF::StringImpl::toFloat):
6025 (WTF::equalIgnoringCase):
6026 (WTF::StringImpl::find):
6027 (WTF::StringImpl::findIgnoringCase):
6029 (WTF::StringImpl::reverseFind):
6030 (WTF::reverseFindInner):
6031 (WTF::StringImpl::reverseFindIgnoringCase):
6032 (WTF::StringImpl::endsWith):
6033 (WTF::StringImpl::replace):
6035 (WTF::equalIgnoringNullity):
6036 (WTF::StringImpl::defaultWritingDirection):
6037 (WTF::StringImpl::adopt):
6038 (WTF::StringImpl::createWithTerminatingNullCharacter):
6039 * wtf/text/StringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.h.
6043 (WTF::StringImpl::StringImpl):
6044 (WTF::StringImpl::create):
6045 (WTF::StringImpl::create8):
6046 (WTF::StringImpl::tryCreateUninitialized):
6047 (WTF::StringImpl::flagsOffset):
6048 (WTF::StringImpl::flagIs8Bit):
6049 (WTF::StringImpl::dataOffset):
6050 (WTF::StringImpl::adopt):
6051 (WTF::StringImpl::length):
6052 (WTF::StringImpl::is8Bit):
6053 (WTF::StringImpl::characters8):
6054 (WTF::StringImpl::characters16):
6055 (WTF::StringImpl::characters):
6056 (WTF::StringImpl::cost):
6057 (WTF::StringImpl::has16BitShadow):
6058 (WTF::StringImpl::isIdentifier):
6059 (WTF::StringImpl::setIsIdentifier):
6060 (WTF::StringImpl::hasTerminatingNullCharacter):
6061 (WTF::StringImpl::isAtomic):
6062 (WTF::StringImpl::setIsAtomic):
6063 (WTF::StringImpl::setHash):
6064 (WTF::StringImpl::rawHash):
6065 (WTF::StringImpl::hasHash):
6066 (WTF::StringImpl::existingHash):
6067 (WTF::StringImpl::hash):
6068 (WTF::StringImpl::hasOneRef):
6069 (WTF::StringImpl::ref):
6070 (WTF::StringImpl::deref):
6071 (WTF::StringImpl::copyChars):
6072 (WTF::StringImpl::operator[]):
6073 (WTF::StringImpl::find):
6074 (WTF::StringImpl::findIgnoringCase):
6075 (WTF::StringImpl::startsWith):
6076 (WTF::StringImpl::bufferOwnership):
6077 (WTF::StringImpl::isStatic):
6081 (WTF::equalIgnoringCase):
6082 (WTF::equalIgnoringNullity):
6083 (WTF::codePointCompare):
6084 (WTF::codePointCompare8):
6085 (WTF::codePointCompare16):
6086 (WTF::codePointCompare8To16):
6087 (WTF::isSpaceOrNewline):
6088 (WTF::StringImpl::isolatedCopy):
6089 * wtf/text/StringOperators.h: Renamed from Source/JavaScriptCore/wtf/text/StringOperators.h.
6092 (WTF::StringAppend::StringAppend):
6093 (WTF::StringAppend::operator String):
6094 (WTF::StringAppend::operator AtomicString):
6095 (WTF::StringAppend::is8Bit):
6096 (WTF::StringAppend::writeTo):
6097 (WTF::StringAppend::length):
6099 * wtf/text/StringStatics.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringStatics.cpp.
6101 (WTF::StringImpl::empty):
6102 (WTF::StringImpl::hashSlowCase):
6103 (WTF::AtomicString::init):
6104 * wtf/text/TextPosition.h: Renamed from Source/JavaScriptCore/wtf/text/TextPosition.h.
6107 (WTF::OrdinalNumber::fromZeroBasedInt):
6108 (WTF::OrdinalNumber::fromOneBasedInt):
6109 (WTF::OrdinalNumber::OrdinalNumber):
6110 (WTF::OrdinalNumber::zeroBasedInt):
6111 (WTF::OrdinalNumber::oneBasedInt):
6112 (WTF::OrdinalNumber::operator==):
6113 (WTF::OrdinalNumber::operator!=):
6114 (WTF::OrdinalNumber::first):
6115 (WTF::OrdinalNumber::beforeFirst):
6117 (WTF::TextPosition::TextPosition):
6118 (WTF::TextPosition::operator==):
6119 (WTF::TextPosition::operator!=):
6120 (WTF::TextPosition::minimumPosition):
6121 (WTF::TextPosition::belowRangePosition):
6122 * wtf/text/WTFString.cpp: Renamed from Source/JavaScriptCore/wtf/text/WTFString.cpp.
6124 (WTF::String::String):
6125 (WTF::String::append):
6126 (WTF::codePointCompare):
6127 (WTF::String::insert):
6128 (WTF::String::characterStartingAt):
6129 (WTF::String::truncate):
6130 (WTF::String::remove):
6131 (WTF::String::substring):
6132 (WTF::String::substringSharingImpl):
6133 (WTF::String::lower):
6134 (WTF::String::upper):
6135 (WTF::String::stripWhiteSpace):
6136 (WTF::String::simplifyWhiteSpace):
6137 (WTF::String::removeCharacters):
6138 (WTF::String::foldCase):
6139 (WTF::String::percentage):
6140 (WTF::String::charactersWithNullTermination):
6141 (WTF::String::format):
6142 (WTF::String::number):
6143 (WTF::String::toIntStrict):
6144 (WTF::String::toUIntStrict):
6145 (WTF::String::toInt64Strict):
6146 (WTF::String::toUInt64Strict):
6147 (WTF::String::toIntPtrStrict):
6148 (WTF::String::toInt):
6149 (WTF::String::toUInt):
6150 (WTF::String::toInt64):
6151 (WTF::String::toUInt64):
6152 (WTF::String::toIntPtr):
6153 (WTF::String::toDouble):
6154 (WTF::String::toFloat):
6155 (WTF::String::isolatedCopy):
6156 (WTF::String::split):
6157 (WTF::String::ascii):
6158 (WTF::String::latin1):
6159 (WTF::putUTF8Triple):
6160 (WTF::String::utf8):
6161 (WTF::String::fromUTF8):
6162 (WTF::String::fromUTF8WithLatin1Fallback):
6163 (WTF::isCharacterAllowedInBase):
6164 (WTF::toIntegralType):
6165 (WTF::lengthOfCharactersAsInteger):
6166 (WTF::charactersToIntStrict):
6167 (WTF::charactersToUIntStrict):
6168 (WTF::charactersToInt64Strict):
6169 (WTF::charactersToUInt64Strict):
6170 (WTF::charactersToIntPtrStrict):
6171 (WTF::charactersToInt):
6172 (WTF::charactersToUInt):
6173 (WTF::charactersToInt64):
6174 (WTF::charactersToUInt64):
6175 (WTF::charactersToIntPtr):
6176 (WTF::toDoubleType):
6177 (WTF::charactersToDouble):
6178 (WTF::charactersToFloat):
6179 (WTF::charactersToFloatIgnoringJunk):
6184 * wtf/text/WTFString.h: Renamed from Source/JavaScriptCore/wtf/text/WTFString.h.
6188 (WTF::String::String):
6189 (WTF::String::~String):
6190 (WTF::String::swap):
6191 (WTF::String::adopt):
6192 (WTF::String::isNull):
6193 (WTF::String::isEmpty):
6194 (WTF::String::impl):
6195 (WTF::String::length):
6196 (WTF::String::characters):
6197 (WTF::String::characters8):
6198 (WTF::String::characters16):
6199 (WTF::String::is8Bit):
6200 (WTF::String::operator[]):
6201 (WTF::String::find):
6202 (WTF::String::reverseFind):
6203 (WTF::String::findIgnoringCase):
6204 (WTF::String::reverseFindIgnoringCase):
6205 (WTF::String::contains):
6206 (WTF::String::startsWith):
6207 (WTF::String::endsWith):
6208 (WTF::String::append):
6209 (WTF::String::replace):
6210 (WTF::String::makeLower):
6211 (WTF::String::makeUpper):
6212 (WTF::String::fill):
6213 (WTF::String::left):
6214 (WTF::String::right):
6215 (WTF::String::createUninitialized):
6216 (WTF::String::operator NSString*):
6217 (WTF::String::fromUTF8):
6218 (WTF::String::fromUTF8WithLatin1Fallback):
6219 (WTF::String::defaultWritingDirection):
6220 (WTF::String::containsOnlyWhitespace):
6221 (WTF::String::isHashTableDeletedValue):
6225 (WTF::equalIgnoringCase):
6226 (WTF::equalPossiblyIgnoringCase):
6227 (WTF::equalIgnoringNullity):
6232 (WTF::String::containsOnlyLatin1):
6233 (WTF::nsStringNilIfEmpty):
6234 (WTF::String::containsOnlyASCII):
6235 (WTF::codePointCompareLessThan):
6239 (WTF::appendNumber):
6240 (WTF::isAllSpecialCharacters):
6241 (WTF::String::isAllSpecialCharacters):
6242 * wtf/threads/BinarySemaphore.cpp: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.cpp.
6244 (WTF::BinarySemaphore::BinarySemaphore):
6245 (WTF::BinarySemaphore::~BinarySemaphore):
6246 (WTF::BinarySemaphore::signal):
6247 (WTF::BinarySemaphore::wait):
6248 * wtf/threads/BinarySemaphore.h: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.h.
6251 (WTF::BinarySemaphore::event):
6252 * wtf/threads/win/BinarySemaphoreWin.cpp: Renamed from Source/JavaScriptCore/wtf/threads/win/BinarySemaphoreWin.cpp.
6254 (WTF::BinarySemaphore::BinarySemaphore):
6255 (WTF::BinarySemaphore::~BinarySemaphore):
6256 (WTF::BinarySemaphore::signal):
6257 (WTF::BinarySemaphore::wait):
6258 * wtf/unicode/CharacterNames.h: Renamed from Source/JavaScriptCore/wtf/unicode/CharacterNames.h.
6260 * wtf/unicode/Collator.h: Renamed from Source/JavaScriptCore/wtf/unicode/Collator.h.
6263 * wtf/unicode/CollatorDefault.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/CollatorDefault.cpp.
6265 (WTF::Collator::Collator):
6266 (WTF::Collator::~Collator):
6267 (WTF::Collator::setOrderLowerFirst):
6268 (WTF::Collator::userDefault):
6269 (WTF::Collator::collate):
6270 * wtf/unicode/ScriptCodesFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/ScriptCodesFromICU.h.
6271 * wtf/unicode/UTF8.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.cpp.
6273 (WTF::Unicode::inlineUTF8SequenceLengthNonASCII):
6274 (WTF::Unicode::inlineUTF8SequenceLength):
6275 (WTF::Unicode::UTF8SequenceLength):
6276 (WTF::Unicode::decodeUTF8Sequence):
6277 (WTF::Unicode::convertLatin1ToUTF8):
6278 (WTF::Unicode::convertUTF16ToUTF8):
6279 (WTF::Unicode::isLegalUTF8):
6280 (WTF::Unicode::readUTF8Sequence):
6281 (WTF::Unicode::convertUTF8ToUTF16):
6282 (WTF::Unicode::calculateStringHashAndLengthFromUTF8):
6283 (WTF::Unicode::equalUTF16WithUTF8):
6284 * wtf/unicode/UTF8.h: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.h.
6286 * wtf/unicode/Unicode.h: Renamed from Source/JavaScriptCore/wtf/unicode/Unicode.h.
6287 * wtf/unicode/UnicodeMacrosFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/UnicodeMacrosFromICU.h.
6288 * wtf/unicode/glib/UnicodeGLib.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp.
6290 (WTF::Unicode::foldCase):
6291 (WTF::Unicode::getUTF16LengthFromUTF8):
6292 (WTF::Unicode::convertCase):
6293 (WTF::Unicode::toLower):
6294 (WTF::Unicode::toUpper):
6295 (WTF::Unicode::direction):
6296 (WTF::Unicode::umemcasecmp):
6297 * wtf/unicode/glib/UnicodeGLib.h: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h.
6299 (WTF::Unicode::toLower):
6300 (WTF::Unicode::toUpper):
6301 (WTF::Unicode::toTitleCase):
6302 (WTF::Unicode::isArabicChar):
6303 (WTF::Unicode::isAlphanumeric):
6304 (WTF::Unicode::isFormatChar):
6305 (WTF::Unicode::isSeparatorSpace):
6306 (WTF::Unicode::isPrintableChar):
6307 (WTF::Unicode::isDigit):
6308 (WTF::Unicode::isPunct):
6309 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6310 (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
6311 (WTF::Unicode::mirroredChar):
6312 (WTF::Unicode::category):
6313 (WTF::Unicode::isLower):
6314 (WTF::Unicode::digitValue):
6315 (WTF::Unicode::combiningClass):
6316 (WTF::Unicode::decompositionType):
6317 * wtf/unicode/icu/CollatorICU.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp.
6319 (WTF::cachedCollatorMutex):
6320 (WTF::Collator::Collator):
6321 (WTF::Collator::userDefault):
6322 (WTF::Collator::~Collator):
6323 (WTF::Collator::setOrderLowerFirst):
6324 (WTF::Collator::collate):
6325 (WTF::Collator::createCollator):
6326 (WTF::Collator::releaseCollator):
6327 * wtf/unicode/icu/UnicodeIcu.h: Renamed from Source/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h.
6329 (WTF::Unicode::foldCase):
6330 (WTF::Unicode::toLower):
6331 (WTF::Unicode::toUpper):
6332 (WTF::Unicode::toTitleCase):
6333 (WTF::Unicode::isArabicChar):
6334 (WTF::Unicode::isAlphanumeric):
6335 (WTF::Unicode::isSeparatorSpace):
6336 (WTF::Unicode::isPrintableChar):
6337 (WTF::Unicode::isPunct):
6338 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6339 (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
6340 (WTF::Unicode::mirroredChar):
6341 (WTF::Unicode::category):
6342 (WTF::Unicode::direction):
6343 (WTF::Unicode::isLower):
6344 (WTF::Unicode::combiningClass):
6345 (WTF::Unicode::decompositionType):
6346 (WTF::Unicode::umemcasecmp):
6347 * wtf/unicode/qt4/UnicodeQt4.h: Renamed from Source/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h.
6351 (WTF::Unicode::toLower):
6352 (WTF::Unicode::toUpper):
6353 (WTF::Unicode::toTitleCase):
6354 (WTF::Unicode::foldCase):
6355 (WTF::Unicode::isArabicChar):
6356 (WTF::Unicode::isPrintableChar):
6357 (WTF::Unicode::isSeparatorSpace):
6358 (WTF::Unicode::isPunct):
6359 (WTF::Unicode::isLower):
6360 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6361 (WTF::Unicode::mirroredChar):
6362 (WTF::Unicode::combiningClass):
6363 (WTF::Unicode::decompositionType):
6364 (WTF::Unicode::umemcasecmp):
6365 (WTF::Unicode::direction):
6366 (WTF::Unicode::category):
6367 * wtf/unicode/wince/UnicodeWinCE.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.cpp.
6369 (WTF::Unicode::toLower):
6370 (WTF::Unicode::toUpper):
6371 (WTF::Unicode::foldCase):
6372 (WTF::Unicode::isPrintableChar):
6373 (WTF::Unicode::isSpace):
6374 (WTF::Unicode::isLetter):
6375 (WTF::Unicode::isUpper):
6376 (WTF::Unicode::isLower):
6377 (WTF::Unicode::isDigit):
6378 (WTF::Unicode::isPunct):
6379 (WTF::Unicode::isAlphanumeric):
6380 (WTF::Unicode::toTitleCase):
6381 (WTF::Unicode::direction):
6382 (WTF::Unicode::category):
6383 (WTF::Unicode::decompositionType):
6384 (WTF::Unicode::combiningClass):
6385 (WTF::Unicode::mirroredChar):
6386 (WTF::Unicode::digitValue):
6387 * wtf/unicode/wince/UnicodeWinCE.h: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.h.
6389 (WTF::Unicode::isSeparatorSpace):
6390 (WTF::Unicode::isHighSurrogate):
6391 (WTF::Unicode::isLowSurrogate):
6392 (WTF::Unicode::isArabicChar):
6393 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
6394 (WTF::Unicode::umemcasecmp):
6395 (WTF::Unicode::surrogateToUcs4):
6396 * wtf/url/api/ParsedURL.cpp: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.cpp.
6398 (WTF::ParsedURL::ParsedURL):
6399 (WTF::ParsedURL::isolatedCopy):
6400 (WTF::ParsedURL::scheme):
6401 (WTF::ParsedURL::username):
6402 (WTF::ParsedURL::password):
6403 (WTF::ParsedURL::host):
6404 (WTF::ParsedURL::port):
6405 (WTF::ParsedURL::path):
6406 (WTF::ParsedURL::query):
6407 (WTF::ParsedURL::fragment):
6408 (WTF::ParsedURL::baseAsString):
6409 (WTF::ParsedURL::segment):
6410 * wtf/url/api/ParsedURL.h: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.h.
6413 (WTF::ParsedURL::ParsedURL):
6414 (WTF::ParsedURL::isValid):
6415 (WTF::ParsedURL::spec):
6416 * wtf/url/api/URLString.h: Renamed from Source/JavaScriptCore/wtf/url/api/URLString.h.
6419 (WTF::URLString::URLString):
6420 (WTF::URLString::string):
6421 * wtf/url/src/RawURLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/RawURLBuffer.h.
6424 (WTF::RawURLBuffer::RawURLBuffer):
6425 (WTF::RawURLBuffer::~RawURLBuffer):
6426 (WTF::RawURLBuffer::resize):
6427 * wtf/url/src/URLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLBuffer.h.
6430 (WTF::URLBuffer::URLBuffer):
6431 (WTF::URLBuffer::~URLBuffer):
6432 (WTF::URLBuffer::at):
6433 (WTF::URLBuffer::set):
6434 (WTF::URLBuffer::capacity):
6435 (WTF::URLBuffer::length):
6436 (WTF::URLBuffer::data):
6437 (WTF::URLBuffer::setLength):
6438 (WTF::URLBuffer::append):
6439 (WTF::URLBuffer::grow):
6440 * wtf/url/src/URLCharacterTypes.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.cpp.
6442 * wtf/url/src/URLCharacterTypes.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.h.
6444 (URLCharacterTypes):
6445 (WTF::URLCharacterTypes::isQueryChar):
6446 (WTF::URLCharacterTypes::isIPv4Char):
6447 (WTF::URLCharacterTypes::isHexChar):
6448 (WTF::URLCharacterTypes::isCharOfType):
6449 * wtf/url/src/URLComponent.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLComponent.h.
6452 (WTF::URLComponent::URLComponent):
6453 (WTF::URLComponent::fromRange):
6454 (WTF::URLComponent::isValid):
6455 (WTF::URLComponent::isNonEmpty):
6456 (WTF::URLComponent::isEmptyOrInvalid):
6457 (WTF::URLComponent::reset):
6458 (WTF::URLComponent::operator==):
6459 (WTF::URLComponent::begin):
6460 (WTF::URLComponent::setBegin):
6461 (WTF::URLComponent::length):
6462 (WTF::URLComponent::setLength):
6463 (WTF::URLComponent::end):
6464 * wtf/url/src/URLEscape.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.cpp.
6466 * wtf/url/src/URLEscape.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.h.
6468 (WTF::appendURLEscapedCharacter):
6469 * wtf/url/src/URLParser.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLParser.h.
6472 (WTF::URLParser::isPossibleAuthorityTerminator):
6473 (WTF::URLParser::parseAuthority):
6474 (WTF::URLParser::extractScheme):
6475 (WTF::URLParser::parseAfterScheme):
6476 (WTF::URLParser::parseStandardURL):
6477 (WTF::URLParser::parsePath):
6478 (WTF::URLParser::parsePathURL):
6479 (WTF::URLParser::parseMailtoURL):
6480 (WTF::URLParser::parsePort):
6481 (WTF::URLParser::extractFileName):
6482 (WTF::URLParser::extractQueryKeyValue):
6483 (WTF::URLParser::isURLSlash):
6484 (WTF::URLParser::shouldTrimFromURL):
6485 (WTF::URLParser::trimURL):
6486 (WTF::URLParser::consecutiveSlashes):
6487 (WTF::URLParser::isPortDigit):
6488 (WTF::URLParser::nextAuthorityTerminator):
6489 (WTF::URLParser::parseUserInfo):
6490 (WTF::URLParser::parseServerInfo):
6491 * wtf/url/src/URLQueryCanonicalizer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLQueryCanonicalizer.h.
6493 (URLQueryCanonicalizer):
6494 (WTF::URLQueryCanonicalizer::canonicalize):
6495 (WTF::URLQueryCanonicalizer::isAllASCII):
6496 (WTF::URLQueryCanonicalizer::isRaw8Bit):
6497 (WTF::URLQueryCanonicalizer::appendRaw8BitQueryString):
6498 (WTF::URLQueryCanonicalizer::convertToQueryEncoding):
6499 * wtf/url/src/URLSegments.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.cpp.
6501 (WTF::URLSegments::length):
6502 (WTF::URLSegments::charactersBefore):
6503 * wtf/url/src/URLSegments.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.h.
6506 (WTF::URLSegments::URLSegments):
6507 * wtf/win/MainThreadWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/MainThreadWin.cpp.
6509 (WTF::ThreadingWindowWndProc):
6510 (WTF::initializeMainThreadPlatform):
6511 (WTF::scheduleDispatchFunctionsOnMainThread):
6512 * wtf/win/OwnPtrWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/OwnPtrWin.cpp.
6514 (WTF::deleteOwnedPtr):
6515 * wtf/wince/FastMallocWinCE.h: Renamed from Source/JavaScriptCore/wtf/wince/FastMallocWinCE.h.
6519 (operator delete[]):
6523 (WTF::Internal::fastMallocMatchValidationType):
6524 (WTF::Internal::fastMallocMatchValidationValue):
6525 (WTF::Internal::setFastMallocMatchValidationType):
6526 (WTF::fastMallocMatchValidateMalloc):
6527 (WTF::fastMallocMatchValidateFree):
6528 * wtf/wince/MemoryManager.cpp: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.cpp.
6530 (WTF::memoryManager):
6531 (WTF::MemoryManager::MemoryManager):
6532 (WTF::MemoryManager::~MemoryManager):
6533 (WTF::MemoryManager::createCompatibleBitmap):
6534 (WTF::MemoryManager::createDIBSection):
6535 (WTF::MemoryManager::m_malloc):
6536 (WTF::MemoryManager::m_calloc):
6537 (WTF::MemoryManager::m_realloc):
6538 (WTF::MemoryManager::m_free):
6539 (WTF::MemoryManager::resizeMemory):
6540 (WTF::MemoryManager::allocate64kBlock):
6541 (WTF::MemoryManager::free64kBlock):
6542 (WTF::MemoryManager::onIdle):
6543 (WTF::MemoryManager::virtualAlloc):
6544 (WTF::MemoryManager::virtualFree):
6549 (WTF::fastMallocForbid):
6550 (WTF::fastMallocAllow):
6551 (WTF::fastZeroedMalloc):
6552 (WTF::tryFastMalloc):
6553 (WTF::tryFastZeroedMalloc):
6554 (WTF::tryFastCalloc):
6555 (WTF::tryFastRealloc):
6557 * wtf/wince/MemoryManager.h: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.h.
6560 (WTF::MemoryManager::allocationCanFail):
6561 (WTF::MemoryManager::setAllocationCanFail):
6562 (MemoryAllocationCanFail):
6563 (WTF::MemoryAllocationCanFail::MemoryAllocationCanFail):
6564 (WTF::MemoryAllocationCanFail::~MemoryAllocationCanFail):
6565 (MemoryAllocationCannotFail):
6566 (WTF::MemoryAllocationCannotFail::MemoryAllocationCannotFail):
6567 (WTF::MemoryAllocationCannotFail::~MemoryAllocationCannotFail):
6568 * wtf/wx/MainThreadWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/MainThreadWx.cpp.
6570 (wxCallAfter::wxCallAfter):
6571 (wxCallAfter::OnCallback):
6573 (WTF::initializeMainThreadPlatform):
6574 (WTF::scheduleDispatchFunctionsOnMainThread):
6575 * wtf/wx/StringWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/StringWx.cpp.
6577 (WTF::String::String):
6578 (WTF::String::operator wxString):
6580 2012-03-22 Hyowon Kim <hw1008.kim@samsung.com>
6582 [EFL] Add PageClientEfl to WebCoreSupport.
6583 https://bugs.webkit.org/show_bug.cgi?id=80748
6585 Reviewed by Noam Rosenthal.
6587 * wtf/Platform.h: Disable accelerated compositing. It's not ready yet.
6589 2012-03-21 Beth Dakin <bdakin@apple.com>
6591 https://bugs.webkit.org/show_bug.cgi?id=80322
6594 Reviewed by Dean Jackson.
6596 For the time being, image-set is opt-in since the implementation is
6599 Add an ENABLE flag for image-set.
6602 2012-03-21 Jessie Berlin <jberlin@apple.com>
6604 Fix the Windows build after r111504.
6606 * WTF.vcproj/WTF.vcproj:
6607 Platform.h was moved to Source/WTF.
6608 * WTF.vcproj/copy-files.cmd:
6609 Copy Platform.h from its new source location. This separate copy will not be necessary once
6610 the full move is done and all the headers are being copied at once from the new locations.
6612 2012-03-21 Jessie Berlin <jberlin@apple.com>
6614 WTF headers should be in $(ConfigurationBuildDir)\include\private\wtf, not
6615 $(ConfigurationBuildDir)\include\private\JavaScriptCore\wtf.
6616 https://bugs.webkit.org/show_bug.cgi?id=81739
6618 Reviewed by Dan Bernstein.
6620 * WTF.vcproj/copy-files.cmd:
6621 Copy the headers to private/include/wtf instead of private/include/JavaScriptCore/wtf.
6623 2012-03-20 Eric Seidel <eric@webkit.org>
6625 Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
6626 https://bugs.webkit.org/show_bug.cgi?id=80911
6628 Reviewed by Adam Barth.
6630 Update build systems to account for the new location of Platform.h
6632 * GNUmakefile.list.am:
6635 * WTF.vcproj/WTF.vcproj:
6636 * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py:
6637 (react_to_vsprops_changes):
6638 * WTF.xcodeproj/project.pbxproj:
6639 * config.h: I don't think this change is 100% correct (but seemed to be needed to make qt-wk2 build)
6640 - This dependency on JSC should be removed regardless (in a later patch).
6641 * wtf/Platform.h: Renamed from Source/JavaScriptCore/wtf/Platform.h.
6643 2012-03-20 Steve Falkenburg <sfalken@apple.com>
6645 Move WTF-related Windows project files out of JavaScriptCore
6646 https://bugs.webkit.org/show_bug.cgi?id=80680
6648 This change only moves the vcproj and related files from JavaScriptCore/JavaScriptCore.vcproj/WTF.
6649 It does not move any source code. This is in preparation for the WTF source move out of
6652 Reviewed by Jessie Berlin.
6654 * WTF.vcproj: Added.
6655 * WTF.vcproj/WTF.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj.
6656 * WTF.vcproj/WTFCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFCommon.vsprops.
6657 * WTF.vcproj/WTFDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebug.vsprops.
6658 * WTF.vcproj/WTFDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugAll.vsprops.
6659 * WTF.vcproj/WTFDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugCairoCFLite.vsprops.
6660 * WTF.vcproj/WTFGenerated.make: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.make.
6661 * WTF.vcproj/WTFGenerated.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.vcproj.
6662 * WTF.vcproj/WTFGeneratedCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedCommon.vsprops.
6663 * WTF.vcproj/WTFGeneratedDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebug.vsprops.
6664 * WTF.vcproj/WTFGeneratedDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugAll.vsprops.
6665 * WTF.vcproj/WTFGeneratedDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugCairoCFLite.vsprops.
6666 * WTF.vcproj/WTFGeneratedProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedProduction.vsprops.
6667 * WTF.vcproj/WTFGeneratedRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedRelease.vsprops.
6668 * WTF.vcproj/WTFGeneratedReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedReleaseCairoCFLite.vsprops.
6669 * WTF.vcproj/WTFPostBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd.
6670 * WTF.vcproj/WTFPreBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd.
6671 * WTF.vcproj/WTFProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFProduction.vsprops.
6672 * WTF.vcproj/WTFRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFRelease.vsprops.
6673 * WTF.vcproj/WTFReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops.
6674 * WTF.vcproj/build-generated-files.sh: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/build-generated-files.sh.
6675 * WTF.vcproj/copy-files.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/copy-files.cmd.
6676 * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/work-around-vs-dependency-tracking-bugs.py.
6678 2012-03-20 Peter Beverloo <peter@chromium.org>
6680 [Chromium] Fix the Android build by building NEWWTF for host
6681 https://bugs.webkit.org/show_bug.cgi?id=81643
6683 Reviewed by Tony Gentilcore.
6685 Chromium for Android builds the ImageDiff target for the host architecture,
6686 so all dependencies it has need to be able to build for host as well.
6687 r111258 added (new)WTF as a dependency instead of just including the
6688 header files, so make it possible to build the newwtf target for host.
6692 2012-03-19 Dan Bernstein <mitz@apple.com>
6694 Set the svn:ignore property on the Xcode project.
6696 * WTF.xcodeproj: Added property svn:ignore.
6698 2012-03-16 Mark Rowe <mrowe@apple.com>
6700 Build fix. Do not preserve owner and group information when installing the WTF headers.
6702 * WTF.xcodeproj/project.pbxproj:
6704 2012-03-07 Mark Rowe <mrowe@apple.com>
6706 Teach make to build WTF.
6710 2012-02-11 Filip Pizlo <fpizlo@apple.com>
6712 It should be possible to send all JSC debug logging to a file
6713 https://bugs.webkit.org/show_bug.cgi?id=78418
6715 Reviewed by Sam Weinig.
6717 Introduced wtf/DataLog, which defines WTF::dataFile, WTF::dataLog,
6718 and WTF::dataLogV. Changed all debugging- and profiling-related printfs
6719 to use WTF::dataLog() or one of its friends. By default, debug logging
6720 goes to stderr, unless you change the setting in wtf/DataLog.cpp.
6724 2012-02-03 Simon Hausmann <simon.hausmann@nokia.com>
6726 [Qt] Fix build when cross-compiling
6727 https://bugs.webkit.org/show_bug.cgi?id=77634
6729 Reviewed by Tor Arne Vestbø.
6731 * WTF.pri: Don't use icu-config for determining the library search
6732 path and libraries needed for ICU. Either we use icu-config for includes
6733 _and_ libraries or we don't. Right now we assume that icu is a system library
6734 and expect the headers in the default include search pathes (/usr/include for example).
6735 However we use icu-config to figure out where the libraries are, which breaks when
6736 cross-compiling, because icu-config isn't cross-compile friendly (I wish icu was using
6737 pkg-config). I think for the time being we should require ICU as a _system_ library,
6738 which implies the header and library availability in default search paths. This also
6739 makes the build succeed when cross-compiling with --sysroot.
6741 2012-01-27 Zeno Albisser <zeno@webkit.org>
6743 [Qt][Mac] Build fails after adding ICU support (r105997).
6744 https://bugs.webkit.org/show_bug.cgi?id=77118
6746 Link to libicucore if platform Mac.
6748 Reviewed by Tor Arne Vestbø.
6752 2012-01-26 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
6754 [Qt] Use ICU if available
6755 https://bugs.webkit.org/show_bug.cgi?id=76821
6757 Reviewed by Simon Hausmann.
6759 Adding libicu dependencies for a Qt5 based build.
6763 2012-01-26 Csaba Osztrogonác <ossy@webkit.org>
6765 [Qt][Win] One more speculative buildfix after r105970.
6769 2012-01-26 Nikolas Zimmermann <nzimmermann@rim.com>
6771 Not reviewed. Try to fix Qt/Win build by building OwnPtrWin.cpp into the WTF library.
6775 2012-01-19 Joi Sigurdsson <joi@chromium.org>
6777 Enable use of precompiled headers in Chromium port on Windows.
6779 Bug 76381 - Use precompiled headers in Chromium port on Windows
6780 https://bugs.webkit.org/show_bug.cgi?id=76381
6782 Reviewed by Tony Chang.
6784 * WTF.gyp/WTF.gyp: Include WinPrecompile.gypi.
6786 2012-01-18 Roland Takacs <takacs.roland@stud.u-szeged.hu>
6788 Cross-platform processor core counter
6789 https://bugs.webkit.org/show_bug.cgi?id=76530
6791 Reviewed by Zoltan Herczeg.
6793 Two files have been added to the project, namely NumberOfCores.h/cpp,
6794 that include a CPU core number determining function.
6798 2012-01-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
6800 Uint8ClampedArray support
6801 https://bugs.webkit.org/show_bug.cgi?id=74455
6803 Reviewed by Filip Pizlo.
6807 2012-01-13 Alexis Menard <alexis.menard@openbossa.org>
6809 Unreviewed build fix for Qt SnowLeopard build bot.
6811 This is a workaround for the moment.
6815 2012-01-12 Simon Hausmann <simon.hausmann@nokia.com>
6817 Make the new WTF module build on Qt
6818 https://bugs.webkit.org/show_bug.cgi?id=76163
6820 Reviewed by Tor Arne Vestbø.
6822 With this change the WTF sources are built _here_ but _from_ their old location using a VPATH.
6824 * WTF.pri: Renamed from Source/JavaScriptCore/wtf/wtf.pri.
6825 * WTF.pro: Renamed from Source/JavaScriptCore/wtf/wtf.pro.
6826 * config.h: Bring this file in sync with JavaScriptCore/config.h with regards to the inclusion
6827 / definition of the export macros.
6829 2012-01-06 Benjamin Poulain <bpoulain@apple.com>
6831 [Mac] Sort the resources of WTF.xcodeproj
6832 https://bugs.webkit.org/show_bug.cgi?id=75639
6834 Reviewed by Andreas Kling.
6836 * WTF.xcodeproj/project.pbxproj:
6838 2012-01-06 Eric Seidel <eric@webkit.org> and Gustavo Noronha Silva <gustavo.noronha@collabora.com>
6840 Make the new WTF module build on Gtk
6841 https://bugs.webkit.org/show_bug.cgi?id=75669
6843 * GNUmakefile.am: Added.
6844 * GNUmakefile.list.am: Added.
6846 2011-11-19 Adam Barth <abarth@webkit.org>
6848 Integrate Source/WTF with the Chromium build system
6849 https://bugs.webkit.org/show_bug.cgi?id=72790
6851 Reviewed by Eric Seidel.
6853 Rename the target in this file to "newwtf" to avoid naming conflicts.
6857 2011-11-19 Mark Rowe <mrowe@apple.com>
6859 WTF should have an Xcode project
6860 https://bugs.webkit.org/show_bug.cgi?id=71752
6862 Reviewed by Adam Barth.
6864 This adds an Xcode project that includes only Stub.cpp and Stub.h.
6865 They’re built in to a library at the appropriate path for each
6866 configuration (WebKitBuild/{Debug,Release}/libWTF.a and
6867 /usr/local/lib/libWTF.a) and headers are installed in to the
6868 appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf
6869 and /usr/local/include/wtf). I tested building WTF in this project and
6870 everything appears to build except for DateMath.cpp (due to bug 71747).
6871 I have not yet done any work on making JavaScriptCore and other
6872 projects use the built products of this new project.
6874 * Configurations: Added.
6875 * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig.
6876 * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig.
6877 * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig.
6878 * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig.
6879 * WTF.xcodeproj: Added.
6880 * WTF.xcodeproj/project.pbxproj: Added.
6881 * config.h: Copied from Source/JavaScriptCore/config.h.
6883 * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE.
6884 * icu/README: Copied from Source/JavaScriptCore/icu/README.
6885 * icu/unicode: Added.
6886 * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h.
6887 * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h.
6888 * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h.
6889 * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h.
6890 * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h.
6891 * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h.
6892 * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h.
6893 * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h.
6894 * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h.
6895 * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h.
6896 * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h.
6897 * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h.
6898 * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h.
6899 * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h.
6900 * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h.
6901 * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h.
6902 * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h.
6903 * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h.
6904 * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h.
6905 * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h.
6906 * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h.
6907 * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h.
6908 * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h.
6910 2011-11-03 Adam Barth <abarth@webkit.org>
6912 Add Stub.h and Stub.cpp to Source-level WTF project
6913 https://bugs.webkit.org/show_bug.cgi?id=71497
6915 Reviewed by Eric Seidel.
6917 This patch adds some stub files and a skelton GYP build file as a
6918 starting point for the new Source-level WTF project. Other build
6919 systems and actual code will arrive in future patches.
6923 * WTF.gyp/WTF.gyp: Added.
6926 2011-11-02 Adam Barth <abarth@webkit.org>
6928 Add stubs for WTF and Platform
6929 https://bugs.webkit.org/show_bug.cgi?id=71492
6931 Reviewed by Eric Seidel.
6933 This patch creates the WTF directory, which begins the process of
6934 moving WTF out of JavaScriptCore.