| 2017-07-12 Matt Lewis <jlewis3@apple.com> |
| |
| Unreviewed, rolling out r219379. |
| |
| This revision caused a consistent failure in the test |
| fast/dom/Window/property-access-on-cached-window-after-frame- |
| removed.html. |
| |
| Reverted changeset: |
| |
| "Remove NAVIGATOR_HWCONCURRENCY" |
| https://bugs.webkit.org/show_bug.cgi?id=174400 |
| http://trac.webkit.org/changeset/219379 |
| |
| 2017-07-11 Per Arne Vollan <pvollan@apple.com> |
| |
| [Win] Build error when building WebKit.dll from WebKit.proj project file. |
| https://bugs.webkit.org/show_bug.cgi?id=174410 |
| |
| Reviewed by Brent Fulgham. |
| |
| Copy required header files to forwarding headers folder. |
| |
| * pal/PlatformWin.cmake: |
| |
| 2017-07-11 Dean Jackson <dino@apple.com> |
| |
| Remove NAVIGATOR_HWCONCURRENCY |
| https://bugs.webkit.org/show_bug.cgi?id=174400 |
| |
| Reviewed by Sam Weinig. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-07-11 Dean Jackson <dino@apple.com> |
| |
| Rolling out r219372. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-07-11 Dean Jackson <dino@apple.com> |
| |
| Remove NAVIGATOR_HWCONCURRENCY |
| https://bugs.webkit.org/show_bug.cgi?id=174400 |
| |
| Reviewed by Sam Weinig. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-07-11 Per Arne Vollan <pvollan@apple.com> |
| |
| [Win] Build error when building WebCore from WebCore.proj project file. |
| https://bugs.webkit.org/show_bug.cgi?id=174330 |
| |
| Reviewed by Brent Fulgham. |
| |
| CMAKE_BINARY_DIR is needed in the include list in order to find 'cmakeconfig.h'. |
| |
| * pal/CMakeLists.txt: |
| |
| 2017-07-03 Brian Burg <bburg@apple.com> |
| |
| Web Replay: remove some unused code |
| https://bugs.webkit.org/show_bug.cgi?id=173903 |
| |
| Rubber-stamped by Joseph Pecoraro. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-07-08 Yusuke Suzuki <utatane.tea@gmail.com> |
| |
| Drop NOSNIFF compile flag |
| https://bugs.webkit.org/show_bug.cgi?id=174289 |
| |
| Reviewed by Michael Catanzaro. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-07-06 Don Olmstead <don.olmstead@sony.com> |
| |
| [PAL] Move KillRing into PAL |
| https://bugs.webkit.org/show_bug.cgi?id=173900 |
| |
| Reviewed by Myles C. Maxfield. |
| |
| No new tests. No change in functionality. |
| |
| * Configurations/PAL.xcconfig: |
| * PAL.xcodeproj/project.pbxproj: |
| * pal/CMakeLists.txt: |
| * pal/PlatformGTK.cmake: |
| * pal/PlatformMac.cmake: |
| * pal/PlatformWPE.cmake: |
| * pal/PlatformWin.cmake: |
| * pal/text/KillRing.h: Renamed from Source/WebCore/platform/KillRing.h. |
| * pal/text/KillRingNone.cpp: Renamed from Source/WebCore/platform/KillRingNone.cpp. |
| * pal/text/mac/KillRingMac.mm: Renamed from Source/WebCore/platform/mac/KillRingMac.mm. |
| |
| 2017-07-05 Jonathan Bedard <jbedard@apple.com> |
| |
| Add WebKitPrivateFrameworkStubs for iOS 11 |
| https://bugs.webkit.org/show_bug.cgi?id=173988 |
| |
| Reviewed by David Kilzer. |
| |
| * Configurations/PAL.xcconfig: iphoneos and iphonesimulator should use the |
| same directory for private framework stubs. |
| |
| 2017-07-03 Sam Weinig <sam@webkit.org> |
| |
| [WebIDL] Remove more unnecessary uses of the preprocessor in idl files |
| https://bugs.webkit.org/show_bug.cgi?id=174083 |
| |
| Reviewed by Alex Christensen. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| Add ENABLE_NAVIGATOR_STANDALONE. |
| |
| 2017-07-03 Andy Estes <aestes@apple.com> |
| |
| [Xcode] Add an experimental setting to build with ccache |
| https://bugs.webkit.org/show_bug.cgi?id=173875 |
| |
| Reviewed by Tim Horton. |
| |
| * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig. |
| |
| 2017-07-03 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GCrypt] Implement CryptoKeyEC SPKI exports |
| https://bugs.webkit.org/show_bug.cgi?id=173646 |
| |
| Reviewed by Jiewen Tan. |
| |
| No new tests -- covered by existing Web Crypto tests. |
| |
| Add three new libtasn1 utility functions. |
| |
| createStructure() is a simple wrapper around asn1_create_element(), creating a new |
| ASN.1 structure for the specified definition that's listed in WebCrypto.asn. The |
| existing decodeStructure() is modified to use this new addition. |
| |
| encodedData() retrieves the ASN.1-encoded data of the specified element that's |
| located in the passed-in asn1_node. This is used when retrieving SPKI or PKCS#8 |
| data from filled-out ASN.1 structures. |
| |
| writeElement() writes the provided data to the given asn1_node object under the |
| specified element, using the given size. True is returned if this operation was |
| successful. |
| |
| * pal/crypto/tasn1/Utilities.cpp: |
| (PAL::TASN1::createStructure): |
| (PAL::TASN1::decodeStructure): |
| (PAL::TASN1::encodedData): |
| (PAL::TASN1::writeElement): |
| * pal/crypto/tasn1/Utilities.h: |
| |
| 2017-07-01 Dan Bernstein <mitz@apple.com> |
| |
| [iOS] Remove code only needed when building for iOS 9.x |
| https://bugs.webkit.org/show_bug.cgi?id=174068 |
| |
| Reviewed by Tim Horton. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-07-01 Dan Bernstein <mitz@apple.com> |
| |
| [macOS] Remove code only needed when building for OS X Yosemite |
| https://bugs.webkit.org/show_bug.cgi?id=174067 |
| |
| Reviewed by Tim Horton. |
| |
| * Configurations/Base.xcconfig: |
| * Configurations/DebugRelease.xcconfig: |
| * Configurations/FeatureDefines.xcconfig: |
| * Configurations/Version.xcconfig: |
| |
| 2017-06-29 Jer Noble <jer.noble@apple.com> |
| |
| Make Legacy EME API controlled by RuntimeEnabled setting. |
| https://bugs.webkit.org/show_bug.cgi?id=173994 |
| |
| Reviewed by Sam Weinig. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-06-30 Ross Kirsling <ross.kirsling@sony.com> |
| |
| [PAL] Move Sound into PAL |
| https://bugs.webkit.org/show_bug.cgi?id=173999 |
| |
| Reviewed by Alex Christensen. |
| |
| * Configurations/PAL.xcconfig: |
| * PAL.xcodeproj/project.pbxproj: |
| * pal/CMakeLists.txt: |
| * pal/PlatformGTK.cmake: |
| * pal/PlatformMac.cmake: |
| * pal/PlatformWPE.cmake: |
| * pal/PlatformWin.cmake: |
| * pal/system/Sound.h: Renamed from Source/WebCore/platform/ios/SoundIOS.mm. |
| * pal/system/SoundNone.cpp: Renamed from Source/WebCore/platform/wpe/SoundWPE.cpp. |
| (PAL::systemBeep): |
| * pal/system/gtk/SoundGtk.cpp: Renamed from Source/WebCore/platform/gtk/SoundGtk.cpp. |
| * pal/system/mac/SoundMac.mm: Renamed from Source/WebCore/platform/mac/SoundMac.mm. |
| * pal/system/win/SoundWin.cpp: Renamed from Source/WebCore/platform/win/SoundWin.cpp. |
| |
| 2017-06-28 Jonathan Bedard <jbedard@apple.com> |
| |
| Build fix for PAL |
| https://bugs.webkit.org/show_bug.cgi?id=173896 |
| |
| Reviewed by Dan Bernstein. |
| |
| Remove the workaround build fix in r218863. |
| |
| * PAL.xcodeproj/project.pbxproj: We should be using PROJECT_DIR instead of SRCROOT |
| when in a nested Xcode project. |
| |
| 2017-06-27 Jonathan Bedard <jbedard@apple.com> |
| |
| Build fix for PAL |
| https://bugs.webkit.org/show_bug.cgi?id=173896 |
| |
| Reviewed by Myles C. Maxfield. |
| |
| * PAL.xcodeproj/project.pbxproj: Ensure that the SRCROOT is WebCore/PAL and not |
| just WebCore. |
| |
| 2017-06-27 Don Olmstead <don.olmstead@sony.com> |
| |
| [PAL] Add symbol export macros for PAL |
| https://bugs.webkit.org/show_bug.cgi?id=171519 |
| |
| Reviewed by Konstantin Tokarev. |
| |
| No new tests. No change in behavior. |
| |
| * Configurations/CopyPALHeaders.xcconfig: Added. |
| * PAL.xcodeproj/project.pbxproj: |
| * config.h: |
| * pal/ExportMacros.h: Copied from Source/WebCore/platform/PlatformExportMacros.h. |
| * pal/PlatformWin.cmake: |
| * pal/crypto/CryptoDigest.h: |
| |
| 2017-06-20 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GCrypt] Implement CryptoKeyEC SPKI imports |
| https://bugs.webkit.org/show_bug.cgi?id=172927 |
| |
| Reviewed by Jiewen Tan, Michael Catanzaro and Carlos Garcia Campos. |
| |
| Add a file that provides utility functions for operating with libtasn1 APIs. |
| |
| The precomputed ASN.1 declarations, generated from the WebCrypto.asn file with |
| the asn1Parser tool, are used to enable construction of ASN.1 structures that |
| are then used to decode the SPKI or PKCS#8 data through the decodeStructure() |
| function. Raw data of each element in that structure can be retrieved throug the |
| elementData() function. |
| |
| The Structure class is added as a wrapper for asn1_node objects that are used |
| as decoding targets, simplifying lifetime management of these objects. |
| |
| * pal/PlatformGTK.cmake: |
| * pal/PlatformWPE.cmake: |
| * pal/crypto/tasn1/Utilities.cpp: Added. |
| (PAL::TASN1::asn1Definitions): |
| (PAL::TASN1::decodeStructure): |
| (PAL::TASN1::elementData): |
| * pal/crypto/tasn1/Utilities.h: Added. |
| (PAL::TASN1::Structure::~Structure): |
| (PAL::TASN1::Structure::operator&): |
| (PAL::TASN1::Structure::operator asn1_node): |
| * pal/crypto/tasn1/WebCrypto.asn: Added. |
| |
| 2017-06-20 Myles C. Maxfield <mmaxfield@apple.com> |
| |
| Disable font variations on macOS Sierra and iOS 10 |
| https://bugs.webkit.org/show_bug.cgi?id=173618 |
| <rdar://problem/32879164> |
| |
| Reviewed by Jon Lee. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-06-19 Zan Dobersek <zdobersek@igalia.com> |
| |
| Unreviewed build fix after r218484. |
| |
| * pal/crypto/gcrypt/Utilities.h: Drop the GCrypt prefix from the |
| GCryptCipherOperation type definition, since it's already nested |
| in the PAL::GCrypt namespace. |
| |
| 2017-06-19 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GCrypt] AES_CTR support |
| https://bugs.webkit.org/show_bug.cgi?id=171420 |
| |
| Reviewed by Michael Catanzaro. |
| |
| * pal/crypto/gcrypt/Utilities.h: Add a GCryptCipherOperation type alias that can be used |
| for the gcry_cipher_decrypt or gcry_cipher_encrypt function pointers. |
| |
| 2017-06-16 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS DnD] Upstream iOS drag and drop implementation into OpenSource WebKit |
| https://bugs.webkit.org/show_bug.cgi?id=173366 |
| <rdar://problem/32767014> |
| |
| Reviewed by Tim Horton. |
| |
| Introduce ENABLE_DATA_INTERACTION and ENABLE_DRAG_SUPPORT to FeatureDefines.xcconfig. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-06-10 Dan Bernstein <mitz@apple.com> |
| |
| Reverted r218056 because it made the IDE reindex constantly. |
| |
| * Configurations/DebugRelease.xcconfig: |
| |
| 2017-06-10 Dan Bernstein <mitz@apple.com> |
| |
| [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE |
| https://bugs.webkit.org/show_bug.cgi?id=173223 |
| |
| Reviewed by Sam Weinig. |
| |
| The rebuilds were happening due to a difference in the compiler options that the IDE and |
| xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make |
| xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and |
| specify an appropriate path in CLANG_INDEX_STORE_PATH. |
| |
| * Configurations/DebugRelease.xcconfig: |
| |
| 2017-06-01 Andy Estes <aestes@apple.com> |
| |
| REGRESSION (r217626): ENABLE_APPLE_PAY_SESSION_V3 was disabled by mistake |
| https://bugs.webkit.org/show_bug.cgi?id=172828 |
| |
| Reviewed by Beth Dakin. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-05-31 Andy Estes <aestes@apple.com> |
| |
| Rename ENABLE_APPLE_PAY_DELEGATE to ENABLE_APPLE_PAY_SESSION_V3 and bump the supported version number |
| https://bugs.webkit.org/show_bug.cgi?id=172366 |
| |
| Reviewed by Daniel Bates. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-05-30 Alex Christensen <achristensen@webkit.org> |
| |
| Update libwebrtc configuration |
| https://bugs.webkit.org/show_bug.cgi?id=172727 |
| |
| Reviewed by Geoffrey Garen. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-05-28 Dan Bernstein <mitz@apple.com> |
| |
| [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES |
| https://bugs.webkit.org/show_bug.cgi?id=172691 |
| |
| Reviewed by Tim Horton. |
| |
| * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO. |
| |
| 2017-05-23 Myles C. Maxfield <mmaxfield@apple.com> |
| |
| Remove dead ENABLE(FONT_LOAD_EVENTS) code |
| https://bugs.webkit.org/show_bug.cgi?id=172517 |
| |
| Rubber-stamped by Simon Fraser. |
| |
| No new tests because there is no behavior change. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-05-18 Andy Estes <aestes@apple.com> |
| |
| ENABLE(APPLE_PAY_DELEGATE) should be NO on macOS Sierra and earlier |
| https://bugs.webkit.org/show_bug.cgi?id=172305 |
| |
| Reviewed by Anders Carlsson. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-05-09 Sam Weinig <sam@webkit.org> |
| |
| Remove support for legacy Notifications |
| https://bugs.webkit.org/show_bug.cgi?id=171487 |
| |
| Reviewed by Jon Lee. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| Remove definition of ENABLE_LEGACY_NOTIFICATIONS. |
| |
| 2017-05-09 Zan Dobersek <zdobersek@igalia.com> |
| |
| Upstream the WPE port |
| https://bugs.webkit.org/show_bug.cgi?id=171110 |
| |
| Reviewed by Alex Christensen. |
| |
| * pal/PlatformWPE.cmake: Added. |
| |
| 2017-05-04 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, rolling out r216206. |
| https://bugs.webkit.org/show_bug.cgi?id=171714 |
| |
| Multiple LayoutTests crashing in Document::page() (Requested |
| by ap on #webkit). |
| |
| Reverted changeset: |
| |
| "Remove support for legacy Notifications" |
| https://bugs.webkit.org/show_bug.cgi?id=171487 |
| http://trac.webkit.org/changeset/216206 |
| |
| 2017-05-04 Don Olmstead <don.olmstead@am.sony.com> |
| |
| [Win] Remove redundant macros that are set in the CMake config |
| https://bugs.webkit.org/show_bug.cgi?id=171571 |
| |
| Reviewed by Brent Fulgham. |
| |
| No new tests. No change in behavior. |
| |
| * config.h: |
| |
| 2017-05-04 Sam Weinig <sam@webkit.org> |
| |
| Remove support for legacy Notifications |
| https://bugs.webkit.org/show_bug.cgi?id=171487 |
| |
| Reviewed by Jon Lee. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| Remove definition of ENABLE_LEGACY_NOTIFICATIONS. |
| |
| 2017-05-02 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com> |
| |
| Make "PAL/pal" and "PAL/pal/crypto" directories private |
| https://bugs.webkit.org/show_bug.cgi?id=171524 |
| |
| Reviewed by Myles C. Maxfield. |
| |
| Make the "PAL/pal" and "PAL/pal/crypto" directories private to force WebCore sources |
| to include PAL headers in "#include <pal/***.h>" style. |
| |
| * pal/CMakeLists.txt: |
| |
| 2017-05-01 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GCrypt] ECDH bit derivation support |
| https://bugs.webkit.org/show_bug.cgi?id=171070 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Add PAL::GCrypt::HandleDeleter specialization for the |
| gcry_mpi_point_t type. |
| |
| * pal/crypto/gcrypt/Handle.h: |
| (PAL::GCrypt::HandleDeleter<gcry_mpi_point_t>::operator()): |
| |
| 2017-04-25 Daniel Bates <dabates@apple.com> |
| |
| [Cocoa][Win] Enable of X-Content-Type-Options: nosniff header |
| https://bugs.webkit.org/show_bug.cgi?id=136452 |
| <rdar://problem/23412620> |
| |
| Reviewed by Brent Fulgham. |
| |
| Enable X-Content-Type-Options: nosniff on Mac, iOS and Windows platforms. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-04-19 Youenn Fablet <youenn@apple.com> |
| |
| [Mac] Allow customizing H264 encoder |
| https://bugs.webkit.org/show_bug.cgi?id=170829 |
| |
| Reviewed by Alex Christensen. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-04-17 Youenn Fablet <youenn@apple.com> |
| |
| Disable outdated WritableStream API |
| https://bugs.webkit.org/show_bug.cgi?id=170749 |
| <rdar://problem/31446233> |
| |
| Reviewed by Alex Christensen. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-04-14 Mark Lam <mark.lam@apple.com> |
| |
| Update architectures in xcconfig files. |
| https://bugs.webkit.org/show_bug.cgi?id=170867 |
| <rdar://problem/31628104> |
| |
| Reviewed by Joseph Pecoraro. |
| |
| No new tests needed. Only updating xcconfig files. |
| |
| * Configurations/Base.xcconfig: |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-04-12 Dan Bernstein <mitz@apple.com> |
| |
| [Mac] Future-proof .xcconfig files |
| https://bugs.webkit.org/show_bug.cgi?id=170802 |
| |
| Reviewed by Tim Horton. |
| |
| * Configurations/Base.xcconfig: |
| * Configurations/DebugRelease.xcconfig: |
| * Configurations/FeatureDefines.xcconfig: |
| * Configurations/Version.xcconfig: |
| |
| 2017-04-11 Dean Jackson <dino@apple.com> |
| |
| Disable outdated WritableStream API |
| https://bugs.webkit.org/show_bug.cgi?id=170749 |
| <rdar://problem/31446233> |
| |
| Reviewed by Tim Horton. |
| |
| The API we implement is no longer accurate. Disable it until we |
| are compatible with the new specification |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-04-10 Alex Christensen <achristensen@webkit.org> |
| |
| Revert r215217 |
| https://bugs.webkit.org/show_bug.cgi?id=170703 |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-04-10 Alex Christensen <achristensen@webkit.org> |
| |
| Continue enabling WebRTC |
| https://bugs.webkit.org/show_bug.cgi?id=170703 |
| |
| Reviewed by Youenn Fablet. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-04-08 Youenn Fablet <youenn@apple.com> |
| |
| WebRTC tests gardening |
| https://bugs.webkit.org/show_bug.cgi?id=170508 |
| |
| Reviewed by Eric Carlson. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-04-07 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GCrypt] Implement raw and JWK imports and exports for EC keys |
| https://bugs.webkit.org/show_bug.cgi?id=170546 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Add HandleDeleter specizalizations for gcry_ctx_t and gcry_mpi_t types. |
| |
| * pal/crypto/gcrypt/Handle.h: |
| (PAL::GCrypt::HandleDeleter<gcry_ctx_t>::operator()): |
| (PAL::GCrypt::HandleDeleter<gcry_mpi_t>::operator()): |
| |
| 2017-04-06 Ryan Haddad <ryanhaddad@apple.com> |
| |
| Unreviewed, rolling out r215046. |
| |
| This change broke internal builds. |
| |
| Reverted changeset: |
| |
| "WebRTC tests gardening" |
| https://bugs.webkit.org/show_bug.cgi?id=170508 |
| http://trac.webkit.org/changeset/215046 |
| |
| 2017-04-06 Youenn Fablet <youenn@apple.com> |
| |
| WebRTC tests gardening |
| https://bugs.webkit.org/show_bug.cgi?id=170508 |
| |
| Reviewed by Eric Carlson. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-04-03 Michael Catanzaro <mcatanzaro@igalia.com> |
| |
| Unreviewed, attempt to fix build with libgcrypt < 1.7.0 |
| |
| * pal/crypto/gcrypt/Utilities.h: |
| |
| 2017-04-03 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GCrypt] Implement CryptoKeyEC::keySizeInBits(), ::platformGeneratePair() |
| https://bugs.webkit.org/show_bug.cgi?id=170345 |
| |
| Reviewed by Michael Catanzaro. |
| |
| * pal/crypto/gcrypt/Handle.h: |
| (PAL::GCrypt::HandleDeleter<gcry_sexp_t>::operator()): Add a HandleDeleter |
| specialization for the gcry_sexp_t type. |
| |
| 2017-04-03 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GCrypt] Implement AES_GCM support |
| https://bugs.webkit.org/show_bug.cgi?id=170271 |
| |
| Reviewed by Michael Catanzaro. |
| |
| * pal/crypto/gcrypt/Handle.h: |
| (PAL::GCrypt::HandleDeleter<gcry_cipher_hd_t>::operator()): Specialize |
| the HandleDeleter<> template for the gcry_cipher_hd_t type. |
| |
| 2017-03-30 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GCrypt] Add the Utilities.h header |
| https://bugs.webkit.org/show_bug.cgi?id=170269 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Add a libgcrypt-specific Utilities.h header under PAL. It will contain |
| common functions that are shared throughout the code that leverages |
| libgcrypt. |
| |
| * pal/crypto/gcrypt/Utilities.h: Added. |
| (PAL::GCrypt::logError): Use WTFLogAlways() to report the passed-in libgcrypt error. |
| (PAL::GCrypt::aesAlgorithmForKeySize): Return a GCRY_CIPHER_AES{128,192,256} value |
| that matches up with the passed-in key size. |
| |
| 2017-03-29 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GCrypt] Add a Handle<> class to help with GCrypt object lifetime control |
| https://bugs.webkit.org/show_bug.cgi?id=170238 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Add a GCrypt-specific Handle<> template class, inside the GCrypt namespace. |
| Objects of this class should be used as 'smart handles', cleaning up upon |
| destruction the GCrypt object that's represented by the handle they manage. |
| |
| This mimics the std::unique_ptr<> idea, but is narrowly focused towards |
| how such handles are used in the libgcrypt API. A GCrypt::Handle<> object |
| can be consturcted from an existing handle or with the default null value. |
| It can be cleared upon request via clear(), and the managed handle can be |
| released via release(). |
| |
| The address of the managed handle can be retrieved through the address-of |
| operator. An implicit conversion operator is also added. This allows |
| frictionless use of GCrypt::Handle<> objects with existing libgcrypt APIs. |
| |
| The negation operator is implemented to support testing the nullness of |
| the managed handle. The raw handle value is also retrieveable through |
| the handle() method. |
| |
| The copy and move constructors and assignment operators are deleted. |
| They are not at the moment required anywhere in the work-in-progress |
| implementation of subtle crypto functionality. |
| |
| As with other resource management classes, upon destruction, the |
| GCrypt::Handle<> object destroys the resource it manages. This is done |
| through objects of the HandleDeleter<> template class. Specializations |
| of this class have to implement the call operator that properly |
| releases the resource. Because the operator is deleted by default, |
| a compilation error will be thrown when deleting a resource of some |
| type for which the proper HandleDeleter specialization isn't provided. |
| |
| std::unique_ptr<> could be used, but it could also be mis-used. I find |
| a mini-class with an interface that's specific to libgcrypt API |
| interactions to be preferrable to a std::unique_ptr<> with a custom |
| deleter. |
| |
| * pal/crypto/gcrypt/Handle.h: Added. |
| (PAL::GCrypt::Handle::Handle): |
| (PAL::GCrypt::Handle::~Handle): |
| (PAL::GCrypt::Handle::clear): |
| (PAL::GCrypt::Handle::release): |
| (PAL::GCrypt::Handle::operator&): |
| (PAL::GCrypt::Handle::handle): |
| (PAL::GCrypt::Handle::operator T): |
| (PAL::GCrypt::Handle::operator!): |
| (PAL::GCrypt::HandleDeleter<gcry_mac_hd_t>::operator()): |
| |
| 2017-03-29 Zan Dobersek <zdobersek@igalia.com> |
| |
| [GnuTLS] Remove unused CryptoDigestGnuTLS, CryptoAlgorithmHMACGnuTLS implementation files |
| https://bugs.webkit.org/show_bug.cgi?id=170231 |
| |
| Reviewed by Michael Catanzaro. |
| |
| * pal/crypto/gnutls/CryptoDigestGnuTLS.cpp: Removed. The GCrypt counterpart |
| is already in use, and this file wasn't even being built. |
| |
| 2017-03-17 Michael Saboff <msaboff@apple.com> |
| |
| Use USE_INTERNAL_SDK to compute ENABLE_FAST_JIT_PERMISSIONS instead of HAVE_INTERNAL_SDK |
| https://bugs.webkit.org/show_bug.cgi?id=169817 |
| |
| Reviewed by Filip Pizlo. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-03-15 Dean Jackson <dino@apple.com> |
| |
| Sort Xcode project files |
| https://bugs.webkit.org/show_bug.cgi?id=169669 |
| |
| Reviewed by Antoine Quint. |
| |
| * PAL.xcodeproj/project.pbxproj: |
| |
| 2017-03-10 Alex Christensen <achristensen@webkit.org> |
| |
| Fix watch and tv builds after r213294 |
| https://bugs.webkit.org/show_bug.cgi?id=169508 |
| |
| Reviewed by Dan Bernstein. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-03-09 Anders Carlsson <andersca@apple.com> |
| |
| Add delegate support to WebCore |
| https://bugs.webkit.org/show_bug.cgi?id=169427 |
| Part of rdar://problem/28880714. |
| |
| Reviewed by Geoffrey Garen. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| Add feature define. |
| |
| 2017-03-07 Dean Jackson <dino@apple.com> |
| |
| Some platforms won't be able to create a GPUDevice |
| https://bugs.webkit.org/show_bug.cgi?id=169314 |
| <rdar://problems/30907521> |
| |
| Reviewed by Jon Lee. |
| |
| Disable WEB_GPU on the iOS Simulator. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-03-06 Michael Saboff <msaboff@apple.com> |
| |
| Take advantage of fast permissions switching of JIT memory for devices that support it |
| https://bugs.webkit.org/show_bug.cgi?id=169155 |
| |
| Reviewed by Saam Barati. |
| |
| Updated the Xcode config files to match what is in the JavaScriptCore ones. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-03-03 Dean Jackson <dino@apple.com> |
| |
| Add WebGPU compile flag and experimental feature flag |
| https://bugs.webkit.org/show_bug.cgi?id=169161 |
| <rdar://problem/30846689> |
| |
| Reviewed by Tim Horton. |
| |
| Add ENABLE_WEBGPU, an experimental feature flag, a RuntimeEnabledFeature, |
| and an InternalSetting. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-03-02 Alex Christensen <achristensen@webkit.org> |
| |
| Continue enabling WebRTC |
| https://bugs.webkit.org/show_bug.cgi?id=169056 |
| |
| Reviewed by Jon Lee. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-03-01 Alex Christensen <achristensen@webkit.org> |
| |
| Unreviewed, rolling out r213259. |
| |
| Broke an internal build |
| |
| Reverted changeset: |
| |
| "Continue enabling WebRTC" |
| https://bugs.webkit.org/show_bug.cgi?id=169056 |
| http://trac.webkit.org/changeset/213259 |
| |
| 2017-03-01 Alex Christensen <achristensen@webkit.org> |
| |
| Continue enabling WebRTC |
| https://bugs.webkit.org/show_bug.cgi?id=169056 |
| |
| Reviewed by Jon Lee. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-02-27 Alex Christensen <achristensen@webkit.org> |
| |
| Begin enabling WebRTC on 64-bit |
| https://bugs.webkit.org/show_bug.cgi?id=168915 |
| |
| Reviewed by Eric Carlson. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-02-27 Alex Christensen <achristensen@webkit.org> |
| |
| [libwebrtc] Enable WebRTC in some Production Builds |
| https://bugs.webkit.org/show_bug.cgi?id=168858 |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-02-21 Youenn Fablet <youenn@apple.com> |
| |
| [WebRTC][Mac] Activate libwebrtc |
| https://bugs.webkit.org/show_bug.cgi?id=167293 |
| |
| Reviewed by Alex Christensen. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-02-20 Manuel Rego Casasnovas <rego@igalia.com> |
| |
| [css-grid] Remove compilation flag ENABLE_CSS_GRID_LAYOUT |
| https://bugs.webkit.org/show_bug.cgi?id=167693 |
| |
| Reviewed by Sergio Villar Senin. |
| |
| * Configurations/FeatureDefines.xcconfig: |
| |
| 2017-02-16 Anders Carlsson <andersca@apple.com> |
| |
| Begin removing EFL code from WebCore. |
| |
| Rubber-stamped by Alex Christensen. |
| |
| * pal/PlatformEfl.cmake: Removed. |
| |
| 2017-01-28 Dan Bernstein <mitz@apple.com> |
| |
| [Xcode] Clean up PAL and WebCore’s build settings a little |
| https://bugs.webkit.org/show_bug.cgi?id=167292 |
| |
| Reviewed by Sam Weinig. |
| |
| * ChangeLog: Created this file. |
| |
| * Configurations/Base.xcconfig: Simplified the definition of |
| GCC_WARN_64_TO_32_BIT_CONVERSION, removed the unused build setting PREBINDING, removed |
| a duplicate definition of GCC_GENERATE_DEBUGGING_SYMBOLS, and removed definitions specific |
| to OS X versions that are no longer supported. |
| |
| * Configurations/DebugRelease.xcconfig: Removed definitions specific to OS X versions |
| that are no longer supported. |
| |
| * Configurations/PAL.xcconfig: Removed header search paths that do not exist or do not |
| make sense. Simplified the definitions of INSTALL_PATH and SKIP_INSTALL. Removed the |
| unusued build settings PRODUCT_BUNDLE_IDENTIFIER and |
| WK_PREFIXED_IPHONEOS_DEPLOYMENT_TARGET. Removed the redundant definition of |
| EXECUTABLE_PREFIX. |
| |
| * PAL.xcodeproj/project.pbxproj: Sorted the Configurations group. |