Skip to content

Commit c13b8a0

Browse files
committed
Hello GitHub
1 parent 456fe5e commit c13b8a0

File tree

822 files changed

+276650
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

822 files changed

+276650
-75
lines changed

.editorconfig

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## IDE-independent coding style via EditorConfig: http://editorconfig.org/
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
end_of_line = crlf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
*.sln merge=binary
26+
*.csproj merge=binary
27+
*.vbproj merge=binary
28+
*.vcxproj merge=binary
29+
*.vcproj merge=binary
30+
*.dbproj merge=binary
31+
*.fsproj merge=binary
32+
*.lsproj merge=binary
33+
*.wixproj merge=binary
34+
*.modelproj merge=binary
35+
*.sqlproj merge=binary
36+
*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
*.jpg binary
44+
*.png binary
45+
*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
*.doc diff=astextplain
55+
*.DOC diff=astextplain
56+
*.docx diff=astextplain
57+
*.DOCX diff=astextplain
58+
*.dot diff=astextplain
59+
*.DOT diff=astextplain
60+
*.pdf diff=astextplain
61+
*.PDF diff=astextplain
62+
*.rtf diff=astextplain
63+
*.RTF diff=astextplain

.gitignore

+19-48
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Ignore Visual Studio temporary files, build results, and
1+
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
33
##
44
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
@@ -24,14 +24,11 @@ bld/
2424
[Oo]bj/
2525
[Ll]og/
2626

27-
# Visual Studio 2015/2017 cache/options directory
27+
# Visual Studio 2015 cache/options directory
2828
.vs/
2929
# Uncomment if you have tasks that create the project's static files in wwwroot
3030
#wwwroot/
3131

32-
# Visual Studio 2017 auto generated files
33-
Generated\ Files/
34-
3532
# MSTest test Results
3633
[Tt]est[Rr]esult*/
3734
[Bb]uild[Ll]og.*
@@ -45,29 +42,20 @@ TestResult.xml
4542
[Rr]eleasePS/
4643
dlldata.c
4744

48-
# Benchmark Results
49-
BenchmarkDotNet.Artifacts/
50-
5145
# .NET Core
5246
project.lock.json
5347
project.fragment.lock.json
5448
artifacts/
5549
**/Properties/launchSettings.json
5650

57-
# StyleCop
58-
StyleCopReport.xml
59-
60-
# Files built by Visual Studio
6151
*_i.c
6252
*_p.c
6353
*_i.h
6454
*.ilk
6555
*.meta
6656
*.obj
67-
*.iobj
6857
*.pch
6958
*.pdb
70-
*.ipdb
7159
*.pgc
7260
*.pgd
7361
*.rsp
@@ -105,9 +93,6 @@ ipch/
10593
*.vspx
10694
*.sap
10795

108-
# Visual Studio Trace Files
109-
*.e2e
110-
11196
# TFS 2012 Local Workspace
11297
$tf/
11398

@@ -128,10 +113,6 @@ _TeamCity*
128113
# DotCover is a Code Coverage Tool
129114
*.dotCover
130115

131-
# AxoCover is a Code Coverage Tool
132-
.axoCover/*
133-
!.axoCover/settings.json
134-
135116
# Visual Studio code coverage results
136117
*.coverage
137118
*.coveragexml
@@ -167,7 +148,7 @@ publish/
167148
# Publish Web Output
168149
*.[Pp]ublish.xml
169150
*.azurePubxml
170-
# Note: Comment the next line if you want to checkin your web deploy settings,
151+
# TODO: Comment the next line if you want to checkin your web deploy settings
171152
# but database connection strings (with potential passwords) will be unencrypted
172153
*.pubxml
173154
*.publishproj
@@ -180,11 +161,11 @@ PublishScripts/
180161
# NuGet Packages
181162
*.nupkg
182163
# The packages folder can be ignored because of Package Restore
183-
**/[Pp]ackages/*
164+
**/packages/*
184165
# except build/, which is used as an MSBuild target.
185-
!**/[Pp]ackages/build/
166+
!**/packages/build/
186167
# Uncomment if necessary however generally it will be regenerated when needed
187-
#!**/[Pp]ackages/repositories.config
168+
#!**/packages/repositories.config
188169
# NuGet v3's project.json files produces more ignorable files
189170
*.nuget.props
190171
*.nuget.targets
@@ -202,7 +183,6 @@ AppPackages/
202183
BundleArtifacts/
203184
Package.StoreAssociation.xml
204185
_pkginfo.txt
205-
*.appx
206186

207187
# Visual Studio cache files
208188
# files ending in .cache can be ignored
@@ -221,10 +201,6 @@ ClientBin/
221201
*.publishsettings
222202
orleans.codegen.cs
223203

224-
# Including strong name files can present a security risk
225-
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
226-
#*.snk
227-
228204
# Since there are multiple workflows, uncomment next line to ignore bower_components
229205
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
230206
#bower_components/
@@ -239,8 +215,6 @@ _UpgradeReport_Files/
239215
Backup*/
240216
UpgradeLog*.XML
241217
UpgradeLog*.htm
242-
ServiceFabricBackup/
243-
*.rptproj.bak
244218

245219
# SQL Server files
246220
*.mdf
@@ -251,7 +225,6 @@ ServiceFabricBackup/
251225
*.rdl.data
252226
*.bim.layout
253227
*.bim_*.settings
254-
*.rptproj.rsuser
255228

256229
# Microsoft Fakes
257230
FakesAssemblies/
@@ -263,6 +236,9 @@ FakesAssemblies/
263236
.ntvs_analysis.dat
264237
node_modules/
265238

239+
# Typescript v1 declaration files
240+
typings/
241+
266242
# Visual Studio 6 build log
267243
*.plg
268244

@@ -302,9 +278,6 @@ __pycache__/
302278
# tools/**
303279
# !tools/packages.config
304280

305-
# Tabs Studio
306-
*.tss
307-
308281
# Telerik's JustMock configuration file
309282
*.jmconfig
310283

@@ -314,17 +287,15 @@ __pycache__/
314287
*.odx.cs
315288
*.xsd.cs
316289

317-
# OpenCover UI analysis results
318-
OpenCover/
319-
320-
# Azure Stream Analytics local run output
321-
ASALocalRun/
322-
323-
# MSBuild Binary and Structured Log
324-
*.binlog
290+
# Calculator specific
291+
Generated Files/
292+
# Don't ignore anything under SpkgDefs or TrexDefs
293+
!/SpkgDefs/**
294+
!/TrexDefs/**
295+
!/build/config/TRexDefs/**
325296

326-
# NVidia Nsight GPU debugger configuration file
327-
*.nvuser
297+
# Localized strings
298+
# LCT files are loc system artifacts that we don't want in our repo.
299+
*.lct
328300

329-
# MFractors (Xamarin productivity tool) working folder
330-
.mfractor/
301+
WorkspaceInfo.xml

CODE_OF_CONDUCT.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Code of Conduct
2+
3+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
5+
or contact [[email protected]](mailto:[email protected]) with any additional questions or
6+
comments.

CONTRIBUTING.md

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# Contributing to Calculator
2+
The Calculator team encourages community feedback and contributions. Thank you for your interest in
3+
making Calculator better! There are several ways you can get involved.
4+
5+
## Reporting issues and suggesting new features
6+
If Calculator is not working properly, please file a report in the [Feedback Hub](https://insider.windows.com/en-us/fb/?contextid=130&newFeedback=True).
7+
Feedback Hub reports automatically include diagnostic data, such as the version of Calculator
8+
you're using.
9+
10+
We are happy to hear your ideas for the future of Calculator. Check the
11+
[Feedback Hub](https://insider.windows.com/en-us/fb/?contextid=130) and see if others have
12+
submitted similar feedback. You can upvote existing feedback or submit a new suggestion.
13+
14+
We always look at upvoted items in Feedback Hub when we decide what to work on next. We read the
15+
comments in both Feedback Hub and GitHub, and we look forward to hearing your input. Remember that
16+
all community interactions must abide by the [Code of Conduct](CODE_OF_CONDUCT.md).
17+
18+
## Finding issues you can help with
19+
Looking for something to work on?
20+
[Issues marked *up for grabs*](https://microsoft.com/#TODO_MIGRATE_THIS_LINK_AFTER_GITHUB_MIGRATION)
21+
are a good place to start.
22+
23+
Another way you can help is by reproducing issues others have reported.
24+
[Issues marked *more info needed*](https://microsoft.com/#TODO_MIGRATE_THIS_LINK_AFTER_GITHUB_MIGRATION)
25+
don't have all the information needed to take action. You can try to reproduce the issue on your
26+
machine and add more details so we can take action on the report.
27+
28+
## Contributions we accept
29+
We welcome your contributions to the Calculator project, especially to fix bugs and to make
30+
improvements which address the top issues reported by Calculator users.
31+
32+
We have a high bar for new features and changes to the user experience. We prefer to evaluate
33+
*prototypes* to ensure that the design meets users' needs before we start discussing implementation
34+
details and reviewing code. We follow a [user-centered process for developing features](docs/NewFeatureProcess.md).
35+
New features need sponsorship from the Calculator team, but we welcome community contributions at
36+
many stages of the process.
37+
38+
## Making changes to the code
39+
40+
### Preparing your development environment
41+
To learn how to build the code and run tests, follow the instructions in the [README](README.md).
42+
43+
### Style guidelines
44+
The code in this project uses several different coding styles, depending on the age and history of
45+
the code. Please attempt to match the style of surrounding code as much as possible. In new
46+
components, prefer the patterns described in the [C++ core guidelines](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines)
47+
and the [modern C++/WinRT language projections](https://docs.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/).
48+
49+
### Testing
50+
Your change should include tests to verify new functionality wherever possible. Code should be
51+
structured so that it can be unit tested independently of the UI. [Manual test cases](docs/ManualTests.md)
52+
should be used where automated testing is not feasible.
53+
54+
### Git workflow
55+
Calculator uses the [GitHub flow](https://guides.github.com/introduction/flow/) where most
56+
development happens directly on the `master` branch. The `master` branch should always be in a
57+
healthy state which is ready for release.
58+
59+
If your change is complex, please clean up the branch history before submitting a pull request.
60+
You can use [git rebase](https://docs.microsoft.com/en-us/azure/devops/repos/git/rebase#squash-local-commits)
61+
to group your changes into a small number of commits which we can review one at a time.
62+
63+
When completing a pull request, we will generally squash your changes into a single commit. Please
64+
let us know if your pull request needs to be merged as separate commits.
65+
66+
## Submitting a pull request and participating in code review
67+
Writing a good description for your pull request is crucial to help reviewers and future
68+
maintainers understand your change. More detail is better.
69+
- [Link the issue you're addressing in the pull request](https://github.com/blog/957-introducing-issue-mentions).
70+
- Describe *why* the change is being made and *why* you've chosen a particular solution.
71+
- Describe any manual testing you performed to validate your change.
72+
73+
Please submit one pull request per issue. Large pull requests which have unrelated changes can be
74+
difficult to review.
75+
76+
After submitting a pull request, members of the calculator team will review your code. We will
77+
assign the request to an appropriate reviewer within two days. Any member of the community may
78+
participate in the review, but at least one member of the Calculator team will ultimately approve
79+
the request.
80+
81+
Often, multiple iterations will be needed to responding to feedback from reviewers. Try looking at
82+
[past pull requests](https://microsoft.com/#TODO_MIGRATE_THIS_LINK_AFTER_GITHUB_MIGRATION) to see
83+
what the experience might be like.
84+
85+
## Contributor License Agreement
86+
Before we can review and accept a pull request from you, you'll need to sign a Contributor License
87+
Agreement (CLA). The CLA ensures that the community is free to use your contributions. More
88+
information about the agreement is available on the [Microsoft web site](https://cla.opensource.microsoft.com/).
89+
Signing the CLA is an automated process, and you only need to do it once for Microsoft projects on
90+
GitHub.
91+
92+
You don't need to sign a CLA until you're ready to create a pull request. When your pull request is
93+
created, it is classified by a bot. If the change is trivial (i.e. you just fixed a typo) then the
94+
bot will label the PR `cla-not-required`. Otherwise, it's classified as `cla-required`. In that
95+
case, the system will also tell you how you can sign the CLA. Once you have signed a CLA, the
96+
current and all future pull requests will be labeled as `cla-signed`.

0 commit comments

Comments
 (0)