Files
transmission/libtransmission
Charles Kerr f59118d1fe feat: add torrent-get 'primary-mime-type' to RPC. (#1464)
* feat: add torrent-get 'primary-mime-type' to RPC.

This is a cheap way for RPC clients to know what type of content is in a
torrent. This info can be used to display the torrent, e.g. by using an
icon that corresponds to the mime type.

* use size_t for content byte count

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>

* explicit boolean expressions

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>

* use uint64_t for content byte counts

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>

* avoid unnecessary logic branches

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>

* explicit cast

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>

* refactor: add an autogenerated mime-type.h header

* chore: maybe fix the win32 FTBFS

* chore: add mime-types.[ch] to xcode

* Squashed commit of the following:

commit 4c7153fa48
Author: Mike Gelfand <mikedld@users.noreply.github.com>
Date:   Tue Oct 13 03:15:19 2020 +0300

    Remove autotools-based build system (#1465)

    * Support .git files (e.g. for worktrees, submodules)
    * Fix symlinks in source tarball, switch to TXZ, adjust non-release name
    * Remove autotools stuff

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
2020-10-13 10:33:56 -05:00
..
2019-03-17 07:07:48 +03:00
2019-03-17 07:07:48 +03:00
2020-09-10 18:50:46 -05:00
2019-02-16 10:50:37 +03:00
2019-07-14 16:25:07 +03:00
2020-05-11 17:20:46 -05:00
2020-09-13 16:43:29 -05:00
2019-02-15 09:21:48 +03:00
2019-07-14 16:25:07 +03:00
2019-02-15 09:21:48 +03:00
2020-09-13 16:43:29 -05:00
2020-09-13 16:43:29 -05:00
2020-09-13 16:43:29 -05:00
2020-09-13 16:43:29 -05:00
2020-09-13 16:43:29 -05:00
2020-09-13 16:43:29 -05:00
2020-09-13 16:43:29 -05:00
2019-07-14 16:25:07 +03:00
2020-09-10 18:50:46 -05:00
2020-09-10 18:50:46 -05:00
2019-02-15 09:21:48 +03:00
2020-09-13 16:43:29 -05:00
2020-08-27 18:41:26 -05:00
2019-07-14 16:25:07 +03:00
2020-08-27 18:41:26 -05:00
2020-09-13 16:43:29 -05:00
2020-09-12 08:17:18 -05:00
2020-09-13 16:43:29 -05:00
2019-07-14 16:25:07 +03:00
2020-09-10 18:50:46 -05:00
2020-09-10 18:50:46 -05:00
2020-09-10 18:50:46 -05:00
2020-09-12 08:17:18 -05:00
2020-08-27 18:41:26 -05:00