Commit Graph

53 Commits

Author SHA1 Message Date
0tkl 434cd68a23 fix potential deref of a null pointer 2023-08-05 01:20:09 +08:00
Sam Hatchett 0ca1a0b7a7 cleanup of readme links and unused files 2019-12-07 20:49:21 -05:00
Michael Tryby d927851d20 Adding remove node method to generic list 2019-04-24 16:29:57 -04:00
Michael Tryby 9b3173f9be Adding key and search to list 2019-04-24 13:15:43 -04:00
Michael Tryby 7537be1ec9 Work in progress
Working on demand lists
2019-04-19 18:01:06 -04:00
Michael Tryby 109276e379 Work in progress
Implementing generic demand pattern lists. Compiles but does not run.
2019-04-17 17:24:34 -04:00
Michael Tryby ff21a33821 Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into dev-list 2019-04-17 10:53:08 -04:00
Michael Tryby 22a7993c8c Adding element id validity checks 2019-04-16 16:57:38 -04:00
Michael Tryby 9224ac4f09 Update cstr_helper.c
Fixing indentation
2019-04-16 15:54:50 -04:00
Michael Tryby 2d74851635 Update cstr_helper.c
fixing indentation
2019-04-16 15:54:12 -04:00
Michael Tryby 02ec735c58 Work in progress
Refactoring cstr_copy and adding test
2019-04-16 15:51:19 -04:00
Michael Tryby ac56971ef2 Work in progress
Creating function for validateing element ID strings
2019-04-16 14:44:06 -04:00
Michael Tryby c659c70817 Work in progress
Implementing demand_list
2019-04-15 13:35:37 -04:00
Michael Tryby 3f37fdbff4 Refactoring head_list and tail_list
Simplifying head and tail list. Adding delete_node() to list API.
2019-04-11 10:45:22 -04:00
Michael Tryby af87edbafe Update list.c 2019-04-11 09:48:43 -04:00
Michael Tryby a7f8fc868e Reorganized to contain list abstraction 2019-04-11 09:44:08 -04:00
Michael Tryby f10e36336f Work in progress 2019-04-10 17:59:55 -04:00
Michael Tryby 6187bc112e Fixing indent 2019-04-10 16:17:36 -04:00
Michael Tryby 669bdde122 Expanding test
Added test where data is a struct
2019-04-10 16:12:13 -04:00
Michael Tryby 7d3c16a400 Update list.c
Fixing indent
2019-04-10 11:26:36 -04:00
Michael Tryby fbecf1b915 Fixing indent
Spaces not tabs
2019-04-10 11:25:01 -04:00
Michael Tryby 3d62254eb8 Update list.c
Updating in line comments.
2019-04-10 11:11:13 -04:00
Michael Tryby 6537b4fca0 Updating file headers 2019-04-10 11:03:23 -04:00
Michael Tryby f9dd9bc766 Clean up and inline comments 2019-04-10 10:57:55 -04:00
Michael Tryby ea02e1736e Fixed memory leak
Fixed memory leak in test_head_list
2019-04-10 10:44:34 -04:00
Michael Tryby 39038bc17e Fixing indentation 2019-04-09 18:17:15 -04:00
Michael Tryby 07995beda1 Fixing bug in head_list 2019-04-09 18:09:41 -04:00
Michael Tryby 1fdee6ac7e Fix typo 2019-04-09 16:16:54 -04:00
Michael Tryby dcfa51f938 Update list.h
Adding documentation
2019-04-09 16:09:37 -04:00
Michael Tryby 30f0def02a Initial commit list
generic linked list
2019-04-09 14:26:33 -04:00
Michael Tryby 9da7e9a81b Cleaning up build on gcc 2019-04-03 10:29:10 -04:00
Michael Tryby 207cc53b04 Cleaning up build on gcc 2019-04-03 09:27:51 -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 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 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