Commit graph

24 commits

Author SHA1 Message Date
Ivan Sorokin
9023232653 Cache icons in TorrentContentModel
This commit caches icons in TorrentContentModel in the same way they are
cached in TorrentModel.

This commit should improve performance when user navigating through
torrent list using up/down keys. A scrolling through all the list
(276 torrents) took:

    Total wall time:                            18.813s
    Total CPU time:                              3.210s
    IconProvider::generateDifferentSizes():      0.170s

IconProvider::generateDifferentSizes is 5th most hottest function on
this use case.
2014-11-09 12:57:14 +03:00
Nick Tiskov
4390530cbe Update Main UI 2014-01-22 19:37:31 +04:00
sledgehammer999
b4dca951b2 Drop libtorrent 0.15.x support. 2013-10-23 22:19:58 +03:00
sledgehammer999
22e2bafa7a Fix compilation with libtorrent 1.x.x v2 2013-06-08 18:21:15 +03:00
sledgehammer999
94b58ca229 Fix compilation with libtorrent 1.x.x. 2013-05-07 22:57:18 +03:00
Veeti Paananen
e482900754 Fix case for header inclusions
Fixes building on case-sensitive filesystems.
2012-09-03 00:11:46 +03:00
Christophe Dumez
ca2a659970 Made progress calculation more efficient in torrent content model
Stop to address issue #24.
2012-08-27 22:01:35 +03:00
Christophe Dumez
f73f267997 TorrentContentModel clean up 2012-08-27 21:11:54 +03:00
Christophe Dumez
3f755de80b TorrentContentModel code cleanup 2012-08-26 21:33:52 +03:00
Christophe Dumez
c43c362903 TorrentContentModel code clean up 2012-08-26 20:52:53 +03:00
Christophe Dumez
38daa23be2 TorrentContentModel code clean up 2012-08-26 20:15:55 +03:00
Christophe Dumez
45ba858022 TorrentContentModel code clean up 2012-08-26 20:08:26 +03:00
Christophe Dumez
8ad821c468 Simplify TorrentContentModel code 2012-08-26 19:55:09 +03:00
Christophe Dumez
5fe5c4d147 Simplify TorrentContentModel code 2012-08-26 19:49:29 +03:00
Christophe Dumez
0fdacf4d54 Use polymorphism to distinguish folder / file items in torrent content model
Step to address issue #24.
2012-08-26 18:10:32 +03:00
Christophe Dumez
30be83d445 Optimizations to TorrentContentModel
First step to address issue #24.
2012-08-26 15:00:37 +03:00
Christophe Dumez
c6ab0b148b Fix model update when setting the priority of a folder in torrent content 2012-07-02 22:51:03 +03:00
Christophe Dumez
95e2b7ee1a Fix compilation warning 2012-04-15 21:54:41 +03:00
Christophe Dumez
a940917144 Add more vector length checks 2012-04-08 11:17:32 +03:00
Christophe Dumez
3389820c73 Fix possible crash in TorrentContentModel 2012-03-07 08:21:01 -08:00
Christophe Dumez
5cf7e47ffa TorrentContentModel: Fix crash on exit 2012-03-01 21:11:37 +02:00
Christophe Dumez
6778b7460a Clean up PeerListWidget 2012-02-25 21:02:19 +02:00
Christophe Dumez
691b976e11 Clean up TorrentContentModel 2012-02-25 20:05:11 +02:00
Christophe Dumez
a5452d04ae Clean up and refactor torrent content model code 2012-02-21 21:54:24 +02:00