renamings and add of singly linked list
authorChris Koeritz <fred@gruntose.com>
Sun, 1 Jan 2017 18:12:52 +0000 (13:12 -0500)
committerChris Koeritz <fred@gruntose.com>
Sun, 1 Jan 2017 18:12:52 +0000 (13:12 -0500)
commit1b2df1d72f942ac68040bd5d44879729e7306bbb
treebf8e508fa75d77d8f478f412dbe1e328a6764766
parent244e0eeaf916718d7bcd7beba44f9c0de29c504d
renamings and add of singly linked list

fixed name of "list" class to be doubly linked list, since it is that.  now kind of grossed out by doubly linked list's implementation; suggest overhauling it so dl list IS a node in the dl list, rather than just a manager of node objects.  also noting it has a gross iterator implementation, but it appears to be critical to the design of the class, so try to leave it intact.
added a very basic singly linked list in order to have the new cycle detection algorithm.  added a test for singly linked lists.
added definition for eclipse on gnu unix of __UNIX__, which calmed a lot of complaints about HOOPLE_MAIN and other memset/strncpy/etc methods.
12 files changed:
nucleus/.cproject
nucleus/library/nodes/doubly_linked_list.cpp [new file with mode: 0644]
nucleus/library/nodes/doubly_linked_list.h [new file with mode: 0644]
nucleus/library/nodes/list.cpp [deleted file]
nucleus/library/nodes/list.h [deleted file]
nucleus/library/nodes/makefile
nucleus/library/nodes/singly_linked_list.cpp [new file with mode: 0644]
nucleus/library/nodes/singly_linked_list.h [new file with mode: 0644]
nucleus/library/tests_nodes/makefile
nucleus/library/tests_nodes/test_doubly_linked_list.cpp [new file with mode: 0644]
nucleus/library/tests_nodes/test_list.cpp [deleted file]
nucleus/library/tests_nodes/test_singly_linked_list.cpp [new file with mode: 0644]