Lew Rossman
88d343dfb6
Updating the docs
2019-11-06 11:34:43 -05:00
Lew Rossman
9998466d20
Bug fix for EN_getrule
...
Fixes possible seg fault condition in EN_getrule. Also defines EN_MISSING as an API constant since it can be assigned internally to several variables that are retrievable by the API.
2019-11-05 10:09:21 -05:00
Lew Rossman
7400fad7be
Merge pull request #551 from OpenWaterAnalytics/lrossman-EN_setcurve
...
Bug fix for EN_setcurve
2019-11-05 09:59:28 -05:00
Lew Rossman
3bd4039d95
Bug fix for EN_setcurve
...
Adjusts params of any pump that uses the curve whose data is modified by EN_setcurve or EN_setcurvevalue (issue #550 ).
2019-11-02 11:17:25 -04:00
Lew Rossman
271d855b94
Merge pull request #549 from OpenWaterAnalytics/lrossman-vertices
...
Adds link vertex get/set functions to the API
2019-10-31 10:17:26 -04:00
Lew Rossman
55e2879e2d
Updates the docs
2019-10-30 15:11:20 -04:00
Lew Rossman
1709b12f6a
Fixes to EN_addlink and EN_deletelink
2019-10-29 20:09:56 -04:00
Lew Rossman
7aadc83ddf
Adds link vertex get/set functions to the API
2019-10-29 16:33:40 -04:00
Lew Rossman
d5becaf1a0
Merge pull request #547 from OpenWaterAnalytics/lrossman-ENgetresultindex
...
Adds EN_getresultindex function to the API
2019-10-29 16:09:47 -04:00
Lew Rossman
b640a8685c
Adds EN_getresultindex function to the API
...
See issue #546 . Also fixes a small bug in project.c.
2019-10-26 11:25:09 -04:00
Lew Rossman
344700a136
Fixes problems with EN_addnode() ( #543 )
...
See issue #542 . Also modifies unit test test_node to check that fixup works.
2019-10-16 15:07:14 -04:00
Sam Hatchett
5f7fd55a36
Return error if node/link name is too long ( #535 )
...
* co-authored with @ehsan-shafiee
* removes errant slashes
* Throws correct error for ID name too long
* Revert "Throws correct error for ID name too long"
This reverts commit 57b4873f5882cb9fd983f7e1e5a703b9e442cd74.
* fixes #534 by bubbling error codes up from add node/link internal functions
* fixes tests on Mac at least
* fixes improper success code
* Error 252 (not 250) returned for ID name too long.
From errors.dat: DAT(252,"invalid ID name")
2019-10-09 10:47:45 -04:00
Lew Rossman
5601973d67
Merge pull request #537 from OpenWaterAnalytics/lrossman-hydcoeffs_refactor
...
Refactor of hydcoeffs.c
2019-10-08 10:17:52 -04:00
Lew Rossman
6e80fd8d99
Update ReleaseNotes2_2.md
2019-10-07 14:27:47 -04:00
Lew Rossman
1501204f5f
Refactor of hydcoeffs.c
...
Simplifies and unifies how limit on head gradient at low flow is handled.
2019-10-04 10:01:41 -04:00
Lew Rossman
ad139a4f08
Merge pull request #536 from OpenWaterAnalytics/lrossman-pump_bug_fix
...
Fixes bugs in pump and demand head loss gradients
2019-10-04 09:34:43 -04:00
Lew Rossman
38278f7d46
Fixed use of strncpy in xstrcpy()
2019-09-30 15:51:17 -04:00
Lew Rossman
3300ef00cb
getTmpName() and xstrcpy() made safer
2019-09-30 14:05:38 -04:00
Lew Rossman
f2ef979d95
Removed dependence on unistd.h in project.c
...
Travis CI failed because system could not find unistd.h.
2019-09-26 11:18:39 -04:00
Lew Rossman
da1253f4ea
Fixes bugs in pump and demand head loss gradients
2019-09-26 11:01:01 -04:00
Sam Hatchett
d111fbfda2
reverts posix include ( #533 )
...
... because it is not needed
2019-09-25 13:05:20 -04:00
Sam Hatchett
647abd71c1
fixes mkstemp file handle-leaking behavior ( #529 )
2019-09-25 10:47:38 -04:00
Sam Hatchett
9f1634a23c
welcome to the Actions beta
2019-09-19 11:29:14 -04:00
Sam Hatchett
cb16654e34
Update ccpp.yml
2019-09-19 11:27:21 -04:00
Sam Hatchett
2e42931140
trial actions config
2019-09-19 11:20:15 -04:00
Lew Rossman
9572acd377
Merge pull request #527 from Mariosmsk/fix_delete_link_comment
...
fix in EN_deleteLink
2019-08-12 09:48:57 -04:00
mariosmsk
eb04559a11
rm set to null in functions EN_deletenode, EN_deletelink
2019-08-10 11:51:21 +03:00
mariosmsk
1ce6901103
fix in EN_deleteLink
...
when pipes are deleted via deletelink it also deletes comment of last link
Co-Authored-By: Pavlos Pavlou <pavlou.v.pavlos@ucy.ac.cy >
2019-08-08 15:50:19 +03:00
Lew Rossman
0f3005e5ae
Merge pull request #525 from OpenWaterAnalytics/lrossman_ENsetlinkvalue_bug_fix
...
Fixes EN_setlinkvalue bug
2019-08-06 20:13:04 -04:00
Lew Rossman
803bad0bf0
Fixes EN_setlinkvalue bug
2019-08-05 14:08:18 -04:00
Lew Rossman
153fa3dce4
Merge pull request #523 from OpenWaterAnalytics/lrossman-build_script_updates
...
Build script updates
2019-08-01 10:22:41 -04:00
Lew Rossman
f5acb1623c
Build script updates
2019-07-31 09:24:29 -04:00
Elad Salomons
bbe4fb7a0b
Merge pull request #520 from OpenWaterAnalytics/lrossman/doc_updates
...
Update BUILDING.md. Thank you @LRossman
2019-07-27 08:24:49 +03:00
Lew Rossman
20ae172b81
Update BUILDING.md
2019-07-26 19:06:59 -04:00
Lew Rossman
9c51160682
Merge pull request #519 from OpenWaterAnalytics/lrossman/doc_updates
...
Updates to the docs
2019-07-26 11:49:18 -04:00
Lew Rossman
d66f023770
Updates to the docs
2019-07-26 11:15:53 -04:00
Lew Rossman
53ff8e7d74
Merge pull request #518 from OpenWaterAnalytics/rossman/CmakeLists_changes
...
Add -MT switch for CMake Windows build
2019-07-26 11:08:18 -04:00
Lew Rossman
3716d33213
Add -MT switch for CMake Windows build
2019-07-24 19:02:00 -04:00
Lew Rossman
560105c700
Merge pull request #516 from Mariosmsk/fix_rule_actions
...
Fix EN_getElseaction and EN_setelseaction
2019-07-24 17:55:55 -04:00
mariosmsk
4e2e6c952a
Fix EN_getElseaction and EN_setelseaction
...
Co-Authored-By: Andreas Ashikkis <andreasashikkis@users.noreply.github.com >
2019-07-24 16:13:37 +03:00
Lew Rossman
a184a3a39a
Merge pull request #515 from OpenWaterAnalytics/dev-PDA_fixes
...
Fixes Overflow and PDA tests not being run
2019-07-22 17:59:42 -04:00
Lew Rossman
0760648aef
Fixes Overflow and PDA tests not being run
2019-07-22 17:42:29 -04:00
Elad Salomons
844ebde4d9
Merge pull request #514 from OpenWaterAnalytics/dev-PDA_fixes
...
PDA fixes
2019-07-22 22:26:46 +03:00
Lew Rossman
051519dca0
Another minor change to force another CI test
2019-07-22 12:22:48 -04:00
Lew Rossman
a22a3cffe0
Minor update to force new CI test
2019-07-22 11:25:12 -04:00
Lew Rossman
a89f339525
PDA fixes
2019-07-22 09:50:41 -04:00
Sam Hatchett
3fe11b98ee
rethinking the python wrapper ( #511 )
...
* renames certain function parameter declarations and removes double pointer call from the deleteproject function
* deprecates conditonal compilation, removes python-specific headers and function renaming
* fixes tests and docs
* fixes test
2019-07-17 15:19:25 -04:00
Elad Salomons
4cc16913df
Merge pull request #510 from Mariosmsk/patch-2
...
Good to go, thanks.
2019-07-06 08:57:46 +03:00
Lew Rossman
006db4a0da
Merge pull request #508 from OpenWaterAnalytics/win_build_script_fix
...
Update Makefile.bat
2019-06-29 10:08:37 -04:00
Marios S. Kyriakou
f267eeb93a
Update Makefile2.bat
...
#508
2019-06-26 20:36:58 +03:00