summaryrefslogtreecommitdiffstats
path: root/torrentdisplay.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make actions localArno2016-09-051-0/+7
| | | | | Define actions in their respective Widgets instead of MainWindow and fix the menus and toolbars accordingly.
* Added copyToClipboard where applicableArno2016-08-281-2/+16
|
* Present torrent files as a treeArno2016-08-201-19/+47
| | | | | | | | | | | | A torrent info dictionary has two modes: single and multi files. When in multi-mode, the name-entry is the directory containing the files. Represent it as a tree. During testing I discovered a fatal bug in the torrent parser: If we encounter an invalid string, we have to move mPos forward, else we will loop indefinitely until we're OOM. I also added some icons for folders, files and trackers.
* Added torrent supportArno2016-08-191-0/+149
The BEncode parser is loosely based on this: https://github.com/jif/Bencode/blob/master/bencode.cpp Not perfect, but enough to display all the essential data in the shiny new TorrentDisplay dialog.