David Wilson
dadee5dc05
docs: add Message documentation
2018-02-14 20:24:39 +05:45
David Wilson
8ef87bea6a
select: clean up API.
2018-02-14 19:45:22 +05:45
David Wilson
ddf4a21bac
Add mitogen.main() decorator mainly for docs and demo use.
2018-02-13 20:00:13 +05:45
David Wilson
6897227a31
utils: support log_to_file(usec=True)
2018-02-13 15:53:18 +05:45
David Wilson
22c1594f04
Simplify the API, make Broker optional and auto-shutdown on main thread exit.
2017-11-12 20:17:03 +05:30
David Wilson
8f42a58281
docs: move Router.route() into Sphinx.
2017-10-08 16:33:04 +05:30
David Wilson
48096ab033
docs: move Broker docstrings into Sphinx.
2017-10-08 16:33:04 +05:30
David Wilson
d800b684ef
Merge branch 'module-preloading'
...
Not much point in keeping the docs changes separate.
2017-10-05 19:20:05 +05:30
David Wilson
dc6ed860f7
docs: fix reference to with:
2017-10-05 14:27:26 +05:30
David Wilson
320191cae2
docs: move fakessh docs into Sphinx.
2017-10-05 14:25:32 +05:30
David Wilson
2830304407
docs: move mitogen.utils docs to Sphinx.
2017-10-05 14:10:18 +05:30
David Wilson
b56f848cc6
docs: fix decorator types.
2017-10-05 14:05:10 +05:30
David Wilson
8e69838b44
docs: annother barriage of cross-reference fixes.
2017-10-04 19:07:14 +05:30
David Wilson
b88e68df72
docs: Fix up tons of references, document trust chain
2017-10-03 19:57:58 +05:30
David Wilson
88c82aff6a
docs: Fix index generation everywhere.
2017-09-29 20:22:43 +05:30
David Wilson
e057d289e9
Reference Select
2017-09-29 13:42:02 +05:30
David Wilson
ed329fe580
Typo.
2017-09-29 13:37:46 +05:30
David Wilson
8d8096b6d8
docs: fix :return: syntax.
2017-09-29 13:37:11 +05:30
David Wilson
3a883d79f6
More API documentation.
2017-09-29 13:34:19 +05:30
David Wilson
0da42a5e90
Typo.
2017-09-29 12:55:04 +05:30
David Wilson
62c9dc6f49
Better document Router API and constructors.
2017-09-29 12:53:52 +05:30
David Wilson
126080019d
Add mitogen.parent_ids to docs.
2017-09-28 14:57:37 +05:30
David Wilson
a5f809cbd9
Tidy up select examples even more.
2017-09-28 14:36:44 +05:30
David Wilson
05d601c315
Document channel class
2017-09-28 14:36:11 +05:30
David Wilson
89220a418a
Document Sender and Receiver classes.
2017-09-28 14:14:50 +05:30
David Wilson
39924c432f
Tidy up select docs.
2017-09-28 10:49:15 +05:30
David Wilson
6dc0e13f5f
issue #20 : Return type fix.
2017-09-27 13:52:05 +05:30
David Wilson
186d823600
issue #20 : tests and fixes for mitogen.master.Select().
2017-09-27 13:47:14 +05:30
David Wilson
6869292738
issue #20 : initial implementation of mitogen.master.Select().
2017-09-26 16:56:23 +05:30
David Wilson
1ed8bb6924
Document a bunch of mitogen.master and move more docstrings into Sphinx.
2017-09-21 17:04:03 +05:30
David Wilson
535ffc25b7
Move more docstrings out of core.py.
2017-09-18 14:50:41 +05:30
David Wilson
05a0feb2f9
core: support takes_econtext and takes_router decorators.
2017-09-17 22:52:11 +05:30
David Wilson
1627164165
fix unbelievably dumb variable shadowing
2017-09-17 05:25:30 +05:30
David Wilson
6e3f0702a3
A few more mitogen.slave/master changes
2017-09-17 04:22:57 +05:30
David Wilson
446e956e8f
Rename package.
2017-09-11 10:20:01 +05:30
David Wilson
1bd510601e
fakessh: rename API function to match index.rst.
2017-09-10 12:16:16 +05:30
David Wilson
65d5844d1a
Tidy up docs.
2017-09-07 16:38:05 +05:30
David Wilson
42732c90b6
Add sudo factory to docs.
2016-11-01 12:22:30 +00:00
David Wilson
ff903b1bcd
Rearrange docs, split connection methods into submodules.
2016-08-19 15:16:31 +01:00
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.
2016-08-16 02:04:56 +01:00
David Wilson
da4e457247
More docs, move call/call_with_deadline to econtext.master.
2016-08-14 12:25:44 +01:00
David Wilson
62520b1bcb
Write history section.
2016-08-14 01:17:03 +01:00
David Wilson
63ee222406
Many docs updates.
2016-08-14 00:16:17 +01:00
David Wilson
ce27058bdf
Initial intro doc.
2016-08-13 22:03:58 +01:00