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