* 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>
VOLUNTEERS WANTED
- Qt developers and translators are needed
- If you find a bug, please report it at https://github.com/transmission/transmission
ABOUT TRANSMISSION-QT
Transmission-qt is a GUI for Transmission loosely based on the GTK+ client.
This is the only Transmission client that can act as its own self-contained
session (as the GTK+ and Mac clients do), and can also connect to a remote
session (as the web client and transmission-remote terminal client do).
Use Case 1: If you like to run BitTorrent for awhile from your desktop,
then the Mac, GTK+, and Qt clients are a good match.
Use Case 2: If you like to leave BitTorrent running nonstop on your
computer or router, and want to control it from your desktop or
from a remote site, then transmission-remote and the web and Qt clients
are a good match.
To use the Qt client as a remote, in the menu go to Edit > Change Session
The Qt client is also the most likely to wind up running on Windows,
though that's not a high priority at the moment...
BUILDING ON WINDOWS
rb07 has a writeup of this on the Transmission wiki:
https://trac.transmissionbt.com/wiki/BuildingTransmissionQtWindows
BUILDING ON OS X
nnc has a writeup of this on the Transmission wiki:
https://trac.transmissionbt.com/wiki/BuildingTransmissionQtMac
BUILDING ON UNIX
1. Prerequisites: Qt >= 4.8 and its development packages
2. Build Transmission as normal
3. In the qt/ directory, type "qmake qtr.pro" (or "qmake-qt4 qtr.pro", or "qmake-qt5 qtr.pro")
4. In the qt/ directory, type "make"
5. In the qt/ directory, as root, type "INSTALL_ROOT=/usr make install"
(Feel free to replace /usr with /usr/local or /opt or whatever)