]>
granicus.if.org Git - transmission/log
Mike Gelfand [Sun, 16 Jul 2017 17:55:25 +0000 (20:55 +0300)]
Merge pull request #334 from xzcvczx/ssl-noverify
Change TR_CURL_SSL_VERIFY to TR_CURL_SSL_NO_VERIFY
Simon Wells [Sun, 16 Jul 2017 17:28:13 +0000 (05:28 +1200)]
Change TR_CURL_SSL_VERIFY to TR_CURL_SSL_NO_VERIFY
use secure by default and change the env var to match curl -k behaviour
Closes: #179
Mike Gelfand [Sat, 15 Jul 2017 05:46:31 +0000 (08:46 +0300)]
Revert
dd538539aa , fix RPC queue processing
Queue callback for items returning no new future was never called leaving
queue alive and leading to memory leak in Qt client.
Mike Gelfand [Sat, 8 Jul 2017 13:09:37 +0000 (16:09 +0300)]
Rename `tr_sys_file_prefetch` to `tr_sys_file_advise`
New function now supports two flags: will need and don't need.
Mike Gelfand [Sat, 8 Jul 2017 09:51:36 +0000 (12:51 +0300)]
Change `tr_sys_file_prefetch` behavior a bit
Return true by default. Only return false if we did in fact perform some
action and it failed.
Mike Gelfand [Thu, 6 Jul 2017 18:46:32 +0000 (21:46 +0300)]
Change torrent location even if no data move is needed
This helps when old and new location point to the same place but the actual
path differs (i.e. one of the paths is a symlink).
Fixes: #35
Mike Gelfand [Wed, 5 Jul 2017 18:07:16 +0000 (21:07 +0300)]
Set idle seed limit range to 1..40320 (4 weeks tops) in all clients
Fixes: #212
Mike Gelfand [Tue, 4 Jul 2017 19:59:55 +0000 (22:59 +0300)]
Uncaught exception when dragging multiple items between groups (macOS)
Change group after all the torrents are retrieved from drop data to avoid
premature view item index changes.
Fixes: #51
Mike Gelfand [Tue, 4 Jul 2017 18:22:26 +0000 (21:22 +0300)]
Don't switch trackers while announcing
Fixes: #297
Mike Gelfand [Sun, 2 Jul 2017 16:18:02 +0000 (19:18 +0300)]
Correct "annouce" spelling
Fixes: #303
Mike Gelfand [Sun, 2 Jul 2017 10:31:33 +0000 (13:31 +0300)]
Move uTP timer to session struct
Mike Gelfand [Sun, 2 Jul 2017 10:26:26 +0000 (13:26 +0300)]
Fix a couple more implicit boolean expressions
Mike Gelfand [Thu, 29 Jun 2017 06:59:47 +0000 (09:59 +0300)]
Handle IPv6 RPC addresses in transmission-remote
Mike Gelfand [Wed, 28 Jun 2017 15:46:06 +0000 (18:46 +0300)]
Introduce peer socket struct to improve readability
Mike Gelfand [Wed, 28 Jun 2017 15:49:11 +0000 (18:49 +0300)]
Remove obsolete comment as we're using C99 now
Mike Gelfand [Sat, 24 Jun 2017 10:17:04 +0000 (13:17 +0300)]
Use field initializers for readability
Mike Gelfand [Mon, 19 Jun 2017 16:47:41 +0000 (19:47 +0300)]
Merge pull request #312 from realzhtw/master
Fixed platform-quota.c for DragonFly.
Aleksej Lebedev [Mon, 19 Jun 2017 10:45:09 +0000 (12:45 +0200)]
Fixed platform-quota.c for DragonFly. The patch is taken from dports.
Mike Gelfand [Sun, 18 Jun 2017 12:34:21 +0000 (15:34 +0300)]
Move generic macros to a separate tr-macros.h file
Mike Gelfand [Tue, 13 Jun 2017 17:03:17 +0000 (20:03 +0300)]
Merge pull request #304 from Fish2/master
lossless compression of images saved 72KB
Mike Gelfand [Tue, 13 Jun 2017 02:24:09 +0000 (05:24 +0300)]
Bring assertions closer to the beginning of blocks
Mike Gelfand [Thu, 8 Jun 2017 17:52:05 +0000 (20:52 +0300)]
Add tr-assert.{h,c} to Xcode project
Mike Gelfand [Thu, 8 Jun 2017 07:24:12 +0000 (10:24 +0300)]
Introduce our own assertion macros with finer control
Fish2 [Sat, 3 Jun 2017 22:52:34 +0000 (23:52 +0100)]
lossless compression of images saved 72KB
Mike Gelfand [Tue, 30 May 2017 17:56:12 +0000 (20:56 +0300)]
Make use of new checking capabilities in unit tests
Mike Gelfand [Tue, 30 May 2017 17:09:19 +0000 (20:09 +0300)]
Add generic `check_mem` (libtest)
Mike Gelfand [Tue, 30 May 2017 16:21:14 +0000 (19:21 +0300)]
Add generic `check_bool`, extend `check` to be more informative (libtest)
Mike Gelfand [Tue, 30 May 2017 14:42:05 +0000 (17:42 +0300)]
Transform `check_ptr_eq` into generic `check_ptr` (libtest)
Mike Gelfand [Mon, 29 May 2017 20:39:51 +0000 (23:39 +0300)]
Transform `check_uint_eq` into generic `check_uint` (libtest)
Mike Gelfand [Mon, 29 May 2017 20:22:36 +0000 (23:22 +0300)]
Transform `check_int_eq` into generic `check_int` (libtest)
Mike Gelfand [Mon, 29 May 2017 19:48:02 +0000 (22:48 +0300)]
Transform `check_str_eq` into generic `check_str` (libtest)
Mike Gelfand [Mon, 29 May 2017 17:05:24 +0000 (20:05 +0300)]
Continue running other test-cases even if one fails (libtest)
Mike Gelfand [Mon, 29 May 2017 16:51:25 +0000 (19:51 +0300)]
Pass `(u)intmax_t` instead of `(u)int64_t` to `check_(u)int_eq` (libtest)
Mike Gelfand [Mon, 29 May 2017 16:50:23 +0000 (19:50 +0300)]
Rename `check_streq` to `check_str_eq` to be in line with other macros (libtest)
Mike Gelfand [Mon, 29 May 2017 05:50:40 +0000 (08:50 +0300)]
Fixup
2321bc3fad (unintended logic change, spotted by cfpp2p in #297)
Mike Gelfand [Thu, 25 May 2017 18:31:43 +0000 (21:31 +0300)]
Add command line interface notes readme section
Fixes: #274
Mike Gelfand [Wed, 24 May 2017 19:53:06 +0000 (22:53 +0300)]
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.
Mike Gelfand [Tue, 23 May 2017 19:17:17 +0000 (22:17 +0300)]
Little bastards keep popping up here and there :(
Mike Gelfand [Mon, 22 May 2017 20:12:57 +0000 (23:12 +0300)]
Reduce code duplication in logging macros
Mike Gelfand [Sun, 21 May 2017 09:10:33 +0000 (12:10 +0300)]
Merge pull request #285 from kholia/PicoTorrent
Add Peer ID for PicoTorrent
Dhiru Kholia [Sat, 20 May 2017 11:55:15 +0000 (17:25 +0530)]
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).
Mike Gelfand [Sun, 21 May 2017 04:24:59 +0000 (07:24 +0300)]
Merge pull request #146 from tonsV2/master
ETA is now shown in compact view.
Mike Gelfand [Sun, 21 May 2017 03:49:41 +0000 (06:49 +0300)]
Fix web UI loading on mobile devices
Sebastian Jensen [Fri, 13 Jan 2017 16:48:14 +0000 (17:48 +0100)]
ETA is now shown in compact view.
Mike Gelfand [Sat, 20 May 2017 20:31:56 +0000 (23:31 +0300)]
Fix some issues reported by Coverity
Mike Gelfand [Sat, 20 May 2017 16:29:23 +0000 (19:29 +0300)]
Wrap sizeof arguments in braces
Mike Gelfand [Sat, 20 May 2017 10:34:23 +0000 (13:34 +0300)]
Disable part of mmap test on OpenBSD that depends on UBC
Mike Gelfand [Sat, 20 May 2017 10:04:49 +0000 (13:04 +0300)]
Use C++ linker for anything that depends on static libutp
Mike Gelfand [Sat, 20 May 2017 09:29:29 +0000 (12:29 +0300)]
Merge pull request #284 from haasn/libressl
LibreSSL compatibility
Niklas Haas [Sat, 20 May 2017 05:16:53 +0000 (07:16 +0200)]
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.
Mike Gelfand [Fri, 19 May 2017 21:58:20 +0000 (00:58 +0300)]
Merge pull request #260 from piotrdrag/move-ta-translation
gtk: move Tamil translation to the correct language code
Piotr Drąg [Tue, 2 May 2017 19:30:20 +0000 (21:30 +0200)]
gtk: move Tamil translation to the correct language code
Mike Gelfand [Fri, 19 May 2017 21:31:47 +0000 (00:31 +0300)]
Sync gettext translations with Transifex
Mike Gelfand [Fri, 19 May 2017 19:58:09 +0000 (22:58 +0300)]
Sync gettext translations with code, unwrap lines
Mike Gelfand [Fri, 19 May 2017 21:13:57 +0000 (00:13 +0300)]
Sync Qt translations with Transifex
Mike Gelfand [Fri, 19 May 2017 19:23:51 +0000 (22:23 +0300)]
Sync Qt translations with code
Mike Gelfand [Fri, 19 May 2017 20:11:06 +0000 (23:11 +0300)]
Move pl_PL translations to pl
Mike Gelfand [Fri, 19 May 2017 18:49:04 +0000 (21:49 +0300)]
Move tr_TR translations to tr, sync list in qtr.pro
Mike Gelfand [Tue, 16 May 2017 21:56:39 +0000 (00:56 +0300)]
Fix autotools build
Mike Gelfand [Tue, 16 May 2017 20:13:25 +0000 (23:13 +0300)]
Merge pull request #224 from wjt/appdata
gtk: add AppData file
Mike Gelfand [Tue, 16 May 2017 18:37:00 +0000 (21:37 +0300)]
Fix some issues reported by Coverity
Mike Gelfand [Sat, 13 May 2017 22:38:31 +0000 (01:38 +0300)]
Reduce for loop variables scope
Mike Gelfand [Tue, 9 May 2017 11:20:26 +0000 (14:20 +0300)]
Fix some more off-by-one errors on last piece
See: TRAC-4037 and
e2584b04ff
Will Thompson [Mon, 20 Mar 2017 15:36:25 +0000 (15:36 +0000)]
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.
Mike Gelfand [Tue, 2 May 2017 19:59:39 +0000 (22:59 +0300)]
Merge pull request #259 from piotrdrag/fix-comment
lib: fix translator comment extraction
Piotr Drąg [Tue, 2 May 2017 19:21:04 +0000 (21:21 +0200)]
lib: fix translator comment extraction
gettext won’t pick up a comment if it’s
not exactly one line above the string.
Mike Gelfand [Tue, 2 May 2017 16:58:22 +0000 (19:58 +0300)]
Fix torrent file trashing upon addition (Qt client)
Mike Gelfand [Mon, 1 May 2017 16:11:11 +0000 (19:11 +0300)]
Merge pull request #158 from spark4160/queue-hotkeys
Added queue up/down hotkeys to the Qt & GTK+ clients.
Mike Gelfand [Mon, 1 May 2017 16:07:35 +0000 (19:07 +0300)]
Fix FTBFS on Windows (oops!)
Mike Gelfand [Mon, 1 May 2017 15:58:27 +0000 (18:58 +0300)]
Add queue up/down hotkeys (GTK+ client)
Thomas Hines [Fri, 27 Jan 2017 05:42:18 +0000 (15:42 +1000)]
Added queue up/down hotkeys to the Qt interface.
Mike Gelfand [Mon, 1 May 2017 15:47:49 +0000 (18:47 +0300)]
Fix a number of other style inconsistencies met along the way (part 2)
Mike Gelfand [Mon, 1 May 2017 15:46:41 +0000 (18:46 +0300)]
Avoid declaring multiple variables on the same line
Mike Gelfand [Mon, 1 May 2017 10:31:14 +0000 (13:31 +0300)]
Merge pull request #161 from slokhorst/rpc-ipv6
Allow the RPC server to listen on an IPv6 address
Mike Gelfand [Mon, 1 May 2017 09:58:02 +0000 (12:58 +0300)]
Merge pull request #234 from muesli/master
Fix sorting by progress (Qt client)
Mike Gelfand [Mon, 1 May 2017 09:55:29 +0000 (12:55 +0300)]
Don't return NaN from Torrent::percentComplete (Qt client)
Mike Gelfand [Thu, 20 Apr 2017 21:43:35 +0000 (00:43 +0300)]
Only compare magnet state if not yet different
Christian Muehlhaeuser [Thu, 30 Mar 2017 02:22:01 +0000 (04:22 +0200)]
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().
Mike Gelfand [Mon, 1 May 2017 09:39:30 +0000 (12:39 +0300)]
Merge pull request #247 from cmskog/make-room-for-ipv6-addr-in-remote
Enlarge IP address column in transmission-remote
Mike Gelfand [Mon, 1 May 2017 09:31:01 +0000 (12:31 +0300)]
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
Carl Michael Skog [Sun, 16 Apr 2017 23:42:19 +0000 (01:42 +0200)]
Enlarge IP address column in transmission-remote
When using the transmission-remote program to list
peers(e.g. transmission-remote -t42 -ip), there is
not enough room for ipv6 addresses.
Increase the ip address column width from 20 to 40
(128/4 hex numbers + 32/4 - 1 colons + 1 space =
40 character width).
Mike Gelfand [Sun, 30 Apr 2017 18:18:02 +0000 (21:18 +0300)]
Announce -1 as size left if the value is unknown
Fixes: #250
Mike Gelfand [Sun, 30 Apr 2017 16:46:02 +0000 (19:46 +0300)]
Compare system function return value to a specific value indicating the error
Mike Gelfand [Sun, 30 Apr 2017 16:43:49 +0000 (19:43 +0300)]
Merge pull request #256 from kholia/Xfplay
Add Peer ID for Xfplay torrent client
Mike Gelfand [Sun, 30 Apr 2017 16:30:03 +0000 (19:30 +0300)]
Fix a number of other style inconsistencies met along the way
Mike Gelfand [Sun, 30 Apr 2017 16:25:26 +0000 (19:25 +0300)]
Make conditional expressions explicitly boolean
Mike Gelfand [Sun, 30 Apr 2017 09:29:58 +0000 (12:29 +0300)]
Use nullptr consistencty instead of 0 and NULL (Qt client)
Mike Gelfand [Sat, 29 Apr 2017 20:11:57 +0000 (23:11 +0300)]
Avoid declaring variables inside conditional expressions (Qt client)
Dhiru Kholia [Fri, 28 Apr 2017 17:38:18 +0000 (23:08 +0530)]
Add Peer ID for Xfplay torrent client
This is based on the following resources,
http://www.xfplay.com/history.html
https://down.xfplay.com/xfplay9.994.exe
https://down.xfplay.com/xfplay9.992.exe
https://down.xfplay.com/xfplay9.991.exe
https://down.xfplay.com/xfplay9.99.exe
http://q.xfplay.com/
Sebastiaan Lokhorst [Sat, 28 Jan 2017 20:18:38 +0000 (21:18 +0100)]
Allow the RPC server to listen on an IPv6 address
Mike Gelfand [Sat, 22 Apr 2017 18:39:24 +0000 (21:39 +0300)]
Fix mount points enumeration (platform quota) on Solaris
Per documentation, `getmntent` returns 0 on success and -1 on error.
Mike Gelfand [Fri, 21 Apr 2017 07:40:57 +0000 (10:40 +0300)]
Code style change leftovers
For some reason, GTK client wasn't fully processed. All the rest of changes
are mostly in comments.
Mike Gelfand [Thu, 20 Apr 2017 16:02:19 +0000 (19:02 +0300)]
Align type qualifiers to the right (code style)
This way all the qualifiers (`const`, `volatile`, `mutable`) are grouped
together, e.g. `T const* const x` vs. `const T* const x`. Also helps reading
types right-to-left, e.g. "constant pointer to constant T" vs. "constant
pointer to T which is constant".
Mike Gelfand [Wed, 19 Apr 2017 12:04:45 +0000 (15:04 +0300)]
Adjust uncrustify config, reformat all but Mac client
There're places where manual intervention is still required as uncrustify
is not ideal (unfortunately), but at least one may rely on it to do the
right thing most of the time (e.g. when sending in a patch).
The style itself is quite different from what we had before but making it
uniform across all the codebase is the key. I also hope that it'll make the
code more readable (YMMV) and less sensitive to further changes.
Mike Gelfand [Sun, 12 Mar 2017 09:05:37 +0000 (12:05 +0300)]
Merge pull request #215 from transmission/fix-xenial-glib-error
Work around "error: m4_copy: won't overwrite defined macro: glib_DEFUN"
Eric Petit [Sun, 12 Mar 2017 05:20:14 +0000 (06:20 +0100)]
Work around "error: m4_copy: won't overwrite defined macro: glib_DEFUN" on
Xenial, copied from https://github.com/Alexpux/MINGW-packages/issues/1351
Mike Gelfand [Sat, 25 Feb 2017 06:54:39 +0000 (09:54 +0300)]
Fail installation on Windows if UCRT is not installed
Mike Gelfand [Thu, 23 Feb 2017 20:18:45 +0000 (23:18 +0300)]
Fix CMake check for missing crypto backend
Fixes: #191
Mike Gelfand [Wed, 22 Feb 2017 21:07:39 +0000 (00:07 +0300)]
Detach the thread from within itself to avoid race condition
Fixes: #188
Mike Gelfand [Tue, 21 Feb 2017 21:00:07 +0000 (00:00 +0300)]
Merge branch 'gh37-update-icon-on-rename'
Fixes: #37