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
ian
242105e76b
Fix missing ;
2019-12-13 18:49:39 -07:00
ian
39f7f88eb0
Fix shared_ptr once and for all... ?
2019-12-13 18:43:21 -07:00
ian
86c01b8842
Seems like maybe we can remove all the references to std::tr1::shared_ptr
2019-12-12 23:22:22 -07:00
ian
d84774d099
another try with shared_ptr
2019-12-12 23:01:53 -07:00
ian
029dffac8a
Another try with shared_ptr header
2019-12-12 22:52:39 -07:00
Zach Baird
8108b4b80b
Adding PC-SAFT EOS ( #1877 )
...
* initial commit
* got pressure unit tests working
* Added density solver and tests
* Added enthalpy function
* Added unit tests for S and G
* partial addition of flash
* PCSAFT backend implemented
* added missing semicolon
* added missing semicolon
2019-12-12 20:49:22 -07:00
Ian Bell
3c07cf89be
Maybe fix shared_ptr for VS2008
2019-03-31 10:43:54 -06:00
Thomas Beutlich
936939b8ab
Use std::shared_ptr if available in VS ( #1810 )
...
Fix compilation with VS2017, where std::tr1 is no longer enabled by default
2019-03-25 19:44:32 -06:00
Ian Bell
915416d47c
Added support for building .so for Android
2015-09-28 23:41:18 -06:00
Ian Bell
8327d54ea2
Replaced all tabs with spaces (finally) in C++ files
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-19 12:16:14 -05:00
Ian Bell
dedbd3dccb
Updated shared_ptr header to allow it to be used with clang on linux independent of runtime library
2014-08-07 19:45:01 +02:00
Ian Bell
a3a122c6eb
Finally comprehensively fixed the shared_ptr header - more cleaning can be done I guess, but most cases are covered here I think.
2014-08-07 02:52:14 +02:00
Ian Bell
23337e4035
Update crossplatform_shared_ptr.h
2014-08-04 01:15:36 +02:00
Ian Bell
3f8e91d86f
Think I fixed OSX shared_ptr bug
2014-08-04 01:02:29 +02:00
Ian Bell
d1c3a19d24
Fixed include for OSX hopefully
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-03 16:39:24 +02:00
Ian Bell
a2abbec1c8
Fixed (?) shared_ptr header
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-03 16:20:25 +02:00
Ian Bell
18899a5cc3
Fixed files to compile for python on OSX
2014-08-03 14:29:07 +02:00
Ian Bell
747a1b3e2e
updated shared_ptr header for OSX; Now Java and C# compile on OSX
2014-06-11 01:12:37 +02:00
Ian Bell
a45765ae8f
Fixed to shared_ptr header
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-03 22:02:51 +02:00
Ian Bell
d545376efd
Got Javascript wrapper working again - required changing all std::tr1::shared_ptr to shared_ptr
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-03 21:59:41 +02:00
Ian Bell
a82160c4bf
Clean up shared_ptr mess
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-03 21:34:26 +02:00
Ian Bell
cb497b443c
Added crossplatform_shared_ptr to allow shared_ptr cleanly on all architectures without needing variable namespace definition
2014-06-03 20:58:24 +02:00