Archived
1
0
Fork 0
Commit graph

54 commits

Author SHA1 Message Date
Henrik Hautakoski
2e2d6c7eee use stdlib.h instead of malloc.h 2011-01-13 15:36:58 +01:00
Henrik Hautakoski
132bc6e838 Refactoring the buildsystem 2010-11-26 15:30:38 +01:00
Henrik Hautakoski
f156e8906c removed debug.h in favor for log.h 2010-12-22 14:51:28 +01:00
Henrik Hautakoski
055825766f test/t_path.c: added is_file tests. 2010-12-22 14:51:27 +01:00
Henrik Hautakoski
8e9f51338b Makefile: compile with LFS flags to support large files on 32bit. 2010-12-22 14:51:27 +01:00
Henrik Hautakoski
fca8bba289 path.c: Added is_dir function 2010-12-22 14:51:26 +01:00
Henrik Hautakoski
dd0f1ae393 log.c: Added basic logging support. 2010-12-22 14:51:26 +01:00
Henrik Hautakoski
f06a528ad0 strbuf.c: Added strbuf_append_repeat function 2010-12-22 14:51:25 +01:00
Henrik Hautakoski
d1924e5c67 test/t_strbuf.c: added test for freeing an empty buffer 2010-12-22 14:51:25 +01:00
Henrik Hautakoski
30ae4449ea test/t_strbuf.c: refactoring to individual function tests.
to improve readability. one test-function for one test.
2010-12-22 14:51:24 +01:00
Henrik Hautakoski
f752e03943 path.c: removed unneeded functions. 2010-11-14 09:46:34 +01:00
Henrik Hautakoski
1d99ab9eea test/t_inotify.c: cleanup and moved to t_notify.c 2010-11-11 16:10:18 +01:00
Henrik Hautakoski
4a2665004e queue.c: remove queue_clear.
client code knows what objects is stored in the queue
and its only 3 lines to do a simple free() on the items.
2010-11-10 08:45:44 +01:00
Henrik Hautakoski
d00fa63900 rbtree: changeing design. now using callbacks 2010-11-07 09:18:29 +01:00
Henrik Hautakoski
731f19553a rbtree: fixed some memory leaks. 2010-11-05 14:09:51 +01:00
Henrik Hautakoski
cfb5e85699 moving src/common to src/ 2010-10-19 13:34:06 +02:00
Henrik Hautakoski
22d7238b36 moving src/notify to src/ 2010-10-19 11:25:24 +02:00
Henrik Hautakoski
205f72b3e0 fixed compiler warnings in test helpers. 2010-10-22 13:59:17 +02:00
Henrik Hautakoski
03c830be75 common/strbuf.c: fixing up squeeze. 2010-10-22 13:59:17 +02:00
Henrik Hautakoski
0174b8d6dc client/stdout.c: ported the code from output to client. deleting the old files. 2010-10-02 19:57:25 +02:00
Henrik Hautakoski
7209cfb1c4 common/rbtree: fixed a bug in delete 2010-10-22 13:59:15 +02:00
Henrik Hautakoski
8d7b4a74c7 notify/fscrawl: fixed up src/notify/tree, ADT, new API, new name. 2010-10-22 13:59:15 +02:00
Henrik Hautakoski
3abbb2b63e common/strbuf: added chop function 2010-10-22 13:59:15 +02:00
Henrik Hautakoski
7106d9aa5e test/h_touchdir.sh: helper shellscript 2010-10-22 13:59:14 +02:00
Henrik Hautakoski
5ec71fe7d2 Makefile: added phony target. 2010-10-22 13:59:14 +02:00
Henrik Hautakoski
c6f346586e notify/inotify.c: first change, uses queue 2010-09-26 14:53:14 +02:00
Henrik Hautakoski
dd73cf9422 common/debug.h: replaced die-macro with function in die.c 2010-10-22 13:59:13 +02:00
Henrik Hautakoski
ed428f20c9 queue: fixed API function name to follow spec. 2010-10-22 13:59:12 +02:00
Fredric N
89b4b6f85b Support for iniconfig in arch.c + small output API fixes 2010-10-22 13:59:11 +02:00
Fredric N
3ec6498e83 Stdout output-driver with test 2010-10-22 13:59:11 +02:00
Fredric N
131a8b9501 Added output test for mysql 2010-10-22 13:59:11 +02:00
H Hautakoski
4ca920dc01 common/path.c: ~ expand in normalize 2010-10-22 13:59:10 +02:00
H Hautakoski
8b0772d0f1 common/strbuf: new function strbuf_term 2010-10-22 13:59:10 +02:00
H Hautakoski
2c2c0781d9 xalloc 2010-10-22 13:59:10 +02:00
H Hautakoski
25d789c77b common/path.c: normalize function (old fmt_path) using strbuf. 2010-10-22 13:59:09 +02:00
H Hautakoski
9de2e02418 common/strbuf: "\0" pointer for new buffers and squeeze. 2010-10-22 13:59:09 +02:00
H Hautakoski
c967a59706 queue: changed the ADT abit. 2010-10-22 13:59:08 +02:00
H Hautakoski
1ce3172734 better test for queue 2010-10-22 13:59:08 +02:00
H Hautakoski
073c210814 Moving some files and cleaning up. 2010-10-22 13:59:08 +02:00
H Hautakoski
8cafb25c42 arch/mysql.c: fixed the test and a overflow in init(). mysql needs alot more love. 2010-10-22 13:59:08 +02:00
H Hautakoski
d5d79c77db common/path.c: fixed is_abspath. 2010-10-22 13:59:07 +02:00
H Hautakoski
3b91895093 first hack at the event queue. 2010-10-22 13:59:07 +02:00
H Hautakoski
f1dbd880a7 docs for strbuf and some small changes. 2010-10-22 13:59:07 +02:00
H Hautakoski
d6537b235c remove old democode 2010-10-22 13:59:06 +02:00
H Hautakoski
1cf6ea1571 common/strbuf: a little cleanup in rev 2010-10-22 13:59:06 +02:00
H Hautakoski
92477a7261 core string buffer implementation. 2010-10-22 13:59:06 +02:00
b326f23c85 common/path.c: fixed bug whit trailing slash in fmt_path 2010-10-22 13:59:04 +02:00
9fa5c9eac9 unit test api needs to be rewritten. crazy to assert functions with heap allocated memory or "in place"
manipulation.
2010-10-19 03:31:55 +02:00
654f4bff80 updated dirname/basepath to follow a modification of IEEE standard. 2010-10-19 03:31:55 +02:00
f630cbf979 some cleanup and extended insertion in rbtree, updated rbtree test 2010-10-19 03:31:54 +02:00