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