1 2012-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3 HashTable.h has using directives for std::pair and std::make_pair
4 https://bugs.webkit.org/show_bug.cgi?id=29919
6 Reviewed by Darin Adler.
9 (WTF): Remove the directives.
11 2012-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
13 HashTable.h has using directives for std::pair and std::make_pair
14 https://bugs.webkit.org/show_bug.cgi?id=29919
16 Reviewed by Darin Adler.
18 Change code to use std::pair and std::make_pair. Later patch will remove the
26 (WTF::PairHashTraits::emptyValue):
28 2012-05-30 Patrick Gansterer <paroga@webkit.org>
30 Build fix for WinCE after r118603.
33 (WTF::weakCompareAndSwap):
35 2012-05-29 Anders Carlsson <andersca@apple.com>
37 String should be move enabled/optimized
38 https://bugs.webkit.org/show_bug.cgi?id=87596
40 Reviewed by Andreas Kling.
42 Add move constructors and move assignment operators to String and AtomicString when building with
43 compilers that support rvalue references. This gets rid of ref-churn when the source of the
44 constructor or assignment is a temporary object.
46 * wtf/text/AtomicString.h:
48 (WTF::AtomicString::AtomicString):
49 (WTF::AtomicString::operator=):
50 * wtf/text/WTFString.h:
52 (WTF::String::String):
53 (WTF::String::operator=):
55 2012-05-29 Alexandre Elias <aelias@google.com>
57 Support WebKit log messages on Android
58 https://bugs.webkit.org/show_bug.cgi?id=87773
60 Reviewed by Darin Adler.
62 This sends WebKit log messages to the Android "logcat" facility, as
63 Android sends stderr to /dev/null.
67 2012-05-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
69 [Qt] Remove duplication of logic for disabling selected warnings related to C++11
71 This is already handled in unix/default_post.prf
73 Reviewed by Simon Hausmann.
77 2012-05-27 Darin Adler <darin@apple.com>
79 Fix an incorrect assertion in Vector::remove
80 https://bugs.webkit.org/show_bug.cgi?id=87612
82 Reviewed by Dan Bernstein.
84 * wtf/Vector.h: There's no good reason to disallow calling remove
85 with a size of 0, even when the position is at the end of the vector,
86 so changed the two-argument Vector::remove assertion to assert that
87 the position is <= size rather than < size.
89 2012-05-27 Yoshifumi Inoue <yosin@chromium.org>
91 [WTF] Introduce UINT64_C to MathExtras.h
92 https://bugs.webkit.org/show_bug.cgi?id=87485
94 Reviewed by Kent Tamura.
98 2012-05-25 Filip Pizlo <fpizlo@apple.com>
100 weakCompareAndSwap should work on Windows
101 https://bugs.webkit.org/show_bug.cgi?id=87549
103 Reviewed by Jessie Berlin.
107 (WTF::weakCompareAndSwap):
109 2012-05-24 Allan Sandfeld Jensen <allan.jensen@nokia.com>
111 cti_vm_throw gets kicked out by gcc 4.6 -flto
112 https://bugs.webkit.org/show_bug.cgi?id=56088
114 Reviewed by Darin Adler.
116 Define REFERENCED_FROM_ASM to __attribute__((used)) on GCC.
120 2012-05-23 Darin Adler <darin@apple.com>
122 Optimize iteration of empty hash tables
123 https://bugs.webkit.org/show_bug.cgi?id=87215
125 Reviewed by Geoffrey Garen.
127 Iteration of empty hash tables was showing up on simple page loading
128 profiles due to the use of hash tables in the
129 NodeListsNodeData::invalidateCaches and
130 NodeListsNodeData::invalidateCachesThatDependOnAttributes functions.
131 It's worth optimizing the case of an empty table.
134 (WTF::HashTable::begin): Return the known-good end iterator when the
135 table is empty. This makes iterating an empty table faster because we
136 avoid skipping empty and deleted buckets.
138 2012-05-22 Geoffrey Garen <ggaren@apple.com>
143 (WTF::computeRAMSize): sysctl expects a uint64_t, so use that and then
144 cast back to size_t. Since it's coneivable that a 32bit process would
145 run on a system with more than 4GB RAM, I added a paranoid check for
148 2012-05-22 Jessie Berlin <jberlin@apple.com>
153 (WTF::computeRAMSize):
154 If you say you are going to return a size_t, actually return a size_t.
156 2012-05-21 Geoffrey Garen <ggaren@apple.com>
158 GC allocation trigger should be tuned to system RAM
159 https://bugs.webkit.org/show_bug.cgi?id=87039
161 Reviewed by Darin Adler.
163 Added a helper function for measuring system RAM.
165 * GNUmakefile.list.am:
168 * WTF.vcproj/WTF.vcproj:
169 * WTF.xcodeproj/project.pbxproj:
170 * wtf/AmountOfRAM.cpp: Added.
172 (WTF::computeAmountOfRAM):
174 * wtf/AmountOfRAM.h: Added.
176 * wtf/CMakeLists.txt:
177 * wtf/StdLibExtras.h:
180 2012-05-22 Allan Sandfeld Jensen <allan.jensen@nokia.com>
182 GCC 4.7 and C++11 support.
183 https://bugs.webkit.org/show_bug.cgi?id=86465
185 Reviewed by Darin Adler.
187 Detect C++11 mode in GCC 4.7 and set appropiate compiler feature flags.
188 Turn C++11 override control into a compiler feature flag.
189 Fix non-clang support of compiler feature CXX_DELETED_FUNCTIONS.
194 2012-05-22 Filip Pizlo <fpizlo@apple.com>
196 REGRESSION(r117861): It made almost all tests crash on Qt
197 https://bugs.webkit.org/show_bug.cgi?id=87082
199 Reviewed by Csaba Osztrogonác.
201 Using OwnArrayPtr is a bad idea if you allocate array with fastCalloc.
203 * wtf/FastBitVector.h:
204 (WTF::FastBitVector::FastBitVector):
205 (WTF::FastBitVector::~FastBitVector):
207 (WTF::FastBitVector::operator=):
208 (WTF::FastBitVector::resize):
209 (WTF::FastBitVector::setAll):
210 (WTF::FastBitVector::clearAll):
211 (WTF::FastBitVector::set):
213 2012-05-21 Filip Pizlo <fpizlo@apple.com>
215 DFG should be able to compute dominators
216 https://bugs.webkit.org/show_bug.cgi?id=85269
218 Reviewed by Oliver Hunt.
220 Merged r115754 from dfgopt.
222 Added a bitvector class suitable for cheap static analysis. This class
223 differs from BitVector in that instead of optimizing for space, it
224 optimizes for execution time. Its API is also somewhat less friendly,
225 which is intentional; it's meant to be used in places where you know
226 up front how bit your bitvectors are going to be.
228 * GNUmakefile.list.am:
229 * WTF.vcproj/WTF.vcproj:
230 * WTF.xcodeproj/project.pbxproj:
231 * wtf/FastBitVector.h: Added.
234 (WTF::FastBitVector::FastBitVector):
235 (WTF::FastBitVector::operator=):
236 (WTF::FastBitVector::numBits):
237 (WTF::FastBitVector::resize):
238 (WTF::FastBitVector::setAll):
239 (WTF::FastBitVector::clearAll):
240 (WTF::FastBitVector::set):
241 (WTF::FastBitVector::setAndCheck):
242 (WTF::FastBitVector::equals):
243 (WTF::FastBitVector::merge):
244 (WTF::FastBitVector::filter):
245 (WTF::FastBitVector::exclude):
246 (WTF::FastBitVector::clear):
247 (WTF::FastBitVector::get):
248 (WTF::FastBitVector::arrayLength):
250 2012-05-15 Gavin Barraclough <barraclough@apple.com>
252 Add support for private names
253 https://bugs.webkit.org/show_bug.cgi?id=86509
255 Reviewed by Oliver Hunt.
257 The spec isn't final, but we can start adding support to allow property maps
258 to contain keys that aren't identifiers.
260 * wtf/text/StringImpl.h:
261 (WTF::StringImpl::StringImpl):
263 (WTF::StringImpl::createEmptyUnique):
264 (WTF::StringImpl::isEmptyUnique):
265 - Allow empty string impls to be allocated, which can be used as unique keys.
267 2012-05-21 Emil A Eklund <eae@chromium.org> and Levi Weintraub <leviw@chromium.org>
269 Enable SUBPIXEL_LAYOUT feature flag on Chromium
270 https://bugs.webkit.org/show_bug.cgi?id=85555
272 Reviewed by Eric Seidel.
274 Enabling sub-pixel layout on Chromium port.
278 2012-05-21 Andreas Kling <kling@webkit.org>
280 CSS: Move duplicate property elimination to parser.
281 <http://webkit.org/b/86948>
283 Reviewed by Antti Koivisto.
285 Add WTF::BitArray, a simple, malloc free, fixed-size bit array class.
287 * GNUmakefile.list.am:
290 * WTF.vcproj/WTF.vcproj:
291 * WTF.xcodeproj/project.pbxproj:
292 * wtf/BitArray.h: Added.
295 (WTF::BitArray::BitArray):
296 (WTF::BitArray::set):
297 (WTF::BitArray::get):
298 * wtf/CMakeLists.txt:
300 2012-05-21 Allan Sandfeld Jensen <allan.jensen@nokia.com>
302 Colliding isinf/isnan between C99 and C++11 with GCC >=4.6
303 https://bugs.webkit.org/show_bug.cgi?id=59249
305 Reviewed by Darin Adler.
307 Workaround the isinf and isnan conflict in GCC C++11.
314 2012-05-21 Andreas Kling <kling@webkit.org>
316 REGRESSION(r117501): IconDatabase asserts on startup in synchronousIconForPageURL().
317 <http://webkit.org/b/86935>
318 <rdar://problem/11480012>
320 Reviewed by Anders Carlsson.
322 Added a swap() to HashCountedSet.
324 * wtf/HashCountedSet.h:
325 (HashCountedSet::swap):
327 2012-05-16 Geoffrey Garen <ggaren@apple.com>
329 This is not a joke: 3.7X speedup from removing a call to sleep
330 https://bugs.webkit.org/show_bug.cgi?id=86702
332 Reviewed by Eric Seidel.
334 The speedup was on a GC benchmark, with a custom VM caching layer
337 Instruments showed most GC threads spending the majority of their
338 time sleeping instead of doing useful work. Removing the call to
339 sleep sped up the benchmark.
342 (TCMalloc_SlowLock): Since a spin lock is only ever held for a short
343 amount of time, don't sleep for a long amount of time waiting for it
344 to unlock -- yielding to the scheduler is sufficient.
346 If we find a case where someone is sitting on a spin lock for over 2ms,
347 we should fix the spin lock holder, not the spin lock.
349 2012-05-16 Simon Fraser <simon.fraser@apple.com>
351 Make things build with DUMP_HASHTABLE_STATS=1
352 https://bugs.webkit.org/show_bug.cgi?id=86571
354 Reviewed by Geoffrey Garen.
356 DUMP_HASHTABLE_STATS bitrotted after the WTF separation. This patch
359 Added WTF_EXPORTDATA to the global data, and WTF_EXPORT_PRIVATE to
360 the static HashTableStats methods. Added a dumpStats() method
361 that is not yet called anywhere; we can no longer rely on destroying
362 a global object to dump the stats because global destructors are
367 (WTF::HashTableStats::recordCollisionAtCount):
368 (WTF::HashTableStats::dumpStats):
372 2012-05-15 Filip Pizlo <fpizlo@apple.com>
374 shrinkToFit() is often not called for Vectors in CodeBlock
375 https://bugs.webkit.org/show_bug.cgi?id=86436
377 Reviewed by Oliver Hunt.
379 Gave SegmentedVector a shrinkToFit() method. This only shrinks the segment
380 lookup table, which is likely to not be hugely profitable, but it is better
383 * wtf/SegmentedVector.h:
385 (WTF::SegmentedVector::shrinkToFit):
387 2012-05-15 Andy Estes <aestes@apple.com>
389 Add WTF_USE_SECURITY_FRAMEWORK and use it in place of the less specific PLATFORM(MAC)
390 https://bugs.webkit.org/show_bug.cgi?id=86508
392 Reviewed by Sam Weinig.
396 2012-05-15 Zoltan Herczeg <zherczeg@webkit.org>
398 NEONizing forceValidPreMultipliedPixels
399 https://bugs.webkit.org/show_bug.cgi?id=86468
401 Reviewed by Nikolas Zimmermann.
403 Allow to disable all intrinsics with a single macro.
407 2012-05-14 Andy Estes <aestes@apple.com>
409 Add WTF_USE_APPKIT to differentiate platforms that use AppKit.framework from other Darwin platforms
410 https://bugs.webkit.org/show_bug.cgi?id=86432
412 Reviewed by Maciej Stachowiak.
416 2012-05-14 Mark Rowe <mrowe@apple.com>
418 <http://webkit.org/b/86320> WTF.xcodeproj builds with -O3 in debug builds
420 Reviewed by Simon Fraser.
422 * WTF.xcodeproj/project.pbxproj: Ensure that the debug configuration uses the
423 same settings as the debug variant would.
425 2012-05-14 Wei James <james.wei@intel.com>
427 [Chromium] ImageDiff should be build for host on Android
428 https://bugs.webkit.org/show_bug.cgi?id=82039
430 Reviewed by Adam Barth.
434 2012-05-14 Yong Li <yoli@rim.com>
436 DFG JIT is not ARM EABI compatible
437 https://bugs.webkit.org/show_bug.cgi?id=84449
439 Reviewed by Filip Pizlo.
441 Add COMPILER_SUPPORTS(EABI) when __ARM_EABI__
442 or __EABI__ is defined.
446 2012-05-10 Michał Pakuła vel Rutka <m.pakula@samsung.com>
448 [EFL] Add OwnPtr specialization for Eina_Hash.
449 https://bugs.webkit.org/show_bug.cgi?id=85046
451 Reviewed by Andreas Kling.
453 Add an override for Eina_Hash for EFL port.
455 * wtf/OwnPtrCommon.h:
457 * wtf/efl/OwnPtrEfl.cpp:
458 (WTF::deleteOwnedPtr):
461 2012-05-09 Filip Pizlo <fpizlo@apple.com>
463 It should be possible to get useful debug logging from the JIT memory allocator
464 https://bugs.webkit.org/show_bug.cgi?id=86042
466 Reviewed by Geoff Garen.
468 * wtf/MetaAllocator.cpp:
469 (WTF::MetaAllocator::findAndRemoveFreeSpace):
470 (WTF::MetaAllocator::addFreeSpace):
471 (WTF::MetaAllocator::dumpProfile):
473 2012-05-08 Sheriff Bot <webkit.review.bot@gmail.com>
475 Unreviewed, rolling out r116440.
476 http://trac.webkit.org/changeset/116440
477 https://bugs.webkit.org/show_bug.cgi?id=85904
479 Broke the Chromium Android bot (Requested by beverloo on
484 2012-05-08 Adam Barth <abarth@webkit.org>
486 [Chromium] OS(ANDROID) ImageDiff requires us to build WTF for both host and target
487 https://bugs.webkit.org/show_bug.cgi?id=85897
489 Reviewed by Tony Chang.
493 2012-05-08 Adam Barth <abarth@webkit.org>
495 [Chromium] Assertions.cpp should work on OS(ANDROID)
496 https://bugs.webkit.org/show_bug.cgi?id=85867
498 Reviewed by Eric Seidel.
500 Some minor ifdefs for OS(ANDROID) on PLATFORM(CHROMIUM).
502 * wtf/Assertions.cpp:
504 2012-05-07 Adam Barth <abarth@webkit.org>
506 [Chromium] Android wishes to use an empty implementation if AXObjectCache
507 https://bugs.webkit.org/show_bug.cgi?id=85842
509 Reviewed by Eric Seidel.
511 Disable accessibility on OS(ANDROID) for PLATFORM(CHROMIUM).
515 2012-05-04 Jeff Rogers <jrogers@rim.com>
517 [BlackBerry] Implement numberOfProcessorCores() for QNX
518 https://bugs.webkit.org/show_bug.cgi?id=85638
520 Reviewed by Antonio Gomes.
522 * wtf/NumberOfCores.cpp:
523 (WTF::numberOfProcessorCores):
525 2012-05-03 Yong Li <yoli@rim.com>
527 Mutex failure when HashTable is memory moved in debug build
528 https://bugs.webkit.org/show_bug.cgi?id=84970
530 Reviewed by Rob Buis.
532 1. Replace m_mutex with OwnPtr<m_mutex> so HashTable is still
533 memory movable in debug build.
534 2. Assert successes of pthread_mutex_init() and pthread_mutex_destroy().
539 (WTF::::invalidateIterators):
541 (WTF::removeIterator):
542 * wtf/ThreadingPthreads.cpp:
544 (WTF::Mutex::~Mutex):
546 2012-05-02 Antti Koivisto <antti@apple.com>
548 Add temporary feature define for parsed stylesheet caching
549 https://bugs.webkit.org/show_bug.cgi?id=85413
551 Rubber-stamped by Nikolas Zimmermann.
553 While not an externally visible feature this is still a significant internal change.
554 It is good to have define in case someone has an urgent need to turn it off.
556 Caching is enabled by default on all platforms. The define should be removed after some bake time.
560 2012-05-02 Lauro Neto <lauro.neto@openbossa.org>
562 [Qt]r57240 broke Qt build (gcc bug)
563 https://bugs.webkit.org/show_bug.cgi?id=37253
565 Reviewed by Csaba Osztrogonác.
567 Add back the inline hack just for ARM due to old version of
568 gcc still being used on Harmattan SDK. Thanks to Ossy for the
573 2012-05-02 Nico Weber <thakis@chromium.org>
575 Let WebKit parse with clang on windows with -std=c++11
576 https://bugs.webkit.org/show_bug.cgi?id=85398
578 Reviewed by Ryosuke Niwa.
580 See http://trac.webkit.org/changeset/85945 for background on the line
581 I'm changing. With clang, __GXX_EXPERIMENTLAL_CXX0X__ is set in c++11
582 mode, but MSVC's c++ library doesn't have a tr1/memory header. So also
583 check for __GLIBCXX__, like it's done in the rest of this file.
587 2012-05-02 Adenilson Cavalcanti <cavalcantii@gmail.com>
589 [Qt]r57240 broke Qt build (gcc bug)
590 https://bugs.webkit.org/show_bug.cgi?id=37253
592 Reviewed by Noam Rosenthal.
594 Removing workaround macro since current gcc/Qt doesn't require it to compile.
599 2012-04-30 Oliver Hunt <oliver@apple.com>
601 Investigate overflows in Canvas putImageData routine
602 https://bugs.webkit.org/show_bug.cgi?id=61373
604 Reviewed by Gavin Barraclough.
606 Allow floating point multiplies of checked types (complete with
609 * wtf/CheckedArithmetic.h:
611 (WTF::Checked::operator*=):
613 2012-04-30 Benjamin Poulain <benjamin@webkit.org>
615 Add String::startsWith() and endsWith() for string literals
616 https://bugs.webkit.org/show_bug.cgi?id=85154
618 Reviewed by Darin Adler.
620 When invoking StringImpl::startsWidth() or StringImpl::endsWith() with
621 a string literal, a new String was constructed implicitly, allocating
622 a new StringImpl and copying the characters for the operation.
624 This patch adds a version of those methods for single characters and
626 This allows us to avoid allocating memory and use the characters in place,
627 and it permits some extra shortcuts in the implementation.
629 * wtf/text/AtomicString.h:
630 (WTF::AtomicString::startsWith):
632 (WTF::AtomicString::endsWith):
633 * wtf/text/StringImpl.cpp:
636 (WTF::StringImpl::startsWith):
637 (WTF::StringImpl::endsWith):
638 * wtf/text/StringImpl.h:
639 (WTF::StringImpl::startsWith):
641 (WTF::StringImpl::endsWith):
642 * wtf/text/WTFString.h:
643 (WTF::String::startsWith):
645 (WTF::String::endsWith):
647 2012-04-30 Anders Carlsson <andersca@apple.com>
649 WTF::bind should work with blocks
650 https://bugs.webkit.org/show_bug.cgi?id=85227
652 Reviewed by Sam Weinig.
654 Add a block type FunctionWrapper specialization.
658 2012-04-28 Emil A Eklund <eae@chromium.org>
660 Add ENABLE_SUBPIXEL_LAYOUT controlling FractionalLayoutUnit denominator
661 https://bugs.webkit.org/show_bug.cgi?id=85146
663 Reviewed by Eric Seidel.
665 Add a new flag for controlling the fixed point denominator in
666 FractionalLayoutUnit. Controls whether the denominator is set to 60 or 1.
667 Until we change the LayoutUnit typedef this change will have no effect.
671 2012-04-29 Kent Tamura <tkent@chromium.org>
673 [Mac] Add LocalizedDateMac
674 https://bugs.webkit.org/show_bug.cgi?id=85039
676 Reviewed by Kentaro Hara.
679 (WTF): Add monthFullName[]. It is useful to make fallback month
680 names for calendar/date related features.
682 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
684 [SOUP] Add a way to register custom uri schemes in WebKit2
685 https://bugs.webkit.org/show_bug.cgi?id=84130
687 Reviewed by Martin Robinson.
689 Add GPtrArray template to be able to use GRefPtr with GPtrArrays.
691 * wtf/gobject/GRefPtr.cpp:
695 * wtf/gobject/GRefPtr.h:
697 * wtf/gobject/GTypedefs.h:
699 2012-04-26 Nico Weber <thakis@chromium.org>
701 Don't define WTF_COMPILER_SUPPORTS_CXX_NULLPTR twice when building with clang on windows.
702 https://bugs.webkit.org/show_bug.cgi?id=85018
704 Reviewed by Anders Carlsson.
706 Clang sets _MSC_VER when compiling for a -pc-win32 target (just like it sets __GNUC__ on unix).
707 As a result, WTF_COMPILER_SUPPORTS_CXX_NULLPTR gets currently set twice, once for clang and
708 once for _MSC_VER. Guard the second instance with !COMPILER(CLANG). This matches the gcc code
709 for WTF_COMPILER_SUPPORTS_CXX_NULLPTR in the same file.
713 2012-04-26 Antonio Gomes <agomes@rim.com>
715 [BlackBerry] properly disable DRAG_SUPPORT
716 https://bugs.webkit.org/show_bug.cgi?id=84952
718 Reviewed by Daniel Bates.
720 * wtf/Platform.h: Remove the line that disables drag support from here
721 for the BlackBerry port.
723 2012-04-25 Benjamin Poulain <benjamin@webkit.org>
725 Add a version of StringImpl::find() without offset
726 https://bugs.webkit.org/show_bug.cgi?id=83968
728 Reviewed by Sam Weinig.
730 This patch add a version of StringImpl::find() without offset, Instead of using the default
733 By not having the index, we can skip a couple of branches and a few instructions. This gives
734 significant gains when the strings are short-ish.
736 The case of empty string is moved below (matchLength == 1) since it is a less common operation.
738 * wtf/text/StringImpl.cpp:
739 (WTF::StringImpl::find):
741 * wtf/text/StringImpl.h:
743 * wtf/text/WTFString.h:
747 2012-04-25 Darin Adler <darin@apple.com>
749 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
750 https://bugs.webkit.org/show_bug.cgi?id=84524
752 Reviewed by Antti Koivisto.
754 * wtf/HashMap.h: Added a struct template, HashMapValueTraits, that derives from
755 PairHashTraits, adds an isEmptyValue function that looks only at the key, not
756 the mapped value, in the hash table value, and uses the isHashTraitsEmptyValue
757 function template to check if the key is empty.
759 2012-04-25 Landry Breuil <landry@openbsd.org>
761 Include <sys/param.h>, needed for sysctl() on OpenBSD/NetBSD
762 https://bugs.webkit.org/show_bug.cgi?id=82585
764 Reviewed by Zoltan Herczeg.
766 * wtf/NumberOfCores.cpp: include <sys/param.h> on the BSDs
768 2012-04-25 Kenneth Russell <kbr@google.com>
770 Delete CanvasPixelArray, ByteArray, JSByteArray and JSC code once unreferenced
771 https://bugs.webkit.org/show_bug.cgi?id=83655
773 Reviewed by Oliver Hunt.
775 * GNUmakefile.list.am:
778 * WTF.vcproj/WTF.vcproj:
779 * WTF.xcodeproj/project.pbxproj:
780 * wtf/ByteArray.cpp: Removed.
781 * wtf/ByteArray.h: Removed.
782 * wtf/CMakeLists.txt:
784 2012-04-25 Philippe Normand <pnormand@igalia.com>
786 Webkit build fails due to missing gstreamer include file on Kubuntu 8.04
787 https://bugs.webkit.org/show_bug.cgi?id=81913
789 Reviewed by Tor Arne Vestbø.
791 * WTF.pri: GStreamer build support implies GLib support, as it's
794 2012-04-24 Benjamin Poulain <bpoulain@apple.com>
796 Generalize the single character optimization of r114072
797 https://bugs.webkit.org/show_bug.cgi?id=83961
799 Reviewed by Eric Seidel.
801 This patch makes some improvment over String::find() in the case of lookup for a single
804 The two function find(UChar|LChar) are replaced by a template.
806 The case of searching a UChar in a 8bit string has a shortcut if the UChar cannot
807 possibly match any character in the range of the type LChar.
809 The slow case StringImpl::find(StringImpl*) is modified to
810 -Do not allocate in the fast case if only one string is 8bit.
811 -Use the shortcut for searching UChar in LChar.
813 This speed up the function by about 7% when avoiding string conversion.
815 * wtf/text/StringImpl.cpp:
816 (WTF::StringImpl::find):
817 * wtf/text/StringImpl.h:
821 (WTF::StringImpl::find):
823 2012-04-24 Darin Adler <darin@apple.com>
825 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
826 https://bugs.webkit.org/show_bug.cgi?id=84524
828 Reviewed by Antti Koivisto.
830 Added a new algorithm for checking for empty buckets that can be specialized.
831 Specialized it for String. We may later want to do the same thing for KURL.
832 It's not important to do it for AtomicString, since AtomicString's == function
833 is already a simple pointer equality compare. We may also later want to do
834 something similar for pairs that have String objects in them.
837 (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
838 will do something more efficient for String.
840 * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
841 of false. This allows us to continue to get automatic comparison with the appropriate
842 emptyValue result for all existing traits, but supply a custom isEmptyValue function
843 for HashTraits<String>. Putting an isEmptyValue function into the traits would require
844 overriding it in every class that has a custom value for emptyValue. Specialized
845 HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
846 isEmptyValue function.
847 (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
848 struct to use either == combined with the emptyValue function or the isEmptyValue function.
850 * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
851 the bottom of the file.
852 (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
853 included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
855 2012-04-23 Kenneth Russell <kbr@google.com>
857 Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
858 https://bugs.webkit.org/show_bug.cgi?id=73011
860 Reviewed by Oliver Hunt.
864 (WTF::ArrayBuffer::create):
865 (WTF::ArrayBuffer::createUninitialized):
867 (WTF::ArrayBufferContents::tryAllocate):
868 * wtf/TypedArrayBase.h:
869 (WTF::TypedArrayBase::createUninitialized):
871 * wtf/Uint8ClampedArray.h:
873 (WTF::Uint8ClampedArray::createUninitialized):
875 (WTF::Uint8ClampedArray::zeroFill):
877 2012-04-23 George Staikos <staikos@webkit.org>
879 Enable parallel GC for BlackBerry.
880 https://bugs.webkit.org/show_bug.cgi?id=84633
882 Reviewed by Antonio Gomes.
886 2012-04-23 Sheriff Bot <webkit.review.bot@gmail.com>
888 Unreviewed, rolling out r114914.
889 http://trac.webkit.org/changeset/114914
890 https://bugs.webkit.org/show_bug.cgi?id=84615
892 Causing infinite hangs on some tests involving HashMaps with
893 integer keys (Requested by dimich on #webkit).
896 (WTF::HashTable::isEmptyBucket):
898 * wtf/text/StringHash.h:
900 2012-04-23 Darin Adler <darin@apple.com>
902 Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
903 https://bugs.webkit.org/show_bug.cgi?id=84524
905 Reviewed by Antti Koivisto.
907 Added a new algorithm for checking for empty buckets that can be specialized.
908 Specialized it for String. We may later want to do the same thing for KURL.
909 It's not important to do it for AtomicString, since AtomicString's == function
910 is already a simple pointer equality compare.
913 (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
914 will do something more efficient for String.
916 * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
917 of false. This allows us to continue to get automatic comparison with the appropriate
918 emptyValue result for all existing traits, but supply a custom isEmptyValue function
919 for HashTraits<String>. Putting an isEmptyValue function into the traits would require
920 overriding it in every class that has a custom value for emptyValue. Specialized
921 HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
922 isEmptyValue function.
923 (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
924 struct to use either == combined with the emptyValue function or the isEmptyValue function.
925 (PairHashTraits): Define hasIsEmptyValueFunction and isEmptyValue.
927 * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
928 the bottom of the file.
929 (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
930 included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
932 2012-04-18 Myles Maxfield <mmaxfield@google.com>
934 Somehow, there's an errant backslash in my last WTF patch
935 https://bugs.webkit.org/show_bug.cgi?id=84290
937 Reviewed by Andreas Kling.
939 * wtf/StdLibExtras.h:
940 (WTF::roundUpToMultipleOf):
942 2012-04-16 Nico Weber <thakis@chromium.org>
944 Make NullPtr.h compile with clang -std=c++11 and libstdc++4.2
945 https://bugs.webkit.org/show_bug.cgi?id=83999
947 Reviewed by Sam Weinig.
949 Before this patch, NullPtr.h assumed that a working |nullptr| implied
950 a working |std::nullptr_t| as well. With clang and libstdc++4.2, this
953 I tested (-stdlib=libc++, -stdlib=libstdc++) x (-std=c++11, -std=c++03)
959 2012-04-14 Sam Weinig <sam@webkit.org>
961 Harden WTF::ByteArray::create()
962 https://bugs.webkit.org/show_bug.cgi?id=83318
964 Reviewed by Maciej Stachowiak.
967 (WTF::ByteArray::create):
968 Add overflow check. I don't believe there is anyway to trigger this currently,
969 hence no tests, so this should be considered hardening.
971 2012-04-12 Benjamin Poulain <bpoulain@apple.com>
973 Inline StringImpl::find(UChar, ...)
974 https://bugs.webkit.org/show_bug.cgi?id=83737
976 Reviewed by Geoffrey Garen.
978 The implementation of StringImpl::find() is a simple branch before invoking one of
979 two inline functions. The overhead of having a function for StringImpl::find() is significant.
981 It is better to let the compiler decide if that should be inlined or not.
983 * wtf/text/StringImpl.cpp:
984 * wtf/text/StringImpl.h:
989 (WTF::StringImpl::find):
990 * wtf/text/WTFString.h:
992 2012-04-12 Balazs Kelemen <kbalazs@webkit.org>
994 [Qt] Fix WebKit1 build with V8
995 https://bugs.webkit.org/show_bug.cgi?id=83322
997 Reviewed by Adam Barth.
999 * wtf/StdLibExtras.h:
1002 2012-04-12 Jer Noble <jer.noble@apple.com>
1004 ThreadingWin: Mutex::unlock() can be "over-unlocked".
1005 https://bugs.webkit.org/show_bug.cgi?id=83725
1007 Reviewed by David Levin.
1009 In order to support the behavior of pthread_mutex_trylock(), the Windows Mutex class includes
1010 a recursion counter which is incremented in Mutex::lock(), decremented in Mutex::unlock(),
1011 and checked in Mutex::tryLock(). If the mutex is "over-unlocked", the counter wraps around to
1012 MAX_INT, and subsequent calls to Mutex::trylock() will fail. Raise an ASSERT in this situation
1013 so the "over-unlock" will be caught.
1015 * wtf/ThreadingWin.cpp:
1016 (WTF::Mutex::unlock): ASSERT if unlocking a non-locked mutex.
1018 2012-04-10 Mark Rowe <mrowe@apple.com>
1020 <rdar://problem/10583749> WebKit2 should log to both ASL and stderr
1022 Reviewed by Sam Weinig.
1024 * wtf/Assertions.cpp: Add a WTFLogAlways function that unconditionally logs the given message.
1027 2012-04-10 Patrick Gansterer <paroga@webkit.org>
1029 Cleanup wtf/Platform.h and config.h files
1030 https://bugs.webkit.org/show_bug.cgi?id=83431
1032 Reviewed by Eric Seidel.
1034 The ENABLE() and USE() macros take care about the case when the flag
1035 isn't defined. So there is no need to define anything with 0.
1037 Also move duplicated code from the config.h files to Platform.h and
1038 merge a few preprocessor commands to make the file more readable.
1043 2012-04-10 Filip Pizlo <fpizlo@apple.com>
1045 DFG should flush SetLocals to arguments
1046 https://bugs.webkit.org/show_bug.cgi?id=83554
1048 Reviewed by Gavin Barraclough.
1050 Added an isRoot() method that is a faster shorthand for saying
1054 (WTF::UnionFind::isRoot):
1057 2012-04-10 Adam Klein <adamk@chromium.org>
1059 Remove unused NonNullPassRefPtr from WTF
1060 https://bugs.webkit.org/show_bug.cgi?id=82389
1062 Reviewed by Kentaro Hara.
1064 NonNullPassRefPtr seems to be unused since JSC allocation was
1065 restructured in r84052.
1067 If someone decides they need this later, they can always revert this patch.
1073 2012-04-10 Patrick Gansterer <paroga@webkit.org>
1075 [CMake] Enable USE_FOLDERS property
1076 https://bugs.webkit.org/show_bug.cgi?id=83571
1078 Reviewed by Daniel Bates.
1080 Setting the FOLDER property on targets gives more structure
1081 to the generated Visual Studio solutions.
1082 This does not affect other CMake generators.
1084 * wtf/CMakeLists.txt:
1086 2012-04-09 Patrick Gansterer <paroga@webkit.org>
1088 Port BinarySemaphoreWin.cpp to WinCE
1089 https://bugs.webkit.org/show_bug.cgi?id=83502
1091 Reviewed by Daniel Bates.
1093 Replace WaitForSingleObjectEx with WaitForSingleObject since
1094 the additonal parameter supported by the extended function
1095 is not used anyway and the function does not exist on WinCE.
1097 * wtf/CMakeLists.txt:
1098 * wtf/PlatformWinCE.cmake:
1099 * wtf/threads/win/BinarySemaphoreWin.cpp:
1100 (WTF::BinarySemaphore::wait):
1102 2012-04-09 Patrick Gansterer <paroga@webkit.org>
1104 [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
1106 * wtf/CMakeLists.txt:
1108 2012-04-09 Patrick Gansterer <paroga@webkit.org>
1110 Remove HAVE_STDINT_H
1111 https://bugs.webkit.org/show_bug.cgi?id=83434
1113 Reviewed by Kentaro Hara.
1115 HAVE_STDINT_H is defined with 1 all the time and we us stdint.h without HAVE(STDINT_H) already.
1118 * wtf/FastMalloc.cpp:
1121 * wtf/TCSystemAlloc.cpp:
1123 2012-04-06 Benjamin Poulain <bpoulain@apple.com>
1125 Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION
1126 https://bugs.webkit.org/show_bug.cgi?id=83325
1128 Reviewed by Ryosuke Niwa.
1130 * wtf/Platform.h: Remove the flag.
1132 2012-04-06 Darin Adler <darin@apple.com>
1134 Streamline strtod and fix some related problems
1135 https://bugs.webkit.org/show_bug.cgi?id=82857
1137 Reviewed by Geoffrey Garen.
1139 Replaced the strtod function template with a parseDouble function, eliminating
1140 the following unneeded features:
1142 - need for a trailing null character and a call to strlen
1143 - needless conversion of string lengths from size_t to int and back that created
1144 the possibility of incorrect truncation
1145 - one level of function call; use inlining instead
1146 - construction of the StringToDoubleConverter object; it was used to pass
1147 arguments that are known at compile time
1148 - most of the StringToDoubleConverter::StringToDouble function's body; it was
1149 code we did not need
1150 - parsing of Infinity and NaN at the strtod level; added recently when we moved
1151 from the old strtod to the new one, and not needed or helpful at this level
1152 - multiple copies of code to narrow to single byte strings; in many cases
1153 this was done even when starting with an LChar string that is already
1154 single-byte, now we handle this with an overload of parseDouble
1157 Removed a long comment about the original strtod function that no longer
1158 applies since we deleted that function long ago. Removed a lot of includes.
1159 Removed the strtod function templates and its instantiations, since they
1160 are now replaced by the parseDouble function.
1161 (WTF::Internal::parseDoubleFromLongString): Added.
1163 Added an include of ASCIICType.h so we can use isASCII in a function in this
1164 header. Left the heretofore unneeded include of double-conversion.h, since we
1165 now want to use it in a function in this header. Removed the AllowTrailingJunkTag
1166 and AllowTrailingSpacesTag enumerations and the strtod function template. Added
1167 new parseDouble function, and inline implementation of it.
1169 * wtf/dtoa/double-conversion.cc: Removed quite a bit of unused code, hardcoding
1170 all the StringToDouble function arguments that come from data members so it can
1171 be a much smaller static member function. Also changed the types of arguments
1173 * wtf/dtoa/double-conversion.h: Removed most of the StringToDoubleConverter
1174 class, leaving only the conversion function as a static member function.
1176 * wtf/text/StringImpl.cpp:
1177 (WTF::StringImpl::toDouble): Got rid of didReadNumber.
1178 (WTF::StringImpl::toFloat): Ditto.
1179 * wtf/text/StringImpl.h: Ditto.
1180 * wtf/text/WTFString.cpp:
1181 (WTF::String::toDouble): Got rid of didReadNumber.
1182 (WTF::String::toFloat): Ditto.
1183 (WTF::toDoubleType): Rewrote this function to use parseDouble. Moved the code
1184 to skip leading spaces here, because other callers of parseDouble don't want
1185 to do that. Repurposed the check for an empty string so it's now the same
1186 code shared by all the "parsed nothing" cases. Removed the code to convert
1187 the buffer to ASCII for two reasons: (1) We don't need that code at all when
1188 CharType is LChar, and (2) We now handle this through the two overloads for
1189 the parseDouble function. Disallowing trailing junk is now handled here,
1190 rather than inside parseDouble.
1191 (WTF::charactersToDouble): Updated for changes to toDoubleType. Removed the
1192 didReadNumber argument.
1193 (WTF::charactersToFloat): Ditto. Also added overloads that return the parsed
1194 length. These are a slightly more powerful way to do what didReadNumber was
1197 * wtf/text/WTFString.h: Added comments, eliminated didReadNumber, and added
1198 overloads of charactersToFloat that replace charactersToFloatIgnoringJunk.
1200 2012-04-05 Patrick Gansterer <paroga@webkit.org>
1202 [WinCE] Remove unnecessary function decleration
1203 https://bugs.webkit.org/show_bug.cgi?id=83155
1205 Reviewed by Kentaro Hara.
1210 2012-04-04 Patrick Gansterer <paroga@webkit.org>
1212 Add WTF::getCurrentLocalTime()
1213 https://bugs.webkit.org/show_bug.cgi?id=83164
1215 Reviewed by Alexey Proskuryakov.
1217 Replace the calls to WTF::getLocalTime() with time(0) with the new function.
1218 This allows us to use Win32 API on windows to get the same result in a next step.
1220 Also remove the inline keyword from WTF::getLocalTime(), since there is no need for
1221 it and it will make the later Win32 API changes easier.
1224 * wtf/CurrentTime.cpp:
1225 (WTF::getLocalTime):
1226 (WTF::getCurrentLocalTime):
1227 * wtf/CurrentTime.h:
1229 2012-04-04 Chris Rogers <crogers@google.com>
1231 Web Audio should use MutexTryLocker class
1232 https://bugs.webkit.org/show_bug.cgi?id=83194
1234 Reviewed by Kenneth Russell.
1236 Add MutexTryLocker class which can be used as a stack-based object wrapping a Mutex.
1237 It will automatically unlock the Mutex in its destructor if the tryLock() succeeded.
1239 * wtf/ThreadingPrimitives.h:
1241 (WTF::MutexTryLocker::MutexTryLocker):
1242 (WTF::MutexTryLocker::~MutexTryLocker):
1243 (WTF::MutexTryLocker::locked):
1244 Check if the tryLock() on the Mutex succeeded.
1247 2012-04-04 Kausalya Madhusudhanan <kmadhusu@chromium.org>
1249 [Coverity] Address some uninit constructor values.
1250 https://bugs.webkit.org/show_bug.cgi?id=82424
1252 Reviewed by Stephen White.
1254 New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
1256 * wtf/ArrayBufferView.cpp:
1257 (WTF::ArrayBufferView::ArrayBufferView):
1259 2012-03-30 David Barr <davidbarr@chromium.org>
1261 Split up top-level .gitignore and .gitattributes
1262 https://bugs.webkit.org/show_bug.cgi?id=82687
1264 Reviewed by Tor Arne Vestbø.
1266 * WTF.gyp/.gitignore: Added.
1268 2012-03-29 Kevin Ollivier <kevino@theolliviers.com>
1270 [wx] Unreviewed build fix. Add export symbols needed to
1271 build wx under Windows.
1274 * wtf/ParallelJobsGeneric.h:
1275 (ParallelEnvironment):
1276 * wtf/ThreadSpecific.h:
1279 2012-03-29 Kevin Ollivier <kevino@theolliviers.com>
1281 [wx] Unreviewed build fix. Add WTF_EXPORT_PRIVATE_NO_RTTI
1282 so that ports not using RTTI can add symbol exports to
1283 classes that RTTI ports export with WTF_EXPORT_PRIVATE_RTTI.
1285 * wtf/ArrayBufferView.h:
1286 * wtf/ExportMacros.h:
1288 2012-03-29 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1290 HashMap<>::add should return a more descriptive object
1291 https://bugs.webkit.org/show_bug.cgi?id=71063
1293 Reviewed by Ryosuke Niwa.
1295 Make HashTable<>::add() and derivate functions return an AddResult struct instead
1296 of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
1297 more readable at callsites than previous 'first' and 'second'.
1299 * wtf/HashCountedSet.h:
1311 (WTF::HashTableAddResult::HashTableAddResult):
1312 (HashTableAddResult):
1315 (WTF::HashTable::add):
1317 (WTF::::addPassingHashCode):
1318 * wtf/ListHashSet.h:
1321 (WTF::::insertBefore):
1322 * wtf/RefPtrHashMap.h:
1326 (WTF::Spectrum::add):
1327 * wtf/WTFThreadData.cpp:
1328 (JSC::IdentifierTable::add):
1329 * wtf/WTFThreadData.h:
1331 * wtf/text/AtomicString.cpp:
1332 (WTF::addToStringTable):
1333 (WTF::AtomicString::addSlowCase):
1335 2012-03-29 Andreas Kling <kling@webkit.org>
1337 String: Subscript operator shouldn't force conversion to 16-bit characters.
1338 <http://webkit.org/b/82613>
1340 Reviewed by Anders Carlsson.
1342 Forward String::operator[] to StringImpl::operator[] instead of indexing into characters().
1343 This avoid implicit conversion of 8-bit strings to 16-bit, and as an example, reduces memory
1344 usage on http://www.allthingsd.com/ by 360kB.
1346 * wtf/text/WTFString.h:
1347 (WTF::String::operator[]):
1349 2012-03-28 Carlos Garcia Campos <cgarcia@igalia.com>
1351 [GTK] Implement PlatformStrategies
1352 https://bugs.webkit.org/show_bug.cgi?id=82454
1354 Reviewed by Xan Lopez.
1356 * wtf/Platform.h: Define WTF_USE_PLATFORM_STRATEGIES for GTK+
1359 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
1361 Set eol-style: native on WTF.sln per Ryan Sleevi's request.
1363 * WTF.vcproj/WTF.sln: Added property svn:eol-style.
1365 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
1367 Chromium build fix; add BitVector.h/cpp to gypi.
1371 2012-03-26 Ryosuke Niwa <rniwa@webkit.org>
1373 Touch BitVector as a speculative fix for Chromium Linux.
1378 2012-03-23 Ryosuke Niwa <rniwa@webkit.org>
1380 cssText should use shorthand notations
1381 https://bugs.webkit.org/show_bug.cgi?id=81737
1383 Reviewed by Enrica Casucci.
1387 (WTF::BitVector::ensureSizeAndSet): Added.
1389 2012-03-26 Carlos Garcia Campos <cgarcia@igalia.com>
1391 Unreviewed. Fix make distcheck.
1393 * GNUmakefile.list.am: Add config.h to the source file list.
1395 2012-03-25 Kevin Ollivier <kevino@theolliviers.com>
1397 [wx] Unreviewed build fix. Move WTF to its own static lib build.
1401 2012-03-23 Tony Chang <tony@chromium.org>
1403 [chromium] Unreviewed, move a comment closer to where it matters and
1404 make it more specific.
1408 2012-03-23 Steve Falkenburg <sfalken@apple.com>
1410 Update Apple Windows build files for WTF move
1411 https://bugs.webkit.org/show_bug.cgi?id=82069
1413 Reviewed by Jessie Berlin.
1415 * WTF.vcproj/WTF.make: Added.
1416 * WTF.vcproj/WTF.sln: Added.
1418 2012-03-23 Dean Jackson <dino@apple.com>
1420 Disable CSS_SHADERS in Apple builds
1421 https://bugs.webkit.org/show_bug.cgi?id=81996
1423 Reviewed by Simon Fraser.
1425 Put ENABLE_CSS_SHADERS into Platform.h, but disable for
1430 2012-03-23 Tony Chang <tony@chromium.org>
1432 [chromium] rename newwtf target back to wtf
1433 https://bugs.webkit.org/show_bug.cgi?id=82064
1435 Reviewed by Adam Barth.
1439 2012-03-22 Jessie Berlin <jberlin@apple.com>
1441 Windows build fix after r111778.
1443 * WTF.vcproj/WTF.vcproj:
1444 DateMath.h and DateMath.cpp should be built by WTF, since they are part of WTF.
1446 2012-03-22 Raphael Kubo da Costa <rakuco@FreeBSD.org>
1448 [CMake] Unreviewed build fix after r111778.
1450 * CMakeLists.txt: Added.
1451 * wtf/CMakeLists.txt: Add ${CMAKE_BINARY_DIR} to the include paths
1452 for cmakeconfig.h to be found.
1454 2012-03-22 Tony Chang <tony@chromium.org>
1456 Unreviewed, attempt to fix the chromium-win build and another attempt
1457 at fixing the chromium-android build.
1461 2012-03-22 Tony Chang <tony@chromium.org>
1463 Unreviewed, attempt to fix chromium-android build.
1467 2012-03-22 Tony Chang <tony@chromium.org>
1469 Unreviewed, fix chromium build after wtf move.
1471 Move wtf_config and wtf settings to newwtf.
1475 2012-03-22 Martin Robinson <mrobinson@igalia.com>
1477 One more GTK+ build fix after r111778.
1479 * GNUmakefile.am: Adding missing include path.
1481 2012-03-22 Martin Robinson <mrobinson@igalia.com>
1483 Fixed the GTK+ WTF/JavaScriptCore build after r111778.
1485 * GNUmakefile.am: Remove some extra trailing backslashes and a few uncessary
1487 * GNUmakefile.list.am: Ditto.
1489 2012-03-22 Dan Bernstein <mitz@apple.com>
1491 Fixed the JavaScriptCore debug build after r111778.
1493 * WTF.xcodeproj/project.pbxproj: Use debug DEBUG_DEFINES when building
1494 the Debug configuration.
1496 2012-03-22 Csaba Osztrogonác <ossy@webkit.org>
1498 Actually move WTF files to their new home
1499 https://bugs.webkit.org/show_bug.cgi?id=81844
1501 [Qt] Unreviewed buildfix after r111778.
1505 2012-03-22 Eric Seidel <eric@webkit.org>
1507 Actually move WTF files to their new home
1508 https://bugs.webkit.org/show_bug.cgi?id=81844
1510 Unreviewed attempt to fix AppleWin.
1512 * WTF.vcproj/WTFCommon.vsprops:
1514 2012-03-22 Eric Seidel <eric@webkit.org>
1516 Actually move WTF files to their new home
1517 https://bugs.webkit.org/show_bug.cgi?id=81844
1519 Unreviewed. The 5MB file move is not very reviewable,
1520 but various port representatives have OK'd changes to the
1521 individual build systems.
1523 * Configurations/WTF.xcconfig:
1524 * GNUmakefile.list.am:
1525 * Stub.cpp: Removed.
1530 * WTF.vcproj/WTF.vcproj:
1531 * WTF.vcproj/copy-files.cmd:
1532 * WTF.xcodeproj/project.pbxproj:
1534 * wtf/ASCIICType.h: Renamed from Source/JavaScriptCore/wtf/ASCIICType.h.
1537 (WTF::isASCIIAlpha):
1538 (WTF::isASCIIDigit):
1539 (WTF::isASCIIAlphanumeric):
1540 (WTF::isASCIIHexDigit):
1541 (WTF::isASCIILower):
1542 (WTF::isASCIIOctalDigit):
1543 (WTF::isASCIIPrintable):
1544 (WTF::isASCIISpace):
1545 (WTF::isASCIIUpper):
1546 (WTF::toASCIILower):
1547 (WTF::toASCIILowerUnchecked):
1548 (WTF::toASCIIUpper):
1549 (WTF::toASCIIHexValue):
1550 (WTF::lowerNibbleToASCIIHexDigit):
1551 (WTF::upperNibbleToASCIIHexDigit):
1552 (WTF::isASCIIAlphaCaselessEqual):
1553 * wtf/AVLTree.h: Renamed from Source/JavaScriptCore/wtf/AVLTree.h.
1555 (AVLTreeDefaultBSet):
1556 (WTF::AVLTreeDefaultBSet::operator[]):
1557 (WTF::AVLTreeDefaultBSet::set):
1558 (WTF::AVLTreeDefaultBSet::reset):
1560 (WTF::AVLTree::abstractor):
1561 (WTF::AVLTree::purge):
1562 (WTF::AVLTree::is_empty):
1563 (WTF::AVLTree::AVLTree):
1565 (WTF::AVLTree::Iterator::Iterator):
1566 (WTF::AVLTree::Iterator::start_iter):
1567 (WTF::AVLTree::Iterator::start_iter_least):
1568 (WTF::AVLTree::Iterator::start_iter_greatest):
1569 (WTF::AVLTree::Iterator::operator*):
1570 (WTF::AVLTree::Iterator::operator++):
1571 (WTF::AVLTree::Iterator::operator--):
1572 (WTF::AVLTree::Iterator::cmp_k_n):
1573 (WTF::AVLTree::Iterator::cmp_n_n):
1574 (WTF::AVLTree::Iterator::get_lt):
1575 (WTF::AVLTree::Iterator::get_gt):
1576 (WTF::AVLTree::Iterator::null):
1577 (WTF::AVLTree::build):
1579 (WTF::AVLTree::get_lt):
1580 (WTF::AVLTree::set_lt):
1581 (WTF::AVLTree::get_gt):
1582 (WTF::AVLTree::set_gt):
1583 (WTF::AVLTree::get_bf):
1584 (WTF::AVLTree::set_bf):
1585 (WTF::AVLTree::cmp_k_n):
1586 (WTF::AVLTree::cmp_n_n):
1587 (WTF::AVLTree::null):
1588 (WTF::AVLTree::balance):
1591 (WTF::::search_least):
1592 (WTF::::search_greatest):
1595 * wtf/Alignment.h: Renamed from Source/JavaScriptCore/wtf/Alignment.h.
1598 * wtf/AlwaysInline.h: Renamed from Source/JavaScriptCore/wtf/AlwaysInline.h.
1599 * wtf/ArrayBuffer.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.cpp.
1601 (WTF::ArrayBuffer::transfer):
1602 (WTF::ArrayBuffer::addView):
1603 (WTF::ArrayBuffer::removeView):
1604 * wtf/ArrayBuffer.h: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.h.
1606 (ArrayBufferContents):
1607 (WTF::ArrayBufferContents::ArrayBufferContents):
1608 (WTF::ArrayBufferContents::data):
1609 (WTF::ArrayBufferContents::sizeInBytes):
1610 (WTF::ArrayBufferContents::transfer):
1612 (WTF::ArrayBuffer::isNeutered):
1613 (WTF::ArrayBuffer::~ArrayBuffer):
1614 (WTF::ArrayBuffer::clampValue):
1615 (WTF::ArrayBuffer::create):
1616 (WTF::ArrayBuffer::ArrayBuffer):
1617 (WTF::ArrayBuffer::data):
1618 (WTF::ArrayBuffer::byteLength):
1619 (WTF::ArrayBuffer::slice):
1620 (WTF::ArrayBuffer::sliceImpl):
1621 (WTF::ArrayBuffer::clampIndex):
1622 (WTF::ArrayBufferContents::tryAllocate):
1623 (WTF::ArrayBufferContents::~ArrayBufferContents):
1624 * wtf/ArrayBufferView.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.cpp.
1626 (WTF::ArrayBufferView::ArrayBufferView):
1627 (WTF::ArrayBufferView::~ArrayBufferView):
1628 (WTF::ArrayBufferView::neuter):
1629 * wtf/ArrayBufferView.h: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.h.
1631 (WTF::ArrayBufferView::setImpl):
1632 (WTF::ArrayBufferView::setRangeImpl):
1633 (WTF::ArrayBufferView::zeroRangeImpl):
1634 (WTF::ArrayBufferView::calculateOffsetAndLength):
1635 * wtf/Assertions.cpp: Renamed from Source/JavaScriptCore/wtf/Assertions.cpp.
1636 * wtf/Assertions.h: Renamed from Source/JavaScriptCore/wtf/Assertions.h.
1638 (assertWithMessageUnused):
1639 * wtf/Atomics.h: Renamed from Source/JavaScriptCore/wtf/Atomics.h.
1641 (WTF::atomicIncrement):
1642 (WTF::atomicDecrement):
1643 (WTF::weakCompareAndSwap):
1644 (WTF::weakCompareAndSwapUIntPtr):
1645 * wtf/BitVector.cpp: Renamed from Source/JavaScriptCore/wtf/BitVector.cpp.
1647 (WTF::BitVector::setSlow):
1648 (WTF::BitVector::resize):
1649 (WTF::BitVector::clearAll):
1650 (WTF::BitVector::OutOfLineBits::create):
1651 (WTF::BitVector::OutOfLineBits::destroy):
1652 (WTF::BitVector::resizeOutOfLine):
1653 (WTF::BitVector::dump):
1654 * wtf/BitVector.h: Renamed from Source/JavaScriptCore/wtf/BitVector.h.
1657 (WTF::BitVector::BitVector):
1658 (WTF::BitVector::~BitVector):
1659 (WTF::BitVector::operator=):
1660 (WTF::BitVector::size):
1661 (WTF::BitVector::ensureSize):
1662 (WTF::BitVector::quickGet):
1663 (WTF::BitVector::quickSet):
1664 (WTF::BitVector::quickClear):
1665 (WTF::BitVector::get):
1666 (WTF::BitVector::set):
1667 (WTF::BitVector::clear):
1668 (WTF::BitVector::bitsInPointer):
1669 (WTF::BitVector::maxInlineBits):
1670 (WTF::BitVector::byteCount):
1671 (WTF::BitVector::makeInlineBits):
1673 (WTF::BitVector::OutOfLineBits::numBits):
1674 (WTF::BitVector::OutOfLineBits::numWords):
1675 (WTF::BitVector::OutOfLineBits::bits):
1676 (WTF::BitVector::OutOfLineBits::OutOfLineBits):
1677 (WTF::BitVector::isInline):
1678 (WTF::BitVector::outOfLineBits):
1679 (WTF::BitVector::bits):
1680 * wtf/Bitmap.h: Renamed from Source/JavaScriptCore/wtf/Bitmap.h.
1686 (WTF::::testAndSet):
1687 (WTF::::testAndClear):
1688 (WTF::::concurrentTestAndSet):
1689 (WTF::::concurrentTestAndClear):
1692 (WTF::::nextPossiblyUnset):
1693 (WTF::::findRunOfZeros):
1697 * wtf/BlockStack.h: Renamed from Source/JavaScriptCore/wtf/BlockStack.h.
1700 (WTF::::BlockStack):
1701 (WTF::::~BlockStack):
1705 * wtf/BloomFilter.h: Renamed from Source/JavaScriptCore/wtf/BloomFilter.h.
1708 (WTF::BloomFilter::maximumCount):
1709 (WTF::BloomFilter::BloomFilter):
1710 (WTF::BloomFilter::mayContain):
1711 (WTF::BloomFilter::add):
1712 (WTF::BloomFilter::remove):
1713 (WTF::BloomFilter::firstSlot):
1714 (WTF::BloomFilter::secondSlot):
1718 (WTF::::likelyEmpty):
1720 * wtf/BoundsCheckedPointer.h: Renamed from Source/JavaScriptCore/wtf/BoundsCheckedPointer.h.
1722 (BoundsCheckedPointer):
1723 (WTF::BoundsCheckedPointer::BoundsCheckedPointer):
1724 (WTF::BoundsCheckedPointer::operator=):
1725 (WTF::BoundsCheckedPointer::operator+=):
1726 (WTF::BoundsCheckedPointer::operator-=):
1727 (WTF::BoundsCheckedPointer::operator+):
1728 (WTF::BoundsCheckedPointer::operator-):
1729 (WTF::BoundsCheckedPointer::operator++):
1730 (WTF::BoundsCheckedPointer::operator--):
1731 (WTF::BoundsCheckedPointer::operator<):
1732 (WTF::BoundsCheckedPointer::operator<=):
1733 (WTF::BoundsCheckedPointer::operator>):
1734 (WTF::BoundsCheckedPointer::operator>=):
1735 (WTF::BoundsCheckedPointer::operator==):
1736 (WTF::BoundsCheckedPointer::operator!=):
1737 (WTF::BoundsCheckedPointer::operator!):
1738 (WTF::BoundsCheckedPointer::get):
1739 (WTF::BoundsCheckedPointer::operator*):
1740 (WTF::BoundsCheckedPointer::operator[]):
1741 (WTF::BoundsCheckedPointer::strcat):
1742 (WTF::BoundsCheckedPointer::validate):
1743 * wtf/BumpPointerAllocator.h: Renamed from Source/JavaScriptCore/wtf/BumpPointerAllocator.h.
1746 (WTF::BumpPointerPool::ensureCapacity):
1747 (WTF::BumpPointerPool::alloc):
1748 (WTF::BumpPointerPool::dealloc):
1749 (WTF::BumpPointerPool::operator new):
1750 (WTF::BumpPointerPool::BumpPointerPool):
1751 (WTF::BumpPointerPool::create):
1752 (WTF::BumpPointerPool::shrink):
1753 (WTF::BumpPointerPool::destroy):
1754 (WTF::BumpPointerPool::ensureCapacityCrossPool):
1755 (WTF::BumpPointerPool::deallocCrossPool):
1756 (BumpPointerAllocator):
1757 (WTF::BumpPointerAllocator::BumpPointerAllocator):
1758 (WTF::BumpPointerAllocator::~BumpPointerAllocator):
1759 (WTF::BumpPointerAllocator::startAllocator):
1760 (WTF::BumpPointerAllocator::stopAllocator):
1761 * wtf/ByteArray.cpp: Renamed from Source/JavaScriptCore/wtf/ByteArray.cpp.
1763 (WTF::ByteArray::create):
1764 * wtf/ByteArray.h: Renamed from Source/JavaScriptCore/wtf/ByteArray.h.
1766 (WTF::ByteArray::length):
1767 (WTF::ByteArray::set):
1768 (WTF::ByteArray::get):
1769 (WTF::ByteArray::data):
1770 (WTF::ByteArray::clear):
1771 (WTF::ByteArray::deref):
1772 (WTF::ByteArray::offsetOfSize):
1773 (WTF::ByteArray::offsetOfData):
1774 (WTF::ByteArray::ByteArray):
1775 * wtf/CMakeLists.txt: Renamed from Source/JavaScriptCore/wtf/CMakeLists.txt.
1776 * wtf/CONTRIBUTORS.pthreads-win32: Renamed from Source/JavaScriptCore/wtf/CONTRIBUTORS.pthreads-win32.
1777 * wtf/CheckedArithmetic.h: Renamed from Source/JavaScriptCore/wtf/CheckedArithmetic.h.
1780 (WTF::CrashOnOverflow::overflowed):
1781 (WTF::CrashOnOverflow::clearOverflow):
1782 (WTF::CrashOnOverflow::hasOverflowed):
1784 (WTF::RecordOverflow::RecordOverflow):
1785 (WTF::RecordOverflow::overflowed):
1786 (WTF::RecordOverflow::clearOverflow):
1787 (WTF::RecordOverflow::hasOverflowed):
1792 (WTF::safeMultiply):
1794 (WTF::workAroundClangBug):
1796 (WTF::Checked::Checked):
1797 (WTF::Checked::operator=):
1798 (WTF::Checked::operator++):
1799 (WTF::Checked::operator--):
1800 (WTF::Checked::operator!):
1801 (WTF::Checked::operator UnspecifiedBoolType*):
1802 (WTF::Checked::unsafeGet):
1803 (WTF::Checked::operator+=):
1804 (WTF::Checked::operator-=):
1805 (WTF::Checked::operator*=):
1806 (WTF::Checked::operator==):
1807 (WTF::Checked::operator!=):
1811 * wtf/CheckedBoolean.h: Renamed from Source/JavaScriptCore/wtf/CheckedBoolean.h.
1813 (CheckedBoolean::CheckedBoolean):
1814 (CheckedBoolean::~CheckedBoolean):
1815 (CheckedBoolean::operator bool):
1816 * wtf/Compiler.h: Renamed from Source/JavaScriptCore/wtf/Compiler.h.
1817 * wtf/Complex.h: Renamed from Source/JavaScriptCore/wtf/Complex.h.
1819 (WTF::complexFromMagnitudePhase):
1820 * wtf/CryptographicallyRandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp.
1821 (WTF::cryptographicallyRandomNumber):
1823 (WTF::cryptographicallyRandomValues):
1824 * wtf/CryptographicallyRandomNumber.h: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.h.
1826 * wtf/CurrentTime.cpp: Renamed from Source/JavaScriptCore/wtf/CurrentTime.cpp.
1828 (WTF::highResUpTime):
1829 (WTF::lowResUTCTime):
1830 (WTF::qpcAvailable):
1832 (WTF::currentSystemTime):
1833 (WTF::monotonicallyIncreasingTime):
1834 * wtf/CurrentTime.h: Renamed from Source/JavaScriptCore/wtf/CurrentTime.h.
1836 (WTF::currentTimeMS):
1837 (WTF::getLocalTime):
1838 * wtf/DataLog.cpp: Renamed from Source/JavaScriptCore/wtf/DataLog.cpp.
1840 (WTF::initializeLogFileOnce):
1841 (WTF::initializeLogFile):
1845 * wtf/DataLog.h: Renamed from Source/JavaScriptCore/wtf/DataLog.h.
1847 * wtf/DateMath.cpp: Renamed from Source/JavaScriptCore/wtf/DateMath.cpp.
1851 (WTF::daysFrom1970ToYear):
1853 (WTF::twoDigitStringFromNumber):
1856 (WTF::msToMilliseconds):
1859 (WTF::monthFromDayInYear):
1861 (WTF::dayInMonthFromDayInYear):
1862 (WTF::monthToDayInYear):
1863 (WTF::dateToDaysFrom1970):
1864 (WTF::maximumYearForDST):
1865 (WTF::minimumYearForDST):
1866 (WTF::equivalentYearForDST):
1867 (WTF::calculateUTCOffset):
1868 (WTF::calculateDSTOffsetSimple):
1869 (WTF::calculateDSTOffset):
1870 (WTF::initializeDates):
1871 (WTF::ymdhmsToSeconds):
1873 (WTF::skipSpacesAndComments):
1876 (WTF::parseES5DatePortion):
1877 (WTF::parseES5TimePortion):
1878 (WTF::parseES5DateFromNullTerminatedCharacters):
1879 (WTF::parseDateFromNullTerminatedCharacters):
1881 (WTF::makeRFC2822DateString):
1882 * wtf/DateMath.h: Renamed from Source/JavaScriptCore/wtf/DateMath.h.
1884 (WTF::jsCurrentTime):
1885 * wtf/DecimalNumber.cpp: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.cpp.
1887 (WTF::DecimalNumber::bufferLengthForStringDecimal):
1888 (WTF::DecimalNumber::bufferLengthForStringExponential):
1889 (WTF::DecimalNumber::toStringDecimal):
1890 (WTF::DecimalNumber::toStringExponential):
1891 * wtf/DecimalNumber.h: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.h.
1894 (WTF::DecimalNumber::DecimalNumber):
1895 (WTF::DecimalNumber::sign):
1896 (WTF::DecimalNumber::exponent):
1897 (WTF::DecimalNumber::significand):
1898 (WTF::DecimalNumber::precision):
1899 * wtf/Decoder.h: Renamed from Source/JavaScriptCore/wtf/Decoder.h.
1902 (WTF::Decoder::Decoder):
1903 (WTF::Decoder::~Decoder):
1904 * wtf/Deque.h: Renamed from Source/JavaScriptCore/wtf/Deque.h.
1908 (WTF::Deque::isEmpty):
1909 (WTF::Deque::begin):
1911 (WTF::Deque::rbegin):
1913 (WTF::Deque::first):
1915 (DequeIteratorBase):
1916 (WTF::DequeIteratorBase::assign):
1918 (WTF::DequeIterator::DequeIterator):
1919 (WTF::DequeIterator::operator=):
1920 (WTF::DequeIterator::operator*):
1921 (WTF::DequeIterator::operator->):
1922 (WTF::DequeIterator::operator==):
1923 (WTF::DequeIterator::operator!=):
1924 (WTF::DequeIterator::operator++):
1925 (WTF::DequeIterator::operator--):
1926 (DequeConstIterator):
1927 (WTF::DequeConstIterator::DequeConstIterator):
1928 (WTF::DequeConstIterator::operator=):
1929 (WTF::DequeConstIterator::operator*):
1930 (WTF::DequeConstIterator::operator->):
1931 (WTF::DequeConstIterator::operator==):
1932 (WTF::DequeConstIterator::operator!=):
1933 (WTF::DequeConstIterator::operator++):
1934 (WTF::DequeConstIterator::operator--):
1935 (DequeReverseIterator):
1936 (WTF::DequeReverseIterator::DequeReverseIterator):
1937 (WTF::DequeReverseIterator::operator=):
1938 (WTF::DequeReverseIterator::operator*):
1939 (WTF::DequeReverseIterator::operator->):
1940 (WTF::DequeReverseIterator::operator==):
1941 (WTF::DequeReverseIterator::operator!=):
1942 (WTF::DequeReverseIterator::operator++):
1943 (WTF::DequeReverseIterator::operator--):
1944 (DequeConstReverseIterator):
1945 (WTF::DequeConstReverseIterator::DequeConstReverseIterator):
1946 (WTF::DequeConstReverseIterator::operator=):
1947 (WTF::DequeConstReverseIterator::operator*):
1948 (WTF::DequeConstReverseIterator::operator->):
1949 (WTF::DequeConstReverseIterator::operator==):
1950 (WTF::DequeConstReverseIterator::operator!=):
1951 (WTF::DequeConstReverseIterator::operator++):
1952 (WTF::DequeConstReverseIterator::operator--):
1953 (WTF::::checkValidity):
1954 (WTF::::checkIndexValidity):
1955 (WTF::::invalidateIterators):
1957 (WTF::deleteAllValues):
1959 (WTF::::destroyAll):
1964 (WTF::::expandCapacityIfNeeded):
1965 (WTF::::expandCapacity):
1969 (WTF::::removeFirst):
1971 (WTF::::addToIteratorsList):
1972 (WTF::::removeFromIteratorsList):
1973 (WTF::::DequeIteratorBase):
1974 (WTF::::~DequeIteratorBase):
1980 * wtf/DisallowCType.h: Renamed from Source/JavaScriptCore/wtf/DisallowCType.h.
1981 * wtf/DoublyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/DoublyLinkedList.h.
1983 (DoublyLinkedListNode):
1984 (WTF::::DoublyLinkedListNode):
1990 (WTF::::DoublyLinkedList):
1999 (WTF::::removeHead):
2000 * wtf/DynamicAnnotations.cpp: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.cpp.
2001 (WTFAnnotateBenignRaceSized):
2002 (WTFAnnotateHappensBefore):
2003 (WTFAnnotateHappensAfter):
2004 * wtf/DynamicAnnotations.h: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.h.
2005 * wtf/Encoder.h: Renamed from Source/JavaScriptCore/wtf/Encoder.h.
2008 (WTF::Encoder::Encoder):
2009 (WTF::Encoder::~Encoder):
2010 * wtf/ExportMacros.h: Renamed from Source/JavaScriptCore/wtf/ExportMacros.h.
2011 * wtf/FastAllocBase.h: Renamed from Source/JavaScriptCore/wtf/FastAllocBase.h.
2015 (WTF::Internal::NewArrayImpl::fastNewArray):
2016 (WTF::fastNewArray):
2018 (WTF::fastDeleteSkippingDestructor):
2019 (WTF::Internal::DeleteArrayImpl::fastDeleteArray):
2020 (WTF::fastDeleteArray):
2021 (WTF::fastNonNullDelete):
2022 (WTF::Internal::NonNullDeleteArrayImpl::fastNonNullDeleteArray):
2023 (WTF::fastNonNullDeleteArray):
2024 * wtf/FastMalloc.cpp: Renamed from Source/JavaScriptCore/wtf/FastMalloc.cpp.
2027 (WTF::fastMallocForbid):
2028 (WTF::fastMallocAllow):
2029 (WTF::initializeIsForbiddenKey):
2031 (WTF::Internal::fastMallocMatchFailed):
2032 (WTF::fastZeroedMalloc):
2034 (WTF::tryFastZeroedMalloc):
2035 (WTF::tryFastMalloc):
2037 (WTF::tryFastCalloc):
2040 (WTF::tryFastRealloc):
2042 (WTF::releaseFastMallocFreeMemory):
2043 (WTF::fastMallocStatistics):
2044 (WTF::fastMallocSize):
2046 (WTF::FastMallocZone::goodSize):
2047 (WTF::FastMallocZone::check):
2048 (WTF::FastMallocZone::print):
2049 (WTF::FastMallocZone::log):
2050 (WTF::FastMallocZone::forceLock):
2051 (WTF::FastMallocZone::forceUnlock):
2052 (WTF::FastMallocZone::statistics):
2053 (WTF::FastMallocZone::zoneValloc):
2054 (WTF::FastMallocZone::zoneDestroy):
2055 (WTF::KernelSupportsTLS):
2056 (WTF::CheckIfKernelSupportsTLS):
2064 (WTF::SLL_PopRange):
2065 (WTF::SLL_PushRange):
2068 (WTF::ByteSizeForClass):
2070 (WTF::InitSizeClasses):
2071 (WTF::MetaDataAlloc):
2072 (PageHeapAllocator):
2073 (WTF::PageHeapAllocator::Init):
2074 (WTF::PageHeapAllocator::New):
2075 (WTF::PageHeapAllocator::Delete):
2076 (WTF::PageHeapAllocator::inuse):
2077 (WTF::PageHeapAllocator::recordAdministrativeRegions):
2079 (WTF::AllocationSize):
2092 (TCMalloc_PageHeap):
2093 (WTF::TCMalloc_PageHeap::GetDescriptor):
2094 (WTF::TCMalloc_PageHeap::GetDescriptorEnsureSafe):
2095 (WTF::TCMalloc_PageHeap::SystemBytes):
2096 (WTF::TCMalloc_PageHeap::FreeBytes):
2097 (WTF::TCMalloc_PageHeap::GetSizeClassIfCached):
2098 (WTF::TCMalloc_PageHeap::CacheSizeClass):
2100 (WTF::TCMalloc_PageHeap::RecordSpan):
2101 (WTF::TCMalloc_PageHeap::init):
2102 (WTF::TCMalloc_PageHeap::initializeScavenger):
2103 (WTF::TCMalloc_PageHeap::isScavengerSuspended):
2104 (WTF::TCMalloc_PageHeap::scheduleScavenger):
2105 (WTF::TCMalloc_PageHeap::rescheduleScavenger):
2106 (WTF::TCMalloc_PageHeap::suspendScavenger):
2107 (WTF::TCMalloc_PageHeap::scavengerTimerFired):
2108 (WTF::TCMalloc_PageHeap::runScavengerThread):
2109 (WTF::TCMalloc_PageHeap::signalScavenger):
2110 (WTF::TCMalloc_PageHeap::scavenge):
2111 (WTF::TCMalloc_PageHeap::shouldScavenge):
2112 (WTF::TCMalloc_PageHeap::New):
2113 (WTF::TCMalloc_PageHeap::AllocLarge):
2114 (WTF::TCMalloc_PageHeap::Split):
2115 (WTF::TCMalloc_PageHeap::Carve):
2116 (WTF::mergeDecommittedStates):
2117 (WTF::TCMalloc_PageHeap::Delete):
2118 (WTF::TCMalloc_PageHeap::IncrementalScavenge):
2119 (WTF::TCMalloc_PageHeap::RegisterSizeClass):
2120 (WTF::TCMalloc_PageHeap::ReturnedBytes):
2122 (WTF::TCMalloc_PageHeap::Dump):
2123 (WTF::TCMalloc_PageHeap::GrowHeap):
2124 (WTF::TCMalloc_PageHeap::Check):
2125 (WTF::TCMalloc_PageHeap::CheckList):
2126 (WTF::TCMalloc_PageHeap::ReleaseFreeList):
2127 (WTF::TCMalloc_PageHeap::ReleaseFreePages):
2128 (TCMalloc_ThreadCache_FreeList):
2129 (WTF::TCMalloc_ThreadCache_FreeList::Init):
2130 (WTF::TCMalloc_ThreadCache_FreeList::length):
2131 (WTF::TCMalloc_ThreadCache_FreeList::empty):
2132 (WTF::TCMalloc_ThreadCache_FreeList::lowwatermark):
2133 (WTF::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
2134 (WTF::TCMalloc_ThreadCache_FreeList::Push):
2135 (WTF::TCMalloc_ThreadCache_FreeList::PushRange):
2136 (WTF::TCMalloc_ThreadCache_FreeList::PopRange):
2137 (WTF::TCMalloc_ThreadCache_FreeList::Pop):
2138 (WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects):
2139 (TCMalloc_ThreadCache):
2140 (WTF::TCMalloc_ThreadCache::freelist_length):
2141 (WTF::TCMalloc_ThreadCache::Size):
2142 (WTF::TCMalloc_ThreadCache::enumerateFreeObjects):
2143 (TCMalloc_Central_FreeList):
2144 (WTF::TCMalloc_Central_FreeList::length):
2145 (WTF::TCMalloc_Central_FreeList::tc_length):
2146 (WTF::TCMalloc_Central_FreeList::enumerateFreeObjects):
2147 (TCMalloc_Central_FreeListPadded):
2149 (WTF::TCMalloc_PageHeap::periodicScavenge):
2150 (WTF::TCMalloc_PageHeap::scavengerThread):
2151 (WTF::setThreadHeap):
2152 (WTF::TCMalloc_Central_FreeList::Init):
2153 (WTF::TCMalloc_Central_FreeList::ReleaseListToSpans):
2154 (WTF::TCMalloc_Central_FreeList::ReleaseToSpans):
2155 (WTF::TCMalloc_Central_FreeList::EvictRandomSizeClass):
2156 (WTF::TCMalloc_Central_FreeList::MakeCacheSpace):
2157 (WTF::TCMalloc_Central_FreeList::ShrinkCache):
2158 (WTF::TCMalloc_Central_FreeList::InsertRange):
2159 (WTF::TCMalloc_Central_FreeList::RemoveRange):
2160 (WTF::TCMalloc_Central_FreeList::FetchFromSpansSafe):
2161 (WTF::TCMalloc_Central_FreeList::FetchFromSpans):
2162 (WTF::TCMalloc_Central_FreeList::Populate):
2163 (WTF::TCMalloc_ThreadCache::SampleAllocation):
2164 (WTF::TCMalloc_ThreadCache::Init):
2165 (WTF::TCMalloc_ThreadCache::Cleanup):
2166 (WTF::TCMalloc_ThreadCache::Allocate):
2167 (WTF::TCMalloc_ThreadCache::Deallocate):
2168 (WTF::TCMalloc_ThreadCache::FetchFromCentralCache):
2169 (WTF::TCMalloc_ThreadCache::ReleaseToCentralCache):
2170 (WTF::TCMalloc_ThreadCache::Scavenge):
2171 (WTF::TCMalloc_ThreadCache::PickNextSample):
2172 (WTF::TCMalloc_ThreadCache::InitModule):
2173 (WTF::TCMalloc_ThreadCache::NewHeap):
2174 (WTF::TCMalloc_ThreadCache::GetThreadHeap):
2175 (WTF::TCMalloc_ThreadCache::GetCache):
2176 (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
2177 (WTF::TCMalloc_ThreadCache::InitTSD):
2178 (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
2179 * wtf/FastMalloc.h: Renamed from Source/JavaScriptCore/wtf/FastMalloc.h.
2181 (WTF::TryMallocReturnValue::TryMallocReturnValue):
2182 (WTF::TryMallocReturnValue::~TryMallocReturnValue):
2183 (TryMallocReturnValue):
2184 (WTF::TryMallocReturnValue::operator PossiblyNull<T>):
2185 (WTF::TryMallocReturnValue::getValue):
2186 (FastMallocStatistics):
2189 (WTF::Internal::fastMallocValidationHeader):
2190 (WTF::Internal::fastMallocValidationSuffix):
2191 (WTF::Internal::fastMallocMatchValidationType):
2192 (WTF::Internal::setFastMallocMatchValidationType):
2193 (WTF::fastMallocMatchValidateMalloc):
2194 (WTF::fastMallocMatchValidateFree):
2195 (WTF::fastMallocValidate):
2197 * wtf/FixedArray.h: Renamed from Source/JavaScriptCore/wtf/FixedArray.h.
2200 (WTF::FixedArray::operator[]):
2201 (WTF::FixedArray::data):
2202 (WTF::FixedArray::size):
2203 * wtf/Float32Array.h: Renamed from Source/JavaScriptCore/wtf/Float32Array.h.
2206 (WTF::Float32Array::set):
2207 (WTF::Float32Array::item):
2208 (WTF::Float32Array::isFloatArray):
2209 (WTF::Float32Array::create):
2210 (WTF::Float32Array::Float32Array):
2211 (WTF::Float32Array::subarray):
2212 * wtf/Float64Array.h: Renamed from Source/JavaScriptCore/wtf/Float64Array.h.
2215 (WTF::Float64Array::set):
2216 (WTF::Float64Array::item):
2217 (WTF::Float64Array::isDoubleArray):
2218 (WTF::Float64Array::create):
2219 (WTF::Float64Array::Float64Array):
2220 (WTF::Float64Array::subarray):
2221 * wtf/Forward.h: Renamed from Source/JavaScriptCore/wtf/Forward.h.
2223 * wtf/Functional.h: Renamed from Source/JavaScriptCore/wtf/Functional.h.
2230 (WTF::RefAndDeref::ref):
2231 (WTF::RefAndDeref::deref):
2232 (ParamStorageTraits):
2233 (WTF::ParamStorageTraits::wrap):
2234 (WTF::ParamStorageTraits::unwrap):
2236 (WTF::FunctionImplBase::~FunctionImplBase):
2238 (WTF::FunctionBase::isNull):
2239 (WTF::FunctionBase::FunctionBase):
2240 (WTF::FunctionBase::impl):
2242 * wtf/GetPtr.h: Renamed from Source/JavaScriptCore/wtf/GetPtr.h.
2245 * wtf/HashCountedSet.h: Renamed from Source/JavaScriptCore/wtf/HashCountedSet.h.
2248 (WTF::HashCountedSet::HashCountedSet):
2261 (WTF::copyToVector):
2262 * wtf/HashFunctions.h: Renamed from Source/JavaScriptCore/wtf/HashFunctions.h.
2265 (WTF::IntHash::hash):
2266 (WTF::IntHash::equal):
2268 (WTF::FloatHash::hash):
2269 (WTF::FloatHash::equal):
2271 (WTF::PtrHash::hash):
2272 (WTF::PtrHash::equal):
2274 (WTF::PairHash::hash):
2275 (WTF::PairHash::equal):
2277 * wtf/HashIterators.h: Renamed from Source/JavaScriptCore/wtf/HashIterators.h.
2279 (HashTableConstKeysIterator):
2280 (WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
2281 (WTF::HashTableConstKeysIterator::get):
2282 (WTF::HashTableConstKeysIterator::operator*):
2283 (WTF::HashTableConstKeysIterator::operator->):
2284 (WTF::HashTableConstKeysIterator::operator++):
2285 (HashTableConstValuesIterator):
2286 (WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
2287 (WTF::HashTableConstValuesIterator::get):
2288 (WTF::HashTableConstValuesIterator::operator*):
2289 (WTF::HashTableConstValuesIterator::operator->):
2290 (WTF::HashTableConstValuesIterator::operator++):
2291 (HashTableKeysIterator):
2292 (WTF::HashTableKeysIterator::HashTableKeysIterator):
2293 (WTF::HashTableKeysIterator::get):
2294 (WTF::HashTableKeysIterator::operator*):
2295 (WTF::HashTableKeysIterator::operator->):
2296 (WTF::HashTableKeysIterator::operator++):
2297 (WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
2298 (HashTableValuesIterator):
2299 (WTF::HashTableValuesIterator::HashTableValuesIterator):
2300 (WTF::HashTableValuesIterator::get):
2301 (WTF::HashTableValuesIterator::operator*):
2302 (WTF::HashTableValuesIterator::operator->):
2303 (WTF::HashTableValuesIterator::operator++):
2304 (WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
2307 * wtf/HashMap.h: Renamed from Source/JavaScriptCore/wtf/HashMap.h.
2309 (ReferenceTypeMaker):
2311 (WTF::HashMap::keys):
2312 (WTF::HashMap::values):
2314 (WTF::HashMap::HashMapKeysProxy::begin):
2315 (WTF::HashMap::HashMapKeysProxy::end):
2316 (HashMapValuesProxy):
2317 (WTF::HashMap::HashMapValuesProxy::begin):
2318 (WTF::HashMap::HashMapValuesProxy::end):
2319 (WTF::PairFirstExtractor::extract):
2320 (WTF::HashMapTranslator::hash):
2321 (WTF::HashMapTranslator::equal):
2322 (WTF::HashMapTranslator::translate):
2323 (WTF::HashMapTranslatorAdapter::hash):
2324 (WTF::HashMapTranslatorAdapter::equal):
2325 (WTF::HashMapTranslatorAdapter::translate):
2341 (WTF::::checkConsistency):
2344 (WTF::deleteAllPairSeconds):
2345 (WTF::deleteAllValues):
2346 (WTF::deleteAllPairFirsts):
2347 (WTF::deleteAllKeys):
2348 (WTF::copyKeysToVector):
2349 (WTF::copyValuesToVector):
2350 * wtf/HashSet.h: Renamed from Source/JavaScriptCore/wtf/HashSet.h.
2353 (WTF::IdentityExtractor::extract):
2354 (WTF::HashSetTranslatorAdapter::hash):
2355 (WTF::HashSetTranslatorAdapter::equal):
2356 (WTF::HashSetTranslatorAdapter::translate):
2368 (WTF::deleteAllValues):
2369 (WTF::fastDeleteAllValues):
2370 (WTF::copyToVector):
2371 * wtf/HashTable.cpp: Renamed from Source/JavaScriptCore/wtf/HashTable.cpp.
2373 (WTF::hashTableStatsMutex):
2374 (WTF::HashTableStats::~HashTableStats):
2375 (WTF::HashTableStats::recordCollisionAtCount):
2376 * wtf/HashTable.h: Renamed from Source/JavaScriptCore/wtf/HashTable.h.
2380 (WTF::removeIterator):
2381 (HashTableConstIterator):
2382 (WTF::HashTableConstIterator::skipEmptyBuckets):
2383 (WTF::HashTableConstIterator::HashTableConstIterator):
2384 (WTF::HashTableConstIterator::~HashTableConstIterator):
2385 (WTF::HashTableConstIterator::operator=):
2386 (WTF::HashTableConstIterator::get):
2387 (WTF::HashTableConstIterator::operator*):
2388 (WTF::HashTableConstIterator::operator->):
2389 (WTF::HashTableConstIterator::operator++):
2390 (WTF::HashTableConstIterator::operator==):
2391 (WTF::HashTableConstIterator::operator!=):
2392 (WTF::HashTableConstIterator::checkValidity):
2393 (HashTableIterator):
2394 (WTF::HashTableIterator::HashTableIterator):
2395 (WTF::HashTableIterator::get):
2396 (WTF::HashTableIterator::operator*):
2397 (WTF::HashTableIterator::operator->):
2398 (WTF::HashTableIterator::operator++):
2399 (WTF::HashTableIterator::operator==):
2400 (WTF::HashTableIterator::operator!=):
2401 (WTF::HashTableIterator::operator const_iterator):
2402 (WTF::hashTableSwap):
2403 (IdentityHashTranslator):
2404 (WTF::IdentityHashTranslator::hash):
2405 (WTF::IdentityHashTranslator::equal):
2406 (WTF::IdentityHashTranslator::translate):
2408 (WTF::HashTable::~HashTable):
2409 (WTF::HashTable::begin):
2410 (WTF::HashTable::end):
2411 (WTF::HashTable::size):
2412 (WTF::HashTable::capacity):
2413 (WTF::HashTable::isEmpty):
2414 (WTF::HashTable::add):
2415 (WTF::HashTable::find):
2416 (WTF::HashTable::contains):
2417 (WTF::HashTable::isEmptyBucket):
2418 (WTF::HashTable::isDeletedBucket):
2419 (WTF::HashTable::isEmptyOrDeletedBucket):
2420 (WTF::HashTable::lookup):
2421 (WTF::HashTable::checkTableConsistency):
2422 (WTF::HashTable::internalCheckTableConsistency):
2423 (WTF::HashTable::internalCheckTableConsistencyExceptSize):
2424 (WTF::HashTable::lookupForWriting):
2425 (WTF::HashTable::shouldExpand):
2426 (WTF::HashTable::mustRehashInPlace):
2427 (WTF::HashTable::shouldShrink):
2428 (WTF::HashTable::shrink):
2429 (WTF::HashTable::deleteBucket):
2430 (WTF::HashTable::makeLookupResult):
2431 (WTF::HashTable::makeIterator):
2432 (WTF::HashTable::makeConstIterator):
2433 (WTF::HashTable::makeKnownGoodIterator):
2434 (WTF::HashTable::makeKnownGoodConstIterator):
2435 (WTF::HashTable::checkTableConsistencyExceptSize):
2436 (WTF::HashTable::invalidateIterators):
2441 (WTF::::lookupForWriting):
2442 (WTF::::fullLookupForWriting):
2443 (WTF::::initializeBucket):
2445 (WTF::::addPassingHashCode):
2449 (WTF::::removeAndInvalidateWithoutEntryConsistencyCheck):
2450 (WTF::::removeAndInvalidate):
2452 (WTF::::removeWithoutEntryConsistencyCheck):
2453 (WTF::::allocateTable):
2454 (WTF::::deallocateTable):
2460 (WTF::::checkTableConsistency):
2461 (WTF::::checkTableConsistencyExceptSize):
2462 (WTF::::invalidateIterators):
2463 (WTF::HashTableConstIteratorAdapter::HashTableConstIteratorAdapter):
2464 (HashTableConstIteratorAdapter):
2465 (WTF::HashTableConstIteratorAdapter::get):
2466 (WTF::HashTableConstIteratorAdapter::operator*):
2467 (WTF::HashTableConstIteratorAdapter::operator->):
2468 (WTF::HashTableConstIteratorAdapter::operator++):
2469 (WTF::HashTableIteratorAdapter::HashTableIteratorAdapter):
2470 (HashTableIteratorAdapter):
2471 (WTF::HashTableIteratorAdapter::get):
2472 (WTF::HashTableIteratorAdapter::operator*):
2473 (WTF::HashTableIteratorAdapter::operator->):
2474 (WTF::HashTableIteratorAdapter::operator++):
2475 (WTF::HashTableIteratorAdapter::operator HashTableConstIteratorAdapter<HashTableType, ValueType>):
2478 * wtf/HashTraits.h: Renamed from Source/JavaScriptCore/wtf/HashTraits.h.
2480 (GenericHashTraits):
2481 (WTF::GenericHashTraits::emptyValue):
2482 (WTF::GenericHashTraits::store):
2483 (WTF::GenericHashTraits::passOut):
2484 (WTF::GenericHashTraits::peek):
2486 (WTF::FloatHashTraits::emptyValue):
2487 (WTF::FloatHashTraits::constructDeletedValue):
2488 (WTF::FloatHashTraits::isDeletedValue):
2489 (UnsignedWithZeroKeyHashTraits):
2490 (WTF::UnsignedWithZeroKeyHashTraits::emptyValue):
2491 (WTF::UnsignedWithZeroKeyHashTraits::constructDeletedValue):
2492 (WTF::UnsignedWithZeroKeyHashTraits::isDeletedValue):
2493 (SimpleClassHashTraits):
2494 (WTF::SimpleClassHashTraits::constructDeletedValue):
2495 (WTF::SimpleClassHashTraits::isDeletedValue):
2497 (WTF::PairHashTraits::emptyValue):
2498 (WTF::PairHashTraits::constructDeletedValue):
2499 (WTF::PairHashTraits::isDeletedValue):
2500 * wtf/HexNumber.h: Renamed from Source/JavaScriptCore/wtf/HexNumber.h.
2503 (WTF::Internal::hexDigitsForMode):
2504 (WTF::appendByteAsHex):
2505 (WTF::placeByteAsHexCompressIfPossible):
2506 (WTF::placeByteAsHex):
2507 (WTF::appendUnsignedAsHex):
2508 (WTF::appendUnsignedAsHexFixedSize):
2509 * wtf/InlineASM.h: Renamed from Source/JavaScriptCore/wtf/InlineASM.h.
2510 * wtf/Int16Array.h: Renamed from Source/JavaScriptCore/wtf/Int16Array.h.
2513 (WTF::Int16Array::set):
2514 (WTF::Int16Array::isShortArray):
2515 (WTF::Int16Array::create):
2516 (WTF::Int16Array::Int16Array):
2517 (WTF::Int16Array::subarray):
2518 * wtf/Int32Array.h: Renamed from Source/JavaScriptCore/wtf/Int32Array.h.
2521 (WTF::Int32Array::set):
2522 (WTF::Int32Array::isIntArray):
2523 (WTF::Int32Array::create):
2524 (WTF::Int32Array::Int32Array):
2525 (WTF::Int32Array::subarray):
2526 * wtf/Int8Array.h: Renamed from Source/JavaScriptCore/wtf/Int8Array.h.
2529 (WTF::Int8Array::set):
2530 (WTF::Int8Array::isByteArray):
2531 (WTF::Int8Array::create):
2532 (WTF::Int8Array::Int8Array):
2533 (WTF::Int8Array::subarray):
2534 * wtf/IntegralTypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/IntegralTypedArrayBase.h.
2536 (IntegralTypedArrayBase):
2537 (WTF::IntegralTypedArrayBase::set):
2538 (WTF::IntegralTypedArrayBase::item):
2539 (WTF::IntegralTypedArrayBase::IntegralTypedArrayBase):
2540 * wtf/ListHashSet.h: Renamed from Source/JavaScriptCore/wtf/ListHashSet.h.
2543 (ListHashSetNodeAllocator):
2544 (WTF::ListHashSetNodeAllocator::ListHashSetNodeAllocator):
2545 (WTF::ListHashSetNodeAllocator::allocate):
2546 (WTF::ListHashSetNodeAllocator::deallocate):
2547 (WTF::ListHashSetNodeAllocator::pool):
2548 (WTF::ListHashSetNodeAllocator::pastPool):
2549 (WTF::ListHashSetNodeAllocator::inPool):
2551 (WTF::ListHashSetNode::ListHashSetNode):
2552 (WTF::ListHashSetNode::operator new):
2553 (WTF::ListHashSetNode::destroy):
2554 (WTF::ListHashSetNodeHashFunctions::hash):
2555 (WTF::ListHashSetNodeHashFunctions::equal):
2556 (ListHashSetNodeHashFunctions):
2557 (ListHashSetIterator):
2558 (WTF::ListHashSetIterator::ListHashSetIterator):
2559 (WTF::ListHashSetIterator::get):
2560 (WTF::ListHashSetIterator::operator*):
2561 (WTF::ListHashSetIterator::operator->):
2562 (WTF::ListHashSetIterator::operator++):
2563 (WTF::ListHashSetIterator::operator--):
2564 (WTF::ListHashSetIterator::operator==):
2565 (WTF::ListHashSetIterator::operator!=):
2566 (WTF::ListHashSetIterator::operator const_iterator):
2567 (WTF::ListHashSetIterator::node):
2568 (ListHashSetConstIterator):
2569 (WTF::ListHashSetConstIterator::ListHashSetConstIterator):
2570 (WTF::ListHashSetConstIterator::get):
2571 (WTF::ListHashSetConstIterator::operator*):
2572 (WTF::ListHashSetConstIterator::operator->):
2573 (WTF::ListHashSetConstIterator::operator++):
2574 (WTF::ListHashSetConstIterator::operator--):
2575 (WTF::ListHashSetConstIterator::operator==):
2576 (WTF::ListHashSetConstIterator::operator!=):
2577 (WTF::ListHashSetConstIterator::node):
2578 (ListHashSetReverseIterator):
2579 (WTF::ListHashSetReverseIterator::ListHashSetReverseIterator):
2580 (WTF::ListHashSetReverseIterator::get):
2581 (WTF::ListHashSetReverseIterator::operator*):
2582 (WTF::ListHashSetReverseIterator::operator->):
2583 (WTF::ListHashSetReverseIterator::operator++):
2584 (WTF::ListHashSetReverseIterator::operator--):
2585 (WTF::ListHashSetReverseIterator::operator==):
2586 (WTF::ListHashSetReverseIterator::operator!=):
2587 (WTF::ListHashSetReverseIterator::operator const_reverse_iterator):
2588 (WTF::ListHashSetReverseIterator::node):
2589 (ListHashSetConstReverseIterator):
2590 (WTF::ListHashSetConstReverseIterator::ListHashSetConstReverseIterator):
2591 (WTF::ListHashSetConstReverseIterator::get):
2592 (WTF::ListHashSetConstReverseIterator::operator*):
2593 (WTF::ListHashSetConstReverseIterator::operator->):
2594 (WTF::ListHashSetConstReverseIterator::operator++):
2595 (WTF::ListHashSetConstReverseIterator::operator--):
2596 (WTF::ListHashSetConstReverseIterator::operator==):
2597 (WTF::ListHashSetConstReverseIterator::operator!=):
2598 (WTF::ListHashSetConstReverseIterator::node):
2599 (WTF::ListHashSetTranslator::hash):
2600 (WTF::ListHashSetTranslator::equal):
2601 (WTF::ListHashSetTranslator::translate):
2602 (WTF::::ListHashSet):
2605 (WTF::::~ListHashSet):
2615 (WTF::::removeLast):
2617 (WTF::ListHashSetTranslatorAdapter::hash):
2618 (WTF::ListHashSetTranslatorAdapter::equal):
2621 (WTF::::insertBefore):
2624 (WTF::::unlinkAndDelete):
2625 (WTF::::appendNode):
2626 (WTF::::insertNodeBefore):
2627 (WTF::::deleteAllNodes):
2628 (WTF::::makeReverseIterator):
2629 (WTF::::makeConstReverseIterator):
2630 (WTF::::makeIterator):
2631 (WTF::::makeConstIterator):
2632 (WTF::deleteAllValues):
2633 * wtf/ListRefPtr.h: Renamed from Source/JavaScriptCore/wtf/ListRefPtr.h.
2636 (WTF::ListRefPtr::ListRefPtr):
2637 (WTF::ListRefPtr::~ListRefPtr):
2638 (WTF::ListRefPtr::operator=):
2640 * wtf/Locker.h: Renamed from Source/JavaScriptCore/wtf/Locker.h.
2643 (WTF::Locker::Locker):
2644 (WTF::Locker::~Locker):
2645 * wtf/MD5.cpp: Renamed from Source/JavaScriptCore/wtf/MD5.cpp.
2649 (WTF::reverseBytes):
2650 (WTF::MD5Transform):
2652 (WTF::MD5::addBytes):
2653 (WTF::MD5::checksum):
2654 * wtf/MD5.h: Renamed from Source/JavaScriptCore/wtf/MD5.h.
2657 (WTF::MD5::addBytes):
2658 * wtf/MainThread.cpp: Renamed from Source/JavaScriptCore/wtf/MainThread.cpp.
2660 (FunctionWithContext):
2661 (WTF::FunctionWithContext::FunctionWithContext):
2662 (WTF::FunctionWithContext::operator == ):
2663 (FunctionWithContextFinder):
2664 (WTF::FunctionWithContextFinder::FunctionWithContextFinder):
2665 (WTF::FunctionWithContextFinder::operator()):
2666 (WTF::mainThreadFunctionQueueMutex):
2667 (WTF::functionQueue):
2668 (WTF::initializeMainThread):
2669 (WTF::initializeMainThreadOnce):
2670 (WTF::initializeMainThreadToProcessMainThreadOnce):
2671 (WTF::initializeMainThreadToProcessMainThread):
2672 (WTF::dispatchFunctionsFromMainThread):
2673 (WTF::callOnMainThread):
2674 (WTF::callOnMainThreadAndWait):
2675 (WTF::cancelCallOnMainThread):
2676 (WTF::callFunctionObject):
2677 (WTF::setMainThreadCallbacksPaused):
2678 (WTF::isMainThread):
2679 (WTF::initializeGCThreads):
2680 (WTF::registerGCThread):
2681 (WTF::isMainThreadOrGCThread):
2682 * wtf/MainThread.h: Renamed from Source/JavaScriptCore/wtf/MainThread.h.
2684 (WTF::isMainThreadOrGCThread):
2685 * wtf/MallocZoneSupport.h: Renamed from Source/JavaScriptCore/wtf/MallocZoneSupport.h.
2687 (RemoteMemoryReader):
2688 (WTF::RemoteMemoryReader::RemoteMemoryReader):
2689 (WTF::RemoteMemoryReader::operator()):
2690 (WTF::RemoteMemoryReader::nextEntryInLinkedList):
2691 * wtf/MathExtras.h: Renamed from Source/JavaScriptCore/wtf/MathExtras.h.
2721 (defaultMinimumForClamp):
2722 (defaultMaximumForClamp):
2726 (clampToPositiveInteger):
2730 * wtf/MessageQueue.h: Renamed from Source/JavaScriptCore/wtf/MessageQueue.h.
2733 (WTF::MessageQueue::MessageQueue):
2734 (WTF::MessageQueue::infiniteTime):
2735 (WTF::MessageQueue::alwaysTruePredicate):
2736 (WTF::::~MessageQueue):
2738 (WTF::::appendAndCheckEmpty):
2740 (WTF::::waitForMessage):
2741 (WTF::::waitForMessageFilteredWithTimeout):
2742 (WTF::::tryGetMessage):
2743 (WTF::::tryGetMessageIgnoringKilled):
2748 * wtf/MetaAllocator.cpp: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.cpp.
2750 (WTF::MetaAllocator::~MetaAllocator):
2751 (WTF::MetaAllocatorTracker::notify):
2752 (WTF::MetaAllocatorTracker::release):
2753 (WTF::MetaAllocator::release):
2754 (WTF::MetaAllocatorHandle::MetaAllocatorHandle):
2755 (WTF::MetaAllocatorHandle::~MetaAllocatorHandle):
2756 (WTF::MetaAllocatorHandle::shrink):
2757 (WTF::MetaAllocator::MetaAllocator):
2758 (WTF::MetaAllocator::allocate):
2759 (WTF::MetaAllocator::currentStatistics):
2760 (WTF::MetaAllocator::findAndRemoveFreeSpace):
2761 (WTF::MetaAllocator::addFreeSpaceFromReleasedHandle):
2762 (WTF::MetaAllocator::addFreshFreeSpace):
2763 (WTF::MetaAllocator::debugFreeSpaceSize):
2764 (WTF::MetaAllocator::addFreeSpace):
2765 (WTF::MetaAllocator::incrementPageOccupancy):
2766 (WTF::MetaAllocator::decrementPageOccupancy):
2767 (WTF::MetaAllocator::roundUp):
2768 (WTF::MetaAllocator::allocFreeSpaceNode):
2769 (WTF::MetaAllocator::freeFreeSpaceNode):
2770 (WTF::MetaAllocator::dumpProfile):
2771 * wtf/MetaAllocator.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.h.
2773 (MetaAllocatorTracker):
2774 (WTF::MetaAllocatorTracker::find):
2776 (WTF::MetaAllocator::trackAllocations):
2777 (WTF::MetaAllocator::bytesAllocated):
2778 (WTF::MetaAllocator::bytesReserved):
2779 (WTF::MetaAllocator::bytesCommitted):
2781 (WTF::MetaAllocator::dumpProfile):
2783 (WTF::MetaAllocator::FreeSpaceNode::FreeSpaceNode):
2784 (WTF::MetaAllocator::FreeSpaceNode::key):
2785 * wtf/MetaAllocatorHandle.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocatorHandle.h.
2787 (MetaAllocatorHandle):
2788 (WTF::MetaAllocatorHandle::start):
2789 (WTF::MetaAllocatorHandle::end):
2790 (WTF::MetaAllocatorHandle::sizeInBytes):
2791 (WTF::MetaAllocatorHandle::isManaged):
2792 (WTF::MetaAllocatorHandle::allocator):
2793 (WTF::MetaAllocatorHandle::ownerUID):
2794 (WTF::MetaAllocatorHandle::key):
2795 * wtf/NonCopyingSort.h: Renamed from Source/JavaScriptCore/wtf/NonCopyingSort.h.
2800 (WTF::nonCopyingSort):
2801 * wtf/Noncopyable.h: Renamed from Source/JavaScriptCore/wtf/Noncopyable.h.
2802 * wtf/NotFound.h: Renamed from Source/JavaScriptCore/wtf/NotFound.h.
2804 * wtf/NullPtr.cpp: Renamed from Source/JavaScriptCore/wtf/NullPtr.cpp.
2805 * wtf/NullPtr.h: Renamed from Source/JavaScriptCore/wtf/NullPtr.h.
2806 * wtf/NumberOfCores.cpp: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.cpp.
2808 (WTF::numberOfProcessorCores):
2809 * wtf/NumberOfCores.h: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.h.
2811 * wtf/OSAllocator.h: Renamed from Source/JavaScriptCore/wtf/OSAllocator.h.
2814 (WTF::OSAllocator::reserveAndCommit):
2815 (WTF::OSAllocator::decommitAndRelease):
2816 (WTF::OSAllocator::reallocateCommitted):
2817 * wtf/OSAllocatorPosix.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp.
2819 (WTF::OSAllocator::reserveUncommitted):
2820 (WTF::OSAllocator::reserveAndCommit):
2821 (WTF::OSAllocator::commit):
2822 (WTF::OSAllocator::decommit):
2823 (WTF::OSAllocator::releaseDecommitted):
2824 * wtf/OSAllocatorWin.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorWin.cpp.
2827 (WTF::OSAllocator::reserveUncommitted):
2828 (WTF::OSAllocator::reserveAndCommit):
2829 (WTF::OSAllocator::commit):
2830 (WTF::OSAllocator::decommit):
2831 (WTF::OSAllocator::releaseDecommitted):
2832 * wtf/OSRandomSource.cpp: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.cpp.
2834 (WTF::cryptographicallyRandomValuesFromOS):
2835 * wtf/OSRandomSource.h: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.h.
2837 * wtf/OwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnArrayPtr.h.
2840 (WTF::OwnArrayPtr::OwnArrayPtr):
2841 (WTF::OwnArrayPtr::~OwnArrayPtr):
2842 (WTF::OwnArrayPtr::get):
2843 (WTF::OwnArrayPtr::operator*):
2844 (WTF::OwnArrayPtr::operator->):
2845 (WTF::OwnArrayPtr::operator[]):
2846 (WTF::OwnArrayPtr::operator!):
2847 (WTF::OwnArrayPtr::operator UnspecifiedBoolType):
2848 (WTF::OwnArrayPtr::operator=):
2849 (WTF::OwnArrayPtr::swap):
2850 (WTF::::OwnArrayPtr):
2859 * wtf/OwnPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnPtr.h.
2862 (WTF::OwnPtr::OwnPtr):
2863 (WTF::OwnPtr::~OwnPtr):
2865 (WTF::OwnPtr::operator*):
2866 (WTF::OwnPtr::operator->):
2867 (WTF::OwnPtr::operator!):
2868 (WTF::OwnPtr::operator UnspecifiedBoolType):
2869 (WTF::OwnPtr::operator=):
2870 (WTF::OwnPtr::swap):
2871 (WTF::OwnPtr::operator==):
2872 (WTF::OwnPtr::operator!=):
2882 * wtf/OwnPtrCommon.h: Renamed from Source/JavaScriptCore/wtf/OwnPtrCommon.h.
2884 (WTF::deleteOwnedPtr):
2885 * wtf/PackedIntVector.h: Renamed from Source/JavaScriptCore/wtf/PackedIntVector.h.
2888 (WTF::PackedIntVector::PackedIntVector):
2889 (WTF::PackedIntVector::operator=):
2890 (WTF::PackedIntVector::size):
2891 (WTF::PackedIntVector::ensureSize):
2892 (WTF::PackedIntVector::resize):
2893 (WTF::PackedIntVector::clearAll):
2894 (WTF::PackedIntVector::get):
2895 (WTF::PackedIntVector::set):
2896 (WTF::PackedIntVector::mask):
2897 * wtf/PageAllocation.h: Renamed from Source/JavaScriptCore/wtf/PageAllocation.h.
2900 (WTF::PageAllocation::PageAllocation):
2901 (WTF::PageAllocation::operator bool):
2902 (WTF::PageAllocation::allocate):
2903 (WTF::PageAllocation::deallocate):
2904 * wtf/PageAllocationAligned.cpp: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.cpp.
2906 (WTF::PageAllocationAligned::allocate):
2907 (WTF::PageAllocationAligned::deallocate):
2908 * wtf/PageAllocationAligned.h: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.h.
2910 (PageAllocationAligned):
2911 (WTF::PageAllocationAligned::PageAllocationAligned):
2912 * wtf/PageBlock.cpp: Renamed from Source/JavaScriptCore/wtf/PageBlock.cpp.
2914 (WTF::systemPageSize):
2917 * wtf/PageBlock.h: Renamed from Source/JavaScriptCore/wtf/PageBlock.h.
2919 (WTF::isPageAligned):
2920 (WTF::isPowerOfTwo):
2922 (WTF::PageBlock::base):
2923 (WTF::PageBlock::size):
2924 (WTF::PageBlock::operator bool):
2925 (WTF::PageBlock::contains):
2926 (WTF::PageBlock::PageBlock):
2927 * wtf/PageReservation.h: Renamed from Source/JavaScriptCore/wtf/PageReservation.h.
2930 (WTF::PageReservation::PageReservation):
2931 (WTF::PageReservation::operator bool):
2932 (WTF::PageReservation::commit):
2933 (WTF::PageReservation::decommit):
2934 (WTF::PageReservation::committed):
2935 (WTF::PageReservation::reserve):
2936 (WTF::PageReservation::reserveWithGuardPages):
2937 (WTF::PageReservation::deallocate):
2938 * wtf/ParallelJobs.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobs.h.
2941 (WTF::ParallelJobs::ParallelJobs):
2942 (WTF::ParallelJobs::numberOfJobs):
2943 (WTF::ParallelJobs::parameter):
2944 (WTF::ParallelJobs::execute):
2945 * wtf/ParallelJobsGeneric.cpp: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.cpp.
2947 (WTF::ParallelEnvironment::ParallelEnvironment):
2948 (WTF::ParallelEnvironment::execute):
2949 (WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
2950 (WTF::ParallelEnvironment::ThreadPrivate::execute):
2951 (WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
2952 (WTF::ParallelEnvironment::ThreadPrivate::workerThread):
2953 * wtf/ParallelJobsGeneric.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.h.
2955 (ParallelEnvironment):
2956 (WTF::ParallelEnvironment::numberOfJobs):
2958 (WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
2959 (WTF::ParallelEnvironment::ThreadPrivate::create):
2960 * wtf/ParallelJobsLibdispatch.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsLibdispatch.h.
2962 (ParallelEnvironment):
2963 (WTF::ParallelEnvironment::ParallelEnvironment):
2964 (WTF::ParallelEnvironment::numberOfJobs):
2965 (WTF::ParallelEnvironment::execute):
2966 * wtf/ParallelJobsOpenMP.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsOpenMP.h.
2968 (ParallelEnvironment):
2969 (WTF::ParallelEnvironment::ParallelEnvironment):
2970 (WTF::ParallelEnvironment::numberOfJobs):
2971 (WTF::ParallelEnvironment::execute):
2972 * wtf/PassOwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnArrayPtr.h.
2975 (WTF::PassOwnArrayPtr::PassOwnArrayPtr):
2976 (WTF::PassOwnArrayPtr::~PassOwnArrayPtr):
2977 (WTF::PassOwnArrayPtr::get):
2978 (WTF::PassOwnArrayPtr::operator*):
2979 (WTF::PassOwnArrayPtr::operator->):
2980 (WTF::PassOwnArrayPtr::operator!):
2981 (WTF::PassOwnArrayPtr::operator UnspecifiedBoolType):
2982 (WTF::PassOwnArrayPtr::operator=):
2986 (WTF::adoptArrayPtr):
2987 (WTF::deleteOwnedArrayPtr):
2988 (WTF::static_pointer_cast):
2989 (WTF::const_pointer_cast):
2991 * wtf/PassOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnPtr.h.
2994 (WTF::PassOwnPtr::PassOwnPtr):
2995 (WTF::PassOwnPtr::~PassOwnPtr):
2996 (WTF::PassOwnPtr::get):
2997 (WTF::PassOwnPtr::operator*):
2998 (WTF::PassOwnPtr::operator->):
2999 (WTF::PassOwnPtr::operator!):
3000 (WTF::PassOwnPtr::operator UnspecifiedBoolType):
3001 (WTF::PassOwnPtr::operator=):
3002 (WTF::PassOwnPtr::operator==):
3003 (WTF::PassOwnPtr::operator!=):
3008 (WTF::static_pointer_cast):
3009 (WTF::const_pointer_cast):
3011 * wtf/PassRefPtr.h: Renamed from Source/JavaScriptCore/wtf/PassRefPtr.h.
3014 (WTF::refIfNotNull):
3015 (WTF::derefIfNotNull):
3017 (WTF::PassRefPtr::PassRefPtr):
3018 (WTF::PassRefPtr::~PassRefPtr):
3019 (WTF::PassRefPtr::get):
3020 (WTF::PassRefPtr::operator*):
3021 (WTF::PassRefPtr::operator->):
3022 (WTF::PassRefPtr::operator!):
3023 (WTF::PassRefPtr::operator UnspecifiedBoolType):
3024 (WTF::PassRefPtr::operator=):
3025 (NonNullPassRefPtr):
3026 (WTF::NonNullPassRefPtr::NonNullPassRefPtr):
3027 (WTF::NonNullPassRefPtr::~NonNullPassRefPtr):
3028 (WTF::NonNullPassRefPtr::get):
3029 (WTF::NonNullPassRefPtr::operator*):
3030 (WTF::NonNullPassRefPtr::operator->):
3031 (WTF::NonNullPassRefPtr::operator=):
3032 (WTF::::PassRefPtr):
3037 (WTF::static_pointer_cast):
3038 (WTF::const_pointer_cast):
3040 * wtf/PassTraits.h: Renamed from Source/JavaScriptCore/wtf/PassTraits.h.
3043 (WTF::PassTraits::transfer):
3044 * wtf/PlatformBlackBerry.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformBlackBerry.cmake.
3045 * wtf/PlatformEfl.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformEfl.cmake.
3046 * wtf/PlatformWinCE.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformWinCE.cmake.
3047 * wtf/PossiblyNull.h: Renamed from Source/JavaScriptCore/wtf/PossiblyNull.h.
3049 (WTF::PossiblyNull::PossiblyNull):
3050 (WTF::PossiblyNull::~PossiblyNull):
3053 * wtf/RandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/RandomNumber.cpp.
3055 (WTF::randomNumber):
3056 * wtf/RandomNumber.h: Renamed from Source/JavaScriptCore/wtf/RandomNumber.h.
3058 * wtf/RandomNumberSeed.h: Renamed from Source/JavaScriptCore/wtf/RandomNumberSeed.h.
3060 (WTF::initializeRandomNumberGenerator):
3061 * wtf/RedBlackTree.h: Renamed from Source/JavaScriptCore/wtf/RedBlackTree.h.
3065 (WTF::RedBlackTree::Node::successor):
3066 (WTF::RedBlackTree::Node::predecessor):
3067 (WTF::RedBlackTree::Node::reset):
3068 (WTF::RedBlackTree::Node::parent):
3069 (WTF::RedBlackTree::Node::setParent):
3070 (WTF::RedBlackTree::Node::left):
3071 (WTF::RedBlackTree::Node::setLeft):
3072 (WTF::RedBlackTree::Node::right):
3073 (WTF::RedBlackTree::Node::setRight):
3074 (WTF::RedBlackTree::Node::color):
3075 (WTF::RedBlackTree::Node::setColor):
3076 (WTF::RedBlackTree::RedBlackTree):
3077 (WTF::RedBlackTree::insert):
3078 (WTF::RedBlackTree::remove):
3079 (WTF::RedBlackTree::findExact):
3080 (WTF::RedBlackTree::findLeastGreaterThanOrEqual):
3081 (WTF::RedBlackTree::findGreatestLessThanOrEqual):
3082 (WTF::RedBlackTree::first):
3083 (WTF::RedBlackTree::last):
3084 (WTF::RedBlackTree::size):
3085 (WTF::RedBlackTree::isEmpty):
3086 (WTF::RedBlackTree::treeMinimum):
3087 (WTF::RedBlackTree::treeMaximum):
3088 (WTF::RedBlackTree::treeInsert):
3089 (WTF::RedBlackTree::leftRotate):
3090 (WTF::RedBlackTree::rightRotate):
3091 (WTF::RedBlackTree::removeFixup):
3092 * wtf/RefCounted.h: Renamed from Source/JavaScriptCore/wtf/RefCounted.h.
3095 (WTF::RefCountedBase::ref):
3096 (WTF::RefCountedBase::hasOneRef):
3097 (WTF::RefCountedBase::refCount):
3098 (WTF::RefCountedBase::turnOffVerifier):
3099 (WTF::RefCountedBase::relaxAdoptionRequirement):
3100 (WTF::RefCountedBase::addressOfCount):
3101 (WTF::RefCountedBase::RefCountedBase):
3102 (WTF::RefCountedBase::~RefCountedBase):
3103 (WTF::RefCountedBase::derefBase):
3104 (WTF::RefCountedBase::deletionHasBegun):
3107 (WTF::RefCounted::deref):
3108 (WTF::RefCounted::RefCounted):
3109 (WTF::RefCounted::~RefCounted):
3110 (RefCountedCustomAllocated):
3111 (WTF::RefCountedCustomAllocated::deref):
3112 (WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
3113 (WTF::RefCountedBase::setMutexForVerifier):
3114 (WTF::RefCountedBase::setDispatchQueueForVerifier):
3115 * wtf/RefCountedArray.h: Renamed from Source/JavaScriptCore/wtf/RefCountedArray.h.
3118 (WTF::RefCountedArray::RefCountedArray):
3119 (WTF::RefCountedArray::operator=):
3120 (WTF::RefCountedArray::~RefCountedArray):
3121 (WTF::RefCountedArray::size):
3122 (WTF::RefCountedArray::data):
3123 (WTF::RefCountedArray::begin):
3124 (WTF::RefCountedArray::end):
3125 (WTF::RefCountedArray::at):
3126 (WTF::RefCountedArray::operator[]):
3128 (WTF::RefCountedArray::Header::size):
3129 (WTF::RefCountedArray::Header::payload):
3130 (WTF::RefCountedArray::Header::fromPayload):
3131 * wtf/RefCountedLeakCounter.cpp: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.cpp.
3133 (WTF::RefCountedLeakCounter::suppressMessages):
3134 (WTF::RefCountedLeakCounter::cancelMessageSuppression):
3135 (WTF::RefCountedLeakCounter::RefCountedLeakCounter):
3136 (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
3137 (WTF::RefCountedLeakCounter::increment):
3138 (WTF::RefCountedLeakCounter::decrement):
3139 * wtf/RefCountedLeakCounter.h: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.h.
3141 (RefCountedLeakCounter):
3142 * wtf/RefPtr.h: Renamed from Source/JavaScriptCore/wtf/RefPtr.h.
3145 (WTF::RefPtr::RefPtr):
3146 (WTF::RefPtr::isHashTableDeletedValue):
3147 (WTF::RefPtr::~RefPtr):
3149 (WTF::RefPtr::release):
3150 (WTF::RefPtr::operator*):
3151 (WTF::RefPtr::operator->):
3152 (WTF::RefPtr::operator!):
3153 (WTF::RefPtr::operator UnspecifiedBoolType):
3154 (WTF::RefPtr::operator=):
3155 (WTF::RefPtr::hashTableDeletedValue):
3163 (WTF::static_pointer_cast):
3164 (WTF::const_pointer_cast):
3166 * wtf/RefPtrHashMap.h: Renamed from Source/JavaScriptCore/wtf/RefPtrHashMap.h.
3184 * wtf/RetainPtr.h: Renamed from Source/JavaScriptCore/wtf/RetainPtr.h.
3186 (WTF::adoptNSReference):
3188 (WTF::RetainPtr::RetainPtr):
3189 (WTF::RetainPtr::isHashTableDeletedValue):
3190 (WTF::RetainPtr::~RetainPtr):
3191 (WTF::RetainPtr::get):
3192 (WTF::RetainPtr::operator->):
3193 (WTF::RetainPtr::operator!):
3194 (WTF::RetainPtr::operator UnspecifiedBoolType):
3195 (WTF::RetainPtr::operator=):
3196 (WTF::RetainPtr::hashTableDeletedValue):
3210 * wtf/SHA1.cpp: Renamed from Source/JavaScriptCore/wtf/SHA1.cpp.
3218 (WTF::SHA1::addBytes):
3219 (WTF::SHA1::computeHash):
3220 (WTF::SHA1::finalize):
3221 (WTF::SHA1::processBlock):
3223 * wtf/SHA1.h: Renamed from Source/JavaScriptCore/wtf/SHA1.h.
3226 (WTF::SHA1::addBytes):
3227 * wtf/SegmentedVector.h: Renamed from Source/JavaScriptCore/wtf/SegmentedVector.h.
3229 (SegmentedVectorIterator):
3230 (WTF::SegmentedVectorIterator::~SegmentedVectorIterator):
3231 (WTF::SegmentedVectorIterator::operator*):
3232 (WTF::SegmentedVectorIterator::operator->):
3233 (WTF::SegmentedVectorIterator::operator++):
3234 (WTF::SegmentedVectorIterator::operator==):
3235 (WTF::SegmentedVectorIterator::operator!=):
3236 (WTF::SegmentedVectorIterator::operator=):
3237 (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
3239 (WTF::SegmentedVector::SegmentedVector):
3240 (WTF::SegmentedVector::~SegmentedVector):
3241 (WTF::SegmentedVector::size):
3242 (WTF::SegmentedVector::isEmpty):
3243 (WTF::SegmentedVector::at):
3244 (WTF::SegmentedVector::operator[]):
3245 (WTF::SegmentedVector::last):
3246 (WTF::SegmentedVector::append):
3247 (WTF::SegmentedVector::alloc):
3248 (WTF::SegmentedVector::removeLast):
3249 (WTF::SegmentedVector::grow):
3250 (WTF::SegmentedVector::clear):
3251 (WTF::SegmentedVector::begin):
3252 (WTF::SegmentedVector::end):
3253 (WTF::SegmentedVector::deleteAllSegments):
3254 (WTF::SegmentedVector::segmentExistsFor):
3255 (WTF::SegmentedVector::segmentFor):
3256 (WTF::SegmentedVector::subscriptFor):
3257 (WTF::SegmentedVector::ensureSegmentsFor):
3258 (WTF::SegmentedVector::ensureSegment):
3259 * wtf/SentinelLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SentinelLinkedList.h.
3261 (BasicRawSentinelNode):
3262 (WTF::BasicRawSentinelNode::BasicRawSentinelNode):
3263 (WTF::BasicRawSentinelNode::setPrev):
3264 (WTF::BasicRawSentinelNode::setNext):
3265 (WTF::BasicRawSentinelNode::prev):
3266 (WTF::BasicRawSentinelNode::next):
3267 (WTF::BasicRawSentinelNode::isOnList):
3268 (SentinelLinkedList):
3269 (WTF::SentinelLinkedList::isEmpty):
3271 (WTF::::SentinelLinkedList):
3275 * wtf/SimpleStats.h: Renamed from Source/JavaScriptCore/wtf/SimpleStats.h.
3278 (WTF::SimpleStats::SimpleStats):
3279 (WTF::SimpleStats::add):
3280 (WTF::SimpleStats::operator!):
3281 (WTF::SimpleStats::count):
3282 (WTF::SimpleStats::sum):
3283 (WTF::SimpleStats::sumOfSquares):
3284 (WTF::SimpleStats::mean):
3285 (WTF::SimpleStats::variance):
3286 (WTF::SimpleStats::standardDeviation):
3287 * wtf/SinglyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SinglyLinkedList.h.
3290 (WTF::::SinglyLinkedList):
3294 * wtf/SizeLimits.cpp: Renamed from Source/JavaScriptCore/wtf/SizeLimits.cpp.
3296 (SameSizeAsRefCounted):
3297 * wtf/Spectrum.h: Renamed from Source/JavaScriptCore/wtf/Spectrum.h.
3300 (WTF::Spectrum::Spectrum):
3301 (WTF::Spectrum::add):
3302 (WTF::Spectrum::get):
3303 (WTF::Spectrum::begin):
3304 (WTF::Spectrum::end):
3305 (WTF::Spectrum::KeyAndCount::KeyAndCount):
3307 (WTF::Spectrum::KeyAndCount::operator<):
3308 (WTF::Spectrum::buildList):
3309 * wtf/StackBounds.cpp: Renamed from Source/JavaScriptCore/wtf/StackBounds.cpp.
3311 (WTF::estimateStackBound):
3312 (WTF::StackBounds::initialize):
3313 (WTF::detectGrowingDownward):
3314 (WTF::isPageWritable):
3315 (WTF::getLowerStackBound):
3316 (WTF::getUpperStackBound):
3317 * wtf/StackBounds.h: Renamed from Source/JavaScriptCore/wtf/StackBounds.h.
3320 (WTF::StackBounds::StackBounds):
3321 (WTF::StackBounds::currentThreadStackBounds):
3322 (WTF::StackBounds::origin):
3323 (WTF::StackBounds::current):
3324 (WTF::StackBounds::recursionLimit):
3325 (WTF::StackBounds::recursionCheck):
3326 (WTF::StackBounds::isGrowingDownward):
3327 (WTF::StackBounds::checkConsistency):
3328 * wtf/StaticConstructors.h: Renamed from Source/JavaScriptCore/wtf/StaticConstructors.h.
3329 * wtf/StdLibExtras.h: Renamed from Source/JavaScriptCore/wtf/StdLibExtras.h.
3330 (isPointerTypeAlignmentOkay):
3331 (reinterpret_cast_ptr):
3333 (WTF::isPointerAligned):
3334 (WTF::is8ByteAligned):
3335 (WTF::bitwise_cast):
3338 (WTF::roundUpToMultipleOf):
3339 (WTF::binarySearch):
3340 (WTF::binarySearchWithFunctor):
3341 (WTF::genericBinarySearch):
3343 * wtf/StringExtras.cpp: Renamed from Source/JavaScriptCore/wtf/StringExtras.cpp.
3346 * wtf/StringExtras.h: Renamed from Source/JavaScriptCore/wtf/StringExtras.h.
3355 * wtf/StringHasher.h: Renamed from Source/JavaScriptCore/wtf/StringHasher.h.
3358 (WTF::StringHasher::StringHasher):
3359 (WTF::StringHasher::addCharacters):
3360 (WTF::StringHasher::addCharacter):
3361 (WTF::StringHasher::hash):
3362 (WTF::StringHasher::computeHash):
3363 (WTF::StringHasher::hashMemory):
3364 (WTF::StringHasher::defaultConverter):
3365 (WTF::StringHasher::addCharactersToHash):
3366 * wtf/TCPackedCache.h: Renamed from Source/JavaScriptCore/wtf/TCPackedCache.h.
3368 (PackedCache::PackedCache):
3371 (PackedCache::GetOrDefault):
3372 (PackedCache::Clear):
3373 (PackedCache::EntryToValue):
3374 (PackedCache::EntryToUpper):
3375 (PackedCache::KeyToUpper):
3376 (PackedCache::UpperToPartialKey):
3377 (PackedCache::Hash):
3378 (PackedCache::KeyMatch):
3379 * wtf/TCPageMap.h: Renamed from Source/JavaScriptCore/wtf/TCPageMap.h.
3380 (TCMalloc_PageMap1):
3381 (TCMalloc_PageMap1::init):
3382 (TCMalloc_PageMap1::Ensure):
3383 (TCMalloc_PageMap1::PreallocateMoreMemory):
3384 (TCMalloc_PageMap1::get):
3385 (TCMalloc_PageMap1::set):
3386 (TCMalloc_PageMap2):
3388 (TCMalloc_PageMap2::init):
3389 (TCMalloc_PageMap2::get):
3390 (TCMalloc_PageMap2::set):
3391 (TCMalloc_PageMap2::Ensure):
3392 (TCMalloc_PageMap2::PreallocateMoreMemory):
3393 (TCMalloc_PageMap2::visitValues):
3394 (TCMalloc_PageMap2::visitAllocations):
3395 (TCMalloc_PageMap3):
3397 (TCMalloc_PageMap3::NewNode):
3398 (TCMalloc_PageMap3::init):
3399 (TCMalloc_PageMap3::get):
3400 (TCMalloc_PageMap3::set):
3401 (TCMalloc_PageMap3::Ensure):
3402 (TCMalloc_PageMap3::PreallocateMoreMemory):
3403 (TCMalloc_PageMap3::visitValues):
3404 (TCMalloc_PageMap3::visitAllocations):
3405 * wtf/TCSpinLock.h: Renamed from Source/JavaScriptCore/wtf/TCSpinLock.h.
3406 (TCMalloc_SpinLock):
3407 (TCMalloc_SpinLock::Lock):
3408 (TCMalloc_SpinLock::Unlock):
3409 (TCMalloc_SpinLock::IsHeld):
3410 (TCMalloc_SpinLock::Init):
3411 (TCMalloc_SpinLock::Finalize):
3412 (TCMalloc_SlowLock):
3413 (TCMalloc_SpinLockHolder):
3414 (TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
3415 (TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
3416 * wtf/TCSystemAlloc.cpp: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.cpp.
3421 (TCMalloc_SystemAlloc):
3422 (TCMalloc_SystemRelease):
3423 (TCMalloc_SystemCommit):
3424 * wtf/TCSystemAlloc.h: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.h.
3425 (TCMalloc_SystemRelease):
3426 (TCMalloc_SystemCommit):
3427 * wtf/TemporaryChange.h: Renamed from Source/JavaScriptCore/wtf/TemporaryChange.h.
3430 (WTF::TemporaryChange::TemporaryChange):
3431 (WTF::TemporaryChange::~TemporaryChange):
3432 * wtf/ThreadFunctionInvocation.h: Renamed from Source/JavaScriptCore/wtf/ThreadFunctionInvocation.h.
3434 (WTF::ThreadFunctionInvocation::ThreadFunctionInvocation):
3435 (ThreadFunctionInvocation):
3436 * wtf/ThreadIdentifierDataPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp.
3438 (WTF::ThreadIdentifierData::~ThreadIdentifierData):
3439 (WTF::ThreadIdentifierData::initializeOnce):
3440 (WTF::ThreadIdentifierData::identifier):
3441 (WTF::ThreadIdentifierData::initialize):
3442 (WTF::ThreadIdentifierData::destruct):
3443 * wtf/ThreadIdentifierDataPthreads.h: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h.
3445 (ThreadIdentifierData):
3446 (WTF::ThreadIdentifierData::ThreadIdentifierData):
3447 * wtf/ThreadRestrictionVerifier.h: Renamed from Source/JavaScriptCore/wtf/ThreadRestrictionVerifier.h.
3449 (ThreadRestrictionVerifier):
3450 (WTF::ThreadRestrictionVerifier::ThreadRestrictionVerifier):
3451 (WTF::ThreadRestrictionVerifier::~ThreadRestrictionVerifier):
3452 (WTF::ThreadRestrictionVerifier::setMutexMode):
3453 (WTF::ThreadRestrictionVerifier::setDispatchQueueMode):
3454 (WTF::ThreadRestrictionVerifier::turnOffVerification):
3455 (WTF::ThreadRestrictionVerifier::setShared):
3456 (WTF::ThreadRestrictionVerifier::isSafeToUse):
3457 * wtf/ThreadSafeRefCounted.h: Renamed from Source/JavaScriptCore/wtf/ThreadSafeRefCounted.h.
3459 (ThreadSafeRefCountedBase):
3460 (WTF::ThreadSafeRefCountedBase::ThreadSafeRefCountedBase):
3461 (WTF::ThreadSafeRefCountedBase::ref):
3462 (WTF::ThreadSafeRefCountedBase::hasOneRef):
3463 (WTF::ThreadSafeRefCountedBase::refCount):
3464 (WTF::ThreadSafeRefCountedBase::derefBase):
3465 (ThreadSafeRefCounted):
3466 (WTF::ThreadSafeRefCounted::deref):
3467 (WTF::ThreadSafeRefCounted::ThreadSafeRefCounted):
3468 * wtf/ThreadSpecific.h: Renamed from Source/JavaScriptCore/wtf/ThreadSpecific.h.
3472 (WTF::ThreadSpecific::Data::Data):
3473 (WTF::::ThreadSpecific):
3476 (WTF::::~ThreadSpecific):
3481 * wtf/ThreadSpecificWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadSpecificWin.cpp.
3485 (WTF::ThreadSpecificThreadExit):
3486 * wtf/Threading.cpp: Renamed from Source/JavaScriptCore/wtf/Threading.cpp.
3489 (WTF::NewThreadContext::NewThreadContext):
3490 (WTF::threadEntryPoint):
3491 (WTF::createThread):
3492 (WTF::ThreadFunctionWithReturnValueInvocation::ThreadFunctionWithReturnValueInvocation):
3493 (ThreadFunctionWithReturnValueInvocation):
3494 (WTF::compatEntryPoint):
3495 (WTF::waitForThreadCompletion):
3496 * wtf/Threading.h: Renamed from Source/JavaScriptCore/wtf/Threading.h.
3498 * wtf/ThreadingNone.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingNone.cpp.
3499 * wtf/ThreadingPrimitives.h: Renamed from Source/JavaScriptCore/wtf/ThreadingPrimitives.h.
3502 (PlatformCondition):
3507 * wtf/ThreadingPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingPthreads.cpp.
3509 (WTF::threadMapMutex):
3510 (WTF::initializeThreading):
3511 (WTF::lockAtomicallyInitializedStaticMutex):
3512 (WTF::unlockAtomicallyInitializedStaticMutex):
3514 (WTF::identifierByPthreadHandle):
3515 (WTF::establishIdentifierForPthreadHandle):
3516 (WTF::pthreadHandleForIdentifier):
3517 (WTF::clearPthreadHandleForIdentifier):
3518 (WTF::wtfThreadEntryPoint):
3519 (WTF::createThreadInternal):
3520 (WTF::initializeCurrentThreadInternal):
3521 (WTF::waitForThreadCompletion):
3522 (WTF::detachThread):
3524 (WTF::currentThread):
3525 (WTF::Mutex::Mutex):
3526 (WTF::Mutex::~Mutex):
3528 (WTF::Mutex::tryLock):
3529 (WTF::Mutex::unlock):
3530 (WTF::ReadWriteLock::ReadWriteLock):
3531 (WTF::ReadWriteLock::~ReadWriteLock):
3532 (WTF::ReadWriteLock::readLock):
3533 (WTF::ReadWriteLock::tryReadLock):
3534 (WTF::ReadWriteLock::writeLock):
3535 (WTF::ReadWriteLock::tryWriteLock):
3536 (WTF::ReadWriteLock::unlock):
3537 (WTF::ThreadCondition::ThreadCondition):
3538 (WTF::ThreadCondition::~ThreadCondition):
3539 (WTF::ThreadCondition::wait):
3540 (WTF::ThreadCondition::timedWait):
3541 (WTF::ThreadCondition::signal):
3542 (WTF::ThreadCondition::broadcast):
3543 * wtf/ThreadingWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingWin.cpp.
3545 (tagTHREADNAME_INFO):
3546 (WTF::initializeCurrentThreadInternal):
3547 (WTF::lockAtomicallyInitializedStaticMutex):
3548 (WTF::unlockAtomicallyInitializedStaticMutex):
3549 (WTF::threadMapMutex):
3550 (WTF::initializeThreading):
3552 (WTF::storeThreadHandleByIdentifier):
3553 (WTF::threadHandleForIdentifier):
3554 (WTF::clearThreadHandleForIdentifier):
3555 (WTF::wtfThreadEntryPoint):
3556 (WTF::createThreadInternal):
3557 (WTF::waitForThreadCompletion):
3558 (WTF::detachThread):
3560 (WTF::currentThread):
3561 (WTF::Mutex::Mutex):
3562 (WTF::Mutex::~Mutex):
3564 (WTF::Mutex::tryLock):
3565 (WTF::Mutex::unlock):
3566 (WTF::PlatformCondition::timedWait):
3567 (WTF::PlatformCondition::signal):
3568 (WTF::ThreadCondition::ThreadCondition):
3569 (WTF::ThreadCondition::~ThreadCondition):
3570 (WTF::ThreadCondition::wait):
3571 (WTF::ThreadCondition::timedWait):
3572 (WTF::ThreadCondition::signal):
3573 (WTF::ThreadCondition::broadcast):
3574 (WTF::absoluteTimeToWaitTimeoutInterval):
3575 * wtf/TypeTraits.cpp: Renamed from Source/JavaScriptCore/wtf/TypeTraits.cpp.
3577 * wtf/TypeTraits.h: Renamed from Source/JavaScriptCore/wtf/TypeTraits.h.
3579 (IsConvertibleToInteger):
3584 (IsSubclassOfTemplate):
3588 (RemoveConstVolatile):
3594 * wtf/TypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/TypedArrayBase.h.
3597 (WTF::TypedArrayBase::data):
3598 (WTF::TypedArrayBase::set):
3599 (WTF::TypedArrayBase::setRange):
3600 (WTF::TypedArrayBase::zeroRange):
3601 (WTF::TypedArrayBase::length):
3602 (WTF::TypedArrayBase::byteLength):
3603 (WTF::TypedArrayBase::TypedArrayBase):
3604 (WTF::TypedArrayBase::create):
3605 (WTF::TypedArrayBase::subarrayImpl):
3606 (WTF::TypedArrayBase::neuter):
3607 * wtf/Uint16Array.h: Renamed from Source/JavaScriptCore/wtf/Uint16Array.h.
3610 (WTF::Uint16Array::set):
3611 (WTF::Uint16Array::isUnsignedShortArray):
3612 (WTF::Uint16Array::create):
3613 (WTF::Uint16Array::Uint16Array):
3614 (WTF::Uint16Array::subarray):
3615 * wtf/Uint32Array.h: Renamed from Source/JavaScriptCore/wtf/Uint32Array.h.
3618 (WTF::Uint32Array::set):
3619 (WTF::Uint32Array::isUnsignedIntArray):
3620 (WTF::Uint32Array::create):
3621 (WTF::Uint32Array::Uint32Array):
3622 (WTF::Uint32Array::subarray):
3623 * wtf/Uint8Array.h: Renamed from Source/JavaScriptCore/wtf/Uint8Array.h.
3626 (WTF::Uint8Array::set):
3627 (WTF::Uint8Array::isUnsignedByteArray):
3628 (WTF::Uint8Array::create):
3629 (WTF::Uint8Array::Uint8Array):
3630 (WTF::Uint8Array::subarray):
3631 * wtf/Uint8ClampedArray.h: Renamed from Source/JavaScriptCore/wtf/Uint8ClampedArray.h.
3633 (Uint8ClampedArray):
3634 (WTF::Uint8ClampedArray::set):
3635 (WTF::Uint8ClampedArray::isUnsignedByteClampedArray):
3636 (WTF::Uint8ClampedArray::create):
3637 (WTF::Uint8ClampedArray::Uint8ClampedArray):
3638 (WTF::Uint8ClampedArray::subarray):
3639 * wtf/UnionFind.h: Renamed from Source/JavaScriptCore/wtf/UnionFind.h.
3642 (WTF::UnionFind::UnionFind):
3643 (WTF::UnionFind::find):
3644 (WTF::UnionFind::unify):
3645 * wtf/UnusedParam.h: Renamed from Source/JavaScriptCore/wtf/UnusedParam.h.
3647 * wtf/VMTags.h: Renamed from Source/JavaScriptCore/wtf/VMTags.h.
3648 * wtf/ValueCheck.h: Renamed from Source/JavaScriptCore/wtf/ValueCheck.h.
3651 (WTF::ValueCheck::checkConsistency):
3652 * wtf/Vector.h: Renamed from Source/JavaScriptCore/wtf/Vector.h.
3654 (WTF::VectorTypeOperations::destruct):
3655 (VectorTypeOperations):
3656 (WTF::VectorTypeOperations::initialize):
3657 (WTF::VectorTypeOperations::move):
3658 (WTF::VectorTypeOperations::moveOverlapping):
3659 (WTF::VectorTypeOperations::uninitializedCopy):
3660 (WTF::VectorTypeOperations::uninitializedFill):
3661 (WTF::VectorTypeOperations::compare):
3663 (WTF::VectorBufferBase::allocateBuffer):
3664 (WTF::VectorBufferBase::tryAllocateBuffer):
3665 (WTF::VectorBufferBase::deallocateBuffer):
3666 (WTF::VectorBufferBase::buffer):
3667 (WTF::VectorBufferBase::bufferSlot):
3668 (WTF::VectorBufferBase::capacity):
3669 (WTF::VectorBufferBase::releaseBuffer):
3670 (WTF::VectorBufferBase::VectorBufferBase):
3671 (WTF::VectorBufferBase::~VectorBufferBase):
3673 (WTF::VectorBuffer::VectorBuffer):
3674 (WTF::VectorBuffer::~VectorBuffer):
3675 (WTF::VectorBuffer::allocateBuffer):
3676 (WTF::VectorBuffer::tryAllocateBuffer):
3677 (WTF::VectorBuffer::deallocateBuffer):
3678 (WTF::VectorBuffer::swap):
3679 (WTF::VectorBuffer::restoreInlineBufferIfNeeded):
3680 (WTF::VectorBuffer::releaseBuffer):
3681 (WTF::VectorBuffer::inlineBuffer):
3683 (WTF::Vector::Vector):
3684 (WTF::Vector::~Vector):
3685 (WTF::Vector::size):
3686 (WTF::Vector::capacity):
3687 (WTF::Vector::isEmpty):
3689 (WTF::Vector::operator[]):
3690 (WTF::Vector::data):
3691 (WTF::Vector::dataSlot):
3692 (WTF::Vector::begin):
3694 (WTF::Vector::rbegin):
3695 (WTF::Vector::rend):
3696 (WTF::Vector::reversed):
3697 (WTF::Vector::first):
3698 (WTF::Vector::last):
3699 (WTF::Vector::shrinkToFit):
3700 (WTF::Vector::clear):
3701 (WTF::Vector::removeLast):
3702 (WTF::Vector::fill):
3703 (WTF::Vector::swap):
3704 (VectorReverseProxy):
3705 (WTF::Vector::VectorReverseProxy::begin):
3706 (WTF::Vector::VectorReverseProxy::end):
3711 (WTF::typelessPointersAreEqual):
3714 (WTF::::reverseFind):
3716 (WTF::::appendRange):
3717 (WTF::::expandCapacity):
3718 (WTF::::tryExpandCapacity):
3722 (WTF::::reserveCapacity):
3723 (WTF::::tryReserveCapacity):
3724 (WTF::::reserveInitialCapacity):
3725 (WTF::::shrinkCapacity):
3728 (WTF::::appendSlowCase):
3729 (WTF::::uncheckedAppend):
3734 (WTF::::releaseBuffer):
3735 (WTF::::checkConsistency):
3736 (WTF::deleteAllValues):
3740 * wtf/VectorTraits.h: Renamed from Source/JavaScriptCore/wtf/VectorTraits.h.
3742 (SimpleClassVectorTraits):
3743 * wtf/WTFThreadData.cpp: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.cpp.
3745 (WTF::WTFThreadData::WTFThreadData):
3746 (WTF::WTFThreadData::~WTFThreadData):
3748 (JSC::IdentifierTable::~IdentifierTable):
3749 (JSC::IdentifierTable::add):
3750 * wtf/WTFThreadData.h: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.h.
3753 (JSC::IdentifierTable::remove):
3754 (JSC::IdentifierTable::literalTable):
3757 (WTF::WTFThreadData::atomicStringTable):
3758 (WTF::WTFThreadData::currentIdentifierTable):
3759 (WTF::WTFThreadData::setCurrentIdentifierTable):
3760 (WTF::WTFThreadData::resetCurrentIdentifierTable):
3761 (WTF::WTFThreadData::stack):
3762 (WTF::wtfThreadData):
3763 * wtf/blackberry/MainThreadBlackBerry.cpp: Renamed from Source/JavaScriptCore/wtf/blackberry/MainThreadBlackBerry.cpp.
3765 (WTF::initializeMainThreadPlatform):
3766 (WTF::scheduleDispatchFunctionsOnMainThread):
3767 * wtf/chromium/ChromiumThreading.h: Renamed from Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h.
3769 (ChromiumThreading):
3770 * wtf/chromium/MainThreadChromium.cpp: Renamed from Source/JavaScriptCore/wtf/chromium/MainThreadChromium.cpp.
3772 (WTF::initializeMainThread):
3773 (WTF::callOnMainThread):
3774 (WTF::callOnMainThreadAndWait):
3775 (WTF::setMainThreadCallbacksPaused):
3776 (WTF::isMainThread):
3777 * wtf/dtoa.cpp: Renamed from Source/JavaScriptCore/wtf/dtoa.cpp.
3780 (WTF::BigInt::BigInt):
3782 (WTF::BigInt::clear):
3783 (WTF::BigInt::size):
3784 (WTF::BigInt::resize):
3785 (WTF::BigInt::words):
3786 (WTF::BigInt::append):
3793 (WTF::P5Node::P5Node):
3802 * wtf/dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa.h.
3804 * wtf/dtoa/COPYING: Renamed from Source/JavaScriptCore/wtf/dtoa/COPYING.
3805 * wtf/dtoa/LICENSE: Renamed from Source/JavaScriptCore/wtf/dtoa/LICENSE.
3806 * wtf/dtoa/README: Renamed from Source/JavaScriptCore/wtf/dtoa/README.
3807 * wtf/dtoa/bignum-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.cc.
3808 * wtf/dtoa/bignum-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.h.
3810 (double_conversion):
3811 * wtf/dtoa/bignum.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.cc.
3812 * wtf/dtoa/bignum.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.h.
3814 (double_conversion):
3816 (WTF::double_conversion::Bignum::Times10):
3817 (WTF::double_conversion::Bignum::Equal):
3818 (WTF::double_conversion::Bignum::LessEqual):
3819 (WTF::double_conversion::Bignum::Less):
3820 (WTF::double_conversion::Bignum::PlusEqual):
3821 (WTF::double_conversion::Bignum::PlusLessEqual):
3822 (WTF::double_conversion::Bignum::PlusLess):
3823 (WTF::double_conversion::Bignum::EnsureCapacity):
3824 (WTF::double_conversion::Bignum::BigitLength):
3825 * wtf/dtoa/cached-powers.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.cc.
3826 * wtf/dtoa/cached-powers.h: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.h.
3828 (double_conversion):
3830 * wtf/dtoa/diy-fp.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.cc.
3831 * wtf/dtoa/diy-fp.h: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.h.
3833 (double_conversion):
3835 (WTF::double_conversion::DiyFp::DiyFp):
3836 (WTF::double_conversion::DiyFp::Subtract):
3837 (WTF::double_conversion::DiyFp::Minus):
3838 (WTF::double_conversion::DiyFp::Times):
3839 (WTF::double_conversion::DiyFp::Normalize):
3840 (WTF::double_conversion::DiyFp::f):
3841 (WTF::double_conversion::DiyFp::e):
3842 (WTF::double_conversion::DiyFp::set_f):
3843 (WTF::double_conversion::DiyFp::set_e):
3844 * wtf/dtoa/double-conversion.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.cc.
3845 * wtf/dtoa/double-conversion.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.h.
3847 (double_conversion):
3848 (DoubleToStringConverter):
3849 (WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
3850 (StringToDoubleConverter):
3851 (WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
3852 * wtf/dtoa/double.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double.h.
3854 (double_conversion):
3855 (WTF::double_conversion::double_to_uint64):
3856 (WTF::double_conversion::uint64_to_double):
3858 (WTF::double_conversion::Double::Double):
3859 (WTF::double_conversion::Double::AsDiyFp):
3860 (WTF::double_conversion::Double::AsNormalizedDiyFp):
3861 (WTF::double_conversion::Double::AsUint64):
3862 (WTF::double_conversion::Double::NextDouble):
3863 (WTF::double_conversion::Double::Exponent):
3864 (WTF::double_conversion::Double::Significand):
3865 (WTF::double_conversion::Double::IsDenormal):
3866 (WTF::double_conversion::Double::IsSpecial):
3867 (WTF::double_conversion::Double::IsNan):
3868 (WTF::double_conversion::Double::IsInfinite):
3869 (WTF::double_conversion::Double::Sign):
3870 (WTF::double_conversion::Double::UpperBoundary):
3871 (WTF::double_conversion::Double::NormalizedBoundaries):
3872 (WTF::double_conversion::Double::value):
3873 (WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
3874 (WTF::double_conversion::Double::Infinity):
3875 (WTF::double_conversion::Double::NaN):
3876 (WTF::double_conversion::Double::DiyFpToUint64):
3877 * wtf/dtoa/fast-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.cc.
3878 * wtf/dtoa/fast-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.h.
3880 (double_conversion):
3881 * wtf/dtoa/fixed-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.cc.
3882 * wtf/dtoa/fixed-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.h.
3884 (double_conversion):
3885 * wtf/dtoa/strtod.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.cc.
3886 * wtf/dtoa/strtod.h: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.h.
3888 (double_conversion):
3889 * wtf/dtoa/utils.h: Renamed from Source/JavaScriptCore/wtf/dtoa/utils.h.
3891 (double_conversion):
3892 (WTF::double_conversion::Max):
3893 (WTF::double_conversion::Min):
3894 (WTF::double_conversion::StrLength):
3896 (WTF::double_conversion::Vector::Vector):
3897 (WTF::double_conversion::Vector::SubVector):
3898 (WTF::double_conversion::Vector::length):
3899 (WTF::double_conversion::Vector::is_empty):
3900 (WTF::double_conversion::Vector::start):
3901 (WTF::double_conversion::Vector::operator[]):
3902 (WTF::double_conversion::Vector::first):
3903 (WTF::double_conversion::Vector::last):
3905 (WTF::double_conversion::StringBuilder::StringBuilder):
3906 (WTF::double_conversion::StringBuilder::~StringBuilder):
3907 (WTF::double_conversion::StringBuilder::size):
3908 (WTF::double_conversion::StringBuilder::position):
3909 (WTF::double_conversion::StringBuilder::SetPosition):
3910 (WTF::double_conversion::StringBuilder::Reset):
3911 (WTF::double_conversion::StringBuilder::AddCharacter):
3912 (WTF::double_conversion::StringBuilder::AddString):
3913 (WTF::double_conversion::StringBuilder::AddSubstring):
3914 (WTF::double_conversion::StringBuilder::AddPadding):
3915 (WTF::double_conversion::StringBuilder::Finalize):
3916 (WTF::double_conversion::StringBuilder::is_finalized):
3917 (WTF::double_conversion::BitCast):
3918 * wtf/efl/MainThreadEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/MainThreadEfl.cpp.
3921 (WTF::monitorDispatchFunctions):
3922 (WTF::initializeMainThreadPlatform):
3923 (WTF::scheduleDispatchFunctionsOnMainThread):
3924 * wtf/efl/OwnPtrEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp.
3926 (WTF::deleteOwnedPtr):
3927 * wtf/gobject/GOwnPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp.
3932 (WTF::GPatternSpec):
3936 * wtf/gobject/GOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.
3939 (WTF::GOwnPtr::GOwnPtr):
3940 (WTF::GOwnPtr::~GOwnPtr):
3941 (WTF::GOwnPtr::get):
3942 (WTF::GOwnPtr::release):
3943 (WTF::GOwnPtr::outPtr):
3944 (WTF::GOwnPtr::set):
3945 (WTF::GOwnPtr::clear):
3946 (WTF::GOwnPtr::operator*):
3947 (WTF::GOwnPtr::operator->):
3948 (WTF::GOwnPtr::operator!):
3949 (WTF::GOwnPtr::operator UnspecifiedBoolType):
3950 (WTF::GOwnPtr::swap):
3955 (WTF::freeOwnedGPtr):
3956 * wtf/gobject/GRefPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp.
3961 * wtf/gobject/GRefPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.h.
3964 (WTF::GRefPtr::GRefPtr):
3965 (WTF::GRefPtr::~GRefPtr):
3966 (WTF::GRefPtr::clear):
3967 (WTF::GRefPtr::isHashTableDeletedValue):
3968 (WTF::GRefPtr::get):
3969 (WTF::GRefPtr::operator*):
3970 (WTF::GRefPtr::operator->):
3971 (WTF::GRefPtr::operator!):
3972 (WTF::GRefPtr::operator UnspecifiedBoolType):
3973 (WTF::GRefPtr::hashTableDeletedValue):
3979 (WTF::static_pointer_cast):
3980 (WTF::const_pointer_cast):
3985 * wtf/gobject/GTypedefs.h: Renamed from Source/JavaScriptCore/wtf/gobject/GTypedefs.h.
3986 * wtf/gobject/GlibUtilities.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp.
3987 (getCurrentExecutablePath):
3988 * wtf/gobject/GlibUtilities.h: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.h.
3989 * wtf/gtk/MainThreadGtk.cpp: Renamed from Source/JavaScriptCore/wtf/gtk/MainThreadGtk.cpp.
3991 (WTF::initializeMainThreadPlatform):
3992 (WTF::timeoutFired):
3993 (WTF::scheduleDispatchFunctionsOnMainThread):
3994 * wtf/mac/MainThreadMac.mm: Renamed from Source/JavaScriptCore/wtf/mac/MainThreadMac.mm.
3995 (-[JSWTFMainThreadCaller call]):
3997 (WTF::initializeMainThreadPlatform):
3998 (WTF::initializeMainThreadToProcessMainThreadPlatform):
4001 (WTF::scheduleDispatchFunctionsOnMainThread):
4002 (WTF::isMainThread):
4003 * wtf/qt/MainThreadQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/MainThreadQt.cpp.
4005 (MainThreadInvoker):
4006 (WTF::MainThreadInvoker::MainThreadInvoker):
4007 (WTF::MainThreadInvoker::event):
4008 (WTF::initializeMainThreadPlatform):
4009 (WTF::scheduleDispatchFunctionsOnMainThread):
4010 * wtf/qt/StringQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/StringQt.cpp.
4012 (WTF::String::String):
4013 (WTF::String::operator QString):
4016 * wtf/qt/UtilsQt.h: Renamed from Source/JavaScriptCore/wtf/qt/UtilsQt.h.
4018 * wtf/qt/compat/QGuiApplication: Renamed from Source/JavaScriptCore/wtf/qt/compat/QGuiApplication.
4019 * wtf/qt/compat/qguiapplication.h: Renamed from Source/JavaScriptCore/wtf/qt/compat/qguiapplication.h.
4021 (QGuiApplication::styleHints):
4022 * wtf/text/ASCIIFastPath.h: Renamed from Source/JavaScriptCore/wtf/text/ASCIIFastPath.h.
4024 (WTF::isAlignedToMachineWord):
4025 (WTF::alignToMachineWord):
4027 (WTF::charactersAreAllASCII):
4028 * wtf/text/AtomicString.cpp: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.cpp.
4030 (AtomicStringTable):
4031 (WTF::AtomicStringTable::create):
4032 (WTF::AtomicStringTable::table):
4033 (WTF::AtomicStringTable::destroy):
4035 (WTF::addToStringTable):
4036 (WTF::CStringTranslator::hash):
4037 (CStringTranslator):
4038 (WTF::CStringTranslator::equal):
4039 (WTF::CStringTranslator::translate):
4040 (WTF::AtomicString::add):
4042 (WTF::UCharBufferTranslator::hash):
4043 (UCharBufferTranslator):
4044 (WTF::UCharBufferTranslator::equal):
4045 (WTF::UCharBufferTranslator::translate):
4046 (HashAndCharacters):
4047 (WTF::HashAndCharactersTranslator::hash):
4048 (HashAndCharactersTranslator):
4049 (WTF::HashAndCharactersTranslator::equal):
4050 (WTF::HashAndCharactersTranslator::translate):
4051 (HashAndUTF8Characters):
4052 (WTF::HashAndUTF8CharactersTranslator::hash):
4053 (HashAndUTF8CharactersTranslator):
4054 (WTF::HashAndUTF8CharactersTranslator::equal):
4055 (WTF::HashAndUTF8CharactersTranslator::translate):
4056 (SubstringLocation):
4057 (WTF::SubstringTranslator::hash):
4058 (SubstringTranslator):
4059 (WTF::SubstringTranslator::equal):
4060 (WTF::SubstringTranslator::translate):
4061 (WTF::AtomicString::addSlowCase):
4062 (WTF::AtomicString::find):
4063 (WTF::AtomicString::remove):
4064 (WTF::AtomicString::lower):
4065 (WTF::AtomicString::fromUTF8Internal):
4066 (WTF::AtomicString::show):
4067 * wtf/text/AtomicString.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.h.
4070 (WTF::AtomicString::AtomicString):
4071 (WTF::AtomicString::isHashTableDeletedValue):
4072 (WTF::AtomicString::operator const String&):
4073 (WTF::AtomicString::string):
4074 (WTF::AtomicString::impl):
4075 (WTF::AtomicString::characters):
4076 (WTF::AtomicString::length):
4077 (WTF::AtomicString::operator[]):
4078 (WTF::AtomicString::contains):
4079 (WTF::AtomicString::find):
4080 (WTF::AtomicString::startsWith):
4081 (WTF::AtomicString::endsWith):
4082 (WTF::AtomicString::upper):
4083 (WTF::AtomicString::toInt):
4084 (WTF::AtomicString::toDouble):
4085 (WTF::AtomicString::toFloat):
4086 (WTF::AtomicString::percentage):
4087 (WTF::AtomicString::isNull):
4088 (WTF::AtomicString::isEmpty):
4089 (WTF::AtomicString::createCFString):
4090 (WTF::AtomicString::operator NSString*):
4091 (WTF::AtomicString::operator QString):
4092 (WTF::AtomicString::add):
4095 (WTF::equalIgnoringCase):
4096 (WTF::AtomicString::fromUTF8):
4097 * wtf/text/AtomicStringHash.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringHash.h.
4099 (WTF::AtomicStringHash::hash):
4101 (WTF::AtomicStringHash::equal):
4102 * wtf/text/AtomicStringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringImpl.h.
4105 (WTF::AtomicStringImpl::AtomicStringImpl):
4106 * wtf/text/CString.cpp: Renamed from Source/JavaScriptCore/wtf/text/CString.cpp.
4108 (WTF::CString::CString):
4109 (WTF::CString::init):
4110 (WTF::CString::mutableData):
4111 (WTF::CString::newUninitialized):
4112 (WTF::CString::copyBufferIfNeeded):
4114 * wtf/text/CString.h: Renamed from Source/JavaScriptCore/wtf/text/CString.h.
4117 (WTF::CStringBuffer::data):
4118 (WTF::CStringBuffer::length):
4119 (WTF::CStringBuffer::create):
4120 (WTF::CStringBuffer::CStringBuffer):
4121 (WTF::CStringBuffer::mutableData):
4123 (WTF::CString::CString):
4124 (WTF::CString::data):
4125 (WTF::CString::length):
4126 (WTF::CString::isNull):
4127 (WTF::CString::buffer):
4129 * wtf/text/StringBuffer.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuffer.h.
4132 (WTF::StringBuffer::StringBuffer):
4133 (WTF::StringBuffer::~StringBuffer):
4134 (WTF::StringBuffer::shrink):
4135 (WTF::StringBuffer::resize):
4136 (WTF::StringBuffer::length):
4137 (WTF::StringBuffer::characters):
4138 (WTF::StringBuffer::operator[]):
4139 (WTF::StringBuffer::release):
4140 * wtf/text/StringBuilder.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.cpp.
4142 (WTF::StringBuilder::reifyString):
4143 (WTF::StringBuilder::resize):
4144 (WTF::StringBuilder::allocateBuffer):
4145 (WTF::StringBuilder::allocateBufferUpConvert):
4148 (WTF::StringBuilder::reserveCapacity):
4149 (WTF::StringBuilder::appendUninitialized):
4150 (WTF::StringBuilder::appendUninitializedSlow):
4151 (WTF::StringBuilder::append):
4152 (WTF::StringBuilder::canShrink):
4153 (WTF::StringBuilder::shrinkToFit):
4154 * wtf/text/StringBuilder.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.h.
4157 (WTF::StringBuilder::StringBuilder):
4158 (WTF::StringBuilder::append):
4159 (WTF::StringBuilder::toString):
4160 (WTF::StringBuilder::toStringPreserveCapacity):
4161 (WTF::StringBuilder::toAtomicString):
4162 (WTF::StringBuilder::length):
4163 (WTF::StringBuilder::isEmpty):
4164 (WTF::StringBuilder::capacity):
4165 (WTF::StringBuilder::operator[]):
4166 (WTF::StringBuilder::characters8):
4167 (WTF::StringBuilder::characters16):
4168 (WTF::StringBuilder::characters):
4169 (WTF::StringBuilder::is8Bit):
4170 (WTF::StringBuilder::clear):
4171 (WTF::StringBuilder::swap):
4177 * wtf/text/StringConcatenate.h: Renamed from Source/JavaScriptCore/wtf/text/StringConcatenate.h.
4179 (WTF::sumWithOverflow):
4180 (WTF::tryMakeString):
4182 * wtf/text/StringHash.h: Renamed from Source/JavaScriptCore/wtf/text/StringHash.h.
4184 (WTF::StringHash::hash):
4185 (WTF::StringHash::equal):
4188 (WTF::CaseFoldingHash::foldCase):
4189 (WTF::CaseFoldingHash::hash):
4190 (WTF::CaseFoldingHash::equal):
4191 (WTF::AlreadyHashed::hash):
4193 (WTF::AlreadyHashed::avoidDeletedValue):
4194 * wtf/text/StringImpl.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.cpp.
4196 (WTF::StringImpl::~StringImpl):
4197 (WTF::StringImpl::createUninitialized):
4198 (WTF::StringImpl::reallocate):
4199 (WTF::StringImpl::create):
4200 (WTF::StringImpl::getData16SlowCase):
4201 (WTF::StringImpl::upconvertCharacters):
4202 (WTF::StringImpl::containsOnlyWhitespace):
4203 (WTF::StringImpl::substring):
4204 (WTF::StringImpl::characterStartingAt):
4205 (WTF::StringImpl::lower):
4206 (WTF::StringImpl::upper):
4207 (WTF::StringImpl::fill):
4208 (WTF::StringImpl::foldCase):
4209 (WTF::StringImpl::stripMatchedCharacters):
4211 (WTF::UCharPredicate::UCharPredicate):
4212 (WTF::UCharPredicate::operator()):
4213 (SpaceOrNewlinePredicate):
4214 (WTF::SpaceOrNewlinePredicate::operator()):
4215 (WTF::StringImpl::stripWhiteSpace):
4216 (WTF::StringImpl::removeCharacters):
4217 (WTF::StringImpl::simplifyMatchedCharactersToSpace):
4218 (WTF::StringImpl::simplifyWhiteSpace):
4219 (WTF::StringImpl::toIntStrict):
4220 (WTF::StringImpl::toUIntStrict):
4221 (WTF::StringImpl::toInt64Strict):
4222 (WTF::StringImpl::toUInt64Strict):
4223 (WTF::StringImpl::toIntPtrStrict):
4224 (WTF::StringImpl::toInt):
4225 (WTF::StringImpl::toUInt):
4226 (WTF::StringImpl::toInt64):
4227 (WTF::StringImpl::toUInt64):
4228 (WTF::StringImpl::toIntPtr):
4229 (WTF::StringImpl::toDouble):
4230 (WTF::StringImpl::toFloat):
4231 (WTF::equalIgnoringCase):
4232 (WTF::StringImpl::find):
4233 (WTF::StringImpl::findIgnoringCase):
4235 (WTF::StringImpl::reverseFind):
4236 (WTF::reverseFindInner):
4237 (WTF::StringImpl::reverseFindIgnoringCase):
4238 (WTF::StringImpl::endsWith):
4239 (WTF::StringImpl::replace):
4241 (WTF::equalIgnoringNullity):
4242 (WTF::StringImpl::defaultWritingDirection):
4243 (WTF::StringImpl::adopt):
4244 (WTF::StringImpl::createWithTerminatingNullCharacter):
4245 * wtf/text/StringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.h.
4249 (WTF::StringImpl::StringImpl):
4250 (WTF::StringImpl::create):
4251 (WTF::StringImpl::create8):
4252 (WTF::StringImpl::tryCreateUninitialized):
4253 (WTF::StringImpl::flagsOffset):
4254 (WTF::StringImpl::flagIs8Bit):
4255 (WTF::StringImpl::dataOffset):
4256 (WTF::StringImpl::adopt):
4257 (WTF::StringImpl::length):
4258 (WTF::StringImpl::is8Bit):
4259 (WTF::StringImpl::characters8):
4260 (WTF::StringImpl::characters16):
4261 (WTF::StringImpl::characters):
4262 (WTF::StringImpl::cost):
4263 (WTF::StringImpl::has16BitShadow):
4264 (WTF::StringImpl::isIdentifier):
4265 (WTF::StringImpl::setIsIdentifier):
4266 (WTF::StringImpl::hasTerminatingNullCharacter):
4267 (WTF::StringImpl::isAtomic):
4268 (WTF::StringImpl::setIsAtomic):
4269 (WTF::StringImpl::setHash):
4270 (WTF::StringImpl::rawHash):
4271 (WTF::StringImpl::hasHash):
4272 (WTF::StringImpl::existingHash):
4273 (WTF::StringImpl::hash):
4274 (WTF::StringImpl::hasOneRef):
4275 (WTF::StringImpl::ref):
4276 (WTF::StringImpl::deref):
4277 (WTF::StringImpl::copyChars):
4278 (WTF::StringImpl::operator[]):
4279 (WTF::StringImpl::find):
4280 (WTF::StringImpl::findIgnoringCase):
4281 (WTF::StringImpl::startsWith):
4282 (WTF::StringImpl::bufferOwnership):
4283 (WTF::StringImpl::isStatic):
4287 (WTF::equalIgnoringCase):
4288 (WTF::equalIgnoringNullity):
4289 (WTF::codePointCompare):
4290 (WTF::codePointCompare8):
4291 (WTF::codePointCompare16):
4292 (WTF::codePointCompare8To16):
4293 (WTF::isSpaceOrNewline):
4294 (WTF::StringImpl::isolatedCopy):
4295 * wtf/text/StringOperators.h: Renamed from Source/JavaScriptCore/wtf/text/StringOperators.h.
4298 (WTF::StringAppend::StringAppend):
4299 (WTF::StringAppend::operator String):
4300 (WTF::StringAppend::operator AtomicString):
4301 (WTF::StringAppend::is8Bit):
4302 (WTF::StringAppend::writeTo):
4303 (WTF::StringAppend::length):
4305 * wtf/text/StringStatics.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringStatics.cpp.
4307 (WTF::StringImpl::empty):
4308 (WTF::StringImpl::hashSlowCase):
4309 (WTF::AtomicString::init):
4310 * wtf/text/TextPosition.h: Renamed from Source/JavaScriptCore/wtf/text/TextPosition.h.
4313 (WTF::OrdinalNumber::fromZeroBasedInt):
4314 (WTF::OrdinalNumber::fromOneBasedInt):
4315 (WTF::OrdinalNumber::OrdinalNumber):
4316 (WTF::OrdinalNumber::zeroBasedInt):
4317 (WTF::OrdinalNumber::oneBasedInt):
4318 (WTF::OrdinalNumber::operator==):
4319 (WTF::OrdinalNumber::operator!=):
4320 (WTF::OrdinalNumber::first):
4321 (WTF::OrdinalNumber::beforeFirst):
4323 (WTF::TextPosition::TextPosition):
4324 (WTF::TextPosition::operator==):
4325 (WTF::TextPosition::operator!=):
4326 (WTF::TextPosition::minimumPosition):
4327 (WTF::TextPosition::belowRangePosition):
4328 * wtf/text/WTFString.cpp: Renamed from Source/JavaScriptCore/wtf/text/WTFString.cpp.
4330 (WTF::String::String):
4331 (WTF::String::append):
4332 (WTF::codePointCompare):
4333 (WTF::String::insert):
4334 (WTF::String::characterStartingAt):
4335 (WTF::String::truncate):
4336 (WTF::String::remove):
4337 (WTF::String::substring):
4338 (WTF::String::substringSharingImpl):
4339 (WTF::String::lower):
4340 (WTF::String::upper):
4341 (WTF::String::stripWhiteSpace):
4342 (WTF::String::simplifyWhiteSpace):
4343 (WTF::String::removeCharacters):
4344 (WTF::String::foldCase):
4345 (WTF::String::percentage):
4346 (WTF::String::charactersWithNullTermination):
4347 (WTF::String::format):
4348 (WTF::String::number):
4349 (WTF::String::toIntStrict):
4350 (WTF::String::toUIntStrict):
4351 (WTF::String::toInt64Strict):
4352 (WTF::String::toUInt64Strict):
4353 (WTF::String::toIntPtrStrict):
4354 (WTF::String::toInt):
4355 (WTF::String::toUInt):
4356 (WTF::String::toInt64):
4357 (WTF::String::toUInt64):
4358 (WTF::String::toIntPtr):
4359 (WTF::String::toDouble):
4360 (WTF::String::toFloat):
4361 (WTF::String::isolatedCopy):
4362 (WTF::String::split):
4363 (WTF::String::ascii):
4364 (WTF::String::latin1):
4365 (WTF::putUTF8Triple):
4366 (WTF::String::utf8):
4367 (WTF::String::fromUTF8):
4368 (WTF::String::fromUTF8WithLatin1Fallback):
4369 (WTF::isCharacterAllowedInBase):
4370 (WTF::toIntegralType):
4371 (WTF::lengthOfCharactersAsInteger):
4372 (WTF::charactersToIntStrict):
4373 (WTF::charactersToUIntStrict):
4374 (WTF::charactersToInt64Strict):
4375 (WTF::charactersToUInt64Strict):
4376 (WTF::charactersToIntPtrStrict):
4377 (WTF::charactersToInt):
4378 (WTF::charactersToUInt):
4379 (WTF::charactersToInt64):
4380 (WTF::charactersToUInt64):
4381 (WTF::charactersToIntPtr):
4382 (WTF::toDoubleType):
4383 (WTF::charactersToDouble):
4384 (WTF::charactersToFloat):
4385 (WTF::charactersToFloatIgnoringJunk):
4390 * wtf/text/WTFString.h: Renamed from Source/JavaScriptCore/wtf/text/WTFString.h.
4394 (WTF::String::String):
4395 (WTF::String::~String):
4396 (WTF::String::swap):
4397 (WTF::String::adopt):
4398 (WTF::String::isNull):
4399 (WTF::String::isEmpty):
4400 (WTF::String::impl):
4401 (WTF::String::length):
4402 (WTF::String::characters):
4403 (WTF::String::characters8):
4404 (WTF::String::characters16):
4405 (WTF::String::is8Bit):
4406 (WTF::String::operator[]):
4407 (WTF::String::find):
4408 (WTF::String::reverseFind):
4409 (WTF::String::findIgnoringCase):
4410 (WTF::String::reverseFindIgnoringCase):
4411 (WTF::String::contains):
4412 (WTF::String::startsWith):
4413 (WTF::String::endsWith):
4414 (WTF::String::append):
4415 (WTF::String::replace):
4416 (WTF::String::makeLower):
4417 (WTF::String::makeUpper):
4418 (WTF::String::fill):
4419 (WTF::String::left):
4420 (WTF::String::right):
4421 (WTF::String::createUninitialized):
4422 (WTF::String::operator NSString*):
4423 (WTF::String::fromUTF8):
4424 (WTF::String::fromUTF8WithLatin1Fallback):
4425 (WTF::String::defaultWritingDirection):
4426 (WTF::String::containsOnlyWhitespace):
4427 (WTF::String::isHashTableDeletedValue):
4431 (WTF::equalIgnoringCase):
4432 (WTF::equalPossiblyIgnoringCase):
4433 (WTF::equalIgnoringNullity):
4438 (WTF::String::containsOnlyLatin1):
4439 (WTF::nsStringNilIfEmpty):
4440 (WTF::String::containsOnlyASCII):
4441 (WTF::codePointCompareLessThan):
4445 (WTF::appendNumber):
4446 (WTF::isAllSpecialCharacters):
4447 (WTF::String::isAllSpecialCharacters):
4448 * wtf/threads/BinarySemaphore.cpp: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.cpp.
4450 (WTF::BinarySemaphore::BinarySemaphore):
4451 (WTF::BinarySemaphore::~BinarySemaphore):
4452 (WTF::BinarySemaphore::signal):
4453 (WTF::BinarySemaphore::wait):
4454 * wtf/threads/BinarySemaphore.h: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.h.
4457 (WTF::BinarySemaphore::event):
4458 * wtf/threads/win/BinarySemaphoreWin.cpp: Renamed from Source/JavaScriptCore/wtf/threads/win/BinarySemaphoreWin.cpp.
4460 (WTF::BinarySemaphore::BinarySemaphore):
4461 (WTF::BinarySemaphore::~BinarySemaphore):
4462 (WTF::BinarySemaphore::signal):
4463 (WTF::BinarySemaphore::wait):
4464 * wtf/unicode/CharacterNames.h: Renamed from Source/JavaScriptCore/wtf/unicode/CharacterNames.h.
4466 * wtf/unicode/Collator.h: Renamed from Source/JavaScriptCore/wtf/unicode/Collator.h.
4469 * wtf/unicode/CollatorDefault.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/CollatorDefault.cpp.
4471 (WTF::Collator::Collator):
4472 (WTF::Collator::~Collator):
4473 (WTF::Collator::setOrderLowerFirst):
4474 (WTF::Collator::userDefault):
4475 (WTF::Collator::collate):
4476 * wtf/unicode/ScriptCodesFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/ScriptCodesFromICU.h.
4477 * wtf/unicode/UTF8.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.cpp.
4479 (WTF::Unicode::inlineUTF8SequenceLengthNonASCII):
4480 (WTF::Unicode::inlineUTF8SequenceLength):
4481 (WTF::Unicode::UTF8SequenceLength):
4482 (WTF::Unicode::decodeUTF8Sequence):
4483 (WTF::Unicode::convertLatin1ToUTF8):
4484 (WTF::Unicode::convertUTF16ToUTF8):
4485 (WTF::Unicode::isLegalUTF8):
4486 (WTF::Unicode::readUTF8Sequence):
4487 (WTF::Unicode::convertUTF8ToUTF16):
4488 (WTF::Unicode::calculateStringHashAndLengthFromUTF8):
4489 (WTF::Unicode::equalUTF16WithUTF8):
4490 * wtf/unicode/UTF8.h: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.h.
4492 * wtf/unicode/Unicode.h: Renamed from Source/JavaScriptCore/wtf/unicode/Unicode.h.
4493 * wtf/unicode/UnicodeMacrosFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/UnicodeMacrosFromICU.h.
4494 * wtf/unicode/glib/UnicodeGLib.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp.
4496 (WTF::Unicode::foldCase):
4497 (WTF::Unicode::getUTF16LengthFromUTF8):
4498 (WTF::Unicode::convertCase):
4499 (WTF::Unicode::toLower):
4500 (WTF::Unicode::toUpper):
4501 (WTF::Unicode::direction):
4502 (WTF::Unicode::umemcasecmp):
4503 * wtf/unicode/glib/UnicodeGLib.h: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h.
4505 (WTF::Unicode::toLower):
4506 (WTF::Unicode::toUpper):
4507 (WTF::Unicode::toTitleCase):
4508 (WTF::Unicode::isArabicChar):
4509 (WTF::Unicode::isAlphanumeric):
4510 (WTF::Unicode::isFormatChar):
4511 (WTF::Unicode::isSeparatorSpace):
4512 (WTF::Unicode::isPrintableChar):
4513 (WTF::Unicode::isDigit):
4514 (WTF::Unicode::isPunct):
4515 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
4516 (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
4517 (WTF::Unicode::mirroredChar):
4518 (WTF::Unicode::category):
4519 (WTF::Unicode::isLower):
4520 (WTF::Unicode::digitValue):
4521 (WTF::Unicode::combiningClass):
4522 (WTF::Unicode::decompositionType):
4523 * wtf/unicode/icu/CollatorICU.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp.
4525 (WTF::cachedCollatorMutex):
4526 (WTF::Collator::Collator):
4527 (WTF::Collator::userDefault):
4528 (WTF::Collator::~Collator):
4529 (WTF::Collator::setOrderLowerFirst):
4530 (WTF::Collator::collate):
4531 (WTF::Collator::createCollator):
4532 (WTF::Collator::releaseCollator):
4533 * wtf/unicode/icu/UnicodeIcu.h: Renamed from Source/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h.
4535 (WTF::Unicode::foldCase):
4536 (WTF::Unicode::toLower):
4537 (WTF::Unicode::toUpper):
4538 (WTF::Unicode::toTitleCase):
4539 (WTF::Unicode::isArabicChar):
4540 (WTF::Unicode::isAlphanumeric):
4541 (WTF::Unicode::isSeparatorSpace):
4542 (WTF::Unicode::isPrintableChar):
4543 (WTF::Unicode::isPunct):
4544 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
4545 (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
4546 (WTF::Unicode::mirroredChar):
4547 (WTF::Unicode::category):
4548 (WTF::Unicode::direction):
4549 (WTF::Unicode::isLower):
4550 (WTF::Unicode::combiningClass):
4551 (WTF::Unicode::decompositionType):
4552 (WTF::Unicode::umemcasecmp):
4553 * wtf/unicode/qt4/UnicodeQt4.h: Renamed from Source/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h.
4557 (WTF::Unicode::toLower):
4558 (WTF::Unicode::toUpper):
4559 (WTF::Unicode::toTitleCase):
4560 (WTF::Unicode::foldCase):
4561 (WTF::Unicode::isArabicChar):
4562 (WTF::Unicode::isPrintableChar):
4563 (WTF::Unicode::isSeparatorSpace):
4564 (WTF::Unicode::isPunct):
4565 (WTF::Unicode::isLower):
4566 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
4567 (WTF::Unicode::mirroredChar):
4568 (WTF::Unicode::combiningClass):
4569 (WTF::Unicode::decompositionType):
4570 (WTF::Unicode::umemcasecmp):
4571 (WTF::Unicode::direction):
4572 (WTF::Unicode::category):
4573 * wtf/unicode/wince/UnicodeWinCE.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.cpp.
4575 (WTF::Unicode::toLower):
4576 (WTF::Unicode::toUpper):
4577 (WTF::Unicode::foldCase):
4578 (WTF::Unicode::isPrintableChar):
4579 (WTF::Unicode::isSpace):
4580 (WTF::Unicode::isLetter):
4581 (WTF::Unicode::isUpper):
4582 (WTF::Unicode::isLower):
4583 (WTF::Unicode::isDigit):
4584 (WTF::Unicode::isPunct):
4585 (WTF::Unicode::isAlphanumeric):
4586 (WTF::Unicode::toTitleCase):
4587 (WTF::Unicode::direction):
4588 (WTF::Unicode::category):
4589 (WTF::Unicode::decompositionType):
4590 (WTF::Unicode::combiningClass):
4591 (WTF::Unicode::mirroredChar):
4592 (WTF::Unicode::digitValue):
4593 * wtf/unicode/wince/UnicodeWinCE.h: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.h.
4595 (WTF::Unicode::isSeparatorSpace):
4596 (WTF::Unicode::isHighSurrogate):
4597 (WTF::Unicode::isLowSurrogate):
4598 (WTF::Unicode::isArabicChar):
4599 (WTF::Unicode::hasLineBreakingPropertyComplexContext):
4600 (WTF::Unicode::umemcasecmp):
4601 (WTF::Unicode::surrogateToUcs4):
4602 * wtf/url/api/ParsedURL.cpp: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.cpp.
4604 (WTF::ParsedURL::ParsedURL):
4605 (WTF::ParsedURL::isolatedCopy):
4606 (WTF::ParsedURL::scheme):
4607 (WTF::ParsedURL::username):
4608 (WTF::ParsedURL::password):
4609 (WTF::ParsedURL::host):
4610 (WTF::ParsedURL::port):
4611 (WTF::ParsedURL::path):
4612 (WTF::ParsedURL::query):
4613 (WTF::ParsedURL::fragment):
4614 (WTF::ParsedURL::baseAsString):
4615 (WTF::ParsedURL::segment):
4616 * wtf/url/api/ParsedURL.h: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.h.
4619 (WTF::ParsedURL::ParsedURL):
4620 (WTF::ParsedURL::isValid):
4621 (WTF::ParsedURL::spec):
4622 * wtf/url/api/URLString.h: Renamed from Source/JavaScriptCore/wtf/url/api/URLString.h.
4625 (WTF::URLString::URLString):
4626 (WTF::URLString::string):
4627 * wtf/url/src/RawURLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/RawURLBuffer.h.
4630 (WTF::RawURLBuffer::RawURLBuffer):
4631 (WTF::RawURLBuffer::~RawURLBuffer):
4632 (WTF::RawURLBuffer::resize):
4633 * wtf/url/src/URLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLBuffer.h.
4636 (WTF::URLBuffer::URLBuffer):
4637 (WTF::URLBuffer::~URLBuffer):
4638 (WTF::URLBuffer::at):
4639 (WTF::URLBuffer::set):
4640 (WTF::URLBuffer::capacity):
4641 (WTF::URLBuffer::length):
4642 (WTF::URLBuffer::data):
4643 (WTF::URLBuffer::setLength):
4644 (WTF::URLBuffer::append):
4645 (WTF::URLBuffer::grow):
4646 * wtf/url/src/URLCharacterTypes.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.cpp.
4648 * wtf/url/src/URLCharacterTypes.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.h.
4650 (URLCharacterTypes):
4651 (WTF::URLCharacterTypes::isQueryChar):
4652 (WTF::URLCharacterTypes::isIPv4Char):
4653 (WTF::URLCharacterTypes::isHexChar):
4654 (WTF::URLCharacterTypes::isCharOfType):
4655 * wtf/url/src/URLComponent.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLComponent.h.
4658 (WTF::URLComponent::URLComponent):
4659 (WTF::URLComponent::fromRange):
4660 (WTF::URLComponent::isValid):
4661 (WTF::URLComponent::isNonEmpty):
4662 (WTF::URLComponent::isEmptyOrInvalid):
4663 (WTF::URLComponent::reset):
4664 (WTF::URLComponent::operator==):
4665 (WTF::URLComponent::begin):
4666 (WTF::URLComponent::setBegin):
4667 (WTF::URLComponent::length):
4668 (WTF::URLComponent::setLength):
4669 (WTF::URLComponent::end):
4670 * wtf/url/src/URLEscape.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.cpp.
4672 * wtf/url/src/URLEscape.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.h.
4674 (WTF::appendURLEscapedCharacter):
4675 * wtf/url/src/URLParser.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLParser.h.
4678 (WTF::URLParser::isPossibleAuthorityTerminator):
4679 (WTF::URLParser::parseAuthority):
4680 (WTF::URLParser::extractScheme):
4681 (WTF::URLParser::parseAfterScheme):
4682 (WTF::URLParser::parseStandardURL):
4683 (WTF::URLParser::parsePath):
4684 (WTF::URLParser::parsePathURL):
4685 (WTF::URLParser::parseMailtoURL):
4686 (WTF::URLParser::parsePort):
4687 (WTF::URLParser::extractFileName):
4688 (WTF::URLParser::extractQueryKeyValue):
4689 (WTF::URLParser::isURLSlash):
4690 (WTF::URLParser::shouldTrimFromURL):
4691 (WTF::URLParser::trimURL):
4692 (WTF::URLParser::consecutiveSlashes):
4693 (WTF::URLParser::isPortDigit):
4694 (WTF::URLParser::nextAuthorityTerminator):
4695 (WTF::URLParser::parseUserInfo):
4696 (WTF::URLParser::parseServerInfo):
4697 * wtf/url/src/URLQueryCanonicalizer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLQueryCanonicalizer.h.
4699 (URLQueryCanonicalizer):
4700 (WTF::URLQueryCanonicalizer::canonicalize):
4701 (WTF::URLQueryCanonicalizer::isAllASCII):
4702 (WTF::URLQueryCanonicalizer::isRaw8Bit):
4703 (WTF::URLQueryCanonicalizer::appendRaw8BitQueryString):
4704 (WTF::URLQueryCanonicalizer::convertToQueryEncoding):
4705 * wtf/url/src/URLSegments.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.cpp.
4707 (WTF::URLSegments::length):
4708 (WTF::URLSegments::charactersBefore):
4709 * wtf/url/src/URLSegments.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.h.
4712 (WTF::URLSegments::URLSegments):
4713 * wtf/win/MainThreadWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/MainThreadWin.cpp.
4715 (WTF::ThreadingWindowWndProc):
4716 (WTF::initializeMainThreadPlatform):
4717 (WTF::scheduleDispatchFunctionsOnMainThread):
4718 * wtf/win/OwnPtrWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/OwnPtrWin.cpp.
4720 (WTF::deleteOwnedPtr):
4721 * wtf/wince/FastMallocWinCE.h: Renamed from Source/JavaScriptCore/wtf/wince/FastMallocWinCE.h.
4725 (operator delete[]):
4729 (WTF::Internal::fastMallocMatchValidationType):
4730 (WTF::Internal::fastMallocMatchValidationValue):
4731 (WTF::Internal::setFastMallocMatchValidationType):
4732 (WTF::fastMallocMatchValidateMalloc):
4733 (WTF::fastMallocMatchValidateFree):
4734 * wtf/wince/MemoryManager.cpp: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.cpp.
4736 (WTF::memoryManager):
4737 (WTF::MemoryManager::MemoryManager):
4738 (WTF::MemoryManager::~MemoryManager):
4739 (WTF::MemoryManager::createCompatibleBitmap):
4740 (WTF::MemoryManager::createDIBSection):
4741 (WTF::MemoryManager::m_malloc):
4742 (WTF::MemoryManager::m_calloc):
4743 (WTF::MemoryManager::m_realloc):
4744 (WTF::MemoryManager::m_free):
4745 (WTF::MemoryManager::resizeMemory):
4746 (WTF::MemoryManager::allocate64kBlock):
4747 (WTF::MemoryManager::free64kBlock):
4748 (WTF::MemoryManager::onIdle):
4749 (WTF::MemoryManager::virtualAlloc):
4750 (WTF::MemoryManager::virtualFree):
4755 (WTF::fastMallocForbid):
4756 (WTF::fastMallocAllow):
4757 (WTF::fastZeroedMalloc):
4758 (WTF::tryFastMalloc):
4759 (WTF::tryFastZeroedMalloc):
4760 (WTF::tryFastCalloc):
4761 (WTF::tryFastRealloc):
4763 * wtf/wince/MemoryManager.h: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.h.
4766 (WTF::MemoryManager::allocationCanFail):
4767 (WTF::MemoryManager::setAllocationCanFail):
4768 (MemoryAllocationCanFail):
4769 (WTF::MemoryAllocationCanFail::MemoryAllocationCanFail):
4770 (WTF::MemoryAllocationCanFail::~MemoryAllocationCanFail):
4771 (MemoryAllocationCannotFail):
4772 (WTF::MemoryAllocationCannotFail::MemoryAllocationCannotFail):
4773 (WTF::MemoryAllocationCannotFail::~MemoryAllocationCannotFail):
4774 * wtf/wx/MainThreadWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/MainThreadWx.cpp.
4776 (wxCallAfter::wxCallAfter):
4777 (wxCallAfter::OnCallback):
4779 (WTF::initializeMainThreadPlatform):
4780 (WTF::scheduleDispatchFunctionsOnMainThread):
4781 * wtf/wx/StringWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/StringWx.cpp.
4783 (WTF::String::String):
4784 (WTF::String::operator wxString):
4786 2012-03-22 Hyowon Kim <hw1008.kim@samsung.com>
4788 [EFL] Add PageClientEfl to WebCoreSupport.
4789 https://bugs.webkit.org/show_bug.cgi?id=80748
4791 Reviewed by Noam Rosenthal.
4793 * wtf/Platform.h: Disable accelerated compositing. It's not ready yet.
4795 2012-03-21 Beth Dakin <bdakin@apple.com>
4797 https://bugs.webkit.org/show_bug.cgi?id=80322
4800 Reviewed by Dean Jackson.
4802 For the time being, image-set is opt-in since the implementation is
4805 Add an ENABLE flag for image-set.
4808 2012-03-21 Jessie Berlin <jberlin@apple.com>
4810 Fix the Windows build after r111504.
4812 * WTF.vcproj/WTF.vcproj:
4813 Platform.h was moved to Source/WTF.
4814 * WTF.vcproj/copy-files.cmd:
4815 Copy Platform.h from its new source location. This separate copy will not be necessary once
4816 the full move is done and all the headers are being copied at once from the new locations.
4818 2012-03-21 Jessie Berlin <jberlin@apple.com>
4820 WTF headers should be in $(ConfigurationBuildDir)\include\private\wtf, not
4821 $(ConfigurationBuildDir)\include\private\JavaScriptCore\wtf.
4822 https://bugs.webkit.org/show_bug.cgi?id=81739
4824 Reviewed by Dan Bernstein.
4826 * WTF.vcproj/copy-files.cmd:
4827 Copy the headers to private/include/wtf instead of private/include/JavaScriptCore/wtf.
4829 2012-03-20 Eric Seidel <eric@webkit.org>
4831 Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
4832 https://bugs.webkit.org/show_bug.cgi?id=80911
4834 Reviewed by Adam Barth.
4836 Update build systems to account for the new location of Platform.h
4838 * GNUmakefile.list.am:
4841 * WTF.vcproj/WTF.vcproj:
4842 * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py:
4843 (react_to_vsprops_changes):
4844 * WTF.xcodeproj/project.pbxproj:
4845 * config.h: I don't think this change is 100% correct (but seemed to be needed to make qt-wk2 build)
4846 - This dependency on JSC should be removed regardless (in a later patch).
4847 * wtf/Platform.h: Renamed from Source/JavaScriptCore/wtf/Platform.h.
4849 2012-03-20 Steve Falkenburg <sfalken@apple.com>
4851 Move WTF-related Windows project files out of JavaScriptCore
4852 https://bugs.webkit.org/show_bug.cgi?id=80680
4854 This change only moves the vcproj and related files from JavaScriptCore/JavaScriptCore.vcproj/WTF.
4855 It does not move any source code. This is in preparation for the WTF source move out of
4858 Reviewed by Jessie Berlin.
4860 * WTF.vcproj: Added.
4861 * WTF.vcproj/WTF.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj.
4862 * WTF.vcproj/WTFCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFCommon.vsprops.
4863 * WTF.vcproj/WTFDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebug.vsprops.
4864 * WTF.vcproj/WTFDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugAll.vsprops.
4865 * WTF.vcproj/WTFDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFDebugCairoCFLite.vsprops.
4866 * WTF.vcproj/WTFGenerated.make: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.make.
4867 * WTF.vcproj/WTFGenerated.vcproj: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGenerated.vcproj.
4868 * WTF.vcproj/WTFGeneratedCommon.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedCommon.vsprops.
4869 * WTF.vcproj/WTFGeneratedDebug.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebug.vsprops.
4870 * WTF.vcproj/WTFGeneratedDebugAll.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugAll.vsprops.
4871 * WTF.vcproj/WTFGeneratedDebugCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedDebugCairoCFLite.vsprops.
4872 * WTF.vcproj/WTFGeneratedProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedProduction.vsprops.
4873 * WTF.vcproj/WTFGeneratedRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedRelease.vsprops.
4874 * WTF.vcproj/WTFGeneratedReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFGeneratedReleaseCairoCFLite.vsprops.
4875 * WTF.vcproj/WTFPostBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd.
4876 * WTF.vcproj/WTFPreBuild.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd.
4877 * WTF.vcproj/WTFProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFProduction.vsprops.
4878 * WTF.vcproj/WTFRelease.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFRelease.vsprops.
4879 * WTF.vcproj/WTFReleaseCairoCFLite.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops.
4880 * WTF.vcproj/build-generated-files.sh: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/build-generated-files.sh.
4881 * WTF.vcproj/copy-files.cmd: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/copy-files.cmd.
4882 * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/work-around-vs-dependency-tracking-bugs.py.
4884 2012-03-20 Peter Beverloo <peter@chromium.org>
4886 [Chromium] Fix the Android build by building NEWWTF for host
4887 https://bugs.webkit.org/show_bug.cgi?id=81643
4889 Reviewed by Tony Gentilcore.
4891 Chromium for Android builds the ImageDiff target for the host architecture,
4892 so all dependencies it has need to be able to build for host as well.
4893 r111258 added (new)WTF as a dependency instead of just including the
4894 header files, so make it possible to build the newwtf target for host.
4898 2012-03-19 Dan Bernstein <mitz@apple.com>
4900 Set the svn:ignore property on the Xcode project.
4902 * WTF.xcodeproj: Added property svn:ignore.
4904 2012-03-16 Mark Rowe <mrowe@apple.com>
4906 Build fix. Do not preserve owner and group information when installing the WTF headers.
4908 * WTF.xcodeproj/project.pbxproj:
4910 2012-03-07 Mark Rowe <mrowe@apple.com>
4912 Teach make to build WTF.
4916 2012-02-11 Filip Pizlo <fpizlo@apple.com>
4918 It should be possible to send all JSC debug logging to a file
4919 https://bugs.webkit.org/show_bug.cgi?id=78418
4921 Reviewed by Sam Weinig.
4923 Introduced wtf/DataLog, which defines WTF::dataFile, WTF::dataLog,
4924 and WTF::dataLogV. Changed all debugging- and profiling-related printfs
4925 to use WTF::dataLog() or one of its friends. By default, debug logging
4926 goes to stderr, unless you change the setting in wtf/DataLog.cpp.
4930 2012-02-03 Simon Hausmann <simon.hausmann@nokia.com>
4932 [Qt] Fix build when cross-compiling
4933 https://bugs.webkit.org/show_bug.cgi?id=77634
4935 Reviewed by Tor Arne Vestbø.
4937 * WTF.pri: Don't use icu-config for determining the library search
4938 path and libraries needed for ICU. Either we use icu-config for includes
4939 _and_ libraries or we don't. Right now we assume that icu is a system library
4940 and expect the headers in the default include search pathes (/usr/include for example).
4941 However we use icu-config to figure out where the libraries are, which breaks when
4942 cross-compiling, because icu-config isn't cross-compile friendly (I wish icu was using
4943 pkg-config). I think for the time being we should require ICU as a _system_ library,
4944 which implies the header and library availability in default search paths. This also
4945 makes the build succeed when cross-compiling with --sysroot.
4947 2012-01-27 Zeno Albisser <zeno@webkit.org>
4949 [Qt][Mac] Build fails after adding ICU support (r105997).
4950 https://bugs.webkit.org/show_bug.cgi?id=77118
4952 Link to libicucore if platform Mac.
4954 Reviewed by Tor Arne Vestbø.
4958 2012-01-26 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
4960 [Qt] Use ICU if available
4961 https://bugs.webkit.org/show_bug.cgi?id=76821
4963 Reviewed by Simon Hausmann.
4965 Adding libicu dependencies for a Qt5 based build.
4969 2012-01-26 Csaba Osztrogonác <ossy@webkit.org>
4971 [Qt][Win] One more speculative buildfix after r105970.
4975 2012-01-26 Nikolas Zimmermann <nzimmermann@rim.com>
4977 Not reviewed. Try to fix Qt/Win build by building OwnPtrWin.cpp into the WTF library.
4981 2012-01-19 Joi Sigurdsson <joi@chromium.org>
4983 Enable use of precompiled headers in Chromium port on Windows.
4985 Bug 76381 - Use precompiled headers in Chromium port on Windows
4986 https://bugs.webkit.org/show_bug.cgi?id=76381
4988 Reviewed by Tony Chang.
4990 * WTF.gyp/WTF.gyp: Include WinPrecompile.gypi.
4992 2012-01-18 Roland Takacs <takacs.roland@stud.u-szeged.hu>
4994 Cross-platform processor core counter
4995 https://bugs.webkit.org/show_bug.cgi?id=76530
4997 Reviewed by Zoltan Herczeg.
4999 Two files have been added to the project, namely NumberOfCores.h/cpp,
5000 that include a CPU core number determining function.
5004 2012-01-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
5006 Uint8ClampedArray support
5007 https://bugs.webkit.org/show_bug.cgi?id=74455
5009 Reviewed by Filip Pizlo.
5013 2012-01-13 Alexis Menard <alexis.menard@openbossa.org>
5015 Unreviewed build fix for Qt SnowLeopard build bot.
5017 This is a workaround for the moment.
5021 2012-01-12 Simon Hausmann <simon.hausmann@nokia.com>
5023 Make the new WTF module build on Qt
5024 https://bugs.webkit.org/show_bug.cgi?id=76163
5026 Reviewed by Tor Arne Vestbø.
5028 With this change the WTF sources are built _here_ but _from_ their old location using a VPATH.
5030 * WTF.pri: Renamed from Source/JavaScriptCore/wtf/wtf.pri.
5031 * WTF.pro: Renamed from Source/JavaScriptCore/wtf/wtf.pro.
5032 * config.h: Bring this file in sync with JavaScriptCore/config.h with regards to the inclusion
5033 / definition of the export macros.
5035 2012-01-06 Benjamin Poulain <bpoulain@apple.com>
5037 [Mac] Sort the resources of WTF.xcodeproj
5038 https://bugs.webkit.org/show_bug.cgi?id=75639
5040 Reviewed by Andreas Kling.
5042 * WTF.xcodeproj/project.pbxproj:
5044 2012-01-06 Eric Seidel <eric@webkit.org> and Gustavo Noronha Silva <gustavo.noronha@collabora.com>
5046 Make the new WTF module build on Gtk
5047 https://bugs.webkit.org/show_bug.cgi?id=75669
5049 * GNUmakefile.am: Added.
5050 * GNUmakefile.list.am: Added.
5052 2011-11-19 Adam Barth <abarth@webkit.org>
5054 Integrate Source/WTF with the Chromium build system
5055 https://bugs.webkit.org/show_bug.cgi?id=72790
5057 Reviewed by Eric Seidel.
5059 Rename the target in this file to "newwtf" to avoid naming conflicts.
5063 2011-11-19 Mark Rowe <mrowe@apple.com>
5065 WTF should have an Xcode project
5066 https://bugs.webkit.org/show_bug.cgi?id=71752
5068 Reviewed by Adam Barth.
5070 This adds an Xcode project that includes only Stub.cpp and Stub.h.
5071 They’re built in to a library at the appropriate path for each
5072 configuration (WebKitBuild/{Debug,Release}/libWTF.a and
5073 /usr/local/lib/libWTF.a) and headers are installed in to the
5074 appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf
5075 and /usr/local/include/wtf). I tested building WTF in this project and
5076 everything appears to build except for DateMath.cpp (due to bug 71747).
5077 I have not yet done any work on making JavaScriptCore and other
5078 projects use the built products of this new project.
5080 * Configurations: Added.
5081 * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig.
5082 * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig.
5083 * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig.
5084 * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig.
5085 * WTF.xcodeproj: Added.
5086 * WTF.xcodeproj/project.pbxproj: Added.
5087 * config.h: Copied from Source/JavaScriptCore/config.h.
5089 * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE.
5090 * icu/README: Copied from Source/JavaScriptCore/icu/README.
5091 * icu/unicode: Added.
5092 * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h.
5093 * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h.
5094 * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h.
5095 * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h.
5096 * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h.
5097 * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h.
5098 * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h.
5099 * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h.
5100 * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h.
5101 * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h.
5102 * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h.
5103 * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h.
5104 * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h.
5105 * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h.
5106 * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h.
5107 * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h.
5108 * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h.
5109 * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h.
5110 * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h.
5111 * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h.
5112 * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h.
5113 * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h.
5114 * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h.
5116 2011-11-03 Adam Barth <abarth@webkit.org>
5118 Add Stub.h and Stub.cpp to Source-level WTF project
5119 https://bugs.webkit.org/show_bug.cgi?id=71497
5121 Reviewed by Eric Seidel.
5123 This patch adds some stub files and a skelton GYP build file as a
5124 starting point for the new Source-level WTF project. Other build
5125 systems and actual code will arrive in future patches.
5129 * WTF.gyp/WTF.gyp: Added.
5132 2011-11-02 Adam Barth <abarth@webkit.org>
5134 Add stubs for WTF and Platform
5135 https://bugs.webkit.org/show_bug.cgi?id=71492
5137 Reviewed by Eric Seidel.
5139 This patch creates the WTF directory, which begins the process of
5140 moving WTF out of JavaScriptCore.