1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 17:47:37 +00:00
Commit graph

16 commits

Author SHA1 Message Date
Charles Kerr
9238fb0299 (trunk) #2131: clean up benc read/write API 2009-06-02 01:48:48 +00:00
Charles Kerr
7f85090587 (trunk) add a "source" argument to tr_jsonParse() so that if there's an error we can log the filename, or that it came from rpc, etc. 2009-06-01 18:57:37 +00:00
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
b5a6f8a013 (trunk libT) #1845: if settings.json is empty, T crashes with "Assertion: tr_bencIsDict( source ) failed" 2009-02-18 16:47:27 +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
1bcc998694 (trunk libT) fix a couple of minor memory leaks 2008-12-30 22:19:52 +00:00
Charles Kerr
6bec82d0a6 (trunk libT) have tr_bencSaveAsJSON() use an evbuffer 2008-12-30 22:07:39 +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
6e23743c33 (libT) do proper JSON escaping 2008-08-19 23:11:35 +00:00
Charles Kerr
812b6a1218 roll back the last two diffs (r6582 and r6583) in favor of a simpler/cleaner/better fix 2008-08-18 03:44:09 +00:00
Charles Kerr
0396d9691f (libT) better handling of non-ascii characters when parsing JSON files 2008-08-18 03:10:59 +00:00
Charles Kerr
51aff87443 lots of C correctness tweaks suggested by sparse/cgcc 2008-08-11 19:05:02 +00:00
Charles Kerr
2c79888a93 RPC/IPC redesign 2008-05-18 16:44:30 +00:00
Charles Kerr
e607f26893 add json-to-benc parser 2008-05-11 22:42:53 +00:00