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