Chocobo1
fcbcf4039b
Use smaller type
7 years ago
Chocobo1
0a49f76c0a
Detect endianness at compile time
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
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
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
sledgehammer999
ea8c57be23
Sync translations from Transifex and run lupdate
7 years ago
sledgehammer999
90bb67c654
Add RSS/Log widgets to the QTabWidget on macOS
...
Fixes commit a468c84b30
7 years ago
Marcel Petersen
fc58e8a0c6
Filter torrent info endpoint by hashes
...
Added hashes parameter to info action.
Allows filtering seralized torrents by passing it into the TorrentFilter.
7 years ago
sledgehammer999
8f7fda492c
Sync translations from Transifex and run lupdate
...
Closes #8220 #8169
7 years ago
Chocobo1
e423314ac2
Work around false-positive warning from lupdate
...
In short, lupdate will get confused when seeing `template <class T>`,
see: QTBUG-55478
7 years ago
Chocobo1
9fabe59b80
Fix usage of Q_DECLARE_TR_FUNCTIONS()
...
The context parameter shouldn't be enclosed in double quotes.
7 years ago
sledgehammer999
6e94b03c13
Fix compilation against libtorrent 1.0.x
...
Closes #8798
7 years ago
Chocobo1
c61f641613
Fix untranslated string
...
Closes #8809 .
7 years ago
Chocobo1
f6d74e3996
Retry saving settings when operation failed
7 years ago
Chocobo1
099314d17f
Make settings file recovery more robust
...
We should not blindly remove the leftover settings file, as the following write()
operation could fail and the user would lost all settings.
We should try renaming it instead.
7 years ago
Chocobo1
708b5a6904
Refactor SettingsStorage class
...
Make use of (i.e. returning) QFile::rename operation status
Make log message more verbose
Add const
Remove empty lines
Inline typedef
7 years ago
sledgehammer999
fb346e15e8
Sync translations from Transifex and run lupdate
7 years ago
Chocobo1
8b575484e6
Fix path separator in log messages
7 years ago
Chocobo1
81a4f3ced0
Use RNG provided by OS
...
The general consensus is to use random facility provided by OS instead
of using other software random generators.
7 years ago
Chocobo1
970ad7cf28
Sort filenames when creating torrent
...
First all dir paths are retrieved, then filenames in each path
are retrieved and sorted, then concatenate the sorted filenames together.
7 years ago
toster
c4625f50a8
Pass isAlignmentOptimized flag to piece size calculation
7 years ago
Vladimir Golovnev (Glassez)
001bd38557
Fix pauseAll/resumeAll legacy API methods
...
Closes #8766 .
7 years ago
Chocobo1
68c2d81072
Fix memory leak
7 years ago