llwfp

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2019-10-22
16:00
DONE: charp prepend(), append(), insert_at(). TODO: regex_replace(). Split main and the rest. DISCARDED: node_printf() and list_printf() Leaf check-in: a3c70905f1 user: redantig tags: trunk
09:12
DONE: map(). TODO: node_printf(), split main() into steps, and charp and the rest. check-in: b120a198c0 user: redantig tags: trunk
2019-10-21
10:49
DONE: BUGFIX node_swap(). TODO: map(), split main() into steps, and charp and the rest check-in: 89b0385240 user: redantig tags: trunk
2019-10-18
12:29
BUG: swap() between lists. TODO: see previous commit. check-in: dbfe00fd26 user: redantig tags: trunk
2019-10-17
15:36
DONE: set(), sort(), rev(). move(). TODO: swap(). map(), split main() into steps, and charp and the rest check-in: b5b0501f54 user: redantig tags: trunk
2019-10-11
12:58
DONE: set_range(), set_match(). TODO: set_size(), sort(), rev(), map() check-in: 67aa3bd064 user: redantig tags: trunk
2019-10-10
13:07
DONE: get_range() and get_match(). TODO: set_range(), set_size(), set_match() (non-result functions), and sort(), rev() and map() (result-or-not functions) check-in: 0c6b11597b user: redantig tags: trunk
09:01
BUGFIX: del_dup(), now preserving head, keeps first unique node (as opposed of SO solution, deleting head and keeping last unique node). TODO: get_range(), get_match() and other 'result' functions check-in: 7b09845323 user: redantig tags: trunk
2019-10-09
15:31
BUGGY: del_dup() check-in: bd387cc0df user: redantig tags: trunk
12:44
del_dup() done, but deletes head and keeps last unique value, instead of keeping head. TODO: Improve del_dup() check-in: 54ac502c9c user: redantig tags: trunk
2019-10-07
16:14
DONE: del_range(), del_match(). TODO: del_dup() and the rest check-in: d941187593 user: redantig tags: trunk
2019-10-04
12:37
Finished node_del(). TODO: del_range(), del_match(), del_match_all(), modifying the original list. The rest: create a copy of a subset of the list, a 'result' check-in: 62da552425 user: redantig tags: trunk
2019-10-02
15:18
TODO: Revert using only node_add(), as in 04 README. Add set_size() and the rest. check-in: 761df0e8bd user: redantig tags: trunk
2019-10-01
15:17
TODO: Fix node_add_at(). Also check node_add(), demo seems to always insert nodes at the beginning of list check-in: 0f6bebc686 user: redantig tags: trunk
2019-09-23
11:09
DONE: 04: Node data size. TODO: 04: Added functionality, especially code all new functions check-in: 647aaa5eed user: redantig tags: trunk
2019-09-20
13:55
Added node_add_with_size(). TODO: Add node and data functions in 04.md check-in: 7407598105 user: redantig tags: trunk
2019-09-13
13:42
Valgrind memcheck in Makefile. Beginning ch04. TODO: Finish ch04, backport to ch03 to avoid bad code in node_add(), for example. check-in: c32901a8fe user: redantig tags: trunk
2019-09-12
12:37
DONE: ch03. TODO: ch04 check-in: 951a1956bc user: redantig tags: trunk
2019-09-11
12:51
Finished README 02 code. TODO: ch 03 check-in: a1eedd455b user: redantig tags: trunk
2019-09-10
14:03
Finished README 01 and 02. TODO: Move pieces of code in 02 to functions node_add_XXX() to show the need for function pointers - already obvious with node_cleanup_XXX() check-in: e5acdb4d0b user: redantig tags: trunk
2019-09-09
15:07
Finished ch01. TODO: ch02 and the rest check-in: b9be9a4930 user: redantig tags: trunk
2019-09-06
13:24
Restructured README with ToC. TODO: ch 02, 04, 05, coding, bugfixes check-in: 0cd708ac0f user: redantig tags: trunk
2019-08-30
11:41
README stuff ex04. The rest as before check-in: 5b0ce187ea user: redantig tags: trunk
2019-08-29
14:35
README stuff ex04. TODO: Make node_del() work for several or all nodes, replace buggy node_cleanup(). Pending bugs as before. check-in: 424e8e3a8c user: redantig tags: trunk
2019-08-28
13:50
README stuff. Always malloc() node->data. node_del_match(), node_del_index(), iterative node_del (modified, it may serve as both). TODO: Make node_del() work for several or all files, to replace the buggy node_cleanup(). Pending bugs as before. Always-malloc approach may be helpful. check-in: 5e68b3d3c9 user: redantig tags: trunk
2019-08-27
12:54
README stuff. node_add(), 100 integers loop. TODO: BUG: node_cleanup() second time when part of the node-in-the-middle-list has been used for node_clean_up(). Alternative: implement node_del(). Pending BUGS as before. check-in: 2bd7844e16 user: redantig tags: trunk
2019-08-23
13:26
README stuff. TODO: Finish example 04 (node_add, data_struct_print, node_get, add 50 integers in loop), add examp[le 05. Pending BUGS as before, possible bugfix by using node_cleanup from example 04 check-in: 72c21b8667 user: redantig tags: trunk
2019-08-21
13:23
README stuff. TODO: Add readme example 04 and 05. Pending BUGS as before. check-in: ce1ecf01dd user: redantig tags: trunk
2019-08-20
14:17
README stuff. TODO: Add readme example 03. Pending BUGS as before. check-in: ef3344b403 user: redantig tags: trunk
2019-08-19
12:32
Renamed to llwfp. Added minimal library llwfp-min. BUGS: memleak in node_init(), cleanup in llwfp-min-demo.c, update node_add from llwfp-min to llwfp. check-in: cc10c1dbe0 user: redantig tags: trunk
2019-08-18
16:11
Separated node and data logic. BUG: memleak in node_init() voidp6.c:10 check-in: 7be3c44772 user: redantig tags: trunk
2019-08-16
19:46
Added sort() and reverse(). TODO: sort cmp function, print string-malloc as *(char **), not as (char *) check-in: 4c1b7eff99 user: redantig tags: trunk
18:53
DONE: BUGFIX in voidp6-string-malloc.c, no Valgrind leaks. TODO: print string-malloc as *(char **), not as (char *) check-in: 9a8fa48d09 user: redantig tags: trunk
13:58
DONE: set, get, cleanup for static. TODO: Fix BUG in voidp6-string-malloc.c, malloc():ed variable in fullpath() gets lost according to Valgrind check-in: b6cc75d1c5 user: redantig tags: trunk
2019-08-14
13:31
Moved oldstuff, set() working. TODO: get (buggy), get_node_by_index, get_node_by_val, cleanup, del, set, sort, reverse check-in: ebbda31255 user: redantig tags: trunk
2019-08-13
13:59
Got (kind of) most user-friendly API. TODO: cleanup, del, get, set, sort, reverse. check-in: 31707dee1e user: redantig tags: trunk
2019-08-12
12:49
Use struct of fp:s and nodes to handle a list. TODO: Check best (a.k.a. 'most userfriendly') way to define API: Probably use common node_add/node_del etc. from outside and define custom functions for data only check-in: cb732cd40f user: redantig tags: trunk
2019-08-09
13:22
DONE: init() and add() (no need for aux fp in neither, just set node->data = data ???). TODO: node_string, cleanup, sort, reverse, delete check-in: 4f0f92dd2f user: redantig tags: trunk
2019-08-08
13:19
Added voidp6, generic linked list. TODO: Fix code check-in: ce6bb8bcf4 user: redantig tags: trunk
2018-05-19
07:12
Minor changes to recdel5. check-in: 1293ae6281 user: redantig tags: trunk
2018-05-18
23:33
Added recdel5, with all linked-list related functions in header file. No intermediate variables for malloc. check-in: 4c479ba3cd user: redantig tags: trunk
2018-03-05
17:39
Added recdel4, separate main and lib check-in: 2a7fc8981b user: redantig tags: trunk
2017-10-26
16:29
Added recdel2 and recdel3, single and double pointers, resp check-in: 7243fb1980 user: redantig tags: trunk
2017-10-20
13:27
recdel1 and 2 handles free correctly according to valgrind check-in: cb18aeb4d2 user: redantig tags: trunk
2017-10-11
15:01
DONE: voidp3.c. TODO: Use voidp3.c to fix sll5.c. TODO2: Minimalistic linked-list example for TOC. check-in: 82aab5eafc user: redantig tags: trunk
2017-10-10
16:12
DONE: Valfrind check for voidp3.c. TODO: add void3.c cleanup_data. TODO2: Use voidp3.c to fix sll5.c. TODO3: Minimalistic linked-list example for TOC. check-in: d8e04aa751 user: redantig tags: trunk
2017-10-09
16:17
TODO: fix void3.c cleanup. TODO2: Use voidp3.c to fix sll5.c. TODO3: Minimalistic linked-list example for TOC. check-in: 0dd3fcd91c user: redantig tags: trunk
2017-10-06
19:43
TODO: sll5.c, based on sll4.c, but adding data dynamically. TODO2: Minimalistic linked-list example for TOC. check-in: 0f57bca3cc user: redantig tags: trunk
2017-09-19
15:19
DONE: sll4.c TODO: Minimalistic linked-list example for TOC. check-in: 4c7ddfbd04 user: redantig tags: trunk
2017-09-18
15:35
TODO: sll4.c, based on sll3.c, adding a struct type to show how to handle another data type. TODO2: Minimalistic linked-list example for TOC. check-in: 150664f62d user: redantig tags: trunk