Commit Graph

654 Commits

Author SHA1 Message Date
Ian Bell
3c5c1b9b41 Think I fixed emscripten via a RelWithDebInfo workaround 2019-03-30 12:37:54 -06:00
Alberto Lazzarotto
87efdcb1ec update syntax to julia 1.0 (#1751)
* update syntax to julia 1.0

* modified indentation
2019-01-25 08:55:53 -07:00
Ian Bell
0e7437f95b More pep8 whitespace; see #1612 2019-01-12 20:48:56 -07:00
Ian Bell
3b1eb50324 More pep8 whitespace; see #1612 2019-01-12 20:45:25 -07:00
Ian Bell
8d131a2e59 More safe whitespace changes 2019-01-12 20:24:55 -07:00
Ian Bell
4423219f2b pep8 whitespace 2019-01-12 20:14:51 -07:00
Ian Bell
f5a2ab3de1 Maybe fix some doxylink errors 2019-01-12 17:19:29 -07:00
Ian Bell
13554d0047 Remove reference to unicode 2019-01-12 00:53:56 -07:00
Ian Bell
252d9faef9 Try without unicode 2019-01-12 00:15:21 -07:00
Ian Bell
8a59e56788 Also add six 2019-01-11 23:04:49 -07:00
Ian Bell
b3bc946e06 Another Py 2->3 2019-01-11 22:59:38 -07:00
Ian Bell
a73e447f92 Revert changes for FMT; should have been done in branch (sorry @jowr) 2019-01-11 21:27:56 -07:00
Ian Bell
a83b13d05c Python should add FMT header only? 2019-01-11 20:57:44 -07:00
Ian Bell
7b8314671f Add changes to consistency plots: 2019-01-11 18:58:28 -07:00
spinnau
cd48615207 Make wrapper for LibreOffice an extension (#1773)
* Make wrapper for LibreOffice an extension

The LibreOffice wrapper is changed to be a real extension for LibreOffice.
Just as with the current solution, Python is used for the calculations in
the background.

* The extension now contains the complete wrapper code. Thus, there is
  no need anymore to use a special prepared LibreOffice template file.

* The wrapper is extended to contain all high-level interface functions
  and includes descriptions for the cell formulas.

* The extension contains a helper function to download and install the
  CoolProp Python package within the extension directory. This function
  can be called from the LibreOffice options menu. On macOS the Python
  certifi package will be used to verify certificates for https downloads.

* Update web documentation for new LibreOffice extension

* Installation and usage instructions

* Create CMake target for building of the LibreOffice wrapper

* Prepare and bundle all files as .oxt extension file
2019-01-11 12:16:08 -07:00
Jorrit Wronski
fe7c8f1805 Feature/recent compilers (#1783)
This fixes many issues: 
- Python packages can be built with XCode 10, closes #1782 
- Handling of CMake options for OSX stdc++ is streamlined
- TR1 warnings from MSVC 2017 have been silenced
- Nightly builds fixed, closes #1778 
- Documentation builds fixed, closes #1762 
- Python source packages are updated with recent Cython, closes #1777
2019-01-11 11:42:55 +01:00
Ian Bell
7479175fc6 Typo in setup.py 2019-01-10 14:27:00 -07:00
Ian Bell
6c46d7d257 A possibly naive solution for 10.14 2019-01-10 14:23:48 -07:00
Ian Bell
ede4fec6f6 Don't force OSX 10.5 compat 2019-01-09 23:36:04 -07:00
Jeff Henning
de465e1cf6 Disambiguate IF97 Fluid Names - Water only (#1770) 2018-12-19 22:55:42 -05: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
Jeff Henning
4b1ace160e Throw sensible error message for single-phase surface tension (#1755) 2018-10-29 09:08:54 +01:00
Jorrit Wronski
e00a31f1ef Use docker to build the Javascript wrapper 2018-10-24 20:04:03 +02:00
Ian Bell
aadea90451 Don't overwrite the passed in fluid string 2018-10-21 17:29:57 +02:00
scls19fr
4d487ac3f0 Update example.py (#1749) 2018-10-19 23:17:03 +02:00
Jeff Henning
34dcb680d4 Show an actual DeprecationWarning if Props() used. (#1743)
* Show an actual DeprecationWarning if Props() used.

* Add warning suppression to Python wrapper docs [ci skip]
2018-10-13 09:23:07 -04:00
Ian Bell
70b717f13d Switch from string to bytes, should ensure ABI compatibility of manylinux builds 2018-10-11 22:15:20 +02:00
Ian Bell
40a6884d25 Make it clear that this is not a zip_safe package 2018-10-03 12:36:35 +02:00
Jorrit Wronski
514ee59e27 Updated external submodules (#1727)
This change is somewhat related to #1604 .

* Catch is now at v2.3.0
* Eigen is now at v3.3.5
* FindMathemaica is now at v3.2.4
* fmtlib (formerly cppformat) is now at v4.1.0 (v5.x.x is not compatible with our code).
* msgpack-c is now at v3.0.1
* pybind11 is now at v2.2.3    
* All the other submodules have been moved to the latest master commit
* All submodules are sorted alphabetically
2018-08-30 10:36:27 +02:00
luzpaz
93f4a986e2 Misc. typos (#1726)
Found via `codespell -i 3 -w -I ../coolprop-word-whitelist.txt` whereby whitelist consists of:
```
cas
formate
hel
nd
te
tim
ue
uint
```
2018-08-14 23:06:49 -06:00
Jorrit Wronski
f316483f4d Ported the changes from #1723 to master 2018-08-13 21:28:08 +02:00
Jorrit Wronski
a23824abd5 getting ready for Python3.7, related to #1604, #1654 and #1309. Please refer to https://github.com/CoolProp/Dockerfiles for details 2018-08-09 12:04:29 +02:00
thorade
39eb5767df E721: isinstance instead of type comparison
this is for #1612
2018-04-17 13:10:03 +02:00
Ian Bell
8b7fb6abd4 Implement get/set_fluid_parameter_double in C++ and python 2018-03-25 17:09:56 -06:00
Ian Bell
c0406b878d Kill manylinux slaves for sure 2018-03-11 19:08:41 -06:00
Ian Bell
04d9360b3d Fix StateContainer print in py36; closes #1406 2018-03-11 13:46:41 -06:00
Ian Bell
79f8b3f777 Dont remove container 2018-03-10 20:21:31 -07:00
Ian Bell
0084bba3f0 Try to not run the ls 2018-03-10 19:50:30 -07:00
Ian Bell
ea75360dc2 version 1.5.2 of the manylinux container should give us python 3.6 builds now. See 90c0fca14e 2018-03-10 19:32:59 -07:00
Ian Bell
517ddd862f Back to 1.5.0 tag 2018-03-10 16:12:08 -07:00
Ian Bell
adb8519ae4 Why is python 3.6 build not happening? 2018-03-10 16:01:01 -07:00
Ian Bell
aaea205704 No more need to kill the image? 2018-03-10 14:44:36 -07:00
Ian Bell
c4ec292a9d Try some more aggressive options to stop the manylinux container 2018-03-10 14:40:21 -07:00
Ian Bell
a3c2d4432f Also show which containers are running 2018-03-10 14:24:27 -07:00
Ian Bell
0dd0c5ceb4 Switch to latest version of manylinux builder - adds python 3.6 support? 2018-03-10 14:21:30 -07:00
Ian Bell
ff95fd5725 If manylinux is hanging, stop it first 2018-03-10 14:11:05 -07:00
Jeff Henning
abcd91a9a7 Update PropsSI() to Parse Imposed Phase Strings on Input Keys (#1660)
* PropsSI enhancement to allow imposed phase on Input key string

* Update PropsSI documentation for imposing phase [skip ci]
2018-03-07 21:51:41 -07:00
xaumex
3387c1006e Mistake in function 'inline_label' in CoolProp/Plots/Common.py (#1656) 2018-02-27 22:19:45 -07:00
Ian Bell
194ab07072 Fix cimport paths for python 3.x; closes #1649 2018-02-23 20:41:33 -07:00
notmyrealhandle
6a57dc70f2 fix inconsistent function declarations between AbstractState.pyx and AbstractState.pxd (#1638) (#1640) 2018-01-30 22:14:14 -07:00