Commit Graph

  • 5da8dc0cdc Allow running without py.test. David Wilson 2017-09-21 16:45:36 +0530
  • 959af50c1f Make log_to_file accept string level rather than logging package constant David Wilson 2017-09-21 16:35:35 +0530
  • 3eda5ec671 core: remove pointless eval() of ARGV0 environment variable. David Wilson 2017-09-21 16:14:32 +0530
  • 729356b5f0 master: make write_all() handle O_NONBLOCK and deadlines. David Wilson 2017-09-21 15:57:32 +0530
  • be2264f4c1 master: send_await() always unpickles now. David Wilson 2017-09-21 15:57:02 +0530
  • a6c97aad84 fakessh: improve logging slightly. David Wilson 2017-09-21 15:56:29 +0530
  • 68f3918072 core: set O_NONBLOCK on every side. Closes #33 David Wilson 2017-09-21 15:29:21 +0530
  • 16950a1620 core: Make iter_read() handle deadline (and non-blocking IO) properly David Wilson 2017-09-21 15:26:56 +0530
  • 25adb7416a Reorder table of contents. David Wilson 2017-09-21 14:38:11 +0530
  • 1de875b4aa Add serialization rules section. David Wilson 2017-09-21 14:36:20 +0530
  • aa5bc53f6d Update test. David Wilson 2017-09-21 13:41:47 +0530
  • 91d766ec81 core: Generalize/duplicate the call/send_await code using Receiver. David Wilson 2017-09-21 13:41:12 +0530
  • 4ff1d4e523 master: use decorators rather than call_with_deadline(with_context=..) David Wilson 2017-09-21 13:39:20 +0530
  • d6d83b3fac fakessh: cleanup master test. David Wilson 2017-09-21 13:06:59 +0530
  • 5d0dcd051c fakessh: use decorators rather than call_with_deadline(with_context=..) David Wilson 2017-09-21 03:26:14 +0530
  • 456a40ce9c core: synchronize Stream._output_buf by deferring send() David Wilson 2017-09-21 03:21:16 +0530
  • 05055ebfc0 core: make Side.write() return None rather than crash if side already closed. David Wilson 2017-09-21 03:20:32 +0530
  • 9ce71a546a core: better Message.__repr__. David Wilson 2017-09-21 02:37:27 +0530
  • b7f5bd82bc Replace `with_context` parameter with mitogen.core.takes_econtext decorator David Wilson 2017-09-21 01:35:26 +0530
  • 22df965a46 fakessh: fix non-master context ID allocation. David Wilson 2017-09-20 20:00:29 +0530
  • 68515bc9e1 fakessh: Fix NameError. David Wilson 2017-09-20 18:15:11 +0530
  • 3bb02161dc fakessh: return child exit status David Wilson 2017-09-20 18:14:01 +0530
  • 9c306001f0 fakessh: Use local process's sys.executable. David Wilson 2017-09-20 18:09:51 +0530
  • 023c100494 fakessh: IoPump() doesn't need Process reference. David Wilson 2017-09-20 15:10:06 +0530
  • 29e4487d6a Make subsystem requests die with a useful error. David Wilson 2017-09-20 15:05:39 +0530
  • 69dd35784d Reduce CHUNK_SIZE to paper over a hang with rsync David Wilson 2017-09-19 01:04:46 +0530
  • d84b4bf72a Keep allocate_id() in the enhanced router class. David Wilson 2017-09-18 17:03:30 +0530
  • f3cdb4e050 Fix format string. David Wilson 2017-09-18 15:56:33 +0530
  • 491b5ab575 core: add ALLOCATE_ID message for fakessh. David Wilson 2017-09-18 15:37:21 +0530
  • e00c2f2e39 core: allow sending 0-byte messages. David Wilson 2017-09-18 15:36:30 +0530
  • 18a0529887 Import unused images. David Wilson 2017-09-18 15:16:42 +0530
  • 6cfcd6c2c8 Fix proxy connection: pickling changes broke it. David Wilson 2017-09-18 15:16:08 +0530
  • 535ffc25b7 Move more docstrings out of core.py. David Wilson 2017-09-18 14:50:41 +0530
  • e7673e72f6 Add TODO David Wilson 2017-09-18 14:44:17 +0530
  • 3e020ddd09 Fix Channel constructor and add simple test; closes #32 David Wilson 2017-09-18 14:34:05 +0530
  • 05a0feb2f9 core: support takes_econtext and takes_router decorators. David Wilson 2017-09-17 22:52:11 +0530
  • d9bf091e6f Simple working fakessh_test. David Wilson 2017-09-17 21:19:06 +0530
  • 21fb601872 Tidy up logging of command lines for easier cutpaste. David Wilson 2017-09-17 21:09:52 +0530
  • bd2c613b9c Fix up a few more ssh_tests, stop sending 400 modules over network. David Wilson 2017-09-17 21:09:03 +0530
  • cffaa92fc4 Add rsync and git to build_docker_image too. David Wilson 2017-09-17 21:07:32 +0530
  • a89c20e54e Fixup some more tests. David Wilson 2017-09-17 20:33:43 +0530
  • 0f89756c1e Initial version of ModuleFinder, but it's slooooow. David Wilson 2017-09-17 19:52:29 +0530
  • 6f25fac430 Log forwarded events just as the docs suggest they're logged. David Wilson 2017-09-17 18:35:52 +0530
  • 60dc0f6058 Typo. David Wilson 2017-09-17 18:30:06 +0530
  • 04e3336c32 issue #31: move error log to ticket. David Wilson 2017-09-17 18:28:24 +0530
  • a1525b8bb8 Add subheading to describe each import hack. David Wilson 2017-09-17 18:27:58 +0530
  • 38602d5eb3 Link to six bug. David Wilson 2017-09-17 18:24:47 +0530
  • 700bfe31a4 Pad out shame.rst. David Wilson 2017-09-17 18:22:15 +0530
  • 4110d6de60 Add instructions for running tests. David Wilson 2017-09-17 18:16:23 +0530
  • cf506dfdf2 First handful of functional tests for SSH against Docker. David Wilson 2017-09-17 18:11:48 +0530
  • a882497b62 ssh: Learn to type passwords and supply pubkeys. David Wilson 2017-09-17 18:09:26 +0530
  • db793003e0 Tidy. David Wilson 2017-09-17 18:00:12 +0530
  • 5fd3337ed2 Add more dependencies to dev_requirements.txt. David Wilson 2017-09-17 17:56:57 +0530
  • f60e8bc47d Add hacks to allow Mock to be imported. David Wilson 2017-09-17 17:46:19 +0530
  • 22c9f82c46 Import Docker build script for integration tests David Wilson 2017-09-17 17:30:48 +0530
  • bc437733e5 Working DockerMixin for tests. David Wilson 2017-09-17 05:27:14 +0530
  • 36ad9d3f0f Fixup ansible_demo.py for recent Ansibles David Wilson 2017-09-17 05:26:45 +0530
  • 1627164165 fix unbelievably dumb variable shadowing David Wilson 2017-09-17 05:23:44 +0530
  • 6e3f0702a3 A few more mitogen.slave/master changes David Wilson 2017-09-17 04:22:57 +0530
  • ce7a7eddb4 Mention git. David Wilson 2017-09-17 02:32:52 +0530
  • d26c46ba7f ssh: Support disabling strict host key checking. David Wilson 2017-09-16 22:11:03 +0530
  • bdc742d4db ssh: Support specifying the port too. David Wilson 2017-09-16 21:51:50 +0530
  • 8f08aa4fc8 Tidy up test. David Wilson 2017-09-16 20:00:57 +0530
  • 066b39d570 pickle: support Context(), use same unpickler everywhere. David Wilson 2017-09-16 19:56:59 +0530
  • ed90f3fa90 pickle: Prevent access to the _Dead and CallError constructors David Wilson 2017-09-16 18:08:42 +0530
  • ef86b68dcd Import random old test scripts into tests/ dir. David Wilson 2017-09-16 15:36:08 +0530
  • 1888c5c660 Add some broken tests David Wilson 2017-09-16 15:34:55 +0530
  • 4e51f516a6 Add call_function_test, fix various exception bugs. David Wilson 2017-09-16 15:27:30 +0530
  • b4d4d8f041 Apply package rename to remaining checked in files. David Wilson 2017-09-16 12:48:45 +0530
  • 10c0dca24c Apply package rename to tests David Wilson 2017-09-16 12:45:25 +0530
  • 583b7b59e2 Tidy up CallError exception text. David Wilson 2017-09-16 12:44:34 +0530
  • 9aec5a1ccf Invert the sense of mitogen.slave David Wilson 2017-09-15 11:54:41 +0530
  • 84707866b9 A few more images. David Wilson 2017-09-13 02:01:19 +0530
  • 446e956e8f Rename package. David Wilson 2017-09-11 09:38:28 +0530
  • ea84961b9c Extra logging to make broken caching more obvious David Wilson 2017-09-11 09:30:25 +0530
  • 2812d9210e Add extra edge David Wilson 2017-09-10 13:08:55 +0530
  • 59e7b1956b Simplify edges David Wilson 2017-09-10 12:53:42 +0530
  • b52a556abd Reorder. David Wilson 2017-09-10 12:51:01 +0530
  • 8d9c7245ec Tidy example. David Wilson 2017-09-10 12:50:21 +0530
  • 354c96c409 Missing arc in fakessh.graphml David Wilson 2017-09-10 12:49:08 +0530
  • abbcd30fa1 fakessh: add nice graphml image David Wilson 2017-09-10 12:45:28 +0530
  • b1d3e7cad7 fakessh: quiten logging David Wilson 2017-09-10 12:18:24 +0530
  • 1bd510601e fakessh: rename API function to match index.rst. David Wilson 2017-09-10 12:16:16 +0530
  • b22df44bf1 fakessh: fix shutdown ordering bugs. David Wilson 2017-09-10 12:15:17 +0530
  • 9d17f5b625 Have slaves close their own CALL_FUNCTION channel on broker shutdown David Wilson 2017-09-10 12:14:23 +0530
  • 5d49281ede Crash if start_transmit/start_receive used on closed side. David Wilson 2017-09-10 12:14:06 +0530
  • 168498198c fakessh: More (incomplete) work on graceful exit. David Wilson 2017-09-09 23:21:16 +0530
  • 58a5af5be0 Fix SSH context naming. David Wilson 2017-09-09 21:09:43 +0530
  • 6ddc40130d Prevent keep_alive() crash when readers is empty. David Wilson 2017-09-09 20:45:58 +0530
  • e0400b174d Rename _route -> _async_route, have Stream call it directly. David Wilson 2017-09-09 20:44:57 +0530
  • a1e080155b Rename on_thread to defer. David Wilson 2017-09-09 20:44:19 +0530
  • 569d157449 Remove special case for Waker construction David Wilson 2017-09-09 20:41:42 +0530
  • a1044d8a6e Tidy up docs David Wilson 2017-09-09 20:27:01 +0530
  • 7634b4c31c Add ProcessMonitor class David Wilson 2017-09-09 06:59:36 +0530
  • 78392962cb Copy context name to stream name if specified. David Wilson 2017-09-09 02:15:26 +0530
  • 04bc582844 listen/fire fixes. David Wilson 2017-09-09 02:15:17 +0530
  • ca3fdc3fa9 Support *args in fire() too. David Wilson 2017-09-09 02:14:55 +0530
  • de91f9ef7a Get rid of HMAC use. David Wilson 2017-09-09 01:59:26 +0530
  • 299d4a2e05 Teach Router.add_handler() to kill a handler on context disconnect David Wilson 2017-09-09 00:37:56 +0530
  • ffe86a882d remove redundant conncetion registration David Wilson 2017-09-09 00:23:37 +0530