David Wilson
f241eac5ce
parent: allow Python to determine its install prefix from argv[0]
...
Fixes support for virtualenv. Closes #152 .
2018-03-19 21:58:35 +05:45
David Wilson
4f361be7e7
issue #144 : teach Select() to close its latch
...
Causes all threads sleeping on the select to wake.
2018-03-19 21:58:35 +05:45
David Wilson
8aada2646c
core: support throwing LatchError in every sleeping thread
...
This is to allow Select() to be used as a generic queueing primitive
that supports graceful shutdown.
2018-03-19 21:58:35 +05:45
David Wilson
b2a433dcc4
ssh: CompressionLevel is a v1-only option.
...
It's ignored by newer SSHes, which only pay attention to Compression.
2018-03-19 21:58:33 +05:45
David Wilson
235e1df987
sudo: support parsing sudo flags back out into parameters
2018-03-19 21:58:32 +05:45
David Wilson
7cf2edc3a8
ansible: Support many more common playbook variables.
2018-03-19 21:58:32 +05:45
David Wilson
14251539cd
docs: Docker typo.
2018-03-19 21:58:31 +05:45
David Wilson
5036a9448f
Add Docker method.
2018-03-19 21:58:31 +05:45
David Wilson
b221eaaa10
ansible: log call timings
2018-03-19 21:58:30 +05:45
David Wilson
91116810a1
ansible: delete utils.py and promote cast() to mitogen.utils
2018-03-19 21:58:30 +05:45
David Wilson
bdd8648bae
ssh: enable compression by default
...
Using the same test as in 7af97c0365
,
transmitted wire bytes drops from 135,531 to 133,071 (-1.81%), while
received drops from 21,073 to 14,775 (-30%).
Combined, both changes shave 13,914 bytes (-8.6%) off aggregate
bandwidth usage.
Make it configurable as compression hurts in some scenarios.
2018-03-19 21:58:29 +05:45
David Wilson
71a6b9e32a
master: Select.all() sugar
2018-03-19 21:58:29 +05:45
Alex Willmer
a69d9650ad
Fix indentation of Router.route anchor
2018-03-19 21:58:29 +05:45
Alex Willmer
eb1ad66469
docs: Fix out of date get_data() snippets
...
As of adc8fe3aed
Receiver objects do not
have a get_data() method and Receiver.get() does not unpickle the
message.
2018-03-19 21:58:29 +05:45
David Wilson
e63e9d299e
docs: add Message documentation
2018-03-19 21:58:28 +05:45
David Wilson
dd088908df
select: clean up API.
2018-03-19 21:58:28 +05:45
David Wilson
07d4d799f1
Add mitogen.main() decorator mainly for docs and demo use.
2018-03-19 21:58:28 +05:45
David Wilson
09eb3fd9ba
utils: support log_to_file(usec=True)
2018-03-19 21:58:28 +05:45
David Wilson
f1f36cec35
Simplify the API, make Broker optional and auto-shutdown on main thread exit.
2018-03-19 21:58:28 +05:45
David Wilson
b1ad04330b
docs: move Router.route() into Sphinx.
2018-03-19 21:58:27 +05:45
David Wilson
fb759f7c16
docs: move Broker docstrings into Sphinx.
2018-03-19 21:58:27 +05:45
David Wilson
ffa063cc01
docs: annother barriage of cross-reference fixes.
2018-03-19 21:58:25 +05:45
David Wilson
9372d2c3de
docs: Fix up tons of references, document trust chain
2018-03-19 21:35:38 +05:45
David Wilson
0299f86bc9
docs: fix reference to with:
2018-03-19 21:35:37 +05:45
David Wilson
c9daa2ff30
docs: move fakessh docs into Sphinx.
2018-03-19 21:35:37 +05:45
David Wilson
6a10ab605e
docs: move mitogen.utils docs to Sphinx.
2018-03-19 21:35:37 +05:45
David Wilson
270b242ec5
docs: fix decorator types.
2018-03-19 21:35:37 +05:45
David Wilson
416ab90e02
docs: Fix index generation everywhere.
2018-03-19 21:35:37 +05:45
David Wilson
12fe884f1a
Reference Select
2018-03-19 21:35:37 +05:45
David Wilson
83e3e1b82a
Typo.
2018-03-19 21:35:37 +05:45
David Wilson
e9af841e60
docs: fix :return: syntax.
2018-03-19 21:35:36 +05:45
David Wilson
f1d82c7284
More API documentation.
2018-03-19 21:35:36 +05:45
David Wilson
5772e06368
Typo.
2018-03-19 21:35:36 +05:45
David Wilson
b7f95e558f
Better document Router API and constructors.
2018-03-19 21:35:36 +05:45
David Wilson
3eb60d777a
Add mitogen.parent_ids to docs.
2018-03-19 21:35:36 +05:45
David Wilson
0c573d0e47
Tidy up select examples even more.
2018-03-19 21:35:36 +05:45
David Wilson
e624295d63
Document channel class
2018-03-19 21:35:36 +05:45
David Wilson
c4d9f124c6
Document Sender and Receiver classes.
2018-03-19 21:35:36 +05:45
David Wilson
265d9f0293
Tidy up select docs.
2018-03-19 21:35:36 +05:45
David Wilson
19869da087
issue #20 : Return type fix.
2018-03-19 21:35:36 +05:45
David Wilson
f869e088f8
issue #20 : tests and fixes for mitogen.master.Select().
2018-03-19 21:35:36 +05:45
David Wilson
e3d967ebeb
issue #20 : initial implementation of mitogen.master.Select().
2018-03-19 21:35:36 +05:45
David Wilson
04ea5306e9
Document a bunch of mitogen.master and move more docstrings into Sphinx.
2018-03-19 21:35:35 +05:45
David Wilson
b809d43865
Move more docstrings out of core.py.
2018-03-19 21:35:35 +05:45
David Wilson
4f50707b82
core: support takes_econtext and takes_router decorators.
2018-03-19 21:35:35 +05:45
David Wilson
1f99dcb435
fix unbelievably dumb variable shadowing
2018-03-19 21:35:17 +05:45
David Wilson
25e4724bac
A few more mitogen.slave/master changes
2018-03-19 21:35:17 +05:45
David Wilson
e7ff6259a3
Initial commit.
2018-03-19 21:35:13 +05:45