Commit 1bfd2b0
authored
3.0.0: Hawk TUI release (jquast#125)
3.0.0
* change: :attr:`~telnetlib3.client_base.BaseClient.connect_minwait` default
now 0 (was 1.0 seconds in library API).
* change: ``force_binary`` auto-enabled when CHARSET is negotiated
(:rfc:`2066`) or ``LANG``/``CHARSET`` received via NEW_ENVIRON
(:rfc:`1572`). SyncTERM font detection also enables it unconditionally.
* change: ``--connect-timeout`` default changed from no limit to 10 seconds.
* change: ``--reverse-video`` CLI option from 2.4.0 was removed.
* change: CGA, EGA, and Amiga palettes removed from ``--colormatch``;
only ``vga`` is available at this time. ``ice_colors`` are now True by default.
* bugfix: ``read_some()`` in synchronous API (``TelnetConnection`` and
``ServerConnection``) blocked until EOF instead of returning available
data. Now returns as soon as any data is available.
* new: ``TelnetSessionContext`` base class
and ``writer.ctx`` attribute for
per-connection session state. Subclass to add application-specific
attributes (e.g. MUD client state).
* new: ``--ice-colors`` (default on) treats SGR 5 (blink) as bright
background for proper 16-color BBS/ANSI art display.
* new: ``--typescript FILE`` records session output to a file, similar to
the Unix ``script(1)`` command.
* new: shared ``TelnetProtocolBase`` mixin extracted from duplicated
server and client protocol code.
* new: ``_atomic_json_write()`` and ``_BytesSafeEncoder`` helpers in
``_paths`` module for fingerprinting subsystem.
* enhancement: Microsoft Telnet (``telnet.exe``) compatibility refined — server
now sends ``DO NEW_ENVIRON`` but excludes ``USER`` variable instead of
skipping the option entirely, :ghissue:`24`.
* enhancement: comprehensive pylint and mypy cleanup across the codebase.1 parent 5a1687b commit 1bfd2b0
84 files changed
Lines changed: 6474 additions & 5208 deletions
File tree
- .github/workflows
- bin
- docs
- api
- telnetlib3
- encodings
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
77 | 85 | | |
78 | 86 | | |
79 | 87 | | |
| |||
145 | 153 | | |
146 | 154 | | |
147 | 155 | | |
148 | | - | |
| 156 | + | |
149 | 157 | | |
150 | | - | |
151 | 158 | | |
152 | 159 | | |
153 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 41 | | |
53 | 42 | | |
54 | 43 | | |
55 | | - | |
56 | | - | |
| 44 | + | |
| 45 | + | |
57 | 46 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
62 | 50 | | |
63 | 51 | | |
64 | 52 | | |
65 | | - | |
| 53 | + | |
66 | 54 | | |
67 | | - | |
| 55 | + | |
| 56 | + | |
68 | 57 | | |
69 | | - | |
| 58 | + | |
| 59 | + | |
70 | 60 | | |
71 | | - | |
| 61 | + | |
| 62 | + | |
72 | 63 | | |
73 | | - | |
| 64 | + | |
| 65 | + | |
74 | 66 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 67 | | |
| 68 | + | |
| 69 | + | |
80 | 70 | | |
81 | | - | |
82 | | - | |
| 71 | + | |
| 72 | + | |
83 | 73 | | |
84 | | - | |
| 74 | + | |
| 75 | + | |
85 | 76 | | |
86 | 77 | | |
87 | 78 | | |
88 | 79 | | |
89 | | - | |
| 80 | + | |
90 | 81 | | |
91 | 82 | | |
| 83 | + | |
| 84 | + | |
92 | 85 | | |
93 | | - | |
94 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
95 | 89 | | |
96 | | - | |
97 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
98 | 94 | | |
99 | | - | |
| 95 | + | |
| 96 | + | |
100 | 97 | | |
101 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | | - | |
104 | | - | |
| 103 | + | |
105 | 104 | | |
106 | | - | |
107 | | - | |
| 105 | + | |
108 | 106 | | |
109 | | - | |
110 | | - | |
| 107 | + | |
| 108 | + | |
111 | 109 | | |
112 | | - | |
| 110 | + | |
| 111 | + | |
113 | 112 | | |
114 | | - | |
115 | | - | |
| 113 | + | |
116 | 114 | | |
117 | | - | |
| 115 | + | |
| 116 | + | |
118 | 117 | | |
119 | | - | |
| 118 | + | |
120 | 119 | | |
121 | | - | |
122 | | - | |
123 | | - | |
| 120 | + | |
| 121 | + | |
124 | 122 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 123 | + | |
| 124 | + | |
128 | 125 | | |
129 | | - | |
130 | | - | |
| 126 | + | |
| 127 | + | |
131 | 128 | | |
132 | | - | |
133 | | - | |
| 129 | + | |
| 130 | + | |
134 | 131 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 132 | + | |
139 | 133 | | |
140 | | - | |
| 134 | + | |
141 | 135 | | |
142 | | - | |
| 136 | + | |
| 137 | + | |
143 | 138 | | |
144 | | - | |
145 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
146 | 144 | | |
147 | 145 | | |
148 | 146 | | |
| |||
156 | 154 | | |
157 | 155 | | |
158 | 156 | | |
159 | | - | |
| 157 | + | |
160 | 158 | | |
161 | 159 | | |
162 | 160 | | |
| |||
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
173 | 194 | | |
174 | 195 | | |
175 | 196 | | |
| |||
185 | 206 | | |
186 | 207 | | |
187 | 208 | | |
188 | | - | |
| 209 | + | |
189 | 210 | | |
190 | 211 | | |
191 | 212 | | |
| |||
231 | 252 | | |
232 | 253 | | |
233 | 254 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | 255 | | |
247 | 256 | | |
248 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
120 | | - | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
272 | 274 | | |
273 | 275 | | |
274 | 276 | | |
275 | | - | |
276 | | - | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments