transmission/libtransmission
qu1ck 7aa12a025d Add labels feature (#822)
* applied changes from https://github.com/Elbandi/transmission/tree/elbandi/labels to official transmission repo

* Fix compilation errors

* Address review comments

Changed `tr_ptrArray* labels` to `tr_ptrArray labels`;
Removed tr_ptrArrayNew() tr_ptrArrayDup() tr_ptrArrayFree()
Use tr_strsep() to split string by delimiters
Update transmission-remote.1
Update rpc-spec.txt

* Fix warning, address comments

* Rebase, fix formatting and address comments

Use uncrustify to format changed files
Fix "const <type>" -> "<type> const"
Fix small comments

* Lock torrent for setLabels, check for duplicates

* Check for empty labels in daemon

* Stop on first error
2019-02-17 04:33:57 -05:00
..
CMakeLists.txt Add support for mbedtls (formely polarssl) 2018-02-23 20:46:39 -08: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
Makefile.am Add support for mbedtls (formely polarssl) 2018-02-23 20:46:39 -08:00
announcer-common.h feat: make multiscrape limits adaptive (#837) 2019-02-16 15:19:38 -05:00
announcer-http.c Reduce code duplication in logging macros 2017-05-22 23:20:28 +03:00
announcer-udp.c Don't switch trackers while announcing 2018-01-17 01:09:07 +03:00
announcer.c feat: make multiscrape limits adaptive (#837) 2019-02-16 15:19:38 -05:00
announcer.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
bandwidth.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
bandwidth.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +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 field initializers for readability 2017-06-24 13:30:33 +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 Add Peer ID for Baidu Netdisk 2017-08-26 11:11:31 +05:30
clients.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
completion.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
completion.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
crypto-test-ref.h Get rid of $Id$ SVN keywords in source files 2016-09-02 23:10:15 +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 Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
crypto-utils-fallback.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
crypto-utils-openssl.c Fix build with LibreSSL 2.7 2018-04-06 22:17:41 +03:00
crypto-utils-polarssl.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
crypto-utils.c Simplify `tr_ssha1_matches` logic 2018-01-17 01:17:50 +03:00
crypto-utils.h Code style change leftovers 2017-04-21 10:40:57 +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 Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
error.h Move generic macros to a separate tr-macros.h file 2017-06-18 17:11:20 +03:00
fail.sh Refactor shell scripts with syntax and styling fixes 2019-01-16 03:22:29 +08:00
fdlimit.c Switch to HTTPS links, adjust wiki links where possible 2018-01-16 01:12:59 +03:00
fdlimit.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
file-posix.c Refactor completion scripts execution 2017-11-28 10:03:08 +03:00
file-test.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
file-win32.c Fix UNC paths resolution on Windows 2018-01-24 23:45:08 +03:00
file.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
file.h Refactor completion scripts execution 2017-11-28 10:03:08 +03:00
handshake.c Abort handshake if establishing DH shared secret fails 2018-01-15 23:51:44 +03: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) update our jsonsl snapshot 2013-01-21 01:26:59 +00:00
libt.dox
libtransmission-test.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
libtransmission-test.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
list.c Use field initializers for readability 2017-06-24 13:30:33 +03:00
list.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
log.c Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +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 Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
magnet.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
makemeta-test.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
makemeta.c Don't crash if path passed to tr-create doesn't exist 2018-01-24 23:45:13 +03:00
makemeta.h Code style change leftovers 2017-04-21 10:40:57 +03:00
metainfo-test.c Fixup some formatting leftovers 2019-02-16 10:50:37 +03:00
metainfo.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
metainfo.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +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 Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
net.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +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 Improve ToS on IPv6 connections 2017-08-03 06:30:54 +03:00
peer-io.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
peer-mgr.c Fixup some formatting leftovers 2019-02-16 10:50:37 +03: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 Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
peer-msgs.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
peer-socket.h Introduce peer socket struct to improve readability 2017-06-28 18:50:05 +03:00
platform-quota.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
platform-quota.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
platform.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03: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 Add labels feature (#822) 2019-02-17 04:33:57 -05:00
quark.h Add labels feature (#822) 2019-02-17 04:33:57 -05: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 Add labels feature (#822) 2019-02-17 04:33:57 -05:00
resume.h Add labels feature (#822) 2019-02-17 04:33:57 -05:00
rpc-server.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +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 Add labels feature (#822) 2019-02-17 04:33:57 -05: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 mitigate dns rebinding attacks against daemon 2018-01-16 01:12:56 +03:00
session.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
stats.c Use field initializers for readability 2017-06-24 13:30:33 +03:00
stats.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
subprocess-posix.c Refactor completion scripts execution 2017-11-28 10:03:08 +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 Refactor completion scripts execution 2017-11-28 10:03:08 +03:00
subprocess.h Refactor completion scripts execution 2017-11-28 10:03:08 +03:00
torrent-ctor.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
torrent-magnet.c Bring assertions closer to the beginning of blocks 2017-06-13 07:44:09 +03:00
torrent-magnet.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
torrent.c Add labels feature (#822) 2019-02-17 04:33:57 -05:00
torrent.h Add labels feature (#822) 2019-02-17 04:33:57 -05: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 Update DHT library to 0.25 2018-02-10 11:35:14 +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 Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
tr-getopt.c Move generic macros to a separate tr-macros.h file 2017-06-18 17:11:20 +03:00
tr-getopt.h Code style change leftovers 2017-04-21 10:40:57 +03:00
tr-lpd.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +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 Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03: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 Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03: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 Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +03:00
upnp.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
utils-test.c Make use of new checking capabilities in unit tests 2017-05-30 20:56:12 +03:00
utils.c Fixup some formatting leftovers 2019-02-16 10:50:37 +03:00
utils.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
variant-benc.c Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
variant-common.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
variant-json.c Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
variant-test.c Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
variant.c Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +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 Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +03: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 Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
web.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
webseed.c Wrap sizeof arguments in braces 2017-05-20 19:29:23 +03:00
webseed.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
wildmat.c Follow more common whitespace style conventions in the C code (libtransmission, daemon, utils, cli, gtk). 2012-12-05 17:29:46 +00:00