Charles Kerr
|
1c3f3acbca
|
(trunk) add an option to the JSON generator to disable the human-readable indentations. Keep indenting the data files such as settings.json, but don't indent the messages used for RPC. This cuts the cost of deflate()ing those RPC messages by about 80%...
|
2009-05-16 05:51:52 +00:00 |
|
Charles Kerr
|
dce5997f29
|
(trunk) fix another new bencode bug. add some more unit tests for benc.
|
2009-04-05 23:16:45 +00:00 |
|
Charles Kerr
|
f4557fab8e
|
(trunk) use tr_bencDict{Find,Add}Bool() where appropriate
|
2009-03-29 23:05:32 +00:00 |
|
Charles Kerr
|
13c22f88ff
|
(trunk libT) fix some code that the newly-added gcc warnings didn't like
|
2009-01-23 18:44:15 +00:00 |
|
Charles Kerr
|
6bec82d0a6
|
(trunk libT) have tr_bencSaveAsJSON() use an evbuffer
|
2008-12-30 22:07:39 +00:00 |
|
Charles Kerr
|
72b9845a5e
|
(trunk libT) #1559 (partial): add tr_bencDictMerge() + unit tests. patch by KyleK and charles_
|
2008-12-12 02:12:17 +00:00 |
|
Charles Kerr
|
4fab4c9e9b
|
(libT) finish killing tr_errno.
|
2008-10-03 04:49:06 +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 |
|
Mukund Sivaraman
|
64c9e8aabc
|
(win32) Stack smash test fails with too much depth on win32
|
2008-09-06 07:26:25 +00:00 |
|
Charles Kerr
|
2d2d173275
|
(libT) avoid an unnecessary memory alloc
|
2008-08-21 18:40:40 +00:00 |
|
Charles Kerr
|
dcecf09d96
|
bencode cleanup: remove unused functions and unnecessary #includes
|
2008-08-21 14:57:59 +00:00 |
|
Charles Kerr
|
6e23743c33
|
(libT) do proper JSON escaping
|
2008-08-19 23:11:35 +00:00 |
|
Charles Kerr
|
51aff87443
|
lots of C correctness tweaks suggested by sparse/cgcc
|
2008-08-11 19:05:02 +00:00 |
|
Charles Kerr
|
17cde72891
|
(libT) #1176: memory leaks in libtransmission
|
2008-08-11 17:00:23 +00:00 |
|
Charles Kerr
|
2f239319b0
|
add a portability wrapper ``tr_snprintf()'' around snprintf()
|
2008-07-15 17:16:57 +00:00 |
|
Charles Kerr
|
90e151cd4d
|
(rpc) make our generated JSON more human-readable.
|
2008-05-22 16:41:16 +00:00 |
|
Charles Kerr
|
7beacb3032
|
(1) RPC "add-torrent" now lets clients embed base64-encoded metainfo directly into the request
(2) remove the RISON code; it didn't make the final cut
(3) add base64 encode/decode utilities and unit tests
|
2008-05-20 17:33:54 +00:00 |
|
Charles Kerr
|
2c79888a93
|
RPC/IPC redesign
|
2008-05-18 16:44:30 +00:00 |
|
Charles Kerr
|
bfd89b685d
|
more work on rpc. bug fixes, regression tests, and spec tweaks.
|
2008-05-13 17:31:09 +00:00 |
|
Charles Kerr
|
6aaa2fd39e
|
fix bug in the benc-to-json converter.
add rison-to-json converter so we can pass commands to transmission in a uri.
add unit tests for the new code.
|
2008-05-13 12:52:58 +00:00 |
|
Charles Kerr
|
911bce88c9
|
add benc-to-json conversion + unit tests.
|
2008-05-12 17:54:57 +00:00 |
|
Charles Kerr
|
73d77f8418
|
add a couple of benc utility functions
|
2008-05-08 03:25:21 +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
|
24d35e7098
|
added tr_blocklistGetRuleCount().
|
2008-03-30 00:00:28 +00:00 |
|
Charles Kerr
|
0e10715b5e
|
new function: tr_bencSaveAsSerializedPHP()
|
2008-03-04 19:29:51 +00:00 |
|
Charles Kerr
|
8cc587a66f
|
more housekeeping: benc_val_t --> tr_benc
|
2008-02-26 21:58:58 +00:00 |
|
Charles Kerr
|
d3047158be
|
more unit tests for bounds-checking on incomplete bencoded data
|
2008-02-01 21:53:01 +00:00 |
|
Charles Kerr
|
b98a927a9a
|
add more benc unit tests.
|
2008-02-01 17:33: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
|
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
|
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 |
|