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