virgil-crypto 2.1.2.2 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/ext/native/src/.travis.yml +70 -41
- data/ext/native/src/CMakeLists.txt +78 -34
- data/ext/native/src/ChangeLog +105 -0
- data/ext/native/src/Dockerfile_Golang +2 -2
- data/ext/native/src/Jenkinsfile +47 -25
- data/ext/native/src/LICENSE +3 -3
- data/ext/native/src/README.md +40 -12
- data/ext/native/src/VERSION +1 -1
- data/ext/native/src/benchmark/CMakeLists.txt +4 -4
- data/ext/native/src/benchmark/benchmark_cipher.cxx +33 -13
- data/ext/native/src/benchmark/benchmark_hash.cxx +3 -3
- data/ext/native/src/benchmark/benchmark_keys.cxx +251 -0
- data/ext/native/src/benchmark/benchmark_random.cxx +56 -0
- data/ext/native/src/benchmark/benchmark_signer.cxx +31 -11
- data/ext/native/src/ci/install-dependencies.sh +134 -0
- data/ext/native/src/ci/{install-doxygen.sh → install-deployment-key.sh} +12 -13
- data/ext/native/src/ci/publish-docs.sh +65 -63
- data/ext/native/src/ci/travis-deployment-key.enc +0 -0
- data/ext/native/src/cmake/apple.cmake +432 -0
- data/ext/native/src/cmake/aux_source_directory_to_file.cmake +3 -3
- data/ext/native/src/cmake/check_pointer_size.cmake +3 -3
- data/ext/native/src/cmake/cmake_args.cmake +3 -3
- data/ext/native/src/cmake/copy_all_files.cmake +3 -3
- data/ext/native/src/cmake/file_regex_replace.cmake +3 -3
- data/ext/native/src/cmake/find_host_utils.cmake +3 -3
- data/ext/native/src/cmake/uppercase_first_char.cmake +3 -3
- data/ext/native/src/cmake/uppercase_namespaces.cmake +6 -3
- data/ext/native/src/cmake/virgil_depends.cmake +3 -3
- data/ext/native/src/cmake/virgil_depends_local.cmake +5 -4
- data/ext/native/src/lib/CMakeLists.txt +98 -42
- data/ext/native/src/lib/Doxyfile.in +1 -1
- data/ext/native/src/lib/Info.plist.in +26 -0
- data/ext/native/src/lib/cmake/config.cmake.in +3 -3
- data/ext/native/src/lib/include/virgil/crypto/VirgilByteArray.h +52 -3
- data/ext/native/src/lib/include/virgil/crypto/VirgilByteArrayUtils.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/VirgilChunkCipher.h +7 -7
- data/ext/native/src/lib/include/virgil/crypto/VirgilCipher.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/VirgilCipherBase.h +16 -18
- data/ext/native/src/lib/include/virgil/crypto/VirgilContentInfo.h +234 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCrypto.h +101 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilCryptoError.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/VirgilCryptoException.h +3 -3
- data/ext/native/src/lib/include/virgil/crypto/VirgilCustomParams.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/VirgilDataSink.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/VirgilDataSource.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/VirgilKeyPair.h +40 -10
- data/ext/native/src/lib/include/virgil/crypto/VirgilSigner.h +11 -16
- data/ext/native/src/lib/include/virgil/crypto/VirgilSignerBase.h +143 -0
- data/ext/native/src/lib/include/virgil/crypto/VirgilStreamCipher.h +7 -7
- data/ext/native/src/lib/include/virgil/crypto/VirgilStreamSigner.h +12 -12
- data/ext/native/src/lib/include/virgil/crypto/VirgilTinyCipher.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/VirgilVersion.h +3 -3
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilAsymmetricCipher.h +14 -6
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilBase64.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilHKDF.h +87 -0
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilHash.h +24 -8
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilKDF.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilPBE.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilPBKDF.h +6 -6
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilRandom.h +15 -7
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilSymmetricCipher.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/foundation/VirgilSystemCryptoError.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/VirgilAsn1Compatible.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/VirgilAsn1Reader.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/foundation/asn1/VirgilAsn1Writer.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSContent.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSContentInfo.h +9 -7
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSEncryptedContent.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSEnvelopedData.h +9 -7
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSKeyTransRecipient.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/foundation/cms/VirgilCMSPasswordRecipient.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/pfs/VirgilPFS.h +177 -0
- data/ext/native/src/lib/include/virgil/crypto/pfs/VirgilPFSEncryptedMessage.h +85 -0
- data/ext/native/src/lib/include/virgil/crypto/pfs/VirgilPFSInitiatorPrivateInfo.h +80 -0
- data/ext/native/src/lib/include/virgil/crypto/pfs/VirgilPFSInitiatorPublicInfo.h +80 -0
- data/ext/native/src/lib/include/virgil/crypto/pfs/VirgilPFSPrivateKey.h +94 -0
- data/ext/native/src/lib/include/virgil/crypto/pfs/VirgilPFSPublicKey.h +74 -0
- data/ext/native/src/lib/include/virgil/crypto/pfs/VirgilPFSResponderPrivateInfo.h +90 -0
- data/ext/native/src/lib/include/virgil/crypto/pfs/VirgilPFSResponderPublicInfo.h +90 -0
- data/ext/native/src/lib/include/virgil/crypto/pfs/VirgilPFSSession.h +112 -0
- data/ext/native/src/lib/include/virgil/crypto/primitive/VirgilOperationCipher.h +167 -0
- data/ext/native/src/lib/include/virgil/crypto/primitive/VirgilOperationDH.h +114 -0
- data/ext/native/src/lib/include/virgil/crypto/primitive/VirgilOperationHash.h +162 -0
- data/ext/native/src/lib/include/virgil/crypto/primitive/VirgilOperationKDF.h +114 -0
- data/ext/native/src/lib/include/virgil/crypto/primitive/VirgilOperationRandom.h +124 -0
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilBytesDataSink.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilBytesDataSource.h +5 -5
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilStreamDataSink.h +4 -4
- data/ext/native/src/lib/include/virgil/crypto/stream/VirgilStreamDataSource.h +5 -5
- data/ext/native/src/lib/mainpage.dox +11 -0
- data/ext/native/src/lib/src/VirgilAsn1Alg.cxx +4 -4
- data/ext/native/src/lib/{include/virgil/crypto/foundation/asn1/internal → src}/VirgilAsn1Alg.h +3 -3
- data/ext/native/src/lib/src/VirgilAsn1Compatible.cxx +3 -3
- data/ext/native/src/lib/src/VirgilAsn1Reader.cxx +3 -3
- data/ext/native/src/lib/src/VirgilAsn1Writer.cxx +4 -4
- data/ext/native/src/lib/src/VirgilAsymmetricCipher.cxx +225 -223
- data/ext/native/src/lib/src/VirgilBase64.cxx +3 -3
- data/ext/native/src/lib/src/VirgilByteArrayUtils.cxx +3 -3
- data/ext/native/src/lib/src/VirgilCMSContent.cxx +5 -5
- data/ext/native/src/lib/src/VirgilCMSContentInfo.cxx +3 -3
- data/ext/native/src/lib/src/VirgilCMSEncryptedContent.cxx +5 -5
- data/ext/native/src/lib/src/VirgilCMSEnvelopedData.cxx +3 -3
- data/ext/native/src/lib/src/VirgilCMSKeyTransRecipient.cxx +4 -4
- data/ext/native/src/lib/src/VirgilCMSPasswordRecipient.cxx +4 -4
- data/ext/native/src/lib/src/VirgilChunkCipher.cxx +3 -3
- data/ext/native/src/lib/src/VirgilCipher.cxx +3 -3
- data/ext/native/src/lib/src/VirgilCipherBase.cxx +80 -142
- data/ext/native/src/lib/src/VirgilConfig.h.in +44 -0
- data/ext/native/src/lib/src/VirgilContentInfo.cxx +272 -0
- data/ext/native/src/lib/src/VirgilCryptoError.cxx +3 -3
- data/ext/native/src/lib/src/VirgilCryptoException.cxx +3 -3
- data/ext/native/src/lib/src/VirgilCustomParams.cxx +3 -3
- data/ext/native/src/lib/src/VirgilDataSink.cxx +3 -3
- data/ext/native/src/lib/src/VirgilHKDF.cxx +93 -0
- data/ext/native/src/lib/src/VirgilHash.cxx +26 -5
- data/ext/native/src/lib/src/VirgilKDF.cxx +5 -5
- data/ext/native/src/lib/src/VirgilKeyPair.cxx +3 -3
- data/ext/native/src/lib/{include/virgil/crypto/foundation/internal → src}/VirgilOID.h +3 -3
- data/ext/native/src/lib/src/VirgilPBE.cxx +5 -5
- data/ext/native/src/lib/src/VirgilPBKDF.cxx +5 -5
- data/ext/native/src/lib/src/VirgilRandom.cxx +26 -35
- data/ext/native/src/lib/src/VirgilSigner.cxx +19 -38
- data/ext/native/src/lib/src/VirgilSignerBase.cxx +102 -0
- data/ext/native/src/lib/src/VirgilStreamCipher.cxx +3 -3
- data/ext/native/src/lib/src/VirgilStreamSigner.cxx +22 -40
- data/ext/native/src/lib/src/VirgilSymmetricCipher.cxx +6 -6
- data/ext/native/src/lib/src/VirgilSystemCryptoError.cxx +3 -3
- data/ext/native/src/lib/src/VirgilTagFilter.cxx +4 -4
- data/ext/native/src/lib/{include/virgil/crypto/foundation/internal → src}/VirgilTagFilter.h +3 -3
- data/ext/native/src/lib/src/VirgilTinyCipher.cxx +4 -4
- data/ext/native/src/lib/{include/virgil/crypto/foundation/internal → src}/mbedtls_context.h +4 -4
- data/ext/native/src/lib/{include/virgil/crypto/foundation/internal → src}/mbedtls_context_policy_spec.h +32 -5
- data/ext/native/src/lib/{include/virgil/crypto/foundation/internal → src}/mbedtls_type_utils.h +24 -3
- data/ext/native/src/lib/src/pfs/VirgilPFS.cxx +288 -0
- data/ext/native/src/lib/src/pfs/VirgilPFSEncryptedMessage.cxx +57 -0
- data/ext/native/src/lib/src/pfs/VirgilPFSInitiatorPrivateInfo.cxx +54 -0
- data/ext/native/src/lib/src/pfs/VirgilPFSInitiatorPublicInfo.cxx +55 -0
- data/ext/native/src/lib/src/pfs/VirgilPFSPrivateKey.cxx +61 -0
- data/ext/native/src/lib/src/pfs/VirgilPFSPublicKey.cxx +50 -0
- data/ext/native/src/lib/src/pfs/VirgilPFSResponderPrivateInfo.cxx +60 -0
- data/ext/native/src/lib/src/pfs/VirgilPFSResponderPublicInfo.cxx +60 -0
- data/ext/native/src/lib/src/pfs/VirgilPFSSession.cxx +76 -0
- data/ext/native/src/lib/src/primitive/VirgilOperationCipher.cxx +104 -0
- data/ext/native/src/lib/src/primitive/VirgilOperationDH.cxx +63 -0
- data/ext/native/src/lib/src/primitive/VirgilOperationHash.cxx +48 -0
- data/ext/native/src/lib/src/primitive/VirgilOperationKDF.cxx +64 -0
- data/ext/native/src/lib/src/primitive/VirgilOperationRandom.cxx +47 -0
- data/ext/native/src/lib/src/stream/VirgilBytesDataSink.cxx +9 -5
- data/ext/native/src/lib/src/stream/VirgilBytesDataSource.cxx +8 -3
- data/ext/native/src/lib/src/stream/VirgilStreamDataSink.cxx +8 -5
- data/ext/native/src/lib/src/stream/VirgilStreamDataSource.cxx +10 -7
- data/ext/native/src/lib/{include/virgil/crypto/internal → src}/utils.h +3 -3
- data/ext/native/src/libs_ext/mbedtls/mbedtls.cmake +5 -5
- data/ext/native/src/libs_ext/rapidjson/rapidjson.cmake +5 -5
- data/ext/native/src/libs_ext/tinyformat/cmake/config.cmake.in +3 -3
- data/ext/native/src/libs_ext/tinyformat/tinyformat.cmake +3 -3
- data/ext/native/src/tests/CMakeLists.txt +5 -4
- data/ext/native/src/tests/data/test_data_pfs_with_otc.json +15 -0
- data/ext/native/src/tests/data/test_data_pfs_without_otc.json +15 -0
- data/ext/native/src/tests/rsa_keys.h +302 -0
- data/ext/native/src/tests/test_asn1_writer.cxx +3 -3
- data/ext/native/src/tests/test_asymmetric_cipher.cxx +3 -3
- data/ext/native/src/tests/test_base64.cxx +3 -3
- data/ext/native/src/tests/test_byte_array_utils.cxx +3 -3
- data/ext/native/src/tests/test_chunk_cipher.cxx +7 -7
- data/ext/native/src/tests/test_cipher.cxx +8 -133
- data/ext/native/src/tests/test_cipher_base.cxx +3 -3
- data/ext/native/src/tests/test_contract_copy_move.cxx +8 -7
- data/ext/native/src/tests/test_data_pfs.h +157 -0
- data/ext/native/src/tests/test_hash.cxx +3 -3
- data/ext/native/src/tests/test_hkdf.cxx +187 -0
- data/ext/native/src/tests/test_key_pair.cxx +55 -3
- data/ext/native/src/tests/test_pbe.cxx +3 -3
- data/ext/native/src/tests/test_pbkdf.cxx +3 -3
- data/ext/native/src/tests/test_pfs.cxx +141 -0
- data/ext/native/src/tests/test_random.cxx +3 -3
- data/ext/native/src/tests/test_runner.cxx +3 -3
- data/ext/native/src/tests/test_signer.cxx +3 -3
- data/ext/native/src/tests/test_stream_cipher.cxx +7 -7
- data/ext/native/src/tests/test_stream_data_source.cxx +5 -5
- data/ext/native/src/tests/test_symmetric_cipher.cxx +3 -3
- data/ext/native/src/tests/test_tag_filter.cxx +5 -4
- data/ext/native/src/tests/test_tiny_cipher.cxx +3 -3
- data/ext/native/src/utils/build.bat +4 -4
- data/ext/native/src/utils/build.sh +165 -83
- data/ext/native/src/utils/env.sh +4 -3
- data/ext/native/src/wrappers/CMakeLists.txt +6 -4
- data/ext/native/src/wrappers/asmjs/CMakeLists.txt +22 -64
- data/ext/native/src/wrappers/emsdk/CMakeLists.txt +107 -0
- data/ext/native/src/wrappers/{asmjs → emsdk}/error.js +3 -3
- data/ext/native/src/wrappers/{asmjs → emsdk}/example.html +7 -1
- data/ext/native/src/wrappers/emsdk/helpers.js +172 -0
- data/ext/native/src/wrappers/{asmjs → emsdk}/patch_embind.pl +9 -3
- data/ext/native/src/wrappers/{asmjs → emsdk}/wrapper.cxx +186 -6
- data/ext/native/src/wrappers/go/CMakeLists.txt +4 -4
- data/ext/native/src/wrappers/java/CMakeLists.txt +4 -4
- data/ext/native/src/wrappers/java/src/VirgilStreamDataSink.java +3 -3
- data/ext/native/src/wrappers/java/src/VirgilStreamDataSource.java +3 -3
- data/ext/native/src/wrappers/net/CMakeLists.txt +50 -28
- data/ext/native/src/wrappers/net/src/AssemblyInfo.cs +4 -4
- data/ext/native/src/wrappers/net/src/VirgilStreamDataSink.cs +4 -4
- data/ext/native/src/wrappers/net/src/VirgilStreamDataSource.cs +4 -4
- data/ext/native/src/wrappers/nodejs/CMakeLists.txt +241 -54
- data/ext/native/src/wrappers/nodejs/checksum.txt +405 -0
- data/ext/native/src/wrappers/nodejs/load_checksum.py +82 -0
- data/ext/native/src/wrappers/php/CMakeLists.txt +9 -5
- data/ext/native/src/wrappers/php/tests/CMakeLists.txt +6 -6
- data/ext/native/src/wrappers/php/tests/StringSink.php.in +3 -3
- data/ext/native/src/wrappers/php/tests/StringSource.php.in +3 -3
- data/ext/native/src/wrappers/php/tests/VirgilAsn1Reader_Test.php.in +5 -4
- data/ext/native/src/wrappers/php/tests/VirgilAsn1Writer_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilAsymmetricCipher_EC_Test.php.in +4 -13
- data/ext/native/src/wrappers/php/tests/VirgilAsymmetricCipher_RSA_Test.php.in +4 -13
- data/ext/native/src/wrappers/php/tests/VirgilChunkCipher_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilCipher_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilCustomParams_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilHash_MD5_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilHash_SHA256_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilHash_SHA512_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilKDF_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilPBE_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilPBKDF_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilRandom_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilSigner_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilStreamCipher_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilStreamSigner_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilSymmetricCipher_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/VirgilVersion_Test.php.in +4 -4
- data/ext/native/src/wrappers/php/tests/data/CMakeLists.txt +3 -3
- data/ext/native/src/wrappers/python/CMakeLists.txt +4 -4
- data/ext/native/src/wrappers/ruby/CMakeLists.txt +4 -4
- data/ext/native/src/wrappers/swig/common.i +10 -11
- data/ext/native/src/wrappers/swig/csharp/FixedArray.i +3 -3
- data/ext/native/src/wrappers/swig/csharp/VirgilByteArray.i +3 -3
- data/ext/native/src/wrappers/swig/csharp/common.i +3 -3
- data/ext/native/src/wrappers/swig/csharp/csharphead.swg.in +12 -12
- data/ext/native/src/wrappers/swig/go/common.i.in +3 -3
- data/ext/native/src/wrappers/swig/java/VirgilByteArray.i +3 -3
- data/ext/native/src/wrappers/swig/java/common.i +3 -3
- data/ext/native/src/wrappers/swig/php/common.i +12 -6
- data/ext/native/src/wrappers/swig/php/{VirgilByteArray.i → php5/VirgilByteArray.i} +3 -3
- data/ext/native/src/wrappers/swig/php/php7/VirgilByteArray.i +122 -0
- data/ext/native/src/wrappers/swig/util.i +3 -3
- data/ext/native/src/wrappers/swig/wrapper.i.in +67 -35
- data/ext/native/src/wrappers/webasm/CMakeLists.txt +73 -0
- data/lib/virgil/crypto/version.rb +1 -1
- data/virgil-crypto.gemspec +6 -2
- metadata +77 -667
- data/ext/native/src/ci/configure.sh +0 -71
- data/ext/native/src/ci/install-cmake.sh +0 -48
- data/ext/native/src/ci/install-credentials.sh +0 -45
- data/ext/native/src/ci/install-phpunit.sh +0 -47
- data/ext/native/src/ci/install-swig.sh +0 -47
- data/ext/native/src/ci/run.sh +0 -55
- data/ext/native/src/ci/travis_ci_rsa.enc +0 -0
- data/ext/native/src/cmake/apple.toolchain.cmake +0 -323
- data/ext/native/src/cmake/pnacl.toolchain.cmake +0 -87
- data/ext/native/src/lib/include/CMakeLists.txt +0 -66
- data/ext/native/src/libs_ext/mbedtls/configs/config_pnacl.h +0 -8
- data/ext/native/src/wrappers/asmjs/helpers.js +0 -155
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/android-ifaddrs.h +0 -54
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/ares.h +0 -636
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/ares_version.h +0 -24
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/libplatform/libplatform.h +0 -38
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/nameser.h +0 -211
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node.h +0 -447
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_buffer.h +0 -125
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_internals.h +0 -236
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_object_wrap.h +0 -137
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/node_version.h +0 -69
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/aes.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/asn1.h +0 -1417
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/asn1_mac.h +0 -579
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/asn1t.h +0 -973
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/bio.h +0 -875
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/blowfish.h +0 -130
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/bn.h +0 -957
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/buffer.h +0 -118
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/camellia.h +0 -132
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/cast.h +0 -107
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/cmac.h +0 -82
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/cms.h +0 -505
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/comp.h +0 -79
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/conf.h +0 -267
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/conf_api.h +0 -89
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/crypto.h +0 -661
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/des.h +0 -257
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/des_old.h +0 -497
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dh.h +0 -287
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dsa.h +0 -329
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dso.h +0 -451
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/dtls1.h +0 -268
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/e_os2.h +0 -328
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ebcdic.h +0 -26
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ec.h +0 -1193
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ecdh.h +0 -127
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ecdsa.h +0 -260
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/engine.h +0 -961
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/err.h +0 -389
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/evp.h +0 -1480
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/hmac.h +0 -109
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/idea.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/krb5_asn.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/kssl.h +0 -197
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/lhash.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/md4.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/md5.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/mdc2.h +0 -94
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/modes.h +0 -153
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/obj_mac.h +0 -4031
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/objects.h +0 -1143
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ocsp.h +0 -626
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/opensslconf.h +0 -333
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/opensslv.h +0 -97
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ossl_typ.h +0 -209
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pem.h +0 -611
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pem2.h +0 -70
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pkcs12.h +0 -342
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pkcs7.h +0 -481
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/pqueue.h +0 -99
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rand.h +0 -150
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rc2.h +0 -103
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rc4.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ripemd.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/rsa.h +0 -610
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/safestack.h +0 -2536
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/seed.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/sha.h +0 -214
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/srp.h +0 -169
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/srtp.h +0 -148
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl.h +0 -2766
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl2.h +0 -265
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl23.h +0 -84
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ssl3.h +0 -730
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/stack.h +0 -106
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/symhacks.h +0 -486
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/tls1.h +0 -788
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ts.h +0 -862
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/txt_db.h +0 -112
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ui.h +0 -415
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/ui_compat.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/whrlpool.h +0 -41
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/x509.h +0 -1301
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/x509_vfy.h +0 -595
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/openssl/x509v3.h +0 -1015
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/pthread-fixes.h +0 -72
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/smalloc.h +0 -153
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/stdint-msvc2008.h +0 -247
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/tree.h +0 -768
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-aix.h +0 -32
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-bsd.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-darwin.h +0 -61
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-errno.h +0 -418
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-linux.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-sunos.h +0 -44
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-threadpool.h +0 -37
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-unix.h +0 -383
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-version.h +0 -39
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv-win.h +0 -647
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/uv.h +0 -1467
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-debug.h +0 -267
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-platform.h +0 -62
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-profiler.h +0 -611
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-testing.h +0 -48
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-util.h +0 -487
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8-version.h +0 -20
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8.h +0 -6741
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8config.h +0 -451
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/v8stdint.h +0 -33
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/zconf.h +0 -511
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/include/zlib.h +0 -1768
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v0.12.7/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/android-ifaddrs.h +0 -54
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/ares.h +0 -589
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/ares_version.h +0 -24
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/libplatform/libplatform.h +0 -38
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/nameser.h +0 -211
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node.h +0 -470
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_buffer.h +0 -65
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_internals.h +0 -339
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_object_wrap.h +0 -116
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/node_version.h +0 -45
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/aes.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/BSD-x86/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/BSD-x86_64/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/VC-WIN32/opensslconf.h +0 -259
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/VC-WIN64A/opensslconf.h +0 -259
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/aix-gcc/opensslconf.h +0 -261
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/aix64-gcc/opensslconf.h +0 -261
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/darwin-i386-cc/opensslconf.h +0 -261
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +0 -261
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-aarch64/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-armv4/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-elf/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-ppc/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-ppc64/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-x32/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/linux-x86_64/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/solaris-x86-gcc/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +0 -258
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/asn1.h +0 -1419
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/asn1_mac.h +0 -579
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/asn1t.h +0 -973
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/bio.h +0 -879
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/blowfish.h +0 -130
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/bn.h +0 -939
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/buffer.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/camellia.h +0 -132
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/cast.h +0 -107
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/cmac.h +0 -82
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/cms.h +0 -555
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/comp.h +0 -79
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/conf.h +0 -267
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/conf_api.h +0 -89
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/crypto.h +0 -661
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/des.h +0 -257
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/des_old.h +0 -497
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dh.h +0 -392
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dsa.h +0 -332
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dso.h +0 -451
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/dtls1.h +0 -272
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/e_os2.h +0 -328
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ebcdic.h +0 -26
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ec.h +0 -1282
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ecdh.h +0 -134
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ecdsa.h +0 -335
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/engine.h +0 -960
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/err.h +0 -389
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/evp.h +0 -1534
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/hmac.h +0 -109
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/idea.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/krb5_asn.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/kssl.h +0 -197
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/lhash.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/md4.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/md5.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/mdc2.h +0 -94
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/modes.h +0 -163
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/obj_mac.h +0 -4194
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/objects.h +0 -1143
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ocsp.h +0 -637
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/opensslconf.h +0 -138
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/opensslv.h +0 -97
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ossl_typ.h +0 -211
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pem.h +0 -615
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pem2.h +0 -70
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pkcs12.h +0 -342
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pkcs7.h +0 -481
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/pqueue.h +0 -99
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rand.h +0 -150
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rc2.h +0 -103
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rc4.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ripemd.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/rsa.h +0 -664
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/safestack.h +0 -2672
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/seed.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/sha.h +0 -214
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/srp.h +0 -169
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/srtp.h +0 -147
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl.h +0 -3164
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl2.h +0 -265
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl23.h +0 -84
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ssl3.h +0 -774
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/stack.h +0 -107
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/symhacks.h +0 -516
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/tls1.h +0 -813
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ts.h +0 -862
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/txt_db.h +0 -112
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ui.h +0 -415
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/ui_compat.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/whrlpool.h +0 -41
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/x509.h +0 -1327
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/x509_vfy.h +0 -647
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/openssl/x509v3.h +0 -1055
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/pthread-fixes.h +0 -72
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/stdint-msvc2008.h +0 -247
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/tree.h +0 -768
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-aix.h +0 -32
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-bsd.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-darwin.h +0 -61
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-errno.h +0 -418
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-linux.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-sunos.h +0 -44
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-threadpool.h +0 -37
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-unix.h +0 -383
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-version.h +0 -43
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv-win.h +0 -655
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/uv.h +0 -1472
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-debug.h +0 -280
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-platform.h +0 -82
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-profiler.h +0 -648
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-testing.h +0 -48
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-util.h +0 -640
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8-version.h +0 -20
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8.h +0 -8366
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/v8config.h +0 -424
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/zconf.h +0 -511
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/include/zlib.h +0 -1768
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.1.0/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/android-ifaddrs.h +0 -54
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/ares.h +0 -589
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/ares_version.h +0 -24
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/common.gypi +0 -337
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/config.gypi +0 -44
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/libplatform/libplatform.h +0 -38
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/nameser.h +0 -211
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node.h +0 -470
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_buffer.h +0 -65
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_internals.h +0 -333
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_object_wrap.h +0 -116
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/node_version.h +0 -57
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/aes.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/BSD-x86/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/BSD-x86_64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/VC-WIN32/opensslconf.h +0 -271
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/VC-WIN64A/opensslconf.h +0 -271
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/aix-gcc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/aix64-gcc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/darwin-i386-cc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-aarch64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-armv4/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-elf/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-ppc/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-ppc64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-x32/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/linux-x86_64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/solaris-x86-gcc/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/asn1.h +0 -1419
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/asn1_mac.h +0 -579
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/asn1t.h +0 -973
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/bio.h +0 -883
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/blowfish.h +0 -130
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/bn.h +0 -949
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/buffer.h +0 -125
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/camellia.h +0 -132
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/cast.h +0 -107
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/cmac.h +0 -82
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/cms.h +0 -555
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/comp.h +0 -83
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/conf.h +0 -267
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/conf_api.h +0 -89
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/crypto.h +0 -661
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/des.h +0 -257
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/des_old.h +0 -497
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dh.h +0 -393
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dsa.h +0 -332
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dso.h +0 -451
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/dtls1.h +0 -272
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/e_os2.h +0 -328
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ebcdic.h +0 -26
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ec.h +0 -1282
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ecdh.h +0 -134
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ecdsa.h +0 -335
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/engine.h +0 -960
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/err.h +0 -389
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/evp.h +0 -1534
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/hmac.h +0 -109
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/idea.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/krb5_asn.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/kssl.h +0 -197
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/lhash.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/md4.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/md5.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/mdc2.h +0 -94
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/modes.h +0 -163
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/obj_mac.h +0 -4194
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/objects.h +0 -1143
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ocsp.h +0 -637
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/opensslconf.h +0 -138
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/opensslv.h +0 -97
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ossl_typ.h +0 -211
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pem.h +0 -615
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pem2.h +0 -70
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pkcs12.h +0 -342
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pkcs7.h +0 -481
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/pqueue.h +0 -99
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rand.h +0 -150
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rc2.h +0 -103
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rc4.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ripemd.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/rsa.h +0 -664
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/safestack.h +0 -2672
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/seed.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/sha.h +0 -214
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/srp.h +0 -179
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/srtp.h +0 -147
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl.h +0 -3169
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl2.h +0 -265
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl23.h +0 -84
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ssl3.h +0 -774
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/stack.h +0 -107
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/symhacks.h +0 -516
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/tls1.h +0 -810
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ts.h +0 -862
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/txt_db.h +0 -112
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ui.h +0 -415
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/ui_compat.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/whrlpool.h +0 -41
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/x509.h +0 -1328
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/x509_vfy.h +0 -647
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/openssl/x509v3.h +0 -1055
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/pthread-fixes.h +0 -72
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/stdint-msvc2008.h +0 -247
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/tree.h +0 -768
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-aix.h +0 -32
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-bsd.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-darwin.h +0 -61
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-errno.h +0 -418
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-linux.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-sunos.h +0 -44
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-threadpool.h +0 -37
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-unix.h +0 -383
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-version.h +0 -43
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv-win.h +0 -653
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/uv.h +0 -1482
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-debug.h +0 -280
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-platform.h +0 -82
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-profiler.h +0 -648
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-testing.h +0 -48
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-util.h +0 -640
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8-version.h +0 -20
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8.h +0 -8379
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/v8config.h +0 -424
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/zconf.h +0 -511
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/include/zlib.h +0 -1768
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v4.4.4/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/android-ifaddrs.h +0 -54
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares.h +0 -627
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares_build.h +0 -117
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares_rules.h +0 -130
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/ares_version.h +0 -24
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/common.gypi +0 -335
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/config.gypi +0 -45
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/libplatform/libplatform.h +0 -38
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/nameser.h +0 -211
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node.h +0 -470
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_buffer.h +0 -65
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_internals.h +0 -331
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_object_wrap.h +0 -116
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/node_version.h +0 -54
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/aes.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/BSD-x86/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/BSD-x86_64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/VC-WIN32/opensslconf.h +0 -271
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/VC-WIN64A/opensslconf.h +0 -271
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/aix-gcc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/aix64-gcc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/darwin-i386-cc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-aarch64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-armv4/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-elf/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-ppc/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-ppc64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-x32/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/linux-x86_64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/solaris-x86-gcc/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/asn1.h +0 -1419
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/asn1_mac.h +0 -579
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/asn1t.h +0 -973
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/bio.h +0 -883
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/blowfish.h +0 -130
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/bn.h +0 -949
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/buffer.h +0 -125
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/camellia.h +0 -132
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/cast.h +0 -107
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/cmac.h +0 -82
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/cms.h +0 -555
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/comp.h +0 -79
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/conf.h +0 -267
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/conf_api.h +0 -89
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/crypto.h +0 -661
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/des.h +0 -257
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/des_old.h +0 -497
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dh.h +0 -393
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dsa.h +0 -332
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dso.h +0 -451
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/dtls1.h +0 -272
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/e_os2.h +0 -328
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ebcdic.h +0 -26
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ec.h +0 -1282
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ecdh.h +0 -134
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ecdsa.h +0 -335
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/engine.h +0 -960
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/err.h +0 -389
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/evp.h +0 -1534
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/hmac.h +0 -109
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/idea.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/krb5_asn.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/kssl.h +0 -197
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/lhash.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/md4.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/md5.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/mdc2.h +0 -94
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/modes.h +0 -163
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/obj_mac.h +0 -4194
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/objects.h +0 -1143
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ocsp.h +0 -637
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/opensslconf.h +0 -138
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/opensslv.h +0 -97
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ossl_typ.h +0 -211
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pem.h +0 -615
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pem2.h +0 -70
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pkcs12.h +0 -342
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pkcs7.h +0 -481
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/pqueue.h +0 -99
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rand.h +0 -150
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rc2.h +0 -103
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rc4.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ripemd.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/rsa.h +0 -664
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/safestack.h +0 -2672
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/seed.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/sha.h +0 -214
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/srp.h +0 -179
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/srtp.h +0 -147
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl.h +0 -3169
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl2.h +0 -265
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl23.h +0 -84
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ssl3.h +0 -774
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/stack.h +0 -107
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/symhacks.h +0 -516
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/tls1.h +0 -810
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ts.h +0 -862
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/txt_db.h +0 -112
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ui.h +0 -415
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/ui_compat.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/whrlpool.h +0 -41
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/x509.h +0 -1327
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/x509_vfy.h +0 -647
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/openssl/x509v3.h +0 -1055
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/pthread-fixes.h +0 -72
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/stdint-msvc2008.h +0 -247
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/tree.h +0 -768
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-aix.h +0 -32
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-bsd.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-darwin.h +0 -61
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-errno.h +0 -418
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-linux.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-sunos.h +0 -44
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-threadpool.h +0 -37
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-unix.h +0 -383
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-version.h +0 -43
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv-win.h +0 -653
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/uv.h +0 -1482
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-debug.h +0 -280
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-platform.h +0 -114
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-profiler.h +0 -648
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-testing.h +0 -48
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-util.h +0 -643
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8-version.h +0 -20
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8.h +0 -8369
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/v8config.h +0 -424
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/zconf.h +0 -511
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/include/zlib.h +0 -1768
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v5.9.1/lib/win/x86/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/android-ifaddrs.h +0 -54
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares.h +0 -635
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares_build.h +0 -117
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares_rules.h +0 -130
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/ares_version.h +0 -24
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/common.gypi +0 -361
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/config.gypi +0 -47
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/libplatform/libplatform.h +0 -38
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/nameser.h +0 -211
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node.h +0 -489
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_buffer.h +0 -68
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_internals.h +0 -309
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_object_wrap.h +0 -111
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/node_version.h +0 -54
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/aes.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/BSD-x86/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/BSD-x86_64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/VC-WIN32/opensslconf.h +0 -271
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/VC-WIN64A/opensslconf.h +0 -271
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/aix-gcc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/aix64-gcc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/darwin-i386-cc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/darwin64-x86_64-cc/opensslconf.h +0 -273
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-aarch64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-armv4/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-elf/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-ppc/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-ppc64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-x32/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux-x86_64/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux32-s390x/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/linux64-s390x/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/solaris-x86-gcc/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +0 -270
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/asn1.h +0 -1419
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/asn1_mac.h +0 -579
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/asn1t.h +0 -973
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/bio.h +0 -883
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/blowfish.h +0 -130
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/bn.h +0 -949
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/buffer.h +0 -125
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/camellia.h +0 -132
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/cast.h +0 -107
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/cmac.h +0 -82
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/cms.h +0 -555
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/comp.h +0 -83
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/conf.h +0 -267
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/conf_api.h +0 -89
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/crypto.h +0 -661
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/des.h +0 -257
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/des_old.h +0 -497
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dh.h +0 -393
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dsa.h +0 -332
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dso.h +0 -451
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/dtls1.h +0 -272
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/e_os2.h +0 -328
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ebcdic.h +0 -26
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ec.h +0 -1282
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ecdh.h +0 -134
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ecdsa.h +0 -335
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/engine.h +0 -960
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/err.h +0 -389
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/evp.h +0 -1534
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/hmac.h +0 -109
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/idea.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/krb5_asn.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/kssl.h +0 -197
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/lhash.h +0 -240
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/md4.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/md5.h +0 -119
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/mdc2.h +0 -94
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/modes.h +0 -163
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/obj_mac.h +0 -4194
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/objects.h +0 -1143
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ocsp.h +0 -637
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/opensslconf.h +0 -146
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/opensslv.h +0 -97
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ossl_typ.h +0 -211
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pem.h +0 -615
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pem2.h +0 -70
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pkcs12.h +0 -342
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pkcs7.h +0 -481
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/pqueue.h +0 -99
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rand.h +0 -150
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rc2.h +0 -103
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rc4.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ripemd.h +0 -105
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/rsa.h +0 -664
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/safestack.h +0 -2672
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/seed.h +0 -149
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/sha.h +0 -214
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/srp.h +0 -179
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/srtp.h +0 -147
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl.h +0 -3169
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl2.h +0 -265
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl23.h +0 -84
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ssl3.h +0 -774
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/stack.h +0 -107
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/symhacks.h +0 -516
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/tls1.h +0 -810
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ts.h +0 -862
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/txt_db.h +0 -112
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ui.h +0 -415
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/ui_compat.h +0 -88
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/whrlpool.h +0 -41
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/x509.h +0 -1328
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/x509_vfy.h +0 -647
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/openssl/x509v3.h +0 -1055
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/pthread-fixes.h +0 -72
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/stdint-msvc2008.h +0 -247
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/tree.h +0 -768
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-aix.h +0 -32
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-bsd.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-darwin.h +0 -61
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-errno.h +0 -418
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-linux.h +0 -34
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-sunos.h +0 -44
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-threadpool.h +0 -37
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-unix.h +0 -383
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-version.h +0 -43
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv-win.h +0 -648
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/uv.h +0 -1495
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-debug.h +0 -288
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-experimental.h +0 -54
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-platform.h +0 -171
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-profiler.h +0 -782
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-testing.h +0 -48
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-util.h +0 -643
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8-version.h +0 -20
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8.h +0 -8586
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/v8config.h +0 -438
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/zconf.h +0 -511
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/include/zlib.h +0 -1768
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/lib/win/x64/node.lib +0 -0
- data/ext/native/src/wrappers/nodejs/node-v6.1.0/lib/win/x86/node.lib +0 -0
@@ -1,267 +0,0 @@
|
|
1
|
-
// Copyright 2008 the V8 project authors. All rights reserved.
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
#ifndef V8_V8_DEBUG_H_
|
6
|
-
#define V8_V8_DEBUG_H_
|
7
|
-
|
8
|
-
#include "v8.h"
|
9
|
-
|
10
|
-
/**
|
11
|
-
* Debugger support for the V8 JavaScript engine.
|
12
|
-
*/
|
13
|
-
namespace v8 {
|
14
|
-
|
15
|
-
// Debug events which can occur in the V8 JavaScript engine.
|
16
|
-
enum DebugEvent {
|
17
|
-
Break = 1,
|
18
|
-
Exception = 2,
|
19
|
-
NewFunction = 3,
|
20
|
-
BeforeCompile = 4,
|
21
|
-
AfterCompile = 5,
|
22
|
-
CompileError = 6,
|
23
|
-
PromiseEvent = 7,
|
24
|
-
AsyncTaskEvent = 8,
|
25
|
-
BreakForCommand = 9
|
26
|
-
};
|
27
|
-
|
28
|
-
|
29
|
-
class V8_EXPORT Debug {
|
30
|
-
public:
|
31
|
-
/**
|
32
|
-
* A client object passed to the v8 debugger whose ownership will be taken by
|
33
|
-
* it. v8 is always responsible for deleting the object.
|
34
|
-
*/
|
35
|
-
class ClientData {
|
36
|
-
public:
|
37
|
-
virtual ~ClientData() {}
|
38
|
-
};
|
39
|
-
|
40
|
-
|
41
|
-
/**
|
42
|
-
* A message object passed to the debug message handler.
|
43
|
-
*/
|
44
|
-
class Message {
|
45
|
-
public:
|
46
|
-
/**
|
47
|
-
* Check type of message.
|
48
|
-
*/
|
49
|
-
virtual bool IsEvent() const = 0;
|
50
|
-
virtual bool IsResponse() const = 0;
|
51
|
-
virtual DebugEvent GetEvent() const = 0;
|
52
|
-
|
53
|
-
/**
|
54
|
-
* Indicate whether this is a response to a continue command which will
|
55
|
-
* start the VM running after this is processed.
|
56
|
-
*/
|
57
|
-
virtual bool WillStartRunning() const = 0;
|
58
|
-
|
59
|
-
/**
|
60
|
-
* Access to execution state and event data. Don't store these cross
|
61
|
-
* callbacks as their content becomes invalid. These objects are from the
|
62
|
-
* debugger event that started the debug message loop.
|
63
|
-
*/
|
64
|
-
virtual Handle<Object> GetExecutionState() const = 0;
|
65
|
-
virtual Handle<Object> GetEventData() const = 0;
|
66
|
-
|
67
|
-
/**
|
68
|
-
* Get the debugger protocol JSON.
|
69
|
-
*/
|
70
|
-
virtual Handle<String> GetJSON() const = 0;
|
71
|
-
|
72
|
-
/**
|
73
|
-
* Get the context active when the debug event happened. Note this is not
|
74
|
-
* the current active context as the JavaScript part of the debugger is
|
75
|
-
* running in its own context which is entered at this point.
|
76
|
-
*/
|
77
|
-
virtual Handle<Context> GetEventContext() const = 0;
|
78
|
-
|
79
|
-
/**
|
80
|
-
* Client data passed with the corresponding request if any. This is the
|
81
|
-
* client_data data value passed into Debug::SendCommand along with the
|
82
|
-
* request that led to the message or NULL if the message is an event. The
|
83
|
-
* debugger takes ownership of the data and will delete it even if there is
|
84
|
-
* no message handler.
|
85
|
-
*/
|
86
|
-
virtual ClientData* GetClientData() const = 0;
|
87
|
-
|
88
|
-
virtual Isolate* GetIsolate() const = 0;
|
89
|
-
|
90
|
-
virtual ~Message() {}
|
91
|
-
};
|
92
|
-
|
93
|
-
|
94
|
-
/**
|
95
|
-
* An event details object passed to the debug event listener.
|
96
|
-
*/
|
97
|
-
class EventDetails {
|
98
|
-
public:
|
99
|
-
/**
|
100
|
-
* Event type.
|
101
|
-
*/
|
102
|
-
virtual DebugEvent GetEvent() const = 0;
|
103
|
-
|
104
|
-
/**
|
105
|
-
* Access to execution state and event data of the debug event. Don't store
|
106
|
-
* these cross callbacks as their content becomes invalid.
|
107
|
-
*/
|
108
|
-
virtual Handle<Object> GetExecutionState() const = 0;
|
109
|
-
virtual Handle<Object> GetEventData() const = 0;
|
110
|
-
|
111
|
-
/**
|
112
|
-
* Get the context active when the debug event happened. Note this is not
|
113
|
-
* the current active context as the JavaScript part of the debugger is
|
114
|
-
* running in its own context which is entered at this point.
|
115
|
-
*/
|
116
|
-
virtual Handle<Context> GetEventContext() const = 0;
|
117
|
-
|
118
|
-
/**
|
119
|
-
* Client data passed with the corresponding callback when it was
|
120
|
-
* registered.
|
121
|
-
*/
|
122
|
-
virtual Handle<Value> GetCallbackData() const = 0;
|
123
|
-
|
124
|
-
/**
|
125
|
-
* Client data passed to DebugBreakForCommand function. The
|
126
|
-
* debugger takes ownership of the data and will delete it even if
|
127
|
-
* there is no message handler.
|
128
|
-
*/
|
129
|
-
virtual ClientData* GetClientData() const = 0;
|
130
|
-
|
131
|
-
virtual ~EventDetails() {}
|
132
|
-
};
|
133
|
-
|
134
|
-
/**
|
135
|
-
* Debug event callback function.
|
136
|
-
*
|
137
|
-
* \param event_details object providing information about the debug event
|
138
|
-
*
|
139
|
-
* A EventCallback2 does not take possession of the event data,
|
140
|
-
* and must not rely on the data persisting after the handler returns.
|
141
|
-
*/
|
142
|
-
typedef void (*EventCallback)(const EventDetails& event_details);
|
143
|
-
|
144
|
-
/**
|
145
|
-
* Debug message callback function.
|
146
|
-
*
|
147
|
-
* \param message the debug message handler message object
|
148
|
-
*
|
149
|
-
* A MessageHandler2 does not take possession of the message data,
|
150
|
-
* and must not rely on the data persisting after the handler returns.
|
151
|
-
*/
|
152
|
-
typedef void (*MessageHandler)(const Message& message);
|
153
|
-
|
154
|
-
/**
|
155
|
-
* Callback function for the host to ensure debug messages are processed.
|
156
|
-
*/
|
157
|
-
typedef void (*DebugMessageDispatchHandler)();
|
158
|
-
|
159
|
-
static bool SetDebugEventListener(EventCallback that,
|
160
|
-
Handle<Value> data = Handle<Value>());
|
161
|
-
|
162
|
-
// Schedule a debugger break to happen when JavaScript code is run
|
163
|
-
// in the given isolate.
|
164
|
-
static void DebugBreak(Isolate* isolate);
|
165
|
-
|
166
|
-
// Remove scheduled debugger break in given isolate if it has not
|
167
|
-
// happened yet.
|
168
|
-
static void CancelDebugBreak(Isolate* isolate);
|
169
|
-
|
170
|
-
// Break execution of JavaScript in the given isolate (this method
|
171
|
-
// can be invoked from a non-VM thread) for further client command
|
172
|
-
// execution on a VM thread. Client data is then passed in
|
173
|
-
// EventDetails to EventCallback2 at the moment when the VM actually
|
174
|
-
// stops.
|
175
|
-
static void DebugBreakForCommand(Isolate* isolate, ClientData* data);
|
176
|
-
|
177
|
-
// Message based interface. The message protocol is JSON.
|
178
|
-
static void SetMessageHandler(MessageHandler handler);
|
179
|
-
|
180
|
-
static void SendCommand(Isolate* isolate,
|
181
|
-
const uint16_t* command, int length,
|
182
|
-
ClientData* client_data = NULL);
|
183
|
-
|
184
|
-
/**
|
185
|
-
* Run a JavaScript function in the debugger.
|
186
|
-
* \param fun the function to call
|
187
|
-
* \param data passed as second argument to the function
|
188
|
-
* With this call the debugger is entered and the function specified is called
|
189
|
-
* with the execution state as the first argument. This makes it possible to
|
190
|
-
* get access to information otherwise not available during normal JavaScript
|
191
|
-
* execution e.g. details on stack frames. Receiver of the function call will
|
192
|
-
* be the debugger context global object, however this is a subject to change.
|
193
|
-
* The following example shows a JavaScript function which when passed to
|
194
|
-
* v8::Debug::Call will return the current line of JavaScript execution.
|
195
|
-
*
|
196
|
-
* \code
|
197
|
-
* function frame_source_line(exec_state) {
|
198
|
-
* return exec_state.frame(0).sourceLine();
|
199
|
-
* }
|
200
|
-
* \endcode
|
201
|
-
*/
|
202
|
-
static Local<Value> Call(v8::Handle<v8::Function> fun,
|
203
|
-
Handle<Value> data = Handle<Value>());
|
204
|
-
|
205
|
-
/**
|
206
|
-
* Returns a mirror object for the given object.
|
207
|
-
*/
|
208
|
-
static Local<Value> GetMirror(v8::Handle<v8::Value> obj);
|
209
|
-
|
210
|
-
/**
|
211
|
-
* Makes V8 process all pending debug messages.
|
212
|
-
*
|
213
|
-
* From V8 point of view all debug messages come asynchronously (e.g. from
|
214
|
-
* remote debugger) but they all must be handled synchronously: V8 cannot
|
215
|
-
* do 2 things at one time so normal script execution must be interrupted
|
216
|
-
* for a while.
|
217
|
-
*
|
218
|
-
* Generally when message arrives V8 may be in one of 3 states:
|
219
|
-
* 1. V8 is running script; V8 will automatically interrupt and process all
|
220
|
-
* pending messages;
|
221
|
-
* 2. V8 is suspended on debug breakpoint; in this state V8 is dedicated
|
222
|
-
* to reading and processing debug messages;
|
223
|
-
* 3. V8 is not running at all or has called some long-working C++ function;
|
224
|
-
* by default it means that processing of all debug messages will be deferred
|
225
|
-
* until V8 gets control again; however, embedding application may improve
|
226
|
-
* this by manually calling this method.
|
227
|
-
*
|
228
|
-
* Technically this method in many senses is equivalent to executing empty
|
229
|
-
* script:
|
230
|
-
* 1. It does nothing except for processing all pending debug messages.
|
231
|
-
* 2. It should be invoked with the same precautions and from the same context
|
232
|
-
* as V8 script would be invoked from, because:
|
233
|
-
* a. with "evaluate" command it can do whatever normal script can do,
|
234
|
-
* including all native calls;
|
235
|
-
* b. no other thread should call V8 while this method is running
|
236
|
-
* (v8::Locker may be used here).
|
237
|
-
*
|
238
|
-
* "Evaluate" debug command behavior currently is not specified in scope
|
239
|
-
* of this method.
|
240
|
-
*/
|
241
|
-
static void ProcessDebugMessages();
|
242
|
-
|
243
|
-
/**
|
244
|
-
* Debugger is running in its own context which is entered while debugger
|
245
|
-
* messages are being dispatched. This is an explicit getter for this
|
246
|
-
* debugger context. Note that the content of the debugger context is subject
|
247
|
-
* to change.
|
248
|
-
*/
|
249
|
-
static Local<Context> GetDebugContext();
|
250
|
-
|
251
|
-
|
252
|
-
/**
|
253
|
-
* Enable/disable LiveEdit functionality for the given Isolate
|
254
|
-
* (default Isolate if not provided). V8 will abort if LiveEdit is
|
255
|
-
* unexpectedly used. LiveEdit is enabled by default.
|
256
|
-
*/
|
257
|
-
static void SetLiveEditEnabled(Isolate* isolate, bool enable);
|
258
|
-
};
|
259
|
-
|
260
|
-
|
261
|
-
} // namespace v8
|
262
|
-
|
263
|
-
|
264
|
-
#undef EXPORT
|
265
|
-
|
266
|
-
|
267
|
-
#endif // V8_V8_DEBUG_H_
|
@@ -1,62 +0,0 @@
|
|
1
|
-
// Copyright 2013 the V8 project authors. All rights reserved.
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
#ifndef V8_V8_PLATFORM_H_
|
6
|
-
#define V8_V8_PLATFORM_H_
|
7
|
-
|
8
|
-
namespace v8 {
|
9
|
-
|
10
|
-
class Isolate;
|
11
|
-
|
12
|
-
/**
|
13
|
-
* A Task represents a unit of work.
|
14
|
-
*/
|
15
|
-
class Task {
|
16
|
-
public:
|
17
|
-
virtual ~Task() {}
|
18
|
-
|
19
|
-
virtual void Run() = 0;
|
20
|
-
};
|
21
|
-
|
22
|
-
/**
|
23
|
-
* V8 Platform abstraction layer.
|
24
|
-
*
|
25
|
-
* The embedder has to provide an implementation of this interface before
|
26
|
-
* initializing the rest of V8.
|
27
|
-
*/
|
28
|
-
class Platform {
|
29
|
-
public:
|
30
|
-
/**
|
31
|
-
* This enum is used to indicate whether a task is potentially long running,
|
32
|
-
* or causes a long wait. The embedder might want to use this hint to decide
|
33
|
-
* whether to execute the task on a dedicated thread.
|
34
|
-
*/
|
35
|
-
enum ExpectedRuntime {
|
36
|
-
kShortRunningTask,
|
37
|
-
kLongRunningTask
|
38
|
-
};
|
39
|
-
|
40
|
-
virtual ~Platform() {}
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Schedules a task to be invoked on a background thread. |expected_runtime|
|
44
|
-
* indicates that the task will run a long time. The Platform implementation
|
45
|
-
* takes ownership of |task|. There is no guarantee about order of execution
|
46
|
-
* of tasks wrt order of scheduling, nor is there a guarantee about the
|
47
|
-
* thread the task will be run on.
|
48
|
-
*/
|
49
|
-
virtual void CallOnBackgroundThread(Task* task,
|
50
|
-
ExpectedRuntime expected_runtime) = 0;
|
51
|
-
|
52
|
-
/**
|
53
|
-
* Schedules a task to be invoked on a foreground thread wrt a specific
|
54
|
-
* |isolate|. Tasks posted for the same isolate should be execute in order of
|
55
|
-
* scheduling. The definition of "foreground" is opaque to V8.
|
56
|
-
*/
|
57
|
-
virtual void CallOnForegroundThread(Isolate* isolate, Task* task) = 0;
|
58
|
-
};
|
59
|
-
|
60
|
-
} // namespace v8
|
61
|
-
|
62
|
-
#endif // V8_V8_PLATFORM_H_
|
@@ -1,611 +0,0 @@
|
|
1
|
-
// Copyright 2010 the V8 project authors. All rights reserved.
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
#ifndef V8_V8_PROFILER_H_
|
6
|
-
#define V8_V8_PROFILER_H_
|
7
|
-
|
8
|
-
#include "v8.h"
|
9
|
-
|
10
|
-
/**
|
11
|
-
* Profiler support for the V8 JavaScript engine.
|
12
|
-
*/
|
13
|
-
namespace v8 {
|
14
|
-
|
15
|
-
class HeapGraphNode;
|
16
|
-
struct HeapStatsUpdate;
|
17
|
-
|
18
|
-
typedef uint32_t SnapshotObjectId;
|
19
|
-
|
20
|
-
/**
|
21
|
-
* CpuProfileNode represents a node in a call graph.
|
22
|
-
*/
|
23
|
-
class V8_EXPORT CpuProfileNode {
|
24
|
-
public:
|
25
|
-
/** Returns function name (empty string for anonymous functions.) */
|
26
|
-
Handle<String> GetFunctionName() const;
|
27
|
-
|
28
|
-
/** Returns id of the script where function is located. */
|
29
|
-
int GetScriptId() const;
|
30
|
-
|
31
|
-
/** Returns resource name for script from where the function originates. */
|
32
|
-
Handle<String> GetScriptResourceName() const;
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Returns the number, 1-based, of the line where the function originates.
|
36
|
-
* kNoLineNumberInfo if no line number information is available.
|
37
|
-
*/
|
38
|
-
int GetLineNumber() const;
|
39
|
-
|
40
|
-
/**
|
41
|
-
* Returns 1-based number of the column where the function originates.
|
42
|
-
* kNoColumnNumberInfo if no column number information is available.
|
43
|
-
*/
|
44
|
-
int GetColumnNumber() const;
|
45
|
-
|
46
|
-
/** Returns bailout reason for the function
|
47
|
-
* if the optimization was disabled for it.
|
48
|
-
*/
|
49
|
-
const char* GetBailoutReason() const;
|
50
|
-
|
51
|
-
/**
|
52
|
-
* Returns the count of samples where the function was currently executing.
|
53
|
-
*/
|
54
|
-
unsigned GetHitCount() const;
|
55
|
-
|
56
|
-
/** Returns function entry UID. */
|
57
|
-
unsigned GetCallUid() const;
|
58
|
-
|
59
|
-
/** Returns id of the node. The id is unique within the tree */
|
60
|
-
unsigned GetNodeId() const;
|
61
|
-
|
62
|
-
/** Returns child nodes count of the node. */
|
63
|
-
int GetChildrenCount() const;
|
64
|
-
|
65
|
-
/** Retrieves a child node by index. */
|
66
|
-
const CpuProfileNode* GetChild(int index) const;
|
67
|
-
|
68
|
-
static const int kNoLineNumberInfo = Message::kNoLineNumberInfo;
|
69
|
-
static const int kNoColumnNumberInfo = Message::kNoColumnInfo;
|
70
|
-
};
|
71
|
-
|
72
|
-
|
73
|
-
/**
|
74
|
-
* CpuProfile contains a CPU profile in a form of top-down call tree
|
75
|
-
* (from main() down to functions that do all the work).
|
76
|
-
*/
|
77
|
-
class V8_EXPORT CpuProfile {
|
78
|
-
public:
|
79
|
-
/** Returns CPU profile title. */
|
80
|
-
Handle<String> GetTitle() const;
|
81
|
-
|
82
|
-
/** Returns the root node of the top down call tree. */
|
83
|
-
const CpuProfileNode* GetTopDownRoot() const;
|
84
|
-
|
85
|
-
/**
|
86
|
-
* Returns number of samples recorded. The samples are not recorded unless
|
87
|
-
* |record_samples| parameter of CpuProfiler::StartCpuProfiling is true.
|
88
|
-
*/
|
89
|
-
int GetSamplesCount() const;
|
90
|
-
|
91
|
-
/**
|
92
|
-
* Returns profile node corresponding to the top frame the sample at
|
93
|
-
* the given index.
|
94
|
-
*/
|
95
|
-
const CpuProfileNode* GetSample(int index) const;
|
96
|
-
|
97
|
-
/**
|
98
|
-
* Returns the timestamp of the sample. The timestamp is the number of
|
99
|
-
* microseconds since some unspecified starting point.
|
100
|
-
* The point is equal to the starting point used by GetStartTime.
|
101
|
-
*/
|
102
|
-
int64_t GetSampleTimestamp(int index) const;
|
103
|
-
|
104
|
-
/**
|
105
|
-
* Returns time when the profile recording was started (in microseconds)
|
106
|
-
* since some unspecified starting point.
|
107
|
-
*/
|
108
|
-
int64_t GetStartTime() const;
|
109
|
-
|
110
|
-
/**
|
111
|
-
* Returns time when the profile recording was stopped (in microseconds)
|
112
|
-
* since some unspecified starting point.
|
113
|
-
* The point is equal to the starting point used by GetStartTime.
|
114
|
-
*/
|
115
|
-
int64_t GetEndTime() const;
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Deletes the profile and removes it from CpuProfiler's list.
|
119
|
-
* All pointers to nodes previously returned become invalid.
|
120
|
-
*/
|
121
|
-
void Delete();
|
122
|
-
};
|
123
|
-
|
124
|
-
|
125
|
-
/**
|
126
|
-
* Interface for controlling CPU profiling. Instance of the
|
127
|
-
* profiler can be retrieved using v8::Isolate::GetCpuProfiler.
|
128
|
-
*/
|
129
|
-
class V8_EXPORT CpuProfiler {
|
130
|
-
public:
|
131
|
-
/**
|
132
|
-
* Changes default CPU profiler sampling interval to the specified number
|
133
|
-
* of microseconds. Default interval is 1000us. This method must be called
|
134
|
-
* when there are no profiles being recorded.
|
135
|
-
*/
|
136
|
-
void SetSamplingInterval(int us);
|
137
|
-
|
138
|
-
/**
|
139
|
-
* Starts collecting CPU profile. Title may be an empty string. It
|
140
|
-
* is allowed to have several profiles being collected at
|
141
|
-
* once. Attempts to start collecting several profiles with the same
|
142
|
-
* title are silently ignored. While collecting a profile, functions
|
143
|
-
* from all security contexts are included in it. The token-based
|
144
|
-
* filtering is only performed when querying for a profile.
|
145
|
-
*
|
146
|
-
* |record_samples| parameter controls whether individual samples should
|
147
|
-
* be recorded in addition to the aggregated tree.
|
148
|
-
*/
|
149
|
-
void StartProfiling(Handle<String> title, bool record_samples = false);
|
150
|
-
|
151
|
-
/** Deprecated. Use StartProfiling instead. */
|
152
|
-
V8_DEPRECATED("Use StartProfiling",
|
153
|
-
void StartCpuProfiling(Handle<String> title,
|
154
|
-
bool record_samples = false));
|
155
|
-
|
156
|
-
/**
|
157
|
-
* Stops collecting CPU profile with a given title and returns it.
|
158
|
-
* If the title given is empty, finishes the last profile started.
|
159
|
-
*/
|
160
|
-
CpuProfile* StopProfiling(Handle<String> title);
|
161
|
-
|
162
|
-
/** Deprecated. Use StopProfiling instead. */
|
163
|
-
V8_DEPRECATED("Use StopProfiling",
|
164
|
-
const CpuProfile* StopCpuProfiling(Handle<String> title));
|
165
|
-
|
166
|
-
/**
|
167
|
-
* Tells the profiler whether the embedder is idle.
|
168
|
-
*/
|
169
|
-
void SetIdle(bool is_idle);
|
170
|
-
|
171
|
-
private:
|
172
|
-
CpuProfiler();
|
173
|
-
~CpuProfiler();
|
174
|
-
CpuProfiler(const CpuProfiler&);
|
175
|
-
CpuProfiler& operator=(const CpuProfiler&);
|
176
|
-
};
|
177
|
-
|
178
|
-
|
179
|
-
/**
|
180
|
-
* HeapSnapshotEdge represents a directed connection between heap
|
181
|
-
* graph nodes: from retainers to retained nodes.
|
182
|
-
*/
|
183
|
-
class V8_EXPORT HeapGraphEdge {
|
184
|
-
public:
|
185
|
-
enum Type {
|
186
|
-
kContextVariable = 0, // A variable from a function context.
|
187
|
-
kElement = 1, // An element of an array.
|
188
|
-
kProperty = 2, // A named object property.
|
189
|
-
kInternal = 3, // A link that can't be accessed from JS,
|
190
|
-
// thus, its name isn't a real property name
|
191
|
-
// (e.g. parts of a ConsString).
|
192
|
-
kHidden = 4, // A link that is needed for proper sizes
|
193
|
-
// calculation, but may be hidden from user.
|
194
|
-
kShortcut = 5, // A link that must not be followed during
|
195
|
-
// sizes calculation.
|
196
|
-
kWeak = 6 // A weak reference (ignored by the GC).
|
197
|
-
};
|
198
|
-
|
199
|
-
/** Returns edge type (see HeapGraphEdge::Type). */
|
200
|
-
Type GetType() const;
|
201
|
-
|
202
|
-
/**
|
203
|
-
* Returns edge name. This can be a variable name, an element index, or
|
204
|
-
* a property name.
|
205
|
-
*/
|
206
|
-
Handle<Value> GetName() const;
|
207
|
-
|
208
|
-
/** Returns origin node. */
|
209
|
-
const HeapGraphNode* GetFromNode() const;
|
210
|
-
|
211
|
-
/** Returns destination node. */
|
212
|
-
const HeapGraphNode* GetToNode() const;
|
213
|
-
};
|
214
|
-
|
215
|
-
|
216
|
-
/**
|
217
|
-
* HeapGraphNode represents a node in a heap graph.
|
218
|
-
*/
|
219
|
-
class V8_EXPORT HeapGraphNode {
|
220
|
-
public:
|
221
|
-
enum Type {
|
222
|
-
kHidden = 0, // Hidden node, may be filtered when shown to user.
|
223
|
-
kArray = 1, // An array of elements.
|
224
|
-
kString = 2, // A string.
|
225
|
-
kObject = 3, // A JS object (except for arrays and strings).
|
226
|
-
kCode = 4, // Compiled code.
|
227
|
-
kClosure = 5, // Function closure.
|
228
|
-
kRegExp = 6, // RegExp.
|
229
|
-
kHeapNumber = 7, // Number stored in the heap.
|
230
|
-
kNative = 8, // Native object (not from V8 heap).
|
231
|
-
kSynthetic = 9, // Synthetic object, usualy used for grouping
|
232
|
-
// snapshot items together.
|
233
|
-
kConsString = 10, // Concatenated string. A pair of pointers to strings.
|
234
|
-
kSlicedString = 11, // Sliced string. A fragment of another string.
|
235
|
-
kSymbol = 12 // A Symbol (ES6).
|
236
|
-
};
|
237
|
-
|
238
|
-
/** Returns node type (see HeapGraphNode::Type). */
|
239
|
-
Type GetType() const;
|
240
|
-
|
241
|
-
/**
|
242
|
-
* Returns node name. Depending on node's type this can be the name
|
243
|
-
* of the constructor (for objects), the name of the function (for
|
244
|
-
* closures), string value, or an empty string (for compiled code).
|
245
|
-
*/
|
246
|
-
Handle<String> GetName() const;
|
247
|
-
|
248
|
-
/**
|
249
|
-
* Returns node id. For the same heap object, the id remains the same
|
250
|
-
* across all snapshots.
|
251
|
-
*/
|
252
|
-
SnapshotObjectId GetId() const;
|
253
|
-
|
254
|
-
/** Returns node's own size, in bytes. */
|
255
|
-
V8_DEPRECATED("Use GetShallowSize instead",
|
256
|
-
int GetSelfSize() const);
|
257
|
-
|
258
|
-
/** Returns node's own size, in bytes. */
|
259
|
-
size_t GetShallowSize() const;
|
260
|
-
|
261
|
-
/** Returns child nodes count of the node. */
|
262
|
-
int GetChildrenCount() const;
|
263
|
-
|
264
|
-
/** Retrieves a child by index. */
|
265
|
-
const HeapGraphEdge* GetChild(int index) const;
|
266
|
-
};
|
267
|
-
|
268
|
-
|
269
|
-
/**
|
270
|
-
* An interface for exporting data from V8, using "push" model.
|
271
|
-
*/
|
272
|
-
class V8_EXPORT OutputStream { // NOLINT
|
273
|
-
public:
|
274
|
-
enum WriteResult {
|
275
|
-
kContinue = 0,
|
276
|
-
kAbort = 1
|
277
|
-
};
|
278
|
-
virtual ~OutputStream() {}
|
279
|
-
/** Notify about the end of stream. */
|
280
|
-
virtual void EndOfStream() = 0;
|
281
|
-
/** Get preferred output chunk size. Called only once. */
|
282
|
-
virtual int GetChunkSize() { return 1024; }
|
283
|
-
/**
|
284
|
-
* Writes the next chunk of snapshot data into the stream. Writing
|
285
|
-
* can be stopped by returning kAbort as function result. EndOfStream
|
286
|
-
* will not be called in case writing was aborted.
|
287
|
-
*/
|
288
|
-
virtual WriteResult WriteAsciiChunk(char* data, int size) = 0;
|
289
|
-
/**
|
290
|
-
* Writes the next chunk of heap stats data into the stream. Writing
|
291
|
-
* can be stopped by returning kAbort as function result. EndOfStream
|
292
|
-
* will not be called in case writing was aborted.
|
293
|
-
*/
|
294
|
-
virtual WriteResult WriteHeapStatsChunk(HeapStatsUpdate* data, int count) {
|
295
|
-
return kAbort;
|
296
|
-
}
|
297
|
-
};
|
298
|
-
|
299
|
-
|
300
|
-
/**
|
301
|
-
* HeapSnapshots record the state of the JS heap at some moment.
|
302
|
-
*/
|
303
|
-
class V8_EXPORT HeapSnapshot {
|
304
|
-
public:
|
305
|
-
enum SerializationFormat {
|
306
|
-
kJSON = 0 // See format description near 'Serialize' method.
|
307
|
-
};
|
308
|
-
|
309
|
-
/** Returns heap snapshot UID (assigned by the profiler.) */
|
310
|
-
unsigned GetUid() const;
|
311
|
-
|
312
|
-
/** Returns heap snapshot title. */
|
313
|
-
Handle<String> GetTitle() const;
|
314
|
-
|
315
|
-
/** Returns the root node of the heap graph. */
|
316
|
-
const HeapGraphNode* GetRoot() const;
|
317
|
-
|
318
|
-
/** Returns a node by its id. */
|
319
|
-
const HeapGraphNode* GetNodeById(SnapshotObjectId id) const;
|
320
|
-
|
321
|
-
/** Returns total nodes count in the snapshot. */
|
322
|
-
int GetNodesCount() const;
|
323
|
-
|
324
|
-
/** Returns a node by index. */
|
325
|
-
const HeapGraphNode* GetNode(int index) const;
|
326
|
-
|
327
|
-
/** Returns a max seen JS object Id. */
|
328
|
-
SnapshotObjectId GetMaxSnapshotJSObjectId() const;
|
329
|
-
|
330
|
-
/**
|
331
|
-
* Deletes the snapshot and removes it from HeapProfiler's list.
|
332
|
-
* All pointers to nodes, edges and paths previously returned become
|
333
|
-
* invalid.
|
334
|
-
*/
|
335
|
-
void Delete();
|
336
|
-
|
337
|
-
/**
|
338
|
-
* Prepare a serialized representation of the snapshot. The result
|
339
|
-
* is written into the stream provided in chunks of specified size.
|
340
|
-
* The total length of the serialized snapshot is unknown in
|
341
|
-
* advance, it can be roughly equal to JS heap size (that means,
|
342
|
-
* it can be really big - tens of megabytes).
|
343
|
-
*
|
344
|
-
* For the JSON format, heap contents are represented as an object
|
345
|
-
* with the following structure:
|
346
|
-
*
|
347
|
-
* {
|
348
|
-
* snapshot: {
|
349
|
-
* title: "...",
|
350
|
-
* uid: nnn,
|
351
|
-
* meta: { meta-info },
|
352
|
-
* node_count: nnn,
|
353
|
-
* edge_count: nnn
|
354
|
-
* },
|
355
|
-
* nodes: [nodes array],
|
356
|
-
* edges: [edges array],
|
357
|
-
* strings: [strings array]
|
358
|
-
* }
|
359
|
-
*
|
360
|
-
* Nodes reference strings, other nodes, and edges by their indexes
|
361
|
-
* in corresponding arrays.
|
362
|
-
*/
|
363
|
-
void Serialize(OutputStream* stream, SerializationFormat format) const;
|
364
|
-
};
|
365
|
-
|
366
|
-
|
367
|
-
/**
|
368
|
-
* An interface for reporting progress and controlling long-running
|
369
|
-
* activities.
|
370
|
-
*/
|
371
|
-
class V8_EXPORT ActivityControl { // NOLINT
|
372
|
-
public:
|
373
|
-
enum ControlOption {
|
374
|
-
kContinue = 0,
|
375
|
-
kAbort = 1
|
376
|
-
};
|
377
|
-
virtual ~ActivityControl() {}
|
378
|
-
/**
|
379
|
-
* Notify about current progress. The activity can be stopped by
|
380
|
-
* returning kAbort as the callback result.
|
381
|
-
*/
|
382
|
-
virtual ControlOption ReportProgressValue(int done, int total) = 0;
|
383
|
-
};
|
384
|
-
|
385
|
-
|
386
|
-
/**
|
387
|
-
* Interface for controlling heap profiling. Instance of the
|
388
|
-
* profiler can be retrieved using v8::Isolate::GetHeapProfiler.
|
389
|
-
*/
|
390
|
-
class V8_EXPORT HeapProfiler {
|
391
|
-
public:
|
392
|
-
/**
|
393
|
-
* Callback function invoked for obtaining RetainedObjectInfo for
|
394
|
-
* the given JavaScript wrapper object. It is prohibited to enter V8
|
395
|
-
* while the callback is running: only getters on the handle and
|
396
|
-
* GetPointerFromInternalField on the objects are allowed.
|
397
|
-
*/
|
398
|
-
typedef RetainedObjectInfo* (*WrapperInfoCallback)
|
399
|
-
(uint16_t class_id, Handle<Value> wrapper);
|
400
|
-
|
401
|
-
/** Returns the number of snapshots taken. */
|
402
|
-
int GetSnapshotCount();
|
403
|
-
|
404
|
-
/** Returns a snapshot by index. */
|
405
|
-
const HeapSnapshot* GetHeapSnapshot(int index);
|
406
|
-
|
407
|
-
/**
|
408
|
-
* Returns SnapshotObjectId for a heap object referenced by |value| if
|
409
|
-
* it has been seen by the heap profiler, kUnknownObjectId otherwise.
|
410
|
-
*/
|
411
|
-
SnapshotObjectId GetObjectId(Handle<Value> value);
|
412
|
-
|
413
|
-
/**
|
414
|
-
* Returns heap object with given SnapshotObjectId if the object is alive,
|
415
|
-
* otherwise empty handle is returned.
|
416
|
-
*/
|
417
|
-
Handle<Value> FindObjectById(SnapshotObjectId id);
|
418
|
-
|
419
|
-
/**
|
420
|
-
* Clears internal map from SnapshotObjectId to heap object. The new objects
|
421
|
-
* will not be added into it unless a heap snapshot is taken or heap object
|
422
|
-
* tracking is kicked off.
|
423
|
-
*/
|
424
|
-
void ClearObjectIds();
|
425
|
-
|
426
|
-
/**
|
427
|
-
* A constant for invalid SnapshotObjectId. GetSnapshotObjectId will return
|
428
|
-
* it in case heap profiler cannot find id for the object passed as
|
429
|
-
* parameter. HeapSnapshot::GetNodeById will always return NULL for such id.
|
430
|
-
*/
|
431
|
-
static const SnapshotObjectId kUnknownObjectId = 0;
|
432
|
-
|
433
|
-
/**
|
434
|
-
* Callback interface for retrieving user friendly names of global objects.
|
435
|
-
*/
|
436
|
-
class ObjectNameResolver {
|
437
|
-
public:
|
438
|
-
/**
|
439
|
-
* Returns name to be used in the heap snapshot for given node. Returned
|
440
|
-
* string must stay alive until snapshot collection is completed.
|
441
|
-
*/
|
442
|
-
virtual const char* GetName(Handle<Object> object) = 0;
|
443
|
-
protected:
|
444
|
-
virtual ~ObjectNameResolver() {}
|
445
|
-
};
|
446
|
-
|
447
|
-
/**
|
448
|
-
* Takes a heap snapshot and returns it. Title may be an empty string.
|
449
|
-
*/
|
450
|
-
const HeapSnapshot* TakeHeapSnapshot(
|
451
|
-
Handle<String> title,
|
452
|
-
ActivityControl* control = NULL,
|
453
|
-
ObjectNameResolver* global_object_name_resolver = NULL);
|
454
|
-
|
455
|
-
/**
|
456
|
-
* Starts tracking of heap objects population statistics. After calling
|
457
|
-
* this method, all heap objects relocations done by the garbage collector
|
458
|
-
* are being registered.
|
459
|
-
*
|
460
|
-
* |track_allocations| parameter controls whether stack trace of each
|
461
|
-
* allocation in the heap will be recorded and reported as part of
|
462
|
-
* HeapSnapshot.
|
463
|
-
*/
|
464
|
-
void StartTrackingHeapObjects(bool track_allocations = false);
|
465
|
-
|
466
|
-
/**
|
467
|
-
* Adds a new time interval entry to the aggregated statistics array. The
|
468
|
-
* time interval entry contains information on the current heap objects
|
469
|
-
* population size. The method also updates aggregated statistics and
|
470
|
-
* reports updates for all previous time intervals via the OutputStream
|
471
|
-
* object. Updates on each time interval are provided as a stream of the
|
472
|
-
* HeapStatsUpdate structure instances.
|
473
|
-
* The return value of the function is the last seen heap object Id.
|
474
|
-
*
|
475
|
-
* StartTrackingHeapObjects must be called before the first call to this
|
476
|
-
* method.
|
477
|
-
*/
|
478
|
-
SnapshotObjectId GetHeapStats(OutputStream* stream);
|
479
|
-
|
480
|
-
/**
|
481
|
-
* Stops tracking of heap objects population statistics, cleans up all
|
482
|
-
* collected data. StartHeapObjectsTracking must be called again prior to
|
483
|
-
* calling PushHeapObjectsStats next time.
|
484
|
-
*/
|
485
|
-
void StopTrackingHeapObjects();
|
486
|
-
|
487
|
-
/**
|
488
|
-
* Deletes all snapshots taken. All previously returned pointers to
|
489
|
-
* snapshots and their contents become invalid after this call.
|
490
|
-
*/
|
491
|
-
void DeleteAllHeapSnapshots();
|
492
|
-
|
493
|
-
/** Binds a callback to embedder's class ID. */
|
494
|
-
void SetWrapperClassInfoProvider(
|
495
|
-
uint16_t class_id,
|
496
|
-
WrapperInfoCallback callback);
|
497
|
-
|
498
|
-
/**
|
499
|
-
* Default value of persistent handle class ID. Must not be used to
|
500
|
-
* define a class. Can be used to reset a class of a persistent
|
501
|
-
* handle.
|
502
|
-
*/
|
503
|
-
static const uint16_t kPersistentHandleNoClassId = 0;
|
504
|
-
|
505
|
-
/** Returns memory used for profiler internal data and snapshots. */
|
506
|
-
size_t GetProfilerMemorySize();
|
507
|
-
|
508
|
-
/**
|
509
|
-
* Sets a RetainedObjectInfo for an object group (see V8::SetObjectGroupId).
|
510
|
-
*/
|
511
|
-
void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info);
|
512
|
-
|
513
|
-
private:
|
514
|
-
HeapProfiler();
|
515
|
-
~HeapProfiler();
|
516
|
-
HeapProfiler(const HeapProfiler&);
|
517
|
-
HeapProfiler& operator=(const HeapProfiler&);
|
518
|
-
};
|
519
|
-
|
520
|
-
|
521
|
-
/**
|
522
|
-
* Interface for providing information about embedder's objects
|
523
|
-
* held by global handles. This information is reported in two ways:
|
524
|
-
*
|
525
|
-
* 1. When calling AddObjectGroup, an embedder may pass
|
526
|
-
* RetainedObjectInfo instance describing the group. To collect
|
527
|
-
* this information while taking a heap snapshot, V8 calls GC
|
528
|
-
* prologue and epilogue callbacks.
|
529
|
-
*
|
530
|
-
* 2. When a heap snapshot is collected, V8 additionally
|
531
|
-
* requests RetainedObjectInfos for persistent handles that
|
532
|
-
* were not previously reported via AddObjectGroup.
|
533
|
-
*
|
534
|
-
* Thus, if an embedder wants to provide information about native
|
535
|
-
* objects for heap snapshots, he can do it in a GC prologue
|
536
|
-
* handler, and / or by assigning wrapper class ids in the following way:
|
537
|
-
*
|
538
|
-
* 1. Bind a callback to class id by calling SetWrapperClassInfoProvider.
|
539
|
-
* 2. Call SetWrapperClassId on certain persistent handles.
|
540
|
-
*
|
541
|
-
* V8 takes ownership of RetainedObjectInfo instances passed to it and
|
542
|
-
* keeps them alive only during snapshot collection. Afterwards, they
|
543
|
-
* are freed by calling the Dispose class function.
|
544
|
-
*/
|
545
|
-
class V8_EXPORT RetainedObjectInfo { // NOLINT
|
546
|
-
public:
|
547
|
-
/** Called by V8 when it no longer needs an instance. */
|
548
|
-
virtual void Dispose() = 0;
|
549
|
-
|
550
|
-
/** Returns whether two instances are equivalent. */
|
551
|
-
virtual bool IsEquivalent(RetainedObjectInfo* other) = 0;
|
552
|
-
|
553
|
-
/**
|
554
|
-
* Returns hash value for the instance. Equivalent instances
|
555
|
-
* must have the same hash value.
|
556
|
-
*/
|
557
|
-
virtual intptr_t GetHash() = 0;
|
558
|
-
|
559
|
-
/**
|
560
|
-
* Returns human-readable label. It must be a null-terminated UTF-8
|
561
|
-
* encoded string. V8 copies its contents during a call to GetLabel.
|
562
|
-
*/
|
563
|
-
virtual const char* GetLabel() = 0;
|
564
|
-
|
565
|
-
/**
|
566
|
-
* Returns human-readable group label. It must be a null-terminated UTF-8
|
567
|
-
* encoded string. V8 copies its contents during a call to GetGroupLabel.
|
568
|
-
* Heap snapshot generator will collect all the group names, create
|
569
|
-
* top level entries with these names and attach the objects to the
|
570
|
-
* corresponding top level group objects. There is a default
|
571
|
-
* implementation which is required because embedders don't have their
|
572
|
-
* own implementation yet.
|
573
|
-
*/
|
574
|
-
virtual const char* GetGroupLabel() { return GetLabel(); }
|
575
|
-
|
576
|
-
/**
|
577
|
-
* Returns element count in case if a global handle retains
|
578
|
-
* a subgraph by holding one of its nodes.
|
579
|
-
*/
|
580
|
-
virtual intptr_t GetElementCount() { return -1; }
|
581
|
-
|
582
|
-
/** Returns embedder's object size in bytes. */
|
583
|
-
virtual intptr_t GetSizeInBytes() { return -1; }
|
584
|
-
|
585
|
-
protected:
|
586
|
-
RetainedObjectInfo() {}
|
587
|
-
virtual ~RetainedObjectInfo() {}
|
588
|
-
|
589
|
-
private:
|
590
|
-
RetainedObjectInfo(const RetainedObjectInfo&);
|
591
|
-
RetainedObjectInfo& operator=(const RetainedObjectInfo&);
|
592
|
-
};
|
593
|
-
|
594
|
-
|
595
|
-
/**
|
596
|
-
* A struct for exporting HeapStats data from V8, using "push" model.
|
597
|
-
* See HeapProfiler::GetHeapStats.
|
598
|
-
*/
|
599
|
-
struct HeapStatsUpdate {
|
600
|
-
HeapStatsUpdate(uint32_t index, uint32_t count, uint32_t size)
|
601
|
-
: index(index), count(count), size(size) { }
|
602
|
-
uint32_t index; // Index of the time interval that was changed.
|
603
|
-
uint32_t count; // New value of count field for the interval with this index.
|
604
|
-
uint32_t size; // New value of size field for the interval with this index.
|
605
|
-
};
|
606
|
-
|
607
|
-
|
608
|
-
} // namespace v8
|
609
|
-
|
610
|
-
|
611
|
-
#endif // V8_V8_PROFILER_H_
|