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