Commit Graph

550 Commits

Author SHA1 Message Date
JinmingHu
b4037ee591
Storage unit test improvements (#2642)
* add test for downloading empty file/blob

* Unit test improvements

* f
2021-07-16 04:34:39 +00:00
JinmingHu
59c46e2ab1
Fixed a bug where unspecified SMB properties got overwritten rather than preserved by SetProperties() (#2632)
* fix bug: Set{File/Directory}Properties overwrites unspecified values

* CL
2021-07-16 10:08:50 +08:00
JinmingHu
5b87554736
PageBlobClient::SetBlobSize doesn't support encryption headers (#2603)
* PageBlobClient::SetBlobSize doesn't support encryption headers

* update ut
2021-07-14 11:01:00 +08:00
JinmingHu
46e333d32d
Remove sha256 hash from storage internal code (#2585) 2021-07-12 10:07:26 +08:00
JinmingHu
ae112cd8a4
UpdateSequenceNumber (#2588) 2021-07-10 02:11:04 +00:00
JinmingHu
da755c9192
Add queue service protocol layer (#2531)
* Add queue service protocol layer

* Update sdk/storage/azure-storage-queues/NOTICE.txt

* fix typo, add comments

* clang-format

* Update sdk/storage/azure-storage-queues/CHANGELOG.md

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/storage/azure-storage-queues/CMakeLists.txt

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/storage/azure-storage-queues/vcpkg/vcpkg.json

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-07-09 06:07:00 +00:00
JinmingHu
186ccc7164
Fix misplaced entry in datalake changelog (#2584) 2021-07-09 04:15:42 +00:00
JinmingHu
bc16d4d812
Some API changes to blob service (#2557) 2021-07-09 11:26:36 +08:00
Azure SDK Bot
1ac0aecd07
Increment version for storage releases (#2565)
Increment package version after release of azure-storage-common
2021-07-08 08:28:28 +00:00
JinmingHu
9e710c2f92
Storage 12.0.1 release (#2562) 2021-07-07 10:25:51 +08:00
JinmingHu
cc1a7d22ce
remove unused headers from blob protocol layer (#2546)
* remove unused headers from blob protocol layer

* fix typo

* Add rehydrated to spell check exception list
2021-07-05 03:00:37 +00:00
JinmingHu
8e6dd37832
fix bug: transactional MD5 hash was treated as blob MD5 hash when downloading a range of blob (#2517)
* fix bug: transactional MD5 hash was treated as blob MD5 hash when downloading a range of blob

* CL

* fix build error

* add test case for 200 download

* f
2021-07-02 10:48:45 +08:00
Anton Kolesnyk
f6765e667e
Put dependency versions (#2518)
* Put dependency versions

* Update version

* Core does not have any 1.1 functionality

* Core 1.1

* 1.1.0

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-06-30 17:05:16 -07:00
Anton Kolesnyk
40ab9315d1
Credit community contributors in changelogs (#2519)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-06-30 15:51:27 -07:00
Wes Haggard
015c34a029
Update links from master to main (#2488)
* Update links from master to main

* Upate other references from master to main
2021-06-24 22:27:14 -07:00
JinmingHu
39c20347f3
storage migration guide (#2451)
* migration guide

* Apply suggestions from code review

* more

* 1

* 2

* Apply suggestions from code review

* Update sdk/storage/MigrationGuide.md

* Update sdk/storage/MigrationGuide.md

* Update sdk/storage/MigrationGuide.md

* Update sdk/storage/MigrationGuide.md

* Apply suggestions from code review

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Apply suggestions from code review

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Update sdk/storage/MigrationGuide.md

Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>

* Update sdk/storage/MigrationGuide.md

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2021-06-23 15:37:56 +08:00
Victor Vazquez
da1451586a
Upload blob perf test + RandomStream class for utility (#2433)
* random stream

* upload blob perf test

* upload perf blob test

* undo
2021-06-18 10:05:52 -07:00
Daniel Jurek
fda88bf7b8
Update for "master" -> "main" branch rename (#2455)
* vcpkg.json -- update all links to point to "main" .. This is hardcoded and will go out in future releases.
* ci.yml -- add `- main` to trigger criteria near `- master` ... This adds forward compatilbitiy when we rename the branch in the repo
* archetype-cpp-release.yml use a script which evaluates a repo's default branch and sets that in a global variable, then use that variable instead. When vcpkg updates their branch the publishing scripts will work transparently.
* Collect-Changelogs.ps1 -- Add default hardcoded branch name for use with future releases. This can be optionally overridden with a parameter when invoking the script.
* eng/pipelines/client.yml -- Delete this file. It is no longer in use.
2021-06-18 09:09:27 -07:00
Mitch Denny
01ba0b0c9c
Add main to CI files. (#2462) 2021-06-19 01:55:34 +10:00
JinmingHu
c6a00a97b4
Changelog for #2428 (#2442)
* Changelog update for #2428

* Update sdk/storage/azure-storage-common/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2021-06-11 13:53:05 +08:00
JinmingHu
c5118efd0b
fix memory leak in xml parser (#2428)
* fix memory leak in xml parser

* fix more

* fix bug

* f
2021-06-09 15:43:39 +08:00
Azure SDK Bot
2e72df3cf7
Increment version for storage releases (#2425)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares
2021-06-09 00:39:00 -07:00
JinmingHu
a0d8668c02
remove extra new line (#2435) 2021-06-09 00:22:49 -07:00
JinmingHu
8f08d9c043
update storage changelog (#2423) 2021-06-08 14:24:41 +08:00
JinmingHu
1d6458e70d
update version and changelog for GA release (#2406)
* update version and changelog for GA release

* Update sdk/storage/azure-storage-blobs/CHANGELOG.md

* Update sdk/storage/azure-storage-files-datalake/CHANGELOG.md

* Update sdk/storage/azure-storage-common/CHANGELOG.md

* Update sdk/storage/azure-storage-files-shares/CHANGELOG.md
2021-06-08 11:47:31 +08:00
JinmingHu
83c265b463
use precondition instead of runtime exception (#2421) 2021-06-08 11:46:57 +08:00
JinmingHu
686270743d
move some headers to private (#2420) 2021-06-08 11:46:46 +08:00
JinmingHu
9c5872f5e5
use ptrdiff_t instead of std::ptrdiff_t (#2419) 2021-06-08 11:46:36 +08:00
JinmingHu
15adb632a1
Fix potential overflow of casting (#2379)
* fix potential overflow during integer cast

* more

* clang-format

* fix
2021-06-07 10:50:38 +08:00
Anton Kolesnyk
e8f8a01e69
Docs: link to root Getting Started section from Storage's readme (#2388)
* Docs: link to root Getting Started section from Storage's readme

* Move section

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-06-03 10:58:58 -07:00
JinmingHu
1b132190ee
unify message format of exception/assertion (#2382)
* unify exception message

* unify format of assertion message
2021-06-03 10:46:28 +08:00
JinmingHu
af52a49bbe
move some headers to internal directory (#2381)
* move some headers to internal

* move some headers to internal

* fix build error

* fix more
2021-06-03 10:42:57 +08:00
JinmingHu
c8a525ec74
update storage samples (#2380)
* update storage samples

* use CreateIfNotExists
2021-06-03 09:39:22 +08:00
JinmingHu
fe7b88194a
remove IfUnmodifiedSince from SetDataLakeFileSystemMetadataOptions (#2383)
* remove IfUnmodifiedSince from SetDataLakeFileSystemMetadataOptions

* cl
2021-06-03 09:36:38 +08:00
JinmingHu
06cc8980f4
Add sample for transactional checksum (#2384) 2021-06-03 09:36:14 +08:00
JinmingHu
4b6b2a40fa
use int32_t for retry count (#2377) 2021-06-02 15:48:35 -07:00
JinmingHu
38bd273d23
fix read consistency issue (#2364) 2021-05-30 10:36:49 +08:00
Anton Kolesnyk
a742608406
Catch as const whenever possible (#2361)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-05-28 01:52:59 -07:00
JinmingHu
e39d189d30
Use wide-char version of CreateFile API (#2343)
* Use wide-char version of CreateFile API

* fix

* fix
2021-05-28 11:01:26 +08:00
JinmingHu
8257ce32da
Fix the grammar of storage docs (#2348) 2021-05-26 08:30:37 -07:00
JinmingHu
2787785d0f
use EXPECT_EQ(x, y) instead of EXPECT_TRUE or EXPECT_FALSE (#2347) 2021-05-26 08:29:39 -07:00
Victor Vazquez
88dc1ac8cf
adding Test file sufix to all tests (#2337)
* azure core

* perf

* identity

* keyvault

* storage
2021-05-25 11:15:30 -07:00
JinmingHu
0876ff4fd5
Add samples (#2342) 2021-05-25 11:08:17 -07:00
Victor Vazquez
fcf75f80d1
update storage download perf test - Take connection string from env (#2247)
* update storage download perf test

* format

* allow getEnv() for msvc

* Add size option

* format

* Download to buffer

* Apply suggestions from code review

* use member for the buffer

Co-authored-by: Mike Harder <mharder@microsoft.com>
2021-05-21 17:00:38 -07:00
Kan Tang
e5a589beec
Fix changelog (#2339)
# Pull Request Checklist

Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:

See the detailed list in the [contributing guide](https://github.com/Azure/azure-sdk-for-cpp/blob/master/CONTRIBUTING.md#pull-requests).

- [x] [C++ Guidelines](https://azure.github.io/azure-sdk/cpp_introduction.html)
- [x] Doxygen docs
- [x] Unit tests
- [x] No unwanted commits/changes
- [x] Descriptive title/description
  - [x] PR is single purpose
  - [x] Related issue listed
- [x] Comments in source
- [x] No typos
- [x] Update changelog
- [x] Not work-in-progress
- [x] External references or docs updated
- [x] Self review of PR done
- [x] Any breaking changes?
2021-05-21 07:47:08 +00:00
Kan Tang
be29d332c2
Change ContentLength to FileSize. (#2338)
Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/2334

# Pull Request Checklist

Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:

See the detailed list in the [contributing guide](https://github.com/Azure/azure-sdk-for-cpp/blob/master/CONTRIBUTING.md#pull-requests).

- [x] [C++ Guidelines](https://azure.github.io/azure-sdk/cpp_introduction.html)
- [x] Doxygen docs
- [x] Unit tests
- [x] No unwanted commits/changes
- [x] Descriptive title/description
  - [x] PR is single purpose
  - [x] Related issue listed
- [x] Comments in source
- [x] No typos
- [x] Update changelog
- [x] Not work-in-progress
- [x] External references or docs updated
- [x] Self review of PR done
- [x] Any breaking changes?
2021-05-21 07:08:23 +00:00
JinmingHu
ce30cca1cb
use size_t in storage sdk (#2320)
* use size_t instead of std::size_t

* use size_t for file write length

* fix build error

* fix build errors

* fix build error
2021-05-21 13:58:57 +08:00
Azure SDK Bot
11a36c98f6
Increment version for storage releases (#2331)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares
2021-05-20 11:59:38 +08:00
JinmingHu
d99fcbc9f8
mint storage beta 11 (#2326) 2021-05-20 09:23:39 +08:00
JinmingHu
7b3f5d3c96
Changed type of CommitBlockCount to int32_t (#2318) 2021-05-18 23:36:13 -07:00