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