[CMake] Replace AVFoundationSupport.py using CMake
[WebKit-https.git] / Source / WebCore / PAL / ChangeLog
1 2018-08-30  Don Olmstead  <don.olmstead@sony.com>
2
3         [CMake] Replace AVFoundationSupport.py using CMake
4         https://bugs.webkit.org/show_bug.cgi?id=182891
5
6         Reviewed by Per Arne Vollan.
7
8         Remove AVFoundationSupport.py file and its invocation.
9
10         * AVFoundationSupport.py: Removed.
11         * config.h:
12         * pal/PlatformWin.cmake:
13
14 2018-08-29  Jer Noble  <jer.noble@apple.com>
15
16         Muted elements do not have their Now Playing status updated when unmuted.
17         https://bugs.webkit.org/show_bug.cgi?id=189069
18
19         Reviewed by Eric Carlson.
20
21         * pal/spi/mac/MediaRemoteSPI.h:
22
23 2018-08-27  Keith Rollin  <krollin@apple.com>
24
25         Unreviewed build fix -- disable LTO for production builds
26
27         * Configurations/Base.xcconfig:
28
29 2018-08-27  Aditya Keerthi  <akeerthi@apple.com>
30
31         Consolidate ENABLE_INPUT_TYPE_COLOR and ENABLE_INPUT_TYPE_COLOR_POPOVER
32         https://bugs.webkit.org/show_bug.cgi?id=188931
33
34         Reviewed by Wenson Hsieh.
35
36         * Configurations/FeatureDefines.xcconfig: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
37
38 2018-08-27  Keith Rollin  <krollin@apple.com>
39
40         Build system support for LTO
41         https://bugs.webkit.org/show_bug.cgi?id=187785
42         <rdar://problem/42353132>
43
44         Reviewed by Dan Bernstein.
45
46         Update Base.xcconfig and DebugRelease.xcconfig to optionally enable
47         LTO.
48
49         * Configurations/Base.xcconfig:
50         * Configurations/DebugRelease.xcconfig:
51
52 2018-08-26  Andy Estes  <aestes@apple.com>
53
54         [Apple Pay] Introduce new values for -apple-pay-button-type
55         https://bugs.webkit.org/show_bug.cgi?id=188949
56         <rdar://problem/39992228>
57
58         Reviewed by Anders Carlsson.
59
60         * pal/spi/cocoa/PassKitSPI.h:
61
62 2018-08-23  Andy Estes  <aestes@apple.com>
63
64         [Apple Pay] Introduce Apple Pay JS v4 on iOS 12 and macOS Mojave
65         https://bugs.webkit.org/show_bug.cgi?id=188829
66
67         Reviewed by Tim Horton.
68
69         * Configurations/FeatureDefines.xcconfig:
70
71 2018-08-21  Ryosuke Niwa  <rniwa@webkit.org>
72
73         Unreviewed macOS Mojave build fix after r235125.
74
75         * pal/spi/cg/CoreGraphicsSPI.h:
76
77 2018-08-15  Ansh Shukla  <ansh_shukla@apple.com>
78
79         NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
80         https://bugs.webkit.org/show_bug.cgi?id=186870
81         <rdar://problem/41314410>
82
83         Reviewed by Alex Christensen.
84
85         * pal/spi/cf/CFNetworkSPI.h: Declare OAuth string when not building against the
86         internal SDK.
87
88 2018-08-15  Aditya Keerthi  <akeerthi@apple.com>
89
90         [Datalist] Add button to TextFieldInputs with a datalist
91         https://bugs.webkit.org/show_bug.cgi?id=187741
92
93         Reviewed by Tim Horton.
94
95         * pal/spi/cocoa/NSColorSPI.h: Added NSColorGetUserAccentColor().
96
97 2018-08-15  Ryan Haddad  <ryanhaddad@apple.com>
98
99         Unreviewed, rolling out r234870.
100
101         The test introduced with this change is a flaky failure.
102
103         Reverted changeset:
104
105         "NSURLAuthenticationMethodOAuth challenges are surfaced to
106         clients in -didReceiveAuthenticationChallenge as
107         NSURLAuthenticationMethodDefault"
108         https://bugs.webkit.org/show_bug.cgi?id=186870
109         https://trac.webkit.org/changeset/234870
110
111 2018-08-14  Ansh Shukla  <ansh_shukla@apple.com>
112
113         NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
114         https://bugs.webkit.org/show_bug.cgi?id=186870
115         <rdar://problem/41314410>
116
117         Reviewed by Alex Christensen.
118
119         * pal/spi/cf/CFNetworkSPI.h: Declare OAuth string when not building against the
120         internal SDK.
121
122 2018-08-07  Ryan Haddad  <ryanhaddad@apple.com>
123
124         Unreviewed, suppress warnings to fix the build.
125
126         * pal/crypto/commoncrypto/CryptoDigestCommonCrypto.cpp:
127         (PAL::CryptoDigest::create):
128         (PAL::CryptoDigest::addBytes):
129         (PAL::CryptoDigest::computeHash):
130
131 2018-08-07  Per Arne Vollan  <pvollan@apple.com>
132
133         [macOS] Scrollbars are not visible when using 3rd party mouse
134         https://bugs.webkit.org/show_bug.cgi?id=188372
135
136         Reviewed by Simon Fraser.
137
138         Added declaration of NSScrollerImpPair class method. This method updates all NSScrollerImpPairs
139         with a new recommended scroller style.
140
141         * pal/spi/mac/NSScrollerImpSPI.h:
142
143 2018-08-02  David Fenton  <david_fenton@apple.com>
144
145         Unreviewed, rolling out r234489.
146
147         Caused 50+ crashes and 60+ API failures on iOS
148
149         Reverted changeset:
150
151         "[WTF] Rename String::format to String::deprecatedFormat"
152         https://bugs.webkit.org/show_bug.cgi?id=188191
153         https://trac.webkit.org/changeset/234489
154
155 2018-08-01  Tomas Popela  <tpopela@redhat.com>
156
157         [WTF] Rename String::format to String::deprecatedFormat
158         https://bugs.webkit.org/show_bug.cgi?id=188191
159
160         Reviewed by Darin Adler.
161
162         It should be replaced with string concatenation.
163
164         * pal/FileSizeFormatter.cpp:
165         (fileSizeDescription):
166
167 2018-08-01  Tim Horton  <timothy_horton@apple.com>
168
169         Using the keyboard arrow keys to scroll a webpage is very slow, not smooth, takes too long
170         https://bugs.webkit.org/show_bug.cgi?id=188239
171         <rdar://problem/22997654>
172
173         Reviewed by Simon Fraser.
174
175         * pal/spi/cocoa/QuartzCoreSPI.h:
176         Add a piece of SPI.
177
178 2018-07-30  Sihui Liu  <sihui_liu@apple.com>
179
180         Add support for fetching and remove type  _WKWebsiteDataTypeHSTSCache
181         https://bugs.webkit.org/show_bug.cgi?id=187379
182         <rdar://problem/41879559>
183
184         Reviewed by Geoffrey Garen.
185
186         * pal/spi/cf/CFNetworkSPI.h:
187
188 2018-07-30  Devin Rousso  <webkit@devinrousso.com>
189
190         Add missing CoreGraphics SPI
191         https://bugs.webkit.org/show_bug.cgi?id=188177
192
193         Reviewed by Joseph Pecoraro.
194
195         * pal/spi/cg/CoreGraphicsSPI.h:
196
197 2018-07-26  Andy VanWagoner  <andy@vanwagoner.family>
198
199         [INTL] Remove INTL sub-feature compile flags
200         https://bugs.webkit.org/show_bug.cgi?id=188081
201
202         Reviewed by Michael Catanzaro.
203
204         * Configurations/FeatureDefines.xcconfig:
205
206 2018-07-26  Ryan Haddad  <ryanhaddad@apple.com>
207
208         Unreviewed, rolling out r234281.
209
210         Broke internal builds.
211
212         Reverted changeset:
213
214         "[Datalist] Add button to TextFieldInputs with a datalist"
215         https://bugs.webkit.org/show_bug.cgi?id=187741
216         https://trac.webkit.org/changeset/234281
217
218 2018-07-26  Aditya Keerthi  <akeerthi@apple.com>
219
220         [Datalist] Add button to TextFieldInputs with a datalist
221         https://bugs.webkit.org/show_bug.cgi?id=187741
222
223         Reviewed by Tim Horton.
224
225         * pal/spi/cocoa/NSColorSPI.h: Added NSColorGetUserAccentColor().
226
227 2018-07-26  Commit Queue  <commit-queue@webkit.org>
228
229         Unreviewed, rolling out r234181 and r234189.
230         https://bugs.webkit.org/show_bug.cgi?id=188075
231
232         These are not needed right now (Requested by thorton on
233         #webkit).
234
235         Reverted changesets:
236
237         "Enable Web Content Filtering on watchOS"
238         https://bugs.webkit.org/show_bug.cgi?id=187979
239         https://trac.webkit.org/changeset/234181
240
241         "HAVE(PARENTAL_CONTROLS) should be true on watchOS"
242         https://bugs.webkit.org/show_bug.cgi?id=187985
243         https://trac.webkit.org/changeset/234189
244
245 2018-07-24  Tim Horton  <timothy_horton@apple.com>
246
247         Enable Web Content Filtering on watchOS
248         https://bugs.webkit.org/show_bug.cgi?id=187979
249         <rdar://problem/42559346>
250
251         Reviewed by Wenson Hsieh.
252
253         * Configurations/FeatureDefines.xcconfig:
254
255 2018-07-24  Aditya Keerthi  <akeerthi@apple.com>
256
257         [Datalist][macOS] Display suggestions for input[type=color]
258         https://bugs.webkit.org/show_bug.cgi?id=187794
259
260         Reviewed by Tim Horton.
261
262         Added methods to enable customization of NSPopoverColorWell.
263
264         * PAL.xcodeproj/project.pbxproj:
265         * pal/spi/mac/NSColorWellSPI.h: Added.
266         * pal/spi/mac/NSPopoverColorWellSPI.h: Added.
267         * pal/spi/mac/NSPopoverSPI.h:
268
269 2018-07-23  Tim Horton  <timothy_horton@apple.com>
270
271         Creating and loading content in a WKWebView triggers Main Thread Checker warnings under ServicesController
272         https://bugs.webkit.org/show_bug.cgi?id=186963
273         <rdar://problem/41393682>
274
275         Reviewed by Timothy Hatcher.
276
277         * pal/spi/mac/NSSharingServiceSPI.h:
278         Add the new SPI.
279
280 2018-07-18  Per Arne Vollan  <pvollan@apple.com>
281
282         The WebContent process does not suspend when MiniBrowser is minimized.
283         https://bugs.webkit.org/show_bug.cgi?id=187708
284
285         Reviewed by Chris Dumez.
286
287         Add function for enabling App nap.
288
289         * pal/spi/cf/CFUtilitiesSPI.h:
290
291 2018-07-18  Jer Noble  <jer.noble@apple.com>
292
293         PiP from Element Fullscreen should match AVKit's behavior
294         https://bugs.webkit.org/show_bug.cgi?id=187623
295
296         Reviewed by Jon Lee.
297
298         * pal/spi/mac/PIPSPI.h:
299
300 2018-07-14  Kocsen Chung  <kocsen_chung@apple.com>
301
302         Ensure WebKit stack is ad-hoc signed
303         https://bugs.webkit.org/show_bug.cgi?id=187667
304
305         Reviewed by Alexey Proskuryakov.
306
307         * Configurations/Base.xcconfig:
308
309 2018-07-04  Tim Horton  <timothy_horton@apple.com>
310
311         Introduce PLATFORM(IOSMAC)
312         https://bugs.webkit.org/show_bug.cgi?id=187315
313
314         Reviewed by Dan Bernstein.
315
316         * Configurations/Base.xcconfig:
317         * Configurations/FeatureDefines.xcconfig:
318         * pal/cf/CoreMediaSoftLink.cpp:
319         * pal/cf/CoreMediaSoftLink.h:
320         * pal/spi/mac/AVFoundationSPI.h:
321
322 2018-06-28  Jonathan Bedard  <jbedard@apple.com>
323
324         Build fix (2) after r233266 
325         https://bugs.webkit.org/show_bug.cgi?id=187024
326         <rdar://problem/39759057>
327
328         Unreviewed build fix.
329
330         * pal/cf/CoreMediaSoftLink.cpp: Distinguish between IOS and MINIMAL_SIMULATOR.
331         * pal/cf/CoreMediaSoftLink.h: Ditto.
332         * pal/spi/cocoa/LaunchServicesSPI.h: LSApplicationProxy should be conditionalized on HAVE(APP_LINKS).
333
334 2018-06-27  Jonathan Bedard  <jbedard@apple.com>
335
336         Build fix after r233266 
337         https://bugs.webkit.org/show_bug.cgi?id=187024
338         <rdar://problem/39759057>
339
340         Unreviewed build fix.
341
342         * pal/cf/CoreMediaSoftLink.cpp: Do not soft-link CMSampleBufferCallForEachSample for
343         iOS 12 and up on iPhone device and simulator.
344         * pal/cf/CoreMediaSoftLink.h: Ditto.
345
346 2018-06-27  Jonathan Bedard  <jbedard@apple.com>
347
348         Enable WebKit iOS 12 build
349         https://bugs.webkit.org/show_bug.cgi?id=187024
350         <rdar://problem/39759057>
351
352         Reviewed by David Kilzer.
353
354         * pal/cf/CoreMediaSoftLink.cpp: Condition some CoreMedia functions on version.
355         * pal/cf/CoreMediaSoftLink.h: Ditto.
356         * pal/spi/cocoa/NSXPCConnectionSPI.h: Use XPCSPI.h instead of xpc.h.
357         * pal/spi/ios/QuickLookSPI.h: QLItem adopts QLPreviewItem.
358         * pal/spi/ios/SystemPreviewSPI.h: Fix compiler errors.
359
360 2018-06-26  Wenson Hsieh  <wenson_hsieh@apple.com>
361
362         [iPad apps on macOS] Unable to interact with video elements that have started playing
363         https://bugs.webkit.org/show_bug.cgi?id=187073
364         <rdar://problem/40591107>
365
366         Reviewed by Tim Horton.
367
368         Define an SPI method on CALayer. See WebKit ChangeLog for more detail.
369
370         * pal/spi/cocoa/QuartzCoreSPI.h:
371
372 2018-06-23  Yusuke Suzuki  <utatane.tea@gmail.com>
373
374         [WTF] Add user-defined literal for ASCIILiteral
375         https://bugs.webkit.org/show_bug.cgi?id=186839
376
377         Reviewed by Darin Adler.
378
379         * pal/unix/LoggingUnix.cpp:
380         (PAL::logLevelString):
381
382 2018-06-22  Timothy Hatcher  <timothy@apple.com>
383
384         Corner of two scroll bars is white with dark mode enabled.
385         https://bugs.webkit.org/show_bug.cgi?id=186819
386         rdar://problem/40434350
387
388         Reviewed by Tim Horton.
389
390         * PAL.xcodeproj/project.pbxproj:
391         * pal/spi/mac/CoreUISPI.h: Added.
392         * pal/spi/mac/NSAppearanceSPI.h: Added.
393
394 2018-06-21  Ryan Haddad  <ryanhaddad@apple.com>
395
396         Unreviewed attempt to fix the build after r233052.
397
398         * pal/spi/cocoa/AVKitSPI.h:
399
400 2018-06-21  Jer Noble  <jer.noble@apple.com>
401
402         [Fullscreen] Use secondary glyph style for fullscreen controls
403         https://bugs.webkit.org/show_bug.cgi?id=186862
404         <rdar://problem/41212210>
405
406         Reviewed by Tim Horton.
407
408         * pal/spi/cocoa/AVKitSPI.h:
409
410 2018-06-15  Jonathan Bedard  <jbedard@apple.com>
411
412         Complex text handling should opt out of bounded text layout (follow-up fix)
413         https://bugs.webkit.org/show_bug.cgi?id=186571
414         <rdar://problem/40801429>
415
416         Reviewed by Zalan Bujtas.
417
418         * pal/spi/cocoa/CoreTextSPI.h: Add declaration for OpenSource Mojave builds.
419
420 2018-06-14  Timothy Hatcher  <timothy@apple.com>
421
422         Expose more semantic system colors.
423
424         https://bugs.webkit.org/show_bug.cgi?id=186609
425         rdar://problem/39287277
426
427         Reviewed by Tim Horton.
428
429         * pal/spi/cocoa/NSColorSPI.h: Added findHighlightColor and placeholderTextColor.
430
431 2018-06-09  Dan Bernstein  <mitz@apple.com>
432
433         [Xcode] Clean up and modernize some build setting definitions
434         https://bugs.webkit.org/show_bug.cgi?id=186463
435
436         Reviewed by Sam Weinig.
437
438         * Configurations/Base.xcconfig: Removed definition for macOS 10.11.
439         * Configurations/DebugRelease.xcconfig: Ditto.
440         * Configurations/FeatureDefines.xcconfig: Simplified the definitions of ENABLE_APPLE_PAY and
441           ENABLE_VIDEO_PRESENTATION_MODE now macOS 10.12 is the earliest supported version.
442         * Configurations/PAL.xcconfig: Removed WK_PRIVATE_FRAMEWORKS_DIR, because the private
443           framework stubs aren’t used when linking PAL.
444         * Configurations/Version.xcconfig: Removed definition for macOS 10.11.
445         * Configurations/WebKitTargetConditionals.xcconfig: Ditto.
446
447 2018-06-09  Dan Bernstein  <mitz@apple.com>
448
449         Added missing file references to the Configuration group.
450
451         * PAL.xcodeproj/project.pbxproj:
452
453 2018-06-08  Darin Adler  <darin@apple.com>
454
455         [Cocoa] Remove all uses of NSAutoreleasePool as part of preparation for ARC
456         https://bugs.webkit.org/show_bug.cgi?id=186436
457
458         Reviewed by Anders Carlsson.
459
460         * PAL.xcodeproj/project.pbxproj: Removed FoundationSPI.h.
461         * pal/PlatformMac.cmake: Ditto.
462         * pal/spi/cocoa/FoundationSPI.h: Moved into WTF project.
463
464 2018-06-08  Wenson Hsieh  <wenson_hsieh@apple.com>
465
466         [WebKit on watchOS] Upstream watchOS source additions to OpenSource (Part 1)
467         https://bugs.webkit.org/show_bug.cgi?id=186442
468         <rdar://problem/40879364>
469
470         Reviewed by Tim Horton.
471
472         * Configurations/FeatureDefines.xcconfig:
473
474 2018-06-08  Darin Adler  <darin@apple.com>
475
476         [Cocoa] Make more of our soft linking ARC-compatible
477         https://bugs.webkit.org/show_bug.cgi?id=186437
478
479         Reviewed by Daniel Bates.
480
481         * pal/spi/cocoa/DataDetectorsCoreSPI.h: Removed unused DDURLScheme.
482
483 2018-06-08  Jonathan Bedard  <jbedard@apple.com>
484
485         [Mojave] Enable build
486         https://bugs.webkit.org/show_bug.cgi?id=186401
487         <rdar://problem/39759031>
488
489         Reviewed by Dan Bernstein.
490
491         * pal/spi/cg/CoreGraphicsSPI.h: Declare CGSShutdownServerConnections().
492         * pal/spi/cocoa/QuartzCoreSPI.h: Declare [CAContext setAllowsCGSConnections] in Mojave + builds.
493         * pal/spi/mac/DataDetectorsSPI.h: Declare DDResultGetCFTypeID in Mojave+ builds.
494
495 2018-06-08  Brent Fulgham  <bfulgham@apple.com>
496
497         REGRESSION (r230930): Link drag image is very blurry
498         https://bugs.webkit.org/show_bug.cgi?id=186435
499         <rdar://problem/40797202>
500
501         Reviewed by Tim Horton.
502
503         Add the necessary NSImage SPI to our SPI headers.
504
505         * PAL.xcodeproj/project.pbxproj:
506         * pal/spi/mac/NSImageSPI.h: Added.
507
508 2018-06-07  Chris Dumez  <cdumez@apple.com>
509
510         Add base class to get WeakPtrFactory member and avoid some boilerplate code
511         https://bugs.webkit.org/show_bug.cgi?id=186407
512
513         Reviewed by Brent Fulgham.
514
515         186407_CanMakeWeakPtr
516
517         * pal/system/mac/SystemSleepListenerMac.h:
518         * pal/system/mac/SystemSleepListenerMac.mm:
519         (PAL::SystemSleepListenerMac::SystemSleepListenerMac):
520
521 2018-06-06  Simon Fraser  <simon.fraser@apple.com>
522
523         Logging macros are sensitive to pal/Logging.h vs Logging.h include order
524         https://bugs.webkit.org/show_bug.cgi?id=185893
525
526         Reviewed by Zalan Bujtas.
527         
528         Remove unused functionality from pal/Logging code until we need it. Primarily this removes the
529         #define LOG_CHANNEL_PREFIX from pal/Logging.h, which caused include-order problems with unified sources.
530         
531         Future work should move shared logging code up to WTF (or into PAL).
532
533         * PAL.xcodeproj/project.pbxproj:
534         * pal/CMakeLists.txt:
535         * pal/LogInitialization.h: Removed.
536         * pal/Logging.cpp:
537         (PAL::isLogChannelEnabled): Deleted.
538         (PAL::setLogChannelToAccumulate): Deleted.
539         (PAL::initializeLogChannelsIfNecessary): Deleted.
540         * pal/Logging.h:
541         * pal/cocoa/LoggingCocoa.mm: Removed.
542
543 2018-06-05  Brent Fulgham  <bfulgham@apple.com>
544
545         Adjust compile and runtime flags to match shippable state of features
546         https://bugs.webkit.org/show_bug.cgi?id=186319
547         <rdar://problem/40352045>
548
549         Reviewed by Maciej Stachowiak, Jon Lee, and others.
550
551         * Configurations/DebugRelease.xcconfig: Update to match WebKit definition of
552         WK_RELOCATABLE_FRAMEWORKS so that ENABLE(EXPERIMENTAL_FEATURES) is defined properly for
553         Cocoa builds.
554         * Configurations/FeatureDefines.xcconfig: Don't build ENABLE_INPUT_TYPE_COLOR
555         or ENABLE_INPUT_TYPE_COLOR_POPOVER.
556
557 2018-06-05  Brent Fulgham  <bfulgham@apple.com>
558
559         Revise DEFAULT_EXPERIMENTAL_FEATURES_ENABLED to work properly on Apple builds
560         https://bugs.webkit.org/show_bug.cgi?id=186286
561         <rdar://problem/40782992>
562
563         Reviewed by Dan Bernstein.
564
565         Use the WK_RELOCATABLE_FRAMEWORKS flag (which is always defined for non-production builds)
566         to define ENABLE(EXPERIMENTAL_FEATURES) so that we do not need to manually
567         change this flag when preparing for a production release.
568
569         * Configurations/FeatureDefines.xcconfig: Use WK_RELOCATABLE_FRAMEWORKS to determine
570         whether experimental features should be enabled, and use it to properly define the
571         feature flag.
572
573 2018-06-04  Dan Bernstein  <mitz@apple.com>
574
575         Made PAL build with the macOS Mojave SDK.
576
577         * pal/cf/CoreMediaSoftLink.cpp:
578         * pal/cf/CoreMediaSoftLink.h:
579
580 2018-06-04  Wenson Hsieh  <wenson_hsieh@apple.com>
581
582         [WebKit on watchOS] Remove all uses of the EXTRA_ZOOM_MODE compiler flag
583         https://bugs.webkit.org/show_bug.cgi?id=186279
584
585         Reviewed by Tim Horton.
586
587         Replaces uses of ENABLE(EXTRA_ZOOM_MODE) with PLATFORM(WATCHOS).
588
589         * pal/cf/CoreMediaSoftLink.h:
590         * pal/spi/cocoa/AVKitSPI.h:
591
592 2018-05-30  Andy Estes  <aestes@apple.com>
593
594         [Cocoa] Add an SPI to suppress connection termination errors from CFNetwork when network interfaces change
595         https://bugs.webkit.org/show_bug.cgi?id=186107
596         <rdar://problem/39338957>
597
598         Reviewed by Brady Eidson.
599
600         * pal/spi/cf/CFNetworkSPI.h: Declared new SPI.
601
602 2018-05-27  Dan Bernstein  <mitz@apple.com>
603
604         Reverted the changes made for https://webkit.org/b/186016
605
606         They broke the USE(APPLE_INTERNAL_SDK) Sierra build.
607
608 2018-05-25  Chris Dumez  <cdumez@apple.com>
609
610         Drop support for NSURLCache in WebKit2
611         https://bugs.webkit.org/show_bug.cgi?id=185990
612
613         Reviewed by Geoffrey Garen.
614
615         Drop support for NSURLCache in WebKit2 now that the WebKit network cache is stable.
616
617         * pal/spi/cf/CFNetworkSPI.h:
618
619 2018-05-24  Jiewen Tan  <jiewen_tan@apple.com>
620
621         Adopt SecKeyProxy SPI in certificate based challenge response code
622         https://bugs.webkit.org/show_bug.cgi?id=185848
623         <rdar://problem/34586181>
624
625         Reviewed by Alex Christensen.
626
627         Add SPIs to support SecKeyProxy and convert xpc_endpoint_t to NSXPCListenerEndpoint vice versa.
628
629         * PAL.xcodeproj/project.pbxproj:
630         * pal/spi/cocoa/NSXPCConnectionSPI.h: Added.
631         * pal/spi/cocoa/SecKeyProxySPI.h: Added.
632
633 2018-05-24  Chris Dumez  <cdumez@apple.com>
634
635         Some of the work in initializeLogChannelsIfNecessary() is unnecessary for release builds
636         https://bugs.webkit.org/show_bug.cgi?id=185951
637
638         Reviewed by Geoffrey Garen.
639
640         Some of the work in initializeLogChannelsIfNecessary() is unnecessary for release builds and slows down
641         launch time. In particular, it is unnecessary to read NSDefaults to figure out which logging channels
642         should be enabled.
643
644         * pal/cocoa/LoggingCocoa.mm:
645         (PAL::logLevelString):
646         * pal/unix/LoggingUnix.cpp:
647         (PAL::logLevelString):
648         * pal/win/LoggingWin.cpp:
649         (PAL::logLevelString):
650
651 2018-05-22  Simon Fraser  <simon.fraser@apple.com>
652
653         Add notifyutil callbacks to dump the memory cache, and the list of live Pages and Documents
654         https://bugs.webkit.org/show_bug.cgi?id=185853
655
656         Reviewed by Keith Miller.
657         
658         Compile registerNotifyCallback in release builds.
659
660         * pal/Logging.cpp:
661         (PAL::registerNotifyCallback):
662         * pal/Logging.h:
663
664 2018-05-22  Ryan Haddad  <ryanhaddad@apple.com>
665
666         Unreviewed, rolling out r232052.
667
668         Breaks internal builds.
669
670         Reverted changeset:
671
672         "Use more C++17"
673         https://bugs.webkit.org/show_bug.cgi?id=185176
674         https://trac.webkit.org/changeset/232052
675
676 2018-05-21  Yusuke Suzuki  <utatane.tea@gmail.com>
677
678         Use more C++17
679         https://bugs.webkit.org/show_bug.cgi?id=185176
680
681         Reviewed by JF Bastien.
682
683         * Configurations/Base.xcconfig:
684
685 2018-05-21  Jer Noble  <jer.noble@apple.com>
686
687         Complete fix for enabling modern EME by default
688         https://bugs.webkit.org/show_bug.cgi?id=185770
689         <rdar://problem/40368220>
690
691         Reviewed by Eric Carlson.
692
693         * Configurations/FeatureDefines.xcconfig:
694
695 2018-05-18  Commit Queue  <commit-queue@webkit.org>
696
697         Unreviewed, rolling out r231982.
698         https://bugs.webkit.org/show_bug.cgi?id=185793
699
700         Caused layout test failures (Requested by realdawei on
701         #webkit).
702
703         Reverted changeset:
704
705         "Complete fix for enabling modern EME by default"
706         https://bugs.webkit.org/show_bug.cgi?id=185770
707         https://trac.webkit.org/changeset/231982
708
709 2018-05-18  Jer Noble  <jer.noble@apple.com>
710
711         Complete fix for enabling modern EME by default
712         https://bugs.webkit.org/show_bug.cgi?id=185770
713         <rdar://problem/40368220>
714
715         Reviewed by Eric Carlson.
716
717         * Configurations/FeatureDefines.xcconfig:
718
719 2018-05-16  Andy VanWagoner  <andy@vanwagoner.family>
720
721         Add support for Intl NumberFormat formatToParts
722         https://bugs.webkit.org/show_bug.cgi?id=185375
723
724         Reviewed by Yusuke Suzuki.
725
726         Add flag for NumberFormat formatToParts.
727
728         * Configurations/FeatureDefines.xcconfig:
729
730 2018-05-15  Wenson Hsieh  <wenson_hsieh@apple.com>
731
732         PasteboardWebContent's dataInAttributedStringFormat fails to deserialize in the UI process when copying a selection
733         https://bugs.webkit.org/show_bug.cgi?id=185667
734         <rdar://problem/40135132>
735
736         Reviewed by Tim Horton.
737
738         Fixes error logging emitted when copying a text selection due to the secure archiver on iOS being unable to
739         handle NSAttributedString in the builds where the errors manifest. USE_SECURE_ARCHIVER_FOR_ATTRIBUTED_STRING is
740         defined to be 1, despite not having the fix for <rdar://problem/31376830>.
741
742         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
743
744 2018-05-11  Dan Bernstein  <mitz@apple.com>
745
746         Follow-up build fix to r231721.
747
748         * pal/cf/CoreMediaSoftLink.cpp:
749         * pal/cf/CoreMediaSoftLink.h:
750           Unify the conditions between the header and the implementation files, and have watchOS and
751           tvOS keyed off iOS.
752
753 2018-05-11  Jer Noble  <jer.noble@apple.com>
754
755         Add CF_NOESCAPE decorators for tvOS and watchOS
756         https://bugs.webkit.org/show_bug.cgi?id=185560
757
758         Reviewed by Dan Bernstein.
759
760         * pal/cf/CoreMediaSoftLink.h:
761
762 2018-05-08  Sihui Liu  <sihui_liu@apple.com>
763
764         Adopt new async _savecookies SPI for keeping networking process active during flushing cookies
765         https://bugs.webkit.org/show_bug.cgi?id=185261
766         <rdar://problem/37214391>
767
768         Reviewed by Chris Dumez.
769
770         * pal/spi/cf/CFNetworkSPI.h:
771
772 2018-05-08  Dean Jackson  <dino@apple.com>
773
774         Use thumbnails in System Previews
775         https://bugs.webkit.org/show_bug.cgi?id=185397
776         <rdar://problem/40039376>
777
778         Reviewed by Jon Lee.
779
780         * PAL.xcodeproj/project.pbxproj:
781         * pal/spi/ios/SystemPreviewSPI.h: New file holding the non-public parts of System Preview.
782
783 2018-05-04  Tim Horton  <timothy_horton@apple.com>
784
785         Shift to a lower-level framework for simplifying URLs
786         https://bugs.webkit.org/show_bug.cgi?id=185334
787
788         Reviewed by Dan Bernstein.
789
790         * PAL.xcodeproj/project.pbxproj:
791         * pal/PlatformMac.cmake:
792         * pal/spi/cocoa/URLFormattingSPI.h: Renamed from Source/WebCore/PAL/pal/spi/cocoa/LinkPresentationSPI.h.
793
794 2018-05-03  Eric Carlson  <eric.carlson@apple.com>
795
796         [iOS] Provide audio route information when invoking AirPlay picker
797         https://bugs.webkit.org/show_bug.cgi?id=185199
798         <rdar://problem/39853103>
799
800         Another attempt at an unreviewed build fix.
801
802         * pal/spi/mac/AVFoundationSPI.h:
803
804 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
805
806         [iOS] Provide audio route information when invoking AirPlay picker
807         https://bugs.webkit.org/show_bug.cgi?id=185199
808         <rdar://problem/39853103>
809
810         Unreviewed, another attempted build fix.
811
812         * pal/spi/mac/AVFoundationSPI.h:
813
814 2018-05-02  Alex Christensen  <achristensen@webkit.org>
815
816         Add WKWebsiteDataStorePrivate._proxyConfiguration SPI
817         https://bugs.webkit.org/show_bug.cgi?id=185179
818
819         Reviewed by Andy Estes.
820
821         * pal/spi/cf/CFNetworkSPI.h:
822
823 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
824
825         [iOS] Provide audio route information when invoking AirPlay picker
826         https://bugs.webkit.org/show_bug.cgi?id=185199
827         <rdar://problem/39853103>
828
829         Unreviewed build fix.
830
831         * pal/spi/mac/AVFoundationSPI.h:
832
833 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
834
835         [iOS] Provide audio route information when invoking AirPlay picker
836         https://bugs.webkit.org/show_bug.cgi?id=185199
837         <rdar://problem/39853103>
838
839         Reviewed by Jer Noble.
840
841         * pal/spi/mac/AVFoundationSPI.h: Add additional AVAudioSession SPI.
842
843 2018-05-01  Jer Noble  <jer.noble@apple.com>
844
845         Protect against changes to CoreMedia function signatures
846         https://bugs.webkit.org/show_bug.cgi?id=185167
847
848         Reviewed by Eric Carlson.
849
850         * pal/cf/CoreMediaSoftLink.cpp:
851         * pal/cf/CoreMediaSoftLink.h:
852
853 2018-05-01  Oleksandr Skachkov  <gskachkov@gmail.com>
854
855         WebAssembly: add support for stream APIs - JavaScript API
856         https://bugs.webkit.org/show_bug.cgi?id=183442
857
858         Reviewed by Yusuke Suzuki and JF Bastien.
859
860         Add WEBASSEMBLY_STREAMING_API feature flag
861
862         * Configurations/FeatureDefines.xcconfig:
863
864 2018-04-26  Jer Noble  <jer.noble@apple.com>
865
866         WK_COCOA_TOUCH all the things.
867         https://bugs.webkit.org/show_bug.cgi?id=185006
868
869         Reviewed by Tim Horton.
870
871         * Configurations/PAL.xcconfig:
872
873 2018-04-26  Per Arne Vollan  <pvollan@apple.com>
874
875         Disable content filtering in minimal simulator mode
876         https://bugs.webkit.org/show_bug.cgi?id=185027
877         <rdar://problem/39736091>
878
879         Reviewed by Jer Noble.
880
881         * Configurations/FeatureDefines.xcconfig:
882
883 2018-04-26  Andy VanWagoner  <thetalecrafter@gmail.com>
884
885         [INTL] Implement Intl.PluralRules
886         https://bugs.webkit.org/show_bug.cgi?id=184312
887
888         Reviewed by JF Bastien.
889
890         Added Intl.PluralRules feature flag.
891
892         * Configurations/FeatureDefines.xcconfig:
893
894 2018-04-24  Jer Noble  <jer.noble@apple.com>
895
896         Don't add system framework paths to FRAMEWORK_SEARCH_PATHS
897         https://bugs.webkit.org/show_bug.cgi?id=184786
898
899         Reviewed by Tim Horton.
900
901         * Configurations/PAL.xcconfig:
902
903 2018-04-23  Daniel Bates  <dabates@apple.com>
904
905         Implement Same-Site cookies
906         https://bugs.webkit.org/show_bug.cgi?id=159464
907         <rdar://problem/27196358>
908
909         Reviewed by Brent Fulgham.
910
911         Forward declare some SPI.
912
913         * pal/spi/cf/CFNetworkSPI.h:
914
915 2018-04-23  Zalan Bujtas  <zalan@apple.com>
916
917         [LayoutFormattingContext] Initial commit.
918         https://bugs.webkit.org/show_bug.cgi?id=184896
919
920         Reviewed by Antti Koivisto.
921
922         * Configurations/FeatureDefines.xcconfig:
923
924 2018-04-23  Daniel Bates  <dabates@apple.com>
925
926         Implement Same-Site cookies
927         https://bugs.webkit.org/show_bug.cgi?id=159464
928         <rdar://problem/27196358>
929
930         Reviewed by Brent Fulgham.
931
932         Forward declare some SPI.
933
934         * pal/spi/cf/CFNetworkSPI.h:
935
936 2018-04-20  Tim Horton  <timothy_horton@apple.com>
937
938         Adjust geolocation feature flag
939         https://bugs.webkit.org/show_bug.cgi?id=184856
940
941         Reviewed by Wenson Hsieh.
942
943         * Configurations/FeatureDefines.xcconfig:
944
945 2018-04-18  Jer Noble  <jer.noble@apple.com>
946
947         Don't put build products into WK_ALTERNATE_WEBKIT_SDK_PATH for engineering builds
948         https://bugs.webkit.org/show_bug.cgi?id=184762
949
950         Reviewed by Dan Bernstein.
951
952         * Configurations/CopyPALHeaders.xcconfig:
953         * Configurations/PAL.xcconfig:
954
955 2018-04-19  David Kilzer  <ddkilzer@apple.com>
956
957         Enable Objective-C weak references
958         <https://webkit.org/b/184789>
959         <rdar://problem/39571716>
960
961         Reviewed by Dan Bernstein.
962
963         * Configurations/Base.xcconfig:
964         (CLANG_ENABLE_OBJC_WEAK): Enable.
965
966 2018-04-17  Eric Carlson  <eric.carlson@apple.com>
967
968         [iOS] AirPlay device name is sometimes wrong
969         https://bugs.webkit.org/show_bug.cgi?id=184543
970         <rdar://problem/39105498>
971
972         Reviewed by Jer Noble.
973
974         * pal/spi/mac/AVFoundationSPI.h: Declare more AVOutputContext SPI.
975
976 2018-04-16  Brent Fulgham  <bfulgham@apple.com>
977
978         [macOS] Don't establish unneeded Dock connections
979         https://bugs.webkit.org/show_bug.cgi?id=184664
980         <rdar://problem/16863698>
981
982         Reviewed by Simon Fraser.
983
984         There is no reason for the WebContent or Plugin processes to interact with
985         the Dock. We should tell AppKit that we don't want this connection, and to
986         avoid creating such connections.
987
988         * pal/spi/mac/NSApplicationSPI.h: Add Dock connection declaration.
989
990 2018-04-09  John Wilander  <wilander@apple.com>
991
992         Refactor Ignore HSTS code
993         https://bugs.webkit.org/show_bug.cgi?id=184433
994         <rdar://problem/39298238>
995
996         Reviewed by Darin Adler.
997
998         This patch refactors our ignore HSTS code. The convenience functions are moved
999         out of CFNetwork SPI in PAL, and into where they are used. It also switches
1000         from performSelector: calls to straight function calls, after checking that
1001         there is a responder.
1002
1003         * pal/spi/cf/CFNetworkSPI.h:
1004         (schemeWasUpgradedDueToDynamicHSTS): Deleted.
1005         (setIgnoreHSTS): Deleted.
1006         (ignoreHSTS): Deleted.
1007
1008 2018-04-07  Timothy Hatcher  <timothy@apple.com>
1009
1010         Use the system's link color when system appearance is desired for a WebView.
1011
1012         https://bugs.webkit.org/show_bug.cgi?id=184353
1013         rdar://problem/9420053
1014
1015         Reviewed by Wenson Hsieh.
1016
1017         * pal/spi/cocoa/NSColorSPI.h: Added linkColor.
1018
1019 2018-04-05  John Wilander  <wilander@apple.com>
1020
1021         Add necessary colon to CFNetwork selector
1022         https://bugs.webkit.org/show_bug.cgi?id=184335
1023         <rdar://problem/39213124>
1024
1025         Reviewed by Brent Fulgham.
1026
1027         * pal/spi/cf/CFNetworkSPI.h:
1028         (setIgnoreHSTS):
1029
1030 2018-04-04  Per Arne Vollan  <pvollan@apple.com>
1031
1032         The layout test fast/canvas/canvas-blending-global-alpha.html is failing when the WebContent process does not have WindowServer access.
1033         https://bugs.webkit.org/show_bug.cgi?id=183752
1034
1035         Reviewed by Brent Fulgham.
1036
1037         * pal/spi/cg/CoreGraphicsSPI.h:
1038
1039 2018-04-02  Eric Carlson  <eric.carlson@apple.com>
1040
1041         Define AVKit softlink macro
1042         https://bugs.webkit.org/show_bug.cgi?id=184241
1043
1044         Reviewed by Jer Noble.
1045
1046         * pal/cf/CoreMediaSoftLink.h:
1047
1048 2018-03-23  Tim Horton  <timothy_horton@apple.com>
1049
1050         Fix the !HAVE(APP_LINKS) build
1051         https://bugs.webkit.org/show_bug.cgi?id=183974
1052
1053         Reviewed by Dan Bernstein.
1054
1055         * pal/spi/cocoa/LaunchServicesSPI.h:
1056         This header is not very !HAVE(APP_LINKS) friendly.
1057
1058 2018-03-23  Tim Horton  <timothy_horton@apple.com>
1059
1060         Fix the build with no pasteboard
1061         https://bugs.webkit.org/show_bug.cgi?id=183973
1062
1063         Reviewed by Dan Bernstein.
1064
1065         * Configurations/FeatureDefines.xcconfig:
1066
1067 2018-03-22  Tim Horton  <timothy_horton@apple.com>
1068
1069         Adopt WK_ALTERNATE_FRAMEWORKS_DIR in WebCore
1070         https://bugs.webkit.org/show_bug.cgi?id=183930
1071         <rdar://problem/38782249>
1072
1073         Reviewed by Dan Bernstein.
1074
1075         * Configurations/Base.xcconfig:
1076         * Configurations/CopyPALHeaders.xcconfig:
1077         * Configurations/PAL.xcconfig:
1078
1079 2018-03-22  Tim Horton  <timothy_horton@apple.com>
1080
1081         Improve readability of WebCore's OTHER_LDFLAGS
1082         https://bugs.webkit.org/show_bug.cgi?id=183909
1083         <rdar://problem/38760992>
1084
1085         Reviewed by Dan Bernstein.
1086
1087         * Configurations/Base.xcconfig:
1088         * Configurations/FeatureDefines.xcconfig:
1089
1090 2018-03-21  Brent Fulgham  <bfulgham@apple.com>
1091
1092         Remove temporary build fix now that underlying issue is resolved
1093         https://bugs.webkit.org/show_bug.cgi?id=183854
1094         <rdar://problem/37198715>
1095
1096         Reviewed by Eric Carlson.
1097
1098         The build environment issues that forced us to disable this setting
1099         have been corrected, so this should be turned on for all builds.
1100
1101         * pal/spi/cf/CFNetworkSPI.h:
1102
1103 2018-03-20  Tim Horton  <timothy_horton@apple.com>
1104
1105         Enable the minimal simulator feature flag when appropriate
1106         https://bugs.webkit.org/show_bug.cgi?id=183807
1107
1108         Reviewed by Dan Bernstein.
1109
1110         * Configurations/FeatureDefines.xcconfig:
1111
1112 2018-03-20  Tim Horton  <timothy_horton@apple.com>
1113
1114         Add and adopt WK_PLATFORM_NAME and adjust default feature defines
1115         https://bugs.webkit.org/show_bug.cgi?id=183758
1116         <rdar://problem/38017644>
1117
1118         Reviewed by Dan Bernstein.
1119
1120         * Configurations/FeatureDefines.xcconfig:
1121
1122 2018-03-19  Jiewen Tan  <jiewen_tan@apple.com>
1123
1124         Unreviewed, another quick fix for r229699
1125
1126         Restricts ENABLE_WEB_AUTHN to only macOS and iOS.
1127
1128         * Configurations/FeatureDefines.xcconfig:
1129
1130 2018-03-19  Eric Carlson  <eric.carlson@apple.com>
1131
1132         [Extra zoom mode] Require fullscreen for video playback
1133         https://bugs.webkit.org/show_bug.cgi?id=183742
1134         <rdar://problem/38235862>
1135
1136         Reviewed by Jer Noble.
1137
1138         * pal/spi/cocoa/AVKitSPI.h:
1139
1140 2018-03-19  Jiewen Tan  <jiewen_tan@apple.com>
1141
1142         Unreviewed, a quick fix for r229699
1143
1144         * pal/spi/cocoa/DeviceIdentitySPI.h:
1145
1146 2018-03-17  Jiewen Tan  <jiewen_tan@apple.com>
1147
1148         [WebAuthN] Implement authenticatorMakeCredential
1149         https://bugs.webkit.org/show_bug.cgi?id=183527
1150         <rdar://problem/35275886>
1151
1152         Reviewed by Brent Fulgham.
1153
1154         * PAL.xcodeproj/project.pbxproj:
1155         * pal/spi/cocoa/DeviceIdentitySPI.h: Copied from Source/WebKit/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.h.
1156
1157 2018-03-14  Tim Horton  <timothy_horton@apple.com>
1158
1159         Fix the build after r229567
1160
1161         * Configurations/FeatureDefines.xcconfig:
1162
1163 2018-03-13  Dean Jackson  <dino@apple.com>
1164
1165         Fix some build errors and cleanup QuickLookSPI.h
1166         https://bugs.webkit.org/show_bug.cgi?id=183599
1167
1168         Reviewed by Ryan Haddad.
1169
1170         * pal/spi/ios/QuickLookSPI.h:
1171
1172 2018-03-12  Dean Jackson  <dino@apple.com>
1173
1174         Add a WKWebViewContentProvider for system previews
1175         https://bugs.webkit.org/show_bug.cgi?id=183582
1176         <rdar://problem/38393569>
1177
1178         Reviewed by Tim Horton.
1179
1180         Add some QuickLook SPI.
1181
1182         * pal/spi/ios/QuickLookSPI.h:
1183
1184 2018-03-12  Don Olmstead  <don.olmstead@sony.com>
1185
1186         [CMake][Win] Forwarding headers of WTF and PAL are copied twice in Visual Studio builds
1187         https://bugs.webkit.org/show_bug.cgi?id=183240
1188
1189         Reviewed by Alex Christensen.
1190
1191         * pal/CMakeLists.txt:
1192         * pal/PlatformAppleWin.cmake:
1193         * pal/PlatformGTK.cmake:
1194         * pal/PlatformMac.cmake:
1195         * pal/PlatformWPE.cmake:
1196         * pal/PlatformWinCairo.cmake:
1197
1198 2018-03-12  Tim Horton  <timothy_horton@apple.com>
1199
1200         Stop using SDK conditionals to control feature definitions
1201         https://bugs.webkit.org/show_bug.cgi?id=183430
1202         <rdar://problem/38251619>
1203
1204         Reviewed by Dan Bernstein.
1205
1206         * Configurations/FeatureDefines.xcconfig:
1207         * Configurations/WebKitTargetConditionals.xcconfig: Renamed.
1208
1209 2018-03-12  Yoav Weiss  <yoav@yoav.ws>
1210
1211         Runtime flag for link prefetch and remove link subresource.
1212         https://bugs.webkit.org/show_bug.cgi?id=183540
1213
1214         Reviewed by Chris Dumez.
1215
1216         Remove the LINK_PREFETCH build time flag.
1217
1218         * Configurations/FeatureDefines.xcconfig:
1219
1220 2018-03-12  Tim Horton  <timothy_horton@apple.com>
1221
1222         Use a different SPI header for some AudioToolbox enums
1223         https://bugs.webkit.org/show_bug.cgi?id=183574
1224         <rdar://problem/38385889>
1225
1226         Reviewed by Anders Carlsson.
1227
1228         * PAL.xcodeproj/project.pbxproj:
1229         * pal/spi/cocoa/AudioToolboxSPI.h: Added.
1230
1231 2018-03-07  Tim Horton  <timothy_horton@apple.com>
1232
1233         Sort and separate FeatureDefines.xcconfig
1234         https://bugs.webkit.org/show_bug.cgi?id=183427
1235
1236         Reviewed by Dan Bernstein.
1237
1238         * Configurations/FeatureDefines.xcconfig:
1239         Sort and split FeatureDefines into paragraphs
1240         (to make it easier to sort later).
1241
1242 2018-03-05  Yusuke Suzuki  <utatane.tea@gmail.com>
1243
1244         Fix std::make_unique / new[] using system malloc
1245         https://bugs.webkit.org/show_bug.cgi?id=182975
1246
1247         Reviewed by JF Bastien.
1248
1249         Use Vector instead.
1250
1251         * pal/win/LoggingWin.cpp:
1252         (PAL::logLevelString):
1253
1254 2018-03-04  Yusuke Suzuki  <utatane.tea@gmail.com>
1255
1256         [WTF] Move currentCPUTime and sleep(Seconds) to CPUTime.h and Seconds.h respectively
1257         https://bugs.webkit.org/show_bug.cgi?id=183312
1258
1259         Reviewed by Mark Lam.
1260
1261         Remove wtf/CurrentTime.h include pragma.
1262
1263         * pal/system/ClockGeneric.cpp:
1264
1265 2018-03-04  Tim Horton  <timothy_horton@apple.com>
1266
1267         Make !ENABLE(DATA_DETECTION) iOS build actually succeed
1268         https://bugs.webkit.org/show_bug.cgi?id=183283
1269         <rdar://problem/38062148>
1270
1271         Reviewed by Sam Weinig.
1272
1273         * Configurations/FeatureDefines.xcconfig:
1274
1275 2018-03-01  Yusuke Suzuki  <utatane.tea@gmail.com>
1276
1277         Remove monotonicallyIncreasingTime
1278         https://bugs.webkit.org/show_bug.cgi?id=182911
1279
1280         Reviewed by Michael Catanzaro.
1281
1282         * pal/system/ClockGeneric.cpp:
1283         (PAL::ClockGeneric::currentTime const):
1284         (PAL::ClockGeneric::now const):
1285         * pal/system/ClockGeneric.h:
1286
1287 2018-02-27  Tim Horton  <timothy_horton@apple.com>
1288
1289         Stop using deprecated CADisplay SPI
1290         https://bugs.webkit.org/show_bug.cgi?id=183150
1291         <rdar://problem/37918297>
1292
1293         Reviewed by Simon Fraser.
1294
1295         * pal/spi/cocoa/QuartzCoreSPI.h:
1296         Switch to the more modern way of getting the display name.
1297
1298 2018-02-27  Ryan Haddad  <ryanhaddad@apple.com>
1299
1300         Unreviewed, rolling out r229055.
1301
1302         Breaks internal builds.
1303
1304         Reverted changeset:
1305
1306         "Stop using deprecated CADisplay SPI"
1307         https://bugs.webkit.org/show_bug.cgi?id=183150
1308         https://trac.webkit.org/changeset/229055
1309
1310 2018-02-27  Tim Horton  <timothy_horton@apple.com>
1311
1312         Stop using deprecated CADisplay SPI
1313         https://bugs.webkit.org/show_bug.cgi?id=183150
1314         <rdar://problem/37918297>
1315
1316         Reviewed by Simon Fraser.
1317
1318         * pal/spi/cocoa/QuartzCoreSPI.h:
1319         Switch to the more modern way of getting the display name.
1320
1321 2018-02-20  Tim Horton  <timothy_horton@apple.com>
1322
1323         Introduce HAVE(IOSURFACE_ACCELERATOR)
1324         https://bugs.webkit.org/show_bug.cgi?id=182955
1325         <rdar://problem/37699510>
1326
1327         Reviewed by Sam Weinig.
1328
1329         * pal/spi/cg/CoreGraphicsSPI.h:
1330         * pal/spi/cocoa/IOSurfaceSPI.h:
1331         * pal/spi/cocoa/QuartzCoreSPI.h:
1332
1333 2018-02-15  Tim Horton  <timothy_horton@apple.com>
1334
1335         Stop using EXCLUDED_SOURCE_FILE_NAMES for actual source files in WebCore
1336         https://bugs.webkit.org/show_bug.cgi?id=182822
1337
1338         Reviewed by Dan Bernstein.
1339
1340         * Configurations/PAL.xcconfig:
1341         * pal/system/Sound.cpp:
1342         * pal/system/mac/SoundMac.mm:
1343         * pal/text/KillRing.cpp:
1344         * pal/text/mac/KillRingMac.mm:
1345
1346 2018-02-09  Don Olmstead  <don.olmstead@sony.com>
1347
1348         [CMake] Make PAL headers copies
1349         https://bugs.webkit.org/show_bug.cgi?id=182645
1350
1351         Reviewed by Alex Christensen.
1352
1353         * pal/CMakeLists.txt:
1354         * pal/PlatformAppleWin.cmake:
1355         * pal/PlatformGTK.cmake:
1356         * pal/PlatformMac.cmake:
1357         * pal/PlatformWPE.cmake:
1358         * pal/PlatformWin.cmake:
1359         * pal/PlatformWinCairo.cmake:
1360
1361 2018-01-30  Myles C. Maxfield  <mmaxfield@apple.com>
1362
1363         A disallowed user-installed font may be used if its PostScript name is specified
1364         https://bugs.webkit.org/show_bug.cgi?id=180951
1365
1366         Reviewed by Brent Fulgham.
1367
1368         * pal/spi/cocoa/CoreTextSPI.h:
1369
1370 2018-01-29  Jiewen Tan  <jiewen_tan@apple.com>
1371
1372         [WebAuthN] Add a compile-time feature flag
1373         https://bugs.webkit.org/show_bug.cgi?id=182211
1374         <rdar://problem/36936365>
1375
1376         Reviewed by Brent Fulgham.
1377
1378         * Configurations/FeatureDefines.xcconfig:
1379
1380 2018-01-27  Dan Bernstein  <mitz@apple.com>
1381
1382         HaveInternalSDK includes should be "#include?"
1383         https://bugs.webkit.org/show_bug.cgi?id=179670
1384
1385         * Configurations/Base.xcconfig:
1386
1387 2018-01-24  Alex Christensen  <achristensen@webkit.org>
1388
1389         Fix Windows build after r227552
1390         https://bugs.webkit.org/show_bug.cgi?id=182026
1391
1392         * pal/spi/cg/CoreGraphicsSPI.h:
1393
1394 2018-01-24  Alex Christensen  <achristensen@webkit.org>
1395
1396         Remove pre-Sierra-OS-specific code in WebCore
1397         https://bugs.webkit.org/show_bug.cgi?id=182026
1398
1399         Reviewed by Tim Horton.
1400
1401         * pal/spi/cf/CFNetworkSPI.h:
1402         * pal/spi/cg/CoreGraphicsSPI.h:
1403         * pal/spi/cocoa/DataDetectorsCoreSPI.h:
1404         * pal/spi/cocoa/QuartzCoreSPI.h:
1405         * pal/spi/mac/AVFoundationSPI.h:
1406         * pal/spi/mac/NSMenuSPI.h:
1407         * pal/spi/mac/NSScrollingMomentumCalculatorSPI.h:
1408         * pal/spi/mac/PIPSPI.h:
1409
1410 2018-01-23  Dean Jackson  <dino@apple.com>
1411
1412         REGRESSION (r222961?): sRGB images shown in WebGL are over-saturated on a wide gamut monitor
1413         https://bugs.webkit.org/show_bug.cgi?id=182033
1414         <rdar://problem/36377780>
1415
1416         Reviewed by Antoine Quint.
1417
1418         Expose an IOSurface colorspace property name, and a function to serialize a CGColorSpace.
1419
1420         * pal/spi/cg/CoreGraphicsSPI.h:
1421         * pal/spi/cocoa/IOSurfaceSPI.h:
1422
1423 2018-01-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1424
1425         [WPE][GTK] Sleep inhibitors do not work under Flatpak
1426         https://bugs.webkit.org/show_bug.cgi?id=180812
1427
1428         Reviewed by Carlos Garcia Campos.
1429
1430         Ensure SleepDisablerGLib works even when running inside a Flatpak sandbox by using the
1431         Freedesktop inhibit portal D-Bus API.
1432
1433         Unfortunately this has to be tested manually.
1434
1435         * pal/system/glib/SleepDisablerGLib.cpp:
1436         (PAL::SleepDisablerGLib::SleepDisablerGLib):
1437         (PAL::SleepDisablerGLib::~SleepDisablerGLib):
1438         (PAL::SleepDisablerGLib::acquireInhibitor):
1439         (PAL::SleepDisablerGLib::acquireInhibitorViaScreenSaverProxy):
1440         (PAL::SleepDisablerGLib::acquireInhibitorViaInhibitPortalProxy):
1441         (PAL::SleepDisablerGLib::releaseInhibitor):
1442         (PAL::SleepDisablerGLib::releaseInhibitorViaScreenSaverProxy):
1443         (PAL::SleepDisablerGLib::releaseInhibitorViaInhibitPortalProxy):
1444
1445 2018-01-22  Myles C. Maxfield  <mmaxfield@apple.com>
1446
1447         [Cocoa] Support font collections
1448         https://bugs.webkit.org/show_bug.cgi?id=181826
1449         <rdar://problem/36455137>
1450
1451         Reviewed by Dean Jackson.
1452
1453         * pal/spi/cocoa/CoreTextSPI.h:
1454
1455 2018-01-21  Wenson Hsieh  <wenson_hsieh@apple.com>
1456
1457         Add a new feature flag for EXTRA_ZOOM_MODE and reintroduce AdditionalFeatureDefines.h
1458         https://bugs.webkit.org/show_bug.cgi?id=181918
1459
1460         Reviewed by Tim Horton.
1461
1462         Add EXTRA_ZOOM_MODE to FeatureDefines.xconfig (off by default).
1463
1464         * Configurations/FeatureDefines.xcconfig:
1465
1466 2018-01-18  Dan Bernstein  <mitz@apple.com>
1467
1468         [Xcode] Streamline and future-proof target-macOS-version-dependent build setting definitions
1469         https://bugs.webkit.org/show_bug.cgi?id=181803
1470
1471         Reviewed by Tim Horton.
1472
1473         * Configurations/Base.xcconfig: Updated.
1474         * Configurations/DebugRelease.xcconfig: Ditto.
1475         * Configurations/FeatureDefines.xcconfig: Adopted macOSTargetConditionals helpers.
1476         * Configurations/Version.xcconfig: Updated.
1477         * Configurations/macOSTargetConditionals.xcconfig: Added. Defines helper build settings
1478           useful for defining settings that depend on the target macOS version.
1479
1480 2018-01-17  John Wilander  <wilander@apple.com>
1481
1482         Resource Load Statistics: Block cookies for prevalent resources without user interaction
1483         https://bugs.webkit.org/show_bug.cgi?id=177394
1484         <rdar://problem/34613960>
1485
1486         Reviewed by Alex Christensen.
1487
1488         * pal/spi/cf/CFNetworkSPI.h:
1489             Declaration of _initWithIdentifier() on NSHTTPCookieStorage.
1490
1491 2018-01-17  Matt Lewis  <jlewis3@apple.com>
1492
1493         Unreviewed, rolling out r227098.
1494
1495         This broke the build.
1496
1497         Reverted changeset:
1498
1499         "Remove linked-on test for Snow Leopard"
1500         https://bugs.webkit.org/show_bug.cgi?id=181770
1501         https://trac.webkit.org/changeset/227098
1502
1503 2018-01-17  Dean Jackson  <dino@apple.com>
1504
1505         Remove linked-on test for Snow Leopard
1506         https://bugs.webkit.org/show_bug.cgi?id=181770
1507
1508         Reviewed by Eric Carlson.
1509
1510         No need for _CFExecutableLinkedOnOrAfter any more.
1511
1512         * pal/spi/cf/CFUtilitiesSPI.h:
1513
1514 2018-01-17  Matt Lewis  <jlewis3@apple.com>
1515
1516         Unreviewed, rolling out r227076.
1517
1518         This breaks internal builds
1519
1520         Reverted changeset:
1521
1522         "Resource Load Statistics: Block cookies for prevalent
1523         resources without user interaction"
1524         https://bugs.webkit.org/show_bug.cgi?id=177394
1525         https://trac.webkit.org/changeset/227076
1526
1527 2018-01-17  John Wilander  <wilander@apple.com>
1528
1529         Resource Load Statistics: Block cookies for prevalent resources without user interaction
1530         https://bugs.webkit.org/show_bug.cgi?id=177394
1531         <rdar://problem/34613960>
1532
1533         Reviewed by Alex Christensen.
1534
1535         * pal/spi/cf/CFNetworkSPI.h:
1536             Declaration of _initWithIdentifier() on NSHTTPCookieStorage.
1537
1538 2018-01-16  Michael Catanzaro  <mcatanzaro@igalia.com>
1539
1540         PAL should link to JavaScriptCore rather than WTF
1541         https://bugs.webkit.org/show_bug.cgi?id=181683
1542
1543         Reviewed by Konstantin Tokarev.
1544
1545         Currently we are accidentally linking WTF into both libjavascriptcoregtk and libwebkit2gtk,
1546         which could in theory cause problems similar to bug #179914. There are only two possible
1547         solutions:
1548
1549          - Ensure WTF always built as a shared library if JavaScriptCore is built as a shared
1550            library
1551          - Change PAL to link to JavaScriptCore instead of WTF
1552
1553         The problem here is caused by layer hopping. It can never be a problem if each library only
1554         links to the next lowest-layered library.
1555
1556         The downside is this allows PAL to use JavaScriptCore symbols, which is not super desirable.
1557         I came up with a hack yesterday for PAL to link to WTF usually, but link to JavaScriptCore
1558         instead if ${JavaScriptCore_LIBRARY_TYPE} MATCHES "SHARED" AND ${WTF_LIBRARY_TYPE} MATCHES
1559         "STATIC". But that is getting too complex and introduces more possibility for platform-
1560         dependent build failures. Better to just accept that PAL will depend on JavaScriptCore.
1561
1562         Note: I'm not brave enough to update the XCode build. We can use that to enforce that no
1563         JavaScriptCore symbols actually get used, I guess....
1564
1565         * pal/CMakeLists.txt:
1566
1567 2018-01-15  Michael Catanzaro  <mcatanzaro@igalia.com>
1568
1569         Improve use of ExportMacros
1570         https://bugs.webkit.org/show_bug.cgi?id=181652
1571
1572         Reviewed by Konstantin Tokarev.
1573
1574         Remove a comment.
1575
1576         * pal/ExportMacros.h:
1577
1578 2018-01-11  Keith Miller  <keith_miller@apple.com>
1579
1580         Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
1581         https://bugs.webkit.org/show_bug.cgi?id=181573
1582
1583         Reviewed by Simon Fraser.
1584
1585         * Configurations/FeatureDefines.xcconfig:
1586
1587 2018-01-10  Per Arne Vollan  <pvollan@apple.com>
1588
1589         VoiceOver does not work when the WebContent process is using NSRunLoop.
1590         https://bugs.webkit.org/show_bug.cgi?id=181331
1591         <rdar://problem/36408004>
1592
1593         Reviewed by Brent Fulgham.
1594
1595         Add NSApplication class method to initialize accessibility.
1596
1597         * pal/spi/mac/NSApplicationSPI.h:
1598
1599 2018-01-05  Eric Carlson  <eric.carlson@apple.com>
1600
1601         [MediaStream] Add Mac screen capture source
1602         https://bugs.webkit.org/show_bug.cgi?id=181333
1603         <rdar://problem/36323219>
1604
1605         Reviewed by Dean Jackson.
1606
1607         * pal/spi/cg/CoreGraphicsSPI.h: Declare some CGDisplayMode SPI.
1608
1609 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
1610
1611         Replace hard-coded paths in shebangs with #!/usr/bin/env
1612         https://bugs.webkit.org/show_bug.cgi?id=181040
1613
1614         Reviewed by Alex Christensen.
1615
1616         * AVFoundationSupport.py:
1617
1618 2018-01-03  Per Arne Vollan  <pvollan@apple.com>
1619
1620         [Win] WebKitLegacy compile error.
1621         https://bugs.webkit.org/show_bug.cgi?id=181257
1622         rdar://problem/36273774
1623
1624         Reviewed by Alex Christensen.
1625
1626         The include file 'pal/text/UnencodableHandling.h' is not found. Add folder to list of forwarding
1627         headers directories.
1628  
1629         * pal/PlatformWin.cmake:
1630
1631 2018-01-02  Brent Fulgham  <bfulgham@apple.com>
1632
1633         [macOS, iOS] Adopt new secure coding APIs in WebKit
1634         https://bugs.webkit.org/show_bug.cgi?id=181085
1635         <rdar://problem/34837397>
1636
1637         Reviewed by Tim Horton.
1638
1639         Add a new helper function to allow WebKit code to use NSSecureCoding in more
1640         places when the underlying operating system supports it.
1641
1642         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
1643         (decodeObjectOfClassForKeyFromCoder): New wrapper method.
1644
1645 2017-12-21  Brent Fulgham  <bfulgham@apple.com>
1646
1647         Unreviewed test fix after r226224.
1648         <rdar://problem/36185975>
1649
1650         Pasteboard data is more than a dictionary. We have to whitelist NSString
1651         and NSArray as well. Change method name to reflect that we take a whitelist
1652         of classes that are allowed to be unarchived in the call.
1653         
1654         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
1655         (unarchivedObjectOfClassesFromData):
1656         (unarchivedObjectOfClassFromData): Deleted.
1657
1658 2017-12-21  Jeremy Jones  <jeremyj@apple.com>
1659
1660         Update FULLSCREEN_API feature defines.
1661         https://bugs.webkit.org/show_bug.cgi?id=181015
1662
1663         Reviewed by Tim Horton.
1664
1665         Change enabled iphone sdk for FULLSCREEN_API.
1666
1667         * Configurations/FeatureDefines.xcconfig:
1668
1669 2017-12-21  Brent Fulgham  <bfulgham@apple.com>
1670
1671         Adopt new secure coding APIs in WebCore
1672         https://bugs.webkit.org/show_bug.cgi?id=178484
1673         <rdar://problem/34837193>
1674
1675         Reviewed by Eric Carlson.
1676
1677         Due to <rdar://problem/31376830 we cannot used SecureCoding on NSAttributedString
1678         in some cases. Add a macro for OS revisions that do not support secure coding,
1679         and use the standard unarchive operation for NSAttributedString in those cases.
1680
1681         Rename 'insecurelyUnarchiveObjectOfClassFromData' to 'insecurelyUnarchiveObjectFromData',
1682         and move it earlier in the file so that it can be reused in 'unarchivedObjectOfClassFromData'.
1683
1684         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
1685         (insecurelyUnarchiveObjectFromData): Renamed from insecurelyUnarchiveObjectOfClassFromData.
1686         (unarchivedObjectOfClassFromData): Renamed from 'securelyUnarchiveObjectOfClassFromData' and
1687         modified to use 'insecurelyUnarchiveObjectFromData'.
1688         (securelyUnarchiveObjectOfClassFromData): Deleted.
1689         (insecurelyUnarchiveObjectOfClassFromData): Deleted.
1690
1691 2017-12-21  Jeremy Jones  <jeremyj@apple.com>
1692
1693         Element fullscreen interface should display the location
1694         https://bugs.webkit.org/show_bug.cgi?id=181006
1695         rdar://problem/36143176
1696
1697         Reviewed by Simon Fraser.
1698
1699         Add iOS availability check.
1700
1701         * pal/spi/cocoa/LinkPresentationSPI.h:
1702
1703 2017-12-20  Daniel Bates  <dabates@apple.com>
1704
1705         Remove Alternative Presentation Button
1706         https://bugs.webkit.org/show_bug.cgi?id=180500
1707         <rdar://problem/35891047>
1708
1709         Reviewed by Simon Fraser.
1710
1711         We no longer need the alternative presentation button.
1712
1713         * Configurations/FeatureDefines.xcconfig:
1714
1715 2017-12-20  Andy Estes  <aestes@apple.com>
1716
1717         [Apple Pay] Tell PassKit whether Apple Pay JS or Payment Request was used to start an Apple Pay session
1718         https://bugs.webkit.org/show_bug.cgi?id=181001
1719         <rdar://problem/35479106>
1720
1721         Reviewed by Tim Horton.
1722
1723         * pal/spi/cocoa/PassKitSPI.h:
1724
1725 2017-12-19  Andy Estes  <aestes@apple.com>
1726
1727         [Apple Pay] Stop maintaining a list of payment networks
1728         https://bugs.webkit.org/show_bug.cgi?id=180965
1729         <rdar://problem/34696560>
1730
1731         Reviewed by Tim Horton.
1732
1733         * pal/spi/cocoa/PassKitSPI.h: Defined +[PKPaymentRequest availableNetworks].
1734
1735 2017-12-14  David Kilzer  <ddkilzer@apple.com>
1736
1737         Fix 32-bit build: Enable -Wstrict-prototypes for WebKit
1738         <https://webkit.org/b/180757>
1739         <rdar://problem/36024132>
1740
1741         * pal/spi/mac/QuickDrawSPI.h:
1742         (NewRgn): Add 'void' to C function declaration.
1743         (PenNormal): Ditto.
1744
1745 2017-12-14  David Kilzer  <ddkilzer@apple.com>
1746
1747         Enable -Wstrict-prototypes for WebKit
1748         <https://webkit.org/b/180757>
1749         <rdar://problem/36024132>
1750
1751         Rubber-stamped by Joseph Pecoraro.
1752
1753         * Configurations/Base.xcconfig:
1754         (CLANG_WARN_STRICT_PROTOTYPES): Add. Set to YES.
1755
1756 2017-12-11  Joseph Pecoraro  <pecoraro@apple.com>
1757
1758         Unreviewed build fix after r225766.
1759
1760         * pal/spi/mac/AVFoundationSPI.h:
1761         Conform AVStreamDataParser to the AVContentKeyRecipient protocol if available.
1762
1763 2017-12-11  David Quesada  <david_quesada@apple.com>
1764
1765         Turn on ENABLE_APPLICATION_MANIFEST
1766         https://bugs.webkit.org/show_bug.cgi?id=180562
1767         rdar://problem/35924737
1768
1769         Reviewed by Geoffrey Garen.
1770
1771         * Configurations/FeatureDefines.xcconfig:
1772
1773 2017-12-08  Konstantin Tokarev  <annulen@yandex.ru>
1774
1775         [python] Replace print operator with print() function for python3 compatibility
1776         https://bugs.webkit.org/show_bug.cgi?id=180592
1777
1778         Reviewed by Michael Catanzaro.
1779
1780         * AVFoundationSupport.py:
1781
1782 2017-12-08  Eric Carlson  <eric.carlson@apple.com>
1783
1784         Move Logger from PAL to WTF so it can be used outside of WebCore
1785         https://bugs.webkit.org/show_bug.cgi?id=180561
1786
1787         Reviewed by Alex Christensen.
1788
1789         * PAL.xcodeproj/project.pbxproj:
1790         * pal/Logger.h: Removed.
1791         * pal/LoggerHelper.h: Removed.
1792
1793 2017-12-07  Myles C. Maxfield  <mmaxfield@apple.com>
1794
1795         [Cocoa] Add SPI to disallow user-installed fonts
1796         https://bugs.webkit.org/show_bug.cgi?id=180062
1797         <rdar://problem/35042408>
1798
1799         Reviewed by Simon Fraser.
1800
1801         * pal/spi/cocoa/CoreTextSPI.h:
1802
1803 2017-12-02  Darin Adler  <darin@apple.com>
1804
1805         Modernize some aspects of text codecs, eliminate WebKit use of strcasecmp
1806         https://bugs.webkit.org/show_bug.cgi?id=180009
1807
1808         Reviewed by Alex Christensen.
1809
1810         * PAL.xcodeproj/project.pbxproj: Added UnencodableHandling.h.
1811         * pal/text/UnencodableHandling.h: Moved the UnencodableHandling enumeration
1812         here from TextCodec.h and changed it to an enum class.
1813
1814 2017-12-04  David Quesada  <david_quesada@apple.com>
1815
1816         Add a class for parsing application manifests
1817         https://bugs.webkit.org/show_bug.cgi?id=177973
1818         rdar://problem/34747949
1819
1820         Reviewed by Geoffrey Garen.
1821
1822         * Configurations/FeatureDefines.xcconfig: Add ENABLE_APPLICATION_MANIFEST feature flag.
1823
1824 2017-12-04  Zan Dobersek  <zdobersek@igalia.com>
1825
1826         Unreviewed WPE build fix.
1827
1828         * pal/PlatformWPE.cmake: Use GLIB_INCLUDE_DIRS for building the PAL library.
1829
1830 2017-12-04  Michael Catanzaro  <mcatanzaro@igalia.com>
1831
1832         [WPE][GTK] Implement PAL::SleepDisabler
1833         https://bugs.webkit.org/show_bug.cgi?id=178485
1834
1835         Reviewed by Carlos Garcia Campos.
1836
1837         * pal/PlatformGTK.cmake:
1838         * pal/PlatformWPE.cmake:
1839         * pal/system/SleepDisabler.cpp:
1840         * pal/system/glib/SleepDisablerGLib.cpp: Added.
1841         (PAL::SleepDisabler::create):
1842         (PAL::SleepDisablerGLib::SleepDisablerGLib):
1843         (PAL::SleepDisablerGLib::~SleepDisablerGLib):
1844         (PAL::SleepDisablerGLib::acquireInhibitor):
1845         (PAL::SleepDisablerGLib::releaseInhibitor):
1846         * pal/system/glib/SleepDisablerGLib.h: Added.
1847
1848 2017-11-30  Stephan Szabo  <stephan.szabo@sony.com>
1849
1850         Make LegacyCustomProtocolManager optional for network process
1851         https://bugs.webkit.org/show_bug.cgi?id=176230
1852
1853         Reviewed by Alex Christensen.
1854
1855         * Configurations/FeatureDefines.xcconfig:
1856
1857 2017-11-29  Brent Fulgham  <bfulgham@apple.com>
1858
1859         Part 2: Adopt updated NSKeyed[Un]Archiver API when available
1860         https://bugs.webkit.org/show_bug.cgi?id=180127
1861         <rdar://problem/35710738>
1862
1863         Reviewed by Simon Fraser.
1864
1865         The API that accepts a user-allocated NSMutableData is deprecated. Switch (for macOS 10.12 and newer)
1866         to the modern API. Use the original API for macOS builds prior to 10.12.
1867
1868         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
1869         (secureArchiver): Added.
1870         (secureArchiverFromMutableData): Deleted.
1871
1872 2017-11-29  Alex Christensen  <achristensen@webkit.org>
1873
1874         Fix Mac CMake build.
1875
1876         * pal/PlatformMac.cmake:
1877
1878 2017-11-28  Brent Fulgham  <bfulgham@apple.com>
1879
1880         Adopt updated NSKeyed[Un]Archiver API when available
1881         https://bugs.webkit.org/show_bug.cgi?id=180127
1882         <rdar://problem/35710738>
1883
1884         Reviewed by Alex Christensen.
1885
1886         Add new convenience methods (and SPI headers) so we can adopt new NSKeyedArchiver
1887         API that uses secure coding by default.
1888
1889         * PAL.xcodeproj/project.pbxproj:
1890         * pal/spi/cocoa/NSKeyedArchiverSPI.h: Added.
1891         (securelyArchivedDataWithRootObject): New convenience method.
1892         (securelyUnarchiveRootObjectOfClassFromData): Ditto.
1893         (secureArchiverFromMutableData): Ditto.
1894         (secureUnarchiverFromData): Ditto.
1895
1896 2017-11-28  Tim Horton  <timothy_horton@apple.com>
1897
1898         REGRESSION (High Sierra): Layout Test fast/multicol/newmulticol/spanner2.html is a flaky image failure on WK1
1899         https://bugs.webkit.org/show_bug.cgi?id=177826
1900         <rdar://problem/34876498>
1901
1902         Reviewed by Alexey Proskuryakov.
1903
1904         * pal/spi/cg/CoreGraphicsSPI.h:
1905
1906 2017-11-27  Tim Horton  <timothy_horton@apple.com>
1907
1908         One too many zeroes in macOS version number in FeatureDefines
1909         https://bugs.webkit.org/show_bug.cgi?id=180011
1910
1911         Reviewed by Dan Bernstein.
1912
1913         * Configurations/FeatureDefines.xcconfig:
1914
1915 2017-11-19  Tim Horton  <timothy_horton@apple.com>
1916
1917         Remove unused TOUCH_ICON_LOADING feature flag
1918         https://bugs.webkit.org/show_bug.cgi?id=179873
1919
1920         Reviewed by Simon Fraser.
1921
1922         * Configurations/FeatureDefines.xcconfig:
1923
1924 2017-11-19  Tim Horton  <timothy_horton@apple.com>
1925
1926         Remove unused LEGACY_VENDOR_PREFIXES feature flag
1927         https://bugs.webkit.org/show_bug.cgi?id=179872
1928
1929         Reviewed by Darin Adler.
1930
1931         * Configurations/FeatureDefines.xcconfig:
1932
1933 2017-11-16  Daniel Bates  <dabates@apple.com>
1934
1935         Add feature define for alternative presentation button element
1936         https://bugs.webkit.org/show_bug.cgi?id=179692
1937         Part of <rdar://problem/34917108>
1938
1939         Reviewed by Andy Estes.
1940
1941         Only enabled on Cocoa platforms by default.
1942
1943         * Configurations/FeatureDefines.xcconfig:
1944
1945 2017-11-14  Daniel Bates  <dabates@apple.com>
1946
1947         Update comment in FeatureDefines.xcconfig to reflect location of Visual Studio property files
1948         for feature defines
1949
1950         Following r195498 and r201917 the Visual Studio property files for feature defines have
1951         moved from directory WebKitLibraries/win/tools/vsprops to directory Source/cmake/tools/vsprops.
1952         Update the comment in FeatureDefines.xcconfig to reflect the new location and names of these
1953         files.
1954
1955         * Configurations/FeatureDefines.xcconfig:
1956
1957 2017-11-08  Keith Miller  <keith_miller@apple.com>
1958
1959         Async iteration should only fetch the next method once and add feature flag
1960         https://bugs.webkit.org/show_bug.cgi?id=179451
1961
1962         Reviewed by Geoffrey Garen.
1963
1964         Add feature flag for Async iteration.
1965
1966         * Configurations/FeatureDefines.xcconfig:
1967
1968 2017-11-10  John Wilander  <wilander@apple.com>
1969
1970         Ignore HSTS for partitioned, cross-origin subresource requests
1971         https://bugs.webkit.org/show_bug.cgi?id=178993
1972         <rdar://problem/34962462>
1973
1974         Reviewed by Brent Fulgham.
1975
1976         * pal/spi/cf/CFNetworkSPI.h:
1977             Added
1978             - (BOOL)_schemeWasUpgradedDueToDynamicHSTS
1979             - (BOOL)_preventHSTSStorage
1980             - (BOOL)_ignoreHSTS
1981             - (void)_setPreventHSTSStorage:(BOOL)preventHSTSStorage
1982             - (void)_setIgnoreHSTS:(BOOL)ignoreHSTS
1983
1984
1985 2017-11-09  Dan Bernstein  <mitz@apple.com>
1986
1987         [Xcode] An extra copy of FileSizeFormatter.h is installed in /usr/local/include
1988         https://bugs.webkit.org/show_bug.cgi?id=179525
1989
1990         Reviewed by Wenson Hsieh.
1991
1992         * PAL.xcodeproj/project.pbxproj: Demoted FileSizeFormatter.h to a project header in the PAL target. The
1993           Copy PAL Headers target takes care of installing this header under /usr/local/include/pal.
1994
1995 2017-11-09  Chris Dumez  <cdumez@apple.com>
1996
1997         Unreviewed, rolling out r224661.
1998
1999         Broke build on several internal Mac/iOS bots
2000
2001         Reverted changeset:
2002
2003         "Ignore HSTS for partitioned, cross-origin subresource
2004         requests"
2005         https://bugs.webkit.org/show_bug.cgi?id=178993
2006         https://trac.webkit.org/changeset/224661
2007
2008 2017-11-09  John Wilander  <wilander@apple.com>
2009
2010         Ignore HSTS for partitioned, cross-origin subresource requests
2011         https://bugs.webkit.org/show_bug.cgi?id=178993
2012         <rdar://problem/34962462>
2013
2014         Reviewed by Brent Fulgham.
2015
2016         * pal/spi/cf/CFNetworkSPI.h:
2017             Added
2018             - (BOOL)_schemeWasUpgradedDueToDynamicHSTS
2019             - (BOOL)_preventHSTSStorage
2020             - (BOOL)_ignoreHSTS
2021             - (void)_setPreventHSTSStorage:(BOOL)preventHSTSStorage
2022             - (void)_setIgnoreHSTS:(BOOL)ignoreHSTS
2023
2024
2025 2017-11-08  Jeremy Jones  <jeremyj@apple.com>
2026
2027         HTMLMediaElement should not use element fullscreen on iOS
2028         https://bugs.webkit.org/show_bug.cgi?id=179418
2029         rdar://problem/35409277
2030
2031         Reviewed by Eric Carlson.
2032
2033         Add ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN to determine if HTMLMediaElement should use element full screen or not.
2034
2035         * Configurations/FeatureDefines.xcconfig:
2036
2037 2017-11-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
2038
2039         [CG] Adopt CGContextDrawPathDirect()
2040         https://bugs.webkit.org/show_bug.cgi?id=179339
2041         <rdar://problem/26283575>
2042
2043         Reviewed by Simon Fraser.
2044
2045         Add CGContextDrawPathDirect() as a new CoreGraphics SPI.
2046
2047         * pal/spi/cg/CoreGraphicsSPI.h:
2048
2049 2017-11-02  Ryan Haddad  <ryanhaddad@apple.com>
2050
2051         Unreviewed, rolling out r224353.
2052
2053         Breaks internal builds.
2054
2055         Reverted changeset:
2056
2057         "Ignore HSTS for partitioned, cross-origin subresource
2058         requests"
2059         https://bugs.webkit.org/show_bug.cgi?id=178993
2060         https://trac.webkit.org/changeset/224353
2061
2062 2017-11-02  John Wilander  <wilander@apple.com>
2063
2064         Ignore HSTS for partitioned, cross-origin subresource requests
2065         https://bugs.webkit.org/show_bug.cgi?id=178993
2066         <rdar://problem/34962462>
2067
2068         Reviewed by Brent Fulgham and Alex Christensen.
2069
2070         * pal/spi/cf/CFNetworkSPI.h:
2071             Added
2072             - (BOOL)_schemeWasUpgradedDueToDynamicHSTS
2073             - (BOOL)_preventHSTSStorage
2074             - (BOOL)_ignoreHSTS
2075             - (void)_setPreventHSTSStorage:(BOOL)preventHSTSStorage
2076             - (void)_setIgnoreHSTS:(BOOL)ignoreHSTS
2077
2078 2017-11-02  Frederic Wang  <fwang@igalia.com>
2079
2080         Add references to bug 179167 in FIXME comments
2081         https://bugs.webkit.org/show_bug.cgi?id=179168
2082
2083         Reviewed by Daniel Bates.
2084
2085         * Configurations/FeatureDefines.xcconfig:
2086
2087 2017-11-01  Jeremy Jones  <jeremyj@apple.com>
2088
2089         Implement WKFullscreenWindowController for iOS.
2090         https://bugs.webkit.org/show_bug.cgi?id=178924
2091         rdar://problem/34697120
2092
2093         Reviewed by Simon Fraser.
2094
2095         Enable ENABLE_FULLSCREEN_API for iOS;
2096
2097         * Configurations/FeatureDefines.xcconfig:
2098
2099 2017-11-01  Daniel Bates  <dabates@apple.com>
2100
2101         XMLHttpRequest should not sniff content encoding
2102         https://bugs.webkit.org/show_bug.cgi?id=175597
2103         <rdar://problem/34912624>
2104
2105         Reviewed by Alex Christensen.
2106
2107         Forward declare CFNetwork SPI.
2108
2109         * pal/spi/cf/CFNetworkSPI.h:
2110
2111 2017-10-31  Tim Horton  <timothy_horton@apple.com>
2112
2113         Clean up some drag and drop feature flags
2114         https://bugs.webkit.org/show_bug.cgi?id=179082
2115
2116         Reviewed by Simon Fraser.
2117
2118         * Configurations/FeatureDefines.xcconfig:
2119
2120 2017-10-31  Tim Horton  <timothy_horton@apple.com>
2121
2122         Fix up some content filtering feature flags
2123         https://bugs.webkit.org/show_bug.cgi?id=179079
2124
2125         Reviewed by Simon Fraser.
2126
2127         * Configurations/FeatureDefines.xcconfig:
2128
2129 2017-10-31  Wenson Hsieh  <wenson_hsieh@apple.com>
2130
2131         [Attachment Support] Implement WKWebView SPI for inserting attachment elements
2132         https://bugs.webkit.org/show_bug.cgi?id=179013
2133         <rdar://problem/35249668>
2134
2135         Reviewed by Tim Horton.
2136
2137         Add a PAL library function to convert a file size to a human-readable string. On Cocoa platforms, this is a
2138         wrapper around NSLocalizedFileSizeDescription; otherwise, we fall back to a naive platform-agnostic
2139         implementation in FileSizeFormatter.cpp.
2140
2141         * PAL.xcodeproj/project.pbxproj:
2142         * pal/CMakeLists.txt:
2143         * pal/FileSizeFormatter.cpp: Added.
2144         (fileSizeDescription):
2145         * pal/FileSizeFormatter.h: Added.
2146         * pal/cocoa/FileSizeFormatterCocoa.mm: Added.
2147         (fileSizeDescription):
2148         * pal/spi/cocoa/NSFileSizeFormatterSPI.h: Added.
2149
2150 2017-10-27  Keith Miller  <keith_miller@apple.com>
2151
2152         Move iOS specific sources to unified sources
2153         https://bugs.webkit.org/show_bug.cgi?id=178915
2154
2155         Rubber-stamped by Tim Horton.
2156
2157         * pal/spi/cocoa/QuartzCoreSPI.h: Add missing pragma once.
2158
2159 2017-10-26  Ryan Haddad  <ryanhaddad@apple.com>
2160
2161         Unreviewed, rolling out r223908.
2162
2163         Causes LayoutTest crashes with newer SDKs.
2164
2165         Reverted changeset:
2166
2167         "Adopt new secure coding APIs"
2168         https://bugs.webkit.org/show_bug.cgi?id=178484
2169         https://trac.webkit.org/changeset/223908
2170
2171 2017-10-24  Eric Carlson  <eric.carlson@apple.com>
2172
2173         Web Inspector: Enable WebKit logging configuration and display
2174         https://bugs.webkit.org/show_bug.cgi?id=177027
2175         <rdar://problem/33964767>
2176
2177         Reviewed by Joseph Pecoraro.
2178
2179         * pal/Logger.h:
2180         (PAL::Logger::willLog const): Always return true for Always and Error so those messages are
2181             always logged to the system.
2182         (PAL::Logger::log): Always log Always and Error to the system, but pay strict attention to level
2183             and channel state for logging to observers so logging only shows up in the inspector when
2184             explicitly enabled by the user. 
2185
2186 2017-10-24  Brent Fulgham  <bfulgham@apple.com>
2187
2188         Adopt new secure coding APIs
2189         https://bugs.webkit.org/show_bug.cgi?id=178484
2190         <rdar://problem/34837193>
2191
2192         Reviewed by Tim Horton.
2193
2194         Add new convenience methods (and SPI headers) so we can adopt new NSKeyedArchiver
2195         API that uses secure coding by default.
2196
2197         * PAL.xcodeproj/project.pbxproj:
2198         * pal/spi/cocoa/NSKeyedArchiverSPI.h: Added.
2199         (securelyArchivedDataWithRootObject): New convenience method.
2200         (securelyUnarchiveRootObjectOfClassFromData): Ditto.
2201         (secureArchiverFromMutableData): Ditto.
2202         (secureUnarchiverFromData): Ditto.
2203
2204 2017-10-24  Matt Lewis  <jlewis3@apple.com>
2205
2206         Unreviewed, rolling out r223889.
2207
2208         This caused multiple crashes on all platforms
2209
2210         Reverted changeset:
2211
2212         "Adopt new secure coding APIs"
2213         https://bugs.webkit.org/show_bug.cgi?id=178484
2214         https://trac.webkit.org/changeset/223889
2215
2216 2017-10-24  Brent Fulgham  <bfulgham@apple.com>
2217
2218         Adopt new secure coding APIs
2219         https://bugs.webkit.org/show_bug.cgi?id=178484
2220         <rdar://problem/34837193>
2221
2222         Reviewed by Tim Horton.
2223
2224         Add new convenience methods (and SPI headers) so we can adopt new NSKeyedArchiver
2225         API that uses secure coding by default.
2226
2227         * PAL.xcodeproj/project.pbxproj:
2228         * pal/spi/cocoa/NSKeyedArchiverSPI.h: Added.
2229         (securelyArchivedDataWithRootObject): New convenience method.
2230         (securelyUnarchiveRootObjectOfClassFromData): Ditto.
2231         (secureArchiverFromMutableData): Ditto.
2232         (secureUnarchiverFromData): Ditto.
2233
2234 2017-10-20  Alex Christensen  <achristensen@webkit.org>
2235
2236         Expose _boundInterfaceIdentifier and _allowsCellularAccess to WKWebsiteDataStorePrivate
2237         https://bugs.webkit.org/show_bug.cgi?id=178418
2238         <rdar://problem/29599569>
2239
2240         Reviewed by Tim Horton.
2241
2242         * pal/spi/cf/CFNetworkSPI.h:
2243
2244 2017-10-20  Antoine Quint  <graouts@apple.com>
2245
2246         [Web Animations] Provide basic timeline and animation interfaces
2247         https://bugs.webkit.org/show_bug.cgi?id=178526
2248
2249         Reviewed by Dean Jackson.
2250
2251         Remove the WEB_ANIMATIONS compile-time flag.
2252
2253         * Configurations/FeatureDefines.xcconfig:
2254
2255 2017-10-19  Daniel Bates  <dabates@apple.com>
2256
2257         Use "= default" to denote default constructor or destructor
2258         https://bugs.webkit.org/show_bug.cgi?id=178528
2259
2260         Rubber-stamped by Andy Estes.
2261
2262         * pal/Logger.h:
2263         (PAL::Logger::Observer::~Observer): Deleted.
2264         * pal/crypto/gcrypt/CryptoDigestGCrypt.cpp:
2265         * pal/system/SleepDisabler.cpp:
2266         * pal/system/SystemSleepListener.h:
2267
2268 2017-10-17  Keith Miller  <keith_miller@apple.com>
2269
2270         Change WebCore sources to work with unified source builds
2271         https://bugs.webkit.org/show_bug.cgi?id=178229
2272
2273         Rubber stamped by Tim Horton.
2274
2275         Move soft linking code from WebCore to PAL.
2276
2277         * Configurations/FeatureDefines.xcconfig:
2278         * pal/cf/CoreMediaSoftLink.cpp:
2279         * pal/cf/CoreMediaSoftLink.h:
2280         * pal/spi/cocoa/NSAttributedStringSPI.h:
2281
2282 2017-10-13  Adrian Perez de Castro  <aperez@igalia.com>
2283
2284         [WPE][GTK] Provide an implementation of PAL::logLevelString()
2285         https://bugs.webkit.org/show_bug.cgi?id=178263
2286
2287         Reviewed by Carlos Alberto Lopez Perez.
2288
2289         Provide an implementation of PAL::logLevelString() which picks the value from the
2290         WEBCORE_DEBUG environment variable. Logging of notImplemented() calls is always enabled,
2291         which is the same behavior as in WebCore::logLevelString().
2292
2293         * pal/PlatformGTK.cmake: Add LoggingUnix.cpp to the list of sources.
2294         * pal/PlatformWPE.cmake: Add LoggingUnix.cpp to the list of sources.
2295         * pal/unix/LoggingUnix.cpp: Added.
2296         (PAL::logLevelString):
2297
2298 2017-10-13  Jer Noble  <jer.noble@apple.com>
2299
2300         Unreviewed build fix; add definitions for IOSurface methods missing on some platforms.
2301
2302         * pal/spi/cocoa/IOSurfaceSPI.h:
2303
2304 2017-10-12  Myles C. Maxfield  <mmaxfield@apple.com>
2305
2306         [Win] Build fix after r223206
2307         https://bugs.webkit.org/show_bug.cgi?id=171523
2308
2309         Unreviewed.
2310
2311         * pal/PlatformWin.cmake:
2312         * pal/win/LoggingWin.cpp: Added.
2313         (PAL::logLevelString):
2314
2315 2017-10-11  Myles C. Maxfield  <mmaxfield@apple.com>
2316
2317         Allow PAL to log messages
2318         https://bugs.webkit.org/show_bug.cgi?id=171523
2319
2320         Reviewed by Alex Christensen.
2321
2322         * PAL.xcodeproj/project.pbxproj:
2323         * pal/CMakeLists.txt:
2324         * pal/LogInitialization.h: Copied from Source/WebCore/platform/LogMacros.h.
2325         * pal/LogMacros.h: Copied from Source/WebCore/platform/LogMacros.h.
2326         * pal/Logging.cpp: Copied from Source/WebCore/platform/Logging.cpp.
2327         (PAL::isLogChannelEnabled):
2328         (PAL::setLogChannelToAccumulate):
2329         (PAL::initializeLogChannelsIfNecessary):
2330         (PAL::registerNotifyCallback):
2331         * pal/Logging.h: Copied from Source/WebCore/platform/LogMacros.h.
2332         * pal/PlatformMac.cmake:
2333         * pal/cocoa/LoggingCocoa.mm: Renamed from Source/WebCore/platform/LogMacros.h.
2334         (PAL::logLevelString):
2335
2336 2017-10-06  Chris Dumez  <cdumez@apple.com>
2337
2338         [Beacon][Cocoa] Beacon requests with BufferSource payload should not have a Content-Type HTTP header
2339         https://bugs.webkit.org/show_bug.cgi?id=178027
2340         <rdar://problem/34748470>
2341
2342         Reviewed by Youenn Fablet.
2343
2344         Add new CFNetwork SPI.
2345
2346         * pal/spi/cf/CFNetworkSPI.h:
2347
2348 2017-10-05  Dean Jackson  <dino@apple.com>
2349
2350         Lots of missing frames in YouTube360 when fullscreen on MacBook
2351         https://bugs.webkit.org/show_bug.cgi?id=177903
2352         <rdar://problem/33273300>
2353
2354         Reviewed by Sam Weinig.
2355
2356         Add reloadValueForKeyPath to replace setContentsChanged on CALayer.
2357
2358         * pal/spi/cocoa/QuartzCoreSPI.h:
2359
2360 2017-10-05  Commit Queue  <commit-queue@webkit.org>
2361
2362         Unreviewed, rolling out r222951 and r222952.
2363         https://bugs.webkit.org/show_bug.cgi?id=177992
2364
2365         "Broke the iOS build and introduced a webgl LayoutTest
2366         failure." (Requested by ryanhaddad on #webkit).
2367
2368         Reverted changesets:
2369
2370         "Lots of missing frames in YouTube360 when fullscreen on
2371         MacBook"
2372         https://bugs.webkit.org/show_bug.cgi?id=177903
2373         http://trac.webkit.org/changeset/222951
2374
2375         "Lots of missing frames in YouTube360 when fullscreen on
2376         MacBook"
2377         https://bugs.webkit.org/show_bug.cgi?id=177903
2378         http://trac.webkit.org/changeset/222952
2379
2380 2017-10-05  Dean Jackson  <dino@apple.com>
2381
2382         Lots of missing frames in YouTube360 when fullscreen on MacBook
2383         https://bugs.webkit.org/show_bug.cgi?id=177903
2384         <rdar://problem/33273300>
2385
2386         Reviewed by Sam Weinig.
2387
2388         Add reloadValueForKeyPath to replace setContentsChanged on CALayer.
2389
2390         * pal/spi/cocoa/QuartzCoreSPI.h:
2391
2392 2017-10-05  Jer Noble  <jer.noble@apple.com>
2393
2394         [Cocoa] Enable ENABLE_ENCRYPTED_MEDIA build-time setting
2395         https://bugs.webkit.org/show_bug.cgi?id=177261
2396
2397         Reviewed by Eric Carlson.
2398
2399         * Configurations/FeatureDefines.xcconfig:
2400
2401 2017-09-28  Ross Kirsling  <ross.kirsling@sony.com>
2402
2403         [PAL] Move HysteresisActivity into PAL
2404         https://bugs.webkit.org/show_bug.cgi?id=177516
2405
2406         Reviewed by Alex Christensen.
2407
2408         * PAL.xcodeproj/project.pbxproj:
2409         * pal/HysteresisActivity.h: Renamed from Source/WebCore/platform/HysteresisActivity.h.
2410
2411 2017-09-28  Chris Dumez  <cdumez@apple.com>
2412
2413         Add support for <link rel=preconnect>
2414         https://bugs.webkit.org/show_bug.cgi?id=177474
2415         <rdar://problem/33141380>
2416
2417         Reviewed by Alex Christensen.
2418
2419         Add new CFNetwork SPI for preconnecting.
2420
2421         * pal/spi/cf/CFNetworkSPI.h:
2422
2423 2017-09-27  Tim Horton  <timothy_horton@apple.com>
2424
2425         Try to fix the Mac CMake build
2426
2427         * pal/PlatformMac.cmake:
2428
2429 2017-09-26  Don Olmstead  <don.olmstead@sony.com>
2430
2431         [PAL][CMake] Include ICU directories
2432         https://bugs.webkit.org/show_bug.cgi?id=177504
2433
2434         Reviewed by Myles C. Maxfield.
2435
2436         * pal/CMakeLists.txt:
2437
2438 2017-09-26  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
2439
2440         [PAL] Move Clock into PAL
2441         https://bugs.webkit.org/show_bug.cgi?id=174342
2442
2443         Reviewed by Myles C. Maxfield.
2444
2445         * PAL.xcodeproj/project.pbxproj:
2446         * pal/PlatformGTK.cmake:
2447         * pal/PlatformWin.cmake:
2448         * pal/system/Clock.h: Renamed from Source/WebCore/platform/Clock.h.
2449         * pal/system/ClockGeneric.cpp: Renamed from Source/WebCore/platform/ClockGeneric.cpp.
2450         (PAL::Clock::create):
2451         * pal/system/ClockGeneric.h: Renamed from Source/WebCore/platform/ClockGeneric.h.
2452         * pal/system/mac/ClockCM.h: Renamed from Source/WebCore/platform/mac/PlatformClockCM.h.
2453         * pal/system/mac/ClockCM.mm: Renamed from Source/WebCore/platform/mac/PlatformClockCM.mm.
2454         (Clock::create):
2455         (ClockCM::ClockCM):
2456         (ClockCM::initializeWithTimingSource):
2457         (ClockCM::setCurrentTime):
2458         (ClockCM::currentTime const):
2459         (ClockCM::setCurrentMediaTime):
2460         (ClockCM::currentMediaTime const):
2461         (ClockCM::setPlayRate):
2462         (ClockCM::start):
2463         (ClockCM::stop):
2464
2465         * pal/cf/CoreMediaSoftLink.cpp:
2466         * pal/cf/CoreMediaSoftLink.h:
2467         Add requrired functions.
2468 2017-09-26  Zan Dobersek  <zdobersek@igalia.com>
2469
2470         [GCrypt] Only report libgcrypt errors when logging is enabled
2471         https://bugs.webkit.org/show_bug.cgi?id=177360
2472
2473         Reviewed by Xabier Rodriguez-Calvar.
2474
2475         * pal/crypto/gcrypt/Utilities.h:
2476         (PAL::GCrypt::logError): Only print out the libgcrypt error on stderr
2477         when logging is enabled at build-time, avoiding unnecessary output in
2478         non-debugging use cases.
2479
2480 2017-09-25  Timothy Horton  <timothy_horton@apple.com>
2481
2482         Make progress on getting Mac CMake building again
2483         https://bugs.webkit.org/show_bug.cgi?id=177443
2484
2485         Unreviewed, just "fixing" the build.
2486
2487         * pal/PlatformMac.cmake:
2488         Add some missing files and include paths.
2489
2490 2017-09-22  Zalan Bujtas  <zalan@apple.com>
2491
2492         WeakPtrFactory should populate m_ref lazily.
2493         https://bugs.webkit.org/show_bug.cgi?id=177375
2494
2495         Reviewed by Geoffrey Garen.
2496
2497         * pal/system/mac/SystemSleepListenerMac.mm:
2498         (PAL::SystemSleepListenerMac::SystemSleepListenerMac):
2499
2500 2017-09-21  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
2501
2502         [PAL] Move MediaTimeAVFoundation into PAL
2503         https://bugs.webkit.org/show_bug.cgi?id=177222
2504
2505         Reviewed by Myles C. Maxfield.
2506
2507         * config.h:
2508         Include PALHeaderDetection.h.
2509         Define AVFOUNDATION-releavant definitions.
2510
2511         * pal/PlatformWin.cmake:
2512         Add PAL dereived sources directory to include paths.
2513
2514         * PAL.xcodeproj/project.pbxproj:
2515         * pal/CMakeLists.txt:
2516         * pal/PlatformAppleWin.cmake:
2517         * pal/avfoundation/MediaTimeAVFoundation.cpp: Renamed from Source/WebCore/platform/graphics/avfoundation/MediaTimeAVFoundation.cpp.
2518         * pal/avfoundation/MediaTimeAVFoundation.h: Renamed from Source/WebCore/platform/graphics/avfoundation/MediaTimeAVFoundation.h.
2519         * pal/cf/CoreMediaSoftLink.cpp: Added.
2520         * pal/cf/CoreMediaSoftLink.h: Added.
2521
2522 2017-09-20  Antti Koivisto  <antti@apple.com>
2523
2524         Remove DOM and styling support for CSS Regions
2525         https://bugs.webkit.org/show_bug.cgi?id=177221
2526
2527         Reviewed by Andreas Kling.
2528
2529         * Configurations/FeatureDefines.xcconfig:
2530
2531 2017-09-18  Andy Estes  <aestes@apple.com>
2532
2533         [Mac] Upstream miscellaneous WebKitSystemInterface functions
2534         https://bugs.webkit.org/show_bug.cgi?id=177029
2535
2536         Reviewed by Alex Christensen.
2537
2538         * PAL.xcodeproj/project.pbxproj:
2539         * pal/PlatformMac.cmake:
2540         * pal/spi/cf/CFUtilitiesSPI.h:
2541         * pal/spi/cocoa/LaunchServicesSPI.h: Renamed from Source/WebCore/PAL/pal/spi/ios/LaunchServicesSPI.h.
2542         * pal/spi/mac/HIServicesSPI.h:
2543         * pal/spi/mac/NSCellSPI.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
2544         * pal/spi/mac/NSMenuSPI.h:
2545         * pal/spi/mac/NSScrollViewSPI.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
2546         * pal/spi/mac/NSScrollerImpSPI.h:
2547         * pal/system/cf/DefaultSearchProvider.cpp: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
2548         (PAL::defaultSearchProviderDisplayName):
2549         * pal/system/cf/DefaultSearchProvider.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
2550         * pal/system/mac/PopupMenu.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
2551         * pal/system/mac/PopupMenu.mm: Added.
2552         (PAL::popUpMenu):
2553
2554 2017-09-18  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
2555
2556         [Win][PAL] Move WebCoreHeaderDetection.h to PAL
2557         https://bugs.webkit.org/show_bug.cgi?id=176990
2558
2559         Reviewed by Alex Christensen.
2560
2561         * AVFoundationSupport.py: Renamed from Source/WebCore/AVFoundationSupport.py.
2562         (lookFor):
2563         (fileContains):
2564
2565         * pal/PlatformWin.cmake:
2566         Add a custom target PAL_PreBuild to generate PALHeaderDetection.h
2567
2568 2017-09-15  Tim Horton  <timothy_horton@apple.com>
2569
2570         Fix the macOS CMake build
2571         https://bugs.webkit.org/show_bug.cgi?id=177015
2572
2573         Reviewed by Andy Estes.
2574
2575         * pal/PlatformMac.cmake:
2576         Add WebPanel.
2577
2578 2017-09-15  Andy Estes  <aestes@apple.com>
2579
2580         [Cocoa] Upstream MediaRemote and VideoToolbox WebKitSystemInterface functions
2581         https://bugs.webkit.org/show_bug.cgi?id=176953
2582
2583         Reviewed by Eric Carlson.
2584
2585         * pal/spi/mac/AVFoundationSPI.h:
2586         * pal/spi/mac/MediaRemoteSPI.h:
2587
2588 2017-09-15  Eric Carlson  <eric.carlson@apple.com>
2589
2590         Switch text tracks to release logging
2591         https://bugs.webkit.org/show_bug.cgi?id=176809
2592         <rdar://problem/34397605>
2593
2594         Reviewed by Jer Noble.
2595
2596         * pal/Logger.h:
2597         (PAL::LogArgument::toString):
2598         (PAL::Logger::willLog const):
2599
2600 2017-09-14  Dan Bernstein  <mitz@apple.com>
2601
2602         Fixed building with the Apple internal macOS 10.12 SDK.
2603
2604         * pal/spi/cocoa/PassKitSPI.h: Avoid redefining types that are defined in the SDK.
2605
2606 2017-09-14  Andy Estes  <aestes@apple.com>
2607
2608         [Mac] Upstream SpeechSynthesis-related WebKitSystemInterface functions
2609         https://bugs.webkit.org/show_bug.cgi?id=176931
2610
2611         Reviewed by Joseph Pecoraro.
2612
2613         * PAL.xcodeproj/project.pbxproj:
2614         * pal/spi/mac/SpeechSynthesisSPI.h: Added.
2615
2616 2017-09-13  Andy Estes  <aestes@apple.com>
2617
2618         [CF] Upstream CFNetwork-related WebKitSystemInterface functions
2619         https://bugs.webkit.org/show_bug.cgi?id=176729
2620
2621         Reviewed by Alex Christensen.
2622
2623         * pal/spi/cf/CFNetworkSPI.h:
2624
2625 2017-09-12  Myles C. Maxfield  <mmaxfield@apple.com>
2626
2627         Unskip fast/text/system-font-synthetic-italic.html
2628         https://bugs.webkit.org/show_bug.cgi?id=175944
2629
2630         Reviewed by Jon Lee.
2631
2632         * pal/spi/cocoa/CoreTextSPI.h:
2633
2634 2017-09-12  Eric Carlson  <eric.carlson@apple.com>
2635
2636         Switch MediaPlayerPrivateAVFoundation to release logging
2637         https://bugs.webkit.org/show_bug.cgi?id=176621
2638         <rdar://problem/34335311>
2639
2640         Reviewed by Jer Noble.
2641
2642         * pal/Logger.h:
2643         (PAL::LogArgument::toString):
2644         * pal/LoggerHelper.h:
2645
2646 2017-09-11  Andy Estes  <aestes@apple.com>
2647
2648         [Mac] Upstream QTKit-related WebKitSystemInterface functions
2649         https://bugs.webkit.org/show_bug.cgi?id=176472
2650
2651         Reviewed by Eric Carlson.
2652
2653         * pal/spi/mac/QTKitSPI.h:
2654
2655 2017-09-08  Commit Queue  <commit-queue@webkit.org>
2656
2657         Unreviewed, rolling out r221773.
2658         https://bugs.webkit.org/show_bug.cgi?id=176614
2659
2660         This caused build failures. (Requested by mlewis13 on
2661         #webkit).
2662
2663         Reverted changeset:
2664
2665         "[Mac] Upstream QTKit-related WebKitSystemInterface functions"
2666         https://bugs.webkit.org/show_bug.cgi?id=176472
2667         http://trac.webkit.org/changeset/221773
2668
2669 2017-09-07  Andy Estes  <aestes@apple.com>
2670
2671         [Mac] Upstream QTKit-related WebKitSystemInterface functions
2672         https://bugs.webkit.org/show_bug.cgi?id=176472
2673
2674         Reviewed by Eric Carlson.
2675
2676         * pal/spi/mac/QTKitSPI.h:
2677
2678 2017-09-07  Wenson Hsieh  <wenson_hsieh@apple.com>
2679
2680         [Mac] Stop importing NSFunctionBar_Private.h in NSTouchBarSPI.h on the macOS 10.13+ SDK
2681         https://bugs.webkit.org/show_bug.cgi?id=176521
2682         <rdar://problem/34296289>
2683
2684         Reviewed by Andy Estes.
2685
2686         We don't need to import NSFunctionBar_Private.h when building against the macOS 10.13 SDK, or later. Guard this
2687         header import with an SDK version check.
2688
2689         * pal/spi/cocoa/NSTouchBarSPI.h:
2690
2691 2017-09-06  Eric Carlson  <eric.carlson@apple.com>
2692
2693         Require LoggingHelper overrides to provide identifier
2694         https://bugs.webkit.org/show_bug.cgi?id=176477
2695
2696         Reviewed by Jer Noble.
2697
2698         * pal/Logger.h:
2699         (PAL::Logger::LogSiteIdentifier::LogSiteIdentifier):
2700         (PAL::LogArgument<Logger::LogSiteIdentifier>::toString):
2701         (PAL::Logger::notice const): Deleted.
2702         (PAL::Logger::MethodAndPointer::MethodAndPointer): Deleted.
2703         (PAL::LogArgument<Logger::MethodAndPointer>::toString): Deleted.
2704         * pal/LoggerHelper.h:
2705
2706 2017-09-04  Commit Queue  <commit-queue@webkit.org>
2707
2708         Unreviewed, rolling out r221494 and r221500.
2709         https://bugs.webkit.org/show_bug.cgi?id=176258
2710
2711         This caused the windows build to fail. (Requested by mlewis13
2712         on #webkit).
2713
2714         Reverted changesets:
2715
2716         "Switch HTMLMediaElement to release logging"
2717         https://bugs.webkit.org/show_bug.cgi?id=176065
2718         http://trac.webkit.org/changeset/221494
2719
2720         "Switch HTMLMediaElement to release logging"
2721         https://bugs.webkit.org/show_bug.cgi?id=176065
2722         http://trac.webkit.org/changeset/221500
2723
2724 2017-09-03  Zan Dobersek  <zdobersek@igalia.com>
2725
2726         [GTK] Libgcrypt warning: missing initialization - please fix the application
2727         https://bugs.webkit.org/show_bug.cgi?id=171230
2728
2729         Reviewed by Michael Catanzaro.
2730
2731         Add the Initialization.h header, containing the single initialize() static
2732         function that initializes the libgcrypt library. This header only includes
2733         the default libgcrypt header, and nothing else.
2734
2735         It's not added to the existing Utilities.h header because that one pulls in
2736         other unnecessary headers that for instance use the new() operator, but that
2737         collides with the implementation files that define WebKit process entrypoints
2738         and intentionally don't include the config.h that brings in FastMalloc to
2739         properly define the new() and delete() operators, resulting in compilation
2740         errors due to the new and delete operators being defined to warning strings
2741         in always-included WebKit2Prefix.h.
2742
2743         * pal/crypto/gcrypt/Initialization.h: Copied from Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp.
2744         (PAL::GCrypt::initialize):
2745
2746 2017-09-03  Dan Bernstein  <mitz@apple.com>
2747
2748         [Cocoa] Tidy up PassKitSPI.h
2749         https://bugs.webkit.org/show_bug.cgi?id=176323
2750
2751         Reviewed by Darin Adler.
2752
2753         * pal/spi/cocoa/PassKitSPI.h: Moved the declarations of requiredShippingContactFields and
2754           requiredBillingContactFields to where other PKPaymentRequest properties are declared, and
2755           changed the guard to relate to the SDK version. Replaced use of __has_include with checking for
2756           the version of the Apple internal SDK in which the typedefs first appeared.
2757
2758 2017-09-03  Dan Bernstein  <mitz@apple.com>
2759
2760         [Cocoa] Remove use of __has_include in CoreAudioSPI.h
2761         https://bugs.webkit.org/show_bug.cgi?id=176320
2762
2763         Reviewed by Tim Horton.
2764
2765         * pal/spi/cf/CoreAudioSPI.h: AudioHardwarePriv.h is available in all Apple internal SDKs and
2766           only in Apple internal SDKs. AudioHardwareBase.h is available only in the macOS SDK, where
2767           it is included by AudioHardware.h.
2768
2769 2017-09-03  Tim Horton  <timothy_horton@apple.com>
2770
2771         Fix some style issues in the Remote Layer Tree code
2772         https://bugs.webkit.org/show_bug.cgi?id=176298
2773
2774         Reviewed by Dan Bernstein.
2775
2776         * pal/spi/cocoa/QuartzCoreSPI.h:
2777
2778 2017-09-03  Sam Weinig  <sam@webkit.org>
2779
2780         Remove CanvasProxy
2781         https://bugs.webkit.org/show_bug.cgi?id=176288
2782
2783         Reviewed by Yusuke Suzuki.
2784
2785         CanvasProxy does not appear to be in any current HTML spec
2786         and was disabled and unimplemented in our tree. Time to 
2787         get rid of it.
2788
2789         * Configurations/FeatureDefines.xcconfig:
2790
2791 2017-09-02  Andy Estes  <aestes@apple.com>
2792
2793         [CA] Upstream QuartzCore-related WebKitSystemInterface functions
2794         https://bugs.webkit.org/show_bug.cgi?id=176270
2795
2796         Reviewed by Tim Horton.
2797
2798         * pal/spi/cocoa/QuartzCoreSPI.h:
2799
2800 2017-09-01  Andy Estes  <aestes@apple.com>
2801
2802         Try again to fix the Internal iOS Simulator build after r221485.
2803
2804         * pal/spi/cg/CoreGraphicsSPI.h:
2805
2806 2017-09-01  Andy Estes  <aestes@apple.com>
2807
2808         Try to fix the Internal iOS Simulator build after r221485.
2809
2810         * pal/spi/cg/CoreGraphicsSPI.h:
2811
2812 2017-09-01  Andy Estes  <aestes@apple.com>
2813
2814         [CG] Upstream CoreGraphics-related WebKitSystemInterface functions
2815         https://bugs.webkit.org/show_bug.cgi?id=176200
2816
2817         Reviewed by Tim Horton.
2818
2819         * PAL.xcodeproj/project.pbxproj:
2820         * pal/spi/cg/CoreGraphicsSPI.h:
2821         * pal/spi/mac/HIServicesSPI.h:
2822         * pal/spi/mac/NSGraphicsSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/HIServicesSPI.h.
2823
2824 2017-08-31  Andy Estes  <aestes@apple.com>
2825
2826         [Mac] Upstream AppKit-related WebKitSystemInterface functions
2827         https://bugs.webkit.org/show_bug.cgi?id=176175
2828
2829         Reviewed by Brady Eidson.
2830
2831         * PAL.xcodeproj/project.pbxproj:
2832         * pal/spi/mac/HIToolboxSPI.h:
2833         * pal/spi/mac/NSResponderSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
2834         * pal/spi/mac/NSWindowSPI.h:
2835         * pal/system/mac/WebPanel.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
2836         * pal/system/mac/WebPanel.mm: Copied from Source/WebCore/PAL/pal/spi/mac/HIToolboxSPI.h.
2837         (-[WebPanel init]):
2838
2839 2017-08-31  Ryan Haddad  <ryanhaddad@apple.com>
2840
2841         Unreviewed, rolling out r221445.
2842
2843         This change broke Sierra Release builds.
2844
2845         Reverted changeset:
2846
2847         "Switch HTMLMediaElement to release logging"
2848         https://bugs.webkit.org/show_bug.cgi?id=176065
2849         http://trac.webkit.org/changeset/221445
2850
2851 2017-08-30  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
2852
2853         [PAL] Fix "None" suffix in PAL
2854         https://bugs.webkit.org/show_bug.cgi?id=176014
2855
2856         Reviewed by Ryosuke Niwa.
2857
2858         * Configurations/PAL.xcconfig:
2859         * PAL.xcodeproj/project.pbxproj:
2860         * pal/PlatformGTK.cmake:
2861         * pal/PlatformWPE.cmake:
2862         * pal/PlatformWin.cmake:
2863         * pal/system/Sound.cpp: Renamed from Source/WebCore/PAL/pal/system/SoundNone.cpp.
2864         * pal/text/KillRing.cpp: Renamed from Source/WebCore/PAL/pal/text/KillRingNone.cpp.
2865
2866 2017-08-30  Eric Carlson  <eric.carlson@apple.com>
2867
2868         Add Logger observer and helper class
2869         https://bugs.webkit.org/show_bug.cgi?id=176106
2870
2871         Reviewed by Andy Estes.
2872
2873         * pal/Logger.h:
2874         (PAL::LogArgument::toString): Add new variants.
2875         (PAL::Logger::Observer::~Observer):
2876         (PAL::Logger::logAlways const): Constify.
2877         (PAL::Logger::error const): Ditto.
2878         (PAL::Logger::warning const): Ditto.
2879         (PAL::Logger::notice const): Ditto.
2880         (PAL::Logger::info const): Ditto.
2881         (PAL::Logger::debug const): Ditto.
2882         (PAL::Logger::willLog const): Ditto.
2883         (PAL::Logger::MethodAndPointer::MethodAndPointer): Add class name, make object pointer const.
2884         (PAL::Logger::addObserver): New.
2885         (PAL::Logger::removeObserver): New.
2886         (PAL::Logger::Logger):
2887         (PAL::Logger::log):
2888         (PAL::Logger::observers):
2889         (PAL::LogHelper::willLog const):
2890         (PAL::LogArgument<Logger::MethodAndPointer>::toString):
2891
2892 2017-08-30  Andy Estes  <aestes@apple.com>
2893
2894         [Mac] Upstream Accessibility-related WebKitSystemInterface functions
2895         https://bugs.webkit.org/show_bug.cgi?id=176093
2896
2897         Reviewed by Eric Carlson.
2898
2899         * PAL.xcodeproj/project.pbxproj:
2900         * pal/spi/mac/HIServicesSPI.h: Added.
2901         * pal/spi/mac/NSAccessibilitySPI.h:
2902
2903 2017-08-30  Andy Estes  <aestes@apple.com>
2904
2905         [Mac] Upstream Carbon-related WebKitSystemInterface functions
2906         https://bugs.webkit.org/show_bug.cgi?id=176087
2907
2908         Reviewed by Alex Christensen.
2909
2910         * PAL.xcodeproj/project.pbxproj:
2911         * pal/spi/cocoa/FoundationSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
2912         * pal/spi/mac/HIToolboxSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
2913         * pal/spi/mac/NSEventSPI.h:
2914         * pal/spi/mac/NSWindowSPI.h:
2915         * pal/spi/mac/QuickDrawSPI.h: Added.
2916
2917 2017-08-29  Andy Estes  <aestes@apple.com>
2918
2919         [Xcode] Fix up file and group paths in PAL.xcodeproj
2920         https://bugs.webkit.org/show_bug.cgi?id=176073
2921
2922         Reviewed by Alex Christensen.
2923
2924         * PAL.xcodeproj/project.pbxproj:
2925
2926 2017-08-29  Andy Estes  <aestes@apple.com>
2927
2928         [Mac] Upstream WKSetMetadataURL() from WebKitSystemInterface
2929         https://bugs.webkit.org/show_bug.cgi?id=176046
2930
2931         Reviewed by Alex Christensen.
2932
2933         * PAL.xcodeproj/project.pbxproj:
2934         * pal/spi/mac/MetadataSPI.h: Added.
2935
2936 2017-08-28  Eric Carlson  <eric.carlson@apple.com>
2937
2938         Logger should use makeString instead of String::format
2939         https://bugs.webkit.org/show_bug.cgi?id=176035
2940
2941         Reviewed by Jer Noble.
2942
2943         * pal/Logger.h:
2944         (PAL::LogArgument::toString):
2945         (PAL::Logger::logAlways):
2946         (PAL::Logger::error):
2947         (PAL::Logger::warning):
2948         (PAL::Logger::notice):
2949         (PAL::Logger::info):
2950         (PAL::Logger::debug):
2951         (PAL::Logger::MethodAndPointer::MethodAndPointer):
2952         (PAL::Logger::log):
2953         (PAL::LogArgument<Logger::MethodAndPointer>::toString):
2954
2955 2017-08-28  Andy Estes  <aestes@apple.com>
2956
2957         [Cocoa] Upstream CFNetwork-related WebKitSystemInterface functions
2958         https://bugs.webkit.org/show_bug.cgi?id=176032
2959
2960         Reviewed by Alex Christensen.
2961
2962         * pal/spi/cf/CFNetworkSPI.h:
2963
2964 2017-08-25  Eric Carlson  <eric.carlson@apple.com>
2965
2966         Add Logger::logAlways
2967         https://bugs.webkit.org/show_bug.cgi?id=175996
2968
2969         Reviewed by Jer Noble.
2970
2971         * PAL.xcodeproj/project.pbxproj:
2972         * pal/Logger.h:
2973         (PAL::Logger::willLog const):
2974         (PAL::Logger::willLog const):
2975         (PAL::Logger::logAlways): Added.
2976         (PAL::Logger::error const): Add missing WTF_ATTRIBUTE_PRINTF.
2977         (PAL::Logger::warning const): Ditto.
2978         (PAL::Logger::notice const): Ditto.
2979         (PAL::Logger::info const): Ditto.
2980         (PAL::Logger::debug const): Use String::formatWithArguments.
2981
2982 2017-08-25  Jonathan Bedard  <jbedard@apple.com>
2983
2984         Fix build breakage with Public iOS 11 SDK
2985         https://bugs.webkit.org/show_bug.cgi?id=175960
2986         <rdar://problem/34069264>
2987
2988         Reviewed by Wenson Hsieh.
2989
2990         * pal/spi/ios/UIKitSPI.h: Use NSItemProvider definition of preferredPresentationSize
2991         instead of re-declaring it.
2992
2993 2017-08-23  Eric Carlson  <eric.carlson@apple.com>
2994
2995         Platform code should be able to safely log in release builds
2996         https://bugs.webkit.org/show_bug.cgi?id=175854
2997         <rdar://problem/34022930>
2998
2999         Reviewed by Jer Noble.
3000
3001         * PAL.xcodeproj/project.pbxproj:
3002         * pal/Logger.h: Added.
3003         (PAL::Logger::create):
3004         (PAL::Logger::error const):
3005         (PAL::Logger::warning const):
3006         (PAL::Logger::notice const):
3007         (PAL::Logger::info const):
3008         (PAL::Logger::debug const):
3009         (PAL::Logger::willLog const):
3010         (PAL::Logger::enabled const):
3011         (PAL::Logger::setEnabled):
3012         (PAL::Logger::Logger):
3013         (PAL::Logger::log):
3014
3015 2017-08-21  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
3016
3017         [PAL] Move spi/mac directory into PAL
3018         https://bugs.webkit.org/show_bug.cgi?id=175649
3019
3020         Reviewed by Myles C. Maxfield.
3021
3022         * PAL.xcodeproj/project.pbxproj:
3023         * pal/spi/mac/AVFoundationSPI.h: Renamed from Source/WebCore/platform/spi/mac/AVFoundationSPI.h.
3024         * pal/spi/mac/DataDetectorsSPI.h: Renamed from Source/WebCore/platform/spi/mac/DataDetectorsSPI.h.
3025         * pal/spi/mac/LookupSPI.h: Renamed from Source/WebCore/platform/spi/mac/LookupSPI.h.
3026         * pal/spi/mac/MediaRemoteSPI.h: Renamed from Source/WebCore/platform/spi/mac/MediaRemoteSPI.h.
3027         * pal/spi/mac/NSAccessibilitySPI.h: Renamed from Source/WebCore/platform/spi/mac/NSAccessibilitySPI.h.
3028         * pal/spi/mac/NSApplicationSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSApplicationSPI.h.
3029         * pal/spi/mac/NSEventSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSEventSPI.h.
3030         * pal/spi/mac/NSFontSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSFontSPI.h.
3031         * pal/spi/mac/NSImmediateActionGestureRecognizerSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSImmediateActionGestureRecognizerSPI.h.
3032         * pal/spi/mac/NSMenuSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSMenuSPI.h.
3033         * pal/spi/mac/NSPasteboardSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSPasteboardSPI.h.
3034         * pal/spi/mac/NSPopoverSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSPopoverSPI.h.
3035         * pal/spi/mac/NSScrollerImpSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSScrollerImpSPI.h.
3036         * pal/spi/mac/NSScrollingInputFilterSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSScrollingInputFilterSPI.h.
3037         * pal/spi/mac/NSScrollingMomentumCalculatorSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSScrollingMomentumCalculatorSPI.h.
3038         * pal/spi/mac/NSSharingServicePickerSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSSharingServicePickerSPI.h.
3039         * pal/spi/mac/NSSharingServiceSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSSharingServiceSPI.h.
3040         * pal/spi/mac/NSSpellCheckerSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSSpellCheckerSPI.h.
3041         * pal/spi/mac/NSTextFinderSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSTextFinderSPI.h.
3042         * pal/spi/mac/NSViewSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSViewSPI.h.
3043         * pal/spi/mac/NSWindowSPI.h: Renamed from Source/WebCore/platform/spi/mac/NSWindowSPI.h.
3044         * pal/spi/mac/PIPSPI.h: Renamed from Source/WebCore/platform/spi/mac/PIPSPI.h.
3045         * pal/spi/mac/QTKitSPI.h: Renamed from Source/WebCore/platform/spi/mac/QTKitSPI.h.
3046         * pal/spi/mac/QuickLookMacSPI.h: Renamed from Source/WebCore/platform/spi/mac/QuickLookMacSPI.h.
3047         * pal/spi/mac/TUCallSPI.h: Renamed from Source/WebCore/platform/spi/mac/TUCallSPI.h.
3048
3049 2017-08-17  Don Olmstead  <don.olmstead@sony.com>
3050
3051         [PAL] Relocate SessionID to root
3052         https://bugs.webkit.org/show_bug.cgi?id=175684
3053
3054         Reviewed by Alex Christensen.
3055
3056         * PAL.xcodeproj/project.pbxproj:
3057         * pal/CMakeLists.txt:
3058         * pal/SessionID.cpp: Renamed from Source/WebCore/PAL/pal/identifier/SessionID.cpp.
3059         * pal/SessionID.h: Renamed from Source/WebCore/PAL/pal/identifier/SessionID.h.
3060
3061 2017-08-17  Andreas Kling  <akling@apple.com>
3062
3063         Disable CSS regions at compile time
3064         https://bugs.webkit.org/show_bug.cgi?id=175630
3065
3066         Reviewed by Antti Koivisto.
3067
3068         * Configurations/FeatureDefines.xcconfig:
3069
3070 2017-08-17  Wenson Hsieh  <wenson_hsieh@apple.com>
3071
3072         [iOS] Respect type fidelities when copying image elements to the pasteboard
3073         https://bugs.webkit.org/show_bug.cgi?id=175638
3074         <rdar://problem/26556043>
3075
3076         Reviewed by Ryosuke Niwa.
3077
3078         Replace -estimatedDisplayedSize with its non-deprecated counterpart, -preferredPresentationSize.
3079
3080         * pal/spi/ios/UIKitSPI.h:
3081
3082 2017-08-17  Don Olmstead  <don.olmstead@sony.com>
3083
3084         [PAL] Move SessionID into PAL
3085         https://bugs.webkit.org/show_bug.cgi?id=174192
3086
3087         Reviewed by Antti Koivisto.
3088
3089         * PAL.xcodeproj/project.pbxproj:
3090         * pal/CMakeLists.txt:
3091         * pal/identifier/SessionID.cpp: Renamed from Source/WebCore/page/SessionID.cpp.
3092         * pal/identifier/SessionID.h: Renamed from Source/WebCore/page/SessionID.h.
3093         (WTF::SessionIDHash::hash):
3094         (WTF::SessionIDHash::equal):
3095         (WTF::HashTraits<PAL::SessionID>::emptyValue):
3096         (WTF::HashTraits<PAL::SessionID>::constructDeletedValue):
3097         (WTF::HashTraits<PAL::SessionID>::isDeletedValue):
3098
3099 2017-08-16  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
3100
3101         [PAL] Move spi/ios and spi/win directories into PAL
3102         https://bugs.webkit.org/show_bug.cgi?id=175171
3103
3104         Reviewed by Antti Koivisto.
3105
3106         * PAL.xcodeproj/project.pbxproj:
3107         * pal/spi/ios/CoreUISPI.h: Renamed from Source/WebCore/platform/spi/ios/CoreUISPI.h.
3108         * pal/spi/ios/DataDetectorsUISPI.h: Renamed from Source/WebCore/platform/spi/ios/DataDetectorsUISPI.h.
3109         * pal/spi/ios/GraphicsServicesSPI.h: Renamed from Source/WebCore/platform/spi/ios/GraphicsServicesSPI.h.
3110         * pal/spi/ios/LaunchServicesSPI.h: Renamed from Source/WebCore/platform/spi/ios/LaunchServicesSPI.h.
3111         * pal/spi/ios/MediaPlayerSPI.h: Renamed from Source/WebCore/platform/spi/ios/MediaPlayerSPI.h.
3112         * pal/spi/ios/MobileGestaltSPI.h: Renamed from Source/WebCore/platform/spi/ios/MobileGestaltSPI.h.
3113         * pal/spi/ios/OpenGLESSPI.h: Renamed from Source/WebCore/platform/spi/ios/OpenGLESSPI.h.
3114         * pal/spi/ios/QuickLookSPI.h: Renamed from Source/WebCore/platform/spi/ios/QuickLookSPI.h.
3115         * pal/spi/ios/SQLite3SPI.h: Renamed from Source/WebCore/platform/spi/ios/SQLite3SPI.h.
3116         * pal/spi/ios/UIKitSPI.h: Renamed from Source/WebCore/platform/spi/ios/UIKitSPI.h.
3117         * pal/spi/win/CoreTextSPIWin.h: Renamed from Source/WebCore/platform/spi/win/CoreTextSPIWin.h.
3118
3119 2017-08-16  Andy Estes  <aestes@apple.com>
3120
3121         [Payment Request] Add an ENABLE flag and an experimental feature preference
3122         https://bugs.webkit.org/show_bug.cgi?id=175622
3123
3124         Reviewed by Tim Horton.
3125
3126         * Configurations/FeatureDefines.xcconfig:
3127
3128 2017-08-15  Don Olmstead  <don.olmstead@sony.com>
3129
3130         [PAL] Move Sleep classes into PAL
3131         https://bugs.webkit.org/show_bug.cgi?id=175456
3132
3133         Reviewed by Ryosuke Niwa.
3134
3135         * PAL.xcodeproj/project.pbxproj:
3136         * pal/CMakeLists.txt:
3137         * pal/PlatformMac.cmake:
3138         * pal/system/SleepDisabler.cpp: Renamed from Source/WebCore/platform/SleepDisabler.cpp.
3139         * pal/system/SleepDisabler.h: Renamed from Source/WebCore/platform/SleepDisabler.h.
3140         * pal/system/SystemSleepListener.cpp: Renamed from Source/WebCore/platform/SystemSleepListener.cpp.
3141         * pal/system/SystemSleepListener.h: Renamed from Source/WebCore/platform/SystemSleepListener.h.
3142         * pal/system/cocoa/SleepDisablerCocoa.cpp: Renamed from Source/WebCore/platform/cocoa/SleepDisablerCocoa.cpp.
3143         * pal/system/cocoa/SleepDisablerCocoa.h: Renamed from Source/WebCore/platform/cocoa/SleepDisablerCocoa.h.
3144         * pal/system/mac/SystemSleepListenerMac.h: Renamed from Source/WebCore/platform/mac/SystemSleepListenerMac.h.
3145         * pal/system/mac/SystemSleepListenerMac.mm: Renamed from Source/WebCore/platform/mac/SystemSleepListenerMac.mm.
3146
3147 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
3148
3149         Remove Proximity Events and related code
3150         https://bugs.webkit.org/show_bug.cgi?id=175545
3151
3152         Reviewed by Daniel Bates.
3153
3154         No platform enables Proximity Events, so remove code inside ENABLE(PROXIMITY_EVENTS)
3155         and other related code.
3156
3157         * Configurations/FeatureDefines.xcconfig:
3158
3159 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
3160
3161         Remove ENABLE(REQUEST_AUTOCOMPLETE) code, which was disabled everywhere
3162         https://bugs.webkit.org/show_bug.cgi?id=175504
3163
3164         Reviewed by Sam Weinig.
3165
3166         * Configurations/FeatureDefines.xcconfig:
3167
3168 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
3169
3170         Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
3171         https://bugs.webkit.org/show_bug.cgi?id=175557
3172
3173         Reviewed by Jon Lee.
3174
3175         No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.
3176
3177         * Configurations/FeatureDefines.xcconfig:
3178
3179 2017-08-11  Ryosuke Niwa  <rniwa@webkit.org>
3180
3181         Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation
3182         https://bugs.webkit.org/show_bug.cgi?id=175474
3183         <rdar://problem/33844628>
3184
3185         Reviewed by Wenson Hsieh.
3186
3187         * Configurations/FeatureDefines.xcconfig:
3188
3189 2017-08-10  Michael Catanzaro  <mcatanzaro@igalia.com>
3190
3191         Remove ENABLE_GAMEPAD_DEPRECATED
3192         https://bugs.webkit.org/show_bug.cgi?id=175361
3193
3194         Reviewed by Carlos Garcia Campos.
3195
3196         * Configurations/FeatureDefines.xcconfig:
3197
3198 2017-08-09  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
3199
3200         [PAL] Move spi/cocoa and spi/cg directories into PAL
3201         https://bugs.webkit.org/show_bug.cgi?id=175175
3202
3203         Reviewed by Myles C. Maxfield.
3204
3205         * PAL.xcodeproj/project.pbxproj:
3206         * pal/PlatformAppleWin.cmake:
3207         * pal/spi/cg/CoreGraphicsSPI.h: Renamed from Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h.
3208         (CGFloatMin):
3209         * pal/spi/cg/ImageIOSPI.h: Renamed from Source/WebCore/platform/spi/cg/ImageIOSPI.h.
3210         * pal/spi/cocoa/AVKitSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/AVKitSPI.h.
3211         (-[AVTouchBarPlaybackControlsControlling NS_ENUM]):
3212         * pal/spi/cocoa/CFNSURLConnectionSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/CFNSURLConnectionSPI.h.
3213         * pal/spi/cocoa/CoreTextSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/CoreTextSPI.h.
3214         * pal/spi/cocoa/DataDetectorsCoreSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h.
3215         * pal/spi/cocoa/IOPMLibSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOPMLibSPI.h.
3216         * pal/spi/cocoa/IOPSLibSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOPSLibSPI.h.
3217         * pal/spi/cocoa/IOReturnSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOReturnSPI.h.
3218         * pal/spi/cocoa/IOSurfaceSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOSurfaceSPI.h.
3219         * pal/spi/cocoa/IOTypesSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/IOTypesSPI.h.
3220         * pal/spi/cocoa/LinkPresentationSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/LinkPresentationSPI.h.
3221         * pal/spi/cocoa/MachVMSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/MachVMSPI.h.
3222         * pal/spi/cocoa/NEFilterSourceSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NEFilterSourceSPI.h.
3223         * pal/spi/cocoa/NSAttributedStringSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSAttributedStringSPI.h.
3224         * pal/spi/cocoa/NSButtonCellSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSButtonCellSPI.h.
3225         * pal/spi/cocoa/NSCalendarDateSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSCalendarDateSPI.h.
3226         * pal/spi/cocoa/NSColorSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSColorSPI.h.
3227         * pal/spi/cocoa/NSExtensionSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSExtensionSPI.h.
3228         * pal/spi/cocoa/NSFileManagerSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSFileManagerSPI.h.
3229         * pal/spi/cocoa/NSStringSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSStringSPI.h.
3230         * pal/spi/cocoa/NSTouchBarSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSTouchBarSPI.h.
3231         * pal/spi/cocoa/NSURLConnectionSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSURLConnectionSPI.h.
3232         * pal/spi/cocoa/NSURLDownloadSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSURLDownloadSPI.h.
3233         * pal/spi/cocoa/NSURLFileTypeMappingsSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/NSURLFileTypeMappingsSPI.h.
3234         * pal/spi/cocoa/PassKitSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/PassKitSPI.h.
3235         (NS_ERROR_ENUM):
3236         * pal/spi/cocoa/QuartzCoreSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/QuartzCoreSPI.h.
3237         * pal/spi/cocoa/ServersSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/ServersSPI.h.
3238         * pal/spi/cocoa/WebFilterEvaluatorSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/WebFilterEvaluatorSPI.h.
3239         * pal/spi/cocoa/pthreadSPI.h: Renamed from Source/WebCore/platform/spi/cocoa/pthreadSPI.h.
3240
3241 2017-08-09  Wenson Hsieh  <wenson_hsieh@apple.com>
3242
3243         [iOS DnD] ENABLE_DRAG_SUPPORT should be turned off for iOS 10 and enabled by default
3244         https://bugs.webkit.org/show_bug.cgi?id=175392
3245         <rdar://problem/33783207>
3246
3247         Reviewed by Tim Horton and Megan Gardner.
3248
3249         Tweak FeatureDefines to enable drag and drop by default, and disable only on unsupported platforms (i.e. iOS 10).
3250
3251         * Configurations/FeatureDefines.xcconfig:
3252
3253 2017-08-07  Brian Burg  <bburg@apple.com>
3254
3255         Remove CANVAS_PATH compilation guard
3256         https://bugs.webkit.org/show_bug.cgi?id=175207
3257
3258         Reviewed by Sam Weinig.
3259
3260         * Configurations/FeatureDefines.xcconfig:
3261
3262 2017-08-04  Matt Lewis  <jlewis3@apple.com>
3263
3264         Unreviewed, rolling out r220271.
3265
3266         Rolling out due to Layout Test failing on iOS Simulator.
3267
3268         Reverted changeset:
3269
3270         "Remove STREAMS_API compilation guard"
3271         https://bugs.webkit.org/show_bug.cgi?id=175165
3272         http://trac.webkit.org/changeset/220271
3273
3274 2017-08-04  Youenn Fablet  <youenn@apple.com>
3275
3276         Remove STREAMS_API compilation guard
3277         https://bugs.webkit.org/show_bug.cgi?id=175165
3278
3279         Reviewed by Darin Adler.
3280
3281         * Configurations/FeatureDefines.xcconfig:
3282
3283 2017-08-03  Brian Burg  <bburg@apple.com>
3284
3285         Remove ENABLE(WEB_SOCKET) guards
3286         https://bugs.webkit.org/show_bug.cgi?id=167044
3287
3288         Reviewed by Joseph Pecoraro.
3289
3290         * Configurations/FeatureDefines.xcconfig:
3291
3292 2017-08-03  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
3293
3294         [PAL] Move spi/cf directory into PAL
3295         https://bugs.webkit.org/show_bug.cgi?id=175057
3296
3297         Reviewed by Antti Koivisto.
3298
3299         * PAL.xcodeproj/project.pbxproj:
3300         * pal/spi/cf/CFLocaleSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFLocaleSPI.h.
3301         * pal/spi/cf/CFNetworkConnectionCacheSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFNetworkConnectionCacheSPI.h.
3302         * pal/spi/cf/CFNetworkSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFNetworkSPI.h.
3303         * pal/spi/cf/CFUtilitiesSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFUtilitiesSPI.h.
3304         * pal/spi/cf/CoreAudioSPI.h: Renamed from Source/WebCore/platform/spi/cf/CoreAudioSPI.h.
3305         * pal/spi/cf/CoreMediaSPI.h: Renamed from Source/WebCore/platform/spi/cf/CoreMediaSPI.h.
3306
3307 2017-08-03  Youenn Fablet  <youenn@apple.com>
3308
3309         Remove FETCH_API compilation guard
3310         https://bugs.webkit.org/show_bug.cgi?id=175154
3311
3312         Reviewed by Chris Dumez.
3313
3314         * Configurations/FeatureDefines.xcconfig:
3315
3316 2017-08-03  Brady Eidson  <beidson@apple.com>
3317
3318         Add SW IDLs and stub out basic functionality.
3319         https://bugs.webkit.org/show_bug.cgi?id=175115
3320
3321         Reviewed by Chris Dumez.
3322
3323         * Configurations/FeatureDefines.xcconfig:
3324
3325 2017-08-03  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
3326
3327         [WebCore] Sort Xcode project files
3328         https://bugs.webkit.org/show_bug.cgi?id=175121
3329
3330         Reviewed by Antti Koivisto.
3331
3332         * PAL.xcodeproj/project.pbxproj:
3333
3334 2017-08-01  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
3335
3336         [PAL][Win] Copy forwarding headers
3337         https://bugs.webkit.org/show_bug.cgi?id=175012
3338
3339         Reviewed by Myles C. Maxfield.
3340
3341         * pal/PlatformAppleWin.cmake: Added.
3342         * pal/PlatformWin.cmake:
3343         * pal/PlatformWinCairo.cmake: Added.
3344
3345 2017-07-26  Brian Burg  <bburg@apple.com>
3346
3347         Remove WEB_TIMING feature flag
3348         https://bugs.webkit.org/show_bug.cgi?id=174795
3349
3350         Reviewed by Alex Christensen.
3351
3352         * Configurations/FeatureDefines.xcconfig:
3353
3354 2017-07-24  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3355
3356         [CMake] libtasn1 should not be required when not enabling subtle_crypto
3357         https://bugs.webkit.org/show_bug.cgi?id=174785
3358
3359         Reviewed by Žan Doberšek.
3360
3361         * pal/PlatformGTK.cmake:
3362         * pal/PlatformWPE.cmake:
3363
3364 2017-07-18  Andy Estes  <aestes@apple.com>
3365
3366         [Xcode] Enable CLANG_WARN_RANGE_LOOP_ANALYSIS
3367         https://bugs.webkit.org/show_bug.cgi?id=174631
3368
3369         Reviewed by Tim Horton.
3370
3371         * Configurations/Base.xcconfig:
3372
3373 2017-07-18  Andy Estes  <aestes@apple.com>
3374
3375         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
3376         https://bugs.webkit.org/show_bug.cgi?id=174631
3377
3378         Reviewed by Sam Weinig.
3379
3380         * Configurations/Base.xcconfig:
3381
3382 2017-07-18  Andy Estes  <aestes@apple.com>
3383
3384         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
3385         https://bugs.webkit.org/show_bug.cgi?id=174631
3386
3387         Reviewed by Dan Bernstein.
3388
3389         * Configurations/Base.xcconfig:
3390
3391 2017-07-18  Andy Estes  <aestes@apple.com>
3392
3393         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
3394         https://bugs.webkit.org/show_bug.cgi?id=174631
3395
3396         Reviewed by Darin Adler.
3397
3398         * Configurations/Base.xcconfig:
3399
3400 2017-07-17  Konstantin Tokarev  <annulen@yandex.ru>
3401
3402         [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
3403         https://bugs.webkit.org/show_bug.cgi?id=174557
3404
3405         Reviewed by Michael Catanzaro.
3406
3407         No new tests needed.
3408
3409         * pal/CMakeLists.txt:
3410
3411 2017-07-13  Per Arne Vollan  <pvollan@apple.com>
3412
3413         [Win] Build error when building WebCore from WebCore.proj project file.
3414         https://bugs.webkit.org/show_bug.cgi?id=174462
3415
3416         Reviewed by Brent Fulgham.
3417
3418         Add required include directory to list of include directories.
3419  
3420         * pal/CMakeLists.txt:
3421         * pal/PlatformWin.cmake:
3422
3423 2017-07-12  Matt Lewis  <jlewis3@apple.com>
3424
3425         Unreviewed, rolling out r219401.
3426
3427         This revision rolled out the previous patch, but after talking
3428         with reviewer, a rebaseline is what was needed.Rolling back in
3429         before rebaseline.
3430
3431         Reverted changeset:
3432
3433         "Unreviewed, rolling out r219379."
3434         https://bugs.webkit.org/show_bug.cgi?id=174400
3435         http://trac.webkit.org/changeset/219401
3436
3437 2017-07-12  Matt Lewis  <jlewis3@apple.com>
3438
3439         Unreviewed, rolling out r219379.
3440
3441         This revision caused a consistent failure in the test
3442         fast/dom/Window/property-access-on-cached-window-after-frame-
3443         removed.html.
3444
3445         Reverted changeset:
3446
3447         "Remove NAVIGATOR_HWCONCURRENCY"
3448         https://bugs.webkit.org/show_bug.cgi?id=174400
3449         http://trac.webkit.org/changeset/219379
3450
3451 2017-07-11  Per Arne Vollan  <pvollan@apple.com>
3452
3453         [Win] Build error when building WebKit.dll from WebKit.proj project file.
3454         https://bugs.webkit.org/show_bug.cgi?id=174410
3455
3456         Reviewed by Brent Fulgham.
3457
3458         Copy required header files to forwarding headers folder.
3459
3460         * pal/PlatformWin.cmake:
3461
3462 2017-07-11  Dean Jackson  <dino@apple.com>
3463
3464         Remove NAVIGATOR_HWCONCURRENCY
3465         https://bugs.webkit.org/show_bug.cgi?id=174400
3466
3467         Reviewed by Sam Weinig.
3468
3469         * Configurations/FeatureDefines.xcconfig:
3470
3471 2017-07-11  Dean Jackson  <dino@apple.com>
3472
3473         Rolling out r219372.
3474
3475         * Configurations/FeatureDefines.xcconfig:
3476
3477 2017-07-11  Dean Jackson  <dino@apple.com>
3478
3479         Remove NAVIGATOR_HWCONCURRENCY
3480         https://bugs.webkit.org/show_bug.cgi?id=174400
3481
3482         Reviewed by Sam Weinig.
3483
3484         * Configurations/FeatureDefines.xcconfig:
3485
3486 2017-07-11  Per Arne Vollan  <pvollan@apple.com>
3487
3488         [Win] Build error when building WebCore from WebCore.proj project file.
3489         https://bugs.webkit.org/show_bug.cgi?id=174330
3490
3491         Reviewed by Brent Fulgham.
3492
3493         CMAKE_BINARY_DIR is needed in the include list in order to find 'cmakeconfig.h'. 
3494
3495         * pal/CMakeLists.txt:
3496
3497 2017-07-03  Brian Burg  <bburg@apple.com>
3498
3499         Web Replay: remove some unused code
3500         https://bugs.webkit.org/show_bug.cgi?id=173903
3501
3502         Rubber-stamped by Joseph Pecoraro.
3503
3504         * Configurations/FeatureDefines.xcconfig:
3505
3506 2017-07-08  Yusuke Suzuki  <utatane.tea@gmail.com>
3507
3508         Drop NOSNIFF compile flag
3509         https://bugs.webkit.org/show_bug.cgi?id=174289
3510
3511         Reviewed by Michael Catanzaro.
3512
3513         * Configurations/FeatureDefines.xcconfig:
3514
3515 2017-07-06  Don Olmstead  <don.olmstead@sony.com>
3516
3517         [PAL] Move KillRing into PAL
3518         https://bugs.webkit.org/show_bug.cgi?id=173900
3519
3520         Reviewed by Myles C. Maxfield.
3521
3522         No new tests. No change in functionality.
3523
3524         * Configurations/PAL.xcconfig:
3525         * PAL.xcodeproj/project.pbxproj:
3526         * pal/CMakeLists.txt:
3527         * pal/PlatformGTK.cmake:
3528         * pal/PlatformMac.cmake:
3529         * pal/PlatformWPE.cmake:
3530         * pal/PlatformWin.cmake:
3531         * pal/text/KillRing.h: Renamed from Source/WebCore/platform/KillRing.h.
3532         * pal/text/KillRingNone.cpp: Renamed from Source/WebCore/platform/KillRingNone.cpp.
3533         * pal/text/mac/KillRingMac.mm: Renamed from Source/WebCore/platform/mac/KillRingMac.mm.
3534
3535 2017-07-05  Jonathan Bedard  <jbedard@apple.com>
3536
3537         Add WebKitPrivateFrameworkStubs for iOS 11
3538         https://bugs.webkit.org/show_bug.cgi?id=173988
3539
3540         Reviewed by David Kilzer.
3541
3542         * Configurations/PAL.xcconfig: iphoneos and iphonesimulator should use the
3543         same directory for private framework stubs.
3544
3545 2017-07-03  Sam Weinig  <sam@webkit.org>
3546
3547         [WebIDL] Remove more unnecessary uses of the preprocessor in idl files
3548         https://bugs.webkit.org/show_bug.cgi?id=174083
3549
3550         Reviewed by Alex Christensen.
3551
3552         * Configurations/FeatureDefines.xcconfig:
3553         Add ENABLE_NAVIGATOR_STANDALONE.
3554
3555 2017-07-03  Andy Estes  <aestes@apple.com>
3556
3557         [Xcode] Add an experimental setting to build with ccache
3558         https://bugs.webkit.org/show_bug.cgi?id=173875
3559
3560         Reviewed by Tim Horton.
3561
3562         * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
3563
3564 2017-07-03  Zan Dobersek  <zdobersek@igalia.com>
3565
3566         [GCrypt] Implement CryptoKeyEC SPKI exports
3567         https://bugs.webkit.org/show_bug.cgi?id=173646
3568
3569         Reviewed by Jiewen Tan.
3570
3571         No new tests -- covered by existing Web Crypto tests.
3572
3573         Add three new libtasn1 utility functions.
3574
3575         createStructure() is a simple wrapper around asn1_create_element(), creating a new
3576         ASN.1 structure for the specified definition that's listed in WebCrypto.asn. The
3577         existing decodeStructure() is modified to use this new addition.
3578
3579         encodedData() retrieves the ASN.1-encoded data of the specified element that's
3580         located in the passed-in asn1_node. This is used when retrieving SPKI or PKCS#8
3581         data from filled-out ASN.1 structures.
3582
3583         writeElement() writes the provided data to the given asn1_node object under the
3584         specified element, using the given size. True is returned if this operation was
3585         successful.
3586
3587         * pal/crypto/tasn1/Utilities.cpp:
3588         (PAL::TASN1::createStructure):
3589         (PAL::TASN1::decodeStructure):
3590         (PAL::TASN1::encodedData):
3591         (PAL::TASN1::writeElement):
3592         * pal/crypto/tasn1/Utilities.h:
3593
3594 2017-07-01  Dan Bernstein  <mitz@apple.com>
3595
3596         [iOS] Remove code only needed when building for iOS 9.x
3597         https://bugs.webkit.org/show_bug.cgi?id=174068
3598
3599         Reviewed by Tim Horton.
3600
3601         * Configurations/FeatureDefines.xcconfig:
3602
3603 2017-07-01  Dan Bernstein  <mitz@apple.com>
3604
3605         [macOS] Remove code only needed when building for OS X Yosemite
3606         https://bugs.webkit.org/show_bug.cgi?id=174067
3607
3608         Reviewed by Tim Horton.
3609
3610         * Configurations/Base.xcconfig:
3611         * Configurations/DebugRelease.xcconfig:
3612         * Configurations/FeatureDefines.xcconfig:
3613         * Configurations/Version.xcconfig:
3614
3615 2017-06-29  Jer Noble  <jer.noble@apple.com>
3616
3617         Make Legacy EME API controlled by RuntimeEnabled setting.
3618         https://bugs.webkit.org/show_bug.cgi?id=173994
3619
3620         Reviewed by Sam Weinig.
3621
3622         * Configurations/FeatureDefines.xcconfig:
3623
3624 2017-06-30  Ross Kirsling  <ross.kirsling@sony.com>
3625
3626         [PAL] Move Sound into PAL
3627         https://bugs.webkit.org/show_bug.cgi?id=173999
3628
3629         Reviewed by Alex Christensen.
3630
3631         * Configurations/PAL.xcconfig:
3632         * PAL.xcodeproj/project.pbxproj:
3633         * pal/CMakeLists.txt:
3634         * pal/PlatformGTK.cmake:
3635         * pal/PlatformMac.cmake:
3636         * pal/PlatformWPE.cmake:
3637         * pal/PlatformWin.cmake:
3638         * pal/system/Sound.h: Renamed from Source/WebCore/platform/ios/SoundIOS.mm.
3639         * pal/system/SoundNone.cpp: Renamed from Source/WebCore/platform/wpe/SoundWPE.cpp.
3640         (PAL::systemBeep):
3641         * pal/system/gtk/SoundGtk.cpp: Renamed from Source/WebCore/platform/gtk/SoundGtk.cpp.
3642         * pal/system/mac/SoundMac.mm: Renamed from Source/WebCore/platform/mac/SoundMac.mm.
3643         * pal/system/win/SoundWin.cpp: Renamed from Source/WebCore/platform/win/SoundWin.cpp.
3644
3645 2017-06-28  Jonathan Bedard  <jbedard@apple.com>
3646
3647         Build fix for PAL
3648         https://bugs.webkit.org/show_bug.cgi?id=173896
3649
3650         Reviewed by Dan Bernstein.
3651
3652         Remove the workaround build fix in r218863.
3653
3654         * PAL.xcodeproj/project.pbxproj: We should be using PROJECT_DIR instead of SRCROOT
3655         when in a nested Xcode project.
3656
3657 2017-06-27  Jonathan Bedard  <jbedard@apple.com>
3658
3659         Build fix for PAL
3660         https://bugs.webkit.org/show_bug.cgi?id=173896
3661
3662         Reviewed by Myles C. Maxfield.
3663
3664         * PAL.xcodeproj/project.pbxproj: Ensure that the SRCROOT is WebCore/PAL and not
3665         just WebCore.
3666
3667 2017-06-27  Don Olmstead  <don.olmstead@sony.com>
3668
3669         [PAL] Add symbol export macros for PAL
3670         https://bugs.webkit.org/show_bug.cgi?id=171519
3671
3672         Reviewed by Konstantin Tokarev.
3673
3674         No new tests. No change in behavior.
3675
3676         * Configurations/CopyPALHeaders.xcconfig: Added.
3677         * PAL.xcodeproj/project.pbxproj:
3678         * config.h:
3679         * pal/ExportMacros.h: Copied from Source/WebCore/platform/PlatformExportMacros.h.
3680         * pal/PlatformWin.cmake:
3681         * pal/crypto/CryptoDigest.h:
3682
3683 2017-06-20  Zan Dobersek  <zdobersek@igalia.com>
3684
3685         [GCrypt] Implement CryptoKeyEC SPKI imports
3686         https://bugs.webkit.org/show_bug.cgi?id=172927
3687
3688         Reviewed by Jiewen Tan, Michael Catanzaro and Carlos Garcia Campos.
3689
3690         Add a file that provides utility functions for operating with libtasn1 APIs.
3691
3692         The precomputed ASN.1 declarations, generated from the WebCrypto.asn file with
3693         the asn1Parser tool, are used to enable construction of ASN.1 structures that
3694         are then used to decode the SPKI or PKCS#8 data through the decodeStructure()
3695         function. Raw data of each element in that structure can be retrieved throug the
3696         elementData() function.
3697
3698         The Structure class is added as a wrapper for asn1_node objects that are used
3699         as decoding targets, simplifying lifetime management of these objects.
3700
3701         * pal/PlatformGTK.cmake:
3702         * pal/PlatformWPE.cmake:
3703         * pal/crypto/tasn1/Utilities.cpp: Added.
3704         (PAL::TASN1::asn1Definitions):
3705         (PAL::TASN1::decodeStructure):
3706         (PAL::TASN1::elementData):
3707         * pal/crypto/tasn1/Utilities.h: Added.
3708         (PAL::TASN1::Structure::~Structure):
3709         (PAL::TASN1::Structure::operator&):
3710         (PAL::TASN1::Structure::operator asn1_node):
3711         * pal/crypto/tasn1/WebCrypto.asn: Added.
3712
3713 2017-06-20  Myles C. Maxfield  <mmaxfield@apple.com>
3714
3715         Disable font variations on macOS Sierra and iOS 10
3716         https://bugs.webkit.org/show_bug.cgi?id=173618
3717         <rdar://problem/32879164>
3718
3719         Reviewed by Jon Lee.
3720
3721         * Configurations/FeatureDefines.xcconfig:
3722
3723 2017-06-19  Zan Dobersek  <zdobersek@igalia.com>
3724
3725         Unreviewed build fix after r218484.
3726
3727         * pal/crypto/gcrypt/Utilities.h: Drop the GCrypt prefix from the
3728         GCryptCipherOperation type definition, since it's already nested
3729         in the PAL::GCrypt namespace.
3730
3731 2017-06-19  Zan Dobersek  <zdobersek@igalia.com>
3732
3733         [GCrypt] AES_CTR support
3734         https://bugs.webkit.org/show_bug.cgi?id=171420
3735
3736         Reviewed by Michael Catanzaro.
3737
3738         * pal/crypto/gcrypt/Utilities.h: Add a GCryptCipherOperation type alias that can be used
3739         for the gcry_cipher_decrypt or gcry_cipher_encrypt function pointers.
3740
3741 2017-06-16  Wenson Hsieh  <wenson_hsieh@apple.com>
3742
3743         [iOS DnD] Upstream iOS drag and drop implementation into OpenSource WebKit
3744         https://bugs.webkit.org/show_bug.cgi?id=173366
3745         <rdar://problem/32767014>
3746
3747         Reviewed by Tim Horton.
3748
3749         Introduce ENABLE_DATA_INTERACTION and ENABLE_DRAG_SUPPORT to FeatureDefines.xcconfig.
3750
3751         * Configurations/FeatureDefines.xcconfig:
3752
3753 2017-06-10  Dan Bernstein  <mitz@apple.com>
3754
3755         Reverted r218056 because it made the IDE reindex constantly.
3756
3757         * Configurations/DebugRelease.xcconfig:
3758
3759 2017-06-10  Dan Bernstein  <mitz@apple.com>
3760
3761         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
3762         https://bugs.webkit.org/show_bug.cgi?id=173223
3763
3764         Reviewed by Sam Weinig.
3765
3766         The rebuilds were happening due to a difference in the compiler options that the IDE and
3767         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
3768         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
3769         specify an appropriate path in CLANG_INDEX_STORE_PATH.
3770
3771         * Configurations/DebugRelease.xcconfig:
3772
3773 2017-06-01  Andy Estes  <aestes@apple.com>
3774
3775         REGRESSION (r217626): ENABLE_APPLE_PAY_SESSION_V3 was disabled by mistake
3776         https://bugs.webkit.org/show_bug.cgi?id=172828
3777
3778         Reviewed by Beth Dakin.
3779
3780         * Configurations/FeatureDefines.xcconfig:
3781
3782 2017-05-31  Andy Estes  <aestes@apple.com>
3783
3784         Rename ENABLE_APPLE_PAY_DELEGATE to ENABLE_APPLE_PAY_SESSION_V3 and bump the supported version number
3785         https://bugs.webkit.org/show_bug.cgi?id=172366
3786
3787         Reviewed by Daniel Bates.
3788
3789         * Configurations/FeatureDefines.xcconfig:
3790
3791 2017-05-30  Alex Christensen  <achristensen@webkit.org>
3792
3793         Update libwebrtc configuration
3794         https://bugs.webkit.org/show_bug.cgi?id=172727
3795
3796         Reviewed by Geoffrey Garen.
3797
3798         * Configurations/FeatureDefines.xcconfig:
3799
3800 2017-05-28  Dan Bernstein  <mitz@apple.com>
3801
3802         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES
3803         https://bugs.webkit.org/show_bug.cgi?id=172691
3804
3805         Reviewed by Tim Horton.
3806
3807         * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO.
3808
3809 2017-05-23  Myles C. Maxfield  <mmaxfield@apple.com>
3810
3811         Remove dead ENABLE(FONT_LOAD_EVENTS) code
3812         https://bugs.webkit.org/show_bug.cgi?id=172517
3813
3814         Rubber-stamped by Simon Fraser.
3815
3816         No new tests because there is no behavior change.
3817
3818         * Configurations/FeatureDefines.xcconfig:
3819
3820 2017-05-18  Andy Estes  <aestes@apple.com>
3821
3822         ENABLE(APPLE_PAY_DELEGATE) should be NO on macOS Sierra and earlier
3823         https://bugs.webkit.org/show_bug.cgi?id=172305
3824
3825         Reviewed by Anders Carlsson.
3826
3827         * Configurations/FeatureDefines.xcconfig:
3828
3829 2017-05-09  Sam Weinig  <sam@webkit.org>
3830
3831         Remove support for legacy Notifications
3832         https://bugs.webkit.org/show_bug.cgi?id=171487
3833
3834         Reviewed by Jon Lee.
3835
3836         * Configurations/FeatureDefines.xcconfig:
3837         Remove definition of ENABLE_LEGACY_NOTIFICATIONS.
3838
3839 2017-05-09  Zan Dobersek  <zdobersek@igalia.com>
3840
3841         Upstream the WPE port
3842         https://bugs.webkit.org/show_bug.cgi?id=171110
3843
3844         Reviewed by Alex Christensen.
3845
3846         * pal/PlatformWPE.cmake: Added.
3847
3848 2017-05-04  Commit Queue  <commit-queue@webkit.org>
3849
3850         Unreviewed, rolling out r216206.
3851         https://bugs.webkit.org/show_bug.cgi?id=171714
3852
3853         Multiple LayoutTests crashing in Document::page() (Requested
3854         by ap on #webkit).
3855
3856         Reverted changeset:
3857
3858         "Remove support for legacy Notifications"
3859         https://bugs.webkit.org/show_bug.cgi?id=171487
3860         http://trac.webkit.org/changeset/216206
3861
3862 2017-05-04  Don Olmstead  <don.olmstead@am.sony.com>
3863
3864         [Win] Remove redundant macros that are set in the CMake config
3865         https://bugs.webkit.org/show_bug.cgi?id=171571
3866
3867         Reviewed by Brent Fulgham.
3868
3869         No new tests. No change in behavior.
3870
3871         * config.h:
3872
3873 2017-05-04  Sam Weinig  <sam@webkit.org>
3874
3875         Remove support for legacy Notifications
3876         https://bugs.webkit.org/show_bug.cgi?id=171487
3877
3878         Reviewed by Jon Lee.
3879
3880         * Configurations/FeatureDefines.xcconfig:
3881         Remove definition of ENABLE_LEGACY_NOTIFICATIONS.
3882
3883 2017-05-02  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
3884
3885         Make "PAL/pal" and "PAL/pal/crypto" directories private
3886         https://bugs.webkit.org/show_bug.cgi?id=171524
3887
3888         Reviewed by Myles C. Maxfield.
3889
3890         Make the "PAL/pal" and "PAL/pal/crypto" directories private to force WebCore sources 
3891         to include PAL headers in "#include <pal/***.h>" style.
3892
3893         * pal/CMakeLists.txt:
3894
3895 2017-05-01  Zan Dobersek  <zdobersek@igalia.com>
3896
3897         [GCrypt] ECDH bit derivation support
3898         https://bugs.webkit.org/show_bug.cgi?id=171070
3899
3900         Reviewed by Michael Catanzaro.
3901
3902         Add PAL::GCrypt::HandleDeleter specialization for the
3903         gcry_mpi_point_t type.
3904
3905         * pal/crypto/gcrypt/Handle.h:
3906         (PAL::GCrypt::HandleDeleter<gcry_mpi_point_t>::operator()):
3907
3908 2017-04-25  Daniel Bates  <dabates@apple.com>
3909
3910         [Cocoa][Win] Enable of X-Content-Type-Options: nosniff header
3911         https://bugs.webkit.org/show_bug.cgi?id=136452
3912         <rdar://problem/23412620>
3913
3914         Reviewed by Brent Fulgham.
3915
3916         Enable X-Content-Type-Options: nosniff on Mac, iOS and Windows platforms.
3917
3918         * Configurations/FeatureDefines.xcconfig:
3919
3920 2017-04-19  Youenn Fablet  <youenn@apple.com>
3921
3922         [Mac] Allow customizing H264 encoder
3923         https://bugs.webkit.org/show_bug.cgi?id=170829
3924
3925         Reviewed by Alex Christensen.
3926
3927         * Configurations/FeatureDefines.xcconfig:
3928
3929 2017-04-17  Youenn Fablet  <youenn@apple.com>
3930
3931         Disable outdated WritableStream API
3932         https://bugs.webkit.org/show_bug.cgi?id=170749
3933         <rdar://problem/31446233>
3934
3935         Reviewed by Alex Christensen.
3936
3937         * Configurations/FeatureDefines.xcconfig:
3938
3939 2017-04-14  Mark Lam  <mark.lam@apple.com>
3940
3941         Update architectures in xcconfig files.
3942         https://bugs.webkit.org/show_bug.cgi?id=170867
3943         <rdar://problem/31628104>
3944
3945         Reviewed by Joseph Pecoraro.
3946
3947         No new tests needed.  Only updating xcconfig files.
3948
3949         * Configurations/Base.xcconfig:
3950         * Configurations/FeatureDefines.xcconfig:
3951
3952 2017-04-12  Dan Bernstein  <mitz@apple.com>
3953
3954         [Mac] Future-proof .xcconfig files
3955         https://bugs.webkit.org/show_bug.cgi?id=170802
3956
3957         Reviewed by Tim Horton.
3958
3959         * Configurations/Base.xcconfig:
3960         * Configurations/DebugRelease.xcconfig:
3961         * Configurations/FeatureDefines.xcconfig:
3962         * Configurations/Version.xcconfig:
3963
3964 2017-04-11  Dean Jackson  <dino@apple.com>
3965
3966         Disable outdated WritableStream API
3967         https://bugs.webkit.org/show_bug.cgi?id=170749
3968         <rdar://problem/31446233>
3969
3970         Reviewed by Tim Horton.
3971
3972         The API we implement is no longer accurate. Disable it until we
3973         are compatible with the new specification
3974
3975         * Configurations/FeatureDefines.xcconfig:
3976
3977 2017-04-10  Alex Christensen  <achristensen@webkit.org>
3978
3979         Revert r215217
3980         https://bugs.webkit.org/show_bug.cgi?id=170703
3981
3982         * Configurations/FeatureDefines.xcconfig:
3983
3984 2017-04-10  Alex Christensen  <achristensen@webkit.org>
3985
3986         Continue enabling WebRTC
3987         https://bugs.webkit.org/show_bug.cgi?id=170703
3988
3989         Reviewed by Youenn Fablet.
3990
3991         * Configurations/FeatureDefines.xcconfig:
3992
3993 2017-04-08  Youenn Fablet  <youenn@apple.com>
3994
3995         WebRTC tests gardening
3996         https://bugs.webkit.org/show_bug.cgi?id=170508
3997
3998         Reviewed by Eric Carlson.
3999
4000         * Configurations/FeatureDefines.xcconfig:
4001
4002 2017-04-07  Zan Dobersek  <zdobersek@igalia.com>
4003
4004         [GCrypt] Implement raw and JWK imports and exports for EC keys
4005         https://bugs.webkit.org/show_bug.cgi?id=170546
4006
4007         Reviewed by Michael Catanzaro.
4008
4009         Add HandleDeleter specizalizations for gcry_ctx_t and gcry_mpi_t types.
4010
4011         * pal/crypto/gcrypt/Handle.h:
4012         (PAL::GCrypt::HandleDeleter<gcry_ctx_t>::operator()):
4013         (PAL::GCrypt::HandleDeleter<gcry_mpi_t>::operator()):
4014
4015 2017-04-06  Ryan Haddad  <ryanhaddad@apple.com>
4016
4017         Unreviewed, rolling out r215046.
4018
4019         This change broke internal builds.
4020
4021         Reverted changeset:
4022
4023         "WebRTC tests gardening"
4024         https://bugs.webkit.org/show_bug.cgi?id=170508
4025         http://trac.webkit.org/changeset/215046
4026
4027 2017-04-06  Youenn Fablet  <youenn@apple.com>
4028
4029         WebRTC tests gardening
4030         https://bugs.webkit.org/show_bug.cgi?id=170508
4031
4032         Reviewed by Eric Carlson.
4033
4034         * Configurations/FeatureDefines.xcconfig:
4035
4036 2017-04-03  Michael Catanzaro  <mcatanzaro@igalia.com>
4037
4038         Unreviewed, attempt to fix build with libgcrypt < 1.7.0
4039
4040         * pal/crypto/gcrypt/Utilities.h:
4041
4042 2017-04-03  Zan Dobersek  <zdobersek@igalia.com>
4043
4044         [GCrypt] Implement CryptoKeyEC::keySizeInBits(), ::platformGeneratePair()
4045         https://bugs.webkit.org/show_bug.cgi?id=170345
4046
4047         Reviewed by Michael Catanzaro.
4048
4049         * pal/crypto/gcrypt/Handle.h:
4050         (PAL::GCrypt::HandleDeleter<gcry_sexp_t>::operator()): Add a HandleDeleter
4051         specialization for the gcry_sexp_t type.
4052
4053 2017-04-03  Zan Dobersek  <zdobersek@igalia.com>
4054
4055         [GCrypt] Implement AES_GCM support
4056         https://bugs.webkit.org/show_bug.cgi?id=170271
4057
4058         Reviewed by Michael Catanzaro.
4059
4060         * pal/crypto/gcrypt/Handle.h:
4061         (PAL::GCrypt::HandleDeleter<gcry_cipher_hd_t>::operator()): Specialize
4062         the HandleDeleter<> template for the gcry_cipher_hd_t type.
4063
4064 2017-03-30  Zan Dobersek  <zdobersek@igalia.com>
4065
4066         [GCrypt] Add the Utilities.h header
4067         https://bugs.webkit.org/show_bug.cgi?id=170269
4068
4069         Reviewed by Michael Catanzaro.
4070
4071         Add a libgcrypt-specific Utilities.h header under PAL. It will contain
4072         common functions that are shared throughout the code that leverages
4073         libgcrypt.
4074
4075         * pal/crypto/gcrypt/Utilities.h: Added.
4076         (PAL::GCrypt::logError): Use WTFLogAlways() to report the passed-in libgcrypt error.
4077         (PAL::GCrypt::aesAlgorithmForKeySize): Return a GCRY_CIPHER_AES{128,192,256} value
4078         that matches up with the passed-in key size.
4079
4080 2017-03-29  Zan Dobersek  <zdobersek@igalia.com>
4081
4082         [GCrypt] Add a Handle<> class to help with GCrypt object lifetime control
4083         https://bugs.webkit.org/show_bug.cgi?id=170238
4084
4085         Reviewed by Michael Catanzaro.
4086
4087         Add a GCrypt-specific Handle<> template class, inside the GCrypt namespace.
4088         Objects of this class should be used as 'smart handles', cleaning up upon
4089         destruction the GCrypt object that's represented by the handle they manage.
4090
4091         This mimics the std::unique_ptr<> idea, but is narrowly focused towards
4092         how such handles are used in the libgcrypt API. A GCrypt::Handle<> object
4093         can be consturcted from an existing handle or with the default null value.
4094         It can be cleared upon request via clear(), and the managed handle can be
4095         released via release().
4096
4097         The address of the managed handle can be retrieved through the address-of
4098         operator. An implicit conversion operator is also added. This allows
4099         frictionless use of GCrypt::Handle<> objects with existing libgcrypt APIs.
4100
4101         The negation operator is implemented to support testing the nullness of
4102         the managed handle. The raw handle value is also retrieveable through
4103         the handle() method.
4104
4105         The copy and move constructors and assignment operators are deleted.
4106         They are not at the moment required anywhere in the work-in-progress
4107         implementation of subtle crypto functionality.
4108
4109         As with other resource management classes, upon destruction, the
4110         GCrypt::Handle<> object destroys the resource it manages. This is done
4111         through objects of the HandleDeleter<> template class. Specializations
4112         of this class have to implement the call operator that properly
4113         releases the resource. Because the operator is deleted by default,
4114         a compilation error will be thrown when deleting a resource of some
4115         type for which the proper HandleDeleter specialization isn't provided.
4116
4117         std::unique_ptr<> could be used, but it could also be mis-used. I find
4118         a mini-class with an interface that's specific to libgcrypt API
4119         interactions to be preferrable to a std::unique_ptr<> with a custom
4120         deleter.
4121
4122         * pal/crypto/gcrypt/Handle.h: Added.
4123         (PAL::GCrypt::Handle::Handle):
4124         (PAL::GCrypt::Handle::~Handle):
4125         (PAL::GCrypt::Handle::clear):
4126         (PAL::GCrypt::Handle::release):
4127         (PAL::GCrypt::Handle::operator&):
4128         (PAL::GCrypt::Handle::handle):
4129         (PAL::GCrypt::Handle::operator T):
4130         (PAL::GCrypt::Handle::operator!):
4131         (PAL::GCrypt::HandleDeleter<gcry_mac_hd_t>::operator()):
4132
4133 2017-03-29  Zan Dobersek  <zdobersek@igalia.com>
4134
4135         [GnuTLS] Remove unused CryptoDigestGnuTLS, CryptoAlgorithmHMACGnuTLS implementation files
4136         https://bugs.webkit.org/show_bug.cgi?id=170231
4137
4138         Reviewed by Michael Catanzaro.
4139
4140         * pal/crypto/gnutls/CryptoDigestGnuTLS.cpp: Removed. The GCrypt counterpart
4141         is already in use, and this file wasn't even being built.
4142
4143 2017-03-17  Michael Saboff  <msaboff@apple.com>
4144
4145         Use USE_INTERNAL_SDK to compute ENABLE_FAST_JIT_PERMISSIONS instead of HAVE_INTERNAL_SDK
4146         https://bugs.webkit.org/show_bug.cgi?id=169817
4147
4148         Reviewed by Filip Pizlo.
4149
4150         * Configurations/FeatureDefines.xcconfig:
4151
4152 2017-03-15  Dean Jackson  <dino@apple.com>
4153
4154         Sort Xcode project files
4155         https://bugs.webkit.org/show_bug.cgi?id=169669
4156
4157         Reviewed by Antoine Quint.
4158
4159         * PAL.xcodeproj/project.pbxproj:
4160
4161 2017-03-10  Alex Christensen  <achristensen@webkit.org>
4162
4163         Fix watch and tv builds after r213294
4164         https://bugs.webkit.org/show_bug.cgi?id=169508
4165
4166         Reviewed by Dan Bernstein.
4167
4168         * Configurations/FeatureDefines.xcconfig:
4169
4170 2017-03-09  Anders Carlsson  <andersca@apple.com>
4171
4172         Add delegate support to WebCore
4173         https://bugs.webkit.org/show_bug.cgi?id=169427
4174         Part of rdar://problem/28880714.
4175
4176         Reviewed by Geoffrey Garen.
4177
4178         * Configurations/FeatureDefines.xcconfig:
4179         Add feature define.
4180
4181 2017-03-07  Dean Jackson  <dino@apple.com>
4182
4183         Some platforms won't be able to create a GPUDevice
4184         https://bugs.webkit.org/show_bug.cgi?id=169314
4185         <rdar://problems/30907521>
4186
4187         Reviewed by Jon Lee.
4188
4189         Disable WEB_GPU on the iOS Simulator.
4190
4191         * Configurations/FeatureDefines.xcconfig:
4192
4193 2017-03-06  Michael Saboff  <msaboff@apple.com>
4194
4195         Take advantage of fast permissions switching of JIT memory for devices that support it
4196         https://bugs.webkit.org/show_bug.cgi?id=169155
4197
4198         Reviewed by Saam Barati.
4199
4200         Updated the Xcode config files to match what is in the JavaScriptCore ones.
4201
4202         * Configurations/FeatureDefines.xcconfig:
4203
4204 2017-03-03  Dean Jackson  <dino@apple.com>
4205
4206         Add WebGPU compile flag and experimental feature flag
4207         https://bugs.webkit.org/show_bug.cgi?id=169161
4208         <rdar://problem/30846689>
4209
4210         Reviewed by Tim Horton.
4211
4212         Add ENABLE_WEBGPU, an experimental feature flag, a RuntimeEnabledFeature,
4213         and an InternalSetting.
4214
4215         * Configurations/FeatureDefines.xcconfig:
4216
4217 2017-03-02  Alex Christensen  <achristensen@webkit.org>
4218
4219         Continue enabling WebRTC
4220         https://bugs.webkit.org/show_bug.cgi?id=169056
4221
4222         Reviewed by Jon Lee.
4223
4224         * Configurations/FeatureDefines.xcconfig:
4225
4226 2017-03-01  Alex Christensen  <achristensen@webkit.org>
4227
4228         Unreviewed, rolling out r213259.
4229
4230         Broke an internal build
4231
4232         Reverted changeset:
4233
4234         "Continue enabling WebRTC"
4235         https://bugs.webkit.org/show_bug.cgi?id=169056
4236         http://trac.webkit.org/changeset/213259
4237
4238 2017-03-01  Alex Christensen  <achristensen@webkit.org>
4239
4240         Continue enabling WebRTC
4241         https://bugs.webkit.org/show_bug.cgi?id=169056
4242
4243         Reviewed by Jon Lee.
4244
4245         * Configurations/FeatureDefines.xcconfig:
4246
4247 2017-02-27  Alex Christensen  <achristensen@webkit.org>
4248
4249         Begin enabling WebRTC on 64-bit
4250         https://bugs.webkit.org/show_bug.cgi?id=168915
4251
4252         Reviewed by Eric Carlson.
4253
4254         * Configurations/FeatureDefines.xcconfig:
4255
4256 2017-02-27  Alex Christensen  <achristensen@webkit.org>
4257
4258         [libwebrtc] Enable WebRTC in some Production Builds
4259         https://bugs.webkit.org/show_bug.cgi?id=168858
4260
4261         * Configurations/FeatureDefines.xcconfig:
4262
4263 2017-02-21  Youenn Fablet  <youenn@apple.com>
4264
4265         [WebRTC][Mac] Activate libwebrtc
4266         https://bugs.webkit.org/show_bug.cgi?id=167293
4267
4268         Reviewed by Alex Christensen.
4269
4270         * Configurations/FeatureDefines.xcconfig:
4271
4272 2017-02-20  Manuel Rego Casasnovas  <rego@igalia.com>
4273
4274         [css-grid] Remove compilation flag ENABLE_CSS_GRID_LAYOUT
4275         https://bugs.webkit.org/show_bug.cgi?id=167693
4276
4277         Reviewed by Sergio Villar Senin.
4278
4279         * Configurations/FeatureDefines.xcconfig:
4280
4281 2017-02-16  Anders Carlsson  <andersca@apple.com>
4282
4283         Begin removing EFL code from WebCore.
4284
4285         Rubber-stamped by Alex Christensen.
4286
4287         * pal/PlatformEfl.cmake: Removed.
4288
4289 2017-01-28  Dan Bernstein  <mitz@apple.com>
4290
4291         [Xcode] Clean up PAL and WebCore’s build settings a little