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
sledgehammer999
d44df4f985
Don't localize double numbers in the webui. Closes #1525 .
10 years ago
sledgehammer999
a361c0ea03
Use the torrent_status for the queue_position too.
11 years ago
Vladimir Golovnev (Glassez)
9f310318c2
Use new JSON parser/generator.
...
Qt4: Use QJson (http://qjson.sourceforge.net ).
Qt5: Use native Qt JSON API.
11 years ago
Ivan Sorokin
329b754197
cache torrent_status
11 years ago
Ivan Sorokin
bbc4080a5d
fewer calls to hash()
11 years ago
Nick Tiskov
cb7f35d994
Update WebUI classes
...
Guaranteed to show paths with native separators to user
11 years ago
sledgehammer999
441d1d08ba
Convert more accurately decimal numbers to text.
11 years ago
sledgehammer999
0f298397b3
Simplify various if-else and QString::number.
11 years ago
sledgehammer999
d09b0d5f72
Fixed rounding bugs with floating numbers.
11 years ago
Christophe Dumez
4d601f5383
Fix build with Qt < 4.7
12 years ago
Tilka
ca26cc0000
Fix torrent transfer stats, 2nd try
...
The constants themselves were also mixed up.
13 years ago
Tilka
00f40e6771
Fix torrent transfer stats
13 years ago
Christophe Dumez
75a65a5f49
Make sure !.qB extensions are not shown in the Web UI
13 years ago
Christophe Dumez
a0d21ead18
Further rewriting of the JSON-related code
13 years ago
Christophe Dumez
122655758d
Fix caching issues in last commit
13 years ago
Christophe Dumez
9a964d871d
Rewrite code for returning information about torrents as JSON (Web UI)
...
- The new code is simpler, cleaner and more efficient
13 years ago