transmission/libtransmission
Charles Kerr 901de536a3
fix: in RPC, default to sort torrents by id (#5604)
When getting all torrents in a batch over RPC, the results are sorted by
info-dict hash. Prior to 4.0.0, they were sorted by ID. This change broke
some peoples' workflows.

I'm OK with breaking workflows if it's necessary to improve the program,
but this was an unintentional side-effect and I don't see any inherent
benefit to either sort order. So this PR restores the 3.00 sort order.

https://xkcd.com/1172/
2023-10-25 13:42:14 -04:00
..
.clang-tidy refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
CMakeLists.txt refactor: drop jsonsl in favour of RapidJSON (#6138) 2023-10-21 14:00:12 -05:00
announce-list.cc chore: remove unused tr_announce_list::announce_to_scrape(tr_quark) (#6157) 2023-10-24 10:58:01 -04:00
announce-list.h chore: remove unused tr_announce_list::announce_to_scrape(tr_quark) (#6157) 2023-10-24 10:58:01 -04:00
announcer-common.h refactor: tidy up announcer code (#5945) 2023-09-01 16:51:58 -05:00
announcer-http.cc refactor: tidy up announcer code (#5945) 2023-09-01 16:51:58 -05:00
announcer-udp.cc fix: encode `ip` in network byte order for udp announce (#6126) 2023-10-18 09:46:57 -05:00
announcer.cc refactor: tidy up announcer code (#5945) 2023-09-01 16:51:58 -05:00
announcer.h refactor: tidy up announcer code (#5945) 2023-09-01 16:51:58 -05:00
bandwidth.cc fix: only consider piece data in bandwidth limit (#6082) 2023-10-09 08:49:49 -05:00
bandwidth.h fix: only consider piece data in bandwidth limit (#6082) 2023-10-09 08:49:49 -05:00
benc.h refactor: add tr_variant_serde (#5903) 2023-08-17 11:02:45 -05:00
bitfield.cc chore: minor code cleanup (#5760) 2023-07-13 09:10:43 -05:00
bitfield.h chore: minor code cleanup (#5760) 2023-07-13 09:10:43 -05:00
block-info.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
block-info.h refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
blocklist.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
blocklist.h refactor: make a few more methods `constexpr` (#5798) 2023-07-15 19:02:39 -05:00
cache.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
cache.h perf: make `CompareCacheBlockByKey` constexpr (#5678) 2023-06-28 10:23:38 -05:00
clients.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
clients.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
completion.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
completion.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
crypto-utils-ccrypto.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
crypto-utils-fallback.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
crypto-utils-mbedtls.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
crypto-utils-openssl.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
crypto-utils-wolfssl.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
crypto-utils.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
crypto-utils.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
error-types.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
error.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
error.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
favicon-cache.h refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
file-capacity.cc fix: minor coverity warnings (#5916) 2023-08-21 21:59:47 -05:00
file-piece-map.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
file-piece-map.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
file-posix.cc fix: tr_sys_path_copy in file-posix.cc for some Synology Devices (#5966) (#5974) 2023-09-29 19:34:51 -05:00
file-win32.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
file.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
file.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
global-ip-cache.cc fixup! refactor: re-organise net.h member functions (#5878) (#5933) 2023-10-25 11:53:46 -04:00
global-ip-cache.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
handshake.cc feat: BT and MSE handshake rework (#6025) 2023-09-26 12:50:41 -05:00
handshake.h feat: BT and MSE handshake rework (#6025) 2023-09-26 12:50:41 -05:00
history.h underscores in documentation comments should be code escaped (#4639) 2023-01-23 10:26:11 -06:00
inout.cc refactor: add tr_torrent::Error helper class (#6077) 2023-10-08 21:33:34 -05:00
inout.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
interned-string.h chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
libt.dox docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
log.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
log.h perf: move log strings instead of cloning them (#5726) 2023-07-04 14:03:45 -05:00
lru-cache.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
magnet-metainfo.cc refactor: prefer functions return std::string instead of tr_strbuf (#5949) 2023-08-29 21:58:31 -05:00
magnet-metainfo.h refactor: prefer functions return std::string instead of tr_strbuf (#5949) 2023-08-29 21:58:31 -05:00
makelog refactor: misc-use-anonymous-namespace pt. 4 (#4550) 2023-01-07 12:58:16 -06:00
makemeta.cc fixup! refactor: remove redundant code when adding announce lists to metainfo (#6050) (#6061) 2023-10-02 10:18:38 -05:00
makemeta.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
mime-types.h chore: update mime types (#5712) 2023-07-02 08:32:21 -05:00
mime-types.js chore: update mime types (#5712) 2023-07-02 08:32:21 -05:00
net.cc chore: apply clang-format version 17.0.1 (#6054) 2023-10-01 18:45:52 -05:00
net.h fixup! refactor: re-organise net.h member functions (#5878) (#5933) 2023-10-25 11:53:46 -04:00
observable.h perf: reduce unnecessary size overhead in tr_torrent struct (#6073) 2023-10-04 21:38:14 -05:00
open-files.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
open-files.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
peer-common.h feat: split connectable and non-connectable pool (#5801) 2023-08-01 09:56:26 -05:00
peer-io.cc chore: minor housekeeping for bandwidth code (#6080) 2023-10-06 18:30:04 -05:00
peer-io.h feat: BT and MSE handshake rework (#6025) 2023-09-26 12:50:41 -05:00
peer-mgr-active-requests.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
peer-mgr-active-requests.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
peer-mgr-wishlist.cc chore: minor code cleanup (#5760) 2023-07-13 09:10:43 -05:00
peer-mgr-wishlist.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
peer-mgr.cc refactor: minor decoupling in peer-mgr (#6155) 2023-10-24 15:24:52 -04:00
peer-mgr.h perf: connectable pool housekeeping (#6111) 2023-10-19 13:05:19 -05:00
peer-mse.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
peer-mse.h feat: BT and MSE handshake rework (#6025) 2023-09-26 12:50:41 -05:00
peer-msgs.cc perf: cut down excess copying when downloading (#5907) 2023-10-25 09:51:36 -04:00
peer-msgs.h feat: split connectable and non-connectable pool (#5801) 2023-08-01 09:56:26 -05:00
peer-socket.cc refactor: minor decoupling in peer-mgr (#6155) 2023-10-24 15:24:52 -04:00
peer-socket.h refactor: minor decoupling in peer-mgr (#6155) 2023-10-24 15:24:52 -04:00
platform.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
platform.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
port-forwarding-natpmp.cc refactor: re-organise `net.h` member functions (#5878) 2023-08-17 22:13:01 -05:00
port-forwarding-natpmp.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
port-forwarding-upnp.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
port-forwarding-upnp.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
port-forwarding.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
port-forwarding.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
quark.cc feat: do separate IPv4 and IPv6 port checks in WebUI (#5953) 2023-10-24 09:27:28 -04:00
quark.h feat: do separate IPv4 and IPv6 port checks in WebUI (#5953) 2023-10-24 09:27:28 -04:00
resume.cc refactor: remove quark support from tr_variant (#6159) 2023-10-24 14:49:23 -04:00
resume.h fix: 5053 old torrent files keep appearing (#5117) 2023-03-01 20:12:19 -06:00
rpc-server.cc refactor: public tr_session settings API now returns tr_variants (#5983) 2023-09-07 19:05:16 -05:00
rpc-server.h refactor: public tr_session settings API now returns tr_variants (#5983) 2023-09-07 19:05:16 -05:00
rpcimpl.cc fix: in RPC, default to sort torrents by id (#5604) 2023-10-25 13:42:14 -04:00
rpcimpl.h refactor: more tr_variant API (#6057) 2023-10-02 16:18:35 -05:00
session-alt-speeds.cc refactor: public tr_session settings API now returns tr_variants (#5983) 2023-09-07 19:05:16 -05:00
session-alt-speeds.h refactor: public tr_session settings API now returns tr_variants (#5983) 2023-09-07 19:05:16 -05:00
session-id.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
session-id.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
session-settings.cc refactor: public tr_session settings API now returns tr_variants (#5983) 2023-09-07 19:05:16 -05:00
session-settings.h feat: add `preferred-transport` to settings.json (#5939) 2023-09-15 20:23:34 -05:00
session-thread.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
session-thread.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
session.cc refactor: reduce coupling between tr_session and tr_peerMgr (#6151) 2023-10-23 11:34:30 -04:00
session.h fixup! refactor: re-organise net.h member functions (#5878) (#5933) 2023-10-25 11:53:46 -04:00
stats.cc refactor: make tr_variant follow RAII (#5923) 2023-08-20 23:15:23 -05:00
stats.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
subprocess-posix.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
subprocess-win32.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
subprocess.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
timer-ev.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
timer-ev.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
timer.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
torrent-ctor.cc refactor: make tr_torrent::labels_ private (#6153) 2023-10-23 18:11:28 -04:00
torrent-files.cc chore: remove unused progress arg from tr_torrentSetLocation() (#6147) 2023-10-21 22:33:41 -04:00
torrent-files.h chore: remove unused progress arg from tr_torrentSetLocation() (#6147) 2023-10-21 22:33:41 -04:00
torrent-magnet.cc perf: reduce unnecessary size overhead in tr_torrent struct (#6073) 2023-10-04 21:38:14 -05:00
torrent-magnet.h refactor: avoid code duplication (#5793) 2023-07-17 08:56:57 -05:00
torrent-metainfo.cc refactor: prefer functions return std::string instead of tr_strbuf (#5949) 2023-08-29 21:58:31 -05:00
torrent-metainfo.h refactor: prefer functions return std::string instead of tr_strbuf (#5949) 2023-08-29 21:58:31 -05:00
torrent.cc refactor: minor decoupling in peer-mgr (#6155) 2023-10-24 15:24:52 -04:00
torrent.h refactor: prefer std::set over QSet (#5703) 2023-10-24 21:14:37 -04:00
torrents.cc refactor: minor decoupling in peer-mgr (#6155) 2023-10-24 15:24:52 -04:00
torrents.h fix: in RPC, default to sort torrents by id (#5604) 2023-10-25 13:42:14 -04:00
tr-arc4.h refactor: use reserve_space() in peer-io (#5532) 2023-05-17 13:57:27 -05:00
tr-assert.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
tr-assert.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
tr-assert.mm chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
tr-buffer.h fix: encode `ip` in network byte order for udp announce (#6126) 2023-10-18 09:46:57 -05:00
tr-dht.cc refactor: make tr_variant follow RAII (#5923) 2023-08-20 23:15:23 -05:00
tr-dht.h Use clang-format for qualifier alignment (#5845) 2023-07-30 16:43:43 +01:00
tr-getopt.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
tr-getopt.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-lpd.cc refactor: use one socket for sending and receiving lpd announces (#5909) 2023-08-18 15:56:28 -05:00
tr-lpd.h fix: announce LDP on listening interface (#5875) 2023-08-13 12:04:04 -05:00
tr-macros.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-popcount.h fix: Remove faulty `popcnt` features checks for MSVC [#4872] (#4886) 2023-02-18 02:11:56 +00:00
tr-strbuf.h Use clang-format for qualifier alignment (#5845) 2023-07-30 16:43:43 +01:00
tr-udp.cc fix: minor coverity warnings (#5916) 2023-08-21 21:59:47 -05:00
tr-utp.cc refactor: re-organise `net.h` member functions (#5878) 2023-08-17 22:13:01 -05:00
tr-utp.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
transmission.h chore: remove unused progress arg from tr_torrentSetLocation() (#6147) 2023-10-21 22:33:41 -04:00
utils-ev.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
utils-ev.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
utils.cc fix: json string serializer improperly escaping characters (#6005) 2023-10-16 19:36:37 -05:00
utils.h fix: json string serializer improperly escaping characters (#6005) 2023-10-16 19:36:37 -05:00
utils.mm fix: potential NSString leak in tr_strv_convert_utf8() 2023-04-11 17:36:22 -05:00
variant-benc.cc refactor: replace tr_variant::is_*() with tr_variant::holds_alternative() (#5930) 2023-08-21 16:16:54 -05:00
variant-converters.cc feat: add `preferred-transport` to settings.json (#5939) 2023-09-15 20:23:34 -05:00
variant-json.cc refactor: remove quark support from tr_variant (#6159) 2023-10-24 14:49:23 -04:00
variant.cc refactor: remove quark support from tr_variant (#6159) 2023-10-24 14:49:23 -04:00
variant.h refactor: remove quark support from tr_variant (#6159) 2023-10-24 14:49:23 -04:00
verify.cc refactor: decouple tr_verify_worker from tr_torrent (#6123) 2023-10-19 08:39:34 -05:00
verify.h refactor: decouple tr_verify_worker from tr_torrent (#6123) 2023-10-19 08:39:34 -05:00
version.h.in build: support semver versioning (#3867) 2022-10-05 16:53:10 -05:00
watchdir-base.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
watchdir-generic.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
watchdir-inotify.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
watchdir-kqueue.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
watchdir-win32.cc fix: conform to libcurl requirements to avoid memory leak (#5702) 2023-07-05 22:05:03 -05:00
watchdir.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
watchdir.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
web-utils.cc chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
web-utils.h chore: iwyu (#5746) 2023-07-08 10:24:03 -05:00
web.cc fix: workaround HSTS upgrading to HTTPS for HTTP trackers (#5969) 2023-09-03 18:26:39 -05:00
web.h chore: rename other publicAddress() functions (#5873) 2023-08-14 10:31:12 -05:00
webseed.cc feat: split connectable and non-connectable pool (#5801) 2023-08-01 09:56:26 -05:00
webseed.h feat: split connectable and non-connectable pool (#5801) 2023-08-01 09:56:26 -05:00