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