Commit Graph

15665 Commits

Author SHA1 Message Date
Charles Kerr cb2462aacd
docs: update release notes for 4.0.4 (#5924) 2023-08-23 15:16:27 -05:00
Charles Kerr 43030132fc
refactor: use std::variant in tr_variant (#5936) 2023-08-23 12:57:58 -05:00
Charles Kerr fbfbfac3ae
fix: minor coverity warnings (#5916)
* fix: unchecked return value from tr_variantDictFindInt()

coverity 1541113

* fix: unchecked return value from tr_variantDictFindBool()

coverity 1541112

* fix: copy-instead-of-move in tr_strlower()

coverity 1541092

* fix: use auto& instead of auto in test

coverity 1541084

* fix: logically dead code

coverity 1541065

* fix: copy-instead-of-move in tr_announcer_impl::addTorrent()

coverity 1541062

* fix: unchecked return value of tr_variantDictFindInt()

coverity 1541061

* fix: copy-instead-of-move in FilterBar::Impl::tracker_filter_model_update()

coverity 1541058

* fix: copy-instead-of-move in gtr_window_on_close()

* fix: silence invalid resource leak warning

coverity 1520595

* fix: unchecked return value from setsockopt()

coverity 1518345

* fix: dereference after null check (FORWARD_NULL)

coverity 1517816
2023-08-21 21:59:47 -05:00
Charles Kerr 59c638c63d
refactor: replace tr_variant::is_*() with tr_variant::holds_alternative() (#5930) 2023-08-21 16:16:54 -05:00
github-actions[bot] 5190db57d9
chore: update generated transmission-web files (#5931)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-08-21 15:50:08 -05:00
Rukario ce1297b775
feat: add keyboard shortcut for editing labels
Notes: Added keyboard shortcut for editing labels.
2023-08-21 15:09:07 -05:00
Charles Kerr 5837603b6f
refactor: make tr_variant follow RAII (#5923) 2023-08-20 23:15:23 -05:00
github-actions[bot] 930c33a8cd
chore: update generated transmission-web files (#5925)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-08-20 22:14:49 -05:00
Rukario c5f5911fb9
fix: overflow-menu and context-menu positioning for small viewports (#5827) 2023-08-20 21:34:05 -05:00
Yat Ho bb386cf17f
refactor: use one socket for sending and receiving lpd announces (#5909) 2023-08-18 15:56:28 -05:00
Yat Ho eea7d4d886
refactor: re-organise `net.h` member functions (#5878) 2023-08-17 22:13:01 -05:00
Charles Kerr a4d205612a
refactor: add tr_variant_serde (#5903) 2023-08-17 11:02:45 -05:00
fredo-47 9df4adf9b6
chore: change some log-levels in global-ip-cache.cc from info to debug (#5870) 2023-08-15 13:47:20 -05:00
github-actions[bot] 5f9deb3d33
chore: update generated transmission-web files (#5902) 2023-08-14 16:47:02 -05:00
tearfur 449549c84f
fix: do not mark peer as not connectable when we are currently connected (#5889) 2023-08-14 16:46:09 -05:00
Gary Elshaw 916534a687
ui: make web ui's progressbar colors closer to macOS client 2023-08-14 16:02:24 -05:00
tearfur 8283a78695
docs: add tearfur to AUTHORS (#5859) 2023-08-14 13:52:43 -05:00
tearfur a88b353576
chore: rename other publicAddress() functions (#5873) 2023-08-14 10:31:12 -05:00
tearfur 0c7992baa2
fix: cover all pex disabled cases in `get_peer_candidate()` (#5806) 2023-08-14 09:56:43 -05:00
tearfur 2a51d4882c
add documentation for `session-id` rpc field (#5863) 2023-08-14 00:31:20 -05:00
github-actions[bot] b8bf6cb89f
chore: update generated transmission-web files (#5898) 2023-08-13 22:03:55 -05:00
tearfur 72f604dbf8
fixup! perf: improve sorting performance in `tr_peerMgrGetPeers()` (#5807) 2023-08-13 22:02:11 -05:00
Rukario 629f7cb86f
fix: greying out of inspector in webui (#5893) 2023-08-13 20:53:58 -05:00
Zhenyu Qi 8873f2a50c
fix: announce with query replace bug (#5871) 2023-08-13 19:27:55 -05:00
SweetPPro 1a86c65b44
fix: missing priority icon in torrent cell (#5856)
* regression fix: missing priority icon in torrent cell

Fix #5826 (regression from #5147) - autolayout alternative to #5846

* Update TorrentCell.mm

* Update SmallTorrentCell.mm
2023-08-13 14:37:42 -05:00
tearfur 27f3a5b82a
fix: announce LDP on listening interface (#5875)
* fix: make sure LDP announces are sent on the listening interface

* fix: add implementation for test mediator

* fix: set SO_REUSEADDR for send socket
2023-08-13 12:04:04 -05:00
Mike Gelfand 586cff9506
Switch to list view for torrents list (GTK 4) (#5858)
* Add compat operator* for RefPtr

* Rename `*_tree_view_*` button handling helpers to `*_item_view_*`

* Move torrent item colors to CSS

* Switch to list view for torrents list (GTK 4)

* Bump Fedora image to 39 (current rawhide) for GTK 4.11

Enable deprecations as there're lots of them in 4.11 and I'm not keen on
fixing them all right now. Disable warnings as errors due to
-Warray-bounds issue somewhere in libfmt.
2023-08-06 04:26:29 +01:00
tearfur badeed374f
fix: incorrect pex flags merge logic (#5876) 2023-08-05 12:37:33 -05:00
tearfur a2849219f7
feat: split connectable and non-connectable pool (#5801) 2023-08-01 09:56:26 -05:00
Cœur 212bf69bb3
build: Xcode cleanup of leftover reference (#5844) 2023-07-30 20:12:14 -05:00
Mike Gelfand c14094f4c9
Use clang-format for qualifier alignment (#5845)
`QualifierAlignment` option is available since clang-format v14 and
works better than our own script.
2023-07-30 16:43:43 +01:00
Cœur 84f9d01e7d
fix: -fobjc-arc with GCC (#5632) 2023-07-29 20:57:43 -05:00
tearfur ec0567e09f
fix: fix ci web cmake option (#5835) 2023-07-29 10:24:13 -05:00
tearfur 8b4d05d4e5
fixup! refactor: `tr_torrent.incompleteMetadata` from raw pointer to `std::optional` (#5837) 2023-07-29 08:49:52 -05:00
Dzmitry Neviadomski dae1bb123c
fix: CI: Do not use nproc on macOS hosts. (#5833)
This is not an error, but a warning when building/running tests
with CMake/GoogleTest.
Use `sysctl -n hw.logicalcpu` to get parallelization number.

See: https://github.com/memkind/memkind/issues/33#issuecomment-540614162

No changes affecting users, so no `Notes:` here.

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-07-29 08:21:30 -05:00
tearfur 76ced6115f
docs: document the `watch-dir-force-generic` setting (#5819) 2023-07-28 18:53:48 -05:00
Charles Kerr c6e47c232e
refactor: use std::variant in tr_variant, pt 1: make tr_variant_string private (#5832) 2023-07-28 16:14:31 -05:00
github-actions[bot] 8b801a276f
chore: update generated transmission-web files (#5831)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-07-28 14:13:15 -05:00
Derek Reiff e5b43991bc
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 12:50:45 -05:00
tearfur d2fabc737b
fix: disregard locale when building LDP announce message (#5825) 2023-07-28 10:31:11 -05:00
Charles Kerr ed3f6c2ec8
fixup! perf: use small::max_size_vector in tr_torrentGetMetadataPiece (#5830)
* fixup! perf: use small::max_size_vector in tr_torrentGetMetadataPiece() (#5768)

* enable tests for alpine CI

---------

Co-authored-by: tearfur <46261767+tearfur@users.noreply.github.com>
2023-07-28 09:53:10 -05:00
tearfur 22da17f13f
fix: clamp down harder for upload as well (#5821) 2023-07-25 11:53:33 -05:00
Charles Kerr d7473f22ed
refactor: prefer direct-brace-initialization (#5803) 2023-07-18 10:20:17 -05:00
tearfur f758cb3597
refactor: avoid code duplication (#5793) 2023-07-17 08:56:57 -05:00
Charles Kerr ea9fd64830
refactor: tr_compare_3way() (#5799) 2023-07-15 21:55:44 -05:00
Charles Kerr 273f943a3b
refactor: make a few more methods `constexpr` (#5798) 2023-07-15 19:02:39 -05:00
tearfur 31f2c7aa29
refactor: `tr_torrent.incompleteMetadata` from raw pointer to `std::optional` (#5791) 2023-07-15 15:38:38 -05:00
tearfur 01f25b030c
perf: improve sorting performance in `tr_peerMgrGetPeers()` (#5792) 2023-07-15 08:18:37 -05:00
github-actions[bot] 4ea49912e7
chore: update generated transmission-web files (#5790) 2023-07-14 19:38:07 -05:00
Charles Kerr 1acfca9c3a
build: bump web client dev-dependencies (#5789) 2023-07-14 19:26:48 -05:00