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
e5bb3205a1
(trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :)
2010-12-27 19:18:17 +00:00
Charles Kerr
a16fb94756
(trunk libT) #3813 "libtransmission doesn't build on Solaris 10 because of strsep call()" -- fixed.
2010-12-08 14:57:34 +00:00
Charles Kerr
0a323ac019
(trunk libT) #3584 "minor valgrind warning in makemeta.c" -- fixed.
2010-10-17 22:28:28 +00:00
Daniel Lee
9cc56f3c7c
(libt) r11244 introduced a regression when making single file torrents
2010-09-30 05:22:33 +00:00
Charles Kerr
51a61bc1da
(trunk libT) #3562 ".torrent files are created incorrectly when the content is a single file inside a subdirectory" -- fixed.
2010-09-21 16:58:15 +00:00
Charles Kerr
b5e93da8f4
(trunk T) #3404 "crash when creating a .torrent containing empty content" -- fixed
2010-07-07 22:50:18 +00:00
Charles Kerr
2c85178f9b
(trunk libT) fix a few -Wconversion warnings
2010-07-01 15:14:35 +00:00
Charles Kerr
82f0ec7413
(trunk libT) #3297 "tr_makemeta() should use tr_open_file_for_scanning()" -- implemented in trunk for 2.10
2010-06-16 14:01:03 +00:00
Charles Kerr
0051b8a110
re-tweak the previous commit based on feedback from kklimonda
2010-05-06 17:02:31 +00:00
Charles Kerr
2ea9f78eff
(trunk libT) tweak MAX_PATH_LENGTH a little for better portability -- defer to limits.h's definition when present
2010-05-06 15:07:18 +00:00
Charles Kerr
74216be9df
(trunk libT) "transmission.h" should *always* be #included before any other libtransmission header
2010-04-23 16:36:16 +00:00
Charles Kerr
6d639f354b
(trunk libT) use tr_valloc() in a couple of places where we allocate largish, short-term buffers
2010-02-23 07:29:21 +00:00
Charles Kerr
5a9a07b71e
(trunk) #2938 "crash when adding a torrent by URL from an ftp source over RPC" -- fixed in trunk for 1.91
2010-02-20 15:57:05 +00:00
Mitchell Livingston
48d8d43c92
#2765 ignore case when ordering the file list in a newly-generated torrent file
2010-01-25 05:06:54 +00:00
Charles Kerr
8e16b74dad
(trunk libT) #2775 "Saving some memory/storage" -- committed for 1.80
2010-01-20 18:48:52 +00:00
Charles Kerr
0f19dbd600
(trunk libT) #2740 "sefault in torrent creating" -- fixed for 1.80
2010-01-10 02:40:22 +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
9b9c910d67
when creating a new torrent and a tracker announce URL can't be parsed, set a variable so that the client can learn which announce URL was the bad one
2009-09-17 01:18:59 +00:00
Charles Kerr
1bc1b16da7
(trunk libtransmission) #2227 : tr_metaInfoBuilderCreate(topFile) creates invalid .torrent files when topFile ends with a '/'
2009-06-20 00:39:30 +00:00
Charles Kerr
9238fb0299
(trunk) #2131 : clean up benc read/write API
2009-06-02 01:48:48 +00:00
Charles Kerr
d1c6956598
(trunk) tr_metaInfoBuilderCreate() doesn't need a tr_session* handle anymore
2009-04-08 18:47:48 +00:00
Charles Kerr
fe816d8135
(trunk) update the GPL code's copyright dates
2009-01-10 23:09:07 +00:00
Charles Kerr
2eb2dacd50
(trunk libT) Fix sparse warnings: symbol 'XXX' shadows an earlier one
2009-01-01 18:38:49 +00:00
Charles Kerr
dfcc9173e5
(trunk libT) #include "session.h" cleanup from wereHamster
2008-12-23 17:27:15 +00:00
Charles Kerr
9594112d27
updated email address
2008-12-16 00:20:44 +00:00
Charles Kerr
788b397ecc
(trunk libT) more semantic cleanup: tr_handle->tr_session, int->tr_bool, int->tr_port
2008-12-14 11:21:11 +00:00
Charles Kerr
fc99ff6881
(libT) add some extra gcc safeguards. fix a couple of compiler warnings in makemeta
2008-10-22 17:14:50 +00:00
Charles Kerr
b04be5fb2e
make MAX_PATH_LENGTH private to libtransmission. add tr_dirname() and tr_basename() utility / portability wrappers
2008-10-14 03:39:16 +00:00
Charles Kerr
e3a5524189
have tr_buildPath() allocate memory from the heap rather than using an input buffer
2008-10-14 03:03:29 +00:00
Charles Kerr
4caac75646
(libT) #1267 : when making new torrents, don't allow 0-byte files
2008-09-28 16:02:13 +00:00
Charles Kerr
cc89872dd4
run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened
2008-09-23 19:11:04 +00:00
Charles Kerr
dcecf09d96
bencode cleanup: remove unused functions and unnecessary #includes
2008-08-21 14:57:59 +00:00
Charles Kerr
fb6db8d5ef
readability tweak: remove thread names. (muks)
2008-08-12 14:03:03 +00:00
Charles Kerr
51aff87443
lots of C correctness tweaks suggested by sparse/cgcc
2008-08-11 19:05:02 +00:00
Charles Kerr
05e80bea43
(libT) #1179 : when creating a torrent, don't add an announce-list if there's only one tracker
2008-08-11 17:29:53 +00:00
Charles Kerr
17cde72891
(libT) #1176 : memory leaks in libtransmission
2008-08-11 17:00:23 +00:00
Charles Kerr
efadcd8926
#1155 : when creating new torrents > 2 GiB, piece size should be 2 MiB
2008-08-07 19:25:19 +00:00
Charles Kerr
b860119cd3
minor text cleanup
2008-08-01 16:43:22 +00:00
Charles Kerr
2f239319b0
add a portability wrapper ``tr_snprintf()'' around snprintf()
2008-07-15 17:16:57 +00:00
Charles Kerr
8db94c5862
#224 (creating multi-tracker torrents): add multitracker support in libT's makemeta API, and in the gtk+ interface. This probably breaks the mac build...
2008-06-01 05:36:23 +00:00
Charles Kerr
36223c112e
#971 : transmission can't create torrent with empty "Announce URL"
2008-05-27 21:55:57 +00:00
Charles Kerr
2c79888a93
RPC/IPC redesign
2008-05-18 16:44:30 +00:00
Charles Kerr
7b25d0476c
remove occurrences of "if( 1 )"
2008-05-06 20:31:05 +00:00
Charles Kerr
b9c27b23d5
#884 : fix after creating a torrent whose last file has 0 bytes
2008-04-27 19:08:10 +00:00
Charles Kerr
c88aa6135d
benc cleanup
2008-04-18 16:23:59 +00:00
Charles Kerr
101307ddff
fix a couple more minor leaks
2008-04-17 19:54:22 +00:00
Charles Kerr
77abc21659
tidy up some libtransmission filenames.
2008-04-11 17:01:13 +00:00
Charles Kerr
fd0e71c00a
hack on IPC a bit because it's been too long since I broke it
2008-04-03 21:38:32 +00:00
Charles Kerr
39a7583f82
rename tr_httpParseUrl() -> tr_httpParseURL()
2008-03-24 19:29:25 +00:00
Charles Kerr
919eefe456
rework the makemeta error messages so that they can be i18nized on the client end.
2008-03-24 17:18:08 +00:00
Charles Kerr
910d77ae12
( #814 ) require a valid announce URL when creating torrents
2008-03-24 15:58:06 +00:00
Charles Kerr
7200b27a18
lots more i18n string work -- making strings more consistent, folding redundant strings together, etc.
2008-03-07 20:48:36 +00:00
Charles Kerr
84a8592d1d
first cut at adding i18n hooks into libtransmission.
2008-03-04 02:02:25 +00:00
Charles Kerr
d712545433
don't crash in makemeta when trying to build a torrent from files you don't have read access to. (wereHamster)
2008-03-02 19:42:45 +00:00
Charles Kerr
8cc587a66f
more housekeeping: benc_val_t --> tr_benc
2008-02-26 21:58:58 +00:00
Charles Kerr
e053f6c59d
#714 : libT creates invalid torrent files when given makemeta is given a non-absolute pathname
2008-02-20 11:36:42 +00:00
Charles Kerr
cfe068876e
remove unnecessary #includes
2008-02-19 18:39:49 +00:00
Charles Kerr
deaeb24cb5
cleanup #includes for errno & strerror
2008-02-19 04:16:04 +00:00
Charles Kerr
ce6c33b7bf
set copyright info to 2008
2008-01-01 17:20:20 +00:00
Charles Kerr
fd430fde90
undoing the r3773-r3774 experiment.
2007-11-09 20:07:52 +00:00
Charles Kerr
67b719c2de
on Darwin, use NSCParameterAssert() instead of assert().
2007-11-09 19:50:40 +00:00
Charles Kerr
60aab6c433
remove libtransmission code that duplicates functionality in libevent
2007-11-06 21:14:30 +00:00
Charles Kerr
aace9469bb
fix compile warning
2007-10-30 20:11:23 +00:00
Charles Kerr
18de1db5b5
integral sign correctness in makemeta
2007-10-26 03:16:27 +00:00
Charles Kerr
d96ed80aa2
(1) fix a bug in torrent creation. (2) fix a bug in torrent paths on startup in gtk
2007-10-14 03:26:13 +00:00
Charles Kerr
5c11c58113
simplify libT locks now that it's (more-or-less) single-threaded. fix deadlocks. make tr_locks nestable.
2007-10-01 15:17:15 +00:00
Charles Kerr
fb70a9cca0
remove the backwards compatability typedefs at BentMyWookie's suggestion. update libT, gtk, daemon, and cli accordingly...
2007-09-20 20:14:13 +00:00
Mitchell Livingston
76da1185ca
merge encryption branch to trunk (xcode project is still out of date)
2007-09-20 16:32:01 +00:00
Charles Kerr
ea49180f94
$Id$
2007-08-18 17:19:49 +00:00
Charles Kerr
9acf79d665
(trunk) make torrent creation's piece size more flexible. (ticket #293 reported by matt)
2007-08-13 13:57:12 +00:00
Charles Kerr
88fe038e6e
(libT) not all libT source files need to #include sha1/openssl, just three of them. Also, no need to compile a local sha1 implementation if we're using openssl's.
2007-07-30 19:55:10 +00:00
Charles Kerr
d209052051
add portability wrapper for in_port_t...
2007-07-30 18:04:10 +00:00
Charles Kerr
ebb141b232
better encapsulation of platform-specific constructs: tr_thread_t, tr_cond_t, tr_lock_t
2007-07-30 15:27:52 +00:00
Charles Kerr
e07d0220a9
this looks bug but it's not: just janitorial cleanup, moving #includes from headers into source file
2007-07-29 18:11:21 +00:00
Mitchell Livingston
a459ba3a74
make values in newly created .torrent files alphabetically sorted
2007-07-25 01:00:17 +00:00
Charles Kerr
5455df4373
update versioning scheme as per consensus between TMT, John_Clay, Gimp_, and charles_
2007-07-10 19:40:21 +00:00
Eric Petit
26b837ffc0
Adds basename/dirname implementation for platforms that lack it (BeOS...)
2007-07-10 11:30:11 +00:00
Charles Kerr
b79beeff66
clean up #includes a bit.
2007-07-09 20:10:42 +00:00
Charles Kerr
73af49bd08
don't crash when creating a single-file torrent of a zero-byte file. Reported by BentMyWookie.
2007-07-06 18:24:54 +00:00
Charles Kerr
432c26d353
Fix makemeta infinite loop reported by BentMyWookie
2007-07-01 14:04:18 +00:00
Charles Kerr
9b65364dcc
fix divide by zero bug in makemeta code, calculating number of pieces for a zero-sized file. (SoftwareElves)
2007-06-29 02:53:12 +00:00
Charles Kerr
47a5ff4120
add tr_torrentCanAdd() as per BentMyWookie's request... clear tracker error string when restarting... fix r2202 "completed" announce bug.
2007-06-27 05:14:38 +00:00
Charles Kerr
5401979ffa
misc cleanup.. ansification; fix my own typos, etc...
2007-06-22 04:30:39 +00:00
Charles Kerr
bda9067ee7
more improvements to makemeta's piece size heuristics (SoftwareElves & charles_)
2007-06-19 16:36:15 +00:00
Charles Kerr
d4e1c19e32
better algorithm to decide on a good piece size. (SoftwareElves & charles_)
2007-06-19 06:01:30 +00:00
Charles Kerr
64ce2edbfb
* makemeta: don't add dotfiles to the torrents
...
* bencode: trying to chase down a memory leak
2007-06-19 01:49:56 +00:00
Charles Kerr
4eea50e991
ugly code removal: we were calling stat() three times on each file! (BMW: builder struct changed slightly... this shouldn't affect the mac client but you might want to recompile to confirm)
2007-06-19 00:08:39 +00:00
Charles Kerr
06e761d950
* fix error checking large files reported by Gimp_
...
* portability changes to pathname/filename building
* small gratuitous changes
2007-06-18 19:39:52 +00:00
Mitchell Livingston
0256f4616d
Merge file selection and torrent creation into the main branch.
...
The new code for these features is under a new license.
2007-06-18 03:40:41 +00:00