Commit Graph

34 Commits

Author SHA1 Message Date
Karsten Loesing
d818f4381e Fix bug in parsing CIRC events.
Asynchronous CIRC events don't contain a path when circuits have only been
launched. Don't try to parse the path for these events. Instead, pass an
empty string.
2009-05-25 16:40:25 +02:00
Sebastian Hahn
40ca5345d4 Fix bug that prevented postDescriptor from working
Karsten noticed that postDescriptor doesn't work as intended. This
was caused by flushing too early inside sendAndWaitForResponse.
We need to wait until the escaped output has been written, too.
2009-03-26 15:07:43 +01:00
Sebastian Hahn
f3fb817442 Change the gitignore file to also include Eclipse specific directories.
.classpath and .project aren't tracked.
2009-02-11 14:45:19 +01:00
Sebastian Hahn
d7d91c98a2 Add the LICENSE file back for jtorctl, and remove $ID$ entries from files.
Cleaning up after the git conversion. The LICENSE file got lost, and $ID$ in a file doesn't make sense anymore.
2009-02-05 18:04:50 +01:00
Nick Mathewson
64d105f039 Add a .gitignore file for jtorctl 2009-01-29 19:23:08 -05:00
Sebastian Hahn
f0df92c6ed heh. Don't forget to import an exception, or the compiler might remind you. 2008-08-18 14:58:32 +00:00
Sebastian Hahn
a9096161a0 Throw a CancellationException when getResponse is interrupted. 2008-08-18 14:53:46 +00:00
Sebastian Hahn
37204ec7be updated changelog, removed some unnecessary casts 2008-07-13 08:49:46 +00:00
Sebastian Hahn
2416ddf1ca Make Karsten, the compiler and myself happy again. 2008-07-11 21:39:45 +00:00
Sebastian Hahn
34cfa2c8e8 Add Generics to java part of torctl. Waiter.response is no longer an Object 2008-07-11 21:05:56 +00:00
Nick Mathewson
da57f8432e r14101@catbus: nickm | 2007-08-08 16:43:33 -0400
From Karsten: drop TorControlConnection0.java, and merge TorControlConnection1 into TorControlConnection.
2007-08-08 20:44:14 +00:00
Roger Dingledine
5e6fdc99c2 add some readme files to indicate that we broke the java torctl
library, and the old obsolete python torctl library, with our
recent patches.
2007-08-02 04:55:43 +00:00
Nick Mathewson
5257d6e0fa Make java controller code handle config optiions that are set to their defaults. Fixes bug 408. 2007-05-18 20:53:49 +00:00
Nick Mathewson
b60e364a34 r12551@catbus: nickm | 2007-04-29 22:35:30 -0400
Avoid another exception when shutting down from torctl.
2007-04-30 02:35:32 +00:00
Nick Mathewson
14a87835c2 r12549@catbus: nickm | 2007-04-29 22:31:04 -0400
Patch to torctl from Karsten Loesing to handle shutdown a little better; also fix some warnings from javac.
2007-04-30 02:31:08 +00:00
Nick Mathewson
cafb2a898f torctl: Apply patch from Karsten Loesing to fix several bugs when sending a signal that closes tor, or when tor shuts down on its own. 2006-12-25 04:37:53 +00:00
Nick Mathewson
e91f9340bb Patch from Karsten Loesing: fix imports in Bytes.java 2006-09-19 14:57:31 +00:00
Nick Mathewson
ed52f61dac patch from Maxim Katcharov: handle trailing spaces correctly in splitStr. 2006-09-10 22:30:00 +00:00
Nick Mathewson
bd540b24fd Patch from Karsten Loesing: add missing space to SIGNAL command in java controller library. 2006-08-17 22:49:29 +00:00
Nick Mathewson
ce285d2f9d Remove duplicate ConfigEntry class. (Patch from Karsten Loesing.) 2006-08-11 20:13:18 +00:00
Nick Mathewson
9adef40d47 Implement resetConf in controller libraries 2005-09-27 17:36:38 +00:00
Nick Mathewson
79d9cef55a Fix a couple of bugs found by Oliver Rau in Java libs. 2005-09-18 22:33:12 +00:00
Nick Mathewson
c8dda8815c remove unused import 2005-07-24 15:56:56 +00:00
Nick Mathewson
dbaec37574 Merge doc patches and a bugfix from Mark Melahn 2005-07-23 01:17:27 +00:00
Nick Mathewson
63bc50d10f make v0 connections handle lists of event names. 2005-07-20 22:55:41 +00:00
Nick Mathewson
2d7aff428f fix debugging and listenforevents API a little 2005-07-20 22:48:35 +00:00
Nick Mathewson
23e3c558f9 Add a new (untested) set of debugging functions 2005-07-20 22:30:58 +00:00
Nick Mathewson
0a9941d468 fix most torctl issues; move rest into TODO 2005-07-14 20:26:11 +00:00
Nick Mathewson
04ac075573 Tweak jaa control lib interface: make launchThread unneeded, add stub implementation for EventHandler. 2005-07-11 19:14:18 +00:00
Nick Mathewson
6a0471ac15 Finish making new (v1) controller logic and multiplexing logic work in Python and Java controllers. Try out example code a bit. 2005-06-24 18:03:27 +00:00
Nick Mathewson
9fa2da1827 Fix some-but-not-all compile errors in demo code 2005-06-23 21:36:06 +00:00
Nick Mathewson
7644712a4a Implement (modulo bugs) v1 control protocol in java 2005-06-23 21:22:04 +00:00
Nick Mathewson
ca521471eb Refactor java tor control library to split out v0 protocol 2005-06-21 21:49:30 +00:00
Nick Mathewson
6b48f7c8cb Oops. I guess I would probably get more comments about this clever controller API/demo stuff if I actually committed it to CVS. Here then. 2005-06-04 02:42:56 +00:00