source: trunk/moap/extern/command/ChangeLog @ 518

Revision 518, 7.4 KB checked in by thomas, 9 months ago (diff)
  • command.py: Add stubs for info and warning.
  • tcommand.py: Debug exceptions and failures.
Line 
12012-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3        * command.py:
4          Add stubs for info and warning.
5        * tcommand.py:
6          Debug exceptions and failures.
7
82012-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9
10        * command.py:
11          Add debugging on return values.
12
132012-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14
15        * command.py:
16          Add debugging when going into subcommand methods.
17          Show which python class implements a command.
18
192012-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20
21        * manholecmd.py:
22          Add an errback command, to show bad handling of newlines not
23          returning to carriage.
24
252012-05-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26
27        * command.py:
28          Provide a real stderr by default.
29
302012-05-05  Thomas Vander Stichele  <thomas at apestaart dot org>
31
32        * command.py:
33          For commands without subcommands, fix usage and %command.
34
352011-08-29  Thomas Vander Stichele  <thomas at apestaart dot org>
36
37        * command.py:
38          For commands with subcommands, copy over summary if description
39          is missing.
40
412011-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
42
43        * command.py:
44          Without a description, format_description never gets called,
45          so we don't see subcommands.  Assert.
46
472011-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
48
49        * command.py:
50        * manholecmd.py:
51        * test_command.py:
52          PEP8 cleanups.
53
542011-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
55
56        * command.py:
57          Since we use properties (introduced in python 2.2), make
58          Command a new-style class.
59
602011-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
61
62        * command.py:
63        * test_command.py:
64          Make automatic naming work for new-style classes.
65
662011-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
67
68        * manholecmd.py:
69          Remove unused modules.
70
712011-05-30  Thomas Vander Stichele  <thomas at apestaart dot org>
72
73        * test_command.py:
74          Usage goes to stdout now.
75
762011-04-16  Thomas Vander Stichele  <thomas at apestaart dot org>
77
78        * command.py:
79          Docs, cleanups.
80          Actually return the result of the Command.parse invocation
81          in the do_* handler.
82        * manholecmd.py:
83          Handle and wait for deferreds from the do_* handler in the
84          interpreter before showing the next command prompt.
85          Fix the example you get by running it, and add a defer command
86          to show the deferred handling.
87
882011-04-16  Thomas Vander Stichele  <thomas at apestaart dot org>
89
90        * manholecmd.py:
91          Factor out terminal resetting methods into a Stdio class.
92          Fix up example again.
93
942011-04-03  Thomas Vander Stichele  <thomas at apestaart dot org>
95
96        * command.py:
97          Set cmdClass.command properly.
98        * manholecmd.py:
99          Make sure we set stdout on the root command, so it trickles down.
100
1012011-04-03  Thomas Vander Stichele  <thomas at apestaart dot org>
102
103        * command.py:
104          Fixed wrong parse delegation.
105          Make stderr a property too for now.
106          Don't set too many stdout/stderr.
107
1082011-04-03  Thomas Vander Stichele  <thomas at apestaart dot org>
109
110        * command.py:
111          Don't set stdout/stderr by default.
112          Make stdout a property; have commands delegate upwards if not set.
113          Encode utf-8 commands for output.
114        * manholecmd.py:
115          Make sure we don't get unicode.
116          Don't reset and clear the screen when we stop.
117          System out to stty sane for now.
118
1192011-04-02  Thomas Vander Stichele  <thomas at apestaart dot org>
120
121        * manholecmd.py:
122          Use our own ServerProtocol subclass that does not reset terminal
123          when Ctrl-D is pressed.
124
1252011-04-02  Thomas Vander Stichele  <thomas at apestaart dot org>
126
127        * command.py:
128          Fix more wrong stdout redirection.
129
1302011-04-02  Thomas Vander Stichele  <thomas at apestaart dot org>
131
132        * command.py:
133          Add commandToCmdClass as the preferred interface.
134
1352011-04-02  Thomas Vander Stichele  <thomas at apestaart dot org>
136
137        * manholecmd.py (added):
138          A way of using Twisted's manhole to create a REPL using
139          the cmd.Cmd class and integrating with Twisted's reactor.
140
1412011-01-09  Thomas Vander Stichele  <thomas at apestaart dot org>
142
143        * command.py:
144          Input from the command loop is coming from the terminal.
145          Most likely it is utf-8-encoded, so decode it to unicode before
146          invoking do.
147
1482010-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
149
150        * command.py:
151        * help2man.py:
152          pep-8 and pychecker fixes.
153
1542009-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
155
156        * command.py:
157          Fix pep8 error.
158
1592009-11-01  Thomas Vander Stichele  <thomas at apestaart dot org>
160
161        * command.py:
162          Allow natural formatting of a list, identified by a line that
163          starts with a space then a dash.
164
1652009-11-01  Thomas Vander Stichele  <thomas at apestaart dot org>
166
167        * command.py:
168          Add aliases to the interpreter as well.
169
1702009-11-01  Thomas Vander Stichele  <thomas at apestaart dot org>
171
172        * command.py:
173          Allow a command with subcommands to implement a specific do()
174          as well if no arguments are given.
175
176          Add a method to give you a cmd.Cmd-style object that can be used
177          to implement a shell main loop.
178
1792009-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
180
181        * command.py:
182          Add getFullName method, to give you the full command name (with
183          parent commands).
184          Add file parameters to usage and help output, so we can redirect
185          somewhere else.  Also add a width parameter to control the width
186          of that output.
187
1882009-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
189
190        * command.py:
191          BaseException.message existed and is deprecated, so rename.
192          Also output the output in the exception.
193
1942009-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
195
196        * command.py:
197          Add CommandExited and subclasses, so we can have a
198          common subclass for command classes that start their
199          do() method with the same code to check arguments/conditions,
200          then raise if they don't.
201
2022009-05-23  Thomas Vander Stichele  <thomas at apestaart dot org>
203
204        * command.py:
205          Fix reference in docstring.
206
2072008-08-30  Thomas Vander Stichele  <thomas at apestaart dot org>
208
209        * command.py:
210          Change usage to not include the own name.  This allows us
211          to do the right default thing for commands with subcommands.
212
2132008-08-03  Thomas Vander Stichele  <thomas at apestaart dot org>
214
215        * test_command.py:
216          Fix test.
217
2182008-08-01  Thomas Vander Stichele  <thomas at apestaart dot org>
219
220        patch by: Johan Dahlin
221
222        * command.py:
223        * test_command.py:
224          Clean up with pep8.py
225
2262008-07-31  Thomas Vander Stichele  <thomas at apestaart dot org>
227
228        * command.py:
229          Allowing returning None, to indicate nothing was done,
230          so help can properly fall through.
231
2322008-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
233
234        * test_command.py:
235          Fix test after we made exit stop raising SystemExit
236
2372008-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
238
239        * command.py:
240          add OptionParser.{help,usage}_printed so that Command subclasses
241          that override parse can exit properly as soon as help or usage
242          is printed.
243
2442008-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
245
246        * command.py:
247          Override exit() so that we don't actually exit when used in
248          an interactive shell.
249          Add API docs.
250
2512007-07-19  Thomas Vander Stichele  <thomas at apestaart dot org>
252
253        * test_command.py:
254          Seems on F7 that optparse outputs a capital for the first letter.
255
2562007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
257
258        * test_command.py:
259          Add tests from Savon.
260
2612007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
262
263        * command.py:
264          Add help command.  Fixes #240.
Note: See TracBrowser for help on using the repository browser.