Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/actions/spelling/excludes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
^src/JsonCppLib/
^src/Valijson/
^src/YamlCppLib/
^src/cpprestsdk/
^\.github/
^src/AppInstallerCLITests/TestData/InputNames.txt$
^src/AppInstallerCLITests/TestData/InputPublishers.txt$
Expand Down
9 changes: 9 additions & 0 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@
"commitHash": "7a52fc88cdffd6678c009ca2fad700151f7363c6"
}
}
},
{
"component": {
"type": "git",
"git": {
"repositoryUrl": "https://github.com/microsoft/cpprestsdk.git",
"commitHash": "122d09549201da5383321d870bed45ecb9e168c5"
}
}
}
],
"Version": 1
Expand Down
46 changes: 46 additions & 0 deletions src/cpprestsdk/cpprestsdk/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# https://releases.llvm.org/7.0.0/tools/clang/docs/ClangFormatStyleOptions.html

---
Language: Cpp

BasedOnStyle: WebKit

AlignAfterOpenBracket: Align
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: true
FixNamespaceComments: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^["<](stdafx|pch)\.h[">]$'
Priority: -1
- Regex: '^<Windows\.h>$'
Priority: 3
- Regex: '^<(WinIoCtl|winhttp|Shellapi)\.h>$'
Priority: 4
- Regex: '.*'
Priority: 2
IndentCaseLabels: true
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
PenaltyReturnTypeOnItsOwnLine: 1000
PointerAlignment: Left
SpaceAfterTemplateKeyword: false
Standard: Cpp11
UseTab: Never
77 changes: 77 additions & 0 deletions src/cpprestsdk/cpprestsdk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Visual Studio files
*.o
*.d
*.so
*.[Oo]bj
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.[Cc]ache
*.ilk
*.log
*.lib
*.sbr
*.sdf
*.sdf
*.opensdf
*.pdb
*.idb
*.res
*.unsuccessfulbuild
*.lastbuildstate
*.tlog
*.intermediate
*.dll
*.exp
*.exe
*.manifest
*.rc
*~
ipch/
obj/
# OSX files
*.xccheckout
*.pbxuser
*.mode1v3
*.mode2v3
*.perspective3
!default.pbxuser
!default.mode1v3
!default.mode2v3
!default.perspective3
xcuserdata
*.xcuserstate
.DS_Store
.Trashes
*.swp
*.lock
*~.nib
*.resfiles
[Bb]in
Binaries/
Intermediate/
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
.vs/
# Ignore cmake building directories
build.*/
docs/
# Ignore NuGet artifacts
.nuget/
Build_android/build/
Generated Files/
# Ignore iOS temp build directories
Build_iOS/Apple-Boost-BuildScript

/out/
7 changes: 7 additions & 0 deletions src/cpprestsdk/cpprestsdk/.gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[submodule "vcpkg"]
path = vcpkg
url = https://github.com/Microsoft/vcpkg
[submodule "websocketpp"]
path = Release/libs/websocketpp
url = https://github.com/zaphoyd/websocketpp
fetchRecurseSubmodules = false
19 changes: 19 additions & 0 deletions src/cpprestsdk/cpprestsdk/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Launch Debug Tests",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/build.debug/Release/Binaries/test_runner.exe",
"args": ["*testd.dll"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build.debug/Release/Binaries",
"environment": [],
"externalConsole": true
}
]
}
20 changes: 20 additions & 0 deletions src/cpprestsdk/cpprestsdk/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/vcpkg/**": true,
"build.x86.debug": true,
"build.x86.release": true,
"build.x64.debug": true,
"build.x64.release": true,
"out": true,
},
"cSpell.words": [
"XPLATSTR",
"blittable",
"pplx",
"rdpos",
"rgpsz"
]
}
Loading