Commit Graph

15490 Commits

Author SHA1 Message Date
Charles Kerr 24077e3511 chore: bump version to 4.0.4 2023-08-23 17:48:58 -05:00
Charles Kerr befbeccb2c docs: update release notes for 4.0.4 (#5924) 2023-08-23 17:48:10 -05:00
Charles Kerr 9a399bae06 chore: rebuild transmission-app.js 2023-08-21 13:33:05 -05:00
Gary Elshaw b8235ea317 fix: improve resolution of Qt app icon (#5570) 2023-08-21 13:32:40 -05:00
Gary Elshaw 22e1dae57e fix: web ui start/pause button icon size (#5771) 2023-08-21 13:32:23 -05:00
Gary Elshaw 549487d268 fix: add missing tooltip for 'remove torrent' button (#5777) 2023-08-21 13:30:51 -05:00
Charles Kerr e80c933284 chore: rebuild transmission-app.js 2023-08-20 21:40:07 -05:00
Rukario 1458a7266a fix: overflow-menu and context-menu positioning for small viewports (#5827) 2023-08-20 21:39:41 -05:00
Charles Kerr b8802aebb5
fix: announce LDP on listening interface (#5875) (#5896) 2023-08-13 22:02:54 -05:00
Zhenyu Qi daff66690a fix: announce with query replace bug (#5871) 2023-08-13 19:28:35 -05:00
Cœur 03ffe42ad4 fix: -fobjc-arc with GCC (#5632) 2023-07-29 20:58:38 -05:00
Charles Kerr 98f112c6bc chore: regenerate transmission-app.js 2023-07-28 13:00:37 -05:00
Derek Reiff f52785af6c Add readme with light setup instructions; minor UI tweaks (#5814)
* Add readme with light setup instructions; tweak ui

These are very minor changes that cover a few issues:

- WebUI Peer list too narrow #4209

On very small screens (for-phone-only), we modify width on some fields for less overlap. But we also truncate using `text-overflow: ellipsis` and `overflow-x: hidden`.

- properly style up/down speed icons

Moved SVG contents into index.html so we can make these style changes based on the `prefers-color-scheme` media query.

I also set a min-width, text-align: right on the download/upload label so they aren't shifting when going from 1 kB/s to 800 Mb/s.

- Add README for `web` directory

It made sense to add some super simple getting-started instructions for the directory.

- Limit input width in Add dialog of Web #5639

Add a width to the open-torrent file input, but also increase the modal dialog container size.

* Add bookmarklet for anonymizing screenshots

I see a lot of blurring going on in screenshots for issues and PRs, so this is a quick little bookmarklet trick to add lorem ipsum text to torrent-names.
2023-07-28 13:00:27 -05:00
tearfur e8ef1f3d38 fix: disregard locale when building LDP announce message (#5825) 2023-07-28 10:33:25 -05:00
tearfur 264746959b fix: clamp down harder for upload as well (#5821) 2023-07-25 11:57:21 -05:00
tearfur de26f38c77 perf: reduce copying in `enforceSwarmPeerLimit()` (#5731)
* reduce copying in `enforceSwarmPeerLimit()`

* clearer comparator naming
2023-07-14 19:55:36 -05:00
Charles Kerr 14e31babbb perf: faster Cache::write_contiguous() (#5715) 2023-07-02 15:24:49 -05:00
tearfur 2941005e34 perf: convert comparator functors to static constexpr (#5687) 2023-06-30 12:29:53 -05:00
Chris Kankiewicz 3b59729e07 docs: update documentation of logging levels (#5700) 2023-06-30 12:29:32 -05:00
Charles Kerr a957f90ee0 chore: update generated transmission-web files 2023-06-28 11:48:46 -05:00
tearfur 87388ee7c8 perf: make `CompareCacheBlockByKey` constexpr (#5678) 2023-06-28 11:47:46 -05:00
Geoffrey Bonneville 115a069d8d fix: do not write log if file handler is bad (#5675) 2023-06-27 13:56:01 -05:00
Charles Kerr d2200cf9ea perf: in cache, flush biggest contiguous blocks (#5671) 2023-06-27 12:20:38 -05:00
Charles Kerr b86afe185b fixup! fix: return error when renaming into existing file (#5563) 2023-06-22 17:33:19 -05:00
tearfur 4343926441 encode `&key=` as fixed-width 8-digit hex (#5652) 2023-06-21 11:53:28 -05:00
Dmitry Antipov 47a3a92a0e fix: Qt 6.5 deprecation warning (#5552) 2023-06-19 16:59:12 -05:00
Василий Чай 504b77b0b9 fix: return error when renaming into existing file (#5563) 2023-06-19 00:31:18 -05:00
Gary Elshaw de5f5a2efb fix: restore png files that were corrupted in recent "compression" script 2023-06-18 14:12:35 -05:00
Cœur 90f8db7bf7 fix 'setNeedsDisplay' is deprecated: first deprecated in macOS 10.14 (#5633) 2023-06-18 13:33:08 -05:00
Robin Seth Ekman bc9e8e406e fix: transmission-remote only list every other label (fixes #5571) (#5572) 2023-06-11 20:20:29 -05:00
Charles Kerr 61c79b5944 Revert "fix: some labels not displayed in transmission-remote (#5600)"
This reverts commit a91c985674.
2023-06-11 11:26:03 -05:00
Charles Kerr 3aabde310c chore: improve lossless compression of png files (#5586) 2023-06-10 19:02:37 -05:00
Charles Kerr a91c985674 fix: some labels not displayed in transmission-remote (#5600)
Fixes #5571.
2023-06-10 19:01:53 -05:00
Mike Gelfand 3b44fa034d Avoid locale use in `tr_truncd()` (#5587)
`tr_parseNum<>()` is implemented with `fast_float::from_chars()`, and
the latter is documented as "expecting a locale-indepent format
equivalent to what is used by std::strtod in the default ("C") locale".
To accomodate locale independent number parsing, switch back to
locale-independent number formatting in `tr_truncd()` by both removing a
`L` format specifier from `fmt::format_to_n()` call and using a fixed
"." decimal separator when truncating the value.
2023-06-10 17:09:55 -05:00
Charles Kerr edcddd00dd perf: avoid extra work in read_vc() (#5527) 2023-05-14 15:12:28 -05:00
Charles Kerr 04b5329345 fix: avoid unintentional map insertions in ActiveRequests::count() (#5520) 2023-05-12 20:18:47 -05:00
Gary Elshaw 43d1fd33a3 fix: typos in libtransmission tests (#5468) 2023-05-09 13:46:26 -05:00
Gary Elshaw 96aefb5fc3 fix: comment typos in libtransmission (#5473) 2023-05-09 13:45:15 -05:00
Jonatan 3605330b6e docs: update translation site names (#5481)
See https://help.transifex.com/en/articles/7171815-web-application-s-domain-change
2023-05-09 13:44:36 -05:00
Charles Kerr a7c98b3d5f fix: does not trash added torrent files when asked (#5505) 2023-05-08 16:22:11 -05:00
Charles Kerr 2184095871 fix: show magnet name in compact mode (#5491) 2023-05-07 13:05:00 -05:00
Zhenfu Shi 8a3eba129a fix: wrong case in AppKit.h (#5456) 2023-04-27 14:05:14 -05:00
Mike Gelfand 411b66cf88 fix: use user-preferred locale (#5444)
* Use user-preferred locale

Previous fix adding `L` format specifier was correct but only fixed half
of the problem, as C++ locale is set up to be "C" by default. GTK client
used to call `setlocale(LC_ALL, "")` to set up user-preferred locale
which only affected C functions and `std::locale` (used by libfmt) was
unaware of those changes.

Apply the fix to all the binaries since they're all doing some sort of
output to the user and calling libtransmission helpers, as well as using
libfmt directly.

* Improve libtransmission's json-test

Set the locale C++ way to avoid any sort of inconsistencies, and also
restore it to the old one once finished testing.

* Improve transmission-show test runner script

Quote outputs to avoid CMake error about `message()` being called with
no arguments. Capture stderr to the same output file. Fallback to `git
diff` if `diff` wasn't found. A few other minor changes.
2023-04-27 09:11:06 -05:00
Charles Kerr 02b8535aa1 perf: in Buffer::Iterator, defer evbuffer API calls (#5420) 2023-04-26 23:29:57 -05:00
Charles Kerr 2be3ecfd27 fix: bug that prevented providing the final metadata piece (#5460)
Fixes bug in implementation of BEP 9

Xref: https://www.bittorrent.org/beps/bep_0009.html
2023-04-26 23:29:07 -05:00
Charles Kerr b106da10ed fix: null tier name in inspector list (#5462) 2023-04-26 23:27:39 -05:00
Charles Kerr f54f9e1c45 fix: no such file or directory warning in transmission-cli (#5426) 2023-04-20 17:41:06 -05:00
Charles Kerr c37b297b25 fix: minor warnings (#5409)
* chore: fix readability-qualified-auto warnings

* chore: fix clang-analyzer-core.uninitialized.Branch warning

* fix: collision of key 'ERROR' in transmission-qt

* chore: silence -Wshadow warning

* chore: silence warning C4100: 'iter': unreferenced formal parameter

* chore: fix warning C4127: conditional expression is constant warning
2023-04-20 14:16:09 -05:00
Kyle Sanderson 256fd698d7 fix: uninitialized session_id_t values (#5396) 2023-04-20 14:13:51 -05:00
Charles Kerr 58ee5e5520 chore: bump version to 4.0.4-dev 2023-04-14 23:28:13 -05:00