David Wilson
f241eac5ce
parent: allow Python to determine its install prefix from argv[0]
...
Fixes support for virtualenv. Closes #152 .
7 years ago
David Wilson
4f361be7e7
issue #144 : teach Select() to close its latch
...
Causes all threads sleeping on the select to wake.
7 years ago
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.
7 years ago
David Wilson
b2a433dcc4
ssh: CompressionLevel is a v1-only option.
...
It's ignored by newer SSHes, which only pay attention to Compression.
7 years ago
David Wilson
235e1df987
sudo: support parsing sudo flags back out into parameters
7 years ago
David Wilson
7cf2edc3a8
ansible: Support many more common playbook variables.
7 years ago
David Wilson
14251539cd
docs: Docker typo.
7 years ago
David Wilson
5036a9448f
Add Docker method.
7 years ago
David Wilson
b221eaaa10
ansible: log call timings
7 years ago
David Wilson
91116810a1
ansible: delete utils.py and promote cast() to mitogen.utils
7 years ago
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.
7 years ago
David Wilson
71a6b9e32a
master: Select.all() sugar
7 years ago
Alex Willmer
a69d9650ad
Fix indentation of Router.route anchor
7 years ago
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.
7 years ago
David Wilson
e63e9d299e
docs: add Message documentation
7 years ago
David Wilson
dd088908df
select: clean up API.
7 years ago
David Wilson
07d4d799f1
Add mitogen.main() decorator mainly for docs and demo use.
7 years ago
David Wilson
09eb3fd9ba
utils: support log_to_file(usec=True)
7 years ago
David Wilson
f1f36cec35
Simplify the API, make Broker optional and auto-shutdown on main thread exit.
7 years ago
David Wilson
b1ad04330b
docs: move Router.route() into Sphinx.
7 years ago
David Wilson
fb759f7c16
docs: move Broker docstrings into Sphinx.
7 years ago
David Wilson
ffa063cc01
docs: annother barriage of cross-reference fixes.
7 years ago
David Wilson
9372d2c3de
docs: Fix up tons of references, document trust chain
7 years ago
David Wilson
0299f86bc9
docs: fix reference to with:
7 years ago
David Wilson
c9daa2ff30
docs: move fakessh docs into Sphinx.
7 years ago
David Wilson
6a10ab605e
docs: move mitogen.utils docs to Sphinx.
7 years ago
David Wilson
270b242ec5
docs: fix decorator types.
7 years ago
David Wilson
416ab90e02
docs: Fix index generation everywhere.
7 years ago
David Wilson
12fe884f1a
Reference Select
7 years ago
David Wilson
83e3e1b82a
Typo.
7 years ago
David Wilson
e9af841e60
docs: fix :return: syntax.
7 years ago
David Wilson
f1d82c7284
More API documentation.
7 years ago
David Wilson
5772e06368
Typo.
7 years ago
David Wilson
b7f95e558f
Better document Router API and constructors.
7 years ago
David Wilson
3eb60d777a
Add mitogen.parent_ids to docs.
7 years ago
David Wilson
0c573d0e47
Tidy up select examples even more.
7 years ago
David Wilson
e624295d63
Document channel class
7 years ago
David Wilson
c4d9f124c6
Document Sender and Receiver classes.
7 years ago
David Wilson
265d9f0293
Tidy up select docs.
7 years ago
David Wilson
19869da087
issue #20 : Return type fix.
7 years ago
David Wilson
f869e088f8
issue #20 : tests and fixes for mitogen.master.Select().
7 years ago
David Wilson
e3d967ebeb
issue #20 : initial implementation of mitogen.master.Select().
7 years ago
David Wilson
04ea5306e9
Document a bunch of mitogen.master and move more docstrings into Sphinx.
7 years ago
David Wilson
b809d43865
Move more docstrings out of core.py.
7 years ago
David Wilson
4f50707b82
core: support takes_econtext and takes_router decorators.
7 years ago
David Wilson
1f99dcb435
fix unbelievably dumb variable shadowing
7 years ago
David Wilson
25e4724bac
A few more mitogen.slave/master changes
7 years ago
David Wilson
e7ff6259a3
Initial commit.
7 years ago