1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-21 21:57:01 +00:00
transmission/libtransmission
Charles Kerr 96f76999aa
feat: add "table" format in torrent-get RPC (#1049)
* feat: add optional "format" arg to torrent-get RPC

If the "format" request was "objects" (default), "torrents" will be an
array of objects, each of which contains the key/value pairs matching
the request's "fields" arg. This is unchanged from previous versions.

If the format was "table", then "torrents" will be an array of arrays.
The first row holds the keys and each remaining row holds a torrent's
values for those keys. This format is more efficient in terms of JSON
generation and JSON parsing.
2019-11-09 17:02:23 -06:00
..
announcer-common.h feat: make multiscrape limits adaptive (#837) 2019-02-16 15:19:38 -05:00
announcer-http.c Introduce tr_str_is_empty to relay intent better 2019-07-13 12:00:06 +03:00
announcer-udp.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
announcer.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
announcer.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
bandwidth.c Uppercase the literal suffixes 2019-03-17 07:07:48 +03:00
bandwidth.h Uppercase the literal suffixes 2019-03-17 07:07:48 +03:00
bitfield-test.c Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
bitfield.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
bitfield.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
blocklist-test.c (squash later) test rule count 2018-10-17 10:26:05 -04:00
blocklist.c Fixup some formatting leftovers 2019-02-16 10:50:37 +03:00
blocklist.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
cache.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
cache.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
clients-test.c Add Peer ID for Baidu Netdisk 2017-08-26 11:11:31 +05:30
clients.c Cleanup duplicates in clients.c (#991) 2019-10-21 08:20:40 -05:00
clients.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
CMakeLists.txt fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
completion.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
completion.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
ConvertUTF.c #6064: Merge ConvertUTF.c fixes from LLVM (?) 2016-02-06 22:05:22 +00:00
ConvertUTF.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
crypto-test-ref.h Load CA certs from system store on Windows / OpenSSL 2019-06-23 11:59:53 +03:00
crypto-test.c Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
crypto-utils-cyassl.c Load CA certs from system store on Windows / OpenSSL 2019-06-23 11:59:53 +03:00
crypto-utils-fallback.c Load CA certs from system store on Windows / OpenSSL 2019-06-23 11:59:53 +03:00
crypto-utils-openssl.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
crypto-utils-polarssl.c Load CA certs from system store on Windows / OpenSSL 2019-06-23 11:59:53 +03:00
crypto-utils.c Simplify tr_ssha1_matches logic 2018-01-17 01:17:50 +03:00
crypto-utils.h Load CA certs from system store on Windows / OpenSSL 2019-06-23 11:59:53 +03:00
crypto.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
crypto.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
error-test.c Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
error-types.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
error.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
error.h fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
fail.sh Refactor shell scripts with syntax and styling fixes 2019-01-16 03:22:29 +08:00
fdlimit.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
fdlimit.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
file-posix.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
file-test.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
file-win32.c Use explicit boolean conversions (follow-up) 2019-07-14 22:57:40 +03:00
file.c Attempt to explain something to Coverity 2019-03-13 05:32:35 +03:00
file.h fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
handshake.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
handshake.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
history-test.c Transform check_int_eq into generic check_int (libtest) 2017-05-30 17:51:50 +03:00
history.c Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +03:00
history.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
inout.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
inout.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
json-test.c Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
jsonsl.c (trunk, libT) allocate in jsonsl, allocate jpr_root using the correct integral type. upstream xref: https://github.com/mnunberg/jsonsl/issues/6 2013-12-16 16:32:55 +00:00
jsonsl.h
libt.dox
libtransmission-test.c Remove side effects from right hand operands of && or || 2019-03-17 09:09:08 +03:00
libtransmission-test.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
list.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
list.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
log.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
log.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
magnet-test.c Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
magnet.c Introduce tr_str_is_empty to relay intent better 2019-07-13 12:00:06 +03:00
magnet.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
Makefile.am Add support for mbedtls (formely polarssl) 2018-02-23 20:46:39 -08:00
makemeta-test.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
makemeta.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
makemeta.h Code style change leftovers 2017-04-21 10:40:57 +03:00
metainfo-test.c Fully cover tr_metainfo_sanitize_path_component 2019-06-24 06:32:38 +03:00
metainfo.c Introduce tr_str_is_empty to relay intent better 2019-07-13 12:00:06 +03:00
metainfo.h Sanitize suspicious path components instead of rejecting them 2019-06-23 18:08:31 +03:00
move-test.c Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +03:00
natpmp.c Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
natpmp_local.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
net.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
net.h Unify/Modernize TOS to DSCP standards (#737) 2019-07-21 14:09:04 +03:00
peer-common.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
peer-io.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
peer-io.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
peer-mgr.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
peer-mgr.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
peer-msgs-test.c Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
peer-msgs.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
peer-msgs.h Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
peer-socket.h Introduce peer socket struct to improve readability 2017-06-28 18:50:05 +03:00
platform-quota.c Update Uncrustify config to 0.69 2019-07-15 02:30:41 +03:00
platform-quota.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
platform.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
platform.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
port-forwarding.c Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +03:00
port-forwarding.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
ptrarray.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
ptrarray.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
quark-test.c Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
quark.c feat: add "table" format in torrent-get RPC (#1049) 2019-11-09 17:02:23 -06:00
quark.h feat: add "table" format in torrent-get RPC (#1049) 2019-11-09 17:02:23 -06:00
rename-test.c Go back to using hash as base name for resume and torrent files 2017-07-26 21:32:26 +03:00
resume.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
resume.h Add labels feature (#822) 2019-02-17 04:33:57 -05:00
rpc-server.c Introduce tr_str_is_empty to relay intent better 2019-07-13 12:00:06 +03:00
rpc-server.h mitigate dns rebinding attacks against daemon 2018-01-16 01:12:56 +03:00
rpc-test.c Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
rpcimpl.c feat: add "table" format in torrent-get RPC (#1049) 2019-11-09 17:02:23 -06:00
rpcimpl.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
session-id.c Fix a number of other style inconsistencies met along the way 2017-04-30 19:33:55 +03:00
session-id.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
session-test.c Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
session.c Unify/Modernize TOS to DSCP standards (#737) 2019-07-21 14:09:04 +03:00
session.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
stats.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
stats.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
subprocess-posix.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
subprocess-test.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
subprocess-test.cmd Refactor completion scripts execution 2017-11-28 10:03:08 +03:00
subprocess-win32.c Introduce tr_str_is_empty to relay intent better 2019-07-13 12:00:06 +03:00
subprocess.h Refactor completion scripts execution 2017-11-28 10:03:08 +03:00
torrent-ctor.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
torrent-magnet.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
torrent-magnet.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
torrent.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
torrent.h fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
tr-assert.c Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +03:00
tr-assert.h Move generic macros to a separate tr-macros.h file 2017-06-18 17:11:20 +03:00
tr-dht.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
tr-dht.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
tr-getopt-test.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
tr-getopt.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
tr-getopt.h Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
tr-lpd.c Update Uncrustify config to 0.69 2019-07-15 02:30:41 +03:00
tr-lpd.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
tr-macros.h fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
tr-udp.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
tr-udp.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
tr-utp.c Move uTP timer to session struct 2017-07-02 13:31:33 +03:00
tr-utp.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
transmission.h fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
trevent.c Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +03:00
trevent.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
upnp.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
upnp.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
utils-test.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
utils.c Increase the buffer size used in tr_moveFile (#933) 2019-11-06 09:46:13 -06:00
utils.h fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
variant-benc.c fix: Coverity warnings (#842) 2019-02-18 22:38:24 +00:00
variant-common.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
variant-json.c Extract assignments from expression 2019-03-17 08:00:15 +03:00
variant-test.c Introduce tr_str_is_empty to relay intent better 2019-07-13 12:00:06 +03:00
variant.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
variant.h Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
verify.c Rename tr_sys_file_prefetch to tr_sys_file_advise 2017-07-08 16:09:37 +03:00
verify.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
version.h.in Adjust CFBundleVersion format to fix Sparkle update check 2018-04-17 13:25:49 +03:00
watchdir-common.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
watchdir-generic.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
watchdir-inotify.c fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
watchdir-kqueue.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
watchdir-test.c Use field initializers for readability 2017-06-24 13:30:33 +03:00
watchdir-win32.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
watchdir.c Use field initializers for readability 2017-06-24 13:30:33 +03:00
watchdir.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
web.c Load CA certs from system store on Windows / OpenSSL 2019-06-23 11:59:53 +03:00
web.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
webseed.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
webseed.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
wildmat.c