Terry Jan Reedy
16c107046f
Issue #18365 : Add mock Text class and test thereof versus tk.Text.
...
Based on patches by Todd.Rovito and Phil Webster.
2013-07-12 20:10:17 -04:00
Terry Jan Reedy
44d8b11c3e
Issue #7136 : In the Idle File menu, "New Window" is renamed "New File".
...
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:42:44 -04:00
Terry Jan Reedy
b6eeef4165
Issue #8515 : Set __file__ when run file in IDLE. Backport 2c276d0553ff by
...
Andrew Svetlov, based on initial patch by Bruce Frederiksen.
2013-06-30 19:07:49 -04:00
Terry Jan Reedy
d1caae86e5
Issue #18189 : add test_delegator for Idle Delegator class.
...
Also change private dict used as a set to a set.
2013-06-30 18:36:53 -04:00
Terry Jan Reedy
7ab0c310c7
Issue 18189: remove unused methods in idlelib.Delegator.Delegator.
...
Idle code already uses x.delegate instead of x.getdelegate().
The printed report must have been for testing.
2013-06-30 16:51:53 -04:00
Terry Jan Reedy
1d14246b77
Issue #18103 : Update README.txt and test_idle to describe and run gui tests.
2013-06-29 18:22:02 -04:00
Terry Jan Reedy
2b149860a0
Issue #18316 : Update idlelib 2.7 except clauses to ease backports.
2013-06-29 00:59:34 -04:00
Terry Jan Reedy
8eab008b53
Issue *18081, #18242 : Change Idle warnings capture in PyShell and run to stop
...
replacing warnings.formatwarnings and to reverse replacement of
warnings.showwarnings when import is complete and when main function exits.
Add test_warning.py. Vinay Sajip provided capture_warnings function.
2013-06-28 23:51:34 -04:00
Terry Jan Reedy
223a22b6ab
#18151 , part 2: Silence debug build resource warning for each file opened by
...
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.
2013-06-22 18:26:38 -04:00
Roger Serwy
16ce43a6d8
#5492 : Avoid traceback when exiting IDLE caused by a race condition.
2013-06-11 22:13:17 -05:00
Roger Serwy
fff3f48365
#17511 : Keep IDLE find dialog open after clicking "Find Next".
...
Original patch by Sarah K.
2013-06-10 23:01:20 -05:00
Terry Jan Reedy
8d6834a28e
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
...
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.
2013-06-05 14:24:42 -04:00
Terry Jan Reedy
b8fd9cafbe
Issue #15392 : Create a unittest framework for IDLE, 2.7 version.
...
Preliminary patch by Rajagopalasarma Jayakrishnan.
2013-05-30 14:47:33 -04:00
Ned Deily
674f4fa2ad
Issue #17532 : Always include Options menu for IDLE on OS X.
...
Patch by Guilherme Simões.
2013-05-22 15:16:17 -07:00
Roger Serwy
02c0ed0612
#14146 : Highlight source line while debugging on Windows.
2013-05-20 22:13:39 -05:00
Benjamin Peterson
086494483d
bump version to 2.7.5
2013-05-11 22:29:20 -05:00
Benjamin Peterson
5a27168883
prevent IDLE from trying to close when sys.stdin is reassigned ( #17838 )
2013-05-11 22:24:28 -05:00
Roger Serwy
90f8b23be2
#14735 : Update IDLE docs to omit "Control-z on Windows".
2013-04-17 00:22:50 -05:00
Roger Serwy
53dc4f0148
#17585 : Fixed IDLE regression. Now closes when using exit() or quit().
2013-04-11 19:13:21 -05:00
Roger Serwy
789299f858
#17657 : Show full Tk version in IDLE's about dialog.
...
Patch by Todd Rovito.
2013-04-08 20:57:13 -05:00
Roger Serwy
4e9a705887
#17613 : Prevent traceback when removing syntax colorizer in IDLE.
2013-04-07 12:41:16 -05:00
Roger Serwy
231a8fd22d
#1207589 : Backwards-compatibility patch for right-click menu in IDLE.
2013-04-07 12:15:52 -05:00
Roger Serwy
75b249c914
#16887 : IDLE now accepts Cancel in tabify/untabify dialog box.
2013-04-06 20:26:53 -05:00
Benjamin Peterson
9db034161e
merge 2.7.4 release branch
2013-04-06 10:00:24 -04:00
Benjamin Peterson
376dd0edfa
change version to 2.7.4
2013-04-06 09:58:51 -04:00
Benjamin Peterson
bf51717022
merge 2.7.4 release branch
2013-04-03 22:35:28 -04:00
Benjamin Peterson
167a96c0ea
close search and replace dialog after it is used ( closes #17625 )
2013-04-03 22:35:12 -04:00
Roger Serwy
ad8cad3c6d
#14254 : IDLE now handles readline correctly across shell restarts.
2013-04-03 00:42:24 -05:00
Roger Serwy
d7c9d9cdcd
#17614 : IDLE no longer raises exception when quickly closing a file.
2013-04-02 22:37:12 -05:00
Roger Serwy
34d0c66ef2
#6698 : IDLE now opens just an editor window when configured to do so.
2013-03-31 23:28:55 -05:00
Roger Serwy
cadd7864d8
#8900 : Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
2013-03-31 15:53:08 -05:00
Roger Serwy
6e4e4abf16
#6649 : Fixed missing exit status in IDLE. Patch by Guilherme Polo.
2013-03-31 00:57:16 -05:00
Terry Jan Reedy
d676a3a221
Issue #17390 : Display Python version on Idle title bar. Patch by Edmond Burnett.
2013-03-30 18:50:43 -04:00
Benjamin Peterson
a1f6fab464
version to 2.7.4rc1
2013-03-23 10:17:29 -05:00
Terry Jan Reedy
a70f60acf3
Issue #17047 : remove doubled words found in 2.7 to 3.4 Lib/*,
...
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:56:17 -04:00
Raymond Hettinger
4234992c75
Keep IDLE from displaying spurious SystemExit tracebacks
...
when running scripts that terminated by raising SystemExit
(i.e. unittest and turtledemo).
2013-02-09 14:20:55 -05:00
Serhiy Storchaka
9abc830c6a
Issue #9290 : In IDLE the sys.std* streams now implement io.TextIOBase
...
interface and support all mandatory methods and properties.
2013-01-25 15:30:35 +02:00
Serhiy Storchaka
eebcb5f790
Issue #16829 : IDLE printing no longer fails if there are spaces or other
...
special characters in the file path.
2013-01-12 18:12:27 +02:00
Serhiy Storchaka
14224420d0
Issue #16819 : IDLE method completion now correctly works for unicode literals.
2013-01-01 22:27:45 +02:00
Ned Deily
10e93a6d40
Issue #14958 : backport to 2.7.x from 3.3 (patch by Roger Serwy)
2012-12-31 15:06:38 -08:00
Serhiy Storchaka
61006a2113
Issue #16504 : Catch SyntaxErrors raised by tokenizer in IDLE.
2012-12-27 21:34:23 +02:00
Andrew Svetlov
d8590ff209
Issue #16511 : Use default IDLE width and height if config param is not valid.
...
Patch Serhiy Storchaka.
2012-12-24 13:17:59 +02:00
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
Kurt B. Kaiser
020d3d9856
<Home> toggle non-functional when NumLock set.
...
Issue3851
2011-03-17 00:05:38 -04:00
Ezio Melotti
c2077b0d9b
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 12:34:31 +02:00
Ezio Melotti
24b07bcba3
#11515 : fix several typos. Patch by Piotr Kasprzyk.
2011-03-15 18:55:01 +02:00
Ned Deily
60651535c9
Merged revisions 88232 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88232 | ned.deily | 2011-01-29 10:29:01 -0800 (Sat, 29 Jan 2011) | 5 lines
Issue #10940 : Workaround an IDLE hang on Mac OS X 10.6 when using the
menu accelerators for Open Module, Go to Line, and New Indent Width.
The accelerators still work but no longer appear in the menu items.
........
2011-01-31 00:52:49 +00:00
Ned Deily
2a6f4b3327
Merged revisions 88003 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88003 | ned.deily | 2011-01-14 20:37:12 -0800 (Fri, 14 Jan 2011) | 5 lines
#10907 : Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,
rather than the currently problematic Apple-supplied one,
when running with the 64-/32-bit installer variant.
........
2011-01-30 00:18:47 +00:00
Ned Deily
efc527a0cb
Merged revisions 88236 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88236 | ned.deily | 2011-01-29 11:10:26 -0800 (Sat, 29 Jan 2011) | 3 lines
Issue 11052: Correct IDLE menu accelerators on Mac OS X for Save
commands. (with release manager approval for 3.2rc2)
........
2011-01-29 19:30:39 +00:00
Ned Deily
4a70550c1c
Merged revisions 87394 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87394 | georg.brandl | 2010-12-19 02:10:32 -0800 (Sun, 19 Dec 2010) | 1 line
#6075 : make idle work with both Carbon AquaTk and Cocoa AquaTk. Patch by Kevin Walzer and Ned Deily.
........
2011-01-18 04:33:22 +00:00
Terry Reedy
247327a27e
Issue 6285: catch missing IDLE help file. Backport from 3.2.
2011-01-01 02:32:46 +00:00