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