-
-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into bugfix/sh-catch-errors
- Loading branch information
Showing
429 changed files
with
15,435 additions
and
8,747 deletions.
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
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,98 @@ | ||
--- | ||
BasedOnStyle: WebKit | ||
IndentWidth: 4 | ||
TabWidth: 4 | ||
UseTab: ForContinuationAndIndentation | ||
--- | ||
Language: Cpp | ||
AccessModifierOffset: 0 | ||
AlignAfterOpenBracket: DontAlign | ||
AlignConsecutiveAssignments: false | ||
AlignConsecutiveDeclarations: false | ||
AlignEscapedNewlines: DontAlign | ||
AlignOperands: DontAlign | ||
AlignTrailingComments: false | ||
AllowAllArgumentsOnNextLine: true | ||
AllowAllConstructorInitializersOnNextLine: true | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: true | ||
AllowShortFunctionsOnASingleLine: All | ||
AllowShortIfStatementsOnASingleLine: WithoutElse | ||
AllowShortLambdasOnASingleLine: All | ||
AllowShortLoopsOnASingleLine: true | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: true | ||
AlwaysBreakTemplateDeclarations: Yes | ||
BinPackArguments: true | ||
BinPackParameters: false | ||
BitFieldColonSpacing: Both | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterCaseLabel: true | ||
AfterClass: true | ||
AfterControlStatement: Always | ||
AfterEnum: true | ||
AfterExternBlock: true | ||
AfterFunction: true | ||
AfterNamespace: false | ||
AfterStruct: true | ||
AfterUnion: true | ||
BeforeCatch: true | ||
BeforeElse: true | ||
BeforeWhile: true | ||
IndentBraces: false | ||
SplitEmptyFunction: false | ||
SplitEmptyNamespace: true | ||
SplitEmptyRecord: false | ||
BreakBeforeBinaryOperators: All | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializers: BeforeComma | ||
BreakInheritanceList: BeforeComma | ||
BreakStringLiterals: false | ||
ColumnLimit: 80 | ||
CommentPragmas: 'end::[a-zA-Z]\[\]' | ||
CompactNamespaces: true | ||
ConstructorInitializerIndentWidth: 4 | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: false | ||
EmptyLineAfterAccessModifier: Never | ||
EmptyLineBeforeAccessModifier: LogicalBlock | ||
FixNamespaceComments: true | ||
IncludeBlocks: Preserve | ||
IndentCaseLabels: true | ||
IndentGotoLabels: true | ||
IndentPPDirectives: AfterHash | ||
IndentWrappedFunctionNames: true | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
MaxEmptyLinesToKeep: 1 | ||
NamespaceIndentation: None | ||
PenaltyBreakBeforeFirstCallParameter: 0 | ||
PenaltyBreakFirstLessLess: 0 | ||
PenaltyReturnTypeOnItsOwnLine: 999999 | ||
PointerAlignment: Middle | ||
PPIndentWidth: 0 | ||
ReflowComments: true | ||
ShortNamespaceLines: 0 | ||
SortIncludes: CaseInsensitive | ||
SortUsingDeclarations: false | ||
SpaceAfterCStyleCast: false | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: true | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCpp11BracedList: true | ||
SpaceBeforeCtorInitializerColon: true | ||
SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: ControlStatements | ||
SpaceBeforeRangeBasedForLoopColon: true | ||
SpaceBeforeSquareBrackets: false | ||
SpaceInEmptyBlock: false | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 1 | ||
SpacesInAngles: false | ||
SpacesInConditionalStatement: false | ||
SpacesInContainerLiterals: false | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
Standard: Cpp11 |
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 @@ | ||
github: [grafikrobot] |
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,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/.github/" | ||
schedule: | ||
interval: "daily" |
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,36 @@ | ||
# Copyright 2023 René Ferdinand Rivera Morell | ||
# Use, modification, and distribution are subject to the | ||
# Boost Software License, Version 1.0. (See accompanying file LICENSE.txt) | ||
|
||
name: "Backports" | ||
|
||
on: | ||
pull_request_target: | ||
types: [closed] | ||
branches: ["main"] | ||
issue_comment: | ||
types: [created] | ||
branches: ["main"] | ||
permissions: | ||
contents: write # so it can comment | ||
pull-requests: write # so it can create pull requests | ||
|
||
jobs: | ||
backport: | ||
runs-on: ubuntu-latest | ||
name: "Backport" | ||
if: > | ||
( | ||
github.event_name == 'pull_request' && | ||
github.event.pull_request.merged | ||
) || ( | ||
github.event_name == 'issue_comment' && | ||
github.event.issue.pull_request && | ||
github.event.comment.user.id != 97796249 && | ||
contains(github.event.comment.body, '/backport') | ||
) | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@master | ||
- name: "Backport PR" | ||
uses: korthout/backport-action@main |
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,72 @@ | ||
# Copyright 2023 Nikita Kniazev | ||
# | ||
# Use, modification, and distribution are subject to the | ||
# Boost Software License, Version 1.0. (See accompanying file LICENSE.txt) | ||
|
||
name: "Extra Tests" | ||
|
||
on: | ||
push: | ||
paths-ignore: #&paths | ||
- '.circleci/**' | ||
- '.cirrus.yml' | ||
- '.drone.star' | ||
- '.semaphore/**' | ||
- '.travis.yml' | ||
- 'appveyor.yml' | ||
- 'azure-pipelines.yml' | ||
- '.ci/azp-*.yml' | ||
pull_request: | ||
paths-ignore: #*paths #https://github.com/actions/runner/issues/1182 | ||
- '.circleci/**' | ||
- '.cirrus.yml' | ||
- '.drone.star' | ||
- '.semaphore/**' | ||
- '.travis.yml' | ||
- 'appveyor.yml' | ||
- 'azure-pipelines.yml' | ||
- '.ci/azp-*.yml' | ||
|
||
concurrency: | ||
# cancel test runners on force-push in pull requests | ||
group: ${{ github.event_name == 'push' && github.event.forced && github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
msys2: | ||
name: Windows msys2 ${{matrix.msys}} ${{matrix.toolset}} | ||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
msys: | ||
- mingw64 | ||
- mingw32 | ||
- ucrt64 | ||
- clang64 | ||
toolset: | ||
- clang | ||
- gcc | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Install Toolset | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: ${{matrix.msys}} | ||
pacboy: python:p ${{matrix.toolset}}:p | ||
|
||
- name: Bootstrap | ||
run: ./bootstrap.sh ${{matrix.toolset}} | ||
|
||
- name: Test | ||
working-directory: test | ||
env: { PYTHONUTF8: 1 } | ||
run: ./test_all.py ${{matrix.toolset}} | ||
|
||
- name: 'No Warnings' | ||
run: ./b2 warnings=all warnings-as-errors=on variant=debug,release debug-symbols=off toolset=${{matrix.toolset}} b2 |
Oops, something went wrong.