Commit graph

8995 commits

Author SHA1 Message Date
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
ad7b8a9bfa
Merge pull request #10757 from glassez/backport
Backport to v4.1.x
2019-06-04 17:59:10 +03: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
Vladimir Golovnev
979c9a7094
Merge pull request #10728 from glassez/fix-seqdl
Fix sequential downloading when redirected
2019-05-31 08:13:50 +03: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
Mike Tzou
9ba7470815
Merge pull request #10615 from Chocobo1/backport
Backport to v4_1_x
2019-05-23 22:14:18 +08: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
ea7e47d113
Bump to 4.1.6 2019-05-05 20:44:39 +03:00
sledgehammer999
294bb26996
Update Changelog 2019-05-05 20:40:50 +03:00
sledgehammer999
4b2e9dba51
Sync translations from Transifex and run lupdate/tstool.py 2019-05-05 20:20:06 +03:00
sledgehammer999
1d9dcde99b
Merge pull request #10567 from Chocobo1/backport
Backport #10445 to v4_1_x
2019-05-05 19:52:14 +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
Mike Tzou
3b325106da
Merge pull request #10565 from Chocobo1/backport
Backport to v4_1_x
2019-05-03 19:58:31 +08:00
Chocobo1
3aeca37c5d
Fix "Create subfolder" option is not working in WebUI
Closes #10392.
2019-05-03 12:40:45 +08:00
Mike Tzou
4253515736
Merge pull request #10496 from Chocobo1/backport
Backport to v4_1_x
2019-04-17 13:13:25 +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
Mike Tzou
383a5f11bc
Merge pull request #10468 from Chocobo1/backport
Backport recent PRs to v4_1_x
2019-04-10 16:50:19 +08: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
Chocobo1
8f6c305d14
Update .appdata descriptions 2019-03-25 13:27:29 +02:00
Chocobo1
e29b9655eb
Use reverse DNS convention for metadata files naming
Also update appdata install path.

Closes #10111.
2019-03-25 13:27:22 +02:00
sledgehammer999
ae7fa9ea82
Merge pull request #10403 from thalieht/backport-search-enter-key
Backport #10400 to v4_1_x branch
2019-03-25 13:22:03 +02: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
4b2376c4fd
Cleanup Info.plist
Added few required/recommended and removed obsolete/deprecated keys
according to Apple developers documentation.
Changed CFBundleIdentifier according to reverse DNS convention.
Updated copyright year.
2019-03-17 21:55:45 +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