-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dmytro Zharii
committed
Mar 10, 2024
1 parent
b22698d
commit fca61d0
Showing
4,821 changed files
with
20,062 additions
and
1,494,447 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
Language: Cpp | ||
# BasedOnStyle: Google | ||
AccessModifierOffset: -2 | ||
AlignAfterOpenBracket: true | ||
AlignEscapedNewlinesLeft: true | ||
AlignOperands: true | ||
AlignTrailingComments: true | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: Empty | ||
AlwaysBreakAfterDefinitionReturnType: false | ||
AlwaysBreakTemplateDeclarations: true | ||
AlwaysBreakBeforeMultilineStrings: true | ||
BreakBeforeBinaryOperators: None | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializersBeforeComma: false | ||
BinPackParameters: true | ||
BinPackArguments: true | ||
ColumnLimit: 500 | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: false | ||
ConstructorInitializerIndentWidth: 8 | ||
DerivePointerAlignment: false | ||
ExperimentalAutoDetectBinPacking: false | ||
IndentCaseLabels: true | ||
IndentWrappedFunctionNames: false | ||
IndentFunctionDeclarationAfterType: false | ||
MaxEmptyLinesToKeep: 2 | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
NamespaceIndentation: None | ||
PenaltyBreakBeforeFirstCallParameter: 1 | ||
PenaltyBreakComment: 300 | ||
PenaltyBreakString: 1000 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyExcessCharacter: 1000000 | ||
PenaltyReturnTypeOnItsOwnLine: 200 | ||
PointerAlignment: Left | ||
SpacesBeforeTrailingComments: 1 | ||
Cpp11BracedListStyle: true | ||
Standard: Auto | ||
IndentWidth: 4 | ||
TabWidth: 8 | ||
UseTab: Never | ||
BreakBeforeBraces: Attach | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
SpacesInAngles: false | ||
SpaceInEmptyParentheses: false | ||
SpacesInCStyleCastParentheses: false | ||
SpaceAfterCStyleCast: true | ||
SpacesInContainerLiterals: true | ||
SpaceBeforeAssignmentOperators: true | ||
ContinuationIndentWidth: 8 | ||
CommentPragmas: '^ IWYU pragma:' | ||
SpaceBeforeParens: ControlStatements | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
Checks: '*, | ||
-cppcoreguidelines-pro-type-static-cast-downcast, | ||
-fuchsia-default-arguments-calls, | ||
-fuchsia-default-arguments, | ||
-fuchsia-default-arguments-declarations, | ||
-fuchsia-overloaded-operator, | ||
-fuchsia-statically-constructed-objects, | ||
-hicpp-use-auto, | ||
-modernize-use-auto, | ||
-modernize-use-trailing-return-type, | ||
-readability-implicit-bool-conversion, | ||
-readability-const-return-type, | ||
-google-runtime-references, | ||
-misc-non-private-member-variables-in-classes, | ||
-llvm-include-order, | ||
-cppcoreguidelines-non-private-member-variables-in-classes, | ||
-cppcoreguidelines-pro-type-vararg, | ||
-hicpp-vararg, | ||
-cppcoreguidelines-owning-memory, | ||
-llvmlibc-callee-namespace, | ||
-cppcoreguidelines-pro-bounds-array-to-pointer-decay, | ||
-hicpp-no-array-decay, | ||
-modernize-pass-by-value, | ||
-cppcoreguidelines-pro-bounds-constant-array-index, | ||
-hicpp-signed-bitwise, | ||
-llvmlibc-implementation-in-namespace, | ||
-llvmlibc-restrict-system-libc-headers, | ||
-readability-function-cognitive-complexity, | ||
-readability-identifier-length, | ||
-altera-unroll-loops, | ||
-altera-id-dependent-backward-branch, | ||
-bugprone-easily-swappable-parameters, | ||
-modernize-return-braced-init-list, | ||
-cppcoreguidelines-avoid-magic-numbers, | ||
-readability-magic-numbers, | ||
-cppcoreguidelines-avoid-do-while | ||
' | ||
WarningsAsErrors: '*' | ||
HeaderFilterRegex: 'src/*.hpp' | ||
FormatStyle: file |
58 changes: 58 additions & 0 deletions
58
third-party/cpr-1.10.5/.github/ISSUE_TEMPLATE/bug-report.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: "🐛 Bug report" | ||
description: Something in cpr is not working as expected? Create a report to help us improve. | ||
labels: ["Needs Investigation :mag:", "Bug :bug:"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Provide a general summary of the issue in the Title above. | ||
Use Markdown to highlight and format your code! | ||
[https://guides.github.com/pdfs/markdown-cheatsheet-online.pdf](https://guides.github.com/pdfs/markdown-cheatsheet-online.pdf) | ||
[https://developers.google.com/blockly/guides/modify/contribute/write_a_good_issue](https://developers.google.com/blockly/guides/modify/contribute/write_a_good_issue) | ||
⚠️⚠️ If you do not use this template, we will simply close your issue. There are no exceptions for this! These steps, especially the part at the end, are very important to solve your problem quickly and efficiently. Please remember that we are not paid to solve or even answer your issues, so we do all this work in OUR free time. ⚠️⚠️ | ||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: A clear and concise description of what the bug is. | ||
placeholder: What happened? Also tell us, what did you expect to happen? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Example/How to Reproduce | ||
description: "Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant." | ||
value: | | ||
1. Create a `cpr::Session` | ||
2. Set option ... | ||
3. Perform the request | ||
4. See error | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Possible Fix | ||
description: A possible fix for your issue. | ||
placeholder: Not obligatory, but suggest a fix or reason for the bug. | ||
validations: | ||
required: false | ||
- type: dropdown | ||
attributes: | ||
label: Where did you get it from? | ||
multiple: true | ||
options: | ||
- GitHub (branch e.g. master) | ||
- vcpkg | ||
- conan | ||
- NuGet | ||
- Other (specify in "Additional Context/Your Environment") | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Additional Context/Your Environment | ||
description: Provide some additional context for your issue and your environment your are trying to use cpr in. | ||
value: | | ||
- OS: | ||
- Version: | ||
validations: | ||
required: true |
Oops, something went wrong.