Commit Graph

697 Commits

Author SHA1 Message Date
Andrew Svetlov 5018db76aa Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:39:14 +02:00
Ned Deily e3d47128c5 Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
with certain versions of Tk 8.5.  Initial patch by Kevin Walzer.
2012-10-22 15:13:01 -07:00
Ned Deily c859bd2b28 Issue #10405: Document IDLE context menus in Standard Library document
and IDLE Help file.  (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
2012-10-20 13:23:25 -07:00
Andrew Svetlov 45c0766c02 Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
2012-10-04 22:52:07 +03:00
Andrew Svetlov 8ba844ac14 Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
2012-08-04 21:45:23 +03:00
Andrew Svetlov 8a15c37df7 Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
2012-07-31 19:51:27 +03:00
Ned Deily 38df514296 Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
2012-07-30 03:28:22 -07:00
Martin v. Löwis e2b5624ee8 Issue #15318: Prevent writing to sys.stdin.
Patch by Roger Serwy and myself.
2012-07-25 10:56:22 +02:00
Martin v. Löwis 3e0cc0f12c Use _RPCFile.write properly. 2012-07-11 09:19:16 +02:00
Martin v. Löwis 1ba32187c0 Don't use TextIOBase implementations in _RPCFile. 2012-07-11 08:49:58 +02:00
Martin v. Löwis dbde88696b Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka. 2012-07-11 08:32:05 +02:00
Terry Jan Reedy f8fc674f0b Issue 13532: Allow bytearrays to be written also. 2012-07-09 17:57:13 -04:00
Martin v. Löwis 9e6bf1a8ee Widen test to support unicode. 2012-07-09 21:07:41 +02:00
Martin v. Löwis e8e4e1456c - Issue #13532: Check that arguments to sys.stdout.write are strings. 2012-07-09 21:01:49 +02:00
Terry Jan Reedy 5525eb77fa NEWS fixes 2012-06-07 19:50:30 -04:00
Terry Jan Reedy e93bc51b59 Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name
'name' to 'expression' as the latter is what the string actually represents.
The bug in this issue was only catching NameError and AttributeError when
evaluating an expression that was not necessarily a name.
2012-06-03 00:58:36 -04:00
Terry Jan Reedy f0775131f9 Issue 10365: Add and replace comments; condense defaulted attribute access.
Code patch by Roger Serwy.
2012-06-02 20:22:35 -04:00
Ned Deily 5e247b705e Issue #14962: Update text coloring in IDLE shell window after changing
options.  Patch by Roger Serwy.
2012-05-31 09:17:29 -07:00
Ned Deily 7148984d61 Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu. 2012-05-29 10:42:34 -07:00
Terry Jan Reedy d9d276b0dc Issue12510: Attempting to get invalid tooltip no longer closes Idle.
Original patch by Roger Serwy.
2012-05-27 21:28:42 -04:00
Terry Jan Reedy 7f5d4104b4 #10365 Trim trailing whitespace 2012-05-26 20:45:35 -04:00
Terry Jan Reedy eaa7e7825e Issue #10365: File open dialog now works instead of crashing
even when parent window is closed. Patch by Roger Serwy.
2012-05-26 20:33:32 -04:00
Terry Jan Reedy 42f7b7ecb2 Issue #14876: Use user-selected font for highlight configuration.
Patch by Roger Serwy.
2012-05-26 16:55:43 -04:00
Benjamin Peterson ad6b3f570a merge 2.7.3 release branch 2012-04-09 19:05:58 -04:00
Benjamin Peterson e95a8f6ff1 bump to 2.7.3 final 2012-04-09 19:04:04 -04:00
Andrew Svetlov 8af872983f update NEWS for 2.7 as Terry Reedy proposed 2012-03-31 14:34:16 +03:00
Andrew Svetlov c37db10e03 Backport of Issue #14409 to 2.7
IDLE doesn't not execute commands from shell with default keybinding
for <Return>.
Patch by Roger Serwy.
2012-03-29 19:54:58 +03:00
Andrew Svetlov 7c010ee00c #3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
2012-03-21 13:35:08 +02:00
Benjamin Peterson f1acd0ab38 merge from 2.7 release branch 2012-03-15 13:01:04 -05:00
Benjamin Peterson ee933eccc9 bump to 2.7.3rc2 2012-03-15 12:25:54 -05:00
Martin v. Löwis f163efd736 Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
2012-03-13 14:46:22 -07:00
Benjamin Peterson a2aa2ef313 bump to 2.7.3rc1 2012-02-23 10:52:17 -05:00
Terry Jan Reedy adb87e2677 Issue 964437 Make IDLE help window non-modal.
Patch by Guilherme Polo and Roger Serwy.
2012-02-05 15:10:55 -05:00
Terry Jan Reedy d76c1bf599 #13933 refine patch using 'new' builtin 2012-02-05 14:30:43 -05:00
Ned Deily 61c9534363 Issue #13933: IDLE auto-complete did not work with some imported
module, like hashlib.  (Patch by Roger Serwy)
2012-02-04 18:35:23 +01:00
Terry Jan Reedy 1d4ae48f48 whitespace3 2012-01-31 02:55:32 -05:00
Terry Jan Reedy b98000ab5b #13506 Add '' to path for interactive interpreter by adding with_cwd parameter
to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.
2012-01-31 02:09:25 -05:00
Terry Jan Reedy 8ef4a70a48 #13039 allow proper deletion of '>>> ' in IDLE editor windows.
Patch by Roger Serwy.
2012-01-15 19:02:50 -05:00
Ned Deily 40ad04171d Issue #4625: If IDLE cannot write to its recent file or breakpoint
files, display a message popup and continue rather than crash.
(original patch by Roger Serwy)
2011-12-14 14:57:43 -08:00
Ned Deily 174c4f897f Issue #8793: Prevent IDLE crash in 2.7 when given strings with
invalid hex escape sequences.
2011-11-15 18:29:02 -08:00
Ned Deily 86d669bdb8 Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)
2011-10-30 19:58:04 -07:00
Ned Deily d8b1723965 Issue #12590: IDLE editor window now always displays the first line
when opening a long file.  With Tk 8.5, the first line was hidden.
2011-07-26 18:16:08 -07:00
Senthil Kumaran 13502b19c6 Fix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an incorrect arg. 2011-07-03 17:38:53 -07:00
Benjamin Peterson 9843ba5e54 bump to 2.7.2 final 2011-06-11 09:42:44 -05:00
Benjamin Peterson cd20705902 bump to 2.7.2rc1 2011-05-29 16:50:27 -05:00
Kurt B. Kaiser a5392455f6 IDLE: #6378: Further adjust idle.bat to start associated Python 2011-05-25 22:36:51 -04:00
Ronald Oussoren b13cacf677 (backport) Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5
Without this patch IDLE will crash reliably on OSX when Tkinter
is linked to TkCocoa 8.5.x.

To reproduce:

* Create a new file (script.py) with the following two lines:

x = raw_input('prompt: ')
print x

* Save the script

* Run the script using the F5 keyboard shortcut
  (running from the menu works fine)

The patch is a fairly crude hack, but we haven't found a better
workaround for this Tk bug yet.
2011-05-17 15:13:46 +02:00
Kurt B. Kaiser d82a8876f0 Issue #11896: Save on Close failed despite selecting "Yes" in dialog.
Backport 70055:35ed0efd7dd3
2011-05-12 21:18:47 -04:00
Raymond Hettinger 179816df59 Issue 11718: Teach IDLE's open module dialog to find packages. 2011-04-12 18:54:46 -07:00
Kurt B. Kaiser 7548bce0ee <Home> toggle failing on Tk 8.5, causing IDLE exits. Issue 3851. 2011-03-25 17:48:27 -04:00