summaryrefslogtreecommitdiff
path: root/NEWS
blob: 48dfefa126899993c43de2a8cbae0ab6016fefef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
NEWS file for ttystatus
=======================

Version 0.38+git, not yet released
----------------------------------


Version 0.38, released 2017-12-04
----------------------------------

* Add `Speed` widget to count change speed.

Version 0.37, released 2017-11-11
----------------------------------


Version 0.36, released 2017-11-10
----------------------------------

* The sphinx formatted manual is dropped. It was too much of a bother
  to maintain, sorry. Also, out of date.

* `ttystatus` is not ported to Python 3.

Version 0.35, released 2017-06-03
----------------------------------

* Add new method TerminalStatus.hide.

Version 0.34, released 2016-12-26
---------------------------------

* Require Python 2.7.
* Add a missing empty line needed for PEP8 compliance. This caused a
  failure in the test suite, no idea why it wasn't caught when making
  the previous release.

Version 0.32, released 2016-01-09
---------------------------------

* Fix some variable type changes found by pylint.

Version 0.31, released 2016-01-09
---------------------------------

* Fix bug in how areas on the terminal are erased. This exhibited
  itself by the `TerminalStatus.notify` method not removing an
  existing status message before writing out the notification.

* Fix bug in `TerminalStatus.flush` that meant it did not, in fact,
  flush the output.

Version 0.30, released 2015-10-17
---------------------------------

* Strip ASCII control characters from displayed output (but expand
  TABs) in widget values. This avoids TABs making values longer than
  expected, and terminals getting confused by control sequences.

* New method `ttystatus.TerminalStatus.get_terminal_size` returns
  terminal width and height.

* Speed up updates by not updating widgets if they aren't interested
  in the variable that got changed. This only works for widgets added
  with the `format` method, but that should be all of them for anyone
  not liking verbose, tedious code.

Version 0.29, released 2015-10-10
---------------------------------

* Do not write a newline to terminal when `finish()` is called, if
  there is not output to the terminal otherwise. The point of the
  newline is to make sure the shell prompt starts at the beginning of
  a new line.

Version 0.28, released 2015-10-10
---------------------------------

* Fix another case where terminal capabilities are queried and the
  terminal isn't capable.

Version 0.27, released 2015-10-10
---------------------------------

* Improve speed when progress output is disabled, by avoiding
  pointless rendering.

Version 0.26, released 2015-10-06
---------------------------------

* Fix looking up of capabilities when there is not terminal. Reported
  by Sharon Kimble.

Version 0.25, released 2015-10-05
---------------------------------

* Fix handling of a terminal without the necessary capabilities, by
  disabling output.

Version 0.24.1, released 2015-10-01
---------------------------------

* Fix handling the case of the process not having a terminal to talk
  to. Reported by Juergen Nickelsen.

Version 0.24, released 2015-09-30
---------------------------------

* Output can now be on multiple lines. Add newlines to format string.

Version 0.23, released 2013-06-19
---------------------------------

* No longer use the SIGWINCH handler, since that causes problems when
  applications do certain kinds of I/O and the signal interrupts it.
  Libraries shouldn't install signal handlers like this. Instead,
  query the terminal width whenever making updates.

Version 0.22, released 2013-03-12
---------------------------------

* When the terminal size changes, ttystatus will now update the display
  at once.

Version 0.21, released 2012-09-29
-----------------------------------

* Updated README with information about where the output goes, and that
  it is restricted to one line.

Version 0.20, released 2012-09-23
---------------------------------

* `TerminalStatus.error` now always outputs. Error messages are too valuable
  to lose.

Version 0.19, released 2012-06-30
---------------------------------

* Added a `TerminalStatus.flush` method, to allow forcing an update.

Version 0.18, released 2012-05-08
---------------------------------

* `ByteSpeed` can now show average speed over a short period of time
  (which approximates current speed), instead of over the whole duration 
  of the program.

Version 0.17, released 2012-04-15
---------------------------------

* Committed genocide towards whole civilizations of rendering problems.

Version 0.16, released 2012-04-08
---------------------------------

* Speed up by avoiding to format widgets until it's time to update.

Version 0.15, released 2011-09-17
---------------------------------

* Bugfix: the String widget now handles non-string values.

Version 0.14, released 2011-08-31
---------------------------------

* Notifications are written to the standard output, not the terminal.
* A method for printing error messages is provided. They are printed to
  the standard error.
* The `PercentDone` class handles zero total amounts better now.
* Widgets may now be added using a simple format string. See
  `ttystatus.TerminalStatus.format` method.

Version 0.13, released 2011-08-18
---------------------------------

* No upstream changes, but released with a new upstream version so that
  Debian packaging does not need to get convoluted.

Version 0.12, released 2011-07-24
---------------------------------

* API documentation is now done with Sphinx.
* The SIGWINCH signal is now marked as a re-starting one, so that socket I/O
  is not interrupted when an application uses ttystatus and the terminal is
  resized.

Version 0.11, released 2011-04-23
---------------------------------

* `pydoc ttystatus` now works better: you no longer need to access 
  modules to see the exported classes. Instead, see all of them directly.
* A final newline is no longer written out if there has been no output
  otherwise.


Version 0.10, released 2011-03-23
---------------------------------

* Fix handling of /dev/tty not being avilable. This can happen, e.g., when
  things are run from cron.


Version 0.9, released 2011-02-13
--------------------------------

* Add ttystatus.Integer.


Version 0.8.1, released 2011-01-30
--------------------------------

* Do not write notifications if output is disabled.


Version 0.8, released 2011-01-30
--------------------------------

* Write status output to /dev/tty by default.


Version 0.7, released 2010-10-09
--------------------------------

* Fix bug that failed to show the last few updates when .finish() was called.


Version 0.6, released 2010-07-13
--------------------------------

* Add ByteSpeed widget.


Version 0.5, released 2010-07-07
--------------------------------

* Speed optimization: widgets are now only updated when the values they're
  interested are updated, and widgets are now only formatted when the result
  is actually going to be printed. For long-running processes with 
  frequent updates, this saves a lot of unnecessary computation.
* Debian packaging fix: Add Python-Version headers.


Version 0.4, released 2010-07-05
--------------------------------

* Bugfix: when the output won't fit, and the last widget is a `Pathname`,
  the last character is no longer chopped off.