Go to file
fghzxm e2b6dc48b1
build: set /utf-8 flag when using MSVC (#4975)
MSVC by default decodes source files in the current Windows code page if
they don't have a Unicode BOM, and also encodes strings and chars into
the current code page before storing them into the compiled binary. Our
files are always encoded in UTF-8, and our code always assumes runtime
strings are encoded in UTF-8, so we should pass the `/utf-8` flag to
MSVC.

Microsoft Docs:
https://learn.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8
2023-02-22 06:00:07 -06:00
.github Support in-source builds (#4955) 2023-02-19 16:10:25 +00:00
.tx Sync translations (#3968) 2022-10-15 21:21:13 +03:00
Transmission.xcodeproj Fix WebUtilsTest.urlParse and psl_builtin for Xcode (#4642) 2023-01-31 23:51:04 -06:00
cli chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
cmake Fix libdeflate find module never finding anything (#4968) 2023-02-20 21:09:24 +00:00
daemon chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
dist/msi Build additional packages for Qt 5 on Appveyor (#4855) 2023-02-12 22:12:09 +00:00
docs Doc: Add missing configuration file directives (#4812) 2023-02-11 09:30:32 -06:00
extras
gtk Only show/hide top-level windows on systray action (#4939) 2023-02-18 16:09:35 +00:00
libtransmission fix: cannot build with clang on Windows (#4978) 2023-02-21 11:08:28 -06:00
licenses
macosx fix: highlight the selected group in Group View (#4896) 2023-02-15 13:01:24 -06:00
news docs: add 4.0.0 release notes (#4706) 2023-02-07 17:00:06 -06:00
po Sync translations (#4729) 2023-02-07 20:42:19 +00:00
qt fix: open-folder does not work in qt client (#4963) 2023-02-20 14:41:47 -06:00
release/windows Build additional packages for Qt 5 on Appveyor (#4855) 2023-02-12 22:12:09 +00:00
tests fix: do not test utils if not building utils (#4946) 2023-02-20 23:43:05 -06:00
third-party Bump bundled libutp to rollback anonymous unions fix (#4877) 2023-02-18 02:59:15 +00:00
utils chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
web chore: update generated transmission-web files (#4941) 2023-02-18 16:48:41 -06:00
.clang-format
.clang-format-ignore
.clang-format-include
.gitignore Fix WebUtilsTest.urlParse and psl_builtin for Xcode (#4642) 2023-01-31 23:51:04 -06:00
.gitmodules
AUTHORS
CMakeLists.txt build: set /utf-8 flag when using MSVC (#4975) 2023-02-22 06:00:07 -06:00
CONTRIBUTING.md
COPYING chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
README.md
appveyor.yml Build additional packages for Qt 5 on Appveyor (#4855) 2023-02-12 22:12:09 +00:00
code_style.sh build: minor ci cleanup (#4652) 2023-01-24 01:02:48 -06:00
icon.png
update-version-h.sh

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

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