Use uint8_t vectors for WebCrypto data
[WebKit-https.git] / Source / WTF / ChangeLog
1 2013-11-16  Alexey Proskuryakov  <ap@apple.com>
2
3         Use uint8_t vectors for WebCrypto data
4         https://bugs.webkit.org/show_bug.cgi?id=124466
5
6         Reviewed by Sam Weinig.
7
8         Binary data can be UTF-8, in which case "char*" is idiomatic, or it can be arbitrary
9         binary data, in which case "uint8_t*" is more common.
10
11         Changed encode functions that took "const char *" to "const void*", and decode
12         functions that took "Vector<char>&" now take an adapter class.
13
14         The adapter relies on Vector<char> and Vector<uint8_t> classes having an identical layout.
15
16         * wtf/text/Base64.cpp:
17         (WTF::base64Encode):
18         (WTF::base64URLEncode):
19         (WTF::base64DecodeInternal):
20         (WTF::base64Decode):
21         (WTF::base64URLDecode):
22         * wtf/text/Base64.h:
23         (WTF::SignedOrUnsignedCharVectorAdapter):
24         (WTF::ConstSignedOrUnsignedCharVectorAdapter):
25         (WTF::base64Encode):
26         (WTF::base64URLEncode):
27
28 2013-11-15  Alexey Proskuryakov  <ap@apple.com>
29
30         Support exporting symmetric keys as JWK
31         https://bugs.webkit.org/show_bug.cgi?id=124442
32
33         Reviewed by Sam Weinig.
34
35         Base64URL encoding doesn't use '=' padding, and doesn't need any other options.
36         Added this mode for encode, and removed policy arguments from exposed functions.
37
38         * wtf/text/Base64.cpp:
39         (WTF::base64EncodeInternal):
40         (WTF::base64URLEncode):
41         (WTF::base64URLDecode):
42         * wtf/text/Base64.h:
43         (WTF::base64URLEncode):
44
45 2013-11-15  Mark Hahnenberg  <mhahnenberg@apple.com>
46
47         Remove VTableSpectrum
48         https://bugs.webkit.org/show_bug.cgi?id=124427
49
50         Reviewed by Filip Pizlo.
51
52         * wtf/Platform.h:
53
54 2013-11-15  Jer Noble  <jer.noble@apple.com>
55
56         MediaTime addition and subtraction operators have errors when the rhs is infinite.
57         https://bugs.webkit.org/show_bug.cgi?id=124413
58
59         Reviewed by Eric Carlson.
60
61         Correctly account for infinities that can occur on the right-hand side of addition or
62         subtraction operators.
63
64         * wtf/MediaTime.cpp:
65         (WTF::MediaTime::operator+):
66         (WTF::MediaTime::operator-):
67
68 2013-11-14  Oliver Hunt  <oliver@apple.com>
69
70         Make CLoop easier to build, and make it work
71         https://bugs.webkit.org/show_bug.cgi?id=124359
72
73         Reviewed by Geoffrey Garen.
74
75         Make building with the CLoop forcibly enabled manually
76         disable the JITs
77
78         * wtf/Platform.h:
79
80 2013-11-14  Andreas Kling  <akling@apple.com>
81
82         FontDescription copies should share families list, not duplicate it.
83         <https://webkit.org/b/124338>
84
85         Add RefCountedArray::operator==.
86
87         Reviewed by Antti Koivisto.
88
89 2013-11-13  Anders Carlsson  <andersca@apple.com>
90
91         Add a Vector constructor that takes an std::initializer_list
92         https://bugs.webkit.org/show_bug.cgi?id=124287
93
94         Reviewed by Antti Koivisto.
95
96         * wtf/Compiler.h:
97         * wtf/Vector.h:
98         (WTF::Vector::Vector):
99
100 2013-11-12  Brent Fulgham  <bfulgham@apple.com>
101
102         [Win] Unreviewed gardening.
103
104         * WTF.vcxproj/WTF.vcxproj.filters: Tidy up filters so files show up
105         in their proper directories.
106
107 2013-11-12  Alex Christensen  <achristensen@webkit.org>
108
109         Build GStreamer files on Windows.
110         https://bugs.webkit.org/show_bug.cgi?id=124180
111
112         Reviewed by Brent Fulgham.
113
114         * WTF.vcxproj/WTF.vcxproj:
115         * WTF.vcxproj/WTF.vcxproj.filters:
116         * WTF.vcxproj/copy-files.cmd:
117         Include gobject files in WinCairo build.
118
119 2013-11-09  Filip Pizlo  <fpizlo@apple.com>
120
121         Switch FTL GetById/PutById IC's over to using AnyRegCC
122         https://bugs.webkit.org/show_bug.cgi?id=124094
123
124         Reviewed by Sam Weinig.
125         
126         I needed to add another set operation, namely filter(), which is an in-place set
127         intersection.
128
129         * wtf/BitVector.cpp:
130         (WTF::BitVector::filterSlow):
131         * wtf/BitVector.h:
132         (WTF::BitVector::filter):
133
134 2013-11-10  Ryuan Choi  <ryuan.choi@samsung.com>
135
136         [EFL] Build break on Ubuntu 13.10
137         https://bugs.webkit.org/show_bug.cgi?id=124131
138
139         Reviewed by Gyuyoung Kim.
140
141         Turned DisallowCType macros off on EFL port because gtest-internal.h uses isspace().
142
143         * wtf/DisallowCType.h: Added !PLATFORM(EFL) guard.
144
145 2013-11-09  Patrick Gansterer  <paroga@webkit.org>
146
147         Move RunLoop from WebCore to WTF
148         https://bugs.webkit.org/show_bug.cgi?id=116606
149
150         Reviewed by Anders Carlsson.
151
152         With this change RunLoop can be used in JavaScriptCore too.
153
154         * GNUmakefile.list.am:
155         * WTF.vcxproj/WTF.vcxproj:
156         * WTF.xcodeproj/project.pbxproj:
157         * wtf/CMakeLists.txt:
158         * wtf/PlatformBlackBerry.cmake:
159         * wtf/PlatformEfl.cmake:
160         * wtf/PlatformGTK.cmake:
161         * wtf/PlatformWin.cmake:
162         * wtf/RunLoop.cpp: Renamed from Source/WebCore/platform/RunLoop.cpp.
163         (WTF::RunLoop::Holder::Holder):
164         (WTF::RunLoop::Holder::runLoop):
165         (WTF::RunLoop::initializeMainRunLoop):
166         (WTF::RunLoop::current):
167         (WTF::RunLoop::main):
168         (WTF::RunLoop::isMain):
169         (WTF::RunLoop::performWork):
170         (WTF::RunLoop::dispatch):
171         * wtf/RunLoop.h: Renamed from Source/WebCore/platform/RunLoop.h.
172         (WTF::RunLoop::TimerBase::startRepeating):
173         (WTF::RunLoop::TimerBase::startOneShot):
174         (WTF::RunLoop::TimerBase::isRepeating):
175         (WTF::RunLoop::Timer::Timer):
176         (WTF::RunLoop::Timer::fired):
177         * wtf/blackberry/RunLoopBlackBerry.cpp: Renamed from Source/WebCore/platform/blackberry/RunLoopBlackBerry.cpp.
178         (WTF::RunLoop::RunLoop):
179         (WTF::RunLoop::~RunLoop):
180         (WTF::RunLoop::wakeUp):
181         * wtf/cf/RunLoopCF.cpp: Renamed from Source/WebCore/platform/cf/RunLoopCF.cpp.
182         (WTF::RunLoop::performWork):
183         (WTF::RunLoop::RunLoop):
184         (WTF::RunLoop::~RunLoop):
185         (WTF::RunLoop::runForDuration):
186         (WTF::RunLoop::wakeUp):
187         (WTF::RunLoop::run):
188         (WTF::RunLoop::stop):
189         (WTF::RunLoop::TimerBase::timerFired):
190         (WTF::RunLoop::TimerBase::TimerBase):
191         (WTF::RunLoop::TimerBase::~TimerBase):
192         (WTF::RunLoop::TimerBase::start):
193         (WTF::RunLoop::TimerBase::stop):
194         (WTF::RunLoop::TimerBase::isActive):
195         * wtf/efl/RunLoopEfl.cpp: Renamed from Source/WebCore/platform/efl/RunLoopEfl.cpp.
196         (WTF::RunLoop::RunLoop):
197         (WTF::RunLoop::~RunLoop):
198         (WTF::RunLoop::run):
199         (WTF::RunLoop::stop):
200         (WTF::RunLoop::wakeUpEvent):
201         (WTF::RunLoop::wakeUp):
202         (WTF::RunLoop::TimerBase::TimerBase):
203         (WTF::RunLoop::TimerBase::~TimerBase):
204         (WTF::RunLoop::TimerBase::timerFired):
205         (WTF::RunLoop::TimerBase::start):
206         (WTF::RunLoop::TimerBase::stop):
207         (WTF::RunLoop::TimerBase::isActive):
208         * wtf/gtk/RunLoopGtk.cpp: Renamed from Source/WebCore/platform/gtk/RunLoopGtk.cpp.
209         (WTF::RunLoop::RunLoop):
210         (WTF::RunLoop::~RunLoop):
211         (WTF::RunLoop::run):
212         (WTF::RunLoop::innermostLoop):
213         (WTF::RunLoop::pushNestedMainLoop):
214         (WTF::RunLoop::popNestedMainLoop):
215         (WTF::RunLoop::stop):
216         (WTF::RunLoop::queueWork):
217         (WTF::RunLoop::wakeUp):
218         (WTF::RunLoop::TimerBase::TimerBase):
219         (WTF::RunLoop::TimerBase::~TimerBase):
220         (WTF::RunLoop::TimerBase::clearTimerSource):
221         (WTF::RunLoop::TimerBase::timerFiredCallback):
222         (WTF::RunLoop::TimerBase::start):
223         (WTF::RunLoop::TimerBase::stop):
224         (WTF::RunLoop::TimerBase::isActive):
225         * wtf/win/RunLoopWin.cpp: Renamed from Source/WebCore/platform/win/RunLoopWin.cpp.
226         (WTF::RunLoop::RunLoopWndProc):
227         (WTF::RunLoop::wndProc):
228         (WTF::RunLoop::run):
229         (WTF::RunLoop::stop):
230         (WTF::RunLoop::registerRunLoopMessageWindowClass):
231         (WTF::RunLoop::RunLoop):
232         (WTF::RunLoop::~RunLoop):
233         (WTF::RunLoop::wakeUp):
234         (WTF::RunLoop::TimerBase::timerFired):
235         (WTF::generateTimerID):
236         (WTF::RunLoop::TimerBase::TimerBase):
237         (WTF::RunLoop::TimerBase::~TimerBase):
238         (WTF::RunLoop::TimerBase::start):
239         (WTF::RunLoop::TimerBase::stop):
240         (WTF::RunLoop::TimerBase::isActive):
241
242 2013-11-08  Alexey Proskuryakov  <ap@apple.com>
243
244         Make base64url decoding actually work
245         https://bugs.webkit.org/show_bug.cgi?id=124050
246
247         Reviewed by Sam Weinig.
248
249         * wtf/text/Base64.cpp: (WTF::base64DecodeInternal): Don't hardcode knowledge about
250         alphabet, put it into the map.
251
252 2013-11-07  Denis Nomiyama  <d.nomiyama@samsung.com>
253
254         [GTK] Glyphs in vertical text tests are rotated 90 degrees clockwise
255         https://bugs.webkit.org/show_bug.cgi?id=50619
256
257         Reviewed by Martin Robinson.
258
259         Enabled OPENTYPE_VERTICAL by default on GTK+ and EFL ports, which are
260         currently using Freetype.
261
262         * wtf/Platform.h:
263
264 2013-11-06  Daniel Bates  <dabates@apple.com>
265
266         [iOS] Upstream Letterpress effect
267         https://bugs.webkit.org/show_bug.cgi?id=123932
268
269         Reviewed by Sam Weinig.
270
271         Add feature define ENABLE_LETTERPRESS disabled by default. We only enable
272         letterpress on iOS.
273
274         * wtf/FeatureDefines.h:
275
276 2013-11-06  Nick Diego Yamane  <nick.yamane@openbossa.org>
277
278         Disable "unused local typedefs" warning for GCC 4.7
279         https://bugs.webkit.org/show_bug.cgi?id=123913
280
281         Reviewed by Martin Robinson.
282
283         That warning was actually introduced in gcc 4.7.0.
284         See: http://gcc.gnu.org/gcc-4.7/changes.html
285
286         * wtf/Compiler.h:
287
288 2013-11-06  Daniel Bates  <dabates@apple.com>
289
290         Add ENABLE(TEXT_SELECTION)
291         https://bugs.webkit.org/show_bug.cgi?id=123827
292
293         Reviewed by Ryosuke Niwa.
294
295         Enable selection painting by default on all ports except iOS.
296
297         * wtf/FeatureDefines.h:
298
299 2013-11-04  Alexey Proskuryakov  <ap@apple.com>
300
301         Implement base64url encoding from RFC 4648
302         https://bugs.webkit.org/show_bug.cgi?id=123767
303
304         Reviewed by Sam Weinig.
305
306         No tests yet, will be covered by JWK tests for WebCrypto.
307
308         * wtf/text/Base64.cpp:
309         (WTF::base64EncodeInternal):
310         (WTF::base64Encode):
311         (WTF::base64URLEncode):
312         (WTF::base64DecodeInternal):
313         (WTF::base64Decode):
314         (WTF::base64URLDecode):
315         * wtf/text/Base64.h:
316         (WTF::base64URLEncode):
317
318 2013-11-04  Brent Fulgham  <bfulgham@apple.com>
319
320         [Win] User VersionStamper for official builds
321         https://bugs.webkit.org/show_bug.cgi?id=123758
322
323         Reviewed by Tim Horton.
324
325         * WTF.vcxproj/WTFPostBuild.cmd: Add missing command to run VersionStamper.exe.
326
327 2013-11-01  Jer Noble  <jer.noble@apple.com>
328
329         [PluginProxy] Add a setting to disable video plugin proxy support in HTMLMediaElement.
330         https://bugs.webkit.org/show_bug.cgi?id=123621
331
332         Reviewed by Eric Carlson.
333
334         Enable WTF_USE_AVFOUNDATION and add some HAVE_AVFOUNDATION_* defines
335         to replace the existing __MAC_OS_X_VERSION_MIN_REQUIRED macros in
336         MediaPlayerPrivateAVFoundationObjC.mm.
337
338         * wtf/Platform.h:
339
340 2013-11-02  Patrick Gansterer  <paroga@webkit.org>
341
342         Fix compilation of DateMath.cpp with MSVC
343         https://bugs.webkit.org/show_bug.cgi?id=123680
344
345         Reviewed by Darin Adler.
346
347         * wtf/DateMath.cpp:
348         (WTF::appendTwoDigitNumber): Help the compiler finding the
349         correct overload by casting the characters to LChar.
350
351 2013-11-02  Filip Pizlo  <fpizlo@apple.com>
352
353         LLVM assertion failures should funnel into WTF's crash handling
354         https://bugs.webkit.org/show_bug.cgi?id=123682
355
356         Reviewed by Geoffrey Garen.
357         
358         Give JSC some new toys to play with for crash handling.
359
360         * wtf/Assertions.cpp:
361         * wtf/Assertions.h:
362
363 2013-11-02  Patrick Gansterer  <paroga@webkit.org>
364
365         Fix UnicodeWchar after r157330.
366         https://bugs.webkit.org/show_bug.cgi?id=123668
367
368         Reviewed by Darin Adler.
369
370         * wtf/unicode/wchar/UnicodeWchar.cpp:
371         (unorm_normalize):
372         (u_strFoldCase):
373         (u_strToLower):
374         (u_strToUpper):
375         * wtf/unicode/wchar/UnicodeWchar.h:
376         (u_foldCase):
377         (u_isprint):
378         (u_isspace):
379
380 2013-11-02  Andreas Kling  <akling@apple.com>
381
382         Make remaining StringImpl functions return PassRef.
383         <https://webkit.org/b/123683>
384
385         Okay, this seems to work well! Let's go all in and convert the
386         remaining StringImpl functions to return PassRef<StringImpl> instead
387         of PassRefPtr where we know that null is never returned.
388
389         Reviewed by Anders Carlsson.
390
391 2013-11-02  Andreas Kling  <akling@apple.com>
392
393         StringImpl::upper() should return PassRef.
394         <https://webkit.org/b/123655>
395
396         Make upper() return PassRef<StringImpl>. Spotted and removed some
397         ref churning in implementations.
398
399         Reviewed by Darin Adler.
400
401 2013-11-01  Alexey Proskuryakov  <ap@apple.com>
402
403         Add WebCrypto AES-CBC
404         https://bugs.webkit.org/show_bug.cgi?id=123647
405
406         Reviewed by Anders Carlsson.
407
408         * wtf/FixedArray.h: (WTF::FixedArray::data): Added a const version of the function.
409
410         * wtf/Vector.h: Added a comment to Vector constructor about how it is different
411         from std::vector.
412
413 2013-11-01  Joseph Pecoraro  <pecoraro@apple.com>
414
415         Unreviewed extended attempt at Windows build fix after r158471.
416
417         * wtf/text/cf/AtomicStringCF.cpp:
418         * wtf/text/cf/StringCF.cpp:
419         * wtf/text/cf/StringImplCF.cpp:
420
421 2013-11-01  Joseph Pecoraro  <pecoraro@apple.com>
422
423         Unreviewed attempt at Windows build fix after r158471.
424
425         * wtf/text/cf/AtomicStringCF.cpp:
426         * wtf/text/cf/StringCF.cpp:
427         * wtf/text/cf/StringImplCF.cpp:
428
429 2013-11-01  Andreas Kling  <akling@apple.com>
430
431         Make more StringImpl construction helpers return PassRef.
432         <https://webkit.org/b/123652>
433
434         Tweak another handful of StringImpl constructor functions to return
435         PassRef<StringImpl> instead of PassRefPtr.
436
437         Reviewed by Anders Carlsson.
438
439 2013-11-01  Andreas Kling  <akling@apple.com>
440
441         Neuter WTF_MAKE_FAST_ALLOCATED in GLOBAL_FASTMALLOC_NEW builds.
442         <https://webkit.org/b/123639>
443
444         When building with GLOBAL_FASTMALLOC_NEW, we don't need to expand
445         operator new/delete overrides in every class.
446
447         This change makes allocations group up nicely in Instruments,
448         instead of being split between "WTF::fastMalloc" and "operator new"
449         depending on whether the class had WTF_MAKE_FAST_ALLOCATED.
450
451         Reviewed by Anders Carlsson.
452
453 2013-11-01  Joseph Pecoraro  <pecoraro@apple.com>
454
455         Move CF/Mac WTF String implementations down into WTF
456         https://bugs.webkit.org/show_bug.cgi?id=123635
457
458         Reviewed by Sam Weinig.
459
460         * WTF.vcxproj/WTF.vcxproj:
461         * WTF.vcxproj/WTF.vcxproj.filters:
462         * WTF.xcodeproj/project.pbxproj:
463         * wtf/text/AtomicString.h:
464         * wtf/text/StringImpl.h:
465         * wtf/text/WTFString.h:
466         * wtf/text/cf/AtomicStringCF.cpp: Renamed from Source/WebCore/platform/text/cf/AtomicStringCF.cpp.
467         (WTF::AtomicString::add):
468         * wtf/text/cf/StringCF.cpp: Renamed from Source/WebCore/platform/text/cf/StringCF.cpp.
469         (WTF::String::String):
470         (WTF::String::createCFString):
471         * wtf/text/cf/StringImplCF.cpp: Renamed from Source/WebCore/platform/text/cf/StringImplCF.cpp.
472         (garbageCollectionEnabled):
473         (WTF::StringWrapperCFAllocator::retain):
474         (WTF::StringWrapperCFAllocator::release):
475         (WTF::StringWrapperCFAllocator::copyDescription):
476         (WTF::StringWrapperCFAllocator::allocate):
477         (WTF::StringWrapperCFAllocator::reallocate):
478         (WTF::StringWrapperCFAllocator::deallocateOnMainThread):
479         (WTF::StringWrapperCFAllocator::deallocate):
480         (WTF::StringWrapperCFAllocator::preferredSize):
481         (WTF::StringWrapperCFAllocator::create):
482         (WTF::StringWrapperCFAllocator::allocator):
483         (WTF::StringImpl::createCFString):
484         * wtf/text/mac/StringImplMac.mm: Renamed from Source/WebCore/platform/text/mac/StringImplMac.mm.
485         (WTF::StringImpl::operator NSString *):
486         * wtf/text/mac/StringMac.mm: Renamed from Source/WebCore/platform/text/mac/StringMac.mm.
487         (WTF::String::String):
488
489 2013-11-01  Emilio Pozuelo Monfort  <pochu27@gmail.com>
490
491         HPPA build fixes
492         https://bugs.webkit.org/show_bug.cgi?id=123625
493
494         Original patch from John David Anglin <dave.anglin@bell.net>
495
496         Reviewed by Darin Adler.
497
498         * wtf/Platform.h:
499         * wtf/dtoa/utils.h:
500
501 2013-11-01  Patrick Gansterer  <paroga@webkit.org>
502
503         Buildfix for !USE(ICU_UNICODE) after 156968.
504
505         * wtf/unicode/CollatorDefault.cpp:
506         (WTF::Collator::userDefault):
507
508 2013-10-30  Oliver Hunt  <oliver@apple.com>
509
510         Implement basic ES6 Math functions
511         https://bugs.webkit.org/show_bug.cgi?id=123536
512
513         Reviewed by Michael Saboff.
514
515         Add basic implementations of necessary methods to MathExtras to
516         deal with MSVC not supplying them
517
518         * wtf/MathExtras.h:
519         (asinh):
520         (acosh):
521         (atanh):
522         (expm1):
523         (log1p):
524         (cbrt):
525
526 2013-10-30  Commit Queue  <commit-queue@webkit.org>
527
528         Unreviewed, rolling out r158299.
529         http://trac.webkit.org/changeset/158299
530         https://bugs.webkit.org/show_bug.cgi?id=123558
531
532         caused assertion failures in fast/canvas/canvas-color-
533         serialization.html and fast/forms/input-text-paste-
534         maxlength.html (Requested by rniwa on #webkit).
535
536         * wtf/text/StringStatics.cpp:
537         (WTF::StringImpl::empty):
538
539 2013-10-30  Ryosuke Niwa  <rniwa@webkit.org>
540
541         Remove code for Mac Lion
542         https://bugs.webkit.org/show_bug.cgi?id=123542
543
544         Reviewed by Anders Carlsson.
545
546         * wtf/Platform.h:
547
548 2013-10-30  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
549
550         Remove PCRE workaround.
551         https://bugs.webkit.org/show_bug.cgi?id=123265
552
553         Reviewed by Brent Fulgham.
554
555         * wtf/text/StringStatics.cpp:
556         (WTF::StringImpl::empty):
557
558 2013-10-30  peavo@outlook.com  <peavo@outlook.com>
559
560         [Win] Compile errors when enabling DFG JIT.
561         https://bugs.webkit.org/show_bug.cgi?id=120998
562
563         Reviewed by Brent Fulgham.
564
565         * wtf/CompilationThread.cpp: Use new ThreadingOnce class instead of pthread_once.
566         (WTF::initializeCompilationThreads):
567         * wtf/ThreadingOnce.h: Added ThreadingOnce class encapsulating pthread_once functionality.
568         (WTF::ThreadingOnce::ThreadingOnce):
569         (WTF::ThreadingOnce::~ThreadingOnce):
570         (WTF::ThreadingOnce::callOnce):
571         * wtf/text/CString.h: Export needed symbols.
572
573 2013-10-30  Alex Christensen  <achristensen@webkit.org>
574
575         Disabled JIT on Win64.
576         https://bugs.webkit.org/show_bug.cgi?id=122472
577
578         Reviewed by Geoffrey Garen.
579
580         * wtf/Platform.h:
581         Disabled JIT on Win64.
582
583 2013-10-29  Andreas Kling  <akling@apple.com>
584
585         StringImpl::isolatedCopy() should return PassRef.
586         <https://webkit.org/b/123484>
587
588         Make isolatedCopy() return a PassRef<StringImpl>.
589
590         Reviewed by Anders Carlsson.
591
592 2013-10-29  Jer Noble  <jer.noble@apple.com>
593
594         [MSE] [Mac] Enable MediaSource on the Mac
595         https://bugs.webkit.org/show_bug.cgi?id=122484
596
597         Reviewed by Darin Adler.
598
599         Enable ENABLE_MEDIA_SOURCE.
600
601         * wtf/FeatureDefines.h:
602         * wtf/Platform.h: Force a clean build.
603
604 2013-10-29  Andreas Kling  <akling@apple.com>
605
606         StringImpl::adopt() should return PassRef.
607         <https://webkit.org/b/123456>
608
609         Make the StringImpl::adopt() functions return a PassRef<StringImpl>.
610
611         Reviewed by Anders Carlsson.
612
613 2013-10-29  Jinwoo Song  <jinwoo7.song@samsung.com>
614
615         Re-enable simple line layout for EFL
616         https://bugs.webkit.org/show_bug.cgi?id=123402
617
618         Reviewed by Antti Koivisto.
619
620         * wtf/FeatureDefines.h: Enable 8-bit TextRun support for EFL port.
621
622 2013-10-28  Anders Carlsson  <andersca@apple.com>
623
624         RunLoop::dispatch should take an std::function
625         https://bugs.webkit.org/show_bug.cgi?id=123407
626
627         Reviewed by Andreas Kling.
628
629         * wtf/FunctionDispatcher.h:
630
631 2013-10-28  Andreas Kling  <akling@apple.com>
632
633         RenderElement::m_style should be a Ref.
634         <https://webkit.org/b/123401>
635
636         Added a Ref::replace() so we can Indiana Jones the new style in
637         RenderElement::setStyle() while keeping a handle on the old style
638         for a while longer.
639
640         Reviewed by Antti Koivisto.
641
642 2013-10-28  Carlos Garcia Campos  <cgarcia@igalia.com>
643
644         Unreviewed. Fix make distcheck.
645
646         * GNUmakefile.list.am: Remove unexistent file from compilation.
647
648 2013-10-28  Bastien Nocera <hadess@hadess.net>
649
650         Replace 0 timeouts g_timeout_add() by g_idle_add()
651         https://bugs.webkit.org/show_bug.cgi?id=123260
652
653         Reviewed by Carlos Garcia Campos.
654
655         A zero timeout should be equivalent to using g_idle_add_full(G_PRIORITY_DEFAULT, ...)
656         without the nagging feeling that the wrong API was used.
657
658         * wtf/gtk/MainThreadGtk.cpp: Use g_idle_add() instead
659         of 0-timer.
660         (WTF::scheduleDispatchFunctionsOnMainThread):
661
662 2013-10-28  Zan Dobersek  <zdobersek@igalia.com>
663
664         Re-enable simple line layout for GTK
665         https://bugs.webkit.org/show_bug.cgi?id=123388
666
667         Reviewed by Andreas Kling.
668
669         * wtf/FeatureDefines.h: Enable the 8-bit TextRun support for the GTK port.
670
671 2013-10-25  Joseph Pecoraro  <pecoraro@apple.com>
672
673         Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
674         https://bugs.webkit.org/show_bug.cgi?id=123111
675
676         Reviewed by Timothy Hatcher.
677
678         * wtf/FeatureDefines.h:
679
680 2013-10-25  Jer Noble  <jer.noble@apple.com>
681
682         [WTF] Add a multiplication operator (and a few others) to MediaTime
683         https://bugs.webkit.org/show_bug.cgi?id=123137
684
685         Reviewed by Eric Carlson.
686
687         Add a multiplication operator and an inequality operator to the
688         MediaTime class for use by MSE.
689
690         * wtf/MediaTime.cpp:
691         (WTF::signum): Moved to top of file.
692         (WTF::MediaTime::operator*): Added.
693         (WTF::MediaTime::operator!=): Added.
694         * wtf/MediaTime.h:
695         (WTF::operator*): Added non-class version of operator*.
696
697 2013-10-24  Jer Noble  <jer.noble@apple.com>
698
699         [Mac] Add helper methods to convert CMTime <--> MediaTime
700         https://bugs.webkit.org/show_bug.cgi?id=123285
701
702         Reviewed by Eric Carlson.
703
704         Add a #ifdef header_h protector.
705
706         * wtf/MediaTime.h:
707
708 2013-10-24  Mark Rowe  <mrowe@apple.com>
709
710         Remove references to OS X 10.7 from Xcode configuration settings.
711
712         Now that we're not building for OS X 10.7 they're no longer needed.
713
714         Reviewed by Anders Carlsson.
715
716         * Configurations/Base.xcconfig:
717         * Configurations/DebugRelease.xcconfig:
718
719 2013-10-24  Mark Rowe  <mrowe@apple.com>
720
721         <rdar://problem/15312643> Prepare for the mysterious future.
722
723         Reviewed by David Kilzer.
724
725         * Configurations/Base.xcconfig:
726         * Configurations/DebugRelease.xcconfig:
727
728 2013-10-24  Commit Queue  <commit-queue@webkit.org>
729
730         Unreviewed, rolling out r157931.
731         http://trac.webkit.org/changeset/157931
732         https://bugs.webkit.org/show_bug.cgi?id=123284
733
734         Seems to have caused a lot of assertions on debug bots
735         (Requested by ap on #webkit).
736
737         * wtf/text/StringStatics.cpp:
738         (WTF::StringImpl::empty):
739
740 2013-10-24  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
741
742         Remove PCRE workaround.
743         https://bugs.webkit.org/show_bug.cgi?id=123265
744
745         Reviewed by Darin Adler.
746
747         * wtf/text/StringStatics.cpp:
748         (WTF::StringImpl::empty):
749
750 2013-10-24  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
751
752         Remove Clang workaround.
753         https://bugs.webkit.org/show_bug.cgi?id=123262
754
755         Reviewed by Anders Carlsson.
756
757         * wtf/CheckedArithmetic.h:
758         (WTF::Checked::Checked):
759
760 2013-10-24  Ryuan Choi  <ryuan.choi@samsung.com>
761
762         [EFL] Build break with latest EFL 1.8 libraries.
763         https://bugs.webkit.org/show_bug.cgi?id=123245
764
765         Reviewed by Gyuyoung Kim.
766
767         After fixed build break on EFL 1.8 at r138326, EFL libraries are changed
768         Eo typedef and splitted header files which contain version macro.
769
770         * wtf/OwnPtrCommon.h: Changed Eo typedef.
771         * wtf/efl/RefPtrEfl.h: Ditto.
772
773 2013-10-24  Carlos Garcia Campos  <cgarcia@igalia.com>
774
775         [GObject bindings] Make EventTarget interface introspectable
776         https://bugs.webkit.org/show_bug.cgi?id=77835
777
778         Reviewed by Gustavo Noronha Silva.
779
780         Add support for use GRefPtr with GClosure.
781
782         * wtf/gobject/GRefPtr.cpp:
783         (WTF::refGPtr):
784         (WTF::derefGPtr):
785         * wtf/gobject/GRefPtr.h:
786         * wtf/gobject/GTypedefs.h:
787
788 2013-10-23  Anders Carlsson  <andersca@apple.com>
789
790         Remove USE(LOCKFREE_THREADSAFEREFCOUNTED)
791         https://bugs.webkit.org/show_bug.cgi?id=123228
792
793         Reviewed by Geoffrey Garen.
794
795         All ports support USE(LOCKFREE_THREADSAFEREFCOUNTED) now and taking a lock on every ref/deref seems bad.
796
797         * wtf/Atomics.h:
798         * wtf/ThreadSafeRefCounted.h:
799         (WTF::ThreadSafeRefCountedBase::ref):
800         (WTF::ThreadSafeRefCountedBase::refCount):
801         (WTF::ThreadSafeRefCountedBase::derefBase):
802
803 2013-10-23  Anders Carlsson  <andersca@apple.com>
804
805         Remove HAVE_XPC
806         https://bugs.webkit.org/show_bug.cgi?id=123226
807
808         Reviewed by Dan Bernstein.
809
810         HAVE_XPC has been true on Mac since Lion, so remove it.
811
812         * wtf/Platform.h:
813
814 2013-10-23  Andreas Kling  <akling@apple.com>
815
816         Make more StringImpl construction functions return PassRef.
817         <https://webkit.org/b/123203>
818
819         Knock out a couple more of the StringImpl construction helpers that
820         always return a non-null StringImpl.
821
822         Reviewed by Antti Koivisto.
823
824 2013-10-22  Filip Pizlo  <fpizlo@apple.com>
825
826         FTL should be able to do some simple inline caches using LLVM patchpoints
827         https://bugs.webkit.org/show_bug.cgi?id=123164
828
829         Reviewed by Mark Hahnenberg.
830         
831         This needed some better bitvector support, like merging (|=), excluding (&=~),
832         hashing, and bit counting.
833
834         * wtf/BitVector.cpp:
835         (WTF::BitVector::setSlow):
836         (WTF::BitVector::excludeSlow):
837         (WTF::BitVector::bitCountSlow):
838         (WTF::BitVector::equalsSlowCase):
839         (WTF::BitVector::hashSlowCase):
840         (WTF::BitVector::dump):
841         * wtf/BitVector.h:
842         (WTF::BitVector::merge):
843         (WTF::BitVector::exclude):
844         (WTF::BitVector::bitCount):
845         (WTF::BitVector::BitVector):
846         (WTF::BitVector::isEmptyValue):
847         (WTF::BitVector::isDeletedValue):
848         (WTF::BitVector::isEmptyOrDeletedValue):
849         (WTF::BitVector::operator==):
850         (WTF::BitVector::hash):
851         (WTF::BitVectorHash::hash):
852         (WTF::BitVectorHash::equal):
853         * wtf/HashTraits.h:
854         (WTF::CustomHashTraits::constructDeletedValue):
855         (WTF::CustomHashTraits::isDeletedValue):
856         (WTF::CustomHashTraits::emptyValue):
857         (WTF::CustomHashTraits::isEmptyValue):
858         * wtf/StdLibExtras.h:
859         (WTF::bitCount):
860
861 2013-10-23  Allan Sandfeld Jensen  <allan.jensen@digia.com>
862
863         Clean-up in Atomics.h
864         https://bugs.webkit.org/show_bug.cgi?id=123207
865
866         Reviewed by Anders Carlsson.
867
868         Atomics.h has two confusing and bit-rotted ifdefs with comments.
869
870         The first about CPU(SPARC64) was rendered obsolete when we switched
871         from __exchange_and_add to __sync_add_and_fetch.
872
873         The second was caused by a wrong definition that apparently only
874         caused trouble on GCC.
875
876         * wtf/Atomics.h:
877
878 2013-10-22  Andreas Kling  <akling@apple.com>
879
880         StringImpl::lower() should return a PassRef.
881         <https://webkit.org/b/123190>
882
883         Test the waters and hack enough of StringImpl to be able to return
884         a PassRef<StringImpl> from lower().
885
886         Also gave String a constructor that takes a PassRef<StringImpl>.
887
888         Reviewed by Antti Koivisto.
889
890 2013-10-22  Commit Queue  <commit-queue@webkit.org>
891
892         Unreviewed, rolling out r157835.
893         http://trac.webkit.org/changeset/157835
894         https://bugs.webkit.org/show_bug.cgi?id=123192
895
896         broke 32-bit builds (Requested by smfr on #webkit).
897
898         * wtf/MediaTime.cpp:
899         (WTF::signum):
900         * wtf/MediaTime.h:
901
902 2013-10-22  Jer Noble  <jer.noble@apple.com>
903
904         [WTF] Add a multiplication operator (and a few others) to MediaTime
905         https://bugs.webkit.org/show_bug.cgi?id=123137
906
907         Reviewed by Eric Carlson.
908
909         Add a multiplication operator and an inequality operator to the
910         MediaTime class for use by MSE.
911
912         * wtf/MediaTime.cpp:
913         (WTF::signum): Moved to top of file.
914         (WTF::MediaTime::operator*): Added.
915         (WTF::MediaTime::operator!=): Added.
916         * wtf/MediaTime.h:
917         (WTF::operator*): Added non-class version of operator*.
918
919 2013-10-21  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
920
921         Make TYPE_CASTS_BASE more flexible
922         https://bugs.webkit.org/show_bug.cgi?id=122951
923
924         Reviewed by Andreas Kling.
925
926         TYPE_CASTS_BASE is being used by node|element type casts. However, it is difficult
927         to be used by other type casts. For instance, CSSValue, Accessibility and so on.
928         This patch modifies TYPE_CASTS_BASE which can support other type casts.
929
930         Besides TYPE_CASTS_BASE body is moved from node.h to Assertions.h.
931
932         * wtf/Assertions.h:
933
934 2013-10-20  Filip Pizlo  <fpizlo@apple.com>
935
936         StructureStubInfo's usedRegisters set should be able to track all registers, not just the ones that our JIT's view as temporaries
937         https://bugs.webkit.org/show_bug.cgi?id=123076
938
939         Reviewed by Sam Weinig.
940         
941         Teach BitVector how to efficiently merge (i.e. bitvector |=).
942
943         * wtf/BitVector.cpp:
944         (WTF::BitVector::mergeSlow):
945         * wtf/BitVector.h:
946         (WTF::BitVector::merge):
947         (WTF::BitVector::cleanseInlineBits):
948
949 2013-10-19  Jer Noble  <jer.noble@apple.com>
950
951         Unreviewed roll out of r157695; broke Mac builds.
952
953         * wtf/FeatureDefines.h:
954
955 2013-10-07  Jer Noble  <jer.noble@apple.com>
956
957         [MSE] [Mac] Enable MediaSource on the Mac
958         https://bugs.webkit.org/show_bug.cgi?id=122484
959
960         Reviewed by Darin Adler.
961
962         Enable ENABLE_MEDIA_SOURCE.
963
964         * wtf/FeatureDefines.h:
965
966 2013-10-19  Andreas Kling  <akling@apple.com>
967
968         RefPtr::releaseNonNull() incorrectly increments the refcount.
969         <https://webkit.org/b/123063>
970
971         Make releaseNonNull() use adoptRef(T&), mirroring release().
972
973         Reviewed by Anders Carlsson.
974
975 2013-10-18  Andreas Kling  <akling@apple.com>
976
977         Start passing RenderStyle around with PassRef.
978         <https://webkit.org/b/123051>
979
980         Added some new PassRef tricks to make this patch possible.
981
982         Reviewed by Darin Adler.
983
984         * wtf/PassRef.h:
985         (WTF::PassRef::get):
986
987             Added a get() helper to facilitate writing functions that
988             construct a new object and call some functions on it before
989             returning it.
990
991         (WTF::PassRef::dropRef):
992
993             This will deref() the referenced object and mark the PassRef
994             as "passed." This is used in code paths where the PassRef is
995             going to go out of scope with nobody to take it over.
996
997         (WTF::PassRef::leakRef):
998
999             Renamed takeReference() to leakRef() and made it public so
1000             we don't have to awkwardly sink the PassRef into a Ref for
1001             e.g static locals.
1002
1003         * wtf/RefPtr.h:
1004         (WTF::RefPtr::releaseNonNull):
1005
1006             Added RefPtr::releaseNonNull() for a convenient way of creating
1007             a PassRef<T> from a RefPtr<T>. This function may only be called
1008             if the RefPtr is known to be non-null.
1009
1010 2013-10-18  Filip Pizlo  <fpizlo@apple.com>
1011
1012         A CodeBlock's StructureStubInfos shouldn't be in a Vector that we search using code origins and machine code PCs
1013         https://bugs.webkit.org/show_bug.cgi?id=122940
1014
1015         Reviewed by Oliver Hunt.
1016
1017         * GNUmakefile.list.am:
1018         * WTF.vcxproj/WTF.vcxproj:
1019         * WTF.xcodeproj/project.pbxproj:
1020         * wtf/BagToHashMap.h: Added.
1021         (WTF::toHashMap):
1022         * wtf/CMakeLists.txt:
1023
1024 2013-10-18  Anders Carlsson  <andersca@apple.com>
1025
1026         Remove spaces between template angle brackets
1027         https://bugs.webkit.org/show_bug.cgi?id=123040
1028
1029         Reviewed by Andreas Kling.
1030
1031         * wtf/AVLTree.h:
1032         * wtf/CheckedArithmetic.h:
1033         * wtf/Compression.h:
1034         * wtf/Functional.h:
1035         (WTF::R):
1036         * wtf/HashFunctions.h:
1037         * wtf/HashIterators.h:
1038         * wtf/HashSet.h:
1039         (WTF::::contains):
1040         * wtf/ListHashSet.h:
1041         (WTF::::contains):
1042         * wtf/RefCountedLeakCounter.cpp:
1043         * wtf/RetainPtr.h:
1044         * wtf/SentinelLinkedList.h:
1045         (WTF::::remove):
1046         * wtf/SizeLimits.cpp:
1047         * wtf/StreamBuffer.h:
1048         * wtf/Vector.h:
1049         * wtf/VectorTraits.h:
1050         * wtf/WeakPtr.h:
1051         (WTF::WeakReference::create):
1052         (WTF::WeakReference::createUnbound):
1053         (WTF::WeakPtr::WeakPtr):
1054         (WTF::WeakPtrFactory::WeakPtrFactory):
1055         * wtf/text/AtomicString.cpp:
1056         (WTF::AtomicString::add):
1057         (WTF::findString):
1058         * wtf/text/StringConcatenate.h:
1059         * wtf/text/StringImpl.h:
1060         * wtf/text/StringOperators.h:
1061         (WTF::operator+):
1062
1063 2013-10-18  Brendan Long  <b.long@cablelabs.com>
1064
1065         [GStreamer][GTK] Add GRefPtr::outPtr()
1066         https://bugs.webkit.org/show_bug.cgi?id=122996
1067
1068         Reviewed by Philippe Normand.
1069
1070         * wtf/gobject/GRefPtr.h:
1071         (WTF::GRefPtr::outPtr): Added.
1072
1073 2013-10-17  Geoffrey Garen  <ggaren@apple.com>
1074
1075         Tidied up the Vector<T> move constructor
1076         https://bugs.webkit.org/show_bug.cgi?id=122998
1077
1078         Reviewed by Anders Carlsson.
1079
1080         * wtf/Vector.h:
1081         (WTF::::Vector): Don't call swap() "weird". It's the way most std types
1082         implement move constructors.
1083
1084         Do inline this function, so the compiler can optimize away a logical
1085         move into a physical no-op.
1086
1087 2013-10-16  Filip Pizlo  <fpizlo@apple.com>
1088
1089         Introduce WTF::Bag and start using it for InlineCallFrameSet
1090         https://bugs.webkit.org/show_bug.cgi?id=122941
1091
1092         Reviewed by Geoffrey Garen.
1093         
1094         Introduce WTF::Bag, which is basically an allocation pool. No POD restrictions. Does one
1095         malloc per entry. No need to shrink afterwards.
1096
1097         * GNUmakefile.list.am:
1098         * WTF.vcxproj/WTF.vcxproj:
1099         * WTF.xcodeproj/project.pbxproj:
1100         * wtf/Bag.h: Added.
1101         (WTF::Bag::Bag):
1102         (WTF::Bag::~Bag):
1103         (WTF::Bag::add):
1104         (WTF::Bag::iterator::iterator):
1105         (WTF::Bag::iterator::operator!):
1106         (WTF::Bag::iterator::operator*):
1107         (WTF::Bag::iterator::operator++):
1108         (WTF::Bag::iterator::operator==):
1109         (WTF::Bag::begin):
1110         (WTF::Bag::end):
1111         (WTF::Bag::isEmpty):
1112         * wtf/CMakeLists.txt:
1113
1114 2013-10-17  Andreas Kling  <akling@apple.com>
1115
1116         Make it possible to assign a PassRef to a RefPtr.
1117         <https://webkit.org/b/122943>
1118
1119         We have to use std::move when constructing a RefPtr from a PassRef
1120         since there is no copy constructor for the latter.
1121
1122         Reviewed by Antti Koivisto.
1123
1124 2013-10-16  Ryuan Choi  <ryuan.choi@samsung.com>
1125
1126         Unreviewed build fix attempt on EFL port after r157520 and r157523
1127
1128         * wtf/PassRef.h: includes <utility>
1129
1130 2013-10-16  Darin Adler  <darin@apple.com>
1131
1132         Add PassRef and createRefCounted so we can improve creation of RefCounted objects
1133         https://bugs.webkit.org/show_bug.cgi?id=122904
1134
1135         Reviewed by Anders Carlsson.
1136
1137         * GNUmakefile.list.am: Added PassRef.h.
1138         * WTF.vcxproj/WTF.vcxproj: Ditto.
1139         * WTF.vcxproj/WTF.vcxproj.filters: Ditto.
1140         * WTF.xcodeproj/project.pbxproj: Ditto.
1141         * wtf/CMakeLists.txt: Ditto.
1142
1143         * wtf/Forward.h: Added PassRef. Also re-sorted and un-indented to match what
1144         the style-checking script expects.
1145
1146         * wtf/PassRef.h: Added. Includes the createRefCounted function template, which
1147         is analogous to make_unique, but is for reference counted objects, and also
1148         assumes that new will never return null. Also includes an overload of adoptRef
1149         that takes a reference rather than a pointer.
1150
1151         * wtf/PassRefPtr.h: Include "PassRef.h" so we can share the adopted function.
1152         Got rid of declarations that duplicate ones in there.
1153         (WTF::refIfNotNull): Use nullptr.
1154         (WTF::derefIfNotNull): Use nullptr.
1155         (WTF::PassRefPtr::PassRefPtr): Use nullptr. Added an overload that takes a PassRef.
1156         (WTF::PassRefPtr::operator UnspecifiedBoolType): Use nullptr.
1157         (WTF::PassRefPtr::operator=): Made this deleted instead of compile time assertion.
1158         (WTF::PassRefPtr::PassRefPtr): Made adopting constructor use an adopt tag instead
1159         of an unused boolean.
1160         (WTF::PassRefPtr::leakRef): Use nullptr.
1161         (WTF::adoptRef): Use the adopt tag.
1162
1163         * wtf/Ref.h: Use Noncopyable instead of rolling our own.
1164         (WTF::Ref::Ref): Add an overload that takes a PassRef.
1165         (WTF::Ref::operator=): Ditto.
1166
1167         * wtf/RefPtr.h: Removed unneeded forward declaration of PassRefPtr.
1168         (WTF::RefPtr::RefPtr): Use nullptr. Added overload that takes a PassRef.
1169         (WTF::RefPtr::release): Use nullptr.
1170         (WTF::RefPtr::operator UnspecifiedBoolType): Use nullptr.
1171         (WTF::RefPtr::operator=): Added overload that takes a PassRef.
1172         (WTF::RefPtr::clear): Use nullptr.
1173
1174         * wtf/StdLibExtras.h: Added inline keyword to isPointerTypeAlignmentOkay,
1175         reinterpret_cast_ptr, and make_unique. Seems like a simple oversight that these
1176         were missing before.
1177
1178 2013-10-15  Dean Jackson  <dino@apple.com>
1179
1180         Add ENABLE_WEB_ANIMATIONS flag
1181         https://bugs.webkit.org/show_bug.cgi?id=122871
1182
1183         Reviewed by Tim Horton.
1184
1185         Eventually might be http://dev.w3.org/fxtf/web-animations/
1186         but this is just engine-internal work at the moment.
1187
1188         * wtf/FeatureDefines.h:
1189
1190 2013-10-15  Daniel Bates  <dabates@apple.com>
1191
1192         [iOS] Upstream JavaScriptCore support for ARM64
1193         https://bugs.webkit.org/show_bug.cgi?id=122762
1194
1195         Reviewed by Oliver Hunt.
1196
1197         * Configurations/Base.xcconfig:
1198         * wtf/Atomics.h:
1199         (WTF::weakCompareAndSwap):
1200         (WTF::armV7_dmb):
1201         * wtf/FastMalloc.cpp:
1202         * wtf/Platform.h:
1203         * wtf/dtoa.cpp:
1204         * wtf/dtoa/utils.h:
1205         * wtf/text/ASCIIFastPath.h:
1206         (WTF::copyLCharsFromUCharSource):
1207         * wtf/text/StringImpl.h:
1208
1209 2013-10-14  Zan Dobersek  <zdobersek@igalia.com>
1210
1211         Static assertions in WTF::adoptPtr should point to using adoptRef for ref-counted objects
1212         https://bugs.webkit.org/show_bug.cgi?id=122745
1213
1214         Reviewed by Anders Carlsson.
1215
1216         * wtf/PassOwnPtr.h:
1217         (WTF::adoptPtr): When the object's type is convertible to the RefCountedBase or ThreadSafeRefCountedBase type,
1218         the static assertion should note that adoptRef should be used instead.
1219
1220 2013-10-14  Anders Carlsson  <andersca@apple.com>
1221
1222         WebKit Nightlies broken by r157374
1223         https://bugs.webkit.org/show_bug.cgi?id=122736
1224
1225         Reviewed by Andreas Kling.
1226
1227         Add back a callOnMainThread overload that Safari is using.
1228
1229         * wtf/MainThread.cpp:
1230         (WTF::callOnMainThread):
1231         * wtf/MainThread.h:
1232
1233 2013-10-13  Darin Adler  <darin@apple.com>
1234
1235         Deprecate or remove deleteAllValues functions; there are only a few call sites left
1236         https://bugs.webkit.org/show_bug.cgi?id=122738
1237
1238         Reviewed by Anders Carlsson.
1239
1240         * wtf/Deque.h: Deleted deleteAllValues.
1241         * wtf/HashMap.h: Ditto.
1242         * wtf/HashSet.h: Ditto.
1243         * wtf/ListHashSet.h: Ditto.
1244         * wtf/Vector.h: Renamed deleteAllValues to deprecatedDeleteAllValues.
1245
1246 == Rolled over to ChangeLog-2013-10-13 ==