xavier2k6
abd3cd54bc
GHA CI: Bump numerous hook revs
...
PR #22193 .
2025-01-26 03:26:27 +08:00
Vladimir Golovnev
f5cac13979
Prevent app from being closed when disabling system tray icon
...
PR #20627 .
Closes #20604 .
2024-03-29 09:38:54 +03:00
Vladimir Golovnev
5e8b9df859
Revamp system tray icon menu handling
...
Update system tray icon menu without re-create it.
PR #20597 .
Closes #20516 .
2024-03-26 15:24:43 +03:00
thalieht
5d1c249606
Use Start/Stop instead of Resume/Pause
...
PR #20532 .
---------
Co-authored-by: Vladimir Golovnev (Glassez) <glassez@yandex.ru>
2024-03-25 19:11:04 +03:00
Chocobo1
773cb1e55d
Ensure the profile path is pointing to a directory
...
Closes #20513 .
PR #20519 .
2024-03-11 13:02:51 +08:00
Thomas Piccirello
c06817f4eb
Add button for sending test email
...
This allows for easily testing whether the provided email configuration is correct.
PR #20488 .
2024-03-08 21:51:44 +08:00
Chocobo1
46e8ee50c8
Allow to set custom suffix to window title
...
This is to allow users to differentiate qbt instances when there are multiple running.
PR #20429 .
Closes #17905 .
2024-02-27 12:41:12 +08:00
Chocobo1
073ca4267c
Introduce helper function to join values as string
...
PR #20130 .
2023-12-19 00:08:37 +08:00
Vladimir Golovnev
7a41192597
Add a class to represent a tag
...
PR #20028 .
Closes #19744 .
2023-12-05 17:01:09 +03:00
Chocobo1
0dbac78e17
Revise legal notice
...
For GUI and non-daemon console, the legal notice won't ask for user acceptance anymore and only
provide an OK button (or Enter key in console) from now on.
For daemon mode, qbt will print the legal notice and continue to run. It will also notify user
to use command line option `--confirm-legal-notice` to suppress the message. The message will be
printed on every start up unless user specify the command line option once.
PR #20080 .
2023-12-05 03:13:37 +08:00
Chocobo1
8f230bc2e6
Remove unused icon provider singleton
2023-11-27 13:29:54 +08:00
Chocobo1
6f7f418ec1
Improve error message when daemonizing failed
...
PR #19959 .
2023-11-21 14:05:32 +08:00
Vladimir Golovnev
0f40fad74d
Drop WebUI default credentials
...
PR #19777 .
2023-11-10 07:18:42 +03:00
Chocobo1
794cce38f3
Move some functions into Utils::OS namespace
...
Also remove `Utils::Misc::getUserIDString()` since there are no use of
it.
2023-11-06 14:09:34 +08:00
Chocobo1
7bd8f262db
Disable "limit virtual memory" routine on macOS
...
This has no effect on macOS.
https://stackoverflow.com/questions/3274385/how-to-limit-memory-of-a-os-x-program-ulimit-v-neither-m-are-working
Closes #18656 .
PR #19805 .
2023-10-29 17:41:38 +08:00
Hanabishi
35e4b35d12
Make WebUI error non-fatal
...
* Do not exit the app when WebUI is failed for start.
* Print the error to stdout.
PR #19697 .
Closes #19695 .
Closes #19469 .
2023-10-24 13:32:21 +03:00
Vladimir Golovnev
6860c0d60d
Allow to set qBittorrent as default program
...
Register qBittorrent as possible default program for .torrent files and
magnet links during install.
PR #19446 .
2023-10-24 13:31:01 +03:00
Chocobo1
cba433823f
Improve .torrent associate handling
...
* Use correct pointer type in NSIS scripts
* Only remove qbt specific registry keys when uninstalling or disassociating
* Set .torrent Content Type when associating .torrent format
* Move ".torrent association" functions to Utils::OS class
PR #19709 .
2023-10-16 14:51:17 +08:00
Hanabishi
90e023f138
Fix WebUI greeting for qbittorrent-nox
...
* Check if WebUI is enabled and print an appropriate message otherwise.
* Print an actual runtime server scheme, address and port.
PR #19696 .
2023-10-16 14:48:32 +08:00
Victor Chernyakin
e045b4678d
Use std::clamp()
instead of various custom implementations
...
PR #19501 .
2023-08-27 21:55:08 +03:00
Chocobo1
d8a03cd8d8
Use atomic primitives from standard library
...
QAtomicInteger underlying is using std::atomic structures, so
using std::atomic directly should not be a problem for us.
PR #19507 .
2023-08-28 02:08:40 +08:00
Victor Chernyakin
34d30ed031
Replace Q_UNUSED
with [[maybe_unused]]
attribute
...
PR #19471 .
2023-08-18 07:09:40 +03:00
Victor Chernyakin
f3f4610ba4
Convert Windows header names to lowercase
...
PR #19465 .
2023-08-16 10:29:13 +03:00
Vladimir Golovnev
dcf3e97291
Implement gateway for adding new torrents
...
PR #19355 .
2023-08-14 18:17:56 +03:00
Vladimir Golovnev
a0e41a11de
Display error message when unrecoverable error occurred
...
PR #19462 .
2023-08-14 16:03:57 +03:00
Vladimir Golovnev
10ee1ab7a2
Switch to C++20
...
PR #19336 .
2023-07-21 15:38:49 +03:00
Vladimir Golovnev
dbe79484d2
Drop support of Qt 5
...
Also remove usage of some deprecated stuff.
PR #19338 .
2023-07-20 11:17:27 +03:00
Chocobo1
e6d85a468b
Rename literal operator
...
Qt 6.4 introduced `QString operator""_s()` and the previous `""_qs` is
deprecated since Qt 6.8.
2023-06-18 03:32:44 +08:00
Chocobo1
fbe93f0c47
Improve "apply memory working set" routine
...
Now it will try to raise the hard limit.
And also the log shows a more specific message when the new limit is not
applicable.
PR #19022 .
2023-05-28 13:41:44 +08:00
Chocobo1
73134d5f4d
Initialize member variables
2023-05-07 16:30:56 +08:00
Chocobo1
2059825597
Don't use instance for accessing static functions
2023-05-06 16:35:12 +08:00
Vladimir Golovnev
758ea7edca
Improve logging of running external program
...
PR #18901 .
2023-04-30 10:10:03 +03:00
Vladimir Golovnev
0dcbf9f698
Improve command line parameters dispatching
...
Encapsulate parameters dispatching in Application class.
Avoid serializing parameters when it is not necessary.
PR #18469 .
2023-02-02 10:02:51 +03:00
Vladimir Golovnev
c58fb92365
Suppress warning when session cookie name isn't overridden
...
PR #18455 .
2023-01-26 07:00:20 +03:00
sledgehammer999
ca72360b6f
Merge pull request #18432 from sledgehammer999/chinese_fix
...
Migrate setting about Simplified Chinese locale
2023-01-25 01:17:54 +02:00
sledgehammer999
630b4ed3b9
Migrate settings much earlier
2023-01-24 10:23:12 +02:00
Vladimir Golovnev
2310dcd136
Reload system tray icon to replace menu
...
PR #18250 .
Closes #18074 .
2023-01-22 16:48:58 +03:00
Vladimir Golovnev
32e4371208
Improve startup window state handling
...
Replace current "Start qBittorrent minimized" option with "Initial window state" that allows to start qBittorrent as "hidden in system tray" while retaining regular "minimize to panel" functionality.
PR #18252 .
Closes #487 .
2023-01-16 14:57:56 +03:00
Vladimir Golovnev
5dbccf3473
Add all torrents passed via the command line
...
PR #18296 .
Closes #18289 .
2023-01-16 06:54:02 +03:00
Vladimir Golovnev
25ea0d274b
Destroy desktop integration at correct place
...
Otherwise it is destructed in QObject destructor, i.e. after GUI application is already destructed.
This can be related to some problems with system tray icon.
PR #18108 .
Closes #18093 .
2022-11-30 20:09:51 +03:00
Chocobo1
93429840c8
Fix typos
2022-11-08 13:50:01 +08:00
BallsOfSpaghetti
fdba525e62
Introduce a 'change listen port' cmd option
...
Closes #17789 .
PR #17862 .
2022-10-25 12:43:38 +08:00
Vladimir Golovnev
4318de6dc5
Add ability to run external program on torrent added
...
PR #17646 .
2022-09-04 07:51:50 +03:00
Chocobo1
fb37b0c147
Suppress warning
...
Seems `lupdate` tool cannot correctly recognize the class/context of `tr()` here, so specify the
class/context manually.
2022-09-03 15:26:40 +08:00
Chocobo1
06c704c740
Revise quote behavior
...
Now the behavior of double quotes aligns more as with issuing commands from shell/command line.
Related: https://github.com/qbittorrent/qBittorrent/pull/17453#issuecomment-1203372027
PR #17515 .
2022-08-10 13:19:34 +08:00
Vladimir Golovnev
916e53c260
Show progress dialog on second instance run
...
PR #17516 .
2022-08-09 19:12:12 +03:00
Vladimir Golovnev (Glassez)
d27dd85dfd
Correctly replace desktop integration menu
2022-08-06 19:40:04 +03:00
Vladimir Golovnev (Glassez)
15515200ee
Avoid race conditions between dialogs on startup
2022-08-06 15:01:35 +03:00
Vladimir Golovnev
e24aaa4ce1
Show startup progress dialog
...
PR #17389 .
2022-08-03 07:14:26 +03:00
Chocobo1
0802b6d506
Fix empty string parameter was omitted
...
`QProcess::splitCommand()` will omit empty strings like `""` so provide
our own replacement.
Closes #13124 .
2022-07-30 00:17:31 +08:00