Commit Graph

15552 Commits

Author SHA1 Message Date
Charles Kerr 38c164933e
chore: update transmission-app.js 2024-05-28 20:23:51 -05:00
Yat Ho 1dd6f36e19
webui: fixed width for speed info (#6866) 2024-05-28 09:58:51 -05:00
Mike Gelfand 1c330d56fe
Support CMake 3.28+ in CI jobs on Windows (#6854)
* Support building Qt using CMake 3.28+

CMake 3.28 dropped support for deriving installation prefix(es) based on
PATH environment variable on Windows. Since all the other built packages
already pass necessary prefix path(s) explicitly via CMAKE_PREFIX_PATH
and it works for them, do the same for Qt 6 as well. Building Qt 5 isn't
affected as it doesn't use CMake.

* Fix environment variable name in `windows` build job

Using wrong name resulted in empty `CMAKE_PREFIX_PATH` CMake setting
value, which showed the effects of CMake 3.28 changes yet again.
2024-05-25 01:54:30 +01:00
Charles Kerr 5b89728c22
fixup! fix: store seconds downloading/seeding when stopping torrent 2024-05-24 19:01:14 -05:00
Charles Kerr c55850182f
chore: bump version to 4.0.6 2024-05-24 16:35:22 -05:00
Charles Kerr cdc1037c7f
docs: add 4.0.6 release notes 2024-05-24 16:29:52 -05:00
Charles Kerr 0f257b0917
chore: fix linter css warning 2024-05-24 16:28:55 -05:00
Rukario 09e68a0a94
chore: improved filterbar for narrowed viewports in web client (#6761)
* Update transmission-app.scss

* Update index.html

---------

Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-05-24 10:30:43 -05:00
Yat Ho bb19ef74cc
fix: store seconds downloading/seeding when stopping torrent
manual backport of b6363fc
2024-05-24 10:15:17 -05:00
Will Thompson b461e35c55
chore: add Add <launchable> tag to GTK client metainfo (#6720) (#6779)
(cherry picked from commit de11cbdf85)
2024-05-24 10:10:59 -05:00
Yat Ho 98ab814cc7
fix: escape single file torrent name (#6846) 2024-05-24 10:09:58 -05:00
orangepizza c303b09187
fix compile with mbedtls 3.x (#6823)
Signed-off-by: Seo Suchan <tjtncks@gmail.com>
2024-05-24 10:09:03 -05:00
Cœur eb15098bad
Expected white-space to come before width order/properties-alphabetical-order (#6809) 2024-05-04 12:46:15 -05:00
Brad Smith 82401acf9b
fix: missing #include in DetailsDialog.cc (#6812) 2024-05-04 12:44:50 -05:00
Cœur f1e1cc3487
compatibility with libfmt v10.0.0 (#6810) 2024-05-04 12:44:20 -05:00
Helmut K. C. Tessarek 360a7b4533
fix(web): don't use 2 rows for upload/download speed info (#6570) 2024-03-31 11:58:38 -05:00
Cœur 386a36cf91
fix: Sparkle Version Comparator (#5263) (#6623)
* fix: Sparkle Version Comparator

* Code review: Reducing CFBundleVersion to three components and avoiding versionComparatorForUpdater

* adding +99 when it's a non-beta release

* code review: set CFBUNDLE_VERSION and unset components

* re-adding support for ignoring beta
2024-03-31 11:56:34 -05:00
Cœur fd4d097d13
fix compatibility with clang-format 18 (#6690) (#6699) 2024-03-15 23:29:26 -05:00
Cœur 2f05d1a6db
chore: apply clang-format version 17.0.1 (#6054) (#6622) 2024-02-18 22:44:36 -06:00
Will Thompson 5b2dd0d95a
GTK: Add developer name (and screenshot caption) to metainfo (#6598)
* Add caption to screenshot in metainfo

This is used, for example, as the accessible description for the
screenshot in GNOME Software.

* Add developer_name and developer to metainfo

<developer_name> is deprecated in AppStream 1.0 but is more widely
supported by Flathub and software centres such as GNOME Software and (I
believe) KDE's Discover.
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name

<developer> is the newer tag, introduced in AppStream 1.0.
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer

Add both, with the same value.
2024-02-15 19:12:21 -06:00
Yat Ho 01513b9ecf
fix: restore `alt-speed-enabled` config parameter (#6483) (#6564)
(cherry picked from commit 4cfd9f0c9e)
2024-02-10 20:14:35 -06:00
Yat Ho 04244310da
fix: add check for `EWOULDBLOCK` (#6350) (#6566)
(cherry picked from commit 4506d20136)
2024-02-10 20:14:24 -06:00
Yat Ho 0f4a7a2a53
fix: parse all http announce responses (#6223) (#6567)
(cherry picked from commit 077dcc8f9a)
2024-02-10 20:14:13 -06:00
Cœur 60ea6d2c09
fix: use one queue for timeMachineExclude, not one per torrent (#6523) (#6558) 2024-02-05 10:55:12 -06:00
Cœur 488585d7bf
fix: base62 conversion in peer-id generation (#6486) (#6559) 2024-02-03 22:16:29 -06:00
Yat Ho dea9400a2a
chore: backport recent WebUI fixes (#6563)
* fix: update WebUI build instructions to use `dataurl` loader for images (#6430)

(cherry picked from commit 9932f567fb)

* fix: always use location of selected torrents in WebUI set location dialogue (#6334)

(cherry picked from commit 71de532e0c)
2024-02-03 22:14:51 -06:00
Yat Ho e45b99ca4e
chore: backport recently active fixes (#6565)
* fix: mark torrent as changed when setting location (#6355)

(cherry picked from commit 7fa318c283)

* fix: mark torrent as changed when stopping (#6405)

(cherry picked from commit 7c9e04d035)
2024-02-03 22:14:10 -06:00
Charles Kerr 389adc6a2f
Merge pull request #6551 from tearfur/utp-backport 2024-01-27 09:31:59 -06:00
Cœur f8ec54a898 build: bump pbxproj to C11/C++17 for all targets (#6242)
(cherry picked from commit 0f3d146853)
2024-01-25 21:20:43 +08:00
Yat Ho 4a37b979cc chore: bump libutp (#6251)
(cherry picked from commit cf077bbba0)
2024-01-25 20:40:56 +08:00
Yat Ho 71904b9de2 fix: keep peer io alive inside utp callback (#6507)
(cherry picked from commit a1160f1556)
2024-01-25 20:06:24 +08:00
Yat Ho 64b87b376f fix: always schedule uTP ack after receiving a packet (#6508)
* fix: always schedule uTP ack after receiving a packet

* chore: add comment to explain change

(cherry picked from commit 0ce4adf07c)
2024-01-25 20:06:23 +08:00
Yat Ho d5a555c6bb fixup! fix: implement proper download limit for uTP (#6416) (#6481)
(cherry picked from commit dce0d37130)
2024-01-25 20:06:22 +08:00
Yat Ho 2e34c6f820 fix: implement proper download limit for uTP (#6416)
* fix: return read buffer size in libutp read buffer size callback

* refactor: clamp amount of data processed in `can_read_wrapper()`

* chore: housekeeping

* refactor: call `utp_read_drained()` in on-read callback

so that uTP acks can be sent out in a more timely fashion

(cherry picked from commit 5000edef01)
2024-01-25 20:06:20 +08:00
Mike Gelfand 352fa985b2 Update pieces label on source change even if piece size doesn't change (#6516)
Label update is made when slider changes its value, and on source change
slider value is being set to a newly calculated, but not necessarily
different from the previous one, value. This means that the slider
change signal may not be emitted, in which case label continues to show
previous text, including "No source selected", which is misleading.
2024-01-14 11:12:42 -06:00
Yat Ho 1ccef92cdc fix: use one variable to store `TR_KEY_rpc_authentication_required` (#6514) 2024-01-09 23:13:28 -06:00
Yat Ho 22687c5480
fix: WebUI render html entity in torrent ratio (#6491) (#6500)
(cherry picked from commit 3b017dbd86)
2024-01-07 11:22:33 -06:00
Cœur 954c0d179f build: fix libtransmission build on very old cmake versions (#6418)
* Fix libtransmission build requirements

* code review: keeping compatibility with deprecated cmake
2024-01-06 13:31:38 -06:00
Mike Gelfand a8ae0e73be fix: a couple of logging format issues (#6463)
* Fix swapped log args in `do_log_system_error()`

* Fix invalid fmt use in `tr_rpc_server::load()` logging
2023-12-30 18:30:35 -06:00
Charles Kerr 387f0f8e74 fix: invalid TR_TORRENT_TRACKERS env var for some torrents (#6434) 2023-12-24 16:40:31 -06:00
Cœur e116672b27
fix: build error on GTKMM-4 (#6393) 2023-12-17 09:37:35 -06:00
Will Thompson 4d0f5c7b6c
GTK: Add missing 4.0.4 and 4.0.5 releases to metainfo (#6357)
* GTK: Improve appstream metainfo (#5407)

* gtk: Add release history to metainfo file

This is mandatory on Flathub (and possibly other software repositories).
On each new release, a <release> element should be prepended to this
list.

Ideally each <release> would include (translatable) release notes, but
this is the bare minimum.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-releases
https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html

* gtk: Add more URLs to AppStream metainfo

This covers all the URL types from the AppStream specification.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-url

* gtk: Add translation info to AppStream metainfo

This allows information about per-language translation percentages to be
extracted at build-time and included in the repository's appstream file.
Software centres such as GNOME Software use this to indicate to the user
whether the app is translated into their language.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-translation
(cherry picked from commit dd22b52bbf)

* GTK: Add 4.0.4 and 4.0.5 releases to metainfo
2023-12-08 09:54:18 -06:00
Charles Kerr a6fe2a64aa chore: bump version to 4.0.5 2023-12-06 17:11:58 -06:00
Charles Kerr 83e1861736
docs: 4.0.5 release notes (#6346) 2023-12-06 17:10:11 -06:00
Charles Kerr d1333e6aa1
fix: crash after nullptr dereference in rpcimpl (#6177) (#6348)
Co-authored-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-12-06 15:24:13 -06:00
Charles Kerr 782114798b
chore: update webapp (#6347)
* chore: remove old REAMDE (superceded by README.md)

* chore: rebuild webapp
2023-12-06 15:22:31 -06:00
Charles Kerr f7f6ff23e2 docs: add web/README.md with instructions on building without Node.js 2023-12-04 10:39:34 -06:00
Cœur 172418e3b6 fix: broken UI and windows on macOS Sonoma (#6016) 2023-12-03 15:58:39 -06:00
Cœur 89cfd0ceb9 fix: larger display group name (#6104) 2023-12-03 15:55:12 -06:00
Dzmitry Neviadomski bd31d80500 fix: crash when selecting file from recently used in gtk file chooser (#6131) 2023-12-03 15:54:47 -06:00