| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Don't std::bad_alloc if we have an invalid string.
|
|
|
|
|
| |
Corner case: Don't crash if Lists or Dictionaries end at EOF. Check if
mPos is still in range.
|
|
|
|
|
| |
Search for a regular expression in all files of all torrents and select
them.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
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.
|