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