Commit Graph

47 Commits

Author SHA1 Message Date
ThomasV 117b809bab fix issue #1238 2015-05-24 16:14:56 +02:00
ThomasV 5bd22d2378 follow-up to bd781d600b8ce2bc9dcebebbdb0fb60ad2fb892e: use pipe 2015-05-21 12:50:26 +02:00
Neil Booth bd781d600b Have queues passed to the network constructor.
This is somewhat cleaner as the proxy's pipe and network setup
was awkwardly interleaved.  It also means network's constructor
is free to use both; currently some code is working around the
fact that the response queue doesn't exist in the constructor.
2015-05-21 12:49:39 +09:00
ThomasV a0e9046c2c prepare for 2.2 release 2015-05-17 09:17:52 +02:00
ThomasV e33bc2473b network: don't store unanswered request if result is in cache 2015-05-17 09:00:36 +02:00
ThomasV 50bc50d78d daemon: filter notificaions sent to client 2015-04-20 09:16:43 +02:00
ThomasV 5f29017c9d pass config.path to daemon (exemptore). fixes #901 2015-04-02 12:12:18 +02:00
ThomasV 0200778ac1 require user to start daemon explicitly 2015-03-23 11:50:13 +01:00
ThomasV b93aa9bc43 do not display daemon socket path 2015-03-14 19:08:22 +01:00
ThomasV 72688a5cfa clean implementation of daemon threads 2015-03-13 23:04:29 +01:00
ThomasV 4780d8f811 do not try to connect to daemon on windows (af_unix) 2015-03-09 09:35:10 +01:00
ThomasV 59c76f5e09 use file socket for daemon 2015-03-05 07:16:48 +01:00
Tafelpoot 6557c4b9df daemon fix on windows more compact 2014-11-28 17:08:40 +01:00
Tafelpoot 75a0da8913 fix daemon for windows 2014-11-20 11:52:57 +01:00
ThomasV 2843d7a148 force python2 with daemon 2014-11-12 12:24:33 +01:00
ThomasV 35a12b22cf fix daemon timeout 2014-08-18 15:35:29 +02:00
ThomasV a63eaa3c4e daemon: multiplexing 2014-08-18 15:13:16 +02:00
ThomasV 13a01b11d2 daemon messages 2014-08-18 13:40:08 +02:00
Michael Wozniak ef264e0bf7 Fix issue with daemon socket on OS X
Fix issue where daemon socket returns invalid argument errors on OS X
2014-07-30 16:39:31 -04:00
ThomasV 76d03a2817 daemon sleep before terminating 2014-07-30 08:37:14 +02:00
ThomasV 914c115617 move daemon_timeout out of server class 2014-07-29 10:52:28 +02:00
ThomasV f7280e4637 cleanup daemon threads 2014-07-29 10:43:04 +02:00
ThomasV 087490a197 spawn daemon using daemon.py 2014-07-28 23:42:14 +02:00
ThomasV 035ecbc7cd redo inter-thread communication using pipes 2014-07-27 17:13:46 +02:00
ThomasV 9efc25bdba interface: use parse_json 2014-07-26 16:24:22 +02:00
ThomasV 5e47d1a635 default daemon timeout after 5 minutes 2014-07-25 17:32:31 +02:00
ThomasV af3fd62fd4 send server height and server lag with daemon 2014-07-25 16:32:19 +02:00
ThomasV 96070246b7 proper start and stop commands for daemon 2014-07-25 15:42:28 +02:00
ThomasV 374efd970e fix daemon timeout 2014-07-25 15:16:52 +02:00
ThomasV 2120b1a573 command line: wait until daemon is connected 2014-07-25 13:30:27 +02:00
ThomasV 8196bc5779 adapt network dialog to daemon 2014-07-25 09:11:56 +02:00
ThomasV 09e4efc439 daemon notifications (network.status) 2014-07-24 23:17:06 +02:00
ThomasV 9ee0614edb make daemon usable with the GUI 2014-07-24 16:12:18 +02:00
Chris Glass 8997c760a2 Do not use mutables as default values!
This blog article explains why (just an example, many other articles
discuss this ad nauseam):
http://pythonconquerstheuniverse.wordpress.com/2012/02/15/mutable-default-arguments/
2014-06-25 17:43:45 +02:00
ThomasV 5ed0f2224d Fix daemon port 2014-06-10 20:44:52 +02:00
ThomasV 4ec31b9fe9 prevent collision on daemon port. Add Imported_Wallet (bolkin) 2014-06-10 20:40:42 +02:00
ThomasV 80a988e337 slightly better notifications. at least, it fixes #652 2014-04-17 17:38:21 +02:00
ThomasV 696766c370 json-friendly debug messages. fix #659 2014-04-17 17:20:07 +02:00
ThomasV f4b1621910 rename do_send as send. fixes #645 2014-04-05 18:35:15 +02:00
flatfly 2a28fa07e3 Update daemon.py 2014-03-16 15:04:40 +01:00
ThomasV 7dd296273f move daemon spawning code into NetworkProxy class 2014-03-16 12:00:08 +01:00
ThomasV 0bb16f0836 add daemon port to config 2014-03-16 06:28:16 +01:00
ThomasV 489413d358 move start_daemon code to main script 2014-03-11 08:33:58 +01:00
ThomasV 0a1f6b5c43 fix return, debug flags 2014-03-11 07:12:57 +01:00
ThomasV 919ec8e837 fix: missing import 2014-03-11 07:04:25 +01:00
ThomasV 8f025db800 add missing Network methods to NetworkProxy 2014-03-10 20:58:18 +01:00
ThomasV 6e30894af6 daemon; initial commit 2014-03-10 16:16:27 +01:00