Commit Graph

593 Commits

Author SHA1 Message Date
Michael Tryby
30f0def02a Initial commit list
generic linked list
2019-04-09 14:26:33 -04:00
Michael Tryby
a6e033767f Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into Mariosmsk-fix_bug_getdemandname 2019-04-08 15:38:37 -04:00
Michael Tryby
cf1fc43a4d Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into Mariosmsk-fix_bug_getdemandname 2019-04-08 15:22:16 -04:00
Michael Tryby
14af368876 Merge branch 'fix_bug_getdemandname' of https://github.com/Mariosmsk/EPANET into Mariosmsk-fix_bug_getdemandname 2019-04-08 14:44:05 -04:00
Lew Rossman
b8443230c6 Bug fix for 2Comp and LIFO tank mixing models (issue #448) 2019-04-08 11:16:23 -04:00
Lew Rossman
b2a8b55bc6 Update input2.c 2019-04-05 16:28:55 -04:00
Lew Rossman
edcd4b69c7 Eliminates use of temporary linked lists to process Patterns & Curves (issue #449) 2019-04-05 13:02:39 -04:00
Lew Rossman
3e733f5a2a Add more analysis options to the API (issue #425) 2019-04-03 21:17:28 -04:00
Michael Tryby
927cf9770e merging upstream dev 2019-04-03 16:40:58 -04:00
Michael Tryby
9f867b10ca Merge pull request #443 from OpenWaterAnalytics/lrossman-dev17
Removed the EN_DEFDEMANDPAT option
2019-04-03 16:35:47 -04:00
Michael Tryby
84bf6f98d0 Cleaning up include statements adding crtdbg.h 2019-04-03 15:55:23 -04:00
Michael Tryby
0f7c07555b Merge pull request #444 from michaeltryby/dev
Cleaning up build on gcc
2019-04-03 10:58:46 -04:00
Michael Tryby
9da7e9a81b Cleaning up build on gcc 2019-04-03 10:29:10 -04:00
Lew Rossman
83ffc1cfc7 Removed the EN_DEFDEMANDPAT option
See issue #429. Also allowed the EN_HEADLOSSFORM option to be changed if the solver is not active.
2019-04-03 10:25:37 -04:00
Michael Tryby
207cc53b04 Cleaning up build on gcc 2019-04-03 09:27:51 -04:00
Lew Rossman
ca0ea0e17c Fixes bug in EN_getcurve 2019-04-03 00:58:40 -04:00
Lew Rossman
6a4b95f4d5 Bug fixes 2019-04-02 22:21:05 -04:00
Michael Tryby
db85975151 Fixing header comments 2019-04-02 17:28:48 -04:00
Michael Tryby
0e30d57d4e Update errormanager
Make error_handle_t "private".  Update headers.
2019-04-02 17:01:35 -04:00
Michael Tryby
ea5d2894b1 Bumping version, updating headers 2019-04-02 16:51:55 -04:00
Michael Tryby
3ba40015b2 revert 8574f52 2019-04-02 15:41:24 -04:00
Michael Tryby
907760540e Reorganizing public functions 2019-04-02 15:34:21 -04:00
Michael Tryby
ecf0e5173c revert 1a01b46 to 1b167b5 2019-04-02 15:27:05 -04:00
Michael Tryby
44fc73cf41 Fixing bug 2019-04-02 14:37:32 -04:00
Michael Tryby
3828ebb1cd updating cstr_helper to use secure string functions 2019-04-02 13:48:38 -04:00
Michael Tryby
a89f3c9005 Making sure filename is null terminated string
Added file_handle validation
2019-04-02 12:31:05 -04:00
Michael Tryby
c98d13de80 Updated filemanager to use dynamically allocated strings
converted filename to dynamically allocated string
created cstr_helper
2019-04-02 11:05:56 -04:00
Michael Tryby
2c6d4ca74d Work in progress
Added test for temp files, getter for filename, and wrappers for fwrite, fprintf, and fgets
2019-04-01 18:05:02 -04:00
Michael Tryby
b9f00421dd Adding header info 2019-04-01 15:16:58 -04:00
Michael Tryby
23ac179ec1 Implementing filemanager
Implementing and testing filemanager and upgrading epanet_output library to use it.
2019-04-01 15:03:02 -04:00
Michael Tryby
69da9a4997 Work in progress 2019-03-29 17:04:55 -04:00
Michael Tryby
d1df792c77 Adding remove_file() 2019-03-28 17:39:05 -04:00
Michael Tryby
727ede3aba Initial commit
filemanager
2019-03-28 17:28:02 -04:00
Michael Tryby
1b167b5caf Cleaning up include statements
Removing inclusion of malloc.h. Adding crtdbg.h
2019-03-28 09:26:26 -04:00
Michael Tryby
8574f52256 Fixing indentation 2019-03-26 16:48:08 -04:00
Michael Tryby
27bf153941 Updating py API with changes to errormanager 2019-03-26 13:09:09 -04:00
mariosmsk
73f8499f54 Update input1.c 2019-03-26 17:29:25 +02:00
mariosmsk
08799eb276 updates
replaced MAXMSG with MAXID
added a check if demandName is too long
2019-03-26 17:19:08 +02:00
mariosmsk
abf583d372 try to fix bug in EN_getdemandname 2019-03-25 18:39:57 +02:00
Michael Tryby
b02f1ef346 Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into dev 2019-03-22 14:10:41 -04:00
Michael Tryby
ccbb422259 Reorganizing src and test folders
Moving epanet_output library from tools to src folder. Setting up parallel folder hierarchy in tests folder.
2019-03-20 17:58:24 -04:00
Michael Tryby
7eadbc25ce Adding unit test and refactoring
Added unit test for errormanager and refactored to simplify use of error_check() method.
2019-03-20 15:43:27 -04:00
Lew Rossman
18f65eb8b0 Replace fixed-sized comment strings with dynamic strings 2019-03-17 19:54:51 -04:00
Lew Rossman
03f41d567d Set InFile to NULL after closing it 2019-03-09 10:52:59 -05:00
Lew Rossman
e5ec4eecab Fixes writing auxiliary data for deleted elements to a saved input file (#411) 2019-03-08 16:41:12 -05:00
Lew Rossman
d2386707d6 Merge pull request #410 from makusuko/dev
Fix re-entrancy problems / crashes caused by the use of static variables in functions
2019-03-08 13:09:33 -05:00
Michael Tryby
fbbffb36ce Renaming rprt_getcount to proj_getcount 2019-03-08 09:51:38 -05:00
Markus Sunela
78abe70d89 Fix re-entrancy problems caused by the (unnecessary) use of static variables in functions.
While at it, mark most of functions static, as they are not used outside the module.
2019-03-07 11:03:01 +02:00
Michael Tryby
9b95dc4d16 Merge pull request #401 from michaeltryby/dev
Reorganizing unit tests and improving CI helper scripts on Travis
2019-03-06 17:43:44 -05:00
Lew Rossman
12c64b69cd Refactored EN_close function to use newly added closeoutfile function 2019-03-06 13:23:55 -05:00