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

3231 Коммитов

Автор SHA1 Сообщение Дата
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
Max Golovanov 6129741748
EUDB compliance recommendations and example (#1191)
* EUDB compliance recommendations and example

* Fix spelling issue

* Addressing code review comments.
2023-08-08 20:36:10 -07:00
Tom Tan c7bb501a15
Convert time from eventPropertiesto ticks (#1165) 2023-08-03 15:29:20 -07:00
angelser b2a54a67dc
Update modules to latest (#1187) 2023-07-17 20:00:08 -07:00
angelser b08f300c4a
Add support for utc new privacy fields (#1184)
* Add support for new UTC Privacy fieds: Privacy product and privacy data category.

* Update reference to modules to allow validation

* Revert "Update reference to modules to allow validation"

This reverts commit 429899176a.
2023-07-12 12:50:57 -07:00
absaroj c838e74db3
Adding sample swift package importing swift wrappers package (#1183)
* renaming folder to have different names for xcode and package sample

* adding sample package files

* adding dependencies for the onedswrapper

* removing tests file

* adding example for calling swift wrapper classes

* correcting readme file

* correcting readme file
2023-06-29 16:13:08 -07:00
absaroj 15e18554a0
Adding example Xcode project to showcase swift wrapper package import (#1178)
* adding example app for swift wrappers

* linking required libs and setting build dependencies to build the project

* adding a readme file with details

* removing box specific files

* remove assets

* applying pr suggestions

* fixing a bug and correcting sample app projectclear

* correcting heading signature
2023-06-28 15:13:51 -07:00
Matthew Koscumb 8a88643eb9
Move the GUID_t specialization for to_string to StringUtils.cpp (#1180) 2023-06-27 08:59:53 -07:00
Matthew Koscumb 8fe8b69de0
Mark PauseGuard::isPaused as const noexcept. (#1174)
Co-authored-by: Tom Tan <lilotom@gmail.com>
2023-06-26 12:23:25 -07:00
Matthew Koscumb 42c41bd614
Replace PAL's to_string with std::to_string. (#1177)
* Replace hand-crafted to_string method with std::to_string.

* Get rid of PAL::to_string.

* Explicitly invoke std::string's c'tor with brace-initialization.
2023-06-26 11:19:18 -07:00
absaroj cc955ac269
Hiding all ObjC types behind Swift wrappers (#1176)
* adding swift wrapper

* moving files to sources

* moving files to proper places

* adding module for header expose and importing it in swift wrapper

* correcting files for build errors and other changes

* adding module for objc

* swift build passing'

* adding readme

* changing the package name to 1dsswiftwrapper

* changing target name

* adding pr suggestions

* adding build.sh changes

* cmake list file changes

* creating static lib

* adding swift wrappers build and linking

* adding more logic for building and producing sample app

* adding code for swiftc invoking

* adding comments

* adding change to create the sample app

* linking and includding modules in swiftc to build the sample exe: being created

* adding comments

* compiling all files frrom sample

* removing extraline

* correcting the output folder of swift build

* correcting build output folder paths

* adding typealias file to stop importing the objcmodule in clients (#1171)

* adding typealias file to stop importing the objcmodule in clients

* giving better names

* adding call to create logger

* adding changes for framework include

* adding fwks

* linking libs and fwks

* adding getter and setters for swift as computed properties

* adding sample app changes

* adding app changes

* adding commondatacontext

* swift build passing

* correcting common context init

* adding get set in event properties list

* adding getter to eventprops

* removing useless methods

* adding getter and setter for eventprops

* adding getter

* fixing type bug

* fixing main app issues

* adding semantic context variable to the logger

* modifying the access level for the objc types in swift to make sure they are not exposed to the lcient

* adding default constructor

* keeping main.swift clean
'

* correcting comment

* adding computed property for objc variable

---------

Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-06-23 15:40:02 -07:00
absaroj 42dae872d6
adding sample app changes for the swift wrappers (#1175) 2023-06-23 14:56:42 -07:00
absaroj ada085eb18
Adding changes for local build script and cmakelist to create exe using swift package (#1166)
* adding swift wrapper

* moving files to sources

* moving files to proper places

* adding module for header expose and importing it in swift wrapper

* correcting files for build errors and other changes

* adding module for objc

* swift build passing'

* adding readme

* changing the package name to 1dsswiftwrapper

* changing target name

* adding pr suggestions

* adding build.sh changes

* cmake list file changes

* creating static lib

* adding swift wrappers build and linking

* adding more logic for building and producing sample app

* adding code for swiftc invoking

* adding comments

* adding change to create the sample app

* linking and includding modules in swiftc to build the sample exe: being created

* adding comments

* compiling all files frrom sample

* removing extraline

* correcting the output folder of swift build

* correcting build output folder paths

* adding typealias file to stop importing the objcmodule in clients (#1171)

* adding typealias file to stop importing the objcmodule in clients

* giving better names

---------

Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-06-21 12:17:44 -07:00
Matthew Koscumb 3c64adcd24
Fix inefficient range-based for loop identified by static analysis. (#1173) 2023-06-20 11:05:43 -07:00
Matthew Koscumb 596ad6d090
Default initialize m_offlineStorage to nullptr, as it's not set by all c'tors. (#1172) 2023-06-20 09:39:06 -07:00
Matthew Koscumb 20f6fb81dd
Fix C4777 warning in Pal.cpp, static_cast the return of ::GetCurrentThreadId to unsigned int (#1163)
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-06-17 07:38:11 -07:00
absaroj 1205d34206
Adding Swift build for global build scripts and cmake (#1169) 2023-06-14 11:40:07 -07:00
Matthew Koscumb b7d774e3df
Add some const qualifiers identified by static analysis (#1170)
* Add const to locals which are only used in const contexts.

* Add const to member function.

---------

Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
Co-authored-by: Tom Tan <lilotom@gmail.com>
2023-06-13 11:22:14 -07:00
Alex Gavrishev 28a4f9ef7c
Add configuration to HttpClient (#1168)
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-06-13 12:42:58 +03:00
Lalit Kumar Bhasin f34e3e83ab
Update MacOS runner from 10.15 to 11. (#1153) 2023-06-12 17:13:27 -07:00
Matthew Koscumb 284507eabb
Fix variable shadowing warning in LogManagerBase.hpp (#1167)
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-06-12 08:48:54 -07:00
absaroj 061386741c
Configuring wrappers as Swift Package (#1160) 2023-06-09 13:37:12 -07:00
Matthew Koscumb 06b63c1b4b
Suppress C5258 in MemoryStorageTests. (#1164) 2023-06-09 11:54:18 -07:00
absaroj 8032b1aef1
adding swift wrapper for DiagnosticDataViewer (#1148)
* adding diagnostic wrapper for swift

* adding suggestions from pr

* making it final

* adding vars instead of methods

* correcting var

* fixing build issues

---------

Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-05-23 19:31:33 -07:00
absaroj 90020d5148
Adding swift wrapper for logmanager and logger classes over Objc (#1143)
* adding mgr and logger classes

* adding comment

* adding line at end

* adding pr suggestions

* adding pr suggestions

* changing file names

* adding suggestions from the pr comments

* adding suggestions from PR

* adding pr suggestions

* removing self from the instance references

* adding final to the logger class
2023-05-23 19:29:07 -07:00
absaroj 25bc0806f2
adding config class to swift wrappers (#1141)
* adding config class

* adding comment

* correcting the cmake min version

* adding checks for libs being linked in cmake

* correcting comments and args

* changing filename

* removing comment

* correcting the use of optional in swift wrapper

* marking class final

---------
2023-05-19 19:54:59 -07:00