Commit Graph

6 Commits

Author SHA1 Message Date
Julien Marrec
05c8cf503b Lint: use automated tooling to reformat C++ and CMakeLists files (#2103)
* Add initial clang tidy / clang format config files

* Clang format the entire codebase

```
find ./src -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./include -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./Web -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./dev -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./wrappers -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
```

* Add a .cmake-format file and reformat CmakeLists.txt with it

https://github.com/cheshirekow/cmake_format

* Add a clang-format workflow


only runs on PRs, only on touched files
2022-03-31 10:51:48 -04:00
Szabolcs Horvát
a1e6b713a7 Free input strings in Mathematica interface (#1761)
* Free input strings in Mathematica interface
2018-11-28 20:58:39 -05:00
Ian Bell
85bc6c9df8 Fix up the mathematica docs; closes #382
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-01 16:13:52 -05:00
Ian Bell
5fe46a0a1e Fixed mathematica wrapper for windows
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-01 05:09:44 +01:00
Ian Bell
e31db48fe0 Updated Mathematica wrapper file
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-14 22:46:34 +02:00
Ian bell
b3847c7522 Initial commit for v5, but this time with the right line endings
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-14 12:46:24 +02:00