[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [nyx/master] Reintroduce interpreter panel



commit 0dea0d9336f91af7911fa316e327aded85c2e55f
Merge: d9a84b0 2e3d989
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sun Jul 31 16:22:10 2016 -0700

    Reintroduce interpreter panel
    
    Part of Sambuddha's GSoC project, this is reintroducing the interpreter panel
    from the arm 1.4.5 release. Stem provides its own interpreter via the
    tor-prompt command, so this simply piggybacks on that.
    
    One minor gotcha is the event handling. If you run 'SETEVENTS' you'll break
    the bandwidth graph (among other things). Also, running /events will dump
    events nyx itself listens to.
    
    Unfortunately there's no easy way around this. If we allow direct control port
    access users will have a few ways of shooting us in the foot. This panel isn't
    overly well used so I doubt this will be much of an issue in practice, and if
    it becomes one we'll simply disable SETEVENTS.

 nyx/controller.py         |   5 ++
 nyx/curses.py             | 219 ++++++++++++++++++++++++++++++++++++++++------
 nyx/panel/__init__.py     |   1 +
 nyx/panel/interpreter.py  | 139 +++++++++++++++++++++++++++++
 test/panel/__init__.py    |   1 +
 test/panel/interpreter.py | 115 ++++++++++++++++++++++++
 test/subwindow.py         | 122 ++++++++++++++++++++++++++
 7 files changed, 576 insertions(+), 26 deletions(-)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits