Vladimir Golovnev
|
6f6033cf1c
|
Merge pull request #10754 from glassez/fix-magnet
Disable "Upload mode" when start preloaded torrent. Closes #10751
|
2019-06-04 10:56:11 +03:00 |
|
Vladimir Golovnev (Glassez)
|
b644d6685f
|
Disable "Upload mode" when start preloaded torrent
|
2019-06-04 07:14:21 +03:00 |
|
Vladimir Golovnev (Glassez)
|
4ae4ae3cfc
|
Fix wrong indentation
|
2019-06-04 06:55:45 +03:00 |
|
Vladimir Golovnev (Glassez)
|
2c145fa57c
|
Fix incorrectly set torrent startup flag
|
2019-06-04 06:53:17 +03:00 |
|
Chocobo1
|
411b956009
|
Fix speed limit not applying to IPv6 peers
`TORRENT_USE_IPV6` is not used by libtorrent 1.2 anymore.
|
2019-06-02 15:00:27 +08:00 |
|
Chocobo1
|
3f2ce8a2b7
|
Remove unused stats_alert handler
Fixup 0fe9cd05c4 .
|
2019-06-01 11:43:00 +08:00 |
|
Chocobo1
|
39830986c2
|
Use alert's timestamp
This way has better accuracy than running our own timer.
|
2019-06-01 11:40:23 +08:00 |
|
Chocobo1
|
0fe9cd05c4
|
Avoid using deprecated stats_alert
From libtorrent doc:
This alert has been superseded by calling post_torrent_updates() regularly on the session object.
|
2019-05-31 10:58:23 +08:00 |
|
Chocobo1
|
45bafab4e0
|
Log performance alerts from libtorrent
|
2019-05-27 14:46:33 +08:00 |
|
Chocobo1
|
9232dd30dc
|
Sort function declarations
|
2019-05-27 09:29:59 +08:00 |
|
Chocobo1
|
1b0ffd7781
|
Fix wrong logic
The error is caused by silly copy-paste error.
Fixup 09ff735007 .
|
2019-05-25 14:55:27 +08:00 |
|
Chocobo1
|
09ff735007
|
Use newer libtorrent API
This commit covers trackerentry.cpp only.
|
2019-05-25 11:22:57 +08:00 |
|
Chocobo1
|
ed6bb0efdc
|
Replace QList by QVector for tracker related operations
|
2019-05-22 12:57:22 +08:00 |
|
Chocobo1
|
cb4c53c848
|
Follow the type used in libtorrent
|
2019-05-19 18:51:09 +08:00 |
|
Chocobo1
|
e92209475e
|
Use range-based for loops
|
2019-05-19 18:51:09 +08:00 |
|
Chocobo1
|
10e1c35998
|
Avoid unnecessary double lookup
|
2019-05-19 12:06:18 +08:00 |
|
Chocobo1
|
6738cdd715
|
Constify exception references
|
2019-05-19 12:06:18 +08:00 |
|
Chocobo1
|
e288de7ec1
|
Forward declare as much as possible
|
2019-05-19 12:06:18 +08:00 |
|
Mike Tzou
|
3d6dccc689
|
Merge pull request #10627 from Chocobo1/alg
Improve removeIf() to support other types
|
2019-05-16 10:45:55 +08:00 |
|
Chocobo1
|
459cdf6071
|
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-15 10:22:21 +08:00 |
|
Chocobo1
|
c6f3da1097
|
Improve removeIf() to support set types
We can now replace QMutable*Iterator by removeIf() which usage is more consistent with other
algorithm functions.
|
2019-05-14 01:26:01 +08:00 |
|
Chocobo1
|
5aaf040300
|
Remove libtorrentfwd.h
|
2019-05-13 11:20:42 +08:00 |
|
Chocobo1
|
3955eef50d
|
Change to lt namespace
Quoting from libtorrent doc:
> In the future, libtorrent will be the alias and lt the namespace name.
|
2019-05-13 11:20:41 +08:00 |
|
Chocobo1
|
4b263f057d
|
Use newer libtorrent API
This commit covers session.cpp only.
|
2019-05-13 11:20:41 +08:00 |
|
Chocobo1
|
677a419f0b
|
Use upstream defined namespace
`lt` namespace is defined since libtorrent 1.1.6 and our master branch requires >= 1.1.10,
so there is no need to add #if condition for it.
|
2019-05-13 11:20:41 +08:00 |
|
Chocobo1
|
bd8d70bf60
|
Refactor HTTP query parsing
|
2019-05-09 12:41:30 +08:00 |
|
Chocobo1
|
69d29af097
|
Fix '+' char not decoded to space correctly
Closes #10606.
|
2019-05-09 11:17:41 +08:00 |
|
Chocobo1
|
ae793b7395
|
Use upstream defined namespace alias
|
2019-05-06 20:26:15 +08:00 |
|
Chocobo1
|
56434fc8b9
|
Replace obsoleted QDateTime::fromTime_t()
|
2019-05-06 20:26:15 +08:00 |
|
Chocobo1
|
3f962ba336
|
Fix displaying invalid creation date
The bug is only observed when using libtorrent 1.2.
|
2019-05-06 20:26:14 +08:00 |
|
Chocobo1
|
3f10ac55a3
|
Migrate to update-to-date libtorrent functions
|
2019-05-06 20:26:14 +08:00 |
|
Chocobo1
|
aaed5f7fe0
|
Remove unused headers
|
2019-05-01 11:09:25 +08:00 |
|
thalieht
|
2f3b7642c2
|
Show user friendly size in error
|
2019-04-10 11:39:27 +03:00 |
|
thalieht
|
25102b9c5d
|
Increase the download size limit to 100 MiB
|
2019-04-10 11:39:27 +03:00 |
|
Vladimir Golovnev (Glassez)
|
ead078a38e
|
Add preliminary support of libtorrent v1.2
libtorrent v1.2 should be built with deprecated features enabled.
|
2019-03-18 15:17:03 +03:00 |
|
thalieht
|
4c53447d35
|
Remove the max half-open connections option from GUI
Its functionality was deprecated long ago.
|
2019-03-13 21:08:40 +02:00 |
|
Vladimir Golovnev
|
928ce940c9
|
Merge pull request #10346 from glassez/download-manager
Improve "Download manager"
|
2019-03-10 09:13:07 +03:00 |
|
Vladimir Golovnev (Glassez)
|
746916a963
|
Use DownloadHandler behind the scenes
|
2019-03-08 13:00:37 +03:00 |
|
sledgehammer999
|
c2d1af9853
|
Merge pull request #10338 from sledgehammer999/raise_qt5_ver
Raise minimum Qt version to 5.9.0
|
2019-03-08 00:42:26 +02:00 |
|
Vladimir Golovnev (Glassez)
|
6cb15706f5
|
Reduce number of DownloadManager signals
|
2019-03-05 11:28:29 +03:00 |
|
Chocobo1
|
adbd34c795
|
Move helper functions to Utils::Gui namespace
|
2019-03-05 14:55:22 +08:00 |
|
sledgehammer999
|
5c63ad3b95
|
Raise minimum Qt version to 5.9.0
|
2019-03-04 16:48:49 +02:00 |
|
Chocobo1
|
168d3fbdac
|
Replace deprecated trUtf8()
|
2019-02-28 12:01:36 +08:00 |
|
thalieht
|
89dce36e98
|
Use uniform initialization on some default arguments
|
2019-02-25 17:05:15 +02:00 |
|
thalieht
|
86df25a3e9
|
Remove some unused stuff
|
2019-02-16 18:54:18 +02:00 |
|
thalieht
|
8c944bd4e1
|
Avoid repeating the return type
|
2019-02-16 18:54:18 +02:00 |
|
thalieht
|
8a3f942385
|
Don't use 'else' after return/break
|
2019-02-13 18:23:25 +02:00 |
|
Mike Tzou
|
78ab0e4ba9
|
Merge pull request #10220 from thalieht/const
Add const to many vars and arguments
|
2019-02-13 12:11:00 +08:00 |
|
thalieht
|
445adb0ab4
|
Convert pass-by-value arguments to const refs where applicable
|
2019-02-12 02:45:55 +02:00 |
|
thalieht
|
ca3ce87e06
|
Add const to many vars and arguments
Also remove const in declarations' arguments that are passed by value
|
2019-02-11 20:19:41 +02:00 |
|