Chocobo1
09ff735007
Use newer libtorrent API
...
This commit covers trackerentry.cpp only.
6 years ago
Mike Tzou
ebdf5225a8
Merge pull request #10684 from jagannatharjun/arrow-transfercategory
...
Replace CheckBox with Arrow in transferlistfilterswidget
6 years ago
Mike Tzou
9387dbce41
Merge pull request #10675 from Chocobo1/tracker
...
Replace QList by QVector for tracker related operations
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
Mike Tzou
f86c5442aa
Merge pull request #10656 from Chocobo1/vector
...
Code cleanups
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
Mike Tzou
3d6dccc689
Merge pull request #10627 from Chocobo1/alg
...
Improve removeIf() to support other types
6 years ago
Mike Tzou
c9ff0abade
Merge pull request #10638 from Chocobo1/idxRange
...
Fix assertion fail
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
Mike Tzou
dca055656a
Merge pull request #10600 from Chocobo1/newtorrentdlg
...
Change "Add new torrent" dialog to horizontal layout
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
Mike Tzou
4ed8b31641
Merge pull request #10591 from Chocobo1/ngen2
...
Migrate to update-to-date libtorrent functions (part2)
6 years ago
sledgehammer999
8c4a373ed7
Merge pull request #10633 from sledgehammer999/fix_travis_macos
...
Fix Travis-CI for macOS and libtorrent 1.1.x
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
sledgehammer999
e08d0c4e0f
Fix Travis-CI for macOS and libtorrent 1.1.x
6 years ago
Mike Tzou
6d73a7ef0a
Merge pull request #10618 from jerrymakesjelly/master
...
Replace Bytes/s with KiB/s in the adding torrent dialogs in WebUI
6 years ago
Vladimir Golovnev
af7d8f6a43
Merge pull request #10514 from Mataniko/rss-enclosure-type
...
Download RSS "enclosure" element if no proper MIME type is found
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
Mike Tzou
ca0dad7356
Merge pull request #10590 from onlined/fix/close-system-tray-blank-screen
...
Don't turn screen blank when closed to system tray
6 years ago
Mike Tzou
75e87de473
Merge pull request #10607 from Chocobo1/decodeQuery
...
Fix '+' char not decoded to space correctly
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
Mike Tzou
412b51fb3c
Merge pull request #10552 from CoryG89/webui-magnet-handler
...
Register protocol handler in WebUI for magnet links
6 years ago
Mike Tzou
a3fee32b42
Merge pull request #10437 from Chocobo1/ngen
...
Migrate to update-to-date libtorrent functions
6 years ago
Ekin Dursun
c0c2fe247b
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 .
6 years ago
Chocobo1
ae793b7395
Use upstream defined namespace alias
6 years ago
Chocobo1
56434fc8b9
Replace obsoleted QDateTime::fromTime_t()
6 years ago
Chocobo1
3f962ba336
Fix displaying invalid creation date
...
The bug is only observed when using libtorrent 1.2.
6 years ago
Chocobo1
3f10ac55a3
Migrate to update-to-date libtorrent functions
6 years ago
Cory
d49379789a
Register protocol handler in WebUI for magnet links
6 years ago
Mike Tzou
3a3dec1707
Merge pull request #10445 from Chocobo1/crash
...
Work around crashing in Qt networking library
6 years ago
Mike Tzou
d001927d47
Merge pull request #10557 from Chocobo1/rootfolder
...
Fix "Create subfolder" option is not working in WebUI
6 years ago
Chocobo1
8aa8b19f37
Fix "Create subfolder" option is not working in WebUI
...
Closes #10392 .
6 years ago