1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 07:42:37 +00:00
No description
Find a file
Charles Kerr 22cde5d4b9
refactor: use new tr_variant API in rpcimpl (#6456)
* refactor: tr_rpc_request_exec_json takes a std::function callback

* refactor: tr_rpc_request_exec_json callback takes a tr_variant&&

* refactor: use new tr_variant API in rpcimpl.cc

* refactor: tr_rpc_request_exec_json() now takes a const& to the request

* fixup! refactor: use new tr_variant API in rpcimpl.cc

* chore: rename function to tr_rpc_request_exec()

* chore: remove unused DetailsDialog::Impl::build_torrent_ids_variant_list()

* refactor: minor copyediting in rpcimpl.cc getTorrents()

* refactor: split handler methods between sync, async

* refactor: remove unused args_out param from AsyncHandlers

* chore: fix new readability-inconsistent-declaration-parameter-name warning
2024-01-02 22:14:43 -06:00
.github build: use esbuild to bundle the web app (#6280) 2023-11-27 19:23:40 -06:00
.tx Sync translations (#6453) 2023-12-29 15:16:07 +00:00
cli refactor: Values pt. 6 - remove deprecated API (#6250) 2023-11-14 17:23:51 -06:00
cmake chore: removed copyright timespans in headers (#4850) 2023-11-01 16:11:11 -05:00
daemon fix: a couple of logging format issues (#6463) 2023-12-30 08:56:34 -06:00
dist/msi Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
docs fix: exclude (B/s) from parameter names (#6448) 2023-12-29 13:22:21 -06:00
extras fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
gtk refactor: use new tr_variant API in rpcimpl (#6456) 2024-01-02 22:14:43 -06:00
libtransmission refactor: use new tr_variant API in rpcimpl (#6456) 2024-01-02 22:14:43 -06:00
licenses
macosx feat: support multiple URL objects from pasteboard (#6467) 2024-01-01 22:35:57 -06: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 refactor: use new tr_variant API in rpcimpl (#6456) 2024-01-02 22:14:43 -06:00
release/windows Bump 3rd-party deps versions used on Windows (#6192) 2023-11-01 15:09:45 +03:00
tests refactor: use new tr_variant API in rpcimpl (#6456) 2024-01-02 22:14:43 -06:00
third-party chore: bump fmt to 10.2.0 (#6478) 2024-01-01 23:58:28 -06:00
Transmission.xcodeproj Sync translations (#6453) 2023-12-29 15:16:07 +00:00
utils ui: unify percent done format in transmission-remote (#6447) 2023-12-29 14:55:06 -06:00
web chore: webui scss cleanup (#6471) 2024-01-01 17:22:18 -06:00
.clang-format Use clang-format for qualifier alignment (#5845) 2023-07-30 16:43:43 +01:00
.clang-format-ignore Move jsonsl and wildmat to third-party (#4402) 2022-12-18 19:19:07 +00:00
.clang-format-include
.gitignore add user presets to .gitignore (#6407) 2023-12-23 10:22:01 -06:00
.gitmodules Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
appveyor.yml Build additional packages for Qt 5 on Appveyor (#4855) 2023-02-12 22:12:09 +00:00
AUTHORS docs: add tearfur to AUTHORS (#5859) 2023-08-14 13:52:43 -05:00
CMakeLists.txt chore: bump libutp (#6251) 2023-11-14 13:24:18 -06:00
code_style.sh Use clang-format for qualifier alignment (#5845) 2023-07-30 16:43:43 +01:00
CONTRIBUTING.md
COPYING chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
icon.png chore: improve lossless compression of png files (#5586) 2023-06-05 17:03:11 -05:00
README.md chore: update build instructions (#6102) 2023-10-23 22:24:51 -04:00
update-version-h.sh build: support semver versioning (#3867) 2022-10-05 16:53:10 -05:00

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