Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 5414542

Browse files
authored
Merge pull request #117 from achie-liang/master
Microsoft Azure Stroage Client for C++ v3.0.0
2 parents bfe654e + ba1c54a commit 5414542

File tree

85 files changed

+1224
-264
lines changed

Some content is hidden

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

85 files changed

+1224
-264
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Microsoft.WindowsAzure.Storage/tests/UnitTest++"]
2+
path = Microsoft.WindowsAzure.Storage/tests/UnitTest++
3+
url = https://github.com/unittest-cpp/unittest-cpp

BreakingChanges.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Azure Storage Client Library for C++
22
History of Breaking Changes
33

4+
Breaking Changes in v3.0:
5+
- Default Rest API version is 2016-05-31.
6+
- Using If-None-Match: * will now fail when reading a blob.
7+
- Rename TargetName for Debug configuration from wastorage to wastoraged.
8+
49
Breaking Changes in v2.5:
510
- Upgraded Casablanca dependency to 2.9.1
611

Changelog.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
Azure Storage Client Library for C++
22
History of Changes
33

4+
Changes in v3.0:
5+
- Default Rest API version is 2016-05-31.
6+
- Supported large block size to 100MB, single blob upload threshold to 256MB.
7+
- Add cloud_blob_container_properties::public_access for public access level of container. The value will be populated in:
8+
- cloud_blob_client::list_containers
9+
- cloud_blob_container::create
10+
- cloud_blob_container::download_attributes
11+
- cloud_blob_container::download_permissions
12+
- Message information including the pop receipt will now be populated to the pass-in message in cloud_queue::add_message.
13+
- API cloud_file_directory::list_files_and_directories now accepts a new parameter that limits the listing to a specified prefix.
14+
- All table APIs now accept and enforce the timeout query parameter.
15+
- Value of cloud_blob_properties::content_md5 for stored Content-MD5 property will also be populated in cloud_blob::download_range_to_stream.
16+
- Add cloud_page_blob::start_incremental_copy to support incremental copying a snapshot of the source page blob to a destination page blob.
17+
- Using If-None-Match: * will now fail when reading a blob.
18+
- Include empty headers when signing request.
19+
- Fixed the bug that might cause "invalid handle" exception during retry for download to stream APIs.
20+
- Fixed the issuse that does not work with v141 toolset.
21+
- Fixed the build issue for MFC/ATL projects caused by macro "max".
22+
- Changed constant strings' type from * to [].
23+
- Fixed compile error when _MSC_VER=1810.
24+
- Use <> instead of "" to include package headers.
25+
- Rename TargetName for Debug configuration from wastorage to wastoraged.
26+
427
Changes in v2.6:
528
- Supported parallel download for blobs and files
629
- Supported installation from Vcpkg

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "Microsoft Azure Storage Client Library for C++"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 2.6.0
41+
PROJECT_NUMBER = 3.0.0
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

Microsoft.WindowsAzure.Storage/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ set(AZURESTORAGE_LIBRARY azurestorage)
114114
set(AZURESTORAGE_LIBRARIES ${AZURESTORAGE_LIBRARY} ${CASABLANCA_LIBRARIES} ${Boost_LIBRARIES} ${Boost_FRAMEWORK} ${OPENSSL_LIBRARIES} ${LibXML++_LIBRARIES} ${UUID_LIBRARIES} ${Glibmm_LIBRARIES})
115115

116116
# Set version numbers centralized
117-
set (AZURESTORAGE_VERSION_MAJOR 2)
118-
set (AZURESTORAGE_VERSION_MINOR 6)
117+
set (AZURESTORAGE_VERSION_MAJOR 3)
118+
set (AZURESTORAGE_VERSION_MINOR 0)
119119
set (AZURESTORAGE_VERSION_REVISION 0)
120120

121121
# Add sources per configuration

Microsoft.WindowsAzure.Storage/Microsoft.WindowsAzure.Storage.v120.vcxproj

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@
6868
<PropertyGroup Label="UserMacros" />
6969
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7070
<LinkIncremental>true</LinkIncremental>
71-
<TargetName>wastorage</TargetName>
71+
<TargetName>wastoraged</TargetName>
7272
<OutDir>$(ProjectDir)$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
7373
<IntDir>$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
7474
</PropertyGroup>
7575
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
7676
<LinkIncremental>true</LinkIncremental>
77-
<TargetName>wastorage</TargetName>
77+
<TargetName>wastoraged</TargetName>
7878
<OutDir>$(ProjectDir)$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
7979
<IntDir>$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
8080
</PropertyGroup>
@@ -116,6 +116,9 @@
116116
</ClCompile>
117117
<Link>
118118
</Link>
119+
<ResourceCompile>
120+
<PreprocessorDefinitions>_UNICODE;UNICODE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121+
</ResourceCompile>
119122
</ItemDefinitionGroup>
120123
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
121124
<ClCompile>
@@ -125,6 +128,9 @@
125128
</ClCompile>
126129
<Link>
127130
</Link>
131+
<ResourceCompile>
132+
<PreprocessorDefinitions>_UNICODE;UNICODE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
133+
</ResourceCompile>
128134
</ItemDefinitionGroup>
129135
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
130136
<ClCompile>
@@ -265,4 +271,4 @@
265271
</PropertyGroup>
266272
<Error Condition="!Exists('..\packages\cpprestsdk.v120.windesktop.msvcstl.dyn.rt-dyn.2.9.1\build\native\cpprestsdk.v120.windesktop.msvcstl.dyn.rt-dyn.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\cpprestsdk.v120.windesktop.msvcstl.dyn.rt-dyn.2.9.1\build\native\cpprestsdk.v120.windesktop.msvcstl.dyn.rt-dyn.targets'))" />
267273
</Target>
268-
</Project>
274+
</Project>

Microsoft.WindowsAzure.Storage/Microsoft.WindowsAzure.Storage.v140.vcxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@
6868
<PropertyGroup Label="UserMacros" />
6969
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7070
<LinkIncremental>true</LinkIncremental>
71-
<TargetName>wastorage</TargetName>
71+
<TargetName>wastoraged</TargetName>
7272
<OutDir>$(ProjectDir)$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
7373
<IntDir>$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
7474
</PropertyGroup>
7575
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
7676
<LinkIncremental>true</LinkIncremental>
77-
<TargetName>wastorage</TargetName>
77+
<TargetName>wastoraged</TargetName>
7878
<OutDir>$(ProjectDir)$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
7979
<IntDir>$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
8080
</PropertyGroup>
@@ -116,6 +116,9 @@
116116
</ClCompile>
117117
<Link>
118118
</Link>
119+
<ResourceCompile>
120+
<PreprocessorDefinitions>_UNICODE;UNICODE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121+
</ResourceCompile>
119122
</ItemDefinitionGroup>
120123
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
121124
<ClCompile>
@@ -125,6 +128,9 @@
125128
</ClCompile>
126129
<Link>
127130
</Link>
131+
<ResourceCompile>
132+
<PreprocessorDefinitions>_UNICODE;UNICODE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
133+
</ResourceCompile>
128134
</ItemDefinitionGroup>
129135
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
130136
<ClCompile>

0 commit comments

Comments
 (0)