Commit Graph

2271 Commits

Author SHA1 Message Date
Terry Jan Reedy 7f066844a7 bpo-30928: Update idlelib/NEWS.txt to 2017-08-15. (#3098) 2017-08-15 19:15:04 -04:00
Cheryl Sabella e36d9f5568 bpo-31205: IDLE: Factor KeysPage class from ConfigDialog (#3096)
The slightly modified tests continue to pass.  Patch by Cheryl Sabella.
2017-08-15 18:26:23 -04:00
Cheryl Sabella 2f89646349 bpo-31002: IDLE: Add tests for configdialog keys tab (#2996)
Patch by Cheryl Sabella.
2017-08-14 21:21:43 -04:00
Louie Lu 3b0f620c1a bpo-19903: IDLE: Calltips changed to use inspect.signature (#2822)
Idlelib.calltips.get_argspec now uses inspect.signature instead of inspect.getfullargspec, like help() does.  This improves the signature in the call tip in a few different cases, including builtins converted to provide a signature.  A message is added if the object is not callable, has an invalid signature, or if it has positional-only parameters.
Patch by Louie Lu.
2017-08-09 20:58:13 -04:00
Terry Jan Reedy 733d0f63c5 bpo-31130: IDLE -- stop leaks in test_configdialog. (#3016)
Initial patch by Victor Stinner.
2017-08-07 14:22:44 -04:00
Terry Jan Reedy 89225871d3 bpo-29910: IDLE - revert `break`s that disabled calltip close. (#2997) 2017-08-07 13:37:10 -04:00
Ville Skyttä 49b2734bf1 Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
csabella 6f446bee4f bpo-31083: IDLE: Describe the Page classes in configdialog (#2965)
Add template as comment. Update existing classes to match outline.
Initial patch by Cheryl Sabella.
2017-08-01 00:24:07 -04:00
csabella e8eb17b2c1 bpo-31050: IDLE: Factor GenPage class from ConfigDialog (#2952)
The slightly modified tests for the General tab continue to pass.
Patch by Cheryl Sabella.
2017-07-30 18:39:17 -04:00
csabella 9397e2a87e bpo-31004: IDLE: Factor out FontPage class from configdialog (step 1) (#2905)
The slightly modified tests continue to pass. The General test
broken by the switch to Notebook is fixed.
Patch mostly by Cheryl Sabella.
2017-07-30 13:34:25 -04:00
Terry Jan Reedy c3aa47f655 bpo-30928: Update IDLE News.txt. (#2948) 2017-07-30 06:25:22 -04:00
Terry Jan Reedy b331f80b47 bpo-30781: IDLE - Use ttk Notebook in ConfigDialog (#2938)
The notebook looks a bit better.  It will work better with separate page classes. Traversal of widgets by Tab works better.  Switching tabs with keys becomes possible.  The font sample box works better at large font sizes.

One of the two simulated click tests no longer works.  This will be investigated while fixing a bug with the widget itself.
2017-07-29 00:49:39 -04:00
Terry Jan Reedy 5d0f30aae5 bpo-30853: IDLE - touch-up configdialog.VarTrace and tests. (#2936)
Add clear method for tests.  Adjust tests to use global instance.
Remove unneeded ConfigDialog method.
2017-07-28 17:00:02 -04:00
csabella 5b59154c0d bpo-30853: IDLE: Convert font and general vars to use VarTrace (#2914)
Instance tracers manages pairs consisting of a tk variable and a
callback function.  When tracing is turned on, setting the variable
calls the function.  Test coverage for the new class is 100%.
2017-07-28 14:40:59 -04:00
Terry Jan Reedy b1660800f4 bpo-31060: IDLE: Finish regrouping ConfigDialog methods (#2908)
Finish resorting the 72 ConfigDialog methods into 7 groups that represent the dialog, action buttons, and font, highlight, keys, general, and extension pages.  This will help with continuing to add tests and improve the pages. It will enable splitting ConfigDialog into 6 or 7 more comprehensible classes.
2017-07-27 18:28:01 -04:00
Terry Jan Reedy 2bc8f0e686 bpo-31003: IDLE - Add more tests for General tab (#2859)
* In configdialog: Document causal pathways in create_page_general.
Move related functions to follow this. Simplify some attribute names.
* In test_configdialog: Add tests for load and helplist functions.
Coverage for the general tab is now complete, and 63% overall.
2017-07-26 20:54:40 -04:00
csabella 45bf723c6c bpo-30853: IDLE: Factor a VarTrace class from configdialog.ConfigDialog. (#2872)
The new class manages pairs of tk Variables and trace callbacks.
It is completely covered by new tests.
2017-07-26 19:09:58 -04:00
Terry Jan Reedy 77e97ca9ff bpo-30993: IDLE - Improve configdialog font page and tests. (#2831)
In configdialog: Document causal pathways in create_font_tab docstring.  Simplify some attribute names. Move set_samples calls to var_changed_font (idea from Cheryl Sabella).  Move related functions to positions after the create widgets function.

In test_configdialog: Fix test_font_set so not order dependent.  Fix renamed test_indent_scale so it tests the widget.  Adjust tests for movement of set_samples call.  Add tests for load functions.  Put all font tests in one class and tab indent tests in another.  Except for two lines, these tests completely cover the related functions.
2017-07-24 00:18:25 -04:00
Terry Jan Reedy 07ba305a4c bpo-30993: IDLE - Improve configdialog font page and tests. (#2818)
* Document causal event pathways in docstring.
* Simplify some attribute names.
* Rename test_bold_toggle_set_samples to make test_font_set fail.
* Fix test_font_set so not order dependent.
* Fix renamed test_indent_scale so it tests the widget.
2017-07-23 12:20:08 -04:00
Terry Jan Reedy 616ecf18f3 bpo-30981: IDLE: Augment one configdialog font page test (#2810)
Remove broken test of bold_toggle and test it along with its command, set_samples.
This has been incorporated into 3.6 backport PR-2796.
2017-07-22 00:36:13 -04:00
Terry Jan Reedy 7c5798ebfa bpo-30981: temporarity skip failing IDLE test class (#2798) 2017-07-21 03:47:01 -04:00
Terry Jan Reedy d0969d6924 bpo-30981: IDLE -- Add more configdialog font page tests. (#2794) 2017-07-21 02:20:46 -04:00
Terry Jan Reedy a54a8f188a bpo-28523: IDLE: Use 'color' instead of 'colour'. (#2787) 2017-07-21 01:06:58 -04:00
terryjreedy 9f9192afbb bpo-30968: Fix test_get_font in IDLE's test_config. (#2769) 2017-07-19 20:45:36 -04:00
Louie Lu ed014f7e13 bpo-30917: IDLE: Fix mock_config deepcopy to read_string (#2754)
Patch by LouieLu.
2017-07-19 19:27:06 -04:00
Louie Lu f776eb0f0e bpo-30917: IDLE: Add config.IdleConf unittests (#2691)
Patch by Louie Lu.
2017-07-18 17:17:56 -04:00
terryjreedy 95bebb7264 bpo-30934: Document coverage details for idlelib tests (#2711)
* Add section to idlelib/idle-test/README.txt.
* Include check that branches are taken both ways.
* Exclude IDLE-specific code that does not run during unit tests.
2017-07-16 00:07:36 -04:00
terryjreedy 0d0a32fb91 Update idlelib/NEWS.txt. (#2703) 2017-07-14 00:14:10 -04:00
csabella 36329a4dd8 bpo-30913: IDLE: Document tk vars, attributes, and methods for ConfigDialog (#2697)
The will help writing dialog improvements and splitting the class into multiple classes.
Original patch by Cheryl Sabella.
2017-07-13 23:32:01 -04:00
Louie Lu 9b622fb903 bpo-30870: IDLE: Add configdialog fontlist selection unittest (#2666)
Initial patch by Louie Lu.
2017-07-13 20:35:48 -04:00
Louie Lu 50c9435c9b bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser subclasses. (#2662)
Patch by Louie Lu.
2017-07-12 14:05:32 -04:00
csabella 6d13b22e3a bpo-30779: IDLE: fix changes.delete_section calls in configdialog (#2667)
Also improve test of config.ConfigChanges.delete_section.
Original patch by Cheryl Sabella.
2017-07-11 19:09:44 -04:00
csabella ba352270b7 bpo-30881: IDLE: add docstrings to browser.py (#2638)
Patch by Cheryl Sabella.
2017-07-11 02:34:01 -04:00
terryjreedy 5b62b35e6f bpo-30870: IDLE -- fix logic error in eae2537. (#2660) 2017-07-11 01:58:04 -04:00
csabella aa8d0a2469 bpo-30851: IDLE: Remove unused tk variables in configdialog. (#2626)
One is a duplicate, one is set but cannot be altered by users.
Patch by Cheryl Sabella.
2017-07-10 13:50:44 -04:00
Louie Lu bb2bae84d6 bpo-30870: IDLE: Change sample font when select by key-up/down (#2617)
Patch by Louie Lu.
2017-07-09 18:57:18 -04:00
terryjreedy 223c7e70e4 bpo-8231: Call idlelib.IdleConf.GetUserCfgDir only once. (#2629) 2017-07-07 22:28:06 -04:00
terryjreedy 349abd9e37 bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config; test. (#2612)
* In config, put dump test code in a function; run it and unittest in 'if __name__ == '__main__'.
* Add class config.ConfigChanges based on changes_class_v4.py on bpo issue.
* Add class test_config.ChangesTest, partly based on configdialog_tests_v1.py on bpo issue.
* Revise configdialog to use ConfigChanges, mostly as specified in tracker msg297804.
* Revise test_configdialog to match configdialog changes.  All tests pass in both files.
* Remove configdialog functions unused or moved to ConfigChanges.
Cheryl Sabella contributed parts of the patch.
2017-07-07 16:00:57 -04:00
terryjreedy 25a4206c24 bpo-30780: Fix error in idlelib.test_idle.test_configdialog (#2606) 2017-07-06 22:19:13 -04:00
terryjreedy 1ccbad9c95 Update idlelib/NEWS.txt with merges upto 2017 Jul 5. (#2595) 2017-07-05 19:36:48 -04:00
terryjreedy 2000150c56 bpo-21624: IDLE -- minor htest fixes (#2575) 2017-07-04 22:41:12 -04:00
csabella 7eb5883ac5 bpo-30777: IDLE: configdialog - add docstrings and improve comments (#2440)
Patch by Cheryl Sabella.
2017-07-04 21:30:58 -04:00
csabella 42bc8beadd bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more tests. (#2283)
Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances
of the latter two can be placed with other widgets within a multiframe window.
Patch by Cheryl Sabella.
2017-06-29 18:42:17 -04:00
Mark Roseman 592eda1233 bpo-24813: IDLE tagline is Integrated Development and Learning Environment (#2451)
Patch by Mark Roseman
2017-06-27 22:42:10 -04:00
wohlganger fae2c3538e bpo-30723: IDLE -- Enhance parenmatch; add style, flash, and help (#2306)
* Add 'parens' style to highlight both opener and closer.
* Make 'default' style, which is not default, a synonym for 'opener'.
* Make time-delay work the same with all styles.
* Add help for config dialog extensions tab, including parenmatch.
* Add new tests. 
Original patch by Charles Wohlganger.
2017-06-27 22:36:23 -04:00
csabella 65474b9d7a bpo-30674: IDLE: add docstrings to grep.py (#2213)
Patch by Cheryl Sabella
2017-06-27 02:41:08 -04:00
terryjreedy 44913e584b bpo-21519: IDLE basic custom key entry better detects duplicates. (#2428) 2017-06-27 01:23:55 -04:00
Serhiy Storchaka 213ce12adf bpo-29910: IDLE no longer deletes a character after commenting out a region (#825)
This happened because shortcut has a class binding and 'break' was not returned.
Fix other potential conflicts between IDLE and default key bindings.

* Add news item

* Update NEWS
2017-06-27 00:02:32 -04:00
csabella 9a02ae3d3d bpo-24813: IDLE: Add build bitness to About Idle title (#2380)
Patch by Cheryl Sabella.
2017-06-26 22:28:58 -04:00
csabella bac7d3363b bpo-30728: IDLE: Refactor configdialog to PEP8 names (#2307)
Also, change '*' in the tkinter import to an explicit list of names.
Patch by Cheryl Sabella.
2017-06-26 17:46:26 -04:00
csabella 8c78aa70c8 bpo-6739: IDLE: Check for valid keybinding in config_keys (#2377)
Verify user-entered key sequences by trying to bind them with tk.
Add tests for all 3 validation functions.
Original patch by G Polo.  Tests added by Cheryl Sabella.
2017-06-26 00:55:48 -04:00
csabella 18ede06258 bpo-24813: IDLE: Add default title to help_about (#2366)
Patch by Cheryl Sabella.
2017-06-23 20:00:58 -04:00
csabella d352d68977 bpo-24813: IDLE: Add icon to help_about (#2335)
Patch by Cheryl Sabella
2017-06-23 12:00:29 -04:00
terryjreedy a0e911b190 Fix typo in idlelib.config_key.py (#2322) 2017-06-21 22:14:23 -04:00
KunYuChen f3e8209152 Fix trivial typo in idlelib/config.py (GH-2309)
Comceptually -> Conceptually
2017-06-20 21:30:45 -07:00
terryjreedy faa63d1e84 Add IDLE items to NEWS and idlelib/NEWS.txt (#2239) 2017-06-16 01:54:57 -04:00
terryjreedy 32fd874afe bpo-15786: Fix IDLE autocomplete return problem. (#2198)
Before, <return> would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted.  Now it does.  Before, <return> was inserted into text, which in Shell meant compile() and possibly execute.  Now cursor is left after completion.
2017-06-14 15:43:15 -04:00
mlouielu 778b484145 bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811)
The root problem was non-check for hide_event. When user clicks
on autocomplete window (acw), root widget gets focusOut event, then triggers hide_window to
close the acw. It should only be hide when acw is active, and acw didn't
get focus at FocusOut event (this event bind on acw and widget), or when
widget get a ButtonPress event (this event only bind on widget).

MacOS  froze after double click on acw because when
doubleclick_event try to hide window at the end, hide_window function
destory whole acw, but tkinter didn't get focus back to widget. So set focus
on widget first, then destory acw.

Windows could not respond on double click event, because of the misbehavior
of Configure event.  When acw was shown, tkinter called winconfig
event multiple times.  That caused tkinter to not response to double
click event.  When on Windows, unbind Configure event first
time get into winconfig_event to prevent multiple call of this event.
2017-06-14 11:13:19 -04:00
terryjreedy 188aedf8bb bpo-25514: Improve IDLE's connection refused message (#2177)
When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
2017-06-13 21:32:16 -04:00
terryjreedy 049cf2bb44 bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171)
For unknown reasons, this does not work when running leak tests.
2017-06-13 14:40:10 -04:00
terryjreedy 8323189ff1 Fix ref leak in idle_test.test_macosx (#2163) 2017-06-13 10:52:29 -04:00
mlouielu b070fd275b bpo-30642: IDLE: Fix test_query refleak (#2147)
Patch by Louie Lu.
2017-06-13 08:29:44 -04:00
Zachary Ware 3f8f16d102 Show what's changed when Travis fails regen check (GH-2095)
Also fixed a few more line endings that were missed in GH-840, which were causing failure.
2017-06-10 23:04:36 -05:00
terryjreedy 503bc6363d Update idlelib NEWS for 3.7 (#2089) 2017-06-10 20:46:08 -04:00
csabella 0aa0a06e8b bpo-30495: IDLE: Modernize textview.py with docstrings and PEP8 names (#1839)
Patch by Cheryl Sabella.
2017-05-28 06:50:55 -04:00
terryjreedy eca7da0f13 IDLE test_help_about: edit and add test. (#1838)
Coverage is now 100%
2017-05-28 01:10:51 -04:00
csabella 5a346d5dbc bpo-30290: IDLE: Refactor help_about to PEP8 names (#1714)
Patch by Cheryl Sabella.
2017-05-27 15:49:26 -04:00
mlouielu 054e09147a bpo-30290: IDLE: Add more tests for help_about dialog (#1697)
Increases coverage to 99%
2017-05-21 18:19:35 -04:00
terryjreedy 295304d412 IDLE test_textview: add comments and test, increase coverage to 100% (#1641) 2017-05-17 22:59:46 -04:00
Louie Lu ba365da9ce bpo-30303: IDLE: Add _utest argument to textview (#1499) 2017-05-17 17:51:31 -04:00
Serhiy Storchaka 7e4db2f253 bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
Serhiy Storchaka 2e576f5aec bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
Serhiy Storchaka 55fe1ae970 bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) 2017-04-16 10:46:38 +03:00
Serhiy Storchaka 5908300e4b bpo-29995: re.escape() now escapes only special characters. (#1007) 2017-04-13 21:06:43 +03:00
Victor Stinner d6debb24e0 bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
2017-03-27 16:05:26 +02:00
Jelle Zijlstra 0579e81f30 import sys before we use it on line 9 (#828) 2017-03-26 22:17:39 -04:00
Serhiy Storchaka fdd42c481e bpo-20185: Convert list object implementation to Argument Clinic. (#542) 2017-03-11 09:19:20 +02:00
Senthil Kumaran b2ee40ed9c Change some mercurial/ hg.python.org references. (#8) 2017-02-16 07:18:42 -08:00
Terry Jan Reedy 85c1c94178 Merge with 3.6 2017-01-04 23:18:01 -05:00
Terry Jan Reedy e16265d367 Issue #29162: Don't depend on 'from tkinter import *' importing sys.
Fix error in format string.
2017-01-04 23:17:47 -05:00
Terry Jan Reedy bade830a21 Merge with 3.6 2017-01-01 21:21:54 -05:00
Terry Jan Reedy 0e10243d64 Issue #29071: Use local flags for IDLE colorizer string prefix matcher.
Revised re by Serhiy Storchaka.
2017-01-01 21:21:39 -05:00
Terry Jan Reedy 241dc9c454 Merge with 3.6 2016-12-27 00:05:41 -05:00
Terry Jan Reedy 246cbf23fa Issue #29071: IDLE now colors f-string prefixes (but not invalid ur prefixes). 2016-12-27 00:05:26 -05:00
Serhiy Storchaka 70d28a184c Remove unused imports. 2016-12-16 20:00:15 +02:00
Terry Jan Reedy 0180cf6684 Issue #28572: Use system-specific values for configdialog font test 2016-11-07 23:14:53 -05:00
Terry Jan Reedy f46b7823e6 Issue #28572: Add 10% to coverage of IDLE's test_configdialog.
Update and augment description of the configuration system.
2016-11-07 17:15:01 -05:00
Terry Jan Reedy b63c4fc18b Issue #25488: merge idle.py from 3.5. 2016-09-30 02:56:46 -04:00
Terry Jan Reedy 1813aa1a0c Issue #25488: Stpp idle.py from adding a entry when it is a duplicate.
Also, make idlelib.idle.main() work after import idlelib.idle.
2016-09-30 02:53:44 -04:00
Terry Jan Reedy c6b5f08f04 Move idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
Reformat a few early 3.x entries in HEWS.txt. Merge from 3.5.
2016-09-30 00:02:28 -04:00
Terry Jan Reedy 55f3ae68bb Move idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
Reformat a few early 3.x entries in HEWS.txt.
2016-09-29 23:59:55 -04:00
Terry Jan Reedy 6c58c34dd3 IDLE NEWS item and ack. 2016-09-28 21:55:55 -04:00
Berker Peksag d39370ba41 Issue #28300: Merge from 3.5 2016-09-28 17:22:26 +03:00
Berker Peksag c16387b17f Issue #28300: Fix typos, patch by Shlomi Fish 2016-09-28 17:21:52 +03:00
Terry Jan Reedy 3dad1a5b82 Merge 3.5 - Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:57:25 -04:00
Terry Jan Reedy 4b73676c3d Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:50:03 -04:00
Terry Jan Reedy 70360194c7 IDLE newx items. merge from 3.5 2016-09-10 16:28:01 -04:00
Terry Jan Reedy d92cecb9f1 IDLE newx items. 2016-09-10 16:24:54 -04:00
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
Terry Jan Reedy 00b1e0f7ea Issue #27922: IDLE tests no longer flash tk widgets. 2016-08-31 21:03:16 -04:00
R David Murray 44b548dda8 #27364: fix "incorrect" uses of escape character in the stdlib.
And most of the tools.

Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Terry Jan Reedy 5f30f79357 Issue #27922: IDLE tests no longer flash tk widgets (Merge 3.5). 2016-08-31 21:09:02 -04:00
Terry Jan Reedy a3623c864b Improve idlelib.textview comments. 2016-08-31 19:45:39 -04:00
Terry Jan Reedy 83a1045200 Issue #27891: Tweak new idlelib README entry. 2016-08-31 19:37:28 -04:00
Terry Jan Reedy bfbaa6b206 Issue #27891: Consistently group and sort imports within idlelib modules. 2016-08-31 00:50:55 -04:00
Terry Jan Reedy da0288725f Issue #17642: add larger font sizes for classroom projection. 2016-08-30 20:19:13 -04:00
Terry Jan Reedy 82f954691f Merge with 3.5 2016-08-30 16:58:27 -04:00
Terry Jan Reedy 3399e1e38c ? Working Directory ? 2016-08-30 16:58:01 -04:00
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-08-30 10:47:49 -07:00
Terry Jan Reedy 8f2ee0d5ff Add version to title of IDLE help window. 2016-08-25 20:05:30 -04:00
Terry Jan Reedy 39e9af6bb3 Add version to title of IDLE help window. 2016-08-25 20:04:14 -04:00
Terry Jan Reedy 664759cf19 Merge with 3.5 2016-08-25 01:22:44 -04:00
Terry Jan Reedy 1f8cc33f88 Issue #25564: Mention exec and __builtins__ in IDLE-console difference section. 2016-08-25 01:22:30 -04:00
Terry Jan Reedy 5acf4e563f Issue #27821: Fix bug in idlelib.comfig function and add new tests. 2016-08-24 22:08:01 -04:00
Terry Jan Reedy 49dcf9d858 Fix typo in IDLE News. 2016-08-21 00:20:35 -04:00
Terry Jan Reedy 9f957705d6 Fix typo in IDLE News. 2016-08-21 00:18:55 -04:00
Terry Jan Reedy 97c463dcfb Add 3.6.0a4 IDLE NEWS and idlelib/NEWS.txt items. 2016-08-20 21:43:00 -04:00
Terry Jan Reedy d3fb55797b Add 3.5.3 IDLE NEWS and idlelib/NEWS.txt items. 2016-08-20 21:41:03 -04:00
Terry Jan Reedy e194e87f1f Issue #27714: Remove unneeded non-idempotent call that fails on retest. 2016-08-20 21:08:50 -04:00
Terry Jan Reedy f7ac36837a Issue #27714: Remove unneeded non-idempotent call that fails on retest. 2016-08-20 21:07:38 -04:00
Terry Jan Reedy f35bb9e1e9 Issue #27611, #24137: Only change tkinter when easily restored. 2016-08-16 00:10:14 -04:00
Terry Jan Reedy 3ff55a8155 Issue #27732: Silence test_idle with dummy bell functions. 2016-08-10 23:44:54 -04:00
Terry Jan Reedy 2084350685 Issue #27714: text_textview now passes when re-run in the same process
because test_idle failed while running with test -w (and no -jn).
2016-08-10 16:52:24 -04:00
Terry Jan Reedy 3f3dc89a15 Issue #27714: text_textview now passes when re-run in the same process
because test_idle failed while running with test -w (and no -jn).
Prevent a non-fatal warning from test_config_key.
2016-08-10 15:15:25 -04:00
Terry Jan Reedy 40a46ad467 Issue #27380: For test_query on Mac, adjust one expected result. 2016-08-10 13:16:26 -04:00
Terry Jan Reedy 65db8544bf Issue #27621: Put query response validation error messages in query box
instead of in separate massagebox.  Redo tests to match.
Add Mac OSX refinements.  Original patch by Mark Roseman.
2016-08-10 12:50:16 -04:00
Terry Jan Reedy 2553b1b057 Issue #27620: Make htest box respond to <Return> and <Escape>. 2016-07-27 22:17:05 -04:00
Terry Jan Reedy 6b37dfce5b Issue #27620: Mark the default action button as the default. 2016-07-27 21:42:54 -04:00
Martin Panter 263893c261 Issue #27626: Further spelling fixes for 3.6 2016-07-28 01:25:31 +00:00
Martin Panter 8bde911115 Issue #27626: Merge spelling fixes from 3.5 2016-07-28 01:30:58 +00:00
Martin Panter eb9957065a Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Terry Jan Reedy 17937832ba Issue #27620: Escape key closes Query box as cancelled. 2016-07-25 20:58:43 -04:00
Terry Jan Reedy c665dfd73e Issue #19198: IDLE: tab after initial whitespace should tab, not autocomplete.
Fixes problem with writing docstrings at lease twice indented.
2016-07-24 23:01:28 -04:00
Terry Jan Reedy c74fb9c6c5 Issue #27609: Explicitly return None when there are other returns.
In a few cases, reverse a condition and eliminate a return.
2016-07-24 20:35:43 -04:00
Terry Jan Reedy 41bc067873 Issue #25507: Merge from 3.5 with ttk replacing colorchooser.
IDLE no longer runs buggy code because of its tkinter imports.
Users must include the same imports required to run directly in Python.
2016-07-16 18:27:11 -04:00
Terry Jan Reedy ff1d5ab16e Issue #25507: IDLE no longer runs buggy code because of its tkinter imports.
Users must include the same imports required to run directly in Python.
2016-07-16 18:26:32 -04:00
Terry Jan Reedy 6cf0e13b65 Issue #25507: Move 4 objects from pyshell to run and switch inports.
This removes one problem inport and reduces len(sys.modules) by 37.
2016-07-15 02:43:03 -04:00
Martin Panter 702f4f5d6f Issue #23804: Merge spelling and NEWS fixes from 3.5 2016-07-11 12:54:44 +00:00
Martin Panter 204bf0b9ae English spelling and grammar fixes 2016-07-11 07:51:37 +00:00
Terry Jan Reedy 4bf9c51f9b IDLE NEWS items. 2016-07-10 20:30:43 -04:00
Terry Jan Reedy 6f7b0f577e Issue #27477: Convert IDLE search dialogs to using ttk widgets. 2016-07-10 20:21:31 -04:00
Terry Jan Reedy a748032653 Refine geometry of idlelib htests (and a few other fix-ups). 2016-07-10 17:28:10 -04:00
Terry Jan Reedy cd5e388c39 Issue #27173: Fix error in test_config that caused test_idle to fail. 2016-07-10 17:26:24 -04:00
Terry Jan Reedy 9bdb1edf35 Issue #27173: Add 'IDLE Modern Unix' to the built-in key sets.
Make the default key set depend on the platform.
Add tests for changes to the config module.
2016-07-10 13:46:34 -04:00
Terry Jan Reedy d3b96e1cd4 Whitespace 2016-07-08 00:26:20 -04:00
Terry Jan Reedy 8b22c0aada Issue #27380: IDLE: add query.HelpSource class and tests.
Remove modules that are combined in new module.
2016-07-08 00:22:50 -04:00
Terry Jan Reedy 9862b5194d Issue #27452: make command line idle-test> python test_help.py work.
__file__ is relative in this case.
2016-07-05 21:51:56 -04:00
Terry Jan Reedy 5ce1b86b0e Issue #27452: add line counter and crc to IDLE config test dump. 2016-07-05 20:11:37 -04:00
Terry Jan Reedy 2279aeb282 Issue #27452: add line counter and crc to IDLE configHandler test dump. 2016-07-05 20:09:53 -04:00
Terry Jan Reedy 0cd6b97701 Issue 27437: Add query.ModuleName and use it for file => Load Module.
Users can now edit bad entries instead of starting over.
2016-07-03 19:11:13 -04:00
Terry Jan Reedy 68a53c5d39 Issue #27380: IDLE: add base Query dialog, with ttk widgets and subclass
SectionName.  These split class GetCfgSectionNameDialog from
configSectionNameDialog.py, temporarily renamed config_sec.py in 3.7.9a2.
More Query subclasses are planned.
2016-06-26 22:05:10 -04:00
Terry Jan Reedy 754a5c1a1d Merge Update NEWS and idlelib NEWS.text. 2016-06-26 18:22:32 -04:00
Terry Jan Reedy 1e957d145f Update NEWS and idlelib NEWS.text. 2016-06-26 18:20:20 -04:00
Terry Jan Reedy 7c1534141d Issue 27372: Stop test_idle from changing locale, so test passes.
In 3.6, the warning is now called an error, making it harder to ignore.
2016-06-26 17:48:02 -04:00
Serhiy Storchaka 8122174af1 Issue #22115: Added methods trace_add, trace_remove and trace_info in the
tkinter.Variable class.  They replace old methods trace_variable, trace,
trace_vdelete and trace_vinfo that use obsolete Tcl commands and might
not work in future versions of Tcl.
2016-06-26 09:46:57 +03:00
Serhiy Storchaka d3af156ded Issue #24137: Fixed IDLE on Linux with tkinter default root disabled. 2016-06-25 23:52:51 +03:00
Terry Jan Reedy 47e00e5c46 Issue #27365: Finish merge so tests pass. 2016-06-22 05:49:15 -04:00
Terry Jan Reedy ca183efdf4 Issue #27365: revert temporary rename 2016-06-22 04:57:23 -04:00
Terry Jan Reedy 82c4615be0 Issue #27365: add chunk 2016-06-22 04:54:18 -04:00
Terry Jan Reedy df1d34c1b4 Issue #27365: add chunk 2016-06-22 04:50:16 -04:00
Terry Jan Reedy 5deed33e8f Issue #27365: revert temporary rename 2016-06-22 04:32:06 -04:00
Terry Jan Reedy 096c6aae87 Issue #27365: partial merge 2016-06-22 04:24:27 -04:00
Terry Jan Reedy 317c56de6f Issue #27365: temporary rename 2016-06-22 04:21:22 -04:00
Terry Jan Reedy 06a1fcbb00 Issue #27365: Allow non-ascii in idlelib/NEWS.txt, for contributor names.
Rest of patch that should not be cherry picked into 3.5.2 final.
2016-06-22 04:17:28 -04:00
Terry Jan Reedy b8a79ae812 Issue #27365: Merge minimal part. 2016-06-22 03:57:32 -04:00
Terry Jan Reedy 6ff7a14b91 Issue #27365: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2. 2016-06-22 03:55:20 -04:00
Terry Jan Reedy b60adc54d4 Issue #24137: Run IDLE, test_idle, and htest with tkinter default root disabled.
Fix code and tests that fail with this restriction.
Fix htests to not create a second and redundant root and mainloop.
2016-06-21 18:41:38 -04:00
Berker Peksag 75a25867ab Issue #27312: Fix TypeError in test_setupapp 2016-06-18 04:18:24 +03:00
Terry Jan Reedy fdb6ef774a Issue #27312: mock out function that fails when called from setupApp during
IDLE test_macosx and see if addOpenEventSupport() fails.
2016-06-17 19:55:46 -04:00
Terry Jan Reedy 5cd6ea44bf Issue #27245: revert temporary rename 2016-06-14 00:55:09 -04:00
Terry Jan Reedy d34bafa970 Merge with 3.5 2016-06-14 00:53:41 -04:00
Terry Jan Reedy cdd3a99106 Issue #27245: temporary rename for merge. 2016-06-14 00:53:30 -04:00
Terry Jan Reedy ec84417ce8 Issue #27245: IDLE: Cleanly delete custom themes and key bindings.
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted.  Patch by Serhiy Storchaka.
2016-06-14 00:53:25 -04:00
Terry Jan Reedy 2518fa8326 Issue #27239: Continue refactoring idlelib.macosx and adding macosx tests. 2016-06-12 15:49:20 -04:00
Terry Jan Reedy 4da945f361 Merge Issue #22558. 2016-06-11 15:06:08 -04:00
Terry Jan Reedy fa089b9b0b Issue #22558: Add remaining doc links to source code for Python-coded modules.
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
2016-06-11 15:02:54 -04:00
Terry Jan Reedy b1c9b64850 IDLE NEWS entries 2016-06-11 04:36:34 -04:00
Terry Jan Reedy 661c0329d3 Merge Issue #5124: NEWS entries. 2016-06-11 04:32:30 -04:00
Terry Jan Reedy 8ace13be39 Issue #5124: NEWS entries. 2016-06-11 04:31:22 -04:00
Ned Deily 139fb7c71c Issue #27262: fix missing parameter typo 2016-06-11 02:57:56 -04:00
Terry Jan Reedy 50288f964a Issue #5124: rename PyShell back to pyshell and patch test for 3.6 2016-06-11 02:10:59 -04:00
Terry Jan Reedy b5c43f4c01 Merge with 3.5 2016-06-11 02:06:40 -04:00
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
Terry Jan Reedy 69158d56a0 Merge with 3.5 2015-09-28 04:53:12 -04:00
Terry Jan Reedy bcb0c134cb Merge with 3.4 2015-09-28 04:53:01 -04:00
Terry Jan Reedy d351706950 Issue #24972: New option is only valid in tk 8.5+. 2015-09-28 04:52:49 -04:00
Terry Jan Reedy 3a03a1cb00 Merge with 3.5 2015-09-28 04:16:56 -04:00
Terry Jan Reedy 0b6e6e1591 Merge with 3.4 2015-09-28 04:16:43 -04:00
Terry Jan Reedy 507a5c4b4e Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
2015-09-28 04:16:32 -04:00
Terry Jan Reedy 2122b62c2a Backed out changeset: 70c01dd35100 2015-09-27 22:50:54 -04:00
Terry Jan Reedy 7082cbce64 Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
2015-09-27 22:46:17 -04:00
Terry Jan Reedy 89171f2078 Merge with 3.5 2015-09-27 04:40:34 -04:00
Terry Jan Reedy 6a9cee1510 Merge with 3.4 2015-09-27 04:40:23 -04:00
Terry Jan Reedy 28670d1ffa Issue #25198: When using the Idle dov TOC menu, put the section title at the
top of the window, unless it is too near the bottom to do do.
2015-09-27 04:40:08 -04:00
Terry Jan Reedy 0103af397f Merge with 3.5 2015-09-26 20:04:23 -04:00
Terry Jan Reedy 34a8047672 Merge with 3.4 2015-09-26 20:04:09 -04:00
Terry Jan Reedy d2134c71a1 Issue #24570: Idle: make calltip and completion boxes appear on Macs
affected by a tk regression.  Initial patch by Mark Roseman.
2015-09-26 20:03:57 -04:00
Terry Jan Reedy 9c2982a25c Merge with 3.5 2015-09-26 18:50:58 -04:00
Terry Jan Reedy df1fe78acb Merge with 3.4 2015-09-26 18:50:44 -04:00
Terry Jan Reedy 00e4ce3a36 Issue #24988: Idle ScrolledList context menus (used in debugger)
now work on Mac Aqua.  Patch by Mark Roseman.
2015-09-26 18:50:26 -04:00
Terry Jan Reedy 9cd90ccaae Merge with 3.5 2015-09-25 22:23:33 -04:00