Chocobo1
d03209a73d
Fix crash when removing phantom tags
...
Normally a tag is stored in both session and torrent's fastresume.
A phantom tag is a tag that is stored in fastresume but not in
session.
This crash can occur when user resets his config file and choose
to remove tag from torrent.
Closes #10569 .
2019-06-20 11:38:15 +08:00
Chocobo1
ac9ba255d8
Set wheel event to accepted only if we handle it
2019-06-20 11:38:02 +08:00
Chocobo1
9a7e79bd0e
Improve handleFileErrorAlert error message
2019-06-20 11:37:40 +08:00
Chocobo1
74e52746b1
Reorder if conditions slightly
2019-06-16 12:37:16 +08:00
Chocobo1
8d26a221e0
Fix updated save path not saved for paused torrents
2019-06-16 12:37:16 +08:00
Chocobo1
3fdab88eb7
Log save_resume_data_failed_alert
2019-06-16 12:37:16 +08:00
Chocobo1
d376d912b3
Don't remove parent directories
...
QDir::rmpath removes *all* parent directories while QDir::rmdir removes
the specified directory.
2019-06-16 12:30:57 +08:00
Chocobo1
e329c41ef2
Properly remove empty leftover folders after rename
...
TorrentInfo::origFilePath will return the very original path from
.torrent file, not the most recent file path before the rename operation
and thus the code would not be working as we expected.
2019-06-16 12:30:42 +08:00
silverqx
01e4179555
Focus behavior row in Options dialog
2019-06-15 11:50:28 +08:00
Chocobo1
06f503b5df
Fix unable to rename folder on Windows
...
The bug occurs when the new path and old path only differ by letter case.
2019-06-10 10:34:15 +08:00
Chocobo1
e2f3dad7b8
Move renameSelectedFile(BitTorrent::TorrentInfo &)
2019-06-10 10:34:10 +08:00
Chocobo1
377f31085c
Move renameSelectedFile(BitTorrent::TorrentHandle *)
2019-06-10 10:34:03 +08:00
Chocobo1
ec13d195f8
Fix unable to control add torrent dialogs when opened simultaneously
2019-06-06 23:31:27 +08:00
Chocobo1
c01aed8d90
Remove redundant disconnect()
...
The dialog is going out-of-scope in these instance and the signal-slot connection will disconnect
automatically.
2019-06-06 23:29:53 +08:00
Vladimir Golovnev (Glassez)
5bba1ed208
Ignore RSS articles with non-unique identifiers
2019-06-04 15:08:35 +03:00
Vladimir Golovnev (Glassez)
fe94e14bcc
Perform more RSS parsing in working thread
2019-06-04 15:06:29 +03:00
Vladimir Golovnev (Glassez)
b0af479ab9
Disable "Upload mode" when start preloaded torrent
2019-06-04 15:01:10 +03:00
Mike Tzou
24ff369f29
Merge pull request #10731 from Chocobo1/backport
...
Backport to v4_1_x
2019-06-01 10:07:23 +08:00
Chocobo1
7b90ac52c1
Fix wrong comparison result
...
The QString::toInt() might overflow when the string is long.
Closes #10706 .
2019-05-31 12:20:39 +08:00
Vladimir Golovnev (Glassez)
ecfbda78bc
Fix sequential downloading when redirected
2019-05-30 16:06:18 +03:00
Chocobo1
6394467cc7
Fix typos
2019-05-20 17:45:48 +08:00
Chocobo1
f6d72fa79f
Fix assertion fail
...
When fileSize == 0, the second index could be smaller than the first index,
thus trigger the assert check in IndexInterval constructor.
Closes #10611 .
2019-05-16 10:49:00 +08:00
dzmat
32ed5f1c8e
Change number of time axis divisions from 5 to 6 for convenience
2019-05-15 20:36:00 +08:00
dzmat
5026da5773
Add 12 hour and 24 hour speed graphs
2019-05-15 20:35:50 +08:00
Evgeny Lensky
ef130e4438
Change "Add new torrent" dialog to horizontal layout
2019-05-15 10:19:37 +08:00
jerrymakesjelly
4fbd52c2d5
Change the speed unit from Bytes/s to KiB/s
...
Updated the adding torrent dialogs in WebUI. Closes #10017 .
2019-05-12 13:51:35 +08:00
Matan Bareket
8f29b70c1e
Download RSS enclosure element if no proper MIME type is found
...
In the case where an RSS feed doesn't have the "enclosure" element
with type "application/x-bittorrent", fallback to the last enclosure
element which has no "type" attribute.
2019-05-11 23:39:57 +08:00
Ekin Dursun
9a4dd3ea9d
Don't turn screen blank when closed to system tray
...
Closes #9240 and possibly #9121 , as @zeule suggested here: https://github.com/qbittorrent/qBittorrent/issues/9240#issuecomment-408025722 .
2019-05-11 12:25:42 +08:00
Chocobo1
fcd3bb6918
Refactor HTTP query parsing
2019-05-10 09:20:03 +08:00
Chocobo1
9f69fd8750
Fix '+' char not decoded to space correctly
...
Closes #10606 .
2019-05-10 09:19:56 +08:00
sledgehammer999
4b2e9dba51
Sync translations from Transifex and run lupdate/tstool.py
2019-05-05 20:20:06 +03:00
Chocobo1
32bf448725
Initialize class variable via constructor
2019-05-03 23:03:33 +08:00
Chocobo1
732d5d6db9
Disable downloading tracker favicons by default
...
Workaround for a crash in Qt networking library, source:
https://github.com/qbittorrent/qBittorrent/issues/9667#issuecomment-464445025
Closes #9667 .
2019-05-03 22:56:16 +08:00
Chocobo1
3aeca37c5d
Fix "Create subfolder" option is not working in WebUI
...
Closes #10392 .
2019-05-03 12:40:45 +08:00
Chocobo1
e365d57063
Fix unsafe type narrowing
...
Appending the warning below:
qBittorrent\src\base/utils/version.h(176): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
qBittorrent\src\base/utils/version.h(185): note: see reference to function template instantiation 'std::array<T,2> Utils::Version<T,2,2>::parseList<StringsList>(const StringsList &)' being compiled
with
[
T=unsigned short,
StringsList=QList<QByteArray>
]
2019-04-16 12:37:46 +08:00
Chocobo1
df6df20969
Use QSet for tracking server connections
...
We don't need to maintain order between connections so QSet would be more suitable.
2019-04-16 12:34:09 +08:00
Chocobo1
4e5a85dda5
Remove closed connections immediately
...
Previously it relied on a timer to drop dead connections but that proved to
be too slow when there is an incoming burst of connections.
Fixes #10487 .
2019-04-16 12:34:00 +08:00
Mike Tzou
bad603454b
Merge pull request #10474 from thalieht/backport
...
Backport #10464 to v4_1_x
2019-04-11 10:16:08 +08:00
thalieht
7b006a47ba
Show user friendly size in error
2019-04-10 12:08:47 +03:00
thalieht
11da8b82e8
Increase the download size limit to 100 MiB
2019-04-10 12:02:43 +03:00
Chocobo1
76ab5f12c5
Work around the crash occurred in QTimer
...
See Qt commit:
https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/kernel/qtimer.cpp?id=a623fe8d2a60ff333d5779f877e3b20f0e141ff1
Fixes #9985 .
2019-04-09 13:57:53 +08:00
Chocobo1
be74987084
Correctly handle '+' sign in x-www-form-urlencoded data
...
Fixes #10451 .
2019-04-09 13:57:35 +08:00
thalieht
fee9030337
Make num enter key work the same as return in searchjobwidget
...
Backport #10400 to v4_1_x branch.
2019-03-23 10:51:07 +02:00
Peter Eszlari
f48d057c47
Linux/Wayland: make window title bar icon work
2019-03-17 21:55:50 +02:00
sledgehammer999
f14573307c
Don't query Google for tracker favicons
...
It is a bad idea for user privacy to automatically contact a 3rd party
about tracker domains. Especially when the user isn't informed about
this and the 3rd party is Google.
Reverts 1b9882b3a3
2019-03-17 21:55:50 +02:00
sledgehammer999
560ba8c0b8
Update copyright year
2019-03-17 21:55:49 +02:00
Nick Korotysh
76faed3818
Draw progress bar in Fusion style on macOS systems
...
Qt has a bug QTBUG-72558, which leads to incorrect progress bar
position, when drawing it in delegate.
Also, since OS X 10.10 Yosemite macOS default style was changed,
and progress bars became very tiny and without text (percentage).
These two cases make qBittorrent look pretty awful, but drawing
progress bar in Fusion style solves both issues.
2019-03-17 21:55:07 +02:00
sledgehammer999
62657d9fda
Mention more translators
...
Closes #10043
2019-03-17 21:55:07 +02:00
Chocobo1
24dcbe7d43
Fix wrong arg placeholder
2019-02-09 21:26:08 +08:00
Chocobo1
7649fe0a0e
Display warning when Javascript is disabled
2019-02-09 15:32:43 +08:00