Commit Graph

483 Commits

Author SHA1 Message Date
Matt Cooley
2ab114a71f
Update WinUI to 2.0.181018004 (#18)
Update the Microsoft.UI.Xaml NuGet package to a new version. The ARM64 framework package in 2.0.181018003.1 had entries missing from its manifest, so the classes in the package couldn't be activated.
2019-02-13 09:44:02 -08:00
Pepe Rivera
531a8a1b7b Use TryResizeView to resize calc on first launch 2019-02-12 13:50:09 -08:00
Pepe Rivera
296ccc867e
Merge pull request #1 from Microsoft/master
Merge with master
2019-02-11 14:51:56 -08:00
Stephanie Anderl
f553203e11
Created pull_request_template.md 2019-02-11 12:00:33 -08:00
Stephanie Anderl
6afad0b7da Updated feature_request.md to link to NewFeatureRequest.md 2019-02-11 11:35:28 -08:00
Stephanie Anderl
c558123cb2
Added Bug Report and Feature Request Issue Templates
Updated the default Bug Report template to customize the Device and Application information section. The Feature Request template is the default one.
2019-02-11 11:21:42 -08:00
Stephanie Anderl
cb8775926a
Merge pull request #13 from Microsoft/sanderl/JapaneseEra
Date Calculation: Updated AdjustCalendarDate() to ensure we always add 365 when adding 1 year for Japanese calendar
2019-02-08 15:51:28 -08:00
Stephanie Anderl
2fc8196104 Moved all the Japanese Era logic inside the Year case of the switch statement 2019-02-08 15:42:28 -08:00
Stephanie Anderl
1bd4f1870c Updated calendar strings to use the CalendarIdentifiers object 2019-02-08 15:33:00 -08:00
Stephanie Anderl
f8029942d4 Updated the AdjustCalendarDate() to account for the transition year quirk in the Japanese calendar. 2019-02-08 12:30:16 -08:00
David Grochocki
8f6a5f57aa
Merge pull request #11 from Microsoft/grochocki-patch-1
Fixing README typo
2019-02-05 16:13:06 -08:00
David Grochocki
ff4e0824e8
Fixing README typo 2019-02-04 21:23:36 -08:00
Matt Cooley
a2739b8de2
Don't send AppLifecycle telemetry unless SEND_TELEMETRY is defined (#10)
The app currently logs diagnostic events to ETW in various places. If we add certain flags to those events, the data is eligible to be sent as telemetry. (Whether it actually gets sent is controlled outside of Calculator--for example, there are lots of checks at the system level to ensure privacy settings are honored.)

Currently we set the "eligible for telemetry" flags only in official builds, so no telemetry gets uploaded while the app is in development. We already have this set up for the main TraceLogging provider, but we also need to do this for the AppLifecycle performance logging.
2019-02-04 12:06:02 -08:00
Matt Cooley
ac63c1e1c2
Remove calcmanager ref (#9)
Calculator (the main app project) depends on CalcManager, but only transitively: Calculator -> CalcViewModel -> CalcManager.

However, Calculator's project file currently has a direct dependency on CalcManager. Let's remove this to make it harder to accidentally introduce new dependencies between the layers.

Also cleaning up some commented-out directives in the CalcManager MSBuild file.
2019-02-04 11:53:02 -08:00
Matt Cooley
177a606012
Clean up project structure in Visual Studio (#8)
A few small changes to improve the view of the code in Solution Explorer:
* Delete folders from solution explorer which don't appear on disk (Resource Files, PerfTrack)
* Delete files on disk which aren't compiled into the project (Type.xaml)
* Rename CalculatorHistory.Cpp to CalculatorHistory.cpp, for consistency with other files
2019-02-04 11:52:28 -08:00
Matt Cooley
4cadfb204d
Remove unused PLM code (#7)
Remove LayoutAwarePage, SuspensionManager, and other suspend-resume handling code. SuspensionManager::SaveAsync and related methods weren't actually called anywhere. I didn't attempt to remove the serialize/deserialize code at the ViewModel layer, although much of that is likely not needed either.

We may decide we want to persist more state through a suspend-terminate-resume cycle (as the app might have done a long time ago). But if we decide we want that, we should not use a persistence mechanism that's closely coupled to frame navigation.
2019-02-01 15:15:48 -08:00
Matt Cooley
8df88c7106
Fix file path in CalculatorUnitTests.vcxproj.filters (#6) 2019-01-31 13:05:10 -08:00
Matt Cooley
278a1e714e
Remove MSBuild directives which were used only in the internal build system (#5)
Remove some properties which were only used when XefOutputRoot was set in the previous internal-only build environment.
2019-01-29 19:39:20 -08:00
Matt Cooley
1c7187f632
Clean up unit test projects (#4)
* Rename CalculatorUnitTests_VS to CalculatorUnitTests, fix gitignore

* Delete internal unit tests

* Update pipeline paths
2019-01-29 19:37:37 -08:00
Josh Koon
e8b590f307
Update architecture doc with content for model layer (#3)
* Update architecture docs with content for model layer

* Update wording in Model layer description.
2019-01-29 14:58:47 -08:00
Josh Koon
015e0270c3
Merge pull request #1 from joshkoon/rational-history
Convert ExpressionCommand and History collector to use Rational
2019-01-29 14:31:34 -08:00
Josh Koon
ebfce5a8cd Remove empty COpndCommand destructor. Cleanup constructor declaration. 2019-01-29 14:28:03 -08:00
Josh Koon
b70a12c6cf Add clarifying comment to call to CHistoryCollector::AddOpndToHistory 2019-01-29 14:27:24 -08:00
Matt Cooley
8a5bf1173e
Merge pull request #2 from mcooley/doc-updates
Update documentation for GitHub
2019-01-29 11:56:05 -08:00
Matt Cooley
43aa2b8148 Fix links in ApplicationArchitecture 2019-01-29 10:09:58 -08:00
Matt Cooley
774b4db502 Fix links and remove outdated/internal info from README 2019-01-29 09:53:48 -08:00
Matt Cooley
387dbccb69 Update links in CONTRIBUTING to point to GitHub 2019-01-29 09:49:01 -08:00
Josh Koon
db4a6eb9ea Return to initialization pattern in ExpressionCommand 2019-01-28 19:34:36 -08:00
Josh Koon
4883fab7f7 Convert ExpressionCommand and History collector to use Rational instead of PRAT 2019-01-28 19:14:15 -08:00
Howard Wolosky
c13b8a099e Hello GitHub 2019-01-28 16:24:37 -08:00
Microsoft Open Source
456fe5e355 Initial commit 2019-01-28 09:55:54 -08:00
Microsoft Open Source
32b1722ee1 Initial commit 2019-01-28 09:55:53 -08:00
Microsoft GitHub User
ac14e2df10
Initial commit 2019-01-28 09:55:50 -08:00