Commit Graph

27 Commits

Author SHA1 Message Date
Daniel Jurek
9023c03ee8
Use vcpkg supplied by eng/common (#6771)
* Use vcpkg supplied by eng/common

* /

* Remove Set-VcpkgWriteModeCache.ps1 in favor of eng/common version

* Use vcpkg versions from https://github.com/Azure/azure-sdk-for-cpp/pull/6756/files
2025-10-16 09:51:40 -07:00
dependabot[bot]
fac93b7d35
Bump github.com/microsoft/vcpkg from master to 2025.08.27 (#6726)
* Bump github.com/microsoft/vcpkg from master to 2025.08.27

Bumps [github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg) from master to 2025.08.27. This release includes the previously tagged commit.
- [Release notes](https://github.com/microsoft/vcpkg/releases)
- [Commits](ef7dbf94b9...120deac306)

---
updated-dependencies:
- dependency-name: github.com/microsoft/vcpkg
  dependency-version: 2025.08.27
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update corresponding files

* Stop using deprecated members from libxml2

* Clang-format

* Update use of opentelemetry deprecated include file

* Clang-format

* Another Opentelemetry breaking change

* Add include file

* NO_LINKER_OVERRIDE

* -framework Security on macOS

* Disable CurlTransportOptions.setCADirectory test on Mac

* disable -Wold-style-cast from external sources on mac

* Wrap all openssl includes to ignore -Wold-style-cast for clang

* Update cspell

* Wrap all usages of BIO_get_mem_data() macro to ignore -Wold-style-cast for clang

* Clang-format

* Clang-format

* Clang-format

* Wrap all usages of BIO_flush() macro to ignore -Wold-style-cast for clang

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-09 16:59:00 -07:00
dependabot[bot]
2d969df700
Bump github.com/microsoft/vcpkg from master to ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0 (#6659)
* Bump github.com/microsoft/vcpkg

---
updated-dependencies:
- dependency-name: github.com/microsoft/vcpkg
  dependency-version: ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update vcpkg.json

* Update default VCPKG commit hash in AzureVcpkg.cmake

* try fixing CI by updating xcode version

* 16.2 -> 16.4

* Fix the reason for overfow warning

* Suppress warning C6326: Potential comparison of a constant with another constant.

* Undo unintended format

* Correct condition to check whether it is possible to add epoch to system clock max without overflow

* Insert info for debugging on mac

* Better temp log formatting

* Use largest int type for calcuations (mac fix)

* In case system clock is lesser resolution than Azure::DateTime, do all calculations in a greater ration to avoid integer overflows

* Avoid overflowing system clock max when converting to time since epoch

* Add one more variable for debug logging on mac

* Avoid one more integer overflow

* Remove debug stuff

* CLang-format

* More clang-format

* Less conversions if equal

* Commit to reset CI

* Undo commit to reset CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-05 14:36:58 -07:00
Anton Kolesnyk
63ac69506f
Update vcpkg baseline (#6574)
* Update vcpkg baseline

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Suppress otel warnings in stress test code

* Update CI to update vcpkg cache if the run is PR-initiated

* Turn SSL caching off by default

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Integrate the exact copy of #6581 - to make sure we're testing the same change with libcurl >= 8.12, and also make future merging easier

* Update cspell

* Move feature to bugfix

* Update vcpkg.yml

* Copy #6582 to verify against the latest libcurl

* Undo unnecessary changes

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-21 11:57:28 -07:00
Larry Osterman
e04e96cf87
Merged Rust AMQP stack with main. (#6442)
* Initial attempt at a Rust AMQP stack, merged against feature/rust_amqp for now. (#5942)

* Enabled building AMQP *without* uAMQP

* Start integrating Rust AMQP Value to C++ AMQP Value

* AMQP Value tests now pass

* Moved AmqpValueType ostream inserter to its original location

* Added Rust AMQP Message implementation

* Added start of message source tests

* Enabled building AMQP *without* uAMQP

* Start integrating Rust AMQP Value to C++ AMQP Value

* Moved AmqpValueType ostream inserter to its original location

* Message target support

* Message source and target support

* Add connection support; restructured tests to fail on RUST AMQP rather than attempting to run; removed some uAMQP-only features  (#5986)

* Checkpoint of connection logic

* Started implementing Rust based Connection by pulling out uAMQP artifacts

* Implemented AMQP Connection in Rust; started API surface refactoring for Rust APIs; Refactored tests to remove some uAMQP only elements.

* Don't leak runtime context on calls

* Refactor AMQP logic to better isolate rust AMQP code from uAMQP code. (#6008)

* refactor uAMQP and Rust AMQP into separate implementations for ease of use

* Add connection support; restructured tests to fail on RUST AMQP rather than attempting to run; removed some uAMQP-only features  (#5986)

* Checkpoint of connection logic

* Started implementing Rust based Connection by pulling out uAMQP artifacts

* Implemented AMQP Connection in Rust; started API surface refactoring for Rust APIs; Refactored tests to remove some uAMQP only elements.

* Don't leak runtime context on calls

* export UUID from AMQP

* Cleaned up some more elements; reduced scope of doxygen significantly

* runtime context needs to be process global not thread global; all tests pass or fail at this point

* Merged main into branch

* Implement AMQP Session APIs in Rust. (#6033)

* Checkpoint of rust session support

* Session begin/end now works

* Session tests pass

* Removed accidental regression

* Added rust per-call context (#6043)

* Reworked runtime context to be call context

* Added context parameter to blocking AMQP calls

* Added comments around the lifetime of the RustRuntimeContext captured in the CallContext object

* uAMQP changes corresponding to Rust changes

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

* sync rust SDK fixes to C++

---------

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

* Enable Rust ClaimsBasedSecurity interoperability; Converted EventHubs producer client to work with Rust AMQP changes. (#6059)

* canonicalized return values; initial CBS support

* Implementation of CBS for C++

* Amqp Authentication works; Integrate Rust AMQP into Eventhubs Producer client

* Implemented Rust AMQP message sender. (#6083)

* Initial sender implementation

* PR feedback

* Management APIs work (#6096)


* Management APIs work

---------

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

* Converted builders to be compliant with Rust guidelines. (#6102)

* Converted builders to be compliant with Rust guidelines.

* Bring rust changes back to C++ repo

* Improved builder developer experience

* Removed builders from AMQP layer to conform to Rust guidelines; Fixed AMQP bug in message sender tests (#6208)

* Removed builders from AMQP layer to conform to Rust guidelines; Fixed AMQP related bug in message sender tests

* Pr feedback

* Implement receiving messages; Changes to eventhubs so that all eventhubs tests pass (#6254)


* Eventhubs tests pass

* Noise reduction; explain the task which spawns a task

* Update sdk/eventhubs/azure-messaging-eventhubs/src/producer_client.cpp

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

* PR feedback

---------

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

* Integrate Rust 2 step message receive code to C++ (#6349)

* Integrate Rust 2 step message receive code to C++

* If receiving a delivery failed, transmit the error to the message channel if at all possible

* Enable Rust based AMQP by default (#6362)

* AMQP tests now pass; Integrate TestAmqpBroker with CI pipeline

* Updated changelogs to reflect API changes made during AMQP updates

* Replace uAMQP with Rust AMQP as the default AMQP transport; Updated build configurationj to reflect that

* Test fixes

* PR feedback; test fixes

* Fixed uninitialized variable tanking some tests (#6381)

* Fixed uninitialized variable tanking some tests

* Fixed Rust AMQP tests

* Removed connection string support from Eventhubs and EH tests. (#6391)

* Removed the ability to use connection strings from EventHubs

* Enable Rust AMQP by default!!!

* Update CMakePresets.json

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-03-11 22:30:13 +00:00
Anton Kolesnyk
5c9c44546a
Update vcpkg SHA (#6054)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-02 13:20:35 -07:00
Anton Kolesnyk
22f5135d4c
Update vcpkg SHA (#5772) 2024-07-11 22:57:06 +00:00
Anton Kolesnyk
729491820e
Update vcpkg SHA (#5757)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-02 09:05:04 -07:00
Anton Kolesnyk
0421c580da
Update vcpkg SHA (#5564)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-24 00:51:45 +00:00
Anton Kolesnyk
735da80bf8
Update vcpkg SHA (#5347)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-13 17:00:12 -08:00
Anton Kolesnyk
05d1f5455c
Make vcpkg.json comment multiline (#5175)
* Make vcpkg.json comment multiline

* Update core-opentelemetry tests to be able to compile with opentelemetry-cpp version 1.12.0

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-21 17:06:37 -08:00
Larry Osterman
51c8955d85
Vendor AMQP at commit 52942afb1a4b48a1d8af7a3ac37d3211661e3423 (#5049)
* Vendored version of uamqp

* Exclude vendored modules from cspell

* Code coverage

* Code coverage improvements

* Removed more coverage exclusions
2023-10-25 11:19:20 -07:00
Anton Kolesnyk
4b155b5a72
Update vcpkg SHA (#4986)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-25 13:36:29 -07:00
Larry Osterman
336c8c02fb
Removed storage dependency from eventhubs (#4954)
* Removed storage dependency from eventhubs

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-09-22 08:06:58 -07:00
Rick Winter
b54d509c72
Use standard syntax for MIT license (#4786)
* Use standard syntax for MIT license

* Stop appending "All rights reserved"
2023-07-12 22:37:36 -07:00
Anton Kolesnyk
7da5a4568c
Update vcpkg baseline (#4772)
* Update vcpkg baseline

* Update in another place as well

* Remove default-features requirement for telemetry and amqp in manifest mode

* Also remove default-features for storage

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-10 14:22:40 -07:00
Anton Kolesnyk
ada77b34a6
Fix vcpkg install (#4327)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-02-02 11:19:54 -08:00
Ahson Khan
f587bf9e79
Update vcpkg baseline to latest released tags/2022.10.19 (#4100)
* Update vcpkg baseline to latest released tags/2022.10.19

This is now in-sync with Embedded C as well.

* Update AzureVcpkg cmake module and the vcpkg commit string defined there.

* Remove the use of VCPKG_ROOT and VCPKG_INSTALLATION_ROOT from the cmake module.
2022-11-18 16:38:24 -08:00
George Arama
5f64eea985
Vcpkg baseline to latest (#4036)
* vcpkg baseline

* f4b262b259145adb2ab0116a390b08642489d32b

* 79fa9d85cb4510b05c2657bd7ec8a6a2cb266dc5

* 6ca56aeb457f033d344a7106cb3f9f1abf8f4e98

* override

* 1.4.1`
2022-10-18 15:37:05 -07:00
Victor Vazquez
f4bbfaa7da
[EngSys] Get Vcpkg automatically (#3614)
* get vcpkg automatically
2022-06-07 18:45:50 -07:00
Anton Kolesnyk
efe4772acb
Update upper/lower/other casing (#2267)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-05-14 12:54:16 -07:00
Ahson Khan
fd9c3e5ebb
Fix true spelling errors across all source and header files within the SDK and add exceptions for false positives. (#2209)
Part of https://github.com/Azure/azure-sdk-for-cpp/issues/1277, checking what types of warnings the CI emits.

Verified all SDK product `.cpp`, `.hpp`, `.txt`, and `.md` files, primarily focused on azure-core. They are all clean now. There are some exceptions that needs to be added for keyvault and storage, but they are false positives, so not a concern.

> `cspell lint --config .vscode/cspell.json *.hpp */**/*.hpp`

CSpell: Files checked: 188, Issues found: 0 in 0 files

> `cspell lint --config .vscode/cspell.json *.cpp */**/*.cpp`

CSpell: Files checked: 186, Issues found: 88 in 15 files (keyvault and storage false positives, or tests)

> `cspell lint --config .vscode/cspell.json *.md */**/*.md`

CSpell: Files checked: 45, Issues found: 5 in 2 files (eng/common)

> `cspell lint --config .vscode/cspell.json *.txt */**/*.txt`

CSpell: Files checked: 44, Issues found: 0 in 0 files

> `cspell lint --config .vscode/cspell.json *.* */**/*`

CSpell: Files checked: 646, Issues found: 328 in 69 files (most of these are in eng\docs\api\assets\style.css or eng/common)

Deprioritize and ignored the errors from the test files (including test resource json files), and `eng/common` since those need to be centrally fixed.
2021-05-07 21:04:58 +00:00
Anton Kolesnyk
cd36753d76
PackageVersion made constexpr and moved to src/package_version.hpp (#2166) 2021-04-28 17:34:24 -07:00
Anton Kolesnyk
ba714bebd1
VcPkg files: Simplify header comment handling (#2135) 2021-04-20 01:01:16 +00:00
Ahson Khan
d452e94337
Update vcpkg ports to use a manifest json file instead of a CONTROL file. (#2132)
* Update vcpkg ports to use a manifest json file instead of a CONTROL file.

* Update vcpkg ports to use a manifest json file instead of a CONTROL file
for remaining packages.

* Add the new vcpkg manifet json files and also update the template
package.

* Update paths in the cmake and eng scripts to find the right file now
that CONTROL is gone.
2021-04-19 12:50:50 -07:00
Anton Kolesnyk
bc83b64098
Remove copyright headers from produced VcPkg port files (#1682)
* Remove copyright headers from produced VcPkg port files

* PR feedback

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-16 13:56:07 -08:00
Victor Vazquez
60a4792a0f
Make cmake modules consistent names (#1498)
* AzureVersion

* Vcpkg

* coverage

* missing renames

* missing renames
2021-01-27 18:55:46 -08:00