Commit Graph

866 Commits

Author SHA1 Message Date
Ned Deily b5daa3d6db Issue #23180: Rename IDLE "Windows" menu item to "Window".
Patch by Al Sweigart.
2015-01-17 21:03:41 -08:00
Terry Jan Reedy 22a041f8e4 Issue #23184: delete unused idlelib file. 2015-01-07 23:48:28 -05:00
Terry Jan Reedy 16e093db98 Issue #20577: move configuration of FormatParagraph extension to new extension
configuration dialog.  Patch by Tal Einat.
2014-12-16 03:21:19 -05:00
Terry Jan Reedy 78cf9a56a3 Issue 22823: Use set literal in idlelib. 2014-12-11 05:33:25 -05:00
Benjamin Peterson a5f49f5bb4 bump to 2.7.9 final 2014-12-10 10:57:00 -05:00
Benjamin Peterson 238afb796c sync idle news from 2.7 branch 2014-12-05 21:09:47 -05:00
Benjamin Peterson af358ef399 2.7.9rc1 2014-11-25 18:27:24 -06:00
Terry Jan Reedy 7a16207ce1 Issue #3068: Add Idle extension configuration dialog to Options menu.
Original patch by Tal Einat.
2014-10-22 20:15:12 -04:00
Terry Jan Reedy cf834769e4 Issue #22629: Revise idle_test.htest, mostly docstring. Start revision of
htests to add # htest # marker for coveragepy and stop tcl errors.
2014-10-17 01:31:29 -04:00
Terry Jan Reedy 833dfadc07 Issue #22628: Increase Treewidge line spacing so lines do not overlap.
Move test lines up with respect to icons.
2014-10-16 23:12:41 -04:00
Terry Jan Reedy 0234fd1c44 Issue #16233: When the module browser is not invoked in an editor window with
a filename, pop up the Open Module box. If a module is opened, open a
corresponding browser.
2014-10-15 22:01:23 -04:00
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