Skip to content

Commit e692054

Browse files
committed
Merge tag 'v1.9.1'
2 parents b541cdd + 0060d9c commit e692054

File tree

314 files changed

+11776
-4875
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+11776
-4875
lines changed

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@ Shawn O. Pearce
7070
Shuhei Tanuma
7171
Steve Frécinaux
7272
Sven Strickroth
73+
Talya "kivikakk" Connor
7374
Tim Branyen
7475
Tim Clem
7576
Tim Harder
7677
Torsten Bögershausen
7778
Trent Mick
79+
Venus Xeon-Blonde
7880
Vicent Marti

CMakeLists.txt

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
cmake_minimum_required(VERSION 3.5.1)
88

9-
project(libgit2 VERSION "1.8.1" LANGUAGES C)
9+
project(libgit2 VERSION "1.9.1" LANGUAGES C)
1010

1111
# Add find modules to the path
1212
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake")
@@ -31,14 +31,14 @@ option(USE_THREADS "Use threads for parallel processing when possibl
3131
option(USE_NSEC "Support nanosecond precision file mtimes and ctimes" ON)
3232

3333
# Backend selection
34-
option(USE_SSH "Enable SSH support. Can be set to a specific backend" OFF)
35-
option(USE_HTTPS "Enable HTTPS support. Can be set to a specific backend" ON)
36-
option(USE_SHA1 "Enable SHA1. Can be set to CollisionDetection(ON)/HTTPS" ON)
37-
option(USE_SHA256 "Enable SHA256. Can be set to HTTPS/Builtin" ON)
38-
option(USE_GSSAPI "Link with libgssapi for SPNEGO auth" OFF)
39-
set(USE_HTTP_PARSER "" CACHE STRING "Specifies the HTTP Parser implementation; either system or builtin.")
34+
set(USE_SSH "" CACHE STRING "Enables SSH support and optionally selects provider. One of ON, OFF, or a specific provider: libssh2 or exec. (Defaults to OFF.)")
35+
set(USE_HTTPS "" CACHE STRING "Enable HTTPS support and optionally selects the provider. One of ON, OFF, or a specific provider: OpenSSL, OpenSSL-FIPS, OpenSSL-Dynamic, mbedTLS, SecureTransport, Schannel, or WinHTTP. (Defaults to ON.)")
36+
set(USE_SHA1 "" CACHE STRING "Selects SHA1 provider. One of CollisionDetection, HTTPS, or a specific provider. (Defaults to CollisionDetection.)")
37+
set(USE_SHA256 "" CACHE STRING "Selects SHA256 provider. One of Builtin, HTTPS, or a specific provider. (Defaults to HTTPS.)")
38+
option(USE_GSSAPI "Enable SPNEGO authentication using GSSAPI" OFF)
39+
set(USE_HTTP_PARSER "" CACHE STRING "Selects HTTP Parser support: http-parser, llhttp, or builtin. (Defaults to builtin.)")
4040
# set(USE_XDIFF "" CACHE STRING "Specifies the xdiff implementation; either system or builtin.")
41-
set(REGEX_BACKEND "" CACHE STRING "Regular expression implementation. One of regcomp_l, pcre2, pcre, regcomp, or builtin.")
41+
set(REGEX_BACKEND "" CACHE STRING "Selects regex provider. One of regcomp_l, pcre2, pcre, regcomp, or builtin.")
4242
option(USE_BUNDLED_ZLIB "Use the bundled version of zlib. Can be set to one of Bundled(ON)/Chromium. The Chromium option requires a x86_64 processor with SSE4.2 and CLMUL" OFF)
4343

4444
# Debugging options
@@ -54,11 +54,18 @@ option(SONAME "Set the (SO)VERSION of the target"
5454
option(DEPRECATE_HARD "Do not include deprecated functions in the library" OFF)
5555

5656
# Compilation options
57+
# Default to c99 on Android Studio for compatibility; c90 everywhere else
58+
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Android")
59+
set(CMAKE_C_STANDARD "99" CACHE STRING "The C standard to compile against")
60+
else()
61+
set(CMAKE_C_STANDARD "90" CACHE STRING "The C standard to compile against")
62+
endif()
63+
option(CMAKE_C_EXTENSIONS "Whether compiler extensions are supported" OFF)
5764
option(ENABLE_WERROR "Enable compilation with -Werror" OFF)
5865

5966
if(UNIX)
6067
# NTLM client requires crypto libraries from the system HTTPS stack
61-
if(NOT USE_HTTPS)
68+
if(USE_HTTPS STREQUAL "OFF")
6269
option(USE_NTLMCLIENT "Enable NTLM support on Unix." OFF)
6370
else()
6471
option(USE_NTLMCLIENT "Enable NTLM support on Unix." ON)
@@ -91,6 +98,7 @@ endif()
9198

9299
# Modules
93100

101+
include(FeatureSummary)
94102
include(CheckLibraryExists)
95103
include(CheckFunctionExists)
96104
include(CheckSymbolExists)
@@ -103,7 +111,6 @@ include(FindStatNsec)
103111
include(Findfutimens)
104112
include(GNUInstallDirs)
105113
include(IdeSplitSources)
106-
include(FeatureSummary)
107114
include(EnableWarnings)
108115
include(DefaultCFlags)
109116
include(ExperimentalFeatures)
@@ -144,3 +151,9 @@ endif()
144151

145152
feature_summary(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:")
146153
feature_summary(WHAT DISABLED_FEATURES DESCRIPTION "Disabled features:")
154+
155+
# warn for not using sha1dc
156+
157+
foreach(WARNING ${WARNINGS})
158+
message(WARNING ${WARNING})
159+
endforeach()

FUNDING.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"drips": {
3+
"ethereum": {
4+
"ownedBy": "0x939121dD13f796C69d0Ac4185787285518081f8D"
5+
}
6+
}
7+
}

0 commit comments

Comments
 (0)