Chocobo1
6cfeefe054
Rename variables
...
Variable name should not start with underscore as C++ standard stated it
is reserved.
2018-05-27 18:31:51 +03:00
Chocobo1
8007971a53
Fix i18n in WebUI
...
Closes #8844 .
2018-05-27 18:31:51 +03:00
Chocobo1
d66bd30fae
Make strings translatable
...
Closes #8866 .
2018-05-27 18:31:51 +03:00
sledgehammer999
3fa59b1b12
Don't migrate torrents that have newer fastresumes
2018-05-27 18:31:51 +03:00
sledgehammer999
20e7aff393
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.
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
4b7ce87f57
Fix params handling for some legacy API methods
...
Closes #8880 .
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
2075533468
Improve legacy API params handling
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
a4ad5c8d11
Fix invalid API calls in WebUI
...
Closes #8899 .
2018-05-27 18:31:51 +03:00
sledgehammer999
35f2f56757
Fix deletion of old logs
2018-05-27 18:31:51 +03:00
Marcel Petersen
e6f4aa6a2f
Filter torrent info endpoint by hashes
...
Added hashes parameter to info action.
Allows filtering seralized torrents by passing it into the TorrentFilter.
2018-05-27 18:31:51 +03:00
sledgehammer999
92fc62bb0d
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.
2018-05-27 18:31:51 +03:00
sledgehammer999
44b57a59f5
Log successful torrent move
2018-05-27 18:31:51 +03:00
sledgehammer999
97b8e02bf5
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.
2018-05-27 18:31:51 +03:00
Chocobo1
5df42420cb
Retry saving settings when operation failed
2018-05-27 18:31:51 +03:00
Chocobo1
0ede11a1b7
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.
2018-05-27 18:31:51 +03:00
Chocobo1
7d9c282db9
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
2018-05-27 18:31:51 +03:00
Chocobo1
bc0e0813a4
Enable more compiler warnings on linux
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
f3aebb3001
Fix compilation with MinGW
2018-05-27 18:31:51 +03:00
thalieht
800f966df9
Use qt5 syntax for a few remaining SLOT()
2018-05-27 18:31:51 +03:00
thalieht
e33df4dd8c
Clarify guidelines and fix some typos
2018-05-27 18:31:51 +03:00
thalieht
96d9d810fd
Fix coding style
2018-05-27 18:31:51 +03:00
thalieht
8707a1bc86
Move some connect() from propertieswidget to their corresponding widget
2018-05-27 18:31:51 +03:00
thalieht
0c988a5fd4
Use qt5 connect() syntax
2018-05-27 18:31:51 +03:00
Chocobo1
b396ca771d
Fix displayed tracker messages
...
Before this change, we were displaying debug messages constructed by
libtorrent, now we show messages returned by trackers.
Closes #8739 .
2018-05-27 18:31:51 +03:00
Chocobo1
a37dfcf961
Refactor functions
...
Add const to variables
Remove debug messages
2018-05-27 18:31:51 +03:00
Chocobo1
31989740cd
Comment out Werror flag in cmake script
...
Werror flag should be only enabled on developer's machine, not for
users using the product.
Also fix formatting.
2018-05-27 18:31:51 +03:00
Chocobo1
501191289b
Print warning about cmake support status
2018-05-27 18:31:51 +03:00
Chocobo1
8971e92d78
Remove debug messages
2018-05-27 18:31:51 +03:00
Chocobo1
0c96e79d0d
Refactor code
...
Remove forward declarations of Qt types.
Fix header include order.
2018-05-27 18:31:51 +03:00
Nick Korotysh
0704c0f5e6
Add missing "override"
2018-05-27 18:31:51 +03:00
thalieht
9cb190ebe7
Replace the zeroing of pointers with nullptr
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
667f84995c
Fix wrong API method names
...
Closes #8828 .
2018-05-27 18:31:51 +03:00
Chocobo1
7a93fae6e4
Fix compile warnings on gcc 8
...
The warning was:
warning: catching polymorphic type ‘class std::exception’ by value
[-Wcatch-value=]
2018-05-27 18:31:51 +03:00
Chocobo1
0d6deca15c
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 .
2018-05-27 18:31:51 +03:00
Chocobo1
f54d7d46f2
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
.
2018-05-27 18:31:51 +03:00
Chocobo1
8cf00ba5e1
Fix translation strings not found
...
The translation context doesn't exist, so the translations were not found, fixed
now.
Closes #8829 .
2018-05-27 18:31:51 +03:00
Chocobo1
ecc9c6bbd9
Work around false-positive warning from lupdate
...
In short, lupdate will get confused when seeing `template <class T>`,
see: QTBUG-55478
2018-05-27 18:31:51 +03:00
Chocobo1
e11199f988
Fix usage of Q_DECLARE_TR_FUNCTIONS()
...
The context parameter shouldn't be enclosed in double quotes.
2018-05-27 18:31:51 +03:00
sledgehammer999
e9ed621178
Bump to 4.1.0
2018-05-05 00:55:42 +03:00
sledgehammer999
400743fc64
Update Changelog
2018-05-05 00:51:24 +03:00
sledgehammer999
ea8c57be23
Sync translations from Transifex and run lupdate
2018-05-05 00:39:47 +03:00
sledgehammer999
591cde53cf
Merge pull request #8825 from sledgehammer999/fix_tabs
...
Add RSS/Log widgets to the QTabWidget on macOS
2018-05-04 23:59:07 +03:00
sledgehammer999
90bb67c654
Add RSS/Log widgets to the QTabWidget on macOS
...
Fixes commit a468c84b30
2018-05-04 19:56:42 +03:00
sledgehammer999
8f7fda492c
Sync translations from Transifex and run lupdate
...
Closes #8220 #8169
2018-05-01 18:50:24 +03:00
sledgehammer999
f92d85c536
Merge pull request #8813 from Chocobo1/tr
...
Fix untranslated string
2018-05-01 17:59:49 +03:00
sledgehammer999
55c98d8706
Merge pull request #8811 from sledgehammer999/fix_RC_1_0
...
Fix compilation against libtorrent 1.0.x
2018-05-01 15:04:25 +03:00
sledgehammer999
6e94b03c13
Fix compilation against libtorrent 1.0.x
...
Closes #8798
2018-05-01 10:39:53 +03:00
Mike Tzou
e3a82d4614
Merge pull request #8347 from FranciscoPombal/new_contributing_guidelines
...
New CONTRIBUTING.md, based on the old one, Atom's and uBlock Origin's
2018-05-01 12:00:13 +08:00
Chocobo1
c61f641613
Fix untranslated string
...
Closes #8809 .
2018-05-01 11:49:10 +08:00
sledgehammer999
b64a51337e
Update Changelog
2018-04-28 10:33:32 +03:00