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