* Add telemetry for keyboard button usage in graphing mode * Added the diagnostics for EquationAdded and FunctionAnalysis * Added remaining diagnostics events for graphing calculator * Fix proj files to include the IsStoreBuild condition. Move the Delayer class to the Calculator/Utils folder * Ensure the variable textbox has focus before logging diagnostics * Move maxVariableCount check into the tracelogger class * Created enums and updated the slider value changed method to remove the variable from the map after the log method is called * Re-enable hidden lines when the expression is updated * Fixed extra line in grapher.h and removed the conditional logging for variable count * Updated logging per PR feedback * Updated variable logging and fixed issues in the IsEquationLineDisabled binding the EditTextBox control. * Update per PR feedback * Added TraceLogging project to contain shared logging logic. * Updated TraceLogging project and updated tracelogger classes to use the TraceLogging project methods * Updated VariableLogging to log variable name. And updated per PR comments * Updated Variables logging to log count changed instead of variable added and fixed issue with variableSliders not being initialized * Remove outdated tracelogging call caused by rebase * Updated Delayer class to DispatcherTimerDelayer and fixed some small formatting issues * Fixed missing Dalyer class name updates * Removed extra line in traceloger.h
42 lines
1017 B
C++
42 lines
1017 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#pragma once
|
|
|
|
//C4453: A '[WebHostHidden]' type should not be used on the published surface of a public type that is not '[WebHostHidden]'
|
|
// This warning is disabled because the types in this app will not be published for use in javascript environment
|
|
#pragma warning(disable:4453)
|
|
|
|
// Windows headers define a min/max macro.
|
|
// Include the below #def to avoid this behavior.
|
|
#define NOMINMAX
|
|
|
|
#include <collection.h>
|
|
#include <ppltasks.h>
|
|
#include <pplawait.h>
|
|
#include <concrt.h>
|
|
#include <future>
|
|
#include <memory>
|
|
#include <assert.h>
|
|
#include <functional>
|
|
#include <string>
|
|
#include <sstream>
|
|
#include <vector>
|
|
#include <map>
|
|
#include <type_traits>
|
|
|
|
|
|
// DirectX headers
|
|
#include <d2d1_3.h>
|
|
#include <d3d11_4.h>
|
|
#include <dwrite_3.h>
|
|
#include <DirectXColors.h>
|
|
#include <wincodec.h>
|
|
#include <wrl.h>
|
|
#include <windows.ui.xaml.media.dxinterop.h>
|
|
|
|
// C++/WinRT
|
|
#include "winrtHeaders.h"
|
|
|
|
#include "Control/Grapher.h"
|