Commit a5619a6
committed
Merge remote-tracking branch 'origin/stream-refactor'
* origin/stream-refactor:
[stream-refactor] Py3.x test fixes
[stream-refactor] mark py24 as allow-fail
[stream-refactor] Debian Docker container image initctl
[stream-refactor] replace cutpaste with Stream.accept() in mitogen.unix
[stream-refactor] fix flake8 errors
[stream-refactor] fix testlib assertion format string
[stream-refactor] make mitogen-fuse work on Linux
[stream-refactor] repair preamble_size.py again
[stream-refactor] don't abort Connection until all buffers are empty
Normalize docstring formatting
[stream-refactor] fix LogHandler.uncork() race
[stream-refactor] BufferedWriter must disconenct Stream, not Protocol
[stream-refactor] statically link doas binary using musl
[stream-refactor] stop writing to /tmp/foo in fd_check.py.
[stream-refactor] yet another 2.4 issue in create_child_test
[stream-refactor] fix Py2.4 failure by implementing missing Timer method
[stream-refactor] allow up to 30 seconds to connect in unix_test
[stream-refactor] mark setns module as requiring Python >2.4
[stream-refactor] another 2.4 fix for create_child_test
.travis.yml: Add reverse shell spawn for Travis too
core: better Side attribute docstrings
[stream-refactor] remove one more getuser() usage
[stream-refactor] allow doas_test to succeed on CentOS
Pin idna==2.7 when running on Python<2.7.
[stream-refactor] Py2.4 compat fix for iter_split_test.
[stream-refactor] add descriptive task names to _container_prep
[stream-refactor] 3.x socket.send() requires bytes
[stream-refactor] fix 2.4 syntax error.
[stream-refactor] avoid os.wait3() for Py2.4.
Allow specifying -vvv to debops_tests.
[stream-refactor] send MITO002 earlier
module_finder: pass raw file to compile()
[stream-refactor] merge stdout+stderr when reporting EofError
[stream-refactor] fix crash in detach() / during async/multiple_items_loop.yml
[stream-refactor] fix crash in runner/forking_active.yml
[stream-refactor] replace old detach_popen() reference
ansible: fixturize creation of MuxProcess
unix: ensure mitogen.context_id is reset when client disconnects
[stream-refactor] make syntax 2.4 compatible
[stream-refactor] make trusty our Travis dist.
[stream-refactor] fix su_test failure (issue #363)
[stream-refactor] more readable log string format
[stream-refactor] dont doubly log last partial line
[stream-refactor] import fd_check.py used by create_child_test
[stream-refactor] port mitogen.buildah, added to master since work began
[stream-refactor] fix unix.Listener construction
[stream-refactor] fix crash when no stderr present.
[stream-refactor] fix Process constructor invocation
Add tests/ansible/.*.pid to gitignore (for ansible_mitogen/process.py)
Add extra/ to gitignore
import release-notes script.
[stream-refactor] repaired rest of create_child_test.
[stream-refactor] rename Process attrs, fix up more create_child_test
[stream-refactor] import incomplete create_child_test
issue #482: tests: check for zombie process after test.
issue #363: add test.
tests: clean up old-style SSH exception catch
issue #271: add mitogen__permdenied user to Docker image.
ssh: fix issue #271 regression due to refactor, add test.
Refactor Stream, introduce quasi-asynchronous connect, much more
core: teach iter_split() to break on callback returning False.
issue #507: log fatal errors to syslog.
testlib: have LogCapturer.raw() return unicode on 2.x.
core/master: docstring, repr, and debug log message cleanups
parent: remove unused Timer parameter.
tests: jail_test fixes.
parent: docstring improvements, cfmakeraw() regression.
core: introduce Protocol, DelimitedProtocol and BufferedWriter.
core: introduce mitogen.core.pipe()
tests/bench: import ssh-roundtrip.py.
tests: note location of related tests.
tests: add real test for doas.
tests: install OpenBSD doas port in Debian image.
tests: add setns_test that works if password localhost sudo works.
Import minimal jail_test.
core: move message encoding to Message.pack(), add+refactor tests.
master: expect forwarded logs to be in UTF-8.
tests: add some UTF-8 to ssh_login_banner to encourage breakage.
core: bootstrap FD management improvements
core: pending timers should keep broker alive.
core: more succinct iter_split().
core: replace UTF8_CODEC with encodings.utf_8.encode() function.
docs: remove bytearray from supported types list.
core: docstring style cleanups, dead code.
testlib: disable lsof warnings due to Docker crap
parent: discard cancelled events in TimerList.get_timeout().
core: split out iter_split() for use in parent.py.
parent: various style cleanups, remove unused function.
issue #170: add TimerList docstrings.
core: eliminate some quadratric behaviour from IoLogger
issue #170: update Changelog; closes #170.
issue #170: add timers to internals.rst.
issue #170: implement timers.File tree
79 files changed
+3849
-1977
lines changed- .ci
- ansible_mitogen
- docs
- examples
- mitogen
- scripts
- tests
- ansible/tests
- bench
- data
- docker
- stubs
- image_prep
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
79 files changed
+3849
-1977
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | | - | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | | - | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
| 90 | + | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| |||
154 | 161 | | |
155 | 162 | | |
156 | 163 | | |
157 | | - | |
158 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
159 | 173 | | |
160 | 174 | | |
161 | 175 | | |
| |||
178 | 192 | | |
179 | 193 | | |
180 | 194 | | |
181 | | - | |
| 195 | + | |
182 | 196 | | |
183 | 197 | | |
184 | 198 | | |
| |||
189 | 203 | | |
190 | 204 | | |
191 | 205 | | |
192 | | - | |
193 | | - | |
| 206 | + | |
| 207 | + | |
194 | 208 | | |
195 | 209 | | |
196 | 210 | | |
| |||
308 | 322 | | |
309 | 323 | | |
310 | 324 | | |
311 | | - | |
| 325 | + | |
312 | 326 | | |
313 | 327 | | |
314 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
386 | 389 | | |
387 | 390 | | |
388 | 391 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
345 | | - | |
| 344 | + | |
346 | 345 | | |
347 | 346 | | |
348 | 347 | | |
349 | 348 | | |
350 | | - | |
351 | 349 | | |
352 | | - | |
| 350 | + | |
353 | 351 | | |
354 | 352 | | |
355 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | | - | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | | - | |
33 | | - | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | | - | |
41 | | - | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | | - | |
49 | | - | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
57 | | - | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 85 | | |
87 | | - | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
| 89 | + | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 94 | + | |
| 95 | + | |
111 | 96 | | |
112 | 97 | | |
113 | 98 | | |
114 | 99 | | |
115 | 100 | | |
116 | 101 | | |
117 | | - | |
| 102 | + | |
118 | 103 | | |
119 | 104 | | |
120 | 105 | | |
121 | 106 | | |
122 | 107 | | |
123 | 108 | | |
124 | 109 | | |
125 | | - | |
126 | | - | |
| 110 | + | |
| 111 | + | |
127 | 112 | | |
128 | 113 | | |
129 | 114 | | |
130 | 115 | | |
131 | 116 | | |
132 | 117 | | |
133 | | - | |
134 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
141 | | - | |
142 | | - | |
| 142 | + | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
149 | | - | |
150 | | - | |
| 150 | + | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | | - | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
157 | | - | |
158 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
159 | 163 | | |
160 | 164 | | |
161 | 165 | | |
| |||
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
170 | | - | |
171 | | - | |
| 174 | + | |
| 175 | + | |
172 | 176 | | |
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
179 | | - | |
180 | | - | |
| 183 | + | |
| 184 | + | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
| |||
0 commit comments