Archived
1
0
Fork 0

Commit graph

  • 212eeb073e adding dlight-dlhist-read main Henrik Hautakoski 2011-10-26 14:04:28 +01:00
  • 697d512ea6 lockfile: Remove force parameter from hold_lock() Henrik Hautakoski 2013-10-17 15:57:42 +02:00
  • c731173b49 lockfile.c: in hold_lock(), Should report 'filename' instead of 'lock->name' if file is locked Henrik Hautakoski 2013-10-17 15:51:02 +02:00
  • 61cad77a0c lockfile.c: Adding mechanism to take a lock of a file after a given amount on time. even if the file is locked. Henrik Hautakoski 2013-10-17 15:47:10 +02:00
  • d779db6715 Adding version generation script for Makefile. Henrik Hautakoski 2013-08-22 10:01:54 +02:00
  • 39b8fb640f Adding additional command line flags for help and version. Henrik Hautakoski 2013-08-22 09:59:57 +02:00
  • d1fca80734 Adding version.c Henrik Hautakoski 2013-08-22 09:51:28 +02:00
  • e85b3b7993 dlhist.c: use file_cmp from utils.h instead of static path_cmp. Henrik Hautakoski 2013-02-08 21:55:12 +01:00
  • c1b99a9e7e Adding utils.c. Henrik Hautakoski 2013-02-08 21:54:54 +01:00
  • e78f8bea4d hash.c: use xalloc Henrik Hautakoski 2012-10-14 14:53:42 +02:00
  • 891e438a7a Adding dynamic array datastructure. Henrik Hautakoski 2012-08-29 11:40:50 +02:00
  • ff54ec830d Makefile: add -D__DEBUG__ symbol. Henrik Hautakoski 2012-08-27 10:39:54 +02:00
  • fe4d64e288 Adding xalloc Henrik Hautakoski 2012-08-27 10:36:09 +02:00
  • 223706d52f hash: Replace struct with a primitive type for hash values. Henrik Hautakoski 2012-08-22 15:16:27 +02:00
  • 569d0167d8 sha1_io: inline functions Henrik Hautakoski 2012-08-22 11:57:33 +02:00
  • ee17b5e370 buffer.c: fix 'off-by-one' error in 'buffer_expand' Henrik Hautakoski 2012-08-09 16:23:01 +02:00
  • 484dadc916 buffer.c: fix 'off-by-one' error in 'buffer_cstr()' Henrik Hautakoski 2012-08-09 16:13:49 +02:00
  • 107aae0105 env.c: free memory at exit. Henrik Hautakoski 2012-08-09 16:00:20 +02:00
  • b65c9e74aa dlhist.c: don't include '\n' in calls to error() Henrik Hautakoski 2012-07-31 11:59:41 +02:00
  • 4a8fcb6062 dlhist.c: Fix typo in dlhist_flush() Henrik Hautakoski 2012-07-31 11:58:12 +02:00
  • deef8a6c1a env.c: Try create base directory on every call to env_get_dir() Henrik Hautakoski 2012-07-22 19:31:19 +02:00
  • b967d1b147 proc-cache.c: free entries in the hash table. Henrik Hautakoski 2012-07-18 19:27:17 +02:00
  • 13330c322d buffer.c: generate an warning instead of error in buffer_write() Henrik Hautakoski 2012-07-17 10:43:20 +02:00
  • 313816c425 error.c: let warn() return an int Henrik Hautakoski 2012-07-17 10:42:41 +02:00
  • dea5aa6fe0 Makefile: dont optimize when compiling with '-g' flag. Henrik Hautakoski 2012-07-12 10:34:22 +02:00
  • 52777c2ff8 buffer.c: fix 'off-by-one' error when indexing array. Henrik Hautakoski 2012-07-04 14:01:04 +02:00
  • d18d581fd0 buffer.c: fix dereference of invalid pointer. Henrik Hautakoski 2012-07-04 13:53:33 +02:00
  • ae91737fb1 proc-cache.c: lazy delete Henrik Hautakoski 2012-07-04 12:02:42 +02:00
  • 51f7286ab8 dlight.c: move call to proc_cache_update() Henrik Hautakoski 2012-06-28 17:06:42 +02:00
  • d49b1b2456 dlight.c: Mark item in download history earlier. Henrik Hautakoski 2012-06-28 17:02:14 +02:00
  • 365b657f9f proc-cache.c: use hash-table code from hash.c Henrik Hautakoski 2012-05-22 11:48:28 +02:00
  • 8a39596268 llist.h: Adding a Single linked list implementation Henrik Hautakoski 2012-05-21 21:15:27 +02:00
  • 269ddffa78 dlight.c: use buffer_write() Henrik Hautakoski 2011-11-11 12:23:42 +01:00
  • 4c664f2400 buffer: add buffer_write() Henrik Hautakoski 2011-11-11 12:23:25 +01:00
  • e0976e0d23 proc-cache.c: remove proc_cache_flush() Henrik Hautakoski 2012-04-17 21:14:49 +02:00
  • 4f05a5ae4f proc-cache.c: use hash-table code from hash.c Henrik Hautakoski 2012-04-12 07:46:28 +02:00
  • 5193e8453c hash.c: refactor out common hash table code Henrik Hautakoski 2012-04-11 21:09:28 +02:00
  • c1198121bb cconf.c: use sha1_io.h Henrik Hautakoski 2012-02-17 23:30:49 +01:00
  • 0b2b159b2d Adding sha1_io.c/h: A wrapper interface for performing posix file I/O with SHA1 as a CRC mechanism. Henrik Hautakoski 2012-02-17 22:37:24 +01:00
  • 37ba894802 make dlight.c use the new dlhist Henrik Hautakoski 2011-12-15 13:35:13 +01:00
  • 40e6afeffa adding new dlhist.c Henrik Hautakoski 2011-12-15 13:29:23 +01:00
  • 1350330dd2 dlhist: rename to proc-cache. Henrik Hautakoski 2011-11-14 16:11:18 +01:00
  • 90365e9de2 dlight.c: do not call perror when dlhist_open() fails Henrik Hautakoski 2011-11-05 16:45:43 +01:00
  • dcd515b4b1 http.c: use buffer.h Henrik Hautakoski 2011-10-25 15:21:21 +02:00
  • 6456ac58bc env.c: use buffer.h Henrik Hautakoski 2011-10-21 15:02:57 +02:00
  • 710f761cc6 buffer: adding buffer_cstr_release Henrik Hautakoski 2011-10-21 13:46:38 +02:00
  • 5245d19d71 moving strbuf to buffer Henrik Hautakoski 2011-10-20 22:32:23 +02:00
  • 5220e42038 Adding strbuf. Henrik Hautakoski 2011-10-19 19:32:46 +02:00
  • 378de035de dlhist.c: dlhist_lookup: pass a variable to he_empty(). Henrik Hautakoski 2011-11-03 14:36:10 +01:00
  • a0f46daa4a dlhist.c: store number of entries in header instead of table size Henrik Hautakoski 2011-11-03 13:42:59 +01:00
  • bbefd9daf5 dlhist.c: calculate initial size when read table from file. Henrik Hautakoski 2011-11-03 13:10:30 +01:00
  • 9517d28f72 dlhist.c: do linear-probing when inserting entries. Henrik Hautakoski 2011-10-26 16:48:29 +01:00
  • 113dc524ed Small fix in README Henrik Hautakoski 2011-10-17 14:34:23 +01:00
  • c41f11e57a dlight.c: do not add a newline to error() calls Henrik Hautakoski 2011-10-12 15:26:04 +02:00
  • e3bd4545a2 filter.c: compile: Oops, assigning function to char pointer Henrik Hautakoski 2011-10-12 14:53:48 +02:00
  • e39b9d64c6 env.c: use error.h Henrik Hautakoski 2011-10-12 14:15:08 +02:00
  • 6758b06188 dlhist: use sha1 hashes as keys to make records fixed size. Henrik Hautakoski 2011-10-04 15:29:45 +02:00
  • 1f46350f84 dlight.c: don't use errno from http_fetch_file Henrik Hautakoski 2011-10-02 22:42:34 +02:00
  • 356cddf07d error.h: Incorrect name in function prototype Henrik Hautakoski 2011-09-29 23:25:05 +02:00
  • 02814cc1f7 dlight.c: only download a file once. Henrik Hautakoski 2011-09-29 21:34:34 +02:00
  • eb0702cd93 http: Adding http_fetch_file(). Henrik Hautakoski 2011-09-29 19:54:02 +02:00
  • ad4ac41b13 lockfile.c: missing stdlib.h for atexit() Henrik Hautakoski 2011-09-24 13:53:18 +02:00
  • 611409c777 lockfile: expose locked() Henrik Hautakoski 2011-09-24 13:03:22 +02:00
  • 2f9e968717 dlight.c: more verbose output Henrik Hautakoski 2011-09-20 16:33:55 +02:00
  • 6a4d6af99d lockfile.h: small typo in headercomment Henrik Hautakoski 2011-09-12 20:40:52 +02:00
  • 5eda6e7705 dlhist.c: resize_table: Oops, storing floating point value in integer. Henrik Hautakoski 2011-09-07 22:08:56 +02:00
  • fce177b486 dlight.c: dlhist purge: remove magic number and set interval to 6h Henrik Hautakoski 2011-09-06 20:18:59 +02:00
  • 90505d8e5b remove new-line from error() calls. Henrik Hautakoski 2011-09-06 20:10:26 +02:00
  • 9767be013a http.c: refactor http request code. Henrik Hautakoski 2011-09-02 13:01:05 +02:00
  • 8cf883eb29 http.c: remove new-line from error() calls Henrik Hautakoski 2011-09-01 19:44:00 +02:00
  • c1a7c9671d http.c: skip memory storage when download files Henrik Hautakoski 2011-09-01 19:38:56 +02:00
  • 3aea2adbc6 dlight.c: print items that are downloaded Henrik Hautakoski 2011-08-31 19:16:07 +02:00
  • a2569b58e3 http.c: remove double init of CURLhandle Henrik Hautakoski 2011-08-31 19:07:08 +02:00
  • 8b649d35f6 http.h: remove unneeded function prototype Henrik Hautakoski 2011-08-31 19:00:58 +02:00
  • d931ce7fd8 adding command line tool for checking an regex Henrik Hautakoski 2011-08-29 19:57:05 +02:00
  • 4c8c92b7f6 lockfile.c: unlink locks on signal Henrik Hautakoski 2011-08-16 19:31:02 +02:00
  • 45736b3845 filter.c: dont print error in 'compile()'. Henrik Hautakoski 2011-08-04 11:29:51 +02:00
  • a2f2e58353 Make the other modules use error.c Henrik Hautakoski 2011-08-04 11:10:08 +02:00
  • 6bc3ffde5d Adding error.c/.h Henrik Hautakoski 2011-08-04 11:07:57 +02:00
  • 692cdc16dd Makefile: add -Wall -O2 to CFLAGS Henrik Hautakoski 2011-07-26 14:02:00 +02:00
  • b02ff8863e lockfile: release locks on exit Henrik Hautakoski 2011-07-26 13:47:53 +02:00
  • 31293d7253 gitignore: ignore executeables and config file Henrik Hautakoski 2011-07-13 18:57:56 +02:00
  • 1166d3be86 compiled file format: associate destination whit each invidual filter Henrik Hautakoski 2011-07-13 18:49:29 +02:00
  • bb5963dbf6 License with GPLv2 Henrik Hautakoski 2011-07-07 19:02:00 +02:00
  • ffb8241a89 compile.c: parse_alias() only allow 'MAXNAME' number of characters for an alias Henrik Hautakoski 2011-06-16 20:27:38 +02:00
  • 31ede77a9a compile.c: refactor out alias parsing Henrik Hautakoski 2011-06-16 20:20:20 +02:00
  • 06dca6c150 dlhist.c: use lockfile Henrik Hautakoski 2011-06-13 19:40:12 +02:00
  • 5a5a3d33e4 Adding lockfile.c Henrik Hautakoski 2011-06-13 19:34:56 +02:00
  • 00e149c04c compile.c: check filter syntax Henrik Hautakoski 2011-06-08 18:56:23 +02:00
  • b2df740514 Initial commit Henrik Hautakoski 2011-06-08 18:46:58 +02:00