1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00
Commit graph

22 commits

Author SHA1 Message Date
Jordan Lee
374ed10f3b (trunk) it's bad form to #include so many system headers in libtransmission/utils.h... 2011-03-16 18:04:23 +00:00
Jordan Lee
11d60307cf (trunk libT) #3967 "regression: transmission-daemon's non-inotify watchdir is broken in 2.20 betas" -- fixed.
When inotify isn't available, watch.c uses readdir() to look for new .torrent files. It keeps a list of old .torrent files internally so that it doesn't try to keep re-adding the same file. This list is stored in an evbuffer. As part of the libevent2 upgrade (#3836), r11594 changed how the buffer is searched by replacing the (deprecated) event_find() call with libevent2's evbuffer_search(). However the latter's semantics are different in that searching stops when '\0' is reached, so '\0' is no longer a good filename delimiter. Fixed by changing watch.c's internal delimiter from '\0' to '\t' ... so all those torrents with tabs in their filenames had better watch out.
2011-02-03 17:37:53 +00:00
Jordan Lee
879a2afcbd Update the copyright year in the source code comments.
The Berne Convention says that the copyright year is moot, so instead of adding another year to each file as in previous years, I've removed the year altogether from the source code comments in libtransmission, gtk, qt, utils, daemon, and cli.

Juliusz's copyright notice in tr-dht and Johannes' copyright notice in tr-lpd have been left alone; it didn't seem appropriate to modify them.
2011-01-19 13:48:47 +00:00
Charles Kerr
a5e2b244dd (trunk daemon) get the non-inotify chunks of code working with libevent2 2010-12-24 15:41:10 +00:00
Charles Kerr
b07d0db82b (trunk daemon) #3836 "libevent2 support" -- fix libevent #includes in the daemon/ directory 2010-12-24 09:11:23 +00:00
Charles Kerr
eda211e5ce (trunk) #2983: add command-line utilities for creating .torrent files, for editing passkeys, for adding/removing trackers, etc. 2010-06-16 14:27:24 +00:00
Eric Petit
2cb6279a72 fix daemon build on platforms without inotify 2010-06-11 07:24:06 +00:00
Charles Kerr
0ad06c50e8 (trunk) #3262 "problems with '.' as the first character in a .torrent's filename" -- fixed in trunk for 2.00 2010-06-07 14:25:31 +00:00
Charles Kerr
a0bc78a6dd (trunk daemon) #3158 "Possible crash when using inotify" -- fixed in trunk for 2.00 2010-04-21 01:31:23 +00:00
Charles Kerr
fe3d9ed95a (trunk) one of the least interesting commits ever: remove trailing spaces from source code lines... 2010-03-17 17:07:40 +00:00
Charles Kerr
2060557f6d (trunk daemon) #2949 "standardize inotify watchdir implementation" -- fixed in trunk for 1.92. Thanks to Longinus00 for another patch :) 2010-02-27 22:13:29 +00:00
Charles Kerr
ed032ec4de (trunk libT) #2940: "don't listen for create events in daemon's inotify watchdir implementation" -- fixed in trunk for 1.92 2010-02-25 18:21:19 +00:00
Charles Kerr
27a64c18db (trunk daemon) #2943 "watch.c matches every file containing '.torrent'" -- fix copy/paste error reported by Longinus00 2010-02-21 13:29:23 +00:00
Charles Kerr
95236d1f3e (trunk daemon) #2943 "watch.c matches everything containing '.torrent'" -- use Longinus00's patch to fix this in trunk for 1.91 2010-02-21 00:24:01 +00:00
Charles Kerr
6958386ecd (trunk daemon) #2899: "watch.c reports matches for every file" -- fixed in trunk for 1.90 2010-02-12 12:50:36 +00:00
Charles Kerr
5c26afdb52 happy new year! 2010-01-04 21:00:47 +00:00
Charles Kerr
78ead8c3dd (trunk) update the copyright notices 2009-12-05 02:19:24 +00:00
Charles Kerr
a82cccadab (trunk daemon) #2220 truncated pointer interpreted as truth value 2009-06-17 14:49:23 +00:00
Charles Kerr
924ac89f8d (trunk) set properties on $Id$ files that were missing them 2009-06-05 17:52:02 +00:00
Charles Kerr
bd0a4ab5bb (trunk daemon) #2149: daemon's non-inotify watchdir fails on .torrents with old timestamps 2009-06-05 17:02:29 +00:00
Charles Kerr
b564fb2d7a oops, I left in the #undef WITH_INOTIFY that I was using to test the readdir() implementation... 2009-03-01 15:39:50 +00:00
Charles Kerr
05bc8472dc (trunk daemon) #1882: take KyleK's suggestion of using inotify when possible. As he writes, "the opendir() approach will basically prevent my NAS drives to go to standby." 2009-03-01 15:38:58 +00:00