Commit Graph

337 Commits

Author SHA1 Message Date
Sam Hatchett
09cc193e73 grouping functions into modules and demonstrating fenced code documentation 2015-09-28 09:44:58 -04:00
Elad Salomons
8be1fcffd6 Fix header file 2015-09-24 12:55:29 +03:00
Sam Hatchett
295f6f6f8b link to main header in main page 2015-09-23 16:22:34 -04:00
Sam Hatchett
f6d3d08030 trying doxygen markup and config 2015-09-23 16:17:27 -04:00
Elad Salomons
322a3cb463 Added pump's type constants to header files 2015-09-23 15:31:29 +03:00
Elad Salomons
f894ade5ee Fix case when no section at top of input file
This fixes issue #13
2015-09-20 22:44:31 +03:00
Elad Salomons
bdcf3d77d5 Fix header typo 2015-09-20 21:57:09 +03:00
Elad Salomons
472d9dd35b Added curves SET functions
ENsetcurvevalue, ENsetcurve and ENaddcurve
This should close issue #9
2015-09-18 14:54:43 +03:00
Elad Salomons
02a42fe16b Added curve GET functions
ENgetcurveindex, ENgetcurveid, ENgetcurvelen and ENgetcurvevalue. This
is for issue #9
2015-09-18 13:03:53 +03:00
Elad Salomons
a31e4242f3 Update sample networks 2015-09-16 23:32:14 +03:00
Sam Hatchett
c4abd61b1f cleans up the AUTHORS file generation script and mailmap
fixes #28
2015-09-16 16:07:03 -04:00
Elad Salomons
c23c846cd8 replace strlcpy with strncpy 2015-09-15 22:38:13 +03:00
Sam Hatchett
b62f179e96 more build file targets related to float-precision builds, and comments about the use of that define 2015-09-15 11:42:07 -04:00
Sam Hatchett
7dfd7f748d fixes mac compilation, adds sample networks and debug schema 2015-09-15 10:46:37 -04:00
Sam Hatchett
cb8dc35cae fixes version numbering 2015-09-15 10:46:18 -04:00
Sam Hatchett
7336d7a69d resolve git conflict 2015-09-15 10:46:06 -04:00
Sam Hatchett
c9839c0eb3 adding authors listing tool and initial AUTHORS file 2015-09-15 10:45:51 -04:00
Sam Hatchett
72a9ce3026 Merge branch 'patch-2-0-13' into dev-2.1 2015-09-15 10:33:50 -04:00
Sam Hatchett
3c8d8d7211 free allocated char* for hash table entry key 2015-09-15 10:33:20 -04:00
Sam Hatchett
3f2e9eebfe Merge branch 'hash-string-copy-fix' into dev-2.1 2015-09-15 10:30:40 -04:00
Sam Hatchett
79d215732c Merge branch 'coordinates-getter' into dev-2.1
Conflicts resolved in :
	build/Linux/Makefile
	build/Linux/Makefile_Rev
	build/Xcode/epanet.xcodeproj/project.pbxproj
	include/epanet2.h
2015-09-15 10:29:27 -04:00
Sam Hatchett
3fde235ab7 fixing string copy action for hash table insertion 2015-09-15 10:12:07 -04:00
Sam Hatchett
13f5741310 moving Xcode build files 2015-09-15 10:02:00 -04:00
Elad Salomons
2c46a002ba Changed coordinates are saved to INP
Added a flag which controls the loading of coordinates at epanet.c line
213.
When set to TRUE coordinates are loaded and users can use the ENgetcoord
and ENsetcoord functions. Changes are then saved when ENsaveinpfile is
called.
When set to FALSE coordinates are not loaded and can't be retrieved or
changed. When saved, the COORD section is copied from the original INP
file.
2015-09-13 12:56:28 +03:00
Elad Salomons
913f48f11a minor fix to VB6 & VBA include file 2015-09-13 09:56:21 +03:00
Elad Salomons
c12f901454 added ENsetcoord function
also minor fix to include files
2015-09-13 09:53:21 +03:00
Elad Salomons
4d6bcef623 rewrite the coordinate getter
currently controlled from input2.c lines 297-298. will need to add a
flag to not load the coordinates.
2015-09-12 16:34:52 +03:00
Elad Salomons
186f21f9a7 update coord struct 2015-09-12 11:54:57 +03:00
Elad Salomons
f9ea14e57a Fix HEAD and HEADLOSS results in report file 2015-08-20 21:59:12 +03:00
Elad Salomons
6878e046ed Removed old and unused code
A bit of code cleaning
2015-08-07 12:37:05 +03:00
Elad Salomons
d0c3f59f34 Added missing parameters in the REPORT section
The MESSAGES and FILE options were not saved
2015-08-05 14:15:27 +03:00
Sam Hatchett
4248947f3a Merge pull request #20 from willfurnass/patch-2-0-13-building_on_linux
Building on Linux: #define DLL_EXPORT as the empty string and link to libm
2015-07-31 15:04:04 -04:00
Sam Hatchett
350d32c1ef Merge pull request #19 from willfurnass/add_missing_def_to_toolkit_h
Add EN_LINKPATTERN to epanet2.h as hotfix to master
2015-07-31 14:44:21 -04:00
Will Furnass
a35a61ef6d Ensure that libm is linked to in cmake-driven builds 2015-07-31 18:50:26 +01:00
Will Furnass
0f65c830a3 #define DLL_EXPORT as the empty string by default 2015-07-31 18:49:16 +01:00
Will Furnass
b245f4a5a7 Request use of C99 standard in Linux Makefiles 2015-07-31 18:22:24 +01:00
Will Furnass
9088eec6ee Add (missing) EN_LINKQUAL #define to epanet2.h 2015-07-31 18:21:04 +01:00
Elad Salomons
a3c7eaae15 Minor addition to vb header files 2015-07-31 14:41:18 +03:00
Elad Salomons
ef2763d155 Fix to VB.Net include file
By Lew Rossman
2015-07-22 20:13:19 +03:00
Elad Salomons
fecac0a03f module file for VB.Net
prepared by Lew Rossman
2015-07-21 21:07:58 +03:00
Demetrios Eliades
ce633b61bd Bug correction for Windows x64 compilation code.
There seems to be an issue when creating the def file, so this was
removed. Also an absolute path which was included by accident was
removed.
2015-07-04 15:18:55 +03:00
Elad Salomons
cdbd08acca Added error code and description for wrong demand category index 2015-06-30 19:39:06 +03:00
Elad Salomons
91aa538adf minor fix to VB header module 2015-06-25 23:46:28 +03:00
Demetrios Eliades
62730e6281 Make files with relative paths
Based on @eladsal's code.

Location of Microsoft SDK is now retrieved from the registry. Also x86
and x64-bit architectures are included.
2015-06-16 09:42:19 +03:00
Elad Salomons
82553cc422 Add header documentation for new functions 2015-06-15 21:01:50 +03:00
Elad Salomons
fb63b874f8 Moving def file into build 2015-06-14 07:55:42 +03:00
Elad Salomons
336c87cc91 fix for include file 2015-06-13 00:52:38 +03:00
Elad Salomons
2c81796f71 One click compilation for Win DLL & EXE 2015-06-13 00:32:26 +03:00
Elad Salomons
40cbb5f95e Check for open file in ENgetcurve and minor fixes 2015-06-13 00:16:30 +03:00
Elad Salomons
82da5db7ec more c89 conformance
variables should be declared at the beginning of functions
2015-06-13 00:01:30 +03:00