forked from Ultimaker/CuraEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Ultimaker:main' into master
- Loading branch information
Showing
689 changed files
with
111,211 additions
and
54,297 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
AccessModifierOffset: -4 | ||
AlignAfterOpenBracket: AlwaysBreak | ||
AlignConsecutiveAssignments: None | ||
AlignConsecutiveDeclarations: None | ||
AlignEscapedNewlines: DontAlign | ||
AlignOperands: AlignAfterOperator | ||
AlignTrailingComments: false | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowAllArgumentsOnNextLine: false | ||
AllowShortBlocksOnASingleLine: Empty | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortIfStatementsOnASingleLine: Never | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortLambdasOnASingleLine: Empty | ||
AlwaysBreakAfterDefinitionReturnType: None | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: false | ||
AlwaysBreakTemplateDeclarations: Yes | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
BraceWrapping: | ||
AfterClass: true | ||
AfterControlStatement: Always | ||
AfterEnum: false | ||
AfterFunction: true | ||
AfterNamespace: true | ||
AfterObjCDeclaration: false | ||
AfterStruct: true | ||
AfterUnion: true | ||
BeforeCatch: true | ||
BeforeElse: true | ||
IndentBraces: false | ||
SplitEmptyFunction: true | ||
SplitEmptyNamespace: true | ||
SplitEmptyRecord: true | ||
BreakAfterJavaFieldAnnotations: true | ||
BreakBeforeBinaryOperators: All | ||
BreakBeforeBraces: Allman | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializers: BeforeComma | ||
BreakStringLiterals: true | ||
ColumnLimit: 180 | ||
CommentPragmas: '^ IWYU pragma:' | ||
CompactNamespaces: false | ||
PackConstructorInitializers: Never | ||
ConstructorInitializerIndentWidth: 4 | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: false | ||
DerivePointerAlignment: false | ||
PointerAlignment: Left | ||
DisableFormat: false | ||
ExperimentalAutoDetectBinPacking: true | ||
FixNamespaceComments: true | ||
ForEachMacros: | ||
- foreach | ||
- Q_FOREACH | ||
- BOOST_FOREACH | ||
IncludeBlocks: Regroup | ||
IncludeCategories: | ||
- Priority: 2 | ||
Regex: '^<(scripta|spdlog|range|fmt|Arcus|agrpc|grpc|boost)/.*' | ||
- Priority: 3 | ||
Regex: '^((<|")(gtest|gmock|isl|json)/)' | ||
- Priority: 1 | ||
Regex: '^<.*' | ||
IncludeIsMainRegex: (Test)?$ | ||
IndentCaseLabels: false | ||
IndentWidth: 4 | ||
IndentWrappedFunctionNames: true | ||
JavaScriptQuotes: Double | ||
JavaScriptWrapImports: true | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
Language: Cpp | ||
MacroBlockBegin: '' | ||
MacroBlockEnd: '' | ||
MaxEmptyLinesToKeep: 2 | ||
NamespaceIndentation: None | ||
ObjCBlockIndentWidth: 4 | ||
ObjCSpaceAfterProperty: true | ||
ObjCSpaceBeforeProtocolList: false | ||
ReflowComments: true | ||
SortIncludes: CaseSensitive | ||
SortUsingDeclarations: true | ||
SpaceAfterCStyleCast: false | ||
SpaceAfterLogicalNot: true | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeParens: ControlStatements | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 1 | ||
SpacesInAngles: Never | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInContainerLiterals: true | ||
SpacesInLineCommentPrefix: | ||
Minimum: 1 | ||
Maximum: -1 | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
Standard: c++20 | ||
TabWidth: 4 | ||
UseTab: Never |
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,56 @@ | ||
Checks: > | ||
*, | ||
-llvmlibc-*, | ||
-modernize-use-trailing-return-type, | ||
-altera-unroll-loops*, | ||
-readability-avoid-const-params-in-decls, | ||
-fuchsia-default-arguments-calls, | ||
-google-readability-todo, | ||
-altera-struct-pack-align, | ||
-android-*, | ||
-misc-non-private-member-variables-in-classes, | ||
-fuchsia-overloaded-operator, | ||
-cppcoreguidelines-avoid-capturing-lambda-coroutines, | ||
-llvm-header-guard, | ||
-bugprone-easily-swappable-parameters, | ||
-*-default-arguments-declarations | ||
WarningsAsErrors: '-*' | ||
HeaderFilterRegex: '' | ||
FormatStyle: none | ||
CheckOptions: | ||
- key: google-build-namespaces.HeaderFileExtensions | ||
value: h | ||
- key: readability-function-size.LineThreshold | ||
value: 100 | ||
- key: readability-function-size.BranchThreshold | ||
value: 10 | ||
- key: readability-function-size.ParameterThreshold | ||
value: 6 | ||
- key: readability-function-size.NestingThreshold | ||
value: 4 | ||
- key: readability-identifier-naming.NamespaceCase | ||
value: lower_case | ||
- key: readability-identifier-naming.MacroDefinitionCase | ||
value: UPPER_CASE | ||
- key: readability-identifier-naming.ClassCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.FunctionCase | ||
value: camelBack | ||
- key: readability-identifier-naming.MethodCase | ||
value: camelBack | ||
- key: readability-identifier-naming.ParameterCase | ||
value: lower_case | ||
- key: readability-identifier-naming.VariableCase | ||
value: lower_case | ||
- key: readability-identifier-naming.ClassConstantCase | ||
value: UPPER_CASE | ||
- key: readability-identifier-naming.GlobalConstantCase | ||
value: lower_case | ||
- key: readability-identifier-naming.GlobalVariableCase | ||
value: UPPER_CASE | ||
- key: readability-identifier-length.IgnoredParameterNames | ||
value: 'p|p0|p1|i|j|k|x|X|y|Y|z|Z|a|A|b|B|c|C|d|D|ab|AB|ba|BA|bc|BC|cb|CB|cd|CD|dc|DC|ad|AD|da|DA|ip|os' | ||
- key: readability-identifier-length.IgnoredVariableNames | ||
value: '_p|p0|p1|i|j|k|x|X|y|Y|z|Z|a|A|b|B|c|C|d|D|ab|AB|ba|BA|bc|BC|cb|CB|cd|CD|dc|DC|ad|AD|da|DA|ip|os' | ||
- key: readability-identifier-length.IgnoredLoopCounterNames | ||
value: '_p|p0|p1|i|j|k|x|X|y|Y|z|Z|a|A|b|B|c|C|d|D|ab|AB|ba|BA|bc|BC|cb|CB|cd|CD|dc|DC|ad|AD|da|DA|ip|os' |
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,30 @@ | ||
# Description | ||
|
||
<!-- Please include a summary of which issue is fixed or feature was added. Please also include relevant motivation and context. | ||
If this pull request adds settings definitions for machines/materials, list them here. | ||
This fixes... OR This improves... --> | ||
|
||
## Type of change | ||
|
||
<!-- Please delete options that are not relevant. --> | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
|
||
# How Has This Been Tested? | ||
|
||
<!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> | ||
|
||
- [ ] Test A | ||
- [ ] Test B | ||
|
||
**Test Configuration**: | ||
* Operating System: | ||
|
||
# Checklist: | ||
|
||
- [ ] My code follows the style guidelines of this project as described in [UltiMaker Meta](https://github.com/Ultimaker/Meta) | ||
- [ ] I have read the [Contribution guide](https://github.com/Ultimaker/Cura/blob/main/contributing.md) | ||
- [ ] I have commented my code, particularly in hard-to-understand areas | ||
- [ ] I have uploaded any files required to test this change |
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,61 @@ | ||
name: Benchmark | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'include/**' | ||
- 'src/**' | ||
- 'benchmark/**' | ||
- '.github/workflows/benchmark.yml' | ||
branches: | ||
- main | ||
|
||
pull_request: | ||
types: [ opened, reopened, synchronize ] | ||
paths: | ||
- 'include/**' | ||
- 'src/**' | ||
- 'benchmark/**' | ||
- '.github/workflows/benchmark.yml' | ||
branches: | ||
- main | ||
- 'CURA-*' | ||
- 'PP-*' | ||
- 'NP-*' | ||
- '[0-9]+.[0-9]+' | ||
|
||
permissions: | ||
contents: write | ||
deployments: write | ||
|
||
env: | ||
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_USER }} | ||
CONAN_PASSWORD: ${{ secrets.CONAN_PASS }} | ||
|
||
|
||
jobs: | ||
check_actor: | ||
uses: ultimaker/cura-workflows/.github/workflows/check-actor.yml@main | ||
secrets: inherit | ||
|
||
conan-recipe-version: | ||
needs: [ check_actor ] | ||
if: ${{ needs.check_actor.outputs.proceed == 'true' }} | ||
uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-version.yml@main | ||
with: | ||
project_name: curaengine | ||
|
||
benchmark: | ||
needs: [ conan-recipe-version ] | ||
uses: ultimaker/cura-workflows/.github/workflows/benchmark.yml@main | ||
with: | ||
recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }} | ||
conan_extra_args: "-o curaengine:enable_benchmarks=True" | ||
benchmark_cmd: "benchmark/benchmarks --benchmark_format=json --benchmark_out=benchmark_result.json" | ||
name: "C++ Benchmark" | ||
output_file_path: "build/Release/benchmark_result.json" | ||
data_dir: "dev/bench" | ||
tool: "googlecpp" | ||
alert_threshold: "150%" | ||
alert_comment_cc_users: "@nallath, @jellespijker, @wawanbreton, @casperlamboo, @saumyaj3, @HellAholic" | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.