transmission/utils
Yat Ho 1e16912ae4
refactor: new `tr_variant` API in `transmission-remote` and other cleanup (#6798)
* refactor: remove `Arguments`

* refactor: replace pointer args with lvalue reference

* refactor: use `uint16_t` for port number

* chore: housekeeping

* refactor: replace `char*` with `std::string_view`

* refactor: simplify argument parsing code

* refactor: use new `tr_variant` API in remote

* chore: rename function to snake_case

* chore: move `break` statements in switches outside of compound statements

* chore: use `std::string` literals

* refactor: extract tor start/stop to `MODE_TORRENT_START_STOP`

* refactor: extract tor actions to `MODE_TORRENT_ACTION`

* chore: iwyu

* fix: msvc build failure

* chore: misc cleanup

* fix: dereference optional

* chore: misc cleanup

* ui: fix minor formatting errors

* fix: remove redundant if branches for response string

* code review: remove `o` prefix for optionals

* code review: add condition clause

* code review: check `left_until_done` instead

* fix: unchecked nullptr

* code review: don't reassign method name

* code review: revert accidentally renaming `addIdArg` to `get_id_arg`

* code review: use `TR_ASSERT` instead of `assert`

* refactor: fix static auto constexpr naming

* code review: assert array size

* code review: assert that `arguments` key exists
2024-08-17 20:04:49 +01:00
..
CMakeLists.txt Modernize CMake code (ongoing refactoring) (#4515) 2023-01-02 16:23:51 +00:00
create.cc fix: restore portable file path check (#6853) 2024-05-25 10:08:53 -05:00
edit.cc fixup! chore: fix misc-use-anonymous-namespace warnings from clang-tidy (#6488) (#6498) 2024-01-06 13:04:50 -06:00
remote.cc refactor: new `tr_variant` API in `transmission-remote` and other cleanup (#6798) 2024-08-17 20:04:49 +01:00
show.cc refactor: Values pt. 6 - remove deprecated API (#6250) 2023-11-14 17:23:51 -06:00
transmission-create.1 tr_makeMetaInfo: new anonymize option (closes #3420) (#3452) 2022-07-19 16:48:24 -05:00
transmission-edit.1 transmission-edit: Allow changes to torrent source flag (#3760) 2022-09-04 18:12:23 -05:00
transmission-remote.1 feat(remote): implement idle seeding limits (#2947) 2024-05-27 15:08:33 -05:00
transmission-show.1 fixup! (trunk) update credits (#1205) 2020-05-02 11:42:18 -05:00