Toggle listctrl lines from the view menu caused a crash under GTK, the
wxw listcrtl sample seemed to have similar problems so the option is
disabled under linux for now.
Implemented a PtrMultimapH class which is similar to PtrMapH but allows
colliding hash keys.
The global srch results are now contained in a PtrMultiMapH object instead
of a linked list. The filehash is used as the map key.
Fixed bug where a paused download would not really be destroyed if cancelled
and would reappear on restart.
Search results for primary (user) srches are now stored in a PtrMultimapH
object. These use the first descriptor hash as a key - may change to the
Each local URL now has an entry in the global srch results list, this means
we don't need to access the local URLs whenever we receive a srch request
and the local urls can be looked up in the same map as the srch results.
However it does mean that list list needs to be kept updated as to the
protected and searchable status of the locals.
Srch records are now stored in PtrMap classes.
Srch result owner ids are now held in an std::set<int> instead of a
Fixed another bug that could prevent download blocks being preserved when
the first hashmap tuple was missing.
Fixed occasional crasher in mapping of concatenated inserts.
CRITICAL: fixed crasher that affected only release builds with verbose
mode on. Many thanks go to the user who put several hours effort into
helping us find this shallow, yet hard to spot, bug.
Downloads where corruption is detected in the descriptor hash will
now be suspended with a warning in the status column. We'll handle this
more intelligently later.
New src files added:
ptr_map.h (actually a version or two ago)