Ahson Khan
a2f027f0df
Disable C28020 warning in json.hpp as a stop gap on Windows. ( #2535 )
2021-07-01 14:04:16 -07:00
Ahson Khan
a6f3b530d5
Move Base64Url helper internal methods from KeyVault to Azure Core. ( #2528 )
...
* Move Base64Url helper internal methods from KeyVault to Azure Core.
* Run clang format.
2021-07-01 12:24:38 -07:00
Ahson Khan
773beffd64
Rename SHA256 and others to Sha256Hash and update header name. ( #2525 )
...
First review https://github.com/Azure/azure-sdk-for-cpp/pull/2523
Relevant commit to review: f207fe80b9
Second step of of https://github.com/Azure/azure-sdk-for-cpp/issues/2500#issuecomment-871761727
2021-07-01 18:55:58 +00:00
Victor Vazquez
5b5cb9b5f7
ApiView requested changes ( #2493 )
...
* ApiView requested changes
* update test
* Apply suggestions from code review
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
* update private field name
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2021-07-01 18:45:43 +00:00
Anton Kolesnyk
d4e347b4f1
Core Readme: reorder Key Concepts, remove Distributed Tracing ( #2532 )
...
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-07-01 11:00:19 -07:00
Anton Kolesnyk
3f5c5ae664
Managed Identity Credential ( #2448 )
2021-07-01 09:16:26 -07:00
George Arama
c449e3f9bc
2502 exceptions ( #2529 )
...
* first pass
* move exception creation from keyvault to core
* merge fix
* format
* fix includes location and containers
* remove default constructor
* to trigger build
* undo change
* uncomment
* Update sdk/core/azure-core/test/ut/exception_test.cpp
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-07-01 04:17:15 +00:00
Ahson Khan
e51e693640
Move the SHA256, 384, and 512 Hash implementations to be internal. ( #2523 )
...
* Move the SHA256, 384, and 512 Hash implementations to be internal.
* Update changelog and add back missing file.
* Update samples to not use the SHA256 API since it is internal now.
2021-06-30 18:14:11 -07:00
Anton Kolesnyk
8f1b5b95e3
Move POSIX time converter from KeyVault to Core ( #2524 )
...
* Move POSIX time converter from KeyVault to Core
* Move to Core namespace
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-06-30 17:23:20 -07: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
c8006b4673
Readme section on logging ( #2521 )
...
* Readme section on logging
* Apply suggestions from code review
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
* Update sdk/core/azure-core/README.md
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-06-30 16:49:30 -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
George Arama
e105bcdca3
Keyvault unit tests for non standard key sizes. ( #2495 )
...
* param tests
* ooops
* remove get suffix
* uneeded define
* remove define
* update initi location to prevent multiple runs
* formatting
* added negative numbers and some above 2048
2021-06-29 01:10:24 -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
Victor Vazquez
7a31ca5dd3
Fix Main - ignore warning 6101 ( #2471 )
...
* Ignoring msvc warning 6101
* remove not required
* not required
* perf issues
* fix livetests build args
2021-06-23 23:50:07 +00:00
Victor Vazquez
f052feffa1
update telemetry key for keyvault keys ( #2472 )
2021-06-23 16:17:25 -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
Ahson Khan
1950e6d655
Use TCP fast open and false start to reduce RTT from 3 to 1, when using WinHttp on latest Windows OS. ( #2253 )
...
* Use TCP fast open and false start to reduce RTT from 3 to 1, when using WinHttp on latest Windows OS.
* Address PR feedback - Remove logging the error.
2021-06-22 16:06:24 -07:00
George Arama
70c3e72763
Add Unit Tests for EnvironmentLogLevelListener ( #2454 )
...
* first UT
* formatting
* unused error
* putenv
* some refactoring
* formatting
* casting
* again
* Update sdk/core/azure-core/test/ut/environmentLogLevelListener_test.cpp
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
* some refactoring
* more tests
* format
* no env test
* put back missing empty line
* Update sdk/core/azure-core/test/ut/environmentLogLevelListener_test.cpp
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
* PR comments
* fix signed/unsigned mismatch that causes ci build to fail
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-06-22 21:51:41 +00:00
Victor Vazquez
2ea2cf8b57
updates from review ( #2465 )
...
* updates from review
* cast
* use U for unsigned int
2021-06-21 18:34:59 +00:00
Victor Vazquez
a11e69a18c
Key Vault Keys crypto samples ( #2450 )
...
* encrypt_decrypt
* sign verify
* wrap and unwrap
* Apply suggestions from code review
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-06-21 18:34:41 +00: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
Victor Vazquez
81e0d5aab0
use size_t for buffers in libcurl internal impl ( #2376 )
...
* use size_t for buffers in libcurl internal impl
2021-06-14 14:28:36 -07: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
325466ecae
Fix memory leak in Base64Encode ( #2441 )
...
* Fix memory leak
* cl
2021-06-10 10:02:01 +08:00
Ahson Khan
479134595b
Consolidate the use of std::size_t and always use size_t instead, since it is a "primitive" type. ( #2415 )
...
* Consolidate the use of std::size_t and always use size_t instead, since
it is a type.
* Fix clang formatting.
2021-06-09 11:09:54 -07: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
Jørgen Lind
b2a21c665d
Fix small "Use after free" bug ( #2409 )
...
Co-authored-by: Jørgen Lind <jorgen.lind@bluware.com>
2021-06-09 00:42:40 -07:00
JinmingHu
a3be057f59
We should NOT deal with any network connections while holding mutex ( #2355 )
...
* try to fix hang issue in core sdk
* clang-format
* fix more
* fix
2021-06-09 00:40:44 -07:00
Azure SDK Bot
5a477ad533
Increment version for keyvault releases ( #2437 )
...
* Increment package version after release of azure-security-keyvault-common
* Increment package version after release of azure-security-keyvault-keys
2021-06-09 00:40:14 -07: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
Azure SDK Bot
d3b23a6d24
Increment package version after release of azure-identity ( #2403 )
2021-06-09 00:38:50 -07:00
Azure SDK Bot
d6888ba412
Increment package version after release of azure-core ( #2402 )
2021-06-09 00:38:37 -07:00
JinmingHu
a0d8668c02
remove extra new line ( #2435 )
2021-06-09 00:22:49 -07:00
Victor Vazquez
30bf45788e
update changelog ( #2436 )
2021-06-09 00:08:35 -07:00
Victor Vazquez
cd6fd9d92d
missing change for common ( #2432 )
2021-06-08 18:06:40 -07:00
Victor Vazquez
d82f28616a
update changelog ( #2424 )
2021-06-08 13:25:39 -07:00
Ahson Khan
1d39b9c761
Fix keyvault changelog nit ( #2430 )
...
Followup from https://github.com/Azure/azure-sdk-for-cpp/pull/2399#discussion_r646846373
2021-06-08 19:27:48 +00: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
Victor Vazquez
17b91ffe59
update uint32_t to int32_t ( #2399 )
2021-06-07 19:36:14 +00:00
Victor Vazquez
ecdadddc23
Update keyvault internal private header location ( #2405 )
...
* Move keyvault common headers to the right directory
2021-06-07 10:20:19 -07: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
Ahson Khan
af79bf2e72
Update Azure Core Changelog for the upcoming GA release. ( #2391 )
...
* Update Azure Core Changelog for the upcoming GA release.
* update version
* Add a bug fix section.
* Update CHANGELOG.md
Co-authored-by: Victor Vazquez <vhvb1989@gmail.com>
2021-06-04 11:38:03 -07:00
Anton Kolesnyk
a66f8366a5
Identity: Switch to release version, update changelog (no changes since Beta) ( #2397 )
...
* Identity: Switch to release version, update changelog (no changes since Beta)
* Add date and 'no changes' phrase
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-06-04 11:37:31 -07:00