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