Vladimir Golovnev (Glassez)
d85c3170b2
WebUI: Add charset attribute to text content types.
10 years ago
Vladimir Golovnev (Glassez)
7b7f88ae4f
WebUI: Fix WebAPI returned data.
10 years ago
Ivan Sorokin
da867fd022
Split trackerlogin into .h and .cpp
10 years ago
Ivan Sorokin
ed197a193d
Split statusbar into .h and .cpp
10 years ago
Ivan Sorokin
6347700ee3
Move libtorrent includes to .cpp
...
This commit probably fixes #2119 .
The only important change in this commit is moving
session::get_ip_filter() from FilterParserThread::processFilterFile() to
FilterParserThread::run(). Previously we called it in main thread, but
now we calls it in worker thread. I don't now what libtorrent contract
about threads, but I assume that if it is ok to set_ip_filter from
other thread, it is ok to get it.
10 years ago
Ivan Sorokin
17f5ffcaec
Split filterparserthread into .h and .cpp
10 years ago
Vladimir Golovnev (Glassez)
0660398c28
Replace Mascot with qBittorrent logo on WebUI login page.
10 years ago
Vladimir Golovnev (Glassez)
651bf4f9aa
Fix status returned to banned user.
10 years ago
sledgehammer999
6f14b34470
WEBUI: Protect against timing attacks. Closes #2108 .
10 years ago
Gabriele
b63f647c2c
Add "Total Size" column to transfer list
...
This column shows the total size of the related torrent taking into
account also the unwanted data.
Closes #1233 .
10 years ago
Gabriele
b1af99ffba
Add "Last Activity" column to transfer list
...
This column shows the time elapsed since the related torrent has
received or sent a chunk.
Closes #517 .
10 years ago
Gabriele
a501f9d223
Add "Last Seen Complete" column to transfer list
...
This column shows when we or one of our peers last saw a complete
copy of the related torrent.
Closes #483 .
10 years ago
Ivan Sorokin
51c9d358b4
Implement O(1) SpeedSample::average() instead of O(N)
10 years ago
Ivan Sorokin
4ff08ff691
New improved Sample in TorrentSpeedMonitor
10 years ago
Ivan Sorokin
0d311062f3
Unused function
10 years ago
sledgehammer999
238703cb0e
Remove unused variables.
10 years ago
sledgehammer999
9e6d57057f
Add back contact info in the copyright notices.
10 years ago
Ivan Sorokin
9771cb796c
Unused include
10 years ago
Ivan Sorokin
807960b768
Fix a memleak in torrentmodel.
...
Perhaps we should finally move to C++11 and std::unique_ptr?
10 years ago
Vladimir Golovnev (Glassez)
8a65dbaa4f
WebUI core redesign.
10 years ago
DoumanAsh
b4e31c9a1b
Use https for Piratebay search plugin. Closes #2093
10 years ago
Gabriele
fe030f1540
Remove unused code
...
Leftovers of 4ec176b683
("Make possible to move file to .unwanted
directory after downloading")
10 years ago
Vladimir Golovnev (Glassez)
9853a9fec9
Modify Http parser/generator classes.
10 years ago
Vladimir Golovnev (Glassez)
3d20f2f670
Prepare WebUI resources.
...
Html/Css/JavaScript files displacement.
Also add new icon.
10 years ago
Gabriele
bdf27451ad
Put directories first when sorting torrent content by name
...
Closes #1594 .
10 years ago
Ivan Sorokin
8f0d49bb1b
Remove default argument from TorrentPersistentData::setAddedDate()
10 years ago
Ivan Sorokin
16eb407453
Split src/torrentpersistentdata into .h and .cpp
10 years ago
Ivan Sorokin
e1b4c5534e
Split src/transferlistfilterswidget into .h and .cpp
10 years ago
Ivan Sorokin
03b06fbf81
Split src/transferlistdelegate into .h and .cpp
10 years ago
Ivan Sorokin
2d98b8f192
Call TorrentModelItem::state() directly in getTorrentStatusReport
...
There is no point in wraping/unwraping QVariant.
10 years ago
Ivan Sorokin
80297697dd
Remove mutable fields from TorrentModelItem
...
The querying of TR_STATUS doesn't affect color and icon now.
10 years ago
Ivan Sorokin
ad116edac7
Use Qt::GlobalColor to refer to color instead of string
...
Qt uses binary search to convert string to QColor, we don't need that
binary search at all. This patch could be considered as optimization, but
in reality creating QColor takes only 0.2% of time. So it should be visible
at all.
This could be considered as cleanup for not calling expensive functions
from non-expensive ones.
10 years ago
sledgehammer999
e750ae3a79
Use boost:bind() as the docs show. Allows compilation with older gcc versions.
10 years ago
Vladimir Golovnev (Glassez)
ab2d506e09
Fix libtorrent types forward declaration errors/warnings.
10 years ago
Ivan Sorokin
637246c1c7
Cleaup includes
10 years ago
Ivan Sorokin
5f0d6f3c6d
Fix incorrect ETA calculation
10 years ago
Gabriele
ea1d7afdef
Focus transfer list on startup
...
The torrent list filter will be focused otherwise and its placeholder
text will be hidden on startup.
10 years ago
Gabriele
afb03725ad
Add placeholder text to the input to filter the torrent list
...
Users can mistakenly think the input box is to search for torrents
and not to filter the torrent list. A placeholder text will make things
clear.
10 years ago
Gabriele
1a63f6af1b
Show input box to filter torrent list only when the list is shown
...
It's misleading to show the filter on every tab when it works only
for the torrent list.
10 years ago
sledgehammer999
ce4ef37820
Remove superfluous semicolon(;).
10 years ago
sledgehammer999
c2f2d0a363
Don't show multiple unlock UI dialogs. Closes #2040 .
10 years ago
Ivan Sorokin
a278261806
Optimize misc::naturalSort()
...
Previous implementation used QRegExp to find a first digit. That is
utterly ineffective.
When torrent list is sorted by name (a column that uses the naturalSort() for
comparison), naturalSort could take 18.6% of the time of the UI thread. Optimize it
so now it takes 1% of the time of the UI thread.
10 years ago
sledgehammer999
9b71e4ffc9
Use the correct character encoding for exceptions coming from libtorrent.
10 years ago
Gabriele
05929b78c6
Allow relative torrent paths when qBittorrent is already running
...
Adding new torrents from the command line while qBittorrent was
already running was possible only providing the absolute path to
the file.
10 years ago
Ivan Sorokin
de5f38a160
Speedup compilation speed
...
libtorrent has a relatively heavy headers, that take lots of time to
process. This commit removes unnecessary includes of libtorrent headers
and replaces them with forward declarations.
I had to move some functions in QBtSession from slots to regular
functions because moc'ed file want to see complete types of all
parameters of slots.
"time make" of full rebuild before this series of commits:
real 13m35.937s
user 12m1.295s
sys 1m25.908s
after:
real 10m54.390s
user 9m31.167s
sys 1m12.580s
10 years ago
Ivan Sorokin
f6732e87f2
Remove inclusion of "qtracker.h" in "qbtsession.h"
10 years ago
Ivan Sorokin
b2e3739da2
Replace include of <libtorrent/session.hpp> with forward declaration
10 years ago
Ivan Sorokin
c9b27e032b
Remove inclusion of alertdispatch.h from qbtsession.h
10 years ago
Ivan Sorokin
83dd35dbc9
Make alertdispatcher.h self contained and replace include libtorrent/session with forward declaration
10 years ago
Ivan Sorokin
5ea1a4c3cc
Remove inclusion of <QThread> from misc.h
10 years ago