Skip to content

Commit bb27c84

Browse files
authored
Merge pull request #464 from datastax/2.14.1_prep
2.14.1 prep
2 parents 5336f35 + 464c3f0 commit bb27c84

File tree

331 files changed

+5851
-26749
lines changed

Some content is hidden

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

331 files changed

+5851
-26749
lines changed

CHANGELOG.md

+30-10
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,52 @@
1-
Unreleased
1+
2.14.1
22
===========
33

44
Bug Fixes
55
--------
6-
* Allow remote hosts to come back up even if policy ignores down hosts
6+
* [CPP-849] Error result doesn't allow access to keyspace, table, and function
7+
data
8+
* [CPP-851] Disable deprecated warnings for std::ptr_fun
9+
* [CPP-879] Allow remote hosts to come back up even if policy ignores down hosts
10+
(community PR from kw217)
11+
12+
Other
13+
--------
14+
* [CPP-220] Remove use of external Boost from unit and integration tests.
15+
* We ported all integration tests from Boost to Google test. This includes
16+
several JIRA issues included in the [CPP-220] epic.
17+
* [CPP-853] Correct linking libraries for unix based OS when using
18+
CASS_USE_STATIC_LIBS=On
19+
* [CPP-859] Remove vc_build.bat scripts and update building documentation
20+
* [CPP-872] Fix GCC 9.2+ build
21+
* [CPP-878] Correct compile flags for libraries and executable
22+
* [CPP-882] Correct pthread compiler flag for older CMake versions
23+
24+
Community
25+
--------
26+
* Fix build error when compiling without an SSL implementation (kmaragon)
727

828
2.14.0
929
===========
1030

1131
Bug Fixes
1232
--------
13-
* [CPP-819] - Ensure port is updated on already assigned contact points
14-
* [CPP-825] - Cloud should be verifying the peer certificates CN
33+
* [CPP-819] Ensure port is updated on already assigned contact points
34+
* [CPP-825] Cloud should be verifying the peer certificates CN
1535

1636
2.14.0-alpha2
1737
===========
1838

1939
Features
2040
--------
21-
* [CPP-812] - Enable warnings for implicit casts and fix problems
22-
* [CPP-813] - Detect CaaS and change consistency default
23-
* [CPP-817] - Provide error if mixed usage of secure connect bundle and contact points/ssl context
41+
* [CPP-812] Enable warnings for implicit casts and fix problems
42+
* [CPP-813] Detect CaaS and change consistency default
43+
* [CPP-817] Provide error if mixed usage of secure connect bundle and contact points/ssl context
2444

2545
Bug Fixes
2646
--------
27-
* [CPP-802] - Handle prepared id mismatch when repreparing on the fly
28-
* [CPP-815] - Schema agreement fails with SNI
29-
* [CPP-811] - Requests won't complete if they exceed the number of streams on a connection
47+
* [CPP-802] Handle prepared id mismatch when repreparing on the fly
48+
* [CPP-815] Schema agreement fails with SNI
49+
* [CPP-811] Requests won't complete if they exceed the number of streams on a connection
3050

3151
2.14.0-alpha
3252
===========

CMakeLists.txt

-6
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,6 @@ if(CASS_BUILD_STATIC)
151151
set(PC_REQUIRED_LIBS "${PC_REQUIRED_LIBS} openssl")
152152
endif()
153153

154-
# Update the test flags to indicate the use of the static library
155-
if(CASS_USE_STATIC_LIBS)
156-
set(TEST_CXX_FLAGS "${TEST_CXX_FLAGS} -DCASS_STATIC")
157-
set(CASS_TEST_CXX_FLAGS "${CASS_TEST_CXX_FLAGS} -DCASS_STATIC")
158-
endif()
159-
160154
set_property(TARGET ${PROJECT_LIB_NAME_STATIC} PROPERTY FOLDER "Driver/Cassandra")
161155
endif()
162156

appveyor.ps1

+6-59
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ Function Build-Configuration-Information {
6363
$output = @"
6464
Visual Studio: $($Env:CMAKE_GENERATOR.Split(" ")[-2]) [$($Env:CMAKE_GENERATOR.Split(" ")[-1])]
6565
Architecture: $($Env:Platform)
66-
Boost: v$($Env:BOOST_VERSION)
6766
libssh2: v$($Env:LIBSSH2_VERSION)
6867
libuv: v$($Env:LIBUV_VERSION)
6968
OpenSSL: v$(Get-OpenSSL-Version)
@@ -112,7 +111,6 @@ Function Environment-Information {
112111

113112
Function Initialize-Build-Environment {
114113
# Get the versions for the third party dependencies
115-
$boost_version = $Env:BOOST_VERSION
116114
$libssh2_version = $Env:LIBSSH2_VERSION
117115
$libuv_version = $Env:LIBUV_VERSION
118116
$openssl_version = Get-OpenSSL-Version
@@ -179,17 +177,15 @@ Function Initialize-Build-Environment {
179177
}
180178

181179
# Generate default environment variables for per commit builds
182-
$boost_version_filename = "$($boost_version.Replace(".", "_"))"
180+
If ($Env:APPVEYOR_BUILD_WORKER_IMAGE -Like "Visual Studio 2019") {
181+
$boost_version_directory_suffix = "1_71_0"
182+
} Else {
183+
$boost_version_directory_suffix = "1_69_0"
184+
}
183185
$visual_studio_version = "$($Env:VISUAL_STUDIO_INTERNAL_VERSION.Insert(2, "."))"
184186

185187
# Generate the default Boost environment variables
186-
$Env:BOOST_ROOT = "C:/Libraries/boost_$($boost_version_filename)"
187-
$Env:BOOST_LIBRARYDIR = "$($Env:BOOST_ROOT)/$($lib_architecture)-msvc-$($visual_studio_version)"
188-
If (-Not (Test-Path -Path "$($Env:BOOST_LIBRARYDIR)")) {
189-
# Update the Boost environment variables for CMake to find installation
190-
$Env:BOOST_ROOT = "$($libs_location_prefix)/boost-$($boost_version)"
191-
$Env:BOOST_LIBRARYDIR = "$($Env:BOOST_ROOT)/$($lib_architecture)-msvc-$($visual_studio_version)"
192-
}
188+
$Env:BOOST_ROOT = "C:/Libraries/boost_$($boost_version_directory_suffix)"
193189
$Env:BOOST_INCLUDEDIR = "$($Env:BOOST_ROOT)/include"
194190

195191
# Generate the default libssh2 environment variables
@@ -509,55 +505,6 @@ add_dependencies(`${PROJECT_NAME} `${ZLIB_LIBRARY_NAME})
509505
}
510506
}
511507

512-
# Handle installation of the per commit dependencies (e.g. Test builds)
513-
# Determine if Boost should be installed (pre-installed or cached)
514-
If (-Not (Test-Path -Path "$($Env:BOOST_LIBRARYDIR)")) {
515-
New-Item -ItemType Directory -Force -Path "$($dependencies_build_location_prefix)/boost" | Out-Null
516-
Push-Location -Path "$($dependencies_build_location_prefix)/boost"
517-
518-
$cmakelists_contents = @"
519-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
520-
project(Boost)
521-
set(PROJECT_DISPLAY_NAME "AppVeyor CI Build for Boost")
522-
set(PROJECT_MODULE_DIR $cmake_modules_dir)
523-
set(CMAKE_MODULE_PATH `${CMAKE_MODULE_PATH} `${PROJECT_MODULE_DIR})
524-
include(ExternalProject-boost)
525-
set(GENERATED_SOURCE_FILE `${CMAKE_CURRENT_BINARY_DIR}/main.cpp)
526-
file(REMOVE `${GENERATED_SOURCE_FILE})
527-
file(WRITE `${GENERATED_SOURCE_FILE} "int main () { return 0; }")
528-
add_executable(`${PROJECT_NAME} `${GENERATED_SOURCE_FILE})
529-
add_dependencies(`${PROJECT_NAME} `${BOOST_LIBRARY_NAME})
530-
"@
531-
$cmakelists_contents | Out-File -FilePath "CMakeLists.txt" -Encoding Utf8 -Force
532-
533-
Write-Host "Configuring Boost"
534-
cmake -G "$($Env:CMAKE_GENERATOR)" -A $Env:CMAKE_PLATFORM "-DBOOST_VERSION=$($Env:BOOST_VERSION)" "-DBOOST_INSTALL_PREFIX=$($Env:BOOST_ROOT)" .
535-
If ($LastExitCode -ne 0) {
536-
If (Test-Path -Path "build/CMakeFiles/CMakeOutput.log") {
537-
Push-AppveyorArtifact "build/CMakeFiles/CMakeOutput.log" -DeploymentName "Boost Output Log"
538-
}
539-
If (Test-Path -Path "build/CMakeFiles/CMakeError.log") {
540-
Push-AppveyorArtifact "build/CMakeFiles/CMakeError.log" -DeploymentName "Boost Error Log"
541-
}
542-
Pop-Location
543-
Throw "Failed to configure Boost for MSVC $($Env:VISUAL_STUDIO_INTERNAL_VERSION)-$($Env:Platform)"
544-
}
545-
Write-Host "Building and Installing Boost"
546-
cmake --build . --config RelWithDebInfo
547-
If ($LastExitCode -ne 0) {
548-
If (Test-Path -Path "build/CMakeFiles/CMakeOutput.log") {
549-
Push-AppveyorArtifact "build/CMakeFiles/CMakeOutput.log" -DeploymentName "Boost Output Log"
550-
}
551-
If (Test-Path -Path "build/CMakeFiles/CMakeError.log") {
552-
Push-AppveyorArtifact "build/CMakeFiles/CMakeError.log" -DeploymentName "Boost Error Log"
553-
}
554-
Pop-Location
555-
Throw "Failed to build Boost for MSVC $($Env:VISUAL_STUDIO_INTERNAL_VERSION)-$($Env:Platform)"
556-
}
557-
558-
Pop-Location
559-
}
560-
561508
# Determine if libssh2 should be installed (cached)
562509
If (-Not (Test-Path -Path "$($Env:LIBSSH2_ROOT_DIR)/lib")) { # lib directory checked due to external project being CMake (automatically creates root directory)
563510
New-Item -ItemType Directory -Force -Path "$($dependencies_build_location_prefix)/libssh2" | Out-Null

appveyor.yml

-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ environment:
3737
secure: h28bN22Py3CZPqrWoZWEjIFnpes+kslusCKP1mRYdUqBEf+OO1kFEQTZ9DGD7tuCSIIRDI3Mf9LX8zgUdmdlZA==
3838
APPVEYOR_IGNORE_COMMIT_FILTERING_ON_TAG: true
3939
DRIVER_TYPE: CASS
40-
BOOST_VERSION: 1.69.0
4140
LIBSSH2_VERSION: 1.9.0
4241
LIBUV_VERSION: 1.33.0
4342
OPENSSL_1_0_VERSION: 1.0.2s
@@ -88,12 +87,10 @@ environment:
8887
OPENSSL_MAJOR_MINOR: 1.0
8988
VISUAL_STUDIO_INTERNAL_VERSION: 142
9089
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
91-
BOOST_VERSION: 1.70.0
9290
# - CMAKE_GENERATOR: Visual Studio 16 2019
9391
# OPENSSL_MAJOR_MINOR: 1.1
9492
# VISUAL_STUDIO_INTERNAL_VERSION: 142
9593
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
96-
# BOOST_VERSION: 1.70.0
9794
#init:
9895
# - ps: iex ((New-Object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
9996
install:

bin/README.md

-10
This file was deleted.

bin/vswhere.exe

-393 KB
Binary file not shown.

0 commit comments

Comments
 (0)