1 Thu Apr 22 23:20:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
4 Bunch of updates necessary due to recent changes; added docs for File
5 menu, command line and color preferences.
7 * Bindings.py: Remove obsolete 'script' menu.
9 * TODO.txt: Several wishes fulfilled.
12 Moved classes OnDemandOutputWindow and PseudoFile here,
13 from ScriptBinding.py where they are no longer needed.
16 Mostly rewritten. Instead of the old Run module and Debug module,
17 there are two new commands:
19 Import module (F5) imports or reloads the module and also adds its
20 name to the __main__ namespace. This gets executed in the PyShell
21 window under control of its debug settings.
23 Run script (Control-F5) is similar but executes the contents of the
24 file directly in the __main__ namespace.
26 * PyShell.py: Nits: document use of $IDLESTARTUP; display idle version
28 * idlever.py: New version to celebrate new command line
30 * OutputWindow.py: Added flush(), for completeness.
33 A lot of changes to make the command line more useful. You can now do:
34 idle.py -e file ... -- to edit files
35 idle.py script arg ... -- to run a script
36 idle.py -c cmd arg ... -- to run a command
37 Other options, see also the usage message (also new!) for more details:
39 -s -- run $IDLESTARTUP or $PYTHONSTARTUP
40 -t title -- set Python Shell window's title
41 sys.argv is set accordingly, unless -e is used.
42 sys.path is absolutized, and all relevant paths are inserted into it.
45 - the environment in which commands are executed is now the
47 - explicitly save sys.stdout etc., don't restore from sys.__stdout__
48 - new interpreter methods execsource(), execfile(), stuffsource()
52 Some more TODO items. Made up my mind about command line args,
56 Super-elegant patch by Tim Peters that speeds up colorization
57 dramatically (up to 15 times he claims). Works by reading more than
58 one line at a time, up to 100-line chunks (starting with one line and
59 then doubling up to the limit). On a typical machine (e.g. Tim's
60 P5-166) this doesn't reduce interactive responsiveness in a noticeable
63 Wed Apr 21 15:49:34 1999 Guido van Rossum <guido@cnri.reston.va.us>
66 Patch by Tim Peters to speed up colorizing of big multiline strings.
68 Tue Apr 20 17:32:52 1999 Guido van Rossum <guido@cnri.reston.va.us>
71 For an event 'foo-bar', the corresponding method must be called
72 foo_bar_event(). Therefore, fix the references to zoom_height() in
75 * IdlePrefs.py: Restored the original IDLE color scheme.
77 * PyShell.py, IdlePrefs.py, ColorDelegator.py, EditorWindow.py:
78 Color preferences code by Loren Luke (massaged by me somewhat)
81 Patch by Mark Favas: it fixes the search engine behaviour where an
82 unsuccessful search wraps around and re-searches that part of the file
83 between the start of the search and the end of the file - only really
84 an issue for very large files, but... (also removes a redundant
87 Mon Apr 19 16:26:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
89 * TODO.txt: A few wishes are now fulfilled.
91 * AutoIndent.py: Tim Peters implements some of my wishes:
93 o Makes the tab key intelligently insert spaces when appropriate
94 (see Help list banter twixt David Ascher and me; idea stolen from
95 every other editor on earth <wink>).
97 o newline_and_indent_event trims trailing whitespace on the old
98 line (pymode and Codewright).
100 o newline_and_indent_event no longer fooled by trailing whitespace or
101 comment after ":" (pymode, PTUI).
103 o newline_and_indent_event now reduces the new line's indentation after
104 return, break, continue, raise and pass stmts (pymode).
106 The last two are easy to fool in the presence of strings &
107 continuations, but pymode requires Emacs's high-powered C parsing
108 functions to avoid that in finite time.
110 ======================================================================
111 Python release 1.5.2c1, IDLE version 0.4
112 ======================================================================
114 Wed Apr 7 18:41:59 1999 Guido van Rossum <guido@cnri.reston.va.us>
116 * README.txt, NEWS.txt: New version.
118 * idlever.py: Version bump awaiting impending new release.
119 (Not much has changed :-( )
121 Mon Mar 29 14:52:28 1999 Guido van Rossum <guido@cnri.reston.va.us>
123 * ScriptBinding.py, PyShell.py:
124 At Tim Peters' recommendation, add a dummy flush() method to
127 Thu Mar 11 23:21:23 1999 Guido van Rossum <guido@cnri.reston.va.us>
129 * PathBrowser.py: Don't crash when sys.path contains an empty string.
131 * Attic/Outline.py: This file was never supposed to be part of IDLE.
134 - Don't crash in the case where a superclass is a string instead of a
135 pyclbr.Class object; this can happen when the superclass is
136 unrecognizable (to pyclbr), e.g. when module renaming is used.
138 - Show a watch cursor when calling pyclbr (since it may take a while
139 recursively parsing imported modules!).
141 Wed Mar 10 05:18:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
143 * EditorWindow.py, Bindings.py: Add PathBrowser to File module
145 * PathBrowser.py: "Path browser" - 4 scrolled lists displaying:
146 directories on sys.path
147 modules in selected directory
148 classes in selected module
149 methods of selected class
151 Sinlge clicking in a directory, module or class item updates the next
152 column with info about the selected item. Double clicking in a
153 module, class or method item opens the file (and selects the clicked
154 item if it is a class or method).
156 I guess eventually I should be using a tree widget for this, but the
157 ones I've seen don't work well enough, so for now I use the old
158 Smalltalk or NeXT style multi-column hierarchical browser.
160 * MultiScrolledLists.py:
161 New utility: multiple scrolled lists in parallel
163 * ScrolledList.py: - White background.
164 - Display "(None)" (or text of your choosing) when empty.
165 - Don't set the focus.
167 ======================================================================
168 Python release 1.5.2b2, IDLE version 0.3
169 ======================================================================
171 Wed Feb 17 22:47:41 1999 Guido van Rossum <guido@cnri.reston.va.us>
173 * NEWS.txt: News in 0.3.
175 * README.txt, idlever.py: Bump version to 0.3.
178 After all, we don't need to call the callbacks ourselves!
181 When deleting, call the callbacks *after* deleting the window from our list!
184 Fix up the Windows menu via the new callback mechanism instead of
185 depending on menu post commands (which don't work when the menu is
189 Support callbacks to patch up Windows menus everywhere.
191 * ChangeLog: Oh, why not. Checking in the Emacs-generated change log.
193 Tue Feb 16 22:34:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
196 Only pop up the stack viewer when requested in the Debug menu.
198 Mon Feb 8 22:27:49 1999 Guido van Rossum <guido@cnri.reston.va.us>
200 * WindowList.py: Don't crash if a window no longer exists.
202 * TODO.txt: Restructured a bit.
204 Mon Feb 1 23:06:17 1999 Guido van Rossum <guido@cnri.reston.va.us>
206 * PyShell.py: Add current dir or paths of file args to sys.path.
208 * Debugger.py: Add canonic() function -- for brand new bdb.py feature.
210 * StackViewer.py: Protect against accessing an empty stack.
212 Fri Jan 29 20:44:45 1999 Guido van Rossum <guido@cnri.reston.va.us>
215 Use only the height to decide whether to zoom in or out.
217 Thu Jan 28 22:24:30 1999 Guido van Rossum <guido@cnri.reston.va.us>
219 * EditorWindow.py, FileList.py:
220 Make sure the Tcl variables are shared between windows.
222 * PyShell.py, EditorWindow.py, Bindings.py:
223 Move menu/key binding code from Bindings.py to EditorWindow.py,
224 with changed APIs -- it makes much more sense there.
225 Also add a new feature: if the first character of a menu label is
226 a '!', it gets a checkbox. Checkboxes are bound to Boolean Tcl variables
227 that can be accessed through the new getvar/setvar/getrawvar API;
228 the variable is named after the event to which the menu is bound.
230 * Debugger.py: Add Quit button to the debugger window.
233 When find_again() finds exactly the current selection, it's a failure.
235 * idle.py, Attic/idle: Rename idle -> idle.py
237 Mon Jan 18 15:18:57 1999 Guido van Rossum <guido@cnri.reston.va.us>
239 * EditorWindow.py, WindowList.py: Only deiconify when iconic.
243 Tue Jan 12 22:14:34 1999 Guido van Rossum <guido@cnri.reston.va.us>
245 * testcode.py, Attic/test.py:
246 Renamed test.py to testcode.py so one can import Python's
247 test package from inside IDLE. (Suggested by Jack Jansen.)
249 * EditorWindow.py, ColorDelegator.py:
250 Hack to close a window that is colorizing.
252 * Separator.py: Vladimir Marangozov's patch:
253 The separator dances too much and seems to jump by arbitrary amounts
254 in arbitrary directions when I try to move it for resizing the frames.
255 This patch makes it more quiet.
257 Mon Jan 11 14:52:40 1999 Guido van Rossum <guido@cnri.reston.va.us>
259 * TODO.txt: Some requests have been fulfilled.
262 Set the cursor to a watch when opening the class browser (which may
263 take quite a while, browsing multiple files).
265 Newer, better center() -- but assumes no wrapping.
268 Got rid of debug print statement in goto_line_event().
271 I think I like it better if it prints the traceback even when it displays
274 * Debugger.py: Bind ESC to close-window.
276 * ClassBrowser.py: Use a HSeparator between the classes and the items.
277 Make the list of classes wider by default (40 chars).
278 Bind ESC to close-window.
281 Separator classes (draggable divider between two panes).
283 Sat Jan 9 22:01:33 1999 Guido van Rossum <guido@cnri.reston.va.us>
286 Don't traceback when wakeup() is called when the window has been destroyed.
287 This can happen when a torn-of Windows menu references closed windows.
288 And Tim Peters claims that the Windows menu is his favorite to tear off...
290 * EditorWindow.py: Allow tearing off of the Windows menu.
292 * StackViewer.py: Close on ESC.
294 * help.txt: Updated a bunch of things (it was mostly still 0.1!)
296 * extend.py: Added ScriptBinding to standard bindings.
299 This now actually works. See doc string. It can run a module (i.e.
300 import or reload) or debug it (same with debugger control). Output
301 goes to a fresh output window, only created when needed.
303 ======================================================================
304 Python release 1.5.2b1, IDLE version 0.2
305 ======================================================================
307 Fri Jan 8 17:26:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
309 * README.txt, NEWS.txt: What's new in this release.
311 * Bindings.py, PyShell.py:
312 Paul Prescod's patches to allow the stack viewer to pop up when a
313 traceback is printed.
315 Thu Jan 7 00:12:15 1999 Guido van Rossum <guido@cnri.reston.va.us>
317 * FormatParagraph.py:
318 Change paragraph width limit to 70 (like Emacs M-Q).
321 Separating TODO from README. Slight reformulation of features. No
324 * TODO.txt: Separating TODO from README.
326 Mon Jan 4 21:19:09 1999 Guido van Rossum <guido@cnri.reston.va.us>
328 * FormatParagraph.py:
329 Hm. There was a boundary condition error at the end of the file too.
331 * SearchBinding.py: Hm. Add Unix binding for replace, too.
333 * keydefs.py: Ran eventparse.py again.
335 * FormatParagraph.py: Added Unix Meta-q key binding;
336 fix find_paragraph when at start of file.
338 * AutoExpand.py: Added Meta-/ binding for Unix as alt for Alt-/.
341 Add unix binding for grep (otherwise the menu entry doesn't work!)
343 * ZoomHeight.py: Adjusted Unix height to work with fvwm96. :=(
345 * GrepDialog.py: Need to import sys!
347 * help.txt, extend.txt, README.txt: Formatted some paragraphs
349 * extend.py, FormatParagraph.py:
350 Add new extension to reformat a (text) paragraph.
352 * ZoomHeight.py: Typo in Win specific height setting.
354 Sun Jan 3 00:47:35 1999 Guido van Rossum <guido@cnri.reston.va.us>
356 * AutoIndent.py: Added something like Tim Peters' backspace patch.
358 * ZoomHeight.py: Adapted to Unix (i.e., more hardcoded constants).
360 Sat Jan 2 21:28:54 1999 Guido van Rossum <guido@cnri.reston.va.us>
362 * 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:
363 Checking in IDLE 0.2.
365 Much has changed -- too much, in fact, to write down.
366 The big news is that there's a standard way to write IDLE extensions;
367 see extend.txt. Some sample extensions have been provided, and
368 some existing code has been converted to extensions. Probably the
369 biggest new user feature is a new search dialog with more options,
370 search and replace, and even search in files (grep).
372 This is exactly as downloaded from my laptop after returning
373 from the holidays -- it hasn't even been tested on Unix yet.
375 Fri Dec 18 15:52:54 1998 Guido van Rossum <guido@cnri.reston.va.us>
377 * FileList.py, ClassBrowser.py:
378 Fix the class browser to work even when the file is not on sys.path.
380 Tue Dec 8 20:39:36 1998 Guido van Rossum <guido@cnri.reston.va.us>
382 * Attic/turtle.py: Moved to Python 1.5.2/Lib
384 Fri Nov 27 03:19:20 1998 Guido van Rossum <guido@cnri.reston.va.us>
388 * EditorWindow.py, FileList.py: Support underlining of menu labels
391 New approach, separate tables for menus (platform-independent) and key
392 definitions (platform-specific), and generating accelerator strings
393 automatically from the key definitions.
395 Mon Nov 16 18:37:42 1998 Guido van Rossum <guido@cnri.reston.va.us>
397 * Attic/README: Clarify portability and main program.
399 * Attic/README: Added intro for 0.1 release and append Grail notes.
401 Mon Oct 26 18:49:00 1998 Guido van Rossum <guido@cnri.reston.va.us>
403 * Attic/turtle.py: root is now a global called _root
405 Sat Oct 24 16:38:38 1998 Guido van Rossum <guido@cnri.reston.va.us>
407 * Attic/turtle.py: Raise the root window on reset().
408 Different action on WM_DELETE_WINDOW is more likely to do the right thing,
409 allowing us to destroy old windows.
412 Split the goto() function in two: _goto() is the internal one,
413 using Canvas coordinates, and goto() uses turtle coordinates
414 and accepts variable argument lists.
416 * Attic/turtle.py: Cope with destruction of the window
418 * Attic/turtle.py: Turtle graphics
420 * Debugger.py: Use of Breakpoint class should be bdb.Breakpoint.
422 Mon Oct 19 03:33:40 1998 Guido van Rossum <guido@cnri.reston.va.us>
425 Speed up the search a bit -- don't drag a mark around...
428 Change our special entries from <console#N> to <pyshell#N>.
429 Patch linecache.checkcache() to keep our special entries alive.
430 Add popup menu to all editor windows to set a breakpoint.
433 Use and pass through the 'force' flag to set_dict() where appropriate.
434 Default source and globals checkboxes to false.
435 Don't interact in user_return().
436 Add primitive set_breakpoint() method.
439 Raise priority of 'sel' tag so its foreground (on Windows) will take
440 priority over text colorization (which on Windows is almost the
441 same color as the selection background).
443 Define a tag and color for breakpoints ("BREAK").
445 * Attic/PopupMenu.py: Disable "Open stack viewer" and "help" commands.
448 Add optional 'force' argument (default 0) to load_dict().
449 If set, redo the display even if it's the same dict.
451 Fri Oct 16 21:10:12 1998 Guido van Rossum <guido@cnri.reston.va.us>
453 * StackViewer.py: Do nothing when loading the same dict as before.
455 * PyShell.py: Details for debugger interface.
458 Restructured and more consistent. Save checkboxes across instantiations.
460 * EditorWindow.py, Attic/README, Bindings.py:
461 Get rid of conflicting ^X binding. Use ^W.
463 * Debugger.py, StackViewer.py:
464 Debugger can now show local and global variables.
468 * Debugger.py, PyShell.py: Better debugger support (show stack etc).
470 * Attic/PopupMenu.py: Follow renames in StackViewer module
473 Rename classes to StackViewer (the widget) and StackBrowser (the toplevel).
475 * ScrolledList.py: Add close() method
477 * EditorWindow.py: Clarify 'Open Module' dialog text
479 * StackViewer.py: Restructured into a browser and a widget.
481 Thu Oct 15 23:27:08 1998 Guido van Rossum <guido@cnri.reston.va.us>
483 * ClassBrowser.py, ScrolledList.py:
484 Generalized the scrolled list which is the base for the class and
485 method browser into a separate class in its own module.
487 * Attic/test.py: Cosmetic change
489 * Debugger.py: Don't show function name if there is none
491 Wed Oct 14 03:43:05 1998 Guido van Rossum <guido@cnri.reston.va.us>
493 * Debugger.py, PyShell.py: Polish the Debugger GUI a bit.
494 Closing it now also does the right thing.
496 Tue Oct 13 23:51:13 1998 Guido van Rossum <guido@cnri.reston.va.us>
498 * Debugger.py, PyShell.py, Bindings.py:
499 Ad primitive debugger interface (so far it will step and show you the
500 source, but it doesn't yet show the stack).
504 * StackViewer.py: Whoops -- referenced self.top before it was set.
506 * help.txt: Added history and completion commands.
510 * FileList.py: Add class browser functionality.
513 Add a close() method and bind to WM_DELETE_WINDOW protocol
515 * PyShell.py: Clear the linecache before printing a traceback
517 * Bindings.py: Added class browser binding.
519 * ClassBrowser.py: Much improved, much left to do.
521 * PyShell.py: Make the return key do what I mean more often.
524 Adding the beginnings of a Class browser. Incomplete, yet.
526 * EditorWindow.py, Bindings.py:
527 Add new command, "Open module". You select or type a module name,
528 and it opens the source.
530 Mon Oct 12 23:59:27 1998 Guido van Rossum <guido@cnri.reston.va.us>
532 * PyShell.py: Subsume functionality from Popup menu in Debug menu.
533 Other stuff so the PyShell window can be resurrected from the Windows menu.
535 * FileList.py: Get rid of PopUp menu.
536 Create a simple Windows menu. (Imperfect when Untitled windows exist.)
537 Add wakeup() method: deiconify, raise, focus.
539 * EditorWindow.py: Generalize menu creation.
541 * Bindings.py: Add Debug and Help menu items.
543 * EditorWindow.py: Added a menu bar to every window.
545 * Bindings.py: Add menu configuration to the event configuration.
547 * Attic/PopupMenu.py: Pass a root to the help window.
550 Add parent argument to 'to to line number' dialog box.
552 Sat Oct 10 19:15:32 1998 Guido van Rossum <guido@cnri.reston.va.us>
555 Add a label at the top showing (very basic) help for the stack viewer.
556 Add a label at the bottom showing the exception info.
558 * Attic/test.py, Attic/idle: Add Unix main script and test program.
560 * 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:
561 Initial checking of Tk-based Python IDE.
562 Features: text editor with syntax coloring and undo;
563 subclassed into interactive Python shell which adds history.