1 Tue Feb 15 18:08:19 2000 Guido van Rossum <guido@cnri.reston.va.us>
3 * NEWS.txt: Notice status bar and stack viewer.
5 * EditorWindow.py: Support for Moshe's status bar.
7 * MultiStatusBar.py: Status bar code -- by Moshe Zadka.
10 Adding the old stack viewer implementation back, for the debugger.
12 * StackViewer.py: New stack viewer, uses a tree widget.
13 (XXX: the debugger doesn't yet use this.)
16 Correct a typo and remove an unqualified except that was hiding the error.
18 * ClassBrowser.py: Add an XXX comment about the ClassBrowser AIP.
20 * ChangeLog: Updated change log.
22 * NEWS.txt: News update. Probably incomplete; what else is new?
25 Updated for pending IDLE 0.5 release (still very rough -- just getting
26 it out in a more convenient format than CVS).
28 * TODO.txt: Tiny addition.
30 Thu Sep 9 14:16:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
32 * TODO.txt: A few new TODO entries.
34 Thu Aug 26 23:06:22 1999 Guido van Rossum <guido@cnri.reston.va.us>
36 * Bindings.py: Add Python Documentation entry to Help menu.
39 Find the help.txt file relative to __file__ or ".", not in sys.path.
40 (Suggested by Moshe Zadka, but implemented differently.)
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.
46 Wed Aug 11 14:55:43 1999 Guido van Rossum <guido@cnri.reston.va.us>
49 Moshe noticed an inconsistency in his comment, so I'm rephrasing it to
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.
57 Thu Jul 15 13:11:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
59 * TODO.txt: New wishes.
61 Sat Jul 10 13:17:35 1999 Guido van Rossum <guido@cnri.reston.va.us>
64 Make the color for stderr red (i.e. the standard warning/danger/stop
65 color) rather than green. Suggested by Sam Schulenburg.
67 Fri Jun 25 17:26:34 1999 Guido van Rossum <guido@cnri.reston.va.us>
69 * PyShell.py: Close debugger when closing. This may break a cycle.
71 * Debugger.py: Break cycle on close.
73 * ClassBrowser.py: Destroy the tree when closing.
75 * TreeWidget.py: Add destroy() method to recursively destroy a tree.
77 * PyShell.py: Extend _close() to break cycles.
78 Break some other cycles too (and destroy the root when done).
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.
85 Add unload_extensions() method to unload all extensions; called from
86 _close(). It calls an extension's close() method if it has one.
88 * Percolator.py: Add close() method that breaks cycles.
90 * WidgetRedirector.py: Add unregister() method.
91 Unregister everything at closing.
92 Don't call close() in __del__, rely on explicit call to close().
94 * IOBinding.py, FormatParagraph.py, CallTips.py:
95 Add close() method that breaks a cycle.
97 Fri Jun 11 15:03:00 1999 Guido van Rossum <guido@cnri.reston.va.us>
99 * AutoIndent.py, EditorWindow.py, FormatParagraph.py:
100 Tim Peters smart.patch:
104 + Added get_tabwidth & set_tabwidth "virtual text" methods, that get/set the
105 widget's view of what a tab means.
107 + Moved TK_TABWIDTH_DEFAULT here from AutoIndent.
109 + Renamed Mark's get_selection_index to get_selection_indices (sorry, Mark,
110 but the name was plain wrong <wink>).
112 FormatParagraph.py: renamed use of get_selection_index.
116 + Moved TK_TABWIDTH_DEFAULT to EditorWindow.
118 + Rewrote set_indentation_params to use new VTW get/set_tabwidth methods.
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!).
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.
128 + Had too much fun using the spiffy new features of the format-paragraph
131 Thu Jun 10 17:48:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
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.
139 Added abstraction get_selection_index() (Mark Hammond). Also
140 reformatted some comment blocks to show off a cool feature I'm about
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.
148 (Hmm... Any distribution of IDLE 0.5 should probably include a copy
149 of the new pyclbr.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
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.
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.
167 Wed Jun 9 20:34:57 1999 Guido van Rossum <guido@cnri.reston.va.us>
170 Append "..." if the appropriate flag (for varargs) in co_flags is set.
171 Ditto "***" for kwargs.
173 Tue Jun 8 13:06:07 1999 Guido van Rossum <guido@cnri.reston.va.us>
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.
179 * ReplaceDialog.py: Tim Peters: made replacement atomic for undo/redo.
181 * AutoIndent.py: Tim Peters:
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).
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).
196 Mon Jun 7 15:38:40 1999 Guido van Rossum <guido@cnri.reston.va.us>
198 * TreeWidget.py, ObjectBrowser.py:
199 Remove unnecessary reference to pyclbr from test() code.
201 * PyParse.py: Tim Peters:
203 Smarter logic for finding a parse synch point.
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.
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).
215 Fri Jun 4 19:21:19 1999 Guido van Rossum <guido@cnri.reston.va.us>
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.
220 Thu Jun 3 14:32:16 1999 Guido van Rossum <guido@cnri.reston.va.us>
222 * AutoIndent.py, EditorWindow.py, PyParse.py:
223 New offerings by Tim Peters; he writes:
225 IDLE is now the first Python editor in the Universe not confused by my
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.
233 * GrepDialog.py: Enclose pattern in quotes in status message.
236 Mark Hammond fixed some comments and improved the way the tip text is
239 Wed Jun 2 18:18:57 1999 Guido van Rossum <guido@cnri.reston.va.us>
242 My fix to Mark's code: restore the universal check on <KeyRelease>.
243 Always cancel on <Key-Escape> or <ButtonPress>.
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.
251 * CallTipWindow.py, CallTips.py:
252 Call tips by Mark Hammond (plus tiny fix by me.)
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.
260 Changes by Mark Hammond to allow using IDLE extensions in PythonWin as
261 well: make three dialog routines instance variables.
264 Change by Mark Hammond to allow using IDLE extensions in PythonWin as
265 well: make three dialog routines instance variables.
267 Tue Jun 1 20:06:44 1999 Guido van Rossum <guido@cnri.reston.va.us>
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).
275 * AutoIndent.py, PyParse.py, PyShell.py: Tim Peters again:
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.
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:
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
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.
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.
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.
313 * AutoIndent.py: Tim Peters again:
315 [Tim, after adding some bracket smarts to AutoIndent.py]
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.
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.,
325 return len(string.expandtabs(str[self.stmt_start :
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.
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.
343 * PyParse.py: New file by Tim Peters:
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
349 * AutoIndent.py: Tim Peters keeps revising this module (more to come):
351 Removed "New tabwidth" menu binding.
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.
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
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.
370 * Icons/minusnode.gif, Icons/plusnode.gif: Missed a few.
372 * ClassBrowser.py, PathBrowser.py: Rewritten based on TreeWidget.py
374 * ObjectBrowser.py: Object browser, based on TreeWidget.py.
376 * TreeWidget.py: Tree widget done right.
378 * ToolTip.py: As yet unused code for tool tips.
381 Ensure sys.argv[0] is the script name on Run Script.
383 * ZoomHeight.py: Move zoom height functionality to separate function.
385 * Icons/folder.gif, Icons/openfolder.gif, Icons/python.gif, Icons/tk.gif:
386 A few icons used by ../TreeWidget.py and its callers.
388 * AutoIndent.py: New version by Tim Peters improves block opening test.
390 Fri May 21 04:46:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
392 * Attic/History.py, PyShell.py: Rename History to IdleHistory.
393 Add isatty() to pseudo files.
395 * StackViewer.py: Make initial stack viewer wider
397 * TODO.txt: New wishes
399 * AutoIndent.py, EditorWindow.py, PyShell.py:
400 Much improved autoindent and handling of tabs,
403 Mon May 3 15:49:52 1999 Guido van Rossum <guido@cnri.reston.va.us>
405 * AutoIndent.py, EditorWindow.py, FormatParagraph.py, UndoDelegator.py:
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
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
418 * WidgetRedirector.py: Tim Peters writes:
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>.
425 Fri Apr 30 19:39:25 1999 Guido van Rossum <guido@cnri.reston.va.us>
427 * __init__.py: Support for using idle as a package.
430 Avoid listing files more than once (e.g. foomodule.so has two hits:
431 once for foo + module.so, once for foomodule + .so).
433 Mon Apr 26 22:20:38 1999 Guido van Rossum <guido@cnri.reston.va.us>
435 * ChangeLog, ColorDelegator.py, PyShell.py: Tim Peters strikes again:
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>).
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
449 Fri Apr 23 14:01:25 1999 Guido van Rossum <guido@cnri.reston.va.us>
452 Provide full arguments to __import__ so it works in packagized IDLE.
454 Thu Apr 22 23:20:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
457 Bunch of updates necessary due to recent changes; added docs for File
458 menu, command line and color preferences.
460 * Bindings.py: Remove obsolete 'script' menu.
462 * TODO.txt: Several wishes fulfilled.
465 Moved classes OnDemandOutputWindow and PseudoFile here,
466 from ScriptBinding.py where they are no longer needed.
469 Mostly rewritten. Instead of the old Run module and Debug module,
470 there are two new commands:
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.
476 Run script (Control-F5) is similar but executes the contents of the
477 file directly in the __main__ namespace.
479 * PyShell.py: Nits: document use of $IDLESTARTUP; display idle version
481 * idlever.py: New version to celebrate new command line
483 * OutputWindow.py: Added flush(), for completeness.
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.
498 - the environment in which commands are executed is now the
500 - explicitly save sys.stdout etc., don't restore from sys.__stdout__
501 - new interpreter methods execsource(), execfile(), stuffsource()
505 Some more TODO items. Made up my mind about command line args,
506 Run/Import, __main__.
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
516 Wed Apr 21 15:49:34 1999 Guido van Rossum <guido@cnri.reston.va.us>
519 Patch by Tim Peters to speed up colorizing of big multiline strings.
521 Tue Apr 20 17:32:52 1999 Guido van Rossum <guido@cnri.reston.va.us>
524 For an event 'foo-bar', the corresponding method must be called
525 foo_bar_event(). Therefore, fix the references to zoom_height() in
528 * IdlePrefs.py: Restored the original IDLE color scheme.
530 * PyShell.py, IdlePrefs.py, ColorDelegator.py, EditorWindow.py:
531 Color preferences code by Loren Luke (massaged by me somewhat)
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
540 Mon Apr 19 16:26:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
542 * TODO.txt: A few wishes are now fulfilled.
544 * AutoIndent.py: Tim Peters implements some of my wishes:
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>).
550 o newline_and_indent_event trims trailing whitespace on the old
551 line (pymode and Codewright).
553 o newline_and_indent_event no longer fooled by trailing whitespace or
554 comment after ":" (pymode, PTUI).
556 o newline_and_indent_event now reduces the new line's indentation after
557 return, break, continue, raise and pass stmts (pymode).
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.
563 ======================================================================
564 Python release 1.5.2c1, IDLE version 0.4
565 ======================================================================
567 Wed Apr 7 18:41:59 1999 Guido van Rossum <guido@cnri.reston.va.us>
569 * README.txt, NEWS.txt: New version.
571 * idlever.py: Version bump awaiting impending new release.
572 (Not much has changed :-( )
574 Mon Mar 29 14:52:28 1999 Guido van Rossum <guido@cnri.reston.va.us>
576 * ScriptBinding.py, PyShell.py:
577 At Tim Peters' recommendation, add a dummy flush() method to
580 Thu Mar 11 23:21:23 1999 Guido van Rossum <guido@cnri.reston.va.us>
582 * PathBrowser.py: Don't crash when sys.path contains an empty string.
584 * Attic/Outline.py: This file was never supposed to be part of IDLE.
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.
591 - Show a watch cursor when calling pyclbr (since it may take a while
592 recursively parsing imported modules!).
594 Wed Mar 10 05:18:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
596 * EditorWindow.py, Bindings.py: Add PathBrowser to File module
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
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).
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.
613 * MultiScrolledLists.py:
614 New utility: multiple scrolled lists in parallel
616 * ScrolledList.py: - White background.
617 - Display "(None)" (or text of your choosing) when empty.
618 - Don't set the focus.
620 ======================================================================
621 Python release 1.5.2b2, IDLE version 0.3
622 ======================================================================
624 Wed Feb 17 22:47:41 1999 Guido van Rossum <guido@cnri.reston.va.us>
626 * NEWS.txt: News in 0.3.
628 * README.txt, idlever.py: Bump version to 0.3.
631 After all, we don't need to call the callbacks ourselves!
634 When deleting, call the callbacks *after* deleting the window from our list!
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
642 Support callbacks to patch up Windows menus everywhere.
644 * ChangeLog: Oh, why not. Checking in the Emacs-generated change log.
646 Tue Feb 16 22:34:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
649 Only pop up the stack viewer when requested in the Debug menu.
651 Mon Feb 8 22:27:49 1999 Guido van Rossum <guido@cnri.reston.va.us>
653 * WindowList.py: Don't crash if a window no longer exists.
655 * TODO.txt: Restructured a bit.
657 Mon Feb 1 23:06:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
659 * PyShell.py: Add current dir or paths of file args to sys.path.
661 * Debugger.py: Add canonic() function -- for brand new bdb.py feature.
663 * StackViewer.py: Protect against accessing an empty stack.
665 Fri Jan 29 20:44:45 1999 Guido van Rossum <guido@cnri.reston.va.us>
668 Use only the height to decide whether to zoom in or out.
670 Thu Jan 28 22:24:30 1999 Guido van Rossum <guido@cnri.reston.va.us>
672 * EditorWindow.py, FileList.py:
673 Make sure the Tcl variables are shared between windows.
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.
683 * Debugger.py: Add Quit button to the debugger window.
686 When find_again() finds exactly the current selection, it's a failure.
688 * idle.py, Attic/idle: Rename idle -> idle.py
690 Mon Jan 18 15:18:57 1999 Guido van Rossum <guido@cnri.reston.va.us>
692 * EditorWindow.py, WindowList.py: Only deiconify when iconic.
696 Tue Jan 12 22:14:34 1999 Guido van Rossum <guido@cnri.reston.va.us>
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.)
702 * EditorWindow.py, ColorDelegator.py:
703 Hack to close a window that is colorizing.
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.
710 Mon Jan 11 14:52:40 1999 Guido van Rossum <guido@cnri.reston.va.us>
712 * TODO.txt: Some requests have been fulfilled.
715 Set the cursor to a watch when opening the class browser (which may
716 take quite a while, browsing multiple files).
718 Newer, better center() -- but assumes no wrapping.
721 Got rid of debug print statement in goto_line_event().
724 I think I like it better if it prints the traceback even when it displays
727 * Debugger.py: Bind ESC to close-window.
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.
734 Separator classes (draggable divider between two panes).
736 Sat Jan 9 22:01:33 1999 Guido van Rossum <guido@cnri.reston.va.us>
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...
743 * EditorWindow.py: Allow tearing off of the Windows menu.
745 * StackViewer.py: Close on ESC.
747 * help.txt: Updated a bunch of things (it was mostly still 0.1!)
749 * extend.py: Added ScriptBinding to standard bindings.
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.
756 ======================================================================
757 Python release 1.5.2b1, IDLE version 0.2
758 ======================================================================
760 Fri Jan 8 17:26:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
762 * README.txt, NEWS.txt: What's new in this release.
764 * Bindings.py, PyShell.py:
765 Paul Prescod's patches to allow the stack viewer to pop up when a
766 traceback is printed.
768 Thu Jan 7 00:12:15 1999 Guido van Rossum <guido@cnri.reston.va.us>
770 * FormatParagraph.py:
771 Change paragraph width limit to 70 (like Emacs M-Q).
774 Separating TODO from README. Slight reformulation of features. No
777 * TODO.txt: Separating TODO from README.
779 Mon Jan 4 21:19:09 1999 Guido van Rossum <guido@cnri.reston.va.us>
781 * FormatParagraph.py:
782 Hm. There was a boundary condition error at the end of the file too.
784 * SearchBinding.py: Hm. Add Unix binding for replace, too.
786 * keydefs.py: Ran eventparse.py again.
788 * FormatParagraph.py: Added Unix Meta-q key binding;
789 fix find_paragraph when at start of file.
791 * AutoExpand.py: Added Meta-/ binding for Unix as alt for Alt-/.
794 Add unix binding for grep (otherwise the menu entry doesn't work!)
796 * ZoomHeight.py: Adjusted Unix height to work with fvwm96. :=(
798 * GrepDialog.py: Need to import sys!
800 * help.txt, extend.txt, README.txt: Formatted some paragraphs
802 * extend.py, FormatParagraph.py:
803 Add new extension to reformat a (text) paragraph.
805 * ZoomHeight.py: Typo in Win specific height setting.
807 Sun Jan 3 00:47:35 1999 Guido van Rossum <guido@cnri.reston.va.us>
809 * AutoIndent.py: Added something like Tim Peters' backspace patch.
811 * ZoomHeight.py: Adapted to Unix (i.e., more hardcoded constants).
813 Sat Jan 2 21:28:54 1999 Guido van Rossum <guido@cnri.reston.va.us>
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.
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).
825 This is exactly as downloaded from my laptop after returning
826 from the holidays -- it hasn't even been tested on Unix yet.
828 Fri Dec 18 15:52:54 1998 Guido van Rossum <guido@cnri.reston.va.us>
830 * FileList.py, ClassBrowser.py:
831 Fix the class browser to work even when the file is not on sys.path.
833 Tue Dec 8 20:39:36 1998 Guido van Rossum <guido@cnri.reston.va.us>
835 * Attic/turtle.py: Moved to Python 1.5.2/Lib
837 Fri Nov 27 03:19:20 1998 Guido van Rossum <guido@cnri.reston.va.us>
841 * EditorWindow.py, FileList.py: Support underlining of menu labels
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.
848 Mon Nov 16 18:37:42 1998 Guido van Rossum <guido@cnri.reston.va.us>
850 * Attic/README: Clarify portability and main program.
852 * Attic/README: Added intro for 0.1 release and append Grail notes.
854 Mon Oct 26 18:49:00 1998 Guido van Rossum <guido@cnri.reston.va.us>
856 * Attic/turtle.py: root is now a global called _root
858 Sat Oct 24 16:38:38 1998 Guido van Rossum <guido@cnri.reston.va.us>
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.
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.
869 * Attic/turtle.py: Cope with destruction of the window
871 * Attic/turtle.py: Turtle graphics
873 * Debugger.py: Use of Breakpoint class should be bdb.Breakpoint.
875 Mon Oct 19 03:33:40 1998 Guido van Rossum <guido@cnri.reston.va.us>
878 Speed up the search a bit -- don't drag a mark around...
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.
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.
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).
896 Define a tag and color for breakpoints ("BREAK").
898 * Attic/PopupMenu.py: Disable "Open stack viewer" and "help" commands.
901 Add optional 'force' argument (default 0) to load_dict().
902 If set, redo the display even if it's the same dict.
904 Fri Oct 16 21:10:12 1998 Guido van Rossum <guido@cnri.reston.va.us>
906 * StackViewer.py: Do nothing when loading the same dict as before.
908 * PyShell.py: Details for debugger interface.
911 Restructured and more consistent. Save checkboxes across instantiations.
913 * EditorWindow.py, Attic/README, Bindings.py:
914 Get rid of conflicting ^X binding. Use ^W.
916 * Debugger.py, StackViewer.py:
917 Debugger can now show local and global variables.
921 * Debugger.py, PyShell.py: Better debugger support (show stack etc).
923 * Attic/PopupMenu.py: Follow renames in StackViewer module
926 Rename classes to StackViewer (the widget) and StackBrowser (the toplevel).
928 * ScrolledList.py: Add close() method
930 * EditorWindow.py: Clarify 'Open Module' dialog text
932 * StackViewer.py: Restructured into a browser and a widget.
934 Thu Oct 15 23:27:08 1998 Guido van Rossum <guido@cnri.reston.va.us>
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.
940 * Attic/test.py: Cosmetic change
942 * Debugger.py: Don't show function name if there is none
944 Wed Oct 14 03:43:05 1998 Guido van Rossum <guido@cnri.reston.va.us>
946 * Debugger.py, PyShell.py: Polish the Debugger GUI a bit.
947 Closing it now also does the right thing.
949 Tue Oct 13 23:51:13 1998 Guido van Rossum <guido@cnri.reston.va.us>
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).
957 * StackViewer.py: Whoops -- referenced self.top before it was set.
959 * help.txt: Added history and completion commands.
963 * FileList.py: Add class browser functionality.
966 Add a close() method and bind to WM_DELETE_WINDOW protocol
968 * PyShell.py: Clear the linecache before printing a traceback
970 * Bindings.py: Added class browser binding.
972 * ClassBrowser.py: Much improved, much left to do.
974 * PyShell.py: Make the return key do what I mean more often.
977 Adding the beginnings of a Class browser. Incomplete, yet.
979 * EditorWindow.py, Bindings.py:
980 Add new command, "Open module". You select or type a module name,
981 and it opens the source.
983 Mon Oct 12 23:59:27 1998 Guido van Rossum <guido@cnri.reston.va.us>
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.
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.
992 * EditorWindow.py: Generalize menu creation.
994 * Bindings.py: Add Debug and Help menu items.
996 * EditorWindow.py: Added a menu bar to every window.
998 * Bindings.py: Add menu configuration to the event configuration.
1000 * Attic/PopupMenu.py: Pass a root to the help window.
1003 Add parent argument to 'to to line number' dialog box.
1005 Sat Oct 10 19:15:32 1998 Guido van Rossum <guido@cnri.reston.va.us>
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.
1011 * Attic/test.py, Attic/idle: Add Unix main script and test program.
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.