On 03/02/2013 02:25 PM, LRN wrote: > On 02.03.2013 16:49, LRN wrote: > >> A compromise solution would be to enable hashmap check, but make >> it more sophisticated - take more than just "id" into account. >> Also, when a previously-traversed item is encountered, don't just >> return immediately - add the item, and set it up so that choosing >> it will make the selection jump to its other copy somewhere else >> (which is the only copy that is selectable; through i'm not sure i >> can make GtkComboBox do that...), also marking it as such, and then >> return. So it will be a tree, but with loopends that user can >> traverse. > > Here's how it looks (hashes last_id, next_id, uri and last_meta). > Didn't even try to do that selection-jumping thing though. But it > looks OK without it too, so maybe that's enough.
I agree that it looks OK, I'm just not sure about the utility of allowing loops. But I guess it is as much work to detect and flag them, as it would be to detect and disallow them, so maybe this is already just fine. Happy hacking! -Christian _______________________________________________ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers