Chocobo1
ad9d0608d4
Avoid needless string-bytes conversion
...
This saves a few microseconds.
2021-12-14 13:52:34 +08:00
Chocobo1
3c5688c6f6
Reserve enough buffer space according to response content size
2021-12-14 13:52:34 +08:00
Chocobo1
ece92a886a
Restart idle timer on sending network response
2021-12-14 13:52:33 +08:00
Chocobo1
85777ea491
Simplify tray icon related code
2021-12-13 15:56:20 +08:00
Chocobo1
b8a84dbd83
Disable system tray icon menu when app is exiting
2021-12-13 15:56:16 +08:00
Chocobo1
35c31906b7
GHA CI: don't let lupdate scan boost library
...
As it produces superflous warnings.
2021-12-13 15:08:36 +08:00
Chocobo1
1fa940876f
Remove redundant UI cleanups
...
Just exiting the application will handle all of them automatically.
2021-12-13 15:08:25 +08:00
Chocobo1
c652123145
Merge pull request #15811 from Chocobo1/configVersioning
...
Introduce versioning on main configuration file
2021-12-12 12:53:28 +08:00
Chocobo1
1c52fff1cc
Unify value loading paths
...
The idea is to try load every intermediate value from the base case and
then convert them to their respective type.
2021-12-11 01:45:49 +08:00
Chocobo1
261f08b90e
Sort WebUI language selection values
2021-12-11 01:45:49 +08:00
Chocobo1
2d48581570
Move main window setting to its own section
2021-12-11 01:45:49 +08:00
Chocobo1
b8a7ecfe69
Introduce versioning on main configuration file
2021-12-11 01:45:49 +08:00
Chocobo1
cbc2de6b85
Use proper method for checking value existence
2021-12-09 15:57:01 +08:00
xavier2k6
9d2bb67834
GHA CI: Update libtorrent version(s)
...
PR #15819 .
2021-12-09 12:32:52 +08:00
Vladimir Golovnev
3d7ff9765a
Make meaning of "torrent root path" consistent
...
PR #15816 .
2021-12-09 06:12:47 +03:00
Chocobo1
28f2def21f
Remove redundant layer of QVariant
in Preferences
class
...
PR #15812 .
2021-12-07 12:17:37 +08:00
Chocobo1
0ee303789a
GHA CI: include translation file generation in test
...
PR #15814 .
2021-12-07 12:17:15 +08:00
Chocobo1
6ccc92020c
Disable "add peers" menu items instead of hiding it
...
Menu item in disabled state can show tool tip to help user understand
why it is unavailable.
Related issue: #15785 .
PR #15787 .
2021-12-06 13:54:38 +08:00
Chocobo1
e3fe66d3ec
Store enum type in settings directly
...
Affected settings will be migrated to new keys so nothing should break.
PR #15800 .
2021-12-06 13:53:52 +08:00
OctopusET
ab5605d54b
Use proper string for Korean language
...
PR #15799 .
2021-12-01 12:06:05 +08:00
Chocobo1
a7a90613c2
Merge pull request #15796 from Chocobo1/clazy
...
Fix defects found by clazy
2021-11-30 12:02:33 +08:00
Chocobo1
19d95ebd10
Add comment for qHash implementation requirements
...
As clazy report false-positive on this.
2021-11-29 01:28:49 +08:00
Chocobo1
0e1849346b
Avoid iterating over a temporary variable
2021-11-29 00:31:03 +08:00
Chocobo1
0f34e3bed9
Don't use deprecated Q_ENUMS
...
See: https://doc.qt.io/qt-5/qobject-obsolete.html#Q_ENUMS
2021-11-29 00:31:03 +08:00
Chocobo1
c8b66b25e8
Avoid potential container detachment
...
Suppress clazy warning:
warning: Don't call QList::operator[]() on temporary [-Wclazy-detaching-temporary]
2021-11-29 00:31:03 +08:00
Chocobo1
e6f07a6fe4
Use implicit copy-constructor generated by compiler
...
This also suppresses the following clang warning:
warning: definition of implicit copy assignment operator for 'Version<unsigned short, 2>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
2021-11-29 00:30:17 +08:00
Chocobo1
51469f8fa2
Store Qt6 table header states under a different key
...
Follow up 22abbc1d41
.
PR #15774 .
2021-11-23 11:02:07 +08:00
Chocobo1
d78b2a569f
Fix handling when Content-Length field is absent
...
Closes #15754 .
PR #15757 .
2021-11-21 11:48:49 +08:00
Chocobo1
ec6c970775
Merge pull request #15762 from Chocobo1/artifact
...
GHA CI: Use prebuilt Qt library
2021-11-21 11:47:50 +08:00
Chocobo1
67c45efff7
GHA CI: Use prebuilt Qt library
2021-11-20 14:33:12 +08:00
Chocobo1
a54772bf35
Appveyor CI: Upload built artifacts
2021-11-20 14:33:12 +08:00
Chocobo1
166be2a94d
Merge pull request #15749 from Chocobo1/ci
...
GHA CI: Simplify commands
2021-11-19 12:31:16 +08:00
Chocobo1
7150d05399
GHA CI: Simplify commands
2021-11-18 00:20:58 +08:00
Chocobo1
36a6e22f27
Appveyor CI: Setup build environment directly
...
vcvars64.bat is just a link to vcvarsall.bat with parameter `x64`.
2021-11-18 00:20:26 +08:00
Chocobo1
dc13eaed1f
Revert "Use percentage notation for alpha-values in CSS"
...
This reverts commit 864dca1b67
.
Upstream change: https://github.com/stylelint/stylelint-config-standard/pull/212
PR #15745 .
2021-11-18 00:19:27 +08:00
xavier2k6
001bd60d36
CI: Update AppVeyor image to Visual Studio 2022
...
PR #15727 .
2021-11-16 19:02:07 +03:00
Chocobo1
b063042988
Apply download priority immediately in torrent content view
...
Apply the new priority after picking it via drop-down menu.
Fixes #14667 , #15238 .
PR #15739 .
Co-authored-by: a-sum-duma <68896601+a-sum-duma@users.noreply.github.com>
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
2021-11-16 13:50:53 +08:00
a-sum-duma
fa1d49add5
Properly check if file priority changes
...
Current item priority is compared against new checkbox state. I believe the intention was to check if the priority changes before performing further actions. This PR fixes the issue - compare priority against new value that is about to be set rather then the checkbox state.
PR #15740 .
2021-11-16 13:50:11 +08:00
Chocobo1
b45248bf99
Merge pull request #15452 from thalieht/autoTMM
...
Move some options from transfer list's context menu into "Torrent options" dialog
2021-11-10 12:39:59 +08:00
Chocobo1
dfe862dcd5
Merge pull request #15717 from Chocobo1/irc
...
WebUI: Remove IRC in about page
2021-11-10 12:28:53 +08:00
sledgehammer999
d4ddeaa917
Sync Changelog entries between branches
2021-11-09 19:07:23 +02:00
Chocobo1
13a49866a7
WebUI: Revise about page
...
Follow GUI more closely.
2021-11-09 13:17:55 +08:00
Chocobo1
7e2aea92b0
WebUI: Remove IRC in about page
...
This follows the GUI change in 65a30bab3f
.
2021-11-09 13:17:41 +08:00
Chocobo1
7db51b2f8d
Add IRC link
...
https://en.wikipedia.org/wiki/Internet_Relay_Chat#URI_scheme
And also show the angle brackets in rendered markdown.
2021-11-09 12:12:49 +08:00
Chocobo1
ae1b963e0f
Merge pull request #15682 from Chocobo1/qt6
...
Store Qt6 table header states under a different key
2021-11-09 11:23:04 +08:00
a-sum-duma
b29b7e0185
Add more download options to torrent search result right-click menu
...
PR #15654 .
2021-11-09 06:11:47 +03:00
Chocobo1
71270260bf
Reformat code
2021-11-08 13:34:21 +08:00
Chocobo1
22abbc1d41
Store Qt6 table header states under a different key
2021-11-08 13:34:21 +08:00
Chocobo1
32698fe0be
Migrate away from low-level SettingsStorage
class
...
Also add `QFlags<T>` support to `SettingsStorage`.
PR #15693 .
2021-11-08 13:23:33 +08:00
thalieht
16f8d6a936
Allow deselecting radio buttons in "Torrent options" for mixed torrents
2021-11-06 12:47:53 +02:00