Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
324 commits
Select commit Hold shift + click to select a range
36525d1
Serve is now Compose, also fixed main file
fairlight1337 Mar 31, 2023
d7a3fec
Added Compose Doxygen documentation
fairlight1337 Mar 31, 2023
38c7003
Fixed more code smells
fairlight1337 Mar 31, 2023
e84940b
Update to latest maze
fairlight1337 Mar 31, 2023
0b5e1e2
Try to fix galib VERSION file issue on AppVeyor
fairlight1337 Mar 31, 2023
9294a62
Adding permissive flag to galib
fairlight1337 Mar 31, 2023
5f0a687
Some more CI fixes
fairlight1337 Mar 31, 2023
ae9a959
Keep all files
fairlight1337 Mar 31, 2023
f6aba14
Print content of vcxproj files
fairlight1337 Mar 31, 2023
6d7cfbd
New try with ps
fairlight1337 Mar 31, 2023
add75e3
Output more vcxproj files
fairlight1337 Mar 31, 2023
2d5a5ad
Removed an output
fairlight1337 Mar 31, 2023
99fe00b
Trying to fix AV
fairlight1337 Mar 31, 2023
c434271
Maybe fixing AV
fairlight1337 Mar 31, 2023
013e9e4
Minor CMake fix
fairlight1337 Mar 31, 2023
c0a2635
More fixes
fairlight1337 Mar 31, 2023
7e5ee5f
Hopefully more info from AV
fairlight1337 Mar 31, 2023
68fbb01
Trying to fix AV builds
fairlight1337 Mar 31, 2023
343fb6e
Fixing a test
fairlight1337 Mar 31, 2023
fad97f3
Updating maze
fairlight1337 Mar 31, 2023
968f175
Trying to fix linking for maze
fairlight1337 Mar 31, 2023
1fc3246
Maze update
fairlight1337 Mar 31, 2023
afed271
Maze update
fairlight1337 Mar 31, 2023
7578130
Fixing code smells
fairlight1337 Mar 31, 2023
9f9845b
Fixing code smells
fairlight1337 Mar 31, 2023
f296099
Updating Maze
fairlight1337 Mar 31, 2023
4d133de
Fixing pipeline deletion through compose
fairlight1337 Mar 31, 2023
e50029b
Remove galib_src folder from coverage
fairlight1337 Apr 1, 2023
de2cfd6
Moved version information into its own file and added string version
fairlight1337 Apr 1, 2023
c99b827
Moved pipeline logic out of compose
fairlight1337 Apr 1, 2023
ef57d61
Added first couple of tests for pipeline server
fairlight1337 Apr 1, 2023
c5372db
Don't calculate coverage for backend binary compose.cpp
fairlight1337 Apr 1, 2023
5fe166c
More coverage, improved tests
fairlight1337 Apr 2, 2023
9ef2ad3
Removing obsolete default derivative constructors
fairlight1337 Apr 2, 2023
bd688b7
Restructured pipes to extendable architecture
fairlight1337 Apr 3, 2023
48961dc
Adding a ProgramFactoryPipe
fairlight1337 Apr 3, 2023
23cff5f
Made Pipe destructor virtual
fairlight1337 Apr 3, 2023
bef5ac9
Added a make format target to the CMakeLists.txt file
fairlight1337 Apr 3, 2023
c22d1fc
Adding clang-format config
fairlight1337 Apr 3, 2023
6427dd4
Fixed code formatting
fairlight1337 Apr 3, 2023
f341bfb
serve_static -> html_static
fairlight1337 Apr 3, 2023
eee0b81
Changed default line width in clang-format config to 100
fairlight1337 Apr 3, 2023
36551c1
Adjusted CONTRIBUTING.md
fairlight1337 Apr 3, 2023
b66866f
Clean up code and add unit test coverage
fairlight1337 Apr 3, 2023
af68bdb
Added a factory pipeline with program factory source and null sink
fairlight1337 Apr 3, 2023
6b826dc
Added deserialization of model JSONs
fairlight1337 Apr 3, 2023
71ec2b6
Cleaned and documented pipeline code
fairlight1337 Apr 4, 2023
9c5af64
clang-format should also format .hpp files
fairlight1337 Apr 4, 2023
c870c1b
Removing left-over debug output
fairlight1337 Apr 4, 2023
9b4967f
Fixing clang-format rule
fairlight1337 Apr 4, 2023
a3b75fb
Cleaned up code and restructured examples
fairlight1337 Apr 4, 2023
e848198
Updated README.md
fairlight1337 Apr 4, 2023
8f71f09
Corrected a build switch for example programs
fairlight1337 Apr 4, 2023
5e407e0
Fixing CircleCI builds (memory check was broken)
fairlight1337 Apr 4, 2023
18bea2d
Increasing test coverage
fairlight1337 Apr 4, 2023
8835218
Implemented reporting of pipes and connections via compose
fairlight1337 Apr 4, 2023
039631b
Explicitly adding imported js and css
fairlight1337 Apr 4, 2023
7891b2e
Added frontend rendering of pipes in a pipeline
fairlight1337 Apr 4, 2023
6523a0f
Program factory and null sink pipe get their own frontend symbols
fairlight1337 Apr 5, 2023
3e69da0
Renaming a pipeline in canvas view takes immediate effect
fairlight1337 Apr 5, 2023
c3f853b
The connection status on the frontend looks a bit nicer
fairlight1337 Apr 5, 2023
4927e6a
Move pipe updates arriving in the backend
fairlight1337 Apr 5, 2023
0f03ffe
Extending format target to support js files
fairlight1337 Apr 6, 2023
384f442
Applied JavaScript formatting
fairlight1337 Apr 6, 2023
a5e172c
Introduced model metadata, saving pipe position, streamlined code
fairlight1337 Apr 6, 2023
caa7872
Removed double includes
fairlight1337 Apr 6, 2023
ddda2c6
Add JS to CodeQL workflow config
fairlight1337 Apr 6, 2023
7e23307
Adding pipeline applications
fairlight1337 Feb 28, 2023
45bb30b
Fixing compilation issues on newer compilers
fairlight1337 Mar 3, 2023
151dc8d
Fixing debug builds
fairlight1337 Mar 3, 2023
e749034
Adding EvaluatorPipe pipe class
fairlight1337 Mar 4, 2023
2dfed19
Added a random serial data passthrough evaluator
fairlight1337 Mar 4, 2023
8329773
Added first pipeline test to ensure pipelines work
fairlight1337 Mar 5, 2023
4aac812
Added Doxygen documentation for various new classes
fairlight1337 Mar 5, 2023
67106b7
Fixed coverage report
fairlight1337 Mar 5, 2023
0b73626
Added Pipeline class
fairlight1337 Mar 6, 2023
48453d3
Added Pipeline functionality and added a dedicated Pipeline test
fairlight1337 Mar 6, 2023
2779479
Added base serve app, Fabric.js, Crow, CLI11
fairlight1337 Mar 7, 2023
c7e66fe
Adding libasio as dependency
fairlight1337 Mar 8, 2023
890554b
Added asio as 3rdparty dependency
fairlight1337 Mar 8, 2023
ea0462c
Making thread lib dependency more general
fairlight1337 Mar 8, 2023
19b6279
Further fixes for appveyor build
fairlight1337 Mar 8, 2023
3e67b2a
More MSVC fixes
fairlight1337 Mar 8, 2023
623ca9a
Fixes for MSVC
fairlight1337 Mar 8, 2023
11ce8c5
Fixed even more MSVC build issues
fairlight1337 Mar 8, 2023
6c91aad
Fixed loop signedness
fairlight1337 Mar 8, 2023
aab4a4e
Optimizing genome loops
fairlight1337 Mar 8, 2023
a271179
Corrected asio versin
fairlight1337 Mar 8, 2023
d22d99f
AppVeyor fixes
fairlight1337 Mar 8, 2023
8581abc
Fixed code issues in serve.cpp
fairlight1337 Mar 8, 2023
1aeabfe
Catch all exceptions in serve main
fairlight1337 Mar 8, 2023
c65dd7d
Fixing serve exception handling
fairlight1337 Mar 8, 2023
7a6b4ac
More exception handling
fairlight1337 Mar 8, 2023
e09a140
Removed serve from coverage
fairlight1337 Mar 8, 2023
da774ad
Fixed typo
fairlight1337 Mar 8, 2023
4e0c928
Making sure pipes are in pipeline before connecting them
fairlight1337 Mar 8, 2023
5919f63
Adding Pipeline tests
fairlight1337 Mar 8, 2023
8eddcad
More coverage for Pipeline
fairlight1337 Mar 8, 2023
ad5d3cb
Replace jQuery by React
fairlight1337 Mar 8, 2023
c98c2ce
Increased test coverage
fairlight1337 Mar 8, 2023
785c886
Fixed an issue with random repetitions and a code smell
fairlight1337 Mar 9, 2023
7a69e9c
Added Pipeline Doxygen documentation
fairlight1337 Mar 9, 2023
905e642
Fixed code smells
fairlight1337 Mar 9, 2023
1dbaf34
Fixed serve code smells and added default / route
fairlight1337 Mar 9, 2023
09bfeac
Added draft web UI for BEAST composer interaction
fairlight1337 Mar 16, 2023
c44eb18
Add widget to show connection status based on bool
fairlight1337 Mar 16, 2023
9fbfecd
Make UI respond to backend status
fairlight1337 Mar 16, 2023
e1d0478
Extended front- and backend pipeline management
fairlight1337 Mar 19, 2023
8a8f6e1
Extended pipeline handling in web UI
fairlight1337 Mar 19, 2023
a03f580
Streamlined served index.html
fairlight1337 Mar 19, 2023
7b818bb
Added a boiler text to the pipelines list
fairlight1337 Mar 20, 2023
33f9fb8
Adding pipeline add mechanisms to the web UI
fairlight1337 Mar 20, 2023
0be503c
The web backend allows to add pipelines dynamically
fairlight1337 Mar 20, 2023
43f3daf
Adding logo to web UI and making drawer items selectable
fairlight1337 Mar 20, 2023
ae77d2c
Split up web UI files
fairlight1337 Mar 21, 2023
169c5b4
Use a state context to set the connected state for the pipelinelist
fairlight1337 Mar 21, 2023
3d64506
Add home menu button to web UI and iterate over items
fairlight1337 Mar 21, 2023
74cd880
Added pipeline details page
fairlight1337 Mar 22, 2023
6d13c4d
Make use of strict mode
fairlight1337 Mar 22, 2023
76d6092
Play/Stop from pipeline details screen
fairlight1337 Mar 22, 2023
5f8e99c
Fixing various warnings and fine-tuning canvas space
fairlight1337 Mar 22, 2023
fddc1cf
Adding a dummy Konva canvas
fairlight1337 Mar 23, 2023
f75a1bf
Add grid, border, and proper resizing for pipeline canvas
fairlight1337 Mar 23, 2023
b576de5
Fixing a variable error
fairlight1337 Mar 23, 2023
b93f2b4
Larger grid background, and home button
fairlight1337 Mar 23, 2023
af90586
Add context menu to pipeline canvas
fairlight1337 Mar 23, 2023
d3f44db
Added a FilesystemHelper class, tests, and docs
fairlight1337 Mar 25, 2023
7e57d82
Moved serve pipeline management code to new pipeline manager class
fairlight1337 Mar 25, 2023
0d2b28c
Adding pipeline manager docs and tests, and fixing other tests
fairlight1337 Mar 25, 2023
c022c15
Added nlohmann/json as 3rdparty package
fairlight1337 Mar 25, 2023
cf53b79
Added edit button to pipeline list
fairlight1337 Mar 26, 2023
8d77f7b
Added name edit button to canvas view
fairlight1337 Mar 26, 2023
2d29f58
Added renaming and deleting models
fairlight1337 Mar 26, 2023
8b4143f
Trying to fix CodeML and AppVeyor issues
fairlight1337 Mar 27, 2023
ebd38aa
Fixing more issues on AppVeyor and CodeQL
fairlight1337 Mar 27, 2023
d4f3926
Fixing CI issues
fairlight1337 Mar 27, 2023
5cea1ec
Added Maze 3rdparty module and evaluator
fairlight1337 Mar 30, 2023
388f020
Updated Maze to the newest version
fairlight1337 Mar 30, 2023
79cd925
Added warning ignores for MSVC
fairlight1337 Mar 31, 2023
514751f
Updated Maze
fairlight1337 Mar 31, 2023
9c72cab
Fixing code smells
fairlight1337 Mar 31, 2023
f506471
Serve is now Compose, also fixed main file
fairlight1337 Mar 31, 2023
29349c5
Added Compose Doxygen documentation
fairlight1337 Mar 31, 2023
4c5a3d0
Fixed more code smells
fairlight1337 Mar 31, 2023
ce2e142
Update to latest maze
fairlight1337 Mar 31, 2023
50420c3
Try to fix galib VERSION file issue on AppVeyor
fairlight1337 Mar 31, 2023
25b8dd2
Adding permissive flag to galib
fairlight1337 Mar 31, 2023
f06b4f2
Some more CI fixes
fairlight1337 Mar 31, 2023
90e39a5
Keep all files
fairlight1337 Mar 31, 2023
df12bd5
Print content of vcxproj files
fairlight1337 Mar 31, 2023
eedae9b
New try with ps
fairlight1337 Mar 31, 2023
ac5ebfd
Output more vcxproj files
fairlight1337 Mar 31, 2023
0ac87ee
Removed an output
fairlight1337 Mar 31, 2023
f93ad44
Trying to fix AV
fairlight1337 Mar 31, 2023
cb795da
Maybe fixing AV
fairlight1337 Mar 31, 2023
912243e
Minor CMake fix
fairlight1337 Mar 31, 2023
890beb3
More fixes
fairlight1337 Mar 31, 2023
987e5ea
Hopefully more info from AV
fairlight1337 Mar 31, 2023
00bf46f
Trying to fix AV builds
fairlight1337 Mar 31, 2023
b50268f
Fixing a test
fairlight1337 Mar 31, 2023
7ea88a7
Updating maze
fairlight1337 Mar 31, 2023
5e17702
Trying to fix linking for maze
fairlight1337 Mar 31, 2023
0aa05f2
Maze update
fairlight1337 Mar 31, 2023
d8f95dd
Maze update
fairlight1337 Mar 31, 2023
a4ff392
Fixing code smells
fairlight1337 Mar 31, 2023
6dc36d0
Fixing code smells
fairlight1337 Mar 31, 2023
941427e
Updating Maze
fairlight1337 Mar 31, 2023
fc80da1
Fixing pipeline deletion through compose
fairlight1337 Mar 31, 2023
0e54c21
Remove galib_src folder from coverage
fairlight1337 Apr 1, 2023
470d6b0
Moved version information into its own file and added string version
fairlight1337 Apr 1, 2023
9e361d9
Moved pipeline logic out of compose
fairlight1337 Apr 1, 2023
9e21725
Added first couple of tests for pipeline server
fairlight1337 Apr 1, 2023
9512687
Don't calculate coverage for backend binary compose.cpp
fairlight1337 Apr 1, 2023
fab7943
More coverage, improved tests
fairlight1337 Apr 2, 2023
c6dcd03
Removing obsolete default derivative constructors
fairlight1337 Apr 2, 2023
2653c22
Restructured pipes to extendable architecture
fairlight1337 Apr 3, 2023
a5b9372
Adding a ProgramFactoryPipe
fairlight1337 Apr 3, 2023
55a97e3
Made Pipe destructor virtual
fairlight1337 Apr 3, 2023
15fbd54
Added a make format target to the CMakeLists.txt file
fairlight1337 Apr 3, 2023
6190524
Adding clang-format config
fairlight1337 Apr 3, 2023
a30bfbb
Fixed code formatting
fairlight1337 Apr 3, 2023
21eca60
serve_static -> html_static
fairlight1337 Apr 3, 2023
a2db5ac
Changed default line width in clang-format config to 100
fairlight1337 Apr 3, 2023
41edf61
Adjusted CONTRIBUTING.md
fairlight1337 Apr 3, 2023
45c38b1
Clean up code and add unit test coverage
fairlight1337 Apr 3, 2023
fd75db1
Added a factory pipeline with program factory source and null sink
fairlight1337 Apr 3, 2023
1816ccc
Added deserialization of model JSONs
fairlight1337 Apr 3, 2023
473cd45
Cleaned and documented pipeline code
fairlight1337 Apr 4, 2023
1308587
clang-format should also format .hpp files
fairlight1337 Apr 4, 2023
33154cd
Removing left-over debug output
fairlight1337 Apr 4, 2023
a81c696
Fixing clang-format rule
fairlight1337 Apr 4, 2023
e8d0954
Cleaned up code and restructured examples
fairlight1337 Apr 4, 2023
e65d427
Updated README.md
fairlight1337 Apr 4, 2023
5fbbf65
Corrected a build switch for example programs
fairlight1337 Apr 4, 2023
8608d3d
Fixing CircleCI builds (memory check was broken)
fairlight1337 Apr 4, 2023
a18d3b3
Increasing test coverage
fairlight1337 Apr 4, 2023
de6b6d1
Implemented reporting of pipes and connections via compose
fairlight1337 Apr 4, 2023
3c26b41
Explicitly adding imported js and css
fairlight1337 Apr 4, 2023
aba2dae
Added frontend rendering of pipes in a pipeline
fairlight1337 Apr 4, 2023
f8b0f27
Program factory and null sink pipe get their own frontend symbols
fairlight1337 Apr 5, 2023
9bcaf07
Renaming a pipeline in canvas view takes immediate effect
fairlight1337 Apr 5, 2023
eef9cba
The connection status on the frontend looks a bit nicer
fairlight1337 Apr 5, 2023
336f42f
Move pipe updates arriving in the backend
fairlight1337 Apr 5, 2023
042f0c7
Extending format target to support js files
fairlight1337 Apr 6, 2023
77ea790
Applied JavaScript formatting
fairlight1337 Apr 6, 2023
dff7771
Introduced model metadata, saving pipe position, streamlined code
fairlight1337 Apr 6, 2023
ce16e22
Removed double includes
fairlight1337 Apr 6, 2023
35a95a3
Merge branch 'pipeline-applications' of github.com:dedicate-project/b…
fairlight1337 Apr 6, 2023
0bebcd4
Adding a format step to CircleCI
fairlight1337 Apr 6, 2023
cb79975
Don't CodeQL 3rdparty JS libs
fairlight1337 Apr 6, 2023
abb5ccd
Only analyze, don't build JS with CodeQL
fairlight1337 Apr 6, 2023
d245585
Attempt to correct CodeQL config for ignoring 3rdparty JS
fairlight1337 Apr 6, 2023
580a5ad
New CodeQL fixing attempt
fairlight1337 Apr 6, 2023
96d0a79
Updated frontend pipeline images
fairlight1337 Apr 7, 2023
dac0e4f
Added various getters and tests
fairlight1337 Apr 8, 2023
7f8695d
Doxygen works without Sphinx, and reports warnings
fairlight1337 Apr 8, 2023
6486121
Fix in string
fairlight1337 Apr 9, 2023
3e860db
Big step forward in (de)serializing evaluator pipes
fairlight1337 Apr 9, 2023
b6b237e
Fixed serialization of evaluator pipes and added a test
fairlight1337 Apr 10, 2023
fb3b0fe
Fixing a bug in JSON->Pipeline construction & increasing coverage
fairlight1337 Apr 11, 2023
bbbaf5e
Changed 'and' to '&&' to make MSVC work again
fairlight1337 Apr 11, 2023
18ae309
Slight CMake cleanup
fairlight1337 Apr 11, 2023
e230161
Large block of Doxygen comments added
fairlight1337 Apr 11, 2023
4497d9c
Added [[nodiscard]] attributes and fixed code smells
fairlight1337 Apr 11, 2023
6f034ed
Fixed various code smells
fairlight1337 Apr 12, 2023
9a60a0c
Don't ignore html_static paths for JS CodeQL
fairlight1337 Apr 12, 2023
8afe299
Fixed a connection buffer size bug and added conn visualization
fairlight1337 Apr 12, 2023
6a4b728
Added ports to types in the frontend
fairlight1337 Apr 13, 2023
541d9c4
Made pipe rendering nicer on the frontend
fairlight1337 Apr 13, 2023
79f73ec
Added hovering dialog that shows pipe information on frontend
fairlight1337 Apr 13, 2023
c5d3d63
Repaired context menu popping up
fairlight1337 Apr 13, 2023
430af4c
Fixed race conditions in candidate transfers in pipelines
fairlight1337 Apr 14, 2023
c79f260
Further streamlining of candidate data movement
fairlight1337 Apr 14, 2023
27c892f
Mutex-protected connection buffers and made connection ptrs shared
fairlight1337 Apr 16, 2023
3a573c7
Using a reference rather than a copy to fix a code smell
fairlight1337 Apr 16, 2023
1e9aad5
Fixed multiple code smells
fairlight1337 Apr 16, 2023
e1ea511
Fixed more code smells
fairlight1337 Apr 16, 2023
877cd04
Introduced metrics functions for pipelines
fairlight1337 Apr 17, 2023
671bdc0
Integrated end to end metrics display
fairlight1337 Apr 18, 2023
8259a22
Fixed ISO8601 time output in metrics
fairlight1337 Apr 18, 2023
8b7b889
Fixed metrics calculation
fairlight1337 Apr 19, 2023
1dfe7c1
Adding max candidate support to NullSinkPipe
fairlight1337 Apr 21, 2023
d83e376
Silencing errors in JS
fairlight1337 Apr 21, 2023
9128223
Fixing metrics reports again for accuracy
fairlight1337 Apr 21, 2023
2e6de9d
Added proper display of per-pipe mouse-over stats to the frontend
fairlight1337 Apr 21, 2023
7dbd27d
Some minor adjustments to make things look smoother
fairlight1337 Apr 21, 2023
0547795
Refined context menu layout
fairlight1337 Apr 21, 2023
13df093
Updated maze dep and began integration of the maze evaluator
fairlight1337 Apr 22, 2023
fa0fc94
Made the right-click menu on the frontend a bit nicer
fairlight1337 Apr 22, 2023
7b7ba13
Added first working maze integration
fairlight1337 Apr 24, 2023
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
33 changes: 29 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,28 @@ jobs:
root: .
paths:
- "."
format:
docker:
- image: cimg/base:stable
resource_class: small
steps:
- attach_workspace:
at: .
- run:
name: Install dependencies
command: |
sudo apt-get update
sudo apt-get install -y clang-format
- run:
name: Setup cmake
command: |
cd build
cmake ..
- run:
name: Run clang-format
command: |
cd build
make format
build_release:
docker:
- image: cimg/base:stable
Expand Down Expand Up @@ -125,19 +147,22 @@ jobs:
sudo apt-get update
sudo apt-get install -y valgrind
- run:
name: Run Valgrind on example_adder
command: valgrind ./build/bin/examples/example_adder
name: Run Valgrind on program_adder
command: valgrind ./build/bin/examples/programs/program_adder

workflows:
build-and-test:
jobs:
- prepare_environment
- build_release:
- format:
requires:
- prepare_environment
- build_release:
requires:
- format
- build_debug:
requires:
- prepare_environment
- format
- test:
requires:
- build_debug
Expand Down
137 changes: 137 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: false
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: true
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
- Regex: '.*'
Priority: 1
SortPriority: 0
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
Standard: Latest
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
NamespaceIndentation: None
...
29 changes: 21 additions & 8 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '32 23 * * 2'
Expand All @@ -20,21 +19,35 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['cpp']
language: ['cpp', 'javascript']

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- name: Initialize CodeQL for C++
if: ${{ matrix.language == 'cpp' }}
uses: github/codeql-action/init@v2
with:
languages: ${{matrix.language}}
- name: Install dependencies
run: sudo apt-get install -y clang-tidy lcov ccache
- name: Build
languages: cpp
config-file: "codeql-config.yml"

- name: Initialize CodeQL for JavaScript
if: ${{ matrix.language == 'javascript' }}
uses: github/codeql-action/init@v2
with:
languages: javascript

- name: Install C++ dependencies
if: matrix.language == 'cpp'
run: |
# Install C++ dependencies if analyzing C++
${{ matrix.language == 'cpp' && 'sudo apt-get install -y clang-tidy lcov ccache' || '' }}

- name: Build C++
if: matrix.language == 'cpp'
run: |
# Build C++ code if analyzing C++
git submodule update --init --recursive
mkdir build
cd build
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
build
*~
Doxyfile
Doxyfile
models
.vscode
21 changes: 20 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,10 +1,29 @@
[submodule "3rdparty/Catch2"]
path = 3rdparty/Catch2
url = https://github.com/catchorg/Catch2.git
branch = v2.x
branch = v2.x
[submodule "3rdparty/cmake-modules"]
path = 3rdparty/cmake-modules
url = https://github.com/bilke/cmake-modules.git
[submodule "3rdparty/galib"]
path = 3rdparty/galib
url = https://github.com/dedicate-project/galib
[submodule "3rdparty/Crow"]
path = 3rdparty/Crow
url = https://github.com/CrowCpp/Crow
branch = v1.0+5
[submodule "3rdparty/CLI11"]
path = 3rdparty/CLI11
url = https://github.com/CLIUtils/CLI11
branch = v2.3.2
[submodule "3rdparty/asio"]
path = 3rdparty/asio
url = https://github.com/chriskohlhoff/asio.git
branch = asio-1-12-2
[submodule "3rdparty/json"]
path = 3rdparty/json
url = https://github.com/nlohmann/json.git
branch = v3.11.2
[submodule "3rdparty/maze"]
path = 3rdparty/maze
url = https://github.com/dedicate-project/maze
1 change: 1 addition & 0 deletions 3rdparty/CLI11
Submodule CLI11 added at 89601e
1 change: 1 addition & 0 deletions 3rdparty/Crow
Submodule Crow added at e041d3
1 change: 1 addition & 0 deletions 3rdparty/asio
Submodule asio added at 22afb8
1 change: 1 addition & 0 deletions 3rdparty/json
Submodule json added at bc889a
1 change: 1 addition & 0 deletions 3rdparty/maze
Submodule maze added at a0ebb0
Loading