90505d8e5b
remove new-line from error() calls.
2011-09-21 17:19:12 +02:00
9767be013a
http.c: refactor http request code.
...
remove duplicated curl code in 'fetch_page' and 'download_file'
and put it in an helper function.
2011-09-21 17:19:12 +02:00
8cf883eb29
http.c: remove new-line from error() calls
...
one new-line is always appended to the message by the error function.
2011-09-21 17:19:11 +02:00
c1a7c9671d
http.c: skip memory storage when download files
...
don't need to store the http data in memory when downloading files, write to disk directly.
2011-09-21 17:19:11 +02:00
3aea2adbc6
dlight.c: print items that are downloaded
2011-09-21 17:19:11 +02:00
a2569b58e3
http.c: remove double init of CURLhandle
...
handle is initialized in setup_connection()
2011-09-21 17:19:11 +02:00
8b649d35f6
http.h: remove unneeded function prototype
2011-09-21 17:19:11 +02:00
d931ce7fd8
adding command line tool for checking an regex
2011-09-21 17:19:11 +02:00
4c8c92b7f6
lockfile.c: unlink locks on signal
2011-09-21 17:19:10 +02:00
45736b3845
filter.c: dont print error in 'compile()'.
...
Make compile store the error information in a struct so that both filter_check_syntax
and filter_match, can share the code.
2011-09-21 17:19:10 +02:00
a2f2e58353
Make the other modules use error.c
2011-09-21 17:19:10 +02:00
6bc3ffde5d
Adding error.c/.h
2011-09-21 17:19:10 +02:00
692cdc16dd
Makefile: add -Wall -O2 to CFLAGS
2011-09-21 17:19:10 +02:00
b02ff8863e
lockfile: release locks on exit
2011-09-21 17:19:10 +02:00
31293d7253
gitignore: ignore executeables and config file
2011-09-21 17:19:09 +02:00
1166d3be86
compiled file format: associate destination whit each invidual filter
...
Better to have an destination for every filter then every target.
otherwise one will have to have two targets with the same source but
different destination.
2011-09-21 17:19:09 +02:00
bb5963dbf6
License with GPLv2
2011-09-21 17:19:09 +02:00
ffb8241a89
compile.c: parse_alias() only allow 'MAXNAME' number of characters for an alias
2011-09-21 17:19:09 +02:00
31ede77a9a
compile.c: refactor out alias parsing
2011-09-21 17:19:09 +02:00
06dca6c150
dlhist.c: use lockfile
2011-09-21 17:19:09 +02:00
5a5a3d33e4
Adding lockfile.c
...
moving code from compile.c under an api so it can be reused.
2011-09-21 17:19:09 +02:00
00e149c04c
compile.c: check filter syntax
2011-09-21 17:19:08 +02:00
b2df740514
Initial commit
2011-09-21 17:13:28 +02:00