blob: b853a34af396a8fa8247dd9047ba9f5f0c9445e5 [file] [log] [blame]
Guido van Rossum17ae2332000-02-15 18:11:21 +00001Tue Feb 15 18:08:19 2000 Guido van Rossum <guido@cnri.reston.va.us>
2
3 * NEWS.txt: Notice status bar and stack viewer.
4
5 * EditorWindow.py: Support for Moshe's status bar.
6
7 * MultiStatusBar.py: Status bar code -- by Moshe Zadka.
8
9 * OldStackViewer.py:
10 Adding the old stack viewer implementation back, for the debugger.
11
12 * StackViewer.py: New stack viewer, uses a tree widget.
13 (XXX: the debugger doesn't yet use this.)
14
15 * WindowList.py:
16 Correct a typo and remove an unqualified except that was hiding the error.
17
18 * ClassBrowser.py: Add an XXX comment about the ClassBrowser AIP.
19
20 * ChangeLog: Updated change log.
Guido van Rossum0b5b2c82000-02-15 17:19:25 +000021
22 * NEWS.txt: News update. Probably incomplete; what else is new?
23
24 * README.txt:
25 Updated for pending IDLE 0.5 release (still very rough -- just getting
26 it out in a more convenient format than CVS).
27
28 * TODO.txt: Tiny addition.
29
30Thu Sep 9 14:16:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
31
32 * TODO.txt: A few new TODO entries.
33
34Thu Aug 26 23:06:22 1999 Guido van Rossum <guido@cnri.reston.va.us>
35
36 * Bindings.py: Add Python Documentation entry to Help menu.
37
38 * EditorWindow.py:
39 Find the help.txt file relative to __file__ or ".", not in sys.path.
40 (Suggested by Moshe Zadka, but implemented differently.)
41
42 Add <<python-docs>> event which, on Unix, brings up Netscape pointing
43 to http://www.python.doc/current/ (a local copy would be nice but its
44 location can't be predicted). Windows solution TBD.
45
46Wed Aug 11 14:55:43 1999 Guido van Rossum <guido@cnri.reston.va.us>
47
48 * TreeWidget.py:
49 Moshe noticed an inconsistency in his comment, so I'm rephrasing it to
50 be clearer.
51
52 * TreeWidget.py:
53 Patch inspired by Moshe Zadka to search for the Icons directory in the
54 same directory as __file__, rather than searching for it along sys.path.
55 This works better when idle is a package.
56
57Thu Jul 15 13:11:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
58
59 * TODO.txt: New wishes.
60
61Sat Jul 10 13:17:35 1999 Guido van Rossum <guido@cnri.reston.va.us>
62
63 * IdlePrefs.py:
64 Make the color for stderr red (i.e. the standard warning/danger/stop
65 color) rather than green. Suggested by Sam Schulenburg.
66
67Fri Jun 25 17:26:34 1999 Guido van Rossum <guido@cnri.reston.va.us>
68
69 * PyShell.py: Close debugger when closing. This may break a cycle.
70
71 * Debugger.py: Break cycle on close.
72
73 * ClassBrowser.py: Destroy the tree when closing.
74
75 * TreeWidget.py: Add destroy() method to recursively destroy a tree.
76
77 * PyShell.py: Extend _close() to break cycles.
78 Break some other cycles too (and destroy the root when done).
79
80 * EditorWindow.py:
81 Add _close() method that does the actual cleanup (close() asks the
82 user what they want first if there's unsaved stuff, and may cancel).
83 It closes more than before.
84
85 Add unload_extensions() method to unload all extensions; called from
86 _close(). It calls an extension's close() method if it has one.
87
88 * Percolator.py: Add close() method that breaks cycles.
89
90 * WidgetRedirector.py: Add unregister() method.
91 Unregister everything at closing.
92 Don't call close() in __del__, rely on explicit call to close().
93
94 * IOBinding.py, FormatParagraph.py, CallTips.py:
95 Add close() method that breaks a cycle.
96
97Fri Jun 11 15:03:00 1999 Guido van Rossum <guido@cnri.reston.va.us>
98
99 * AutoIndent.py, EditorWindow.py, FormatParagraph.py:
100 Tim Peters smart.patch:
101
102 EditorWindow.py:
103
104 + Added get_tabwidth & set_tabwidth "virtual text" methods, that get/set the
105 widget's view of what a tab means.
106
107 + Moved TK_TABWIDTH_DEFAULT here from AutoIndent.
108
109 + Renamed Mark's get_selection_index to get_selection_indices (sorry, Mark,
110 but the name was plain wrong <wink>).
111
112 FormatParagraph.py: renamed use of get_selection_index.
113
114 AutoIndent.py:
115
116 + Moved TK_TABWIDTH_DEFAULT to EditorWindow.
117
118 + Rewrote set_indentation_params to use new VTW get/set_tabwidth methods.
119
120 + Changed smart_backspace_event to delete whitespace back to closest
121 preceding virtual tab stop or real character (note that this may require
122 inserting characters if backspacing over a tab!).
123
124 + Nuked almost references to the selection tag, in favor of using
125 get_selection_indices. The sole exception is in set_region, for which no
126 "set_selection" abstraction has yet been agreed upon.
127
128 + Had too much fun using the spiffy new features of the format-paragraph
129 cmd.
130
131Thu Jun 10 17:48:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
132
133 * FormatParagraph.py:
134 Code by Mark Hammond to format paragraphs embedded in comments.
135 Read the comments (which I reformatted using the new feature :-)
136 for some limitations.
137
138 * EditorWindow.py:
139 Added abstraction get_selection_index() (Mark Hammond). Also
140 reformatted some comment blocks to show off a cool feature I'm about
141 to check in next.
142
143 * ClassBrowser.py:
144 Adapt to the new pyclbr's support of listing top-level functions. If
145 this functionality is not present (e.g. when used with a vintage
146 Python 1.5.2 installation) top-level functions are not listed.
147
148 (Hmm... Any distribution of IDLE 0.5 should probably include a copy
149 of the new pyclbr.py!)
150
151 * AutoIndent.py:
152 Fix off-by-one error in Tim's recent change to comment_region(): the
153 list of lines returned by get_region() contains an empty line at the
154 end representing the start of the next line, and this shouldn't be
155 commented out!
156
157 * CallTips.py:
158 Mark Hammond writes: Here is another change that allows it to work for
159 class creation - tries to locate an __init__ function. Also updated
160 the test code to reflect your new "***" change.
161
162 * CallTipWindow.py:
163 Mark Hammond writes: Tim's suggestion of copying the font for the
164 CallTipWindow from the text control makes sense, and actually makes
165 the control look better IMO.
166
167Wed Jun 9 20:34:57 1999 Guido van Rossum <guido@cnri.reston.va.us>
168
169 * CallTips.py:
170 Append "..." if the appropriate flag (for varargs) in co_flags is set.
171 Ditto "***" for kwargs.
172
173Tue Jun 8 13:06:07 1999 Guido van Rossum <guido@cnri.reston.va.us>
174
175 * ReplaceDialog.py:
176 Hmm... Tim didn't turn "replace all" into a single undo block.
177 I think I like it better if it os, so here.
178
179 * ReplaceDialog.py: Tim Peters: made replacement atomic for undo/redo.
180
181 * AutoIndent.py: Tim Peters:
182
183 + Set usetabs=1. Editing pyclbr.py was driving me nuts <0.6 wink>.
184 usetabs=1 is the Emacs pymode default too, and thanks to indentwidth !=
185 tabwidth magical usetabs disabling, new files are still created with tabs
186 turned off. The only implication is that if you open a file whose first
187 indent is a single tab, IDLE will now magically use tabs for that file (and
188 set indentwidth to 8). Note that the whole scheme doesn't work right for
189 PythonWin, though, since Windows users typically set tabwidth to 4; Mark
190 probably has to hide the IDLE algorithm from them (which he already knows).
191
192 + Changed comment_region_event to stick "##" in front of every line. The
193 "holes" previously left on blank lines were visually confusing (made it
194 needlessly hard to figure out what to uncomment later).
195
196Mon Jun 7 15:38:40 1999 Guido van Rossum <guido@cnri.reston.va.us>
197
198 * TreeWidget.py, ObjectBrowser.py:
199 Remove unnecessary reference to pyclbr from test() code.
200
201 * PyParse.py: Tim Peters:
202
203 Smarter logic for finding a parse synch point.
204
205 Does a half to a fifth the work in normal cases; don't notice the speedup,
206 but makes more breathing room for other extensions.
207
208 Speeds terrible cases by at least a factor of 10. "Terrible" == e.g. you put
209 """ at the start of Tkinter.py, undo it, zoom to the bottom, and start
210 typing in code. Used to take about 8 seconds for ENTER to respond, now some
211 large fraction of a second. The new code gets indented correctly, despite
212 that it all remains "string colored" until the colorizer catches up (after
213 which, ENTER appears instantaneous again).
214
215Fri Jun 4 19:21:19 1999 Guido van Rossum <guido@cnri.reston.va.us>
216
217 * extend.py: Might as well enable CallTips by default.
218 If there are too many complaints I'll remove it again or fix it.
219
220Thu Jun 3 14:32:16 1999 Guido van Rossum <guido@cnri.reston.va.us>
221
222 * AutoIndent.py, EditorWindow.py, PyParse.py:
223 New offerings by Tim Peters; he writes:
224
225 IDLE is now the first Python editor in the Universe not confused by my
226 doctest.py <wink>.
227
228 As threatened, this defines IDLE's is_char_in_string function as a
229 method of EditorWindow. You just need to define one similarly in
230 whatever it is you pass as editwin to AutoIndent; looking at the
231 EditorWindow.py part of the patch should make this clear.
232
233 * GrepDialog.py: Enclose pattern in quotes in status message.
234
235 * CallTips.py:
236 Mark Hammond fixed some comments and improved the way the tip text is
237 constructed.
238
239Wed Jun 2 18:18:57 1999 Guido van Rossum <guido@cnri.reston.va.us>
240
241 * CallTips.py:
242 My fix to Mark's code: restore the universal check on <KeyRelease>.
243 Always cancel on <Key-Escape> or <ButtonPress>.
244
245 * CallTips.py:
246 A version that Mark Hammond posted to the newsgroup. Has some newer
247 stuff for getting the tip. Had to fix the Key-( and Key-) events
248 for Unix. Will have to re-apply my patch for catching KeyRelease and
249 ButtonRelease events.
250
251 * CallTipWindow.py, CallTips.py:
252 Call tips by Mark Hammond (plus tiny fix by me.)
253
254 * IdleHistory.py:
255 Changes by Mark Hammond: (1) support optional output_sep argument to
256 the constructor so he can eliminate the sys.ps2 that PythonWin leaves
257 in the source; (2) remove duplicate history items.
258
259 * AutoIndent.py:
260 Changes by Mark Hammond to allow using IDLE extensions in PythonWin as
261 well: make three dialog routines instance variables.
262
263 * EditorWindow.py:
264 Change by Mark Hammond to allow using IDLE extensions in PythonWin as
265 well: make three dialog routines instance variables.
266
267Tue Jun 1 20:06:44 1999 Guido van Rossum <guido@cnri.reston.va.us>
268
269 * AutoIndent.py: Hah! A fix of my own to Tim's code!
270 Unix bindings for <<toggle-tabs>> and <<change-indentwidth>> were
271 missing, and somehow that meant the events were never generated,
272 even though they were in the menu. The new Unix bindings are now
273 the same as the Windows bindings (M-t and M-u).
274
275 * AutoIndent.py, PyParse.py, PyShell.py: Tim Peters again:
276
277 The new version (attached) is fast enough all the time in every real module
278 I have <whew!>. You can make it slow by, e.g., creating an open list with
279 5,000 90-character identifiers (+ trailing comma) each on its own line, then
280 adding an item to the end -- but that still consumes less than a second on
281 my P5-166. Response time in real code appears instantaneous.
282
283 Fixed some bugs.
284
285 New feature: when hitting ENTER and the cursor is beyond the line's leading
286 indentation, whitespace is removed on both sides of the cursor; before
287 whitespace was removed only on the left; e.g., assuming the cursor is
288 between the comma and the space:
289
290 def something(arg1, arg2):
291 ^ cursor to the left of here, and hit ENTER
292 arg2): # new line used to end up here
293 arg2): # but now lines up the way you expect
294
295 New hack: AutoIndent has grown a context_use_ps1 Boolean config option,
296 defaulting to 0 (false) and set to 1 (only) by PyShell. Reason: handling
297 the fancy stuff requires looking backward for a parsing synch point; ps1
298 lines are the only sensible thing to look for in a shell window, but are a
299 bad thing to look for in a file window (ps1 lines show up in my module
300 docstrings often). PythonWin's shell should set this true too.
301
302 Persistent problem: strings containing def/class can still screw things up
303 completely. No improvement. Simplest workaround is on the user's head, and
304 consists of inserting e.g.
305
306 def _(): pass
307
308 (or any other def/class) after the end of the multiline string that's
309 screwing them up. This is especially irksome because IDLE's syntax coloring
310 is *not* confused, so when this happens the colors don't match the
311 indentation behavior they see.
312
313 * AutoIndent.py: Tim Peters again:
314
315 [Tim, after adding some bracket smarts to AutoIndent.py]
316 > ...
317 > What it can't possibly do without reparsing large gobs of text is
318 > suggest a reasonable indent level after you've *closed* a bracket
319 > left open on some previous line.
320 > ...
321
322 The attached can, and actually fast enough to use -- most of the time. The
323 code is tricky beyond belief to achieve that, but it works so far; e.g.,
324
325 return len(string.expandtabs(str[self.stmt_start :
326 ^ indents to caret
327 i],
328 ^ indents to caret
329 self.tabwidth)) + 1
330 ^ indents to caret
331
332 It's about as smart as pymode now, wrt both bracket and backslash
333 continuation rules. It does require reparsing large gobs of text, and if it
334 happens to find something that looks like a "def" or "class" or sys.ps1
335 buried in a multiline string, but didn't suck up enough preceding text to
336 see the start of the string, it's completely hosed. I can't repair that --
337 it's just too slow to reparse from the start of the file all the time.
338
339 AutoIndent has grown a new num_context_lines tuple attribute that controls
340 how far to look back, and-- like other params --this could/should be made
341 user-overridable at startup and per-file on the fly.
342
343 * PyParse.py: New file by Tim Peters:
344
345 One new file in the attached, PyParse.py. The LineStudier (whatever it was
346 called <wink>) class was removed from AutoIndent; PyParse subsumes its
347 functionality.
348
349 * AutoIndent.py: Tim Peters keeps revising this module (more to come):
350
351 Removed "New tabwidth" menu binding.
352
353 Added "a tab means how many spaces?" dialog to block tabify and untabify. I
354 think prompting for this is good now: they're usually at-most-once-per-file
355 commands, and IDLE can't let them change tabwidth from the Tk default
356 anymore, so IDLE can no longer presume to have any idea what a tab means.
357
358 Irony: for the purpose of keeping comments aligned via tabs, Tk's
359 non-default approach is much nicer than the Emacs/Notepad/Codewright/vi/etc
360 approach.
361
362 * EditorWindow.py:
363 1. Catch NameError on import (could be raised by case mismatch on Windows).
364 2. No longer need to reset pyclbr cache and show watch cursor when calling
365 ClassBrowser -- the ClassBrowser takes care of pyclbr and the TreeWidget
366 takes care of the watch cursor.
367 3. Reset the focus to the current window after error message about class
368 browser on buffer without filename.
369
370 * Icons/minusnode.gif, Icons/plusnode.gif: Missed a few.
371
372 * ClassBrowser.py, PathBrowser.py: Rewritten based on TreeWidget.py
373
374 * ObjectBrowser.py: Object browser, based on TreeWidget.py.
375
376 * TreeWidget.py: Tree widget done right.
377
378 * ToolTip.py: As yet unused code for tool tips.
379
380 * ScriptBinding.py:
381 Ensure sys.argv[0] is the script name on Run Script.
382
383 * ZoomHeight.py: Move zoom height functionality to separate function.
384
385 * Icons/folder.gif, Icons/openfolder.gif, Icons/python.gif, Icons/tk.gif:
386 A few icons used by ../TreeWidget.py and its callers.
387
388 * AutoIndent.py: New version by Tim Peters improves block opening test.
389
390Fri May 21 04:46:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
391
392 * Attic/History.py, PyShell.py: Rename History to IdleHistory.
393 Add isatty() to pseudo files.
394
395 * StackViewer.py: Make initial stack viewer wider
396
397 * TODO.txt: New wishes
398
399 * AutoIndent.py, EditorWindow.py, PyShell.py:
400 Much improved autoindent and handling of tabs,
401 by Tim Peters.
402
403Mon May 3 15:49:52 1999 Guido van Rossum <guido@cnri.reston.va.us>
404
405 * AutoIndent.py, EditorWindow.py, FormatParagraph.py, UndoDelegator.py:
406 Tim Peters writes:
407
408 I'm still unsure, but couldn't stand the virtual event trickery so tried a
409 different sin (adding undo_block_start/stop methods to the Text instance in
410 EditorWindow.py). Like it or not, it's efficient and works <wink>. Better
411 idea?
412
413 Give the attached a whirl. Even if you hate the implementation, I think
414 you'll like the results. Think I caught all the "block edit" cmds,
415 including Format Paragraph, plus subtler ones involving smart indents and
416 backspacing.
417
418 * WidgetRedirector.py: Tim Peters writes:
419
420 [W]hile trying to dope out how redirection works, stumbled into two
421 possible glitches. In the first, it doesn't appear to make sense to try to
422 rename a command that's already been destroyed; in the second, the name
423 "previous" doesn't really bring to mind "ignore the previous value" <wink>.
424
425Fri Apr 30 19:39:25 1999 Guido van Rossum <guido@cnri.reston.va.us>
426
427 * __init__.py: Support for using idle as a package.
428
429 * PathBrowser.py:
430 Avoid listing files more than once (e.g. foomodule.so has two hits:
431 once for foo + module.so, once for foomodule + .so).
432
433Mon Apr 26 22:20:38 1999 Guido van Rossum <guido@cnri.reston.va.us>
434
435 * ChangeLog, ColorDelegator.py, PyShell.py: Tim Peters strikes again:
436
437 Ho ho ho -- that's trickier than it sounded! The colorizer is working with
438 "line.col" strings instead of Text marks, and the absolute coordinates of
439 the point of interest can change across the self.update call (voice of
440 baffled experience, when two quick backspaces no longer fooled it, but a
441 backspace followed by a quick ENTER did <wink>).
442
443 Anyway, the attached appears to do the trick. CPU usage goes way up when
444 typing quickly into a long triple-quoted string, but the latency is fine for
445 me (a relatively fast typist on a relatively slow machine). Most of the
446 changes here are left over from reducing the # of vrbl names to help me
447 reason about the logic better; I hope the code is a *little* easier to
448
449Fri Apr 23 14:01:25 1999 Guido van Rossum <guido@cnri.reston.va.us>
450
451 * EditorWindow.py:
452 Provide full arguments to __import__ so it works in packagized IDLE.
453
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000454Thu Apr 22 23:20:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
455
456 * help.txt:
457 Bunch of updates necessary due to recent changes; added docs for File
458 menu, command line and color preferences.
459
460 * Bindings.py: Remove obsolete 'script' menu.
461
462 * TODO.txt: Several wishes fulfilled.
463
464 * OutputWindow.py:
465 Moved classes OnDemandOutputWindow and PseudoFile here,
466 from ScriptBinding.py where they are no longer needed.
467
468 * ScriptBinding.py:
469 Mostly rewritten. Instead of the old Run module and Debug module,
470 there are two new commands:
471
472 Import module (F5) imports or reloads the module and also adds its
473 name to the __main__ namespace. This gets executed in the PyShell
474 window under control of its debug settings.
475
476 Run script (Control-F5) is similar but executes the contents of the
477 file directly in the __main__ namespace.
478
479 * PyShell.py: Nits: document use of $IDLESTARTUP; display idle version
480
481 * idlever.py: New version to celebrate new command line
482
483 * OutputWindow.py: Added flush(), for completeness.
484
485 * PyShell.py:
486 A lot of changes to make the command line more useful. You can now do:
487 idle.py -e file ... -- to edit files
488 idle.py script arg ... -- to run a script
489 idle.py -c cmd arg ... -- to run a command
490 Other options, see also the usage message (also new!) for more details:
491 -d -- enable debugger
492 -s -- run $IDLESTARTUP or $PYTHONSTARTUP
493 -t title -- set Python Shell window's title
494 sys.argv is set accordingly, unless -e is used.
495 sys.path is absolutized, and all relevant paths are inserted into it.
496
497 Other changes:
498 - the environment in which commands are executed is now the
499 __main__ module
500 - explicitly save sys.stdout etc., don't restore from sys.__stdout__
501 - new interpreter methods execsource(), execfile(), stuffsource()
502 - a few small nits
503
504 * TODO.txt:
505 Some more TODO items. Made up my mind about command line args,
506 Run/Import, __main__.
507
508 * ColorDelegator.py:
509 Super-elegant patch by Tim Peters that speeds up colorization
510 dramatically (up to 15 times he claims). Works by reading more than
511 one line at a time, up to 100-line chunks (starting with one line and
512 then doubling up to the limit). On a typical machine (e.g. Tim's
513 P5-166) this doesn't reduce interactive responsiveness in a noticeable
514 way.
515
516Wed Apr 21 15:49:34 1999 Guido van Rossum <guido@cnri.reston.va.us>
517
518 * ColorDelegator.py:
519 Patch by Tim Peters to speed up colorizing of big multiline strings.
520
521Tue Apr 20 17:32:52 1999 Guido van Rossum <guido@cnri.reston.va.us>
522
523 * extend.txt:
524 For an event 'foo-bar', the corresponding method must be called
525 foo_bar_event(). Therefore, fix the references to zoom_height() in
526 the example.
527
528 * IdlePrefs.py: Restored the original IDLE color scheme.
529
530 * PyShell.py, IdlePrefs.py, ColorDelegator.py, EditorWindow.py:
531 Color preferences code by Loren Luke (massaged by me somewhat)
532
533 * SearchEngine.py:
534 Patch by Mark Favas: it fixes the search engine behaviour where an
535 unsuccessful search wraps around and re-searches that part of the file
536 between the start of the search and the end of the file - only really
537 an issue for very large files, but... (also removes a redundant
538 m.span() call).
539
540Mon Apr 19 16:26:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
541
542 * TODO.txt: A few wishes are now fulfilled.
543
544 * AutoIndent.py: Tim Peters implements some of my wishes:
545
546 o Makes the tab key intelligently insert spaces when appropriate
547 (see Help list banter twixt David Ascher and me; idea stolen from
548 every other editor on earth <wink>).
549
550 o newline_and_indent_event trims trailing whitespace on the old
551 line (pymode and Codewright).
552
553 o newline_and_indent_event no longer fooled by trailing whitespace or
554 comment after ":" (pymode, PTUI).
555
556 o newline_and_indent_event now reduces the new line's indentation after
557 return, break, continue, raise and pass stmts (pymode).
558
559 The last two are easy to fool in the presence of strings &
560 continuations, but pymode requires Emacs's high-powered C parsing
561 functions to avoid that in finite time.
562
Guido van Rossum00b6d0f1999-04-07 18:43:22 +0000563======================================================================
564 Python release 1.5.2c1, IDLE version 0.4
565======================================================================
566
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000567Wed Apr 7 18:41:59 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossum00b6d0f1999-04-07 18:43:22 +0000568
569 * README.txt, NEWS.txt: New version.
570
571 * idlever.py: Version bump awaiting impending new release.
572 (Not much has changed :-( )
573
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000574Mon Mar 29 14:52:28 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossum00b6d0f1999-04-07 18:43:22 +0000575
576 * ScriptBinding.py, PyShell.py:
577 At Tim Peters' recommendation, add a dummy flush() method to
578 PseudoFile.
579
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000580Thu Mar 11 23:21:23 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossum00b6d0f1999-04-07 18:43:22 +0000581
582 * PathBrowser.py: Don't crash when sys.path contains an empty string.
583
584 * Attic/Outline.py: This file was never supposed to be part of IDLE.
585
586 * PathBrowser.py:
587 - Don't crash in the case where a superclass is a string instead of a
588 pyclbr.Class object; this can happen when the superclass is
589 unrecognizable (to pyclbr), e.g. when module renaming is used.
590
591 - Show a watch cursor when calling pyclbr (since it may take a while
592 recursively parsing imported modules!).
593
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000594Wed Mar 10 05:18:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossum00b6d0f1999-04-07 18:43:22 +0000595
596 * EditorWindow.py, Bindings.py: Add PathBrowser to File module
597
598 * PathBrowser.py: "Path browser" - 4 scrolled lists displaying:
599 directories on sys.path
600 modules in selected directory
601 classes in selected module
602 methods of selected class
603
604 Sinlge clicking in a directory, module or class item updates the next
605 column with info about the selected item. Double clicking in a
606 module, class or method item opens the file (and selects the clicked
607 item if it is a class or method).
608
609 I guess eventually I should be using a tree widget for this, but the
610 ones I've seen don't work well enough, so for now I use the old
611 Smalltalk or NeXT style multi-column hierarchical browser.
612
613 * MultiScrolledLists.py:
614 New utility: multiple scrolled lists in parallel
615
616 * ScrolledList.py: - White background.
617 - Display "(None)" (or text of your choosing) when empty.
618 - Don't set the focus.
619
620======================================================================
621 Python release 1.5.2b2, IDLE version 0.3
622======================================================================
623
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000624Wed Feb 17 22:47:41 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossum00b6d0f1999-04-07 18:43:22 +0000625
626 * NEWS.txt: News in 0.3.
627
628 * README.txt, idlever.py: Bump version to 0.3.
629
630 * EditorWindow.py:
631 After all, we don't need to call the callbacks ourselves!
632
633 * WindowList.py:
634 When deleting, call the callbacks *after* deleting the window from our list!
635
636 * EditorWindow.py:
637 Fix up the Windows menu via the new callback mechanism instead of
638 depending on menu post commands (which don't work when the menu is
639 torn off).
640
641 * WindowList.py:
642 Support callbacks to patch up Windows menus everywhere.
643
644 * ChangeLog: Oh, why not. Checking in the Emacs-generated change log.
645
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000646Tue Feb 16 22:34:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000647
648 * ScriptBinding.py:
649 Only pop up the stack viewer when requested in the Debug menu.
650
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000651Mon Feb 8 22:27:49 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000652
653 * WindowList.py: Don't crash if a window no longer exists.
654
655 * TODO.txt: Restructured a bit.
656
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000657Mon Feb 1 23:06:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000658
659 * PyShell.py: Add current dir or paths of file args to sys.path.
660
661 * Debugger.py: Add canonic() function -- for brand new bdb.py feature.
662
663 * StackViewer.py: Protect against accessing an empty stack.
664
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000665Fri Jan 29 20:44:45 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000666
667 * ZoomHeight.py:
668 Use only the height to decide whether to zoom in or out.
669
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000670Thu Jan 28 22:24:30 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000671
672 * EditorWindow.py, FileList.py:
673 Make sure the Tcl variables are shared between windows.
674
675 * PyShell.py, EditorWindow.py, Bindings.py:
676 Move menu/key binding code from Bindings.py to EditorWindow.py,
677 with changed APIs -- it makes much more sense there.
678 Also add a new feature: if the first character of a menu label is
679 a '!', it gets a checkbox. Checkboxes are bound to Boolean Tcl variables
680 that can be accessed through the new getvar/setvar/getrawvar API;
681 the variable is named after the event to which the menu is bound.
682
683 * Debugger.py: Add Quit button to the debugger window.
684
685 * SearchDialog.py:
686 When find_again() finds exactly the current selection, it's a failure.
687
688 * idle.py, Attic/idle: Rename idle -> idle.py
689
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000690Mon Jan 18 15:18:57 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000691
692 * EditorWindow.py, WindowList.py: Only deiconify when iconic.
693
694 * TODO.txt: Misc
695
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000696Tue Jan 12 22:14:34 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000697
698 * testcode.py, Attic/test.py:
699 Renamed test.py to testcode.py so one can import Python's
700 test package from inside IDLE. (Suggested by Jack Jansen.)
701
702 * EditorWindow.py, ColorDelegator.py:
703 Hack to close a window that is colorizing.
704
705 * Separator.py: Vladimir Marangozov's patch:
706 The separator dances too much and seems to jump by arbitrary amounts
707 in arbitrary directions when I try to move it for resizing the frames.
708 This patch makes it more quiet.
709
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000710Mon Jan 11 14:52:40 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000711
712 * TODO.txt: Some requests have been fulfilled.
713
714 * EditorWindow.py:
715 Set the cursor to a watch when opening the class browser (which may
716 take quite a while, browsing multiple files).
717
718 Newer, better center() -- but assumes no wrapping.
719
720 * SearchBinding.py:
721 Got rid of debug print statement in goto_line_event().
722
723 * ScriptBinding.py:
724 I think I like it better if it prints the traceback even when it displays
725 the stack viewer.
726
727 * Debugger.py: Bind ESC to close-window.
728
729 * ClassBrowser.py: Use a HSeparator between the classes and the items.
730 Make the list of classes wider by default (40 chars).
731 Bind ESC to close-window.
732
733 * Separator.py:
734 Separator classes (draggable divider between two panes).
735
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000736Sat Jan 9 22:01:33 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000737
738 * WindowList.py:
739 Don't traceback when wakeup() is called when the window has been destroyed.
740 This can happen when a torn-of Windows menu references closed windows.
741 And Tim Peters claims that the Windows menu is his favorite to tear off...
742
743 * EditorWindow.py: Allow tearing off of the Windows menu.
744
745 * StackViewer.py: Close on ESC.
746
747 * help.txt: Updated a bunch of things (it was mostly still 0.1!)
748
749 * extend.py: Added ScriptBinding to standard bindings.
750
751 * ScriptBinding.py:
752 This now actually works. See doc string. It can run a module (i.e.
753 import or reload) or debug it (same with debugger control). Output
754 goes to a fresh output window, only created when needed.
755
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000756======================================================================
757 Python release 1.5.2b1, IDLE version 0.2
758======================================================================
759
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000760Fri Jan 8 17:26:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000761
762 * README.txt, NEWS.txt: What's new in this release.
763
764 * Bindings.py, PyShell.py:
765 Paul Prescod's patches to allow the stack viewer to pop up when a
766 traceback is printed.
767
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000768Thu Jan 7 00:12:15 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000769
770 * FormatParagraph.py:
771 Change paragraph width limit to 70 (like Emacs M-Q).
772
773 * README.txt:
774 Separating TODO from README. Slight reformulation of features. No
775 exact release date.
776
777 * TODO.txt: Separating TODO from README.
778
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000779Mon Jan 4 21:19:09 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000780
781 * FormatParagraph.py:
782 Hm. There was a boundary condition error at the end of the file too.
783
784 * SearchBinding.py: Hm. Add Unix binding for replace, too.
785
786 * keydefs.py: Ran eventparse.py again.
787
788 * FormatParagraph.py: Added Unix Meta-q key binding;
789 fix find_paragraph when at start of file.
790
791 * AutoExpand.py: Added Meta-/ binding for Unix as alt for Alt-/.
792
793 * SearchBinding.py:
794 Add unix binding for grep (otherwise the menu entry doesn't work!)
795
796 * ZoomHeight.py: Adjusted Unix height to work with fvwm96. :=(
797
798 * GrepDialog.py: Need to import sys!
799
800 * help.txt, extend.txt, README.txt: Formatted some paragraphs
801
802 * extend.py, FormatParagraph.py:
803 Add new extension to reformat a (text) paragraph.
804
805 * ZoomHeight.py: Typo in Win specific height setting.
806
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000807Sun Jan 3 00:47:35 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000808
809 * AutoIndent.py: Added something like Tim Peters' backspace patch.
810
811 * ZoomHeight.py: Adapted to Unix (i.e., more hardcoded constants).
812
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000813Sat Jan 2 21:28:54 1999 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000814
815 * keydefs.py, idlever.py, idle.pyw, idle.bat, help.txt, extend.txt, extend.py, eventparse.py, ZoomHeight.py, WindowList.py, UndoDelegator.py, StackViewer.py, SearchEngine.py, SearchDialogBase.py, SearchDialog.py, ScrolledList.py, SearchBinding.py, ScriptBinding.py, ReplaceDialog.py, Attic/README, README.txt, PyShell.py, Attic/PopupMenu.py, OutputWindow.py, IOBinding.py, Attic/HelpWindow.py, History.py, GrepDialog.py, FileList.py, FrameViewer.py, EditorWindow.py, Debugger.py, Delegator.py, ColorDelegator.py, Bindings.py, ClassBrowser.py, AutoExpand.py, AutoIndent.py:
816 Checking in IDLE 0.2.
817
818 Much has changed -- too much, in fact, to write down.
819 The big news is that there's a standard way to write IDLE extensions;
820 see extend.txt. Some sample extensions have been provided, and
821 some existing code has been converted to extensions. Probably the
822 biggest new user feature is a new search dialog with more options,
823 search and replace, and even search in files (grep).
824
825 This is exactly as downloaded from my laptop after returning
826 from the holidays -- it hasn't even been tested on Unix yet.
827
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000828Fri Dec 18 15:52:54 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000829
830 * FileList.py, ClassBrowser.py:
831 Fix the class browser to work even when the file is not on sys.path.
832
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000833Tue Dec 8 20:39:36 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000834
835 * Attic/turtle.py: Moved to Python 1.5.2/Lib
836
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000837Fri Nov 27 03:19:20 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000838
839 * help.txt: Typo
840
841 * EditorWindow.py, FileList.py: Support underlining of menu labels
842
843 * Bindings.py:
844 New approach, separate tables for menus (platform-independent) and key
845 definitions (platform-specific), and generating accelerator strings
846 automatically from the key definitions.
847
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000848Mon Nov 16 18:37:42 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000849
850 * Attic/README: Clarify portability and main program.
851
852 * Attic/README: Added intro for 0.1 release and append Grail notes.
853
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000854Mon Oct 26 18:49:00 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000855
856 * Attic/turtle.py: root is now a global called _root
857
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000858Sat Oct 24 16:38:38 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000859
860 * Attic/turtle.py: Raise the root window on reset().
861 Different action on WM_DELETE_WINDOW is more likely to do the right thing,
862 allowing us to destroy old windows.
863
864 * Attic/turtle.py:
865 Split the goto() function in two: _goto() is the internal one,
866 using Canvas coordinates, and goto() uses turtle coordinates
867 and accepts variable argument lists.
868
869 * Attic/turtle.py: Cope with destruction of the window
870
871 * Attic/turtle.py: Turtle graphics
872
873 * Debugger.py: Use of Breakpoint class should be bdb.Breakpoint.
874
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000875Mon Oct 19 03:33:40 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000876
877 * SearchBinding.py:
878 Speed up the search a bit -- don't drag a mark around...
879
880 * PyShell.py:
881 Change our special entries from <console#N> to <pyshell#N>.
882 Patch linecache.checkcache() to keep our special entries alive.
883 Add popup menu to all editor windows to set a breakpoint.
884
885 * Debugger.py:
886 Use and pass through the 'force' flag to set_dict() where appropriate.
887 Default source and globals checkboxes to false.
888 Don't interact in user_return().
889 Add primitive set_breakpoint() method.
890
891 * ColorDelegator.py:
892 Raise priority of 'sel' tag so its foreground (on Windows) will take
893 priority over text colorization (which on Windows is almost the
894 same color as the selection background).
895
896 Define a tag and color for breakpoints ("BREAK").
897
898 * Attic/PopupMenu.py: Disable "Open stack viewer" and "help" commands.
899
900 * StackViewer.py:
901 Add optional 'force' argument (default 0) to load_dict().
902 If set, redo the display even if it's the same dict.
903
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000904Fri Oct 16 21:10:12 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000905
906 * StackViewer.py: Do nothing when loading the same dict as before.
907
908 * PyShell.py: Details for debugger interface.
909
910 * Debugger.py:
911 Restructured and more consistent. Save checkboxes across instantiations.
912
913 * EditorWindow.py, Attic/README, Bindings.py:
914 Get rid of conflicting ^X binding. Use ^W.
915
916 * Debugger.py, StackViewer.py:
917 Debugger can now show local and global variables.
918
919 * Debugger.py: Oops
920
921 * Debugger.py, PyShell.py: Better debugger support (show stack etc).
922
923 * Attic/PopupMenu.py: Follow renames in StackViewer module
924
925 * StackViewer.py:
926 Rename classes to StackViewer (the widget) and StackBrowser (the toplevel).
927
928 * ScrolledList.py: Add close() method
929
930 * EditorWindow.py: Clarify 'Open Module' dialog text
931
932 * StackViewer.py: Restructured into a browser and a widget.
933
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000934Thu Oct 15 23:27:08 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000935
936 * ClassBrowser.py, ScrolledList.py:
937 Generalized the scrolled list which is the base for the class and
938 method browser into a separate class in its own module.
939
940 * Attic/test.py: Cosmetic change
941
942 * Debugger.py: Don't show function name if there is none
943
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000944Wed Oct 14 03:43:05 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000945
946 * Debugger.py, PyShell.py: Polish the Debugger GUI a bit.
947 Closing it now also does the right thing.
948
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000949Tue Oct 13 23:51:13 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000950
951 * Debugger.py, PyShell.py, Bindings.py:
952 Ad primitive debugger interface (so far it will step and show you the
953 source, but it doesn't yet show the stack).
954
955 * Attic/README: Misc
956
957 * StackViewer.py: Whoops -- referenced self.top before it was set.
958
959 * help.txt: Added history and completion commands.
960
961 * help.txt: Updated
962
963 * FileList.py: Add class browser functionality.
964
965 * StackViewer.py:
966 Add a close() method and bind to WM_DELETE_WINDOW protocol
967
968 * PyShell.py: Clear the linecache before printing a traceback
969
970 * Bindings.py: Added class browser binding.
971
972 * ClassBrowser.py: Much improved, much left to do.
973
974 * PyShell.py: Make the return key do what I mean more often.
975
976 * ClassBrowser.py:
977 Adding the beginnings of a Class browser. Incomplete, yet.
978
979 * EditorWindow.py, Bindings.py:
980 Add new command, "Open module". You select or type a module name,
981 and it opens the source.
982
Guido van Rossum26c2cb41999-04-26 22:20:38 +0000983Mon Oct 12 23:59:27 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +0000984
985 * PyShell.py: Subsume functionality from Popup menu in Debug menu.
986 Other stuff so the PyShell window can be resurrected from the Windows menu.
987
988 * FileList.py: Get rid of PopUp menu.
989 Create a simple Windows menu. (Imperfect when Untitled windows exist.)
990 Add wakeup() method: deiconify, raise, focus.
991
992 * EditorWindow.py: Generalize menu creation.
993
994 * Bindings.py: Add Debug and Help menu items.
995
996 * EditorWindow.py: Added a menu bar to every window.
997
998 * Bindings.py: Add menu configuration to the event configuration.
999
1000 * Attic/PopupMenu.py: Pass a root to the help window.
1001
1002 * SearchBinding.py:
1003 Add parent argument to 'to to line number' dialog box.
1004
Guido van Rossum26c2cb41999-04-26 22:20:38 +00001005Sat Oct 10 19:15:32 1998 Guido van Rossum <guido@cnri.reston.va.us>
Guido van Rossuma79a93f1999-02-17 16:20:08 +00001006
1007 * StackViewer.py:
1008 Add a label at the top showing (very basic) help for the stack viewer.
1009 Add a label at the bottom showing the exception info.
1010
1011 * Attic/test.py, Attic/idle: Add Unix main script and test program.
1012
1013 * idle.pyw, help.txt, WidgetRedirector.py, UndoDelegator.py, StackViewer.py, SearchBinding.py, Attic/README, PyShell.py, Attic/PopupMenu.py, Percolator.py, Outline.py, IOBinding.py, History.py, Attic/HelpWindow.py, FrameViewer.py, FileList.py, EditorWindow.py, Delegator.py, ColorDelegator.py, Bindings.py, AutoIndent.py, AutoExpand.py:
1014 Initial checking of Tk-based Python IDE.
1015 Features: text editor with syntax coloring and undo;
1016 subclassed into interactive Python shell which adds history.
1017