[Cocoa] Add SPI to disallow user-installed fonts
[WebKit-https.git] / Source / WebCore / PAL / ChangeLog
1 2017-12-07  Myles C. Maxfield  <mmaxfield@apple.com>
2
3         [Cocoa] Add SPI to disallow user-installed fonts
4         https://bugs.webkit.org/show_bug.cgi?id=180062
5         <rdar://problem/35042408>
6
7         Reviewed by Simon Fraser.
8
9         * pal/spi/cocoa/CoreTextSPI.h:
10
11 2017-12-02  Darin Adler  <darin@apple.com>
12
13         Modernize some aspects of text codecs, eliminate WebKit use of strcasecmp
14         https://bugs.webkit.org/show_bug.cgi?id=180009
15
16         Reviewed by Alex Christensen.
17
18         * PAL.xcodeproj/project.pbxproj: Added UnencodableHandling.h.
19         * pal/text/UnencodableHandling.h: Moved the UnencodableHandling enumeration
20         here from TextCodec.h and changed it to an enum class.
21
22 2017-12-04  David Quesada  <david_quesada@apple.com>
23
24         Add a class for parsing application manifests
25         https://bugs.webkit.org/show_bug.cgi?id=177973
26         rdar://problem/34747949
27
28         Reviewed by Geoffrey Garen.
29
30         * Configurations/FeatureDefines.xcconfig: Add ENABLE_APPLICATION_MANIFEST feature flag.
31
32 2017-12-04  Zan Dobersek  <zdobersek@igalia.com>
33
34         Unreviewed WPE build fix.
35
36         * pal/PlatformWPE.cmake: Use GLIB_INCLUDE_DIRS for building the PAL library.
37
38 2017-12-04  Michael Catanzaro  <mcatanzaro@igalia.com>
39
40         [WPE][GTK] Implement PAL::SleepDisabler
41         https://bugs.webkit.org/show_bug.cgi?id=178485
42
43         Reviewed by Carlos Garcia Campos.
44
45         * pal/PlatformGTK.cmake:
46         * pal/PlatformWPE.cmake:
47         * pal/system/SleepDisabler.cpp:
48         * pal/system/glib/SleepDisablerGLib.cpp: Added.
49         (PAL::SleepDisabler::create):
50         (PAL::SleepDisablerGLib::SleepDisablerGLib):
51         (PAL::SleepDisablerGLib::~SleepDisablerGLib):
52         (PAL::SleepDisablerGLib::acquireInhibitor):
53         (PAL::SleepDisablerGLib::releaseInhibitor):
54         * pal/system/glib/SleepDisablerGLib.h: Added.
55
56 2017-11-30  Stephan Szabo  <stephan.szabo@sony.com>
57
58         Make LegacyCustomProtocolManager optional for network process
59         https://bugs.webkit.org/show_bug.cgi?id=176230
60
61         Reviewed by Alex Christensen.
62
63         * Configurations/FeatureDefines.xcconfig:
64
65 2017-11-29  Brent Fulgham  <bfulgham@apple.com>
66
67         Part 2: Adopt updated NSKeyed[Un]Archiver API when available
68         https://bugs.webkit.org/show_bug.cgi?id=180127
69         <rdar://problem/35710738>
70
71         Reviewed by Simon Fraser.
72
73         The API that accepts a user-allocated NSMutableData is deprecated. Switch (for macOS 10.12 and newer)
74         to the modern API. Use the original API for macOS builds prior to 10.12.
75
76         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
77         (secureArchiver): Added.
78         (secureArchiverFromMutableData): Deleted.
79
80 2017-11-29  Alex Christensen  <achristensen@webkit.org>
81
82         Fix Mac CMake build.
83
84         * pal/PlatformMac.cmake:
85
86 2017-11-28  Brent Fulgham  <bfulgham@apple.com>
87
88         Adopt updated NSKeyed[Un]Archiver API when available
89         https://bugs.webkit.org/show_bug.cgi?id=180127
90         <rdar://problem/35710738>
91
92         Reviewed by Alex Christensen.
93
94         Add new convenience methods (and SPI headers) so we can adopt new NSKeyedArchiver
95         API that uses secure coding by default.
96
97         * PAL.xcodeproj/project.pbxproj:
98         * pal/spi/cocoa/NSKeyedArchiverSPI.h: Added.
99         (securelyArchivedDataWithRootObject): New convenience method.
100         (securelyUnarchiveRootObjectOfClassFromData): Ditto.
101         (secureArchiverFromMutableData): Ditto.
102         (secureUnarchiverFromData): Ditto.
103
104 2017-11-28  Tim Horton  <timothy_horton@apple.com>
105
106         REGRESSION (High Sierra): Layout Test fast/multicol/newmulticol/spanner2.html is a flaky image failure on WK1
107         https://bugs.webkit.org/show_bug.cgi?id=177826
108         <rdar://problem/34876498>
109
110         Reviewed by Alexey Proskuryakov.
111
112         * pal/spi/cg/CoreGraphicsSPI.h:
113
114 2017-11-27  Tim Horton  <timothy_horton@apple.com>
115
116         One too many zeroes in macOS version number in FeatureDefines
117         https://bugs.webkit.org/show_bug.cgi?id=180011
118
119         Reviewed by Dan Bernstein.
120
121         * Configurations/FeatureDefines.xcconfig:
122
123 2017-11-19  Tim Horton  <timothy_horton@apple.com>
124
125         Remove unused TOUCH_ICON_LOADING feature flag
126         https://bugs.webkit.org/show_bug.cgi?id=179873
127
128         Reviewed by Simon Fraser.
129
130         * Configurations/FeatureDefines.xcconfig:
131
132 2017-11-19  Tim Horton  <timothy_horton@apple.com>
133
134         Remove unused LEGACY_VENDOR_PREFIXES feature flag
135         https://bugs.webkit.org/show_bug.cgi?id=179872
136
137         Reviewed by Darin Adler.
138
139         * Configurations/FeatureDefines.xcconfig:
140
141 2017-11-16  Daniel Bates  <dabates@apple.com>
142
143         Add feature define for alternative presentation button element
144         https://bugs.webkit.org/show_bug.cgi?id=179692
145         Part of <rdar://problem/34917108>
146
147         Reviewed by Andy Estes.
148
149         Only enabled on Cocoa platforms by default.
150
151         * Configurations/FeatureDefines.xcconfig:
152
153 2017-11-14  Daniel Bates  <dabates@apple.com>
154
155         Update comment in FeatureDefines.xcconfig to reflect location of Visual Studio property files
156         for feature defines
157
158         Following r195498 and r201917 the Visual Studio property files for feature defines have
159         moved from directory WebKitLibraries/win/tools/vsprops to directory Source/cmake/tools/vsprops.
160         Update the comment in FeatureDefines.xcconfig to reflect the new location and names of these
161         files.
162
163         * Configurations/FeatureDefines.xcconfig:
164
165 2017-11-08  Keith Miller  <keith_miller@apple.com>
166
167         Async iteration should only fetch the next method once and add feature flag
168         https://bugs.webkit.org/show_bug.cgi?id=179451
169
170         Reviewed by Geoffrey Garen.
171
172         Add feature flag for Async iteration.
173
174         * Configurations/FeatureDefines.xcconfig:
175
176 2017-11-10  John Wilander  <wilander@apple.com>
177
178         Ignore HSTS for partitioned, cross-origin subresource requests
179         https://bugs.webkit.org/show_bug.cgi?id=178993
180         <rdar://problem/34962462>
181
182         Reviewed by Brent Fulgham.
183
184         * pal/spi/cf/CFNetworkSPI.h:
185             Added
186             - (BOOL)_schemeWasUpgradedDueToDynamicHSTS
187             - (BOOL)_preventHSTSStorage
188             - (BOOL)_ignoreHSTS
189             - (void)_setPreventHSTSStorage:(BOOL)preventHSTSStorage
190             - (void)_setIgnoreHSTS:(BOOL)ignoreHSTS
191
192
193 2017-11-09  Dan Bernstein  <mitz@apple.com>
194
195         [Xcode] An extra copy of FileSizeFormatter.h is installed in /usr/local/include
196         https://bugs.webkit.org/show_bug.cgi?id=179525
197
198         Reviewed by Wenson Hsieh.
199
200         * PAL.xcodeproj/project.pbxproj: Demoted FileSizeFormatter.h to a project header in the PAL target. The
201           Copy PAL Headers target takes care of installing this header under /usr/local/include/pal.
202
203 2017-11-09  Chris Dumez  <cdumez@apple.com>
204
205         Unreviewed, rolling out r224661.
206
207         Broke build on several internal Mac/iOS bots
208
209         Reverted changeset:
210
211         "Ignore HSTS for partitioned, cross-origin subresource
212         requests"
213         https://bugs.webkit.org/show_bug.cgi?id=178993
214         https://trac.webkit.org/changeset/224661
215
216 2017-11-09  John Wilander  <wilander@apple.com>
217
218         Ignore HSTS for partitioned, cross-origin subresource requests
219         https://bugs.webkit.org/show_bug.cgi?id=178993
220         <rdar://problem/34962462>
221
222         Reviewed by Brent Fulgham.
223
224         * pal/spi/cf/CFNetworkSPI.h:
225             Added
226             - (BOOL)_schemeWasUpgradedDueToDynamicHSTS
227             - (BOOL)_preventHSTSStorage
228             - (BOOL)_ignoreHSTS
229             - (void)_setPreventHSTSStorage:(BOOL)preventHSTSStorage
230             - (void)_setIgnoreHSTS:(BOOL)ignoreHSTS
231
232
233 2017-11-08  Jeremy Jones  <jeremyj@apple.com>
234
235         HTMLMediaElement should not use element fullscreen on iOS
236         https://bugs.webkit.org/show_bug.cgi?id=179418
237         rdar://problem/35409277
238
239         Reviewed by Eric Carlson.
240
241         Add ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN to determine if HTMLMediaElement should use element full screen or not.
242
243         * Configurations/FeatureDefines.xcconfig:
244
245 2017-11-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
246
247         [CG] Adopt CGContextDrawPathDirect()
248         https://bugs.webkit.org/show_bug.cgi?id=179339
249         <rdar://problem/26283575>
250
251         Reviewed by Simon Fraser.
252
253         Add CGContextDrawPathDirect() as a new CoreGraphics SPI.
254
255         * pal/spi/cg/CoreGraphicsSPI.h:
256
257 2017-11-02  Ryan Haddad  <ryanhaddad@apple.com>
258
259         Unreviewed, rolling out r224353.
260
261         Breaks internal builds.
262
263         Reverted changeset:
264
265         "Ignore HSTS for partitioned, cross-origin subresource
266         requests"
267         https://bugs.webkit.org/show_bug.cgi?id=178993
268         https://trac.webkit.org/changeset/224353
269
270 2017-11-02  John Wilander  <wilander@apple.com>
271
272         Ignore HSTS for partitioned, cross-origin subresource requests
273         https://bugs.webkit.org/show_bug.cgi?id=178993
274         <rdar://problem/34962462>
275
276         Reviewed by Brent Fulgham and Alex Christensen.
277
278         * pal/spi/cf/CFNetworkSPI.h:
279             Added
280             - (BOOL)_schemeWasUpgradedDueToDynamicHSTS
281             - (BOOL)_preventHSTSStorage
282             - (BOOL)_ignoreHSTS
283             - (void)_setPreventHSTSStorage:(BOOL)preventHSTSStorage
284             - (void)_setIgnoreHSTS:(BOOL)ignoreHSTS
285
286 2017-11-02  Frederic Wang  <fwang@igalia.com>
287
288         Add references to bug 179167 in FIXME comments
289         https://bugs.webkit.org/show_bug.cgi?id=179168
290
291         Reviewed by Daniel Bates.
292
293         * Configurations/FeatureDefines.xcconfig:
294
295 2017-11-01  Jeremy Jones  <jeremyj@apple.com>
296
297         Implement WKFullscreenWindowController for iOS.
298         https://bugs.webkit.org/show_bug.cgi?id=178924
299         rdar://problem/34697120
300
301         Reviewed by Simon Fraser.
302
303         Enable ENABLE_FULLSCREEN_API for iOS;
304
305         * Configurations/FeatureDefines.xcconfig:
306
307 2017-11-01  Daniel Bates  <dabates@apple.com>
308
309         XMLHttpRequest should not sniff content encoding
310         https://bugs.webkit.org/show_bug.cgi?id=175597
311         <rdar://problem/34912624>
312
313         Reviewed by Alex Christensen.
314
315         Forward declare CFNetwork SPI.
316
317         * pal/spi/cf/CFNetworkSPI.h:
318
319 2017-10-31  Tim Horton  <timothy_horton@apple.com>
320
321         Clean up some drag and drop feature flags
322         https://bugs.webkit.org/show_bug.cgi?id=179082
323
324         Reviewed by Simon Fraser.
325
326         * Configurations/FeatureDefines.xcconfig:
327
328 2017-10-31  Tim Horton  <timothy_horton@apple.com>
329
330         Fix up some content filtering feature flags
331         https://bugs.webkit.org/show_bug.cgi?id=179079
332
333         Reviewed by Simon Fraser.
334
335         * Configurations/FeatureDefines.xcconfig:
336
337 2017-10-31  Wenson Hsieh  <wenson_hsieh@apple.com>
338
339         [Attachment Support] Implement WKWebView SPI for inserting attachment elements
340         https://bugs.webkit.org/show_bug.cgi?id=179013
341         <rdar://problem/35249668>
342
343         Reviewed by Tim Horton.
344
345         Add a PAL library function to convert a file size to a human-readable string. On Cocoa platforms, this is a
346         wrapper around NSLocalizedFileSizeDescription; otherwise, we fall back to a naive platform-agnostic
347         implementation in FileSizeFormatter.cpp.
348
349         * PAL.xcodeproj/project.pbxproj:
350         * pal/CMakeLists.txt:
351         * pal/FileSizeFormatter.cpp: Added.
352         (fileSizeDescription):
353         * pal/FileSizeFormatter.h: Added.
354         * pal/cocoa/FileSizeFormatterCocoa.mm: Added.
355         (fileSizeDescription):
356         * pal/spi/cocoa/NSFileSizeFormatterSPI.h: Added.
357
358 2017-10-27  Keith Miller  <keith_miller@apple.com>
359
360         Move iOS specific sources to unified sources
361         https://bugs.webkit.org/show_bug.cgi?id=178915
362
363         Rubber-stamped by Tim Horton.
364
365         * pal/spi/cocoa/QuartzCoreSPI.h: Add missing pragma once.
366
367 2017-10-26  Ryan Haddad  <ryanhaddad@apple.com>
368
369         Unreviewed, rolling out r223908.
370
371         Causes LayoutTest crashes with newer SDKs.
372
373         Reverted changeset:
374
375         "Adopt new secure coding APIs"
376         https://bugs.webkit.org/show_bug.cgi?id=178484
377         https://trac.webkit.org/changeset/223908
378
379 2017-10-24  Eric Carlson  <eric.carlson@apple.com>
380
381         Web Inspector: Enable WebKit logging configuration and display
382         https://bugs.webkit.org/show_bug.cgi?id=177027
383         <rdar://problem/33964767>
384
385         Reviewed by Joseph Pecoraro.
386
387         * pal/Logger.h:
388         (PAL::Logger::willLog const): Always return true for Always and Error so those messages are
389             always logged to the system.
390         (PAL::Logger::log): Always log Always and Error to the system, but pay strict attention to level
391             and channel state for logging to observers so logging only shows up in the inspector when
392             explicitly enabled by the user. 
393
394 2017-10-24  Brent Fulgham  <bfulgham@apple.com>
395
396         Adopt new secure coding APIs
397         https://bugs.webkit.org/show_bug.cgi?id=178484
398         <rdar://problem/34837193>
399
400         Reviewed by Tim Horton.
401
402         Add new convenience methods (and SPI headers) so we can adopt new NSKeyedArchiver
403         API that uses secure coding by default.
404
405         * PAL.xcodeproj/project.pbxproj:
406         * pal/spi/cocoa/NSKeyedArchiverSPI.h: Added.
407         (securelyArchivedDataWithRootObject): New convenience method.
408         (securelyUnarchiveRootObjectOfClassFromData): Ditto.
409         (secureArchiverFromMutableData): Ditto.
410         (secureUnarchiverFromData): Ditto.
411
412 2017-10-24  Matt Lewis  <jlewis3@apple.com>
413
414         Unreviewed, rolling out r223889.
415
416         This caused multiple crashes on all platforms
417
418         Reverted changeset:
419
420         "Adopt new secure coding APIs"
421         https://bugs.webkit.org/show_bug.cgi?id=178484
422         https://trac.webkit.org/changeset/223889
423
424 2017-10-24  Brent Fulgham  <bfulgham@apple.com>
425
426         Adopt new secure coding APIs
427         https://bugs.webkit.org/show_bug.cgi?id=178484
428         <rdar://problem/34837193>
429
430         Reviewed by Tim Horton.
431
432         Add new convenience methods (and SPI headers) so we can adopt new NSKeyedArchiver
433         API that uses secure coding by default.
434
435         * PAL.xcodeproj/project.pbxproj:
436         * pal/spi/cocoa/NSKeyedArchiverSPI.h: Added.
437         (securelyArchivedDataWithRootObject): New convenience method.
438         (securelyUnarchiveRootObjectOfClassFromData): Ditto.
439         (secureArchiverFromMutableData): Ditto.
440         (secureUnarchiverFromData): Ditto.
441
442 2017-10-20  Alex Christensen  <achristensen@webkit.org>
443
444         Expose _boundInterfaceIdentifier and _allowsCellularAccess to WKWebsiteDataStorePrivate
445         https://bugs.webkit.org/show_bug.cgi?id=178418
446         <rdar://problem/29599569>
447
448         Reviewed by Tim Horton.
449
450         * pal/spi/cf/CFNetworkSPI.h:
451
452 2017-10-20  Antoine Quint  <graouts@apple.com>
453
454         [Web Animations] Provide basic timeline and animation interfaces
455         https://bugs.webkit.org/show_bug.cgi?id=178526
456
457         Reviewed by Dean Jackson.
458
459         Remove the WEB_ANIMATIONS compile-time flag.
460
461         * Configurations/FeatureDefines.xcconfig:
462
463 2017-10-19  Daniel Bates  <dabates@apple.com>
464
465         Use "= default" to denote default constructor or destructor
466         https://bugs.webkit.org/show_bug.cgi?id=178528
467
468         Rubber-stamped by Andy Estes.
469
470         * pal/Logger.h:
471         (PAL::Logger::Observer::~Observer): Deleted.
472         * pal/crypto/gcrypt/CryptoDigestGCrypt.cpp:
473         * pal/system/SleepDisabler.cpp:
474         * pal/system/SystemSleepListener.h:
475
476 2017-10-17  Keith Miller  <keith_miller@apple.com>
477
478         Change WebCore sources to work with unified source builds
479         https://bugs.webkit.org/show_bug.cgi?id=178229
480
481         Rubber stamped by Tim Horton.
482
483         Move soft linking code from WebCore to PAL.
484
485         * Configurations/FeatureDefines.xcconfig:
486         * pal/cf/CoreMediaSoftLink.cpp:
487         * pal/cf/CoreMediaSoftLink.h:
488         * pal/spi/cocoa/NSAttributedStringSPI.h:
489
490 2017-10-13  Adrian Perez de Castro  <aperez@igalia.com>
491
492         [WPE][GTK] Provide an implementation of PAL::logLevelString()
493         https://bugs.webkit.org/show_bug.cgi?id=178263
494
495         Reviewed by Carlos Alberto Lopez Perez.
496
497         Provide an implementation of PAL::logLevelString() which picks the value from the
498         WEBCORE_DEBUG environment variable. Logging of notImplemented() calls is always enabled,
499         which is the same behavior as in WebCore::logLevelString().
500
501         * pal/PlatformGTK.cmake: Add LoggingUnix.cpp to the list of sources.
502         * pal/PlatformWPE.cmake: Add LoggingUnix.cpp to the list of sources.
503         * pal/unix/LoggingUnix.cpp: Added.
504         (PAL::logLevelString):
505
506 2017-10-13  Jer Noble  <jer.noble@apple.com>
507
508         Unreviewed build fix; add definitions for IOSurface methods missing on some platforms.
509
510         * pal/spi/cocoa/IOSurfaceSPI.h:
511
512 2017-10-12  Myles C. Maxfield  <mmaxfield@apple.com>
513
514         [Win] Build fix after r223206
515         https://bugs.webkit.org/show_bug.cgi?id=171523
516
517         Unreviewed.
518
519         * pal/PlatformWin.cmake:
520         * pal/win/LoggingWin.cpp: Added.
521         (PAL::logLevelString):
522
523 2017-10-11  Myles C. Maxfield  <mmaxfield@apple.com>
524
525         Allow PAL to log messages
526         https://bugs.webkit.org/show_bug.cgi?id=171523
527
528         Reviewed by Alex Christensen.
529
530         * PAL.xcodeproj/project.pbxproj:
531         * pal/CMakeLists.txt:
532         * pal/LogInitialization.h: Copied from Source/WebCore/platform/LogMacros.h.
533         * pal/LogMacros.h: Copied from Source/WebCore/platform/LogMacros.h.
534         * pal/Logging.cpp: Copied from Source/WebCore/platform/Logging.cpp.
535         (PAL::isLogChannelEnabled):
536         (PAL::setLogChannelToAccumulate):
537         (PAL::initializeLogChannelsIfNecessary):
538         (PAL::registerNotifyCallback):
539         * pal/Logging.h: Copied from Source/WebCore/platform/LogMacros.h.
540         * pal/PlatformMac.cmake:
541         * pal/cocoa/LoggingCocoa.mm: Renamed from Source/WebCore/platform/LogMacros.h.
542         (PAL::logLevelString):
543
544 2017-10-06  Chris Dumez  <cdumez@apple.com>
545
546         [Beacon][Cocoa] Beacon requests with BufferSource payload should not have a Content-Type HTTP header
547         https://bugs.webkit.org/show_bug.cgi?id=178027
548         <rdar://problem/34748470>
549
550         Reviewed by Youenn Fablet.
551
552         Add new CFNetwork SPI.
553
554         * pal/spi/cf/CFNetworkSPI.h:
555
556 2017-10-05  Dean Jackson  <dino@apple.com>
557
558         Lots of missing frames in YouTube360 when fullscreen on MacBook
559         https://bugs.webkit.org/show_bug.cgi?id=177903
560         <rdar://problem/33273300>
561
562         Reviewed by Sam Weinig.
563
564         Add reloadValueForKeyPath to replace setContentsChanged on CALayer.
565
566         * pal/spi/cocoa/QuartzCoreSPI.h:
567
568 2017-10-05  Commit Queue  <commit-queue@webkit.org>
569
570         Unreviewed, rolling out r222951 and r222952.
571         https://bugs.webkit.org/show_bug.cgi?id=177992
572
573         "Broke the iOS build and introduced a webgl LayoutTest
574         failure." (Requested by ryanhaddad on #webkit).
575
576         Reverted changesets:
577
578         "Lots of missing frames in YouTube360 when fullscreen on
579         MacBook"
580         https://bugs.webkit.org/show_bug.cgi?id=177903
581         http://trac.webkit.org/changeset/222951
582
583         "Lots of missing frames in YouTube360 when fullscreen on
584         MacBook"
585         https://bugs.webkit.org/show_bug.cgi?id=177903
586         http://trac.webkit.org/changeset/222952
587
588 2017-10-05  Dean Jackson  <dino@apple.com>
589
590         Lots of missing frames in YouTube360 when fullscreen on MacBook
591         https://bugs.webkit.org/show_bug.cgi?id=177903
592         <rdar://problem/33273300>
593
594         Reviewed by Sam Weinig.
595
596         Add reloadValueForKeyPath to replace setContentsChanged on CALayer.
597
598         * pal/spi/cocoa/QuartzCoreSPI.h:
599
600 2017-10-05  Jer Noble  <jer.noble@apple.com>
601
602         [Cocoa] Enable ENABLE_ENCRYPTED_MEDIA build-time setting
603         https://bugs.webkit.org/show_bug.cgi?id=177261
604
605         Reviewed by Eric Carlson.
606
607         * Configurations/FeatureDefines.xcconfig:
608
609 2017-09-28  Ross Kirsling  <ross.kirsling@sony.com>
610
611         [PAL] Move HysteresisActivity into PAL
612         https://bugs.webkit.org/show_bug.cgi?id=177516
613
614         Reviewed by Alex Christensen.
615
616         * PAL.xcodeproj/project.pbxproj:
617         * pal/HysteresisActivity.h: Renamed from Source/WebCore/platform/HysteresisActivity.h.
618
619 2017-09-28  Chris Dumez  <cdumez@apple.com>
620
621         Add support for <link rel=preconnect>
622         https://bugs.webkit.org/show_bug.cgi?id=177474
623         <rdar://problem/33141380>
624
625         Reviewed by Alex Christensen.
626
627         Add new CFNetwork SPI for preconnecting.
628
629         * pal/spi/cf/CFNetworkSPI.h:
630
631 2017-09-27  Tim Horton  <timothy_horton@apple.com>
632
633         Try to fix the Mac CMake build
634
635         * pal/PlatformMac.cmake:
636
637 2017-09-26  Don Olmstead  <don.olmstead@sony.com>
638
639         [PAL][CMake] Include ICU directories
640         https://bugs.webkit.org/show_bug.cgi?id=177504
641
642         Reviewed by Myles C. Maxfield.
643
644         * pal/CMakeLists.txt:
645
646 2017-09-26  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
647
648         [PAL] Move Clock into PAL
649         https://bugs.webkit.org/show_bug.cgi?id=174342
650
651         Reviewed by Myles C. Maxfield.
652
653         * PAL.xcodeproj/project.pbxproj:
654         * pal/PlatformGTK.cmake:
655         * pal/PlatformWin.cmake:
656         * pal/system/Clock.h: Renamed from Source/WebCore/platform/Clock.h.
657         * pal/system/ClockGeneric.cpp: Renamed from Source/WebCore/platform/ClockGeneric.cpp.
658         (PAL::Clock::create):
659         * pal/system/ClockGeneric.h: Renamed from Source/WebCore/platform/ClockGeneric.h.
660         * pal/system/mac/ClockCM.h: Renamed from Source/WebCore/platform/mac/PlatformClockCM.h.
661         * pal/system/mac/ClockCM.mm: Renamed from Source/WebCore/platform/mac/PlatformClockCM.mm.
662         (Clock::create):
663         (ClockCM::ClockCM):
664         (ClockCM::initializeWithTimingSource):
665         (ClockCM::setCurrentTime):
666         (ClockCM::currentTime const):
667         (ClockCM::setCurrentMediaTime):
668         (ClockCM::currentMediaTime const):
669         (ClockCM::setPlayRate):
670         (ClockCM::start):
671         (ClockCM::stop):
672
673         * pal/cf/CoreMediaSoftLink.cpp:
674         * pal/cf/CoreMediaSoftLink.h:
675         Add requrired functions.
676 2017-09-26  Zan Dobersek  <zdobersek@igalia.com>
677
678         [GCrypt] Only report libgcrypt errors when logging is enabled
679         https://bugs.webkit.org/show_bug.cgi?id=177360
680
681         Reviewed by Xabier Rodriguez-Calvar.
682
683         * pal/crypto/gcrypt/Utilities.h:
684         (PAL::GCrypt::logError): Only print out the libgcrypt error on stderr
685         when logging is enabled at build-time, avoiding unnecessary output in
686         non-debugging use cases.
687
688 2017-09-25  Timothy Horton  <timothy_horton@apple.com>
689
690         Make progress on getting Mac CMake building again
691         https://bugs.webkit.org/show_bug.cgi?id=177443
692
693         Unreviewed, just "fixing" the build.
694
695         * pal/PlatformMac.cmake:
696         Add some missing files and include paths.
697
698 2017-09-22  Zalan Bujtas  <zalan@apple.com>
699
700         WeakPtrFactory should populate m_ref lazily.
701         https://bugs.webkit.org/show_bug.cgi?id=177375
702
703         Reviewed by Geoffrey Garen.
704
705         * pal/system/mac/SystemSleepListenerMac.mm:
706         (PAL::SystemSleepListenerMac::SystemSleepListenerMac):
707
708 2017-09-21  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
709
710         [PAL] Move MediaTimeAVFoundation into PAL
711         https://bugs.webkit.org/show_bug.cgi?id=177222
712
713         Reviewed by Myles C. Maxfield.
714
715         * config.h:
716         Include PALHeaderDetection.h.
717         Define AVFOUNDATION-releavant definitions.
718
719         * pal/PlatformWin.cmake:
720         Add PAL dereived sources directory to include paths.
721
722         * PAL.xcodeproj/project.pbxproj:
723         * pal/CMakeLists.txt:
724         * pal/PlatformAppleWin.cmake:
725         * pal/avfoundation/MediaTimeAVFoundation.cpp: Renamed from Source/WebCore/platform/graphics/avfoundation/MediaTimeAVFoundation.cpp.
726         * pal/avfoundation/MediaTimeAVFoundation.h: Renamed from Source/WebCore/platform/graphics/avfoundation/MediaTimeAVFoundation.h.
727         * pal/cf/CoreMediaSoftLink.cpp: Added.
728         * pal/cf/CoreMediaSoftLink.h: Added.
729
730 2017-09-20  Antti Koivisto  <antti@apple.com>
731
732         Remove DOM and styling support for CSS Regions
733         https://bugs.webkit.org/show_bug.cgi?id=177221
734
735         Reviewed by Andreas Kling.
736
737         * Configurations/FeatureDefines.xcconfig:
738
739 2017-09-18  Andy Estes  <aestes@apple.com>
740
741         [Mac] Upstream miscellaneous WebKitSystemInterface functions
742         https://bugs.webkit.org/show_bug.cgi?id=177029
743
744         Reviewed by Alex Christensen.
745
746         * PAL.xcodeproj/project.pbxproj:
747         * pal/PlatformMac.cmake:
748         * pal/spi/cf/CFUtilitiesSPI.h:
749         * pal/spi/cocoa/LaunchServicesSPI.h: Renamed from Source/WebCore/PAL/pal/spi/ios/LaunchServicesSPI.h.
750         * pal/spi/mac/HIServicesSPI.h:
751         * pal/spi/mac/NSCellSPI.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
752         * pal/spi/mac/NSMenuSPI.h:
753         * pal/spi/mac/NSScrollViewSPI.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
754         * pal/spi/mac/NSScrollerImpSPI.h:
755         * pal/system/cf/DefaultSearchProvider.cpp: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
756         (PAL::defaultSearchProviderDisplayName):
757         * pal/system/cf/DefaultSearchProvider.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
758         * pal/system/mac/PopupMenu.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
759         * pal/system/mac/PopupMenu.mm: Added.
760         (PAL::popUpMenu):
761
762 2017-09-18  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
763
764         [Win][PAL] Move WebCoreHeaderDetection.h to PAL
765         https://bugs.webkit.org/show_bug.cgi?id=176990
766
767         Reviewed by Alex Christensen.
768
769         * AVFoundationSupport.py: Renamed from Source/WebCore/AVFoundationSupport.py.
770         (lookFor):
771         (fileContains):
772
773         * pal/PlatformWin.cmake:
774         Add a custom target PAL_PreBuild to generate PALHeaderDetection.h
775
776 2017-09-15  Tim Horton  <timothy_horton@apple.com>
777
778         Fix the macOS CMake build
779         https://bugs.webkit.org/show_bug.cgi?id=177015
780
781         Reviewed by Andy Estes.
782
783         * pal/PlatformMac.cmake:
784         Add WebPanel.
785
786 2017-09-15  Andy Estes  <aestes@apple.com>
787
788         [Cocoa] Upstream MediaRemote and VideoToolbox WebKitSystemInterface functions
789         https://bugs.webkit.org/show_bug.cgi?id=176953
790
791         Reviewed by Eric Carlson.
792
793         * pal/spi/mac/AVFoundationSPI.h:
794         * pal/spi/mac/MediaRemoteSPI.h:
795
796 2017-09-15  Eric Carlson  <eric.carlson@apple.com>
797
798         Switch text tracks to release logging
799         https://bugs.webkit.org/show_bug.cgi?id=176809
800         <rdar://problem/34397605>
801
802         Reviewed by Jer Noble.
803
804         * pal/Logger.h:
805         (PAL::LogArgument::toString):
806         (PAL::Logger::willLog const):
807
808 2017-09-14  Dan Bernstein  <mitz@apple.com>
809
810         Fixed building with the Apple internal macOS 10.12 SDK.
811
812         * pal/spi/cocoa/PassKitSPI.h: Avoid redefining types that are defined in the SDK.
813
814 2017-09-14  Andy Estes  <aestes@apple.com>
815
816         [Mac] Upstream SpeechSynthesis-related WebKitSystemInterface functions
817         https://bugs.webkit.org/show_bug.cgi?id=176931
818
819         Reviewed by Joseph Pecoraro.
820
821         * PAL.xcodeproj/project.pbxproj:
822         * pal/spi/mac/SpeechSynthesisSPI.h: Added.
823
824 2017-09-13  Andy Estes  <aestes@apple.com>
825
826         [CF] Upstream CFNetwork-related WebKitSystemInterface functions
827         https://bugs.webkit.org/show_bug.cgi?id=176729
828
829         Reviewed by Alex Christensen.
830
831         * pal/spi/cf/CFNetworkSPI.h:
832
833 2017-09-12  Myles C. Maxfield  <mmaxfield@apple.com>
834
835         Unskip fast/text/system-font-synthetic-italic.html
836         https://bugs.webkit.org/show_bug.cgi?id=175944
837
838         Reviewed by Jon Lee.
839
840         * pal/spi/cocoa/CoreTextSPI.h:
841
842 2017-09-12  Eric Carlson  <eric.carlson@apple.com>
843
844         Switch MediaPlayerPrivateAVFoundation to release logging
845         https://bugs.webkit.org/show_bug.cgi?id=176621
846         <rdar://problem/34335311>
847
848         Reviewed by Jer Noble.
849
850         * pal/Logger.h:
851         (PAL::LogArgument::toString):
852         * pal/LoggerHelper.h:
853
854 2017-09-11  Andy Estes  <aestes@apple.com>
855
856         [Mac] Upstream QTKit-related WebKitSystemInterface functions
857         https://bugs.webkit.org/show_bug.cgi?id=176472
858
859         Reviewed by Eric Carlson.
860
861         * pal/spi/mac/QTKitSPI.h:
862
863 2017-09-08  Commit Queue  <commit-queue@webkit.org>
864
865         Unreviewed, rolling out r221773.
866         https://bugs.webkit.org/show_bug.cgi?id=176614
867
868         This caused build failures. (Requested by mlewis13 on
869         #webkit).
870
871         Reverted changeset:
872
873         "[Mac] Upstream QTKit-related WebKitSystemInterface functions"
874         https://bugs.webkit.org/show_bug.cgi?id=176472
875         http://trac.webkit.org/changeset/221773
876
877 2017-09-07  Andy Estes  <aestes@apple.com>
878
879         [Mac] Upstream QTKit-related WebKitSystemInterface functions
880         https://bugs.webkit.org/show_bug.cgi?id=176472
881
882         Reviewed by Eric Carlson.
883
884         * pal/spi/mac/QTKitSPI.h:
885
886 2017-09-07  Wenson Hsieh  <wenson_hsieh@apple.com>
887
888         [Mac] Stop importing NSFunctionBar_Private.h in NSTouchBarSPI.h on the macOS 10.13+ SDK
889         https://bugs.webkit.org/show_bug.cgi?id=176521
890         <rdar://problem/34296289>
891
892         Reviewed by Andy Estes.
893
894         We don't need to import NSFunctionBar_Private.h when building against the macOS 10.13 SDK, or later. Guard this
895         header import with an SDK version check.
896
897         * pal/spi/cocoa/NSTouchBarSPI.h:
898
899 2017-09-06  Eric Carlson  <eric.carlson@apple.com>
900
901         Require LoggingHelper overrides to provide identifier
902         https://bugs.webkit.org/show_bug.cgi?id=176477
903
904         Reviewed by Jer Noble.
905
906         * pal/Logger.h:
907         (PAL::Logger::LogSiteIdentifier::LogSiteIdentifier):
908         (PAL::LogArgument<Logger::LogSiteIdentifier>::toString):
909         (PAL::Logger::notice const): Deleted.
910         (PAL::Logger::MethodAndPointer::MethodAndPointer): Deleted.
911         (PAL::LogArgument<Logger::MethodAndPointer>::toString): Deleted.
912         * pal/LoggerHelper.h:
913
914 2017-09-04  Commit Queue  <commit-queue@webkit.org>
915
916         Unreviewed, rolling out r221494 and r221500.
917         https://bugs.webkit.org/show_bug.cgi?id=176258
918
919         This caused the windows build to fail. (Requested by mlewis13
920         on #webkit).
921
922         Reverted changesets:
923
924         "Switch HTMLMediaElement to release logging"
925         https://bugs.webkit.org/show_bug.cgi?id=176065
926         http://trac.webkit.org/changeset/221494
927
928         "Switch HTMLMediaElement to release logging"
929         https://bugs.webkit.org/show_bug.cgi?id=176065
930         http://trac.webkit.org/changeset/221500
931
932 2017-09-03  Zan Dobersek  <zdobersek@igalia.com>
933
934         [GTK] Libgcrypt warning: missing initialization - please fix the application
935         https://bugs.webkit.org/show_bug.cgi?id=171230
936
937         Reviewed by Michael Catanzaro.
938
939         Add the Initialization.h header, containing the single initialize() static
940         function that initializes the libgcrypt library. This header only includes
941         the default libgcrypt header, and nothing else.
942
943         It's not added to the existing Utilities.h header because that one pulls in
944         other unnecessary headers that for instance use the new() operator, but that
945         collides with the implementation files that define WebKit process entrypoints
946         and intentionally don't include the config.h that brings in FastMalloc to
947         properly define the new() and delete() operators, resulting in compilation
948         errors due to the new and delete operators being defined to warning strings
949         in always-included WebKit2Prefix.h.
950
951         * pal/crypto/gcrypt/Initialization.h: Copied from Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp.
952         (PAL::GCrypt::initialize):
953
954 2017-09-03  Dan Bernstein  <mitz@apple.com>
955
956         [Cocoa] Tidy up PassKitSPI.h
957         https://bugs.webkit.org/show_bug.cgi?id=176323
958
959         Reviewed by Darin Adler.
960
961         * pal/spi/cocoa/PassKitSPI.h: Moved the declarations of requiredShippingContactFields and
962           requiredBillingContactFields to where other PKPaymentRequest properties are declared, and
963           changed the guard to relate to the SDK version. Replaced use of __has_include with checking for
964           the version of the Apple internal SDK in which the typedefs first appeared.
965
966 2017-09-03  Dan Bernstein  <mitz@apple.com>
967
968         [Cocoa] Remove use of __has_include in CoreAudioSPI.h
969         https://bugs.webkit.org/show_bug.cgi?id=176320
970
971         Reviewed by Tim Horton.
972
973         * pal/spi/cf/CoreAudioSPI.h: AudioHardwarePriv.h is available in all Apple internal SDKs and
974           only in Apple internal SDKs. AudioHardwareBase.h is available only in the macOS SDK, where
975           it is included by AudioHardware.h.
976
977 2017-09-03  Tim Horton  <timothy_horton@apple.com>
978
979         Fix some style issues in the Remote Layer Tree code
980         https://bugs.webkit.org/show_bug.cgi?id=176298
981
982         Reviewed by Dan Bernstein.
983
984         * pal/spi/cocoa/QuartzCoreSPI.h:
985
986 2017-09-03  Sam Weinig  <sam@webkit.org>
987
988         Remove CanvasProxy
989         https://bugs.webkit.org/show_bug.cgi?id=176288
990
991         Reviewed by Yusuke Suzuki.
992
993         CanvasProxy does not appear to be in any current HTML spec
994         and was disabled and unimplemented in our tree. Time to 
995         get rid of it.
996
997         * Configurations/FeatureDefines.xcconfig:
998
999 2017-09-02  Andy Estes  <aestes@apple.com>
1000
1001         [CA] Upstream QuartzCore-related WebKitSystemInterface functions
1002         https://bugs.webkit.org/show_bug.cgi?id=176270
1003
1004         Reviewed by Tim Horton.
1005
1006         * pal/spi/cocoa/QuartzCoreSPI.h:
1007
1008 2017-09-01  Andy Estes  <aestes@apple.com>
1009
1010         Try again to fix the Internal iOS Simulator build after r221485.
1011
1012         * pal/spi/cg/CoreGraphicsSPI.h:
1013
1014 2017-09-01  Andy Estes  <aestes@apple.com>
1015
1016         Try to fix the Internal iOS Simulator build after r221485.
1017
1018         * pal/spi/cg/CoreGraphicsSPI.h:
1019
1020 2017-09-01  Andy Estes  <aestes@apple.com>
1021
1022         [CG] Upstream CoreGraphics-related WebKitSystemInterface functions
1023         https://bugs.webkit.org/show_bug.cgi?id=176200
1024
1025         Reviewed by Tim Horton.
1026
1027         * PAL.xcodeproj/project.pbxproj:
1028         * pal/spi/cg/CoreGraphicsSPI.h:
1029         * pal/spi/mac/HIServicesSPI.h:
1030         * pal/spi/mac/NSGraphicsSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/HIServicesSPI.h.
1031
1032 2017-08-31  Andy Estes  <aestes@apple.com>
1033
1034         [Mac] Upstream AppKit-related WebKitSystemInterface functions
1035         https://bugs.webkit.org/show_bug.cgi?id=176175
1036
1037         Reviewed by Brady Eidson.
1038
1039         * PAL.xcodeproj/project.pbxproj:
1040         * pal/spi/mac/HIToolboxSPI.h:
1041         * pal/spi/mac/NSResponderSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
1042         * pal/spi/mac/NSWindowSPI.h:
1043         * pal/system/mac/WebPanel.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
1044         * pal/system/mac/WebPanel.mm: Copied from Source/WebCore/PAL/pal/spi/mac/HIToolboxSPI.h.
1045         (-[WebPanel init]):
1046
1047 2017-08-31  Ryan Haddad  <ryanhaddad@apple.com>
1048
1049         Unreviewed, rolling out r221445.
1050
1051         This change broke Sierra Release builds.
1052
1053         Reverted changeset:
1054
1055         "Switch HTMLMediaElement to release logging"
1056         https://bugs.webkit.org/show_bug.cgi?id=176065
1057         http://trac.webkit.org/changeset/221445
1058
1059 2017-08-30  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
1060
1061         [PAL] Fix "None" suffix in PAL
1062         https://bugs.webkit.org/show_bug.cgi?id=176014
1063
1064         Reviewed by Ryosuke Niwa.
1065
1066         * Configurations/PAL.xcconfig:
1067         * PAL.xcodeproj/project.pbxproj:
1068         * pal/PlatformGTK.cmake:
1069         * pal/PlatformWPE.cmake:
1070         * pal/PlatformWin.cmake:
1071         * pal/system/Sound.cpp: Renamed from Source/WebCore/PAL/pal/system/SoundNone.cpp.
1072         * pal/text/KillRing.cpp: Renamed from Source/WebCore/PAL/pal/text/KillRingNone.cpp.
1073
1074 2017-08-30  Eric Carlson  <eric.carlson@apple.com>
1075
1076         Add Logger observer and helper class
1077         https://bugs.webkit.org/show_bug.cgi?id=176106
1078
1079         Reviewed by Andy Estes.
1080
1081         * pal/Logger.h:
1082         (PAL::LogArgument::toString): Add new variants.
1083         (PAL::Logger::Observer::~Observer):
1084         (PAL::Logger::logAlways const): Constify.
1085         (PAL::Logger::error const): Ditto.
1086         (PAL::Logger::warning const): Ditto.
1087         (PAL::Logger::notice const): Ditto.
1088         (PAL::Logger::info const): Ditto.
1089         (PAL::Logger::debug const): Ditto.
1090         (PAL::Logger::willLog const): Ditto.
1091         (PAL::Logger::MethodAndPointer::MethodAndPointer): Add class name, make object pointer const.
1092         (PAL::Logger::addObserver): New.
1093         (PAL::Logger::removeObserver): New.
1094         (PAL::Logger::Logger):
1095         (PAL::Logger::log):
1096         (PAL::Logger::observers):
1097         (PAL::LogHelper::willLog const):
1098         (PAL::LogArgument<Logger::MethodAndPointer>::toString):
1099
1100 2017-08-30  Andy Estes  <aestes@apple.com>
1101
1102         [Mac] Upstream Accessibility-related WebKitSystemInterface functions
1103         https://bugs.webkit.org/show_bug.cgi?id=176093
1104
1105         Reviewed by Eric Carlson.
1106
1107         * PAL.xcodeproj/project.pbxproj:
1108         * pal/spi/mac/HIServicesSPI.h: Added.
1109         * pal/spi/mac/NSAccessibilitySPI.h:
1110
1111 2017-08-30  Andy Estes  <aestes@apple.com>
1112
1113         [Mac] Upstream Carbon-related WebKitSystemInterface functions
1114         https://bugs.webkit.org/show_bug.cgi?id=176087
1115
1116         Reviewed by Alex Christensen.
1117
1118         * PAL.xcodeproj/project.pbxproj:
1119         * pal/spi/cocoa/FoundationSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
1120         * pal/spi/mac/HIToolboxSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
1121         * pal/spi/mac/NSEventSPI.h:
1122         * pal/spi/mac/NSWindowSPI.h:
1123         * pal/spi/mac/QuickDrawSPI.h: Added.
1124
1125 2017-08-29  Andy Estes  <aestes@apple.com>
1126
1127         [Xcode] Fix up file and group paths in PAL.xcodeproj
1128         https://bugs.webkit.org/show_bug.cgi?id=176073
1129
1130         Reviewed by Alex Christensen.
1131
1132         * PAL.xcodeproj/project.pbxproj:
1133
1134 2017-08-29  Andy Estes  <aestes@apple.com>
1135
1136         [Mac] Upstream WKSetMetadataURL() from WebKitSystemInterface
1137         https://bugs.webkit.org/show_bug.cgi?id=176046
1138
1139         Reviewed by Alex Christensen.
1140
1141         * PAL.xcodeproj/project.pbxproj:
1142         * pal/spi/mac/MetadataSPI.h: Added.
1143
1144 2017-08-28  Eric Carlson  <eric.carlson@apple.com>
1145
1146         Logger should use makeString instead of String::format
1147         https://bugs.webkit.org/show_bug.cgi?id=176035
1148
1149         Reviewed by Jer Noble.
1150
1151         * pal/Logger.h:
1152         (PAL::LogArgument::toString):
1153         (PAL::Logger::logAlways):
1154         (PAL::Logger::error):
1155         (PAL::Logger::warning):
1156         (PAL::Logger::notice):
1157         (PAL::Logger::info):
1158         (PAL::Logger::debug):
1159         (PAL::Logger::MethodAndPointer::MethodAndPointer):
1160         (PAL::Logger::log):
1161         (PAL::LogArgument<Logger::MethodAndPointer>::toString):
1162
1163 2017-08-28  Andy Estes  <aestes@apple.com>
1164
1165         [Cocoa] Upstream CFNetwork-related WebKitSystemInterface functions
1166         https://bugs.webkit.org/show_bug.cgi?id=176032
1167
1168         Reviewed by Alex Christensen.
1169
1170         * pal/spi/cf/CFNetworkSPI.h:
1171
1172 2017-08-25  Eric Carlson  <eric.carlson@apple.com>
1173
1174         Add Logger::logAlways
1175         https://bugs.webkit.org/show_bug.cgi?id=175996
1176
1177         Reviewed by Jer Noble.
1178
1179         * PAL.xcodeproj/project.pbxproj:
1180         * pal/Logger.h:
1181         (PAL::Logger::willLog const):
1182         (PAL::Logger::willLog const):
1183         (PAL::Logger::logAlways): Added.
1184         (PAL::Logger::error const): Add missing WTF_ATTRIBUTE_PRINTF.
1185         (PAL::Logger::warning const): Ditto.
1186         (PAL::Logger::notice const): Ditto.
1187         (PAL::Logger::info const): Ditto.
1188         (PAL::Logger::debug const): Use String::formatWithArguments.
1189
1190 2017-08-25  Jonathan Bedard  <jbedard@apple.com>
1191
1192         Fix build breakage with Public iOS 11 SDK
1193         https://bugs.webkit.org/show_bug.cgi?id=175960
1194         <rdar://problem/34069264>
1195
1196         Reviewed by Wenson Hsieh.
1197
1198         * pal/spi/ios/UIKitSPI.h: Use NSItemProvider definition of preferredPresentationSize
1199         instead of re-declaring it.
1200
1201 2017-08-23  Eric Carlson  <eric.carlson@apple.com>
1202
1203         Platform code should be able to safely log in release builds
1204         https://bugs.webkit.org/show_bug.cgi?id=175854
1205         <rdar://problem/34022930>
1206
1207         Reviewed by Jer Noble.
1208
1209         * PAL.xcodeproj/project.pbxproj:
1210         * pal/Logger.h: Added.
1211         (PAL::Logger::create):
1212         (PAL::Logger::error const):
1213         (PAL::Logger::warning const):
1214         (PAL::Logger::notice const):
1215         (PAL::Logger::info const):
1216         (PAL::Logger::debug const):
1217         (PAL::Logger::willLog const):
1218         (PAL::Logger::enabled const):
1219         (PAL::Logger::setEnabled):
1220         (PAL::Logger::Logger):
1221         (PAL::Logger::log):
1222
1223 2017-08-21  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
1224
1225         [PAL] Move spi/mac directory into PAL
1226         https://bugs.webkit.org/show_bug.cgi?id=175649
1227
1228         Reviewed by Myles C. Maxfield.
1229
1230         * PAL.xcodeproj/project.pbxproj:
1231         * pal/spi/mac/AVFoundationSPI.h: Renamed from Source/WebCore/platform/spi/mac/AVFoundationSPI.h.
1232         * pal/spi/mac/DataDetectorsSPI.h: Renamed from Source/WebCore/platform/spi/mac/DataDetectorsSPI.h.
1233         * pal/spi/mac/LookupSPI.h: Renamed from Source/WebCore/platform/spi/mac/LookupSPI.h.
1234         * pal/spi/mac/MediaRemoteSPI.h: Renamed from Source/WebCore/platform/spi/mac/MediaRemoteSPI.h.
1235         * pal/spi/mac/NSAccessibilitySPI.h: Renamed from Source/WebCore/platform/spi/mac/NSAccessibilitySPI.h.
1236         * pal/spi/mac/NSApplicationSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSApplicationSPI.h.
1237         * pal/spi/mac/NSEventSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSEventSPI.h.
1238         * pal/spi/mac/NSFontSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSFontSPI.h.
1239         * pal/spi/mac/NSImmediateActionGestureRecognizerSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSImmediateActionGestureRecognizerSPI.h.
1240         * pal/spi/mac/NSMenuSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSMenuSPI.h.
1241         * pal/spi/mac/NSPasteboardSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSPasteboardSPI.h.
1242         * pal/spi/mac/NSPopoverSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSPopoverSPI.h.
1243         * pal/spi/mac/NSScrollerImpSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSScrollerImpSPI.h.
1244         * pal/spi/mac/NSScrollingInputFilterSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSScrollingInputFilterSPI.h.
1245         * pal/spi/mac/NSScrollingMomentumCalculatorSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSScrollingMomentumCalculatorSPI.h.
1246         * pal/spi/mac/NSSharingServicePickerSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSSharingServicePickerSPI.h.
1247         * pal/spi/mac/NSSharingServiceSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSSharingServiceSPI.h.
1248         * pal/spi/mac/NSSpellCheckerSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSSpellCheckerSPI.h.
1249         * pal/spi/mac/NSTextFinderSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSTextFinderSPI.h.
1250         * pal/spi/mac/NSViewSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSViewSPI.h.
1251         * pal/spi/mac/NSWindowSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSWindowSPI.h.
1252         * pal/spi/mac/PIPSPI.h: Renamed from Source/WebCore/platform/spi/mac/PIPSPI.h.
1253         * pal/spi/mac/QTKitSPI.h: Renamed from Source/WebCore/platform/spi/mac/QTKitSPI.h.
1254         * pal/spi/mac/QuickLookMacSPI.h: Renamed from Source/WebCore/platform/spi/mac/QuickLookMacSPI.h.
1255         * pal/spi/mac/TUCallSPI.h: Renamed from Source/WebCore/platform/spi/mac/TUCallSPI.h.
1256
1257 2017-08-17  Don Olmstead  <don.olmstead@sony.com>
1258
1259         [PAL] Relocate SessionID to root
1260         https://bugs.webkit.org/show_bug.cgi?id=175684
1261
1262         Reviewed by Alex Christensen.
1263
1264         * PAL.xcodeproj/project.pbxproj:
1265         * pal/CMakeLists.txt:
1266         * pal/SessionID.cpp: Renamed from Source/WebCore/PAL/pal/identifier/SessionID.cpp.
1267         * pal/SessionID.h: Renamed from Source/WebCore/PAL/pal/identifier/SessionID.h.
1268
1269 2017-08-17  Andreas Kling  <akling@apple.com>
1270
1271         Disable CSS regions at compile time
1272         https://bugs.webkit.org/show_bug.cgi?id=175630
1273
1274         Reviewed by Antti Koivisto.
1275
1276         * Configurations/FeatureDefines.xcconfig:
1277
1278 2017-08-17  Wenson Hsieh  <wenson_hsieh@apple.com>
1279
1280         [iOS] Respect type fidelities when copying image elements to the pasteboard
1281         https://bugs.webkit.org/show_bug.cgi?id=175638
1282         <rdar://problem/26556043>
1283
1284         Reviewed by Ryosuke Niwa.
1285
1286         Replace -estimatedDisplayedSize with its non-deprecated counterpart, -preferredPresentationSize.
1287
1288         * pal/spi/ios/UIKitSPI.h:
1289
1290 2017-08-17  Don Olmstead  <don.olmstead@sony.com>
1291
1292         [PAL] Move SessionID into PAL
1293         https://bugs.webkit.org/show_bug.cgi?id=174192
1294
1295         Reviewed by Antti Koivisto.
1296
1297         * PAL.xcodeproj/project.pbxproj:
1298         * pal/CMakeLists.txt:
1299         * pal/identifier/SessionID.cpp: Renamed from Source/WebCore/page/SessionID.cpp.
1300         * pal/identifier/SessionID.h: Renamed from Source/WebCore/page/SessionID.h.
1301         (WTF::SessionIDHash::hash):
1302         (WTF::SessionIDHash::equal):
1303         (WTF::HashTraits<PAL::SessionID>::emptyValue):
1304         (WTF::HashTraits<PAL::SessionID>::constructDeletedValue):
1305         (WTF::HashTraits<PAL::SessionID>::isDeletedValue):
1306
1307 2017-08-16  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
1308
1309         [PAL] Move spi/ios and spi/win directories into PAL
1310         https://bugs.webkit.org/show_bug.cgi?id=175171
1311
1312         Reviewed by Antti Koivisto.
1313
1314         * PAL.xcodeproj/project.pbxproj:
1315         * pal/spi/ios/CoreUISPI.h: Renamed from Source/WebCore/platform/spi/ios/CoreUISPI.h.
1316         * pal/spi/ios/DataDetectorsUISPI.h: Renamed from Source/WebCore/platform/spi/ios/DataDetectorsUISPI.h.
1317         * pal/spi/ios/GraphicsServicesSPI.h: Renamed from Source/WebCore/platform/spi/ios/GraphicsServicesSPI.h.
1318         * pal/spi/ios/LaunchServicesSPI.h: Renamed from Source/WebCore/platform/spi/ios/LaunchServicesSPI.h.
1319         * pal/spi/ios/MediaPlayerSPI.h: Renamed from Source/WebCore/platform/spi/ios/MediaPlayerSPI.h.
1320         * pal/spi/ios/MobileGestaltSPI.h: Renamed from Source/WebCore/platform/spi/ios/MobileGestaltSPI.h.
1321         * pal/spi/ios/OpenGLESSPI.h: Renamed from Source/WebCore/platform/spi/ios/OpenGLESSPI.h.
1322         * pal/spi/ios/QuickLookSPI.h: Renamed from Source/WebCore/platform/spi/ios/QuickLookSPI.h.
1323         * pal/spi/ios/SQLite3SPI.h: Renamed from Source/WebCore/platform/spi/ios/SQLite3SPI.h.
1324         * pal/spi/ios/UIKitSPI.h: Renamed from Source/WebCore/platform/spi/ios/UIKitSPI.h.
1325         * pal/spi/win/CoreTextSPIWin.h: Renamed from Source/WebCore/platform/spi/win/CoreTextSPIWin.h.
1326
1327 2017-08-16  Andy Estes  <aestes@apple.com>
1328
1329         [Payment Request] Add an ENABLE flag and an experimental feature preference
1330         https://bugs.webkit.org/show_bug.cgi?id=175622
1331
1332         Reviewed by Tim Horton.
1333
1334         * Configurations/FeatureDefines.xcconfig:
1335
1336 2017-08-15  Don Olmstead  <don.olmstead@sony.com>
1337
1338         [PAL] Move Sleep classes into PAL
1339         https://bugs.webkit.org/show_bug.cgi?id=175456
1340
1341         Reviewed by Ryosuke Niwa.
1342
1343         * PAL.xcodeproj/project.pbxproj:
1344         * pal/CMakeLists.txt:
1345         * pal/PlatformMac.cmake:
1346         * pal/system/SleepDisabler.cpp: Renamed from Source/WebCore/platform/SleepDisabler.cpp.
1347         * pal/system/SleepDisabler.h: Renamed from Source/WebCore/platform/SleepDisabler.h.
1348         * pal/system/SystemSleepListener.cpp: Renamed from Source/WebCore/platform/SystemSleepListener.cpp.
1349         * pal/system/SystemSleepListener.h: Renamed from Source/WebCore/platform/SystemSleepListener.h.
1350         * pal/system/cocoa/SleepDisablerCocoa.cpp: Renamed from Source/WebCore/platform/cocoa/SleepDisablerCocoa.cpp.
1351         * pal/system/cocoa/SleepDisablerCocoa.h: Renamed from Source/WebCore/platform/cocoa/SleepDisablerCocoa.h.
1352         * pal/system/mac/SystemSleepListenerMac.h: Renamed from Source/WebCore/platform/mac/SystemSleepListenerMac.h.
1353         * pal/system/mac/SystemSleepListenerMac.mm: Renamed from Source/WebCore/platform/mac/SystemSleepListenerMac.mm.
1354
1355 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1356
1357         Remove Proximity Events and related code
1358         https://bugs.webkit.org/show_bug.cgi?id=175545
1359
1360         Reviewed by Daniel Bates.
1361
1362         No platform enables Proximity Events, so remove code inside ENABLE(PROXIMITY_EVENTS)
1363         and other related code.
1364
1365         * Configurations/FeatureDefines.xcconfig:
1366
1367 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1368
1369         Remove ENABLE(REQUEST_AUTOCOMPLETE) code, which was disabled everywhere
1370         https://bugs.webkit.org/show_bug.cgi?id=175504
1371
1372         Reviewed by Sam Weinig.
1373
1374         * Configurations/FeatureDefines.xcconfig:
1375
1376 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1377
1378         Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
1379         https://bugs.webkit.org/show_bug.cgi?id=175557
1380
1381         Reviewed by Jon Lee.
1382
1383         No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.
1384
1385         * Configurations/FeatureDefines.xcconfig:
1386
1387 2017-08-11  Ryosuke Niwa  <rniwa@webkit.org>
1388
1389         Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation
1390         https://bugs.webkit.org/show_bug.cgi?id=175474
1391         <rdar://problem/33844628>
1392
1393         Reviewed by Wenson Hsieh.
1394
1395         * Configurations/FeatureDefines.xcconfig:
1396
1397 2017-08-10  Michael Catanzaro  <mcatanzaro@igalia.com>
1398
1399         Remove ENABLE_GAMEPAD_DEPRECATED
1400         https://bugs.webkit.org/show_bug.cgi?id=175361
1401
1402         Reviewed by Carlos Garcia Campos.
1403
1404         * Configurations/FeatureDefines.xcconfig:
1405
1406 2017-08-09  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
1407
1408         [PAL] Move spi/cocoa and spi/cg directories into PAL
1409         https://bugs.webkit.org/show_bug.cgi?id=175175
1410
1411         Reviewed by Myles C. Maxfield.
1412
1413         * PAL.xcodeproj/project.pbxproj:
1414         * pal/PlatformAppleWin.cmake:
1415         * pal/spi/cg/CoreGraphicsSPI.h: Renamed from Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h.
1416         (CGFloatMin):
1417         * pal/spi/cg/ImageIOSPI.h: Renamed from Source/WebCore/platform/spi/cg/ImageIOSPI.h.
1418         * pal/spi/cocoa/AVKitSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/AVKitSPI.h.
1419         (-[AVTouchBarPlaybackControlsControlling NS_ENUM]):
1420         * pal/spi/cocoa/CFNSURLConnectionSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/CFNSURLConnectionSPI.h.
1421         * pal/spi/cocoa/CoreTextSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/CoreTextSPI.h.
1422         * pal/spi/cocoa/DataDetectorsCoreSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h.
1423         * pal/spi/cocoa/IOPMLibSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOPMLibSPI.h.
1424         * pal/spi/cocoa/IOPSLibSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOPSLibSPI.h.
1425         * pal/spi/cocoa/IOReturnSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOReturnSPI.h.
1426         * pal/spi/cocoa/IOSurfaceSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOSurfaceSPI.h.
1427         * pal/spi/cocoa/IOTypesSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOTypesSPI.h.
1428         * pal/spi/cocoa/LinkPresentationSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/LinkPresentationSPI.h.
1429         * pal/spi/cocoa/MachVMSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/MachVMSPI.h.
1430         * pal/spi/cocoa/NEFilterSourceSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NEFilterSourceSPI.h.
1431         * pal/spi/cocoa/NSAttributedStringSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSAttributedStringSPI.h.
1432         * pal/spi/cocoa/NSButtonCellSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSButtonCellSPI.h.
1433         * pal/spi/cocoa/NSCalendarDateSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSCalendarDateSPI.h.
1434         * pal/spi/cocoa/NSColorSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSColorSPI.h.
1435         * pal/spi/cocoa/NSExtensionSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSExtensionSPI.h.
1436         * pal/spi/cocoa/NSFileManagerSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSFileManagerSPI.h.
1437         * pal/spi/cocoa/NSStringSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSStringSPI.h.
1438         * pal/spi/cocoa/NSTouchBarSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSTouchBarSPI.h.
1439         * pal/spi/cocoa/NSURLConnectionSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSURLConnectionSPI.h.
1440         * pal/spi/cocoa/NSURLDownloadSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSURLDownloadSPI.h.
1441         * pal/spi/cocoa/NSURLFileTypeMappingsSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSURLFileTypeMappingsSPI.h.
1442         * pal/spi/cocoa/PassKitSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/PassKitSPI.h.
1443         (NS_ERROR_ENUM):
1444         * pal/spi/cocoa/QuartzCoreSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/QuartzCoreSPI.h.
1445         * pal/spi/cocoa/ServersSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/ServersSPI.h.
1446         * pal/spi/cocoa/WebFilterEvaluatorSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/WebFilterEvaluatorSPI.h.
1447         * pal/spi/cocoa/pthreadSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/pthreadSPI.h.
1448
1449 2017-08-09  Wenson Hsieh  <wenson_hsieh@apple.com>
1450
1451         [iOS DnD] ENABLE_DRAG_SUPPORT should be turned off for iOS 10 and enabled by default
1452         https://bugs.webkit.org/show_bug.cgi?id=175392
1453         <rdar://problem/33783207>
1454
1455         Reviewed by Tim Horton and Megan Gardner.
1456
1457         Tweak FeatureDefines to enable drag and drop by default, and disable only on unsupported platforms (i.e. iOS 10).
1458
1459         * Configurations/FeatureDefines.xcconfig:
1460
1461 2017-08-07  Brian Burg  <bburg@apple.com>
1462
1463         Remove CANVAS_PATH compilation guard
1464         https://bugs.webkit.org/show_bug.cgi?id=175207
1465
1466         Reviewed by Sam Weinig.
1467
1468         * Configurations/FeatureDefines.xcconfig:
1469
1470 2017-08-04  Matt Lewis  <jlewis3@apple.com>
1471
1472         Unreviewed, rolling out r220271.
1473
1474         Rolling out due to Layout Test failing on iOS Simulator.
1475
1476         Reverted changeset:
1477
1478         "Remove STREAMS_API compilation guard"
1479         https://bugs.webkit.org/show_bug.cgi?id=175165
1480         http://trac.webkit.org/changeset/220271
1481
1482 2017-08-04  Youenn Fablet  <youenn@apple.com>
1483
1484         Remove STREAMS_API compilation guard
1485         https://bugs.webkit.org/show_bug.cgi?id=175165
1486
1487         Reviewed by Darin Adler.
1488
1489         * Configurations/FeatureDefines.xcconfig:
1490
1491 2017-08-03  Brian Burg  <bburg@apple.com>
1492
1493         Remove ENABLE(WEB_SOCKET) guards
1494         https://bugs.webkit.org/show_bug.cgi?id=167044
1495
1496         Reviewed by Joseph Pecoraro.
1497
1498         * Configurations/FeatureDefines.xcconfig:
1499
1500 2017-08-03  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
1501
1502         [PAL] Move spi/cf directory into PAL
1503         https://bugs.webkit.org/show_bug.cgi?id=175057
1504
1505         Reviewed by Antti Koivisto.
1506
1507         * PAL.xcodeproj/project.pbxproj:
1508         * pal/spi/cf/CFLocaleSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFLocaleSPI.h.
1509         * pal/spi/cf/CFNetworkConnectionCacheSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFNetworkConnectionCacheSPI.h.
1510         * pal/spi/cf/CFNetworkSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFNetworkSPI.h.
1511         * pal/spi/cf/CFUtilitiesSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFUtilitiesSPI.h.
1512         * pal/spi/cf/CoreAudioSPI.h: Renamed from Source/WebCore/platform/spi/cf/CoreAudioSPI.h.
1513         * pal/spi/cf/CoreMediaSPI.h: Renamed from Source/WebCore/platform/spi/cf/CoreMediaSPI.h.
1514
1515 2017-08-03  Youenn Fablet  <youenn@apple.com>
1516
1517         Remove FETCH_API compilation guard
1518         https://bugs.webkit.org/show_bug.cgi?id=175154
1519
1520         Reviewed by Chris Dumez.
1521
1522         * Configurations/FeatureDefines.xcconfig:
1523
1524 2017-08-03  Brady Eidson  <beidson@apple.com>
1525
1526         Add SW IDLs and stub out basic functionality.
1527         https://bugs.webkit.org/show_bug.cgi?id=175115
1528
1529         Reviewed by Chris Dumez.
1530
1531         * Configurations/FeatureDefines.xcconfig:
1532
1533 2017-08-03  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
1534
1535         [WebCore] Sort Xcode project files
1536         https://bugs.webkit.org/show_bug.cgi?id=175121
1537
1538         Reviewed by Antti Koivisto.
1539
1540         * PAL.xcodeproj/project.pbxproj:
1541
1542 2017-08-01  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
1543
1544         [PAL][Win] Copy forwarding headers
1545         https://bugs.webkit.org/show_bug.cgi?id=175012
1546
1547         Reviewed by Myles C. Maxfield.
1548
1549         * pal/PlatformAppleWin.cmake: Added.
1550         * pal/PlatformWin.cmake:
1551         * pal/PlatformWinCairo.cmake: Added.
1552
1553 2017-07-26  Brian Burg  <bburg@apple.com>
1554
1555         Remove WEB_TIMING feature flag
1556         https://bugs.webkit.org/show_bug.cgi?id=174795
1557
1558         Reviewed by Alex Christensen.
1559
1560         * Configurations/FeatureDefines.xcconfig:
1561
1562 2017-07-24  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1563
1564         [CMake] libtasn1 should not be required when not enabling subtle_crypto
1565         https://bugs.webkit.org/show_bug.cgi?id=174785
1566
1567         Reviewed by Žan Doberšek.
1568
1569         * pal/PlatformGTK.cmake:
1570         * pal/PlatformWPE.cmake:
1571
1572 2017-07-18  Andy Estes  <aestes@apple.com>
1573
1574         [Xcode] Enable CLANG_WARN_RANGE_LOOP_ANALYSIS
1575         https://bugs.webkit.org/show_bug.cgi?id=174631
1576
1577         Reviewed by Tim Horton.
1578
1579         * Configurations/Base.xcconfig:
1580
1581 2017-07-18  Andy Estes  <aestes@apple.com>
1582
1583         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
1584         https://bugs.webkit.org/show_bug.cgi?id=174631
1585
1586         Reviewed by Sam Weinig.
1587
1588         * Configurations/Base.xcconfig:
1589
1590 2017-07-18  Andy Estes  <aestes@apple.com>
1591
1592         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
1593         https://bugs.webkit.org/show_bug.cgi?id=174631
1594
1595         Reviewed by Dan Bernstein.
1596
1597         * Configurations/Base.xcconfig:
1598
1599 2017-07-18  Andy Estes  <aestes@apple.com>
1600
1601         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
1602         https://bugs.webkit.org/show_bug.cgi?id=174631
1603
1604         Reviewed by Darin Adler.
1605
1606         * Configurations/Base.xcconfig:
1607
1608 2017-07-17  Konstantin Tokarev  <annulen@yandex.ru>
1609
1610         [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
1611         https://bugs.webkit.org/show_bug.cgi?id=174557
1612
1613         Reviewed by Michael Catanzaro.
1614
1615         No new tests needed.
1616
1617         * pal/CMakeLists.txt:
1618
1619 2017-07-13  Per Arne Vollan  <pvollan@apple.com>
1620
1621         [Win] Build error when building WebCore from WebCore.proj project file.
1622         https://bugs.webkit.org/show_bug.cgi?id=174462
1623
1624         Reviewed by Brent Fulgham.
1625
1626         Add required include directory to list of include directories.
1627  
1628         * pal/CMakeLists.txt:
1629         * pal/PlatformWin.cmake:
1630
1631 2017-07-12  Matt Lewis  <jlewis3@apple.com>
1632
1633         Unreviewed, rolling out r219401.
1634
1635         This revision rolled out the previous patch, but after talking
1636         with reviewer, a rebaseline is what was needed.Rolling back in
1637         before rebaseline.
1638
1639         Reverted changeset:
1640
1641         "Unreviewed, rolling out r219379."
1642         https://bugs.webkit.org/show_bug.cgi?id=174400
1643         http://trac.webkit.org/changeset/219401
1644
1645 2017-07-12  Matt Lewis  <jlewis3@apple.com>
1646
1647         Unreviewed, rolling out r219379.
1648
1649         This revision caused a consistent failure in the test
1650         fast/dom/Window/property-access-on-cached-window-after-frame-
1651         removed.html.
1652
1653         Reverted changeset:
1654
1655         "Remove NAVIGATOR_HWCONCURRENCY"
1656         https://bugs.webkit.org/show_bug.cgi?id=174400
1657         http://trac.webkit.org/changeset/219379
1658
1659 2017-07-11  Per Arne Vollan  <pvollan@apple.com>
1660
1661         [Win] Build error when building WebKit.dll from WebKit.proj project file.
1662         https://bugs.webkit.org/show_bug.cgi?id=174410
1663
1664         Reviewed by Brent Fulgham.
1665
1666         Copy required header files to forwarding headers folder.
1667
1668         * pal/PlatformWin.cmake:
1669
1670 2017-07-11  Dean Jackson  <dino@apple.com>
1671
1672         Remove NAVIGATOR_HWCONCURRENCY
1673         https://bugs.webkit.org/show_bug.cgi?id=174400
1674
1675         Reviewed by Sam Weinig.
1676
1677         * Configurations/FeatureDefines.xcconfig:
1678
1679 2017-07-11  Dean Jackson  <dino@apple.com>
1680
1681         Rolling out r219372.
1682
1683         * Configurations/FeatureDefines.xcconfig:
1684
1685 2017-07-11  Dean Jackson  <dino@apple.com>
1686
1687         Remove NAVIGATOR_HWCONCURRENCY
1688         https://bugs.webkit.org/show_bug.cgi?id=174400
1689
1690         Reviewed by Sam Weinig.
1691
1692         * Configurations/FeatureDefines.xcconfig:
1693
1694 2017-07-11  Per Arne Vollan  <pvollan@apple.com>
1695
1696         [Win] Build error when building WebCore from WebCore.proj project file.
1697         https://bugs.webkit.org/show_bug.cgi?id=174330
1698
1699         Reviewed by Brent Fulgham.
1700
1701         CMAKE_BINARY_DIR is needed in the include list in order to find 'cmakeconfig.h'. 
1702
1703         * pal/CMakeLists.txt:
1704
1705 2017-07-03  Brian Burg  <bburg@apple.com>
1706
1707         Web Replay: remove some unused code
1708         https://bugs.webkit.org/show_bug.cgi?id=173903
1709
1710         Rubber-stamped by Joseph Pecoraro.
1711
1712         * Configurations/FeatureDefines.xcconfig:
1713
1714 2017-07-08  Yusuke Suzuki  <utatane.tea@gmail.com>
1715
1716         Drop NOSNIFF compile flag
1717         https://bugs.webkit.org/show_bug.cgi?id=174289
1718
1719         Reviewed by Michael Catanzaro.
1720
1721         * Configurations/FeatureDefines.xcconfig:
1722
1723 2017-07-06  Don Olmstead  <don.olmstead@sony.com>
1724
1725         [PAL] Move KillRing into PAL
1726         https://bugs.webkit.org/show_bug.cgi?id=173900
1727
1728         Reviewed by Myles C. Maxfield.
1729
1730         No new tests. No change in functionality.
1731
1732         * Configurations/PAL.xcconfig:
1733         * PAL.xcodeproj/project.pbxproj:
1734         * pal/CMakeLists.txt:
1735         * pal/PlatformGTK.cmake:
1736         * pal/PlatformMac.cmake:
1737         * pal/PlatformWPE.cmake:
1738         * pal/PlatformWin.cmake:
1739         * pal/text/KillRing.h: Renamed from Source/WebCore/platform/KillRing.h.
1740         * pal/text/KillRingNone.cpp: Renamed from Source/WebCore/platform/KillRingNone.cpp.
1741         * pal/text/mac/KillRingMac.mm: Renamed from Source/WebCore/platform/mac/KillRingMac.mm.
1742
1743 2017-07-05  Jonathan Bedard  <jbedard@apple.com>
1744
1745         Add WebKitPrivateFrameworkStubs for iOS 11
1746         https://bugs.webkit.org/show_bug.cgi?id=173988
1747
1748         Reviewed by David Kilzer.
1749
1750         * Configurations/PAL.xcconfig: iphoneos and iphonesimulator should use the
1751         same directory for private framework stubs.
1752
1753 2017-07-03  Sam Weinig  <sam@webkit.org>
1754
1755         [WebIDL] Remove more unnecessary uses of the preprocessor in idl files
1756         https://bugs.webkit.org/show_bug.cgi?id=174083
1757
1758         Reviewed by Alex Christensen.
1759
1760         * Configurations/FeatureDefines.xcconfig:
1761         Add ENABLE_NAVIGATOR_STANDALONE.
1762
1763 2017-07-03  Andy Estes  <aestes@apple.com>
1764
1765         [Xcode] Add an experimental setting to build with ccache
1766         https://bugs.webkit.org/show_bug.cgi?id=173875
1767
1768         Reviewed by Tim Horton.
1769
1770         * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
1771
1772 2017-07-03  Zan Dobersek  <zdobersek@igalia.com>
1773
1774         [GCrypt] Implement CryptoKeyEC SPKI exports
1775         https://bugs.webkit.org/show_bug.cgi?id=173646
1776
1777         Reviewed by Jiewen Tan.
1778
1779         No new tests -- covered by existing Web Crypto tests.
1780
1781         Add three new libtasn1 utility functions.
1782
1783         createStructure() is a simple wrapper around asn1_create_element(), creating a new
1784         ASN.1 structure for the specified definition that's listed in WebCrypto.asn. The
1785         existing decodeStructure() is modified to use this new addition.
1786
1787         encodedData() retrieves the ASN.1-encoded data of the specified element that's
1788         located in the passed-in asn1_node. This is used when retrieving SPKI or PKCS#8
1789         data from filled-out ASN.1 structures.
1790
1791         writeElement() writes the provided data to the given asn1_node object under the
1792         specified element, using the given size. True is returned if this operation was
1793         successful.
1794
1795         * pal/crypto/tasn1/Utilities.cpp:
1796         (PAL::TASN1::createStructure):
1797         (PAL::TASN1::decodeStructure):
1798         (PAL::TASN1::encodedData):
1799         (PAL::TASN1::writeElement):
1800         * pal/crypto/tasn1/Utilities.h:
1801
1802 2017-07-01  Dan Bernstein  <mitz@apple.com>
1803
1804         [iOS] Remove code only needed when building for iOS 9.x
1805         https://bugs.webkit.org/show_bug.cgi?id=174068
1806
1807         Reviewed by Tim Horton.
1808
1809         * Configurations/FeatureDefines.xcconfig:
1810
1811 2017-07-01  Dan Bernstein  <mitz@apple.com>
1812
1813         [macOS] Remove code only needed when building for OS X Yosemite
1814         https://bugs.webkit.org/show_bug.cgi?id=174067
1815
1816         Reviewed by Tim Horton.
1817
1818         * Configurations/Base.xcconfig:
1819         * Configurations/DebugRelease.xcconfig:
1820         * Configurations/FeatureDefines.xcconfig:
1821         * Configurations/Version.xcconfig:
1822
1823 2017-06-29  Jer Noble  <jer.noble@apple.com>
1824
1825         Make Legacy EME API controlled by RuntimeEnabled setting.
1826         https://bugs.webkit.org/show_bug.cgi?id=173994
1827
1828         Reviewed by Sam Weinig.
1829
1830         * Configurations/FeatureDefines.xcconfig:
1831
1832 2017-06-30  Ross Kirsling  <ross.kirsling@sony.com>
1833
1834         [PAL] Move Sound into PAL
1835         https://bugs.webkit.org/show_bug.cgi?id=173999
1836
1837         Reviewed by Alex Christensen.
1838
1839         * Configurations/PAL.xcconfig:
1840         * PAL.xcodeproj/project.pbxproj:
1841         * pal/CMakeLists.txt:
1842         * pal/PlatformGTK.cmake:
1843         * pal/PlatformMac.cmake:
1844         * pal/PlatformWPE.cmake:
1845         * pal/PlatformWin.cmake:
1846         * pal/system/Sound.h: Renamed from Source/WebCore/platform/ios/SoundIOS.mm.
1847         * pal/system/SoundNone.cpp: Renamed from Source/WebCore/platform/wpe/SoundWPE.cpp.
1848         (PAL::systemBeep):
1849         * pal/system/gtk/SoundGtk.cpp: Renamed from Source/WebCore/platform/gtk/SoundGtk.cpp.
1850         * pal/system/mac/SoundMac.mm: Renamed from Source/WebCore/platform/mac/SoundMac.mm.
1851         * pal/system/win/SoundWin.cpp: Renamed from Source/WebCore/platform/win/SoundWin.cpp.
1852
1853 2017-06-28  Jonathan Bedard  <jbedard@apple.com>
1854
1855         Build fix for PAL
1856         https://bugs.webkit.org/show_bug.cgi?id=173896
1857
1858         Reviewed by Dan Bernstein.
1859
1860         Remove the workaround build fix in r218863.
1861
1862         * PAL.xcodeproj/project.pbxproj: We should be using PROJECT_DIR instead of SRCROOT
1863         when in a nested Xcode project.
1864
1865 2017-06-27  Jonathan Bedard  <jbedard@apple.com>
1866
1867         Build fix for PAL
1868         https://bugs.webkit.org/show_bug.cgi?id=173896
1869
1870         Reviewed by Myles C. Maxfield.
1871
1872         * PAL.xcodeproj/project.pbxproj: Ensure that the SRCROOT is WebCore/PAL and not
1873         just WebCore.
1874
1875 2017-06-27  Don Olmstead  <don.olmstead@sony.com>
1876
1877         [PAL] Add symbol export macros for PAL
1878         https://bugs.webkit.org/show_bug.cgi?id=171519
1879
1880         Reviewed by Konstantin Tokarev.
1881
1882         No new tests. No change in behavior.
1883
1884         * Configurations/CopyPALHeaders.xcconfig: Added.
1885         * PAL.xcodeproj/project.pbxproj:
1886         * config.h:
1887         * pal/ExportMacros.h: Copied from Source/WebCore/platform/PlatformExportMacros.h.
1888         * pal/PlatformWin.cmake:
1889         * pal/crypto/CryptoDigest.h:
1890
1891 2017-06-20  Zan Dobersek  <zdobersek@igalia.com>
1892
1893         [GCrypt] Implement CryptoKeyEC SPKI imports
1894         https://bugs.webkit.org/show_bug.cgi?id=172927
1895
1896         Reviewed by Jiewen Tan, Michael Catanzaro and Carlos Garcia Campos.
1897
1898         Add a file that provides utility functions for operating with libtasn1 APIs.
1899
1900         The precomputed ASN.1 declarations, generated from the WebCrypto.asn file with
1901         the asn1Parser tool, are used to enable construction of ASN.1 structures that
1902         are then used to decode the SPKI or PKCS#8 data through the decodeStructure()
1903         function. Raw data of each element in that structure can be retrieved throug the
1904         elementData() function.
1905
1906         The Structure class is added as a wrapper for asn1_node objects that are used
1907         as decoding targets, simplifying lifetime management of these objects.
1908
1909         * pal/PlatformGTK.cmake:
1910         * pal/PlatformWPE.cmake:
1911         * pal/crypto/tasn1/Utilities.cpp: Added.
1912         (PAL::TASN1::asn1Definitions):
1913         (PAL::TASN1::decodeStructure):
1914         (PAL::TASN1::elementData):
1915         * pal/crypto/tasn1/Utilities.h: Added.
1916         (PAL::TASN1::Structure::~Structure):
1917         (PAL::TASN1::Structure::operator&):
1918         (PAL::TASN1::Structure::operator asn1_node):
1919         * pal/crypto/tasn1/WebCrypto.asn: Added.
1920
1921 2017-06-20  Myles C. Maxfield  <mmaxfield@apple.com>
1922
1923         Disable font variations on macOS Sierra and iOS 10
1924         https://bugs.webkit.org/show_bug.cgi?id=173618
1925         <rdar://problem/32879164>
1926
1927         Reviewed by Jon Lee.
1928
1929         * Configurations/FeatureDefines.xcconfig:
1930
1931 2017-06-19  Zan Dobersek  <zdobersek@igalia.com>
1932
1933         Unreviewed build fix after r218484.
1934
1935         * pal/crypto/gcrypt/Utilities.h: Drop the GCrypt prefix from the
1936         GCryptCipherOperation type definition, since it's already nested
1937         in the PAL::GCrypt namespace.
1938
1939 2017-06-19  Zan Dobersek  <zdobersek@igalia.com>
1940
1941         [GCrypt] AES_CTR support
1942         https://bugs.webkit.org/show_bug.cgi?id=171420
1943
1944         Reviewed by Michael Catanzaro.
1945
1946         * pal/crypto/gcrypt/Utilities.h: Add a GCryptCipherOperation type alias that can be used
1947         for the gcry_cipher_decrypt or gcry_cipher_encrypt function pointers.
1948
1949 2017-06-16  Wenson Hsieh  <wenson_hsieh@apple.com>
1950
1951         [iOS DnD] Upstream iOS drag and drop implementation into OpenSource WebKit
1952         https://bugs.webkit.org/show_bug.cgi?id=173366
1953         <rdar://problem/32767014>
1954
1955         Reviewed by Tim Horton.
1956
1957         Introduce ENABLE_DATA_INTERACTION and ENABLE_DRAG_SUPPORT to FeatureDefines.xcconfig.
1958
1959         * Configurations/FeatureDefines.xcconfig:
1960
1961 2017-06-10  Dan Bernstein  <mitz@apple.com>
1962
1963         Reverted r218056 because it made the IDE reindex constantly.
1964
1965         * Configurations/DebugRelease.xcconfig:
1966
1967 2017-06-10  Dan Bernstein  <mitz@apple.com>
1968
1969         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
1970         https://bugs.webkit.org/show_bug.cgi?id=173223
1971
1972         Reviewed by Sam Weinig.
1973
1974         The rebuilds were happening due to a difference in the compiler options that the IDE and
1975         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
1976         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
1977         specify an appropriate path in CLANG_INDEX_STORE_PATH.
1978
1979         * Configurations/DebugRelease.xcconfig:
1980
1981 2017-06-01  Andy Estes  <aestes@apple.com>
1982
1983         REGRESSION (r217626): ENABLE_APPLE_PAY_SESSION_V3 was disabled by mistake
1984         https://bugs.webkit.org/show_bug.cgi?id=172828
1985
1986         Reviewed by Beth Dakin.
1987
1988         * Configurations/FeatureDefines.xcconfig:
1989
1990 2017-05-31  Andy Estes  <aestes@apple.com>
1991
1992         Rename ENABLE_APPLE_PAY_DELEGATE to ENABLE_APPLE_PAY_SESSION_V3 and bump the supported version number
1993         https://bugs.webkit.org/show_bug.cgi?id=172366
1994
1995         Reviewed by Daniel Bates.
1996
1997         * Configurations/FeatureDefines.xcconfig:
1998
1999 2017-05-30  Alex Christensen  <achristensen@webkit.org>
2000
2001         Update libwebrtc configuration
2002         https://bugs.webkit.org/show_bug.cgi?id=172727
2003
2004         Reviewed by Geoffrey Garen.
2005
2006         * Configurations/FeatureDefines.xcconfig:
2007
2008 2017-05-28  Dan Bernstein  <mitz@apple.com>
2009
2010         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES
2011         https://bugs.webkit.org/show_bug.cgi?id=172691
2012
2013         Reviewed by Tim Horton.
2014
2015         * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO.
2016
2017 2017-05-23  Myles C. Maxfield  <mmaxfield@apple.com>
2018
2019         Remove dead ENABLE(FONT_LOAD_EVENTS) code
2020         https://bugs.webkit.org/show_bug.cgi?id=172517
2021
2022         Rubber-stamped by Simon Fraser.
2023
2024         No new tests because there is no behavior change.
2025
2026         * Configurations/FeatureDefines.xcconfig:
2027
2028 2017-05-18  Andy Estes  <aestes@apple.com>
2029
2030         ENABLE(APPLE_PAY_DELEGATE) should be NO on macOS Sierra and earlier
2031         https://bugs.webkit.org/show_bug.cgi?id=172305
2032
2033         Reviewed by Anders Carlsson.
2034
2035         * Configurations/FeatureDefines.xcconfig:
2036
2037 2017-05-09  Sam Weinig  <sam@webkit.org>
2038
2039         Remove support for legacy Notifications
2040         https://bugs.webkit.org/show_bug.cgi?id=171487
2041
2042         Reviewed by Jon Lee.
2043
2044         * Configurations/FeatureDefines.xcconfig:
2045         Remove definition of ENABLE_LEGACY_NOTIFICATIONS.
2046
2047 2017-05-09  Zan Dobersek  <zdobersek@igalia.com>
2048
2049         Upstream the WPE port
2050         https://bugs.webkit.org/show_bug.cgi?id=171110
2051
2052         Reviewed by Alex Christensen.
2053
2054         * pal/PlatformWPE.cmake: Added.
2055
2056 2017-05-04  Commit Queue  <commit-queue@webkit.org>
2057
2058         Unreviewed, rolling out r216206.
2059         https://bugs.webkit.org/show_bug.cgi?id=171714
2060
2061         Multiple LayoutTests crashing in Document::page() (Requested
2062         by ap on #webkit).
2063
2064         Reverted changeset:
2065
2066         "Remove support for legacy Notifications"
2067         https://bugs.webkit.org/show_bug.cgi?id=171487
2068         http://trac.webkit.org/changeset/216206
2069
2070 2017-05-04  Don Olmstead  <don.olmstead@am.sony.com>
2071
2072         [Win] Remove redundant macros that are set in the CMake config
2073         https://bugs.webkit.org/show_bug.cgi?id=171571
2074
2075         Reviewed by Brent Fulgham.
2076
2077         No new tests. No change in behavior.
2078
2079         * config.h:
2080
2081 2017-05-04  Sam Weinig  <sam@webkit.org>
2082
2083         Remove support for legacy Notifications
2084         https://bugs.webkit.org/show_bug.cgi?id=171487
2085
2086         Reviewed by Jon Lee.
2087
2088         * Configurations/FeatureDefines.xcconfig:
2089         Remove definition of ENABLE_LEGACY_NOTIFICATIONS.
2090
2091 2017-05-02  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
2092
2093         Make "PAL/pal" and "PAL/pal/crypto" directories private
2094         https://bugs.webkit.org/show_bug.cgi?id=171524
2095
2096         Reviewed by Myles C. Maxfield.
2097
2098         Make the "PAL/pal" and "PAL/pal/crypto" directories private to force WebCore sources 
2099         to include PAL headers in "#include <pal/***.h>" style.
2100
2101         * pal/CMakeLists.txt:
2102
2103 2017-05-01  Zan Dobersek  <zdobersek@igalia.com>
2104
2105         [GCrypt] ECDH bit derivation support
2106         https://bugs.webkit.org/show_bug.cgi?id=171070
2107
2108         Reviewed by Michael Catanzaro.
2109
2110         Add PAL::GCrypt::HandleDeleter specialization for the
2111         gcry_mpi_point_t type.
2112
2113         * pal/crypto/gcrypt/Handle.h:
2114         (PAL::GCrypt::HandleDeleter<gcry_mpi_point_t>::operator()):
2115
2116 2017-04-25  Daniel Bates  <dabates@apple.com>
2117
2118         [Cocoa][Win] Enable of X-Content-Type-Options: nosniff header
2119         https://bugs.webkit.org/show_bug.cgi?id=136452
2120         <rdar://problem/23412620>
2121
2122         Reviewed by Brent Fulgham.
2123
2124         Enable X-Content-Type-Options: nosniff on Mac, iOS and Windows platforms.
2125
2126         * Configurations/FeatureDefines.xcconfig:
2127
2128 2017-04-19  Youenn Fablet  <youenn@apple.com>
2129
2130         [Mac] Allow customizing H264 encoder
2131         https://bugs.webkit.org/show_bug.cgi?id=170829
2132
2133         Reviewed by Alex Christensen.
2134
2135         * Configurations/FeatureDefines.xcconfig:
2136
2137 2017-04-17  Youenn Fablet  <youenn@apple.com>
2138
2139         Disable outdated WritableStream API
2140         https://bugs.webkit.org/show_bug.cgi?id=170749
2141         <rdar://problem/31446233>
2142
2143         Reviewed by Alex Christensen.
2144
2145         * Configurations/FeatureDefines.xcconfig:
2146
2147 2017-04-14  Mark Lam  <mark.lam@apple.com>
2148
2149         Update architectures in xcconfig files.
2150         https://bugs.webkit.org/show_bug.cgi?id=170867
2151         <rdar://problem/31628104>
2152
2153         Reviewed by Joseph Pecoraro.
2154
2155         No new tests needed.  Only updating xcconfig files.
2156
2157         * Configurations/Base.xcconfig:
2158         * Configurations/FeatureDefines.xcconfig:
2159
2160 2017-04-12  Dan Bernstein  <mitz@apple.com>
2161
2162         [Mac] Future-proof .xcconfig files
2163         https://bugs.webkit.org/show_bug.cgi?id=170802
2164
2165         Reviewed by Tim Horton.
2166
2167         * Configurations/Base.xcconfig:
2168         * Configurations/DebugRelease.xcconfig:
2169         * Configurations/FeatureDefines.xcconfig:
2170         * Configurations/Version.xcconfig:
2171
2172 2017-04-11  Dean Jackson  <dino@apple.com>
2173
2174         Disable outdated WritableStream API
2175         https://bugs.webkit.org/show_bug.cgi?id=170749
2176         <rdar://problem/31446233>
2177
2178         Reviewed by Tim Horton.
2179
2180         The API we implement is no longer accurate. Disable it until we
2181         are compatible with the new specification
2182
2183         * Configurations/FeatureDefines.xcconfig:
2184
2185 2017-04-10  Alex Christensen  <achristensen@webkit.org>
2186
2187         Revert r215217
2188         https://bugs.webkit.org/show_bug.cgi?id=170703
2189
2190         * Configurations/FeatureDefines.xcconfig:
2191
2192 2017-04-10  Alex Christensen  <achristensen@webkit.org>
2193
2194         Continue enabling WebRTC
2195         https://bugs.webkit.org/show_bug.cgi?id=170703
2196
2197         Reviewed by Youenn Fablet.
2198
2199         * Configurations/FeatureDefines.xcconfig:
2200
2201 2017-04-08  Youenn Fablet  <youenn@apple.com>
2202
2203         WebRTC tests gardening
2204         https://bugs.webkit.org/show_bug.cgi?id=170508
2205
2206         Reviewed by Eric Carlson.
2207
2208         * Configurations/FeatureDefines.xcconfig:
2209
2210 2017-04-07  Zan Dobersek  <zdobersek@igalia.com>
2211
2212         [GCrypt] Implement raw and JWK imports and exports for EC keys
2213         https://bugs.webkit.org/show_bug.cgi?id=170546
2214
2215         Reviewed by Michael Catanzaro.
2216
2217         Add HandleDeleter specizalizations for gcry_ctx_t and gcry_mpi_t types.
2218
2219         * pal/crypto/gcrypt/Handle.h:
2220         (PAL::GCrypt::HandleDeleter<gcry_ctx_t>::operator()):
2221         (PAL::GCrypt::HandleDeleter<gcry_mpi_t>::operator()):
2222
2223 2017-04-06  Ryan Haddad  <ryanhaddad@apple.com>
2224
2225         Unreviewed, rolling out r215046.
2226
2227         This change broke internal builds.
2228
2229         Reverted changeset:
2230
2231         "WebRTC tests gardening"
2232         https://bugs.webkit.org/show_bug.cgi?id=170508
2233         http://trac.webkit.org/changeset/215046
2234
2235 2017-04-06  Youenn Fablet  <youenn@apple.com>
2236
2237         WebRTC tests gardening
2238         https://bugs.webkit.org/show_bug.cgi?id=170508
2239
2240         Reviewed by Eric Carlson.
2241
2242         * Configurations/FeatureDefines.xcconfig:
2243
2244 2017-04-03  Michael Catanzaro  <mcatanzaro@igalia.com>
2245
2246         Unreviewed, attempt to fix build with libgcrypt < 1.7.0
2247
2248         * pal/crypto/gcrypt/Utilities.h:
2249
2250 2017-04-03  Zan Dobersek  <zdobersek@igalia.com>
2251
2252         [GCrypt] Implement CryptoKeyEC::keySizeInBits(), ::platformGeneratePair()
2253         https://bugs.webkit.org/show_bug.cgi?id=170345
2254
2255         Reviewed by Michael Catanzaro.
2256
2257         * pal/crypto/gcrypt/Handle.h:
2258         (PAL::GCrypt::HandleDeleter<gcry_sexp_t>::operator()): Add a HandleDeleter
2259         specialization for the gcry_sexp_t type.
2260
2261 2017-04-03  Zan Dobersek  <zdobersek@igalia.com>
2262
2263         [GCrypt] Implement AES_GCM support
2264         https://bugs.webkit.org/show_bug.cgi?id=170271
2265
2266         Reviewed by Michael Catanzaro.
2267
2268         * pal/crypto/gcrypt/Handle.h:
2269         (PAL::GCrypt::HandleDeleter<gcry_cipher_hd_t>::operator()): Specialize
2270         the HandleDeleter<> template for the gcry_cipher_hd_t type.
2271
2272 2017-03-30  Zan Dobersek  <zdobersek@igalia.com>
2273
2274         [GCrypt] Add the Utilities.h header
2275         https://bugs.webkit.org/show_bug.cgi?id=170269
2276
2277         Reviewed by Michael Catanzaro.
2278
2279         Add a libgcrypt-specific Utilities.h header under PAL. It will contain
2280         common functions that are shared throughout the code that leverages
2281         libgcrypt.
2282
2283         * pal/crypto/gcrypt/Utilities.h: Added.
2284         (PAL::GCrypt::logError): Use WTFLogAlways() to report the passed-in libgcrypt error.
2285         (PAL::GCrypt::aesAlgorithmForKeySize): Return a GCRY_CIPHER_AES{128,192,256} value
2286         that matches up with the passed-in key size.
2287
2288 2017-03-29  Zan Dobersek  <zdobersek@igalia.com>
2289
2290         [GCrypt] Add a Handle<> class to help with GCrypt object lifetime control
2291         https://bugs.webkit.org/show_bug.cgi?id=170238
2292
2293         Reviewed by Michael Catanzaro.
2294
2295         Add a GCrypt-specific Handle<> template class, inside the GCrypt namespace.
2296         Objects of this class should be used as 'smart handles', cleaning up upon
2297         destruction the GCrypt object that's represented by the handle they manage.
2298
2299         This mimics the std::unique_ptr<> idea, but is narrowly focused towards
2300         how such handles are used in the libgcrypt API. A GCrypt::Handle<> object
2301         can be consturcted from an existing handle or with the default null value.
2302         It can be cleared upon request via clear(), and the managed handle can be
2303         released via release().
2304
2305         The address of the managed handle can be retrieved through the address-of
2306         operator. An implicit conversion operator is also added. This allows
2307         frictionless use of GCrypt::Handle<> objects with existing libgcrypt APIs.
2308
2309         The negation operator is implemented to support testing the nullness of
2310         the managed handle. The raw handle value is also retrieveable through
2311         the handle() method.
2312
2313         The copy and move constructors and assignment operators are deleted.
2314         They are not at the moment required anywhere in the work-in-progress
2315         implementation of subtle crypto functionality.
2316
2317         As with other resource management classes, upon destruction, the
2318         GCrypt::Handle<> object destroys the resource it manages. This is done
2319         through objects of the HandleDeleter<> template class. Specializations
2320         of this class have to implement the call operator that properly
2321         releases the resource. Because the operator is deleted by default,
2322         a compilation error will be thrown when deleting a resource of some
2323         type for which the proper HandleDeleter specialization isn't provided.
2324
2325         std::unique_ptr<> could be used, but it could also be mis-used. I find
2326         a mini-class with an interface that's specific to libgcrypt API
2327         interactions to be preferrable to a std::unique_ptr<> with a custom
2328         deleter.
2329
2330         * pal/crypto/gcrypt/Handle.h: Added.
2331         (PAL::GCrypt::Handle::Handle):
2332         (PAL::GCrypt::Handle::~Handle):
2333         (PAL::GCrypt::Handle::clear):
2334         (PAL::GCrypt::Handle::release):
2335         (PAL::GCrypt::Handle::operator&):
2336         (PAL::GCrypt::Handle::handle):
2337         (PAL::GCrypt::Handle::operator T):
2338         (PAL::GCrypt::Handle::operator!):
2339         (PAL::GCrypt::HandleDeleter<gcry_mac_hd_t>::operator()):
2340
2341 2017-03-29  Zan Dobersek  <zdobersek@igalia.com>
2342
2343         [GnuTLS] Remove unused CryptoDigestGnuTLS, CryptoAlgorithmHMACGnuTLS implementation files
2344         https://bugs.webkit.org/show_bug.cgi?id=170231
2345
2346         Reviewed by Michael Catanzaro.
2347
2348         * pal/crypto/gnutls/CryptoDigestGnuTLS.cpp: Removed. The GCrypt counterpart
2349         is already in use, and this file wasn't even being built.
2350
2351 2017-03-17  Michael Saboff  <msaboff@apple.com>
2352
2353         Use USE_INTERNAL_SDK to compute ENABLE_FAST_JIT_PERMISSIONS instead of HAVE_INTERNAL_SDK
2354         https://bugs.webkit.org/show_bug.cgi?id=169817
2355
2356         Reviewed by Filip Pizlo.
2357
2358         * Configurations/FeatureDefines.xcconfig:
2359
2360 2017-03-15  Dean Jackson  <dino@apple.com>
2361
2362         Sort Xcode project files
2363         https://bugs.webkit.org/show_bug.cgi?id=169669
2364
2365         Reviewed by Antoine Quint.
2366
2367         * PAL.xcodeproj/project.pbxproj:
2368
2369 2017-03-10  Alex Christensen  <achristensen@webkit.org>
2370
2371         Fix watch and tv builds after r213294
2372         https://bugs.webkit.org/show_bug.cgi?id=169508
2373
2374         Reviewed by Dan Bernstein.
2375
2376         * Configurations/FeatureDefines.xcconfig:
2377
2378 2017-03-09  Anders Carlsson  <andersca@apple.com>
2379
2380         Add delegate support to WebCore
2381         https://bugs.webkit.org/show_bug.cgi?id=169427
2382         Part of rdar://problem/28880714.
2383
2384         Reviewed by Geoffrey Garen.
2385
2386         * Configurations/FeatureDefines.xcconfig:
2387         Add feature define.
2388
2389 2017-03-07  Dean Jackson  <dino@apple.com>
2390
2391         Some platforms won't be able to create a GPUDevice
2392         https://bugs.webkit.org/show_bug.cgi?id=169314
2393         <rdar://problems/30907521>
2394
2395         Reviewed by Jon Lee.
2396
2397         Disable WEB_GPU on the iOS Simulator.
2398
2399         * Configurations/FeatureDefines.xcconfig:
2400
2401 2017-03-06  Michael Saboff  <msaboff@apple.com>
2402
2403         Take advantage of fast permissions switching of JIT memory for devices that support it
2404         https://bugs.webkit.org/show_bug.cgi?id=169155
2405
2406         Reviewed by Saam Barati.
2407
2408         Updated the Xcode config files to match what is in the JavaScriptCore ones.
2409
2410         * Configurations/FeatureDefines.xcconfig:
2411
2412 2017-03-03  Dean Jackson  <dino@apple.com>
2413
2414         Add WebGPU compile flag and experimental feature flag
2415         https://bugs.webkit.org/show_bug.cgi?id=169161
2416         <rdar://problem/30846689>
2417
2418         Reviewed by Tim Horton.
2419
2420         Add ENABLE_WEBGPU, an experimental feature flag, a RuntimeEnabledFeature,
2421         and an InternalSetting.
2422
2423         * Configurations/FeatureDefines.xcconfig:
2424
2425 2017-03-02  Alex Christensen  <achristensen@webkit.org>
2426
2427         Continue enabling WebRTC
2428         https://bugs.webkit.org/show_bug.cgi?id=169056
2429
2430         Reviewed by Jon Lee.
2431
2432         * Configurations/FeatureDefines.xcconfig:
2433
2434 2017-03-01  Alex Christensen  <achristensen@webkit.org>
2435
2436         Unreviewed, rolling out r213259.
2437
2438         Broke an internal build
2439
2440         Reverted changeset:
2441
2442         "Continue enabling WebRTC"
2443         https://bugs.webkit.org/show_bug.cgi?id=169056
2444         http://trac.webkit.org/changeset/213259
2445
2446 2017-03-01  Alex Christensen  <achristensen@webkit.org>
2447
2448         Continue enabling WebRTC
2449         https://bugs.webkit.org/show_bug.cgi?id=169056
2450
2451         Reviewed by Jon Lee.
2452
2453         * Configurations/FeatureDefines.xcconfig:
2454
2455 2017-02-27  Alex Christensen  <achristensen@webkit.org>
2456
2457         Begin enabling WebRTC on 64-bit
2458         https://bugs.webkit.org/show_bug.cgi?id=168915
2459
2460         Reviewed by Eric Carlson.
2461
2462         * Configurations/FeatureDefines.xcconfig:
2463
2464 2017-02-27  Alex Christensen  <achristensen@webkit.org>
2465
2466         [libwebrtc] Enable WebRTC in some Production Builds
2467         https://bugs.webkit.org/show_bug.cgi?id=168858
2468
2469         * Configurations/FeatureDefines.xcconfig:
2470
2471 2017-02-21  Youenn Fablet  <youenn@apple.com>
2472
2473         [WebRTC][Mac] Activate libwebrtc
2474         https://bugs.webkit.org/show_bug.cgi?id=167293
2475
2476         Reviewed by Alex Christensen.
2477
2478         * Configurations/FeatureDefines.xcconfig:
2479
2480 2017-02-20  Manuel Rego Casasnovas  <rego@igalia.com>
2481
2482         [css-grid] Remove compilation flag ENABLE_CSS_GRID_LAYOUT
2483         https://bugs.webkit.org/show_bug.cgi?id=167693
2484
2485         Reviewed by Sergio Villar Senin.
2486
2487         * Configurations/FeatureDefines.xcconfig:
2488
2489 2017-02-16  Anders Carlsson  <andersca@apple.com>
2490
2491         Begin removing EFL code from WebCore.
2492
2493         Rubber-stamped by Alex Christensen.
2494
2495         * pal/PlatformEfl.cmake: Removed.
2496
2497 2017-01-28  Dan Bernstein  <mitz@apple.com>
2498
2499         [Xcode] Clean up PAL and WebCore’s build settings a little
2500         https://bugs.webkit.org/show_bug.cgi?id=167292
2501
2502         Reviewed by Sam Weinig.
2503
2504         * ChangeLog: Created this file.
2505
2506         * Configurations/Base.xcconfig: Simplified the definition of
2507           GCC_WARN_64_TO_32_BIT_CONVERSION, removed the unused build setting PREBINDING, removed
2508           a duplicate definition of GCC_GENERATE_DEBUGGING_SYMBOLS, and removed definitions specific
2509           to OS X versions that are no longer supported.
2510
2511         * Configurations/DebugRelease.xcconfig: Removed definitions specific to OS X versions
2512           that are no longer supported.
2513
2514         * Configurations/PAL.xcconfig: Removed header search paths that do not exist or do not
2515           make sense. Simplified the definitions of INSTALL_PATH and SKIP_INSTALL. Removed the
2516           unusued build settings PRODUCT_BUNDLE_IDENTIFIER and
2517           WK_PREFIXED_IPHONEOS_DEPLOYMENT_TARGET. Removed the redundant definition of
2518           EXECUTABLE_PREFIX.
2519
2520         * PAL.xcodeproj/project.pbxproj: Sorted the Configurations group.