Chocobo1
9631a9c2ad
Add constexpr to TriStateBool class
7 years ago
Chocobo1
b38925413d
Improve Utils::Version class
...
Add operator>=() and operator<=().
More methods are suitable to be constexpr.
Remove redundant boundary checking.
7 years ago
sledgehammer999
b4c1a949cc
Fix Stats dialog size
...
Partially reverts e31ec20ec4
.
Closes #8870 .
7 years ago
Vladimir Golovnev (Glassez)
a54f57611c
Rename torrent if content was initially renamed
...
Closes #8910 .
7 years ago
Vladimir Golovnev (Glassez)
3be945a401
Add last used save path to the front of history
7 years ago
Chocobo1
95b19ec303
Relax behavior of "Download first and last piece first"
...
Now it applies the setting to all files in torrent, no matter whether
the file is previewable or not.
Torrent client shouldn't be smart by deciding which file this
option will be applied to, i.e. it should just follow the user's decision.
7 years ago
Chocobo1
da75a010c7
Refactor code
...
Add const to variables.
Add Logger message.
Simplify code logic.
7 years ago
Chocobo1
eb72b9ca7d
Simplify the saving & loading of a setting
...
Remove excessive usage of constexpr.
7 years ago
Vladimir Golovnev (Glassez)
53b9bcaaac
Place "Use Smart Episode Filter" more correctly
7 years ago
Vladimir Golovnev (Glassez)
844f76c2ca
Make "Ignoring days" to behave like other filters
...
This prevents confusing in GUI when it shows matched RSS
articles which be really ignored by the rule.
7 years ago
Evgeny Lensky
c7601d7a43
Fix open destination folder with Nautilus > 3.28
...
Closes #8923 .
7 years ago
Vladimir Golovnev (Glassez)
256f6954c5
Improve code of RSS auto-downloading rule
...
Closes #8933 .
7 years ago
Chocobo1
ceaf755ac6
Make use of QStringLiteral
...
Only changed instances that are initialized at program start.
7 years ago
Chocobo1
fcbcf4039b
Use smaller type
7 years ago
Vladimir Golovnev (Glassez)
90f09e7570
Properly fill UploadedFile::filename field
...
Closes #8928 .
7 years ago
Vladimir Golovnev (Glassez)
98ca274169
Rename RSS properties to follow other names
7 years ago
Chocobo1
0a49f76c0a
Detect endianness at compile time
7 years ago
Vladimir Golovnev (Glassez)
2a0b104e5e
Properly set RSS settings via API
...
Closes #8925 .
7 years ago
Vladimir Golovnev (Glassez)
71e5a40857
Add option to remember last used save path
...
Replace in "Add new torrent" dialog confusing "Set as default save path" option
with "Remember last used save path" option that affects only selected value in
"Save path" combo box.
Closes #7323 .
7 years ago
sledgehammer999
35eee0b590
Don't migrate torrents that have newer fastresumes
7 years ago
sledgehammer999
7626ebe7a6
Delete non-commited fastresume files
...
Old v3.3.x format had a number at the end indicating the queue position.
The naming scheme was '<infohash>.fastresume.<queueposition>'.
However, QSaveFile, which uses QTemporaryFile internally, might leave
non-commited files behind eg after a crash. These files have the
naming scheme '<infohash>.fastresume.XXXXXX' where each X is a random
character. We try to detect the latter and remove it without "migrating"
the fastresume to the new saving system.
7 years ago
Chocobo1
61e61a1fd5
Rename variables
...
Variable name should not start with underscore as C++ standard stated it
is reserved.
7 years ago
sledgehammer999
375b15727d
Show rechecking progress
...
When having big torrents, the rechecking might take a while to
complete. Users need some sort of feedback that progress is being made.
Also, I changed the float to qreal since that's the return type.
7 years ago
sledgehammer999
7484889836
Fix deletion of old logs
7 years ago
Chocobo1
263524e856
Improve "Run External Program" behavior
...
This follows utorrent behavior: they don't append backslash character at
the end of path variables.
Closes #8836 .
7 years ago
Chocobo1
5ae926a376
Refactor code
...
Add const to variables.
No functionality change.
7 years ago
Chocobo1
92a4e73a22
Apply locale changes immediately in WebUI
7 years ago
sledgehammer999
e5c73cee4a
Log successful torrent move
7 years ago
sledgehammer999
565ffa7d1e
Add 'Moving' state for torrents being relocated/moved
...
This is another indication to the user that something is happening
behind the scenes.
Uses the same icon/color as "Checking" status.
Torrents in the `Moving` state are considered as "Active". This should
prevent accidental program exit from the user and inhibit system sleep.
7 years ago
adem
b3f98fc975
Update Windows icons
7 years ago
Vladimir Golovnev (Glassez)
88f2a66aac
Fix params handling for some legacy API methods
...
Closes #8880 .
7 years ago
Vladimir Golovnev (Glassez)
0fda49c060
Improve legacy API params handling
7 years ago
Vladimir Golovnev (Glassez)
afcf232bd8
Fix invalid API calls in WebUI
...
Closes #8899 .
7 years ago
Vladimir Golovnev (Glassez)
32e2791f56
Fix compilation with MinGW
7 years ago
Chocobo1
b1304057ec
Fix i18n in WebUI
...
Closes #8844 .
7 years ago
Chocobo1
c26ff40029
Make strings translatable
...
Closes #8866 .
7 years ago
thalieht
4cfa163bbd
Use qt5 syntax for a few remaining SLOT()
7 years ago
thalieht
20ca90800d
Fix coding style
7 years ago
thalieht
586e1a0830
Move some connect() from propertieswidget to their corresponding widget
7 years ago
thalieht
6b4455e13d
Use qt5 connect() syntax
7 years ago
Nick Korotysh
0b8c620fd3
Add missing "override"
7 years ago
Chocobo1
c0df292567
Remove debug messages
7 years ago
Chocobo1
defba23d61
Refactor code
...
Remove forward declarations of Qt types.
Fix header include order.
7 years ago
Vladimir Golovnev (Glassez)
85dd446198
Fix wrong API method names
...
Closes #8828 .
7 years ago
Chocobo1
6d923f703a
Fix displayed tracker messages
...
Before this change, we were displaying debug messages constructed by
libtorrent, now we show messages returned by trackers.
Closes #8739 .
7 years ago
Chocobo1
90f42e6737
Refactor functions
...
Add const to variables
Remove debug messages
7 years ago
Chocobo1
58861c35b0
Fix compile warnings on gcc 8
...
The warning was:
warning: catching polymorphic type ‘class std::exception’ by value
[-Wcatch-value=]
7 years ago
Chocobo1
203bafc4c3
Revert commit
...
Apparently the translations were working in previous state, but affected by
lupdate issue:
https://github.com/qbittorrent/qBittorrent/issues/8220#issuecomment-385712673
The reverts commit fb698896c9
.
Closes #8831 .
7 years ago
Chocobo1
9f809114f0
Really fix translation in fspathedit
...
QT_TRANSLATE_NOOP3 is a macro, so we cannot use a runtime string for the context
argument.
Fix up 1d778676cd
.
7 years ago
Chocobo1
d20f40184f
Fix translation strings not found
...
The translation context doesn't exist, so the translations were not found, fixed
now.
Closes #8829 .
7 years ago