1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00
No description
Find a file
Vitaly Potyarkin 2da97b25fa
Lift 1024 open files limit (switch to curl polling API) (#893)
* Switch to new libcurl's polling interface

* Drop unused includes

* Use NOFILE limit value defined by operating system

* Avoid tight loops, ensure blocking for a small timeout

When there are no file descriptors to wait for, select() would work the
same as sleep(). But curl_multi_wait() returns immediately in this case,
so we need to add explicit wait to avoid tight loops.

Documentation: https://curl.haxx.se/libcurl/c/curl_multi_timeout.html
Discussion: https://curl.haxx.se/mail/lib-2018-03/0074.html

* Bump libcurl minimum version to 7.28.0
2020-07-28 21:38:27 -05:00
.tx Add Mac client translations to and downsync from Transifex 2017-01-28 13:44:15 +03:00
cli fixup! (trunk) update credits (#1205) 2020-05-02 11:42:18 -05:00
cmake Bump copyright to 2020 2020-04-18 15:18:02 -04:00
daemon fixup! (trunk) update credits (#1205) 2020-05-02 11:42:18 -05: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 Fix typo in rpc-spec.txt (#1326) 2020-07-26 23:36:38 -05:00
gtk feat: add 'transfer.complete' notification hint (#1374) 2020-07-28 16:51:01 -05:00
libtransmission Lift 1024 open files limit (switch to curl polling API) (#893) 2020-07-28 21:38:27 -05:00
m4 Work around "error: m4_copy: won't overwrite defined macro: glib_DEFUN" on 2017-03-12 06:20:14 +01:00
macosx Add missing files that fail build from tarball (#1247) 2020-05-23 02:13:59 +03:00
po Add missing files that fail build from tarball (#1247) 2020-05-23 02:13:59 +03:00
qt feat: add 'transfer.complete' notification hint (#1374) 2020-07-28 16:51:01 -05:00
release/windows Add AppVeyor configuration for Windows release builds 2020-05-05 13:56:48 +03:00
third-party Add missing files that fail build from tarball (#1247) 2020-05-23 02:13:59 +03:00
Transmission.xcodeproj Merge branch 'master' into patch-1 2020-01-03 00:15:03 -05:00
utils Add argument description to --labels command line option in transmission-remote man. (#1364) 2020-07-27 00:30:32 -05:00
web Remove unused html (#1313) 2020-06-14 16:04:26 -05:00
.gitignore Add AppVeyor configuration for Windows release builds 2020-05-05 13:56:48 +03:00
.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
appveyor.yml Use release code signing certificate on Windows 2020-05-14 19:20:07 +03:00
AUTHORS Remove mention of Growl, which has been removed. 2020-05-25 09:37:19 -04:00
autogen.sh Refactor shell scripts with syntax and styling fixes 2019-01-16 03:22:29 +08:00
ChangeLog
CMakeLists.txt Lift 1024 open files limit (switch to curl polling API) (#893) 2020-07-28 21:38:27 -05:00
code_style.sh fix: use bash, not sh, for code_style.sh script (#1022) 2019-11-06 13:47:54 -06:00
configure.ac Lift 1024 open files limit (switch to curl polling API) (#893) 2020-07-28 21:38:27 -05:00
COPYING Bump copyright to 2020 (some more places) (#1206) 2020-05-02 12:26:42 -05:00
docker-compose.yml Add code style script and Dockerfile 2019-02-28 03:19:24 +03:00
Makefile.am docs: make 'news' a markdown file (#1208) 2020-05-03 18:33:57 -05:00
NEWS.md docs: make 'news' a markdown file (#1208) 2020-05-03 18:33:57 -05:00
README.md Add code style script and Dockerfile 2019-02-28 03:19:24 +03:00
transmission-gtk.spec.in docs: make 'news' a markdown file (#1208) 2020-05-03 18:33:57 -05:00
uncrustify.cfg Update Uncrustify config to 0.70.1 2020-01-03 03:21:50 +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