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