]> git.sur5r.net Git - tio/blob - ChangeLog
Merge tag 'upstream/1.18'
[tio] / ChangeLog
1
2 === tio v1.18 ===
3
4 Changes since tio v1.17:
5
6  * Updated man page
7
8  * Added support for non-standard baud rates
9
10    Only enabled when possible, that is, when the BOTHER definition is
11    available.
12
13    It is untested but it should work as described here:
14    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683826
15
16    Some Cypress USB<->serial devices supposedly supports arbitrary speeds.
17
18  * Generate baudrate switch cases based on detection
19
20    Support a single source of baud rate configuration as discussed in
21    https://github.com/tio/tio/issues/45 .
22
23    To do so, autogeneration of the switch cases which do the baud rate
24    option value check and configuration/conversion in tty_configure() is
25    introduced via a single macro.
26
27    Just to be safe, this change also enables configure detection of all
28    baud rates, including the ones previously assumed supported by most/all
29    systems (POSIX).
30
31  * Minor cleanup
32
33  * Exit when not a tty device in autoconnect mode
34
35 Jakub Wilk:
36
37  * Added non-standard baud rates that are defined on FreeBSD
38
39  * Capitalized "GitHub" in README
40
41
42
43 Changes since tio v1.16:
44
45  * Compacted tty_configure() a bit
46
47  * Fixed automatic baud rate enablement
48
49  * Minor cleanups
50
51  * Added autodetection of available baud rates
52
53    Various platforms support different baud rates.
54
55    To avoid adding platform specific handling generic baud rate detection
56    tests are introduced in the configure script. Successfully detected baud
57    rates are automatically enabled. This applies to both the C code and the
58    bash completion script.
59
60    Note:
61    Baud rates below 57600 are defined by POSIX-1 and supported by most
62    platforms so only baud rate 57600 and above are tested.
63
64  * Updated bash-completion
65
66  * Fixed printf() format type
67
68  * Added Travis build configuration
69
70 Jakub Wilk:
71
72  * Generated bash completion at configure time
73
74  * Reduce code duplication in baud rate detection
75
76  * Add support for baud rates 200 and 1800
77
78  * Fixed baudrate type
79
80
81
82 Changes since tio v1.15:
83
84  * Updated man page
85
86  * Updated README
87
88  * Removed obsolete packaging files
89
90  * Removed use of deprecated bzero()
91
92
93
94 Changes since tio v1.14:
95
96  * Removed + to remove potential confusion
97
98  * Added input digit checks
99
100  * Fixed license string
101
102  * Introduced tty_configure()
103
104    Moved tty configuration actions to tty_configure() in tty.c. This way
105    options.c is strictly about parsing options nothing else.
106
107  * Function names cleanup
108
109  * Updated AUTHORS file
110
111    Added Nick who created the new tio package for Arch Linux.
112
113  * Fixed tx/rx counters type
114
115 Jakob Haufe:
116
117  * Include config.h before standard headers
118
119    This makes use of 8d6d202 (Enable large file support) for real.
120
121 Jakub Wilk:
122
123  * Fixed printf directives for tx/rx counters
124
125    In 9a66de0affda, types of tx/rx counters were changed from "long" to
126    "unsigned long", but their printf directives remained "%ld".
127    Change them to "%lu" to match the actual types.
128
129
130
131 Changes since tio v1.13:
132
133  * Fixed tio_printf macro
134
135  * Fixed launch hints
136
137    Fixed launch hints not being printed in no autoconnect mode.
138
139  * Added 'ctrl-t ?' to list available commands
140
141  * Fixed log mechanism
142
143    To avoid echoing only log what is received from tty device.
144
145  * Improved tio output
146
147    Added titles and indentation to commands output for clearer separation
148    when firing commands repeatedly.
149
150    Also added print of tio version and quit command hint at launch.
151
152  * Cleaned up tio print mechanism
153
154 Jakub Wilk:
155
156  * Fixed grammar
157
158    "allow" is a transitive verb, which requires an object,
159    so "allow to <verb>" is ungrammatical.
160
161  * Fixed typo
162
163
164
165 Changes since tio v1.12:
166
167  * Fixed some error prints
168
169  * Fixed error printing for no autoconnect mode
170
171    Always print errors but only print silent errors when in no autoconnect
172    mode.
173
174  * Added key command for showing session settings
175
176    A new key command "ctrl-t i" is added to allow the user to display the
177    various session settings information (baudrate, databits, log file, etc.).
178
179    This is useful in case you have a running session but have forgotten
180    what the settings are.
181
182
183
184 Changes since tio v1.11:
185
186  * Consolidated command key handling
187
188  * Moved delay mechanism into separate function
189
190  * Retired obsolete usleep()
191
192    Replaced with nanosleep()
193
194  * Added simple tx/rx statistics command (ctrl-t s)
195
196    To display the total number of bytes transmitted/received simply perform the
197    'ctrl-t s' command sequence.
198
199    This feature can be useful when eg. trying to detect non-printable
200    characters.
201
202  * Further simplification of key handling
203
204    Changed so that the "ctrl-t ctrl-t" sequence is now simply "ctrl-t t" to
205    send the ctrl-t key code. This is inspired by screen which does similar
206    to send its command key code (ctrl-a a).
207
208    This change also eases adding new key commands if needed.
209
210    Updated man page accordingly.
211
212  * Cleaned up and simplified key handling
213
214 Jakub Wilk:
215
216  * Insert output delay only if something was output
217
218
219
220 Changes since tio v1.10:
221
222  * Enabled large file support (LFS)
223
224    Added autotools AC_SYS_LARGEFILE to support 64 bit file size handling.
225
226  * Updated tio title
227
228
229
230 Changes since tio v1.9:
231
232  * Introduced lock on device file
233
234    Tio will now test for and obtain an advisory lock on the tty device file
235    to prevent starting multiple sessions on the same tty device.
236
237  * Updated AUTHORS
238
239 Jakub Wilk:
240
241  * Treat EOF on stdin as error
242
243
244
245 Changes since tio v1.8:
246
247  * Cleanup of error handling
248
249    Introduced consistent way of handling errors and printing error messages.
250
251    Also upgraded some warnings to errors.
252
253  * Updated localtime() error message
254
255  * Cleanup
256
257 Jakub Wilk:
258
259  * Fix error handling for select()
260
261    Previously the error handling code for select() was unreachable.
262
263  * Removed unneeded quotes from AM_CFLAGS
264
265  * Expanded tabs
266
267  * Fixed setting "tainted"
268
269    Set "tainted" if and only if any character was read from the device.
270
271    Ctrl-t is no longer sent to the device on exit, so the trick to avoid
272    its echo is not necessary.
273
274    Characters read from stdin don't directly affect output, so they
275    shouldn't enable "tainted".
276
277  * Used \r in color_printf()
278
279    \033[300D is an unusual way to move the cursor back to column 1.
280    Use straightforward \r instead.
281
282  * Added missing \r\n to warning messages
283
284    \n alone is not enough, because the terminal is in raw mode.
285
286
287
288 Changes since tio v1.7:
289
290  * Fixed enablement of compiler warnings
291
292  * Fixed log_open() prototype
293
294  * Fixed index error wrt ctrl-t detection
295
296  * Fixed handling of ctrl-t
297
298    Before, when exercising the quit key sequence (ctrl-t + q) the ctrl-t code
299    (0x14) would be sent.
300
301    This is now fixed so that it is not sent.
302
303    However, in case it is needed to send ctrl-t to the device it is possible by
304    simply repeating the ctrl-t.
305
306    Meaning, ctrl-t + ctrl-t = ctrl-t sent to device.
307
308  * Improved error handling
309
310    Fixes a memory leak and avoids aggressive busy looping when problems
311    accessing tty device.
312
313  * Removed redundant log_close() call
314
315  * Enabled compiler warnings
316
317 Jakub Wilk:
318
319  * Stopped copying arguments to fixed-size buffers
320
321    Don't needlessly copy command-line arguments into fixed-size buffers.
322
323    Previously the program crashed if an overlong pathname was provided on
324    the command line. Also, some systems (such as GNU Hurd) don't define
325    MAXPATHLEN at all.
326
327  * Added const to log_open() prototype
328
329  * Completed the ^g to ^t transition
330
331    In 72a287f18995 the escape key was changed from ^g to ^t, but some
332    code and comments still referred to the old key.
333
334  * Used HTTPS for tio.github.io
335
336  * Man page beautification
337
338  * Bumped date in man page
339
340  * Improve man page formatting
341
342    Use regular font for metacharacters such as "[]", "," or "|";
343    use italic font for metavariables.
344
345  * Fixed hyphen vs minus vs em-dash confusion in man page
346
347    - prints as hyphen;
348    \- prints as minus sign;
349    \em prints as em-dash.
350
351
352
353 Changes since tio v1.6:
354
355  * Changed escape key from ^g to ^t
356
357    After renaming to "tio" it makes sense to change the escape key
358    accordingly. Hence, the new escape key is ^t.
359
360    Meaning, in session, its now ctrl-t + q to quit.
361
362 Jakub Wilk:
363
364  * Fixed silly "tio or tio" in man page
365
366  * Fixed typo