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