Daniel Jurek
fa0fa97155
Generate map files ( #3181 )
...
* Generate map files in build
* Add .map file artifact publishing
* Add Xlinker to spelling exceptions
* Remove PublishMapFiles from clang builds
* Generate the map file artifact name
* CXX_COMPILER_ID and some logging for Clang which might be linking using the GNU linker by default
* More logging
* Move logging out of conditional
* Logging up high, use OS to determine which link flags to set
* Use linker options specific to AppleClang's context, publish map files for all platforms
2022-01-03 13:56:41 -08:00
Anton Kolesnyk
b4fe751310
RequestFailedException: decouple Message and what(). ( #3201 )
...
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-18 09:00:04 -08:00
Anton Kolesnyk
5f97ac1b3d
Fix nightly tests compilation on GCC5 ( #3190 )
2021-12-16 10:44:22 -08:00
Anton Kolesnyk
07d20e78e3
Exclude uncoverable lines from code coverage ( #3179 )
...
* Use code coverage annotations in places that never can be covered
* Comments
* Increment goal
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-14 15:25:48 -08:00
Anton Kolesnyk
a2b2b74080
Add a few simple unit tests to boost coverage ( #3163 )
2021-12-13 14:50:30 -08:00
Anton Kolesnyk
12a2ca31bc
Fix DateTime::Parse validation for dates past year 9999 due to adjustments ( #3177 )
2021-12-13 12:55:00 -08:00
Anton Kolesnyk
d4ffa7dbc1
Remove static curl transport ( #3178 )
...
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-10 15:53:17 -08:00
Anton Kolesnyk
98d9664dc9
Boost code coverage by adding tests ( #3123 )
...
* Boost code coverage by adding tests
* Increase Code Coverage min bar goals
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-02 08:43:07 -08:00
Anton Kolesnyk
a831b4b3f6
Exclude test, samples, and 3rd party code from code coverage ( #3120 )
...
* Exclude test, samples, and 3rd party code from code coverage
* Update min coverage requirement to a true one
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-11-18 13:06:12 -08:00
Anton Kolesnyk
764b839dec
Make AZURE_ASSERT and related macros internal ( #3059 )
2021-11-17 18:31:37 -08:00
Anton Kolesnyk
5e0f1c9ac8
Do not initialize statics in inline functions ( #3111 )
...
* Do not initialize statics in inline functions
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-11-17 13:17:41 -08:00
Anton Kolesnyk
1e01a161cb
Remove LICENSE file duplicates ( #3085 )
...
* Remove `LICENSE` file duplicates
* Update hyperlinks
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-11-09 15:55:14 -08:00
Anton Kolesnyk
767b03401e
Remove en-us from links in code comments ( #3083 )
...
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-11-08 20:27:32 -08:00
Azure SDK Bot
f84c8d2af7
Increment package version after release of azure-core ( #3073 )
2021-11-08 08:43:45 -08:00
Victor Vazquez
7e7979d7f7
Cl for release 1.3.1 ( #3070 )
2021-11-05 15:31:33 -07:00
Ahson Khan
1d7b6bb485
Fix up build error by adding missing parenthesis in tests ( #3071 )
...
* Fix up build error by adding missing parenthesis in tests
* Because static lib curl tests were disabled we need to lower the threshold
2021-11-05 15:30:59 -07:00
Anton Kolesnyk
ae612c5db5
Fixed linking error when Azure SDK is being built as DLL. ( #3069 )
...
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2021-11-05 14:25:11 -07:00
Ahson Khan
ad87699a2e
Disable unit tests for staticLibCurl since they are failing on Mac ( #3068 )
2021-11-05 14:18:10 -07:00
Azure SDK Bot
7926ec8c3c
Increment package version after release of azure-core ( #3058 )
2021-11-05 14:08:33 -07:00
Ahson Khan
e498d6a165
Update cspell.json entry for contributor names within azure core changelog. ( #3049 )
...
* Update cspell.json entry for contributor names within azure core changelog.
* Remove in-line exception
2021-11-04 15:31:04 -07:00
Victor Vazquez
4614b80d22
cl ( #3047 )
2021-11-04 18:52:50 +00:00
Victor Vazquez
50b89caaa5
hide Request general ctor ( #3033 )
2021-11-03 16:09:07 -07:00
Victor Vazquez
fb03127d05
Use ms for connection timeout ( #3001 )
...
* move the static transport adapter to private impl
* use MS for connection timeout
* update
* fix the value
2021-11-03 23:08:35 +00:00
Victor Vazquez
31398df179
move the static transport adapter to private impl ( #2993 )
2021-10-28 11:49:37 -07:00
Victor Vazquez
871b9e8d6d
Expose http request base constructor ( #3002 )
...
* Expose http request base constructor
* cl
2021-10-28 10:02:01 -07:00
Victor Vazquez
3be793d558
[Core] - Support azure-core version without OpenSSL dependency ( #2839 )
...
* perf test uuid
* use win impl for uuid on linux
* use c99 base64 encode-decode
2021-10-27 23:20:34 +00:00
Victor Vazquez
a4f2e510e5
Adding timeout option ( #2991 )
2021-10-25 12:12:53 -07:00
Victor Vazquez
ef72f3c8a1
expose Curl nosignal opt ( #2985 )
...
* add NoSignalOption
* cl
* tests
2021-10-21 17:25:02 -07:00
Victor Vazquez
dcc6f12c20
force http 1.1 on the libcurl transport adapter ( #2978 )
...
* force http 1.1
* update wording
2021-10-20 18:43:28 +00:00
Anton Kolesnyk
6c0901b2ff
Fix build warning in no-RTTI config ( #2981 )
...
* Fix build warning in no-RTTI config
* Fix build warning in no-RTTI config
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-10-19 16:09:06 -07:00
Anton Kolesnyk
b477373a9c
Remove extra semicolons ( #2979 )
...
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-10-19 16:08:42 -07:00
Victor Vazquez
5e3cd1fb01
Adding a static-blocking libcurl transport adapter ( #2948 )
...
* static libcurl transport adapter
* ignore cspell
* updates to implementation
2021-10-18 15:01:00 -07:00
Victor Vazquez
8f3263a7ec
Missing fix for testing windows w/o RTTI ( #2969 )
...
* Enable no-rtti
* Apply suggestions from code review
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
* pass target
* rename
* rename
* fix for installed header
* update
* compile with tests
* add unit test for CI
* rename for each package
* wording updates
* renames
* rename
* update name
* fix for testing context pre-condition
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-10-18 15:00:47 -07:00
Victor Vazquez
f4e6390dff
Enable no-rtti ( #2963 )
...
* Enable no-rtti
2021-10-14 18:12:03 -07:00
Rick Winter
bb8b889cf5
Remove static_cast ( #2815 )
...
* Remove static_cast
* Add additional checks around our Logger::Level to ensure its lock_free
2021-09-16 11:54:18 -07:00
Azure SDK Bot
2b3f03909e
Increment package version after release of azure-core ( #2826 )
2021-09-02 20:56:31 +00:00
Victor Vazquez
14a4459ae0
core cl update ( #2819 )
2021-09-02 11:02:14 -07:00
Anton Kolesnyk
3aee1859f0
CSpell fixes for Core and Identity ( #2816 )
...
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-31 15:21:17 -07:00
Victor Vazquez
49636a2f93
ignore result of function to compile on G++ 5 ( #2784 )
...
* ignore result of function
* changelog
* Add g++5 to CI legs
* use inline config for g++ 5
* update flag
* set default values for variables
* fix format
2021-08-24 15:55:46 -07:00
Victor Vazquez
28d7a22fbd
support cmake version 3.12 for Azure core ( #2787 )
...
* support cmake version 3.12 for Azure core
2021-08-24 15:17:06 -07:00
Anton Kolesnyk
f1ae8a9cdf
Rename exceptions message parameter to whatArg ( #2782 )
...
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-23 18:41:16 -07:00
JinmingHu
a9507ae88d
Fix build error on some platforms ( #2734 )
...
* Move uuid impl to .cpp file
* CL
2021-08-13 07:50:25 +08:00
Victor Vazquez
0c041c9bfa
Add core-test recording-playback ( #2685 )
...
Recording feature
2021-08-09 15:38:57 -07:00
Azure SDK Bot
4e1cdb985d
Increment package version after release of azure-core ( #2715 )
2021-08-09 13:20:01 -07:00
Anton Kolesnyk
6bf52bdbde
Update vcpkg version dependencies ( #2718 )
2021-08-09 13:15:27 -07:00
Victor Vazquez
2b63bc6536
changelog for 1.2.0 release ( #2713 )
2021-08-05 20:47:51 -07:00
Anton Kolesnyk
7f6930678c
Update changelog to list Clang 11 community contribution ( #2707 )
...
* Update changelog for Clang 11 comunity contribution
* Move to correct place, arrange in correct order
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-04 10:33:29 -07:00
David Chisnall
eb135023bb
Fix implicit conversion that clang rejects. ( #2704 )
...
With clang 11, the build fails with:
```
azure-sdk-for-cpp/sdk/core/azure-core/inc/azure/core/datetime.hpp:285:14: error: no viable conversion from returned value of type 'time_point<Azure::_detail::Clock, typename common_type<duration<long, ratio<1, 10000000> >, duration<long long, ratio<1, 1> > >::type>' (aka 'time_point<Azure::_detail::Clock, duration<long long, ratio<__static_gcd<ratio<1, 10000000>::num, ratio<1, 1>::num>::value, __static_lcm<ratio<1, 10000000>::den, ratio<1, 1>::den>::value> > >') to function return type 'Azure::DateTime'
return DateTime(1970) + std::chrono::seconds(posixTime);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2021-08-03 13:13:16 -07:00
Victor Vazquez
2feed76d86
clang doc fixes ( #2697 )
2021-08-02 11:55:08 -07:00
Victor Vazquez
554feb13b8
typo ( #2700 )
2021-08-02 11:54:56 -07:00