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