Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
d7d02e3
Embed Ruby + Python into test exe working
lefticus Mar 23, 2021
cfdb463
"Working" (except that it doesn't)
lefticus Mar 24, 2021
977e50b
Change path to my machine, add some imports (gcc-10 was complaining..…
jmarrec May 7, 2021
e93286b
When SWIG'ing to Python, rename "Measure" to "PythonMeasure" so that…
jmarrec May 7, 2021
73f7ee1
Uncomment python_measure.run in main: it crashes
jmarrec May 7, 2021
7354cfe
The python measure.py should have run_impl inside, not run! it works
jmarrec May 7, 2021
77d34ef
Comparator must be const: `static assertion failed: comparison object…
jmarrec May 10, 2021
4774fa8
Extend test to get and set Model name from C++, ruby, and python. Cra…
jmarrec May 10, 2021
15178e7
Rremove pedantic, so ruby doesn't make it crash on some compilers...
jmarrec May 10, 2021
94097a2
Works, but dynamic: Extend tests to tweak model objects. Add ability …
jmarrec May 11, 2021
318edb0
Prepare for a static exec: Add Conan for conan-openstudio-ruby, zlib.…
jmarrec May 11, 2021
5cca9f2
Python works?! (!!) (set BUILD_RUBY_BINDINGS to OFF) Embbed mylib.py …
jmarrec May 11, 2021
1df0ebf
A shot in the dark with ruby. Having tons of problems
jmarrec May 11, 2021
fda6ea6
PFFF needle in a haystack. Turns that if I omit stl.i (or just std_ve…
jmarrec May 11, 2021
0d99515
Extend the CLI to ask user to provide path to ruby/python scripts to …
jmarrec May 11, 2021
16acd44
Add note for getting measure class name from measure.xml or something
jmarrec May 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
Language: Cpp
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakConstructorInitializersBeforeComma: false
BreakStringLiterals: true
ColumnLimit: 150
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
IncludeBlocks: Preserve
IndentCaseLabels: true
IndentWidth: 2
IndentPPDirectives: AfterHash
IndentWrappedFunctionNames: true
NamespaceIndentation: Inner
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
ReflowComments: false
SpaceAfterCStyleCast: false
# SpaceAfterLogicalNot: false # No longer available in clang-format 6.0
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
# SpaceBeforeCpp11BracedList: true # No longer available in clang-format 6.0
# SpaceBeforeCtorInitializerColon: true # No longer available in clang-format 6.0
# SpaceBeforeInheritanceColon: true # No longer available in clang-format 6.0
SpaceBeforeParens: ControlStatements
# SpaceBeforeRangeBasedForLoopColon: true # No longer available in clang-format 6.0
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SortIncludes: false
SortUsingDeclarations: false
Standard: Cpp11
TabWidth: 2
UseTab: Never
...
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build/
build*/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
Loading