| 1 |
What's New in IDLE 2.7? (Merged into 3.1 before 2.7 release.) |
| 2 |
======================= |
| 3 |
*Release date: 03-Jul-2010* |
| 4 |
|
| 5 |
- idle.py modified and simplified to better support developing experimental |
| 6 |
versions of IDLE which are not installed in the standard location. |
| 7 |
|
| 8 |
- OutputWindow/PyShell right click menu "Go to file/line" wasn't working with |
| 9 |
file paths containing spaces. Bug 5559. |
| 10 |
|
| 11 |
- Windows: Version string for the .chm help file changed, file not being |
| 12 |
accessed Patch 5783 Guilherme Polo |
| 13 |
|
| 14 |
- Allow multiple IDLE GUI/subprocess pairs to exist simultaneously. Thanks to |
| 15 |
David Scherer for suggesting the use of an ephemeral port for the GUI. |
| 16 |
Patch 1529142 Weeble. |
| 17 |
|
| 18 |
- Remove port spec from run.py and fix bug where subprocess fails to |
| 19 |
extract port from command line when warnings are present. |
| 20 |
|
| 21 |
- Tk 8.5 Text widget requires 'wordprocessor' tabstyle attr to handle |
| 22 |
mixed space/tab properly. Issue 5129, patch by Guilherme Polo. |
| 23 |
|
| 24 |
- Issue #3549: On MacOS the preferences menu was not present |
| 25 |
|
| 26 |
- IDLE would print a "Unhandled server exception!" message when internal |
| 27 |
debugging is enabled. |
| 28 |
|
| 29 |
- Issue #4455: IDLE failed to display the windows list when two windows have |
| 30 |
the same title. |
| 31 |
|
| 32 |
- Issue #4383: When IDLE cannot make the connection to its subprocess, it would |
| 33 |
fail to properly display the error message. |
| 34 |
|
| 35 |
- help() was not paging to the shell. Issue1650. |
| 36 |
|
| 37 |
- CodeContext was not importing. |
| 38 |
|
| 39 |
- Corrected two 3.0 compatibility errors reported by Mark Summerfield: |
| 40 |
http://mail.python.org/pipermail/python-3000/2007-December/011491.html |
| 41 |
|
| 42 |
- Shell was not colorizing due to bug introduced at r57998, Bug 1586. |
| 43 |
|
| 44 |
- Issue #1585: IDLE uses non-existent xrange() function. |
| 45 |
|
| 46 |
- Windows EOL sequence not converted correctly, encoding error. |
| 47 |
Caused file save to fail. Bug 1130. |
| 48 |
|
| 49 |
- IDLE converted to Python 3000 syntax. |
| 50 |
|
| 51 |
- Strings became Unicode. |
| 52 |
|
| 53 |
- CallTips module now uses the inspect module to produce the argspec. |
| 54 |
|
| 55 |
- IDLE modules now use absolute import instead of implied relative import. |
| 56 |
|
| 57 |
- atexit call replaces sys.exitfunc. The functionality of delete-exitfunc flag |
| 58 |
in config-main.cfg remains unchanged: if set, registered exit functions will |
| 59 |
be cleared before IDLE exits. |
| 60 |
|
| 61 |
|
| 62 |
What's New in IDLE 2.6 |
| 63 |
====================== |
| 64 |
*Release date: 01-Oct-2008*, merged into 3.0 releases detailed above (3.0rc2) |
| 65 |
|
| 66 |
- Issue #2665: On Windows, an IDLE installation upgraded from an old version |
| 67 |
would not start if a custom theme was defined. |
| 68 |
|
| 69 |
- Home / Control-A toggles between left margin and end of leading white |
| 70 |
space. issue1196903, patch by Jeff Shute. |
| 71 |
|
| 72 |
- Improved AutoCompleteWindow logic. issue2062, patch by Tal Einat. |
| 73 |
|
| 74 |
- Autocompletion of filenames now support alternate separators, e.g. the |
| 75 |
'/' char on Windows. issue2061 Patch by Tal Einat. |
| 76 |
|
| 77 |
- Configured selection highlighting colors were ignored; updating highlighting |
| 78 |
in the config dialog would cause non-Python files to be colored as if they |
| 79 |
were Python source; improve use of ColorDelagator. Patch 1334. Tal Einat. |
| 80 |
|
| 81 |
- ScriptBinding event handlers weren't returning 'break'. Patch 2050, Tal Einat |
| 82 |
|
| 83 |
- There was an error on exit if no sys.exitfunc was defined. Issue 1647. |
| 84 |
|
| 85 |
- Could not open files in .idlerc directory if latter was hidden on Windows. |
| 86 |
Issue 1743, Issue 1862. |
| 87 |
|
| 88 |
- Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat. |
| 89 |
|
| 90 |
- tabpage.py updated: tabbedPages.py now supports multiple dynamic rows |
| 91 |
of tabs. Patch 1612746 Tal Einat. |
| 92 |
|
| 93 |
- Add confirmation dialog before printing. Patch 1717170 Tal Einat. |
| 94 |
|
| 95 |
- Show paste position if > 80 col. Patch 1659326 Tal Einat. |
| 96 |
|
| 97 |
- Update cursor color without restarting. Patch 1725576 Tal Einat. |
| 98 |
|
| 99 |
- Allow keyboard interrupt only when user code is executing in subprocess. |
| 100 |
Patch 1225 Tal Einat (reworked from IDLE-Spoon). |
| 101 |
|
| 102 |
- configDialog cleanup. Patch 1730217 Tal Einat. |
| 103 |
|
| 104 |
- textView cleanup. Patch 1718043 Tal Einat. |
| 105 |
|
| 106 |
- Clean up EditorWindow close. |
| 107 |
|
| 108 |
- Patch 1693258: Fix for duplicate "preferences" menu-OS X. Backport of r56204. |
| 109 |
|
| 110 |
- OSX: Avoid crash for those versions of Tcl/Tk which don't have a console |
| 111 |
|
| 112 |
- Bug in idlelib.MultiCall: Options dialog was crashing IDLE if there was an |
| 113 |
option in config-extensions w/o a value. Patch #1672481, Tal Einat |
| 114 |
|
| 115 |
- Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented; |
| 116 |
mouse and cursor selection in ACWindow implemented; double Tab inserts |
| 117 |
current selection and closes ACW (similar to double-click and Return); scroll |
| 118 |
wheel now works in ACW. Added AutoComplete instructions to IDLE Help. |
| 119 |
|
| 120 |
- AutoCompleteWindow moved below input line, will move above if there |
| 121 |
isn't enough space. Patch 1621265 Tal Einat |
| 122 |
|
| 123 |
- Calltips now 'handle' tuples in the argument list (display '<tuple>' :) |
| 124 |
Suggested solution by Christos Georgiou, Bug 791968. |
| 125 |
|
| 126 |
- Add 'raw' support to configHandler. Patch 1650174 Tal Einat. |
| 127 |
|
| 128 |
- Avoid hang when encountering a duplicate in a completion list. Bug 1571112. |
| 129 |
|
| 130 |
- Patch #1362975: Rework CodeContext indentation algorithm to |
| 131 |
avoid hard-coding pixel widths. |
| 132 |
|
| 133 |
- Bug #813342: Start the IDLE subprocess with -Qnew if the parent |
| 134 |
is started with that option. |
| 135 |
|
| 136 |
- Honor the "Cancel" action in the save dialog (Debian bug #299092) |
| 137 |
|
| 138 |
- Some syntax errors were being caught by tokenize during the tabnanny |
| 139 |
check, resulting in obscure error messages. Do the syntax check |
| 140 |
first. Bug 1562716, 1562719 |
| 141 |
|
| 142 |
- IDLE's version number takes a big jump to match the version number of |
| 143 |
the Python release of which it's a part. |
| 144 |
|
| 145 |
|
| 146 |
What's New in IDLE 1.2? |
| 147 |
======================= |
| 148 |
*Release date: 19-SEP-2006* |
| 149 |
|
| 150 |
- File menu hotkeys: there were three 'p' assignments. Reassign the |
| 151 |
'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the |
| 152 |
Shell hotkey from 's' to 'l'. |
| 153 |
|
| 154 |
- IDLE honors new quit() and exit() commands from site.py Quitter() object. |
| 155 |
Patch 1540892, Jim Jewett |
| 156 |
|
| 157 |
- The 'with' statement is now a Code Context block opener. |
| 158 |
Patch 1540851, Jim Jewett |
| 159 |
|
| 160 |
- Retrieval of previous shell command was not always preserving indentation |
| 161 |
(since 1.2a1) Patch 1528468 Tal Einat. |
| 162 |
|
| 163 |
- Changing tokenize (39046) to detect dedent broke tabnanny check (since 1.2a1) |
| 164 |
|
| 165 |
- ToggleTab dialog was setting indent to 8 even if cancelled (since 1.2a1). |
| 166 |
|
| 167 |
- When used w/o subprocess, all exceptions were preceded by an error |
| 168 |
message claiming they were IDLE internal errors (since 1.2a1). |
| 169 |
|
| 170 |
- Bug #1525817: Don't truncate short lines in IDLE's tool tips. |
| 171 |
|
| 172 |
- Bug #1517990: IDLE keybindings on MacOS X now work correctly |
| 173 |
|
| 174 |
- Bug #1517996: IDLE now longer shows the default Tk menu when a |
| 175 |
path browser, class browser or debugger is the frontmost window on MacOS X |
| 176 |
|
| 177 |
- EditorWindow.test() was failing. Bug 1417598 |
| 178 |
|
| 179 |
- EditorWindow failed when used stand-alone if sys.ps1 not set. |
| 180 |
Bug 1010370 Dave Florek |
| 181 |
|
| 182 |
- Tooltips failed on new-syle class __init__ args. Bug 1027566 Loren Guthrie |
| 183 |
|
| 184 |
- Avoid occasional failure to detect closing paren properly. |
| 185 |
Patch 1407280 Tal Einat |
| 186 |
|
| 187 |
- Rebinding Tab key was inserting 'tab' instead of 'Tab'. Bug 1179168. |
| 188 |
|
| 189 |
- Colorizer now handles #<builtin> correctly, also unicode strings and |
| 190 |
'as' keyword in comment directly following import command. Closes 1325071. |
| 191 |
Patch 1479219 Tal Einat |
| 192 |
|
| 193 |
- Patch #1162825: Support non-ASCII characters in IDLE window titles. |
| 194 |
|
| 195 |
- Source file f.flush() after writing; trying to avoid lossage if user |
| 196 |
kills GUI. |
| 197 |
|
| 198 |
- Options / Keys / Advanced dialog made functional. Also, allow binding |
| 199 |
of 'movement' keys. |
| 200 |
|
| 201 |
- 'syntax' patch adds improved calltips and a new class attribute listbox. |
| 202 |
MultiCall module allows binding multiple actions to an event. |
| 203 |
Patch 906702 Noam Raphael |
| 204 |
|
| 205 |
- Better indentation after first line of string continuation. |
| 206 |
IDLEfork Patch 681992, Noam Raphael |
| 207 |
|
| 208 |
- Fixed CodeContext alignment problem, following suggestion from Tal Einat. |
| 209 |
|
| 210 |
- Increased performance in CodeContext extension Patch 936169 Noam Raphael |
| 211 |
|
| 212 |
- Mac line endings were incorrect when pasting code from some browsers |
| 213 |
when using X11 and the Fink distribution. Python Bug 1263656. |
| 214 |
|
| 215 |
- <Enter> when cursor is on a previous command retrieves that command. Instead |
| 216 |
of replacing the input line, the previous command is now appended to the |
| 217 |
input line. Indentation is preserved, and undo is enabled. |
| 218 |
Patch 1196917 Jeff Shute |
| 219 |
|
| 220 |
- Clarify "tab/space" Error Dialog and "Tab Width" Dialog associated with |
| 221 |
the Untabify command. |
| 222 |
|
| 223 |
- Corrected "tab/space" Error Dialog to show correct menu for Untabify. |
| 224 |
Patch 1196980 Jeff Shute |
| 225 |
|
| 226 |
- New files are colorized by default, and colorizing is removed when |
| 227 |
saving as non-Python files. Patch 1196895 Jeff Shute |
| 228 |
Closes Python Bugs 775012 and 800432, partial fix IDLEfork 763524 |
| 229 |
|
| 230 |
- Improve subprocess link error notification. |
| 231 |
|
| 232 |
- run.py: use Queue's blocking feature instead of sleeping in the main |
| 233 |
loop. Patch # 1190163 Michiel de Hoon |
| 234 |
|
| 235 |
- Add config-main option to make the 'history' feature non-cyclic. |
| 236 |
Default remains cyclic. Python Patch 914546 Noam Raphael. |
| 237 |
|
| 238 |
- Removed ability to configure tabs indent from Options dialog. This 'feature' |
| 239 |
has never worked and no one has complained. It is still possible to set a |
| 240 |
default tabs (v. spaces) indent 'manually' via config-main.def (or to turn on |
| 241 |
tabs for the current EditorWindow via the Format menu) but IDLE will |
| 242 |
encourage indentation via spaces. |
| 243 |
|
| 244 |
- Enable setting the indentation width using the Options dialog. |
| 245 |
Bug # 783877 |
| 246 |
|
| 247 |
- Add keybindings for del-word-left and del-word-right. |
| 248 |
|
| 249 |
- Discourage using an indent width other than 8 when using tabs to indent |
| 250 |
Python code. |
| 251 |
|
| 252 |
- Restore use of EditorWindow.set_indentation_params(), was dead code since |
| 253 |
Autoindent was merged into EditorWindow. This allows IDLE to conform to the |
| 254 |
indentation width of a loaded file. (But it still will not switch to tabs |
| 255 |
even if the file uses tabs.) Any change in indent width is local to that |
| 256 |
window. |
| 257 |
|
| 258 |
- Add Tabnanny check before Run/F5, not just when Checking module. |
| 259 |
|
| 260 |
- If an extension can't be loaded, print warning and skip it instead of |
| 261 |
erroring out. |
| 262 |
|
| 263 |
- Improve error handling when .idlerc can't be created (warn and exit). |
| 264 |
|
| 265 |
- The GUI was hanging if the shell window was closed while a raw_input() |
| 266 |
was pending. Restored the quit() of the readline() mainloop(). |
| 267 |
http://mail.python.org/pipermail/idle-dev/2004-December/002307.html |
| 268 |
|
| 269 |
- The remote procedure call module rpc.py can now access data attributes of |
| 270 |
remote registered objects. Changes to these attributes are local, however. |
| 271 |
|
| 272 |
|
| 273 |
What's New in IDLE 1.1? |
| 274 |
======================= |
| 275 |
*Release date: 30-NOV-2004* |
| 276 |
|
| 277 |
- On OpenBSD, terminating IDLE with ctrl-c from the command line caused a |
| 278 |
stuck subprocess MainThread because only the SocketThread was exiting. |
| 279 |
|
| 280 |
- Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set" |
| 281 |
button) caused IDLE to fail on restart (no new keyset was created in |
| 282 |
config-keys.cfg). Also true for Theme/highlights. Python Bug 1064535. |
| 283 |
|
| 284 |
- A change to the linecache.py API caused IDLE to exit when an exception was |
| 285 |
raised while running without the subprocess (-n switch). Python Bug 1063840. |
| 286 |
|
| 287 |
- When paragraph reformat width was made configurable, a bug was |
| 288 |
introduced that caused reformatting of comment blocks to ignore how |
| 289 |
far the block was indented, effectively adding the indentation width |
| 290 |
to the reformat width. This has been repaired, and the reformat |
| 291 |
width is again a bound on the total width of reformatted lines. |
| 292 |
|
| 293 |
- Improve keyboard focus binding, especially in Windows menu. Improve |
| 294 |
window raising, especially in the Windows menu and in the debugger. |
| 295 |
IDLEfork 763524. |
| 296 |
|
| 297 |
- If user passes a non-existent filename on the commandline, just |
| 298 |
open a new file, don't raise a dialog. IDLEfork 854928. |
| 299 |
|
| 300 |
- EditorWindow.py was not finding the .chm help file on Windows. Typo |
| 301 |
at Rev 1.54. Python Bug 990954 |
| 302 |
|
| 303 |
- checking sys.platform for substring 'win' was breaking IDLE docs on Mac |
| 304 |
(darwin). Also, Mac Safari browser requires full file:// URIs. SF 900580. |
| 305 |
|
| 306 |
- Redirect the warning stream to the shell during the ScriptBinding check of |
| 307 |
user code and format the warning similarly to an exception for both that |
| 308 |
check and for runtime warnings raised in the subprocess. |
| 309 |
|
| 310 |
- CodeContext hint pane visibility state is now persistent across sessions. |
| 311 |
The pane no longer appears in the shell window. Added capability to limit |
| 312 |
extensions to shell window or editor windows. Noam Raphael addition |
| 313 |
to Patch 936169. |
| 314 |
|
| 315 |
- Paragraph reformat width is now a configurable parameter in the |
| 316 |
Options GUI. |
| 317 |
|
| 318 |
- New Extension: CodeContext. Provides block structuring hints for code |
| 319 |
which has scrolled above an edit window. Patch 936169 Noam Raphael. |
| 320 |
|
| 321 |
- If nulls somehow got into the strings in recent-files.lst |
| 322 |
EditorWindow.update_recent_files_list() was failing. Python Bug 931336. |
| 323 |
|
| 324 |
- If the normal background is changed via Configure/Highlighting, it will |
| 325 |
update immediately, thanks to the previously mentioned patch by Nigel Rowe. |
| 326 |
|
| 327 |
- Add a highlight theme for builtin keywords. Python Patch 805830 Nigel Rowe |
| 328 |
This also fixed IDLEfork bug [ 693418 ] Normal text background color not |
| 329 |
refreshed and Python bug [897872 ] Unknown color name on HP-UX |
| 330 |
|
| 331 |
- rpc.py:SocketIO - Large modules were generating large pickles when downloaded |
| 332 |
to the execution server. The return of the OK response from the subprocess |
| 333 |
initialization was interfering and causing the sending socket to be not |
| 334 |
ready. Add an IO ready test to fix this. Moved the polling IO ready test |
| 335 |
into pollpacket(). |
| 336 |
|
| 337 |
- Fix typo in rpc.py, s/b "pickle.PicklingError" not "pickle.UnpicklingError". |
| 338 |
|
| 339 |
- Added a Tk error dialog to run.py inform the user if the subprocess can't |
| 340 |
connect to the user GUI process. Added a timeout to the GUI's listening |
| 341 |
socket. Added Tk error dialogs to PyShell.py to announce a failure to bind |
| 342 |
the port or connect to the subprocess. Clean up error handling during |
| 343 |
connection initiation phase. This is an update of Python Patch 778323. |
| 344 |
|
| 345 |
- Print correct exception even if source file changed since shell was |
| 346 |
restarted. IDLEfork Patch 869012 Noam Raphael |
| 347 |
|
| 348 |
- Keybindings with the Shift modifier now work correctly. So do bindings which |
| 349 |
use the Space key. Limit unmodified user keybindings to the function keys. |
| 350 |
Python Bug 775353, IDLEfork Bugs 755647, 761557 |
| 351 |
|
| 352 |
- After an exception, run.py was not setting the exception vector. Noam |
| 353 |
Raphael suggested correcting this so pdb's postmortem pm() would work. |
| 354 |
IDLEfork Patch 844675 |
| 355 |
|
| 356 |
- IDLE now does not fail to save the file anymore if the Tk buffer is not a |
| 357 |
Unicode string, yet eol_convention is. Python Bugs 774680, 788378 |
| 358 |
|
| 359 |
- IDLE didn't start correctly when Python was installed in "Program Files" on |
| 360 |
W2K and XP. Python Bugs 780451, 784183 |
| 361 |
|
| 362 |
- config-main.def documentation incorrectly referred to idle- instead of |
| 363 |
config- filenames. SF 782759 Also added note about .idlerc location. |
| 364 |
|
| 365 |
|
| 366 |
What's New in IDLE 1.0? |
| 367 |
======================= |
| 368 |
*Release date: 29-Jul-2003* |
| 369 |
|
| 370 |
- Added a banner to the shell discussing warnings possibly raised by personal |
| 371 |
firewall software. Added same comment to README.txt. |
| 372 |
|
| 373 |
- Calltip error when docstring was None Python Bug 775541 |
| 374 |
|
| 375 |
- Updated extend.txt, help.txt, and config-extensions.def to correctly |
| 376 |
reflect the current status of the configuration system. Python Bug 768469 |
| 377 |
|
| 378 |
- Fixed: Call Tip Trimming May Loop Forever. Python Patch 769142 (Daniels) |
| 379 |
|
| 380 |
- Replaced apply(f, args, kwds) with f(*args, **kwargs) to improve performance |
| 381 |
Python Patch 768187 |
| 382 |
|
| 383 |
- Break or continue statements outside a loop were causing IDLE crash |
| 384 |
Python Bug 767794 |
| 385 |
|
| 386 |
- Convert Unicode strings from readline to IOBinding.encoding. Also set |
| 387 |
sys.std{in|out|err}.encoding, for both the local and the subprocess case. |
| 388 |
SF IDLEfork patch 682347. |
| 389 |
|
| 390 |
- Extend AboutDialog.ViewFile() to support file encodings. Make the CREDITS |
| 391 |
file Latin-1. |
| 392 |
|
| 393 |
- Updated the About dialog to reflect re-integration into Python. Provide |
| 394 |
buttons to display Python's NEWS, License, and Credits, plus additional |
| 395 |
buttons for IDLE's README and NEWS. |
| 396 |
|
| 397 |
- TextViewer() now has a third parameter which allows inserting text into the |
| 398 |
viewer instead of reading from a file. |
| 399 |
|
| 400 |
- (Created the .../Lib/idlelib directory in the Python CVS, which is a clone of |
| 401 |
IDLEfork modified to install in the Python environment. The code in the |
| 402 |
interrupt module has been moved to thread.interrupt_main(). ) |
| 403 |
|
| 404 |
- Printing the Shell window was failing if it was not saved first SF 748975 |
| 405 |
|
| 406 |
- When using the Search in Files dialog, if the user had a selection |
| 407 |
highlighted in his Editor window, insert it into the dialog search field. |
| 408 |
|
| 409 |
- The Python Shell entry was disappearing from the Windows menu. |
| 410 |
|
| 411 |
- Update the Windows file list when a file name change occurs |
| 412 |
|
| 413 |
- Change to File / Open Module: always pop up the dialog, using the current |
| 414 |
selection as the default value. This is easier to use habitually. |
| 415 |
|
| 416 |
- Avoided a problem with starting the subprocess when 'localhost' doesn't |
| 417 |
resolve to the user's loopback interface. SF 747772 |
| 418 |
|
| 419 |
- Fixed an issue with highlighted errors never de-colorizing. SF 747677. Also |
| 420 |
improved notification of Tabnanny Token Error. |
| 421 |
|
| 422 |
- File / New will by default save in the directory of the Edit window from |
| 423 |
which it was initiated. SF 748973 Guido van Rossum patch. |
| 424 |
|
| 425 |
|
| 426 |
What's New in IDLEfork 0.9b1? |
| 427 |
============================= |
| 428 |
*Release date: 02-Jun-2003* |
| 429 |
|
| 430 |
- The current working directory of the execution environment (and shell |
| 431 |
following completion of execution) is now that of the module being run. |
| 432 |
|
| 433 |
- Added the delete-exitfunc option to config-main.def. (This option is not |
| 434 |
included in the Options dialog.) Setting this to True (the default) will |
| 435 |
cause IDLE to not run sys.exitfunc/atexit when the subprocess exits. |
| 436 |
|
| 437 |
- IDLE now preserves the line ending codes when editing a file produced on |
| 438 |
a different platform. SF 661759, SF 538584 |
| 439 |
|
| 440 |
- Reduced default editor font size to 10 point and increased window height |
| 441 |
to provide a better initial impression on Windows. |
| 442 |
|
| 443 |
- Options / Fonts/Tabs / Set Base Editor Font: List box was not highlighting |
| 444 |
the default font when first installed on Windows. SF 661676 |
| 445 |
|
| 446 |
- Added Autosave feature: when user runs code from edit window, if the file |
| 447 |
has been modified IDLE will silently save it if Autosave is enabled. The |
| 448 |
option is set in the Options dialog, and the default is to prompt the |
| 449 |
user to save the file. SF 661318 Bruce Sherwood patch. |
| 450 |
|
| 451 |
- Improved the RESTART annotation in the shell window when the user restarts |
| 452 |
the shell while it is generating output. Also improved annotation when user |
| 453 |
repeatedly hammers the Ctrl-F6 restart. |
| 454 |
|
| 455 |
- Allow IDLE to run when not installed and cwd is not the IDLE directory |
| 456 |
SF Patch 686254 "Run IDLEfork from any directory without set-up" - Raphael |
| 457 |
|
| 458 |
- When a module is run from an EditorWindow: if its directory is not in |
| 459 |
sys.path, prepend it. This allows the module to import other modules in |
| 460 |
the same directory. Do the same for a script run from the command line. |
| 461 |
|
| 462 |
- Correctly restart the subprocess if it is running user code and the user |
| 463 |
attempts to run some other module or restarts the shell. Do the same if |
| 464 |
the link is broken and it is possible to restart the subprocess and re- |
| 465 |
connect to the GUI. SF RFE 661321. |
| 466 |
|
| 467 |
- Improved exception reporting when running commands or scripts from the |
| 468 |
command line. |
| 469 |
|
| 470 |
- Added a -n command line switch to start IDLE without the subprocess. |
| 471 |
Removed the Shell menu when running in that mode. Updated help messages. |
| 472 |
|
| 473 |
- Added a comment to the shell startup header to indicate when IDLE is not |
| 474 |
using the subprocess. |
| 475 |
|
| 476 |
- Restore the ability to run without the subprocess. This can be important for |
| 477 |
some platforms or configurations. (Running without the subprocess allows the |
| 478 |
debugger to trace through parts of IDLE itself, which may or may not be |
| 479 |
desirable, depending on your point of view. In addition, the traditional |
| 480 |
reload/import tricks must be use if user source code is changed.) This is |
| 481 |
helpful for developing IDLE using IDLE, because one instance can be used to |
| 482 |
edit the code and a separate instance run to test changes. (Multiple |
| 483 |
concurrent IDLE instances with subprocesses is a future feature) |
| 484 |
|
| 485 |
- Improve the error message a user gets when saving a file with non-ASCII |
| 486 |
characters and no source encoding is specified. Done by adding a dialog |
| 487 |
'EncodingMessage', which contains the line to add in a fixed-font entry |
| 488 |
widget, and which has a button to add that line to the file automatically. |
| 489 |
Also, add a configuration option 'EditorWindow/encoding', which has three |
| 490 |
possible values: none, utf-8, and locale. None is the default: IDLE will show |
| 491 |
this dialog when non-ASCII characters are encountered. utf-8 means that files |
| 492 |
with non-ASCII characters are saved as utf-8-with-bom. locale means that |
| 493 |
files are saved in the locale's encoding; the dialog is only displayed if the |
| 494 |
source contains characters outside the locale's charset. SF 710733 - Loewis |
| 495 |
|
| 496 |
- Improved I/O response by tweaking the wait parameter in various |
| 497 |
calls to signal.signal(). |
| 498 |
|
| 499 |
- Implemented a threaded subprocess which allows interrupting a pass |
| 500 |
loop in user code using the 'interrupt' extension. User code runs |
| 501 |
in MainThread, while the RPCServer is handled by SockThread. This is |
| 502 |
necessary because Windows doesn't support signals. |
| 503 |
|
| 504 |
- Implemented the 'interrupt' extension module, which allows a subthread |
| 505 |
to raise a KeyboardInterrupt in the main thread. |
| 506 |
|
| 507 |
- Attempting to save the shell raised an error related to saving |
| 508 |
breakpoints, which are not implemented in the shell |
| 509 |
|
| 510 |
- Provide a correct message when 'exit' or 'quit' are entered at the |
| 511 |
IDLE command prompt SF 695861 |
| 512 |
|
| 513 |
- Eliminate extra blank line in shell output caused by not flushing |
| 514 |
stdout when user code ends with an unterminated print. SF 695861 |
| 515 |
|
| 516 |
- Moved responsibility for exception formatting (i.e. pruning IDLE internal |
| 517 |
calls) out of rpc.py into the client and server. |
| 518 |
|
| 519 |
- Exit IDLE cleanly even when doing subprocess I/O |
| 520 |
|
| 521 |
- Handle subprocess interrupt with an RPC message. |
| 522 |
|
| 523 |
- Restart the subprocess if it terminates itself. (VPython programs do that) |
| 524 |
|
| 525 |
- Support subclassing of exceptions, including in the shell, by moving the |
| 526 |
exception formatting to the subprocess. |
| 527 |
|
| 528 |
|
| 529 |
What's New in IDLEfork 0.9 Alpha 2? |
| 530 |
=================================== |
| 531 |
*Release date: 27-Jan-2003* |
| 532 |
|
| 533 |
- Updated INSTALL.txt to claify use of the python2 rpm. |
| 534 |
|
| 535 |
- Improved formatting in IDLE Help. |
| 536 |
|
| 537 |
- Run menu: Replace "Run Script" with "Run Module". |
| 538 |
|
| 539 |
- Code encountering an unhandled exception under the debugger now shows |
| 540 |
the correct traceback, with IDLE internal levels pruned out. |
| 541 |
|
| 542 |
- If an exception occurs entirely in IDLE, don't prune the IDLE internal |
| 543 |
modules from the traceback displayed. |
| 544 |
|
| 545 |
- Class Browser and Path Browser now use Alt-Key-2 for vertical zoom. |
| 546 |
|
| 547 |
- IDLE icons will now install correctly even when setup.py is run from the |
| 548 |
build directory |
| 549 |
|
| 550 |
- Class Browser now compatible with Python2.3 version of pyclbr.py |
| 551 |
|
| 552 |
- Left cursor move in presence of selected text now moves from left end |
| 553 |
of the selection. |
| 554 |
|
| 555 |
- Add Meta keybindings to "IDLE Classic Windows" to handle reversed |
| 556 |
Alt/Meta on some Linux distros. |
| 557 |
|
| 558 |
- Change default: IDLE now starts with Python Shell. |
| 559 |
|
| 560 |
- Removed the File Path from the Additional Help Sources scrolled list. |
| 561 |
|
| 562 |
- Add capability to access Additional Help Sources on the web if the |
| 563 |
Help File Path begins with //http or www. (Otherwise local path is |
| 564 |
validated, as before.) |
| 565 |
|
| 566 |
- Additional Help Sources were not being posted on the Help menu in the |
| 567 |
order entered. Implement sorting the list by [HelpFiles] 'option' |
| 568 |
number. |
| 569 |
|
| 570 |
- Add Browse button to New Help Source dialog. Arrange to start in |
| 571 |
Python/Doc if platform is Windows, otherwise start in current directory. |
| 572 |
|
| 573 |
- Put the Additional Help Sources directly on the Help menu instead of in |
| 574 |
an Extra Help cascade menu. Rearrange the Help menu so the Additional |
| 575 |
Help Sources come last. Update help.txt appropriately. |
| 576 |
|
| 577 |
- Fix Tk root pop-ups in configSectionNameDialog.py and configDialog.py |
| 578 |
|
| 579 |
- Uniform capitalization in General tab of ConfigDialog, update the doc string. |
| 580 |
|
| 581 |
- Fix bug in ConfigDialog where SaveAllChangedConfig() was unexpectedly |
| 582 |
deleting Additional Help Sources from the user's config file. |
| 583 |
|
| 584 |
- Make configHelpSourceEdit OK button the default and bind <Return> |
| 585 |
|
| 586 |
- Fix Tk root pop-ups in configHelpSourceEdit: error dialogs not attached |
| 587 |
to parents. |
| 588 |
|
| 589 |
- Use os.startfile() to open both Additional Help and Python Help on the |
| 590 |
Windows platform. The application associated with the file type will act as |
| 591 |
the viewer. Windows help files (.chm) are now supported via the |
| 592 |
Settings/General/Additional Help facility. |
| 593 |
|
| 594 |
- If Python Help files are installed locally on Linux, use them instead of |
| 595 |
accessing python.org. |
| 596 |
|
| 597 |
- Make the methods for finding the Python help docs more robust, and make |
| 598 |
them work in the installed configuration, also. |
| 599 |
|
| 600 |
- On the Save Before Run dialog, make the OK button the default. One |
| 601 |
less mouse action! |
| 602 |
|
| 603 |
- Add a method: EditorWindow.get_geometry() for future use in implementing |
| 604 |
window location persistence. |
| 605 |
|
| 606 |
- Removed the "Help/Advice" menu entry. Thanks, David! We'll remember! |
| 607 |
|
| 608 |
- Change the "Classic Windows" theme's paste key to be <ctrl-v>. |
| 609 |
|
| 610 |
- Rearrange the Shell menu to put Stack Viewer entries adjacent. |
| 611 |
|
| 612 |
- Add the ability to restart the subprocess interpreter from the shell window; |
| 613 |
add an associated menu entry "Shell/Restart" with binding Control-F6. Update |
| 614 |
IDLE help. |
| 615 |
|
| 616 |
- Upon a restart, annotate the shell window with a "restart boundary". Add a |
| 617 |
shell window menu "Shell/View Restart" with binding F6 to jump to the most |
| 618 |
recent restart boundary. |
| 619 |
|
| 620 |
- Add Shell menu to Python Shell; change "Settings" to "Options". |
| 621 |
|
| 622 |
- Remove incorrect comment in setup.py: IDLEfork is now installed as a package. |
| 623 |
|
| 624 |
- Add INSTALL.txt, HISTORY.txt, NEWS.txt to installed configuration. |
| 625 |
|
| 626 |
- In installer text, fix reference to Visual Python, should be VPython. |
| 627 |
Properly credit David Scherer. |
| 628 |
|
| 629 |
- Modified idle, idle.py, idle.pyw to improve exception handling. |
| 630 |
|
| 631 |
|
| 632 |
What's New in IDLEfork 0.9 Alpha 1? |
| 633 |
=================================== |
| 634 |
*Release date: 31-Dec-2002* |
| 635 |
|
| 636 |
- First release of major new functionality. For further details refer to |
| 637 |
Idle-dev and/or the Sourceforge CVS. |
| 638 |
|
| 639 |
- Adapted to the Mac platform. |
| 640 |
|
| 641 |
- Overhauled the IDLE startup options and revised the idle -h help message, |
| 642 |
which provides details of command line usage. |
| 643 |
|
| 644 |
- Multiple bug fixes and usability enhancements. |
| 645 |
|
| 646 |
- Introduced the new RPC implementation, which includes a debugger. The output |
| 647 |
of user code is to the shell, and the shell may be used to inspect the |
| 648 |
environment after the run has finished. (In version 0.8.1 the shell |
| 649 |
environment was separate from the environment of the user code.) |
| 650 |
|
| 651 |
- Introduced the configuration GUI and a new About dialog. |
| 652 |
|
| 653 |
- Removed David Scherer's Remote Procedure Call code and replaced with Guido |
| 654 |
van Rossum's. GvR code has support for the IDLE debugger and uses the shell |
| 655 |
to inspect the environment of code Run from an Edit window. Files removed: |
| 656 |
ExecBinding.py, loader.py, protocol.py, Remote.py, spawn.py |
| 657 |
|
| 658 |
-------------------------------------------------------------------- |
| 659 |
Refer to HISTORY.txt for additional information on earlier releases. |
| 660 |
-------------------------------------------------------------------- |