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

44 Коммитов

Автор SHA1 Сообщение Дата
Leonardo Alves 8f6875c53f
Signals module (#1079)
* add signals

* fix cmakelists

* add reference for unit test file

* add java wrappers

* add functional tests

* update submodule reference

* add conditional reference on vcxproj

* add new line at end of file

* fix description of method

* reorganize methods place

* remove commented include

* fix copyright

* revert mstelemetry changes in sharedprojects

* rename module to signals

* refactor java files to rename signals module

* refactor removing additional lines

* refactor renaming signals module

* fix conditional import to signals module

* add conditional import in signals lib

---------

Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2023-02-24 13:40:34 -03:00
Max Golovanov cc06776b6a
Fix no-sqlite build for various flavors (#904) 2021-08-10 00:38:45 +05:30
Max Golovanov 715f6e2dba
Move to PlatformToolset variable (#882) 2021-05-27 16:41:16 -07:00
Max Golovanov e77444c648
Fix Visual Studio 2019 build issues in samples (#873)
* Fix Visual Studio 2019 build issues

* Update SampleCppUWP.vcxproj

Remove explicit WindowsTargetPlatformVersion - let it be auto-detected.

Co-authored-by: Sid Dahiya <53239974+sid-dahiya@users.noreply.github.com>
2021-05-20 12:40:05 -07:00
Matthew Koscumb 795e0f1dd3
Set the NOMINMAX Macro in the Build (#857)
* Set the NOMINMAX macro for msbuild targets

* Set the NOMINMAX macro for CMake based builds.

* Get rid of #ifdefs and #undefs for min and max

* Use <PreprocessorDefinitions> to add the NOMINMAX macro, rather than <AdditionalOptions>

* Missed one <AdditionalOptions> blob.

Co-authored-by: Max Golovanov <maxgolov@microsoft.com>
2021-05-19 15:02:18 -07:00
Brendan Weibel 08700a9470 add to build LiveEventInspector 2021-02-24 23:19:18 -08:00
vong srey 446e096b48 Add Common Diagnostic Stack Factory interface and hook to implementation in CDS submodule 2020-10-30 15:46:16 -07:00
Sid Dahiya 58428bbf27 Merge remote-tracking branch 'origin/master' into sid-dahiya/AddPrivacyGuard 2020-09-03 00:59:53 -07:00
Alexandr Gavrishev d7b8b41499 Azure Monitor: Send flow 2020-08-26 16:46:48 +03:00
Sid Dahiya a137391158 Add Privacy Guard module to all projects 2020-08-20 14:02:26 -07:00
Sid Dahiya c175c86b32 !!!REVERT BEFORE MERGE!!! 2020-08-18 18:27:07 -07:00
Max Golovanov a518f3e59b Move PlatformToolset and WindowsTargetPlatformVersion into separate file 2020-05-22 12:58:54 -07:00
Trevor Lacey 26b93038b1 Add "Original Filename" to DLL metadata 2019-10-08 10:11:22 -07:00
Max Golovanov 6ca633288e Merge Matt's commits on top of Sid's diagnostic data viewer work 2019-09-06 15:09:59 -07:00
Max Golovanov 107309fd9f Merge branch 'onesdk' of https://msasg.visualstudio.com/DefaultCollection/Shared%20Data/_git/Aria.SDK.Cpp into maxgolov/msasg_to_github 2019-08-30 16:54:04 -07:00
Trevor Lacey c5496bcca8 Don't disable 4244 on win10 projects 2019-08-23 18:11:59 -07:00
Sid Dahiya f56fa6e906 Add default data viewer impl, references and build logic 2019-08-20 10:06:04 -07:00
Sid Dahiya 5f611bd1da Revert "Update toolset to 142."
This reverts commit 5216d62177.
2019-08-06 13:57:12 -07:00
Sid Dahiya 5216d62177 Update toolset to 142. 2019-08-06 10:04:44 -07:00
Sid Dahiya 7e133196a2 Revert "Switch to VC142 toolset."
This reverts commit 6fa14f0f0d.
2019-08-05 16:22:36 -07:00
Sid Dahiya 6fa14f0f0d Switch to VC142 toolset. 2019-08-05 15:21:44 -07:00
Miguel Casillas b4901fefe7 Merged PR 1119681: Rename C# projection outputs to remove the dash
Renaming the dlls:
- Microsoft.Applications.Telemetry.Windows-net40        ->  Microsoft.Applications.Telemetry.Windows.NET
- Microsoft.Applications.Telemetry.Windows-managed  ->  Microsoft.Applications.Telemetry.Windows.UWP
- Microsoft.Applications.Telemetry.Windows-native       ->  Microsoft.Applications.Telemetry.Windows.native

And lib file:
- Microsoft.Applications.Telemetry.Windows-native -> Microsoft.Applications.Telemetry.Windows.native
2019-07-16 22:15:35 +00:00
Max Golovanov 27284c9179 Build script change and example how to exclude sqlite from Win10 DLL build for Outlook / Windows Mail in UTC mode 2019-04-04 15:30:42 -07:00
Max Golovanov fda182f66e Addressing code review comments and suggestions 2019-04-01 13:34:51 -07:00
Max Golovanov 3ef0bd8ca1 GitHub clean-up drafts 2019-03-28 16:40:31 -07:00
Max Golovanov bfc3bc45ec Merged PR 883086: Lightweight SDK for embedding in installer packages
Reducing / disabling non-essential features and setting various build flags to optimize for small size.
x5 times size reduction.

Functional changes to common core SDK:
* Had to rename IStorage to IDataStorage, as IStorage is a macro defined in Windows SDK.
* Had to refactor user analytics feature storage (SDK UUID / install id) to utilize plain text file rather than FIFO ..
FIFO storage is a legacy structure, bloatware, had to be deprecated and removed going forward anyways.
It wasn't even present in v1 Aria SDK, but somehow slipped thru into v3..

Features excluded from lightweight SDK:
* JSON
* ZLIB
* ECS client
* SQLite DB (only ram queue, no offline storage)
* Transmit Profiles

Related work items: #1550785
2019-03-08 05:24:15 +00:00
Matt Koscumb 3b3eef0b79 Disable /permissive-, there's an inconsistent build behavior between the loop and local machines. 2019-01-04 10:58:17 -08:00
Matt Koscumb 6f96e5c24d Enable /permissive- on all Aria VS projects. 2019-01-03 15:46:45 -08:00
Max Golovanov 6a1f1bfbfb Merged PR 839971: Win 10 UWP SDK sporadic crash in HTTP stack
Win 10 UWP SDK sporadic crash in HTTP stack.

Essentially it's the same fix that was previously done on Win32 Desktop: when we pass the buffer ptr to debug callback, the request has been already released and this may lead to trying to access the heap block possibly re-allocated for something else. The fix is to avoid de-allocation of HTTP req/resp until the handling is done, so when the wrapper is destroyed - the request object is also destroyed.

Related work items: #1510118
2018-11-20 03:08:18 +00:00
Matt Koscumb e5d61fa5f3 Rename winrt.vcxitems to universal.vcxitems 2018-11-16 10:14:24 -08:00
Matt Koscumb 5a3520243c move \pal\winrt\. to \pal\universal\. and update the build scripts appropriately. 2018-11-16 09:56:45 -08:00
Max Golovanov fff773d6b1 Merged PR 817004: Mac OS X clang compiler support
What's done:
* Cleaned-up all clang compiler warnings during library build
* PAL Device ID GUID
* PAL appId

Further TODO:
* BVT for Mac
* Verify all header-only APIs for warnings
* Guidance on custom HTTP provider - Edge team should handle this
* Possibly use our own sqlite3 instead of OS, as very old OS X dyn sqlite3 might be too old

Related work items: #1470816
2018-11-07 06:39:27 +00:00
Max Golovanov 787e514a76 Fix Aria SDK prefix 2018-09-24 14:07:40 -07:00
Max Golovanov 46661093d8 Aria SKU for ARM64 Desktop 2018-09-20 12:59:43 -07:00
Max Golovanov f60b85e49e Disable browse info (it slows down the build) and adjust the Batch Build options to enable building of all deps 2018-09-04 11:55:25 -07:00
Max Golovanov 54d3253fd4 Retarget all projects to latest release of Windows 10 SDK 2018-08-31 18:28:14 -07:00
Max Golovanov cb8a642283 Change compiler from vs2015 (v140) to vs2017 (v141) + minor fixes related to compiler change 2018-05-15 13:54:05 -07:00
Max Golovanov 47b0381702 - proper handling of offline storage path passed down via configuration
- implementation of Flush method - to move records from in-ram sqlite to on-disk sqlite db
- ability to forward debug callbacks to outside shim (needed for templated LogManager impl). No API changes, but internal impl!
- DebugSource.cpp : forward events to outside shim located at LogManager impl templated surface
- RuntimeConfig_Default.hpp : no longer need to set the path here, as it's done in LogManagerImpl
- ESCConfigCache.cpp : format changes and moved GetAppLocalTempDirectory to MAT as common cross-plat routine
- HttpResponseDecoder.cpp : temporary debug-only change to catch references to deallocated ptrs and assert on that
- IOfflineStorage.hpp : add Flush method (move ram to disk) and a callback for records saved to disk
- DebugEvents.hpp : proxy-forward callbacks to another "cascaded" listener
- ILogManager.hpp : AttachEventSource / DetachEventSource - attach "cascaded" proxy source (as there could be many templ ref to one instance)
- LogManagerBase.hpp : save primary tenant token back to configuration and attach "local" Debug event source proxy on a template
- NullObjects.hpp : add stubs to NULL-object pattern implementation
- Variant.hpp / VariantType.hpp : add draft implementation of thread-safe variants and fix vs201x memory corruption in destructor
- ISqlite3Proxy.hpp : expose v3 close method
- OfflineStorage_SQLite.cpp : move lock to outside of m_db check (race condition fix)
- OfflineStorageHandler.cpp : implementation of async flush copy from ram to disk + callback for records saved to disk
- Move local temp dir detection from UTC helpers to common MAT code
- Statistics.cpp : fix stats record decoration
- TelemetrySystem.cpp : reenable stats and move storage stop after telemetry system stop (otherwise there is a race condition)
- TPM : proper atomic check for uploads scheduled
- Added couple common utils from v1 codebase
2018-05-14 10:32:05 -07:00
Max Golovanov 04b3db4135 2nd round of Unit and Functional test fixes after refactor; plus add mocks for System 2018-04-06 18:17:59 -07:00
Max Golovanov d46f98350c Drafts for v3 2018-03-30 17:05:05 -07:00
sanjayga 022572cb47 Changes names to Events SDK 2017-12-14 14:02:04 -08:00
sanjayga b94b38e6eb C# on C++ one SDK 2017-12-13 15:33:45 -08:00
Dave Tryon 3678110096 Minor cleanup of projects and build scripts:
1) Remove legacy configs from VS2013 ==> VS2015 conversion
2) Make messages in build scripts match actual output
2017-05-30 16:56:22 -07:00
Marius Robert Ionescu f4a8fa8a01 Pushing Sysroot library and SOlution file that were ignored 2017-05-10 10:43:10 -07:00