Skip to content

Commit 0f11fc6

Browse files
committed
Initial commit
- Original commit: 050a1eca6d2af1ae0854b6743cf6cb8530b14a56 - This will likely have to be rebased to the initial commits of the Github repository once the Eclipse Foundation has pushed its code.
0 parents  commit 0f11fc6

File tree

565 files changed

+77596
-0
lines changed

Some content is hidden

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

565 files changed

+77596
-0
lines changed

.clang-format

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: Google
4+
AccessModifierOffset: -1
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveAssignments: false
7+
AlignConsecutiveDeclarations: false
8+
AlignEscapedNewlinesLeft: true
9+
AlignOperands: true
10+
AlignTrailingComments: true
11+
AllowAllParametersOfDeclarationOnNextLine: true
12+
AllowShortBlocksOnASingleLine: false
13+
AllowShortCaseLabelsOnASingleLine: false
14+
AllowShortFunctionsOnASingleLine: All
15+
AllowShortIfStatementsOnASingleLine: true
16+
AllowShortLoopsOnASingleLine: true
17+
AlwaysBreakAfterDefinitionReturnType: None
18+
AlwaysBreakAfterReturnType: None
19+
AlwaysBreakBeforeMultilineStrings: true
20+
AlwaysBreakTemplateDeclarations: true
21+
BinPackArguments: true
22+
BinPackParameters: true
23+
BraceWrapping:
24+
AfterClass: false
25+
AfterControlStatement: false
26+
AfterEnum: false
27+
AfterFunction: false
28+
AfterNamespace: false
29+
AfterObjCDeclaration: false
30+
AfterStruct: false
31+
AfterUnion: false
32+
BeforeCatch: false
33+
BeforeElse: false
34+
IndentBraces: false
35+
BreakBeforeBinaryOperators: None
36+
BreakBeforeBraces: Attach
37+
BreakBeforeTernaryOperators: true
38+
BreakConstructorInitializersBeforeComma: true
39+
ColumnLimit: 100
40+
CompactNamespaces: false
41+
CommentPragmas: '^ IWYU pragma:'
42+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
43+
ConstructorInitializerIndentWidth: 4
44+
ContinuationIndentWidth: 4
45+
Cpp11BracedListStyle: true
46+
DerivePointerAlignment: true
47+
DisableFormat: false
48+
ExperimentalAutoDetectBinPacking: true
49+
FixNamespaceComments: true
50+
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
51+
IncludeCategories:
52+
- Regex: '^<.*\.h>'
53+
Priority: 1
54+
- Regex: '^<.*'
55+
Priority: 2
56+
- Regex: '.*'
57+
Priority: 3
58+
IndentCaseLabels: true
59+
IndentWidth: 2
60+
IndentWrappedFunctionNames: false
61+
KeepEmptyLinesAtTheStartOfBlocks: false
62+
MacroBlockBegin: ''
63+
MacroBlockEnd: ''
64+
MaxEmptyLinesToKeep: 1
65+
NamespaceIndentation: None
66+
ObjCBlockIndentWidth: 2
67+
ObjCSpaceAfterProperty: false
68+
ObjCSpaceBeforeProtocolList: false
69+
PenaltyBreakBeforeFirstCallParameter: 1
70+
PenaltyBreakComment: 300
71+
PenaltyBreakFirstLessLess: 120
72+
PenaltyBreakString: 1000
73+
PenaltyExcessCharacter: 1000000
74+
PenaltyReturnTypeOnItsOwnLine: 200
75+
PointerAlignment: Left
76+
ReflowComments: false
77+
SortIncludes: true
78+
SpaceAfterCStyleCast: false
79+
SpaceBeforeAssignmentOperators: true
80+
SpaceBeforeParens: ControlStatements
81+
SpaceInEmptyParentheses: false
82+
SpacesBeforeTrailingComments: 2
83+
SpacesInAngles: false
84+
SpacesInContainerLiterals: true
85+
SpacesInCStyleCastParentheses: false
86+
SpacesInParentheses: false
87+
SpacesInSquareBrackets: false
88+
Standard: Auto
89+
TabWidth: 4
90+
UseTab: Never
91+
...
92+

.conan-layout.ini

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[source_folder]
2+
.
3+
4+
[build_folder]
5+
build
6+
7+
[includedirs]
8+
include
9+
10+
[libdirs]
11+
build/lib
12+
13+
[bindirs]
14+
build/bin

.dockerignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.git/
2+
build/
3+
**/build/
4+
dist/docker/

.editorconfig

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# EditorConfig -- http://editorconfig.org/
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
insert_final_newline = true
7+
charset = utf-8
8+
indent_style = space
9+
indent_size = 4
10+
11+
[Makefile*]
12+
indent_style = tab
13+
14+
[*.json]
15+
indent_size = 2
16+
trim_trailing_whitespace = true
17+
18+
[*.{h,hpp,c,cc,cpp}]
19+
indent_size = 2
20+
trim_trailing_whitespace = true
21+
22+
[*.json]
23+
indent_size = 2
24+
trim_trailing_whitespace = true
25+
26+
[*.html]
27+
indent_size = 2
28+
trim_trailing_whitespace = true
29+
30+
[*.rst]
31+
indent_size = 3
32+
trim_trailing_whitespace = true

.git-hooks/pre-commit

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#!/bin/bash
2+
#
3+
# This hook script verifies what is about to be committed.
4+
# Called by "git commit" with no arguments.
5+
# The hook exits with non-zero status after issuing an appropriate message if
6+
# it wants to stop the commit.
7+
8+
RED="\e[1;31m"
9+
RESET="\e[0m"
10+
11+
ROOT=$(git rev-parse --show-toplevel)
12+
if git rev-parse --verify HEAD >/dev/null 2>&1; then
13+
against=HEAD
14+
else
15+
# Initial commit: diff against an empty tree object
16+
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
17+
fi
18+
19+
# Redirect output to stderr.
20+
exec 1>&2
21+
22+
# Cross platform projects tend to avoid non-ASCII filenames; prevent
23+
# them from being added to the repository. We exploit the fact that the
24+
# printable range starts at the space character and ends with tilde.
25+
allownonascii=$(git config --bool hooks.allownonascii)
26+
if [ "$allownonascii" != "true" ] &&
27+
# Note that the use of brackets around a tr range is ok here, (it's
28+
# even required, for portability to Solaris 10's /usr/bin/tr), since
29+
# the square bracket bytes happen to fall in the designated range.
30+
test $(git diff --cached --name-only --diff-filter=A -z $against |
31+
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
32+
then
33+
echo -e "${RED}Error: Attempt to add a non-ASCII file name.${RESET}"
34+
echo "This can cause problems if you want to work with people on other platforms."
35+
echo "To be portable it is advisable to rename the file."
36+
echo
37+
echo "If you know what you are doing you can disable this check using:"
38+
echo " git -c hooks.allow_non_ascii=true commit"
39+
exit 1
40+
fi
41+
42+
# If there are whitespace errors, print the offending file names and fail.
43+
allowtrailing=$(git config --bool hooks.allowtrailingwhitespace)
44+
if [ "$allowtrailing" != "true" ]; then
45+
git diff-index --check --cached $against --
46+
if [ $? -ne 0 ]; then
47+
echo -e "${RED}Error: Trailing whitespace found in one or more files.${RESET}"
48+
echo
49+
echo "If you know what you are doing you can disable this check using:"
50+
echo " git -c hooks.allowtrailingwhitespace=true commit"
51+
exit 1
52+
fi
53+
fi

.gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Standard out-of-source build
2+
build/
3+
compile_commands.json
4+
5+
# Conan options
6+
conan_options.txt
7+
8+
# IDE/VSCode
9+
.vscode/
10+
11+
# IDE/Vim
12+
.lvimrc
13+
14+
# Files generated by CMake
15+
CMakeCache.txt
16+
CMakeFiles/
17+
18+
# Python object/temporary files
19+
__pycache__
20+
*.pyc
21+
.mypy_cache
22+
23+
# C/C++ object/temporary files
24+
*.a
25+
*.o
26+
*.so
27+
*~
28+
*.plist
29+
30+
# Callgrind output files
31+
callgrind.out.*
32+
33+
# Miscellaneous
34+
*.log
35+
/.gtm/

.mailmap

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
3+
4+
5+
6+
7+
8+
9+
10+
11+
12+
13+
Giuseppe Celentano <[email protected]> <[email protected]>
14+
15+
16+
17+
Marietta Inge Bloch <[email protected]> <[email protected]>
18+
Marietta Inge Bloch <[email protected]> <[email protected]>
19+
20+
21+
22+
Martin Henselmeyer <[email protected]> <[email protected]>
23+
24+
25+
26+
27+
Norbert Baumgartner <[email protected]> <[email protected]>
28+
Norbert Baumgartner <[email protected]> <[email protected]>
29+
30+
31+
32+
33+
Tobias Falkenstein <[email protected]> <[email protected]>
34+
Xiake Sun <[email protected]>
35+

0 commit comments

Comments
 (0)