Kaydet (Commit) 5ddef75f authored tarafından Kurt B. Kaiser's avatar Kurt B. Kaiser

Update for release

Modified Files:
 	NEWS.txt README.txt TODO.txt
üst 6c8579ed
...@@ -7,6 +7,31 @@ What's New in IDLEfork 0.9b1? ...@@ -7,6 +7,31 @@ What's New in IDLEfork 0.9b1?
*Release date: XX-XXX-2003* *Release date: XX-XXX-2003*
- The current working directory of the execution environment (and shell
following completion of execution) is now that of the module being run.
- Added the delete-exitfunc option to config-main.def. (This option is not
included in the Options dialog.) Setting this to True (the default) will
cause IDLE to not run sys.exitfunc/atexit when the subprocess exits.
- IDLE now preserves the line ending codes when editing a file produced on
a different platform. SF 661759, SF 538584
- Reduced default editor font size to 10 point and increased window height
to provide a better initial impression on Windows.
- Options / Fonts/Tabs / Set Base Editor Font: List box was not highlighting
the default font when first installed on Windows. SF 661676
- Added Autosave feature: when user runs code from edit window, if the file
has been modified IDLE will silently save it if Autosave is enabled. The
option is set in the Options dialog, and the default is to prompt the
user to save the file. SF 661318 Bruce Sherwood patch.
- Improved the RESTART annotation in the shell window when the user restarts
the shell while it is generating output. Also improved annotation when user
repeatedly hammers the Ctrl-F6 restart.
- Allow IDLE to run when not installed and cwd is not the IDLE directory - Allow IDLE to run when not installed and cwd is not the IDLE directory
SF Patch 686254 "Run IDLEfork from any directory without set-up" - Raphael SF Patch 686254 "Run IDLEfork from any directory without set-up" - Raphael
...@@ -14,8 +39,10 @@ What's New in IDLEfork 0.9b1? ...@@ -14,8 +39,10 @@ What's New in IDLEfork 0.9b1?
sys.path, prepend it. This allows the module to import other modules in sys.path, prepend it. This allows the module to import other modules in
the same directory. Do the same for a script run from the command line. the same directory. Do the same for a script run from the command line.
- Interrupt the subprocess if it is running when the user attempts to - Correctly restart the subprocess if it is running user code and the user
restart the shell, run a module, or exit. attempts to run some other module or restarts the shell. Do the same if
the link is broken and it is possible to restart the subprocess and re-
connect to the GUI. SF RFE 661321.
- Improved exception reporting when running commands or scripts from the - Improved exception reporting when running commands or scripts from the
command line. command line.
...@@ -30,7 +57,10 @@ What's New in IDLEfork 0.9b1? ...@@ -30,7 +57,10 @@ What's New in IDLEfork 0.9b1?
some platforms or configurations. (Running without the subprocess allows the some platforms or configurations. (Running without the subprocess allows the
debugger to trace through parts of IDLE itself, which may or may not be debugger to trace through parts of IDLE itself, which may or may not be
desirable, depending on your point of view. In addition, the traditional desirable, depending on your point of view. In addition, the traditional
reload/import tricks must be use if user source code is changed.) reload/import tricks must be use if user source code is changed.) This is
helpful for developing IDLE using IDLE, because one instance can be used to
edit the code and a separate instance run to test changes. (Multiple
concurrent IDLE instances with subprocesses is a future feature)
- Improve the error message a user gets when saving a file with non-ASCII - Improve the error message a user gets when saving a file with non-ASCII
characters and no source encoding is specified. Done by adding a dialog characters and no source encoding is specified. Done by adding a dialog
...@@ -48,7 +78,8 @@ What's New in IDLEfork 0.9b1? ...@@ -48,7 +78,8 @@ What's New in IDLEfork 0.9b1?
- Implemented a threaded subprocess which allows interrupting a pass - Implemented a threaded subprocess which allows interrupting a pass
loop in user code using the 'interrupt' extension. User code runs loop in user code using the 'interrupt' extension. User code runs
in MainThread, while the RPCServer is handled by SockThread. in MainThread, while the RPCServer is handled by SockThread. This is
necessary because Windows doesn't support signals.
- Implemented the 'interrupt' extension module, which allows a subthread - Implemented the 'interrupt' extension module, which allows a subthread
to raise a KeyboardInterrupt in the main thread. to raise a KeyboardInterrupt in the main thread.
...@@ -67,23 +98,13 @@ What's New in IDLEfork 0.9b1? ...@@ -67,23 +98,13 @@ What's New in IDLEfork 0.9b1?
- Exit IDLE cleanly even when doing subprocess I/O - Exit IDLE cleanly even when doing subprocess I/O
- Handle subprocess interrupt in Windows with an RPC message. - Handle subprocess interrupt with an RPC message.
- Calling Run will restart the subprocess even if user code is running.
SF RFE 661321
- Restart the subprocess if it terminates itself. (VPython programs do that) - Restart the subprocess if it terminates itself. (VPython programs do that)
- Support subclassing of exceptions, including in the shell, by moving the - Support subclassing of exceptions, including in the shell, by moving the
exception formatting to the subprocess. exception formatting to the subprocess.
- Known issues:
+ Typing two Control-C in close succession when the subprocess is busy can
cause IDLE to lose communication with the subprocess. Please type one
only and wait for the exception to complete. If you do manage to
interrupt the interrupt, simply restart the shell.
+ Printing under some versions of Linux may be problematic.
What's New in IDLEfork 0.9 Alpha 2? What's New in IDLEfork 0.9 Alpha 2?
......
...@@ -9,6 +9,9 @@ available, complete with the IDLE debugger. The magic "reload/import *" ...@@ -9,6 +9,9 @@ available, complete with the IDLE debugger. The magic "reload/import *"
incantations are no longer required when editing/testing a module two or three incantations are no longer required when editing/testing a module two or three
steps down the import chain. steps down the import chain.
It is possible to interrupt tightly looping user code with a control-c, even on
Windows.
There is also a new GUI configuration manager which makes it easy to select There is also a new GUI configuration manager which makes it easy to select
fonts, colors, keybindings, and startup options. There is new feature where fonts, colors, keybindings, and startup options. There is new feature where
the user can specify additional help sources, either locally or on the web. the user can specify additional help sources, either locally or on the web.
...@@ -18,9 +21,6 @@ IDLEfork will be merged back into the Python distribution in the near future ...@@ -18,9 +21,6 @@ IDLEfork will be merged back into the Python distribution in the near future
For information on this release, refer to NEWS.txt For information on this release, refer to NEWS.txt
As David Scherer aptly put it in the original IDLEfork README, "It is alpha
software and might be unstable. If it breaks, you get to keep both pieces."
If you find bugs let us know about them by using the IDLEfork Bug Tracker. See If you find bugs let us know about them by using the IDLEfork Bug Tracker. See
the IDLEfork home page at the IDLEfork home page at
......
...@@ -11,14 +11,14 @@ TO DO: ...@@ -11,14 +11,14 @@ TO DO:
- debugger should be global resource (attached to flist, not to shell) - debugger should be global resource (attached to flist, not to shell)
- fix the stupid bug where you need to step twice - fix the stupid bug where you need to step twice
- display class name in stack viewer entries for methods - display class name in stack viewer entries for methods
- suppress tracing through IDLE internals (e.g. print) - suppress tracing through IDLE internals (e.g. print) DONE
- add a button to suppress through a specific module or class or method - add a button to suppress through a specific module or class or method
- more object inspection to stack viewer, e.g. to view all array items - more object inspection to stack viewer, e.g. to view all array items
- insert the initial current directory into sys.path - insert the initial current directory into sys.path DONE
- default directory attribute for each window instead of only for windows - default directory attribute for each window instead of only for windows
that have an associated filename that have an associated filename
- command expansion from keywords, module contents, other buffers, etc. - command expansion from keywords, module contents, other buffers, etc.
- "Recent documents" menu item - "Recent documents" menu item DONE
- Filter region command - Filter region command
- Optional horizontal scroll bar - Optional horizontal scroll bar
- more Emacsisms: - more Emacsisms:
...@@ -37,7 +37,7 @@ TO DO: ...@@ -37,7 +37,7 @@ TO DO:
- Need to define a standard way whereby one can determine one is running - Need to define a standard way whereby one can determine one is running
inside IDLE (needed for Tk mainloop, also handy for $PYTHONSTARTUP) inside IDLE (needed for Tk mainloop, also handy for $PYTHONSTARTUP)
- Add more utility methods for use by extensions (a la get_selection) - Add more utility methods for use by extensions (a la get_selection)
- Way to run command in totally separate interpreter (fork+os.system?) - Way to run command in totally separate interpreter (fork+os.system?) DONE
- Way to find definition of fully-qualified name: - Way to find definition of fully-qualified name:
In other words, select "UserDict.UserDict", hit some magic key and In other words, select "UserDict.UserDict", hit some magic key and
it loads up UserDict.py and finds the first def or class for UserDict. it loads up UserDict.py and finds the first def or class for UserDict.
...@@ -57,7 +57,7 @@ Details: ...@@ -57,7 +57,7 @@ Details:
- Sometimes for no apparent reason a selection from the cursor to the - Sometimes for no apparent reason a selection from the cursor to the
end of the command buffer appears, which is hard to get rid of end of the command buffer appears, which is hard to get rid of
because it stays when you are typing! because it stays when you are typing!
- The Line/Col in the status bar can be wrong initially in PyShell - The Line/Col in the status bar can be wrong initially in PyShell DONE
Structural problems: Structural problems:
...@@ -71,7 +71,7 @@ Jeff Bauer suggests: ...@@ -71,7 +71,7 @@ Jeff Bauer suggests:
- Open Module doesn't appear to handle hierarchical packages. - Open Module doesn't appear to handle hierarchical packages.
- Class browser should also allow hierarchical packages. - Class browser should also allow hierarchical packages.
- Open and Open Module could benefit from a history, - Open and Open Module could benefit from a history, DONE
either command line style, or Microsoft recent-file either command line style, or Microsoft recent-file
style. style.
- Add a Smalltalk-style inspector (i.e. Tkinspect) - Add a Smalltalk-style inspector (i.e. Tkinspect)
...@@ -126,7 +126,7 @@ Robin Friedrich's items: ...@@ -126,7 +126,7 @@ Robin Friedrich's items:
Things I'd like to see: Things I'd like to see:
- I'd like support for shift-click extending the selection. There's a - I'd like support for shift-click extending the selection. There's a
bug now that it doesn't work the first time you try it. bug now that it doesn't work the first time you try it.
- Printing is needed. How hard can that be on Windows? - Printing is needed. How hard can that be on Windows? FIRST CUT DONE
- The python-mode trick of autoindenting a line with <tab> is neat and - The python-mode trick of autoindenting a line with <tab> is neat and
very handy. very handy.
- (someday) a spellchecker for docstrings and comments. - (someday) a spellchecker for docstrings and comments.
...@@ -181,10 +181,10 @@ escape from the command area. (Albert Brandl) ...@@ -181,10 +181,10 @@ escape from the command area. (Albert Brandl)
- Set X11 class to "idle/Idle", set icon and title to something - Set X11 class to "idle/Idle", set icon and title to something
beginning with "idle" -- for window manangers. (Randall Hopper) beginning with "idle" -- for window manangers. (Randall Hopper)
- Config files editable through a preferences dialog. (me) - Config files editable through a preferences dialog. (me) DONE
- Config files still editable outside the preferences dialog. - Config files still editable outside the preferences dialog.
(Randall Hopper) (Randall Hopper) DONE
- When you're editing a command in PyShell, and there are only blank - When you're editing a command in PyShell, and there are only blank
lines below the cursor, hitting Return should ignore or delete those lines below the cursor, hitting Return should ignore or delete those
...@@ -195,16 +195,16 @@ dialog with options to give command line arguments, run the debugger, ...@@ -195,16 +195,16 @@ dialog with options to give command line arguments, run the debugger,
etc. (me) etc. (me)
- Shouldn't be able to delete part of the prompt (or any text before - Shouldn't be able to delete part of the prompt (or any text before
it) in the PyShell. (Martijn Faassen) it) in the PyShell. (Martijn Faassen) DONE
- Emacs style auto-fill (also smart about comments and strings). - Emacs style auto-fill (also smart about comments and strings).
(Jeremy Hylton) (Jeremy Hylton)
- Output of Run Script should go to a separate output window, not to - Output of Run Script should go to a separate output window, not to
the shell window. Output of separate runs should all go to the same the shell window. Output of separate runs should all go to the same
window but clearly delimited. (David Scherer) window but clearly delimited. (David Scherer) REJECT FIRST, LATTER DONE
- GUI form designer to kick VB's butt. (Robert Geiger) - GUI form designer to kick VB's butt. (Robert Geiger) THAT'S NOT IDLE
- Printing! Possibly via generation of PDF files which the user must - Printing! Possibly via generation of PDF files which the user must
then send to the printer separately. (Dinu Gherman) then send to the printer separately. (Dinu Gherman) FIRST CUT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment