Charles Kerr
|
73d77f8418
|
add a couple of benc utility functions
|
2008-05-08 03:25:21 +00:00 |
Charles Kerr
|
1b901ca9df
|
minor tweaks: dead code removal, make functions static, etc
|
2008-04-22 20:51:15 +00:00 |
Charles Kerr
|
c88aa6135d
|
benc cleanup
|
2008-04-18 16:23:59 +00:00 |
Charles Kerr
|
87a77ea331
|
more hacking on the bencoded resume files
|
2008-04-15 17:00:44 +00:00 |
Charles Kerr
|
7f89ee3db2
|
silence a couple of annoying dbg messages
|
2008-04-14 20:06:37 +00:00 |
Charles Kerr
|
afde752dc0
|
'resume' cleanup
|
2008-04-14 11:52:50 +00:00 |
Charles Kerr
|
4843187f6c
|
#394: resume files should use original name instead of hash name
|
2008-04-13 22:31:07 +00:00 |
Charles Kerr
|
0080f1abe8
|
ipc/daemon cleanup
|
2008-04-04 17:19:44 +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
|
a331582ec0
|
string folding
|
2008-03-30 13:52:55 +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
|
0e10715b5e
|
new function: tr_bencSaveAsSerializedPHP()
|
2008-03-04 19:29:51 +00:00 |
Charles Kerr
|
84a8592d1d
|
first cut at adding i18n hooks into libtransmission.
|
2008-03-04 02:02:25 +00:00 |
Charles Kerr
|
6b1001600b
|
remove scaffolding that was accidentally committed in r5183 a few minutes ago
|
2008-03-02 19:55:04 +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
|
beb7cc0b92
|
minor code cleanup
|
2008-02-02 16:23:49 +00:00 |
Charles Kerr
|
3334ea8401
|
fix the 1.04 bencode errors reported in the forums this morning. add regression tests.
|
2008-02-01 15:50:17 +00:00 |
Charles Kerr
|
606d548514
|
clarity tweaks to variable & function names
|
2008-02-01 01:54:04 +00:00 |
Charles Kerr
|
375949551b
|
more graceful handling of bad inputs to tr_bencFree(), tr_bencSave(), and tr_bencPrint().
|
2008-01-31 15:20:42 +00:00 |
Charles Kerr
|
b5e119f1ea
|
bencode tweaks.
|
2008-01-31 06:00:57 +00:00 |
Charles Kerr
|
784e0babda
|
fix off-by-one that was uncovered by the new benc's stricter parsing.
|
2008-01-31 03:09:27 +00:00 |
Charles Kerr
|
df9bd1f713
|
#667: remote crash exploit in bencode parser
|
2008-01-31 02:24:43 +00:00 |
Charles Kerr
|
410dffd211
|
part 1 of the bencode exploit fix:
- better error checking for int & string parsing
- add automated unit tests
|
2008-01-30 15:39:41 +00:00 |
Charles Kerr
|
ce6c33b7bf
|
set copyright info to 2008
|
2008-01-01 17:20:20 +00:00 |
Charles Kerr
|
287975caf5
|
the torrent ctor is here.
|
2007-12-21 22:18:40 +00:00 |
Charles Kerr
|
91e672d428
|
some progress on the overall statistics, though probably not visible to end users yet
|
2007-11-21 20:03:53 +00:00 |
Charles Kerr
|
787d2b800c
|
fix benocde crash reported by Gimp_
|
2007-11-16 06:37:01 +00:00 |
Charles Kerr
|
b6b339e25a
|
fix bencode crash reported earlier today by Gimp_, and possibly also by tiennou
|
2007-11-16 03:32:42 +00:00 |
Charles Kerr
|
815fb89b91
|
fix torrent metafile creation error introduced in trunk in r3735 and reported by tiennou in ticket #478
|
2007-11-15 15:07:05 +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
|
71f4efcbad
|
update our #includes now that libevent has cleaned up event.h
|
2007-11-07 18:26:19 +00:00 |
Charles Kerr
|
b43bb1483d
|
fix libevent #include quirk reported by SoftwareElves
|
2007-11-07 03:13:04 +00:00 |
Charles Kerr
|
229102a196
|
more libevent fun. good thing the mac build is broken or I'd've been getting bug reports on this instead :)
|
2007-11-06 23:23:47 +00:00 |
Charles Kerr
|
60aab6c433
|
remove libtransmission code that duplicates functionality in libevent
|
2007-11-06 21:14:30 +00:00 |
Charles Kerr
|
e3764e732b
|
fix possible benc leak reported by MishaS (#441)
|
2007-11-01 18:44:37 +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
|
d209052051
|
add portability wrapper for in_port_t...
|
2007-07-30 18:04:10 +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 |
Charles Kerr
|
e8fb29ea44
|
fix compiler warnings reported by wereHamster
|
2007-07-25 17:27:19 +00:00 |
Charles Kerr
|
790476ac23
|
clean up #includes a bit.
|
2007-07-12 17:51:45 +00:00 |
Charles Kerr
|
b79beeff66
|
clean up #includes a bit.
|
2007-07-09 20:10:42 +00:00 |
Charles Kerr
|
a62302d709
|
Better handling of malformed bencoded strings. Thanks to cluthi81 for reporting this.
|
2007-07-06 20:43:17 +00:00 |
Charles Kerr
|
3d7f38fa68
|
get the bencoded text compliant with the bittorrent spec w.r.t. dictionaries: "keys must be strings and appear in sorted order (sorted as raw strings, not alphanumerics)."
|
2007-06-29 02:27:00 +00:00 |
Charles Kerr
|
5128d0a434
|
fix terribly nasty bencode corruption bug from r2024 regarding the sorting of dictionary keys in tr_bencDictAdd(). this corrupts all the pointers that are already floating out there to existing values in the dictionary... if BitTornado really needs these to be sorted, then we should sort a temporary copy in tr_bencSave(), not here in our internal structures.
|
2007-06-19 03:01:57 +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 |
Eric Petit
|
ba5bb320ca
|
Bencoded dictionaries are now sorted alphabetically, this should fix
compatibility with some clients, incl. BitTornado-based ones.
(Reported by roee88 from LH-ABC)
|
2007-06-10 15:38:58 +00:00 |
Josh Elsasser
|
a3ca76cced
|
Don't bencode signed integers as unsigned.
|
2007-05-09 07:00:08 +00:00 |
Josh Elsasser
|
6f1c25a22e
|
Don't use uninitialized variables.
|
2007-04-18 16:41:37 +00:00 |