<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/atagar/pytorctl, branch bug3679</title>
<subtitle>Damian's PythonTorCtl repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/'/>
<entry>
<title>Dropping the BUILD_FLAGS argument for CIRC events</title>
<updated>2011-08-03T01:56:56+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-03T01:56:56+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=fa703e7a839866155e41af58072676052eb07234'/>
<id>fa703e7a839866155e41af58072676052eb07234</id>
<content type='text'>
The BUILD_FLAGS, which is for ticket 2411, isn't in tor yet so it shouldn't
yet be in torctl either. This looks like it will be a comma separated list,
but until it's added to the spec we shouldn't depend on that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The BUILD_FLAGS, which is for ticket 2411, isn't in tor yet so it shouldn't
yet be in torctl either. This looks like it will be a comma separated list,
but until it's added to the spec we shouldn't depend on that.
</pre>
</div>
</content>
</entry>
<entry>
<title>Condensing common event constructor code</title>
<updated>2011-08-03T01:46:17+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-03T01:46:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=40c18c4dccaa59b5b47f6ba5faf99b62751f256c'/>
<id>40c18c4dccaa59b5b47f6ba5faf99b62751f256c</id>
<content type='text'>
Avoids repetitive constructors among new style events and parsing the
positional/kw arguments if they won't be used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoids repetitive constructors among new style events and parsing the
positional/kw arguments if they won't be used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring GUARD event parsing</title>
<updated>2011-08-03T01:38:58+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-03T01:38:58+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=95fb5d169968d9e2f2e034de85d3b2dd23554d0a'/>
<id>95fb5d169968d9e2f2e034de85d3b2dd23554d0a</id>
<content type='text'>
Using the new style for GUARD events, also fixing a minor bug where the
nickname attribute might be left unset after init. Tested this by deleting the
state directory and restarting tor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the new style for GUARD events, also fixing a minor bug where the
nickname attribute might be left unset after init. Tested this by deleting the
state directory and restarting tor.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring BUILDTIMEOUT_SET event parsing</title>
<updated>2011-08-03T01:25:57+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-03T01:25:57+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=8224e519472c08cd466e9539a27baa639b513c9e'/>
<id>8224e519472c08cd466e9539a27baa639b513c9e</id>
<content type='text'>
Using the new style for BUILDTIMEOUT_SET events, also adding support for its
TIMEOUT_RATE, CLOSE_MS, and CLOSE_RATE parameters.

*This is not tested* - I didn't figure out a method for triggering
BUILDTIMEOUT_SET events (tried client usage and removing the state
directory/reinitializing but no luck)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the new style for BUILDTIMEOUT_SET events, also adding support for its
TIMEOUT_RATE, CLOSE_MS, and CLOSE_RATE parameters.

*This is not tested* - I didn't figure out a method for triggering
BUILDTIMEOUT_SET events (tried client usage and removing the state
directory/reinitializing but no luck)
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring ADDRMAP event parsing</title>
<updated>2011-08-02T16:41:50+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-02T16:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=1ab22638af3c5ac303c8024a0299dfb8a09a8a66'/>
<id>1ab22638af3c5ac303c8024a0299dfb8a09a8a66</id>
<content type='text'>
Using the new style for ADDRMAP events. These events have both quoted and
non-quoted values breaking positional and keyword parsing, so keeping the regex
parsing.

This expands the event to include the ERROR and GMTExpiry attributes. This was
tested by visiting sites with TBB and printing out the ADDRMAP results.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the new style for ADDRMAP events. These events have both quoted and
non-quoted values breaking positional and keyword parsing, so keeping the regex
parsing.

This expands the event to include the ERROR and GMTExpiry attributes. This was
tested by visiting sites with TBB and printing out the ADDRMAP results.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring NEWDESC event parsing</title>
<updated>2011-08-02T15:24:52+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-02T15:24:52+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=c1b4b19a10315849035d26eda8b028b9813ac252'/>
<id>c1b4b19a10315849035d26eda8b028b9813ac252</id>
<content type='text'>
Using the new style for NEWDESC events. This isn't using the positional or kw
pattern so effectively this is just moving the body parsing into the event.
Tested by attaching to a new tor instance to get NEWDESC events.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the new style for NEWDESC events. This isn't using the positional or kw
pattern so effectively this is just moving the body parsing into the event.
Tested by attaching to a new tor instance to get NEWDESC events.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring msg event parsing</title>
<updated>2011-08-02T15:08:49+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-02T15:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=0b9fbef17e31b52973c4f5696aa8bdf0528d10c0'/>
<id>0b9fbef17e31b52973c4f5696aa8bdf0528d10c0</id>
<content type='text'>
This one isn't actually using the new style since the events aren't of the
positional or keyword pattern. I'm just adding the empty positional and kw
args so this doesn't need to become a special case later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This one isn't actually using the new style since the events aren't of the
positional or keyword pattern. I'm just adding the empty positional and kw
args so this doesn't need to become a special case later.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring BW event parsing</title>
<updated>2011-08-02T15:03:15+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-02T15:03:15+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=beceea60a71219d6833e6198d0c028f71e6817e0'/>
<id>beceea60a71219d6833e6198d0c028f71e6817e0</id>
<content type='text'>
Using the new style for BW events. Tested by attaching to a TBB instance and
exercising the event.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the new style for BW events. Tested by attaching to a TBB instance and
exercising the event.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring STREAM_BW event parsing</title>
<updated>2011-08-02T14:57:33+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-02T14:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=bd663e866e5bedce9f2d23807fc9ccaa808008d8'/>
<id>bd663e866e5bedce9f2d23807fc9ccaa808008d8</id>
<content type='text'>
Using the new style for STREAM_BW events. Tested by attaching to a TBB instance
and exercising the event.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the new style for STREAM_BW events. Tested by attaching to a TBB instance
and exercising the event.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: misparsing port-only stream events</title>
<updated>2011-08-02T14:45:58+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2011-08-02T14:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/atagar/pytorctl.git/commit/?id=a608fedaee484f2cbfac257d8ccf190c3088db95'/>
<id>a608fedaee484f2cbfac257d8ccf190c3088db95</id>
<content type='text'>
If a colon was missing from the target field then the stream event would leave
its port unset. I'm not sure how to exercise this so this change is untested.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a colon was missing from the target field then the stream event would leave
its port unset. I'm not sure how to exercise this so this change is untested.
</pre>
</div>
</content>
</entry>
</feed>
