Граф коммитов

3256 Коммитов

Автор SHA1 Сообщение Дата
nahidfgh f02d236b14
update version to point to PG unified schema (#1308)
* update version to point to PG unfied schema

* revert version

* Add tests to unit tests set
2024-11-19 10:29:59 -08:00
ycw 416672420e
Fix unit test failures (#1304) 2024-10-07 16:48:10 -07:00
Zachary Henkel 324eb395f3
Prevent `-Wcast-function-type-mismatch` diagnostics from clang (#1301)
Merge now because the iOS build issue is unrelated.
2024-09-12 11:52:00 -07:00
Lalit Kumar Bhasin 9e3ec45f7a
bump version.hpp (#1300) 2024-09-05 22:57:09 -07:00
Alex Gavrishev 12562c428d
Upgrade mockito test dependency to be compatible with new Java version (#1298)
* Upgrade mockito test dependency to be compatible with new Java version

* Update build-android.yml
2024-09-05 07:21:56 -07:00
Scott Mitten 5116b27f75
Fix for build errors when building with gcc 13 (#1289) 2024-08-14 09:38:23 -07:00
ShrutiJaiswal1494 24bb518038
Introduce memset_s in sqlite3 (#1286)
* Add memset_s to fix buffer overflow for memset function in sqlite3

* Use memset inside memset_s with buffer overflow checks

* remove codeQL comment

* Create separate header for memset_s

* Update documentation for sqlite

* Correct formatting

---------

Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2024-07-23 22:23:32 -07:00
Manuel 7700dc3872
Update submodule to latest commit for PrivacyGuard (#1285)
Co-authored-by: Manuel Lopez <manuellopez@microsoft.com>
2024-06-28 10:29:21 -05:00
Lalit Kumar Bhasin c43997bb81
Update "Getting started" section. (#1284)
* update README.md

* fix employee to alias

* nit newline change

* Update README.md
2024-06-26 11:41:59 -07:00
Tomasz Kukielka 06c0679cc8
Fix build scripts and add visionOS support (#1279)
* Fix build scripts and add visionOS support

Multiple fixes:
- building on Apple Silicon Macs - remove the assumptions that the build machine is always x86_64
- fix badly broken build.sh for Mac, especially with getopts for options & params
- extend build-ios.sh to allow building for iOS-derived platforms like visionOS

The expected iOS build invocation is:
build-ios.sh [clean] [release|debug] ${ARCH} ${PLATFORM}
where
ARCH = arm64|arm64e|x86_64
PLATFORM = iphoneos|iphonesimulator|xros|xrsimulator

* Fix build for older Xcodes

The verification pipeline uses older Xcode
-Wno-unused-but-set-variable is unknown to older compilers, add -Wno-unknown-warning-option

* Set the default arch to the build machine's one if not specified

---------

Co-authored-by: Tom Tan <Tom.Tan@microsoft.com>
2024-05-29 14:03:49 -07:00
Lalit Kumar Bhasin e93f260c31
MacOS CI failure fix (#1280) 2024-05-29 11:26:03 -07:00
Tom Tan feff7ef098
Include CSharp sample in build script and add it to CodeQL list (#1278) 2024-05-23 08:56:01 -07:00
shae-brown c480743a86
Add Json test file for modules (#1271) 2024-05-14 10:20:12 -07:00
Tom Tan a956eb9cfc
Add Java to CodeQL scan list (#1275) 2024-05-13 17:59:08 -07:00
Tom Tan 048c9050bf
Upgrade CodeQL from v2 to v3 (#1276) 2024-05-13 14:06:38 -07:00
Tom Tan 6bc16275ef
Remove unmaintained tool OneDSInspector (#1273) 2024-05-10 20:57:18 -07:00
Tom Tan 2c08cbe3d0
Add all the included languages to CodeQL list (#1270) 2024-05-07 16:29:53 -07:00
Tom Tan 375938a215
Remove go wrapper (#1268) 2024-04-30 16:38:12 -07:00
Matthew Koscumb 4a91d794b2
Remove _CRT_SECURE_NO_WARNINGS macro usage in example code, fix any errors arising from disabling this. (#1265) 2024-04-22 08:14:42 -07:00
Matthew Koscumb 0ff7816bd7
Remove _CRT_SECURE_NO_WARNINGS macro usage (#1264)
* std::gmtime's result was not used, remove function call and usage of _CRT_SECURE_NO_WARNINGS.

* Remove unnecessary _CRT_SECURE_NO_WARNINGS macro usage.

* Remove unnecessary _CRT_SECURE_NO_WARNINGS macro defintion in VCXProject files.

* Remove _CRT_SECURE_NO_WARNINGS from other platform/flavor combinations.

* Remove _CRT_SECURE_NO_WARNINGS from CMake logic.
2024-04-16 15:59:54 -07:00
Lalit Kumar Bhasin 2aca2f0e3b
Documenting LogManager Setup and Best Practices (#1259) 2024-04-15 18:33:59 -07:00
shae-brown 2db335cbcd
Upgrade nlohmann/json to 3.11.3 (#1262)
* update version
2024-04-15 12:38:43 -07:00
zkarwacki 8475b65b3e
SampleCppMini - adjust ticketNames array size (#1257)
Fixes build break in SampleCppMini by adjusting ticketNames array size to match number of elements the array is initialized with.
2024-03-29 16:41:47 -07:00
Lalit Kumar Bhasin 5068a981e2
Update codeql-analysis.yml 2024-02-15 16:40:58 -08:00
Toni f147079597
Fix broken codeql job. (#1243) 2024-02-07 23:40:14 -08:00
Matthew Koscumb e6dcf9a03e
Fix a few variable shadowing warnings in public headers. (#1233) 2024-02-06 15:05:49 -08:00
Matthew Koscumb 18d0ea28fa
Clarify and Improve the version format script so that it doesn't need to manually be updated every year. Also fixed version.txt not requiring a magic 999 value. (#1237)
Co-authored-by: Tom Tan <Tom.Tan@microsoft.com>
2024-02-05 13:24:15 -08:00
Matthew Koscumb a5bd5a6ee3
Add noexcept annotation where applicable (#1244)
* NetworkDetector::RegisterAndListen does not throw exceptions, thus mark the method as noexcept.

* RequestHandler::RequestHandler does not throw exceptions, thus mark the constructor as noexcept.

* Constant intialization of member variables should be done using in-class initializers, not in the initializer-list.
2024-02-05 10:30:57 -08:00
Matthew Koscumb 8e3697de26
mat_flush is not published in any header, nor is called anywhere outside of capi.cpp, thus mark the method as static, (#1245) 2024-02-02 12:56:47 -08:00
absaroj 7491e96066
Updating version number to 3.8.32.1 to create a new release (#1242) 2024-02-02 10:35:46 -08:00
absaroj 9fd2e2720c
adding comment about using the typealised enums in swift (#1241)
Co-authored-by: Matthew Koscumb <49213788+mkoscumb@users.noreply.github.com>
2024-02-02 09:55:18 -08:00
Matthew Koscumb 7bca728c85
Update a couple member methods which don't access class instance member variables to be static. (#1234)
Co-authored-by: Tom Tan <Tom.Tan@microsoft.com>
2024-02-02 09:04:17 -08:00
absaroj 6991de6d43
adding conditional compliation for the code which is supposed to run only for debug mode builds, to fix release unused variable as error (#1240) 2024-02-01 23:26:18 -08:00
Toni e8dd205557
Fix deprecated CURL API usage. (#1238) 2024-02-01 22:33:29 -08:00
absaroj bad56a0b93
adding setters and getters for properties in eventprops for swift wrappers (#1239) 2024-01-30 18:54:52 -08:00
Matthew Koscumb 5d539d18ea
Fix -Wimplicit-retain-self warnings in ODWLogger.mm (#1235) 2024-01-25 14:46:20 -08:00
Matthew Koscumb e82b592e2b
Update version to 3.8.XXX.1 for 2024. (#1236) 2024-01-25 13:28:27 -08:00
absaroj 2f63392921
cleaning test created files after test completion (#1232) 2024-01-11 12:54:54 -08:00
Matthew Koscumb 7d1a165fa4
Fix an Apple break in Office around complex c'tors running at binary load time. (#1230) 2024-01-08 13:41:06 -08:00
absaroj ced3b3d3b2
Adding sample unit tests to SamplePackage example for swift wrapper to show case the usage w.r.t unit tests (#1220)
* adding sample test to the swift package example and linking libs and fwks to make swift test pass

* updating readme file
2023-10-13 16:27:33 -07:00
Lalit Kumar Bhasin d4555becdf
Update .CODEOWNERS to contain 1ds-c-sdk-approver team. (#1219) 2023-10-12 09:54:54 -07:00
ms-iankudinova b776af831a
Add target .net 6 for the 1DS Test Server (#1217)
* Update .net version to .net 6

* support both frameworks .net6 and old one .net core 3

* Update scripts, that runs test server to specify flags for target frameworks

* Change indent

* Use $framework value in the echo
2023-10-06 09:23:52 +01:00
ms-iankudinova 36bc9b2ba3
Add endpoint, where telemetry request will be processed and stored to the file (#1071)
* Add enpoint, where telemetry request will be processed and stored to the file

* Remove unnesessery dependency

* Add if directive otherwise build can failed

* Trying to solve cocurrent usage problem of the file

---------

Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
Co-authored-by: Max Golovanov <maxgolov@microsoft.com>
2023-10-03 13:38:33 +01:00
ms-iankudinova 7e718576be
Update dependencies (#1151)
Co-authored-by: Tom Tan <lilotom@gmail.com>
2023-10-02 11:26:38 +01:00
Sid Dahiya 55c90b5d58
Add missing configuration value from ODWPrivacyGuardInitConfig (#1130) 2023-09-26 13:07:41 -07:00
Sid Dahiya a098e120d0
Update CODEOWNERS (#1216) 2023-09-25 20:06:47 -07:00
Dillon Beliveau dee05c0085
Fix a syntax error in build.sh (#1205) 2023-09-11 11:10:21 -07:00
shivpratap1992 0c581b52dc
Fix EVT_OP_MAX order (#1199) 2023-09-01 09:18:12 -07:00
ShrutiJaiswal1494 e93f97504c
update submodules pointer to grab the PG changes (#1195) 2023-08-31 15:02:00 -07:00
shivpratap1992 02c276d99f
Expose FlushAndTearDown API in C-API (#1198)
* Add C-API

* Test
2023-08-31 09:54:58 -07:00