rugged 0.27.10 → 0.27.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rugged/version.rb +1 -1
- data/vendor/libgit2/AUTHORS +0 -1
- data/vendor/libgit2/CMakeLists.txt +54 -98
- data/vendor/libgit2/COPYING +0 -28
- data/vendor/libgit2/cmake/Modules/AddCFlagIfSupported.cmake +1 -15
- data/vendor/libgit2/cmake/Modules/EnableWarnings.cmake +8 -9
- data/vendor/libgit2/cmake/Modules/FindCoreFoundation.cmake +2 -2
- data/vendor/libgit2/cmake/Modules/FindGSSAPI.cmake +1 -1
- data/vendor/libgit2/cmake/Modules/FindSecurity.cmake +2 -2
- data/vendor/libgit2/cmake/Modules/FindStatNsec.cmake +0 -6
- data/vendor/libgit2/deps/http-parser/CMakeLists.txt +0 -2
- data/vendor/libgit2/deps/http-parser/{COPYING → LICENSE-MIT} +0 -0
- data/vendor/libgit2/deps/http-parser/http_parser.c +6 -11
- data/vendor/libgit2/deps/regex/CMakeLists.txt +2 -0
- data/vendor/libgit2/deps/regex/config.h +7 -0
- data/vendor/libgit2/deps/regex/regcomp.c +3857 -0
- data/vendor/libgit2/deps/regex/regex.c +92 -0
- data/vendor/libgit2/deps/regex/regex.h +582 -0
- data/vendor/libgit2/deps/regex/regex_internal.c +1744 -0
- data/vendor/libgit2/deps/regex/regex_internal.h +819 -0
- data/vendor/libgit2/deps/regex/regexec.c +4369 -0
- data/vendor/libgit2/deps/zlib/CMakeLists.txt +0 -1
- data/vendor/libgit2/deps/zlib/adler32.c +7 -0
- data/vendor/libgit2/deps/zlib/crc32.c +7 -0
- data/vendor/libgit2/include/git2.h +0 -5
- data/vendor/libgit2/include/git2/annotated_commit.h +0 -9
- data/vendor/libgit2/include/git2/attr.h +20 -38
- data/vendor/libgit2/include/git2/blame.h +25 -42
- data/vendor/libgit2/include/git2/blob.h +13 -45
- data/vendor/libgit2/include/git2/branch.h +1 -1
- data/vendor/libgit2/include/git2/buffer.h +16 -22
- data/vendor/libgit2/include/git2/checkout.h +32 -65
- data/vendor/libgit2/include/git2/cherrypick.h +7 -9
- data/vendor/libgit2/include/git2/clone.h +10 -12
- data/vendor/libgit2/include/git2/commit.h +3 -53
- data/vendor/libgit2/include/git2/common.h +8 -60
- data/vendor/libgit2/include/git2/config.h +19 -30
- data/vendor/libgit2/include/git2/describe.h +9 -32
- data/vendor/libgit2/include/git2/diff.h +156 -208
- data/vendor/libgit2/include/git2/errors.h +46 -54
- data/vendor/libgit2/include/git2/filter.h +0 -8
- data/vendor/libgit2/include/git2/ignore.h +2 -2
- data/vendor/libgit2/include/git2/index.h +52 -74
- data/vendor/libgit2/include/git2/indexer.h +6 -76
- data/vendor/libgit2/include/git2/inttypes.h +309 -0
- data/vendor/libgit2/include/git2/merge.h +18 -35
- data/vendor/libgit2/include/git2/net.h +5 -0
- data/vendor/libgit2/include/git2/notes.h +1 -1
- data/vendor/libgit2/include/git2/object.h +29 -17
- data/vendor/libgit2/include/git2/odb.h +11 -12
- data/vendor/libgit2/include/git2/odb_backend.h +9 -10
- data/vendor/libgit2/include/git2/oid.h +2 -2
- data/vendor/libgit2/include/git2/pack.h +3 -14
- data/vendor/libgit2/include/git2/proxy.h +8 -14
- data/vendor/libgit2/include/git2/rebase.h +6 -53
- data/vendor/libgit2/include/git2/refs.h +15 -33
- data/vendor/libgit2/include/git2/refspec.h +0 -17
- data/vendor/libgit2/include/git2/remote.h +24 -123
- data/vendor/libgit2/include/git2/repository.h +39 -76
- data/vendor/libgit2/include/git2/revert.h +4 -6
- data/vendor/libgit2/include/git2/revwalk.h +7 -7
- data/vendor/libgit2/include/git2/signature.h +2 -2
- data/vendor/libgit2/include/git2/stash.h +12 -15
- data/vendor/libgit2/include/git2/status.h +20 -33
- data/vendor/libgit2/include/git2/submodule.h +12 -30
- data/vendor/libgit2/include/git2/sys/commit.h +1 -1
- data/vendor/libgit2/include/git2/sys/config.h +13 -13
- data/vendor/libgit2/include/git2/sys/filter.h +6 -6
- data/vendor/libgit2/include/git2/sys/index.h +0 -3
- data/vendor/libgit2/include/git2/sys/mempack.h +35 -35
- data/vendor/libgit2/include/git2/sys/merge.h +4 -9
- data/vendor/libgit2/include/git2/sys/odb_backend.h +22 -66
- data/vendor/libgit2/include/git2/sys/refdb_backend.h +40 -76
- data/vendor/libgit2/include/git2/sys/repository.h +1 -5
- data/vendor/libgit2/include/git2/sys/stream.h +12 -92
- data/vendor/libgit2/include/git2/sys/time.h +31 -0
- data/vendor/libgit2/include/git2/sys/transport.h +83 -129
- data/vendor/libgit2/include/git2/tag.h +4 -13
- data/vendor/libgit2/include/git2/trace.h +2 -2
- data/vendor/libgit2/include/git2/transaction.h +0 -1
- data/vendor/libgit2/include/git2/transport.h +311 -11
- data/vendor/libgit2/include/git2/tree.h +4 -4
- data/vendor/libgit2/include/git2/types.h +111 -33
- data/vendor/libgit2/include/git2/version.h +4 -4
- data/vendor/libgit2/include/git2/worktree.h +13 -48
- data/vendor/libgit2/libgit2.pc.in +13 -0
- data/vendor/libgit2/src/CMakeLists.txt +164 -96
- data/vendor/libgit2/src/annotated_commit.c +8 -15
- data/vendor/libgit2/src/apply.c +31 -537
- data/vendor/libgit2/src/apply.h +1 -3
- data/vendor/libgit2/src/array.h +2 -2
- data/vendor/libgit2/src/attr.c +75 -81
- data/vendor/libgit2/src/attr_file.c +121 -207
- data/vendor/libgit2/src/attr_file.h +9 -9
- data/vendor/libgit2/src/attrcache.c +53 -51
- data/vendor/libgit2/src/attrcache.h +1 -2
- data/vendor/libgit2/src/blame.c +20 -47
- data/vendor/libgit2/src/blame.h +1 -2
- data/vendor/libgit2/src/blame_git.c +20 -37
- data/vendor/libgit2/src/blob.c +42 -128
- data/vendor/libgit2/src/blob.h +2 -19
- data/vendor/libgit2/src/branch.c +43 -67
- data/vendor/libgit2/src/buf_text.c +6 -7
- data/vendor/libgit2/src/buffer.c +57 -69
- data/vendor/libgit2/src/buffer.h +1 -1
- data/vendor/libgit2/src/cache.c +45 -38
- data/vendor/libgit2/src/cache.h +3 -3
- data/vendor/libgit2/src/cc-compat.h +3 -20
- data/vendor/libgit2/src/checkout.c +90 -109
- data/vendor/libgit2/src/cherrypick.c +9 -15
- data/vendor/libgit2/src/clone.c +27 -49
- data/vendor/libgit2/src/clone.h +0 -4
- data/vendor/libgit2/src/commit.c +49 -117
- data/vendor/libgit2/src/commit.h +0 -7
- data/vendor/libgit2/src/commit_list.c +78 -30
- data/vendor/libgit2/src/commit_list.h +2 -2
- data/vendor/libgit2/src/common.h +91 -27
- data/vendor/libgit2/src/config.c +176 -194
- data/vendor/libgit2/src/config.h +20 -8
- data/vendor/libgit2/src/config_cache.c +35 -41
- data/vendor/libgit2/src/config_file.c +753 -439
- data/vendor/libgit2/src/config_file.h +73 -0
- data/vendor/libgit2/src/config_parse.c +63 -114
- data/vendor/libgit2/src/config_parse.h +16 -17
- data/vendor/libgit2/src/crlf.c +190 -219
- data/vendor/libgit2/src/delta.c +18 -25
- data/vendor/libgit2/src/describe.c +41 -42
- data/vendor/libgit2/src/diff.c +68 -53
- data/vendor/libgit2/src/diff.h +1 -2
- data/vendor/libgit2/src/diff_driver.c +49 -47
- data/vendor/libgit2/src/diff_file.c +17 -19
- data/vendor/libgit2/src/diff_file.h +1 -1
- data/vendor/libgit2/src/diff_generate.c +106 -162
- data/vendor/libgit2/src/diff_generate.h +3 -3
- data/vendor/libgit2/src/diff_parse.c +4 -4
- data/vendor/libgit2/src/diff_print.c +30 -42
- data/vendor/libgit2/src/diff_stats.c +7 -22
- data/vendor/libgit2/src/diff_tform.c +16 -16
- data/vendor/libgit2/src/diff_xdiff.c +3 -15
- data/vendor/libgit2/src/errors.c +39 -51
- data/vendor/libgit2/src/features.h.in +3 -11
- data/vendor/libgit2/src/fetch.c +5 -10
- data/vendor/libgit2/src/fetchhead.c +17 -17
- data/vendor/libgit2/src/filebuf.c +36 -32
- data/vendor/libgit2/src/filebuf.h +2 -2
- data/vendor/libgit2/src/{futils.c → fileops.c} +73 -80
- data/vendor/libgit2/src/{futils.h → fileops.h} +6 -6
- data/vendor/libgit2/src/filter.c +38 -46
- data/vendor/libgit2/src/filter.h +10 -0
- data/vendor/libgit2/src/fnmatch.c +248 -0
- data/vendor/libgit2/src/fnmatch.h +48 -0
- data/vendor/libgit2/src/global.c +63 -48
- data/vendor/libgit2/src/global.h +2 -0
- data/vendor/libgit2/src/hash.c +0 -61
- data/vendor/libgit2/src/hash.h +19 -20
- data/vendor/libgit2/src/hash/hash_collisiondetect.h +47 -0
- data/vendor/libgit2/src/hash/{sha1/common_crypto.c → hash_common_crypto.h} +17 -17
- data/vendor/libgit2/src/hash/{sha1/generic.c → hash_generic.c} +10 -22
- data/vendor/libgit2/src/hash/{sha1/generic.h → hash_generic.h} +10 -4
- data/vendor/libgit2/src/hash/hash_openssl.h +59 -0
- data/vendor/libgit2/src/hash/{sha1/win32.c → hash_win32.c} +37 -47
- data/vendor/libgit2/src/hash/{sha1/win32.h → hash_win32.h} +19 -6
- data/vendor/libgit2/src/hash/{sha1/sha1dc → sha1dc}/sha1.c +3 -14
- data/vendor/libgit2/src/hash/{sha1/sha1dc → sha1dc}/sha1.h +0 -0
- data/vendor/libgit2/src/hash/{sha1/sha1dc → sha1dc}/ubc_check.c +0 -0
- data/vendor/libgit2/src/hash/{sha1/sha1dc → sha1dc}/ubc_check.h +0 -0
- data/vendor/libgit2/src/hashsig.c +5 -5
- data/vendor/libgit2/src/idxmap.c +61 -107
- data/vendor/libgit2/src/idxmap.h +31 -153
- data/vendor/libgit2/src/ignore.c +47 -43
- data/vendor/libgit2/src/index.c +232 -337
- data/vendor/libgit2/src/index.h +1 -17
- data/vendor/libgit2/src/indexer.c +175 -346
- data/vendor/libgit2/src/integer.h +26 -71
- data/vendor/libgit2/src/iterator.c +70 -142
- data/vendor/libgit2/src/iterator.h +0 -15
- data/vendor/libgit2/src/khash.h +1 -3
- data/vendor/libgit2/src/map.h +1 -1
- data/vendor/libgit2/src/merge.c +100 -144
- data/vendor/libgit2/src/merge_driver.c +11 -11
- data/vendor/libgit2/src/merge_file.c +2 -2
- data/vendor/libgit2/src/mwindow.c +29 -24
- data/vendor/libgit2/src/mwindow.h +4 -4
- data/vendor/libgit2/src/netops.c +156 -55
- data/vendor/libgit2/src/netops.h +23 -3
- data/vendor/libgit2/src/notes.c +11 -16
- data/vendor/libgit2/src/object.c +69 -120
- data/vendor/libgit2/src/object.h +9 -22
- data/vendor/libgit2/src/object_api.c +8 -8
- data/vendor/libgit2/src/odb.c +93 -116
- data/vendor/libgit2/src/odb.h +7 -8
- data/vendor/libgit2/src/odb_loose.c +55 -62
- data/vendor/libgit2/src/odb_mempack.c +34 -21
- data/vendor/libgit2/src/odb_pack.c +14 -18
- data/vendor/libgit2/src/offmap.c +35 -53
- data/vendor/libgit2/src/offmap.h +21 -108
- data/vendor/libgit2/src/oid.c +7 -12
- data/vendor/libgit2/src/oidmap.c +47 -49
- data/vendor/libgit2/src/oidmap.h +24 -101
- data/vendor/libgit2/src/pack-objects.c +87 -88
- data/vendor/libgit2/src/pack-objects.h +8 -2
- data/vendor/libgit2/src/pack.c +101 -99
- data/vendor/libgit2/src/pack.h +19 -17
- data/vendor/libgit2/src/parse.c +0 -10
- data/vendor/libgit2/src/parse.h +3 -3
- data/vendor/libgit2/src/patch.c +4 -4
- data/vendor/libgit2/src/patch_generate.c +20 -20
- data/vendor/libgit2/src/patch_parse.c +63 -151
- data/vendor/libgit2/src/path.c +104 -117
- data/vendor/libgit2/src/path.h +71 -3
- data/vendor/libgit2/src/pathspec.c +19 -19
- data/vendor/libgit2/src/pool.c +22 -26
- data/vendor/libgit2/src/pool.h +7 -7
- data/vendor/libgit2/src/posix.c +10 -10
- data/vendor/libgit2/src/posix.h +1 -12
- data/vendor/libgit2/src/proxy.c +3 -8
- data/vendor/libgit2/src/push.c +31 -37
- data/vendor/libgit2/src/push.h +1 -2
- data/vendor/libgit2/src/rebase.c +59 -115
- data/vendor/libgit2/src/refdb.c +3 -15
- data/vendor/libgit2/src/refdb_fs.c +254 -381
- data/vendor/libgit2/src/reflog.c +15 -13
- data/vendor/libgit2/src/refs.c +88 -118
- data/vendor/libgit2/src/refs.h +3 -5
- data/vendor/libgit2/src/refspec.c +37 -56
- data/vendor/libgit2/src/refspec.h +1 -1
- data/vendor/libgit2/src/remote.c +215 -266
- data/vendor/libgit2/src/remote.h +2 -11
- data/vendor/libgit2/src/repository.c +225 -280
- data/vendor/libgit2/src/repository.h +40 -52
- data/vendor/libgit2/src/reset.c +8 -8
- data/vendor/libgit2/src/revert.c +9 -14
- data/vendor/libgit2/src/revparse.c +48 -47
- data/vendor/libgit2/src/revwalk.c +57 -120
- data/vendor/libgit2/src/revwalk.h +1 -22
- data/vendor/libgit2/src/settings.c +10 -47
- data/vendor/libgit2/src/signature.c +11 -11
- data/vendor/libgit2/src/sortedcache.c +36 -22
- data/vendor/libgit2/src/sortedcache.h +1 -1
- data/vendor/libgit2/src/stash.c +99 -125
- data/vendor/libgit2/src/status.c +22 -28
- data/vendor/libgit2/src/stream.h +2 -17
- data/vendor/libgit2/src/streams/curl.c +385 -0
- data/vendor/libgit2/src/{allocators/stdalloc.h → streams/curl.h} +5 -5
- data/vendor/libgit2/src/streams/openssl.c +114 -224
- data/vendor/libgit2/src/streams/openssl.h +108 -4
- data/vendor/libgit2/src/streams/socket.c +30 -55
- data/vendor/libgit2/src/streams/stransport.c +32 -57
- data/vendor/libgit2/src/streams/stransport.h +0 -5
- data/vendor/libgit2/src/streams/tls.c +19 -50
- data/vendor/libgit2/src/streams/tls.h +4 -12
- data/vendor/libgit2/src/strmap.c +74 -47
- data/vendor/libgit2/src/strmap.h +33 -108
- data/vendor/libgit2/src/submodule.c +216 -272
- data/vendor/libgit2/src/submodule.h +1 -1
- data/vendor/libgit2/src/sysdir.c +19 -29
- data/vendor/libgit2/src/tag.c +28 -41
- data/vendor/libgit2/src/tag.h +1 -2
- data/vendor/libgit2/src/trace.c +2 -2
- data/vendor/libgit2/src/trace.h +3 -3
- data/vendor/libgit2/src/trailer.c +38 -52
- data/vendor/libgit2/src/transaction.c +29 -30
- data/vendor/libgit2/src/transport.c +5 -5
- data/vendor/libgit2/src/transports/auth.c +11 -15
- data/vendor/libgit2/src/transports/auth.h +3 -10
- data/vendor/libgit2/src/transports/auth_negotiate.c +18 -33
- data/vendor/libgit2/src/transports/auth_negotiate.h +2 -2
- data/vendor/libgit2/src/transports/cred.c +24 -24
- data/vendor/libgit2/src/{allocators/win32_crtdbg.h → transports/cred.h} +4 -5
- data/vendor/libgit2/src/transports/git.c +31 -26
- data/vendor/libgit2/src/transports/http.c +348 -881
- data/vendor/libgit2/src/transports/http.h +0 -2
- data/vendor/libgit2/src/transports/local.c +35 -35
- data/vendor/libgit2/src/transports/smart.c +47 -70
- data/vendor/libgit2/src/transports/smart.h +4 -3
- data/vendor/libgit2/src/transports/smart_pkt.c +40 -43
- data/vendor/libgit2/src/transports/smart_protocol.c +116 -96
- data/vendor/libgit2/src/transports/ssh.c +66 -77
- data/vendor/libgit2/src/transports/winhttp.c +314 -318
- data/vendor/libgit2/src/tree-cache.c +12 -19
- data/vendor/libgit2/src/tree.c +142 -103
- data/vendor/libgit2/src/tree.h +12 -1
- data/vendor/libgit2/src/unix/map.c +3 -3
- data/vendor/libgit2/src/unix/posix.h +11 -1
- data/vendor/libgit2/src/userdiff.h +1 -3
- data/vendor/libgit2/src/util.c +56 -70
- data/vendor/libgit2/src/util.h +156 -28
- data/vendor/libgit2/src/vector.c +4 -4
- data/vendor/libgit2/src/win32/dir.c +3 -3
- data/vendor/libgit2/src/win32/findfile.c +3 -3
- data/vendor/libgit2/src/win32/map.c +11 -9
- data/vendor/libgit2/src/win32/msvc-compat.h +0 -6
- data/vendor/libgit2/src/win32/path_w32.c +9 -113
- data/vendor/libgit2/src/win32/path_w32.h +29 -18
- data/vendor/libgit2/src/win32/posix.h +4 -1
- data/vendor/libgit2/src/win32/posix_w32.c +45 -70
- data/vendor/libgit2/src/win32/precompiled.h +2 -0
- data/vendor/libgit2/src/win32/thread.c +10 -5
- data/vendor/libgit2/src/win32/w32_buffer.c +5 -9
- data/vendor/libgit2/src/win32/w32_crtdbg_stacktrace.c +2 -3
- data/vendor/libgit2/src/win32/w32_crtdbg_stacktrace.h +75 -26
- data/vendor/libgit2/src/win32/w32_stack.c +11 -6
- data/vendor/libgit2/src/win32/w32_stack.h +3 -3
- data/vendor/libgit2/src/win32/w32_util.c +64 -27
- data/vendor/libgit2/src/win32/w32_util.h +49 -5
- data/vendor/libgit2/src/worktree.c +60 -95
- data/vendor/libgit2/src/worktree.h +0 -2
- data/vendor/libgit2/src/xdiff/xdiffi.c +5 -7
- data/vendor/libgit2/src/xdiff/xhistogram.c +1 -1
- data/vendor/libgit2/src/xdiff/xmerge.c +15 -27
- data/vendor/libgit2/src/xdiff/xpatience.c +0 -3
- data/vendor/libgit2/src/zstream.c +4 -4
- metadata +33 -122
- data/vendor/libgit2/cmake/Modules/FindGSSFramework.cmake +0 -28
- data/vendor/libgit2/cmake/Modules/FindPCRE.cmake +0 -38
- data/vendor/libgit2/cmake/Modules/FindPCRE2.cmake +0 -37
- data/vendor/libgit2/cmake/Modules/FindmbedTLS.cmake +0 -93
- data/vendor/libgit2/cmake/Modules/PkgBuildConfig.cmake +0 -110
- data/vendor/libgit2/cmake/Modules/SelectGSSAPI.cmake +0 -53
- data/vendor/libgit2/cmake/Modules/SelectHTTPSBackend.cmake +0 -124
- data/vendor/libgit2/cmake/Modules/SelectHashes.cmake +0 -66
- data/vendor/libgit2/deps/ntlmclient/CMakeLists.txt +0 -21
- data/vendor/libgit2/deps/ntlmclient/compat.h +0 -33
- data/vendor/libgit2/deps/ntlmclient/crypt.h +0 -64
- data/vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.c +0 -120
- data/vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.h +0 -18
- data/vendor/libgit2/deps/ntlmclient/crypt_mbedtls.c +0 -145
- data/vendor/libgit2/deps/ntlmclient/crypt_mbedtls.h +0 -18
- data/vendor/libgit2/deps/ntlmclient/crypt_openssl.c +0 -130
- data/vendor/libgit2/deps/ntlmclient/crypt_openssl.h +0 -21
- data/vendor/libgit2/deps/ntlmclient/ntlm.c +0 -1420
- data/vendor/libgit2/deps/ntlmclient/ntlm.h +0 -174
- data/vendor/libgit2/deps/ntlmclient/ntlmclient.h +0 -320
- data/vendor/libgit2/deps/ntlmclient/unicode.h +0 -36
- data/vendor/libgit2/deps/ntlmclient/unicode_builtin.c +0 -445
- data/vendor/libgit2/deps/ntlmclient/unicode_iconv.c +0 -201
- data/vendor/libgit2/deps/ntlmclient/utf8.h +0 -1257
- data/vendor/libgit2/deps/ntlmclient/util.c +0 -21
- data/vendor/libgit2/deps/ntlmclient/util.h +0 -14
- data/vendor/libgit2/deps/pcre/CMakeLists.txt +0 -140
- data/vendor/libgit2/deps/pcre/COPYING +0 -5
- data/vendor/libgit2/deps/pcre/cmake/COPYING-CMAKE-SCRIPTS +0 -22
- data/vendor/libgit2/deps/pcre/cmake/FindEditline.cmake +0 -17
- data/vendor/libgit2/deps/pcre/cmake/FindPackageHandleStandardArgs.cmake +0 -58
- data/vendor/libgit2/deps/pcre/cmake/FindReadline.cmake +0 -29
- data/vendor/libgit2/deps/pcre/config.h.in +0 -57
- data/vendor/libgit2/deps/pcre/pcre.h +0 -641
- data/vendor/libgit2/deps/pcre/pcre_byte_order.c +0 -319
- data/vendor/libgit2/deps/pcre/pcre_chartables.c +0 -198
- data/vendor/libgit2/deps/pcre/pcre_compile.c +0 -9800
- data/vendor/libgit2/deps/pcre/pcre_config.c +0 -190
- data/vendor/libgit2/deps/pcre/pcre_dfa_exec.c +0 -3676
- data/vendor/libgit2/deps/pcre/pcre_exec.c +0 -7173
- data/vendor/libgit2/deps/pcre/pcre_fullinfo.c +0 -245
- data/vendor/libgit2/deps/pcre/pcre_get.c +0 -669
- data/vendor/libgit2/deps/pcre/pcre_globals.c +0 -86
- data/vendor/libgit2/deps/pcre/pcre_internal.h +0 -2787
- data/vendor/libgit2/deps/pcre/pcre_jit_compile.c +0 -11913
- data/vendor/libgit2/deps/pcre/pcre_maketables.c +0 -156
- data/vendor/libgit2/deps/pcre/pcre_newline.c +0 -210
- data/vendor/libgit2/deps/pcre/pcre_ord2utf8.c +0 -94
- data/vendor/libgit2/deps/pcre/pcre_printint.c +0 -834
- data/vendor/libgit2/deps/pcre/pcre_refcount.c +0 -92
- data/vendor/libgit2/deps/pcre/pcre_string_utils.c +0 -211
- data/vendor/libgit2/deps/pcre/pcre_study.c +0 -1686
- data/vendor/libgit2/deps/pcre/pcre_tables.c +0 -727
- data/vendor/libgit2/deps/pcre/pcre_ucd.c +0 -3644
- data/vendor/libgit2/deps/pcre/pcre_valid_utf8.c +0 -301
- data/vendor/libgit2/deps/pcre/pcre_version.c +0 -98
- data/vendor/libgit2/deps/pcre/pcre_xclass.c +0 -268
- data/vendor/libgit2/deps/pcre/pcreposix.c +0 -421
- data/vendor/libgit2/deps/pcre/pcreposix.h +0 -117
- data/vendor/libgit2/deps/pcre/ucp.h +0 -224
- data/vendor/libgit2/deps/winhttp/COPYING.GPL +0 -993
- data/vendor/libgit2/deps/winhttp/COPYING.LGPL +0 -502
- data/vendor/libgit2/deps/zlib/COPYING +0 -27
- data/vendor/libgit2/include/git2/apply.h +0 -149
- data/vendor/libgit2/include/git2/cert.h +0 -135
- data/vendor/libgit2/include/git2/cred.h +0 -308
- data/vendor/libgit2/include/git2/deprecated.h +0 -493
- data/vendor/libgit2/include/git2/mailmap.h +0 -115
- data/vendor/libgit2/include/git2/sys/alloc.h +0 -101
- data/vendor/libgit2/include/git2/sys/cred.h +0 -90
- data/vendor/libgit2/include/git2/sys/path.h +0 -64
- data/vendor/libgit2/src/alloc.c +0 -43
- data/vendor/libgit2/src/alloc.h +0 -40
- data/vendor/libgit2/src/allocators/stdalloc.c +0 -119
- data/vendor/libgit2/src/allocators/win32_crtdbg.c +0 -118
- data/vendor/libgit2/src/config_backend.h +0 -96
- data/vendor/libgit2/src/config_entries.c +0 -229
- data/vendor/libgit2/src/config_entries.h +0 -24
- data/vendor/libgit2/src/config_mem.c +0 -220
- data/vendor/libgit2/src/config_snapshot.c +0 -206
- data/vendor/libgit2/src/errors.h +0 -81
- data/vendor/libgit2/src/hash/sha1.h +0 -38
- data/vendor/libgit2/src/hash/sha1/collisiondetect.c +0 -48
- data/vendor/libgit2/src/hash/sha1/collisiondetect.h +0 -19
- data/vendor/libgit2/src/hash/sha1/common_crypto.h +0 -19
- data/vendor/libgit2/src/hash/sha1/mbedtls.c +0 -46
- data/vendor/libgit2/src/hash/sha1/mbedtls.h +0 -19
- data/vendor/libgit2/src/hash/sha1/openssl.c +0 -59
- data/vendor/libgit2/src/hash/sha1/openssl.h +0 -19
- data/vendor/libgit2/src/mailmap.c +0 -485
- data/vendor/libgit2/src/mailmap.h +0 -35
- data/vendor/libgit2/src/net.c +0 -184
- data/vendor/libgit2/src/net.h +0 -36
- data/vendor/libgit2/src/reader.c +0 -265
- data/vendor/libgit2/src/reader.h +0 -107
- data/vendor/libgit2/src/regexp.c +0 -221
- data/vendor/libgit2/src/regexp.h +0 -97
- data/vendor/libgit2/src/streams/mbedtls.c +0 -483
- data/vendor/libgit2/src/streams/mbedtls.h +0 -23
- data/vendor/libgit2/src/streams/registry.c +0 -118
- data/vendor/libgit2/src/streams/registry.h +0 -19
- data/vendor/libgit2/src/transports/auth_ntlm.c +0 -223
- data/vendor/libgit2/src/transports/auth_ntlm.h +0 -35
- data/vendor/libgit2/src/wildmatch.c +0 -320
- data/vendor/libgit2/src/wildmatch.h +0 -23
- data/vendor/libgit2/src/win32/w32_common.h +0 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70a778d31c690a9546c49bf2de625d251c624dc75e9a01171ed7922e67907699
|
4
|
+
data.tar.gz: 781194f36ca5ac19cfc475b05d61aca788b76421e698e4647e172a05744bef3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 246a7592db8403acb93af774908a97a155d283b760354818ead1caf4da87129d24a0462c919b5ead6e55a9b0af979e0b212bb4775d321ac136dfe8d1f9e38bc6
|
7
|
+
data.tar.gz: 72ccb7c78702e23f96df9e1f1508ff24ac4a3c518eef498a94b3598ce2f657cca80794451cee7984a2b111ad7a6cb815007f8f4da2d7e4435df48cc4db5afa31
|
data/lib/rugged/version.rb
CHANGED
data/vendor/libgit2/AUTHORS
CHANGED
@@ -12,17 +12,14 @@
|
|
12
12
|
# > cmake --build . --target install
|
13
13
|
|
14
14
|
PROJECT(libgit2 C)
|
15
|
-
CMAKE_MINIMUM_REQUIRED(VERSION
|
15
|
+
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
|
16
16
|
CMAKE_POLICY(SET CMP0015 NEW)
|
17
|
-
IF(POLICY CMP0051)
|
17
|
+
IF (POLICY CMP0051)
|
18
18
|
CMAKE_POLICY(SET CMP0051 NEW)
|
19
19
|
ENDIF()
|
20
|
-
IF(POLICY CMP0042)
|
20
|
+
IF (POLICY CMP0042)
|
21
21
|
CMAKE_POLICY(SET CMP0042 NEW)
|
22
22
|
ENDIF()
|
23
|
-
IF(POLICY CMP0054)
|
24
|
-
CMAKE_POLICY(SET CMP0054 NEW)
|
25
|
-
ENDIF()
|
26
23
|
|
27
24
|
# Add find modules to the path
|
28
25
|
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${libgit2_SOURCE_DIR}/cmake/Modules/")
|
@@ -42,66 +39,63 @@ INCLUDE(EnableWarnings)
|
|
42
39
|
|
43
40
|
# Build options
|
44
41
|
#
|
45
|
-
OPTION(SONAME "Set the (SO)VERSION of the target"
|
46
|
-
OPTION(BUILD_SHARED_LIBS
|
47
|
-
OPTION(THREADSAFE "Build libgit2 as threadsafe"
|
48
|
-
OPTION(BUILD_CLAR "Build Tests using the Clar suite"
|
49
|
-
OPTION(BUILD_EXAMPLES
|
50
|
-
OPTION(
|
51
|
-
OPTION(
|
52
|
-
OPTION(
|
53
|
-
OPTION(
|
54
|
-
|
55
|
-
|
56
|
-
OPTION(
|
57
|
-
OPTION(
|
58
|
-
OPTION(USE_GSSAPI "Link with libgssapi for SPNEGO auth"
|
59
|
-
OPTION(
|
60
|
-
OPTION(
|
61
|
-
OPTION(
|
62
|
-
OPTION(DEBUG_POOL "Enable debug pool allocator"
|
63
|
-
OPTION(ENABLE_WERROR "Enable compilation with -Werror"
|
64
|
-
OPTION(USE_BUNDLED_ZLIB
|
65
|
-
SET(USE_HTTP_PARSER "" CACHE STRING "Specifies the HTTP Parser implementation; either system or builtin.")
|
66
|
-
OPTION(DEPRECATE_HARD "Do not include deprecated functions in the library" OFF)
|
67
|
-
SET(REGEX_BACKEND "" CACHE STRING "Regular expression implementation. One of regcomp_l, pcre2, pcre, regcomp, or builtin.")
|
68
|
-
|
69
|
-
IF (UNIX)
|
70
|
-
IF (NOT USE_HTTPS)
|
71
|
-
OPTION(USE_NTLMCLIENT "Enable NTLM support on Unix." OFF )
|
72
|
-
ELSE()
|
73
|
-
OPTION(USE_NTLMCLIENT "Enable NTLM support on Unix." ON )
|
74
|
-
ENDIF()
|
75
|
-
ENDIF()
|
42
|
+
OPTION( SONAME "Set the (SO)VERSION of the target" ON )
|
43
|
+
OPTION( BUILD_SHARED_LIBS "Build Shared Library (OFF for Static)" ON )
|
44
|
+
OPTION( THREADSAFE "Build libgit2 as threadsafe" ON )
|
45
|
+
OPTION( BUILD_CLAR "Build Tests using the Clar suite" ON )
|
46
|
+
OPTION( BUILD_EXAMPLES "Build library usage example apps" OFF )
|
47
|
+
OPTION( TAGS "Generate tags" OFF )
|
48
|
+
OPTION( PROFILE "Generate profiling information" OFF )
|
49
|
+
OPTION( ENABLE_TRACE "Enables tracing support" OFF )
|
50
|
+
OPTION( LIBGIT2_FILENAME "Name of the produced binary" OFF )
|
51
|
+
|
52
|
+
SET(SHA1_BACKEND "CollisionDetection" CACHE STRING "Backend to use for SHA1. One of Generic, OpenSSL, Win32, CommonCrypto, CollisionDetection. ")
|
53
|
+
OPTION( USE_SSH "Link with libssh to enable SSH support" ON )
|
54
|
+
OPTION( USE_HTTPS "Enable HTTPS support. Can be set to a specific backend" ON )
|
55
|
+
OPTION( USE_GSSAPI "Link with libgssapi for SPNEGO auth" OFF )
|
56
|
+
OPTION( VALGRIND "Configure build for valgrind" OFF )
|
57
|
+
OPTION( CURL "Use curl for HTTP if available" ON)
|
58
|
+
OPTION( USE_EXT_HTTP_PARSER "Use system HTTP_Parser if available" ON)
|
59
|
+
OPTION( DEBUG_POOL "Enable debug pool allocator" OFF )
|
60
|
+
OPTION( ENABLE_WERROR "Enable compilation with -Werror" OFF )
|
61
|
+
OPTION( USE_BUNDLED_ZLIB "Use the bundled version of zlib" OFF )
|
76
62
|
|
77
63
|
IF (UNIX AND NOT APPLE)
|
78
|
-
OPTION(ENABLE_REPRODUCIBLE_BUILDS
|
64
|
+
OPTION( ENABLE_REPRODUCIBLE_BUILDS "Enable reproducible builds" OFF )
|
79
65
|
ENDIF()
|
80
66
|
|
81
67
|
IF (APPLE)
|
82
|
-
OPTION(USE_ICONV
|
68
|
+
OPTION( USE_ICONV "Link with and use iconv library" ON )
|
83
69
|
ENDIF()
|
84
70
|
|
85
71
|
IF(MSVC)
|
72
|
+
# This option is only available when building with MSVC. By default, libgit2
|
73
|
+
# is build using the cdecl calling convention, which is useful if you're
|
74
|
+
# writing C. However, the CLR and Win32 API both expect stdcall.
|
75
|
+
#
|
76
|
+
# If you are writing a CLR program and want to link to libgit2, you'll want
|
77
|
+
# to turn this on by invoking CMake with the "-DSTDCALL=ON" argument.
|
78
|
+
OPTION( STDCALL "Build libgit2 with the __stdcall convention" OFF )
|
79
|
+
|
86
80
|
# This option must match the settings used in your program, in particular if you
|
87
81
|
# are linking statically
|
88
|
-
OPTION(STATIC_CRT "Link the static CRT libraries"
|
82
|
+
OPTION( STATIC_CRT "Link the static CRT libraries" ON )
|
89
83
|
|
90
84
|
# If you want to embed a copy of libssh2 into libgit2, pass a
|
91
85
|
# path to libssh2
|
92
|
-
OPTION(EMBED_SSH_PATH "Path to libssh2 to embed (Windows)"
|
86
|
+
OPTION( EMBED_SSH_PATH "Path to libssh2 to embed (Windows)" OFF )
|
93
87
|
ENDIF()
|
94
88
|
|
95
89
|
|
96
90
|
IF(WIN32)
|
97
91
|
# By default, libgit2 is built with WinHTTP. To use the built-in
|
98
92
|
# HTTP transport, invoke CMake with the "-DWINHTTP=OFF" argument.
|
99
|
-
OPTION(WINHTTP "Use Win32 WinHTTP routines"
|
93
|
+
OPTION( WINHTTP "Use Win32 WinHTTP routines" ON )
|
100
94
|
ENDIF()
|
101
95
|
|
102
96
|
IF(MSVC)
|
103
97
|
# Enable MSVC CRTDBG memory leak reporting when in debug mode.
|
104
|
-
OPTION(MSVC_CRTDBG
|
98
|
+
OPTION(MSVC_CRTDBG "Enable CRTDBG memory leak reporting" OFF)
|
105
99
|
ENDIF()
|
106
100
|
|
107
101
|
FILE(STRINGS "${libgit2_SOURCE_DIR}/include/git2/version.h" GIT2_HEADER REGEX "^#define LIBGIT2_VERSION \"[^\"]*\"$")
|
@@ -114,16 +108,8 @@ SET(LIBGIT2_VERSION_STRING "${LIBGIT2_VERSION_MAJOR}.${LIBGIT2_VERSION_MINOR}.${
|
|
114
108
|
FILE(STRINGS "${libgit2_SOURCE_DIR}/include/git2/version.h" GIT2_HEADER_SOVERSION REGEX "^#define LIBGIT2_SOVERSION [0-9]+$")
|
115
109
|
STRING(REGEX REPLACE "^.*LIBGIT2_SOVERSION ([0-9]+)$" "\\1" LIBGIT2_SOVERSION "${GIT2_HEADER_SOVERSION}")
|
116
110
|
|
117
|
-
IF (DEPRECATE_HARD)
|
118
|
-
ADD_DEFINITIONS(-DGIT_DEPRECATE_HARD)
|
119
|
-
ENDIF()
|
120
|
-
|
121
111
|
# Platform specific compilation flags
|
122
112
|
IF (MSVC)
|
123
|
-
IF (STDCALL)
|
124
|
-
MESSAGE(FATAL_ERROR "The STDCALL option is no longer supported; libgit2 is now always built as a cdecl library. If you're using PInvoke, please add the CallingConventions.Cdecl attribute for support.")
|
125
|
-
ENDIF()
|
126
|
-
|
127
113
|
ADD_DEFINITIONS(-D_SCL_SECURE_NO_WARNINGS)
|
128
114
|
ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)
|
129
115
|
ADD_DEFINITIONS(-D_CRT_NONSTDC_NO_DEPRECATE)
|
@@ -134,8 +120,10 @@ IF (MSVC)
|
|
134
120
|
# /MP - Parallel build
|
135
121
|
SET(CMAKE_C_FLAGS "/GF /MP /nologo ${CMAKE_C_FLAGS}")
|
136
122
|
|
137
|
-
|
138
|
-
|
123
|
+
IF (STDCALL)
|
124
|
+
# /Gz - stdcall calling convention
|
125
|
+
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Gz")
|
126
|
+
ENDIF ()
|
139
127
|
|
140
128
|
IF (STATIC_CRT)
|
141
129
|
SET(CRT_FLAG_DEBUG "/MTd")
|
@@ -174,9 +162,6 @@ IF (MSVC)
|
|
174
162
|
# /O1 - Optimize for size
|
175
163
|
SET(CMAKE_C_FLAGS_MINSIZEREL "/DNDEBUG /O1 /Oy /GL /Gy ${CRT_FLAG_RELEASE}")
|
176
164
|
|
177
|
-
# /IGNORE:4221 - Ignore empty compilation units
|
178
|
-
SET(CMAKE_STATIC_LINKER_FLAGS "/IGNORE:4221")
|
179
|
-
|
180
165
|
# /DYNAMICBASE - Address space load randomization (ASLR)
|
181
166
|
# /NXCOMPAT - Data execution prevention (DEP)
|
182
167
|
# /LARGEADDRESSAWARE - >2GB user address space on x86
|
@@ -212,7 +197,7 @@ ELSE ()
|
|
212
197
|
ENABLE_WARNINGS(extra)
|
213
198
|
|
214
199
|
IF (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
|
215
|
-
SET(CMAKE_C_FLAGS "-D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS ${CMAKE_C_FLAGS}")
|
200
|
+
SET(CMAKE_C_FLAGS "-std=c99 -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS ${CMAKE_C_FLAGS}")
|
216
201
|
ENDIF()
|
217
202
|
|
218
203
|
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -O0")
|
@@ -238,23 +223,14 @@ ELSE ()
|
|
238
223
|
ENABLE_WARNINGS(strict-prototypes)
|
239
224
|
ENABLE_WARNINGS(declaration-after-statement)
|
240
225
|
ENABLE_WARNINGS(shift-count-overflow)
|
241
|
-
|
242
|
-
|
226
|
+
DISABLE_WARNINGS(unused-const-variable)
|
227
|
+
DISABLE_WARNINGS(unused-function)
|
228
|
+
ENABLE_WARNINGS(format)
|
229
|
+
ENABLE_WARNINGS(format-security)
|
243
230
|
ENABLE_WARNINGS(int-conversion)
|
244
231
|
|
245
|
-
|
246
|
-
|
247
|
-
# Disable format specifier warnings.
|
248
|
-
IF(MINGW)
|
249
|
-
DISABLE_WARNINGS(format)
|
250
|
-
DISABLE_WARNINGS(format-security)
|
251
|
-
ELSE()
|
252
|
-
ENABLE_WARNINGS(format)
|
253
|
-
ENABLE_WARNINGS(format-security)
|
254
|
-
ENDIF()
|
255
|
-
|
256
|
-
IF("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
|
257
|
-
DISABLE_WARNINGS(documentation-deprecated-sync)
|
232
|
+
IF (APPLE) # Apple deprecated OpenSSL
|
233
|
+
DISABLE_WARNINGS(deprecated-declarations)
|
258
234
|
ENDIF()
|
259
235
|
|
260
236
|
IF (PROFILE)
|
@@ -263,11 +239,6 @@ ELSE ()
|
|
263
239
|
ENDIF ()
|
264
240
|
ENDIF()
|
265
241
|
|
266
|
-
# Ensure that MinGW provides the correct header files.
|
267
|
-
IF (WIN32 AND NOT CYGWIN)
|
268
|
-
ADD_DEFINITIONS(-DWIN32 -D_WIN32_WINNT=0x0600)
|
269
|
-
ENDIF()
|
270
|
-
|
271
242
|
IF( NOT CMAKE_CONFIGURATION_TYPES )
|
272
243
|
# Build Debug by default
|
273
244
|
IF (NOT CMAKE_BUILD_TYPE)
|
@@ -278,14 +249,6 @@ ELSE()
|
|
278
249
|
# that uses CMAKE_CONFIGURATION_TYPES and not CMAKE_BUILD_TYPE
|
279
250
|
ENDIF()
|
280
251
|
|
281
|
-
IF(BUILD_FUZZERS AND NOT USE_STANDALONE_FUZZERS)
|
282
|
-
# The actual sanitizer link target will be added when linking the fuzz
|
283
|
-
# targets.
|
284
|
-
SET(CMAKE_REQUIRED_FLAGS "-fsanitize=fuzzer-no-link")
|
285
|
-
ADD_C_FLAG(-fsanitize=fuzzer-no-link)
|
286
|
-
UNSET(CMAKE_REQUIRED_FLAGS)
|
287
|
-
ENDIF ()
|
288
|
-
|
289
252
|
ADD_SUBDIRECTORY(src)
|
290
253
|
|
291
254
|
# Tests
|
@@ -323,17 +286,10 @@ IF (BUILD_EXAMPLES)
|
|
323
286
|
ADD_SUBDIRECTORY(examples)
|
324
287
|
ENDIF ()
|
325
288
|
|
326
|
-
IF(
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
MESSAGE(FATAL_ERROR "Cannot build the fuzzer targets and the tests together")
|
333
|
-
ENDIF()
|
334
|
-
ENDIF()
|
335
|
-
ADD_SUBDIRECTORY(fuzzers)
|
289
|
+
IF(CMAKE_VERSION VERSION_GREATER 3)
|
290
|
+
FEATURE_SUMMARY(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:")
|
291
|
+
FEATURE_SUMMARY(WHAT DISABLED_FEATURES DESCRIPTION "Disabled features:")
|
292
|
+
ELSE()
|
293
|
+
PRINT_ENABLED_FEATURES()
|
294
|
+
PRINT_DISABLED_FEATURES()
|
336
295
|
ENDIF()
|
337
|
-
|
338
|
-
FEATURE_SUMMARY(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:")
|
339
|
-
FEATURE_SUMMARY(WHAT DISABLED_FEATURES DESCRIPTION "Disabled features:")
|
data/vendor/libgit2/COPYING
CHANGED
@@ -991,31 +991,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
991
991
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
992
992
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
993
993
|
SOFTWARE.
|
994
|
-
|
995
|
-
----------------------------------------------------------------------
|
996
|
-
|
997
|
-
The bundled wildmatch code is licensed under the BSD license:
|
998
|
-
|
999
|
-
Copyright Rich Salz.
|
1000
|
-
All rights reserved.
|
1001
|
-
|
1002
|
-
Redistribution and use in any form are permitted provided that the
|
1003
|
-
following restrictions are are met:
|
1004
|
-
|
1005
|
-
1. Source distributions must retain this entire copyright notice
|
1006
|
-
and comment.
|
1007
|
-
2. Binary distributions must include the acknowledgement ``This
|
1008
|
-
product includes software developed by Rich Salz'' in the
|
1009
|
-
documentation or other materials provided with the
|
1010
|
-
distribution. This must not be represented as an endorsement
|
1011
|
-
or promotion without specific prior written permission.
|
1012
|
-
3. The origin of this software must not be misrepresented, either
|
1013
|
-
by explicit claim or by omission. Credits must appear in the
|
1014
|
-
source and documentation.
|
1015
|
-
4. Altered versions must be plainly marked as such in the source
|
1016
|
-
and documentation and must not be misrepresented as being the
|
1017
|
-
original software.
|
1018
|
-
|
1019
|
-
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
|
1020
|
-
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
1021
|
-
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
@@ -5,23 +5,9 @@
|
|
5
5
|
|
6
6
|
INCLUDE(CheckCCompilerFlag)
|
7
7
|
|
8
|
-
MACRO(ADD_C_FLAG _FLAG)
|
9
|
-
STRING(TOUPPER ${_FLAG} UPCASE)
|
10
|
-
STRING(REGEX REPLACE "[-=]" "_" UPCASE_PRETTY ${UPCASE})
|
11
|
-
STRING(REGEX REPLACE "^_+" "" UPCASE_PRETTY ${UPCASE_PRETTY})
|
12
|
-
CHECK_C_COMPILER_FLAG(${_FLAG} IS_${UPCASE_PRETTY}_SUPPORTED)
|
13
|
-
|
14
|
-
IF(IS_${UPCASE_PRETTY}_SUPPORTED)
|
15
|
-
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${_FLAG}")
|
16
|
-
ELSE()
|
17
|
-
MESSAGE(FATAL_ERROR "Required flag ${_FLAG} is not supported")
|
18
|
-
ENDIF()
|
19
|
-
ENDMACRO()
|
20
|
-
|
21
8
|
MACRO(ADD_C_FLAG_IF_SUPPORTED _FLAG)
|
22
9
|
STRING(TOUPPER ${_FLAG} UPCASE)
|
23
|
-
STRING(REGEX REPLACE "
|
24
|
-
STRING(REGEX REPLACE "^_+" "" UPCASE_PRETTY ${UPCASE_PRETTY})
|
10
|
+
STRING(REGEX REPLACE "^-" "" UPCASE_PRETTY ${UPCASE})
|
25
11
|
CHECK_C_COMPILER_FLAG(${_FLAG} IS_${UPCASE_PRETTY}_SUPPORTED)
|
26
12
|
|
27
13
|
IF(IS_${UPCASE_PRETTY}_SUPPORTED)
|
@@ -1,15 +1,14 @@
|
|
1
1
|
MACRO(ENABLE_WARNINGS flag)
|
2
|
-
|
2
|
+
IF(ENABLE_WERROR)
|
3
|
+
ADD_C_FLAG_IF_SUPPORTED(-Werror=${flag})
|
4
|
+
ELSE()
|
5
|
+
ADD_C_FLAG_IF_SUPPORTED(-W${flag})
|
6
|
+
ENDIF()
|
3
7
|
ENDMACRO()
|
4
8
|
|
5
9
|
MACRO(DISABLE_WARNINGS flag)
|
6
10
|
ADD_C_FLAG_IF_SUPPORTED(-Wno-${flag})
|
7
|
-
|
8
|
-
|
9
|
-
IF(ENABLE_WERROR)
|
10
|
-
IF(MSVC)
|
11
|
-
ADD_COMPILE_OPTIONS(-WX)
|
12
|
-
ELSE()
|
13
|
-
ADD_C_FLAG_IF_SUPPORTED(-Werror)
|
11
|
+
IF(ENABLE_WERROR)
|
12
|
+
ADD_C_FLAG_IF_SUPPORTED(-Wno-error=${flag})
|
14
13
|
ENDIF()
|
15
|
-
|
14
|
+
ENDMACRO()
|
@@ -10,14 +10,14 @@ FIND_PATH(COREFOUNDATION_INCLUDE_DIR NAMES CoreFoundation.h)
|
|
10
10
|
FIND_LIBRARY(COREFOUNDATION_LIBRARIES NAMES CoreFoundation)
|
11
11
|
IF (COREFOUNDATION_INCLUDE_DIR AND COREFOUNDATION_LIBRARIES)
|
12
12
|
IF (NOT CoreFoundation_FIND_QUIETLY)
|
13
|
-
MESSAGE(
|
13
|
+
MESSAGE("-- Found CoreFoundation ${COREFOUNDATION_LIBRARIES}")
|
14
14
|
ENDIF()
|
15
15
|
SET(COREFOUNDATION_FOUND TRUE)
|
16
16
|
SET(COREFOUNDATION_LDFLAGS "-framework CoreFoundation")
|
17
17
|
ENDIF ()
|
18
18
|
|
19
19
|
IF (CoreFoundation_FIND_REQUIRED AND NOT COREFOUNDATION_FOUND)
|
20
|
-
MESSAGE(
|
20
|
+
MESSAGE(FATAL "-- CoreFoundation not found")
|
21
21
|
ENDIF()
|
22
22
|
|
23
23
|
MARK_AS_ADVANCED(
|
@@ -6,7 +6,7 @@
|
|
6
6
|
#
|
7
7
|
# Read-Only variables:
|
8
8
|
# GSSAPI_FLAVOR_MIT - set to TURE if MIT Kerberos has been found
|
9
|
-
# GSSAPI_FLAVOR_HEIMDAL - set to TRUE if Heimdal
|
9
|
+
# GSSAPI_FLAVOR_HEIMDAL - set to TRUE if Heimdal Keberos has been found
|
10
10
|
# GSSAPI_FOUND - system has GSSAPI
|
11
11
|
# GSSAPI_INCLUDE_DIR - the GSSAPI include directory
|
12
12
|
# GSSAPI_LIBRARIES - Link these to use GSSAPI
|
@@ -11,7 +11,7 @@ FIND_PATH(SECURITY_INCLUDE_DIR NAMES Security/Security.h)
|
|
11
11
|
FIND_LIBRARY(SECURITY_LIBRARIES NAMES Security)
|
12
12
|
IF (SECURITY_INCLUDE_DIR AND SECURITY_LIBRARIES)
|
13
13
|
IF (NOT Security_FIND_QUIETLY)
|
14
|
-
MESSAGE(
|
14
|
+
MESSAGE("-- Found Security ${SECURITY_LIBRARIES}")
|
15
15
|
ENDIF()
|
16
16
|
SET(SECURITY_FOUND TRUE)
|
17
17
|
SET(SECURITY_LDFLAGS "-framework Security")
|
@@ -19,7 +19,7 @@ IF (SECURITY_INCLUDE_DIR AND SECURITY_LIBRARIES)
|
|
19
19
|
ENDIF ()
|
20
20
|
|
21
21
|
IF (Security_FIND_REQUIRED AND NOT SECURITY_FOUND)
|
22
|
-
MESSAGE(
|
22
|
+
MESSAGE(FATAL "-- Security not found")
|
23
23
|
ENDIF()
|
24
24
|
|
25
25
|
MARK_AS_ADVANCED(
|
@@ -1,5 +1,3 @@
|
|
1
|
-
INCLUDE(FeatureSummary)
|
2
|
-
|
3
1
|
CHECK_STRUCT_HAS_MEMBER ("struct stat" st_mtim "sys/types.h;sys/stat.h"
|
4
2
|
HAVE_STRUCT_STAT_ST_MTIM LANGUAGE C)
|
5
3
|
CHECK_STRUCT_HAS_MEMBER ("struct stat" st_mtimespec "sys/types.h;sys/stat.h"
|
@@ -19,8 +17,4 @@ ENDIF()
|
|
19
17
|
|
20
18
|
IF (HAVE_STRUCT_STAT_NSEC OR WIN32)
|
21
19
|
OPTION( USE_NSEC "Care about sub-second file mtimes and ctimes" ON )
|
22
|
-
ELSE()
|
23
|
-
SET(USE_NSEC OFF)
|
24
20
|
ENDIF()
|
25
|
-
|
26
|
-
ADD_FEATURE_INFO(nanoseconds USE_NSEC "whether to use sub-second file mtimes and ctimes")
|
File without changes
|
@@ -1992,9 +1992,6 @@ http_parse_host(const char * buf, struct http_parser_url *u, int found_at) {
|
|
1992
1992
|
const char *p;
|
1993
1993
|
size_t buflen = u->field_data[UF_HOST].off + u->field_data[UF_HOST].len;
|
1994
1994
|
|
1995
|
-
if (buflen > UINT16_MAX)
|
1996
|
-
return 1;
|
1997
|
-
|
1998
1995
|
u->field_data[UF_HOST].len = 0;
|
1999
1996
|
|
2000
1997
|
s = found_at ? s_http_userinfo_start : s_http_host_start;
|
@@ -2009,21 +2006,21 @@ http_parse_host(const char * buf, struct http_parser_url *u, int found_at) {
|
|
2009
2006
|
switch(new_s) {
|
2010
2007
|
case s_http_host:
|
2011
2008
|
if (s != s_http_host) {
|
2012
|
-
u->field_data[UF_HOST].off =
|
2009
|
+
u->field_data[UF_HOST].off = p - buf;
|
2013
2010
|
}
|
2014
2011
|
u->field_data[UF_HOST].len++;
|
2015
2012
|
break;
|
2016
2013
|
|
2017
2014
|
case s_http_host_v6:
|
2018
2015
|
if (s != s_http_host_v6) {
|
2019
|
-
u->field_data[UF_HOST].off =
|
2016
|
+
u->field_data[UF_HOST].off = p - buf;
|
2020
2017
|
}
|
2021
2018
|
u->field_data[UF_HOST].len++;
|
2022
2019
|
break;
|
2023
2020
|
|
2024
2021
|
case s_http_host_port:
|
2025
2022
|
if (s != s_http_host_port) {
|
2026
|
-
u->field_data[UF_PORT].off =
|
2023
|
+
u->field_data[UF_PORT].off = p - buf;
|
2027
2024
|
u->field_data[UF_PORT].len = 0;
|
2028
2025
|
u->field_set |= (1 << UF_PORT);
|
2029
2026
|
}
|
@@ -2032,7 +2029,7 @@ http_parse_host(const char * buf, struct http_parser_url *u, int found_at) {
|
|
2032
2029
|
|
2033
2030
|
case s_http_userinfo:
|
2034
2031
|
if (s != s_http_userinfo) {
|
2035
|
-
u->field_data[UF_USERINFO].off =
|
2032
|
+
u->field_data[UF_USERINFO].off = p - buf ;
|
2036
2033
|
u->field_data[UF_USERINFO].len = 0;
|
2037
2034
|
u->field_set |= (1 << UF_USERINFO);
|
2038
2035
|
}
|
@@ -2050,6 +2047,7 @@ http_parse_host(const char * buf, struct http_parser_url *u, int found_at) {
|
|
2050
2047
|
case s_http_host_start:
|
2051
2048
|
case s_http_host_v6_start:
|
2052
2049
|
case s_http_host_v6:
|
2050
|
+
case s_http_host_port_start:
|
2053
2051
|
case s_http_userinfo:
|
2054
2052
|
case s_http_userinfo_start:
|
2055
2053
|
return 1;
|
@@ -2069,9 +2067,6 @@ http_parser_parse_url(const char *buf, size_t buflen, int is_connect,
|
|
2069
2067
|
enum http_parser_url_fields uf, old_uf;
|
2070
2068
|
int found_at = 0;
|
2071
2069
|
|
2072
|
-
if (buflen > UINT16_MAX)
|
2073
|
-
return 1;
|
2074
|
-
|
2075
2070
|
u->port = u->field_set = 0;
|
2076
2071
|
s = is_connect ? s_req_server_start : s_req_spaces_before_url;
|
2077
2072
|
uf = old_uf = UF_MAX;
|
@@ -2127,7 +2122,7 @@ http_parser_parse_url(const char *buf, size_t buflen, int is_connect,
|
|
2127
2122
|
continue;
|
2128
2123
|
}
|
2129
2124
|
|
2130
|
-
u->field_data[uf].off =
|
2125
|
+
u->field_data[uf].off = p - buf;
|
2131
2126
|
u->field_data[uf].len = 1;
|
2132
2127
|
|
2133
2128
|
u->field_set |= (1 << uf);
|