Commit Graph

950 Commits

Author SHA1 Message Date
Terry Jan Reedy baf9ef960c Issue #24889: When starting Idle, force focus onto Idle window if not already
there (as when opening Idle from interactive Python on Windows).
2015-09-07 01:58:05 -04:00
Terry Jan Reedy 99c1a6d5f1 Issue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily. 2015-09-04 04:37:02 -04:00
Terry Jan Reedy b50d3b2cd3 Issue #21192: Change 'RUN' back to 'RESTART' when running editor file. 2015-09-02 22:07:31 -04:00
Terry Jan Reedy 34eab0785b Issue #24790: correct typo noticed by Eric Smith 2015-08-27 13:01:45 -04:00
Terry Jan Reedy 0c416e0e2e Issue #24790: Restore unused function. 2015-08-26 23:37:09 -04:00
Terry Jan Reedy 936a6f15c6 Issue #24782: In Idle extension config dialog, replace tabs with sorted list.
Patch by Mark Roseman.
2015-08-26 23:13:16 -04:00
Terry Jan Reedy 864e1a6415 Issue #24790: Remove extraneous code (which also create 2 & 3 conflicts). 2015-08-18 13:26:45 -04:00
Terry Jan Reedy ea4287651c Entries for idlelib/NEWS.txt 2015-08-16 23:22:32 -04:00
Terry Jan Reedy 87da49888e Issue #24833: Add attribute reference needed for 3.x, but optional for 2.7,
to keep synchronized.
2015-08-14 16:59:36 -04:00
Terry Jan Reedy 1d8b7be333 Issue #24759: Revert 8203fc75b3d2. 2015-08-03 18:34:07 -04:00
Terry Jan Reedy 1235214945 Issue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
editor font.  This should not affect current customized font selections.
Patch by Mark Roseman.
2015-08-01 18:57:27 -04:00
Terry Jan Reedy 8755d78e4f Issue #21192: Idle Editor. When a file is run, put its name in the restart bar.
Do not print false prompts. Original patch by Adnan Umer.
2015-07-31 22:34:31 -04:00
Terry Jan Reedy a872fec1ec Issue 24759: Gracefull exit Idle if ttk import fails. 2015-07-30 21:16:09 -04:00
Terry Jan Reedy fa002d4cdd Issue #13884: Idle: Remove tearoff lines from menus. Patch by Roger Serwy. 2015-07-30 16:44:09 -04:00
Terry Jan Reedy 4b2f5d9de5 Issue #20792: Expand idle_test.test_pathbowser. Tweak file.
Original patch by Saimadhav Heblikar.
2015-07-20 17:44:55 -04:00
Terry Jan Reedy 58785d5450 Issue #24671: Finish print conversion, idlelib GrepDialog and WidgetRedirector. 2015-07-19 18:32:06 -04:00
Ned Deily b2f949aafb Issue #24330: Update IDLE doc and help to note "Configure IDLE" difference
on OS X.  Original patch by André Freitas.
2015-07-04 15:04:42 -07:00
Terry Jan Reedy 3dc4082cbe Update idlelib/NEWS.txt. 2015-05-23 17:23:23 -04:00
Benjamin Peterson b1f3797450 merge 2.7.10 release branch 2015-05-22 17:55:22 -05:00
Benjamin Peterson a71a4f4ed3 make idlever.py self-updating (closes #24199) 2015-05-22 17:53:06 -05:00
Serhiy Storchaka bc5046634a Issue #24245: Eliminated senseless expect clauses that have no any effect in
IDLE.  Patch by Martin Panter.
2015-05-20 16:14:54 +03:00
Terry Jan Reedy 23120090f5 Issue #24222: Fix regression introduced with idlelib/PyShell.py future print
import.  Idle -c "code", -r file.py again compile with print statement.
2015-05-18 15:37:37 -04:00
Serhiy Storchaka 4b2c468e74 Issue #15809: IDLE shell now uses locale encoding instead of Latin1 for
decoding unicode literals.
2015-05-17 13:53:54 +03:00
Terry Jan Reedy c8059e48f2 Issue #24199: Stop using idelver in aboutdialog. 2015-05-16 19:28:27 -04:00
Terry Jan Reedy 848543763f Issue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart. 2015-05-16 14:23:33 -04:00
Terry Jan Reedy d39d962cbd Issue #23184: idle tests, remove unused names and imports. 2015-05-15 23:55:15 -04:00
Terry Jan Reedy 2848925ed2 Issue #23184: idlelib, remove more unused names and imports. 2015-05-15 23:03:11 -04:00
Terry Jan Reedy 91226cf7ba idlelib: remove unused names and imports (forgot one). 2015-05-14 18:11:50 -04:00
Terry Jan Reedy d8dc7496c5 idlelib: remove unused names and imports (one is a duplicate import). 2015-05-14 18:10:30 -04:00
Benjamin Peterson a40ea98fc1 bump version to 2.7.10rc1 2015-05-10 13:14:16 -04:00
Zachary Ware b9298a4fbb Issue #17202: Add .bat to .hgeol to force them to CRLF.
Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks.  Who knows why.
2015-04-13 11:54:11 -05:00
Serhiy Storchaka fb0517ca5c Issue #23825: Fixed test_idle under -OO. 2015-04-04 09:47:18 +03:00
Serhiy Storchaka c811328e44 Escaped backslashes in docstrings. 2015-04-03 18:12:32 +03:00
Serhiy Storchaka ac5164dd98 Issue #23583: Fixed writing unicode to standard output stream in IDLE.
Added tests for standard IO streams in IDLE.
2015-03-24 19:42:15 +02:00
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
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