Commit Graph

48 Commits (9d15d1fce8c562adfcf8b8a05e012ac6c071905c)

Author SHA1 Message Date
David Wilson af04f24c95 docs: fix Select() example for new style API. 7 years ago
Alex Willmer 7473addfd2 Replace all calls to file() with open()
Although these are synonyms in Python 2.x, when using MyPy to typecheck
code use of file() causes spurious errors.

This commit also serves as one small step to Python 3.x compatibility,
since 3.x removes the file() builtin.
7 years ago
David Wilson bab232f07c importer: module preloading docs 7 years ago
David Wilson a5f809cbd9 Tidy up select examples even more. 7 years ago
David Wilson 39924c432f Tidy up select docs. 7 years ago
David Wilson 9625e77f87 More concise text. 7 years ago
David Wilson 6869292738 issue #20: initial implementation of mitogen.master.Select(). 7 years ago
David Wilson f186b4c9d8 docs: Use sphinx-programoutput plugin for preamble_size.py 7 years ago
David Wilson f62d4f1891 Update preamble_size output. 7 years ago
David Wilson 1627164165 fix unbelievably dumb variable shadowing 7 years ago
David Wilson ce7a7eddb4 Mention git. 7 years ago
David Wilson 9aec5a1ccf Invert the sense of mitogen.slave 7 years ago
David Wilson 84707866b9 A few more images. 7 years ago
David Wilson 446e956e8f Rename package. 7 years ago
David Wilson b52a556abd Reorder. 7 years ago
David Wilson 8d9c7245ec Tidy example. 7 years ago
David Wilson abbcd30fa1 fakessh: add nice graphml image 7 years ago
David Wilson 7634b4c31c Add ProcessMonitor class 7 years ago
David Wilson a11003862b Add warning to docs. 7 years ago
David Wilson e0ecfab5fc More bold, everyone loves drama 7 years ago
David Wilson d702a61589 More doc updates. 7 years ago
David Wilson 616dc43069 fakessh: Initial working version 7 years ago
David Wilson 15d3508331 Add examples section to docs. 7 years ago
David Wilson b70803a763 Update numbers. 7 years ago
David Wilson 0aff1d82c6 Reads more neatly. 7 years ago
David Wilson f9df857a57 Tidy up API. 7 years ago
David Wilson 2d92455103 Update example. 7 years ago
David Wilson 0c8e486891 Clarify. 7 years ago
David Wilson 9cd9f1fec2 Update module forwarder blurb. 8 years ago
David Wilson ff903b1bcd Rearrange docs, split connection methods into submodules. 8 years ago
David Wilson 2feaf570bd Reorient Sphinx layout to get subheadings in sidebar. 8 years ago
David Wilson 762bf0722a Drama 8 years ago
David Wilson fea12a6030 Many updates: graceful shutdown, docs, threading
* Start splitting docs up into internals.rst / api.rst
* Docs for lots more of econtext.core.
* Get rid of _update_stream() and has_output(), replace with individual
  functions called as state changes.
* Add Broker.on_thread() and remove Stream._lock: simply call
  on_thread() to ensure buffer management is linearized.
* Rename read_side/write_side to receive_side/transmit_side like event
  handler names.
* Clean up some more repr / debug logs.
* Move handle cleanup to Context.on_shutdown where it belongs.
* Make wake() a noop when called from broker thread.
* Replace graceful_count crap with Side.graceful attribute, add
  Broker.keep_alive() to check whether any registered readers want to
  be kept alive for graceful shutdown() or any child contexts with a
  connected stream exist.
* Make master.Broker timeout slightly longer than slave broker.
* Add generic on_thread() to allow running code on the IO thread.
8 years ago
David Wilson 1bc8681cb4 More doc updates. 8 years ago
David Wilson 1f27872eda Many docs updates. 8 years ago
David Wilson da4e457247 More docs, move call/call_with_deadline to econtext.master. 8 years ago
David Wilson a00cb1d6d2 More drama bold. 8 years ago
David Wilson e87b44a703 Hyperlinks. 8 years ago
David Wilson c607831561 SlaveModuleImporter->Importer, enable intersphinx, finish howitworks.rst. 8 years ago
David Wilson 62520b1bcb Write history section. 8 years ago
David Wilson 63ee222406 Many docs updates. 8 years ago
David Wilson a174c32d22 Remove comma 8 years ago
David Wilson 99b9abf052 Drama markup. 8 years ago
David Wilson 34a2166485 More docs. 8 years ago
David Wilson fb501f66db Add history.rst. 8 years ago
David Wilson 2d3dd2ef63 Pad out howitworks.rst. 8 years ago
David Wilson ce27058bdf Initial intro doc. 8 years ago
David Wilson c63f1a5415 Initial docs config. 8 years ago