Terry Jan Reedy
cca5b69f93
Issue #3068 : Change 0/1 to False/True so that extension configure dialog can
...
easily recognize and display boolean values as such and recognize changes.
Also reformat comments and alphabetize extensions included with Idle.
2014-10-14 18:55:13 -04:00
Terry Jan Reedy
26e825273c
Issue #22632 : replace dead link with version-specific doc link.
2014-10-14 16:56:36 -04:00
Terry Jan Reedy
08da46e10f
Issue #22614 : Don't try to update deleted text. Patch by Serhiy Storchaka.
2014-10-12 22:58:42 -04:00
Terry Jan Reedy
987a02b5cf
Issue #14105 : Change comment to reflect fix. Patch by Saimadhav Heblikar.
2014-10-12 01:10:58 -04:00
Terry Jan Reedy
1375538b1a
De-'colour'ize stdlib except for idlelib.configDialog.
...
Tweak docstrigs and comments in affected functions in idlelib.configHandler.
2014-10-09 18:44:26 -04:00
Terry Jan Reedy
23030dbfe2
Issue 3068: Move idlelib.configDialog action button creation into a separate
...
method so it can be reused by the new extension dialog.
2014-10-08 20:29:05 -04:00
Terry Jan Reedy
163d7fb842
idlelib.configHandler: revise docstrings, add spaces, use False/True, add some
...
TODOs (mostly to do after add tests), and make a few other changes.
2014-10-06 23:26:17 -04:00
Terry Jan Reedy
f8b7e78aa2
Update 2.7 idlelib.configHandler and reduce differences from 3.4 code.
2014-10-06 01:32:21 -04:00
Terry Jan Reedy
57ac62376a
Issue #3832 : backport 677a9326b4d4 to 2.7 (and delete some obsolete code).
2014-10-06 00:13:51 -04:00
Terry Jan Reedy
b17c1e08d9
Update Idle's online doc url.
2014-09-19 22:54:09 -04:00
Terry Jan Reedy
bee003cf53
Issue #22420 : Avoid 'write to None' crashes by using print instead.
...
For 2,.7, add print_function __future__ import and convert print statements
to print functions. Based on 3.x patch by Serhiy Storchaka.
2014-09-19 22:37:24 -04:00
Victor Stinner
a3acea3e07
Issue #22340 : Fix Python 3 warnings in Python 2 tests
2014-09-05 21:05:05 +02:00
Serhiy Storchaka
3eb554fc82
Issue #22221 : Backported fixes from Python 3 (issue #18960 ).
...
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment. This affects compile(),
eval() and exec() too.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
2014-09-05 10:22:05 +03:00
Terry Jan Reedy
855a1e9d6b
Idle ColorDelegator: finish removing code for 'as'.
2014-08-19 19:47:33 -04:00
Terry Jan Reedy
52ed755033
Idle ColorDelegator: remove special case code for 'as' in import statements.
...
'As' became a full keyword when with statements were added in 2.5/2.6.
2014-08-19 17:17:51 -04:00
Terry Jan Reedy
c11633eaba
Issue #17390 : Adjust Editor window title. Remove 'Python', move version to end.
2014-08-14 21:54:38 -04:00
Terry Jan Reedy
25327d4d3b
Issue #14105 : Stop removing breakpoints from Idle editors.
...
Move BREAK tag configuration to PyShellEditorWindow.
2014-08-08 23:33:11 -04:00
Terry Jan Reedy
ae4108612c
PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
...
a, b in arg lists, and hanging indents for long arg lists.
2014-08-03 23:02:53 -04:00
Terry Jan Reedy
19b7a75abf
Issue #22068 : Don't create self reference cycles in idlelib.ConfigDialog.
...
In 2.7, these become leaks and cause test_gc to fail.
2014-07-30 19:24:26 -04:00
Terry Jan Reedy
110796fb15
Reduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.
...
Only change 2.7 version.
Remove ".keys()" from "x in y.keys()" (leave .keys() elsewhere alone).
Change "string.join" to "' '.join" (and string.join(s, ';') to ';'.join(s)).
Change spacing to match 3.4 (will later make spacing changes to both).
2014-07-27 04:07:18 -04:00
Terry Jan Reedy
af0dce939c
Issue #21982 : Add minimal unittest for configDialog with 46% coverage.
2014-07-14 23:07:21 -04:00
Terry Jan Reedy
6e9a3ac881
Issue #17506 : Synchronize Misc/NEWS and idlelib/NEWS.txt for 2.7.
2014-07-14 02:07:26 -04:00
Terry Jan Reedy
e2c409f010
Issue #18592 : Method return signature changes made to SearchDialogBase for
...
test purposes are now reflected in GrepDialog and ReplaceDialog. Docstrings
are improved. Initial patch by Saimadhav Heblikar
2014-07-13 17:27:21 -04:00
Terry Jan Reedy
d6c3163e46
Issue #18592 : Make unittest for SearchDialogBase work on all tk versions.
2014-07-11 00:37:10 -04:00
Terry Jan Reedy
c03c11019d
#21940 : Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
2014-07-11 00:15:54 -04:00
Terry Jan Reedy
d11dde4795
Issue #21940 : add docstrings to idlelib.WidgetRedirector.
2014-07-10 01:16:42 -04:00
Terry Jan Reedy
228b99e8a4
More idlelib cleanup inspired by pyflakes.
2014-07-01 21:33:26 -04:00
Terry Jan Reedy
9bc505616b
Delete a few unused names suggested by pyflakes.
2014-07-01 18:52:31 -04:00
Terry Jan Reedy
6a0fe8db19
Issue #18592 : Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
...
to remove duplication and return info for tests. Rewrite corresponding tests.
Test_create_option_buttons was not testing anything because of buggy
comparisons. Use Python subscripting to get widget options.
2014-06-30 23:52:14 -04:00
Terry Jan Reedy
1530a82223
whitespace
2014-06-30 20:03:23 -04:00
Terry Jan Reedy
72eb0752d4
Issue #18592 : Add unittests for SearchDialogBase. Patch by Phil Webster.
2014-06-30 19:59:57 -04:00
Benjamin Peterson
fdbdcfe020
bump to 2.7.8
2014-06-29 18:58:16 -07:00
Terry Jan Reedy
aa608fdf7e
Issue #18592 : For idlelib.SearchDialogBase, edit and add docstrings,
...
move two functions next to the functions that use them.
2014-06-26 01:40:46 -04:00
Terry Jan Reedy
fa3b9cc7c8
Issue #21694 : Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
2014-06-17 16:35:14 -04:00
Terry Jan Reedy
7c5318f583
Issue #21686 : add unittest for idlelib.HyperParser. Original patch by Saimadhav
...
Heblikar.
2014-06-16 19:00:54 -04:00
Terry Jan Reedy
357d312fdc
whitespace
2014-06-16 02:40:08 -04:00
Terry Jan Reedy
633c33b20e
Issue #21686 : idlelib/HyperParser.py - Update docstrings and comments and
...
replace \ line contiuation. Tested against nearly done test_hyperparser.py.
2014-06-16 02:33:18 -04:00
Terry Jan Reedy
ba301dee32
Issue #12387 : Add missing upper(lower)case versions of default Windows key
...
bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy.
2014-06-12 01:03:01 -04:00
Terry Jan Reedy
c5767a6336
Issue #21695 : Catch AttributeError created when user closes grep output window
...
while still being written to. With no console, this closed Idle.
Also add missing import and a few other changes.
2014-06-10 02:49:29 -04:00
Terry Jan Reedy
1d6a0c47db
Closes Issue 21659: Improve Idle calltips for *args, **kwargs in 2.7, where actual
...
names are not available. Initial patch by Serhiy Storchaka.
2014-06-09 20:02:18 -04:00
Terry Jan Reedy
2ce98f8c86
whitespace
2014-06-08 14:57:18 -04:00
Terry Jan Reedy
76cdcf747f
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar. (2 head merge)
2014-06-08 14:47:16 -04:00
Benjamin Peterson
7e1eb5c713
backed out 86ba41b7bb46 ( #18910 ) for test breakage
2014-06-07 17:57:36 -07:00
Terry Jan Reedy
ffd6576ad7
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar.
2014-06-07 04:27:45 -04:00
Terry Jan Reedy
5d1049cbe8
Issue #18910 : test_textView - since all tests require 'gui', make root global.
...
Subclass TextViewer to add mock methods instead of monkey-patching it.
2014-06-06 17:43:14 -04:00
Zachary Ware
90bcdd71a5
Issue #18292 : s/tkinter/Tkinter/
2014-06-05 15:57:44 -05:00
Terry Jan Reedy
649570a9e7
whitespace
2014-06-05 03:53:42 -04:00
Terry Jan Reedy
562495ab61
Issue #18910 : Add unittest for textView. Patch by Phil Webster.
2014-06-05 03:38:28 -04:00
Terry Jan Reedy
6e66cb03b7
Issue #18292 : Idle - test AutoExpand. Patch by Saihadhav Heblikar.
2014-06-04 20:50:49 -04:00
Terry Jan Reedy
ee0b672f7f
Issue #21654 : Fix interaction with warnings. Patch by Raymond Hettinger.
2014-06-04 03:09:56 -04:00
Terry Jan Reedy
8ba9e450c9
Issue #18409 : Idle: add unittest for AutoComplete. Patch by Phil Webster.
2014-06-03 20:54:15 -04:00
Zachary Ware
9ce635f7bd
Issue #18492 : Allow all resources when tests are not run by regrtest.py.
...
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:16 -05:00
Terry Jan Reedy
f74805b2cb
Issue #21477 : Update htest docstring and remove extraneous differences between
...
2.7 and 3.4. Original patch by Saimadhav Heblikar.
2014-06-01 00:30:28 -04:00
Benjamin Peterson
15e5a165d0
merge 2.7.7 release branch
2014-05-31 11:24:25 -07:00
Benjamin Peterson
9c70397ea3
bump to 2.7.7 final
2014-05-31 11:17:34 -07:00
Terry Jan Reedy
76916e8404
Issue #21477 : Add htests for GrepDialog, UndoDelegator, and configDialog.
...
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
2014-05-29 01:46:16 -04:00
Terry Jan Reedy
d0d4f2d0c6
Issue #21477 : Add htests for Search and Replace dialogs.
...
Patch by Saimadhav Heblikar.
2014-05-27 03:30:44 -04:00
Terry Jan Reedy
985ef28054
Issue #21477 : Idle htest: modify run; add more tests.
...
Patch by Saimadhav Heblikar. 2.7 backport of 90829, d7eea8f608c2.
2014-05-27 02:47:38 -04:00
Terry Jan Reedy
62012fc719
Issue #21477 : Idle htest: merge and modify run and runall; add many tests.
...
Patch by Saimadhav Heblikar
2014-05-24 18:48:03 -04:00
Terry Jan Reedy
4345846161
Issue #21477 : idle htests - lower case function names, other cleanups.
2014-05-19 00:12:00 -04:00
Benjamin Peterson
996bf4828d
bump to 2.7.7rc1
2014-05-17 17:31:50 -07:00
Terry Jan Reedy
fb371afaac
Issue #18104 : revise docstrings, remove obsolete comments.
2014-05-15 20:49:57 -04:00
Terry Jan Reedy
c5945966ae
whitespace
2014-05-11 23:37:26 -04:00
Terry Jan Reedy
00b0bd55b4
Issue #18104 : Add idlelib/idle_test/htest.py with a few sample tests to begin
...
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
2014-05-11 23:32:20 -04:00
Terry Jan Reedy
46b6c086d3
Issue #21138 : Change default reformat paragraph width to PEP 8's 72.
2014-04-22 01:26:35 -04:00
Terry Jan Reedy
0edf52a2c2
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
...
reformat width in the configuration menu.
2014-04-22 01:10:57 -04:00
Raymond Hettinger
40e95dfcaa
Issue #21029 : IDLE now colors print consistently as a keyword.
2014-03-29 21:01:50 -07:00
Ned Deily
57847df4e5
Issue #17654 : Ensure IDLE menus are customized properly on OS X for
...
non-framework builds and for all variants of Tk.
2014-03-27 20:47:04 -07:00
Terry Jan Reedy
44fad467b9
Issue #20567 : Delete class attribute gui widgets in idle tests.
...
Code patch by Serhiy Storchaka
2014-02-27 18:47:23 -05:00
Ezio Melotti
ac3dfc63b5
#20634 : fix typo in IDLE README noticed by Saimadhav Heblikar.
2014-02-15 13:01:08 +02:00
Terry Jan Reedy
4ade2d25fc
Issue #20406 : Use Python application icons for Idle window title bars.
...
Patch mostly by Serhiy Storchaka.
2014-02-08 09:39:51 -05:00
Terry Jan Reedy
67908e9a76
Update the python.gif icon for the Idle classbrowser and pathbowser
...
from the old green snake to the new new blue and yellow snakes.
2014-02-01 23:08:24 -05:00
Terry Jan Reedy
3ac26c1bd2
Idle test: 2nd try at suppressing compile time warning (hint by Nick Coghlan).
2014-01-30 21:37:24 -05:00
Terry Jan Reedy
0a600cf235
Idlelib & buildbots: suppress py3 deprecation message even if enabled.
2014-01-29 14:42:32 -05:00
Terry Jan Reedy
8119c13fe4
Idlelib: silence two buildbot Deprecation Warnings with better code.
2014-01-28 23:13:35 -05:00
Terry Jan Reedy
1d9b9215f0
Issue #17721 : Remove non-functional configuration dialog help button until we
...
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:24:17 -05:00
Terry Jan Reedy
e7ec1be8c7
Idlelib.calltips: add test of starred first parameters. They should not be
...
removed even for bound methods. (Inspect.signature does, see 20401.)
2014-01-26 21:34:25 -05:00
Terry Jan Reedy
e7a72a194d
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 19:55:07 -05:00
Terry Jan Reedy
5924365528
Issue #17390 : Add Python version to Idle editor window title bar.
...
Original patches by Edmond Burnett and Kent Johnson.
2014-01-23 00:36:37 -05:00
Terry Jan Reedy
b190b33f64
Issue #20818 : Remove code from idlelib.CallTipWindow.showtip that is now
...
completely redundant. After 16638 patch, CallTips.get_argspec trims over-long
signature strings as well as docstring lines.
2014-01-21 21:12:13 -05:00
Terry Jan Reedy
82c48e098a
Issue #16638 : Include up to 5 docstring header lines (before first blank) in
...
Idle calltips. This is needed for builtins, such 3.x bytes (which is why 5).
Based on patch by Serhiy Storchaka.
2014-01-21 20:45:03 -05:00
Terry Jan Reedy
21334e72fd
Issue #16630 : Make Idle calltips work even when __getattr__ raises.
...
Initial patch by Roger Serwy.
2014-01-21 15:36:36 -05:00
Terry Jan Reedy
0e2793c413
Issue #16655 : Explain why Idle's test_calltips has 'fragile' tests of builtins.
...
I do not expect a problem in 2.7, but backported this anyway, 'in case'.
2014-01-21 03:07:43 -05:00
Terry Jan Reedy
598295c63c
Issue #21222 : Whitespace
2014-01-21 00:31:07 -05:00
Terry Jan Reedy
02fd1fd7fd
Issue #20122 : Idlelib: Move tests in 3.x CallTips.py to test_calltips.py.
...
For 2.7 backport, fix get_arg_spec as needed to make expanded tests pass.
2014-01-21 00:26:10 -05:00
Serhiy Storchaka
0b6b335253
Issue #20058 : sys.stdin.readline() in IDLE now always returns only one line.
2013-12-25 14:24:17 +02:00
Ned Deily
278543d539
Issue #18270 : Prevent possible IDLE AttributeError on OS X when no initial
...
shell window is present. (Original patch by Terry Reedy)
2013-12-10 16:21:58 -08:00
Serhiy Storchaka
7057f3fa4d
Issue #19481 : print() of unicode, str or bytearray subclass instance in IDLE
...
no more hangs.
2013-12-10 10:04:41 +02:00
Benjamin Peterson
278519500f
2.7.6 final
2013-11-10 02:36:30 -05:00
Benjamin Peterson
e18b82d996
backport #19426
2013-10-29 15:27:14 -04:00
Benjamin Peterson
07ffc78c9a
2.7.6rc1
2013-10-26 14:57:21 -04:00
Serhiy Storchaka
e4818f6937
Remove the use of non-existing re.ASCII.
...
(fixes a regression in 3d46ef0c62c5, issue #18873 )
2013-09-17 10:09:08 +03:00
Serhiy Storchaka
e787bce79c
Issue #18873 : IDLE, 2to3, and the findnocoding.py script now detect Python
...
source code encoding only in comment lines.
2013-09-17 00:00:46 +03:00
Serhiy Storchaka
e03c74a1b6
Issue #18988 : The "Tab" key now works when a word is already autocompleted.
2013-09-11 22:49:06 +03:00
Terry Jan Reedy
4c42735a99
Issue #18489 : Add complete, gui-free tests for idlelib.SearchEngine.
...
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
2013-08-31 16:27:08 -04:00
Terry Jan Reedy
41fca3e482
Issue #18489 : idlelib.SearchEngine - add docstrings
...
(original patch by Phil Webster).
2013-08-19 01:05:09 -04:00
Terry Jan Reedy
a81e969144
Issue #18592 : whitespace
2013-08-18 18:27:02 -04:00
Terry Jan Reedy
9946a28988
Issue #18592 : Add docstrings to file being tested (idlelib.SearchDialogBase.py).
2013-08-18 18:22:34 -04:00
Ezio Melotti
5dd99ebbc2
#18741 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:07:38 +03:00
Terry Jan Reedy
1703df6c93
Issue #18732 : Remove unused* parameter output_sep from IdleHistory.History
...
and paired splits and joins that do nothing when output_sep is its default \n.
*It in unused in that the class in only instantiated once, with the default.
Make a few other changes in .fetch and its test.
2013-08-15 16:19:07 -04:00
Terry Jan Reedy
74b3290c10
Issue #18226 : Fix ImportError and subsequent TypeError in 2.7 backport.
...
Running py27\PCbuild> python_d -m test.regrtest -ugui test_idle
ignores the exceptions and gives no indication of a problem (fixed in 3.3).
2013-08-15 15:07:58 -04:00
Terry Jan Reedy
8ce36dd7aa
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
...
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
2013-08-15 14:31:55 -04:00
Terry Jan Reedy
b638a38dc0
Issue #18425 : Add docstrings to IdleHistory.py. Remove redundant 'history_'
...
prefix from two attributes and two methods of History class.
2013-08-13 19:51:04 -04:00
Terry Jan Reedy
3d35489169
Issue #18226 : Add docstrings and unittests for idlelib/FormatParagraph.py.
...
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.
2013-08-10 16:56:20 -04:00
Terry Jan Reedy
f948943604
Issue #18151 : Replace remaining Idle 'open...close' pairs with 'with open'.
2013-08-04 15:39:56 -04:00
Terry Jan Reedy
9ba8d6bf34
Make all idle test case names end with 'Test'.
2013-07-30 01:37:36 -04:00
Terry Jan Reedy
aea6c115ed
Update gui section of idle test README.
2013-07-28 16:39:44 -04:00
Terry Jan Reedy
09eb26fe26
Issue #18441 : Make test.support.requires('gui') skip when it should.
...
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
2013-07-21 20:13:24 -04:00
Terry Jan Reedy
349065500a
Issue #18539 : Calltips now work for float default arguments.
2013-07-26 18:21:32 -04:00
Terry Jan Reedy
f688f725b5
Backed out changeset: 23b0164b9c82 #18441 not working
2013-07-21 21:57:52 -04:00
Terry Jan Reedy
2c636fd655
Issue #18441 : Make test.support.requires('gui') skip when it should.
...
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
2013-07-21 20:13:24 -04:00
Ned Deily
14ef0c8d6b
Issue #17532 : Prevent exception when changing key sets if Options menu is empty.
2013-07-20 14:38:24 -07:00
Terry Jan Reedy
a25a31a901
Issue #18365 : convert buildbot errors to skips.
2013-07-13 04:05:42 -04:00
Terry Jan Reedy
c8a198ce02
Issue #18279 : Add tests for idlelib/RstripExtension.py. Original patch by
...
Phil Webster. With that available, modify RstripExtension.py to stop deleting
null slices, which caused a file to be marked as changed when it was not.
2013-07-13 02:34:35 -04:00
Terry Jan Reedy
e7cbd3f07c
Issue #18365 : 2.7 corrections so tests run
2013-07-13 00:02:27 -04:00
Terry Jan Reedy
fccb0d2d0d
Issue #18365 : normalize whitespace
2013-07-12 20:18:33 -04:00
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