1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 06:00:41 +00:00
No description
Find a file
Mingye Wang bcf8128400 Unify/Modernize TOS to DSCP standards (#737)
* Unify/Modernize TOS to DSCP standards

The set of pre-named TOS values are now renamed to the latest DSCP
standards, with traffic classes and everything exciting. To keep
everything in the same place, a segment has been added to net.h to keep
the currently named values.

A result of these changes is that "lowcost" is probably no longer
harmless, as it now encourages the router to preferentially drop the
packages when bandwidth requires so. "lowdelay" is assigned to a pretty
high AF class for SIP and stuff. I am not sure at all about the
"throughput" assignment. I mean, the whole point of DSCP-fication is
translating from the old ToS bits to a more precedence-based notation,
and precedence is supposed to lie beside the old 4 ToS bits...

A funny interaction between the AFxy and the old ToS fields lies in
the old "reliability" (0x08) field. All odd numbers of y (1, 3 : low,
high) switches it on. If you spend 5 more minutes on it you can probably
come up with "pun" values that hold similar meanings in DSCP and
Prec/ToS.

By removing the IPv6 override, I should have kind of satisfied the #692
request.

Fixes: #692
2019-07-21 14:09:04 +03:00
.tx Add Mac client translations to and downsync from Transifex 2017-01-28 13:44:15 +03:00
cli Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
cmake Updated copyright strings to 2019 2019-01-11 19:36:19 +01:00
daemon Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
dist/msi Only add revision to filename for nightly builds (MSI package) 2019-06-20 04:55:30 +03:00
docker/code_style Add code style script and Dockerfile 2019-02-28 03:19:24 +03:00
extras typo 2019-03-16 22:36:18 +08:00
gtk Update Uncrustify config to 0.69 2019-07-15 02:30:41 +03:00
libtransmission Unify/Modernize TOS to DSCP standards (#737) 2019-07-21 14:09:04 +03:00
m4 Work around "error: m4_copy: won't overwrite defined macro: glib_DEFUN" on 2017-03-12 06:20:14 +01:00
macosx Sync existing translations with Transifex 2019-03-06 03:12:51 +03:00
po Actually add new languages to the build 2019-03-13 23:35:16 +03:00
qt Update Uncrustify config to 0.69 2019-07-15 02:30:41 +03:00
third-party Update curl and openssl to those in 10.10 SDK (macOS) 2019-06-22 16:43:59 +03:00
Transmission.xcodeproj Load CA certs from system store on Windows / OpenSSL 2019-06-23 11:59:53 +03:00
utils Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
web Fixup some formatting leftovers (JS) 2019-02-17 17:51:13 +03:00
.gitignore
.gitmodules Update DHT library to 0.25 2018-02-10 11:35:14 +03:00
.jsbeautifyrc Fixup some formatting leftovers (JS) 2019-02-17 17:51:13 +03:00
AUTHORS Add myself to the list of Transmission authors 2017-01-15 01:38:45 +03:00
autogen.sh Refactor shell scripts with syntax and styling fixes 2019-01-16 03:22:29 +08:00
ChangeLog
CMakeLists.txt Support OFD locks and missing flock 2019-07-13 22:53:04 +03:00
code_style.sh Add code style script and Dockerfile 2019-02-28 03:19:24 +03:00
configure.ac Parse session-id header case-insensitively (#765) 2019-03-17 17:37:52 +03:00
COPYING Updated copyright strings to 2019 2019-01-11 19:36:19 +01:00
docker-compose.yml Add code style script and Dockerfile 2019-02-28 03:19:24 +03:00
Makefile.am Adjust autotools files to use submodules 2017-01-02 02:26:02 +03:00
NEWS add Sparkle update to NEWS 2018-12-24 19:00:29 -05:00
README.md Add code style script and Dockerfile 2019-02-28 03:19:24 +03:00
transmission-gtk.spec.in Update all website links to canonical HTTPS version. 2016-10-31 10:00:11 +01:00
uncrustify.cfg Update Uncrustify config to 0.69 2019-07-15 02:30:41 +03:00
update-version-h.sh Refactor shell scripts with syntax and styling fixes 2019-01-16 03:22:29 +08:00

About

Transmission is a fast, easy, and free BitTorrent client. It comes in several flavors:

  • A native Mac OS X GUI application
  • GTK+ and Qt GUI applications for Linux, BSD, etc.
  • A headless daemon for servers and routers
  • A web UI for remote controlling any of the above

Visit https://transmissionbt.com/ for more information.

Command line interface notes

Transmission is fully supported in transmission-remote, the preferred cli client.

Three standalone tools to examine, create, and edit .torrent files exist: transmission-show, transmission-create, and transmission-edit, respectively.

Prior to development of transmission-remote, the standalone client transmission-cli was created. Limited to a single torrent at a time, transmission-cli is deprecated and exists primarily to support older hardware dependent upon it. In almost all instances, transmission-remote should be used instead.

Different distributions may choose to package any or all of these tools in one or more separate packages.

Building

Transmission has an Xcode project file (Transmission.xcodeproj) for building in Xcode.

For a more detailed description, and dependencies, visit: https://github.com/transmission/transmission/wiki

Building a Transmission release from the command line

$ tar xf transmission-2.92.tar.xz
$ cd transmission-2.92
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Building Transmission from the nightly builds

Download a tarball from https://build.transmissionbt.com/job/trunk-linux/ and follow the steps from the previous section.

If you're new to building programs from source code, this is typically easier than building from Git.

Building Transmission from Git (first time)

$ git clone https://github.com/transmission/transmission Transmission
$ cd Transmission
$ git submodule update --init
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Building Transmission from Git (updating)

$ cd Transmission/build
$ make clean
$ git pull --rebase --prune
$ git submodule update
$ cmake ..
$ make
$ sudo make install

Contributing

Code Style

You would want to setup your editor to make use of uncrustify.cfg and .jsbeautifyrc configuration files located in the root of this repository.

If for some reason you are unwilling or unable to do so, there is a shell script which you could run either directly or via docker-compose:

$ ./code_style.sh
or
$ docker-compose build --pull
$ docker-compose run --rm code_style