Chocobo1
e071c31a4e
Use Qt5 connect syntax
6 years ago
Chocobo1
dc9d0ed76f
Fix unable to control add torrent dialogs when opened simultaneously
6 years ago
Chocobo1
03fdc0e1c4
Remove redundant disconnect()
...
The dialog is going out-of-scope in these instance and the signal-slot connection will disconnect
automatically.
6 years ago
Chocobo1
014273d7ec
Drop support for "BC Link" format
...
Fixup 19d6de795c
.
6 years ago
thalieht
70f8882f87
Group Qt forward declarations separately from the others
6 years ago
thalieht
9995967fbf
Remove some unused #include
6 years ago
thalieht
4370a7eb12
Forward declare in a few places
6 years ago
Vladimir Golovnev (Glassez)
b644d6685f
Disable "Upload mode" when start preloaded torrent
6 years ago
Vladimir Golovnev (Glassez)
4ae4ae3cfc
Fix wrong indentation
6 years ago
Vladimir Golovnev (Glassez)
2c145fa57c
Fix incorrectly set torrent startup flag
6 years ago
Vladimir Golovnev (Glassez)
68ee071331
Ignore RSS articles with non-unique identifiers
6 years ago
Vladimir Golovnev (Glassez)
d710bbd9ef
Perform more RSS parsing in working thread
6 years ago
Chocobo1
411b956009
Fix speed limit not applying to IPv6 peers
...
`TORRENT_USE_IPV6` is not used by libtorrent 1.2 anymore.
6 years ago
Chocobo1
3f2ce8a2b7
Remove unused stats_alert handler
...
Fixup 0fe9cd05c4
.
6 years ago
Chocobo1
39830986c2
Use alert's timestamp
...
This way has better accuracy than running our own timer.
6 years ago
Chocobo1
f52dcc08eb
Use native folder icon in content tree
...
This icon is used in content tree where all icons should be OS native
and not the ones from qbt.
6 years ago
Chocobo1
49df1cd3c7
Use less operations when building strings
6 years ago
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.
6 years ago
Vladimir Golovnev (Glassez)
05fd0b5859
Fix sequential downloading when redirected
6 years ago
Chocobo1
36cf689432
Fix wrong comparison result
...
The QString::toInt() might overflow when the string is long.
Closes #10706 .
6 years ago
Chocobo1
0d9fcb0c1d
Fix arrow too large on macOS
...
By changing to use natvie UI tree controls.
Closes #10709 .
6 years ago
Chocobo1
45bafab4e0
Log performance alerts from libtorrent
6 years ago
Chocobo1
9232dd30dc
Sort function declarations
6 years ago
Chocobo1
1b0ffd7781
Fix wrong logic
...
The error is caused by silly copy-paste error.
Fixup 09ff735007
.
6 years ago
Chocobo1
09ff735007
Use newer libtorrent API
...
This commit covers trackerentry.cpp only.
6 years ago
Chocobo1
ccbb4576b6
Tweak visuals in Options dialog
6 years ago
Chocobo1
d7afc91975
Avoid combo boxes extending to the right in Options dialog
6 years ago
Prince Gupta
e283026a3c
Replace CheckBox with Arrow in transferlistfilterswidget.cpp
6 years ago
Chocobo1
1e029da5ad
Fix search icon placement when using RTL languages
6 years ago
Chocobo1
ed6bb0efdc
Replace QList by QVector for tracker related operations
6 years ago
Chocobo1
802af70e2f
Fix typos
6 years ago
Chocobo1
cb4c53c848
Follow the type used in libtorrent
6 years ago
Chocobo1
e92209475e
Use range-based for loops
6 years ago
Chocobo1
10e1c35998
Avoid unnecessary double lookup
6 years ago
Chocobo1
c75500670d
Use forwarding reference when passing function objects
...
So instead of passing every function objects by value (a copy is made), now function objects
will be handled properly by reference (for lvalues) or by value (for rvalues).
6 years ago
Chocobo1
6738cdd715
Constify exception references
6 years ago
Chocobo1
e288de7ec1
Forward declare as much as possible
6 years ago
Chocobo1
401bdbf3d9
Remove unused functions
6 years ago
Chocobo1
ff707ea5af
Change splitToViews() return type to QVector
6 years ago
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 .
6 years ago
Evgeny Lensky
62c72091ce
Change "Add new torrent" dialog to horizontal layout
6 years ago
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.
6 years ago
Chocobo1
5aaf040300
Remove libtorrentfwd.h
6 years ago
Chocobo1
3955eef50d
Change to `lt` namespace
...
Quoting from libtorrent doc:
> In the future, libtorrent will be the alias and lt the namespace name.
6 years ago
Chocobo1
4b263f057d
Use newer libtorrent API
...
This commit covers session.cpp only.
6 years ago
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.
6 years ago
jerrymakesjelly
4b9f0a87cd
Change the speed unit from Bytes/s to KiB/s
...
Updated the adding torrent dialogs in WebUI. Closes #10017 .
6 years ago
Chocobo1
bd8d70bf60
Refactor HTTP query parsing
6 years ago
Chocobo1
69d29af097
Fix '+' char not decoded to space correctly
...
Closes #10606 .
6 years ago
Matan Bareket
bd2d636bb5
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.
6 years ago