Go to file
Mike Gelfand 9ccaffb044
Fix session use after free (GTK client) (#3963)
In GLIB 2.68+ `Glib::RefPtr<>` is an alias for `std::shared_ptr<>` which
has no idea about GLIB's reference counting, thus destroying the object
instead of unreferencing it. Use `Glib::make_refptr_for_instance()` to
construct the smart pointer which passes in a custom reference-aware
deleter for us.

Fixes: #3954
2022-10-14 07:59:38 +03:00
.github chore: add ISSUE_TEMPLATE (#3923) 2022-10-10 17:08:22 -05:00
.tx Sync translations (#3519) 2022-07-24 18:13:04 +01:00
Transmission.xcodeproj Fix red link in Xcode project 2022-10-13 02:44:06 +08:00
cli refactor: avoid tr_new() in transmission-remote (#3665) 2022-08-17 20:25:42 -05:00
cmake build: support semver versioning (#3867) 2022-10-05 16:53:10 -05:00
daemon Sync translations (#3939) 2022-10-11 18:39:41 +03:00
dist/msi build: support semver versioning (#3867) 2022-10-05 16:53:10 -05:00
docs fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
extras fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
gtk Fix session use after free (GTK client) (#3963) 2022-10-14 07:59:38 +03:00
libtransmission refactor: session private fields (#3961) 2022-10-13 21:25:02 -05:00
licenses refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
macosx fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
news fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
po Sync translations (#3939) 2022-10-11 18:39:41 +03:00
qt Sync translations (#3939) 2022-10-11 18:39:41 +03:00
release/windows Include SVG support in Windows builds 2021-12-07 08:39:12 +00:00
tests fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
third-party refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
utils Sync translations (#3939) 2022-10-11 18:39:41 +03:00
web fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
.clang-format
.clang-format-ignore refactor: modernize cache.cc (#3108) 2022-06-11 19:46:30 -05:00
.clang-format-include Adopting .clang-format-include and .clang-format-ignore (#3047) 2022-05-13 18:48:33 -05:00
.gitignore refactor: modernize cache.cc (#3108) 2022-06-11 19:46:30 -05:00
.gitmodules refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
AUTHORS fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
CMakeLists.txt Support switching between GTK 3 and 4 within the same build directory (#3918) 2022-10-09 10:29:47 +03:00
CONTRIBUTING.md docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
COPYING Update Copyright Year to 2022. (#3352) 2022-06-28 09:07:12 -05:00
README.md added info on Windows compatibility (#3729) 2022-09-08 09:49:20 -05:00
appveyor.yml Switch to Strawberry Perl for AppVeyor Windows builds (#2763) 2022-03-12 18:49:39 +03:00
code_style.sh Adopting .clang-format-include and .clang-format-ignore (#3047) 2022-05-13 18:48:33 -05:00
icon.png Adding icon.png for Sourcetree (#3250) 2022-06-10 12:34:46 -05:00
update-version-h.sh build: support semver versioning (#3867) 2022-10-05 16:53:10 -05: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-3.00.tar.xz
$ cd transmission-3.00
$ mkdir build
$ cd build
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ 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 --recursive
$ mkdir build
$ cd build
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
$ sudo make install

Building Transmission from Git (updating)

$ cd Transmission/build
$ make clean
$ git submodule foreach --recursive git clean -xfd
$ git pull --rebase --prune
$ git submodule update --recursive
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
$ sudo make 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

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