]> git.tue.mpg.de Git - adu.git/log
adu.git
16 years agoHonor the --limit option.
Andre Noll [Mon, 26 May 2008 11:55:32 +0000 (13:55 +0200)]
Honor the --limit option.

16 years agoHonor the --database_dir option.
Andre Noll [Mon, 26 May 2008 09:38:47 +0000 (11:38 +0200)]
Honor the --database_dir option.

16 years agoMerge commit 'meins/master'
Andre Noll [Mon, 26 May 2008 09:24:34 +0000 (11:24 +0200)]
Merge commit 'meins/master'

Conflicts:

Makefile
adu.c

16 years agoGet rid of the osl code.
Andre Noll [Mon, 26 May 2008 09:00:56 +0000 (11:00 +0200)]
Get rid of the osl code.

Use libosl instead.

16 years agoAdd documentation for double_hash().
Andre Noll [Mon, 26 May 2008 00:04:40 +0000 (02:04 +0200)]
Add documentation for double_hash().

16 years agoMake --loglevel and --S work.
Andre Noll [Sun, 25 May 2008 23:35:53 +0000 (01:35 +0200)]
Make --loglevel and --S work.

16 years agoAdd gengetopt support.
Andre Noll [Sun, 25 May 2008 23:29:30 +0000 (01:29 +0200)]
Add gengetopt support.

First draft of planned options. None is actually implemented so far..

16 years agoImplement the select command.
Andre Noll [Sun, 25 May 2008 21:00:30 +0000 (23:00 +0200)]
Implement the select command.

This seperates the creation of the osl tables and the pretty-printing
of the statistics.

To do this, it is necessary to close the tables properly on exit. This
change also fixed some memory leaks.

For the select command the new code reads the uid file and recomputes
the gloabal and the user stats from the osl tables.

16 years agoWrite the list of all uids to a file.
Andre Noll [Sun, 25 May 2008 16:35:41 +0000 (18:35 +0200)]
Write the list of all uids to a file.

The select command will need this.

16 years agoAdd #define for database dir.
Andre Noll [Sun, 25 May 2008 16:11:18 +0000 (18:11 +0200)]
Add #define for database dir.

Of course, this should be configurabe intstead..

16 years agoReplace id table by hash table.
Andre Noll [Sun, 25 May 2008 16:08:27 +0000 (18:08 +0200)]
Replace id table by hash table.

This should make uid lookups much faster. We use a power of two for
the hash table size and open addressing with double hashing to handle
hash collisions.

16 years agoremove memory leak in scan_dir()
Sebastian Stark [Tue, 20 May 2008 15:22:00 +0000 (17:22 +0200)]
remove memory leak in scan_dir()

the tmp pointer is used only for directory entries. However, it was allocated
unconditionally and was not freed in case of regular files.

16 years agoMerge commit 'stark/master'
Andre Noll [Tue, 20 May 2008 09:24:54 +0000 (11:24 +0200)]
Merge commit 'stark/master'

16 years agoInsert missing tab in stat output.
Andre Noll [Mon, 19 May 2008 19:46:34 +0000 (21:46 +0200)]
Insert missing tab in stat output.

16 years agoReplace dir hash by dir num.
Andre Noll [Mon, 19 May 2008 19:46:12 +0000 (21:46 +0200)]
Replace dir hash by dir num.

This should work equally well, eats less memory and cpu, and doesn't
require openssl.

16 years agoput tab between number of files and number of bytes in dir_stats
Sebastian Stark [Mon, 19 May 2008 16:21:30 +0000 (18:21 +0200)]
put tab between number of files and number of bytes in dir_stats

16 years agolink against libcrypto instead of libssl
Sebastian Stark [Mon, 19 May 2008 16:03:10 +0000 (18:03 +0200)]
link against libcrypto instead of libssl

16 years agoInitial git checkin.
Andre Noll [Mon, 19 May 2008 15:40:01 +0000 (17:40 +0200)]
Initial git checkin.

Not nice, but kinda working.