forked from thomasvs/python-command
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
264 lines (179 loc) · 7.36 KB
/
ChangeLog
File metadata and controls
264 lines (179 loc) · 7.36 KB
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
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
2012-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Add stubs for info and warning.
* tcommand.py:
Debug exceptions and failures.
2012-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Add debugging on return values.
2012-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Add debugging when going into subcommand methods.
Show which python class implements a command.
2012-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
* manholecmd.py:
Add an errback command, to show bad handling of newlines not
returning to carriage.
2012-05-06 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Provide a real stderr by default.
2012-05-05 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
For commands without subcommands, fix usage and %command.
2011-08-29 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
For commands with subcommands, copy over summary if description
is missing.
2011-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Without a description, format_description never gets called,
so we don't see subcommands. Assert.
2011-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
* manholecmd.py:
* test_command.py:
PEP8 cleanups.
2011-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Since we use properties (introduced in python 2.2), make
Command a new-style class.
2011-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
* test_command.py:
Make automatic naming work for new-style classes.
2011-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
* manholecmd.py:
Remove unused modules.
2011-05-30 Thomas Vander Stichele <thomas at apestaart dot org>
* test_command.py:
Usage goes to stdout now.
2011-04-16 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Docs, cleanups.
Actually return the result of the Command.parse invocation
in the do_* handler.
* manholecmd.py:
Handle and wait for deferreds from the do_* handler in the
interpreter before showing the next command prompt.
Fix the example you get by running it, and add a defer command
to show the deferred handling.
2011-04-16 Thomas Vander Stichele <thomas at apestaart dot org>
* manholecmd.py:
Factor out terminal resetting methods into a Stdio class.
Fix up example again.
2011-04-03 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Set cmdClass.command properly.
* manholecmd.py:
Make sure we set stdout on the root command, so it trickles down.
2011-04-03 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Fixed wrong parse delegation.
Make stderr a property too for now.
Don't set too many stdout/stderr.
2011-04-03 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Don't set stdout/stderr by default.
Make stdout a property; have commands delegate upwards if not set.
Encode utf-8 commands for output.
* manholecmd.py:
Make sure we don't get unicode.
Don't reset and clear the screen when we stop.
System out to stty sane for now.
2011-04-02 Thomas Vander Stichele <thomas at apestaart dot org>
* manholecmd.py:
Use our own ServerProtocol subclass that does not reset terminal
when Ctrl-D is pressed.
2011-04-02 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Fix more wrong stdout redirection.
2011-04-02 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Add commandToCmdClass as the preferred interface.
2011-04-02 Thomas Vander Stichele <thomas at apestaart dot org>
* manholecmd.py (added):
A way of using Twisted's manhole to create a REPL using
the cmd.Cmd class and integrating with Twisted's reactor.
2011-01-09 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Input from the command loop is coming from the terminal.
Most likely it is utf-8-encoded, so decode it to unicode before
invoking do.
2010-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
* help2man.py:
pep-8 and pychecker fixes.
2009-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Fix pep8 error.
2009-11-01 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Allow natural formatting of a list, identified by a line that
starts with a space then a dash.
2009-11-01 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Add aliases to the interpreter as well.
2009-11-01 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Allow a command with subcommands to implement a specific do()
as well if no arguments are given.
Add a method to give you a cmd.Cmd-style object that can be used
to implement a shell main loop.
2009-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Add getFullName method, to give you the full command name (with
parent commands).
Add file parameters to usage and help output, so we can redirect
somewhere else. Also add a width parameter to control the width
of that output.
2009-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
BaseException.message existed and is deprecated, so rename.
Also output the output in the exception.
2009-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Add CommandExited and subclasses, so we can have a
common subclass for command classes that start their
do() method with the same code to check arguments/conditions,
then raise if they don't.
2009-05-23 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Fix reference in docstring.
2008-08-30 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Change usage to not include the own name. This allows us
to do the right default thing for commands with subcommands.
2008-08-03 Thomas Vander Stichele <thomas at apestaart dot org>
* test_command.py:
Fix test.
2008-08-01 Thomas Vander Stichele <thomas at apestaart dot org>
patch by: Johan Dahlin
* command.py:
* test_command.py:
Clean up with pep8.py
2008-07-31 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Allowing returning None, to indicate nothing was done,
so help can properly fall through.
2008-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
* test_command.py:
Fix test after we made exit stop raising SystemExit
2008-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
add OptionParser.{help,usage}_printed so that Command subclasses
that override parse can exit properly as soon as help or usage
is printed.
2008-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Override exit() so that we don't actually exit when used in
an interactive shell.
Add API docs.
2007-07-19 Thomas Vander Stichele <thomas at apestaart dot org>
* test_command.py:
Seems on F7 that optparse outputs a capital for the first letter.
2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
* test_command.py:
Add tests from Savon.
2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
* command.py:
Add help command. Fixes #240.