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