##// END OF EJS Templates
whitespace cleanup
vivainio -
r501:fea958f6
parent child
Show More
@@ -1,6100 +1,6101
1 2006-12-13 Fernando Perez <Fernando.Perez@colorado.edu>
1 2006-12-13 Fernando Perez <Fernando.Perez@colorado.edu>
2
2
3 * IPython/Shell.py (IPShellWX): update for current WX naming
3 * IPython/Shell.py (IPShellWX): update for current WX naming
4 conventions, to avoid a deprecation warning with current WX
4 conventions, to avoid a deprecation warning with current WX
5 versions. Thanks to a report by Danny Shevitz.
5 versions. Thanks to a report by Danny Shevitz.
6
6
7 2006-12-12 Ville Vainio <vivainio@gmail.com>
7 2006-12-12 Ville Vainio <vivainio@gmail.com>
8
8
9 * ipmaker.py: apply david cournapeau's patch to make
9 * ipmaker.py: apply david cournapeau's patch to make
10 import_some work properly even when ipythonrc does
10 import_some work properly even when ipythonrc does
11 import_some on empty list (it was an old bug!).
11 import_some on empty list (it was an old bug!).
12
12
13 2006-12-12 Ville Vainio <vivainio@gmail.com>
13 2006-12-12 Ville Vainio <vivainio@gmail.com>
14
14
15 * ipmaker.py: apply david cournapeau's patch to make
15 * ipmaker.py: apply david cournapeau's patch to make
16 import_some work properly even when ipythonrc does
16 import_some work properly even when ipythonrc does
17 import_some on empty list (it was an old bug!).
17 import_some on empty list (it was an old bug!).
18
18
19 * UserConfig/ipy_user_conf.py, UserConfig/ipythonrc:
19 * UserConfig/ipy_user_conf.py, UserConfig/ipythonrc:
20 Add deprecation note to ipythonrc and a url to wiki
20 Add deprecation note to ipythonrc and a url to wiki
21 in ipy_user_conf.py
21 in ipy_user_conf.py
22
22
23 * Magic.py (%run): %run myscript.ipy now runs myscript.ipy
23
24 as if it was typed on IPython command prompt, i.e.
24 * Magic.py (%run): %run myscript.ipy now runs myscript.ipy
25 as IPython script.
25 as if it was typed on IPython command prompt, i.e.
26 as IPython script.
26
27
27 * example-magic.py, magic_grepl.py: remove outdated examples
28 * example-magic.py, magic_grepl.py: remove outdated examples
28
29
29 2006-12-08 Ville Vainio <vivainio@gmail.com>
30 2006-12-08 Ville Vainio <vivainio@gmail.com>
30
31
31 * Extensions/ipy_stock_completers.py.py: fix cd completer
32 * Extensions/ipy_stock_completers.py.py: fix cd completer
32 to translate /'s to \'s again.
33 to translate /'s to \'s again.
33
34
34 * completer.py: prevent traceback on file completions w/
35 * completer.py: prevent traceback on file completions w/
35 backslash.
36 backslash.
36
37
37 * Release.py: Update release number to 0.7.3b3 for release
38 * Release.py: Update release number to 0.7.3b3 for release
38
39
39 2006-12-07 Ville Vainio <vivainio@gmail.com>
40 2006-12-07 Ville Vainio <vivainio@gmail.com>
40
41
41 * Extensions/ipy_signals.py: Ignore ctrl+C in IPython process
42 * Extensions/ipy_signals.py: Ignore ctrl+C in IPython process
42 while executing external code. Provides more shell-like behaviour
43 while executing external code. Provides more shell-like behaviour
43 and overall better response to ctrl + C / ctrl + break.
44 and overall better response to ctrl + C / ctrl + break.
44
45
45 * tools/make_tarball.py: new script to create tarball straight from svn
46 * tools/make_tarball.py: new script to create tarball straight from svn
46 (setup.py sdist doesn't work on win32).
47 (setup.py sdist doesn't work on win32).
47
48
48 * Extensions/ipy_stock_completers.py: fix cd completer to give up
49 * Extensions/ipy_stock_completers.py: fix cd completer to give up
49 on dirnames with spaces and use the default completer instead.
50 on dirnames with spaces and use the default completer instead.
50
51
51 * Revision.py: Change version to 0.7.3b2 for release.
52 * Revision.py: Change version to 0.7.3b2 for release.
52
53
53 2006-12-05 Ville Vainio <vivainio@gmail.com>
54 2006-12-05 Ville Vainio <vivainio@gmail.com>
54
55
55 * Magic.py, iplib.py, completer.py: Apply R. Bernstein's
56 * Magic.py, iplib.py, completer.py: Apply R. Bernstein's
56 pydb patch 4 (rm debug printing, py 2.5 checking)
57 pydb patch 4 (rm debug printing, py 2.5 checking)
57
58
58 2006-11-30 Walter Doerwald <walter@livinglogic.de>
59 2006-11-30 Walter Doerwald <walter@livinglogic.de>
59 * IPython/Extensions/ibrowse.py: Add two new commands to ibrowse:
60 * IPython/Extensions/ibrowse.py: Add two new commands to ibrowse:
60 "refresh" (mapped to "r") refreshes the screen by restarting the iterator.
61 "refresh" (mapped to "r") refreshes the screen by restarting the iterator.
61 "refreshfind" (mapped to "R") does the same but tries to go back to the same
62 "refreshfind" (mapped to "R") does the same but tries to go back to the same
62 object the cursor was on before the refresh. The command "markrange" is
63 object the cursor was on before the refresh. The command "markrange" is
63 mapped to "%" now.
64 mapped to "%" now.
64 * IPython/Extensions/ibrowse.py: Make igrpentry and ipwdentry comparable.
65 * IPython/Extensions/ibrowse.py: Make igrpentry and ipwdentry comparable.
65
66
66 2006-11-29 Fernando Perez <Fernando.Perez@colorado.edu>
67 2006-11-29 Fernando Perez <Fernando.Perez@colorado.edu>
67
68
68 * IPython/Magic.py (magic_debug): new %debug magic to activate the
69 * IPython/Magic.py (magic_debug): new %debug magic to activate the
69 interactive debugger on the last traceback, without having to call
70 interactive debugger on the last traceback, without having to call
70 %pdb and rerun your code. Made minor changes in various modules,
71 %pdb and rerun your code. Made minor changes in various modules,
71 should automatically recognize pydb if available.
72 should automatically recognize pydb if available.
72
73
73 2006-11-28 Ville Vainio <vivainio@gmail.com>
74 2006-11-28 Ville Vainio <vivainio@gmail.com>
74
75
75 * completer.py: If the text start with !, show file completions
76 * completer.py: If the text start with !, show file completions
76 properly. This helps when trying to complete command name
77 properly. This helps when trying to complete command name
77 for shell escapes.
78 for shell escapes.
78
79
79 2006-11-27 Ville Vainio <vivainio@gmail.com>
80 2006-11-27 Ville Vainio <vivainio@gmail.com>
80
81
81 * ipy_stock_completers.py: bzr completer submitted by Stefan van
82 * ipy_stock_completers.py: bzr completer submitted by Stefan van
82 der Walt. Clean up svn and hg completers by using a common
83 der Walt. Clean up svn and hg completers by using a common
83 vcs_completer.
84 vcs_completer.
84
85
85 2006-11-26 Ville Vainio <vivainio@gmail.com>
86 2006-11-26 Ville Vainio <vivainio@gmail.com>
86
87
87 * Remove ipconfig and %config; you should use _ip.options structure
88 * Remove ipconfig and %config; you should use _ip.options structure
88 directly instead!
89 directly instead!
89
90
90 * genutils.py: add wrap_deprecated function for deprecating callables
91 * genutils.py: add wrap_deprecated function for deprecating callables
91
92
92 * iplib.py: deprecate ipmagic, ipsystem, ipalias. Use _ip.magic and
93 * iplib.py: deprecate ipmagic, ipsystem, ipalias. Use _ip.magic and
93 _ip.system instead. ipalias is redundant.
94 _ip.system instead. ipalias is redundant.
94
95
95 * Magic.py: %rehashdir no longer aliases 'cmdname' to 'cmdname.exe' on
96 * Magic.py: %rehashdir no longer aliases 'cmdname' to 'cmdname.exe' on
96 win32, but just 'cmdname'. Other extensions (non-'exe') are still made
97 win32, but just 'cmdname'. Other extensions (non-'exe') are still made
97 explicit.
98 explicit.
98
99
99 * ipy_stock_completers.py: 'hg' (mercurial VCS) now has a custom
100 * ipy_stock_completers.py: 'hg' (mercurial VCS) now has a custom
100 completer. Try it by entering 'hg ' and pressing tab.
101 completer. Try it by entering 'hg ' and pressing tab.
101
102
102 * macro.py: Give Macro a useful __repr__ method
103 * macro.py: Give Macro a useful __repr__ method
103
104
104 * Magic.py: %whos abbreviates the typename of Macro for brevity.
105 * Magic.py: %whos abbreviates the typename of Macro for brevity.
105
106
106 2006-11-24 Walter Doerwald <walter@livinglogic.de>
107 2006-11-24 Walter Doerwald <walter@livinglogic.de>
107 * IPython/Extensions/astyle.py: Do a relative import of ipipe, so that
108 * IPython/Extensions/astyle.py: Do a relative import of ipipe, so that
108 we don't get a duplicate ipipe module, where registration of the xrepr
109 we don't get a duplicate ipipe module, where registration of the xrepr
109 implementation for Text is useless.
110 implementation for Text is useless.
110
111
111 * IPython/Extensions/ipipe.py: Fix __xrepr__() implementation for ils.
112 * IPython/Extensions/ipipe.py: Fix __xrepr__() implementation for ils.
112
113
113 * IPython/Extensions/ibrowse.py: Fix keymapping for the enter command.
114 * IPython/Extensions/ibrowse.py: Fix keymapping for the enter command.
114
115
115 2006-11-24 Ville Vainio <vivainio@gmail.com>
116 2006-11-24 Ville Vainio <vivainio@gmail.com>
116
117
117 * Magic.py, manual_base.lyx: Kirill Smelkov patch:
118 * Magic.py, manual_base.lyx: Kirill Smelkov patch:
118 try to use "cProfile" instead of the slower pure python
119 try to use "cProfile" instead of the slower pure python
119 "profile"
120 "profile"
120
121
121 2006-11-23 Ville Vainio <vivainio@gmail.com>
122 2006-11-23 Ville Vainio <vivainio@gmail.com>
122
123
123 * manual_base.lyx: Kirill Smelkov patch: Fix wrong
124 * manual_base.lyx: Kirill Smelkov patch: Fix wrong
124 Qt+IPython+Designer link in documentation.
125 Qt+IPython+Designer link in documentation.
125
126
126 * Extensions/ipy_pydb.py: R. Bernstein's patch for passing
127 * Extensions/ipy_pydb.py: R. Bernstein's patch for passing
127 correct Pdb object to %pydb.
128 correct Pdb object to %pydb.
128
129
129
130
130 2006-11-22 Walter Doerwald <walter@livinglogic.de>
131 2006-11-22 Walter Doerwald <walter@livinglogic.de>
131 * IPython/Extensions/astyle.py: Text needs it's own implemenation of the
132 * IPython/Extensions/astyle.py: Text needs it's own implemenation of the
132 generic xrepr(), otherwise the list implementation would kick in.
133 generic xrepr(), otherwise the list implementation would kick in.
133
134
134 2006-11-21 Ville Vainio <vivainio@gmail.com>
135 2006-11-21 Ville Vainio <vivainio@gmail.com>
135
136
136 * upgrade_dir.py: Now actually overwrites a nonmodified user file
137 * upgrade_dir.py: Now actually overwrites a nonmodified user file
137 with one from UserConfig.
138 with one from UserConfig.
138
139
139 * ipy_profile_sh.py: Add dummy "depth" to var_expand lambda,
140 * ipy_profile_sh.py: Add dummy "depth" to var_expand lambda,
140 it was missing which broke the sh profile.
141 it was missing which broke the sh profile.
141
142
142 * completer.py: file completer now uses explicit '/' instead
143 * completer.py: file completer now uses explicit '/' instead
143 of os.path.join, expansion of 'foo' was broken on win32
144 of os.path.join, expansion of 'foo' was broken on win32
144 if there was one directory with name 'foobar'.
145 if there was one directory with name 'foobar'.
145
146
146 * A bunch of patches from Kirill Smelkov:
147 * A bunch of patches from Kirill Smelkov:
147
148
148 * [patch 9/9] doc: point bug-tracker URL to IPythons trac-tickets.
149 * [patch 9/9] doc: point bug-tracker URL to IPythons trac-tickets.
149
150
150 * [patch 7/9] Implement %page -r (page in raw mode) -
151 * [patch 7/9] Implement %page -r (page in raw mode) -
151
152
152 * [patch 5/9] ScientificPython webpage has moved
153 * [patch 5/9] ScientificPython webpage has moved
153
154
154 * [patch 4/9] The manual mentions %ds, should be %dhist
155 * [patch 4/9] The manual mentions %ds, should be %dhist
155
156
156 * [patch 3/9] Kill old bits from %prun doc.
157 * [patch 3/9] Kill old bits from %prun doc.
157
158
158 * [patch 1/9] Fix typos here and there.
159 * [patch 1/9] Fix typos here and there.
159
160
160 2006-11-08 Ville Vainio <vivainio@gmail.com>
161 2006-11-08 Ville Vainio <vivainio@gmail.com>
161
162
162 * completer.py (attr_matches): catch all exceptions raised
163 * completer.py (attr_matches): catch all exceptions raised
163 by eval of expr with dots.
164 by eval of expr with dots.
164
165
165 2006-11-07 Fernando Perez <Fernando.Perez@colorado.edu>
166 2006-11-07 Fernando Perez <Fernando.Perez@colorado.edu>
166
167
167 * IPython/iplib.py (runsource): Prepend an 'if 1:' to the user
168 * IPython/iplib.py (runsource): Prepend an 'if 1:' to the user
168 input if it starts with whitespace. This allows you to paste
169 input if it starts with whitespace. This allows you to paste
169 indented input from any editor without manually having to type in
170 indented input from any editor without manually having to type in
170 the 'if 1:', which is convenient when working interactively.
171 the 'if 1:', which is convenient when working interactively.
171 Slightly modifed version of a patch by Bo Peng
172 Slightly modifed version of a patch by Bo Peng
172 <bpeng-AT-rice.edu>.
173 <bpeng-AT-rice.edu>.
173
174
174 2006-11-03 Fernando Perez <Fernando.Perez@colorado.edu>
175 2006-11-03 Fernando Perez <Fernando.Perez@colorado.edu>
175
176
176 * IPython/irunner.py (main): modified irunner so it automatically
177 * IPython/irunner.py (main): modified irunner so it automatically
177 recognizes the right runner to use based on the extension (.py for
178 recognizes the right runner to use based on the extension (.py for
178 python, .ipy for ipython and .sage for sage).
179 python, .ipy for ipython and .sage for sage).
179
180
180 * IPython/iplib.py (InteractiveShell.ipconfig): new builtin, also
181 * IPython/iplib.py (InteractiveShell.ipconfig): new builtin, also
181 visible in ipapi as ip.config(), to programatically control the
182 visible in ipapi as ip.config(), to programatically control the
182 internal rc object. There's an accompanying %config magic for
183 internal rc object. There's an accompanying %config magic for
183 interactive use, which has been enhanced to match the
184 interactive use, which has been enhanced to match the
184 funtionality in ipconfig.
185 funtionality in ipconfig.
185
186
186 * IPython/Magic.py (magic_system_verbose): Change %system_verbose
187 * IPython/Magic.py (magic_system_verbose): Change %system_verbose
187 so it's not just a toggle, it now takes an argument. Add support
188 so it's not just a toggle, it now takes an argument. Add support
188 for a customizable header when making system calls, as the new
189 for a customizable header when making system calls, as the new
189 system_header variable in the ipythonrc file.
190 system_header variable in the ipythonrc file.
190
191
191 2006-11-03 Walter Doerwald <walter@livinglogic.de>
192 2006-11-03 Walter Doerwald <walter@livinglogic.de>
192
193
193 * IPython/Extensions/ipipe.py: xrepr(), xiter() and xattrs() are now
194 * IPython/Extensions/ipipe.py: xrepr(), xiter() and xattrs() are now
194 generic functions (using Philip J. Eby's simplegeneric package).
195 generic functions (using Philip J. Eby's simplegeneric package).
195 This makes it possible to customize the display of third-party classes
196 This makes it possible to customize the display of third-party classes
196 without having to monkeypatch them. xiter() no longer supports a mode
197 without having to monkeypatch them. xiter() no longer supports a mode
197 argument and the XMode class has been removed. The same functionality can
198 argument and the XMode class has been removed. The same functionality can
198 be implemented via IterAttributeDescriptor and IterMethodDescriptor.
199 be implemented via IterAttributeDescriptor and IterMethodDescriptor.
199 One consequence of the switch to generic functions is that xrepr() and
200 One consequence of the switch to generic functions is that xrepr() and
200 xattrs() implementation must define the default value for the mode
201 xattrs() implementation must define the default value for the mode
201 argument themselves and xattrs() implementations must return real
202 argument themselves and xattrs() implementations must return real
202 descriptors.
203 descriptors.
203
204
204 * IPython/external: This new subpackage will contain all third-party
205 * IPython/external: This new subpackage will contain all third-party
205 packages that are bundled with IPython. (The first one is simplegeneric).
206 packages that are bundled with IPython. (The first one is simplegeneric).
206
207
207 * IPython/Extensions/ipipe.py (ifile/ils): Readd output of the parent
208 * IPython/Extensions/ipipe.py (ifile/ils): Readd output of the parent
208 directory which as been dropped in r1703.
209 directory which as been dropped in r1703.
209
210
210 * IPython/Extensions/ipipe.py (iless): Fixed.
211 * IPython/Extensions/ipipe.py (iless): Fixed.
211
212
212 * IPython/Extensions/ibrowse: Fixed sorting under Python 2.3.
213 * IPython/Extensions/ibrowse: Fixed sorting under Python 2.3.
213
214
214 2006-11-03 Fernando Perez <Fernando.Perez@colorado.edu>
215 2006-11-03 Fernando Perez <Fernando.Perez@colorado.edu>
215
216
216 * IPython/iplib.py (InteractiveShell.var_expand): fix stack
217 * IPython/iplib.py (InteractiveShell.var_expand): fix stack
217 handling in variable expansion so that shells and magics recognize
218 handling in variable expansion so that shells and magics recognize
218 function local scopes correctly. Bug reported by Brian.
219 function local scopes correctly. Bug reported by Brian.
219
220
220 * scripts/ipython: remove the very first entry in sys.path which
221 * scripts/ipython: remove the very first entry in sys.path which
221 Python auto-inserts for scripts, so that sys.path under IPython is
222 Python auto-inserts for scripts, so that sys.path under IPython is
222 as similar as possible to that under plain Python.
223 as similar as possible to that under plain Python.
223
224
224 * IPython/completer.py (IPCompleter.file_matches): Fix
225 * IPython/completer.py (IPCompleter.file_matches): Fix
225 tab-completion so that quotes are not closed unless the completion
226 tab-completion so that quotes are not closed unless the completion
226 is unambiguous. After a request by Stefan. Minor cleanups in
227 is unambiguous. After a request by Stefan. Minor cleanups in
227 ipy_stock_completers.
228 ipy_stock_completers.
228
229
229 2006-11-02 Ville Vainio <vivainio@gmail.com>
230 2006-11-02 Ville Vainio <vivainio@gmail.com>
230
231
231 * ipy_stock_completers.py: Add %run and %cd completers.
232 * ipy_stock_completers.py: Add %run and %cd completers.
232
233
233 * completer.py: Try running custom completer for both
234 * completer.py: Try running custom completer for both
234 "foo" and "%foo" if the command is just "foo". Ignore case
235 "foo" and "%foo" if the command is just "foo". Ignore case
235 when filtering possible completions.
236 when filtering possible completions.
236
237
237 * UserConfig/ipy_user_conf.py: install stock completers as default
238 * UserConfig/ipy_user_conf.py: install stock completers as default
238
239
239 * iplib.py (history_saving_wrapper), debugger(), ipy_pydb.py:
240 * iplib.py (history_saving_wrapper), debugger(), ipy_pydb.py:
240 simplified readline history save / restore through a wrapper
241 simplified readline history save / restore through a wrapper
241 function
242 function
242
243
243
244
244 2006-10-31 Ville Vainio <vivainio@gmail.com>
245 2006-10-31 Ville Vainio <vivainio@gmail.com>
245
246
246 * strdispatch.py, completer.py, ipy_stock_completers.py:
247 * strdispatch.py, completer.py, ipy_stock_completers.py:
247 Allow str_key ("command") in completer hooks. Implement
248 Allow str_key ("command") in completer hooks. Implement
248 trivial completer for 'import' (stdlib modules only). Rename
249 trivial completer for 'import' (stdlib modules only). Rename
249 ipy_linux_package_managers.py to ipy_stock_completers.py.
250 ipy_linux_package_managers.py to ipy_stock_completers.py.
250 SVN completer.
251 SVN completer.
251
252
252 * Extensions/ledit.py: %magic line editor for easily and
253 * Extensions/ledit.py: %magic line editor for easily and
253 incrementally manipulating lists of strings. The magic command
254 incrementally manipulating lists of strings. The magic command
254 name is %led.
255 name is %led.
255
256
256 2006-10-30 Ville Vainio <vivainio@gmail.com>
257 2006-10-30 Ville Vainio <vivainio@gmail.com>
257
258
258 * Debugger.py, iplib.py (debugger()): Add last set of Rocky
259 * Debugger.py, iplib.py (debugger()): Add last set of Rocky
259 Bernsteins's patches for pydb integration.
260 Bernsteins's patches for pydb integration.
260 http://bashdb.sourceforge.net/pydb/
261 http://bashdb.sourceforge.net/pydb/
261
262
262 * strdispatch.py, iplib.py, completer.py, IPython/__init__.py,
263 * strdispatch.py, iplib.py, completer.py, IPython/__init__.py,
263 Extensions/ipy_linux_package_managers.py, hooks.py: Implement
264 Extensions/ipy_linux_package_managers.py, hooks.py: Implement
264 custom completer hook to allow the users to implement their own
265 custom completer hook to allow the users to implement their own
265 completers. See ipy_linux_package_managers.py for example. The
266 completers. See ipy_linux_package_managers.py for example. The
266 hook name is 'complete_command'.
267 hook name is 'complete_command'.
267
268
268 2006-10-28 Fernando Perez <Fernando.Perez@colorado.edu>
269 2006-10-28 Fernando Perez <Fernando.Perez@colorado.edu>
269
270
270 * IPython/UserConfig/ipythonrc-scipy: minor cleanups to remove old
271 * IPython/UserConfig/ipythonrc-scipy: minor cleanups to remove old
271 Numeric leftovers.
272 Numeric leftovers.
272
273
273 * ipython.el (py-execute-region): apply Stefan's patch to fix
274 * ipython.el (py-execute-region): apply Stefan's patch to fix
274 garbled results if the python shell hasn't been previously started.
275 garbled results if the python shell hasn't been previously started.
275
276
276 * IPython/genutils.py (arg_split): moved to genutils, since it's a
277 * IPython/genutils.py (arg_split): moved to genutils, since it's a
277 pretty generic function and useful for other things.
278 pretty generic function and useful for other things.
278
279
279 * IPython/OInspect.py (getsource): Add customizable source
280 * IPython/OInspect.py (getsource): Add customizable source
280 extractor. After a request/patch form W. Stein (SAGE).
281 extractor. After a request/patch form W. Stein (SAGE).
281
282
282 * IPython/irunner.py (InteractiveRunner.run_source): reset tty
283 * IPython/irunner.py (InteractiveRunner.run_source): reset tty
283 window size to a more reasonable value from what pexpect does,
284 window size to a more reasonable value from what pexpect does,
284 since their choice causes wrapping bugs with long input lines.
285 since their choice causes wrapping bugs with long input lines.
285
286
286 2006-10-28 Ville Vainio <vivainio@gmail.com>
287 2006-10-28 Ville Vainio <vivainio@gmail.com>
287
288
288 * Magic.py (%run): Save and restore the readline history from
289 * Magic.py (%run): Save and restore the readline history from
289 file around %run commands to prevent side effects from
290 file around %run commands to prevent side effects from
290 %runned programs that might use readline (e.g. pydb).
291 %runned programs that might use readline (e.g. pydb).
291
292
292 * extensions/ipy_pydb.py: Adds %pydb magic when imported, for
293 * extensions/ipy_pydb.py: Adds %pydb magic when imported, for
293 invoking the pydb enhanced debugger.
294 invoking the pydb enhanced debugger.
294
295
295 2006-10-23 Walter Doerwald <walter@livinglogic.de>
296 2006-10-23 Walter Doerwald <walter@livinglogic.de>
296
297
297 * IPython/Extensions/ipipe.py (ifile): Remove all methods that
298 * IPython/Extensions/ipipe.py (ifile): Remove all methods that
298 call the base class method and propagate the return value to
299 call the base class method and propagate the return value to
299 ifile. This is now done by path itself.
300 ifile. This is now done by path itself.
300
301
301 2006-10-15 Fernando Perez <Fernando.Perez@colorado.edu>
302 2006-10-15 Fernando Perez <Fernando.Perez@colorado.edu>
302
303
303 * IPython/ipapi.py (IPApi.__init__): Added new entry to public
304 * IPython/ipapi.py (IPApi.__init__): Added new entry to public
304 api: set_crash_handler(), to expose the ability to change the
305 api: set_crash_handler(), to expose the ability to change the
305 internal crash handler.
306 internal crash handler.
306
307
307 * IPython/CrashHandler.py (CrashHandler.__init__): abstract out
308 * IPython/CrashHandler.py (CrashHandler.__init__): abstract out
308 the various parameters of the crash handler so that apps using
309 the various parameters of the crash handler so that apps using
309 IPython as their engine can customize crash handling. Ipmlemented
310 IPython as their engine can customize crash handling. Ipmlemented
310 at the request of SAGE.
311 at the request of SAGE.
311
312
312 2006-10-14 Ville Vainio <vivainio@gmail.com>
313 2006-10-14 Ville Vainio <vivainio@gmail.com>
313
314
314 * Magic.py, ipython.el: applied first "safe" part of Rocky
315 * Magic.py, ipython.el: applied first "safe" part of Rocky
315 Bernstein's patch set for pydb integration.
316 Bernstein's patch set for pydb integration.
316
317
317 * Magic.py (%unalias, %alias): %store'd aliases can now be
318 * Magic.py (%unalias, %alias): %store'd aliases can now be
318 removed with '%unalias'. %alias w/o args now shows most
319 removed with '%unalias'. %alias w/o args now shows most
319 interesting (stored / manually defined) aliases last
320 interesting (stored / manually defined) aliases last
320 where they catch the eye w/o scrolling.
321 where they catch the eye w/o scrolling.
321
322
322 * Magic.py (%rehashx), ext_rehashdir.py: files with
323 * Magic.py (%rehashx), ext_rehashdir.py: files with
323 'py' extension are always considered executable, even
324 'py' extension are always considered executable, even
324 when not in PATHEXT environment variable.
325 when not in PATHEXT environment variable.
325
326
326 2006-10-12 Ville Vainio <vivainio@gmail.com>
327 2006-10-12 Ville Vainio <vivainio@gmail.com>
327
328
328 * jobctrl.py: Add new "jobctrl" extension for spawning background
329 * jobctrl.py: Add new "jobctrl" extension for spawning background
329 processes with "&find /". 'import jobctrl' to try it out. Requires
330 processes with "&find /". 'import jobctrl' to try it out. Requires
330 'subprocess' module, standard in python 2.4+.
331 'subprocess' module, standard in python 2.4+.
331
332
332 * iplib.py (expand_aliases, handle_alias): Aliases expand transitively,
333 * iplib.py (expand_aliases, handle_alias): Aliases expand transitively,
333 so if foo -> bar and bar -> baz, then foo -> baz.
334 so if foo -> bar and bar -> baz, then foo -> baz.
334
335
335 2006-10-09 Fernando Perez <Fernando.Perez@colorado.edu>
336 2006-10-09 Fernando Perez <Fernando.Perez@colorado.edu>
336
337
337 * IPython/Magic.py (Magic.parse_options): add a new posix option
338 * IPython/Magic.py (Magic.parse_options): add a new posix option
338 to allow parsing of input args in magics that doesn't strip quotes
339 to allow parsing of input args in magics that doesn't strip quotes
339 (if posix=False). This also closes %timeit bug reported by
340 (if posix=False). This also closes %timeit bug reported by
340 Stefan.
341 Stefan.
341
342
342 2006-10-03 Ville Vainio <vivainio@gmail.com>
343 2006-10-03 Ville Vainio <vivainio@gmail.com>
343
344
344 * iplib.py (raw_input, interact): Return ValueError catching for
345 * iplib.py (raw_input, interact): Return ValueError catching for
345 raw_input. Fixes infinite loop for sys.stdin.close() or
346 raw_input. Fixes infinite loop for sys.stdin.close() or
346 sys.stdout.close().
347 sys.stdout.close().
347
348
348 2006-09-27 Fernando Perez <Fernando.Perez@colorado.edu>
349 2006-09-27 Fernando Perez <Fernando.Perez@colorado.edu>
349
350
350 * IPython/irunner.py (InteractiveRunner.run_source): small fixes
351 * IPython/irunner.py (InteractiveRunner.run_source): small fixes
351 to help in handling doctests. irunner is now pretty useful for
352 to help in handling doctests. irunner is now pretty useful for
352 running standalone scripts and simulate a full interactive session
353 running standalone scripts and simulate a full interactive session
353 in a format that can be then pasted as a doctest.
354 in a format that can be then pasted as a doctest.
354
355
355 * IPython/iplib.py (InteractiveShell.__init__): Install exit/quit
356 * IPython/iplib.py (InteractiveShell.__init__): Install exit/quit
356 on top of the default (useless) ones. This also fixes the nasty
357 on top of the default (useless) ones. This also fixes the nasty
357 way in which 2.5's Quitter() exits (reverted [1785]).
358 way in which 2.5's Quitter() exits (reverted [1785]).
358
359
359 * IPython/Debugger.py (Pdb.__init__): Fix ipdb to work with python
360 * IPython/Debugger.py (Pdb.__init__): Fix ipdb to work with python
360 2.5.
361 2.5.
361
362
362 * IPython/ultraTB.py (TBTools.set_colors): Make sure that ipdb
363 * IPython/ultraTB.py (TBTools.set_colors): Make sure that ipdb
363 color scheme is updated as well when color scheme is changed
364 color scheme is updated as well when color scheme is changed
364 interactively.
365 interactively.
365
366
366 2006-09-27 Ville Vainio <vivainio@gmail.com>
367 2006-09-27 Ville Vainio <vivainio@gmail.com>
367
368
368 * iplib.py (raw_input): python 2.5 closes stdin on quit -> avoid
369 * iplib.py (raw_input): python 2.5 closes stdin on quit -> avoid
369 infinite loop and just exit. It's a hack, but will do for a while.
370 infinite loop and just exit. It's a hack, but will do for a while.
370
371
371 2006-08-25 Walter Doerwald <walter@livinglogic.de>
372 2006-08-25 Walter Doerwald <walter@livinglogic.de>
372
373
373 * IPython/Extensions/ipipe.py (ils): Add arguments dirs and files to
374 * IPython/Extensions/ipipe.py (ils): Add arguments dirs and files to
374 the constructor, this makes it possible to get a list of only directories
375 the constructor, this makes it possible to get a list of only directories
375 or only files.
376 or only files.
376
377
377 2006-08-12 Ville Vainio <vivainio@gmail.com>
378 2006-08-12 Ville Vainio <vivainio@gmail.com>
378
379
379 * Fakemodule.py, OInspect.py: Reverted 2006-08-11 mods,
380 * Fakemodule.py, OInspect.py: Reverted 2006-08-11 mods,
380 they broke unittest
381 they broke unittest
381
382
382 2006-08-11 Ville Vainio <vivainio@gmail.com>
383 2006-08-11 Ville Vainio <vivainio@gmail.com>
383
384
384 * Fakemodule.py, OInspect.py: remove 2006-08-09 monkepatch
385 * Fakemodule.py, OInspect.py: remove 2006-08-09 monkepatch
385 by resolving issue properly, i.e. by inheriting FakeModule
386 by resolving issue properly, i.e. by inheriting FakeModule
386 from types.ModuleType. Pickling ipython interactive data
387 from types.ModuleType. Pickling ipython interactive data
387 should still work as usual (testing appreciated).
388 should still work as usual (testing appreciated).
388
389
389 2006-08-09 Fernando Perez <Fernando.Perez@colorado.edu>
390 2006-08-09 Fernando Perez <Fernando.Perez@colorado.edu>
390
391
391 * IPython/OInspect.py: monkeypatch inspect from the stdlib if
392 * IPython/OInspect.py: monkeypatch inspect from the stdlib if
392 running under python 2.3 with code from 2.4 to fix a bug with
393 running under python 2.3 with code from 2.4 to fix a bug with
393 help(). Reported by the Debian maintainers, Norbert Tretkowski
394 help(). Reported by the Debian maintainers, Norbert Tretkowski
394 <norbert-AT-tretkowski.de> and Alexandre Fayolle
395 <norbert-AT-tretkowski.de> and Alexandre Fayolle
395 <afayolle-AT-debian.org>.
396 <afayolle-AT-debian.org>.
396
397
397 2006-08-04 Walter Doerwald <walter@livinglogic.de>
398 2006-08-04 Walter Doerwald <walter@livinglogic.de>
398
399
399 * IPython/Extensions/ibrowse.py: Fixed the help message in the footer
400 * IPython/Extensions/ibrowse.py: Fixed the help message in the footer
400 (which was displaying "quit" twice).
401 (which was displaying "quit" twice).
401
402
402 2006-07-28 Walter Doerwald <walter@livinglogic.de>
403 2006-07-28 Walter Doerwald <walter@livinglogic.de>
403
404
404 * IPython/Extensions/ipipe.py: Fix isort.__iter__() (was still using
405 * IPython/Extensions/ipipe.py: Fix isort.__iter__() (was still using
405 the mode argument).
406 the mode argument).
406
407
407 2006-07-27 Walter Doerwald <walter@livinglogic.de>
408 2006-07-27 Walter Doerwald <walter@livinglogic.de>
408
409
409 * IPython/Extensions/ipipe.py: Fix getglobals() if we're
410 * IPython/Extensions/ipipe.py: Fix getglobals() if we're
410 not running under IPython.
411 not running under IPython.
411
412
412 * IPython/Extensions/ipipe.py: Rename XAttr to AttributeDetail
413 * IPython/Extensions/ipipe.py: Rename XAttr to AttributeDetail
413 and make it iterable (iterating over the attribute itself). Add two new
414 and make it iterable (iterating over the attribute itself). Add two new
414 magic strings for __xattrs__(): If the string starts with "-", the attribute
415 magic strings for __xattrs__(): If the string starts with "-", the attribute
415 will not be displayed in ibrowse's detail view (but it can still be
416 will not be displayed in ibrowse's detail view (but it can still be
416 iterated over). This makes it possible to add attributes that are large
417 iterated over). This makes it possible to add attributes that are large
417 lists or generator methods to the detail view. Replace magic attribute names
418 lists or generator methods to the detail view. Replace magic attribute names
418 and _attrname() and _getattr() with "descriptors": For each type of magic
419 and _attrname() and _getattr() with "descriptors": For each type of magic
419 attribute name there's a subclass of Descriptor: None -> SelfDescriptor();
420 attribute name there's a subclass of Descriptor: None -> SelfDescriptor();
420 "foo" -> AttributeDescriptor("foo"); "foo()" -> MethodDescriptor("foo");
421 "foo" -> AttributeDescriptor("foo"); "foo()" -> MethodDescriptor("foo");
421 "-foo" -> IterAttributeDescriptor("foo"); "-foo()" -> IterMethodDescriptor("foo");
422 "-foo" -> IterAttributeDescriptor("foo"); "-foo()" -> IterMethodDescriptor("foo");
422 foo() -> FunctionDescriptor(foo). Magic strings returned from __xattrs__()
423 foo() -> FunctionDescriptor(foo). Magic strings returned from __xattrs__()
423 are still supported.
424 are still supported.
424
425
425 * IPython/Extensions/ibrowse.py: If fetching the next row from the input
426 * IPython/Extensions/ibrowse.py: If fetching the next row from the input
426 fails in ibrowse.fetch(), the exception object is added as the last item
427 fails in ibrowse.fetch(), the exception object is added as the last item
427 and item fetching is canceled. This prevents ibrowse from aborting if e.g.
428 and item fetching is canceled. This prevents ibrowse from aborting if e.g.
428 a generator throws an exception midway through execution.
429 a generator throws an exception midway through execution.
429
430
430 * IPython/Extensions/ipipe.py: Turn ifile's properties mimetype and
431 * IPython/Extensions/ipipe.py: Turn ifile's properties mimetype and
431 encoding into methods.
432 encoding into methods.
432
433
433 2006-07-26 Ville Vainio <vivainio@gmail.com>
434 2006-07-26 Ville Vainio <vivainio@gmail.com>
434
435
435 * iplib.py: history now stores multiline input as single
436 * iplib.py: history now stores multiline input as single
436 history entries. Patch by Jorgen Cederlof.
437 history entries. Patch by Jorgen Cederlof.
437
438
438 2006-07-18 Walter Doerwald <walter@livinglogic.de>
439 2006-07-18 Walter Doerwald <walter@livinglogic.de>
439
440
440 * IPython/Extensions/ibrowse.py: Make cursor visible over
441 * IPython/Extensions/ibrowse.py: Make cursor visible over
441 non existing attributes.
442 non existing attributes.
442
443
443 2006-07-14 Walter Doerwald <walter@livinglogic.de>
444 2006-07-14 Walter Doerwald <walter@livinglogic.de>
444
445
445 * IPython/Extensions/ipipe.py (ix): Use os.popen4() so that the
446 * IPython/Extensions/ipipe.py (ix): Use os.popen4() so that the
446 error output of the running command doesn't mess up the screen.
447 error output of the running command doesn't mess up the screen.
447
448
448 2006-07-13 Walter Doerwald <walter@livinglogic.de>
449 2006-07-13 Walter Doerwald <walter@livinglogic.de>
449
450
450 * IPython/Extensions/ipipe.py (isort): Make isort usable without
451 * IPython/Extensions/ipipe.py (isort): Make isort usable without
451 argument. This sorts the items themselves.
452 argument. This sorts the items themselves.
452
453
453 2006-07-12 Walter Doerwald <walter@livinglogic.de>
454 2006-07-12 Walter Doerwald <walter@livinglogic.de>
454
455
455 * IPython/Extensions/ipipe.py (eval, ifilter, isort, ieval):
456 * IPython/Extensions/ipipe.py (eval, ifilter, isort, ieval):
456 Compile expression strings into code objects. This should speed
457 Compile expression strings into code objects. This should speed
457 up ifilter and friends somewhat.
458 up ifilter and friends somewhat.
458
459
459 2006-07-08 Ville Vainio <vivainio@gmail.com>
460 2006-07-08 Ville Vainio <vivainio@gmail.com>
460
461
461 * Magic.py: %cpaste now strips > from the beginning of lines
462 * Magic.py: %cpaste now strips > from the beginning of lines
462 to ease pasting quoted code from emails. Contributed by
463 to ease pasting quoted code from emails. Contributed by
463 Stefan van der Walt.
464 Stefan van der Walt.
464
465
465 2006-06-29 Ville Vainio <vivainio@gmail.com>
466 2006-06-29 Ville Vainio <vivainio@gmail.com>
466
467
467 * ipmaker.py, Shell.py: qt4agg matplotlib backend support for pylab
468 * ipmaker.py, Shell.py: qt4agg matplotlib backend support for pylab
468 mode, patch contributed by Darren Dale. NEEDS TESTING!
469 mode, patch contributed by Darren Dale. NEEDS TESTING!
469
470
470 2006-06-28 Walter Doerwald <walter@livinglogic.de>
471 2006-06-28 Walter Doerwald <walter@livinglogic.de>
471
472
472 * IPython/Extensions/ibrowse.py: Give the ibrowse cursor row
473 * IPython/Extensions/ibrowse.py: Give the ibrowse cursor row
473 a blue background. Fix fetching new display rows when the browser
474 a blue background. Fix fetching new display rows when the browser
474 scrolls more than a screenful (e.g. by using the goto command).
475 scrolls more than a screenful (e.g. by using the goto command).
475
476
476 2006-06-27 Ville Vainio <vivainio@gmail.com>
477 2006-06-27 Ville Vainio <vivainio@gmail.com>
477
478
478 * Magic.py (_inspect, _ofind) Apply David Huard's
479 * Magic.py (_inspect, _ofind) Apply David Huard's
479 patch for displaying the correct docstring for 'property'
480 patch for displaying the correct docstring for 'property'
480 attributes.
481 attributes.
481
482
482 2006-06-23 Walter Doerwald <walter@livinglogic.de>
483 2006-06-23 Walter Doerwald <walter@livinglogic.de>
483
484
484 * IPython/Extensions/ibrowse.py: Put the documentation of the keyboard
485 * IPython/Extensions/ibrowse.py: Put the documentation of the keyboard
485 commands into the methods implementing them.
486 commands into the methods implementing them.
486
487
487 2006-06-22 Fernando Perez <Fernando.Perez@colorado.edu>
488 2006-06-22 Fernando Perez <Fernando.Perez@colorado.edu>
488
489
489 * ipython.el (ipython-indentation-hook): cleanup patch, submitted
490 * ipython.el (ipython-indentation-hook): cleanup patch, submitted
490 by Kov Chai <tchaikov-AT-gmail.com>. He notes that the original
491 by Kov Chai <tchaikov-AT-gmail.com>. He notes that the original
491 autoindent support was authored by Jin Liu.
492 autoindent support was authored by Jin Liu.
492
493
493 2006-06-22 Walter Doerwald <walter@livinglogic.de>
494 2006-06-22 Walter Doerwald <walter@livinglogic.de>
494
495
495 * IPython/Extensions/ibrowse.py: Replace the plain dictionaries used
496 * IPython/Extensions/ibrowse.py: Replace the plain dictionaries used
496 for keymaps with a custom class that simplifies handling.
497 for keymaps with a custom class that simplifies handling.
497
498
498 2006-06-19 Walter Doerwald <walter@livinglogic.de>
499 2006-06-19 Walter Doerwald <walter@livinglogic.de>
499
500
500 * IPython/Extensions/ibrowse.py: ibrowse now properly handles terminal
501 * IPython/Extensions/ibrowse.py: ibrowse now properly handles terminal
501 resizing. This requires Python 2.5 to work.
502 resizing. This requires Python 2.5 to work.
502
503
503 2006-06-16 Walter Doerwald <walter@livinglogic.de>
504 2006-06-16 Walter Doerwald <walter@livinglogic.de>
504
505
505 * IPython/Extensions/ibrowse.py: Add two new commands to
506 * IPython/Extensions/ibrowse.py: Add two new commands to
506 ibrowse: "hideattr" (mapped to "h") hides the attribute under
507 ibrowse: "hideattr" (mapped to "h") hides the attribute under
507 the cursor. "unhiderattrs" (mapped to "H") reveals all hidden
508 the cursor. "unhiderattrs" (mapped to "H") reveals all hidden
508 attributes again. Remapped the help command to "?". Display
509 attributes again. Remapped the help command to "?". Display
509 keycodes in the range 0x01-0x1F as CTRL-xx. Add CTRL-a and CTRL-e
510 keycodes in the range 0x01-0x1F as CTRL-xx. Add CTRL-a and CTRL-e
510 as keys for the "home" and "end" commands. Add three new commands
511 as keys for the "home" and "end" commands. Add three new commands
511 to the input mode for "find" and friends: "delend" (CTRL-K)
512 to the input mode for "find" and friends: "delend" (CTRL-K)
512 deletes to the end of line. "incsearchup" searches upwards in the
513 deletes to the end of line. "incsearchup" searches upwards in the
513 command history for an input that starts with the text before the cursor.
514 command history for an input that starts with the text before the cursor.
514 "incsearchdown" does the same downwards. Removed a bogus mapping of
515 "incsearchdown" does the same downwards. Removed a bogus mapping of
515 the x key to "delete".
516 the x key to "delete".
516
517
517 2006-06-15 Ville Vainio <vivainio@gmail.com>
518 2006-06-15 Ville Vainio <vivainio@gmail.com>
518
519
519 * iplib.py, hooks.py: Added new generate_prompt hook that can be
520 * iplib.py, hooks.py: Added new generate_prompt hook that can be
520 used to create prompts dynamically, instead of the "old" way of
521 used to create prompts dynamically, instead of the "old" way of
521 assigning "magic" strings to prompt_in1 and prompt_in2. The old
522 assigning "magic" strings to prompt_in1 and prompt_in2. The old
522 way still works (it's invoked by the default hook), of course.
523 way still works (it's invoked by the default hook), of course.
523
524
524 * Prompts.py: added generate_output_prompt hook for altering output
525 * Prompts.py: added generate_output_prompt hook for altering output
525 prompt
526 prompt
526
527
527 * Release.py: Changed version string to 0.7.3.svn.
528 * Release.py: Changed version string to 0.7.3.svn.
528
529
529 2006-06-15 Walter Doerwald <walter@livinglogic.de>
530 2006-06-15 Walter Doerwald <walter@livinglogic.de>
530
531
531 * IPython/Extensions/ibrowse.py: Change _BrowserLevel.moveto() so that
532 * IPython/Extensions/ibrowse.py: Change _BrowserLevel.moveto() so that
532 the call to fetch() always tries to fetch enough data for at least one
533 the call to fetch() always tries to fetch enough data for at least one
533 full screen. This makes it possible to simply call moveto(0,0,True) in
534 full screen. This makes it possible to simply call moveto(0,0,True) in
534 the constructor. Fix typos and removed the obsolete goto attribute.
535 the constructor. Fix typos and removed the obsolete goto attribute.
535
536
536 2006-06-12 Ville Vainio <vivainio@gmail.com>
537 2006-06-12 Ville Vainio <vivainio@gmail.com>
537
538
538 * ipy_profile_sh.py: applied Krisha Mohan Gundu's patch for
539 * ipy_profile_sh.py: applied Krisha Mohan Gundu's patch for
539 allowing $variable interpolation within multiline statements,
540 allowing $variable interpolation within multiline statements,
540 though so far only with "sh" profile for a testing period.
541 though so far only with "sh" profile for a testing period.
541 The patch also enables splitting long commands with \ but it
542 The patch also enables splitting long commands with \ but it
542 doesn't work properly yet.
543 doesn't work properly yet.
543
544
544 2006-06-12 Walter Doerwald <walter@livinglogic.de>
545 2006-06-12 Walter Doerwald <walter@livinglogic.de>
545
546
546 * IPython/Extensions/ibrowse.py (_dodisplay): Display the length of the
547 * IPython/Extensions/ibrowse.py (_dodisplay): Display the length of the
547 input history and the position of the cursor in the input history for
548 input history and the position of the cursor in the input history for
548 the find, findbackwards and goto command.
549 the find, findbackwards and goto command.
549
550
550 2006-06-10 Walter Doerwald <walter@livinglogic.de>
551 2006-06-10 Walter Doerwald <walter@livinglogic.de>
551
552
552 * IPython/Extensions/ibrowse.py: Add a class _CommandInput that
553 * IPython/Extensions/ibrowse.py: Add a class _CommandInput that
553 implements the basic functionality of browser commands that require
554 implements the basic functionality of browser commands that require
554 input. Reimplement the goto, find and findbackwards commands as
555 input. Reimplement the goto, find and findbackwards commands as
555 subclasses of _CommandInput. Add an input history and keymaps to those
556 subclasses of _CommandInput. Add an input history and keymaps to those
556 commands. Add "\r" as a keyboard shortcut for the enterdefault and
557 commands. Add "\r" as a keyboard shortcut for the enterdefault and
557 execute commands.
558 execute commands.
558
559
559 2006-06-07 Ville Vainio <vivainio@gmail.com>
560 2006-06-07 Ville Vainio <vivainio@gmail.com>
560
561
561 * iplib.py: ipython mybatch.ipy exits ipython immediately after
562 * iplib.py: ipython mybatch.ipy exits ipython immediately after
562 running the batch files instead of leaving the session open.
563 running the batch files instead of leaving the session open.
563
564
564 2006-06-07 Fernando Perez <Fernando.Perez@colorado.edu>
565 2006-06-07 Fernando Perez <Fernando.Perez@colorado.edu>
565
566
566 * IPython/iplib.py (InteractiveShell.__init__): update BSD fix, as
567 * IPython/iplib.py (InteractiveShell.__init__): update BSD fix, as
567 the original fix was incomplete. Patch submitted by W. Maier.
568 the original fix was incomplete. Patch submitted by W. Maier.
568
569
569 2006-06-07 Ville Vainio <vivainio@gmail.com>
570 2006-06-07 Ville Vainio <vivainio@gmail.com>
570
571
571 * iplib.py,Magic.py, ipmaker.py (magic_rehashx):
572 * iplib.py,Magic.py, ipmaker.py (magic_rehashx):
572 Confirmation prompts can be supressed by 'quiet' option.
573 Confirmation prompts can be supressed by 'quiet' option.
573 _ip.options.quiet = 1 means "assume yes for all yes/no queries".
574 _ip.options.quiet = 1 means "assume yes for all yes/no queries".
574
575
575 2006-06-06 *** Released version 0.7.2
576 2006-06-06 *** Released version 0.7.2
576
577
577 2006-06-06 Fernando Perez <Fernando.Perez@colorado.edu>
578 2006-06-06 Fernando Perez <Fernando.Perez@colorado.edu>
578
579
579 * IPython/Release.py (version): Made 0.7.2 final for release.
580 * IPython/Release.py (version): Made 0.7.2 final for release.
580 Repo tagged and release cut.
581 Repo tagged and release cut.
581
582
582 2006-06-05 Ville Vainio <vivainio@gmail.com>
583 2006-06-05 Ville Vainio <vivainio@gmail.com>
583
584
584 * Magic.py (magic_rehashx): Honor no_alias list earlier in
585 * Magic.py (magic_rehashx): Honor no_alias list earlier in
585 %rehashx, to avoid clobbering builtins in ipy_profile_sh.py
586 %rehashx, to avoid clobbering builtins in ipy_profile_sh.py
586
587
587 * upgrade_dir.py: try import 'path' module a bit harder
588 * upgrade_dir.py: try import 'path' module a bit harder
588 (for %upgrade)
589 (for %upgrade)
589
590
590 2006-06-03 Fernando Perez <Fernando.Perez@colorado.edu>
591 2006-06-03 Fernando Perez <Fernando.Perez@colorado.edu>
591
592
592 * IPython/genutils.py (ask_yes_no): treat EOF as a default answer
593 * IPython/genutils.py (ask_yes_no): treat EOF as a default answer
593 instead of looping 20 times.
594 instead of looping 20 times.
594
595
595 * IPython/ipmaker.py (make_IPython): honor -ipythondir flag
596 * IPython/ipmaker.py (make_IPython): honor -ipythondir flag
596 correctly at initialization time. Bug reported by Krishna Mohan
597 correctly at initialization time. Bug reported by Krishna Mohan
597 Gundu <gkmohan-AT-gmail.com> on the user list.
598 Gundu <gkmohan-AT-gmail.com> on the user list.
598
599
599 * IPython/Release.py (version): Mark 0.7.2 version to start
600 * IPython/Release.py (version): Mark 0.7.2 version to start
600 testing for release on 06/06.
601 testing for release on 06/06.
601
602
602 2006-05-31 Fernando Perez <Fernando.Perez@colorado.edu>
603 2006-05-31 Fernando Perez <Fernando.Perez@colorado.edu>
603
604
604 * scripts/irunner: thin script interface so users don't have to
605 * scripts/irunner: thin script interface so users don't have to
605 find the module and call it as an executable, since modules rarely
606 find the module and call it as an executable, since modules rarely
606 live in people's PATH.
607 live in people's PATH.
607
608
608 * IPython/irunner.py (InteractiveRunner.__init__): added
609 * IPython/irunner.py (InteractiveRunner.__init__): added
609 delaybeforesend attribute to control delays with newer versions of
610 delaybeforesend attribute to control delays with newer versions of
610 pexpect. Thanks to detailed help from pexpect's author, Noah
611 pexpect. Thanks to detailed help from pexpect's author, Noah
611 Spurrier <noah-AT-noah.org>. Noted how to use the SAGE runner
612 Spurrier <noah-AT-noah.org>. Noted how to use the SAGE runner
612 correctly (it works in NoColor mode).
613 correctly (it works in NoColor mode).
613
614
614 * IPython/iplib.py (handle_normal): fix nasty crash reported on
615 * IPython/iplib.py (handle_normal): fix nasty crash reported on
615 SAGE list, from improper log() calls.
616 SAGE list, from improper log() calls.
616
617
617 2006-05-31 Ville Vainio <vivainio@gmail.com>
618 2006-05-31 Ville Vainio <vivainio@gmail.com>
618
619
619 * upgrade_dir.py, Magic.py (magic_upgrade): call upgrade_dir
620 * upgrade_dir.py, Magic.py (magic_upgrade): call upgrade_dir
620 with args in parens to work correctly with dirs that have spaces.
621 with args in parens to work correctly with dirs that have spaces.
621
622
622 2006-05-30 Fernando Perez <Fernando.Perez@colorado.edu>
623 2006-05-30 Fernando Perez <Fernando.Perez@colorado.edu>
623
624
624 * IPython/Logger.py (Logger.logstart): add option to log raw input
625 * IPython/Logger.py (Logger.logstart): add option to log raw input
625 instead of the processed one. A -r flag was added to the
626 instead of the processed one. A -r flag was added to the
626 %logstart magic used for controlling logging.
627 %logstart magic used for controlling logging.
627
628
628 2006-05-29 Fernando Perez <Fernando.Perez@colorado.edu>
629 2006-05-29 Fernando Perez <Fernando.Perez@colorado.edu>
629
630
630 * IPython/iplib.py (InteractiveShell.__init__): add check for the
631 * IPython/iplib.py (InteractiveShell.__init__): add check for the
631 *BSDs to omit --color from all 'ls' aliases, since *BSD ls doesn't
632 *BSDs to omit --color from all 'ls' aliases, since *BSD ls doesn't
632 recognize the option. After a bug report by Will Maier. This
633 recognize the option. After a bug report by Will Maier. This
633 closes #64 (will do it after confirmation from W. Maier).
634 closes #64 (will do it after confirmation from W. Maier).
634
635
635 * IPython/irunner.py: New module to run scripts as if manually
636 * IPython/irunner.py: New module to run scripts as if manually
636 typed into an interactive environment, based on pexpect. After a
637 typed into an interactive environment, based on pexpect. After a
637 submission by Ken Schutte <kschutte-AT-csail.mit.edu> on the
638 submission by Ken Schutte <kschutte-AT-csail.mit.edu> on the
638 ipython-user list. Simple unittests in the tests/ directory.
639 ipython-user list. Simple unittests in the tests/ directory.
639
640
640 * tools/release: add Will Maier, OpenBSD port maintainer, to
641 * tools/release: add Will Maier, OpenBSD port maintainer, to
641 recepients list. We are now officially part of the OpenBSD ports:
642 recepients list. We are now officially part of the OpenBSD ports:
642 http://www.openbsd.org/ports.html ! Many thanks to Will for the
643 http://www.openbsd.org/ports.html ! Many thanks to Will for the
643 work.
644 work.
644
645
645 2006-05-26 Fernando Perez <Fernando.Perez@colorado.edu>
646 2006-05-26 Fernando Perez <Fernando.Perez@colorado.edu>
646
647
647 * IPython/ipmaker.py (make_IPython): modify sys.argv fix (below)
648 * IPython/ipmaker.py (make_IPython): modify sys.argv fix (below)
648 so that it doesn't break tkinter apps.
649 so that it doesn't break tkinter apps.
649
650
650 * IPython/iplib.py (_prefilter): fix bug where aliases would
651 * IPython/iplib.py (_prefilter): fix bug where aliases would
651 shadow variables when autocall was fully off. Reported by SAGE
652 shadow variables when autocall was fully off. Reported by SAGE
652 author William Stein.
653 author William Stein.
653
654
654 * IPython/OInspect.py (Inspector.__init__): add a flag to control
655 * IPython/OInspect.py (Inspector.__init__): add a flag to control
655 at what detail level strings are computed when foo? is requested.
656 at what detail level strings are computed when foo? is requested.
656 This allows users to ask for example that the string form of an
657 This allows users to ask for example that the string form of an
657 object is only computed when foo?? is called, or even never, by
658 object is only computed when foo?? is called, or even never, by
658 setting the object_info_string_level >= 2 in the configuration
659 setting the object_info_string_level >= 2 in the configuration
659 file. This new option has been added and documented. After a
660 file. This new option has been added and documented. After a
660 request by SAGE to be able to control the printing of very large
661 request by SAGE to be able to control the printing of very large
661 objects more easily.
662 objects more easily.
662
663
663 2006-05-25 Fernando Perez <Fernando.Perez@colorado.edu>
664 2006-05-25 Fernando Perez <Fernando.Perez@colorado.edu>
664
665
665 * IPython/ipmaker.py (make_IPython): remove the ipython call path
666 * IPython/ipmaker.py (make_IPython): remove the ipython call path
666 from sys.argv, to be 100% consistent with how Python itself works
667 from sys.argv, to be 100% consistent with how Python itself works
667 (as seen for example with python -i file.py). After a bug report
668 (as seen for example with python -i file.py). After a bug report
668 by Jeffrey Collins.
669 by Jeffrey Collins.
669
670
670 * IPython/Shell.py (MatplotlibShellBase._matplotlib_config): Fix
671 * IPython/Shell.py (MatplotlibShellBase._matplotlib_config): Fix
671 nasty bug which was preventing custom namespaces with -pylab,
672 nasty bug which was preventing custom namespaces with -pylab,
672 reported by M. Foord. Minor cleanup, remove old matplotlib.matlab
673 reported by M. Foord. Minor cleanup, remove old matplotlib.matlab
673 compatibility (long gone from mpl).
674 compatibility (long gone from mpl).
674
675
675 * IPython/ipapi.py (make_session): name change: create->make. We
676 * IPython/ipapi.py (make_session): name change: create->make. We
676 use make in other places (ipmaker,...), it's shorter and easier to
677 use make in other places (ipmaker,...), it's shorter and easier to
677 type and say, etc. I'm trying to clean things before 0.7.2 so
678 type and say, etc. I'm trying to clean things before 0.7.2 so
678 that I can keep things stable wrt to ipapi in the chainsaw branch.
679 that I can keep things stable wrt to ipapi in the chainsaw branch.
679
680
680 * ipython.el: fix the py-pdbtrack-input-prompt variable so that
681 * ipython.el: fix the py-pdbtrack-input-prompt variable so that
681 python-mode recognizes our debugger mode. Add support for
682 python-mode recognizes our debugger mode. Add support for
682 autoindent inside (X)emacs. After a patch sent in by Jin Liu
683 autoindent inside (X)emacs. After a patch sent in by Jin Liu
683 <m.liu.jin-AT-gmail.com> originally written by
684 <m.liu.jin-AT-gmail.com> originally written by
684 doxgen-AT-newsmth.net (with minor modifications for xemacs
685 doxgen-AT-newsmth.net (with minor modifications for xemacs
685 compatibility)
686 compatibility)
686
687
687 * IPython/Debugger.py (Pdb.format_stack_entry): fix formatting of
688 * IPython/Debugger.py (Pdb.format_stack_entry): fix formatting of
688 tracebacks when walking the stack so that the stack tracking system
689 tracebacks when walking the stack so that the stack tracking system
689 in emacs' python-mode can identify the frames correctly.
690 in emacs' python-mode can identify the frames correctly.
690
691
691 * IPython/ipmaker.py (make_IPython): make the internal (and
692 * IPython/ipmaker.py (make_IPython): make the internal (and
692 default config) autoedit_syntax value false by default. Too many
693 default config) autoedit_syntax value false by default. Too many
693 users have complained to me (both on and off-list) about problems
694 users have complained to me (both on and off-list) about problems
694 with this option being on by default, so I'm making it default to
695 with this option being on by default, so I'm making it default to
695 off. It can still be enabled by anyone via the usual mechanisms.
696 off. It can still be enabled by anyone via the usual mechanisms.
696
697
697 * IPython/completer.py (Completer.attr_matches): add support for