~forest-bond/sclapp/dev

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
====================
sclapp Release Notes
====================

.. contents::


sclapp 0.5.2 2008-05-19
=======================

 * Shell: save interpolated command as last command.  This makes CommandFailed
   and CommandSignalled exceptions present the fully interpolated command, and
   causes functions that return the command (execute, follow, etc.) to return
   that instead of the uninterpolated version.
   (Forest Bond)

 * Shell: use pre-adjusted command for trace.  This causes curly braces that
   are added to the command before execution to be omitted from the trace
   output.
   (Forest Bond)

 * Shell: follow* methods now support keyword argument ``follow_input``.  If
   this argument is True, the executed command will be present in the output
   stream of characters.  The default is False.
   (Forest Bond)

 * Shell.interact: wrap underlying pexpect.spawn.interact in a way that makes
   the resulting interactive shell useful to humans.  Previously, calling this
   method presented a fragile interactive shell lacking much usability.
   (Forest Bond)

 * Shell: the default pexpect behavior is now overridden for ``__del__``.
   pexpect closes the pty device from ``__del__``, but this mechanism is
   unreliable, as ``__del__`` is not guaranteed to be called under all
   circumstances.
   (Forest Bond)

 * Shell.interact: support keyword argument ``fitted``.  This causes the shell
   to be passed SIGWINCH each time such a signal is received, as well as for
   the initial window size of the shell to be set to that of sys.stdout.  This
   argument defaults to False.
   (Forest Bond)

 * logWrapper: correctly pass along return value from wrapped function.
   (Forest Bond)

 * Shell now supports keyword argument delaybeforesend.  This sets a delay that
   is used before any input is sent to the shell process.  The default delay is
   determined by the underlying pexpect library.
   (Forest Bond)

 * Integrate tests into setup.py.  Tests can now be run with
   ``./setup.py test``.
   (Forest Bond)

 * Provide sclapp.locale, which is just the standard locale module, however, it
   is imported in such a way as to force Darwin systems to respect the LC_* and
   LANG environment variables.  Callers are encouraged to import the locale
   module from sclapp, rather than importing it directly.
   (Forest Bond)

 * Shell.exit now calls ``close``, which closes the pty device.
   (Forest Bond)

 * Provide ``--tests`` option to setup.py test sub-command to enable specific
   tests to be run, rather than always running the entire test suite.


sclapp 0.5.1 2008-03-07
=======================

 * Fixed Shell trace output does not include interpolated values.
   (Forest Bond)

 * Implemented ``decode_argv`` for ``main_function``, ``mainWrapper``.  Members
   of the ``argv`` argument to main function will be decoded to Unicode unless
   ``decode_argv`` is set to False.
   (Forest Bond)

 * Fixed UnicodeEncodeError with Shell.followWrite, Shell.followWriteReturn.
   (Forest Bond)

 * Fixed bug in setup.py causing version information to be excluded from
   generated .egg file.  
   (Forest Bond)

 * Fleshed out more metadata in setup.py; the following fields were added:

    - author
    - author_email
    - url
    - license
    - description

   (Forest Bond)

 * Shell: Fix UnicodeEncodeError when interpolating unicode strings into byte
   strings.
   (Forest Bond)

 * ``Shell.exit``: fix call to wrongly-named method ``sendEOF``; should have
   been ``sendeof``.
   (Forest Bond)


sclapp 0.5.0 2007-12-16
=======================

 * Added NEWS file; sorry for the previous absence.
   (Forest Bond)

 * [NEWS file not present]