Chocobo1
77d907c2aa
Specify a locale if none is set
...
Sometimes users had not properly configured their system locale and thus
qbt will specify a default locale just in case.
Closes #16127 .
Closes #19609 .
Closes #19834 .
PR #20203 .
2024-01-03 15:24:08 +03:00
Chocobo1
3f6ca64d9e
Disable stdout buffering for qbt-nox
...
The messages printed out via stdout is usually important and short so
there is no reason to buffer them.
Closes #19984 .
PR #20018 .
2023-11-26 10:45:46 +03:00
Vladimir Golovnev
786c09e981
Drop WebUI default credentials
...
PR #19777 .
2023-11-10 12:07:35 +03:00
Chocobo1
bb6d69f8b7
Remove "Physical memory (RAM) usage limit" option on macOS #19805
...
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-11-08 08:34:01 +03:00
Vladimir Golovnev
dc31e82d00
CI: Use dynamic MSVC run-time library
...
Otherwise, there is a conflict of run-time libraries used (since Qt DLLs are still use dynamic MSVCRT) that leads to strange errors.
PR #19718 .
Closes #19701 .
2023-11-08 08:34:01 +03:00
Chocobo1
ec8802203d
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
Original PR #19709 .
2023-10-18 12:12:30 +08:00
Vladimir Golovnev
7512b92a36
Fix crash on application exit (Qt 6.5)
...
PR #19169 .
2023-10-08 10:17:20 +03:00
Vladimir Golovnev
2a04a4d077
Display error message when unrecoverable error occurred
...
PR #19462 .
2023-08-20 15:23:31 +03:00
Vladimir Golovnev
7ec80263e1
Allow to globally disable the use of proxy
...
PR #19273 .
Closes #19141 .
2023-07-04 09:27:46 +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
81bc910d68
Provide context to translation strings
...
PR #19120 .
2023-06-12 14:03:12 +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
179a61d75e
Add curly braces
2023-05-07 19:41:55 +08:00
Chocobo1
73134d5f4d
Initialize member variables
2023-05-07 16:30:56 +08:00
Chocobo1
9a00839a75
Simplify code
2023-05-06 16:35:13 +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
Chocobo1
bbd5ed1142
Switch URLs to https
...
PR #18876 .
2023-04-23 15:09:58 +08:00
Vladimir Golovnev (Glassez)
96da685e5d
Expand the scope of "Proxy hostname lookup" option
2023-02-26 14:27:59 +03:00
Vladimir Golovnev (Glassez)
6ac14d0c57
Allow to use proxy per subsystem
2023-02-26 14:27:41 +03:00
Vladimir Golovnev
7600f59f3a
Prevent precise timers from being used when unnecessary
...
The implementation of QTimer::singleShot() uses Qt::PreciseTimer if interval is less than 2 seconds. This isn't mentioned in the docs.
Qt::PreciseTimer increases the system's timer resolution which negatively affects power consumption.
PR #18555 .
Closes #18350 .
2023-02-14 08:26:08 +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
sledgehammer999
c6a1b977b3
Merge pull request #18456 from sledgehammer999/win_shorcut_cwd
...
Fix PDB loading for valid stacktraces
2023-01-27 17:52:39 +02:00
sledgehammer999
b61c7b7220
Adjust env variable for PDB discovery
2023-01-26 13:42:09 +02: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
sledgehammer999
051bac5e59
Migrate setting about Simplified Chinese locale
...
Related to PR #17978
2023-01-22 02:31:58 +02: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
Chocobo1
2ebdf6060d
Translate app help text
2022-07-29 11:13:59 +08:00
Vladimir Golovnev
5b269a782a
Prevent tray menu from being accessed after destruction
...
PR #17400 .
2022-07-21 09:30:05 +03:00
Dmitry Vodopyanov
f20f479a4b
Improve sender field in mail notifications
...
Problem statement: user sees its email address in email notification,
while it is better to have sender field app-personalized, like it did
in Nextcloud: they send notifications from user's email address and
add alias 'Nextcloud' to it.
This patch adds alias 'qBittorrent' to qBittorrent email notifications,
so user sees more user-friendly email notification.
PR #17374 .
2022-07-18 13:22:30 +08:00
Vladimir Golovnev
cfdf5cffac
Show remote access info after it is available
...
PR #17329 .
2022-07-11 08:38:45 +03:00
Vladimir Golovnev
890630944d
Extract desktop integration stuff into separate class
...
PR #17313 .
2022-07-09 08:06:22 +03:00
Chocobo1
dba711d099
Use helper function for logging messages
2022-07-07 12:17:52 +08:00
Chocobo1
ec13bba4da
Revise classes startup sequence
...
1. Initialize Logger class earlier so that it can record messages from other classes (for
debugging purpose).
2. Deprioritize WebUI port adjustment. It is not a high priority in here.
3. Slightly deprioritize file logger initialization.
2022-07-07 12:16:48 +08:00
Chocobo1
ed2eadaf56
Work around application stuttering on Windows
...
This is observed by unusual high page faults when the stuttering occurs.
With this workaround, the high page faults still occurs but the GUI remains responsive.
2022-07-04 18:38:23 +08:00