Commit Graph

15510 Commits

Author SHA1 Message Date
Charles Kerr
ed8133520f fix: blocklists allocate more memory than they need (#4953) 2023-02-19 09:20:23 -06:00
github-actions[bot]
671f835228 chore: update generated transmission-web files (#4941) 2023-02-18 16:48:41 -06:00
Òscar Casajuana
7350339ebc fix: searching labels that contain spaces or hyphens (#4932) 2023-02-18 16:44:26 -06:00
Bheesham Persaud
05e79d01db build: Use CXX symbol checking for libutp (#4909) 2023-02-18 15:10:50 -06:00
Mike Gelfand
9f2040d093 Only show/hide top-level windows on systray action (#4939) 2023-02-18 16:09:35 +00:00
Charles Kerr
e29064023f fix: try utp connection first; fix utp timeout issues. (#4897) 2023-02-18 10:03:59 -06:00
Charles Kerr
adf5051d46 fix: revert tr_torrentStat() acquires a session thread lock (#4571)
This reverts commit e4b480ecd4.
2023-02-17 23:11:24 -06:00
Mike Gelfand
b3abadf8ba Bump bundled libutp to rollback anonymous unions fix (#4877) 2023-02-18 02:59:15 +00:00
goldsteinn
1e5546280e fix: Remove faulty popcnt features checks for MSVC [#4872] (#4886)
The `popcnt` feature checks weren't actually checking the ISA feature
or cpuid. This caused an illegal instruction exception on x86 hardware
that doesn't support `popcnt` when compiled with MSVC.

Since MSVC doesn't support any x86 ISA defines, the only way to check
for `popcnt` is with cpuid. Since this is a tiny inline function,
dynamic dispatch is likley not worth it so just removing the MSVC
for `popcnt`. MSVC will now fallback to the generic implementation.
2023-02-18 02:11:56 +00:00
Mike Gelfand
605c6bd031 Store percents as integer, with 2 digits of precision (#4933)
* Store percents as integer, with 2 digits of precision

* Fix GHA builds for Mac (missing pkg-config)

* Fix percents formatting
2023-02-18 01:14:01 +00:00
SweetPPro
3ae8107ca9 fix: highlight the selected group in Group View (#4896) 2023-02-15 13:01:24 -06:00
Charles Kerr
affb69e395 fix: awkward grammar in details dialog running-time display (#4898) 2023-02-15 06:19:57 -06:00
Cœur
9b69c7d5ff Don't force fetch metainfo at startup and new torrents. (#4895) 2023-02-14 22:19:47 -06:00
SweetPPro
4243a33e01 fix an issue where the pieces view can jump around (#4884) 2023-02-14 16:31:19 -06:00
Charles Kerr
4461aa68d9 fix: handle block fragments that arrive from peers out-of-order (#4890) 2023-02-14 13:50:28 -06:00
Charles Kerr
9d91d1e969 fix: checksum of pieces that don't align on block boundaries (#4880) 2023-02-13 20:57:20 -06:00
Charles Kerr
a982c96518 fix: assertion failed leftUntilDone <= sizeWhenDone (#4879) 2023-02-13 19:51:23 -06:00
Charles Kerr
f551b4adbf fix: magnet links are always paused when added (#4856) 2023-02-13 12:33:33 -06:00
Thomas Klausner
62a60b4ea4 fix: link libquota on NetBSD to fix FTBFS (#4863) 2023-02-13 12:04:14 -06:00
Mike Gelfand
25b50a7dff fix: adjust Glib::ustring creation in a few places (#4859)
From what I observed, ctor accepting `(begin, end)` is getting called
instead of one accepting `(data, size)` for no apparent reason in some
cases. Switch to a ctor accepting a `std::string` in those problematic
places.
2023-02-13 11:16:15 -06:00
Thomas Weißschuh
05dded12a0 build: install rebuilt web if available (#4865) 2023-02-13 10:52:53 -06:00
Charles Kerr
a2faaabe69 chore: remove invalid assertion test (#4860)
Fixes #4078.
2023-02-12 18:38:18 -06:00
Cœur
649fd4d0d2 fix: do not lose magnet links when upgrading from tr3 to 4 (#4840) 2023-02-12 18:10:54 -06:00
Mike Gelfand
dcd7501211 Build additional packages for Qt 5 on Appveyor (#4855)
Bring back old configuration that was using Qt 5 and split Qt build in
two to support both Qt 5 and Qt 6. Last Qt 5 builds were using 5.14.2,
bump that to latest 5.15.8.

Qt 6 only supports Windows 10+, so adjust the system version check
accordingly. Not bumping Qt 6 version (although 6.4.2 is available)
while we're still in patch release mode.

Building a whole new package is not nice since Qt client is only one
part of it, the rest doesn't require newer OS version. Nevertheless,
it's a quick and easy fix.
2023-02-12 22:12:09 +00:00
Cœur
0be7091eb1 Revert "fix: remove abort() call from tr_assert_message() (#4696)" (#4851)
This reverts commit 0493542f62.
2023-02-12 08:16:20 -06:00
Charles Kerr
b7099270b6 fix: tr_swarm order of destruction (#4847) 2023-02-12 00:30:30 -06:00
Gary Elshaw
94e1668e1c style: dock badge colours follow Apple a11y colour guide (#4813) 2023-02-12 00:05:22 -06:00
Charles Kerr
2b3578512c fix: display correct tracker port in qt torrent-details (#4846) 2023-02-11 21:46:57 -06:00
Charles Kerr
8cee2f952e fix: port forwarding flag not saved between sessions (#4842) 2023-02-11 20:49:16 -06:00
Charles Kerr
ba679a814f fix: try a tcp peer connection before a utp one. (#4826) 2023-02-11 16:14:32 -06:00
github-actions[bot]
e2a31f37f7 chore: update generated transmission-web files (#4841) 2023-02-11 15:56:11 -06:00
Charles Kerr
e60b1516c6 fix: incorrect debounce arguments (#4839)
Fixes #4830.
2023-02-11 15:37:43 -06:00
github-actions[bot]
fa17414181 chore: update generated transmission-web files (#4836) 2023-02-11 15:27:58 -06:00
Julien
4b8cfa2e57 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Thomas Weißschuh
4dc836f330 tests: expose libtransmission gtests to ctest (#4731) 2023-02-11 11:27:36 -06:00
Berbe
05a5c1e410 Doc: Add missing configuration file directives (#4812) 2023-02-11 09:30:32 -06:00
Charles Kerr
2a74efa24a build: disable clang-tidy by default (#4824)
workaround for https://github.com/llvm/llvm-project/issues/59492

Fixes #4821.
2023-02-11 09:28:52 -06:00
Berbe
b155374137 fix: add nullptr dereference safguard in announcer code 2023-02-11 08:25:28 -06:00
Mike Gelfand
b8e7b15804 Speed up Appveyor builds with ccache (#4823) 2023-02-11 13:56:08 +00:00
Mike Gilbert
4a3c217069 build: pass --no-warn-unused-cli to child cmake process (#4807)
Hides a warning when building the dht library.

CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_FLAGS
    CMAKE_INSTALL_LIBDIR
2023-02-11 00:02:50 -06:00
Daniel Kamil Kozar
e0753fedb9 fix: put "private" and "source" inside the metadata "info" key (#4809) 2023-02-10 20:33:24 -06:00
Berbe
065facc07c fix: Prevent lengthy compilation workflows to run needlessly (#4804) 2023-02-10 18:51:37 -06:00
Mike Gelfand
39acf93f1a Always build bundled libb64 and libutp libraries as static (#4810) 2023-02-11 00:08:55 +00:00
Charles Kerr
42a01068c6 chore: disable flaky unit tests (#4808)
This shouldn't be a long-term fix -- each of these tests should be fixed
instead of disabled -- but they are causing so much noise in CI that I'm
disabling them for now and then they can be re-enabled when fixed.

Fixes #4747.
2023-02-10 17:35:22 -06:00
Berbe
b64e65cf2e docs: document python3 builddep when building libpsl 2023-02-10 16:40:27 -06:00
SweetPPro
7ad3dfa8e5 fix: added padding to widgets in macOS client to avoid being hidden below scroller (#4788) 2023-02-10 15:33:28 -06:00
Charles Kerr
d0b148c033 fix: misleading error message when resume file is missing (#4799)
Fixes #4712.
2023-02-10 14:01:39 -06:00
Dmitry Antipov
7eecd87034 fix: Qt 6 deprecation warnings (#4710) 2023-02-10 11:58:43 -06:00
Mike Gelfand
44546674d9 Include libb64 and libutp as subprojects (#4762)
* Include libb64 and libutp as subprojects

* Build 3rd-party subprojects before CodeQL analysis
2023-02-09 19:12:25 +00:00
Mike Gelfand
b85f85d3f9 Fix blurry progress bars in main window (GTK client) (#4756)
* Fix blurry progress bars in main window (GTK client)

Create surfaces similar to those provided by GTK, which includes similar
scale factor.

* Minor simplification to avoid needless macro use
2023-02-09 11:02:39 +00:00