Go to file
Yat Ho 32ef92e7a7
feat: do separate IPv4 and IPv6 port checks in Qt and GTK Client (#6525)
* fix: specify `port-test` ip protocol in response when possible

* feat: IPv4 and IPv6 port test in Qt Client

* feat: shorten timeout of `port-test`

* feat: IPv4 and IPv6 port test in Gtk Client

* chore: housekeeping

* refactor: remove IP protocol error message

* code review: mikedld gtk

* feat: return tag in qt rpc response

* code review: mikedld qt

* feat: move port test button up alongside spin button

* fixup! code review: mikedld gtk

* fixup! code review: mikedld qt

* code review: port status initial text

* feat: decouple ipv4 and ipv6 status updates (GTK)

* feat: decouple ipv4 and ipv6 status updates (Qt)

* code review: unknown protocols are non-pending

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

* code review: simplify status text when the statuses are the same

* Revert "feat: return tag in qt rpc response"

This reverts commit 2a022c2bb0ee7ddad81f8176839cf0d043422368.

* code review: add translation context for status text (GTK)

* code review: move `port_test_pending_` to `Impl` (GTK)

* fixup! code review: move `port_test_pending_` to `Impl` (GTK)

---------

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
2024-01-21 16:50:26 -06:00
.github android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
.tx Sync translations (#6453) 2023-12-29 15:16:07 +00:00
Transmission.xcodeproj fix missing quotes for language codes with a dash (#6489) 2024-01-06 14:13:55 -06:00
android android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
cli chore: remove FMT_STRING macros (#6497) 2024-01-06 14:05:18 -06:00
cmake android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
daemon fixup! fix: include daemon-specific options in app defaults (#6505) 2024-01-11 13:20:22 +00:00
dist/msi Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
docs feat: do separate IPv4 and IPv6 port checks in Qt and GTK Client (#6525) 2024-01-21 16:50:26 -06:00
extras fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
gtk feat: do separate IPv4 and IPv6 port checks in Qt and GTK Client (#6525) 2024-01-21 16:50:26 -06:00
libtransmission feat: do separate IPv4 and IPv6 port checks in Qt and GTK Client (#6525) 2024-01-21 16:50:26 -06:00
licenses refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
macosx Remove unused (but exported for translation) button title (Mac client) (#6503) 2024-01-07 19:11:31 +00:00
news docs: update release notes for 4.0.4 (#5924) 2023-08-23 15:16:27 -05:00
po Remove low-quality gettext locales from the list (#6475) 2024-01-01 22:19:31 +00:00
qt feat: do separate IPv4 and IPv6 port checks in Qt and GTK Client (#6525) 2024-01-21 16:50:26 -06:00
release/windows Bump 3rd-party deps versions used on Windows (#6192) 2023-11-01 15:09:45 +03:00
tests refactor: fix cppcoreguidelines-avoid-do-while warnings (#6527) 2024-01-20 16:56:42 -06:00
third-party chore: bump fmt to 10.2.0 (#6478) 2024-01-01 23:58:28 -06:00
utils chore: remove FMT_STRING macros (#6497) 2024-01-06 14:05:18 -06:00
web Revert "feat: Only show .torrent files in the web UI (#6320)" (#6538) 2024-01-20 16:56:21 -06:00
.clang-format Use clang-format for qualifier alignment (#5845) 2023-07-30 16:43:43 +01:00
.clang-format-ignore android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
.clang-format-include Adopting .clang-format-include and .clang-format-ignore (#3047) 2022-05-13 18:48:33 -05:00
.gitignore android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
.gitmodules Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
AUTHORS docs: add tearfur to AUTHORS (#5859) 2023-08-14 13:52:43 -05:00
CMakeLists.txt android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
CONTRIBUTING.md
COPYING chore: update copyright years (#6470) 2024-01-03 21:33:30 -06:00
README.md chore: update build instructions (#6102) 2023-10-23 22:24:51 -04:00
appveyor.yml Pin ccache to 4.8.3 on AppVeyor (#6519) 2024-01-11 06:55:36 +00:00
code_style.sh Use clang-format for qualifier alignment (#5845) 2023-07-30 16:43:43 +01:00
icon.png chore: improve lossless compression of png files (#5586) 2023-06-05 17:03:11 -05:00
update-version-h.sh fix: base62 conversion in peer-id generation (#6486) 2024-01-06 14:14:20 -06:00

README.md

About

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

  • A native macOS GUI application
  • GTK+ and Qt GUI applications for Linux, BSD, etc.
  • A Qt-based Windows-compatible GUI application
  • A headless daemon for servers and routers
  • A web UI for remote controlling any of the above

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

Documentation

Transmission's documentation is currently out-of-date, but the team has recently begun a new project to update it and is looking for volunteers. If you're interested, please feel free to submit pull requests!

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 How to Build Transmission in docs

Building a Transmission release from the command line

$ tar xf transmission-4.0.4.tar.xz
$ cd transmission-4.0.4
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
$ cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
$ cd build
$ cmake --build .
$ sudo cmake --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 --recurse-submodules https://github.com/transmission/transmission Transmission
$ cd Transmission
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
$ cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
$ cd build
$ cmake --build .
$ sudo cmake --install .

Building Transmission from Git (updating)

$ cd Transmission/build
$ cmake --build . -t clean
$ git submodule foreach --recursive git clean -xfd
$ git pull --rebase --prune
$ git submodule update --init --recursive
$ cmake --build .
$ sudo cmake --install .

Contributing

Code Style

You would want to setup your editor to make use of the .clang-format file located in the root of this repository and the eslint/prettier rules in web/package.json.

If for some reason you are unwilling or unable to do so, there is a shell script which you can use: ./code_style.sh

Translations

See language translations.

Sponsors

[MacStadium] macOS CI builds are running on a M1 Mac Mini provided by MacStadium
[SignPath] Free code signing on Windows provided by SignPath.io, certificate by SignPath Foundation