* Actually use the COMCKA_LIB variable that we set in the top level CMakeLists.txt
* rename global_compile_options.txt to .cmake
This results in better colorization in editors, and is less suprising.
* add ADDRESS_SANITIZER option
* add asan to CI, use
* use - instead of / for sanitize=address, so things work with other compilers
* make the canary compiler-specific.
* make an imported target for cmocka if it's too old to have a real imported target.
* link asan when using gcc
* make only the static analysis lie compiler specific.
* use target_link_libraries and target_include_directories instead of set_property
This is required to properly expand build type keywords.
* Revert "use target_link_libraries and target_include_directories instead of set_property"
This reverts commit f10143e03b.
* Revert "make an imported target for cmocka if it's too old to have a real imported target."
This reverts commit fd708295b8.
* just do target detection, don't try and make an imported target
the imported target doesn't work because it has build type keywords.
* supress "asan needs debug mode for good error reporting.
* ignore the linker warning about better debug info too.
* Remove the canary
* Add asan to a debug linux build.
* whitespace
* whitespace mk2
* update readme to mention asan
* asan option description nits
* add some explenation of the changes to linker warnings
* add note about compiler warning as well.
* Only create map files if cmake is 3.13 or greater
* Use a module for producting map files
* Review feedback
* Give warning message that map files won't be generated
* Update spacing in markdown by using a linter.
* Fixup provisioning sample readme.
* Fix up iot hub md files.
* Fix typos and spelling errors across the repo.
* Revert vscode settings commit.
* Fix the reference to step numbers in the linux and windows iot hub
samples.
For the public preview of Azure IoT Embedded C SDK the plug-and-play (pnp) client
will not be ready, and must not be made public with the rest of the Azure IoT SDK.
The current code of the Azure IoT PnP client will reside on the following branch until ready:
https://github.com/Azure/azure-sdk-for-c/tree/iot/pnp_wip
* move _az_span_token from az_iot_core.h to az_span_internal.h
* [iot] Add az_iot_core_internal.h, move _az_iot_u32toa_size
* [iot] Rename 'iot core' to 'iot common'
According to decision made on C99 discussion meeting, the az iot 'core' comp unit
shall be renamed to az iot 'common' to avoid confusion with SDK core lib.
* [ACR/1] move _az_span_token from az_iot_core.h to az_span_internal.h
* [ACR/2] move _az_span_token from az_iot_core.h to az_span_internal.h
* Fix for test_az_credential_client_secret.c break introduced by 6d1f4c6c22
* Implementation for IoT Provisioning Client, paho sample.
Updating vcpkg requirements.
Fixing doxygen
Certifiate gen tool.
* Build fix. Public API struct-by-ref.
* Addressing PR comments.
* Fixing build on Windows.
* Allowing the sample to run on systems without a properly configured default OpenSSL CA store.
* Addressing pr comments.
* Create txt file during generation with the list of targets with code coverage configuration
* use the binary dir
* unwanted change
* add missing test project for iot core
* modify coverage generation to use list of coverage targets created by the build
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Implement set of core functions for az_iot_pnp library:
* `az_result az_iot_pnp_client_init`
* `az_iot_pnp_client_get_user_name`
And inline a few more:
* `az_result az_iot_pnp_client_get_id`
* `az_result az_iot_pnp_client_get_sas_signature`
* `az_result az_iot_pnp_client_get_sas_password`
These functions for the most part (or entirely in inline case) build on top of az_iot_hub layer.
* Initial commit of the az_iot SDK (sas token module and tests)
This commit lays down the initial file structure of the Azure IoT C SDK within Azure SDKs for C suite.
It also contains the first module for SAS token generation and tests.
There also some additions to az_span and az_contract for supporting all operations needed for SAS token generation.
* [ACR/1] Initial commit of the az_iot SDK (sas token module and tests)
Addressing code review (ACR) comments from 1st iteration.
* [ACR/2] Initial commit of the az_iot SDK (sas token module and tests)
Addressing code review (ACR) comments from 2nd iteration (use AZ_SPAN_FROM_BUFFER).
* [ACR/3] Initial commit of the az_iot SDK (sas token module and tests)
* [ACR/4] Initial commit of the az_iot SDK (sas token module and tests)
* [ACR/5] Initial commit of the az_iot SDK (sas token module and tests)
* avoid sdk client linking az_core on it and only getting headers instead
* overflow for exp conversion
* renaming az_mut_span test
* move exp limit test to main
* Add samples into Sample folders
Add ability to build the SDK without building samples
-By default samples are built
-To disable samples set AZ_SDK_C_NO_SAMPLES=1
* merge az_span with az_mut_span and az_span_builder
* enhancing public az_span api
* use getter and setter for az_span
* update project without az_span_span
* update readme with macro name
* merge http headers into az_http.h
* deleted headers and features (az_span_span, az_pair_span)
* identity updates for az_span unification
* keyvault changes for az_span unification
* storage changes for az_span unification
* changes to actions part I
* az_span updates
* json updates for az_span unification
* curl and uri chages
* base 64 updates
* optional types, moving str to private and tests
* Action Removal
* merge json headers to az_json.h
* quick
* remove http_response_parser and use only http_response with internal span to read
* fixes for unit tests
* http request refactor. Removing buffer and now using url and headers az_span
* keyvault refactoring
* keyvault changes
* storage updates
* small doc updates for clang
* remove typedef for keyvault tags
* removing CURL from CORE
* moving az_hex to private
* removing az_url and az_url_decoding
* fixing unit tests
* updates for log and current master
* Resolve warning for windows compiler
* disabling MAC pipeline while unrelated build issue on mac is fixed
* DRY up warning flags
* Fix core and test warning for MSVC (#299)
* Fix local MSVC warnings
* Fix core and test warning for MSVC
* address comments
* Undo prefix/suffix files
* Fix '..' include warning
* Try fixing Linux and Max warnings
* Fix Mac and Linux in a bit other way
Co-authored-by: antkmsft <41349689+antkmsft@users.noreply.github.com>
* fix merge artifacts
* 404
* fix merge artifacts.
* "ignore" warning
* doc stub
* doxygen
* error handling
Co-authored-by: Sergey Shandar <sergey-shandar@users.noreply.github.com>
Co-authored-by: antkmsft <41349689+antkmsft@users.noreply.github.com>