Commit Graph

1889 Commits

Author SHA1 Message Date
Terry Jan Reedy 5ad8599caa Issue #5124: Paste with selection should always replace.
This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets.
The exception was X11 tk widgets.  Original patch by Serhiy Storchake.
2016-06-11 02:06:26 -04:00
Terry Jan Reedy c39e330993 Issue #5124: Temporary pyshell rename to avoid case-folding collision in merge. 2016-06-11 02:05:52 -04:00
Terry Jan Reedy 01e35754fb Issue *24750: Switch all scrollbars in IDLE to ttk versions.
Where needed, add minimal tests to cover changes.
2016-06-10 18:19:21 -04:00
Terry Jan Reedy 1080d13a7d Issue #24759: IDLE requires tk 8.5 and availability ttk widgets.
Delete now unneeded tk version tests and code for older versions.
2016-06-09 21:09:15 -04:00
Terry Jan Reedy 82ae15597f Issue #24759: Add test for IDLE syntax colorizoer. 2016-06-09 21:04:09 -04:00
Terry Jan Reedy fb51e65289 Issue #27239: idlelib.macosx.isXyzTk functions initialize as needed. 2016-06-08 18:09:22 -04:00
Terry Jan Reedy 24f3a1829f Issue #27262: move Aqua unbinding code, which enable context menus, to maxosx. 2016-06-08 14:37:05 -04:00
Terry Jan Reedy ea938baf5e Items for NEWS and idlelib/NEWS.txt. 2016-06-07 15:35:37 -04:00
Terry Jan Reedy 8bff8f6953 Items for NEWS and idlelib/NEWS.txt. 2016-06-07 15:33:53 -04:00
Terry Jan Reedy 2e747c4b8f Issue #27156: Remove more unused idlelib code. 2016-06-05 21:32:45 -04:00
Terry Jan Reedy 64b8f6bcc8 Merge with 3.5 2016-06-04 16:16:10 -04:00
Terry Jan Reedy f13cc2f991 Issue #24759: Add 'private' notice for idlelib.idle_test. 2016-06-04 16:15:58 -04:00
Terry Jan Reedy 55de5c3de3 Merge: Revise and synchronize idle_test.test_configdialog. 2016-06-04 15:55:53 -04:00
Terry Jan Reedy 05dab096c1 Revise and synchronize idle_test.test_configdialog. 2016-06-04 15:54:44 -04:00
Terry Jan Reedy 2cf6ca787a Merge with 3.5 2016-06-04 02:32:32 -04:00
Terry Jan Reedy 1aa06e1525 IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'. 2016-06-04 02:32:18 -04:00
Terry Jan Reedy 5a493e9dc4 Merge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings. 2016-06-03 23:58:37 -04:00
Terry Jan Reedy 6047b55372 Issue #27196: Stop 'application destroyed' warnings when running IDLE tests.
The update_idletasks solution was provided by Serhiy Storchaka.
2016-06-03 23:53:56 -04:00
Terry Jan Reedy 3d7281d2bd Issue 20567: Revise idle_test/README.txt and some tests to match new advice. 2016-06-03 22:28:05 -04:00
Terry Jan Reedy 75cbeb5dac Issue 20567: Revise idle_test/README.txt and some tests to match new advice. 2016-06-03 22:19:17 -04:00
Ned Deily 622b2f6ec9 Issue #24225: Fix additional renamed module references. 2016-06-03 17:50:44 -07:00
Martin Panter 0b7d84de6b Issue #27171: Merge typo fixes from 3.5 2016-06-02 10:11:18 +00:00
Martin Panter e26da7c03a Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
Terry Jan Reedy d80ab7d945 Issue # 24225: Update idlelib.README.txt with new file names and event handlers. 2016-05-31 20:17:58 -04:00
Terry Jan Reedy 5a0c278ad4 Issue #27156: Remove obsolete code not used by IDLE.
help.txt, replaced by help.html, is out-of-date and should not be used.
Its dedicated viewer has be replaced by the html viewer in help.py.
'import idlever; I = idlever.IDLE_VERSION' is the same as
'import sys; I = version[:version.index(' ')]'
2016-05-30 01:59:42 -04:00
Martin Panter e514093a2f Issue #27125: Merge typo fixes from 3.5 2016-05-30 05:24:49 +00:00
Terry Jan Reedy 137bac265e Add items to MISC/NEWS and idlelib/NEWS.txt. 2016-05-30 01:04:08 -04:00
Terry Jan Reedy f45d27bcc3 Add items to MISC/NEWS and idlelib/NEWS.txt. 2016-05-30 01:02:34 -04:00
Martin Panter a90a4a9651 Issue #27125: Remove duplicated words from documentation and comments 2016-05-30 04:04:50 +00:00
Terry Jan Reedy 2bac3b778f Issue #27117: Make colorizer htest and turtledemo work with dark theme.
Factor out code for configuring text widget colors to a new function.
2016-05-29 01:40:22 -04:00
Terry Jan Reedy e8a175eaa0 Issue #27117: Make ColorDelegator htest and turtledemo work with dark theme.
Factor out code for configuring text widget colors to a new function.
2016-05-29 01:40:30 -04:00
Terry Jan Reedy 6fa5bdc6e8 Issue #24225: Within idlelib files, update idlelib module names.
This follows the previous patch that changed idlelib file names.
Class names that matched old module names are not changed.
Change idlelib imports in turtledemo.__main__.

Exception: config-extensions.def.  Previously, extension section
names, file names, and class names had to match.  Changing section
names would create cross-version conflicts in config-extensions.cfg
(user customizations).  Instead map old names to new file names
at point of import in editor.EditorWindow.load_extension.

Patch extensively tested with test_idle, idle_test.htest.py, a custom
import-all test, running IDLE in a console to catch messages,
and testing each menu item.  Based on a patch by Al Sweigart.
2016-05-28 13:22:31 -04:00
Terry Jan Reedy 0d9220e162 Issue #24225: Rename many idlelib/*.py and idlelib/idle_test/test_*.py files. 2016-05-22 19:10:31 -04:00
Terry Jan Reedy 9fa149dd24 Merge with 3.5 2016-05-22 14:35:43 -04:00
Terry Jan Reedy 5917f973ac Issue #26673: Protect IDLE from Linux fonts with reported default size 0.
Such fonts on Linux prevented the configuration dialog from opening.
2016-05-22 14:35:24 -04:00
Terry Jan Reedy d619ff4b46 Merge with 3.5 2016-05-17 22:48:34 -04:00
Terry Jan Reedy 092473eef9 Issue #21939: Test IDLE percolator. Original patch by Saimadhav Heblikar. 2016-05-17 22:48:22 -04:00
Terry Jan Reedy 7fc4116515 Merge with 3.5 2016-05-17 19:58:17 -04:00
Terry Jan Reedy fdec2a3424 Issue #21676: test IDLE replace dialog. Original patch by Saimadhav Heblikar. 2016-05-17 19:58:02 -04:00
Terry Jan Reedy 307676face Merge with 3.5 2016-05-17 18:35:33 -04:00
Terry Jan Reedy c359af1530 Issue #18410: add missing parent argument. 2016-05-17 18:35:07 -04:00
Terry Jan Reedy 40a05621f9 Merge with 3.5 2016-05-17 18:18:55 -04:00
Terry Jan Reedy b236fe4515 Issue #18410: Test IDLE's search dialog; original patch by Westley Martínez. 2016-05-17 18:18:37 -04:00
Terry Jan Reedy 2deb1eafec Merge with 3.5 2016-05-16 23:32:41 -04:00
Terry Jan Reedy 0495fa81e6 Issue #21703: Add test for undo delegator. Patch most by Saimadhav Heblikar . 2016-05-16 23:32:28 -04:00
Terry Jan Reedy ef20cbfb32 Merge with 3.5 2016-05-16 22:28:00 -04:00
Terry Jan Reedy 6b98ce23f6 Issue #27044: stop test_idle from leaking by deleting callbacks. 2016-05-16 22:27:28 -04:00
Terry Jan Reedy 31e59aa7a2 Merge with 3.5 2016-05-15 23:53:10 -04:00
Terry Jan Reedy af7cf6d2b9 Issue 18910: Edit idle_test/README.txt to add 'requires' usage at module scope.
Uppercase 'GUI', remove 2.7 references and reflow text.
2016-05-15 23:52:56 -04:00
Terry Jan Reedy 2b6c032e6a Merge with 3.5 2016-05-15 22:07:12 -04:00
Terry Jan Reedy 33a8fb9920 Issue #23977: Tweak IDLE Delegator and its test. 2016-05-15 22:06:49 -04:00
Terry Jan Reedy 89d2a0394e Merge with 3.5 2016-05-15 14:20:13 -04:00
Terry Jan Reedy 5f4ac9fcf3 Issue #25747: remove undependable and possibly useless test. 2016-05-15 14:19:59 -04:00
Terry Jan Reedy e6073944b6 Merge with 3.5 2016-05-15 13:25:39 -04:00
Terry Jan Reedy cd65a0302a Issue #20640: Add https: to url prefixes so test passes on Darwin. 2016-05-15 13:25:23 -04:00
Terry Jan Reedy 3d3f7e8b41 Merge with 3.5 2016-05-15 01:31:01 -04:00
Terry Jan Reedy c64d942e8d Issue #20640: Add tests for idlelib.configHelpSourceEdit.
Patch by Saimadhav Heblikar.
2016-05-15 01:30:47 -04:00
Martin Panter 1ce738e08f Merge typo fixes from 3.5 2016-05-08 14:02:35 +00:00
Martin Panter f0564164ba Fix typos in comments, documentation and test method names 2016-05-08 13:48:10 +00:00
Terry Jan Reedy 478be14ec0 Merge with 3.5 2016-05-02 18:30:19 -04:00
Terry Jan Reedy 929d7f86d5 Clarify IDLE-console differences with respect to the sys module.
The reload(sys) effect was the crux of a Stackoverflow question.
2016-05-02 18:30:02 -04:00
Serhiy Storchaka ccd047ea4b Removed unused imports. 2016-04-25 00:12:32 +03:00
Serhiy Storchaka b6a9c9761c Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka 6a7b3a77b4 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03:00
Serhiy Storchaka a051bf3afb Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:47:48 +02:00
Serhiy Storchaka e431d3c9aa Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:36:29 +02:00
Terry Jan Reedy 8131f14de9 Merge with 3.5 2016-03-01 01:19:02 -05:00
Terry Jan Reedy 5f582bdec8 Whitespace 2016-03-01 01:18:47 -05:00
Terry Jan Reedy 54f99500dd Merge with 3.5 2016-03-01 01:13:21 -05:00
Terry Jan Reedy 7811a9cf3e Document maintenance of idlelib/help.html in idlelib. 2016-03-01 01:13:07 -05:00
Terry Jan Reedy 13d09afff1 Merge with 3.5 2016-03-01 00:30:20 -05:00
Terry Jan Reedy f8cd02dcda Rebase the 3.x version of idlelib/help.html on the 3.5 version of
Doc/build/html/library/idle.html, which is built from Doc/library/idle.rst.
Help.html is an rstrip()ed copy of idle.html that can be pushed.

The displayed content is unchanged because a) the version number is not
displayed, being inherent in the version displaying the file and b) the tt
tag was ignored by the custom parser in idlelib/help.py.  The wrapped
<span class="pre"> tags remain as they were.

This will be merged in 3.6 (without conflict) because the 3.6 help.html is
a copy of the 3.5 file (which was a copy of the 3.4 file).  The two files will
remain the same until either a) there is a content change that only applies
to one of them or b) 3.5 maintenance ends and the 3.6 file is itself rebased.
2016-03-01 00:29:57 -05:00
Martin Panter 263c448a2e Issues #26310, 26311: Merge typo fixes from 3.5 2016-02-10 01:18:36 +00:00
Martin Panter 96a4f07107 Issues #26310, #26311: Fix typos in the documentation and code comments 2016-02-10 01:17:51 +00:00
Terry Jan Reedy 0110dfc523 Merge with 3.5 2016-01-27 11:52:13 -05:00
Terry Jan Reedy b31a2849da Issue #25507: revert incorrect movement of idleConf import in c548ad75160c.
Augment htest to include all major IOBinding functions.
2016-01-27 11:51:50 -05:00
Terry Jan Reedy ab061cf2ae Merge with 3.5 2016-01-16 23:44:16 -05:00
Terry Jan Reedy 356765194c Issue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
2016-01-16 23:44:04 -05:00
Terry Jan Reedy de20bad224 Merge with 3.5 2015-12-18 15:47:28 -05:00
Terry Jan Reedy efd7b34d7c Merge with 3.4 2015-12-18 15:47:13 -05:00
Terry Jan Reedy 5aeadb3fba Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK. 2015-12-18 15:46:57 -05:00
Terry Jan Reedy d40d90ab8f Update idlelib/NEWS.txt. 2015-11-21 13:33:57 -05:00
Terry Jan Reedy 4a93cf794c Update idlelib/NEWS.txt. 2015-11-21 13:33:06 -05:00
Terry Jan Reedy 6e92c1137b Update idlelib/NEWS.txt. 2015-11-21 13:31:27 -05:00
Terry Jan Reedy 266b276f34 Merge with 3.5 2015-11-21 00:05:35 -05:00
Terry Jan Reedy d13cade381 Merge with 3.4 2015-11-21 00:05:17 -05:00
Terry Jan Reedy e1b02e0459 Issue 15348: Stop debugger engine (normally in user process)
before closing debugger window in IDLE process.
2015-11-21 00:05:03 -05:00
Terry Jan Reedy 20fe98350e Merge with 3.5 2015-11-20 19:37:14 -05:00
Terry Jan Reedy 0a7b2ae550 Merge with 3.4 2015-11-20 19:37:00 -05:00
Terry Jan Reedy 6a904c16f7 Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
2015-11-20 19:36:43 -05:00
Terry Jan Reedy b74a707cbd Merge with 3.5 2015-11-20 12:22:18 -05:00
Terry Jan Reedy 812b24842c Merge with 3.4 2015-11-20 12:22:06 -05:00
Terry Jan Reedy 4379d15d4c Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.
2015-11-20 12:21:48 -05:00
Terry Jan Reedy d8b10fd975 Merge with 3.5 2015-11-16 07:36:44 -05:00
Terry Jan Reedy 4bc534d589 Merge with 3.4 2015-11-16 07:36:33 -05:00
Terry Jan Reedy 4932ac244f Issue #24750: whitespace 2015-11-16 07:36:22 -05:00
Terry Jan Reedy a8a6419d4e Merge with 3.5 2015-11-16 07:33:01 -05:00
Terry Jan Reedy 5922d739d4 Merge with 3.4 2015-11-16 07:32:46 -05:00
Terry Jan Reedy d36d817a84 Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
2015-11-16 07:32:26 -05:00
Terry Jan Reedy fbc741c729 Merge with 3.5 2015-11-12 15:25:07 -05:00
Terry Jan Reedy 30c328f611 Merge with 3.4 2015-11-12 15:24:50 -05:00
Terry Jan Reedy 5496ba2ddb Indent 2015-11-12 15:24:33 -05:00
Terry Jan Reedy 9fc4091802 Merge with 3.5 2015-11-12 15:06:34 -05:00
Terry Jan Reedy 8f1a98058f Merge with 3.4 2015-11-12 15:06:20 -05:00
Terry Jan Reedy c15a7c615e Whitespace 2015-11-12 15:06:07 -05:00
Terry Jan Reedy 4df5c7aa30 Merge with 3.5 2015-11-12 15:03:30 -05:00
Terry Jan Reedy e19f3ec072 Merge with 3.4 2015-11-12 15:03:17 -05:00
Terry Jan Reedy d0c0f0041c Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
2015-11-12 15:02:57 -05:00
Martin Panter e56a919100 Issue #25523: Merge a-to-an corrections from 3.5 2015-11-02 04:27:17 +00:00
Martin Panter 2eb819f7a8 Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
Martin Panter 7462b64911 Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Terry Jan Reedy c6d17c04bc Merge with 3.5 2015-10-30 02:47:48 -04:00
Terry Jan Reedy dc22031a61 Merge with 3.4 2015-10-30 02:47:33 -04:00
Terry Jan Reedy bbdc065506 Issue #25507: move test-specific imports to test function (idlelib.IOBinding). 2015-10-30 02:47:06 -04:00
Terry Jan Reedy b44dffdca1 Merge with 3.5 2015-10-27 03:38:31 -04:00
Terry Jan Reedy b1f1c5ea35 Merge with 3.4 2015-10-27 03:38:18 -04:00
Terry Jan Reedy 4c973e9a4b Display IDLE warning as a warning rather than as an error.
Clarify message and expected action for beginners.
Guard against astral chars in path incorporated in message.
2015-10-27 03:38:02 -04:00
Terry Jan Reedy 5682850e1f Merge with 3.5 2015-10-22 03:27:57 -04:00
Terry Jan Reedy 4ab220ca6a Merge with 3.4 2015-10-22 03:27:44 -04:00
Terry Jan Reedy d081229c4e Issue #24782: Limit width of canvas and hence IDLE settings dialog. 2015-10-22 03:27:31 -04:00
Terry Jan Reedy 1ef1c093f2 Merge with 3.5 2015-10-20 02:15:59 -04:00
Terry Jan Reedy ae94062ae9 Merge with 3.4 2015-10-20 02:15:43 -04:00
Terry Jan Reedy 47304c0669 Issue #24782: Don't try to run now-removed extension dialog test. 2015-10-20 02:15:28 -04:00
Terry Jan Reedy 8c737d280b Merge with 3.5 2015-10-13 22:09:34 -04:00
Terry Jan Reedy c1e98de7be Merge with 3.4 2015-10-13 22:09:19 -04:00
Terry Jan Reedy b2f87608d1 Issue #24782: whitespace 2015-10-13 22:09:06 -04:00
Terry Jan Reedy 8533a21117 Merge with 3.5 2015-10-13 22:04:22 -04:00
Terry Jan Reedy 447169f6da Merge with 3.4 2015-10-13 22:04:07 -04:00
Terry Jan Reedy 93f3542ae4 Issue #24782: Finish converting the Configure Extension dialog into a new
tab in the IDLE Preferences dialog.  Code patch by Mark Roseman.
2015-10-13 22:03:51 -04:00
Terry Jan Reedy 9e6d7a524d Merge with 3.5 2015-10-11 22:08:02 -04:00
Terry Jan Reedy bcbc50bbb2 Merge with 3.4 2015-10-11 22:07:48 -04:00
Terry Jan Reedy d0cadba85f Issue #22726: Re-activate config dialog help button with some content about
the other buttons and the new IDLE Dark theme.
2015-10-11 22:07:31 -04:00
Terry Jan Reedy 7dbe6dd963 merge 3.5 2015-10-04 01:19:36 -04:00
Terry Jan Reedy e25511a566 Issue #24820: Update IDLE NEWS items. 2015-10-04 01:17:13 -04:00
Terry Jan Reedy d17e9785de Issue #24820: Update IDLE NEWS items. 2015-10-04 01:14:51 -04:00
Terry Jan Reedy 04cbe08be4 Merge with 3.5 2015-10-04 00:31:36 -04:00
Terry Jan Reedy cd49a7de4a Merge with 3.4 2015-10-04 00:31:23 -04:00
Terry Jan Reedy be5b7a2437 Issue #24820: Add 'IDLE Dark' text color theme, warning, and solution. 2015-10-04 00:31:05 -04:00
Terry Jan Reedy bfc01028bb Merge with 3.5 2015-10-02 23:25:54 -04:00
Terry Jan Reedy 103d06c81e Merge with 3.4 2015-10-02 23:25:14 -04:00
Terry Jan Reedy d470527aec Issue #25224: README.txt is now an idlelib index for IDLE developers and
curious users.  The previous user content is now in the IDLE doc and is
redundant.  IDLE now means 'Integrated Development and Learning Environment'.
2015-10-02 23:22:59 -04:00
Terry Jan Reedy 2547d071fc Merge with 3.5 2015-10-02 22:12:57 -04:00
Terry Jan Reedy 4401760a6c Merge with 3.4 2015-10-02 22:12:39 -04:00
Terry Jan Reedy a8aa4d5fb7 Issue #24820: Users can now set breakpoint colors in Settings ->
Custom Highlighting. Original patch by Mark Roseman.
2015-10-02 22:12:17 -04:00
Terry Jan Reedy 5fbeabcbb6 Merge with 3.5, Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:56:54 -04:00
Terry Jan Reedy e471ab3434 Merge with 3.4, Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:56:35 -04:00
Terry Jan Reedy 37f81355b0 Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:55:57 -04:00
Terry Jan Reedy e0937ef754 IDLE NEWS. 2015-09-28 23:44:37 -04:00
Terry Jan Reedy 86e971ccb3 IDLE NEWS items. 2015-09-28 23:42:56 -04:00
Terry Jan Reedy 9af7fe76ff Add recent IDLE NEWS items. 2015-09-28 23:38:57 -04:00