|
|
41a253a00a
|
rbtree.c: moved tree assertion from the test.
|
2011-01-07 10:53:08 +01:00 |
|
|
|
0fba36440c
|
rbtree.c: rbtree_walk: pass rbnode->key instead of rbnode to callback function
|
2011-01-05 09:11:56 +01:00 |
|
|
|
2c54173a52
|
test/t_rbtree.c: properly rewritten.
|
2011-01-03 10:49:11 +01:00 |
|
|
|
3671888b8b
|
rbtree.c: search: return key instead of node.
|
2010-12-27 15:14:20 +01:00 |
|
|
|
027bf154a7
|
rbtree.c: use generic keys.
to make the rbtree more usefull. allow generic keys and user defined compare functions.
|
2010-12-27 10:17:01 +01:00 |
|
|
|
f76f494dcc
|
added str-list.c
|
2011-01-22 04:20:55 +01:00 |
|
|
|
f973e29668
|
src/queue.c: don't deallocate the last block when queue becomes empty.
always keep one block in the queue so that in situations when the queue becomes empty
frequently. performance dosent blow up by calls to malloc/free.
|
2011-01-13 15:37:00 +01:00 |
|
|
|
b6ab5c88a8
|
strbuf.c: added strbuf_explode
|
2011-01-13 15:36:59 +01:00 |
|
|
|
2e2d6c7eee
|
use stdlib.h instead of malloc.h
|
2011-01-13 15:36:58 +01:00 |
|
|
|
132bc6e838
|
Refactoring the buildsystem
|
2010-11-26 15:30:38 +01:00 |
|
|
|
f156e8906c
|
removed debug.h in favor for log.h
|
2010-12-22 14:51:28 +01:00 |
|
|
|
055825766f
|
test/t_path.c: added is_file tests.
|
2010-12-22 14:51:27 +01:00 |
|
|
|
8e9f51338b
|
Makefile: compile with LFS flags to support large files on 32bit.
|
2010-12-22 14:51:27 +01:00 |
|
|
|
fca8bba289
|
path.c: Added is_dir function
|
2010-12-22 14:51:26 +01:00 |
|
|
|
dd0f1ae393
|
log.c: Added basic logging support.
|
2010-12-22 14:51:26 +01:00 |
|
|
|
f06a528ad0
|
strbuf.c: Added strbuf_append_repeat function
|
2010-12-22 14:51:25 +01:00 |
|
|
|
d1924e5c67
|
test/t_strbuf.c: added test for freeing an empty buffer
|
2010-12-22 14:51:25 +01:00 |
|
|
|
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 |
|
|
|
f752e03943
|
path.c: removed unneeded functions.
|
2010-11-14 09:46:34 +01:00 |
|
|
|
1d99ab9eea
|
test/t_inotify.c: cleanup and moved to t_notify.c
|
2010-11-11 16:10:18 +01:00 |
|
|
|
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 |
|
|
|
d00fa63900
|
rbtree: changeing design. now using callbacks
|
2010-11-07 09:18:29 +01:00 |
|
|
|
731f19553a
|
rbtree: fixed some memory leaks.
|
2010-11-05 14:09:51 +01:00 |
|
|
|
cfb5e85699
|
moving src/common to src/
|
2010-10-19 13:34:06 +02:00 |
|
|
|
22d7238b36
|
moving src/notify to src/
|
2010-10-19 11:25:24 +02:00 |
|
|
|
205f72b3e0
|
fixed compiler warnings in test helpers.
|
2010-10-22 13:59:17 +02:00 |
|
|
|
03c830be75
|
common/strbuf.c: fixing up squeeze.
|
2010-10-22 13:59:17 +02:00 |
|
|
|
0174b8d6dc
|
client/stdout.c: ported the code from output to client. deleting the old files.
|
2010-10-02 19:57:25 +02:00 |
|
|
|
7209cfb1c4
|
common/rbtree: fixed a bug in delete
|
2010-10-22 13:59:15 +02:00 |
|
|
|
8d7b4a74c7
|
notify/fscrawl: fixed up src/notify/tree, ADT, new API, new name.
|
2010-10-22 13:59:15 +02:00 |
|
|
|
3abbb2b63e
|
common/strbuf: added chop function
|
2010-10-22 13:59:15 +02:00 |
|
|
|
7106d9aa5e
|
test/h_touchdir.sh: helper shellscript
|
2010-10-22 13:59:14 +02:00 |
|
|
|
5ec71fe7d2
|
Makefile: added phony target.
|
2010-10-22 13:59:14 +02:00 |
|
|
|
c6f346586e
|
notify/inotify.c: first change, uses queue
|
2010-09-26 14:53:14 +02:00 |
|
|
|
dd73cf9422
|
common/debug.h: replaced die-macro with function in die.c
|
2010-10-22 13:59:13 +02:00 |
|
|
|
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 |
|
|
|
4ca920dc01
|
common/path.c: ~ expand in normalize
|
2010-10-22 13:59:10 +02:00 |
|
|
|
8b0772d0f1
|
common/strbuf: new function strbuf_term
|
2010-10-22 13:59:10 +02:00 |
|
|
|
2c2c0781d9
|
xalloc
|
2010-10-22 13:59:10 +02:00 |
|
|
|
25d789c77b
|
common/path.c: normalize function (old fmt_path) using strbuf.
|
2010-10-22 13:59:09 +02:00 |
|
|
|
9de2e02418
|
common/strbuf: "\0" pointer for new buffers and squeeze.
|
2010-10-22 13:59:09 +02:00 |
|
|
|
c967a59706
|
queue: changed the ADT abit.
|
2010-10-22 13:59:08 +02:00 |
|
|
|
1ce3172734
|
better test for queue
|
2010-10-22 13:59:08 +02:00 |
|
|
|
073c210814
|
Moving some files and cleaning up.
|
2010-10-22 13:59:08 +02:00 |
|
|
|
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 |
|
|
|
d5d79c77db
|
common/path.c: fixed is_abspath.
|
2010-10-22 13:59:07 +02:00 |
|
|
|
3b91895093
|
first hack at the event queue.
|
2010-10-22 13:59:07 +02:00 |
|