Commit Graph

15340 Commits

Author SHA1 Message Date
Cœur dcc1d14fc1
Set fPiecesControl segmentDistribution to fillProportionally (#5066) 2023-02-26 09:42:26 -06:00
github-actions[bot] 63f47691e8
chore: update generated transmission-web files (#5061) 2023-02-26 01:10:18 -06:00
Helmut K. C. Tessarek 0d355806ac
fix: change alt to control for shortcuts (#5054) 2023-02-25 23:37:50 -06:00
Cœur 8a374a3310
fix: macOS watchdirs (#5058) 2023-02-25 22:50:30 -06:00
Charles Kerr 47fd150bab
fix: some torrents think they are magnets (#5025) 2023-02-25 07:11:19 -06:00
Mike Gelfand 81f8ceb0f9
Limit in-kernel file copying to 2 GiB blocks at a time (#5039)
This reportedly helps with copying to cifs target where
`copy_file_range()` would sometimes return `EINVAL` for no apparent
reason when copying large files. Extending the limit to `sendfile64()`
to avoid similar issue there, if it exists.

Overall, copying at most 2 GiB at a time will result in more syscalls
but shouldn't affect the performance gain in any noticeable way.
2023-02-25 03:15:17 +00:00
github-actions[bot] a42e81efd9
chore: update generated transmission-web files (#5036)
Co-authored-by: ckerr <ckerr@users.noreply.github.com>
2023-02-24 18:37:01 -06:00
Dzmitry Neviadomski 7e353588dc
fix: Add tooltip explaining why auto adding for magnets is unavailable. (#5035)
Fixes #5034

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-02-24 16:44:55 -06:00
Charles Kerr 8e3a09ff94
fix: alt speed schedule not saved in web ui (#5033) 2023-02-24 16:09:50 -06:00
Roey Fuchs cfcd7148ad
fix: make "unexpected argument" error message easier to read (#5029) 2023-02-24 15:47:51 -06:00
Dzmitry Neviadomski 394defe98e
fix: Adjust sizes to fix Call Script control cutoff. (#5018)
Fixes #5010

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-02-24 12:24:34 -06:00
Dzmitry Neviadomski c43ed9a8a1
fix: Update Inspector window frame to fix AutoLayout warning. (#5021)
Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-02-23 19:06:47 -06:00
Dzmitry Neviadomski 026ab5ffc6
fix: Use bounds for relative NSPopover positioning. (#5019)
Fixes #5013

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-02-23 18:40:29 -06:00
wiz78 450e98fd91
fix: TR_TIME_LOCALTIME value in torrent scripts (#5006) 2023-02-23 07:18:29 -06:00
github-actions[bot] bc34f77624
chore: update generated transmission-web files (#5002) 2023-02-22 20:11:29 -06:00
Charles Kerr 9d310b3a4d
fix: padding in overflow menu (#5001) 2023-02-22 18:31:24 -06:00
Charles Kerr 487cc27e11 chore: bump version to 4.0.1-dev 2023-02-22 17:02:19 -06:00
Charles Kerr e1c6e1be43 chore: bump version to 4.0.1 2023-02-22 16:41:35 -06:00
Charles Kerr e2fa4d9737
docs: add 4.0.1 release notes (#4956) 2023-02-22 16:38:37 -06:00
Charles Kerr 9bf800e04c
docs: fix RPC documentation error (#4998) 2023-02-22 10:41:11 -06:00
github-actions[bot] ab88926f87
chore: update generated transmission-web files (#4993) 2023-02-22 07:54:42 -06:00
Gary Elshaw 4a83657a4a
fix: make context menu highlighted row readable in dark mode (#4984) 2023-02-22 06:48:07 -06:00
Thomas Weißschuh 8f8bcf720a
ci: add option to disable installation of web assets (#4906)
Fixes #4864
2023-02-22 06:25:50 -06:00
fghzxm e2b6dc48b1
build: set /utf-8 flag when using MSVC (#4975)
MSVC by default decodes source files in the current Windows code page if
they don't have a Unicode BOM, and also encodes strings and chars into
the current code page before storing them into the compiled binary. Our
files are always encoded in UTF-8, and our code always assumes runtime
strings are encoded in UTF-8, so we should pass the `/utf-8` flag to
MSVC.

Microsoft Docs:
https://learn.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8
2023-02-22 06:00:07 -06:00
Charles Kerr 9d1a141482
fix: cannot build with clang on Windows (#4978)
Fixes #4977.
2023-02-21 11:08:28 -06:00
fghzxm db118e7998
fix: do not test utils if not building utils (#4946)
Setting `-DENABLE_UTILS=0 -DENABLE_TESTS=1` causes CMake errors due to
tests/utils/CMakeLists.txt referencing
`$<TARGET_FILE:transmission-show>` which is undefined.  Fixed by
including the tests/utils/ directory only if `ENABLE_UTILS` is true.
2023-02-20 23:43:05 -06:00
abubaca4 3c9d997f47
downgrade libdeflate to 1.7 (#4970)
transmission work with libdeflate 1.7 that delivered with debian 11
2023-02-20 21:33:50 -06:00
Mike Gelfand 88556bd859
Fix libdeflate find module never finding anything (#4968)
`DEFLATE_VERSION` was never set but was listed as required. Move it from
`REQUIRED_VARS` to `VERSION_VAR` and populate properly.
2023-02-20 21:09:24 +00:00
Charles Kerr 6a185634b0
fix: open-folder does not work in qt client (#4963) 2023-02-20 14:41:47 -06:00
Mike Gelfand c5b1df0daa
Support in-source builds (#4955)
* Support in-source builds

Don't copy third-party directories into themselves (actually, don't copy
them at all) by switching from `URL` to `SOURCE_DIR`. Separate build,
source, and install directories for third-party libraries.

* Trigger builds on changes to cmake/

That directory contains TrMacros.cmake which influences build logic in
other places.
2023-02-19 16:10:25 +00:00
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