[tor-commits] [nyx/master] Rewrite connection panel
atagar at torproject.org
atagar at torproject.org
Tue Sep 22 17:08:43 UTC 2015
commit 97f1f949e3824f955e3d5b4103ca3f2a9a006632
Merge: 35206a3 b31eda0
Author: Damian Johnson <atagar at torproject.org>
Date: Tue Sep 22 10:10:28 2015 -0700
Rewrite connection panel
Damn this was a big overhaul! Connection panel was ~1,700 lines of headache
inducing code. Now it's just 700 and damn simple. There's still more work I
want to do in this space, but general panel overhaul is done so time to merge.
nyx/__init__.py | 1 +
nyx/config/attributes.cfg | 18 +
nyx/config_panel.py | 119 ++-
nyx/connection_panel.py | 700 +++++++++++++++++
nyx/connections/__init__.py | 11 -
nyx/connections/circ_entry.py | 255 -------
nyx/connections/conn_entry.py | 1260 -------------------------------
nyx/connections/conn_panel.py | 699 -----------------
nyx/connections/descriptor_popup.py | 174 -----
nyx/connections/entries.py | 179 -----
nyx/controller.py | 5 +-
nyx/log_panel.py | 10 +-
nyx/menu/actions.py | 13 -
nyx/popups.py | 167 +++-
nyx/resources/nyx.1 | 2 +-
nyx/torrc_panel.py | 272 ++++---
nyx/util/panel.py | 3 +
nyx/util/tor_config.py | 411 +++++-----
nyx/util/tracker.py | 259 ++++++-
nyxrc.sample | 29 -
run_tests.py | 2 -
setup.py | 2 +-
test/util/tracker/connection_tracker.py | 48 +-
test/util/tracker/port_usage_tracker.py | 16 +-
24 files changed, 1557 insertions(+), 3098 deletions(-)
More information about the tor-commits
mailing list