Skip to content

Commit

Permalink
Merge pull request cpp-redis#2 from samarahu/ceph
Browse files Browse the repository at this point in the history
Removed tacopie, added source code to cpp_redis, and commented out problem ctors

Reviewed-by: Ali Maredia <amaredia@redhat.com>
  • Loading branch information
alimaredia authored Dec 13, 2022
2 parents dcfb628 + 29e7881 commit da577eb
Show file tree
Hide file tree
Showing 340 changed files with 26,616 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
[submodule "tacopie"]
path = tacopie
url = https://github.com/Cylix/tacopie.git
branch = master
1 change: 0 additions & 1 deletion tacopie
Submodule tacopie deleted from 243089
27 changes: 27 additions & 0 deletions tacopie/.appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.

#---------------------------------#
# general configuration #
#---------------------------------#

# version format
version: 1.0.{build}

#---------------------------------#
# environment configuration #
#---------------------------------#

# Build worker image (VM template)
image: Visual Studio 2017

platform:
- x64
- x86

configuration:
- Debug
- Release
6 changes: 6 additions & 0 deletions tacopie/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
build --cxxopt='--std=c++14'
build --cxxopt='-Wall'
build --cxxopt='-Wextra'
# Disable logging by default.
build --cxxopt='-D__TACOPIE_LOGGING_ENABLED=0'
build:opt --cxxopt='-O3'
101 changes: 101 additions & 0 deletions tacopie/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# clang-format style configuration
#
# For more information about each option, pleaser refer to the official documentation
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
---
Language: Cpp

AccessModifierOffset: -2
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: false
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: All
AlwaysBreakAfterReturnType: AllDefinitions
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
# Ignored if BreakBeforeBraces different from Custom
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
# Ignored in C++
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: false
ColumnLimit: 0
CommentPragmas: '.*'
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 0
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
- Regex: 'tacopie'
Priority: 1
IncludeIsMainRegex: '$'
IndentCaseLabels: false
IndentWidth: 2
IndentWrappedFunctionNames: false
# Ignored in C++
JavaScriptQuotes: Leave
# Ignored in C++
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
# Ignored in C++
ObjCBlockIndentWidth: 2
# Ignored in C++
ObjCSpaceAfterProperty: false
# Ignored in C++
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 8
UseTab: Never
...
Loading

0 comments on commit da577eb

Please sign in to comment.