Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
0328f32
CPP-827 Port future callback tests to Google test framework (#311)
mpenick Oct 28, 2019
732f7eb
CPP-832 Port paging tests to Google test framework (#312)
mpenick Oct 28, 2019
e76390f
CPP-834 Port schema agreement tests to Google test framework (#313)
mpenick Oct 29, 2019
4eb5dbe
CPP-828 - Port heartbeat tests to Google test framework (#314)
mikefero Oct 30, 2019
b719493
test: CPP-822 - Simplify CCM objects to use enums (#305)
mikefero Oct 30, 2019
b04eca2
CPP-829/CPP-830 Port prepare on XXX tests to Google test framework (#…
mpenick Oct 30, 2019
f0bdf05
CPP-835 Port prepare from existing tests to Google test framework (#316)
mpenick Oct 30, 2019
266517f
CPP-836 Port prepared metadata tests to Google test framework (#317)
mpenick Oct 30, 2019
163aba6
CPP-849 Error result doesn't allow access to keyspace, table, and fun…
mpenick Oct 30, 2019
88c7c3c
CPP-839/CPP-840 Port server-side errors/warnings tests to Google test…
mpenick Oct 30, 2019
54d2922
CPP-831 - Port metrics tests to Google test framework
Oct 30, 2019
a882002
Merge pull request #318 from riptano/CPP-831
mikefero Oct 31, 2019
b5fcf05
Fix code review issues
mpenick Nov 4, 2019
3eeb974
CPP-851 - Disable deprecated warnings for std::ptr_fun (#322)
mikefero Nov 5, 2019
51ee248
Merge pull request #319 from riptano/CPP-839
mpenick Nov 6, 2019
9b58ab5
CPP-853 - Fix linking on unix based OS for CASS_USE_STATIC_LIBS=On (#…
mikefero Nov 6, 2019
32b2259
CPP-833 - Port named parameters tests to Google test framework
Nov 7, 2019
1e3c949
CPP-845 - Port SSL tests to Google test framework (#320)
mikefero Nov 7, 2019
10d60ef
CPP-841 Port serial consistency tests to Google test framework (#327)
mpenick Nov 8, 2019
77efd8d
CPP-843 - Port logging tests to Google test framework (#326)
mikefero Nov 8, 2019
177c3f5
CPP-844 Port reprepare tests to Google test framework (#328)
mpenick Nov 8, 2019
0548dfd
CPP-837 Port set keyspace tests to Google test framework (#324)
mpenick Nov 8, 2019
806ab6a
CPP-838 - Port speculative execution tests to Google test framework (…
mikefero Nov 8, 2019
ebea027
Merge pull request #329 from riptano/CPP-833
mikefero Nov 8, 2019
b04618e
CPP-846 - Port timestamp tests to Google test framework (#325)
mikefero Nov 8, 2019
3c008a6
CPP-854 - Removing Simulacron in favor of unit tests
Jul 2, 2019
13a00c2
Merge pull request #330 from riptano/CPP-854
mikefero Nov 11, 2019
152a45d
CPP-856 - Remove Boost framework integration tests (#331)
mikefero Nov 11, 2019
44422c4
CPP-857 - Remove deprecated CCM features (#332)
mikefero Nov 11, 2019
d164080
CPP-859 - Remove vc_build.bat scripts and update building documentati…
mikefero Nov 12, 2019
5ef4fdf
CPP-858 - Merge CCM bridge into core integration tests (#333)
mikefero Nov 12, 2019
0730085
Merge remote-tracking branch 'core/master' into sync_core_oss
Nov 12, 2019
a5951d8
Merge pull request #336 from riptano/sync_core_oss
mikefero Nov 13, 2019
a183009
CPP-860 - Remove driver_utils in favor of testing (#335)
mikefero Nov 13, 2019
ed1d005
CPP-872 Fix GCC 9.2+ build
mpenick Nov 13, 2019
b979c89
CPP-871 Fix SSL cleanup on error conditions in mockssandra (#339)
mpenick Nov 15, 2019
298d4a7
Fix test warnings (#350)
mpenick Nov 20, 2019
4436187
Fix warnings in examples (#353)
mpenick Nov 20, 2019
912e23c
Fix additional warnings and quiet downgrade retry policy deprecation …
mikefero Nov 21, 2019
1a03587
CPP-878 - Correct compile flags for libraries and executable
Nov 21, 2019
4af2425
Merge pull request #355 from riptano/CPP-878
mikefero Nov 22, 2019
fa6478d
CPP-879 Add remote DC recovery unit test
mpenick Dec 10, 2019
770ddc0
2.14.1 release preparation
mpenick Dec 10, 2019
8bdd02c
Merge remote-tracking branch 'core/2.14.1_prep' into 1.10.1_prep
mpenick Dec 10, 2019
ad518b0
1.10.1 release preparation
mpenick Dec 10, 2019
b339dd5
Fix formatting
mpenick Dec 10, 2019
99839f7
CPP-882 - Correct pthread compiler flag for older CMake versions (#11)
mikefero Dec 10, 2019
35d9a53
Merge remote-tracking branch 'riptano/1.10.1_prep' into 2.14.1_prep_m…
mpenick Dec 10, 2019
e89f14d
Update changelog
mpenick Dec 10, 2019
38a36f7
Use `cpp-driver.hostname.` instead of `localhost` in name resolver tests
mpenick Dec 11, 2019
464c3f0
Remove windows specific code from name resolver test
mpenick Dec 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 30 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,52 @@
Unreleased
2.14.1
===========

Bug Fixes
--------
* Allow remote hosts to come back up even if policy ignores down hosts
* [CPP-849] Error result doesn't allow access to keyspace, table, and function
data
* [CPP-851] Disable deprecated warnings for std::ptr_fun
* [CPP-879] Allow remote hosts to come back up even if policy ignores down hosts
(community PR from kw217)

Other
--------
* [CPP-220] Remove use of external Boost from unit and integration tests.
* We ported all integration tests from Boost to Google test. This includes
several JIRA issues included in the [CPP-220] epic.
* [CPP-853] Correct linking libraries for unix based OS when using
CASS_USE_STATIC_LIBS=On
* [CPP-859] Remove vc_build.bat scripts and update building documentation
* [CPP-872] Fix GCC 9.2+ build
* [CPP-878] Correct compile flags for libraries and executable
* [CPP-882] Correct pthread compiler flag for older CMake versions

Community
--------
* Fix build error when compiling without an SSL implementation (kmaragon)

2.14.0
===========

Bug Fixes
--------
* [CPP-819] - Ensure port is updated on already assigned contact points
* [CPP-825] - Cloud should be verifying the peer certificates CN
* [CPP-819] Ensure port is updated on already assigned contact points
* [CPP-825] Cloud should be verifying the peer certificates CN

2.14.0-alpha2
===========

Features
--------
* [CPP-812] - Enable warnings for implicit casts and fix problems
* [CPP-813] - Detect CaaS and change consistency default
* [CPP-817] - Provide error if mixed usage of secure connect bundle and contact points/ssl context
* [CPP-812] Enable warnings for implicit casts and fix problems
* [CPP-813] Detect CaaS and change consistency default
* [CPP-817] Provide error if mixed usage of secure connect bundle and contact points/ssl context

Bug Fixes
--------
* [CPP-802] - Handle prepared id mismatch when repreparing on the fly
* [CPP-815] - Schema agreement fails with SNI
* [CPP-811] - Requests won't complete if they exceed the number of streams on a connection
* [CPP-802] Handle prepared id mismatch when repreparing on the fly
* [CPP-815] Schema agreement fails with SNI
* [CPP-811] Requests won't complete if they exceed the number of streams on a connection

2.14.0-alpha
===========
Expand Down
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,6 @@ if(CASS_BUILD_STATIC)
set(PC_REQUIRED_LIBS "${PC_REQUIRED_LIBS} openssl")
endif()

# Update the test flags to indicate the use of the static library
if(CASS_USE_STATIC_LIBS)
set(TEST_CXX_FLAGS "${TEST_CXX_FLAGS} -DCASS_STATIC")
set(CASS_TEST_CXX_FLAGS "${CASS_TEST_CXX_FLAGS} -DCASS_STATIC")
endif()

set_property(TARGET ${PROJECT_LIB_NAME_STATIC} PROPERTY FOLDER "Driver/Cassandra")
endif()

Expand Down
65 changes: 6 additions & 59 deletions appveyor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ Function Build-Configuration-Information {
$output = @"
Visual Studio: $($Env:CMAKE_GENERATOR.Split(" ")[-2]) [$($Env:CMAKE_GENERATOR.Split(" ")[-1])]
Architecture: $($Env:Platform)
Boost: v$($Env:BOOST_VERSION)
libssh2: v$($Env:LIBSSH2_VERSION)
libuv: v$($Env:LIBUV_VERSION)
OpenSSL: v$(Get-OpenSSL-Version)
Expand Down Expand Up @@ -112,7 +111,6 @@ Function Environment-Information {

Function Initialize-Build-Environment {
# Get the versions for the third party dependencies
$boost_version = $Env:BOOST_VERSION
$libssh2_version = $Env:LIBSSH2_VERSION
$libuv_version = $Env:LIBUV_VERSION
$openssl_version = Get-OpenSSL-Version
Expand Down Expand Up @@ -179,17 +177,15 @@ Function Initialize-Build-Environment {
}

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

# Generate the default Boost environment variables
$Env:BOOST_ROOT = "C:/Libraries/boost_$($boost_version_filename)"
$Env:BOOST_LIBRARYDIR = "$($Env:BOOST_ROOT)/$($lib_architecture)-msvc-$($visual_studio_version)"
If (-Not (Test-Path -Path "$($Env:BOOST_LIBRARYDIR)")) {
# Update the Boost environment variables for CMake to find installation
$Env:BOOST_ROOT = "$($libs_location_prefix)/boost-$($boost_version)"
$Env:BOOST_LIBRARYDIR = "$($Env:BOOST_ROOT)/$($lib_architecture)-msvc-$($visual_studio_version)"
}
$Env:BOOST_ROOT = "C:/Libraries/boost_$($boost_version_directory_suffix)"
$Env:BOOST_INCLUDEDIR = "$($Env:BOOST_ROOT)/include"

# Generate the default libssh2 environment variables
Expand Down Expand Up @@ -509,55 +505,6 @@ add_dependencies(`${PROJECT_NAME} `${ZLIB_LIBRARY_NAME})
}
}

# Handle installation of the per commit dependencies (e.g. Test builds)
# Determine if Boost should be installed (pre-installed or cached)
If (-Not (Test-Path -Path "$($Env:BOOST_LIBRARYDIR)")) {
New-Item -ItemType Directory -Force -Path "$($dependencies_build_location_prefix)/boost" | Out-Null
Push-Location -Path "$($dependencies_build_location_prefix)/boost"

$cmakelists_contents = @"
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
project(Boost)
set(PROJECT_DISPLAY_NAME "AppVeyor CI Build for Boost")
set(PROJECT_MODULE_DIR $cmake_modules_dir)
set(CMAKE_MODULE_PATH `${CMAKE_MODULE_PATH} `${PROJECT_MODULE_DIR})
include(ExternalProject-boost)
set(GENERATED_SOURCE_FILE `${CMAKE_CURRENT_BINARY_DIR}/main.cpp)
file(REMOVE `${GENERATED_SOURCE_FILE})
file(WRITE `${GENERATED_SOURCE_FILE} "int main () { return 0; }")
add_executable(`${PROJECT_NAME} `${GENERATED_SOURCE_FILE})
add_dependencies(`${PROJECT_NAME} `${BOOST_LIBRARY_NAME})
"@
$cmakelists_contents | Out-File -FilePath "CMakeLists.txt" -Encoding Utf8 -Force

Write-Host "Configuring Boost"
cmake -G "$($Env:CMAKE_GENERATOR)" -A $Env:CMAKE_PLATFORM "-DBOOST_VERSION=$($Env:BOOST_VERSION)" "-DBOOST_INSTALL_PREFIX=$($Env:BOOST_ROOT)" .
If ($LastExitCode -ne 0) {
If (Test-Path -Path "build/CMakeFiles/CMakeOutput.log") {
Push-AppveyorArtifact "build/CMakeFiles/CMakeOutput.log" -DeploymentName "Boost Output Log"
}
If (Test-Path -Path "build/CMakeFiles/CMakeError.log") {
Push-AppveyorArtifact "build/CMakeFiles/CMakeError.log" -DeploymentName "Boost Error Log"
}
Pop-Location
Throw "Failed to configure Boost for MSVC $($Env:VISUAL_STUDIO_INTERNAL_VERSION)-$($Env:Platform)"
}
Write-Host "Building and Installing Boost"
cmake --build . --config RelWithDebInfo
If ($LastExitCode -ne 0) {
If (Test-Path -Path "build/CMakeFiles/CMakeOutput.log") {
Push-AppveyorArtifact "build/CMakeFiles/CMakeOutput.log" -DeploymentName "Boost Output Log"
}
If (Test-Path -Path "build/CMakeFiles/CMakeError.log") {
Push-AppveyorArtifact "build/CMakeFiles/CMakeError.log" -DeploymentName "Boost Error Log"
}
Pop-Location
Throw "Failed to build Boost for MSVC $($Env:VISUAL_STUDIO_INTERNAL_VERSION)-$($Env:Platform)"
}

Pop-Location
}

# Determine if libssh2 should be installed (cached)
If (-Not (Test-Path -Path "$($Env:LIBSSH2_ROOT_DIR)/lib")) { # lib directory checked due to external project being CMake (automatically creates root directory)
New-Item -ItemType Directory -Force -Path "$($dependencies_build_location_prefix)/libssh2" | Out-Null
Expand Down
3 changes: 0 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ environment:
secure: h28bN22Py3CZPqrWoZWEjIFnpes+kslusCKP1mRYdUqBEf+OO1kFEQTZ9DGD7tuCSIIRDI3Mf9LX8zgUdmdlZA==
APPVEYOR_IGNORE_COMMIT_FILTERING_ON_TAG: true
DRIVER_TYPE: CASS
BOOST_VERSION: 1.69.0
LIBSSH2_VERSION: 1.9.0
LIBUV_VERSION: 1.33.0
OPENSSL_1_0_VERSION: 1.0.2s
Expand Down Expand Up @@ -88,12 +87,10 @@ environment:
OPENSSL_MAJOR_MINOR: 1.0
VISUAL_STUDIO_INTERNAL_VERSION: 142
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
BOOST_VERSION: 1.70.0
# - CMAKE_GENERATOR: Visual Studio 16 2019
# OPENSSL_MAJOR_MINOR: 1.1
# VISUAL_STUDIO_INTERNAL_VERSION: 142
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
# BOOST_VERSION: 1.70.0
#init:
# - ps: iex ((New-Object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
Expand Down
10 changes: 0 additions & 10 deletions bin/README.md

This file was deleted.

Binary file removed bin/vswhere.exe
Binary file not shown.
Loading