[iOS DnD] ENABLE_DRAG_SUPPORT should be turned off for iOS 10 and enabled by default
[WebKit-https.git] / Source / WebCore / PAL / ChangeLog
1 2017-08-09  Wenson Hsieh  <wenson_hsieh@apple.com>
2
3         [iOS DnD] ENABLE_DRAG_SUPPORT should be turned off for iOS 10 and enabled by default
4         https://bugs.webkit.org/show_bug.cgi?id=175392
5         <rdar://problem/33783207>
6
7         Reviewed by Tim Horton and Megan Gardner.
8
9         Tweak FeatureDefines to enable drag and drop by default, and disable only on unsupported platforms (i.e. iOS 10).
10
11         * Configurations/FeatureDefines.xcconfig:
12
13 2017-08-07  Brian Burg  <bburg@apple.com>
14
15         Remove CANVAS_PATH compilation guard
16         https://bugs.webkit.org/show_bug.cgi?id=175207
17
18         Reviewed by Sam Weinig.
19
20         * Configurations/FeatureDefines.xcconfig:
21
22 2017-08-04  Matt Lewis  <jlewis3@apple.com>
23
24         Unreviewed, rolling out r220271.
25
26         Rolling out due to Layout Test failing on iOS Simulator.
27
28         Reverted changeset:
29
30         "Remove STREAMS_API compilation guard"
31         https://bugs.webkit.org/show_bug.cgi?id=175165
32         http://trac.webkit.org/changeset/220271
33
34 2017-08-04  Youenn Fablet  <youenn@apple.com>
35
36         Remove STREAMS_API compilation guard
37         https://bugs.webkit.org/show_bug.cgi?id=175165
38
39         Reviewed by Darin Adler.
40
41         * Configurations/FeatureDefines.xcconfig:
42
43 2017-08-03  Brian Burg  <bburg@apple.com>
44
45         Remove ENABLE(WEB_SOCKET) guards
46         https://bugs.webkit.org/show_bug.cgi?id=167044
47
48         Reviewed by Joseph Pecoraro.
49
50         * Configurations/FeatureDefines.xcconfig:
51
52 2017-08-03  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
53
54         [PAL] Move spi/cf directory into PAL
55         https://bugs.webkit.org/show_bug.cgi?id=175057
56
57         Reviewed by Antti Koivisto.
58
59         * PAL.xcodeproj/project.pbxproj:
60         * pal/spi/cf/CFLocaleSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFLocaleSPI.h.
61         * pal/spi/cf/CFNetworkConnectionCacheSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFNetworkConnectionCacheSPI.h.
62         * pal/spi/cf/CFNetworkSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFNetworkSPI.h.
63         * pal/spi/cf/CFUtilitiesSPI.h: Renamed from Source/WebCore/platform/spi/cf/CFUtilitiesSPI.h.
64         * pal/spi/cf/CoreAudioSPI.h: Renamed from Source/WebCore/platform/spi/cf/CoreAudioSPI.h.
65         * pal/spi/cf/CoreMediaSPI.h: Renamed from Source/WebCore/platform/spi/cf/CoreMediaSPI.h.
66
67 2017-08-03  Youenn Fablet  <youenn@apple.com>
68
69         Remove FETCH_API compilation guard
70         https://bugs.webkit.org/show_bug.cgi?id=175154
71
72         Reviewed by Chris Dumez.
73
74         * Configurations/FeatureDefines.xcconfig:
75
76 2017-08-03  Brady Eidson  <beidson@apple.com>
77
78         Add SW IDLs and stub out basic functionality.
79         https://bugs.webkit.org/show_bug.cgi?id=175115
80
81         Reviewed by Chris Dumez.
82
83         * Configurations/FeatureDefines.xcconfig:
84
85 2017-08-03  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
86
87         [WebCore] Sort Xcode project files
88         https://bugs.webkit.org/show_bug.cgi?id=175121
89
90         Reviewed by Antti Koivisto.
91
92         * PAL.xcodeproj/project.pbxproj:
93
94 2017-08-01  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
95
96         [PAL][Win] Copy forwarding headers
97         https://bugs.webkit.org/show_bug.cgi?id=175012
98
99         Reviewed by Myles C. Maxfield.
100
101         * pal/PlatformAppleWin.cmake: Added.
102         * pal/PlatformWin.cmake:
103         * pal/PlatformWinCairo.cmake: Added.
104
105 2017-07-26  Brian Burg  <bburg@apple.com>
106
107         Remove WEB_TIMING feature flag
108         https://bugs.webkit.org/show_bug.cgi?id=174795
109
110         Reviewed by Alex Christensen.
111
112         * Configurations/FeatureDefines.xcconfig:
113
114 2017-07-24  Carlos Alberto Lopez Perez  <clopez@igalia.com>
115
116         [CMake] libtasn1 should not be required when not enabling subtle_crypto
117         https://bugs.webkit.org/show_bug.cgi?id=174785
118
119         Reviewed by Žan Doberšek.
120
121         * pal/PlatformGTK.cmake:
122         * pal/PlatformWPE.cmake:
123
124 2017-07-18  Andy Estes  <aestes@apple.com>
125
126         [Xcode] Enable CLANG_WARN_RANGE_LOOP_ANALYSIS
127         https://bugs.webkit.org/show_bug.cgi?id=174631
128
129         Reviewed by Tim Horton.
130
131         * Configurations/Base.xcconfig:
132
133 2017-07-18  Andy Estes  <aestes@apple.com>
134
135         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
136         https://bugs.webkit.org/show_bug.cgi?id=174631
137
138         Reviewed by Sam Weinig.
139
140         * Configurations/Base.xcconfig:
141
142 2017-07-18  Andy Estes  <aestes@apple.com>
143
144         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
145         https://bugs.webkit.org/show_bug.cgi?id=174631
146
147         Reviewed by Dan Bernstein.
148
149         * Configurations/Base.xcconfig:
150
151 2017-07-18  Andy Estes  <aestes@apple.com>
152
153         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
154         https://bugs.webkit.org/show_bug.cgi?id=174631
155
156         Reviewed by Darin Adler.
157
158         * Configurations/Base.xcconfig:
159
160 2017-07-17  Konstantin Tokarev  <annulen@yandex.ru>
161
162         [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
163         https://bugs.webkit.org/show_bug.cgi?id=174557
164
165         Reviewed by Michael Catanzaro.
166
167         No new tests needed.
168
169         * pal/CMakeLists.txt:
170
171 2017-07-13  Per Arne Vollan  <pvollan@apple.com>
172
173         [Win] Build error when building WebCore from WebCore.proj project file.
174         https://bugs.webkit.org/show_bug.cgi?id=174462
175
176         Reviewed by Brent Fulgham.
177
178         Add required include directory to list of include directories.
179  
180         * pal/CMakeLists.txt:
181         * pal/PlatformWin.cmake:
182
183 2017-07-12  Matt Lewis  <jlewis3@apple.com>
184
185         Unreviewed, rolling out r219401.
186
187         This revision rolled out the previous patch, but after talking
188         with reviewer, a rebaseline is what was needed.Rolling back in
189         before rebaseline.
190
191         Reverted changeset:
192
193         "Unreviewed, rolling out r219379."
194         https://bugs.webkit.org/show_bug.cgi?id=174400
195         http://trac.webkit.org/changeset/219401
196
197 2017-07-12  Matt Lewis  <jlewis3@apple.com>
198
199         Unreviewed, rolling out r219379.
200
201         This revision caused a consistent failure in the test
202         fast/dom/Window/property-access-on-cached-window-after-frame-
203         removed.html.
204
205         Reverted changeset:
206
207         "Remove NAVIGATOR_HWCONCURRENCY"
208         https://bugs.webkit.org/show_bug.cgi?id=174400
209         http://trac.webkit.org/changeset/219379
210
211 2017-07-11  Per Arne Vollan  <pvollan@apple.com>
212
213         [Win] Build error when building WebKit.dll from WebKit.proj project file.
214         https://bugs.webkit.org/show_bug.cgi?id=174410
215
216         Reviewed by Brent Fulgham.
217
218         Copy required header files to forwarding headers folder.
219
220         * pal/PlatformWin.cmake:
221
222 2017-07-11  Dean Jackson  <dino@apple.com>
223
224         Remove NAVIGATOR_HWCONCURRENCY
225         https://bugs.webkit.org/show_bug.cgi?id=174400
226
227         Reviewed by Sam Weinig.
228
229         * Configurations/FeatureDefines.xcconfig:
230
231 2017-07-11  Dean Jackson  <dino@apple.com>
232
233         Rolling out r219372.
234
235         * Configurations/FeatureDefines.xcconfig:
236
237 2017-07-11  Dean Jackson  <dino@apple.com>
238
239         Remove NAVIGATOR_HWCONCURRENCY
240         https://bugs.webkit.org/show_bug.cgi?id=174400
241
242         Reviewed by Sam Weinig.
243
244         * Configurations/FeatureDefines.xcconfig:
245
246 2017-07-11  Per Arne Vollan  <pvollan@apple.com>
247
248         [Win] Build error when building WebCore from WebCore.proj project file.
249         https://bugs.webkit.org/show_bug.cgi?id=174330
250
251         Reviewed by Brent Fulgham.
252
253         CMAKE_BINARY_DIR is needed in the include list in order to find 'cmakeconfig.h'. 
254
255         * pal/CMakeLists.txt:
256
257 2017-07-03  Brian Burg  <bburg@apple.com>
258
259         Web Replay: remove some unused code
260         https://bugs.webkit.org/show_bug.cgi?id=173903
261
262         Rubber-stamped by Joseph Pecoraro.
263
264         * Configurations/FeatureDefines.xcconfig:
265
266 2017-07-08  Yusuke Suzuki  <utatane.tea@gmail.com>
267
268         Drop NOSNIFF compile flag
269         https://bugs.webkit.org/show_bug.cgi?id=174289
270
271         Reviewed by Michael Catanzaro.
272
273         * Configurations/FeatureDefines.xcconfig:
274
275 2017-07-06  Don Olmstead  <don.olmstead@sony.com>
276
277         [PAL] Move KillRing into PAL
278         https://bugs.webkit.org/show_bug.cgi?id=173900
279
280         Reviewed by Myles C. Maxfield.
281
282         No new tests. No change in functionality.
283
284         * Configurations/PAL.xcconfig:
285         * PAL.xcodeproj/project.pbxproj:
286         * pal/CMakeLists.txt:
287         * pal/PlatformGTK.cmake:
288         * pal/PlatformMac.cmake:
289         * pal/PlatformWPE.cmake:
290         * pal/PlatformWin.cmake:
291         * pal/text/KillRing.h: Renamed from Source/WebCore/platform/KillRing.h.
292         * pal/text/KillRingNone.cpp: Renamed from Source/WebCore/platform/KillRingNone.cpp.
293         * pal/text/mac/KillRingMac.mm: Renamed from Source/WebCore/platform/mac/KillRingMac.mm.
294
295 2017-07-05  Jonathan Bedard  <jbedard@apple.com>
296
297         Add WebKitPrivateFrameworkStubs for iOS 11
298         https://bugs.webkit.org/show_bug.cgi?id=173988
299
300         Reviewed by David Kilzer.
301
302         * Configurations/PAL.xcconfig: iphoneos and iphonesimulator should use the
303         same directory for private framework stubs.
304
305 2017-07-03  Sam Weinig  <sam@webkit.org>
306
307         [WebIDL] Remove more unnecessary uses of the preprocessor in idl files
308         https://bugs.webkit.org/show_bug.cgi?id=174083
309
310         Reviewed by Alex Christensen.
311
312         * Configurations/FeatureDefines.xcconfig:
313         Add ENABLE_NAVIGATOR_STANDALONE.
314
315 2017-07-03  Andy Estes  <aestes@apple.com>
316
317         [Xcode] Add an experimental setting to build with ccache
318         https://bugs.webkit.org/show_bug.cgi?id=173875
319
320         Reviewed by Tim Horton.
321
322         * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
323
324 2017-07-03  Zan Dobersek  <zdobersek@igalia.com>
325
326         [GCrypt] Implement CryptoKeyEC SPKI exports
327         https://bugs.webkit.org/show_bug.cgi?id=173646
328
329         Reviewed by Jiewen Tan.
330
331         No new tests -- covered by existing Web Crypto tests.
332
333         Add three new libtasn1 utility functions.
334
335         createStructure() is a simple wrapper around asn1_create_element(), creating a new
336         ASN.1 structure for the specified definition that's listed in WebCrypto.asn. The
337         existing decodeStructure() is modified to use this new addition.
338
339         encodedData() retrieves the ASN.1-encoded data of the specified element that's
340         located in the passed-in asn1_node. This is used when retrieving SPKI or PKCS#8
341         data from filled-out ASN.1 structures.
342
343         writeElement() writes the provided data to the given asn1_node object under the
344         specified element, using the given size. True is returned if this operation was
345         successful.
346
347         * pal/crypto/tasn1/Utilities.cpp:
348         (PAL::TASN1::createStructure):
349         (PAL::TASN1::decodeStructure):
350         (PAL::TASN1::encodedData):
351         (PAL::TASN1::writeElement):
352         * pal/crypto/tasn1/Utilities.h:
353
354 2017-07-01  Dan Bernstein  <mitz@apple.com>
355
356         [iOS] Remove code only needed when building for iOS 9.x
357         https://bugs.webkit.org/show_bug.cgi?id=174068
358
359         Reviewed by Tim Horton.
360
361         * Configurations/FeatureDefines.xcconfig:
362
363 2017-07-01  Dan Bernstein  <mitz@apple.com>
364
365         [macOS] Remove code only needed when building for OS X Yosemite
366         https://bugs.webkit.org/show_bug.cgi?id=174067
367
368         Reviewed by Tim Horton.
369
370         * Configurations/Base.xcconfig:
371         * Configurations/DebugRelease.xcconfig:
372         * Configurations/FeatureDefines.xcconfig:
373         * Configurations/Version.xcconfig:
374
375 2017-06-29  Jer Noble  <jer.noble@apple.com>
376
377         Make Legacy EME API controlled by RuntimeEnabled setting.
378         https://bugs.webkit.org/show_bug.cgi?id=173994
379
380         Reviewed by Sam Weinig.
381
382         * Configurations/FeatureDefines.xcconfig:
383
384 2017-06-30  Ross Kirsling  <ross.kirsling@sony.com>
385
386         [PAL] Move Sound into PAL
387         https://bugs.webkit.org/show_bug.cgi?id=173999
388
389         Reviewed by Alex Christensen.
390
391         * Configurations/PAL.xcconfig:
392         * PAL.xcodeproj/project.pbxproj:
393         * pal/CMakeLists.txt:
394         * pal/PlatformGTK.cmake:
395         * pal/PlatformMac.cmake:
396         * pal/PlatformWPE.cmake:
397         * pal/PlatformWin.cmake:
398         * pal/system/Sound.h: Renamed from Source/WebCore/platform/ios/SoundIOS.mm.
399         * pal/system/SoundNone.cpp: Renamed from Source/WebCore/platform/wpe/SoundWPE.cpp.
400         (PAL::systemBeep):
401         * pal/system/gtk/SoundGtk.cpp: Renamed from Source/WebCore/platform/gtk/SoundGtk.cpp.
402         * pal/system/mac/SoundMac.mm: Renamed from Source/WebCore/platform/mac/SoundMac.mm.
403         * pal/system/win/SoundWin.cpp: Renamed from Source/WebCore/platform/win/SoundWin.cpp.
404
405 2017-06-28  Jonathan Bedard  <jbedard@apple.com>
406
407         Build fix for PAL
408         https://bugs.webkit.org/show_bug.cgi?id=173896
409
410         Reviewed by Dan Bernstein.
411
412         Remove the workaround build fix in r218863.
413
414         * PAL.xcodeproj/project.pbxproj: We should be using PROJECT_DIR instead of SRCROOT
415         when in a nested Xcode project.
416
417 2017-06-27  Jonathan Bedard  <jbedard@apple.com>
418
419         Build fix for PAL
420         https://bugs.webkit.org/show_bug.cgi?id=173896
421
422         Reviewed by Myles C. Maxfield.
423
424         * PAL.xcodeproj/project.pbxproj: Ensure that the SRCROOT is WebCore/PAL and not
425         just WebCore.
426
427 2017-06-27  Don Olmstead  <don.olmstead@sony.com>
428
429         [PAL] Add symbol export macros for PAL
430         https://bugs.webkit.org/show_bug.cgi?id=171519
431
432         Reviewed by Konstantin Tokarev.
433
434         No new tests. No change in behavior.
435
436         * Configurations/CopyPALHeaders.xcconfig: Added.
437         * PAL.xcodeproj/project.pbxproj:
438         * config.h:
439         * pal/ExportMacros.h: Copied from Source/WebCore/platform/PlatformExportMacros.h.
440         * pal/PlatformWin.cmake:
441         * pal/crypto/CryptoDigest.h:
442
443 2017-06-20  Zan Dobersek  <zdobersek@igalia.com>
444
445         [GCrypt] Implement CryptoKeyEC SPKI imports
446         https://bugs.webkit.org/show_bug.cgi?id=172927
447
448         Reviewed by Jiewen Tan, Michael Catanzaro and Carlos Garcia Campos.
449
450         Add a file that provides utility functions for operating with libtasn1 APIs.
451
452         The precomputed ASN.1 declarations, generated from the WebCrypto.asn file with
453         the asn1Parser tool, are used to enable construction of ASN.1 structures that
454         are then used to decode the SPKI or PKCS#8 data through the decodeStructure()
455         function. Raw data of each element in that structure can be retrieved throug the
456         elementData() function.
457
458         The Structure class is added as a wrapper for asn1_node objects that are used
459         as decoding targets, simplifying lifetime management of these objects.
460
461         * pal/PlatformGTK.cmake:
462         * pal/PlatformWPE.cmake:
463         * pal/crypto/tasn1/Utilities.cpp: Added.
464         (PAL::TASN1::asn1Definitions):
465         (PAL::TASN1::decodeStructure):
466         (PAL::TASN1::elementData):
467         * pal/crypto/tasn1/Utilities.h: Added.
468         (PAL::TASN1::Structure::~Structure):
469         (PAL::TASN1::Structure::operator&):
470         (PAL::TASN1::Structure::operator asn1_node):
471         * pal/crypto/tasn1/WebCrypto.asn: Added.
472
473 2017-06-20  Myles C. Maxfield  <mmaxfield@apple.com>
474
475         Disable font variations on macOS Sierra and iOS 10
476         https://bugs.webkit.org/show_bug.cgi?id=173618
477         <rdar://problem/32879164>
478
479         Reviewed by Jon Lee.
480
481         * Configurations/FeatureDefines.xcconfig:
482
483 2017-06-19  Zan Dobersek  <zdobersek@igalia.com>
484
485         Unreviewed build fix after r218484.
486
487         * pal/crypto/gcrypt/Utilities.h: Drop the GCrypt prefix from the
488         GCryptCipherOperation type definition, since it's already nested
489         in the PAL::GCrypt namespace.
490
491 2017-06-19  Zan Dobersek  <zdobersek@igalia.com>
492
493         [GCrypt] AES_CTR support
494         https://bugs.webkit.org/show_bug.cgi?id=171420
495
496         Reviewed by Michael Catanzaro.
497
498         * pal/crypto/gcrypt/Utilities.h: Add a GCryptCipherOperation type alias that can be used
499         for the gcry_cipher_decrypt or gcry_cipher_encrypt function pointers.
500
501 2017-06-16  Wenson Hsieh  <wenson_hsieh@apple.com>
502
503         [iOS DnD] Upstream iOS drag and drop implementation into OpenSource WebKit
504         https://bugs.webkit.org/show_bug.cgi?id=173366
505         <rdar://problem/32767014>
506
507         Reviewed by Tim Horton.
508
509         Introduce ENABLE_DATA_INTERACTION and ENABLE_DRAG_SUPPORT to FeatureDefines.xcconfig.
510
511         * Configurations/FeatureDefines.xcconfig:
512
513 2017-06-10  Dan Bernstein  <mitz@apple.com>
514
515         Reverted r218056 because it made the IDE reindex constantly.
516
517         * Configurations/DebugRelease.xcconfig:
518
519 2017-06-10  Dan Bernstein  <mitz@apple.com>
520
521         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
522         https://bugs.webkit.org/show_bug.cgi?id=173223
523
524         Reviewed by Sam Weinig.
525
526         The rebuilds were happening due to a difference in the compiler options that the IDE and
527         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
528         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
529         specify an appropriate path in CLANG_INDEX_STORE_PATH.
530
531         * Configurations/DebugRelease.xcconfig:
532
533 2017-06-01  Andy Estes  <aestes@apple.com>
534
535         REGRESSION (r217626): ENABLE_APPLE_PAY_SESSION_V3 was disabled by mistake
536         https://bugs.webkit.org/show_bug.cgi?id=172828
537
538         Reviewed by Beth Dakin.
539
540         * Configurations/FeatureDefines.xcconfig:
541
542 2017-05-31  Andy Estes  <aestes@apple.com>
543
544         Rename ENABLE_APPLE_PAY_DELEGATE to ENABLE_APPLE_PAY_SESSION_V3 and bump the supported version number
545         https://bugs.webkit.org/show_bug.cgi?id=172366
546
547         Reviewed by Daniel Bates.
548
549         * Configurations/FeatureDefines.xcconfig:
550
551 2017-05-30  Alex Christensen  <achristensen@webkit.org>
552
553         Update libwebrtc configuration
554         https://bugs.webkit.org/show_bug.cgi?id=172727
555
556         Reviewed by Geoffrey Garen.
557
558         * Configurations/FeatureDefines.xcconfig:
559
560 2017-05-28  Dan Bernstein  <mitz@apple.com>
561
562         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES
563         https://bugs.webkit.org/show_bug.cgi?id=172691
564
565         Reviewed by Tim Horton.
566
567         * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO.
568
569 2017-05-23  Myles C. Maxfield  <mmaxfield@apple.com>
570
571         Remove dead ENABLE(FONT_LOAD_EVENTS) code
572         https://bugs.webkit.org/show_bug.cgi?id=172517
573
574         Rubber-stamped by Simon Fraser.
575
576         No new tests because there is no behavior change.
577
578         * Configurations/FeatureDefines.xcconfig:
579
580 2017-05-18  Andy Estes  <aestes@apple.com>
581
582         ENABLE(APPLE_PAY_DELEGATE) should be NO on macOS Sierra and earlier
583         https://bugs.webkit.org/show_bug.cgi?id=172305
584
585         Reviewed by Anders Carlsson.
586
587         * Configurations/FeatureDefines.xcconfig:
588
589 2017-05-09  Sam Weinig  <sam@webkit.org>
590
591         Remove support for legacy Notifications
592         https://bugs.webkit.org/show_bug.cgi?id=171487
593
594         Reviewed by Jon Lee.
595
596         * Configurations/FeatureDefines.xcconfig:
597         Remove definition of ENABLE_LEGACY_NOTIFICATIONS.
598
599 2017-05-09  Zan Dobersek  <zdobersek@igalia.com>
600
601         Upstream the WPE port
602         https://bugs.webkit.org/show_bug.cgi?id=171110
603
604         Reviewed by Alex Christensen.
605
606         * pal/PlatformWPE.cmake: Added.
607
608 2017-05-04  Commit Queue  <commit-queue@webkit.org>
609
610         Unreviewed, rolling out r216206.
611         https://bugs.webkit.org/show_bug.cgi?id=171714
612
613         Multiple LayoutTests crashing in Document::page() (Requested
614         by ap on #webkit).
615
616         Reverted changeset:
617
618         "Remove support for legacy Notifications"
619         https://bugs.webkit.org/show_bug.cgi?id=171487
620         http://trac.webkit.org/changeset/216206
621
622 2017-05-04  Don Olmstead  <don.olmstead@am.sony.com>
623
624         [Win] Remove redundant macros that are set in the CMake config
625         https://bugs.webkit.org/show_bug.cgi?id=171571
626
627         Reviewed by Brent Fulgham.
628
629         No new tests. No change in behavior.
630
631         * config.h:
632
633 2017-05-04  Sam Weinig  <sam@webkit.org>
634
635         Remove support for legacy Notifications
636         https://bugs.webkit.org/show_bug.cgi?id=171487
637
638         Reviewed by Jon Lee.
639
640         * Configurations/FeatureDefines.xcconfig:
641         Remove definition of ENABLE_LEGACY_NOTIFICATIONS.
642
643 2017-05-02  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
644
645         Make "PAL/pal" and "PAL/pal/crypto" directories private
646         https://bugs.webkit.org/show_bug.cgi?id=171524
647
648         Reviewed by Myles C. Maxfield.
649
650         Make the "PAL/pal" and "PAL/pal/crypto" directories private to force WebCore sources 
651         to include PAL headers in "#include <pal/***.h>" style.
652
653         * pal/CMakeLists.txt:
654
655 2017-05-01  Zan Dobersek  <zdobersek@igalia.com>
656
657         [GCrypt] ECDH bit derivation support
658         https://bugs.webkit.org/show_bug.cgi?id=171070
659
660         Reviewed by Michael Catanzaro.
661
662         Add PAL::GCrypt::HandleDeleter specialization for the
663         gcry_mpi_point_t type.
664
665         * pal/crypto/gcrypt/Handle.h:
666         (PAL::GCrypt::HandleDeleter<gcry_mpi_point_t>::operator()):
667
668 2017-04-25  Daniel Bates  <dabates@apple.com>
669
670         [Cocoa][Win] Enable of X-Content-Type-Options: nosniff header
671         https://bugs.webkit.org/show_bug.cgi?id=136452
672         <rdar://problem/23412620>
673
674         Reviewed by Brent Fulgham.
675
676         Enable X-Content-Type-Options: nosniff on Mac, iOS and Windows platforms.
677
678         * Configurations/FeatureDefines.xcconfig:
679
680 2017-04-19  Youenn Fablet  <youenn@apple.com>
681
682         [Mac] Allow customizing H264 encoder
683         https://bugs.webkit.org/show_bug.cgi?id=170829
684
685         Reviewed by Alex Christensen.
686
687         * Configurations/FeatureDefines.xcconfig:
688
689 2017-04-17  Youenn Fablet  <youenn@apple.com>
690
691         Disable outdated WritableStream API
692         https://bugs.webkit.org/show_bug.cgi?id=170749
693         <rdar://problem/31446233>
694
695         Reviewed by Alex Christensen.
696
697         * Configurations/FeatureDefines.xcconfig:
698
699 2017-04-14  Mark Lam  <mark.lam@apple.com>
700
701         Update architectures in xcconfig files.
702         https://bugs.webkit.org/show_bug.cgi?id=170867
703         <rdar://problem/31628104>
704
705         Reviewed by Joseph Pecoraro.
706
707         No new tests needed.  Only updating xcconfig files.
708
709         * Configurations/Base.xcconfig:
710         * Configurations/FeatureDefines.xcconfig:
711
712 2017-04-12  Dan Bernstein  <mitz@apple.com>
713
714         [Mac] Future-proof .xcconfig files
715         https://bugs.webkit.org/show_bug.cgi?id=170802
716
717         Reviewed by Tim Horton.
718
719         * Configurations/Base.xcconfig:
720         * Configurations/DebugRelease.xcconfig:
721         * Configurations/FeatureDefines.xcconfig:
722         * Configurations/Version.xcconfig:
723
724 2017-04-11  Dean Jackson  <dino@apple.com>
725
726         Disable outdated WritableStream API
727         https://bugs.webkit.org/show_bug.cgi?id=170749
728         <rdar://problem/31446233>
729
730         Reviewed by Tim Horton.
731
732         The API we implement is no longer accurate. Disable it until we
733         are compatible with the new specification
734
735         * Configurations/FeatureDefines.xcconfig:
736
737 2017-04-10  Alex Christensen  <achristensen@webkit.org>
738
739         Revert r215217
740         https://bugs.webkit.org/show_bug.cgi?id=170703
741
742         * Configurations/FeatureDefines.xcconfig:
743
744 2017-04-10  Alex Christensen  <achristensen@webkit.org>
745
746         Continue enabling WebRTC
747         https://bugs.webkit.org/show_bug.cgi?id=170703
748
749         Reviewed by Youenn Fablet.
750
751         * Configurations/FeatureDefines.xcconfig:
752
753 2017-04-08  Youenn Fablet  <youenn@apple.com>
754
755         WebRTC tests gardening
756         https://bugs.webkit.org/show_bug.cgi?id=170508
757
758         Reviewed by Eric Carlson.
759
760         * Configurations/FeatureDefines.xcconfig:
761
762 2017-04-07  Zan Dobersek  <zdobersek@igalia.com>
763
764         [GCrypt] Implement raw and JWK imports and exports for EC keys
765         https://bugs.webkit.org/show_bug.cgi?id=170546
766
767         Reviewed by Michael Catanzaro.
768
769         Add HandleDeleter specizalizations for gcry_ctx_t and gcry_mpi_t types.
770
771         * pal/crypto/gcrypt/Handle.h:
772         (PAL::GCrypt::HandleDeleter<gcry_ctx_t>::operator()):
773         (PAL::GCrypt::HandleDeleter<gcry_mpi_t>::operator()):
774
775 2017-04-06  Ryan Haddad  <ryanhaddad@apple.com>
776
777         Unreviewed, rolling out r215046.
778
779         This change broke internal builds.
780
781         Reverted changeset:
782
783         "WebRTC tests gardening"
784         https://bugs.webkit.org/show_bug.cgi?id=170508
785         http://trac.webkit.org/changeset/215046
786
787 2017-04-06  Youenn Fablet  <youenn@apple.com>
788
789         WebRTC tests gardening
790         https://bugs.webkit.org/show_bug.cgi?id=170508
791
792         Reviewed by Eric Carlson.
793
794         * Configurations/FeatureDefines.xcconfig:
795
796 2017-04-03  Michael Catanzaro  <mcatanzaro@igalia.com>
797
798         Unreviewed, attempt to fix build with libgcrypt < 1.7.0
799
800         * pal/crypto/gcrypt/Utilities.h:
801
802 2017-04-03  Zan Dobersek  <zdobersek@igalia.com>
803
804         [GCrypt] Implement CryptoKeyEC::keySizeInBits(), ::platformGeneratePair()
805         https://bugs.webkit.org/show_bug.cgi?id=170345
806
807         Reviewed by Michael Catanzaro.
808
809         * pal/crypto/gcrypt/Handle.h:
810         (PAL::GCrypt::HandleDeleter<gcry_sexp_t>::operator()): Add a HandleDeleter
811         specialization for the gcry_sexp_t type.
812
813 2017-04-03  Zan Dobersek  <zdobersek@igalia.com>
814
815         [GCrypt] Implement AES_GCM support
816         https://bugs.webkit.org/show_bug.cgi?id=170271
817
818         Reviewed by Michael Catanzaro.
819
820         * pal/crypto/gcrypt/Handle.h:
821         (PAL::GCrypt::HandleDeleter<gcry_cipher_hd_t>::operator()): Specialize
822         the HandleDeleter<> template for the gcry_cipher_hd_t type.
823
824 2017-03-30  Zan Dobersek  <zdobersek@igalia.com>
825
826         [GCrypt] Add the Utilities.h header
827         https://bugs.webkit.org/show_bug.cgi?id=170269
828
829         Reviewed by Michael Catanzaro.
830
831         Add a libgcrypt-specific Utilities.h header under PAL. It will contain
832         common functions that are shared throughout the code that leverages
833         libgcrypt.
834
835         * pal/crypto/gcrypt/Utilities.h: Added.
836         (PAL::GCrypt::logError): Use WTFLogAlways() to report the passed-in libgcrypt error.
837         (PAL::GCrypt::aesAlgorithmForKeySize): Return a GCRY_CIPHER_AES{128,192,256} value
838         that matches up with the passed-in key size.
839
840 2017-03-29  Zan Dobersek  <zdobersek@igalia.com>
841
842         [GCrypt] Add a Handle<> class to help with GCrypt object lifetime control
843         https://bugs.webkit.org/show_bug.cgi?id=170238
844
845         Reviewed by Michael Catanzaro.
846
847         Add a GCrypt-specific Handle<> template class, inside the GCrypt namespace.
848         Objects of this class should be used as 'smart handles', cleaning up upon
849         destruction the GCrypt object that's represented by the handle they manage.
850
851         This mimics the std::unique_ptr<> idea, but is narrowly focused towards
852         how such handles are used in the libgcrypt API. A GCrypt::Handle<> object
853         can be consturcted from an existing handle or with the default null value.
854         It can be cleared upon request via clear(), and the managed handle can be
855         released via release().
856
857         The address of the managed handle can be retrieved through the address-of
858         operator. An implicit conversion operator is also added. This allows
859         frictionless use of GCrypt::Handle<> objects with existing libgcrypt APIs.
860
861         The negation operator is implemented to support testing the nullness of
862         the managed handle. The raw handle value is also retrieveable through
863         the handle() method.
864
865         The copy and move constructors and assignment operators are deleted.
866         They are not at the moment required anywhere in the work-in-progress
867         implementation of subtle crypto functionality.
868
869         As with other resource management classes, upon destruction, the
870         GCrypt::Handle<> object destroys the resource it manages. This is done
871         through objects of the HandleDeleter<> template class. Specializations
872         of this class have to implement the call operator that properly
873         releases the resource. Because the operator is deleted by default,
874         a compilation error will be thrown when deleting a resource of some
875         type for which the proper HandleDeleter specialization isn't provided.
876
877         std::unique_ptr<> could be used, but it could also be mis-used. I find
878         a mini-class with an interface that's specific to libgcrypt API
879         interactions to be preferrable to a std::unique_ptr<> with a custom
880         deleter.
881
882         * pal/crypto/gcrypt/Handle.h: Added.
883         (PAL::GCrypt::Handle::Handle):
884         (PAL::GCrypt::Handle::~Handle):
885         (PAL::GCrypt::Handle::clear):
886         (PAL::GCrypt::Handle::release):
887         (PAL::GCrypt::Handle::operator&):
888         (PAL::GCrypt::Handle::handle):
889         (PAL::GCrypt::Handle::operator T):
890         (PAL::GCrypt::Handle::operator!):
891         (PAL::GCrypt::HandleDeleter<gcry_mac_hd_t>::operator()):
892
893 2017-03-29  Zan Dobersek  <zdobersek@igalia.com>
894
895         [GnuTLS] Remove unused CryptoDigestGnuTLS, CryptoAlgorithmHMACGnuTLS implementation files
896         https://bugs.webkit.org/show_bug.cgi?id=170231
897
898         Reviewed by Michael Catanzaro.
899
900         * pal/crypto/gnutls/CryptoDigestGnuTLS.cpp: Removed. The GCrypt counterpart
901         is already in use, and this file wasn't even being built.
902
903 2017-03-17  Michael Saboff  <msaboff@apple.com>
904
905         Use USE_INTERNAL_SDK to compute ENABLE_FAST_JIT_PERMISSIONS instead of HAVE_INTERNAL_SDK
906         https://bugs.webkit.org/show_bug.cgi?id=169817
907
908         Reviewed by Filip Pizlo.
909
910         * Configurations/FeatureDefines.xcconfig:
911
912 2017-03-15  Dean Jackson  <dino@apple.com>
913
914         Sort Xcode project files
915         https://bugs.webkit.org/show_bug.cgi?id=169669
916
917         Reviewed by Antoine Quint.
918
919         * PAL.xcodeproj/project.pbxproj:
920
921 2017-03-10  Alex Christensen  <achristensen@webkit.org>
922
923         Fix watch and tv builds after r213294
924         https://bugs.webkit.org/show_bug.cgi?id=169508
925
926         Reviewed by Dan Bernstein.
927
928         * Configurations/FeatureDefines.xcconfig:
929
930 2017-03-09  Anders Carlsson  <andersca@apple.com>
931
932         Add delegate support to WebCore
933         https://bugs.webkit.org/show_bug.cgi?id=169427
934         Part of rdar://problem/28880714.
935
936         Reviewed by Geoffrey Garen.
937
938         * Configurations/FeatureDefines.xcconfig:
939         Add feature define.
940
941 2017-03-07  Dean Jackson  <dino@apple.com>
942
943         Some platforms won't be able to create a GPUDevice
944         https://bugs.webkit.org/show_bug.cgi?id=169314
945         <rdar://problems/30907521>
946
947         Reviewed by Jon Lee.
948
949         Disable WEB_GPU on the iOS Simulator.
950
951         * Configurations/FeatureDefines.xcconfig:
952
953 2017-03-06  Michael Saboff  <msaboff@apple.com>
954
955         Take advantage of fast permissions switching of JIT memory for devices that support it
956         https://bugs.webkit.org/show_bug.cgi?id=169155
957
958         Reviewed by Saam Barati.
959
960         Updated the Xcode config files to match what is in the JavaScriptCore ones.
961
962         * Configurations/FeatureDefines.xcconfig:
963
964 2017-03-03  Dean Jackson  <dino@apple.com>
965
966         Add WebGPU compile flag and experimental feature flag
967         https://bugs.webkit.org/show_bug.cgi?id=169161
968         <rdar://problem/30846689>
969
970         Reviewed by Tim Horton.
971
972         Add ENABLE_WEBGPU, an experimental feature flag, a RuntimeEnabledFeature,
973         and an InternalSetting.
974
975         * Configurations/FeatureDefines.xcconfig:
976
977 2017-03-02  Alex Christensen  <achristensen@webkit.org>
978
979         Continue enabling WebRTC
980         https://bugs.webkit.org/show_bug.cgi?id=169056
981
982         Reviewed by Jon Lee.
983
984         * Configurations/FeatureDefines.xcconfig:
985
986 2017-03-01  Alex Christensen  <achristensen@webkit.org>
987
988         Unreviewed, rolling out r213259.
989
990         Broke an internal build
991
992         Reverted changeset:
993
994         "Continue enabling WebRTC"
995         https://bugs.webkit.org/show_bug.cgi?id=169056
996         http://trac.webkit.org/changeset/213259
997
998 2017-03-01  Alex Christensen  <achristensen@webkit.org>
999
1000         Continue enabling WebRTC
1001         https://bugs.webkit.org/show_bug.cgi?id=169056
1002
1003         Reviewed by Jon Lee.
1004
1005         * Configurations/FeatureDefines.xcconfig:
1006
1007 2017-02-27  Alex Christensen  <achristensen@webkit.org>
1008
1009         Begin enabling WebRTC on 64-bit
1010         https://bugs.webkit.org/show_bug.cgi?id=168915
1011
1012         Reviewed by Eric Carlson.
1013
1014         * Configurations/FeatureDefines.xcconfig:
1015
1016 2017-02-27  Alex Christensen  <achristensen@webkit.org>
1017
1018         [libwebrtc] Enable WebRTC in some Production Builds
1019         https://bugs.webkit.org/show_bug.cgi?id=168858
1020
1021         * Configurations/FeatureDefines.xcconfig:
1022
1023 2017-02-21  Youenn Fablet  <youenn@apple.com>
1024
1025         [WebRTC][Mac] Activate libwebrtc
1026         https://bugs.webkit.org/show_bug.cgi?id=167293
1027
1028         Reviewed by Alex Christensen.
1029
1030         * Configurations/FeatureDefines.xcconfig:
1031
1032 2017-02-20  Manuel Rego Casasnovas  <rego@igalia.com>
1033
1034         [css-grid] Remove compilation flag ENABLE_CSS_GRID_LAYOUT
1035         https://bugs.webkit.org/show_bug.cgi?id=167693
1036
1037         Reviewed by Sergio Villar Senin.
1038
1039         * Configurations/FeatureDefines.xcconfig:
1040
1041 2017-02-16  Anders Carlsson  <andersca@apple.com>
1042
1043         Begin removing EFL code from WebCore.
1044
1045         Rubber-stamped by Alex Christensen.
1046
1047         * pal/PlatformEfl.cmake: Removed.
1048
1049 2017-01-28  Dan Bernstein  <mitz@apple.com>
1050
1051         [Xcode] Clean up PAL and WebCore’s build settings a little
1052         https://bugs.webkit.org/show_bug.cgi?id=167292
1053
1054         Reviewed by Sam Weinig.
1055
1056         * ChangeLog: Created this file.
1057
1058         * Configurations/Base.xcconfig: Simplified the definition of
1059           GCC_WARN_64_TO_32_BIT_CONVERSION, removed the unused build setting PREBINDING, removed
1060           a duplicate definition of GCC_GENERATE_DEBUGGING_SYMBOLS, and removed definitions specific
1061           to OS X versions that are no longer supported.
1062
1063         * Configurations/DebugRelease.xcconfig: Removed definitions specific to OS X versions
1064           that are no longer supported.
1065
1066         * Configurations/PAL.xcconfig: Removed header search paths that do not exist or do not
1067           make sense. Simplified the definitions of INSTALL_PATH and SKIP_INSTALL. Removed the
1068           unusued build settings PRODUCT_BUNDLE_IDENTIFIER and
1069           WK_PREFIXED_IPHONEOS_DEPLOYMENT_TARGET. Removed the redundant definition of
1070           EXECUTABLE_PREFIX.
1071
1072         * PAL.xcodeproj/project.pbxproj: Sorted the Configurations group.