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