Commit Graph

13051 Commits

Author SHA1 Message Date
Mike Gelfand 14c30119d4 Transform `check_str_eq` into generic `check_str` (libtest) 2017-05-30 17:51:46 +03:00
Mike Gelfand 341b778099 Continue running other test-cases even if one fails (libtest) 2017-05-30 17:44:51 +03:00
Mike Gelfand c071f824ec Pass `(u)intmax_t` instead of `(u)int64_t` to `check_(u)int_eq` (libtest) 2017-05-30 17:44:47 +03:00
Mike Gelfand 7a238e7c65 Rename `check_streq` to `check_str_eq` to be in line with other macros (libtest) 2017-05-30 17:44:42 +03:00
Mike Gelfand 432d573f2c Fixup 2321bc3fad (unintended logic change, spotted by cfpp2p in #297) 2017-05-29 08:50:40 +03:00
Mike Gelfand 950387ab5a Add command line interface notes readme section
Fixes: #274
2017-05-25 21:31:43 +03:00
Mike Gelfand f27596238d Include stdbool.h unconditionally
All the compilers should provide the header file by now. Remove `tr_isBool`
sanity checks along the way as compiler should guarantee that bool (_Bool)
values are 0 or 1 and nothing else.
2017-05-24 22:53:06 +03:00
Mike Gelfand 295d3359b2 Little bastards keep popping up here and there :( 2017-05-23 22:17:17 +03:00
Mike Gelfand 501be27972 Reduce code duplication in logging macros 2017-05-22 23:20:28 +03:00
Mike Gelfand c82e7ecb9f Merge pull request #285 from kholia/PicoTorrent
Add Peer ID for PicoTorrent
2017-05-21 12:10:33 +03:00
Dhiru Kholia dda33afbe0 Add Peer ID for PicoTorrent
Based on information from https://github.com/picotorrent/picotorrent and
http://www.picotorrent.org/.

PicoTorrent uses Azureus-style peer ID: -PI-. Example: -PI0091- (major:
0, minor: 09, patch: 1).
2017-05-21 12:30:47 +05:30
Mike Gelfand 4df187885f Merge pull request #146 from tonsV2/master
ETA is now shown in compact view.
2017-05-21 07:24:59 +03:00
Mike Gelfand bcfe147e6a Fix web UI loading on mobile devices 2017-05-21 06:49:41 +03:00
Sebastian Jensen cad82b64d9 ETA is now shown in compact view. 2017-05-21 06:48:56 +03:00
Mike Gelfand 82722476aa Fix some issues reported by Coverity 2017-05-20 23:31:56 +03:00
Mike Gelfand 8f3cb1c68d Wrap sizeof arguments in braces 2017-05-20 19:29:23 +03:00
Mike Gelfand 6303bb2247 Disable part of mmap test on OpenBSD that depends on UBC 2017-05-20 13:34:23 +03:00
Mike Gelfand fa6ad47f71 Use C++ linker for anything that depends on static libutp 2017-05-20 13:06:22 +03:00
Mike Gelfand 0a6c016734 Merge pull request #284 from haasn/libressl
LibreSSL compatibility
2017-05-20 12:29:29 +03:00
Niklas Haas 4d7446e477
LibreSSL compatibility
This seems to be the idiomatic way to fix libressl compatibility issues,
judging by what most other open source projects seem to be doing.

I've confirmed that transmission builds with libressl for me after this
patch is applied.
2017-05-20 07:16:53 +02:00
Mike Gelfand 6b608f1fcc Merge pull request #260 from piotrdrag/move-ta-translation
gtk: move Tamil translation to the correct language code
2017-05-20 00:58:20 +03:00
Piotr Drąg d31b73a8e4 gtk: move Tamil translation to the correct language code 2017-05-20 00:55:49 +03:00
Mike Gelfand 5b57aa79e0 Sync gettext translations with Transifex 2017-05-20 00:46:42 +03:00
Mike Gelfand 644aade59f Sync gettext translations with code, unwrap lines 2017-05-20 00:15:53 +03:00
Mike Gelfand 80cebdd296 Sync Qt translations with Transifex 2017-05-20 00:15:53 +03:00
Mike Gelfand fe1e88f843 Sync Qt translations with code 2017-05-19 23:11:47 +03:00
Mike Gelfand 69aa2f9491 Move pl_PL translations to pl 2017-05-19 23:11:06 +03:00
Mike Gelfand 5dc1192792 Move tr_TR translations to tr, sync list in qtr.pro 2017-05-19 21:49:04 +03:00
Mike Gelfand 7a1a1acd22 Fix autotools build 2017-05-17 00:56:39 +03:00
Mike Gelfand ef8cb30f7c Merge pull request #224 from wjt/appdata
gtk: add AppData file
2017-05-16 23:13:25 +03:00
Mike Gelfand 6b0229a546 Fix some issues reported by Coverity 2017-05-16 21:37:00 +03:00
Mike Gelfand 1e3d20422a Reduce for loop variables scope 2017-05-14 01:38:31 +03:00
Mike Gelfand 6d5e48f9e2 Fix some more off-by-one errors on last piece
See: TRAC-4037 and e2584b04ff
2017-05-09 14:23:25 +03:00
Will Thompson 23d61b6457
gtk: add AppData file
This file was originally written by Richard Hughes, for Fedora, who
proposed it on the Transmission forum here:
https://forum.transmissionbt.com/viewtopic.php?f=3&t=16443

It's used to display a nice description and screenshot in GNOME
Software. The format is documented here:
https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html

The <_name/> and <_summary/> fields match the Name= and Comment= fields
in the .desktop file so are already translated.

The screenshot is taken with Transmission 2.92 (14714) on Fedora 25.
It's at one of the sizes recommended by the GNOME Shell Screenshot
Window Sizer extension.

The <update_contact/> is based on the Git history.
2017-05-03 17:43:23 +01:00
Mike Gelfand 10556943e5 Merge pull request #259 from piotrdrag/fix-comment
lib: fix translator comment extraction
2017-05-02 22:59:39 +03:00
Piotr Drąg ccabc01900 lib: fix translator comment extraction
gettext won’t pick up a comment if it’s
not exactly one line above the string.
2017-05-02 21:22:15 +02:00
Mike Gelfand dd538539aa Fix torrent file trashing upon addition (Qt client) 2017-05-02 21:35:56 +03:00
Mike Gelfand 0545d06eb7 Merge pull request #158 from spark4160/queue-hotkeys
Added queue up/down hotkeys to the Qt & GTK+ clients.
2017-05-01 19:11:11 +03:00
Mike Gelfand 87220d44a5 Fix FTBFS on Windows (oops!) 2017-05-01 19:08:30 +03:00
Mike Gelfand b99fb6f07a Add queue up/down hotkeys (GTK+ client) 2017-05-01 18:58:27 +03:00
Thomas Hines b3e30c0502 Added queue up/down hotkeys to the Qt interface. 2017-05-01 18:57:06 +03:00
Mike Gelfand 14370e5353 Fix a number of other style inconsistencies met along the way (part 2) 2017-05-01 18:47:49 +03:00
Mike Gelfand e1d53855f4 Avoid declaring multiple variables on the same line 2017-05-01 18:46:41 +03:00
Mike Gelfand 1bc247c105 Merge pull request #161 from slokhorst/rpc-ipv6
Allow the RPC server to listen on an IPv6 address
2017-05-01 13:31:14 +03:00
Mike Gelfand c19e49d851 Merge pull request #234 from muesli/master
Fix sorting by progress (Qt client)
2017-05-01 12:58:02 +03:00
Mike Gelfand f1656bc209 Don't return NaN from Torrent::percentComplete (Qt client) 2017-05-01 12:55:52 +03:00
Mike Gelfand c5e730c63a Only compare magnet state if not yet different 2017-05-01 12:45:09 +03:00
Christian Muehlhaeuser 6dd034b826 Fix sorting by progress (Qt client)
Magnet transfers caused the by-progress sorting to become non-stable, as their
percentComplete() could return NaN. This patch fixes this by preferring active
downloads over magnet transfers, then sorting them by percentComplete().
2017-05-01 12:44:47 +03:00
Mike Gelfand 6ea6f630dc Merge pull request #247 from cmskog/make-room-for-ipv6-addr-in-remote
Enlarge IP address column in transmission-remote
2017-05-01 12:39:30 +03:00
Mike Gelfand 6a74bd438c Announce INT64_MAX as size left if the value is unknown
This helps with trakers like Amazon S3 where signed type is used but
negative values aren't accepted.

Fixes: #250
2017-05-01 12:33:55 +03:00