Brian Kendall
62b956946f
Fixed mac specific compiler errors and cleaned up Objective C code
...
Created new file src/gui/macutilities.mm, moved code from mainwindow.cpp and torrentcontentmodel.cpp that used the Objective C runtime into it and converted it to actual Objective C. Rewrote pixmapForExtension() so that it doesn't call into private Qt functions.
7 years ago
vit9696
6c3ab99e3c
Fix file type icons not displaying on macOS
7 years ago
Eugene Shalygin
57493c5556
Add QFileIconProvider implementation using mime database
...
If built-in QFileIconProvider does not seem to work, use custom
implementation which queries mime database.
8 years ago
Eugene Shalygin
30bf6e958f
Use system file type specific icons in contents tab
...
The icon is determined via QFileIconProvider using filename extension only.
8 years ago
Eugene Shalygin
74cecb1b6c
Replace C-style casts with C++ ones
8 years ago
Eugene Shalygin
5c10a24923
Add availability column to torrent properties window
8 years ago
Eugene Shalygin
d5af8722a6
Add availability column to torrent content model
8 years ago
Chocobo1
4ad541d066
Fix coverity issues
...
torrentcontentmodel: Use a variable to store filesCount
optionsdlg: add fallthrough comment to suppress warning
speedPlotview: initialize member
misc: fix wrong type used, add spaces
8 years ago
sledgehammer999
88b2b26007
Don't use hardcoded numbers to refer to columns.
8 years ago
sledgehammer999
3e375128c0
Use a disabled progressbar's palette for unselected files.
...
Thanks to evsh(Eugene Shalygin) for example code.
8 years ago
Chocobo1
7d5ab68f50
Fix Coverity Scan cid 143911.
...
`filesCount()` could return a negative value.
9 years ago
Ben Lau
cd9cae4121
add a remaining column to the torrent content model
9 years ago
Vladimir Golovnev (Glassez)
a35cbdc4a9
Fix unchecked dynamic_cast
...
Replace some unnecessary (and slow) dynamic_cast with static_cast.
9 years ago
Chocobo1
6ff1722dbf
Replace names with camelCase style
9 years ago
Chocobo1
829012ae3c
Use C++11 initializer list
9 years ago
Chocobo1
e330a91921
Follow project coding style. Issue #2192 .
9 years ago
Chocobo1
9b031d2fae
Rename column header
9 years ago
Vladimir Golovnev (Glassez)
9db93e5d8f
Rename Core to Base ( Closes #3733 ).
9 years ago
Vladimir Golovnev (Glassez)
191cdc2849
Move utilities to core/utils folder.
...
Also move the names to Utils namespace.
10 years ago
Vladimir Golovnev (Glassez)
d16d1fdb3a
Redesign main core classes.
10 years ago
Vladimir Golovnev (Glassez)
d32bb52390
Don't add core to INCLUDEPATH.
10 years ago
Vladimir Golovnev (Glassez)
ff9a281b72
Change project directory structure.
...
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.
10 years ago
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.
10 years ago
Nick Tiskov
4390530cbe
Update Main UI
11 years ago
sledgehammer999
b4dca951b2
Drop libtorrent 0.15.x support.
11 years ago
sledgehammer999
22e2bafa7a
Fix compilation with libtorrent 1.x.x v2
12 years ago
sledgehammer999
94b58ca229
Fix compilation with libtorrent 1.x.x.
12 years ago
Veeti Paananen
e482900754
Fix case for header inclusions
...
Fixes building on case-sensitive filesystems.
12 years ago
Christophe Dumez
ca2a659970
Made progress calculation more efficient in torrent content model
...
Stop to address issue #24 .
12 years ago
Christophe Dumez
f73f267997
TorrentContentModel clean up
12 years ago
Christophe Dumez
3f755de80b
TorrentContentModel code cleanup
12 years ago
Christophe Dumez
c43c362903
TorrentContentModel code clean up
12 years ago
Christophe Dumez
38daa23be2
TorrentContentModel code clean up
12 years ago
Christophe Dumez
45ba858022
TorrentContentModel code clean up
12 years ago
Christophe Dumez
8ad821c468
Simplify TorrentContentModel code
12 years ago
Christophe Dumez
5fe5c4d147
Simplify TorrentContentModel code
12 years ago
Christophe Dumez
0fdacf4d54
Use polymorphism to distinguish folder / file items in torrent content model
...
Step to address issue #24 .
12 years ago
Christophe Dumez
30be83d445
Optimizations to TorrentContentModel
...
First step to address issue #24 .
12 years ago
Christophe Dumez
c6ab0b148b
Fix model update when setting the priority of a folder in torrent content
13 years ago
Christophe Dumez
95e2b7ee1a
Fix compilation warning
13 years ago
Christophe Dumez
a940917144
Add more vector length checks
13 years ago
Christophe Dumez
3389820c73
Fix possible crash in TorrentContentModel
13 years ago
Christophe Dumez
5cf7e47ffa
TorrentContentModel: Fix crash on exit
13 years ago
Christophe Dumez
6778b7460a
Clean up PeerListWidget
13 years ago
Christophe Dumez
691b976e11
Clean up TorrentContentModel
13 years ago
Christophe Dumez
a5452d04ae
Clean up and refactor torrent content model code
13 years ago