Commit Graph

15499 Commits

Author SHA1 Message Date
Yat Ho 4bb205d440 fix: workaround HSTS upgrading to HTTPS for HTTP trackers (#5969) 2023-11-03 12:57:32 -05:00
hgy59 bcab17f963 fix: tr_sys_path_copy in file-posix.cc for some Synology Devices (#5966) (#5974) 2023-11-03 12:56:36 -05:00
Yat Ho a5d4b5903d fix: formatting cmdline help message (#6174) 2023-11-03 12:53:38 -05:00
Dzmitry Neviadomski df38c1df94
fix: do not use get_files2 in 4.0.x branch (#6144)
Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-10-20 20:35:41 -05:00
Dzmitry Neviadomski b7f3e94700
fix: crash when selecting file from recently used in gtk file chooser (#6131) (#6142)
(cherry picked from commit 0faad14086)
2023-10-20 19:10:44 -05:00
Yat Ho 90b86a17d8
fix: encode `ip` in network byte order for udp announce (#6126) (#6132)
* fix: encode `ip` in network byte order for udp announce (#6126)

(cherry picked from commit c70c49e87b)

* fixup! fix: encode `ip` in network byte order for udp announce (#6126)
2023-10-20 11:32:42 -05:00
Yat Ho ba36954c6c
fix: only consider piece data in bandwidth limit (#6082) (#6134)
* fix: only consider piece data in bandwidth limit

* refactor: remove unused `tr_bandwidth::clamp()` signature

(cherry picked from commit 43aff088d8)
2023-10-20 11:23:00 -05:00
Yat Ho cf6691acca
fix: json string serializer improperly escaping characters (#6005) (#6133)
* feat: escape json string according to RFC8259

* fix: do not append newline when json serde is in compact mode

* fix: json tests

1. Use the same locale settings as the apps
2. Added additional test case for a string that are known to be prone to locale issues
3. Removed test for escaping non-BMP characters to UTF-16 escape sequences

* chore: add more test cases to `JSONTest.testUtf8`

* chore: order cases in the same order as RFC8259

(cherry picked from commit 0259edbaf3)
2023-10-20 11:21:51 -05:00
Cœur 55edc9f628
Fix macOS 14 UI not clipping views and crashing on window restoration (#6051) 2023-09-30 16:16:17 -05:00
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